[2026-07-15 00:00:03] local.INFO: TCP Data received {"connection_id":134262,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:00:03] local.INFO: Processing buffer {"connection_id":134262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:00:03] local.INFO: IMEI packet received {"connection_id":134262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":134262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:00:06] local.INFO: TCP Data received {"connection_id":132884,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132884,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:00:06] local.INFO: Processing buffer {"connection_id":132884,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:00:06] local.INFO: IMEI packet received {"connection_id":132884,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 00:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":132884,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:00:08] local.INFO: TCP Data received {"connection_id":134262,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:00:08] local.INFO: Processing buffer {"connection_id":134262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:00:08] local.INFO: IMEI packet received {"connection_id":134262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":134262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:00:09] local.INFO: TCP Data received {"connection_id":134262,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f61e386e8012d7f92c005afd830000000502a..."} 
[2026-07-15 00:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61e386e8012d7f92c005afd830000000502a..."} 
[2026-07-15 00:00:09] local.INFO: Processing buffer {"connection_id":134262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61e386e8012d7f92c005afd830000000502a..."} 
[2026-07-15 00:00:09] local.INFO: Packet analysis {"connection_id":134262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61e3"} 
[2026-07-15 00:00:09] local.INFO: Extracted packet for processing {"connection_id":134262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61e3"} 
[2026-07-15 00:00:09] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00: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-07-15 00:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456717677568001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784053729000,"timestamp_ms":1784053729000,"timestamp_seconds":1784053729,"priority":1,"record_length":96,"hex_timestamp":"0000019f61e386e8"} 
[2026-07-15 00:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:00:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00: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-07-15 00:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":134262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":134262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":134262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456717677568001,"66":25680,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456717677568001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:00:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:00:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456717677568001,"power":25680,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":134262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:00:09] local.INFO: GPS data processed {"connection_id":134262,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:00:09] local.INFO: Acknowledgment sent {"connection_id":134262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:00:40] local.INFO: TCP Data received {"connection_id":134262,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f61e386e8012d7f92c005afd830000000502a..."} 
[2026-07-15 00:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61e386e8012d7f92c005afd830000000502a..."} 
[2026-07-15 00:00:40] local.INFO: Processing buffer {"connection_id":134262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61e386e8012d7f92c005afd830000000502a..."} 
[2026-07-15 00:00:40] local.INFO: Packet analysis {"connection_id":134262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61e3"} 
[2026-07-15 00:00:40] local.INFO: Extracted packet for processing {"connection_id":134262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61e3"} 
[2026-07-15 00:00:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00: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-07-15 00:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456717677568001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:00:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:00:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784053729000,"timestamp_ms":1784053729000,"timestamp_seconds":1784053729,"priority":1,"record_length":96,"hex_timestamp":"0000019f61e386e8"} 
[2026-07-15 00:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:00:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:00:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00: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-07-15 00:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":134262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":134262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":134262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:00:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456717677568001,"66":25680,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456717677568001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:00:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:00:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:00:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456717677568001,"power":25680,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":134262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:00:40] local.INFO: GPS data processed {"connection_id":134262,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:00:40] local.INFO: Acknowledgment sent {"connection_id":134262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:00:41] local.INFO: TCP Data received {"connection_id":131890,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131890,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:00:41] local.INFO: Processing buffer {"connection_id":131890,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:00:41] local.INFO: IMEI packet received {"connection_id":131890,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 00:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":131890,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:01:03] local.INFO: TCP Data received {"connection_id":134263,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:01:03] local.INFO: Processing buffer {"connection_id":134263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:01:03] local.INFO: IMEI packet received {"connection_id":134263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":134263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:01:08] local.INFO: TCP Data received {"connection_id":134263,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:01:08] local.INFO: Processing buffer {"connection_id":134263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:01:08] local.INFO: IMEI packet received {"connection_id":134263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":134263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:01:08] local.INFO: TCP Data received {"connection_id":134263,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f61e386e8012d7f92c005afd830000000502a..."} 
[2026-07-15 00:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61e386e8012d7f92c005afd830000000502a..."} 
[2026-07-15 00:01:08] local.INFO: Processing buffer {"connection_id":134263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61e386e8012d7f92c005afd830000000502a..."} 
[2026-07-15 00:01:08] local.INFO: Packet analysis {"connection_id":134263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61e3"} 
[2026-07-15 00:01:08] local.INFO: Extracted packet for processing {"connection_id":134263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61e3"} 
[2026-07-15 00:01:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456717677568001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784053729000,"timestamp_ms":1784053729000,"timestamp_seconds":1784053729,"priority":1,"record_length":96,"hex_timestamp":"0000019f61e386e8"} 
[2026-07-15 00:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456717677568001,"66":25680,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456717677568001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:01:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:01:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456717677568001,"power":25680,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":134263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:01:08] local.INFO: GPS data processed {"connection_id":134263,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:01:08] local.INFO: Acknowledgment sent {"connection_id":134263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:01:40] local.INFO: TCP Data received {"connection_id":134263,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f61e386e8012d7f92c005afd830000000502a..."} 
[2026-07-15 00:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61e386e8012d7f92c005afd830000000502a..."} 
[2026-07-15 00:01:40] local.INFO: Processing buffer {"connection_id":134263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61e386e8012d7f92c005afd830000000502a..."} 
[2026-07-15 00:01:40] local.INFO: Packet analysis {"connection_id":134263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61e3"} 
[2026-07-15 00:01:40] local.INFO: Extracted packet for processing {"connection_id":134263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61e3"} 
[2026-07-15 00:01:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456717677568001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784053729000,"timestamp_ms":1784053729000,"timestamp_seconds":1784053729,"priority":1,"record_length":96,"hex_timestamp":"0000019f61e386e8"} 
[2026-07-15 00:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:01:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:01:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:01:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":134263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":134263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":134263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456717677568001,"66":25680,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456717677568001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:01:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:01:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456717677568001,"power":25680,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":134263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:01:40] local.INFO: GPS data processed {"connection_id":134263,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:01:40] local.INFO: Acknowledgment sent {"connection_id":134263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:02:02] local.INFO: TCP Data received {"connection_id":132885,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:02:02] local.INFO: Processing buffer {"connection_id":132885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:02:02] local.INFO: IMEI packet received {"connection_id":132885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":132885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:02:08] local.INFO: TCP Data received {"connection_id":132885,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:02:08] local.INFO: Processing buffer {"connection_id":132885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:02:08] local.INFO: IMEI packet received {"connection_id":132885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":132885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:02:08] local.INFO: TCP Data received {"connection_id":132885,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f61e386e8012d7f92c005afd830000000502a..."} 
[2026-07-15 00:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61e386e8012d7f92c005afd830000000502a..."} 
[2026-07-15 00:02:08] local.INFO: Processing buffer {"connection_id":132885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61e386e8012d7f92c005afd830000000502a..."} 
[2026-07-15 00:02:08] local.INFO: Packet analysis {"connection_id":132885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61e3"} 
[2026-07-15 00:02:08] local.INFO: Extracted packet for processing {"connection_id":132885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61e3"} 
[2026-07-15 00:02:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00: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-07-15 00:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456717677568001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:02:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784053729000,"timestamp_ms":1784053729000,"timestamp_seconds":1784053729,"priority":1,"record_length":96,"hex_timestamp":"0000019f61e386e8"} 
[2026-07-15 00:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00: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-07-15 00:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456717677568001,"66":25680,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456717677568001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:02:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:02:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456717677568001,"power":25680,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":132885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:02:08] local.INFO: GPS data processed {"connection_id":132885,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:02:08] local.INFO: Acknowledgment sent {"connection_id":132885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:02:42] local.INFO: TCP Data received {"connection_id":132885,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f61e386e8012d7f92c005afd830000000502a..."} 
[2026-07-15 00:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61e386e8012d7f92c005afd830000000502a..."} 
[2026-07-15 00:02:42] local.INFO: Processing buffer {"connection_id":132885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61e386e8012d7f92c005afd830000000502a..."} 
[2026-07-15 00:02:42] local.INFO: Packet analysis {"connection_id":132885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61e3"} 
[2026-07-15 00:02:42] local.INFO: Extracted packet for processing {"connection_id":132885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61e3"} 
[2026-07-15 00:02:42] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456717677568001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784053729000,"timestamp_ms":1784053729000,"timestamp_seconds":1784053729,"priority":1,"record_length":96,"hex_timestamp":"0000019f61e386e8"} 
[2026-07-15 00:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456717677568001,"66":25680,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456717677568001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:02:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:02:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456717677568001,"power":25680,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":132885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:02:42] local.INFO: GPS data processed {"connection_id":132885,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:02:42] local.INFO: Acknowledgment sent {"connection_id":132885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:03:02] local.INFO: TCP Data received {"connection_id":134264,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:03:02] local.INFO: Processing buffer {"connection_id":134264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:03:02] local.INFO: IMEI packet received {"connection_id":134264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":134264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:03:08] local.INFO: TCP Data received {"connection_id":134264,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:03:08] local.INFO: Processing buffer {"connection_id":134264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:03:08] local.INFO: IMEI packet received {"connection_id":134264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":134264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:03:09] local.INFO: TCP Data received {"connection_id":134264,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f61e386e8012d7f92c005afd830000000502a..."} 
[2026-07-15 00:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61e386e8012d7f92c005afd830000000502a..."} 
[2026-07-15 00:03:09] local.INFO: Processing buffer {"connection_id":134264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61e386e8012d7f92c005afd830000000502a..."} 
[2026-07-15 00:03:09] local.INFO: Packet analysis {"connection_id":134264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61e3"} 
[2026-07-15 00:03:09] local.INFO: Extracted packet for processing {"connection_id":134264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61e3"} 
[2026-07-15 00:03:09] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456717677568001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784053729000,"timestamp_ms":1784053729000,"timestamp_seconds":1784053729,"priority":1,"record_length":96,"hex_timestamp":"0000019f61e386e8"} 
[2026-07-15 00:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":134264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":134264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":134264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456717677568001,"66":25680,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456717677568001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:03:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:03:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456717677568001,"power":25680,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":134264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:03:09] local.INFO: GPS data processed {"connection_id":134264,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:03:09] local.INFO: Acknowledgment sent {"connection_id":134264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:03:40] local.INFO: TCP Data received {"connection_id":134264,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f61e386e8012d7f92c005afd830000000502a..."} 
[2026-07-15 00:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61e386e8012d7f92c005afd830000000502a..."} 
[2026-07-15 00:03:40] local.INFO: Processing buffer {"connection_id":134264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61e386e8012d7f92c005afd830000000502a..."} 
[2026-07-15 00:03:40] local.INFO: Packet analysis {"connection_id":134264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61e3"} 
[2026-07-15 00:03:40] local.INFO: Extracted packet for processing {"connection_id":134264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61e3"} 
[2026-07-15 00:03:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456717677568001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784053729000,"timestamp_ms":1784053729000,"timestamp_seconds":1784053729,"priority":1,"record_length":96,"hex_timestamp":"0000019f61e386e8"} 
[2026-07-15 00:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":134264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":134264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":134264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456717677568001,"66":25680,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456717677568001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:03:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:03:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456717677568001,"power":25680,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":134264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:03:40] local.INFO: GPS data processed {"connection_id":134264,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:03:40] local.INFO: Acknowledgment sent {"connection_id":134264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:04:08] local.INFO: TCP Data received {"connection_id":131892,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:04:08] local.INFO: Processing buffer {"connection_id":131892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:04:08] local.INFO: IMEI packet received {"connection_id":131892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":131892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:04:13] local.INFO: TCP Data received {"connection_id":131892,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:04:13] local.INFO: Processing buffer {"connection_id":131892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:04:13] local.INFO: IMEI packet received {"connection_id":131892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":131892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:04:13] local.INFO: TCP Data received {"connection_id":131892,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f61e386e8012d7f92c005afd830000000502a..."} 
[2026-07-15 00:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61e386e8012d7f92c005afd830000000502a..."} 
[2026-07-15 00:04:13] local.INFO: Processing buffer {"connection_id":131892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61e386e8012d7f92c005afd830000000502a..."} 
[2026-07-15 00:04:13] local.INFO: Packet analysis {"connection_id":131892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61e3"} 
[2026-07-15 00:04:13] local.INFO: Extracted packet for processing {"connection_id":131892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61e3"} 
[2026-07-15 00:04:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456717677568001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784053729000,"timestamp_ms":1784053729000,"timestamp_seconds":1784053729,"priority":1,"record_length":96,"hex_timestamp":"0000019f61e386e8"} 
[2026-07-15 00:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:04:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:04:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:04:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":131892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":131892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":131892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:04:13] 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-07-15 00:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456717677568001,"66":25680,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456717677568001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:04:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:04:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456717677568001,"power":25680,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":131892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:04:13] local.INFO: GPS data processed {"connection_id":131892,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:04:13] local.INFO: Acknowledgment sent {"connection_id":131892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:04:18] local.INFO: TCP Data received {"connection_id":131892,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f61e386e8012d7f92c005afd830000000502a..."} 
[2026-07-15 00:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61e386e8012d7f92c005afd830000000502a..."} 
[2026-07-15 00:04:18] local.INFO: Processing buffer {"connection_id":131892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61e386e8012d7f92c005afd830000000502a..."} 
[2026-07-15 00:04:18] local.INFO: Packet analysis {"connection_id":131892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61e3"} 
[2026-07-15 00:04:18] local.INFO: Extracted packet for processing {"connection_id":131892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61e3"} 
[2026-07-15 00:04:18] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456717677568001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:04:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784053729000,"timestamp_ms":1784053729000,"timestamp_seconds":1784053729,"priority":1,"record_length":96,"hex_timestamp":"0000019f61e386e8"} 
[2026-07-15 00:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:04:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:04:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:04:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":131892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":131892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":131892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:04:18] 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-07-15 00:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456717677568001,"66":25680,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456717677568001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:04:18] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:04:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456717677568001,"power":25680,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":131892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:04:18] local.INFO: GPS data processed {"connection_id":131892,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:04:18] local.INFO: Acknowledgment sent {"connection_id":131892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:05:03] local.INFO: TCP Data received {"connection_id":132888,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:05:03] local.INFO: Processing buffer {"connection_id":132888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:05:03] local.INFO: IMEI packet received {"connection_id":132888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":132888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:05:08] local.INFO: TCP Data received {"connection_id":132888,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:05:08] local.INFO: Processing buffer {"connection_id":132888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:05:08] local.INFO: IMEI packet received {"connection_id":132888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":132888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:05:09] local.INFO: TCP Data received {"connection_id":132888,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f61e81eb0012d7f92c005afd830000000502d..."} 
[2026-07-15 00:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61e81eb0012d7f92c005afd830000000502d..."} 
[2026-07-15 00:05:09] local.INFO: Processing buffer {"connection_id":132888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61e81eb0012d7f92c005afd830000000502d..."} 
[2026-07-15 00:05:09] local.INFO: Packet analysis {"connection_id":132888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61e8"} 
[2026-07-15 00:05:09] local.INFO: Extracted packet for processing {"connection_id":132888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61e8"} 
[2026-07-15 00:05:09] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456717754624001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784054030000,"timestamp_ms":1784054030000,"timestamp_seconds":1784054030,"priority":1,"record_length":96,"hex_timestamp":"0000019f61e81eb0"} 
[2026-07-15 00:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 00:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":132888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":132888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":132888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:05:09] 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-07-15 00:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456717754624001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456717754624001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:05:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:05:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456717754624001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":132888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:05:09] local.INFO: GPS data processed {"connection_id":132888,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:05:09] local.INFO: Acknowledgment sent {"connection_id":132888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:05:40] local.INFO: TCP Data received {"connection_id":132888,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f61e81eb0012d7f92c005afd830000000502d..."} 
[2026-07-15 00:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61e81eb0012d7f92c005afd830000000502d..."} 
[2026-07-15 00:05:40] local.INFO: Processing buffer {"connection_id":132888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61e81eb0012d7f92c005afd830000000502d..."} 
[2026-07-15 00:05:40] local.INFO: Packet analysis {"connection_id":132888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61e8"} 
[2026-07-15 00:05:40] local.INFO: Extracted packet for processing {"connection_id":132888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61e8"} 
[2026-07-15 00:05:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00: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-07-15 00:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456717754624001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784054030000,"timestamp_ms":1784054030000,"timestamp_seconds":1784054030,"priority":1,"record_length":96,"hex_timestamp":"0000019f61e81eb0"} 
[2026-07-15 00:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:05:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 00:05:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00: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-07-15 00:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:05:40] 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-07-15 00:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456717754624001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456717754624001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:05:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:05:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456717754624001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":132888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:05:40] local.INFO: GPS data processed {"connection_id":132888,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:05:40] local.INFO: Acknowledgment sent {"connection_id":132888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:06:03] local.INFO: TCP Data received {"connection_id":134266,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:06:03] local.INFO: Processing buffer {"connection_id":134266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:06:03] local.INFO: IMEI packet received {"connection_id":134266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":134266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:06:06] local.INFO: TCP Data received {"connection_id":134265,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134265,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:06:06] local.INFO: Processing buffer {"connection_id":134265,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:06:06] local.INFO: IMEI packet received {"connection_id":134265,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 00:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":134265,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:06:08] local.INFO: TCP Data received {"connection_id":134266,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:06:08] local.INFO: Processing buffer {"connection_id":134266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:06:08] local.INFO: IMEI packet received {"connection_id":134266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":134266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:06:09] local.INFO: TCP Data received {"connection_id":134266,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f61e81eb0012d7f92c005afd830000000502d..."} 
[2026-07-15 00:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61e81eb0012d7f92c005afd830000000502d..."} 
[2026-07-15 00:06:09] local.INFO: Processing buffer {"connection_id":134266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61e81eb0012d7f92c005afd830000000502d..."} 
[2026-07-15 00:06:09] local.INFO: Packet analysis {"connection_id":134266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61e8"} 
[2026-07-15 00:06:09] local.INFO: Extracted packet for processing {"connection_id":134266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61e8"} 
[2026-07-15 00:06:09] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:06: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-07-15 00:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456717754624001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784054030000,"timestamp_ms":1784054030000,"timestamp_seconds":1784054030,"priority":1,"record_length":96,"hex_timestamp":"0000019f61e81eb0"} 
[2026-07-15 00:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 00:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:06: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-07-15 00:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":134266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":134266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":134266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456717754624001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456717754624001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:06:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:06:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456717754624001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":134266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:06:09] local.INFO: GPS data processed {"connection_id":134266,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:06:09] local.INFO: Acknowledgment sent {"connection_id":134266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:06:36] local.INFO: TCP Data received {"connection_id":132056,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132056,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:06:36] local.INFO: Processing buffer {"connection_id":132056,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:06:36] local.INFO: IMEI packet received {"connection_id":132056,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 00:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":132056,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:06:40] local.INFO: TCP Data received {"connection_id":134266,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f61e81eb0012d7f92c005afd830000000502d..."} 
[2026-07-15 00:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61e81eb0012d7f92c005afd830000000502d..."} 
[2026-07-15 00:06:40] local.INFO: Processing buffer {"connection_id":134266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61e81eb0012d7f92c005afd830000000502d..."} 
[2026-07-15 00:06:40] local.INFO: Packet analysis {"connection_id":134266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61e8"} 
[2026-07-15 00:06:40] local.INFO: Extracted packet for processing {"connection_id":134266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61e8"} 
[2026-07-15 00:06:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:06: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-07-15 00:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456717754624001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:06:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:06:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784054030000,"timestamp_ms":1784054030000,"timestamp_seconds":1784054030,"priority":1,"record_length":96,"hex_timestamp":"0000019f61e81eb0"} 
[2026-07-15 00:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:06:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 00:06:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:06: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-07-15 00:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":134266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":134266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":134266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456717754624001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456717754624001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:06:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:06:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:06:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456717754624001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":134266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:06:40] local.INFO: GPS data processed {"connection_id":134266,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:06:40] local.INFO: Acknowledgment sent {"connection_id":134266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:07:02] local.INFO: TCP Data received {"connection_id":132889,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:07:02] local.INFO: Processing buffer {"connection_id":132889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:07:02] local.INFO: IMEI packet received {"connection_id":132889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":132889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:07:08] local.INFO: TCP Data received {"connection_id":132889,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:07:08] local.INFO: Processing buffer {"connection_id":132889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:07:08] local.INFO: IMEI packet received {"connection_id":132889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":132889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:07:09] local.INFO: TCP Data received {"connection_id":132889,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f61e81eb0012d7f92c005afd830000000502d..."} 
[2026-07-15 00:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61e81eb0012d7f92c005afd830000000502d..."} 
[2026-07-15 00:07:09] local.INFO: Processing buffer {"connection_id":132889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61e81eb0012d7f92c005afd830000000502d..."} 
[2026-07-15 00:07:09] local.INFO: Packet analysis {"connection_id":132889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61e8"} 
[2026-07-15 00:07:09] local.INFO: Extracted packet for processing {"connection_id":132889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61e8"} 
[2026-07-15 00:07:09] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456717754624001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784054030000,"timestamp_ms":1784054030000,"timestamp_seconds":1784054030,"priority":1,"record_length":96,"hex_timestamp":"0000019f61e81eb0"} 
[2026-07-15 00:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 00:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":132889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":132889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":132889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:07:09] 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-07-15 00:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456717754624001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456717754624001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:07:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:07:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456717754624001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":132889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:07:09] local.INFO: GPS data processed {"connection_id":132889,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:07:09] local.INFO: Acknowledgment sent {"connection_id":132889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:07:42] local.INFO: TCP Data received {"connection_id":132889,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f61e81eb0012d7f92c005afd830000000502d..."} 
[2026-07-15 00:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61e81eb0012d7f92c005afd830000000502d..."} 
[2026-07-15 00:07:42] local.INFO: Processing buffer {"connection_id":132889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61e81eb0012d7f92c005afd830000000502d..."} 
[2026-07-15 00:07:42] local.INFO: Packet analysis {"connection_id":132889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61e8"} 
[2026-07-15 00:07:42] local.INFO: Extracted packet for processing {"connection_id":132889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61e8"} 
[2026-07-15 00:07:42] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:07: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-07-15 00:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456717754624001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784054030000,"timestamp_ms":1784054030000,"timestamp_seconds":1784054030,"priority":1,"record_length":96,"hex_timestamp":"0000019f61e81eb0"} 
[2026-07-15 00:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 00:07:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:07: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-07-15 00:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456717754624001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456717754624001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:07:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:07:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456717754624001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":132889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:07:42] local.INFO: GPS data processed {"connection_id":132889,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:07:42] local.INFO: Acknowledgment sent {"connection_id":132889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:08:08] local.INFO: TCP Data received {"connection_id":132057,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:08:08] local.INFO: Processing buffer {"connection_id":132057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:08:08] local.INFO: IMEI packet received {"connection_id":132057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":132057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:08:13] local.INFO: TCP Data received {"connection_id":132057,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:08:13] local.INFO: Processing buffer {"connection_id":132057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:08:13] local.INFO: IMEI packet received {"connection_id":132057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":132057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:08:14] local.INFO: TCP Data received {"connection_id":132057,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f61e81eb0012d7f92c005afd830000000502d..."} 
[2026-07-15 00:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61e81eb0012d7f92c005afd830000000502d..."} 
[2026-07-15 00:08:14] local.INFO: Processing buffer {"connection_id":132057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61e81eb0012d7f92c005afd830000000502d..."} 
[2026-07-15 00:08:14] local.INFO: Packet analysis {"connection_id":132057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61e8"} 
[2026-07-15 00:08:14] local.INFO: Extracted packet for processing {"connection_id":132057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61e8"} 
[2026-07-15 00:08:14] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456717754624001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:08:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:08:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784054030000,"timestamp_ms":1784054030000,"timestamp_seconds":1784054030,"priority":1,"record_length":96,"hex_timestamp":"0000019f61e81eb0"} 
[2026-07-15 00:08:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:08:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 00:08:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:08:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:08:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":132057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":132057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":132057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:08:14] 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-07-15 00:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456717754624001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456717754624001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:08:14] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:08:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:08:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456717754624001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":132057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:08:14] local.INFO: GPS data processed {"connection_id":132057,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:08:14] local.INFO: Acknowledgment sent {"connection_id":132057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:08:18] local.INFO: TCP Data received {"connection_id":132057,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f61e81eb0012d7f92c005afd830000000502d..."} 
[2026-07-15 00:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61e81eb0012d7f92c005afd830000000502d..."} 
[2026-07-15 00:08:18] local.INFO: Processing buffer {"connection_id":132057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61e81eb0012d7f92c005afd830000000502d..."} 
[2026-07-15 00:08:18] local.INFO: Packet analysis {"connection_id":132057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61e8"} 
[2026-07-15 00:08:18] local.INFO: Extracted packet for processing {"connection_id":132057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61e8"} 
[2026-07-15 00:08:18] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456717754624001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:08:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784054030000,"timestamp_ms":1784054030000,"timestamp_seconds":1784054030,"priority":1,"record_length":96,"hex_timestamp":"0000019f61e81eb0"} 
[2026-07-15 00:08:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:08:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 00:08:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:08:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:08:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":132057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":132057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":132057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:08:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456717754624001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456717754624001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:08:18] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:08:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456717754624001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":132057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:08:18] local.INFO: GPS data processed {"connection_id":132057,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:08:18] local.INFO: Acknowledgment sent {"connection_id":132057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:09:03] local.INFO: TCP Data received {"connection_id":132891,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:09:03] local.INFO: Processing buffer {"connection_id":132891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:09:03] local.INFO: IMEI packet received {"connection_id":132891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":132891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:09:08] local.INFO: TCP Data received {"connection_id":132891,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:09:08] local.INFO: Processing buffer {"connection_id":132891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:09:08] local.INFO: IMEI packet received {"connection_id":132891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":132891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:09:09] local.INFO: TCP Data received {"connection_id":132891,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f61e81eb0012d7f92c005afd830000000502d..."} 
[2026-07-15 00:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61e81eb0012d7f92c005afd830000000502d..."} 
[2026-07-15 00:09:09] local.INFO: Processing buffer {"connection_id":132891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61e81eb0012d7f92c005afd830000000502d..."} 
[2026-07-15 00:09:09] local.INFO: Packet analysis {"connection_id":132891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61e8"} 
[2026-07-15 00:09:09] local.INFO: Extracted packet for processing {"connection_id":132891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61e8"} 
[2026-07-15 00:09:09] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:09: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-07-15 00:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456717754624001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784054030000,"timestamp_ms":1784054030000,"timestamp_seconds":1784054030,"priority":1,"record_length":96,"hex_timestamp":"0000019f61e81eb0"} 
[2026-07-15 00:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 00:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:09: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-07-15 00:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":132891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":132891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":132891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:09:09] 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-07-15 00:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456717754624001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456717754624001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:09:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:09:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456717754624001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":132891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:09:09] local.INFO: GPS data processed {"connection_id":132891,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:09:09] local.INFO: Acknowledgment sent {"connection_id":132891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:09:42] local.INFO: TCP Data received {"connection_id":132891,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f61ecb678012d7f92c005afd830000000502c..."} 
[2026-07-15 00:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61ecb678012d7f92c005afd830000000502c..."} 
[2026-07-15 00:09:42] local.INFO: Processing buffer {"connection_id":132891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61ecb678012d7f92c005afd830000000502c..."} 
[2026-07-15 00:09:42] local.INFO: Packet analysis {"connection_id":132891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61ec"} 
[2026-07-15 00:09:42] local.INFO: Extracted packet for processing {"connection_id":132891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61ec"} 
[2026-07-15 00:09:42] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456717831680001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784054331000,"timestamp_ms":1784054331000,"timestamp_seconds":1784054331,"priority":1,"record_length":96,"hex_timestamp":"0000019f61ecb678"} 
[2026-07-15 00:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:09:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:09:42] 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-07-15 00:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456717831680001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456717831680001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:09:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:09:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456717831680001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":132891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:09:42] local.INFO: GPS data processed {"connection_id":132891,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:09:42] local.INFO: Acknowledgment sent {"connection_id":132891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:10:08] local.INFO: TCP Data received {"connection_id":134267,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:10:08] local.INFO: Processing buffer {"connection_id":134267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:10:08] local.INFO: IMEI packet received {"connection_id":134267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":134267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:10:13] local.INFO: TCP Data received {"connection_id":134267,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:10:13] local.INFO: Processing buffer {"connection_id":134267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:10:13] local.INFO: IMEI packet received {"connection_id":134267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":134267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:10:13] local.INFO: TCP Data received {"connection_id":134267,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f61ecb678012d7f92c005afd830000000502c..."} 
[2026-07-15 00:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61ecb678012d7f92c005afd830000000502c..."} 
[2026-07-15 00:10:14] local.INFO: Processing buffer {"connection_id":134267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61ecb678012d7f92c005afd830000000502c..."} 
[2026-07-15 00:10:14] local.INFO: Packet analysis {"connection_id":134267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61ec"} 
[2026-07-15 00:10:14] local.INFO: Extracted packet for processing {"connection_id":134267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61ec"} 
[2026-07-15 00:10:14] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456717831680001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:10:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:10:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784054331000,"timestamp_ms":1784054331000,"timestamp_seconds":1784054331,"priority":1,"record_length":96,"hex_timestamp":"0000019f61ecb678"} 
[2026-07-15 00:10:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:10:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:10:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:10:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:10:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":134267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":134267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":134267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:10:14] 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-07-15 00:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456717831680001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456717831680001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:10:14] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:10:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:10:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456717831680001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":134267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:10:14] local.INFO: GPS data processed {"connection_id":134267,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:10:14] local.INFO: Acknowledgment sent {"connection_id":134267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:10:45] local.INFO: TCP Data received {"connection_id":134267,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f61ecb678012d7f92c005afd830000000502c..."} 
[2026-07-15 00:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61ecb678012d7f92c005afd830000000502c..."} 
[2026-07-15 00:10:45] local.INFO: Processing buffer {"connection_id":134267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61ecb678012d7f92c005afd830000000502c..."} 
[2026-07-15 00:10:45] local.INFO: Packet analysis {"connection_id":134267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61ec"} 
[2026-07-15 00:10:45] local.INFO: Extracted packet for processing {"connection_id":134267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61ec"} 
[2026-07-15 00:10:45] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00: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-07-15 00:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456717831680001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:10:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784054331000,"timestamp_ms":1784054331000,"timestamp_seconds":1784054331,"priority":1,"record_length":96,"hex_timestamp":"0000019f61ecb678"} 
[2026-07-15 00:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:10:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:10:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00: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-07-15 00:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":134267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":134267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":134267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456717831680001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456717831680001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:10:45] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:10:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:10:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456717831680001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":134267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:10:45] local.INFO: GPS data processed {"connection_id":134267,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:10:45] local.INFO: Acknowledgment sent {"connection_id":134267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:11:03] local.INFO: TCP Data received {"connection_id":132892,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:11:03] local.INFO: Processing buffer {"connection_id":132892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:11:03] local.INFO: IMEI packet received {"connection_id":132892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":132892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:11:08] local.INFO: TCP Data received {"connection_id":132892,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:11:08] local.INFO: Processing buffer {"connection_id":132892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:11:08] local.INFO: IMEI packet received {"connection_id":132892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":132892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:11:08] local.INFO: TCP Data received {"connection_id":132892,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f61ecb678012d7f92c005afd830000000502c..."} 
[2026-07-15 00:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61ecb678012d7f92c005afd830000000502c..."} 
[2026-07-15 00:11:08] local.INFO: Processing buffer {"connection_id":132892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61ecb678012d7f92c005afd830000000502c..."} 
[2026-07-15 00:11:08] local.INFO: Packet analysis {"connection_id":132892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61ec"} 
[2026-07-15 00:11:08] local.INFO: Extracted packet for processing {"connection_id":132892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61ec"} 
[2026-07-15 00:11:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456717831680001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:11:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784054331000,"timestamp_ms":1784054331000,"timestamp_seconds":1784054331,"priority":1,"record_length":96,"hex_timestamp":"0000019f61ecb678"} 
[2026-07-15 00:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:11:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:11:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456717831680001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456717831680001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:11:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:11:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456717831680001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":132892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:11:08] local.INFO: GPS data processed {"connection_id":132892,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:11:08] local.INFO: Acknowledgment sent {"connection_id":132892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:11:40] local.INFO: TCP Data received {"connection_id":132892,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f61ecb678012d7f92c005afd830000000502c..."} 
[2026-07-15 00:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61ecb678012d7f92c005afd830000000502c..."} 
[2026-07-15 00:11:40] local.INFO: Processing buffer {"connection_id":132892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61ecb678012d7f92c005afd830000000502c..."} 
[2026-07-15 00:11:40] local.INFO: Packet analysis {"connection_id":132892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61ec"} 
[2026-07-15 00:11:40] local.INFO: Extracted packet for processing {"connection_id":132892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61ec"} 
[2026-07-15 00:11:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456717831680001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:11:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784054331000,"timestamp_ms":1784054331000,"timestamp_seconds":1784054331,"priority":1,"record_length":96,"hex_timestamp":"0000019f61ecb678"} 
[2026-07-15 00:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:11:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:11:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:11:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456717831680001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456717831680001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:11:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:11:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:11:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456717831680001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":132892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:11:40] local.INFO: GPS data processed {"connection_id":132892,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:11:40] local.INFO: Acknowledgment sent {"connection_id":132892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:12:03] local.INFO: TCP Data received {"connection_id":132059,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:12:03] local.INFO: Processing buffer {"connection_id":132059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:12:03] local.INFO: IMEI packet received {"connection_id":132059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":132059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:12:06] local.INFO: TCP Data received {"connection_id":134269,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134269,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:12:06] local.INFO: Processing buffer {"connection_id":134269,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:12:06] local.INFO: IMEI packet received {"connection_id":134269,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 00:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":134269,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:12:08] local.INFO: TCP Data received {"connection_id":132059,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:12:08] local.INFO: Processing buffer {"connection_id":132059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:12:08] local.INFO: IMEI packet received {"connection_id":132059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":132059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:12:13] local.INFO: TCP Data received {"connection_id":132059,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:12:13] local.INFO: Processing buffer {"connection_id":132059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:12:13] local.INFO: IMEI packet received {"connection_id":132059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":132059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:12:13] local.INFO: TCP Data received {"connection_id":132059,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f61ecb678012d7f92c005afd830000000502c..."} 
[2026-07-15 00:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61ecb678012d7f92c005afd830000000502c..."} 
[2026-07-15 00:12:13] local.INFO: Processing buffer {"connection_id":132059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61ecb678012d7f92c005afd830000000502c..."} 
[2026-07-15 00:12:13] local.INFO: Packet analysis {"connection_id":132059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61ec"} 
[2026-07-15 00:12:13] local.INFO: Extracted packet for processing {"connection_id":132059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61ec"} 
[2026-07-15 00:12:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00: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-07-15 00:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456717831680001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:12:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:12:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784054331000,"timestamp_ms":1784054331000,"timestamp_seconds":1784054331,"priority":1,"record_length":96,"hex_timestamp":"0000019f61ecb678"} 
[2026-07-15 00:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:12:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:12:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00: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-07-15 00:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:12:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456717831680001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456717831680001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:12:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:12:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:12:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456717831680001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":132059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:12:13] local.INFO: GPS data processed {"connection_id":132059,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:12:13] local.INFO: Acknowledgment sent {"connection_id":132059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:12:36] local.INFO: TCP Data received {"connection_id":131894,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131894,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:12:36] local.INFO: Processing buffer {"connection_id":131894,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:12:36] local.INFO: IMEI packet received {"connection_id":131894,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 00:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":131894,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:12:47] local.INFO: TCP Data received {"connection_id":132059,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f61ecb678012d7f92c005afd830000000502c..."} 
[2026-07-15 00:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61ecb678012d7f92c005afd830000000502c..."} 
[2026-07-15 00:12:47] local.INFO: Processing buffer {"connection_id":132059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61ecb678012d7f92c005afd830000000502c..."} 
[2026-07-15 00:12:47] local.INFO: Packet analysis {"connection_id":132059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61ec"} 
[2026-07-15 00:12:47] local.INFO: Extracted packet for processing {"connection_id":132059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61ec"} 
[2026-07-15 00:12:47] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456717831680001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:12:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784054331000,"timestamp_ms":1784054331000,"timestamp_seconds":1784054331,"priority":1,"record_length":96,"hex_timestamp":"0000019f61ecb678"} 
[2026-07-15 00:12:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:12:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:12:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:12:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:12:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":132059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":132059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":132059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456717831680001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456717831680001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:12:47] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:12:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456717831680001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":132059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:12:47] local.INFO: GPS data processed {"connection_id":132059,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:12:47] local.INFO: Acknowledgment sent {"connection_id":132059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:13:02] local.INFO: TCP Data received {"connection_id":134270,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:13:02] local.INFO: Processing buffer {"connection_id":134270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:13:02] local.INFO: IMEI packet received {"connection_id":134270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":134270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:13:08] local.INFO: TCP Data received {"connection_id":134270,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:13:08] local.INFO: Processing buffer {"connection_id":134270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:13:08] local.INFO: IMEI packet received {"connection_id":134270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":134270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:13:09] local.INFO: TCP Data received {"connection_id":134270,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f61ecb678012d7f92c005afd830000000502c..."} 
[2026-07-15 00:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61ecb678012d7f92c005afd830000000502c..."} 
[2026-07-15 00:13:09] local.INFO: Processing buffer {"connection_id":134270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61ecb678012d7f92c005afd830000000502c..."} 
[2026-07-15 00:13:09] local.INFO: Packet analysis {"connection_id":134270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61ec"} 
[2026-07-15 00:13:09] local.INFO: Extracted packet for processing {"connection_id":134270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61ec"} 
[2026-07-15 00:13:09] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00: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-07-15 00:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456717831680001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784054331000,"timestamp_ms":1784054331000,"timestamp_seconds":1784054331,"priority":1,"record_length":96,"hex_timestamp":"0000019f61ecb678"} 
[2026-07-15 00:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00: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-07-15 00:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":134270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":134270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":134270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:13:09] 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-07-15 00:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456717831680001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456717831680001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:13:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:13:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456717831680001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":134270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:13:09] local.INFO: GPS data processed {"connection_id":134270,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:13:09] local.INFO: Acknowledgment sent {"connection_id":134270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:13:40] local.INFO: TCP Data received {"connection_id":134270,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f61ecb678012d7f92c005afd830000000502c..."} 
[2026-07-15 00:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61ecb678012d7f92c005afd830000000502c..."} 
[2026-07-15 00:13:40] local.INFO: Processing buffer {"connection_id":134270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61ecb678012d7f92c005afd830000000502c..."} 
[2026-07-15 00:13:40] local.INFO: Packet analysis {"connection_id":134270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61ec"} 
[2026-07-15 00:13:40] local.INFO: Extracted packet for processing {"connection_id":134270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61ec"} 
[2026-07-15 00:13:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456717831680001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784054331000,"timestamp_ms":1784054331000,"timestamp_seconds":1784054331,"priority":1,"record_length":96,"hex_timestamp":"0000019f61ecb678"} 
[2026-07-15 00:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:13:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":134270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":134270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":134270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:13:40] 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-07-15 00:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456717831680001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456717831680001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:13:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:13:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456717831680001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":134270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:13:40] local.INFO: GPS data processed {"connection_id":134270,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:13:40] local.INFO: Acknowledgment sent {"connection_id":134270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:14:02] local.INFO: TCP Data received {"connection_id":131895,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:14:02] local.INFO: Processing buffer {"connection_id":131895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:14:02] local.INFO: IMEI packet received {"connection_id":131895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":131895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:14:08] local.INFO: TCP Data received {"connection_id":131895,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:14:08] local.INFO: Processing buffer {"connection_id":131895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:14:08] local.INFO: IMEI packet received {"connection_id":131895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":131895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:14:09] local.INFO: TCP Data received {"connection_id":131895,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f61ecb678012d7f92c005afd830000000502c..."} 
[2026-07-15 00:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61ecb678012d7f92c005afd830000000502c..."} 
[2026-07-15 00:14:09] local.INFO: Processing buffer {"connection_id":131895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61ecb678012d7f92c005afd830000000502c..."} 
[2026-07-15 00:14:09] local.INFO: Packet analysis {"connection_id":131895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61ec"} 
[2026-07-15 00:14:09] local.INFO: Extracted packet for processing {"connection_id":131895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61ec"} 
[2026-07-15 00:14:09] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00: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-07-15 00:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456717831680001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784054331000,"timestamp_ms":1784054331000,"timestamp_seconds":1784054331,"priority":1,"record_length":96,"hex_timestamp":"0000019f61ecb678"} 
[2026-07-15 00:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00: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-07-15 00:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":131895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":131895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":131895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:14:09] 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-07-15 00:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456717831680001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456717831680001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:14:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:14:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456717831680001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":131895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:14:09] local.INFO: GPS data processed {"connection_id":131895,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:14:09] local.INFO: Acknowledgment sent {"connection_id":131895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:14:41] local.INFO: TCP Data received {"connection_id":131895,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f61f14e40012d7f92c005afd830000000502f..."} 
[2026-07-15 00:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61f14e40012d7f92c005afd830000000502f..."} 
[2026-07-15 00:14:41] local.INFO: Processing buffer {"connection_id":131895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61f14e40012d7f92c005afd830000000502f..."} 
[2026-07-15 00:14:41] local.INFO: Packet analysis {"connection_id":131895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61f1"} 
[2026-07-15 00:14:41] local.INFO: Extracted packet for processing {"connection_id":131895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61f1"} 
[2026-07-15 00:14:41] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00: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-07-15 00:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456717908736001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784054632000,"timestamp_ms":1784054632000,"timestamp_seconds":1784054632,"priority":1,"record_length":96,"hex_timestamp":"0000019f61f14e40"} 
[2026-07-15 00:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:14:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00: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-07-15 00:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:14:41] 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-07-15 00:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456717908736001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456717908736001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:14:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:14:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456717908736001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":131895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:14:41] local.INFO: GPS data processed {"connection_id":131895,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:14:41] local.INFO: Acknowledgment sent {"connection_id":131895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:15:03] local.INFO: TCP Data received {"connection_id":132893,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:15:03] local.INFO: Processing buffer {"connection_id":132893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:15:03] local.INFO: IMEI packet received {"connection_id":132893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":132893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:15:08] local.INFO: TCP Data received {"connection_id":132893,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:15:08] local.INFO: Processing buffer {"connection_id":132893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:15:08] local.INFO: IMEI packet received {"connection_id":132893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":132893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:15:09] local.INFO: TCP Data received {"connection_id":132893,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f61f14e40012d7f92c005afd830000000502f..."} 
[2026-07-15 00:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61f14e40012d7f92c005afd830000000502f..."} 
[2026-07-15 00:15:09] local.INFO: Processing buffer {"connection_id":132893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61f14e40012d7f92c005afd830000000502f..."} 
[2026-07-15 00:15:09] local.INFO: Packet analysis {"connection_id":132893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61f1"} 
[2026-07-15 00:15:09] local.INFO: Extracted packet for processing {"connection_id":132893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61f1"} 
[2026-07-15 00:15:09] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456717908736001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784054632000,"timestamp_ms":1784054632000,"timestamp_seconds":1784054632,"priority":1,"record_length":96,"hex_timestamp":"0000019f61f14e40"} 
[2026-07-15 00:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":132893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":132893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":132893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456717908736001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456717908736001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:15:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:15:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456717908736001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":132893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:15:09] local.INFO: GPS data processed {"connection_id":132893,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:15:09] local.INFO: Acknowledgment sent {"connection_id":132893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:15:40] local.INFO: TCP Data received {"connection_id":132893,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f61f14e40012d7f92c005afd830000000502f..."} 
[2026-07-15 00:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61f14e40012d7f92c005afd830000000502f..."} 
[2026-07-15 00:15:40] local.INFO: Processing buffer {"connection_id":132893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61f14e40012d7f92c005afd830000000502f..."} 
[2026-07-15 00:15:40] local.INFO: Packet analysis {"connection_id":132893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61f1"} 
[2026-07-15 00:15:40] local.INFO: Extracted packet for processing {"connection_id":132893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61f1"} 
[2026-07-15 00:15:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456717908736001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784054632000,"timestamp_ms":1784054632000,"timestamp_seconds":1784054632,"priority":1,"record_length":96,"hex_timestamp":"0000019f61f14e40"} 
[2026-07-15 00:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:15:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:15:40] 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-07-15 00:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456717908736001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456717908736001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:15:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:15:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456717908736001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":132893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:15:40] local.INFO: GPS data processed {"connection_id":132893,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:15:40] local.INFO: Acknowledgment sent {"connection_id":132893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:16:03] local.INFO: TCP Data received {"connection_id":132894,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:16:03] local.INFO: Processing buffer {"connection_id":132894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:16:03] local.INFO: IMEI packet received {"connection_id":132894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":132894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:16:08] local.INFO: TCP Data received {"connection_id":132894,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:16:08] local.INFO: Processing buffer {"connection_id":132894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:16:08] local.INFO: IMEI packet received {"connection_id":132894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":132894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:16:11] local.INFO: TCP Data received {"connection_id":132894,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f61f14e40012d7f92c005afd830000000502f..."} 
[2026-07-15 00:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61f14e40012d7f92c005afd830000000502f..."} 
[2026-07-15 00:16:11] local.INFO: Processing buffer {"connection_id":132894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61f14e40012d7f92c005afd830000000502f..."} 
[2026-07-15 00:16:11] local.INFO: Packet analysis {"connection_id":132894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61f1"} 
[2026-07-15 00:16:11] local.INFO: Extracted packet for processing {"connection_id":132894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61f1"} 
[2026-07-15 00:16:11] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456717908736001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784054632000,"timestamp_ms":1784054632000,"timestamp_seconds":1784054632,"priority":1,"record_length":96,"hex_timestamp":"0000019f61f14e40"} 
[2026-07-15 00:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:16:11] 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-07-15 00:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456717908736001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456717908736001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:16:11] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:16:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456717908736001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":132894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:16:11] local.INFO: GPS data processed {"connection_id":132894,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:16:11] local.INFO: Acknowledgment sent {"connection_id":132894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:16:42] local.INFO: TCP Data received {"connection_id":132894,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f61f14e40012d7f92c005afd830000000502f..."} 
[2026-07-15 00:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61f14e40012d7f92c005afd830000000502f..."} 
[2026-07-15 00:16:42] local.INFO: Processing buffer {"connection_id":132894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61f14e40012d7f92c005afd830000000502f..."} 
[2026-07-15 00:16:42] local.INFO: Packet analysis {"connection_id":132894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61f1"} 
[2026-07-15 00:16:42] local.INFO: Extracted packet for processing {"connection_id":132894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61f1"} 
[2026-07-15 00:16:42] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456717908736001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784054632000,"timestamp_ms":1784054632000,"timestamp_seconds":1784054632,"priority":1,"record_length":96,"hex_timestamp":"0000019f61f14e40"} 
[2026-07-15 00:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:16:42] 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-07-15 00:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456717908736001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456717908736001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:16:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:16:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456717908736001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":132894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:16:42] local.INFO: GPS data processed {"connection_id":132894,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:16:42] local.INFO: Acknowledgment sent {"connection_id":132894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:17:02] local.INFO: TCP Data received {"connection_id":134272,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:17:02] local.INFO: Processing buffer {"connection_id":134272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:17:02] local.INFO: IMEI packet received {"connection_id":134272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":134272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:17:08] local.INFO: TCP Data received {"connection_id":134272,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:17:08] local.INFO: Processing buffer {"connection_id":134272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:17:08] local.INFO: IMEI packet received {"connection_id":134272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":134272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:17:09] local.INFO: TCP Data received {"connection_id":134272,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f61f14e40012d7f92c005afd830000000502f..."} 
[2026-07-15 00:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61f14e40012d7f92c005afd830000000502f..."} 
[2026-07-15 00:17:09] local.INFO: Processing buffer {"connection_id":134272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61f14e40012d7f92c005afd830000000502f..."} 
[2026-07-15 00:17:09] local.INFO: Packet analysis {"connection_id":134272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61f1"} 
[2026-07-15 00:17:09] local.INFO: Extracted packet for processing {"connection_id":134272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61f1"} 
[2026-07-15 00:17:09] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:17: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-07-15 00:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456717908736001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784054632000,"timestamp_ms":1784054632000,"timestamp_seconds":1784054632,"priority":1,"record_length":96,"hex_timestamp":"0000019f61f14e40"} 
[2026-07-15 00:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:17:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:17: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-07-15 00:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":134272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":134272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":134272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:17:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456717908736001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456717908736001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:17:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:17:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456717908736001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":134272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:17:09] local.INFO: GPS data processed {"connection_id":134272,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:17:09] local.INFO: Acknowledgment sent {"connection_id":134272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:17:40] local.INFO: TCP Data received {"connection_id":134272,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f61f14e40012d7f92c005afd830000000502f..."} 
[2026-07-15 00:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61f14e40012d7f92c005afd830000000502f..."} 
[2026-07-15 00:17:40] local.INFO: Processing buffer {"connection_id":134272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61f14e40012d7f92c005afd830000000502f..."} 
[2026-07-15 00:17:40] local.INFO: Packet analysis {"connection_id":134272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61f1"} 
[2026-07-15 00:17:40] local.INFO: Extracted packet for processing {"connection_id":134272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61f1"} 
[2026-07-15 00:17:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456717908736001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784054632000,"timestamp_ms":1784054632000,"timestamp_seconds":1784054632,"priority":1,"record_length":96,"hex_timestamp":"0000019f61f14e40"} 
[2026-07-15 00:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:17:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:17:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:17:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":134272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":134272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":134272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:17:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456717908736001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456717908736001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:17:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:17:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456717908736001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":134272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:17:40] local.INFO: GPS data processed {"connection_id":134272,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:17:40] local.INFO: Acknowledgment sent {"connection_id":134272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:18:01] local.INFO: TCP Data received {"connection_id":132895,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132895,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:18:01] local.INFO: Processing buffer {"connection_id":132895,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:18:01] local.INFO: IMEI packet received {"connection_id":132895,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 00:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":132895,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:18:02] local.INFO: TCP Data received {"connection_id":132896,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:18:02] local.INFO: Processing buffer {"connection_id":132896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:18:02] local.INFO: IMEI packet received {"connection_id":132896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":132896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:18:09] local.INFO: TCP Data received {"connection_id":132896,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:18:09] local.INFO: Processing buffer {"connection_id":132896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:18:09] local.INFO: IMEI packet received {"connection_id":132896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":132896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:18:10] local.INFO: TCP Data received {"connection_id":132896,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f61f14e40012d7f92c005afd830000000502f..."} 
[2026-07-15 00:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61f14e40012d7f92c005afd830000000502f..."} 
[2026-07-15 00:18:10] local.INFO: Processing buffer {"connection_id":132896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61f14e40012d7f92c005afd830000000502f..."} 
[2026-07-15 00:18:10] local.INFO: Packet analysis {"connection_id":132896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61f1"} 
[2026-07-15 00:18:10] local.INFO: Extracted packet for processing {"connection_id":132896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61f1"} 
[2026-07-15 00:18:10] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456717908736001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784054632000,"timestamp_ms":1784054632000,"timestamp_seconds":1784054632,"priority":1,"record_length":96,"hex_timestamp":"0000019f61f14e40"} 
[2026-07-15 00:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":132896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":132896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":132896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:18:10] 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-07-15 00:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456717908736001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456717908736001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:18:10] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:18:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456717908736001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":132896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:18:10] local.INFO: GPS data processed {"connection_id":132896,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:18:10] local.INFO: Acknowledgment sent {"connection_id":132896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:18:36] local.INFO: TCP Data received {"connection_id":131897,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131897,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:18:36] local.INFO: Processing buffer {"connection_id":131897,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:18:36] local.INFO: IMEI packet received {"connection_id":131897,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 00:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":131897,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:18:43] local.INFO: TCP Data received {"connection_id":132896,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f61f14e40012d7f92c005afd830000000502f..."} 
[2026-07-15 00:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61f14e40012d7f92c005afd830000000502f..."} 
[2026-07-15 00:18:43] local.INFO: Processing buffer {"connection_id":132896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61f14e40012d7f92c005afd830000000502f..."} 
[2026-07-15 00:18:43] local.INFO: Packet analysis {"connection_id":132896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61f1"} 
[2026-07-15 00:18:43] local.INFO: Extracted packet for processing {"connection_id":132896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61f1"} 
[2026-07-15 00:18:43] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456717908736001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:18:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:18:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784054632000,"timestamp_ms":1784054632000,"timestamp_seconds":1784054632,"priority":1,"record_length":96,"hex_timestamp":"0000019f61f14e40"} 
[2026-07-15 00:18:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:18:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:18:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:18:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:18:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":132896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":132896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":132896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:18:43] 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-07-15 00:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456717908736001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456717908736001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:18:43] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:18:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:18:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:18:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456717908736001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":132896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:18:43] local.INFO: GPS data processed {"connection_id":132896,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:18:43] local.INFO: Acknowledgment sent {"connection_id":132896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:19:08] local.INFO: TCP Data received {"connection_id":132062,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:19:08] local.INFO: Processing buffer {"connection_id":132062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:19:08] local.INFO: IMEI packet received {"connection_id":132062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":132062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:19:13] local.INFO: TCP Data received {"connection_id":132062,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:19:13] local.INFO: Processing buffer {"connection_id":132062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:19:13] local.INFO: IMEI packet received {"connection_id":132062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":132062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:19:14] local.INFO: TCP Data received {"connection_id":132062,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f61f14e40012d7f92c005afd830000000502f..."} 
[2026-07-15 00:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61f14e40012d7f92c005afd830000000502f..."} 
[2026-07-15 00:19:14] local.INFO: Processing buffer {"connection_id":132062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61f14e40012d7f92c005afd830000000502f..."} 
[2026-07-15 00:19:14] local.INFO: Packet analysis {"connection_id":132062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61f1"} 
[2026-07-15 00:19:14] local.INFO: Extracted packet for processing {"connection_id":132062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61f1"} 
[2026-07-15 00:19:14] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456717908736001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:19:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:19:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784054632000,"timestamp_ms":1784054632000,"timestamp_seconds":1784054632,"priority":1,"record_length":96,"hex_timestamp":"0000019f61f14e40"} 
[2026-07-15 00:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:19:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:19:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:19:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":132062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":132062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":132062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:19:14] 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-07-15 00:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456717908736001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456717908736001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:19:14] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:19:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:19:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456717908736001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:19:14] local.INFO: DEBUG: GPS processor result {"connection_id":132062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:19:14] local.INFO: GPS data processed {"connection_id":132062,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:19:14] local.INFO: Acknowledgment sent {"connection_id":132062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:19:18] local.INFO: TCP Data received {"connection_id":132062,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f61f14e40012d7f92c005afd830000000502f..."} 
[2026-07-15 00:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61f14e40012d7f92c005afd830000000502f..."} 
[2026-07-15 00:19:18] local.INFO: Processing buffer {"connection_id":132062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61f14e40012d7f92c005afd830000000502f..."} 
[2026-07-15 00:19:18] local.INFO: Packet analysis {"connection_id":132062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61f1"} 
[2026-07-15 00:19:18] local.INFO: Extracted packet for processing {"connection_id":132062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61f1"} 
[2026-07-15 00:19:18] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456717908736001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784054632000,"timestamp_ms":1784054632000,"timestamp_seconds":1784054632,"priority":1,"record_length":96,"hex_timestamp":"0000019f61f14e40"} 
[2026-07-15 00:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:19:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:19:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:19:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":132062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":132062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":132062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456717908736001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456717908736001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:19:18] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:19:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456717908736001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":132062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:19:18] local.INFO: GPS data processed {"connection_id":132062,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:19:18] local.INFO: Acknowledgment sent {"connection_id":132062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:20:08] local.INFO: TCP Data received {"connection_id":132897,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:20:08] local.INFO: Processing buffer {"connection_id":132897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:20:08] local.INFO: IMEI packet received {"connection_id":132897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":132897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:20:13] local.INFO: TCP Data received {"connection_id":132897,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:20:13] local.INFO: Processing buffer {"connection_id":132897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:20:13] local.INFO: IMEI packet received {"connection_id":132897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":132897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:20:13] local.INFO: TCP Data received {"connection_id":132897,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f61f5e608012d7f92c005afd830000000502d..."} 
[2026-07-15 00:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61f5e608012d7f92c005afd830000000502d..."} 
[2026-07-15 00:20:13] local.INFO: Processing buffer {"connection_id":132897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61f5e608012d7f92c005afd830000000502d..."} 
[2026-07-15 00:20:13] local.INFO: Packet analysis {"connection_id":132897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61f5"} 
[2026-07-15 00:20:13] local.INFO: Extracted packet for processing {"connection_id":132897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61f5"} 
[2026-07-15 00:20:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456717985792001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:20:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:20:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784054933000,"timestamp_ms":1784054933000,"timestamp_seconds":1784054933,"priority":1,"record_length":96,"hex_timestamp":"0000019f61f5e608"} 
[2026-07-15 00:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:20:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:20:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:20:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456717985792001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456717985792001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:20:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:20:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:20:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456717985792001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":132897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:20:14] local.INFO: GPS data processed {"connection_id":132897,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:20:14] local.INFO: Acknowledgment sent {"connection_id":132897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:20:18] local.INFO: TCP Data received {"connection_id":132897,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f61f5e608012d7f92c005afd830000000502d..."} 
[2026-07-15 00:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61f5e608012d7f92c005afd830000000502d..."} 
[2026-07-15 00:20:18] local.INFO: Processing buffer {"connection_id":132897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61f5e608012d7f92c005afd830000000502d..."} 
[2026-07-15 00:20:18] local.INFO: Packet analysis {"connection_id":132897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61f5"} 
[2026-07-15 00:20:18] local.INFO: Extracted packet for processing {"connection_id":132897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61f5"} 
[2026-07-15 00:20:18] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00: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-07-15 00:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456717985792001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:20:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:20:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784054933000,"timestamp_ms":1784054933000,"timestamp_seconds":1784054933,"priority":1,"record_length":96,"hex_timestamp":"0000019f61f5e608"} 
[2026-07-15 00:20:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:20:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:20:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00: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-07-15 00:20:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":132897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":132897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":132897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:20:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456717985792001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456717985792001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:20:18] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:20:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:20:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:20:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456717985792001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":132897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:20:18] local.INFO: GPS data processed {"connection_id":132897,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:20:18] local.INFO: Acknowledgment sent {"connection_id":132897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:21:03] local.INFO: TCP Data received {"connection_id":132063,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:21:03] local.INFO: Processing buffer {"connection_id":132063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:21:03] local.INFO: IMEI packet received {"connection_id":132063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":132063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:21:10] local.INFO: TCP Data received {"connection_id":132063,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:21:10] local.INFO: Processing buffer {"connection_id":132063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:21:10] local.INFO: IMEI packet received {"connection_id":132063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":132063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:21:13] local.INFO: TCP Data received {"connection_id":132063,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:21:13] local.INFO: Processing buffer {"connection_id":132063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:21:13] local.INFO: IMEI packet received {"connection_id":132063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":132063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:21:18] local.INFO: TCP Data received {"connection_id":132063,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:21:18] local.INFO: Processing buffer {"connection_id":132063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:21:18] local.INFO: IMEI packet received {"connection_id":132063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":132063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:21:19] local.INFO: TCP Data received {"connection_id":132063,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f61f5e608012d7f92c005afd830000000502d..."} 
[2026-07-15 00:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61f5e608012d7f92c005afd830000000502d..."} 
[2026-07-15 00:21:19] local.INFO: Processing buffer {"connection_id":132063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61f5e608012d7f92c005afd830000000502d..."} 
[2026-07-15 00:21:19] local.INFO: Packet analysis {"connection_id":132063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61f5"} 
[2026-07-15 00:21:19] local.INFO: Extracted packet for processing {"connection_id":132063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61f5"} 
[2026-07-15 00:21:19] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00: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-07-15 00:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456717985792001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:21:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:21:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784054933000,"timestamp_ms":1784054933000,"timestamp_seconds":1784054933,"priority":1,"record_length":96,"hex_timestamp":"0000019f61f5e608"} 
[2026-07-15 00:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:21:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:21:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00: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-07-15 00:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":132063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":132063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":132063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:21: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-07-15 00:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456717985792001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456717985792001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:21:19] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:21:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:21:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456717985792001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":132063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:21:19] local.INFO: GPS data processed {"connection_id":132063,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:21:19] local.INFO: Acknowledgment sent {"connection_id":132063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:22:03] local.INFO: TCP Data received {"connection_id":131898,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:22:03] local.INFO: Processing buffer {"connection_id":131898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:22:03] local.INFO: IMEI packet received {"connection_id":131898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":131898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:22:08] local.INFO: TCP Data received {"connection_id":131898,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:22:08] local.INFO: Processing buffer {"connection_id":131898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:22:08] local.INFO: IMEI packet received {"connection_id":131898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":131898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:22:08] local.INFO: TCP Data received {"connection_id":131898,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f61f5e608012d7f92c005afd830000000502d..."} 
[2026-07-15 00:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61f5e608012d7f92c005afd830000000502d..."} 
[2026-07-15 00:22:08] local.INFO: Processing buffer {"connection_id":131898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61f5e608012d7f92c005afd830000000502d..."} 
[2026-07-15 00:22:08] local.INFO: Packet analysis {"connection_id":131898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61f5"} 
[2026-07-15 00:22:08] local.INFO: Extracted packet for processing {"connection_id":131898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61f5"} 
[2026-07-15 00:22:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456717985792001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784054933000,"timestamp_ms":1784054933000,"timestamp_seconds":1784054933,"priority":1,"record_length":96,"hex_timestamp":"0000019f61f5e608"} 
[2026-07-15 00:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:22:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":131898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":131898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":131898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456717985792001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456717985792001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:22:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:22:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456717985792001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":131898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:22:08] local.INFO: GPS data processed {"connection_id":131898,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:22:08] local.INFO: Acknowledgment sent {"connection_id":131898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:22:40] local.INFO: TCP Data received {"connection_id":131898,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f61f5e608012d7f92c005afd830000000502d..."} 
[2026-07-15 00:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61f5e608012d7f92c005afd830000000502d..."} 
[2026-07-15 00:22:40] local.INFO: Processing buffer {"connection_id":131898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61f5e608012d7f92c005afd830000000502d..."} 
[2026-07-15 00:22:40] local.INFO: Packet analysis {"connection_id":131898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61f5"} 
[2026-07-15 00:22:40] local.INFO: Extracted packet for processing {"connection_id":131898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61f5"} 
[2026-07-15 00:22:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456717985792001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784054933000,"timestamp_ms":1784054933000,"timestamp_seconds":1784054933,"priority":1,"record_length":96,"hex_timestamp":"0000019f61f5e608"} 
[2026-07-15 00:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:22:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:22:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:22:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456717985792001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456717985792001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:22:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:22:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456717985792001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":131898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:22:40] local.INFO: GPS data processed {"connection_id":131898,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:22:40] local.INFO: Acknowledgment sent {"connection_id":131898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:23:03] local.INFO: TCP Data received {"connection_id":132064,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:23:03] local.INFO: Processing buffer {"connection_id":132064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:23:03] local.INFO: IMEI packet received {"connection_id":132064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":132064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:23:08] local.INFO: TCP Data received {"connection_id":132064,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:23:08] local.INFO: Processing buffer {"connection_id":132064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:23:08] local.INFO: IMEI packet received {"connection_id":132064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":132064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:23:08] local.INFO: TCP Data received {"connection_id":132064,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f61f5e608012d7f92c005afd830000000502d..."} 
[2026-07-15 00:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61f5e608012d7f92c005afd830000000502d..."} 
[2026-07-15 00:23:08] local.INFO: Processing buffer {"connection_id":132064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61f5e608012d7f92c005afd830000000502d..."} 
[2026-07-15 00:23:08] local.INFO: Packet analysis {"connection_id":132064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61f5"} 
[2026-07-15 00:23:08] local.INFO: Extracted packet for processing {"connection_id":132064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61f5"} 
[2026-07-15 00:23:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456717985792001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784054933000,"timestamp_ms":1784054933000,"timestamp_seconds":1784054933,"priority":1,"record_length":96,"hex_timestamp":"0000019f61f5e608"} 
[2026-07-15 00:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456717985792001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456717985792001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:23:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:23:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456717985792001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":132064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:23:08] local.INFO: GPS data processed {"connection_id":132064,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:23:08] local.INFO: Acknowledgment sent {"connection_id":132064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:23:40] local.INFO: TCP Data received {"connection_id":132064,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f61f5e608012d7f92c005afd830000000502d..."} 
[2026-07-15 00:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61f5e608012d7f92c005afd830000000502d..."} 
[2026-07-15 00:23:40] local.INFO: Processing buffer {"connection_id":132064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61f5e608012d7f92c005afd830000000502d..."} 
[2026-07-15 00:23:40] local.INFO: Packet analysis {"connection_id":132064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61f5"} 
[2026-07-15 00:23:40] local.INFO: Extracted packet for processing {"connection_id":132064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61f5"} 
[2026-07-15 00:23:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00: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-07-15 00:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456717985792001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:23:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:23:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784054933000,"timestamp_ms":1784054933000,"timestamp_seconds":1784054933,"priority":1,"record_length":96,"hex_timestamp":"0000019f61f5e608"} 
[2026-07-15 00:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:23:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:23:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00: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-07-15 00:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:23:40] 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-07-15 00:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456717985792001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456717985792001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:23:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:23:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:23:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456717985792001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":132064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:23:40] local.INFO: GPS data processed {"connection_id":132064,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:23:40] local.INFO: Acknowledgment sent {"connection_id":132064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:24:02] local.INFO: TCP Data received {"connection_id":131899,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:24:02] local.INFO: Processing buffer {"connection_id":131899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:24:02] local.INFO: IMEI packet received {"connection_id":131899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":131899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:24:08] local.INFO: TCP Data received {"connection_id":131899,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:24:08] local.INFO: Processing buffer {"connection_id":131899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:24:08] local.INFO: IMEI packet received {"connection_id":131899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":131899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:24:10] local.INFO: TCP Data received {"connection_id":131899,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f61f5e608012d7f92c005afd830000000502d..."} 
[2026-07-15 00:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61f5e608012d7f92c005afd830000000502d..."} 
[2026-07-15 00:24:10] local.INFO: Processing buffer {"connection_id":131899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61f5e608012d7f92c005afd830000000502d..."} 
[2026-07-15 00:24:10] local.INFO: Packet analysis {"connection_id":131899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61f5"} 
[2026-07-15 00:24:10] local.INFO: Extracted packet for processing {"connection_id":131899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61f5"} 
[2026-07-15 00:24:10] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456717985792001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784054933000,"timestamp_ms":1784054933000,"timestamp_seconds":1784054933,"priority":1,"record_length":96,"hex_timestamp":"0000019f61f5e608"} 
[2026-07-15 00:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":131899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":131899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":131899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456717985792001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456717985792001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:24:10] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:24:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456717985792001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":131899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:24:10] local.INFO: GPS data processed {"connection_id":131899,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:24:10] local.INFO: Acknowledgment sent {"connection_id":131899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:24:33] local.INFO: TCP Data received {"connection_id":132066,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132066,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:24:33] local.INFO: Processing buffer {"connection_id":132066,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:24:33] local.INFO: IMEI packet received {"connection_id":132066,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 00:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":132066,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:24:36] local.INFO: TCP Data received {"connection_id":132066,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132066,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:24:36] local.INFO: Processing buffer {"connection_id":132066,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:24:36] local.INFO: IMEI packet received {"connection_id":132066,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 00:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":132066,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:24:44] local.INFO: TCP Data received {"connection_id":131899,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f61fa7dd0012d7f92c005afd830000000502e..."} 
[2026-07-15 00:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61fa7dd0012d7f92c005afd830000000502e..."} 
[2026-07-15 00:24:44] local.INFO: Processing buffer {"connection_id":131899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61fa7dd0012d7f92c005afd830000000502e..."} 
[2026-07-15 00:24:44] local.INFO: Packet analysis {"connection_id":131899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61fa"} 
[2026-07-15 00:24:44] local.INFO: Extracted packet for processing {"connection_id":131899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61fa"} 
[2026-07-15 00:24:44] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718062848001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784055234000,"timestamp_ms":1784055234000,"timestamp_seconds":1784055234,"priority":1,"record_length":96,"hex_timestamp":"0000019f61fa7dd0"} 
[2026-07-15 00:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:24:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 00:24:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:24:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":131899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":131899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":131899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718062848001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718062848001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:24:44] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:24:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718062848001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":131899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:24:44] local.INFO: GPS data processed {"connection_id":131899,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:24:44] local.INFO: Acknowledgment sent {"connection_id":131899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:24:49] local.INFO: TCP Data received {"connection_id":132066,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132066,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:24:49] local.INFO: Processing buffer {"connection_id":132066,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:24:49] local.INFO: IMEI packet received {"connection_id":132066,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 00:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":132066,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:24:51] local.INFO: TCP Data received {"connection_id":132066,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f61f8d408012d7b754005f623a80009015f2d..."} 
[2026-07-15 00:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61f8d408012d7b754005f623a80009015f2d..."} 
[2026-07-15 00:24:51] local.INFO: Processing buffer {"connection_id":132066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61f8d408012d7b754005f623a80009015f2d..."} 
[2026-07-15 00:24:51] local.INFO: Packet analysis {"connection_id":132066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61f8"} 
[2026-07-15 00:24:51] local.INFO: Extracted packet for processing {"connection_id":132066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61f8"} 
[2026-07-15 00:24:51] local.INFO: GPS Element Parsed {"raw_longitude":763065664,"raw_latitude":100017064,"longitude_deg":76.3065664,"latitude_deg":10.0017064,"altitude":9,"angle":351,"satellites":45,"speed":18,"hex_longitude":"2d7b7540","hex_latitude":"05f623a8","is_valid_coordinates":true} 
[2026-07-15 00: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-07-15 00:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718107648001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135706346484924416,"note":"Value kept but may cause issues"} 
[2026-07-15 00:24:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897986989379313664,"note":"Value kept but may cause issues"} 
[2026-07-15 00:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784055125000,"timestamp_ms":1784055125000,"timestamp_seconds":1784055125,"priority":1,"record_length":96,"hex_timestamp":"0000019f61f8d408"} 
[2026-07-15 00:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-15 00:24:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00: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-07-15 00:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":132066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":132066,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":132066,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718107648001,"66":27876,"123":206,"8":64768,"24":18,"16":135706346484924416,"45":8897986989379313664},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,8,24,16,45]} 
[2026-07-15 00:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718107648001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:24:51] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-07-15 00:24:51] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-07-15 00:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135706346484924416,"km_value":135706346484924.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897986989379313664,"description":"Unknown IO ID 45"} 
[2026-07-15 00:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718107648001,"power":27876,"unknown_123":206,"unknown_8":64768,"ignition":18,"odometer":null,"unknown_45":8897986989379313664}} 
[2026-07-15 00:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":132066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488651,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:24:51] local.INFO: GPS data processed {"connection_id":132066,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:24:51] local.INFO: Acknowledgment sent {"connection_id":132066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:25:08] local.INFO: TCP Data received {"connection_id":131900,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:25:08] local.INFO: Processing buffer {"connection_id":131900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:25:08] local.INFO: IMEI packet received {"connection_id":131900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":131900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:25:13] local.INFO: TCP Data received {"connection_id":131900,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:25:13] local.INFO: Processing buffer {"connection_id":131900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:25:13] local.INFO: IMEI packet received {"connection_id":131900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":131900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:25:16] local.INFO: TCP Data received {"connection_id":131900,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f61fa7dd0012d7f92c005afd830000000502e..."} 
[2026-07-15 00:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61fa7dd0012d7f92c005afd830000000502e..."} 
[2026-07-15 00:25:16] local.INFO: Processing buffer {"connection_id":131900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61fa7dd0012d7f92c005afd830000000502e..."} 
[2026-07-15 00:25:16] local.INFO: Packet analysis {"connection_id":131900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61fa"} 
[2026-07-15 00:25:16] local.INFO: Extracted packet for processing {"connection_id":131900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61fa"} 
[2026-07-15 00:25:16] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718062848001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:25:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784055234000,"timestamp_ms":1784055234000,"timestamp_seconds":1784055234,"priority":1,"record_length":96,"hex_timestamp":"0000019f61fa7dd0"} 
[2026-07-15 00:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 00:25:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:25:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":131900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":131900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":131900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718062848001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718062848001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:25:16] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:25:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718062848001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":131900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:25:16] local.INFO: GPS data processed {"connection_id":131900,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:25:16] local.INFO: Acknowledgment sent {"connection_id":131900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:25:18] local.INFO: TCP Data received {"connection_id":131900,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f61fa7dd0012d7f92c005afd830000000502e..."} 
[2026-07-15 00:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61fa7dd0012d7f92c005afd830000000502e..."} 
[2026-07-15 00:25:18] local.INFO: Processing buffer {"connection_id":131900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61fa7dd0012d7f92c005afd830000000502e..."} 
[2026-07-15 00:25:18] local.INFO: Packet analysis {"connection_id":131900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61fa"} 
[2026-07-15 00:25:18] local.INFO: Extracted packet for processing {"connection_id":131900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61fa"} 
[2026-07-15 00:25:18] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00: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-07-15 00:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718062848001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:25:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:25:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:25:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:25:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784055234000,"timestamp_ms":1784055234000,"timestamp_seconds":1784055234,"priority":1,"record_length":96,"hex_timestamp":"0000019f61fa7dd0"} 
[2026-07-15 00:25:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:25:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 00:25:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00: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-07-15 00:25:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:25:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:25:18] local.INFO: Teltonika packet parsed successfully {"connection_id":131900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:25:18] local.INFO: Passing IMEI to GPS processor {"connection_id":131900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:25:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":131900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:25:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:25:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:25:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:25:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718062848001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:25:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:25:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:25:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718062848001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:25:18] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:25:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:25:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:25:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:25:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718062848001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:25:18] local.INFO: DEBUG: GPS processor result {"connection_id":131900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:25:18] local.INFO: GPS data processed {"connection_id":131900,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:25:18] local.INFO: Acknowledgment sent {"connection_id":131900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:25:36] local.INFO: TCP Data received {"connection_id":132900,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132900,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:25:36] local.INFO: Processing buffer {"connection_id":132900,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:25:36] local.INFO: IMEI packet received {"connection_id":132900,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 00:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":132900,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:25:38] local.INFO: TCP Data received {"connection_id":132900,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132900,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:25:38] local.INFO: Processing buffer {"connection_id":132900,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:25:38] local.INFO: IMEI packet received {"connection_id":132900,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 00:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":132900,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:25:41] local.INFO: TCP Data received {"connection_id":132900,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132900,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:25:41] local.INFO: Processing buffer {"connection_id":132900,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:25:41] local.INFO: IMEI packet received {"connection_id":132900,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 00:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":132900,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:25:42] local.INFO: TCP Data received {"connection_id":132900,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f61fad7a8012d7a8c0005f60d10000700fe25..."} 
[2026-07-15 00:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61fad7a8012d7a8c0005f60d10000700fe25..."} 
[2026-07-15 00:25:42] local.INFO: Processing buffer {"connection_id":132900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61fad7a8012d7a8c0005f60d10000700fe25..."} 
[2026-07-15 00:25:42] local.INFO: Packet analysis {"connection_id":132900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61fa"} 
[2026-07-15 00:25:42] local.INFO: Extracted packet for processing {"connection_id":132900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61fa"} 
[2026-07-15 00:25:42] local.INFO: GPS Element Parsed {"raw_longitude":763005952,"raw_latitude":100011280,"longitude_deg":76.3005952,"latitude_deg":10.001128,"altitude":7,"angle":254,"satellites":37,"speed":32,"hex_longitude":"2d7a8c00","hex_latitude":"05f60d10","is_valid_coordinates":true} 
[2026-07-15 00:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135706754506817536,"note":"Value kept but may cause issues"} 
[2026-07-15 00:25:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,202,8,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 00:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784055257000,"timestamp_ms":1784055257000,"timestamp_seconds":1784055257,"priority":1,"record_length":96,"hex_timestamp":"0000019f61fad7a8"} 
[2026-07-15 00:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-15 00:25:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132900,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132900,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27995,"202":206,"8":64768,"24":32,"16":135706754506817536},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,8,24,16]} 
[2026-07-15 00:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-15 00:25:42] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-07-15 00:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135706754506817536,"km_value":135706754506817.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:25:42] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27995,"mcc":206,"unknown_8":64768,"ignition":32,"odometer":null}} 
[2026-07-15 00:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":132900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488654,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:25:42] local.INFO: GPS data processed {"connection_id":132900,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:25:42] local.INFO: Acknowledgment sent {"connection_id":132900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:25:43] local.INFO: TCP Data received {"connection_id":132900,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f61fbba380100000000000000000000000000..."} 
[2026-07-15 00:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61fbba380100000000000000000000000000..."} 
[2026-07-15 00:25:43] local.INFO: Processing buffer {"connection_id":132900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61fbba380100000000000000000000000000..."} 
[2026-07-15 00:25:43] local.INFO: Packet analysis {"connection_id":132900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61fb"} 
[2026-07-15 00:25:43] local.INFO: Extracted packet for processing {"connection_id":132900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61fb"} 
[2026-07-15 00:25: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-07-15 00:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718145792001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135706754506817536,"note":"Value kept but may cause issues"} 
[2026-07-15 00:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8830432994969587712,"note":"Value kept but may cause issues"} 
[2026-07-15 00:25:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784055315000,"timestamp_ms":1784055315000,"timestamp_seconds":1784055315,"priority":1,"record_length":96,"hex_timestamp":"0000019f61fbba38"} 
[2026-07-15 00:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:25:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-15 00:25:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:25:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":132900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":132900,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":132900,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":132900,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 00:25:43] local.INFO: GPS data processed {"connection_id":132900,"processed":0,"errors":0,"total":1} 
[2026-07-15 00:25:43] local.INFO: Acknowledgment sent {"connection_id":132900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:26:03] local.INFO: TCP Data received {"connection_id":132067,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:26:03] local.INFO: Processing buffer {"connection_id":132067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:26:03] local.INFO: IMEI packet received {"connection_id":132067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":132067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:26:08] local.INFO: TCP Data received {"connection_id":132067,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:26:08] local.INFO: Processing buffer {"connection_id":132067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:26:08] local.INFO: IMEI packet received {"connection_id":132067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":132067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:26:09] local.INFO: TCP Data received {"connection_id":132067,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f61fa7dd0012d7f92c005afd830000000502e..."} 
[2026-07-15 00:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61fa7dd0012d7f92c005afd830000000502e..."} 
[2026-07-15 00:26:09] local.INFO: Processing buffer {"connection_id":132067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61fa7dd0012d7f92c005afd830000000502e..."} 
[2026-07-15 00:26:09] local.INFO: Packet analysis {"connection_id":132067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61fa"} 
[2026-07-15 00:26:09] local.INFO: Extracted packet for processing {"connection_id":132067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61fa"} 
[2026-07-15 00:26:09] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718062848001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784055234000,"timestamp_ms":1784055234000,"timestamp_seconds":1784055234,"priority":1,"record_length":96,"hex_timestamp":"0000019f61fa7dd0"} 
[2026-07-15 00:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 00:26:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":132067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":132067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":132067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718062848001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718062848001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:26:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:26:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718062848001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":132067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:26:09] local.INFO: GPS data processed {"connection_id":132067,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:26:09] local.INFO: Acknowledgment sent {"connection_id":132067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:26:15] local.INFO: TCP Data received {"connection_id":132900,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f61fb2d98012d7a4f4005f5eb40000b00eb1c..."} 
[2026-07-15 00:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61fb2d98012d7a4f4005f5eb40000b00eb1c..."} 
[2026-07-15 00:26:15] local.INFO: Processing buffer {"connection_id":132900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61fb2d98012d7a4f4005f5eb40000b00eb1c..."} 
[2026-07-15 00:26:15] local.INFO: Packet analysis {"connection_id":132900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61fb"} 
[2026-07-15 00:26:15] local.INFO: Extracted packet for processing {"connection_id":132900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61fb"} 
[2026-07-15 00:26:15] local.INFO: GPS Element Parsed {"raw_longitude":762990400,"raw_latitude":100002624,"longitude_deg":76.29904,"latitude_deg":10.0002624,"altitude":11,"angle":235,"satellites":28,"speed":34,"hex_longitude":"2d7a4f40","hex_latitude":"05f5eb40","is_valid_coordinates":true} 
[2026-07-15 00:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135706754506817536,"note":"Value kept but may cause issues"} 
[2026-07-15 00:26:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,202,8,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 00:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784055279000,"timestamp_ms":1784055279000,"timestamp_seconds":1784055279,"priority":1,"record_length":96,"hex_timestamp":"0000019f61fb2d98"} 
[2026-07-15 00:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-15 00:26:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:26:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":132900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":132900,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":132900,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27876,"202":206,"8":64768,"24":34,"16":135706754506817536},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,8,24,16]} 
[2026-07-15 00:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-15 00:26:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-07-15 00:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135706754506817536,"km_value":135706754506817.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:26:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27876,"mcc":206,"unknown_8":64768,"ignition":34,"odometer":null}} 
[2026-07-15 00:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":132900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488656,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:26:15] local.INFO: GPS data processed {"connection_id":132900,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:26:15] local.INFO: Acknowledgment sent {"connection_id":132900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:26:36] local.INFO: TCP Data received {"connection_id":132068,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132068,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:26:36] local.INFO: Processing buffer {"connection_id":132068,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:26:36] local.INFO: IMEI packet received {"connection_id":132068,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 00:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":132068,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:26:41] local.INFO: TCP Data received {"connection_id":132068,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132068,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:26:41] local.INFO: Processing buffer {"connection_id":132068,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:26:41] local.INFO: IMEI packet received {"connection_id":132068,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 00:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":132068,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:26:42] local.INFO: TCP Data received {"connection_id":132068,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f61fc10280100000000000000000000000000..."} 
[2026-07-15 00:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61fc10280100000000000000000000000000..."} 
[2026-07-15 00:26:42] local.INFO: Processing buffer {"connection_id":132068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61fc10280100000000000000000000000000..."} 
[2026-07-15 00:26:42] local.INFO: Packet analysis {"connection_id":132068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61fc"} 
[2026-07-15 00:26:42] local.INFO: Extracted packet for processing {"connection_id":132068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61fc"} 
[2026-07-15 00:26: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-07-15 00:26: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-07-15 00:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718151424001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135706754506817536,"note":"Value kept but may cause issues"} 
[2026-07-15 00:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8813333390132199424,"note":"Value kept but may cause issues"} 
[2026-07-15 00:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784055337000,"timestamp_ms":1784055337000,"timestamp_seconds":1784055337,"priority":1,"record_length":96,"hex_timestamp":"0000019f61fc1028"} 
[2026-07-15 00:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-15 00:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:26: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-07-15 00:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132068,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132068,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":132068,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 00:26:42] local.INFO: GPS data processed {"connection_id":132068,"processed":0,"errors":0,"total":1} 
[2026-07-15 00:26:42] local.INFO: Acknowledgment sent {"connection_id":132068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:26:42] local.INFO: TCP Data received {"connection_id":132067,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f61fa7dd0012d7f92c005afd830000000502e..."} 
[2026-07-15 00:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61fa7dd0012d7f92c005afd830000000502e..."} 
[2026-07-15 00:26:42] local.INFO: Processing buffer {"connection_id":132067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61fa7dd0012d7f92c005afd830000000502e..."} 
[2026-07-15 00:26:42] local.INFO: Packet analysis {"connection_id":132067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61fa"} 
[2026-07-15 00:26:42] local.INFO: Extracted packet for processing {"connection_id":132067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61fa"} 
[2026-07-15 00:26:42] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:26: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-07-15 00:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718062848001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784055234000,"timestamp_ms":1784055234000,"timestamp_seconds":1784055234,"priority":1,"record_length":96,"hex_timestamp":"0000019f61fa7dd0"} 
[2026-07-15 00:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 00:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:26: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-07-15 00:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:26:42] 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-07-15 00:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718062848001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718062848001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:26:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:26:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718062848001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":132067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:26:42] local.INFO: GPS data processed {"connection_id":132067,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:26:42] local.INFO: Acknowledgment sent {"connection_id":132067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:27:03] local.INFO: TCP Data received {"connection_id":131901,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:27:03] local.INFO: Processing buffer {"connection_id":131901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:27:03] local.INFO: IMEI packet received {"connection_id":131901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":131901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:27:08] local.INFO: TCP Data received {"connection_id":131901,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:27:08] local.INFO: Processing buffer {"connection_id":131901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:27:08] local.INFO: IMEI packet received {"connection_id":131901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":131901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:27:09] local.INFO: TCP Data received {"connection_id":131901,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f61fa7dd0012d7f92c005afd830000000502e..."} 
[2026-07-15 00:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61fa7dd0012d7f92c005afd830000000502e..."} 
[2026-07-15 00:27:09] local.INFO: Processing buffer {"connection_id":131901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61fa7dd0012d7f92c005afd830000000502e..."} 
[2026-07-15 00:27:09] local.INFO: Packet analysis {"connection_id":131901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61fa"} 
[2026-07-15 00:27:09] local.INFO: Extracted packet for processing {"connection_id":131901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61fa"} 
[2026-07-15 00:27:09] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718062848001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784055234000,"timestamp_ms":1784055234000,"timestamp_seconds":1784055234,"priority":1,"record_length":96,"hex_timestamp":"0000019f61fa7dd0"} 
[2026-07-15 00:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 00:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:27:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":131901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":131901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":131901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718062848001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718062848001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:27:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:27:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718062848001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":131901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:27:09] local.INFO: GPS data processed {"connection_id":131901,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:27:09] local.INFO: Acknowledgment sent {"connection_id":131901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:27:16] local.INFO: TCP Data received {"connection_id":132068,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f61fb8770012d7a21c005f5cec8000b00e92a..."} 
[2026-07-15 00:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61fb8770012d7a21c005f5cec8000b00e92a..."} 
[2026-07-15 00:27:16] local.INFO: Processing buffer {"connection_id":132068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61fb8770012d7a21c005f5cec8000b00e92a..."} 
[2026-07-15 00:27:16] local.INFO: Packet analysis {"connection_id":132068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61fb"} 
[2026-07-15 00:27:16] local.INFO: Extracted packet for processing {"connection_id":132068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61fb"} 
[2026-07-15 00:27:16] local.INFO: GPS Element Parsed {"raw_longitude":762978752,"raw_latitude":99995336,"longitude_deg":76.2978752,"latitude_deg":9.9995336,"altitude":11,"angle":233,"satellites":42,"speed":25,"hex_longitude":"2d7a21c0","hex_latitude":"05f5cec8","is_valid_coordinates":true} 
[2026-07-15 00:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135706754506817536,"note":"Value kept but may cause issues"} 
[2026-07-15 00:27:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,202,8,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 00:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784055302000,"timestamp_ms":1784055302000,"timestamp_seconds":1784055302,"priority":1,"record_length":96,"hex_timestamp":"0000019f61fb8770"} 
[2026-07-15 00:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:27:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 00:27:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:27:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132068,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132068,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28028,"202":206,"8":64768,"24":25,"16":135706754506817536},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,8,24,16]} 
[2026-07-15 00:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-15 00:27:16] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-07-15 00:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135706754506817536,"km_value":135706754506817.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:27:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28028,"mcc":206,"unknown_8":64768,"ignition":25,"odometer":null}} 
[2026-07-15 00:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":132068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488659,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:27:16] local.INFO: GPS data processed {"connection_id":132068,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:27:16] local.INFO: Acknowledgment sent {"connection_id":132068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:27:42] local.INFO: TCP Data received {"connection_id":131901,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f61fa7dd0012d7f92c005afd830000000502e..."} 
[2026-07-15 00:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61fa7dd0012d7f92c005afd830000000502e..."} 
[2026-07-15 00:27:42] local.INFO: Processing buffer {"connection_id":131901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61fa7dd0012d7f92c005afd830000000502e..."} 
[2026-07-15 00:27:42] local.INFO: Packet analysis {"connection_id":131901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61fa"} 
[2026-07-15 00:27:42] local.INFO: Extracted packet for processing {"connection_id":131901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61fa"} 
[2026-07-15 00:27:42] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718062848001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784055234000,"timestamp_ms":1784055234000,"timestamp_seconds":1784055234,"priority":1,"record_length":96,"hex_timestamp":"0000019f61fa7dd0"} 
[2026-07-15 00:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 00:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":131901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":131901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":131901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718062848001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718062848001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:27:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:27:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718062848001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":131901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:27:42] local.INFO: GPS data processed {"connection_id":131901,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:27:42] local.INFO: Acknowledgment sent {"connection_id":131901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:28:02] local.INFO: TCP Data received {"connection_id":134274,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:28:02] local.INFO: Processing buffer {"connection_id":134274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:28:02] local.INFO: IMEI packet received {"connection_id":134274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":134274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:28:08] local.INFO: TCP Data received {"connection_id":134274,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:28:08] local.INFO: Processing buffer {"connection_id":134274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:28:08] local.INFO: IMEI packet received {"connection_id":134274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":134274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:28:08] local.INFO: TCP Data received {"connection_id":134274,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f61fa7dd0012d7f92c005afd830000000502e..."} 
[2026-07-15 00:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61fa7dd0012d7f92c005afd830000000502e..."} 
[2026-07-15 00:28:09] local.INFO: Processing buffer {"connection_id":134274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61fa7dd0012d7f92c005afd830000000502e..."} 
[2026-07-15 00:28:09] local.INFO: Packet analysis {"connection_id":134274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61fa"} 
[2026-07-15 00:28:09] local.INFO: Extracted packet for processing {"connection_id":134274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61fa"} 
[2026-07-15 00:28:09] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718062848001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784055234000,"timestamp_ms":1784055234000,"timestamp_seconds":1784055234,"priority":1,"record_length":96,"hex_timestamp":"0000019f61fa7dd0"} 
[2026-07-15 00:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 00:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":134274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":134274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":134274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718062848001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718062848001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:28:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:28:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718062848001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":134274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:28:09] local.INFO: GPS data processed {"connection_id":134274,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:28:09] local.INFO: Acknowledgment sent {"connection_id":134274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:28:40] local.INFO: TCP Data received {"connection_id":134274,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f61fa7dd0012d7f92c005afd830000000502e..."} 
[2026-07-15 00:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61fa7dd0012d7f92c005afd830000000502e..."} 
[2026-07-15 00:28:40] local.INFO: Processing buffer {"connection_id":134274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61fa7dd0012d7f92c005afd830000000502e..."} 
[2026-07-15 00:28:40] local.INFO: Packet analysis {"connection_id":134274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61fa"} 
[2026-07-15 00:28:40] local.INFO: Extracted packet for processing {"connection_id":134274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61fa"} 
[2026-07-15 00:28:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718062848001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784055234000,"timestamp_ms":1784055234000,"timestamp_seconds":1784055234,"priority":1,"record_length":96,"hex_timestamp":"0000019f61fa7dd0"} 
[2026-07-15 00:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 00:28:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:28:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":134274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":134274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":134274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718062848001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718062848001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:28:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:28:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718062848001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":134274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:28:40] local.INFO: GPS data processed {"connection_id":134274,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:28:40] local.INFO: Acknowledgment sent {"connection_id":134274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:29:02] local.INFO: TCP Data received {"connection_id":132069,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:29:02] local.INFO: Processing buffer {"connection_id":132069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:29:02] local.INFO: IMEI packet received {"connection_id":132069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":132069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:29:03] local.INFO: TCP Data received {"connection_id":131902,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131902,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:29:03] local.INFO: Processing buffer {"connection_id":131902,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:29:03] local.INFO: IMEI packet received {"connection_id":131902,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 00:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":131902,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:29:03] local.INFO: TCP Data received {"connection_id":131902,"ip":"117.224.100.59","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-15 00:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131902,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-15 00:29:03] local.INFO: Processing buffer {"connection_id":131902,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-15 00:29:03] local.INFO: IMEI packet received {"connection_id":131902,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 00:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":131902,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:29:06] local.INFO: TCP Data received {"connection_id":131902,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131902,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:29:06] local.INFO: Processing buffer {"connection_id":131902,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-15 00:29:06] local.INFO: IMEI packet received {"connection_id":131902,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 00:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":131902,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:29:07] local.INFO: TCP Data received {"connection_id":131902,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f61fbd978012d79ee8005f5a380000f00e32a..."} 
[2026-07-15 00:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61fbd978012d79ee8005f5a380000f00e32a..."} 
[2026-07-15 00:29:07] local.INFO: Processing buffer {"connection_id":131902,"buffer_length":812,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a0000019f61..."} 
[2026-07-15 00:29:07] local.INFO: IMEI packet received {"connection_id":131902,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 00:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":131902,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:29:08] local.INFO: TCP Data received {"connection_id":132069,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:29:08] local.INFO: Processing buffer {"connection_id":132069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:29:08] local.INFO: IMEI packet received {"connection_id":132069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":132069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:29:08] local.INFO: TCP Data received {"connection_id":131902,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f61fc2b80012d79b50005f57448000e00e729..."} 
[2026-07-15 00:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61fc2b80012d79b50005f57448000e00e729..."} 
[2026-07-15 00:29:08] local.INFO: Processing buffer {"connection_id":131902,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f61fbd978012d79ee8005f5a380000f00e32a..."} 
[2026-07-15 00:29:08] local.INFO: Packet analysis {"connection_id":131902,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f61fb"} 
[2026-07-15 00:29:08] local.INFO: Extracted packet for processing {"connection_id":131902,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61fb"} 
[2026-07-15 00:29:08] local.INFO: GPS Element Parsed {"raw_longitude":762965632,"raw_latitude":99984256,"longitude_deg":76.2965632,"latitude_deg":9.9984256,"altitude":15,"angle":227,"satellites":42,"speed":38,"hex_longitude":"2d79ee80","hex_latitude":"05f5a380","is_valid_coordinates":true} 
[2026-07-15 00:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718157312001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135706754506817536,"note":"Value kept but may cause issues"} 
[2026-07-15 00:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800526278689998848,"note":"Value kept but may cause issues"} 
[2026-07-15 00:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784055323000,"timestamp_ms":1784055323000,"timestamp_seconds":1784055323,"priority":1,"record_length":96,"hex_timestamp":"0000019f61fbd978"} 
[2026-07-15 00:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-15 00:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":131902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":131902,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":131902,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718157312001,"66":28104,"204":206,"8":64768,"24":38,"16":135706754506817536,"45":8800526278689998848},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,8,24,16,45]} 
[2026-07-15 00:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718157312001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:29:08] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-07-15 00:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135706754506817536,"km_value":135706754506817.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800526278689998848,"description":"Unknown IO ID 45"} 
[2026-07-15 00:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718157312001,"power":28104,"lac":206,"unknown_8":64768,"ignition":38,"odometer":null,"unknown_45":8800526278689998848}} 
[2026-07-15 00:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":131902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488663,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:29:08] local.INFO: GPS data processed {"connection_id":131902,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:29:08] local.INFO: Acknowledgment sent {"connection_id":131902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:29:08] local.INFO: Packet analysis {"connection_id":131902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61fc"} 
[2026-07-15 00:29:08] local.INFO: Extracted packet for processing {"connection_id":131902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61fc"} 
[2026-07-15 00:29:08] local.INFO: GPS Element Parsed {"raw_longitude":762950912,"raw_latitude":99972168,"longitude_deg":76.2950912,"latitude_deg":9.9972168,"altitude":14,"angle":231,"satellites":41,"speed":0,"hex_longitude":"2d79b500","hex_latitude":"05f57448","is_valid_coordinates":true} 
[2026-07-15 00:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718162688001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135706754506817536,"note":"Value kept but may cause issues"} 
[2026-07-15 00:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8786100686130741248,"note":"Value kept but may cause issues"} 
[2026-07-15 00:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784055344000,"timestamp_ms":1784055344000,"timestamp_seconds":1784055344,"priority":1,"record_length":96,"hex_timestamp":"0000019f61fc2b80"} 
[2026-07-15 00:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-15 00:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":131902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":131902,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":131902,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718162688001,"66":27626,"204":206,"8":64768,"24":0,"16":135706754506817536,"45":8786100686130741248},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,8,24,16,45]} 
[2026-07-15 00:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718162688001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:29:08] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-07-15 00:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135706754506817536,"km_value":135706754506817.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8786100686130741248,"description":"Unknown IO ID 45"} 
[2026-07-15 00:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718162688001,"power":27626,"lac":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8786100686130741248}} 
[2026-07-15 00:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":131902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488664,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:29:08] local.INFO: GPS data processed {"connection_id":131902,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:29:08] local.INFO: Acknowledgment sent {"connection_id":131902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:29:08] local.INFO: TCP Data received {"connection_id":132069,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f61fa7dd0012d7f92c005afd830000000502e..."} 
[2026-07-15 00:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61fa7dd0012d7f92c005afd830000000502e..."} 
[2026-07-15 00:29:08] local.INFO: Processing buffer {"connection_id":132069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61fa7dd0012d7f92c005afd830000000502e..."} 
[2026-07-15 00:29:08] local.INFO: Packet analysis {"connection_id":132069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61fa"} 
[2026-07-15 00:29:08] local.INFO: Extracted packet for processing {"connection_id":132069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61fa"} 
[2026-07-15 00:29:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718062848001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784055234000,"timestamp_ms":1784055234000,"timestamp_seconds":1784055234,"priority":1,"record_length":96,"hex_timestamp":"0000019f61fa7dd0"} 
[2026-07-15 00:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 00:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718062848001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718062848001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:29:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:29:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718062848001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":132069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:29:09] local.INFO: GPS data processed {"connection_id":132069,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:29:09] local.INFO: Acknowledgment sent {"connection_id":132069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:29:40] local.INFO: TCP Data received {"connection_id":132069,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f61ff1598012d7f92c005afd830000000502c..."} 
[2026-07-15 00:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61ff1598012d7f92c005afd830000000502c..."} 
[2026-07-15 00:29:40] local.INFO: Processing buffer {"connection_id":132069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61ff1598012d7f92c005afd830000000502c..."} 
[2026-07-15 00:29:40] local.INFO: Packet analysis {"connection_id":132069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61ff"} 
[2026-07-15 00:29:40] local.INFO: Extracted packet for processing {"connection_id":132069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61ff"} 
[2026-07-15 00:29:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718139904001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784055535000,"timestamp_ms":1784055535000,"timestamp_seconds":1784055535,"priority":1,"record_length":96,"hex_timestamp":"0000019f61ff1598"} 
[2026-07-15 00:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:29:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:29:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:29:40] 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-07-15 00:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718139904001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718139904001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:29:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:29:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718139904001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":132069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:29:40] local.INFO: GPS data processed {"connection_id":132069,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:29:40] local.INFO: Acknowledgment sent {"connection_id":132069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:29:41] local.INFO: TCP Data received {"connection_id":134275,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134275,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:29:41] local.INFO: Processing buffer {"connection_id":134275,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:29:41] local.INFO: IMEI packet received {"connection_id":134275,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 00:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":134275,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:29:55] local.INFO: TCP Data received {"connection_id":134275,"ip":"117.224.100.59","data_length":51,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-15 00:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134275,"packet_length":51,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-15 00:29:55] local.INFO: Processing buffer {"connection_id":134275,"buffer_length":51,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-15 00:29:55] local.INFO: IMEI packet received {"connection_id":134275,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 00:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":134275,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:30:08] local.INFO: TCP Data received {"connection_id":132901,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:30:08] local.INFO: Processing buffer {"connection_id":132901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:30:08] local.INFO: IMEI packet received {"connection_id":132901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":132901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:30:13] local.INFO: TCP Data received {"connection_id":132901,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:30:13] local.INFO: Processing buffer {"connection_id":132901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:30:13] local.INFO: IMEI packet received {"connection_id":132901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":132901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:30:13] local.INFO: TCP Data received {"connection_id":132901,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f61ff1598012d7f92c005afd830000000502c..."} 
[2026-07-15 00:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61ff1598012d7f92c005afd830000000502c..."} 
[2026-07-15 00:30:13] local.INFO: Processing buffer {"connection_id":132901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61ff1598012d7f92c005afd830000000502c..."} 
[2026-07-15 00:30:13] local.INFO: Packet analysis {"connection_id":132901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61ff"} 
[2026-07-15 00:30:13] local.INFO: Extracted packet for processing {"connection_id":132901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61ff"} 
[2026-07-15 00:30:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718139904001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784055535000,"timestamp_ms":1784055535000,"timestamp_seconds":1784055535,"priority":1,"record_length":96,"hex_timestamp":"0000019f61ff1598"} 
[2026-07-15 00:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:30:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:30:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:30:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718139904001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718139904001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:30:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:30:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718139904001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":132901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:30:13] local.INFO: GPS data processed {"connection_id":132901,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:30:13] local.INFO: Acknowledgment sent {"connection_id":132901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:30:45] local.INFO: TCP Data received {"connection_id":132901,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f61ff1598012d7f92c005afd830000000502c..."} 
[2026-07-15 00:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61ff1598012d7f92c005afd830000000502c..."} 
[2026-07-15 00:30:45] local.INFO: Processing buffer {"connection_id":132901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61ff1598012d7f92c005afd830000000502c..."} 
[2026-07-15 00:30:45] local.INFO: Packet analysis {"connection_id":132901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61ff"} 
[2026-07-15 00:30:45] local.INFO: Extracted packet for processing {"connection_id":132901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61ff"} 
[2026-07-15 00:30:45] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718139904001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:30:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:30:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784055535000,"timestamp_ms":1784055535000,"timestamp_seconds":1784055535,"priority":1,"record_length":96,"hex_timestamp":"0000019f61ff1598"} 
[2026-07-15 00:30:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:30:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:30:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:30:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:30:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":132901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":132901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":132901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:30:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718139904001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718139904001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:30:45] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:30:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:30:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718139904001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":132901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:30:45] local.INFO: GPS data processed {"connection_id":132901,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:30:45] local.INFO: Acknowledgment sent {"connection_id":132901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:31:03] local.INFO: TCP Data received {"connection_id":134276,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:31:03] local.INFO: Processing buffer {"connection_id":134276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:31:03] local.INFO: IMEI packet received {"connection_id":134276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":134276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:31:08] local.INFO: TCP Data received {"connection_id":134276,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:31:08] local.INFO: Processing buffer {"connection_id":134276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:31:08] local.INFO: IMEI packet received {"connection_id":134276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":134276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:31:08] local.INFO: TCP Data received {"connection_id":134276,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f61ff1598012d7f92c005afd830000000502c..."} 
[2026-07-15 00:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61ff1598012d7f92c005afd830000000502c..."} 
[2026-07-15 00:31:08] local.INFO: Processing buffer {"connection_id":134276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61ff1598012d7f92c005afd830000000502c..."} 
[2026-07-15 00:31:08] local.INFO: Packet analysis {"connection_id":134276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61ff"} 
[2026-07-15 00:31:08] local.INFO: Extracted packet for processing {"connection_id":134276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61ff"} 
[2026-07-15 00:31:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718139904001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784055535000,"timestamp_ms":1784055535000,"timestamp_seconds":1784055535,"priority":1,"record_length":96,"hex_timestamp":"0000019f61ff1598"} 
[2026-07-15 00:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718139904001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718139904001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:31:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:31:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718139904001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":134276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:31:09] local.INFO: GPS data processed {"connection_id":134276,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:31:09] local.INFO: Acknowledgment sent {"connection_id":134276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:31:40] local.INFO: TCP Data received {"connection_id":134276,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f61ff1598012d7f92c005afd830000000502c..."} 
[2026-07-15 00:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61ff1598012d7f92c005afd830000000502c..."} 
[2026-07-15 00:31:40] local.INFO: Processing buffer {"connection_id":134276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61ff1598012d7f92c005afd830000000502c..."} 
[2026-07-15 00:31:40] local.INFO: Packet analysis {"connection_id":134276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61ff"} 
[2026-07-15 00:31:40] local.INFO: Extracted packet for processing {"connection_id":134276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61ff"} 
[2026-07-15 00:31:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718139904001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784055535000,"timestamp_ms":1784055535000,"timestamp_seconds":1784055535,"priority":1,"record_length":96,"hex_timestamp":"0000019f61ff1598"} 
[2026-07-15 00:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:31:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:31:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:31:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":134276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":134276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":134276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:31:40] 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-07-15 00:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718139904001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718139904001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:31:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:31:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718139904001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":134276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:31:40] local.INFO: GPS data processed {"connection_id":134276,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:31:40] local.INFO: Acknowledgment sent {"connection_id":134276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:32:03] local.INFO: TCP Data received {"connection_id":131903,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:32:03] local.INFO: Processing buffer {"connection_id":131903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:32:03] local.INFO: IMEI packet received {"connection_id":131903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":131903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:32:07] local.INFO: TCP Data received {"connection_id":131903,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:32:07] local.INFO: Processing buffer {"connection_id":131903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:32:07] local.INFO: IMEI packet received {"connection_id":131903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":131903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:32:13] local.INFO: TCP Data received {"connection_id":131903,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:32:13] local.INFO: Processing buffer {"connection_id":131903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:32:13] local.INFO: IMEI packet received {"connection_id":131903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":131903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:32:14] local.INFO: TCP Data received {"connection_id":131903,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f61ff1598012d7f92c005afd830000000502c..."} 
[2026-07-15 00:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61ff1598012d7f92c005afd830000000502c..."} 
[2026-07-15 00:32:14] local.INFO: Processing buffer {"connection_id":131903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61ff1598012d7f92c005afd830000000502c..."} 
[2026-07-15 00:32:14] local.INFO: Packet analysis {"connection_id":131903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61ff"} 
[2026-07-15 00:32:14] local.INFO: Extracted packet for processing {"connection_id":131903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61ff"} 
[2026-07-15 00:32:14] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718139904001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784055535000,"timestamp_ms":1784055535000,"timestamp_seconds":1784055535,"priority":1,"record_length":96,"hex_timestamp":"0000019f61ff1598"} 
[2026-07-15 00:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:32:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":131903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":131903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":131903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:32:14] 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-07-15 00:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718139904001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718139904001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:32:14] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:32:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718139904001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":131903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:32:14] local.INFO: GPS data processed {"connection_id":131903,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:32:14] local.INFO: Acknowledgment sent {"connection_id":131903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:32:45] local.INFO: TCP Data received {"connection_id":131903,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f61ff1598012d7f92c005afd830000000502c..."} 
[2026-07-15 00:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61ff1598012d7f92c005afd830000000502c..."} 
[2026-07-15 00:32:45] local.INFO: Processing buffer {"connection_id":131903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61ff1598012d7f92c005afd830000000502c..."} 
[2026-07-15 00:32:45] local.INFO: Packet analysis {"connection_id":131903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61ff"} 
[2026-07-15 00:32:45] local.INFO: Extracted packet for processing {"connection_id":131903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61ff"} 
[2026-07-15 00:32:45] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718139904001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784055535000,"timestamp_ms":1784055535000,"timestamp_seconds":1784055535,"priority":1,"record_length":96,"hex_timestamp":"0000019f61ff1598"} 
[2026-07-15 00:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:32:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718139904001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718139904001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:32:45] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:32:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718139904001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":131903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:32:45] local.INFO: GPS data processed {"connection_id":131903,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:32:45] local.INFO: Acknowledgment sent {"connection_id":131903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:33:02] local.INFO: TCP Data received {"connection_id":131904,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:33:02] local.INFO: Processing buffer {"connection_id":131904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:33:02] local.INFO: IMEI packet received {"connection_id":131904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":131904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:33:08] local.INFO: TCP Data received {"connection_id":131904,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:33:08] local.INFO: Processing buffer {"connection_id":131904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:33:08] local.INFO: IMEI packet received {"connection_id":131904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":131904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:33:09] local.INFO: TCP Data received {"connection_id":131904,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f61ff1598012d7f92c005afd830000000502c..."} 
[2026-07-15 00:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61ff1598012d7f92c005afd830000000502c..."} 
[2026-07-15 00:33:09] local.INFO: Processing buffer {"connection_id":131904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61ff1598012d7f92c005afd830000000502c..."} 
[2026-07-15 00:33:09] local.INFO: Packet analysis {"connection_id":131904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61ff"} 
[2026-07-15 00:33:09] local.INFO: Extracted packet for processing {"connection_id":131904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61ff"} 
[2026-07-15 00:33:09] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00: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-07-15 00:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718139904001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784055535000,"timestamp_ms":1784055535000,"timestamp_seconds":1784055535,"priority":1,"record_length":96,"hex_timestamp":"0000019f61ff1598"} 
[2026-07-15 00:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:33:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":131904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":131904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":131904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:33:09] 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-07-15 00:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718139904001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718139904001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:33:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:33:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718139904001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":131904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:33:09] local.INFO: GPS data processed {"connection_id":131904,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:33:09] local.INFO: Acknowledgment sent {"connection_id":131904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:33:42] local.INFO: TCP Data received {"connection_id":131904,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f61ff1598012d7f92c005afd830000000502c..."} 
[2026-07-15 00:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61ff1598012d7f92c005afd830000000502c..."} 
[2026-07-15 00:33:42] local.INFO: Processing buffer {"connection_id":131904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61ff1598012d7f92c005afd830000000502c..."} 
[2026-07-15 00:33:42] local.INFO: Packet analysis {"connection_id":131904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61ff"} 
[2026-07-15 00:33:42] local.INFO: Extracted packet for processing {"connection_id":131904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61ff"} 
[2026-07-15 00:33:42] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00: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-07-15 00:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718139904001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784055535000,"timestamp_ms":1784055535000,"timestamp_seconds":1784055535,"priority":1,"record_length":96,"hex_timestamp":"0000019f61ff1598"} 
[2026-07-15 00:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:33:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00: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-07-15 00:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":131904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":131904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":131904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718139904001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718139904001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:33:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:33:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718139904001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":131904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:33:42] local.INFO: GPS data processed {"connection_id":131904,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:33:42] local.INFO: Acknowledgment sent {"connection_id":131904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:34:05] local.INFO: TCP Data received {"connection_id":132904,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:34:05] local.INFO: Processing buffer {"connection_id":132904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:34:05] local.INFO: IMEI packet received {"connection_id":132904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":132904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:34:08] local.INFO: TCP Data received {"connection_id":132904,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:34:08] local.INFO: Processing buffer {"connection_id":132904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:34:08] local.INFO: IMEI packet received {"connection_id":132904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":132904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:34:08] local.INFO: TCP Data received {"connection_id":132904,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f61ff1598012d7f92c005afd830000000502c..."} 
[2026-07-15 00:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f61ff1598012d7f92c005afd830000000502c..."} 
[2026-07-15 00:34:08] local.INFO: Processing buffer {"connection_id":132904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f61ff1598012d7f92c005afd830000000502c..."} 
[2026-07-15 00:34:08] local.INFO: Packet analysis {"connection_id":132904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f61ff"} 
[2026-07-15 00:34:08] local.INFO: Extracted packet for processing {"connection_id":132904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f61ff"} 
[2026-07-15 00:34:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718139904001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784055535000,"timestamp_ms":1784055535000,"timestamp_seconds":1784055535,"priority":1,"record_length":96,"hex_timestamp":"0000019f61ff1598"} 
[2026-07-15 00:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:34:08] 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-07-15 00:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718139904001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718139904001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:34:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:34:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718139904001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":132904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:34:08] local.INFO: GPS data processed {"connection_id":132904,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:34:08] local.INFO: Acknowledgment sent {"connection_id":132904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:34:41] local.INFO: TCP Data received {"connection_id":132904,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f6203ad60012d7f92c005afd8300000005026..."} 
[2026-07-15 00:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6203ad60012d7f92c005afd8300000005026..."} 
[2026-07-15 00:34:41] local.INFO: Processing buffer {"connection_id":132904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6203ad60012d7f92c005afd8300000005026..."} 
[2026-07-15 00:34:41] local.INFO: Packet analysis {"connection_id":132904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6203"} 
[2026-07-15 00:34:41] local.INFO: Extracted packet for processing {"connection_id":132904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6203"} 
[2026-07-15 00:34:41] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718216960001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784055836000,"timestamp_ms":1784055836000,"timestamp_seconds":1784055836,"priority":1,"record_length":96,"hex_timestamp":"0000019f6203ad60"} 
[2026-07-15 00:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:34:41] 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-07-15 00:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718216960001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718216960001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:34:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:34:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718216960001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":132904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:34:41] local.INFO: GPS data processed {"connection_id":132904,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:34:41] local.INFO: Acknowledgment sent {"connection_id":132904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:35:04] local.INFO: TCP Data received {"connection_id":132905,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132905,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:35:04] local.INFO: Processing buffer {"connection_id":132905,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:35:04] local.INFO: IMEI packet received {"connection_id":132905,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 00:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":132905,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:35:08] local.INFO: TCP Data received {"connection_id":134278,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:35:08] local.INFO: Processing buffer {"connection_id":134278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:35:08] local.INFO: IMEI packet received {"connection_id":134278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":134278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:35:13] local.INFO: TCP Data received {"connection_id":134278,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:35:13] local.INFO: Processing buffer {"connection_id":134278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:35:13] local.INFO: IMEI packet received {"connection_id":134278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":134278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:35:13] local.INFO: TCP Data received {"connection_id":134278,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f6203ad60012d7f92c005afd8300000005026..."} 
[2026-07-15 00:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6203ad60012d7f92c005afd8300000005026..."} 
[2026-07-15 00:35:13] local.INFO: Processing buffer {"connection_id":134278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6203ad60012d7f92c005afd8300000005026..."} 
[2026-07-15 00:35:13] local.INFO: Packet analysis {"connection_id":134278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6203"} 
[2026-07-15 00:35:13] local.INFO: Extracted packet for processing {"connection_id":134278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6203"} 
[2026-07-15 00:35:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718216960001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784055836000,"timestamp_ms":1784055836000,"timestamp_seconds":1784055836,"priority":1,"record_length":96,"hex_timestamp":"0000019f6203ad60"} 
[2026-07-15 00:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:35:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:35:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:35:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":134278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":134278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":134278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718216960001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718216960001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:35:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:35:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718216960001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":134278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:35:13] local.INFO: GPS data processed {"connection_id":134278,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:35:13] local.INFO: Acknowledgment sent {"connection_id":134278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:35:36] local.INFO: TCP Data received {"connection_id":132906,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132906,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:35:36] local.INFO: Processing buffer {"connection_id":132906,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:35:36] local.INFO: IMEI packet received {"connection_id":132906,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 00:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":132906,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:35:41] local.INFO: TCP Data received {"connection_id":132906,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132906,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:35:41] local.INFO: Processing buffer {"connection_id":132906,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:35:41] local.INFO: IMEI packet received {"connection_id":132906,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 00:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":132906,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:35:42] local.INFO: TCP Data received {"connection_id":132906,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6203c4d0012d75a94005f4bd60000800f927..."} 
[2026-07-15 00:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6203c4d0012d75a94005f4bd60000800f927..."} 
[2026-07-15 00:35:42] local.INFO: Processing buffer {"connection_id":132906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6203c4d0012d75a94005f4bd60000800f927..."} 
[2026-07-15 00:35:42] local.INFO: Packet analysis {"connection_id":132906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6203"} 
[2026-07-15 00:35:42] local.INFO: Extracted packet for processing {"connection_id":132906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6203"} 
[2026-07-15 00:35:42] local.INFO: GPS Element Parsed {"raw_longitude":762685760,"raw_latitude":99925344,"longitude_deg":76.268576,"latitude_deg":9.9925344,"altitude":8,"angle":249,"satellites":39,"speed":26,"hex_longitude":"2d75a940","hex_latitude":"05f4bd60","is_valid_coordinates":true} 
[2026-07-15 00:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135708167551057920,"note":"Value kept but may cause issues"} 
[2026-07-15 00:35:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,148,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 00:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784055842000,"timestamp_ms":1784055842000,"timestamp_seconds":1784055842,"priority":1,"record_length":96,"hex_timestamp":"0000019f6203c4d0"} 
[2026-07-15 00:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:35:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-15 00:35:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:35:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132906,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132906,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28050,"148":206,"9":24832,"24":26,"16":135708167551057920},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,9,24,16]} 
[2026-07-15 00:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-15 00:35:42] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-07-15 00:35:42] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 00:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135708167551057920,"km_value":135708167551057.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:35:42] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28050,"unknown_148":206,"unknown_9":24832,"ignition":26,"odometer":null}} 
[2026-07-15 00:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":132906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488678,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:35:42] local.INFO: GPS data processed {"connection_id":132906,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:35:42] local.INFO: Acknowledgment sent {"connection_id":132906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:35:45] local.INFO: TCP Data received {"connection_id":134278,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f6203ad60012d7f92c005afd8300000005026..."} 
[2026-07-15 00:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6203ad60012d7f92c005afd8300000005026..."} 
[2026-07-15 00:35:45] local.INFO: Processing buffer {"connection_id":134278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6203ad60012d7f92c005afd8300000005026..."} 
[2026-07-15 00:35:45] local.INFO: Packet analysis {"connection_id":134278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6203"} 
[2026-07-15 00:35:45] local.INFO: Extracted packet for processing {"connection_id":134278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6203"} 
[2026-07-15 00:35:45] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718216960001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:35:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:35:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784055836000,"timestamp_ms":1784055836000,"timestamp_seconds":1784055836,"priority":1,"record_length":96,"hex_timestamp":"0000019f6203ad60"} 
[2026-07-15 00:35:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:35:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:35:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:35:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:35:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":134278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":134278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":134278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718216960001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718216960001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:35:45] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:35:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:35:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718216960001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":134278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:35:45] local.INFO: GPS data processed {"connection_id":134278,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:35:45] local.INFO: Acknowledgment sent {"connection_id":134278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:36:03] local.INFO: TCP Data received {"connection_id":134279,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:36:03] local.INFO: Processing buffer {"connection_id":134279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:36:03] local.INFO: IMEI packet received {"connection_id":134279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":134279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:36:08] local.INFO: TCP Data received {"connection_id":134279,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:36:08] local.INFO: Processing buffer {"connection_id":134279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:36:08] local.INFO: IMEI packet received {"connection_id":134279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":134279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:36:08] local.INFO: TCP Data received {"connection_id":134279,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f6203ad60012d7f92c005afd8300000005026..."} 
[2026-07-15 00:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6203ad60012d7f92c005afd8300000005026..."} 
[2026-07-15 00:36:08] local.INFO: Processing buffer {"connection_id":134279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6203ad60012d7f92c005afd8300000005026..."} 
[2026-07-15 00:36:08] local.INFO: Packet analysis {"connection_id":134279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6203"} 
[2026-07-15 00:36:08] local.INFO: Extracted packet for processing {"connection_id":134279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6203"} 
[2026-07-15 00:36:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718216960001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784055836000,"timestamp_ms":1784055836000,"timestamp_seconds":1784055836,"priority":1,"record_length":96,"hex_timestamp":"0000019f6203ad60"} 
[2026-07-15 00:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718216960001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718216960001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:36:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:36:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718216960001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":134279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:36:08] local.INFO: GPS data processed {"connection_id":134279,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:36:08] local.INFO: Acknowledgment sent {"connection_id":134279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:36:15] local.INFO: TCP Data received {"connection_id":132906,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6204a7600100000000000000000000000000..."} 
[2026-07-15 00:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6204a7600100000000000000000000000000..."} 
[2026-07-15 00:36:15] local.INFO: Processing buffer {"connection_id":132906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6204a7600100000000000000000000000000..."} 
[2026-07-15 00:36:15] local.INFO: Packet analysis {"connection_id":132906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6204"} 
[2026-07-15 00:36:15] local.INFO: Extracted packet for processing {"connection_id":132906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6204"} 
[2026-07-15 00:36:15] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-15 00:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718295552001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135708167551057920,"note":"Value kept but may cause issues"} 
[2026-07-15 00:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8478378167826735104,"note":"Value kept but may cause issues"} 
[2026-07-15 00:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784055900000,"timestamp_ms":1784055900000,"timestamp_seconds":1784055900,"priority":1,"record_length":96,"hex_timestamp":"0000019f6204a760"} 
[2026-07-15 00:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-15 00:36:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":132906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":132906,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":132906,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":132906,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 00:36:15] local.INFO: GPS data processed {"connection_id":132906,"processed":0,"errors":0,"total":1} 
[2026-07-15 00:36:15] local.INFO: Acknowledgment sent {"connection_id":132906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:36:40] local.INFO: TCP Data received {"connection_id":134279,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f6203ad60012d7f92c005afd8300000005026..."} 
[2026-07-15 00:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6203ad60012d7f92c005afd8300000005026..."} 
[2026-07-15 00:36:40] local.INFO: Processing buffer {"connection_id":134279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6203ad60012d7f92c005afd8300000005026..."} 
[2026-07-15 00:36:40] local.INFO: Packet analysis {"connection_id":134279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6203"} 
[2026-07-15 00:36:40] local.INFO: Extracted packet for processing {"connection_id":134279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6203"} 
[2026-07-15 00:36:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718216960001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784055836000,"timestamp_ms":1784055836000,"timestamp_seconds":1784055836,"priority":1,"record_length":96,"hex_timestamp":"0000019f6203ad60"} 
[2026-07-15 00:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:36:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:36:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":134279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":134279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":134279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:36:40] 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-07-15 00:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718216960001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718216960001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:36:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:36:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718216960001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":134279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:36:40] local.INFO: GPS data processed {"connection_id":134279,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:36:40] local.INFO: Acknowledgment sent {"connection_id":134279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:37:05] local.INFO: TCP Data received {"connection_id":131905,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:37:05] local.INFO: Processing buffer {"connection_id":131905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:37:05] local.INFO: IMEI packet received {"connection_id":131905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":131905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:37:09] local.INFO: TCP Data received {"connection_id":131905,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:37:09] local.INFO: Processing buffer {"connection_id":131905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:37:09] local.INFO: IMEI packet received {"connection_id":131905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":131905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:37:10] local.INFO: TCP Data received {"connection_id":131905,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6203ad60012d7f92c005afd8300000005026..."} 
[2026-07-15 00:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6203ad60012d7f92c005afd8300000005026..."} 
[2026-07-15 00:37:10] local.INFO: Processing buffer {"connection_id":131905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6203ad60012d7f92c005afd8300000005026..."} 
[2026-07-15 00:37:10] local.INFO: Packet analysis {"connection_id":131905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6203"} 
[2026-07-15 00:37:10] local.INFO: Extracted packet for processing {"connection_id":131905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6203"} 
[2026-07-15 00:37:10] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:37: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-07-15 00:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718216960001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784055836000,"timestamp_ms":1784055836000,"timestamp_seconds":1784055836,"priority":1,"record_length":96,"hex_timestamp":"0000019f6203ad60"} 
[2026-07-15 00:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:37: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-07-15 00:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":131905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":131905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":131905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718216960001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718216960001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:37:10] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:37:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718216960001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":131905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:37:10] local.INFO: GPS data processed {"connection_id":131905,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:37:10] local.INFO: Acknowledgment sent {"connection_id":131905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:37:15] local.INFO: TCP Data received {"connection_id":131905,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6203ad60012d7f92c005afd8300000005026..."} 
[2026-07-15 00:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6203ad60012d7f92c005afd8300000005026..."} 
[2026-07-15 00:37:15] local.INFO: Processing buffer {"connection_id":131905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6203ad60012d7f92c005afd8300000005026..."} 
[2026-07-15 00:37:15] local.INFO: Packet analysis {"connection_id":131905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6203"} 
[2026-07-15 00:37:15] local.INFO: Extracted packet for processing {"connection_id":131905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6203"} 
[2026-07-15 00:37:15] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718216960001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:37:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784055836000,"timestamp_ms":1784055836000,"timestamp_seconds":1784055836,"priority":1,"record_length":96,"hex_timestamp":"0000019f6203ad60"} 
[2026-07-15 00:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:37:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:37:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:37:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":131905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":131905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":131905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:37:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718216960001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718216960001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:37:15] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:37:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718216960001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":131905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:37:15] local.INFO: GPS data processed {"connection_id":131905,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:37:15] local.INFO: Acknowledgment sent {"connection_id":131905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:37:16] local.INFO: TCP Data received {"connection_id":134280,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134280,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:37:16] local.INFO: Processing buffer {"connection_id":134280,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:37:16] local.INFO: IMEI packet received {"connection_id":134280,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 00:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":134280,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:37:41] local.INFO: TCP Data received {"connection_id":132907,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132907,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:37:41] local.INFO: Processing buffer {"connection_id":132907,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:37:41] local.INFO: IMEI packet received {"connection_id":132907,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 00:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":132907,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:37:46] local.INFO: TCP Data received {"connection_id":132907,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132907,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:37:46] local.INFO: Processing buffer {"connection_id":132907,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:37:46] local.INFO: IMEI packet received {"connection_id":132907,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 00:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":132907,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:37:48] local.INFO: TCP Data received {"connection_id":132907,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62041ac0012d75694005f4a510000a00f82c..."} 
[2026-07-15 00:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62041ac0012d75694005f4a510000a00f82c..."} 
[2026-07-15 00:37:48] local.INFO: Processing buffer {"connection_id":132907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62041ac0012d75694005f4a510000a00f82c..."} 
[2026-07-15 00:37:48] local.INFO: Packet analysis {"connection_id":132907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6204"} 
[2026-07-15 00:37:48] local.INFO: Extracted packet for processing {"connection_id":132907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6204"} 
[2026-07-15 00:37:48] local.INFO: GPS Element Parsed {"raw_longitude":762669376,"raw_latitude":99919120,"longitude_deg":76.2669376,"latitude_deg":9.991912,"altitude":10,"angle":248,"satellites":44,"speed":39,"hex_longitude":"2d756940","hex_latitude":"05f4a510","is_valid_coordinates":true} 
[2026-07-15 00: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-07-15 00:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135708167551057920,"note":"Value kept but may cause issues"} 
[2026-07-15 00:37:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,77,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 00:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784055864000,"timestamp_ms":1784055864000,"timestamp_seconds":1784055864,"priority":1,"record_length":96,"hex_timestamp":"0000019f62041ac0"} 
[2026-07-15 00:37:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:37:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-15 00:37:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00: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-07-15 00:37:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":132907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":132907,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":132907,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:37:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27952,"77":206,"9":24832,"24":39,"16":135708167551057920},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,9,24,16]} 
[2026-07-15 00:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-15 00:37:48] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-07-15 00:37:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 00:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135708167551057920,"km_value":135708167551057.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:37:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27952,"unknown_77":206,"unknown_9":24832,"ignition":39,"odometer":null}} 
[2026-07-15 00:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":132907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488684,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:37:48] local.INFO: GPS data processed {"connection_id":132907,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:37:48] local.INFO: Acknowledgment sent {"connection_id":132907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:37:49] local.INFO: TCP Data received {"connection_id":131905,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6203ad60012d7f92c005afd8300000005026..."} 
[2026-07-15 00:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6203ad60012d7f92c005afd8300000005026..."} 
[2026-07-15 00:37:49] local.INFO: Processing buffer {"connection_id":131905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6203ad60012d7f92c005afd8300000005026..."} 
[2026-07-15 00:37:49] local.INFO: Packet analysis {"connection_id":131905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6203"} 
[2026-07-15 00:37:49] local.INFO: Extracted packet for processing {"connection_id":131905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6203"} 
[2026-07-15 00:37:49] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00: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-07-15 00:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718216960001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1784055836000,"timestamp_ms":1784055836000,"timestamp_seconds":1784055836,"priority":1,"record_length":96,"hex_timestamp":"0000019f6203ad60"} 
[2026-07-15 00:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:37:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00: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-07-15 00:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":131905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":131905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":131905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:37: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-07-15 00:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718216960001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718216960001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:37:49] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:37:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718216960001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":131905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:37:49] local.INFO: GPS data processed {"connection_id":131905,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:37:49] local.INFO: Acknowledgment sent {"connection_id":131905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:38:02] local.INFO: TCP Data received {"connection_id":132908,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:38:02] local.INFO: Processing buffer {"connection_id":132908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:38:02] local.INFO: IMEI packet received {"connection_id":132908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":132908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:38:08] local.INFO: TCP Data received {"connection_id":132908,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:38:08] local.INFO: Processing buffer {"connection_id":132908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:38:08] local.INFO: IMEI packet received {"connection_id":132908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":132908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:38:08] local.INFO: TCP Data received {"connection_id":132908,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f6203ad60012d7f92c005afd8300000005026..."} 
[2026-07-15 00:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6203ad60012d7f92c005afd8300000005026..."} 
[2026-07-15 00:38:08] local.INFO: Processing buffer {"connection_id":132908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6203ad60012d7f92c005afd8300000005026..."} 
[2026-07-15 00:38:08] local.INFO: Packet analysis {"connection_id":132908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6203"} 
[2026-07-15 00:38:08] local.INFO: Extracted packet for processing {"connection_id":132908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6203"} 
[2026-07-15 00:38:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718216960001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784055836000,"timestamp_ms":1784055836000,"timestamp_seconds":1784055836,"priority":1,"record_length":96,"hex_timestamp":"0000019f6203ad60"} 
[2026-07-15 00:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718216960001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718216960001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:38:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:38:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718216960001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":132908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:38:08] local.INFO: GPS data processed {"connection_id":132908,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:38:08] local.INFO: Acknowledgment sent {"connection_id":132908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:38:26] local.INFO: TCP Data received {"connection_id":132907,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62046cc8012d752f8005f48f30000300f92a..."} 
[2026-07-15 00:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62046cc8012d752f8005f48f30000300f92a..."} 
[2026-07-15 00:38:26] local.INFO: Processing buffer {"connection_id":132907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62046cc8012d752f8005f48f30000300f92a..."} 
[2026-07-15 00:38:26] local.INFO: Packet analysis {"connection_id":132907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6204"} 
[2026-07-15 00:38:26] local.INFO: Extracted packet for processing {"connection_id":132907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6204"} 
[2026-07-15 00:38:26] local.INFO: GPS Element Parsed {"raw_longitude":762654592,"raw_latitude":99913520,"longitude_deg":76.2654592,"latitude_deg":9.991352,"altitude":3,"angle":249,"satellites":42,"speed":0,"hex_longitude":"2d752f80","hex_latitude":"05f48f30","is_valid_coordinates":true} 
[2026-07-15 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-07-15 00:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718301184001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135708167551057920,"note":"Value kept but may cause issues"} 
[2026-07-15 00:38:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8460363769315659776,"note":"Value kept but may cause issues"} 
[2026-07-15 00:38:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784055885000,"timestamp_ms":1784055885000,"timestamp_seconds":1784055885,"priority":1,"record_length":96,"hex_timestamp":"0000019f62046cc8"} 
[2026-07-15 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-07-15 00:38:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-15 00:38:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 00:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":132907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":132907,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":132907,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:38:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718301184001,"66":27843,"77":206,"9":24832,"24":0,"16":135708167551057920,"45":8460363769315659776},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,9,24,16,45]} 
[2026-07-15 00:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718301184001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:38:26] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-07-15 00:38:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 00:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135708167551057920,"km_value":135708167551057.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:38:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8460363769315659776,"description":"Unknown IO ID 45"} 
[2026-07-15 00:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718301184001,"power":27843,"unknown_77":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8460363769315659776}} 
[2026-07-15 00:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":132907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488687,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:38:26] local.INFO: GPS data processed {"connection_id":132907,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:38:26] local.INFO: Acknowledgment sent {"connection_id":132907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:38:40] local.INFO: TCP Data received {"connection_id":132908,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f6203ad60012d7f92c005afd8300000005026..."} 
[2026-07-15 00:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6203ad60012d7f92c005afd8300000005026..."} 
[2026-07-15 00:38:40] local.INFO: Processing buffer {"connection_id":132908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6203ad60012d7f92c005afd8300000005026..."} 
[2026-07-15 00:38:40] local.INFO: Packet analysis {"connection_id":132908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6203"} 
[2026-07-15 00:38:40] local.INFO: Extracted packet for processing {"connection_id":132908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6203"} 
[2026-07-15 00:38:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:38:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718216960001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:38:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:38:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:38:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:38:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784055836000,"timestamp_ms":1784055836000,"timestamp_seconds":1784055836,"priority":1,"record_length":96,"hex_timestamp":"0000019f6203ad60"} 
[2026-07-15 00:38:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:38:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:38:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:38:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:38:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:38:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:38:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:38:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:38:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:38:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:38:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:38:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:38:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:38:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718216960001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:38:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:38:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:38:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718216960001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:38:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:38:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:38:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:38:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:38:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718216960001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:38:40] local.INFO: DEBUG: GPS processor result {"connection_id":132908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:38:40] local.INFO: GPS data processed {"connection_id":132908,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:38:40] local.INFO: Acknowledgment sent {"connection_id":132908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:38:41] local.INFO: TCP Data received {"connection_id":132071,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132071,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:38:41] local.INFO: Processing buffer {"connection_id":132071,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:38:41] local.INFO: IMEI packet received {"connection_id":132071,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 00:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":132071,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:38:46] local.INFO: TCP Data received {"connection_id":132071,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132071,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:38:46] local.INFO: Processing buffer {"connection_id":132071,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:38:46] local.INFO: IMEI packet received {"connection_id":132071,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 00:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":132071,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:38:46] local.INFO: TCP Data received {"connection_id":132071,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132071,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:38:46] local.INFO: Processing buffer {"connection_id":132071,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:38:46] local.INFO: IMEI packet received {"connection_id":132071,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 00:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":132071,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:38:48] local.INFO: TCP Data received {"connection_id":132071,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6204bed0012d74e78005f473d0000600f926..."} 
[2026-07-15 00:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6204bed0012d74e78005f473d0000600f926..."} 
[2026-07-15 00:38:48] local.INFO: Processing buffer {"connection_id":132071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6204bed0012d74e78005f473d0000600f926..."} 
[2026-07-15 00:38:48] local.INFO: Packet analysis {"connection_id":132071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6204"} 
[2026-07-15 00:38:48] local.INFO: Extracted packet for processing {"connection_id":132071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6204"} 
[2026-07-15 00:38:48] local.INFO: GPS Element Parsed {"raw_longitude":762636160,"raw_latitude":99906512,"longitude_deg":76.263616,"latitude_deg":9.9906512,"altitude":6,"angle":249,"satellites":38,"speed":0,"hex_longitude":"2d74e780","hex_latitude":"05f473d0","is_valid_coordinates":true} 
[2026-07-15 00: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-07-15 00:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718306560001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135708167551057920,"note":"Value kept but may cause issues"} 
[2026-07-15 00:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8444108589409185792,"note":"Value kept but may cause issues"} 
[2026-07-15 00:38:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784055906000,"timestamp_ms":1784055906000,"timestamp_seconds":1784055906,"priority":1,"record_length":96,"hex_timestamp":"0000019f6204bed0"} 
[2026-07-15 00:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:38:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-15 00:38:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00: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-07-15 00:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":132071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":132071,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":132071,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:38:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718306560001,"66":28006,"101":206,"9":24832,"24":0,"16":135708167551057920,"45":8444108589409185792},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,9,24,16,45]} 
[2026-07-15 00:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718306560001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:38:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-15 00:38:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 00:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135708167551057920,"km_value":135708167551057.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8444108589409185792,"description":"Unknown IO ID 45"} 
[2026-07-15 00:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718306560001,"power":28006,"unknown_101":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8444108589409185792}} 
[2026-07-15 00:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":132071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488689,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:38:48] local.INFO: GPS data processed {"connection_id":132071,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:38:48] local.INFO: Acknowledgment sent {"connection_id":132071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:38:53] local.INFO: TCP Data received {"connection_id":132071,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6205a1600100000000000000000000000000..."} 
[2026-07-15 00:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6205a1600100000000000000000000000000..."} 
[2026-07-15 00:38:53] local.INFO: Processing buffer {"connection_id":132071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6205a1600100000000000000000000000000..."} 
[2026-07-15 00:38:53] local.INFO: Packet analysis {"connection_id":132071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6205"} 
[2026-07-15 00:38:53] local.INFO: Extracted packet for processing {"connection_id":132071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6205"} 
[2026-07-15 00:38: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-07-15 00: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-07-15 00:38:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718311936001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:38:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135708167551057920,"note":"Value kept but may cause issues"} 
[2026-07-15 00:38:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8423842391084224512,"note":"Value kept but may cause issues"} 
[2026-07-15 00:38:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:38:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784055964000,"timestamp_ms":1784055964000,"timestamp_seconds":1784055964,"priority":1,"record_length":96,"hex_timestamp":"0000019f6205a160"} 
[2026-07-15 00:38:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:38:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 00:38:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00: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-07-15 00:38:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:38:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:38:53] local.INFO: Teltonika packet parsed successfully {"connection_id":132071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:38:53] local.INFO: Passing IMEI to GPS processor {"connection_id":132071,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:38:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":132071,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:38:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:38:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:38:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:38:53] local.INFO: DEBUG: GPS processor result {"connection_id":132071,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 00:38:53] local.INFO: GPS data processed {"connection_id":132071,"processed":0,"errors":0,"total":1} 
[2026-07-15 00:38:53] local.INFO: Acknowledgment sent {"connection_id":132071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:39:02] local.INFO: TCP Data received {"connection_id":134281,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:39:02] local.INFO: Processing buffer {"connection_id":134281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:39:02] local.INFO: IMEI packet received {"connection_id":134281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":134281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:39:08] local.INFO: TCP Data received {"connection_id":134281,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:39:08] local.INFO: Processing buffer {"connection_id":134281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:39:08] local.INFO: IMEI packet received {"connection_id":134281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":134281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:39:09] local.INFO: TCP Data received {"connection_id":134281,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6203ad60012d7f92c005afd8300000005026..."} 
[2026-07-15 00:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6203ad60012d7f92c005afd8300000005026..."} 
[2026-07-15 00:39:09] local.INFO: Processing buffer {"connection_id":134281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6203ad60012d7f92c005afd8300000005026..."} 
[2026-07-15 00:39:09] local.INFO: Packet analysis {"connection_id":134281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6203"} 
[2026-07-15 00:39:09] local.INFO: Extracted packet for processing {"connection_id":134281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6203"} 
[2026-07-15 00:39:09] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718216960001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784055836000,"timestamp_ms":1784055836000,"timestamp_seconds":1784055836,"priority":1,"record_length":96,"hex_timestamp":"0000019f6203ad60"} 
[2026-07-15 00:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":134281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":134281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":134281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:39:09] 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-07-15 00:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718216960001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718216960001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:39:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:39:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718216960001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":134281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:39:09] local.INFO: GPS data processed {"connection_id":134281,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:39:09] local.INFO: Acknowledgment sent {"connection_id":134281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:39:36] local.INFO: TCP Data received {"connection_id":131906,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131906,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:39:36] local.INFO: Processing buffer {"connection_id":131906,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:39:36] local.INFO: IMEI packet received {"connection_id":131906,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 00:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":131906,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:39:41] local.INFO: TCP Data received {"connection_id":131906,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131906,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:39:41] local.INFO: Processing buffer {"connection_id":131906,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:39:41] local.INFO: IMEI packet received {"connection_id":131906,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 00:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":131906,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:39:42] local.INFO: TCP Data received {"connection_id":131906,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62051c90012d74b14005f45ed0000c00f92c..."} 
[2026-07-15 00:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62051c90012d74b14005f45ed0000c00f92c..."} 
[2026-07-15 00:39:42] local.INFO: Processing buffer {"connection_id":131906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62051c90012d74b14005f45ed0000c00f92c..."} 
[2026-07-15 00:39:42] local.INFO: Packet analysis {"connection_id":131906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6205"} 
[2026-07-15 00:39:42] local.INFO: Extracted packet for processing {"connection_id":131906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6205"} 
[2026-07-15 00:39:42] local.INFO: GPS Element Parsed {"raw_longitude":762622272,"raw_latitude":99901136,"longitude_deg":76.2622272,"latitude_deg":9.9901136,"altitude":12,"angle":249,"satellites":44,"speed":27,"hex_longitude":"2d74b140","hex_latitude":"05f45ed0","is_valid_coordinates":true} 
[2026-07-15 00:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135708167551057920,"note":"Value kept but may cause issues"} 
[2026-07-15 00:39:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,108,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 00:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784055930000,"timestamp_ms":1784055930000,"timestamp_seconds":1784055930,"priority":1,"record_length":96,"hex_timestamp":"0000019f62051c90"} 
[2026-07-15 00:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 00:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":131906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":131906,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":131906,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27843,"108":206,"9":24832,"24":27,"16":135708167551057920},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,9,24,16]} 
[2026-07-15 00:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-15 00:39:42] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-07-15 00:39:42] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 00:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135708167551057920,"km_value":135708167551057.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:39:42] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27843,"unknown_108":206,"unknown_9":24832,"ignition":27,"odometer":null}} 
[2026-07-15 00:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":131906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488691,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:39:42] local.INFO: GPS data processed {"connection_id":131906,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:39:42] local.INFO: Acknowledgment sent {"connection_id":131906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:39:42] local.INFO: TCP Data received {"connection_id":134281,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f62084528012d7f92c005afd830000000502a..."} 
[2026-07-15 00:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62084528012d7f92c005afd830000000502a..."} 
[2026-07-15 00:39:42] local.INFO: Processing buffer {"connection_id":134281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62084528012d7f92c005afd830000000502a..."} 
[2026-07-15 00:39:42] local.INFO: Packet analysis {"connection_id":134281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6208"} 
[2026-07-15 00:39:42] local.INFO: Extracted packet for processing {"connection_id":134281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6208"} 
[2026-07-15 00:39:42] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718294016001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784056137000,"timestamp_ms":1784056137000,"timestamp_seconds":1784056137,"priority":1,"record_length":96,"hex_timestamp":"0000019f62084528"} 
[2026-07-15 00:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":134281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":134281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":134281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718294016001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718294016001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:39:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:39:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718294016001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":134281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:39:42] local.INFO: GPS data processed {"connection_id":134281,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:39:42] local.INFO: Acknowledgment sent {"connection_id":134281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:40:08] local.INFO: TCP Data received {"connection_id":132072,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:40:08] local.INFO: Processing buffer {"connection_id":132072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:40:08] local.INFO: IMEI packet received {"connection_id":132072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":132072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:40:13] local.INFO: TCP Data received {"connection_id":132072,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:40:13] local.INFO: Processing buffer {"connection_id":132072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:40:13] local.INFO: IMEI packet received {"connection_id":132072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":132072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:40:14] local.INFO: TCP Data received {"connection_id":132072,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f62084528012d7f92c005afd830000000502a..."} 
[2026-07-15 00:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62084528012d7f92c005afd830000000502a..."} 
[2026-07-15 00:40:14] local.INFO: Processing buffer {"connection_id":132072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62084528012d7f92c005afd830000000502a..."} 
[2026-07-15 00:40:14] local.INFO: Packet analysis {"connection_id":132072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6208"} 
[2026-07-15 00:40:14] local.INFO: Extracted packet for processing {"connection_id":132072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6208"} 
[2026-07-15 00:40:14] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718294016001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:40:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:40:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784056137000,"timestamp_ms":1784056137000,"timestamp_seconds":1784056137,"priority":1,"record_length":96,"hex_timestamp":"0000019f62084528"} 
[2026-07-15 00:40:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:40:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:40:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:40:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:40:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":132072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":132072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":132072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:40:14] 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-07-15 00:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718294016001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718294016001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:40:14] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:40:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:40:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718294016001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":132072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:40:14] local.INFO: GPS data processed {"connection_id":132072,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:40:14] local.INFO: Acknowledgment sent {"connection_id":132072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:40:14] local.INFO: TCP Data received {"connection_id":131906,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62056e98012d746f8005f44668000e00f92c..."} 
[2026-07-15 00:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62056e98012d746f8005f44668000e00f92c..."} 
[2026-07-15 00:40:14] local.INFO: Processing buffer {"connection_id":131906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62056e98012d746f8005f44668000e00f92c..."} 
[2026-07-15 00:40:14] local.INFO: Packet analysis {"connection_id":131906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6205"} 
[2026-07-15 00:40:14] local.INFO: Extracted packet for processing {"connection_id":131906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6205"} 
[2026-07-15 00:40:14] local.INFO: GPS Element Parsed {"raw_longitude":762605440,"raw_latitude":99894888,"longitude_deg":76.260544,"latitude_deg":9.9894888,"altitude":14,"angle":249,"satellites":44,"speed":41,"hex_longitude":"2d746f80","hex_latitude":"05f44668","is_valid_coordinates":true} 
[2026-07-15 00:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718318080001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135708167551057920,"note":"Value kept but may cause issues"} 
[2026-07-15 00:40:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8408572373596295168,"note":"Value kept but may cause issues"} 
[2026-07-15 00:40:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784055951000,"timestamp_ms":1784055951000,"timestamp_seconds":1784055951,"priority":1,"record_length":96,"hex_timestamp":"0000019f62056e98"} 
[2026-07-15 00:40:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:40:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-15 00:40:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:40:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:40:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":131906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":131906,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":131906,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:40:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718318080001,"66":27865,"108":206,"9":24832,"24":41,"16":135708167551057920,"45":8408572373596295168},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,9,24,16,45]} 
[2026-07-15 00:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718318080001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:40:14] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-07-15 00:40:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 00:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135708167551057920,"km_value":135708167551057.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:40:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8408572373596295168,"description":"Unknown IO ID 45"} 
[2026-07-15 00:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718318080001,"power":27865,"unknown_108":206,"unknown_9":24832,"ignition":41,"odometer":null,"unknown_45":8408572373596295168}} 
[2026-07-15 00:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":131906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488694,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:40:14] local.INFO: GPS data processed {"connection_id":131906,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:40:14] local.INFO: Acknowledgment sent {"connection_id":131906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:40:41] local.INFO: TCP Data received {"connection_id":132909,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132909,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:40:41] local.INFO: Processing buffer {"connection_id":132909,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:40:41] local.INFO: IMEI packet received {"connection_id":132909,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 00:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":132909,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:40:45] local.INFO: TCP Data received {"connection_id":132072,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f62084528012d7f92c005afd830000000502a..."} 
[2026-07-15 00:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62084528012d7f92c005afd830000000502a..."} 
[2026-07-15 00:40:45] local.INFO: Processing buffer {"connection_id":132072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62084528012d7f92c005afd830000000502a..."} 
[2026-07-15 00:40:45] local.INFO: Packet analysis {"connection_id":132072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6208"} 
[2026-07-15 00:40:45] local.INFO: Extracted packet for processing {"connection_id":132072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6208"} 
[2026-07-15 00:40:45] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718294016001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:40:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:40:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784056137000,"timestamp_ms":1784056137000,"timestamp_seconds":1784056137,"priority":1,"record_length":96,"hex_timestamp":"0000019f62084528"} 
[2026-07-15 00:40:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:40:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:40:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:40:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:40:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":132072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":132072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":132072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:40:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718294016001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718294016001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:40:45] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:40:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:40:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718294016001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":132072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:40:45] local.INFO: GPS data processed {"connection_id":132072,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:40:45] local.INFO: Acknowledgment sent {"connection_id":132072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:40:46] local.INFO: TCP Data received {"connection_id":132909,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132909,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:40:46] local.INFO: Processing buffer {"connection_id":132909,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:40:46] local.INFO: IMEI packet received {"connection_id":132909,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 00:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":132909,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:40:47] local.INFO: TCP Data received {"connection_id":132909,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6208c9f8012d71b40005f34020000900fa2f..."} 
[2026-07-15 00:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6208c9f8012d71b40005f34020000900fa2f..."} 
[2026-07-15 00:40:47] local.INFO: Processing buffer {"connection_id":132909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6208c9f8012d71b40005f34020000900fa2f..."} 
[2026-07-15 00:40:47] local.INFO: Packet analysis {"connection_id":132909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6208"} 
[2026-07-15 00:40:47] local.INFO: Extracted packet for processing {"connection_id":132909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6208"} 
[2026-07-15 00:40:47] local.INFO: GPS Element Parsed {"raw_longitude":762426368,"raw_latitude":99827744,"longitude_deg":76.2426368,"latitude_deg":9.9827744,"altitude":9,"angle":250,"satellites":47,"speed":0,"hex_longitude":"2d71b400","hex_latitude":"05f34020","is_valid_coordinates":true} 
[2026-07-15 00:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718374400001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135708167551057920,"note":"Value kept but may cause issues"} 
[2026-07-15 00:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8212665789788588032,"note":"Value kept but may cause issues"} 
[2026-07-15 00:40:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784056171000,"timestamp_ms":1784056171000,"timestamp_seconds":1784056171,"priority":1,"record_length":96,"hex_timestamp":"0000019f6208c9f8"} 
[2026-07-15 00:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-15 00:40:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:40:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":132909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":132909,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":132909,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:40:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718374400001,"66":27984,"223":206,"9":24832,"24":0,"16":135708167551057920,"45":8212665789788588032},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,9,24,16,45]} 
[2026-07-15 00:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718374400001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:40:47] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-07-15 00:40:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 00:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135708167551057920,"km_value":135708167551057.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8212665789788588032,"description":"Unknown IO ID 45"} 
[2026-07-15 00:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718374400001,"power":27984,"unknown_223":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8212665789788588032}} 
[2026-07-15 00:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":132909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488696,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:40:47] local.INFO: GPS data processed {"connection_id":132909,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:40:47] local.INFO: Acknowledgment sent {"connection_id":132909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:40:48] local.INFO: TCP Data received {"connection_id":132909,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62090490012d717e0005f32908000700e82e..."} 
[2026-07-15 00:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62090490012d717e0005f32908000700e82e..."} 
[2026-07-15 00:40:48] local.INFO: Processing buffer {"connection_id":132909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62090490012d717e0005f32908000700e82e..."} 
[2026-07-15 00:40:48] local.INFO: Packet analysis {"connection_id":132909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6209"} 
[2026-07-15 00:40:48] local.INFO: Extracted packet for processing {"connection_id":132909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6209"} 
[2026-07-15 00:40:48] local.INFO: GPS Element Parsed {"raw_longitude":762412544,"raw_latitude":99821832,"longitude_deg":76.2412544,"latitude_deg":9.9821832,"altitude":7,"angle":232,"satellites":46,"speed":19,"hex_longitude":"2d717e00","hex_latitude":"05f32908","is_valid_coordinates":true} 
[2026-07-15 00:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718379776001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135708167551057920,"note":"Value kept but may cause issues"} 
[2026-07-15 00:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8193173647649677312,"note":"Value kept but may cause issues"} 
[2026-07-15 00:40:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784056186000,"timestamp_ms":1784056186000,"timestamp_seconds":1784056186,"priority":1,"record_length":96,"hex_timestamp":"0000019f62090490"} 
[2026-07-15 00:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:40:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 00:40:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:40:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":132909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":132909,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":132909,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:40:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718379776001,"66":27952,"223":206,"9":24832,"24":19,"16":135708167551057920,"45":8193173647649677312},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,9,24,16,45]} 
[2026-07-15 00:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718379776001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:40:48] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-07-15 00:40:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 00:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135708167551057920,"km_value":135708167551057.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8193173647649677312,"description":"Unknown IO ID 45"} 
[2026-07-15 00:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718379776001,"power":27952,"unknown_223":206,"unknown_9":24832,"ignition":19,"odometer":null,"unknown_45":8193173647649677312}} 
[2026-07-15 00:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":132909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488697,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:40:48] local.INFO: GPS data processed {"connection_id":132909,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:40:48] local.INFO: Acknowledgment sent {"connection_id":132909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:41:03] local.INFO: TCP Data received {"connection_id":132073,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:41:03] local.INFO: Processing buffer {"connection_id":132073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:41:03] local.INFO: IMEI packet received {"connection_id":132073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":132073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:41:08] local.INFO: TCP Data received {"connection_id":132073,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:41:08] local.INFO: Processing buffer {"connection_id":132073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:41:08] local.INFO: IMEI packet received {"connection_id":132073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":132073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:41:08] local.INFO: TCP Data received {"connection_id":132073,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f62084528012d7f92c005afd830000000502a..."} 
[2026-07-15 00:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62084528012d7f92c005afd830000000502a..."} 
[2026-07-15 00:41:08] local.INFO: Processing buffer {"connection_id":132073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62084528012d7f92c005afd830000000502a..."} 
[2026-07-15 00:41:08] local.INFO: Packet analysis {"connection_id":132073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6208"} 
[2026-07-15 00:41:08] local.INFO: Extracted packet for processing {"connection_id":132073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6208"} 
[2026-07-15 00:41:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718294016001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784056137000,"timestamp_ms":1784056137000,"timestamp_seconds":1784056137,"priority":1,"record_length":96,"hex_timestamp":"0000019f62084528"} 
[2026-07-15 00:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:41:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:41:08] 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-07-15 00:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718294016001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718294016001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:41:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:41:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718294016001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":132073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:41:08] local.INFO: GPS data processed {"connection_id":132073,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:41:08] local.INFO: Acknowledgment sent {"connection_id":132073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:41:19] local.INFO: TCP Data received {"connection_id":132909,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62092f88012d71734005f33608000a00012d..."} 
[2026-07-15 00:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62092f88012d71734005f33608000a00012d..."} 
[2026-07-15 00:41:19] local.INFO: Processing buffer {"connection_id":132909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62092f88012d71734005f33608000a00012d..."} 
[2026-07-15 00:41:19] local.INFO: Packet analysis {"connection_id":132909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6209"} 
[2026-07-15 00:41:19] local.INFO: Extracted packet for processing {"connection_id":132909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6209"} 
[2026-07-15 00:41:19] local.INFO: GPS Element Parsed {"raw_longitude":762409792,"raw_latitude":99825160,"longitude_deg":76.2409792,"latitude_deg":9.982516,"altitude":10,"angle":1,"satellites":45,"speed":27,"hex_longitude":"2d717340","hex_latitude":"05f33608","is_valid_coordinates":true} 
[2026-07-15 00: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-07-15 00:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718383616001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135708373709488128,"note":"Value kept but may cause issues"} 
[2026-07-15 00:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8177973998905788416,"note":"Value kept but may cause issues"} 
[2026-07-15 00:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784056197000,"timestamp_ms":1784056197000,"timestamp_seconds":1784056197,"priority":1,"record_length":96,"hex_timestamp":"0000019f62092f88"} 
[2026-07-15 00:41:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:41:19] 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-07-15 00: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-15 00:41:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00: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-07-15 00:41:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":132909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":132909,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":132909,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718383616001,"66":27800,"223":206,"9":24832,"24":27,"16":135708373709488128,"45":8177973998905788416},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,9,24,16,45]} 
[2026-07-15 00:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718383616001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:41:19] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-07-15 00:41:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 00:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135708373709488128,"km_value":135708373709488.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8177973998905788416,"description":"Unknown IO ID 45"} 
[2026-07-15 00:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718383616001,"power":27800,"unknown_223":206,"unknown_9":24832,"ignition":27,"odometer":null,"unknown_45":8177973998905788416}} 
[2026-07-15 00:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":132909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488699,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:41:19] local.INFO: GPS data processed {"connection_id":132909,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:41:19] local.INFO: Acknowledgment sent {"connection_id":132909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:41:36] local.INFO: TCP Data received {"connection_id":134282,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134282,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:41:36] local.INFO: Processing buffer {"connection_id":134282,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:41:36] local.INFO: IMEI packet received {"connection_id":134282,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 00:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":134282,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:41:36] local.INFO: TCP Data received {"connection_id":134282,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134282,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:41:36] local.INFO: Processing buffer {"connection_id":134282,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:41:36] local.INFO: IMEI packet received {"connection_id":134282,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 00:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":134282,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:41:39] local.INFO: TCP Data received {"connection_id":132073,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f62084528012d7f92c005afd830000000502a..."} 
[2026-07-15 00:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62084528012d7f92c005afd830000000502a..."} 
[2026-07-15 00:41:39] local.INFO: Processing buffer {"connection_id":132073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62084528012d7f92c005afd830000000502a..."} 
[2026-07-15 00:41:39] local.INFO: Packet analysis {"connection_id":132073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6208"} 
[2026-07-15 00:41:39] local.INFO: Extracted packet for processing {"connection_id":132073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6208"} 
[2026-07-15 00:41:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00: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-07-15 00:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718294016001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784056137000,"timestamp_ms":1784056137000,"timestamp_seconds":1784056137,"priority":1,"record_length":96,"hex_timestamp":"0000019f62084528"} 
[2026-07-15 00:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:41:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00: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-07-15 00:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:41: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-07-15 00:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718294016001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718294016001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:41:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:41:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718294016001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":132073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:41:40] local.INFO: GPS data processed {"connection_id":132073,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:41:40] local.INFO: Acknowledgment sent {"connection_id":132073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:41:41] local.INFO: TCP Data received {"connection_id":134282,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134282,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:41:41] local.INFO: Processing buffer {"connection_id":134282,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:41:41] local.INFO: IMEI packet received {"connection_id":134282,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 00:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":134282,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:41:43] local.INFO: TCP Data received {"connection_id":134282,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62095a80012d71734005f35ac8000901672d..."} 
[2026-07-15 00:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62095a80012d71734005f35ac8000901672d..."} 
[2026-07-15 00:41:43] local.INFO: Processing buffer {"connection_id":134282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62095a80012d71734005f35ac8000901672d..."} 
[2026-07-15 00:41:43] local.INFO: Packet analysis {"connection_id":134282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6209"} 
[2026-07-15 00:41:43] local.INFO: Extracted packet for processing {"connection_id":134282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6209"} 
[2026-07-15 00:41:43] local.INFO: GPS Element Parsed {"raw_longitude":762409792,"raw_latitude":99834568,"longitude_deg":76.2409792,"latitude_deg":9.9834568,"altitude":9,"angle":359,"satellites":45,"speed":38,"hex_longitude":"2d717340","hex_latitude":"05f35ac8","is_valid_coordinates":true} 
[2026-07-15 00:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718386432001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135708828976021504,"note":"Value kept but may cause issues"} 
[2026-07-15 00:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8174948142907000832,"note":"Value kept but may cause issues"} 
[2026-07-15 00:41:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784056208000,"timestamp_ms":1784056208000,"timestamp_seconds":1784056208,"priority":1,"record_length":96,"hex_timestamp":"0000019f62095a80"} 
[2026-07-15 00:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:41:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 00:41:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:41:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":134282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":134282,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":134282,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:41:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718386432001,"66":27930,"224":206,"9":24832,"24":38,"16":135708828976021504,"45":8174948142907000832},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,9,24,16,45]} 
[2026-07-15 00:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718386432001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:41:43] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-15 00:41:43] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 00:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135708828976021504,"km_value":135708828976021.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8174948142907000832,"description":"Unknown IO ID 45"} 
[2026-07-15 00:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718386432001,"power":27930,"unknown_224":206,"unknown_9":24832,"ignition":38,"odometer":null,"unknown_45":8174948142907000832}} 
[2026-07-15 00:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":134282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488701,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:41:43] local.INFO: GPS data processed {"connection_id":134282,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:41:43] local.INFO: Acknowledgment sent {"connection_id":134282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:41:44] local.INFO: TCP Data received {"connection_id":134282,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f620975d8012d71718005f375a80009015c26..."} 
[2026-07-15 00:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f620975d8012d71718005f375a80009015c26..."} 
[2026-07-15 00:41:44] local.INFO: Processing buffer {"connection_id":134282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f620975d8012d71718005f375a80009015c26..."} 
[2026-07-15 00:41:44] local.INFO: Packet analysis {"connection_id":134282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6209"} 
[2026-07-15 00:41:44] local.INFO: Extracted packet for processing {"connection_id":134282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6209"} 
[2026-07-15 00:41:44] local.INFO: GPS Element Parsed {"raw_longitude":762409344,"raw_latitude":99841448,"longitude_deg":76.2409344,"latitude_deg":9.9841448,"altitude":9,"angle":348,"satellites":38,"speed":39,"hex_longitude":"2d717180","hex_latitude":"05f375a8","is_valid_coordinates":true} 
[2026-07-15 00:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718389248001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135709163983470592,"note":"Value kept but may cause issues"} 
[2026-07-15 00:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8174948142909409280,"note":"Value kept but may cause issues"} 
[2026-07-15 00:41:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784056215000,"timestamp_ms":1784056215000,"timestamp_seconds":1784056215,"priority":1,"record_length":96,"hex_timestamp":"0000019f620975d8"} 
[2026-07-15 00:41:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:41:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-15 00:41:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:41:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:41:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":134282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":134282,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":134282,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:41:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718389248001,"66":27984,"224":206,"9":24832,"24":39,"16":135709163983470592,"45":8174948142909409280},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,9,24,16,45]} 
[2026-07-15 00:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718389248001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:41:44] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-15 00:41:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 00:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135709163983470592,"km_value":135709163983470.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8174948142909409280,"description":"Unknown IO ID 45"} 
[2026-07-15 00:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718389248001,"power":27984,"unknown_224":206,"unknown_9":24832,"ignition":39,"odometer":null,"unknown_45":8174948142909409280}} 
[2026-07-15 00:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":134282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488702,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:41:44] local.INFO: GPS data processed {"connection_id":134282,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:41:44] local.INFO: Acknowledgment sent {"connection_id":134282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:42:02] local.INFO: TCP Data received {"connection_id":132910,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:42:02] local.INFO: Processing buffer {"connection_id":132910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:42:02] local.INFO: IMEI packet received {"connection_id":132910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":132910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:42:08] local.INFO: TCP Data received {"connection_id":132910,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:42:08] local.INFO: Processing buffer {"connection_id":132910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:42:08] local.INFO: IMEI packet received {"connection_id":132910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":132910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:42:08] local.INFO: TCP Data received {"connection_id":132910,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f62084528012d7f92c005afd830000000502a..."} 
[2026-07-15 00:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62084528012d7f92c005afd830000000502a..."} 
[2026-07-15 00:42:08] local.INFO: Processing buffer {"connection_id":132910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62084528012d7f92c005afd830000000502a..."} 
[2026-07-15 00:42:08] local.INFO: Packet analysis {"connection_id":132910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6208"} 
[2026-07-15 00:42:08] local.INFO: Extracted packet for processing {"connection_id":132910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6208"} 
[2026-07-15 00:42:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718294016001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784056137000,"timestamp_ms":1784056137000,"timestamp_seconds":1784056137,"priority":1,"record_length":96,"hex_timestamp":"0000019f62084528"} 
[2026-07-15 00:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718294016001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718294016001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:42:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:42:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718294016001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":132910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:42:08] local.INFO: GPS data processed {"connection_id":132910,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:42:08] local.INFO: Acknowledgment sent {"connection_id":132910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:42:18] local.INFO: TCP Data received {"connection_id":134282,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62099900012d7169c005f397f8000701582d..."} 
[2026-07-15 00:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62099900012d7169c005f397f8000701582d..."} 
[2026-07-15 00:42:18] local.INFO: Processing buffer {"connection_id":134282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62099900012d7169c005f397f8000701582d..."} 
[2026-07-15 00:42:18] local.INFO: Packet analysis {"connection_id":134282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6209"} 
[2026-07-15 00:42:18] local.INFO: Extracted packet for processing {"connection_id":134282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6209"} 
[2026-07-15 00:42:18] local.INFO: GPS Element Parsed {"raw_longitude":762407360,"raw_latitude":99850232,"longitude_deg":76.240736,"latitude_deg":9.9850232,"altitude":7,"angle":344,"satellites":45,"speed":41,"hex_longitude":"2d7169c0","hex_latitude":"05f397f8","is_valid_coordinates":true} 
[2026-07-15 00: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-07-15 00:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718391040001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135709602070134784,"note":"Value kept but may cause issues"} 
[2026-07-15 00:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8174455561701926912,"note":"Value kept but may cause issues"} 
[2026-07-15 00:42:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784056224000,"timestamp_ms":1784056224000,"timestamp_seconds":1784056224,"priority":1,"record_length":96,"hex_timestamp":"0000019f62099900"} 
[2026-07-15 00:42:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00: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-07-15 00: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 00:42:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00: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-07-15 00:42:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":134282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":134282,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":134282,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:42:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718391040001,"66":27984,"224":206,"9":24832,"24":41,"16":135709602070134784,"45":8174455561701926912},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,9,24,16,45]} 
[2026-07-15 00:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718391040001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:42:18] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-15 00:42:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 00:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135709602070134784,"km_value":135709602070134.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8174455561701926912,"description":"Unknown IO ID 45"} 
[2026-07-15 00:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718391040001,"power":27984,"unknown_224":206,"unknown_9":24832,"ignition":41,"odometer":null,"unknown_45":8174455561701926912}} 
[2026-07-15 00:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":134282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488704,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:42:18] local.INFO: GPS data processed {"connection_id":134282,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:42:18] local.INFO: Acknowledgment sent {"connection_id":134282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:42:36] local.INFO: TCP Data received {"connection_id":131907,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131907,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:42:36] local.INFO: Processing buffer {"connection_id":131907,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:42:36] local.INFO: IMEI packet received {"connection_id":131907,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 00:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":131907,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:42:37] local.INFO: TCP Data received {"connection_id":131907,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131907,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:42:37] local.INFO: Processing buffer {"connection_id":131907,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:42:37] local.INFO: IMEI packet received {"connection_id":131907,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 00:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":131907,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:42:40] local.INFO: TCP Data received {"connection_id":132910,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f62084528012d7f92c005afd830000000502a..."} 
[2026-07-15 00:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62084528012d7f92c005afd830000000502a..."} 
[2026-07-15 00:42:40] local.INFO: Processing buffer {"connection_id":132910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62084528012d7f92c005afd830000000502a..."} 
[2026-07-15 00:42:40] local.INFO: Packet analysis {"connection_id":132910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6208"} 
[2026-07-15 00:42:40] local.INFO: Extracted packet for processing {"connection_id":132910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6208"} 
[2026-07-15 00:42:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718294016001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784056137000,"timestamp_ms":1784056137000,"timestamp_seconds":1784056137,"priority":1,"record_length":96,"hex_timestamp":"0000019f62084528"} 
[2026-07-15 00:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:42:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718294016001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718294016001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:42:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:42:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718294016001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":132910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:42:40] local.INFO: GPS data processed {"connection_id":132910,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:42:40] local.INFO: Acknowledgment sent {"connection_id":132910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:42:42] local.INFO: TCP Data received {"connection_id":131907,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131907,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:42:42] local.INFO: Processing buffer {"connection_id":131907,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:42:42] local.INFO: IMEI packet received {"connection_id":131907,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 00:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":131907,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:42:43] local.INFO: TCP Data received {"connection_id":131907,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6209bc28012d71604005f3bc580009015a2d..."} 
[2026-07-15 00:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6209bc28012d71604005f3bc580009015a2d..."} 
[2026-07-15 00:42:43] local.INFO: Processing buffer {"connection_id":131907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6209bc28012d71604005f3bc580009015a2d..."} 
[2026-07-15 00:42:43] local.INFO: Packet analysis {"connection_id":131907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6209"} 
[2026-07-15 00:42:43] local.INFO: Extracted packet for processing {"connection_id":131907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6209"} 
[2026-07-15 00:42:43] local.INFO: GPS Element Parsed {"raw_longitude":762404928,"raw_latitude":99859544,"longitude_deg":76.2404928,"latitude_deg":9.9859544,"altitude":9,"angle":346,"satellites":45,"speed":43,"hex_longitude":"2d716040","hex_latitude":"05f3bc58","is_valid_coordinates":true} 
[2026-07-15 00:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718393344001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135710070221570048,"note":"Value kept but may cause issues"} 
[2026-07-15 00:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8172274130634668032,"note":"Value kept but may cause issues"} 
[2026-07-15 00:42:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784056233000,"timestamp_ms":1784056233000,"timestamp_seconds":1784056233,"priority":1,"record_length":96,"hex_timestamp":"0000019f6209bc28"} 
[2026-07-15 00:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:42:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 00:42:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:42:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":131907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":131907,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":131907,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:42:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718393344001,"66":27984,"224":206,"9":24832,"24":43,"16":135710070221570048,"45":8172274130634668032},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,9,24,16,45]} 
[2026-07-15 00:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718393344001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:42:43] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-15 00:42:43] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 00:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135710070221570048,"km_value":135710070221570.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8172274130634668032,"description":"Unknown IO ID 45"} 
[2026-07-15 00:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718393344001,"power":27984,"unknown_224":206,"unknown_9":24832,"ignition":43,"odometer":null,"unknown_45":8172274130634668032}} 
[2026-07-15 00:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":131907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488706,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:42:43] local.INFO: GPS data processed {"connection_id":131907,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:42:43] local.INFO: Acknowledgment sent {"connection_id":131907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:42:44] local.INFO: TCP Data received {"connection_id":131907,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6209db68012d71574005f3de60000901582e..."} 
[2026-07-15 00:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6209db68012d71574005f3de60000901582e..."} 
[2026-07-15 00:42:44] local.INFO: Processing buffer {"connection_id":131907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6209db68012d71574005f3de60000901582e..."} 
[2026-07-15 00:42:44] local.INFO: Packet analysis {"connection_id":131907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6209"} 
[2026-07-15 00:42:44] local.INFO: Extracted packet for processing {"connection_id":131907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6209"} 
[2026-07-15 00:42:44] local.INFO: GPS Element Parsed {"raw_longitude":762402624,"raw_latitude":99868256,"longitude_deg":76.2402624,"latitude_deg":9.9868256,"altitude":9,"angle":344,"satellites":46,"speed":47,"hex_longitude":"2d715740","hex_latitude":"05f3de60","is_valid_coordinates":true} 
[2026-07-15 00:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718395648001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135710504013266944,"note":"Value kept but may cause issues"} 
[2026-07-15 00:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8169600118358300672,"note":"Value kept but may cause issues"} 
[2026-07-15 00:42:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784056241000,"timestamp_ms":1784056241000,"timestamp_seconds":1784056241,"priority":1,"record_length":96,"hex_timestamp":"0000019f6209db68"} 
[2026-07-15 00:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:42:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 00:42:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:42:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":131907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":131907,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":131907,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718395648001,"66":27952,"224":206,"9":24832,"24":47,"16":135710504013266944,"45":8169600118358300672},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,9,24,16,45]} 
[2026-07-15 00:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718395648001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:42:44] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-15 00:42:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 00:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135710504013266944,"km_value":135710504013266.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8169600118358300672,"description":"Unknown IO ID 45"} 
[2026-07-15 00:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718395648001,"power":27952,"unknown_224":206,"unknown_9":24832,"ignition":47,"odometer":null,"unknown_45":8169600118358300672}} 
[2026-07-15 00:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":131907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488707,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:42:44] local.INFO: GPS data processed {"connection_id":131907,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:42:44] local.INFO: Acknowledgment sent {"connection_id":131907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:43:02] local.INFO: TCP Data received {"connection_id":132074,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:43:02] local.INFO: Processing buffer {"connection_id":132074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:43:02] local.INFO: IMEI packet received {"connection_id":132074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":132074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:43:08] local.INFO: TCP Data received {"connection_id":132074,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:43:08] local.INFO: Processing buffer {"connection_id":132074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:43:08] local.INFO: IMEI packet received {"connection_id":132074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":132074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:43:09] local.INFO: TCP Data received {"connection_id":132074,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f62084528012d7f92c005afd830000000502a..."} 
[2026-07-15 00:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62084528012d7f92c005afd830000000502a..."} 
[2026-07-15 00:43:09] local.INFO: Processing buffer {"connection_id":132074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62084528012d7f92c005afd830000000502a..."} 
[2026-07-15 00:43:09] local.INFO: Packet analysis {"connection_id":132074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6208"} 
[2026-07-15 00:43:09] local.INFO: Extracted packet for processing {"connection_id":132074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6208"} 
[2026-07-15 00:43:09] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718294016001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:43:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784056137000,"timestamp_ms":1784056137000,"timestamp_seconds":1784056137,"priority":1,"record_length":96,"hex_timestamp":"0000019f62084528"} 
[2026-07-15 00:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00: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-07-15 00:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":132074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":132074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":132074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:43:09] 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-07-15 00:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718294016001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718294016001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:43:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:43:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718294016001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":132074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:43:09] local.INFO: GPS data processed {"connection_id":132074,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:43:09] local.INFO: Acknowledgment sent {"connection_id":132074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:43:16] local.INFO: TCP Data received {"connection_id":131907,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f620b5e20012d70ac8005f59630000701522d..."} 
[2026-07-15 00:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f620b5e20012d70ac8005f59630000701522d..."} 
[2026-07-15 00:43:16] local.INFO: Processing buffer {"connection_id":131907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f620b5e20012d70ac8005f59630000701522d..."} 
[2026-07-15 00:43:16] local.INFO: Packet analysis {"connection_id":131907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f620b"} 
[2026-07-15 00:43:16] local.INFO: Extracted packet for processing {"connection_id":131907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f620b"} 
[2026-07-15 00:43:16] local.INFO: GPS Element Parsed {"raw_longitude":762358912,"raw_latitude":99980848,"longitude_deg":76.2358912,"latitude_deg":9.9980848,"altitude":7,"angle":338,"satellites":45,"speed":52,"hex_longitude":"2d70ac80","hex_latitude":"05f59630","is_valid_coordinates":true} 
[2026-07-15 00:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718421248001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135716366643625984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8122875272253218816,"note":"Value kept but may cause issues"} 
[2026-07-15 00:43:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784056340000,"timestamp_ms":1784056340000,"timestamp_seconds":1784056340,"priority":1,"record_length":96,"hex_timestamp":"0000019f620b5e20"} 
[2026-07-15 00:43:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:43:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-15 00:43:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:43:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:43:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":131907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":131907,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":131907,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718421248001,"66":27876,"239":206,"9":24832,"24":52,"16":135716366643625984,"45":8122875272253218816},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,9,24,16,45]} 
[2026-07-15 00:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718421248001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:43:16] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-15 00:43:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 00:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135716366643625984,"km_value":135716366643625.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8122875272253218816,"description":"Unknown IO ID 45"} 
[2026-07-15 00:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718421248001,"power":27876,"unknown_239":206,"unknown_9":24832,"ignition":52,"odometer":null,"unknown_45":8122875272253218816}} 
[2026-07-15 00:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":131907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488709,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:43:16] local.INFO: GPS data processed {"connection_id":131907,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:43:16] local.INFO: Acknowledgment sent {"connection_id":131907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:43:37] local.INFO: TCP Data received {"connection_id":132911,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132911,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:43:37] local.INFO: Processing buffer {"connection_id":132911,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:43:37] local.INFO: IMEI packet received {"connection_id":132911,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 00:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":132911,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:43:37] local.INFO: TCP Data received {"connection_id":132911,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132911,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:43:37] local.INFO: Processing buffer {"connection_id":132911,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:43:37] local.INFO: IMEI packet received {"connection_id":132911,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 00:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":132911,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:43:40] local.INFO: TCP Data received {"connection_id":132074,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f62084528012d7f92c005afd830000000502a..."} 
[2026-07-15 00:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62084528012d7f92c005afd830000000502a..."} 
[2026-07-15 00:43:40] local.INFO: Processing buffer {"connection_id":132074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62084528012d7f92c005afd830000000502a..."} 
[2026-07-15 00:43:40] local.INFO: Packet analysis {"connection_id":132074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6208"} 
[2026-07-15 00:43:40] local.INFO: Extracted packet for processing {"connection_id":132074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6208"} 
[2026-07-15 00:43:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718294016001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:43:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:43:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784056137000,"timestamp_ms":1784056137000,"timestamp_seconds":1784056137,"priority":1,"record_length":96,"hex_timestamp":"0000019f62084528"} 
[2026-07-15 00:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:43:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:43:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:43:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:43:40] 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-07-15 00:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718294016001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718294016001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:43:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:43:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:43:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718294016001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":132074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:43:40] local.INFO: GPS data processed {"connection_id":132074,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:43:40] local.INFO: Acknowledgment sent {"connection_id":132074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:43:42] local.INFO: TCP Data received {"connection_id":132911,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132911,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:43:42] local.INFO: Processing buffer {"connection_id":132911,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:43:42] local.INFO: IMEI packet received {"connection_id":132911,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 00:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":132911,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:43:43] local.INFO: TCP Data received {"connection_id":132911,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f620b7978012d709e4005f5b770000601522c..."} 
[2026-07-15 00:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f620b7978012d709e4005f5b770000601522c..."} 
[2026-07-15 00:43:43] local.INFO: Processing buffer {"connection_id":132911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f620b7978012d709e4005f5b770000601522c..."} 
[2026-07-15 00:43:43] local.INFO: Packet analysis {"connection_id":132911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f620b"} 
[2026-07-15 00:43:43] local.INFO: Extracted packet for processing {"connection_id":132911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f620b"} 
[2026-07-15 00:43:43] local.INFO: GPS Element Parsed {"raw_longitude":762355264,"raw_latitude":99989360,"longitude_deg":76.2355264,"latitude_deg":9.998936,"altitude":6,"angle":338,"satellites":44,"speed":52,"hex_longitude":"2d709e40","hex_latitude":"05f5b770","is_valid_coordinates":true} 
[2026-07-15 00:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718423040001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135716813320224768,"note":"Value kept but may cause issues"} 
[2026-07-15 00:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8119004991325614080,"note":"Value kept but may cause issues"} 
[2026-07-15 00:43:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784056347000,"timestamp_ms":1784056347000,"timestamp_seconds":1784056347,"priority":1,"record_length":96,"hex_timestamp":"0000019f620b7978"} 
[2026-07-15 00:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:43:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-15 00:43:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":132911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":132911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":132911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718423040001,"66":27887,"239":206,"9":24832,"24":52,"16":135716813320224768,"45":8119004991325614080},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,9,24,16,45]} 
[2026-07-15 00:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718423040001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:43:43] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-15 00:43:43] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 00:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135716813320224768,"km_value":135716813320224.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8119004991325614080,"description":"Unknown IO ID 45"} 
[2026-07-15 00:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718423040001,"power":27887,"unknown_239":206,"unknown_9":24832,"ignition":52,"odometer":null,"unknown_45":8119004991325614080}} 
[2026-07-15 00:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":132911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488711,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:43:43] local.INFO: GPS data processed {"connection_id":132911,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:43:43] local.INFO: Acknowledgment sent {"connection_id":132911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:43:44] local.INFO: TCP Data received {"connection_id":132911,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f620b94d0012d70914005f5d920000501532a..."} 
[2026-07-15 00:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f620b94d0012d70914005f5d920000501532a..."} 
[2026-07-15 00:43:44] local.INFO: Processing buffer {"connection_id":132911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f620b94d0012d70914005f5d920000501532a..."} 
[2026-07-15 00:43:44] local.INFO: Packet analysis {"connection_id":132911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f620b"} 
[2026-07-15 00:43:44] local.INFO: Extracted packet for processing {"connection_id":132911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f620b"} 
[2026-07-15 00:43:44] local.INFO: GPS Element Parsed {"raw_longitude":762351936,"raw_latitude":99997984,"longitude_deg":76.2351936,"latitude_deg":9.9997984,"altitude":5,"angle":339,"satellites":42,"speed":52,"hex_longitude":"2d709140","hex_latitude":"05f5d920","is_valid_coordinates":true} 
[2026-07-15 00: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-07-15 00:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718424832001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135717259996823552,"note":"Value kept but may cause issues"} 
[2026-07-15 00:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8114993972909666304,"note":"Value kept but may cause issues"} 
[2026-07-15 00:43:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784056354000,"timestamp_ms":1784056354000,"timestamp_seconds":1784056354,"priority":1,"record_length":96,"hex_timestamp":"0000019f620b94d0"} 
[2026-07-15 00:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:43:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-15 00:43:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00: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-07-15 00:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":132911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":132911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":132911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718424832001,"66":27876,"239":206,"9":24832,"24":52,"16":135717259996823552,"45":8114993972909666304},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,9,24,16,45]} 
[2026-07-15 00:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718424832001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:43:44] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-15 00:43:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 00:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135717259996823552,"km_value":135717259996823.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8114993972909666304,"description":"Unknown IO ID 45"} 
[2026-07-15 00:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718424832001,"power":27876,"unknown_239":206,"unknown_9":24832,"ignition":52,"odometer":null,"unknown_45":8114993972909666304}} 
[2026-07-15 00:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":132911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488712,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:43:45] local.INFO: GPS data processed {"connection_id":132911,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:43:45] local.INFO: Acknowledgment sent {"connection_id":132911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:44:08] local.INFO: TCP Data received {"connection_id":134283,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:44:08] local.INFO: Processing buffer {"connection_id":134283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:44:08] local.INFO: IMEI packet received {"connection_id":134283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":134283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:44:13] local.INFO: TCP Data received {"connection_id":134283,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:44:13] local.INFO: Processing buffer {"connection_id":134283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:44:13] local.INFO: IMEI packet received {"connection_id":134283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":134283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:44:13] local.INFO: TCP Data received {"connection_id":134283,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f62084528012d7f92c005afd830000000502a..."} 
[2026-07-15 00:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62084528012d7f92c005afd830000000502a..."} 
[2026-07-15 00:44:13] local.INFO: Processing buffer {"connection_id":134283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62084528012d7f92c005afd830000000502a..."} 
[2026-07-15 00:44:13] local.INFO: Packet analysis {"connection_id":134283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6208"} 
[2026-07-15 00:44:13] local.INFO: Extracted packet for processing {"connection_id":134283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6208"} 
[2026-07-15 00:44:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718294016001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784056137000,"timestamp_ms":1784056137000,"timestamp_seconds":1784056137,"priority":1,"record_length":96,"hex_timestamp":"0000019f62084528"} 
[2026-07-15 00:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:44:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:44:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:44:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":134283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":134283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":134283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:44:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718294016001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718294016001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:44:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:44:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718294016001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":134283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:44:13] local.INFO: GPS data processed {"connection_id":134283,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:44:13] local.INFO: Acknowledgment sent {"connection_id":134283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:44:16] local.INFO: TCP Data received {"connection_id":132911,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f620bb028012d7084c005f5f9c8000401522a..."} 
[2026-07-15 00:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f620bb028012d7084c005f5f9c8000401522a..."} 
[2026-07-15 00:44:16] local.INFO: Processing buffer {"connection_id":132911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f620bb028012d7084c005f5f9c8000401522a..."} 
[2026-07-15 00:44:16] local.INFO: Packet analysis {"connection_id":132911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f620b"} 
[2026-07-15 00:44:16] local.INFO: Extracted packet for processing {"connection_id":132911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f620b"} 
[2026-07-15 00:44:16] local.INFO: GPS Element Parsed {"raw_longitude":762348736,"raw_latitude":100006344,"longitude_deg":76.2348736,"latitude_deg":10.0006344,"altitude":4,"angle":338,"satellites":42,"speed":48,"hex_longitude":"2d7084c0","hex_latitude":"05f5f9c8","is_valid_coordinates":true} 
[2026-07-15 00: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-07-15 00:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718426624001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135717693788520448,"note":"Value kept but may cause issues"} 
[2026-07-15 00:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8111334798214635520,"note":"Value kept but may cause issues"} 
[2026-07-15 00:44:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784056361000,"timestamp_ms":1784056361000,"timestamp_seconds":1784056361,"priority":1,"record_length":96,"hex_timestamp":"0000019f620bb028"} 
[2026-07-15 00:44:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:44:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-15 00:44:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00: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-07-15 00:44:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:44:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718426624001,"66":27995,"239":206,"9":24832,"24":48,"16":135717693788520448,"45":8111334798214635520},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,9,24,16,45]} 
[2026-07-15 00:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718426624001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:44:16] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-15 00:44:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 00:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135717693788520448,"km_value":135717693788520.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8111334798214635520,"description":"Unknown IO ID 45"} 
[2026-07-15 00:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718426624001,"power":27995,"unknown_239":206,"unknown_9":24832,"ignition":48,"odometer":null,"unknown_45":8111334798214635520}} 
[2026-07-15 00:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":132911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488714,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:44:16] local.INFO: GPS data processed {"connection_id":132911,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:44:16] local.INFO: Acknowledgment sent {"connection_id":132911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:44:18] local.INFO: TCP Data received {"connection_id":134283,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f62084528012d7f92c005afd830000000502a..."} 
[2026-07-15 00:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62084528012d7f92c005afd830000000502a..."} 
[2026-07-15 00:44:18] local.INFO: Processing buffer {"connection_id":134283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62084528012d7f92c005afd830000000502a..."} 
[2026-07-15 00:44:18] local.INFO: Packet analysis {"connection_id":134283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6208"} 
[2026-07-15 00:44:18] local.INFO: Extracted packet for processing {"connection_id":134283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6208"} 
[2026-07-15 00:44:18] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00: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-07-15 00:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718294016001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:44:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:44:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784056137000,"timestamp_ms":1784056137000,"timestamp_seconds":1784056137,"priority":1,"record_length":96,"hex_timestamp":"0000019f62084528"} 
[2026-07-15 00:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:44:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 00:44:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00: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-07-15 00:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":134283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":134283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":134283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:44: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-07-15 00:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718294016001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718294016001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:44:18] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:44:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:44:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718294016001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":134283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:44:18] local.INFO: GPS data processed {"connection_id":134283,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:44:18] local.INFO: Acknowledgment sent {"connection_id":134283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:44:47] local.INFO: TCP Data received {"connection_id":131908,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131908,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:44:47] local.INFO: Processing buffer {"connection_id":131908,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:44:47] local.INFO: IMEI packet received {"connection_id":131908,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 00:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":131908,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:44:47] local.INFO: TCP Data received {"connection_id":131908,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131908,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:44:47] local.INFO: Processing buffer {"connection_id":131908,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:44:47] local.INFO: IMEI packet received {"connection_id":131908,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 00:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":131908,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:44:48] local.INFO: TCP Data received {"connection_id":131908,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f620cd138012d6fde4005f74d300008014b2b..."} 
[2026-07-15 00:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f620cd138012d6fde4005f74d300008014b2b..."} 
[2026-07-15 00:44:48] local.INFO: Processing buffer {"connection_id":131908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f620cd138012d6fde4005f74d300008014b2b..."} 
[2026-07-15 00:44:48] local.INFO: Packet analysis {"connection_id":131908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f620c"} 
[2026-07-15 00:44:48] local.INFO: Extracted packet for processing {"connection_id":131908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f620c"} 
[2026-07-15 00:44:48] local.INFO: GPS Element Parsed {"raw_longitude":762306112,"raw_latitude":100093232,"longitude_deg":76.2306112,"latitude_deg":10.0093232,"altitude":8,"angle":331,"satellites":43,"speed":53,"hex_longitude":"2d6fde40","hex_latitude":"05f74d30","is_valid_coordinates":true} 
[2026-07-15 00:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718445568001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135722379597840384,"note":"Value kept but may cause issues"} 
[2026-07-15 00:44:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8065946958242326528,"note":"Value kept but may cause issues"} 
[2026-07-15 00:44:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784056435000,"timestamp_ms":1784056435000,"timestamp_seconds":1784056435,"priority":1,"record_length":96,"hex_timestamp":"0000019f620cd138"} 
[2026-07-15 00:44:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:44:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-15 00:44:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:44:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:44:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":131908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":131908,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":131908,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:44:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718445568001,"66":27887,"236":206,"9":24832,"24":53,"16":135722379597840384,"45":8065946958242326528},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,9,24,16,45]} 
[2026-07-15 00:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718445568001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:44:48] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-15 00:44:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 00:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135722379597840384,"km_value":135722379597840.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:44:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8065946958242326528,"description":"Unknown IO ID 45"} 
[2026-07-15 00:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718445568001,"power":27887,"unknown_236":206,"unknown_9":24832,"ignition":53,"odometer":null,"unknown_45":8065946958242326528}} 
[2026-07-15 00:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":131908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488716,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:44:48] local.INFO: GPS data processed {"connection_id":131908,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:44:48] local.INFO: Acknowledgment sent {"connection_id":131908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:44:51] local.INFO: TCP Data received {"connection_id":131908,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f620cec90012d6fcdc005f76dc80008015029..."} 
[2026-07-15 00:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f620cec90012d6fcdc005f76dc80008015029..."} 
[2026-07-15 00:44:51] local.INFO: Processing buffer {"connection_id":131908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f620cec90012d6fcdc005f76dc80008015029..."} 
[2026-07-15 00:44:51] local.INFO: Packet analysis {"connection_id":131908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f620c"} 
[2026-07-15 00:44:51] local.INFO: Extracted packet for processing {"connection_id":131908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f620c"} 
[2026-07-15 00:44:51] local.INFO: GPS Element Parsed {"raw_longitude":762301888,"raw_latitude":100101576,"longitude_deg":76.2301888,"latitude_deg":10.0101576,"altitude":8,"angle":336,"satellites":41,"speed":53,"hex_longitude":"2d6fcdc0","hex_latitude":"05f76dc8","is_valid_coordinates":true} 
[2026-07-15 00:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718447360001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135722834864373760,"note":"Value kept but may cause issues"} 
[2026-07-15 00:44:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8060950777407811584,"note":"Value kept but may cause issues"} 
[2026-07-15 00:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784056442000,"timestamp_ms":1784056442000,"timestamp_seconds":1784056442,"priority":1,"record_length":96,"hex_timestamp":"0000019f620cec90"} 
[2026-07-15 00:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:44:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-15 00:44:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:44:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":131908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":131908,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":131908,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718447360001,"66":28006,"236":206,"9":24832,"24":53,"16":135722834864373760,"45":8060950777407811584},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,9,24,16,45]} 
[2026-07-15 00:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718447360001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:44:51] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-15 00:44:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 00:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135722834864373760,"km_value":135722834864373.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:44:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8060950777407811584,"description":"Unknown IO ID 45"} 
[2026-07-15 00:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718447360001,"power":28006,"unknown_236":206,"unknown_9":24832,"ignition":53,"odometer":null,"unknown_45":8060950777407811584}} 
[2026-07-15 00:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":131908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488717,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:44:52] local.INFO: GPS data processed {"connection_id":131908,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:44:52] local.INFO: Acknowledgment sent {"connection_id":131908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:45:02] local.INFO: TCP Data received {"connection_id":131909,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:45:02] local.INFO: Processing buffer {"connection_id":131909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:45:02] local.INFO: IMEI packet received {"connection_id":131909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":131909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:45:07] local.INFO: TCP Data received {"connection_id":131909,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:45:07] local.INFO: Processing buffer {"connection_id":131909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:45:07] local.INFO: IMEI packet received {"connection_id":131909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":131909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:45:08] local.INFO: TCP Data received {"connection_id":131909,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f620cdcf0012d7f92c005afd830000000502a..."} 
[2026-07-15 00:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f620cdcf0012d7f92c005afd830000000502a..."} 
[2026-07-15 00:45:08] local.INFO: Processing buffer {"connection_id":131909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f620cdcf0012d7f92c005afd830000000502a..."} 
[2026-07-15 00:45:08] local.INFO: Packet analysis {"connection_id":131909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f620c"} 
[2026-07-15 00:45:08] local.INFO: Extracted packet for processing {"connection_id":131909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f620c"} 
[2026-07-15 00:45:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718371072001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784056438000,"timestamp_ms":1784056438000,"timestamp_seconds":1784056438,"priority":1,"record_length":96,"hex_timestamp":"0000019f620cdcf0"} 
[2026-07-15 00:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 00:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":131909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":131909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":131909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718371072001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718371072001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:45:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:45:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718371072001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":131909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:45:08] local.INFO: GPS data processed {"connection_id":131909,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:45:08] local.INFO: Acknowledgment sent {"connection_id":131909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:45:37] local.INFO: TCP Data received {"connection_id":132075,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132075,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:45:37] local.INFO: Processing buffer {"connection_id":132075,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:45:37] local.INFO: IMEI packet received {"connection_id":132075,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 00:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":132075,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:45:40] local.INFO: TCP Data received {"connection_id":132075,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132075,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:45:40] local.INFO: Processing buffer {"connection_id":132075,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:45:40] local.INFO: IMEI packet received {"connection_id":132075,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 00:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":132075,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:45:40] local.INFO: TCP Data received {"connection_id":131909,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f620cdcf0012d7f92c005afd830000000502a..."} 
[2026-07-15 00:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f620cdcf0012d7f92c005afd830000000502a..."} 
[2026-07-15 00:45:40] local.INFO: Processing buffer {"connection_id":131909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f620cdcf0012d7f92c005afd830000000502a..."} 
[2026-07-15 00:45:40] local.INFO: Packet analysis {"connection_id":131909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f620c"} 
[2026-07-15 00:45:40] local.INFO: Extracted packet for processing {"connection_id":131909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f620c"} 
[2026-07-15 00:45:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718371072001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:45:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784056438000,"timestamp_ms":1784056438000,"timestamp_seconds":1784056438,"priority":1,"record_length":96,"hex_timestamp":"0000019f620cdcf0"} 
[2026-07-15 00:45:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:45:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 00:45:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:45:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:45:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:45:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718371072001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718371072001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:45:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:45:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:45:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718371072001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":131909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:45:40] local.INFO: GPS data processed {"connection_id":131909,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:45:40] local.INFO: Acknowledgment sent {"connection_id":131909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:45:41] local.INFO: TCP Data received {"connection_id":132075,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f620d07e8012d6fbf4005f78e500008014b2d..."} 
[2026-07-15 00:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f620d07e8012d6fbf4005f78e500008014b2d..."} 
[2026-07-15 00:45:41] local.INFO: Processing buffer {"connection_id":132075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f620d07e8012d6fbf4005f78e500008014b2d..."} 
[2026-07-15 00:45:41] local.INFO: Packet analysis {"connection_id":132075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f620d"} 
[2026-07-15 00:45:41] local.INFO: Extracted packet for processing {"connection_id":132075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f620d"} 
[2026-07-15 00:45:41] local.INFO: GPS Element Parsed {"raw_longitude":762298176,"raw_latitude":100109904,"longitude_deg":76.2298176,"latitude_deg":10.0109904,"altitude":8,"angle":331,"satellites":45,"speed":51,"hex_longitude":"2d6fbf40","hex_latitude":"05f78e50","is_valid_coordinates":true} 
[2026-07-15 00: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-07-15 00:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718449152001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135723272951037952,"note":"Value kept but may cause issues"} 
[2026-07-15 00:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8056306440294221824,"note":"Value kept but may cause issues"} 
[2026-07-15 00:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784056449000,"timestamp_ms":1784056449000,"timestamp_seconds":1784056449,"priority":1,"record_length":96,"hex_timestamp":"0000019f620d07e8"} 
[2026-07-15 00:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:45:41] 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-07-15 00: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 00:45:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00: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-07-15 00:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132075,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132075,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718449152001,"66":28050,"77":206,"8":65280,"24":51,"16":135723272951037952,"45":8056306440294221824},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,8,24,16,45]} 
[2026-07-15 00:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718449152001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:45:41] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-07-15 00:45:41] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-15 00:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135723272951037952,"km_value":135723272951037.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8056306440294221824,"description":"Unknown IO ID 45"} 
[2026-07-15 00:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718449152001,"power":28050,"unknown_77":206,"unknown_8":65280,"ignition":51,"odometer":null,"unknown_45":8056306440294221824}} 
[2026-07-15 00:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":132075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488720,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:45:41] local.INFO: GPS data processed {"connection_id":132075,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:45:41] local.INFO: Acknowledgment sent {"connection_id":132075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:46:03] local.INFO: TCP Data received {"connection_id":134284,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:46:03] local.INFO: Processing buffer {"connection_id":134284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:46:03] local.INFO: IMEI packet received {"connection_id":134284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":134284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:46:09] local.INFO: TCP Data received {"connection_id":134284,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:46:09] local.INFO: Processing buffer {"connection_id":134284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:46:09] local.INFO: IMEI packet received {"connection_id":134284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":134284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:46:09] local.INFO: TCP Data received {"connection_id":134284,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f620cdcf0012d7f92c005afd830000000502a..."} 
[2026-07-15 00:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f620cdcf0012d7f92c005afd830000000502a..."} 
[2026-07-15 00:46:09] local.INFO: Processing buffer {"connection_id":134284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f620cdcf0012d7f92c005afd830000000502a..."} 
[2026-07-15 00:46:09] local.INFO: Packet analysis {"connection_id":134284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f620c"} 
[2026-07-15 00:46:09] local.INFO: Extracted packet for processing {"connection_id":134284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f620c"} 
[2026-07-15 00:46:09] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718371072001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784056438000,"timestamp_ms":1784056438000,"timestamp_seconds":1784056438,"priority":1,"record_length":96,"hex_timestamp":"0000019f620cdcf0"} 
[2026-07-15 00:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 00:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":134284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":134284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":134284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718371072001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718371072001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:46:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:46:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718371072001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":134284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:46:09] local.INFO: GPS data processed {"connection_id":134284,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:46:09] local.INFO: Acknowledgment sent {"connection_id":134284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:46:11] local.INFO: TCP Data received {"connection_id":132075,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f620d2728012d6fac0005f7b0200009014c28..."} 
[2026-07-15 00:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f620d2728012d6fac0005f7b0200009014c28..."} 
[2026-07-15 00:46:11] local.INFO: Processing buffer {"connection_id":132075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f620d2728012d6fac0005f7b0200009014c28..."} 
[2026-07-15 00:46:11] local.INFO: Packet analysis {"connection_id":132075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f620d"} 
[2026-07-15 00:46:11] local.INFO: Extracted packet for processing {"connection_id":132075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f620d"} 
[2026-07-15 00:46:11] local.INFO: GPS Element Parsed {"raw_longitude":762293248,"raw_latitude":100118560,"longitude_deg":76.2293248,"latitude_deg":10.011856,"altitude":9,"angle":332,"satellites":40,"speed":46,"hex_longitude":"2d6fac00","hex_latitude":"05f7b020","is_valid_coordinates":true} 
[2026-07-15 00:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718450944001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135723753987375104,"note":"Value kept but may cause issues"} 
[2026-07-15 00:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8052225053134049280,"note":"Value kept but may cause issues"} 
[2026-07-15 00:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784056457000,"timestamp_ms":1784056457000,"timestamp_seconds":1784056457,"priority":1,"record_length":96,"hex_timestamp":"0000019f620d2728"} 
[2026-07-15 00:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-15 00:46:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132075,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132075,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718450944001,"66":28050,"77":206,"8":65280,"24":46,"16":135723753987375104,"45":8052225053134049280},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,8,24,16,45]} 
[2026-07-15 00:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718450944001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:46:11] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-07-15 00:46:11] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-15 00:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135723753987375104,"km_value":135723753987375.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8052225053134049280,"description":"Unknown IO ID 45"} 
[2026-07-15 00:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718450944001,"power":28050,"unknown_77":206,"unknown_8":65280,"ignition":46,"odometer":null,"unknown_45":8052225053134049280}} 
[2026-07-15 00:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":132075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488722,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:46:12] local.INFO: GPS data processed {"connection_id":132075,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:46:12] local.INFO: Acknowledgment sent {"connection_id":132075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:46:34] local.INFO: TCP Data received {"connection_id":132912,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132912,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:46:34] local.INFO: Processing buffer {"connection_id":132912,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:46:34] local.INFO: IMEI packet received {"connection_id":132912,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 00:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":132912,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:46:36] local.INFO: TCP Data received {"connection_id":132912,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132912,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:46:36] local.INFO: Processing buffer {"connection_id":132912,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:46:36] local.INFO: IMEI packet received {"connection_id":132912,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 00:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":132912,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:46:41] local.INFO: TCP Data received {"connection_id":132912,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132912,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:46:41] local.INFO: Processing buffer {"connection_id":132912,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:46:41] local.INFO: IMEI packet received {"connection_id":132912,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 00:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":132912,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:46:42] local.INFO: TCP Data received {"connection_id":132912,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f620e57d8012d6eff8005f90aa8000801572a..."} 
[2026-07-15 00:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f620e57d8012d6eff8005f90aa8000801572a..."} 
[2026-07-15 00:46:42] local.INFO: Processing buffer {"connection_id":132912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f620e57d8012d6eff8005f90aa8000801572a..."} 
[2026-07-15 00:46:42] local.INFO: Packet analysis {"connection_id":132912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f620e"} 
[2026-07-15 00:46:42] local.INFO: Extracted packet for processing {"connection_id":132912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f620e"} 
[2026-07-15 00:46:42] local.INFO: GPS Element Parsed {"raw_longitude":762249088,"raw_latitude":100207272,"longitude_deg":76.2249088,"latitude_deg":10.0207272,"altitude":8,"angle":343,"satellites":42,"speed":50,"hex_longitude":"2d6eff80","hex_latitude":"05f90aa8","is_valid_coordinates":true} 
[2026-07-15 00:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718471936001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135728555760812032,"note":"Value kept but may cause issues"} 
[2026-07-15 00:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8000574394931390464,"note":"Value kept but may cause issues"} 
[2026-07-15 00:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784056535000,"timestamp_ms":1784056535000,"timestamp_seconds":1784056535,"priority":1,"record_length":96,"hex_timestamp":"0000019f620e57d8"} 
[2026-07-15 00:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-15 00:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132912,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132912,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718471936001,"66":27343,"78":206,"8":65280,"24":50,"16":135728555760812032,"45":8000574394931390464},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,8,24,16,45]} 
[2026-07-15 00:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718471936001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:46:42] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-07-15 00:46:42] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-15 00:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135728555760812032,"km_value":135728555760812.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8000574394931390464,"description":"Unknown IO ID 45"} 
[2026-07-15 00:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718471936001,"power":27343,"unknown_78":206,"unknown_8":65280,"ignition":50,"odometer":null,"unknown_45":8000574394931390464}} 
[2026-07-15 00:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":132912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488723,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:46:42] local.INFO: GPS data processed {"connection_id":132912,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:46:42] local.INFO: Acknowledgment sent {"connection_id":132912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:46:42] local.INFO: TCP Data received {"connection_id":134284,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f620cdcf0012d7f92c005afd830000000502a..."} 
[2026-07-15 00:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f620cdcf0012d7f92c005afd830000000502a..."} 
[2026-07-15 00:46:42] local.INFO: Processing buffer {"connection_id":134284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f620cdcf0012d7f92c005afd830000000502a..."} 
[2026-07-15 00:46:42] local.INFO: Packet analysis {"connection_id":134284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f620c"} 
[2026-07-15 00:46:42] local.INFO: Extracted packet for processing {"connection_id":134284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f620c"} 
[2026-07-15 00:46:42] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718371072001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784056438000,"timestamp_ms":1784056438000,"timestamp_seconds":1784056438,"priority":1,"record_length":96,"hex_timestamp":"0000019f620cdcf0"} 
[2026-07-15 00:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 00:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":134284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":134284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":134284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718371072001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718371072001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:46:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:46:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718371072001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":134284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:46:42] local.INFO: GPS data processed {"connection_id":134284,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:46:42] local.INFO: Acknowledgment sent {"connection_id":134284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:47:02] local.INFO: TCP Data received {"connection_id":132913,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:47:02] local.INFO: Processing buffer {"connection_id":132913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:47:02] local.INFO: IMEI packet received {"connection_id":132913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":132913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:47:07] local.INFO: TCP Data received {"connection_id":132913,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:47:07] local.INFO: Processing buffer {"connection_id":132913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:47:07] local.INFO: IMEI packet received {"connection_id":132913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":132913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:47:08] local.INFO: TCP Data received {"connection_id":132913,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f620cdcf0012d7f92c005afd830000000502a..."} 
[2026-07-15 00:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f620cdcf0012d7f92c005afd830000000502a..."} 
[2026-07-15 00:47:08] local.INFO: Processing buffer {"connection_id":132913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f620cdcf0012d7f92c005afd830000000502a..."} 
[2026-07-15 00:47:08] local.INFO: Packet analysis {"connection_id":132913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f620c"} 
[2026-07-15 00:47:08] local.INFO: Extracted packet for processing {"connection_id":132913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f620c"} 
[2026-07-15 00:47:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718371072001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784056438000,"timestamp_ms":1784056438000,"timestamp_seconds":1784056438,"priority":1,"record_length":96,"hex_timestamp":"0000019f620cdcf0"} 
[2026-07-15 00:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 00:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:47:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718371072001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718371072001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:47:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:47:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718371072001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":132913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:47:08] local.INFO: GPS data processed {"connection_id":132913,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:47:08] local.INFO: Acknowledgment sent {"connection_id":132913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:47:34] local.INFO: TCP Data received {"connection_id":132912,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f620e7330012d6ef84005f92d600009015b2c..."} 
[2026-07-15 00:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f620e7330012d6ef84005f92d600009015b2c..."} 
[2026-07-15 00:47:34] local.INFO: Processing buffer {"connection_id":132912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f620e7330012d6ef84005f92d600009015b2c..."} 
[2026-07-15 00:47:34] local.INFO: Packet analysis {"connection_id":132912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f620e"} 
[2026-07-15 00:47:34] local.INFO: Extracted packet for processing {"connection_id":132912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f620e"} 
[2026-07-15 00:47:34] local.INFO: GPS Element Parsed {"raw_longitude":762247232,"raw_latitude":100216160,"longitude_deg":76.2247232,"latitude_deg":10.021616,"altitude":9,"angle":347,"satellites":44,"speed":52,"hex_longitude":"2d6ef840","hex_latitude":"05f92d60","is_valid_coordinates":true} 
[2026-07-15 00: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-07-15 00:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718472960001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135728993847476224,"note":"Value kept but may cause issues"} 
[2026-07-15 00:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7998252226374707200,"note":"Value kept but may cause issues"} 
[2026-07-15 00:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784056542000,"timestamp_ms":1784056542000,"timestamp_seconds":1784056542,"priority":1,"record_length":96,"hex_timestamp":"0000019f620e7330"} 
[2026-07-15 00:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:47:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-15 00:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00: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-07-15 00:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":132912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":132912,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":132912,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718472960001,"66":27365,"78":206,"8":65280,"24":52,"16":135728993847476224,"45":7998252226374707200},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,8,24,16,45]} 
[2026-07-15 00:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718472960001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:47:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-07-15 00:47:34] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-15 00:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135728993847476224,"km_value":135728993847476.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7998252226374707200,"description":"Unknown IO ID 45"} 
[2026-07-15 00:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718472960001,"power":27365,"unknown_78":206,"unknown_8":65280,"ignition":52,"odometer":null,"unknown_45":7998252226374707200}} 
[2026-07-15 00:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":132912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488726,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:47:34] local.INFO: GPS data processed {"connection_id":132912,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:47:34] local.INFO: Acknowledgment sent {"connection_id":132912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:47:41] local.INFO: TCP Data received {"connection_id":132913,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f620cdcf0012d7f92c005afd830000000502a..."} 
[2026-07-15 00:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f620cdcf0012d7f92c005afd830000000502a..."} 
[2026-07-15 00:47:41] local.INFO: Processing buffer {"connection_id":132913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f620cdcf0012d7f92c005afd830000000502a..."} 
[2026-07-15 00:47:41] local.INFO: Packet analysis {"connection_id":132913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f620c"} 
[2026-07-15 00:47:41] local.INFO: Extracted packet for processing {"connection_id":132913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f620c"} 
[2026-07-15 00:47:41] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718371072001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784056438000,"timestamp_ms":1784056438000,"timestamp_seconds":1784056438,"priority":1,"record_length":96,"hex_timestamp":"0000019f620cdcf0"} 
[2026-07-15 00:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 00:47:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718371072001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718371072001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:47:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:47:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718371072001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":132913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:47:41] local.INFO: GPS data processed {"connection_id":132913,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:47:41] local.INFO: Acknowledgment sent {"connection_id":132913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:47:41] local.INFO: TCP Data received {"connection_id":134285,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134285,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:47:41] local.INFO: Processing buffer {"connection_id":134285,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:47:41] local.INFO: IMEI packet received {"connection_id":134285,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 00:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":134285,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:47:44] local.INFO: TCP Data received {"connection_id":134285,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134285,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:47:44] local.INFO: Processing buffer {"connection_id":134285,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:47:44] local.INFO: IMEI packet received {"connection_id":134285,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 00:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":134285,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:47:45] local.INFO: TCP Data received {"connection_id":134285,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f620e8e88012d6ef04005f950080009015a2b..."} 
[2026-07-15 00:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f620e8e88012d6ef04005f950080009015a2b..."} 
[2026-07-15 00:47:45] local.INFO: Processing buffer {"connection_id":134285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f620e8e88012d6ef04005f950080009015a2b..."} 
[2026-07-15 00:47:45] local.INFO: Packet analysis {"connection_id":134285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f620e"} 
[2026-07-15 00:47:45] local.INFO: Extracted packet for processing {"connection_id":134285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f620e"} 
[2026-07-15 00:47:45] local.INFO: GPS Element Parsed {"raw_longitude":762245184,"raw_latitude":100225032,"longitude_deg":76.2245184,"latitude_deg":10.0225032,"altitude":9,"angle":346,"satellites":43,"speed":51,"hex_longitude":"2d6ef040","hex_latitude":"05f95008","is_valid_coordinates":true} 
[2026-07-15 00:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718474752001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135729436229107712,"note":"Value kept but may cause issues"} 
[2026-07-15 00:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7996211532795830272,"note":"Value kept but may cause issues"} 
[2026-07-15 00:47:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784056549000,"timestamp_ms":1784056549000,"timestamp_seconds":1784056549,"priority":1,"record_length":96,"hex_timestamp":"0000019f620e8e88"} 
[2026-07-15 00:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:47:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-15 00:47:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:47:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":134285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":134285,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":134285,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718474752001,"66":27865,"78":206,"8":65280,"24":51,"16":135729436229107712,"45":7996211532795830272},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,8,24,16,45]} 
[2026-07-15 00:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718474752001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:47:45] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-07-15 00:47:45] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-15 00:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135729436229107712,"km_value":135729436229107.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":7996211532795830272,"description":"Unknown IO ID 45"} 
[2026-07-15 00:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718474752001,"power":27865,"unknown_78":206,"unknown_8":65280,"ignition":51,"odometer":null,"unknown_45":7996211532795830272}} 
[2026-07-15 00:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":134285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488728,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:47:45] local.INFO: GPS data processed {"connection_id":134285,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:47:45] local.INFO: Acknowledgment sent {"connection_id":134285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:47:46] local.INFO: TCP Data received {"connection_id":134285,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f620ea9e0012d6ee70005f97218000901592a..."} 
[2026-07-15 00:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f620ea9e0012d6ee70005f97218000901592a..."} 
[2026-07-15 00:47:46] local.INFO: Processing buffer {"connection_id":134285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f620ea9e0012d6ee70005f97218000901592a..."} 
[2026-07-15 00:47:46] local.INFO: Packet analysis {"connection_id":134285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f620e"} 
[2026-07-15 00:47:46] local.INFO: Extracted packet for processing {"connection_id":134285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f620e"} 
[2026-07-15 00:47:46] local.INFO: GPS Element Parsed {"raw_longitude":762242816,"raw_latitude":100233752,"longitude_deg":76.2242816,"latitude_deg":10.0233752,"altitude":9,"angle":345,"satellites":42,"speed":50,"hex_longitude":"2d6ee700","hex_latitude":"05f97218","is_valid_coordinates":true} 
[2026-07-15 00:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718476544001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135729874315771904,"note":"Value kept but may cause issues"} 
[2026-07-15 00:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7993959732984416256,"note":"Value kept but may cause issues"} 
[2026-07-15 00:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784056556000,"timestamp_ms":1784056556000,"timestamp_seconds":1784056556,"priority":1,"record_length":96,"hex_timestamp":"0000019f620ea9e0"} 
[2026-07-15 00:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-15 00:47:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":134285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":134285,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":134285,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718476544001,"66":28082,"78":206,"8":65280,"24":50,"16":135729874315771904,"45":7993959732984416256},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,8,24,16,45]} 
[2026-07-15 00:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718476544001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:47:46] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-07-15 00:47:46] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-15 00:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135729874315771904,"km_value":135729874315771.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":7993959732984416256,"description":"Unknown IO ID 45"} 
[2026-07-15 00:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718476544001,"power":28082,"unknown_78":206,"unknown_8":65280,"ignition":50,"odometer":null,"unknown_45":7993959732984416256}} 
[2026-07-15 00:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":134285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488729,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:47:46] local.INFO: GPS data processed {"connection_id":134285,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:47:46] local.INFO: Acknowledgment sent {"connection_id":134285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:48:07] local.INFO: TCP Data received {"connection_id":132076,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:48:07] local.INFO: Processing buffer {"connection_id":132076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:48:07] local.INFO: IMEI packet received {"connection_id":132076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":132076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:48:12] local.INFO: TCP Data received {"connection_id":132076,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:48:12] local.INFO: Processing buffer {"connection_id":132076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:48:12] local.INFO: IMEI packet received {"connection_id":132076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":132076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:48:13] local.INFO: TCP Data received {"connection_id":132076,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f620cdcf0012d7f92c005afd830000000502a..."} 
[2026-07-15 00:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f620cdcf0012d7f92c005afd830000000502a..."} 
[2026-07-15 00:48:13] local.INFO: Processing buffer {"connection_id":132076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f620cdcf0012d7f92c005afd830000000502a..."} 
[2026-07-15 00:48:13] local.INFO: Packet analysis {"connection_id":132076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f620c"} 
[2026-07-15 00:48:13] local.INFO: Extracted packet for processing {"connection_id":132076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f620c"} 
[2026-07-15 00:48:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718371072001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:48:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:48:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784056438000,"timestamp_ms":1784056438000,"timestamp_seconds":1784056438,"priority":1,"record_length":96,"hex_timestamp":"0000019f620cdcf0"} 
[2026-07-15 00:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:48:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 00:48:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:48:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:48:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718371072001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718371072001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:48:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:48:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:48:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:48:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:48:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718371072001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":132076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:48:13] local.INFO: GPS data processed {"connection_id":132076,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:48:13] local.INFO: Acknowledgment sent {"connection_id":132076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:48:17] local.INFO: TCP Data received {"connection_id":134285,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f620ff200012d6e638005fb1ab0000801582c..."} 
[2026-07-15 00:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f620ff200012d6e638005fb1ab0000801582c..."} 
[2026-07-15 00:48:17] local.INFO: Processing buffer {"connection_id":134285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f620ff200012d6e638005fb1ab0000801582c..."} 
[2026-07-15 00:48:17] local.INFO: Packet analysis {"connection_id":134285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f620f"} 
[2026-07-15 00:48:17] local.INFO: Extracted packet for processing {"connection_id":134285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f620f"} 
[2026-07-15 00:48:17] local.INFO: GPS Element Parsed {"raw_longitude":762209152,"raw_latitude":100342448,"longitude_deg":76.2209152,"latitude_deg":10.0342448,"altitude":8,"angle":344,"satellites":44,"speed":56,"hex_longitude":"2d6e6380","hex_latitude":"05fb1ab0","is_valid_coordinates":true} 
[2026-07-15 00:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718498048001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135735384758812672,"note":"Value kept but may cause issues"} 
[2026-07-15 00:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7957367986039623680,"note":"Value kept but may cause issues"} 
[2026-07-15 00:48:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784056640000,"timestamp_ms":1784056640000,"timestamp_seconds":1784056640,"priority":1,"record_length":96,"hex_timestamp":"0000019f620ff200"} 
[2026-07-15 00:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:48:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-15 00:48:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:48:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":134285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":134285,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":134285,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:48:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718498048001,"66":27876,"114":206,"8":65280,"24":56,"16":135735384758812672,"45":7957367986039623680},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,8,24,16,45]} 
[2026-07-15 00:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718498048001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:48:17] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-07-15 00:48:17] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-15 00:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135735384758812672,"km_value":135735384758812.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":7957367986039623680,"description":"Unknown IO ID 45"} 
[2026-07-15 00:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718498048001,"power":27876,"unknown_114":206,"unknown_8":65280,"ignition":56,"odometer":null,"unknown_45":7957367986039623680}} 
[2026-07-15 00:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":134285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488731,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:48:17] local.INFO: GPS data processed {"connection_id":134285,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:48:17] local.INFO: Acknowledgment sent {"connection_id":134285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:48:34] local.INFO: TCP Data received {"connection_id":132077,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132077,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:48:34] local.INFO: Processing buffer {"connection_id":132077,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:48:34] local.INFO: IMEI packet received {"connection_id":132077,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 00:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":132077,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:48:36] local.INFO: TCP Data received {"connection_id":132077,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132077,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:48:36] local.INFO: Processing buffer {"connection_id":132077,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:48:36] local.INFO: IMEI packet received {"connection_id":132077,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 00:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":132077,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:48:41] local.INFO: TCP Data received {"connection_id":132077,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132077,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:48:41] local.INFO: Processing buffer {"connection_id":132077,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:48:41] local.INFO: IMEI packet received {"connection_id":132077,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 00:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":132077,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:48:42] local.INFO: TCP Data received {"connection_id":132077,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62100d58012d6e594005fb40e0000701582c..."} 
[2026-07-15 00:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62100d58012d6e594005fb40e0000701582c..."} 
[2026-07-15 00:48:42] local.INFO: Processing buffer {"connection_id":132077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62100d58012d6e594005fb40e0000701582c..."} 
[2026-07-15 00:48:42] local.INFO: Packet analysis {"connection_id":132077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6210"} 
[2026-07-15 00:48:42] local.INFO: Extracted packet for processing {"connection_id":132077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6210"} 
[2026-07-15 00:48:42] local.INFO: GPS Element Parsed {"raw_longitude":762206528,"raw_latitude":100352224,"longitude_deg":76.2206528,"latitude_deg":10.0352224,"altitude":7,"angle":344,"satellites":44,"speed":58,"hex_longitude":"2d6e5940","hex_latitude":"05fb40e0","is_valid_coordinates":true} 
[2026-07-15 00: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-07-15 00:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718499840001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135735878680051712,"note":"Value kept but may cause issues"} 
[2026-07-15 00:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7954342130042449920,"note":"Value kept but may cause issues"} 
[2026-07-15 00:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784056647000,"timestamp_ms":1784056647000,"timestamp_seconds":1784056647,"priority":1,"record_length":96,"hex_timestamp":"0000019f62100d58"} 
[2026-07-15 00:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-15 00:48:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00: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-07-15 00:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132077,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132077,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718499840001,"66":28006,"114":206,"8":65280,"24":58,"16":135735878680051712,"45":7954342130042449920},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,8,24,16,45]} 
[2026-07-15 00:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718499840001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:48:42] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-07-15 00:48:42] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-15 00:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135735878680051712,"km_value":135735878680051.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":7954342130042449920,"description":"Unknown IO ID 45"} 
[2026-07-15 00:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718499840001,"power":28006,"unknown_114":206,"unknown_8":65280,"ignition":58,"odometer":null,"unknown_45":7954342130042449920}} 
[2026-07-15 00:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":132077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488732,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:48:42] local.INFO: GPS data processed {"connection_id":132077,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:48:42] local.INFO: Acknowledgment sent {"connection_id":132077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:48:46] local.INFO: TCP Data received {"connection_id":132076,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f620cdcf0012d7f92c005afd830000000502a..."} 
[2026-07-15 00:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f620cdcf0012d7f92c005afd830000000502a..."} 
[2026-07-15 00:48:46] local.INFO: Processing buffer {"connection_id":132076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f620cdcf0012d7f92c005afd830000000502a..."} 
[2026-07-15 00:48:46] local.INFO: Packet analysis {"connection_id":132076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f620c"} 
[2026-07-15 00:48:46] local.INFO: Extracted packet for processing {"connection_id":132076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f620c"} 
[2026-07-15 00:48:46] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718371072001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784056438000,"timestamp_ms":1784056438000,"timestamp_seconds":1784056438,"priority":1,"record_length":96,"hex_timestamp":"0000019f620cdcf0"} 
[2026-07-15 00:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 00:48:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:48:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718371072001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718371072001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:48:46] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:48:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718371072001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":132076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:48:46] local.INFO: GPS data processed {"connection_id":132076,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:48:46] local.INFO: Acknowledgment sent {"connection_id":132076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:49:02] local.INFO: TCP Data received {"connection_id":131910,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:49:02] local.INFO: Processing buffer {"connection_id":131910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:49:02] local.INFO: IMEI packet received {"connection_id":131910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":131910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:49:08] local.INFO: TCP Data received {"connection_id":131910,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:49:08] local.INFO: Processing buffer {"connection_id":131910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:49:08] local.INFO: IMEI packet received {"connection_id":131910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":131910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:49:09] local.INFO: TCP Data received {"connection_id":131910,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f620cdcf0012d7f92c005afd830000000502a..."} 
[2026-07-15 00:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f620cdcf0012d7f92c005afd830000000502a..."} 
[2026-07-15 00:49:09] local.INFO: Processing buffer {"connection_id":131910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f620cdcf0012d7f92c005afd830000000502a..."} 
[2026-07-15 00:49:09] local.INFO: Packet analysis {"connection_id":131910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f620c"} 
[2026-07-15 00:49:09] local.INFO: Extracted packet for processing {"connection_id":131910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f620c"} 
[2026-07-15 00:49:09] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718371072001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784056438000,"timestamp_ms":1784056438000,"timestamp_seconds":1784056438,"priority":1,"record_length":96,"hex_timestamp":"0000019f620cdcf0"} 
[2026-07-15 00:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 00:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:49:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":131910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":131910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":131910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718371072001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718371072001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:49:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:49:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718371072001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":131910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:49:09] local.INFO: GPS data processed {"connection_id":131910,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:49:09] local.INFO: Acknowledgment sent {"connection_id":131910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:49:14] local.INFO: TCP Data received {"connection_id":132077,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f621028b0012d6e4c8005fb6720000701562c..."} 
[2026-07-15 00:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f621028b0012d6e4c8005fb6720000701562c..."} 
[2026-07-15 00:49:14] local.INFO: Processing buffer {"connection_id":132077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f621028b0012d6e4c8005fb6720000701562c..."} 
[2026-07-15 00:49:14] local.INFO: Packet analysis {"connection_id":132077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6210"} 
[2026-07-15 00:49:14] local.INFO: Extracted packet for processing {"connection_id":132077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6210"} 
[2026-07-15 00:49:14] local.INFO: GPS Element Parsed {"raw_longitude":762203264,"raw_latitude":100362016,"longitude_deg":76.2203264,"latitude_deg":10.0362016,"altitude":7,"angle":342,"satellites":44,"speed":58,"hex_longitude":"2d6e4c80","hex_latitude":"05fb6720","is_valid_coordinates":true} 
[2026-07-15 00:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718501632001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135736376896258048,"note":"Value kept but may cause issues"} 
[2026-07-15 00:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7951457011533668352,"note":"Value kept but may cause issues"} 
[2026-07-15 00:49:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784056654000,"timestamp_ms":1784056654000,"timestamp_seconds":1784056654,"priority":1,"record_length":96,"hex_timestamp":"0000019f621028b0"} 
[2026-07-15 00:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:49:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 00:49:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:49:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":132077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":132077,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":132077,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:49:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718501632001,"66":27876,"114":206,"8":65280,"24":58,"16":135736376896258048,"45":7951457011533668352},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,8,24,16,45]} 
[2026-07-15 00:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718501632001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:49:14] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-07-15 00:49:14] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-15 00:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135736376896258048,"km_value":135736376896258.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":7951457011533668352,"description":"Unknown IO ID 45"} 
[2026-07-15 00:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718501632001,"power":27876,"unknown_114":206,"unknown_8":65280,"ignition":58,"odometer":null,"unknown_45":7951457011533668352}} 
[2026-07-15 00:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":132077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488735,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:49:14] local.INFO: GPS data processed {"connection_id":132077,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:49:14] local.INFO: Acknowledgment sent {"connection_id":132077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:49:36] local.INFO: TCP Data received {"connection_id":132914,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132914,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:49:36] local.INFO: Processing buffer {"connection_id":132914,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:49:36] local.INFO: IMEI packet received {"connection_id":132914,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 00:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":132914,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:49:40] local.INFO: TCP Data received {"connection_id":131910,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f621174b8012d7f92c005afd8300000005025..."} 
[2026-07-15 00:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f621174b8012d7f92c005afd8300000005025..."} 
[2026-07-15 00:49:40] local.INFO: Processing buffer {"connection_id":131910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f621174b8012d7f92c005afd8300000005025..."} 
[2026-07-15 00:49:40] local.INFO: Packet analysis {"connection_id":131910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6211"} 
[2026-07-15 00:49:40] local.INFO: Extracted packet for processing {"connection_id":131910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6211"} 
[2026-07-15 00:49:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00: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-07-15 00:49:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718448128001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:49:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:49:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784056739000,"timestamp_ms":1784056739000,"timestamp_seconds":1784056739,"priority":1,"record_length":96,"hex_timestamp":"0000019f621174b8"} 
[2026-07-15 00:49:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:49:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 00:49:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00: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-07-15 00:49:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:49:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:49:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718448128001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:49:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:49:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:49:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718448128001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:49:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:49:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:49:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:49:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:49:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718448128001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":131910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:49:40] local.INFO: GPS data processed {"connection_id":131910,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:49:40] local.INFO: Acknowledgment sent {"connection_id":131910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:49:41] local.INFO: TCP Data received {"connection_id":132914,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132914,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:49:41] local.INFO: Processing buffer {"connection_id":132914,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:49:41] local.INFO: IMEI packet received {"connection_id":132914,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 00:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":132914,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:49:43] local.INFO: TCP Data received {"connection_id":132914,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62104408012d6e414005fb8d68000901582a..."} 
[2026-07-15 00:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62104408012d6e414005fb8d68000901582a..."} 
[2026-07-15 00:49:43] local.INFO: Processing buffer {"connection_id":132914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62104408012d6e414005fb8d68000901582a..."} 
[2026-07-15 00:49:43] local.INFO: Packet analysis {"connection_id":132914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6210"} 
[2026-07-15 00:49:43] local.INFO: Extracted packet for processing {"connection_id":132914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6210"} 
[2026-07-15 00:49:43] local.INFO: GPS Element Parsed {"raw_longitude":762200384,"raw_latitude":100371816,"longitude_deg":76.2200384,"latitude_deg":10.0371816,"altitude":9,"angle":344,"satellites":42,"speed":55,"hex_longitude":"2d6e4140","hex_latitude":"05fb8d68","is_valid_coordinates":true} 
[2026-07-15 00:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718503424001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135736870817497088,"note":"Value kept but may cause issues"} 
[2026-07-15 00:49:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7947868205583114240,"note":"Value kept but may cause issues"} 
[2026-07-15 00:49:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784056661000,"timestamp_ms":1784056661000,"timestamp_seconds":1784056661,"priority":1,"record_length":96,"hex_timestamp":"0000019f62104408"} 
[2026-07-15 00:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:49:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-15 00:49:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:49:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":132914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":132914,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":132914,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718503424001,"66":27887,"114":206,"8":65280,"24":55,"16":135736870817497088,"45":7947868205583114240},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,8,24,16,45]} 
[2026-07-15 00:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718503424001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:49:43] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-07-15 00:49:43] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-15 00:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135736870817497088,"km_value":135736870817497.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:49:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":7947868205583114240,"description":"Unknown IO ID 45"} 
[2026-07-15 00:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718503424001,"power":27887,"unknown_114":206,"unknown_8":65280,"ignition":55,"odometer":null,"unknown_45":7947868205583114240}} 
[2026-07-15 00:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":132914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488737,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:49:43] local.INFO: GPS data processed {"connection_id":132914,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:49:43] local.INFO: Acknowledgment sent {"connection_id":132914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:50:08] local.INFO: TCP Data received {"connection_id":134286,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:50:08] local.INFO: Processing buffer {"connection_id":134286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:50:08] local.INFO: IMEI packet received {"connection_id":134286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":134286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:50:13] local.INFO: TCP Data received {"connection_id":134286,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:50:13] local.INFO: Processing buffer {"connection_id":134286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:50:13] local.INFO: IMEI packet received {"connection_id":134286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":134286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:50:14] local.INFO: TCP Data received {"connection_id":134286,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f621174b8012d7f92c005afd8300000005025..."} 
[2026-07-15 00:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f621174b8012d7f92c005afd8300000005025..."} 
[2026-07-15 00:50:14] local.INFO: Processing buffer {"connection_id":134286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f621174b8012d7f92c005afd8300000005025..."} 
[2026-07-15 00:50:14] local.INFO: Packet analysis {"connection_id":134286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6211"} 
[2026-07-15 00:50:14] local.INFO: Extracted packet for processing {"connection_id":134286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6211"} 
[2026-07-15 00:50:14] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718448128001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:50:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784056739000,"timestamp_ms":1784056739000,"timestamp_seconds":1784056739,"priority":1,"record_length":96,"hex_timestamp":"0000019f621174b8"} 
[2026-07-15 00:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 00:50:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:50:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":134286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":134286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":134286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718448128001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718448128001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:50:14] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:50:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718448128001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":134286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:50:14] local.INFO: GPS data processed {"connection_id":134286,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:50:14] local.INFO: Acknowledgment sent {"connection_id":134286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:50:20] local.INFO: TCP Data received {"connection_id":132914,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6211bb08012d6dbe8005fd7c48000701552a..."} 
[2026-07-15 00:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6211bb08012d6dbe8005fd7c48000701552a..."} 
[2026-07-15 00:50:20] local.INFO: Processing buffer {"connection_id":132914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6211bb08012d6dbe8005fd7c48000701552a..."} 
[2026-07-15 00:50:20] local.INFO: Packet analysis {"connection_id":132914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6211"} 
[2026-07-15 00:50:20] local.INFO: Extracted packet for processing {"connection_id":132914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6211"} 
[2026-07-15 00:50:20] local.INFO: GPS Element Parsed {"raw_longitude":762166912,"raw_latitude":100498504,"longitude_deg":76.2166912,"latitude_deg":10.0498504,"altitude":7,"angle":341,"satellites":42,"speed":53,"hex_longitude":"2d6dbe80","hex_latitude":"05fd7c48","is_valid_coordinates":true} 
[2026-07-15 00: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-07-15 00:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718528000001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135742475749818368,"note":"Value kept but may cause issues"} 
[2026-07-15 00:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7910432033713195008,"note":"Value kept but may cause issues"} 
[2026-07-15 00:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1784056757000,"timestamp_ms":1784056757000,"timestamp_seconds":1784056757,"priority":1,"record_length":96,"hex_timestamp":"0000019f6211bb08"} 
[2026-07-15 00:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:50:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-15 00:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00: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-07-15 00:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":132914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":132914,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":132914,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:50:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718528000001,"66":27930,"115":206,"8":65280,"24":53,"16":135742475749818368,"45":7910432033713195008},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,8,24,16,45]} 
[2026-07-15 00:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718528000001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:50:20] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-15 00:50:20] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-15 00:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135742475749818368,"km_value":135742475749818.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":7910432033713195008,"description":"Unknown IO ID 45"} 
[2026-07-15 00:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718528000001,"power":27930,"unknown_115":206,"unknown_8":65280,"ignition":53,"odometer":null,"unknown_45":7910432033713195008}} 
[2026-07-15 00:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":132914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488739,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:50:21] local.INFO: GPS data processed {"connection_id":132914,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:50:21] local.INFO: Acknowledgment sent {"connection_id":132914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:50:35] local.INFO: TCP Data received {"connection_id":134287,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134287,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:50:35] local.INFO: Processing buffer {"connection_id":134287,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:50:35] local.INFO: IMEI packet received {"connection_id":134287,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 00:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":134287,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:50:36] local.INFO: TCP Data received {"connection_id":134287,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134287,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:50:36] local.INFO: Processing buffer {"connection_id":134287,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:50:36] local.INFO: IMEI packet received {"connection_id":134287,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 00:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":134287,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:50:41] local.INFO: TCP Data received {"connection_id":134287,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134287,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:50:41] local.INFO: Processing buffer {"connection_id":134287,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:50:41] local.INFO: IMEI packet received {"connection_id":134287,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 00:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":134287,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:50:42] local.INFO: TCP Data received {"connection_id":134287,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6211d660012d6db40005fd9e000007015029..."} 
[2026-07-15 00:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6211d660012d6db40005fd9e000007015029..."} 
[2026-07-15 00:50:42] local.INFO: Processing buffer {"connection_id":134287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6211d660012d6db40005fd9e000007015029..."} 
[2026-07-15 00:50:42] local.INFO: Packet analysis {"connection_id":134287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6211"} 
[2026-07-15 00:50:42] local.INFO: Extracted packet for processing {"connection_id":134287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6211"} 
[2026-07-15 00:50:42] local.INFO: GPS Element Parsed {"raw_longitude":762164224,"raw_latitude":100507136,"longitude_deg":76.2164224,"latitude_deg":10.0507136,"altitude":7,"angle":336,"satellites":41,"speed":47,"hex_longitude":"2d6db400","hex_latitude":"05fd9e00","is_valid_coordinates":true} 
[2026-07-15 00:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718529792001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135742909541515264,"note":"Value kept but may cause issues"} 
[2026-07-15 00:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7907898758925142016,"note":"Value kept but may cause issues"} 
[2026-07-15 00:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784056764000,"timestamp_ms":1784056764000,"timestamp_seconds":1784056764,"priority":1,"record_length":96,"hex_timestamp":"0000019f6211d660"} 
[2026-07-15 00:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-15 00:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":134287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":134287,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":134287,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718529792001,"66":28006,"115":206,"8":65280,"24":47,"16":135742909541515264,"45":7907898758925142016},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,8,24,16,45]} 
[2026-07-15 00:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718529792001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:50:42] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-15 00:50:42] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-15 00:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135742909541515264,"km_value":135742909541515.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":7907898758925142016,"description":"Unknown IO ID 45"} 
[2026-07-15 00:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718529792001,"power":28006,"unknown_115":206,"unknown_8":65280,"ignition":47,"odometer":null,"unknown_45":7907898758925142016}} 
[2026-07-15 00:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":134287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488740,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:50:42] local.INFO: GPS data processed {"connection_id":134287,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:50:42] local.INFO: Acknowledgment sent {"connection_id":134287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:50:45] local.INFO: TCP Data received {"connection_id":134286,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f621174b8012d7f92c005afd8300000005025..."} 
[2026-07-15 00:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f621174b8012d7f92c005afd8300000005025..."} 
[2026-07-15 00:50:45] local.INFO: Processing buffer {"connection_id":134286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f621174b8012d7f92c005afd8300000005025..."} 
[2026-07-15 00:50:45] local.INFO: Packet analysis {"connection_id":134286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6211"} 
[2026-07-15 00:50:45] local.INFO: Extracted packet for processing {"connection_id":134286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6211"} 
[2026-07-15 00:50:45] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718448128001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784056739000,"timestamp_ms":1784056739000,"timestamp_seconds":1784056739,"priority":1,"record_length":96,"hex_timestamp":"0000019f621174b8"} 
[2026-07-15 00:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:50:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 00:50:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:50:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":134286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":134286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":134286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718448128001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718448128001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:50:45] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:50:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718448128001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":134286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:50:45] local.INFO: GPS data processed {"connection_id":134286,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:50:45] local.INFO: Acknowledgment sent {"connection_id":134286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:51:05] local.INFO: TCP Data received {"connection_id":131911,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:51:05] local.INFO: Processing buffer {"connection_id":131911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:51:05] local.INFO: IMEI packet received {"connection_id":131911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":131911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:51:09] local.INFO: TCP Data received {"connection_id":131911,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:51:09] local.INFO: Processing buffer {"connection_id":131911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:51:09] local.INFO: IMEI packet received {"connection_id":131911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":131911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:51:09] local.INFO: TCP Data received {"connection_id":131911,"ip":"42.106.6.14","data_length":93,"data_hex":"00000000000000518e010000019f621174b8012d7f92c005afd8300000005025..."} 
[2026-07-15 00:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131911,"packet_length":93,"packet_hex":"00000000000000518e010000019f621174b8012d7f92c005afd8300000005025..."} 
[2026-07-15 00:51:09] local.INFO: Processing buffer {"connection_id":131911,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f621174b8012d7f92c005afd8300000005025..."} 
[2026-07-15 00:51:09] local.INFO: Packet analysis {"connection_id":131911,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f6211"} 
[2026-07-15 00:51:09] local.INFO: Extracted packet for processing {"connection_id":131911,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f6211"} 
[2026-07-15 00:51:09] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:51: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":93,"current_offset":40} 
[2026-07-15 00:51:09] 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-07-15 00:51:09] 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-07-15 00:51:09] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:51:09] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-15 00:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":131911,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-15 00:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":131911,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-15 00:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":131911,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-15 00:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-15 00:51:09] local.WARNING: DEBUG: No valid data to process  
[2026-07-15 00:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":131911,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-15 00:51:09] local.ERROR: GPS data processing failed {"connection_id":131911,"error":"No valid data to process"} 
[2026-07-15 00:51:09] local.INFO: Acknowledgment sent {"connection_id":131911,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-15 00:51:13] local.INFO: TCP Data received {"connection_id":131911,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f621174b8012d7f92c005afd8300000005025..."} 
[2026-07-15 00:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f621174b8012d7f92c005afd8300000005025..."} 
[2026-07-15 00:51:13] local.INFO: Processing buffer {"connection_id":131911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f621174b8012d7f92c005afd8300000005025..."} 
[2026-07-15 00:51:13] local.INFO: Packet analysis {"connection_id":131911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6211"} 
[2026-07-15 00:51:13] local.INFO: Extracted packet for processing {"connection_id":131911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6211"} 
[2026-07-15 00:51:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:51: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-07-15 00:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718448128001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784056739000,"timestamp_ms":1784056739000,"timestamp_seconds":1784056739,"priority":1,"record_length":96,"hex_timestamp":"0000019f621174b8"} 
[2026-07-15 00:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 00:51:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:51: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-07-15 00:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":131911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":131911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":131911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718448128001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718448128001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:51:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:51:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718448128001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":131911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:51:13] local.INFO: GPS data processed {"connection_id":131911,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:51:13] local.INFO: Acknowledgment sent {"connection_id":131911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:51:13] local.INFO: TCP Data received {"connection_id":134287,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6211f5a0012d6da24005fdbf98000801542a..."} 
[2026-07-15 00:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6211f5a0012d6da24005fdbf98000801542a..."} 
[2026-07-15 00:51:13] local.INFO: Processing buffer {"connection_id":134287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6211f5a0012d6da24005fdbf98000801542a..."} 
[2026-07-15 00:51:13] local.INFO: Packet analysis {"connection_id":134287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6211"} 
[2026-07-15 00:51:13] local.INFO: Extracted packet for processing {"connection_id":134287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6211"} 
[2026-07-15 00:51:13] local.INFO: GPS Element Parsed {"raw_longitude":762159680,"raw_latitude":100515736,"longitude_deg":76.215968,"latitude_deg":10.0515736,"altitude":8,"angle":340,"satellites":42,"speed":49,"hex_longitude":"2d6da240","hex_latitude":"05fdbf98","is_valid_coordinates":true} 
[2026-07-15 00:51: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-07-15 00:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718531584001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135743381987917824,"note":"Value kept but may cause issues"} 
[2026-07-15 00:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7904943271671889920,"note":"Value kept but may cause issues"} 
[2026-07-15 00:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784056772000,"timestamp_ms":1784056772000,"timestamp_seconds":1784056772,"priority":1,"record_length":96,"hex_timestamp":"0000019f6211f5a0"} 
[2026-07-15 00:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:51:13] 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-07-15 00:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 00:51:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:51: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-07-15 00:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":134287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":134287,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":134287,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718531584001,"66":28082,"115":206,"8":65280,"24":49,"16":135743381987917824,"45":7904943271671889920},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,8,24,16,45]} 
[2026-07-15 00:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718531584001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:51:13] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-15 00:51:13] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-15 00:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135743381987917824,"km_value":135743381987917.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":7904943271671889920,"description":"Unknown IO ID 45"} 
[2026-07-15 00:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718531584001,"power":28082,"unknown_115":206,"unknown_8":65280,"ignition":49,"odometer":null,"unknown_45":7904943271671889920}} 
[2026-07-15 00:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":134287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488743,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:51:13] local.INFO: GPS data processed {"connection_id":134287,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:51:13] local.INFO: Acknowledgment sent {"connection_id":134287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:51:39] local.INFO: TCP Data received {"connection_id":131912,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131912,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:51:39] local.INFO: Processing buffer {"connection_id":131912,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:51:39] local.INFO: IMEI packet received {"connection_id":131912,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 00:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":131912,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:51:41] local.INFO: TCP Data received {"connection_id":131912,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131912,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:51:41] local.INFO: Processing buffer {"connection_id":131912,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:51:41] local.INFO: IMEI packet received {"connection_id":131912,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 00:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":131912,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:51:44] local.INFO: TCP Data received {"connection_id":131911,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f621174b8012d7f92c005afd8300000005025..."} 
[2026-07-15 00:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f621174b8012d7f92c005afd8300000005025..."} 
[2026-07-15 00:51:44] local.INFO: Processing buffer {"connection_id":131911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f621174b8012d7f92c005afd8300000005025..."} 
[2026-07-15 00:51:44] local.INFO: Packet analysis {"connection_id":131911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6211"} 
[2026-07-15 00:51:44] local.INFO: Extracted packet for processing {"connection_id":131911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6211"} 
[2026-07-15 00:51:44] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00: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-07-15 00:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718448128001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:51:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:51:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784056739000,"timestamp_ms":1784056739000,"timestamp_seconds":1784056739,"priority":1,"record_length":96,"hex_timestamp":"0000019f621174b8"} 
[2026-07-15 00:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:51:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 00:51:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00: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-07-15 00:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":131911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":131911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":131911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718448128001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718448128001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:51:44] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:51:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:51:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718448128001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":131911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:51:44] local.INFO: GPS data processed {"connection_id":131911,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:51:44] local.INFO: Acknowledgment sent {"connection_id":131911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:51:46] local.INFO: TCP Data received {"connection_id":131912,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131912,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:51:46] local.INFO: Processing buffer {"connection_id":131912,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:51:46] local.INFO: IMEI packet received {"connection_id":131912,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 00:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":131912,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:51:47] local.INFO: TCP Data received {"connection_id":131912,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6212ff40012d6d574005fefa78000601602b..."} 
[2026-07-15 00:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6212ff40012d6d574005fefa78000601602b..."} 
[2026-07-15 00:51:47] local.INFO: Processing buffer {"connection_id":131912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6212ff40012d6d574005fefa78000601602b..."} 
[2026-07-15 00:51:47] local.INFO: Packet analysis {"connection_id":131912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6212"} 
[2026-07-15 00:51:47] local.INFO: Extracted packet for processing {"connection_id":131912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6212"} 
[2026-07-15 00:51:47] local.INFO: GPS Element Parsed {"raw_longitude":762140480,"raw_latitude":100596344,"longitude_deg":76.214048,"latitude_deg":10.0596344,"altitude":6,"angle":352,"satellites":43,"speed":50,"hex_longitude":"2d6d5740","hex_latitude":"05fefa78","is_valid_coordinates":true} 
[2026-07-15 00:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718549248001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135747466501816320,"note":"Value kept but may cause issues"} 
[2026-07-15 00:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7881862323602284544,"note":"Value kept but may cause issues"} 
[2026-07-15 00:51:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784056840000,"timestamp_ms":1784056840000,"timestamp_seconds":1784056840,"priority":1,"record_length":96,"hex_timestamp":"0000019f6212ff40"} 
[2026-07-15 00:51:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:51:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-15 00:51:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:51:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:51:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":131912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":131912,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":131912,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718549248001,"66":27876,"213":206,"8":65280,"24":50,"16":135747466501816320,"45":7881862323602284544},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,8,24,16,45]} 
[2026-07-15 00:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718549248001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:51:47] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-07-15 00:51:47] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-15 00:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135747466501816320,"km_value":135747466501816.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":7881862323602284544,"description":"Unknown IO ID 45"} 
[2026-07-15 00:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718549248001,"power":27876,"unknown_213":206,"unknown_8":65280,"ignition":50,"odometer":null,"unknown_45":7881862323602284544}} 
[2026-07-15 00:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":131912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488745,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:51:47] local.INFO: GPS data processed {"connection_id":131912,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:51:47] local.INFO: Acknowledgment sent {"connection_id":131912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:51:59] local.INFO: TCP Data received {"connection_id":131912,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6212ff40012d6d574005fefa78000601602b..."} 
[2026-07-15 00:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6212ff40012d6d574005fefa78000601602b..."} 
[2026-07-15 00:51:59] local.INFO: Processing buffer {"connection_id":131912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6212ff40012d6d574005fefa78000601602b..."} 
[2026-07-15 00:51:59] local.INFO: Packet analysis {"connection_id":131912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6212"} 
[2026-07-15 00:51:59] local.INFO: Extracted packet for processing {"connection_id":131912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6212"} 
[2026-07-15 00:51:59] local.INFO: GPS Element Parsed {"raw_longitude":762140480,"raw_latitude":100596344,"longitude_deg":76.214048,"latitude_deg":10.0596344,"altitude":6,"angle":352,"satellites":43,"speed":50,"hex_longitude":"2d6d5740","hex_latitude":"05fefa78","is_valid_coordinates":true} 
[2026-07-15 00:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718551040001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135747466501816320,"note":"Value kept but may cause issues"} 
[2026-07-15 00:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7878836467604813824,"note":"Value kept but may cause issues"} 
[2026-07-15 00:51:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784056840000,"timestamp_ms":1784056840000,"timestamp_seconds":1784056840,"priority":1,"record_length":96,"hex_timestamp":"0000019f6212ff40"} 
[2026-07-15 00:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-15 00:51:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:51:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":131912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":131912,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":131912,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:51:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718551040001,"66":27876,"213":206,"8":65280,"24":50,"16":135747466501816320,"45":7878836467604813824},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,8,24,16,45]} 
[2026-07-15 00:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718551040001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:51:59] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-07-15 00:51:59] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-15 00:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135747466501816320,"km_value":135747466501816.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7878836467604813824,"description":"Unknown IO ID 45"} 
[2026-07-15 00:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718551040001,"power":27876,"unknown_213":206,"unknown_8":65280,"ignition":50,"odometer":null,"unknown_45":7878836467604813824}} 
[2026-07-15 00:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":131912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488746,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:51:59] local.INFO: GPS data processed {"connection_id":131912,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:51:59] local.INFO: Acknowledgment sent {"connection_id":131912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:52:02] local.INFO: TCP Data received {"connection_id":132078,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:52:02] local.INFO: Processing buffer {"connection_id":132078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:52:02] local.INFO: IMEI packet received {"connection_id":132078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":132078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:52:07] local.INFO: TCP Data received {"connection_id":132078,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:52:07] local.INFO: Processing buffer {"connection_id":132078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:52:07] local.INFO: IMEI packet received {"connection_id":132078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":132078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:52:10] local.INFO: TCP Data received {"connection_id":132078,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f621174b8012d7f92c005afd8300000005025..."} 
[2026-07-15 00:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f621174b8012d7f92c005afd8300000005025..."} 
[2026-07-15 00:52:10] local.INFO: Processing buffer {"connection_id":132078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f621174b8012d7f92c005afd8300000005025..."} 
[2026-07-15 00:52:10] local.INFO: Packet analysis {"connection_id":132078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6211"} 
[2026-07-15 00:52:10] local.INFO: Extracted packet for processing {"connection_id":132078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6211"} 
[2026-07-15 00:52:10] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718448128001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784056739000,"timestamp_ms":1784056739000,"timestamp_seconds":1784056739,"priority":1,"record_length":96,"hex_timestamp":"0000019f621174b8"} 
[2026-07-15 00:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 00:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":132078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":132078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":132078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718448128001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718448128001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:52:10] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:52:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718448128001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":132078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:52:10] local.INFO: GPS data processed {"connection_id":132078,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:52:10] local.INFO: Acknowledgment sent {"connection_id":132078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:52:36] local.INFO: TCP Data received {"connection_id":131913,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131913,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:52:36] local.INFO: Processing buffer {"connection_id":131913,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:52:36] local.INFO: IMEI packet received {"connection_id":131913,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 00:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":131913,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:52:37] local.INFO: TCP Data received {"connection_id":131913,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131913,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:52:37] local.INFO: Processing buffer {"connection_id":131913,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:52:37] local.INFO: IMEI packet received {"connection_id":131913,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 00:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":131913,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:52:41] local.INFO: TCP Data received {"connection_id":131913,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131913,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:52:41] local.INFO: Processing buffer {"connection_id":131913,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:52:41] local.INFO: IMEI packet received {"connection_id":131913,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 00:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":131913,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:52:41] local.INFO: TCP Data received {"connection_id":132078,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f621174b8012d7f92c005afd8300000005025..."} 
[2026-07-15 00:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f621174b8012d7f92c005afd8300000005025..."} 
[2026-07-15 00:52:41] local.INFO: Processing buffer {"connection_id":132078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f621174b8012d7f92c005afd8300000005025..."} 
[2026-07-15 00:52:41] local.INFO: Packet analysis {"connection_id":132078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6211"} 
[2026-07-15 00:52:41] local.INFO: Extracted packet for processing {"connection_id":132078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6211"} 
[2026-07-15 00:52:41] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718448128001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784056739000,"timestamp_ms":1784056739000,"timestamp_seconds":1784056739,"priority":1,"record_length":96,"hex_timestamp":"0000019f621174b8"} 
[2026-07-15 00:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 00:52:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718448128001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718448128001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:52:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:52:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718448128001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":132078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:52:41] local.INFO: GPS data processed {"connection_id":132078,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:52:41] local.INFO: Acknowledgment sent {"connection_id":132078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:52:47] local.INFO: TCP Data received {"connection_id":131913,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62131a98012d6d534005ff1d900007015c2b..."} 
[2026-07-15 00:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62131a98012d6d534005ff1d900007015c2b..."} 
[2026-07-15 00:52:47] local.INFO: Processing buffer {"connection_id":131913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62131a98012d6d534005ff1d900007015c2b..."} 
[2026-07-15 00:52:47] local.INFO: Packet analysis {"connection_id":131913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6213"} 
[2026-07-15 00:52:47] local.INFO: Extracted packet for processing {"connection_id":131913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6213"} 
[2026-07-15 00:52:47] local.INFO: GPS Element Parsed {"raw_longitude":762139456,"raw_latitude":100605328,"longitude_deg":76.2139456,"latitude_deg":10.0605328,"altitude":7,"angle":348,"satellites":43,"speed":51,"hex_longitude":"2d6d5340","hex_latitude":"05ff1d90","is_valid_coordinates":true} 
[2026-07-15 00: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-07-15 00:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718551040001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135747904588480512,"note":"Value kept but may cause issues"} 
[2026-07-15 00:52:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7878836467604813824,"note":"Value kept but may cause issues"} 
[2026-07-15 00:52:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784056847000,"timestamp_ms":1784056847000,"timestamp_seconds":1784056847,"priority":1,"record_length":96,"hex_timestamp":"0000019f62131a98"} 
[2026-07-15 00:52:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:52:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-15 00:52:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00: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-07-15 00:52:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":131913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":131913,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":131913,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:52:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718551040001,"66":27995,"214":206,"8":65280,"24":51,"16":135747904588480512,"45":7878836467604813824},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,8,24,16,45]} 
[2026-07-15 00:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718551040001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:52:47] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-15 00:52:47] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-15 00:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135747904588480512,"km_value":135747904588480.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:52:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":7878836467604813824,"description":"Unknown IO ID 45"} 
[2026-07-15 00:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718551040001,"power":27995,"unknown_214":206,"unknown_8":65280,"ignition":51,"odometer":null,"unknown_45":7878836467604813824}} 
[2026-07-15 00:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":131913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488749,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:52:47] local.INFO: GPS data processed {"connection_id":131913,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:52:47] local.INFO: Acknowledgment sent {"connection_id":131913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:52:48] local.INFO: TCP Data received {"connection_id":131913,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f621335f0012d6d4b0005ff4030000801582d..."} 
[2026-07-15 00:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f621335f0012d6d4b0005ff4030000801582d..."} 
[2026-07-15 00:52:48] local.INFO: Processing buffer {"connection_id":131913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f621335f0012d6d4b0005ff4030000801582d..."} 
[2026-07-15 00:52:48] local.INFO: Packet analysis {"connection_id":131913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6213"} 
[2026-07-15 00:52:48] local.INFO: Extracted packet for processing {"connection_id":131913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6213"} 
[2026-07-15 00:52:48] local.INFO: GPS Element Parsed {"raw_longitude":762137344,"raw_latitude":100614192,"longitude_deg":76.2137344,"latitude_deg":10.0614192,"altitude":8,"angle":344,"satellites":45,"speed":51,"hex_longitude":"2d6d4b00","hex_latitude":"05ff4030","is_valid_coordinates":true} 
[2026-07-15 00:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718552832001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135748346970112000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7877710567700271104,"note":"Value kept but may cause issues"} 
[2026-07-15 00:52:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784056854000,"timestamp_ms":1784056854000,"timestamp_seconds":1784056854,"priority":1,"record_length":96,"hex_timestamp":"0000019f621335f0"} 
[2026-07-15 00:52:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:52:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-15 00:52:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:52:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:52:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":131913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":131913,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":131913,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:52:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718552832001,"66":27984,"214":206,"8":65280,"24":51,"16":135748346970112000,"45":7877710567700271104},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,8,24,16,45]} 
[2026-07-15 00:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718552832001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:52:48] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-15 00:52:48] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-15 00:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135748346970112000,"km_value":135748346970112,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":7877710567700271104,"description":"Unknown IO ID 45"} 
[2026-07-15 00:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718552832001,"power":27984,"unknown_214":206,"unknown_8":65280,"ignition":51,"odometer":null,"unknown_45":7877710567700271104}} 
[2026-07-15 00:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":131913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488750,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:52:48] local.INFO: GPS data processed {"connection_id":131913,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:52:48] local.INFO: Acknowledgment sent {"connection_id":131913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:53:08] local.INFO: TCP Data received {"connection_id":132079,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:53:08] local.INFO: Processing buffer {"connection_id":132079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:53:08] local.INFO: IMEI packet received {"connection_id":132079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":132079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:53:12] local.INFO: TCP Data received {"connection_id":132079,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:53:12] local.INFO: Processing buffer {"connection_id":132079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:53:12] local.INFO: IMEI packet received {"connection_id":132079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":132079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:53:13] local.INFO: TCP Data received {"connection_id":132079,"ip":"42.106.6.14","data_length":93,"data_hex":"00000000000000518e010000019f621174b8012d7f92c005afd8300000005025..."} 
[2026-07-15 00:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132079,"packet_length":93,"packet_hex":"00000000000000518e010000019f621174b8012d7f92c005afd8300000005025..."} 
[2026-07-15 00:53:13] local.INFO: Processing buffer {"connection_id":132079,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f621174b8012d7f92c005afd8300000005025..."} 
[2026-07-15 00:53:13] local.INFO: Packet analysis {"connection_id":132079,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f6211"} 
[2026-07-15 00:53:13] local.INFO: Extracted packet for processing {"connection_id":132079,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f6211"} 
[2026-07-15 00:53:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00: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":93,"current_offset":40} 
[2026-07-15 00:53:13] 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-07-15 00:53:13] 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-07-15 00:53:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:53:13] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-15 00:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132079,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-15 00:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132079,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-15 00:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132079,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-15 00:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-15 00:53:13] local.WARNING: DEBUG: No valid data to process  
[2026-07-15 00:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":132079,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-15 00:53:13] local.ERROR: GPS data processing failed {"connection_id":132079,"error":"No valid data to process"} 
[2026-07-15 00:53:13] local.INFO: Acknowledgment sent {"connection_id":132079,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-15 00:53:20] local.INFO: TCP Data received {"connection_id":131913,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62149d50012d6cffc006010a88000a016429..."} 
[2026-07-15 00:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62149d50012d6cffc006010a88000a016429..."} 
[2026-07-15 00:53:20] local.INFO: Processing buffer {"connection_id":131913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62149d50012d6cffc006010a88000a016429..."} 
[2026-07-15 00:53:20] local.INFO: Packet analysis {"connection_id":131913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6214"} 
[2026-07-15 00:53:20] local.INFO: Extracted packet for processing {"connection_id":131913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6214"} 
[2026-07-15 00:53:20] local.INFO: GPS Element Parsed {"raw_longitude":762118080,"raw_latitude":100731528,"longitude_deg":76.211808,"latitude_deg":10.0731528,"altitude":10,"angle":356,"satellites":41,"speed":53,"hex_longitude":"2d6cffc0","hex_latitude":"06010a88","is_valid_coordinates":true} 
[2026-07-15 00: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-07-15 00:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718576384001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135754132291059712,"note":"Value kept but may cause issues"} 
[2026-07-15 00:53:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7854770357128302592,"note":"Value kept but may cause issues"} 
[2026-07-15 00:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1784056946000,"timestamp_ms":1784056946000,"timestamp_seconds":1784056946,"priority":1,"record_length":96,"hex_timestamp":"0000019f62149d50"} 
[2026-07-15 00:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:53:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 00:53:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00: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-07-15 00:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":131913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":131913,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":131913,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:53:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718576384001,"66":27832,"2":206,"8":65280,"24":53,"16":135754132291059712,"45":7854770357128302592},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,8,24,16,45]} 
[2026-07-15 00:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718576384001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:53:20] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-15 00:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135754132291059712,"km_value":135754132291059.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:53:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":7854770357128302592,"description":"Unknown IO ID 45"} 
[2026-07-15 00:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718576384001,"power":27832,"power_alt":206,"unknown_8":65280,"ignition":53,"odometer":null,"unknown_45":7854770357128302592}} 
[2026-07-15 00:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":131913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488751,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:53:20] local.INFO: GPS data processed {"connection_id":131913,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:53:20] local.INFO: Acknowledgment sent {"connection_id":131913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:53:20] local.INFO: TCP Data received {"connection_id":132079,"ip":"42.106.6.14","data_length":93,"data_hex":"00000000000000518e010000019f621174b8012d7f92c005afd8300000005025..."} 
[2026-07-15 00:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132079,"packet_length":93,"packet_hex":"00000000000000518e010000019f621174b8012d7f92c005afd8300000005025..."} 
[2026-07-15 00:53:20] local.INFO: Processing buffer {"connection_id":132079,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f621174b8012d7f92c005afd8300000005025..."} 
[2026-07-15 00:53:20] local.INFO: Packet analysis {"connection_id":132079,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f6211"} 
[2026-07-15 00:53:20] local.INFO: Extracted packet for processing {"connection_id":132079,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f6211"} 
[2026-07-15 00:53:20] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00: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":93,"current_offset":40} 
[2026-07-15 00:53:20] 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-07-15 00:53:20] 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-07-15 00:53:20] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:53:20] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-15 00:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":132079,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-15 00:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":132079,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-15 00:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":132079,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-15 00:53:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-15 00:53:20] local.WARNING: DEBUG: No valid data to process  
[2026-07-15 00:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":132079,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-15 00:53:20] local.ERROR: GPS data processing failed {"connection_id":132079,"error":"No valid data to process"} 
[2026-07-15 00:53:20] local.INFO: Acknowledgment sent {"connection_id":132079,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-15 00:53:37] local.INFO: TCP Data received {"connection_id":132080,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132080,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:53:37] local.INFO: Processing buffer {"connection_id":132080,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:53:37] local.INFO: IMEI packet received {"connection_id":132080,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 00:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":132080,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:53:39] local.INFO: TCP Data received {"connection_id":132080,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132080,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:53:39] local.INFO: Processing buffer {"connection_id":132080,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:53:39] local.INFO: IMEI packet received {"connection_id":132080,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 00:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":132080,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:53:40] local.INFO: TCP Data received {"connection_id":132080,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6214b8a8012d6cfb0006012eb0000b015d28..."} 
[2026-07-15 00:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6214b8a8012d6cfb0006012eb0000b015d28..."} 
[2026-07-15 00:53:40] local.INFO: Processing buffer {"connection_id":132080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6214b8a8012d6cfb0006012eb0000b015d28..."} 
[2026-07-15 00:53:40] local.INFO: Packet analysis {"connection_id":132080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6214"} 
[2026-07-15 00:53:40] local.INFO: Extracted packet for processing {"connection_id":132080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6214"} 
[2026-07-15 00:53:40] local.INFO: GPS Element Parsed {"raw_longitude":762116864,"raw_latitude":100740784,"longitude_deg":76.2116864,"latitude_deg":10.0740784,"altitude":11,"angle":349,"satellites":40,"speed":54,"hex_longitude":"2d6cfb00","hex_latitude":"06012eb0","is_valid_coordinates":true} 
[2026-07-15 00: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-07-15 00:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718578176001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135754583262625792,"note":"Value kept but may cause issues"} 
[2026-07-15 00:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7854207407177238528,"note":"Value kept but may cause issues"} 
[2026-07-15 00:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784056953000,"timestamp_ms":1784056953000,"timestamp_seconds":1784056953,"priority":1,"record_length":96,"hex_timestamp":"0000019f6214b8a8"} 
[2026-07-15 00:53:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:53:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-15 00:53:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:53:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:53:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132080,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132080,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718578176001,"66":27941,"2":206,"8":65280,"24":54,"16":135754583262625792,"45":7854207407177238528},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,8,24,16,45]} 
[2026-07-15 00:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718578176001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:53:40] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-15 00:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135754583262625792,"km_value":135754583262625.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":7854207407177238528,"description":"Unknown IO ID 45"} 
[2026-07-15 00:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718578176001,"power":27941,"power_alt":206,"unknown_8":65280,"ignition":54,"odometer":null,"unknown_45":7854207407177238528}} 
[2026-07-15 00:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":132080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488752,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:53:40] local.INFO: GPS data processed {"connection_id":132080,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:53:40] local.INFO: Acknowledgment sent {"connection_id":132080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:54:03] local.INFO: TCP Data received {"connection_id":132915,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:54:03] local.INFO: Processing buffer {"connection_id":132915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:54:03] local.INFO: IMEI packet received {"connection_id":132915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":132915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:54:07] local.INFO: TCP Data received {"connection_id":132915,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:54:07] local.INFO: Processing buffer {"connection_id":132915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:54:07] local.INFO: IMEI packet received {"connection_id":132915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":132915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:54:10] local.INFO: TCP Data received {"connection_id":132080,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6214d400012d6cf30006015290000b015a2b..."} 
[2026-07-15 00:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6214d400012d6cf30006015290000b015a2b..."} 
[2026-07-15 00:54:10] local.INFO: Processing buffer {"connection_id":132080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6214d400012d6cf30006015290000b015a2b..."} 
[2026-07-15 00:54:10] local.INFO: Packet analysis {"connection_id":132080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6214"} 
[2026-07-15 00:54:10] local.INFO: Extracted packet for processing {"connection_id":132080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6214"} 
[2026-07-15 00:54:10] local.INFO: GPS Element Parsed {"raw_longitude":762114816,"raw_latitude":100749968,"longitude_deg":76.2114816,"latitude_deg":10.0749968,"altitude":11,"angle":346,"satellites":43,"speed":53,"hex_longitude":"2d6cf300","hex_latitude":"06015290","is_valid_coordinates":true} 
[2026-07-15 00:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718579968001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135755038529159168,"note":"Value kept but may cause issues"} 
[2026-07-15 00:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7852870401040232448,"note":"Value kept but may cause issues"} 
[2026-07-15 00:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784056960000,"timestamp_ms":1784056960000,"timestamp_seconds":1784056960,"priority":1,"record_length":96,"hex_timestamp":"0000019f6214d400"} 
[2026-07-15 00:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:54:10] 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-07-15 00:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-15 00:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1076,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":132080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":132080,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":132080,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718579968001,"66":27484,"2":206,"8":65280,"24":53,"16":135755038529159168,"45":7852870401040232448},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,8,24,16,45]} 
[2026-07-15 00:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718579968001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:54:10] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-15 00:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135755038529159168,"km_value":135755038529159.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7852870401040232448,"description":"Unknown IO ID 45"} 
[2026-07-15 00:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718579968001,"power":27484,"power_alt":206,"unknown_8":65280,"ignition":53,"odometer":null,"unknown_45":7852870401040232448}} 
[2026-07-15 00:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":132080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488753,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:54:11] local.INFO: GPS data processed {"connection_id":132080,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:54:11] local.INFO: Acknowledgment sent {"connection_id":132080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:54:13] local.INFO: TCP Data received {"connection_id":132915,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:54:13] local.INFO: Processing buffer {"connection_id":132915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:54:13] local.INFO: IMEI packet received {"connection_id":132915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":132915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:54:13] local.INFO: TCP Data received {"connection_id":132915,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f621174b8012d7f92c005afd8300000005025..."} 
[2026-07-15 00:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f621174b8012d7f92c005afd8300000005025..."} 
[2026-07-15 00:54:13] local.INFO: Processing buffer {"connection_id":132915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f621174b8012d7f92c005afd8300000005025..."} 
[2026-07-15 00:54:13] local.INFO: Packet analysis {"connection_id":132915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6211"} 
[2026-07-15 00:54:13] local.INFO: Extracted packet for processing {"connection_id":132915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6211"} 
[2026-07-15 00:54:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718448128001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784056739000,"timestamp_ms":1784056739000,"timestamp_seconds":1784056739,"priority":1,"record_length":96,"hex_timestamp":"0000019f621174b8"} 
[2026-07-15 00:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:54:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 00:54:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:54:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718448128001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718448128001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:54:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:54:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718448128001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":132915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:54:13] local.INFO: GPS data processed {"connection_id":132915,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:54:13] local.INFO: Acknowledgment sent {"connection_id":132915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:54:36] local.INFO: TCP Data received {"connection_id":134288,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134288,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:54:36] local.INFO: Processing buffer {"connection_id":134288,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:54:36] local.INFO: IMEI packet received {"connection_id":134288,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 00:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":134288,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:54:39] local.INFO: TCP Data received {"connection_id":134288,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134288,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:54:39] local.INFO: Processing buffer {"connection_id":134288,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:54:39] local.INFO: IMEI packet received {"connection_id":134288,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 00:54:39] local.INFO: IMEI acknowledgment sent {"connection_id":134288,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:54:40] local.INFO: TCP Data received {"connection_id":134288,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6214ef58012d6ceac0060175e0000a015a2b..."} 
[2026-07-15 00:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6214ef58012d6ceac0060175e0000a015a2b..."} 
[2026-07-15 00:54:40] local.INFO: Processing buffer {"connection_id":134288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6214ef58012d6ceac0060175e0000a015a2b..."} 
[2026-07-15 00:54:40] local.INFO: Packet analysis {"connection_id":134288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6214"} 
[2026-07-15 00:54:40] local.INFO: Extracted packet for processing {"connection_id":134288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6214"} 
[2026-07-15 00:54:40] local.INFO: GPS Element Parsed {"raw_longitude":762112704,"raw_latitude":100759008,"longitude_deg":76.2112704,"latitude_deg":10.0759008,"altitude":10,"angle":346,"satellites":43,"speed":53,"hex_longitude":"2d6ceac0","hex_latitude":"060175e0","is_valid_coordinates":true} 
[2026-07-15 00: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-07-15 00:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718581760001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135755489500725248,"note":"Value kept but may cause issues"} 
[2026-07-15 00:54:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7850618601228898304,"note":"Value kept but may cause issues"} 
[2026-07-15 00:54:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784056967000,"timestamp_ms":1784056967000,"timestamp_seconds":1784056967,"priority":1,"record_length":96,"hex_timestamp":"0000019f6214ef58"} 
[2026-07-15 00:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:54:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-15 00:54:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:54: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-07-15 00:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":134288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":134288,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":134288,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:54:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718581760001,"66":27995,"2":206,"8":65280,"24":53,"16":135755489500725248,"45":7850618601228898304},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,8,24,16,45]} 
[2026-07-15 00:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718581760001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:54:40] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-15 00:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135755489500725248,"km_value":135755489500725.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:54:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":7850618601228898304,"description":"Unknown IO ID 45"} 
[2026-07-15 00:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718581760001,"power":27995,"power_alt":206,"unknown_8":65280,"ignition":53,"odometer":null,"unknown_45":7850618601228898304}} 
[2026-07-15 00:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":134288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488755,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:54:40] local.INFO: GPS data processed {"connection_id":134288,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:54:40] local.INFO: Acknowledgment sent {"connection_id":134288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:54:47] local.INFO: TCP Data received {"connection_id":132915,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f62160c80012d7f92c005afd8300000005028..."} 
[2026-07-15 00:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62160c80012d7f92c005afd8300000005028..."} 
[2026-07-15 00:54:47] local.INFO: Processing buffer {"connection_id":132915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62160c80012d7f92c005afd8300000005028..."} 
[2026-07-15 00:54:47] local.INFO: Packet analysis {"connection_id":132915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6216"} 
[2026-07-15 00:54:47] local.INFO: Extracted packet for processing {"connection_id":132915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6216"} 
[2026-07-15 00:54:47] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718525184001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784057040000,"timestamp_ms":1784057040000,"timestamp_seconds":1784057040,"priority":1,"record_length":96,"hex_timestamp":"0000019f62160c80"} 
[2026-07-15 00:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:54:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 00:54:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:54:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":132915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":132915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":132915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718525184001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718525184001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:54:47] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:54:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718525184001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":132915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:54:47] local.INFO: GPS data processed {"connection_id":132915,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:54:47] local.INFO: Acknowledgment sent {"connection_id":132915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:55:03] local.INFO: TCP Data received {"connection_id":132081,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:55:03] local.INFO: Processing buffer {"connection_id":132081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:55:03] local.INFO: IMEI packet received {"connection_id":132081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":132081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:55:08] local.INFO: TCP Data received {"connection_id":132081,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:55:08] local.INFO: Processing buffer {"connection_id":132081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:55:08] local.INFO: IMEI packet received {"connection_id":132081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":132081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:55:08] local.INFO: TCP Data received {"connection_id":132081,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f62160c80012d7f92c005afd8300000005028..."} 
[2026-07-15 00:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62160c80012d7f92c005afd8300000005028..."} 
[2026-07-15 00:55:08] local.INFO: Processing buffer {"connection_id":132081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62160c80012d7f92c005afd8300000005028..."} 
[2026-07-15 00:55:08] local.INFO: Packet analysis {"connection_id":132081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6216"} 
[2026-07-15 00:55:08] local.INFO: Extracted packet for processing {"connection_id":132081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6216"} 
[2026-07-15 00:55:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718525184001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784057040000,"timestamp_ms":1784057040000,"timestamp_seconds":1784057040,"priority":1,"record_length":96,"hex_timestamp":"0000019f62160c80"} 
[2026-07-15 00:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 00:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718525184001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718525184001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:55:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:55:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718525184001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":132081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:55:08] local.INFO: GPS data processed {"connection_id":132081,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:55:08] local.INFO: Acknowledgment sent {"connection_id":132081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:55:12] local.INFO: TCP Data received {"connection_id":134288,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62164718012d6c8680060329b80008015b28..."} 
[2026-07-15 00:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62164718012d6c8680060329b80008015b28..."} 
[2026-07-15 00:55:12] local.INFO: Processing buffer {"connection_id":134288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62164718012d6c8680060329b80008015b28..."} 
[2026-07-15 00:55:12] local.INFO: Packet analysis {"connection_id":134288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6216"} 
[2026-07-15 00:55:12] local.INFO: Extracted packet for processing {"connection_id":134288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6216"} 
[2026-07-15 00:55:12] local.INFO: GPS Element Parsed {"raw_longitude":762087040,"raw_latitude":100870584,"longitude_deg":76.208704,"latitude_deg":10.0870584,"altitude":8,"angle":347,"satellites":40,"speed":54,"hex_longitude":"2d6c8680","hex_latitude":"060329b8","is_valid_coordinates":true} 
[2026-07-15 00: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-07-15 00:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718604288001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135761034303504384,"note":"Value kept but may cause issues"} 
[2026-07-15 00:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7822330366098008064,"note":"Value kept but may cause issues"} 
[2026-07-15 00:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784057055000,"timestamp_ms":1784057055000,"timestamp_seconds":1784057055,"priority":1,"record_length":96,"hex_timestamp":"0000019f62164718"} 
[2026-07-15 00:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-15 00:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00: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-07-15 00:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":134288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":134288,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":134288,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718604288001,"66":27984,"172":206,"8":65280,"24":54,"16":135761034303504384,"45":7822330366098008064},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,8,24,16,45]} 
[2026-07-15 00:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718604288001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:55:12] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-15 00:55:12] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-15 00:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135761034303504384,"km_value":135761034303504.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":7822330366098008064,"description":"Unknown IO ID 45"} 
[2026-07-15 00:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718604288001,"power":27984,"unknown_172":206,"unknown_8":65280,"ignition":54,"odometer":null,"unknown_45":7822330366098008064}} 
[2026-07-15 00:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":134288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488758,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:55:12] local.INFO: GPS data processed {"connection_id":134288,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:55:12] local.INFO: Acknowledgment sent {"connection_id":134288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:55:36] local.INFO: TCP Data received {"connection_id":132916,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132916,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:55:36] local.INFO: Processing buffer {"connection_id":132916,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:55:36] local.INFO: IMEI packet received {"connection_id":132916,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 00:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":132916,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:55:41] local.INFO: TCP Data received {"connection_id":132916,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132916,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:55:41] local.INFO: Processing buffer {"connection_id":132916,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:55:41] local.INFO: IMEI packet received {"connection_id":132916,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 00:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":132916,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:55:42] local.INFO: TCP Data received {"connection_id":132916,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62166270012d6c7d8006034d70000801582a..."} 
[2026-07-15 00:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62166270012d6c7d8006034d70000801582a..."} 
[2026-07-15 00:55:42] local.INFO: Processing buffer {"connection_id":132916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62166270012d6c7d8006034d70000801582a..."} 
[2026-07-15 00:55:42] local.INFO: Packet analysis {"connection_id":132916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6216"} 
[2026-07-15 00:55:42] local.INFO: Extracted packet for processing {"connection_id":132916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6216"} 
[2026-07-15 00:55:42] local.INFO: GPS Element Parsed {"raw_longitude":762084736,"raw_latitude":100879728,"longitude_deg":76.2084736,"latitude_deg":10.0879728,"altitude":8,"angle":344,"satellites":42,"speed":53,"hex_longitude":"2d6c7d80","hex_latitude":"06034d70","is_valid_coordinates":true} 
[2026-07-15 00:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718606080001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135761493865005056,"note":"Value kept but may cause issues"} 
[2026-07-15 00:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7820078566286669824,"note":"Value kept but may cause issues"} 
[2026-07-15 00:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784057062000,"timestamp_ms":1784057062000,"timestamp_seconds":1784057062,"priority":1,"record_length":96,"hex_timestamp":"0000019f62166270"} 
[2026-07-15 00:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 00:55:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132916,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132916,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718606080001,"66":27887,"172":206,"8":65280,"24":53,"16":135761493865005056,"45":7820078566286669824},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,8,24,16,45]} 
[2026-07-15 00:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718606080001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:55:42] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-15 00:55:42] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-15 00:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135761493865005056,"km_value":135761493865005.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":7820078566286669824,"description":"Unknown IO ID 45"} 
[2026-07-15 00:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718606080001,"power":27887,"unknown_172":206,"unknown_8":65280,"ignition":53,"odometer":null,"unknown_45":7820078566286669824}} 
[2026-07-15 00:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":132916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488759,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:55:42] local.INFO: GPS data processed {"connection_id":132916,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:55:42] local.INFO: Acknowledgment sent {"connection_id":132916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:55:42] local.INFO: TCP Data received {"connection_id":132081,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f62160c80012d7f92c005afd8300000005028..."} 
[2026-07-15 00:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62160c80012d7f92c005afd8300000005028..."} 
[2026-07-15 00:55:42] local.INFO: Processing buffer {"connection_id":132081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62160c80012d7f92c005afd8300000005028..."} 
[2026-07-15 00:55:42] local.INFO: Packet analysis {"connection_id":132081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6216"} 
[2026-07-15 00:55:42] local.INFO: Extracted packet for processing {"connection_id":132081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6216"} 
[2026-07-15 00:55:42] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718525184001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784057040000,"timestamp_ms":1784057040000,"timestamp_seconds":1784057040,"priority":1,"record_length":96,"hex_timestamp":"0000019f62160c80"} 
[2026-07-15 00:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 00:55:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718525184001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718525184001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:55:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:55:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718525184001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":132081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:55:42] local.INFO: GPS data processed {"connection_id":132081,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:55:42] local.INFO: Acknowledgment sent {"connection_id":132081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:56:03] local.INFO: TCP Data received {"connection_id":132082,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:56:03] local.INFO: Processing buffer {"connection_id":132082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:56:03] local.INFO: IMEI packet received {"connection_id":132082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":132082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:56:08] local.INFO: TCP Data received {"connection_id":132082,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:56:08] local.INFO: Processing buffer {"connection_id":132082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:56:08] local.INFO: IMEI packet received {"connection_id":132082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":132082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:56:08] local.INFO: TCP Data received {"connection_id":132082,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f62160c80012d7f92c005afd8300000005028..."} 
[2026-07-15 00:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62160c80012d7f92c005afd8300000005028..."} 
[2026-07-15 00:56:08] local.INFO: Processing buffer {"connection_id":132082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62160c80012d7f92c005afd8300000005028..."} 
[2026-07-15 00:56:08] local.INFO: Packet analysis {"connection_id":132082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6216"} 
[2026-07-15 00:56:08] local.INFO: Extracted packet for processing {"connection_id":132082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6216"} 
[2026-07-15 00:56:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718525184001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784057040000,"timestamp_ms":1784057040000,"timestamp_seconds":1784057040,"priority":1,"record_length":96,"hex_timestamp":"0000019f62160c80"} 
[2026-07-15 00:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 00:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:56:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718525184001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718525184001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:56:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:56:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718525184001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":132082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:56:09] local.INFO: GPS data processed {"connection_id":132082,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:56:09] local.INFO: Acknowledgment sent {"connection_id":132082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:56:13] local.INFO: TCP Data received {"connection_id":132916,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62167dc8012d6c744006036fc8000a015a2a..."} 
[2026-07-15 00:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62167dc8012d6c744006036fc8000a015a2a..."} 
[2026-07-15 00:56:13] local.INFO: Processing buffer {"connection_id":132916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62167dc8012d6c744006036fc8000a015a2a..."} 
[2026-07-15 00:56:13] local.INFO: Packet analysis {"connection_id":132916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6216"} 
[2026-07-15 00:56:13] local.INFO: Extracted packet for processing {"connection_id":132916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6216"} 
[2026-07-15 00:56:13] local.INFO: GPS Element Parsed {"raw_longitude":762082368,"raw_latitude":100888520,"longitude_deg":76.2082368,"latitude_deg":10.088852,"altitude":10,"angle":346,"satellites":42,"speed":48,"hex_longitude":"2d6c7440","hex_latitude":"06036fc8","is_valid_coordinates":true} 
[2026-07-15 00:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718607872001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135761931951669248,"note":"Value kept but may cause issues"} 
[2026-07-15 00:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7817545291498614784,"note":"Value kept but may cause issues"} 
[2026-07-15 00:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784057069000,"timestamp_ms":1784057069000,"timestamp_seconds":1784057069,"priority":1,"record_length":96,"hex_timestamp":"0000019f62167dc8"} 
[2026-07-15 00:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:56:13] 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-07-15 00:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-15 00:56:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:56:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132916,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132916,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:56:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718607872001,"66":28028,"172":206,"8":65280,"24":48,"16":135761931951669248,"45":7817545291498614784},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,8,24,16,45]} 
[2026-07-15 00:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718607872001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:56:13] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-15 00:56:13] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-15 00:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135761931951669248,"km_value":135761931951669.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":7817545291498614784,"description":"Unknown IO ID 45"} 
[2026-07-15 00:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718607872001,"power":28028,"unknown_172":206,"unknown_8":65280,"ignition":48,"odometer":null,"unknown_45":7817545291498614784}} 
[2026-07-15 00:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":132916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488762,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:56:13] local.INFO: GPS data processed {"connection_id":132916,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:56:13] local.INFO: Acknowledgment sent {"connection_id":132916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:56:36] local.INFO: TCP Data received {"connection_id":134289,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134289,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:56:36] local.INFO: Processing buffer {"connection_id":134289,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:56:36] local.INFO: IMEI packet received {"connection_id":134289,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 00:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":134289,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:56:40] local.INFO: TCP Data received {"connection_id":132082,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f62160c80012d7f92c005afd8300000005028..."} 
[2026-07-15 00:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62160c80012d7f92c005afd8300000005028..."} 
[2026-07-15 00:56:40] local.INFO: Processing buffer {"connection_id":132082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62160c80012d7f92c005afd8300000005028..."} 
[2026-07-15 00:56:40] local.INFO: Packet analysis {"connection_id":132082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6216"} 
[2026-07-15 00:56:40] local.INFO: Extracted packet for processing {"connection_id":132082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6216"} 
[2026-07-15 00:56:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718525184001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:56:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:56:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784057040000,"timestamp_ms":1784057040000,"timestamp_seconds":1784057040,"priority":1,"record_length":96,"hex_timestamp":"0000019f62160c80"} 
[2026-07-15 00:56:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:56:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 00:56:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:56:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:56:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718525184001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718525184001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:56:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:56:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:56:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718525184001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":132082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:56:40] local.INFO: GPS data processed {"connection_id":132082,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:56:40] local.INFO: Acknowledgment sent {"connection_id":132082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:56:41] local.INFO: TCP Data received {"connection_id":134289,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134289,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:56:41] local.INFO: Processing buffer {"connection_id":134289,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:56:41] local.INFO: IMEI packet received {"connection_id":134289,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 00:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":134289,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:56:42] local.INFO: TCP Data received {"connection_id":134289,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62169d08012d6c6c40060394900008015b2a..."} 
[2026-07-15 00:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62169d08012d6c6c40060394900008015b2a..."} 
[2026-07-15 00:56:42] local.INFO: Processing buffer {"connection_id":134289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62169d08012d6c6c40060394900008015b2a..."} 
[2026-07-15 00:56:42] local.INFO: Packet analysis {"connection_id":134289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6216"} 
[2026-07-15 00:56:42] local.INFO: Extracted packet for processing {"connection_id":134289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6216"} 
[2026-07-15 00:56:42] local.INFO: GPS Element Parsed {"raw_longitude":762080320,"raw_latitude":100897936,"longitude_deg":76.208032,"latitude_deg":10.0897936,"altitude":8,"angle":347,"satellites":42,"speed":51,"hex_longitude":"2d6c6c40","hex_latitude":"06039490","is_valid_coordinates":true} 
[2026-07-15 00:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718609664001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135762400103104512,"note":"Value kept but may cause issues"} 
[2026-07-15 00:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7814941647966291968,"note":"Value kept but may cause issues"} 
[2026-07-15 00:56:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784057077000,"timestamp_ms":1784057077000,"timestamp_seconds":1784057077,"priority":1,"record_length":96,"hex_timestamp":"0000019f62169d08"} 
[2026-07-15 00:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:56:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-15 00:56:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":134289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":134289,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":134289,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718609664001,"66":27365,"172":206,"8":65280,"24":51,"16":135762400103104512,"45":7814941647966291968},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,8,24,16,45]} 
[2026-07-15 00:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718609664001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:56:42] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-15 00:56:42] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-15 00:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135762400103104512,"km_value":135762400103104.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":7814941647966291968,"description":"Unknown IO ID 45"} 
[2026-07-15 00:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718609664001,"power":27365,"unknown_172":206,"unknown_8":65280,"ignition":51,"odometer":null,"unknown_45":7814941647966291968}} 
[2026-07-15 00:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":134289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488764,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:56:43] local.INFO: GPS data processed {"connection_id":134289,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:56:43] local.INFO: Acknowledgment sent {"connection_id":134289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:57:02] local.INFO: TCP Data received {"connection_id":132917,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:57:02] local.INFO: Processing buffer {"connection_id":132917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:57:02] local.INFO: IMEI packet received {"connection_id":132917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":132917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:57:08] local.INFO: TCP Data received {"connection_id":132917,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:57:08] local.INFO: Processing buffer {"connection_id":132917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:57:08] local.INFO: IMEI packet received {"connection_id":132917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":132917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:57:08] local.INFO: TCP Data received {"connection_id":132917,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f62160c80012d7f92c005afd8300000005028..."} 
[2026-07-15 00:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62160c80012d7f92c005afd8300000005028..."} 
[2026-07-15 00:57:08] local.INFO: Processing buffer {"connection_id":132917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62160c80012d7f92c005afd8300000005028..."} 
[2026-07-15 00:57:08] local.INFO: Packet analysis {"connection_id":132917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6216"} 
[2026-07-15 00:57:08] local.INFO: Extracted packet for processing {"connection_id":132917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6216"} 
[2026-07-15 00:57:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718525184001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:57:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784057040000,"timestamp_ms":1784057040000,"timestamp_seconds":1784057040,"priority":1,"record_length":96,"hex_timestamp":"0000019f62160c80"} 
[2026-07-15 00:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 00:57:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718525184001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718525184001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:57:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:57:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718525184001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":132917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:57:08] local.INFO: GPS data processed {"connection_id":132917,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:57:08] local.INFO: Acknowledgment sent {"connection_id":132917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:57:13] local.INFO: TCP Data received {"connection_id":134289,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f621823a8012d6c0000060518200007015a2a..."} 
[2026-07-15 00:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f621823a8012d6c0000060518200007015a2a..."} 
[2026-07-15 00:57:13] local.INFO: Processing buffer {"connection_id":134289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f621823a8012d6c0000060518200007015a2a..."} 
[2026-07-15 00:57:13] local.INFO: Packet analysis {"connection_id":134289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6218"} 
[2026-07-15 00:57:13] local.INFO: Extracted packet for processing {"connection_id":134289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6218"} 
[2026-07-15 00:57:13] local.INFO: GPS Element Parsed {"raw_longitude":762052608,"raw_latitude":100997152,"longitude_deg":76.2052608,"latitude_deg":10.0997152,"altitude":7,"angle":346,"satellites":42,"speed":55,"hex_longitude":"2d6c0000","hex_latitude":"06051820","is_valid_coordinates":true} 
[2026-07-15 00: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-07-15 00:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718635520001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135767390855102464,"note":"Value kept but may cause issues"} 
[2026-07-15 00:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7785105300460425216,"note":"Value kept but may cause issues"} 
[2026-07-15 00:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784057177000,"timestamp_ms":1784057177000,"timestamp_seconds":1784057177,"priority":1,"record_length":96,"hex_timestamp":"0000019f621823a8"} 
[2026-07-15 00:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:57:13] 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-07-15 00: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-15 00:57:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00: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-07-15 00:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":134289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":134289,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":134289,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718635520001,"66":27843,"183":206,"8":65280,"24":55,"16":135767390855102464,"45":7785105300460425216},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,8,24,16,45]} 
[2026-07-15 00:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718635520001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:57:13] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-15 00:57:13] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-15 00:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135767390855102464,"km_value":135767390855102.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":7785105300460425216,"description":"Unknown IO ID 45"} 
[2026-07-15 00:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718635520001,"power":27843,"unknown_183":206,"unknown_8":65280,"ignition":55,"odometer":null,"unknown_45":7785105300460425216}} 
[2026-07-15 00:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":134289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488766,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:57:13] local.INFO: GPS data processed {"connection_id":134289,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:57:13] local.INFO: Acknowledgment sent {"connection_id":134289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:57:36] local.INFO: TCP Data received {"connection_id":132083,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132083,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:57:36] local.INFO: Processing buffer {"connection_id":132083,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:57:36] local.INFO: IMEI packet received {"connection_id":132083,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 00:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":132083,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:57:38] local.INFO: TCP Data received {"connection_id":132083,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132083,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:57:38] local.INFO: Processing buffer {"connection_id":132083,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:57:38] local.INFO: IMEI packet received {"connection_id":132083,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 00:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":132083,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:57:40] local.INFO: TCP Data received {"connection_id":132917,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f62160c80012d7f92c005afd8300000005028..."} 
[2026-07-15 00:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62160c80012d7f92c005afd8300000005028..."} 
[2026-07-15 00:57:40] local.INFO: Processing buffer {"connection_id":132917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62160c80012d7f92c005afd8300000005028..."} 
[2026-07-15 00:57:40] local.INFO: Packet analysis {"connection_id":132917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6216"} 
[2026-07-15 00:57:40] local.INFO: Extracted packet for processing {"connection_id":132917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6216"} 
[2026-07-15 00:57:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718525184001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:57:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784057040000,"timestamp_ms":1784057040000,"timestamp_seconds":1784057040,"priority":1,"record_length":96,"hex_timestamp":"0000019f62160c80"} 
[2026-07-15 00:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 00:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:57:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718525184001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718525184001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:57:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:57:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:57:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718525184001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":132917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:57:40] local.INFO: GPS data processed {"connection_id":132917,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:57:40] local.INFO: Acknowledgment sent {"connection_id":132917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:57:41] local.INFO: TCP Data received {"connection_id":132083,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132083,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:57:41] local.INFO: Processing buffer {"connection_id":132083,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:57:41] local.INFO: IMEI packet received {"connection_id":132083,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 00:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":132083,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:57:41] local.INFO: TCP Data received {"connection_id":132083,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62183f00012d6bf58006053c20000801572b..."} 
[2026-07-15 00:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62183f00012d6bf58006053c20000801572b..."} 
[2026-07-15 00:57:41] local.INFO: Processing buffer {"connection_id":132083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62183f00012d6bf58006053c20000801572b..."} 
[2026-07-15 00:57:41] local.INFO: Packet analysis {"connection_id":132083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6218"} 
[2026-07-15 00:57:41] local.INFO: Extracted packet for processing {"connection_id":132083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6218"} 
[2026-07-15 00:57:41] local.INFO: GPS Element Parsed {"raw_longitude":762049920,"raw_latitude":101006368,"longitude_deg":76.204992,"latitude_deg":10.1006368,"altitude":8,"angle":343,"satellites":43,"speed":53,"hex_longitude":"2d6bf580","hex_latitude":"06053c20","is_valid_coordinates":true} 
[2026-07-15 00:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718637312001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135767854711570432,"note":"Value kept but may cause issues"} 
[2026-07-15 00:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7782220181951488000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784057184000,"timestamp_ms":1784057184000,"timestamp_seconds":1784057184,"priority":1,"record_length":96,"hex_timestamp":"0000019f62183f00"} 
[2026-07-15 00:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:57:41] 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-07-15 00:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-15 00:57:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132083,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132083,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718637312001,"66":27930,"183":206,"8":65280,"24":53,"16":135767854711570432,"45":7782220181951488000},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,8,24,16,45]} 
[2026-07-15 00:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718637312001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:57:41] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-15 00:57:41] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-15 00:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135767854711570432,"km_value":135767854711570.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":7782220181951488000,"description":"Unknown IO ID 45"} 
[2026-07-15 00:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718637312001,"power":27930,"unknown_183":206,"unknown_8":65280,"ignition":53,"odometer":null,"unknown_45":7782220181951488000}} 
[2026-07-15 00:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":132083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488768,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:57:42] local.INFO: GPS data processed {"connection_id":132083,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:57:42] local.INFO: Acknowledgment sent {"connection_id":132083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:58:09] local.INFO: TCP Data received {"connection_id":132084,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:58:09] local.INFO: Processing buffer {"connection_id":132084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:58:09] local.INFO: IMEI packet received {"connection_id":132084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":132084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:58:13] local.INFO: TCP Data received {"connection_id":132084,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:58:13] local.INFO: Processing buffer {"connection_id":132084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:58:13] local.INFO: IMEI packet received {"connection_id":132084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":132084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:58:13] local.INFO: TCP Data received {"connection_id":132083,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62185a58012d6bea8006055f48000701572b..."} 
[2026-07-15 00:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62185a58012d6bea8006055f48000701572b..."} 
[2026-07-15 00:58:13] local.INFO: Processing buffer {"connection_id":132083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62185a58012d6bea8006055f48000701572b..."} 
[2026-07-15 00:58:13] local.INFO: Packet analysis {"connection_id":132083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6218"} 
[2026-07-15 00:58:13] local.INFO: Extracted packet for processing {"connection_id":132083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6218"} 
[2026-07-15 00:58:13] local.INFO: GPS Element Parsed {"raw_longitude":762047104,"raw_latitude":101015368,"longitude_deg":76.2047104,"latitude_deg":10.1015368,"altitude":7,"angle":343,"satellites":43,"speed":53,"hex_longitude":"2d6bea80","hex_latitude":"06055f48","is_valid_coordinates":true} 
[2026-07-15 00: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-07-15 00:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718639104001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135768314273071104,"note":"Value kept but may cause issues"} 
[2026-07-15 00:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7779264694698385408,"note":"Value kept but may cause issues"} 
[2026-07-15 00:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784057191000,"timestamp_ms":1784057191000,"timestamp_seconds":1784057191,"priority":1,"record_length":96,"hex_timestamp":"0000019f62185a58"} 
[2026-07-15 00:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:58:13] 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-07-15 00: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-15 00:58:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:58:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132083,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132083,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718639104001,"66":27984,"183":206,"8":65280,"24":53,"16":135768314273071104,"45":7779264694698385408},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,8,24,16,45]} 
[2026-07-15 00:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718639104001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:58:13] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-15 00:58:13] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-15 00:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135768314273071104,"km_value":135768314273071.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":7779264694698385408,"description":"Unknown IO ID 45"} 
[2026-07-15 00:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718639104001,"power":27984,"unknown_183":206,"unknown_8":65280,"ignition":53,"odometer":null,"unknown_45":7779264694698385408}} 
[2026-07-15 00:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":132083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488769,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:58:13] local.INFO: GPS data processed {"connection_id":132083,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:58:13] local.INFO: Acknowledgment sent {"connection_id":132083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:58:13] local.INFO: TCP Data received {"connection_id":132084,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f62160c80012d7f92c005afd8300000005028..."} 
[2026-07-15 00:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62160c80012d7f92c005afd8300000005028..."} 
[2026-07-15 00:58:13] local.INFO: Processing buffer {"connection_id":132084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62160c80012d7f92c005afd8300000005028..."} 
[2026-07-15 00:58:13] local.INFO: Packet analysis {"connection_id":132084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6216"} 
[2026-07-15 00:58:13] local.INFO: Extracted packet for processing {"connection_id":132084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6216"} 
[2026-07-15 00:58:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00: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-07-15 00:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718525184001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784057040000,"timestamp_ms":1784057040000,"timestamp_seconds":1784057040,"priority":1,"record_length":96,"hex_timestamp":"0000019f62160c80"} 
[2026-07-15 00:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:58:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 00:58:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:58:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718525184001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718525184001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:58:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:58:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718525184001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":132084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:58:13] local.INFO: GPS data processed {"connection_id":132084,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:58:13] local.INFO: Acknowledgment sent {"connection_id":132084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:58:18] local.INFO: TCP Data received {"connection_id":132084,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f62160c80012d7f92c005afd8300000005028..."} 
[2026-07-15 00:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62160c80012d7f92c005afd8300000005028..."} 
[2026-07-15 00:58:18] local.INFO: Processing buffer {"connection_id":132084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62160c80012d7f92c005afd8300000005028..."} 
[2026-07-15 00:58:18] local.INFO: Packet analysis {"connection_id":132084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6216"} 
[2026-07-15 00:58:18] local.INFO: Extracted packet for processing {"connection_id":132084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6216"} 
[2026-07-15 00:58:18] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718525184001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:58:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:58:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784057040000,"timestamp_ms":1784057040000,"timestamp_seconds":1784057040,"priority":1,"record_length":96,"hex_timestamp":"0000019f62160c80"} 
[2026-07-15 00:58:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:58:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 00:58:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:58:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:58:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":132084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":132084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":132084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:58: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-07-15 00:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718525184001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718525184001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:58:18] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:58:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:58:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718525184001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":132084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:58:18] local.INFO: GPS data processed {"connection_id":132084,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:58:18] local.INFO: Acknowledgment sent {"connection_id":132084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:58:41] local.INFO: TCP Data received {"connection_id":132918,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132918,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:58:41] local.INFO: Processing buffer {"connection_id":132918,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:58:41] local.INFO: IMEI packet received {"connection_id":132918,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 00:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":132918,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:58:44] local.INFO: TCP Data received {"connection_id":132918,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132918,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:58:44] local.INFO: Processing buffer {"connection_id":132918,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:58:44] local.INFO: IMEI packet received {"connection_id":132918,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 00:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":132918,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:58:45] local.INFO: TCP Data received {"connection_id":132918,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6219a278012d6b99800606a390000600102c..."} 
[2026-07-15 00:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6219a278012d6b99800606a390000600102c..."} 
[2026-07-15 00:58:45] local.INFO: Processing buffer {"connection_id":132918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6219a278012d6b99800606a390000600102c..."} 
[2026-07-15 00:58:45] local.INFO: Packet analysis {"connection_id":132918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6219"} 
[2026-07-15 00:58:45] local.INFO: Extracted packet for processing {"connection_id":132918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6219"} 
[2026-07-15 00:58:45] local.INFO: GPS Element Parsed {"raw_longitude":762026368,"raw_latitude":101098384,"longitude_deg":76.2026368,"latitude_deg":10.1098384,"altitude":6,"angle":16,"satellites":44,"speed":25,"hex_longitude":"2d6b9980","hex_latitude":"0606a390","is_valid_coordinates":true} 
[2026-07-15 00: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-07-15 00:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718661888001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135772759564222464,"note":"Value kept but may cause issues"} 
[2026-07-15 00:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7752806046910830592,"note":"Value kept but may cause issues"} 
[2026-07-15 00:58:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784057275000,"timestamp_ms":1784057275000,"timestamp_seconds":1784057275,"priority":1,"record_length":96,"hex_timestamp":"0000019f6219a278"} 
[2026-07-15 00:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:58:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-15 00:58:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:58:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":132918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":132918,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":132918,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:58:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718661888001,"66":27626,"182":206,"8":65280,"24":25,"16":135772759564222464,"45":7752806046910830592},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,8,24,16,45]} 
[2026-07-15 00:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718661888001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:58:45] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 00:58:45] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-15 00:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135772759564222464,"km_value":135772759564222.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":7752806046910830592,"description":"Unknown IO ID 45"} 
[2026-07-15 00:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718661888001,"power":27626,"unknown_182":206,"unknown_8":65280,"ignition":25,"odometer":null,"unknown_45":7752806046910830592}} 
[2026-07-15 00:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":132918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488772,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:58:45] local.INFO: GPS data processed {"connection_id":132918,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:58:45] local.INFO: Acknowledgment sent {"connection_id":132918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:58:46] local.INFO: TCP Data received {"connection_id":132918,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6219a660012d6b99800606a6b0000601662c..."} 
[2026-07-15 00:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6219a660012d6b99800606a6b0000601662c..."} 
[2026-07-15 00:58:46] local.INFO: Processing buffer {"connection_id":132918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6219a660012d6b99800606a6b0000601662c..."} 
[2026-07-15 00:58:46] local.INFO: Packet analysis {"connection_id":132918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6219"} 
[2026-07-15 00:58:46] local.INFO: Extracted packet for processing {"connection_id":132918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6219"} 
[2026-07-15 00:58:46] local.INFO: GPS Element Parsed {"raw_longitude":762026368,"raw_latitude":101099184,"longitude_deg":76.2026368,"latitude_deg":10.1099184,"altitude":6,"angle":358,"satellites":44,"speed":29,"hex_longitude":"2d6b9980","hex_latitude":"0606a6b0","is_valid_coordinates":true} 
[2026-07-15 00:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718662400001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135772798218928128,"note":"Value kept but may cause issues"} 
[2026-07-15 00:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7753368996864561152,"note":"Value kept but may cause issues"} 
[2026-07-15 00:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784057276000,"timestamp_ms":1784057276000,"timestamp_seconds":1784057276,"priority":1,"record_length":96,"hex_timestamp":"0000019f6219a660"} 
[2026-07-15 00:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:58:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-15 00:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:58:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132918,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132918,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718662400001,"66":27626,"182":206,"8":65280,"24":29,"16":135772798218928128,"45":7753368996864561152},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,8,24,16,45]} 
[2026-07-15 00:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718662400001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:58:46] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 00:58:46] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-15 00:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135772798218928128,"km_value":135772798218928.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":7753368996864561152,"description":"Unknown IO ID 45"} 
[2026-07-15 00:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718662400001,"power":27626,"unknown_182":206,"unknown_8":65280,"ignition":29,"odometer":null,"unknown_45":7753368996864561152}} 
[2026-07-15 00:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":132918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488773,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:58:46] local.INFO: GPS data processed {"connection_id":132918,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:58:46] local.INFO: Acknowledgment sent {"connection_id":132918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:59:03] local.INFO: TCP Data received {"connection_id":134290,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:59:03] local.INFO: Processing buffer {"connection_id":134290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:59:03] local.INFO: IMEI packet received {"connection_id":134290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 00:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":134290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:59:07] local.INFO: TCP Data received {"connection_id":134290,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:59:07] local.INFO: Processing buffer {"connection_id":134290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:59:07] local.INFO: IMEI packet received {"connection_id":134290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":134290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:59:13] local.INFO: TCP Data received {"connection_id":134290,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:59:13] local.INFO: Processing buffer {"connection_id":134290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 00:59:13] local.INFO: IMEI packet received {"connection_id":134290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 00:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":134290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:59:13] local.INFO: TCP Data received {"connection_id":134290,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f62160c80012d7f92c005afd8300000005028..."} 
[2026-07-15 00:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62160c80012d7f92c005afd8300000005028..."} 
[2026-07-15 00:59:13] local.INFO: Processing buffer {"connection_id":134290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62160c80012d7f92c005afd8300000005028..."} 
[2026-07-15 00:59:13] local.INFO: Packet analysis {"connection_id":134290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6216"} 
[2026-07-15 00:59:13] local.INFO: Extracted packet for processing {"connection_id":134290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6216"} 
[2026-07-15 00:59:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718525184001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784057040000,"timestamp_ms":1784057040000,"timestamp_seconds":1784057040,"priority":1,"record_length":96,"hex_timestamp":"0000019f62160c80"} 
[2026-07-15 00:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:59:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 00:59:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:59:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":134290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":134290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":134290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:59:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718525184001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718525184001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:59:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:59:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718525184001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":134290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:59:13] local.INFO: GPS data processed {"connection_id":134290,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:59:13] local.INFO: Acknowledgment sent {"connection_id":134290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:59:17] local.INFO: TCP Data received {"connection_id":132918,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6219cd70012d6b94c00606c9d00006016028..."} 
[2026-07-15 00:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6219cd70012d6b94c00606c9d00006016028..."} 
[2026-07-15 00:59:17] local.INFO: Processing buffer {"connection_id":132918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6219cd70012d6b94c00606c9d00006016028..."} 
[2026-07-15 00:59:17] local.INFO: Packet analysis {"connection_id":132918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6219"} 
[2026-07-15 00:59:17] local.INFO: Extracted packet for processing {"connection_id":132918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6219"} 
[2026-07-15 00:59:17] local.INFO: GPS Element Parsed {"raw_longitude":762025152,"raw_latitude":101108176,"longitude_deg":76.2025152,"latitude_deg":10.1108176,"altitude":6,"angle":352,"satellites":40,"speed":39,"hex_longitude":"2d6b94c0","hex_latitude":"0606c9d0","is_valid_coordinates":true} 
[2026-07-15 00:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718662656001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135773236305592320,"note":"Value kept but may cause issues"} 
[2026-07-15 00:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7753368996864765952,"note":"Value kept but may cause issues"} 
[2026-07-15 00:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784057286000,"timestamp_ms":1784057286000,"timestamp_seconds":1784057286,"priority":1,"record_length":96,"hex_timestamp":"0000019f6219cd70"} 
[2026-07-15 00:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:59:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-15 00:59:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:59:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132918,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132918,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718662656001,"66":27930,"182":206,"8":65280,"24":39,"16":135773236305592320,"45":7753368996864765952},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,8,24,16,45]} 
[2026-07-15 00:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718662656001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:59:17] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 00:59:17] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-15 00:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135773236305592320,"km_value":135773236305592.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":7753368996864765952,"description":"Unknown IO ID 45"} 
[2026-07-15 00:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718662656001,"power":27930,"unknown_182":206,"unknown_8":65280,"ignition":39,"odometer":null,"unknown_45":7753368996864765952}} 
[2026-07-15 00:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":132918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488775,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:59:17] local.INFO: GPS data processed {"connection_id":132918,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:59:17] local.INFO: Acknowledgment sent {"connection_id":132918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:59:36] local.INFO: TCP Data received {"connection_id":131914,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131914,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:59:36] local.INFO: Processing buffer {"connection_id":131914,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:59:36] local.INFO: IMEI packet received {"connection_id":131914,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 00:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":131914,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 00:59:36] local.INFO: TCP Data received {"connection_id":131914,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131914,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:59:36] local.INFO: Processing buffer {"connection_id":131914,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:59:36] local.INFO: IMEI packet received {"connection_id":131914,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 00:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":131914,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:59:41] local.INFO: TCP Data received {"connection_id":131914,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131914,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:59:41] local.INFO: Processing buffer {"connection_id":131914,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 00:59:41] local.INFO: IMEI packet received {"connection_id":131914,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 00:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":131914,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 00:59:41] local.INFO: TCP Data received {"connection_id":131914,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6219f098012d6b8dc00606f0280005015d29..."} 
[2026-07-15 00:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6219f098012d6b8dc00606f0280005015d29..."} 
[2026-07-15 00:59:41] local.INFO: Processing buffer {"connection_id":131914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6219f098012d6b8dc00606f0280005015d29..."} 
[2026-07-15 00:59:41] local.INFO: Packet analysis {"connection_id":131914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6219"} 
[2026-07-15 00:59:41] local.INFO: Extracted packet for processing {"connection_id":131914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6219"} 
[2026-07-15 00:59:41] local.INFO: GPS Element Parsed {"raw_longitude":762023360,"raw_latitude":101117992,"longitude_deg":76.202336,"latitude_deg":10.1117992,"altitude":5,"angle":349,"satellites":41,"speed":46,"hex_longitude":"2d6b8dc0","hex_latitude":"0606f028","is_valid_coordinates":true} 
[2026-07-15 00:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 00:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718665216001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135773721636896768,"note":"Value kept but may cause issues"} 
[2026-07-15 00:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7752031990727692288,"note":"Value kept but may cause issues"} 
[2026-07-15 00:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784057295000,"timestamp_ms":1784057295000,"timestamp_seconds":1784057295,"priority":1,"record_length":96,"hex_timestamp":"0000019f6219f098"} 
[2026-07-15 00:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:59:41] 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-07-15 00:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-15 00:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 00:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131914,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131914,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718665216001,"66":27800,"182":206,"8":65280,"24":46,"16":135773721636896768,"45":7752031990727692288},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,8,24,16,45]} 
[2026-07-15 00:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718665216001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:59:41] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 00:59:41] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-15 00:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135773721636896768,"km_value":135773721636896.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":7752031990727692288,"description":"Unknown IO ID 45"} 
[2026-07-15 00:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718665216001,"power":27800,"unknown_182":206,"unknown_8":65280,"ignition":46,"odometer":null,"unknown_45":7752031990727692288}} 
[2026-07-15 00:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":131914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488776,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:59:42] local.INFO: GPS data processed {"connection_id":131914,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:59:42] local.INFO: Acknowledgment sent {"connection_id":131914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:59:44] local.INFO: TCP Data received {"connection_id":131914,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f621a0fd8012d6b82c0060714f8000601522c..."} 
[2026-07-15 00:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f621a0fd8012d6b82c0060714f8000601522c..."} 
[2026-07-15 00:59:44] local.INFO: Processing buffer {"connection_id":131914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f621a0fd8012d6b82c0060714f8000601522c..."} 
[2026-07-15 00:59:44] local.INFO: Packet analysis {"connection_id":131914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f621a"} 
[2026-07-15 00:59:44] local.INFO: Extracted packet for processing {"connection_id":131914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f621a"} 
[2026-07-15 00:59:44] local.INFO: GPS Element Parsed {"raw_longitude":762020544,"raw_latitude":101127416,"longitude_deg":76.2020544,"latitude_deg":10.1127416,"altitude":6,"angle":338,"satellites":44,"speed":51,"hex_longitude":"2d6b82c0","hex_latitude":"060714f8","is_valid_coordinates":true} 
[2026-07-15 00: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-07-15 00:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718667520001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135774198378266624,"note":"Value kept but may cause issues"} 
[2026-07-15 00:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7750061665893230592,"note":"Value kept but may cause issues"} 
[2026-07-15 00:59:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784057303000,"timestamp_ms":1784057303000,"timestamp_seconds":1784057303,"priority":1,"record_length":96,"hex_timestamp":"0000019f621a0fd8"} 
[2026-07-15 00:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:59:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 00: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 00:59:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00: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-07-15 00:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":131914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":131914,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":131914,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 00:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 00:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 00:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718667520001,"66":28006,"182":206,"8":65280,"24":51,"16":135774198378266624,"45":7750061665893230592},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,8,24,16,45]} 
[2026-07-15 00:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 00:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 00:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718667520001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:59:44] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 00:59:44] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-15 00:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135774198378266624,"km_value":135774198378266.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":7750061665893230592,"description":"Unknown IO ID 45"} 
[2026-07-15 00:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718667520001,"power":28006,"unknown_182":206,"unknown_8":65280,"ignition":51,"odometer":null,"unknown_45":7750061665893230592}} 
[2026-07-15 00:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":131914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488777,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:59:44] local.INFO: GPS data processed {"connection_id":131914,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:59:44] local.INFO: Acknowledgment sent {"connection_id":131914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 00:59:44] local.INFO: TCP Data received {"connection_id":134290,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f621aa448012d7f92c005afd8300000005024..."} 
[2026-07-15 00:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f621aa448012d7f92c005afd8300000005024..."} 
[2026-07-15 00:59:44] local.INFO: Processing buffer {"connection_id":134290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f621aa448012d7f92c005afd8300000005024..."} 
[2026-07-15 00:59:44] local.INFO: Packet analysis {"connection_id":134290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f621a"} 
[2026-07-15 00:59:44] local.INFO: Extracted packet for processing {"connection_id":134290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f621a"} 
[2026-07-15 00:59:44] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 00: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-07-15 00:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718602240001,"note":"Value kept but may cause issues"} 
[2026-07-15 00:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 00:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 00:59:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 00:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784057341000,"timestamp_ms":1784057341000,"timestamp_seconds":1784057341,"priority":1,"record_length":96,"hex_timestamp":"0000019f621aa448"} 
[2026-07-15 00:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 00:59:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 00:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 00:59:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 00: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-07-15 00:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 00:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 00:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":134290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 00:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":134290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":134290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 00:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 00:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 00:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 00:59:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718602240001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 00:59:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 00:59:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 00:59:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718602240001,"description":"Unknown IO ID 0"} 
[2026-07-15 00:59:45] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 00:59:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 00:59:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 00:59:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 00:59:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718602240001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 00:59:45] local.INFO: DEBUG: GPS processor result {"connection_id":134290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 00:59:45] local.INFO: GPS data processed {"connection_id":134290,"processed":1,"errors":0,"total":1} 
[2026-07-15 00:59:45] local.INFO: Acknowledgment sent {"connection_id":134290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:00:08] local.INFO: TCP Data received {"connection_id":131915,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:00:08] local.INFO: Processing buffer {"connection_id":131915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:00:08] local.INFO: IMEI packet received {"connection_id":131915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":131915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:00:13] local.INFO: TCP Data received {"connection_id":131915,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:00:13] local.INFO: Processing buffer {"connection_id":131915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:00:13] local.INFO: IMEI packet received {"connection_id":131915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":131915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:00:18] local.INFO: TCP Data received {"connection_id":131915,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f621aa448012d7f92c005afd8300000005024..."} 
[2026-07-15 01:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f621aa448012d7f92c005afd8300000005024..."} 
[2026-07-15 01:00:18] local.INFO: Processing buffer {"connection_id":131915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f621aa448012d7f92c005afd8300000005024..."} 
[2026-07-15 01:00:18] local.INFO: Packet analysis {"connection_id":131915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f621a"} 
[2026-07-15 01:00:18] local.INFO: Extracted packet for processing {"connection_id":131915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f621a"} 
[2026-07-15 01:00:18] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718602240001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:00:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784057341000,"timestamp_ms":1784057341000,"timestamp_seconds":1784057341,"priority":1,"record_length":96,"hex_timestamp":"0000019f621aa448"} 
[2026-07-15 01:00:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:00:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 01:00:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:00:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:00:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":131915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":131915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":131915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:00: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-07-15 01:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718602240001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718602240001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:00:18] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:00:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718602240001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":131915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:00:18] local.INFO: GPS data processed {"connection_id":131915,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:00:18] local.INFO: Acknowledgment sent {"connection_id":131915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:00:22] local.INFO: TCP Data received {"connection_id":131914,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f621a2b30012d6b7540060735c00007015127..."} 
[2026-07-15 01:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f621a2b30012d6b7540060735c00007015127..."} 
[2026-07-15 01:00:22] local.INFO: Processing buffer {"connection_id":131914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f621a2b30012d6b7540060735c00007015127..."} 
[2026-07-15 01:00:22] local.INFO: Packet analysis {"connection_id":131914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f621a"} 
[2026-07-15 01:00:22] local.INFO: Extracted packet for processing {"connection_id":131914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f621a"} 
[2026-07-15 01:00:22] local.INFO: GPS Element Parsed {"raw_longitude":762017088,"raw_latitude":101135808,"longitude_deg":76.2017088,"latitude_deg":10.1135808,"altitude":7,"angle":337,"satellites":39,"speed":51,"hex_longitude":"2d6b7540","hex_latitude":"060735c0","is_valid_coordinates":true} 
[2026-07-15 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-07-15 01:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718669568001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135774640759898112,"note":"Value kept but may cause issues"} 
[2026-07-15 01:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7746965441151825920,"note":"Value kept but may cause issues"} 
[2026-07-15 01:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784057310000,"timestamp_ms":1784057310000,"timestamp_seconds":1784057310,"priority":1,"record_length":96,"hex_timestamp":"0000019f621a2b30"} 
[2026-07-15 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-07-15 01:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 01:00:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 01:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":131914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":131914,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":131914,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718669568001,"66":27887,"182":206,"8":65280,"24":51,"16":135774640759898112,"45":7746965441151825920},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,8,24,16,45]} 
[2026-07-15 01:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718669568001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:00:22] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 01:00:22] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-15 01:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135774640759898112,"km_value":135774640759898.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":7746965441151825920,"description":"Unknown IO ID 45"} 
[2026-07-15 01:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718669568001,"power":27887,"unknown_182":206,"unknown_8":65280,"ignition":51,"odometer":null,"unknown_45":7746965441151825920}} 
[2026-07-15 01:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":131914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488780,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:00:22] local.INFO: GPS data processed {"connection_id":131914,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:00:22] local.INFO: Acknowledgment sent {"connection_id":131914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:00:27] local.INFO: TCP Data received {"connection_id":131915,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f621aa448012d7f92c005afd8300000005024..."} 
[2026-07-15 01:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f621aa448012d7f92c005afd8300000005024..."} 
[2026-07-15 01:00:27] local.INFO: Processing buffer {"connection_id":131915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f621aa448012d7f92c005afd8300000005024..."} 
[2026-07-15 01:00:27] local.INFO: Packet analysis {"connection_id":131915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f621a"} 
[2026-07-15 01:00:27] local.INFO: Extracted packet for processing {"connection_id":131915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f621a"} 
[2026-07-15 01:00:27] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718602240001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:00:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784057341000,"timestamp_ms":1784057341000,"timestamp_seconds":1784057341,"priority":1,"record_length":96,"hex_timestamp":"0000019f621aa448"} 
[2026-07-15 01:00:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:00:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 01:00:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:00:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:00:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":131915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":131915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":131915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:00:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718602240001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718602240001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:00:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:00:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718602240001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":131915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:00:27] local.INFO: GPS data processed {"connection_id":131915,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:00:27] local.INFO: Acknowledgment sent {"connection_id":131915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:00:36] local.INFO: TCP Data received {"connection_id":132919,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132919,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:00:36] local.INFO: Processing buffer {"connection_id":132919,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:00:36] local.INFO: IMEI packet received {"connection_id":132919,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":132919,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:00:39] local.INFO: TCP Data received {"connection_id":132919,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132919,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:00:39] local.INFO: Processing buffer {"connection_id":132919,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:00:39] local.INFO: IMEI packet received {"connection_id":132919,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:00:39] local.INFO: IMEI acknowledgment sent {"connection_id":132919,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:00:41] local.INFO: TCP Data received {"connection_id":132919,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132919,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:00:41] local.INFO: Processing buffer {"connection_id":132919,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:00:41] local.INFO: IMEI packet received {"connection_id":132919,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":132919,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:00:42] local.INFO: TCP Data received {"connection_id":132919,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f621b5be0012d6b08400608b6f8000600012a..."} 
[2026-07-15 01:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f621b5be0012d6b08400608b6f8000600012a..."} 
[2026-07-15 01:00:42] local.INFO: Processing buffer {"connection_id":132919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f621b5be0012d6b08400608b6f8000600012a..."} 
[2026-07-15 01:00:42] local.INFO: Packet analysis {"connection_id":132919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f621b"} 
[2026-07-15 01:00:42] local.INFO: Extracted packet for processing {"connection_id":132919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f621b"} 
[2026-07-15 01:00:42] local.INFO: GPS Element Parsed {"raw_longitude":761989184,"raw_latitude":101234424,"longitude_deg":76.1989184,"latitude_deg":10.1234424,"altitude":6,"angle":1,"satellites":42,"speed":54,"hex_longitude":"2d6b0840","hex_latitude":"0608b6f8","is_valid_coordinates":true} 
[2026-07-15 01:00: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-07-15 01:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718689536001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135779618626994176,"note":"Value kept but may cause issues"} 
[2026-07-15 01:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7713469918948179968,"note":"Value kept but may cause issues"} 
[2026-07-15 01:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784057388000,"timestamp_ms":1784057388000,"timestamp_seconds":1784057388,"priority":1,"record_length":96,"hex_timestamp":"0000019f621b5be0"} 
[2026-07-15 01:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-15 01:00:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:00: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-07-15 01:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132919,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132919,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718689536001,"66":27843,"116":206,"8":65280,"24":54,"16":135779618626994176,"45":7713469918948179968},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,8,24,16,45]} 
[2026-07-15 01:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718689536001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:00:42] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-15 01:00:42] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-15 01:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135779618626994176,"km_value":135779618626994.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":7713469918948179968,"description":"Unknown IO ID 45"} 
[2026-07-15 01:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718689536001,"power":27843,"unknown_116":206,"unknown_8":65280,"ignition":54,"odometer":null,"unknown_45":7713469918948179968}} 
[2026-07-15 01:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":132919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488782,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:00:42] local.INFO: GPS data processed {"connection_id":132919,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:00:42] local.INFO: Acknowledgment sent {"connection_id":132919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:01:05] local.INFO: TCP Data received {"connection_id":134291,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:01:05] local.INFO: Processing buffer {"connection_id":134291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:01:05] local.INFO: IMEI packet received {"connection_id":134291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":134291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:01:09] local.INFO: TCP Data received {"connection_id":134291,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:01:09] local.INFO: Processing buffer {"connection_id":134291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:01:09] local.INFO: IMEI packet received {"connection_id":134291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":134291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:01:10] local.INFO: TCP Data received {"connection_id":134291,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f621aa448012d7f92c005afd8300000005024..."} 
[2026-07-15 01:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f621aa448012d7f92c005afd8300000005024..."} 
[2026-07-15 01:01:10] local.INFO: Processing buffer {"connection_id":134291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f621aa448012d7f92c005afd8300000005024..."} 
[2026-07-15 01:01:10] local.INFO: Packet analysis {"connection_id":134291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f621a"} 
[2026-07-15 01:01:10] local.INFO: Extracted packet for processing {"connection_id":134291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f621a"} 
[2026-07-15 01:01:10] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718602240001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784057341000,"timestamp_ms":1784057341000,"timestamp_seconds":1784057341,"priority":1,"record_length":96,"hex_timestamp":"0000019f621aa448"} 
[2026-07-15 01:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 01:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":134291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":134291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":134291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718602240001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718602240001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:01:10] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:01:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718602240001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":134291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:01:10] local.INFO: GPS data processed {"connection_id":134291,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:01:10] local.INFO: Acknowledgment sent {"connection_id":134291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:01:12] local.INFO: TCP Data received {"connection_id":132919,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f621b5be0012d6b08400608b6f8000600012a..."} 
[2026-07-15 01:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f621b5be0012d6b08400608b6f8000600012a..."} 
[2026-07-15 01:01:12] local.INFO: Processing buffer {"connection_id":132919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f621b5be0012d6b08400608b6f8000600012a..."} 
[2026-07-15 01:01:12] local.INFO: Packet analysis {"connection_id":132919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f621b"} 
[2026-07-15 01:01:12] local.INFO: Extracted packet for processing {"connection_id":132919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f621b"} 
[2026-07-15 01:01:12] local.INFO: GPS Element Parsed {"raw_longitude":761989184,"raw_latitude":101234424,"longitude_deg":76.1989184,"latitude_deg":10.1234424,"altitude":6,"angle":1,"satellites":42,"speed":54,"hex_longitude":"2d6b0840","hex_latitude":"0608b6f8","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718691328001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135779618626994176,"note":"Value kept but may cause issues"} 
[2026-07-15 01:01:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7712484756532164608,"note":"Value kept but may cause issues"} 
[2026-07-15 01:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784057388000,"timestamp_ms":1784057388000,"timestamp_seconds":1784057388,"priority":1,"record_length":96,"hex_timestamp":"0000019f621b5be0"} 
[2026-07-15 01:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:01:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-15 01:01:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132919,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132919,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718691328001,"66":27843,"116":206,"8":65280,"24":54,"16":135779618626994176,"45":7712484756532164608},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,8,24,16,45]} 
[2026-07-15 01:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718691328001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:01:12] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-15 01:01:12] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-15 01:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135779618626994176,"km_value":135779618626994.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:01:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":7712484756532164608,"description":"Unknown IO ID 45"} 
[2026-07-15 01:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718691328001,"power":27843,"unknown_116":206,"unknown_8":65280,"ignition":54,"odometer":null,"unknown_45":7712484756532164608}} 
[2026-07-15 01:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":132919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488784,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:01:12] local.INFO: GPS data processed {"connection_id":132919,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:01:12] local.INFO: Acknowledgment sent {"connection_id":132919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:01:13] local.INFO: TCP Data received {"connection_id":134291,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f621aa448012d7f92c005afd8300000005024..."} 
[2026-07-15 01:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f621aa448012d7f92c005afd8300000005024..."} 
[2026-07-15 01:01:13] local.INFO: Processing buffer {"connection_id":134291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f621aa448012d7f92c005afd8300000005024..."} 
[2026-07-15 01:01:13] local.INFO: Packet analysis {"connection_id":134291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f621a"} 
[2026-07-15 01:01:13] local.INFO: Extracted packet for processing {"connection_id":134291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f621a"} 
[2026-07-15 01:01:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718602240001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:01:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784057341000,"timestamp_ms":1784057341000,"timestamp_seconds":1784057341,"priority":1,"record_length":96,"hex_timestamp":"0000019f621aa448"} 
[2026-07-15 01:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:01:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 01:01:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:01:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":134291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":134291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":134291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:01:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718602240001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718602240001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:01:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:01:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718602240001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":134291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:01:13] local.INFO: GPS data processed {"connection_id":134291,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:01:13] local.INFO: Acknowledgment sent {"connection_id":134291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:01:36] local.INFO: TCP Data received {"connection_id":131916,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131916,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:01:36] local.INFO: Processing buffer {"connection_id":131916,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:01:36] local.INFO: IMEI packet received {"connection_id":131916,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":131916,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:01:41] local.INFO: TCP Data received {"connection_id":131916,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131916,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:01:41] local.INFO: Processing buffer {"connection_id":131916,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:01:41] local.INFO: IMEI packet received {"connection_id":131916,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":131916,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:01:42] local.INFO: TCP Data received {"connection_id":131916,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f621b7350012d6b07400608d7200007015e2c..."} 
[2026-07-15 01:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f621b7350012d6b07400608d7200007015e2c..."} 
[2026-07-15 01:01:42] local.INFO: Processing buffer {"connection_id":131916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f621b7350012d6b07400608d7200007015e2c..."} 
[2026-07-15 01:01:42] local.INFO: Packet analysis {"connection_id":131916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f621b"} 
[2026-07-15 01:01:42] local.INFO: Extracted packet for processing {"connection_id":131916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f621b"} 
[2026-07-15 01:01:42] local.INFO: GPS Element Parsed {"raw_longitude":761988928,"raw_latitude":101242656,"longitude_deg":76.1988928,"latitude_deg":10.1242656,"altitude":7,"angle":350,"satellites":44,"speed":54,"hex_longitude":"2d6b0740","hex_latitude":"0608d720","is_valid_coordinates":true} 
[2026-07-15 01:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718691328001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135780022353920000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7712484756532164608,"note":"Value kept but may cause issues"} 
[2026-07-15 01:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784057394000,"timestamp_ms":1784057394000,"timestamp_seconds":1784057394,"priority":1,"record_length":96,"hex_timestamp":"0000019f621b7350"} 
[2026-07-15 01:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-15 01:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":131916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":131916,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":131916,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718691328001,"66":27974,"155":206,"8":65280,"24":54,"16":135780022353920000,"45":7712484756532164608},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,8,24,16,45]} 
[2026-07-15 01:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718691328001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:01:42] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-15 01:01:42] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-15 01:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135780022353920000,"km_value":135780022353920,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":7712484756532164608,"description":"Unknown IO ID 45"} 
[2026-07-15 01:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718691328001,"power":27974,"unknown_155":206,"unknown_8":65280,"ignition":54,"odometer":null,"unknown_45":7712484756532164608}} 
[2026-07-15 01:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":131916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488786,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:01:42] local.INFO: GPS data processed {"connection_id":131916,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:01:42] local.INFO: Acknowledgment sent {"connection_id":131916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:01:46] local.INFO: TCP Data received {"connection_id":134291,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f621aa448012d7f92c005afd8300000005024..."} 
[2026-07-15 01:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f621aa448012d7f92c005afd8300000005024..."} 
[2026-07-15 01:01:46] local.INFO: Processing buffer {"connection_id":134291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f621aa448012d7f92c005afd8300000005024..."} 
[2026-07-15 01:01:46] local.INFO: Packet analysis {"connection_id":134291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f621a"} 
[2026-07-15 01:01:46] local.INFO: Extracted packet for processing {"connection_id":134291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f621a"} 
[2026-07-15 01:01:46] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718602240001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784057341000,"timestamp_ms":1784057341000,"timestamp_seconds":1784057341,"priority":1,"record_length":96,"hex_timestamp":"0000019f621aa448"} 
[2026-07-15 01:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:01:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 01:01:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:01:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":134291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":134291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":134291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718602240001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718602240001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:01:46] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:01:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718602240001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":134291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:01:46] local.INFO: GPS data processed {"connection_id":134291,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:01:46] local.INFO: Acknowledgment sent {"connection_id":134291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:02:02] local.INFO: TCP Data received {"connection_id":132920,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:02:02] local.INFO: Processing buffer {"connection_id":132920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:02:02] local.INFO: IMEI packet received {"connection_id":132920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":132920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:02:12] local.INFO: TCP Data received {"connection_id":132920,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:02:12] local.INFO: Processing buffer {"connection_id":132920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:02:12] local.INFO: IMEI packet received {"connection_id":132920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":132920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:02:13] local.INFO: TCP Data received {"connection_id":132920,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:02:13] local.INFO: Processing buffer {"connection_id":132920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:02:13] local.INFO: IMEI packet received {"connection_id":132920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":132920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:02:15] local.INFO: TCP Data received {"connection_id":131916,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f621cb3a0012d6a9240060a77d8000901532b..."} 
[2026-07-15 01:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f621cb3a0012d6a9240060a77d8000901532b..."} 
[2026-07-15 01:02:15] local.INFO: Processing buffer {"connection_id":131916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f621cb3a0012d6a9240060a77d8000901532b..."} 
[2026-07-15 01:02:15] local.INFO: Packet analysis {"connection_id":131916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f621c"} 
[2026-07-15 01:02:15] local.INFO: Extracted packet for processing {"connection_id":131916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f621c"} 
[2026-07-15 01:02:15] local.INFO: GPS Element Parsed {"raw_longitude":761958976,"raw_latitude":101349336,"longitude_deg":76.1958976,"latitude_deg":10.1349336,"altitude":9,"angle":339,"satellites":43,"speed":54,"hex_longitude":"2d6a9240","hex_latitude":"060a77d8","is_valid_coordinates":true} 
[2026-07-15 01:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718712576001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135785408242909184,"note":"Value kept but may cause issues"} 
[2026-07-15 01:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7680818821679927296,"note":"Value kept but may cause issues"} 
[2026-07-15 01:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784057476000,"timestamp_ms":1784057476000,"timestamp_seconds":1784057476,"priority":1,"record_length":96,"hex_timestamp":"0000019f621cb3a0"} 
[2026-07-15 01:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-15 01:02:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:02:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":131916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":131916,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":131916,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718712576001,"66":27843,"153":206,"8":65280,"24":54,"16":135785408242909184,"45":7680818821679927296},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,8,24,16,45]} 
[2026-07-15 01:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718712576001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:02:15] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-15 01:02:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-15 01:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135785408242909184,"km_value":135785408242909.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":7680818821679927296,"description":"Unknown IO ID 45"} 
[2026-07-15 01:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718712576001,"power":27843,"unknown_153":206,"unknown_8":65280,"ignition":54,"odometer":null,"unknown_45":7680818821679927296}} 
[2026-07-15 01:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":131916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488788,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:02:15] local.INFO: GPS data processed {"connection_id":131916,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:02:15] local.INFO: Acknowledgment sent {"connection_id":131916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:02:18] local.INFO: TCP Data received {"connection_id":132920,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:02:18] local.INFO: Processing buffer {"connection_id":132920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:02:18] local.INFO: IMEI packet received {"connection_id":132920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":132920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:02:18] local.INFO: TCP Data received {"connection_id":132920,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f621aa448012d7f92c005afd8300000005024..."} 
[2026-07-15 01:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f621aa448012d7f92c005afd8300000005024..."} 
[2026-07-15 01:02:18] local.INFO: Processing buffer {"connection_id":132920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f621aa448012d7f92c005afd8300000005024..."} 
[2026-07-15 01:02:18] local.INFO: Packet analysis {"connection_id":132920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f621a"} 
[2026-07-15 01:02:18] local.INFO: Extracted packet for processing {"connection_id":132920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f621a"} 
[2026-07-15 01:02:18] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718602240001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:02:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784057341000,"timestamp_ms":1784057341000,"timestamp_seconds":1784057341,"priority":1,"record_length":96,"hex_timestamp":"0000019f621aa448"} 
[2026-07-15 01:02:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:02:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 01:02:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:02:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:02:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":132920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":132920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":132920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:02: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-07-15 01:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718602240001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718602240001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:02:18] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:02:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718602240001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":132920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:02:18] local.INFO: GPS data processed {"connection_id":132920,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:02:18] local.INFO: Acknowledgment sent {"connection_id":132920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:02:42] local.INFO: TCP Data received {"connection_id":132085,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132085,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:02:42] local.INFO: Processing buffer {"connection_id":132085,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:02:42] local.INFO: IMEI packet received {"connection_id":132085,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":132085,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:02:46] local.INFO: TCP Data received {"connection_id":132085,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132085,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:02:46] local.INFO: Processing buffer {"connection_id":132085,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:02:46] local.INFO: IMEI packet received {"connection_id":132085,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":132085,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:02:47] local.INFO: TCP Data received {"connection_id":132085,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f621ccef8012d6a8340060a99180007014d29..."} 
[2026-07-15 01:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f621ccef8012d6a8340060a99180007014d29..."} 
[2026-07-15 01:02:47] local.INFO: Processing buffer {"connection_id":132085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f621ccef8012d6a8340060a99180007014d29..."} 
[2026-07-15 01:02:47] local.INFO: Packet analysis {"connection_id":132085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f621c"} 
[2026-07-15 01:02:47] local.INFO: Extracted packet for processing {"connection_id":132085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f621c"} 
[2026-07-15 01:02:47] local.INFO: GPS Element Parsed {"raw_longitude":761955136,"raw_latitude":101357848,"longitude_deg":76.1955136,"latitude_deg":10.1357848,"altitude":7,"angle":333,"satellites":41,"speed":53,"hex_longitude":"2d6a8340","hex_latitude":"060a9918","is_valid_coordinates":true} 
[2026-07-15 01:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718713856001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135785859214475264,"note":"Value kept but may cause issues"} 
[2026-07-15 01:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7679270709309724672,"note":"Value kept but may cause issues"} 
[2026-07-15 01:02:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784057483000,"timestamp_ms":1784057483000,"timestamp_seconds":1784057483,"priority":1,"record_length":96,"hex_timestamp":"0000019f621ccef8"} 
[2026-07-15 01:02:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:02:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-15 01:02:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:02:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:02:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":132085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":132085,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":132085,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718713856001,"66":27887,"155":206,"8":65280,"24":53,"16":135785859214475264,"45":7679270709309724672},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,8,24,16,45]} 
[2026-07-15 01:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718713856001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:02:47] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-15 01:02:47] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-15 01:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135785859214475264,"km_value":135785859214475.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":7679270709309724672,"description":"Unknown IO ID 45"} 
[2026-07-15 01:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718713856001,"power":27887,"unknown_155":206,"unknown_8":65280,"ignition":53,"odometer":null,"unknown_45":7679270709309724672}} 
[2026-07-15 01:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":132085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488790,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:02:47] local.INFO: GPS data processed {"connection_id":132085,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:02:47] local.INFO: Acknowledgment sent {"connection_id":132085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:03:08] local.INFO: TCP Data received {"connection_id":132086,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:03:08] local.INFO: Processing buffer {"connection_id":132086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:03:08] local.INFO: IMEI packet received {"connection_id":132086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":132086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:03:13] local.INFO: TCP Data received {"connection_id":132086,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:03:13] local.INFO: Processing buffer {"connection_id":132086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:03:13] local.INFO: IMEI packet received {"connection_id":132086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":132086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:03:13] local.INFO: TCP Data received {"connection_id":132086,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f621aa448012d7f92c005afd8300000005024..."} 
[2026-07-15 01:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f621aa448012d7f92c005afd8300000005024..."} 
[2026-07-15 01:03:13] local.INFO: Processing buffer {"connection_id":132086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f621aa448012d7f92c005afd8300000005024..."} 
[2026-07-15 01:03:13] local.INFO: Packet analysis {"connection_id":132086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f621a"} 
[2026-07-15 01:03:13] local.INFO: Extracted packet for processing {"connection_id":132086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f621a"} 
[2026-07-15 01:03:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718602240001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:03:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:03:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784057341000,"timestamp_ms":1784057341000,"timestamp_seconds":1784057341,"priority":1,"record_length":96,"hex_timestamp":"0000019f621aa448"} 
[2026-07-15 01:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:03:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 01:03:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:03:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:03:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718602240001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718602240001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:03:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:03:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:03:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718602240001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":132086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:03:13] local.INFO: GPS data processed {"connection_id":132086,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:03:13] local.INFO: Acknowledgment sent {"connection_id":132086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:03:18] local.INFO: TCP Data received {"connection_id":132086,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f621aa448012d7f92c005afd8300000005024..."} 
[2026-07-15 01:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f621aa448012d7f92c005afd8300000005024..."} 
[2026-07-15 01:03:18] local.INFO: Processing buffer {"connection_id":132086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f621aa448012d7f92c005afd8300000005024..."} 
[2026-07-15 01:03:18] local.INFO: Packet analysis {"connection_id":132086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f621a"} 
[2026-07-15 01:03:18] local.INFO: Extracted packet for processing {"connection_id":132086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f621a"} 
[2026-07-15 01:03:18] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718602240001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:03:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784057341000,"timestamp_ms":1784057341000,"timestamp_seconds":1784057341,"priority":1,"record_length":96,"hex_timestamp":"0000019f621aa448"} 
[2026-07-15 01:03:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:03:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 01:03:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:03:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:03:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":132086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":132086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":132086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:03: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-07-15 01:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718602240001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718602240001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:03:18] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:03:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718602240001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":132086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:03:18] local.INFO: GPS data processed {"connection_id":132086,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:03:18] local.INFO: Acknowledgment sent {"connection_id":132086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:03:18] local.INFO: TCP Data received {"connection_id":132085,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f621cea50012d6a74c0060abaf0000801532a..."} 
[2026-07-15 01:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f621cea50012d6a74c0060abaf0000801532a..."} 
[2026-07-15 01:03:18] local.INFO: Processing buffer {"connection_id":132085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f621cea50012d6a74c0060abaf0000801532a..."} 
[2026-07-15 01:03:18] local.INFO: Packet analysis {"connection_id":132085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f621c"} 
[2026-07-15 01:03:18] local.INFO: Extracted packet for processing {"connection_id":132085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f621c"} 
[2026-07-15 01:03:18] local.INFO: GPS Element Parsed {"raw_longitude":761951424,"raw_latitude":101366512,"longitude_deg":76.1951424,"latitude_deg":10.1366512,"altitude":8,"angle":339,"satellites":42,"speed":53,"hex_longitude":"2d6a74c0","hex_latitude":"060abaf0","is_valid_coordinates":true} 
[2026-07-15 01:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718715648001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135786314481008640,"note":"Value kept but may cause issues"} 
[2026-07-15 01:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7675048584661243904,"note":"Value kept but may cause issues"} 
[2026-07-15 01:03:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784057490000,"timestamp_ms":1784057490000,"timestamp_seconds":1784057490,"priority":1,"record_length":96,"hex_timestamp":"0000019f621cea50"} 
[2026-07-15 01:03:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:03:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-15 01:03:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:03:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:03:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":132085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":132085,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":132085,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:03:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718715648001,"66":27876,"155":206,"8":65280,"24":53,"16":135786314481008640,"45":7675048584661243904},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,8,24,16,45]} 
[2026-07-15 01:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718715648001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:03:18] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-15 01:03:18] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-15 01:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135786314481008640,"km_value":135786314481008.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":7675048584661243904,"description":"Unknown IO ID 45"} 
[2026-07-15 01:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718715648001,"power":27876,"unknown_155":206,"unknown_8":65280,"ignition":53,"odometer":null,"unknown_45":7675048584661243904}} 
[2026-07-15 01:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":132085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488793,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:03:18] local.INFO: GPS data processed {"connection_id":132085,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:03:18] local.INFO: Acknowledgment sent {"connection_id":132085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:03:41] local.INFO: TCP Data received {"connection_id":132921,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132921,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:03:41] local.INFO: Processing buffer {"connection_id":132921,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:03:41] local.INFO: IMEI packet received {"connection_id":132921,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":132921,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:03:43] local.INFO: TCP Data received {"connection_id":132921,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132921,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:03:43] local.INFO: Processing buffer {"connection_id":132921,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:03:43] local.INFO: IMEI packet received {"connection_id":132921,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":132921,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:03:44] local.INFO: TCP Data received {"connection_id":132921,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f621e1718012d69f840060bd618000801522c..."} 
[2026-07-15 01:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f621e1718012d69f840060bd618000801522c..."} 
[2026-07-15 01:03:44] local.INFO: Processing buffer {"connection_id":132921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f621e1718012d69f840060bd618000801522c..."} 
[2026-07-15 01:03:44] local.INFO: Packet analysis {"connection_id":132921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f621e"} 
[2026-07-15 01:03:44] local.INFO: Extracted packet for processing {"connection_id":132921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f621e"} 
[2026-07-15 01:03:44] local.INFO: GPS Element Parsed {"raw_longitude":761919552,"raw_latitude":101439000,"longitude_deg":76.1919552,"latitude_deg":10.1439,"altitude":8,"angle":338,"satellites":44,"speed":38,"hex_longitude":"2d69f840","hex_latitude":"060bd618","is_valid_coordinates":true} 
[2026-07-15 01:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718731776001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135789651670597632,"note":"Value kept but may cause issues"} 
[2026-07-15 01:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7648519568125181952,"note":"Value kept but may cause issues"} 
[2026-07-15 01:03:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784057567000,"timestamp_ms":1784057567000,"timestamp_seconds":1784057567,"priority":1,"record_length":96,"hex_timestamp":"0000019f621e1718"} 
[2026-07-15 01:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:03:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 01:03:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:03:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":132921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":132921,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":132921,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:03:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718731776001,"66":27615,"111":206,"8":65280,"24":38,"16":135789651670597632,"45":7648519568125181952},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,8,24,16,45]} 
[2026-07-15 01:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718731776001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:03:44] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-15 01:03:44] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-15 01:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135789651670597632,"km_value":135789651670597.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:03:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":7648519568125181952,"description":"Unknown IO ID 45"} 
[2026-07-15 01:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718731776001,"power":27615,"unknown_111":206,"unknown_8":65280,"ignition":38,"odometer":null,"unknown_45":7648519568125181952}} 
[2026-07-15 01:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":132921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488794,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:03:44] local.INFO: GPS data processed {"connection_id":132921,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:03:44] local.INFO: Acknowledgment sent {"connection_id":132921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:03:46] local.INFO: TCP Data received {"connection_id":132921,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f621e1718012d69f840060bd618000801522c..."} 
[2026-07-15 01:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f621e1718012d69f840060bd618000801522c..."} 
[2026-07-15 01:03:46] local.INFO: Processing buffer {"connection_id":132921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f621e1718012d69f840060bd618000801522c..."} 
[2026-07-15 01:03:46] local.INFO: Packet analysis {"connection_id":132921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f621e"} 
[2026-07-15 01:03:46] local.INFO: Extracted packet for processing {"connection_id":132921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f621e"} 
[2026-07-15 01:03:46] local.INFO: GPS Element Parsed {"raw_longitude":761919552,"raw_latitude":101439000,"longitude_deg":76.1919552,"latitude_deg":10.1439,"altitude":8,"angle":338,"satellites":44,"speed":38,"hex_longitude":"2d69f840","hex_latitude":"060bd618","is_valid_coordinates":true} 
[2026-07-15 01:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718737152001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135789651670597632,"note":"Value kept but may cause issues"} 
[2026-07-15 01:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7635923562919237632,"note":"Value kept but may cause issues"} 
[2026-07-15 01:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784057567000,"timestamp_ms":1784057567000,"timestamp_seconds":1784057567,"priority":1,"record_length":96,"hex_timestamp":"0000019f621e1718"} 
[2026-07-15 01:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-15 01:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132921,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132921,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718737152001,"66":27615,"111":206,"8":65280,"24":38,"16":135789651670597632,"45":7635923562919237632},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,8,24,16,45]} 
[2026-07-15 01:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718737152001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:03:46] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-15 01:03:46] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-15 01:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135789651670597632,"km_value":135789651670597.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":7635923562919237632,"description":"Unknown IO ID 45"} 
[2026-07-15 01:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718737152001,"power":27615,"unknown_111":206,"unknown_8":65280,"ignition":38,"odometer":null,"unknown_45":7635923562919237632}} 
[2026-07-15 01:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":132921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488795,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:03:46] local.INFO: GPS data processed {"connection_id":132921,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:03:46] local.INFO: Acknowledgment sent {"connection_id":132921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:04:03] local.INFO: TCP Data received {"connection_id":132922,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:04:03] local.INFO: Processing buffer {"connection_id":132922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:04:03] local.INFO: IMEI packet received {"connection_id":132922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":132922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:04:08] local.INFO: TCP Data received {"connection_id":132922,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:04:08] local.INFO: Processing buffer {"connection_id":132922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:04:08] local.INFO: IMEI packet received {"connection_id":132922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":132922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:04:08] local.INFO: TCP Data received {"connection_id":132922,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f621aa448012d7f92c005afd8300000005024..."} 
[2026-07-15 01:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f621aa448012d7f92c005afd8300000005024..."} 
[2026-07-15 01:04:08] local.INFO: Processing buffer {"connection_id":132922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f621aa448012d7f92c005afd8300000005024..."} 
[2026-07-15 01:04:08] local.INFO: Packet analysis {"connection_id":132922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f621a"} 
[2026-07-15 01:04:08] local.INFO: Extracted packet for processing {"connection_id":132922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f621a"} 
[2026-07-15 01:04:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718602240001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784057341000,"timestamp_ms":1784057341000,"timestamp_seconds":1784057341,"priority":1,"record_length":96,"hex_timestamp":"0000019f621aa448"} 
[2026-07-15 01:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 01:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718602240001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718602240001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:04:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:04:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718602240001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":132922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:04:08] local.INFO: GPS data processed {"connection_id":132922,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:04:08] local.INFO: Acknowledgment sent {"connection_id":132922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:04:17] local.INFO: TCP Data received {"connection_id":132921,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f621e3a40012d69ebc0060bf710000801562a..."} 
[2026-07-15 01:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f621e3a40012d69ebc0060bf710000801562a..."} 
[2026-07-15 01:04:17] local.INFO: Processing buffer {"connection_id":132921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f621e3a40012d69ebc0060bf710000801562a..."} 
[2026-07-15 01:04:17] local.INFO: Packet analysis {"connection_id":132921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f621e"} 
[2026-07-15 01:04:17] local.INFO: Extracted packet for processing {"connection_id":132921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f621e"} 
[2026-07-15 01:04:17] local.INFO: GPS Element Parsed {"raw_longitude":761916352,"raw_latitude":101447440,"longitude_deg":76.1916352,"latitude_deg":10.144744,"altitude":8,"angle":342,"satellites":42,"speed":40,"hex_longitude":"2d69ebc0","hex_latitude":"060bf710","is_valid_coordinates":true} 
[2026-07-15 01:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718737152001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135790085462294528,"note":"Value kept but may cause issues"} 
[2026-07-15 01:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7635923562919237632,"note":"Value kept but may cause issues"} 
[2026-07-15 01:04:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784057576000,"timestamp_ms":1784057576000,"timestamp_seconds":1784057576,"priority":1,"record_length":96,"hex_timestamp":"0000019f621e3a40"} 
[2026-07-15 01:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-15 01:04:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:04:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132921,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132921,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718737152001,"66":27800,"111":206,"8":65280,"24":40,"16":135790085462294528,"45":7635923562919237632},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,8,24,16,45]} 
[2026-07-15 01:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718737152001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:04:17] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-15 01:04:17] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-15 01:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135790085462294528,"km_value":135790085462294.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":7635923562919237632,"description":"Unknown IO ID 45"} 
[2026-07-15 01:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718737152001,"power":27800,"unknown_111":206,"unknown_8":65280,"ignition":40,"odometer":null,"unknown_45":7635923562919237632}} 
[2026-07-15 01:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":132921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488797,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:04:17] local.INFO: GPS data processed {"connection_id":132921,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:04:17] local.INFO: Acknowledgment sent {"connection_id":132921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:04:36] local.INFO: TCP Data received {"connection_id":132923,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132923,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:04:36] local.INFO: Processing buffer {"connection_id":132923,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:04:36] local.INFO: IMEI packet received {"connection_id":132923,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":132923,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:04:37] local.INFO: TCP Data received {"connection_id":132923,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132923,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:04:37] local.INFO: Processing buffer {"connection_id":132923,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:04:37] local.INFO: IMEI packet received {"connection_id":132923,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":132923,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:04:38] local.INFO: TCP Data received {"connection_id":132923,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f621e5d68012d69de00060c1b200009015229..."} 
[2026-07-15 01:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f621e5d68012d69de00060c1b200009015229..."} 
[2026-07-15 01:04:38] local.INFO: Processing buffer {"connection_id":132923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f621e5d68012d69de00060c1b200009015229..."} 
[2026-07-15 01:04:38] local.INFO: Packet analysis {"connection_id":132923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f621e"} 
[2026-07-15 01:04:38] local.INFO: Extracted packet for processing {"connection_id":132923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f621e"} 
[2026-07-15 01:04:38] local.INFO: GPS Element Parsed {"raw_longitude":761912832,"raw_latitude":101456672,"longitude_deg":76.1912832,"latitude_deg":10.1456672,"altitude":9,"angle":338,"satellites":41,"speed":43,"hex_longitude":"2d69de00","hex_latitude":"060c1b20","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718739456001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135790566498631680,"note":"Value kept but may cause issues"} 
[2026-07-15 01:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7632405125712515072,"note":"Value kept but may cause issues"} 
[2026-07-15 01:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784057585000,"timestamp_ms":1784057585000,"timestamp_seconds":1784057585,"priority":1,"record_length":96,"hex_timestamp":"0000019f621e5d68"} 
[2026-07-15 01:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 01:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132923,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132923,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718739456001,"66":27876,"111":206,"8":65280,"24":43,"16":135790566498631680,"45":7632405125712515072},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,8,24,16,45]} 
[2026-07-15 01:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718739456001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:04:38] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-15 01:04:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-15 01:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135790566498631680,"km_value":135790566498631.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7632405125712515072,"description":"Unknown IO ID 45"} 
[2026-07-15 01:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718739456001,"power":27876,"unknown_111":206,"unknown_8":65280,"ignition":43,"odometer":null,"unknown_45":7632405125712515072}} 
[2026-07-15 01:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":132923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488798,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:04:38] local.INFO: GPS data processed {"connection_id":132923,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:04:38] local.INFO: Acknowledgment sent {"connection_id":132923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:04:40] local.INFO: TCP Data received {"connection_id":132922,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f621aa448012d7f92c005afd8300000005024..."} 
[2026-07-15 01:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f621aa448012d7f92c005afd8300000005024..."} 
[2026-07-15 01:04:40] local.INFO: Processing buffer {"connection_id":132922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f621aa448012d7f92c005afd8300000005024..."} 
[2026-07-15 01:04:40] local.INFO: Packet analysis {"connection_id":132922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f621a"} 
[2026-07-15 01:04:40] local.INFO: Extracted packet for processing {"connection_id":132922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f621a"} 
[2026-07-15 01:04:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718602240001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784057341000,"timestamp_ms":1784057341000,"timestamp_seconds":1784057341,"priority":1,"record_length":96,"hex_timestamp":"0000019f621aa448"} 
[2026-07-15 01:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 01:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718602240001,"66":25647,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718602240001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:04:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:04:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718602240001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":132922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:04:40] local.INFO: GPS data processed {"connection_id":132922,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:04:40] local.INFO: Acknowledgment sent {"connection_id":132922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:05:03] local.INFO: TCP Data received {"connection_id":131917,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:05:03] local.INFO: Processing buffer {"connection_id":131917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:05:03] local.INFO: IMEI packet received {"connection_id":131917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":131917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:05:08] local.INFO: TCP Data received {"connection_id":131917,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:05:08] local.INFO: Processing buffer {"connection_id":131917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:05:08] local.INFO: IMEI packet received {"connection_id":131917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":131917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:05:08] local.INFO: TCP Data received {"connection_id":131917,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f621f3828012d7f92c005afd8300000005029..."} 
[2026-07-15 01:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f621f3828012d7f92c005afd8300000005029..."} 
[2026-07-15 01:05:08] local.INFO: Processing buffer {"connection_id":131917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f621f3828012d7f92c005afd8300000005029..."} 
[2026-07-15 01:05:08] local.INFO: Packet analysis {"connection_id":131917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f621f"} 
[2026-07-15 01:05:08] local.INFO: Extracted packet for processing {"connection_id":131917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f621f"} 
[2026-07-15 01:05:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718679296001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784057641000,"timestamp_ms":1784057641000,"timestamp_seconds":1784057641,"priority":1,"record_length":96,"hex_timestamp":"0000019f621f3828"} 
[2026-07-15 01:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 01:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":131917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":131917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":131917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718679296001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718679296001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:05:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:05:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718679296001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":131917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:05:08] local.INFO: GPS data processed {"connection_id":131917,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:05:08] local.INFO: Acknowledgment sent {"connection_id":131917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:05:09] local.INFO: TCP Data received {"connection_id":132923,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f621f8648012d698040060d56700006014828..."} 
[2026-07-15 01:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f621f8648012d698040060d56700006014828..."} 
[2026-07-15 01:05:09] local.INFO: Processing buffer {"connection_id":132923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f621f8648012d698040060d56700006014828..."} 
[2026-07-15 01:05:09] local.INFO: Packet analysis {"connection_id":132923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f621f"} 
[2026-07-15 01:05:09] local.INFO: Extracted packet for processing {"connection_id":132923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f621f"} 
[2026-07-15 01:05:09] local.INFO: GPS Element Parsed {"raw_longitude":761888832,"raw_latitude":101537392,"longitude_deg":76.1888832,"latitude_deg":10.1537392,"altitude":6,"angle":328,"satellites":40,"speed":50,"hex_longitude":"2d698040","hex_latitude":"060d5670","is_valid_coordinates":true} 
[2026-07-15 01:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718761216001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135794736911876096,"note":"Value kept but may cause issues"} 
[2026-07-15 01:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7602146565739147264,"note":"Value kept but may cause issues"} 
[2026-07-15 01:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784057661000,"timestamp_ms":1784057661000,"timestamp_seconds":1784057661,"priority":1,"record_length":96,"hex_timestamp":"0000019f621f8648"} 
[2026-07-15 01:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-15 01:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":132923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":132923,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":132923,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718761216001,"66":27876,"112":206,"8":65280,"24":50,"16":135794736911876096,"45":7602146565739147264},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,8,24,16,45]} 
[2026-07-15 01:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718761216001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:05:09] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-15 01:05:09] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-15 01:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135794736911876096,"km_value":135794736911876.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":7602146565739147264,"description":"Unknown IO ID 45"} 
[2026-07-15 01:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718761216001,"power":27876,"unknown_112":206,"unknown_8":65280,"ignition":50,"odometer":null,"unknown_45":7602146565739147264}} 
[2026-07-15 01:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":132923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488801,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:05:09] local.INFO: GPS data processed {"connection_id":132923,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:05:09] local.INFO: Acknowledgment sent {"connection_id":132923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:05:36] local.INFO: TCP Data received {"connection_id":134292,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134292,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:05:36] local.INFO: Processing buffer {"connection_id":134292,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:05:36] local.INFO: IMEI packet received {"connection_id":134292,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":134292,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:05:38] local.INFO: TCP Data received {"connection_id":134292,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134292,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:05:38] local.INFO: Processing buffer {"connection_id":134292,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:05:38] local.INFO: IMEI packet received {"connection_id":134292,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":134292,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:05:40] local.INFO: TCP Data received {"connection_id":131917,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f621f3828012d7f92c005afd8300000005029..."} 
[2026-07-15 01:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f621f3828012d7f92c005afd8300000005029..."} 
[2026-07-15 01:05:40] local.INFO: Processing buffer {"connection_id":131917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f621f3828012d7f92c005afd8300000005029..."} 
[2026-07-15 01:05:40] local.INFO: Packet analysis {"connection_id":131917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f621f"} 
[2026-07-15 01:05:40] local.INFO: Extracted packet for processing {"connection_id":131917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f621f"} 
[2026-07-15 01:05:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718679296001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784057641000,"timestamp_ms":1784057641000,"timestamp_seconds":1784057641,"priority":1,"record_length":96,"hex_timestamp":"0000019f621f3828"} 
[2026-07-15 01:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:05:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 01:05:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718679296001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718679296001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:05:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:05:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718679296001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":131917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:05:40] local.INFO: GPS data processed {"connection_id":131917,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:05:40] local.INFO: Acknowledgment sent {"connection_id":131917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:05:50] local.INFO: TCP Data received {"connection_id":134292,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f621f9200012d697680060d61c00007013a27..."} 
[2026-07-15 01:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f621f9200012d697680060d61c00007013a27..."} 
[2026-07-15 01:05:50] local.INFO: Processing buffer {"connection_id":134292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f621f9200012d697680060d61c00007013a27..."} 
[2026-07-15 01:05:50] local.INFO: Packet analysis {"connection_id":134292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f621f"} 
[2026-07-15 01:05:50] local.INFO: Extracted packet for processing {"connection_id":134292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f621f"} 
[2026-07-15 01:05:50] local.INFO: GPS Element Parsed {"raw_longitude":761886336,"raw_latitude":101540288,"longitude_deg":76.1886336,"latitude_deg":10.1540288,"altitude":7,"angle":314,"satellites":39,"speed":49,"hex_longitude":"2d697680","hex_latitude":"060d61c0","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718761216001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135794921595469824,"note":"Value kept but may cause issues"} 
[2026-07-15 01:05:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7602146565739147264,"note":"Value kept but may cause issues"} 
[2026-07-15 01:05:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784057664000,"timestamp_ms":1784057664000,"timestamp_seconds":1784057664,"priority":1,"record_length":96,"hex_timestamp":"0000019f621f9200"} 
[2026-07-15 01:05:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:05:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-15 01:05:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:05:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":134292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":134292,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":134292,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:05:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718761216001,"66":27952,"112":206,"8":65280,"24":49,"16":135794921595469824,"45":7602146565739147264},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,8,24,16,45]} 
[2026-07-15 01:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718761216001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:05:50] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-15 01:05:50] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-15 01:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135794921595469824,"km_value":135794921595469.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:05:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":7602146565739147264,"description":"Unknown IO ID 45"} 
[2026-07-15 01:05:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718761216001,"power":27952,"unknown_112":206,"unknown_8":65280,"ignition":49,"odometer":null,"unknown_45":7602146565739147264}} 
[2026-07-15 01:05:50] local.INFO: DEBUG: GPS processor result {"connection_id":134292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488803,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:05:50] local.INFO: GPS data processed {"connection_id":134292,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:05:50] local.INFO: Acknowledgment sent {"connection_id":134292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:06:02] local.INFO: TCP Data received {"connection_id":134293,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:06:02] local.INFO: Processing buffer {"connection_id":134293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:06:02] local.INFO: IMEI packet received {"connection_id":134293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":134293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:06:08] local.INFO: TCP Data received {"connection_id":134293,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:06:08] local.INFO: Processing buffer {"connection_id":134293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:06:08] local.INFO: IMEI packet received {"connection_id":134293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":134293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:06:08] local.INFO: TCP Data received {"connection_id":134293,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f621f3828012d7f92c005afd8300000005029..."} 
[2026-07-15 01:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f621f3828012d7f92c005afd8300000005029..."} 
[2026-07-15 01:06:08] local.INFO: Processing buffer {"connection_id":134293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f621f3828012d7f92c005afd8300000005029..."} 
[2026-07-15 01:06:08] local.INFO: Packet analysis {"connection_id":134293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f621f"} 
[2026-07-15 01:06:08] local.INFO: Extracted packet for processing {"connection_id":134293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f621f"} 
[2026-07-15 01:06:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718679296001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:06:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784057641000,"timestamp_ms":1784057641000,"timestamp_seconds":1784057641,"priority":1,"record_length":96,"hex_timestamp":"0000019f621f3828"} 
[2026-07-15 01:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:06:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 01:06:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:06:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:06:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718679296001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718679296001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:06:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:06:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718679296001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":134293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:06:08] local.INFO: GPS data processed {"connection_id":134293,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:06:08] local.INFO: Acknowledgment sent {"connection_id":134293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:06:21] local.INFO: TCP Data received {"connection_id":134292,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f621fa1a0012d6969c0060d7008000701452a..."} 
[2026-07-15 01:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f621fa1a0012d6969c0060d7008000701452a..."} 
[2026-07-15 01:06:21] local.INFO: Processing buffer {"connection_id":134292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f621fa1a0012d6969c0060d7008000701452a..."} 
[2026-07-15 01:06:21] local.INFO: Packet analysis {"connection_id":134292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f621f"} 
[2026-07-15 01:06:21] local.INFO: Extracted packet for processing {"connection_id":134292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f621f"} 
[2026-07-15 01:06:21] local.INFO: GPS Element Parsed {"raw_longitude":761883072,"raw_latitude":101543944,"longitude_deg":76.1883072,"latitude_deg":10.1543944,"altitude":7,"angle":325,"satellites":42,"speed":48,"hex_longitude":"2d6969c0","hex_latitude":"060d7008","is_valid_coordinates":true} 
[2026-07-15 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-07-15 01:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718761984001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135795157818671104,"note":"Value kept but may cause issues"} 
[2026-07-15 01:06:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7599402184716959744,"note":"Value kept but may cause issues"} 
[2026-07-15 01:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1784057668000,"timestamp_ms":1784057668000,"timestamp_seconds":1784057668,"priority":1,"record_length":96,"hex_timestamp":"0000019f621fa1a0"} 
[2026-07-15 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-07-15 01:06:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-15 01:06:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 01:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":134292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":134292,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":134292,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:06:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718761984001,"66":27821,"112":206,"8":65280,"24":48,"16":135795157818671104,"45":7599402184716959744},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,8,24,16,45]} 
[2026-07-15 01:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718761984001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:06:21] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-15 01:06:21] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-15 01:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135795157818671104,"km_value":135795157818671.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:06:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":7599402184716959744,"description":"Unknown IO ID 45"} 
[2026-07-15 01:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718761984001,"power":27821,"unknown_112":206,"unknown_8":65280,"ignition":48,"odometer":null,"unknown_45":7599402184716959744}} 
[2026-07-15 01:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":134292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488805,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:06:21] local.INFO: GPS data processed {"connection_id":134292,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:06:21] local.INFO: Acknowledgment sent {"connection_id":134292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:06:40] local.INFO: TCP Data received {"connection_id":134293,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f621f3828012d7f92c005afd8300000005029..."} 
[2026-07-15 01:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f621f3828012d7f92c005afd8300000005029..."} 
[2026-07-15 01:06:40] local.INFO: Processing buffer {"connection_id":134293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f621f3828012d7f92c005afd8300000005029..."} 
[2026-07-15 01:06:40] local.INFO: Packet analysis {"connection_id":134293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f621f"} 
[2026-07-15 01:06:40] local.INFO: Extracted packet for processing {"connection_id":134293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f621f"} 
[2026-07-15 01:06:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:06: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-07-15 01:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718679296001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:06:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:06:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784057641000,"timestamp_ms":1784057641000,"timestamp_seconds":1784057641,"priority":1,"record_length":96,"hex_timestamp":"0000019f621f3828"} 
[2026-07-15 01:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:06:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 01:06:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:06: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-07-15 01:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":134293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":134293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":134293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718679296001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718679296001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:06:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:06:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:06:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718679296001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":134293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:06:40] local.INFO: GPS data processed {"connection_id":134293,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:06:40] local.INFO: Acknowledgment sent {"connection_id":134293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:06:41] local.INFO: TCP Data received {"connection_id":131918,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131918,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:06:41] local.INFO: Processing buffer {"connection_id":131918,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:06:41] local.INFO: IMEI packet received {"connection_id":131918,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":131918,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:06:42] local.INFO: TCP Data received {"connection_id":131918,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131918,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:06:42] local.INFO: Processing buffer {"connection_id":131918,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:06:42] local.INFO: IMEI packet received {"connection_id":131918,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":131918,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:06:46] local.INFO: TCP Data received {"connection_id":131918,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131918,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:06:46] local.INFO: Processing buffer {"connection_id":131918,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:06:46] local.INFO: IMEI packet received {"connection_id":131918,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":131918,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:06:47] local.INFO: TCP Data received {"connection_id":131918,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6220c698012d68af40060eb818000b01512a..."} 
[2026-07-15 01:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6220c698012d68af40060eb818000b01512a..."} 
[2026-07-15 01:06:47] local.INFO: Processing buffer {"connection_id":131918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6220c698012d68af40060eb818000b01512a..."} 
[2026-07-15 01:06:47] local.INFO: Packet analysis {"connection_id":131918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6220"} 
[2026-07-15 01:06:47] local.INFO: Extracted packet for processing {"connection_id":131918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6220"} 
[2026-07-15 01:06:47] local.INFO: GPS Element Parsed {"raw_longitude":761835328,"raw_latitude":101627928,"longitude_deg":76.1835328,"latitude_deg":10.1627928,"altitude":11,"angle":337,"satellites":42,"speed":48,"hex_longitude":"2d68af40","hex_latitude":"060eb818","is_valid_coordinates":true} 
[2026-07-15 01:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718780416001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799860807860224,"note":"Value kept but may cause issues"} 
[2026-07-15 01:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7547188576557443072,"note":"Value kept but may cause issues"} 
[2026-07-15 01:06:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784057743000,"timestamp_ms":1784057743000,"timestamp_seconds":1784057743,"priority":1,"record_length":96,"hex_timestamp":"0000019f6220c698"} 
[2026-07-15 01:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-15 01:06:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:06:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":131918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":131918,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":131918,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718780416001,"66":27865,"70":206,"19":43264,"24":48,"16":135799860807860224,"45":7547188576557443072},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,19,24,16,45]} 
[2026-07-15 01:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718780416001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:06:47] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-15 01:06:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-07-15 01:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799860807860224,"km_value":135799860807860.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":7547188576557443072,"description":"Unknown IO ID 45"} 
[2026-07-15 01:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718780416001,"power":27865,"unknown_70":206,"unknown_19":43264,"ignition":48,"odometer":null,"unknown_45":7547188576557443072}} 
[2026-07-15 01:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":131918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488807,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:06:48] local.INFO: GPS data processed {"connection_id":131918,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:06:48] local.INFO: Acknowledgment sent {"connection_id":131918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:07:02] local.INFO: TCP Data received {"connection_id":132087,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:07:02] local.INFO: Processing buffer {"connection_id":132087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:07:02] local.INFO: IMEI packet received {"connection_id":132087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":132087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:07:08] local.INFO: TCP Data received {"connection_id":132087,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:07:08] local.INFO: Processing buffer {"connection_id":132087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:07:08] local.INFO: IMEI packet received {"connection_id":132087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":132087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:07:11] local.INFO: TCP Data received {"connection_id":132087,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f621f3828012d7f92c005afd8300000005029..."} 
[2026-07-15 01:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f621f3828012d7f92c005afd8300000005029..."} 
[2026-07-15 01:07:11] local.INFO: Processing buffer {"connection_id":132087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f621f3828012d7f92c005afd8300000005029..."} 
[2026-07-15 01:07:11] local.INFO: Packet analysis {"connection_id":132087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f621f"} 
[2026-07-15 01:07:11] local.INFO: Extracted packet for processing {"connection_id":132087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f621f"} 
[2026-07-15 01:07:11] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:07: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-07-15 01:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718679296001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784057641000,"timestamp_ms":1784057641000,"timestamp_seconds":1784057641,"priority":1,"record_length":96,"hex_timestamp":"0000019f621f3828"} 
[2026-07-15 01:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 01:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:07: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-07-15 01:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:07:11] 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-07-15 01:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718679296001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718679296001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:07:11] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:07:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718679296001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":132087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:07:11] local.INFO: GPS data processed {"connection_id":132087,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:07:11] local.INFO: Acknowledgment sent {"connection_id":132087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:07:18] local.INFO: TCP Data received {"connection_id":131918,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6220e5d8012d68a240060edb50000a015828..."} 
[2026-07-15 01:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6220e5d8012d68a240060edb50000a015828..."} 
[2026-07-15 01:07:18] local.INFO: Processing buffer {"connection_id":131918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6220e5d8012d68a240060edb50000a015828..."} 
[2026-07-15 01:07:18] local.INFO: Packet analysis {"connection_id":131918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6220"} 
[2026-07-15 01:07:18] local.INFO: Extracted packet for processing {"connection_id":131918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6220"} 
[2026-07-15 01:07:18] local.INFO: GPS Element Parsed {"raw_longitude":761832000,"raw_latitude":101636944,"longitude_deg":76.1832,"latitude_deg":10.1636944,"altitude":10,"angle":344,"satellites":40,"speed":53,"hex_longitude":"2d68a240","hex_latitude":"060edb50","is_valid_coordinates":true} 
[2026-07-15 01:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718782208001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135800324664328192,"note":"Value kept but may cause issues"} 
[2026-07-15 01:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7543318295629797376,"note":"Value kept but may cause issues"} 
[2026-07-15 01:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784057751000,"timestamp_ms":1784057751000,"timestamp_seconds":1784057751,"priority":1,"record_length":96,"hex_timestamp":"0000019f6220e5d8"} 
[2026-07-15 01:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:07: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-07-15 01:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-15 01:07:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:07:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":131918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":131918,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":131918,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:07:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718782208001,"66":27974,"70":206,"19":43264,"24":53,"16":135800324664328192,"45":7543318295629797376},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,19,24,16,45]} 
[2026-07-15 01:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718782208001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:07:18] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-15 01:07:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-07-15 01:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135800324664328192,"km_value":135800324664328.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":7543318295629797376,"description":"Unknown IO ID 45"} 
[2026-07-15 01:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718782208001,"power":27974,"unknown_70":206,"unknown_19":43264,"ignition":53,"odometer":null,"unknown_45":7543318295629797376}} 
[2026-07-15 01:07:19] local.INFO: DEBUG: GPS processor result {"connection_id":131918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488809,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:07:19] local.INFO: GPS data processed {"connection_id":131918,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:07:19] local.INFO: Acknowledgment sent {"connection_id":131918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:07:36] local.INFO: TCP Data received {"connection_id":131919,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131919,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:07:36] local.INFO: Processing buffer {"connection_id":131919,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:07:36] local.INFO: IMEI packet received {"connection_id":131919,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":131919,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:07:41] local.INFO: TCP Data received {"connection_id":131919,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131919,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:07:41] local.INFO: Processing buffer {"connection_id":131919,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:07:41] local.INFO: IMEI packet received {"connection_id":131919,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":131919,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:07:42] local.INFO: TCP Data received {"connection_id":131919,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6220fd48012d689800060ef848000a014927..."} 
[2026-07-15 01:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6220fd48012d689800060ef848000a014927..."} 
[2026-07-15 01:07:42] local.INFO: Processing buffer {"connection_id":131919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6220fd48012d689800060ef848000a014927..."} 
[2026-07-15 01:07:42] local.INFO: Packet analysis {"connection_id":131919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6220"} 
[2026-07-15 01:07:42] local.INFO: Extracted packet for processing {"connection_id":131919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6220"} 
[2026-07-15 01:07:42] local.INFO: GPS Element Parsed {"raw_longitude":761829376,"raw_latitude":101644360,"longitude_deg":76.1829376,"latitude_deg":10.164436,"altitude":10,"angle":329,"satellites":39,"speed":50,"hex_longitude":"2d689800","hex_latitude":"060ef848","is_valid_coordinates":true} 
[2026-07-15 01:07: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-07-15 01:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718784256001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135800706916417536,"note":"Value kept but may cause issues"} 
[2026-07-15 01:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7539659120934866944,"note":"Value kept but may cause issues"} 
[2026-07-15 01:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784057757000,"timestamp_ms":1784057757000,"timestamp_seconds":1784057757,"priority":1,"record_length":96,"hex_timestamp":"0000019f6220fd48"} 
[2026-07-15 01:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-15 01:07:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:07: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-07-15 01:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":131919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":131919,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":131919,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718784256001,"66":27843,"70":206,"19":43264,"24":50,"16":135800706916417536,"45":7539659120934866944},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,19,24,16,45]} 
[2026-07-15 01:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718784256001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:07:42] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-15 01:07:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-07-15 01:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135800706916417536,"km_value":135800706916417.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":7539659120934866944,"description":"Unknown IO ID 45"} 
[2026-07-15 01:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718784256001,"power":27843,"unknown_70":206,"unknown_19":43264,"ignition":50,"odometer":null,"unknown_45":7539659120934866944}} 
[2026-07-15 01:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":131919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488810,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:07:42] local.INFO: GPS data processed {"connection_id":131919,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:07:42] local.INFO: Acknowledgment sent {"connection_id":131919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:07:44] local.INFO: TCP Data received {"connection_id":132087,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f621f3828012d7f92c005afd8300000005029..."} 
[2026-07-15 01:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f621f3828012d7f92c005afd8300000005029..."} 
[2026-07-15 01:07:44] local.INFO: Processing buffer {"connection_id":132087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f621f3828012d7f92c005afd8300000005029..."} 
[2026-07-15 01:07:44] local.INFO: Packet analysis {"connection_id":132087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f621f"} 
[2026-07-15 01:07:44] local.INFO: Extracted packet for processing {"connection_id":132087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f621f"} 
[2026-07-15 01:07:44] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718679296001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:07:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:07:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784057641000,"timestamp_ms":1784057641000,"timestamp_seconds":1784057641,"priority":1,"record_length":96,"hex_timestamp":"0000019f621f3828"} 
[2026-07-15 01:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:07:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 01:07:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:07:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":132087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":132087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":132087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:07:44] 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-07-15 01:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718679296001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718679296001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:07:44] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:07:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:07:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718679296001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":132087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:07:44] local.INFO: GPS data processed {"connection_id":132087,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:07:44] local.INFO: Acknowledgment sent {"connection_id":132087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:08:08] local.INFO: TCP Data received {"connection_id":131920,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:08:08] local.INFO: Processing buffer {"connection_id":131920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:08:08] local.INFO: IMEI packet received {"connection_id":131920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":131920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:08:13] local.INFO: TCP Data received {"connection_id":131920,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:08:13] local.INFO: Processing buffer {"connection_id":131920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:08:13] local.INFO: IMEI packet received {"connection_id":131920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":131920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:08:13] local.INFO: TCP Data received {"connection_id":131919,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6221e7a8012d680a80060feeb0000a011b2a..."} 
[2026-07-15 01:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6221e7a8012d680a80060feeb0000a011b2a..."} 
[2026-07-15 01:08:13] local.INFO: Processing buffer {"connection_id":131919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6221e7a8012d680a80060feeb0000a011b2a..."} 
[2026-07-15 01:08:13] local.INFO: Packet analysis {"connection_id":131919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6221"} 
[2026-07-15 01:08:13] local.INFO: Extracted packet for processing {"connection_id":131919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6221"} 
[2026-07-15 01:08:13] local.INFO: GPS Element Parsed {"raw_longitude":761793152,"raw_latitude":101707440,"longitude_deg":76.1793152,"latitude_deg":10.170744,"altitude":10,"angle":283,"satellites":42,"speed":38,"hex_longitude":"2d680a80","hex_latitude":"060feeb0","is_valid_coordinates":true} 
[2026-07-15 01:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718799616001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135804336163782656,"note":"Value kept but may cause issues"} 
[2026-07-15 01:08:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7502785899003445248,"note":"Value kept but may cause issues"} 
[2026-07-15 01:08:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784057817000,"timestamp_ms":1784057817000,"timestamp_seconds":1784057817,"priority":1,"record_length":96,"hex_timestamp":"0000019f6221e7a8"} 
[2026-07-15 01:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:08:13] 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-07-15 01:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-15 01:08:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:08:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":131919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":131919,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":131919,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:08:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718799616001,"66":27952,"71":206,"19":43264,"24":38,"16":135804336163782656,"45":7502785899003445248},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,19,24,16,45]} 
[2026-07-15 01:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718799616001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:08:13] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-15 01:08:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-07-15 01:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135804336163782656,"km_value":135804336163782.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:08:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":7502785899003445248,"description":"Unknown IO ID 45"} 
[2026-07-15 01:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718799616001,"power":27952,"unknown_71":206,"unknown_19":43264,"ignition":38,"odometer":null,"unknown_45":7502785899003445248}} 
[2026-07-15 01:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":131919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488812,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:08:13] local.INFO: GPS data processed {"connection_id":131919,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:08:13] local.INFO: Acknowledgment sent {"connection_id":131919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:08:13] local.INFO: TCP Data received {"connection_id":131920,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f621f3828012d7f92c005afd8300000005029..."} 
[2026-07-15 01:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f621f3828012d7f92c005afd8300000005029..."} 
[2026-07-15 01:08:13] local.INFO: Processing buffer {"connection_id":131920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f621f3828012d7f92c005afd8300000005029..."} 
[2026-07-15 01:08:13] local.INFO: Packet analysis {"connection_id":131920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f621f"} 
[2026-07-15 01:08:13] local.INFO: Extracted packet for processing {"connection_id":131920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f621f"} 
[2026-07-15 01:08:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718679296001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:08:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:08:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784057641000,"timestamp_ms":1784057641000,"timestamp_seconds":1784057641,"priority":1,"record_length":96,"hex_timestamp":"0000019f621f3828"} 
[2026-07-15 01:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:08:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 01:08:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:08:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":131920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":131920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":131920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:08:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718679296001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718679296001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:08:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:08:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:08:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718679296001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":131920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:08:13] local.INFO: GPS data processed {"connection_id":131920,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:08:13] local.INFO: Acknowledgment sent {"connection_id":131920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:08:18] local.INFO: TCP Data received {"connection_id":131920,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f621f3828012d7f92c005afd8300000005029..."} 
[2026-07-15 01:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f621f3828012d7f92c005afd8300000005029..."} 
[2026-07-15 01:08:18] local.INFO: Processing buffer {"connection_id":131920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f621f3828012d7f92c005afd8300000005029..."} 
[2026-07-15 01:08:18] local.INFO: Packet analysis {"connection_id":131920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f621f"} 
[2026-07-15 01:08:18] local.INFO: Extracted packet for processing {"connection_id":131920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f621f"} 
[2026-07-15 01:08:18] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718679296001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:08:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784057641000,"timestamp_ms":1784057641000,"timestamp_seconds":1784057641,"priority":1,"record_length":96,"hex_timestamp":"0000019f621f3828"} 
[2026-07-15 01:08:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:08:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 01:08:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:08:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":131920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":131920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":131920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:08:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718679296001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718679296001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:08:18] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:08:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718679296001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":131920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:08:18] local.INFO: GPS data processed {"connection_id":131920,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:08:18] local.INFO: Acknowledgment sent {"connection_id":131920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:08:41] local.INFO: TCP Data received {"connection_id":132088,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132088,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:08:41] local.INFO: Processing buffer {"connection_id":132088,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:08:41] local.INFO: IMEI packet received {"connection_id":132088,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":132088,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:08:46] local.INFO: TCP Data received {"connection_id":132088,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132088,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:08:46] local.INFO: Processing buffer {"connection_id":132088,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:08:46] local.INFO: IMEI packet received {"connection_id":132088,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":132088,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:08:47] local.INFO: TCP Data received {"connection_id":132088,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6222ca380100000000000000000000000000..."} 
[2026-07-15 01:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6222ca380100000000000000000000000000..."} 
[2026-07-15 01:08:47] local.INFO: Processing buffer {"connection_id":132088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6222ca380100000000000000000000000000..."} 
[2026-07-15 01:08:47] local.INFO: Packet analysis {"connection_id":132088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6222"} 
[2026-07-15 01:08:47] local.INFO: Extracted packet for processing {"connection_id":132088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6222"} 
[2026-07-15 01:08: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-07-15 01: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-07-15 01:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718801152001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135804482192670720,"note":"Value kept but may cause issues"} 
[2026-07-15 01:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7496945293237071872,"note":"Value kept but may cause issues"} 
[2026-07-15 01:08:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784057875000,"timestamp_ms":1784057875000,"timestamp_seconds":1784057875,"priority":1,"record_length":96,"hex_timestamp":"0000019f6222ca38"} 
[2026-07-15 01:08:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:08:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-15 01:08:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:08:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":132088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":132088,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":132088,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":132088,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 01:08:47] local.INFO: GPS data processed {"connection_id":132088,"processed":0,"errors":0,"total":1} 
[2026-07-15 01:08:47] local.INFO: Acknowledgment sent {"connection_id":132088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:08:48] local.INFO: TCP Data received {"connection_id":132088,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62223d98012d67cb00060fee280008014f29..."} 
[2026-07-15 01:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62223d98012d67cb00060fee280008014f29..."} 
[2026-07-15 01:08:48] local.INFO: Processing buffer {"connection_id":132088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62223d98012d67cb00060fee280008014f29..."} 
[2026-07-15 01:08:48] local.INFO: Packet analysis {"connection_id":132088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6222"} 
[2026-07-15 01:08:48] local.INFO: Extracted packet for processing {"connection_id":132088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6222"} 
[2026-07-15 01:08:48] local.INFO: GPS Element Parsed {"raw_longitude":761776896,"raw_latitude":101707304,"longitude_deg":76.1776896,"latitude_deg":10.1707304,"altitude":8,"angle":335,"satellites":41,"speed":30,"hex_longitude":"2d67cb00","hex_latitude":"060fee28","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135804482192670720,"note":"Value kept but may cause issues"} 
[2026-07-15 01:08:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,71,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 01:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784057839000,"timestamp_ms":1784057839000,"timestamp_seconds":1784057839,"priority":1,"record_length":96,"hex_timestamp":"0000019f62223d98"} 
[2026-07-15 01:08:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:08:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-15 01:08:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:08:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":132088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":132088,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":132088,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28006,"71":206,"19":43264,"24":30,"16":135804482192670720},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,19,24,16]} 
[2026-07-15 01:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-15 01:08:48] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-15 01:08:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-07-15 01:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135804482192670720,"km_value":135804482192670.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:08:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28006,"unknown_71":206,"unknown_19":43264,"ignition":30,"odometer":null}} 
[2026-07-15 01:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":132088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488815,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:08:48] local.INFO: GPS data processed {"connection_id":132088,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:08:48] local.INFO: Acknowledgment sent {"connection_id":132088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:09:03] local.INFO: TCP Data received {"connection_id":134294,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:09:03] local.INFO: Processing buffer {"connection_id":134294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:09:03] local.INFO: IMEI packet received {"connection_id":134294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":134294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:09:08] local.INFO: TCP Data received {"connection_id":134294,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:09:08] local.INFO: Processing buffer {"connection_id":134294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:09:08] local.INFO: IMEI packet received {"connection_id":134294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":134294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:09:08] local.INFO: TCP Data received {"connection_id":134294,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f621f3828012d7f92c005afd8300000005029..."} 
[2026-07-15 01:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f621f3828012d7f92c005afd8300000005029..."} 
[2026-07-15 01:09:08] local.INFO: Processing buffer {"connection_id":134294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f621f3828012d7f92c005afd8300000005029..."} 
[2026-07-15 01:09:08] local.INFO: Packet analysis {"connection_id":134294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f621f"} 
[2026-07-15 01:09:08] local.INFO: Extracted packet for processing {"connection_id":134294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f621f"} 
[2026-07-15 01:09:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718679296001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784057641000,"timestamp_ms":1784057641000,"timestamp_seconds":1784057641,"priority":1,"record_length":96,"hex_timestamp":"0000019f621f3828"} 
[2026-07-15 01:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 01:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:09:08] 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-07-15 01:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718679296001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718679296001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:09:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:09:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718679296001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":134294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:09:08] local.INFO: GPS data processed {"connection_id":134294,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:09:08] local.INFO: Acknowledgment sent {"connection_id":134294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:09:20] local.INFO: TCP Data received {"connection_id":132088,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f622320280100000000000000000000000000..."} 
[2026-07-15 01:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f622320280100000000000000000000000000..."} 
[2026-07-15 01:09:20] local.INFO: Processing buffer {"connection_id":132088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f622320280100000000000000000000000000..."} 
[2026-07-15 01:09:20] local.INFO: Packet analysis {"connection_id":132088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6223"} 
[2026-07-15 01:09:20] local.INFO: Extracted packet for processing {"connection_id":132088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6223"} 
[2026-07-15 01:09:20] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718806784001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135804482192670720,"note":"Value kept but may cause issues"} 
[2026-07-15 01:09:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7479071632215910400,"note":"Value kept but may cause issues"} 
[2026-07-15 01:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1784057897000,"timestamp_ms":1784057897000,"timestamp_seconds":1784057897,"priority":1,"record_length":96,"hex_timestamp":"0000019f62232028"} 
[2026-07-15 01:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:09:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 01:09:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":132088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":132088,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":132088,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:09:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":132088,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 01:09:20] local.INFO: GPS data processed {"connection_id":132088,"processed":0,"errors":0,"total":1} 
[2026-07-15 01:09:20] local.INFO: Acknowledgment sent {"connection_id":132088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:09:36] local.INFO: TCP Data received {"connection_id":132924,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132924,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:09:36] local.INFO: Processing buffer {"connection_id":132924,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:09:36] local.INFO: IMEI packet received {"connection_id":132924,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":132924,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:09:42] local.INFO: TCP Data received {"connection_id":132924,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132924,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:09:42] local.INFO: Processing buffer {"connection_id":132924,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:09:42] local.INFO: IMEI packet received {"connection_id":132924,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":132924,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:09:42] local.INFO: TCP Data received {"connection_id":134294,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f621f3828012d7f92c005afd8300000005029..."} 
[2026-07-15 01:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f621f3828012d7f92c005afd8300000005029..."} 
[2026-07-15 01:09:42] local.INFO: Processing buffer {"connection_id":134294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f621f3828012d7f92c005afd8300000005029..."} 
[2026-07-15 01:09:42] local.INFO: Packet analysis {"connection_id":134294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f621f"} 
[2026-07-15 01:09:42] local.INFO: Extracted packet for processing {"connection_id":134294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f621f"} 
[2026-07-15 01:09:42] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718679296001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784057641000,"timestamp_ms":1784057641000,"timestamp_seconds":1784057641,"priority":1,"record_length":96,"hex_timestamp":"0000019f621f3828"} 
[2026-07-15 01:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 01:09:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":134294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":134294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":134294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:09:42] 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-07-15 01:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718679296001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718679296001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:09:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:09:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718679296001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":134294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:09:42] local.INFO: GPS data processed {"connection_id":134294,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:09:42] local.INFO: Acknowledgment sent {"connection_id":134294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:09:43] local.INFO: TCP Data received {"connection_id":132924,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6222aaf8012d67de4006101b08000900362d..."} 
[2026-07-15 01:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6222aaf8012d67de4006101b08000900362d..."} 
[2026-07-15 01:09:43] local.INFO: Processing buffer {"connection_id":132924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6222aaf8012d67de4006101b08000900362d..."} 
[2026-07-15 01:09:43] local.INFO: Packet analysis {"connection_id":132924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6222"} 
[2026-07-15 01:09:43] local.INFO: Extracted packet for processing {"connection_id":132924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6222"} 
[2026-07-15 01:09:43] local.INFO: GPS Element Parsed {"raw_longitude":761781824,"raw_latitude":101718792,"longitude_deg":76.1781824,"latitude_deg":10.1718792,"altitude":9,"angle":54,"satellites":45,"speed":27,"hex_longitude":"2d67de40","hex_latitude":"06101b08","is_valid_coordinates":true} 
[2026-07-15 01:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135804482192670720,"note":"Value kept but may cause issues"} 
[2026-07-15 01:09:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,69,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 01:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784057867000,"timestamp_ms":1784057867000,"timestamp_seconds":1784057867,"priority":1,"record_length":96,"hex_timestamp":"0000019f6222aaf8"} 
[2026-07-15 01:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:09:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-15 01:09:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:09:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":132924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":132924,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":132924,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:09:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27832,"69":206,"19":43264,"24":27,"16":135804482192670720},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,19,24,16]} 
[2026-07-15 01:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-15 01:09:43] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-07-15 01:09:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-07-15 01:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135804482192670720,"km_value":135804482192670.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:09:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27832,"unknown_69":206,"unknown_19":43264,"ignition":27,"odometer":null}} 
[2026-07-15 01:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":132924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488818,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:09:43] local.INFO: GPS data processed {"connection_id":132924,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:09:43] local.INFO: Acknowledgment sent {"connection_id":132924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:09:46] local.INFO: TCP Data received {"connection_id":132924,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62238d880100000000000000000000000000..."} 
[2026-07-15 01:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62238d880100000000000000000000000000..."} 
[2026-07-15 01:09:46] local.INFO: Processing buffer {"connection_id":132924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62238d880100000000000000000000000000..."} 
[2026-07-15 01:09:46] local.INFO: Packet analysis {"connection_id":132924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6223"} 
[2026-07-15 01:09:46] local.INFO: Extracted packet for processing {"connection_id":132924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6223"} 
[2026-07-15 01:09:46] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-15 01:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718813952001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135804482192670720,"note":"Value kept but may cause issues"} 
[2026-07-15 01:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7484490025520531456,"note":"Value kept but may cause issues"} 
[2026-07-15 01:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784057925000,"timestamp_ms":1784057925000,"timestamp_seconds":1784057925,"priority":1,"record_length":96,"hex_timestamp":"0000019f62238d88"} 
[2026-07-15 01:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-15 01:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132924,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132924,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":132924,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 01:09:46] local.INFO: GPS data processed {"connection_id":132924,"processed":0,"errors":0,"total":1} 
[2026-07-15 01:09:46] local.INFO: Acknowledgment sent {"connection_id":132924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:10:02] local.INFO: TCP Data received {"connection_id":132089,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:10:02] local.INFO: Processing buffer {"connection_id":132089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:10:02] local.INFO: IMEI packet received {"connection_id":132089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":132089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:10:08] local.INFO: TCP Data received {"connection_id":132089,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:10:08] local.INFO: Processing buffer {"connection_id":132089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:10:08] local.INFO: IMEI packet received {"connection_id":132089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":132089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:10:08] local.INFO: TCP Data received {"connection_id":132089,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f6223cff0012d7f92c005afd8300000005026..."} 
[2026-07-15 01:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6223cff0012d7f92c005afd8300000005026..."} 
[2026-07-15 01:10:08] local.INFO: Processing buffer {"connection_id":132089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6223cff0012d7f92c005afd8300000005026..."} 
[2026-07-15 01:10:08] local.INFO: Packet analysis {"connection_id":132089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6223"} 
[2026-07-15 01:10:08] local.INFO: Extracted packet for processing {"connection_id":132089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6223"} 
[2026-07-15 01:10:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718756096001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784057942000,"timestamp_ms":1784057942000,"timestamp_seconds":1784057942,"priority":1,"record_length":96,"hex_timestamp":"0000019f6223cff0"} 
[2026-07-15 01:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 01:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:10:08] 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-07-15 01:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718756096001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718756096001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:10:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:10:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718756096001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":132089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:10:08] local.INFO: GPS data processed {"connection_id":132089,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:10:08] local.INFO: Acknowledgment sent {"connection_id":132089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:10:18] local.INFO: TCP Data received {"connection_id":132924,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f622300e8012d680d8006103c58000c00352d..."} 
[2026-07-15 01:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f622300e8012d680d8006103c58000c00352d..."} 
[2026-07-15 01:10:18] local.INFO: Processing buffer {"connection_id":132924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f622300e8012d680d8006103c58000c00352d..."} 
[2026-07-15 01:10:18] local.INFO: Packet analysis {"connection_id":132924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6223"} 
[2026-07-15 01:10:18] local.INFO: Extracted packet for processing {"connection_id":132924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6223"} 
[2026-07-15 01:10:18] local.INFO: GPS Element Parsed {"raw_longitude":761793920,"raw_latitude":101727320,"longitude_deg":76.179392,"latitude_deg":10.172732,"altitude":12,"angle":53,"satellites":45,"speed":26,"hex_longitude":"2d680d80","hex_latitude":"06103c58","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:10:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135804482192670720,"note":"Value kept but may cause issues"} 
[2026-07-15 01:10:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,69,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 01:10:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784057889000,"timestamp_ms":1784057889000,"timestamp_seconds":1784057889,"priority":1,"record_length":96,"hex_timestamp":"0000019f622300e8"} 
[2026-07-15 01:10:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:10: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-15 01:10:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:10:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:10:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:10:18] local.INFO: Teltonika packet parsed successfully {"connection_id":132924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:10:18] local.INFO: Passing IMEI to GPS processor {"connection_id":132924,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:10:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":132924,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:10:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:10:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:10:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:10:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27952,"69":206,"19":43264,"24":26,"16":135804482192670720},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,19,24,16]} 
[2026-07-15 01:10:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:10:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:10:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-15 01:10:18] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-07-15 01:10:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-07-15 01:10:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135804482192670720,"km_value":135804482192670.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:10:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27952,"unknown_69":206,"unknown_19":43264,"ignition":26,"odometer":null}} 
[2026-07-15 01:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":132924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488820,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:10:18] local.INFO: GPS data processed {"connection_id":132924,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:10:18] local.INFO: Acknowledgment sent {"connection_id":132924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:10:36] local.INFO: TCP Data received {"connection_id":132925,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132925,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:10:36] local.INFO: Processing buffer {"connection_id":132925,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:10:36] local.INFO: IMEI packet received {"connection_id":132925,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":132925,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:10:37] local.INFO: TCP Data received {"connection_id":132925,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132925,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:10:37] local.INFO: Processing buffer {"connection_id":132925,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:10:37] local.INFO: IMEI packet received {"connection_id":132925,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":132925,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:10:41] local.INFO: TCP Data received {"connection_id":132925,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132925,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:10:41] local.INFO: Processing buffer {"connection_id":132925,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:10:41] local.INFO: IMEI packet received {"connection_id":132925,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":132925,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:10:41] local.INFO: TCP Data received {"connection_id":132925,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62248788012d683a8006114c58000500332a..."} 
[2026-07-15 01:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62248788012d683a8006114c58000500332a..."} 
[2026-07-15 01:10:41] local.INFO: Processing buffer {"connection_id":132925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62248788012d683a8006114c58000500332a..."} 
[2026-07-15 01:10:41] local.INFO: Packet analysis {"connection_id":132925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6224"} 
[2026-07-15 01:10:41] local.INFO: Extracted packet for processing {"connection_id":132925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6224"} 
[2026-07-15 01:10:41] local.INFO: GPS Element Parsed {"raw_longitude":761805440,"raw_latitude":101796952,"longitude_deg":76.180544,"latitude_deg":10.1796952,"altitude":5,"angle":51,"satellites":42,"speed":38,"hex_longitude":"2d683a80","hex_latitude":"06114c58","is_valid_coordinates":true} 
[2026-07-15 01:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718843392001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135805379840835584,"note":"Value kept but may cause issues"} 
[2026-07-15 01:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7504545117630414848,"note":"Value kept but may cause issues"} 
[2026-07-15 01:10:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784057989000,"timestamp_ms":1784057989000,"timestamp_seconds":1784057989,"priority":1,"record_length":96,"hex_timestamp":"0000019f62248788"} 
[2026-07-15 01:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:10:41] 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-07-15 01:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-15 01:10:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:10:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132925,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132925,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718843392001,"66":28028,"160":206,"19":43264,"24":38,"16":135805379840835584,"45":7504545117630414848},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,19,24,16,45]} 
[2026-07-15 01:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718843392001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:10:41] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-07-15 01:10:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-07-15 01:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135805379840835584,"km_value":135805379840835.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":7504545117630414848,"description":"Unknown IO ID 45"} 
[2026-07-15 01:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718843392001,"power":28028,"unknown_160":206,"unknown_19":43264,"ignition":38,"odometer":null,"unknown_45":7504545117630414848}} 
[2026-07-15 01:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":132925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488821,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:10:42] local.INFO: GPS data processed {"connection_id":132925,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:10:42] local.INFO: Acknowledgment sent {"connection_id":132925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:10:42] local.INFO: TCP Data received {"connection_id":132089,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f6223cff0012d7f92c005afd8300000005026..."} 
[2026-07-15 01:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6223cff0012d7f92c005afd8300000005026..."} 
[2026-07-15 01:10:42] local.INFO: Processing buffer {"connection_id":132089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6223cff0012d7f92c005afd8300000005026..."} 
[2026-07-15 01:10:42] local.INFO: Packet analysis {"connection_id":132089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6223"} 
[2026-07-15 01:10:42] local.INFO: Extracted packet for processing {"connection_id":132089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6223"} 
[2026-07-15 01:10:42] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:10: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-07-15 01:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718756096001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784057942000,"timestamp_ms":1784057942000,"timestamp_seconds":1784057942,"priority":1,"record_length":96,"hex_timestamp":"0000019f6223cff0"} 
[2026-07-15 01:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 01:10:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:10: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-07-15 01:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718756096001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718756096001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:10:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:10:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718756096001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":132089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:10:42] local.INFO: GPS data processed {"connection_id":132089,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:10:42] local.INFO: Acknowledgment sent {"connection_id":132089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:10:42] local.INFO: TCP Data received {"connection_id":132925,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62249728012d68458006115770000400272b..."} 
[2026-07-15 01:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62249728012d68458006115770000400272b..."} 
[2026-07-15 01:10:42] local.INFO: Processing buffer {"connection_id":132925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62249728012d68458006115770000400272b..."} 
[2026-07-15 01:10:42] local.INFO: Packet analysis {"connection_id":132925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6224"} 
[2026-07-15 01:10:42] local.INFO: Extracted packet for processing {"connection_id":132925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6224"} 
[2026-07-15 01:10:42] local.INFO: GPS Element Parsed {"raw_longitude":761808256,"raw_latitude":101799792,"longitude_deg":76.1808256,"latitude_deg":10.1799792,"altitude":4,"angle":39,"satellites":43,"speed":40,"hex_longitude":"2d684580","hex_latitude":"06115770","is_valid_coordinates":true} 
[2026-07-15 01:10: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-07-15 01:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718845184001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135805573114363904,"note":"Value kept but may cause issues"} 
[2026-07-15 01:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7510456092142098432,"note":"Value kept but may cause issues"} 
[2026-07-15 01:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784057993000,"timestamp_ms":1784057993000,"timestamp_seconds":1784057993,"priority":1,"record_length":96,"hex_timestamp":"0000019f62249728"} 
[2026-07-15 01:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-15 01:10:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:10: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-07-15 01:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132925,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132925,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718845184001,"66":27821,"160":206,"19":43264,"24":40,"16":135805573114363904,"45":7510456092142098432},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,19,24,16,45]} 
[2026-07-15 01:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718845184001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:10:42] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-07-15 01:10:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-07-15 01:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135805573114363904,"km_value":135805573114363.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":7510456092142098432,"description":"Unknown IO ID 45"} 
[2026-07-15 01:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718845184001,"power":27821,"unknown_160":206,"unknown_19":43264,"ignition":40,"odometer":null,"unknown_45":7510456092142098432}} 
[2026-07-15 01:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":132925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488823,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:10:42] local.INFO: GPS data processed {"connection_id":132925,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:10:42] local.INFO: Acknowledgment sent {"connection_id":132925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:11:02] local.INFO: TCP Data received {"connection_id":134295,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:11:02] local.INFO: Processing buffer {"connection_id":134295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:11:02] local.INFO: IMEI packet received {"connection_id":134295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":134295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:11:08] local.INFO: TCP Data received {"connection_id":134295,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:11:08] local.INFO: Processing buffer {"connection_id":134295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:11:08] local.INFO: IMEI packet received {"connection_id":134295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":134295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:11:08] local.INFO: TCP Data received {"connection_id":134295,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f6223cff0012d7f92c005afd8300000005026..."} 
[2026-07-15 01:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6223cff0012d7f92c005afd8300000005026..."} 
[2026-07-15 01:11:08] local.INFO: Processing buffer {"connection_id":134295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6223cff0012d7f92c005afd8300000005026..."} 
[2026-07-15 01:11:08] local.INFO: Packet analysis {"connection_id":134295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6223"} 
[2026-07-15 01:11:08] local.INFO: Extracted packet for processing {"connection_id":134295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6223"} 
[2026-07-15 01:11:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718756096001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:11:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784057942000,"timestamp_ms":1784057942000,"timestamp_seconds":1784057942,"priority":1,"record_length":96,"hex_timestamp":"0000019f6223cff0"} 
[2026-07-15 01:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 01:11:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:11:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:11:08] 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-07-15 01:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718756096001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718756096001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:11:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:11:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718756096001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":134295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:11:08] local.INFO: GPS data processed {"connection_id":134295,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:11:08] local.INFO: Acknowledgment sent {"connection_id":134295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:11:17] local.INFO: TCP Data received {"connection_id":132925,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6224ae98012d68554006116a38000500362b..."} 
[2026-07-15 01:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6224ae98012d68554006116a38000500362b..."} 
[2026-07-15 01:11:17] local.INFO: Processing buffer {"connection_id":132925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6224ae98012d68554006116a38000500362b..."} 
[2026-07-15 01:11:17] local.INFO: Packet analysis {"connection_id":132925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6224"} 
[2026-07-15 01:11:17] local.INFO: Extracted packet for processing {"connection_id":132925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6224"} 
[2026-07-15 01:11:17] local.INFO: GPS Element Parsed {"raw_longitude":761812288,"raw_latitude":101804600,"longitude_deg":76.1812288,"latitude_deg":10.18046,"altitude":5,"angle":54,"satellites":43,"speed":40,"hex_longitude":"2d685540","hex_latitude":"06116a38","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718846208001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135805878057041920,"note":"Value kept but may cause issues"} 
[2026-07-15 01:11:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7513552316886642688,"note":"Value kept but may cause issues"} 
[2026-07-15 01:11:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784057999000,"timestamp_ms":1784057999000,"timestamp_seconds":1784057999,"priority":1,"record_length":96,"hex_timestamp":"0000019f6224ae98"} 
[2026-07-15 01:11:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:11:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 01:11:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:11:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132925,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132925,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:11:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718846208001,"66":27800,"160":206,"19":43264,"24":40,"16":135805878057041920,"45":7513552316886642688},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,19,24,16,45]} 
[2026-07-15 01:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718846208001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:11:17] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-07-15 01:11:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-07-15 01:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135805878057041920,"km_value":135805878057041.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:11:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":7513552316886642688,"description":"Unknown IO ID 45"} 
[2026-07-15 01:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718846208001,"power":27800,"unknown_160":206,"unknown_19":43264,"ignition":40,"odometer":null,"unknown_45":7513552316886642688}} 
[2026-07-15 01:11:17] local.INFO: DEBUG: GPS processor result {"connection_id":132925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488825,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:11:17] local.INFO: GPS data processed {"connection_id":132925,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:11:17] local.INFO: Acknowledgment sent {"connection_id":132925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:11:36] local.INFO: TCP Data received {"connection_id":134296,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134296,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:11:36] local.INFO: Processing buffer {"connection_id":134296,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:11:36] local.INFO: IMEI packet received {"connection_id":134296,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":134296,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:11:41] local.INFO: TCP Data received {"connection_id":134296,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134296,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:11:41] local.INFO: Processing buffer {"connection_id":134296,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:11:41] local.INFO: IMEI packet received {"connection_id":134296,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":134296,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:11:42] local.INFO: TCP Data received {"connection_id":134295,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f6223cff0012d7f92c005afd8300000005026..."} 
[2026-07-15 01:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6223cff0012d7f92c005afd8300000005026..."} 
[2026-07-15 01:11:42] local.INFO: Processing buffer {"connection_id":134295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6223cff0012d7f92c005afd8300000005026..."} 
[2026-07-15 01:11:42] local.INFO: Packet analysis {"connection_id":134295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6223"} 
[2026-07-15 01:11:42] local.INFO: Extracted packet for processing {"connection_id":134295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6223"} 
[2026-07-15 01:11:42] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718756096001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784057942000,"timestamp_ms":1784057942000,"timestamp_seconds":1784057942,"priority":1,"record_length":96,"hex_timestamp":"0000019f6223cff0"} 
[2026-07-15 01:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 01:11:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":134295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":134295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":134295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718756096001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718756096001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:11:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:11:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718756096001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":134295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:11:42] local.INFO: GPS data processed {"connection_id":134295,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:11:42] local.INFO: Acknowledgment sent {"connection_id":134295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:11:45] local.INFO: TCP Data received {"connection_id":134296,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6224be38012d68634006117188000400422b..."} 
[2026-07-15 01:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6224be38012d68634006117188000400422b..."} 
[2026-07-15 01:11:45] local.INFO: Processing buffer {"connection_id":134296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6224be38012d68634006117188000400422b..."} 
[2026-07-15 01:11:45] local.INFO: Packet analysis {"connection_id":134296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6224"} 
[2026-07-15 01:11:45] local.INFO: Extracted packet for processing {"connection_id":134296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6224"} 
[2026-07-15 01:11:45] local.INFO: GPS Element Parsed {"raw_longitude":761815872,"raw_latitude":101806472,"longitude_deg":76.1815872,"latitude_deg":10.1806472,"altitude":4,"angle":66,"satellites":43,"speed":41,"hex_longitude":"2d686340","hex_latitude":"06117188","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718847744001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135806071330570240,"note":"Value kept but may cause issues"} 
[2026-07-15 01:11:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7517985547771066368,"note":"Value kept but may cause issues"} 
[2026-07-15 01:11:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784058003000,"timestamp_ms":1784058003000,"timestamp_seconds":1784058003,"priority":1,"record_length":96,"hex_timestamp":"0000019f6224be38"} 
[2026-07-15 01:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:11:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 01:11:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":134296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":134296,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":134296,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:11:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718847744001,"66":27887,"160":206,"19":43264,"24":41,"16":135806071330570240,"45":7517985547771066368},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,19,24,16,45]} 
[2026-07-15 01:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718847744001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:11:45] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-07-15 01:11:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-07-15 01:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135806071330570240,"km_value":135806071330570.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:11:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":7517985547771066368,"description":"Unknown IO ID 45"} 
[2026-07-15 01:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718847744001,"power":27887,"unknown_160":206,"unknown_19":43264,"ignition":41,"odometer":null,"unknown_45":7517985547771066368}} 
[2026-07-15 01:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":134296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488827,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:11:45] local.INFO: GPS data processed {"connection_id":134296,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:11:45] local.INFO: Acknowledgment sent {"connection_id":134296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:12:08] local.INFO: TCP Data received {"connection_id":131921,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:12:08] local.INFO: Processing buffer {"connection_id":131921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:12:08] local.INFO: IMEI packet received {"connection_id":131921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":131921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:12:13] local.INFO: TCP Data received {"connection_id":131921,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:12:13] local.INFO: Processing buffer {"connection_id":131921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:12:13] local.INFO: IMEI packet received {"connection_id":131921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":131921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:12:13] local.INFO: TCP Data received {"connection_id":131921,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6223cff0012d7f92c005afd8300000005026..."} 
[2026-07-15 01:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6223cff0012d7f92c005afd8300000005026..."} 
[2026-07-15 01:12:13] local.INFO: Processing buffer {"connection_id":131921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6223cff0012d7f92c005afd8300000005026..."} 
[2026-07-15 01:12:13] local.INFO: Packet analysis {"connection_id":131921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6223"} 
[2026-07-15 01:12:13] local.INFO: Extracted packet for processing {"connection_id":131921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6223"} 
[2026-07-15 01:12:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718756096001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:12:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:12:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784057942000,"timestamp_ms":1784057942000,"timestamp_seconds":1784057942,"priority":1,"record_length":96,"hex_timestamp":"0000019f6223cff0"} 
[2026-07-15 01:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:12:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 01:12:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":131921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":131921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":131921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:12:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718756096001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718756096001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:12:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:12:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:12:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718756096001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":131921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:12:13] local.INFO: GPS data processed {"connection_id":131921,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:12:13] local.INFO: Acknowledgment sent {"connection_id":131921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:12:17] local.INFO: TCP Data received {"connection_id":134296,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6224c608012d686b00061173f00004004e2b..."} 
[2026-07-15 01:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6224c608012d686b00061173f00004004e2b..."} 
[2026-07-15 01:12:17] local.INFO: Processing buffer {"connection_id":134296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6224c608012d686b00061173f00004004e2b..."} 
[2026-07-15 01:12:17] local.INFO: Packet analysis {"connection_id":134296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6224"} 
[2026-07-15 01:12:17] local.INFO: Extracted packet for processing {"connection_id":134296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6224"} 
[2026-07-15 01:12:17] local.INFO: GPS Element Parsed {"raw_longitude":761817856,"raw_latitude":101807088,"longitude_deg":76.1817856,"latitude_deg":10.1807088,"altitude":4,"angle":78,"satellites":43,"speed":41,"hex_longitude":"2d686b00","hex_latitude":"061173f0","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718848768001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135806174409785344,"note":"Value kept but may cause issues"} 
[2026-07-15 01:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7521926197445494784,"note":"Value kept but may cause issues"} 
[2026-07-15 01:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784058005000,"timestamp_ms":1784058005000,"timestamp_seconds":1784058005,"priority":1,"record_length":96,"hex_timestamp":"0000019f6224c608"} 
[2026-07-15 01:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-15 01:12:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":134296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":134296,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":134296,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718848768001,"66":27887,"160":206,"19":43264,"24":41,"16":135806174409785344,"45":7521926197445494784},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,19,24,16,45]} 
[2026-07-15 01:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718848768001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:12:17] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-07-15 01:12:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-07-15 01:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135806174409785344,"km_value":135806174409785.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":7521926197445494784,"description":"Unknown IO ID 45"} 
[2026-07-15 01:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718848768001,"power":27887,"unknown_160":206,"unknown_19":43264,"ignition":41,"odometer":null,"unknown_45":7521926197445494784}} 
[2026-07-15 01:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":134296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488829,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:12:17] local.INFO: GPS data processed {"connection_id":134296,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:12:17] local.INFO: Acknowledgment sent {"connection_id":134296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:12:18] local.INFO: TCP Data received {"connection_id":131921,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6223cff0012d7f92c005afd8300000005026..."} 
[2026-07-15 01:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6223cff0012d7f92c005afd8300000005026..."} 
[2026-07-15 01:12:18] local.INFO: Processing buffer {"connection_id":131921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6223cff0012d7f92c005afd8300000005026..."} 
[2026-07-15 01:12:18] local.INFO: Packet analysis {"connection_id":131921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6223"} 
[2026-07-15 01:12:18] local.INFO: Extracted packet for processing {"connection_id":131921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6223"} 
[2026-07-15 01:12:18] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718756096001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:12:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:12:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784057942000,"timestamp_ms":1784057942000,"timestamp_seconds":1784057942,"priority":1,"record_length":96,"hex_timestamp":"0000019f6223cff0"} 
[2026-07-15 01:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:12:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 01:12:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:12:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":131921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":131921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":131921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:12: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-07-15 01:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718756096001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718756096001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:12:18] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:12:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:12:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718756096001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":131921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:12:18] local.INFO: GPS data processed {"connection_id":131921,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:12:18] local.INFO: Acknowledgment sent {"connection_id":131921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:12:42] local.INFO: TCP Data received {"connection_id":132926,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132926,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:12:42] local.INFO: Processing buffer {"connection_id":132926,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:12:42] local.INFO: IMEI packet received {"connection_id":132926,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":132926,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:13:02] local.INFO: TCP Data received {"connection_id":132927,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:13:02] local.INFO: Processing buffer {"connection_id":132927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:13:02] local.INFO: IMEI packet received {"connection_id":132927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":132927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:13:05] local.INFO: TCP Data received {"connection_id":132926,"ip":"117.224.100.59","data_length":812,"data_hex":"000f383632353637303731363332333232000000000000030f8e0a0000019f62..."} 
[2026-07-15 01:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132926,"packet_length":812,"packet_hex":"000f383632353637303731363332333232000000000000030f8e0a0000019f62..."} 
[2026-07-15 01:13:05] local.INFO: Processing buffer {"connection_id":132926,"buffer_length":812,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a0000019f62..."} 
[2026-07-15 01:13:05] local.INFO: IMEI packet received {"connection_id":132926,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":132926,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:13:09] local.INFO: TCP Data received {"connection_id":132927,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:13:09] local.INFO: Processing buffer {"connection_id":132927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:13:09] local.INFO: IMEI packet received {"connection_id":132927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":132927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:13:13] local.INFO: TCP Data received {"connection_id":132927,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6223cff0012d7f92c005afd8300000005026..."} 
[2026-07-15 01:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6223cff0012d7f92c005afd8300000005026..."} 
[2026-07-15 01:13:13] local.INFO: Processing buffer {"connection_id":132927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6223cff0012d7f92c005afd8300000005026..."} 
[2026-07-15 01:13:13] local.INFO: Packet analysis {"connection_id":132927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6223"} 
[2026-07-15 01:13:13] local.INFO: Extracted packet for processing {"connection_id":132927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6223"} 
[2026-07-15 01:13:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718756096001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784057942000,"timestamp_ms":1784057942000,"timestamp_seconds":1784057942,"priority":1,"record_length":96,"hex_timestamp":"0000019f6223cff0"} 
[2026-07-15 01:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:13:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 01:13:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:13:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718756096001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718756096001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:13:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:13:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718756096001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":132927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:13:13] local.INFO: GPS data processed {"connection_id":132927,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:13:13] local.INFO: Acknowledgment sent {"connection_id":132927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:13:26] local.INFO: TCP Data received {"connection_id":132926,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62265090012d69c7800611b4880004005d2d..."} 
[2026-07-15 01:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62265090012d69c7800611b4880004005d2d..."} 
[2026-07-15 01:13:26] local.INFO: Processing buffer {"connection_id":132926,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f6225fe88012d697fc00611b3f00001005b2d..."} 
[2026-07-15 01:13:26] local.INFO: Packet analysis {"connection_id":132926,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f6225"} 
[2026-07-15 01:13:26] local.INFO: Extracted packet for processing {"connection_id":132926,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6225"} 
[2026-07-15 01:13:26] local.INFO: GPS Element Parsed {"raw_longitude":761888704,"raw_latitude":101823472,"longitude_deg":76.1888704,"latitude_deg":10.1823472,"altitude":1,"angle":91,"satellites":45,"speed":32,"hex_longitude":"2d697fc0","hex_latitude":"0611b3f0","is_valid_coordinates":true} 
[2026-07-15 01:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718869760001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135809017678135296,"note":"Value kept but may cause issues"} 
[2026-07-15 01:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7602005828324028416,"note":"Value kept but may cause issues"} 
[2026-07-15 01:13:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784058085000,"timestamp_ms":1784058085000,"timestamp_seconds":1784058085,"priority":1,"record_length":96,"hex_timestamp":"0000019f6225fe88"} 
[2026-07-15 01:13:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:13:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-15 01:13:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:13:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:13:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":132926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":132926,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":132926,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:13:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718869760001,"66":27745,"159":206,"19":43264,"24":32,"16":135809017678135296,"45":7602005828324028416},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,19,24,16,45]} 
[2026-07-15 01:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718869760001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:13:26] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-15 01:13:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-07-15 01:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135809017678135296,"km_value":135809017678135.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":7602005828324028416,"description":"Unknown IO ID 45"} 
[2026-07-15 01:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718869760001,"power":27745,"unknown_159":206,"unknown_19":43264,"ignition":32,"odometer":null,"unknown_45":7602005828324028416}} 
[2026-07-15 01:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":132926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488832,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:13:26] local.INFO: GPS data processed {"connection_id":132926,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:13:26] local.INFO: Acknowledgment sent {"connection_id":132926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:13:26] local.INFO: Packet analysis {"connection_id":132926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6226"} 
[2026-07-15 01:13:26] local.INFO: Extracted packet for processing {"connection_id":132926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6226"} 
[2026-07-15 01:13:26] local.INFO: GPS Element Parsed {"raw_longitude":761907072,"raw_latitude":101823624,"longitude_deg":76.1907072,"latitude_deg":10.1823624,"altitude":4,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d69c780","hex_latitude":"0611b488","is_valid_coordinates":true} 
[2026-07-15 01:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718869760001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135809017678135296,"note":"Value kept but may cause issues"} 
[2026-07-15 01:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7602005828324028416,"note":"Value kept but may cause issues"} 
[2026-07-15 01:13:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784058106000,"timestamp_ms":1784058106000,"timestamp_seconds":1784058106,"priority":1,"record_length":96,"hex_timestamp":"0000019f62265090"} 
[2026-07-15 01:13:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:13:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-15 01:13:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:13:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:13:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":132926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":132926,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":132926,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:13:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718869760001,"66":27517,"159":206,"19":43264,"24":0,"16":135809017678135296,"45":7602005828324028416},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,19,24,16,45]} 
[2026-07-15 01:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718869760001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:13:26] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-15 01:13:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-07-15 01:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135809017678135296,"km_value":135809017678135.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":7602005828324028416,"description":"Unknown IO ID 45"} 
[2026-07-15 01:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718869760001,"power":27517,"unknown_159":206,"unknown_19":43264,"ignition":0,"odometer":null,"unknown_45":7602005828324028416}} 
[2026-07-15 01:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":132926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488833,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:13:26] local.INFO: GPS data processed {"connection_id":132926,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:13:26] local.INFO: Acknowledgment sent {"connection_id":132926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:13:44] local.INFO: TCP Data received {"connection_id":132927,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6223cff0012d7f92c005afd8300000005026..."} 
[2026-07-15 01:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6223cff0012d7f92c005afd8300000005026..."} 
[2026-07-15 01:13:44] local.INFO: Processing buffer {"connection_id":132927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6223cff0012d7f92c005afd8300000005026..."} 
[2026-07-15 01:13:44] local.INFO: Packet analysis {"connection_id":132927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6223"} 
[2026-07-15 01:13:44] local.INFO: Extracted packet for processing {"connection_id":132927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6223"} 
[2026-07-15 01:13:44] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718756096001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:13:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784057942000,"timestamp_ms":1784057942000,"timestamp_seconds":1784057942,"priority":1,"record_length":96,"hex_timestamp":"0000019f6223cff0"} 
[2026-07-15 01:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:13:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 01:13:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:13:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":132927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":132927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":132927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718756096001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718756096001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:13:44] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:13:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718756096001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":132927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:13:45] local.INFO: GPS data processed {"connection_id":132927,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:13:45] local.INFO: Acknowledgment sent {"connection_id":132927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:14:02] local.INFO: TCP Data received {"connection_id":131922,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:14:02] local.INFO: Processing buffer {"connection_id":131922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:14:02] local.INFO: IMEI packet received {"connection_id":131922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":131922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:14:07] local.INFO: TCP Data received {"connection_id":131922,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:14:07] local.INFO: Processing buffer {"connection_id":131922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:14:07] local.INFO: IMEI packet received {"connection_id":131922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":131922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:14:08] local.INFO: TCP Data received {"connection_id":131922,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6223cff0012d7f92c005afd8300000005026..."} 
[2026-07-15 01:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6223cff0012d7f92c005afd8300000005026..."} 
[2026-07-15 01:14:08] local.INFO: Processing buffer {"connection_id":131922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6223cff0012d7f92c005afd8300000005026..."} 
[2026-07-15 01:14:08] local.INFO: Packet analysis {"connection_id":131922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6223"} 
[2026-07-15 01:14:08] local.INFO: Extracted packet for processing {"connection_id":131922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6223"} 
[2026-07-15 01:14:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718756096001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:14:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784057942000,"timestamp_ms":1784057942000,"timestamp_seconds":1784057942,"priority":1,"record_length":96,"hex_timestamp":"0000019f6223cff0"} 
[2026-07-15 01:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:14:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 01:14:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:14:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":131922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":131922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":131922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718756096001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718756096001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:14:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:14:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718756096001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":131922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:14:08] local.INFO: GPS data processed {"connection_id":131922,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:14:08] local.INFO: Acknowledgment sent {"connection_id":131922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:14:17] local.INFO: TCP Data received {"connection_id":131923,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131923,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:14:17] local.INFO: Processing buffer {"connection_id":131923,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:14:17] local.INFO: IMEI packet received {"connection_id":131923,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":131923,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:14:41] local.INFO: TCP Data received {"connection_id":132928,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132928,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:14:41] local.INFO: Processing buffer {"connection_id":132928,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:14:41] local.INFO: IMEI packet received {"connection_id":132928,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":132928,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:14:42] local.INFO: TCP Data received {"connection_id":131922,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6223cff0012d7f92c005afd8300000005026..."} 
[2026-07-15 01:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6223cff0012d7f92c005afd8300000005026..."} 
[2026-07-15 01:14:42] local.INFO: Processing buffer {"connection_id":131922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6223cff0012d7f92c005afd8300000005026..."} 
[2026-07-15 01:14:42] local.INFO: Packet analysis {"connection_id":131922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6223"} 
[2026-07-15 01:14:42] local.INFO: Extracted packet for processing {"connection_id":131922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6223"} 
[2026-07-15 01:14:42] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718756096001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784057942000,"timestamp_ms":1784057942000,"timestamp_seconds":1784057942,"priority":1,"record_length":96,"hex_timestamp":"0000019f6223cff0"} 
[2026-07-15 01:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 01:14:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":131922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":131922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":131922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718756096001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718756096001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:14:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:14:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718756096001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":131922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:14:42] local.INFO: GPS data processed {"connection_id":131922,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:14:42] local.INFO: Acknowledgment sent {"connection_id":131922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:14:46] local.INFO: TCP Data received {"connection_id":132928,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132928,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:14:46] local.INFO: Processing buffer {"connection_id":132928,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:14:46] local.INFO: IMEI packet received {"connection_id":132928,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":132928,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:14:47] local.INFO: TCP Data received {"connection_id":132928,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6226a298012d69f3c00611dde0000300552e..."} 
[2026-07-15 01:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6226a298012d69f3c00611dde0000300552e..."} 
[2026-07-15 01:14:47] local.INFO: Processing buffer {"connection_id":132928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6226a298012d69f3c00611dde0000300552e..."} 
[2026-07-15 01:14:47] local.INFO: Packet analysis {"connection_id":132928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6226"} 
[2026-07-15 01:14:47] local.INFO: Extracted packet for processing {"connection_id":132928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6226"} 
[2026-07-15 01:14:47] local.INFO: GPS Element Parsed {"raw_longitude":761918400,"raw_latitude":101834208,"longitude_deg":76.19184,"latitude_deg":10.1834208,"altitude":3,"angle":85,"satellites":46,"speed":31,"hex_longitude":"2d69f3c0","hex_latitude":"0611dde0","is_valid_coordinates":true} 
[2026-07-15 01:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718875136001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135809017678135296,"note":"Value kept but may cause issues"} 
[2026-07-15 01:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7622201657903056896,"note":"Value kept but may cause issues"} 
[2026-07-15 01:14:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784058127000,"timestamp_ms":1784058127000,"timestamp_seconds":1784058127,"priority":1,"record_length":96,"hex_timestamp":"0000019f6226a298"} 
[2026-07-15 01:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:14:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-15 01:14:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":132928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":132928,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":132928,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718875136001,"66":28050,"159":206,"19":43264,"24":31,"16":135809017678135296,"45":7622201657903056896},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,19,24,16,45]} 
[2026-07-15 01:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718875136001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:14:47] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-15 01:14:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-07-15 01:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135809017678135296,"km_value":135809017678135.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":7622201657903056896,"description":"Unknown IO ID 45"} 
[2026-07-15 01:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718875136001,"power":28050,"unknown_159":206,"unknown_19":43264,"ignition":31,"odometer":null,"unknown_45":7622201657903056896}} 
[2026-07-15 01:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":132928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488837,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:14:47] local.INFO: GPS data processed {"connection_id":132928,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:14:47] local.INFO: Acknowledgment sent {"connection_id":132928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:15:08] local.INFO: TCP Data received {"connection_id":132090,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:15:08] local.INFO: Processing buffer {"connection_id":132090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:15:08] local.INFO: IMEI packet received {"connection_id":132090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":132090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:15:13] local.INFO: TCP Data received {"connection_id":132090,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:15:13] local.INFO: Processing buffer {"connection_id":132090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:15:13] local.INFO: IMEI packet received {"connection_id":132090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":132090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:15:15] local.INFO: TCP Data received {"connection_id":132090,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f622867b8012d7f92c005afd8300000005024..."} 
[2026-07-15 01:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f622867b8012d7f92c005afd8300000005024..."} 
[2026-07-15 01:15:15] local.INFO: Processing buffer {"connection_id":132090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f622867b8012d7f92c005afd8300000005024..."} 
[2026-07-15 01:15:15] local.INFO: Packet analysis {"connection_id":132090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6228"} 
[2026-07-15 01:15:15] local.INFO: Extracted packet for processing {"connection_id":132090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6228"} 
[2026-07-15 01:15:15] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718833152001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:15:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784058243000,"timestamp_ms":1784058243000,"timestamp_seconds":1784058243,"priority":1,"record_length":96,"hex_timestamp":"0000019f622867b8"} 
[2026-07-15 01:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:15:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:15:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:15:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":132090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":132090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":132090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:15:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718833152001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718833152001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:15:15] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:15:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718833152001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":132090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:15:15] local.INFO: GPS data processed {"connection_id":132090,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:15:15] local.INFO: Acknowledgment sent {"connection_id":132090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:15:19] local.INFO: TCP Data received {"connection_id":132928,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6226ecd0012d6a26c00611eeb8000400102d..."} 
[2026-07-15 01:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6226ecd0012d6a26c00611eeb8000400102d..."} 
[2026-07-15 01:15:19] local.INFO: Processing buffer {"connection_id":132928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6226ecd0012d6a26c00611eeb8000400102d..."} 
[2026-07-15 01:15:19] local.INFO: Packet analysis {"connection_id":132928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6226"} 
[2026-07-15 01:15:19] local.INFO: Extracted packet for processing {"connection_id":132928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6226"} 
[2026-07-15 01:15:19] local.INFO: GPS Element Parsed {"raw_longitude":761931456,"raw_latitude":101838520,"longitude_deg":76.1931456,"latitude_deg":10.183852,"altitude":4,"angle":16,"satellites":45,"speed":28,"hex_longitude":"2d6a26c0","hex_latitude":"0611eeb8","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718880512001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135809017678135296,"note":"Value kept but may cause issues"} 
[2026-07-15 01:15:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7634656925625212928,"note":"Value kept but may cause issues"} 
[2026-07-15 01:15:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784058146000,"timestamp_ms":1784058146000,"timestamp_seconds":1784058146,"priority":1,"record_length":96,"hex_timestamp":"0000019f6226ecd0"} 
[2026-07-15 01:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:15:19] 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-07-15 01: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-15 01:15:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":132928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":132928,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":132928,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:15:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718880512001,"66":27930,"159":206,"19":43264,"24":28,"16":135809017678135296,"45":7634656925625212928},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,19,24,16,45]} 
[2026-07-15 01:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718880512001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:15:19] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-15 01:15:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-07-15 01:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135809017678135296,"km_value":135809017678135.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:15:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":7634656925625212928,"description":"Unknown IO ID 45"} 
[2026-07-15 01:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718880512001,"power":27930,"unknown_159":206,"unknown_19":43264,"ignition":28,"odometer":null,"unknown_45":7634656925625212928}} 
[2026-07-15 01:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":132928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488839,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:15:19] local.INFO: GPS data processed {"connection_id":132928,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:15:19] local.INFO: Acknowledgment sent {"connection_id":132928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:15:48] local.INFO: TCP Data received {"connection_id":132090,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f622867b8012d7f92c005afd8300000005024..."} 
[2026-07-15 01:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f622867b8012d7f92c005afd8300000005024..."} 
[2026-07-15 01:15:48] local.INFO: Processing buffer {"connection_id":132090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f622867b8012d7f92c005afd8300000005024..."} 
[2026-07-15 01:15:48] local.INFO: Packet analysis {"connection_id":132090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6228"} 
[2026-07-15 01:15:48] local.INFO: Extracted packet for processing {"connection_id":132090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6228"} 
[2026-07-15 01:15:48] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:15:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718833152001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:15:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:15:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:15:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:15:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784058243000,"timestamp_ms":1784058243000,"timestamp_seconds":1784058243,"priority":1,"record_length":96,"hex_timestamp":"0000019f622867b8"} 
[2026-07-15 01:15:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:15:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:15:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:15:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:15:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:15:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:15:48] local.INFO: Teltonika packet parsed successfully {"connection_id":132090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:15:48] local.INFO: Passing IMEI to GPS processor {"connection_id":132090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:15:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":132090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:15:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:15:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:15:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:15:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718833152001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:15:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:15:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:15:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718833152001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:15:48] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:15:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:15:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:15:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:15:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718833152001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:15:48] local.INFO: DEBUG: GPS processor result {"connection_id":132090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:15:48] local.INFO: GPS data processed {"connection_id":132090,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:15:48] local.INFO: Acknowledgment sent {"connection_id":132090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:16:03] local.INFO: TCP Data received {"connection_id":134297,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:16:03] local.INFO: Processing buffer {"connection_id":134297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:16:03] local.INFO: IMEI packet received {"connection_id":134297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":134297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:16:08] local.INFO: TCP Data received {"connection_id":134297,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:16:08] local.INFO: Processing buffer {"connection_id":134297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:16:08] local.INFO: IMEI packet received {"connection_id":134297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":134297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:16:08] local.INFO: TCP Data received {"connection_id":134297,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f622867b8012d7f92c005afd8300000005024..."} 
[2026-07-15 01:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f622867b8012d7f92c005afd8300000005024..."} 
[2026-07-15 01:16:08] local.INFO: Processing buffer {"connection_id":134297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f622867b8012d7f92c005afd8300000005024..."} 
[2026-07-15 01:16:08] local.INFO: Packet analysis {"connection_id":134297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6228"} 
[2026-07-15 01:16:08] local.INFO: Extracted packet for processing {"connection_id":134297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6228"} 
[2026-07-15 01:16:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718833152001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784058243000,"timestamp_ms":1784058243000,"timestamp_seconds":1784058243,"priority":1,"record_length":96,"hex_timestamp":"0000019f622867b8"} 
[2026-07-15 01:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718833152001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718833152001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:16:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:16:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718833152001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":134297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:16:08] local.INFO: GPS data processed {"connection_id":134297,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:16:08] local.INFO: Acknowledgment sent {"connection_id":134297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:16:11] local.INFO: TCP Data received {"connection_id":132929,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132929,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:16:11] local.INFO: Processing buffer {"connection_id":132929,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:16:11] local.INFO: IMEI packet received {"connection_id":132929,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":132929,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:16:19] local.INFO: TCP Data received {"connection_id":132929,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132929,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:16:19] local.INFO: Processing buffer {"connection_id":132929,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:16:19] local.INFO: IMEI packet received {"connection_id":132929,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":132929,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:16:19] local.INFO: TCP Data received {"connection_id":132929,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132929,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:16:19] local.INFO: Processing buffer {"connection_id":132929,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:16:19] local.INFO: IMEI packet received {"connection_id":132929,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":132929,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:16:41] local.INFO: TCP Data received {"connection_id":132930,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132930,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:16:41] local.INFO: Processing buffer {"connection_id":132930,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:16:41] local.INFO: IMEI packet received {"connection_id":132930,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":132930,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:16:42] local.INFO: TCP Data received {"connection_id":134297,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f622867b8012d7f92c005afd8300000005024..."} 
[2026-07-15 01:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f622867b8012d7f92c005afd8300000005024..."} 
[2026-07-15 01:16:42] local.INFO: Processing buffer {"connection_id":134297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f622867b8012d7f92c005afd8300000005024..."} 
[2026-07-15 01:16:42] local.INFO: Packet analysis {"connection_id":134297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6228"} 
[2026-07-15 01:16:42] local.INFO: Extracted packet for processing {"connection_id":134297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6228"} 
[2026-07-15 01:16:42] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718833152001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784058243000,"timestamp_ms":1784058243000,"timestamp_seconds":1784058243,"priority":1,"record_length":96,"hex_timestamp":"0000019f622867b8"} 
[2026-07-15 01:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":134297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":134297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":134297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:16:42] 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-07-15 01:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718833152001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718833152001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:16:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:16:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718833152001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":134297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:16:42] local.INFO: GPS data processed {"connection_id":134297,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:16:42] local.INFO: Acknowledgment sent {"connection_id":134297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:17:03] local.INFO: TCP Data received {"connection_id":132091,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:17:03] local.INFO: Processing buffer {"connection_id":132091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:17:03] local.INFO: IMEI packet received {"connection_id":132091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":132091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:17:08] local.INFO: TCP Data received {"connection_id":132091,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:17:08] local.INFO: Processing buffer {"connection_id":132091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:17:08] local.INFO: IMEI packet received {"connection_id":132091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":132091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:17:08] local.INFO: TCP Data received {"connection_id":132091,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f622867b8012d7f92c005afd8300000005024..."} 
[2026-07-15 01:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f622867b8012d7f92c005afd8300000005024..."} 
[2026-07-15 01:17:08] local.INFO: Processing buffer {"connection_id":132091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f622867b8012d7f92c005afd8300000005024..."} 
[2026-07-15 01:17:08] local.INFO: Packet analysis {"connection_id":132091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6228"} 
[2026-07-15 01:17:08] local.INFO: Extracted packet for processing {"connection_id":132091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6228"} 
[2026-07-15 01:17:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718833152001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784058243000,"timestamp_ms":1784058243000,"timestamp_seconds":1784058243,"priority":1,"record_length":96,"hex_timestamp":"0000019f622867b8"} 
[2026-07-15 01:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718833152001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718833152001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:17:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:17:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718833152001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":132091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:17:08] local.INFO: GPS data processed {"connection_id":132091,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:17:08] local.INFO: Acknowledgment sent {"connection_id":132091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:17:42] local.INFO: TCP Data received {"connection_id":132091,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f622867b8012d7f92c005afd8300000005024..."} 
[2026-07-15 01:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f622867b8012d7f92c005afd8300000005024..."} 
[2026-07-15 01:17:42] local.INFO: Processing buffer {"connection_id":132091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f622867b8012d7f92c005afd8300000005024..."} 
[2026-07-15 01:17:42] local.INFO: Packet analysis {"connection_id":132091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6228"} 
[2026-07-15 01:17:42] local.INFO: Extracted packet for processing {"connection_id":132091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6228"} 
[2026-07-15 01:17:42] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718833152001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784058243000,"timestamp_ms":1784058243000,"timestamp_seconds":1784058243,"priority":1,"record_length":96,"hex_timestamp":"0000019f622867b8"} 
[2026-07-15 01:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718833152001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718833152001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:17:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:17:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718833152001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":132091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:17:42] local.INFO: GPS data processed {"connection_id":132091,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:17:42] local.INFO: Acknowledgment sent {"connection_id":132091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:18:02] local.INFO: TCP Data received {"connection_id":134298,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:18:02] local.INFO: Processing buffer {"connection_id":134298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:18:02] local.INFO: IMEI packet received {"connection_id":134298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":134298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:18:08] local.INFO: TCP Data received {"connection_id":134298,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:18:08] local.INFO: Processing buffer {"connection_id":134298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:18:08] local.INFO: IMEI packet received {"connection_id":134298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":134298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:18:08] local.INFO: TCP Data received {"connection_id":134298,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f622867b8012d7f92c005afd8300000005024..."} 
[2026-07-15 01:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f622867b8012d7f92c005afd8300000005024..."} 
[2026-07-15 01:18:08] local.INFO: Processing buffer {"connection_id":134298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f622867b8012d7f92c005afd8300000005024..."} 
[2026-07-15 01:18:08] local.INFO: Packet analysis {"connection_id":134298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6228"} 
[2026-07-15 01:18:08] local.INFO: Extracted packet for processing {"connection_id":134298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6228"} 
[2026-07-15 01:18:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718833152001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784058243000,"timestamp_ms":1784058243000,"timestamp_seconds":1784058243,"priority":1,"record_length":96,"hex_timestamp":"0000019f622867b8"} 
[2026-07-15 01:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:18:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718833152001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718833152001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:18:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:18:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718833152001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":134298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:18:08] local.INFO: GPS data processed {"connection_id":134298,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:18:08] local.INFO: Acknowledgment sent {"connection_id":134298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:18:40] local.INFO: TCP Data received {"connection_id":134298,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f622867b8012d7f92c005afd8300000005024..."} 
[2026-07-15 01:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f622867b8012d7f92c005afd8300000005024..."} 
[2026-07-15 01:18:40] local.INFO: Processing buffer {"connection_id":134298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f622867b8012d7f92c005afd8300000005024..."} 
[2026-07-15 01:18:40] local.INFO: Packet analysis {"connection_id":134298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6228"} 
[2026-07-15 01:18:40] local.INFO: Extracted packet for processing {"connection_id":134298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6228"} 
[2026-07-15 01:18:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718833152001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784058243000,"timestamp_ms":1784058243000,"timestamp_seconds":1784058243,"priority":1,"record_length":96,"hex_timestamp":"0000019f622867b8"} 
[2026-07-15 01:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:18:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:18:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:18:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":134298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":134298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":134298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:18:40] 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-07-15 01:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718833152001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718833152001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:18:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:18:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718833152001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":134298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:18:40] local.INFO: GPS data processed {"connection_id":134298,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:18:40] local.INFO: Acknowledgment sent {"connection_id":134298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:19:02] local.INFO: TCP Data received {"connection_id":132932,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:19:02] local.INFO: Processing buffer {"connection_id":132932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:19:02] local.INFO: IMEI packet received {"connection_id":132932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":132932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:19:08] local.INFO: TCP Data received {"connection_id":132932,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:19:08] local.INFO: Processing buffer {"connection_id":132932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:19:08] local.INFO: IMEI packet received {"connection_id":132932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":132932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:19:08] local.INFO: TCP Data received {"connection_id":132932,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f622867b8012d7f92c005afd8300000005024..."} 
[2026-07-15 01:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f622867b8012d7f92c005afd8300000005024..."} 
[2026-07-15 01:19:08] local.INFO: Processing buffer {"connection_id":132932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f622867b8012d7f92c005afd8300000005024..."} 
[2026-07-15 01:19:08] local.INFO: Packet analysis {"connection_id":132932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6228"} 
[2026-07-15 01:19:08] local.INFO: Extracted packet for processing {"connection_id":132932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6228"} 
[2026-07-15 01:19:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718833152001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784058243000,"timestamp_ms":1784058243000,"timestamp_seconds":1784058243,"priority":1,"record_length":96,"hex_timestamp":"0000019f622867b8"} 
[2026-07-15 01:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:19:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718833152001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718833152001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:19:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:19:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718833152001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":132932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:19:08] local.INFO: GPS data processed {"connection_id":132932,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:19:08] local.INFO: Acknowledgment sent {"connection_id":132932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:19:40] local.INFO: TCP Data received {"connection_id":132932,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f622867b8012d7f92c005afd8300000005024..."} 
[2026-07-15 01:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f622867b8012d7f92c005afd8300000005024..."} 
[2026-07-15 01:19:40] local.INFO: Processing buffer {"connection_id":132932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f622867b8012d7f92c005afd8300000005024..."} 
[2026-07-15 01:19:40] local.INFO: Packet analysis {"connection_id":132932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6228"} 
[2026-07-15 01:19:40] local.INFO: Extracted packet for processing {"connection_id":132932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6228"} 
[2026-07-15 01:19:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718833152001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784058243000,"timestamp_ms":1784058243000,"timestamp_seconds":1784058243,"priority":1,"record_length":96,"hex_timestamp":"0000019f622867b8"} 
[2026-07-15 01:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:19:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718833152001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718833152001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:19:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:19:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718833152001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":132932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:19:40] local.INFO: GPS data processed {"connection_id":132932,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:19:40] local.INFO: Acknowledgment sent {"connection_id":132932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:20:08] local.INFO: TCP Data received {"connection_id":134299,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:20:08] local.INFO: Processing buffer {"connection_id":134299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:20:08] local.INFO: IMEI packet received {"connection_id":134299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":134299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:20:12] local.INFO: TCP Data received {"connection_id":134299,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:20:12] local.INFO: Processing buffer {"connection_id":134299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:20:12] local.INFO: IMEI packet received {"connection_id":134299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":134299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:20:13] local.INFO: TCP Data received {"connection_id":134299,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f622cff80012d7f92c005afd8300000005028..."} 
[2026-07-15 01:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f622cff80012d7f92c005afd8300000005028..."} 
[2026-07-15 01:20:13] local.INFO: Processing buffer {"connection_id":134299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f622cff80012d7f92c005afd8300000005028..."} 
[2026-07-15 01:20:13] local.INFO: Packet analysis {"connection_id":134299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f622c"} 
[2026-07-15 01:20:13] local.INFO: Extracted packet for processing {"connection_id":134299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f622c"} 
[2026-07-15 01:20:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718910208001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:20:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:20:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784058544000,"timestamp_ms":1784058544000,"timestamp_seconds":1784058544,"priority":1,"record_length":96,"hex_timestamp":"0000019f622cff80"} 
[2026-07-15 01:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:20:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 01:20:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:20:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":134299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":134299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":134299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718910208001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718910208001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:20:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:20:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:20:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718910208001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":134299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:20:13] local.INFO: GPS data processed {"connection_id":134299,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:20:13] local.INFO: Acknowledgment sent {"connection_id":134299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:20:47] local.INFO: TCP Data received {"connection_id":134299,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f622cff80012d7f92c005afd8300000005028..."} 
[2026-07-15 01:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f622cff80012d7f92c005afd8300000005028..."} 
[2026-07-15 01:20:47] local.INFO: Processing buffer {"connection_id":134299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f622cff80012d7f92c005afd8300000005028..."} 
[2026-07-15 01:20:47] local.INFO: Packet analysis {"connection_id":134299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f622c"} 
[2026-07-15 01:20:47] local.INFO: Extracted packet for processing {"connection_id":134299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f622c"} 
[2026-07-15 01:20:47] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718910208001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:20:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784058544000,"timestamp_ms":1784058544000,"timestamp_seconds":1784058544,"priority":1,"record_length":96,"hex_timestamp":"0000019f622cff80"} 
[2026-07-15 01:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 01:20:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:20:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":134299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":134299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":134299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718910208001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718910208001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:20:47] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:20:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718910208001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":134299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:20:47] local.INFO: GPS data processed {"connection_id":134299,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:20:47] local.INFO: Acknowledgment sent {"connection_id":134299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:21:03] local.INFO: TCP Data received {"connection_id":132934,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:21:03] local.INFO: Processing buffer {"connection_id":132934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:21:03] local.INFO: IMEI packet received {"connection_id":132934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":132934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:21:08] local.INFO: TCP Data received {"connection_id":132934,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:21:08] local.INFO: Processing buffer {"connection_id":132934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:21:08] local.INFO: IMEI packet received {"connection_id":132934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":132934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:21:08] local.INFO: TCP Data received {"connection_id":132934,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f622cff80012d7f92c005afd8300000005028..."} 
[2026-07-15 01:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f622cff80012d7f92c005afd8300000005028..."} 
[2026-07-15 01:21:08] local.INFO: Processing buffer {"connection_id":132934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f622cff80012d7f92c005afd8300000005028..."} 
[2026-07-15 01:21:08] local.INFO: Packet analysis {"connection_id":132934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f622c"} 
[2026-07-15 01:21:08] local.INFO: Extracted packet for processing {"connection_id":132934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f622c"} 
[2026-07-15 01:21:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718910208001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784058544000,"timestamp_ms":1784058544000,"timestamp_seconds":1784058544,"priority":1,"record_length":96,"hex_timestamp":"0000019f622cff80"} 
[2026-07-15 01:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 01:21:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718910208001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718910208001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:21:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:21:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718910208001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":132934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:21:08] local.INFO: GPS data processed {"connection_id":132934,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:21:08] local.INFO: Acknowledgment sent {"connection_id":132934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:21:40] local.INFO: TCP Data received {"connection_id":132934,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f622cff80012d7f92c005afd8300000005028..."} 
[2026-07-15 01:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f622cff80012d7f92c005afd8300000005028..."} 
[2026-07-15 01:21:40] local.INFO: Processing buffer {"connection_id":132934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f622cff80012d7f92c005afd8300000005028..."} 
[2026-07-15 01:21:40] local.INFO: Packet analysis {"connection_id":132934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f622c"} 
[2026-07-15 01:21:40] local.INFO: Extracted packet for processing {"connection_id":132934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f622c"} 
[2026-07-15 01:21:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718910208001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784058544000,"timestamp_ms":1784058544000,"timestamp_seconds":1784058544,"priority":1,"record_length":96,"hex_timestamp":"0000019f622cff80"} 
[2026-07-15 01:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 01:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:21:40] 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-07-15 01:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718910208001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718910208001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:21:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:21:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718910208001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":132934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:21:40] local.INFO: GPS data processed {"connection_id":132934,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:21:40] local.INFO: Acknowledgment sent {"connection_id":132934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:21:52] local.INFO: TCP Data received {"connection_id":132935,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132935,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:21:52] local.INFO: Processing buffer {"connection_id":132935,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:21:52] local.INFO: IMEI packet received {"connection_id":132935,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":132935,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:21:53] local.INFO: TCP Data received {"connection_id":132935,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f622dc2d0012d6b15c00615e178000601542e..."} 
[2026-07-15 01:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f622dc2d0012d6b15c00615e178000601542e..."} 
[2026-07-15 01:21:53] local.INFO: Processing buffer {"connection_id":132935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f622dc2d0012d6b15c00615e178000601542e..."} 
[2026-07-15 01:21:53] local.INFO: Packet analysis {"connection_id":132935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f622d"} 
[2026-07-15 01:21:53] local.INFO: Extracted packet for processing {"connection_id":132935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f622d"} 
[2026-07-15 01:21:53] local.INFO: GPS Element Parsed {"raw_longitude":761992640,"raw_latitude":102097272,"longitude_deg":76.199264,"latitude_deg":10.2097272,"altitude":6,"angle":340,"satellites":46,"speed":55,"hex_longitude":"2d6b15c0","hex_latitude":"0615e178","is_valid_coordinates":true} 
[2026-07-15 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-07-15 01:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718998272001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135819514578206720,"note":"Value kept but may cause issues"} 
[2026-07-15 01:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7719732737400963072,"note":"Value kept but may cause issues"} 
[2026-07-15 01:21:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784058594000,"timestamp_ms":1784058594000,"timestamp_seconds":1784058594,"priority":1,"record_length":96,"hex_timestamp":"0000019f622dc2d0"} 
[2026-07-15 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-07-15 01:21:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-15 01:21:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 01:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":132935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":132935,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":132935,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:21:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718998272001,"66":27832,"134":206,"19":40704,"24":55,"16":135819514578206720,"45":7719732737400963072},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,19,24,16,45]} 
[2026-07-15 01:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718998272001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:21:53] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-07-15 01:21:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-15 01:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135819514578206720,"km_value":135819514578206.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":7719732737400963072,"description":"Unknown IO ID 45"} 
[2026-07-15 01:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718998272001,"power":27832,"unknown_134":206,"unknown_19":40704,"ignition":55,"odometer":null,"unknown_45":7719732737400963072}} 
[2026-07-15 01:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":132935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488853,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:21:53] local.INFO: GPS data processed {"connection_id":132935,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:21:53] local.INFO: Acknowledgment sent {"connection_id":132935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:22:02] local.INFO: TCP Data received {"connection_id":134300,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:22:02] local.INFO: Processing buffer {"connection_id":134300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:22:02] local.INFO: IMEI packet received {"connection_id":134300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":134300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:22:07] local.INFO: TCP Data received {"connection_id":134300,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:22:08] local.INFO: Processing buffer {"connection_id":134300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:22:08] local.INFO: IMEI packet received {"connection_id":134300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":134300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:22:08] local.INFO: TCP Data received {"connection_id":134300,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f622cff80012d7f92c005afd8300000005028..."} 
[2026-07-15 01:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f622cff80012d7f92c005afd8300000005028..."} 
[2026-07-15 01:22:08] local.INFO: Processing buffer {"connection_id":134300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f622cff80012d7f92c005afd8300000005028..."} 
[2026-07-15 01:22:08] local.INFO: Packet analysis {"connection_id":134300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f622c"} 
[2026-07-15 01:22:08] local.INFO: Extracted packet for processing {"connection_id":134300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f622c"} 
[2026-07-15 01:22:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718910208001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784058544000,"timestamp_ms":1784058544000,"timestamp_seconds":1784058544,"priority":1,"record_length":96,"hex_timestamp":"0000019f622cff80"} 
[2026-07-15 01:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 01:22:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718910208001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718910208001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:22:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:22:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718910208001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":134300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:22:08] local.INFO: GPS data processed {"connection_id":134300,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:22:08] local.INFO: Acknowledgment sent {"connection_id":134300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:22:42] local.INFO: TCP Data received {"connection_id":134300,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f622cff80012d7f92c005afd8300000005028..."} 
[2026-07-15 01:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f622cff80012d7f92c005afd8300000005028..."} 
[2026-07-15 01:22:42] local.INFO: Processing buffer {"connection_id":134300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f622cff80012d7f92c005afd8300000005028..."} 
[2026-07-15 01:22:42] local.INFO: Packet analysis {"connection_id":134300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f622c"} 
[2026-07-15 01:22:42] local.INFO: Extracted packet for processing {"connection_id":134300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f622c"} 
[2026-07-15 01:22:42] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718910208001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784058544000,"timestamp_ms":1784058544000,"timestamp_seconds":1784058544,"priority":1,"record_length":96,"hex_timestamp":"0000019f622cff80"} 
[2026-07-15 01:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 01:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":134300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":134300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":134300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718910208001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718910208001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:22:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:22:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718910208001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":134300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:22:42] local.INFO: GPS data processed {"connection_id":134300,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:22:42] local.INFO: Acknowledgment sent {"connection_id":134300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:23:06] local.INFO: TCP Data received {"connection_id":132937,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132937,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:23:06] local.INFO: Processing buffer {"connection_id":132937,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:23:06] local.INFO: IMEI packet received {"connection_id":132937,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":132937,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:23:08] local.INFO: TCP Data received {"connection_id":132936,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:23:08] local.INFO: Processing buffer {"connection_id":132936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:23:08] local.INFO: IMEI packet received {"connection_id":132936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":132936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:23:11] local.INFO: TCP Data received {"connection_id":132937,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132937,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:23:11] local.INFO: Processing buffer {"connection_id":132937,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:23:11] local.INFO: IMEI packet received {"connection_id":132937,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":132937,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:23:12] local.INFO: TCP Data received {"connection_id":132937,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f622f2e18012d6a90400617db90000600002c..."} 
[2026-07-15 01:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f622f2e18012d6a90400617db90000600002c..."} 
[2026-07-15 01:23:12] local.INFO: Processing buffer {"connection_id":132937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f622f2e18012d6a90400617db90000600002c..."} 
[2026-07-15 01:23:12] local.INFO: Packet analysis {"connection_id":132937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f622f"} 
[2026-07-15 01:23:12] local.INFO: Extracted packet for processing {"connection_id":132937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f622f"} 
[2026-07-15 01:23:12] local.INFO: GPS Element Parsed {"raw_longitude":761958464,"raw_latitude":102226832,"longitude_deg":76.1958464,"latitude_deg":10.2226832,"altitude":6,"angle":0,"satellites":44,"speed":59,"hex_longitude":"2d6a9040","hex_latitude":"0617db90","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719022336001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135826055813398528,"note":"Value kept but may cause issues"} 
[2026-07-15 01:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7678707759578621952,"note":"Value kept but may cause issues"} 
[2026-07-15 01:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784058687000,"timestamp_ms":1784058687000,"timestamp_seconds":1784058687,"priority":1,"record_length":96,"hex_timestamp":"0000019f622f2e18"} 
[2026-07-15 01:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01: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":109,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-15 01:23:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1076,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132937,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132937,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719022336001,"66":27789,"149":206,"19":40704,"24":59,"16":135826055813398528,"45":7678707759578621952},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,19,24,16,45]} 
[2026-07-15 01:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719022336001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:23:12] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-15 01:23:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-15 01:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135826055813398528,"km_value":135826055813398.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":7678707759578621952,"description":"Unknown IO ID 45"} 
[2026-07-15 01:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719022336001,"power":27789,"unknown_149":206,"unknown_19":40704,"ignition":59,"odometer":null,"unknown_45":7678707759578621952}} 
[2026-07-15 01:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":132937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488856,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:23:12] local.INFO: GPS data processed {"connection_id":132937,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:23:12] local.INFO: Acknowledgment sent {"connection_id":132937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:23:13] local.INFO: TCP Data received {"connection_id":132936,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:23:13] local.INFO: Processing buffer {"connection_id":132936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:23:13] local.INFO: IMEI packet received {"connection_id":132936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":132936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:23:13] local.INFO: TCP Data received {"connection_id":132936,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f622cff80012d7f92c005afd8300000005028..."} 
[2026-07-15 01:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f622cff80012d7f92c005afd8300000005028..."} 
[2026-07-15 01:23:13] local.INFO: Processing buffer {"connection_id":132936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f622cff80012d7f92c005afd8300000005028..."} 
[2026-07-15 01:23:13] local.INFO: Packet analysis {"connection_id":132936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f622c"} 
[2026-07-15 01:23:13] local.INFO: Extracted packet for processing {"connection_id":132936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f622c"} 
[2026-07-15 01:23:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718910208001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784058544000,"timestamp_ms":1784058544000,"timestamp_seconds":1784058544,"priority":1,"record_length":96,"hex_timestamp":"0000019f622cff80"} 
[2026-07-15 01:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 01:23:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:23:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718910208001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718910208001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:23:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:23:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718910208001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":132936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:23:13] local.INFO: GPS data processed {"connection_id":132936,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:23:13] local.INFO: Acknowledgment sent {"connection_id":132936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:23:18] local.INFO: TCP Data received {"connection_id":132936,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f622cff80012d7f92c005afd8300000005028..."} 
[2026-07-15 01:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f622cff80012d7f92c005afd8300000005028..."} 
[2026-07-15 01:23:18] local.INFO: Processing buffer {"connection_id":132936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f622cff80012d7f92c005afd8300000005028..."} 
[2026-07-15 01:23:18] local.INFO: Packet analysis {"connection_id":132936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f622c"} 
[2026-07-15 01:23:18] local.INFO: Extracted packet for processing {"connection_id":132936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f622c"} 
[2026-07-15 01:23:18] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718910208001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:23:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784058544000,"timestamp_ms":1784058544000,"timestamp_seconds":1784058544,"priority":1,"record_length":96,"hex_timestamp":"0000019f622cff80"} 
[2026-07-15 01:23:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:23:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 01:23:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:23:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":132936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":132936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":132936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:23:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718910208001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718910208001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:23:18] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:23:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:23:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718910208001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":132936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:23:18] local.INFO: GPS data processed {"connection_id":132936,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:23:18] local.INFO: Acknowledgment sent {"connection_id":132936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:23:41] local.INFO: TCP Data received {"connection_id":131925,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131925,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:23:41] local.INFO: Processing buffer {"connection_id":131925,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:23:41] local.INFO: IMEI packet received {"connection_id":131925,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":131925,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:23:47] local.INFO: TCP Data received {"connection_id":131925,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131925,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:23:47] local.INFO: Processing buffer {"connection_id":131925,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:23:47] local.INFO: IMEI packet received {"connection_id":131925,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":131925,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:23:53] local.INFO: TCP Data received {"connection_id":131925,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f622f4588012d6a90c00617fea8000400002b..."} 
[2026-07-15 01:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f622f4588012d6a90c00617fea8000400002b..."} 
[2026-07-15 01:23:53] local.INFO: Processing buffer {"connection_id":131925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f622f4588012d6a90c00617fea8000400002b..."} 
[2026-07-15 01:23:53] local.INFO: Packet analysis {"connection_id":131925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f622f"} 
[2026-07-15 01:23:53] local.INFO: Extracted packet for processing {"connection_id":131925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f622f"} 
[2026-07-15 01:23:53] local.INFO: GPS Element Parsed {"raw_longitude":761958592,"raw_latitude":102235816,"longitude_deg":76.1958592,"latitude_deg":10.2235816,"altitude":4,"angle":0,"satellites":43,"speed":59,"hex_longitude":"2d6a90c0","hex_latitude":"0617fea8","is_valid_coordinates":true} 
[2026-07-15 01:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719023872001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135826489605095424,"note":"Value kept but may cause issues"} 
[2026-07-15 01:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7678707759580942336,"note":"Value kept but may cause issues"} 
[2026-07-15 01:23:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784058693000,"timestamp_ms":1784058693000,"timestamp_seconds":1784058693,"priority":1,"record_length":96,"hex_timestamp":"0000019f622f4588"} 
[2026-07-15 01:23:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:23:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-15 01:23:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 01:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":131925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":131925,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":131925,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:23:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719023872001,"66":27930,"149":206,"19":40704,"24":59,"16":135826489605095424,"45":7678707759580942336},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,19,24,16,45]} 
[2026-07-15 01:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719023872001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:23:53] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-15 01:23:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-15 01:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135826489605095424,"km_value":135826489605095.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:23:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":7678707759580942336,"description":"Unknown IO ID 45"} 
[2026-07-15 01:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719023872001,"power":27930,"unknown_149":206,"unknown_19":40704,"ignition":59,"odometer":null,"unknown_45":7678707759580942336}} 
[2026-07-15 01:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":131925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488859,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:23:53] local.INFO: GPS data processed {"connection_id":131925,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:23:53] local.INFO: Acknowledgment sent {"connection_id":131925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:23:54] local.INFO: TCP Data received {"connection_id":131925,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f622f5cf8012d6a90c006182168000401672b..."} 
[2026-07-15 01:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f622f5cf8012d6a90c006182168000401672b..."} 
[2026-07-15 01:23:54] local.INFO: Processing buffer {"connection_id":131925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f622f5cf8012d6a90c006182168000401672b..."} 
[2026-07-15 01:23:54] local.INFO: Packet analysis {"connection_id":131925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f622f"} 
[2026-07-15 01:23:54] local.INFO: Extracted packet for processing {"connection_id":131925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f622f"} 
[2026-07-15 01:23:54] local.INFO: GPS Element Parsed {"raw_longitude":761958592,"raw_latitude":102244712,"longitude_deg":76.1958592,"latitude_deg":10.2244712,"altitude":4,"angle":359,"satellites":43,"speed":58,"hex_longitude":"2d6a90c0","hex_latitude":"06182168","is_valid_coordinates":true} 
[2026-07-15 01:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719025408001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135826923396792320,"note":"Value kept but may cause issues"} 
[2026-07-15 01:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7678848497071597568,"note":"Value kept but may cause issues"} 
[2026-07-15 01:23:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784058699000,"timestamp_ms":1784058699000,"timestamp_seconds":1784058699,"priority":1,"record_length":96,"hex_timestamp":"0000019f622f5cf8"} 
[2026-07-15 01:23:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:23:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-15 01:23:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:23:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:23:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":131925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":131925,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":131925,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:23:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719025408001,"66":27908,"149":206,"19":40704,"24":58,"16":135826923396792320,"45":7678848497071597568},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,19,24,16,45]} 
[2026-07-15 01:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719025408001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:23:54] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-15 01:23:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-15 01:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135826923396792320,"km_value":135826923396792.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":7678848497071597568,"description":"Unknown IO ID 45"} 
[2026-07-15 01:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719025408001,"power":27908,"unknown_149":206,"unknown_19":40704,"ignition":58,"odometer":null,"unknown_45":7678848497071597568}} 
[2026-07-15 01:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":131925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488860,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:23:54] local.INFO: GPS data processed {"connection_id":131925,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:23:54] local.INFO: Acknowledgment sent {"connection_id":131925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:24:02] local.INFO: TCP Data received {"connection_id":132093,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:24:02] local.INFO: Processing buffer {"connection_id":132093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:24:02] local.INFO: IMEI packet received {"connection_id":132093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":132093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:24:07] local.INFO: TCP Data received {"connection_id":132093,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:24:07] local.INFO: Processing buffer {"connection_id":132093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:24:07] local.INFO: IMEI packet received {"connection_id":132093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":132093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:24:08] local.INFO: TCP Data received {"connection_id":132093,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f622cff80012d7f92c005afd8300000005028..."} 
[2026-07-15 01:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f622cff80012d7f92c005afd8300000005028..."} 
[2026-07-15 01:24:08] local.INFO: Processing buffer {"connection_id":132093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f622cff80012d7f92c005afd8300000005028..."} 
[2026-07-15 01:24:08] local.INFO: Packet analysis {"connection_id":132093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f622c"} 
[2026-07-15 01:24:08] local.INFO: Extracted packet for processing {"connection_id":132093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f622c"} 
[2026-07-15 01:24:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718910208001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784058544000,"timestamp_ms":1784058544000,"timestamp_seconds":1784058544,"priority":1,"record_length":96,"hex_timestamp":"0000019f622cff80"} 
[2026-07-15 01:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 01:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718910208001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718910208001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:24:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:24:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718910208001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":132093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:24:08] local.INFO: GPS data processed {"connection_id":132093,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:24:08] local.INFO: Acknowledgment sent {"connection_id":132093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:24:15] local.INFO: TCP Data received {"connection_id":132093,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f622cff80012d7f92c005afd8300000005028..."} 
[2026-07-15 01:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f622cff80012d7f92c005afd8300000005028..."} 
[2026-07-15 01:24:15] local.INFO: Processing buffer {"connection_id":132093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f622cff80012d7f92c005afd8300000005028..."} 
[2026-07-15 01:24:15] local.INFO: Packet analysis {"connection_id":132093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f622c"} 
[2026-07-15 01:24:15] local.INFO: Extracted packet for processing {"connection_id":132093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f622c"} 
[2026-07-15 01:24:15] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718910208001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:24:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:24:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784058544000,"timestamp_ms":1784058544000,"timestamp_seconds":1784058544,"priority":1,"record_length":96,"hex_timestamp":"0000019f622cff80"} 
[2026-07-15 01:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:24:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 01:24:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:24:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":132093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":132093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":132093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:24: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-07-15 01:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718910208001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718910208001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:24:15] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:24:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:24:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718910208001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":132093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:24:15] local.INFO: GPS data processed {"connection_id":132093,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:24:15] local.INFO: Acknowledgment sent {"connection_id":132093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:24:36] local.INFO: TCP Data received {"connection_id":134301,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134301,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:24:36] local.INFO: Processing buffer {"connection_id":134301,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:24:36] local.INFO: IMEI packet received {"connection_id":134301,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":134301,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:24:36] local.INFO: TCP Data received {"connection_id":134301,"ip":"117.224.100.59","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-15 01:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134301,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-15 01:24:36] local.INFO: Processing buffer {"connection_id":134301,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-15 01:24:36] local.INFO: IMEI packet received {"connection_id":134301,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":134301,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:24:41] local.INFO: TCP Data received {"connection_id":134301,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134301,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:24:41] local.INFO: Processing buffer {"connection_id":134301,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-15 01:24:41] local.INFO: IMEI packet received {"connection_id":134301,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":134301,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:24:42] local.INFO: TCP Data received {"connection_id":134301,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6230e398012d6a51c00619a008000d01552a..."} 
[2026-07-15 01:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6230e398012d6a51c00619a008000d01552a..."} 
[2026-07-15 01:24:42] local.INFO: Processing buffer {"connection_id":134301,"buffer_length":812,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a0000019f62..."} 
[2026-07-15 01:24:42] local.INFO: IMEI packet received {"connection_id":134301,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":134301,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:24:46] local.INFO: TCP Data received {"connection_id":134301,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62310aa8012d6a46400619c1f8000a015424..."} 
[2026-07-15 01:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62310aa8012d6a46400619c1f8000a015424..."} 
[2026-07-15 01:24:46] local.INFO: Processing buffer {"connection_id":134301,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f6230e398012d6a51c00619a008000d01552a..."} 
[2026-07-15 01:24:46] local.INFO: Packet analysis {"connection_id":134301,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f6230"} 
[2026-07-15 01:24:46] local.INFO: Extracted packet for processing {"connection_id":134301,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6230"} 
[2026-07-15 01:24:46] local.INFO: GPS Element Parsed {"raw_longitude":761942464,"raw_latitude":102342664,"longitude_deg":76.1942464,"latitude_deg":10.2342664,"altitude":13,"angle":341,"satellites":42,"speed":34,"hex_longitude":"2d6a51c0","hex_latitude":"0619a008","is_valid_coordinates":true} 
[2026-07-15 01:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719049728001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135831768119902208,"note":"Value kept but may cause issues"} 
[2026-07-15 01:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7664985854493667328,"note":"Value kept but may cause issues"} 
[2026-07-15 01:24:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784058799000,"timestamp_ms":1784058799000,"timestamp_seconds":1784058799,"priority":1,"record_length":96,"hex_timestamp":"0000019f6230e398"} 
[2026-07-15 01:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:24:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 01:24:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:24:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":134301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":134301,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":134301,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719049728001,"66":27626,"7":206,"19":40704,"24":34,"16":135831768119902208,"45":7664985854493667328},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,19,24,16,45]} 
[2026-07-15 01:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719049728001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:24:46] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-15 01:24:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-15 01:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135831768119902208,"km_value":135831768119902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":7664985854493667328,"description":"Unknown IO ID 45"} 
[2026-07-15 01:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719049728001,"power":27626,"unknown_7":206,"unknown_19":40704,"ignition":34,"odometer":null,"unknown_45":7664985854493667328}} 
[2026-07-15 01:24:46] local.INFO: TCP Data received {"connection_id":132093,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f62319748012d7f92c005afd8300000005028..."} 
[2026-07-15 01:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62319748012d7f92c005afd8300000005028..."} 
[2026-07-15 01:24:46] local.INFO: Processing buffer {"connection_id":132093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62319748012d7f92c005afd8300000005028..."} 
[2026-07-15 01:24:46] local.INFO: Packet analysis {"connection_id":132093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6231"} 
[2026-07-15 01:24:46] local.INFO: Extracted packet for processing {"connection_id":132093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6231"} 
[2026-07-15 01:24:46] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718987264001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:24:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784058845000,"timestamp_ms":1784058845000,"timestamp_seconds":1784058845,"priority":1,"record_length":96,"hex_timestamp":"0000019f62319748"} 
[2026-07-15 01:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:24:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:24:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:24:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:24: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-07-15 01:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718987264001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718987264001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:24:46] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:24:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718987264001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":132093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:24:46] local.INFO: GPS data processed {"connection_id":132093,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:24:46] local.INFO: Acknowledgment sent {"connection_id":132093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":134301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488864,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:24:46] local.INFO: GPS data processed {"connection_id":134301,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:24:46] local.INFO: Acknowledgment sent {"connection_id":134301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:24:46] local.INFO: Packet analysis {"connection_id":134301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6231"} 
[2026-07-15 01:24:46] local.INFO: Extracted packet for processing {"connection_id":134301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6231"} 
[2026-07-15 01:24:46] local.INFO: GPS Element Parsed {"raw_longitude":761939520,"raw_latitude":102351352,"longitude_deg":76.193952,"latitude_deg":10.2351352,"altitude":10,"angle":340,"satellites":36,"speed":40,"hex_longitude":"2d6a4640","hex_latitude":"0619c1f8","is_valid_coordinates":true} 
[2026-07-15 01:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719052544001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135832214796500992,"note":"Value kept but may cause issues"} 
[2026-07-15 01:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7661115573566179328,"note":"Value kept but may cause issues"} 
[2026-07-15 01:24:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784058809000,"timestamp_ms":1784058809000,"timestamp_seconds":1784058809,"priority":1,"record_length":96,"hex_timestamp":"0000019f62310aa8"} 
[2026-07-15 01:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:24:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-15 01:24:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:24:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":134301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":134301,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":134301,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719052544001,"66":27767,"7":206,"19":40704,"24":40,"16":135832214796500992,"45":7661115573566179328},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,19,24,16,45]} 
[2026-07-15 01:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719052544001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:24:46] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-15 01:24:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-15 01:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135832214796500992,"km_value":135832214796500.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":7661115573566179328,"description":"Unknown IO ID 45"} 
[2026-07-15 01:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719052544001,"power":27767,"unknown_7":206,"unknown_19":40704,"ignition":40,"odometer":null,"unknown_45":7661115573566179328}} 
[2026-07-15 01:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":134301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488865,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:24:46] local.INFO: GPS data processed {"connection_id":134301,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:24:46] local.INFO: Acknowledgment sent {"connection_id":134301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:25:02] local.INFO: TCP Data received {"connection_id":132094,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:25:02] local.INFO: Processing buffer {"connection_id":132094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:25:02] local.INFO: IMEI packet received {"connection_id":132094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":132094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:25:07] local.INFO: TCP Data received {"connection_id":132094,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:25:07] local.INFO: Processing buffer {"connection_id":132094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:25:07] local.INFO: IMEI packet received {"connection_id":132094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":132094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:25:08] local.INFO: TCP Data received {"connection_id":132094,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f62319748012d7f92c005afd8300000005028..."} 
[2026-07-15 01:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62319748012d7f92c005afd8300000005028..."} 
[2026-07-15 01:25:08] local.INFO: Processing buffer {"connection_id":132094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62319748012d7f92c005afd8300000005028..."} 
[2026-07-15 01:25:08] local.INFO: Packet analysis {"connection_id":132094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6231"} 
[2026-07-15 01:25:08] local.INFO: Extracted packet for processing {"connection_id":132094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6231"} 
[2026-07-15 01:25:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718987264001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784058845000,"timestamp_ms":1784058845000,"timestamp_seconds":1784058845,"priority":1,"record_length":96,"hex_timestamp":"0000019f62319748"} 
[2026-07-15 01:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718987264001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718987264001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:25:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:25:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718987264001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":132094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:25:08] local.INFO: GPS data processed {"connection_id":132094,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:25:08] local.INFO: Acknowledgment sent {"connection_id":132094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:25:19] local.INFO: TCP Data received {"connection_id":134301,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62312dd0012d6a39c00619e5780007015523..."} 
[2026-07-15 01:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62312dd0012d6a39c00619e5780007015523..."} 
[2026-07-15 01:25:19] local.INFO: Processing buffer {"connection_id":134301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62312dd0012d6a39c00619e5780007015523..."} 
[2026-07-15 01:25:19] local.INFO: Packet analysis {"connection_id":134301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6231"} 
[2026-07-15 01:25:19] local.INFO: Extracted packet for processing {"connection_id":134301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6231"} 
[2026-07-15 01:25:19] local.INFO: GPS Element Parsed {"raw_longitude":761936320,"raw_latitude":102360440,"longitude_deg":76.193632,"latitude_deg":10.236044,"altitude":7,"angle":341,"satellites":35,"speed":43,"hex_longitude":"2d6a39c0","hex_latitude":"0619e578","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719055104001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135832678652968960,"note":"Value kept but may cause issues"} 
[2026-07-15 01:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7657878611336230912,"note":"Value kept but may cause issues"} 
[2026-07-15 01:25:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784058818000,"timestamp_ms":1784058818000,"timestamp_seconds":1784058818,"priority":1,"record_length":96,"hex_timestamp":"0000019f62312dd0"} 
[2026-07-15 01:25:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:25:19] 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-07-15 01: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 01:25:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:25:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":134301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":134301,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":134301,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:25:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719055104001,"66":27952,"7":206,"19":40704,"24":43,"16":135832678652968960,"45":7657878611336230912},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,19,24,16,45]} 
[2026-07-15 01:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719055104001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:25:19] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-15 01:25:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-15 01:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135832678652968960,"km_value":135832678652968.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":7657878611336230912,"description":"Unknown IO ID 45"} 
[2026-07-15 01:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719055104001,"power":27952,"unknown_7":206,"unknown_19":40704,"ignition":43,"odometer":null,"unknown_45":7657878611336230912}} 
[2026-07-15 01:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":134301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488867,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:25:19] local.INFO: GPS data processed {"connection_id":134301,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:25:19] local.INFO: Acknowledgment sent {"connection_id":134301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:25:36] local.INFO: TCP Data received {"connection_id":132095,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132095,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:25:36] local.INFO: Processing buffer {"connection_id":132095,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:25:36] local.INFO: IMEI packet received {"connection_id":132095,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":132095,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:25:40] local.INFO: TCP Data received {"connection_id":132094,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f62319748012d7f92c005afd8300000005028..."} 
[2026-07-15 01:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62319748012d7f92c005afd8300000005028..."} 
[2026-07-15 01:25:40] local.INFO: Processing buffer {"connection_id":132094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62319748012d7f92c005afd8300000005028..."} 
[2026-07-15 01:25:40] local.INFO: Packet analysis {"connection_id":132094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6231"} 
[2026-07-15 01:25:40] local.INFO: Extracted packet for processing {"connection_id":132094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6231"} 
[2026-07-15 01:25:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:25:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718987264001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:25:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:25:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:25:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:25:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784058845000,"timestamp_ms":1784058845000,"timestamp_seconds":1784058845,"priority":1,"record_length":96,"hex_timestamp":"0000019f62319748"} 
[2026-07-15 01:25:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:25:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:25:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:25:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:25:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:25:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:25:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:25:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:25:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:25:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:25:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:25:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:25:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718987264001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:25:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:25:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:25:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718987264001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:25:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:25:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:25:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:25:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:25:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718987264001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":132094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:25:40] local.INFO: GPS data processed {"connection_id":132094,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:25:40] local.INFO: Acknowledgment sent {"connection_id":132094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:25:41] local.INFO: TCP Data received {"connection_id":132095,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132095,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:25:41] local.INFO: Processing buffer {"connection_id":132095,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:25:41] local.INFO: IMEI packet received {"connection_id":132095,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":132095,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:25:42] local.INFO: TCP Data received {"connection_id":132095,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f623150f8012d6a3080061a07400007015e25..."} 
[2026-07-15 01:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f623150f8012d6a3080061a07400007015e25..."} 
[2026-07-15 01:25:42] local.INFO: Processing buffer {"connection_id":132095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f623150f8012d6a3080061a07400007015e25..."} 
[2026-07-15 01:25:42] local.INFO: Packet analysis {"connection_id":132095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6231"} 
[2026-07-15 01:25:42] local.INFO: Extracted packet for processing {"connection_id":132095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6231"} 
[2026-07-15 01:25:42] local.INFO: GPS Element Parsed {"raw_longitude":761933952,"raw_latitude":102369088,"longitude_deg":76.1933952,"latitude_deg":10.2369088,"altitude":7,"angle":350,"satellites":37,"speed":36,"hex_longitude":"2d6a3080","hex_latitude":"061a0740","is_valid_coordinates":true} 
[2026-07-15 01:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719057408001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135833112444665856,"note":"Value kept but may cause issues"} 
[2026-07-15 01:25:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7654360174129674240,"note":"Value kept but may cause issues"} 
[2026-07-15 01:25:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784058827000,"timestamp_ms":1784058827000,"timestamp_seconds":1784058827,"priority":1,"record_length":96,"hex_timestamp":"0000019f623150f8"} 
[2026-07-15 01:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-15 01:25:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132095,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132095,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719057408001,"66":27604,"53":206,"19":40704,"24":36,"16":135833112444665856,"45":7654360174129674240},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,19,24,16,45]} 
[2026-07-15 01:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719057408001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:25:42] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-15 01:25:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-15 01:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135833112444665856,"km_value":135833112444665.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:25:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":7654360174129674240,"description":"Unknown IO ID 45"} 
[2026-07-15 01:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719057408001,"power":27604,"unknown_53":206,"unknown_19":40704,"ignition":36,"odometer":null,"unknown_45":7654360174129674240}} 
[2026-07-15 01:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":132095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488869,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:25:42] local.INFO: GPS data processed {"connection_id":132095,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:25:42] local.INFO: Acknowledgment sent {"connection_id":132095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:26:02] local.INFO: TCP Data received {"connection_id":134302,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:26:02] local.INFO: Processing buffer {"connection_id":134302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:26:02] local.INFO: IMEI packet received {"connection_id":134302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":134302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:26:07] local.INFO: TCP Data received {"connection_id":134302,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:26:07] local.INFO: Processing buffer {"connection_id":134302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:26:07] local.INFO: IMEI packet received {"connection_id":134302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":134302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:26:08] local.INFO: TCP Data received {"connection_id":134302,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f62319748012d7f92c005afd8300000005028..."} 
[2026-07-15 01:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62319748012d7f92c005afd8300000005028..."} 
[2026-07-15 01:26:08] local.INFO: Processing buffer {"connection_id":134302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62319748012d7f92c005afd8300000005028..."} 
[2026-07-15 01:26:08] local.INFO: Packet analysis {"connection_id":134302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6231"} 
[2026-07-15 01:26:08] local.INFO: Extracted packet for processing {"connection_id":134302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6231"} 
[2026-07-15 01:26:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718987264001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784058845000,"timestamp_ms":1784058845000,"timestamp_seconds":1784058845,"priority":1,"record_length":96,"hex_timestamp":"0000019f62319748"} 
[2026-07-15 01:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:26:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:26:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718987264001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718987264001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:26:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:26:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718987264001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":134302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:26:08] local.INFO: GPS data processed {"connection_id":134302,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:26:08] local.INFO: Acknowledgment sent {"connection_id":134302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:26:13] local.INFO: TCP Data received {"connection_id":132095,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62317bf0012d6a2700061a2ad8000501532a..."} 
[2026-07-15 01:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62317bf0012d6a2700061a2ad8000501532a..."} 
[2026-07-15 01:26:13] local.INFO: Processing buffer {"connection_id":132095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62317bf0012d6a2700061a2ad8000501532a..."} 
[2026-07-15 01:26:13] local.INFO: Packet analysis {"connection_id":132095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6231"} 
[2026-07-15 01:26:13] local.INFO: Extracted packet for processing {"connection_id":132095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6231"} 
[2026-07-15 01:26:13] local.INFO: GPS Element Parsed {"raw_longitude":761931520,"raw_latitude":102378200,"longitude_deg":76.193152,"latitude_deg":10.23782,"altitude":5,"angle":339,"satellites":42,"speed":35,"hex_longitude":"2d6a2700","hex_latitude":"061a2ad8","is_valid_coordinates":true} 
[2026-07-15 01:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:26:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719059712001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:26:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135833572006166528,"note":"Value kept but may cause issues"} 
[2026-07-15 01:26:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7651756530597314560,"note":"Value kept but may cause issues"} 
[2026-07-15 01:26:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:26:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784058838000,"timestamp_ms":1784058838000,"timestamp_seconds":1784058838,"priority":1,"record_length":96,"hex_timestamp":"0000019f62317bf0"} 
[2026-07-15 01:26:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:26:13] 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-07-15 01:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-15 01:26:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:26:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:26:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:26:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132095,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132095,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:26:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:26:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:26:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:26:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719059712001,"66":27995,"53":206,"19":40704,"24":35,"16":135833572006166528,"45":7651756530597314560},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,19,24,16,45]} 
[2026-07-15 01:26:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:26:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:26:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719059712001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:26:13] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-15 01:26:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-15 01:26:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135833572006166528,"km_value":135833572006166.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:26:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":7651756530597314560,"description":"Unknown IO ID 45"} 
[2026-07-15 01:26:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719059712001,"power":27995,"unknown_53":206,"unknown_19":40704,"ignition":35,"odometer":null,"unknown_45":7651756530597314560}} 
[2026-07-15 01:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":132095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488871,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:26:13] local.INFO: GPS data processed {"connection_id":132095,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:26:13] local.INFO: Acknowledgment sent {"connection_id":132095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:26:37] local.INFO: TCP Data received {"connection_id":132938,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132938,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:26:37] local.INFO: Processing buffer {"connection_id":132938,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:26:37] local.INFO: IMEI packet received {"connection_id":132938,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":132938,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:26:41] local.INFO: TCP Data received {"connection_id":132938,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132938,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:26:41] local.INFO: Processing buffer {"connection_id":132938,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:26:41] local.INFO: IMEI packet received {"connection_id":132938,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":132938,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:26:42] local.INFO: TCP Data received {"connection_id":134302,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f62319748012d7f92c005afd8300000005028..."} 
[2026-07-15 01:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62319748012d7f92c005afd8300000005028..."} 
[2026-07-15 01:26:42] local.INFO: Processing buffer {"connection_id":134302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62319748012d7f92c005afd8300000005028..."} 
[2026-07-15 01:26:42] local.INFO: Packet analysis {"connection_id":134302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6231"} 
[2026-07-15 01:26:42] local.INFO: Extracted packet for processing {"connection_id":134302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6231"} 
[2026-07-15 01:26:42] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:26: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-07-15 01:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718987264001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784058845000,"timestamp_ms":1784058845000,"timestamp_seconds":1784058845,"priority":1,"record_length":96,"hex_timestamp":"0000019f62319748"} 
[2026-07-15 01:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:26: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-07-15 01:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":134302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":134302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":134302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718987264001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718987264001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:26:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:26:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718987264001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":134302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:26:42] local.INFO: GPS data processed {"connection_id":134302,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:26:42] local.INFO: Acknowledgment sent {"connection_id":134302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:26:43] local.INFO: TCP Data received {"connection_id":132938,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132938,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:26:43] local.INFO: Processing buffer {"connection_id":132938,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:26:43] local.INFO: IMEI packet received {"connection_id":132938,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":132938,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:26:44] local.INFO: TCP Data received {"connection_id":132938,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62330290012d698d00061b75f00006014f29..."} 
[2026-07-15 01:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62330290012d698d00061b75f00006014f29..."} 
[2026-07-15 01:26:44] local.INFO: Processing buffer {"connection_id":132938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62330290012d698d00061b75f00006014f29..."} 
[2026-07-15 01:26:44] local.INFO: Packet analysis {"connection_id":132938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6233"} 
[2026-07-15 01:26:44] local.INFO: Extracted packet for processing {"connection_id":132938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6233"} 
[2026-07-15 01:26:44] local.INFO: GPS Element Parsed {"raw_longitude":761892096,"raw_latitude":102462960,"longitude_deg":76.1892096,"latitude_deg":10.246296,"altitude":6,"angle":335,"satellites":41,"speed":39,"hex_longitude":"2d698d00","hex_latitude":"061b75f0","is_valid_coordinates":true} 
[2026-07-15 01:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719085568001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135838103196663808,"note":"Value kept but may cause issues"} 
[2026-07-15 01:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7609957496577542144,"note":"Value kept but may cause issues"} 
[2026-07-15 01:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784058938000,"timestamp_ms":1784058938000,"timestamp_seconds":1784058938,"priority":1,"record_length":96,"hex_timestamp":"0000019f62330290"} 
[2026-07-15 01:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-15 01:26:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":132938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":132938,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":132938,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719085568001,"66":27800,"54":206,"19":40704,"24":39,"16":135838103196663808,"45":7609957496577542144},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,19,24,16,45]} 
[2026-07-15 01:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719085568001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:26:44] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-07-15 01:26:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-15 01:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135838103196663808,"km_value":135838103196663.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":7609957496577542144,"description":"Unknown IO ID 45"} 
[2026-07-15 01:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719085568001,"power":27800,"unknown_54":206,"unknown_19":40704,"ignition":39,"odometer":null,"unknown_45":7609957496577542144}} 
[2026-07-15 01:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":132938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488873,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:26:44] local.INFO: GPS data processed {"connection_id":132938,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:26:44] local.INFO: Acknowledgment sent {"connection_id":132938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:26:44] local.INFO: TCP Data received {"connection_id":132938,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f623329a0012d697e00061b98e0000601502c..."} 
[2026-07-15 01:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f623329a0012d697e00061b98e0000601502c..."} 
[2026-07-15 01:26:44] local.INFO: Processing buffer {"connection_id":132938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f623329a0012d697e00061b98e0000601502c..."} 
[2026-07-15 01:26:44] local.INFO: Packet analysis {"connection_id":132938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6233"} 
[2026-07-15 01:26:44] local.INFO: Extracted packet for processing {"connection_id":132938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6233"} 
[2026-07-15 01:26:44] local.INFO: GPS Element Parsed {"raw_longitude":761888256,"raw_latitude":102471904,"longitude_deg":76.1888256,"latitude_deg":10.2471904,"altitude":6,"angle":336,"satellites":44,"speed":37,"hex_longitude":"2d697e00","hex_latitude":"061b98e0","is_valid_coordinates":true} 
[2026-07-15 01:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719088128001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135838575643066368,"note":"Value kept but may cause issues"} 
[2026-07-15 01:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7605735371929153536,"note":"Value kept but may cause issues"} 
[2026-07-15 01:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784058948000,"timestamp_ms":1784058948000,"timestamp_seconds":1784058948,"priority":1,"record_length":96,"hex_timestamp":"0000019f623329a0"} 
[2026-07-15 01:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 01:26:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":132938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":132938,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":132938,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719088128001,"66":28006,"54":206,"19":40704,"24":37,"16":135838575643066368,"45":7605735371929153536},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,19,24,16,45]} 
[2026-07-15 01:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719088128001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:26:44] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-07-15 01:26:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-15 01:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135838575643066368,"km_value":135838575643066.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":7605735371929153536,"description":"Unknown IO ID 45"} 
[2026-07-15 01:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719088128001,"power":28006,"unknown_54":206,"unknown_19":40704,"ignition":37,"odometer":null,"unknown_45":7605735371929153536}} 
[2026-07-15 01:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":132938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488874,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:26:45] local.INFO: GPS data processed {"connection_id":132938,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:26:45] local.INFO: Acknowledgment sent {"connection_id":132938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:27:02] local.INFO: TCP Data received {"connection_id":134303,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:27:02] local.INFO: Processing buffer {"connection_id":134303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:27:02] local.INFO: IMEI packet received {"connection_id":134303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":134303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:27:08] local.INFO: TCP Data received {"connection_id":134303,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:27:08] local.INFO: Processing buffer {"connection_id":134303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:27:08] local.INFO: IMEI packet received {"connection_id":134303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":134303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:27:09] local.INFO: TCP Data received {"connection_id":134303,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f62319748012d7f92c005afd8300000005028..."} 
[2026-07-15 01:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62319748012d7f92c005afd8300000005028..."} 
[2026-07-15 01:27:09] local.INFO: Processing buffer {"connection_id":134303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62319748012d7f92c005afd8300000005028..."} 
[2026-07-15 01:27:09] local.INFO: Packet analysis {"connection_id":134303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6231"} 
[2026-07-15 01:27:09] local.INFO: Extracted packet for processing {"connection_id":134303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6231"} 
[2026-07-15 01:27:09] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718987264001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784058845000,"timestamp_ms":1784058845000,"timestamp_seconds":1784058845,"priority":1,"record_length":96,"hex_timestamp":"0000019f62319748"} 
[2026-07-15 01:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:27:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":134303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":134303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":134303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718987264001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718987264001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:27:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:27:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718987264001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":134303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:27:09] local.INFO: GPS data processed {"connection_id":134303,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:27:09] local.INFO: Acknowledgment sent {"connection_id":134303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:27:16] local.INFO: TCP Data received {"connection_id":132938,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62335498012d696e80061bb9080006014c2f..."} 
[2026-07-15 01:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62335498012d696e80061bb9080006014c2f..."} 
[2026-07-15 01:27:16] local.INFO: Processing buffer {"connection_id":132938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62335498012d696e80061bb9080006014c2f..."} 
[2026-07-15 01:27:16] local.INFO: Packet analysis {"connection_id":132938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6233"} 
[2026-07-15 01:27:16] local.INFO: Extracted packet for processing {"connection_id":132938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6233"} 
[2026-07-15 01:27:16] local.INFO: GPS Element Parsed {"raw_longitude":761884288,"raw_latitude":102480136,"longitude_deg":76.1884288,"latitude_deg":10.2480136,"altitude":6,"angle":332,"satellites":47,"speed":19,"hex_longitude":"2d696e80","hex_latitude":"061bb908","is_valid_coordinates":true} 
[2026-07-15 01:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719090688001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135839018024697856,"note":"Value kept but may cause issues"} 
[2026-07-15 01:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7601513247280783360,"note":"Value kept but may cause issues"} 
[2026-07-15 01:27:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784058959000,"timestamp_ms":1784058959000,"timestamp_seconds":1784058959,"priority":1,"record_length":96,"hex_timestamp":"0000019f62335498"} 
[2026-07-15 01:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:27:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 01:27:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:27:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132938,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132938,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719090688001,"66":27843,"55":206,"19":40704,"24":19,"16":135839018024697856,"45":7601513247280783360},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,19,24,16,45]} 
[2026-07-15 01:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719090688001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:27:16] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-07-15 01:27:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-15 01:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135839018024697856,"km_value":135839018024697.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":7601513247280783360,"description":"Unknown IO ID 45"} 
[2026-07-15 01:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719090688001,"power":27843,"unknown_55":206,"unknown_19":40704,"ignition":19,"odometer":null,"unknown_45":7601513247280783360}} 
[2026-07-15 01:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":132938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488876,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:27:16] local.INFO: GPS data processed {"connection_id":132938,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:27:16] local.INFO: Acknowledgment sent {"connection_id":132938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:27:33] local.INFO: TCP Data received {"connection_id":132096,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132096,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:27:33] local.INFO: Processing buffer {"connection_id":132096,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:27:33] local.INFO: IMEI packet received {"connection_id":132096,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":132096,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:27:36] local.INFO: TCP Data received {"connection_id":132096,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132096,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:27:36] local.INFO: Processing buffer {"connection_id":132096,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:27:36] local.INFO: IMEI packet received {"connection_id":132096,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":132096,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:27:40] local.INFO: TCP Data received {"connection_id":134303,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f62319748012d7f92c005afd8300000005028..."} 
[2026-07-15 01:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62319748012d7f92c005afd8300000005028..."} 
[2026-07-15 01:27:40] local.INFO: Processing buffer {"connection_id":134303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62319748012d7f92c005afd8300000005028..."} 
[2026-07-15 01:27:40] local.INFO: Packet analysis {"connection_id":134303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6231"} 
[2026-07-15 01:27:40] local.INFO: Extracted packet for processing {"connection_id":134303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6231"} 
[2026-07-15 01:27:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718987264001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784058845000,"timestamp_ms":1784058845000,"timestamp_seconds":1784058845,"priority":1,"record_length":96,"hex_timestamp":"0000019f62319748"} 
[2026-07-15 01:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:27:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":134303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":134303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":134303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718987264001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718987264001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:27:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:27:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718987264001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":134303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:27:40] local.INFO: GPS data processed {"connection_id":134303,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:27:40] local.INFO: Acknowledgment sent {"connection_id":134303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:27:41] local.INFO: TCP Data received {"connection_id":132096,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132096,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:27:42] local.INFO: Processing buffer {"connection_id":132096,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:27:42] local.INFO: IMEI packet received {"connection_id":132096,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":132096,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:27:43] local.INFO: TCP Data received {"connection_id":132096,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62336c08012d696a00061bc238000701582f..."} 
[2026-07-15 01:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62336c08012d696a00061bc238000701582f..."} 
[2026-07-15 01:27:43] local.INFO: Processing buffer {"connection_id":132096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62336c08012d696a00061bc238000701582f..."} 
[2026-07-15 01:27:43] local.INFO: Packet analysis {"connection_id":132096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6233"} 
[2026-07-15 01:27:43] local.INFO: Extracted packet for processing {"connection_id":132096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6233"} 
[2026-07-15 01:27:43] local.INFO: GPS Element Parsed {"raw_longitude":761883136,"raw_latitude":102482488,"longitude_deg":76.1883136,"latitude_deg":10.2482488,"altitude":7,"angle":344,"satellites":47,"speed":16,"hex_longitude":"2d696a00","hex_latitude":"061bc238","is_valid_coordinates":true} 
[2026-07-15 01:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719093504001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135839142578749440,"note":"Value kept but may cause issues"} 
[2026-07-15 01:27:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7597150385143875584,"note":"Value kept but may cause issues"} 
[2026-07-15 01:27:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784058965000,"timestamp_ms":1784058965000,"timestamp_seconds":1784058965,"priority":1,"record_length":96,"hex_timestamp":"0000019f62336c08"} 
[2026-07-15 01:27:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:27:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-15 01:27:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:27:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:27:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":132096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":132096,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":132096,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:27:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719093504001,"66":27887,"55":206,"19":40704,"24":16,"16":135839142578749440,"45":7597150385143875584},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,19,24,16,45]} 
[2026-07-15 01:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719093504001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:27:43] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-07-15 01:27:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-15 01:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135839142578749440,"km_value":135839142578749.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:27:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":7597150385143875584,"description":"Unknown IO ID 45"} 
[2026-07-15 01:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719093504001,"power":27887,"unknown_55":206,"unknown_19":40704,"ignition":16,"odometer":null,"unknown_45":7597150385143875584}} 
[2026-07-15 01:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":132096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488878,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:27:43] local.INFO: GPS data processed {"connection_id":132096,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:27:43] local.INFO: Acknowledgment sent {"connection_id":132096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:28:07] local.INFO: TCP Data received {"connection_id":132939,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:28:07] local.INFO: Processing buffer {"connection_id":132939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:28:07] local.INFO: IMEI packet received {"connection_id":132939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":132939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:28:12] local.INFO: TCP Data received {"connection_id":132939,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:28:12] local.INFO: Processing buffer {"connection_id":132939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:28:12] local.INFO: IMEI packet received {"connection_id":132939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":132939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:28:13] local.INFO: TCP Data received {"connection_id":132939,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f62319748012d7f92c005afd8300000005028..."} 
[2026-07-15 01:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62319748012d7f92c005afd8300000005028..."} 
[2026-07-15 01:28:13] local.INFO: Processing buffer {"connection_id":132939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62319748012d7f92c005afd8300000005028..."} 
[2026-07-15 01:28:13] local.INFO: Packet analysis {"connection_id":132939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6231"} 
[2026-07-15 01:28:13] local.INFO: Extracted packet for processing {"connection_id":132939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6231"} 
[2026-07-15 01:28:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718987264001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784058845000,"timestamp_ms":1784058845000,"timestamp_seconds":1784058845,"priority":1,"record_length":96,"hex_timestamp":"0000019f62319748"} 
[2026-07-15 01:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:28:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:28:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:28:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718987264001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718987264001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:28:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:28:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718987264001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":132939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:28:13] local.INFO: GPS data processed {"connection_id":132939,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:28:13] local.INFO: Acknowledgment sent {"connection_id":132939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:28:15] local.INFO: TCP Data received {"connection_id":132096,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62336ff0012d6969c0061bc3e0000801632f..."} 
[2026-07-15 01:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62336ff0012d6969c0061bc3e0000801632f..."} 
[2026-07-15 01:28:15] local.INFO: Processing buffer {"connection_id":132096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62336ff0012d6969c0061bc3e0000801632f..."} 
[2026-07-15 01:28:15] local.INFO: Packet analysis {"connection_id":132096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6233"} 
[2026-07-15 01:28:15] local.INFO: Extracted packet for processing {"connection_id":132096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6233"} 
[2026-07-15 01:28:15] local.INFO: GPS Element Parsed {"raw_longitude":761883072,"raw_latitude":102482912,"longitude_deg":76.1883072,"latitude_deg":10.2482912,"altitude":8,"angle":355,"satellites":47,"speed":17,"hex_longitude":"2d6969c0","hex_latitude":"061bc3e0","is_valid_coordinates":true} 
[2026-07-15 01:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719095040001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135839164053585920,"note":"Value kept but may cause issues"} 
[2026-07-15 01:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7595883747749279744,"note":"Value kept but may cause issues"} 
[2026-07-15 01:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784058966000,"timestamp_ms":1784058966000,"timestamp_seconds":1784058966,"priority":1,"record_length":96,"hex_timestamp":"0000019f62336ff0"} 
[2026-07-15 01:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:28:15] 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-07-15 01:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-15 01:28:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":132096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":132096,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":132096,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719095040001,"66":27887,"55":206,"19":40704,"24":17,"16":135839164053585920,"45":7595883747749279744},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,19,24,16,45]} 
[2026-07-15 01:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719095040001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:28:15] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-07-15 01:28:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-15 01:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135839164053585920,"km_value":135839164053585.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":7595883747749279744,"description":"Unknown IO ID 45"} 
[2026-07-15 01:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719095040001,"power":27887,"unknown_55":206,"unknown_19":40704,"ignition":17,"odometer":null,"unknown_45":7595883747749279744}} 
[2026-07-15 01:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":132096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488880,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:28:15] local.INFO: GPS data processed {"connection_id":132096,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:28:15] local.INFO: Acknowledgment sent {"connection_id":132096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:28:18] local.INFO: TCP Data received {"connection_id":132939,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f62319748012d7f92c005afd8300000005028..."} 
[2026-07-15 01:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62319748012d7f92c005afd8300000005028..."} 
[2026-07-15 01:28:18] local.INFO: Processing buffer {"connection_id":132939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62319748012d7f92c005afd8300000005028..."} 
[2026-07-15 01:28:18] local.INFO: Packet analysis {"connection_id":132939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6231"} 
[2026-07-15 01:28:18] local.INFO: Extracted packet for processing {"connection_id":132939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6231"} 
[2026-07-15 01:28:18] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718987264001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:28:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784058845000,"timestamp_ms":1784058845000,"timestamp_seconds":1784058845,"priority":1,"record_length":96,"hex_timestamp":"0000019f62319748"} 
[2026-07-15 01:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:28:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:28:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":132939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":132939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":132939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:28: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-07-15 01:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718987264001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718987264001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:28:18] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:28:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718987264001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":132939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:28:18] local.INFO: GPS data processed {"connection_id":132939,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:28:18] local.INFO: Acknowledgment sent {"connection_id":132939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:28:41] local.INFO: TCP Data received {"connection_id":134304,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134304,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:28:41] local.INFO: Processing buffer {"connection_id":134304,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:28:41] local.INFO: IMEI packet received {"connection_id":134304,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":134304,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:28:43] local.INFO: TCP Data received {"connection_id":134304,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134304,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:28:43] local.INFO: Processing buffer {"connection_id":134304,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:28:43] local.INFO: IMEI packet received {"connection_id":134304,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":134304,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:28:44] local.INFO: TCP Data received {"connection_id":134304,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6234c3c8012d68d340061d1128000a015b30..."} 
[2026-07-15 01:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6234c3c8012d68d340061d1128000a015b30..."} 
[2026-07-15 01:28:44] local.INFO: Processing buffer {"connection_id":134304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6234c3c8012d68d340061d1128000a015b30..."} 
[2026-07-15 01:28:44] local.INFO: Packet analysis {"connection_id":134304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6234"} 
[2026-07-15 01:28:44] local.INFO: Extracted packet for processing {"connection_id":134304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6234"} 
[2026-07-15 01:28:44] local.INFO: GPS Element Parsed {"raw_longitude":761844544,"raw_latitude":102568232,"longitude_deg":76.1844544,"latitude_deg":10.2568232,"altitude":10,"angle":347,"satellites":48,"speed":40,"hex_longitude":"2d68d340","hex_latitude":"061d1128","is_valid_coordinates":true} 
[2026-07-15 01:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719115264001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135843721013886976,"note":"Value kept but may cause issues"} 
[2026-07-15 01:28:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7555984669820188672,"note":"Value kept but may cause issues"} 
[2026-07-15 01:28:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784059053000,"timestamp_ms":1784059053000,"timestamp_seconds":1784059053,"priority":1,"record_length":96,"hex_timestamp":"0000019f6234c3c8"} 
[2026-07-15 01:28:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:28:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-15 01:28:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:28:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:28:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":134304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":134304,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":134304,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:28:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719115264001,"66":27821,"210":206,"19":40704,"24":40,"16":135843721013886976,"45":7555984669820188672},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,19,24,16,45]} 
[2026-07-15 01:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719115264001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:28:44] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-07-15 01:28:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-15 01:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135843721013886976,"km_value":135843721013886.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:28:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":7555984669820188672,"description":"Unknown IO ID 45"} 
[2026-07-15 01:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719115264001,"power":27821,"unknown_210":206,"unknown_19":40704,"ignition":40,"odometer":null,"unknown_45":7555984669820188672}} 
[2026-07-15 01:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":134304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488882,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:28:44] local.INFO: GPS data processed {"connection_id":134304,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:28:44] local.INFO: Acknowledgment sent {"connection_id":134304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:28:46] local.INFO: TCP Data received {"connection_id":134304,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6234e6f0012d68ca40061d3518000b015730..."} 
[2026-07-15 01:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6234e6f0012d68ca40061d3518000b015730..."} 
[2026-07-15 01:28:46] local.INFO: Processing buffer {"connection_id":134304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6234e6f0012d68ca40061d3518000b015730..."} 
[2026-07-15 01:28:46] local.INFO: Packet analysis {"connection_id":134304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6234"} 
[2026-07-15 01:28:46] local.INFO: Extracted packet for processing {"connection_id":134304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6234"} 
[2026-07-15 01:28:46] local.INFO: GPS Element Parsed {"raw_longitude":761842240,"raw_latitude":102577432,"longitude_deg":76.184224,"latitude_deg":10.2577432,"altitude":11,"angle":343,"satellites":48,"speed":42,"hex_longitude":"2d68ca40","hex_latitude":"061d3518","is_valid_coordinates":true} 
[2026-07-15 01:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719117568001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135844180575387648,"note":"Value kept but may cause issues"} 
[2026-07-15 01:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7553451395032098816,"note":"Value kept but may cause issues"} 
[2026-07-15 01:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784059062000,"timestamp_ms":1784059062000,"timestamp_seconds":1784059062,"priority":1,"record_length":96,"hex_timestamp":"0000019f6234e6f0"} 
[2026-07-15 01:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 01:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":134304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":134304,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":134304,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719117568001,"66":27984,"210":206,"19":40704,"24":42,"16":135844180575387648,"45":7553451395032098816},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,19,24,16,45]} 
[2026-07-15 01:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719117568001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:28:46] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-07-15 01:28:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-15 01:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135844180575387648,"km_value":135844180575387.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":7553451395032098816,"description":"Unknown IO ID 45"} 
[2026-07-15 01:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719117568001,"power":27984,"unknown_210":206,"unknown_19":40704,"ignition":42,"odometer":null,"unknown_45":7553451395032098816}} 
[2026-07-15 01:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":134304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488883,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:28:46] local.INFO: GPS data processed {"connection_id":134304,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:28:46] local.INFO: Acknowledgment sent {"connection_id":134304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:29:02] local.INFO: TCP Data received {"connection_id":131926,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:29:03] local.INFO: Processing buffer {"connection_id":131926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:29:03] local.INFO: IMEI packet received {"connection_id":131926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":131926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:29:07] local.INFO: TCP Data received {"connection_id":131926,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:29:08] local.INFO: Processing buffer {"connection_id":131926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:29:08] local.INFO: IMEI packet received {"connection_id":131926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":131926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:29:08] local.INFO: TCP Data received {"connection_id":131926,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f62319748012d7f92c005afd8300000005028..."} 
[2026-07-15 01:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62319748012d7f92c005afd8300000005028..."} 
[2026-07-15 01:29:08] local.INFO: Processing buffer {"connection_id":131926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62319748012d7f92c005afd8300000005028..."} 
[2026-07-15 01:29:08] local.INFO: Packet analysis {"connection_id":131926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6231"} 
[2026-07-15 01:29:08] local.INFO: Extracted packet for processing {"connection_id":131926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6231"} 
[2026-07-15 01:29:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718987264001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784058845000,"timestamp_ms":1784058845000,"timestamp_seconds":1784058845,"priority":1,"record_length":96,"hex_timestamp":"0000019f62319748"} 
[2026-07-15 01:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":131926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":131926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":131926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718987264001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718987264001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:29:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:29:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718987264001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":131926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:29:08] local.INFO: GPS data processed {"connection_id":131926,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:29:08] local.INFO: Acknowledgment sent {"connection_id":131926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:29:18] local.INFO: TCP Data received {"connection_id":134304,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62350630012d68c080061d5718000d01572e..."} 
[2026-07-15 01:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62350630012d68c080061d5718000d01572e..."} 
[2026-07-15 01:29:18] local.INFO: Processing buffer {"connection_id":134304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62350630012d68c080061d5718000d01572e..."} 
[2026-07-15 01:29:18] local.INFO: Packet analysis {"connection_id":134304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6235"} 
[2026-07-15 01:29:18] local.INFO: Extracted packet for processing {"connection_id":134304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6235"} 
[2026-07-15 01:29:18] local.INFO: GPS Element Parsed {"raw_longitude":761839744,"raw_latitude":102586136,"longitude_deg":76.1839744,"latitude_deg":10.2586136,"altitude":13,"angle":343,"satellites":46,"speed":47,"hex_longitude":"2d68c080","hex_latitude":"061d5718","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719119872001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135844618662051840,"note":"Value kept but may cause issues"} 
[2026-07-15 01:29:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7550918120244058112,"note":"Value kept but may cause issues"} 
[2026-07-15 01:29:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784059070000,"timestamp_ms":1784059070000,"timestamp_seconds":1784059070,"priority":1,"record_length":96,"hex_timestamp":"0000019f62350630"} 
[2026-07-15 01:29:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:29: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-07-15 01: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 01:29:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:29:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":134304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":134304,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":134304,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:29:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719119872001,"66":27821,"210":206,"19":40704,"24":47,"16":135844618662051840,"45":7550918120244058112},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,19,24,16,45]} 
[2026-07-15 01:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719119872001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:29:18] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-07-15 01:29:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-15 01:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135844618662051840,"km_value":135844618662051.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:29:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":7550918120244058112,"description":"Unknown IO ID 45"} 
[2026-07-15 01:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719119872001,"power":27821,"unknown_210":206,"unknown_19":40704,"ignition":47,"odometer":null,"unknown_45":7550918120244058112}} 
[2026-07-15 01:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":134304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488885,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:29:18] local.INFO: GPS data processed {"connection_id":134304,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:29:18] local.INFO: Acknowledgment sent {"connection_id":134304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:29:36] local.INFO: TCP Data received {"connection_id":132097,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132097,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:29:36] local.INFO: Processing buffer {"connection_id":132097,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:29:36] local.INFO: IMEI packet received {"connection_id":132097,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":132097,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:29:38] local.INFO: TCP Data received {"connection_id":132097,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132097,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:29:38] local.INFO: Processing buffer {"connection_id":132097,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:29:38] local.INFO: IMEI packet received {"connection_id":132097,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":132097,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:29:40] local.INFO: TCP Data received {"connection_id":131926,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f62319748012d7f92c005afd8300000005028..."} 
[2026-07-15 01:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62319748012d7f92c005afd8300000005028..."} 
[2026-07-15 01:29:40] local.INFO: Processing buffer {"connection_id":131926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62319748012d7f92c005afd8300000005028..."} 
[2026-07-15 01:29:40] local.INFO: Packet analysis {"connection_id":131926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6231"} 
[2026-07-15 01:29:40] local.INFO: Extracted packet for processing {"connection_id":131926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6231"} 
[2026-07-15 01:29:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456718987264001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784058845000,"timestamp_ms":1784058845000,"timestamp_seconds":1784058845,"priority":1,"record_length":96,"hex_timestamp":"0000019f62319748"} 
[2026-07-15 01:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:29:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:29:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456718987264001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456718987264001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:29:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:29:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456718987264001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":131926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:29:40] local.INFO: GPS data processed {"connection_id":131926,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:29:40] local.INFO: Acknowledgment sent {"connection_id":131926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:29:41] local.INFO: TCP Data received {"connection_id":132097,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132097,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:29:41] local.INFO: Processing buffer {"connection_id":132097,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:29:41] local.INFO: IMEI packet received {"connection_id":132097,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":132097,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:29:43] local.INFO: TCP Data received {"connection_id":132097,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62352570012d68b400061d7bb8000b015130..."} 
[2026-07-15 01:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62352570012d68b400061d7bb8000b015130..."} 
[2026-07-15 01:29:43] local.INFO: Processing buffer {"connection_id":132097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62352570012d68b400061d7bb8000b015130..."} 
[2026-07-15 01:29:43] local.INFO: Packet analysis {"connection_id":132097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6235"} 
[2026-07-15 01:29:43] local.INFO: Extracted packet for processing {"connection_id":132097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6235"} 
[2026-07-15 01:29:43] local.INFO: GPS Element Parsed {"raw_longitude":761836544,"raw_latitude":102595512,"longitude_deg":76.1836544,"latitude_deg":10.2595512,"altitude":11,"angle":337,"satellites":48,"speed":53,"hex_longitude":"2d68b400","hex_latitude":"061d7bb8","is_valid_coordinates":true} 
[2026-07-15 01:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719121920001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135845099698388992,"note":"Value kept but may cause issues"} 
[2026-07-15 01:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7548173739223357440,"note":"Value kept but may cause issues"} 
[2026-07-15 01:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784059078000,"timestamp_ms":1784059078000,"timestamp_seconds":1784059078,"priority":1,"record_length":96,"hex_timestamp":"0000019f62352570"} 
[2026-07-15 01:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:29:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 01:29:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:29:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":132097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":132097,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":132097,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719121920001,"66":27876,"210":206,"19":40704,"24":53,"16":135845099698388992,"45":7548173739223357440},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,19,24,16,45]} 
[2026-07-15 01:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719121920001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:29:43] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-07-15 01:29:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-15 01:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135845099698388992,"km_value":135845099698388.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":7548173739223357440,"description":"Unknown IO ID 45"} 
[2026-07-15 01:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719121920001,"power":27876,"unknown_210":206,"unknown_19":40704,"ignition":53,"odometer":null,"unknown_45":7548173739223357440}} 
[2026-07-15 01:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":132097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488887,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:29:43] local.INFO: GPS data processed {"connection_id":132097,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:29:43] local.INFO: Acknowledgment sent {"connection_id":132097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:29:45] local.INFO: TCP Data received {"connection_id":132097,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f623540c8012d68a040061d9dd00009014630..."} 
[2026-07-15 01:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f623540c8012d68a040061d9dd00009014630..."} 
[2026-07-15 01:29:45] local.INFO: Processing buffer {"connection_id":132097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f623540c8012d68a040061d9dd00009014630..."} 
[2026-07-15 01:29:45] local.INFO: Packet analysis {"connection_id":132097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6235"} 
[2026-07-15 01:29:45] local.INFO: Extracted packet for processing {"connection_id":132097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6235"} 
[2026-07-15 01:29:45] local.INFO: GPS Element Parsed {"raw_longitude":761831488,"raw_latitude":102604240,"longitude_deg":76.1831488,"latitude_deg":10.260424,"altitude":9,"angle":326,"satellites":48,"speed":59,"hex_longitude":"2d68a040","hex_latitude":"061d9dd0","is_valid_coordinates":true} 
[2026-07-15 01:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719123968001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135845585029693440,"note":"Value kept but may cause issues"} 
[2026-07-15 01:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7544655302016874496,"note":"Value kept but may cause issues"} 
[2026-07-15 01:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784059085000,"timestamp_ms":1784059085000,"timestamp_seconds":1784059085,"priority":1,"record_length":96,"hex_timestamp":"0000019f623540c8"} 
[2026-07-15 01:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:29:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-15 01:29:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:29:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":132097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":132097,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":132097,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719123968001,"66":27767,"209":206,"19":40704,"24":59,"16":135845585029693440,"45":7544655302016874496},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,19,24,16,45]} 
[2026-07-15 01:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719123968001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:29:45] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-15 01:29:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-15 01:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135845585029693440,"km_value":135845585029693.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":7544655302016874496,"description":"Unknown IO ID 45"} 
[2026-07-15 01:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719123968001,"power":27767,"unknown_209":206,"unknown_19":40704,"ignition":59,"odometer":null,"unknown_45":7544655302016874496}} 
[2026-07-15 01:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":132097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488888,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:29:46] local.INFO: GPS data processed {"connection_id":132097,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:29:46] local.INFO: Acknowledgment sent {"connection_id":132097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:29:47] local.INFO: TCP Data received {"connection_id":132097,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62355838012d688bc0061dbaa8000701442f..."} 
[2026-07-15 01:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62355838012d688bc0061dbaa8000701442f..."} 
[2026-07-15 01:29:47] local.INFO: Processing buffer {"connection_id":132097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62355838012d688bc0061dbaa8000701442f..."} 
[2026-07-15 01:29:47] local.INFO: Packet analysis {"connection_id":132097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6235"} 
[2026-07-15 01:29:47] local.INFO: Extracted packet for processing {"connection_id":132097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6235"} 
[2026-07-15 01:29:47] local.INFO: GPS Element Parsed {"raw_longitude":761826240,"raw_latitude":102611624,"longitude_deg":76.182624,"latitude_deg":10.2611624,"altitude":7,"angle":324,"satellites":47,"speed":59,"hex_longitude":"2d688bc0","hex_latitude":"061dbaa8","is_valid_coordinates":true} 
[2026-07-15 01:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719125760001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135846023116357632,"note":"Value kept but may cause issues"} 
[2026-07-15 01:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7539096171229073408,"note":"Value kept but may cause issues"} 
[2026-07-15 01:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784059091000,"timestamp_ms":1784059091000,"timestamp_seconds":1784059091,"priority":1,"record_length":96,"hex_timestamp":"0000019f62355838"} 
[2026-07-15 01:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 01:29:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:29:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":132097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":132097,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":132097,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719125760001,"66":27843,"209":206,"19":40704,"24":59,"16":135846023116357632,"45":7539096171229073408},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,19,24,16,45]} 
[2026-07-15 01:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719125760001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:29:47] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-15 01:29:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-15 01:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135846023116357632,"km_value":135846023116357.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":7539096171229073408,"description":"Unknown IO ID 45"} 
[2026-07-15 01:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719125760001,"power":27843,"unknown_209":206,"unknown_19":40704,"ignition":59,"odometer":null,"unknown_45":7539096171229073408}} 
[2026-07-15 01:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":132097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488889,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:29:47] local.INFO: GPS data processed {"connection_id":132097,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:29:47] local.INFO: Acknowledgment sent {"connection_id":132097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:30:03] local.INFO: TCP Data received {"connection_id":132940,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:30:03] local.INFO: Processing buffer {"connection_id":132940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:30:03] local.INFO: IMEI packet received {"connection_id":132940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":132940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:30:07] local.INFO: TCP Data received {"connection_id":132940,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:30:07] local.INFO: Processing buffer {"connection_id":132940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:30:07] local.INFO: IMEI packet received {"connection_id":132940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":132940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:30:08] local.INFO: TCP Data received {"connection_id":132940,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f62362f10012d7f92c005afd8300000005026..."} 
[2026-07-15 01:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62362f10012d7f92c005afd8300000005026..."} 
[2026-07-15 01:30:08] local.INFO: Processing buffer {"connection_id":132940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62362f10012d7f92c005afd8300000005026..."} 
[2026-07-15 01:30:08] local.INFO: Packet analysis {"connection_id":132940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6236"} 
[2026-07-15 01:30:08] local.INFO: Extracted packet for processing {"connection_id":132940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6236"} 
[2026-07-15 01:30:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719064320001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784059146000,"timestamp_ms":1784059146000,"timestamp_seconds":1784059146,"priority":1,"record_length":96,"hex_timestamp":"0000019f62362f10"} 
[2026-07-15 01:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719064320001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719064320001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:30:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:30:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719064320001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":132940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:30:08] local.INFO: GPS data processed {"connection_id":132940,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:30:08] local.INFO: Acknowledgment sent {"connection_id":132940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:30:20] local.INFO: TCP Data received {"connection_id":132097,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62367d30012d67bac0061f2ec8000c014f2f..."} 
[2026-07-15 01:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62367d30012d67bac0061f2ec8000c014f2f..."} 
[2026-07-15 01:30:20] local.INFO: Processing buffer {"connection_id":132097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62367d30012d67bac0061f2ec8000c014f2f..."} 
[2026-07-15 01:30:20] local.INFO: Packet analysis {"connection_id":132097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6236"} 
[2026-07-15 01:30:20] local.INFO: Extracted packet for processing {"connection_id":132097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6236"} 
[2026-07-15 01:30:20] local.INFO: GPS Element Parsed {"raw_longitude":761772736,"raw_latitude":102706888,"longitude_deg":76.1772736,"latitude_deg":10.2706888,"altitude":12,"angle":335,"satellites":47,"speed":56,"hex_longitude":"2d67bac0","hex_latitude":"061f2ec8","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719144704001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135851323106000896,"note":"Value kept but may cause issues"} 
[2026-07-15 01:30:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7479916057399758848,"note":"Value kept but may cause issues"} 
[2026-07-15 01:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1784059166000,"timestamp_ms":1784059166000,"timestamp_seconds":1784059166,"priority":1,"record_length":96,"hex_timestamp":"0000019f62367d30"} 
[2026-07-15 01:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-15 01:30:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":132097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":132097,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":132097,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:30:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719144704001,"66":27789,"237":206,"19":40704,"24":56,"16":135851323106000896,"45":7479916057399758848},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,19,24,16,45]} 
[2026-07-15 01:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719144704001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:30:20] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-15 01:30:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-15 01:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135851323106000896,"km_value":135851323106000.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:30:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":7479916057399758848,"description":"Unknown IO ID 45"} 
[2026-07-15 01:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719144704001,"power":27789,"unknown_237":206,"unknown_19":40704,"ignition":56,"odometer":null,"unknown_45":7479916057399758848}} 
[2026-07-15 01:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":132097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488891,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:30:20] local.INFO: GPS data processed {"connection_id":132097,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:30:20] local.INFO: Acknowledgment sent {"connection_id":132097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:30:36] local.INFO: TCP Data received {"connection_id":132941,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132941,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:30:36] local.INFO: Processing buffer {"connection_id":132941,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:30:36] local.INFO: IMEI packet received {"connection_id":132941,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":132941,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:30:39] local.INFO: TCP Data received {"connection_id":132940,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f62362f10012d7f92c005afd8300000005026..."} 
[2026-07-15 01:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62362f10012d7f92c005afd8300000005026..."} 
[2026-07-15 01:30:39] local.INFO: Processing buffer {"connection_id":132940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62362f10012d7f92c005afd8300000005026..."} 
[2026-07-15 01:30:39] local.INFO: Packet analysis {"connection_id":132940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6236"} 
[2026-07-15 01:30:39] local.INFO: Extracted packet for processing {"connection_id":132940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6236"} 
[2026-07-15 01:30:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719064320001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:30:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784059146000,"timestamp_ms":1784059146000,"timestamp_seconds":1784059146,"priority":1,"record_length":96,"hex_timestamp":"0000019f62362f10"} 
[2026-07-15 01:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:30:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:30:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:30:39] 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-07-15 01:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719064320001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719064320001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:30:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:30:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719064320001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":132940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:30:39] local.INFO: GPS data processed {"connection_id":132940,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:30:39] local.INFO: Acknowledgment sent {"connection_id":132940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:30:44] local.INFO: TCP Data received {"connection_id":132941,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132941,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:30:44] local.INFO: Processing buffer {"connection_id":132941,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:30:44] local.INFO: IMEI packet received {"connection_id":132941,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":132941,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:30:45] local.INFO: TCP Data received {"connection_id":132941,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62369888012d67af00061f53d0000d015b30..."} 
[2026-07-15 01:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62369888012d67af00061f53d0000d015b30..."} 
[2026-07-15 01:30:45] local.INFO: Processing buffer {"connection_id":132941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62369888012d67af00061f53d0000d015b30..."} 
[2026-07-15 01:30:45] local.INFO: Packet analysis {"connection_id":132941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6236"} 
[2026-07-15 01:30:45] local.INFO: Extracted packet for processing {"connection_id":132941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6236"} 
[2026-07-15 01:30:45] local.INFO: GPS Element Parsed {"raw_longitude":761769728,"raw_latitude":102716368,"longitude_deg":76.1769728,"latitude_deg":10.2716368,"altitude":13,"angle":347,"satellites":48,"speed":57,"hex_longitude":"2d67af00","hex_latitude":"061f53d0","is_valid_coordinates":true} 
[2026-07-15 01:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719146496001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135851804142338048,"note":"Value kept but may cause issues"} 
[2026-07-15 01:30:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7474497664100255744,"note":"Value kept but may cause issues"} 
[2026-07-15 01:30:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784059173000,"timestamp_ms":1784059173000,"timestamp_seconds":1784059173,"priority":1,"record_length":96,"hex_timestamp":"0000019f62369888"} 
[2026-07-15 01:30:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:30:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-15 01:30:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:30:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:30:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":132941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":132941,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":132941,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:30:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719146496001,"66":27843,"237":206,"19":40704,"24":57,"16":135851804142338048,"45":7474497664100255744},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,19,24,16,45]} 
[2026-07-15 01:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719146496001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:30:45] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-15 01:30:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-15 01:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135851804142338048,"km_value":135851804142338.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:30:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":7474497664100255744,"description":"Unknown IO ID 45"} 
[2026-07-15 01:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719146496001,"power":27843,"unknown_237":206,"unknown_19":40704,"ignition":57,"odometer":null,"unknown_45":7474497664100255744}} 
[2026-07-15 01:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":132941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488893,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:30:45] local.INFO: GPS data processed {"connection_id":132941,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:30:45] local.INFO: Acknowledgment sent {"connection_id":132941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:31:02] local.INFO: TCP Data received {"connection_id":132098,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:31:02] local.INFO: Processing buffer {"connection_id":132098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:31:02] local.INFO: IMEI packet received {"connection_id":132098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":132098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:31:07] local.INFO: TCP Data received {"connection_id":132098,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:31:07] local.INFO: Processing buffer {"connection_id":132098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:31:07] local.INFO: IMEI packet received {"connection_id":132098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":132098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:31:08] local.INFO: TCP Data received {"connection_id":132098,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f62362f10012d7f92c005afd8300000005026..."} 
[2026-07-15 01:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62362f10012d7f92c005afd8300000005026..."} 
[2026-07-15 01:31:08] local.INFO: Processing buffer {"connection_id":132098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62362f10012d7f92c005afd8300000005026..."} 
[2026-07-15 01:31:08] local.INFO: Packet analysis {"connection_id":132098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6236"} 
[2026-07-15 01:31:08] local.INFO: Extracted packet for processing {"connection_id":132098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6236"} 
[2026-07-15 01:31:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719064320001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784059146000,"timestamp_ms":1784059146000,"timestamp_seconds":1784059146,"priority":1,"record_length":96,"hex_timestamp":"0000019f62362f10"} 
[2026-07-15 01:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719064320001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719064320001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:31:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:31:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719064320001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":132098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:31:08] local.INFO: GPS data processed {"connection_id":132098,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:31:08] local.INFO: Acknowledgment sent {"connection_id":132098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:31:18] local.INFO: TCP Data received {"connection_id":132941,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62369888012d67af00061f53d0000d015b30..."} 
[2026-07-15 01:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62369888012d67af00061f53d0000d015b30..."} 
[2026-07-15 01:31:18] local.INFO: Processing buffer {"connection_id":132941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62369888012d67af00061f53d0000d015b30..."} 
[2026-07-15 01:31:18] local.INFO: Packet analysis {"connection_id":132941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6236"} 
[2026-07-15 01:31:18] local.INFO: Extracted packet for processing {"connection_id":132941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6236"} 
[2026-07-15 01:31:18] local.INFO: GPS Element Parsed {"raw_longitude":761769728,"raw_latitude":102716368,"longitude_deg":76.1769728,"latitude_deg":10.2716368,"altitude":13,"angle":347,"satellites":48,"speed":57,"hex_longitude":"2d67af00","hex_latitude":"061f53d0","is_valid_coordinates":true} 
[2026-07-15 01:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719148288001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135851804142338048,"note":"Value kept but may cause issues"} 
[2026-07-15 01:31:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7471190333126332416,"note":"Value kept but may cause issues"} 
[2026-07-15 01:31:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784059173000,"timestamp_ms":1784059173000,"timestamp_seconds":1784059173,"priority":1,"record_length":96,"hex_timestamp":"0000019f62369888"} 
[2026-07-15 01:31:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:31: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-07-15 01:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-15 01:31:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:31:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:31:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":132941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":132941,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":132941,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:31:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719148288001,"66":27843,"237":206,"19":40704,"24":57,"16":135851804142338048,"45":7471190333126332416},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,19,24,16,45]} 
[2026-07-15 01:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719148288001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:31:18] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-15 01:31:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-15 01:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135851804142338048,"km_value":135851804142338.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:31:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":7471190333126332416,"description":"Unknown IO ID 45"} 
[2026-07-15 01:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719148288001,"power":27843,"unknown_237":206,"unknown_19":40704,"ignition":57,"odometer":null,"unknown_45":7471190333126332416}} 
[2026-07-15 01:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":132941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488895,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:31:18] local.INFO: GPS data processed {"connection_id":132941,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:31:18] local.INFO: Acknowledgment sent {"connection_id":132941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:31:36] local.INFO: TCP Data received {"connection_id":132099,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132099,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:31:36] local.INFO: Processing buffer {"connection_id":132099,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:31:36] local.INFO: IMEI packet received {"connection_id":132099,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":132099,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:31:37] local.INFO: TCP Data received {"connection_id":132099,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132099,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:31:37] local.INFO: Processing buffer {"connection_id":132099,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:31:37] local.INFO: IMEI packet received {"connection_id":132099,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":132099,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:31:41] local.INFO: TCP Data received {"connection_id":132099,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132099,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:31:41] local.INFO: Processing buffer {"connection_id":132099,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:31:41] local.INFO: IMEI packet received {"connection_id":132099,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":132099,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:31:43] local.INFO: TCP Data received {"connection_id":132099,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6237b1c8012d6757400620e4500005015c31..."} 
[2026-07-15 01:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6237b1c8012d6757400620e4500005015c31..."} 
[2026-07-15 01:31:43] local.INFO: Processing buffer {"connection_id":132099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6237b1c8012d6757400620e4500005015c31..."} 
[2026-07-15 01:31:43] local.INFO: Packet analysis {"connection_id":132099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6237"} 
[2026-07-15 01:31:43] local.INFO: Extracted packet for processing {"connection_id":132099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6237"} 
[2026-07-15 01:31:43] local.INFO: GPS Element Parsed {"raw_longitude":761747264,"raw_latitude":102818896,"longitude_deg":76.1747264,"latitude_deg":10.2818896,"altitude":5,"angle":348,"satellites":49,"speed":57,"hex_longitude":"2d675740","hex_latitude":"0620e450","is_valid_coordinates":true} 
[2026-07-15 01:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719165184001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135856889383616512,"note":"Value kept but may cause issues"} 
[2026-07-15 01:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7448461228780951552,"note":"Value kept but may cause issues"} 
[2026-07-15 01:31:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784059245000,"timestamp_ms":1784059245000,"timestamp_seconds":1784059245,"priority":1,"record_length":96,"hex_timestamp":"0000019f6237b1c8"} 
[2026-07-15 01:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:31:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 01:31:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:31:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":132099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":132099,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":132099,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719165184001,"66":27571,"82":206,"19":40704,"24":57,"16":135856889383616512,"45":7448461228780951552},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,19,24,16,45]} 
[2026-07-15 01:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719165184001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:31:43] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 01:31:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-15 01:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135856889383616512,"km_value":135856889383616.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":7448461228780951552,"description":"Unknown IO ID 45"} 
[2026-07-15 01:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719165184001,"power":27571,"unknown_82":206,"unknown_19":40704,"ignition":57,"odometer":null,"unknown_45":7448461228780951552}} 
[2026-07-15 01:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":132099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488896,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:31:43] local.INFO: GPS data processed {"connection_id":132099,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:31:43] local.INFO: Acknowledgment sent {"connection_id":132099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:31:43] local.INFO: TCP Data received {"connection_id":132098,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f62362f10012d7f92c005afd8300000005026..."} 
[2026-07-15 01:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62362f10012d7f92c005afd8300000005026..."} 
[2026-07-15 01:31:43] local.INFO: Processing buffer {"connection_id":132098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62362f10012d7f92c005afd8300000005026..."} 
[2026-07-15 01:31:43] local.INFO: Packet analysis {"connection_id":132098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6236"} 
[2026-07-15 01:31:43] local.INFO: Extracted packet for processing {"connection_id":132098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6236"} 
[2026-07-15 01:31:43] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719064320001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:31:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784059146000,"timestamp_ms":1784059146000,"timestamp_seconds":1784059146,"priority":1,"record_length":96,"hex_timestamp":"0000019f62362f10"} 
[2026-07-15 01:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:31:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:31:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:31:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":132098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":132098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":132098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719064320001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719064320001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:31:43] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:31:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719064320001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":132098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:31:43] local.INFO: GPS data processed {"connection_id":132098,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:31:43] local.INFO: Acknowledgment sent {"connection_id":132098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:32:02] local.INFO: TCP Data received {"connection_id":134305,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:32:02] local.INFO: Processing buffer {"connection_id":134305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:32:02] local.INFO: IMEI packet received {"connection_id":134305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":134305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:32:07] local.INFO: TCP Data received {"connection_id":134305,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:32:07] local.INFO: Processing buffer {"connection_id":134305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:32:07] local.INFO: IMEI packet received {"connection_id":134305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":134305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:32:08] local.INFO: TCP Data received {"connection_id":134305,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f62362f10012d7f92c005afd8300000005026..."} 
[2026-07-15 01:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62362f10012d7f92c005afd8300000005026..."} 
[2026-07-15 01:32:08] local.INFO: Processing buffer {"connection_id":134305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62362f10012d7f92c005afd8300000005026..."} 
[2026-07-15 01:32:08] local.INFO: Packet analysis {"connection_id":134305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6236"} 
[2026-07-15 01:32:08] local.INFO: Extracted packet for processing {"connection_id":134305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6236"} 
[2026-07-15 01:32:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719064320001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784059146000,"timestamp_ms":1784059146000,"timestamp_seconds":1784059146,"priority":1,"record_length":96,"hex_timestamp":"0000019f62362f10"} 
[2026-07-15 01:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719064320001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719064320001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:32:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:32:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719064320001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":134305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:32:08] local.INFO: GPS data processed {"connection_id":134305,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:32:08] local.INFO: Acknowledgment sent {"connection_id":134305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:32:14] local.INFO: TCP Data received {"connection_id":132099,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6237cd20012d674ec006210ac80007015b32..."} 
[2026-07-15 01:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6237cd20012d674ec006210ac80007015b32..."} 
[2026-07-15 01:32:14] local.INFO: Processing buffer {"connection_id":132099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6237cd20012d674ec006210ac80007015b32..."} 
[2026-07-15 01:32:14] local.INFO: Packet analysis {"connection_id":132099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6237"} 
[2026-07-15 01:32:14] local.INFO: Extracted packet for processing {"connection_id":132099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6237"} 
[2026-07-15 01:32:14] local.INFO: GPS Element Parsed {"raw_longitude":761745088,"raw_latitude":102828744,"longitude_deg":76.1745088,"latitude_deg":10.2828744,"altitude":7,"angle":347,"satellites":50,"speed":56,"hex_longitude":"2d674ec0","hex_latitude":"06210ac8","is_valid_coordinates":true} 
[2026-07-15 01:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719166720001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135857379009888256,"note":"Value kept but may cause issues"} 
[2026-07-15 01:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7446490903946219520,"note":"Value kept but may cause issues"} 
[2026-07-15 01:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784059252000,"timestamp_ms":1784059252000,"timestamp_seconds":1784059252,"priority":1,"record_length":96,"hex_timestamp":"0000019f6237cd20"} 
[2026-07-15 01:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-15 01:32:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":132099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":132099,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":132099,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719166720001,"66":27887,"82":206,"19":40704,"24":56,"16":135857379009888256,"45":7446490903946219520},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,19,24,16,45]} 
[2026-07-15 01:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719166720001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:32:14] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 01:32:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-15 01:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135857379009888256,"km_value":135857379009888.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":7446490903946219520,"description":"Unknown IO ID 45"} 
[2026-07-15 01:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719166720001,"power":27887,"unknown_82":206,"unknown_19":40704,"ignition":56,"odometer":null,"unknown_45":7446490903946219520}} 
[2026-07-15 01:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":132099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488899,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:32:15] local.INFO: GPS data processed {"connection_id":132099,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:32:15] local.INFO: Acknowledgment sent {"connection_id":132099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:32:36] local.INFO: TCP Data received {"connection_id":134306,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134306,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:32:36] local.INFO: Processing buffer {"connection_id":134306,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:32:36] local.INFO: IMEI packet received {"connection_id":134306,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":134306,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:32:37] local.INFO: TCP Data received {"connection_id":134306,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134306,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:32:37] local.INFO: Processing buffer {"connection_id":134306,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:32:37] local.INFO: IMEI packet received {"connection_id":134306,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":134306,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:32:39] local.INFO: TCP Data received {"connection_id":134305,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f62362f10012d7f92c005afd8300000005026..."} 
[2026-07-15 01:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62362f10012d7f92c005afd8300000005026..."} 
[2026-07-15 01:32:39] local.INFO: Processing buffer {"connection_id":134305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62362f10012d7f92c005afd8300000005026..."} 
[2026-07-15 01:32:39] local.INFO: Packet analysis {"connection_id":134305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6236"} 
[2026-07-15 01:32:39] local.INFO: Extracted packet for processing {"connection_id":134305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6236"} 
[2026-07-15 01:32:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719064320001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784059146000,"timestamp_ms":1784059146000,"timestamp_seconds":1784059146,"priority":1,"record_length":96,"hex_timestamp":"0000019f62362f10"} 
[2026-07-15 01:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:32:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:32:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:32:39] 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-07-15 01:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719064320001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719064320001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:32:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:32:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719064320001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":134305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:32:39] local.INFO: GPS data processed {"connection_id":134305,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:32:39] local.INFO: Acknowledgment sent {"connection_id":134305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:32:41] local.INFO: TCP Data received {"connection_id":134306,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134306,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:32:41] local.INFO: Processing buffer {"connection_id":134306,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:32:41] local.INFO: IMEI packet received {"connection_id":134306,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":134306,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:32:42] local.INFO: TCP Data received {"connection_id":134306,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6237e878012d674640062130500009015b31..."} 
[2026-07-15 01:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6237e878012d674640062130500009015b31..."} 
[2026-07-15 01:32:42] local.INFO: Processing buffer {"connection_id":134306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6237e878012d674640062130500009015b31..."} 
[2026-07-15 01:32:42] local.INFO: Packet analysis {"connection_id":134306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6237"} 
[2026-07-15 01:32:42] local.INFO: Extracted packet for processing {"connection_id":134306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6237"} 
[2026-07-15 01:32:42] local.INFO: GPS Element Parsed {"raw_longitude":761742912,"raw_latitude":102838352,"longitude_deg":76.1742912,"latitude_deg":10.2838352,"altitude":9,"angle":347,"satellites":49,"speed":55,"hex_longitude":"2d674640","hex_latitude":"06213050","is_valid_coordinates":true} 
[2026-07-15 01:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719168512001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135857855751258112,"note":"Value kept but may cause issues"} 
[2026-07-15 01:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7444098366646700032,"note":"Value kept but may cause issues"} 
[2026-07-15 01:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784059259000,"timestamp_ms":1784059259000,"timestamp_seconds":1784059259,"priority":1,"record_length":96,"hex_timestamp":"0000019f6237e878"} 
[2026-07-15 01:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-15 01:32:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:32:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":134306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":134306,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":134306,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719168512001,"66":27745,"82":206,"19":40704,"24":55,"16":135857855751258112,"45":7444098366646700032},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,19,24,16,45]} 
[2026-07-15 01:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719168512001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:32:42] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 01:32:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-15 01:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135857855751258112,"km_value":135857855751258.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":7444098366646700032,"description":"Unknown IO ID 45"} 
[2026-07-15 01:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719168512001,"power":27745,"unknown_82":206,"unknown_19":40704,"ignition":55,"odometer":null,"unknown_45":7444098366646700032}} 
[2026-07-15 01:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":134306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488901,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:32:42] local.INFO: GPS data processed {"connection_id":134306,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:32:42] local.INFO: Acknowledgment sent {"connection_id":134306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:33:07] local.INFO: TCP Data received {"connection_id":132100,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:33:07] local.INFO: Processing buffer {"connection_id":132100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:33:07] local.INFO: IMEI packet received {"connection_id":132100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":132100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:33:12] local.INFO: TCP Data received {"connection_id":132100,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:33:13] local.INFO: Processing buffer {"connection_id":132100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:33:13] local.INFO: IMEI packet received {"connection_id":132100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":132100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:33:13] local.INFO: TCP Data received {"connection_id":132100,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f62362f10012d7f92c005afd8300000005026..."} 
[2026-07-15 01:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62362f10012d7f92c005afd8300000005026..."} 
[2026-07-15 01:33:13] local.INFO: Processing buffer {"connection_id":132100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62362f10012d7f92c005afd8300000005026..."} 
[2026-07-15 01:33:13] local.INFO: Packet analysis {"connection_id":132100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6236"} 
[2026-07-15 01:33:13] local.INFO: Extracted packet for processing {"connection_id":132100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6236"} 
[2026-07-15 01:33:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:33: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-07-15 01:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719064320001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784059146000,"timestamp_ms":1784059146000,"timestamp_seconds":1784059146,"priority":1,"record_length":96,"hex_timestamp":"0000019f62362f10"} 
[2026-07-15 01:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:33:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:33:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719064320001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719064320001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:33:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:33:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719064320001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":132100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:33:13] local.INFO: GPS data processed {"connection_id":132100,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:33:13] local.INFO: Acknowledgment sent {"connection_id":132100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:33:15] local.INFO: TCP Data received {"connection_id":134306,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f623924e0012d6696400622bbe00007011b30..."} 
[2026-07-15 01:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f623924e0012d6696400622bbe00007011b30..."} 
[2026-07-15 01:33:15] local.INFO: Processing buffer {"connection_id":134306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f623924e0012d6696400622bbe00007011b30..."} 
[2026-07-15 01:33:15] local.INFO: Packet analysis {"connection_id":134306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6239"} 
[2026-07-15 01:33:15] local.INFO: Extracted packet for processing {"connection_id":134306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6239"} 
[2026-07-15 01:33:15] local.INFO: GPS Element Parsed {"raw_longitude":761697856,"raw_latitude":102939616,"longitude_deg":76.1697856,"latitude_deg":10.2939616,"altitude":7,"angle":283,"satellites":48,"speed":59,"hex_longitude":"2d669640","hex_latitude":"0622bbe0","is_valid_coordinates":true} 
[2026-07-15 01:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719189504001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135863537992990720,"note":"Value kept but may cause issues"} 
[2026-07-15 01:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7401384538958534656,"note":"Value kept but may cause issues"} 
[2026-07-15 01:33:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784059340000,"timestamp_ms":1784059340000,"timestamp_seconds":1784059340,"priority":1,"record_length":96,"hex_timestamp":"0000019f623924e0"} 
[2026-07-15 01:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:33:15] 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-07-15 01:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-15 01:33:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:33:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":134306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":134306,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":134306,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719189504001,"66":27952,"83":206,"19":40704,"24":59,"16":135863537992990720,"45":7401384538958534656},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,19,24,16,45]} 
[2026-07-15 01:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719189504001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:33:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-15 01:33:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-15 01:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135863537992990720,"km_value":135863537992990.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":7401384538958534656,"description":"Unknown IO ID 45"} 
[2026-07-15 01:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719189504001,"power":27952,"unknown_83":206,"unknown_19":40704,"ignition":59,"odometer":null,"unknown_45":7401384538958534656}} 
[2026-07-15 01:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":134306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488903,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:33:15] local.INFO: GPS data processed {"connection_id":134306,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:33:15] local.INFO: Acknowledgment sent {"connection_id":134306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:33:18] local.INFO: TCP Data received {"connection_id":132100,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f62362f10012d7f92c005afd8300000005026..."} 
[2026-07-15 01:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62362f10012d7f92c005afd8300000005026..."} 
[2026-07-15 01:33:18] local.INFO: Processing buffer {"connection_id":132100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62362f10012d7f92c005afd8300000005026..."} 
[2026-07-15 01:33:18] local.INFO: Packet analysis {"connection_id":132100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6236"} 
[2026-07-15 01:33:18] local.INFO: Extracted packet for processing {"connection_id":132100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6236"} 
[2026-07-15 01:33:18] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719064320001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:33:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:33:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784059146000,"timestamp_ms":1784059146000,"timestamp_seconds":1784059146,"priority":1,"record_length":96,"hex_timestamp":"0000019f62362f10"} 
[2026-07-15 01:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:33:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:33:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":132100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":132100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":132100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:33: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-07-15 01:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719064320001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719064320001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:33:18] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:33:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:33:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719064320001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":132100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:33:18] local.INFO: GPS data processed {"connection_id":132100,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:33:18] local.INFO: Acknowledgment sent {"connection_id":132100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:33:36] local.INFO: TCP Data received {"connection_id":134307,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134307,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:33:36] local.INFO: Processing buffer {"connection_id":134307,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:33:36] local.INFO: IMEI packet received {"connection_id":134307,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":134307,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:33:38] local.INFO: TCP Data received {"connection_id":134307,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134307,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:33:38] local.INFO: Processing buffer {"connection_id":134307,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:33:38] local.INFO: IMEI packet received {"connection_id":134307,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":134307,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:33:42] local.INFO: TCP Data received {"connection_id":134307,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134307,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:33:42] local.INFO: Processing buffer {"connection_id":134307,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:33:42] local.INFO: IMEI packet received {"connection_id":134307,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":134307,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:33:43] local.INFO: TCP Data received {"connection_id":134307,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62393c50012d6673400622c2c00008011830..."} 
[2026-07-15 01:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62393c50012d6673400622c2c00008011830..."} 
[2026-07-15 01:33:43] local.INFO: Processing buffer {"connection_id":134307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62393c50012d6673400622c2c00008011830..."} 
[2026-07-15 01:33:43] local.INFO: Packet analysis {"connection_id":134307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6239"} 
[2026-07-15 01:33:43] local.INFO: Extracted packet for processing {"connection_id":134307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6239"} 
[2026-07-15 01:33:43] local.INFO: GPS Element Parsed {"raw_longitude":761688896,"raw_latitude":102941376,"longitude_deg":76.1688896,"latitude_deg":10.2941376,"altitude":8,"angle":280,"satellites":48,"speed":58,"hex_longitude":"2d667340","hex_latitude":"0622c2c0","is_valid_coordinates":true} 
[2026-07-15 01:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719191040001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135863976079654912,"note":"Value kept but may cause issues"} 
[2026-07-15 01:33:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7392166233471967232,"note":"Value kept but may cause issues"} 
[2026-07-15 01:33:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784059346000,"timestamp_ms":1784059346000,"timestamp_seconds":1784059346,"priority":1,"record_length":96,"hex_timestamp":"0000019f62393c50"} 
[2026-07-15 01:33:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:33:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-15 01:33:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:33:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:33:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":134307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":134307,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":134307,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:33:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719191040001,"66":27789,"83":206,"19":40704,"24":58,"16":135863976079654912,"45":7392166233471967232},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,19,24,16,45]} 
[2026-07-15 01:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719191040001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:33:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-15 01:33:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-15 01:33:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135863976079654912,"km_value":135863976079654.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:33:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":7392166233471967232,"description":"Unknown IO ID 45"} 
[2026-07-15 01:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719191040001,"power":27789,"unknown_83":206,"unknown_19":40704,"ignition":58,"odometer":null,"unknown_45":7392166233471967232}} 
[2026-07-15 01:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":134307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488905,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:33:43] local.INFO: GPS data processed {"connection_id":134307,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:33:43] local.INFO: Acknowledgment sent {"connection_id":134307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:34:02] local.INFO: TCP Data received {"connection_id":132101,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:34:02] local.INFO: Processing buffer {"connection_id":132101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:34:02] local.INFO: IMEI packet received {"connection_id":132101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":132101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:34:07] local.INFO: TCP Data received {"connection_id":132101,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:34:07] local.INFO: Processing buffer {"connection_id":132101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:34:07] local.INFO: IMEI packet received {"connection_id":132101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":132101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:34:08] local.INFO: TCP Data received {"connection_id":132101,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f62362f10012d7f92c005afd8300000005026..."} 
[2026-07-15 01:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62362f10012d7f92c005afd8300000005026..."} 
[2026-07-15 01:34:08] local.INFO: Processing buffer {"connection_id":132101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62362f10012d7f92c005afd8300000005026..."} 
[2026-07-15 01:34:08] local.INFO: Packet analysis {"connection_id":132101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6236"} 
[2026-07-15 01:34:08] local.INFO: Extracted packet for processing {"connection_id":132101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6236"} 
[2026-07-15 01:34:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719064320001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784059146000,"timestamp_ms":1784059146000,"timestamp_seconds":1784059146,"priority":1,"record_length":96,"hex_timestamp":"0000019f62362f10"} 
[2026-07-15 01:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719064320001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719064320001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:34:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:34:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719064320001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":132101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:34:08] local.INFO: GPS data processed {"connection_id":132101,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:34:08] local.INFO: Acknowledgment sent {"connection_id":132101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:34:19] local.INFO: TCP Data received {"connection_id":134307,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f623957a8012d664bc00622ca800009011930..."} 
[2026-07-15 01:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f623957a8012d664bc00622ca800009011930..."} 
[2026-07-15 01:34:19] local.INFO: Processing buffer {"connection_id":134307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f623957a8012d664bc00622ca800009011930..."} 
[2026-07-15 01:34:19] local.INFO: Packet analysis {"connection_id":134307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6239"} 
[2026-07-15 01:34:19] local.INFO: Extracted packet for processing {"connection_id":134307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6239"} 
[2026-07-15 01:34:19] local.INFO: GPS Element Parsed {"raw_longitude":761678784,"raw_latitude":102943360,"longitude_deg":76.1678784,"latitude_deg":10.294336,"altitude":9,"angle":281,"satellites":48,"speed":57,"hex_longitude":"2d664bc0","hex_latitude":"0622ca80","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719192576001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135864465705926656,"note":"Value kept but may cause issues"} 
[2026-07-15 01:34:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7382314609287544832,"note":"Value kept but may cause issues"} 
[2026-07-15 01:34:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784059353000,"timestamp_ms":1784059353000,"timestamp_seconds":1784059353,"priority":1,"record_length":96,"hex_timestamp":"0000019f623957a8"} 
[2026-07-15 01:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:34:19] 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-07-15 01: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-15 01:34:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":134307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":134307,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":134307,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:34:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719192576001,"66":27974,"83":206,"19":40704,"24":57,"16":135864465705926656,"45":7382314609287544832},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,19,24,16,45]} 
[2026-07-15 01:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719192576001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:34:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-15 01:34:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-15 01:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135864465705926656,"km_value":135864465705926.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:34:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":7382314609287544832,"description":"Unknown IO ID 45"} 
[2026-07-15 01:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719192576001,"power":27974,"unknown_83":206,"unknown_19":40704,"ignition":57,"odometer":null,"unknown_45":7382314609287544832}} 
[2026-07-15 01:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":134307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488907,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:34:19] local.INFO: GPS data processed {"connection_id":134307,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:34:19] local.INFO: Acknowledgment sent {"connection_id":134307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:34:36] local.INFO: TCP Data received {"connection_id":132942,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132942,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:34:36] local.INFO: Processing buffer {"connection_id":132942,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:34:36] local.INFO: IMEI packet received {"connection_id":132942,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":132942,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:34:40] local.INFO: TCP Data received {"connection_id":132101,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f62362f10012d7f92c005afd8300000005026..."} 
[2026-07-15 01:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62362f10012d7f92c005afd8300000005026..."} 
[2026-07-15 01:34:40] local.INFO: Processing buffer {"connection_id":132101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62362f10012d7f92c005afd8300000005026..."} 
[2026-07-15 01:34:40] local.INFO: Packet analysis {"connection_id":132101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6236"} 
[2026-07-15 01:34:40] local.INFO: Extracted packet for processing {"connection_id":132101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6236"} 
[2026-07-15 01:34:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719064320001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784059146000,"timestamp_ms":1784059146000,"timestamp_seconds":1784059146,"priority":1,"record_length":96,"hex_timestamp":"0000019f62362f10"} 
[2026-07-15 01:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:34:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:34:40] 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-07-15 01:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719064320001,"66":25625,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719064320001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:34:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:34:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719064320001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":132101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:34:40] local.INFO: GPS data processed {"connection_id":132101,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:34:40] local.INFO: Acknowledgment sent {"connection_id":132101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:34:40] local.INFO: TCP Data received {"connection_id":132942,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132942,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:34:40] local.INFO: Processing buffer {"connection_id":132942,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:34:40] local.INFO: IMEI packet received {"connection_id":132942,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":132942,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:34:40] local.INFO: TCP Data received {"connection_id":132942,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132942,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:34:40] local.INFO: Processing buffer {"connection_id":132942,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:34:40] local.INFO: IMEI packet received {"connection_id":132942,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":132942,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:34:41] local.INFO: TCP Data received {"connection_id":132942,"ip":"117.224.100.59","data_length":812,"data_hex":"000f383632353637303731363332333232000000000000030f8e0a0000019f62..."} 
[2026-07-15 01:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132942,"packet_length":812,"packet_hex":"000f383632353637303731363332333232000000000000030f8e0a0000019f62..."} 
[2026-07-15 01:34:41] local.INFO: Processing buffer {"connection_id":132942,"buffer_length":812,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a0000019f62..."} 
[2026-07-15 01:34:41] local.INFO: IMEI packet received {"connection_id":132942,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":132942,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:34:45] local.INFO: TCP Data received {"connection_id":132942,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f623aaf68012d645a00062329200009012531..."} 
[2026-07-15 01:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f623aaf68012d645a00062329200009012531..."} 
[2026-07-15 01:34:45] local.INFO: Processing buffer {"connection_id":132942,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f623a9410012d647dc006231e100007011a30..."} 
[2026-07-15 01:34:45] local.INFO: Packet analysis {"connection_id":132942,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f623a"} 
[2026-07-15 01:34:45] local.INFO: Extracted packet for processing {"connection_id":132942,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f623a"} 
[2026-07-15 01:34:45] local.INFO: GPS Element Parsed {"raw_longitude":761560512,"raw_latitude":102964752,"longitude_deg":76.1560512,"latitude_deg":10.2964752,"altitude":7,"angle":282,"satellites":48,"speed":54,"hex_longitude":"2d647dc0","hex_latitude":"06231e10","is_valid_coordinates":true} 
[2026-07-15 01:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:34:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719213312001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:34:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135870203782234112,"note":"Value kept but may cause issues"} 
[2026-07-15 01:34:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7251710220099303424,"note":"Value kept but may cause issues"} 
[2026-07-15 01:34:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:34:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784059434000,"timestamp_ms":1784059434000,"timestamp_seconds":1784059434,"priority":1,"record_length":96,"hex_timestamp":"0000019f623a9410"} 
[2026-07-15 01:34:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:34:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-15 01:34:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:34:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:34:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:34:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:34:45] local.INFO: Teltonika packet parsed successfully {"connection_id":132942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:34:45] local.INFO: Passing IMEI to GPS processor {"connection_id":132942,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:34:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":132942,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:34:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:34:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:34:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:34:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719213312001,"66":27800,"254":206,"19":40704,"24":54,"16":135870203782234112,"45":7251710220099303424},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,19,24,16,45]} 
[2026-07-15 01:34:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:34:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:34:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719213312001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:34:45] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-15 01:34:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-15 01:34:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135870203782234112,"km_value":135870203782234.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:34:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":7251710220099303424,"description":"Unknown IO ID 45"} 
[2026-07-15 01:34:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719213312001,"power":27800,"unknown_254":206,"unknown_19":40704,"ignition":54,"odometer":null,"unknown_45":7251710220099303424}} 
[2026-07-15 01:34:45] local.INFO: DEBUG: GPS processor result {"connection_id":132942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488909,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:34:45] local.INFO: GPS data processed {"connection_id":132942,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:34:45] local.INFO: Acknowledgment sent {"connection_id":132942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:34:45] local.INFO: Packet analysis {"connection_id":132942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f623a"} 
[2026-07-15 01:34:45] local.INFO: Extracted packet for processing {"connection_id":132942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f623a"} 
[2026-07-15 01:34:45] local.INFO: GPS Element Parsed {"raw_longitude":761551360,"raw_latitude":102967584,"longitude_deg":76.155136,"latitude_deg":10.2967584,"altitude":9,"angle":293,"satellites":49,"speed":54,"hex_longitude":"2d645a00","hex_latitude":"06232920","is_valid_coordinates":true} 
[2026-07-15 01:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:34:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719215104001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:34:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135870659048767488,"note":"Value kept but may cause issues"} 
[2026-07-15 01:34:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7241154908473135104,"note":"Value kept but may cause issues"} 
[2026-07-15 01:34:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:34:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784059441000,"timestamp_ms":1784059441000,"timestamp_seconds":1784059441,"priority":1,"record_length":96,"hex_timestamp":"0000019f623aaf68"} 
[2026-07-15 01:34:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:34:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 01:34:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:34:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:34:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:34:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:34:45] local.INFO: Teltonika packet parsed successfully {"connection_id":132942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:34:45] local.INFO: Passing IMEI to GPS processor {"connection_id":132942,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:34:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":132942,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:34:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:34:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:34:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:34:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719215104001,"66":27626,"254":206,"19":40704,"24":54,"16":135870659048767488,"45":7241154908473135104},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,19,24,16,45]} 
[2026-07-15 01:34:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:34:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:34:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719215104001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:34:45] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-15 01:34:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-15 01:34:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135870659048767488,"km_value":135870659048767.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:34:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":7241154908473135104,"description":"Unknown IO ID 45"} 
[2026-07-15 01:34:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719215104001,"power":27626,"unknown_254":206,"unknown_19":40704,"ignition":54,"odometer":null,"unknown_45":7241154908473135104}} 
[2026-07-15 01:34:45] local.INFO: DEBUG: GPS processor result {"connection_id":132942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488910,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:34:45] local.INFO: GPS data processed {"connection_id":132942,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:34:45] local.INFO: Acknowledgment sent {"connection_id":132942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:34:47] local.INFO: TCP Data received {"connection_id":132942,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f623aaf68012d645a00062329200009012531..."} 
[2026-07-15 01:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f623aaf68012d645a00062329200009012531..."} 
[2026-07-15 01:34:47] local.INFO: Processing buffer {"connection_id":132942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f623aaf68012d645a00062329200009012531..."} 
[2026-07-15 01:34:47] local.INFO: Packet analysis {"connection_id":132942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f623a"} 
[2026-07-15 01:34:47] local.INFO: Extracted packet for processing {"connection_id":132942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f623a"} 
[2026-07-15 01:34:47] local.INFO: GPS Element Parsed {"raw_longitude":761551360,"raw_latitude":102967584,"longitude_deg":76.155136,"latitude_deg":10.2967584,"altitude":9,"angle":293,"satellites":49,"speed":54,"hex_longitude":"2d645a00","hex_latitude":"06232920","is_valid_coordinates":true} 
[2026-07-15 01:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719216896001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135870659048767488,"note":"Value kept but may cause issues"} 
[2026-07-15 01:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7231092178056454144,"note":"Value kept but may cause issues"} 
[2026-07-15 01:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784059441000,"timestamp_ms":1784059441000,"timestamp_seconds":1784059441,"priority":1,"record_length":96,"hex_timestamp":"0000019f623aaf68"} 
[2026-07-15 01:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-15 01:34:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:34:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":132942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":132942,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":132942,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719216896001,"66":27626,"254":206,"19":40704,"24":54,"16":135870659048767488,"45":7231092178056454144},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,19,24,16,45]} 
[2026-07-15 01:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719216896001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:34:47] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-15 01:34:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-15 01:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135870659048767488,"km_value":135870659048767.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":7231092178056454144,"description":"Unknown IO ID 45"} 
[2026-07-15 01:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719216896001,"power":27626,"unknown_254":206,"unknown_19":40704,"ignition":54,"odometer":null,"unknown_45":7231092178056454144}} 
[2026-07-15 01:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":132942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488911,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:34:47] local.INFO: GPS data processed {"connection_id":132942,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:34:47] local.INFO: Acknowledgment sent {"connection_id":132942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:35:03] local.INFO: TCP Data received {"connection_id":132102,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:35:03] local.INFO: Processing buffer {"connection_id":132102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:35:03] local.INFO: IMEI packet received {"connection_id":132102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":132102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:35:07] local.INFO: TCP Data received {"connection_id":132102,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:35:07] local.INFO: Processing buffer {"connection_id":132102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:35:07] local.INFO: IMEI packet received {"connection_id":132102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":132102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:35:08] local.INFO: TCP Data received {"connection_id":132102,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f623ac6d8012d7f92c005afd8300000005029..."} 
[2026-07-15 01:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f623ac6d8012d7f92c005afd8300000005029..."} 
[2026-07-15 01:35:08] local.INFO: Processing buffer {"connection_id":132102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f623ac6d8012d7f92c005afd8300000005029..."} 
[2026-07-15 01:35:08] local.INFO: Packet analysis {"connection_id":132102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f623a"} 
[2026-07-15 01:35:08] local.INFO: Extracted packet for processing {"connection_id":132102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f623a"} 
[2026-07-15 01:35:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719141376001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784059447000,"timestamp_ms":1784059447000,"timestamp_seconds":1784059447,"priority":1,"record_length":96,"hex_timestamp":"0000019f623ac6d8"} 
[2026-07-15 01:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:35:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 01:35:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:35:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719141376001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719141376001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:35:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:35:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719141376001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":132102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:35:08] local.INFO: GPS data processed {"connection_id":132102,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:35:08] local.INFO: Acknowledgment sent {"connection_id":132102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:35:18] local.INFO: TCP Data received {"connection_id":132942,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f623ac6d8012d643e0006233918000a013232..."} 
[2026-07-15 01:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f623ac6d8012d643e0006233918000a013232..."} 
[2026-07-15 01:35:18] local.INFO: Processing buffer {"connection_id":132942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f623ac6d8012d643e0006233918000a013232..."} 
[2026-07-15 01:35:18] local.INFO: Packet analysis {"connection_id":132942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f623a"} 
[2026-07-15 01:35:18] local.INFO: Extracted packet for processing {"connection_id":132942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f623a"} 
[2026-07-15 01:35:18] local.INFO: GPS Element Parsed {"raw_longitude":761544192,"raw_latitude":102971672,"longitude_deg":76.1544192,"latitude_deg":10.2971672,"altitude":10,"angle":306,"satellites":50,"speed":55,"hex_longitude":"2d643e00","hex_latitude":"06233918","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719216896001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135871058480726016,"note":"Value kept but may cause issues"} 
[2026-07-15 01:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7231092178056454144,"note":"Value kept but may cause issues"} 
[2026-07-15 01:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784059447000,"timestamp_ms":1784059447000,"timestamp_seconds":1784059447,"priority":1,"record_length":96,"hex_timestamp":"0000019f623ac6d8"} 
[2026-07-15 01:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:35: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-07-15 01: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-15 01:35:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":132942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":132942,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":132942,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719216896001,"66":27930,"254":206,"19":40704,"24":55,"16":135871058480726016,"45":7231092178056454144},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,19,24,16,45]} 
[2026-07-15 01:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719216896001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:35:18] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-15 01:35:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-15 01:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135871058480726016,"km_value":135871058480726.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":7231092178056454144,"description":"Unknown IO ID 45"} 
[2026-07-15 01:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719216896001,"power":27930,"unknown_254":206,"unknown_19":40704,"ignition":55,"odometer":null,"unknown_45":7231092178056454144}} 
[2026-07-15 01:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":132942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488913,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:35:18] local.INFO: GPS data processed {"connection_id":132942,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:35:18] local.INFO: Acknowledgment sent {"connection_id":132942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:35:39] local.INFO: TCP Data received {"connection_id":134308,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134308,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:35:39] local.INFO: Processing buffer {"connection_id":134308,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:35:39] local.INFO: IMEI packet received {"connection_id":134308,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":134308,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:35:41] local.INFO: TCP Data received {"connection_id":134308,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134308,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:35:41] local.INFO: Processing buffer {"connection_id":134308,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:35:41] local.INFO: IMEI packet received {"connection_id":134308,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":134308,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:35:42] local.INFO: TCP Data received {"connection_id":134308,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134308,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:35:42] local.INFO: Processing buffer {"connection_id":134308,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:35:42] local.INFO: IMEI packet received {"connection_id":134308,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:35:42] local.INFO: IMEI acknowledgment sent {"connection_id":134308,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:35:43] local.INFO: TCP Data received {"connection_id":134308,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f623ada60012d642a0006234b70000b013e32..."} 
[2026-07-15 01:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f623ada60012d642a0006234b70000b013e32..."} 
[2026-07-15 01:35:43] local.INFO: Processing buffer {"connection_id":134308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f623ada60012d642a0006234b70000b013e32..."} 
[2026-07-15 01:35:43] local.INFO: Packet analysis {"connection_id":134308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f623a"} 
[2026-07-15 01:35:43] local.INFO: Extracted packet for processing {"connection_id":134308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f623a"} 
[2026-07-15 01:35:43] local.INFO: GPS Element Parsed {"raw_longitude":761539072,"raw_latitude":102976368,"longitude_deg":76.1539072,"latitude_deg":10.2976368,"altitude":11,"angle":318,"satellites":50,"speed":55,"hex_longitude":"2d642a00","hex_latitude":"06234b70","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719218432001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135871393488175104,"note":"Value kept but may cause issues"} 
[2026-07-15 01:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7223210878709602304,"note":"Value kept but may cause issues"} 
[2026-07-15 01:35:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784059452000,"timestamp_ms":1784059452000,"timestamp_seconds":1784059452,"priority":1,"record_length":96,"hex_timestamp":"0000019f623ada60"} 
[2026-07-15 01:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:35:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-15 01:35:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":134308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":134308,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":134308,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719218432001,"66":28006,"254":206,"19":40704,"24":55,"16":135871393488175104,"45":7223210878709602304},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,19,24,16,45]} 
[2026-07-15 01:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719218432001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:35:43] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-15 01:35:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-15 01:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135871393488175104,"km_value":135871393488175.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":7223210878709602304,"description":"Unknown IO ID 45"} 
[2026-07-15 01:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719218432001,"power":28006,"unknown_254":206,"unknown_19":40704,"ignition":55,"odometer":null,"unknown_45":7223210878709602304}} 
[2026-07-15 01:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":134308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488914,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:35:43] local.INFO: GPS data processed {"connection_id":134308,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:35:43] local.INFO: Acknowledgment sent {"connection_id":134308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:35:43] local.INFO: TCP Data received {"connection_id":132102,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f623ac6d8012d7f92c005afd8300000005029..."} 
[2026-07-15 01:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f623ac6d8012d7f92c005afd8300000005029..."} 
[2026-07-15 01:35:43] local.INFO: Processing buffer {"connection_id":132102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f623ac6d8012d7f92c005afd8300000005029..."} 
[2026-07-15 01:35:43] local.INFO: Packet analysis {"connection_id":132102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f623a"} 
[2026-07-15 01:35:43] local.INFO: Extracted packet for processing {"connection_id":132102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f623a"} 
[2026-07-15 01:35:43] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719141376001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:35:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784059447000,"timestamp_ms":1784059447000,"timestamp_seconds":1784059447,"priority":1,"record_length":96,"hex_timestamp":"0000019f623ac6d8"} 
[2026-07-15 01:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:35:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 01:35:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":132102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":132102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":132102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:35:43] 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-07-15 01:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719141376001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719141376001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:35:43] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:35:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719141376001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":132102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:35:43] local.INFO: GPS data processed {"connection_id":132102,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:35:43] local.INFO: Acknowledgment sent {"connection_id":132102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:35:46] local.INFO: TCP Data received {"connection_id":134308,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f623af1d0012d6416c006236650000a014a31..."} 
[2026-07-15 01:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f623af1d0012d6416c006236650000a014a31..."} 
[2026-07-15 01:35:46] local.INFO: Processing buffer {"connection_id":134308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f623af1d0012d6416c006236650000a014a31..."} 
[2026-07-15 01:35:46] local.INFO: Packet analysis {"connection_id":134308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f623a"} 
[2026-07-15 01:35:46] local.INFO: Extracted packet for processing {"connection_id":134308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f623a"} 
[2026-07-15 01:35:46] local.INFO: GPS Element Parsed {"raw_longitude":761534144,"raw_latitude":102983248,"longitude_deg":76.1534144,"latitude_deg":10.2983248,"altitude":10,"angle":330,"satellites":49,"speed":56,"hex_longitude":"2d6416c0","hex_latitude":"06236650","is_valid_coordinates":true} 
[2026-07-15 01:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719219712001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135871801510068224,"note":"Value kept but may cause issues"} 
[2026-07-15 01:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7217581379176591360,"note":"Value kept but may cause issues"} 
[2026-07-15 01:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784059458000,"timestamp_ms":1784059458000,"timestamp_seconds":1784059458,"priority":1,"record_length":96,"hex_timestamp":"0000019f623af1d0"} 
[2026-07-15 01:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 01:35:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:35:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":134308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":134308,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":134308,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719219712001,"66":27930,"254":206,"19":40704,"24":56,"16":135871801510068224,"45":7217581379176591360},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,19,24,16,45]} 
[2026-07-15 01:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719219712001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:35:46] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-15 01:35:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-15 01:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135871801510068224,"km_value":135871801510068.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":7217581379176591360,"description":"Unknown IO ID 45"} 
[2026-07-15 01:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719219712001,"power":27930,"unknown_254":206,"unknown_19":40704,"ignition":56,"odometer":null,"unknown_45":7217581379176591360}} 
[2026-07-15 01:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":134308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488916,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:35:46] local.INFO: GPS data processed {"connection_id":134308,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:35:46] local.INFO: Acknowledgment sent {"connection_id":134308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:36:02] local.INFO: TCP Data received {"connection_id":132103,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:36:02] local.INFO: Processing buffer {"connection_id":132103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:36:02] local.INFO: IMEI packet received {"connection_id":132103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":132103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:36:07] local.INFO: TCP Data received {"connection_id":132103,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:36:08] local.INFO: Processing buffer {"connection_id":132103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:36:08] local.INFO: IMEI packet received {"connection_id":132103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":132103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:36:08] local.INFO: TCP Data received {"connection_id":132103,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f623ac6d8012d7f92c005afd8300000005029..."} 
[2026-07-15 01:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f623ac6d8012d7f92c005afd8300000005029..."} 
[2026-07-15 01:36:08] local.INFO: Processing buffer {"connection_id":132103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f623ac6d8012d7f92c005afd8300000005029..."} 
[2026-07-15 01:36:08] local.INFO: Packet analysis {"connection_id":132103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f623a"} 
[2026-07-15 01:36:08] local.INFO: Extracted packet for processing {"connection_id":132103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f623a"} 
[2026-07-15 01:36:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719141376001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784059447000,"timestamp_ms":1784059447000,"timestamp_seconds":1784059447,"priority":1,"record_length":96,"hex_timestamp":"0000019f623ac6d8"} 
[2026-07-15 01:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 01:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719141376001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719141376001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:36:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:36:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719141376001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":132103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:36:08] local.INFO: GPS data processed {"connection_id":132103,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:36:08] local.INFO: Acknowledgment sent {"connection_id":132103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:36:17] local.INFO: TCP Data received {"connection_id":134308,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f623b0d28012d6407c006238bc0000a015631..."} 
[2026-07-15 01:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f623b0d28012d6407c006238bc0000a015631..."} 
[2026-07-15 01:36:17] local.INFO: Processing buffer {"connection_id":134308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f623b0d28012d6407c006238bc0000a015631..."} 
[2026-07-15 01:36:17] local.INFO: Packet analysis {"connection_id":134308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f623b"} 
[2026-07-15 01:36:17] local.INFO: Extracted packet for processing {"connection_id":134308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f623b"} 
[2026-07-15 01:36:17] local.INFO: GPS Element Parsed {"raw_longitude":761530304,"raw_latitude":102992832,"longitude_deg":76.1530304,"latitude_deg":10.2992832,"altitude":10,"angle":342,"satellites":49,"speed":60,"hex_longitude":"2d6407c0","hex_latitude":"06238bc0","is_valid_coordinates":true} 
[2026-07-15 01:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719221248001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135872299726274560,"note":"Value kept but may cause issues"} 
[2026-07-15 01:36:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7212162985876672512,"note":"Value kept but may cause issues"} 
[2026-07-15 01:36:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784059465000,"timestamp_ms":1784059465000,"timestamp_seconds":1784059465,"priority":1,"record_length":96,"hex_timestamp":"0000019f623b0d28"} 
[2026-07-15 01:36:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:36:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-15 01:36:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:36:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:36:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":134308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":134308,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":134308,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:36:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719221248001,"66":27832,"254":206,"19":40704,"24":60,"16":135872299726274560,"45":7212162985876672512},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,19,24,16,45]} 
[2026-07-15 01:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719221248001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:36:17] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-15 01:36:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-15 01:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135872299726274560,"km_value":135872299726274.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:36:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":7212162985876672512,"description":"Unknown IO ID 45"} 
[2026-07-15 01:36:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719221248001,"power":27832,"unknown_254":206,"unknown_19":40704,"ignition":60,"odometer":null,"unknown_45":7212162985876672512}} 
[2026-07-15 01:36:17] local.INFO: DEBUG: GPS processor result {"connection_id":134308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488918,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:36:17] local.INFO: GPS data processed {"connection_id":134308,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:36:17] local.INFO: Acknowledgment sent {"connection_id":134308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:36:40] local.INFO: TCP Data received {"connection_id":132103,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f623ac6d8012d7f92c005afd8300000005029..."} 
[2026-07-15 01:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f623ac6d8012d7f92c005afd8300000005029..."} 
[2026-07-15 01:36:40] local.INFO: Processing buffer {"connection_id":132103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f623ac6d8012d7f92c005afd8300000005029..."} 
[2026-07-15 01:36:40] local.INFO: Packet analysis {"connection_id":132103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f623a"} 
[2026-07-15 01:36:40] local.INFO: Extracted packet for processing {"connection_id":132103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f623a"} 
[2026-07-15 01:36:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719141376001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784059447000,"timestamp_ms":1784059447000,"timestamp_seconds":1784059447,"priority":1,"record_length":96,"hex_timestamp":"0000019f623ac6d8"} 
[2026-07-15 01:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:36:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 01:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:36:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:36:40] 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-07-15 01:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719141376001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719141376001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:36:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:36:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719141376001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":132103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:36:40] local.INFO: GPS data processed {"connection_id":132103,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:36:40] local.INFO: Acknowledgment sent {"connection_id":132103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:36:45] local.INFO: TCP Data received {"connection_id":131927,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131927,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:36:45] local.INFO: Processing buffer {"connection_id":131927,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:36:45] local.INFO: IMEI packet received {"connection_id":131927,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":131927,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:36:46] local.INFO: TCP Data received {"connection_id":131927,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131927,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:36:46] local.INFO: Processing buffer {"connection_id":131927,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:36:46] local.INFO: IMEI packet received {"connection_id":131927,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":131927,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:36:51] local.INFO: TCP Data received {"connection_id":131927,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131927,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:36:51] local.INFO: Processing buffer {"connection_id":131927,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:36:51] local.INFO: IMEI packet received {"connection_id":131927,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":131927,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:36:52] local.INFO: TCP Data received {"connection_id":131927,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f623c2280012d63bf000624b1980003015e2d..."} 
[2026-07-15 01:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f623c2280012d63bf000624b1980003015e2d..."} 
[2026-07-15 01:36:52] local.INFO: Processing buffer {"connection_id":131927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f623c2280012d63bf000624b1980003015e2d..."} 
[2026-07-15 01:36:52] local.INFO: Packet analysis {"connection_id":131927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f623c"} 
[2026-07-15 01:36:52] local.INFO: Extracted packet for processing {"connection_id":131927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f623c"} 
[2026-07-15 01:36:52] local.INFO: GPS Element Parsed {"raw_longitude":761511680,"raw_latitude":103068056,"longitude_deg":76.151168,"latitude_deg":10.3068056,"altitude":3,"angle":350,"satellites":45,"speed":39,"hex_longitude":"2d63bf00","hex_latitude":"0624b198","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719238912001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135876057822658560,"note":"Value kept but may cause issues"} 
[2026-07-15 01:36:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7189856093991774208,"note":"Value kept but may cause issues"} 
[2026-07-15 01:36:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1784059536000,"timestamp_ms":1784059536000,"timestamp_seconds":1784059536,"priority":1,"record_length":96,"hex_timestamp":"0000019f623c2280"} 
[2026-07-15 01:36:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:36:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 01:36:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:36:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":131927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":131927,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":131927,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:36:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719238912001,"66":27995,"253":206,"19":40704,"24":39,"16":135876057822658560,"45":7189856093991774208},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,19,24,16,45]} 
[2026-07-15 01:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719238912001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:36:52] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-07-15 01:36:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-15 01:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135876057822658560,"km_value":135876057822658.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:36:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":7189856093991774208,"description":"Unknown IO ID 45"} 
[2026-07-15 01:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719238912001,"power":27995,"unknown_253":206,"unknown_19":40704,"ignition":39,"odometer":null,"unknown_45":7189856093991774208}} 
[2026-07-15 01:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":131927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488920,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:36:52] local.INFO: GPS data processed {"connection_id":131927,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:36:52] local.INFO: Acknowledgment sent {"connection_id":131927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:37:07] local.INFO: TCP Data received {"connection_id":131928,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:37:07] local.INFO: Processing buffer {"connection_id":131928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:37:07] local.INFO: IMEI packet received {"connection_id":131928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":131928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:37:12] local.INFO: TCP Data received {"connection_id":131928,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:37:13] local.INFO: Processing buffer {"connection_id":131928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:37:13] local.INFO: IMEI packet received {"connection_id":131928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":131928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:37:13] local.INFO: TCP Data received {"connection_id":131928,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f623ac6d8012d7f92c005afd8300000005029..."} 
[2026-07-15 01:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f623ac6d8012d7f92c005afd8300000005029..."} 
[2026-07-15 01:37:13] local.INFO: Processing buffer {"connection_id":131928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f623ac6d8012d7f92c005afd8300000005029..."} 
[2026-07-15 01:37:13] local.INFO: Packet analysis {"connection_id":131928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f623a"} 
[2026-07-15 01:37:13] local.INFO: Extracted packet for processing {"connection_id":131928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f623a"} 
[2026-07-15 01:37:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719141376001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784059447000,"timestamp_ms":1784059447000,"timestamp_seconds":1784059447,"priority":1,"record_length":96,"hex_timestamp":"0000019f623ac6d8"} 
[2026-07-15 01:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 01:37:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":131928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":131928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":131928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719141376001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719141376001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:37:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:37:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719141376001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":131928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:37:13] local.INFO: GPS data processed {"connection_id":131928,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:37:13] local.INFO: Acknowledgment sent {"connection_id":131928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:37:18] local.INFO: TCP Data received {"connection_id":131928,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f623ac6d8012d7f92c005afd8300000005029..."} 
[2026-07-15 01:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f623ac6d8012d7f92c005afd8300000005029..."} 
[2026-07-15 01:37:18] local.INFO: Processing buffer {"connection_id":131928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f623ac6d8012d7f92c005afd8300000005029..."} 
[2026-07-15 01:37:18] local.INFO: Packet analysis {"connection_id":131928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f623a"} 
[2026-07-15 01:37:18] local.INFO: Extracted packet for processing {"connection_id":131928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f623a"} 
[2026-07-15 01:37:18] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:37:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719141376001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:37:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:37:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:37:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:37:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784059447000,"timestamp_ms":1784059447000,"timestamp_seconds":1784059447,"priority":1,"record_length":96,"hex_timestamp":"0000019f623ac6d8"} 
[2026-07-15 01:37:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:37:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 01:37:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:37:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:37:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:37:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":131928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":131928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":131928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:37:18] 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-07-15 01:37:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:37:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:37:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719141376001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:37:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:37:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:37:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719141376001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:37:18] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:37:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:37:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:37:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:37:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719141376001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:37:18] local.INFO: DEBUG: GPS processor result {"connection_id":131928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:37:18] local.INFO: GPS data processed {"connection_id":131928,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:37:18] local.INFO: Acknowledgment sent {"connection_id":131928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:37:33] local.INFO: TCP Data received {"connection_id":132104,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132104,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:37:33] local.INFO: Processing buffer {"connection_id":132104,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:37:33] local.INFO: IMEI packet received {"connection_id":132104,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":132104,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:37:36] local.INFO: TCP Data received {"connection_id":132104,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132104,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:37:36] local.INFO: Processing buffer {"connection_id":132104,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:37:36] local.INFO: IMEI packet received {"connection_id":132104,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":132104,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:37:38] local.INFO: TCP Data received {"connection_id":132104,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132104,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:37:38] local.INFO: Processing buffer {"connection_id":132104,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:37:38] local.INFO: IMEI packet received {"connection_id":132104,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:37:38] local.INFO: IMEI acknowledgment sent {"connection_id":132104,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:37:38] local.INFO: TCP Data received {"connection_id":132104,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f623d2068012d634a000625bac0000701482b..."} 
[2026-07-15 01:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f623d2068012d634a000625bac0000701482b..."} 
[2026-07-15 01:37:38] local.INFO: Processing buffer {"connection_id":132104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f623d2068012d634a000625bac0000701482b..."} 
[2026-07-15 01:37:38] local.INFO: Packet analysis {"connection_id":132104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f623d"} 
[2026-07-15 01:37:38] local.INFO: Extracted packet for processing {"connection_id":132104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f623d"} 
[2026-07-15 01:37:38] local.INFO: GPS Element Parsed {"raw_longitude":761481728,"raw_latitude":103135936,"longitude_deg":76.1481728,"latitude_deg":10.3135936,"altitude":7,"angle":328,"satellites":43,"speed":48,"hex_longitude":"2d634a00","hex_latitude":"0625bac0","is_valid_coordinates":true} 
[2026-07-15 01:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719257344001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135879717134794752,"note":"Value kept but may cause issues"} 
[2026-07-15 01:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7156079096805666816,"note":"Value kept but may cause issues"} 
[2026-07-15 01:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784059601000,"timestamp_ms":1784059601000,"timestamp_seconds":1784059601,"priority":1,"record_length":96,"hex_timestamp":"0000019f623d2068"} 
[2026-07-15 01:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 01:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132104,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132104,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:37:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719257344001,"66":27789,"12":206,"19":40192,"24":48,"16":135879717134794752,"45":7156079096805666816},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-07-15 01:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719257344001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:37:39] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-07-15 01:37:39] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-15 01:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135879717134794752,"km_value":135879717134794.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":7156079096805666816,"description":"Unknown IO ID 45"} 
[2026-07-15 01:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719257344001,"power":27789,"unknown_12":206,"unknown_19":40192,"ignition":48,"odometer":null,"unknown_45":7156079096805666816}} 
[2026-07-15 01:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":132104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488923,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:37:39] local.INFO: GPS data processed {"connection_id":132104,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:37:39] local.INFO: Acknowledgment sent {"connection_id":132104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:38:02] local.INFO: TCP Data received {"connection_id":134309,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:38:02] local.INFO: Processing buffer {"connection_id":134309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:38:02] local.INFO: IMEI packet received {"connection_id":134309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":134309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:38:07] local.INFO: TCP Data received {"connection_id":134309,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:38:07] local.INFO: Processing buffer {"connection_id":134309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:38:07] local.INFO: IMEI packet received {"connection_id":134309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":134309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:38:08] local.INFO: TCP Data received {"connection_id":134309,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f623ac6d8012d7f92c005afd8300000005029..."} 
[2026-07-15 01:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f623ac6d8012d7f92c005afd8300000005029..."} 
[2026-07-15 01:38:08] local.INFO: Processing buffer {"connection_id":134309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f623ac6d8012d7f92c005afd8300000005029..."} 
[2026-07-15 01:38:08] local.INFO: Packet analysis {"connection_id":134309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f623a"} 
[2026-07-15 01:38:08] local.INFO: Extracted packet for processing {"connection_id":134309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f623a"} 
[2026-07-15 01:38:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719141376001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784059447000,"timestamp_ms":1784059447000,"timestamp_seconds":1784059447,"priority":1,"record_length":96,"hex_timestamp":"0000019f623ac6d8"} 
[2026-07-15 01:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 01:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719141376001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719141376001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:38:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:38:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719141376001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":134309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:38:08] local.INFO: GPS data processed {"connection_id":134309,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:38:08] local.INFO: Acknowledgment sent {"connection_id":134309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:38:10] local.INFO: TCP Data received {"connection_id":132104,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f623d3bc0012d6337c00625d870000601472a..."} 
[2026-07-15 01:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f623d3bc0012d6337c00625d870000601472a..."} 
[2026-07-15 01:38:10] local.INFO: Processing buffer {"connection_id":132104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f623d3bc0012d6337c00625d870000601472a..."} 
[2026-07-15 01:38:10] local.INFO: Packet analysis {"connection_id":132104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f623d"} 
[2026-07-15 01:38:10] local.INFO: Extracted packet for processing {"connection_id":132104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f623d"} 
[2026-07-15 01:38:10] local.INFO: GPS Element Parsed {"raw_longitude":761477056,"raw_latitude":103143536,"longitude_deg":76.1477056,"latitude_deg":10.3143536,"altitude":6,"angle":327,"satellites":42,"speed":52,"hex_longitude":"2d6337c0","hex_latitude":"0625d870","is_valid_coordinates":true} 
[2026-07-15 01:38: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-07-15 01:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719257856001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135880150926491648,"note":"Value kept but may cause issues"} 
[2026-07-15 01:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7154530984434253824,"note":"Value kept but may cause issues"} 
[2026-07-15 01:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784059608000,"timestamp_ms":1784059608000,"timestamp_seconds":1784059608,"priority":1,"record_length":96,"hex_timestamp":"0000019f623d3bc0"} 
[2026-07-15 01:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-15 01:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:38: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-07-15 01:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":132104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":132104,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":132104,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719257856001,"66":27876,"12":206,"19":40192,"24":52,"16":135880150926491648,"45":7154530984434253824},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-07-15 01:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719257856001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:38:10] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-07-15 01:38:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-15 01:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135880150926491648,"km_value":135880150926491.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7154530984434253824,"description":"Unknown IO ID 45"} 
[2026-07-15 01:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719257856001,"power":27876,"unknown_12":206,"unknown_19":40192,"ignition":52,"odometer":null,"unknown_45":7154530984434253824}} 
[2026-07-15 01:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":132104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488925,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:38:10] local.INFO: GPS data processed {"connection_id":132104,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:38:10] local.INFO: Acknowledgment sent {"connection_id":132104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:38:34] local.INFO: TCP Data received {"connection_id":132943,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132943,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:38:34] local.INFO: Processing buffer {"connection_id":132943,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:38:34] local.INFO: IMEI packet received {"connection_id":132943,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":132943,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:38:36] local.INFO: TCP Data received {"connection_id":132943,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132943,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:38:36] local.INFO: Processing buffer {"connection_id":132943,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:38:36] local.INFO: IMEI packet received {"connection_id":132943,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":132943,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:38:41] local.INFO: TCP Data received {"connection_id":132943,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132943,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:38:41] local.INFO: Processing buffer {"connection_id":132943,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:38:41] local.INFO: IMEI packet received {"connection_id":132943,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":132943,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:38:42] local.INFO: TCP Data received {"connection_id":134309,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f623ac6d8012d7f92c005afd8300000005029..."} 
[2026-07-15 01:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f623ac6d8012d7f92c005afd8300000005029..."} 
[2026-07-15 01:38:42] local.INFO: Processing buffer {"connection_id":134309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f623ac6d8012d7f92c005afd8300000005029..."} 
[2026-07-15 01:38:42] local.INFO: Packet analysis {"connection_id":134309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f623a"} 
[2026-07-15 01:38:42] local.INFO: Extracted packet for processing {"connection_id":134309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f623a"} 
[2026-07-15 01:38:42] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719141376001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784059447000,"timestamp_ms":1784059447000,"timestamp_seconds":1784059447,"priority":1,"record_length":96,"hex_timestamp":"0000019f623ac6d8"} 
[2026-07-15 01:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 01:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":134309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":134309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":134309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:38:42] 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-07-15 01:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719141376001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719141376001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:38:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:38:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719141376001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":134309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:38:42] local.INFO: GPS data processed {"connection_id":134309,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:38:42] local.INFO: Acknowledgment sent {"connection_id":134309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:38:43] local.INFO: TCP Data received {"connection_id":132943,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f623d5718012d6325000625f7780008014b2b..."} 
[2026-07-15 01:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f623d5718012d6325000625f7780008014b2b..."} 
[2026-07-15 01:38:43] local.INFO: Processing buffer {"connection_id":132943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f623d5718012d6325000625f7780008014b2b..."} 
[2026-07-15 01:38:43] local.INFO: Packet analysis {"connection_id":132943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f623d"} 
[2026-07-15 01:38:43] local.INFO: Extracted packet for processing {"connection_id":132943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f623d"} 
[2026-07-15 01:38:43] local.INFO: GPS Element Parsed {"raw_longitude":761472256,"raw_latitude":103151480,"longitude_deg":76.1472256,"latitude_deg":10.315148,"altitude":8,"angle":331,"satellites":43,"speed":52,"hex_longitude":"2d632500","hex_latitude":"0625f778","is_valid_coordinates":true} 
[2026-07-15 01:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719259648001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135880597603090432,"note":"Value kept but may cause issues"} 
[2026-07-15 01:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7149394066111229952,"note":"Value kept but may cause issues"} 
[2026-07-15 01:38:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784059615000,"timestamp_ms":1784059615000,"timestamp_seconds":1784059615,"priority":1,"record_length":96,"hex_timestamp":"0000019f623d5718"} 
[2026-07-15 01:38:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:38:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-15 01:38:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:38:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:38:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":132943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":132943,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":132943,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:38:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719259648001,"66":27767,"12":206,"19":40192,"24":52,"16":135880597603090432,"45":7149394066111229952},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-07-15 01:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719259648001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:38:43] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-07-15 01:38:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-15 01:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135880597603090432,"km_value":135880597603090.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":7149394066111229952,"description":"Unknown IO ID 45"} 
[2026-07-15 01:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719259648001,"power":27767,"unknown_12":206,"unknown_19":40192,"ignition":52,"odometer":null,"unknown_45":7149394066111229952}} 
[2026-07-15 01:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":132943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488927,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:38:43] local.INFO: GPS data processed {"connection_id":132943,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:38:43] local.INFO: Acknowledgment sent {"connection_id":132943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:39:02] local.INFO: TCP Data received {"connection_id":131929,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:39:02] local.INFO: Processing buffer {"connection_id":131929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:39:02] local.INFO: IMEI packet received {"connection_id":131929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":131929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:39:07] local.INFO: TCP Data received {"connection_id":131929,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:39:07] local.INFO: Processing buffer {"connection_id":131929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:39:07] local.INFO: IMEI packet received {"connection_id":131929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":131929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:39:08] local.INFO: TCP Data received {"connection_id":131929,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f623ac6d8012d7f92c005afd8300000005029..."} 
[2026-07-15 01:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f623ac6d8012d7f92c005afd8300000005029..."} 
[2026-07-15 01:39:08] local.INFO: Processing buffer {"connection_id":131929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f623ac6d8012d7f92c005afd8300000005029..."} 
[2026-07-15 01:39:08] local.INFO: Packet analysis {"connection_id":131929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f623a"} 
[2026-07-15 01:39:08] local.INFO: Extracted packet for processing {"connection_id":131929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f623a"} 
[2026-07-15 01:39:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719141376001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784059447000,"timestamp_ms":1784059447000,"timestamp_seconds":1784059447,"priority":1,"record_length":96,"hex_timestamp":"0000019f623ac6d8"} 
[2026-07-15 01:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 01:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":131929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":131929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":131929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719141376001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719141376001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:39:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:39:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719141376001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":131929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:39:08] local.INFO: GPS data processed {"connection_id":131929,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:39:08] local.INFO: Acknowledgment sent {"connection_id":131929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:39:15] local.INFO: TCP Data received {"connection_id":132943,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f623eba90012d628d0006279310000501362a..."} 
[2026-07-15 01:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f623eba90012d628d0006279310000501362a..."} 
[2026-07-15 01:39:15] local.INFO: Processing buffer {"connection_id":132943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f623eba90012d628d0006279310000501362a..."} 
[2026-07-15 01:39:15] local.INFO: Packet analysis {"connection_id":132943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f623e"} 
[2026-07-15 01:39:15] local.INFO: Extracted packet for processing {"connection_id":132943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f623e"} 
[2026-07-15 01:39:15] local.INFO: GPS Element Parsed {"raw_longitude":761433344,"raw_latitude":103256848,"longitude_deg":76.1433344,"latitude_deg":10.3256848,"altitude":5,"angle":310,"satellites":42,"speed":27,"hex_longitude":"2d628d00","hex_latitude":"06279310","is_valid_coordinates":true} 
[2026-07-15 01:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719283200001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135886069391425536,"note":"Value kept but may cause issues"} 
[2026-07-15 01:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7104921019818481664,"note":"Value kept but may cause issues"} 
[2026-07-15 01:39:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784059706000,"timestamp_ms":1784059706000,"timestamp_seconds":1784059706,"priority":1,"record_length":96,"hex_timestamp":"0000019f623eba90"} 
[2026-07-15 01:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-15 01:39:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:39:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":132943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":132943,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":132943,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719283200001,"66":27821,"13":206,"19":40192,"24":27,"16":135886069391425536,"45":7104921019818481664},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-07-15 01:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719283200001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:39:15] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-07-15 01:39:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-15 01:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135886069391425536,"km_value":135886069391425.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":7104921019818481664,"description":"Unknown IO ID 45"} 
[2026-07-15 01:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719283200001,"power":27821,"unknown_13":206,"unknown_19":40192,"ignition":27,"odometer":null,"unknown_45":7104921019818481664}} 
[2026-07-15 01:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":132943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488929,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:39:15] local.INFO: GPS data processed {"connection_id":132943,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:39:15] local.INFO: Acknowledgment sent {"connection_id":132943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:39:36] local.INFO: TCP Data received {"connection_id":134310,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134310,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:39:36] local.INFO: Processing buffer {"connection_id":134310,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:39:36] local.INFO: IMEI packet received {"connection_id":134310,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":134310,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:39:37] local.INFO: TCP Data received {"connection_id":134310,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134310,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:39:37] local.INFO: Processing buffer {"connection_id":134310,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:39:37] local.INFO: IMEI packet received {"connection_id":134310,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":134310,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:39:40] local.INFO: TCP Data received {"connection_id":131929,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f623ac6d8012d7f92c005afd8300000005029..."} 
[2026-07-15 01:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f623ac6d8012d7f92c005afd8300000005029..."} 
[2026-07-15 01:39:40] local.INFO: Processing buffer {"connection_id":131929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f623ac6d8012d7f92c005afd8300000005029..."} 
[2026-07-15 01:39:40] local.INFO: Packet analysis {"connection_id":131929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f623a"} 
[2026-07-15 01:39:40] local.INFO: Extracted packet for processing {"connection_id":131929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f623a"} 
[2026-07-15 01:39:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719141376001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784059447000,"timestamp_ms":1784059447000,"timestamp_seconds":1784059447,"priority":1,"record_length":96,"hex_timestamp":"0000019f623ac6d8"} 
[2026-07-15 01:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 01:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:39:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:39:40] 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-07-15 01:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719141376001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719141376001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:39:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:39:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719141376001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":131929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:39:40] local.INFO: GPS data processed {"connection_id":131929,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:39:40] local.INFO: Acknowledgment sent {"connection_id":131929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:39:41] local.INFO: TCP Data received {"connection_id":134310,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134310,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:39:41] local.INFO: Processing buffer {"connection_id":134310,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:39:41] local.INFO: IMEI packet received {"connection_id":134310,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":134310,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:39:41] local.INFO: TCP Data received {"connection_id":134310,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f623ec260012d62898006279520000401232b..."} 
[2026-07-15 01:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f623ec260012d62898006279520000401232b..."} 
[2026-07-15 01:39:41] local.INFO: Processing buffer {"connection_id":134310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f623ec260012d62898006279520000401232b..."} 
[2026-07-15 01:39:41] local.INFO: Packet analysis {"connection_id":134310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f623e"} 
[2026-07-15 01:39:41] local.INFO: Extracted packet for processing {"connection_id":134310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f623e"} 
[2026-07-15 01:39:41] local.INFO: GPS Element Parsed {"raw_longitude":761432448,"raw_latitude":103257376,"longitude_deg":76.1432448,"latitude_deg":10.3257376,"altitude":4,"angle":291,"satellites":43,"speed":18,"hex_longitude":"2d628980","hex_latitude":"06279520","is_valid_coordinates":true} 
[2026-07-15 01:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719284736001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135886116636065792,"note":"Value kept but may cause issues"} 
[2026-07-15 01:39:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7101332213866893312,"note":"Value kept but may cause issues"} 
[2026-07-15 01:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784059708000,"timestamp_ms":1784059708000,"timestamp_seconds":1784059708,"priority":1,"record_length":96,"hex_timestamp":"0000019f623ec260"} 
[2026-07-15 01:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 01:39:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:39:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":134310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":134310,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":134310,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719284736001,"66":27713,"13":206,"19":40192,"24":18,"16":135886116636065792,"45":7101332213866893312},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-07-15 01:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719284736001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:39:41] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-07-15 01:39:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-15 01:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135886116636065792,"km_value":135886116636065.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:39:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":7101332213866893312,"description":"Unknown IO ID 45"} 
[2026-07-15 01:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719284736001,"power":27713,"unknown_13":206,"unknown_19":40192,"ignition":18,"odometer":null,"unknown_45":7101332213866893312}} 
[2026-07-15 01:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":134310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488931,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:39:41] local.INFO: GPS data processed {"connection_id":134310,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:39:41] local.INFO: Acknowledgment sent {"connection_id":134310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:40:06] local.INFO: TCP Data received {"connection_id":132944,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:40:06] local.INFO: Processing buffer {"connection_id":132944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:40:06] local.INFO: IMEI packet received {"connection_id":132944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":132944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:40:07] local.INFO: TCP Data received {"connection_id":132944,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:40:07] local.INFO: Processing buffer {"connection_id":132944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:40:07] local.INFO: IMEI packet received {"connection_id":132944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":132944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:40:08] local.INFO: TCP Data received {"connection_id":132944,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f623f5ea0012d7f92c005afd8300000005028..."} 
[2026-07-15 01:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f623f5ea0012d7f92c005afd8300000005028..."} 
[2026-07-15 01:40:08] local.INFO: Processing buffer {"connection_id":132944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f623f5ea0012d7f92c005afd8300000005028..."} 
[2026-07-15 01:40:08] local.INFO: Packet analysis {"connection_id":132944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f623f"} 
[2026-07-15 01:40:08] local.INFO: Extracted packet for processing {"connection_id":132944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f623f"} 
[2026-07-15 01:40:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719218432001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:40:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784059748000,"timestamp_ms":1784059748000,"timestamp_seconds":1784059748,"priority":1,"record_length":96,"hex_timestamp":"0000019f623f5ea0"} 
[2026-07-15 01:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:40:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719218432001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719218432001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:40:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:40:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719218432001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":132944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:40:08] local.INFO: GPS data processed {"connection_id":132944,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:40:08] local.INFO: Acknowledgment sent {"connection_id":132944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:40:13] local.INFO: TCP Data received {"connection_id":134310,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f623eca30012d6285c006279608000401162c..."} 
[2026-07-15 01:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f623eca30012d6285c006279608000401162c..."} 
[2026-07-15 01:40:13] local.INFO: Processing buffer {"connection_id":134310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f623eca30012d6285c006279608000401162c..."} 
[2026-07-15 01:40:13] local.INFO: Packet analysis {"connection_id":134310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f623e"} 
[2026-07-15 01:40:13] local.INFO: Extracted packet for processing {"connection_id":134310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f623e"} 
[2026-07-15 01:40:13] local.INFO: GPS Element Parsed {"raw_longitude":761431488,"raw_latitude":103257608,"longitude_deg":76.1431488,"latitude_deg":10.3257608,"altitude":4,"angle":278,"satellites":44,"speed":19,"hex_longitude":"2d6285c0","hex_latitude":"06279608","is_valid_coordinates":true} 
[2026-07-15 01:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:40:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719285248001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:40:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135886163880706048,"note":"Value kept but may cause issues"} 
[2026-07-15 01:40:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7100347051448541184,"note":"Value kept but may cause issues"} 
[2026-07-15 01:40:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:40:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784059710000,"timestamp_ms":1784059710000,"timestamp_seconds":1784059710,"priority":1,"record_length":96,"hex_timestamp":"0000019f623eca30"} 
[2026-07-15 01:40:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:40:13] 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-07-15 01:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-15 01:40:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:40:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:40:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:40:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":134310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":134310,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":134310,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:40:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:40:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:40:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:40:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719285248001,"66":27876,"13":206,"19":40192,"24":19,"16":135886163880706048,"45":7100347051448541184},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-07-15 01:40:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:40:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:40:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719285248001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:40:13] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-07-15 01:40:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-15 01:40:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135886163880706048,"km_value":135886163880706.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:40:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":7100347051448541184,"description":"Unknown IO ID 45"} 
[2026-07-15 01:40:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719285248001,"power":27876,"unknown_13":206,"unknown_19":40192,"ignition":19,"odometer":null,"unknown_45":7100347051448541184}} 
[2026-07-15 01:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":134310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488933,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:40:13] local.INFO: GPS data processed {"connection_id":134310,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:40:13] local.INFO: Acknowledgment sent {"connection_id":134310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:40:13] local.INFO: TCP Data received {"connection_id":132944,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f623f5ea0012d7f92c005afd8300000005028..."} 
[2026-07-15 01:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f623f5ea0012d7f92c005afd8300000005028..."} 
[2026-07-15 01:40:13] local.INFO: Processing buffer {"connection_id":132944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f623f5ea0012d7f92c005afd8300000005028..."} 
[2026-07-15 01:40:13] local.INFO: Packet analysis {"connection_id":132944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f623f"} 
[2026-07-15 01:40:13] local.INFO: Extracted packet for processing {"connection_id":132944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f623f"} 
[2026-07-15 01:40:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:40:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719218432001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:40:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:40:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:40:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:40:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784059748000,"timestamp_ms":1784059748000,"timestamp_seconds":1784059748,"priority":1,"record_length":96,"hex_timestamp":"0000019f623f5ea0"} 
[2026-07-15 01:40:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:40:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:40:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:40:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:40:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:40:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:40:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:40:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:40:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:40:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719218432001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:40:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:40:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:40:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719218432001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:40:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:40:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:40:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:40:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:40:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719218432001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":132944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:40:13] local.INFO: GPS data processed {"connection_id":132944,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:40:13] local.INFO: Acknowledgment sent {"connection_id":132944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:40:36] local.INFO: TCP Data received {"connection_id":134311,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134311,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:40:36] local.INFO: Processing buffer {"connection_id":134311,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:40:36] local.INFO: IMEI packet received {"connection_id":134311,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":134311,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:40:38] local.INFO: TCP Data received {"connection_id":134311,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134311,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:40:38] local.INFO: Processing buffer {"connection_id":134311,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:40:38] local.INFO: IMEI packet received {"connection_id":134311,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":134311,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:40:44] local.INFO: TCP Data received {"connection_id":132944,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f623f5ea0012d7f92c005afd8300000005028..."} 
[2026-07-15 01:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f623f5ea0012d7f92c005afd8300000005028..."} 
[2026-07-15 01:40:44] local.INFO: Processing buffer {"connection_id":132944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f623f5ea0012d7f92c005afd8300000005028..."} 
[2026-07-15 01:40:44] local.INFO: Packet analysis {"connection_id":132944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f623f"} 
[2026-07-15 01:40:44] local.INFO: Extracted packet for processing {"connection_id":132944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f623f"} 
[2026-07-15 01:40:44] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719218432001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:40:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:40:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784059748000,"timestamp_ms":1784059748000,"timestamp_seconds":1784059748,"priority":1,"record_length":96,"hex_timestamp":"0000019f623f5ea0"} 
[2026-07-15 01:40:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:40:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:40:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:40:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:40:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":132944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":132944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":132944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:40:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719218432001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719218432001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:40:44] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:40:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:40:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:40:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719218432001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":132944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:40:44] local.INFO: GPS data processed {"connection_id":132944,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:40:44] local.INFO: Acknowledgment sent {"connection_id":132944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:40:50] local.INFO: TCP Data received {"connection_id":134311,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134311,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:40:50] local.INFO: Processing buffer {"connection_id":134311,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:40:50] local.INFO: IMEI packet received {"connection_id":134311,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":134311,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:41:02] local.INFO: TCP Data received {"connection_id":134312,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:41:02] local.INFO: Processing buffer {"connection_id":134312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:41:02] local.INFO: IMEI packet received {"connection_id":134312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":134312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:41:07] local.INFO: TCP Data received {"connection_id":134312,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:41:07] local.INFO: Processing buffer {"connection_id":134312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:41:07] local.INFO: IMEI packet received {"connection_id":134312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":134312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:41:08] local.INFO: TCP Data received {"connection_id":134312,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f623f5ea0012d7f92c005afd8300000005028..."} 
[2026-07-15 01:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f623f5ea0012d7f92c005afd8300000005028..."} 
[2026-07-15 01:41:08] local.INFO: Processing buffer {"connection_id":134312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f623f5ea0012d7f92c005afd8300000005028..."} 
[2026-07-15 01:41:08] local.INFO: Packet analysis {"connection_id":134312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f623f"} 
[2026-07-15 01:41:08] local.INFO: Extracted packet for processing {"connection_id":134312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f623f"} 
[2026-07-15 01:41:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719218432001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784059748000,"timestamp_ms":1784059748000,"timestamp_seconds":1784059748,"priority":1,"record_length":96,"hex_timestamp":"0000019f623f5ea0"} 
[2026-07-15 01:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719218432001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719218432001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:41:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:41:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719218432001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":134312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:41:08] local.INFO: GPS data processed {"connection_id":134312,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:41:08] local.INFO: Acknowledgment sent {"connection_id":134312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:41:27] local.INFO: TCP Data received {"connection_id":134311,"ip":"117.224.100.59","data_length":1360,"data_hex":"000000000000030f8e0a0000019f623ef140012d627c400627a3d00003015e25..."} 
[2026-07-15 01:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134311,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019f623ef140012d627c400627a3d00003015e25..."} 
[2026-07-15 01:41:27] local.INFO: Processing buffer {"connection_id":134311,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a0000019f623ef140012d627c400627a3d00003015e25..."} 
[2026-07-15 01:41:27] local.INFO: Packet analysis {"connection_id":134311,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a0000019f623e"} 
[2026-07-15 01:41:27] local.INFO: Extracted packet for processing {"connection_id":134311,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019f623e"} 
[2026-07-15 01:41:27] local.INFO: GPS Element Parsed {"raw_longitude":761429056,"raw_latitude":103261136,"longitude_deg":76.1429056,"latitude_deg":10.3261136,"altitude":3,"angle":350,"satellites":37,"speed":27,"hex_longitude":"2d627c40","hex_latitude":"0627a3d0","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719285760001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135886370039136256,"note":"Value kept but may cause issues"} 
[2026-07-15 01:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7099291520285935616,"note":"Value kept but may cause issues"} 
[2026-07-15 01:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784059720000,"timestamp_ms":1784059720000,"timestamp_seconds":1784059720,"priority":1,"record_length":96,"hex_timestamp":"0000019f623ef140"} 
[2026-07-15 01:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-15 01:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":134311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":134311,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":134311,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719285760001,"66":27745,"13":206,"19":40192,"24":27,"16":135886370039136256,"45":7099291520285935616},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-07-15 01:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719285760001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:41:27] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-07-15 01:41:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-15 01:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135886370039136256,"km_value":135886370039136.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":7099291520285935616,"description":"Unknown IO ID 45"} 
[2026-07-15 01:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719285760001,"power":27745,"unknown_13":206,"unknown_19":40192,"ignition":27,"odometer":null,"unknown_45":7099291520285935616}} 
[2026-07-15 01:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":134311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488937,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:41:27] local.INFO: GPS data processed {"connection_id":134311,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:41:27] local.INFO: Acknowledgment sent {"connection_id":134311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:41:27] local.INFO: Packet analysis {"connection_id":134311,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019f6240"} 
[2026-07-15 01:41:27] local.INFO: Incomplete packet, waiting for more data {"connection_id":134311,"needed":795,"available":565} 
[2026-07-15 01:41:29] local.INFO: TCP Data received {"connection_id":134311,"ip":"117.224.100.59","data_length":230,"data_hex":"2d623340062864380006015e2e00250000000a000400ef0100715000f0010045..."} 
[2026-07-15 01:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134311,"packet_length":230,"packet_hex":"2d623340062864380006015e2e00250000000a000400ef0100715000f0010045..."} 
[2026-07-15 01:41:29] local.INFO: Processing buffer {"connection_id":134311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62407fb0012d61cd4006293598000801502d..."} 
[2026-07-15 01:41:29] local.INFO: Packet analysis {"connection_id":134311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6240"} 
[2026-07-15 01:41:29] local.INFO: Extracted packet for processing {"connection_id":134311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6240"} 
[2026-07-15 01:41:29] local.INFO: GPS Element Parsed {"raw_longitude":761384256,"raw_latitude":103363992,"longitude_deg":76.1384256,"latitude_deg":10.3363992,"altitude":8,"angle":336,"satellites":45,"speed":56,"hex_longitude":"2d61cd40","hex_latitude":"06293598","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719312640001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:41:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135891807467732992,"note":"Value kept but may cause issues"} 
[2026-07-15 01:41:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7051933355479306240,"note":"Value kept but may cause issues"} 
[2026-07-15 01:41:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:41:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784059822000,"timestamp_ms":1784059822000,"timestamp_seconds":1784059822,"priority":1,"record_length":96,"hex_timestamp":"0000019f62407fb0"} 
[2026-07-15 01:41:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:41:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-15 01:41:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:41:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:41:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:41:29] local.INFO: Teltonika packet parsed successfully {"connection_id":134311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:41:29] local.INFO: Passing IMEI to GPS processor {"connection_id":134311,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:41:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":134311,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:41:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:41:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:41:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:41:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719312640001,"66":27800,"72":206,"19":40192,"24":56,"16":135891807467732992,"45":7051933355479306240},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,19,24,16,45]} 
[2026-07-15 01:41:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:41:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:41:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719312640001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:41:29] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-15 01:41:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-15 01:41:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135891807467732992,"km_value":135891807467732.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:41:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":7051933355479306240,"description":"Unknown IO ID 45"} 
[2026-07-15 01:41:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719312640001,"power":27800,"unknown_72":206,"unknown_19":40192,"ignition":56,"odometer":null,"unknown_45":7051933355479306240}} 
[2026-07-15 01:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":134311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488938,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:41:29] local.INFO: GPS data processed {"connection_id":134311,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:41:29] local.INFO: Acknowledgment sent {"connection_id":134311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:41:36] local.INFO: TCP Data received {"connection_id":131930,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131930,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:41:36] local.INFO: Processing buffer {"connection_id":131930,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:41:36] local.INFO: IMEI packet received {"connection_id":131930,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":131930,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:41:41] local.INFO: TCP Data received {"connection_id":131930,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131930,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:41:41] local.INFO: Processing buffer {"connection_id":131930,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:41:41] local.INFO: IMEI packet received {"connection_id":131930,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":131930,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:41:42] local.INFO: TCP Data received {"connection_id":131930,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62409b08012d61bf0006295a10000601542e..."} 
[2026-07-15 01:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62409b08012d61bf0006295a10000601542e..."} 
[2026-07-15 01:41:42] local.INFO: Processing buffer {"connection_id":131930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62409b08012d61bf0006295a10000601542e..."} 
[2026-07-15 01:41:42] local.INFO: Packet analysis {"connection_id":131930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6240"} 
[2026-07-15 01:41:42] local.INFO: Extracted packet for processing {"connection_id":131930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6240"} 
[2026-07-15 01:41:42] local.INFO: GPS Element Parsed {"raw_longitude":761380608,"raw_latitude":103373328,"longitude_deg":76.1380608,"latitude_deg":10.3373328,"altitude":6,"angle":340,"satellites":46,"speed":56,"hex_longitude":"2d61bf00","hex_latitude":"06295a10","is_valid_coordinates":true} 
[2026-07-15 01:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719314432001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135892292799037440,"note":"Value kept but may cause issues"} 
[2026-07-15 01:41:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7047359387110053888,"note":"Value kept but may cause issues"} 
[2026-07-15 01:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784059829000,"timestamp_ms":1784059829000,"timestamp_seconds":1784059829,"priority":1,"record_length":96,"hex_timestamp":"0000019f62409b08"} 
[2026-07-15 01:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:41:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 01:41:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:41:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":131930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":131930,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":131930,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719314432001,"66":27789,"72":206,"19":40192,"24":56,"16":135892292799037440,"45":7047359387110053888},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,19,24,16,45]} 
[2026-07-15 01:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719314432001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:41:42] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-15 01:41:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-15 01:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135892292799037440,"km_value":135892292799037.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:41:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":7047359387110053888,"description":"Unknown IO ID 45"} 
[2026-07-15 01:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719314432001,"power":27789,"unknown_72":206,"unknown_19":40192,"ignition":56,"odometer":null,"unknown_45":7047359387110053888}} 
[2026-07-15 01:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":131930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488939,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:41:42] local.INFO: GPS data processed {"connection_id":131930,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:41:42] local.INFO: Acknowledgment sent {"connection_id":131930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:41:42] local.INFO: TCP Data received {"connection_id":134312,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f623f5ea0012d7f92c005afd8300000005028..."} 
[2026-07-15 01:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f623f5ea0012d7f92c005afd8300000005028..."} 
[2026-07-15 01:41:42] local.INFO: Processing buffer {"connection_id":134312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f623f5ea0012d7f92c005afd8300000005028..."} 
[2026-07-15 01:41:42] local.INFO: Packet analysis {"connection_id":134312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f623f"} 
[2026-07-15 01:41:42] local.INFO: Extracted packet for processing {"connection_id":134312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f623f"} 
[2026-07-15 01:41:42] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719218432001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:41:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784059748000,"timestamp_ms":1784059748000,"timestamp_seconds":1784059748,"priority":1,"record_length":96,"hex_timestamp":"0000019f623f5ea0"} 
[2026-07-15 01:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:41:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:41:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:41:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":134312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":134312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":134312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:41:42] 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-07-15 01:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719218432001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719218432001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:41:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:41:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:41:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719218432001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":134312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:41:42] local.INFO: GPS data processed {"connection_id":134312,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:41:42] local.INFO: Acknowledgment sent {"connection_id":134312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:42:07] local.INFO: TCP Data received {"connection_id":134313,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:42:07] local.INFO: Processing buffer {"connection_id":134313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:42:07] local.INFO: IMEI packet received {"connection_id":134313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":134313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:42:12] local.INFO: TCP Data received {"connection_id":134313,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:42:12] local.INFO: Processing buffer {"connection_id":134313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:42:12] local.INFO: IMEI packet received {"connection_id":134313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":134313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:42:13] local.INFO: TCP Data received {"connection_id":134313,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f623f5ea0012d7f92c005afd8300000005028..."} 
[2026-07-15 01:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f623f5ea0012d7f92c005afd8300000005028..."} 
[2026-07-15 01:42:13] local.INFO: Processing buffer {"connection_id":134313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f623f5ea0012d7f92c005afd8300000005028..."} 
[2026-07-15 01:42:13] local.INFO: Packet analysis {"connection_id":134313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f623f"} 
[2026-07-15 01:42:13] local.INFO: Extracted packet for processing {"connection_id":134313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f623f"} 
[2026-07-15 01:42:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719218432001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784059748000,"timestamp_ms":1784059748000,"timestamp_seconds":1784059748,"priority":1,"record_length":96,"hex_timestamp":"0000019f623f5ea0"} 
[2026-07-15 01:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:42:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:42:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:42:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":134313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":134313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":134313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719218432001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719218432001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:42:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:42:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719218432001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":134313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:42:13] local.INFO: GPS data processed {"connection_id":134313,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:42:13] local.INFO: Acknowledgment sent {"connection_id":134313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:42:15] local.INFO: TCP Data received {"connection_id":131930,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6240b660012d61b24006297ff0000401552e..."} 
[2026-07-15 01:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6240b660012d61b24006297ff0000401552e..."} 
[2026-07-15 01:42:15] local.INFO: Processing buffer {"connection_id":131930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6240b660012d61b24006297ff0000401552e..."} 
[2026-07-15 01:42:15] local.INFO: Packet analysis {"connection_id":131930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6240"} 
[2026-07-15 01:42:15] local.INFO: Extracted packet for processing {"connection_id":131930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6240"} 
[2026-07-15 01:42:15] local.INFO: GPS Element Parsed {"raw_longitude":761377344,"raw_latitude":103383024,"longitude_deg":76.1377344,"latitude_deg":10.3383024,"altitude":4,"angle":341,"satellites":46,"speed":59,"hex_longitude":"2d61b240","hex_latitude":"06297ff0","is_valid_coordinates":true} 
[2026-07-15 01:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719316224001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135892786720276480,"note":"Value kept but may cause issues"} 
[2026-07-15 01:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7043348368694317056,"note":"Value kept but may cause issues"} 
[2026-07-15 01:42:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784059836000,"timestamp_ms":1784059836000,"timestamp_seconds":1784059836,"priority":1,"record_length":96,"hex_timestamp":"0000019f6240b660"} 
[2026-07-15 01:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:42:15] 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-07-15 01:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-15 01:42:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:42:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":131930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":131930,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":131930,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719316224001,"66":27952,"72":206,"19":40192,"24":59,"16":135892786720276480,"45":7043348368694317056},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,19,24,16,45]} 
[2026-07-15 01:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719316224001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:42:15] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-15 01:42:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-15 01:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135892786720276480,"km_value":135892786720276.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":7043348368694317056,"description":"Unknown IO ID 45"} 
[2026-07-15 01:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719316224001,"power":27952,"unknown_72":206,"unknown_19":40192,"ignition":59,"odometer":null,"unknown_45":7043348368694317056}} 
[2026-07-15 01:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":131930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488942,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:42:15] local.INFO: GPS data processed {"connection_id":131930,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:42:15] local.INFO: Acknowledgment sent {"connection_id":131930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:42:42] local.INFO: TCP Data received {"connection_id":132105,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132105,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:42:42] local.INFO: Processing buffer {"connection_id":132105,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:42:42] local.INFO: IMEI packet received {"connection_id":132105,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":132105,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:42:45] local.INFO: TCP Data received {"connection_id":134313,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f623f5ea0012d7f92c005afd8300000005028..."} 
[2026-07-15 01:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f623f5ea0012d7f92c005afd8300000005028..."} 
[2026-07-15 01:42:45] local.INFO: Processing buffer {"connection_id":134313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f623f5ea0012d7f92c005afd8300000005028..."} 
[2026-07-15 01:42:45] local.INFO: Packet analysis {"connection_id":134313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f623f"} 
[2026-07-15 01:42:45] local.INFO: Extracted packet for processing {"connection_id":134313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f623f"} 
[2026-07-15 01:42:45] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719218432001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784059748000,"timestamp_ms":1784059748000,"timestamp_seconds":1784059748,"priority":1,"record_length":96,"hex_timestamp":"0000019f623f5ea0"} 
[2026-07-15 01:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:42:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:42:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:42:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":134313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":134313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":134313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719218432001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719218432001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:42:45] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:42:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719218432001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":134313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:42:45] local.INFO: GPS data processed {"connection_id":134313,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:42:45] local.INFO: Acknowledgment sent {"connection_id":134313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:42:45] local.INFO: TCP Data received {"connection_id":132105,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132105,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:42:45] local.INFO: Processing buffer {"connection_id":132105,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:42:45] local.INFO: IMEI packet received {"connection_id":132105,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":132105,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:42:46] local.INFO: TCP Data received {"connection_id":132105,"ip":"117.224.100.59","data_length":812,"data_hex":"000f383632353637303731363332333232000000000000030f8e0a0000019f62..."} 
[2026-07-15 01:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132105,"packet_length":812,"packet_hex":"000f383632353637303731363332333232000000000000030f8e0a0000019f62..."} 
[2026-07-15 01:42:46] local.INFO: Processing buffer {"connection_id":132105,"buffer_length":812,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a0000019f62..."} 
[2026-07-15 01:42:46] local.INFO: IMEI packet received {"connection_id":132105,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":132105,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:42:48] local.INFO: TCP Data received {"connection_id":132105,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6241eaf8012d60e880062b1718000401462b..."} 
[2026-07-15 01:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6241eaf8012d60e880062b1718000401462b..."} 
[2026-07-15 01:42:48] local.INFO: Processing buffer {"connection_id":132105,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f6241cfa0012d60fe80062af600000301462d..."} 
[2026-07-15 01:42:48] local.INFO: Packet analysis {"connection_id":132105,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f6241"} 
[2026-07-15 01:42:48] local.INFO: Extracted packet for processing {"connection_id":132105,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6241"} 
[2026-07-15 01:42:48] local.INFO: GPS Element Parsed {"raw_longitude":761331328,"raw_latitude":103478784,"longitude_deg":76.1331328,"latitude_deg":10.3478784,"altitude":3,"angle":326,"satellites":45,"speed":58,"hex_longitude":"2d60fe80","hex_latitude":"062af600","is_valid_coordinates":true} 
[2026-07-15 01:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719334656001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135897936386064384,"note":"Value kept but may cause issues"} 
[2026-07-15 01:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6995286516445741056,"note":"Value kept but may cause issues"} 
[2026-07-15 01:42:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784059908000,"timestamp_ms":1784059908000,"timestamp_seconds":1784059908,"priority":1,"record_length":96,"hex_timestamp":"0000019f6241cfa0"} 
[2026-07-15 01:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:42: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-07-15 01:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-15 01:42:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:42:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":132105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":132105,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":132105,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:42:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719334656001,"66":27876,"122":206,"19":40192,"24":58,"16":135897936386064384,"45":6995286516445741056},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,19,24,16,45]} 
[2026-07-15 01:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719334656001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:42:48] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-15 01:42:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-15 01:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135897936386064384,"km_value":135897936386064.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6995286516445741056,"description":"Unknown IO ID 45"} 
[2026-07-15 01:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719334656001,"power":27876,"unknown_122":206,"unknown_19":40192,"ignition":58,"odometer":null,"unknown_45":6995286516445741056}} 
[2026-07-15 01:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":132105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488944,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:42:48] local.INFO: GPS data processed {"connection_id":132105,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:42:48] local.INFO: Acknowledgment sent {"connection_id":132105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:42:48] local.INFO: Packet analysis {"connection_id":132105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6241"} 
[2026-07-15 01:42:48] local.INFO: Extracted packet for processing {"connection_id":132105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6241"} 
[2026-07-15 01:42:48] local.INFO: GPS Element Parsed {"raw_longitude":761325696,"raw_latitude":103487256,"longitude_deg":76.1325696,"latitude_deg":10.3487256,"altitude":4,"angle":326,"satellites":43,"speed":56,"hex_longitude":"2d60e880","hex_latitude":"062b1718","is_valid_coordinates":true} 
[2026-07-15 01:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719336448001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135898426012336128,"note":"Value kept but may cause issues"} 
[2026-07-15 01:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6989164435704512512,"note":"Value kept but may cause issues"} 
[2026-07-15 01:42:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784059915000,"timestamp_ms":1784059915000,"timestamp_seconds":1784059915,"priority":1,"record_length":96,"hex_timestamp":"0000019f6241eaf8"} 
[2026-07-15 01:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:42: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-07-15 01:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-15 01:42:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:42:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":132105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":132105,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":132105,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:42:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719336448001,"66":27887,"122":206,"19":40192,"24":56,"16":135898426012336128,"45":6989164435704512512},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,19,24,16,45]} 
[2026-07-15 01:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719336448001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:42:48] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-15 01:42:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-15 01:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135898426012336128,"km_value":135898426012336.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6989164435704512512,"description":"Unknown IO ID 45"} 
[2026-07-15 01:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719336448001,"power":27887,"unknown_122":206,"unknown_19":40192,"ignition":56,"odometer":null,"unknown_45":6989164435704512512}} 
[2026-07-15 01:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":132105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488945,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:42:48] local.INFO: GPS data processed {"connection_id":132105,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:42:48] local.INFO: Acknowledgment sent {"connection_id":132105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:42:52] local.INFO: TCP Data received {"connection_id":132105,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62420650012d60d5c0062b37980007014d2f..."} 
[2026-07-15 01:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62420650012d60d5c0062b37980007014d2f..."} 
[2026-07-15 01:42:52] local.INFO: Processing buffer {"connection_id":132105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62420650012d60d5c0062b37980007014d2f..."} 
[2026-07-15 01:42:52] local.INFO: Packet analysis {"connection_id":132105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6242"} 
[2026-07-15 01:42:52] local.INFO: Extracted packet for processing {"connection_id":132105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6242"} 
[2026-07-15 01:42:52] local.INFO: GPS Element Parsed {"raw_longitude":761320896,"raw_latitude":103495576,"longitude_deg":76.1320896,"latitude_deg":10.3495576,"altitude":7,"angle":333,"satellites":47,"speed":53,"hex_longitude":"2d60d5c0","hex_latitude":"062b3798","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719338240001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135898889868804096,"note":"Value kept but may cause issues"} 
[2026-07-15 01:42:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6982971986219046912,"note":"Value kept but may cause issues"} 
[2026-07-15 01:42:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1784059922000,"timestamp_ms":1784059922000,"timestamp_seconds":1784059922,"priority":1,"record_length":96,"hex_timestamp":"0000019f62420650"} 
[2026-07-15 01:42:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:42:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-15 01:42:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:42:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":132105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":132105,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":132105,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:42:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719338240001,"66":27887,"122":206,"19":40192,"24":53,"16":135898889868804096,"45":6982971986219046912},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,19,24,16,45]} 
[2026-07-15 01:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719338240001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:42:52] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-15 01:42:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-15 01:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135898889868804096,"km_value":135898889868804.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:42:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":6982971986219046912,"description":"Unknown IO ID 45"} 
[2026-07-15 01:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719338240001,"power":27887,"unknown_122":206,"unknown_19":40192,"ignition":53,"odometer":null,"unknown_45":6982971986219046912}} 
[2026-07-15 01:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":132105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488946,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:42:52] local.INFO: GPS data processed {"connection_id":132105,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:42:52] local.INFO: Acknowledgment sent {"connection_id":132105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:43:02] local.INFO: TCP Data received {"connection_id":132945,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:43:02] local.INFO: Processing buffer {"connection_id":132945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:43:02] local.INFO: IMEI packet received {"connection_id":132945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":132945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:43:07] local.INFO: TCP Data received {"connection_id":132945,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:43:07] local.INFO: Processing buffer {"connection_id":132945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:43:07] local.INFO: IMEI packet received {"connection_id":132945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":132945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:43:08] local.INFO: TCP Data received {"connection_id":132945,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f623f5ea0012d7f92c005afd8300000005028..."} 
[2026-07-15 01:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f623f5ea0012d7f92c005afd8300000005028..."} 
[2026-07-15 01:43:08] local.INFO: Processing buffer {"connection_id":132945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f623f5ea0012d7f92c005afd8300000005028..."} 
[2026-07-15 01:43:08] local.INFO: Packet analysis {"connection_id":132945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f623f"} 
[2026-07-15 01:43:08] local.INFO: Extracted packet for processing {"connection_id":132945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f623f"} 
[2026-07-15 01:43:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719218432001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784059748000,"timestamp_ms":1784059748000,"timestamp_seconds":1784059748,"priority":1,"record_length":96,"hex_timestamp":"0000019f623f5ea0"} 
[2026-07-15 01:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:43:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:43:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719218432001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719218432001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:43:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:43:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719218432001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":132945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:43:08] local.INFO: GPS data processed {"connection_id":132945,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:43:08] local.INFO: Acknowledgment sent {"connection_id":132945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:43:33] local.INFO: TCP Data received {"connection_id":134314,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134314,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:43:33] local.INFO: Processing buffer {"connection_id":134314,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:43:33] local.INFO: IMEI packet received {"connection_id":134314,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":134314,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:43:36] local.INFO: TCP Data received {"connection_id":134314,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134314,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:43:36] local.INFO: Processing buffer {"connection_id":134314,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:43:36] local.INFO: IMEI packet received {"connection_id":134314,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":134314,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:43:39] local.INFO: TCP Data received {"connection_id":132945,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f623f5ea0012d7f92c005afd8300000005028..."} 
[2026-07-15 01:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f623f5ea0012d7f92c005afd8300000005028..."} 
[2026-07-15 01:43:39] local.INFO: Processing buffer {"connection_id":132945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f623f5ea0012d7f92c005afd8300000005028..."} 
[2026-07-15 01:43:39] local.INFO: Packet analysis {"connection_id":132945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f623f"} 
[2026-07-15 01:43:39] local.INFO: Extracted packet for processing {"connection_id":132945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f623f"} 
[2026-07-15 01:43:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719218432001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784059748000,"timestamp_ms":1784059748000,"timestamp_seconds":1784059748,"priority":1,"record_length":96,"hex_timestamp":"0000019f623f5ea0"} 
[2026-07-15 01:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:43:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719218432001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719218432001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:43:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:43:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719218432001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":132945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:43:39] local.INFO: GPS data processed {"connection_id":132945,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:43:39] local.INFO: Acknowledgment sent {"connection_id":132945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:43:40] local.INFO: TCP Data received {"connection_id":134314,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134314,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:43:40] local.INFO: Processing buffer {"connection_id":134314,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:43:40] local.INFO: IMEI packet received {"connection_id":134314,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":134314,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:43:41] local.INFO: TCP Data received {"connection_id":134314,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f624221a8012d60c840062b5950000801572e..."} 
[2026-07-15 01:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f624221a8012d60c840062b5950000801572e..."} 
[2026-07-15 01:43:41] local.INFO: Processing buffer {"connection_id":134314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f624221a8012d60c840062b5950000801572e..."} 
[2026-07-15 01:43:41] local.INFO: Packet analysis {"connection_id":134314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6242"} 
[2026-07-15 01:43:41] local.INFO: Extracted packet for processing {"connection_id":134314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6242"} 
[2026-07-15 01:43:41] local.INFO: GPS Element Parsed {"raw_longitude":761317440,"raw_latitude":103504208,"longitude_deg":76.131744,"latitude_deg":10.3504208,"altitude":8,"angle":343,"satellites":46,"speed":52,"hex_longitude":"2d60c840","hex_latitude":"062b5950","is_valid_coordinates":true} 
[2026-07-15 01:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719340032001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135899340840370176,"note":"Value kept but may cause issues"} 
[2026-07-15 01:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6977694330407852032,"note":"Value kept but may cause issues"} 
[2026-07-15 01:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784059929000,"timestamp_ms":1784059929000,"timestamp_seconds":1784059929,"priority":1,"record_length":96,"hex_timestamp":"0000019f624221a8"} 
[2026-07-15 01:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:43:41] 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-07-15 01:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-15 01:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":134314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":134314,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":134314,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719340032001,"66":27821,"122":206,"19":40192,"24":52,"16":135899340840370176,"45":6977694330407852032},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,19,24,16,45]} 
[2026-07-15 01:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719340032001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:43:41] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-15 01:43:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-15 01:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135899340840370176,"km_value":135899340840370.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":6977694330407852032,"description":"Unknown IO ID 45"} 
[2026-07-15 01:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719340032001,"power":27821,"unknown_122":206,"unknown_19":40192,"ignition":52,"odometer":null,"unknown_45":6977694330407852032}} 
[2026-07-15 01:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":134314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488949,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:43:41] local.INFO: GPS data processed {"connection_id":134314,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:43:41] local.INFO: Acknowledgment sent {"connection_id":134314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:44:02] local.INFO: TCP Data received {"connection_id":134315,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:44:02] local.INFO: Processing buffer {"connection_id":134315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:44:02] local.INFO: IMEI packet received {"connection_id":134315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":134315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:44:07] local.INFO: TCP Data received {"connection_id":134315,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:44:07] local.INFO: Processing buffer {"connection_id":134315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:44:07] local.INFO: IMEI packet received {"connection_id":134315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":134315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:44:08] local.INFO: TCP Data received {"connection_id":134315,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f623f5ea0012d7f92c005afd8300000005028..."} 
[2026-07-15 01:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f623f5ea0012d7f92c005afd8300000005028..."} 
[2026-07-15 01:44:08] local.INFO: Processing buffer {"connection_id":134315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f623f5ea0012d7f92c005afd8300000005028..."} 
[2026-07-15 01:44:08] local.INFO: Packet analysis {"connection_id":134315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f623f"} 
[2026-07-15 01:44:08] local.INFO: Extracted packet for processing {"connection_id":134315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f623f"} 
[2026-07-15 01:44:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719218432001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784059748000,"timestamp_ms":1784059748000,"timestamp_seconds":1784059748,"priority":1,"record_length":96,"hex_timestamp":"0000019f623f5ea0"} 
[2026-07-15 01:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719218432001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719218432001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:44:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:44:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719218432001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":134315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:44:08] local.INFO: GPS data processed {"connection_id":134315,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:44:08] local.INFO: Acknowledgment sent {"connection_id":134315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:44:13] local.INFO: TCP Data received {"connection_id":134314,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62423d00012d60c040062b7d480009015d2b..."} 
[2026-07-15 01:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62423d00012d60c040062b7d480009015d2b..."} 
[2026-07-15 01:44:13] local.INFO: Processing buffer {"connection_id":134314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62423d00012d60c040062b7d480009015d2b..."} 
[2026-07-15 01:44:13] local.INFO: Packet analysis {"connection_id":134314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6242"} 
[2026-07-15 01:44:13] local.INFO: Extracted packet for processing {"connection_id":134314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6242"} 
[2026-07-15 01:44:13] local.INFO: GPS Element Parsed {"raw_longitude":761315392,"raw_latitude":103513416,"longitude_deg":76.1315392,"latitude_deg":10.3513416,"altitude":9,"angle":349,"satellites":43,"speed":55,"hex_longitude":"2d60c040","hex_latitude":"062b7d48","is_valid_coordinates":true} 
[2026-07-15 01:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719341824001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135899796106903552,"note":"Value kept but may cause issues"} 
[2026-07-15 01:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6973894418224467968,"note":"Value kept but may cause issues"} 
[2026-07-15 01:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784059936000,"timestamp_ms":1784059936000,"timestamp_seconds":1784059936,"priority":1,"record_length":96,"hex_timestamp":"0000019f62423d00"} 
[2026-07-15 01:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:44:13] 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-07-15 01:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 01:44:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:44:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":134314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":134314,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":134314,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:44:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719341824001,"66":27832,"121":206,"19":40192,"24":55,"16":135899796106903552,"45":6973894418224467968},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,19,24,16,45]} 
[2026-07-15 01:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719341824001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:44:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 01:44:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-15 01:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135899796106903552,"km_value":135899796106903.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":6973894418224467968,"description":"Unknown IO ID 45"} 
[2026-07-15 01:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719341824001,"power":27832,"unknown_121":206,"unknown_19":40192,"ignition":55,"odometer":null,"unknown_45":6973894418224467968}} 
[2026-07-15 01:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":134314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488951,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:44:13] local.INFO: GPS data processed {"connection_id":134314,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:44:13] local.INFO: Acknowledgment sent {"connection_id":134314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:44:33] local.INFO: TCP Data received {"connection_id":131931,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131931,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:44:33] local.INFO: Processing buffer {"connection_id":131931,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:44:33] local.INFO: IMEI packet received {"connection_id":131931,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":131931,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:44:36] local.INFO: TCP Data received {"connection_id":131931,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131931,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:44:36] local.INFO: Processing buffer {"connection_id":131931,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:44:36] local.INFO: IMEI packet received {"connection_id":131931,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":131931,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:44:40] local.INFO: TCP Data received {"connection_id":134315,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f623f5ea0012d7f92c005afd8300000005028..."} 
[2026-07-15 01:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f623f5ea0012d7f92c005afd8300000005028..."} 
[2026-07-15 01:44:40] local.INFO: Processing buffer {"connection_id":134315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f623f5ea0012d7f92c005afd8300000005028..."} 
[2026-07-15 01:44:40] local.INFO: Packet analysis {"connection_id":134315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f623f"} 
[2026-07-15 01:44:40] local.INFO: Extracted packet for processing {"connection_id":134315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f623f"} 
[2026-07-15 01:44:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719218432001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784059748000,"timestamp_ms":1784059748000,"timestamp_seconds":1784059748,"priority":1,"record_length":96,"hex_timestamp":"0000019f623f5ea0"} 
[2026-07-15 01:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:44:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":134315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":134315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":134315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:44:40] 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-07-15 01:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719218432001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719218432001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:44:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:44:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719218432001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":134315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:44:40] local.INFO: GPS data processed {"connection_id":134315,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:44:40] local.INFO: Acknowledgment sent {"connection_id":134315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:44:40] local.INFO: TCP Data received {"connection_id":131931,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131931,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:44:40] local.INFO: Processing buffer {"connection_id":131931,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:44:40] local.INFO: IMEI packet received {"connection_id":131931,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":131931,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:44:43] local.INFO: TCP Data received {"connection_id":131931,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62435e10012d602f00062d0c38000501502f..."} 
[2026-07-15 01:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62435e10012d602f00062d0c38000501502f..."} 
[2026-07-15 01:44:43] local.INFO: Processing buffer {"connection_id":131931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62435e10012d602f00062d0c38000501502f..."} 
[2026-07-15 01:44:43] local.INFO: Packet analysis {"connection_id":131931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6243"} 
[2026-07-15 01:44:43] local.INFO: Extracted packet for processing {"connection_id":131931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6243"} 
[2026-07-15 01:44:43] local.INFO: GPS Element Parsed {"raw_longitude":761278208,"raw_latitude":103615544,"longitude_deg":76.1278208,"latitude_deg":10.3615544,"altitude":5,"angle":336,"satellites":47,"speed":58,"hex_longitude":"2d602f00","hex_latitude":"062d0c38","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719360768001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135905078916677632,"note":"Value kept but may cause issues"} 
[2026-07-15 01:44:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6935332346441175040,"note":"Value kept but may cause issues"} 
[2026-07-15 01:44:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784060010000,"timestamp_ms":1784060010000,"timestamp_seconds":1784060010,"priority":1,"record_length":96,"hex_timestamp":"0000019f62435e10"} 
[2026-07-15 01:44:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:44:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 01:44:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:44:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":131931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":131931,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":131931,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:44:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719360768001,"66":27952,"175":206,"19":40192,"24":58,"16":135905078916677632,"45":6935332346441175040},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,19,24,16,45]} 
[2026-07-15 01:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719360768001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:44:43] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-15 01:44:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-15 01:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135905078916677632,"km_value":135905078916677.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:44:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":6935332346441175040,"description":"Unknown IO ID 45"} 
[2026-07-15 01:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719360768001,"power":27952,"unknown_175":206,"unknown_19":40192,"ignition":58,"odometer":null,"unknown_45":6935332346441175040}} 
[2026-07-15 01:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":131931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488953,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:44:43] local.INFO: GPS data processed {"connection_id":131931,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:44:43] local.INFO: Acknowledgment sent {"connection_id":131931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:45:02] local.INFO: TCP Data received {"connection_id":132946,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:45:02] local.INFO: Processing buffer {"connection_id":132946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:45:02] local.INFO: IMEI packet received {"connection_id":132946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":132946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:45:07] local.INFO: TCP Data received {"connection_id":132946,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:45:07] local.INFO: Processing buffer {"connection_id":132946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:45:07] local.INFO: IMEI packet received {"connection_id":132946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":132946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:45:08] local.INFO: TCP Data received {"connection_id":132946,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f6243f668012d7f92c005afd830000000502b..."} 
[2026-07-15 01:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6243f668012d7f92c005afd830000000502b..."} 
[2026-07-15 01:45:08] local.INFO: Processing buffer {"connection_id":132946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6243f668012d7f92c005afd830000000502b..."} 
[2026-07-15 01:45:08] local.INFO: Packet analysis {"connection_id":132946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6243"} 
[2026-07-15 01:45:08] local.INFO: Extracted packet for processing {"connection_id":132946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6243"} 
[2026-07-15 01:45:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719295488001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784060049000,"timestamp_ms":1784060049000,"timestamp_seconds":1784060049,"priority":1,"record_length":96,"hex_timestamp":"0000019f6243f668"} 
[2026-07-15 01:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 01:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719295488001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719295488001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:45:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:45:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719295488001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":132946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:45:08] local.INFO: GPS data processed {"connection_id":132946,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:45:08] local.INFO: Acknowledgment sent {"connection_id":132946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:45:16] local.INFO: TCP Data received {"connection_id":131931,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62437580012d6020c0062d2be80004014f30..."} 
[2026-07-15 01:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62437580012d6020c0062d2be80004014f30..."} 
[2026-07-15 01:45:16] local.INFO: Processing buffer {"connection_id":131931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62437580012d6020c0062d2be80004014f30..."} 
[2026-07-15 01:45:16] local.INFO: Packet analysis {"connection_id":131931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6243"} 
[2026-07-15 01:45:16] local.INFO: Extracted packet for processing {"connection_id":131931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6243"} 
[2026-07-15 01:45:16] local.INFO: GPS Element Parsed {"raw_longitude":761274560,"raw_latitude":103623656,"longitude_deg":76.127456,"latitude_deg":10.3623656,"altitude":4,"angle":335,"satellites":48,"speed":58,"hex_longitude":"2d6020c0","hex_latitude":"062d2be8","is_valid_coordinates":true} 
[2026-07-15 01:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719362560001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135905512708374528,"note":"Value kept but may cause issues"} 
[2026-07-15 01:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6930758378072061952,"note":"Value kept but may cause issues"} 
[2026-07-15 01:45:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784060016000,"timestamp_ms":1784060016000,"timestamp_seconds":1784060016,"priority":1,"record_length":96,"hex_timestamp":"0000019f62437580"} 
[2026-07-15 01:45:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:45:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-15 01:45:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:45:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:45:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":131931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":131931,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":131931,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:45:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719362560001,"66":27800,"175":206,"19":40192,"24":58,"16":135905512708374528,"45":6930758378072061952},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,19,24,16,45]} 
[2026-07-15 01:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719362560001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:45:16] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-15 01:45:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-15 01:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135905512708374528,"km_value":135905512708374.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":6930758378072061952,"description":"Unknown IO ID 45"} 
[2026-07-15 01:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719362560001,"power":27800,"unknown_175":206,"unknown_19":40192,"ignition":58,"odometer":null,"unknown_45":6930758378072061952}} 
[2026-07-15 01:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":131931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488955,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:45:16] local.INFO: GPS data processed {"connection_id":131931,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:45:16] local.INFO: Acknowledgment sent {"connection_id":131931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:45:36] local.INFO: TCP Data received {"connection_id":131932,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131932,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:45:36] local.INFO: Processing buffer {"connection_id":131932,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:45:36] local.INFO: IMEI packet received {"connection_id":131932,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":131932,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:45:39] local.INFO: TCP Data received {"connection_id":132946,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f6243f668012d7f92c005afd830000000502b..."} 
[2026-07-15 01:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6243f668012d7f92c005afd830000000502b..."} 
[2026-07-15 01:45:39] local.INFO: Processing buffer {"connection_id":132946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6243f668012d7f92c005afd830000000502b..."} 
[2026-07-15 01:45:39] local.INFO: Packet analysis {"connection_id":132946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6243"} 
[2026-07-15 01:45:39] local.INFO: Extracted packet for processing {"connection_id":132946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6243"} 
[2026-07-15 01:45:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719295488001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784060049000,"timestamp_ms":1784060049000,"timestamp_seconds":1784060049,"priority":1,"record_length":96,"hex_timestamp":"0000019f6243f668"} 
[2026-07-15 01:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:45:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 01:45:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:45:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:45: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-07-15 01:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719295488001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719295488001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:45:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:45:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719295488001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":132946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:45:39] local.INFO: GPS data processed {"connection_id":132946,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:45:39] local.INFO: Acknowledgment sent {"connection_id":132946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:45:41] local.INFO: TCP Data received {"connection_id":131932,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131932,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:45:41] local.INFO: Processing buffer {"connection_id":131932,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:45:41] local.INFO: IMEI packet received {"connection_id":131932,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":131932,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:45:42] local.INFO: TCP Data received {"connection_id":131932,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62438cf0012d601280062d4b880004014f30..."} 
[2026-07-15 01:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62438cf0012d601280062d4b880004014f30..."} 
[2026-07-15 01:45:42] local.INFO: Processing buffer {"connection_id":131932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62438cf0012d601280062d4b880004014f30..."} 
[2026-07-15 01:45:42] local.INFO: Packet analysis {"connection_id":131932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6243"} 
[2026-07-15 01:45:42] local.INFO: Extracted packet for processing {"connection_id":131932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6243"} 
[2026-07-15 01:45:42] local.INFO: GPS Element Parsed {"raw_longitude":761270912,"raw_latitude":103631752,"longitude_deg":76.1270912,"latitude_deg":10.3631752,"altitude":4,"angle":335,"satellites":48,"speed":59,"hex_longitude":"2d601280","hex_latitude":"062d4b88","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719364096001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135905942205104128,"note":"Value kept but may cause issues"} 
[2026-07-15 01:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6926747359656011776,"note":"Value kept but may cause issues"} 
[2026-07-15 01:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784060022000,"timestamp_ms":1784060022000,"timestamp_seconds":1784060022,"priority":1,"record_length":96,"hex_timestamp":"0000019f62438cf0"} 
[2026-07-15 01:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 01:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":131932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":131932,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":131932,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719364096001,"66":27876,"175":206,"19":40192,"24":59,"16":135905942205104128,"45":6926747359656011776},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,19,24,16,45]} 
[2026-07-15 01:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719364096001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:45:42] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-15 01:45:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-15 01:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135905942205104128,"km_value":135905942205104.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6926747359656011776,"description":"Unknown IO ID 45"} 
[2026-07-15 01:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719364096001,"power":27876,"unknown_175":206,"unknown_19":40192,"ignition":59,"odometer":null,"unknown_45":6926747359656011776}} 
[2026-07-15 01:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":131932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488957,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:45:42] local.INFO: GPS data processed {"connection_id":131932,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:45:42] local.INFO: Acknowledgment sent {"connection_id":131932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:46:02] local.INFO: TCP Data received {"connection_id":132106,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:46:02] local.INFO: Processing buffer {"connection_id":132106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:46:02] local.INFO: IMEI packet received {"connection_id":132106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":132106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:46:07] local.INFO: TCP Data received {"connection_id":132106,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:46:07] local.INFO: Processing buffer {"connection_id":132106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:46:07] local.INFO: IMEI packet received {"connection_id":132106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":132106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:46:08] local.INFO: TCP Data received {"connection_id":132106,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f6243f668012d7f92c005afd830000000502b..."} 
[2026-07-15 01:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6243f668012d7f92c005afd830000000502b..."} 
[2026-07-15 01:46:08] local.INFO: Processing buffer {"connection_id":132106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6243f668012d7f92c005afd830000000502b..."} 
[2026-07-15 01:46:08] local.INFO: Packet analysis {"connection_id":132106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6243"} 
[2026-07-15 01:46:08] local.INFO: Extracted packet for processing {"connection_id":132106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6243"} 
[2026-07-15 01:46:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719295488001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784060049000,"timestamp_ms":1784060049000,"timestamp_seconds":1784060049,"priority":1,"record_length":96,"hex_timestamp":"0000019f6243f668"} 
[2026-07-15 01:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 01:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719295488001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719295488001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:46:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:46:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719295488001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":132106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:46:08] local.INFO: GPS data processed {"connection_id":132106,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:46:08] local.INFO: Acknowledgment sent {"connection_id":132106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:46:15] local.INFO: TCP Data received {"connection_id":131932,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6244e0c8012d5f9280062ef420000701592f..."} 
[2026-07-15 01:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6244e0c8012d5f9280062ef420000701592f..."} 
[2026-07-15 01:46:15] local.INFO: Processing buffer {"connection_id":131932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6244e0c8012d5f9280062ef420000701592f..."} 
[2026-07-15 01:46:15] local.INFO: Packet analysis {"connection_id":131932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6244"} 
[2026-07-15 01:46:15] local.INFO: Extracted packet for processing {"connection_id":131932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6244"} 
[2026-07-15 01:46:15] local.INFO: GPS Element Parsed {"raw_longitude":761238144,"raw_latitude":103740448,"longitude_deg":76.1238144,"latitude_deg":10.3740448,"altitude":7,"angle":345,"satellites":47,"speed":10,"hex_longitude":"2d5f9280","hex_latitude":"062ef420","is_valid_coordinates":true} 
[2026-07-15 01:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719384320001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135911482712915968,"note":"Value kept but may cause issues"} 
[2026-07-15 01:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6889451925269508096,"note":"Value kept but may cause issues"} 
[2026-07-15 01:46:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784060109000,"timestamp_ms":1784060109000,"timestamp_seconds":1784060109,"priority":1,"record_length":96,"hex_timestamp":"0000019f6244e0c8"} 
[2026-07-15 01:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:46:15] 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-07-15 01:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 01:46:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:46:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":131932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":131932,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":131932,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719384320001,"66":28082,"175":206,"19":40192,"24":10,"16":135911482712915968,"45":6889451925269508096},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,19,24,16,45]} 
[2026-07-15 01:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719384320001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:46:15] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-15 01:46:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-15 01:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135911482712915968,"km_value":135911482712915.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":6889451925269508096,"description":"Unknown IO ID 45"} 
[2026-07-15 01:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719384320001,"power":28082,"unknown_175":206,"unknown_19":40192,"ignition":10,"odometer":null,"unknown_45":6889451925269508096}} 
[2026-07-15 01:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":131932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488959,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:46:15] local.INFO: GPS data processed {"connection_id":131932,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:46:15] local.INFO: Acknowledgment sent {"connection_id":131932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:46:36] local.INFO: TCP Data received {"connection_id":132107,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132107,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:46:36] local.INFO: Processing buffer {"connection_id":132107,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:46:36] local.INFO: IMEI packet received {"connection_id":132107,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":132107,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:46:39] local.INFO: TCP Data received {"connection_id":132107,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132107,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:46:39] local.INFO: Processing buffer {"connection_id":132107,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:46:39] local.INFO: IMEI packet received {"connection_id":132107,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:46:39] local.INFO: IMEI acknowledgment sent {"connection_id":132107,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:46:41] local.INFO: TCP Data received {"connection_id":132107,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132107,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:46:41] local.INFO: Processing buffer {"connection_id":132107,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:46:41] local.INFO: IMEI packet received {"connection_id":132107,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":132107,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:46:42] local.INFO: TCP Data received {"connection_id":132107,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6244f450012d5f91c0062ef9c80007016430..."} 
[2026-07-15 01:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6244f450012d5f91c0062ef9c80007016430..."} 
[2026-07-15 01:46:42] local.INFO: Processing buffer {"connection_id":132107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6244f450012d5f91c0062ef9c80007016430..."} 
[2026-07-15 01:46:42] local.INFO: Packet analysis {"connection_id":132107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6244"} 
[2026-07-15 01:46:42] local.INFO: Extracted packet for processing {"connection_id":132107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6244"} 
[2026-07-15 01:46:42] local.INFO: GPS Element Parsed {"raw_longitude":761237952,"raw_latitude":103741896,"longitude_deg":76.1237952,"latitude_deg":10.3741896,"altitude":7,"angle":356,"satellites":48,"speed":9,"hex_longitude":"2d5f91c0","hex_latitude":"062ef9c8","is_valid_coordinates":true} 
[2026-07-15 01:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719387904001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135911551432392704,"note":"Value kept but may cause issues"} 
[2026-07-15 01:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6886707544248819712,"note":"Value kept but may cause issues"} 
[2026-07-15 01:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784060114000,"timestamp_ms":1784060114000,"timestamp_seconds":1784060114,"priority":1,"record_length":96,"hex_timestamp":"0000019f6244f450"} 
[2026-07-15 01:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 01:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132107,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132107,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719387904001,"66":27821,"175":206,"19":40192,"24":9,"16":135911551432392704,"45":6886707544248819712},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,19,24,16,45]} 
[2026-07-15 01:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719387904001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:46:42] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-15 01:46:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-15 01:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135911551432392704,"km_value":135911551432392.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6886707544248819712,"description":"Unknown IO ID 45"} 
[2026-07-15 01:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719387904001,"power":27821,"unknown_175":206,"unknown_19":40192,"ignition":9,"odometer":null,"unknown_45":6886707544248819712}} 
[2026-07-15 01:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":132107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488960,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:46:42] local.INFO: GPS data processed {"connection_id":132107,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:46:42] local.INFO: Acknowledgment sent {"connection_id":132107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:46:42] local.INFO: TCP Data received {"connection_id":132106,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f6243f668012d7f92c005afd830000000502b..."} 
[2026-07-15 01:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6243f668012d7f92c005afd830000000502b..."} 
[2026-07-15 01:46:42] local.INFO: Processing buffer {"connection_id":132106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6243f668012d7f92c005afd830000000502b..."} 
[2026-07-15 01:46:42] local.INFO: Packet analysis {"connection_id":132106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6243"} 
[2026-07-15 01:46:42] local.INFO: Extracted packet for processing {"connection_id":132106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6243"} 
[2026-07-15 01:46:42] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719295488001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784060049000,"timestamp_ms":1784060049000,"timestamp_seconds":1784060049,"priority":1,"record_length":96,"hex_timestamp":"0000019f6243f668"} 
[2026-07-15 01:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 01:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719295488001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719295488001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:46:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:46:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719295488001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":132106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:46:42] local.INFO: GPS data processed {"connection_id":132106,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:46:42] local.INFO: Acknowledgment sent {"connection_id":132106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:47:02] local.INFO: TCP Data received {"connection_id":134316,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:47:02] local.INFO: Processing buffer {"connection_id":134316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:47:02] local.INFO: IMEI packet received {"connection_id":134316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":134316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:47:07] local.INFO: TCP Data received {"connection_id":134316,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:47:07] local.INFO: Processing buffer {"connection_id":134316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:47:07] local.INFO: IMEI packet received {"connection_id":134316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":134316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:47:08] local.INFO: TCP Data received {"connection_id":134316,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f6243f668012d7f92c005afd830000000502b..."} 
[2026-07-15 01:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6243f668012d7f92c005afd830000000502b..."} 
[2026-07-15 01:47:08] local.INFO: Processing buffer {"connection_id":134316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6243f668012d7f92c005afd830000000502b..."} 
[2026-07-15 01:47:08] local.INFO: Packet analysis {"connection_id":134316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6243"} 
[2026-07-15 01:47:08] local.INFO: Extracted packet for processing {"connection_id":134316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6243"} 
[2026-07-15 01:47:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719295488001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784060049000,"timestamp_ms":1784060049000,"timestamp_seconds":1784060049,"priority":1,"record_length":96,"hex_timestamp":"0000019f6243f668"} 
[2026-07-15 01:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 01:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:47:08] 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-07-15 01:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719295488001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719295488001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:47:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:47:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719295488001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":134316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:47:08] local.INFO: GPS data processed {"connection_id":134316,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:47:08] local.INFO: Acknowledgment sent {"connection_id":134316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:47:13] local.INFO: TCP Data received {"connection_id":132107,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62452b00012d5f9140062f00a80006015930..."} 
[2026-07-15 01:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62452b00012d5f9140062f00a80006015930..."} 
[2026-07-15 01:47:13] local.INFO: Processing buffer {"connection_id":132107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62452b00012d5f9140062f00a80006015930..."} 
[2026-07-15 01:47:13] local.INFO: Packet analysis {"connection_id":132107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6245"} 
[2026-07-15 01:47:13] local.INFO: Extracted packet for processing {"connection_id":132107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6245"} 
[2026-07-15 01:47:13] local.INFO: GPS Element Parsed {"raw_longitude":761237824,"raw_latitude":103743656,"longitude_deg":76.1237824,"latitude_deg":10.3743656,"altitude":6,"angle":345,"satellites":48,"speed":5,"hex_longitude":"2d5f9140","hex_latitude":"062f00a8","is_valid_coordinates":true} 
[2026-07-15 01:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719389184001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135911641626705920,"note":"Value kept but may cause issues"} 
[2026-07-15 01:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6886496438016657408,"note":"Value kept but may cause issues"} 
[2026-07-15 01:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784060128000,"timestamp_ms":1784060128000,"timestamp_seconds":1784060128,"priority":1,"record_length":96,"hex_timestamp":"0000019f62452b00"} 
[2026-07-15 01:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:47:13] 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-07-15 01:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 01:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132107,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132107,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719389184001,"66":27952,"175":206,"19":40192,"24":5,"16":135911641626705920,"45":6886496438016657408},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,19,24,16,45]} 
[2026-07-15 01:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719389184001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:47:13] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-15 01:47:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-15 01:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135911641626705920,"km_value":135911641626705.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":6886496438016657408,"description":"Unknown IO ID 45"} 
[2026-07-15 01:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719389184001,"power":27952,"unknown_175":206,"unknown_19":40192,"ignition":5,"odometer":null,"unknown_45":6886496438016657408}} 
[2026-07-15 01:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":132107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488963,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:47:13] local.INFO: GPS data processed {"connection_id":132107,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:47:13] local.INFO: Acknowledgment sent {"connection_id":132107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:47:36] local.INFO: TCP Data received {"connection_id":132947,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132947,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:47:36] local.INFO: Processing buffer {"connection_id":132947,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:47:36] local.INFO: IMEI packet received {"connection_id":132947,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":132947,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:47:39] local.INFO: TCP Data received {"connection_id":132947,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132947,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:47:39] local.INFO: Processing buffer {"connection_id":132947,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:47:39] local.INFO: IMEI packet received {"connection_id":132947,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":132947,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:47:40] local.INFO: TCP Data received {"connection_id":134316,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f6243f668012d7f92c005afd830000000502b..."} 
[2026-07-15 01:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6243f668012d7f92c005afd830000000502b..."} 
[2026-07-15 01:47:40] local.INFO: Processing buffer {"connection_id":134316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6243f668012d7f92c005afd830000000502b..."} 
[2026-07-15 01:47:40] local.INFO: Packet analysis {"connection_id":134316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6243"} 
[2026-07-15 01:47:40] local.INFO: Extracted packet for processing {"connection_id":134316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6243"} 
[2026-07-15 01:47:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719295488001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784060049000,"timestamp_ms":1784060049000,"timestamp_seconds":1784060049,"priority":1,"record_length":96,"hex_timestamp":"0000019f6243f668"} 
[2026-07-15 01:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 01:47:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":134316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":134316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":134316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:47:40] 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-07-15 01:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719295488001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719295488001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:47:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:47:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719295488001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":134316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:47:40] local.INFO: GPS data processed {"connection_id":134316,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:47:40] local.INFO: Acknowledgment sent {"connection_id":134316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:47:41] local.INFO: TCP Data received {"connection_id":132947,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132947,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:47:41] local.INFO: Processing buffer {"connection_id":132947,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:47:41] local.INFO: IMEI packet received {"connection_id":132947,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":132947,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:47:42] local.INFO: TCP Data received {"connection_id":132947,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62457d08012d5f8c40062f10880009014f2c..."} 
[2026-07-15 01:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62457d08012d5f8c40062f10880009014f2c..."} 
[2026-07-15 01:47:42] local.INFO: Processing buffer {"connection_id":132947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62457d08012d5f8c40062f10880009014f2c..."} 
[2026-07-15 01:47:42] local.INFO: Packet analysis {"connection_id":132947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6245"} 
[2026-07-15 01:47:42] local.INFO: Extracted packet for processing {"connection_id":132947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6245"} 
[2026-07-15 01:47:42] local.INFO: GPS Element Parsed {"raw_longitude":761236544,"raw_latitude":103747720,"longitude_deg":76.1236544,"latitude_deg":10.374772,"altitude":9,"angle":335,"satellites":44,"speed":12,"hex_longitude":"2d5f8c40","hex_latitude":"062f1088","is_valid_coordinates":true} 
[2026-07-15 01:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719392768001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135911847785136128,"note":"Value kept but may cause issues"} 
[2026-07-15 01:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6886355700528752640,"note":"Value kept but may cause issues"} 
[2026-07-15 01:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784060149000,"timestamp_ms":1784060149000,"timestamp_seconds":1784060149,"priority":1,"record_length":96,"hex_timestamp":"0000019f62457d08"} 
[2026-07-15 01:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-15 01:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132947,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132947,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719392768001,"66":27876,"174":206,"19":40192,"24":12,"16":135911847785136128,"45":6886355700528752640},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,19,24,16,45]} 
[2026-07-15 01:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719392768001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:47:42] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-15 01:47:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-15 01:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135911847785136128,"km_value":135911847785136.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6886355700528752640,"description":"Unknown IO ID 45"} 
[2026-07-15 01:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719392768001,"power":27876,"unknown_174":206,"unknown_19":40192,"ignition":12,"odometer":null,"unknown_45":6886355700528752640}} 
[2026-07-15 01:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":132947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488965,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:47:42] local.INFO: GPS data processed {"connection_id":132947,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:47:42] local.INFO: Acknowledgment sent {"connection_id":132947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:48:02] local.INFO: TCP Data received {"connection_id":134317,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:48:02] local.INFO: Processing buffer {"connection_id":134317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:48:02] local.INFO: IMEI packet received {"connection_id":134317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":134317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:48:07] local.INFO: TCP Data received {"connection_id":134317,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:48:07] local.INFO: Processing buffer {"connection_id":134317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:48:07] local.INFO: IMEI packet received {"connection_id":134317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":134317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:48:08] local.INFO: TCP Data received {"connection_id":134317,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f6243f668012d7f92c005afd830000000502b..."} 
[2026-07-15 01:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6243f668012d7f92c005afd830000000502b..."} 
[2026-07-15 01:48:08] local.INFO: Processing buffer {"connection_id":134317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6243f668012d7f92c005afd830000000502b..."} 
[2026-07-15 01:48:08] local.INFO: Packet analysis {"connection_id":134317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6243"} 
[2026-07-15 01:48:08] local.INFO: Extracted packet for processing {"connection_id":134317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6243"} 
[2026-07-15 01:48:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719295488001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784060049000,"timestamp_ms":1784060049000,"timestamp_seconds":1784060049,"priority":1,"record_length":96,"hex_timestamp":"0000019f6243f668"} 
[2026-07-15 01:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 01:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719295488001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719295488001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:48:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:48:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719295488001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":134317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:48:08] local.INFO: GPS data processed {"connection_id":134317,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:48:08] local.INFO: Acknowledgment sent {"connection_id":134317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:48:13] local.INFO: TCP Data received {"connection_id":132947,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6246ccf8012d5f1bc0063060d00004015b2e..."} 
[2026-07-15 01:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6246ccf8012d5f1bc0063060d00004015b2e..."} 
[2026-07-15 01:48:13] local.INFO: Processing buffer {"connection_id":132947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6246ccf8012d5f1bc0063060d00004015b2e..."} 
[2026-07-15 01:48:13] local.INFO: Packet analysis {"connection_id":132947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6246"} 
[2026-07-15 01:48:13] local.INFO: Extracted packet for processing {"connection_id":132947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6246"} 
[2026-07-15 01:48:13] local.INFO: GPS Element Parsed {"raw_longitude":761207744,"raw_latitude":103833808,"longitude_deg":76.1207744,"latitude_deg":10.3833808,"altitude":4,"angle":347,"satellites":46,"speed":58,"hex_longitude":"2d5f1bc0","hex_latitude":"063060d0","is_valid_coordinates":true} 
[2026-07-15 01:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719418368001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135916263011516416,"note":"Value kept but may cause issues"} 
[2026-07-15 01:48:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6855674928087828480,"note":"Value kept but may cause issues"} 
[2026-07-15 01:48:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784060235000,"timestamp_ms":1784060235000,"timestamp_seconds":1784060235,"priority":1,"record_length":96,"hex_timestamp":"0000019f6246ccf8"} 
[2026-07-15 01:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:48:13] 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-07-15 01:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-15 01:48:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:48:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132947,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132947,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:48:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719418368001,"66":27821,"174":206,"19":40192,"24":58,"16":135916263011516416,"45":6855674928087828480},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,19,24,16,45]} 
[2026-07-15 01:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719418368001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:48:13] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-15 01:48:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-15 01:48:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135916263011516416,"km_value":135916263011516.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:48:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":6855674928087828480,"description":"Unknown IO ID 45"} 
[2026-07-15 01:48:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719418368001,"power":27821,"unknown_174":206,"unknown_19":40192,"ignition":58,"odometer":null,"unknown_45":6855674928087828480}} 
[2026-07-15 01:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":132947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488967,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:48:13] local.INFO: GPS data processed {"connection_id":132947,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:48:13] local.INFO: Acknowledgment sent {"connection_id":132947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:48:39] local.INFO: TCP Data received {"connection_id":134317,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f6243f668012d7f92c005afd830000000502b..."} 
[2026-07-15 01:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6243f668012d7f92c005afd830000000502b..."} 
[2026-07-15 01:48:39] local.INFO: Processing buffer {"connection_id":134317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6243f668012d7f92c005afd830000000502b..."} 
[2026-07-15 01:48:39] local.INFO: Packet analysis {"connection_id":134317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6243"} 
[2026-07-15 01:48:39] local.INFO: Extracted packet for processing {"connection_id":134317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6243"} 
[2026-07-15 01:48:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719295488001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784060049000,"timestamp_ms":1784060049000,"timestamp_seconds":1784060049,"priority":1,"record_length":96,"hex_timestamp":"0000019f6243f668"} 
[2026-07-15 01:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 01:48:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:48:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719295488001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719295488001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:48:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:48:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719295488001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":134317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:48:39] local.INFO: GPS data processed {"connection_id":134317,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:48:39] local.INFO: Acknowledgment sent {"connection_id":134317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:48:41] local.INFO: TCP Data received {"connection_id":131933,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131933,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:48:41] local.INFO: Processing buffer {"connection_id":131933,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:48:41] local.INFO: IMEI packet received {"connection_id":131933,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":131933,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:48:42] local.INFO: TCP Data received {"connection_id":131933,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131933,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:48:42] local.INFO: Processing buffer {"connection_id":131933,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:48:42] local.INFO: IMEI packet received {"connection_id":131933,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":131933,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:48:44] local.INFO: TCP Data received {"connection_id":131933,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6246e850012d5f1240063087a0000501582b..."} 
[2026-07-15 01:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6246e850012d5f1240063087a0000501582b..."} 
[2026-07-15 01:48:44] local.INFO: Processing buffer {"connection_id":131933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6246e850012d5f1240063087a0000501582b..."} 
[2026-07-15 01:48:44] local.INFO: Packet analysis {"connection_id":131933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6246"} 
[2026-07-15 01:48:44] local.INFO: Extracted packet for processing {"connection_id":131933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6246"} 
[2026-07-15 01:48:44] local.INFO: GPS Element Parsed {"raw_longitude":761205312,"raw_latitude":103843744,"longitude_deg":76.1205312,"latitude_deg":10.3843744,"altitude":5,"angle":344,"satellites":43,"speed":57,"hex_longitude":"2d5f1240","hex_latitude":"063087a0","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719420160001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135916756932755456,"note":"Value kept but may cause issues"} 
[2026-07-15 01:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6853282390788329472,"note":"Value kept but may cause issues"} 
[2026-07-15 01:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784060242000,"timestamp_ms":1784060242000,"timestamp_seconds":1784060242,"priority":1,"record_length":96,"hex_timestamp":"0000019f6246e850"} 
[2026-07-15 01:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:48:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 01:48:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":131933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":131933,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":131933,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719420160001,"66":27876,"112":206,"19":40192,"24":57,"16":135916756932755456,"45":6853282390788329472},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,19,24,16,45]} 
[2026-07-15 01:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719420160001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:48:44] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-15 01:48:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-15 01:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135916756932755456,"km_value":135916756932755.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":6853282390788329472,"description":"Unknown IO ID 45"} 
[2026-07-15 01:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719420160001,"power":27876,"unknown_112":206,"unknown_19":40192,"ignition":57,"odometer":null,"unknown_45":6853282390788329472}} 
[2026-07-15 01:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":131933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488969,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:48:44] local.INFO: GPS data processed {"connection_id":131933,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:48:44] local.INFO: Acknowledgment sent {"connection_id":131933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:48:45] local.INFO: TCP Data received {"connection_id":131933,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f624703a8012d5f06400630add8000401552f..."} 
[2026-07-15 01:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f624703a8012d5f06400630add8000401552f..."} 
[2026-07-15 01:48:45] local.INFO: Processing buffer {"connection_id":131933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f624703a8012d5f06400630add8000401552f..."} 
[2026-07-15 01:48:45] local.INFO: Packet analysis {"connection_id":131933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6247"} 
[2026-07-15 01:48:45] local.INFO: Extracted packet for processing {"connection_id":131933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6247"} 
[2026-07-15 01:48:45] local.INFO: GPS Element Parsed {"raw_longitude":761202240,"raw_latitude":103853528,"longitude_deg":76.120224,"latitude_deg":10.3853528,"altitude":4,"angle":341,"satellites":47,"speed":58,"hex_longitude":"2d5f0640","hex_latitude":"0630add8","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719421952001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135917255148961792,"note":"Value kept but may cause issues"} 
[2026-07-15 01:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6850608378512121856,"note":"Value kept but may cause issues"} 
[2026-07-15 01:48:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784060249000,"timestamp_ms":1784060249000,"timestamp_seconds":1784060249,"priority":1,"record_length":96,"hex_timestamp":"0000019f624703a8"} 
[2026-07-15 01:48:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:48:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-15 01:48:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:48:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131933,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131933,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:48:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719421952001,"66":27800,"112":206,"19":40192,"24":58,"16":135917255148961792,"45":6850608378512121856},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,19,24,16,45]} 
[2026-07-15 01:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719421952001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:48:45] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-15 01:48:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-15 01:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135917255148961792,"km_value":135917255148961.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:48:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":6850608378512121856,"description":"Unknown IO ID 45"} 
[2026-07-15 01:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719421952001,"power":27800,"unknown_112":206,"unknown_19":40192,"ignition":58,"odometer":null,"unknown_45":6850608378512121856}} 
[2026-07-15 01:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":131933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488970,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:48:45] local.INFO: GPS data processed {"connection_id":131933,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:48:45] local.INFO: Acknowledgment sent {"connection_id":131933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:49:02] local.INFO: TCP Data received {"connection_id":132948,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:49:02] local.INFO: Processing buffer {"connection_id":132948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:49:02] local.INFO: IMEI packet received {"connection_id":132948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":132948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:49:07] local.INFO: TCP Data received {"connection_id":132948,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:49:07] local.INFO: Processing buffer {"connection_id":132948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:49:07] local.INFO: IMEI packet received {"connection_id":132948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":132948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:49:08] local.INFO: TCP Data received {"connection_id":132948,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f6243f668012d7f92c005afd830000000502b..."} 
[2026-07-15 01:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6243f668012d7f92c005afd830000000502b..."} 
[2026-07-15 01:49:08] local.INFO: Processing buffer {"connection_id":132948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6243f668012d7f92c005afd830000000502b..."} 
[2026-07-15 01:49:08] local.INFO: Packet analysis {"connection_id":132948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6243"} 
[2026-07-15 01:49:08] local.INFO: Extracted packet for processing {"connection_id":132948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6243"} 
[2026-07-15 01:49:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719295488001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:49:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784060049000,"timestamp_ms":1784060049000,"timestamp_seconds":1784060049,"priority":1,"record_length":96,"hex_timestamp":"0000019f6243f668"} 
[2026-07-15 01:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 01:49:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:49:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:49:08] 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-07-15 01:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719295488001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719295488001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:49:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:49:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719295488001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":132948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:49:08] local.INFO: GPS data processed {"connection_id":132948,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:49:08] local.INFO: Acknowledgment sent {"connection_id":132948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:49:18] local.INFO: TCP Data received {"connection_id":131933,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62471f00012d5ef9400630d3c8000401552f..."} 
[2026-07-15 01:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62471f00012d5ef9400630d3c8000401552f..."} 
[2026-07-15 01:49:18] local.INFO: Processing buffer {"connection_id":131933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62471f00012d5ef9400630d3c8000401552f..."} 
[2026-07-15 01:49:18] local.INFO: Packet analysis {"connection_id":131933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6247"} 
[2026-07-15 01:49:18] local.INFO: Extracted packet for processing {"connection_id":131933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6247"} 
[2026-07-15 01:49:18] local.INFO: GPS Element Parsed {"raw_longitude":761198912,"raw_latitude":103863240,"longitude_deg":76.1198912,"latitude_deg":10.386324,"altitude":4,"angle":341,"satellites":47,"speed":58,"hex_longitude":"2d5ef940","hex_latitude":"0630d3c8","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719423744001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135917753365168128,"note":"Value kept but may cause issues"} 
[2026-07-15 01:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6847230678794098688,"note":"Value kept but may cause issues"} 
[2026-07-15 01:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784060256000,"timestamp_ms":1784060256000,"timestamp_seconds":1784060256,"priority":1,"record_length":96,"hex_timestamp":"0000019f62471f00"} 
[2026-07-15 01:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:49: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-07-15 01: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 01:49:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":131933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":131933,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":131933,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719423744001,"66":27930,"112":206,"19":40192,"24":58,"16":135917753365168128,"45":6847230678794098688},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,19,24,16,45]} 
[2026-07-15 01:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719423744001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:49:18] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-15 01:49:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-15 01:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135917753365168128,"km_value":135917753365168.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6847230678794098688,"description":"Unknown IO ID 45"} 
[2026-07-15 01:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719423744001,"power":27930,"unknown_112":206,"unknown_19":40192,"ignition":58,"odometer":null,"unknown_45":6847230678794098688}} 
[2026-07-15 01:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":131933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488972,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:49:18] local.INFO: GPS data processed {"connection_id":131933,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:49:18] local.INFO: Acknowledgment sent {"connection_id":131933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:49:33] local.INFO: TCP Data received {"connection_id":132108,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132108,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:49:33] local.INFO: Processing buffer {"connection_id":132108,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:49:33] local.INFO: IMEI packet received {"connection_id":132108,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":132108,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:49:36] local.INFO: TCP Data received {"connection_id":132108,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132108,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:49:36] local.INFO: Processing buffer {"connection_id":132108,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:49:36] local.INFO: IMEI packet received {"connection_id":132108,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":132108,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:49:39] local.INFO: TCP Data received {"connection_id":132948,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f6243f668012d7f92c005afd830000000502b..."} 
[2026-07-15 01:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6243f668012d7f92c005afd830000000502b..."} 
[2026-07-15 01:49:39] local.INFO: Processing buffer {"connection_id":132948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6243f668012d7f92c005afd830000000502b..."} 
[2026-07-15 01:49:39] local.INFO: Packet analysis {"connection_id":132948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6243"} 
[2026-07-15 01:49:39] local.INFO: Extracted packet for processing {"connection_id":132948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6243"} 
[2026-07-15 01:49:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719295488001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784060049000,"timestamp_ms":1784060049000,"timestamp_seconds":1784060049,"priority":1,"record_length":96,"hex_timestamp":"0000019f6243f668"} 
[2026-07-15 01:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 01:49:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:49:39] 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-07-15 01:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719295488001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719295488001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:49:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:49:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719295488001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":132948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:49:39] local.INFO: GPS data processed {"connection_id":132948,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:49:39] local.INFO: Acknowledgment sent {"connection_id":132948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:49:42] local.INFO: TCP Data received {"connection_id":132108,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132108,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:49:42] local.INFO: Processing buffer {"connection_id":132108,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:49:42] local.INFO: IMEI packet received {"connection_id":132108,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":132108,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:49:43] local.INFO: TCP Data received {"connection_id":132108,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62480578012d5ece40063216600004015530..."} 
[2026-07-15 01:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62480578012d5ece40063216600004015530..."} 
[2026-07-15 01:49:43] local.INFO: Processing buffer {"connection_id":132108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62480578012d5ece40063216600004015530..."} 
[2026-07-15 01:49:43] local.INFO: Packet analysis {"connection_id":132108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6248"} 
[2026-07-15 01:49:43] local.INFO: Extracted packet for processing {"connection_id":132108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6248"} 
[2026-07-15 01:49:43] local.INFO: GPS Element Parsed {"raw_longitude":761187904,"raw_latitude":103945824,"longitude_deg":76.1187904,"latitude_deg":10.3945824,"altitude":4,"angle":341,"satellites":48,"speed":60,"hex_longitude":"2d5ece40","hex_latitude":"06321660","is_valid_coordinates":true} 
[2026-07-15 01:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719440640001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135921850763968512,"note":"Value kept but may cause issues"} 
[2026-07-15 01:49:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6831468080121929728,"note":"Value kept but may cause issues"} 
[2026-07-15 01:49:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784060315000,"timestamp_ms":1784060315000,"timestamp_seconds":1784060315,"priority":1,"record_length":96,"hex_timestamp":"0000019f62480578"} 
[2026-07-15 01:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:49:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-15 01:49:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:49:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":132108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":132108,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":132108,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719440640001,"66":27865,"112":206,"19":40192,"24":60,"16":135921850763968512,"45":6831468080121929728},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,19,24,16,45]} 
[2026-07-15 01:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719440640001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:49:43] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-15 01:49:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-15 01:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135921850763968512,"km_value":135921850763968.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:49:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":6831468080121929728,"description":"Unknown IO ID 45"} 
[2026-07-15 01:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719440640001,"power":27865,"unknown_112":206,"unknown_19":40192,"ignition":60,"odometer":null,"unknown_45":6831468080121929728}} 
[2026-07-15 01:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":132108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488974,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:49:43] local.INFO: GPS data processed {"connection_id":132108,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:49:43] local.INFO: Acknowledgment sent {"connection_id":132108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:50:02] local.INFO: TCP Data received {"connection_id":134318,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:50:02] local.INFO: Processing buffer {"connection_id":134318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:50:02] local.INFO: IMEI packet received {"connection_id":134318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":134318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:50:07] local.INFO: TCP Data received {"connection_id":134318,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:50:07] local.INFO: Processing buffer {"connection_id":134318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:50:07] local.INFO: IMEI packet received {"connection_id":134318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":134318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:50:08] local.INFO: TCP Data received {"connection_id":134318,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f62488e30012d7f92c005afd8300000005024..."} 
[2026-07-15 01:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62488e30012d7f92c005afd8300000005024..."} 
[2026-07-15 01:50:08] local.INFO: Processing buffer {"connection_id":134318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62488e30012d7f92c005afd8300000005024..."} 
[2026-07-15 01:50:08] local.INFO: Packet analysis {"connection_id":134318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6248"} 
[2026-07-15 01:50:08] local.INFO: Extracted packet for processing {"connection_id":134318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6248"} 
[2026-07-15 01:50:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719372544001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784060350000,"timestamp_ms":1784060350000,"timestamp_seconds":1784060350,"priority":1,"record_length":96,"hex_timestamp":"0000019f62488e30"} 
[2026-07-15 01:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 01:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:50:08] 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-07-15 01:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719372544001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719372544001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:50:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:50:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719372544001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":134318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:50:08] local.INFO: GPS data processed {"connection_id":134318,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:50:08] local.INFO: Acknowledgment sent {"connection_id":134318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:50:15] local.INFO: TCP Data received {"connection_id":132108,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62481ce8012d5ebf80063236480003014e2c..."} 
[2026-07-15 01:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62481ce8012d5ebf80063236480003014e2c..."} 
[2026-07-15 01:50:15] local.INFO: Processing buffer {"connection_id":132108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62481ce8012d5ebf80063236480003014e2c..."} 
[2026-07-15 01:50:15] local.INFO: Packet analysis {"connection_id":132108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6248"} 
[2026-07-15 01:50:15] local.INFO: Extracted packet for processing {"connection_id":132108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6248"} 
[2026-07-15 01:50:15] local.INFO: GPS Element Parsed {"raw_longitude":761184128,"raw_latitude":103953992,"longitude_deg":76.1184128,"latitude_deg":10.3953992,"altitude":3,"angle":334,"satellites":44,"speed":58,"hex_longitude":"2d5ebf80","hex_latitude":"06323648","is_valid_coordinates":true} 
[2026-07-15 01:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719440640001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135922284555665408,"note":"Value kept but may cause issues"} 
[2026-07-15 01:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6831468080121929728,"note":"Value kept but may cause issues"} 
[2026-07-15 01:50:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784060321000,"timestamp_ms":1784060321000,"timestamp_seconds":1784060321,"priority":1,"record_length":96,"hex_timestamp":"0000019f62481ce8"} 
[2026-07-15 01:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:50:15] 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-07-15 01:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-15 01:50:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":132108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":132108,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":132108,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:50:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719440640001,"66":27767,"112":206,"19":40192,"24":58,"16":135922284555665408,"45":6831468080121929728},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,19,24,16,45]} 
[2026-07-15 01:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719440640001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:50:15] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-15 01:50:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-15 01:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135922284555665408,"km_value":135922284555665.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":6831468080121929728,"description":"Unknown IO ID 45"} 
[2026-07-15 01:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719440640001,"power":27767,"unknown_112":206,"unknown_19":40192,"ignition":58,"odometer":null,"unknown_45":6831468080121929728}} 
[2026-07-15 01:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":132108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488976,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:50:15] local.INFO: GPS data processed {"connection_id":132108,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:50:15] local.INFO: Acknowledgment sent {"connection_id":132108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:50:36] local.INFO: TCP Data received {"connection_id":134319,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134319,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:50:36] local.INFO: Processing buffer {"connection_id":134319,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:50:36] local.INFO: IMEI packet received {"connection_id":134319,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":134319,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:50:39] local.INFO: TCP Data received {"connection_id":134318,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f62488e30012d7f92c005afd8300000005024..."} 
[2026-07-15 01:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62488e30012d7f92c005afd8300000005024..."} 
[2026-07-15 01:50:39] local.INFO: Processing buffer {"connection_id":134318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62488e30012d7f92c005afd8300000005024..."} 
[2026-07-15 01:50:39] local.INFO: Packet analysis {"connection_id":134318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6248"} 
[2026-07-15 01:50:39] local.INFO: Extracted packet for processing {"connection_id":134318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6248"} 
[2026-07-15 01:50:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719372544001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784060350000,"timestamp_ms":1784060350000,"timestamp_seconds":1784060350,"priority":1,"record_length":96,"hex_timestamp":"0000019f62488e30"} 
[2026-07-15 01:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 01:50:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:50: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-07-15 01:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719372544001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719372544001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:50:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:50:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719372544001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":134318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:50:39] local.INFO: GPS data processed {"connection_id":134318,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:50:39] local.INFO: Acknowledgment sent {"connection_id":134318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:50:41] local.INFO: TCP Data received {"connection_id":134319,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134319,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:50:41] local.INFO: Processing buffer {"connection_id":134319,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:50:41] local.INFO: IMEI packet received {"connection_id":134319,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":134319,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:50:42] local.INFO: TCP Data received {"connection_id":134319,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62483840012d5eae4006325a680002014d2b..."} 
[2026-07-15 01:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62483840012d5eae4006325a680002014d2b..."} 
[2026-07-15 01:50:42] local.INFO: Processing buffer {"connection_id":134319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62483840012d5eae4006325a680002014d2b..."} 
[2026-07-15 01:50:42] local.INFO: Packet analysis {"connection_id":134319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6248"} 
[2026-07-15 01:50:42] local.INFO: Extracted packet for processing {"connection_id":134319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6248"} 
[2026-07-15 01:50:42] local.INFO: GPS Element Parsed {"raw_longitude":761179712,"raw_latitude":103963240,"longitude_deg":76.1179712,"latitude_deg":10.396324,"altitude":2,"angle":333,"satellites":43,"speed":58,"hex_longitude":"2d5eae40","hex_latitude":"06325a68","is_valid_coordinates":true} 
[2026-07-15 01:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719442176001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135922782771871744,"note":"Value kept but may cause issues"} 
[2026-07-15 01:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6827316324217538560,"note":"Value kept but may cause issues"} 
[2026-07-15 01:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784060328000,"timestamp_ms":1784060328000,"timestamp_seconds":1784060328,"priority":1,"record_length":96,"hex_timestamp":"0000019f62483840"} 
[2026-07-15 01:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 01:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":134319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":134319,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":134319,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719442176001,"66":27908,"111":206,"19":40192,"24":58,"16":135922782771871744,"45":6827316324217538560},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,19,24,16,45]} 
[2026-07-15 01:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719442176001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:50:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-15 01:50:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-15 01:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135922782771871744,"km_value":135922782771871.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6827316324217538560,"description":"Unknown IO ID 45"} 
[2026-07-15 01:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719442176001,"power":27908,"unknown_111":206,"unknown_19":40192,"ignition":58,"odometer":null,"unknown_45":6827316324217538560}} 
[2026-07-15 01:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":134319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488978,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:50:42] local.INFO: GPS data processed {"connection_id":134319,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:50:42] local.INFO: Acknowledgment sent {"connection_id":134319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:51:02] local.INFO: TCP Data received {"connection_id":132949,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:51:02] local.INFO: Processing buffer {"connection_id":132949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:51:02] local.INFO: IMEI packet received {"connection_id":132949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":132949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:51:07] local.INFO: TCP Data received {"connection_id":132949,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:51:07] local.INFO: Processing buffer {"connection_id":132949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:51:07] local.INFO: IMEI packet received {"connection_id":132949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":132949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:51:08] local.INFO: TCP Data received {"connection_id":132949,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f62488e30012d7f92c005afd8300000005024..."} 
[2026-07-15 01:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62488e30012d7f92c005afd8300000005024..."} 
[2026-07-15 01:51:08] local.INFO: Processing buffer {"connection_id":132949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62488e30012d7f92c005afd8300000005024..."} 
[2026-07-15 01:51:08] local.INFO: Packet analysis {"connection_id":132949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6248"} 
[2026-07-15 01:51:08] local.INFO: Extracted packet for processing {"connection_id":132949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6248"} 
[2026-07-15 01:51:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719372544001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784060350000,"timestamp_ms":1784060350000,"timestamp_seconds":1784060350,"priority":1,"record_length":96,"hex_timestamp":"0000019f62488e30"} 
[2026-07-15 01:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 01:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:51:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719372544001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719372544001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:51:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:51:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719372544001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":132949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:51:08] local.INFO: GPS data processed {"connection_id":132949,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:51:08] local.INFO: Acknowledgment sent {"connection_id":132949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:51:15] local.INFO: TCP Data received {"connection_id":134319,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6249a388012d5dc8c006343958000101442b..."} 
[2026-07-15 01:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6249a388012d5dc8c006343958000101442b..."} 
[2026-07-15 01:51:15] local.INFO: Processing buffer {"connection_id":134319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6249a388012d5dc8c006343958000101442b..."} 
[2026-07-15 01:51:15] local.INFO: Packet analysis {"connection_id":134319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6249"} 
[2026-07-15 01:51:15] local.INFO: Extracted packet for processing {"connection_id":134319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6249"} 
[2026-07-15 01:51:15] local.INFO: GPS Element Parsed {"raw_longitude":761120960,"raw_latitude":104085848,"longitude_deg":76.112096,"latitude_deg":10.4085848,"altitude":1,"angle":324,"satellites":43,"speed":58,"hex_longitude":"2d5dc8c0","hex_latitude":"06343958","is_valid_coordinates":true} 
[2026-07-15 01:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719466240001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135929362661769216,"note":"Value kept but may cause issues"} 
[2026-07-15 01:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6763280767047704576,"note":"Value kept but may cause issues"} 
[2026-07-15 01:51:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784060421000,"timestamp_ms":1784060421000,"timestamp_seconds":1784060421,"priority":1,"record_length":96,"hex_timestamp":"0000019f6249a388"} 
[2026-07-15 01:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:51:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-15 01:51:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:51:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":134319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":134319,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":134319,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719466240001,"66":27767,"2":206,"19":40192,"24":58,"16":135929362661769216,"45":6763280767047704576},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,19,24,16,45]} 
[2026-07-15 01:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719466240001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:51:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-15 01:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135929362661769216,"km_value":135929362661769.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":6763280767047704576,"description":"Unknown IO ID 45"} 
[2026-07-15 01:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719466240001,"power":27767,"power_alt":206,"unknown_19":40192,"ignition":58,"odometer":null,"unknown_45":6763280767047704576}} 
[2026-07-15 01:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":134319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488980,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:51:15] local.INFO: GPS data processed {"connection_id":134319,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:51:15] local.INFO: Acknowledgment sent {"connection_id":134319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:51:36] local.INFO: TCP Data received {"connection_id":132109,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132109,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:51:36] local.INFO: Processing buffer {"connection_id":132109,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:51:36] local.INFO: IMEI packet received {"connection_id":132109,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":132109,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:51:41] local.INFO: TCP Data received {"connection_id":132109,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132109,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:51:41] local.INFO: Processing buffer {"connection_id":132109,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:51:41] local.INFO: IMEI packet received {"connection_id":132109,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":132109,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:51:42] local.INFO: TCP Data received {"connection_id":132109,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6249bee0012d5db14006345a20000201472d..."} 
[2026-07-15 01:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6249bee0012d5db14006345a20000201472d..."} 
[2026-07-15 01:51:42] local.INFO: Processing buffer {"connection_id":132109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6249bee0012d5db14006345a20000201472d..."} 
[2026-07-15 01:51:42] local.INFO: Packet analysis {"connection_id":132109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6249"} 
[2026-07-15 01:51:42] local.INFO: Extracted packet for processing {"connection_id":132109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6249"} 
[2026-07-15 01:51:42] local.INFO: GPS Element Parsed {"raw_longitude":761114944,"raw_latitude":104094240,"longitude_deg":76.1114944,"latitude_deg":10.409424,"altitude":2,"angle":327,"satellites":45,"speed":59,"hex_longitude":"2d5db140","hex_latitude":"06345a20","is_valid_coordinates":true} 
[2026-07-15 01:51: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-07-15 01:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719467776001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135929860877975552,"note":"Value kept but may cause issues"} 
[2026-07-15 01:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6757862373747939328,"note":"Value kept but may cause issues"} 
[2026-07-15 01:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784060428000,"timestamp_ms":1784060428000,"timestamp_seconds":1784060428,"priority":1,"record_length":96,"hex_timestamp":"0000019f6249bee0"} 
[2026-07-15 01:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 01:51:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:51: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-07-15 01:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132109,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132109,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719467776001,"66":27821,"2":206,"19":40192,"24":59,"16":135929860877975552,"45":6757862373747939328},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,19,24,16,45]} 
[2026-07-15 01:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719467776001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:51:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-15 01:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135929860877975552,"km_value":135929860877975.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6757862373747939328,"description":"Unknown IO ID 45"} 
[2026-07-15 01:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719467776001,"power":27821,"power_alt":206,"unknown_19":40192,"ignition":59,"odometer":null,"unknown_45":6757862373747939328}} 
[2026-07-15 01:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":132109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488981,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:51:42] local.INFO: GPS data processed {"connection_id":132109,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:51:42] local.INFO: Acknowledgment sent {"connection_id":132109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:51:44] local.INFO: TCP Data received {"connection_id":132949,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f62488e30012d7f92c005afd8300000005024..."} 
[2026-07-15 01:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62488e30012d7f92c005afd8300000005024..."} 
[2026-07-15 01:51:44] local.INFO: Processing buffer {"connection_id":132949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62488e30012d7f92c005afd8300000005024..."} 
[2026-07-15 01:51:44] local.INFO: Packet analysis {"connection_id":132949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6248"} 
[2026-07-15 01:51:44] local.INFO: Extracted packet for processing {"connection_id":132949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6248"} 
[2026-07-15 01:51:44] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719372544001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:51:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:51:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784060350000,"timestamp_ms":1784060350000,"timestamp_seconds":1784060350,"priority":1,"record_length":96,"hex_timestamp":"0000019f62488e30"} 
[2026-07-15 01:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:51:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 01:51:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":132949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":132949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":132949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:51:44] 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-07-15 01:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719372544001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719372544001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:51:44] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:51:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:51:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719372544001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":132949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:51:44] local.INFO: GPS data processed {"connection_id":132949,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:51:44] local.INFO: Acknowledgment sent {"connection_id":132949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:52:02] local.INFO: TCP Data received {"connection_id":131934,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:52:02] local.INFO: Processing buffer {"connection_id":131934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:52:02] local.INFO: IMEI packet received {"connection_id":131934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":131934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:52:07] local.INFO: TCP Data received {"connection_id":131934,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:52:07] local.INFO: Processing buffer {"connection_id":131934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:52:07] local.INFO: IMEI packet received {"connection_id":131934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":131934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:52:08] local.INFO: TCP Data received {"connection_id":131934,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f62488e30012d7f92c005afd8300000005024..."} 
[2026-07-15 01:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62488e30012d7f92c005afd8300000005024..."} 
[2026-07-15 01:52:08] local.INFO: Processing buffer {"connection_id":131934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62488e30012d7f92c005afd8300000005024..."} 
[2026-07-15 01:52:08] local.INFO: Packet analysis {"connection_id":131934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6248"} 
[2026-07-15 01:52:08] local.INFO: Extracted packet for processing {"connection_id":131934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6248"} 
[2026-07-15 01:52:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719372544001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784060350000,"timestamp_ms":1784060350000,"timestamp_seconds":1784060350,"priority":1,"record_length":96,"hex_timestamp":"0000019f62488e30"} 
[2026-07-15 01:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 01:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":131934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":131934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":131934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719372544001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719372544001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:52:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:52:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719372544001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":131934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:52:08] local.INFO: GPS data processed {"connection_id":131934,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:52:08] local.INFO: Acknowledgment sent {"connection_id":131934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:52:17] local.INFO: TCP Data received {"connection_id":132109,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6249da38012d5d9e8006347de00002014d2d..."} 
[2026-07-15 01:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6249da38012d5d9e8006347de00002014d2d..."} 
[2026-07-15 01:52:17] local.INFO: Processing buffer {"connection_id":132109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6249da38012d5d9e8006347de00002014d2d..."} 
[2026-07-15 01:52:17] local.INFO: Packet analysis {"connection_id":132109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6249"} 
[2026-07-15 01:52:17] local.INFO: Extracted packet for processing {"connection_id":132109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6249"} 
[2026-07-15 01:52:17] local.INFO: GPS Element Parsed {"raw_longitude":761110144,"raw_latitude":104103392,"longitude_deg":76.1110144,"latitude_deg":10.4103392,"altitude":2,"angle":333,"satellites":45,"speed":57,"hex_longitude":"2d5d9e80","hex_latitude":"06347de0","is_valid_coordinates":true} 
[2026-07-15 01:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719469568001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135930359094181888,"note":"Value kept but may cause issues"} 
[2026-07-15 01:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6751247711797387264,"note":"Value kept but may cause issues"} 
[2026-07-15 01:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784060435000,"timestamp_ms":1784060435000,"timestamp_seconds":1784060435,"priority":1,"record_length":96,"hex_timestamp":"0000019f6249da38"} 
[2026-07-15 01:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 01:52:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132109,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132109,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719469568001,"66":27800,"2":206,"19":40192,"24":57,"16":135930359094181888,"45":6751247711797387264},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,19,24,16,45]} 
[2026-07-15 01:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719469568001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:52:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-15 01:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135930359094181888,"km_value":135930359094181.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":6751247711797387264,"description":"Unknown IO ID 45"} 
[2026-07-15 01:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719469568001,"power":27800,"power_alt":206,"unknown_19":40192,"ignition":57,"odometer":null,"unknown_45":6751247711797387264}} 
[2026-07-15 01:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":132109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488984,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:52:17] local.INFO: GPS data processed {"connection_id":132109,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:52:17] local.INFO: Acknowledgment sent {"connection_id":132109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:52:36] local.INFO: TCP Data received {"connection_id":131935,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131935,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:52:36] local.INFO: Processing buffer {"connection_id":131935,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:52:36] local.INFO: IMEI packet received {"connection_id":131935,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":131935,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:52:39] local.INFO: TCP Data received {"connection_id":131934,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f62488e30012d7f92c005afd8300000005024..."} 
[2026-07-15 01:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62488e30012d7f92c005afd8300000005024..."} 
[2026-07-15 01:52:39] local.INFO: Processing buffer {"connection_id":131934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62488e30012d7f92c005afd8300000005024..."} 
[2026-07-15 01:52:39] local.INFO: Packet analysis {"connection_id":131934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6248"} 
[2026-07-15 01:52:39] local.INFO: Extracted packet for processing {"connection_id":131934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6248"} 
[2026-07-15 01:52:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719372544001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:52:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784060350000,"timestamp_ms":1784060350000,"timestamp_seconds":1784060350,"priority":1,"record_length":96,"hex_timestamp":"0000019f62488e30"} 
[2026-07-15 01:52:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:52:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 01:52:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:52:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:52:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":131934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":131934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":131934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:52:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719372544001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719372544001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:52:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:52:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719372544001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":131934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:52:39] local.INFO: GPS data processed {"connection_id":131934,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:52:39] local.INFO: Acknowledgment sent {"connection_id":131934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:52:50] local.INFO: TCP Data received {"connection_id":131935,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131935,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:52:50] local.INFO: Processing buffer {"connection_id":131935,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:52:50] local.INFO: IMEI packet received {"connection_id":131935,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":131935,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:52:50] local.INFO: TCP Data received {"connection_id":131935,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131935,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:52:50] local.INFO: Processing buffer {"connection_id":131935,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:52:50] local.INFO: IMEI packet received {"connection_id":131935,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":131935,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:52:52] local.INFO: TCP Data received {"connection_id":131935,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f624aff30012d5cc3000635e510000501472e..."} 
[2026-07-15 01:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f624aff30012d5cc3000635e510000501472e..."} 
[2026-07-15 01:52:52] local.INFO: Processing buffer {"connection_id":131935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f624aff30012d5cc3000635e510000501472e..."} 
[2026-07-15 01:52:52] local.INFO: Packet analysis {"connection_id":131935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f624a"} 
[2026-07-15 01:52:52] local.INFO: Extracted packet for processing {"connection_id":131935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f624a"} 
[2026-07-15 01:52:52] local.INFO: GPS Element Parsed {"raw_longitude":761053952,"raw_latitude":104195344,"longitude_deg":76.1053952,"latitude_deg":10.4195344,"altitude":5,"angle":327,"satellites":46,"speed":58,"hex_longitude":"2d5cc300","hex_latitude":"0635e510","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719488768001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135935586069381120,"note":"Value kept but may cause issues"} 
[2026-07-15 01:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6690449116851578880,"note":"Value kept but may cause issues"} 
[2026-07-15 01:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1784060510000,"timestamp_ms":1784060510000,"timestamp_seconds":1784060510,"priority":1,"record_length":96,"hex_timestamp":"0000019f624aff30"} 
[2026-07-15 01:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 01:52:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":131935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":131935,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":131935,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:52:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719488768001,"66":27365,"3":206,"19":40192,"24":58,"16":135935586069381120,"45":6690449116851578880},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,19,24,16,45]} 
[2026-07-15 01:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719488768001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:52:52] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 01:52:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-15 01:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135935586069381120,"km_value":135935586069381.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":6690449116851578880,"description":"Unknown IO ID 45"} 
[2026-07-15 01:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719488768001,"power":27365,"unknown_3":206,"unknown_19":40192,"ignition":58,"odometer":null,"unknown_45":6690449116851578880}} 
[2026-07-15 01:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":131935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488986,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:52:52] local.INFO: GPS data processed {"connection_id":131935,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:52:52] local.INFO: Acknowledgment sent {"connection_id":131935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:52:53] local.INFO: TCP Data received {"connection_id":131935,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f624b16a0012d5cb08006360290000401492e..."} 
[2026-07-15 01:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f624b16a0012d5cb08006360290000401492e..."} 
[2026-07-15 01:52:53] local.INFO: Processing buffer {"connection_id":131935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f624b16a0012d5cb08006360290000401492e..."} 
[2026-07-15 01:52:53] local.INFO: Packet analysis {"connection_id":131935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f624b"} 
[2026-07-15 01:52:53] local.INFO: Extracted packet for processing {"connection_id":131935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f624b"} 
[2026-07-15 01:52:53] local.INFO: GPS Element Parsed {"raw_longitude":761049216,"raw_latitude":104202896,"longitude_deg":76.1049216,"latitude_deg":10.4202896,"altitude":4,"angle":329,"satellites":46,"speed":59,"hex_longitude":"2d5cb080","hex_latitude":"06360290","is_valid_coordinates":true} 
[2026-07-15 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-07-15 01:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719490560001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135936015566110720,"note":"Value kept but may cause issues"} 
[2026-07-15 01:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6684186298621956096,"note":"Value kept but may cause issues"} 
[2026-07-15 01:52:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784060516000,"timestamp_ms":1784060516000,"timestamp_seconds":1784060516,"priority":1,"record_length":96,"hex_timestamp":"0000019f624b16a0"} 
[2026-07-15 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-07-15 01:52:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-15 01:52:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 01:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":131935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":131935,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":131935,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:52:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719490560001,"66":27941,"3":206,"19":40192,"24":59,"16":135936015566110720,"45":6684186298621956096},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,19,24,16,45]} 
[2026-07-15 01:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719490560001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:52:53] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 01:52:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-15 01:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135936015566110720,"km_value":135936015566110.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:52:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":6684186298621956096,"description":"Unknown IO ID 45"} 
[2026-07-15 01:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719490560001,"power":27941,"unknown_3":206,"unknown_19":40192,"ignition":59,"odometer":null,"unknown_45":6684186298621956096}} 
[2026-07-15 01:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":131935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488987,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:52:53] local.INFO: GPS data processed {"connection_id":131935,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:52:53] local.INFO: Acknowledgment sent {"connection_id":131935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:53:04] local.INFO: TCP Data received {"connection_id":132950,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:53:04] local.INFO: Processing buffer {"connection_id":132950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:53:04] local.INFO: IMEI packet received {"connection_id":132950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":132950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:53:07] local.INFO: TCP Data received {"connection_id":132950,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:53:07] local.INFO: Processing buffer {"connection_id":132950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:53:07] local.INFO: IMEI packet received {"connection_id":132950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":132950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:53:08] local.INFO: TCP Data received {"connection_id":132950,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f62488e30012d7f92c005afd8300000005024..."} 
[2026-07-15 01:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62488e30012d7f92c005afd8300000005024..."} 
[2026-07-15 01:53:08] local.INFO: Processing buffer {"connection_id":132950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62488e30012d7f92c005afd8300000005024..."} 
[2026-07-15 01:53:08] local.INFO: Packet analysis {"connection_id":132950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6248"} 
[2026-07-15 01:53:08] local.INFO: Extracted packet for processing {"connection_id":132950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6248"} 
[2026-07-15 01:53:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719372544001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:53:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784060350000,"timestamp_ms":1784060350000,"timestamp_seconds":1784060350,"priority":1,"record_length":96,"hex_timestamp":"0000019f62488e30"} 
[2026-07-15 01:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:53:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 01:53:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:53:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719372544001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719372544001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:53:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:53:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719372544001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":132950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:53:08] local.INFO: GPS data processed {"connection_id":132950,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:53:08] local.INFO: Acknowledgment sent {"connection_id":132950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:53:40] local.INFO: TCP Data received {"connection_id":132950,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f62488e30012d7f92c005afd8300000005024..."} 
[2026-07-15 01:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62488e30012d7f92c005afd8300000005024..."} 
[2026-07-15 01:53:40] local.INFO: Processing buffer {"connection_id":132950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62488e30012d7f92c005afd8300000005024..."} 
[2026-07-15 01:53:40] local.INFO: Packet analysis {"connection_id":132950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6248"} 
[2026-07-15 01:53:40] local.INFO: Extracted packet for processing {"connection_id":132950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6248"} 
[2026-07-15 01:53:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719372544001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784060350000,"timestamp_ms":1784060350000,"timestamp_seconds":1784060350,"priority":1,"record_length":96,"hex_timestamp":"0000019f62488e30"} 
[2026-07-15 01:53:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:53:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 01:53:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:53:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:53:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719372544001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719372544001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:53:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:53:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719372544001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":132950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:53:40] local.INFO: GPS data processed {"connection_id":132950,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:53:40] local.INFO: Acknowledgment sent {"connection_id":132950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:53:40] local.INFO: TCP Data received {"connection_id":132110,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132110,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:53:40] local.INFO: Processing buffer {"connection_id":132110,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:53:40] local.INFO: IMEI packet received {"connection_id":132110,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":132110,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:53:41] local.INFO: TCP Data received {"connection_id":132110,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132110,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:53:41] local.INFO: Processing buffer {"connection_id":132110,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:53:41] local.INFO: IMEI packet received {"connection_id":132110,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":132110,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:53:47] local.INFO: TCP Data received {"connection_id":132110,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132110,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:53:47] local.INFO: Processing buffer {"connection_id":132110,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:53:47] local.INFO: IMEI packet received {"connection_id":132110,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":132110,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:53:49] local.INFO: TCP Data received {"connection_id":132110,"ip":"117.224.100.59","data_length":1360,"data_hex":"000000000000030f8e0a0000019f624b2e10012d5c9f40063620d00003014b2e..."} 
[2026-07-15 01:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132110,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019f624b2e10012d5c9f40063620d00003014b2e..."} 
[2026-07-15 01:53:49] local.INFO: Processing buffer {"connection_id":132110,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a0000019f624b2e10012d5c9f40063620d00003014b2e..."} 
[2026-07-15 01:53:49] local.INFO: Packet analysis {"connection_id":132110,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a0000019f624b"} 
[2026-07-15 01:53:49] local.INFO: Extracted packet for processing {"connection_id":132110,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019f624b"} 
[2026-07-15 01:53:49] local.INFO: GPS Element Parsed {"raw_longitude":761044800,"raw_latitude":104210640,"longitude_deg":76.10448,"latitude_deg":10.421064,"altitude":3,"angle":331,"satellites":46,"speed":58,"hex_longitude":"2d5c9f40","hex_latitude":"063620d0","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719492096001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135936445062840320,"note":"Value kept but may cause issues"} 
[2026-07-15 01:53:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6678979011554742272,"note":"Value kept but may cause issues"} 
[2026-07-15 01:53:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1784060522000,"timestamp_ms":1784060522000,"timestamp_seconds":1784060522,"priority":1,"record_length":96,"hex_timestamp":"0000019f624b2e10"} 
[2026-07-15 01:53:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:53:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01: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":109,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-15 01:53:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1076,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:53:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":132110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":132110,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":132110,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:53:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719492096001,"66":27680,"3":206,"19":40192,"24":58,"16":135936445062840320,"45":6678979011554742272},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,19,24,16,45]} 
[2026-07-15 01:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719492096001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:53:49] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 01:53:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-15 01:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135936445062840320,"km_value":135936445062840.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:53:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6678979011554742272,"description":"Unknown IO ID 45"} 
[2026-07-15 01:53:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719492096001,"power":27680,"unknown_3":206,"unknown_19":40192,"ignition":58,"odometer":null,"unknown_45":6678979011554742272}} 
[2026-07-15 01:53:49] local.INFO: DEBUG: GPS processor result {"connection_id":132110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488990,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:53:49] local.INFO: GPS data processed {"connection_id":132110,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:53:49] local.INFO: Acknowledgment sent {"connection_id":132110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:53:49] local.INFO: Packet analysis {"connection_id":132110,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019f624b"} 
[2026-07-15 01:53:49] local.INFO: Incomplete packet, waiting for more data {"connection_id":132110,"needed":795,"available":565} 
[2026-07-15 01:53:51] local.INFO: TCP Data received {"connection_id":132110,"ip":"117.224.100.59","data_length":230,"data_hex":"2d5d2100063567e0000401412c003c0000000a000400ef0100715100f0010045..."} 
[2026-07-15 01:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132110,"packet_length":230,"packet_hex":"2d5d2100063567e0000401412c003c0000000a000400ef0100715100f0010045..."} 
[2026-07-15 01:53:51] local.INFO: Processing buffer {"connection_id":132110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f624b4580012d5c8f4006363fd80002014e2d..."} 
[2026-07-15 01:53:51] local.INFO: Packet analysis {"connection_id":132110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f624b"} 
[2026-07-15 01:53:51] local.INFO: Extracted packet for processing {"connection_id":132110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f624b"} 
[2026-07-15 01:53:51] local.INFO: GPS Element Parsed {"raw_longitude":761040704,"raw_latitude":104218584,"longitude_deg":76.1040704,"latitude_deg":10.4218584,"altitude":2,"angle":334,"satellites":45,"speed":58,"hex_longitude":"2d5c8f40","hex_latitude":"06363fd8","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719493632001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135936874559569920,"note":"Value kept but may cause issues"} 
[2026-07-15 01:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6674123568208465920,"note":"Value kept but may cause issues"} 
[2026-07-15 01:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784060528000,"timestamp_ms":1784060528000,"timestamp_seconds":1784060528,"priority":1,"record_length":96,"hex_timestamp":"0000019f624b4580"} 
[2026-07-15 01:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:53:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-07-15 01:53:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1026,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":132110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":132110,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":132110,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719493632001,"66":27908,"3":206,"19":40192,"24":58,"16":135936874559569920,"45":6674123568208465920},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,19,24,16,45]} 
[2026-07-15 01:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719493632001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:53:51] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 01:53:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-15 01:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135936874559569920,"km_value":135936874559569.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":6674123568208465920,"description":"Unknown IO ID 45"} 
[2026-07-15 01:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719493632001,"power":27908,"unknown_3":206,"unknown_19":40192,"ignition":58,"odometer":null,"unknown_45":6674123568208465920}} 
[2026-07-15 01:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":132110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488991,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:53:51] local.INFO: GPS data processed {"connection_id":132110,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:53:51] local.INFO: Acknowledgment sent {"connection_id":132110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:53:52] local.INFO: TCP Data received {"connection_id":132110,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f624b60d8012d5c7dc0063664400003014d2e..."} 
[2026-07-15 01:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f624b60d8012d5c7dc0063664400003014d2e..."} 
[2026-07-15 01:53:52] local.INFO: Processing buffer {"connection_id":132110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f624b60d8012d5c7dc0063664400003014d2e..."} 
[2026-07-15 01:53:52] local.INFO: Packet analysis {"connection_id":132110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f624b"} 
[2026-07-15 01:53:52] local.INFO: Extracted packet for processing {"connection_id":132110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f624b"} 
[2026-07-15 01:53:52] local.INFO: GPS Element Parsed {"raw_longitude":761036224,"raw_latitude":104227904,"longitude_deg":76.1036224,"latitude_deg":10.4227904,"altitude":3,"angle":333,"satellites":46,"speed":58,"hex_longitude":"2d5c7dc0","hex_latitude":"06366440","is_valid_coordinates":true} 
[2026-07-15 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-07-15 01:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719495168001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135937377070743552,"note":"Value kept but may cause issues"} 
[2026-07-15 01:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6669619968583129088,"note":"Value kept but may cause issues"} 
[2026-07-15 01:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1784060535000,"timestamp_ms":1784060535000,"timestamp_seconds":1784060535,"priority":1,"record_length":96,"hex_timestamp":"0000019f624b60d8"} 
[2026-07-15 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-07-15 01:53:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 01:53:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 01:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":132110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":132110,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":132110,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:53:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719495168001,"66":27713,"3":206,"19":40192,"24":58,"16":135937377070743552,"45":6669619968583129088},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,19,24,16,45]} 
[2026-07-15 01:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719495168001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:53:52] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 01:53:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-15 01:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135937377070743552,"km_value":135937377070743.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":6669619968583129088,"description":"Unknown IO ID 45"} 
[2026-07-15 01:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719495168001,"power":27713,"unknown_3":206,"unknown_19":40192,"ignition":58,"odometer":null,"unknown_45":6669619968583129088}} 
[2026-07-15 01:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":132110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488992,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:53:52] local.INFO: GPS data processed {"connection_id":132110,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:53:52] local.INFO: Acknowledgment sent {"connection_id":132110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:54:02] local.INFO: TCP Data received {"connection_id":131936,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:54:02] local.INFO: Processing buffer {"connection_id":131936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:54:02] local.INFO: IMEI packet received {"connection_id":131936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":131936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:54:07] local.INFO: TCP Data received {"connection_id":131936,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:54:07] local.INFO: Processing buffer {"connection_id":131936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:54:07] local.INFO: IMEI packet received {"connection_id":131936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":131936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:54:08] local.INFO: TCP Data received {"connection_id":131936,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f62488e30012d7f92c005afd8300000005024..."} 
[2026-07-15 01:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62488e30012d7f92c005afd8300000005024..."} 
[2026-07-15 01:54:08] local.INFO: Processing buffer {"connection_id":131936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62488e30012d7f92c005afd8300000005024..."} 
[2026-07-15 01:54:08] local.INFO: Packet analysis {"connection_id":131936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6248"} 
[2026-07-15 01:54:08] local.INFO: Extracted packet for processing {"connection_id":131936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6248"} 
[2026-07-15 01:54:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719372544001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784060350000,"timestamp_ms":1784060350000,"timestamp_seconds":1784060350,"priority":1,"record_length":96,"hex_timestamp":"0000019f62488e30"} 
[2026-07-15 01:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 01:54:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:54:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":131936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":131936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":131936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719372544001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719372544001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:54:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:54:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719372544001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":131936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:54:08] local.INFO: GPS data processed {"connection_id":131936,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:54:08] local.INFO: Acknowledgment sent {"connection_id":131936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:54:32] local.INFO: TCP Data received {"connection_id":134320,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134320,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:54:32] local.INFO: Processing buffer {"connection_id":134320,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:54:32] local.INFO: IMEI packet received {"connection_id":134320,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":134320,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:54:37] local.INFO: TCP Data received {"connection_id":134320,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134320,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:54:37] local.INFO: Processing buffer {"connection_id":134320,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:54:37] local.INFO: IMEI packet received {"connection_id":134320,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":134320,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:54:38] local.INFO: TCP Data received {"connection_id":134320,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134320,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:54:38] local.INFO: Processing buffer {"connection_id":134320,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:54:38] local.INFO: IMEI packet received {"connection_id":134320,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":134320,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:54:39] local.INFO: TCP Data received {"connection_id":134320,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f624c9570012d5be5c00637a1880003014f30..."} 
[2026-07-15 01:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f624c9570012d5be5c00637a1880003014f30..."} 
[2026-07-15 01:54:39] local.INFO: Processing buffer {"connection_id":134320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f624c9570012d5be5c00637a1880003014f30..."} 
[2026-07-15 01:54:39] local.INFO: Packet analysis {"connection_id":134320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f624c"} 
[2026-07-15 01:54:39] local.INFO: Extracted packet for processing {"connection_id":134320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f624c"} 
[2026-07-15 01:54:39] local.INFO: GPS Element Parsed {"raw_longitude":760997312,"raw_latitude":104309128,"longitude_deg":76.0997312,"latitude_deg":10.4309128,"altitude":3,"angle":335,"satellites":48,"speed":53,"hex_longitude":"2d5be5c0","hex_latitude":"0637a188","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719515392001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135941745052483584,"note":"Value kept but may cause issues"} 
[2026-07-15 01:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6626272822190815232,"note":"Value kept but may cause issues"} 
[2026-07-15 01:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784060614000,"timestamp_ms":1784060614000,"timestamp_seconds":1784060614,"priority":1,"record_length":96,"hex_timestamp":"0000019f624c9570"} 
[2026-07-15 01:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:54:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 01:54:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134320,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134320,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719515392001,"66":27800,"115":206,"19":38400,"24":53,"16":135941745052483584,"45":6626272822190815232},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-07-15 01:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719515392001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:54:39] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-15 01:54:39] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-07-15 01:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135941745052483584,"km_value":135941745052483.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":6626272822190815232,"description":"Unknown IO ID 45"} 
[2026-07-15 01:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719515392001,"power":27800,"unknown_115":206,"unknown_19":38400,"ignition":53,"odometer":null,"unknown_45":6626272822190815232}} 
[2026-07-15 01:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":134320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488994,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:54:39] local.INFO: GPS data processed {"connection_id":134320,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:54:39] local.INFO: Acknowledgment sent {"connection_id":134320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:54:39] local.INFO: TCP Data received {"connection_id":131936,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f62488e30012d7f92c005afd8300000005024..."} 
[2026-07-15 01:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62488e30012d7f92c005afd8300000005024..."} 
[2026-07-15 01:54:39] local.INFO: Processing buffer {"connection_id":131936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62488e30012d7f92c005afd8300000005024..."} 
[2026-07-15 01:54:39] local.INFO: Packet analysis {"connection_id":131936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6248"} 
[2026-07-15 01:54:39] local.INFO: Extracted packet for processing {"connection_id":131936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6248"} 
[2026-07-15 01:54:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719372544001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784060350000,"timestamp_ms":1784060350000,"timestamp_seconds":1784060350,"priority":1,"record_length":96,"hex_timestamp":"0000019f62488e30"} 
[2026-07-15 01:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:54:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 01:54:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":131936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":131936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":131936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:54:39] 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-07-15 01:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719372544001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719372544001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:54:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:54:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719372544001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":131936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:54:39] local.INFO: GPS data processed {"connection_id":131936,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:54:39] local.INFO: Acknowledgment sent {"connection_id":131936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:54:41] local.INFO: TCP Data received {"connection_id":134320,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f624cb0c8012d5bd6000637c478000301502f..."} 
[2026-07-15 01:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f624cb0c8012d5bd6000637c478000301502f..."} 
[2026-07-15 01:54:41] local.INFO: Processing buffer {"connection_id":134320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f624cb0c8012d5bd6000637c478000301502f..."} 
[2026-07-15 01:54:41] local.INFO: Packet analysis {"connection_id":134320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f624c"} 
[2026-07-15 01:54:41] local.INFO: Extracted packet for processing {"connection_id":134320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f624c"} 
[2026-07-15 01:54:41] local.INFO: GPS Element Parsed {"raw_longitude":760993280,"raw_latitude":104318072,"longitude_deg":76.099328,"latitude_deg":10.4318072,"altitude":3,"angle":336,"satellites":47,"speed":57,"hex_longitude":"2d5bd600","hex_latitude":"0637c478","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719517184001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135942217498886144,"note":"Value kept but may cause issues"} 
[2026-07-15 01:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6621909960053852160,"note":"Value kept but may cause issues"} 
[2026-07-15 01:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784060621000,"timestamp_ms":1784060621000,"timestamp_seconds":1784060621,"priority":1,"record_length":96,"hex_timestamp":"0000019f624cb0c8"} 
[2026-07-15 01:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:54:41] 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-07-15 01:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 01:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":134320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":134320,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":134320,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719517184001,"66":27821,"115":206,"19":38400,"24":57,"16":135942217498886144,"45":6621909960053852160},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-07-15 01:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719517184001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:54:41] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-15 01:54:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-07-15 01:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135942217498886144,"km_value":135942217498886.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":6621909960053852160,"description":"Unknown IO ID 45"} 
[2026-07-15 01:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719517184001,"power":27821,"unknown_115":206,"unknown_19":38400,"ignition":57,"odometer":null,"unknown_45":6621909960053852160}} 
[2026-07-15 01:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":134320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488996,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:54:41] local.INFO: GPS data processed {"connection_id":134320,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:54:41] local.INFO: Acknowledgment sent {"connection_id":134320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:55:02] local.INFO: TCP Data received {"connection_id":132951,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:55:02] local.INFO: Processing buffer {"connection_id":132951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:55:02] local.INFO: IMEI packet received {"connection_id":132951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":132951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:55:07] local.INFO: TCP Data received {"connection_id":132951,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:55:07] local.INFO: Processing buffer {"connection_id":132951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:55:07] local.INFO: IMEI packet received {"connection_id":132951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":132951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:55:08] local.INFO: TCP Data received {"connection_id":132951,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f624d25f8012d7f92c005afd8300000005023..."} 
[2026-07-15 01:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f624d25f8012d7f92c005afd8300000005023..."} 
[2026-07-15 01:55:08] local.INFO: Processing buffer {"connection_id":132951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f624d25f8012d7f92c005afd8300000005023..."} 
[2026-07-15 01:55:08] local.INFO: Packet analysis {"connection_id":132951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f624d"} 
[2026-07-15 01:55:08] local.INFO: Extracted packet for processing {"connection_id":132951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f624d"} 
[2026-07-15 01:55:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":35,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719449600001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784060651000,"timestamp_ms":1784060651000,"timestamp_seconds":1784060651,"priority":1,"record_length":96,"hex_timestamp":"0000019f624d25f8"} 
[2026-07-15 01:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:55:08] 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-07-15 01:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719449600001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719449600001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:55:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:55:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719449600001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":132951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:55:08] local.INFO: GPS data processed {"connection_id":132951,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:55:08] local.INFO: Acknowledgment sent {"connection_id":132951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:55:16] local.INFO: TCP Data received {"connection_id":134320,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f624ccc20012d5bc5800637e898000201502e..."} 
[2026-07-15 01:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f624ccc20012d5bc5800637e898000201502e..."} 
[2026-07-15 01:55:16] local.INFO: Processing buffer {"connection_id":134320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f624ccc20012d5bc5800637e898000201502e..."} 
[2026-07-15 01:55:16] local.INFO: Packet analysis {"connection_id":134320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f624c"} 
[2026-07-15 01:55:16] local.INFO: Extracted packet for processing {"connection_id":134320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f624c"} 
[2026-07-15 01:55:16] local.INFO: GPS Element Parsed {"raw_longitude":760989056,"raw_latitude":104327320,"longitude_deg":76.0989056,"latitude_deg":10.432732,"altitude":2,"angle":336,"satellites":46,"speed":58,"hex_longitude":"2d5bc580","hex_latitude":"0637e898","is_valid_coordinates":true} 
[2026-07-15 01:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719518976001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135942707125157888,"note":"Value kept but may cause issues"} 
[2026-07-15 01:55:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6617476729172948992,"note":"Value kept but may cause issues"} 
[2026-07-15 01:55:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784060628000,"timestamp_ms":1784060628000,"timestamp_seconds":1784060628,"priority":1,"record_length":96,"hex_timestamp":"0000019f624ccc20"} 
[2026-07-15 01:55:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:55:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 01:55:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:55:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:55:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":134320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":134320,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":134320,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:55:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719518976001,"66":27843,"115":206,"19":38400,"24":58,"16":135942707125157888,"45":6617476729172948992},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-07-15 01:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719518976001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:55:16] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-15 01:55:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-07-15 01:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135942707125157888,"km_value":135942707125157.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:55:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":6617476729172948992,"description":"Unknown IO ID 45"} 
[2026-07-15 01:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719518976001,"power":27843,"unknown_115":206,"unknown_19":38400,"ignition":58,"odometer":null,"unknown_45":6617476729172948992}} 
[2026-07-15 01:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":134320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488998,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:55:16] local.INFO: GPS data processed {"connection_id":134320,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:55:16] local.INFO: Acknowledgment sent {"connection_id":134320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:55:35] local.INFO: TCP Data received {"connection_id":131937,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131937,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:55:35] local.INFO: Processing buffer {"connection_id":131937,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:55:35] local.INFO: IMEI packet received {"connection_id":131937,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":131937,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:55:38] local.INFO: TCP Data received {"connection_id":131937,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131937,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:55:38] local.INFO: Processing buffer {"connection_id":131937,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:55:38] local.INFO: IMEI packet received {"connection_id":131937,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":131937,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:55:39] local.INFO: TCP Data received {"connection_id":131937,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f624ce390012d5bb740063808d00002014f2f..."} 
[2026-07-15 01:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f624ce390012d5bb740063808d00002014f2f..."} 
[2026-07-15 01:55:39] local.INFO: Processing buffer {"connection_id":131937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f624ce390012d5bb740063808d00002014f2f..."} 
[2026-07-15 01:55:39] local.INFO: Packet analysis {"connection_id":131937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f624c"} 
[2026-07-15 01:55:39] local.INFO: Extracted packet for processing {"connection_id":131937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f624c"} 
[2026-07-15 01:55:39] local.INFO: GPS Element Parsed {"raw_longitude":760985408,"raw_latitude":104335568,"longitude_deg":76.0985408,"latitude_deg":10.4335568,"altitude":2,"angle":335,"satellites":47,"speed":60,"hex_longitude":"2d5bb740","hex_latitude":"063808d0","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719520768001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135943145211822080,"note":"Value kept but may cause issues"} 
[2026-07-15 01:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6612832392059590656,"note":"Value kept but may cause issues"} 
[2026-07-15 01:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784060634000,"timestamp_ms":1784060634000,"timestamp_seconds":1784060634,"priority":1,"record_length":96,"hex_timestamp":"0000019f624ce390"} 
[2026-07-15 01:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-15 01:55:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":131937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":131937,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":131937,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719520768001,"66":27843,"115":206,"19":38400,"24":60,"16":135943145211822080,"45":6612832392059590656},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-07-15 01:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719520768001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:55:39] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-15 01:55:39] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-07-15 01:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135943145211822080,"km_value":135943145211822.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":6612832392059590656,"description":"Unknown IO ID 45"} 
[2026-07-15 01:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719520768001,"power":27843,"unknown_115":206,"unknown_19":38400,"ignition":60,"odometer":null,"unknown_45":6612832392059590656}} 
[2026-07-15 01:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":131937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488999,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:55:39] local.INFO: GPS data processed {"connection_id":131937,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:55:39] local.INFO: Acknowledgment sent {"connection_id":131937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:55:39] local.INFO: TCP Data received {"connection_id":132951,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f624d25f8012d7f92c005afd8300000005023..."} 
[2026-07-15 01:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f624d25f8012d7f92c005afd8300000005023..."} 
[2026-07-15 01:55:39] local.INFO: Processing buffer {"connection_id":132951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f624d25f8012d7f92c005afd8300000005023..."} 
[2026-07-15 01:55:39] local.INFO: Packet analysis {"connection_id":132951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f624d"} 
[2026-07-15 01:55:39] local.INFO: Extracted packet for processing {"connection_id":132951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f624d"} 
[2026-07-15 01:55:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":35,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719449600001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784060651000,"timestamp_ms":1784060651000,"timestamp_seconds":1784060651,"priority":1,"record_length":96,"hex_timestamp":"0000019f624d25f8"} 
[2026-07-15 01:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:55:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:55:39] 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-07-15 01:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719449600001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719449600001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:55:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:55:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719449600001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":132951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:55:39] local.INFO: GPS data processed {"connection_id":132951,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:55:39] local.INFO: Acknowledgment sent {"connection_id":132951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:56:02] local.INFO: TCP Data received {"connection_id":134321,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:56:02] local.INFO: Processing buffer {"connection_id":134321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:56:02] local.INFO: IMEI packet received {"connection_id":134321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":134321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:56:07] local.INFO: TCP Data received {"connection_id":134321,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:56:07] local.INFO: Processing buffer {"connection_id":134321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:56:07] local.INFO: IMEI packet received {"connection_id":134321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":134321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:56:08] local.INFO: TCP Data received {"connection_id":134321,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f624d25f8012d7f92c005afd8300000005023..."} 
[2026-07-15 01:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f624d25f8012d7f92c005afd8300000005023..."} 
[2026-07-15 01:56:08] local.INFO: Processing buffer {"connection_id":134321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f624d25f8012d7f92c005afd8300000005023..."} 
[2026-07-15 01:56:08] local.INFO: Packet analysis {"connection_id":134321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f624d"} 
[2026-07-15 01:56:08] local.INFO: Extracted packet for processing {"connection_id":134321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f624d"} 
[2026-07-15 01:56:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":35,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719449600001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784060651000,"timestamp_ms":1784060651000,"timestamp_seconds":1784060651,"priority":1,"record_length":96,"hex_timestamp":"0000019f624d25f8"} 
[2026-07-15 01:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719449600001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719449600001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:56:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:56:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719449600001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":134321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:56:08] local.INFO: GPS data processed {"connection_id":134321,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:56:08] local.INFO: Acknowledgment sent {"connection_id":134321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:56:10] local.INFO: TCP Data received {"connection_id":131937,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f624e1440012d5adb8006398ed80003014f2e..."} 
[2026-07-15 01:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f624e1440012d5adb8006398ed80003014f2e..."} 
[2026-07-15 01:56:10] local.INFO: Processing buffer {"connection_id":131937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f624e1440012d5adb8006398ed80003014f2e..."} 
[2026-07-15 01:56:10] local.INFO: Packet analysis {"connection_id":131937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f624e"} 
[2026-07-15 01:56:10] local.INFO: Extracted packet for processing {"connection_id":131937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f624e"} 
[2026-07-15 01:56:10] local.INFO: GPS Element Parsed {"raw_longitude":760929152,"raw_latitude":104435416,"longitude_deg":76.0929152,"latitude_deg":10.4435416,"altitude":3,"angle":335,"satellites":46,"speed":57,"hex_longitude":"2d5adb80","hex_latitude":"06398ed8","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719540736001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135948707194470400,"note":"Value kept but may cause issues"} 
[2026-07-15 01:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6551048634697191424,"note":"Value kept but may cause issues"} 
[2026-07-15 01:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784060712000,"timestamp_ms":1784060712000,"timestamp_seconds":1784060712,"priority":1,"record_length":96,"hex_timestamp":"0000019f624e1440"} 
[2026-07-15 01:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:56:10] 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-07-15 01: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-15 01:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":131937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":131937,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":131937,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719540736001,"66":27908,"117":206,"19":38400,"24":57,"16":135948707194470400,"45":6551048634697191424},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,19,24,16,45]} 
[2026-07-15 01:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719540736001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:56:10] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-15 01:56:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-07-15 01:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135948707194470400,"km_value":135948707194470.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6551048634697191424,"description":"Unknown IO ID 45"} 
[2026-07-15 01:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719540736001,"power":27908,"unknown_117":206,"unknown_19":38400,"ignition":57,"odometer":null,"unknown_45":6551048634697191424}} 
[2026-07-15 01:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":131937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489002,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:56:10] local.INFO: GPS data processed {"connection_id":131937,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:56:10] local.INFO: Acknowledgment sent {"connection_id":131937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:56:36] local.INFO: TCP Data received {"connection_id":132952,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132952,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:56:36] local.INFO: Processing buffer {"connection_id":132952,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:56:36] local.INFO: IMEI packet received {"connection_id":132952,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":132952,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:56:37] local.INFO: TCP Data received {"connection_id":132952,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132952,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:56:37] local.INFO: Processing buffer {"connection_id":132952,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:56:37] local.INFO: IMEI packet received {"connection_id":132952,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":132952,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:56:39] local.INFO: TCP Data received {"connection_id":134321,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f624d25f8012d7f92c005afd8300000005023..."} 
[2026-07-15 01:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f624d25f8012d7f92c005afd8300000005023..."} 
[2026-07-15 01:56:39] local.INFO: Processing buffer {"connection_id":134321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f624d25f8012d7f92c005afd8300000005023..."} 
[2026-07-15 01:56:39] local.INFO: Packet analysis {"connection_id":134321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f624d"} 
[2026-07-15 01:56:39] local.INFO: Extracted packet for processing {"connection_id":134321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f624d"} 
[2026-07-15 01:56:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":35,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719449600001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784060651000,"timestamp_ms":1784060651000,"timestamp_seconds":1784060651,"priority":1,"record_length":96,"hex_timestamp":"0000019f624d25f8"} 
[2026-07-15 01:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:56:39] 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-07-15 01:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719449600001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719449600001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:56:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:56:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719449600001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":134321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:56:40] local.INFO: GPS data processed {"connection_id":134321,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:56:40] local.INFO: Acknowledgment sent {"connection_id":134321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:56:42] local.INFO: TCP Data received {"connection_id":132952,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132952,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:56:42] local.INFO: Processing buffer {"connection_id":132952,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:56:42] local.INFO: IMEI packet received {"connection_id":132952,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":132952,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:57:03] local.INFO: TCP Data received {"connection_id":132111,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:57:03] local.INFO: Processing buffer {"connection_id":132111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:57:03] local.INFO: IMEI packet received {"connection_id":132111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":132111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:57:07] local.INFO: TCP Data received {"connection_id":132111,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:57:07] local.INFO: Processing buffer {"connection_id":132111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:57:07] local.INFO: IMEI packet received {"connection_id":132111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":132111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:57:08] local.INFO: TCP Data received {"connection_id":132111,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f624d25f8012d7f92c005afd8300000005023..."} 
[2026-07-15 01:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f624d25f8012d7f92c005afd8300000005023..."} 
[2026-07-15 01:57:08] local.INFO: Processing buffer {"connection_id":132111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f624d25f8012d7f92c005afd8300000005023..."} 
[2026-07-15 01:57:08] local.INFO: Packet analysis {"connection_id":132111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f624d"} 
[2026-07-15 01:57:08] local.INFO: Extracted packet for processing {"connection_id":132111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f624d"} 
[2026-07-15 01:57:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":35,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719449600001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:57:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784060651000,"timestamp_ms":1784060651000,"timestamp_seconds":1784060651,"priority":1,"record_length":96,"hex_timestamp":"0000019f624d25f8"} 
[2026-07-15 01:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:57:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:57:08] 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-07-15 01:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719449600001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719449600001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:57:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:57:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719449600001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":132111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:57:08] local.INFO: GPS data processed {"connection_id":132111,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:57:08] local.INFO: Acknowledgment sent {"connection_id":132111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:57:21] local.INFO: TCP Data received {"connection_id":132952,"ip":"117.224.100.59","data_length":1360,"data_hex":"000000000000030f8e0a0000019f624e2f98012d5acbc00639b1f0000401502e..."} 
[2026-07-15 01:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132952,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019f624e2f98012d5acbc00639b1f0000401502e..."} 
[2026-07-15 01:57:21] local.INFO: Processing buffer {"connection_id":132952,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a0000019f624e2f98012d5acbc00639b1f0000401502e..."} 
[2026-07-15 01:57:21] local.INFO: Packet analysis {"connection_id":132952,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a0000019f624e"} 
[2026-07-15 01:57:21] local.INFO: Extracted packet for processing {"connection_id":132952,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019f624e"} 
[2026-07-15 01:57:21] local.INFO: GPS Element Parsed {"raw_longitude":760925120,"raw_latitude":104444400,"longitude_deg":76.092512,"latitude_deg":10.44444,"altitude":4,"angle":336,"satellites":46,"speed":55,"hex_longitude":"2d5acbc0","hex_latitude":"0639b1f0","is_valid_coordinates":true} 
[2026-07-15 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-07-15 01:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719542272001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135949183935840256,"note":"Value kept but may cause issues"} 
[2026-07-15 01:57:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6546967247536969728,"note":"Value kept but may cause issues"} 
[2026-07-15 01:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1784060719000,"timestamp_ms":1784060719000,"timestamp_seconds":1784060719,"priority":1,"record_length":96,"hex_timestamp":"0000019f624e2f98"} 
[2026-07-15 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-07-15 01:57:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 01:57:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 01:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":132952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":132952,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":132952,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:57:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719542272001,"66":27952,"117":206,"19":38400,"24":55,"16":135949183935840256,"45":6546967247536969728},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,19,24,16,45]} 
[2026-07-15 01:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719542272001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:57:21] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-15 01:57:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-07-15 01:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135949183935840256,"km_value":135949183935840.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:57:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":6546967247536969728,"description":"Unknown IO ID 45"} 
[2026-07-15 01:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719542272001,"power":27952,"unknown_117":206,"unknown_19":38400,"ignition":55,"odometer":null,"unknown_45":6546967247536969728}} 
[2026-07-15 01:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":132952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489005,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:57:21] local.INFO: GPS data processed {"connection_id":132952,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:57:21] local.INFO: Acknowledgment sent {"connection_id":132952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:57:21] local.INFO: Packet analysis {"connection_id":132952,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019f624e"} 
[2026-07-15 01:57:21] local.INFO: Incomplete packet, waiting for more data {"connection_id":132952,"needed":795,"available":565} 
[2026-07-15 01:57:21] local.INFO: TCP Data received {"connection_id":132952,"ip":"117.224.100.59","data_length":230,"data_hex":"2d5b37800638eef0000801433000390000000a000400ef0100715100f0010045..."} 
[2026-07-15 01:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132952,"packet_length":230,"packet_hex":"2d5b37800638eef0000801433000390000000a000400ef0100715100f0010045..."} 
[2026-07-15 01:57:21] local.INFO: Processing buffer {"connection_id":132952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f624e4af0012d5abc400639d3b00007014e30..."} 
[2026-07-15 01:57:21] local.INFO: Packet analysis {"connection_id":132952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f624e"} 
[2026-07-15 01:57:21] local.INFO: Extracted packet for processing {"connection_id":132952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f624e"} 
[2026-07-15 01:57:21] local.INFO: GPS Element Parsed {"raw_longitude":760921152,"raw_latitude":104453040,"longitude_deg":76.0921152,"latitude_deg":10.445304,"altitude":7,"angle":334,"satellites":48,"speed":52,"hex_longitude":"2d5abc40","hex_latitude":"0639d3b0","is_valid_coordinates":true} 
[2026-07-15 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-07-15 01:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719544064001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135949643497340928,"note":"Value kept but may cause issues"} 
[2026-07-15 01:57:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6542534016656076800,"note":"Value kept but may cause issues"} 
[2026-07-15 01:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1784060726000,"timestamp_ms":1784060726000,"timestamp_seconds":1784060726,"priority":1,"record_length":96,"hex_timestamp":"0000019f624e4af0"} 
[2026-07-15 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-07-15 01:57:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-15 01:57:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 01:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":132952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":132952,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":132952,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:57:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719544064001,"66":27843,"117":206,"19":38400,"24":52,"16":135949643497340928,"45":6542534016656076800},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,19,24,16,45]} 
[2026-07-15 01:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719544064001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:57:21] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-15 01:57:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-07-15 01:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135949643497340928,"km_value":135949643497340.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:57:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":6542534016656076800,"description":"Unknown IO ID 45"} 
[2026-07-15 01:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719544064001,"power":27843,"unknown_117":206,"unknown_19":38400,"ignition":52,"odometer":null,"unknown_45":6542534016656076800}} 
[2026-07-15 01:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":132952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489006,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:57:21] local.INFO: GPS data processed {"connection_id":132952,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:57:21] local.INFO: Acknowledgment sent {"connection_id":132952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:57:36] local.INFO: TCP Data received {"connection_id":131938,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131938,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:57:36] local.INFO: Processing buffer {"connection_id":131938,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:57:36] local.INFO: IMEI packet received {"connection_id":131938,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":131938,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:57:39] local.INFO: TCP Data received {"connection_id":131938,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131938,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:57:39] local.INFO: Processing buffer {"connection_id":131938,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:57:39] local.INFO: IMEI packet received {"connection_id":131938,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":131938,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:57:40] local.INFO: TCP Data received {"connection_id":131938,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f624f4108012d5adb00063b1ec0000100042e..."} 
[2026-07-15 01:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f624f4108012d5adb00063b1ec0000100042e..."} 
[2026-07-15 01:57:40] local.INFO: Processing buffer {"connection_id":131938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f624f4108012d5adb00063b1ec0000100042e..."} 
[2026-07-15 01:57:40] local.INFO: Packet analysis {"connection_id":131938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f624f"} 
[2026-07-15 01:57:40] local.INFO: Extracted packet for processing {"connection_id":131938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f624f"} 
[2026-07-15 01:57:40] local.INFO: GPS Element Parsed {"raw_longitude":760929024,"raw_latitude":104537792,"longitude_deg":76.0929024,"latitude_deg":10.4537792,"altitude":1,"angle":4,"satellites":46,"speed":58,"hex_longitude":"2d5adb00","hex_latitude":"063b1ec0","is_valid_coordinates":true} 
[2026-07-15 01:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719560448001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135953964234440704,"note":"Value kept but may cause issues"} 
[2026-07-15 01:57:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6545137660212336640,"note":"Value kept but may cause issues"} 
[2026-07-15 01:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784060789000,"timestamp_ms":1784060789000,"timestamp_seconds":1784060789,"priority":1,"record_length":96,"hex_timestamp":"0000019f624f4108"} 
[2026-07-15 01:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-15 01:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:57:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131938,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131938,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719560448001,"66":27843,"117":206,"19":38400,"24":58,"16":135953964234440704,"45":6545137660212336640},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,19,24,16,45]} 
[2026-07-15 01:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719560448001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:57:40] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-15 01:57:40] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-07-15 01:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135953964234440704,"km_value":135953964234440.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:57:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":6545137660212336640,"description":"Unknown IO ID 45"} 
[2026-07-15 01:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719560448001,"power":27843,"unknown_117":206,"unknown_19":38400,"ignition":58,"odometer":null,"unknown_45":6545137660212336640}} 
[2026-07-15 01:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":131938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489007,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:57:40] local.INFO: GPS data processed {"connection_id":131938,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:57:40] local.INFO: Acknowledgment sent {"connection_id":131938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:57:42] local.INFO: TCP Data received {"connection_id":132111,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f624d25f8012d7f92c005afd8300000005023..."} 
[2026-07-15 01:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f624d25f8012d7f92c005afd8300000005023..."} 
[2026-07-15 01:57:42] local.INFO: Processing buffer {"connection_id":132111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f624d25f8012d7f92c005afd8300000005023..."} 
[2026-07-15 01:57:42] local.INFO: Packet analysis {"connection_id":132111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f624d"} 
[2026-07-15 01:57:42] local.INFO: Extracted packet for processing {"connection_id":132111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f624d"} 
[2026-07-15 01:57:42] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":35,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719449600001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784060651000,"timestamp_ms":1784060651000,"timestamp_seconds":1784060651,"priority":1,"record_length":96,"hex_timestamp":"0000019f624d25f8"} 
[2026-07-15 01:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:57:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719449600001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719449600001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:57:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:57:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719449600001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":132111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:57:42] local.INFO: GPS data processed {"connection_id":132111,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:57:42] local.INFO: Acknowledgment sent {"connection_id":132111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:58:02] local.INFO: TCP Data received {"connection_id":134322,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:58:02] local.INFO: Processing buffer {"connection_id":134322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:58:02] local.INFO: IMEI packet received {"connection_id":134322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":134322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:58:07] local.INFO: TCP Data received {"connection_id":134322,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:58:07] local.INFO: Processing buffer {"connection_id":134322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:58:07] local.INFO: IMEI packet received {"connection_id":134322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":134322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:58:08] local.INFO: TCP Data received {"connection_id":134322,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f624d25f8012d7f92c005afd8300000005023..."} 
[2026-07-15 01:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f624d25f8012d7f92c005afd8300000005023..."} 
[2026-07-15 01:58:08] local.INFO: Processing buffer {"connection_id":134322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f624d25f8012d7f92c005afd8300000005023..."} 
[2026-07-15 01:58:08] local.INFO: Packet analysis {"connection_id":134322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f624d"} 
[2026-07-15 01:58:08] local.INFO: Extracted packet for processing {"connection_id":134322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f624d"} 
[2026-07-15 01:58:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":35,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719449600001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784060651000,"timestamp_ms":1784060651000,"timestamp_seconds":1784060651,"priority":1,"record_length":96,"hex_timestamp":"0000019f624d25f8"} 
[2026-07-15 01:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719449600001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719449600001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:58:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:58:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719449600001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":134322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:58:08] local.INFO: GPS data processed {"connection_id":134322,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:58:08] local.INFO: Acknowledgment sent {"connection_id":134322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:58:12] local.INFO: TCP Data received {"connection_id":131938,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f624f5490012d5ada80063b3ba0000201622c..."} 
[2026-07-15 01:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f624f5490012d5ada80063b3ba0000201622c..."} 
[2026-07-15 01:58:12] local.INFO: Processing buffer {"connection_id":131938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f624f5490012d5ada80063b3ba0000201622c..."} 
[2026-07-15 01:58:12] local.INFO: Packet analysis {"connection_id":131938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f624f"} 
[2026-07-15 01:58:12] local.INFO: Extracted packet for processing {"connection_id":131938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f624f"} 
[2026-07-15 01:58:12] local.INFO: GPS Element Parsed {"raw_longitude":760928896,"raw_latitude":104545184,"longitude_deg":76.0928896,"latitude_deg":10.4545184,"altitude":2,"angle":354,"satellites":44,"speed":58,"hex_longitude":"2d5ada80","hex_latitude":"063b3ba0","is_valid_coordinates":true} 
[2026-07-15 01:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719561984001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135954325011693568,"note":"Value kept but may cause issues"} 
[2026-07-15 01:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6546826510074822656,"note":"Value kept but may cause issues"} 
[2026-07-15 01:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784060794000,"timestamp_ms":1784060794000,"timestamp_seconds":1784060794,"priority":1,"record_length":96,"hex_timestamp":"0000019f624f5490"} 
[2026-07-15 01:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-15 01:58:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:58:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131938,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131938,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719561984001,"66":27952,"117":206,"19":38400,"24":58,"16":135954325011693568,"45":6546826510074822656},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,19,24,16,45]} 
[2026-07-15 01:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719561984001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:58:12] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-15 01:58:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-07-15 01:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135954325011693568,"km_value":135954325011693.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":6546826510074822656,"description":"Unknown IO ID 45"} 
[2026-07-15 01:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719561984001,"power":27952,"unknown_117":206,"unknown_19":38400,"ignition":58,"odometer":null,"unknown_45":6546826510074822656}} 
[2026-07-15 01:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":131938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489010,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:58:12] local.INFO: GPS data processed {"connection_id":131938,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:58:12] local.INFO: Acknowledgment sent {"connection_id":131938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:58:36] local.INFO: TCP Data received {"connection_id":132953,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132953,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:58:36] local.INFO: Processing buffer {"connection_id":132953,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:58:36] local.INFO: IMEI packet received {"connection_id":132953,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":132953,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:58:36] local.INFO: TCP Data received {"connection_id":132953,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132953,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:58:36] local.INFO: Processing buffer {"connection_id":132953,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:58:36] local.INFO: IMEI packet received {"connection_id":132953,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":132953,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:58:41] local.INFO: TCP Data received {"connection_id":132953,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132953,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:58:41] local.INFO: Processing buffer {"connection_id":132953,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:58:41] local.INFO: IMEI packet received {"connection_id":132953,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":132953,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:58:42] local.INFO: TCP Data received {"connection_id":134322,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f624d25f8012d7f92c005afd8300000005023..."} 
[2026-07-15 01:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f624d25f8012d7f92c005afd8300000005023..."} 
[2026-07-15 01:58:42] local.INFO: Processing buffer {"connection_id":134322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f624d25f8012d7f92c005afd8300000005023..."} 
[2026-07-15 01:58:42] local.INFO: Packet analysis {"connection_id":134322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f624d"} 
[2026-07-15 01:58:42] local.INFO: Extracted packet for processing {"connection_id":134322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f624d"} 
[2026-07-15 01:58:42] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":35,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719449600001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784060651000,"timestamp_ms":1784060651000,"timestamp_seconds":1784060651,"priority":1,"record_length":96,"hex_timestamp":"0000019f624d25f8"} 
[2026-07-15 01:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":134322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":134322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":134322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719449600001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719449600001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:58:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:58:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719449600001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":134322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:58:42] local.INFO: GPS data processed {"connection_id":134322,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:58:42] local.INFO: Acknowledgment sent {"connection_id":134322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:58:42] local.INFO: TCP Data received {"connection_id":132953,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f625069e8012d5a5d00063cc1380001015430..."} 
[2026-07-15 01:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f625069e8012d5a5d00063cc1380001015430..."} 
[2026-07-15 01:58:42] local.INFO: Processing buffer {"connection_id":132953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f625069e8012d5a5d00063cc1380001015430..."} 
[2026-07-15 01:58:42] local.INFO: Packet analysis {"connection_id":132953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6250"} 
[2026-07-15 01:58:42] local.INFO: Extracted packet for processing {"connection_id":132953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6250"} 
[2026-07-15 01:58:42] local.INFO: GPS Element Parsed {"raw_longitude":760896768,"raw_latitude":104644920,"longitude_deg":76.0896768,"latitude_deg":10.464492,"altitude":1,"angle":340,"satellites":48,"speed":60,"hex_longitude":"2d5a5d00","hex_latitude":"063cc138","is_valid_coordinates":true} 
[2026-07-15 01:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719579648001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135959401663037440,"note":"Value kept but may cause issues"} 
[2026-07-15 01:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6514879100243103744,"note":"Value kept but may cause issues"} 
[2026-07-15 01:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784060865000,"timestamp_ms":1784060865000,"timestamp_seconds":1784060865,"priority":1,"record_length":96,"hex_timestamp":"0000019f625069e8"} 
[2026-07-15 01:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-15 01:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132953,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132953,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719579648001,"66":27691,"85":206,"19":38400,"24":60,"16":135959401663037440,"45":6514879100243103744},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,19,24,16,45]} 
[2026-07-15 01:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719579648001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:58:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-15 01:58:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-07-15 01:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135959401663037440,"km_value":135959401663037.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6514879100243103744,"description":"Unknown IO ID 45"} 
[2026-07-15 01:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719579648001,"power":27691,"unknown_85":206,"unknown_19":38400,"ignition":60,"odometer":null,"unknown_45":6514879100243103744}} 
[2026-07-15 01:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":132953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489012,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:58:42] local.INFO: GPS data processed {"connection_id":132953,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:58:42] local.INFO: Acknowledgment sent {"connection_id":132953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:59:07] local.INFO: TCP Data received {"connection_id":134323,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:59:07] local.INFO: Processing buffer {"connection_id":134323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:59:07] local.INFO: IMEI packet received {"connection_id":134323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":134323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:59:12] local.INFO: TCP Data received {"connection_id":134323,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:59:12] local.INFO: Processing buffer {"connection_id":134323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:59:12] local.INFO: IMEI packet received {"connection_id":134323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 01:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":134323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:59:13] local.INFO: TCP Data received {"connection_id":134323,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f624d25f8012d7f92c005afd8300000005023..."} 
[2026-07-15 01:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f624d25f8012d7f92c005afd8300000005023..."} 
[2026-07-15 01:59:13] local.INFO: Processing buffer {"connection_id":134323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f624d25f8012d7f92c005afd8300000005023..."} 
[2026-07-15 01:59:13] local.INFO: Packet analysis {"connection_id":134323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f624d"} 
[2026-07-15 01:59:13] local.INFO: Extracted packet for processing {"connection_id":134323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f624d"} 
[2026-07-15 01:59:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":35,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 01:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 01:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719449600001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 01:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 01:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784060651000,"timestamp_ms":1784060651000,"timestamp_seconds":1784060651,"priority":1,"record_length":96,"hex_timestamp":"0000019f624d25f8"} 
[2026-07-15 01:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:59:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 01:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 01:59:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01:59:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 01:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":134323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":134323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":134323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 01:59:13] 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-07-15 01:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 01:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 01:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719449600001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 01:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 01:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 01:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719449600001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:59:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 01:59:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 01:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 01:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719449600001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 01:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":134323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:59:13] local.INFO: GPS data processed {"connection_id":134323,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:59:13] local.INFO: Acknowledgment sent {"connection_id":134323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:59:21] local.INFO: TCP Data received {"connection_id":132953,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62508158012d5a5140063ce2980001015531..."} 
[2026-07-15 01:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62508158012d5a5140063ce2980001015531..."} 
[2026-07-15 01:59:21] local.INFO: Processing buffer {"connection_id":132953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62508158012d5a5140063ce2980001015531..."} 
[2026-07-15 01:59:21] local.INFO: Packet analysis {"connection_id":132953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6250"} 
[2026-07-15 01:59:21] local.INFO: Extracted packet for processing {"connection_id":132953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6250"} 
[2026-07-15 01:59:21] local.INFO: GPS Element Parsed {"raw_longitude":760893760,"raw_latitude":104653464,"longitude_deg":76.089376,"latitude_deg":10.4653464,"altitude":1,"angle":341,"satellites":49,"speed":59,"hex_longitude":"2d5a5140","hex_latitude":"063ce298","is_valid_coordinates":true} 
[2026-07-15 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-07-15 01:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719581440001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135959839749701632,"note":"Value kept but may cause issues"} 
[2026-07-15 01:59:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6511360663036704768,"note":"Value kept but may cause issues"} 
[2026-07-15 01:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1784060871000,"timestamp_ms":1784060871000,"timestamp_seconds":1784060871,"priority":1,"record_length":96,"hex_timestamp":"0000019f62508158"} 
[2026-07-15 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-07-15 01:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-15 01:59:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 01:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":132953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":132953,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":132953,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719581440001,"66":27984,"85":206,"19":38400,"24":59,"16":135959839749701632,"45":6511360663036704768},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,19,24,16,45]} 
[2026-07-15 01:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719581440001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:59:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-15 01:59:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-07-15 01:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135959839749701632,"km_value":135959839749701.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:59:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":6511360663036704768,"description":"Unknown IO ID 45"} 
[2026-07-15 01:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719581440001,"power":27984,"unknown_85":206,"unknown_19":38400,"ignition":59,"odometer":null,"unknown_45":6511360663036704768}} 
[2026-07-15 01:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":132953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489014,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:59:22] local.INFO: GPS data processed {"connection_id":132953,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:59:22] local.INFO: Acknowledgment sent {"connection_id":132953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:59:41] local.INFO: TCP Data received {"connection_id":132112,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132112,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:59:41] local.INFO: Processing buffer {"connection_id":132112,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:59:41] local.INFO: IMEI packet received {"connection_id":132112,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 01:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":132112,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 01:59:46] local.INFO: TCP Data received {"connection_id":132112,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132112,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:59:46] local.INFO: Processing buffer {"connection_id":132112,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 01:59:46] local.INFO: IMEI packet received {"connection_id":132112,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 01:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":132112,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 01:59:48] local.INFO: TCP Data received {"connection_id":132112,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62509cb0012d5a4400063d08a80001015331..."} 
[2026-07-15 01:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62509cb0012d5a4400063d08a80001015331..."} 
[2026-07-15 01:59:48] local.INFO: Processing buffer {"connection_id":132112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62509cb0012d5a4400063d08a80001015331..."} 
[2026-07-15 01:59:48] local.INFO: Packet analysis {"connection_id":132112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6250"} 
[2026-07-15 01:59:48] local.INFO: Extracted packet for processing {"connection_id":132112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6250"} 
[2026-07-15 01:59:48] local.INFO: GPS Element Parsed {"raw_longitude":760890368,"raw_latitude":104663208,"longitude_deg":76.0890368,"latitude_deg":10.4663208,"altitude":1,"angle":339,"satellites":49,"speed":58,"hex_longitude":"2d5a4400","hex_latitude":"063d08a8","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719582976001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135960337965907968,"note":"Value kept but may cause issues"} 
[2026-07-15 01:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6508053332062541824,"note":"Value kept but may cause issues"} 
[2026-07-15 01:59:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784060878000,"timestamp_ms":1784060878000,"timestamp_seconds":1784060878,"priority":1,"record_length":96,"hex_timestamp":"0000019f62509cb0"} 
[2026-07-15 01:59:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:59:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 01:59:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:59:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":132112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":132112,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":132112,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:59:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719582976001,"66":27745,"85":206,"19":38400,"24":58,"16":135960337965907968,"45":6508053332062541824},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,19,24,16,45]} 
[2026-07-15 01:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719582976001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:59:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-15 01:59:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-07-15 01:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135960337965907968,"km_value":135960337965907.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:59:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6508053332062541824,"description":"Unknown IO ID 45"} 
[2026-07-15 01:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719582976001,"power":27745,"unknown_85":206,"unknown_19":38400,"ignition":58,"odometer":null,"unknown_45":6508053332062541824}} 
[2026-07-15 01:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":132112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489015,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:59:48] local.INFO: GPS data processed {"connection_id":132112,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:59:48] local.INFO: Acknowledgment sent {"connection_id":132112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:59:50] local.INFO: TCP Data received {"connection_id":132112,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6250b808012d5a3680063d2d780002015532..."} 
[2026-07-15 01:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6250b808012d5a3680063d2d780002015532..."} 
[2026-07-15 01:59:50] local.INFO: Processing buffer {"connection_id":132112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6250b808012d5a3680063d2d780002015532..."} 
[2026-07-15 01:59:50] local.INFO: Packet analysis {"connection_id":132112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6250"} 
[2026-07-15 01:59:50] local.INFO: Extracted packet for processing {"connection_id":132112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6250"} 
[2026-07-15 01:59:50] local.INFO: GPS Element Parsed {"raw_longitude":760886912,"raw_latitude":104672632,"longitude_deg":76.0886912,"latitude_deg":10.4672632,"altitude":2,"angle":341,"satellites":50,"speed":54,"hex_longitude":"2d5a3680","hex_latitude":"063d2d78","is_valid_coordinates":true} 
[2026-07-15 01: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-07-15 01:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719584768001,"note":"Value kept but may cause issues"} 
[2026-07-15 01:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135960823297212416,"note":"Value kept but may cause issues"} 
[2026-07-15 01:59:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6504323788623620096,"note":"Value kept but may cause issues"} 
[2026-07-15 01:59:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 01:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784060885000,"timestamp_ms":1784060885000,"timestamp_seconds":1784060885,"priority":1,"record_length":96,"hex_timestamp":"0000019f6250b808"} 
[2026-07-15 01:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 01:59:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 01: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-15 01:59:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 01: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-07-15 01:59:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 01:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 01:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":132112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 01:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":132112,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":132112,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 01:59:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 01:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 01:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 01:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719584768001,"66":27984,"85":206,"19":38400,"24":54,"16":135960823297212416,"45":6504323788623620096},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,19,24,16,45]} 
[2026-07-15 01:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 01:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 01:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719584768001,"description":"Unknown IO ID 0"} 
[2026-07-15 01:59:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-15 01:59:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-07-15 01:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135960823297212416,"km_value":135960823297212.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 01:59:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":6504323788623620096,"description":"Unknown IO ID 45"} 
[2026-07-15 01:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719584768001,"power":27984,"unknown_85":206,"unknown_19":38400,"ignition":54,"odometer":null,"unknown_45":6504323788623620096}} 
[2026-07-15 01:59:50] local.INFO: DEBUG: GPS processor result {"connection_id":132112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489016,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 01:59:50] local.INFO: GPS data processed {"connection_id":132112,"processed":1,"errors":0,"total":1} 
[2026-07-15 01:59:50] local.INFO: Acknowledgment sent {"connection_id":132112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 01:59:57] local.INFO: TCP Data received {"connection_id":132954,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:59:57] local.INFO: Processing buffer {"connection_id":132954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 01:59:57] local.INFO: IMEI packet received {"connection_id":132954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 01:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":132954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:00:03] local.INFO: TCP Data received {"connection_id":132954,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:00:03] local.INFO: Processing buffer {"connection_id":132954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:00:03] local.INFO: IMEI packet received {"connection_id":132954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":132954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:00:04] local.INFO: TCP Data received {"connection_id":132954,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f6251bdc0012d7f92c005afd8300000005024..."} 
[2026-07-15 02:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6251bdc0012d7f92c005afd8300000005024..."} 
[2026-07-15 02:00:04] local.INFO: Processing buffer {"connection_id":132954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6251bdc0012d7f92c005afd8300000005024..."} 
[2026-07-15 02:00:04] local.INFO: Packet analysis {"connection_id":132954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6251"} 
[2026-07-15 02:00:04] local.INFO: Extracted packet for processing {"connection_id":132954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6251"} 
[2026-07-15 02:00:04] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719526656001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784060952000,"timestamp_ms":1784060952000,"timestamp_seconds":1784060952,"priority":1,"record_length":96,"hex_timestamp":"0000019f6251bdc0"} 
[2026-07-15 02:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 02:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:00:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":132954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":132954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":132954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719526656001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719526656001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:00:04] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:00:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719526656001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":132954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:00:04] local.INFO: GPS data processed {"connection_id":132954,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:00:04] local.INFO: Acknowledgment sent {"connection_id":132954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:00:35] local.INFO: TCP Data received {"connection_id":132954,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f6251bdc0012d7f92c005afd8300000005024..."} 
[2026-07-15 02:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6251bdc0012d7f92c005afd8300000005024..."} 
[2026-07-15 02:00:35] local.INFO: Processing buffer {"connection_id":132954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6251bdc0012d7f92c005afd8300000005024..."} 
[2026-07-15 02:00:35] local.INFO: Packet analysis {"connection_id":132954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6251"} 
[2026-07-15 02:00:35] local.INFO: Extracted packet for processing {"connection_id":132954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6251"} 
[2026-07-15 02:00:35] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719526656001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784060952000,"timestamp_ms":1784060952000,"timestamp_seconds":1784060952,"priority":1,"record_length":96,"hex_timestamp":"0000019f6251bdc0"} 
[2026-07-15 02:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:00:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 02:00:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:00:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:00:35] 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-07-15 02:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719526656001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719526656001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:00:35] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:00:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719526656001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":132954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:00:35] local.INFO: GPS data processed {"connection_id":132954,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:00:35] local.INFO: Acknowledgment sent {"connection_id":132954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:00:35] local.INFO: TCP Data received {"connection_id":132113,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132113,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:00:35] local.INFO: Processing buffer {"connection_id":132113,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:00:35] local.INFO: IMEI packet received {"connection_id":132113,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 02:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":132113,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:00:41] local.INFO: TCP Data received {"connection_id":132113,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132113,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:00:41] local.INFO: Processing buffer {"connection_id":132113,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:00:41] local.INFO: IMEI packet received {"connection_id":132113,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 02:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":132113,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:00:41] local.INFO: TCP Data received {"connection_id":132113,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6250d360012d5a29c0063d51280001015230..."} 
[2026-07-15 02:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6250d360012d5a29c0063d51280001015230..."} 
[2026-07-15 02:00:42] local.INFO: Processing buffer {"connection_id":132113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6250d360012d5a29c0063d51280001015230..."} 
[2026-07-15 02:00:42] local.INFO: Packet analysis {"connection_id":132113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6250"} 
[2026-07-15 02:00:42] local.INFO: Extracted packet for processing {"connection_id":132113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6250"} 
[2026-07-15 02:00:42] local.INFO: GPS Element Parsed {"raw_longitude":760883648,"raw_latitude":104681768,"longitude_deg":76.0883648,"latitude_deg":10.4681768,"altitude":1,"angle":338,"satellites":48,"speed":54,"hex_longitude":"2d5a29c0","hex_latitude":"063d5128","is_valid_coordinates":true} 
[2026-07-15 02:00: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-07-15 02:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719586560001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135961291448647680,"note":"Value kept but may cause issues"} 
[2026-07-15 02:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6500523876440438784,"note":"Value kept but may cause issues"} 
[2026-07-15 02:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784060892000,"timestamp_ms":1784060892000,"timestamp_seconds":1784060892,"priority":1,"record_length":96,"hex_timestamp":"0000019f6250d360"} 
[2026-07-15 02:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 02:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 02:00:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:00: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-07-15 02:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132113,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132113,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719586560001,"66":27821,"85":206,"19":38400,"24":54,"16":135961291448647680,"45":6500523876440438784},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,19,24,16,45]} 
[2026-07-15 02:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719586560001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:00:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-15 02:00:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-07-15 02:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135961291448647680,"km_value":135961291448647.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6500523876440438784,"description":"Unknown IO ID 45"} 
[2026-07-15 02:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719586560001,"power":27821,"unknown_85":206,"unknown_19":38400,"ignition":54,"odometer":null,"unknown_45":6500523876440438784}} 
[2026-07-15 02:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":132113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489019,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:00:42] local.INFO: GPS data processed {"connection_id":132113,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:00:42] local.INFO: Acknowledgment sent {"connection_id":132113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:01:02] local.INFO: TCP Data received {"connection_id":132114,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:01:02] local.INFO: Processing buffer {"connection_id":132114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:01:02] local.INFO: IMEI packet received {"connection_id":132114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":132114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:01:07] local.INFO: TCP Data received {"connection_id":132114,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:01:07] local.INFO: Processing buffer {"connection_id":132114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:01:07] local.INFO: IMEI packet received {"connection_id":132114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":132114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:01:08] local.INFO: TCP Data received {"connection_id":132114,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f6251bdc0012d7f92c005afd8300000005024..."} 
[2026-07-15 02:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6251bdc0012d7f92c005afd8300000005024..."} 
[2026-07-15 02:01:08] local.INFO: Processing buffer {"connection_id":132114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6251bdc0012d7f92c005afd8300000005024..."} 
[2026-07-15 02:01:08] local.INFO: Packet analysis {"connection_id":132114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6251"} 
[2026-07-15 02:01:08] local.INFO: Extracted packet for processing {"connection_id":132114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6251"} 
[2026-07-15 02:01:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719526656001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784060952000,"timestamp_ms":1784060952000,"timestamp_seconds":1784060952,"priority":1,"record_length":96,"hex_timestamp":"0000019f6251bdc0"} 
[2026-07-15 02:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 02:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719526656001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719526656001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:01:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:01:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719526656001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":132114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:01:08] local.INFO: GPS data processed {"connection_id":132114,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:01:08] local.INFO: Acknowledgment sent {"connection_id":132114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:01:14] local.INFO: TCP Data received {"connection_id":132113,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6250eeb8012d5a1c00063d72e80002015232..."} 
[2026-07-15 02:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6250eeb8012d5a1c00063d72e80002015232..."} 
[2026-07-15 02:01:14] local.INFO: Processing buffer {"connection_id":132113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6250eeb8012d5a1c00063d72e80002015232..."} 
[2026-07-15 02:01:14] local.INFO: Packet analysis {"connection_id":132113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6250"} 
[2026-07-15 02:01:14] local.INFO: Extracted packet for processing {"connection_id":132113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6250"} 
[2026-07-15 02:01:14] local.INFO: GPS Element Parsed {"raw_longitude":760880128,"raw_latitude":104690408,"longitude_deg":76.0880128,"latitude_deg":10.4690408,"altitude":2,"angle":338,"satellites":50,"speed":51,"hex_longitude":"2d5a1c00","hex_latitude":"063d72e8","is_valid_coordinates":true} 
[2026-07-15 02:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719588352001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135961742420213760,"note":"Value kept but may cause issues"} 
[2026-07-15 02:01:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6496935070489716736,"note":"Value kept but may cause issues"} 
[2026-07-15 02:01:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784060899000,"timestamp_ms":1784060899000,"timestamp_seconds":1784060899,"priority":1,"record_length":96,"hex_timestamp":"0000019f6250eeb8"} 
[2026-07-15 02:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:01:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 02:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 02:01:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:01:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":132113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":132113,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":132113,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:01:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719588352001,"66":27767,"85":206,"19":38400,"24":51,"16":135961742420213760,"45":6496935070489716736},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,19,24,16,45]} 
[2026-07-15 02:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719588352001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:01:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-15 02:01:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-07-15 02:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135961742420213760,"km_value":135961742420213.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:01:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":6496935070489716736,"description":"Unknown IO ID 45"} 
[2026-07-15 02:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719588352001,"power":27767,"unknown_85":206,"unknown_19":38400,"ignition":51,"odometer":null,"unknown_45":6496935070489716736}} 
[2026-07-15 02:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":132113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489021,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:01:14] local.INFO: GPS data processed {"connection_id":132113,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:01:14] local.INFO: Acknowledgment sent {"connection_id":132113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:01:35] local.INFO: TCP Data received {"connection_id":131939,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131939,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:01:35] local.INFO: Processing buffer {"connection_id":131939,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:01:35] local.INFO: IMEI packet received {"connection_id":131939,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 02:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":131939,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:01:36] local.INFO: TCP Data received {"connection_id":131939,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131939,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:01:36] local.INFO: Processing buffer {"connection_id":131939,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:01:36] local.INFO: IMEI packet received {"connection_id":131939,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 02:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":131939,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:01:39] local.INFO: TCP Data received {"connection_id":132114,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f6251bdc0012d7f92c005afd8300000005024..."} 
[2026-07-15 02:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6251bdc0012d7f92c005afd8300000005024..."} 
[2026-07-15 02:01:39] local.INFO: Processing buffer {"connection_id":132114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6251bdc0012d7f92c005afd8300000005024..."} 
[2026-07-15 02:01:39] local.INFO: Packet analysis {"connection_id":132114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6251"} 
[2026-07-15 02:01:39] local.INFO: Extracted packet for processing {"connection_id":132114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6251"} 
[2026-07-15 02:01:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719526656001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784060952000,"timestamp_ms":1784060952000,"timestamp_seconds":1784060952,"priority":1,"record_length":96,"hex_timestamp":"0000019f6251bdc0"} 
[2026-07-15 02:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:01:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 02:01:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:01:39] 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-07-15 02:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719526656001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719526656001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:01:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:01:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719526656001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":132114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:01:39] local.INFO: GPS data processed {"connection_id":132114,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:01:39] local.INFO: Acknowledgment sent {"connection_id":132114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:01:41] local.INFO: TCP Data received {"connection_id":131939,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131939,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:01:41] local.INFO: Processing buffer {"connection_id":131939,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:01:41] local.INFO: IMEI packet received {"connection_id":131939,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 02:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":131939,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:01:41] local.INFO: TCP Data received {"connection_id":131939,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f625111e0012d5a0e40063d93a8000001532d..."} 
[2026-07-15 02:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f625111e0012d5a0e40063d93a8000001532d..."} 
[2026-07-15 02:01:41] local.INFO: Processing buffer {"connection_id":131939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f625111e0012d5a0e40063d93a8000001532d..."} 
[2026-07-15 02:01:41] local.INFO: Packet analysis {"connection_id":131939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6251"} 
[2026-07-15 02:01:41] local.INFO: Extracted packet for processing {"connection_id":131939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6251"} 
[2026-07-15 02:01:41] local.INFO: GPS Element Parsed {"raw_longitude":760876608,"raw_latitude":104698792,"longitude_deg":76.0876608,"latitude_deg":10.4698792,"altitude":0,"angle":339,"satellites":45,"speed":13,"hex_longitude":"2d5a0e40","hex_latitude":"063d93a8","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719590144001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135962184801845248,"note":"Value kept but may cause issues"} 
[2026-07-15 02:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6493064789562157056,"note":"Value kept but may cause issues"} 
[2026-07-15 02:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784060908000,"timestamp_ms":1784060908000,"timestamp_seconds":1784060908,"priority":1,"record_length":96,"hex_timestamp":"0000019f625111e0"} 
[2026-07-15 02:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 02: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 02:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131939,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131939,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719590144001,"66":27821,"85":206,"19":38400,"24":13,"16":135962184801845248,"45":6493064789562157056},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,19,24,16,45]} 
[2026-07-15 02:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719590144001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:01:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-15 02:01:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-07-15 02:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135962184801845248,"km_value":135962184801845.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":6493064789562157056,"description":"Unknown IO ID 45"} 
[2026-07-15 02:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719590144001,"power":27821,"unknown_85":206,"unknown_19":38400,"ignition":13,"odometer":null,"unknown_45":6493064789562157056}} 
[2026-07-15 02:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":131939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489023,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:01:42] local.INFO: GPS data processed {"connection_id":131939,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:01:42] local.INFO: Acknowledgment sent {"connection_id":131939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:02:07] local.INFO: TCP Data received {"connection_id":132955,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:02:07] local.INFO: Processing buffer {"connection_id":132955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:02:07] local.INFO: IMEI packet received {"connection_id":132955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":132955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:02:17] local.INFO: TCP Data received {"connection_id":132955,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:02:17] local.INFO: Processing buffer {"connection_id":132955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:02:17] local.INFO: IMEI packet received {"connection_id":132955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":132955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:02:17] local.INFO: TCP Data received {"connection_id":132955,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f6251bdc0012d7f92c005afd8300000005024..."} 
[2026-07-15 02:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6251bdc0012d7f92c005afd8300000005024..."} 
[2026-07-15 02:02:17] local.INFO: Processing buffer {"connection_id":132955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6251bdc0012d7f92c005afd8300000005024..."} 
[2026-07-15 02:02:17] local.INFO: Packet analysis {"connection_id":132955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6251"} 
[2026-07-15 02:02:17] local.INFO: Extracted packet for processing {"connection_id":132955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6251"} 
[2026-07-15 02:02:17] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719526656001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784060952000,"timestamp_ms":1784060952000,"timestamp_seconds":1784060952,"priority":1,"record_length":96,"hex_timestamp":"0000019f6251bdc0"} 
[2026-07-15 02:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:02:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 02:02:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:02:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719526656001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719526656001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:02:17] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:02:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719526656001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":132955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:02:17] local.INFO: GPS data processed {"connection_id":132955,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:02:17] local.INFO: Acknowledgment sent {"connection_id":132955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:02:18] local.INFO: TCP Data received {"connection_id":132955,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f6251bdc0012d7f92c005afd8300000005024..."} 
[2026-07-15 02:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6251bdc0012d7f92c005afd8300000005024..."} 
[2026-07-15 02:02:18] local.INFO: Processing buffer {"connection_id":132955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6251bdc0012d7f92c005afd8300000005024..."} 
[2026-07-15 02:02:18] local.INFO: Packet analysis {"connection_id":132955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6251"} 
[2026-07-15 02:02:18] local.INFO: Extracted packet for processing {"connection_id":132955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6251"} 
[2026-07-15 02:02:18] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719526656001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:02:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784060952000,"timestamp_ms":1784060952000,"timestamp_seconds":1784060952,"priority":1,"record_length":96,"hex_timestamp":"0000019f6251bdc0"} 
[2026-07-15 02:02:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:02:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 02:02:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:02:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":132955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":132955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":132955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:02:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719526656001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719526656001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:02:18] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:02:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719526656001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":132955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:02:18] local.INFO: GPS data processed {"connection_id":132955,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:02:18] local.INFO: Acknowledgment sent {"connection_id":132955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:02:26] local.INFO: TCP Data received {"connection_id":131939,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f625163e8012d5a0dc0063d94f8000001562c..."} 
[2026-07-15 02:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f625163e8012d5a0dc0063d94f8000001562c..."} 
[2026-07-15 02:02:26] local.INFO: Processing buffer {"connection_id":131939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f625163e8012d5a0dc0063d94f8000001562c..."} 
[2026-07-15 02:02:26] local.INFO: Packet analysis {"connection_id":131939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6251"} 
[2026-07-15 02:02:26] local.INFO: Extracted packet for processing {"connection_id":131939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6251"} 
[2026-07-15 02:02:26] local.INFO: GPS Element Parsed {"raw_longitude":760876480,"raw_latitude":104699128,"longitude_deg":76.087648,"latitude_deg":10.4699128,"altitude":0,"angle":342,"satellites":44,"speed":0,"hex_longitude":"2d5a0dc0","hex_latitude":"063d94f8","is_valid_coordinates":true} 
[2026-07-15 02:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719592448001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135962201981714432,"note":"Value kept but may cause issues"} 
[2026-07-15 02:02:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6489194508634531840,"note":"Value kept but may cause issues"} 
[2026-07-15 02:02:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784060929000,"timestamp_ms":1784060929000,"timestamp_seconds":1784060929,"priority":1,"record_length":96,"hex_timestamp":"0000019f625163e8"} 
[2026-07-15 02:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:02:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 02:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 02:02:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:02:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":131939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":131939,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":131939,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:02:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719592448001,"66":27952,"85":206,"19":38400,"24":0,"16":135962201981714432,"45":6489194508634531840},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,19,24,16,45]} 
[2026-07-15 02:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719592448001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:02:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-15 02:02:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-07-15 02:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135962201981714432,"km_value":135962201981714.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:02:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":6489194508634531840,"description":"Unknown IO ID 45"} 
[2026-07-15 02:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719592448001,"power":27952,"unknown_85":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6489194508634531840}} 
[2026-07-15 02:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":131939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489026,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:02:26] local.INFO: GPS data processed {"connection_id":131939,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:02:26] local.INFO: Acknowledgment sent {"connection_id":131939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:02:41] local.INFO: TCP Data received {"connection_id":132115,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132115,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:02:41] local.INFO: Processing buffer {"connection_id":132115,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:02:41] local.INFO: IMEI packet received {"connection_id":132115,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 02:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":132115,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:02:46] local.INFO: TCP Data received {"connection_id":132115,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132115,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:02:46] local.INFO: Processing buffer {"connection_id":132115,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:02:46] local.INFO: IMEI packet received {"connection_id":132115,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 02:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":132115,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:02:47] local.INFO: TCP Data received {"connection_id":132115,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f625246780100000000000000000000000000..."} 
[2026-07-15 02:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f625246780100000000000000000000000000..."} 
[2026-07-15 02:02:47] local.INFO: Processing buffer {"connection_id":132115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f625246780100000000000000000000000000..."} 
[2026-07-15 02:02:47] local.INFO: Packet analysis {"connection_id":132115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6252"} 
[2026-07-15 02:02:47] local.INFO: Extracted packet for processing {"connection_id":132115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6252"} 
[2026-07-15 02:02: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-07-15 02:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719597824001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135962201981714432,"note":"Value kept but may cause issues"} 
[2026-07-15 02:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6489053771146262528,"note":"Value kept but may cause issues"} 
[2026-07-15 02:02:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784060987000,"timestamp_ms":1784060987000,"timestamp_seconds":1784060987,"priority":1,"record_length":96,"hex_timestamp":"0000019f62524678"} 
[2026-07-15 02:02:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:02:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 02:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-15 02:02:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:02:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:02:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":132115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":132115,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":132115,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":132115,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 02:02:47] local.INFO: GPS data processed {"connection_id":132115,"processed":0,"errors":0,"total":1} 
[2026-07-15 02:02:47] local.INFO: Acknowledgment sent {"connection_id":132115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:02:49] local.INFO: TCP Data received {"connection_id":132115,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6251dd00012d59c980063e13700000014d2b..."} 
[2026-07-15 02:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6251dd00012d59c980063e13700000014d2b..."} 
[2026-07-15 02:02:49] local.INFO: Processing buffer {"connection_id":132115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6251dd00012d59c980063e13700000014d2b..."} 
[2026-07-15 02:02:49] local.INFO: Packet analysis {"connection_id":132115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6251"} 
[2026-07-15 02:02:49] local.INFO: Extracted packet for processing {"connection_id":132115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6251"} 
[2026-07-15 02:02:49] local.INFO: GPS Element Parsed {"raw_longitude":760859008,"raw_latitude":104731504,"longitude_deg":76.0859008,"latitude_deg":10.4731504,"altitude":0,"angle":333,"satellites":43,"speed":44,"hex_longitude":"2d59c980","hex_latitude":"063e1370","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135962201981714432,"note":"Value kept but may cause issues"} 
[2026-07-15 02:02:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,218,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 02:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1784060960000,"timestamp_ms":1784060960000,"timestamp_seconds":1784060960,"priority":1,"record_length":96,"hex_timestamp":"0000019f6251dd00"} 
[2026-07-15 02:02:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:02:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 02: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 02:02:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:02:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":132115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":132115,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":132115,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:02:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27865,"218":206,"19":38400,"24":44,"16":135962201981714432},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16]} 
[2026-07-15 02:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-15 02:02:49] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-07-15 02:02:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-07-15 02:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135962201981714432,"km_value":135962201981714.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:02:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27865,"unknown_218":206,"unknown_19":38400,"ignition":44,"odometer":null}} 
[2026-07-15 02:02:50] local.INFO: DEBUG: GPS processor result {"connection_id":132115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489027,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:02:50] local.INFO: GPS data processed {"connection_id":132115,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:02:50] local.INFO: Acknowledgment sent {"connection_id":132115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:03:02] local.INFO: TCP Data received {"connection_id":131940,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:03:02] local.INFO: Processing buffer {"connection_id":131940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:03:02] local.INFO: IMEI packet received {"connection_id":131940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":131940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:03:09] local.INFO: TCP Data received {"connection_id":131940,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:03:09] local.INFO: Processing buffer {"connection_id":131940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:03:09] local.INFO: IMEI packet received {"connection_id":131940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":131940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:03:09] local.INFO: TCP Data received {"connection_id":131940,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f6251bdc0012d7f92c005afd8300000005024..."} 
[2026-07-15 02:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6251bdc0012d7f92c005afd8300000005024..."} 
[2026-07-15 02:03:09] local.INFO: Processing buffer {"connection_id":131940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6251bdc0012d7f92c005afd8300000005024..."} 
[2026-07-15 02:03:09] local.INFO: Packet analysis {"connection_id":131940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6251"} 
[2026-07-15 02:03:09] local.INFO: Extracted packet for processing {"connection_id":131940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6251"} 
[2026-07-15 02:03:09] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719526656001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784060952000,"timestamp_ms":1784060952000,"timestamp_seconds":1784060952,"priority":1,"record_length":96,"hex_timestamp":"0000019f6251bdc0"} 
[2026-07-15 02:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 02:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":131940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":131940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":131940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:03:09] 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-07-15 02:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719526656001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719526656001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:03:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:03:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719526656001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":131940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:03:09] local.INFO: GPS data processed {"connection_id":131940,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:03:09] local.INFO: Acknowledgment sent {"connection_id":131940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:03:21] local.INFO: TCP Data received {"connection_id":132115,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62522f08012d599e00063e5a380000014730..."} 
[2026-07-15 02:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62522f08012d599e00063e5a380000014730..."} 
[2026-07-15 02:03:21] local.INFO: Processing buffer {"connection_id":132115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62522f08012d599e00063e5a380000014730..."} 
[2026-07-15 02:03:21] local.INFO: Packet analysis {"connection_id":132115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6252"} 
[2026-07-15 02:03:21] local.INFO: Extracted packet for processing {"connection_id":132115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6252"} 
[2026-07-15 02:03:21] local.INFO: GPS Element Parsed {"raw_longitude":760847872,"raw_latitude":104749624,"longitude_deg":76.0847872,"latitude_deg":10.4749624,"altitude":0,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d599e00","hex_latitude":"063e5a38","is_valid_coordinates":true} 
[2026-07-15 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-07-15 02:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719605760001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135962201981714432,"note":"Value kept but may cause issues"} 
[2026-07-15 02:03:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6469843103994048512,"note":"Value kept but may cause issues"} 
[2026-07-15 02:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1784060981000,"timestamp_ms":1784060981000,"timestamp_seconds":1784060981,"priority":1,"record_length":96,"hex_timestamp":"0000019f62522f08"} 
[2026-07-15 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-07-15 02:03:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-15 02:03:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 02:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":132115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":132115,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":132115,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:03:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719605760001,"66":28006,"218":206,"19":38400,"24":0,"16":135962201981714432,"45":6469843103994048512},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-07-15 02:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719605760001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:03:21] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-07-15 02:03:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-07-15 02:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135962201981714432,"km_value":135962201981714.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:03:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":6469843103994048512,"description":"Unknown IO ID 45"} 
[2026-07-15 02:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719605760001,"power":28006,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6469843103994048512}} 
[2026-07-15 02:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":132115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489029,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:03:21] local.INFO: GPS data processed {"connection_id":132115,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:03:21] local.INFO: Acknowledgment sent {"connection_id":132115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:03:37] local.INFO: TCP Data received {"connection_id":134324,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134324,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:03:37] local.INFO: Processing buffer {"connection_id":134324,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:03:37] local.INFO: IMEI packet received {"connection_id":134324,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 02:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":134324,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:03:41] local.INFO: TCP Data received {"connection_id":131940,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f6251bdc0012d7f92c005afd8300000005024..."} 
[2026-07-15 02:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6251bdc0012d7f92c005afd8300000005024..."} 
[2026-07-15 02:03:41] local.INFO: Processing buffer {"connection_id":131940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6251bdc0012d7f92c005afd8300000005024..."} 
[2026-07-15 02:03:41] local.INFO: Packet analysis {"connection_id":131940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6251"} 
[2026-07-15 02:03:41] local.INFO: Extracted packet for processing {"connection_id":131940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6251"} 
[2026-07-15 02:03:41] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719526656001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784060952000,"timestamp_ms":1784060952000,"timestamp_seconds":1784060952,"priority":1,"record_length":96,"hex_timestamp":"0000019f6251bdc0"} 
[2026-07-15 02:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 02:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:03:41] 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-07-15 02:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719526656001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719526656001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:03:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:03:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719526656001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":131940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:03:41] local.INFO: GPS data processed {"connection_id":131940,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:03:41] local.INFO: Acknowledgment sent {"connection_id":131940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:03:41] local.INFO: TCP Data received {"connection_id":134324,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134324,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:03:41] local.INFO: Processing buffer {"connection_id":134324,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:03:41] local.INFO: IMEI packet received {"connection_id":134324,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 02:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":134324,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:03:42] local.INFO: TCP Data received {"connection_id":134324,"ip":"117.224.100.59","data_length":93,"data_hex":"00000000000000518e010000019f625311980100000000000000000000000000..."} 
[2026-07-15 02:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134324,"packet_length":93,"packet_hex":"00000000000000518e010000019f625311980100000000000000000000000000..."} 
[2026-07-15 02:03:42] local.INFO: Processing buffer {"connection_id":134324,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f625311980100000000000000000000000000..."} 
[2026-07-15 02:03:42] local.INFO: Packet analysis {"connection_id":134324,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f6253"} 
[2026-07-15 02:03:42] local.INFO: Extracted packet for processing {"connection_id":134324,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f6253"} 
[2026-07-15 02:03: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-07-15 02:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-07-15 02:03:42] 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-07-15 02:03:42] 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-07-15 02:03:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:03:42] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-15 02:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":134324,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-15 02:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":134324,"device_imei":"862567071632322","avl_records_count":0} 
[2026-07-15 02:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":134324,"device_imei":"862567071632322","avl_records_count":0} 
[2026-07-15 02:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-15 02:03:42] local.WARNING: DEBUG: No valid data to process  
[2026-07-15 02:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":134324,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-15 02:03:42] local.ERROR: GPS data processing failed {"connection_id":134324,"error":"No valid data to process"} 
[2026-07-15 02:03:42] local.INFO: Acknowledgment sent {"connection_id":134324,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-15 02:03:47] local.INFO: TCP Data received {"connection_id":134324,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62529c68012d594280063ef2500000014930..."} 
[2026-07-15 02:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62529c68012d594280063ef2500000014930..."} 
[2026-07-15 02:03:47] local.INFO: Processing buffer {"connection_id":134324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62529c68012d594280063ef2500000014930..."} 
[2026-07-15 02:03:47] local.INFO: Packet analysis {"connection_id":134324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6252"} 
[2026-07-15 02:03:47] local.INFO: Extracted packet for processing {"connection_id":134324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6252"} 
[2026-07-15 02:03:47] local.INFO: GPS Element Parsed {"raw_longitude":760824448,"raw_latitude":104788560,"longitude_deg":76.0824448,"latitude_deg":10.478856,"altitude":0,"angle":329,"satellites":48,"speed":59,"hex_longitude":"2d594280","hex_latitude":"063ef250","is_valid_coordinates":true} 
[2026-07-15 02:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135962201981714432,"note":"Value kept but may cause issues"} 
[2026-07-15 02:03:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,136,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 02:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784061009000,"timestamp_ms":1784061009000,"timestamp_seconds":1784061009,"priority":1,"record_length":96,"hex_timestamp":"0000019f62529c68"} 
[2026-07-15 02:03:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:03:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 02:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 02:03:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:03:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:03:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":134324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":134324,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":134324,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:03:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27745,"136":206,"19":38400,"24":59,"16":135962201981714432},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,19,24,16]} 
[2026-07-15 02:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-15 02:03:47] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-07-15 02:03:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-07-15 02:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135962201981714432,"km_value":135962201981714.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:03:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27745,"unknown_136":206,"unknown_19":38400,"ignition":59,"odometer":null}} 
[2026-07-15 02:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":134324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489031,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:03:47] local.INFO: GPS data processed {"connection_id":134324,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:03:47] local.INFO: Acknowledgment sent {"connection_id":134324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:04:02] local.INFO: TCP Data received {"connection_id":132116,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:04:02] local.INFO: Processing buffer {"connection_id":132116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:04:02] local.INFO: IMEI packet received {"connection_id":132116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":132116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:04:07] local.INFO: TCP Data received {"connection_id":132116,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:04:07] local.INFO: Processing buffer {"connection_id":132116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:04:07] local.INFO: IMEI packet received {"connection_id":132116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":132116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:04:08] local.INFO: TCP Data received {"connection_id":132116,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f6251bdc0012d7f92c005afd8300000005024..."} 
[2026-07-15 02:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6251bdc0012d7f92c005afd8300000005024..."} 
[2026-07-15 02:04:08] local.INFO: Processing buffer {"connection_id":132116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6251bdc0012d7f92c005afd8300000005024..."} 
[2026-07-15 02:04:08] local.INFO: Packet analysis {"connection_id":132116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6251"} 
[2026-07-15 02:04:08] local.INFO: Extracted packet for processing {"connection_id":132116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6251"} 
[2026-07-15 02:04:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719526656001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784060952000,"timestamp_ms":1784060952000,"timestamp_seconds":1784060952,"priority":1,"record_length":96,"hex_timestamp":"0000019f6251bdc0"} 
[2026-07-15 02:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 02:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719526656001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719526656001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:04:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:04:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719526656001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":132116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:04:08] local.INFO: GPS data processed {"connection_id":132116,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:04:08] local.INFO: Acknowledgment sent {"connection_id":132116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:04:19] local.INFO: TCP Data received {"connection_id":134324,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62556740012d569a0006419ce00003014e2f..."} 
[2026-07-15 02:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62556740012d569a0006419ce00003014e2f..."} 
[2026-07-15 02:04:19] local.INFO: Processing buffer {"connection_id":134324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62556740012d569a0006419ce00003014e2f..."} 
[2026-07-15 02:04:19] local.INFO: Packet analysis {"connection_id":134324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6255"} 
[2026-07-15 02:04:19] local.INFO: Extracted packet for processing {"connection_id":134324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6255"} 
[2026-07-15 02:04:19] local.INFO: GPS Element Parsed {"raw_longitude":760650240,"raw_latitude":104963296,"longitude_deg":76.065024,"latitude_deg":10.4963296,"altitude":3,"angle":334,"satellites":47,"speed":0,"hex_longitude":"2d569a00","hex_latitude":"06419ce0","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719659776001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135962201981714432,"note":"Value kept but may cause issues"} 
[2026-07-15 02:04:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6252896265748336640,"note":"Value kept but may cause issues"} 
[2026-07-15 02:04:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784061192000,"timestamp_ms":1784061192000,"timestamp_seconds":1784061192,"priority":1,"record_length":96,"hex_timestamp":"0000019f62556740"} 
[2026-07-15 02:04:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:04:19] 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-07-15 02: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 02:04:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:04:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":134324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":134324,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":134324,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:04:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719659776001,"66":27930,"186":206,"19":38144,"24":0,"16":135962201981714432,"45":6252896265748336640},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,19,24,16,45]} 
[2026-07-15 02:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719659776001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:04:19] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-15 02:04:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135962201981714432,"km_value":135962201981714.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:04:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":6252896265748336640,"description":"Unknown IO ID 45"} 
[2026-07-15 02:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719659776001,"power":27930,"unknown_186":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":6252896265748336640}} 
[2026-07-15 02:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":134324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489033,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:04:19] local.INFO: GPS data processed {"connection_id":134324,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:04:19] local.INFO: Acknowledgment sent {"connection_id":134324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:04:36] local.INFO: TCP Data received {"connection_id":132956,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132956,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:04:36] local.INFO: Processing buffer {"connection_id":132956,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:04:36] local.INFO: IMEI packet received {"connection_id":132956,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 02:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":132956,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:04:38] local.INFO: TCP Data received {"connection_id":132956,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132956,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:04:38] local.INFO: Processing buffer {"connection_id":132956,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:04:38] local.INFO: IMEI packet received {"connection_id":132956,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 02:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":132956,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:04:39] local.INFO: TCP Data received {"connection_id":132116,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f6251bdc0012d7f92c005afd8300000005024..."} 
[2026-07-15 02:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6251bdc0012d7f92c005afd8300000005024..."} 
[2026-07-15 02:04:39] local.INFO: Processing buffer {"connection_id":132116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6251bdc0012d7f92c005afd8300000005024..."} 
[2026-07-15 02:04:39] local.INFO: Packet analysis {"connection_id":132116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6251"} 
[2026-07-15 02:04:39] local.INFO: Extracted packet for processing {"connection_id":132116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6251"} 
[2026-07-15 02:04:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719526656001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784060952000,"timestamp_ms":1784060952000,"timestamp_seconds":1784060952,"priority":1,"record_length":96,"hex_timestamp":"0000019f6251bdc0"} 
[2026-07-15 02:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 02:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719526656001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719526656001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:04:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:04:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719526656001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":132116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:04:39] local.INFO: GPS data processed {"connection_id":132116,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:04:39] local.INFO: Acknowledgment sent {"connection_id":132116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:04:40] local.INFO: TCP Data received {"connection_id":132956,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132956,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:04:41] local.INFO: Processing buffer {"connection_id":132956,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:04:41] local.INFO: IMEI packet received {"connection_id":132956,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 02:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":132956,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:04:41] local.INFO: TCP Data received {"connection_id":132956,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f625649d00100000000000000000000000000..."} 
[2026-07-15 02:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f625649d00100000000000000000000000000..."} 
[2026-07-15 02:04:41] local.INFO: Processing buffer {"connection_id":132956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f625649d00100000000000000000000000000..."} 
[2026-07-15 02:04:41] local.INFO: Packet analysis {"connection_id":132956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6256"} 
[2026-07-15 02:04:41] local.INFO: Extracted packet for processing {"connection_id":132956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6256"} 
[2026-07-15 02:04: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-07-15 02:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719665152001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135962201981714432,"note":"Value kept but may cause issues"} 
[2026-07-15 02:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6240300260545847296,"note":"Value kept but may cause issues"} 
[2026-07-15 02:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784061250000,"timestamp_ms":1784061250000,"timestamp_seconds":1784061250,"priority":1,"record_length":96,"hex_timestamp":"0000019f625649d0"} 
[2026-07-15 02:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 02:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-15 02:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132956,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132956,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":132956,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 02:04:41] local.INFO: GPS data processed {"connection_id":132956,"processed":0,"errors":0,"total":1} 
[2026-07-15 02:04:41] local.INFO: Acknowledgment sent {"connection_id":132956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:04:47] local.INFO: TCP Data received {"connection_id":132956,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6255d0b8012d563fc006423f480001014730..."} 
[2026-07-15 02:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6255d0b8012d563fc006423f480001014730..."} 
[2026-07-15 02:04:47] local.INFO: Processing buffer {"connection_id":132956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6255d0b8012d563fc006423f480001014730..."} 
[2026-07-15 02:04:47] local.INFO: Packet analysis {"connection_id":132956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6255"} 
[2026-07-15 02:04:47] local.INFO: Extracted packet for processing {"connection_id":132956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6255"} 
[2026-07-15 02:04:47] local.INFO: GPS Element Parsed {"raw_longitude":760627136,"raw_latitude":105004872,"longitude_deg":76.0627136,"latitude_deg":10.5004872,"altitude":1,"angle":327,"satellites":48,"speed":59,"hex_longitude":"2d563fc0","hex_latitude":"06423f48","is_valid_coordinates":true} 
[2026-07-15 02:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135962201981714432,"note":"Value kept but may cause issues"} 
[2026-07-15 02:04:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,187,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 02:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784061219000,"timestamp_ms":1784061219000,"timestamp_seconds":1784061219,"priority":1,"record_length":96,"hex_timestamp":"0000019f6255d0b8"} 
[2026-07-15 02:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:04:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 02:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-15 02:04:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:04:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":132956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":132956,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":132956,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27908,"187":206,"19":38144,"24":59,"16":135962201981714432},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,19,24,16]} 
[2026-07-15 02:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-15 02:04:47] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-15 02:04:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135962201981714432,"km_value":135962201981714.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:04:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27908,"unknown_187":206,"unknown_19":38144,"ignition":59,"odometer":null}} 
[2026-07-15 02:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":132956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489035,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:04:47] local.INFO: GPS data processed {"connection_id":132956,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:04:47] local.INFO: Acknowledgment sent {"connection_id":132956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:05:05] local.INFO: TCP Data received {"connection_id":131941,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:05:05] local.INFO: Processing buffer {"connection_id":131941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:05:05] local.INFO: IMEI packet received {"connection_id":131941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":131941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:05:07] local.INFO: TCP Data received {"connection_id":131941,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:05:07] local.INFO: Processing buffer {"connection_id":131941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:05:07] local.INFO: IMEI packet received {"connection_id":131941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":131941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:05:08] local.INFO: TCP Data received {"connection_id":131941,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f62565588012d7f92c005afd830000000502a..."} 
[2026-07-15 02:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62565588012d7f92c005afd830000000502a..."} 
[2026-07-15 02:05:08] local.INFO: Processing buffer {"connection_id":131941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62565588012d7f92c005afd830000000502a..."} 
[2026-07-15 02:05:08] local.INFO: Packet analysis {"connection_id":131941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6256"} 
[2026-07-15 02:05:08] local.INFO: Extracted packet for processing {"connection_id":131941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6256"} 
[2026-07-15 02:05:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719603712001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784061253000,"timestamp_ms":1784061253000,"timestamp_seconds":1784061253,"priority":1,"record_length":96,"hex_timestamp":"0000019f62565588"} 
[2026-07-15 02:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 02:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":131941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":131941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":131941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719603712001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719603712001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:05:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:05:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719603712001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":131941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:05:08] local.INFO: GPS data processed {"connection_id":131941,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:05:08] local.INFO: Acknowledgment sent {"connection_id":131941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:05:13] local.INFO: TCP Data received {"connection_id":131941,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f62565588012d7f92c005afd830000000502a..."} 
[2026-07-15 02:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62565588012d7f92c005afd830000000502a..."} 
[2026-07-15 02:05:13] local.INFO: Processing buffer {"connection_id":131941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62565588012d7f92c005afd830000000502a..."} 
[2026-07-15 02:05:13] local.INFO: Packet analysis {"connection_id":131941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6256"} 
[2026-07-15 02:05:13] local.INFO: Extracted packet for processing {"connection_id":131941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6256"} 
[2026-07-15 02:05:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719603712001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:05:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:05:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784061253000,"timestamp_ms":1784061253000,"timestamp_seconds":1784061253,"priority":1,"record_length":96,"hex_timestamp":"0000019f62565588"} 
[2026-07-15 02:05:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:05:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 02:05:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:05:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:05:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":131941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":131941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":131941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:05:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719603712001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719603712001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:05:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:05:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:05:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719603712001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":131941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:05:13] local.INFO: GPS data processed {"connection_id":131941,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:05:13] local.INFO: Acknowledgment sent {"connection_id":131941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:05:19] local.INFO: TCP Data received {"connection_id":132956,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f625622c0012d56118006428f800001014e2c..."} 
[2026-07-15 02:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f625622c0012d56118006428f800001014e2c..."} 
[2026-07-15 02:05:19] local.INFO: Processing buffer {"connection_id":132956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f625622c0012d56118006428f800001014e2c..."} 
[2026-07-15 02:05:19] local.INFO: Packet analysis {"connection_id":132956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6256"} 
[2026-07-15 02:05:19] local.INFO: Extracted packet for processing {"connection_id":132956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6256"} 
[2026-07-15 02:05:19] local.INFO: GPS Element Parsed {"raw_longitude":760615296,"raw_latitude":105025408,"longitude_deg":76.0615296,"latitude_deg":10.5025408,"altitude":1,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d561180","hex_latitude":"06428f80","is_valid_coordinates":true} 
[2026-07-15 02:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719672064001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135962201981714432,"note":"Value kept but may cause issues"} 
[2026-07-15 02:05:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6214897143908354048,"note":"Value kept but may cause issues"} 
[2026-07-15 02:05:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784061240000,"timestamp_ms":1784061240000,"timestamp_seconds":1784061240,"priority":1,"record_length":96,"hex_timestamp":"0000019f625622c0"} 
[2026-07-15 02:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:05:19] 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-07-15 02:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 02:05:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:05:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":132956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":132956,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":132956,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:05:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719672064001,"66":27876,"187":206,"19":38144,"24":0,"16":135962201981714432,"45":6214897143908354048},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,19,24,16,45]} 
[2026-07-15 02:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719672064001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:05:19] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-15 02:05:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135962201981714432,"km_value":135962201981714.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:05:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":6214897143908354048,"description":"Unknown IO ID 45"} 
[2026-07-15 02:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719672064001,"power":27876,"unknown_187":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":6214897143908354048}} 
[2026-07-15 02:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":132956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489038,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:05:19] local.INFO: GPS data processed {"connection_id":132956,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:05:19] local.INFO: Acknowledgment sent {"connection_id":132956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:05:35] local.INFO: TCP Data received {"connection_id":132117,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132117,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:05:36] local.INFO: Processing buffer {"connection_id":132117,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:05:36] local.INFO: IMEI packet received {"connection_id":132117,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 02:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":132117,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:05:41] local.INFO: TCP Data received {"connection_id":132117,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132117,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:05:41] local.INFO: Processing buffer {"connection_id":132117,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:05:41] local.INFO: IMEI packet received {"connection_id":132117,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 02:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":132117,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:05:42] local.INFO: TCP Data received {"connection_id":132117,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f625705500100000000000000000000000000..."} 
[2026-07-15 02:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f625705500100000000000000000000000000..."} 
[2026-07-15 02:05:42] local.INFO: Processing buffer {"connection_id":132117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f625705500100000000000000000000000000..."} 
[2026-07-15 02:05:42] local.INFO: Packet analysis {"connection_id":132117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6257"} 
[2026-07-15 02:05:42] local.INFO: Extracted packet for processing {"connection_id":132117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6257"} 
[2026-07-15 02:05: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-07-15 02:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719677440001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135962201981714432,"note":"Value kept but may cause issues"} 
[2026-07-15 02:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6201878926240743424,"note":"Value kept but may cause issues"} 
[2026-07-15 02:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784061298000,"timestamp_ms":1784061298000,"timestamp_seconds":1784061298,"priority":1,"record_length":96,"hex_timestamp":"0000019f62570550"} 
[2026-07-15 02:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:05:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 02:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-15 02:05:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132117,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132117,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":132117,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 02:05:42] local.INFO: GPS data processed {"connection_id":132117,"processed":0,"errors":0,"total":1} 
[2026-07-15 02:05:42] local.INFO: Acknowledgment sent {"connection_id":132117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:05:44] local.INFO: TCP Data received {"connection_id":131941,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f62565588012d7f92c005afd830000000502a..."} 
[2026-07-15 02:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62565588012d7f92c005afd830000000502a..."} 
[2026-07-15 02:05:44] local.INFO: Processing buffer {"connection_id":131941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62565588012d7f92c005afd830000000502a..."} 
[2026-07-15 02:05:44] local.INFO: Packet analysis {"connection_id":131941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6256"} 
[2026-07-15 02:05:44] local.INFO: Extracted packet for processing {"connection_id":131941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6256"} 
[2026-07-15 02:05:44] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719603712001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:05:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:05:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784061253000,"timestamp_ms":1784061253000,"timestamp_seconds":1784061253,"priority":1,"record_length":96,"hex_timestamp":"0000019f62565588"} 
[2026-07-15 02:05:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:05:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 02:05:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:05:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:05:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":131941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":131941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":131941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:05:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719603712001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719603712001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:05:44] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:05:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:05:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719603712001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":131941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:05:44] local.INFO: GPS data processed {"connection_id":131941,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:05:44] local.INFO: Acknowledgment sent {"connection_id":131941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:06:07] local.INFO: TCP Data received {"connection_id":132118,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:06:07] local.INFO: Processing buffer {"connection_id":132118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:06:07] local.INFO: IMEI packet received {"connection_id":132118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":132118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:06:12] local.INFO: TCP Data received {"connection_id":132118,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:06:12] local.INFO: Processing buffer {"connection_id":132118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:06:12] local.INFO: IMEI packet received {"connection_id":132118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":132118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:06:14] local.INFO: TCP Data received {"connection_id":132118,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f62565588012d7f92c005afd830000000502a..."} 
[2026-07-15 02:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62565588012d7f92c005afd830000000502a..."} 
[2026-07-15 02:06:14] local.INFO: Processing buffer {"connection_id":132118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62565588012d7f92c005afd830000000502a..."} 
[2026-07-15 02:06:14] local.INFO: Packet analysis {"connection_id":132118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6256"} 
[2026-07-15 02:06:14] local.INFO: Extracted packet for processing {"connection_id":132118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6256"} 
[2026-07-15 02:06:14] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719603712001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:06:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784061253000,"timestamp_ms":1784061253000,"timestamp_seconds":1784061253,"priority":1,"record_length":96,"hex_timestamp":"0000019f62565588"} 
[2026-07-15 02:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:06:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 02:06:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:06:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":132118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":132118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":132118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719603712001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719603712001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:06:14] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:06:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719603712001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":132118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:06:14] local.INFO: GPS data processed {"connection_id":132118,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:06:14] local.INFO: Acknowledgment sent {"connection_id":132118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:06:14] local.INFO: TCP Data received {"connection_id":132117,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62568c38012d55c440064333400006014e2f..."} 
[2026-07-15 02:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62568c38012d55c440064333400006014e2f..."} 
[2026-07-15 02:06:14] local.INFO: Processing buffer {"connection_id":132117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62568c38012d55c440064333400006014e2f..."} 
[2026-07-15 02:06:14] local.INFO: Packet analysis {"connection_id":132117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6256"} 
[2026-07-15 02:06:14] local.INFO: Extracted packet for processing {"connection_id":132117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6256"} 
[2026-07-15 02:06:14] local.INFO: GPS Element Parsed {"raw_longitude":760595520,"raw_latitude":105067328,"longitude_deg":76.059552,"latitude_deg":10.5067328,"altitude":6,"angle":334,"satellites":47,"speed":55,"hex_longitude":"2d55c440","hex_latitude":"06433340","is_valid_coordinates":true} 
[2026-07-15 02:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135962201981714432,"note":"Value kept but may cause issues"} 
[2026-07-15 02:06:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,187,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 02:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784061267000,"timestamp_ms":1784061267000,"timestamp_seconds":1784061267,"priority":1,"record_length":96,"hex_timestamp":"0000019f62568c38"} 
[2026-07-15 02:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:06:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 02:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 02:06:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:06:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":132117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":132117,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":132117,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27984,"187":206,"19":38144,"24":55,"16":135962201981714432},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,19,24,16]} 
[2026-07-15 02:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-15 02:06:14] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-15 02:06:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135962201981714432,"km_value":135962201981714.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:06:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27984,"unknown_187":206,"unknown_19":38144,"ignition":55,"odometer":null}} 
[2026-07-15 02:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":132117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489041,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:06:14] local.INFO: GPS data processed {"connection_id":132117,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:06:14] local.INFO: Acknowledgment sent {"connection_id":132117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:06:18] local.INFO: TCP Data received {"connection_id":132118,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f62565588012d7f92c005afd830000000502a..."} 
[2026-07-15 02:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62565588012d7f92c005afd830000000502a..."} 
[2026-07-15 02:06:18] local.INFO: Processing buffer {"connection_id":132118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62565588012d7f92c005afd830000000502a..."} 
[2026-07-15 02:06:18] local.INFO: Packet analysis {"connection_id":132118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6256"} 
[2026-07-15 02:06:18] local.INFO: Extracted packet for processing {"connection_id":132118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6256"} 
[2026-07-15 02:06:18] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719603712001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784061253000,"timestamp_ms":1784061253000,"timestamp_seconds":1784061253,"priority":1,"record_length":96,"hex_timestamp":"0000019f62565588"} 
[2026-07-15 02:06:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:06:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 02:06:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:06:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":132118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":132118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":132118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:06:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719603712001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719603712001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:06:18] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:06:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719603712001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":132118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:06:18] local.INFO: GPS data processed {"connection_id":132118,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:06:18] local.INFO: Acknowledgment sent {"connection_id":132118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:06:35] local.INFO: TCP Data received {"connection_id":134325,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134325,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:06:35] local.INFO: Processing buffer {"connection_id":134325,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:06:35] local.INFO: IMEI packet received {"connection_id":134325,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 02:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":134325,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:06:43] local.INFO: TCP Data received {"connection_id":134325,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134325,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:06:43] local.INFO: Processing buffer {"connection_id":134325,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:06:43] local.INFO: IMEI packet received {"connection_id":134325,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 02:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":134325,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:06:47] local.INFO: TCP Data received {"connection_id":134325,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6256de40012d559c80064382080009014c32..."} 
[2026-07-15 02:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6256de40012d559c80064382080009014c32..."} 
[2026-07-15 02:06:47] local.INFO: Processing buffer {"connection_id":134325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6256de40012d559c80064382080009014c32..."} 
[2026-07-15 02:06:47] local.INFO: Packet analysis {"connection_id":134325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6256"} 
[2026-07-15 02:06:47] local.INFO: Extracted packet for processing {"connection_id":134325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6256"} 
[2026-07-15 02:06:47] local.INFO: GPS Element Parsed {"raw_longitude":760585344,"raw_latitude":105087496,"longitude_deg":76.0585344,"latitude_deg":10.5087496,"altitude":9,"angle":332,"satellites":50,"speed":0,"hex_longitude":"2d559c80","hex_latitude":"06438208","is_valid_coordinates":true} 
[2026-07-15 02:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719684352001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135962201981714432,"note":"Value kept but may cause issues"} 
[2026-07-15 02:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6180134984300576768,"note":"Value kept but may cause issues"} 
[2026-07-15 02:06:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784061288000,"timestamp_ms":1784061288000,"timestamp_seconds":1784061288,"priority":1,"record_length":96,"hex_timestamp":"0000019f6256de40"} 
[2026-07-15 02:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 02:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 02:06:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:06:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":134325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":134325,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":134325,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719684352001,"66":27821,"176":206,"19":38144,"24":0,"16":135962201981714432,"45":6180134984300576768},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,19,24,16,45]} 
[2026-07-15 02:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719684352001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:06:47] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-15 02:06:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135962201981714432,"km_value":135962201981714.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":6180134984300576768,"description":"Unknown IO ID 45"} 
[2026-07-15 02:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719684352001,"power":27821,"unknown_176":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":6180134984300576768}} 
[2026-07-15 02:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":134325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489043,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:06:47] local.INFO: GPS data processed {"connection_id":134325,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:06:47] local.INFO: Acknowledgment sent {"connection_id":134325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:07:02] local.INFO: TCP Data received {"connection_id":131942,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:07:02] local.INFO: Processing buffer {"connection_id":131942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:07:02] local.INFO: IMEI packet received {"connection_id":131942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":131942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:07:07] local.INFO: TCP Data received {"connection_id":131942,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:07:07] local.INFO: Processing buffer {"connection_id":131942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:07:07] local.INFO: IMEI packet received {"connection_id":131942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":131942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:07:09] local.INFO: TCP Data received {"connection_id":131942,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f62565588012d7f92c005afd830000000502a..."} 
[2026-07-15 02:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62565588012d7f92c005afd830000000502a..."} 
[2026-07-15 02:07:09] local.INFO: Processing buffer {"connection_id":131942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62565588012d7f92c005afd830000000502a..."} 
[2026-07-15 02:07:09] local.INFO: Packet analysis {"connection_id":131942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6256"} 
[2026-07-15 02:07:09] local.INFO: Extracted packet for processing {"connection_id":131942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6256"} 
[2026-07-15 02:07:09] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719603712001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784061253000,"timestamp_ms":1784061253000,"timestamp_seconds":1784061253,"priority":1,"record_length":96,"hex_timestamp":"0000019f62565588"} 
[2026-07-15 02:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 02:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":131942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":131942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":131942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719603712001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719603712001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:07:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:07:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719603712001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":131942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:07:09] local.INFO: GPS data processed {"connection_id":131942,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:07:09] local.INFO: Acknowledgment sent {"connection_id":131942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:07:13] local.INFO: TCP Data received {"connection_id":131942,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f62565588012d7f92c005afd830000000502a..."} 
[2026-07-15 02:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62565588012d7f92c005afd830000000502a..."} 
[2026-07-15 02:07:13] local.INFO: Processing buffer {"connection_id":131942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62565588012d7f92c005afd830000000502a..."} 
[2026-07-15 02:07:13] local.INFO: Packet analysis {"connection_id":131942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6256"} 
[2026-07-15 02:07:13] local.INFO: Extracted packet for processing {"connection_id":131942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6256"} 
[2026-07-15 02:07:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719603712001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:07:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:07:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784061253000,"timestamp_ms":1784061253000,"timestamp_seconds":1784061253,"priority":1,"record_length":96,"hex_timestamp":"0000019f62565588"} 
[2026-07-15 02:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:07:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 02:07:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:07:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":131942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":131942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":131942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719603712001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719603712001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:07:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:07:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:07:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719603712001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":131942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:07:13] local.INFO: GPS data processed {"connection_id":131942,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:07:13] local.INFO: Acknowledgment sent {"connection_id":131942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:07:19] local.INFO: TCP Data received {"connection_id":134325,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6257c0d00100000000000000000000000000..."} 
[2026-07-15 02:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6257c0d00100000000000000000000000000..."} 
[2026-07-15 02:07:19] local.INFO: Processing buffer {"connection_id":134325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6257c0d00100000000000000000000000000..."} 
[2026-07-15 02:07:19] local.INFO: Packet analysis {"connection_id":134325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6257"} 
[2026-07-15 02:07:19] local.INFO: Extracted packet for processing {"connection_id":134325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6257"} 
[2026-07-15 02:07:19] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:07:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719689728001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:07:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135962201981714432,"note":"Value kept but may cause issues"} 
[2026-07-15 02:07:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6168946353981491200,"note":"Value kept but may cause issues"} 
[2026-07-15 02:07:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:07:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784061346000,"timestamp_ms":1784061346000,"timestamp_seconds":1784061346,"priority":1,"record_length":96,"hex_timestamp":"0000019f6257c0d0"} 
[2026-07-15 02:07:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:07:19] 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-07-15 02: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 02:07:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:07:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:07:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:07:19] local.INFO: Teltonika packet parsed successfully {"connection_id":134325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:07:19] local.INFO: Passing IMEI to GPS processor {"connection_id":134325,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:07:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":134325,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:07:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:07:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:07:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:07:19] local.INFO: DEBUG: GPS processor result {"connection_id":134325,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 02:07:19] local.INFO: GPS data processed {"connection_id":134325,"processed":0,"errors":0,"total":1} 
[2026-07-15 02:07:19] local.INFO: Acknowledgment sent {"connection_id":134325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:07:42] local.INFO: TCP Data received {"connection_id":132119,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132119,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:07:42] local.INFO: Processing buffer {"connection_id":132119,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:07:42] local.INFO: IMEI packet received {"connection_id":132119,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 02:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":132119,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:07:45] local.INFO: TCP Data received {"connection_id":131942,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f62565588012d7f92c005afd830000000502a..."} 
[2026-07-15 02:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62565588012d7f92c005afd830000000502a..."} 
[2026-07-15 02:07:45] local.INFO: Processing buffer {"connection_id":131942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62565588012d7f92c005afd830000000502a..."} 
[2026-07-15 02:07:45] local.INFO: Packet analysis {"connection_id":131942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6256"} 
[2026-07-15 02:07:45] local.INFO: Extracted packet for processing {"connection_id":131942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6256"} 
[2026-07-15 02:07:45] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719603712001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784061253000,"timestamp_ms":1784061253000,"timestamp_seconds":1784061253,"priority":1,"record_length":96,"hex_timestamp":"0000019f62565588"} 
[2026-07-15 02:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:07:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 02:07:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:07:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:07:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719603712001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719603712001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:07:45] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:07:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719603712001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":131942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:07:45] local.INFO: GPS data processed {"connection_id":131942,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:07:45] local.INFO: Acknowledgment sent {"connection_id":131942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:07:46] local.INFO: TCP Data received {"connection_id":132119,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132119,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:07:46] local.INFO: Processing buffer {"connection_id":132119,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:07:46] local.INFO: IMEI packet received {"connection_id":132119,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 02:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":132119,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:07:47] local.INFO: TCP Data received {"connection_id":132119,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f625747b8012d553f80064423800003014e31..."} 
[2026-07-15 02:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f625747b8012d553f80064423800003014e31..."} 
[2026-07-15 02:07:47] local.INFO: Processing buffer {"connection_id":132119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f625747b8012d553f80064423800003014e31..."} 
[2026-07-15 02:07:47] local.INFO: Packet analysis {"connection_id":132119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6257"} 
[2026-07-15 02:07:47] local.INFO: Extracted packet for processing {"connection_id":132119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6257"} 
[2026-07-15 02:07:47] local.INFO: GPS Element Parsed {"raw_longitude":760561536,"raw_latitude":105128832,"longitude_deg":76.0561536,"latitude_deg":10.5128832,"altitude":3,"angle":334,"satellites":49,"speed":58,"hex_longitude":"2d553f80","hex_latitude":"06442380","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135962201981714432,"note":"Value kept but may cause issues"} 
[2026-07-15 02:07:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,176,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 02:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784061315000,"timestamp_ms":1784061315000,"timestamp_seconds":1784061315,"priority":1,"record_length":96,"hex_timestamp":"0000019f625747b8"} 
[2026-07-15 02:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:07:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 02: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-15 02:07:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:07:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":132119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":132119,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":132119,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:07:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28006,"176":206,"19":38144,"24":58,"16":135962201981714432},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,19,24,16]} 
[2026-07-15 02:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-15 02:07:47] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-15 02:07:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135962201981714432,"km_value":135962201981714.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:07:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28006,"unknown_176":206,"unknown_19":38144,"ignition":58,"odometer":null}} 
[2026-07-15 02:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":132119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489047,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:07:47] local.INFO: GPS data processed {"connection_id":132119,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:07:47] local.INFO: Acknowledgment sent {"connection_id":132119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:07:51] local.INFO: TCP Data received {"connection_id":132119,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f625799c0012d5517c0064473400008014e31..."} 
[2026-07-15 02:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f625799c0012d5517c0064473400008014e31..."} 
[2026-07-15 02:07:51] local.INFO: Processing buffer {"connection_id":132119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f625799c0012d5517c0064473400008014e31..."} 
[2026-07-15 02:07:51] local.INFO: Packet analysis {"connection_id":132119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6257"} 
[2026-07-15 02:07:51] local.INFO: Extracted packet for processing {"connection_id":132119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6257"} 
[2026-07-15 02:07:51] local.INFO: GPS Element Parsed {"raw_longitude":760551360,"raw_latitude":105149248,"longitude_deg":76.055136,"latitude_deg":10.5149248,"altitude":8,"angle":334,"satellites":49,"speed":0,"hex_longitude":"2d5517c0","hex_latitude":"06447340","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719696640001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135962201981714432,"note":"Value kept but may cause issues"} 
[2026-07-15 02:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6142769181157982208,"note":"Value kept but may cause issues"} 
[2026-07-15 02:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784061336000,"timestamp_ms":1784061336000,"timestamp_seconds":1784061336,"priority":1,"record_length":96,"hex_timestamp":"0000019f625799c0"} 
[2026-07-15 02:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 02: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 02:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":132119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":132119,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":132119,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719696640001,"66":27941,"176":206,"19":38144,"24":0,"16":135962201981714432,"45":6142769181157982208},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,19,24,16,45]} 
[2026-07-15 02:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719696640001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:07:51] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-15 02:07:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135962201981714432,"km_value":135962201981714.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":6142769181157982208,"description":"Unknown IO ID 45"} 
[2026-07-15 02:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719696640001,"power":27941,"unknown_176":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":6142769181157982208}} 
[2026-07-15 02:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":132119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489048,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:07:51] local.INFO: GPS data processed {"connection_id":132119,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:07:51] local.INFO: Acknowledgment sent {"connection_id":132119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:08:02] local.INFO: TCP Data received {"connection_id":131943,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:08:02] local.INFO: Processing buffer {"connection_id":131943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:08:02] local.INFO: IMEI packet received {"connection_id":131943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":131943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:08:07] local.INFO: TCP Data received {"connection_id":131943,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:08:07] local.INFO: Processing buffer {"connection_id":131943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:08:07] local.INFO: IMEI packet received {"connection_id":131943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":131943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:08:08] local.INFO: TCP Data received {"connection_id":131943,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f62565588012d7f92c005afd830000000502a..."} 
[2026-07-15 02:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62565588012d7f92c005afd830000000502a..."} 
[2026-07-15 02:08:08] local.INFO: Processing buffer {"connection_id":131943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62565588012d7f92c005afd830000000502a..."} 
[2026-07-15 02:08:08] local.INFO: Packet analysis {"connection_id":131943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6256"} 
[2026-07-15 02:08:08] local.INFO: Extracted packet for processing {"connection_id":131943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6256"} 
[2026-07-15 02:08:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719603712001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784061253000,"timestamp_ms":1784061253000,"timestamp_seconds":1784061253,"priority":1,"record_length":96,"hex_timestamp":"0000019f62565588"} 
[2026-07-15 02:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 02:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":131943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":131943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":131943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719603712001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719603712001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:08:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:08:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719603712001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":131943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:08:08] local.INFO: GPS data processed {"connection_id":131943,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:08:08] local.INFO: Acknowledgment sent {"connection_id":131943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:08:42] local.INFO: TCP Data received {"connection_id":131943,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f62565588012d7f92c005afd830000000502a..."} 
[2026-07-15 02:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62565588012d7f92c005afd830000000502a..."} 
[2026-07-15 02:08:42] local.INFO: Processing buffer {"connection_id":131943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62565588012d7f92c005afd830000000502a..."} 
[2026-07-15 02:08:42] local.INFO: Packet analysis {"connection_id":131943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6256"} 
[2026-07-15 02:08:42] local.INFO: Extracted packet for processing {"connection_id":131943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6256"} 
[2026-07-15 02:08:42] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719603712001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784061253000,"timestamp_ms":1784061253000,"timestamp_seconds":1784061253,"priority":1,"record_length":96,"hex_timestamp":"0000019f62565588"} 
[2026-07-15 02:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 02:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":131943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":131943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":131943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719603712001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719603712001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:08:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:08:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719603712001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":131943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:08:42] local.INFO: GPS data processed {"connection_id":131943,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:08:42] local.INFO: Acknowledgment sent {"connection_id":131943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:08:48] local.INFO: TCP Data received {"connection_id":132957,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132957,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:08:48] local.INFO: Processing buffer {"connection_id":132957,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:08:48] local.INFO: IMEI packet received {"connection_id":132957,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 02:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":132957,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:08:48] local.INFO: TCP Data received {"connection_id":132957,"ip":"117.224.100.59","data_length":51,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-15 02:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132957,"packet_length":51,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-15 02:08:48] local.INFO: Processing buffer {"connection_id":132957,"buffer_length":51,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-15 02:08:48] local.INFO: IMEI packet received {"connection_id":132957,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 02:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":132957,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:08:50] local.INFO: TCP Data received {"connection_id":132957,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62587c500100000000000000000000000000..."} 
[2026-07-15 02:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62587c500100000000000000000000000000..."} 
[2026-07-15 02:08:50] local.INFO: Processing buffer {"connection_id":132957,"buffer_length":829,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-15 02:08:50] local.INFO: IMEI packet received {"connection_id":132957,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 02:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":132957,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:08:51] local.INFO: TCP Data received {"connection_id":132957,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62580338012d54bf0006450a200007014831..."} 
[2026-07-15 02:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62580338012d54bf0006450a200007014831..."} 
[2026-07-15 02:08:51] local.INFO: Processing buffer {"connection_id":132957,"buffer_length":1607,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a0000019f62..."} 
[2026-07-15 02:08:51] local.INFO: IMEI packet received {"connection_id":132957,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 02:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":132957,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:08:55] local.INFO: TCP Data received {"connection_id":132957,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62585540012d54900006455cf80001014b31..."} 
[2026-07-15 02:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62585540012d54900006455cf80001014b31..."} 
[2026-07-15 02:08:55] local.INFO: Processing buffer {"connection_id":132957,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a0000019f62587c500100000000000000000000000000..."} 
[2026-07-15 02:08:55] local.INFO: Packet analysis {"connection_id":132957,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a0000019f6258"} 
[2026-07-15 02:08:55] local.INFO: Extracted packet for processing {"connection_id":132957,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f6258"} 
[2026-07-15 02:08:55] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719702016001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135962201981714432,"note":"Value kept but may cause issues"} 
[2026-07-15 02:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6131580550838960128,"note":"Value kept but may cause issues"} 
[2026-07-15 02:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784061394000,"timestamp_ms":1784061394000,"timestamp_seconds":1784061394,"priority":1,"record_length":96,"hex_timestamp":"0000019f62587c50"} 
[2026-07-15 02:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 02: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":109,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-15 02:08:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1076,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":132957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":132957,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":132957,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":132957,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 02:08:55] local.INFO: GPS data processed {"connection_id":132957,"processed":0,"errors":0,"total":1} 
[2026-07-15 02:08:55] local.INFO: Acknowledgment sent {"connection_id":132957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:08:55] local.INFO: Packet analysis {"connection_id":132957,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f6258"} 
[2026-07-15 02:08:55] local.INFO: Extracted packet for processing {"connection_id":132957,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6258"} 
[2026-07-15 02:08:55] local.INFO: GPS Element Parsed {"raw_longitude":760528640,"raw_latitude":105187872,"longitude_deg":76.052864,"latitude_deg":10.5187872,"altitude":7,"angle":328,"satellites":49,"speed":59,"hex_longitude":"2d54bf00","hex_latitude":"06450a20","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135962201981714432,"note":"Value kept but may cause issues"} 
[2026-07-15 02:08:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,176,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 02:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784061363000,"timestamp_ms":1784061363000,"timestamp_seconds":1784061363,"priority":1,"record_length":96,"hex_timestamp":"0000019f62580338"} 
[2026-07-15 02:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 02: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 02:08:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":132957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":132957,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":132957,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27832,"176":206,"19":38144,"24":59,"16":135962201981714432},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,19,24,16]} 
[2026-07-15 02:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-15 02:08:55] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-15 02:08:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135962201981714432,"km_value":135962201981714.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:08:55] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27832,"unknown_176":206,"unknown_19":38144,"ignition":59,"odometer":null}} 
[2026-07-15 02:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":132957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489051,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:08:55] local.INFO: GPS data processed {"connection_id":132957,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:08:55] local.INFO: Acknowledgment sent {"connection_id":132957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:08:55] local.INFO: Packet analysis {"connection_id":132957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6258"} 
[2026-07-15 02:08:55] local.INFO: Extracted packet for processing {"connection_id":132957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6258"} 
[2026-07-15 02:08:55] local.INFO: GPS Element Parsed {"raw_longitude":760516608,"raw_latitude":105209080,"longitude_deg":76.0516608,"latitude_deg":10.520908,"altitude":1,"angle":331,"satellites":49,"speed":0,"hex_longitude":"2d549000","hex_latitude":"06455cf8","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719708928001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135962201981714432,"note":"Value kept but may cause issues"} 
[2026-07-15 02:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6106599646665777152,"note":"Value kept but may cause issues"} 
[2026-07-15 02:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784061384000,"timestamp_ms":1784061384000,"timestamp_seconds":1784061384,"priority":1,"record_length":96,"hex_timestamp":"0000019f62585540"} 
[2026-07-15 02:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 02: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-15 02:08:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":132957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":132957,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":132957,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719708928001,"66":27821,"177":206,"19":38144,"24":0,"16":135962201981714432,"45":6106599646665777152},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-07-15 02:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719708928001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:08:55] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-15 02:08:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135962201981714432,"km_value":135962201981714.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":6106599646665777152,"description":"Unknown IO ID 45"} 
[2026-07-15 02:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719708928001,"power":27821,"unknown_177":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":6106599646665777152}} 
[2026-07-15 02:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":132957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489052,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:08:55] local.INFO: GPS data processed {"connection_id":132957,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:08:55] local.INFO: Acknowledgment sent {"connection_id":132957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:09:02] local.INFO: TCP Data received {"connection_id":132958,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:09:02] local.INFO: Processing buffer {"connection_id":132958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:09:02] local.INFO: IMEI packet received {"connection_id":132958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":132958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:09:07] local.INFO: TCP Data received {"connection_id":132958,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:09:07] local.INFO: Processing buffer {"connection_id":132958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:09:07] local.INFO: IMEI packet received {"connection_id":132958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":132958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:09:08] local.INFO: TCP Data received {"connection_id":132958,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f62565588012d7f92c005afd830000000502a..."} 
[2026-07-15 02:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62565588012d7f92c005afd830000000502a..."} 
[2026-07-15 02:09:08] local.INFO: Processing buffer {"connection_id":132958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62565588012d7f92c005afd830000000502a..."} 
[2026-07-15 02:09:08] local.INFO: Packet analysis {"connection_id":132958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6256"} 
[2026-07-15 02:09:08] local.INFO: Extracted packet for processing {"connection_id":132958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6256"} 
[2026-07-15 02:09:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719603712001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784061253000,"timestamp_ms":1784061253000,"timestamp_seconds":1784061253,"priority":1,"record_length":96,"hex_timestamp":"0000019f62565588"} 
[2026-07-15 02:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 02:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719603712001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719603712001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:09:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:09:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719603712001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":132958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:09:08] local.INFO: GPS data processed {"connection_id":132958,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:09:08] local.INFO: Acknowledgment sent {"connection_id":132958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:09:35] local.INFO: TCP Data received {"connection_id":132120,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132120,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:09:35] local.INFO: Processing buffer {"connection_id":132120,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:09:35] local.INFO: IMEI packet received {"connection_id":132120,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 02:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":132120,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:09:42] local.INFO: TCP Data received {"connection_id":132958,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f62565588012d7f92c005afd830000000502a..."} 
[2026-07-15 02:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62565588012d7f92c005afd830000000502a..."} 
[2026-07-15 02:09:42] local.INFO: Processing buffer {"connection_id":132958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62565588012d7f92c005afd830000000502a..."} 
[2026-07-15 02:09:42] local.INFO: Packet analysis {"connection_id":132958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6256"} 
[2026-07-15 02:09:42] local.INFO: Extracted packet for processing {"connection_id":132958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6256"} 
[2026-07-15 02:09:42] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719603712001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784061253000,"timestamp_ms":1784061253000,"timestamp_seconds":1784061253,"priority":1,"record_length":96,"hex_timestamp":"0000019f62565588"} 
[2026-07-15 02:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 02:09:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719603712001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719603712001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:09:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:09:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719603712001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":132958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:09:42] local.INFO: GPS data processed {"connection_id":132958,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:09:42] local.INFO: Acknowledgment sent {"connection_id":132958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:09:43] local.INFO: TCP Data received {"connection_id":132120,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132120,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:09:43] local.INFO: Processing buffer {"connection_id":132120,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:09:43] local.INFO: IMEI packet received {"connection_id":132120,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 02:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":132120,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:09:44] local.INFO: TCP Data received {"connection_id":132120,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f625937d00100000000000000000000000000..."} 
[2026-07-15 02:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f625937d00100000000000000000000000000..."} 
[2026-07-15 02:09:44] local.INFO: Processing buffer {"connection_id":132120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f625937d00100000000000000000000000000..."} 
[2026-07-15 02:09:44] local.INFO: Packet analysis {"connection_id":132120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6259"} 
[2026-07-15 02:09:44] local.INFO: Extracted packet for processing {"connection_id":132120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6259"} 
[2026-07-15 02:09:44] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-15 02:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719714304001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135962201981714432,"note":"Value kept but may cause issues"} 
[2026-07-15 02:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6093370322765805568,"note":"Value kept but may cause issues"} 
[2026-07-15 02:09:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784061442000,"timestamp_ms":1784061442000,"timestamp_seconds":1784061442,"priority":1,"record_length":96,"hex_timestamp":"0000019f625937d0"} 
[2026-07-15 02:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:09:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 02:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 02:09:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:09:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":132120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":132120,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":132120,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":132120,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 02:09:44] local.INFO: GPS data processed {"connection_id":132120,"processed":0,"errors":0,"total":1} 
[2026-07-15 02:09:44] local.INFO: Acknowledgment sent {"connection_id":132120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:10:05] local.INFO: TCP Data received {"connection_id":134326,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:10:05] local.INFO: Processing buffer {"connection_id":134326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:10:05] local.INFO: IMEI packet received {"connection_id":134326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":134326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:10:08] local.INFO: TCP Data received {"connection_id":134326,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:10:08] local.INFO: Processing buffer {"connection_id":134326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:10:08] local.INFO: IMEI packet received {"connection_id":134326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":134326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:10:09] local.INFO: TCP Data received {"connection_id":134326,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f625aed50012d7f92c005afd8300000005025..."} 
[2026-07-15 02:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f625aed50012d7f92c005afd8300000005025..."} 
[2026-07-15 02:10:09] local.INFO: Processing buffer {"connection_id":134326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f625aed50012d7f92c005afd8300000005025..."} 
[2026-07-15 02:10:09] local.INFO: Packet analysis {"connection_id":134326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f625a"} 
[2026-07-15 02:10:09] local.INFO: Extracted packet for processing {"connection_id":134326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f625a"} 
[2026-07-15 02:10:09] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719680768001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784061554000,"timestamp_ms":1784061554000,"timestamp_seconds":1784061554,"priority":1,"record_length":96,"hex_timestamp":"0000019f625aed50"} 
[2026-07-15 02:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 02:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:10:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":134326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":134326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":134326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719680768001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719680768001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:10:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:10:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719680768001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":134326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:10:09] local.INFO: GPS data processed {"connection_id":134326,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:10:09] local.INFO: Acknowledgment sent {"connection_id":134326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:10:12] local.INFO: TCP Data received {"connection_id":134326,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f625aed50012d7f92c005afd8300000005025..."} 
[2026-07-15 02:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f625aed50012d7f92c005afd8300000005025..."} 
[2026-07-15 02:10:12] local.INFO: Processing buffer {"connection_id":134326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f625aed50012d7f92c005afd8300000005025..."} 
[2026-07-15 02:10:12] local.INFO: Packet analysis {"connection_id":134326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f625a"} 
[2026-07-15 02:10:12] local.INFO: Extracted packet for processing {"connection_id":134326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f625a"} 
[2026-07-15 02:10:12] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719680768001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784061554000,"timestamp_ms":1784061554000,"timestamp_seconds":1784061554,"priority":1,"record_length":96,"hex_timestamp":"0000019f625aed50"} 
[2026-07-15 02:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 02:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":134326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":134326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":134326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719680768001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719680768001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:10:12] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:10:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719680768001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":134326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:10:12] local.INFO: GPS data processed {"connection_id":134326,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:10:12] local.INFO: Acknowledgment sent {"connection_id":134326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:10:43] local.INFO: TCP Data received {"connection_id":134326,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f625aed50012d7f92c005afd8300000005025..."} 
[2026-07-15 02:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f625aed50012d7f92c005afd8300000005025..."} 
[2026-07-15 02:10:43] local.INFO: Processing buffer {"connection_id":134326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f625aed50012d7f92c005afd8300000005025..."} 
[2026-07-15 02:10:43] local.INFO: Packet analysis {"connection_id":134326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f625a"} 
[2026-07-15 02:10:43] local.INFO: Extracted packet for processing {"connection_id":134326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f625a"} 
[2026-07-15 02:10:43] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719680768001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:10:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:10:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784061554000,"timestamp_ms":1784061554000,"timestamp_seconds":1784061554,"priority":1,"record_length":96,"hex_timestamp":"0000019f625aed50"} 
[2026-07-15 02:10:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:10:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 02:10:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:10:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:10:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":134326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":134326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":134326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:10:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719680768001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719680768001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:10:43] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:10:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:10:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719680768001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":134326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:10:43] local.INFO: GPS data processed {"connection_id":134326,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:10:43] local.INFO: Acknowledgment sent {"connection_id":134326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:10:44] local.INFO: TCP Data received {"connection_id":132120,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f625b2400012d53da00064812000003015e30..."} 
[2026-07-15 02:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f625b2400012d53da00064812000003015e30..."} 
[2026-07-15 02:10:44] local.INFO: Processing buffer {"connection_id":132120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f625b2400012d53da00064812000003015e30..."} 
[2026-07-15 02:10:44] local.INFO: Packet analysis {"connection_id":132120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f625b"} 
[2026-07-15 02:10:44] local.INFO: Extracted packet for processing {"connection_id":132120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f625b"} 
[2026-07-15 02:10:44] local.INFO: GPS Element Parsed {"raw_longitude":760470016,"raw_latitude":105386496,"longitude_deg":76.0470016,"latitude_deg":10.5386496,"altitude":3,"angle":350,"satellites":48,"speed":40,"hex_longitude":"2d53da00","hex_latitude":"06481200","is_valid_coordinates":true} 
[2026-07-15 02:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719758592001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135966960805478400,"note":"Value kept but may cause issues"} 
[2026-07-15 02:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042493720768303104,"note":"Value kept but may cause issues"} 
[2026-07-15 02:10:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784061568000,"timestamp_ms":1784061568000,"timestamp_seconds":1784061568,"priority":1,"record_length":96,"hex_timestamp":"0000019f625b2400"} 
[2026-07-15 02:10:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:10:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 02:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-15 02:10:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:10:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:10:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":132120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":132120,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":132120,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719758592001,"66":27821,"138":206,"19":38144,"24":40,"16":135966960805478400,"45":6042493720768303104},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,19,24,16,45]} 
[2026-07-15 02:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719758592001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:10:44] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-07-15 02:10:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135966960805478400,"km_value":135966960805478.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042493720768303104,"description":"Unknown IO ID 45"} 
[2026-07-15 02:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719758592001,"power":27821,"unknown_138":206,"unknown_19":38144,"ignition":40,"odometer":null,"unknown_45":6042493720768303104}} 
[2026-07-15 02:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":132120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489058,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:10:44] local.INFO: GPS data processed {"connection_id":132120,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:10:44] local.INFO: Acknowledgment sent {"connection_id":132120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:10:47] local.INFO: TCP Data received {"connection_id":132959,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132959,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:10:47] local.INFO: Processing buffer {"connection_id":132959,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:10:47] local.INFO: IMEI packet received {"connection_id":132959,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 02:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":132959,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:10:50] local.INFO: TCP Data received {"connection_id":132959,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132959,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:10:50] local.INFO: Processing buffer {"connection_id":132959,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:10:50] local.INFO: IMEI packet received {"connection_id":132959,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 02:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":132959,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:10:51] local.INFO: TCP Data received {"connection_id":132959,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132959,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:10:51] local.INFO: Processing buffer {"connection_id":132959,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:10:51] local.INFO: IMEI packet received {"connection_id":132959,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 02:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":132959,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:10:52] local.INFO: TCP Data received {"connection_id":132959,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f625b2400012d53da00064812000003015e30..."} 
[2026-07-15 02:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f625b2400012d53da00064812000003015e30..."} 
[2026-07-15 02:10:52] local.INFO: Processing buffer {"connection_id":132959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f625b2400012d53da00064812000003015e30..."} 
[2026-07-15 02:10:52] local.INFO: Packet analysis {"connection_id":132959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f625b"} 
[2026-07-15 02:10:52] local.INFO: Extracted packet for processing {"connection_id":132959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f625b"} 
[2026-07-15 02:10:52] local.INFO: GPS Element Parsed {"raw_longitude":760470016,"raw_latitude":105386496,"longitude_deg":76.0470016,"latitude_deg":10.5386496,"altitude":3,"angle":350,"satellites":48,"speed":40,"hex_longitude":"2d53da00","hex_latitude":"06481200","is_valid_coordinates":true} 
[2026-07-15 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-07-15 02:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719761408001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135966960805478400,"note":"Value kept but may cause issues"} 
[2026-07-15 02:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042141877049884672,"note":"Value kept but may cause issues"} 
[2026-07-15 02:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1784061568000,"timestamp_ms":1784061568000,"timestamp_seconds":1784061568,"priority":1,"record_length":96,"hex_timestamp":"0000019f625b2400"} 
[2026-07-15 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-07-15 02:10:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 02:10:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 02:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":132959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":132959,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":132959,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:10:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719761408001,"66":27821,"138":206,"19":38144,"24":40,"16":135966960805478400,"45":6042141877049884672},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,19,24,16,45]} 
[2026-07-15 02:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719761408001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:10:52] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-07-15 02:10:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135966960805478400,"km_value":135966960805478.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:10:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042141877049884672,"description":"Unknown IO ID 45"} 
[2026-07-15 02:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719761408001,"power":27821,"unknown_138":206,"unknown_19":38144,"ignition":40,"odometer":null,"unknown_45":6042141877049884672}} 
[2026-07-15 02:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":132959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489059,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:10:52] local.INFO: GPS data processed {"connection_id":132959,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:10:52] local.INFO: Acknowledgment sent {"connection_id":132959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:11:07] local.INFO: TCP Data received {"connection_id":132121,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:11:07] local.INFO: Processing buffer {"connection_id":132121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:11:07] local.INFO: IMEI packet received {"connection_id":132121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":132121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:11:12] local.INFO: TCP Data received {"connection_id":132121,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:11:12] local.INFO: Processing buffer {"connection_id":132121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:11:12] local.INFO: IMEI packet received {"connection_id":132121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":132121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:11:13] local.INFO: TCP Data received {"connection_id":132121,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f625aed50012d7f92c005afd8300000005025..."} 
[2026-07-15 02:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f625aed50012d7f92c005afd8300000005025..."} 
[2026-07-15 02:11:13] local.INFO: Processing buffer {"connection_id":132121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f625aed50012d7f92c005afd8300000005025..."} 
[2026-07-15 02:11:13] local.INFO: Packet analysis {"connection_id":132121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f625a"} 
[2026-07-15 02:11:13] local.INFO: Extracted packet for processing {"connection_id":132121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f625a"} 
[2026-07-15 02:11:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719680768001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:11:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784061554000,"timestamp_ms":1784061554000,"timestamp_seconds":1784061554,"priority":1,"record_length":96,"hex_timestamp":"0000019f625aed50"} 
[2026-07-15 02:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:11:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 02:11:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:11:13] 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-07-15 02:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719680768001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719680768001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:11:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:11:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719680768001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":132121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:11:13] local.INFO: GPS data processed {"connection_id":132121,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:11:13] local.INFO: Acknowledgment sent {"connection_id":132121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:11:18] local.INFO: TCP Data received {"connection_id":132121,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f625aed50012d7f92c005afd8300000005025..."} 
[2026-07-15 02:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f625aed50012d7f92c005afd8300000005025..."} 
[2026-07-15 02:11:18] local.INFO: Processing buffer {"connection_id":132121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f625aed50012d7f92c005afd8300000005025..."} 
[2026-07-15 02:11:18] local.INFO: Packet analysis {"connection_id":132121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f625a"} 
[2026-07-15 02:11:18] local.INFO: Extracted packet for processing {"connection_id":132121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f625a"} 
[2026-07-15 02:11:18] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719680768001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:11:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:11:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784061554000,"timestamp_ms":1784061554000,"timestamp_seconds":1784061554,"priority":1,"record_length":96,"hex_timestamp":"0000019f625aed50"} 
[2026-07-15 02:11:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:11:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 02:11:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:11:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":132121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":132121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":132121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:11:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719680768001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719680768001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:11:18] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:11:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:11:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:11:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:11:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719680768001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":132121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:11:18] local.INFO: GPS data processed {"connection_id":132121,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:11:18] local.INFO: Acknowledgment sent {"connection_id":132121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:11:39] local.INFO: TCP Data received {"connection_id":134327,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134327,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:11:39] local.INFO: Processing buffer {"connection_id":134327,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:11:39] local.INFO: IMEI packet received {"connection_id":134327,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 02:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":134327,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:11:40] local.INFO: TCP Data received {"connection_id":134327,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134327,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:11:40] local.INFO: Processing buffer {"connection_id":134327,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:11:40] local.INFO: IMEI packet received {"connection_id":134327,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 02:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":134327,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:11:45] local.INFO: TCP Data received {"connection_id":134327,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134327,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:11:45] local.INFO: Processing buffer {"connection_id":134327,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:11:45] local.INFO: IMEI packet received {"connection_id":134327,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 02:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":134327,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:11:46] local.INFO: TCP Data received {"connection_id":134327,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f625b4728012d53d240064835880004015932..."} 
[2026-07-15 02:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f625b4728012d53d240064835880004015932..."} 
[2026-07-15 02:11:46] local.INFO: Processing buffer {"connection_id":134327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f625b4728012d53d240064835880004015932..."} 
[2026-07-15 02:11:46] local.INFO: Packet analysis {"connection_id":134327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f625b"} 
[2026-07-15 02:11:46] local.INFO: Extracted packet for processing {"connection_id":134327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f625b"} 
[2026-07-15 02:11:46] local.INFO: GPS Element Parsed {"raw_longitude":760468032,"raw_latitude":105395592,"longitude_deg":76.0468032,"latitude_deg":10.5395592,"altitude":4,"angle":345,"satellites":50,"speed":41,"hex_longitude":"2d53d240","hex_latitude":"06483588","is_valid_coordinates":true} 
[2026-07-15 02:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719761408001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135967411777044480,"note":"Value kept but may cause issues"} 
[2026-07-15 02:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042141877049884672,"note":"Value kept but may cause issues"} 
[2026-07-15 02:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784061577000,"timestamp_ms":1784061577000,"timestamp_seconds":1784061577,"priority":1,"record_length":96,"hex_timestamp":"0000019f625b4728"} 
[2026-07-15 02:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:11:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 02:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 02:11:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:11:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":134327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":134327,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":134327,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:11:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719761408001,"66":27821,"138":206,"19":38144,"24":41,"16":135967411777044480,"45":6042141877049884672},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,19,24,16,45]} 
[2026-07-15 02:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719761408001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:11:46] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-07-15 02:11:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135967411777044480,"km_value":135967411777044.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042141877049884672,"description":"Unknown IO ID 45"} 
[2026-07-15 02:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719761408001,"power":27821,"unknown_138":206,"unknown_19":38144,"ignition":41,"odometer":null,"unknown_45":6042141877049884672}} 
[2026-07-15 02:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":134327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489062,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:11:47] local.INFO: GPS data processed {"connection_id":134327,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:11:47] local.INFO: Acknowledgment sent {"connection_id":134327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:11:48] local.INFO: TCP Data received {"connection_id":134327,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f625b6a50012d53c5c006485810000601502f..."} 
[2026-07-15 02:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f625b6a50012d53c5c006485810000601502f..."} 
[2026-07-15 02:11:48] local.INFO: Processing buffer {"connection_id":134327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f625b6a50012d53c5c006485810000601502f..."} 
[2026-07-15 02:11:48] local.INFO: Packet analysis {"connection_id":134327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f625b"} 
[2026-07-15 02:11:48] local.INFO: Extracted packet for processing {"connection_id":134327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f625b"} 
[2026-07-15 02:11:48] local.INFO: GPS Element Parsed {"raw_longitude":760464832,"raw_latitude":105404432,"longitude_deg":76.0464832,"latitude_deg":10.5404432,"altitude":6,"angle":336,"satellites":47,"speed":41,"hex_longitude":"2d53c5c0","hex_latitude":"06485810","is_valid_coordinates":true} 
[2026-07-15 02:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:11:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719763712001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:11:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135967867043577856,"note":"Value kept but may cause issues"} 
[2026-07-15 02:11:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6039960445982705664,"note":"Value kept but may cause issues"} 
[2026-07-15 02:11:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:11:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784061586000,"timestamp_ms":1784061586000,"timestamp_seconds":1784061586,"priority":1,"record_length":96,"hex_timestamp":"0000019f625b6a50"} 
[2026-07-15 02:11:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:11: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-07-15 02:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 02:11:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:11:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:11:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:11:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:11:48] local.INFO: Teltonika packet parsed successfully {"connection_id":134327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:11:48] local.INFO: Passing IMEI to GPS processor {"connection_id":134327,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:11:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":134327,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:11:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:11:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:11:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:11:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719763712001,"66":27821,"138":206,"19":38144,"24":41,"16":135967867043577856,"45":6039960445982705664},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,19,24,16,45]} 
[2026-07-15 02:11:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:11:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:11:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719763712001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:11:48] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-07-15 02:11:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:11:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135967867043577856,"km_value":135967867043577.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:11:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6039960445982705664,"description":"Unknown IO ID 45"} 
[2026-07-15 02:11:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719763712001,"power":27821,"unknown_138":206,"unknown_19":38144,"ignition":41,"odometer":null,"unknown_45":6039960445982705664}} 
[2026-07-15 02:11:49] local.INFO: DEBUG: GPS processor result {"connection_id":134327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489063,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:11:49] local.INFO: GPS data processed {"connection_id":134327,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:11:49] local.INFO: Acknowledgment sent {"connection_id":134327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:12:02] local.INFO: TCP Data received {"connection_id":131944,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:12:02] local.INFO: Processing buffer {"connection_id":131944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:12:02] local.INFO: IMEI packet received {"connection_id":131944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":131944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:12:07] local.INFO: TCP Data received {"connection_id":131944,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:12:07] local.INFO: Processing buffer {"connection_id":131944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:12:07] local.INFO: IMEI packet received {"connection_id":131944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":131944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:12:08] local.INFO: TCP Data received {"connection_id":131944,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f625aed50012d7f92c005afd8300000005025..."} 
[2026-07-15 02:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f625aed50012d7f92c005afd8300000005025..."} 
[2026-07-15 02:12:08] local.INFO: Processing buffer {"connection_id":131944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f625aed50012d7f92c005afd8300000005025..."} 
[2026-07-15 02:12:08] local.INFO: Packet analysis {"connection_id":131944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f625a"} 
[2026-07-15 02:12:08] local.INFO: Extracted packet for processing {"connection_id":131944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f625a"} 
[2026-07-15 02:12:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719680768001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784061554000,"timestamp_ms":1784061554000,"timestamp_seconds":1784061554,"priority":1,"record_length":96,"hex_timestamp":"0000019f625aed50"} 
[2026-07-15 02:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:12:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 02:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:12:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":131944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":131944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":131944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719680768001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719680768001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:12:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:12:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719680768001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":131944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:12:08] local.INFO: GPS data processed {"connection_id":131944,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:12:08] local.INFO: Acknowledgment sent {"connection_id":131944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:12:21] local.INFO: TCP Data received {"connection_id":134327,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f625ce150012d52bf000649f1e00000013a30..."} 
[2026-07-15 02:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f625ce150012d52bf000649f1e00000013a30..."} 
[2026-07-15 02:12:21] local.INFO: Processing buffer {"connection_id":134327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f625ce150012d52bf000649f1e00000013a30..."} 
[2026-07-15 02:12:21] local.INFO: Packet analysis {"connection_id":134327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f625c"} 
[2026-07-15 02:12:21] local.INFO: Extracted packet for processing {"connection_id":134327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f625c"} 
[2026-07-15 02:12:21] local.INFO: GPS Element Parsed {"raw_longitude":760397568,"raw_latitude":105509344,"longitude_deg":76.0397568,"latitude_deg":10.5509344,"altitude":0,"angle":314,"satellites":48,"speed":55,"hex_longitude":"2d52bf00","hex_latitude":"0649f1e0","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719788800001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135973918652497920,"note":"Value kept but may cause issues"} 
[2026-07-15 02:12:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5969943545553305600,"note":"Value kept but may cause issues"} 
[2026-07-15 02:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1784061682000,"timestamp_ms":1784061682000,"timestamp_seconds":1784061682,"priority":1,"record_length":96,"hex_timestamp":"0000019f625ce150"} 
[2026-07-15 02:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:12:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 02: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 02:12:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":134327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":134327,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":134327,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719788800001,"66":27941,"87":206,"19":38144,"24":55,"16":135973918652497920,"45":5969943545553305600},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,19,24,16,45]} 
[2026-07-15 02:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719788800001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:12:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-07-15 02:12:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135973918652497920,"km_value":135973918652497.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:12:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5969943545553305600,"description":"Unknown IO ID 45"} 
[2026-07-15 02:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719788800001,"power":27941,"unknown_87":206,"unknown_19":38144,"ignition":55,"odometer":null,"unknown_45":5969943545553305600}} 
[2026-07-15 02:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":134327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489065,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:12:21] local.INFO: GPS data processed {"connection_id":134327,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:12:21] local.INFO: Acknowledgment sent {"connection_id":134327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:12:39] local.INFO: TCP Data received {"connection_id":131944,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f625aed50012d7f92c005afd8300000005025..."} 
[2026-07-15 02:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f625aed50012d7f92c005afd8300000005025..."} 
[2026-07-15 02:12:39] local.INFO: Processing buffer {"connection_id":131944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f625aed50012d7f92c005afd8300000005025..."} 
[2026-07-15 02:12:39] local.INFO: Packet analysis {"connection_id":131944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f625a"} 
[2026-07-15 02:12:39] local.INFO: Extracted packet for processing {"connection_id":131944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f625a"} 
[2026-07-15 02:12:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719680768001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784061554000,"timestamp_ms":1784061554000,"timestamp_seconds":1784061554,"priority":1,"record_length":96,"hex_timestamp":"0000019f625aed50"} 
[2026-07-15 02:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:12:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 02:12:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:12:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":131944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":131944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":131944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719680768001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719680768001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:12:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:12:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719680768001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":131944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:12:39] local.INFO: GPS data processed {"connection_id":131944,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:12:39] local.INFO: Acknowledgment sent {"connection_id":131944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:13:02] local.INFO: TCP Data received {"connection_id":132960,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:13:02] local.INFO: Processing buffer {"connection_id":132960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:13:02] local.INFO: IMEI packet received {"connection_id":132960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":132960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:13:07] local.INFO: TCP Data received {"connection_id":132960,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:13:07] local.INFO: Processing buffer {"connection_id":132960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:13:07] local.INFO: IMEI packet received {"connection_id":132960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":132960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:13:08] local.INFO: TCP Data received {"connection_id":132960,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f625aed50012d7f92c005afd8300000005025..."} 
[2026-07-15 02:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f625aed50012d7f92c005afd8300000005025..."} 
[2026-07-15 02:13:08] local.INFO: Processing buffer {"connection_id":132960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f625aed50012d7f92c005afd8300000005025..."} 
[2026-07-15 02:13:08] local.INFO: Packet analysis {"connection_id":132960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f625a"} 
[2026-07-15 02:13:08] local.INFO: Extracted packet for processing {"connection_id":132960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f625a"} 
[2026-07-15 02:13:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719680768001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784061554000,"timestamp_ms":1784061554000,"timestamp_seconds":1784061554,"priority":1,"record_length":96,"hex_timestamp":"0000019f625aed50"} 
[2026-07-15 02:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 02:13:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719680768001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719680768001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:13:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:13:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719680768001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":132960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:13:08] local.INFO: GPS data processed {"connection_id":132960,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:13:08] local.INFO: Acknowledgment sent {"connection_id":132960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:13:16] local.INFO: TCP Data received {"connection_id":131945,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131945,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:13:16] local.INFO: Processing buffer {"connection_id":131945,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:13:16] local.INFO: IMEI packet received {"connection_id":131945,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 02:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":131945,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:13:16] local.INFO: TCP Data received {"connection_id":131945,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131945,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:13:16] local.INFO: Processing buffer {"connection_id":131945,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:13:16] local.INFO: IMEI packet received {"connection_id":131945,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 02:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":131945,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:13:39] local.INFO: TCP Data received {"connection_id":132960,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f625aed50012d7f92c005afd8300000005025..."} 
[2026-07-15 02:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f625aed50012d7f92c005afd8300000005025..."} 
[2026-07-15 02:13:39] local.INFO: Processing buffer {"connection_id":132960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f625aed50012d7f92c005afd8300000005025..."} 
[2026-07-15 02:13:39] local.INFO: Packet analysis {"connection_id":132960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f625a"} 
[2026-07-15 02:13:39] local.INFO: Extracted packet for processing {"connection_id":132960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f625a"} 
[2026-07-15 02:13:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719680768001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784061554000,"timestamp_ms":1784061554000,"timestamp_seconds":1784061554,"priority":1,"record_length":96,"hex_timestamp":"0000019f625aed50"} 
[2026-07-15 02:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:13:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 02:13:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:13:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:13:39] 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-07-15 02:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719680768001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719680768001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:13:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:13:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719680768001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":132960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:13:39] local.INFO: GPS data processed {"connection_id":132960,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:13:39] local.INFO: Acknowledgment sent {"connection_id":132960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:13:41] local.INFO: TCP Data received {"connection_id":132961,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132961,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:13:41] local.INFO: Processing buffer {"connection_id":132961,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:13:41] local.INFO: IMEI packet received {"connection_id":132961,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 02:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":132961,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:13:43] local.INFO: TCP Data received {"connection_id":132961,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132961,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:13:43] local.INFO: Processing buffer {"connection_id":132961,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:13:43] local.INFO: IMEI packet received {"connection_id":132961,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 02:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":132961,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:14:02] local.INFO: TCP Data received {"connection_id":134328,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:14:02] local.INFO: Processing buffer {"connection_id":134328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:14:02] local.INFO: IMEI packet received {"connection_id":134328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":134328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:14:07] local.INFO: TCP Data received {"connection_id":134328,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:14:07] local.INFO: Processing buffer {"connection_id":134328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:14:07] local.INFO: IMEI packet received {"connection_id":134328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":134328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:14:08] local.INFO: TCP Data received {"connection_id":134328,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f625aed50012d7f92c005afd8300000005025..."} 
[2026-07-15 02:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f625aed50012d7f92c005afd8300000005025..."} 
[2026-07-15 02:14:08] local.INFO: Processing buffer {"connection_id":134328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f625aed50012d7f92c005afd8300000005025..."} 
[2026-07-15 02:14:08] local.INFO: Packet analysis {"connection_id":134328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f625a"} 
[2026-07-15 02:14:08] local.INFO: Extracted packet for processing {"connection_id":134328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f625a"} 
[2026-07-15 02:14:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719680768001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:14:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784061554000,"timestamp_ms":1784061554000,"timestamp_seconds":1784061554,"priority":1,"record_length":96,"hex_timestamp":"0000019f625aed50"} 
[2026-07-15 02:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:14:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 02:14:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:14:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719680768001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719680768001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:14:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:14:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719680768001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":134328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:14:08] local.INFO: GPS data processed {"connection_id":134328,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:14:08] local.INFO: Acknowledgment sent {"connection_id":134328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:14:39] local.INFO: TCP Data received {"connection_id":134328,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f625aed50012d7f92c005afd8300000005025..."} 
[2026-07-15 02:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f625aed50012d7f92c005afd8300000005025..."} 
[2026-07-15 02:14:39] local.INFO: Processing buffer {"connection_id":134328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f625aed50012d7f92c005afd8300000005025..."} 
[2026-07-15 02:14:39] local.INFO: Packet analysis {"connection_id":134328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f625a"} 
[2026-07-15 02:14:39] local.INFO: Extracted packet for processing {"connection_id":134328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f625a"} 
[2026-07-15 02:14:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719680768001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784061554000,"timestamp_ms":1784061554000,"timestamp_seconds":1784061554,"priority":1,"record_length":96,"hex_timestamp":"0000019f625aed50"} 
[2026-07-15 02:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:14:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 02:14:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:14:39] 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-07-15 02:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719680768001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719680768001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:14:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:14:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719680768001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":134328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:14:39] local.INFO: GPS data processed {"connection_id":134328,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:14:39] local.INFO: Acknowledgment sent {"connection_id":134328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:15:02] local.INFO: TCP Data received {"connection_id":132962,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:15:02] local.INFO: Processing buffer {"connection_id":132962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:15:02] local.INFO: IMEI packet received {"connection_id":132962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":132962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:15:07] local.INFO: TCP Data received {"connection_id":132962,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:15:07] local.INFO: Processing buffer {"connection_id":132962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:15:07] local.INFO: IMEI packet received {"connection_id":132962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":132962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:15:08] local.INFO: TCP Data received {"connection_id":132962,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f625f8518012d7f92c005afd830000000502a..."} 
[2026-07-15 02:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f625f8518012d7f92c005afd830000000502a..."} 
[2026-07-15 02:15:08] local.INFO: Processing buffer {"connection_id":132962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f625f8518012d7f92c005afd830000000502a..."} 
[2026-07-15 02:15:08] local.INFO: Packet analysis {"connection_id":132962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f625f"} 
[2026-07-15 02:15:08] local.INFO: Extracted packet for processing {"connection_id":132962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f625f"} 
[2026-07-15 02:15:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719757824001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784061855000,"timestamp_ms":1784061855000,"timestamp_seconds":1784061855,"priority":1,"record_length":96,"hex_timestamp":"0000019f625f8518"} 
[2026-07-15 02:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 02:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719757824001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719757824001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:15:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:15:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719757824001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":132962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:15:08] local.INFO: GPS data processed {"connection_id":132962,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:15:08] local.INFO: Acknowledgment sent {"connection_id":132962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:15:39] local.INFO: TCP Data received {"connection_id":132962,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f625f8518012d7f92c005afd830000000502a..."} 
[2026-07-15 02:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f625f8518012d7f92c005afd830000000502a..."} 
[2026-07-15 02:15:39] local.INFO: Processing buffer {"connection_id":132962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f625f8518012d7f92c005afd830000000502a..."} 
[2026-07-15 02:15:39] local.INFO: Packet analysis {"connection_id":132962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f625f"} 
[2026-07-15 02:15:39] local.INFO: Extracted packet for processing {"connection_id":132962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f625f"} 
[2026-07-15 02:15:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719757824001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784061855000,"timestamp_ms":1784061855000,"timestamp_seconds":1784061855,"priority":1,"record_length":96,"hex_timestamp":"0000019f625f8518"} 
[2026-07-15 02:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 02:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:15:39] 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-07-15 02:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719757824001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719757824001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:15:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:15:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719757824001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":132962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:15:39] local.INFO: GPS data processed {"connection_id":132962,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:15:39] local.INFO: Acknowledgment sent {"connection_id":132962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:16:02] local.INFO: TCP Data received {"connection_id":134329,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:16:02] local.INFO: Processing buffer {"connection_id":134329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:16:02] local.INFO: IMEI packet received {"connection_id":134329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":134329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:16:07] local.INFO: TCP Data received {"connection_id":134329,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:16:07] local.INFO: Processing buffer {"connection_id":134329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:16:07] local.INFO: IMEI packet received {"connection_id":134329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":134329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:16:08] local.INFO: TCP Data received {"connection_id":134329,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f625f8518012d7f92c005afd830000000502a..."} 
[2026-07-15 02:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f625f8518012d7f92c005afd830000000502a..."} 
[2026-07-15 02:16:08] local.INFO: Processing buffer {"connection_id":134329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f625f8518012d7f92c005afd830000000502a..."} 
[2026-07-15 02:16:08] local.INFO: Packet analysis {"connection_id":134329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f625f"} 
[2026-07-15 02:16:08] local.INFO: Extracted packet for processing {"connection_id":134329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f625f"} 
[2026-07-15 02:16:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719757824001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784061855000,"timestamp_ms":1784061855000,"timestamp_seconds":1784061855,"priority":1,"record_length":96,"hex_timestamp":"0000019f625f8518"} 
[2026-07-15 02:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 02:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:16:08] 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-07-15 02:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719757824001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719757824001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:16:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:16:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719757824001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":134329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:16:08] local.INFO: GPS data processed {"connection_id":134329,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:16:08] local.INFO: Acknowledgment sent {"connection_id":134329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:16:39] local.INFO: TCP Data received {"connection_id":134329,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f625f8518012d7f92c005afd830000000502a..."} 
[2026-07-15 02:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f625f8518012d7f92c005afd830000000502a..."} 
[2026-07-15 02:16:39] local.INFO: Processing buffer {"connection_id":134329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f625f8518012d7f92c005afd830000000502a..."} 
[2026-07-15 02:16:39] local.INFO: Packet analysis {"connection_id":134329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f625f"} 
[2026-07-15 02:16:39] local.INFO: Extracted packet for processing {"connection_id":134329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f625f"} 
[2026-07-15 02:16:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719757824001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784061855000,"timestamp_ms":1784061855000,"timestamp_seconds":1784061855,"priority":1,"record_length":96,"hex_timestamp":"0000019f625f8518"} 
[2026-07-15 02:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 02:16:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:16:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:16: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-07-15 02:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719757824001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719757824001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:16:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:16:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719757824001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":134329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:16:39] local.INFO: GPS data processed {"connection_id":134329,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:16:39] local.INFO: Acknowledgment sent {"connection_id":134329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:17:02] local.INFO: TCP Data received {"connection_id":132964,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:17:02] local.INFO: Processing buffer {"connection_id":132964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:17:02] local.INFO: IMEI packet received {"connection_id":132964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":132964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:17:07] local.INFO: TCP Data received {"connection_id":132964,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:17:07] local.INFO: Processing buffer {"connection_id":132964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:17:07] local.INFO: IMEI packet received {"connection_id":132964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":132964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:17:08] local.INFO: TCP Data received {"connection_id":132964,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f625f8518012d7f92c005afd830000000502a..."} 
[2026-07-15 02:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f625f8518012d7f92c005afd830000000502a..."} 
[2026-07-15 02:17:08] local.INFO: Processing buffer {"connection_id":132964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f625f8518012d7f92c005afd830000000502a..."} 
[2026-07-15 02:17:08] local.INFO: Packet analysis {"connection_id":132964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f625f"} 
[2026-07-15 02:17:08] local.INFO: Extracted packet for processing {"connection_id":132964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f625f"} 
[2026-07-15 02:17:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719757824001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784061855000,"timestamp_ms":1784061855000,"timestamp_seconds":1784061855,"priority":1,"record_length":96,"hex_timestamp":"0000019f625f8518"} 
[2026-07-15 02:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 02:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719757824001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719757824001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:17:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:17:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719757824001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":132964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:17:08] local.INFO: GPS data processed {"connection_id":132964,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:17:08] local.INFO: Acknowledgment sent {"connection_id":132964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:17:42] local.INFO: TCP Data received {"connection_id":132964,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f625f8518012d7f92c005afd830000000502a..."} 
[2026-07-15 02:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f625f8518012d7f92c005afd830000000502a..."} 
[2026-07-15 02:17:42] local.INFO: Processing buffer {"connection_id":132964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f625f8518012d7f92c005afd830000000502a..."} 
[2026-07-15 02:17:42] local.INFO: Packet analysis {"connection_id":132964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f625f"} 
[2026-07-15 02:17:42] local.INFO: Extracted packet for processing {"connection_id":132964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f625f"} 
[2026-07-15 02:17:42] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719757824001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784061855000,"timestamp_ms":1784061855000,"timestamp_seconds":1784061855,"priority":1,"record_length":96,"hex_timestamp":"0000019f625f8518"} 
[2026-07-15 02:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 02:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719757824001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719757824001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:17:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:17:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719757824001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":132964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:17:42] local.INFO: GPS data processed {"connection_id":132964,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:17:42] local.INFO: Acknowledgment sent {"connection_id":132964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:18:02] local.INFO: TCP Data received {"connection_id":132122,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:18:02] local.INFO: Processing buffer {"connection_id":132122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:18:02] local.INFO: IMEI packet received {"connection_id":132122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":132122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:18:07] local.INFO: TCP Data received {"connection_id":132122,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:18:07] local.INFO: Processing buffer {"connection_id":132122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:18:07] local.INFO: IMEI packet received {"connection_id":132122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":132122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:18:08] local.INFO: TCP Data received {"connection_id":132122,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f625f8518012d7f92c005afd830000000502a..."} 
[2026-07-15 02:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f625f8518012d7f92c005afd830000000502a..."} 
[2026-07-15 02:18:08] local.INFO: Processing buffer {"connection_id":132122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f625f8518012d7f92c005afd830000000502a..."} 
[2026-07-15 02:18:08] local.INFO: Packet analysis {"connection_id":132122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f625f"} 
[2026-07-15 02:18:08] local.INFO: Extracted packet for processing {"connection_id":132122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f625f"} 
[2026-07-15 02:18:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719757824001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784061855000,"timestamp_ms":1784061855000,"timestamp_seconds":1784061855,"priority":1,"record_length":96,"hex_timestamp":"0000019f625f8518"} 
[2026-07-15 02:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 02:18:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719757824001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719757824001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:18:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:18:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719757824001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":132122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:18:08] local.INFO: GPS data processed {"connection_id":132122,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:18:08] local.INFO: Acknowledgment sent {"connection_id":132122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:18:39] local.INFO: TCP Data received {"connection_id":132122,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f625f8518012d7f92c005afd830000000502a..."} 
[2026-07-15 02:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f625f8518012d7f92c005afd830000000502a..."} 
[2026-07-15 02:18:39] local.INFO: Processing buffer {"connection_id":132122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f625f8518012d7f92c005afd830000000502a..."} 
[2026-07-15 02:18:39] local.INFO: Packet analysis {"connection_id":132122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f625f"} 
[2026-07-15 02:18:39] local.INFO: Extracted packet for processing {"connection_id":132122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f625f"} 
[2026-07-15 02:18:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719757824001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784061855000,"timestamp_ms":1784061855000,"timestamp_seconds":1784061855,"priority":1,"record_length":96,"hex_timestamp":"0000019f625f8518"} 
[2026-07-15 02:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:18:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 02:18:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:18:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719757824001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719757824001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:18:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:18:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719757824001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":132122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:18:39] local.INFO: GPS data processed {"connection_id":132122,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:18:39] local.INFO: Acknowledgment sent {"connection_id":132122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:18:46] local.INFO: TCP Data received {"connection_id":132965,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132965,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:18:46] local.INFO: Processing buffer {"connection_id":132965,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:18:46] local.INFO: IMEI packet received {"connection_id":132965,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 02:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":132965,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:18:49] local.INFO: TCP Data received {"connection_id":132965,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6261cf08012d50d2c0064d95000000014d2f..."} 
[2026-07-15 02:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6261cf08012d50d2c0064d95000000014d2f..."} 
[2026-07-15 02:18:49] local.INFO: Processing buffer {"connection_id":132965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6261cf08012d50d2c0064d95000000014d2f..."} 
[2026-07-15 02:18:49] local.INFO: Packet analysis {"connection_id":132965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6261"} 
[2026-07-15 02:18:49] local.INFO: Extracted packet for processing {"connection_id":132965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6261"} 
[2026-07-15 02:18:49] local.INFO: GPS Element Parsed {"raw_longitude":760271552,"raw_latitude":105747712,"longitude_deg":76.0271552,"latitude_deg":10.5747712,"altitude":0,"angle":333,"satellites":47,"speed":23,"hex_longitude":"2d50d2c0","hex_latitude":"064d9500","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719869440001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135987087022227456,"note":"Value kept but may cause issues"} 
[2026-07-15 02:18:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5828361632328491008,"note":"Value kept but may cause issues"} 
[2026-07-15 02:18:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1784062005000,"timestamp_ms":1784062005000,"timestamp_seconds":1784062005,"priority":1,"record_length":96,"hex_timestamp":"0000019f6261cf08"} 
[2026-07-15 02:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:18:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 02: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-15 02:18:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":132965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":132965,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":132965,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:18:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719869440001,"66":27745,"34":206,"19":38144,"24":23,"16":135987087022227456,"45":5828361632328491008},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-07-15 02:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719869440001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:18:49] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-15 02:18:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135987087022227456,"km_value":135987087022227.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:18:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5828361632328491008,"description":"Unknown IO ID 45"} 
[2026-07-15 02:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719869440001,"power":27745,"unknown_34":206,"unknown_19":38144,"ignition":23,"odometer":null,"unknown_45":5828361632328491008}} 
[2026-07-15 02:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":132965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489079,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:18:49] local.INFO: GPS data processed {"connection_id":132965,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:18:49] local.INFO: Acknowledgment sent {"connection_id":132965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:19:02] local.INFO: TCP Data received {"connection_id":134332,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:19:02] local.INFO: Processing buffer {"connection_id":134332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:19:02] local.INFO: IMEI packet received {"connection_id":134332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":134332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:19:07] local.INFO: TCP Data received {"connection_id":134332,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:19:07] local.INFO: Processing buffer {"connection_id":134332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:19:07] local.INFO: IMEI packet received {"connection_id":134332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":134332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:19:08] local.INFO: TCP Data received {"connection_id":134332,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f625f8518012d7f92c005afd830000000502a..."} 
[2026-07-15 02:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f625f8518012d7f92c005afd830000000502a..."} 
[2026-07-15 02:19:08] local.INFO: Processing buffer {"connection_id":134332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f625f8518012d7f92c005afd830000000502a..."} 
[2026-07-15 02:19:08] local.INFO: Packet analysis {"connection_id":134332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f625f"} 
[2026-07-15 02:19:08] local.INFO: Extracted packet for processing {"connection_id":134332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f625f"} 
[2026-07-15 02:19:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719757824001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784061855000,"timestamp_ms":1784061855000,"timestamp_seconds":1784061855,"priority":1,"record_length":96,"hex_timestamp":"0000019f625f8518"} 
[2026-07-15 02:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 02:19:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719757824001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719757824001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:19:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:19:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719757824001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":134332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:19:08] local.INFO: GPS data processed {"connection_id":134332,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:19:08] local.INFO: Acknowledgment sent {"connection_id":134332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:19:20] local.INFO: TCP Data received {"connection_id":132965,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62620d88012d50bec0064db3d00000014232..."} 
[2026-07-15 02:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62620d88012d50bec0064db3d00000014232..."} 
[2026-07-15 02:19:20] local.INFO: Processing buffer {"connection_id":132965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62620d88012d50bec0064db3d00000014232..."} 
[2026-07-15 02:19:20] local.INFO: Packet analysis {"connection_id":132965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6262"} 
[2026-07-15 02:19:20] local.INFO: Extracted packet for processing {"connection_id":132965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6262"} 
[2026-07-15 02:19:20] local.INFO: GPS Element Parsed {"raw_longitude":760266432,"raw_latitude":105755600,"longitude_deg":76.0266432,"latitude_deg":10.57556,"altitude":0,"angle":322,"satellites":50,"speed":26,"hex_longitude":"2d50bec0","hex_latitude":"064db3d0","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719873280001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135987537993793536,"note":"Value kept but may cause issues"} 
[2026-07-15 02:19:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5823928401447419904,"note":"Value kept but may cause issues"} 
[2026-07-15 02:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1784062021000,"timestamp_ms":1784062021000,"timestamp_seconds":1784062021,"priority":1,"record_length":96,"hex_timestamp":"0000019f62620d88"} 
[2026-07-15 02:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:19:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 02:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-15 02:19:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":132965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":132965,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":132965,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:19:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719873280001,"66":27908,"34":206,"19":38144,"24":26,"16":135987537993793536,"45":5823928401447419904},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-07-15 02:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719873280001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:19:20] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-15 02:19:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135987537993793536,"km_value":135987537993793.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:19:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5823928401447419904,"description":"Unknown IO ID 45"} 
[2026-07-15 02:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719873280001,"power":27908,"unknown_34":206,"unknown_19":38144,"ignition":26,"odometer":null,"unknown_45":5823928401447419904}} 
[2026-07-15 02:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":132965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489081,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:19:20] local.INFO: GPS data processed {"connection_id":132965,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:19:20] local.INFO: Acknowledgment sent {"connection_id":132965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:19:36] local.INFO: TCP Data received {"connection_id":132123,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132123,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:19:36] local.INFO: Processing buffer {"connection_id":132123,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:19:36] local.INFO: IMEI packet received {"connection_id":132123,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 02:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":132123,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:19:41] local.INFO: TCP Data received {"connection_id":132123,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132123,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:19:41] local.INFO: Processing buffer {"connection_id":132123,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:19:41] local.INFO: IMEI packet received {"connection_id":132123,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 02:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":132123,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:19:42] local.INFO: TCP Data received {"connection_id":134332,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f625f8518012d7f92c005afd830000000502a..."} 
[2026-07-15 02:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f625f8518012d7f92c005afd830000000502a..."} 
[2026-07-15 02:19:42] local.INFO: Processing buffer {"connection_id":134332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f625f8518012d7f92c005afd830000000502a..."} 
[2026-07-15 02:19:42] local.INFO: Packet analysis {"connection_id":134332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f625f"} 
[2026-07-15 02:19:42] local.INFO: Extracted packet for processing {"connection_id":134332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f625f"} 
[2026-07-15 02:19:42] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719757824001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784061855000,"timestamp_ms":1784061855000,"timestamp_seconds":1784061855,"priority":1,"record_length":96,"hex_timestamp":"0000019f625f8518"} 
[2026-07-15 02:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 02:19:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":134332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":134332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":134332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:19:42] 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-07-15 02:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719757824001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719757824001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:19:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:19:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719757824001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":134332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:19:42] local.INFO: GPS data processed {"connection_id":134332,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:19:42] local.INFO: Acknowledgment sent {"connection_id":134332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:19:45] local.INFO: TCP Data received {"connection_id":132123,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62620d88012d50bec0064db3d00000014232..."} 
[2026-07-15 02:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62620d88012d50bec0064db3d00000014232..."} 
[2026-07-15 02:19:45] local.INFO: Processing buffer {"connection_id":132123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62620d88012d50bec0064db3d00000014232..."} 
[2026-07-15 02:19:45] local.INFO: Packet analysis {"connection_id":132123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6262"} 
[2026-07-15 02:19:45] local.INFO: Extracted packet for processing {"connection_id":132123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6262"} 
[2026-07-15 02:19:45] local.INFO: GPS Element Parsed {"raw_longitude":760266432,"raw_latitude":105755600,"longitude_deg":76.0266432,"latitude_deg":10.57556,"altitude":0,"angle":322,"satellites":50,"speed":26,"hex_longitude":"2d50bec0","hex_latitude":"064db3d0","is_valid_coordinates":true} 
[2026-07-15 02:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719877376001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135987537993793536,"note":"Value kept but may cause issues"} 
[2026-07-15 02:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5818298901915226112,"note":"Value kept but may cause issues"} 
[2026-07-15 02:19:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784062021000,"timestamp_ms":1784062021000,"timestamp_seconds":1784062021,"priority":1,"record_length":96,"hex_timestamp":"0000019f62620d88"} 
[2026-07-15 02:19:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:19:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 02:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 02:19:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:19:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:19:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":132123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":132123,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":132123,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:19:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719877376001,"66":27908,"34":206,"19":38144,"24":26,"16":135987537993793536,"45":5818298901915226112},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-07-15 02:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719877376001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:19:45] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-15 02:19:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135987537993793536,"km_value":135987537993793.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:19:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":5818298901915226112,"description":"Unknown IO ID 45"} 
[2026-07-15 02:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719877376001,"power":27908,"unknown_34":206,"unknown_19":38144,"ignition":26,"odometer":null,"unknown_45":5818298901915226112}} 
[2026-07-15 02:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":132123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489083,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:19:45] local.INFO: GPS data processed {"connection_id":132123,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:19:45] local.INFO: Acknowledgment sent {"connection_id":132123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:19:49] local.INFO: TCP Data received {"connection_id":132123,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62624c08012d50a9c0064dd1980000014d2d..."} 
[2026-07-15 02:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62624c08012d50a9c0064dd1980000014d2d..."} 
[2026-07-15 02:19:49] local.INFO: Processing buffer {"connection_id":132123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62624c08012d50a9c0064dd1980000014d2d..."} 
[2026-07-15 02:19:49] local.INFO: Packet analysis {"connection_id":132123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6262"} 
[2026-07-15 02:19:49] local.INFO: Extracted packet for processing {"connection_id":132123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6262"} 
[2026-07-15 02:19:49] local.INFO: GPS Element Parsed {"raw_longitude":760261056,"raw_latitude":105763224,"longitude_deg":76.0261056,"latitude_deg":10.5763224,"altitude":0,"angle":333,"satellites":45,"speed":24,"hex_longitude":"2d50a9c0","hex_latitude":"064dd198","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719877376001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135987988965359616,"note":"Value kept but may cause issues"} 
[2026-07-15 02:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5818298901915226112,"note":"Value kept but may cause issues"} 
[2026-07-15 02:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1784062037000,"timestamp_ms":1784062037000,"timestamp_seconds":1784062037,"priority":1,"record_length":96,"hex_timestamp":"0000019f62624c08"} 
[2026-07-15 02:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:19: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-07-15 02: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 02:19:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":132123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":132123,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":132123,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719877376001,"66":27952,"34":206,"19":38144,"24":24,"16":135987988965359616,"45":5818298901915226112},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-07-15 02:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719877376001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:19:49] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-15 02:19:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135987988965359616,"km_value":135987988965359.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5818298901915226112,"description":"Unknown IO ID 45"} 
[2026-07-15 02:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719877376001,"power":27952,"unknown_34":206,"unknown_19":38144,"ignition":24,"odometer":null,"unknown_45":5818298901915226112}} 
[2026-07-15 02:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":132123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489084,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:19:49] local.INFO: GPS data processed {"connection_id":132123,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:19:49] local.INFO: Acknowledgment sent {"connection_id":132123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:20:02] local.INFO: TCP Data received {"connection_id":132966,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:20:02] local.INFO: Processing buffer {"connection_id":132966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:20:02] local.INFO: IMEI packet received {"connection_id":132966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":132966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:20:07] local.INFO: TCP Data received {"connection_id":132966,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:20:07] local.INFO: Processing buffer {"connection_id":132966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:20:07] local.INFO: IMEI packet received {"connection_id":132966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":132966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:20:08] local.INFO: TCP Data received {"connection_id":132966,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f62641ce0012d7f92c005afd830000000502a..."} 
[2026-07-15 02:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62641ce0012d7f92c005afd830000000502a..."} 
[2026-07-15 02:20:08] local.INFO: Processing buffer {"connection_id":132966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62641ce0012d7f92c005afd830000000502a..."} 
[2026-07-15 02:20:08] local.INFO: Packet analysis {"connection_id":132966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6264"} 
[2026-07-15 02:20:08] local.INFO: Extracted packet for processing {"connection_id":132966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6264"} 
[2026-07-15 02:20:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719834880001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784062156000,"timestamp_ms":1784062156000,"timestamp_seconds":1784062156,"priority":1,"record_length":96,"hex_timestamp":"0000019f62641ce0"} 
[2026-07-15 02:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 02:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:20:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719834880001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719834880001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:20:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:20:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719834880001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":132966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:20:08] local.INFO: GPS data processed {"connection_id":132966,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:20:08] local.INFO: Acknowledgment sent {"connection_id":132966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:20:21] local.INFO: TCP Data received {"connection_id":132123,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62649dc80100000000000000000000000000..."} 
[2026-07-15 02:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62649dc80100000000000000000000000000..."} 
[2026-07-15 02:20:21] local.INFO: Processing buffer {"connection_id":132123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62649dc80100000000000000000000000000..."} 
[2026-07-15 02:20:21] local.INFO: Packet analysis {"connection_id":132123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6264"} 
[2026-07-15 02:20:21] local.INFO: Extracted packet for processing {"connection_id":132123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6264"} 
[2026-07-15 02:20:21] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-15 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-07-15 02:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719905536001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135990497226260480,"note":"Value kept but may cause issues"} 
[2026-07-15 02:20:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5779173880164892672,"note":"Value kept but may cause issues"} 
[2026-07-15 02:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1784062189000,"timestamp_ms":1784062189000,"timestamp_seconds":1784062189,"priority":1,"record_length":96,"hex_timestamp":"0000019f62649dc8"} 
[2026-07-15 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-07-15 02:20:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-15 02:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 02:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":132123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":132123,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":132123,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:20:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":132123,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 02:20:21] local.INFO: GPS data processed {"connection_id":132123,"processed":0,"errors":0,"total":1} 
[2026-07-15 02:20:21] local.INFO: Acknowledgment sent {"connection_id":132123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:20:36] local.INFO: TCP Data received {"connection_id":132967,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132967,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:20:36] local.INFO: Processing buffer {"connection_id":132967,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:20:36] local.INFO: IMEI packet received {"connection_id":132967,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 02:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":132967,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:20:39] local.INFO: TCP Data received {"connection_id":132966,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f62641ce0012d7f92c005afd830000000502a..."} 
[2026-07-15 02:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62641ce0012d7f92c005afd830000000502a..."} 
[2026-07-15 02:20:39] local.INFO: Processing buffer {"connection_id":132966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62641ce0012d7f92c005afd830000000502a..."} 
[2026-07-15 02:20:39] local.INFO: Packet analysis {"connection_id":132966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6264"} 
[2026-07-15 02:20:39] local.INFO: Extracted packet for processing {"connection_id":132966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6264"} 
[2026-07-15 02:20:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719834880001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784062156000,"timestamp_ms":1784062156000,"timestamp_seconds":1784062156,"priority":1,"record_length":96,"hex_timestamp":"0000019f62641ce0"} 
[2026-07-15 02:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:20:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 02:20:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719834880001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719834880001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:20:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:20:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719834880001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":132966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:20:39] local.INFO: GPS data processed {"connection_id":132966,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:20:39] local.INFO: Acknowledgment sent {"connection_id":132966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:20:41] local.INFO: TCP Data received {"connection_id":132967,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132967,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:20:41] local.INFO: Processing buffer {"connection_id":132967,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:20:41] local.INFO: IMEI packet received {"connection_id":132967,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 02:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":132967,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:20:42] local.INFO: TCP Data received {"connection_id":132967,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f626420c8012d500b80064e5500000f00e430..."} 
[2026-07-15 02:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f626420c8012d500b80064e5500000f00e430..."} 
[2026-07-15 02:20:42] local.INFO: Processing buffer {"connection_id":132967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f626420c8012d500b80064e5500000f00e430..."} 
[2026-07-15 02:20:42] local.INFO: Packet analysis {"connection_id":132967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6264"} 
[2026-07-15 02:20:42] local.INFO: Extracted packet for processing {"connection_id":132967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6264"} 
[2026-07-15 02:20:42] local.INFO: GPS Element Parsed {"raw_longitude":760220544,"raw_latitude":105796864,"longitude_deg":76.0220544,"latitude_deg":10.5796864,"altitude":15,"angle":228,"satellites":48,"speed":8,"hex_longitude":"2d500b80","hex_latitude":"064e5500","is_valid_coordinates":true} 
[2026-07-15 02:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135990497226260480,"note":"Value kept but may cause issues"} 
[2026-07-15 02:20:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,35,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 02:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784062157000,"timestamp_ms":1784062157000,"timestamp_seconds":1784062157,"priority":1,"record_length":96,"hex_timestamp":"0000019f626420c8"} 
[2026-07-15 02:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 02:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 02:20:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132967,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132967,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28224,"35":206,"19":38144,"24":8,"16":135990497226260480},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16]} 
[2026-07-15 02:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-15 02:20:42] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-15 02:20:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135990497226260480,"km_value":135990497226260.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:20:42] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28224,"unknown_35":206,"unknown_19":38144,"ignition":8,"odometer":null}} 
[2026-07-15 02:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":132967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489087,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:20:42] local.INFO: GPS data processed {"connection_id":132967,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:20:42] local.INFO: Acknowledgment sent {"connection_id":132967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:21:02] local.INFO: TCP Data received {"connection_id":134333,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:21:02] local.INFO: Processing buffer {"connection_id":134333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:21:02] local.INFO: IMEI packet received {"connection_id":134333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":134333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:21:07] local.INFO: TCP Data received {"connection_id":134333,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:21:07] local.INFO: Processing buffer {"connection_id":134333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:21:07] local.INFO: IMEI packet received {"connection_id":134333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":134333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:21:08] local.INFO: TCP Data received {"connection_id":134333,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f62641ce0012d7f92c005afd830000000502a..."} 
[2026-07-15 02:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62641ce0012d7f92c005afd830000000502a..."} 
[2026-07-15 02:21:08] local.INFO: Processing buffer {"connection_id":134333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62641ce0012d7f92c005afd830000000502a..."} 
[2026-07-15 02:21:08] local.INFO: Packet analysis {"connection_id":134333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6264"} 
[2026-07-15 02:21:08] local.INFO: Extracted packet for processing {"connection_id":134333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6264"} 
[2026-07-15 02:21:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719834880001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784062156000,"timestamp_ms":1784062156000,"timestamp_seconds":1784062156,"priority":1,"record_length":96,"hex_timestamp":"0000019f62641ce0"} 
[2026-07-15 02:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 02:21:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:21:08] 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-07-15 02:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719834880001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719834880001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:21:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:21:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719834880001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":134333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:21:08] local.INFO: GPS data processed {"connection_id":134333,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:21:08] local.INFO: Acknowledgment sent {"connection_id":134333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:21:14] local.INFO: TCP Data received {"connection_id":132967,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f626472d0012d500b80064e5500000f00e430..."} 
[2026-07-15 02:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f626472d0012d500b80064e5500000f00e430..."} 
[2026-07-15 02:21:14] local.INFO: Processing buffer {"connection_id":132967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f626472d0012d500b80064e5500000f00e430..."} 
[2026-07-15 02:21:14] local.INFO: Packet analysis {"connection_id":132967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6264"} 
[2026-07-15 02:21:14] local.INFO: Extracted packet for processing {"connection_id":132967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6264"} 
[2026-07-15 02:21:14] local.INFO: GPS Element Parsed {"raw_longitude":760220544,"raw_latitude":105796864,"longitude_deg":76.0220544,"latitude_deg":10.5796864,"altitude":15,"angle":228,"satellites":48,"speed":0,"hex_longitude":"2d500b80","hex_latitude":"064e5500","is_valid_coordinates":true} 
[2026-07-15 02:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:21:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719912192001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:21:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135990497226260480,"note":"Value kept but may cause issues"} 
[2026-07-15 02:21:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5767844512350404608,"note":"Value kept but may cause issues"} 
[2026-07-15 02:21:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:21:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784062178000,"timestamp_ms":1784062178000,"timestamp_seconds":1784062178,"priority":1,"record_length":96,"hex_timestamp":"0000019f626472d0"} 
[2026-07-15 02:21:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:21:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 02:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-07-15 02:21:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:21:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:21:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:21:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":132967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":132967,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":132967,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:21:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:21:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:21:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:21:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719912192001,"66":28148,"35":206,"19":38144,"24":0,"16":135990497226260480,"45":5767844512350404608},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-07-15 02:21:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:21:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:21:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719912192001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:21:14] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-15 02:21:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:21:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135990497226260480,"km_value":135990497226260.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:21:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5767844512350404608,"description":"Unknown IO ID 45"} 
[2026-07-15 02:21:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719912192001,"power":28148,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5767844512350404608}} 
[2026-07-15 02:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":132967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489089,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:21:14] local.INFO: GPS data processed {"connection_id":132967,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:21:14] local.INFO: Acknowledgment sent {"connection_id":132967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:21:35] local.INFO: TCP Data received {"connection_id":132124,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132124,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:21:35] local.INFO: Processing buffer {"connection_id":132124,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:21:35] local.INFO: IMEI packet received {"connection_id":132124,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 02:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":132124,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:21:40] local.INFO: TCP Data received {"connection_id":132124,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132124,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:21:41] local.INFO: Processing buffer {"connection_id":132124,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:21:41] local.INFO: IMEI packet received {"connection_id":132124,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 02:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":132124,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:21:41] local.INFO: TCP Data received {"connection_id":132124,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62649dc8012d500b80064e5500000f00e430..."} 
[2026-07-15 02:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62649dc8012d500b80064e5500000f00e430..."} 
[2026-07-15 02:21:41] local.INFO: Processing buffer {"connection_id":132124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62649dc8012d500b80064e5500000f00e430..."} 
[2026-07-15 02:21:41] local.INFO: Packet analysis {"connection_id":132124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6264"} 
[2026-07-15 02:21:41] local.INFO: Extracted packet for processing {"connection_id":132124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6264"} 
[2026-07-15 02:21:41] local.INFO: GPS Element Parsed {"raw_longitude":760220544,"raw_latitude":105796864,"longitude_deg":76.0220544,"latitude_deg":10.5796864,"altitude":15,"angle":228,"satellites":48,"speed":0,"hex_longitude":"2d500b80","hex_latitude":"064e5500","is_valid_coordinates":true} 
[2026-07-15 02:21: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-07-15 02:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719917568001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135990497226260480,"note":"Value kept but may cause issues"} 
[2026-07-15 02:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5767844512350404608,"note":"Value kept but may cause issues"} 
[2026-07-15 02:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784062189000,"timestamp_ms":1784062189000,"timestamp_seconds":1784062189,"priority":1,"record_length":96,"hex_timestamp":"0000019f62649dc8"} 
[2026-07-15 02:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 02:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-07-15 02:21:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132124,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132124,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719917568001,"66":28256,"35":206,"19":38144,"24":0,"16":135990497226260480,"45":5767844512350404608},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-07-15 02:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719917568001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:21:41] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-15 02:21:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135990497226260480,"km_value":135990497226260.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":5767844512350404608,"description":"Unknown IO ID 45"} 
[2026-07-15 02:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719917568001,"power":28256,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5767844512350404608}} 
[2026-07-15 02:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":132124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489090,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:21:41] local.INFO: GPS data processed {"connection_id":132124,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:21:41] local.INFO: Acknowledgment sent {"connection_id":132124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:21:42] local.INFO: TCP Data received {"connection_id":134333,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f62641ce0012d7f92c005afd830000000502a..."} 
[2026-07-15 02:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62641ce0012d7f92c005afd830000000502a..."} 
[2026-07-15 02:21:42] local.INFO: Processing buffer {"connection_id":134333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62641ce0012d7f92c005afd830000000502a..."} 
[2026-07-15 02:21:42] local.INFO: Packet analysis {"connection_id":134333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6264"} 
[2026-07-15 02:21:42] local.INFO: Extracted packet for processing {"connection_id":134333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6264"} 
[2026-07-15 02:21:42] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719834880001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784062156000,"timestamp_ms":1784062156000,"timestamp_seconds":1784062156,"priority":1,"record_length":96,"hex_timestamp":"0000019f62641ce0"} 
[2026-07-15 02:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 02:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":134333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":134333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":134333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:21:42] 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-07-15 02:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719834880001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719834880001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:21:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:21:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719834880001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":134333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:21:42] local.INFO: GPS data processed {"connection_id":134333,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:21:42] local.INFO: Acknowledgment sent {"connection_id":134333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:22:02] local.INFO: TCP Data received {"connection_id":132968,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:22:02] local.INFO: Processing buffer {"connection_id":132968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:22:02] local.INFO: IMEI packet received {"connection_id":132968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":132968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:22:07] local.INFO: TCP Data received {"connection_id":132968,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:22:07] local.INFO: Processing buffer {"connection_id":132968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:22:07] local.INFO: IMEI packet received {"connection_id":132968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":132968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:22:08] local.INFO: TCP Data received {"connection_id":132968,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f62641ce0012d7f92c005afd830000000502a..."} 
[2026-07-15 02:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62641ce0012d7f92c005afd830000000502a..."} 
[2026-07-15 02:22:08] local.INFO: Processing buffer {"connection_id":132968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62641ce0012d7f92c005afd830000000502a..."} 
[2026-07-15 02:22:08] local.INFO: Packet analysis {"connection_id":132968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6264"} 
[2026-07-15 02:22:08] local.INFO: Extracted packet for processing {"connection_id":132968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6264"} 
[2026-07-15 02:22:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719834880001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784062156000,"timestamp_ms":1784062156000,"timestamp_seconds":1784062156,"priority":1,"record_length":96,"hex_timestamp":"0000019f62641ce0"} 
[2026-07-15 02:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 02:22:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719834880001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719834880001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:22:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:22:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719834880001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":132968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:22:08] local.INFO: GPS data processed {"connection_id":132968,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:22:08] local.INFO: Acknowledgment sent {"connection_id":132968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:22:13] local.INFO: TCP Data received {"connection_id":132124,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62649dc8012d500b80064e5500000f00e430..."} 
[2026-07-15 02:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62649dc8012d500b80064e5500000f00e430..."} 
[2026-07-15 02:22:13] local.INFO: Processing buffer {"connection_id":132124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62649dc8012d500b80064e5500000f00e430..."} 
[2026-07-15 02:22:13] local.INFO: Packet analysis {"connection_id":132124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6264"} 
[2026-07-15 02:22:13] local.INFO: Extracted packet for processing {"connection_id":132124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6264"} 
[2026-07-15 02:22:13] local.INFO: GPS Element Parsed {"raw_longitude":760220544,"raw_latitude":105796864,"longitude_deg":76.0220544,"latitude_deg":10.5796864,"altitude":15,"angle":228,"satellites":48,"speed":0,"hex_longitude":"2d500b80","hex_latitude":"064e5500","is_valid_coordinates":true} 
[2026-07-15 02:22:13] 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-07-15 02:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719917568001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135990497226260480,"note":"Value kept but may cause issues"} 
[2026-07-15 02:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5767844512350404608,"note":"Value kept but may cause issues"} 
[2026-07-15 02:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784062189000,"timestamp_ms":1784062189000,"timestamp_seconds":1784062189,"priority":1,"record_length":96,"hex_timestamp":"0000019f62649dc8"} 
[2026-07-15 02:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:22:13] 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-07-15 02: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":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-07-15 02:22:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132124,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132124,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:22:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719917568001,"66":28256,"35":206,"19":38144,"24":0,"16":135990497226260480,"45":5767844512350404608},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-07-15 02:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719917568001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:22:13] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-15 02:22:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135990497226260480,"km_value":135990497226260.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5767844512350404608,"description":"Unknown IO ID 45"} 
[2026-07-15 02:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719917568001,"power":28256,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5767844512350404608}} 
[2026-07-15 02:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":132124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489093,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:22:13] local.INFO: GPS data processed {"connection_id":132124,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:22:13] local.INFO: Acknowledgment sent {"connection_id":132124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:22:36] local.INFO: TCP Data received {"connection_id":132969,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132969,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:22:36] local.INFO: Processing buffer {"connection_id":132969,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:22:36] local.INFO: IMEI packet received {"connection_id":132969,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 02:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":132969,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:22:39] local.INFO: TCP Data received {"connection_id":132968,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f62641ce0012d7f92c005afd830000000502a..."} 
[2026-07-15 02:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62641ce0012d7f92c005afd830000000502a..."} 
[2026-07-15 02:22:39] local.INFO: Processing buffer {"connection_id":132968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62641ce0012d7f92c005afd830000000502a..."} 
[2026-07-15 02:22:39] local.INFO: Packet analysis {"connection_id":132968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6264"} 
[2026-07-15 02:22:39] local.INFO: Extracted packet for processing {"connection_id":132968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6264"} 
[2026-07-15 02:22:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719834880001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784062156000,"timestamp_ms":1784062156000,"timestamp_seconds":1784062156,"priority":1,"record_length":96,"hex_timestamp":"0000019f62641ce0"} 
[2026-07-15 02:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 02:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719834880001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719834880001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:22:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:22:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719834880001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":132968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:22:39] local.INFO: GPS data processed {"connection_id":132968,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:22:39] local.INFO: Acknowledgment sent {"connection_id":132968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:22:41] local.INFO: TCP Data received {"connection_id":132969,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132969,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:22:41] local.INFO: Processing buffer {"connection_id":132969,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:22:41] local.INFO: IMEI packet received {"connection_id":132969,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 02:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":132969,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:22:43] local.INFO: TCP Data received {"connection_id":132969,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62649dc8012d500b80064e5500000f00e430..."} 
[2026-07-15 02:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62649dc8012d500b80064e5500000f00e430..."} 
[2026-07-15 02:22:43] local.INFO: Processing buffer {"connection_id":132969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62649dc8012d500b80064e5500000f00e430..."} 
[2026-07-15 02:22:43] local.INFO: Packet analysis {"connection_id":132969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6264"} 
[2026-07-15 02:22:43] local.INFO: Extracted packet for processing {"connection_id":132969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6264"} 
[2026-07-15 02:22:43] local.INFO: GPS Element Parsed {"raw_longitude":760220544,"raw_latitude":105796864,"longitude_deg":76.0220544,"latitude_deg":10.5796864,"altitude":15,"angle":228,"satellites":48,"speed":0,"hex_longitude":"2d500b80","hex_latitude":"064e5500","is_valid_coordinates":true} 
[2026-07-15 02:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719917568001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135990497226260480,"note":"Value kept but may cause issues"} 
[2026-07-15 02:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5767844512350404608,"note":"Value kept but may cause issues"} 
[2026-07-15 02:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784062189000,"timestamp_ms":1784062189000,"timestamp_seconds":1784062189,"priority":1,"record_length":96,"hex_timestamp":"0000019f62649dc8"} 
[2026-07-15 02:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:22:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 02:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-07-15 02:22:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:22:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":132969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":132969,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":132969,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719917568001,"66":28256,"35":206,"19":38144,"24":0,"16":135990497226260480,"45":5767844512350404608},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-07-15 02:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719917568001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:22:43] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-15 02:22:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135990497226260480,"km_value":135990497226260.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5767844512350404608,"description":"Unknown IO ID 45"} 
[2026-07-15 02:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719917568001,"power":28256,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5767844512350404608}} 
[2026-07-15 02:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":132969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489095,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:22:43] local.INFO: GPS data processed {"connection_id":132969,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:22:43] local.INFO: Acknowledgment sent {"connection_id":132969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:23:02] local.INFO: TCP Data received {"connection_id":134334,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:23:02] local.INFO: Processing buffer {"connection_id":134334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:23:02] local.INFO: IMEI packet received {"connection_id":134334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":134334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:23:07] local.INFO: TCP Data received {"connection_id":134334,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:23:07] local.INFO: Processing buffer {"connection_id":134334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:23:07] local.INFO: IMEI packet received {"connection_id":134334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":134334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:23:08] local.INFO: TCP Data received {"connection_id":134334,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f62641ce0012d7f92c005afd830000000502a..."} 
[2026-07-15 02:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62641ce0012d7f92c005afd830000000502a..."} 
[2026-07-15 02:23:08] local.INFO: Processing buffer {"connection_id":134334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62641ce0012d7f92c005afd830000000502a..."} 
[2026-07-15 02:23:08] local.INFO: Packet analysis {"connection_id":134334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6264"} 
[2026-07-15 02:23:08] local.INFO: Extracted packet for processing {"connection_id":134334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6264"} 
[2026-07-15 02:23:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719834880001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784062156000,"timestamp_ms":1784062156000,"timestamp_seconds":1784062156,"priority":1,"record_length":96,"hex_timestamp":"0000019f62641ce0"} 
[2026-07-15 02:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 02:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719834880001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719834880001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:23:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:23:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719834880001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":134334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:23:08] local.INFO: GPS data processed {"connection_id":134334,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:23:08] local.INFO: Acknowledgment sent {"connection_id":134334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:23:15] local.INFO: TCP Data received {"connection_id":132969,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62649dc8012d500b80064e5500000f00e430..."} 
[2026-07-15 02:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62649dc8012d500b80064e5500000f00e430..."} 
[2026-07-15 02:23:15] local.INFO: Processing buffer {"connection_id":132969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62649dc8012d500b80064e5500000f00e430..."} 
[2026-07-15 02:23:15] local.INFO: Packet analysis {"connection_id":132969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6264"} 
[2026-07-15 02:23:15] local.INFO: Extracted packet for processing {"connection_id":132969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6264"} 
[2026-07-15 02:23:15] local.INFO: GPS Element Parsed {"raw_longitude":760220544,"raw_latitude":105796864,"longitude_deg":76.0220544,"latitude_deg":10.5796864,"altitude":15,"angle":228,"satellites":48,"speed":0,"hex_longitude":"2d500b80","hex_latitude":"064e5500","is_valid_coordinates":true} 
[2026-07-15 02:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719917568001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135990497226260480,"note":"Value kept but may cause issues"} 
[2026-07-15 02:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5767844512350404608,"note":"Value kept but may cause issues"} 
[2026-07-15 02:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784062189000,"timestamp_ms":1784062189000,"timestamp_seconds":1784062189,"priority":1,"record_length":96,"hex_timestamp":"0000019f62649dc8"} 
[2026-07-15 02:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:23:15] 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-07-15 02:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-07-15 02:23:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":132969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":132969,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":132969,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719917568001,"66":28256,"35":206,"19":38144,"24":0,"16":135990497226260480,"45":5767844512350404608},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-07-15 02:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719917568001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:23:15] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-15 02:23:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135990497226260480,"km_value":135990497226260.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":5767844512350404608,"description":"Unknown IO ID 45"} 
[2026-07-15 02:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719917568001,"power":28256,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5767844512350404608}} 
[2026-07-15 02:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":132969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489097,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:23:15] local.INFO: GPS data processed {"connection_id":132969,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:23:15] local.INFO: Acknowledgment sent {"connection_id":132969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:23:36] local.INFO: TCP Data received {"connection_id":131947,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131947,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:23:36] local.INFO: Processing buffer {"connection_id":131947,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:23:36] local.INFO: IMEI packet received {"connection_id":131947,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 02:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":131947,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:23:41] local.INFO: TCP Data received {"connection_id":131947,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131947,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:23:41] local.INFO: Processing buffer {"connection_id":131947,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:23:41] local.INFO: IMEI packet received {"connection_id":131947,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 02:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":131947,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:23:42] local.INFO: TCP Data received {"connection_id":134334,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f62641ce0012d7f92c005afd830000000502a..."} 
[2026-07-15 02:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62641ce0012d7f92c005afd830000000502a..."} 
[2026-07-15 02:23:42] local.INFO: Processing buffer {"connection_id":134334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62641ce0012d7f92c005afd830000000502a..."} 
[2026-07-15 02:23:42] local.INFO: Packet analysis {"connection_id":134334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6264"} 
[2026-07-15 02:23:42] local.INFO: Extracted packet for processing {"connection_id":134334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6264"} 
[2026-07-15 02:23:42] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719834880001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784062156000,"timestamp_ms":1784062156000,"timestamp_seconds":1784062156,"priority":1,"record_length":96,"hex_timestamp":"0000019f62641ce0"} 
[2026-07-15 02:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 02:23:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":134334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":134334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":134334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719834880001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719834880001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:23:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:23:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719834880001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":134334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:23:42] local.INFO: GPS data processed {"connection_id":134334,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:23:42] local.INFO: Acknowledgment sent {"connection_id":134334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:23:42] local.INFO: TCP Data received {"connection_id":131947,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62649dc8012d500b80064e5500000f00e430..."} 
[2026-07-15 02:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62649dc8012d500b80064e5500000f00e430..."} 
[2026-07-15 02:23:42] local.INFO: Processing buffer {"connection_id":131947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62649dc8012d500b80064e5500000f00e430..."} 
[2026-07-15 02:23:42] local.INFO: Packet analysis {"connection_id":131947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6264"} 
[2026-07-15 02:23:42] local.INFO: Extracted packet for processing {"connection_id":131947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6264"} 
[2026-07-15 02:23:42] local.INFO: GPS Element Parsed {"raw_longitude":760220544,"raw_latitude":105796864,"longitude_deg":76.0220544,"latitude_deg":10.5796864,"altitude":15,"angle":228,"satellites":48,"speed":0,"hex_longitude":"2d500b80","hex_latitude":"064e5500","is_valid_coordinates":true} 
[2026-07-15 02:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719917568001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135990497226260480,"note":"Value kept but may cause issues"} 
[2026-07-15 02:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5767844512350404608,"note":"Value kept but may cause issues"} 
[2026-07-15 02:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784062189000,"timestamp_ms":1784062189000,"timestamp_seconds":1784062189,"priority":1,"record_length":96,"hex_timestamp":"0000019f62649dc8"} 
[2026-07-15 02:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 02:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-07-15 02:23:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":131947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":131947,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":131947,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719917568001,"66":28256,"35":206,"19":38144,"24":0,"16":135990497226260480,"45":5767844512350404608},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-07-15 02:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719917568001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:23:42] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-15 02:23:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135990497226260480,"km_value":135990497226260.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":5767844512350404608,"description":"Unknown IO ID 45"} 
[2026-07-15 02:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719917568001,"power":28256,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5767844512350404608}} 
[2026-07-15 02:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":131947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489099,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:23:42] local.INFO: GPS data processed {"connection_id":131947,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:23:42] local.INFO: Acknowledgment sent {"connection_id":131947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:24:02] local.INFO: TCP Data received {"connection_id":134335,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:24:02] local.INFO: Processing buffer {"connection_id":134335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:24:02] local.INFO: IMEI packet received {"connection_id":134335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":134335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:24:07] local.INFO: TCP Data received {"connection_id":134335,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:24:07] local.INFO: Processing buffer {"connection_id":134335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:24:07] local.INFO: IMEI packet received {"connection_id":134335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":134335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:24:08] local.INFO: TCP Data received {"connection_id":134335,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f62641ce0012d7f92c005afd830000000502a..."} 
[2026-07-15 02:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62641ce0012d7f92c005afd830000000502a..."} 
[2026-07-15 02:24:08] local.INFO: Processing buffer {"connection_id":134335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62641ce0012d7f92c005afd830000000502a..."} 
[2026-07-15 02:24:08] local.INFO: Packet analysis {"connection_id":134335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6264"} 
[2026-07-15 02:24:08] local.INFO: Extracted packet for processing {"connection_id":134335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6264"} 
[2026-07-15 02:24:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719834880001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784062156000,"timestamp_ms":1784062156000,"timestamp_seconds":1784062156,"priority":1,"record_length":96,"hex_timestamp":"0000019f62641ce0"} 
[2026-07-15 02:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 02:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719834880001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719834880001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:24:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:24:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719834880001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":134335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:24:08] local.INFO: GPS data processed {"connection_id":134335,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:24:08] local.INFO: Acknowledgment sent {"connection_id":134335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:24:14] local.INFO: TCP Data received {"connection_id":131947,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62649dc8012d500b80064e5500000f00e430..."} 
[2026-07-15 02:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62649dc8012d500b80064e5500000f00e430..."} 
[2026-07-15 02:24:14] local.INFO: Processing buffer {"connection_id":131947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62649dc8012d500b80064e5500000f00e430..."} 
[2026-07-15 02:24:14] local.INFO: Packet analysis {"connection_id":131947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6264"} 
[2026-07-15 02:24:14] local.INFO: Extracted packet for processing {"connection_id":131947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6264"} 
[2026-07-15 02:24:14] local.INFO: GPS Element Parsed {"raw_longitude":760220544,"raw_latitude":105796864,"longitude_deg":76.0220544,"latitude_deg":10.5796864,"altitude":15,"angle":228,"satellites":48,"speed":0,"hex_longitude":"2d500b80","hex_latitude":"064e5500","is_valid_coordinates":true} 
[2026-07-15 02:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719917568001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135990497226260480,"note":"Value kept but may cause issues"} 
[2026-07-15 02:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5767844512350404608,"note":"Value kept but may cause issues"} 
[2026-07-15 02:24:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784062189000,"timestamp_ms":1784062189000,"timestamp_seconds":1784062189,"priority":1,"record_length":96,"hex_timestamp":"0000019f62649dc8"} 
[2026-07-15 02:24:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:24:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 02:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-07-15 02:24:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:24:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:24:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":131947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":131947,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":131947,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:24:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719917568001,"66":28256,"35":206,"19":38144,"24":0,"16":135990497226260480,"45":5767844512350404608},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-07-15 02:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719917568001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:24:14] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-15 02:24:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135990497226260480,"km_value":135990497226260.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5767844512350404608,"description":"Unknown IO ID 45"} 
[2026-07-15 02:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719917568001,"power":28256,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5767844512350404608}} 
[2026-07-15 02:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":131947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489101,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:24:14] local.INFO: GPS data processed {"connection_id":131947,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:24:14] local.INFO: Acknowledgment sent {"connection_id":131947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:24:35] local.INFO: TCP Data received {"connection_id":132970,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132970,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:24:35] local.INFO: Processing buffer {"connection_id":132970,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:24:35] local.INFO: IMEI packet received {"connection_id":132970,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 02:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":132970,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:24:40] local.INFO: TCP Data received {"connection_id":134335,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f62641ce0012d7f92c005afd830000000502a..."} 
[2026-07-15 02:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62641ce0012d7f92c005afd830000000502a..."} 
[2026-07-15 02:24:40] local.INFO: Processing buffer {"connection_id":134335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62641ce0012d7f92c005afd830000000502a..."} 
[2026-07-15 02:24:40] local.INFO: Packet analysis {"connection_id":134335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6264"} 
[2026-07-15 02:24:40] local.INFO: Extracted packet for processing {"connection_id":134335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6264"} 
[2026-07-15 02:24:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719834880001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:24:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784062156000,"timestamp_ms":1784062156000,"timestamp_seconds":1784062156,"priority":1,"record_length":96,"hex_timestamp":"0000019f62641ce0"} 
[2026-07-15 02:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:24:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 02:24:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:24:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":134335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":134335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":134335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719834880001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719834880001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:24:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:24:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:24:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719834880001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":134335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:24:40] local.INFO: GPS data processed {"connection_id":134335,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:24:40] local.INFO: Acknowledgment sent {"connection_id":134335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:24:41] local.INFO: TCP Data received {"connection_id":132970,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132970,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:24:41] local.INFO: Processing buffer {"connection_id":132970,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:24:41] local.INFO: IMEI packet received {"connection_id":132970,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 02:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":132970,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:24:42] local.INFO: TCP Data received {"connection_id":132970,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62649dc8012d500b80064e5500000f00e430..."} 
[2026-07-15 02:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62649dc8012d500b80064e5500000f00e430..."} 
[2026-07-15 02:24:42] local.INFO: Processing buffer {"connection_id":132970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62649dc8012d500b80064e5500000f00e430..."} 
[2026-07-15 02:24:42] local.INFO: Packet analysis {"connection_id":132970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6264"} 
[2026-07-15 02:24:42] local.INFO: Extracted packet for processing {"connection_id":132970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6264"} 
[2026-07-15 02:24:42] local.INFO: GPS Element Parsed {"raw_longitude":760220544,"raw_latitude":105796864,"longitude_deg":76.0220544,"latitude_deg":10.5796864,"altitude":15,"angle":228,"satellites":48,"speed":0,"hex_longitude":"2d500b80","hex_latitude":"064e5500","is_valid_coordinates":true} 
[2026-07-15 02:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719917568001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135990497226260480,"note":"Value kept but may cause issues"} 
[2026-07-15 02:24:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5767844512350404608,"note":"Value kept but may cause issues"} 
[2026-07-15 02:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784062189000,"timestamp_ms":1784062189000,"timestamp_seconds":1784062189,"priority":1,"record_length":96,"hex_timestamp":"0000019f62649dc8"} 
[2026-07-15 02:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:24:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 02:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-07-15 02:24:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132970,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132970,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719917568001,"66":28256,"35":206,"19":38144,"24":0,"16":135990497226260480,"45":5767844512350404608},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-07-15 02:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719917568001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:24:42] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-15 02:24:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135990497226260480,"km_value":135990497226260.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:24:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":5767844512350404608,"description":"Unknown IO ID 45"} 
[2026-07-15 02:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719917568001,"power":28256,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5767844512350404608}} 
[2026-07-15 02:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":132970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489103,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:24:42] local.INFO: GPS data processed {"connection_id":132970,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:24:42] local.INFO: Acknowledgment sent {"connection_id":132970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:25:02] local.INFO: TCP Data received {"connection_id":132125,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:25:02] local.INFO: Processing buffer {"connection_id":132125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:25:02] local.INFO: IMEI packet received {"connection_id":132125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":132125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:25:07] local.INFO: TCP Data received {"connection_id":132125,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:25:07] local.INFO: Processing buffer {"connection_id":132125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:25:07] local.INFO: IMEI packet received {"connection_id":132125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":132125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:25:08] local.INFO: TCP Data received {"connection_id":132125,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f6268b4a8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6268b4a8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:25:08] local.INFO: Processing buffer {"connection_id":132125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6268b4a8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:25:08] local.INFO: Packet analysis {"connection_id":132125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6268"} 
[2026-07-15 02:25:08] local.INFO: Extracted packet for processing {"connection_id":132125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6268"} 
[2026-07-15 02:25:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719911936001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784062457000,"timestamp_ms":1784062457000,"timestamp_seconds":1784062457,"priority":1,"record_length":96,"hex_timestamp":"0000019f6268b4a8"} 
[2026-07-15 02:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 02:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719911936001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719911936001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:25:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:25:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719911936001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":132125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:25:08] local.INFO: GPS data processed {"connection_id":132125,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:25:08] local.INFO: Acknowledgment sent {"connection_id":132125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:25:13] local.INFO: TCP Data received {"connection_id":132970,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62649dc8012d500b80064e5500000f00e430..."} 
[2026-07-15 02:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62649dc8012d500b80064e5500000f00e430..."} 
[2026-07-15 02:25:13] local.INFO: Processing buffer {"connection_id":132970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62649dc8012d500b80064e5500000f00e430..."} 
[2026-07-15 02:25:13] local.INFO: Packet analysis {"connection_id":132970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6264"} 
[2026-07-15 02:25:13] local.INFO: Extracted packet for processing {"connection_id":132970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6264"} 
[2026-07-15 02:25:13] local.INFO: GPS Element Parsed {"raw_longitude":760220544,"raw_latitude":105796864,"longitude_deg":76.0220544,"latitude_deg":10.5796864,"altitude":15,"angle":228,"satellites":48,"speed":0,"hex_longitude":"2d500b80","hex_latitude":"064e5500","is_valid_coordinates":true} 
[2026-07-15 02:25:13] 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-07-15 02:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719917568001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135990497226260480,"note":"Value kept but may cause issues"} 
[2026-07-15 02:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5767844512350404608,"note":"Value kept but may cause issues"} 
[2026-07-15 02:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784062189000,"timestamp_ms":1784062189000,"timestamp_seconds":1784062189,"priority":1,"record_length":96,"hex_timestamp":"0000019f62649dc8"} 
[2026-07-15 02:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:25:13] 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-07-15 02:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-07-15 02:25:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:25:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132970,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132970,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719917568001,"66":28256,"35":206,"19":38144,"24":0,"16":135990497226260480,"45":5767844512350404608},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-07-15 02:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719917568001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:25:13] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-15 02:25:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135990497226260480,"km_value":135990497226260.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5767844512350404608,"description":"Unknown IO ID 45"} 
[2026-07-15 02:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719917568001,"power":28256,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5767844512350404608}} 
[2026-07-15 02:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":132970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489105,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:25:13] local.INFO: GPS data processed {"connection_id":132970,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:25:13] local.INFO: Acknowledgment sent {"connection_id":132970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:25:39] local.INFO: TCP Data received {"connection_id":132125,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f6268b4a8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6268b4a8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:25:39] local.INFO: Processing buffer {"connection_id":132125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6268b4a8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:25:39] local.INFO: Packet analysis {"connection_id":132125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6268"} 
[2026-07-15 02:25:39] local.INFO: Extracted packet for processing {"connection_id":132125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6268"} 
[2026-07-15 02:25:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719911936001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784062457000,"timestamp_ms":1784062457000,"timestamp_seconds":1784062457,"priority":1,"record_length":96,"hex_timestamp":"0000019f6268b4a8"} 
[2026-07-15 02:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 02:25:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:25:39] 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-07-15 02:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719911936001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719911936001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:25:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:25:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719911936001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":132125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:25:39] local.INFO: GPS data processed {"connection_id":132125,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:25:39] local.INFO: Acknowledgment sent {"connection_id":132125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:25:41] local.INFO: TCP Data received {"connection_id":132126,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132126,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:25:41] local.INFO: Processing buffer {"connection_id":132126,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:25:41] local.INFO: IMEI packet received {"connection_id":132126,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 02:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":132126,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:25:46] local.INFO: TCP Data received {"connection_id":132126,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132126,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:25:46] local.INFO: Processing buffer {"connection_id":132126,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:25:46] local.INFO: IMEI packet received {"connection_id":132126,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 02:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":132126,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:25:47] local.INFO: TCP Data received {"connection_id":132126,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62694530012d500a00064e5510000f00e430..."} 
[2026-07-15 02:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62694530012d500a00064e5510000f00e430..."} 
[2026-07-15 02:25:47] local.INFO: Processing buffer {"connection_id":132126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62694530012d500a00064e5510000f00e430..."} 
[2026-07-15 02:25:47] local.INFO: Packet analysis {"connection_id":132126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6269"} 
[2026-07-15 02:25:47] local.INFO: Extracted packet for processing {"connection_id":132126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6269"} 
[2026-07-15 02:25:47] local.INFO: GPS Element Parsed {"raw_longitude":760220160,"raw_latitude":105796880,"longitude_deg":76.022016,"latitude_deg":10.579688,"altitude":15,"angle":228,"satellites":48,"speed":0,"hex_longitude":"2d500a00","hex_latitude":"064e5510","is_valid_coordinates":true} 
[2026-07-15 02:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719920384001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135990497226260480,"note":"Value kept but may cause issues"} 
[2026-07-15 02:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5767844512350404608,"note":"Value kept but may cause issues"} 
[2026-07-15 02:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784062494000,"timestamp_ms":1784062494000,"timestamp_seconds":1784062494,"priority":1,"record_length":96,"hex_timestamp":"0000019f62694530"} 
[2026-07-15 02:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 02:25:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:25:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":132126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":132126,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":132126,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719920384001,"66":25778,"35":206,"19":38144,"24":0,"16":135990497226260480,"45":5767844512350404608},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-07-15 02:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719920384001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:25:47] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-15 02:25:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135990497226260480,"km_value":135990497226260.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":5767844512350404608,"description":"Unknown IO ID 45"} 
[2026-07-15 02:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719920384001,"power":25778,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5767844512350404608}} 
[2026-07-15 02:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":132126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489107,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:25:47] local.INFO: GPS data processed {"connection_id":132126,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:25:47] local.INFO: Acknowledgment sent {"connection_id":132126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:25:52] local.INFO: TCP Data received {"connection_id":132126,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62694530012d500a00064e5510000f00e430..."} 
[2026-07-15 02:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62694530012d500a00064e5510000f00e430..."} 
[2026-07-15 02:25:52] local.INFO: Processing buffer {"connection_id":132126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62694530012d500a00064e5510000f00e430..."} 
[2026-07-15 02:25:52] local.INFO: Packet analysis {"connection_id":132126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6269"} 
[2026-07-15 02:25:52] local.INFO: Extracted packet for processing {"connection_id":132126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6269"} 
[2026-07-15 02:25:52] local.INFO: GPS Element Parsed {"raw_longitude":760220160,"raw_latitude":105796880,"longitude_deg":76.022016,"latitude_deg":10.579688,"altitude":15,"angle":228,"satellites":48,"speed":0,"hex_longitude":"2d500a00","hex_latitude":"064e5510","is_valid_coordinates":true} 
[2026-07-15 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-07-15 02:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719920384001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135990497226260480,"note":"Value kept but may cause issues"} 
[2026-07-15 02:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5767844512350404608,"note":"Value kept but may cause issues"} 
[2026-07-15 02:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1784062494000,"timestamp_ms":1784062494000,"timestamp_seconds":1784062494,"priority":1,"record_length":96,"hex_timestamp":"0000019f62694530"} 
[2026-07-15 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-07-15 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-07-15 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":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 02:25:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 02:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":132126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":132126,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":132126,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:25:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719920384001,"66":25778,"35":206,"19":38144,"24":0,"16":135990497226260480,"45":5767844512350404608},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-07-15 02:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719920384001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:25:52] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-15 02:25:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135990497226260480,"km_value":135990497226260.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":5767844512350404608,"description":"Unknown IO ID 45"} 
[2026-07-15 02:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719920384001,"power":25778,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5767844512350404608}} 
[2026-07-15 02:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":132126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489108,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:25:52] local.INFO: GPS data processed {"connection_id":132126,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:25:52] local.INFO: Acknowledgment sent {"connection_id":132126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:26:02] local.INFO: TCP Data received {"connection_id":131948,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:26:02] local.INFO: Processing buffer {"connection_id":131948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:26:02] local.INFO: IMEI packet received {"connection_id":131948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":131948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:26:07] local.INFO: TCP Data received {"connection_id":131948,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:26:07] local.INFO: Processing buffer {"connection_id":131948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:26:07] local.INFO: IMEI packet received {"connection_id":131948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":131948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:26:08] local.INFO: TCP Data received {"connection_id":131948,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f6268b4a8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6268b4a8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:26:08] local.INFO: Processing buffer {"connection_id":131948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6268b4a8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:26:08] local.INFO: Packet analysis {"connection_id":131948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6268"} 
[2026-07-15 02:26:08] local.INFO: Extracted packet for processing {"connection_id":131948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6268"} 
[2026-07-15 02:26:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719911936001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784062457000,"timestamp_ms":1784062457000,"timestamp_seconds":1784062457,"priority":1,"record_length":96,"hex_timestamp":"0000019f6268b4a8"} 
[2026-07-15 02:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 02:26:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:26:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":131948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":131948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":131948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:26:08] 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-07-15 02:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719911936001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719911936001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:26:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:26:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719911936001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":131948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:26:08] local.INFO: GPS data processed {"connection_id":131948,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:26:08] local.INFO: Acknowledgment sent {"connection_id":131948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:26:36] local.INFO: TCP Data received {"connection_id":132971,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132971,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:26:36] local.INFO: Processing buffer {"connection_id":132971,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:26:36] local.INFO: IMEI packet received {"connection_id":132971,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 02:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":132971,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:26:40] local.INFO: TCP Data received {"connection_id":132971,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132971,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:26:40] local.INFO: Processing buffer {"connection_id":132971,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:26:40] local.INFO: IMEI packet received {"connection_id":132971,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 02:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":132971,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:26:41] local.INFO: TCP Data received {"connection_id":132971,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62694530012d500a00064e5510000f00e430..."} 
[2026-07-15 02:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62694530012d500a00064e5510000f00e430..."} 
[2026-07-15 02:26:41] local.INFO: Processing buffer {"connection_id":132971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62694530012d500a00064e5510000f00e430..."} 
[2026-07-15 02:26:41] local.INFO: Packet analysis {"connection_id":132971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6269"} 
[2026-07-15 02:26:41] local.INFO: Extracted packet for processing {"connection_id":132971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6269"} 
[2026-07-15 02:26:41] local.INFO: GPS Element Parsed {"raw_longitude":760220160,"raw_latitude":105796880,"longitude_deg":76.022016,"latitude_deg":10.579688,"altitude":15,"angle":228,"satellites":48,"speed":0,"hex_longitude":"2d500a00","hex_latitude":"064e5510","is_valid_coordinates":true} 
[2026-07-15 02:26: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-07-15 02:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719920384001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135990497226260480,"note":"Value kept but may cause issues"} 
[2026-07-15 02:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5767844512350404608,"note":"Value kept but may cause issues"} 
[2026-07-15 02:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784062494000,"timestamp_ms":1784062494000,"timestamp_seconds":1784062494,"priority":1,"record_length":96,"hex_timestamp":"0000019f62694530"} 
[2026-07-15 02:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:26: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-07-15 02:26: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":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 02:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:26: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-07-15 02:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132971,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132971,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719920384001,"66":25778,"35":206,"19":38144,"24":0,"16":135990497226260480,"45":5767844512350404608},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-07-15 02:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719920384001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:26:41] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-15 02:26:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135990497226260480,"km_value":135990497226260.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":5767844512350404608,"description":"Unknown IO ID 45"} 
[2026-07-15 02:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719920384001,"power":25778,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5767844512350404608}} 
[2026-07-15 02:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":132971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489110,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:26:41] local.INFO: GPS data processed {"connection_id":132971,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:26:41] local.INFO: Acknowledgment sent {"connection_id":132971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:26:42] local.INFO: TCP Data received {"connection_id":131948,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f6268b4a8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6268b4a8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:26:42] local.INFO: Processing buffer {"connection_id":131948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6268b4a8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:26:42] local.INFO: Packet analysis {"connection_id":131948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6268"} 
[2026-07-15 02:26:42] local.INFO: Extracted packet for processing {"connection_id":131948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6268"} 
[2026-07-15 02:26:42] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:26: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-07-15 02:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719911936001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784062457000,"timestamp_ms":1784062457000,"timestamp_seconds":1784062457,"priority":1,"record_length":96,"hex_timestamp":"0000019f6268b4a8"} 
[2026-07-15 02:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 02:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:26: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-07-15 02:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":131948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":131948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":131948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719911936001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719911936001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:26:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:26:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719911936001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":131948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:26:42] local.INFO: GPS data processed {"connection_id":131948,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:26:42] local.INFO: Acknowledgment sent {"connection_id":131948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:27:02] local.INFO: TCP Data received {"connection_id":132127,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:27:02] local.INFO: Processing buffer {"connection_id":132127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:27:02] local.INFO: IMEI packet received {"connection_id":132127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":132127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:27:07] local.INFO: TCP Data received {"connection_id":132127,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:27:07] local.INFO: Processing buffer {"connection_id":132127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:27:07] local.INFO: IMEI packet received {"connection_id":132127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":132127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:27:08] local.INFO: TCP Data received {"connection_id":132127,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f6268b4a8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6268b4a8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:27:08] local.INFO: Processing buffer {"connection_id":132127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6268b4a8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:27:08] local.INFO: Packet analysis {"connection_id":132127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6268"} 
[2026-07-15 02:27:08] local.INFO: Extracted packet for processing {"connection_id":132127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6268"} 
[2026-07-15 02:27:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719911936001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784062457000,"timestamp_ms":1784062457000,"timestamp_seconds":1784062457,"priority":1,"record_length":96,"hex_timestamp":"0000019f6268b4a8"} 
[2026-07-15 02:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 02:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:27:08] 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-07-15 02:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719911936001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719911936001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:27:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:27:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719911936001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":132127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:27:08] local.INFO: GPS data processed {"connection_id":132127,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:27:08] local.INFO: Acknowledgment sent {"connection_id":132127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:27:13] local.INFO: TCP Data received {"connection_id":132971,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62694530012d500a00064e5510000f00e430..."} 
[2026-07-15 02:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62694530012d500a00064e5510000f00e430..."} 
[2026-07-15 02:27:13] local.INFO: Processing buffer {"connection_id":132971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62694530012d500a00064e5510000f00e430..."} 
[2026-07-15 02:27:13] local.INFO: Packet analysis {"connection_id":132971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6269"} 
[2026-07-15 02:27:13] local.INFO: Extracted packet for processing {"connection_id":132971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6269"} 
[2026-07-15 02:27:13] local.INFO: GPS Element Parsed {"raw_longitude":760220160,"raw_latitude":105796880,"longitude_deg":76.022016,"latitude_deg":10.579688,"altitude":15,"angle":228,"satellites":48,"speed":0,"hex_longitude":"2d500a00","hex_latitude":"064e5510","is_valid_coordinates":true} 
[2026-07-15 02:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719920384001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135990497226260480,"note":"Value kept but may cause issues"} 
[2026-07-15 02:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5767844512350404608,"note":"Value kept but may cause issues"} 
[2026-07-15 02:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784062494000,"timestamp_ms":1784062494000,"timestamp_seconds":1784062494,"priority":1,"record_length":96,"hex_timestamp":"0000019f62694530"} 
[2026-07-15 02:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:27:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 02:27:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:27:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132971,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132971,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719920384001,"66":25778,"35":206,"19":38144,"24":0,"16":135990497226260480,"45":5767844512350404608},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-07-15 02:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719920384001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:27:13] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-15 02:27:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135990497226260480,"km_value":135990497226260.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5767844512350404608,"description":"Unknown IO ID 45"} 
[2026-07-15 02:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719920384001,"power":25778,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5767844512350404608}} 
[2026-07-15 02:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":132971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489113,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:27:13] local.INFO: GPS data processed {"connection_id":132971,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:27:13] local.INFO: Acknowledgment sent {"connection_id":132971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:27:36] local.INFO: TCP Data received {"connection_id":131949,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131949,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:27:36] local.INFO: Processing buffer {"connection_id":131949,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:27:36] local.INFO: IMEI packet received {"connection_id":131949,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 02:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":131949,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:27:40] local.INFO: TCP Data received {"connection_id":132127,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f6268b4a8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6268b4a8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:27:40] local.INFO: Processing buffer {"connection_id":132127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6268b4a8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:27:40] local.INFO: Packet analysis {"connection_id":132127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6268"} 
[2026-07-15 02:27:40] local.INFO: Extracted packet for processing {"connection_id":132127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6268"} 
[2026-07-15 02:27:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719911936001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784062457000,"timestamp_ms":1784062457000,"timestamp_seconds":1784062457,"priority":1,"record_length":96,"hex_timestamp":"0000019f6268b4a8"} 
[2026-07-15 02:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:27:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 02:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719911936001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719911936001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:27:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:27:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719911936001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":132127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:27:40] local.INFO: GPS data processed {"connection_id":132127,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:27:40] local.INFO: Acknowledgment sent {"connection_id":132127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:27:41] local.INFO: TCP Data received {"connection_id":131949,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131949,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:27:41] local.INFO: Processing buffer {"connection_id":131949,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:27:41] local.INFO: IMEI packet received {"connection_id":131949,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 02:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":131949,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:27:42] local.INFO: TCP Data received {"connection_id":131949,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62694530012d500a00064e5510000f00e430..."} 
[2026-07-15 02:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62694530012d500a00064e5510000f00e430..."} 
[2026-07-15 02:27:42] local.INFO: Processing buffer {"connection_id":131949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62694530012d500a00064e5510000f00e430..."} 
[2026-07-15 02:27:42] local.INFO: Packet analysis {"connection_id":131949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6269"} 
[2026-07-15 02:27:42] local.INFO: Extracted packet for processing {"connection_id":131949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6269"} 
[2026-07-15 02:27:42] local.INFO: GPS Element Parsed {"raw_longitude":760220160,"raw_latitude":105796880,"longitude_deg":76.022016,"latitude_deg":10.579688,"altitude":15,"angle":228,"satellites":48,"speed":0,"hex_longitude":"2d500a00","hex_latitude":"064e5510","is_valid_coordinates":true} 
[2026-07-15 02:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719920384001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135990497226260480,"note":"Value kept but may cause issues"} 
[2026-07-15 02:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5767844512350404608,"note":"Value kept but may cause issues"} 
[2026-07-15 02:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784062494000,"timestamp_ms":1784062494000,"timestamp_seconds":1784062494,"priority":1,"record_length":96,"hex_timestamp":"0000019f62694530"} 
[2026-07-15 02:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:27: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-07-15 02:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 02:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":131949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":131949,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":131949,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719920384001,"66":25778,"35":206,"19":38144,"24":0,"16":135990497226260480,"45":5767844512350404608},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-07-15 02:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719920384001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:27:42] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-15 02:27:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135990497226260480,"km_value":135990497226260.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":5767844512350404608,"description":"Unknown IO ID 45"} 
[2026-07-15 02:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719920384001,"power":25778,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5767844512350404608}} 
[2026-07-15 02:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":131949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489115,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:27:42] local.INFO: GPS data processed {"connection_id":131949,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:27:42] local.INFO: Acknowledgment sent {"connection_id":131949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:28:02] local.INFO: TCP Data received {"connection_id":134336,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:28:02] local.INFO: Processing buffer {"connection_id":134336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:28:02] local.INFO: IMEI packet received {"connection_id":134336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":134336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:28:07] local.INFO: TCP Data received {"connection_id":134336,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:28:07] local.INFO: Processing buffer {"connection_id":134336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:28:07] local.INFO: IMEI packet received {"connection_id":134336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":134336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:28:08] local.INFO: TCP Data received {"connection_id":134336,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f6268b4a8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6268b4a8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:28:08] local.INFO: Processing buffer {"connection_id":134336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6268b4a8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:28:08] local.INFO: Packet analysis {"connection_id":134336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6268"} 
[2026-07-15 02:28:08] local.INFO: Extracted packet for processing {"connection_id":134336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6268"} 
[2026-07-15 02:28:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719911936001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784062457000,"timestamp_ms":1784062457000,"timestamp_seconds":1784062457,"priority":1,"record_length":96,"hex_timestamp":"0000019f6268b4a8"} 
[2026-07-15 02:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 02:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:28:08] 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-07-15 02:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719911936001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719911936001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:28:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:28:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719911936001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":134336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:28:08] local.INFO: GPS data processed {"connection_id":134336,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:28:08] local.INFO: Acknowledgment sent {"connection_id":134336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:28:14] local.INFO: TCP Data received {"connection_id":131949,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62694530012d500a00064e5510000f00e430..."} 
[2026-07-15 02:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62694530012d500a00064e5510000f00e430..."} 
[2026-07-15 02:28:14] local.INFO: Processing buffer {"connection_id":131949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62694530012d500a00064e5510000f00e430..."} 
[2026-07-15 02:28:14] local.INFO: Packet analysis {"connection_id":131949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6269"} 
[2026-07-15 02:28:14] local.INFO: Extracted packet for processing {"connection_id":131949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6269"} 
[2026-07-15 02:28:14] local.INFO: GPS Element Parsed {"raw_longitude":760220160,"raw_latitude":105796880,"longitude_deg":76.022016,"latitude_deg":10.579688,"altitude":15,"angle":228,"satellites":48,"speed":0,"hex_longitude":"2d500a00","hex_latitude":"064e5510","is_valid_coordinates":true} 
[2026-07-15 02:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719920384001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135990497226260480,"note":"Value kept but may cause issues"} 
[2026-07-15 02:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5767844512350404608,"note":"Value kept but may cause issues"} 
[2026-07-15 02:28:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784062494000,"timestamp_ms":1784062494000,"timestamp_seconds":1784062494,"priority":1,"record_length":96,"hex_timestamp":"0000019f62694530"} 
[2026-07-15 02:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:28:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 02:28:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:28:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":131949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":131949,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":131949,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:28:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719920384001,"66":25778,"35":206,"19":38144,"24":0,"16":135990497226260480,"45":5767844512350404608},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-07-15 02:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719920384001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:28:14] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-15 02:28:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135990497226260480,"km_value":135990497226260.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5767844512350404608,"description":"Unknown IO ID 45"} 
[2026-07-15 02:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719920384001,"power":25778,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5767844512350404608}} 
[2026-07-15 02:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":131949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489117,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:28:14] local.INFO: GPS data processed {"connection_id":131949,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:28:14] local.INFO: Acknowledgment sent {"connection_id":131949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:28:39] local.INFO: TCP Data received {"connection_id":134336,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f6268b4a8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6268b4a8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:28:39] local.INFO: Processing buffer {"connection_id":134336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6268b4a8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:28:39] local.INFO: Packet analysis {"connection_id":134336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6268"} 
[2026-07-15 02:28:39] local.INFO: Extracted packet for processing {"connection_id":134336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6268"} 
[2026-07-15 02:28:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719911936001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:28:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784062457000,"timestamp_ms":1784062457000,"timestamp_seconds":1784062457,"priority":1,"record_length":96,"hex_timestamp":"0000019f6268b4a8"} 
[2026-07-15 02:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:28:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 02:28:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:28:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:28:39] 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-07-15 02:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719911936001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719911936001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:28:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:28:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719911936001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":134336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:28:39] local.INFO: GPS data processed {"connection_id":134336,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:28:39] local.INFO: Acknowledgment sent {"connection_id":134336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:28:41] local.INFO: TCP Data received {"connection_id":132972,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132972,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:28:41] local.INFO: Processing buffer {"connection_id":132972,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:28:41] local.INFO: IMEI packet received {"connection_id":132972,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 02:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":132972,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:28:46] local.INFO: TCP Data received {"connection_id":132972,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132972,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:28:46] local.INFO: Processing buffer {"connection_id":132972,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:28:46] local.INFO: IMEI packet received {"connection_id":132972,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 02:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":132972,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:28:48] local.INFO: TCP Data received {"connection_id":132972,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62694530012d500a00064e5510000f00e430..."} 
[2026-07-15 02:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62694530012d500a00064e5510000f00e430..."} 
[2026-07-15 02:28:48] local.INFO: Processing buffer {"connection_id":132972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62694530012d500a00064e5510000f00e430..."} 
[2026-07-15 02:28:48] local.INFO: Packet analysis {"connection_id":132972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6269"} 
[2026-07-15 02:28:48] local.INFO: Extracted packet for processing {"connection_id":132972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6269"} 
[2026-07-15 02:28:48] local.INFO: GPS Element Parsed {"raw_longitude":760220160,"raw_latitude":105796880,"longitude_deg":76.022016,"latitude_deg":10.579688,"altitude":15,"angle":228,"satellites":48,"speed":0,"hex_longitude":"2d500a00","hex_latitude":"064e5510","is_valid_coordinates":true} 
[2026-07-15 02:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719920384001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135990497226260480,"note":"Value kept but may cause issues"} 
[2026-07-15 02:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5767844512350404608,"note":"Value kept but may cause issues"} 
[2026-07-15 02:28:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784062494000,"timestamp_ms":1784062494000,"timestamp_seconds":1784062494,"priority":1,"record_length":96,"hex_timestamp":"0000019f62694530"} 
[2026-07-15 02:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:28: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-07-15 02:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 02:28:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:28:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":132972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":132972,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":132972,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:28:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719920384001,"66":25778,"35":206,"19":38144,"24":0,"16":135990497226260480,"45":5767844512350404608},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-07-15 02:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719920384001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:28:48] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-15 02:28:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135990497226260480,"km_value":135990497226260.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5767844512350404608,"description":"Unknown IO ID 45"} 
[2026-07-15 02:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719920384001,"power":25778,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5767844512350404608}} 
[2026-07-15 02:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":132972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489119,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:28:48] local.INFO: GPS data processed {"connection_id":132972,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:28:48] local.INFO: Acknowledgment sent {"connection_id":132972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:28:51] local.INFO: TCP Data received {"connection_id":132972,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62694530012d500a00064e5510000f00e430..."} 
[2026-07-15 02:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62694530012d500a00064e5510000f00e430..."} 
[2026-07-15 02:28:51] local.INFO: Processing buffer {"connection_id":132972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62694530012d500a00064e5510000f00e430..."} 
[2026-07-15 02:28:51] local.INFO: Packet analysis {"connection_id":132972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6269"} 
[2026-07-15 02:28:51] local.INFO: Extracted packet for processing {"connection_id":132972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6269"} 
[2026-07-15 02:28:51] local.INFO: GPS Element Parsed {"raw_longitude":760220160,"raw_latitude":105796880,"longitude_deg":76.022016,"latitude_deg":10.579688,"altitude":15,"angle":228,"satellites":48,"speed":0,"hex_longitude":"2d500a00","hex_latitude":"064e5510","is_valid_coordinates":true} 
[2026-07-15 02:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719920384001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135990497226260480,"note":"Value kept but may cause issues"} 
[2026-07-15 02:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5767844512350404608,"note":"Value kept but may cause issues"} 
[2026-07-15 02:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784062494000,"timestamp_ms":1784062494000,"timestamp_seconds":1784062494,"priority":1,"record_length":96,"hex_timestamp":"0000019f62694530"} 
[2026-07-15 02:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02: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-07-15 02:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 02:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":132972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":132972,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":132972,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719920384001,"66":25778,"35":206,"19":38144,"24":0,"16":135990497226260480,"45":5767844512350404608},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-07-15 02:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719920384001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:28:51] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-15 02:28:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135990497226260480,"km_value":135990497226260.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5767844512350404608,"description":"Unknown IO ID 45"} 
[2026-07-15 02:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719920384001,"power":25778,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5767844512350404608}} 
[2026-07-15 02:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":132972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489120,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:28:51] local.INFO: GPS data processed {"connection_id":132972,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:28:51] local.INFO: Acknowledgment sent {"connection_id":132972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:29:02] local.INFO: TCP Data received {"connection_id":132128,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:29:02] local.INFO: Processing buffer {"connection_id":132128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:29:02] local.INFO: IMEI packet received {"connection_id":132128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":132128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:29:07] local.INFO: TCP Data received {"connection_id":132128,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:29:07] local.INFO: Processing buffer {"connection_id":132128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:29:07] local.INFO: IMEI packet received {"connection_id":132128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":132128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:29:08] local.INFO: TCP Data received {"connection_id":132128,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f6268b4a8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6268b4a8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:29:08] local.INFO: Processing buffer {"connection_id":132128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6268b4a8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:29:08] local.INFO: Packet analysis {"connection_id":132128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6268"} 
[2026-07-15 02:29:08] local.INFO: Extracted packet for processing {"connection_id":132128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6268"} 
[2026-07-15 02:29:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719911936001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784062457000,"timestamp_ms":1784062457000,"timestamp_seconds":1784062457,"priority":1,"record_length":96,"hex_timestamp":"0000019f6268b4a8"} 
[2026-07-15 02:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 02:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719911936001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719911936001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:29:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:29:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719911936001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":132128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:29:08] local.INFO: GPS data processed {"connection_id":132128,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:29:08] local.INFO: Acknowledgment sent {"connection_id":132128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:29:36] local.INFO: TCP Data received {"connection_id":134337,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134337,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:29:36] local.INFO: Processing buffer {"connection_id":134337,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:29:36] local.INFO: IMEI packet received {"connection_id":134337,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 02:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":134337,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:29:39] local.INFO: TCP Data received {"connection_id":132128,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f6268b4a8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6268b4a8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:29:39] local.INFO: Processing buffer {"connection_id":132128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6268b4a8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:29:39] local.INFO: Packet analysis {"connection_id":132128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6268"} 
[2026-07-15 02:29:39] local.INFO: Extracted packet for processing {"connection_id":132128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6268"} 
[2026-07-15 02:29:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719911936001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784062457000,"timestamp_ms":1784062457000,"timestamp_seconds":1784062457,"priority":1,"record_length":96,"hex_timestamp":"0000019f6268b4a8"} 
[2026-07-15 02:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:29:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 02:29:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:29:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719911936001,"66":25615,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719911936001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:29:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:29:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719911936001,"power":25615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":132128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:29:39] local.INFO: GPS data processed {"connection_id":132128,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:29:39] local.INFO: Acknowledgment sent {"connection_id":132128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:29:41] local.INFO: TCP Data received {"connection_id":134337,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134337,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:29:41] local.INFO: Processing buffer {"connection_id":134337,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:29:41] local.INFO: IMEI packet received {"connection_id":134337,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 02:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":134337,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:29:43] local.INFO: TCP Data received {"connection_id":134337,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62694530012d500a00064e5510000f00e430..."} 
[2026-07-15 02:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62694530012d500a00064e5510000f00e430..."} 
[2026-07-15 02:29:43] local.INFO: Processing buffer {"connection_id":134337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62694530012d500a00064e5510000f00e430..."} 
[2026-07-15 02:29:43] local.INFO: Packet analysis {"connection_id":134337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6269"} 
[2026-07-15 02:29:43] local.INFO: Extracted packet for processing {"connection_id":134337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6269"} 
[2026-07-15 02:29:43] local.INFO: GPS Element Parsed {"raw_longitude":760220160,"raw_latitude":105796880,"longitude_deg":76.022016,"latitude_deg":10.579688,"altitude":15,"angle":228,"satellites":48,"speed":0,"hex_longitude":"2d500a00","hex_latitude":"064e5510","is_valid_coordinates":true} 
[2026-07-15 02:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719920384001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135990497226260480,"note":"Value kept but may cause issues"} 
[2026-07-15 02:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5767844512350404608,"note":"Value kept but may cause issues"} 
[2026-07-15 02:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784062494000,"timestamp_ms":1784062494000,"timestamp_seconds":1784062494,"priority":1,"record_length":96,"hex_timestamp":"0000019f62694530"} 
[2026-07-15 02:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:29: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-07-15 02:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 02:29:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:29:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":134337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":134337,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":134337,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719920384001,"66":25778,"35":206,"19":38144,"24":0,"16":135990497226260480,"45":5767844512350404608},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-07-15 02:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719920384001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:29:43] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-15 02:29:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135990497226260480,"km_value":135990497226260.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5767844512350404608,"description":"Unknown IO ID 45"} 
[2026-07-15 02:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719920384001,"power":25778,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5767844512350404608}} 
[2026-07-15 02:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":134337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489123,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:29:43] local.INFO: GPS data processed {"connection_id":134337,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:29:43] local.INFO: Acknowledgment sent {"connection_id":134337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:30:07] local.INFO: TCP Data received {"connection_id":132129,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:30:07] local.INFO: Processing buffer {"connection_id":132129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:30:07] local.INFO: IMEI packet received {"connection_id":132129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":132129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:30:12] local.INFO: TCP Data received {"connection_id":132129,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:30:12] local.INFO: Processing buffer {"connection_id":132129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:30:12] local.INFO: IMEI packet received {"connection_id":132129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":132129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:30:13] local.INFO: TCP Data received {"connection_id":132129,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f626d4c70012d7f92c005afd830000000502c..."} 
[2026-07-15 02:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f626d4c70012d7f92c005afd830000000502c..."} 
[2026-07-15 02:30:13] local.INFO: Processing buffer {"connection_id":132129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f626d4c70012d7f92c005afd830000000502c..."} 
[2026-07-15 02:30:13] local.INFO: Packet analysis {"connection_id":132129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f626d"} 
[2026-07-15 02:30:13] local.INFO: Extracted packet for processing {"connection_id":132129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f626d"} 
[2026-07-15 02:30:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719988992001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784062758000,"timestamp_ms":1784062758000,"timestamp_seconds":1784062758,"priority":1,"record_length":96,"hex_timestamp":"0000019f626d4c70"} 
[2026-07-15 02:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:30:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 02:30:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:30:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719988992001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719988992001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:30:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:30:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719988992001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":132129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:30:13] local.INFO: GPS data processed {"connection_id":132129,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:30:13] local.INFO: Acknowledgment sent {"connection_id":132129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:30:14] local.INFO: TCP Data received {"connection_id":134337,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62694530012d500a00064e5510000f00e430..."} 
[2026-07-15 02:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62694530012d500a00064e5510000f00e430..."} 
[2026-07-15 02:30:14] local.INFO: Processing buffer {"connection_id":134337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62694530012d500a00064e5510000f00e430..."} 
[2026-07-15 02:30:14] local.INFO: Packet analysis {"connection_id":134337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6269"} 
[2026-07-15 02:30:14] local.INFO: Extracted packet for processing {"connection_id":134337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6269"} 
[2026-07-15 02:30:14] local.INFO: GPS Element Parsed {"raw_longitude":760220160,"raw_latitude":105796880,"longitude_deg":76.022016,"latitude_deg":10.579688,"altitude":15,"angle":228,"satellites":48,"speed":0,"hex_longitude":"2d500a00","hex_latitude":"064e5510","is_valid_coordinates":true} 
[2026-07-15 02:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719920384001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135990497226260480,"note":"Value kept but may cause issues"} 
[2026-07-15 02:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5767844512350404608,"note":"Value kept but may cause issues"} 
[2026-07-15 02:30:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784062494000,"timestamp_ms":1784062494000,"timestamp_seconds":1784062494,"priority":1,"record_length":96,"hex_timestamp":"0000019f62694530"} 
[2026-07-15 02:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:30:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 02:30:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:30:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":134337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":134337,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":134337,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:30:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719920384001,"66":25778,"35":206,"19":38144,"24":0,"16":135990497226260480,"45":5767844512350404608},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-07-15 02:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719920384001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:30:14] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-15 02:30:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135990497226260480,"km_value":135990497226260.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5767844512350404608,"description":"Unknown IO ID 45"} 
[2026-07-15 02:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719920384001,"power":25778,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5767844512350404608}} 
[2026-07-15 02:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":134337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489125,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:30:15] local.INFO: GPS data processed {"connection_id":134337,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:30:15] local.INFO: Acknowledgment sent {"connection_id":134337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:30:18] local.INFO: TCP Data received {"connection_id":132129,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f626d4c70012d7f92c005afd830000000502c..."} 
[2026-07-15 02:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f626d4c70012d7f92c005afd830000000502c..."} 
[2026-07-15 02:30:18] local.INFO: Processing buffer {"connection_id":132129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f626d4c70012d7f92c005afd830000000502c..."} 
[2026-07-15 02:30:18] local.INFO: Packet analysis {"connection_id":132129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f626d"} 
[2026-07-15 02:30:18] local.INFO: Extracted packet for processing {"connection_id":132129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f626d"} 
[2026-07-15 02:30:18] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719988992001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:30:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784062758000,"timestamp_ms":1784062758000,"timestamp_seconds":1784062758,"priority":1,"record_length":96,"hex_timestamp":"0000019f626d4c70"} 
[2026-07-15 02:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:30:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 02:30:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":132129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":132129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":132129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:30: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-07-15 02:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719988992001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719988992001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:30:18] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:30:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719988992001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":132129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:30:18] local.INFO: GPS data processed {"connection_id":132129,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:30:18] local.INFO: Acknowledgment sent {"connection_id":132129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:30:36] local.INFO: TCP Data received {"connection_id":131950,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131950,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:30:36] local.INFO: Processing buffer {"connection_id":131950,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:30:36] local.INFO: IMEI packet received {"connection_id":131950,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 02:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":131950,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:30:42] local.INFO: TCP Data received {"connection_id":131950,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131950,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:30:42] local.INFO: Processing buffer {"connection_id":131950,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:30:42] local.INFO: IMEI packet received {"connection_id":131950,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 02:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":131950,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:30:43] local.INFO: TCP Data received {"connection_id":131950,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f626ddcf8012d500a00064e5510000f00e430..."} 
[2026-07-15 02:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f626ddcf8012d500a00064e5510000f00e430..."} 
[2026-07-15 02:30:43] local.INFO: Processing buffer {"connection_id":131950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f626ddcf8012d500a00064e5510000f00e430..."} 
[2026-07-15 02:30:43] local.INFO: Packet analysis {"connection_id":131950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f626d"} 
[2026-07-15 02:30:43] local.INFO: Extracted packet for processing {"connection_id":131950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f626d"} 
[2026-07-15 02:30:43] local.INFO: GPS Element Parsed {"raw_longitude":760220160,"raw_latitude":105796880,"longitude_deg":76.022016,"latitude_deg":10.579688,"altitude":15,"angle":228,"satellites":48,"speed":0,"hex_longitude":"2d500a00","hex_latitude":"064e5510","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719998464001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135990497226260480,"note":"Value kept but may cause issues"} 
[2026-07-15 02:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5767422299885342720,"note":"Value kept but may cause issues"} 
[2026-07-15 02:30:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784062795000,"timestamp_ms":1784062795000,"timestamp_seconds":1784062795,"priority":1,"record_length":96,"hex_timestamp":"0000019f626ddcf8"} 
[2026-07-15 02:30:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:30: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-07-15 02:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 02:30:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:30:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":131950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":131950,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":131950,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:30:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719998464001,"66":25625,"35":206,"19":38144,"24":0,"16":135990497226260480,"45":5767422299885342720},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-07-15 02:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719998464001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:30:43] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-15 02:30:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135990497226260480,"km_value":135990497226260.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5767422299885342720,"description":"Unknown IO ID 45"} 
[2026-07-15 02:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719998464001,"power":25625,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5767422299885342720}} 
[2026-07-15 02:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":131950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489127,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:30:43] local.INFO: GPS data processed {"connection_id":131950,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:30:43] local.INFO: Acknowledgment sent {"connection_id":131950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:31:02] local.INFO: TCP Data received {"connection_id":132130,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:31:02] local.INFO: Processing buffer {"connection_id":132130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:31:02] local.INFO: IMEI packet received {"connection_id":132130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":132130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:31:07] local.INFO: TCP Data received {"connection_id":132130,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:31:07] local.INFO: Processing buffer {"connection_id":132130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:31:07] local.INFO: IMEI packet received {"connection_id":132130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":132130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:31:08] local.INFO: TCP Data received {"connection_id":132130,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f626d4c70012d7f92c005afd830000000502c..."} 
[2026-07-15 02:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f626d4c70012d7f92c005afd830000000502c..."} 
[2026-07-15 02:31:08] local.INFO: Processing buffer {"connection_id":132130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f626d4c70012d7f92c005afd830000000502c..."} 
[2026-07-15 02:31:08] local.INFO: Packet analysis {"connection_id":132130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f626d"} 
[2026-07-15 02:31:08] local.INFO: Extracted packet for processing {"connection_id":132130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f626d"} 
[2026-07-15 02:31:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719988992001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784062758000,"timestamp_ms":1784062758000,"timestamp_seconds":1784062758,"priority":1,"record_length":96,"hex_timestamp":"0000019f626d4c70"} 
[2026-07-15 02:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 02:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719988992001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719988992001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:31:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:31:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719988992001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":132130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:31:08] local.INFO: GPS data processed {"connection_id":132130,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:31:08] local.INFO: Acknowledgment sent {"connection_id":132130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:31:15] local.INFO: TCP Data received {"connection_id":131950,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f626ddcf8012d500a00064e5510000f00e430..."} 
[2026-07-15 02:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f626ddcf8012d500a00064e5510000f00e430..."} 
[2026-07-15 02:31:15] local.INFO: Processing buffer {"connection_id":131950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f626ddcf8012d500a00064e5510000f00e430..."} 
[2026-07-15 02:31:15] local.INFO: Packet analysis {"connection_id":131950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f626d"} 
[2026-07-15 02:31:15] local.INFO: Extracted packet for processing {"connection_id":131950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f626d"} 
[2026-07-15 02:31:15] local.INFO: GPS Element Parsed {"raw_longitude":760220160,"raw_latitude":105796880,"longitude_deg":76.022016,"latitude_deg":10.579688,"altitude":15,"angle":228,"satellites":48,"speed":0,"hex_longitude":"2d500a00","hex_latitude":"064e5510","is_valid_coordinates":true} 
[2026-07-15 02:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719998464001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135990497226260480,"note":"Value kept but may cause issues"} 
[2026-07-15 02:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5767422299885342720,"note":"Value kept but may cause issues"} 
[2026-07-15 02:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784062795000,"timestamp_ms":1784062795000,"timestamp_seconds":1784062795,"priority":1,"record_length":96,"hex_timestamp":"0000019f626ddcf8"} 
[2026-07-15 02:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 02:31:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":131950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":131950,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":131950,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719998464001,"66":25625,"35":206,"19":38144,"24":0,"16":135990497226260480,"45":5767422299885342720},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-07-15 02:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719998464001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:31:15] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-15 02:31:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135990497226260480,"km_value":135990497226260.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":5767422299885342720,"description":"Unknown IO ID 45"} 
[2026-07-15 02:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719998464001,"power":25625,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5767422299885342720}} 
[2026-07-15 02:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":131950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489129,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:31:15] local.INFO: GPS data processed {"connection_id":131950,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:31:15] local.INFO: Acknowledgment sent {"connection_id":131950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:31:41] local.INFO: TCP Data received {"connection_id":134338,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134338,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:31:41] local.INFO: Processing buffer {"connection_id":134338,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:31:41] local.INFO: IMEI packet received {"connection_id":134338,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 02:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":134338,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:31:42] local.INFO: TCP Data received {"connection_id":132130,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f626d4c70012d7f92c005afd830000000502c..."} 
[2026-07-15 02:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f626d4c70012d7f92c005afd830000000502c..."} 
[2026-07-15 02:31:42] local.INFO: Processing buffer {"connection_id":132130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f626d4c70012d7f92c005afd830000000502c..."} 
[2026-07-15 02:31:42] local.INFO: Packet analysis {"connection_id":132130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f626d"} 
[2026-07-15 02:31:42] local.INFO: Extracted packet for processing {"connection_id":132130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f626d"} 
[2026-07-15 02:31:42] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719988992001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784062758000,"timestamp_ms":1784062758000,"timestamp_seconds":1784062758,"priority":1,"record_length":96,"hex_timestamp":"0000019f626d4c70"} 
[2026-07-15 02:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 02:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719988992001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719988992001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:31:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:31:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719988992001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":132130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:31:42] local.INFO: GPS data processed {"connection_id":132130,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:31:42] local.INFO: Acknowledgment sent {"connection_id":132130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:31:46] local.INFO: TCP Data received {"connection_id":134338,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134338,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:31:46] local.INFO: Processing buffer {"connection_id":134338,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:31:46] local.INFO: IMEI packet received {"connection_id":134338,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 02:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":134338,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:31:48] local.INFO: TCP Data received {"connection_id":134338,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f626ddcf8012d500a00064e5510000f00e430..."} 
[2026-07-15 02:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f626ddcf8012d500a00064e5510000f00e430..."} 
[2026-07-15 02:31:48] local.INFO: Processing buffer {"connection_id":134338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f626ddcf8012d500a00064e5510000f00e430..."} 
[2026-07-15 02:31:48] local.INFO: Packet analysis {"connection_id":134338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f626d"} 
[2026-07-15 02:31:48] local.INFO: Extracted packet for processing {"connection_id":134338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f626d"} 
[2026-07-15 02:31:48] local.INFO: GPS Element Parsed {"raw_longitude":760220160,"raw_latitude":105796880,"longitude_deg":76.022016,"latitude_deg":10.579688,"altitude":15,"angle":228,"satellites":48,"speed":0,"hex_longitude":"2d500a00","hex_latitude":"064e5510","is_valid_coordinates":true} 
[2026-07-15 02:31: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-07-15 02:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719998464001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135990497226260480,"note":"Value kept but may cause issues"} 
[2026-07-15 02:31:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5767422299885342720,"note":"Value kept but may cause issues"} 
[2026-07-15 02:31:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784062795000,"timestamp_ms":1784062795000,"timestamp_seconds":1784062795,"priority":1,"record_length":96,"hex_timestamp":"0000019f626ddcf8"} 
[2026-07-15 02:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:31: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-07-15 02:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 02:31:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:31: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-07-15 02:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":134338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":134338,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":134338,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:31:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719998464001,"66":25625,"35":206,"19":38144,"24":0,"16":135990497226260480,"45":5767422299885342720},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-07-15 02:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719998464001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:31:48] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-15 02:31:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135990497226260480,"km_value":135990497226260.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5767422299885342720,"description":"Unknown IO ID 45"} 
[2026-07-15 02:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719998464001,"power":25625,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5767422299885342720}} 
[2026-07-15 02:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":134338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489131,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:31:48] local.INFO: GPS data processed {"connection_id":134338,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:31:48] local.INFO: Acknowledgment sent {"connection_id":134338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:31:51] local.INFO: TCP Data received {"connection_id":134338,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f626ddcf8012d500a00064e5510000f00e430..."} 
[2026-07-15 02:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f626ddcf8012d500a00064e5510000f00e430..."} 
[2026-07-15 02:31:51] local.INFO: Processing buffer {"connection_id":134338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f626ddcf8012d500a00064e5510000f00e430..."} 
[2026-07-15 02:31:51] local.INFO: Packet analysis {"connection_id":134338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f626d"} 
[2026-07-15 02:31:51] local.INFO: Extracted packet for processing {"connection_id":134338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f626d"} 
[2026-07-15 02:31:51] local.INFO: GPS Element Parsed {"raw_longitude":760220160,"raw_latitude":105796880,"longitude_deg":76.022016,"latitude_deg":10.579688,"altitude":15,"angle":228,"satellites":48,"speed":0,"hex_longitude":"2d500a00","hex_latitude":"064e5510","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719998464001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135990497226260480,"note":"Value kept but may cause issues"} 
[2026-07-15 02:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5767422299885342720,"note":"Value kept but may cause issues"} 
[2026-07-15 02:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784062795000,"timestamp_ms":1784062795000,"timestamp_seconds":1784062795,"priority":1,"record_length":96,"hex_timestamp":"0000019f626ddcf8"} 
[2026-07-15 02:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02: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-07-15 02: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 02:31:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":134338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":134338,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":134338,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:31:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719998464001,"66":25625,"35":206,"19":38144,"24":0,"16":135990497226260480,"45":5767422299885342720},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-07-15 02:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719998464001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:31:51] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-15 02:31:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135990497226260480,"km_value":135990497226260.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5767422299885342720,"description":"Unknown IO ID 45"} 
[2026-07-15 02:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719998464001,"power":25625,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5767422299885342720}} 
[2026-07-15 02:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":134338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489132,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:31:51] local.INFO: GPS data processed {"connection_id":134338,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:31:51] local.INFO: Acknowledgment sent {"connection_id":134338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:32:02] local.INFO: TCP Data received {"connection_id":131951,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:32:02] local.INFO: Processing buffer {"connection_id":131951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:32:02] local.INFO: IMEI packet received {"connection_id":131951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":131951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:32:07] local.INFO: TCP Data received {"connection_id":131951,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:32:07] local.INFO: Processing buffer {"connection_id":131951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:32:07] local.INFO: IMEI packet received {"connection_id":131951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":131951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:32:08] local.INFO: TCP Data received {"connection_id":131951,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f626d4c70012d7f92c005afd830000000502c..."} 
[2026-07-15 02:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f626d4c70012d7f92c005afd830000000502c..."} 
[2026-07-15 02:32:08] local.INFO: Processing buffer {"connection_id":131951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f626d4c70012d7f92c005afd830000000502c..."} 
[2026-07-15 02:32:08] local.INFO: Packet analysis {"connection_id":131951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f626d"} 
[2026-07-15 02:32:08] local.INFO: Extracted packet for processing {"connection_id":131951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f626d"} 
[2026-07-15 02:32:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719988992001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784062758000,"timestamp_ms":1784062758000,"timestamp_seconds":1784062758,"priority":1,"record_length":96,"hex_timestamp":"0000019f626d4c70"} 
[2026-07-15 02:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 02:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":131951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":131951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":131951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719988992001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719988992001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:32:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:32:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719988992001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":131951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:32:08] local.INFO: GPS data processed {"connection_id":131951,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:32:08] local.INFO: Acknowledgment sent {"connection_id":131951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:32:36] local.INFO: TCP Data received {"connection_id":132973,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132973,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:32:36] local.INFO: Processing buffer {"connection_id":132973,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:32:36] local.INFO: IMEI packet received {"connection_id":132973,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 02:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":132973,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:32:39] local.INFO: TCP Data received {"connection_id":131951,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f626d4c70012d7f92c005afd830000000502c..."} 
[2026-07-15 02:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f626d4c70012d7f92c005afd830000000502c..."} 
[2026-07-15 02:32:39] local.INFO: Processing buffer {"connection_id":131951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f626d4c70012d7f92c005afd830000000502c..."} 
[2026-07-15 02:32:39] local.INFO: Packet analysis {"connection_id":131951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f626d"} 
[2026-07-15 02:32:39] local.INFO: Extracted packet for processing {"connection_id":131951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f626d"} 
[2026-07-15 02:32:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719988992001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784062758000,"timestamp_ms":1784062758000,"timestamp_seconds":1784062758,"priority":1,"record_length":96,"hex_timestamp":"0000019f626d4c70"} 
[2026-07-15 02:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 02:32:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:32:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":131951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":131951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":131951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719988992001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719988992001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:32:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:32:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719988992001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":131951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:32:39] local.INFO: GPS data processed {"connection_id":131951,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:32:39] local.INFO: Acknowledgment sent {"connection_id":131951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:32:41] local.INFO: TCP Data received {"connection_id":132973,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132973,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:32:41] local.INFO: Processing buffer {"connection_id":132973,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:32:41] local.INFO: IMEI packet received {"connection_id":132973,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 02:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":132973,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:32:42] local.INFO: TCP Data received {"connection_id":132973,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f626ddcf8012d500a00064e5510000f00e430..."} 
[2026-07-15 02:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f626ddcf8012d500a00064e5510000f00e430..."} 
[2026-07-15 02:32:42] local.INFO: Processing buffer {"connection_id":132973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f626ddcf8012d500a00064e5510000f00e430..."} 
[2026-07-15 02:32:42] local.INFO: Packet analysis {"connection_id":132973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f626d"} 
[2026-07-15 02:32:42] local.INFO: Extracted packet for processing {"connection_id":132973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f626d"} 
[2026-07-15 02:32:42] local.INFO: GPS Element Parsed {"raw_longitude":760220160,"raw_latitude":105796880,"longitude_deg":76.022016,"latitude_deg":10.579688,"altitude":15,"angle":228,"satellites":48,"speed":0,"hex_longitude":"2d500a00","hex_latitude":"064e5510","is_valid_coordinates":true} 
[2026-07-15 02:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719998464001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135990497226260480,"note":"Value kept but may cause issues"} 
[2026-07-15 02:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5767422299885342720,"note":"Value kept but may cause issues"} 
[2026-07-15 02:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784062795000,"timestamp_ms":1784062795000,"timestamp_seconds":1784062795,"priority":1,"record_length":96,"hex_timestamp":"0000019f626ddcf8"} 
[2026-07-15 02:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:32: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-07-15 02:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 02:32:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:32:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132973,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132973,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719998464001,"66":25625,"35":206,"19":38144,"24":0,"16":135990497226260480,"45":5767422299885342720},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-07-15 02:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719998464001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:32:42] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-15 02:32:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135990497226260480,"km_value":135990497226260.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":5767422299885342720,"description":"Unknown IO ID 45"} 
[2026-07-15 02:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719998464001,"power":25625,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5767422299885342720}} 
[2026-07-15 02:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":132973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489135,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:32:42] local.INFO: GPS data processed {"connection_id":132973,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:32:42] local.INFO: Acknowledgment sent {"connection_id":132973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:33:02] local.INFO: TCP Data received {"connection_id":131952,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:33:02] local.INFO: Processing buffer {"connection_id":131952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:33:02] local.INFO: IMEI packet received {"connection_id":131952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":131952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:33:07] local.INFO: TCP Data received {"connection_id":131952,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:33:07] local.INFO: Processing buffer {"connection_id":131952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:33:07] local.INFO: IMEI packet received {"connection_id":131952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":131952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:33:08] local.INFO: TCP Data received {"connection_id":131952,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f626d4c70012d7f92c005afd830000000502c..."} 
[2026-07-15 02:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f626d4c70012d7f92c005afd830000000502c..."} 
[2026-07-15 02:33:08] local.INFO: Processing buffer {"connection_id":131952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f626d4c70012d7f92c005afd830000000502c..."} 
[2026-07-15 02:33:08] local.INFO: Packet analysis {"connection_id":131952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f626d"} 
[2026-07-15 02:33:08] local.INFO: Extracted packet for processing {"connection_id":131952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f626d"} 
[2026-07-15 02:33:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719988992001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784062758000,"timestamp_ms":1784062758000,"timestamp_seconds":1784062758,"priority":1,"record_length":96,"hex_timestamp":"0000019f626d4c70"} 
[2026-07-15 02:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 02:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:33:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":131952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":131952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":131952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719988992001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719988992001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:33:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:33:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719988992001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":131952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:33:08] local.INFO: GPS data processed {"connection_id":131952,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:33:08] local.INFO: Acknowledgment sent {"connection_id":131952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:33:14] local.INFO: TCP Data received {"connection_id":132973,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f626ddcf8012d500a00064e5510000f00e430..."} 
[2026-07-15 02:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f626ddcf8012d500a00064e5510000f00e430..."} 
[2026-07-15 02:33:14] local.INFO: Processing buffer {"connection_id":132973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f626ddcf8012d500a00064e5510000f00e430..."} 
[2026-07-15 02:33:14] local.INFO: Packet analysis {"connection_id":132973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f626d"} 
[2026-07-15 02:33:14] local.INFO: Extracted packet for processing {"connection_id":132973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f626d"} 
[2026-07-15 02:33:14] local.INFO: GPS Element Parsed {"raw_longitude":760220160,"raw_latitude":105796880,"longitude_deg":76.022016,"latitude_deg":10.579688,"altitude":15,"angle":228,"satellites":48,"speed":0,"hex_longitude":"2d500a00","hex_latitude":"064e5510","is_valid_coordinates":true} 
[2026-07-15 02:33: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-07-15 02:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719998464001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135990497226260480,"note":"Value kept but may cause issues"} 
[2026-07-15 02:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5767422299885342720,"note":"Value kept but may cause issues"} 
[2026-07-15 02:33:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784062795000,"timestamp_ms":1784062795000,"timestamp_seconds":1784062795,"priority":1,"record_length":96,"hex_timestamp":"0000019f626ddcf8"} 
[2026-07-15 02:33:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:33:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:33: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 02:33:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:33: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-07-15 02:33:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":132973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":132973,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":132973,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:33:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719998464001,"66":25625,"35":206,"19":38144,"24":0,"16":135990497226260480,"45":5767422299885342720},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-07-15 02:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719998464001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:33:14] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-15 02:33:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135990497226260480,"km_value":135990497226260.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5767422299885342720,"description":"Unknown IO ID 45"} 
[2026-07-15 02:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719998464001,"power":25625,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5767422299885342720}} 
[2026-07-15 02:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":132973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489137,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:33:14] local.INFO: GPS data processed {"connection_id":132973,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:33:14] local.INFO: Acknowledgment sent {"connection_id":132973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:33:35] local.INFO: TCP Data received {"connection_id":134339,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134339,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:33:35] local.INFO: Processing buffer {"connection_id":134339,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:33:35] local.INFO: IMEI packet received {"connection_id":134339,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 02:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":134339,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:33:39] local.INFO: TCP Data received {"connection_id":131952,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f626d4c70012d7f92c005afd830000000502c..."} 
[2026-07-15 02:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f626d4c70012d7f92c005afd830000000502c..."} 
[2026-07-15 02:33:39] local.INFO: Processing buffer {"connection_id":131952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f626d4c70012d7f92c005afd830000000502c..."} 
[2026-07-15 02:33:39] local.INFO: Packet analysis {"connection_id":131952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f626d"} 
[2026-07-15 02:33:39] local.INFO: Extracted packet for processing {"connection_id":131952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f626d"} 
[2026-07-15 02:33:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719988992001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784062758000,"timestamp_ms":1784062758000,"timestamp_seconds":1784062758,"priority":1,"record_length":96,"hex_timestamp":"0000019f626d4c70"} 
[2026-07-15 02:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 02:33:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:33:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":131952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":131952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":131952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719988992001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719988992001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:33:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:33:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719988992001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":131952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:33:39] local.INFO: GPS data processed {"connection_id":131952,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:33:39] local.INFO: Acknowledgment sent {"connection_id":131952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:33:41] local.INFO: TCP Data received {"connection_id":134339,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134339,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:33:41] local.INFO: Processing buffer {"connection_id":134339,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:33:41] local.INFO: IMEI packet received {"connection_id":134339,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 02:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":134339,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:33:41] local.INFO: TCP Data received {"connection_id":134339,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62707120012d500a00064e5510000f00e430..."} 
[2026-07-15 02:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62707120012d500a00064e5510000f00e430..."} 
[2026-07-15 02:33:41] local.INFO: Processing buffer {"connection_id":134339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62707120012d500a00064e5510000f00e430..."} 
[2026-07-15 02:33:41] local.INFO: Packet analysis {"connection_id":134339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6270"} 
[2026-07-15 02:33:41] local.INFO: Extracted packet for processing {"connection_id":134339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6270"} 
[2026-07-15 02:33:41] local.INFO: GPS Element Parsed {"raw_longitude":760220160,"raw_latitude":105796880,"longitude_deg":76.022016,"latitude_deg":10.579688,"altitude":15,"angle":228,"satellites":48,"speed":0,"hex_longitude":"2d500a00","hex_latitude":"064e5510","is_valid_coordinates":true} 
[2026-07-15 02:33: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-07-15 02:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720075520001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135990497226260480,"note":"Value kept but may cause issues"} 
[2026-07-15 02:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5767422299885342720,"note":"Value kept but may cause issues"} 
[2026-07-15 02:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784062964000,"timestamp_ms":1784062964000,"timestamp_seconds":1784062964,"priority":1,"record_length":96,"hex_timestamp":"0000019f62707120"} 
[2026-07-15 02:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:33:41] 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-07-15 02:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 02:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":134339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":134339,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":134339,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720075520001,"66":25625,"35":206,"19":38144,"24":0,"16":135990497226260480,"45":5767422299885342720},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-07-15 02:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720075520001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:33:41] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-15 02:33:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135990497226260480,"km_value":135990497226260.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":5767422299885342720,"description":"Unknown IO ID 45"} 
[2026-07-15 02:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720075520001,"power":25625,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5767422299885342720}} 
[2026-07-15 02:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":134339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489139,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:33:42] local.INFO: GPS data processed {"connection_id":134339,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:33:42] local.INFO: Acknowledgment sent {"connection_id":134339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:34:02] local.INFO: TCP Data received {"connection_id":132131,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:34:02] local.INFO: Processing buffer {"connection_id":132131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:34:02] local.INFO: IMEI packet received {"connection_id":132131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":132131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:34:07] local.INFO: TCP Data received {"connection_id":132131,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:34:07] local.INFO: Processing buffer {"connection_id":132131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:34:07] local.INFO: IMEI packet received {"connection_id":132131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":132131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:34:08] local.INFO: TCP Data received {"connection_id":132131,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f626d4c70012d7f92c005afd830000000502c..."} 
[2026-07-15 02:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f626d4c70012d7f92c005afd830000000502c..."} 
[2026-07-15 02:34:08] local.INFO: Processing buffer {"connection_id":132131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f626d4c70012d7f92c005afd830000000502c..."} 
[2026-07-15 02:34:08] local.INFO: Packet analysis {"connection_id":132131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f626d"} 
[2026-07-15 02:34:08] local.INFO: Extracted packet for processing {"connection_id":132131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f626d"} 
[2026-07-15 02:34:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719988992001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784062758000,"timestamp_ms":1784062758000,"timestamp_seconds":1784062758,"priority":1,"record_length":96,"hex_timestamp":"0000019f626d4c70"} 
[2026-07-15 02:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 02:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719988992001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719988992001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:34:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:34:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719988992001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":132131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:34:08] local.INFO: GPS data processed {"connection_id":132131,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:34:08] local.INFO: Acknowledgment sent {"connection_id":132131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:34:14] local.INFO: TCP Data received {"connection_id":134339,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6270d2c8012d500b80064e5500000f00e430..."} 
[2026-07-15 02:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6270d2c8012d500b80064e5500000f00e430..."} 
[2026-07-15 02:34:14] local.INFO: Processing buffer {"connection_id":134339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6270d2c8012d500b80064e5500000f00e430..."} 
[2026-07-15 02:34:14] local.INFO: Packet analysis {"connection_id":134339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6270"} 
[2026-07-15 02:34:14] local.INFO: Extracted packet for processing {"connection_id":134339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6270"} 
[2026-07-15 02:34:14] local.INFO: GPS Element Parsed {"raw_longitude":760220544,"raw_latitude":105796864,"longitude_deg":76.0220544,"latitude_deg":10.5796864,"altitude":15,"angle":228,"satellites":48,"speed":0,"hex_longitude":"2d500b80","hex_latitude":"064e5500","is_valid_coordinates":true} 
[2026-07-15 02:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:34:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720118784001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:34:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135990497226260480,"note":"Value kept but may cause issues"} 
[2026-07-15 02:34:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5767422299885342720,"note":"Value kept but may cause issues"} 
[2026-07-15 02:34:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:34:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784062989000,"timestamp_ms":1784062989000,"timestamp_seconds":1784062989,"priority":1,"record_length":96,"hex_timestamp":"0000019f6270d2c8"} 
[2026-07-15 02:34:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:34:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 02:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 02:34:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:34:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:34:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:34:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:34:14] local.INFO: Teltonika packet parsed successfully {"connection_id":134339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:34:14] local.INFO: Passing IMEI to GPS processor {"connection_id":134339,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:34:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":134339,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:34:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:34:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:34:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:34:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720118784001,"66":25419,"35":206,"19":38144,"24":0,"16":135990497226260480,"45":5767422299885342720},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-07-15 02:34:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:34:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:34:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720118784001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:34:14] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-15 02:34:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:34:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135990497226260480,"km_value":135990497226260.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:34:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5767422299885342720,"description":"Unknown IO ID 45"} 
[2026-07-15 02:34:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720118784001,"power":25419,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5767422299885342720}} 
[2026-07-15 02:34:14] local.INFO: DEBUG: GPS processor result {"connection_id":134339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489141,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:34:14] local.INFO: GPS data processed {"connection_id":134339,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:34:14] local.INFO: Acknowledgment sent {"connection_id":134339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:34:39] local.INFO: TCP Data received {"connection_id":132131,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f626d4c70012d7f92c005afd830000000502c..."} 
[2026-07-15 02:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f626d4c70012d7f92c005afd830000000502c..."} 
[2026-07-15 02:34:39] local.INFO: Processing buffer {"connection_id":132131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f626d4c70012d7f92c005afd830000000502c..."} 
[2026-07-15 02:34:39] local.INFO: Packet analysis {"connection_id":132131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f626d"} 
[2026-07-15 02:34:39] local.INFO: Extracted packet for processing {"connection_id":132131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f626d"} 
[2026-07-15 02:34:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456719988992001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784062758000,"timestamp_ms":1784062758000,"timestamp_seconds":1784062758,"priority":1,"record_length":96,"hex_timestamp":"0000019f626d4c70"} 
[2026-07-15 02:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 02:34:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456719988992001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456719988992001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:34:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:34:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456719988992001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":132131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:34:39] local.INFO: GPS data processed {"connection_id":132131,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:34:39] local.INFO: Acknowledgment sent {"connection_id":132131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:34:41] local.INFO: TCP Data received {"connection_id":132974,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132974,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:34:41] local.INFO: Processing buffer {"connection_id":132974,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:34:41] local.INFO: IMEI packet received {"connection_id":132974,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 02:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":132974,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:34:46] local.INFO: TCP Data received {"connection_id":132974,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132974,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:34:46] local.INFO: Processing buffer {"connection_id":132974,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:34:46] local.INFO: IMEI packet received {"connection_id":132974,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 02:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":132974,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:34:47] local.INFO: TCP Data received {"connection_id":132974,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f627124d0012d500b80064e5500000f00e430..."} 
[2026-07-15 02:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f627124d0012d500b80064e5500000f00e430..."} 
[2026-07-15 02:34:47] local.INFO: Processing buffer {"connection_id":132974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f627124d0012d500b80064e5500000f00e430..."} 
[2026-07-15 02:34:47] local.INFO: Packet analysis {"connection_id":132974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6271"} 
[2026-07-15 02:34:47] local.INFO: Extracted packet for processing {"connection_id":132974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6271"} 
[2026-07-15 02:34:47] local.INFO: GPS Element Parsed {"raw_longitude":760220544,"raw_latitude":105796864,"longitude_deg":76.0220544,"latitude_deg":10.5796864,"altitude":15,"angle":228,"satellites":48,"speed":0,"hex_longitude":"2d500b80","hex_latitude":"064e5500","is_valid_coordinates":true} 
[2026-07-15 02:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720125184001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135990497226260480,"note":"Value kept but may cause issues"} 
[2026-07-15 02:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5767844512350404608,"note":"Value kept but may cause issues"} 
[2026-07-15 02:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784063010000,"timestamp_ms":1784063010000,"timestamp_seconds":1784063010,"priority":1,"record_length":96,"hex_timestamp":"0000019f627124d0"} 
[2026-07-15 02:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 02:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-15 02:34:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:34:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":132974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":132974,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":132974,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720125184001,"66":27821,"35":206,"19":38144,"24":0,"16":135990497226260480,"45":5767844512350404608},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-07-15 02:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720125184001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:34:47] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-15 02:34:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135990497226260480,"km_value":135990497226260.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":5767844512350404608,"description":"Unknown IO ID 45"} 
[2026-07-15 02:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720125184001,"power":27821,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5767844512350404608}} 
[2026-07-15 02:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":132974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489143,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:34:47] local.INFO: GPS data processed {"connection_id":132974,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:34:47] local.INFO: Acknowledgment sent {"connection_id":132974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:34:50] local.INFO: TCP Data received {"connection_id":132974,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f627176d8012d500b80064e5500000f00e430..."} 
[2026-07-15 02:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f627176d8012d500b80064e5500000f00e430..."} 
[2026-07-15 02:34:50] local.INFO: Processing buffer {"connection_id":132974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f627176d8012d500b80064e5500000f00e430..."} 
[2026-07-15 02:34:50] local.INFO: Packet analysis {"connection_id":132974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6271"} 
[2026-07-15 02:34:50] local.INFO: Extracted packet for processing {"connection_id":132974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6271"} 
[2026-07-15 02:34:50] local.INFO: GPS Element Parsed {"raw_longitude":760220544,"raw_latitude":105796864,"longitude_deg":76.0220544,"latitude_deg":10.5796864,"altitude":15,"angle":228,"satellites":48,"speed":0,"hex_longitude":"2d500b80","hex_latitude":"064e5500","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720130560001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135990497226260480,"note":"Value kept but may cause issues"} 
[2026-07-15 02:34:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5767844512350404608,"note":"Value kept but may cause issues"} 
[2026-07-15 02:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784063031000,"timestamp_ms":1784063031000,"timestamp_seconds":1784063031,"priority":1,"record_length":96,"hex_timestamp":"0000019f627176d8"} 
[2026-07-15 02:34:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:34:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 02:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 02:34:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:34:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":132974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":132974,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":132974,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:34:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720130560001,"66":27941,"35":206,"19":38144,"24":0,"16":135990497226260480,"45":5767844512350404608},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-07-15 02:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720130560001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:34:50] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-15 02:34:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135990497226260480,"km_value":135990497226260.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:34:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5767844512350404608,"description":"Unknown IO ID 45"} 
[2026-07-15 02:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720130560001,"power":27941,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5767844512350404608}} 
[2026-07-15 02:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":132974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489144,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:34:50] local.INFO: GPS data processed {"connection_id":132974,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:34:50] local.INFO: Acknowledgment sent {"connection_id":132974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:35:07] local.INFO: TCP Data received {"connection_id":131953,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:35:07] local.INFO: Processing buffer {"connection_id":131953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:35:07] local.INFO: IMEI packet received {"connection_id":131953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":131953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:35:12] local.INFO: TCP Data received {"connection_id":131953,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:35:12] local.INFO: Processing buffer {"connection_id":131953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:35:12] local.INFO: IMEI packet received {"connection_id":131953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":131953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:35:13] local.INFO: TCP Data received {"connection_id":131953,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6271e438012d7f92c005afd830000000502a..."} 
[2026-07-15 02:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6271e438012d7f92c005afd830000000502a..."} 
[2026-07-15 02:35:13] local.INFO: Processing buffer {"connection_id":131953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6271e438012d7f92c005afd830000000502a..."} 
[2026-07-15 02:35:13] local.INFO: Packet analysis {"connection_id":131953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6271"} 
[2026-07-15 02:35:13] local.INFO: Extracted packet for processing {"connection_id":131953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6271"} 
[2026-07-15 02:35:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720066048001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784063059000,"timestamp_ms":1784063059000,"timestamp_seconds":1784063059,"priority":1,"record_length":96,"hex_timestamp":"0000019f6271e438"} 
[2026-07-15 02:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:35:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 02:35:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:35:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":131953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":131953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":131953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720066048001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720066048001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:35:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:35:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720066048001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":131953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:35:13] local.INFO: GPS data processed {"connection_id":131953,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:35:13] local.INFO: Acknowledgment sent {"connection_id":131953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:35:17] local.INFO: TCP Data received {"connection_id":131953,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6271e438012d7f92c005afd830000000502a..."} 
[2026-07-15 02:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6271e438012d7f92c005afd830000000502a..."} 
[2026-07-15 02:35:17] local.INFO: Processing buffer {"connection_id":131953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6271e438012d7f92c005afd830000000502a..."} 
[2026-07-15 02:35:17] local.INFO: Packet analysis {"connection_id":131953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6271"} 
[2026-07-15 02:35:17] local.INFO: Extracted packet for processing {"connection_id":131953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6271"} 
[2026-07-15 02:35:17] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720066048001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:35:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784063059000,"timestamp_ms":1784063059000,"timestamp_seconds":1784063059,"priority":1,"record_length":96,"hex_timestamp":"0000019f6271e438"} 
[2026-07-15 02:35:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:35:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 02:35:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:35:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":131953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":131953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":131953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:35:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720066048001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720066048001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:35:17] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:35:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720066048001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":131953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:35:17] local.INFO: GPS data processed {"connection_id":131953,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:35:17] local.INFO: Acknowledgment sent {"connection_id":131953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:35:36] local.INFO: TCP Data received {"connection_id":132132,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132132,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:35:36] local.INFO: Processing buffer {"connection_id":132132,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:35:36] local.INFO: IMEI packet received {"connection_id":132132,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 02:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":132132,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:35:41] local.INFO: TCP Data received {"connection_id":132132,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132132,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:35:41] local.INFO: Processing buffer {"connection_id":132132,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:35:41] local.INFO: IMEI packet received {"connection_id":132132,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 02:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":132132,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:35:46] local.INFO: TCP Data received {"connection_id":132132,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6271c8e0012d500b80064e5500000f00e430..."} 
[2026-07-15 02:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6271c8e0012d500b80064e5500000f00e430..."} 
[2026-07-15 02:35:46] local.INFO: Processing buffer {"connection_id":132132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6271c8e0012d500b80064e5500000f00e430..."} 
[2026-07-15 02:35:46] local.INFO: Packet analysis {"connection_id":132132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6271"} 
[2026-07-15 02:35:46] local.INFO: Extracted packet for processing {"connection_id":132132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6271"} 
[2026-07-15 02:35:46] local.INFO: GPS Element Parsed {"raw_longitude":760220544,"raw_latitude":105796864,"longitude_deg":76.0220544,"latitude_deg":10.5796864,"altitude":15,"angle":228,"satellites":48,"speed":0,"hex_longitude":"2d500b80","hex_latitude":"064e5500","is_valid_coordinates":true} 
[2026-07-15 02:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720135936001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135990497226260480,"note":"Value kept but may cause issues"} 
[2026-07-15 02:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5767844512350404608,"note":"Value kept but may cause issues"} 
[2026-07-15 02:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784063052000,"timestamp_ms":1784063052000,"timestamp_seconds":1784063052,"priority":1,"record_length":96,"hex_timestamp":"0000019f6271c8e0"} 
[2026-07-15 02:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 02:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-15 02:35:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1076,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:35:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132132,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132132,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720135936001,"66":27908,"35":206,"19":38144,"24":0,"16":135990497226260480,"45":5767844512350404608},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-07-15 02:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720135936001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:35:46] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-15 02:35:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135990497226260480,"km_value":135990497226260.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":5767844512350404608,"description":"Unknown IO ID 45"} 
[2026-07-15 02:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720135936001,"power":27908,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5767844512350404608}} 
[2026-07-15 02:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":132132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489147,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:35:46] local.INFO: GPS data processed {"connection_id":132132,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:35:46] local.INFO: Acknowledgment sent {"connection_id":132132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:36:02] local.INFO: TCP Data received {"connection_id":132975,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:36:02] local.INFO: Processing buffer {"connection_id":132975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:36:02] local.INFO: IMEI packet received {"connection_id":132975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":132975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:36:07] local.INFO: TCP Data received {"connection_id":132975,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:36:07] local.INFO: Processing buffer {"connection_id":132975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:36:07] local.INFO: IMEI packet received {"connection_id":132975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":132975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:36:08] local.INFO: TCP Data received {"connection_id":132975,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6271e438012d7f92c005afd830000000502a..."} 
[2026-07-15 02:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6271e438012d7f92c005afd830000000502a..."} 
[2026-07-15 02:36:08] local.INFO: Processing buffer {"connection_id":132975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6271e438012d7f92c005afd830000000502a..."} 
[2026-07-15 02:36:08] local.INFO: Packet analysis {"connection_id":132975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6271"} 
[2026-07-15 02:36:08] local.INFO: Extracted packet for processing {"connection_id":132975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6271"} 
[2026-07-15 02:36:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720066048001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784063059000,"timestamp_ms":1784063059000,"timestamp_seconds":1784063059,"priority":1,"record_length":96,"hex_timestamp":"0000019f6271e438"} 
[2026-07-15 02:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 02:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720066048001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720066048001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:36:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:36:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720066048001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":132975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:36:08] local.INFO: GPS data processed {"connection_id":132975,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:36:08] local.INFO: Acknowledgment sent {"connection_id":132975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:36:19] local.INFO: TCP Data received {"connection_id":132132,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62721ae8012d500b80064e5500000f00e430..."} 
[2026-07-15 02:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62721ae8012d500b80064e5500000f00e430..."} 
[2026-07-15 02:36:19] local.INFO: Processing buffer {"connection_id":132132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62721ae8012d500b80064e5500000f00e430..."} 
[2026-07-15 02:36:19] local.INFO: Packet analysis {"connection_id":132132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6272"} 
[2026-07-15 02:36:19] local.INFO: Extracted packet for processing {"connection_id":132132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6272"} 
[2026-07-15 02:36:19] local.INFO: GPS Element Parsed {"raw_longitude":760220544,"raw_latitude":105796864,"longitude_deg":76.0220544,"latitude_deg":10.5796864,"altitude":15,"angle":228,"satellites":48,"speed":0,"hex_longitude":"2d500b80","hex_latitude":"064e5500","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720141312001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:36:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135990497226260480,"note":"Value kept but may cause issues"} 
[2026-07-15 02:36:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5767844512350404608,"note":"Value kept but may cause issues"} 
[2026-07-15 02:36:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:36:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784063073000,"timestamp_ms":1784063073000,"timestamp_seconds":1784063073,"priority":1,"record_length":96,"hex_timestamp":"0000019f62721ae8"} 
[2026-07-15 02:36:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:36: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-07-15 02: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 02:36:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:36:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:36:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:36:19] local.INFO: Teltonika packet parsed successfully {"connection_id":132132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:36:19] local.INFO: Passing IMEI to GPS processor {"connection_id":132132,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:36:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":132132,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:36:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:36:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:36:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:36:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720141312001,"66":28028,"35":206,"19":38144,"24":0,"16":135990497226260480,"45":5767844512350404608},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-07-15 02:36:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:36:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:36:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720141312001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:36:19] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-15 02:36:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:36:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135990497226260480,"km_value":135990497226260.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:36:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5767844512350404608,"description":"Unknown IO ID 45"} 
[2026-07-15 02:36:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720141312001,"power":28028,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5767844512350404608}} 
[2026-07-15 02:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":132132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489149,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:36:19] local.INFO: GPS data processed {"connection_id":132132,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:36:19] local.INFO: Acknowledgment sent {"connection_id":132132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:36:36] local.INFO: TCP Data received {"connection_id":132133,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132133,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:36:36] local.INFO: Processing buffer {"connection_id":132133,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:36:36] local.INFO: IMEI packet received {"connection_id":132133,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 02:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":132133,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:36:39] local.INFO: TCP Data received {"connection_id":132975,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6271e438012d7f92c005afd830000000502a..."} 
[2026-07-15 02:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6271e438012d7f92c005afd830000000502a..."} 
[2026-07-15 02:36:39] local.INFO: Processing buffer {"connection_id":132975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6271e438012d7f92c005afd830000000502a..."} 
[2026-07-15 02:36:39] local.INFO: Packet analysis {"connection_id":132975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6271"} 
[2026-07-15 02:36:39] local.INFO: Extracted packet for processing {"connection_id":132975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6271"} 
[2026-07-15 02:36:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720066048001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784063059000,"timestamp_ms":1784063059000,"timestamp_seconds":1784063059,"priority":1,"record_length":96,"hex_timestamp":"0000019f6271e438"} 
[2026-07-15 02:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:36:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 02:36:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:36:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:36:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720066048001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720066048001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:36:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:36:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720066048001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":132975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:36:39] local.INFO: GPS data processed {"connection_id":132975,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:36:39] local.INFO: Acknowledgment sent {"connection_id":132975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:36:42] local.INFO: TCP Data received {"connection_id":132133,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132133,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:36:42] local.INFO: Processing buffer {"connection_id":132133,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:36:42] local.INFO: IMEI packet received {"connection_id":132133,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 02:36:42] local.INFO: IMEI acknowledgment sent {"connection_id":132133,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:36:44] local.INFO: TCP Data received {"connection_id":132133,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62726cf0012d4fd740064e31c0000600ec2f..."} 
[2026-07-15 02:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62726cf0012d4fd740064e31c0000600ec2f..."} 
[2026-07-15 02:36:44] local.INFO: Processing buffer {"connection_id":132133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62726cf0012d4fd740064e31c0000600ec2f..."} 
[2026-07-15 02:36:44] local.INFO: Packet analysis {"connection_id":132133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6272"} 
[2026-07-15 02:36:44] local.INFO: Extracted packet for processing {"connection_id":132133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6272"} 
[2026-07-15 02:36:44] local.INFO: GPS Element Parsed {"raw_longitude":760207168,"raw_latitude":105787840,"longitude_deg":76.0207168,"latitude_deg":10.578784,"altitude":6,"angle":236,"satellites":47,"speed":0,"hex_longitude":"2d4fd740","hex_latitude":"064e31c0","is_valid_coordinates":true} 
[2026-07-15 02:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720146688001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135990497226260480,"note":"Value kept but may cause issues"} 
[2026-07-15 02:36:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5767844512350404608,"note":"Value kept but may cause issues"} 
[2026-07-15 02:36:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784063094000,"timestamp_ms":1784063094000,"timestamp_seconds":1784063094,"priority":1,"record_length":96,"hex_timestamp":"0000019f62726cf0"} 
[2026-07-15 02:36:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:36:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 02:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-15 02:36:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:36:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:36:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":132133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":132133,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":132133,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:36:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720146688001,"66":27789,"35":206,"19":38144,"24":0,"16":135990497226260480,"45":5767844512350404608},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-07-15 02:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720146688001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:36:44] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-15 02:36:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135990497226260480,"km_value":135990497226260.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:36:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5767844512350404608,"description":"Unknown IO ID 45"} 
[2026-07-15 02:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720146688001,"power":27789,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5767844512350404608}} 
[2026-07-15 02:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":132133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489151,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:36:44] local.INFO: GPS data processed {"connection_id":132133,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:36:44] local.INFO: Acknowledgment sent {"connection_id":132133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:37:02] local.INFO: TCP Data received {"connection_id":131954,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:37:02] local.INFO: Processing buffer {"connection_id":131954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:37:02] local.INFO: IMEI packet received {"connection_id":131954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":131954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:37:07] local.INFO: TCP Data received {"connection_id":131954,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:37:07] local.INFO: Processing buffer {"connection_id":131954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:37:07] local.INFO: IMEI packet received {"connection_id":131954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":131954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:37:08] local.INFO: TCP Data received {"connection_id":131954,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6271e438012d7f92c005afd830000000502a..."} 
[2026-07-15 02:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6271e438012d7f92c005afd830000000502a..."} 
[2026-07-15 02:37:08] local.INFO: Processing buffer {"connection_id":131954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6271e438012d7f92c005afd830000000502a..."} 
[2026-07-15 02:37:08] local.INFO: Packet analysis {"connection_id":131954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6271"} 
[2026-07-15 02:37:08] local.INFO: Extracted packet for processing {"connection_id":131954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6271"} 
[2026-07-15 02:37:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720066048001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784063059000,"timestamp_ms":1784063059000,"timestamp_seconds":1784063059,"priority":1,"record_length":96,"hex_timestamp":"0000019f6271e438"} 
[2026-07-15 02:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 02:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":131954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":131954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":131954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720066048001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720066048001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:37:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:37:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720066048001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":131954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:37:08] local.INFO: GPS data processed {"connection_id":131954,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:37:08] local.INFO: Acknowledgment sent {"connection_id":131954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:37:17] local.INFO: TCP Data received {"connection_id":132133,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6272bef8012d4f9f80064e1dc8000800f530..."} 
[2026-07-15 02:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6272bef8012d4f9f80064e1dc8000800f530..."} 
[2026-07-15 02:37:17] local.INFO: Processing buffer {"connection_id":132133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6272bef8012d4f9f80064e1dc8000800f530..."} 
[2026-07-15 02:37:17] local.INFO: Packet analysis {"connection_id":132133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6272"} 
[2026-07-15 02:37:17] local.INFO: Extracted packet for processing {"connection_id":132133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6272"} 
[2026-07-15 02:37:17] local.INFO: GPS Element Parsed {"raw_longitude":760192896,"raw_latitude":105782728,"longitude_deg":76.0192896,"latitude_deg":10.5782728,"altitude":8,"angle":245,"satellites":48,"speed":0,"hex_longitude":"2d4f9f80","hex_latitude":"064e1dc8","is_valid_coordinates":true} 
[2026-07-15 02:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720152064001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135990497226260480,"note":"Value kept but may cause issues"} 
[2026-07-15 02:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5753137444814962688,"note":"Value kept but may cause issues"} 
[2026-07-15 02:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784063115000,"timestamp_ms":1784063115000,"timestamp_seconds":1784063115,"priority":1,"record_length":96,"hex_timestamp":"0000019f6272bef8"} 
[2026-07-15 02:37:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 02:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-15 02:37:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:37:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:37:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132133,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132133,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720152064001,"66":27876,"35":206,"19":38144,"24":0,"16":135990497226260480,"45":5753137444814962688},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-07-15 02:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720152064001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:37:17] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-15 02:37:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135990497226260480,"km_value":135990497226260.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5753137444814962688,"description":"Unknown IO ID 45"} 
[2026-07-15 02:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720152064001,"power":27876,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5753137444814962688}} 
[2026-07-15 02:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":132133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489153,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:37:17] local.INFO: GPS data processed {"connection_id":132133,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:37:17] local.INFO: Acknowledgment sent {"connection_id":132133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:37:35] local.INFO: TCP Data received {"connection_id":131955,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131955,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:37:35] local.INFO: Processing buffer {"connection_id":131955,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:37:35] local.INFO: IMEI packet received {"connection_id":131955,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 02:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":131955,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:37:39] local.INFO: TCP Data received {"connection_id":131954,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6271e438012d7f92c005afd830000000502a..."} 
[2026-07-15 02:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6271e438012d7f92c005afd830000000502a..."} 
[2026-07-15 02:37:39] local.INFO: Processing buffer {"connection_id":131954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6271e438012d7f92c005afd830000000502a..."} 
[2026-07-15 02:37:39] local.INFO: Packet analysis {"connection_id":131954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6271"} 
[2026-07-15 02:37:39] local.INFO: Extracted packet for processing {"connection_id":131954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6271"} 
[2026-07-15 02:37:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720066048001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:37:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784063059000,"timestamp_ms":1784063059000,"timestamp_seconds":1784063059,"priority":1,"record_length":96,"hex_timestamp":"0000019f6271e438"} 
[2026-07-15 02:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:37:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 02:37:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:37:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":131954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":131954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":131954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:37:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720066048001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720066048001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:37:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:37:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720066048001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":131954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:37:39] local.INFO: GPS data processed {"connection_id":131954,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:37:39] local.INFO: Acknowledgment sent {"connection_id":131954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:37:41] local.INFO: TCP Data received {"connection_id":131955,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131955,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:37:41] local.INFO: Processing buffer {"connection_id":131955,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:37:41] local.INFO: IMEI packet received {"connection_id":131955,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 02:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":131955,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:37:43] local.INFO: TCP Data received {"connection_id":131955,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f6273a1880100000000000000000000000000..."} 
[2026-07-15 02:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6273a1880100000000000000000000000000..."} 
[2026-07-15 02:37:43] local.INFO: Processing buffer {"connection_id":131955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6273a1880100000000000000000000000000..."} 
[2026-07-15 02:37:43] local.INFO: Packet analysis {"connection_id":131955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6273"} 
[2026-07-15 02:37:43] local.INFO: Extracted packet for processing {"connection_id":131955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6273"} 
[2026-07-15 02:37: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-07-15 02:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720157440001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135990497226260480,"note":"Value kept but may cause issues"} 
[2026-07-15 02:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5737445214862034944,"note":"Value kept but may cause issues"} 
[2026-07-15 02:37:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784063173000,"timestamp_ms":1784063173000,"timestamp_seconds":1784063173,"priority":1,"record_length":96,"hex_timestamp":"0000019f6273a188"} 
[2026-07-15 02:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:37:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 02:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-15 02:37:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:37:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":131955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":131955,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":131955,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":131955,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 02:37:43] local.INFO: GPS data processed {"connection_id":131955,"processed":0,"errors":0,"total":1} 
[2026-07-15 02:37:43] local.INFO: Acknowledgment sent {"connection_id":131955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:38:02] local.INFO: TCP Data received {"connection_id":134340,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:38:02] local.INFO: Processing buffer {"connection_id":134340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:38:02] local.INFO: IMEI packet received {"connection_id":134340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":134340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:38:08] local.INFO: TCP Data received {"connection_id":134340,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:38:08] local.INFO: Processing buffer {"connection_id":134340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:38:08] local.INFO: IMEI packet received {"connection_id":134340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":134340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:38:09] local.INFO: TCP Data received {"connection_id":134340,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6271e438012d7f92c005afd830000000502a..."} 
[2026-07-15 02:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6271e438012d7f92c005afd830000000502a..."} 
[2026-07-15 02:38:09] local.INFO: Processing buffer {"connection_id":134340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6271e438012d7f92c005afd830000000502a..."} 
[2026-07-15 02:38:09] local.INFO: Packet analysis {"connection_id":134340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6271"} 
[2026-07-15 02:38:09] local.INFO: Extracted packet for processing {"connection_id":134340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6271"} 
[2026-07-15 02:38:09] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720066048001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:38:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784063059000,"timestamp_ms":1784063059000,"timestamp_seconds":1784063059,"priority":1,"record_length":96,"hex_timestamp":"0000019f6271e438"} 
[2026-07-15 02:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 02:38:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":134340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":134340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":134340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:38:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720066048001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720066048001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:38:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:38:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720066048001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":134340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:38:09] local.INFO: GPS data processed {"connection_id":134340,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:38:09] local.INFO: Acknowledgment sent {"connection_id":134340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:38:16] local.INFO: TCP Data received {"connection_id":131955,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62732870012d4f7f80064e51080005015531..."} 
[2026-07-15 02:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62732870012d4f7f80064e51080005015531..."} 
[2026-07-15 02:38:16] local.INFO: Processing buffer {"connection_id":131955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62732870012d4f7f80064e51080005015531..."} 
[2026-07-15 02:38:16] local.INFO: Packet analysis {"connection_id":131955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6273"} 
[2026-07-15 02:38:16] local.INFO: Extracted packet for processing {"connection_id":131955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6273"} 
[2026-07-15 02:38:16] local.INFO: GPS Element Parsed {"raw_longitude":760184704,"raw_latitude":105795848,"longitude_deg":76.0184704,"latitude_deg":10.5795848,"altitude":5,"angle":341,"satellites":49,"speed":29,"hex_longitude":"2d4f7f80","hex_latitude":"064e5108","is_valid_coordinates":true} 
[2026-07-15 02:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135990497226260480,"note":"Value kept but may cause issues"} 
[2026-07-15 02:38:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,233,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 02:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784063142000,"timestamp_ms":1784063142000,"timestamp_seconds":1784063142,"priority":1,"record_length":96,"hex_timestamp":"0000019f62732870"} 
[2026-07-15 02:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:38:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 02:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 02:38:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:38:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":131955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":131955,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":131955,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:38:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27930,"233":206,"19":38144,"24":29,"16":135990497226260480},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,19,24,16]} 
[2026-07-15 02:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-15 02:38:16] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-07-15 02:38:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135990497226260480,"km_value":135990497226260.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:38:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27930,"unknown_233":206,"unknown_19":38144,"ignition":29,"odometer":null}} 
[2026-07-15 02:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":131955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489156,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:38:16] local.INFO: GPS data processed {"connection_id":131955,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:38:16] local.INFO: Acknowledgment sent {"connection_id":131955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:38:40] local.INFO: TCP Data received {"connection_id":134340,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6271e438012d7f92c005afd830000000502a..."} 
[2026-07-15 02:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6271e438012d7f92c005afd830000000502a..."} 
[2026-07-15 02:38:40] local.INFO: Processing buffer {"connection_id":134340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6271e438012d7f92c005afd830000000502a..."} 
[2026-07-15 02:38:40] local.INFO: Packet analysis {"connection_id":134340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6271"} 
[2026-07-15 02:38:40] local.INFO: Extracted packet for processing {"connection_id":134340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6271"} 
[2026-07-15 02:38:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:38:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720066048001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:38:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:38:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:38:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:38:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784063059000,"timestamp_ms":1784063059000,"timestamp_seconds":1784063059,"priority":1,"record_length":96,"hex_timestamp":"0000019f6271e438"} 
[2026-07-15 02:38:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:38:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:38:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 02:38:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:38:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:38:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:38:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:38:40] local.INFO: Teltonika packet parsed successfully {"connection_id":134340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:38:40] local.INFO: Passing IMEI to GPS processor {"connection_id":134340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:38:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":134340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:38:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:38:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:38:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:38:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720066048001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:38:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:38:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:38:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720066048001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:38:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:38:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:38:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:38:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:38:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720066048001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:38:40] local.INFO: DEBUG: GPS processor result {"connection_id":134340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:38:40] local.INFO: GPS data processed {"connection_id":134340,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:38:40] local.INFO: Acknowledgment sent {"connection_id":134340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:38:45] local.INFO: TCP Data received {"connection_id":132134,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132134,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:38:45] local.INFO: Processing buffer {"connection_id":132134,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:38:45] local.INFO: IMEI packet received {"connection_id":132134,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 02:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":132134,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:38:51] local.INFO: TCP Data received {"connection_id":132134,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132134,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:38:51] local.INFO: Processing buffer {"connection_id":132134,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:38:51] local.INFO: IMEI packet received {"connection_id":132134,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 02:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":132134,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:38:52] local.INFO: TCP Data received {"connection_id":132134,"ip":"117.224.100.59","data_length":795,"data_hex":"000000000000030f8e0a0000019f62737a78012d4f5c40064e8a380003014532..."} 
[2026-07-15 02:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62737a78012d4f5c40064e8a380003014532..."} 
[2026-07-15 02:38:52] local.INFO: Processing buffer {"connection_id":132134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62737a78012d4f5c40064e8a380003014532..."} 
[2026-07-15 02:38:52] local.INFO: Packet analysis {"connection_id":132134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6273"} 
[2026-07-15 02:38:52] local.INFO: Extracted packet for processing {"connection_id":132134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6273"} 
[2026-07-15 02:38:52] local.INFO: GPS Element Parsed {"raw_longitude":760175680,"raw_latitude":105810488,"longitude_deg":76.017568,"latitude_deg":10.5810488,"altitude":3,"angle":325,"satellites":50,"speed":28,"hex_longitude":"2d4f5c40","hex_latitude":"064e8a38","is_valid_coordinates":true} 
[2026-07-15 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-07-15 02:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720164352001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135990497226260480,"note":"Value kept but may cause issues"} 
[2026-07-15 02:38:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5728438015610652672,"note":"Value kept but may cause issues"} 
[2026-07-15 02:38:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1784063163000,"timestamp_ms":1784063163000,"timestamp_seconds":1784063163,"priority":1,"record_length":96,"hex_timestamp":"0000019f62737a78"} 
[2026-07-15 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-07-15 02:38:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-15 02:38:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 02:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":132134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":132134,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":132134,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 02:38:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 02:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 02:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720164352001,"66":27908,"233":206,"19":38144,"24":28,"16":135990497226260480,"45":5728438015610652672},"client_ip":"117.224.100.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,19,24,16,45]} 
[2026-07-15 02:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 02:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 02:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720164352001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:38:52] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-07-15 02:38:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-15 02:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135990497226260480,"km_value":135990497226260.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:38:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":5728438015610652672,"description":"Unknown IO ID 45"} 
[2026-07-15 02:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720164352001,"power":27908,"unknown_233":206,"unknown_19":38144,"ignition":28,"odometer":null,"unknown_45":5728438015610652672}} 
[2026-07-15 02:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":132134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489158,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:38:52] local.INFO: GPS data processed {"connection_id":132134,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:38:52] local.INFO: Acknowledgment sent {"connection_id":132134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:39:09] local.INFO: TCP Data received {"connection_id":132976,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:39:09] local.INFO: Processing buffer {"connection_id":132976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:39:09] local.INFO: IMEI packet received {"connection_id":132976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":132976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:39:12] local.INFO: TCP Data received {"connection_id":132976,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:39:12] local.INFO: Processing buffer {"connection_id":132976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:39:12] local.INFO: IMEI packet received {"connection_id":132976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":132976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:39:13] local.INFO: TCP Data received {"connection_id":132976,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6271e438012d7f92c005afd830000000502a..."} 
[2026-07-15 02:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6271e438012d7f92c005afd830000000502a..."} 
[2026-07-15 02:39:13] local.INFO: Processing buffer {"connection_id":132976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6271e438012d7f92c005afd830000000502a..."} 
[2026-07-15 02:39:13] local.INFO: Packet analysis {"connection_id":132976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6271"} 
[2026-07-15 02:39:13] local.INFO: Extracted packet for processing {"connection_id":132976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6271"} 
[2026-07-15 02:39:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720066048001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784063059000,"timestamp_ms":1784063059000,"timestamp_seconds":1784063059,"priority":1,"record_length":96,"hex_timestamp":"0000019f6271e438"} 
[2026-07-15 02:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:39:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 02:39:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:39:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720066048001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720066048001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:39:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:39:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720066048001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":132976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:39:13] local.INFO: GPS data processed {"connection_id":132976,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:39:13] local.INFO: Acknowledgment sent {"connection_id":132976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:39:18] local.INFO: TCP Data received {"connection_id":132976,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6271e438012d7f92c005afd830000000502a..."} 
[2026-07-15 02:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6271e438012d7f92c005afd830000000502a..."} 
[2026-07-15 02:39:18] local.INFO: Processing buffer {"connection_id":132976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6271e438012d7f92c005afd830000000502a..."} 
[2026-07-15 02:39:18] local.INFO: Packet analysis {"connection_id":132976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6271"} 
[2026-07-15 02:39:18] local.INFO: Extracted packet for processing {"connection_id":132976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6271"} 
[2026-07-15 02:39:18] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720066048001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:39:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784063059000,"timestamp_ms":1784063059000,"timestamp_seconds":1784063059,"priority":1,"record_length":96,"hex_timestamp":"0000019f6271e438"} 
[2026-07-15 02:39:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:39:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 02:39:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:39:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":132976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":132976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":132976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:39: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-07-15 02:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720066048001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720066048001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:39:18] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:39:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720066048001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":132976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:39:18] local.INFO: GPS data processed {"connection_id":132976,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:39:18] local.INFO: Acknowledgment sent {"connection_id":132976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:39:41] local.INFO: TCP Data received {"connection_id":132977,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132977,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:39:41] local.INFO: Processing buffer {"connection_id":132977,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:39:41] local.INFO: IMEI packet received {"connection_id":132977,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 02:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":132977,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:39:45] local.INFO: TCP Data received {"connection_id":132977,"ip":"117.224.100.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132977,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:39:45] local.INFO: Processing buffer {"connection_id":132977,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:39:45] local.INFO: IMEI packet received {"connection_id":132977,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 02:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":132977,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:40:02] local.INFO: TCP Data received {"connection_id":134341,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:40:02] local.INFO: Processing buffer {"connection_id":134341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:40:02] local.INFO: IMEI packet received {"connection_id":134341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":134341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:40:07] local.INFO: TCP Data received {"connection_id":134341,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:40:07] local.INFO: Processing buffer {"connection_id":134341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:40:07] local.INFO: IMEI packet received {"connection_id":134341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":134341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:40:08] local.INFO: TCP Data received {"connection_id":134341,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f62767c00012d7f92c005afd8300000005029..."} 
[2026-07-15 02:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62767c00012d7f92c005afd8300000005029..."} 
[2026-07-15 02:40:08] local.INFO: Processing buffer {"connection_id":134341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62767c00012d7f92c005afd8300000005029..."} 
[2026-07-15 02:40:08] local.INFO: Packet analysis {"connection_id":134341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6276"} 
[2026-07-15 02:40:08] local.INFO: Extracted packet for processing {"connection_id":134341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6276"} 
[2026-07-15 02:40:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720143104001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:40:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784063360000,"timestamp_ms":1784063360000,"timestamp_seconds":1784063360,"priority":1,"record_length":96,"hex_timestamp":"0000019f62767c00"} 
[2026-07-15 02:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 02:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:40:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720143104001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720143104001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:40:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:40:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720143104001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":134341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:40:08] local.INFO: GPS data processed {"connection_id":134341,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:40:08] local.INFO: Acknowledgment sent {"connection_id":134341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:40:39] local.INFO: TCP Data received {"connection_id":134341,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f62767c00012d7f92c005afd8300000005029..."} 
[2026-07-15 02:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62767c00012d7f92c005afd8300000005029..."} 
[2026-07-15 02:40:39] local.INFO: Processing buffer {"connection_id":134341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62767c00012d7f92c005afd8300000005029..."} 
[2026-07-15 02:40:39] local.INFO: Packet analysis {"connection_id":134341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6276"} 
[2026-07-15 02:40:39] local.INFO: Extracted packet for processing {"connection_id":134341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6276"} 
[2026-07-15 02:40:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720143104001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784063360000,"timestamp_ms":1784063360000,"timestamp_seconds":1784063360,"priority":1,"record_length":96,"hex_timestamp":"0000019f62767c00"} 
[2026-07-15 02:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 02:40:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:40:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720143104001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720143104001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:40:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:40:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720143104001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":134341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:40:39] local.INFO: GPS data processed {"connection_id":134341,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:40:39] local.INFO: Acknowledgment sent {"connection_id":134341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:41:04] local.INFO: TCP Data received {"connection_id":132135,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:41:04] local.INFO: Processing buffer {"connection_id":132135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:41:04] local.INFO: IMEI packet received {"connection_id":132135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":132135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:41:08] local.INFO: TCP Data received {"connection_id":132135,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:41:08] local.INFO: Processing buffer {"connection_id":132135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:41:08] local.INFO: IMEI packet received {"connection_id":132135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":132135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:41:09] local.INFO: TCP Data received {"connection_id":132135,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f62767c00012d7f92c005afd8300000005029..."} 
[2026-07-15 02:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62767c00012d7f92c005afd8300000005029..."} 
[2026-07-15 02:41:09] local.INFO: Processing buffer {"connection_id":132135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62767c00012d7f92c005afd8300000005029..."} 
[2026-07-15 02:41:09] local.INFO: Packet analysis {"connection_id":132135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6276"} 
[2026-07-15 02:41:09] local.INFO: Extracted packet for processing {"connection_id":132135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6276"} 
[2026-07-15 02:41:09] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720143104001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:41:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784063360000,"timestamp_ms":1784063360000,"timestamp_seconds":1784063360,"priority":1,"record_length":96,"hex_timestamp":"0000019f62767c00"} 
[2026-07-15 02:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 02:41:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:41:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":132135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":132135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":132135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:41:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720143104001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720143104001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:41:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:41:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720143104001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":132135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:41:09] local.INFO: GPS data processed {"connection_id":132135,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:41:09] local.INFO: Acknowledgment sent {"connection_id":132135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:41:12] local.INFO: TCP Data received {"connection_id":132135,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f62767c00012d7f92c005afd8300000005029..."} 
[2026-07-15 02:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62767c00012d7f92c005afd8300000005029..."} 
[2026-07-15 02:41:12] local.INFO: Processing buffer {"connection_id":132135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62767c00012d7f92c005afd8300000005029..."} 
[2026-07-15 02:41:12] local.INFO: Packet analysis {"connection_id":132135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6276"} 
[2026-07-15 02:41:12] local.INFO: Extracted packet for processing {"connection_id":132135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6276"} 
[2026-07-15 02:41:12] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720143104001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784063360000,"timestamp_ms":1784063360000,"timestamp_seconds":1784063360,"priority":1,"record_length":96,"hex_timestamp":"0000019f62767c00"} 
[2026-07-15 02:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 02:41:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:41:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720143104001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720143104001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:41:12] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:41:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720143104001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":132135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:41:12] local.INFO: GPS data processed {"connection_id":132135,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:41:12] local.INFO: Acknowledgment sent {"connection_id":132135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:41:43] local.INFO: TCP Data received {"connection_id":132135,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f62767c00012d7f92c005afd8300000005029..."} 
[2026-07-15 02:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62767c00012d7f92c005afd8300000005029..."} 
[2026-07-15 02:41:43] local.INFO: Processing buffer {"connection_id":132135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62767c00012d7f92c005afd8300000005029..."} 
[2026-07-15 02:41:43] local.INFO: Packet analysis {"connection_id":132135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6276"} 
[2026-07-15 02:41:43] local.INFO: Extracted packet for processing {"connection_id":132135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6276"} 
[2026-07-15 02:41:43] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720143104001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:41:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784063360000,"timestamp_ms":1784063360000,"timestamp_seconds":1784063360,"priority":1,"record_length":96,"hex_timestamp":"0000019f62767c00"} 
[2026-07-15 02:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:41:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 02:41:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:41:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":132135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":132135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":132135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:41:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720143104001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720143104001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:41:43] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:41:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720143104001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":132135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:41:43] local.INFO: GPS data processed {"connection_id":132135,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:41:43] local.INFO: Acknowledgment sent {"connection_id":132135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:42:02] local.INFO: TCP Data received {"connection_id":131956,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:42:02] local.INFO: Processing buffer {"connection_id":131956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:42:02] local.INFO: IMEI packet received {"connection_id":131956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":131956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:42:07] local.INFO: TCP Data received {"connection_id":131956,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:42:07] local.INFO: Processing buffer {"connection_id":131956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:42:07] local.INFO: IMEI packet received {"connection_id":131956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":131956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:42:08] local.INFO: TCP Data received {"connection_id":131956,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f62767c00012d7f92c005afd8300000005029..."} 
[2026-07-15 02:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62767c00012d7f92c005afd8300000005029..."} 
[2026-07-15 02:42:08] local.INFO: Processing buffer {"connection_id":131956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62767c00012d7f92c005afd8300000005029..."} 
[2026-07-15 02:42:08] local.INFO: Packet analysis {"connection_id":131956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6276"} 
[2026-07-15 02:42:08] local.INFO: Extracted packet for processing {"connection_id":131956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6276"} 
[2026-07-15 02:42:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720143104001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784063360000,"timestamp_ms":1784063360000,"timestamp_seconds":1784063360,"priority":1,"record_length":96,"hex_timestamp":"0000019f62767c00"} 
[2026-07-15 02:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 02:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":131956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":131956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":131956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720143104001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720143104001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:42:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:42:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720143104001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":131956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:42:08] local.INFO: GPS data processed {"connection_id":131956,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:42:08] local.INFO: Acknowledgment sent {"connection_id":131956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:42:41] local.INFO: TCP Data received {"connection_id":131956,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f62767c00012d7f92c005afd8300000005029..."} 
[2026-07-15 02:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62767c00012d7f92c005afd8300000005029..."} 
[2026-07-15 02:42:41] local.INFO: Processing buffer {"connection_id":131956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62767c00012d7f92c005afd8300000005029..."} 
[2026-07-15 02:42:41] local.INFO: Packet analysis {"connection_id":131956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6276"} 
[2026-07-15 02:42:41] local.INFO: Extracted packet for processing {"connection_id":131956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6276"} 
[2026-07-15 02:42:41] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720143104001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784063360000,"timestamp_ms":1784063360000,"timestamp_seconds":1784063360,"priority":1,"record_length":96,"hex_timestamp":"0000019f62767c00"} 
[2026-07-15 02:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 02:42:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720143104001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720143104001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:42:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:42:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720143104001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":131956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:42:41] local.INFO: GPS data processed {"connection_id":131956,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:42:41] local.INFO: Acknowledgment sent {"connection_id":131956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:43:07] local.INFO: TCP Data received {"connection_id":132136,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:43:07] local.INFO: Processing buffer {"connection_id":132136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:43:07] local.INFO: IMEI packet received {"connection_id":132136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":132136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:43:12] local.INFO: TCP Data received {"connection_id":132136,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:43:12] local.INFO: Processing buffer {"connection_id":132136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:43:12] local.INFO: IMEI packet received {"connection_id":132136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":132136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:43:13] local.INFO: TCP Data received {"connection_id":132136,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f62767c00012d7f92c005afd8300000005029..."} 
[2026-07-15 02:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62767c00012d7f92c005afd8300000005029..."} 
[2026-07-15 02:43:13] local.INFO: Processing buffer {"connection_id":132136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62767c00012d7f92c005afd8300000005029..."} 
[2026-07-15 02:43:13] local.INFO: Packet analysis {"connection_id":132136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6276"} 
[2026-07-15 02:43:13] local.INFO: Extracted packet for processing {"connection_id":132136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6276"} 
[2026-07-15 02:43:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720143104001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784063360000,"timestamp_ms":1784063360000,"timestamp_seconds":1784063360,"priority":1,"record_length":96,"hex_timestamp":"0000019f62767c00"} 
[2026-07-15 02:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:43:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 02:43:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720143104001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720143104001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:43:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:43:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720143104001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":132136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:43:13] local.INFO: GPS data processed {"connection_id":132136,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:43:13] local.INFO: Acknowledgment sent {"connection_id":132136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:43:43] local.INFO: TCP Data received {"connection_id":132136,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f62767c00012d7f92c005afd8300000005029..."} 
[2026-07-15 02:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62767c00012d7f92c005afd8300000005029..."} 
[2026-07-15 02:43:43] local.INFO: Processing buffer {"connection_id":132136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62767c00012d7f92c005afd8300000005029..."} 
[2026-07-15 02:43:43] local.INFO: Packet analysis {"connection_id":132136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6276"} 
[2026-07-15 02:43:43] local.INFO: Extracted packet for processing {"connection_id":132136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6276"} 
[2026-07-15 02:43:43] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720143104001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:43:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784063360000,"timestamp_ms":1784063360000,"timestamp_seconds":1784063360,"priority":1,"record_length":96,"hex_timestamp":"0000019f62767c00"} 
[2026-07-15 02:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:43:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 02:43:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":132136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":132136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":132136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720143104001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720143104001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:43:43] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:43:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720143104001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":132136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:43:43] local.INFO: GPS data processed {"connection_id":132136,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:43:43] local.INFO: Acknowledgment sent {"connection_id":132136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:44:02] local.INFO: TCP Data received {"connection_id":131957,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:44:02] local.INFO: Processing buffer {"connection_id":131957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:44:02] local.INFO: IMEI packet received {"connection_id":131957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":131957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:44:08] local.INFO: TCP Data received {"connection_id":131957,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:44:08] local.INFO: Processing buffer {"connection_id":131957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:44:08] local.INFO: IMEI packet received {"connection_id":131957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":131957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:44:09] local.INFO: TCP Data received {"connection_id":131957,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f62767c00012d7f92c005afd8300000005029..."} 
[2026-07-15 02:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62767c00012d7f92c005afd8300000005029..."} 
[2026-07-15 02:44:09] local.INFO: Processing buffer {"connection_id":131957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62767c00012d7f92c005afd8300000005029..."} 
[2026-07-15 02:44:09] local.INFO: Packet analysis {"connection_id":131957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6276"} 
[2026-07-15 02:44:09] local.INFO: Extracted packet for processing {"connection_id":131957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6276"} 
[2026-07-15 02:44:09] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720143104001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784063360000,"timestamp_ms":1784063360000,"timestamp_seconds":1784063360,"priority":1,"record_length":96,"hex_timestamp":"0000019f62767c00"} 
[2026-07-15 02:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 02:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":131957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":131957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":131957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720143104001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720143104001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:44:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:44:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720143104001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":131957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:44:09] local.INFO: GPS data processed {"connection_id":131957,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:44:09] local.INFO: Acknowledgment sent {"connection_id":131957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:44:40] local.INFO: TCP Data received {"connection_id":131957,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f62767c00012d7f92c005afd8300000005029..."} 
[2026-07-15 02:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62767c00012d7f92c005afd8300000005029..."} 
[2026-07-15 02:44:40] local.INFO: Processing buffer {"connection_id":131957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62767c00012d7f92c005afd8300000005029..."} 
[2026-07-15 02:44:40] local.INFO: Packet analysis {"connection_id":131957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6276"} 
[2026-07-15 02:44:40] local.INFO: Extracted packet for processing {"connection_id":131957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6276"} 
[2026-07-15 02:44:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720143104001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784063360000,"timestamp_ms":1784063360000,"timestamp_seconds":1784063360,"priority":1,"record_length":96,"hex_timestamp":"0000019f62767c00"} 
[2026-07-15 02:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:44:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 02:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720143104001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720143104001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:44:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:44:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720143104001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":131957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:44:40] local.INFO: GPS data processed {"connection_id":131957,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:44:40] local.INFO: Acknowledgment sent {"connection_id":131957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:45:02] local.INFO: TCP Data received {"connection_id":134342,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:45:02] local.INFO: Processing buffer {"connection_id":134342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:45:02] local.INFO: IMEI packet received {"connection_id":134342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":134342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:45:07] local.INFO: TCP Data received {"connection_id":134342,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:45:07] local.INFO: Processing buffer {"connection_id":134342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:45:07] local.INFO: IMEI packet received {"connection_id":134342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":134342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:45:08] local.INFO: TCP Data received {"connection_id":134342,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f627b13c8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f627b13c8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:45:08] local.INFO: Processing buffer {"connection_id":134342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f627b13c8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:45:08] local.INFO: Packet analysis {"connection_id":134342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f627b"} 
[2026-07-15 02:45:08] local.INFO: Extracted packet for processing {"connection_id":134342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f627b"} 
[2026-07-15 02:45:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720220160001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784063661000,"timestamp_ms":1784063661000,"timestamp_seconds":1784063661,"priority":1,"record_length":96,"hex_timestamp":"0000019f627b13c8"} 
[2026-07-15 02:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 02:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720220160001,"66":24734,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720220160001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:45:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:45:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720220160001,"power":24734,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":134342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:45:08] local.INFO: GPS data processed {"connection_id":134342,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:45:08] local.INFO: Acknowledgment sent {"connection_id":134342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:45:39] local.INFO: TCP Data received {"connection_id":134342,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f627b13c8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f627b13c8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:45:39] local.INFO: Processing buffer {"connection_id":134342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f627b13c8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:45:39] local.INFO: Packet analysis {"connection_id":134342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f627b"} 
[2026-07-15 02:45:39] local.INFO: Extracted packet for processing {"connection_id":134342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f627b"} 
[2026-07-15 02:45:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720220160001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784063661000,"timestamp_ms":1784063661000,"timestamp_seconds":1784063661,"priority":1,"record_length":96,"hex_timestamp":"0000019f627b13c8"} 
[2026-07-15 02:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:45:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 02:45:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:45:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:45:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720220160001,"66":24734,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720220160001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:45:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:45:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720220160001,"power":24734,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":134342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:45:39] local.INFO: GPS data processed {"connection_id":134342,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:45:39] local.INFO: Acknowledgment sent {"connection_id":134342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:46:02] local.INFO: TCP Data received {"connection_id":132137,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:46:02] local.INFO: Processing buffer {"connection_id":132137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:46:02] local.INFO: IMEI packet received {"connection_id":132137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":132137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:46:07] local.INFO: TCP Data received {"connection_id":132137,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:46:07] local.INFO: Processing buffer {"connection_id":132137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:46:07] local.INFO: IMEI packet received {"connection_id":132137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":132137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:46:08] local.INFO: TCP Data received {"connection_id":132137,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f627b13c8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f627b13c8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:46:08] local.INFO: Processing buffer {"connection_id":132137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f627b13c8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:46:08] local.INFO: Packet analysis {"connection_id":132137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f627b"} 
[2026-07-15 02:46:08] local.INFO: Extracted packet for processing {"connection_id":132137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f627b"} 
[2026-07-15 02:46:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720220160001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784063661000,"timestamp_ms":1784063661000,"timestamp_seconds":1784063661,"priority":1,"record_length":96,"hex_timestamp":"0000019f627b13c8"} 
[2026-07-15 02:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 02:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720220160001,"66":24734,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720220160001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:46:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:46:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720220160001,"power":24734,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":132137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:46:08] local.INFO: GPS data processed {"connection_id":132137,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:46:08] local.INFO: Acknowledgment sent {"connection_id":132137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:46:39] local.INFO: TCP Data received {"connection_id":132137,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f627b13c8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f627b13c8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:46:39] local.INFO: Processing buffer {"connection_id":132137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f627b13c8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:46:39] local.INFO: Packet analysis {"connection_id":132137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f627b"} 
[2026-07-15 02:46:39] local.INFO: Extracted packet for processing {"connection_id":132137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f627b"} 
[2026-07-15 02:46:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720220160001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784063661000,"timestamp_ms":1784063661000,"timestamp_seconds":1784063661,"priority":1,"record_length":96,"hex_timestamp":"0000019f627b13c8"} 
[2026-07-15 02:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 02:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720220160001,"66":24734,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720220160001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:46:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:46:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720220160001,"power":24734,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":132137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:46:39] local.INFO: GPS data processed {"connection_id":132137,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:46:39] local.INFO: Acknowledgment sent {"connection_id":132137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:47:07] local.INFO: TCP Data received {"connection_id":131958,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:47:07] local.INFO: Processing buffer {"connection_id":131958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:47:07] local.INFO: IMEI packet received {"connection_id":131958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":131958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:47:12] local.INFO: TCP Data received {"connection_id":131958,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:47:12] local.INFO: Processing buffer {"connection_id":131958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:47:12] local.INFO: IMEI packet received {"connection_id":131958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":131958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:47:13] local.INFO: TCP Data received {"connection_id":131958,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f627b13c8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f627b13c8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:47:13] local.INFO: Processing buffer {"connection_id":131958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f627b13c8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:47:13] local.INFO: Packet analysis {"connection_id":131958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f627b"} 
[2026-07-15 02:47:13] local.INFO: Extracted packet for processing {"connection_id":131958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f627b"} 
[2026-07-15 02:47:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720220160001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784063661000,"timestamp_ms":1784063661000,"timestamp_seconds":1784063661,"priority":1,"record_length":96,"hex_timestamp":"0000019f627b13c8"} 
[2026-07-15 02:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 02:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":131958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":131958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":131958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720220160001,"66":24734,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720220160001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:47:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:47:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720220160001,"power":24734,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":131958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:47:13] local.INFO: GPS data processed {"connection_id":131958,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:47:13] local.INFO: Acknowledgment sent {"connection_id":131958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:47:43] local.INFO: TCP Data received {"connection_id":131958,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f627b13c8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f627b13c8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:47:43] local.INFO: Processing buffer {"connection_id":131958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f627b13c8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:47:43] local.INFO: Packet analysis {"connection_id":131958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f627b"} 
[2026-07-15 02:47:43] local.INFO: Extracted packet for processing {"connection_id":131958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f627b"} 
[2026-07-15 02:47:43] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720220160001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:47:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:47:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784063661000,"timestamp_ms":1784063661000,"timestamp_seconds":1784063661,"priority":1,"record_length":96,"hex_timestamp":"0000019f627b13c8"} 
[2026-07-15 02:47:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:47:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 02:47:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:47:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:47:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":131958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":131958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":131958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:47:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720220160001,"66":24734,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720220160001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:47:43] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:47:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:47:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720220160001,"power":24734,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":131958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:47:43] local.INFO: GPS data processed {"connection_id":131958,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:47:43] local.INFO: Acknowledgment sent {"connection_id":131958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:48:02] local.INFO: TCP Data received {"connection_id":134343,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:48:02] local.INFO: Processing buffer {"connection_id":134343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:48:02] local.INFO: IMEI packet received {"connection_id":134343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":134343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:48:07] local.INFO: TCP Data received {"connection_id":134343,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:48:07] local.INFO: Processing buffer {"connection_id":134343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:48:07] local.INFO: IMEI packet received {"connection_id":134343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":134343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:48:08] local.INFO: TCP Data received {"connection_id":134343,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f627b13c8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f627b13c8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:48:08] local.INFO: Processing buffer {"connection_id":134343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f627b13c8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:48:08] local.INFO: Packet analysis {"connection_id":134343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f627b"} 
[2026-07-15 02:48:08] local.INFO: Extracted packet for processing {"connection_id":134343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f627b"} 
[2026-07-15 02:48:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720220160001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784063661000,"timestamp_ms":1784063661000,"timestamp_seconds":1784063661,"priority":1,"record_length":96,"hex_timestamp":"0000019f627b13c8"} 
[2026-07-15 02:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 02:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720220160001,"66":24734,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720220160001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:48:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:48:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720220160001,"power":24734,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":134343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:48:08] local.INFO: GPS data processed {"connection_id":134343,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:48:08] local.INFO: Acknowledgment sent {"connection_id":134343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:48:40] local.INFO: TCP Data received {"connection_id":134343,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f627b13c8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f627b13c8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:48:40] local.INFO: Processing buffer {"connection_id":134343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f627b13c8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:48:40] local.INFO: Packet analysis {"connection_id":134343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f627b"} 
[2026-07-15 02:48:40] local.INFO: Extracted packet for processing {"connection_id":134343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f627b"} 
[2026-07-15 02:48:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720220160001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784063661000,"timestamp_ms":1784063661000,"timestamp_seconds":1784063661,"priority":1,"record_length":96,"hex_timestamp":"0000019f627b13c8"} 
[2026-07-15 02:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 02:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":134343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":134343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":134343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720220160001,"66":24734,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720220160001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:48:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:48:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720220160001,"power":24734,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":134343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:48:40] local.INFO: GPS data processed {"connection_id":134343,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:48:40] local.INFO: Acknowledgment sent {"connection_id":134343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:49:02] local.INFO: TCP Data received {"connection_id":134344,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:49:02] local.INFO: Processing buffer {"connection_id":134344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:49:02] local.INFO: IMEI packet received {"connection_id":134344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":134344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:49:08] local.INFO: TCP Data received {"connection_id":134344,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:49:08] local.INFO: Processing buffer {"connection_id":134344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:49:08] local.INFO: IMEI packet received {"connection_id":134344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":134344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:49:09] local.INFO: TCP Data received {"connection_id":134344,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f627b13c8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f627b13c8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:49:09] local.INFO: Processing buffer {"connection_id":134344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f627b13c8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:49:09] local.INFO: Packet analysis {"connection_id":134344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f627b"} 
[2026-07-15 02:49:09] local.INFO: Extracted packet for processing {"connection_id":134344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f627b"} 
[2026-07-15 02:49:09] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720220160001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784063661000,"timestamp_ms":1784063661000,"timestamp_seconds":1784063661,"priority":1,"record_length":96,"hex_timestamp":"0000019f627b13c8"} 
[2026-07-15 02:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 02:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:49:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":134344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":134344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":134344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720220160001,"66":24734,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720220160001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:49:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:49:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720220160001,"power":24734,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":134344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:49:09] local.INFO: GPS data processed {"connection_id":134344,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:49:09] local.INFO: Acknowledgment sent {"connection_id":134344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:49:29] local.INFO: TCP Data received {"connection_id":131959,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131959,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:49:29] local.INFO: Processing buffer {"connection_id":131959,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:49:29] local.INFO: IMEI packet received {"connection_id":131959,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 02:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":131959,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:49:40] local.INFO: TCP Data received {"connection_id":134344,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f627b13c8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f627b13c8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:49:40] local.INFO: Processing buffer {"connection_id":134344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f627b13c8012d7f92c005afd830000000502a..."} 
[2026-07-15 02:49:40] local.INFO: Packet analysis {"connection_id":134344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f627b"} 
[2026-07-15 02:49:40] local.INFO: Extracted packet for processing {"connection_id":134344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f627b"} 
[2026-07-15 02:49:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:49:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720220160001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:49:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:49:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784063661000,"timestamp_ms":1784063661000,"timestamp_seconds":1784063661,"priority":1,"record_length":96,"hex_timestamp":"0000019f627b13c8"} 
[2026-07-15 02:49:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:49:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 02:49:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:49:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":134344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":134344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":134344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:49:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:49:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720220160001,"66":24734,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:49:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:49:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:49:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720220160001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:49:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:49:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:49:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:49:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:49:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720220160001,"power":24734,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":134344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:49:40] local.INFO: GPS data processed {"connection_id":134344,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:49:40] local.INFO: Acknowledgment sent {"connection_id":134344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:50:02] local.INFO: TCP Data received {"connection_id":131960,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:50:02] local.INFO: Processing buffer {"connection_id":131960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:50:02] local.INFO: IMEI packet received {"connection_id":131960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":131960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:50:07] local.INFO: TCP Data received {"connection_id":131960,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:50:07] local.INFO: Processing buffer {"connection_id":131960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:50:07] local.INFO: IMEI packet received {"connection_id":131960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":131960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:50:08] local.INFO: TCP Data received {"connection_id":131960,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f627fab90012d7f92c005afd830000000502b..."} 
[2026-07-15 02:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f627fab90012d7f92c005afd830000000502b..."} 
[2026-07-15 02:50:08] local.INFO: Processing buffer {"connection_id":131960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f627fab90012d7f92c005afd830000000502b..."} 
[2026-07-15 02:50:08] local.INFO: Packet analysis {"connection_id":131960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f627f"} 
[2026-07-15 02:50:08] local.INFO: Extracted packet for processing {"connection_id":131960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f627f"} 
[2026-07-15 02:50:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720297216001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784063962000,"timestamp_ms":1784063962000,"timestamp_seconds":1784063962,"priority":1,"record_length":96,"hex_timestamp":"0000019f627fab90"} 
[2026-07-15 02:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-15 02:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2100,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":131960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":131960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":131960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720297216001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720297216001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:50:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:50:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720297216001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":131960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:50:08] local.INFO: GPS data processed {"connection_id":131960,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:50:08] local.INFO: Acknowledgment sent {"connection_id":131960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:50:39] local.INFO: TCP Data received {"connection_id":131960,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f627fab90012d7f92c005afd830000000502b..."} 
[2026-07-15 02:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f627fab90012d7f92c005afd830000000502b..."} 
[2026-07-15 02:50:39] local.INFO: Processing buffer {"connection_id":131960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f627fab90012d7f92c005afd830000000502b..."} 
[2026-07-15 02:50:39] local.INFO: Packet analysis {"connection_id":131960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f627f"} 
[2026-07-15 02:50:39] local.INFO: Extracted packet for processing {"connection_id":131960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f627f"} 
[2026-07-15 02:50:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720297216001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784063962000,"timestamp_ms":1784063962000,"timestamp_seconds":1784063962,"priority":1,"record_length":96,"hex_timestamp":"0000019f627fab90"} 
[2026-07-15 02:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-15 02:50:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2100,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":131960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":131960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":131960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720297216001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720297216001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:50:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:50:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720297216001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":131960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:50:39] local.INFO: GPS data processed {"connection_id":131960,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:50:39] local.INFO: Acknowledgment sent {"connection_id":131960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:51:05] local.INFO: TCP Data received {"connection_id":134345,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:51:05] local.INFO: Processing buffer {"connection_id":134345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:51:05] local.INFO: IMEI packet received {"connection_id":134345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":134345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:51:08] local.INFO: TCP Data received {"connection_id":134345,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:51:08] local.INFO: Processing buffer {"connection_id":134345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:51:08] local.INFO: IMEI packet received {"connection_id":134345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":134345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:51:09] local.INFO: TCP Data received {"connection_id":134345,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f627fab90012d7f92c005afd830000000502b..."} 
[2026-07-15 02:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f627fab90012d7f92c005afd830000000502b..."} 
[2026-07-15 02:51:09] local.INFO: Processing buffer {"connection_id":134345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f627fab90012d7f92c005afd830000000502b..."} 
[2026-07-15 02:51:09] local.INFO: Packet analysis {"connection_id":134345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f627f"} 
[2026-07-15 02:51:09] local.INFO: Extracted packet for processing {"connection_id":134345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f627f"} 
[2026-07-15 02:51:09] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:51: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-07-15 02:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720297216001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784063962000,"timestamp_ms":1784063962000,"timestamp_seconds":1784063962,"priority":1,"record_length":96,"hex_timestamp":"0000019f627fab90"} 
[2026-07-15 02:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:51: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-15 02:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2100,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:51: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-07-15 02:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":134345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":134345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":134345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720297216001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720297216001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:51:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:51:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720297216001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":134345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:51:09] local.INFO: GPS data processed {"connection_id":134345,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:51:09] local.INFO: Acknowledgment sent {"connection_id":134345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:51:12] local.INFO: TCP Data received {"connection_id":134345,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f627fab90012d7f92c005afd830000000502b..."} 
[2026-07-15 02:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f627fab90012d7f92c005afd830000000502b..."} 
[2026-07-15 02:51:12] local.INFO: Processing buffer {"connection_id":134345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f627fab90012d7f92c005afd830000000502b..."} 
[2026-07-15 02:51:12] local.INFO: Packet analysis {"connection_id":134345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f627f"} 
[2026-07-15 02:51:12] local.INFO: Extracted packet for processing {"connection_id":134345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f627f"} 
[2026-07-15 02:51:12] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720297216001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784063962000,"timestamp_ms":1784063962000,"timestamp_seconds":1784063962,"priority":1,"record_length":96,"hex_timestamp":"0000019f627fab90"} 
[2026-07-15 02:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-15 02:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2100,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":134345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":134345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":134345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720297216001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720297216001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:51:12] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:51:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720297216001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":134345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:51:12] local.INFO: GPS data processed {"connection_id":134345,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:51:12] local.INFO: Acknowledgment sent {"connection_id":134345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:51:43] local.INFO: TCP Data received {"connection_id":134345,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f627fab90012d7f92c005afd830000000502b..."} 
[2026-07-15 02:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f627fab90012d7f92c005afd830000000502b..."} 
[2026-07-15 02:51:43] local.INFO: Processing buffer {"connection_id":134345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f627fab90012d7f92c005afd830000000502b..."} 
[2026-07-15 02:51:43] local.INFO: Packet analysis {"connection_id":134345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f627f"} 
[2026-07-15 02:51:43] local.INFO: Extracted packet for processing {"connection_id":134345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f627f"} 
[2026-07-15 02:51:43] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720297216001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:51:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:51:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784063962000,"timestamp_ms":1784063962000,"timestamp_seconds":1784063962,"priority":1,"record_length":96,"hex_timestamp":"0000019f627fab90"} 
[2026-07-15 02:51:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:51:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-15 02:51:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2100,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:51:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":134345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":134345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":134345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:51:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720297216001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720297216001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:51:43] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:51:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:51:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720297216001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":134345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:51:43] local.INFO: GPS data processed {"connection_id":134345,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:51:43] local.INFO: Acknowledgment sent {"connection_id":134345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:52:02] local.INFO: TCP Data received {"connection_id":131962,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:52:02] local.INFO: Processing buffer {"connection_id":131962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:52:02] local.INFO: IMEI packet received {"connection_id":131962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":131962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:52:07] local.INFO: TCP Data received {"connection_id":131962,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:52:07] local.INFO: Processing buffer {"connection_id":131962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:52:07] local.INFO: IMEI packet received {"connection_id":131962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":131962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:52:08] local.INFO: TCP Data received {"connection_id":131962,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f627fab90012d7f92c005afd830000000502b..."} 
[2026-07-15 02:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f627fab90012d7f92c005afd830000000502b..."} 
[2026-07-15 02:52:08] local.INFO: Processing buffer {"connection_id":131962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f627fab90012d7f92c005afd830000000502b..."} 
[2026-07-15 02:52:08] local.INFO: Packet analysis {"connection_id":131962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f627f"} 
[2026-07-15 02:52:08] local.INFO: Extracted packet for processing {"connection_id":131962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f627f"} 
[2026-07-15 02:52:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720297216001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784063962000,"timestamp_ms":1784063962000,"timestamp_seconds":1784063962,"priority":1,"record_length":96,"hex_timestamp":"0000019f627fab90"} 
[2026-07-15 02:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-15 02:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2100,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":131962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":131962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":131962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720297216001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720297216001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:52:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:52:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720297216001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":131962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:52:08] local.INFO: GPS data processed {"connection_id":131962,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:52:08] local.INFO: Acknowledgment sent {"connection_id":131962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:52:39] local.INFO: TCP Data received {"connection_id":131962,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f627fab90012d7f92c005afd830000000502b..."} 
[2026-07-15 02:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f627fab90012d7f92c005afd830000000502b..."} 
[2026-07-15 02:52:39] local.INFO: Processing buffer {"connection_id":131962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f627fab90012d7f92c005afd830000000502b..."} 
[2026-07-15 02:52:39] local.INFO: Packet analysis {"connection_id":131962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f627f"} 
[2026-07-15 02:52:39] local.INFO: Extracted packet for processing {"connection_id":131962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f627f"} 
[2026-07-15 02:52:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720297216001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:52:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784063962000,"timestamp_ms":1784063962000,"timestamp_seconds":1784063962,"priority":1,"record_length":96,"hex_timestamp":"0000019f627fab90"} 
[2026-07-15 02:52:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:52:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-15 02:52:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2100,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:52:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":131962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":131962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":131962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:52:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720297216001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720297216001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:52:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:52:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720297216001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":131962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:52:39] local.INFO: GPS data processed {"connection_id":131962,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:52:39] local.INFO: Acknowledgment sent {"connection_id":131962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:53:09] local.INFO: TCP Data received {"connection_id":134346,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:53:09] local.INFO: Processing buffer {"connection_id":134346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:53:09] local.INFO: IMEI packet received {"connection_id":134346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":134346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:53:12] local.INFO: TCP Data received {"connection_id":134346,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:53:12] local.INFO: Processing buffer {"connection_id":134346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:53:12] local.INFO: IMEI packet received {"connection_id":134346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":134346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:53:13] local.INFO: TCP Data received {"connection_id":134346,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f627fab90012d7f92c005afd830000000502b..."} 
[2026-07-15 02:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f627fab90012d7f92c005afd830000000502b..."} 
[2026-07-15 02:53:13] local.INFO: Processing buffer {"connection_id":134346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f627fab90012d7f92c005afd830000000502b..."} 
[2026-07-15 02:53:13] local.INFO: Packet analysis {"connection_id":134346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f627f"} 
[2026-07-15 02:53:13] local.INFO: Extracted packet for processing {"connection_id":134346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f627f"} 
[2026-07-15 02:53:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720297216001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784063962000,"timestamp_ms":1784063962000,"timestamp_seconds":1784063962,"priority":1,"record_length":96,"hex_timestamp":"0000019f627fab90"} 
[2026-07-15 02:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:53:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-15 02:53:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2100,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":134346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":134346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":134346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720297216001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720297216001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:53:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:53:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720297216001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":134346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:53:13] local.INFO: GPS data processed {"connection_id":134346,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:53:13] local.INFO: Acknowledgment sent {"connection_id":134346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:53:18] local.INFO: TCP Data received {"connection_id":134346,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f627fab90012d7f92c005afd830000000502b..."} 
[2026-07-15 02:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f627fab90012d7f92c005afd830000000502b..."} 
[2026-07-15 02:53:18] local.INFO: Processing buffer {"connection_id":134346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f627fab90012d7f92c005afd830000000502b..."} 
[2026-07-15 02:53:18] local.INFO: Packet analysis {"connection_id":134346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f627f"} 
[2026-07-15 02:53:18] local.INFO: Extracted packet for processing {"connection_id":134346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f627f"} 
[2026-07-15 02:53:18] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:53:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720297216001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:53:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:53:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:53:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:53:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784063962000,"timestamp_ms":1784063962000,"timestamp_seconds":1784063962,"priority":1,"record_length":96,"hex_timestamp":"0000019f627fab90"} 
[2026-07-15 02:53:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:53:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-15 02:53:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2100,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:53:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:53:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:53:18] local.INFO: Teltonika packet parsed successfully {"connection_id":134346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:53:18] local.INFO: Passing IMEI to GPS processor {"connection_id":134346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:53:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":134346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:53: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-07-15 02:53:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:53:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:53:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720297216001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:53:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:53:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:53:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720297216001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:53:18] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:53:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:53:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:53:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:53:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720297216001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:53:18] local.INFO: DEBUG: GPS processor result {"connection_id":134346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:53:18] local.INFO: GPS data processed {"connection_id":134346,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:53:18] local.INFO: Acknowledgment sent {"connection_id":134346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:54:02] local.INFO: TCP Data received {"connection_id":132979,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:54:02] local.INFO: Processing buffer {"connection_id":132979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:54:02] local.INFO: IMEI packet received {"connection_id":132979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":132979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:54:07] local.INFO: TCP Data received {"connection_id":132979,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:54:07] local.INFO: Processing buffer {"connection_id":132979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:54:07] local.INFO: IMEI packet received {"connection_id":132979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":132979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:54:08] local.INFO: TCP Data received {"connection_id":132979,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f627fab90012d7f92c005afd830000000502b..."} 
[2026-07-15 02:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f627fab90012d7f92c005afd830000000502b..."} 
[2026-07-15 02:54:08] local.INFO: Processing buffer {"connection_id":132979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f627fab90012d7f92c005afd830000000502b..."} 
[2026-07-15 02:54:08] local.INFO: Packet analysis {"connection_id":132979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f627f"} 
[2026-07-15 02:54:08] local.INFO: Extracted packet for processing {"connection_id":132979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f627f"} 
[2026-07-15 02:54:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720297216001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784063962000,"timestamp_ms":1784063962000,"timestamp_seconds":1784063962,"priority":1,"record_length":96,"hex_timestamp":"0000019f627fab90"} 
[2026-07-15 02:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-15 02:54:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2100,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:54:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720297216001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720297216001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:54:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:54:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720297216001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":132979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:54:08] local.INFO: GPS data processed {"connection_id":132979,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:54:08] local.INFO: Acknowledgment sent {"connection_id":132979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:54:39] local.INFO: TCP Data received {"connection_id":132979,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f627fab90012d7f92c005afd830000000502b..."} 
[2026-07-15 02:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f627fab90012d7f92c005afd830000000502b..."} 
[2026-07-15 02:54:39] local.INFO: Processing buffer {"connection_id":132979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f627fab90012d7f92c005afd830000000502b..."} 
[2026-07-15 02:54:39] local.INFO: Packet analysis {"connection_id":132979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f627f"} 
[2026-07-15 02:54:39] local.INFO: Extracted packet for processing {"connection_id":132979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f627f"} 
[2026-07-15 02:54:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720297216001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784063962000,"timestamp_ms":1784063962000,"timestamp_seconds":1784063962,"priority":1,"record_length":96,"hex_timestamp":"0000019f627fab90"} 
[2026-07-15 02:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:54:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-15 02:54:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2100,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720297216001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720297216001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:54:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:54:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720297216001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":132979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:54:39] local.INFO: GPS data processed {"connection_id":132979,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:54:39] local.INFO: Acknowledgment sent {"connection_id":132979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:55:05] local.INFO: TCP Data received {"connection_id":131964,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131964,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:55:05] local.INFO: Processing buffer {"connection_id":131964,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:55:05] local.INFO: IMEI packet received {"connection_id":131964,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 02:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":131964,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:55:07] local.INFO: TCP Data received {"connection_id":134347,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:55:07] local.INFO: Processing buffer {"connection_id":134347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:55:07] local.INFO: IMEI packet received {"connection_id":134347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":134347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:55:12] local.INFO: TCP Data received {"connection_id":134347,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:55:12] local.INFO: Processing buffer {"connection_id":134347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:55:12] local.INFO: IMEI packet received {"connection_id":134347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":134347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:55:13] local.INFO: TCP Data received {"connection_id":134347,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f62844358012d7f92c005afd8300000005029..."} 
[2026-07-15 02:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62844358012d7f92c005afd8300000005029..."} 
[2026-07-15 02:55:13] local.INFO: Processing buffer {"connection_id":134347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62844358012d7f92c005afd8300000005029..."} 
[2026-07-15 02:55:13] local.INFO: Packet analysis {"connection_id":134347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6284"} 
[2026-07-15 02:55:13] local.INFO: Extracted packet for processing {"connection_id":134347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6284"} 
[2026-07-15 02:55:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720374272001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:55:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:55:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784064263000,"timestamp_ms":1784064263000,"timestamp_seconds":1784064263,"priority":1,"record_length":96,"hex_timestamp":"0000019f62844358"} 
[2026-07-15 02:55:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:55:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 02:55:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:55:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":134347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":134347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":134347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:55:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720374272001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720374272001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:55:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:55:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:55:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720374272001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":134347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:55:13] local.INFO: GPS data processed {"connection_id":134347,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:55:13] local.INFO: Acknowledgment sent {"connection_id":134347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:55:44] local.INFO: TCP Data received {"connection_id":134347,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f62844358012d7f92c005afd8300000005029..."} 
[2026-07-15 02:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62844358012d7f92c005afd8300000005029..."} 
[2026-07-15 02:55:44] local.INFO: Processing buffer {"connection_id":134347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62844358012d7f92c005afd8300000005029..."} 
[2026-07-15 02:55:44] local.INFO: Packet analysis {"connection_id":134347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6284"} 
[2026-07-15 02:55:44] local.INFO: Extracted packet for processing {"connection_id":134347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6284"} 
[2026-07-15 02:55:44] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720374272001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:55:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784064263000,"timestamp_ms":1784064263000,"timestamp_seconds":1784064263,"priority":1,"record_length":96,"hex_timestamp":"0000019f62844358"} 
[2026-07-15 02:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:55:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 02:55:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":134347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":134347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":134347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720374272001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720374272001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:55:44] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:55:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720374272001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":134347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:55:44] local.INFO: GPS data processed {"connection_id":134347,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:55:44] local.INFO: Acknowledgment sent {"connection_id":134347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:55:45] local.INFO: TCP Data received {"connection_id":132139,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132139,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:55:45] local.INFO: Processing buffer {"connection_id":132139,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 02:55:45] local.INFO: IMEI packet received {"connection_id":132139,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 02:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":132139,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:56:03] local.INFO: TCP Data received {"connection_id":132980,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:56:03] local.INFO: Processing buffer {"connection_id":132980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:56:03] local.INFO: IMEI packet received {"connection_id":132980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":132980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:56:07] local.INFO: TCP Data received {"connection_id":132980,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:56:07] local.INFO: Processing buffer {"connection_id":132980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:56:07] local.INFO: IMEI packet received {"connection_id":132980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":132980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:56:08] local.INFO: TCP Data received {"connection_id":132980,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f62844358012d7f92c005afd8300000005029..."} 
[2026-07-15 02:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62844358012d7f92c005afd8300000005029..."} 
[2026-07-15 02:56:08] local.INFO: Processing buffer {"connection_id":132980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62844358012d7f92c005afd8300000005029..."} 
[2026-07-15 02:56:08] local.INFO: Packet analysis {"connection_id":132980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6284"} 
[2026-07-15 02:56:08] local.INFO: Extracted packet for processing {"connection_id":132980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6284"} 
[2026-07-15 02:56:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720374272001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784064263000,"timestamp_ms":1784064263000,"timestamp_seconds":1784064263,"priority":1,"record_length":96,"hex_timestamp":"0000019f62844358"} 
[2026-07-15 02:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 02:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720374272001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720374272001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:56:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:56:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720374272001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":132980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:56:08] local.INFO: GPS data processed {"connection_id":132980,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:56:08] local.INFO: Acknowledgment sent {"connection_id":132980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:56:39] local.INFO: TCP Data received {"connection_id":132980,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f62844358012d7f92c005afd8300000005029..."} 
[2026-07-15 02:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62844358012d7f92c005afd8300000005029..."} 
[2026-07-15 02:56:39] local.INFO: Processing buffer {"connection_id":132980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62844358012d7f92c005afd8300000005029..."} 
[2026-07-15 02:56:39] local.INFO: Packet analysis {"connection_id":132980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6284"} 
[2026-07-15 02:56:39] local.INFO: Extracted packet for processing {"connection_id":132980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6284"} 
[2026-07-15 02:56:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720374272001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784064263000,"timestamp_ms":1784064263000,"timestamp_seconds":1784064263,"priority":1,"record_length":96,"hex_timestamp":"0000019f62844358"} 
[2026-07-15 02:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 02:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720374272001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720374272001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:56:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:56:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720374272001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":132980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:56:39] local.INFO: GPS data processed {"connection_id":132980,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:56:39] local.INFO: Acknowledgment sent {"connection_id":132980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:57:02] local.INFO: TCP Data received {"connection_id":131966,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:57:02] local.INFO: Processing buffer {"connection_id":131966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:57:02] local.INFO: IMEI packet received {"connection_id":131966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":131966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:57:07] local.INFO: TCP Data received {"connection_id":131966,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:57:07] local.INFO: Processing buffer {"connection_id":131966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:57:07] local.INFO: IMEI packet received {"connection_id":131966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":131966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:57:08] local.INFO: TCP Data received {"connection_id":131966,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f62844358012d7f92c005afd8300000005029..."} 
[2026-07-15 02:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62844358012d7f92c005afd8300000005029..."} 
[2026-07-15 02:57:08] local.INFO: Processing buffer {"connection_id":131966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62844358012d7f92c005afd8300000005029..."} 
[2026-07-15 02:57:08] local.INFO: Packet analysis {"connection_id":131966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6284"} 
[2026-07-15 02:57:08] local.INFO: Extracted packet for processing {"connection_id":131966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6284"} 
[2026-07-15 02:57:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720374272001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:57:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784064263000,"timestamp_ms":1784064263000,"timestamp_seconds":1784064263,"priority":1,"record_length":96,"hex_timestamp":"0000019f62844358"} 
[2026-07-15 02:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 02:57:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":131966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":131966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":131966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720374272001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720374272001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:57:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:57:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720374272001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":131966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:57:08] local.INFO: GPS data processed {"connection_id":131966,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:57:08] local.INFO: Acknowledgment sent {"connection_id":131966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:57:39] local.INFO: TCP Data received {"connection_id":131966,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f62844358012d7f92c005afd8300000005029..."} 
[2026-07-15 02:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62844358012d7f92c005afd8300000005029..."} 
[2026-07-15 02:57:39] local.INFO: Processing buffer {"connection_id":131966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62844358012d7f92c005afd8300000005029..."} 
[2026-07-15 02:57:39] local.INFO: Packet analysis {"connection_id":131966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6284"} 
[2026-07-15 02:57:39] local.INFO: Extracted packet for processing {"connection_id":131966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6284"} 
[2026-07-15 02:57:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720374272001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784064263000,"timestamp_ms":1784064263000,"timestamp_seconds":1784064263,"priority":1,"record_length":96,"hex_timestamp":"0000019f62844358"} 
[2026-07-15 02:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:57:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 02:57:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:57:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":131966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":131966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":131966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720374272001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720374272001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:57:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:57:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720374272001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":131966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:57:39] local.INFO: GPS data processed {"connection_id":131966,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:57:39] local.INFO: Acknowledgment sent {"connection_id":131966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:58:07] local.INFO: TCP Data received {"connection_id":134348,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:58:07] local.INFO: Processing buffer {"connection_id":134348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:58:07] local.INFO: IMEI packet received {"connection_id":134348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":134348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:58:12] local.INFO: TCP Data received {"connection_id":134348,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:58:12] local.INFO: Processing buffer {"connection_id":134348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:58:12] local.INFO: IMEI packet received {"connection_id":134348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":134348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:58:13] local.INFO: TCP Data received {"connection_id":134348,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f62844358012d7f92c005afd8300000005029..."} 
[2026-07-15 02:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62844358012d7f92c005afd8300000005029..."} 
[2026-07-15 02:58:13] local.INFO: Processing buffer {"connection_id":134348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62844358012d7f92c005afd8300000005029..."} 
[2026-07-15 02:58:13] local.INFO: Packet analysis {"connection_id":134348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6284"} 
[2026-07-15 02:58:13] local.INFO: Extracted packet for processing {"connection_id":134348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6284"} 
[2026-07-15 02:58:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720374272001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784064263000,"timestamp_ms":1784064263000,"timestamp_seconds":1784064263,"priority":1,"record_length":96,"hex_timestamp":"0000019f62844358"} 
[2026-07-15 02:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:58:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 02:58:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:58:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":134348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":134348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":134348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:58:13] 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-07-15 02:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720374272001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720374272001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:58:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:58:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720374272001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":134348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:58:13] local.INFO: GPS data processed {"connection_id":134348,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:58:13] local.INFO: Acknowledgment sent {"connection_id":134348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:58:18] local.INFO: TCP Data received {"connection_id":134348,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f62844358012d7f92c005afd8300000005029..."} 
[2026-07-15 02:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62844358012d7f92c005afd8300000005029..."} 
[2026-07-15 02:58:18] local.INFO: Processing buffer {"connection_id":134348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62844358012d7f92c005afd8300000005029..."} 
[2026-07-15 02:58:18] local.INFO: Packet analysis {"connection_id":134348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6284"} 
[2026-07-15 02:58:18] local.INFO: Extracted packet for processing {"connection_id":134348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6284"} 
[2026-07-15 02:58:18] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720374272001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:58:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:58:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784064263000,"timestamp_ms":1784064263000,"timestamp_seconds":1784064263,"priority":1,"record_length":96,"hex_timestamp":"0000019f62844358"} 
[2026-07-15 02:58:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:58:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 02:58:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:58:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":134348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":134348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":134348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:58:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 02:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720374272001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720374272001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:58:18] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:58:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:58:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720374272001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":134348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:58:18] local.INFO: GPS data processed {"connection_id":134348,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:58:18] local.INFO: Acknowledgment sent {"connection_id":134348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:58:23] local.INFO: TCP Data received {"connection_id":134348,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f62844358012d7f92c005afd8300000005029..."} 
[2026-07-15 02:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62844358012d7f92c005afd8300000005029..."} 
[2026-07-15 02:58:23] local.INFO: Processing buffer {"connection_id":134348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62844358012d7f92c005afd8300000005029..."} 
[2026-07-15 02:58:23] local.INFO: Packet analysis {"connection_id":134348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6284"} 
[2026-07-15 02:58:23] local.INFO: Extracted packet for processing {"connection_id":134348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6284"} 
[2026-07-15 02:58:23] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720374272001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1784064263000,"timestamp_ms":1784064263000,"timestamp_seconds":1784064263,"priority":1,"record_length":96,"hex_timestamp":"0000019f62844358"} 
[2026-07-15 02:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:58:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 02:58:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":134348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":134348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":134348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:58:23] 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-07-15 02:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720374272001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720374272001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:58:23] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:58:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720374272001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":134348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:58:23] local.INFO: GPS data processed {"connection_id":134348,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:58:23] local.INFO: Acknowledgment sent {"connection_id":134348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:59:02] local.INFO: TCP Data received {"connection_id":132141,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:59:02] local.INFO: Processing buffer {"connection_id":132141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:59:02] local.INFO: IMEI packet received {"connection_id":132141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 02:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":132141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 02:59:07] local.INFO: TCP Data received {"connection_id":132141,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:59:07] local.INFO: Processing buffer {"connection_id":132141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 02:59:07] local.INFO: IMEI packet received {"connection_id":132141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 02:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":132141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 02:59:08] local.INFO: TCP Data received {"connection_id":132141,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f62844358012d7f92c005afd8300000005029..."} 
[2026-07-15 02:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62844358012d7f92c005afd8300000005029..."} 
[2026-07-15 02:59:08] local.INFO: Processing buffer {"connection_id":132141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62844358012d7f92c005afd8300000005029..."} 
[2026-07-15 02:59:08] local.INFO: Packet analysis {"connection_id":132141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6284"} 
[2026-07-15 02:59:08] local.INFO: Extracted packet for processing {"connection_id":132141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6284"} 
[2026-07-15 02:59:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720374272001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784064263000,"timestamp_ms":1784064263000,"timestamp_seconds":1784064263,"priority":1,"record_length":96,"hex_timestamp":"0000019f62844358"} 
[2026-07-15 02:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 02:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:59:08] 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-07-15 02:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720374272001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720374272001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:59:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:59:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720374272001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":132141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:59:08] local.INFO: GPS data processed {"connection_id":132141,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:59:08] local.INFO: Acknowledgment sent {"connection_id":132141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:59:13] local.INFO: TCP Data received {"connection_id":132141,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f62844358012d7f92c005afd8300000005029..."} 
[2026-07-15 02:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62844358012d7f92c005afd8300000005029..."} 
[2026-07-15 02:59:13] local.INFO: Processing buffer {"connection_id":132141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62844358012d7f92c005afd8300000005029..."} 
[2026-07-15 02:59:13] local.INFO: Packet analysis {"connection_id":132141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6284"} 
[2026-07-15 02:59:13] local.INFO: Extracted packet for processing {"connection_id":132141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6284"} 
[2026-07-15 02:59:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 02:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720374272001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784064263000,"timestamp_ms":1784064263000,"timestamp_seconds":1784064263,"priority":1,"record_length":96,"hex_timestamp":"0000019f62844358"} 
[2026-07-15 02:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:59:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 02:59:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02:59:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 02:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:59:13] 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-07-15 02:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720374272001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720374272001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:59:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:59:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720374272001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":132141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:59:13] local.INFO: GPS data processed {"connection_id":132141,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:59:13] local.INFO: Acknowledgment sent {"connection_id":132141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 02:59:44] local.INFO: TCP Data received {"connection_id":132141,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f62844358012d7f92c005afd8300000005029..."} 
[2026-07-15 02:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62844358012d7f92c005afd8300000005029..."} 
[2026-07-15 02:59:44] local.INFO: Processing buffer {"connection_id":132141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62844358012d7f92c005afd8300000005029..."} 
[2026-07-15 02:59:44] local.INFO: Packet analysis {"connection_id":132141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6284"} 
[2026-07-15 02:59:44] local.INFO: Extracted packet for processing {"connection_id":132141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6284"} 
[2026-07-15 02:59:44] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 02: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-07-15 02:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720374272001,"note":"Value kept but may cause issues"} 
[2026-07-15 02:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 02:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 02:59:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 02:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784064263000,"timestamp_ms":1784064263000,"timestamp_seconds":1784064263,"priority":1,"record_length":96,"hex_timestamp":"0000019f62844358"} 
[2026-07-15 02:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 02:59:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 02:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 02:59:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 02: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-07-15 02:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 02:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 02:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":132141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 02:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":132141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":132141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 02:59:44] 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-07-15 02:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 02:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 02:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720374272001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 02:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 02:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 02:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720374272001,"description":"Unknown IO ID 0"} 
[2026-07-15 02:59:44] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 02:59:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 02:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 02:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 02:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720374272001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 02:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":132141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 02:59:44] local.INFO: GPS data processed {"connection_id":132141,"processed":1,"errors":0,"total":1} 
[2026-07-15 02:59:44] local.INFO: Acknowledgment sent {"connection_id":132141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:00:02] local.INFO: TCP Data received {"connection_id":134350,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:00:02] local.INFO: Processing buffer {"connection_id":134350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:00:02] local.INFO: IMEI packet received {"connection_id":134350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":134350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:00:03] local.INFO: TCP Data received {"connection_id":134350,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:00:03] local.INFO: Processing buffer {"connection_id":134350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:00:03] local.INFO: IMEI packet received {"connection_id":134350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":134350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:00:07] local.INFO: TCP Data received {"connection_id":134350,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:00:07] local.INFO: Processing buffer {"connection_id":134350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:00:07] local.INFO: IMEI packet received {"connection_id":134350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":134350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:00:08] local.INFO: TCP Data received {"connection_id":134350,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f6288db20012d7f92c005afd8300000005029..."} 
[2026-07-15 03:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6288db20012d7f92c005afd8300000005029..."} 
[2026-07-15 03:00:08] local.INFO: Processing buffer {"connection_id":134350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6288db20012d7f92c005afd8300000005029..."} 
[2026-07-15 03:00:08] local.INFO: Packet analysis {"connection_id":134350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6288"} 
[2026-07-15 03:00:08] local.INFO: Extracted packet for processing {"connection_id":134350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6288"} 
[2026-07-15 03:00:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720451328001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:00:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784064564000,"timestamp_ms":1784064564000,"timestamp_seconds":1784064564,"priority":1,"record_length":96,"hex_timestamp":"0000019f6288db20"} 
[2026-07-15 03:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:00:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 03:00:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:00:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:00:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720451328001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720451328001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:00:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:00:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720451328001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":134350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:00:08] local.INFO: GPS data processed {"connection_id":134350,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:00:08] local.INFO: Acknowledgment sent {"connection_id":134350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:00:39] local.INFO: TCP Data received {"connection_id":134350,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f6288db20012d7f92c005afd8300000005029..."} 
[2026-07-15 03:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6288db20012d7f92c005afd8300000005029..."} 
[2026-07-15 03:00:39] local.INFO: Processing buffer {"connection_id":134350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6288db20012d7f92c005afd8300000005029..."} 
[2026-07-15 03:00:39] local.INFO: Packet analysis {"connection_id":134350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6288"} 
[2026-07-15 03:00:39] local.INFO: Extracted packet for processing {"connection_id":134350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6288"} 
[2026-07-15 03:00:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03: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-07-15 03:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720451328001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784064564000,"timestamp_ms":1784064564000,"timestamp_seconds":1784064564,"priority":1,"record_length":96,"hex_timestamp":"0000019f6288db20"} 
[2026-07-15 03:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:00:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 03:00:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:00:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:00: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-07-15 03:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720451328001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720451328001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:00:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:00:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720451328001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":134350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:00:39] local.INFO: GPS data processed {"connection_id":134350,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:00:39] local.INFO: Acknowledgment sent {"connection_id":134350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:01:02] local.INFO: TCP Data received {"connection_id":132142,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:01:02] local.INFO: Processing buffer {"connection_id":132142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:01:02] local.INFO: IMEI packet received {"connection_id":132142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":132142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:01:07] local.INFO: TCP Data received {"connection_id":132142,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:01:07] local.INFO: Processing buffer {"connection_id":132142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:01:07] local.INFO: IMEI packet received {"connection_id":132142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":132142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:01:09] local.INFO: TCP Data received {"connection_id":132142,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f6288db20012d7f92c005afd8300000005029..."} 
[2026-07-15 03:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6288db20012d7f92c005afd8300000005029..."} 
[2026-07-15 03:01:09] local.INFO: Processing buffer {"connection_id":132142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6288db20012d7f92c005afd8300000005029..."} 
[2026-07-15 03:01:09] local.INFO: Packet analysis {"connection_id":132142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6288"} 
[2026-07-15 03:01:09] local.INFO: Extracted packet for processing {"connection_id":132142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6288"} 
[2026-07-15 03:01:09] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720451328001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784064564000,"timestamp_ms":1784064564000,"timestamp_seconds":1784064564,"priority":1,"record_length":96,"hex_timestamp":"0000019f6288db20"} 
[2026-07-15 03:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 03:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":132142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":132142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":132142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720451328001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720451328001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:01:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:01:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720451328001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":132142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:01:09] local.INFO: GPS data processed {"connection_id":132142,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:01:09] local.INFO: Acknowledgment sent {"connection_id":132142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:01:24] local.INFO: TCP Data received {"connection_id":131967,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131967,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:01:24] local.INFO: Processing buffer {"connection_id":131967,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:01:24] local.INFO: IMEI packet received {"connection_id":131967,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 03:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":131967,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:01:35] local.INFO: TCP Data received {"connection_id":132982,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132982,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:01:35] local.INFO: Processing buffer {"connection_id":132982,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:01:35] local.INFO: IMEI packet received {"connection_id":132982,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 03:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":132982,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:01:40] local.INFO: TCP Data received {"connection_id":132142,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f6288db20012d7f92c005afd8300000005029..."} 
[2026-07-15 03:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6288db20012d7f92c005afd8300000005029..."} 
[2026-07-15 03:01:40] local.INFO: Processing buffer {"connection_id":132142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6288db20012d7f92c005afd8300000005029..."} 
[2026-07-15 03:01:40] local.INFO: Packet analysis {"connection_id":132142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6288"} 
[2026-07-15 03:01:40] local.INFO: Extracted packet for processing {"connection_id":132142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6288"} 
[2026-07-15 03:01:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720451328001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784064564000,"timestamp_ms":1784064564000,"timestamp_seconds":1784064564,"priority":1,"record_length":96,"hex_timestamp":"0000019f6288db20"} 
[2026-07-15 03:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:01:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 03:01:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:01:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720451328001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720451328001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:01:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:01:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720451328001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":132142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:01:40] local.INFO: GPS data processed {"connection_id":132142,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:01:40] local.INFO: Acknowledgment sent {"connection_id":132142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:02:02] local.INFO: TCP Data received {"connection_id":134351,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:02:02] local.INFO: Processing buffer {"connection_id":134351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:02:02] local.INFO: IMEI packet received {"connection_id":134351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":134351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:02:07] local.INFO: TCP Data received {"connection_id":134351,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:02:07] local.INFO: Processing buffer {"connection_id":134351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:02:07] local.INFO: IMEI packet received {"connection_id":134351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":134351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:02:08] local.INFO: TCP Data received {"connection_id":134351,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f6288db20012d7f92c005afd8300000005029..."} 
[2026-07-15 03:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6288db20012d7f92c005afd8300000005029..."} 
[2026-07-15 03:02:08] local.INFO: Processing buffer {"connection_id":134351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6288db20012d7f92c005afd8300000005029..."} 
[2026-07-15 03:02:08] local.INFO: Packet analysis {"connection_id":134351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6288"} 
[2026-07-15 03:02:08] local.INFO: Extracted packet for processing {"connection_id":134351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6288"} 
[2026-07-15 03:02:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03: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-07-15 03:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720451328001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:02:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784064564000,"timestamp_ms":1784064564000,"timestamp_seconds":1784064564,"priority":1,"record_length":96,"hex_timestamp":"0000019f6288db20"} 
[2026-07-15 03:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 03:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03: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-07-15 03:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720451328001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720451328001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:02:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:02:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720451328001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":134351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:02:08] local.INFO: GPS data processed {"connection_id":134351,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:02:08] local.INFO: Acknowledgment sent {"connection_id":134351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:02:39] local.INFO: TCP Data received {"connection_id":134351,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f6288db20012d7f92c005afd8300000005029..."} 
[2026-07-15 03:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6288db20012d7f92c005afd8300000005029..."} 
[2026-07-15 03:02:39] local.INFO: Processing buffer {"connection_id":134351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6288db20012d7f92c005afd8300000005029..."} 
[2026-07-15 03:02:39] local.INFO: Packet analysis {"connection_id":134351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6288"} 
[2026-07-15 03:02:39] local.INFO: Extracted packet for processing {"connection_id":134351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6288"} 
[2026-07-15 03:02:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03: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-07-15 03:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720451328001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784064564000,"timestamp_ms":1784064564000,"timestamp_seconds":1784064564,"priority":1,"record_length":96,"hex_timestamp":"0000019f6288db20"} 
[2026-07-15 03:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:02:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 03:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03: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-07-15 03:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:02: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-07-15 03:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720451328001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720451328001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:02:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:02:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720451328001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":134351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:02:39] local.INFO: GPS data processed {"connection_id":134351,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:02:39] local.INFO: Acknowledgment sent {"connection_id":134351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:03:07] local.INFO: TCP Data received {"connection_id":132984,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:03:07] local.INFO: Processing buffer {"connection_id":132984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:03:07] local.INFO: IMEI packet received {"connection_id":132984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":132984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:03:12] local.INFO: TCP Data received {"connection_id":132984,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:03:12] local.INFO: Processing buffer {"connection_id":132984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:03:12] local.INFO: IMEI packet received {"connection_id":132984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":132984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:03:13] local.INFO: TCP Data received {"connection_id":132984,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f6288db20012d7f92c005afd8300000005029..."} 
[2026-07-15 03:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6288db20012d7f92c005afd8300000005029..."} 
[2026-07-15 03:03:13] local.INFO: Processing buffer {"connection_id":132984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6288db20012d7f92c005afd8300000005029..."} 
[2026-07-15 03:03:13] local.INFO: Packet analysis {"connection_id":132984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6288"} 
[2026-07-15 03:03:13] local.INFO: Extracted packet for processing {"connection_id":132984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6288"} 
[2026-07-15 03:03:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720451328001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:03:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:03:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784064564000,"timestamp_ms":1784064564000,"timestamp_seconds":1784064564,"priority":1,"record_length":96,"hex_timestamp":"0000019f6288db20"} 
[2026-07-15 03:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:03:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 03:03:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:03:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:03:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720451328001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720451328001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:03:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:03:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:03:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720451328001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":132984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:03:13] local.INFO: GPS data processed {"connection_id":132984,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:03:13] local.INFO: Acknowledgment sent {"connection_id":132984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:03:18] local.INFO: TCP Data received {"connection_id":132984,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f6288db20012d7f92c005afd8300000005029..."} 
[2026-07-15 03:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6288db20012d7f92c005afd8300000005029..."} 
[2026-07-15 03:03:18] local.INFO: Processing buffer {"connection_id":132984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6288db20012d7f92c005afd8300000005029..."} 
[2026-07-15 03:03:18] local.INFO: Packet analysis {"connection_id":132984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6288"} 
[2026-07-15 03:03:18] local.INFO: Extracted packet for processing {"connection_id":132984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6288"} 
[2026-07-15 03:03:18] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03: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-07-15 03:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720451328001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:03:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784064564000,"timestamp_ms":1784064564000,"timestamp_seconds":1784064564,"priority":1,"record_length":96,"hex_timestamp":"0000019f6288db20"} 
[2026-07-15 03:03:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:03:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 03:03:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03: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-07-15 03:03:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":132984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":132984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":132984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:03:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720451328001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720451328001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:03:18] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:03:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720451328001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":132984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:03:18] local.INFO: GPS data processed {"connection_id":132984,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:03:18] local.INFO: Acknowledgment sent {"connection_id":132984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:04:02] local.INFO: TCP Data received {"connection_id":132144,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:04:02] local.INFO: Processing buffer {"connection_id":132144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:04:02] local.INFO: IMEI packet received {"connection_id":132144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":132144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:04:07] local.INFO: TCP Data received {"connection_id":132144,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:04:07] local.INFO: Processing buffer {"connection_id":132144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:04:07] local.INFO: IMEI packet received {"connection_id":132144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":132144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:04:08] local.INFO: TCP Data received {"connection_id":132144,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f6288db20012d7f92c005afd8300000005029..."} 
[2026-07-15 03:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6288db20012d7f92c005afd8300000005029..."} 
[2026-07-15 03:04:08] local.INFO: Processing buffer {"connection_id":132144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6288db20012d7f92c005afd8300000005029..."} 
[2026-07-15 03:04:08] local.INFO: Packet analysis {"connection_id":132144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6288"} 
[2026-07-15 03:04:08] local.INFO: Extracted packet for processing {"connection_id":132144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6288"} 
[2026-07-15 03:04:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03: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-07-15 03:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720451328001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784064564000,"timestamp_ms":1784064564000,"timestamp_seconds":1784064564,"priority":1,"record_length":96,"hex_timestamp":"0000019f6288db20"} 
[2026-07-15 03:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 03:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03: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-07-15 03:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720451328001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720451328001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:04:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:04:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720451328001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":132144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:04:08] local.INFO: GPS data processed {"connection_id":132144,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:04:08] local.INFO: Acknowledgment sent {"connection_id":132144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:04:39] local.INFO: TCP Data received {"connection_id":132144,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f6288db20012d7f92c005afd8300000005029..."} 
[2026-07-15 03:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6288db20012d7f92c005afd8300000005029..."} 
[2026-07-15 03:04:39] local.INFO: Processing buffer {"connection_id":132144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6288db20012d7f92c005afd8300000005029..."} 
[2026-07-15 03:04:39] local.INFO: Packet analysis {"connection_id":132144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6288"} 
[2026-07-15 03:04:39] local.INFO: Extracted packet for processing {"connection_id":132144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6288"} 
[2026-07-15 03:04:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03: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-07-15 03:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720451328001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784064564000,"timestamp_ms":1784064564000,"timestamp_seconds":1784064564,"priority":1,"record_length":96,"hex_timestamp":"0000019f6288db20"} 
[2026-07-15 03:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 03:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03: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-07-15 03:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:04: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-07-15 03:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720451328001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720451328001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:04:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:04:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720451328001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":132144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:04:39] local.INFO: GPS data processed {"connection_id":132144,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:04:39] local.INFO: Acknowledgment sent {"connection_id":132144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:05:02] local.INFO: TCP Data received {"connection_id":132145,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:05:02] local.INFO: Processing buffer {"connection_id":132145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:05:02] local.INFO: IMEI packet received {"connection_id":132145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":132145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:05:03] local.INFO: TCP Data received {"connection_id":132145,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:05:03] local.INFO: Processing buffer {"connection_id":132145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:05:03] local.INFO: IMEI packet received {"connection_id":132145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":132145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:05:07] local.INFO: TCP Data received {"connection_id":132145,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:05:07] local.INFO: Processing buffer {"connection_id":132145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:05:07] local.INFO: IMEI packet received {"connection_id":132145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":132145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:05:08] local.INFO: TCP Data received {"connection_id":132145,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f628d72e8012d7f92c005afd8300000005022..."} 
[2026-07-15 03:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f628d72e8012d7f92c005afd8300000005022..."} 
[2026-07-15 03:05:08] local.INFO: Processing buffer {"connection_id":132145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f628d72e8012d7f92c005afd8300000005022..."} 
[2026-07-15 03:05:08] local.INFO: Packet analysis {"connection_id":132145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f628d"} 
[2026-07-15 03:05:08] local.INFO: Extracted packet for processing {"connection_id":132145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f628d"} 
[2026-07-15 03:05:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":34,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720528384001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784064865000,"timestamp_ms":1784064865000,"timestamp_seconds":1784064865,"priority":1,"record_length":96,"hex_timestamp":"0000019f628d72e8"} 
[2026-07-15 03:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 03:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720528384001,"66":25473,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720528384001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:05:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:05:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720528384001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":132145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:05:08] local.INFO: GPS data processed {"connection_id":132145,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:05:08] local.INFO: Acknowledgment sent {"connection_id":132145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:05:40] local.INFO: TCP Data received {"connection_id":132145,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f628d72e8012d7f92c005afd8300000005022..."} 
[2026-07-15 03:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f628d72e8012d7f92c005afd8300000005022..."} 
[2026-07-15 03:05:40] local.INFO: Processing buffer {"connection_id":132145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f628d72e8012d7f92c005afd8300000005022..."} 
[2026-07-15 03:05:40] local.INFO: Packet analysis {"connection_id":132145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f628d"} 
[2026-07-15 03:05:40] local.INFO: Extracted packet for processing {"connection_id":132145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f628d"} 
[2026-07-15 03:05:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":34,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03: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-07-15 03:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720528384001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784064865000,"timestamp_ms":1784064865000,"timestamp_seconds":1784064865,"priority":1,"record_length":96,"hex_timestamp":"0000019f628d72e8"} 
[2026-07-15 03:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:05:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 03:05:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03: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-07-15 03:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720528384001,"66":25473,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720528384001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:05:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:05:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720528384001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":132145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:05:40] local.INFO: GPS data processed {"connection_id":132145,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:05:40] local.INFO: Acknowledgment sent {"connection_id":132145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:06:02] local.INFO: TCP Data received {"connection_id":134353,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:06:02] local.INFO: Processing buffer {"connection_id":134353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:06:02] local.INFO: IMEI packet received {"connection_id":134353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":134353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:06:07] local.INFO: TCP Data received {"connection_id":134353,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:06:07] local.INFO: Processing buffer {"connection_id":134353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:06:07] local.INFO: IMEI packet received {"connection_id":134353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":134353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:06:08] local.INFO: TCP Data received {"connection_id":134353,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f628d72e8012d7f92c005afd8300000005022..."} 
[2026-07-15 03:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f628d72e8012d7f92c005afd8300000005022..."} 
[2026-07-15 03:06:08] local.INFO: Processing buffer {"connection_id":134353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f628d72e8012d7f92c005afd8300000005022..."} 
[2026-07-15 03:06:08] local.INFO: Packet analysis {"connection_id":134353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f628d"} 
[2026-07-15 03:06:08] local.INFO: Extracted packet for processing {"connection_id":134353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f628d"} 
[2026-07-15 03:06:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":34,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720528384001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:06:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784064865000,"timestamp_ms":1784064865000,"timestamp_seconds":1784064865,"priority":1,"record_length":96,"hex_timestamp":"0000019f628d72e8"} 
[2026-07-15 03:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:06:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 03:06:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:06:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:06:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720528384001,"66":25473,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720528384001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:06:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:06:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720528384001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":134353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:06:08] local.INFO: GPS data processed {"connection_id":134353,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:06:08] local.INFO: Acknowledgment sent {"connection_id":134353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:06:39] local.INFO: TCP Data received {"connection_id":134353,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f628d72e8012d7f92c005afd8300000005022..."} 
[2026-07-15 03:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f628d72e8012d7f92c005afd8300000005022..."} 
[2026-07-15 03:06:39] local.INFO: Processing buffer {"connection_id":134353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f628d72e8012d7f92c005afd8300000005022..."} 
[2026-07-15 03:06:39] local.INFO: Packet analysis {"connection_id":134353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f628d"} 
[2026-07-15 03:06:39] local.INFO: Extracted packet for processing {"connection_id":134353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f628d"} 
[2026-07-15 03:06:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":34,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:06: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-07-15 03:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720528384001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:06:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784064865000,"timestamp_ms":1784064865000,"timestamp_seconds":1784064865,"priority":1,"record_length":96,"hex_timestamp":"0000019f628d72e8"} 
[2026-07-15 03:06:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:06:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 03:06:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:06: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-07-15 03:06:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:06: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-07-15 03:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720528384001,"66":25473,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720528384001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:06:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:06:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720528384001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":134353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:06:39] local.INFO: GPS data processed {"connection_id":134353,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:06:39] local.INFO: Acknowledgment sent {"connection_id":134353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:07:06] local.INFO: TCP Data received {"connection_id":131970,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131970,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:07:06] local.INFO: Processing buffer {"connection_id":131970,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:07:06] local.INFO: IMEI packet received {"connection_id":131970,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 03:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":131970,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:07:07] local.INFO: TCP Data received {"connection_id":131971,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:07:07] local.INFO: Processing buffer {"connection_id":131971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:07:07] local.INFO: IMEI packet received {"connection_id":131971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":131971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:07:12] local.INFO: TCP Data received {"connection_id":131971,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:07:12] local.INFO: Processing buffer {"connection_id":131971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:07:12] local.INFO: IMEI packet received {"connection_id":131971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":131971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:07:13] local.INFO: TCP Data received {"connection_id":131971,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f628d72e8012d7f92c005afd8300000005022..."} 
[2026-07-15 03:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f628d72e8012d7f92c005afd8300000005022..."} 
[2026-07-15 03:07:13] local.INFO: Processing buffer {"connection_id":131971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f628d72e8012d7f92c005afd8300000005022..."} 
[2026-07-15 03:07:13] local.INFO: Packet analysis {"connection_id":131971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f628d"} 
[2026-07-15 03:07:13] local.INFO: Extracted packet for processing {"connection_id":131971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f628d"} 
[2026-07-15 03:07:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":34,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720528384001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:07:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:07:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784064865000,"timestamp_ms":1784064865000,"timestamp_seconds":1784064865,"priority":1,"record_length":96,"hex_timestamp":"0000019f628d72e8"} 
[2026-07-15 03:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:07:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 03:07:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:07:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":131971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":131971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":131971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720528384001,"66":25473,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720528384001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:07:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:07:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:07:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720528384001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":131971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:07:13] local.INFO: GPS data processed {"connection_id":131971,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:07:13] local.INFO: Acknowledgment sent {"connection_id":131971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:07:18] local.INFO: TCP Data received {"connection_id":131971,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f628d72e8012d7f92c005afd8300000005022..."} 
[2026-07-15 03:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f628d72e8012d7f92c005afd8300000005022..."} 
[2026-07-15 03:07:18] local.INFO: Processing buffer {"connection_id":131971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f628d72e8012d7f92c005afd8300000005022..."} 
[2026-07-15 03:07:18] local.INFO: Packet analysis {"connection_id":131971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f628d"} 
[2026-07-15 03:07:18] local.INFO: Extracted packet for processing {"connection_id":131971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f628d"} 
[2026-07-15 03:07:18] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":34,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03: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-07-15 03:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720528384001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784064865000,"timestamp_ms":1784064865000,"timestamp_seconds":1784064865,"priority":1,"record_length":96,"hex_timestamp":"0000019f628d72e8"} 
[2026-07-15 03:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:07:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 03:07:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03: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-07-15 03:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":131971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":131971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":131971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:07:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720528384001,"66":25473,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720528384001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:07:18] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:07:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720528384001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":131971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:07:18] local.INFO: GPS data processed {"connection_id":131971,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:07:18] local.INFO: Acknowledgment sent {"connection_id":131971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:07:34] local.INFO: TCP Data received {"connection_id":132146,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132146,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:07:34] local.INFO: Processing buffer {"connection_id":132146,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:07:34] local.INFO: IMEI packet received {"connection_id":132146,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 03:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":132146,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:08:02] local.INFO: TCP Data received {"connection_id":134354,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:08:02] local.INFO: Processing buffer {"connection_id":134354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:08:02] local.INFO: IMEI packet received {"connection_id":134354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":134354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:08:07] local.INFO: TCP Data received {"connection_id":134354,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:08:07] local.INFO: Processing buffer {"connection_id":134354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:08:07] local.INFO: IMEI packet received {"connection_id":134354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":134354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:08:08] local.INFO: TCP Data received {"connection_id":134354,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f628d72e8012d7f92c005afd8300000005022..."} 
[2026-07-15 03:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f628d72e8012d7f92c005afd8300000005022..."} 
[2026-07-15 03:08:08] local.INFO: Processing buffer {"connection_id":134354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f628d72e8012d7f92c005afd8300000005022..."} 
[2026-07-15 03:08:08] local.INFO: Packet analysis {"connection_id":134354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f628d"} 
[2026-07-15 03:08:08] local.INFO: Extracted packet for processing {"connection_id":134354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f628d"} 
[2026-07-15 03:08:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":34,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03: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-07-15 03:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720528384001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784064865000,"timestamp_ms":1784064865000,"timestamp_seconds":1784064865,"priority":1,"record_length":96,"hex_timestamp":"0000019f628d72e8"} 
[2026-07-15 03:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 03:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720528384001,"66":25473,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720528384001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:08:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:08:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720528384001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":134354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:08:08] local.INFO: GPS data processed {"connection_id":134354,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:08:08] local.INFO: Acknowledgment sent {"connection_id":134354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:08:39] local.INFO: TCP Data received {"connection_id":134354,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f628d72e8012d7f92c005afd8300000005022..."} 
[2026-07-15 03:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f628d72e8012d7f92c005afd8300000005022..."} 
[2026-07-15 03:08:39] local.INFO: Processing buffer {"connection_id":134354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f628d72e8012d7f92c005afd8300000005022..."} 
[2026-07-15 03:08:39] local.INFO: Packet analysis {"connection_id":134354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f628d"} 
[2026-07-15 03:08:39] local.INFO: Extracted packet for processing {"connection_id":134354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f628d"} 
[2026-07-15 03:08:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":34,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720528384001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784064865000,"timestamp_ms":1784064865000,"timestamp_seconds":1784064865,"priority":1,"record_length":96,"hex_timestamp":"0000019f628d72e8"} 
[2026-07-15 03:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:08:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 03:08:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:08:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:08: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-07-15 03:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720528384001,"66":25473,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720528384001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:08:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:08:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720528384001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":134354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:08:39] local.INFO: GPS data processed {"connection_id":134354,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:08:39] local.INFO: Acknowledgment sent {"connection_id":134354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:09:02] local.INFO: TCP Data received {"connection_id":131972,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:09:02] local.INFO: Processing buffer {"connection_id":131972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:09:02] local.INFO: IMEI packet received {"connection_id":131972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":131972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:09:07] local.INFO: TCP Data received {"connection_id":131972,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:09:07] local.INFO: Processing buffer {"connection_id":131972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:09:07] local.INFO: IMEI packet received {"connection_id":131972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":131972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:09:08] local.INFO: TCP Data received {"connection_id":131972,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f628d72e8012d7f92c005afd8300000005022..."} 
[2026-07-15 03:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f628d72e8012d7f92c005afd8300000005022..."} 
[2026-07-15 03:09:08] local.INFO: Processing buffer {"connection_id":131972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f628d72e8012d7f92c005afd8300000005022..."} 
[2026-07-15 03:09:08] local.INFO: Packet analysis {"connection_id":131972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f628d"} 
[2026-07-15 03:09:08] local.INFO: Extracted packet for processing {"connection_id":131972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f628d"} 
[2026-07-15 03:09:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":34,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720528384001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784064865000,"timestamp_ms":1784064865000,"timestamp_seconds":1784064865,"priority":1,"record_length":96,"hex_timestamp":"0000019f628d72e8"} 
[2026-07-15 03:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 03:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":131972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":131972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":131972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720528384001,"66":25473,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720528384001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:09:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:09:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720528384001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":131972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:09:08] local.INFO: GPS data processed {"connection_id":131972,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:09:08] local.INFO: Acknowledgment sent {"connection_id":131972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:09:39] local.INFO: TCP Data received {"connection_id":131972,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f628d72e8012d7f92c005afd8300000005022..."} 
[2026-07-15 03:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f628d72e8012d7f92c005afd8300000005022..."} 
[2026-07-15 03:09:39] local.INFO: Processing buffer {"connection_id":131972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f628d72e8012d7f92c005afd8300000005022..."} 
[2026-07-15 03:09:39] local.INFO: Packet analysis {"connection_id":131972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f628d"} 
[2026-07-15 03:09:39] local.INFO: Extracted packet for processing {"connection_id":131972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f628d"} 
[2026-07-15 03:09:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":34,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720528384001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784064865000,"timestamp_ms":1784064865000,"timestamp_seconds":1784064865,"priority":1,"record_length":96,"hex_timestamp":"0000019f628d72e8"} 
[2026-07-15 03:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:09:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 03:09:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:09:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":131972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":131972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":131972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:09: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-07-15 03:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720528384001,"66":25473,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720528384001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:09:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:09:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720528384001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":131972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:09:39] local.INFO: GPS data processed {"connection_id":131972,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:09:39] local.INFO: Acknowledgment sent {"connection_id":131972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:10:02] local.INFO: TCP Data received {"connection_id":132147,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:10:02] local.INFO: Processing buffer {"connection_id":132147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:10:02] local.INFO: IMEI packet received {"connection_id":132147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":132147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:10:05] local.INFO: TCP Data received {"connection_id":132147,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:10:05] local.INFO: Processing buffer {"connection_id":132147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:10:05] local.INFO: IMEI packet received {"connection_id":132147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":132147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:10:07] local.INFO: TCP Data received {"connection_id":132147,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:10:07] local.INFO: Processing buffer {"connection_id":132147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:10:07] local.INFO: IMEI packet received {"connection_id":132147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":132147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:10:08] local.INFO: TCP Data received {"connection_id":132147,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f62920ab0012d7f92c005afd8300000005022..."} 
[2026-07-15 03:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62920ab0012d7f92c005afd8300000005022..."} 
[2026-07-15 03:10:08] local.INFO: Processing buffer {"connection_id":132147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62920ab0012d7f92c005afd8300000005022..."} 
[2026-07-15 03:10:08] local.INFO: Packet analysis {"connection_id":132147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6292"} 
[2026-07-15 03:10:08] local.INFO: Extracted packet for processing {"connection_id":132147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6292"} 
[2026-07-15 03:10:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":34,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03: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-07-15 03:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720605440001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784065166000,"timestamp_ms":1784065166000,"timestamp_seconds":1784065166,"priority":1,"record_length":96,"hex_timestamp":"0000019f62920ab0"} 
[2026-07-15 03:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 03:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03: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-07-15 03:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720605440001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720605440001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:10:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:10:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720605440001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":132147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:10:08] local.INFO: GPS data processed {"connection_id":132147,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:10:08] local.INFO: Acknowledgment sent {"connection_id":132147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:10:13] local.INFO: TCP Data received {"connection_id":132147,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f62920ab0012d7f92c005afd8300000005022..."} 
[2026-07-15 03:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62920ab0012d7f92c005afd8300000005022..."} 
[2026-07-15 03:10:13] local.INFO: Processing buffer {"connection_id":132147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62920ab0012d7f92c005afd8300000005022..."} 
[2026-07-15 03:10:13] local.INFO: Packet analysis {"connection_id":132147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6292"} 
[2026-07-15 03:10:13] local.INFO: Extracted packet for processing {"connection_id":132147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6292"} 
[2026-07-15 03:10:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":34,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720605440001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:10:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:10:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784065166000,"timestamp_ms":1784065166000,"timestamp_seconds":1784065166,"priority":1,"record_length":96,"hex_timestamp":"0000019f62920ab0"} 
[2026-07-15 03:10:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:10:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 03:10:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:10:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:10:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:10:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720605440001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720605440001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:10:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:10:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:10:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:10:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720605440001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":132147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:10:13] local.INFO: GPS data processed {"connection_id":132147,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:10:13] local.INFO: Acknowledgment sent {"connection_id":132147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:10:44] local.INFO: TCP Data received {"connection_id":132147,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f62920ab0012d7f92c005afd8300000005022..."} 
[2026-07-15 03:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62920ab0012d7f92c005afd8300000005022..."} 
[2026-07-15 03:10:44] local.INFO: Processing buffer {"connection_id":132147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62920ab0012d7f92c005afd8300000005022..."} 
[2026-07-15 03:10:44] local.INFO: Packet analysis {"connection_id":132147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6292"} 
[2026-07-15 03:10:44] local.INFO: Extracted packet for processing {"connection_id":132147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6292"} 
[2026-07-15 03:10:44] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":34,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720605440001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:10:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784065166000,"timestamp_ms":1784065166000,"timestamp_seconds":1784065166,"priority":1,"record_length":96,"hex_timestamp":"0000019f62920ab0"} 
[2026-07-15 03:10:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:10:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 03:10:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:10:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:10:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":132147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":132147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":132147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720605440001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720605440001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:10:44] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:10:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720605440001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":132147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:10:44] local.INFO: GPS data processed {"connection_id":132147,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:10:44] local.INFO: Acknowledgment sent {"connection_id":132147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:11:07] local.INFO: TCP Data received {"connection_id":134355,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:11:07] local.INFO: Processing buffer {"connection_id":134355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:11:07] local.INFO: IMEI packet received {"connection_id":134355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":134355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:11:12] local.INFO: TCP Data received {"connection_id":134355,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:11:12] local.INFO: Processing buffer {"connection_id":134355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:11:12] local.INFO: IMEI packet received {"connection_id":134355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":134355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:11:13] local.INFO: TCP Data received {"connection_id":134355,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f62920ab0012d7f92c005afd8300000005022..."} 
[2026-07-15 03:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62920ab0012d7f92c005afd8300000005022..."} 
[2026-07-15 03:11:13] local.INFO: Processing buffer {"connection_id":134355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62920ab0012d7f92c005afd8300000005022..."} 
[2026-07-15 03:11:13] local.INFO: Packet analysis {"connection_id":134355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6292"} 
[2026-07-15 03:11:13] local.INFO: Extracted packet for processing {"connection_id":134355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6292"} 
[2026-07-15 03:11:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":34,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03: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-07-15 03:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720605440001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:11:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784065166000,"timestamp_ms":1784065166000,"timestamp_seconds":1784065166,"priority":1,"record_length":96,"hex_timestamp":"0000019f62920ab0"} 
[2026-07-15 03:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:11:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 03:11:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03: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-07-15 03:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":134355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":134355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":134355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720605440001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720605440001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:11:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:11:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720605440001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":134355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:11:13] local.INFO: GPS data processed {"connection_id":134355,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:11:13] local.INFO: Acknowledgment sent {"connection_id":134355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:11:18] local.INFO: TCP Data received {"connection_id":134355,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f62920ab0012d7f92c005afd8300000005022..."} 
[2026-07-15 03:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62920ab0012d7f92c005afd8300000005022..."} 
[2026-07-15 03:11:18] local.INFO: Processing buffer {"connection_id":134355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62920ab0012d7f92c005afd8300000005022..."} 
[2026-07-15 03:11:18] local.INFO: Packet analysis {"connection_id":134355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6292"} 
[2026-07-15 03:11:18] local.INFO: Extracted packet for processing {"connection_id":134355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6292"} 
[2026-07-15 03:11:18] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":34,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720605440001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:11:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:11:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784065166000,"timestamp_ms":1784065166000,"timestamp_seconds":1784065166,"priority":1,"record_length":96,"hex_timestamp":"0000019f62920ab0"} 
[2026-07-15 03:11:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:11:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 03:11:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:11:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:11:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":134355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":134355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":134355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:11:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720605440001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720605440001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:11:18] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:11:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:11:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:11:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:11:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720605440001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":134355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:11:18] local.INFO: GPS data processed {"connection_id":134355,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:11:18] local.INFO: Acknowledgment sent {"connection_id":134355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:12:02] local.INFO: TCP Data received {"connection_id":131974,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:12:02] local.INFO: Processing buffer {"connection_id":131974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:12:02] local.INFO: IMEI packet received {"connection_id":131974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":131974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:12:07] local.INFO: TCP Data received {"connection_id":131974,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:12:07] local.INFO: Processing buffer {"connection_id":131974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:12:07] local.INFO: IMEI packet received {"connection_id":131974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":131974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:12:08] local.INFO: TCP Data received {"connection_id":131974,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f62920ab0012d7f92c005afd8300000005022..."} 
[2026-07-15 03:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62920ab0012d7f92c005afd8300000005022..."} 
[2026-07-15 03:12:08] local.INFO: Processing buffer {"connection_id":131974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62920ab0012d7f92c005afd8300000005022..."} 
[2026-07-15 03:12:08] local.INFO: Packet analysis {"connection_id":131974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6292"} 
[2026-07-15 03:12:08] local.INFO: Extracted packet for processing {"connection_id":131974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6292"} 
[2026-07-15 03:12:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":34,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720605440001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784065166000,"timestamp_ms":1784065166000,"timestamp_seconds":1784065166,"priority":1,"record_length":96,"hex_timestamp":"0000019f62920ab0"} 
[2026-07-15 03:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:12:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 03:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:12:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":131974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":131974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":131974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720605440001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720605440001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:12:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:12:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720605440001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":131974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:12:08] local.INFO: GPS data processed {"connection_id":131974,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:12:08] local.INFO: Acknowledgment sent {"connection_id":131974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:12:40] local.INFO: TCP Data received {"connection_id":131974,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f62920ab0012d7f92c005afd8300000005022..."} 
[2026-07-15 03:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62920ab0012d7f92c005afd8300000005022..."} 
[2026-07-15 03:12:40] local.INFO: Processing buffer {"connection_id":131974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62920ab0012d7f92c005afd8300000005022..."} 
[2026-07-15 03:12:40] local.INFO: Packet analysis {"connection_id":131974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6292"} 
[2026-07-15 03:12:40] local.INFO: Extracted packet for processing {"connection_id":131974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6292"} 
[2026-07-15 03:12:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":34,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03: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-07-15 03:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720605440001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:12:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784065166000,"timestamp_ms":1784065166000,"timestamp_seconds":1784065166,"priority":1,"record_length":96,"hex_timestamp":"0000019f62920ab0"} 
[2026-07-15 03:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:12:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 03:12:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03: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-07-15 03:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:12:40] 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-07-15 03:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720605440001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720605440001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:12:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:12:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:12:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720605440001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":131974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:12:40] local.INFO: GPS data processed {"connection_id":131974,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:12:40] local.INFO: Acknowledgment sent {"connection_id":131974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:13:01] local.INFO: TCP Data received {"connection_id":132148,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132148,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:13:01] local.INFO: Processing buffer {"connection_id":132148,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:13:01] local.INFO: IMEI packet received {"connection_id":132148,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 03:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":132148,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:13:02] local.INFO: TCP Data received {"connection_id":132149,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:13:02] local.INFO: Processing buffer {"connection_id":132149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:13:02] local.INFO: IMEI packet received {"connection_id":132149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":132149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:13:07] local.INFO: TCP Data received {"connection_id":132149,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:13:07] local.INFO: Processing buffer {"connection_id":132149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:13:07] local.INFO: IMEI packet received {"connection_id":132149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":132149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:13:08] local.INFO: TCP Data received {"connection_id":132149,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f62920ab0012d7f92c005afd8300000005022..."} 
[2026-07-15 03:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62920ab0012d7f92c005afd8300000005022..."} 
[2026-07-15 03:13:08] local.INFO: Processing buffer {"connection_id":132149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62920ab0012d7f92c005afd8300000005022..."} 
[2026-07-15 03:13:08] local.INFO: Packet analysis {"connection_id":132149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6292"} 
[2026-07-15 03:13:08] local.INFO: Extracted packet for processing {"connection_id":132149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6292"} 
[2026-07-15 03:13:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":34,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720605440001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784065166000,"timestamp_ms":1784065166000,"timestamp_seconds":1784065166,"priority":1,"record_length":96,"hex_timestamp":"0000019f62920ab0"} 
[2026-07-15 03:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 03:13:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:13:08] 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-07-15 03:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720605440001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720605440001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:13:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:13:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720605440001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":132149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:13:08] local.INFO: GPS data processed {"connection_id":132149,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:13:08] local.INFO: Acknowledgment sent {"connection_id":132149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:13:35] local.INFO: TCP Data received {"connection_id":134357,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134357,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:13:35] local.INFO: Processing buffer {"connection_id":134357,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:13:35] local.INFO: IMEI packet received {"connection_id":134357,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 03:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":134357,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:13:39] local.INFO: TCP Data received {"connection_id":132149,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f62920ab0012d7f92c005afd8300000005022..."} 
[2026-07-15 03:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62920ab0012d7f92c005afd8300000005022..."} 
[2026-07-15 03:13:39] local.INFO: Processing buffer {"connection_id":132149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62920ab0012d7f92c005afd8300000005022..."} 
[2026-07-15 03:13:39] local.INFO: Packet analysis {"connection_id":132149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6292"} 
[2026-07-15 03:13:39] local.INFO: Extracted packet for processing {"connection_id":132149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6292"} 
[2026-07-15 03:13:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":34,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720605440001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784065166000,"timestamp_ms":1784065166000,"timestamp_seconds":1784065166,"priority":1,"record_length":96,"hex_timestamp":"0000019f62920ab0"} 
[2026-07-15 03:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:13:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 03:13:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:13:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:13: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-07-15 03:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720605440001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720605440001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:13:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:13:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720605440001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":132149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:13:39] local.INFO: GPS data processed {"connection_id":132149,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:13:39] local.INFO: Acknowledgment sent {"connection_id":132149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:14:02] local.INFO: TCP Data received {"connection_id":132988,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:14:02] local.INFO: Processing buffer {"connection_id":132988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:14:02] local.INFO: IMEI packet received {"connection_id":132988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":132988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:14:07] local.INFO: TCP Data received {"connection_id":132988,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:14:07] local.INFO: Processing buffer {"connection_id":132988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:14:07] local.INFO: IMEI packet received {"connection_id":132988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":132988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:14:08] local.INFO: TCP Data received {"connection_id":132988,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f62920ab0012d7f92c005afd8300000005022..."} 
[2026-07-15 03:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62920ab0012d7f92c005afd8300000005022..."} 
[2026-07-15 03:14:08] local.INFO: Processing buffer {"connection_id":132988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62920ab0012d7f92c005afd8300000005022..."} 
[2026-07-15 03:14:08] local.INFO: Packet analysis {"connection_id":132988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6292"} 
[2026-07-15 03:14:08] local.INFO: Extracted packet for processing {"connection_id":132988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6292"} 
[2026-07-15 03:14:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":34,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720605440001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:14:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784065166000,"timestamp_ms":1784065166000,"timestamp_seconds":1784065166,"priority":1,"record_length":96,"hex_timestamp":"0000019f62920ab0"} 
[2026-07-15 03:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:14:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 03:14:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:14:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720605440001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720605440001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:14:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:14:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720605440001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":132988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:14:08] local.INFO: GPS data processed {"connection_id":132988,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:14:08] local.INFO: Acknowledgment sent {"connection_id":132988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:14:42] local.INFO: TCP Data received {"connection_id":132988,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f62920ab0012d7f92c005afd8300000005022..."} 
[2026-07-15 03:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62920ab0012d7f92c005afd8300000005022..."} 
[2026-07-15 03:14:42] local.INFO: Processing buffer {"connection_id":132988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62920ab0012d7f92c005afd8300000005022..."} 
[2026-07-15 03:14:42] local.INFO: Packet analysis {"connection_id":132988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6292"} 
[2026-07-15 03:14:42] local.INFO: Extracted packet for processing {"connection_id":132988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6292"} 
[2026-07-15 03:14:42] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":34,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03: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-07-15 03:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720605440001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784065166000,"timestamp_ms":1784065166000,"timestamp_seconds":1784065166,"priority":1,"record_length":96,"hex_timestamp":"0000019f62920ab0"} 
[2026-07-15 03:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 03:14:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03: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-07-15 03:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:14:42] 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-07-15 03:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720605440001,"66":25593,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720605440001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:14:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:14:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720605440001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":132988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:14:42] local.INFO: GPS data processed {"connection_id":132988,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:14:42] local.INFO: Acknowledgment sent {"connection_id":132988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:15:02] local.INFO: TCP Data received {"connection_id":134359,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:15:02] local.INFO: Processing buffer {"connection_id":134359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:15:02] local.INFO: IMEI packet received {"connection_id":134359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":134359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:15:05] local.INFO: TCP Data received {"connection_id":134359,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:15:05] local.INFO: Processing buffer {"connection_id":134359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:15:05] local.INFO: IMEI packet received {"connection_id":134359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":134359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:15:07] local.INFO: TCP Data received {"connection_id":134359,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:15:07] local.INFO: Processing buffer {"connection_id":134359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:15:07] local.INFO: IMEI packet received {"connection_id":134359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":134359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:15:08] local.INFO: TCP Data received {"connection_id":134359,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6296a278012d7f92c005afd8300000005027..."} 
[2026-07-15 03:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6296a278012d7f92c005afd8300000005027..."} 
[2026-07-15 03:15:08] local.INFO: Processing buffer {"connection_id":134359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6296a278012d7f92c005afd8300000005027..."} 
[2026-07-15 03:15:08] local.INFO: Packet analysis {"connection_id":134359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6296"} 
[2026-07-15 03:15:08] local.INFO: Extracted packet for processing {"connection_id":134359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6296"} 
[2026-07-15 03:15:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720682496001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784065467000,"timestamp_ms":1784065467000,"timestamp_seconds":1784065467,"priority":1,"record_length":96,"hex_timestamp":"0000019f6296a278"} 
[2026-07-15 03:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 03:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03: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-07-15 03:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720682496001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720682496001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:15:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:15:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720682496001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":134359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:15:08] local.INFO: GPS data processed {"connection_id":134359,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:15:08] local.INFO: Acknowledgment sent {"connection_id":134359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:15:13] local.INFO: TCP Data received {"connection_id":134359,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6296a278012d7f92c005afd8300000005027..."} 
[2026-07-15 03:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6296a278012d7f92c005afd8300000005027..."} 
[2026-07-15 03:15:13] local.INFO: Processing buffer {"connection_id":134359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6296a278012d7f92c005afd8300000005027..."} 
[2026-07-15 03:15:13] local.INFO: Packet analysis {"connection_id":134359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6296"} 
[2026-07-15 03:15:13] local.INFO: Extracted packet for processing {"connection_id":134359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6296"} 
[2026-07-15 03:15:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720682496001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:15:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784065467000,"timestamp_ms":1784065467000,"timestamp_seconds":1784065467,"priority":1,"record_length":96,"hex_timestamp":"0000019f6296a278"} 
[2026-07-15 03:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:15:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 03:15:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:15:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":134359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":134359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":134359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720682496001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720682496001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:15:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:15:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:15:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720682496001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":134359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:15:13] local.INFO: GPS data processed {"connection_id":134359,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:15:13] local.INFO: Acknowledgment sent {"connection_id":134359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:15:44] local.INFO: TCP Data received {"connection_id":134359,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6296a278012d7f92c005afd8300000005027..."} 
[2026-07-15 03:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6296a278012d7f92c005afd8300000005027..."} 
[2026-07-15 03:15:44] local.INFO: Processing buffer {"connection_id":134359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6296a278012d7f92c005afd8300000005027..."} 
[2026-07-15 03:15:44] local.INFO: Packet analysis {"connection_id":134359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6296"} 
[2026-07-15 03:15:44] local.INFO: Extracted packet for processing {"connection_id":134359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6296"} 
[2026-07-15 03:15:44] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:15:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720682496001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:15:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:15:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:15:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:15:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784065467000,"timestamp_ms":1784065467000,"timestamp_seconds":1784065467,"priority":1,"record_length":96,"hex_timestamp":"0000019f6296a278"} 
[2026-07-15 03:15:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:15:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 03:15:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:15:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:15:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:15:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:15:44] local.INFO: Teltonika packet parsed successfully {"connection_id":134359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:15:44] local.INFO: Passing IMEI to GPS processor {"connection_id":134359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:15:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":134359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:15:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:15:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:15:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:15:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720682496001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:15:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:15:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:15:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720682496001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:15:44] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:15:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:15:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:15:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:15:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720682496001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:15:44] local.INFO: DEBUG: GPS processor result {"connection_id":134359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:15:44] local.INFO: GPS data processed {"connection_id":134359,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:15:44] local.INFO: Acknowledgment sent {"connection_id":134359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:16:07] local.INFO: TCP Data received {"connection_id":131976,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:16:07] local.INFO: Processing buffer {"connection_id":131976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:16:07] local.INFO: IMEI packet received {"connection_id":131976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":131976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:16:12] local.INFO: TCP Data received {"connection_id":131976,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:16:12] local.INFO: Processing buffer {"connection_id":131976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:16:12] local.INFO: IMEI packet received {"connection_id":131976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":131976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:16:13] local.INFO: TCP Data received {"connection_id":131976,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f6296a278012d7f92c005afd8300000005027..."} 
[2026-07-15 03:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6296a278012d7f92c005afd8300000005027..."} 
[2026-07-15 03:16:13] local.INFO: Processing buffer {"connection_id":131976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6296a278012d7f92c005afd8300000005027..."} 
[2026-07-15 03:16:13] local.INFO: Packet analysis {"connection_id":131976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6296"} 
[2026-07-15 03:16:13] local.INFO: Extracted packet for processing {"connection_id":131976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6296"} 
[2026-07-15 03:16:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720682496001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:16:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:16:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784065467000,"timestamp_ms":1784065467000,"timestamp_seconds":1784065467,"priority":1,"record_length":96,"hex_timestamp":"0000019f6296a278"} 
[2026-07-15 03:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:16:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 03:16:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:16:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":131976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":131976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":131976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:16:13] 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-07-15 03:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720682496001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720682496001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:16:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:16:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:16:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720682496001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":131976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:16:13] local.INFO: GPS data processed {"connection_id":131976,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:16:13] local.INFO: Acknowledgment sent {"connection_id":131976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:16:18] local.INFO: TCP Data received {"connection_id":131976,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f6296a278012d7f92c005afd8300000005027..."} 
[2026-07-15 03:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6296a278012d7f92c005afd8300000005027..."} 
[2026-07-15 03:16:18] local.INFO: Processing buffer {"connection_id":131976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6296a278012d7f92c005afd8300000005027..."} 
[2026-07-15 03:16:18] local.INFO: Packet analysis {"connection_id":131976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6296"} 
[2026-07-15 03:16:18] local.INFO: Extracted packet for processing {"connection_id":131976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6296"} 
[2026-07-15 03:16:18] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03: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-07-15 03:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720682496001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784065467000,"timestamp_ms":1784065467000,"timestamp_seconds":1784065467,"priority":1,"record_length":96,"hex_timestamp":"0000019f6296a278"} 
[2026-07-15 03:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 03:16:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03: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-07-15 03:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":131976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":131976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":131976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:16:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720682496001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720682496001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:16:18] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:16:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720682496001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":131976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:16:18] local.INFO: GPS data processed {"connection_id":131976,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:16:18] local.INFO: Acknowledgment sent {"connection_id":131976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:17:02] local.INFO: TCP Data received {"connection_id":132152,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:17:02] local.INFO: Processing buffer {"connection_id":132152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:17:02] local.INFO: IMEI packet received {"connection_id":132152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":132152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:17:07] local.INFO: TCP Data received {"connection_id":132152,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:17:07] local.INFO: Processing buffer {"connection_id":132152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:17:07] local.INFO: IMEI packet received {"connection_id":132152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":132152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:17:08] local.INFO: TCP Data received {"connection_id":132152,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f6296a278012d7f92c005afd8300000005027..."} 
[2026-07-15 03:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6296a278012d7f92c005afd8300000005027..."} 
[2026-07-15 03:17:08] local.INFO: Processing buffer {"connection_id":132152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6296a278012d7f92c005afd8300000005027..."} 
[2026-07-15 03:17:08] local.INFO: Packet analysis {"connection_id":132152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6296"} 
[2026-07-15 03:17:08] local.INFO: Extracted packet for processing {"connection_id":132152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6296"} 
[2026-07-15 03:17:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03: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-07-15 03:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720682496001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784065467000,"timestamp_ms":1784065467000,"timestamp_seconds":1784065467,"priority":1,"record_length":96,"hex_timestamp":"0000019f6296a278"} 
[2026-07-15 03:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 03:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03: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-07-15 03:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720682496001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720682496001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:17:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:17:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720682496001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":132152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:17:08] local.INFO: GPS data processed {"connection_id":132152,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:17:08] local.INFO: Acknowledgment sent {"connection_id":132152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:17:39] local.INFO: TCP Data received {"connection_id":132152,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f6296a278012d7f92c005afd8300000005027..."} 
[2026-07-15 03:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6296a278012d7f92c005afd8300000005027..."} 
[2026-07-15 03:17:39] local.INFO: Processing buffer {"connection_id":132152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6296a278012d7f92c005afd8300000005027..."} 
[2026-07-15 03:17:39] local.INFO: Packet analysis {"connection_id":132152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6296"} 
[2026-07-15 03:17:39] local.INFO: Extracted packet for processing {"connection_id":132152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6296"} 
[2026-07-15 03:17:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720682496001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784065467000,"timestamp_ms":1784065467000,"timestamp_seconds":1784065467,"priority":1,"record_length":96,"hex_timestamp":"0000019f6296a278"} 
[2026-07-15 03:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 03:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:17:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:17: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-07-15 03:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720682496001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720682496001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:17:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:17:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720682496001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":132152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:17:39] local.INFO: GPS data processed {"connection_id":132152,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:17:39] local.INFO: Acknowledgment sent {"connection_id":132152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:18:02] local.INFO: TCP Data received {"connection_id":131978,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:18:02] local.INFO: Processing buffer {"connection_id":131978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:18:02] local.INFO: IMEI packet received {"connection_id":131978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":131978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:18:07] local.INFO: TCP Data received {"connection_id":131978,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:18:07] local.INFO: Processing buffer {"connection_id":131978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:18:07] local.INFO: IMEI packet received {"connection_id":131978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":131978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:18:08] local.INFO: TCP Data received {"connection_id":131978,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f6296a278012d7f92c005afd8300000005027..."} 
[2026-07-15 03:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6296a278012d7f92c005afd8300000005027..."} 
[2026-07-15 03:18:08] local.INFO: Processing buffer {"connection_id":131978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6296a278012d7f92c005afd8300000005027..."} 
[2026-07-15 03:18:08] local.INFO: Packet analysis {"connection_id":131978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6296"} 
[2026-07-15 03:18:08] local.INFO: Extracted packet for processing {"connection_id":131978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6296"} 
[2026-07-15 03:18:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720682496001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784065467000,"timestamp_ms":1784065467000,"timestamp_seconds":1784065467,"priority":1,"record_length":96,"hex_timestamp":"0000019f6296a278"} 
[2026-07-15 03:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 03:18:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":131978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":131978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":131978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720682496001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720682496001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:18:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:18:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720682496001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":131978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:18:08] local.INFO: GPS data processed {"connection_id":131978,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:18:08] local.INFO: Acknowledgment sent {"connection_id":131978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:18:41] local.INFO: TCP Data received {"connection_id":131978,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f6296a278012d7f92c005afd8300000005027..."} 
[2026-07-15 03:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6296a278012d7f92c005afd8300000005027..."} 
[2026-07-15 03:18:41] local.INFO: Processing buffer {"connection_id":131978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6296a278012d7f92c005afd8300000005027..."} 
[2026-07-15 03:18:41] local.INFO: Packet analysis {"connection_id":131978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6296"} 
[2026-07-15 03:18:41] local.INFO: Extracted packet for processing {"connection_id":131978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6296"} 
[2026-07-15 03:18:41] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720682496001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784065467000,"timestamp_ms":1784065467000,"timestamp_seconds":1784065467,"priority":1,"record_length":96,"hex_timestamp":"0000019f6296a278"} 
[2026-07-15 03:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 03:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:18:41] 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-07-15 03:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720682496001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720682496001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:18:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:18:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720682496001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":131978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:18:41] local.INFO: GPS data processed {"connection_id":131978,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:18:41] local.INFO: Acknowledgment sent {"connection_id":131978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:19:03] local.INFO: TCP Data received {"connection_id":132990,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132990,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:19:03] local.INFO: Processing buffer {"connection_id":132990,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:19:03] local.INFO: IMEI packet received {"connection_id":132990,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 03:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":132990,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:19:05] local.INFO: TCP Data received {"connection_id":134361,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:19:05] local.INFO: Processing buffer {"connection_id":134361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:19:05] local.INFO: IMEI packet received {"connection_id":134361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":134361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:19:07] local.INFO: TCP Data received {"connection_id":134361,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:19:07] local.INFO: Processing buffer {"connection_id":134361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:19:07] local.INFO: IMEI packet received {"connection_id":134361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":134361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:19:08] local.INFO: TCP Data received {"connection_id":134361,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f6296a278012d7f92c005afd8300000005027..."} 
[2026-07-15 03:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6296a278012d7f92c005afd8300000005027..."} 
[2026-07-15 03:19:08] local.INFO: Processing buffer {"connection_id":134361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6296a278012d7f92c005afd8300000005027..."} 
[2026-07-15 03:19:08] local.INFO: Packet analysis {"connection_id":134361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6296"} 
[2026-07-15 03:19:08] local.INFO: Extracted packet for processing {"connection_id":134361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6296"} 
[2026-07-15 03:19:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720682496001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784065467000,"timestamp_ms":1784065467000,"timestamp_seconds":1784065467,"priority":1,"record_length":96,"hex_timestamp":"0000019f6296a278"} 
[2026-07-15 03:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 03:19:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720682496001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720682496001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:19:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:19:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720682496001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":134361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:19:08] local.INFO: GPS data processed {"connection_id":134361,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:19:08] local.INFO: Acknowledgment sent {"connection_id":134361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:19:13] local.INFO: TCP Data received {"connection_id":134361,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f6296a278012d7f92c005afd8300000005027..."} 
[2026-07-15 03:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6296a278012d7f92c005afd8300000005027..."} 
[2026-07-15 03:19:13] local.INFO: Processing buffer {"connection_id":134361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6296a278012d7f92c005afd8300000005027..."} 
[2026-07-15 03:19:13] local.INFO: Packet analysis {"connection_id":134361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6296"} 
[2026-07-15 03:19:13] local.INFO: Extracted packet for processing {"connection_id":134361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6296"} 
[2026-07-15 03:19:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720682496001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:19:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:19:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784065467000,"timestamp_ms":1784065467000,"timestamp_seconds":1784065467,"priority":1,"record_length":96,"hex_timestamp":"0000019f6296a278"} 
[2026-07-15 03:19:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:19:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 03:19:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:19:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:19:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":134361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":134361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":134361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:19:13] 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-07-15 03:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720682496001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720682496001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:19:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:19:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:19:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720682496001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":134361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:19:13] local.INFO: GPS data processed {"connection_id":134361,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:19:13] local.INFO: Acknowledgment sent {"connection_id":134361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:19:35] local.INFO: TCP Data received {"connection_id":132991,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132991,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:19:35] local.INFO: Processing buffer {"connection_id":132991,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:19:35] local.INFO: IMEI packet received {"connection_id":132991,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 03:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":132991,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:19:44] local.INFO: TCP Data received {"connection_id":134361,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f6296a278012d7f92c005afd8300000005027..."} 
[2026-07-15 03:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6296a278012d7f92c005afd8300000005027..."} 
[2026-07-15 03:19:44] local.INFO: Processing buffer {"connection_id":134361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6296a278012d7f92c005afd8300000005027..."} 
[2026-07-15 03:19:44] local.INFO: Packet analysis {"connection_id":134361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6296"} 
[2026-07-15 03:19:44] local.INFO: Extracted packet for processing {"connection_id":134361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6296"} 
[2026-07-15 03:19:44] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720682496001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:19:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:19:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784065467000,"timestamp_ms":1784065467000,"timestamp_seconds":1784065467,"priority":1,"record_length":96,"hex_timestamp":"0000019f6296a278"} 
[2026-07-15 03:19:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:19:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 03:19:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:19:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:19:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":134361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":134361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":134361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:19:44] 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-07-15 03:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720682496001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720682496001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:19:44] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:19:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:19:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:19:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:19:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720682496001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:19:44] local.INFO: DEBUG: GPS processor result {"connection_id":134361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:19:44] local.INFO: GPS data processed {"connection_id":134361,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:19:44] local.INFO: Acknowledgment sent {"connection_id":134361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:20:02] local.INFO: TCP Data received {"connection_id":131979,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:20:02] local.INFO: Processing buffer {"connection_id":131979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:20:02] local.INFO: IMEI packet received {"connection_id":131979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":131979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:20:06] local.INFO: TCP Data received {"connection_id":131979,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:20:06] local.INFO: Processing buffer {"connection_id":131979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:20:06] local.INFO: IMEI packet received {"connection_id":131979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":131979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:20:07] local.INFO: TCP Data received {"connection_id":131979,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f629b3a40012d7f92c005afd8300000005027..."} 
[2026-07-15 03:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f629b3a40012d7f92c005afd8300000005027..."} 
[2026-07-15 03:20:07] local.INFO: Processing buffer {"connection_id":131979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f629b3a40012d7f92c005afd8300000005027..."} 
[2026-07-15 03:20:07] local.INFO: Packet analysis {"connection_id":131979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f629b"} 
[2026-07-15 03:20:07] local.INFO: Extracted packet for processing {"connection_id":131979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f629b"} 
[2026-07-15 03:20:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720759552001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784065768000,"timestamp_ms":1784065768000,"timestamp_seconds":1784065768,"priority":1,"record_length":96,"hex_timestamp":"0000019f629b3a40"} 
[2026-07-15 03:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 03:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":131979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":131979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":131979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720759552001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720759552001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:20:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:20:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720759552001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":131979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:20:07] local.INFO: GPS data processed {"connection_id":131979,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:20:07] local.INFO: Acknowledgment sent {"connection_id":131979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:20:38] local.INFO: TCP Data received {"connection_id":131979,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f629b3a40012d7f92c005afd8300000005027..."} 
[2026-07-15 03:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f629b3a40012d7f92c005afd8300000005027..."} 
[2026-07-15 03:20:38] local.INFO: Processing buffer {"connection_id":131979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f629b3a40012d7f92c005afd8300000005027..."} 
[2026-07-15 03:20:38] local.INFO: Packet analysis {"connection_id":131979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f629b"} 
[2026-07-15 03:20:38] local.INFO: Extracted packet for processing {"connection_id":131979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f629b"} 
[2026-07-15 03:20:38] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03: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-07-15 03:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720759552001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784065768000,"timestamp_ms":1784065768000,"timestamp_seconds":1784065768,"priority":1,"record_length":96,"hex_timestamp":"0000019f629b3a40"} 
[2026-07-15 03:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 03:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03: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-07-15 03:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":131979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":131979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":131979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720759552001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720759552001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:20:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:20:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720759552001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":131979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:20:38] local.INFO: GPS data processed {"connection_id":131979,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:20:38] local.INFO: Acknowledgment sent {"connection_id":131979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:21:02] local.INFO: TCP Data received {"connection_id":132993,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:21:02] local.INFO: Processing buffer {"connection_id":132993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:21:02] local.INFO: IMEI packet received {"connection_id":132993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":132993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:21:07] local.INFO: TCP Data received {"connection_id":132993,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:21:07] local.INFO: Processing buffer {"connection_id":132993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:21:07] local.INFO: IMEI packet received {"connection_id":132993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":132993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:21:08] local.INFO: TCP Data received {"connection_id":132993,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f629b3a40012d7f92c005afd8300000005027..."} 
[2026-07-15 03:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f629b3a40012d7f92c005afd8300000005027..."} 
[2026-07-15 03:21:08] local.INFO: Processing buffer {"connection_id":132993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f629b3a40012d7f92c005afd8300000005027..."} 
[2026-07-15 03:21:08] local.INFO: Packet analysis {"connection_id":132993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f629b"} 
[2026-07-15 03:21:08] local.INFO: Extracted packet for processing {"connection_id":132993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f629b"} 
[2026-07-15 03:21:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720759552001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784065768000,"timestamp_ms":1784065768000,"timestamp_seconds":1784065768,"priority":1,"record_length":96,"hex_timestamp":"0000019f629b3a40"} 
[2026-07-15 03:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 03:21:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:21:08] 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-07-15 03:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720759552001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720759552001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:21:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:21:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720759552001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":132993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:21:08] local.INFO: GPS data processed {"connection_id":132993,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:21:08] local.INFO: Acknowledgment sent {"connection_id":132993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:21:12] local.INFO: TCP Data received {"connection_id":132993,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f629b3a40012d7f92c005afd8300000005027..."} 
[2026-07-15 03:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f629b3a40012d7f92c005afd8300000005027..."} 
[2026-07-15 03:21:12] local.INFO: Processing buffer {"connection_id":132993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f629b3a40012d7f92c005afd8300000005027..."} 
[2026-07-15 03:21:12] local.INFO: Packet analysis {"connection_id":132993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f629b"} 
[2026-07-15 03:21:12] local.INFO: Extracted packet for processing {"connection_id":132993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f629b"} 
[2026-07-15 03:21:12] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720759552001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784065768000,"timestamp_ms":1784065768000,"timestamp_seconds":1784065768,"priority":1,"record_length":96,"hex_timestamp":"0000019f629b3a40"} 
[2026-07-15 03:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 03:21:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:21:12] 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-07-15 03:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720759552001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720759552001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:21:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:21:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:21:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720759552001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":132993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:21:13] local.INFO: GPS data processed {"connection_id":132993,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:21:13] local.INFO: Acknowledgment sent {"connection_id":132993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:21:44] local.INFO: TCP Data received {"connection_id":132993,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f629b3a40012d7f92c005afd8300000005027..."} 
[2026-07-15 03:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f629b3a40012d7f92c005afd8300000005027..."} 
[2026-07-15 03:21:44] local.INFO: Processing buffer {"connection_id":132993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f629b3a40012d7f92c005afd8300000005027..."} 
[2026-07-15 03:21:44] local.INFO: Packet analysis {"connection_id":132993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f629b"} 
[2026-07-15 03:21:44] local.INFO: Extracted packet for processing {"connection_id":132993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f629b"} 
[2026-07-15 03:21:44] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720759552001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784065768000,"timestamp_ms":1784065768000,"timestamp_seconds":1784065768,"priority":1,"record_length":96,"hex_timestamp":"0000019f629b3a40"} 
[2026-07-15 03:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:21:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 03:21:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:21:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":132993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":132993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":132993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:21:44] 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-07-15 03:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720759552001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720759552001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:21:44] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:21:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720759552001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":132993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:21:44] local.INFO: GPS data processed {"connection_id":132993,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:21:44] local.INFO: Acknowledgment sent {"connection_id":132993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:22:02] local.INFO: TCP Data received {"connection_id":132994,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:22:02] local.INFO: Processing buffer {"connection_id":132994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:22:02] local.INFO: IMEI packet received {"connection_id":132994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":132994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:22:07] local.INFO: TCP Data received {"connection_id":132994,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:22:07] local.INFO: Processing buffer {"connection_id":132994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:22:07] local.INFO: IMEI packet received {"connection_id":132994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":132994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:22:08] local.INFO: TCP Data received {"connection_id":132994,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f629b3a40012d7f92c005afd8300000005027..."} 
[2026-07-15 03:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f629b3a40012d7f92c005afd8300000005027..."} 
[2026-07-15 03:22:08] local.INFO: Processing buffer {"connection_id":132994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f629b3a40012d7f92c005afd8300000005027..."} 
[2026-07-15 03:22:08] local.INFO: Packet analysis {"connection_id":132994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f629b"} 
[2026-07-15 03:22:08] local.INFO: Extracted packet for processing {"connection_id":132994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f629b"} 
[2026-07-15 03:22:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720759552001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784065768000,"timestamp_ms":1784065768000,"timestamp_seconds":1784065768,"priority":1,"record_length":96,"hex_timestamp":"0000019f629b3a40"} 
[2026-07-15 03:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 03:22:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:22:08] 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-07-15 03:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720759552001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720759552001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:22:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:22:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720759552001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":132994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:22:08] local.INFO: GPS data processed {"connection_id":132994,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:22:08] local.INFO: Acknowledgment sent {"connection_id":132994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:22:39] local.INFO: TCP Data received {"connection_id":132994,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f629b3a40012d7f92c005afd8300000005027..."} 
[2026-07-15 03:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f629b3a40012d7f92c005afd8300000005027..."} 
[2026-07-15 03:22:39] local.INFO: Processing buffer {"connection_id":132994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f629b3a40012d7f92c005afd8300000005027..."} 
[2026-07-15 03:22:39] local.INFO: Packet analysis {"connection_id":132994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f629b"} 
[2026-07-15 03:22:39] local.INFO: Extracted packet for processing {"connection_id":132994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f629b"} 
[2026-07-15 03:22:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720759552001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784065768000,"timestamp_ms":1784065768000,"timestamp_seconds":1784065768,"priority":1,"record_length":96,"hex_timestamp":"0000019f629b3a40"} 
[2026-07-15 03:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 03:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:22:39] 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-07-15 03:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720759552001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720759552001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:22:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:22:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720759552001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":132994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:22:39] local.INFO: GPS data processed {"connection_id":132994,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:22:39] local.INFO: Acknowledgment sent {"connection_id":132994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:23:02] local.INFO: TCP Data received {"connection_id":132154,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:23:02] local.INFO: Processing buffer {"connection_id":132154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:23:02] local.INFO: IMEI packet received {"connection_id":132154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":132154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:23:07] local.INFO: TCP Data received {"connection_id":132154,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:23:07] local.INFO: Processing buffer {"connection_id":132154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:23:07] local.INFO: IMEI packet received {"connection_id":132154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":132154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:23:08] local.INFO: TCP Data received {"connection_id":132154,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f629b3a40012d7f92c005afd8300000005027..."} 
[2026-07-15 03:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f629b3a40012d7f92c005afd8300000005027..."} 
[2026-07-15 03:23:08] local.INFO: Processing buffer {"connection_id":132154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f629b3a40012d7f92c005afd8300000005027..."} 
[2026-07-15 03:23:08] local.INFO: Packet analysis {"connection_id":132154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f629b"} 
[2026-07-15 03:23:08] local.INFO: Extracted packet for processing {"connection_id":132154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f629b"} 
[2026-07-15 03:23:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03: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-07-15 03:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720759552001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784065768000,"timestamp_ms":1784065768000,"timestamp_seconds":1784065768,"priority":1,"record_length":96,"hex_timestamp":"0000019f629b3a40"} 
[2026-07-15 03:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 03:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03: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-07-15 03:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720759552001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720759552001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:23:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:23:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720759552001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":132154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:23:08] local.INFO: GPS data processed {"connection_id":132154,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:23:08] local.INFO: Acknowledgment sent {"connection_id":132154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:23:39] local.INFO: TCP Data received {"connection_id":132154,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f629b3a40012d7f92c005afd8300000005027..."} 
[2026-07-15 03:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f629b3a40012d7f92c005afd8300000005027..."} 
[2026-07-15 03:23:39] local.INFO: Processing buffer {"connection_id":132154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f629b3a40012d7f92c005afd8300000005027..."} 
[2026-07-15 03:23:39] local.INFO: Packet analysis {"connection_id":132154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f629b"} 
[2026-07-15 03:23:39] local.INFO: Extracted packet for processing {"connection_id":132154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f629b"} 
[2026-07-15 03:23:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720759552001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784065768000,"timestamp_ms":1784065768000,"timestamp_seconds":1784065768,"priority":1,"record_length":96,"hex_timestamp":"0000019f629b3a40"} 
[2026-07-15 03:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 03:23:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:23:39] 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-07-15 03:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720759552001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720759552001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:23:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:23:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720759552001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":132154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:23:39] local.INFO: GPS data processed {"connection_id":132154,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:23:39] local.INFO: Acknowledgment sent {"connection_id":132154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:24:05] local.INFO: TCP Data received {"connection_id":132995,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:24:05] local.INFO: Processing buffer {"connection_id":132995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:24:05] local.INFO: IMEI packet received {"connection_id":132995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":132995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:24:07] local.INFO: TCP Data received {"connection_id":132995,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:24:07] local.INFO: Processing buffer {"connection_id":132995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:24:07] local.INFO: IMEI packet received {"connection_id":132995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":132995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:24:08] local.INFO: TCP Data received {"connection_id":132995,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f629b3a40012d7f92c005afd8300000005027..."} 
[2026-07-15 03:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f629b3a40012d7f92c005afd8300000005027..."} 
[2026-07-15 03:24:08] local.INFO: Processing buffer {"connection_id":132995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f629b3a40012d7f92c005afd8300000005027..."} 
[2026-07-15 03:24:08] local.INFO: Packet analysis {"connection_id":132995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f629b"} 
[2026-07-15 03:24:08] local.INFO: Extracted packet for processing {"connection_id":132995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f629b"} 
[2026-07-15 03:24:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720759552001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784065768000,"timestamp_ms":1784065768000,"timestamp_seconds":1784065768,"priority":1,"record_length":96,"hex_timestamp":"0000019f629b3a40"} 
[2026-07-15 03:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 03:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720759552001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720759552001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:24:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:24:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720759552001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":132995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:24:08] local.INFO: GPS data processed {"connection_id":132995,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:24:08] local.INFO: Acknowledgment sent {"connection_id":132995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:24:13] local.INFO: TCP Data received {"connection_id":132995,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f629b3a40012d7f92c005afd8300000005027..."} 
[2026-07-15 03:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f629b3a40012d7f92c005afd8300000005027..."} 
[2026-07-15 03:24:13] local.INFO: Processing buffer {"connection_id":132995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f629b3a40012d7f92c005afd8300000005027..."} 
[2026-07-15 03:24:13] local.INFO: Packet analysis {"connection_id":132995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f629b"} 
[2026-07-15 03:24:13] local.INFO: Extracted packet for processing {"connection_id":132995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f629b"} 
[2026-07-15 03:24:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720759552001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:24:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:24:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784065768000,"timestamp_ms":1784065768000,"timestamp_seconds":1784065768,"priority":1,"record_length":96,"hex_timestamp":"0000019f629b3a40"} 
[2026-07-15 03:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:24:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 03:24:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:24:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:24:13] 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-07-15 03:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720759552001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720759552001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:24:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:24:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:24:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720759552001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":132995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:24:13] local.INFO: GPS data processed {"connection_id":132995,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:24:13] local.INFO: Acknowledgment sent {"connection_id":132995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:24:44] local.INFO: TCP Data received {"connection_id":132995,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f629b3a40012d7f92c005afd8300000005027..."} 
[2026-07-15 03:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f629b3a40012d7f92c005afd8300000005027..."} 
[2026-07-15 03:24:44] local.INFO: Processing buffer {"connection_id":132995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f629b3a40012d7f92c005afd8300000005027..."} 
[2026-07-15 03:24:44] local.INFO: Packet analysis {"connection_id":132995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f629b"} 
[2026-07-15 03:24:44] local.INFO: Extracted packet for processing {"connection_id":132995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f629b"} 
[2026-07-15 03:24:44] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720759552001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784065768000,"timestamp_ms":1784065768000,"timestamp_seconds":1784065768,"priority":1,"record_length":96,"hex_timestamp":"0000019f629b3a40"} 
[2026-07-15 03:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:24:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 03:24:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:24:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":132995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":132995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":132995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:24:44] 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-07-15 03:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720759552001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720759552001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:24:44] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:24:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720759552001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":132995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:24:44] local.INFO: GPS data processed {"connection_id":132995,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:24:44] local.INFO: Acknowledgment sent {"connection_id":132995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:25:02] local.INFO: TCP Data received {"connection_id":132996,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:25:02] local.INFO: Processing buffer {"connection_id":132996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:25:02] local.INFO: IMEI packet received {"connection_id":132996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":132996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:25:07] local.INFO: TCP Data received {"connection_id":132996,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:25:07] local.INFO: Processing buffer {"connection_id":132996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:25:07] local.INFO: IMEI packet received {"connection_id":132996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":132996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:25:08] local.INFO: TCP Data received {"connection_id":132996,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f629fd208012d7f92c005afd8300000005025..."} 
[2026-07-15 03:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f629fd208012d7f92c005afd8300000005025..."} 
[2026-07-15 03:25:08] local.INFO: Processing buffer {"connection_id":132996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f629fd208012d7f92c005afd8300000005025..."} 
[2026-07-15 03:25:08] local.INFO: Packet analysis {"connection_id":132996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f629f"} 
[2026-07-15 03:25:08] local.INFO: Extracted packet for processing {"connection_id":132996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f629f"} 
[2026-07-15 03:25:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720836608001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784066069000,"timestamp_ms":1784066069000,"timestamp_seconds":1784066069,"priority":1,"record_length":96,"hex_timestamp":"0000019f629fd208"} 
[2026-07-15 03:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 03:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720836608001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720836608001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:25:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:25:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720836608001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":132996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:25:08] local.INFO: GPS data processed {"connection_id":132996,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:25:08] local.INFO: Acknowledgment sent {"connection_id":132996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:25:16] local.INFO: TCP Data received {"connection_id":131982,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131982,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:25:16] local.INFO: Processing buffer {"connection_id":131982,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:25:16] local.INFO: IMEI packet received {"connection_id":131982,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 03:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":131982,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:25:35] local.INFO: TCP Data received {"connection_id":132155,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132155,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:25:35] local.INFO: Processing buffer {"connection_id":132155,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:25:35] local.INFO: IMEI packet received {"connection_id":132155,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 03:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":132155,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:25:39] local.INFO: TCP Data received {"connection_id":132996,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f629fd208012d7f92c005afd8300000005025..."} 
[2026-07-15 03:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f629fd208012d7f92c005afd8300000005025..."} 
[2026-07-15 03:25:39] local.INFO: Processing buffer {"connection_id":132996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f629fd208012d7f92c005afd8300000005025..."} 
[2026-07-15 03:25:39] local.INFO: Packet analysis {"connection_id":132996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f629f"} 
[2026-07-15 03:25:39] local.INFO: Extracted packet for processing {"connection_id":132996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f629f"} 
[2026-07-15 03:25:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720836608001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784066069000,"timestamp_ms":1784066069000,"timestamp_seconds":1784066069,"priority":1,"record_length":96,"hex_timestamp":"0000019f629fd208"} 
[2026-07-15 03:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 03:25:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:25:39] 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-07-15 03:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720836608001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720836608001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:25:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:25:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720836608001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":132996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:25:39] local.INFO: GPS data processed {"connection_id":132996,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:25:39] local.INFO: Acknowledgment sent {"connection_id":132996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:25:40] local.INFO: TCP Data received {"connection_id":132155,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132155,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:25:40] local.INFO: Processing buffer {"connection_id":132155,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:25:40] local.INFO: IMEI packet received {"connection_id":132155,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 03:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":132155,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:25:41] local.INFO: TCP Data received {"connection_id":132155,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f629f8bb8012d56b880067ca258000f01392d..."} 
[2026-07-15 03:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f629f8bb8012d56b880067ca258000f01392d..."} 
[2026-07-15 03:25:41] local.INFO: Processing buffer {"connection_id":132155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f629f8bb8012d56b880067ca258000f01392d..."} 
[2026-07-15 03:25:41] local.INFO: Packet analysis {"connection_id":132155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f629f"} 
[2026-07-15 03:25:41] local.INFO: Extracted packet for processing {"connection_id":132155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f629f"} 
[2026-07-15 03:25:41] local.INFO: GPS Element Parsed {"raw_longitude":760658048,"raw_latitude":108831320,"longitude_deg":76.0658048,"latitude_deg":10.883132,"altitude":15,"angle":313,"satellites":45,"speed":58,"hex_longitude":"2d56b880","hex_latitude":"067ca258","is_valid_coordinates":true} 
[2026-07-15 03:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720907264001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":136144630717612032,"note":"Value kept but may cause issues"} 
[2026-07-15 03:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6256977653904302080,"note":"Value kept but may cause issues"} 
[2026-07-15 03:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784066051000,"timestamp_ms":1784066051000,"timestamp_seconds":1784066051,"priority":1,"record_length":96,"hex_timestamp":"0000019f629f8bb8"} 
[2026-07-15 03:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 03:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-15 03:25:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132155,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 03:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132155,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 03:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 03:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 03:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720907264001,"66":27941,"109":206,"80":60928,"24":58,"16":136144630717612032,"45":6256977653904302080},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-15 03:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 03:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 03:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720907264001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:25:41] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-15 03:25:41] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-15 03:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":136144630717612032,"km_value":136144630717612.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":6256977653904302080,"description":"Unknown IO ID 45"} 
[2026-07-15 03:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720907264001,"power":27941,"unknown_109":206,"unknown_80":60928,"ignition":58,"odometer":null,"unknown_45":6256977653904302080}} 
[2026-07-15 03:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":132155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489262,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:25:41] local.INFO: GPS data processed {"connection_id":132155,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:25:41] local.INFO: Acknowledgment sent {"connection_id":132155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:26:02] local.INFO: TCP Data received {"connection_id":131983,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:26:02] local.INFO: Processing buffer {"connection_id":131983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:26:02] local.INFO: IMEI packet received {"connection_id":131983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":131983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:26:07] local.INFO: TCP Data received {"connection_id":131983,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:26:07] local.INFO: Processing buffer {"connection_id":131983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:26:07] local.INFO: IMEI packet received {"connection_id":131983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":131983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:26:08] local.INFO: TCP Data received {"connection_id":131983,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f629fd208012d7f92c005afd8300000005025..."} 
[2026-07-15 03:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f629fd208012d7f92c005afd8300000005025..."} 
[2026-07-15 03:26:08] local.INFO: Processing buffer {"connection_id":131983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f629fd208012d7f92c005afd8300000005025..."} 
[2026-07-15 03:26:08] local.INFO: Packet analysis {"connection_id":131983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f629f"} 
[2026-07-15 03:26:08] local.INFO: Extracted packet for processing {"connection_id":131983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f629f"} 
[2026-07-15 03:26:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720836608001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784066069000,"timestamp_ms":1784066069000,"timestamp_seconds":1784066069,"priority":1,"record_length":96,"hex_timestamp":"0000019f629fd208"} 
[2026-07-15 03:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 03:26:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:26:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":131983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":131983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":131983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720836608001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720836608001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:26:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:26:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720836608001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":131983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:26:08] local.INFO: GPS data processed {"connection_id":131983,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:26:08] local.INFO: Acknowledgment sent {"connection_id":131983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:26:30] local.INFO: TCP Data received {"connection_id":131984,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131984,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:26:30] local.INFO: Processing buffer {"connection_id":131984,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:26:30] local.INFO: IMEI packet received {"connection_id":131984,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 03:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":131984,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:26:41] local.INFO: TCP Data received {"connection_id":131983,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f629fd208012d7f92c005afd8300000005025..."} 
[2026-07-15 03:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f629fd208012d7f92c005afd8300000005025..."} 
[2026-07-15 03:26:41] local.INFO: Processing buffer {"connection_id":131983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f629fd208012d7f92c005afd8300000005025..."} 
[2026-07-15 03:26:41] local.INFO: Packet analysis {"connection_id":131983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f629f"} 
[2026-07-15 03:26:41] local.INFO: Extracted packet for processing {"connection_id":131983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f629f"} 
[2026-07-15 03:26:41] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:26: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-07-15 03:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720836608001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784066069000,"timestamp_ms":1784066069000,"timestamp_seconds":1784066069,"priority":1,"record_length":96,"hex_timestamp":"0000019f629fd208"} 
[2026-07-15 03:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 03:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:26: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-07-15 03:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:26:41] 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-07-15 03:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720836608001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720836608001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:26:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:26:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720836608001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":131983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:26:41] local.INFO: GPS data processed {"connection_id":131983,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:26:41] local.INFO: Acknowledgment sent {"connection_id":131983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:27:02] local.INFO: TCP Data received {"connection_id":132997,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:27:02] local.INFO: Processing buffer {"connection_id":132997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:27:02] local.INFO: IMEI packet received {"connection_id":132997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":132997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:27:07] local.INFO: TCP Data received {"connection_id":132997,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:27:07] local.INFO: Processing buffer {"connection_id":132997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:27:07] local.INFO: IMEI packet received {"connection_id":132997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":132997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:27:08] local.INFO: TCP Data received {"connection_id":132997,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f629fd208012d7f92c005afd8300000005025..."} 
[2026-07-15 03:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f629fd208012d7f92c005afd8300000005025..."} 
[2026-07-15 03:27:08] local.INFO: Processing buffer {"connection_id":132997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f629fd208012d7f92c005afd8300000005025..."} 
[2026-07-15 03:27:08] local.INFO: Packet analysis {"connection_id":132997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f629f"} 
[2026-07-15 03:27:08] local.INFO: Extracted packet for processing {"connection_id":132997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f629f"} 
[2026-07-15 03:27:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720836608001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784066069000,"timestamp_ms":1784066069000,"timestamp_seconds":1784066069,"priority":1,"record_length":96,"hex_timestamp":"0000019f629fd208"} 
[2026-07-15 03:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 03:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720836608001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720836608001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:27:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:27:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720836608001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":132997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:27:08] local.INFO: GPS data processed {"connection_id":132997,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:27:08] local.INFO: Acknowledgment sent {"connection_id":132997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:27:39] local.INFO: TCP Data received {"connection_id":132997,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f629fd208012d7f92c005afd8300000005025..."} 
[2026-07-15 03:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f629fd208012d7f92c005afd8300000005025..."} 
[2026-07-15 03:27:39] local.INFO: Processing buffer {"connection_id":132997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f629fd208012d7f92c005afd8300000005025..."} 
[2026-07-15 03:27:39] local.INFO: Packet analysis {"connection_id":132997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f629f"} 
[2026-07-15 03:27:39] local.INFO: Extracted packet for processing {"connection_id":132997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f629f"} 
[2026-07-15 03:27:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720836608001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784066069000,"timestamp_ms":1784066069000,"timestamp_seconds":1784066069,"priority":1,"record_length":96,"hex_timestamp":"0000019f629fd208"} 
[2026-07-15 03:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 03:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720836608001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720836608001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:27:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:27:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720836608001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":132997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:27:39] local.INFO: GPS data processed {"connection_id":132997,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:27:39] local.INFO: Acknowledgment sent {"connection_id":132997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:28:05] local.INFO: TCP Data received {"connection_id":132156,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:28:05] local.INFO: Processing buffer {"connection_id":132156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:28:05] local.INFO: IMEI packet received {"connection_id":132156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":132156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:28:07] local.INFO: TCP Data received {"connection_id":132156,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:28:07] local.INFO: Processing buffer {"connection_id":132156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:28:07] local.INFO: IMEI packet received {"connection_id":132156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":132156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:28:08] local.INFO: TCP Data received {"connection_id":132156,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f629fd208012d7f92c005afd8300000005025..."} 
[2026-07-15 03:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f629fd208012d7f92c005afd8300000005025..."} 
[2026-07-15 03:28:08] local.INFO: Processing buffer {"connection_id":132156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f629fd208012d7f92c005afd8300000005025..."} 
[2026-07-15 03:28:08] local.INFO: Packet analysis {"connection_id":132156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f629f"} 
[2026-07-15 03:28:08] local.INFO: Extracted packet for processing {"connection_id":132156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f629f"} 
[2026-07-15 03:28:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03: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-07-15 03:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720836608001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784066069000,"timestamp_ms":1784066069000,"timestamp_seconds":1784066069,"priority":1,"record_length":96,"hex_timestamp":"0000019f629fd208"} 
[2026-07-15 03:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 03:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03: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-07-15 03:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720836608001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720836608001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:28:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:28:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720836608001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":132156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:28:08] local.INFO: GPS data processed {"connection_id":132156,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:28:08] local.INFO: Acknowledgment sent {"connection_id":132156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:28:12] local.INFO: TCP Data received {"connection_id":132156,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f629fd208012d7f92c005afd8300000005025..."} 
[2026-07-15 03:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f629fd208012d7f92c005afd8300000005025..."} 
[2026-07-15 03:28:12] local.INFO: Processing buffer {"connection_id":132156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f629fd208012d7f92c005afd8300000005025..."} 
[2026-07-15 03:28:12] local.INFO: Packet analysis {"connection_id":132156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f629f"} 
[2026-07-15 03:28:12] local.INFO: Extracted packet for processing {"connection_id":132156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f629f"} 
[2026-07-15 03:28:12] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720836608001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784066069000,"timestamp_ms":1784066069000,"timestamp_seconds":1784066069,"priority":1,"record_length":96,"hex_timestamp":"0000019f629fd208"} 
[2026-07-15 03:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 03:28:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:28:12] 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-07-15 03:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720836608001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720836608001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:28:12] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:28:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720836608001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":132156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:28:12] local.INFO: GPS data processed {"connection_id":132156,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:28:12] local.INFO: Acknowledgment sent {"connection_id":132156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:28:44] local.INFO: TCP Data received {"connection_id":132156,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f629fd208012d7f92c005afd8300000005025..."} 
[2026-07-15 03:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f629fd208012d7f92c005afd8300000005025..."} 
[2026-07-15 03:28:44] local.INFO: Processing buffer {"connection_id":132156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f629fd208012d7f92c005afd8300000005025..."} 
[2026-07-15 03:28:44] local.INFO: Packet analysis {"connection_id":132156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f629f"} 
[2026-07-15 03:28:44] local.INFO: Extracted packet for processing {"connection_id":132156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f629f"} 
[2026-07-15 03:28:44] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720836608001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:28:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:28:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784066069000,"timestamp_ms":1784066069000,"timestamp_seconds":1784066069,"priority":1,"record_length":96,"hex_timestamp":"0000019f629fd208"} 
[2026-07-15 03:28:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:28:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 03:28:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:28:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:28:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":132156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":132156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":132156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:28:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720836608001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720836608001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:28:44] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:28:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:28:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720836608001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":132156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:28:44] local.INFO: GPS data processed {"connection_id":132156,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:28:44] local.INFO: Acknowledgment sent {"connection_id":132156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:29:02] local.INFO: TCP Data received {"connection_id":132158,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:29:02] local.INFO: Processing buffer {"connection_id":132158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:29:02] local.INFO: IMEI packet received {"connection_id":132158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":132158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:29:07] local.INFO: TCP Data received {"connection_id":132158,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:29:07] local.INFO: Processing buffer {"connection_id":132158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:29:07] local.INFO: IMEI packet received {"connection_id":132158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":132158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:29:08] local.INFO: TCP Data received {"connection_id":132158,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f629fd208012d7f92c005afd8300000005025..."} 
[2026-07-15 03:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f629fd208012d7f92c005afd8300000005025..."} 
[2026-07-15 03:29:08] local.INFO: Processing buffer {"connection_id":132158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f629fd208012d7f92c005afd8300000005025..."} 
[2026-07-15 03:29:08] local.INFO: Packet analysis {"connection_id":132158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f629f"} 
[2026-07-15 03:29:08] local.INFO: Extracted packet for processing {"connection_id":132158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f629f"} 
[2026-07-15 03:29:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720836608001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784066069000,"timestamp_ms":1784066069000,"timestamp_seconds":1784066069,"priority":1,"record_length":96,"hex_timestamp":"0000019f629fd208"} 
[2026-07-15 03:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 03:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:29:08] 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-07-15 03:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720836608001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720836608001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:29:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:29:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720836608001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":132158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:29:08] local.INFO: GPS data processed {"connection_id":132158,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:29:08] local.INFO: Acknowledgment sent {"connection_id":132158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:29:40] local.INFO: TCP Data received {"connection_id":132158,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f629fd208012d7f92c005afd8300000005025..."} 
[2026-07-15 03:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f629fd208012d7f92c005afd8300000005025..."} 
[2026-07-15 03:29:40] local.INFO: Processing buffer {"connection_id":132158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f629fd208012d7f92c005afd8300000005025..."} 
[2026-07-15 03:29:40] local.INFO: Packet analysis {"connection_id":132158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f629f"} 
[2026-07-15 03:29:40] local.INFO: Extracted packet for processing {"connection_id":132158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f629f"} 
[2026-07-15 03:29:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720836608001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784066069000,"timestamp_ms":1784066069000,"timestamp_seconds":1784066069,"priority":1,"record_length":96,"hex_timestamp":"0000019f629fd208"} 
[2026-07-15 03:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 03:29:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:29:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720836608001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720836608001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:29:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:29:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720836608001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":132158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:29:40] local.INFO: GPS data processed {"connection_id":132158,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:29:40] local.INFO: Acknowledgment sent {"connection_id":132158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:30:02] local.INFO: TCP Data received {"connection_id":134362,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:30:02] local.INFO: Processing buffer {"connection_id":134362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:30:02] local.INFO: IMEI packet received {"connection_id":134362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":134362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:30:07] local.INFO: TCP Data received {"connection_id":134362,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:30:07] local.INFO: Processing buffer {"connection_id":134362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:30:07] local.INFO: IMEI packet received {"connection_id":134362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":134362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:30:08] local.INFO: TCP Data received {"connection_id":134362,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f629fd208012d7f92c005afd8300000005025..."} 
[2026-07-15 03:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f629fd208012d7f92c005afd8300000005025..."} 
[2026-07-15 03:30:08] local.INFO: Processing buffer {"connection_id":134362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f629fd208012d7f92c005afd8300000005025..."} 
[2026-07-15 03:30:08] local.INFO: Packet analysis {"connection_id":134362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f629f"} 
[2026-07-15 03:30:08] local.INFO: Extracted packet for processing {"connection_id":134362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f629f"} 
[2026-07-15 03:30:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03: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-07-15 03:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720836608001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784066069000,"timestamp_ms":1784066069000,"timestamp_seconds":1784066069,"priority":1,"record_length":96,"hex_timestamp":"0000019f629fd208"} 
[2026-07-15 03:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 03:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03: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-07-15 03:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720836608001,"66":25604,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720836608001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:30:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:30:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720836608001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":134362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:30:08] local.INFO: GPS data processed {"connection_id":134362,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:30:08] local.INFO: Acknowledgment sent {"connection_id":134362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:30:39] local.INFO: TCP Data received {"connection_id":134362,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f62a469d0012d7f92c005afd830000000502a..."} 
[2026-07-15 03:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62a469d0012d7f92c005afd830000000502a..."} 
[2026-07-15 03:30:39] local.INFO: Processing buffer {"connection_id":134362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62a469d0012d7f92c005afd830000000502a..."} 
[2026-07-15 03:30:39] local.INFO: Packet analysis {"connection_id":134362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62a4"} 
[2026-07-15 03:30:39] local.INFO: Extracted packet for processing {"connection_id":134362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62a4"} 
[2026-07-15 03:30:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03: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-07-15 03:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720913664001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:30:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784066370000,"timestamp_ms":1784066370000,"timestamp_seconds":1784066370,"priority":1,"record_length":96,"hex_timestamp":"0000019f62a469d0"} 
[2026-07-15 03:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:30:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 03:30:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03: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-07-15 03:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:30:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720913664001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720913664001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:30:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:30:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720913664001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":134362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:30:39] local.INFO: GPS data processed {"connection_id":134362,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:30:39] local.INFO: Acknowledgment sent {"connection_id":134362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:31:02] local.INFO: TCP Data received {"connection_id":134363,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:31:02] local.INFO: Processing buffer {"connection_id":134363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:31:02] local.INFO: IMEI packet received {"connection_id":134363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":134363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:31:07] local.INFO: TCP Data received {"connection_id":134363,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:31:07] local.INFO: Processing buffer {"connection_id":134363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:31:07] local.INFO: IMEI packet received {"connection_id":134363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":134363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:31:08] local.INFO: TCP Data received {"connection_id":134363,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f62a469d0012d7f92c005afd830000000502a..."} 
[2026-07-15 03:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62a469d0012d7f92c005afd830000000502a..."} 
[2026-07-15 03:31:08] local.INFO: Processing buffer {"connection_id":134363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62a469d0012d7f92c005afd830000000502a..."} 
[2026-07-15 03:31:08] local.INFO: Packet analysis {"connection_id":134363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62a4"} 
[2026-07-15 03:31:08] local.INFO: Extracted packet for processing {"connection_id":134363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62a4"} 
[2026-07-15 03:31:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720913664001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784066370000,"timestamp_ms":1784066370000,"timestamp_seconds":1784066370,"priority":1,"record_length":96,"hex_timestamp":"0000019f62a469d0"} 
[2026-07-15 03:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 03:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720913664001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720913664001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:31:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:31:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720913664001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":134363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:31:08] local.INFO: GPS data processed {"connection_id":134363,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:31:08] local.INFO: Acknowledgment sent {"connection_id":134363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:31:39] local.INFO: TCP Data received {"connection_id":134363,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f62a469d0012d7f92c005afd830000000502a..."} 
[2026-07-15 03:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62a469d0012d7f92c005afd830000000502a..."} 
[2026-07-15 03:31:39] local.INFO: Processing buffer {"connection_id":134363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62a469d0012d7f92c005afd830000000502a..."} 
[2026-07-15 03:31:39] local.INFO: Packet analysis {"connection_id":134363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62a4"} 
[2026-07-15 03:31:39] local.INFO: Extracted packet for processing {"connection_id":134363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62a4"} 
[2026-07-15 03:31:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03: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-07-15 03:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720913664001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784066370000,"timestamp_ms":1784066370000,"timestamp_seconds":1784066370,"priority":1,"record_length":96,"hex_timestamp":"0000019f62a469d0"} 
[2026-07-15 03:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:31:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 03:31:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03: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-07-15 03:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720913664001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720913664001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:31:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:31:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720913664001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":134363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:31:39] local.INFO: GPS data processed {"connection_id":134363,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:31:39] local.INFO: Acknowledgment sent {"connection_id":134363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:31:54] local.INFO: TCP Data received {"connection_id":133000,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133000,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:31:54] local.INFO: Processing buffer {"connection_id":133000,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:31:54] local.INFO: IMEI packet received {"connection_id":133000,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 03:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":133000,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:32:02] local.INFO: TCP Data received {"connection_id":132160,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:32:02] local.INFO: Processing buffer {"connection_id":132160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:32:02] local.INFO: IMEI packet received {"connection_id":132160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":132160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:32:07] local.INFO: TCP Data received {"connection_id":132160,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:32:07] local.INFO: Processing buffer {"connection_id":132160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:32:07] local.INFO: IMEI packet received {"connection_id":132160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":132160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:32:08] local.INFO: TCP Data received {"connection_id":132160,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f62a469d0012d7f92c005afd830000000502a..."} 
[2026-07-15 03:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62a469d0012d7f92c005afd830000000502a..."} 
[2026-07-15 03:32:08] local.INFO: Processing buffer {"connection_id":132160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62a469d0012d7f92c005afd830000000502a..."} 
[2026-07-15 03:32:08] local.INFO: Packet analysis {"connection_id":132160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62a4"} 
[2026-07-15 03:32:08] local.INFO: Extracted packet for processing {"connection_id":132160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62a4"} 
[2026-07-15 03:32:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720913664001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784066370000,"timestamp_ms":1784066370000,"timestamp_seconds":1784066370,"priority":1,"record_length":96,"hex_timestamp":"0000019f62a469d0"} 
[2026-07-15 03:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 03:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:32:08] 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-07-15 03:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720913664001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720913664001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:32:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:32:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720913664001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":132160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:32:08] local.INFO: GPS data processed {"connection_id":132160,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:32:08] local.INFO: Acknowledgment sent {"connection_id":132160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:32:39] local.INFO: TCP Data received {"connection_id":132160,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f62a469d0012d7f92c005afd830000000502a..."} 
[2026-07-15 03:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62a469d0012d7f92c005afd830000000502a..."} 
[2026-07-15 03:32:39] local.INFO: Processing buffer {"connection_id":132160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62a469d0012d7f92c005afd830000000502a..."} 
[2026-07-15 03:32:39] local.INFO: Packet analysis {"connection_id":132160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62a4"} 
[2026-07-15 03:32:39] local.INFO: Extracted packet for processing {"connection_id":132160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62a4"} 
[2026-07-15 03:32:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720913664001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784066370000,"timestamp_ms":1784066370000,"timestamp_seconds":1784066370,"priority":1,"record_length":96,"hex_timestamp":"0000019f62a469d0"} 
[2026-07-15 03:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 03:32:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:32:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:32:39] 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-07-15 03:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720913664001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720913664001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:32:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:32:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720913664001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":132160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:32:39] local.INFO: GPS data processed {"connection_id":132160,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:32:39] local.INFO: Acknowledgment sent {"connection_id":132160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:32:40] local.INFO: TCP Data received {"connection_id":133001,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133001,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:32:40] local.INFO: Processing buffer {"connection_id":133001,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:32:40] local.INFO: IMEI packet received {"connection_id":133001,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 03:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":133001,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:33:02] local.INFO: TCP Data received {"connection_id":131985,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:33:02] local.INFO: Processing buffer {"connection_id":131985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:33:02] local.INFO: IMEI packet received {"connection_id":131985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":131985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:33:07] local.INFO: TCP Data received {"connection_id":131985,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:33:07] local.INFO: Processing buffer {"connection_id":131985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:33:07] local.INFO: IMEI packet received {"connection_id":131985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":131985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:33:08] local.INFO: TCP Data received {"connection_id":131985,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f62a469d0012d7f92c005afd830000000502a..."} 
[2026-07-15 03:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62a469d0012d7f92c005afd830000000502a..."} 
[2026-07-15 03:33:08] local.INFO: Processing buffer {"connection_id":131985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62a469d0012d7f92c005afd830000000502a..."} 
[2026-07-15 03:33:08] local.INFO: Packet analysis {"connection_id":131985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62a4"} 
[2026-07-15 03:33:08] local.INFO: Extracted packet for processing {"connection_id":131985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62a4"} 
[2026-07-15 03:33:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720913664001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784066370000,"timestamp_ms":1784066370000,"timestamp_seconds":1784066370,"priority":1,"record_length":96,"hex_timestamp":"0000019f62a469d0"} 
[2026-07-15 03:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 03:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:33:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":131985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":131985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":131985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720913664001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720913664001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:33:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:33:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720913664001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":131985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:33:08] local.INFO: GPS data processed {"connection_id":131985,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:33:08] local.INFO: Acknowledgment sent {"connection_id":131985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:33:44] local.INFO: TCP Data received {"connection_id":131985,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f62a469d0012d7f92c005afd830000000502a..."} 
[2026-07-15 03:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62a469d0012d7f92c005afd830000000502a..."} 
[2026-07-15 03:33:44] local.INFO: Processing buffer {"connection_id":131985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62a469d0012d7f92c005afd830000000502a..."} 
[2026-07-15 03:33:44] local.INFO: Packet analysis {"connection_id":131985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62a4"} 
[2026-07-15 03:33:44] local.INFO: Extracted packet for processing {"connection_id":131985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62a4"} 
[2026-07-15 03:33:44] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720913664001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:33:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:33:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784066370000,"timestamp_ms":1784066370000,"timestamp_seconds":1784066370,"priority":1,"record_length":96,"hex_timestamp":"0000019f62a469d0"} 
[2026-07-15 03:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:33:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 03:33:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:33:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":131985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":131985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":131985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720913664001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720913664001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:33:44] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:33:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:33:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720913664001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":131985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:33:44] local.INFO: GPS data processed {"connection_id":131985,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:33:44] local.INFO: Acknowledgment sent {"connection_id":131985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:33:50] local.INFO: TCP Data received {"connection_id":132161,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132161,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:33:50] local.INFO: Processing buffer {"connection_id":132161,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:33:50] local.INFO: IMEI packet received {"connection_id":132161,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 03:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":132161,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:34:02] local.INFO: TCP Data received {"connection_id":131986,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:34:02] local.INFO: Processing buffer {"connection_id":131986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:34:02] local.INFO: IMEI packet received {"connection_id":131986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":131986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:34:07] local.INFO: TCP Data received {"connection_id":131986,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:34:07] local.INFO: Processing buffer {"connection_id":131986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:34:07] local.INFO: IMEI packet received {"connection_id":131986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":131986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:34:08] local.INFO: TCP Data received {"connection_id":131986,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f62a469d0012d7f92c005afd830000000502a..."} 
[2026-07-15 03:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62a469d0012d7f92c005afd830000000502a..."} 
[2026-07-15 03:34:08] local.INFO: Processing buffer {"connection_id":131986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62a469d0012d7f92c005afd830000000502a..."} 
[2026-07-15 03:34:08] local.INFO: Packet analysis {"connection_id":131986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62a4"} 
[2026-07-15 03:34:08] local.INFO: Extracted packet for processing {"connection_id":131986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62a4"} 
[2026-07-15 03:34:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720913664001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784066370000,"timestamp_ms":1784066370000,"timestamp_seconds":1784066370,"priority":1,"record_length":96,"hex_timestamp":"0000019f62a469d0"} 
[2026-07-15 03:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 03:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":131986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":131986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":131986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720913664001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720913664001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:34:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:34:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720913664001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":131986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:34:08] local.INFO: GPS data processed {"connection_id":131986,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:34:08] local.INFO: Acknowledgment sent {"connection_id":131986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:34:39] local.INFO: TCP Data received {"connection_id":131986,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f62a469d0012d7f92c005afd830000000502a..."} 
[2026-07-15 03:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62a469d0012d7f92c005afd830000000502a..."} 
[2026-07-15 03:34:39] local.INFO: Processing buffer {"connection_id":131986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62a469d0012d7f92c005afd830000000502a..."} 
[2026-07-15 03:34:39] local.INFO: Packet analysis {"connection_id":131986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62a4"} 
[2026-07-15 03:34:39] local.INFO: Extracted packet for processing {"connection_id":131986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62a4"} 
[2026-07-15 03:34:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03: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-07-15 03:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720913664001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784066370000,"timestamp_ms":1784066370000,"timestamp_seconds":1784066370,"priority":1,"record_length":96,"hex_timestamp":"0000019f62a469d0"} 
[2026-07-15 03:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 03:34:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03: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-07-15 03:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":131986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":131986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":131986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:34:39] 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-07-15 03:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720913664001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720913664001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:34:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:34:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720913664001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":131986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:34:39] local.INFO: GPS data processed {"connection_id":131986,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:34:39] local.INFO: Acknowledgment sent {"connection_id":131986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:35:02] local.INFO: TCP Data received {"connection_id":132162,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:35:02] local.INFO: Processing buffer {"connection_id":132162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:35:02] local.INFO: IMEI packet received {"connection_id":132162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":132162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:35:07] local.INFO: TCP Data received {"connection_id":132162,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:35:07] local.INFO: Processing buffer {"connection_id":132162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:35:07] local.INFO: IMEI packet received {"connection_id":132162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":132162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:35:08] local.INFO: TCP Data received {"connection_id":132162,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f62a469d0012d7f92c005afd830000000502a..."} 
[2026-07-15 03:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62a469d0012d7f92c005afd830000000502a..."} 
[2026-07-15 03:35:08] local.INFO: Processing buffer {"connection_id":132162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62a469d0012d7f92c005afd830000000502a..."} 
[2026-07-15 03:35:08] local.INFO: Packet analysis {"connection_id":132162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62a4"} 
[2026-07-15 03:35:08] local.INFO: Extracted packet for processing {"connection_id":132162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62a4"} 
[2026-07-15 03:35:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720913664001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784066370000,"timestamp_ms":1784066370000,"timestamp_seconds":1784066370,"priority":1,"record_length":96,"hex_timestamp":"0000019f62a469d0"} 
[2026-07-15 03:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:35:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 03:35:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:35:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720913664001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720913664001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:35:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:35:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720913664001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":132162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:35:08] local.INFO: GPS data processed {"connection_id":132162,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:35:08] local.INFO: Acknowledgment sent {"connection_id":132162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:35:39] local.INFO: TCP Data received {"connection_id":132162,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f62a90198012d7f92c005afd8300000005023..."} 
[2026-07-15 03:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62a90198012d7f92c005afd8300000005023..."} 
[2026-07-15 03:35:39] local.INFO: Processing buffer {"connection_id":132162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62a90198012d7f92c005afd8300000005023..."} 
[2026-07-15 03:35:39] local.INFO: Packet analysis {"connection_id":132162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62a9"} 
[2026-07-15 03:35:39] local.INFO: Extracted packet for processing {"connection_id":132162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62a9"} 
[2026-07-15 03:35:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":35,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720990720001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784066671000,"timestamp_ms":1784066671000,"timestamp_seconds":1784066671,"priority":1,"record_length":96,"hex_timestamp":"0000019f62a90198"} 
[2026-07-15 03:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:35:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 03:35:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:35:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:35:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720990720001,"66":25495,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720990720001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:35:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:35:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720990720001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":132162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:35:39] local.INFO: GPS data processed {"connection_id":132162,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:35:39] local.INFO: Acknowledgment sent {"connection_id":132162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:36:02] local.INFO: TCP Data received {"connection_id":131988,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:36:02] local.INFO: Processing buffer {"connection_id":131988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:36:02] local.INFO: IMEI packet received {"connection_id":131988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":131988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:36:11] local.INFO: TCP Data received {"connection_id":131988,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:36:11] local.INFO: Processing buffer {"connection_id":131988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:36:11] local.INFO: IMEI packet received {"connection_id":131988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":131988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:36:12] local.INFO: TCP Data received {"connection_id":131988,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f62a90198012d7f92c005afd8300000005023..."} 
[2026-07-15 03:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62a90198012d7f92c005afd8300000005023..."} 
[2026-07-15 03:36:12] local.INFO: Processing buffer {"connection_id":131988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62a90198012d7f92c005afd8300000005023..."} 
[2026-07-15 03:36:12] local.INFO: Packet analysis {"connection_id":131988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62a9"} 
[2026-07-15 03:36:12] local.INFO: Extracted packet for processing {"connection_id":131988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62a9"} 
[2026-07-15 03:36:12] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":35,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720990720001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784066671000,"timestamp_ms":1784066671000,"timestamp_seconds":1784066671,"priority":1,"record_length":96,"hex_timestamp":"0000019f62a90198"} 
[2026-07-15 03:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:36:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 03:36:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:36:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720990720001,"66":25495,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720990720001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:36:12] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:36:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720990720001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":131988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:36:12] local.INFO: GPS data processed {"connection_id":131988,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:36:12] local.INFO: Acknowledgment sent {"connection_id":131988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:36:45] local.INFO: TCP Data received {"connection_id":131988,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f62a90198012d7f92c005afd8300000005023..."} 
[2026-07-15 03:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62a90198012d7f92c005afd8300000005023..."} 
[2026-07-15 03:36:45] local.INFO: Processing buffer {"connection_id":131988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62a90198012d7f92c005afd8300000005023..."} 
[2026-07-15 03:36:45] local.INFO: Packet analysis {"connection_id":131988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62a9"} 
[2026-07-15 03:36:45] local.INFO: Extracted packet for processing {"connection_id":131988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62a9"} 
[2026-07-15 03:36:45] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":35,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03: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-07-15 03:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720990720001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784066671000,"timestamp_ms":1784066671000,"timestamp_seconds":1784066671,"priority":1,"record_length":96,"hex_timestamp":"0000019f62a90198"} 
[2026-07-15 03:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:36:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 03:36:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03: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-07-15 03:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720990720001,"66":25495,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720990720001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:36:45] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:36:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720990720001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":131988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:36:45] local.INFO: GPS data processed {"connection_id":131988,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:36:45] local.INFO: Acknowledgment sent {"connection_id":131988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:37:05] local.INFO: TCP Data received {"connection_id":133002,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:37:05] local.INFO: Processing buffer {"connection_id":133002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:37:05] local.INFO: IMEI packet received {"connection_id":133002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":133002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:37:08] local.INFO: TCP Data received {"connection_id":133002,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:37:09] local.INFO: Processing buffer {"connection_id":133002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:37:09] local.INFO: IMEI packet received {"connection_id":133002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":133002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:37:09] local.INFO: TCP Data received {"connection_id":133002,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f62a90198012d7f92c005afd8300000005023..."} 
[2026-07-15 03:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62a90198012d7f92c005afd8300000005023..."} 
[2026-07-15 03:37:09] local.INFO: Processing buffer {"connection_id":133002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62a90198012d7f92c005afd8300000005023..."} 
[2026-07-15 03:37:09] local.INFO: Packet analysis {"connection_id":133002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62a9"} 
[2026-07-15 03:37:09] local.INFO: Extracted packet for processing {"connection_id":133002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62a9"} 
[2026-07-15 03:37:09] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":35,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720990720001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784066671000,"timestamp_ms":1784066671000,"timestamp_seconds":1784066671,"priority":1,"record_length":96,"hex_timestamp":"0000019f62a90198"} 
[2026-07-15 03:37:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:37:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 03:37:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:37:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:37:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":133002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":133002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":133002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:37:09] 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-07-15 03:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720990720001,"66":25495,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720990720001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:37:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:37:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720990720001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":133002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:37:09] local.INFO: GPS data processed {"connection_id":133002,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:37:09] local.INFO: Acknowledgment sent {"connection_id":133002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:37:12] local.INFO: TCP Data received {"connection_id":133002,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f62a90198012d7f92c005afd8300000005023..."} 
[2026-07-15 03:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62a90198012d7f92c005afd8300000005023..."} 
[2026-07-15 03:37:12] local.INFO: Processing buffer {"connection_id":133002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62a90198012d7f92c005afd8300000005023..."} 
[2026-07-15 03:37:12] local.INFO: Packet analysis {"connection_id":133002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62a9"} 
[2026-07-15 03:37:12] local.INFO: Extracted packet for processing {"connection_id":133002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62a9"} 
[2026-07-15 03:37:12] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":35,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03: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-07-15 03:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720990720001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784066671000,"timestamp_ms":1784066671000,"timestamp_seconds":1784066671,"priority":1,"record_length":96,"hex_timestamp":"0000019f62a90198"} 
[2026-07-15 03:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 03:37:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03: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-07-15 03:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":133002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":133002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":133002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:37:12] 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-07-15 03:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720990720001,"66":25495,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720990720001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:37:12] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:37:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720990720001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":133002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:37:12] local.INFO: GPS data processed {"connection_id":133002,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:37:12] local.INFO: Acknowledgment sent {"connection_id":133002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:37:46] local.INFO: TCP Data received {"connection_id":133002,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f62a90198012d7f92c005afd8300000005023..."} 
[2026-07-15 03:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62a90198012d7f92c005afd8300000005023..."} 
[2026-07-15 03:37:46] local.INFO: Processing buffer {"connection_id":133002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62a90198012d7f92c005afd8300000005023..."} 
[2026-07-15 03:37:46] local.INFO: Packet analysis {"connection_id":133002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62a9"} 
[2026-07-15 03:37:46] local.INFO: Extracted packet for processing {"connection_id":133002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62a9"} 
[2026-07-15 03:37:46] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":35,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720990720001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784066671000,"timestamp_ms":1784066671000,"timestamp_seconds":1784066671,"priority":1,"record_length":96,"hex_timestamp":"0000019f62a90198"} 
[2026-07-15 03:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 03:37:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":133002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":133002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":133002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720990720001,"66":25495,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720990720001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:37:46] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:37:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720990720001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":133002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:37:46] local.INFO: GPS data processed {"connection_id":133002,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:37:46] local.INFO: Acknowledgment sent {"connection_id":133002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:38:02] local.INFO: TCP Data received {"connection_id":131989,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:38:02] local.INFO: Processing buffer {"connection_id":131989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:38:02] local.INFO: IMEI packet received {"connection_id":131989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":131989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:38:07] local.INFO: TCP Data received {"connection_id":131989,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:38:07] local.INFO: Processing buffer {"connection_id":131989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:38:07] local.INFO: IMEI packet received {"connection_id":131989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":131989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:38:08] local.INFO: TCP Data received {"connection_id":131989,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f62a90198012d7f92c005afd8300000005023..."} 
[2026-07-15 03:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62a90198012d7f92c005afd8300000005023..."} 
[2026-07-15 03:38:08] local.INFO: Processing buffer {"connection_id":131989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62a90198012d7f92c005afd8300000005023..."} 
[2026-07-15 03:38:08] local.INFO: Packet analysis {"connection_id":131989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62a9"} 
[2026-07-15 03:38:08] local.INFO: Extracted packet for processing {"connection_id":131989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62a9"} 
[2026-07-15 03:38:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":35,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720990720001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784066671000,"timestamp_ms":1784066671000,"timestamp_seconds":1784066671,"priority":1,"record_length":96,"hex_timestamp":"0000019f62a90198"} 
[2026-07-15 03:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 03:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":131989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":131989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":131989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720990720001,"66":25495,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720990720001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:38:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:38:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720990720001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":131989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:38:08] local.INFO: GPS data processed {"connection_id":131989,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:38:08] local.INFO: Acknowledgment sent {"connection_id":131989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:38:39] local.INFO: TCP Data received {"connection_id":131989,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f62a90198012d7f92c005afd8300000005023..."} 
[2026-07-15 03:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62a90198012d7f92c005afd8300000005023..."} 
[2026-07-15 03:38:39] local.INFO: Processing buffer {"connection_id":131989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62a90198012d7f92c005afd8300000005023..."} 
[2026-07-15 03:38:39] local.INFO: Packet analysis {"connection_id":131989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62a9"} 
[2026-07-15 03:38:39] local.INFO: Extracted packet for processing {"connection_id":131989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62a9"} 
[2026-07-15 03:38:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":35,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720990720001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784066671000,"timestamp_ms":1784066671000,"timestamp_seconds":1784066671,"priority":1,"record_length":96,"hex_timestamp":"0000019f62a90198"} 
[2026-07-15 03:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 03:38:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":131989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":131989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":131989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:38:39] 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-07-15 03:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720990720001,"66":25495,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720990720001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:38:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:38:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720990720001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":131989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:38:39] local.INFO: GPS data processed {"connection_id":131989,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:38:39] local.INFO: Acknowledgment sent {"connection_id":131989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:38:56] local.INFO: TCP Data received {"connection_id":131990,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131990,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:38:56] local.INFO: Processing buffer {"connection_id":131990,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:38:56] local.INFO: IMEI packet received {"connection_id":131990,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 03:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":131990,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:39:02] local.INFO: TCP Data received {"connection_id":132164,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:39:02] local.INFO: Processing buffer {"connection_id":132164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:39:02] local.INFO: IMEI packet received {"connection_id":132164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":132164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:39:07] local.INFO: TCP Data received {"connection_id":132164,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:39:07] local.INFO: Processing buffer {"connection_id":132164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:39:07] local.INFO: IMEI packet received {"connection_id":132164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":132164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:39:08] local.INFO: TCP Data received {"connection_id":132164,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f62a90198012d7f92c005afd8300000005023..."} 
[2026-07-15 03:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62a90198012d7f92c005afd8300000005023..."} 
[2026-07-15 03:39:08] local.INFO: Processing buffer {"connection_id":132164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62a90198012d7f92c005afd8300000005023..."} 
[2026-07-15 03:39:08] local.INFO: Packet analysis {"connection_id":132164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62a9"} 
[2026-07-15 03:39:08] local.INFO: Extracted packet for processing {"connection_id":132164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62a9"} 
[2026-07-15 03:39:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":35,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720990720001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784066671000,"timestamp_ms":1784066671000,"timestamp_seconds":1784066671,"priority":1,"record_length":96,"hex_timestamp":"0000019f62a90198"} 
[2026-07-15 03:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 03:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:39:08] 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-07-15 03:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720990720001,"66":25495,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720990720001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:39:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:39:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720990720001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":132164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:39:08] local.INFO: GPS data processed {"connection_id":132164,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:39:08] local.INFO: Acknowledgment sent {"connection_id":132164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:39:36] local.INFO: TCP Data received {"connection_id":133003,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133003,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:39:36] local.INFO: Processing buffer {"connection_id":133003,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:39:36] local.INFO: IMEI packet received {"connection_id":133003,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 03:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":133003,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:39:39] local.INFO: TCP Data received {"connection_id":132164,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f62a90198012d7f92c005afd8300000005023..."} 
[2026-07-15 03:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62a90198012d7f92c005afd8300000005023..."} 
[2026-07-15 03:39:39] local.INFO: Processing buffer {"connection_id":132164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62a90198012d7f92c005afd8300000005023..."} 
[2026-07-15 03:39:39] local.INFO: Packet analysis {"connection_id":132164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62a9"} 
[2026-07-15 03:39:39] local.INFO: Extracted packet for processing {"connection_id":132164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62a9"} 
[2026-07-15 03:39:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":35,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:39: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-07-15 03:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456720990720001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:39:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784066671000,"timestamp_ms":1784066671000,"timestamp_seconds":1784066671,"priority":1,"record_length":96,"hex_timestamp":"0000019f62a90198"} 
[2026-07-15 03:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:39:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 03:39:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:39: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-07-15 03:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:39: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-07-15 03:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456720990720001,"66":25495,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456720990720001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:39:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:39:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456720990720001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":132164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:39:39] local.INFO: GPS data processed {"connection_id":132164,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:39:39] local.INFO: Acknowledgment sent {"connection_id":132164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:40:07] local.INFO: TCP Data received {"connection_id":134367,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:40:07] local.INFO: Processing buffer {"connection_id":134367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:40:07] local.INFO: IMEI packet received {"connection_id":134367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":134367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:40:10] local.INFO: TCP Data received {"connection_id":134367,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:40:10] local.INFO: Processing buffer {"connection_id":134367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:40:10] local.INFO: IMEI packet received {"connection_id":134367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":134367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:40:11] local.INFO: TCP Data received {"connection_id":134367,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f62ad9960012d7f92c005afd8300000005026..."} 
[2026-07-15 03:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62ad9960012d7f92c005afd8300000005026..."} 
[2026-07-15 03:40:11] local.INFO: Processing buffer {"connection_id":134367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62ad9960012d7f92c005afd8300000005026..."} 
[2026-07-15 03:40:11] local.INFO: Packet analysis {"connection_id":134367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62ad"} 
[2026-07-15 03:40:11] local.INFO: Extracted packet for processing {"connection_id":134367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62ad"} 
[2026-07-15 03:40:11] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721067776001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784066972000,"timestamp_ms":1784066972000,"timestamp_seconds":1784066972,"priority":1,"record_length":96,"hex_timestamp":"0000019f62ad9960"} 
[2026-07-15 03:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-15 03:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:40:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":134367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":134367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":134367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:40:11] 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-07-15 03:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721067776001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721067776001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:40:11] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:40:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721067776001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":134367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:40:11] local.INFO: GPS data processed {"connection_id":134367,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:40:11] local.INFO: Acknowledgment sent {"connection_id":134367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:40:12] local.INFO: TCP Data received {"connection_id":134367,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f62ad9960012d7f92c005afd8300000005026..."} 
[2026-07-15 03:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62ad9960012d7f92c005afd8300000005026..."} 
[2026-07-15 03:40:12] local.INFO: Processing buffer {"connection_id":134367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62ad9960012d7f92c005afd8300000005026..."} 
[2026-07-15 03:40:12] local.INFO: Packet analysis {"connection_id":134367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62ad"} 
[2026-07-15 03:40:12] local.INFO: Extracted packet for processing {"connection_id":134367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62ad"} 
[2026-07-15 03:40:12] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:40: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-07-15 03:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721067776001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784066972000,"timestamp_ms":1784066972000,"timestamp_seconds":1784066972,"priority":1,"record_length":96,"hex_timestamp":"0000019f62ad9960"} 
[2026-07-15 03:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-15 03:40:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:40: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-07-15 03:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":134367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":134367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":134367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:40:12] 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-07-15 03:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721067776001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721067776001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:40:12] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:40:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721067776001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":134367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:40:12] local.INFO: GPS data processed {"connection_id":134367,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:40:12] local.INFO: Acknowledgment sent {"connection_id":134367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:40:43] local.INFO: TCP Data received {"connection_id":134367,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f62ad9960012d7f92c005afd8300000005026..."} 
[2026-07-15 03:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62ad9960012d7f92c005afd8300000005026..."} 
[2026-07-15 03:40:43] local.INFO: Processing buffer {"connection_id":134367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62ad9960012d7f92c005afd8300000005026..."} 
[2026-07-15 03:40:43] local.INFO: Packet analysis {"connection_id":134367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62ad"} 
[2026-07-15 03:40:43] local.INFO: Extracted packet for processing {"connection_id":134367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62ad"} 
[2026-07-15 03:40:43] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721067776001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:40:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:40:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784066972000,"timestamp_ms":1784066972000,"timestamp_seconds":1784066972,"priority":1,"record_length":96,"hex_timestamp":"0000019f62ad9960"} 
[2026-07-15 03:40:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:40:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-15 03:40:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:40:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:40:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":134367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":134367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":134367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:40:43] 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-07-15 03:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721067776001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721067776001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:40:43] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:40:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:40:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:40:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721067776001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":134367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:40:43] local.INFO: GPS data processed {"connection_id":134367,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:40:43] local.INFO: Acknowledgment sent {"connection_id":134367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:41:02] local.INFO: TCP Data received {"connection_id":131991,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:41:02] local.INFO: Processing buffer {"connection_id":131991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:41:02] local.INFO: IMEI packet received {"connection_id":131991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":131991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:41:07] local.INFO: TCP Data received {"connection_id":131991,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:41:07] local.INFO: Processing buffer {"connection_id":131991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:41:07] local.INFO: IMEI packet received {"connection_id":131991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":131991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:41:08] local.INFO: TCP Data received {"connection_id":131991,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f62ad9960012d7f92c005afd8300000005026..."} 
[2026-07-15 03:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62ad9960012d7f92c005afd8300000005026..."} 
[2026-07-15 03:41:08] local.INFO: Processing buffer {"connection_id":131991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62ad9960012d7f92c005afd8300000005026..."} 
[2026-07-15 03:41:08] local.INFO: Packet analysis {"connection_id":131991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62ad"} 
[2026-07-15 03:41:08] local.INFO: Extracted packet for processing {"connection_id":131991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62ad"} 
[2026-07-15 03:41:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03: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-07-15 03:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721067776001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784066972000,"timestamp_ms":1784066972000,"timestamp_seconds":1784066972,"priority":1,"record_length":96,"hex_timestamp":"0000019f62ad9960"} 
[2026-07-15 03:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-15 03:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03: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-07-15 03:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":131991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":131991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":131991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721067776001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721067776001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:41:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:41:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721067776001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":131991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:41:08] local.INFO: GPS data processed {"connection_id":131991,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:41:08] local.INFO: Acknowledgment sent {"connection_id":131991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:41:39] local.INFO: TCP Data received {"connection_id":131991,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f62ad9960012d7f92c005afd8300000005026..."} 
[2026-07-15 03:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62ad9960012d7f92c005afd8300000005026..."} 
[2026-07-15 03:41:39] local.INFO: Processing buffer {"connection_id":131991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62ad9960012d7f92c005afd8300000005026..."} 
[2026-07-15 03:41:39] local.INFO: Packet analysis {"connection_id":131991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62ad"} 
[2026-07-15 03:41:39] local.INFO: Extracted packet for processing {"connection_id":131991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62ad"} 
[2026-07-15 03:41:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03: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-07-15 03:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721067776001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784066972000,"timestamp_ms":1784066972000,"timestamp_seconds":1784066972,"priority":1,"record_length":96,"hex_timestamp":"0000019f62ad9960"} 
[2026-07-15 03:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-15 03:41:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03: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-07-15 03:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":131991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":131991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":131991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:41:39] 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-07-15 03:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721067776001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721067776001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:41:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:41:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721067776001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":131991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:41:39] local.INFO: GPS data processed {"connection_id":131991,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:41:39] local.INFO: Acknowledgment sent {"connection_id":131991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:42:04] local.INFO: TCP Data received {"connection_id":131992,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:42:04] local.INFO: Processing buffer {"connection_id":131992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:42:04] local.INFO: IMEI packet received {"connection_id":131992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":131992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:42:07] local.INFO: TCP Data received {"connection_id":131992,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:42:07] local.INFO: Processing buffer {"connection_id":131992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:42:07] local.INFO: IMEI packet received {"connection_id":131992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":131992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:42:08] local.INFO: TCP Data received {"connection_id":131992,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f62ad9960012d7f92c005afd8300000005026..."} 
[2026-07-15 03:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62ad9960012d7f92c005afd8300000005026..."} 
[2026-07-15 03:42:08] local.INFO: Processing buffer {"connection_id":131992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62ad9960012d7f92c005afd8300000005026..."} 
[2026-07-15 03:42:08] local.INFO: Packet analysis {"connection_id":131992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62ad"} 
[2026-07-15 03:42:08] local.INFO: Extracted packet for processing {"connection_id":131992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62ad"} 
[2026-07-15 03:42:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03: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-07-15 03:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721067776001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784066972000,"timestamp_ms":1784066972000,"timestamp_seconds":1784066972,"priority":1,"record_length":96,"hex_timestamp":"0000019f62ad9960"} 
[2026-07-15 03:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-15 03:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":131992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":131992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":131992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721067776001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721067776001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:42:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:42:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721067776001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":131992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:42:08] local.INFO: GPS data processed {"connection_id":131992,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:42:08] local.INFO: Acknowledgment sent {"connection_id":131992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:42:41] local.INFO: TCP Data received {"connection_id":131992,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f62ad9960012d7f92c005afd8300000005026..."} 
[2026-07-15 03:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62ad9960012d7f92c005afd8300000005026..."} 
[2026-07-15 03:42:41] local.INFO: Processing buffer {"connection_id":131992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62ad9960012d7f92c005afd8300000005026..."} 
[2026-07-15 03:42:41] local.INFO: Packet analysis {"connection_id":131992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62ad"} 
[2026-07-15 03:42:41] local.INFO: Extracted packet for processing {"connection_id":131992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62ad"} 
[2026-07-15 03:42:41] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03: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-07-15 03:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721067776001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784066972000,"timestamp_ms":1784066972000,"timestamp_seconds":1784066972,"priority":1,"record_length":96,"hex_timestamp":"0000019f62ad9960"} 
[2026-07-15 03:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-15 03:42:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03: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-07-15 03:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:42:41] 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-07-15 03:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721067776001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721067776001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:42:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:42:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721067776001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":131992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:42:42] local.INFO: GPS data processed {"connection_id":131992,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:42:42] local.INFO: Acknowledgment sent {"connection_id":131992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:43:02] local.INFO: TCP Data received {"connection_id":133007,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:43:02] local.INFO: Processing buffer {"connection_id":133007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:43:02] local.INFO: IMEI packet received {"connection_id":133007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":133007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:43:07] local.INFO: TCP Data received {"connection_id":133007,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:43:07] local.INFO: Processing buffer {"connection_id":133007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:43:07] local.INFO: IMEI packet received {"connection_id":133007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":133007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:43:08] local.INFO: TCP Data received {"connection_id":133007,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f62ad9960012d7f92c005afd8300000005026..."} 
[2026-07-15 03:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62ad9960012d7f92c005afd8300000005026..."} 
[2026-07-15 03:43:08] local.INFO: Processing buffer {"connection_id":133007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62ad9960012d7f92c005afd8300000005026..."} 
[2026-07-15 03:43:08] local.INFO: Packet analysis {"connection_id":133007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62ad"} 
[2026-07-15 03:43:08] local.INFO: Extracted packet for processing {"connection_id":133007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62ad"} 
[2026-07-15 03:43:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721067776001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784066972000,"timestamp_ms":1784066972000,"timestamp_seconds":1784066972,"priority":1,"record_length":96,"hex_timestamp":"0000019f62ad9960"} 
[2026-07-15 03:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-15 03:43:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:43:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":133007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":133007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":133007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721067776001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721067776001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:43:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:43:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721067776001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":133007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:43:08] local.INFO: GPS data processed {"connection_id":133007,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:43:08] local.INFO: Acknowledgment sent {"connection_id":133007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:43:42] local.INFO: TCP Data received {"connection_id":133007,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f62ad9960012d7f92c005afd8300000005026..."} 
[2026-07-15 03:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62ad9960012d7f92c005afd8300000005026..."} 
[2026-07-15 03:43:42] local.INFO: Processing buffer {"connection_id":133007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62ad9960012d7f92c005afd8300000005026..."} 
[2026-07-15 03:43:42] local.INFO: Packet analysis {"connection_id":133007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62ad"} 
[2026-07-15 03:43:42] local.INFO: Extracted packet for processing {"connection_id":133007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62ad"} 
[2026-07-15 03:43:42] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721067776001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784066972000,"timestamp_ms":1784066972000,"timestamp_seconds":1784066972,"priority":1,"record_length":96,"hex_timestamp":"0000019f62ad9960"} 
[2026-07-15 03:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:43:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-15 03:43:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:43:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":133007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":133007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":133007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721067776001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721067776001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:43:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:43:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721067776001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":133007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:43:42] local.INFO: GPS data processed {"connection_id":133007,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:43:42] local.INFO: Acknowledgment sent {"connection_id":133007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:44:02] local.INFO: TCP Data received {"connection_id":131995,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:44:02] local.INFO: Processing buffer {"connection_id":131995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:44:02] local.INFO: IMEI packet received {"connection_id":131995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":131995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:44:07] local.INFO: TCP Data received {"connection_id":131995,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:44:07] local.INFO: Processing buffer {"connection_id":131995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:44:07] local.INFO: IMEI packet received {"connection_id":131995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":131995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:44:08] local.INFO: TCP Data received {"connection_id":131995,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f62ad9960012d7f92c005afd8300000005026..."} 
[2026-07-15 03:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62ad9960012d7f92c005afd8300000005026..."} 
[2026-07-15 03:44:08] local.INFO: Processing buffer {"connection_id":131995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62ad9960012d7f92c005afd8300000005026..."} 
[2026-07-15 03:44:08] local.INFO: Packet analysis {"connection_id":131995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62ad"} 
[2026-07-15 03:44:08] local.INFO: Extracted packet for processing {"connection_id":131995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62ad"} 
[2026-07-15 03:44:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721067776001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784066972000,"timestamp_ms":1784066972000,"timestamp_seconds":1784066972,"priority":1,"record_length":96,"hex_timestamp":"0000019f62ad9960"} 
[2026-07-15 03:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-15 03:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":131995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":131995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":131995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:44:08] 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-07-15 03:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721067776001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721067776001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:44:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:44:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721067776001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":131995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:44:08] local.INFO: GPS data processed {"connection_id":131995,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:44:08] local.INFO: Acknowledgment sent {"connection_id":131995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:44:42] local.INFO: TCP Data received {"connection_id":131995,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f62ad9960012d7f92c005afd8300000005026..."} 
[2026-07-15 03:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62ad9960012d7f92c005afd8300000005026..."} 
[2026-07-15 03:44:42] local.INFO: Processing buffer {"connection_id":131995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62ad9960012d7f92c005afd8300000005026..."} 
[2026-07-15 03:44:42] local.INFO: Packet analysis {"connection_id":131995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62ad"} 
[2026-07-15 03:44:42] local.INFO: Extracted packet for processing {"connection_id":131995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62ad"} 
[2026-07-15 03:44:42] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721067776001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784066972000,"timestamp_ms":1784066972000,"timestamp_seconds":1784066972,"priority":1,"record_length":96,"hex_timestamp":"0000019f62ad9960"} 
[2026-07-15 03:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:44:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-15 03:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":131995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":131995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":131995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:44:42] 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-07-15 03:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721067776001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721067776001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:44:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:44:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721067776001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":131995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:44:42] local.INFO: GPS data processed {"connection_id":131995,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:44:42] local.INFO: Acknowledgment sent {"connection_id":131995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:44:57] local.INFO: TCP Data received {"connection_id":134368,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134368,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:44:57] local.INFO: Processing buffer {"connection_id":134368,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:44:57] local.INFO: IMEI packet received {"connection_id":134368,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 03:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":134368,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:45:07] local.INFO: TCP Data received {"connection_id":134369,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:45:07] local.INFO: Processing buffer {"connection_id":134369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:45:07] local.INFO: IMEI packet received {"connection_id":134369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":134369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:45:11] local.INFO: TCP Data received {"connection_id":134369,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:45:11] local.INFO: Processing buffer {"connection_id":134369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:45:11] local.INFO: IMEI packet received {"connection_id":134369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":134369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:45:12] local.INFO: TCP Data received {"connection_id":134369,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f62b23128012d7f92c005afd8300000005027..."} 
[2026-07-15 03:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62b23128012d7f92c005afd8300000005027..."} 
[2026-07-15 03:45:12] local.INFO: Processing buffer {"connection_id":134369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62b23128012d7f92c005afd8300000005027..."} 
[2026-07-15 03:45:12] local.INFO: Packet analysis {"connection_id":134369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62b2"} 
[2026-07-15 03:45:12] local.INFO: Extracted packet for processing {"connection_id":134369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62b2"} 
[2026-07-15 03:45:12] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721144832001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784067273000,"timestamp_ms":1784067273000,"timestamp_seconds":1784067273,"priority":1,"record_length":96,"hex_timestamp":"0000019f62b23128"} 
[2026-07-15 03:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 03:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":134369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":134369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":134369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721144832001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721144832001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:45:12] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:45:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721144832001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":134369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:45:12] local.INFO: GPS data processed {"connection_id":134369,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:45:12] local.INFO: Acknowledgment sent {"connection_id":134369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:45:13] local.INFO: TCP Data received {"connection_id":134369,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f62b23128012d7f92c005afd8300000005027..."} 
[2026-07-15 03:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62b23128012d7f92c005afd8300000005027..."} 
[2026-07-15 03:45:13] local.INFO: Processing buffer {"connection_id":134369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62b23128012d7f92c005afd8300000005027..."} 
[2026-07-15 03:45:13] local.INFO: Packet analysis {"connection_id":134369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62b2"} 
[2026-07-15 03:45:13] local.INFO: Extracted packet for processing {"connection_id":134369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62b2"} 
[2026-07-15 03:45:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03: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-07-15 03:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721144832001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:45:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:45:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784067273000,"timestamp_ms":1784067273000,"timestamp_seconds":1784067273,"priority":1,"record_length":96,"hex_timestamp":"0000019f62b23128"} 
[2026-07-15 03:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:45:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 03:45:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03: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-07-15 03:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":134369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":134369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":134369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:45:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721144832001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721144832001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:45:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:45:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:45:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721144832001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":134369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:45:13] local.INFO: GPS data processed {"connection_id":134369,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:45:13] local.INFO: Acknowledgment sent {"connection_id":134369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:45:40] local.INFO: TCP Data received {"connection_id":132165,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132165,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:45:40] local.INFO: Processing buffer {"connection_id":132165,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:45:40] local.INFO: IMEI packet received {"connection_id":132165,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 03:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":132165,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:45:41] local.INFO: TCP Data received {"connection_id":132165,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132165,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:45:41] local.INFO: Processing buffer {"connection_id":132165,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:45:41] local.INFO: IMEI packet received {"connection_id":132165,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 03:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":132165,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:45:44] local.INFO: TCP Data received {"connection_id":134369,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f62b23128012d7f92c005afd8300000005027..."} 
[2026-07-15 03:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62b23128012d7f92c005afd8300000005027..."} 
[2026-07-15 03:45:44] local.INFO: Processing buffer {"connection_id":134369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62b23128012d7f92c005afd8300000005027..."} 
[2026-07-15 03:45:44] local.INFO: Packet analysis {"connection_id":134369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62b2"} 
[2026-07-15 03:45:44] local.INFO: Extracted packet for processing {"connection_id":134369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62b2"} 
[2026-07-15 03:45:44] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721144832001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784067273000,"timestamp_ms":1784067273000,"timestamp_seconds":1784067273,"priority":1,"record_length":96,"hex_timestamp":"0000019f62b23128"} 
[2026-07-15 03:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:45:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 03:45:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:45:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":134369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":134369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":134369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:45:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721144832001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721144832001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:45:44] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:45:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721144832001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":134369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:45:44] local.INFO: GPS data processed {"connection_id":134369,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:45:44] local.INFO: Acknowledgment sent {"connection_id":134369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:45:46] local.INFO: TCP Data received {"connection_id":132165,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132165,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:45:46] local.INFO: Processing buffer {"connection_id":132165,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:45:46] local.INFO: IMEI packet received {"connection_id":132165,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 03:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":132165,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:46:02] local.INFO: TCP Data received {"connection_id":133008,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:46:02] local.INFO: Processing buffer {"connection_id":133008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:46:02] local.INFO: IMEI packet received {"connection_id":133008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":133008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:46:07] local.INFO: TCP Data received {"connection_id":133008,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:46:07] local.INFO: Processing buffer {"connection_id":133008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:46:07] local.INFO: IMEI packet received {"connection_id":133008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":133008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:46:08] local.INFO: TCP Data received {"connection_id":133008,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f62b23128012d7f92c005afd8300000005027..."} 
[2026-07-15 03:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62b23128012d7f92c005afd8300000005027..."} 
[2026-07-15 03:46:08] local.INFO: Processing buffer {"connection_id":133008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62b23128012d7f92c005afd8300000005027..."} 
[2026-07-15 03:46:08] local.INFO: Packet analysis {"connection_id":133008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62b2"} 
[2026-07-15 03:46:08] local.INFO: Extracted packet for processing {"connection_id":133008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62b2"} 
[2026-07-15 03:46:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721144832001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784067273000,"timestamp_ms":1784067273000,"timestamp_seconds":1784067273,"priority":1,"record_length":96,"hex_timestamp":"0000019f62b23128"} 
[2026-07-15 03:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 03:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":133008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":133008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":133008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721144832001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721144832001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:46:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:46:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721144832001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":133008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:46:08] local.INFO: GPS data processed {"connection_id":133008,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:46:08] local.INFO: Acknowledgment sent {"connection_id":133008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:46:39] local.INFO: TCP Data received {"connection_id":133008,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f62b23128012d7f92c005afd8300000005027..."} 
[2026-07-15 03:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62b23128012d7f92c005afd8300000005027..."} 
[2026-07-15 03:46:39] local.INFO: Processing buffer {"connection_id":133008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62b23128012d7f92c005afd8300000005027..."} 
[2026-07-15 03:46:39] local.INFO: Packet analysis {"connection_id":133008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62b2"} 
[2026-07-15 03:46:39] local.INFO: Extracted packet for processing {"connection_id":133008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62b2"} 
[2026-07-15 03:46:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721144832001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784067273000,"timestamp_ms":1784067273000,"timestamp_seconds":1784067273,"priority":1,"record_length":96,"hex_timestamp":"0000019f62b23128"} 
[2026-07-15 03:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 03:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721144832001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721144832001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:46:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:46:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721144832001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":133008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:46:39] local.INFO: GPS data processed {"connection_id":133008,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:46:39] local.INFO: Acknowledgment sent {"connection_id":133008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:47:02] local.INFO: TCP Data received {"connection_id":134370,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:47:02] local.INFO: Processing buffer {"connection_id":134370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:47:02] local.INFO: IMEI packet received {"connection_id":134370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":134370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:47:07] local.INFO: TCP Data received {"connection_id":134370,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:47:07] local.INFO: Processing buffer {"connection_id":134370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:47:07] local.INFO: IMEI packet received {"connection_id":134370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":134370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:47:08] local.INFO: TCP Data received {"connection_id":134370,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f62b23128012d7f92c005afd8300000005027..."} 
[2026-07-15 03:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62b23128012d7f92c005afd8300000005027..."} 
[2026-07-15 03:47:08] local.INFO: Processing buffer {"connection_id":134370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62b23128012d7f92c005afd8300000005027..."} 
[2026-07-15 03:47:08] local.INFO: Packet analysis {"connection_id":134370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62b2"} 
[2026-07-15 03:47:08] local.INFO: Extracted packet for processing {"connection_id":134370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62b2"} 
[2026-07-15 03:47:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03: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-07-15 03:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721144832001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784067273000,"timestamp_ms":1784067273000,"timestamp_seconds":1784067273,"priority":1,"record_length":96,"hex_timestamp":"0000019f62b23128"} 
[2026-07-15 03:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 03:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03: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-07-15 03:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721144832001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721144832001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:47:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:47:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721144832001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":134370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:47:08] local.INFO: GPS data processed {"connection_id":134370,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:47:08] local.INFO: Acknowledgment sent {"connection_id":134370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:47:39] local.INFO: TCP Data received {"connection_id":134370,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f62b23128012d7f92c005afd8300000005027..."} 
[2026-07-15 03:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62b23128012d7f92c005afd8300000005027..."} 
[2026-07-15 03:47:39] local.INFO: Processing buffer {"connection_id":134370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62b23128012d7f92c005afd8300000005027..."} 
[2026-07-15 03:47:39] local.INFO: Packet analysis {"connection_id":134370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62b2"} 
[2026-07-15 03:47:39] local.INFO: Extracted packet for processing {"connection_id":134370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62b2"} 
[2026-07-15 03:47:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721144832001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:47:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:47:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784067273000,"timestamp_ms":1784067273000,"timestamp_seconds":1784067273,"priority":1,"record_length":96,"hex_timestamp":"0000019f62b23128"} 
[2026-07-15 03:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:47:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 03:47:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:47:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:47:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721144832001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721144832001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:47:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:47:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:47:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721144832001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":134370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:47:39] local.INFO: GPS data processed {"connection_id":134370,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:47:39] local.INFO: Acknowledgment sent {"connection_id":134370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:48:02] local.INFO: TCP Data received {"connection_id":133009,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:48:02] local.INFO: Processing buffer {"connection_id":133009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:48:02] local.INFO: IMEI packet received {"connection_id":133009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":133009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:48:07] local.INFO: TCP Data received {"connection_id":133009,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:48:07] local.INFO: Processing buffer {"connection_id":133009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:48:07] local.INFO: IMEI packet received {"connection_id":133009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":133009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:48:08] local.INFO: TCP Data received {"connection_id":133009,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f62b23128012d7f92c005afd8300000005027..."} 
[2026-07-15 03:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62b23128012d7f92c005afd8300000005027..."} 
[2026-07-15 03:48:08] local.INFO: Processing buffer {"connection_id":133009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62b23128012d7f92c005afd8300000005027..."} 
[2026-07-15 03:48:08] local.INFO: Packet analysis {"connection_id":133009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62b2"} 
[2026-07-15 03:48:08] local.INFO: Extracted packet for processing {"connection_id":133009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62b2"} 
[2026-07-15 03:48:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721144832001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784067273000,"timestamp_ms":1784067273000,"timestamp_seconds":1784067273,"priority":1,"record_length":96,"hex_timestamp":"0000019f62b23128"} 
[2026-07-15 03:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 03:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":133009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":133009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":133009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721144832001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721144832001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:48:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:48:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721144832001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":133009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:48:08] local.INFO: GPS data processed {"connection_id":133009,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:48:08] local.INFO: Acknowledgment sent {"connection_id":133009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:48:42] local.INFO: TCP Data received {"connection_id":133009,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f62b23128012d7f92c005afd8300000005027..."} 
[2026-07-15 03:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62b23128012d7f92c005afd8300000005027..."} 
[2026-07-15 03:48:42] local.INFO: Processing buffer {"connection_id":133009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62b23128012d7f92c005afd8300000005027..."} 
[2026-07-15 03:48:42] local.INFO: Packet analysis {"connection_id":133009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62b2"} 
[2026-07-15 03:48:42] local.INFO: Extracted packet for processing {"connection_id":133009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62b2"} 
[2026-07-15 03:48:42] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03: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-07-15 03:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721144832001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784067273000,"timestamp_ms":1784067273000,"timestamp_seconds":1784067273,"priority":1,"record_length":96,"hex_timestamp":"0000019f62b23128"} 
[2026-07-15 03:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 03:48:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03: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-07-15 03:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":133009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":133009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":133009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721144832001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721144832001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:48:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:48:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721144832001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":133009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:48:42] local.INFO: GPS data processed {"connection_id":133009,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:48:42] local.INFO: Acknowledgment sent {"connection_id":133009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:49:07] local.INFO: TCP Data received {"connection_id":131998,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:49:07] local.INFO: Processing buffer {"connection_id":131998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:49:07] local.INFO: IMEI packet received {"connection_id":131998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":131998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:49:12] local.INFO: TCP Data received {"connection_id":131998,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:49:12] local.INFO: Processing buffer {"connection_id":131998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:49:12] local.INFO: IMEI packet received {"connection_id":131998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":131998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:49:13] local.INFO: TCP Data received {"connection_id":131998,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f62b23128012d7f92c005afd8300000005027..."} 
[2026-07-15 03:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62b23128012d7f92c005afd8300000005027..."} 
[2026-07-15 03:49:13] local.INFO: Processing buffer {"connection_id":131998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62b23128012d7f92c005afd8300000005027..."} 
[2026-07-15 03:49:13] local.INFO: Packet analysis {"connection_id":131998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62b2"} 
[2026-07-15 03:49:13] local.INFO: Extracted packet for processing {"connection_id":131998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62b2"} 
[2026-07-15 03:49:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721144832001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784067273000,"timestamp_ms":1784067273000,"timestamp_seconds":1784067273,"priority":1,"record_length":96,"hex_timestamp":"0000019f62b23128"} 
[2026-07-15 03:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:49:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 03:49:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:49:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":131998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":131998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":131998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:49:13] 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-07-15 03:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721144832001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721144832001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:49:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:49:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721144832001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":131998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:49:13] local.INFO: GPS data processed {"connection_id":131998,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:49:13] local.INFO: Acknowledgment sent {"connection_id":131998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:49:17] local.INFO: TCP Data received {"connection_id":131998,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f62b23128012d7f92c005afd8300000005027..."} 
[2026-07-15 03:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62b23128012d7f92c005afd8300000005027..."} 
[2026-07-15 03:49:18] local.INFO: Processing buffer {"connection_id":131998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62b23128012d7f92c005afd8300000005027..."} 
[2026-07-15 03:49:18] local.INFO: Packet analysis {"connection_id":131998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62b2"} 
[2026-07-15 03:49:18] local.INFO: Extracted packet for processing {"connection_id":131998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62b2"} 
[2026-07-15 03:49:18] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03: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-07-15 03:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721144832001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784067273000,"timestamp_ms":1784067273000,"timestamp_seconds":1784067273,"priority":1,"record_length":96,"hex_timestamp":"0000019f62b23128"} 
[2026-07-15 03:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 03:49:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03: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-07-15 03:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":131998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":131998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":131998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721144832001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721144832001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:49:18] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:49:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721144832001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":131998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:49:18] local.INFO: GPS data processed {"connection_id":131998,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:49:18] local.INFO: Acknowledgment sent {"connection_id":131998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:50:02] local.INFO: TCP Data received {"connection_id":133011,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:50:02] local.INFO: Processing buffer {"connection_id":133011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:50:02] local.INFO: IMEI packet received {"connection_id":133011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":133011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:50:07] local.INFO: TCP Data received {"connection_id":133011,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:50:07] local.INFO: Processing buffer {"connection_id":133011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:50:07] local.INFO: IMEI packet received {"connection_id":133011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":133011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:50:08] local.INFO: TCP Data received {"connection_id":133011,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f62b23128012d7f92c005afd8300000005027..."} 
[2026-07-15 03:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62b23128012d7f92c005afd8300000005027..."} 
[2026-07-15 03:50:08] local.INFO: Processing buffer {"connection_id":133011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62b23128012d7f92c005afd8300000005027..."} 
[2026-07-15 03:50:08] local.INFO: Packet analysis {"connection_id":133011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62b2"} 
[2026-07-15 03:50:08] local.INFO: Extracted packet for processing {"connection_id":133011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62b2"} 
[2026-07-15 03:50:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721144832001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784067273000,"timestamp_ms":1784067273000,"timestamp_seconds":1784067273,"priority":1,"record_length":96,"hex_timestamp":"0000019f62b23128"} 
[2026-07-15 03:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 03:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":133011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":133011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":133011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721144832001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721144832001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:50:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:50:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721144832001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":133011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:50:08] local.INFO: GPS data processed {"connection_id":133011,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:50:08] local.INFO: Acknowledgment sent {"connection_id":133011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:50:39] local.INFO: TCP Data received {"connection_id":133011,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f62b6c8f0012d7f92c005afd8300000005026..."} 
[2026-07-15 03:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62b6c8f0012d7f92c005afd8300000005026..."} 
[2026-07-15 03:50:39] local.INFO: Processing buffer {"connection_id":133011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62b6c8f0012d7f92c005afd8300000005026..."} 
[2026-07-15 03:50:39] local.INFO: Packet analysis {"connection_id":133011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62b6"} 
[2026-07-15 03:50:39] local.INFO: Extracted packet for processing {"connection_id":133011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62b6"} 
[2026-07-15 03:50:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03: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-07-15 03:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721221888001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784067574000,"timestamp_ms":1784067574000,"timestamp_seconds":1784067574,"priority":1,"record_length":96,"hex_timestamp":"0000019f62b6c8f0"} 
[2026-07-15 03:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 03:50:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03: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-07-15 03:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721221888001,"66":25560,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721221888001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:50:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:50:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721221888001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":133011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:50:39] local.INFO: GPS data processed {"connection_id":133011,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:50:39] local.INFO: Acknowledgment sent {"connection_id":133011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:51:05] local.INFO: TCP Data received {"connection_id":132168,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:51:05] local.INFO: Processing buffer {"connection_id":132168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:51:05] local.INFO: IMEI packet received {"connection_id":132168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":132168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:51:09] local.INFO: TCP Data received {"connection_id":132168,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:51:09] local.INFO: Processing buffer {"connection_id":132168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:51:09] local.INFO: IMEI packet received {"connection_id":132168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":132168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:51:09] local.INFO: TCP Data received {"connection_id":132168,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f62b6c8f0012d7f92c005afd8300000005026..."} 
[2026-07-15 03:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62b6c8f0012d7f92c005afd8300000005026..."} 
[2026-07-15 03:51:09] local.INFO: Processing buffer {"connection_id":132168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62b6c8f0012d7f92c005afd8300000005026..."} 
[2026-07-15 03:51:09] local.INFO: Packet analysis {"connection_id":132168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62b6"} 
[2026-07-15 03:51:09] local.INFO: Extracted packet for processing {"connection_id":132168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62b6"} 
[2026-07-15 03:51:09] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:51: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-07-15 03:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721221888001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784067574000,"timestamp_ms":1784067574000,"timestamp_seconds":1784067574,"priority":1,"record_length":96,"hex_timestamp":"0000019f62b6c8f0"} 
[2026-07-15 03:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:51: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 03:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:51: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-07-15 03:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":132168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":132168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":132168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721221888001,"66":25560,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721221888001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:51:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:51:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721221888001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":132168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:51:09] local.INFO: GPS data processed {"connection_id":132168,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:51:09] local.INFO: Acknowledgment sent {"connection_id":132168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:51:11] local.INFO: TCP Data received {"connection_id":131999,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131999,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:51:11] local.INFO: Processing buffer {"connection_id":131999,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:51:11] local.INFO: IMEI packet received {"connection_id":131999,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 03:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":131999,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:51:12] local.INFO: TCP Data received {"connection_id":132168,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f62b6c8f0012d7f92c005afd8300000005026..."} 
[2026-07-15 03:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62b6c8f0012d7f92c005afd8300000005026..."} 
[2026-07-15 03:51:12] local.INFO: Processing buffer {"connection_id":132168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62b6c8f0012d7f92c005afd8300000005026..."} 
[2026-07-15 03:51:12] local.INFO: Packet analysis {"connection_id":132168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62b6"} 
[2026-07-15 03:51:12] local.INFO: Extracted packet for processing {"connection_id":132168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62b6"} 
[2026-07-15 03:51:12] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03: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-07-15 03:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721221888001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784067574000,"timestamp_ms":1784067574000,"timestamp_seconds":1784067574,"priority":1,"record_length":96,"hex_timestamp":"0000019f62b6c8f0"} 
[2026-07-15 03:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 03:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03: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-07-15 03:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721221888001,"66":25560,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721221888001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:51:12] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:51:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721221888001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":132168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:51:12] local.INFO: GPS data processed {"connection_id":132168,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:51:12] local.INFO: Acknowledgment sent {"connection_id":132168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:51:37] local.INFO: TCP Data received {"connection_id":133012,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133012,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:51:37] local.INFO: Processing buffer {"connection_id":133012,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:51:37] local.INFO: IMEI packet received {"connection_id":133012,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 03:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":133012,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:51:44] local.INFO: TCP Data received {"connection_id":132168,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f62b6c8f0012d7f92c005afd8300000005026..."} 
[2026-07-15 03:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62b6c8f0012d7f92c005afd8300000005026..."} 
[2026-07-15 03:51:44] local.INFO: Processing buffer {"connection_id":132168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62b6c8f0012d7f92c005afd8300000005026..."} 
[2026-07-15 03:51:44] local.INFO: Packet analysis {"connection_id":132168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62b6"} 
[2026-07-15 03:51:44] local.INFO: Extracted packet for processing {"connection_id":132168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62b6"} 
[2026-07-15 03:51:44] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03: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-07-15 03:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721221888001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:51:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:51:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784067574000,"timestamp_ms":1784067574000,"timestamp_seconds":1784067574,"priority":1,"record_length":96,"hex_timestamp":"0000019f62b6c8f0"} 
[2026-07-15 03:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:51:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 03:51:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03: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-07-15 03:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":132168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":132168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":132168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721221888001,"66":25560,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721221888001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:51:44] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:51:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:51:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721221888001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":132168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:51:44] local.INFO: GPS data processed {"connection_id":132168,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:51:44] local.INFO: Acknowledgment sent {"connection_id":132168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:52:02] local.INFO: TCP Data received {"connection_id":134371,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:52:02] local.INFO: Processing buffer {"connection_id":134371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:52:02] local.INFO: IMEI packet received {"connection_id":134371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":134371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:52:07] local.INFO: TCP Data received {"connection_id":134371,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:52:07] local.INFO: Processing buffer {"connection_id":134371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:52:07] local.INFO: IMEI packet received {"connection_id":134371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":134371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:52:08] local.INFO: TCP Data received {"connection_id":134371,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f62b6c8f0012d7f92c005afd8300000005026..."} 
[2026-07-15 03:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62b6c8f0012d7f92c005afd8300000005026..."} 
[2026-07-15 03:52:08] local.INFO: Processing buffer {"connection_id":134371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62b6c8f0012d7f92c005afd8300000005026..."} 
[2026-07-15 03:52:08] local.INFO: Packet analysis {"connection_id":134371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62b6"} 
[2026-07-15 03:52:08] local.INFO: Extracted packet for processing {"connection_id":134371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62b6"} 
[2026-07-15 03:52:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721221888001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784067574000,"timestamp_ms":1784067574000,"timestamp_seconds":1784067574,"priority":1,"record_length":96,"hex_timestamp":"0000019f62b6c8f0"} 
[2026-07-15 03:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 03:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:52:08] 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-07-15 03:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721221888001,"66":25560,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721221888001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:52:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:52:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721221888001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":134371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:52:08] local.INFO: GPS data processed {"connection_id":134371,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:52:08] local.INFO: Acknowledgment sent {"connection_id":134371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:52:39] local.INFO: TCP Data received {"connection_id":134371,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f62b6c8f0012d7f92c005afd8300000005026..."} 
[2026-07-15 03:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62b6c8f0012d7f92c005afd8300000005026..."} 
[2026-07-15 03:52:39] local.INFO: Processing buffer {"connection_id":134371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62b6c8f0012d7f92c005afd8300000005026..."} 
[2026-07-15 03:52:39] local.INFO: Packet analysis {"connection_id":134371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62b6"} 
[2026-07-15 03:52:39] local.INFO: Extracted packet for processing {"connection_id":134371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62b6"} 
[2026-07-15 03:52:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03: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-07-15 03:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721221888001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:52:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784067574000,"timestamp_ms":1784067574000,"timestamp_seconds":1784067574,"priority":1,"record_length":96,"hex_timestamp":"0000019f62b6c8f0"} 
[2026-07-15 03:52:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:52:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 03:52:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03: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-07-15 03:52:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:52: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-07-15 03:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721221888001,"66":25560,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721221888001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:52:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:52:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721221888001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":134371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:52:39] local.INFO: GPS data processed {"connection_id":134371,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:52:39] local.INFO: Acknowledgment sent {"connection_id":134371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:53:07] local.INFO: TCP Data received {"connection_id":132000,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:53:07] local.INFO: Processing buffer {"connection_id":132000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:53:07] local.INFO: IMEI packet received {"connection_id":132000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":132000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:53:12] local.INFO: TCP Data received {"connection_id":132000,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:53:12] local.INFO: Processing buffer {"connection_id":132000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:53:12] local.INFO: IMEI packet received {"connection_id":132000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":132000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:53:13] local.INFO: TCP Data received {"connection_id":132000,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f62b6c8f0012d7f92c005afd8300000005026..."} 
[2026-07-15 03:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62b6c8f0012d7f92c005afd8300000005026..."} 
[2026-07-15 03:53:13] local.INFO: Processing buffer {"connection_id":132000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62b6c8f0012d7f92c005afd8300000005026..."} 
[2026-07-15 03:53:13] local.INFO: Packet analysis {"connection_id":132000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62b6"} 
[2026-07-15 03:53:13] local.INFO: Extracted packet for processing {"connection_id":132000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62b6"} 
[2026-07-15 03:53:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03: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-07-15 03:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721221888001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784067574000,"timestamp_ms":1784067574000,"timestamp_seconds":1784067574,"priority":1,"record_length":96,"hex_timestamp":"0000019f62b6c8f0"} 
[2026-07-15 03:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:53:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 03:53:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03: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-07-15 03:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721221888001,"66":25560,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721221888001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:53:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:53:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721221888001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":132000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:53:13] local.INFO: GPS data processed {"connection_id":132000,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:53:13] local.INFO: Acknowledgment sent {"connection_id":132000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:53:17] local.INFO: TCP Data received {"connection_id":132000,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f62b6c8f0012d7f92c005afd8300000005026..."} 
[2026-07-15 03:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62b6c8f0012d7f92c005afd8300000005026..."} 
[2026-07-15 03:53:17] local.INFO: Processing buffer {"connection_id":132000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62b6c8f0012d7f92c005afd8300000005026..."} 
[2026-07-15 03:53:17] local.INFO: Packet analysis {"connection_id":132000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62b6"} 
[2026-07-15 03:53:17] local.INFO: Extracted packet for processing {"connection_id":132000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62b6"} 
[2026-07-15 03:53:17] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721221888001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784067574000,"timestamp_ms":1784067574000,"timestamp_seconds":1784067574,"priority":1,"record_length":96,"hex_timestamp":"0000019f62b6c8f0"} 
[2026-07-15 03:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 03:53:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:53:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:53:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721221888001,"66":25560,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721221888001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:53:17] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:53:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:53:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721221888001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":132000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:53:17] local.INFO: GPS data processed {"connection_id":132000,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:53:17] local.INFO: Acknowledgment sent {"connection_id":132000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:54:02] local.INFO: TCP Data received {"connection_id":132169,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:54:02] local.INFO: Processing buffer {"connection_id":132169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:54:02] local.INFO: IMEI packet received {"connection_id":132169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":132169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:54:07] local.INFO: TCP Data received {"connection_id":132169,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:54:07] local.INFO: Processing buffer {"connection_id":132169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:54:07] local.INFO: IMEI packet received {"connection_id":132169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":132169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:54:08] local.INFO: TCP Data received {"connection_id":132169,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f62b6c8f0012d7f92c005afd8300000005026..."} 
[2026-07-15 03:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62b6c8f0012d7f92c005afd8300000005026..."} 
[2026-07-15 03:54:08] local.INFO: Processing buffer {"connection_id":132169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62b6c8f0012d7f92c005afd8300000005026..."} 
[2026-07-15 03:54:08] local.INFO: Packet analysis {"connection_id":132169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62b6"} 
[2026-07-15 03:54:08] local.INFO: Extracted packet for processing {"connection_id":132169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62b6"} 
[2026-07-15 03:54:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03: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-07-15 03:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721221888001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784067574000,"timestamp_ms":1784067574000,"timestamp_seconds":1784067574,"priority":1,"record_length":96,"hex_timestamp":"0000019f62b6c8f0"} 
[2026-07-15 03:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 03:54:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:54:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721221888001,"66":25560,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721221888001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:54:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:54:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721221888001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":132169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:54:08] local.INFO: GPS data processed {"connection_id":132169,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:54:08] local.INFO: Acknowledgment sent {"connection_id":132169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:54:39] local.INFO: TCP Data received {"connection_id":132169,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f62b6c8f0012d7f92c005afd8300000005026..."} 
[2026-07-15 03:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62b6c8f0012d7f92c005afd8300000005026..."} 
[2026-07-15 03:54:39] local.INFO: Processing buffer {"connection_id":132169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62b6c8f0012d7f92c005afd8300000005026..."} 
[2026-07-15 03:54:39] local.INFO: Packet analysis {"connection_id":132169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62b6"} 
[2026-07-15 03:54:39] local.INFO: Extracted packet for processing {"connection_id":132169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62b6"} 
[2026-07-15 03:54:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03: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-07-15 03:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721221888001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784067574000,"timestamp_ms":1784067574000,"timestamp_seconds":1784067574,"priority":1,"record_length":96,"hex_timestamp":"0000019f62b6c8f0"} 
[2026-07-15 03:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:54:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 03:54:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03: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-07-15 03:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:54: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-07-15 03:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721221888001,"66":25560,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721221888001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:54:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:54:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721221888001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":132169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:54:39] local.INFO: GPS data processed {"connection_id":132169,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:54:39] local.INFO: Acknowledgment sent {"connection_id":132169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:55:02] local.INFO: TCP Data received {"connection_id":134374,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:55:02] local.INFO: Processing buffer {"connection_id":134374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:55:02] local.INFO: IMEI packet received {"connection_id":134374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":134374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:55:07] local.INFO: TCP Data received {"connection_id":134374,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:55:07] local.INFO: Processing buffer {"connection_id":134374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:55:07] local.INFO: IMEI packet received {"connection_id":134374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":134374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:55:08] local.INFO: TCP Data received {"connection_id":134374,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f62b6c8f0012d7f92c005afd8300000005026..."} 
[2026-07-15 03:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62b6c8f0012d7f92c005afd8300000005026..."} 
[2026-07-15 03:55:08] local.INFO: Processing buffer {"connection_id":134374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62b6c8f0012d7f92c005afd8300000005026..."} 
[2026-07-15 03:55:08] local.INFO: Packet analysis {"connection_id":134374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62b6"} 
[2026-07-15 03:55:08] local.INFO: Extracted packet for processing {"connection_id":134374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62b6"} 
[2026-07-15 03:55:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03: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-07-15 03:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721221888001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784067574000,"timestamp_ms":1784067574000,"timestamp_seconds":1784067574,"priority":1,"record_length":96,"hex_timestamp":"0000019f62b6c8f0"} 
[2026-07-15 03:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 03:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03: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-07-15 03:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721221888001,"66":25560,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721221888001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:55:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:55:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721221888001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":134374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:55:08] local.INFO: GPS data processed {"connection_id":134374,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:55:08] local.INFO: Acknowledgment sent {"connection_id":134374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:55:39] local.INFO: TCP Data received {"connection_id":134374,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f62bb60b8012d7f92c005afd8300000005029..."} 
[2026-07-15 03:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62bb60b8012d7f92c005afd8300000005029..."} 
[2026-07-15 03:55:39] local.INFO: Processing buffer {"connection_id":134374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62bb60b8012d7f92c005afd8300000005029..."} 
[2026-07-15 03:55:39] local.INFO: Packet analysis {"connection_id":134374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62bb"} 
[2026-07-15 03:55:39] local.INFO: Extracted packet for processing {"connection_id":134374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62bb"} 
[2026-07-15 03:55:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03: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-07-15 03:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721298944001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784067875000,"timestamp_ms":1784067875000,"timestamp_seconds":1784067875,"priority":1,"record_length":96,"hex_timestamp":"0000019f62bb60b8"} 
[2026-07-15 03:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 03:55:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03: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-07-15 03:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721298944001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721298944001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:55:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:55:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721298944001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":134374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:55:39] local.INFO: GPS data processed {"connection_id":134374,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:55:39] local.INFO: Acknowledgment sent {"connection_id":134374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:56:02] local.INFO: TCP Data received {"connection_id":132170,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:56:02] local.INFO: Processing buffer {"connection_id":132170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:56:02] local.INFO: IMEI packet received {"connection_id":132170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":132170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:56:07] local.INFO: TCP Data received {"connection_id":132170,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:56:07] local.INFO: Processing buffer {"connection_id":132170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:56:07] local.INFO: IMEI packet received {"connection_id":132170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":132170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:56:08] local.INFO: TCP Data received {"connection_id":132170,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f62bb60b8012d7f92c005afd8300000005029..."} 
[2026-07-15 03:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62bb60b8012d7f92c005afd8300000005029..."} 
[2026-07-15 03:56:08] local.INFO: Processing buffer {"connection_id":132170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62bb60b8012d7f92c005afd8300000005029..."} 
[2026-07-15 03:56:08] local.INFO: Packet analysis {"connection_id":132170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62bb"} 
[2026-07-15 03:56:08] local.INFO: Extracted packet for processing {"connection_id":132170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62bb"} 
[2026-07-15 03:56:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721298944001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784067875000,"timestamp_ms":1784067875000,"timestamp_seconds":1784067875,"priority":1,"record_length":96,"hex_timestamp":"0000019f62bb60b8"} 
[2026-07-15 03:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 03:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03: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-07-15 03:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:56:08] 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-07-15 03:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721298944001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721298944001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:56:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:56:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721298944001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":132170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:56:08] local.INFO: GPS data processed {"connection_id":132170,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:56:08] local.INFO: Acknowledgment sent {"connection_id":132170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:56:41] local.INFO: TCP Data received {"connection_id":132170,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f62bb60b8012d7f92c005afd8300000005029..."} 
[2026-07-15 03:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62bb60b8012d7f92c005afd8300000005029..."} 
[2026-07-15 03:56:41] local.INFO: Processing buffer {"connection_id":132170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62bb60b8012d7f92c005afd8300000005029..."} 
[2026-07-15 03:56:41] local.INFO: Packet analysis {"connection_id":132170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62bb"} 
[2026-07-15 03:56:41] local.INFO: Extracted packet for processing {"connection_id":132170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62bb"} 
[2026-07-15 03:56:41] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721298944001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784067875000,"timestamp_ms":1784067875000,"timestamp_seconds":1784067875,"priority":1,"record_length":96,"hex_timestamp":"0000019f62bb60b8"} 
[2026-07-15 03:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 03:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:56:41] 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-07-15 03:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721298944001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721298944001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:56:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:56:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721298944001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":132170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:56:41] local.INFO: GPS data processed {"connection_id":132170,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:56:41] local.INFO: Acknowledgment sent {"connection_id":132170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:57:02] local.INFO: TCP Data received {"connection_id":132002,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:57:02] local.INFO: Processing buffer {"connection_id":132002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:57:02] local.INFO: IMEI packet received {"connection_id":132002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":132002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:57:07] local.INFO: TCP Data received {"connection_id":132002,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:57:07] local.INFO: Processing buffer {"connection_id":132002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:57:07] local.INFO: IMEI packet received {"connection_id":132002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":132002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:57:08] local.INFO: TCP Data received {"connection_id":132002,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f62bb60b8012d7f92c005afd8300000005029..."} 
[2026-07-15 03:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62bb60b8012d7f92c005afd8300000005029..."} 
[2026-07-15 03:57:08] local.INFO: Processing buffer {"connection_id":132002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62bb60b8012d7f92c005afd8300000005029..."} 
[2026-07-15 03:57:08] local.INFO: Packet analysis {"connection_id":132002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62bb"} 
[2026-07-15 03:57:08] local.INFO: Extracted packet for processing {"connection_id":132002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62bb"} 
[2026-07-15 03:57:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03: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-07-15 03:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721298944001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:57:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784067875000,"timestamp_ms":1784067875000,"timestamp_seconds":1784067875,"priority":1,"record_length":96,"hex_timestamp":"0000019f62bb60b8"} 
[2026-07-15 03:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 03:57:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:57:08] 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-07-15 03:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721298944001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721298944001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:57:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:57:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721298944001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":132002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:57:08] local.INFO: GPS data processed {"connection_id":132002,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:57:08] local.INFO: Acknowledgment sent {"connection_id":132002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:57:35] local.INFO: TCP Data received {"connection_id":133015,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133015,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:57:35] local.INFO: Processing buffer {"connection_id":133015,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 03:57:35] local.INFO: IMEI packet received {"connection_id":133015,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 03:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":133015,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:57:40] local.INFO: TCP Data received {"connection_id":132002,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f62bb60b8012d7f92c005afd8300000005029..."} 
[2026-07-15 03:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62bb60b8012d7f92c005afd8300000005029..."} 
[2026-07-15 03:57:40] local.INFO: Processing buffer {"connection_id":132002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62bb60b8012d7f92c005afd8300000005029..."} 
[2026-07-15 03:57:40] local.INFO: Packet analysis {"connection_id":132002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62bb"} 
[2026-07-15 03:57:40] local.INFO: Extracted packet for processing {"connection_id":132002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62bb"} 
[2026-07-15 03:57:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721298944001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:57:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784067875000,"timestamp_ms":1784067875000,"timestamp_seconds":1784067875,"priority":1,"record_length":96,"hex_timestamp":"0000019f62bb60b8"} 
[2026-07-15 03:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 03:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:57:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:57:40] 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-07-15 03:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721298944001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721298944001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:57:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:57:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:57:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721298944001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":132002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:57:40] local.INFO: GPS data processed {"connection_id":132002,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:57:40] local.INFO: Acknowledgment sent {"connection_id":132002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:58:07] local.INFO: TCP Data received {"connection_id":133016,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:58:07] local.INFO: Processing buffer {"connection_id":133016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:58:07] local.INFO: IMEI packet received {"connection_id":133016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":133016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:58:12] local.INFO: TCP Data received {"connection_id":133016,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:58:12] local.INFO: Processing buffer {"connection_id":133016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:58:12] local.INFO: IMEI packet received {"connection_id":133016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":133016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:58:13] local.INFO: TCP Data received {"connection_id":133016,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f62bb60b8012d7f92c005afd8300000005029..."} 
[2026-07-15 03:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62bb60b8012d7f92c005afd8300000005029..."} 
[2026-07-15 03:58:13] local.INFO: Processing buffer {"connection_id":133016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62bb60b8012d7f92c005afd8300000005029..."} 
[2026-07-15 03:58:13] local.INFO: Packet analysis {"connection_id":133016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62bb"} 
[2026-07-15 03:58:13] local.INFO: Extracted packet for processing {"connection_id":133016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62bb"} 
[2026-07-15 03:58:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03: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-07-15 03:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721298944001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784067875000,"timestamp_ms":1784067875000,"timestamp_seconds":1784067875,"priority":1,"record_length":96,"hex_timestamp":"0000019f62bb60b8"} 
[2026-07-15 03:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:58:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 03:58:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:58:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":133016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":133016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":133016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:58:13] 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-07-15 03:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721298944001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721298944001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:58:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:58:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721298944001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":133016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:58:13] local.INFO: GPS data processed {"connection_id":133016,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:58:13] local.INFO: Acknowledgment sent {"connection_id":133016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:58:17] local.INFO: TCP Data received {"connection_id":133016,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f62bb60b8012d7f92c005afd8300000005029..."} 
[2026-07-15 03:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62bb60b8012d7f92c005afd8300000005029..."} 
[2026-07-15 03:58:17] local.INFO: Processing buffer {"connection_id":133016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62bb60b8012d7f92c005afd8300000005029..."} 
[2026-07-15 03:58:17] local.INFO: Packet analysis {"connection_id":133016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62bb"} 
[2026-07-15 03:58:17] local.INFO: Extracted packet for processing {"connection_id":133016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62bb"} 
[2026-07-15 03:58:17] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721298944001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784067875000,"timestamp_ms":1784067875000,"timestamp_seconds":1784067875,"priority":1,"record_length":96,"hex_timestamp":"0000019f62bb60b8"} 
[2026-07-15 03:58:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:58:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 03:58:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:58:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:58:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":133016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":133016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":133016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721298944001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721298944001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:58:17] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:58:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721298944001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":133016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:58:17] local.INFO: GPS data processed {"connection_id":133016,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:58:17] local.INFO: Acknowledgment sent {"connection_id":133016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:59:02] local.INFO: TCP Data received {"connection_id":132171,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:59:02] local.INFO: Processing buffer {"connection_id":132171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:59:02] local.INFO: IMEI packet received {"connection_id":132171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 03:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":132171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 03:59:10] local.INFO: TCP Data received {"connection_id":132171,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:59:10] local.INFO: Processing buffer {"connection_id":132171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 03:59:10] local.INFO: IMEI packet received {"connection_id":132171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 03:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":132171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 03:59:11] local.INFO: TCP Data received {"connection_id":132171,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f62bb60b8012d7f92c005afd8300000005029..."} 
[2026-07-15 03:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62bb60b8012d7f92c005afd8300000005029..."} 
[2026-07-15 03:59:11] local.INFO: Processing buffer {"connection_id":132171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62bb60b8012d7f92c005afd8300000005029..."} 
[2026-07-15 03:59:11] local.INFO: Packet analysis {"connection_id":132171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62bb"} 
[2026-07-15 03:59:11] local.INFO: Extracted packet for processing {"connection_id":132171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62bb"} 
[2026-07-15 03:59:11] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721298944001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784067875000,"timestamp_ms":1784067875000,"timestamp_seconds":1784067875,"priority":1,"record_length":96,"hex_timestamp":"0000019f62bb60b8"} 
[2026-07-15 03:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 03:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:59: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-07-15 03:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 03:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721298944001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721298944001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:59:11] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:59:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721298944001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":132171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:59:11] local.INFO: GPS data processed {"connection_id":132171,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:59:11] local.INFO: Acknowledgment sent {"connection_id":132171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:59:12] local.INFO: TCP Data received {"connection_id":132171,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f62bb60b8012d7f92c005afd8300000005029..."} 
[2026-07-15 03:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62bb60b8012d7f92c005afd8300000005029..."} 
[2026-07-15 03:59:12] local.INFO: Processing buffer {"connection_id":132171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62bb60b8012d7f92c005afd8300000005029..."} 
[2026-07-15 03:59:12] local.INFO: Packet analysis {"connection_id":132171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62bb"} 
[2026-07-15 03:59:12] local.INFO: Extracted packet for processing {"connection_id":132171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62bb"} 
[2026-07-15 03:59:12] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721298944001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784067875000,"timestamp_ms":1784067875000,"timestamp_seconds":1784067875,"priority":1,"record_length":96,"hex_timestamp":"0000019f62bb60b8"} 
[2026-07-15 03:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:59:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 03:59:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:59:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:59:12] 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-07-15 03:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721298944001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721298944001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:59:12] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:59:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721298944001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":132171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:59:12] local.INFO: GPS data processed {"connection_id":132171,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:59:12] local.INFO: Acknowledgment sent {"connection_id":132171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 03:59:43] local.INFO: TCP Data received {"connection_id":132171,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f62bb60b8012d7f92c005afd8300000005029..."} 
[2026-07-15 03:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62bb60b8012d7f92c005afd8300000005029..."} 
[2026-07-15 03:59:43] local.INFO: Processing buffer {"connection_id":132171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62bb60b8012d7f92c005afd8300000005029..."} 
[2026-07-15 03:59:43] local.INFO: Packet analysis {"connection_id":132171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62bb"} 
[2026-07-15 03:59:43] local.INFO: Extracted packet for processing {"connection_id":132171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62bb"} 
[2026-07-15 03:59:43] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 03:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 03:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721298944001,"note":"Value kept but may cause issues"} 
[2026-07-15 03:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 03:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 03:59:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 03:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784067875000,"timestamp_ms":1784067875000,"timestamp_seconds":1784067875,"priority":1,"record_length":96,"hex_timestamp":"0000019f62bb60b8"} 
[2026-07-15 03:59:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 03:59:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 03:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 03:59:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 03:59:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 03:59:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 03:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 03:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":132171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 03:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":132171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":132171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 03:59:43] 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-07-15 03:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 03:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 03:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721298944001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 03:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 03:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 03:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721298944001,"description":"Unknown IO ID 0"} 
[2026-07-15 03:59:43] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 03:59:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 03:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 03:59:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 03:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721298944001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 03:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":132171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 03:59:43] local.INFO: GPS data processed {"connection_id":132171,"processed":1,"errors":0,"total":1} 
[2026-07-15 03:59:43] local.INFO: Acknowledgment sent {"connection_id":132171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:00:07] local.INFO: TCP Data received {"connection_id":134375,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:00:07] local.INFO: Processing buffer {"connection_id":134375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:00:07] local.INFO: IMEI packet received {"connection_id":134375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":134375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:00:12] local.INFO: TCP Data received {"connection_id":134375,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:00:12] local.INFO: Processing buffer {"connection_id":134375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:00:12] local.INFO: IMEI packet received {"connection_id":134375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":134375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:00:13] local.INFO: TCP Data received {"connection_id":134375,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f62bb60b8012d7f92c005afd8300000005029..."} 
[2026-07-15 04:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62bb60b8012d7f92c005afd8300000005029..."} 
[2026-07-15 04:00:13] local.INFO: Processing buffer {"connection_id":134375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62bb60b8012d7f92c005afd8300000005029..."} 
[2026-07-15 04:00:13] local.INFO: Packet analysis {"connection_id":134375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62bb"} 
[2026-07-15 04:00:13] local.INFO: Extracted packet for processing {"connection_id":134375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62bb"} 
[2026-07-15 04:00:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721298944001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784067875000,"timestamp_ms":1784067875000,"timestamp_seconds":1784067875,"priority":1,"record_length":96,"hex_timestamp":"0000019f62bb60b8"} 
[2026-07-15 04:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:00:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 04:00:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:00:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":134375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":134375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":134375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721298944001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721298944001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:00:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:00:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721298944001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":134375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:00:13] local.INFO: GPS data processed {"connection_id":134375,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:00:13] local.INFO: Acknowledgment sent {"connection_id":134375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:00:14] local.INFO: TCP Data received {"connection_id":134375,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f62bff880012d7f92c005afd8300000005027..."} 
[2026-07-15 04:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62bff880012d7f92c005afd8300000005027..."} 
[2026-07-15 04:00:14] local.INFO: Processing buffer {"connection_id":134375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62bff880012d7f92c005afd8300000005027..."} 
[2026-07-15 04:00:14] local.INFO: Packet analysis {"connection_id":134375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62bf"} 
[2026-07-15 04:00:14] local.INFO: Extracted packet for processing {"connection_id":134375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62bf"} 
[2026-07-15 04:00:14] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721376000001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:00:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784068176000,"timestamp_ms":1784068176000,"timestamp_seconds":1784068176,"priority":1,"record_length":96,"hex_timestamp":"0000019f62bff880"} 
[2026-07-15 04:00:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:00:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 04:00:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:00:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:00:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":134375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":134375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":134375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:00:14] 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-07-15 04:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721376000001,"66":25473,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721376000001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:00:14] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:00:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721376000001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":134375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:00:14] local.INFO: GPS data processed {"connection_id":134375,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:00:14] local.INFO: Acknowledgment sent {"connection_id":134375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:00:45] local.INFO: TCP Data received {"connection_id":134375,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f62bff880012d7f92c005afd8300000005027..."} 
[2026-07-15 04:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62bff880012d7f92c005afd8300000005027..."} 
[2026-07-15 04:00:45] local.INFO: Processing buffer {"connection_id":134375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62bff880012d7f92c005afd8300000005027..."} 
[2026-07-15 04:00:45] local.INFO: Packet analysis {"connection_id":134375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62bf"} 
[2026-07-15 04:00:45] local.INFO: Extracted packet for processing {"connection_id":134375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62bf"} 
[2026-07-15 04:00:45] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721376000001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:00:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784068176000,"timestamp_ms":1784068176000,"timestamp_seconds":1784068176,"priority":1,"record_length":96,"hex_timestamp":"0000019f62bff880"} 
[2026-07-15 04:00:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:00:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 04:00:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:00:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:00:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":134375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":134375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":134375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:00:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721376000001,"66":25473,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721376000001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:00:45] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:00:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721376000001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":134375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:00:45] local.INFO: GPS data processed {"connection_id":134375,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:00:45] local.INFO: Acknowledgment sent {"connection_id":134375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:01:02] local.INFO: TCP Data received {"connection_id":132004,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:01:02] local.INFO: Processing buffer {"connection_id":132004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:01:02] local.INFO: IMEI packet received {"connection_id":132004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":132004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:01:09] local.INFO: TCP Data received {"connection_id":132004,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:01:09] local.INFO: Processing buffer {"connection_id":132004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:01:09] local.INFO: IMEI packet received {"connection_id":132004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":132004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:01:09] local.INFO: TCP Data received {"connection_id":132004,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f62bff880012d7f92c005afd8300000005027..."} 
[2026-07-15 04:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62bff880012d7f92c005afd8300000005027..."} 
[2026-07-15 04:01:09] local.INFO: Processing buffer {"connection_id":132004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62bff880012d7f92c005afd8300000005027..."} 
[2026-07-15 04:01:09] local.INFO: Packet analysis {"connection_id":132004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62bf"} 
[2026-07-15 04:01:09] local.INFO: Extracted packet for processing {"connection_id":132004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62bf"} 
[2026-07-15 04:01:09] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721376000001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784068176000,"timestamp_ms":1784068176000,"timestamp_seconds":1784068176,"priority":1,"record_length":96,"hex_timestamp":"0000019f62bff880"} 
[2026-07-15 04:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 04:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":132004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":132004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":132004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:01:09] 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-07-15 04:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721376000001,"66":25473,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721376000001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:01:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:01:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721376000001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":132004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:01:09] local.INFO: GPS data processed {"connection_id":132004,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:01:09] local.INFO: Acknowledgment sent {"connection_id":132004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:01:12] local.INFO: TCP Data received {"connection_id":132004,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f62bff880012d7f92c005afd8300000005027..."} 
[2026-07-15 04:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62bff880012d7f92c005afd8300000005027..."} 
[2026-07-15 04:01:12] local.INFO: Processing buffer {"connection_id":132004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62bff880012d7f92c005afd8300000005027..."} 
[2026-07-15 04:01:12] local.INFO: Packet analysis {"connection_id":132004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62bf"} 
[2026-07-15 04:01:12] local.INFO: Extracted packet for processing {"connection_id":132004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62bf"} 
[2026-07-15 04:01:12] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04: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-07-15 04:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721376000001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:01:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784068176000,"timestamp_ms":1784068176000,"timestamp_seconds":1784068176,"priority":1,"record_length":96,"hex_timestamp":"0000019f62bff880"} 
[2026-07-15 04:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:01:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 04:01:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04: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-07-15 04:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:01:12] 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-07-15 04:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721376000001,"66":25473,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721376000001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:01:12] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:01:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:01:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721376000001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":132004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:01:12] local.INFO: GPS data processed {"connection_id":132004,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:01:12] local.INFO: Acknowledgment sent {"connection_id":132004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:01:44] local.INFO: TCP Data received {"connection_id":132004,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f62bff880012d7f92c005afd8300000005027..."} 
[2026-07-15 04:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62bff880012d7f92c005afd8300000005027..."} 
[2026-07-15 04:01:44] local.INFO: Processing buffer {"connection_id":132004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62bff880012d7f92c005afd8300000005027..."} 
[2026-07-15 04:01:44] local.INFO: Packet analysis {"connection_id":132004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62bf"} 
[2026-07-15 04:01:44] local.INFO: Extracted packet for processing {"connection_id":132004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62bf"} 
[2026-07-15 04:01:44] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721376000001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:01:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784068176000,"timestamp_ms":1784068176000,"timestamp_seconds":1784068176,"priority":1,"record_length":96,"hex_timestamp":"0000019f62bff880"} 
[2026-07-15 04:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:01:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 04:01:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:01:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":132004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":132004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":132004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:01:44] 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-07-15 04:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721376000001,"66":25473,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721376000001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:01:44] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:01:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721376000001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":132004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:01:44] local.INFO: GPS data processed {"connection_id":132004,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:01:44] local.INFO: Acknowledgment sent {"connection_id":132004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:02:02] local.INFO: TCP Data received {"connection_id":132173,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:02:02] local.INFO: Processing buffer {"connection_id":132173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:02:02] local.INFO: IMEI packet received {"connection_id":132173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":132173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:02:07] local.INFO: TCP Data received {"connection_id":132173,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:02:07] local.INFO: Processing buffer {"connection_id":132173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:02:07] local.INFO: IMEI packet received {"connection_id":132173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":132173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:02:08] local.INFO: TCP Data received {"connection_id":132173,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f62bff880012d7f92c005afd8300000005027..."} 
[2026-07-15 04:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62bff880012d7f92c005afd8300000005027..."} 
[2026-07-15 04:02:08] local.INFO: Processing buffer {"connection_id":132173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62bff880012d7f92c005afd8300000005027..."} 
[2026-07-15 04:02:08] local.INFO: Packet analysis {"connection_id":132173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62bf"} 
[2026-07-15 04:02:08] local.INFO: Extracted packet for processing {"connection_id":132173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62bf"} 
[2026-07-15 04:02:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04: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-07-15 04:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721376000001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:02:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784068176000,"timestamp_ms":1784068176000,"timestamp_seconds":1784068176,"priority":1,"record_length":96,"hex_timestamp":"0000019f62bff880"} 
[2026-07-15 04:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 04:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04: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-07-15 04:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721376000001,"66":25473,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721376000001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:02:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:02:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721376000001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":132173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:02:08] local.INFO: GPS data processed {"connection_id":132173,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:02:08] local.INFO: Acknowledgment sent {"connection_id":132173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:02:41] local.INFO: TCP Data received {"connection_id":132173,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f62bff880012d7f92c005afd8300000005027..."} 
[2026-07-15 04:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62bff880012d7f92c005afd8300000005027..."} 
[2026-07-15 04:02:41] local.INFO: Processing buffer {"connection_id":132173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62bff880012d7f92c005afd8300000005027..."} 
[2026-07-15 04:02:41] local.INFO: Packet analysis {"connection_id":132173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62bf"} 
[2026-07-15 04:02:41] local.INFO: Extracted packet for processing {"connection_id":132173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62bf"} 
[2026-07-15 04:02:41] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721376000001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784068176000,"timestamp_ms":1784068176000,"timestamp_seconds":1784068176,"priority":1,"record_length":96,"hex_timestamp":"0000019f62bff880"} 
[2026-07-15 04:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 04:02:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:02:41] 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-07-15 04:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721376000001,"66":25473,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721376000001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:02:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:02:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721376000001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":132173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:02:41] local.INFO: GPS data processed {"connection_id":132173,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:02:41] local.INFO: Acknowledgment sent {"connection_id":132173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:02:48] local.INFO: TCP Data received {"connection_id":134377,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 04:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134377,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 04:02:48] local.INFO: Processing buffer {"connection_id":134377,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 04:02:48] local.INFO: IMEI packet received {"connection_id":134377,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 04:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":134377,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:03:02] local.INFO: TCP Data received {"connection_id":133019,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:03:02] local.INFO: Processing buffer {"connection_id":133019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:03:02] local.INFO: IMEI packet received {"connection_id":133019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":133019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:03:07] local.INFO: TCP Data received {"connection_id":133019,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:03:07] local.INFO: Processing buffer {"connection_id":133019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:03:07] local.INFO: IMEI packet received {"connection_id":133019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":133019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:03:08] local.INFO: TCP Data received {"connection_id":133019,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f62bff880012d7f92c005afd8300000005027..."} 
[2026-07-15 04:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62bff880012d7f92c005afd8300000005027..."} 
[2026-07-15 04:03:08] local.INFO: Processing buffer {"connection_id":133019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62bff880012d7f92c005afd8300000005027..."} 
[2026-07-15 04:03:08] local.INFO: Packet analysis {"connection_id":133019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62bf"} 
[2026-07-15 04:03:08] local.INFO: Extracted packet for processing {"connection_id":133019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62bf"} 
[2026-07-15 04:03:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721376000001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784068176000,"timestamp_ms":1784068176000,"timestamp_seconds":1784068176,"priority":1,"record_length":96,"hex_timestamp":"0000019f62bff880"} 
[2026-07-15 04:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 04:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:03:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":133019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":133019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":133019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721376000001,"66":25473,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721376000001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:03:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:03:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721376000001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":133019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:03:08] local.INFO: GPS data processed {"connection_id":133019,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:03:08] local.INFO: Acknowledgment sent {"connection_id":133019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:03:42] local.INFO: TCP Data received {"connection_id":133019,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f62bff880012d7f92c005afd8300000005027..."} 
[2026-07-15 04:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62bff880012d7f92c005afd8300000005027..."} 
[2026-07-15 04:03:42] local.INFO: Processing buffer {"connection_id":133019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62bff880012d7f92c005afd8300000005027..."} 
[2026-07-15 04:03:42] local.INFO: Packet analysis {"connection_id":133019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62bf"} 
[2026-07-15 04:03:42] local.INFO: Extracted packet for processing {"connection_id":133019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62bf"} 
[2026-07-15 04:03:42] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721376000001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784068176000,"timestamp_ms":1784068176000,"timestamp_seconds":1784068176,"priority":1,"record_length":96,"hex_timestamp":"0000019f62bff880"} 
[2026-07-15 04:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 04:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":133019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":133019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":133019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721376000001,"66":25473,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721376000001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:03:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:03:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721376000001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":133019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:03:42] local.INFO: GPS data processed {"connection_id":133019,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:03:42] local.INFO: Acknowledgment sent {"connection_id":133019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:04:02] local.INFO: TCP Data received {"connection_id":134378,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:04:02] local.INFO: Processing buffer {"connection_id":134378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:04:02] local.INFO: IMEI packet received {"connection_id":134378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":134378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:04:07] local.INFO: TCP Data received {"connection_id":134378,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:04:07] local.INFO: Processing buffer {"connection_id":134378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:04:07] local.INFO: IMEI packet received {"connection_id":134378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":134378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:04:08] local.INFO: TCP Data received {"connection_id":134378,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f62bff880012d7f92c005afd8300000005027..."} 
[2026-07-15 04:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62bff880012d7f92c005afd8300000005027..."} 
[2026-07-15 04:04:08] local.INFO: Processing buffer {"connection_id":134378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62bff880012d7f92c005afd8300000005027..."} 
[2026-07-15 04:04:08] local.INFO: Packet analysis {"connection_id":134378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62bf"} 
[2026-07-15 04:04:08] local.INFO: Extracted packet for processing {"connection_id":134378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62bf"} 
[2026-07-15 04:04:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04: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-07-15 04:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721376000001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784068176000,"timestamp_ms":1784068176000,"timestamp_seconds":1784068176,"priority":1,"record_length":96,"hex_timestamp":"0000019f62bff880"} 
[2026-07-15 04:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 04:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04: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-07-15 04:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721376000001,"66":25473,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721376000001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:04:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:04:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721376000001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":134378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:04:08] local.INFO: GPS data processed {"connection_id":134378,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:04:08] local.INFO: Acknowledgment sent {"connection_id":134378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:04:40] local.INFO: TCP Data received {"connection_id":134378,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f62bff880012d7f92c005afd8300000005027..."} 
[2026-07-15 04:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62bff880012d7f92c005afd8300000005027..."} 
[2026-07-15 04:04:40] local.INFO: Processing buffer {"connection_id":134378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62bff880012d7f92c005afd8300000005027..."} 
[2026-07-15 04:04:40] local.INFO: Packet analysis {"connection_id":134378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62bf"} 
[2026-07-15 04:04:40] local.INFO: Extracted packet for processing {"connection_id":134378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62bf"} 
[2026-07-15 04:04:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04: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-07-15 04:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721376000001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784068176000,"timestamp_ms":1784068176000,"timestamp_seconds":1784068176,"priority":1,"record_length":96,"hex_timestamp":"0000019f62bff880"} 
[2026-07-15 04:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 04:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04: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-07-15 04:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":134378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":134378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":134378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:04:40] 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-07-15 04:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721376000001,"66":25473,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721376000001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:04:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:04:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721376000001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":134378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:04:40] local.INFO: GPS data processed {"connection_id":134378,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:04:40] local.INFO: Acknowledgment sent {"connection_id":134378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:05:07] local.INFO: TCP Data received {"connection_id":134379,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:05:07] local.INFO: Processing buffer {"connection_id":134379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:05:07] local.INFO: IMEI packet received {"connection_id":134379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":134379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:05:12] local.INFO: TCP Data received {"connection_id":134379,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:05:12] local.INFO: Processing buffer {"connection_id":134379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:05:12] local.INFO: IMEI packet received {"connection_id":134379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":134379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:05:13] local.INFO: TCP Data received {"connection_id":134379,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f62bff880012d7f92c005afd8300000005027..."} 
[2026-07-15 04:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62bff880012d7f92c005afd8300000005027..."} 
[2026-07-15 04:05:13] local.INFO: Processing buffer {"connection_id":134379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62bff880012d7f92c005afd8300000005027..."} 
[2026-07-15 04:05:13] local.INFO: Packet analysis {"connection_id":134379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62bf"} 
[2026-07-15 04:05:13] local.INFO: Extracted packet for processing {"connection_id":134379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62bf"} 
[2026-07-15 04:05:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721376000001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:05:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:05:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784068176000,"timestamp_ms":1784068176000,"timestamp_seconds":1784068176,"priority":1,"record_length":96,"hex_timestamp":"0000019f62bff880"} 
[2026-07-15 04:05:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:05:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 04:05:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:05:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:05:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":134379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":134379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":134379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:05:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721376000001,"66":25473,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721376000001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:05:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:05:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:05:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721376000001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":134379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:05:13] local.INFO: GPS data processed {"connection_id":134379,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:05:13] local.INFO: Acknowledgment sent {"connection_id":134379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:05:15] local.INFO: TCP Data received {"connection_id":134379,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f62c49048012d7f92c005afd8300000005028..."} 
[2026-07-15 04:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62c49048012d7f92c005afd8300000005028..."} 
[2026-07-15 04:05:15] local.INFO: Processing buffer {"connection_id":134379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62c49048012d7f92c005afd8300000005028..."} 
[2026-07-15 04:05:15] local.INFO: Packet analysis {"connection_id":134379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62c4"} 
[2026-07-15 04:05:15] local.INFO: Extracted packet for processing {"connection_id":134379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62c4"} 
[2026-07-15 04:05:15] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721453056001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784068477000,"timestamp_ms":1784068477000,"timestamp_seconds":1784068477,"priority":1,"record_length":96,"hex_timestamp":"0000019f62c49048"} 
[2026-07-15 04:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 04:05:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":134379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":134379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":134379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:05:15] 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-07-15 04:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721453056001,"66":25495,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721453056001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:05:15] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:05:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721453056001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":134379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:05:15] local.INFO: GPS data processed {"connection_id":134379,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:05:15] local.INFO: Acknowledgment sent {"connection_id":134379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:05:47] local.INFO: TCP Data received {"connection_id":134379,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f62c49048012d7f92c005afd8300000005028..."} 
[2026-07-15 04:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62c49048012d7f92c005afd8300000005028..."} 
[2026-07-15 04:05:47] local.INFO: Processing buffer {"connection_id":134379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62c49048012d7f92c005afd8300000005028..."} 
[2026-07-15 04:05:47] local.INFO: Packet analysis {"connection_id":134379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62c4"} 
[2026-07-15 04:05:47] local.INFO: Extracted packet for processing {"connection_id":134379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62c4"} 
[2026-07-15 04:05:47] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721453056001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:05:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784068477000,"timestamp_ms":1784068477000,"timestamp_seconds":1784068477,"priority":1,"record_length":96,"hex_timestamp":"0000019f62c49048"} 
[2026-07-15 04:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:05:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 04:05:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:05:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":134379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":134379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":134379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:05:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721453056001,"66":25495,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721453056001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:05:47] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:05:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721453056001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":134379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:05:47] local.INFO: GPS data processed {"connection_id":134379,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:05:47] local.INFO: Acknowledgment sent {"connection_id":134379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:06:02] local.INFO: TCP Data received {"connection_id":132175,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:06:02] local.INFO: Processing buffer {"connection_id":132175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:06:02] local.INFO: IMEI packet received {"connection_id":132175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":132175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:06:07] local.INFO: TCP Data received {"connection_id":132175,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:06:07] local.INFO: Processing buffer {"connection_id":132175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:06:07] local.INFO: IMEI packet received {"connection_id":132175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":132175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:06:08] local.INFO: TCP Data received {"connection_id":132175,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f62c49048012d7f92c005afd8300000005028..."} 
[2026-07-15 04:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62c49048012d7f92c005afd8300000005028..."} 
[2026-07-15 04:06:08] local.INFO: Processing buffer {"connection_id":132175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62c49048012d7f92c005afd8300000005028..."} 
[2026-07-15 04:06:08] local.INFO: Packet analysis {"connection_id":132175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62c4"} 
[2026-07-15 04:06:08] local.INFO: Extracted packet for processing {"connection_id":132175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62c4"} 
[2026-07-15 04:06:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721453056001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:06:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784068477000,"timestamp_ms":1784068477000,"timestamp_seconds":1784068477,"priority":1,"record_length":96,"hex_timestamp":"0000019f62c49048"} 
[2026-07-15 04:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:06:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 04:06:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:06:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:06:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721453056001,"66":25495,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721453056001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:06:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:06:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721453056001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":132175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:06:08] local.INFO: GPS data processed {"connection_id":132175,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:06:08] local.INFO: Acknowledgment sent {"connection_id":132175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:06:39] local.INFO: TCP Data received {"connection_id":132175,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f62c49048012d7f92c005afd8300000005028..."} 
[2026-07-15 04:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62c49048012d7f92c005afd8300000005028..."} 
[2026-07-15 04:06:39] local.INFO: Processing buffer {"connection_id":132175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62c49048012d7f92c005afd8300000005028..."} 
[2026-07-15 04:06:39] local.INFO: Packet analysis {"connection_id":132175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62c4"} 
[2026-07-15 04:06:39] local.INFO: Extracted packet for processing {"connection_id":132175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62c4"} 
[2026-07-15 04:06:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:06: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-07-15 04:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721453056001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:06:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784068477000,"timestamp_ms":1784068477000,"timestamp_seconds":1784068477,"priority":1,"record_length":96,"hex_timestamp":"0000019f62c49048"} 
[2026-07-15 04:06:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:06:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 04:06:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:06: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-07-15 04:06:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:06:39] 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-07-15 04:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721453056001,"66":25495,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721453056001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:06:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:06:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721453056001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":132175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:06:39] local.INFO: GPS data processed {"connection_id":132175,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:06:39] local.INFO: Acknowledgment sent {"connection_id":132175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:07:04] local.INFO: TCP Data received {"connection_id":133021,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:07:04] local.INFO: Processing buffer {"connection_id":133021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:07:04] local.INFO: IMEI packet received {"connection_id":133021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":133021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:07:07] local.INFO: TCP Data received {"connection_id":133021,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:07:07] local.INFO: Processing buffer {"connection_id":133021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:07:07] local.INFO: IMEI packet received {"connection_id":133021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":133021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:07:09] local.INFO: TCP Data received {"connection_id":133021,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f62c49048012d7f92c005afd8300000005028..."} 
[2026-07-15 04:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62c49048012d7f92c005afd8300000005028..."} 
[2026-07-15 04:07:09] local.INFO: Processing buffer {"connection_id":133021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62c49048012d7f92c005afd8300000005028..."} 
[2026-07-15 04:07:09] local.INFO: Packet analysis {"connection_id":133021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62c4"} 
[2026-07-15 04:07:09] local.INFO: Extracted packet for processing {"connection_id":133021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62c4"} 
[2026-07-15 04:07:09] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721453056001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784068477000,"timestamp_ms":1784068477000,"timestamp_seconds":1784068477,"priority":1,"record_length":96,"hex_timestamp":"0000019f62c49048"} 
[2026-07-15 04:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 04:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":133021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":133021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":133021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721453056001,"66":25495,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721453056001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:07:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:07:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721453056001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":133021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:07:09] local.INFO: GPS data processed {"connection_id":133021,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:07:09] local.INFO: Acknowledgment sent {"connection_id":133021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:07:40] local.INFO: TCP Data received {"connection_id":133021,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f62c49048012d7f92c005afd8300000005028..."} 
[2026-07-15 04:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62c49048012d7f92c005afd8300000005028..."} 
[2026-07-15 04:07:40] local.INFO: Processing buffer {"connection_id":133021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62c49048012d7f92c005afd8300000005028..."} 
[2026-07-15 04:07:40] local.INFO: Packet analysis {"connection_id":133021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62c4"} 
[2026-07-15 04:07:40] local.INFO: Extracted packet for processing {"connection_id":133021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62c4"} 
[2026-07-15 04:07:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721453056001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784068477000,"timestamp_ms":1784068477000,"timestamp_seconds":1784068477,"priority":1,"record_length":96,"hex_timestamp":"0000019f62c49048"} 
[2026-07-15 04:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 04:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04: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-07-15 04:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":133021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":133021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":133021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:07:40] 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-07-15 04:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721453056001,"66":25495,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721453056001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:07:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:07:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721453056001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":133021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:07:40] local.INFO: GPS data processed {"connection_id":133021,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:07:40] local.INFO: Acknowledgment sent {"connection_id":133021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:08:02] local.INFO: TCP Data received {"connection_id":134380,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:08:02] local.INFO: Processing buffer {"connection_id":134380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:08:02] local.INFO: IMEI packet received {"connection_id":134380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":134380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:08:07] local.INFO: TCP Data received {"connection_id":134380,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:08:07] local.INFO: Processing buffer {"connection_id":134380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:08:07] local.INFO: IMEI packet received {"connection_id":134380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":134380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:08:08] local.INFO: TCP Data received {"connection_id":134380,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f62c49048012d7f92c005afd8300000005028..."} 
[2026-07-15 04:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62c49048012d7f92c005afd8300000005028..."} 
[2026-07-15 04:08:08] local.INFO: Processing buffer {"connection_id":134380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62c49048012d7f92c005afd8300000005028..."} 
[2026-07-15 04:08:08] local.INFO: Packet analysis {"connection_id":134380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62c4"} 
[2026-07-15 04:08:08] local.INFO: Extracted packet for processing {"connection_id":134380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62c4"} 
[2026-07-15 04:08:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04: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-07-15 04:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721453056001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784068477000,"timestamp_ms":1784068477000,"timestamp_seconds":1784068477,"priority":1,"record_length":96,"hex_timestamp":"0000019f62c49048"} 
[2026-07-15 04:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 04:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721453056001,"66":25495,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721453056001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:08:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:08:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721453056001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":134380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:08:08] local.INFO: GPS data processed {"connection_id":134380,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:08:08] local.INFO: Acknowledgment sent {"connection_id":134380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:08:14] local.INFO: TCP Data received {"connection_id":133022,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 04:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133022,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 04:08:14] local.INFO: Processing buffer {"connection_id":133022,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 04:08:14] local.INFO: IMEI packet received {"connection_id":133022,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 04:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":133022,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:08:35] local.INFO: TCP Data received {"connection_id":133023,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 04:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133023,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 04:08:35] local.INFO: Processing buffer {"connection_id":133023,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 04:08:35] local.INFO: IMEI packet received {"connection_id":133023,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 04:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":133023,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:08:42] local.INFO: TCP Data received {"connection_id":134380,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f62c49048012d7f92c005afd8300000005028..."} 
[2026-07-15 04:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62c49048012d7f92c005afd8300000005028..."} 
[2026-07-15 04:08:42] local.INFO: Processing buffer {"connection_id":134380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62c49048012d7f92c005afd8300000005028..."} 
[2026-07-15 04:08:42] local.INFO: Packet analysis {"connection_id":134380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62c4"} 
[2026-07-15 04:08:42] local.INFO: Extracted packet for processing {"connection_id":134380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62c4"} 
[2026-07-15 04:08:42] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04: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-07-15 04:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721453056001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784068477000,"timestamp_ms":1784068477000,"timestamp_seconds":1784068477,"priority":1,"record_length":96,"hex_timestamp":"0000019f62c49048"} 
[2026-07-15 04:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 04:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04: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-07-15 04:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":134380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":134380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":134380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:08:42] 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-07-15 04:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721453056001,"66":25495,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721453056001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:08:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:08:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721453056001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":134380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:08:42] local.INFO: GPS data processed {"connection_id":134380,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:08:42] local.INFO: Acknowledgment sent {"connection_id":134380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:09:02] local.INFO: TCP Data received {"connection_id":132177,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:09:02] local.INFO: Processing buffer {"connection_id":132177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:09:02] local.INFO: IMEI packet received {"connection_id":132177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":132177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:09:07] local.INFO: TCP Data received {"connection_id":132177,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:09:07] local.INFO: Processing buffer {"connection_id":132177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:09:07] local.INFO: IMEI packet received {"connection_id":132177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":132177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:09:08] local.INFO: TCP Data received {"connection_id":132177,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f62c49048012d7f92c005afd8300000005028..."} 
[2026-07-15 04:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62c49048012d7f92c005afd8300000005028..."} 
[2026-07-15 04:09:08] local.INFO: Processing buffer {"connection_id":132177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62c49048012d7f92c005afd8300000005028..."} 
[2026-07-15 04:09:08] local.INFO: Packet analysis {"connection_id":132177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62c4"} 
[2026-07-15 04:09:08] local.INFO: Extracted packet for processing {"connection_id":132177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62c4"} 
[2026-07-15 04:09:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721453056001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784068477000,"timestamp_ms":1784068477000,"timestamp_seconds":1784068477,"priority":1,"record_length":96,"hex_timestamp":"0000019f62c49048"} 
[2026-07-15 04:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 04:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721453056001,"66":25495,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721453056001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:09:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:09:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721453056001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":132177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:09:08] local.INFO: GPS data processed {"connection_id":132177,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:09:08] local.INFO: Acknowledgment sent {"connection_id":132177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:09:41] local.INFO: TCP Data received {"connection_id":132177,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f62c49048012d7f92c005afd8300000005028..."} 
[2026-07-15 04:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62c49048012d7f92c005afd8300000005028..."} 
[2026-07-15 04:09:41] local.INFO: Processing buffer {"connection_id":132177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62c49048012d7f92c005afd8300000005028..."} 
[2026-07-15 04:09:41] local.INFO: Packet analysis {"connection_id":132177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62c4"} 
[2026-07-15 04:09:41] local.INFO: Extracted packet for processing {"connection_id":132177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62c4"} 
[2026-07-15 04:09:41] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721453056001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784068477000,"timestamp_ms":1784068477000,"timestamp_seconds":1784068477,"priority":1,"record_length":96,"hex_timestamp":"0000019f62c49048"} 
[2026-07-15 04:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 04:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:09:41] 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-07-15 04:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721453056001,"66":25495,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721453056001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:09:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:09:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721453056001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":132177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:09:41] local.INFO: GPS data processed {"connection_id":132177,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:09:41] local.INFO: Acknowledgment sent {"connection_id":132177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:10:07] local.INFO: TCP Data received {"connection_id":133025,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:10:07] local.INFO: Processing buffer {"connection_id":133025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:10:07] local.INFO: IMEI packet received {"connection_id":133025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":133025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:10:12] local.INFO: TCP Data received {"connection_id":133025,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:10:12] local.INFO: Processing buffer {"connection_id":133025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:10:12] local.INFO: IMEI packet received {"connection_id":133025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":133025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:10:13] local.INFO: TCP Data received {"connection_id":133025,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f62c49048012d7f92c005afd8300000005028..."} 
[2026-07-15 04:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62c49048012d7f92c005afd8300000005028..."} 
[2026-07-15 04:10:13] local.INFO: Processing buffer {"connection_id":133025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62c49048012d7f92c005afd8300000005028..."} 
[2026-07-15 04:10:13] local.INFO: Packet analysis {"connection_id":133025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62c4"} 
[2026-07-15 04:10:13] local.INFO: Extracted packet for processing {"connection_id":133025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62c4"} 
[2026-07-15 04:10:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721453056001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:10:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:10:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784068477000,"timestamp_ms":1784068477000,"timestamp_seconds":1784068477,"priority":1,"record_length":96,"hex_timestamp":"0000019f62c49048"} 
[2026-07-15 04:10:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:10:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 04:10:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:10:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:10:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":133025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":133025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":133025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:10:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721453056001,"66":25495,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721453056001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:10:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:10:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:10:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:10:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721453056001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":133025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:10:13] local.INFO: GPS data processed {"connection_id":133025,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:10:13] local.INFO: Acknowledgment sent {"connection_id":133025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:10:16] local.INFO: TCP Data received {"connection_id":133025,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f62c92810012d7f92c005afd830000000502a..."} 
[2026-07-15 04:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62c92810012d7f92c005afd830000000502a..."} 
[2026-07-15 04:10:16] local.INFO: Processing buffer {"connection_id":133025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62c92810012d7f92c005afd830000000502a..."} 
[2026-07-15 04:10:16] local.INFO: Packet analysis {"connection_id":133025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62c9"} 
[2026-07-15 04:10:16] local.INFO: Extracted packet for processing {"connection_id":133025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62c9"} 
[2026-07-15 04:10:16] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721530112001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:10:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784068778000,"timestamp_ms":1784068778000,"timestamp_seconds":1784068778,"priority":1,"record_length":96,"hex_timestamp":"0000019f62c92810"} 
[2026-07-15 04:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-15 04:10:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":133025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":133025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":133025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721530112001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721530112001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:10:16] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:10:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721530112001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":133025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:10:16] local.INFO: GPS data processed {"connection_id":133025,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:10:16] local.INFO: Acknowledgment sent {"connection_id":133025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:10:47] local.INFO: TCP Data received {"connection_id":133025,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f62c92810012d7f92c005afd830000000502a..."} 
[2026-07-15 04:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62c92810012d7f92c005afd830000000502a..."} 
[2026-07-15 04:10:47] local.INFO: Processing buffer {"connection_id":133025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62c92810012d7f92c005afd830000000502a..."} 
[2026-07-15 04:10:47] local.INFO: Packet analysis {"connection_id":133025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62c9"} 
[2026-07-15 04:10:47] local.INFO: Extracted packet for processing {"connection_id":133025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62c9"} 
[2026-07-15 04:10:47] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04: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-07-15 04:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721530112001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:10:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784068778000,"timestamp_ms":1784068778000,"timestamp_seconds":1784068778,"priority":1,"record_length":96,"hex_timestamp":"0000019f62c92810"} 
[2026-07-15 04:10:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:10:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-15 04:10:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04: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-07-15 04:10:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":133025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":133025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":133025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:10:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721530112001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721530112001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:10:47] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:10:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721530112001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":133025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:10:47] local.INFO: GPS data processed {"connection_id":133025,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:10:47] local.INFO: Acknowledgment sent {"connection_id":133025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:11:02] local.INFO: TCP Data received {"connection_id":133026,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:11:02] local.INFO: Processing buffer {"connection_id":133026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:11:02] local.INFO: IMEI packet received {"connection_id":133026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":133026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:11:07] local.INFO: TCP Data received {"connection_id":133026,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:11:07] local.INFO: Processing buffer {"connection_id":133026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:11:07] local.INFO: IMEI packet received {"connection_id":133026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":133026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:11:08] local.INFO: TCP Data received {"connection_id":133026,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f62c92810012d7f92c005afd830000000502a..."} 
[2026-07-15 04:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62c92810012d7f92c005afd830000000502a..."} 
[2026-07-15 04:11:08] local.INFO: Processing buffer {"connection_id":133026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62c92810012d7f92c005afd830000000502a..."} 
[2026-07-15 04:11:08] local.INFO: Packet analysis {"connection_id":133026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62c9"} 
[2026-07-15 04:11:08] local.INFO: Extracted packet for processing {"connection_id":133026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62c9"} 
[2026-07-15 04:11:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721530112001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:11:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784068778000,"timestamp_ms":1784068778000,"timestamp_seconds":1784068778,"priority":1,"record_length":96,"hex_timestamp":"0000019f62c92810"} 
[2026-07-15 04:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-15 04:11:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:11:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":133026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":133026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":133026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721530112001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721530112001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:11:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:11:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721530112001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":133026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:11:08] local.INFO: GPS data processed {"connection_id":133026,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:11:08] local.INFO: Acknowledgment sent {"connection_id":133026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:11:39] local.INFO: TCP Data received {"connection_id":133026,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f62c92810012d7f92c005afd830000000502a..."} 
[2026-07-15 04:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62c92810012d7f92c005afd830000000502a..."} 
[2026-07-15 04:11:39] local.INFO: Processing buffer {"connection_id":133026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62c92810012d7f92c005afd830000000502a..."} 
[2026-07-15 04:11:39] local.INFO: Packet analysis {"connection_id":133026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62c9"} 
[2026-07-15 04:11:39] local.INFO: Extracted packet for processing {"connection_id":133026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62c9"} 
[2026-07-15 04:11:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721530112001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784068778000,"timestamp_ms":1784068778000,"timestamp_seconds":1784068778,"priority":1,"record_length":96,"hex_timestamp":"0000019f62c92810"} 
[2026-07-15 04:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-15 04:11:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721530112001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721530112001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:11:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:11:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721530112001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":133026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:11:39] local.INFO: GPS data processed {"connection_id":133026,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:11:39] local.INFO: Acknowledgment sent {"connection_id":133026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:12:02] local.INFO: TCP Data received {"connection_id":134381,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:12:02] local.INFO: Processing buffer {"connection_id":134381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:12:02] local.INFO: IMEI packet received {"connection_id":134381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":134381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:12:07] local.INFO: TCP Data received {"connection_id":134381,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:12:07] local.INFO: Processing buffer {"connection_id":134381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:12:07] local.INFO: IMEI packet received {"connection_id":134381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":134381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:12:12] local.INFO: TCP Data received {"connection_id":134381,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f62c92810012d7f92c005afd830000000502a..."} 
[2026-07-15 04:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62c92810012d7f92c005afd830000000502a..."} 
[2026-07-15 04:12:12] local.INFO: Processing buffer {"connection_id":134381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62c92810012d7f92c005afd830000000502a..."} 
[2026-07-15 04:12:12] local.INFO: Packet analysis {"connection_id":134381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62c9"} 
[2026-07-15 04:12:12] local.INFO: Extracted packet for processing {"connection_id":134381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62c9"} 
[2026-07-15 04:12:12] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721530112001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784068778000,"timestamp_ms":1784068778000,"timestamp_seconds":1784068778,"priority":1,"record_length":96,"hex_timestamp":"0000019f62c92810"} 
[2026-07-15 04:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-15 04:12:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:12:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":134381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":134381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":134381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721530112001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721530112001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:12:12] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:12:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:12:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721530112001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":134381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:12:12] local.INFO: GPS data processed {"connection_id":134381,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:12:12] local.INFO: Acknowledgment sent {"connection_id":134381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:12:46] local.INFO: TCP Data received {"connection_id":134381,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f62c92810012d7f92c005afd830000000502a..."} 
[2026-07-15 04:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62c92810012d7f92c005afd830000000502a..."} 
[2026-07-15 04:12:46] local.INFO: Processing buffer {"connection_id":134381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62c92810012d7f92c005afd830000000502a..."} 
[2026-07-15 04:12:46] local.INFO: Packet analysis {"connection_id":134381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62c9"} 
[2026-07-15 04:12:46] local.INFO: Extracted packet for processing {"connection_id":134381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62c9"} 
[2026-07-15 04:12:46] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721530112001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:12:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784068778000,"timestamp_ms":1784068778000,"timestamp_seconds":1784068778,"priority":1,"record_length":96,"hex_timestamp":"0000019f62c92810"} 
[2026-07-15 04:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:12:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-15 04:12:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:12:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":134381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":134381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":134381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:12:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721530112001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721530112001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:12:46] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:12:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721530112001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":134381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:12:46] local.INFO: GPS data processed {"connection_id":134381,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:12:46] local.INFO: Acknowledgment sent {"connection_id":134381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:13:02] local.INFO: TCP Data received {"connection_id":132009,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:13:02] local.INFO: Processing buffer {"connection_id":132009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:13:02] local.INFO: IMEI packet received {"connection_id":132009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":132009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:13:07] local.INFO: TCP Data received {"connection_id":132009,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:13:07] local.INFO: Processing buffer {"connection_id":132009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:13:07] local.INFO: IMEI packet received {"connection_id":132009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":132009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:13:08] local.INFO: TCP Data received {"connection_id":132009,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f62c92810012d7f92c005afd830000000502a..."} 
[2026-07-15 04:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62c92810012d7f92c005afd830000000502a..."} 
[2026-07-15 04:13:08] local.INFO: Processing buffer {"connection_id":132009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62c92810012d7f92c005afd830000000502a..."} 
[2026-07-15 04:13:08] local.INFO: Packet analysis {"connection_id":132009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62c9"} 
[2026-07-15 04:13:08] local.INFO: Extracted packet for processing {"connection_id":132009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62c9"} 
[2026-07-15 04:13:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721530112001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784068778000,"timestamp_ms":1784068778000,"timestamp_seconds":1784068778,"priority":1,"record_length":96,"hex_timestamp":"0000019f62c92810"} 
[2026-07-15 04:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-15 04:13:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721530112001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721530112001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:13:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:13:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721530112001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":132009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:13:08] local.INFO: GPS data processed {"connection_id":132009,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:13:08] local.INFO: Acknowledgment sent {"connection_id":132009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:13:42] local.INFO: TCP Data received {"connection_id":132009,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f62c92810012d7f92c005afd830000000502a..."} 
[2026-07-15 04:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62c92810012d7f92c005afd830000000502a..."} 
[2026-07-15 04:13:42] local.INFO: Processing buffer {"connection_id":132009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62c92810012d7f92c005afd830000000502a..."} 
[2026-07-15 04:13:42] local.INFO: Packet analysis {"connection_id":132009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62c9"} 
[2026-07-15 04:13:42] local.INFO: Extracted packet for processing {"connection_id":132009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62c9"} 
[2026-07-15 04:13:42] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04: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-07-15 04:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721530112001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784068778000,"timestamp_ms":1784068778000,"timestamp_seconds":1784068778,"priority":1,"record_length":96,"hex_timestamp":"0000019f62c92810"} 
[2026-07-15 04:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:13:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-15 04:13:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04: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-07-15 04:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721530112001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721530112001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:13:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:13:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721530112001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":132009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:13:42] local.INFO: GPS data processed {"connection_id":132009,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:13:42] local.INFO: Acknowledgment sent {"connection_id":132009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:13:49] local.INFO: TCP Data received {"connection_id":134382,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 04:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134382,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 04:13:49] local.INFO: Processing buffer {"connection_id":134382,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 04:13:49] local.INFO: IMEI packet received {"connection_id":134382,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 04:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":134382,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:14:07] local.INFO: TCP Data received {"connection_id":134383,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:14:07] local.INFO: Processing buffer {"connection_id":134383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:14:07] local.INFO: IMEI packet received {"connection_id":134383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":134383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:14:12] local.INFO: TCP Data received {"connection_id":134383,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:14:12] local.INFO: Processing buffer {"connection_id":134383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:14:12] local.INFO: IMEI packet received {"connection_id":134383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":134383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:14:13] local.INFO: TCP Data received {"connection_id":134383,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f62c92810012d7f92c005afd830000000502a..."} 
[2026-07-15 04:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62c92810012d7f92c005afd830000000502a..."} 
[2026-07-15 04:14:13] local.INFO: Processing buffer {"connection_id":134383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62c92810012d7f92c005afd830000000502a..."} 
[2026-07-15 04:14:13] local.INFO: Packet analysis {"connection_id":134383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62c9"} 
[2026-07-15 04:14:13] local.INFO: Extracted packet for processing {"connection_id":134383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62c9"} 
[2026-07-15 04:14:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721530112001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:14:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:14:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784068778000,"timestamp_ms":1784068778000,"timestamp_seconds":1784068778,"priority":1,"record_length":96,"hex_timestamp":"0000019f62c92810"} 
[2026-07-15 04:14:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:14:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-15 04:14:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04: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-07-15 04:14:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":134383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":134383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":134383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:14:13] 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-07-15 04:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721530112001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721530112001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:14:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:14:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:14:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:14:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721530112001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":134383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:14:13] local.INFO: GPS data processed {"connection_id":134383,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:14:13] local.INFO: Acknowledgment sent {"connection_id":134383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:14:17] local.INFO: TCP Data received {"connection_id":134383,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f62c92810012d7f92c005afd830000000502a..."} 
[2026-07-15 04:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62c92810012d7f92c005afd830000000502a..."} 
[2026-07-15 04:14:17] local.INFO: Processing buffer {"connection_id":134383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62c92810012d7f92c005afd830000000502a..."} 
[2026-07-15 04:14:17] local.INFO: Packet analysis {"connection_id":134383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62c9"} 
[2026-07-15 04:14:17] local.INFO: Extracted packet for processing {"connection_id":134383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62c9"} 
[2026-07-15 04:14:17] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721530112001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:14:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:14:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784068778000,"timestamp_ms":1784068778000,"timestamp_seconds":1784068778,"priority":1,"record_length":96,"hex_timestamp":"0000019f62c92810"} 
[2026-07-15 04:14:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:14:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-15 04:14:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:14:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:14:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":134383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":134383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":134383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:14:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721530112001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721530112001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:14:17] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:14:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:14:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721530112001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":134383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:14:17] local.INFO: GPS data processed {"connection_id":134383,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:14:17] local.INFO: Acknowledgment sent {"connection_id":134383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:15:02] local.INFO: TCP Data received {"connection_id":132180,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:15:02] local.INFO: Processing buffer {"connection_id":132180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:15:02] local.INFO: IMEI packet received {"connection_id":132180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":132180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:15:07] local.INFO: TCP Data received {"connection_id":132180,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:15:07] local.INFO: Processing buffer {"connection_id":132180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:15:07] local.INFO: IMEI packet received {"connection_id":132180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":132180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:15:08] local.INFO: TCP Data received {"connection_id":132180,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f62c92810012d7f92c005afd830000000502a..."} 
[2026-07-15 04:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62c92810012d7f92c005afd830000000502a..."} 
[2026-07-15 04:15:08] local.INFO: Processing buffer {"connection_id":132180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62c92810012d7f92c005afd830000000502a..."} 
[2026-07-15 04:15:08] local.INFO: Packet analysis {"connection_id":132180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62c9"} 
[2026-07-15 04:15:08] local.INFO: Extracted packet for processing {"connection_id":132180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62c9"} 
[2026-07-15 04:15:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721530112001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784068778000,"timestamp_ms":1784068778000,"timestamp_seconds":1784068778,"priority":1,"record_length":96,"hex_timestamp":"0000019f62c92810"} 
[2026-07-15 04:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-15 04:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04: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-07-15 04:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:15:08] 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-07-15 04:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721530112001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721530112001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:15:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:15:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721530112001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":132180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:15:08] local.INFO: GPS data processed {"connection_id":132180,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:15:08] local.INFO: Acknowledgment sent {"connection_id":132180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:15:39] local.INFO: TCP Data received {"connection_id":132180,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f62cdbfd8012d7f92c005afd830000000502b..."} 
[2026-07-15 04:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62cdbfd8012d7f92c005afd830000000502b..."} 
[2026-07-15 04:15:39] local.INFO: Processing buffer {"connection_id":132180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62cdbfd8012d7f92c005afd830000000502b..."} 
[2026-07-15 04:15:39] local.INFO: Packet analysis {"connection_id":132180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62cd"} 
[2026-07-15 04:15:39] local.INFO: Extracted packet for processing {"connection_id":132180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62cd"} 
[2026-07-15 04:15:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721607168001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784069079000,"timestamp_ms":1784069079000,"timestamp_seconds":1784069079,"priority":1,"record_length":96,"hex_timestamp":"0000019f62cdbfd8"} 
[2026-07-15 04:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04: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-07-15 04:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:15:39] 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-07-15 04:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721607168001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721607168001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:15:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:15:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721607168001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":132180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:15:39] local.INFO: GPS data processed {"connection_id":132180,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:15:39] local.INFO: Acknowledgment sent {"connection_id":132180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:16:02] local.INFO: TCP Data received {"connection_id":133027,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:16:02] local.INFO: Processing buffer {"connection_id":133027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:16:02] local.INFO: IMEI packet received {"connection_id":133027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":133027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:16:07] local.INFO: TCP Data received {"connection_id":133027,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:16:07] local.INFO: Processing buffer {"connection_id":133027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:16:07] local.INFO: IMEI packet received {"connection_id":133027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":133027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:16:08] local.INFO: TCP Data received {"connection_id":133027,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f62cdbfd8012d7f92c005afd830000000502b..."} 
[2026-07-15 04:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62cdbfd8012d7f92c005afd830000000502b..."} 
[2026-07-15 04:16:08] local.INFO: Processing buffer {"connection_id":133027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62cdbfd8012d7f92c005afd830000000502b..."} 
[2026-07-15 04:16:08] local.INFO: Packet analysis {"connection_id":133027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62cd"} 
[2026-07-15 04:16:08] local.INFO: Extracted packet for processing {"connection_id":133027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62cd"} 
[2026-07-15 04:16:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04: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-07-15 04:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721607168001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784069079000,"timestamp_ms":1784069079000,"timestamp_seconds":1784069079,"priority":1,"record_length":96,"hex_timestamp":"0000019f62cdbfd8"} 
[2026-07-15 04:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04: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-07-15 04:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":133027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":133027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":133027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721607168001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721607168001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:16:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:16:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721607168001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":133027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:16:08] local.INFO: GPS data processed {"connection_id":133027,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:16:08] local.INFO: Acknowledgment sent {"connection_id":133027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:16:39] local.INFO: TCP Data received {"connection_id":133027,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f62cdbfd8012d7f92c005afd830000000502b..."} 
[2026-07-15 04:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62cdbfd8012d7f92c005afd830000000502b..."} 
[2026-07-15 04:16:39] local.INFO: Processing buffer {"connection_id":133027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62cdbfd8012d7f92c005afd830000000502b..."} 
[2026-07-15 04:16:39] local.INFO: Packet analysis {"connection_id":133027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62cd"} 
[2026-07-15 04:16:39] local.INFO: Extracted packet for processing {"connection_id":133027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62cd"} 
[2026-07-15 04:16:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721607168001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784069079000,"timestamp_ms":1784069079000,"timestamp_seconds":1784069079,"priority":1,"record_length":96,"hex_timestamp":"0000019f62cdbfd8"} 
[2026-07-15 04:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:16:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:16:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721607168001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721607168001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:16:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:16:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721607168001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":133027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:16:39] local.INFO: GPS data processed {"connection_id":133027,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:16:39] local.INFO: Acknowledgment sent {"connection_id":133027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:17:02] local.INFO: TCP Data received {"connection_id":132182,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:17:02] local.INFO: Processing buffer {"connection_id":132182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:17:02] local.INFO: IMEI packet received {"connection_id":132182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":132182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:17:07] local.INFO: TCP Data received {"connection_id":132182,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:17:07] local.INFO: Processing buffer {"connection_id":132182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:17:07] local.INFO: IMEI packet received {"connection_id":132182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":132182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:17:08] local.INFO: TCP Data received {"connection_id":132182,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f62cdbfd8012d7f92c005afd830000000502b..."} 
[2026-07-15 04:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62cdbfd8012d7f92c005afd830000000502b..."} 
[2026-07-15 04:17:08] local.INFO: Processing buffer {"connection_id":132182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62cdbfd8012d7f92c005afd830000000502b..."} 
[2026-07-15 04:17:08] local.INFO: Packet analysis {"connection_id":132182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62cd"} 
[2026-07-15 04:17:08] local.INFO: Extracted packet for processing {"connection_id":132182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62cd"} 
[2026-07-15 04:17:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04: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-07-15 04:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721607168001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784069079000,"timestamp_ms":1784069079000,"timestamp_seconds":1784069079,"priority":1,"record_length":96,"hex_timestamp":"0000019f62cdbfd8"} 
[2026-07-15 04:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04: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-07-15 04:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721607168001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721607168001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:17:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:17:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721607168001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":132182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:17:08] local.INFO: GPS data processed {"connection_id":132182,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:17:08] local.INFO: Acknowledgment sent {"connection_id":132182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:17:38] local.INFO: TCP Data received {"connection_id":132182,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f62cdbfd8012d7f92c005afd830000000502b..."} 
[2026-07-15 04:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62cdbfd8012d7f92c005afd830000000502b..."} 
[2026-07-15 04:17:38] local.INFO: Processing buffer {"connection_id":132182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62cdbfd8012d7f92c005afd830000000502b..."} 
[2026-07-15 04:17:38] local.INFO: Packet analysis {"connection_id":132182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62cd"} 
[2026-07-15 04:17:38] local.INFO: Extracted packet for processing {"connection_id":132182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62cd"} 
[2026-07-15 04:17:38] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04: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-07-15 04:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721607168001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784069079000,"timestamp_ms":1784069079000,"timestamp_seconds":1784069079,"priority":1,"record_length":96,"hex_timestamp":"0000019f62cdbfd8"} 
[2026-07-15 04:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04: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-07-15 04:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721607168001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721607168001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:17:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:17:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721607168001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":132182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:17:38] local.INFO: GPS data processed {"connection_id":132182,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:17:38] local.INFO: Acknowledgment sent {"connection_id":132182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:18:02] local.INFO: TCP Data received {"connection_id":134385,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:18:02] local.INFO: Processing buffer {"connection_id":134385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:18:02] local.INFO: IMEI packet received {"connection_id":134385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":134385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:18:07] local.INFO: TCP Data received {"connection_id":134385,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:18:07] local.INFO: Processing buffer {"connection_id":134385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:18:07] local.INFO: IMEI packet received {"connection_id":134385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":134385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:18:08] local.INFO: TCP Data received {"connection_id":134385,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f62cdbfd8012d7f92c005afd830000000502b..."} 
[2026-07-15 04:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62cdbfd8012d7f92c005afd830000000502b..."} 
[2026-07-15 04:18:08] local.INFO: Processing buffer {"connection_id":134385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62cdbfd8012d7f92c005afd830000000502b..."} 
[2026-07-15 04:18:08] local.INFO: Packet analysis {"connection_id":134385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62cd"} 
[2026-07-15 04:18:08] local.INFO: Extracted packet for processing {"connection_id":134385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62cd"} 
[2026-07-15 04:18:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721607168001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784069079000,"timestamp_ms":1784069079000,"timestamp_seconds":1784069079,"priority":1,"record_length":96,"hex_timestamp":"0000019f62cdbfd8"} 
[2026-07-15 04:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:18:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721607168001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721607168001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:18:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:18:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721607168001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":134385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:18:08] local.INFO: GPS data processed {"connection_id":134385,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:18:08] local.INFO: Acknowledgment sent {"connection_id":134385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:18:39] local.INFO: TCP Data received {"connection_id":134385,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f62cdbfd8012d7f92c005afd830000000502b..."} 
[2026-07-15 04:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62cdbfd8012d7f92c005afd830000000502b..."} 
[2026-07-15 04:18:39] local.INFO: Processing buffer {"connection_id":134385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62cdbfd8012d7f92c005afd830000000502b..."} 
[2026-07-15 04:18:39] local.INFO: Packet analysis {"connection_id":134385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62cd"} 
[2026-07-15 04:18:39] local.INFO: Extracted packet for processing {"connection_id":134385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62cd"} 
[2026-07-15 04:18:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721607168001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784069079000,"timestamp_ms":1784069079000,"timestamp_seconds":1784069079,"priority":1,"record_length":96,"hex_timestamp":"0000019f62cdbfd8"} 
[2026-07-15 04:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:18:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:18:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:18:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721607168001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721607168001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:18:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:18:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721607168001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":134385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:18:39] local.INFO: GPS data processed {"connection_id":134385,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:18:39] local.INFO: Acknowledgment sent {"connection_id":134385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:19:02] local.INFO: TCP Data received {"connection_id":133028,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:19:02] local.INFO: Processing buffer {"connection_id":133028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:19:02] local.INFO: IMEI packet received {"connection_id":133028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":133028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:19:07] local.INFO: TCP Data received {"connection_id":133028,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:19:07] local.INFO: Processing buffer {"connection_id":133028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:19:07] local.INFO: IMEI packet received {"connection_id":133028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":133028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:19:08] local.INFO: TCP Data received {"connection_id":133028,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f62cdbfd8012d7f92c005afd830000000502b..."} 
[2026-07-15 04:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62cdbfd8012d7f92c005afd830000000502b..."} 
[2026-07-15 04:19:08] local.INFO: Processing buffer {"connection_id":133028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62cdbfd8012d7f92c005afd830000000502b..."} 
[2026-07-15 04:19:08] local.INFO: Packet analysis {"connection_id":133028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62cd"} 
[2026-07-15 04:19:08] local.INFO: Extracted packet for processing {"connection_id":133028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62cd"} 
[2026-07-15 04:19:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721607168001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784069079000,"timestamp_ms":1784069079000,"timestamp_seconds":1784069079,"priority":1,"record_length":96,"hex_timestamp":"0000019f62cdbfd8"} 
[2026-07-15 04:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:19:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":133028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":133028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":133028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721607168001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721607168001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:19:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:19:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721607168001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":133028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:19:08] local.INFO: GPS data processed {"connection_id":133028,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:19:08] local.INFO: Acknowledgment sent {"connection_id":133028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:19:38] local.INFO: TCP Data received {"connection_id":133028,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f62cdbfd8012d7f92c005afd830000000502b..."} 
[2026-07-15 04:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62cdbfd8012d7f92c005afd830000000502b..."} 
[2026-07-15 04:19:38] local.INFO: Processing buffer {"connection_id":133028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62cdbfd8012d7f92c005afd830000000502b..."} 
[2026-07-15 04:19:38] local.INFO: Packet analysis {"connection_id":133028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62cd"} 
[2026-07-15 04:19:38] local.INFO: Extracted packet for processing {"connection_id":133028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62cd"} 
[2026-07-15 04:19:38] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721607168001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784069079000,"timestamp_ms":1784069079000,"timestamp_seconds":1784069079,"priority":1,"record_length":96,"hex_timestamp":"0000019f62cdbfd8"} 
[2026-07-15 04:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721607168001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721607168001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:19:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:19:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721607168001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":133028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:19:38] local.INFO: GPS data processed {"connection_id":133028,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:19:38] local.INFO: Acknowledgment sent {"connection_id":133028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:19:49] local.INFO: TCP Data received {"connection_id":132183,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 04:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132183,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 04:19:49] local.INFO: Processing buffer {"connection_id":132183,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 04:19:49] local.INFO: IMEI packet received {"connection_id":132183,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 04:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":132183,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:20:08] local.INFO: TCP Data received {"connection_id":134387,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:20:08] local.INFO: Processing buffer {"connection_id":134387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:20:08] local.INFO: IMEI packet received {"connection_id":134387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":134387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:20:12] local.INFO: TCP Data received {"connection_id":134387,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:20:12] local.INFO: Processing buffer {"connection_id":134387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:20:12] local.INFO: IMEI packet received {"connection_id":134387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":134387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:20:13] local.INFO: TCP Data received {"connection_id":134387,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f62cdbfd8012d7f92c005afd830000000502b..."} 
[2026-07-15 04:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62cdbfd8012d7f92c005afd830000000502b..."} 
[2026-07-15 04:20:13] local.INFO: Processing buffer {"connection_id":134387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62cdbfd8012d7f92c005afd830000000502b..."} 
[2026-07-15 04:20:13] local.INFO: Packet analysis {"connection_id":134387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62cd"} 
[2026-07-15 04:20:13] local.INFO: Extracted packet for processing {"connection_id":134387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62cd"} 
[2026-07-15 04:20:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721607168001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:20:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:20:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784069079000,"timestamp_ms":1784069079000,"timestamp_seconds":1784069079,"priority":1,"record_length":96,"hex_timestamp":"0000019f62cdbfd8"} 
[2026-07-15 04:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:20:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:20:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:20:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":134387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":134387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":134387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721607168001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721607168001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:20:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:20:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:20:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721607168001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":134387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:20:13] local.INFO: GPS data processed {"connection_id":134387,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:20:13] local.INFO: Acknowledgment sent {"connection_id":134387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:20:18] local.INFO: TCP Data received {"connection_id":134387,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f62cdbfd8012d7f92c005afd830000000502b..."} 
[2026-07-15 04:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62cdbfd8012d7f92c005afd830000000502b..."} 
[2026-07-15 04:20:18] local.INFO: Processing buffer {"connection_id":134387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62cdbfd8012d7f92c005afd830000000502b..."} 
[2026-07-15 04:20:18] local.INFO: Packet analysis {"connection_id":134387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62cd"} 
[2026-07-15 04:20:18] local.INFO: Extracted packet for processing {"connection_id":134387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62cd"} 
[2026-07-15 04:20:18] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04: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-07-15 04:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721607168001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:20:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:20:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784069079000,"timestamp_ms":1784069079000,"timestamp_seconds":1784069079,"priority":1,"record_length":96,"hex_timestamp":"0000019f62cdbfd8"} 
[2026-07-15 04:20:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:20:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:20:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04: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-07-15 04:20:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":134387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":134387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":134387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:20: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-07-15 04:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721607168001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721607168001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:20:18] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:20:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:20:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:20:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721607168001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":134387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:20:18] local.INFO: GPS data processed {"connection_id":134387,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:20:18] local.INFO: Acknowledgment sent {"connection_id":134387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:21:02] local.INFO: TCP Data received {"connection_id":133030,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:21:02] local.INFO: Processing buffer {"connection_id":133030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:21:02] local.INFO: IMEI packet received {"connection_id":133030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":133030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:21:07] local.INFO: TCP Data received {"connection_id":133030,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:21:07] local.INFO: Processing buffer {"connection_id":133030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:21:07] local.INFO: IMEI packet received {"connection_id":133030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":133030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:21:08] local.INFO: TCP Data received {"connection_id":133030,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f62d257a0012d7f92c005afd830000000502d..."} 
[2026-07-15 04:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62d257a0012d7f92c005afd830000000502d..."} 
[2026-07-15 04:21:08] local.INFO: Processing buffer {"connection_id":133030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62d257a0012d7f92c005afd830000000502d..."} 
[2026-07-15 04:21:08] local.INFO: Packet analysis {"connection_id":133030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62d2"} 
[2026-07-15 04:21:08] local.INFO: Extracted packet for processing {"connection_id":133030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62d2"} 
[2026-07-15 04:21:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721684224001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784069380000,"timestamp_ms":1784069380000,"timestamp_seconds":1784069380,"priority":1,"record_length":96,"hex_timestamp":"0000019f62d257a0"} 
[2026-07-15 04:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:21:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":133030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":133030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":133030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721684224001,"66":25495,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721684224001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:21:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:21:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721684224001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":133030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:21:08] local.INFO: GPS data processed {"connection_id":133030,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:21:08] local.INFO: Acknowledgment sent {"connection_id":133030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:21:40] local.INFO: TCP Data received {"connection_id":133030,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f62d257a0012d7f92c005afd830000000502d..."} 
[2026-07-15 04:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62d257a0012d7f92c005afd830000000502d..."} 
[2026-07-15 04:21:40] local.INFO: Processing buffer {"connection_id":133030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62d257a0012d7f92c005afd830000000502d..."} 
[2026-07-15 04:21:40] local.INFO: Packet analysis {"connection_id":133030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62d2"} 
[2026-07-15 04:21:40] local.INFO: Extracted packet for processing {"connection_id":133030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62d2"} 
[2026-07-15 04:21:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04: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-07-15 04:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721684224001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784069380000,"timestamp_ms":1784069380000,"timestamp_seconds":1784069380,"priority":1,"record_length":96,"hex_timestamp":"0000019f62d257a0"} 
[2026-07-15 04:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04: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-07-15 04:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":133030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":133030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":133030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721684224001,"66":25495,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721684224001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:21:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:21:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721684224001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":133030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:21:40] local.INFO: GPS data processed {"connection_id":133030,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:21:40] local.INFO: Acknowledgment sent {"connection_id":133030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:22:02] local.INFO: TCP Data received {"connection_id":132012,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:22:02] local.INFO: Processing buffer {"connection_id":132012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:22:02] local.INFO: IMEI packet received {"connection_id":132012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":132012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:22:09] local.INFO: TCP Data received {"connection_id":132012,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:22:09] local.INFO: Processing buffer {"connection_id":132012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:22:09] local.INFO: IMEI packet received {"connection_id":132012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":132012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:22:10] local.INFO: TCP Data received {"connection_id":132012,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f62d257a0012d7f92c005afd830000000502d..."} 
[2026-07-15 04:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62d257a0012d7f92c005afd830000000502d..."} 
[2026-07-15 04:22:10] local.INFO: Processing buffer {"connection_id":132012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62d257a0012d7f92c005afd830000000502d..."} 
[2026-07-15 04:22:10] local.INFO: Packet analysis {"connection_id":132012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62d2"} 
[2026-07-15 04:22:10] local.INFO: Extracted packet for processing {"connection_id":132012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62d2"} 
[2026-07-15 04:22:10] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:22: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-07-15 04:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721684224001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784069380000,"timestamp_ms":1784069380000,"timestamp_seconds":1784069380,"priority":1,"record_length":96,"hex_timestamp":"0000019f62d257a0"} 
[2026-07-15 04:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:22: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-07-15 04:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":132012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":132012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":132012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721684224001,"66":25495,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721684224001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:22:10] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:22:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721684224001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":132012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:22:10] local.INFO: GPS data processed {"connection_id":132012,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:22:10] local.INFO: Acknowledgment sent {"connection_id":132012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:22:41] local.INFO: TCP Data received {"connection_id":132012,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f62d257a0012d7f92c005afd830000000502d..."} 
[2026-07-15 04:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62d257a0012d7f92c005afd830000000502d..."} 
[2026-07-15 04:22:41] local.INFO: Processing buffer {"connection_id":132012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62d257a0012d7f92c005afd830000000502d..."} 
[2026-07-15 04:22:41] local.INFO: Packet analysis {"connection_id":132012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62d2"} 
[2026-07-15 04:22:41] local.INFO: Extracted packet for processing {"connection_id":132012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62d2"} 
[2026-07-15 04:22:41] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721684224001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784069380000,"timestamp_ms":1784069380000,"timestamp_seconds":1784069380,"priority":1,"record_length":96,"hex_timestamp":"0000019f62d257a0"} 
[2026-07-15 04:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04: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-07-15 04:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721684224001,"66":25495,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721684224001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:22:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:22:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721684224001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":132012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:22:41] local.INFO: GPS data processed {"connection_id":132012,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:22:41] local.INFO: Acknowledgment sent {"connection_id":132012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:23:02] local.INFO: TCP Data received {"connection_id":132013,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:23:02] local.INFO: Processing buffer {"connection_id":132013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:23:02] local.INFO: IMEI packet received {"connection_id":132013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":132013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:23:07] local.INFO: TCP Data received {"connection_id":132013,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:23:07] local.INFO: Processing buffer {"connection_id":132013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:23:07] local.INFO: IMEI packet received {"connection_id":132013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":132013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:23:08] local.INFO: TCP Data received {"connection_id":132013,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f62d257a0012d7f92c005afd830000000502d..."} 
[2026-07-15 04:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62d257a0012d7f92c005afd830000000502d..."} 
[2026-07-15 04:23:08] local.INFO: Processing buffer {"connection_id":132013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62d257a0012d7f92c005afd830000000502d..."} 
[2026-07-15 04:23:08] local.INFO: Packet analysis {"connection_id":132013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62d2"} 
[2026-07-15 04:23:08] local.INFO: Extracted packet for processing {"connection_id":132013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62d2"} 
[2026-07-15 04:23:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04: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-07-15 04:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721684224001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784069380000,"timestamp_ms":1784069380000,"timestamp_seconds":1784069380,"priority":1,"record_length":96,"hex_timestamp":"0000019f62d257a0"} 
[2026-07-15 04:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04: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-07-15 04:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721684224001,"66":25495,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721684224001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:23:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:23:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721684224001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":132013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:23:08] local.INFO: GPS data processed {"connection_id":132013,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:23:08] local.INFO: Acknowledgment sent {"connection_id":132013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:23:39] local.INFO: TCP Data received {"connection_id":132013,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f62d257a0012d7f92c005afd830000000502d..."} 
[2026-07-15 04:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62d257a0012d7f92c005afd830000000502d..."} 
[2026-07-15 04:23:39] local.INFO: Processing buffer {"connection_id":132013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62d257a0012d7f92c005afd830000000502d..."} 
[2026-07-15 04:23:39] local.INFO: Packet analysis {"connection_id":132013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62d2"} 
[2026-07-15 04:23:39] local.INFO: Extracted packet for processing {"connection_id":132013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62d2"} 
[2026-07-15 04:23:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721684224001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784069380000,"timestamp_ms":1784069380000,"timestamp_seconds":1784069380,"priority":1,"record_length":96,"hex_timestamp":"0000019f62d257a0"} 
[2026-07-15 04:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:23:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721684224001,"66":25495,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721684224001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:23:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:23:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721684224001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":132013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:23:39] local.INFO: GPS data processed {"connection_id":132013,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:23:39] local.INFO: Acknowledgment sent {"connection_id":132013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:24:07] local.INFO: TCP Data received {"connection_id":133031,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:24:07] local.INFO: Processing buffer {"connection_id":133031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:24:07] local.INFO: IMEI packet received {"connection_id":133031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":133031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:24:12] local.INFO: TCP Data received {"connection_id":133031,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:24:12] local.INFO: Processing buffer {"connection_id":133031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:24:12] local.INFO: IMEI packet received {"connection_id":133031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":133031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:24:13] local.INFO: TCP Data received {"connection_id":133031,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f62d257a0012d7f92c005afd830000000502d..."} 
[2026-07-15 04:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62d257a0012d7f92c005afd830000000502d..."} 
[2026-07-15 04:24:13] local.INFO: Processing buffer {"connection_id":133031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62d257a0012d7f92c005afd830000000502d..."} 
[2026-07-15 04:24:13] local.INFO: Packet analysis {"connection_id":133031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62d2"} 
[2026-07-15 04:24:13] local.INFO: Extracted packet for processing {"connection_id":133031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62d2"} 
[2026-07-15 04:24:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721684224001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:24:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:24:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784069380000,"timestamp_ms":1784069380000,"timestamp_seconds":1784069380,"priority":1,"record_length":96,"hex_timestamp":"0000019f62d257a0"} 
[2026-07-15 04:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:24:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:24:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:24:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":133031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":133031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":133031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:24:13] 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-07-15 04:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721684224001,"66":25495,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721684224001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:24:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:24:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:24:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721684224001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":133031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:24:13] local.INFO: GPS data processed {"connection_id":133031,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:24:13] local.INFO: Acknowledgment sent {"connection_id":133031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:24:47] local.INFO: TCP Data received {"connection_id":133031,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f62d257a0012d7f92c005afd830000000502d..."} 
[2026-07-15 04:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62d257a0012d7f92c005afd830000000502d..."} 
[2026-07-15 04:24:47] local.INFO: Processing buffer {"connection_id":133031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62d257a0012d7f92c005afd830000000502d..."} 
[2026-07-15 04:24:47] local.INFO: Packet analysis {"connection_id":133031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62d2"} 
[2026-07-15 04:24:47] local.INFO: Extracted packet for processing {"connection_id":133031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62d2"} 
[2026-07-15 04:24:47] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721684224001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:24:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:24:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784069380000,"timestamp_ms":1784069380000,"timestamp_seconds":1784069380,"priority":1,"record_length":96,"hex_timestamp":"0000019f62d257a0"} 
[2026-07-15 04:24:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:24:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:24:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:24:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:24:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":133031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":133031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":133031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:24:47] 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-07-15 04:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721684224001,"66":25495,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721684224001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:24:47] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:24:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:24:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:24:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721684224001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":133031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:24:47] local.INFO: GPS data processed {"connection_id":133031,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:24:47] local.INFO: Acknowledgment sent {"connection_id":133031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:25:02] local.INFO: TCP Data received {"connection_id":132186,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:25:02] local.INFO: Processing buffer {"connection_id":132186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:25:02] local.INFO: IMEI packet received {"connection_id":132186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":132186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:25:06] local.INFO: TCP Data received {"connection_id":134389,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 04:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134389,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 04:25:06] local.INFO: Processing buffer {"connection_id":134389,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 04:25:06] local.INFO: IMEI packet received {"connection_id":134389,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 04:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":134389,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:25:07] local.INFO: TCP Data received {"connection_id":132186,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:25:07] local.INFO: Processing buffer {"connection_id":132186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:25:07] local.INFO: IMEI packet received {"connection_id":132186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":132186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:25:08] local.INFO: TCP Data received {"connection_id":132186,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f62d257a0012d7f92c005afd830000000502d..."} 
[2026-07-15 04:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62d257a0012d7f92c005afd830000000502d..."} 
[2026-07-15 04:25:08] local.INFO: Processing buffer {"connection_id":132186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62d257a0012d7f92c005afd830000000502d..."} 
[2026-07-15 04:25:08] local.INFO: Packet analysis {"connection_id":132186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62d2"} 
[2026-07-15 04:25:08] local.INFO: Extracted packet for processing {"connection_id":132186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62d2"} 
[2026-07-15 04:25:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721684224001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784069380000,"timestamp_ms":1784069380000,"timestamp_seconds":1784069380,"priority":1,"record_length":96,"hex_timestamp":"0000019f62d257a0"} 
[2026-07-15 04:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721684224001,"66":25495,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721684224001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:25:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:25:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721684224001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":132186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:25:08] local.INFO: GPS data processed {"connection_id":132186,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:25:08] local.INFO: Acknowledgment sent {"connection_id":132186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:25:35] local.INFO: TCP Data received {"connection_id":134390,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 04:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134390,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 04:25:35] local.INFO: Processing buffer {"connection_id":134390,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 04:25:35] local.INFO: IMEI packet received {"connection_id":134390,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 04:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":134390,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:25:41] local.INFO: TCP Data received {"connection_id":132186,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f62d6ef68012d7f92c005afd830000d00502d..."} 
[2026-07-15 04:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62d6ef68012d7f92c005afd830000d00502d..."} 
[2026-07-15 04:25:41] local.INFO: Processing buffer {"connection_id":132186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62d6ef68012d7f92c005afd830000d00502d..."} 
[2026-07-15 04:25:41] local.INFO: Packet analysis {"connection_id":132186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62d6"} 
[2026-07-15 04:25:41] local.INFO: Extracted packet for processing {"connection_id":132186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62d6"} 
[2026-07-15 04:25:41] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":13,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721761280001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784069681000,"timestamp_ms":1784069681000,"timestamp_seconds":1784069681,"priority":1,"record_length":96,"hex_timestamp":"0000019f62d6ef68"} 
[2026-07-15 04:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-15 04:25:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721761280001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721761280001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:25:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:25:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721761280001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":132186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:25:41] local.INFO: GPS data processed {"connection_id":132186,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:25:41] local.INFO: Acknowledgment sent {"connection_id":132186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:26:02] local.INFO: TCP Data received {"connection_id":132187,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:26:02] local.INFO: Processing buffer {"connection_id":132187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:26:02] local.INFO: IMEI packet received {"connection_id":132187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":132187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:26:07] local.INFO: TCP Data received {"connection_id":132187,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:26:07] local.INFO: Processing buffer {"connection_id":132187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:26:07] local.INFO: IMEI packet received {"connection_id":132187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":132187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:26:08] local.INFO: TCP Data received {"connection_id":132187,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f62d6ef68012d7f92c005afd830000d00502d..."} 
[2026-07-15 04:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62d6ef68012d7f92c005afd830000d00502d..."} 
[2026-07-15 04:26:08] local.INFO: Processing buffer {"connection_id":132187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62d6ef68012d7f92c005afd830000d00502d..."} 
[2026-07-15 04:26:08] local.INFO: Packet analysis {"connection_id":132187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62d6"} 
[2026-07-15 04:26:08] local.INFO: Extracted packet for processing {"connection_id":132187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62d6"} 
[2026-07-15 04:26:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":13,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721761280001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784069681000,"timestamp_ms":1784069681000,"timestamp_seconds":1784069681,"priority":1,"record_length":96,"hex_timestamp":"0000019f62d6ef68"} 
[2026-07-15 04:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-15 04:26:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:26:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721761280001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721761280001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:26:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:26:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721761280001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":132187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:26:08] local.INFO: GPS data processed {"connection_id":132187,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:26:08] local.INFO: Acknowledgment sent {"connection_id":132187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:26:41] local.INFO: TCP Data received {"connection_id":132187,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f62d6ef68012d7f92c005afd830000d00502d..."} 
[2026-07-15 04:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62d6ef68012d7f92c005afd830000d00502d..."} 
[2026-07-15 04:26:41] local.INFO: Processing buffer {"connection_id":132187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62d6ef68012d7f92c005afd830000d00502d..."} 
[2026-07-15 04:26:41] local.INFO: Packet analysis {"connection_id":132187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62d6"} 
[2026-07-15 04:26:41] local.INFO: Extracted packet for processing {"connection_id":132187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62d6"} 
[2026-07-15 04:26:41] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":13,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:26: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-07-15 04:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721761280001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784069681000,"timestamp_ms":1784069681000,"timestamp_seconds":1784069681,"priority":1,"record_length":96,"hex_timestamp":"0000019f62d6ef68"} 
[2026-07-15 04:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-15 04:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:26: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-07-15 04:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721761280001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721761280001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:26:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:26:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721761280001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":132187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:26:41] local.INFO: GPS data processed {"connection_id":132187,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:26:41] local.INFO: Acknowledgment sent {"connection_id":132187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:27:02] local.INFO: TCP Data received {"connection_id":132188,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:27:02] local.INFO: Processing buffer {"connection_id":132188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:27:02] local.INFO: IMEI packet received {"connection_id":132188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":132188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:27:07] local.INFO: TCP Data received {"connection_id":132188,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:27:07] local.INFO: Processing buffer {"connection_id":132188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:27:07] local.INFO: IMEI packet received {"connection_id":132188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":132188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:27:08] local.INFO: TCP Data received {"connection_id":132188,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f62d6ef68012d7f92c005afd830000d00502d..."} 
[2026-07-15 04:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62d6ef68012d7f92c005afd830000d00502d..."} 
[2026-07-15 04:27:08] local.INFO: Processing buffer {"connection_id":132188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62d6ef68012d7f92c005afd830000d00502d..."} 
[2026-07-15 04:27:08] local.INFO: Packet analysis {"connection_id":132188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62d6"} 
[2026-07-15 04:27:08] local.INFO: Extracted packet for processing {"connection_id":132188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62d6"} 
[2026-07-15 04:27:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":13,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721761280001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784069681000,"timestamp_ms":1784069681000,"timestamp_seconds":1784069681,"priority":1,"record_length":96,"hex_timestamp":"0000019f62d6ef68"} 
[2026-07-15 04:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-15 04:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721761280001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721761280001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:27:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:27:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721761280001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":132188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:27:08] local.INFO: GPS data processed {"connection_id":132188,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:27:08] local.INFO: Acknowledgment sent {"connection_id":132188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:27:39] local.INFO: TCP Data received {"connection_id":132188,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f62d6ef68012d7f92c005afd830000d00502d..."} 
[2026-07-15 04:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62d6ef68012d7f92c005afd830000d00502d..."} 
[2026-07-15 04:27:39] local.INFO: Processing buffer {"connection_id":132188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62d6ef68012d7f92c005afd830000d00502d..."} 
[2026-07-15 04:27:39] local.INFO: Packet analysis {"connection_id":132188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62d6"} 
[2026-07-15 04:27:39] local.INFO: Extracted packet for processing {"connection_id":132188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62d6"} 
[2026-07-15 04:27:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":13,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721761280001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784069681000,"timestamp_ms":1784069681000,"timestamp_seconds":1784069681,"priority":1,"record_length":96,"hex_timestamp":"0000019f62d6ef68"} 
[2026-07-15 04:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-15 04:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721761280001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721761280001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:27:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:27:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721761280001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":132188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:27:39] local.INFO: GPS data processed {"connection_id":132188,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:27:39] local.INFO: Acknowledgment sent {"connection_id":132188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:28:02] local.INFO: TCP Data received {"connection_id":134392,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:28:02] local.INFO: Processing buffer {"connection_id":134392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:28:02] local.INFO: IMEI packet received {"connection_id":134392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":134392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:28:07] local.INFO: TCP Data received {"connection_id":134392,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:28:07] local.INFO: Processing buffer {"connection_id":134392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:28:07] local.INFO: IMEI packet received {"connection_id":134392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":134392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:28:08] local.INFO: TCP Data received {"connection_id":134392,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f62d6ef68012d7f92c005afd830000d00502d..."} 
[2026-07-15 04:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62d6ef68012d7f92c005afd830000d00502d..."} 
[2026-07-15 04:28:08] local.INFO: Processing buffer {"connection_id":134392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62d6ef68012d7f92c005afd830000d00502d..."} 
[2026-07-15 04:28:08] local.INFO: Packet analysis {"connection_id":134392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62d6"} 
[2026-07-15 04:28:08] local.INFO: Extracted packet for processing {"connection_id":134392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62d6"} 
[2026-07-15 04:28:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":13,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721761280001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784069681000,"timestamp_ms":1784069681000,"timestamp_seconds":1784069681,"priority":1,"record_length":96,"hex_timestamp":"0000019f62d6ef68"} 
[2026-07-15 04:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-15 04:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721761280001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721761280001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:28:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:28:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721761280001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":134392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:28:08] local.INFO: GPS data processed {"connection_id":134392,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:28:08] local.INFO: Acknowledgment sent {"connection_id":134392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:28:39] local.INFO: TCP Data received {"connection_id":134392,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f62d6ef68012d7f92c005afd830000d00502d..."} 
[2026-07-15 04:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62d6ef68012d7f92c005afd830000d00502d..."} 
[2026-07-15 04:28:39] local.INFO: Processing buffer {"connection_id":134392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62d6ef68012d7f92c005afd830000d00502d..."} 
[2026-07-15 04:28:39] local.INFO: Packet analysis {"connection_id":134392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62d6"} 
[2026-07-15 04:28:39] local.INFO: Extracted packet for processing {"connection_id":134392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62d6"} 
[2026-07-15 04:28:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":13,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721761280001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:28:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784069681000,"timestamp_ms":1784069681000,"timestamp_seconds":1784069681,"priority":1,"record_length":96,"hex_timestamp":"0000019f62d6ef68"} 
[2026-07-15 04:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:28:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-15 04:28:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:28:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:28:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721761280001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721761280001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:28:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:28:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721761280001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":134392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:28:39] local.INFO: GPS data processed {"connection_id":134392,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:28:39] local.INFO: Acknowledgment sent {"connection_id":134392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:29:02] local.INFO: TCP Data received {"connection_id":132190,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:29:02] local.INFO: Processing buffer {"connection_id":132190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:29:02] local.INFO: IMEI packet received {"connection_id":132190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":132190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:29:07] local.INFO: TCP Data received {"connection_id":132190,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:29:07] local.INFO: Processing buffer {"connection_id":132190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:29:07] local.INFO: IMEI packet received {"connection_id":132190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":132190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:29:09] local.INFO: TCP Data received {"connection_id":132190,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f62d6ef68012d7f92c005afd830000d00502d..."} 
[2026-07-15 04:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62d6ef68012d7f92c005afd830000d00502d..."} 
[2026-07-15 04:29:09] local.INFO: Processing buffer {"connection_id":132190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62d6ef68012d7f92c005afd830000d00502d..."} 
[2026-07-15 04:29:09] local.INFO: Packet analysis {"connection_id":132190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62d6"} 
[2026-07-15 04:29:09] local.INFO: Extracted packet for processing {"connection_id":132190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62d6"} 
[2026-07-15 04:29:09] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":13,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721761280001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:29:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784069681000,"timestamp_ms":1784069681000,"timestamp_seconds":1784069681,"priority":1,"record_length":96,"hex_timestamp":"0000019f62d6ef68"} 
[2026-07-15 04:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-15 04:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":132190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":132190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":132190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721761280001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721761280001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:29:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:29:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721761280001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":132190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:29:09] local.INFO: GPS data processed {"connection_id":132190,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:29:09] local.INFO: Acknowledgment sent {"connection_id":132190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:29:40] local.INFO: TCP Data received {"connection_id":132190,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f62d6ef68012d7f92c005afd830000d00502d..."} 
[2026-07-15 04:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62d6ef68012d7f92c005afd830000d00502d..."} 
[2026-07-15 04:29:40] local.INFO: Processing buffer {"connection_id":132190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62d6ef68012d7f92c005afd830000d00502d..."} 
[2026-07-15 04:29:40] local.INFO: Packet analysis {"connection_id":132190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62d6"} 
[2026-07-15 04:29:40] local.INFO: Extracted packet for processing {"connection_id":132190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62d6"} 
[2026-07-15 04:29:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":13,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721761280001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784069681000,"timestamp_ms":1784069681000,"timestamp_seconds":1784069681,"priority":1,"record_length":96,"hex_timestamp":"0000019f62d6ef68"} 
[2026-07-15 04:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-15 04:29:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:29:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721761280001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721761280001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:29:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:29:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721761280001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":132190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:29:40] local.INFO: GPS data processed {"connection_id":132190,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:29:40] local.INFO: Acknowledgment sent {"connection_id":132190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:30:02] local.INFO: TCP Data received {"connection_id":134394,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:30:02] local.INFO: Processing buffer {"connection_id":134394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:30:02] local.INFO: IMEI packet received {"connection_id":134394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":134394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:30:07] local.INFO: TCP Data received {"connection_id":134394,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:30:07] local.INFO: Processing buffer {"connection_id":134394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:30:07] local.INFO: IMEI packet received {"connection_id":134394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":134394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:30:08] local.INFO: TCP Data received {"connection_id":134394,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f62d6ef68012d7f92c005afd830000d00502d..."} 
[2026-07-15 04:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62d6ef68012d7f92c005afd830000d00502d..."} 
[2026-07-15 04:30:08] local.INFO: Processing buffer {"connection_id":134394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62d6ef68012d7f92c005afd830000d00502d..."} 
[2026-07-15 04:30:08] local.INFO: Packet analysis {"connection_id":134394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62d6"} 
[2026-07-15 04:30:08] local.INFO: Extracted packet for processing {"connection_id":134394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62d6"} 
[2026-07-15 04:30:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":13,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04: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-07-15 04:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721761280001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784069681000,"timestamp_ms":1784069681000,"timestamp_seconds":1784069681,"priority":1,"record_length":96,"hex_timestamp":"0000019f62d6ef68"} 
[2026-07-15 04:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-15 04:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04: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-07-15 04:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721761280001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721761280001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:30:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:30:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721761280001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":134394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:30:08] local.INFO: GPS data processed {"connection_id":134394,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:30:08] local.INFO: Acknowledgment sent {"connection_id":134394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:30:39] local.INFO: TCP Data received {"connection_id":134394,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f62db8730012d7f92c005afd830000000502d..."} 
[2026-07-15 04:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62db8730012d7f92c005afd830000000502d..."} 
[2026-07-15 04:30:39] local.INFO: Processing buffer {"connection_id":134394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62db8730012d7f92c005afd830000000502d..."} 
[2026-07-15 04:30:39] local.INFO: Packet analysis {"connection_id":134394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62db"} 
[2026-07-15 04:30:39] local.INFO: Extracted packet for processing {"connection_id":134394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62db"} 
[2026-07-15 04:30:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04: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-07-15 04:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721838336001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:30:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784069982000,"timestamp_ms":1784069982000,"timestamp_seconds":1784069982,"priority":1,"record_length":96,"hex_timestamp":"0000019f62db8730"} 
[2026-07-15 04:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:30:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:30:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04: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-07-15 04:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:30:39] 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-07-15 04:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721838336001,"66":25549,"27":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 04:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721838336001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:30:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 04:30:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721838336001,"power":25549,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":134394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:30:39] local.INFO: GPS data processed {"connection_id":134394,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:30:39] local.INFO: Acknowledgment sent {"connection_id":134394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:31:02] local.INFO: TCP Data received {"connection_id":132015,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:31:02] local.INFO: Processing buffer {"connection_id":132015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:31:02] local.INFO: IMEI packet received {"connection_id":132015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":132015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:31:07] local.INFO: TCP Data received {"connection_id":132015,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:31:07] local.INFO: Processing buffer {"connection_id":132015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:31:07] local.INFO: IMEI packet received {"connection_id":132015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":132015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:31:08] local.INFO: TCP Data received {"connection_id":132015,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f62db8730012d7f92c005afd830000000502d..."} 
[2026-07-15 04:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62db8730012d7f92c005afd830000000502d..."} 
[2026-07-15 04:31:08] local.INFO: Processing buffer {"connection_id":132015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62db8730012d7f92c005afd830000000502d..."} 
[2026-07-15 04:31:08] local.INFO: Packet analysis {"connection_id":132015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62db"} 
[2026-07-15 04:31:08] local.INFO: Extracted packet for processing {"connection_id":132015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62db"} 
[2026-07-15 04:31:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721838336001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784069982000,"timestamp_ms":1784069982000,"timestamp_seconds":1784069982,"priority":1,"record_length":96,"hex_timestamp":"0000019f62db8730"} 
[2026-07-15 04:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:31:08] 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-07-15 04:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721838336001,"66":25549,"27":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 04:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721838336001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:31:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 04:31:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721838336001,"power":25549,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":132015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:31:08] local.INFO: GPS data processed {"connection_id":132015,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:31:08] local.INFO: Acknowledgment sent {"connection_id":132015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:31:39] local.INFO: TCP Data received {"connection_id":132015,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f62db8730012d7f92c005afd830000000502d..."} 
[2026-07-15 04:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62db8730012d7f92c005afd830000000502d..."} 
[2026-07-15 04:31:39] local.INFO: Processing buffer {"connection_id":132015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62db8730012d7f92c005afd830000000502d..."} 
[2026-07-15 04:31:39] local.INFO: Packet analysis {"connection_id":132015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62db"} 
[2026-07-15 04:31:39] local.INFO: Extracted packet for processing {"connection_id":132015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62db"} 
[2026-07-15 04:31:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04: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-07-15 04:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721838336001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784069982000,"timestamp_ms":1784069982000,"timestamp_seconds":1784069982,"priority":1,"record_length":96,"hex_timestamp":"0000019f62db8730"} 
[2026-07-15 04:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:31:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:31:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04: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-07-15 04:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:31:39] 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-07-15 04:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721838336001,"66":25549,"27":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 04:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721838336001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:31:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 04:31:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721838336001,"power":25549,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":132015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:31:39] local.INFO: GPS data processed {"connection_id":132015,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:31:39] local.INFO: Acknowledgment sent {"connection_id":132015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:31:41] local.INFO: TCP Data received {"connection_id":134395,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 04:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134395,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 04:31:41] local.INFO: Processing buffer {"connection_id":134395,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 04:31:41] local.INFO: IMEI packet received {"connection_id":134395,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 04:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":134395,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:32:02] local.INFO: TCP Data received {"connection_id":132191,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:32:02] local.INFO: Processing buffer {"connection_id":132191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:32:02] local.INFO: IMEI packet received {"connection_id":132191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":132191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:32:07] local.INFO: TCP Data received {"connection_id":132191,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:32:07] local.INFO: Processing buffer {"connection_id":132191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:32:07] local.INFO: IMEI packet received {"connection_id":132191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":132191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:32:08] local.INFO: TCP Data received {"connection_id":132191,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f62db8730012d7f92c005afd830000000502d..."} 
[2026-07-15 04:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62db8730012d7f92c005afd830000000502d..."} 
[2026-07-15 04:32:08] local.INFO: Processing buffer {"connection_id":132191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62db8730012d7f92c005afd830000000502d..."} 
[2026-07-15 04:32:08] local.INFO: Packet analysis {"connection_id":132191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62db"} 
[2026-07-15 04:32:08] local.INFO: Extracted packet for processing {"connection_id":132191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62db"} 
[2026-07-15 04:32:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721838336001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784069982000,"timestamp_ms":1784069982000,"timestamp_seconds":1784069982,"priority":1,"record_length":96,"hex_timestamp":"0000019f62db8730"} 
[2026-07-15 04:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721838336001,"66":25549,"27":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 04:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721838336001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:32:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 04:32:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721838336001,"power":25549,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":132191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:32:08] local.INFO: GPS data processed {"connection_id":132191,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:32:08] local.INFO: Acknowledgment sent {"connection_id":132191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:32:39] local.INFO: TCP Data received {"connection_id":132191,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f62db8730012d7f92c005afd830000000502d..."} 
[2026-07-15 04:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62db8730012d7f92c005afd830000000502d..."} 
[2026-07-15 04:32:39] local.INFO: Processing buffer {"connection_id":132191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62db8730012d7f92c005afd830000000502d..."} 
[2026-07-15 04:32:39] local.INFO: Packet analysis {"connection_id":132191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62db"} 
[2026-07-15 04:32:39] local.INFO: Extracted packet for processing {"connection_id":132191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62db"} 
[2026-07-15 04:32:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721838336001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784069982000,"timestamp_ms":1784069982000,"timestamp_seconds":1784069982,"priority":1,"record_length":96,"hex_timestamp":"0000019f62db8730"} 
[2026-07-15 04:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:32:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:32:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:32:39] 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-07-15 04:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721838336001,"66":25549,"27":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 04:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721838336001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:32:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 04:32:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721838336001,"power":25549,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":132191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:32:39] local.INFO: GPS data processed {"connection_id":132191,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:32:39] local.INFO: Acknowledgment sent {"connection_id":132191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:33:02] local.INFO: TCP Data received {"connection_id":132192,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:33:02] local.INFO: Processing buffer {"connection_id":132192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:33:02] local.INFO: IMEI packet received {"connection_id":132192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":132192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:33:07] local.INFO: TCP Data received {"connection_id":132192,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:33:07] local.INFO: Processing buffer {"connection_id":132192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:33:07] local.INFO: IMEI packet received {"connection_id":132192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":132192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:33:08] local.INFO: TCP Data received {"connection_id":132192,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f62db8730012d7f92c005afd830000000502d..."} 
[2026-07-15 04:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62db8730012d7f92c005afd830000000502d..."} 
[2026-07-15 04:33:08] local.INFO: Processing buffer {"connection_id":132192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62db8730012d7f92c005afd830000000502d..."} 
[2026-07-15 04:33:08] local.INFO: Packet analysis {"connection_id":132192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62db"} 
[2026-07-15 04:33:08] local.INFO: Extracted packet for processing {"connection_id":132192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62db"} 
[2026-07-15 04:33:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721838336001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784069982000,"timestamp_ms":1784069982000,"timestamp_seconds":1784069982,"priority":1,"record_length":96,"hex_timestamp":"0000019f62db8730"} 
[2026-07-15 04:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:33:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721838336001,"66":25549,"27":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 04:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721838336001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:33:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 04:33:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721838336001,"power":25549,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":132192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:33:08] local.INFO: GPS data processed {"connection_id":132192,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:33:08] local.INFO: Acknowledgment sent {"connection_id":132192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:33:39] local.INFO: TCP Data received {"connection_id":132192,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f62db8730012d7f92c005afd830000000502d..."} 
[2026-07-15 04:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62db8730012d7f92c005afd830000000502d..."} 
[2026-07-15 04:33:39] local.INFO: Processing buffer {"connection_id":132192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62db8730012d7f92c005afd830000000502d..."} 
[2026-07-15 04:33:39] local.INFO: Packet analysis {"connection_id":132192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62db"} 
[2026-07-15 04:33:39] local.INFO: Extracted packet for processing {"connection_id":132192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62db"} 
[2026-07-15 04:33:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721838336001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784069982000,"timestamp_ms":1784069982000,"timestamp_seconds":1784069982,"priority":1,"record_length":96,"hex_timestamp":"0000019f62db8730"} 
[2026-07-15 04:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:33:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:33:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721838336001,"66":25549,"27":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 04:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721838336001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:33:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 04:33:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721838336001,"power":25549,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":132192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:33:39] local.INFO: GPS data processed {"connection_id":132192,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:33:39] local.INFO: Acknowledgment sent {"connection_id":132192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:34:02] local.INFO: TCP Data received {"connection_id":132017,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:34:02] local.INFO: Processing buffer {"connection_id":132017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:34:02] local.INFO: IMEI packet received {"connection_id":132017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":132017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:34:07] local.INFO: TCP Data received {"connection_id":132017,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:34:07] local.INFO: Processing buffer {"connection_id":132017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:34:07] local.INFO: IMEI packet received {"connection_id":132017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":132017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:34:08] local.INFO: TCP Data received {"connection_id":132017,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f62db8730012d7f92c005afd830000000502d..."} 
[2026-07-15 04:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62db8730012d7f92c005afd830000000502d..."} 
[2026-07-15 04:34:08] local.INFO: Processing buffer {"connection_id":132017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62db8730012d7f92c005afd830000000502d..."} 
[2026-07-15 04:34:08] local.INFO: Packet analysis {"connection_id":132017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62db"} 
[2026-07-15 04:34:08] local.INFO: Extracted packet for processing {"connection_id":132017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62db"} 
[2026-07-15 04:34:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721838336001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784069982000,"timestamp_ms":1784069982000,"timestamp_seconds":1784069982,"priority":1,"record_length":96,"hex_timestamp":"0000019f62db8730"} 
[2026-07-15 04:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:34:08] 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-07-15 04:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721838336001,"66":25549,"27":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 04:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721838336001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:34:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 04:34:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721838336001,"power":25549,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":132017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:34:08] local.INFO: GPS data processed {"connection_id":132017,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:34:08] local.INFO: Acknowledgment sent {"connection_id":132017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:34:39] local.INFO: TCP Data received {"connection_id":132017,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f62db8730012d7f92c005afd830000000502d..."} 
[2026-07-15 04:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62db8730012d7f92c005afd830000000502d..."} 
[2026-07-15 04:34:39] local.INFO: Processing buffer {"connection_id":132017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62db8730012d7f92c005afd830000000502d..."} 
[2026-07-15 04:34:39] local.INFO: Packet analysis {"connection_id":132017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62db"} 
[2026-07-15 04:34:39] local.INFO: Extracted packet for processing {"connection_id":132017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62db"} 
[2026-07-15 04:34:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04: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-07-15 04:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721838336001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784069982000,"timestamp_ms":1784069982000,"timestamp_seconds":1784069982,"priority":1,"record_length":96,"hex_timestamp":"0000019f62db8730"} 
[2026-07-15 04:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:34:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04: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-07-15 04:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:34:39] 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-07-15 04:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721838336001,"66":25549,"27":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 04:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721838336001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:34:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 04:34:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721838336001,"power":25549,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":132017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:34:39] local.INFO: GPS data processed {"connection_id":132017,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:34:39] local.INFO: Acknowledgment sent {"connection_id":132017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:35:07] local.INFO: TCP Data received {"connection_id":132193,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:35:07] local.INFO: Processing buffer {"connection_id":132193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:35:07] local.INFO: IMEI packet received {"connection_id":132193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":132193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:35:12] local.INFO: TCP Data received {"connection_id":132193,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:35:12] local.INFO: Processing buffer {"connection_id":132193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:35:12] local.INFO: IMEI packet received {"connection_id":132193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":132193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:35:13] local.INFO: TCP Data received {"connection_id":132193,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f62db8730012d7f92c005afd830000000502d..."} 
[2026-07-15 04:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62db8730012d7f92c005afd830000000502d..."} 
[2026-07-15 04:35:13] local.INFO: Processing buffer {"connection_id":132193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62db8730012d7f92c005afd830000000502d..."} 
[2026-07-15 04:35:13] local.INFO: Packet analysis {"connection_id":132193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62db"} 
[2026-07-15 04:35:13] local.INFO: Extracted packet for processing {"connection_id":132193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62db"} 
[2026-07-15 04:35:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721838336001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784069982000,"timestamp_ms":1784069982000,"timestamp_seconds":1784069982,"priority":1,"record_length":96,"hex_timestamp":"0000019f62db8730"} 
[2026-07-15 04:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:35:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:35:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:35:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:35:13] 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-07-15 04:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721838336001,"66":25549,"27":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 04:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721838336001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:35:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 04:35:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721838336001,"power":25549,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":132193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:35:13] local.INFO: GPS data processed {"connection_id":132193,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:35:13] local.INFO: Acknowledgment sent {"connection_id":132193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:35:18] local.INFO: TCP Data received {"connection_id":132193,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f62db8730012d7f92c005afd830000000502d..."} 
[2026-07-15 04:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62db8730012d7f92c005afd830000000502d..."} 
[2026-07-15 04:35:18] local.INFO: Processing buffer {"connection_id":132193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62db8730012d7f92c005afd830000000502d..."} 
[2026-07-15 04:35:18] local.INFO: Packet analysis {"connection_id":132193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62db"} 
[2026-07-15 04:35:18] local.INFO: Extracted packet for processing {"connection_id":132193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62db"} 
[2026-07-15 04:35:18] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04: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-07-15 04:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721838336001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784069982000,"timestamp_ms":1784069982000,"timestamp_seconds":1784069982,"priority":1,"record_length":96,"hex_timestamp":"0000019f62db8730"} 
[2026-07-15 04:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:35:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:35:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04: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-07-15 04:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":132193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":132193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":132193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721838336001,"66":25549,"27":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 04:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721838336001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:35:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 04:35:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721838336001,"power":25549,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":132193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:35:18] local.INFO: GPS data processed {"connection_id":132193,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:35:18] local.INFO: Acknowledgment sent {"connection_id":132193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:36:02] local.INFO: TCP Data received {"connection_id":133035,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:36:02] local.INFO: Processing buffer {"connection_id":133035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:36:02] local.INFO: IMEI packet received {"connection_id":133035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":133035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:36:07] local.INFO: TCP Data received {"connection_id":133035,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:36:07] local.INFO: Processing buffer {"connection_id":133035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:36:07] local.INFO: IMEI packet received {"connection_id":133035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":133035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:36:08] local.INFO: TCP Data received {"connection_id":133035,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f62e01ef8012d7f92c005afd830000000502c..."} 
[2026-07-15 04:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62e01ef8012d7f92c005afd830000000502c..."} 
[2026-07-15 04:36:08] local.INFO: Processing buffer {"connection_id":133035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62e01ef8012d7f92c005afd830000000502c..."} 
[2026-07-15 04:36:08] local.INFO: Packet analysis {"connection_id":133035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62e0"} 
[2026-07-15 04:36:08] local.INFO: Extracted packet for processing {"connection_id":133035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62e0"} 
[2026-07-15 04:36:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04: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-07-15 04:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721915392001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784070283000,"timestamp_ms":1784070283000,"timestamp_seconds":1784070283,"priority":1,"record_length":96,"hex_timestamp":"0000019f62e01ef8"} 
[2026-07-15 04:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04: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-07-15 04:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":133035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":133035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":133035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:36:08] 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-07-15 04:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721915392001,"66":25549,"27":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 04:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721915392001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:36:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 04:36:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721915392001,"power":25549,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":133035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:36:08] local.INFO: GPS data processed {"connection_id":133035,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:36:08] local.INFO: Acknowledgment sent {"connection_id":133035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:36:39] local.INFO: TCP Data received {"connection_id":133035,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f62e01ef8012d7f92c005afd830000000502c..."} 
[2026-07-15 04:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62e01ef8012d7f92c005afd830000000502c..."} 
[2026-07-15 04:36:39] local.INFO: Processing buffer {"connection_id":133035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62e01ef8012d7f92c005afd830000000502c..."} 
[2026-07-15 04:36:39] local.INFO: Packet analysis {"connection_id":133035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62e0"} 
[2026-07-15 04:36:39] local.INFO: Extracted packet for processing {"connection_id":133035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62e0"} 
[2026-07-15 04:36:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721915392001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784070283000,"timestamp_ms":1784070283000,"timestamp_seconds":1784070283,"priority":1,"record_length":96,"hex_timestamp":"0000019f62e01ef8"} 
[2026-07-15 04:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:36:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:36:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:36:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:36:39] 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-07-15 04:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721915392001,"66":25549,"27":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 04:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721915392001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:36:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 04:36:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721915392001,"power":25549,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":133035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:36:39] local.INFO: GPS data processed {"connection_id":133035,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:36:39] local.INFO: Acknowledgment sent {"connection_id":133035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:37:02] local.INFO: TCP Data received {"connection_id":132196,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:37:02] local.INFO: Processing buffer {"connection_id":132196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:37:02] local.INFO: IMEI packet received {"connection_id":132196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":132196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:37:07] local.INFO: TCP Data received {"connection_id":132196,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:37:07] local.INFO: Processing buffer {"connection_id":132196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:37:07] local.INFO: IMEI packet received {"connection_id":132196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":132196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:37:08] local.INFO: TCP Data received {"connection_id":132196,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f62e01ef8012d7f92c005afd830000000502c..."} 
[2026-07-15 04:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62e01ef8012d7f92c005afd830000000502c..."} 
[2026-07-15 04:37:08] local.INFO: Processing buffer {"connection_id":132196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62e01ef8012d7f92c005afd830000000502c..."} 
[2026-07-15 04:37:08] local.INFO: Packet analysis {"connection_id":132196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62e0"} 
[2026-07-15 04:37:08] local.INFO: Extracted packet for processing {"connection_id":132196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62e0"} 
[2026-07-15 04:37:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721915392001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784070283000,"timestamp_ms":1784070283000,"timestamp_seconds":1784070283,"priority":1,"record_length":96,"hex_timestamp":"0000019f62e01ef8"} 
[2026-07-15 04:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:37:08] 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-07-15 04:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721915392001,"66":25549,"27":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 04:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721915392001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:37:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 04:37:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721915392001,"power":25549,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":132196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:37:08] local.INFO: GPS data processed {"connection_id":132196,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:37:08] local.INFO: Acknowledgment sent {"connection_id":132196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:37:11] local.INFO: TCP Data received {"connection_id":132195,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 04:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132195,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 04:37:11] local.INFO: Processing buffer {"connection_id":132195,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 04:37:11] local.INFO: IMEI packet received {"connection_id":132195,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 04:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":132195,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:37:35] local.INFO: TCP Data received {"connection_id":134396,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 04:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134396,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 04:37:35] local.INFO: Processing buffer {"connection_id":134396,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 04:37:35] local.INFO: IMEI packet received {"connection_id":134396,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 04:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":134396,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:37:39] local.INFO: TCP Data received {"connection_id":132196,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f62e01ef8012d7f92c005afd830000000502c..."} 
[2026-07-15 04:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62e01ef8012d7f92c005afd830000000502c..."} 
[2026-07-15 04:37:39] local.INFO: Processing buffer {"connection_id":132196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62e01ef8012d7f92c005afd830000000502c..."} 
[2026-07-15 04:37:39] local.INFO: Packet analysis {"connection_id":132196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62e0"} 
[2026-07-15 04:37:39] local.INFO: Extracted packet for processing {"connection_id":132196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62e0"} 
[2026-07-15 04:37:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721915392001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:37:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784070283000,"timestamp_ms":1784070283000,"timestamp_seconds":1784070283,"priority":1,"record_length":96,"hex_timestamp":"0000019f62e01ef8"} 
[2026-07-15 04:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:37:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:37:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:37:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:37:39] 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-07-15 04:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721915392001,"66":25549,"27":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 04:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721915392001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:37:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 04:37:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721915392001,"power":25549,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":132196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:37:39] local.INFO: GPS data processed {"connection_id":132196,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:37:39] local.INFO: Acknowledgment sent {"connection_id":132196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:38:02] local.INFO: TCP Data received {"connection_id":134397,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:38:02] local.INFO: Processing buffer {"connection_id":134397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:38:02] local.INFO: IMEI packet received {"connection_id":134397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":134397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:38:07] local.INFO: TCP Data received {"connection_id":134397,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:38:07] local.INFO: Processing buffer {"connection_id":134397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:38:07] local.INFO: IMEI packet received {"connection_id":134397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":134397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:38:08] local.INFO: TCP Data received {"connection_id":134397,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f62e01ef8012d7f92c005afd830000000502c..."} 
[2026-07-15 04:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62e01ef8012d7f92c005afd830000000502c..."} 
[2026-07-15 04:38:08] local.INFO: Processing buffer {"connection_id":134397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62e01ef8012d7f92c005afd830000000502c..."} 
[2026-07-15 04:38:08] local.INFO: Packet analysis {"connection_id":134397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62e0"} 
[2026-07-15 04:38:08] local.INFO: Extracted packet for processing {"connection_id":134397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62e0"} 
[2026-07-15 04:38:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721915392001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784070283000,"timestamp_ms":1784070283000,"timestamp_seconds":1784070283,"priority":1,"record_length":96,"hex_timestamp":"0000019f62e01ef8"} 
[2026-07-15 04:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721915392001,"66":25549,"27":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 04:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721915392001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:38:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 04:38:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721915392001,"power":25549,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":134397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:38:08] local.INFO: GPS data processed {"connection_id":134397,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:38:08] local.INFO: Acknowledgment sent {"connection_id":134397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:38:39] local.INFO: TCP Data received {"connection_id":134397,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f62e01ef8012d7f92c005afd830000000502c..."} 
[2026-07-15 04:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62e01ef8012d7f92c005afd830000000502c..."} 
[2026-07-15 04:38:39] local.INFO: Processing buffer {"connection_id":134397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62e01ef8012d7f92c005afd830000000502c..."} 
[2026-07-15 04:38:39] local.INFO: Packet analysis {"connection_id":134397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62e0"} 
[2026-07-15 04:38:39] local.INFO: Extracted packet for processing {"connection_id":134397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62e0"} 
[2026-07-15 04:38:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721915392001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784070283000,"timestamp_ms":1784070283000,"timestamp_seconds":1784070283,"priority":1,"record_length":96,"hex_timestamp":"0000019f62e01ef8"} 
[2026-07-15 04:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:38:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:38: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-07-15 04:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721915392001,"66":25549,"27":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 04:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721915392001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:38:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 04:38:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721915392001,"power":25549,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":134397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:38:39] local.INFO: GPS data processed {"connection_id":134397,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:38:39] local.INFO: Acknowledgment sent {"connection_id":134397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:39:02] local.INFO: TCP Data received {"connection_id":132019,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:39:02] local.INFO: Processing buffer {"connection_id":132019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:39:02] local.INFO: IMEI packet received {"connection_id":132019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":132019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:39:07] local.INFO: TCP Data received {"connection_id":132019,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:39:07] local.INFO: Processing buffer {"connection_id":132019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:39:07] local.INFO: IMEI packet received {"connection_id":132019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":132019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:39:08] local.INFO: TCP Data received {"connection_id":132019,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f62e01ef8012d7f92c005afd830000000502c..."} 
[2026-07-15 04:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62e01ef8012d7f92c005afd830000000502c..."} 
[2026-07-15 04:39:08] local.INFO: Processing buffer {"connection_id":132019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62e01ef8012d7f92c005afd830000000502c..."} 
[2026-07-15 04:39:08] local.INFO: Packet analysis {"connection_id":132019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62e0"} 
[2026-07-15 04:39:08] local.INFO: Extracted packet for processing {"connection_id":132019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62e0"} 
[2026-07-15 04:39:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721915392001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784070283000,"timestamp_ms":1784070283000,"timestamp_seconds":1784070283,"priority":1,"record_length":96,"hex_timestamp":"0000019f62e01ef8"} 
[2026-07-15 04:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:39:08] 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-07-15 04:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721915392001,"66":25549,"27":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 04:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721915392001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:39:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 04:39:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721915392001,"power":25549,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":132019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:39:08] local.INFO: GPS data processed {"connection_id":132019,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:39:08] local.INFO: Acknowledgment sent {"connection_id":132019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:39:41] local.INFO: TCP Data received {"connection_id":132019,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f62e01ef8012d7f92c005afd830000000502c..."} 
[2026-07-15 04:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62e01ef8012d7f92c005afd830000000502c..."} 
[2026-07-15 04:39:41] local.INFO: Processing buffer {"connection_id":132019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62e01ef8012d7f92c005afd830000000502c..."} 
[2026-07-15 04:39:41] local.INFO: Packet analysis {"connection_id":132019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62e0"} 
[2026-07-15 04:39:41] local.INFO: Extracted packet for processing {"connection_id":132019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62e0"} 
[2026-07-15 04:39:41] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721915392001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:39:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784070283000,"timestamp_ms":1784070283000,"timestamp_seconds":1784070283,"priority":1,"record_length":96,"hex_timestamp":"0000019f62e01ef8"} 
[2026-07-15 04:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:39:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:39:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:39:41] 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-07-15 04:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721915392001,"66":25549,"27":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 04:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721915392001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:39:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 04:39:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:39:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721915392001,"power":25549,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":132019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:39:41] local.INFO: GPS data processed {"connection_id":132019,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:39:41] local.INFO: Acknowledgment sent {"connection_id":132019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:40:07] local.INFO: TCP Data received {"connection_id":132197,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:40:07] local.INFO: Processing buffer {"connection_id":132197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:40:07] local.INFO: IMEI packet received {"connection_id":132197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":132197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:40:12] local.INFO: TCP Data received {"connection_id":132197,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:40:12] local.INFO: Processing buffer {"connection_id":132197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:40:12] local.INFO: IMEI packet received {"connection_id":132197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":132197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:40:13] local.INFO: TCP Data received {"connection_id":132197,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f62e01ef8012d7f92c005afd830000000502c..."} 
[2026-07-15 04:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62e01ef8012d7f92c005afd830000000502c..."} 
[2026-07-15 04:40:13] local.INFO: Processing buffer {"connection_id":132197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62e01ef8012d7f92c005afd830000000502c..."} 
[2026-07-15 04:40:13] local.INFO: Packet analysis {"connection_id":132197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62e0"} 
[2026-07-15 04:40:13] local.INFO: Extracted packet for processing {"connection_id":132197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62e0"} 
[2026-07-15 04:40:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:40:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721915392001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:40:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:40:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:40:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:40:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784070283000,"timestamp_ms":1784070283000,"timestamp_seconds":1784070283,"priority":1,"record_length":96,"hex_timestamp":"0000019f62e01ef8"} 
[2026-07-15 04:40:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:40:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:40:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:40:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:40:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:40:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:40:13] 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-07-15 04:40:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:40:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:40:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721915392001,"66":25549,"27":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 04:40:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:40:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:40:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721915392001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:40:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 04:40:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:40:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:40:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:40:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721915392001,"power":25549,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":132197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:40:13] local.INFO: GPS data processed {"connection_id":132197,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:40:13] local.INFO: Acknowledgment sent {"connection_id":132197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:40:17] local.INFO: TCP Data received {"connection_id":132197,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f62e01ef8012d7f92c005afd830000000502c..."} 
[2026-07-15 04:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62e01ef8012d7f92c005afd830000000502c..."} 
[2026-07-15 04:40:17] local.INFO: Processing buffer {"connection_id":132197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62e01ef8012d7f92c005afd830000000502c..."} 
[2026-07-15 04:40:17] local.INFO: Packet analysis {"connection_id":132197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62e0"} 
[2026-07-15 04:40:17] local.INFO: Extracted packet for processing {"connection_id":132197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62e0"} 
[2026-07-15 04:40:17] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:40:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:40:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721915392001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:40:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:40:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:40:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:40:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784070283000,"timestamp_ms":1784070283000,"timestamp_seconds":1784070283,"priority":1,"record_length":96,"hex_timestamp":"0000019f62e01ef8"} 
[2026-07-15 04:40:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:40:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:40:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:40:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:40:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:40:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:40:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:40:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:40:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:40:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:40:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:40:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:40:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:40:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721915392001,"66":25549,"27":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 04:40:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:40:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:40:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721915392001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:40:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 04:40:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:40:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:40:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:40:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721915392001,"power":25549,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:40:17] local.INFO: DEBUG: GPS processor result {"connection_id":132197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:40:17] local.INFO: GPS data processed {"connection_id":132197,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:40:17] local.INFO: Acknowledgment sent {"connection_id":132197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:41:02] local.INFO: TCP Data received {"connection_id":134399,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:41:02] local.INFO: Processing buffer {"connection_id":134399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:41:02] local.INFO: IMEI packet received {"connection_id":134399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":134399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:41:07] local.INFO: TCP Data received {"connection_id":134399,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:41:07] local.INFO: Processing buffer {"connection_id":134399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:41:07] local.INFO: IMEI packet received {"connection_id":134399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":134399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:41:08] local.INFO: TCP Data received {"connection_id":134399,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f62e4b6c0012d7f92c005afd830000000502b..."} 
[2026-07-15 04:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62e4b6c0012d7f92c005afd830000000502b..."} 
[2026-07-15 04:41:08] local.INFO: Processing buffer {"connection_id":134399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62e4b6c0012d7f92c005afd830000000502b..."} 
[2026-07-15 04:41:08] local.INFO: Packet analysis {"connection_id":134399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62e4"} 
[2026-07-15 04:41:08] local.INFO: Extracted packet for processing {"connection_id":134399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62e4"} 
[2026-07-15 04:41:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04: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-07-15 04:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721992448001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784070584000,"timestamp_ms":1784070584000,"timestamp_seconds":1784070584,"priority":1,"record_length":96,"hex_timestamp":"0000019f62e4b6c0"} 
[2026-07-15 04:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04: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-07-15 04:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:41:08] 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-07-15 04:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721992448001,"66":25560,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721992448001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:41:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:41:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721992448001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":134399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:41:08] local.INFO: GPS data processed {"connection_id":134399,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:41:08] local.INFO: Acknowledgment sent {"connection_id":134399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:41:39] local.INFO: TCP Data received {"connection_id":134399,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f62e4b6c0012d7f92c005afd830000000502b..."} 
[2026-07-15 04:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62e4b6c0012d7f92c005afd830000000502b..."} 
[2026-07-15 04:41:39] local.INFO: Processing buffer {"connection_id":134399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62e4b6c0012d7f92c005afd830000000502b..."} 
[2026-07-15 04:41:39] local.INFO: Packet analysis {"connection_id":134399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62e4"} 
[2026-07-15 04:41:39] local.INFO: Extracted packet for processing {"connection_id":134399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62e4"} 
[2026-07-15 04:41:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04: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-07-15 04:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721992448001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784070584000,"timestamp_ms":1784070584000,"timestamp_seconds":1784070584,"priority":1,"record_length":96,"hex_timestamp":"0000019f62e4b6c0"} 
[2026-07-15 04:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:41:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04: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-07-15 04:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:41:39] 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-07-15 04:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721992448001,"66":25560,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721992448001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:41:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:41:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721992448001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":134399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:41:39] local.INFO: GPS data processed {"connection_id":134399,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:41:39] local.INFO: Acknowledgment sent {"connection_id":134399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:42:03] local.INFO: TCP Data received {"connection_id":132198,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:42:03] local.INFO: Processing buffer {"connection_id":132198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:42:03] local.INFO: IMEI packet received {"connection_id":132198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":132198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:42:07] local.INFO: TCP Data received {"connection_id":132198,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:42:07] local.INFO: Processing buffer {"connection_id":132198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:42:07] local.INFO: IMEI packet received {"connection_id":132198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":132198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:42:08] local.INFO: TCP Data received {"connection_id":132198,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f62e4b6c0012d7f92c005afd830000000502b..."} 
[2026-07-15 04:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62e4b6c0012d7f92c005afd830000000502b..."} 
[2026-07-15 04:42:08] local.INFO: Processing buffer {"connection_id":132198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62e4b6c0012d7f92c005afd830000000502b..."} 
[2026-07-15 04:42:08] local.INFO: Packet analysis {"connection_id":132198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62e4"} 
[2026-07-15 04:42:08] local.INFO: Extracted packet for processing {"connection_id":132198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62e4"} 
[2026-07-15 04:42:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04: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-07-15 04:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721992448001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784070584000,"timestamp_ms":1784070584000,"timestamp_seconds":1784070584,"priority":1,"record_length":96,"hex_timestamp":"0000019f62e4b6c0"} 
[2026-07-15 04:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:42:08] 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-07-15 04:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721992448001,"66":25560,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721992448001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:42:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:42:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721992448001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":132198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:42:08] local.INFO: GPS data processed {"connection_id":132198,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:42:08] local.INFO: Acknowledgment sent {"connection_id":132198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:42:39] local.INFO: TCP Data received {"connection_id":132198,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f62e4b6c0012d7f92c005afd830000000502b..."} 
[2026-07-15 04:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62e4b6c0012d7f92c005afd830000000502b..."} 
[2026-07-15 04:42:39] local.INFO: Processing buffer {"connection_id":132198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62e4b6c0012d7f92c005afd830000000502b..."} 
[2026-07-15 04:42:39] local.INFO: Packet analysis {"connection_id":132198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62e4"} 
[2026-07-15 04:42:39] local.INFO: Extracted packet for processing {"connection_id":132198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62e4"} 
[2026-07-15 04:42:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721992448001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:42:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784070584000,"timestamp_ms":1784070584000,"timestamp_seconds":1784070584,"priority":1,"record_length":96,"hex_timestamp":"0000019f62e4b6c0"} 
[2026-07-15 04:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:42:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:42:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:42:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:42:39] 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-07-15 04:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721992448001,"66":25560,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721992448001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:42:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:42:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721992448001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":132198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:42:39] local.INFO: GPS data processed {"connection_id":132198,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:42:39] local.INFO: Acknowledgment sent {"connection_id":132198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:43:01] local.INFO: TCP Data received {"connection_id":134400,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 04:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134400,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 04:43:01] local.INFO: Processing buffer {"connection_id":134400,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 04:43:01] local.INFO: IMEI packet received {"connection_id":134400,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 04:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":134400,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:43:02] local.INFO: TCP Data received {"connection_id":132199,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:43:02] local.INFO: Processing buffer {"connection_id":132199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:43:02] local.INFO: IMEI packet received {"connection_id":132199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":132199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:43:07] local.INFO: TCP Data received {"connection_id":132199,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:43:07] local.INFO: Processing buffer {"connection_id":132199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:43:07] local.INFO: IMEI packet received {"connection_id":132199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":132199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:43:09] local.INFO: TCP Data received {"connection_id":132199,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f62e4b6c0012d7f92c005afd830000000502b..."} 
[2026-07-15 04:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62e4b6c0012d7f92c005afd830000000502b..."} 
[2026-07-15 04:43:09] local.INFO: Processing buffer {"connection_id":132199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62e4b6c0012d7f92c005afd830000000502b..."} 
[2026-07-15 04:43:09] local.INFO: Packet analysis {"connection_id":132199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62e4"} 
[2026-07-15 04:43:09] local.INFO: Extracted packet for processing {"connection_id":132199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62e4"} 
[2026-07-15 04:43:09] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721992448001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:43:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784070584000,"timestamp_ms":1784070584000,"timestamp_seconds":1784070584,"priority":1,"record_length":96,"hex_timestamp":"0000019f62e4b6c0"} 
[2026-07-15 04:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04: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-07-15 04:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":132199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":132199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":132199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:43:09] 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-07-15 04:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721992448001,"66":25560,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721992448001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:43:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:43:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721992448001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":132199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:43:09] local.INFO: GPS data processed {"connection_id":132199,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:43:09] local.INFO: Acknowledgment sent {"connection_id":132199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:43:40] local.INFO: TCP Data received {"connection_id":132199,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f62e4b6c0012d7f92c005afd830000000502b..."} 
[2026-07-15 04:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62e4b6c0012d7f92c005afd830000000502b..."} 
[2026-07-15 04:43:40] local.INFO: Processing buffer {"connection_id":132199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62e4b6c0012d7f92c005afd830000000502b..."} 
[2026-07-15 04:43:40] local.INFO: Packet analysis {"connection_id":132199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62e4"} 
[2026-07-15 04:43:40] local.INFO: Extracted packet for processing {"connection_id":132199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62e4"} 
[2026-07-15 04:43:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721992448001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:43:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:43:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784070584000,"timestamp_ms":1784070584000,"timestamp_seconds":1784070584,"priority":1,"record_length":96,"hex_timestamp":"0000019f62e4b6c0"} 
[2026-07-15 04:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:43:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:43:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:43:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:43:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721992448001,"66":25560,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721992448001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:43:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:43:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:43:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721992448001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":132199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:43:40] local.INFO: GPS data processed {"connection_id":132199,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:43:40] local.INFO: Acknowledgment sent {"connection_id":132199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:43:41] local.INFO: TCP Data received {"connection_id":134401,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 04:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134401,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 04:43:41] local.INFO: Processing buffer {"connection_id":134401,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 04:43:41] local.INFO: IMEI packet received {"connection_id":134401,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 04:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":134401,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:44:07] local.INFO: TCP Data received {"connection_id":133036,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:44:07] local.INFO: Processing buffer {"connection_id":133036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:44:07] local.INFO: IMEI packet received {"connection_id":133036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":133036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:44:12] local.INFO: TCP Data received {"connection_id":133036,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:44:12] local.INFO: Processing buffer {"connection_id":133036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:44:12] local.INFO: IMEI packet received {"connection_id":133036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":133036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:44:13] local.INFO: TCP Data received {"connection_id":133036,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f62e4b6c0012d7f92c005afd830000000502b..."} 
[2026-07-15 04:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62e4b6c0012d7f92c005afd830000000502b..."} 
[2026-07-15 04:44:13] local.INFO: Processing buffer {"connection_id":133036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62e4b6c0012d7f92c005afd830000000502b..."} 
[2026-07-15 04:44:13] local.INFO: Packet analysis {"connection_id":133036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62e4"} 
[2026-07-15 04:44:13] local.INFO: Extracted packet for processing {"connection_id":133036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62e4"} 
[2026-07-15 04:44:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721992448001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784070584000,"timestamp_ms":1784070584000,"timestamp_seconds":1784070584,"priority":1,"record_length":96,"hex_timestamp":"0000019f62e4b6c0"} 
[2026-07-15 04:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:44:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:44:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:44:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":133036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":133036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":133036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:44:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721992448001,"66":25560,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721992448001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:44:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:44:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721992448001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":133036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:44:13] local.INFO: GPS data processed {"connection_id":133036,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:44:13] local.INFO: Acknowledgment sent {"connection_id":133036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:44:17] local.INFO: TCP Data received {"connection_id":133036,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f62e4b6c0012d7f92c005afd830000000502b..."} 
[2026-07-15 04:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62e4b6c0012d7f92c005afd830000000502b..."} 
[2026-07-15 04:44:17] local.INFO: Processing buffer {"connection_id":133036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62e4b6c0012d7f92c005afd830000000502b..."} 
[2026-07-15 04:44:17] local.INFO: Packet analysis {"connection_id":133036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62e4"} 
[2026-07-15 04:44:17] local.INFO: Extracted packet for processing {"connection_id":133036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62e4"} 
[2026-07-15 04:44:17] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721992448001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784070584000,"timestamp_ms":1784070584000,"timestamp_seconds":1784070584,"priority":1,"record_length":96,"hex_timestamp":"0000019f62e4b6c0"} 
[2026-07-15 04:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:44:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:44:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":133036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":133036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":133036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721992448001,"66":25560,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721992448001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:44:17] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:44:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721992448001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":133036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:44:17] local.INFO: GPS data processed {"connection_id":133036,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:44:17] local.INFO: Acknowledgment sent {"connection_id":133036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:45:02] local.INFO: TCP Data received {"connection_id":132022,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:45:02] local.INFO: Processing buffer {"connection_id":132022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:45:02] local.INFO: IMEI packet received {"connection_id":132022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":132022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:45:07] local.INFO: TCP Data received {"connection_id":132022,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:45:07] local.INFO: Processing buffer {"connection_id":132022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:45:07] local.INFO: IMEI packet received {"connection_id":132022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":132022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:45:08] local.INFO: TCP Data received {"connection_id":132022,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f62e4b6c0012d7f92c005afd830000000502b..."} 
[2026-07-15 04:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62e4b6c0012d7f92c005afd830000000502b..."} 
[2026-07-15 04:45:08] local.INFO: Processing buffer {"connection_id":132022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62e4b6c0012d7f92c005afd830000000502b..."} 
[2026-07-15 04:45:08] local.INFO: Packet analysis {"connection_id":132022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62e4"} 
[2026-07-15 04:45:08] local.INFO: Extracted packet for processing {"connection_id":132022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62e4"} 
[2026-07-15 04:45:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456721992448001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784070584000,"timestamp_ms":1784070584000,"timestamp_seconds":1784070584,"priority":1,"record_length":96,"hex_timestamp":"0000019f62e4b6c0"} 
[2026-07-15 04:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456721992448001,"66":25560,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456721992448001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:45:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:45:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456721992448001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":132022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:45:08] local.INFO: GPS data processed {"connection_id":132022,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:45:08] local.INFO: Acknowledgment sent {"connection_id":132022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:45:39] local.INFO: TCP Data received {"connection_id":132022,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f62e94e88012d7f92c005afd8300000005027..."} 
[2026-07-15 04:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62e94e88012d7f92c005afd8300000005027..."} 
[2026-07-15 04:45:39] local.INFO: Processing buffer {"connection_id":132022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62e94e88012d7f92c005afd8300000005027..."} 
[2026-07-15 04:45:39] local.INFO: Packet analysis {"connection_id":132022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62e9"} 
[2026-07-15 04:45:39] local.INFO: Extracted packet for processing {"connection_id":132022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62e9"} 
[2026-07-15 04:45:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722069504001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784070885000,"timestamp_ms":1784070885000,"timestamp_seconds":1784070885,"priority":1,"record_length":96,"hex_timestamp":"0000019f62e94e88"} 
[2026-07-15 04:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:45:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 04:45:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:45:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:45: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-07-15 04:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722069504001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722069504001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:45:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:45:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722069504001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":132022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:45:39] local.INFO: GPS data processed {"connection_id":132022,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:45:39] local.INFO: Acknowledgment sent {"connection_id":132022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:46:02] local.INFO: TCP Data received {"connection_id":134403,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:46:02] local.INFO: Processing buffer {"connection_id":134403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:46:02] local.INFO: IMEI packet received {"connection_id":134403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":134403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:46:07] local.INFO: TCP Data received {"connection_id":134403,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:46:07] local.INFO: Processing buffer {"connection_id":134403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:46:07] local.INFO: IMEI packet received {"connection_id":134403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":134403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:46:08] local.INFO: TCP Data received {"connection_id":134403,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f62e94e88012d7f92c005afd8300000005027..."} 
[2026-07-15 04:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62e94e88012d7f92c005afd8300000005027..."} 
[2026-07-15 04:46:08] local.INFO: Processing buffer {"connection_id":134403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62e94e88012d7f92c005afd8300000005027..."} 
[2026-07-15 04:46:08] local.INFO: Packet analysis {"connection_id":134403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62e9"} 
[2026-07-15 04:46:08] local.INFO: Extracted packet for processing {"connection_id":134403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62e9"} 
[2026-07-15 04:46:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722069504001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784070885000,"timestamp_ms":1784070885000,"timestamp_seconds":1784070885,"priority":1,"record_length":96,"hex_timestamp":"0000019f62e94e88"} 
[2026-07-15 04:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 04:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:46:08] 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-07-15 04:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722069504001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722069504001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:46:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:46:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722069504001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":134403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:46:08] local.INFO: GPS data processed {"connection_id":134403,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:46:08] local.INFO: Acknowledgment sent {"connection_id":134403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:46:39] local.INFO: TCP Data received {"connection_id":134403,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f62e94e88012d7f92c005afd8300000005027..."} 
[2026-07-15 04:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62e94e88012d7f92c005afd8300000005027..."} 
[2026-07-15 04:46:39] local.INFO: Processing buffer {"connection_id":134403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62e94e88012d7f92c005afd8300000005027..."} 
[2026-07-15 04:46:39] local.INFO: Packet analysis {"connection_id":134403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62e9"} 
[2026-07-15 04:46:39] local.INFO: Extracted packet for processing {"connection_id":134403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62e9"} 
[2026-07-15 04:46:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722069504001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784070885000,"timestamp_ms":1784070885000,"timestamp_seconds":1784070885,"priority":1,"record_length":96,"hex_timestamp":"0000019f62e94e88"} 
[2026-07-15 04:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 04:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:46:39] 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-07-15 04:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722069504001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722069504001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:46:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:46:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722069504001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":134403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:46:39] local.INFO: GPS data processed {"connection_id":134403,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:46:39] local.INFO: Acknowledgment sent {"connection_id":134403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:47:02] local.INFO: TCP Data received {"connection_id":133039,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:47:02] local.INFO: Processing buffer {"connection_id":133039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:47:02] local.INFO: IMEI packet received {"connection_id":133039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":133039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:47:07] local.INFO: TCP Data received {"connection_id":133039,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:47:07] local.INFO: Processing buffer {"connection_id":133039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:47:07] local.INFO: IMEI packet received {"connection_id":133039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":133039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:47:08] local.INFO: TCP Data received {"connection_id":133039,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f62e94e88012d7f92c005afd8300000005027..."} 
[2026-07-15 04:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62e94e88012d7f92c005afd8300000005027..."} 
[2026-07-15 04:47:08] local.INFO: Processing buffer {"connection_id":133039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62e94e88012d7f92c005afd8300000005027..."} 
[2026-07-15 04:47:08] local.INFO: Packet analysis {"connection_id":133039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62e9"} 
[2026-07-15 04:47:08] local.INFO: Extracted packet for processing {"connection_id":133039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62e9"} 
[2026-07-15 04:47:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04: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-07-15 04:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722069504001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784070885000,"timestamp_ms":1784070885000,"timestamp_seconds":1784070885,"priority":1,"record_length":96,"hex_timestamp":"0000019f62e94e88"} 
[2026-07-15 04:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 04:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04: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-07-15 04:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":133039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":133039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":133039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:47:08] 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-07-15 04:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722069504001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722069504001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:47:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:47:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722069504001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":133039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:47:08] local.INFO: GPS data processed {"connection_id":133039,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:47:08] local.INFO: Acknowledgment sent {"connection_id":133039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:47:41] local.INFO: TCP Data received {"connection_id":133039,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f62e94e88012d7f92c005afd8300000005027..."} 
[2026-07-15 04:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62e94e88012d7f92c005afd8300000005027..."} 
[2026-07-15 04:47:41] local.INFO: Processing buffer {"connection_id":133039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62e94e88012d7f92c005afd8300000005027..."} 
[2026-07-15 04:47:41] local.INFO: Packet analysis {"connection_id":133039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62e9"} 
[2026-07-15 04:47:41] local.INFO: Extracted packet for processing {"connection_id":133039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62e9"} 
[2026-07-15 04:47:41] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722069504001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784070885000,"timestamp_ms":1784070885000,"timestamp_seconds":1784070885,"priority":1,"record_length":96,"hex_timestamp":"0000019f62e94e88"} 
[2026-07-15 04:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 04:47:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":133039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":133039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":133039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:47:41] 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-07-15 04:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722069504001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722069504001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:47:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:47:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722069504001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":133039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:47:41] local.INFO: GPS data processed {"connection_id":133039,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:47:41] local.INFO: Acknowledgment sent {"connection_id":133039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:48:07] local.INFO: TCP Data received {"connection_id":134404,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:48:07] local.INFO: Processing buffer {"connection_id":134404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:48:07] local.INFO: IMEI packet received {"connection_id":134404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":134404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:48:12] local.INFO: TCP Data received {"connection_id":134404,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:48:12] local.INFO: Processing buffer {"connection_id":134404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:48:12] local.INFO: IMEI packet received {"connection_id":134404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":134404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:48:13] local.INFO: TCP Data received {"connection_id":134404,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f62e94e88012d7f92c005afd8300000005027..."} 
[2026-07-15 04:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62e94e88012d7f92c005afd8300000005027..."} 
[2026-07-15 04:48:13] local.INFO: Processing buffer {"connection_id":134404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62e94e88012d7f92c005afd8300000005027..."} 
[2026-07-15 04:48:13] local.INFO: Packet analysis {"connection_id":134404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62e9"} 
[2026-07-15 04:48:13] local.INFO: Extracted packet for processing {"connection_id":134404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62e9"} 
[2026-07-15 04:48:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722069504001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:48:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:48:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784070885000,"timestamp_ms":1784070885000,"timestamp_seconds":1784070885,"priority":1,"record_length":96,"hex_timestamp":"0000019f62e94e88"} 
[2026-07-15 04:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:48:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 04:48:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:48:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":134404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":134404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":134404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:48:13] 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-07-15 04:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722069504001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722069504001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:48:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:48:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:48:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:48:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:48:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722069504001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":134404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:48:13] local.INFO: GPS data processed {"connection_id":134404,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:48:13] local.INFO: Acknowledgment sent {"connection_id":134404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:48:17] local.INFO: TCP Data received {"connection_id":134404,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f62e94e88012d7f92c005afd8300000005027..."} 
[2026-07-15 04:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62e94e88012d7f92c005afd8300000005027..."} 
[2026-07-15 04:48:17] local.INFO: Processing buffer {"connection_id":134404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62e94e88012d7f92c005afd8300000005027..."} 
[2026-07-15 04:48:17] local.INFO: Packet analysis {"connection_id":134404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62e9"} 
[2026-07-15 04:48:17] local.INFO: Extracted packet for processing {"connection_id":134404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62e9"} 
[2026-07-15 04:48:17] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722069504001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:48:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784070885000,"timestamp_ms":1784070885000,"timestamp_seconds":1784070885,"priority":1,"record_length":96,"hex_timestamp":"0000019f62e94e88"} 
[2026-07-15 04:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:48:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 04:48:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:48:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":134404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":134404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":134404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:48:17] 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-07-15 04:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722069504001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722069504001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:48:17] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:48:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722069504001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":134404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:48:17] local.INFO: GPS data processed {"connection_id":134404,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:48:17] local.INFO: Acknowledgment sent {"connection_id":134404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:49:00] local.INFO: TCP Data received {"connection_id":133040,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 04:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133040,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 04:49:00] local.INFO: Processing buffer {"connection_id":133040,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 04:49:00] local.INFO: IMEI packet received {"connection_id":133040,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 04:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":133040,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:49:02] local.INFO: TCP Data received {"connection_id":134405,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:49:02] local.INFO: Processing buffer {"connection_id":134405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:49:02] local.INFO: IMEI packet received {"connection_id":134405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":134405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:49:07] local.INFO: TCP Data received {"connection_id":134405,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:49:07] local.INFO: Processing buffer {"connection_id":134405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:49:07] local.INFO: IMEI packet received {"connection_id":134405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":134405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:49:08] local.INFO: TCP Data received {"connection_id":134405,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f62e94e88012d7f92c005afd8300000005027..."} 
[2026-07-15 04:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62e94e88012d7f92c005afd8300000005027..."} 
[2026-07-15 04:49:08] local.INFO: Processing buffer {"connection_id":134405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62e94e88012d7f92c005afd8300000005027..."} 
[2026-07-15 04:49:08] local.INFO: Packet analysis {"connection_id":134405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62e9"} 
[2026-07-15 04:49:08] local.INFO: Extracted packet for processing {"connection_id":134405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62e9"} 
[2026-07-15 04:49:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722069504001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:49:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784070885000,"timestamp_ms":1784070885000,"timestamp_seconds":1784070885,"priority":1,"record_length":96,"hex_timestamp":"0000019f62e94e88"} 
[2026-07-15 04:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 04:49:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:49:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:49:08] 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-07-15 04:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722069504001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722069504001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:49:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:49:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722069504001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":134405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:49:08] local.INFO: GPS data processed {"connection_id":134405,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:49:08] local.INFO: Acknowledgment sent {"connection_id":134405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:49:39] local.INFO: TCP Data received {"connection_id":134405,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f62e94e88012d7f92c005afd8300000005027..."} 
[2026-07-15 04:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62e94e88012d7f92c005afd8300000005027..."} 
[2026-07-15 04:49:39] local.INFO: Processing buffer {"connection_id":134405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62e94e88012d7f92c005afd8300000005027..."} 
[2026-07-15 04:49:39] local.INFO: Packet analysis {"connection_id":134405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62e9"} 
[2026-07-15 04:49:39] local.INFO: Extracted packet for processing {"connection_id":134405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62e9"} 
[2026-07-15 04:49:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722069504001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784070885000,"timestamp_ms":1784070885000,"timestamp_seconds":1784070885,"priority":1,"record_length":96,"hex_timestamp":"0000019f62e94e88"} 
[2026-07-15 04:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 04:49:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:49:39] 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-07-15 04:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722069504001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722069504001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:49:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:49:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722069504001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":134405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:49:39] local.INFO: GPS data processed {"connection_id":134405,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:49:39] local.INFO: Acknowledgment sent {"connection_id":134405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:49:41] local.INFO: TCP Data received {"connection_id":132201,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 04:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132201,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 04:49:41] local.INFO: Processing buffer {"connection_id":132201,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 04:49:41] local.INFO: IMEI packet received {"connection_id":132201,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 04:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":132201,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:50:02] local.INFO: TCP Data received {"connection_id":132023,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:50:02] local.INFO: Processing buffer {"connection_id":132023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:50:02] local.INFO: IMEI packet received {"connection_id":132023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":132023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:50:07] local.INFO: TCP Data received {"connection_id":132023,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:50:07] local.INFO: Processing buffer {"connection_id":132023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:50:07] local.INFO: IMEI packet received {"connection_id":132023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":132023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:50:08] local.INFO: TCP Data received {"connection_id":132023,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f62e94e88012d7f92c005afd8300000005027..."} 
[2026-07-15 04:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62e94e88012d7f92c005afd8300000005027..."} 
[2026-07-15 04:50:08] local.INFO: Processing buffer {"connection_id":132023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62e94e88012d7f92c005afd8300000005027..."} 
[2026-07-15 04:50:08] local.INFO: Packet analysis {"connection_id":132023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62e9"} 
[2026-07-15 04:50:08] local.INFO: Extracted packet for processing {"connection_id":132023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62e9"} 
[2026-07-15 04:50:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722069504001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784070885000,"timestamp_ms":1784070885000,"timestamp_seconds":1784070885,"priority":1,"record_length":96,"hex_timestamp":"0000019f62e94e88"} 
[2026-07-15 04:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 04:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722069504001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722069504001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:50:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:50:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722069504001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":132023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:50:08] local.INFO: GPS data processed {"connection_id":132023,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:50:08] local.INFO: Acknowledgment sent {"connection_id":132023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:50:39] local.INFO: TCP Data received {"connection_id":132023,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f62ede650012d7f92c005afd8300000005027..."} 
[2026-07-15 04:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62ede650012d7f92c005afd8300000005027..."} 
[2026-07-15 04:50:39] local.INFO: Processing buffer {"connection_id":132023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62ede650012d7f92c005afd8300000005027..."} 
[2026-07-15 04:50:39] local.INFO: Packet analysis {"connection_id":132023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62ed"} 
[2026-07-15 04:50:39] local.INFO: Extracted packet for processing {"connection_id":132023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62ed"} 
[2026-07-15 04:50:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04: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-07-15 04:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722146560001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784071186000,"timestamp_ms":1784071186000,"timestamp_seconds":1784071186,"priority":1,"record_length":96,"hex_timestamp":"0000019f62ede650"} 
[2026-07-15 04:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 04:50:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04: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-07-15 04:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722146560001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722146560001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:50:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:50:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722146560001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":132023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:50:39] local.INFO: GPS data processed {"connection_id":132023,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:50:39] local.INFO: Acknowledgment sent {"connection_id":132023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:51:02] local.INFO: TCP Data received {"connection_id":133041,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:51:02] local.INFO: Processing buffer {"connection_id":133041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:51:02] local.INFO: IMEI packet received {"connection_id":133041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":133041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:51:07] local.INFO: TCP Data received {"connection_id":133041,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:51:07] local.INFO: Processing buffer {"connection_id":133041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:51:07] local.INFO: IMEI packet received {"connection_id":133041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":133041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:51:08] local.INFO: TCP Data received {"connection_id":133041,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f62ede650012d7f92c005afd8300000005027..."} 
[2026-07-15 04:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62ede650012d7f92c005afd8300000005027..."} 
[2026-07-15 04:51:08] local.INFO: Processing buffer {"connection_id":133041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62ede650012d7f92c005afd8300000005027..."} 
[2026-07-15 04:51:08] local.INFO: Packet analysis {"connection_id":133041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62ed"} 
[2026-07-15 04:51:08] local.INFO: Extracted packet for processing {"connection_id":133041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62ed"} 
[2026-07-15 04:51:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722146560001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784071186000,"timestamp_ms":1784071186000,"timestamp_seconds":1784071186,"priority":1,"record_length":96,"hex_timestamp":"0000019f62ede650"} 
[2026-07-15 04:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 04:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:51:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":133041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":133041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":133041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722146560001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722146560001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:51:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:51:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722146560001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":133041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:51:08] local.INFO: GPS data processed {"connection_id":133041,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:51:08] local.INFO: Acknowledgment sent {"connection_id":133041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:51:39] local.INFO: TCP Data received {"connection_id":133041,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f62ede650012d7f92c005afd8300000005027..."} 
[2026-07-15 04:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62ede650012d7f92c005afd8300000005027..."} 
[2026-07-15 04:51:39] local.INFO: Processing buffer {"connection_id":133041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62ede650012d7f92c005afd8300000005027..."} 
[2026-07-15 04:51:39] local.INFO: Packet analysis {"connection_id":133041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62ed"} 
[2026-07-15 04:51:39] local.INFO: Extracted packet for processing {"connection_id":133041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62ed"} 
[2026-07-15 04:51:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722146560001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:51:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784071186000,"timestamp_ms":1784071186000,"timestamp_seconds":1784071186,"priority":1,"record_length":96,"hex_timestamp":"0000019f62ede650"} 
[2026-07-15 04:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:51:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 04:51:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:51:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722146560001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722146560001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:51:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:51:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722146560001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":133041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:51:39] local.INFO: GPS data processed {"connection_id":133041,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:51:39] local.INFO: Acknowledgment sent {"connection_id":133041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:52:07] local.INFO: TCP Data received {"connection_id":133042,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:52:07] local.INFO: Processing buffer {"connection_id":133042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:52:07] local.INFO: IMEI packet received {"connection_id":133042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":133042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:52:12] local.INFO: TCP Data received {"connection_id":133042,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:52:12] local.INFO: Processing buffer {"connection_id":133042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:52:12] local.INFO: IMEI packet received {"connection_id":133042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:52:12] local.INFO: IMEI acknowledgment sent {"connection_id":133042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:52:14] local.INFO: TCP Data received {"connection_id":133042,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f62ede650012d7f92c005afd8300000005027..."} 
[2026-07-15 04:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62ede650012d7f92c005afd8300000005027..."} 
[2026-07-15 04:52:14] local.INFO: Processing buffer {"connection_id":133042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62ede650012d7f92c005afd8300000005027..."} 
[2026-07-15 04:52:14] local.INFO: Packet analysis {"connection_id":133042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62ed"} 
[2026-07-15 04:52:14] local.INFO: Extracted packet for processing {"connection_id":133042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62ed"} 
[2026-07-15 04:52:14] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722146560001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:52:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784071186000,"timestamp_ms":1784071186000,"timestamp_seconds":1784071186,"priority":1,"record_length":96,"hex_timestamp":"0000019f62ede650"} 
[2026-07-15 04:52:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:52:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 04:52:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:52:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:52:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":133042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":133042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":133042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:52:14] 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-07-15 04:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722146560001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722146560001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:52:14] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:52:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722146560001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":133042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:52:14] local.INFO: GPS data processed {"connection_id":133042,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:52:14] local.INFO: Acknowledgment sent {"connection_id":133042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:52:17] local.INFO: TCP Data received {"connection_id":133042,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f62ede650012d7f92c005afd8300000005027..."} 
[2026-07-15 04:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62ede650012d7f92c005afd8300000005027..."} 
[2026-07-15 04:52:17] local.INFO: Processing buffer {"connection_id":133042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62ede650012d7f92c005afd8300000005027..."} 
[2026-07-15 04:52:17] local.INFO: Packet analysis {"connection_id":133042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62ed"} 
[2026-07-15 04:52:17] local.INFO: Extracted packet for processing {"connection_id":133042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62ed"} 
[2026-07-15 04:52:17] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722146560001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784071186000,"timestamp_ms":1784071186000,"timestamp_seconds":1784071186,"priority":1,"record_length":96,"hex_timestamp":"0000019f62ede650"} 
[2026-07-15 04:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 04:52:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":133042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":133042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":133042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722146560001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722146560001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:52:17] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:52:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722146560001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":133042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:52:17] local.INFO: GPS data processed {"connection_id":133042,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:52:17] local.INFO: Acknowledgment sent {"connection_id":133042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:53:02] local.INFO: TCP Data received {"connection_id":134408,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:53:02] local.INFO: Processing buffer {"connection_id":134408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:53:02] local.INFO: IMEI packet received {"connection_id":134408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":134408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:53:07] local.INFO: TCP Data received {"connection_id":134408,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:53:07] local.INFO: Processing buffer {"connection_id":134408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:53:07] local.INFO: IMEI packet received {"connection_id":134408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":134408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:53:08] local.INFO: TCP Data received {"connection_id":134408,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f62ede650012d7f92c005afd8300000005027..."} 
[2026-07-15 04:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62ede650012d7f92c005afd8300000005027..."} 
[2026-07-15 04:53:08] local.INFO: Processing buffer {"connection_id":134408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62ede650012d7f92c005afd8300000005027..."} 
[2026-07-15 04:53:08] local.INFO: Packet analysis {"connection_id":134408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62ed"} 
[2026-07-15 04:53:08] local.INFO: Extracted packet for processing {"connection_id":134408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62ed"} 
[2026-07-15 04:53:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722146560001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:53:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784071186000,"timestamp_ms":1784071186000,"timestamp_seconds":1784071186,"priority":1,"record_length":96,"hex_timestamp":"0000019f62ede650"} 
[2026-07-15 04:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:53:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 04:53:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:53:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722146560001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722146560001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:53:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:53:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722146560001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":134408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:53:08] local.INFO: GPS data processed {"connection_id":134408,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:53:08] local.INFO: Acknowledgment sent {"connection_id":134408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:53:41] local.INFO: TCP Data received {"connection_id":134408,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f62ede650012d7f92c005afd8300000005027..."} 
[2026-07-15 04:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62ede650012d7f92c005afd8300000005027..."} 
[2026-07-15 04:53:41] local.INFO: Processing buffer {"connection_id":134408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62ede650012d7f92c005afd8300000005027..."} 
[2026-07-15 04:53:41] local.INFO: Packet analysis {"connection_id":134408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62ed"} 
[2026-07-15 04:53:41] local.INFO: Extracted packet for processing {"connection_id":134408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62ed"} 
[2026-07-15 04:53:41] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722146560001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784071186000,"timestamp_ms":1784071186000,"timestamp_seconds":1784071186,"priority":1,"record_length":96,"hex_timestamp":"0000019f62ede650"} 
[2026-07-15 04:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 04:53:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":134408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":134408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":134408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722146560001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722146560001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:53:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:53:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722146560001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":134408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:53:41] local.INFO: GPS data processed {"connection_id":134408,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:53:41] local.INFO: Acknowledgment sent {"connection_id":134408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:54:02] local.INFO: TCP Data received {"connection_id":134409,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:54:02] local.INFO: Processing buffer {"connection_id":134409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:54:02] local.INFO: IMEI packet received {"connection_id":134409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":134409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:54:07] local.INFO: TCP Data received {"connection_id":134409,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:54:07] local.INFO: Processing buffer {"connection_id":134409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:54:07] local.INFO: IMEI packet received {"connection_id":134409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":134409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:54:08] local.INFO: TCP Data received {"connection_id":134409,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f62ede650012d7f92c005afd8300000005027..."} 
[2026-07-15 04:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62ede650012d7f92c005afd8300000005027..."} 
[2026-07-15 04:54:08] local.INFO: Processing buffer {"connection_id":134409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62ede650012d7f92c005afd8300000005027..."} 
[2026-07-15 04:54:08] local.INFO: Packet analysis {"connection_id":134409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62ed"} 
[2026-07-15 04:54:08] local.INFO: Extracted packet for processing {"connection_id":134409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62ed"} 
[2026-07-15 04:54:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04: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-07-15 04:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722146560001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784071186000,"timestamp_ms":1784071186000,"timestamp_seconds":1784071186,"priority":1,"record_length":96,"hex_timestamp":"0000019f62ede650"} 
[2026-07-15 04:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 04:54:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:54:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722146560001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722146560001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:54:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:54:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722146560001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":134409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:54:08] local.INFO: GPS data processed {"connection_id":134409,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:54:08] local.INFO: Acknowledgment sent {"connection_id":134409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:54:40] local.INFO: TCP Data received {"connection_id":134409,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f62ede650012d7f92c005afd8300000005027..."} 
[2026-07-15 04:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62ede650012d7f92c005afd8300000005027..."} 
[2026-07-15 04:54:40] local.INFO: Processing buffer {"connection_id":134409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62ede650012d7f92c005afd8300000005027..."} 
[2026-07-15 04:54:40] local.INFO: Packet analysis {"connection_id":134409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62ed"} 
[2026-07-15 04:54:40] local.INFO: Extracted packet for processing {"connection_id":134409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62ed"} 
[2026-07-15 04:54:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04: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-07-15 04:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722146560001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:54:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:54:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784071186000,"timestamp_ms":1784071186000,"timestamp_seconds":1784071186,"priority":1,"record_length":96,"hex_timestamp":"0000019f62ede650"} 
[2026-07-15 04:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:54:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 04:54:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:54: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-07-15 04:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":134409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":134409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":134409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:54:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722146560001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722146560001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:54:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:54:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:54:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722146560001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":134409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:54:40] local.INFO: GPS data processed {"connection_id":134409,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:54:40] local.INFO: Acknowledgment sent {"connection_id":134409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:55:02] local.INFO: TCP Data received {"connection_id":134410,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:55:02] local.INFO: Processing buffer {"connection_id":134410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:55:02] local.INFO: IMEI packet received {"connection_id":134410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":134410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:55:07] local.INFO: TCP Data received {"connection_id":134410,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:55:07] local.INFO: Processing buffer {"connection_id":134410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:55:07] local.INFO: IMEI packet received {"connection_id":134410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":134410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:55:08] local.INFO: TCP Data received {"connection_id":134410,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f62ede650012d7f92c005afd8300000005027..."} 
[2026-07-15 04:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62ede650012d7f92c005afd8300000005027..."} 
[2026-07-15 04:55:08] local.INFO: Processing buffer {"connection_id":134410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62ede650012d7f92c005afd8300000005027..."} 
[2026-07-15 04:55:08] local.INFO: Packet analysis {"connection_id":134410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62ed"} 
[2026-07-15 04:55:08] local.INFO: Extracted packet for processing {"connection_id":134410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62ed"} 
[2026-07-15 04:55:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04: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-07-15 04:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722146560001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784071186000,"timestamp_ms":1784071186000,"timestamp_seconds":1784071186,"priority":1,"record_length":96,"hex_timestamp":"0000019f62ede650"} 
[2026-07-15 04:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 04:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04: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-07-15 04:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:55:08] 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-07-15 04:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722146560001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722146560001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:55:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:55:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722146560001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":134410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:55:08] local.INFO: GPS data processed {"connection_id":134410,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:55:08] local.INFO: Acknowledgment sent {"connection_id":134410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:55:11] local.INFO: TCP Data received {"connection_id":132025,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 04:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132025,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 04:55:11] local.INFO: Processing buffer {"connection_id":132025,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 04:55:11] local.INFO: IMEI packet received {"connection_id":132025,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 04:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":132025,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:55:36] local.INFO: TCP Data received {"connection_id":132203,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 04:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132203,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 04:55:36] local.INFO: Processing buffer {"connection_id":132203,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 04:55:36] local.INFO: IMEI packet received {"connection_id":132203,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 04:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":132203,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:55:39] local.INFO: TCP Data received {"connection_id":134410,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f62f27e18012d7f92c005afd830000000502d..."} 
[2026-07-15 04:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62f27e18012d7f92c005afd830000000502d..."} 
[2026-07-15 04:55:39] local.INFO: Processing buffer {"connection_id":134410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62f27e18012d7f92c005afd830000000502d..."} 
[2026-07-15 04:55:39] local.INFO: Packet analysis {"connection_id":134410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62f2"} 
[2026-07-15 04:55:39] local.INFO: Extracted packet for processing {"connection_id":134410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62f2"} 
[2026-07-15 04:55:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04: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-07-15 04:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722223616001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784071487000,"timestamp_ms":1784071487000,"timestamp_seconds":1784071487,"priority":1,"record_length":96,"hex_timestamp":"0000019f62f27e18"} 
[2026-07-15 04:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:55:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04: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-07-15 04:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:55:39] 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-07-15 04:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722223616001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722223616001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:55:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:55:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722223616001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":134410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:55:39] local.INFO: GPS data processed {"connection_id":134410,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:55:39] local.INFO: Acknowledgment sent {"connection_id":134410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:56:02] local.INFO: TCP Data received {"connection_id":133043,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:56:02] local.INFO: Processing buffer {"connection_id":133043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:56:02] local.INFO: IMEI packet received {"connection_id":133043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":133043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:56:07] local.INFO: TCP Data received {"connection_id":133043,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:56:07] local.INFO: Processing buffer {"connection_id":133043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:56:07] local.INFO: IMEI packet received {"connection_id":133043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":133043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:56:08] local.INFO: TCP Data received {"connection_id":133043,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f62f27e18012d7f92c005afd830000000502d..."} 
[2026-07-15 04:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62f27e18012d7f92c005afd830000000502d..."} 
[2026-07-15 04:56:08] local.INFO: Processing buffer {"connection_id":133043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62f27e18012d7f92c005afd830000000502d..."} 
[2026-07-15 04:56:08] local.INFO: Packet analysis {"connection_id":133043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62f2"} 
[2026-07-15 04:56:08] local.INFO: Extracted packet for processing {"connection_id":133043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62f2"} 
[2026-07-15 04:56:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722223616001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784071487000,"timestamp_ms":1784071487000,"timestamp_seconds":1784071487,"priority":1,"record_length":96,"hex_timestamp":"0000019f62f27e18"} 
[2026-07-15 04:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04: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-07-15 04:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":133043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":133043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":133043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722223616001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722223616001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:56:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:56:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722223616001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":133043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:56:08] local.INFO: GPS data processed {"connection_id":133043,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:56:08] local.INFO: Acknowledgment sent {"connection_id":133043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:56:39] local.INFO: TCP Data received {"connection_id":133043,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f62f27e18012d7f92c005afd830000000502d..."} 
[2026-07-15 04:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62f27e18012d7f92c005afd830000000502d..."} 
[2026-07-15 04:56:39] local.INFO: Processing buffer {"connection_id":133043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62f27e18012d7f92c005afd830000000502d..."} 
[2026-07-15 04:56:39] local.INFO: Packet analysis {"connection_id":133043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62f2"} 
[2026-07-15 04:56:39] local.INFO: Extracted packet for processing {"connection_id":133043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62f2"} 
[2026-07-15 04:56:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04: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-07-15 04:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722223616001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784071487000,"timestamp_ms":1784071487000,"timestamp_seconds":1784071487,"priority":1,"record_length":96,"hex_timestamp":"0000019f62f27e18"} 
[2026-07-15 04:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04: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-07-15 04:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722223616001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722223616001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:56:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:56:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722223616001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":133043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:56:39] local.INFO: GPS data processed {"connection_id":133043,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:56:39] local.INFO: Acknowledgment sent {"connection_id":133043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:57:07] local.INFO: TCP Data received {"connection_id":134411,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:57:07] local.INFO: Processing buffer {"connection_id":134411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:57:07] local.INFO: IMEI packet received {"connection_id":134411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":134411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:57:12] local.INFO: TCP Data received {"connection_id":134411,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:57:12] local.INFO: Processing buffer {"connection_id":134411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:57:12] local.INFO: IMEI packet received {"connection_id":134411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":134411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:57:13] local.INFO: TCP Data received {"connection_id":134411,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f62f27e18012d7f92c005afd830000000502d..."} 
[2026-07-15 04:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62f27e18012d7f92c005afd830000000502d..."} 
[2026-07-15 04:57:13] local.INFO: Processing buffer {"connection_id":134411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62f27e18012d7f92c005afd830000000502d..."} 
[2026-07-15 04:57:13] local.INFO: Packet analysis {"connection_id":134411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62f2"} 
[2026-07-15 04:57:13] local.INFO: Extracted packet for processing {"connection_id":134411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62f2"} 
[2026-07-15 04:57:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04: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-07-15 04:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722223616001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784071487000,"timestamp_ms":1784071487000,"timestamp_seconds":1784071487,"priority":1,"record_length":96,"hex_timestamp":"0000019f62f27e18"} 
[2026-07-15 04:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:57:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:57:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04: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-07-15 04:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":134411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":134411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":134411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722223616001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722223616001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:57:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:57:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722223616001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":134411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:57:13] local.INFO: GPS data processed {"connection_id":134411,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:57:13] local.INFO: Acknowledgment sent {"connection_id":134411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:57:17] local.INFO: TCP Data received {"connection_id":134411,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f62f27e18012d7f92c005afd830000000502d..."} 
[2026-07-15 04:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62f27e18012d7f92c005afd830000000502d..."} 
[2026-07-15 04:57:17] local.INFO: Processing buffer {"connection_id":134411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62f27e18012d7f92c005afd830000000502d..."} 
[2026-07-15 04:57:17] local.INFO: Packet analysis {"connection_id":134411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62f2"} 
[2026-07-15 04:57:17] local.INFO: Extracted packet for processing {"connection_id":134411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62f2"} 
[2026-07-15 04:57:17] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722223616001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:57:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:57:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784071487000,"timestamp_ms":1784071487000,"timestamp_seconds":1784071487,"priority":1,"record_length":96,"hex_timestamp":"0000019f62f27e18"} 
[2026-07-15 04:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:57:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:57:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:57:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":134411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":134411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":134411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:57:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722223616001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722223616001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:57:17] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:57:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:57:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722223616001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":134411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:57:17] local.INFO: GPS data processed {"connection_id":134411,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:57:17] local.INFO: Acknowledgment sent {"connection_id":134411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:58:02] local.INFO: TCP Data received {"connection_id":133044,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:58:02] local.INFO: Processing buffer {"connection_id":133044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:58:02] local.INFO: IMEI packet received {"connection_id":133044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":133044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:58:07] local.INFO: TCP Data received {"connection_id":133044,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:58:07] local.INFO: Processing buffer {"connection_id":133044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:58:07] local.INFO: IMEI packet received {"connection_id":133044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":133044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:58:08] local.INFO: TCP Data received {"connection_id":133044,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f62f27e18012d7f92c005afd830000000502d..."} 
[2026-07-15 04:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62f27e18012d7f92c005afd830000000502d..."} 
[2026-07-15 04:58:08] local.INFO: Processing buffer {"connection_id":133044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62f27e18012d7f92c005afd830000000502d..."} 
[2026-07-15 04:58:08] local.INFO: Packet analysis {"connection_id":133044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62f2"} 
[2026-07-15 04:58:08] local.INFO: Extracted packet for processing {"connection_id":133044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62f2"} 
[2026-07-15 04:58:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04: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-07-15 04:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722223616001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784071487000,"timestamp_ms":1784071487000,"timestamp_seconds":1784071487,"priority":1,"record_length":96,"hex_timestamp":"0000019f62f27e18"} 
[2026-07-15 04:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04: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-07-15 04:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":133044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":133044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":133044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 04:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722223616001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722223616001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:58:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:58:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722223616001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":133044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:58:08] local.INFO: GPS data processed {"connection_id":133044,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:58:08] local.INFO: Acknowledgment sent {"connection_id":133044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:58:39] local.INFO: TCP Data received {"connection_id":133044,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f62f27e18012d7f92c005afd830000000502d..."} 
[2026-07-15 04:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62f27e18012d7f92c005afd830000000502d..."} 
[2026-07-15 04:58:39] local.INFO: Processing buffer {"connection_id":133044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62f27e18012d7f92c005afd830000000502d..."} 
[2026-07-15 04:58:39] local.INFO: Packet analysis {"connection_id":133044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62f2"} 
[2026-07-15 04:58:39] local.INFO: Extracted packet for processing {"connection_id":133044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62f2"} 
[2026-07-15 04:58:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04: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-07-15 04:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722223616001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784071487000,"timestamp_ms":1784071487000,"timestamp_seconds":1784071487,"priority":1,"record_length":96,"hex_timestamp":"0000019f62f27e18"} 
[2026-07-15 04:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:58:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04: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-07-15 04:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:58:39] 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-07-15 04:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722223616001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722223616001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:58:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:58:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722223616001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":133044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:58:39] local.INFO: GPS data processed {"connection_id":133044,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:58:39] local.INFO: Acknowledgment sent {"connection_id":133044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:59:02] local.INFO: TCP Data received {"connection_id":134412,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:59:02] local.INFO: Processing buffer {"connection_id":134412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:59:02] local.INFO: IMEI packet received {"connection_id":134412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 04:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":134412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 04:59:07] local.INFO: TCP Data received {"connection_id":134412,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:59:07] local.INFO: Processing buffer {"connection_id":134412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 04:59:07] local.INFO: IMEI packet received {"connection_id":134412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 04:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":134412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 04:59:08] local.INFO: TCP Data received {"connection_id":134412,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f62f27e18012d7f92c005afd830000000502d..."} 
[2026-07-15 04:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62f27e18012d7f92c005afd830000000502d..."} 
[2026-07-15 04:59:08] local.INFO: Processing buffer {"connection_id":134412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62f27e18012d7f92c005afd830000000502d..."} 
[2026-07-15 04:59:08] local.INFO: Packet analysis {"connection_id":134412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62f2"} 
[2026-07-15 04:59:08] local.INFO: Extracted packet for processing {"connection_id":134412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62f2"} 
[2026-07-15 04:59:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722223616001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784071487000,"timestamp_ms":1784071487000,"timestamp_seconds":1784071487,"priority":1,"record_length":96,"hex_timestamp":"0000019f62f27e18"} 
[2026-07-15 04:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:59:08] 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-07-15 04:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722223616001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722223616001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:59:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:59:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722223616001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":134412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:59:08] local.INFO: GPS data processed {"connection_id":134412,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:59:08] local.INFO: Acknowledgment sent {"connection_id":134412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 04:59:41] local.INFO: TCP Data received {"connection_id":134412,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f62f27e18012d7f92c005afd830000000502d..."} 
[2026-07-15 04:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62f27e18012d7f92c005afd830000000502d..."} 
[2026-07-15 04:59:41] local.INFO: Processing buffer {"connection_id":134412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62f27e18012d7f92c005afd830000000502d..."} 
[2026-07-15 04:59:41] local.INFO: Packet analysis {"connection_id":134412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62f2"} 
[2026-07-15 04:59:41] local.INFO: Extracted packet for processing {"connection_id":134412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62f2"} 
[2026-07-15 04:59:41] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 04:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 04:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722223616001,"note":"Value kept but may cause issues"} 
[2026-07-15 04:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 04:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 04:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 04:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784071487000,"timestamp_ms":1784071487000,"timestamp_seconds":1784071487,"priority":1,"record_length":96,"hex_timestamp":"0000019f62f27e18"} 
[2026-07-15 04:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 04:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 04:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 04:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 04:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 04:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 04:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 04:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":134412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 04:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":134412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":134412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 04:59:41] 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-07-15 04:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 04:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 04:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722223616001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 04:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 04:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 04:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722223616001,"description":"Unknown IO ID 0"} 
[2026-07-15 04:59:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 04:59:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 04:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 04:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 04:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722223616001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 04:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":134412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 04:59:41] local.INFO: GPS data processed {"connection_id":134412,"processed":1,"errors":0,"total":1} 
[2026-07-15 04:59:41] local.INFO: Acknowledgment sent {"connection_id":134412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:00:02] local.INFO: TCP Data received {"connection_id":132029,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:00:02] local.INFO: Processing buffer {"connection_id":132029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:00:02] local.INFO: IMEI packet received {"connection_id":132029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":132029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:00:07] local.INFO: TCP Data received {"connection_id":132029,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:00:07] local.INFO: Processing buffer {"connection_id":132029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:00:07] local.INFO: IMEI packet received {"connection_id":132029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":132029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:00:08] local.INFO: TCP Data received {"connection_id":132029,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f62f27e18012d7f92c005afd830000000502d..."} 
[2026-07-15 05:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62f27e18012d7f92c005afd830000000502d..."} 
[2026-07-15 05:00:08] local.INFO: Processing buffer {"connection_id":132029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62f27e18012d7f92c005afd830000000502d..."} 
[2026-07-15 05:00:08] local.INFO: Packet analysis {"connection_id":132029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62f2"} 
[2026-07-15 05:00:08] local.INFO: Extracted packet for processing {"connection_id":132029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62f2"} 
[2026-07-15 05:00:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722223616001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:00:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784071487000,"timestamp_ms":1784071487000,"timestamp_seconds":1784071487,"priority":1,"record_length":96,"hex_timestamp":"0000019f62f27e18"} 
[2026-07-15 05:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:00:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:00:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:00:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:00:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722223616001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722223616001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:00:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:00:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722223616001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":132029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:00:08] local.INFO: GPS data processed {"connection_id":132029,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:00:08] local.INFO: Acknowledgment sent {"connection_id":132029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:00:39] local.INFO: TCP Data received {"connection_id":132029,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f62f715e0012d7f92c005afd830000000502a..."} 
[2026-07-15 05:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62f715e0012d7f92c005afd830000000502a..."} 
[2026-07-15 05:00:39] local.INFO: Processing buffer {"connection_id":132029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62f715e0012d7f92c005afd830000000502a..."} 
[2026-07-15 05:00:39] local.INFO: Packet analysis {"connection_id":132029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62f7"} 
[2026-07-15 05:00:39] local.INFO: Extracted packet for processing {"connection_id":132029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62f7"} 
[2026-07-15 05:00:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05: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-07-15 05:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722300672001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784071788000,"timestamp_ms":1784071788000,"timestamp_seconds":1784071788,"priority":1,"record_length":96,"hex_timestamp":"0000019f62f715e0"} 
[2026-07-15 05:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:00:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:00:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:00:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722300672001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722300672001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:00:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:00:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722300672001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":132029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:00:39] local.INFO: GPS data processed {"connection_id":132029,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:00:39] local.INFO: Acknowledgment sent {"connection_id":132029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:01:02] local.INFO: TCP Data received {"connection_id":132205,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:01:02] local.INFO: Processing buffer {"connection_id":132205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:01:02] local.INFO: IMEI packet received {"connection_id":132205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":132205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:01:07] local.INFO: TCP Data received {"connection_id":132205,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:01:07] local.INFO: Processing buffer {"connection_id":132205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:01:07] local.INFO: IMEI packet received {"connection_id":132205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":132205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:01:08] local.INFO: TCP Data received {"connection_id":132205,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f62f715e0012d7f92c005afd830000000502a..."} 
[2026-07-15 05:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62f715e0012d7f92c005afd830000000502a..."} 
[2026-07-15 05:01:08] local.INFO: Processing buffer {"connection_id":132205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62f715e0012d7f92c005afd830000000502a..."} 
[2026-07-15 05:01:08] local.INFO: Packet analysis {"connection_id":132205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62f7"} 
[2026-07-15 05:01:08] local.INFO: Extracted packet for processing {"connection_id":132205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62f7"} 
[2026-07-15 05:01:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722300672001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784071788000,"timestamp_ms":1784071788000,"timestamp_seconds":1784071788,"priority":1,"record_length":96,"hex_timestamp":"0000019f62f715e0"} 
[2026-07-15 05:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722300672001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722300672001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:01:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:01:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722300672001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":132205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:01:08] local.INFO: GPS data processed {"connection_id":132205,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:01:08] local.INFO: Acknowledgment sent {"connection_id":132205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:01:35] local.INFO: TCP Data received {"connection_id":133046,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 05:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133046,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 05:01:35] local.INFO: Processing buffer {"connection_id":133046,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 05:01:35] local.INFO: IMEI packet received {"connection_id":133046,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 05:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":133046,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:01:39] local.INFO: TCP Data received {"connection_id":132205,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f62f715e0012d7f92c005afd830000000502a..."} 
[2026-07-15 05:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62f715e0012d7f92c005afd830000000502a..."} 
[2026-07-15 05:01:39] local.INFO: Processing buffer {"connection_id":132205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62f715e0012d7f92c005afd830000000502a..."} 
[2026-07-15 05:01:39] local.INFO: Packet analysis {"connection_id":132205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62f7"} 
[2026-07-15 05:01:39] local.INFO: Extracted packet for processing {"connection_id":132205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62f7"} 
[2026-07-15 05:01:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05: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-07-15 05:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722300672001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784071788000,"timestamp_ms":1784071788000,"timestamp_seconds":1784071788,"priority":1,"record_length":96,"hex_timestamp":"0000019f62f715e0"} 
[2026-07-15 05:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:01:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:01:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05: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-07-15 05:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:01:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722300672001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722300672001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:01:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:01:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722300672001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":132205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:01:39] local.INFO: GPS data processed {"connection_id":132205,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:01:39] local.INFO: Acknowledgment sent {"connection_id":132205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:02:07] local.INFO: TCP Data received {"connection_id":132206,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:02:07] local.INFO: Processing buffer {"connection_id":132206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:02:07] local.INFO: IMEI packet received {"connection_id":132206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":132206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:02:12] local.INFO: TCP Data received {"connection_id":132206,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:02:12] local.INFO: Processing buffer {"connection_id":132206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:02:12] local.INFO: IMEI packet received {"connection_id":132206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":132206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:02:13] local.INFO: TCP Data received {"connection_id":132206,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f62f715e0012d7f92c005afd830000000502a..."} 
[2026-07-15 05:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62f715e0012d7f92c005afd830000000502a..."} 
[2026-07-15 05:02:13] local.INFO: Processing buffer {"connection_id":132206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62f715e0012d7f92c005afd830000000502a..."} 
[2026-07-15 05:02:13] local.INFO: Packet analysis {"connection_id":132206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62f7"} 
[2026-07-15 05:02:13] local.INFO: Extracted packet for processing {"connection_id":132206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62f7"} 
[2026-07-15 05:02:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722300672001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784071788000,"timestamp_ms":1784071788000,"timestamp_seconds":1784071788,"priority":1,"record_length":96,"hex_timestamp":"0000019f62f715e0"} 
[2026-07-15 05:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:02:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:02:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:02:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722300672001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722300672001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:02:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:02:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722300672001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":132206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:02:13] local.INFO: GPS data processed {"connection_id":132206,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:02:13] local.INFO: Acknowledgment sent {"connection_id":132206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:02:17] local.INFO: TCP Data received {"connection_id":132206,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f62f715e0012d7f92c005afd830000000502a..."} 
[2026-07-15 05:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62f715e0012d7f92c005afd830000000502a..."} 
[2026-07-15 05:02:17] local.INFO: Processing buffer {"connection_id":132206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62f715e0012d7f92c005afd830000000502a..."} 
[2026-07-15 05:02:17] local.INFO: Packet analysis {"connection_id":132206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62f7"} 
[2026-07-15 05:02:17] local.INFO: Extracted packet for processing {"connection_id":132206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62f7"} 
[2026-07-15 05:02:17] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722300672001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784071788000,"timestamp_ms":1784071788000,"timestamp_seconds":1784071788,"priority":1,"record_length":96,"hex_timestamp":"0000019f62f715e0"} 
[2026-07-15 05:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:02:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:02:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:02:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722300672001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722300672001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:02:17] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:02:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722300672001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":132206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:02:17] local.INFO: GPS data processed {"connection_id":132206,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:02:17] local.INFO: Acknowledgment sent {"connection_id":132206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:03:02] local.INFO: TCP Data received {"connection_id":132030,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:03:02] local.INFO: Processing buffer {"connection_id":132030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:03:02] local.INFO: IMEI packet received {"connection_id":132030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":132030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:03:07] local.INFO: TCP Data received {"connection_id":132030,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:03:07] local.INFO: Processing buffer {"connection_id":132030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:03:07] local.INFO: IMEI packet received {"connection_id":132030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":132030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:03:08] local.INFO: TCP Data received {"connection_id":132030,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f62f715e0012d7f92c005afd830000000502a..."} 
[2026-07-15 05:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62f715e0012d7f92c005afd830000000502a..."} 
[2026-07-15 05:03:08] local.INFO: Processing buffer {"connection_id":132030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62f715e0012d7f92c005afd830000000502a..."} 
[2026-07-15 05:03:08] local.INFO: Packet analysis {"connection_id":132030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62f7"} 
[2026-07-15 05:03:08] local.INFO: Extracted packet for processing {"connection_id":132030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62f7"} 
[2026-07-15 05:03:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05: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-07-15 05:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722300672001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784071788000,"timestamp_ms":1784071788000,"timestamp_seconds":1784071788,"priority":1,"record_length":96,"hex_timestamp":"0000019f62f715e0"} 
[2026-07-15 05:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05: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-07-15 05:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722300672001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722300672001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:03:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:03:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722300672001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":132030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:03:08] local.INFO: GPS data processed {"connection_id":132030,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:03:08] local.INFO: Acknowledgment sent {"connection_id":132030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:03:39] local.INFO: TCP Data received {"connection_id":132030,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f62f715e0012d7f92c005afd830000000502a..."} 
[2026-07-15 05:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62f715e0012d7f92c005afd830000000502a..."} 
[2026-07-15 05:03:39] local.INFO: Processing buffer {"connection_id":132030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62f715e0012d7f92c005afd830000000502a..."} 
[2026-07-15 05:03:39] local.INFO: Packet analysis {"connection_id":132030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62f7"} 
[2026-07-15 05:03:39] local.INFO: Extracted packet for processing {"connection_id":132030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62f7"} 
[2026-07-15 05:03:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05: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-07-15 05:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722300672001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784071788000,"timestamp_ms":1784071788000,"timestamp_seconds":1784071788,"priority":1,"record_length":96,"hex_timestamp":"0000019f62f715e0"} 
[2026-07-15 05:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:03:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:03:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05: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-07-15 05:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722300672001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722300672001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:03:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:03:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722300672001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":132030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:03:39] local.INFO: GPS data processed {"connection_id":132030,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:03:39] local.INFO: Acknowledgment sent {"connection_id":132030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:04:02] local.INFO: TCP Data received {"connection_id":134415,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:04:02] local.INFO: Processing buffer {"connection_id":134415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:04:02] local.INFO: IMEI packet received {"connection_id":134415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":134415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:04:07] local.INFO: TCP Data received {"connection_id":134415,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:04:07] local.INFO: Processing buffer {"connection_id":134415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:04:07] local.INFO: IMEI packet received {"connection_id":134415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":134415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:04:08] local.INFO: TCP Data received {"connection_id":134415,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f62f715e0012d7f92c005afd830000000502a..."} 
[2026-07-15 05:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62f715e0012d7f92c005afd830000000502a..."} 
[2026-07-15 05:04:08] local.INFO: Processing buffer {"connection_id":134415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62f715e0012d7f92c005afd830000000502a..."} 
[2026-07-15 05:04:08] local.INFO: Packet analysis {"connection_id":134415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62f7"} 
[2026-07-15 05:04:08] local.INFO: Extracted packet for processing {"connection_id":134415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62f7"} 
[2026-07-15 05:04:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05: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-07-15 05:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722300672001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784071788000,"timestamp_ms":1784071788000,"timestamp_seconds":1784071788,"priority":1,"record_length":96,"hex_timestamp":"0000019f62f715e0"} 
[2026-07-15 05:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05: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-07-15 05:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722300672001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722300672001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:04:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:04:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722300672001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":134415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:04:08] local.INFO: GPS data processed {"connection_id":134415,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:04:08] local.INFO: Acknowledgment sent {"connection_id":134415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:04:39] local.INFO: TCP Data received {"connection_id":134415,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f62f715e0012d7f92c005afd830000000502a..."} 
[2026-07-15 05:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62f715e0012d7f92c005afd830000000502a..."} 
[2026-07-15 05:04:39] local.INFO: Processing buffer {"connection_id":134415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62f715e0012d7f92c005afd830000000502a..."} 
[2026-07-15 05:04:39] local.INFO: Packet analysis {"connection_id":134415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62f7"} 
[2026-07-15 05:04:39] local.INFO: Extracted packet for processing {"connection_id":134415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62f7"} 
[2026-07-15 05:04:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 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-07-15 05:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722300672001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784071788000,"timestamp_ms":1784071788000,"timestamp_seconds":1784071788,"priority":1,"record_length":96,"hex_timestamp":"0000019f62f715e0"} 
[2026-07-15 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-07-15 05:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 05:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722300672001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722300672001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:04:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:04:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722300672001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":134415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:04:39] local.INFO: GPS data processed {"connection_id":134415,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:04:39] local.INFO: Acknowledgment sent {"connection_id":134415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:05:02] local.INFO: TCP Data received {"connection_id":132208,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:05:02] local.INFO: Processing buffer {"connection_id":132208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:05:02] local.INFO: IMEI packet received {"connection_id":132208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":132208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:05:12] local.INFO: TCP Data received {"connection_id":132208,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:05:12] local.INFO: Processing buffer {"connection_id":132208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:05:12] local.INFO: IMEI packet received {"connection_id":132208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":132208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:05:13] local.INFO: TCP Data received {"connection_id":132208,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f62f715e0012d7f92c005afd830000000502a..."} 
[2026-07-15 05:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62f715e0012d7f92c005afd830000000502a..."} 
[2026-07-15 05:05:13] local.INFO: Processing buffer {"connection_id":132208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62f715e0012d7f92c005afd830000000502a..."} 
[2026-07-15 05:05:13] local.INFO: Packet analysis {"connection_id":132208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62f7"} 
[2026-07-15 05:05:13] local.INFO: Extracted packet for processing {"connection_id":132208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62f7"} 
[2026-07-15 05:05:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722300672001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:05:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:05:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784071788000,"timestamp_ms":1784071788000,"timestamp_seconds":1784071788,"priority":1,"record_length":96,"hex_timestamp":"0000019f62f715e0"} 
[2026-07-15 05:05:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:05:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:05:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:05:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:05:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:05:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722300672001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722300672001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:05:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:05:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:05:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722300672001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":132208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:05:13] local.INFO: GPS data processed {"connection_id":132208,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:05:13] local.INFO: Acknowledgment sent {"connection_id":132208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:05:44] local.INFO: TCP Data received {"connection_id":132208,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f62fbada8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62fbada8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:05:44] local.INFO: Processing buffer {"connection_id":132208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62fbada8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:05:44] local.INFO: Packet analysis {"connection_id":132208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62fb"} 
[2026-07-15 05:05:44] local.INFO: Extracted packet for processing {"connection_id":132208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62fb"} 
[2026-07-15 05:05:44] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722377728001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:05:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:05:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784072089000,"timestamp_ms":1784072089000,"timestamp_seconds":1784072089,"priority":1,"record_length":96,"hex_timestamp":"0000019f62fbada8"} 
[2026-07-15 05:05:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:05:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:05:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:05:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:05:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":132208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":132208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":132208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:05:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722377728001,"66":25538,"27":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 05:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722377728001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:05:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 05:05:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:05:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722377728001,"power":25538,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":132208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:05:44] local.INFO: GPS data processed {"connection_id":132208,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:05:44] local.INFO: Acknowledgment sent {"connection_id":132208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:06:02] local.INFO: TCP Data received {"connection_id":134416,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:06:02] local.INFO: Processing buffer {"connection_id":134416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:06:02] local.INFO: IMEI packet received {"connection_id":134416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":134416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:06:07] local.INFO: TCP Data received {"connection_id":134416,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:06:07] local.INFO: Processing buffer {"connection_id":134416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:06:07] local.INFO: IMEI packet received {"connection_id":134416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":134416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:06:08] local.INFO: TCP Data received {"connection_id":134416,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f62fbada8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62fbada8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:06:08] local.INFO: Processing buffer {"connection_id":134416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62fbada8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:06:08] local.INFO: Packet analysis {"connection_id":134416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62fb"} 
[2026-07-15 05:06:08] local.INFO: Extracted packet for processing {"connection_id":134416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62fb"} 
[2026-07-15 05:06:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722377728001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:06:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784072089000,"timestamp_ms":1784072089000,"timestamp_seconds":1784072089,"priority":1,"record_length":96,"hex_timestamp":"0000019f62fbada8"} 
[2026-07-15 05:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:06:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:06:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:06:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:06:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722377728001,"66":25538,"27":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 05:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722377728001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:06:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 05:06:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722377728001,"power":25538,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":134416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:06:08] local.INFO: GPS data processed {"connection_id":134416,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:06:08] local.INFO: Acknowledgment sent {"connection_id":134416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:06:43] local.INFO: TCP Data received {"connection_id":134416,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f62fbada8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62fbada8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:06:43] local.INFO: Processing buffer {"connection_id":134416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62fbada8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:06:43] local.INFO: Packet analysis {"connection_id":134416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62fb"} 
[2026-07-15 05:06:43] local.INFO: Extracted packet for processing {"connection_id":134416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62fb"} 
[2026-07-15 05:06:43] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05: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-07-15 05:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722377728001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:06:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:06:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784072089000,"timestamp_ms":1784072089000,"timestamp_seconds":1784072089,"priority":1,"record_length":96,"hex_timestamp":"0000019f62fbada8"} 
[2026-07-15 05:06:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:06:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:06:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05: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-07-15 05:06:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":134416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":134416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":134416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:06:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722377728001,"66":25538,"27":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 05:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722377728001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:06:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 05:06:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:06:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722377728001,"power":25538,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":134416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:06:43] local.INFO: GPS data processed {"connection_id":134416,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:06:43] local.INFO: Acknowledgment sent {"connection_id":134416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:07:05] local.INFO: TCP Data received {"connection_id":132209,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 05:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132209,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 05:07:05] local.INFO: Processing buffer {"connection_id":132209,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 05:07:05] local.INFO: IMEI packet received {"connection_id":132209,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 05:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":132209,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:07:07] local.INFO: TCP Data received {"connection_id":132032,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:07:07] local.INFO: Processing buffer {"connection_id":132032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:07:07] local.INFO: IMEI packet received {"connection_id":132032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":132032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:07:12] local.INFO: TCP Data received {"connection_id":132032,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:07:12] local.INFO: Processing buffer {"connection_id":132032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:07:12] local.INFO: IMEI packet received {"connection_id":132032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":132032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:07:13] local.INFO: TCP Data received {"connection_id":132032,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f62fbada8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62fbada8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:07:13] local.INFO: Processing buffer {"connection_id":132032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62fbada8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:07:13] local.INFO: Packet analysis {"connection_id":132032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62fb"} 
[2026-07-15 05:07:13] local.INFO: Extracted packet for processing {"connection_id":132032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62fb"} 
[2026-07-15 05:07:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722377728001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:07:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:07:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784072089000,"timestamp_ms":1784072089000,"timestamp_seconds":1784072089,"priority":1,"record_length":96,"hex_timestamp":"0000019f62fbada8"} 
[2026-07-15 05:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:07:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:07:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:07:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722377728001,"66":25538,"27":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 05:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722377728001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:07:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 05:07:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:07:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722377728001,"power":25538,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":132032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:07:13] local.INFO: GPS data processed {"connection_id":132032,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:07:13] local.INFO: Acknowledgment sent {"connection_id":132032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:07:17] local.INFO: TCP Data received {"connection_id":132032,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f62fbada8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62fbada8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:07:17] local.INFO: Processing buffer {"connection_id":132032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62fbada8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:07:17] local.INFO: Packet analysis {"connection_id":132032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62fb"} 
[2026-07-15 05:07:17] local.INFO: Extracted packet for processing {"connection_id":132032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62fb"} 
[2026-07-15 05:07:17] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722377728001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:07:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:07:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784072089000,"timestamp_ms":1784072089000,"timestamp_seconds":1784072089,"priority":1,"record_length":96,"hex_timestamp":"0000019f62fbada8"} 
[2026-07-15 05:07:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:07:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:07:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:07:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:07:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:07:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722377728001,"66":25538,"27":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 05:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722377728001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:07:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 05:07:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:07:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:07:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722377728001,"power":25538,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:07:17] local.INFO: DEBUG: GPS processor result {"connection_id":132032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:07:17] local.INFO: GPS data processed {"connection_id":132032,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:07:17] local.INFO: Acknowledgment sent {"connection_id":132032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:07:35] local.INFO: TCP Data received {"connection_id":133047,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 05:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133047,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 05:07:35] local.INFO: Processing buffer {"connection_id":133047,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 05:07:35] local.INFO: IMEI packet received {"connection_id":133047,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 05:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":133047,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:08:02] local.INFO: TCP Data received {"connection_id":132033,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:08:02] local.INFO: Processing buffer {"connection_id":132033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:08:02] local.INFO: IMEI packet received {"connection_id":132033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":132033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:08:07] local.INFO: TCP Data received {"connection_id":132033,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:08:07] local.INFO: Processing buffer {"connection_id":132033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:08:07] local.INFO: IMEI packet received {"connection_id":132033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":132033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:08:08] local.INFO: TCP Data received {"connection_id":132033,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f62fbada8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62fbada8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:08:08] local.INFO: Processing buffer {"connection_id":132033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62fbada8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:08:08] local.INFO: Packet analysis {"connection_id":132033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62fb"} 
[2026-07-15 05:08:08] local.INFO: Extracted packet for processing {"connection_id":132033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62fb"} 
[2026-07-15 05:08:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05: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-07-15 05:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722377728001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784072089000,"timestamp_ms":1784072089000,"timestamp_seconds":1784072089,"priority":1,"record_length":96,"hex_timestamp":"0000019f62fbada8"} 
[2026-07-15 05:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722377728001,"66":25538,"27":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 05:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722377728001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:08:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 05:08:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722377728001,"power":25538,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":132033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:08:08] local.INFO: GPS data processed {"connection_id":132033,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:08:08] local.INFO: Acknowledgment sent {"connection_id":132033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:08:39] local.INFO: TCP Data received {"connection_id":132033,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f62fbada8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62fbada8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:08:39] local.INFO: Processing buffer {"connection_id":132033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62fbada8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:08:39] local.INFO: Packet analysis {"connection_id":132033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62fb"} 
[2026-07-15 05:08:39] local.INFO: Extracted packet for processing {"connection_id":132033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62fb"} 
[2026-07-15 05:08:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722377728001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784072089000,"timestamp_ms":1784072089000,"timestamp_seconds":1784072089,"priority":1,"record_length":96,"hex_timestamp":"0000019f62fbada8"} 
[2026-07-15 05:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:08:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:08:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:08:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722377728001,"66":25538,"27":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 05:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722377728001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:08:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 05:08:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722377728001,"power":25538,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":132033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:08:39] local.INFO: GPS data processed {"connection_id":132033,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:08:39] local.INFO: Acknowledgment sent {"connection_id":132033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:09:02] local.INFO: TCP Data received {"connection_id":134417,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:09:02] local.INFO: Processing buffer {"connection_id":134417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:09:02] local.INFO: IMEI packet received {"connection_id":134417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":134417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:09:07] local.INFO: TCP Data received {"connection_id":134417,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:09:07] local.INFO: Processing buffer {"connection_id":134417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:09:07] local.INFO: IMEI packet received {"connection_id":134417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":134417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:09:08] local.INFO: TCP Data received {"connection_id":134417,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f62fbada8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62fbada8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:09:08] local.INFO: Processing buffer {"connection_id":134417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62fbada8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:09:08] local.INFO: Packet analysis {"connection_id":134417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62fb"} 
[2026-07-15 05:09:08] local.INFO: Extracted packet for processing {"connection_id":134417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62fb"} 
[2026-07-15 05:09:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722377728001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784072089000,"timestamp_ms":1784072089000,"timestamp_seconds":1784072089,"priority":1,"record_length":96,"hex_timestamp":"0000019f62fbada8"} 
[2026-07-15 05:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722377728001,"66":25538,"27":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 05:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722377728001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:09:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 05:09:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722377728001,"power":25538,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":134417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:09:08] local.INFO: GPS data processed {"connection_id":134417,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:09:08] local.INFO: Acknowledgment sent {"connection_id":134417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:09:39] local.INFO: TCP Data received {"connection_id":134417,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f62fbada8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62fbada8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:09:39] local.INFO: Processing buffer {"connection_id":134417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62fbada8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:09:39] local.INFO: Packet analysis {"connection_id":134417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62fb"} 
[2026-07-15 05:09:39] local.INFO: Extracted packet for processing {"connection_id":134417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62fb"} 
[2026-07-15 05:09:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722377728001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784072089000,"timestamp_ms":1784072089000,"timestamp_seconds":1784072089,"priority":1,"record_length":96,"hex_timestamp":"0000019f62fbada8"} 
[2026-07-15 05:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:09:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:09:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:09:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722377728001,"66":25538,"27":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 05:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722377728001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:09:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 05:09:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722377728001,"power":25538,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":134417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:09:39] local.INFO: GPS data processed {"connection_id":134417,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:09:39] local.INFO: Acknowledgment sent {"connection_id":134417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:10:02] local.INFO: TCP Data received {"connection_id":133050,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:10:02] local.INFO: Processing buffer {"connection_id":133050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:10:02] local.INFO: IMEI packet received {"connection_id":133050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":133050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:10:07] local.INFO: TCP Data received {"connection_id":133050,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:10:07] local.INFO: Processing buffer {"connection_id":133050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:10:07] local.INFO: IMEI packet received {"connection_id":133050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":133050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:10:08] local.INFO: TCP Data received {"connection_id":133050,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f62fbada8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f62fbada8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:10:08] local.INFO: Processing buffer {"connection_id":133050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f62fbada8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:10:08] local.INFO: Packet analysis {"connection_id":133050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f62fb"} 
[2026-07-15 05:10:08] local.INFO: Extracted packet for processing {"connection_id":133050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f62fb"} 
[2026-07-15 05:10:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05: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-07-15 05:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722377728001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784072089000,"timestamp_ms":1784072089000,"timestamp_seconds":1784072089,"priority":1,"record_length":96,"hex_timestamp":"0000019f62fbada8"} 
[2026-07-15 05:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05: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-07-15 05:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":133050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":133050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":133050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722377728001,"66":25538,"27":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 05:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722377728001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:10:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 05:10:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722377728001,"power":25538,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":133050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:10:08] local.INFO: GPS data processed {"connection_id":133050,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:10:08] local.INFO: Acknowledgment sent {"connection_id":133050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:10:38] local.INFO: TCP Data received {"connection_id":133050,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f63004570012d7f92c005afd830000000502e..."} 
[2026-07-15 05:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63004570012d7f92c005afd830000000502e..."} 
[2026-07-15 05:10:38] local.INFO: Processing buffer {"connection_id":133050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63004570012d7f92c005afd830000000502e..."} 
[2026-07-15 05:10:38] local.INFO: Packet analysis {"connection_id":133050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6300"} 
[2026-07-15 05:10:38] local.INFO: Extracted packet for processing {"connection_id":133050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6300"} 
[2026-07-15 05:10:38] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722454784001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784072390000,"timestamp_ms":1784072390000,"timestamp_seconds":1784072390,"priority":1,"record_length":96,"hex_timestamp":"0000019f63004570"} 
[2026-07-15 05:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-15 05:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722454784001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722454784001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:10:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:10:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722454784001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":133050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:10:38] local.INFO: GPS data processed {"connection_id":133050,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:10:38] local.INFO: Acknowledgment sent {"connection_id":133050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:11:02] local.INFO: TCP Data received {"connection_id":132210,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:11:02] local.INFO: Processing buffer {"connection_id":132210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:11:02] local.INFO: IMEI packet received {"connection_id":132210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":132210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:11:07] local.INFO: TCP Data received {"connection_id":132210,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:11:07] local.INFO: Processing buffer {"connection_id":132210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:11:07] local.INFO: IMEI packet received {"connection_id":132210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":132210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:11:08] local.INFO: TCP Data received {"connection_id":132210,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f63004570012d7f92c005afd830000000502e..."} 
[2026-07-15 05:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63004570012d7f92c005afd830000000502e..."} 
[2026-07-15 05:11:08] local.INFO: Processing buffer {"connection_id":132210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63004570012d7f92c005afd830000000502e..."} 
[2026-07-15 05:11:08] local.INFO: Packet analysis {"connection_id":132210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6300"} 
[2026-07-15 05:11:08] local.INFO: Extracted packet for processing {"connection_id":132210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6300"} 
[2026-07-15 05:11:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722454784001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:11:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784072390000,"timestamp_ms":1784072390000,"timestamp_seconds":1784072390,"priority":1,"record_length":96,"hex_timestamp":"0000019f63004570"} 
[2026-07-15 05:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-15 05:11:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:11:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722454784001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722454784001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:11:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:11:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722454784001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":132210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:11:08] local.INFO: GPS data processed {"connection_id":132210,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:11:08] local.INFO: Acknowledgment sent {"connection_id":132210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:11:41] local.INFO: TCP Data received {"connection_id":132210,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f63004570012d7f92c005afd830000000502e..."} 
[2026-07-15 05:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63004570012d7f92c005afd830000000502e..."} 
[2026-07-15 05:11:41] local.INFO: Processing buffer {"connection_id":132210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63004570012d7f92c005afd830000000502e..."} 
[2026-07-15 05:11:41] local.INFO: Packet analysis {"connection_id":132210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6300"} 
[2026-07-15 05:11:41] local.INFO: Extracted packet for processing {"connection_id":132210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6300"} 
[2026-07-15 05:11:41] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:11: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-07-15 05:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722454784001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784072390000,"timestamp_ms":1784072390000,"timestamp_seconds":1784072390,"priority":1,"record_length":96,"hex_timestamp":"0000019f63004570"} 
[2026-07-15 05:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-15 05:11:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:11: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-07-15 05:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:11:41] 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-07-15 05:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722454784001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722454784001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:11:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:11:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722454784001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":132210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:11:41] local.INFO: GPS data processed {"connection_id":132210,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:11:41] local.INFO: Acknowledgment sent {"connection_id":132210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:12:07] local.INFO: TCP Data received {"connection_id":132212,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:12:07] local.INFO: Processing buffer {"connection_id":132212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:12:07] local.INFO: IMEI packet received {"connection_id":132212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":132212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:12:12] local.INFO: TCP Data received {"connection_id":132212,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:12:12] local.INFO: Processing buffer {"connection_id":132212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:12:12] local.INFO: IMEI packet received {"connection_id":132212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":132212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:12:13] local.INFO: TCP Data received {"connection_id":132212,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f63004570012d7f92c005afd830000000502e..."} 
[2026-07-15 05:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63004570012d7f92c005afd830000000502e..."} 
[2026-07-15 05:12:13] local.INFO: Processing buffer {"connection_id":132212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63004570012d7f92c005afd830000000502e..."} 
[2026-07-15 05:12:13] local.INFO: Packet analysis {"connection_id":132212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6300"} 
[2026-07-15 05:12:13] local.INFO: Extracted packet for processing {"connection_id":132212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6300"} 
[2026-07-15 05:12:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05: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-07-15 05:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722454784001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:12:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:12:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784072390000,"timestamp_ms":1784072390000,"timestamp_seconds":1784072390,"priority":1,"record_length":96,"hex_timestamp":"0000019f63004570"} 
[2026-07-15 05:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:12:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-15 05:12:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05: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-07-15 05:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:12:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722454784001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722454784001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:12:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:12:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:12:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722454784001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":132212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:12:13] local.INFO: GPS data processed {"connection_id":132212,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:12:13] local.INFO: Acknowledgment sent {"connection_id":132212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:12:17] local.INFO: TCP Data received {"connection_id":132212,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f63004570012d7f92c005afd830000000502e..."} 
[2026-07-15 05:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63004570012d7f92c005afd830000000502e..."} 
[2026-07-15 05:12:17] local.INFO: Processing buffer {"connection_id":132212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63004570012d7f92c005afd830000000502e..."} 
[2026-07-15 05:12:17] local.INFO: Packet analysis {"connection_id":132212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6300"} 
[2026-07-15 05:12:17] local.INFO: Extracted packet for processing {"connection_id":132212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6300"} 
[2026-07-15 05:12:17] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722454784001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784072390000,"timestamp_ms":1784072390000,"timestamp_seconds":1784072390,"priority":1,"record_length":96,"hex_timestamp":"0000019f63004570"} 
[2026-07-15 05:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-15 05:12:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:12:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722454784001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722454784001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:12:17] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:12:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722454784001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":132212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:12:17] local.INFO: GPS data processed {"connection_id":132212,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:12:17] local.INFO: Acknowledgment sent {"connection_id":132212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:13:02] local.INFO: TCP Data received {"connection_id":132213,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:13:02] local.INFO: Processing buffer {"connection_id":132213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:13:02] local.INFO: IMEI packet received {"connection_id":132213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":132213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:13:07] local.INFO: TCP Data received {"connection_id":132213,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:13:07] local.INFO: Processing buffer {"connection_id":132213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:13:07] local.INFO: IMEI packet received {"connection_id":132213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":132213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:13:08] local.INFO: TCP Data received {"connection_id":132213,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f63004570012d7f92c005afd830000000502e..."} 
[2026-07-15 05:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63004570012d7f92c005afd830000000502e..."} 
[2026-07-15 05:13:08] local.INFO: Processing buffer {"connection_id":132213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63004570012d7f92c005afd830000000502e..."} 
[2026-07-15 05:13:08] local.INFO: Packet analysis {"connection_id":132213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6300"} 
[2026-07-15 05:13:08] local.INFO: Extracted packet for processing {"connection_id":132213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6300"} 
[2026-07-15 05:13:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722454784001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784072390000,"timestamp_ms":1784072390000,"timestamp_seconds":1784072390,"priority":1,"record_length":96,"hex_timestamp":"0000019f63004570"} 
[2026-07-15 05:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-15 05:13:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:13:08] 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-07-15 05:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722454784001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722454784001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:13:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:13:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722454784001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":132213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:13:08] local.INFO: GPS data processed {"connection_id":132213,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:13:08] local.INFO: Acknowledgment sent {"connection_id":132213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:13:35] local.INFO: TCP Data received {"connection_id":134419,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 05:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134419,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 05:13:35] local.INFO: Processing buffer {"connection_id":134419,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 05:13:35] local.INFO: IMEI packet received {"connection_id":134419,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 05:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":134419,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:13:39] local.INFO: TCP Data received {"connection_id":132213,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f63004570012d7f92c005afd830000000502e..."} 
[2026-07-15 05:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63004570012d7f92c005afd830000000502e..."} 
[2026-07-15 05:13:39] local.INFO: Processing buffer {"connection_id":132213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63004570012d7f92c005afd830000000502e..."} 
[2026-07-15 05:13:39] local.INFO: Packet analysis {"connection_id":132213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6300"} 
[2026-07-15 05:13:39] local.INFO: Extracted packet for processing {"connection_id":132213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6300"} 
[2026-07-15 05:13:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722454784001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784072390000,"timestamp_ms":1784072390000,"timestamp_seconds":1784072390,"priority":1,"record_length":96,"hex_timestamp":"0000019f63004570"} 
[2026-07-15 05:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:13:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-15 05:13:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:13:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:13:39] 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-07-15 05:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722454784001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722454784001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:13:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:13:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722454784001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":132213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:13:39] local.INFO: GPS data processed {"connection_id":132213,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:13:39] local.INFO: Acknowledgment sent {"connection_id":132213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:14:02] local.INFO: TCP Data received {"connection_id":132034,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:14:02] local.INFO: Processing buffer {"connection_id":132034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:14:02] local.INFO: IMEI packet received {"connection_id":132034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":132034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:14:07] local.INFO: TCP Data received {"connection_id":132034,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:14:07] local.INFO: Processing buffer {"connection_id":132034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:14:07] local.INFO: IMEI packet received {"connection_id":132034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":132034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:14:08] local.INFO: TCP Data received {"connection_id":132034,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f63004570012d7f92c005afd830000000502e..."} 
[2026-07-15 05:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63004570012d7f92c005afd830000000502e..."} 
[2026-07-15 05:14:08] local.INFO: Processing buffer {"connection_id":132034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63004570012d7f92c005afd830000000502e..."} 
[2026-07-15 05:14:08] local.INFO: Packet analysis {"connection_id":132034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6300"} 
[2026-07-15 05:14:08] local.INFO: Extracted packet for processing {"connection_id":132034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6300"} 
[2026-07-15 05:14:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722454784001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:14:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784072390000,"timestamp_ms":1784072390000,"timestamp_seconds":1784072390,"priority":1,"record_length":96,"hex_timestamp":"0000019f63004570"} 
[2026-07-15 05:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:14:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-15 05:14:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:14:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722454784001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722454784001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:14:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:14:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722454784001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":132034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:14:08] local.INFO: GPS data processed {"connection_id":132034,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:14:08] local.INFO: Acknowledgment sent {"connection_id":132034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:14:39] local.INFO: TCP Data received {"connection_id":132034,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f63004570012d7f92c005afd830000000502e..."} 
[2026-07-15 05:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63004570012d7f92c005afd830000000502e..."} 
[2026-07-15 05:14:39] local.INFO: Processing buffer {"connection_id":132034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63004570012d7f92c005afd830000000502e..."} 
[2026-07-15 05:14:39] local.INFO: Packet analysis {"connection_id":132034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6300"} 
[2026-07-15 05:14:39] local.INFO: Extracted packet for processing {"connection_id":132034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6300"} 
[2026-07-15 05:14:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722454784001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784072390000,"timestamp_ms":1784072390000,"timestamp_seconds":1784072390,"priority":1,"record_length":96,"hex_timestamp":"0000019f63004570"} 
[2026-07-15 05:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:14:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-15 05:14:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722454784001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722454784001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:14:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:14:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722454784001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":132034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:14:39] local.INFO: GPS data processed {"connection_id":132034,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:14:39] local.INFO: Acknowledgment sent {"connection_id":132034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:15:03] local.INFO: TCP Data received {"connection_id":133053,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:15:03] local.INFO: Processing buffer {"connection_id":133053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:15:03] local.INFO: IMEI packet received {"connection_id":133053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":133053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:15:07] local.INFO: TCP Data received {"connection_id":133053,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:15:07] local.INFO: Processing buffer {"connection_id":133053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:15:07] local.INFO: IMEI packet received {"connection_id":133053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":133053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:15:08] local.INFO: TCP Data received {"connection_id":133053,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f63004570012d7f92c005afd830000000502e..."} 
[2026-07-15 05:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63004570012d7f92c005afd830000000502e..."} 
[2026-07-15 05:15:08] local.INFO: Processing buffer {"connection_id":133053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63004570012d7f92c005afd830000000502e..."} 
[2026-07-15 05:15:08] local.INFO: Packet analysis {"connection_id":133053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6300"} 
[2026-07-15 05:15:08] local.INFO: Extracted packet for processing {"connection_id":133053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6300"} 
[2026-07-15 05:15:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722454784001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784072390000,"timestamp_ms":1784072390000,"timestamp_seconds":1784072390,"priority":1,"record_length":96,"hex_timestamp":"0000019f63004570"} 
[2026-07-15 05:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-15 05:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05: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-07-15 05:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":133053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":133053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":133053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722454784001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722454784001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:15:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:15:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722454784001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":133053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:15:08] local.INFO: GPS data processed {"connection_id":133053,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:15:08] local.INFO: Acknowledgment sent {"connection_id":133053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:15:39] local.INFO: TCP Data received {"connection_id":133053,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f6304dd38012d7f92c005afd830000000502d..."} 
[2026-07-15 05:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6304dd38012d7f92c005afd830000000502d..."} 
[2026-07-15 05:15:39] local.INFO: Processing buffer {"connection_id":133053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6304dd38012d7f92c005afd830000000502d..."} 
[2026-07-15 05:15:39] local.INFO: Packet analysis {"connection_id":133053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6304"} 
[2026-07-15 05:15:39] local.INFO: Extracted packet for processing {"connection_id":133053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6304"} 
[2026-07-15 05:15:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722531840001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784072691000,"timestamp_ms":1784072691000,"timestamp_seconds":1784072691,"priority":1,"record_length":96,"hex_timestamp":"0000019f6304dd38"} 
[2026-07-15 05:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05: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-07-15 05:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:15: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-07-15 05:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722531840001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722531840001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:15:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:15:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722531840001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":133053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:15:39] local.INFO: GPS data processed {"connection_id":133053,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:15:39] local.INFO: Acknowledgment sent {"connection_id":133053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:16:07] local.INFO: TCP Data received {"connection_id":134420,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:16:07] local.INFO: Processing buffer {"connection_id":134420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:16:07] local.INFO: IMEI packet received {"connection_id":134420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":134420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:16:12] local.INFO: TCP Data received {"connection_id":134420,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:16:12] local.INFO: Processing buffer {"connection_id":134420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:16:12] local.INFO: IMEI packet received {"connection_id":134420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":134420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:16:13] local.INFO: TCP Data received {"connection_id":134420,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6304dd38012d7f92c005afd830000000502d..."} 
[2026-07-15 05:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6304dd38012d7f92c005afd830000000502d..."} 
[2026-07-15 05:16:13] local.INFO: Processing buffer {"connection_id":134420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6304dd38012d7f92c005afd830000000502d..."} 
[2026-07-15 05:16:13] local.INFO: Packet analysis {"connection_id":134420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6304"} 
[2026-07-15 05:16:13] local.INFO: Extracted packet for processing {"connection_id":134420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6304"} 
[2026-07-15 05:16:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722531840001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:16:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:16:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784072691000,"timestamp_ms":1784072691000,"timestamp_seconds":1784072691,"priority":1,"record_length":96,"hex_timestamp":"0000019f6304dd38"} 
[2026-07-15 05:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:16:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:16:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:16:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":134420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":134420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":134420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722531840001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722531840001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:16:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:16:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:16:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722531840001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":134420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:16:13] local.INFO: GPS data processed {"connection_id":134420,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:16:13] local.INFO: Acknowledgment sent {"connection_id":134420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:16:17] local.INFO: TCP Data received {"connection_id":134420,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6304dd38012d7f92c005afd830000000502d..."} 
[2026-07-15 05:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6304dd38012d7f92c005afd830000000502d..."} 
[2026-07-15 05:16:17] local.INFO: Processing buffer {"connection_id":134420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6304dd38012d7f92c005afd830000000502d..."} 
[2026-07-15 05:16:17] local.INFO: Packet analysis {"connection_id":134420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6304"} 
[2026-07-15 05:16:17] local.INFO: Extracted packet for processing {"connection_id":134420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6304"} 
[2026-07-15 05:16:17] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722531840001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784072691000,"timestamp_ms":1784072691000,"timestamp_seconds":1784072691,"priority":1,"record_length":96,"hex_timestamp":"0000019f6304dd38"} 
[2026-07-15 05:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:16:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:16:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":134420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":134420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":134420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722531840001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722531840001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:16:17] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:16:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722531840001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":134420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:16:17] local.INFO: GPS data processed {"connection_id":134420,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:16:17] local.INFO: Acknowledgment sent {"connection_id":134420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:17:02] local.INFO: TCP Data received {"connection_id":133054,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:17:02] local.INFO: Processing buffer {"connection_id":133054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:17:02] local.INFO: IMEI packet received {"connection_id":133054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":133054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:17:08] local.INFO: TCP Data received {"connection_id":133054,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:17:08] local.INFO: Processing buffer {"connection_id":133054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:17:08] local.INFO: IMEI packet received {"connection_id":133054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":133054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:17:09] local.INFO: TCP Data received {"connection_id":133054,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6304dd38012d7f92c005afd830000000502d..."} 
[2026-07-15 05:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6304dd38012d7f92c005afd830000000502d..."} 
[2026-07-15 05:17:09] local.INFO: Processing buffer {"connection_id":133054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6304dd38012d7f92c005afd830000000502d..."} 
[2026-07-15 05:17:09] local.INFO: Packet analysis {"connection_id":133054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6304"} 
[2026-07-15 05:17:09] local.INFO: Extracted packet for processing {"connection_id":133054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6304"} 
[2026-07-15 05:17:09] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:17: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-07-15 05:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722531840001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784072691000,"timestamp_ms":1784072691000,"timestamp_seconds":1784072691,"priority":1,"record_length":96,"hex_timestamp":"0000019f6304dd38"} 
[2026-07-15 05:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:17: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:17:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:17: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-07-15 05:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":133054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":133054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":133054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:17:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722531840001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722531840001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:17:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:17:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722531840001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":133054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:17:09] local.INFO: GPS data processed {"connection_id":133054,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:17:09] local.INFO: Acknowledgment sent {"connection_id":133054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:17:40] local.INFO: TCP Data received {"connection_id":133054,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6304dd38012d7f92c005afd830000000502d..."} 
[2026-07-15 05:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6304dd38012d7f92c005afd830000000502d..."} 
[2026-07-15 05:17:40] local.INFO: Processing buffer {"connection_id":133054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6304dd38012d7f92c005afd830000000502d..."} 
[2026-07-15 05:17:40] local.INFO: Packet analysis {"connection_id":133054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6304"} 
[2026-07-15 05:17:40] local.INFO: Extracted packet for processing {"connection_id":133054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6304"} 
[2026-07-15 05:17:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722531840001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784072691000,"timestamp_ms":1784072691000,"timestamp_seconds":1784072691,"priority":1,"record_length":96,"hex_timestamp":"0000019f6304dd38"} 
[2026-07-15 05:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:17:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:17:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:17:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":133054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":133054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":133054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:17:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722531840001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722531840001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:17:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:17:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722531840001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":133054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:17:40] local.INFO: GPS data processed {"connection_id":133054,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:17:40] local.INFO: Acknowledgment sent {"connection_id":133054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:18:02] local.INFO: TCP Data received {"connection_id":132214,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:18:02] local.INFO: Processing buffer {"connection_id":132214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:18:02] local.INFO: IMEI packet received {"connection_id":132214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":132214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:18:09] local.INFO: TCP Data received {"connection_id":132214,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:18:09] local.INFO: Processing buffer {"connection_id":132214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:18:09] local.INFO: IMEI packet received {"connection_id":132214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":132214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:18:10] local.INFO: TCP Data received {"connection_id":132214,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6304dd38012d7f92c005afd830000000502d..."} 
[2026-07-15 05:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6304dd38012d7f92c005afd830000000502d..."} 
[2026-07-15 05:18:10] local.INFO: Processing buffer {"connection_id":132214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6304dd38012d7f92c005afd830000000502d..."} 
[2026-07-15 05:18:10] local.INFO: Packet analysis {"connection_id":132214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6304"} 
[2026-07-15 05:18:10] local.INFO: Extracted packet for processing {"connection_id":132214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6304"} 
[2026-07-15 05:18:10] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722531840001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784072691000,"timestamp_ms":1784072691000,"timestamp_seconds":1784072691,"priority":1,"record_length":96,"hex_timestamp":"0000019f6304dd38"} 
[2026-07-15 05:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":132214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":132214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":132214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722531840001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722531840001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:18:10] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:18:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722531840001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":132214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:18:10] local.INFO: GPS data processed {"connection_id":132214,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:18:10] local.INFO: Acknowledgment sent {"connection_id":132214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:18:43] local.INFO: TCP Data received {"connection_id":132214,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6304dd38012d7f92c005afd830000000502d..."} 
[2026-07-15 05:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6304dd38012d7f92c005afd830000000502d..."} 
[2026-07-15 05:18:43] local.INFO: Processing buffer {"connection_id":132214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6304dd38012d7f92c005afd830000000502d..."} 
[2026-07-15 05:18:43] local.INFO: Packet analysis {"connection_id":132214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6304"} 
[2026-07-15 05:18:43] local.INFO: Extracted packet for processing {"connection_id":132214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6304"} 
[2026-07-15 05:18:43] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722531840001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:18:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:18:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784072691000,"timestamp_ms":1784072691000,"timestamp_seconds":1784072691,"priority":1,"record_length":96,"hex_timestamp":"0000019f6304dd38"} 
[2026-07-15 05:18:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:18:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:18:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:18:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:18:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":132214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":132214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":132214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:18:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722531840001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722531840001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:18:43] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:18:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:18:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:18:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722531840001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":132214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:18:43] local.INFO: GPS data processed {"connection_id":132214,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:18:43] local.INFO: Acknowledgment sent {"connection_id":132214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:19:02] local.INFO: TCP Data received {"connection_id":134422,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:19:02] local.INFO: Processing buffer {"connection_id":134422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:19:02] local.INFO: IMEI packet received {"connection_id":134422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":134422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:19:08] local.INFO: TCP Data received {"connection_id":134422,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:19:08] local.INFO: Processing buffer {"connection_id":134422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:19:08] local.INFO: IMEI packet received {"connection_id":134422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":134422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:19:09] local.INFO: TCP Data received {"connection_id":134422,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6304dd38012d7f92c005afd830000000502d..."} 
[2026-07-15 05:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6304dd38012d7f92c005afd830000000502d..."} 
[2026-07-15 05:19:09] local.INFO: Processing buffer {"connection_id":134422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6304dd38012d7f92c005afd830000000502d..."} 
[2026-07-15 05:19:09] local.INFO: Packet analysis {"connection_id":134422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6304"} 
[2026-07-15 05:19:09] local.INFO: Extracted packet for processing {"connection_id":134422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6304"} 
[2026-07-15 05:19:09] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05: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-07-15 05:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722531840001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784072691000,"timestamp_ms":1784072691000,"timestamp_seconds":1784072691,"priority":1,"record_length":96,"hex_timestamp":"0000019f6304dd38"} 
[2026-07-15 05:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05: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-07-15 05:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":134422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":134422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":134422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722531840001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722531840001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:19:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:19:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722531840001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":134422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:19:09] local.INFO: GPS data processed {"connection_id":134422,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:19:09] local.INFO: Acknowledgment sent {"connection_id":134422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:19:20] local.INFO: TCP Data received {"connection_id":133056,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 05:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133056,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 05:19:20] local.INFO: Processing buffer {"connection_id":133056,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 05:19:20] local.INFO: IMEI packet received {"connection_id":133056,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 05:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":133056,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:19:35] local.INFO: TCP Data received {"connection_id":132215,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 05:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132215,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 05:19:35] local.INFO: Processing buffer {"connection_id":132215,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 05:19:35] local.INFO: IMEI packet received {"connection_id":132215,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 05:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":132215,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:19:39] local.INFO: TCP Data received {"connection_id":134422,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6304dd38012d7f92c005afd830000000502d..."} 
[2026-07-15 05:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6304dd38012d7f92c005afd830000000502d..."} 
[2026-07-15 05:19:39] local.INFO: Processing buffer {"connection_id":134422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6304dd38012d7f92c005afd830000000502d..."} 
[2026-07-15 05:19:39] local.INFO: Packet analysis {"connection_id":134422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6304"} 
[2026-07-15 05:19:39] local.INFO: Extracted packet for processing {"connection_id":134422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6304"} 
[2026-07-15 05:19:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05: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-07-15 05:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722531840001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784072691000,"timestamp_ms":1784072691000,"timestamp_seconds":1784072691,"priority":1,"record_length":96,"hex_timestamp":"0000019f6304dd38"} 
[2026-07-15 05:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:19:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":134422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":134422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":134422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722531840001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722531840001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:19:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:19:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722531840001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":134422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:19:40] local.INFO: GPS data processed {"connection_id":134422,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:19:40] local.INFO: Acknowledgment sent {"connection_id":134422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:20:05] local.INFO: TCP Data received {"connection_id":132216,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:20:05] local.INFO: Processing buffer {"connection_id":132216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:20:05] local.INFO: IMEI packet received {"connection_id":132216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":132216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:20:07] local.INFO: TCP Data received {"connection_id":132216,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:20:07] local.INFO: Processing buffer {"connection_id":132216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:20:07] local.INFO: IMEI packet received {"connection_id":132216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":132216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:20:08] local.INFO: TCP Data received {"connection_id":132216,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6304dd38012d7f92c005afd830000000502d..."} 
[2026-07-15 05:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6304dd38012d7f92c005afd830000000502d..."} 
[2026-07-15 05:20:08] local.INFO: Processing buffer {"connection_id":132216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6304dd38012d7f92c005afd830000000502d..."} 
[2026-07-15 05:20:08] local.INFO: Packet analysis {"connection_id":132216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6304"} 
[2026-07-15 05:20:08] local.INFO: Extracted packet for processing {"connection_id":132216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6304"} 
[2026-07-15 05:20:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722531840001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784072691000,"timestamp_ms":1784072691000,"timestamp_seconds":1784072691,"priority":1,"record_length":96,"hex_timestamp":"0000019f6304dd38"} 
[2026-07-15 05:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:20:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722531840001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722531840001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:20:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:20:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722531840001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":132216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:20:08] local.INFO: GPS data processed {"connection_id":132216,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:20:08] local.INFO: Acknowledgment sent {"connection_id":132216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:20:13] local.INFO: TCP Data received {"connection_id":132216,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6304dd38012d7f92c005afd830000000502d..."} 
[2026-07-15 05:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6304dd38012d7f92c005afd830000000502d..."} 
[2026-07-15 05:20:13] local.INFO: Processing buffer {"connection_id":132216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6304dd38012d7f92c005afd830000000502d..."} 
[2026-07-15 05:20:13] local.INFO: Packet analysis {"connection_id":132216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6304"} 
[2026-07-15 05:20:13] local.INFO: Extracted packet for processing {"connection_id":132216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6304"} 
[2026-07-15 05:20:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722531840001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:20:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:20:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784072691000,"timestamp_ms":1784072691000,"timestamp_seconds":1784072691,"priority":1,"record_length":96,"hex_timestamp":"0000019f6304dd38"} 
[2026-07-15 05:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:20:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:20:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:20:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722531840001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722531840001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:20:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:20:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:20:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722531840001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":132216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:20:13] local.INFO: GPS data processed {"connection_id":132216,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:20:13] local.INFO: Acknowledgment sent {"connection_id":132216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:20:44] local.INFO: TCP Data received {"connection_id":132216,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f63097500012d7f92c005afd830000000502d..."} 
[2026-07-15 05:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63097500012d7f92c005afd830000000502d..."} 
[2026-07-15 05:20:44] local.INFO: Processing buffer {"connection_id":132216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63097500012d7f92c005afd830000000502d..."} 
[2026-07-15 05:20:44] local.INFO: Packet analysis {"connection_id":132216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6309"} 
[2026-07-15 05:20:44] local.INFO: Extracted packet for processing {"connection_id":132216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6309"} 
[2026-07-15 05:20:44] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05: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-07-15 05:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722608896001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784072992000,"timestamp_ms":1784072992000,"timestamp_seconds":1784072992,"priority":1,"record_length":96,"hex_timestamp":"0000019f63097500"} 
[2026-07-15 05:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:20:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:20:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05: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-07-15 05:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":132216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":132216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":132216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722608896001,"66":25560,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722608896001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:20:44] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:20:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722608896001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":132216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:20:44] local.INFO: GPS data processed {"connection_id":132216,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:20:44] local.INFO: Acknowledgment sent {"connection_id":132216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:21:02] local.INFO: TCP Data received {"connection_id":132036,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:21:02] local.INFO: Processing buffer {"connection_id":132036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:21:02] local.INFO: IMEI packet received {"connection_id":132036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":132036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:21:08] local.INFO: TCP Data received {"connection_id":132036,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:21:08] local.INFO: Processing buffer {"connection_id":132036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:21:08] local.INFO: IMEI packet received {"connection_id":132036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":132036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:21:09] local.INFO: TCP Data received {"connection_id":132036,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f63097500012d7f92c005afd830000000502d..."} 
[2026-07-15 05:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63097500012d7f92c005afd830000000502d..."} 
[2026-07-15 05:21:09] local.INFO: Processing buffer {"connection_id":132036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63097500012d7f92c005afd830000000502d..."} 
[2026-07-15 05:21:09] local.INFO: Packet analysis {"connection_id":132036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6309"} 
[2026-07-15 05:21:09] local.INFO: Extracted packet for processing {"connection_id":132036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6309"} 
[2026-07-15 05:21:09] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05: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-07-15 05:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722608896001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784072992000,"timestamp_ms":1784072992000,"timestamp_seconds":1784072992,"priority":1,"record_length":96,"hex_timestamp":"0000019f63097500"} 
[2026-07-15 05:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05: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-07-15 05:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":132036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":132036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":132036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722608896001,"66":25560,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722608896001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:21:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:21:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722608896001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":132036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:21:09] local.INFO: GPS data processed {"connection_id":132036,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:21:09] local.INFO: Acknowledgment sent {"connection_id":132036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:21:40] local.INFO: TCP Data received {"connection_id":132036,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f63097500012d7f92c005afd830000000502d..."} 
[2026-07-15 05:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63097500012d7f92c005afd830000000502d..."} 
[2026-07-15 05:21:40] local.INFO: Processing buffer {"connection_id":132036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63097500012d7f92c005afd830000000502d..."} 
[2026-07-15 05:21:40] local.INFO: Packet analysis {"connection_id":132036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6309"} 
[2026-07-15 05:21:40] local.INFO: Extracted packet for processing {"connection_id":132036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6309"} 
[2026-07-15 05:21:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05: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-07-15 05:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722608896001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784072992000,"timestamp_ms":1784072992000,"timestamp_seconds":1784072992,"priority":1,"record_length":96,"hex_timestamp":"0000019f63097500"} 
[2026-07-15 05:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05: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-07-15 05:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722608896001,"66":25560,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722608896001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:21:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:21:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722608896001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":132036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:21:40] local.INFO: GPS data processed {"connection_id":132036,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:21:40] local.INFO: Acknowledgment sent {"connection_id":132036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:22:02] local.INFO: TCP Data received {"connection_id":132037,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:22:02] local.INFO: Processing buffer {"connection_id":132037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:22:02] local.INFO: IMEI packet received {"connection_id":132037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":132037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:22:07] local.INFO: TCP Data received {"connection_id":132037,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:22:07] local.INFO: Processing buffer {"connection_id":132037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:22:07] local.INFO: IMEI packet received {"connection_id":132037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":132037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:22:07] local.INFO: TCP Data received {"connection_id":132037,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f63097500012d7f92c005afd830000000502d..."} 
[2026-07-15 05:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63097500012d7f92c005afd830000000502d..."} 
[2026-07-15 05:22:07] local.INFO: Processing buffer {"connection_id":132037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63097500012d7f92c005afd830000000502d..."} 
[2026-07-15 05:22:07] local.INFO: Packet analysis {"connection_id":132037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6309"} 
[2026-07-15 05:22:07] local.INFO: Extracted packet for processing {"connection_id":132037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6309"} 
[2026-07-15 05:22:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722608896001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784072992000,"timestamp_ms":1784072992000,"timestamp_seconds":1784072992,"priority":1,"record_length":96,"hex_timestamp":"0000019f63097500"} 
[2026-07-15 05:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722608896001,"66":25560,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722608896001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:22:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:22:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722608896001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":132037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:22:07] local.INFO: GPS data processed {"connection_id":132037,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:22:07] local.INFO: Acknowledgment sent {"connection_id":132037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:22:38] local.INFO: TCP Data received {"connection_id":132037,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f63097500012d7f92c005afd830000000502d..."} 
[2026-07-15 05:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63097500012d7f92c005afd830000000502d..."} 
[2026-07-15 05:22:38] local.INFO: Processing buffer {"connection_id":132037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63097500012d7f92c005afd830000000502d..."} 
[2026-07-15 05:22:38] local.INFO: Packet analysis {"connection_id":132037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6309"} 
[2026-07-15 05:22:38] local.INFO: Extracted packet for processing {"connection_id":132037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6309"} 
[2026-07-15 05:22:38] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722608896001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784072992000,"timestamp_ms":1784072992000,"timestamp_seconds":1784072992,"priority":1,"record_length":96,"hex_timestamp":"0000019f63097500"} 
[2026-07-15 05:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722608896001,"66":25560,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722608896001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:22:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:22:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722608896001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":132037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:22:38] local.INFO: GPS data processed {"connection_id":132037,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:22:38] local.INFO: Acknowledgment sent {"connection_id":132037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:23:07] local.INFO: TCP Data received {"connection_id":134425,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:23:07] local.INFO: Processing buffer {"connection_id":134425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:23:07] local.INFO: IMEI packet received {"connection_id":134425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":134425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:23:14] local.INFO: TCP Data received {"connection_id":134425,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:23:14] local.INFO: Processing buffer {"connection_id":134425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:23:14] local.INFO: IMEI packet received {"connection_id":134425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":134425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:23:15] local.INFO: TCP Data received {"connection_id":134425,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f63097500012d7f92c005afd830000000502d..."} 
[2026-07-15 05:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63097500012d7f92c005afd830000000502d..."} 
[2026-07-15 05:23:15] local.INFO: Processing buffer {"connection_id":134425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63097500012d7f92c005afd830000000502d..."} 
[2026-07-15 05:23:15] local.INFO: Packet analysis {"connection_id":134425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6309"} 
[2026-07-15 05:23:15] local.INFO: Extracted packet for processing {"connection_id":134425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6309"} 
[2026-07-15 05:23:15] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722608896001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784072992000,"timestamp_ms":1784072992000,"timestamp_seconds":1784072992,"priority":1,"record_length":96,"hex_timestamp":"0000019f63097500"} 
[2026-07-15 05:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:23:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":134425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":134425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":134425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722608896001,"66":25560,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722608896001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:23:15] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:23:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722608896001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":134425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:23:15] local.INFO: GPS data processed {"connection_id":134425,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:23:15] local.INFO: Acknowledgment sent {"connection_id":134425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:23:17] local.INFO: TCP Data received {"connection_id":134425,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f63097500012d7f92c005afd830000000502d..."} 
[2026-07-15 05:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63097500012d7f92c005afd830000000502d..."} 
[2026-07-15 05:23:17] local.INFO: Processing buffer {"connection_id":134425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63097500012d7f92c005afd830000000502d..."} 
[2026-07-15 05:23:17] local.INFO: Packet analysis {"connection_id":134425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6309"} 
[2026-07-15 05:23:17] local.INFO: Extracted packet for processing {"connection_id":134425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6309"} 
[2026-07-15 05:23:17] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722608896001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784072992000,"timestamp_ms":1784072992000,"timestamp_seconds":1784072992,"priority":1,"record_length":96,"hex_timestamp":"0000019f63097500"} 
[2026-07-15 05:23:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:23:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:23:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:23:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:23:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":134425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":134425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":134425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722608896001,"66":25560,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722608896001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:23:17] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:23:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722608896001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":134425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:23:17] local.INFO: GPS data processed {"connection_id":134425,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:23:17] local.INFO: Acknowledgment sent {"connection_id":134425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:24:02] local.INFO: TCP Data received {"connection_id":132219,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:24:02] local.INFO: Processing buffer {"connection_id":132219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:24:02] local.INFO: IMEI packet received {"connection_id":132219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":132219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:24:07] local.INFO: TCP Data received {"connection_id":132219,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:24:07] local.INFO: Processing buffer {"connection_id":132219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:24:07] local.INFO: IMEI packet received {"connection_id":132219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":132219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:24:08] local.INFO: TCP Data received {"connection_id":132219,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f63097500012d7f92c005afd830000000502d..."} 
[2026-07-15 05:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63097500012d7f92c005afd830000000502d..."} 
[2026-07-15 05:24:08] local.INFO: Processing buffer {"connection_id":132219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63097500012d7f92c005afd830000000502d..."} 
[2026-07-15 05:24:08] local.INFO: Packet analysis {"connection_id":132219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6309"} 
[2026-07-15 05:24:08] local.INFO: Extracted packet for processing {"connection_id":132219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6309"} 
[2026-07-15 05:24:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722608896001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784072992000,"timestamp_ms":1784072992000,"timestamp_seconds":1784072992,"priority":1,"record_length":96,"hex_timestamp":"0000019f63097500"} 
[2026-07-15 05:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722608896001,"66":25560,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722608896001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:24:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:24:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722608896001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":132219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:24:08] local.INFO: GPS data processed {"connection_id":132219,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:24:08] local.INFO: Acknowledgment sent {"connection_id":132219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:24:41] local.INFO: TCP Data received {"connection_id":132219,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f63097500012d7f92c005afd830000000502d..."} 
[2026-07-15 05:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63097500012d7f92c005afd830000000502d..."} 
[2026-07-15 05:24:41] local.INFO: Processing buffer {"connection_id":132219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63097500012d7f92c005afd830000000502d..."} 
[2026-07-15 05:24:41] local.INFO: Packet analysis {"connection_id":132219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6309"} 
[2026-07-15 05:24:41] local.INFO: Extracted packet for processing {"connection_id":132219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6309"} 
[2026-07-15 05:24:41] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722608896001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:24:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784072992000,"timestamp_ms":1784072992000,"timestamp_seconds":1784072992,"priority":1,"record_length":96,"hex_timestamp":"0000019f63097500"} 
[2026-07-15 05:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:24:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:24:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:24:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722608896001,"66":25560,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722608896001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:24:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:24:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:24:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722608896001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":132219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:24:41] local.INFO: GPS data processed {"connection_id":132219,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:24:41] local.INFO: Acknowledgment sent {"connection_id":132219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:25:00] local.INFO: TCP Data received {"connection_id":132038,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 05:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132038,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 05:25:00] local.INFO: Processing buffer {"connection_id":132038,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 05:25:00] local.INFO: IMEI packet received {"connection_id":132038,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 05:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":132038,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:25:02] local.INFO: TCP Data received {"connection_id":132220,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:25:02] local.INFO: Processing buffer {"connection_id":132220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:25:02] local.INFO: IMEI packet received {"connection_id":132220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":132220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:25:07] local.INFO: TCP Data received {"connection_id":132220,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:25:07] local.INFO: Processing buffer {"connection_id":132220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:25:07] local.INFO: IMEI packet received {"connection_id":132220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":132220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:25:08] local.INFO: TCP Data received {"connection_id":132220,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f63097500012d7f92c005afd830000000502d..."} 
[2026-07-15 05:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63097500012d7f92c005afd830000000502d..."} 
[2026-07-15 05:25:08] local.INFO: Processing buffer {"connection_id":132220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63097500012d7f92c005afd830000000502d..."} 
[2026-07-15 05:25:08] local.INFO: Packet analysis {"connection_id":132220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6309"} 
[2026-07-15 05:25:08] local.INFO: Extracted packet for processing {"connection_id":132220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6309"} 
[2026-07-15 05:25:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722608896001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784072992000,"timestamp_ms":1784072992000,"timestamp_seconds":1784072992,"priority":1,"record_length":96,"hex_timestamp":"0000019f63097500"} 
[2026-07-15 05:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722608896001,"66":25560,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722608896001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:25:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:25:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722608896001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":132220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:25:08] local.INFO: GPS data processed {"connection_id":132220,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:25:08] local.INFO: Acknowledgment sent {"connection_id":132220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:25:35] local.INFO: TCP Data received {"connection_id":133057,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 05:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133057,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 05:25:35] local.INFO: Processing buffer {"connection_id":133057,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 05:25:35] local.INFO: IMEI packet received {"connection_id":133057,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 05:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":133057,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:25:39] local.INFO: TCP Data received {"connection_id":132220,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f630e0cc8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f630e0cc8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:25:39] local.INFO: Processing buffer {"connection_id":132220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f630e0cc8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:25:39] local.INFO: Packet analysis {"connection_id":132220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f630e"} 
[2026-07-15 05:25:39] local.INFO: Extracted packet for processing {"connection_id":132220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f630e"} 
[2026-07-15 05:25:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722685952001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784073293000,"timestamp_ms":1784073293000,"timestamp_seconds":1784073293,"priority":1,"record_length":96,"hex_timestamp":"0000019f630e0cc8"} 
[2026-07-15 05:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 05:25:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722685952001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722685952001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:25:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:25:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722685952001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":132220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:25:39] local.INFO: GPS data processed {"connection_id":132220,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:25:39] local.INFO: Acknowledgment sent {"connection_id":132220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:26:07] local.INFO: TCP Data received {"connection_id":132039,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:26:07] local.INFO: Processing buffer {"connection_id":132039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:26:07] local.INFO: IMEI packet received {"connection_id":132039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":132039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:26:14] local.INFO: TCP Data received {"connection_id":132039,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:26:14] local.INFO: Processing buffer {"connection_id":132039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:26:14] local.INFO: IMEI packet received {"connection_id":132039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":132039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:26:15] local.INFO: TCP Data received {"connection_id":132039,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f630e0cc8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f630e0cc8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:26:15] local.INFO: Processing buffer {"connection_id":132039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f630e0cc8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:26:15] local.INFO: Packet analysis {"connection_id":132039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f630e"} 
[2026-07-15 05:26:15] local.INFO: Extracted packet for processing {"connection_id":132039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f630e"} 
[2026-07-15 05:26:15] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722685952001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:26:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784073293000,"timestamp_ms":1784073293000,"timestamp_seconds":1784073293,"priority":1,"record_length":96,"hex_timestamp":"0000019f630e0cc8"} 
[2026-07-15 05:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 05:26:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:26:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":132039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":132039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":132039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722685952001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722685952001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:26:15] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:26:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722685952001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":132039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:26:15] local.INFO: GPS data processed {"connection_id":132039,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:26:15] local.INFO: Acknowledgment sent {"connection_id":132039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:26:46] local.INFO: TCP Data received {"connection_id":132039,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f630e0cc8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f630e0cc8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:26:46] local.INFO: Processing buffer {"connection_id":132039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f630e0cc8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:26:46] local.INFO: Packet analysis {"connection_id":132039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f630e"} 
[2026-07-15 05:26:46] local.INFO: Extracted packet for processing {"connection_id":132039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f630e"} 
[2026-07-15 05:26:46] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722685952001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:26:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784073293000,"timestamp_ms":1784073293000,"timestamp_seconds":1784073293,"priority":1,"record_length":96,"hex_timestamp":"0000019f630e0cc8"} 
[2026-07-15 05:26:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:26:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 05:26:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:26:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:26:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722685952001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722685952001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:26:46] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:26:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722685952001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":132039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:26:46] local.INFO: GPS data processed {"connection_id":132039,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:26:46] local.INFO: Acknowledgment sent {"connection_id":132039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:27:02] local.INFO: TCP Data received {"connection_id":134427,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:27:02] local.INFO: Processing buffer {"connection_id":134427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:27:02] local.INFO: IMEI packet received {"connection_id":134427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":134427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:27:07] local.INFO: TCP Data received {"connection_id":134427,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:27:07] local.INFO: Processing buffer {"connection_id":134427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:27:07] local.INFO: IMEI packet received {"connection_id":134427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":134427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:27:08] local.INFO: TCP Data received {"connection_id":134427,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f630e0cc8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f630e0cc8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:27:08] local.INFO: Processing buffer {"connection_id":134427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f630e0cc8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:27:08] local.INFO: Packet analysis {"connection_id":134427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f630e"} 
[2026-07-15 05:27:08] local.INFO: Extracted packet for processing {"connection_id":134427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f630e"} 
[2026-07-15 05:27:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722685952001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784073293000,"timestamp_ms":1784073293000,"timestamp_seconds":1784073293,"priority":1,"record_length":96,"hex_timestamp":"0000019f630e0cc8"} 
[2026-07-15 05:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 05:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722685952001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722685952001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:27:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:27:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722685952001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":134427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:27:08] local.INFO: GPS data processed {"connection_id":134427,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:27:08] local.INFO: Acknowledgment sent {"connection_id":134427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:27:39] local.INFO: TCP Data received {"connection_id":134427,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f630e0cc8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f630e0cc8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:27:39] local.INFO: Processing buffer {"connection_id":134427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f630e0cc8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:27:39] local.INFO: Packet analysis {"connection_id":134427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f630e"} 
[2026-07-15 05:27:39] local.INFO: Extracted packet for processing {"connection_id":134427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f630e"} 
[2026-07-15 05:27:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722685952001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784073293000,"timestamp_ms":1784073293000,"timestamp_seconds":1784073293,"priority":1,"record_length":96,"hex_timestamp":"0000019f630e0cc8"} 
[2026-07-15 05:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 05:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722685952001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722685952001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:27:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:27:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722685952001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":134427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:27:39] local.INFO: GPS data processed {"connection_id":134427,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:27:39] local.INFO: Acknowledgment sent {"connection_id":134427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:28:02] local.INFO: TCP Data received {"connection_id":132040,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:28:02] local.INFO: Processing buffer {"connection_id":132040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:28:02] local.INFO: IMEI packet received {"connection_id":132040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":132040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:28:07] local.INFO: TCP Data received {"connection_id":132040,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:28:07] local.INFO: Processing buffer {"connection_id":132040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:28:07] local.INFO: IMEI packet received {"connection_id":132040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":132040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:28:08] local.INFO: TCP Data received {"connection_id":132040,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f630e0cc8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f630e0cc8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:28:08] local.INFO: Processing buffer {"connection_id":132040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f630e0cc8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:28:08] local.INFO: Packet analysis {"connection_id":132040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f630e"} 
[2026-07-15 05:28:08] local.INFO: Extracted packet for processing {"connection_id":132040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f630e"} 
[2026-07-15 05:28:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05: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-07-15 05:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722685952001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784073293000,"timestamp_ms":1784073293000,"timestamp_seconds":1784073293,"priority":1,"record_length":96,"hex_timestamp":"0000019f630e0cc8"} 
[2026-07-15 05:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 05:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05: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-07-15 05:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:28:08] 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-07-15 05:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722685952001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722685952001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:28:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:28:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722685952001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":132040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:28:08] local.INFO: GPS data processed {"connection_id":132040,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:28:08] local.INFO: Acknowledgment sent {"connection_id":132040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:28:42] local.INFO: TCP Data received {"connection_id":132040,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f630e0cc8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f630e0cc8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:28:42] local.INFO: Processing buffer {"connection_id":132040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f630e0cc8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:28:42] local.INFO: Packet analysis {"connection_id":132040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f630e"} 
[2026-07-15 05:28:42] local.INFO: Extracted packet for processing {"connection_id":132040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f630e"} 
[2026-07-15 05:28:42] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722685952001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784073293000,"timestamp_ms":1784073293000,"timestamp_seconds":1784073293,"priority":1,"record_length":96,"hex_timestamp":"0000019f630e0cc8"} 
[2026-07-15 05:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 05:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:28: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-07-15 05:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722685952001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722685952001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:28:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:28:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722685952001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":132040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:28:42] local.INFO: GPS data processed {"connection_id":132040,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:28:42] local.INFO: Acknowledgment sent {"connection_id":132040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:29:02] local.INFO: TCP Data received {"connection_id":133060,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:29:02] local.INFO: Processing buffer {"connection_id":133060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:29:02] local.INFO: IMEI packet received {"connection_id":133060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":133060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:29:07] local.INFO: TCP Data received {"connection_id":133060,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:29:07] local.INFO: Processing buffer {"connection_id":133060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:29:07] local.INFO: IMEI packet received {"connection_id":133060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":133060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:29:08] local.INFO: TCP Data received {"connection_id":133060,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f630e0cc8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f630e0cc8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:29:08] local.INFO: Processing buffer {"connection_id":133060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f630e0cc8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:29:08] local.INFO: Packet analysis {"connection_id":133060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f630e"} 
[2026-07-15 05:29:08] local.INFO: Extracted packet for processing {"connection_id":133060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f630e"} 
[2026-07-15 05:29:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722685952001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784073293000,"timestamp_ms":1784073293000,"timestamp_seconds":1784073293,"priority":1,"record_length":96,"hex_timestamp":"0000019f630e0cc8"} 
[2026-07-15 05:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 05:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":133060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":133060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":133060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722685952001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722685952001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:29:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:29:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722685952001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":133060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:29:08] local.INFO: GPS data processed {"connection_id":133060,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:29:08] local.INFO: Acknowledgment sent {"connection_id":133060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:29:43] local.INFO: TCP Data received {"connection_id":133060,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f630e0cc8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f630e0cc8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:29:43] local.INFO: Processing buffer {"connection_id":133060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f630e0cc8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:29:43] local.INFO: Packet analysis {"connection_id":133060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f630e"} 
[2026-07-15 05:29:43] local.INFO: Extracted packet for processing {"connection_id":133060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f630e"} 
[2026-07-15 05:29:43] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722685952001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784073293000,"timestamp_ms":1784073293000,"timestamp_seconds":1784073293,"priority":1,"record_length":96,"hex_timestamp":"0000019f630e0cc8"} 
[2026-07-15 05:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:29:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 05:29:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:29:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":133060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":133060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":133060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:29:43] 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-07-15 05:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722685952001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722685952001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:29:43] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:29:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722685952001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":133060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:29:43] local.INFO: GPS data processed {"connection_id":133060,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:29:43] local.INFO: Acknowledgment sent {"connection_id":133060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:30:02] local.INFO: TCP Data received {"connection_id":133061,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:30:02] local.INFO: Processing buffer {"connection_id":133061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:30:02] local.INFO: IMEI packet received {"connection_id":133061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":133061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:30:07] local.INFO: TCP Data received {"connection_id":133061,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:30:07] local.INFO: Processing buffer {"connection_id":133061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:30:07] local.INFO: IMEI packet received {"connection_id":133061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":133061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:30:08] local.INFO: TCP Data received {"connection_id":133061,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f630e0cc8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f630e0cc8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:30:08] local.INFO: Processing buffer {"connection_id":133061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f630e0cc8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:30:08] local.INFO: Packet analysis {"connection_id":133061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f630e"} 
[2026-07-15 05:30:08] local.INFO: Extracted packet for processing {"connection_id":133061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f630e"} 
[2026-07-15 05:30:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05: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-07-15 05:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722685952001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784073293000,"timestamp_ms":1784073293000,"timestamp_seconds":1784073293,"priority":1,"record_length":96,"hex_timestamp":"0000019f630e0cc8"} 
[2026-07-15 05:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 05:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05: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-07-15 05:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":133061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":133061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":133061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:30:08] 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-07-15 05:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722685952001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722685952001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:30:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:30:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722685952001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":133061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:30:08] local.INFO: GPS data processed {"connection_id":133061,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:30:08] local.INFO: Acknowledgment sent {"connection_id":133061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:30:39] local.INFO: TCP Data received {"connection_id":133061,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f6312a490012d7f92c005afd830000000502f..."} 
[2026-07-15 05:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6312a490012d7f92c005afd830000000502f..."} 
[2026-07-15 05:30:39] local.INFO: Processing buffer {"connection_id":133061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6312a490012d7f92c005afd830000000502f..."} 
[2026-07-15 05:30:39] local.INFO: Packet analysis {"connection_id":133061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6312"} 
[2026-07-15 05:30:39] local.INFO: Extracted packet for processing {"connection_id":133061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6312"} 
[2026-07-15 05:30:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05: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-07-15 05:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722763008001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:30:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784073594000,"timestamp_ms":1784073594000,"timestamp_seconds":1784073594,"priority":1,"record_length":96,"hex_timestamp":"0000019f6312a490"} 
[2026-07-15 05:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:30:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:30:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05: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-07-15 05:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:30: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-07-15 05:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722763008001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722763008001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:30:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:30:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722763008001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":133061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:30:39] local.INFO: GPS data processed {"connection_id":133061,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:30:39] local.INFO: Acknowledgment sent {"connection_id":133061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:31:07] local.INFO: TCP Data received {"connection_id":133063,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:31:07] local.INFO: Processing buffer {"connection_id":133063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:31:07] local.INFO: IMEI packet received {"connection_id":133063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":133063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:31:12] local.INFO: TCP Data received {"connection_id":133063,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:31:12] local.INFO: Processing buffer {"connection_id":133063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:31:12] local.INFO: IMEI packet received {"connection_id":133063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":133063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:31:13] local.INFO: TCP Data received {"connection_id":133063,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f6312a490012d7f92c005afd830000000502f..."} 
[2026-07-15 05:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6312a490012d7f92c005afd830000000502f..."} 
[2026-07-15 05:31:13] local.INFO: Processing buffer {"connection_id":133063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6312a490012d7f92c005afd830000000502f..."} 
[2026-07-15 05:31:13] local.INFO: Packet analysis {"connection_id":133063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6312"} 
[2026-07-15 05:31:13] local.INFO: Extracted packet for processing {"connection_id":133063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6312"} 
[2026-07-15 05:31:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722763008001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:31:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784073594000,"timestamp_ms":1784073594000,"timestamp_seconds":1784073594,"priority":1,"record_length":96,"hex_timestamp":"0000019f6312a490"} 
[2026-07-15 05:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:31:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:31:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":133063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":133063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":133063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:31:13] 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-07-15 05:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722763008001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722763008001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:31:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:31:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722763008001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":133063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:31:13] local.INFO: GPS data processed {"connection_id":133063,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:31:13] local.INFO: Acknowledgment sent {"connection_id":133063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:31:35] local.INFO: TCP Data received {"connection_id":132042,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 05:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132042,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 05:31:35] local.INFO: Processing buffer {"connection_id":132042,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 05:31:35] local.INFO: IMEI packet received {"connection_id":132042,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 05:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":132042,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:31:44] local.INFO: TCP Data received {"connection_id":133063,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f6312a490012d7f92c005afd830000000502f..."} 
[2026-07-15 05:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6312a490012d7f92c005afd830000000502f..."} 
[2026-07-15 05:31:44] local.INFO: Processing buffer {"connection_id":133063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6312a490012d7f92c005afd830000000502f..."} 
[2026-07-15 05:31:44] local.INFO: Packet analysis {"connection_id":133063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6312"} 
[2026-07-15 05:31:44] local.INFO: Extracted packet for processing {"connection_id":133063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6312"} 
[2026-07-15 05:31:44] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722763008001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:31:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784073594000,"timestamp_ms":1784073594000,"timestamp_seconds":1784073594,"priority":1,"record_length":96,"hex_timestamp":"0000019f6312a490"} 
[2026-07-15 05:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:31:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:31:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:31:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":133063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":133063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":133063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:31:44] 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-07-15 05:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722763008001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722763008001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:31:44] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:31:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722763008001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":133063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:31:44] local.INFO: GPS data processed {"connection_id":133063,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:31:44] local.INFO: Acknowledgment sent {"connection_id":133063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:32:02] local.INFO: TCP Data received {"connection_id":132043,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:32:02] local.INFO: Processing buffer {"connection_id":132043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:32:02] local.INFO: IMEI packet received {"connection_id":132043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":132043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:32:07] local.INFO: TCP Data received {"connection_id":132043,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:32:07] local.INFO: Processing buffer {"connection_id":132043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:32:07] local.INFO: IMEI packet received {"connection_id":132043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":132043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:32:08] local.INFO: TCP Data received {"connection_id":132043,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f6312a490012d7f92c005afd830000000502f..."} 
[2026-07-15 05:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6312a490012d7f92c005afd830000000502f..."} 
[2026-07-15 05:32:08] local.INFO: Processing buffer {"connection_id":132043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6312a490012d7f92c005afd830000000502f..."} 
[2026-07-15 05:32:08] local.INFO: Packet analysis {"connection_id":132043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6312"} 
[2026-07-15 05:32:08] local.INFO: Extracted packet for processing {"connection_id":132043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6312"} 
[2026-07-15 05:32:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722763008001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784073594000,"timestamp_ms":1784073594000,"timestamp_seconds":1784073594,"priority":1,"record_length":96,"hex_timestamp":"0000019f6312a490"} 
[2026-07-15 05:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722763008001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722763008001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:32:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:32:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722763008001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":132043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:32:08] local.INFO: GPS data processed {"connection_id":132043,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:32:08] local.INFO: Acknowledgment sent {"connection_id":132043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:32:39] local.INFO: TCP Data received {"connection_id":132043,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f6312a490012d7f92c005afd830000000502f..."} 
[2026-07-15 05:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6312a490012d7f92c005afd830000000502f..."} 
[2026-07-15 05:32:39] local.INFO: Processing buffer {"connection_id":132043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6312a490012d7f92c005afd830000000502f..."} 
[2026-07-15 05:32:39] local.INFO: Packet analysis {"connection_id":132043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6312"} 
[2026-07-15 05:32:39] local.INFO: Extracted packet for processing {"connection_id":132043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6312"} 
[2026-07-15 05:32:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722763008001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784073594000,"timestamp_ms":1784073594000,"timestamp_seconds":1784073594,"priority":1,"record_length":96,"hex_timestamp":"0000019f6312a490"} 
[2026-07-15 05:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:32:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:32:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:32:39] 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-07-15 05:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722763008001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722763008001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:32:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:32:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722763008001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":132043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:32:39] local.INFO: GPS data processed {"connection_id":132043,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:32:39] local.INFO: Acknowledgment sent {"connection_id":132043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:33:02] local.INFO: TCP Data received {"connection_id":134428,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:33:02] local.INFO: Processing buffer {"connection_id":134428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:33:02] local.INFO: IMEI packet received {"connection_id":134428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":134428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:33:07] local.INFO: TCP Data received {"connection_id":134428,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:33:07] local.INFO: Processing buffer {"connection_id":134428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:33:07] local.INFO: IMEI packet received {"connection_id":134428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":134428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:33:09] local.INFO: TCP Data received {"connection_id":134428,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f6312a490012d7f92c005afd830000000502f..."} 
[2026-07-15 05:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6312a490012d7f92c005afd830000000502f..."} 
[2026-07-15 05:33:09] local.INFO: Processing buffer {"connection_id":134428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6312a490012d7f92c005afd830000000502f..."} 
[2026-07-15 05:33:09] local.INFO: Packet analysis {"connection_id":134428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6312"} 
[2026-07-15 05:33:09] local.INFO: Extracted packet for processing {"connection_id":134428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6312"} 
[2026-07-15 05:33:09] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05: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-07-15 05:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722763008001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784073594000,"timestamp_ms":1784073594000,"timestamp_seconds":1784073594,"priority":1,"record_length":96,"hex_timestamp":"0000019f6312a490"} 
[2026-07-15 05:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:33:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":134428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":134428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":134428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:33:09] 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-07-15 05:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722763008001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722763008001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:33:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:33:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722763008001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":134428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:33:09] local.INFO: GPS data processed {"connection_id":134428,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:33:09] local.INFO: Acknowledgment sent {"connection_id":134428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:33:40] local.INFO: TCP Data received {"connection_id":134428,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f6312a490012d7f92c005afd830000000502f..."} 
[2026-07-15 05:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6312a490012d7f92c005afd830000000502f..."} 
[2026-07-15 05:33:40] local.INFO: Processing buffer {"connection_id":134428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6312a490012d7f92c005afd830000000502f..."} 
[2026-07-15 05:33:40] local.INFO: Packet analysis {"connection_id":134428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6312"} 
[2026-07-15 05:33:40] local.INFO: Extracted packet for processing {"connection_id":134428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6312"} 
[2026-07-15 05:33:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722763008001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:33:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:33:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784073594000,"timestamp_ms":1784073594000,"timestamp_seconds":1784073594,"priority":1,"record_length":96,"hex_timestamp":"0000019f6312a490"} 
[2026-07-15 05:33:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:33:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:33:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:33:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:33:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":134428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":134428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":134428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:33:40] 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-07-15 05:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722763008001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722763008001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:33:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:33:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:33:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722763008001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":134428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:33:40] local.INFO: GPS data processed {"connection_id":134428,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:33:40] local.INFO: Acknowledgment sent {"connection_id":134428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:34:02] local.INFO: TCP Data received {"connection_id":132044,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:34:02] local.INFO: Processing buffer {"connection_id":132044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:34:02] local.INFO: IMEI packet received {"connection_id":132044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":132044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:34:07] local.INFO: TCP Data received {"connection_id":132044,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:34:07] local.INFO: Processing buffer {"connection_id":132044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:34:07] local.INFO: IMEI packet received {"connection_id":132044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":132044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:34:08] local.INFO: TCP Data received {"connection_id":132044,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6312a490012d7f92c005afd830000000502f..."} 
[2026-07-15 05:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6312a490012d7f92c005afd830000000502f..."} 
[2026-07-15 05:34:08] local.INFO: Processing buffer {"connection_id":132044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6312a490012d7f92c005afd830000000502f..."} 
[2026-07-15 05:34:08] local.INFO: Packet analysis {"connection_id":132044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6312"} 
[2026-07-15 05:34:08] local.INFO: Extracted packet for processing {"connection_id":132044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6312"} 
[2026-07-15 05:34:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722763008001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784073594000,"timestamp_ms":1784073594000,"timestamp_seconds":1784073594,"priority":1,"record_length":96,"hex_timestamp":"0000019f6312a490"} 
[2026-07-15 05:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722763008001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722763008001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:34:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:34:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722763008001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":132044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:34:08] local.INFO: GPS data processed {"connection_id":132044,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:34:08] local.INFO: Acknowledgment sent {"connection_id":132044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:34:41] local.INFO: TCP Data received {"connection_id":132044,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6312a490012d7f92c005afd830000000502f..."} 
[2026-07-15 05:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6312a490012d7f92c005afd830000000502f..."} 
[2026-07-15 05:34:41] local.INFO: Processing buffer {"connection_id":132044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6312a490012d7f92c005afd830000000502f..."} 
[2026-07-15 05:34:41] local.INFO: Packet analysis {"connection_id":132044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6312"} 
[2026-07-15 05:34:41] local.INFO: Extracted packet for processing {"connection_id":132044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6312"} 
[2026-07-15 05:34:41] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722763008001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784073594000,"timestamp_ms":1784073594000,"timestamp_seconds":1784073594,"priority":1,"record_length":96,"hex_timestamp":"0000019f6312a490"} 
[2026-07-15 05:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722763008001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722763008001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:34:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:34:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722763008001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":132044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:34:41] local.INFO: GPS data processed {"connection_id":132044,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:34:41] local.INFO: Acknowledgment sent {"connection_id":132044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:35:02] local.INFO: TCP Data received {"connection_id":132223,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:35:02] local.INFO: Processing buffer {"connection_id":132223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:35:02] local.INFO: IMEI packet received {"connection_id":132223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":132223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:35:09] local.INFO: TCP Data received {"connection_id":132223,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:35:09] local.INFO: Processing buffer {"connection_id":132223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:35:09] local.INFO: IMEI packet received {"connection_id":132223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":132223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:35:10] local.INFO: TCP Data received {"connection_id":132223,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6312a490012d7f92c005afd830000000502f..."} 
[2026-07-15 05:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6312a490012d7f92c005afd830000000502f..."} 
[2026-07-15 05:35:10] local.INFO: Processing buffer {"connection_id":132223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6312a490012d7f92c005afd830000000502f..."} 
[2026-07-15 05:35:10] local.INFO: Packet analysis {"connection_id":132223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6312"} 
[2026-07-15 05:35:10] local.INFO: Extracted packet for processing {"connection_id":132223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6312"} 
[2026-07-15 05:35:10] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722763008001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784073594000,"timestamp_ms":1784073594000,"timestamp_seconds":1784073594,"priority":1,"record_length":96,"hex_timestamp":"0000019f6312a490"} 
[2026-07-15 05:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":132223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":132223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":132223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722763008001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722763008001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:35:10] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:35:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722763008001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":132223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:35:10] local.INFO: GPS data processed {"connection_id":132223,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:35:10] local.INFO: Acknowledgment sent {"connection_id":132223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:35:41] local.INFO: TCP Data received {"connection_id":132223,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f63173c58012d7f92c005afd830000000502c..."} 
[2026-07-15 05:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63173c58012d7f92c005afd830000000502c..."} 
[2026-07-15 05:35:41] local.INFO: Processing buffer {"connection_id":132223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63173c58012d7f92c005afd830000000502c..."} 
[2026-07-15 05:35:41] local.INFO: Packet analysis {"connection_id":132223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6317"} 
[2026-07-15 05:35:41] local.INFO: Extracted packet for processing {"connection_id":132223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6317"} 
[2026-07-15 05:35:41] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722840064001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784073895000,"timestamp_ms":1784073895000,"timestamp_seconds":1784073895,"priority":1,"record_length":96,"hex_timestamp":"0000019f63173c58"} 
[2026-07-15 05:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722840064001,"66":25517,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722840064001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:35:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:35:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722840064001,"power":25517,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":132223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:35:41] local.INFO: GPS data processed {"connection_id":132223,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:35:41] local.INFO: Acknowledgment sent {"connection_id":132223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:36:07] local.INFO: TCP Data received {"connection_id":133065,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:36:07] local.INFO: Processing buffer {"connection_id":133065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:36:07] local.INFO: IMEI packet received {"connection_id":133065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":133065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:36:14] local.INFO: TCP Data received {"connection_id":133065,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:36:14] local.INFO: Processing buffer {"connection_id":133065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:36:14] local.INFO: IMEI packet received {"connection_id":133065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":133065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:36:15] local.INFO: TCP Data received {"connection_id":133065,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f63173c58012d7f92c005afd830000000502c..."} 
[2026-07-15 05:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63173c58012d7f92c005afd830000000502c..."} 
[2026-07-15 05:36:15] local.INFO: Processing buffer {"connection_id":133065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63173c58012d7f92c005afd830000000502c..."} 
[2026-07-15 05:36:15] local.INFO: Packet analysis {"connection_id":133065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6317"} 
[2026-07-15 05:36:15] local.INFO: Extracted packet for processing {"connection_id":133065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6317"} 
[2026-07-15 05:36:15] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722840064001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784073895000,"timestamp_ms":1784073895000,"timestamp_seconds":1784073895,"priority":1,"record_length":96,"hex_timestamp":"0000019f63173c58"} 
[2026-07-15 05:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:36:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":133065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":133065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":133065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722840064001,"66":25517,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722840064001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:36:15] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:36:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722840064001,"power":25517,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":133065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:36:15] local.INFO: GPS data processed {"connection_id":133065,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:36:15] local.INFO: Acknowledgment sent {"connection_id":133065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:36:17] local.INFO: TCP Data received {"connection_id":133065,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f63173c58012d7f92c005afd830000000502c..."} 
[2026-07-15 05:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63173c58012d7f92c005afd830000000502c..."} 
[2026-07-15 05:36:17] local.INFO: Processing buffer {"connection_id":133065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63173c58012d7f92c005afd830000000502c..."} 
[2026-07-15 05:36:17] local.INFO: Packet analysis {"connection_id":133065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6317"} 
[2026-07-15 05:36:17] local.INFO: Extracted packet for processing {"connection_id":133065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6317"} 
[2026-07-15 05:36:17] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722840064001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:36:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:36:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784073895000,"timestamp_ms":1784073895000,"timestamp_seconds":1784073895,"priority":1,"record_length":96,"hex_timestamp":"0000019f63173c58"} 
[2026-07-15 05:36:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:36:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:36:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:36:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:36:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":133065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":133065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":133065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:36:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722840064001,"66":25517,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722840064001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:36:17] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:36:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:36:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:36:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722840064001,"power":25517,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:36:17] local.INFO: DEBUG: GPS processor result {"connection_id":133065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:36:17] local.INFO: GPS data processed {"connection_id":133065,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:36:17] local.INFO: Acknowledgment sent {"connection_id":133065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:37:01] local.INFO: TCP Data received {"connection_id":133066,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 05:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133066,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 05:37:01] local.INFO: Processing buffer {"connection_id":133066,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 05:37:01] local.INFO: IMEI packet received {"connection_id":133066,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 05:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":133066,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:37:02] local.INFO: TCP Data received {"connection_id":132046,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:37:02] local.INFO: Processing buffer {"connection_id":132046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:37:02] local.INFO: IMEI packet received {"connection_id":132046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":132046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:37:09] local.INFO: TCP Data received {"connection_id":132046,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:37:09] local.INFO: Processing buffer {"connection_id":132046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:37:09] local.INFO: IMEI packet received {"connection_id":132046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":132046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:37:10] local.INFO: TCP Data received {"connection_id":132046,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f63173c58012d7f92c005afd830000000502c..."} 
[2026-07-15 05:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63173c58012d7f92c005afd830000000502c..."} 
[2026-07-15 05:37:10] local.INFO: Processing buffer {"connection_id":132046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63173c58012d7f92c005afd830000000502c..."} 
[2026-07-15 05:37:10] local.INFO: Packet analysis {"connection_id":132046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6317"} 
[2026-07-15 05:37:10] local.INFO: Extracted packet for processing {"connection_id":132046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6317"} 
[2026-07-15 05:37:10] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:37: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-07-15 05:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722840064001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784073895000,"timestamp_ms":1784073895000,"timestamp_seconds":1784073895,"priority":1,"record_length":96,"hex_timestamp":"0000019f63173c58"} 
[2026-07-15 05:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:37: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-07-15 05:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":132046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":132046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":132046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722840064001,"66":25517,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722840064001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:37:10] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:37:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722840064001,"power":25517,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":132046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:37:10] local.INFO: GPS data processed {"connection_id":132046,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:37:10] local.INFO: Acknowledgment sent {"connection_id":132046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:37:40] local.INFO: TCP Data received {"connection_id":133067,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 05:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133067,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 05:37:40] local.INFO: Processing buffer {"connection_id":133067,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 05:37:40] local.INFO: IMEI packet received {"connection_id":133067,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 05:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":133067,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:37:41] local.INFO: TCP Data received {"connection_id":132046,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f63173c58012d7f92c005afd830000000502c..."} 
[2026-07-15 05:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63173c58012d7f92c005afd830000000502c..."} 
[2026-07-15 05:37:41] local.INFO: Processing buffer {"connection_id":132046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63173c58012d7f92c005afd830000000502c..."} 
[2026-07-15 05:37:41] local.INFO: Packet analysis {"connection_id":132046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6317"} 
[2026-07-15 05:37:41] local.INFO: Extracted packet for processing {"connection_id":132046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6317"} 
[2026-07-15 05:37:41] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722840064001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:37:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784073895000,"timestamp_ms":1784073895000,"timestamp_seconds":1784073895,"priority":1,"record_length":96,"hex_timestamp":"0000019f63173c58"} 
[2026-07-15 05:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:37:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:37:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722840064001,"66":25517,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722840064001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:37:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:37:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722840064001,"power":25517,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":132046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:37:41] local.INFO: GPS data processed {"connection_id":132046,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:37:41] local.INFO: Acknowledgment sent {"connection_id":132046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:38:02] local.INFO: TCP Data received {"connection_id":132224,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:38:02] local.INFO: Processing buffer {"connection_id":132224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:38:02] local.INFO: IMEI packet received {"connection_id":132224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":132224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:38:07] local.INFO: TCP Data received {"connection_id":132224,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:38:07] local.INFO: Processing buffer {"connection_id":132224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:38:07] local.INFO: IMEI packet received {"connection_id":132224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":132224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:38:08] local.INFO: TCP Data received {"connection_id":132224,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f63173c58012d7f92c005afd830000000502c..."} 
[2026-07-15 05:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63173c58012d7f92c005afd830000000502c..."} 
[2026-07-15 05:38:08] local.INFO: Processing buffer {"connection_id":132224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63173c58012d7f92c005afd830000000502c..."} 
[2026-07-15 05:38:08] local.INFO: Packet analysis {"connection_id":132224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6317"} 
[2026-07-15 05:38:08] local.INFO: Extracted packet for processing {"connection_id":132224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6317"} 
[2026-07-15 05:38:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722840064001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784073895000,"timestamp_ms":1784073895000,"timestamp_seconds":1784073895,"priority":1,"record_length":96,"hex_timestamp":"0000019f63173c58"} 
[2026-07-15 05:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722840064001,"66":25517,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722840064001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:38:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:38:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722840064001,"power":25517,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":132224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:38:08] local.INFO: GPS data processed {"connection_id":132224,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:38:08] local.INFO: Acknowledgment sent {"connection_id":132224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:38:39] local.INFO: TCP Data received {"connection_id":132224,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f63173c58012d7f92c005afd830000000502c..."} 
[2026-07-15 05:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63173c58012d7f92c005afd830000000502c..."} 
[2026-07-15 05:38:39] local.INFO: Processing buffer {"connection_id":132224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63173c58012d7f92c005afd830000000502c..."} 
[2026-07-15 05:38:39] local.INFO: Packet analysis {"connection_id":132224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6317"} 
[2026-07-15 05:38:39] local.INFO: Extracted packet for processing {"connection_id":132224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6317"} 
[2026-07-15 05:38:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722840064001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784073895000,"timestamp_ms":1784073895000,"timestamp_seconds":1784073895,"priority":1,"record_length":96,"hex_timestamp":"0000019f63173c58"} 
[2026-07-15 05:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:38:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722840064001,"66":25517,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722840064001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:38:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:38:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722840064001,"power":25517,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":132224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:38:39] local.INFO: GPS data processed {"connection_id":132224,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:38:39] local.INFO: Acknowledgment sent {"connection_id":132224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:39:02] local.INFO: TCP Data received {"connection_id":133068,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:39:02] local.INFO: Processing buffer {"connection_id":133068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:39:02] local.INFO: IMEI packet received {"connection_id":133068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":133068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:39:07] local.INFO: TCP Data received {"connection_id":133068,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:39:07] local.INFO: Processing buffer {"connection_id":133068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:39:07] local.INFO: IMEI packet received {"connection_id":133068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":133068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:39:08] local.INFO: TCP Data received {"connection_id":133068,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f63173c58012d7f92c005afd830000000502c..."} 
[2026-07-15 05:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63173c58012d7f92c005afd830000000502c..."} 
[2026-07-15 05:39:08] local.INFO: Processing buffer {"connection_id":133068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63173c58012d7f92c005afd830000000502c..."} 
[2026-07-15 05:39:08] local.INFO: Packet analysis {"connection_id":133068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6317"} 
[2026-07-15 05:39:08] local.INFO: Extracted packet for processing {"connection_id":133068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6317"} 
[2026-07-15 05:39:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722840064001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784073895000,"timestamp_ms":1784073895000,"timestamp_seconds":1784073895,"priority":1,"record_length":96,"hex_timestamp":"0000019f63173c58"} 
[2026-07-15 05:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":133068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":133068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":133068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722840064001,"66":25517,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722840064001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:39:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:39:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722840064001,"power":25517,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":133068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:39:08] local.INFO: GPS data processed {"connection_id":133068,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:39:08] local.INFO: Acknowledgment sent {"connection_id":133068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:39:39] local.INFO: TCP Data received {"connection_id":133068,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f63173c58012d7f92c005afd830000000502c..."} 
[2026-07-15 05:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63173c58012d7f92c005afd830000000502c..."} 
[2026-07-15 05:39:39] local.INFO: Processing buffer {"connection_id":133068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63173c58012d7f92c005afd830000000502c..."} 
[2026-07-15 05:39:39] local.INFO: Packet analysis {"connection_id":133068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6317"} 
[2026-07-15 05:39:39] local.INFO: Extracted packet for processing {"connection_id":133068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6317"} 
[2026-07-15 05:39:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:39: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-07-15 05:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722840064001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:39:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784073895000,"timestamp_ms":1784073895000,"timestamp_seconds":1784073895,"priority":1,"record_length":96,"hex_timestamp":"0000019f63173c58"} 
[2026-07-15 05:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:39:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:39:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:39: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-07-15 05:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:39:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722840064001,"66":25517,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722840064001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:39:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:39:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722840064001,"power":25517,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":133068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:39:39] local.INFO: GPS data processed {"connection_id":133068,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:39:39] local.INFO: Acknowledgment sent {"connection_id":133068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:40:07] local.INFO: TCP Data received {"connection_id":132048,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:40:07] local.INFO: Processing buffer {"connection_id":132048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:40:07] local.INFO: IMEI packet received {"connection_id":132048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":132048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:40:14] local.INFO: TCP Data received {"connection_id":132048,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:40:14] local.INFO: Processing buffer {"connection_id":132048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:40:14] local.INFO: IMEI packet received {"connection_id":132048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":132048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:40:15] local.INFO: TCP Data received {"connection_id":132048,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f63173c58012d7f92c005afd830000000502c..."} 
[2026-07-15 05:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63173c58012d7f92c005afd830000000502c..."} 
[2026-07-15 05:40:15] local.INFO: Processing buffer {"connection_id":132048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63173c58012d7f92c005afd830000000502c..."} 
[2026-07-15 05:40:15] local.INFO: Packet analysis {"connection_id":132048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6317"} 
[2026-07-15 05:40:15] local.INFO: Extracted packet for processing {"connection_id":132048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6317"} 
[2026-07-15 05:40:15] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722840064001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784073895000,"timestamp_ms":1784073895000,"timestamp_seconds":1784073895,"priority":1,"record_length":96,"hex_timestamp":"0000019f63173c58"} 
[2026-07-15 05:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:40:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:40:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:40:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":132048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":132048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":132048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722840064001,"66":25517,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722840064001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:40:15] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:40:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722840064001,"power":25517,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":132048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:40:15] local.INFO: GPS data processed {"connection_id":132048,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:40:15] local.INFO: Acknowledgment sent {"connection_id":132048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:40:47] local.INFO: TCP Data received {"connection_id":132048,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f631bd420012d7f92c005afd830000000502d..."} 
[2026-07-15 05:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f631bd420012d7f92c005afd830000000502d..."} 
[2026-07-15 05:40:47] local.INFO: Processing buffer {"connection_id":132048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f631bd420012d7f92c005afd830000000502d..."} 
[2026-07-15 05:40:47] local.INFO: Packet analysis {"connection_id":132048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f631b"} 
[2026-07-15 05:40:47] local.INFO: Extracted packet for processing {"connection_id":132048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f631b"} 
[2026-07-15 05:40:47] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722917120001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:40:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784074196000,"timestamp_ms":1784074196000,"timestamp_seconds":1784074196,"priority":1,"record_length":96,"hex_timestamp":"0000019f631bd420"} 
[2026-07-15 05:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 05:40:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:40:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":132048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":132048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":132048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:40:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722917120001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722917120001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:40:47] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:40:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722917120001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":132048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:40:47] local.INFO: GPS data processed {"connection_id":132048,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:40:47] local.INFO: Acknowledgment sent {"connection_id":132048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:41:02] local.INFO: TCP Data received {"connection_id":132226,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:41:02] local.INFO: Processing buffer {"connection_id":132226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:41:02] local.INFO: IMEI packet received {"connection_id":132226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":132226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:41:07] local.INFO: TCP Data received {"connection_id":132226,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:41:07] local.INFO: Processing buffer {"connection_id":132226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:41:07] local.INFO: IMEI packet received {"connection_id":132226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":132226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:41:08] local.INFO: TCP Data received {"connection_id":132226,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f631bd420012d7f92c005afd830000000502d..."} 
[2026-07-15 05:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f631bd420012d7f92c005afd830000000502d..."} 
[2026-07-15 05:41:08] local.INFO: Processing buffer {"connection_id":132226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f631bd420012d7f92c005afd830000000502d..."} 
[2026-07-15 05:41:08] local.INFO: Packet analysis {"connection_id":132226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f631b"} 
[2026-07-15 05:41:08] local.INFO: Extracted packet for processing {"connection_id":132226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f631b"} 
[2026-07-15 05:41:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05: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-07-15 05:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722917120001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784074196000,"timestamp_ms":1784074196000,"timestamp_seconds":1784074196,"priority":1,"record_length":96,"hex_timestamp":"0000019f631bd420"} 
[2026-07-15 05:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 05:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05: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-07-15 05:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722917120001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722917120001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:41:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:41:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722917120001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":132226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:41:08] local.INFO: GPS data processed {"connection_id":132226,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:41:08] local.INFO: Acknowledgment sent {"connection_id":132226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:41:39] local.INFO: TCP Data received {"connection_id":132226,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f631bd420012d7f92c005afd830000000502d..."} 
[2026-07-15 05:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f631bd420012d7f92c005afd830000000502d..."} 
[2026-07-15 05:41:39] local.INFO: Processing buffer {"connection_id":132226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f631bd420012d7f92c005afd830000000502d..."} 
[2026-07-15 05:41:39] local.INFO: Packet analysis {"connection_id":132226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f631b"} 
[2026-07-15 05:41:39] local.INFO: Extracted packet for processing {"connection_id":132226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f631b"} 
[2026-07-15 05:41:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05: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-07-15 05:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722917120001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784074196000,"timestamp_ms":1784074196000,"timestamp_seconds":1784074196,"priority":1,"record_length":96,"hex_timestamp":"0000019f631bd420"} 
[2026-07-15 05:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 05:41:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05: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-07-15 05:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722917120001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722917120001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:41:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:41:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722917120001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":132226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:41:39] local.INFO: GPS data processed {"connection_id":132226,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:41:39] local.INFO: Acknowledgment sent {"connection_id":132226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:42:02] local.INFO: TCP Data received {"connection_id":132049,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:42:02] local.INFO: Processing buffer {"connection_id":132049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:42:02] local.INFO: IMEI packet received {"connection_id":132049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":132049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:42:07] local.INFO: TCP Data received {"connection_id":132049,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:42:07] local.INFO: Processing buffer {"connection_id":132049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:42:07] local.INFO: IMEI packet received {"connection_id":132049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":132049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:42:08] local.INFO: TCP Data received {"connection_id":132049,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f631bd420012d7f92c005afd830000000502d..."} 
[2026-07-15 05:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f631bd420012d7f92c005afd830000000502d..."} 
[2026-07-15 05:42:08] local.INFO: Processing buffer {"connection_id":132049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f631bd420012d7f92c005afd830000000502d..."} 
[2026-07-15 05:42:08] local.INFO: Packet analysis {"connection_id":132049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f631b"} 
[2026-07-15 05:42:08] local.INFO: Extracted packet for processing {"connection_id":132049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f631b"} 
[2026-07-15 05:42:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05: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-07-15 05:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722917120001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784074196000,"timestamp_ms":1784074196000,"timestamp_seconds":1784074196,"priority":1,"record_length":96,"hex_timestamp":"0000019f631bd420"} 
[2026-07-15 05:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 05:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722917120001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722917120001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:42:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:42:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722917120001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":132049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:42:08] local.INFO: GPS data processed {"connection_id":132049,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:42:08] local.INFO: Acknowledgment sent {"connection_id":132049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:42:39] local.INFO: TCP Data received {"connection_id":132049,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f631bd420012d7f92c005afd830000000502d..."} 
[2026-07-15 05:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f631bd420012d7f92c005afd830000000502d..."} 
[2026-07-15 05:42:39] local.INFO: Processing buffer {"connection_id":132049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f631bd420012d7f92c005afd830000000502d..."} 
[2026-07-15 05:42:39] local.INFO: Packet analysis {"connection_id":132049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f631b"} 
[2026-07-15 05:42:39] local.INFO: Extracted packet for processing {"connection_id":132049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f631b"} 
[2026-07-15 05:42:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722917120001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:42:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784074196000,"timestamp_ms":1784074196000,"timestamp_seconds":1784074196,"priority":1,"record_length":96,"hex_timestamp":"0000019f631bd420"} 
[2026-07-15 05:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:42:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 05:42:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:42:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:42: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-07-15 05:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722917120001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722917120001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:42:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:42:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722917120001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":132049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:42:39] local.INFO: GPS data processed {"connection_id":132049,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:42:39] local.INFO: Acknowledgment sent {"connection_id":132049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:43:07] local.INFO: TCP Data received {"connection_id":132050,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:43:07] local.INFO: Processing buffer {"connection_id":132050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:43:07] local.INFO: IMEI packet received {"connection_id":132050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":132050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:43:12] local.INFO: TCP Data received {"connection_id":132050,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:43:12] local.INFO: Processing buffer {"connection_id":132050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:43:12] local.INFO: IMEI packet received {"connection_id":132050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":132050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:43:13] local.INFO: TCP Data received {"connection_id":132050,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f631bd420012d7f92c005afd830000000502d..."} 
[2026-07-15 05:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f631bd420012d7f92c005afd830000000502d..."} 
[2026-07-15 05:43:13] local.INFO: Processing buffer {"connection_id":132050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f631bd420012d7f92c005afd830000000502d..."} 
[2026-07-15 05:43:13] local.INFO: Packet analysis {"connection_id":132050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f631b"} 
[2026-07-15 05:43:13] local.INFO: Extracted packet for processing {"connection_id":132050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f631b"} 
[2026-07-15 05:43:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05: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-07-15 05:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722917120001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784074196000,"timestamp_ms":1784074196000,"timestamp_seconds":1784074196,"priority":1,"record_length":96,"hex_timestamp":"0000019f631bd420"} 
[2026-07-15 05:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:43:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 05:43:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05: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-07-15 05:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722917120001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722917120001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:43:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:43:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722917120001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":132050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:43:13] local.INFO: GPS data processed {"connection_id":132050,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:43:13] local.INFO: Acknowledgment sent {"connection_id":132050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:43:17] local.INFO: TCP Data received {"connection_id":132050,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f631bd420012d7f92c005afd830000000502d..."} 
[2026-07-15 05:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f631bd420012d7f92c005afd830000000502d..."} 
[2026-07-15 05:43:17] local.INFO: Processing buffer {"connection_id":132050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f631bd420012d7f92c005afd830000000502d..."} 
[2026-07-15 05:43:17] local.INFO: Packet analysis {"connection_id":132050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f631b"} 
[2026-07-15 05:43:17] local.INFO: Extracted packet for processing {"connection_id":132050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f631b"} 
[2026-07-15 05:43:17] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05: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-07-15 05:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722917120001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784074196000,"timestamp_ms":1784074196000,"timestamp_seconds":1784074196,"priority":1,"record_length":96,"hex_timestamp":"0000019f631bd420"} 
[2026-07-15 05:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:43:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 05:43:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05: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-07-15 05:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722917120001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722917120001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:43:17] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:43:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722917120001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":132050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:43:17] local.INFO: GPS data processed {"connection_id":132050,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:43:17] local.INFO: Acknowledgment sent {"connection_id":132050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:43:35] local.INFO: TCP Data received {"connection_id":134431,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 05:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134431,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 05:43:35] local.INFO: Processing buffer {"connection_id":134431,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 05:43:35] local.INFO: IMEI packet received {"connection_id":134431,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 05:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":134431,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:44:02] local.INFO: TCP Data received {"connection_id":134432,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:44:02] local.INFO: Processing buffer {"connection_id":134432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:44:02] local.INFO: IMEI packet received {"connection_id":134432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":134432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:44:07] local.INFO: TCP Data received {"connection_id":134432,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:44:07] local.INFO: Processing buffer {"connection_id":134432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:44:07] local.INFO: IMEI packet received {"connection_id":134432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":134432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:44:08] local.INFO: TCP Data received {"connection_id":134432,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f631bd420012d7f92c005afd830000000502d..."} 
[2026-07-15 05:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f631bd420012d7f92c005afd830000000502d..."} 
[2026-07-15 05:44:08] local.INFO: Processing buffer {"connection_id":134432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f631bd420012d7f92c005afd830000000502d..."} 
[2026-07-15 05:44:08] local.INFO: Packet analysis {"connection_id":134432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f631b"} 
[2026-07-15 05:44:08] local.INFO: Extracted packet for processing {"connection_id":134432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f631b"} 
[2026-07-15 05:44:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722917120001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784074196000,"timestamp_ms":1784074196000,"timestamp_seconds":1784074196,"priority":1,"record_length":96,"hex_timestamp":"0000019f631bd420"} 
[2026-07-15 05:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 05:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722917120001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722917120001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:44:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:44:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722917120001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":134432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:44:08] local.INFO: GPS data processed {"connection_id":134432,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:44:08] local.INFO: Acknowledgment sent {"connection_id":134432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:44:39] local.INFO: TCP Data received {"connection_id":134432,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f631bd420012d7f92c005afd830000000502d..."} 
[2026-07-15 05:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f631bd420012d7f92c005afd830000000502d..."} 
[2026-07-15 05:44:39] local.INFO: Processing buffer {"connection_id":134432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f631bd420012d7f92c005afd830000000502d..."} 
[2026-07-15 05:44:39] local.INFO: Packet analysis {"connection_id":134432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f631b"} 
[2026-07-15 05:44:39] local.INFO: Extracted packet for processing {"connection_id":134432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f631b"} 
[2026-07-15 05:44:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05: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-07-15 05:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722917120001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:44:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784074196000,"timestamp_ms":1784074196000,"timestamp_seconds":1784074196,"priority":1,"record_length":96,"hex_timestamp":"0000019f631bd420"} 
[2026-07-15 05:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:44:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 05:44:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05: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-07-15 05:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:44:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722917120001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722917120001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:44:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:44:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722917120001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":134432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:44:39] local.INFO: GPS data processed {"connection_id":134432,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:44:39] local.INFO: Acknowledgment sent {"connection_id":134432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:45:02] local.INFO: TCP Data received {"connection_id":133071,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:45:02] local.INFO: Processing buffer {"connection_id":133071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:45:02] local.INFO: IMEI packet received {"connection_id":133071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":133071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:45:07] local.INFO: TCP Data received {"connection_id":133071,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:45:07] local.INFO: Processing buffer {"connection_id":133071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:45:07] local.INFO: IMEI packet received {"connection_id":133071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":133071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:45:08] local.INFO: TCP Data received {"connection_id":133071,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f631bd420012d7f92c005afd830000000502d..."} 
[2026-07-15 05:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f631bd420012d7f92c005afd830000000502d..."} 
[2026-07-15 05:45:08] local.INFO: Processing buffer {"connection_id":133071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f631bd420012d7f92c005afd830000000502d..."} 
[2026-07-15 05:45:08] local.INFO: Packet analysis {"connection_id":133071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f631b"} 
[2026-07-15 05:45:08] local.INFO: Extracted packet for processing {"connection_id":133071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f631b"} 
[2026-07-15 05:45:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722917120001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784074196000,"timestamp_ms":1784074196000,"timestamp_seconds":1784074196,"priority":1,"record_length":96,"hex_timestamp":"0000019f631bd420"} 
[2026-07-15 05:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 05:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":133071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":133071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":133071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:45:08] 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-07-15 05:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722917120001,"66":25582,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722917120001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:45:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:45:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722917120001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":133071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:45:08] local.INFO: GPS data processed {"connection_id":133071,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:45:08] local.INFO: Acknowledgment sent {"connection_id":133071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:45:39] local.INFO: TCP Data received {"connection_id":133071,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63206be8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63206be8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:45:39] local.INFO: Processing buffer {"connection_id":133071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63206be8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:45:39] local.INFO: Packet analysis {"connection_id":133071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6320"} 
[2026-07-15 05:45:39] local.INFO: Extracted packet for processing {"connection_id":133071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6320"} 
[2026-07-15 05:45:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722994176001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784074497000,"timestamp_ms":1784074497000,"timestamp_seconds":1784074497,"priority":1,"record_length":96,"hex_timestamp":"0000019f63206be8"} 
[2026-07-15 05:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:45:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 05:45:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:45:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:45:39] 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-07-15 05:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722994176001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722994176001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:45:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:45:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722994176001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":133071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:45:39] local.INFO: GPS data processed {"connection_id":133071,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:45:39] local.INFO: Acknowledgment sent {"connection_id":133071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:46:02] local.INFO: TCP Data received {"connection_id":134433,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:46:02] local.INFO: Processing buffer {"connection_id":134433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:46:02] local.INFO: IMEI packet received {"connection_id":134433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":134433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:46:07] local.INFO: TCP Data received {"connection_id":134433,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:46:07] local.INFO: Processing buffer {"connection_id":134433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:46:07] local.INFO: IMEI packet received {"connection_id":134433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":134433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:46:08] local.INFO: TCP Data received {"connection_id":134433,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f63206be8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63206be8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:46:08] local.INFO: Processing buffer {"connection_id":134433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63206be8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:46:08] local.INFO: Packet analysis {"connection_id":134433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6320"} 
[2026-07-15 05:46:08] local.INFO: Extracted packet for processing {"connection_id":134433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6320"} 
[2026-07-15 05:46:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722994176001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784074497000,"timestamp_ms":1784074497000,"timestamp_seconds":1784074497,"priority":1,"record_length":96,"hex_timestamp":"0000019f63206be8"} 
[2026-07-15 05:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 05:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:46:08] 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-07-15 05:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722994176001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722994176001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:46:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:46:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722994176001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":134433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:46:08] local.INFO: GPS data processed {"connection_id":134433,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:46:08] local.INFO: Acknowledgment sent {"connection_id":134433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:46:39] local.INFO: TCP Data received {"connection_id":134433,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f63206be8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63206be8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:46:39] local.INFO: Processing buffer {"connection_id":134433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63206be8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:46:39] local.INFO: Packet analysis {"connection_id":134433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6320"} 
[2026-07-15 05:46:39] local.INFO: Extracted packet for processing {"connection_id":134433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6320"} 
[2026-07-15 05:46:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722994176001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784074497000,"timestamp_ms":1784074497000,"timestamp_seconds":1784074497,"priority":1,"record_length":96,"hex_timestamp":"0000019f63206be8"} 
[2026-07-15 05:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 05:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:46: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-07-15 05:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722994176001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722994176001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:46:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:46:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722994176001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":134433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:46:39] local.INFO: GPS data processed {"connection_id":134433,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:46:39] local.INFO: Acknowledgment sent {"connection_id":134433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:47:07] local.INFO: TCP Data received {"connection_id":132052,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:47:07] local.INFO: Processing buffer {"connection_id":132052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:47:07] local.INFO: IMEI packet received {"connection_id":132052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":132052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:47:12] local.INFO: TCP Data received {"connection_id":132052,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:47:12] local.INFO: Processing buffer {"connection_id":132052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:47:12] local.INFO: IMEI packet received {"connection_id":132052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":132052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:47:13] local.INFO: TCP Data received {"connection_id":132052,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f63206be8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63206be8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:47:13] local.INFO: Processing buffer {"connection_id":132052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63206be8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:47:13] local.INFO: Packet analysis {"connection_id":132052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6320"} 
[2026-07-15 05:47:13] local.INFO: Extracted packet for processing {"connection_id":132052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6320"} 
[2026-07-15 05:47:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722994176001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784074497000,"timestamp_ms":1784074497000,"timestamp_seconds":1784074497,"priority":1,"record_length":96,"hex_timestamp":"0000019f63206be8"} 
[2026-07-15 05:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 05:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722994176001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722994176001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:47:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:47:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722994176001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":132052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:47:13] local.INFO: GPS data processed {"connection_id":132052,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:47:13] local.INFO: Acknowledgment sent {"connection_id":132052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:47:17] local.INFO: TCP Data received {"connection_id":132052,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f63206be8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63206be8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:47:17] local.INFO: Processing buffer {"connection_id":132052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63206be8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:47:17] local.INFO: Packet analysis {"connection_id":132052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6320"} 
[2026-07-15 05:47:17] local.INFO: Extracted packet for processing {"connection_id":132052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6320"} 
[2026-07-15 05:47:17] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:47:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722994176001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:47:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:47:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:47:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:47:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784074497000,"timestamp_ms":1784074497000,"timestamp_seconds":1784074497,"priority":1,"record_length":96,"hex_timestamp":"0000019f63206be8"} 
[2026-07-15 05:47:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:47:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 05:47:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:47:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:47:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:47:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:47:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:47:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:47:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:47:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:47:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:47:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:47:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722994176001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:47:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:47:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:47:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722994176001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:47:17] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:47:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:47:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:47:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:47:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722994176001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:47:17] local.INFO: DEBUG: GPS processor result {"connection_id":132052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:47:17] local.INFO: GPS data processed {"connection_id":132052,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:47:17] local.INFO: Acknowledgment sent {"connection_id":132052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:48:02] local.INFO: TCP Data received {"connection_id":132229,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:48:02] local.INFO: Processing buffer {"connection_id":132229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:48:02] local.INFO: IMEI packet received {"connection_id":132229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":132229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:48:07] local.INFO: TCP Data received {"connection_id":132229,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:48:07] local.INFO: Processing buffer {"connection_id":132229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:48:07] local.INFO: IMEI packet received {"connection_id":132229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":132229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:48:08] local.INFO: TCP Data received {"connection_id":132229,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f63206be8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63206be8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:48:08] local.INFO: Processing buffer {"connection_id":132229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63206be8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:48:08] local.INFO: Packet analysis {"connection_id":132229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6320"} 
[2026-07-15 05:48:08] local.INFO: Extracted packet for processing {"connection_id":132229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6320"} 
[2026-07-15 05:48:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722994176001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784074497000,"timestamp_ms":1784074497000,"timestamp_seconds":1784074497,"priority":1,"record_length":96,"hex_timestamp":"0000019f63206be8"} 
[2026-07-15 05:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 05:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722994176001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722994176001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:48:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:48:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722994176001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":132229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:48:08] local.INFO: GPS data processed {"connection_id":132229,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:48:08] local.INFO: Acknowledgment sent {"connection_id":132229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:48:41] local.INFO: TCP Data received {"connection_id":132229,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f63206be8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63206be8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:48:41] local.INFO: Processing buffer {"connection_id":132229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63206be8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:48:41] local.INFO: Packet analysis {"connection_id":132229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6320"} 
[2026-07-15 05:48:41] local.INFO: Extracted packet for processing {"connection_id":132229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6320"} 
[2026-07-15 05:48:41] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722994176001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784074497000,"timestamp_ms":1784074497000,"timestamp_seconds":1784074497,"priority":1,"record_length":96,"hex_timestamp":"0000019f63206be8"} 
[2026-07-15 05:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 05:48:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:48:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722994176001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722994176001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:48:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:48:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722994176001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":132229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:48:41] local.INFO: GPS data processed {"connection_id":132229,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:48:41] local.INFO: Acknowledgment sent {"connection_id":132229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:49:00] local.INFO: TCP Data received {"connection_id":133073,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 05:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133073,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 05:49:00] local.INFO: Processing buffer {"connection_id":133073,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 05:49:00] local.INFO: IMEI packet received {"connection_id":133073,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 05:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":133073,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:49:05] local.INFO: TCP Data received {"connection_id":132054,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:49:05] local.INFO: Processing buffer {"connection_id":132054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:49:05] local.INFO: IMEI packet received {"connection_id":132054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":132054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:49:08] local.INFO: TCP Data received {"connection_id":132054,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:49:08] local.INFO: Processing buffer {"connection_id":132054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:49:08] local.INFO: IMEI packet received {"connection_id":132054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":132054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:49:09] local.INFO: TCP Data received {"connection_id":132054,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f63206be8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63206be8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:49:09] local.INFO: Processing buffer {"connection_id":132054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63206be8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:49:09] local.INFO: Packet analysis {"connection_id":132054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6320"} 
[2026-07-15 05:49:09] local.INFO: Extracted packet for processing {"connection_id":132054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6320"} 
[2026-07-15 05:49:09] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722994176001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784074497000,"timestamp_ms":1784074497000,"timestamp_seconds":1784074497,"priority":1,"record_length":96,"hex_timestamp":"0000019f63206be8"} 
[2026-07-15 05:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 05:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:49:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":132054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":132054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":132054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722994176001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722994176001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:49:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:49:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722994176001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":132054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:49:09] local.INFO: GPS data processed {"connection_id":132054,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:49:09] local.INFO: Acknowledgment sent {"connection_id":132054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:49:12] local.INFO: TCP Data received {"connection_id":132054,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f63206be8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63206be8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:49:12] local.INFO: Processing buffer {"connection_id":132054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63206be8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:49:12] local.INFO: Packet analysis {"connection_id":132054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6320"} 
[2026-07-15 05:49:12] local.INFO: Extracted packet for processing {"connection_id":132054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6320"} 
[2026-07-15 05:49:12] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722994176001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784074497000,"timestamp_ms":1784074497000,"timestamp_seconds":1784074497,"priority":1,"record_length":96,"hex_timestamp":"0000019f63206be8"} 
[2026-07-15 05:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 05:49:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:49:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722994176001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722994176001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:49:12] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:49:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722994176001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":132054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:49:12] local.INFO: GPS data processed {"connection_id":132054,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:49:12] local.INFO: Acknowledgment sent {"connection_id":132054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:49:35] local.INFO: TCP Data received {"connection_id":132055,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 05:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132055,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 05:49:35] local.INFO: Processing buffer {"connection_id":132055,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 05:49:35] local.INFO: IMEI packet received {"connection_id":132055,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 05:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":132055,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:49:43] local.INFO: TCP Data received {"connection_id":132054,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f63206be8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63206be8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:49:43] local.INFO: Processing buffer {"connection_id":132054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63206be8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:49:43] local.INFO: Packet analysis {"connection_id":132054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6320"} 
[2026-07-15 05:49:43] local.INFO: Extracted packet for processing {"connection_id":132054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6320"} 
[2026-07-15 05:49:43] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722994176001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:49:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:49:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784074497000,"timestamp_ms":1784074497000,"timestamp_seconds":1784074497,"priority":1,"record_length":96,"hex_timestamp":"0000019f63206be8"} 
[2026-07-15 05:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:49:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 05:49:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:49:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":132054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":132054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":132054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722994176001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722994176001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:49:43] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:49:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:49:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722994176001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":132054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:49:43] local.INFO: GPS data processed {"connection_id":132054,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:49:43] local.INFO: Acknowledgment sent {"connection_id":132054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:50:02] local.INFO: TCP Data received {"connection_id":132230,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:50:02] local.INFO: Processing buffer {"connection_id":132230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:50:02] local.INFO: IMEI packet received {"connection_id":132230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":132230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:50:07] local.INFO: TCP Data received {"connection_id":132230,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:50:07] local.INFO: Processing buffer {"connection_id":132230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:50:07] local.INFO: IMEI packet received {"connection_id":132230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":132230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:50:08] local.INFO: TCP Data received {"connection_id":132230,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f63206be8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63206be8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:50:08] local.INFO: Processing buffer {"connection_id":132230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63206be8012d7f92c005afd830000000502d..."} 
[2026-07-15 05:50:08] local.INFO: Packet analysis {"connection_id":132230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6320"} 
[2026-07-15 05:50:08] local.INFO: Extracted packet for processing {"connection_id":132230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6320"} 
[2026-07-15 05:50:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456722994176001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784074497000,"timestamp_ms":1784074497000,"timestamp_seconds":1784074497,"priority":1,"record_length":96,"hex_timestamp":"0000019f63206be8"} 
[2026-07-15 05:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 05:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456722994176001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456722994176001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:50:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:50:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456722994176001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":132230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:50:08] local.INFO: GPS data processed {"connection_id":132230,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:50:08] local.INFO: Acknowledgment sent {"connection_id":132230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:50:39] local.INFO: TCP Data received {"connection_id":132230,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f632503b0012d7f92c005afd830000000502d..."} 
[2026-07-15 05:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f632503b0012d7f92c005afd830000000502d..."} 
[2026-07-15 05:50:39] local.INFO: Processing buffer {"connection_id":132230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f632503b0012d7f92c005afd830000000502d..."} 
[2026-07-15 05:50:39] local.INFO: Packet analysis {"connection_id":132230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6325"} 
[2026-07-15 05:50:39] local.INFO: Extracted packet for processing {"connection_id":132230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6325"} 
[2026-07-15 05:50:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05: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-07-15 05:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723071232001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784074798000,"timestamp_ms":1784074798000,"timestamp_seconds":1784074798,"priority":1,"record_length":96,"hex_timestamp":"0000019f632503b0"} 
[2026-07-15 05:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:50:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05: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-07-15 05:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723071232001,"66":25538,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723071232001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:50:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:50:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723071232001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":132230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:50:39] local.INFO: GPS data processed {"connection_id":132230,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:50:39] local.INFO: Acknowledgment sent {"connection_id":132230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:51:02] local.INFO: TCP Data received {"connection_id":133074,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:51:02] local.INFO: Processing buffer {"connection_id":133074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:51:02] local.INFO: IMEI packet received {"connection_id":133074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":133074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:51:07] local.INFO: TCP Data received {"connection_id":133074,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:51:07] local.INFO: Processing buffer {"connection_id":133074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:51:07] local.INFO: IMEI packet received {"connection_id":133074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":133074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:51:07] local.INFO: TCP Data received {"connection_id":133074,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f632503b0012d7f92c005afd830000000502d..."} 
[2026-07-15 05:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f632503b0012d7f92c005afd830000000502d..."} 
[2026-07-15 05:51:07] local.INFO: Processing buffer {"connection_id":133074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f632503b0012d7f92c005afd830000000502d..."} 
[2026-07-15 05:51:07] local.INFO: Packet analysis {"connection_id":133074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6325"} 
[2026-07-15 05:51:07] local.INFO: Extracted packet for processing {"connection_id":133074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6325"} 
[2026-07-15 05:51:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723071232001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784074798000,"timestamp_ms":1784074798000,"timestamp_seconds":1784074798,"priority":1,"record_length":96,"hex_timestamp":"0000019f632503b0"} 
[2026-07-15 05:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723071232001,"66":25538,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723071232001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:51:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:51:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723071232001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":133074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:51:07] local.INFO: GPS data processed {"connection_id":133074,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:51:07] local.INFO: Acknowledgment sent {"connection_id":133074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:51:38] local.INFO: TCP Data received {"connection_id":133074,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f632503b0012d7f92c005afd830000000502d..."} 
[2026-07-15 05:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f632503b0012d7f92c005afd830000000502d..."} 
[2026-07-15 05:51:38] local.INFO: Processing buffer {"connection_id":133074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f632503b0012d7f92c005afd830000000502d..."} 
[2026-07-15 05:51:38] local.INFO: Packet analysis {"connection_id":133074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6325"} 
[2026-07-15 05:51:38] local.INFO: Extracted packet for processing {"connection_id":133074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6325"} 
[2026-07-15 05:51:38] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723071232001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784074798000,"timestamp_ms":1784074798000,"timestamp_seconds":1784074798,"priority":1,"record_length":96,"hex_timestamp":"0000019f632503b0"} 
[2026-07-15 05:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723071232001,"66":25538,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723071232001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:51:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:51:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723071232001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":133074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:51:38] local.INFO: GPS data processed {"connection_id":133074,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:51:38] local.INFO: Acknowledgment sent {"connection_id":133074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:52:02] local.INFO: TCP Data received {"connection_id":132232,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:52:02] local.INFO: Processing buffer {"connection_id":132232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:52:02] local.INFO: IMEI packet received {"connection_id":132232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":132232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:52:09] local.INFO: TCP Data received {"connection_id":132232,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:52:09] local.INFO: Processing buffer {"connection_id":132232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:52:09] local.INFO: IMEI packet received {"connection_id":132232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":132232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:52:10] local.INFO: TCP Data received {"connection_id":132232,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f632503b0012d7f92c005afd830000000502d..."} 
[2026-07-15 05:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f632503b0012d7f92c005afd830000000502d..."} 
[2026-07-15 05:52:10] local.INFO: Processing buffer {"connection_id":132232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f632503b0012d7f92c005afd830000000502d..."} 
[2026-07-15 05:52:10] local.INFO: Packet analysis {"connection_id":132232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6325"} 
[2026-07-15 05:52:10] local.INFO: Extracted packet for processing {"connection_id":132232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6325"} 
[2026-07-15 05:52:10] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723071232001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784074798000,"timestamp_ms":1784074798000,"timestamp_seconds":1784074798,"priority":1,"record_length":96,"hex_timestamp":"0000019f632503b0"} 
[2026-07-15 05:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":132232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":132232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":132232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723071232001,"66":25538,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723071232001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:52:10] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:52:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723071232001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":132232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:52:10] local.INFO: GPS data processed {"connection_id":132232,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:52:10] local.INFO: Acknowledgment sent {"connection_id":132232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:52:41] local.INFO: TCP Data received {"connection_id":132232,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f632503b0012d7f92c005afd830000000502d..."} 
[2026-07-15 05:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f632503b0012d7f92c005afd830000000502d..."} 
[2026-07-15 05:52:41] local.INFO: Processing buffer {"connection_id":132232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f632503b0012d7f92c005afd830000000502d..."} 
[2026-07-15 05:52:41] local.INFO: Packet analysis {"connection_id":132232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6325"} 
[2026-07-15 05:52:41] local.INFO: Extracted packet for processing {"connection_id":132232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6325"} 
[2026-07-15 05:52:41] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723071232001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784074798000,"timestamp_ms":1784074798000,"timestamp_seconds":1784074798,"priority":1,"record_length":96,"hex_timestamp":"0000019f632503b0"} 
[2026-07-15 05:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:52:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723071232001,"66":25538,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723071232001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:52:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:52:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723071232001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":132232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:52:41] local.INFO: GPS data processed {"connection_id":132232,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:52:41] local.INFO: Acknowledgment sent {"connection_id":132232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:53:08] local.INFO: TCP Data received {"connection_id":134434,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:53:08] local.INFO: Processing buffer {"connection_id":134434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:53:08] local.INFO: IMEI packet received {"connection_id":134434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":134434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:53:12] local.INFO: TCP Data received {"connection_id":134434,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:53:12] local.INFO: Processing buffer {"connection_id":134434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:53:12] local.INFO: IMEI packet received {"connection_id":134434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":134434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:53:12] local.INFO: TCP Data received {"connection_id":134434,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f632503b0012d7f92c005afd830000000502d..."} 
[2026-07-15 05:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f632503b0012d7f92c005afd830000000502d..."} 
[2026-07-15 05:53:12] local.INFO: Processing buffer {"connection_id":134434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f632503b0012d7f92c005afd830000000502d..."} 
[2026-07-15 05:53:12] local.INFO: Packet analysis {"connection_id":134434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6325"} 
[2026-07-15 05:53:12] local.INFO: Extracted packet for processing {"connection_id":134434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6325"} 
[2026-07-15 05:53:12] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723071232001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784074798000,"timestamp_ms":1784074798000,"timestamp_seconds":1784074798,"priority":1,"record_length":96,"hex_timestamp":"0000019f632503b0"} 
[2026-07-15 05:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":134434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":134434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":134434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723071232001,"66":25538,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723071232001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:53:12] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:53:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723071232001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":134434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:53:12] local.INFO: GPS data processed {"connection_id":134434,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:53:12] local.INFO: Acknowledgment sent {"connection_id":134434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:53:18] local.INFO: TCP Data received {"connection_id":134434,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f632503b0012d7f92c005afd830000000502d..."} 
[2026-07-15 05:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f632503b0012d7f92c005afd830000000502d..."} 
[2026-07-15 05:53:18] local.INFO: Processing buffer {"connection_id":134434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f632503b0012d7f92c005afd830000000502d..."} 
[2026-07-15 05:53:18] local.INFO: Packet analysis {"connection_id":134434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6325"} 
[2026-07-15 05:53:18] local.INFO: Extracted packet for processing {"connection_id":134434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6325"} 
[2026-07-15 05:53:18] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05: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-07-15 05:53:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723071232001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:53:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:53:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:53:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:53:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784074798000,"timestamp_ms":1784074798000,"timestamp_seconds":1784074798,"priority":1,"record_length":96,"hex_timestamp":"0000019f632503b0"} 
[2026-07-15 05:53:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:53:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:53:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05: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-07-15 05:53:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:53:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:53:18] local.INFO: Teltonika packet parsed successfully {"connection_id":134434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:53:18] local.INFO: Passing IMEI to GPS processor {"connection_id":134434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:53:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":134434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:53: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-07-15 05:53:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:53:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:53:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723071232001,"66":25538,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:53:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:53:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:53:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723071232001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:53:18] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:53:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:53:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:53:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:53:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723071232001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:53:18] local.INFO: DEBUG: GPS processor result {"connection_id":134434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:53:18] local.INFO: GPS data processed {"connection_id":134434,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:53:18] local.INFO: Acknowledgment sent {"connection_id":134434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:54:02] local.INFO: TCP Data received {"connection_id":132234,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:54:02] local.INFO: Processing buffer {"connection_id":132234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:54:02] local.INFO: IMEI packet received {"connection_id":132234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":132234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:54:07] local.INFO: TCP Data received {"connection_id":132234,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:54:07] local.INFO: Processing buffer {"connection_id":132234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:54:07] local.INFO: IMEI packet received {"connection_id":132234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":132234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:54:08] local.INFO: TCP Data received {"connection_id":132234,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f632503b0012d7f92c005afd830000000502d..."} 
[2026-07-15 05:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f632503b0012d7f92c005afd830000000502d..."} 
[2026-07-15 05:54:08] local.INFO: Processing buffer {"connection_id":132234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f632503b0012d7f92c005afd830000000502d..."} 
[2026-07-15 05:54:08] local.INFO: Packet analysis {"connection_id":132234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6325"} 
[2026-07-15 05:54:08] local.INFO: Extracted packet for processing {"connection_id":132234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6325"} 
[2026-07-15 05:54:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05: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-07-15 05:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723071232001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784074798000,"timestamp_ms":1784074798000,"timestamp_seconds":1784074798,"priority":1,"record_length":96,"hex_timestamp":"0000019f632503b0"} 
[2026-07-15 05:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:54:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:54:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723071232001,"66":25538,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723071232001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:54:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:54:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723071232001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":132234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:54:08] local.INFO: GPS data processed {"connection_id":132234,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:54:08] local.INFO: Acknowledgment sent {"connection_id":132234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:54:41] local.INFO: TCP Data received {"connection_id":132234,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f632503b0012d7f92c005afd830000000502d..."} 
[2026-07-15 05:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f632503b0012d7f92c005afd830000000502d..."} 
[2026-07-15 05:54:41] local.INFO: Processing buffer {"connection_id":132234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f632503b0012d7f92c005afd830000000502d..."} 
[2026-07-15 05:54:41] local.INFO: Packet analysis {"connection_id":132234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6325"} 
[2026-07-15 05:54:41] local.INFO: Extracted packet for processing {"connection_id":132234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6325"} 
[2026-07-15 05:54:41] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05: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-07-15 05:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723071232001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784074798000,"timestamp_ms":1784074798000,"timestamp_seconds":1784074798,"priority":1,"record_length":96,"hex_timestamp":"0000019f632503b0"} 
[2026-07-15 05:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05: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-07-15 05:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723071232001,"66":25538,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723071232001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:54:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:54:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723071232001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":132234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:54:41] local.INFO: GPS data processed {"connection_id":132234,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:54:41] local.INFO: Acknowledgment sent {"connection_id":132234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:54:55] local.INFO: TCP Data received {"connection_id":133075,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 05:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133075,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 05:54:55] local.INFO: Processing buffer {"connection_id":133075,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 05:54:55] local.INFO: IMEI packet received {"connection_id":133075,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 05:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":133075,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:55:02] local.INFO: TCP Data received {"connection_id":134435,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:55:02] local.INFO: Processing buffer {"connection_id":134435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:55:02] local.INFO: IMEI packet received {"connection_id":134435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":134435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:55:07] local.INFO: TCP Data received {"connection_id":134435,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:55:07] local.INFO: Processing buffer {"connection_id":134435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:55:07] local.INFO: IMEI packet received {"connection_id":134435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":134435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:55:08] local.INFO: TCP Data received {"connection_id":134435,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f632503b0012d7f92c005afd830000000502d..."} 
[2026-07-15 05:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f632503b0012d7f92c005afd830000000502d..."} 
[2026-07-15 05:55:08] local.INFO: Processing buffer {"connection_id":134435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f632503b0012d7f92c005afd830000000502d..."} 
[2026-07-15 05:55:08] local.INFO: Packet analysis {"connection_id":134435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6325"} 
[2026-07-15 05:55:08] local.INFO: Extracted packet for processing {"connection_id":134435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6325"} 
[2026-07-15 05:55:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05: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-07-15 05:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723071232001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784074798000,"timestamp_ms":1784074798000,"timestamp_seconds":1784074798,"priority":1,"record_length":96,"hex_timestamp":"0000019f632503b0"} 
[2026-07-15 05:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 05:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05: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-07-15 05:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723071232001,"66":25538,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723071232001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:55:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:55:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723071232001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":134435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:55:08] local.INFO: GPS data processed {"connection_id":134435,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:55:08] local.INFO: Acknowledgment sent {"connection_id":134435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:55:36] local.INFO: TCP Data received {"connection_id":132235,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 05:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132235,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 05:55:36] local.INFO: Processing buffer {"connection_id":132235,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 05:55:36] local.INFO: IMEI packet received {"connection_id":132235,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 05:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":132235,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:55:39] local.INFO: TCP Data received {"connection_id":134435,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f63299b78012d7f92c005afd830000000502c..."} 
[2026-07-15 05:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63299b78012d7f92c005afd830000000502c..."} 
[2026-07-15 05:55:39] local.INFO: Processing buffer {"connection_id":134435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63299b78012d7f92c005afd830000000502c..."} 
[2026-07-15 05:55:39] local.INFO: Packet analysis {"connection_id":134435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6329"} 
[2026-07-15 05:55:39] local.INFO: Extracted packet for processing {"connection_id":134435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6329"} 
[2026-07-15 05:55:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05: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-07-15 05:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723148288001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784075099000,"timestamp_ms":1784075099000,"timestamp_seconds":1784075099,"priority":1,"record_length":96,"hex_timestamp":"0000019f63299b78"} 
[2026-07-15 05:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-15 05:55:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05: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-07-15 05:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:55:39] 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-07-15 05:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723148288001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723148288001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:55:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:55:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723148288001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":134435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:55:39] local.INFO: GPS data processed {"connection_id":134435,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:55:39] local.INFO: Acknowledgment sent {"connection_id":134435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:56:07] local.INFO: TCP Data received {"connection_id":132236,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:56:07] local.INFO: Processing buffer {"connection_id":132236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:56:07] local.INFO: IMEI packet received {"connection_id":132236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":132236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:56:12] local.INFO: TCP Data received {"connection_id":132236,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:56:12] local.INFO: Processing buffer {"connection_id":132236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:56:12] local.INFO: IMEI packet received {"connection_id":132236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":132236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:56:13] local.INFO: TCP Data received {"connection_id":132236,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f63299b78012d7f92c005afd830000000502c..."} 
[2026-07-15 05:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63299b78012d7f92c005afd830000000502c..."} 
[2026-07-15 05:56:13] local.INFO: Processing buffer {"connection_id":132236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63299b78012d7f92c005afd830000000502c..."} 
[2026-07-15 05:56:13] local.INFO: Packet analysis {"connection_id":132236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6329"} 
[2026-07-15 05:56:13] local.INFO: Extracted packet for processing {"connection_id":132236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6329"} 
[2026-07-15 05:56:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723148288001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784075099000,"timestamp_ms":1784075099000,"timestamp_seconds":1784075099,"priority":1,"record_length":96,"hex_timestamp":"0000019f63299b78"} 
[2026-07-15 05:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:56:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-15 05:56:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:56:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:56:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723148288001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723148288001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:56:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:56:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723148288001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":132236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:56:13] local.INFO: GPS data processed {"connection_id":132236,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:56:13] local.INFO: Acknowledgment sent {"connection_id":132236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:56:44] local.INFO: TCP Data received {"connection_id":132236,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f63299b78012d7f92c005afd830000000502c..."} 
[2026-07-15 05:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63299b78012d7f92c005afd830000000502c..."} 
[2026-07-15 05:56:44] local.INFO: Processing buffer {"connection_id":132236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63299b78012d7f92c005afd830000000502c..."} 
[2026-07-15 05:56:44] local.INFO: Packet analysis {"connection_id":132236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6329"} 
[2026-07-15 05:56:44] local.INFO: Extracted packet for processing {"connection_id":132236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6329"} 
[2026-07-15 05:56:44] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:56:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723148288001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:56:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:56:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:56:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:56:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784075099000,"timestamp_ms":1784075099000,"timestamp_seconds":1784075099,"priority":1,"record_length":96,"hex_timestamp":"0000019f63299b78"} 
[2026-07-15 05:56:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:56:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-15 05:56:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:56:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:56:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:56:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:56:44] local.INFO: Teltonika packet parsed successfully {"connection_id":132236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:56:44] local.INFO: Passing IMEI to GPS processor {"connection_id":132236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:56:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":132236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:56:44] 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-07-15 05:56:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:56:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:56:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723148288001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:56:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:56:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:56:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723148288001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:56:44] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:56:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:56:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:56:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:56:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723148288001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:56:44] local.INFO: DEBUG: GPS processor result {"connection_id":132236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:56:44] local.INFO: GPS data processed {"connection_id":132236,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:56:44] local.INFO: Acknowledgment sent {"connection_id":132236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:57:02] local.INFO: TCP Data received {"connection_id":132059,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:57:02] local.INFO: Processing buffer {"connection_id":132059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:57:02] local.INFO: IMEI packet received {"connection_id":132059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":132059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:57:07] local.INFO: TCP Data received {"connection_id":132059,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:57:07] local.INFO: Processing buffer {"connection_id":132059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:57:07] local.INFO: IMEI packet received {"connection_id":132059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":132059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:57:08] local.INFO: TCP Data received {"connection_id":132059,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f63299b78012d7f92c005afd830000000502c..."} 
[2026-07-15 05:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63299b78012d7f92c005afd830000000502c..."} 
[2026-07-15 05:57:08] local.INFO: Processing buffer {"connection_id":132059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63299b78012d7f92c005afd830000000502c..."} 
[2026-07-15 05:57:08] local.INFO: Packet analysis {"connection_id":132059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6329"} 
[2026-07-15 05:57:08] local.INFO: Extracted packet for processing {"connection_id":132059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6329"} 
[2026-07-15 05:57:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05: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-07-15 05:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723148288001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:57:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784075099000,"timestamp_ms":1784075099000,"timestamp_seconds":1784075099,"priority":1,"record_length":96,"hex_timestamp":"0000019f63299b78"} 
[2026-07-15 05:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-15 05:57:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:57:08] 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-07-15 05:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723148288001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723148288001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:57:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:57:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723148288001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":132059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:57:08] local.INFO: GPS data processed {"connection_id":132059,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:57:08] local.INFO: Acknowledgment sent {"connection_id":132059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:57:39] local.INFO: TCP Data received {"connection_id":132059,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f63299b78012d7f92c005afd830000000502c..."} 
[2026-07-15 05:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63299b78012d7f92c005afd830000000502c..."} 
[2026-07-15 05:57:39] local.INFO: Processing buffer {"connection_id":132059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63299b78012d7f92c005afd830000000502c..."} 
[2026-07-15 05:57:39] local.INFO: Packet analysis {"connection_id":132059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6329"} 
[2026-07-15 05:57:39] local.INFO: Extracted packet for processing {"connection_id":132059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6329"} 
[2026-07-15 05:57:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723148288001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784075099000,"timestamp_ms":1784075099000,"timestamp_seconds":1784075099,"priority":1,"record_length":96,"hex_timestamp":"0000019f63299b78"} 
[2026-07-15 05:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:57:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-15 05:57:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:57:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:57:39] 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-07-15 05:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723148288001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723148288001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:57:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:57:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723148288001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":132059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:57:39] local.INFO: GPS data processed {"connection_id":132059,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:57:39] local.INFO: Acknowledgment sent {"connection_id":132059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:58:02] local.INFO: TCP Data received {"connection_id":132237,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:58:02] local.INFO: Processing buffer {"connection_id":132237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:58:02] local.INFO: IMEI packet received {"connection_id":132237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":132237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:58:07] local.INFO: TCP Data received {"connection_id":132237,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:58:07] local.INFO: Processing buffer {"connection_id":132237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:58:07] local.INFO: IMEI packet received {"connection_id":132237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":132237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:58:08] local.INFO: TCP Data received {"connection_id":132237,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63299b78012d7f92c005afd830000000502c..."} 
[2026-07-15 05:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63299b78012d7f92c005afd830000000502c..."} 
[2026-07-15 05:58:08] local.INFO: Processing buffer {"connection_id":132237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63299b78012d7f92c005afd830000000502c..."} 
[2026-07-15 05:58:08] local.INFO: Packet analysis {"connection_id":132237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6329"} 
[2026-07-15 05:58:08] local.INFO: Extracted packet for processing {"connection_id":132237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6329"} 
[2026-07-15 05:58:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05: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-07-15 05:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723148288001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784075099000,"timestamp_ms":1784075099000,"timestamp_seconds":1784075099,"priority":1,"record_length":96,"hex_timestamp":"0000019f63299b78"} 
[2026-07-15 05:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-15 05:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05: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-07-15 05:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 05:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723148288001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723148288001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:58:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:58:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723148288001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":132237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:58:08] local.INFO: GPS data processed {"connection_id":132237,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:58:08] local.INFO: Acknowledgment sent {"connection_id":132237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:58:39] local.INFO: TCP Data received {"connection_id":132237,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63299b78012d7f92c005afd830000000502c..."} 
[2026-07-15 05:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63299b78012d7f92c005afd830000000502c..."} 
[2026-07-15 05:58:39] local.INFO: Processing buffer {"connection_id":132237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63299b78012d7f92c005afd830000000502c..."} 
[2026-07-15 05:58:39] local.INFO: Packet analysis {"connection_id":132237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6329"} 
[2026-07-15 05:58:39] local.INFO: Extracted packet for processing {"connection_id":132237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6329"} 
[2026-07-15 05:58:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05: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-07-15 05:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723148288001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784075099000,"timestamp_ms":1784075099000,"timestamp_seconds":1784075099,"priority":1,"record_length":96,"hex_timestamp":"0000019f63299b78"} 
[2026-07-15 05:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-15 05:58:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05: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-07-15 05:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:58:39] 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-07-15 05:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723148288001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723148288001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:58:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:58:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723148288001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":132237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:58:39] local.INFO: GPS data processed {"connection_id":132237,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:58:39] local.INFO: Acknowledgment sent {"connection_id":132237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:59:02] local.INFO: TCP Data received {"connection_id":133077,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:59:02] local.INFO: Processing buffer {"connection_id":133077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:59:02] local.INFO: IMEI packet received {"connection_id":133077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 05:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":133077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 05:59:11] local.INFO: TCP Data received {"connection_id":133077,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:59:11] local.INFO: Processing buffer {"connection_id":133077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 05:59:11] local.INFO: IMEI packet received {"connection_id":133077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 05:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":133077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 05:59:12] local.INFO: TCP Data received {"connection_id":133077,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f63299b78012d7f92c005afd830000000502c..."} 
[2026-07-15 05:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63299b78012d7f92c005afd830000000502c..."} 
[2026-07-15 05:59:12] local.INFO: Processing buffer {"connection_id":133077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63299b78012d7f92c005afd830000000502c..."} 
[2026-07-15 05:59:12] local.INFO: Packet analysis {"connection_id":133077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6329"} 
[2026-07-15 05:59:12] local.INFO: Extracted packet for processing {"connection_id":133077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6329"} 
[2026-07-15 05:59:12] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723148288001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784075099000,"timestamp_ms":1784075099000,"timestamp_seconds":1784075099,"priority":1,"record_length":96,"hex_timestamp":"0000019f63299b78"} 
[2026-07-15 05:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:59:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-15 05:59:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:59:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":133077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":133077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":133077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:59:12] 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-07-15 05:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723148288001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723148288001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:59:12] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:59:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723148288001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":133077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:59:12] local.INFO: GPS data processed {"connection_id":133077,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:59:12] local.INFO: Acknowledgment sent {"connection_id":133077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 05:59:46] local.INFO: TCP Data received {"connection_id":133077,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f63299b78012d7f92c005afd830000000502c..."} 
[2026-07-15 05:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63299b78012d7f92c005afd830000000502c..."} 
[2026-07-15 05:59:46] local.INFO: Processing buffer {"connection_id":133077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63299b78012d7f92c005afd830000000502c..."} 
[2026-07-15 05:59:46] local.INFO: Packet analysis {"connection_id":133077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6329"} 
[2026-07-15 05:59:46] local.INFO: Extracted packet for processing {"connection_id":133077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6329"} 
[2026-07-15 05:59:46] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 05:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 05:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723148288001,"note":"Value kept but may cause issues"} 
[2026-07-15 05:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 05:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 05:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 05:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784075099000,"timestamp_ms":1784075099000,"timestamp_seconds":1784075099,"priority":1,"record_length":96,"hex_timestamp":"0000019f63299b78"} 
[2026-07-15 05:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 05:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 05:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-15 05:59:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 05:59:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 05:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 05:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 05:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":133077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 05:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":133077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":133077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 05:59:46] 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-07-15 05:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 05:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 05:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723148288001,"66":25549,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 05:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 05:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 05:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723148288001,"description":"Unknown IO ID 0"} 
[2026-07-15 05:59:46] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 05:59:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 05:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 05:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 05:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723148288001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 05:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":133077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 05:59:46] local.INFO: GPS data processed {"connection_id":133077,"processed":1,"errors":0,"total":1} 
[2026-07-15 05:59:46] local.INFO: Acknowledgment sent {"connection_id":133077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:00:02] local.INFO: TCP Data received {"connection_id":134437,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:00:02] local.INFO: Processing buffer {"connection_id":134437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:00:02] local.INFO: IMEI packet received {"connection_id":134437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":134437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:00:37] local.INFO: TCP Data received {"connection_id":132061,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:00:37] local.INFO: Processing buffer {"connection_id":132061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:00:37] local.INFO: IMEI packet received {"connection_id":132061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":132061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:00:38] local.INFO: TCP Data received {"connection_id":132061,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:00:38] local.INFO: Processing buffer {"connection_id":132061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:00:38] local.INFO: IMEI packet received {"connection_id":132061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":132061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:01:35] local.INFO: TCP Data received {"connection_id":132063,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 06:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132063,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 06:01:35] local.INFO: Processing buffer {"connection_id":132063,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 06:01:35] local.INFO: IMEI packet received {"connection_id":132063,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 06:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":132063,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:05:41] local.INFO: TCP Data received {"connection_id":134438,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:05:41] local.INFO: Processing buffer {"connection_id":134438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:05:41] local.INFO: IMEI packet received {"connection_id":134438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":134438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:05:42] local.INFO: TCP Data received {"connection_id":134438,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f632e3340012d7f92c005afd830000000502e..."} 
[2026-07-15 06:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f632e3340012d7f92c005afd830000000502e..."} 
[2026-07-15 06:05:42] local.INFO: Processing buffer {"connection_id":134438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f632e3340012d7f92c005afd830000000502e..."} 
[2026-07-15 06:05:42] local.INFO: Packet analysis {"connection_id":134438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f632e"} 
[2026-07-15 06:05:42] local.INFO: Extracted packet for processing {"connection_id":134438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f632e"} 
[2026-07-15 06:05:42] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723225344001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784075400000,"timestamp_ms":1784075400000,"timestamp_seconds":1784075400,"priority":1,"record_length":96,"hex_timestamp":"0000019f632e3340"} 
[2026-07-15 06:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:05:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 06:05:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":134438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":134438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":134438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723225344001,"66":25517,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723225344001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:05:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:05:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723225344001,"power":25517,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":134438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:05:42] local.INFO: GPS data processed {"connection_id":134438,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:05:42] local.INFO: Acknowledgment sent {"connection_id":134438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:06:07] local.INFO: TCP Data received {"connection_id":134440,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:06:07] local.INFO: Processing buffer {"connection_id":134440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:06:07] local.INFO: IMEI packet received {"connection_id":134440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":134440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:06:12] local.INFO: TCP Data received {"connection_id":134440,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:06:12] local.INFO: Processing buffer {"connection_id":134440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:06:12] local.INFO: IMEI packet received {"connection_id":134440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":134440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:06:13] local.INFO: TCP Data received {"connection_id":134440,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f6332cb08012d7f92c005afd830000000502e..."} 
[2026-07-15 06:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6332cb08012d7f92c005afd830000000502e..."} 
[2026-07-15 06:06:13] local.INFO: Processing buffer {"connection_id":134440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6332cb08012d7f92c005afd830000000502e..."} 
[2026-07-15 06:06:13] local.INFO: Packet analysis {"connection_id":134440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6332"} 
[2026-07-15 06:06:13] local.INFO: Extracted packet for processing {"connection_id":134440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6332"} 
[2026-07-15 06:06:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:06:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723302400001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:06:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:06:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:06:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:06:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784075701000,"timestamp_ms":1784075701000,"timestamp_seconds":1784075701,"priority":1,"record_length":96,"hex_timestamp":"0000019f6332cb08"} 
[2026-07-15 06:06:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:06:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 06:06:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:06:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:06:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:06:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:06:13] local.INFO: Teltonika packet parsed successfully {"connection_id":134440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:06:13] local.INFO: Passing IMEI to GPS processor {"connection_id":134440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:06:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":134440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:06:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:06:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:06:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:06:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723302400001,"66":25538,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:06:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:06:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:06:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723302400001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:06:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:06:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:06:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:06:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:06:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723302400001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:06:13] local.INFO: DEBUG: GPS processor result {"connection_id":134440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:06:13] local.INFO: GPS data processed {"connection_id":134440,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:06:13] local.INFO: Acknowledgment sent {"connection_id":134440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:06:46] local.INFO: TCP Data received {"connection_id":134440,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f6332cb08012d7f92c005afd830000000502e..."} 
[2026-07-15 06:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6332cb08012d7f92c005afd830000000502e..."} 
[2026-07-15 06:06:46] local.INFO: Processing buffer {"connection_id":134440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6332cb08012d7f92c005afd830000000502e..."} 
[2026-07-15 06:06:46] local.INFO: Packet analysis {"connection_id":134440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6332"} 
[2026-07-15 06:06:46] local.INFO: Extracted packet for processing {"connection_id":134440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6332"} 
[2026-07-15 06:06:46] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723302400001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784075701000,"timestamp_ms":1784075701000,"timestamp_seconds":1784075701,"priority":1,"record_length":96,"hex_timestamp":"0000019f6332cb08"} 
[2026-07-15 06:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 06:06:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":134440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":134440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":134440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:06:46] 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-07-15 06:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723302400001,"66":25538,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723302400001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:06:46] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:06:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723302400001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":134440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:06:46] local.INFO: GPS data processed {"connection_id":134440,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:06:46] local.INFO: Acknowledgment sent {"connection_id":134440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:07:00] local.INFO: TCP Data received {"connection_id":132243,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 06:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132243,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 06:07:00] local.INFO: Processing buffer {"connection_id":132243,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 06:07:00] local.INFO: IMEI packet received {"connection_id":132243,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 06:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":132243,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:07:02] local.INFO: TCP Data received {"connection_id":134441,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:07:02] local.INFO: Processing buffer {"connection_id":134441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:07:02] local.INFO: IMEI packet received {"connection_id":134441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":134441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:07:07] local.INFO: TCP Data received {"connection_id":134441,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:07:07] local.INFO: Processing buffer {"connection_id":134441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:07:07] local.INFO: IMEI packet received {"connection_id":134441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":134441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:07:08] local.INFO: TCP Data received {"connection_id":134441,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f6332cb08012d7f92c005afd830000000502e..."} 
[2026-07-15 06:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6332cb08012d7f92c005afd830000000502e..."} 
[2026-07-15 06:07:08] local.INFO: Processing buffer {"connection_id":134441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6332cb08012d7f92c005afd830000000502e..."} 
[2026-07-15 06:07:08] local.INFO: Packet analysis {"connection_id":134441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6332"} 
[2026-07-15 06:07:08] local.INFO: Extracted packet for processing {"connection_id":134441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6332"} 
[2026-07-15 06:07:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723302400001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784075701000,"timestamp_ms":1784075701000,"timestamp_seconds":1784075701,"priority":1,"record_length":96,"hex_timestamp":"0000019f6332cb08"} 
[2026-07-15 06:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 06:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723302400001,"66":25538,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723302400001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:07:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:07:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723302400001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":134441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:07:08] local.INFO: GPS data processed {"connection_id":134441,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:07:08] local.INFO: Acknowledgment sent {"connection_id":134441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:07:40] local.INFO: TCP Data received {"connection_id":132064,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 06:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132064,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 06:07:40] local.INFO: Processing buffer {"connection_id":132064,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 06:07:40] local.INFO: IMEI packet received {"connection_id":132064,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 06:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":132064,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:07:41] local.INFO: TCP Data received {"connection_id":134441,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f6332cb08012d7f92c005afd830000000502e..."} 
[2026-07-15 06:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6332cb08012d7f92c005afd830000000502e..."} 
[2026-07-15 06:07:41] local.INFO: Processing buffer {"connection_id":134441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6332cb08012d7f92c005afd830000000502e..."} 
[2026-07-15 06:07:41] local.INFO: Packet analysis {"connection_id":134441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6332"} 
[2026-07-15 06:07:41] local.INFO: Extracted packet for processing {"connection_id":134441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6332"} 
[2026-07-15 06:07:41] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723302400001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784075701000,"timestamp_ms":1784075701000,"timestamp_seconds":1784075701,"priority":1,"record_length":96,"hex_timestamp":"0000019f6332cb08"} 
[2026-07-15 06:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 06:07:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":134441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":134441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":134441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:07:41] 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-07-15 06:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723302400001,"66":25538,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723302400001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:07:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:07:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723302400001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":134441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:07:41] local.INFO: GPS data processed {"connection_id":134441,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:07:41] local.INFO: Acknowledgment sent {"connection_id":134441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:08:02] local.INFO: TCP Data received {"connection_id":133080,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:08:02] local.INFO: Processing buffer {"connection_id":133080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:08:02] local.INFO: IMEI packet received {"connection_id":133080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":133080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:08:07] local.INFO: TCP Data received {"connection_id":133080,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:08:07] local.INFO: Processing buffer {"connection_id":133080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:08:07] local.INFO: IMEI packet received {"connection_id":133080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":133080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:08:08] local.INFO: TCP Data received {"connection_id":133080,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f6332cb08012d7f92c005afd830000000502e..."} 
[2026-07-15 06:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6332cb08012d7f92c005afd830000000502e..."} 
[2026-07-15 06:08:08] local.INFO: Processing buffer {"connection_id":133080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6332cb08012d7f92c005afd830000000502e..."} 
[2026-07-15 06:08:08] local.INFO: Packet analysis {"connection_id":133080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6332"} 
[2026-07-15 06:08:08] local.INFO: Extracted packet for processing {"connection_id":133080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6332"} 
[2026-07-15 06:08:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06: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-07-15 06:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723302400001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784075701000,"timestamp_ms":1784075701000,"timestamp_seconds":1784075701,"priority":1,"record_length":96,"hex_timestamp":"0000019f6332cb08"} 
[2026-07-15 06:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 06:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":133080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":133080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":133080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723302400001,"66":25538,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723302400001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:08:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:08:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723302400001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":133080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:08:08] local.INFO: GPS data processed {"connection_id":133080,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:08:08] local.INFO: Acknowledgment sent {"connection_id":133080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:08:39] local.INFO: TCP Data received {"connection_id":133080,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f6332cb08012d7f92c005afd830000000502e..."} 
[2026-07-15 06:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6332cb08012d7f92c005afd830000000502e..."} 
[2026-07-15 06:08:39] local.INFO: Processing buffer {"connection_id":133080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6332cb08012d7f92c005afd830000000502e..."} 
[2026-07-15 06:08:39] local.INFO: Packet analysis {"connection_id":133080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6332"} 
[2026-07-15 06:08:39] local.INFO: Extracted packet for processing {"connection_id":133080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6332"} 
[2026-07-15 06:08:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723302400001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784075701000,"timestamp_ms":1784075701000,"timestamp_seconds":1784075701,"priority":1,"record_length":96,"hex_timestamp":"0000019f6332cb08"} 
[2026-07-15 06:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:08:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 06:08:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:08:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:08:39] 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-07-15 06:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723302400001,"66":25538,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723302400001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:08:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:08:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723302400001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":133080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:08:39] local.INFO: GPS data processed {"connection_id":133080,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:08:39] local.INFO: Acknowledgment sent {"connection_id":133080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:09:02] local.INFO: TCP Data received {"connection_id":132245,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:09:02] local.INFO: Processing buffer {"connection_id":132245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:09:02] local.INFO: IMEI packet received {"connection_id":132245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":132245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:09:07] local.INFO: TCP Data received {"connection_id":132245,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:09:07] local.INFO: Processing buffer {"connection_id":132245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:09:07] local.INFO: IMEI packet received {"connection_id":132245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":132245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:09:08] local.INFO: TCP Data received {"connection_id":132245,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f6332cb08012d7f92c005afd830000000502e..."} 
[2026-07-15 06:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6332cb08012d7f92c005afd830000000502e..."} 
[2026-07-15 06:09:08] local.INFO: Processing buffer {"connection_id":132245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6332cb08012d7f92c005afd830000000502e..."} 
[2026-07-15 06:09:08] local.INFO: Packet analysis {"connection_id":132245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6332"} 
[2026-07-15 06:09:08] local.INFO: Extracted packet for processing {"connection_id":132245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6332"} 
[2026-07-15 06:09:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723302400001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784075701000,"timestamp_ms":1784075701000,"timestamp_seconds":1784075701,"priority":1,"record_length":96,"hex_timestamp":"0000019f6332cb08"} 
[2026-07-15 06:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 06:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723302400001,"66":25538,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723302400001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:09:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:09:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723302400001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":132245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:09:08] local.INFO: GPS data processed {"connection_id":132245,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:09:08] local.INFO: Acknowledgment sent {"connection_id":132245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:09:39] local.INFO: TCP Data received {"connection_id":132245,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f6332cb08012d7f92c005afd830000000502e..."} 
[2026-07-15 06:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6332cb08012d7f92c005afd830000000502e..."} 
[2026-07-15 06:09:39] local.INFO: Processing buffer {"connection_id":132245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6332cb08012d7f92c005afd830000000502e..."} 
[2026-07-15 06:09:39] local.INFO: Packet analysis {"connection_id":132245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6332"} 
[2026-07-15 06:09:39] local.INFO: Extracted packet for processing {"connection_id":132245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6332"} 
[2026-07-15 06:09:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723302400001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784075701000,"timestamp_ms":1784075701000,"timestamp_seconds":1784075701,"priority":1,"record_length":96,"hex_timestamp":"0000019f6332cb08"} 
[2026-07-15 06:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:09:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 06:09:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:09:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:09:39] 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-07-15 06:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723302400001,"66":25538,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723302400001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:09:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:09:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723302400001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":132245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:09:39] local.INFO: GPS data processed {"connection_id":132245,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:09:39] local.INFO: Acknowledgment sent {"connection_id":132245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:10:02] local.INFO: TCP Data received {"connection_id":132065,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:10:02] local.INFO: Processing buffer {"connection_id":132065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:10:02] local.INFO: IMEI packet received {"connection_id":132065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":132065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:10:07] local.INFO: TCP Data received {"connection_id":132065,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:10:07] local.INFO: Processing buffer {"connection_id":132065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:10:07] local.INFO: IMEI packet received {"connection_id":132065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":132065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:10:08] local.INFO: TCP Data received {"connection_id":132065,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f6332cb08012d7f92c005afd830000000502e..."} 
[2026-07-15 06:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6332cb08012d7f92c005afd830000000502e..."} 
[2026-07-15 06:10:08] local.INFO: Processing buffer {"connection_id":132065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6332cb08012d7f92c005afd830000000502e..."} 
[2026-07-15 06:10:08] local.INFO: Packet analysis {"connection_id":132065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6332"} 
[2026-07-15 06:10:08] local.INFO: Extracted packet for processing {"connection_id":132065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6332"} 
[2026-07-15 06:10:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06: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-07-15 06:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723302400001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784075701000,"timestamp_ms":1784075701000,"timestamp_seconds":1784075701,"priority":1,"record_length":96,"hex_timestamp":"0000019f6332cb08"} 
[2026-07-15 06:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 06:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06: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-07-15 06:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723302400001,"66":25538,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723302400001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:10:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:10:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723302400001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":132065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:10:08] local.INFO: GPS data processed {"connection_id":132065,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:10:08] local.INFO: Acknowledgment sent {"connection_id":132065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:10:39] local.INFO: TCP Data received {"connection_id":132065,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f6332cb08012d7f92c005afd830000000502e..."} 
[2026-07-15 06:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6332cb08012d7f92c005afd830000000502e..."} 
[2026-07-15 06:10:39] local.INFO: Processing buffer {"connection_id":132065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6332cb08012d7f92c005afd830000000502e..."} 
[2026-07-15 06:10:39] local.INFO: Packet analysis {"connection_id":132065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6332"} 
[2026-07-15 06:10:39] local.INFO: Extracted packet for processing {"connection_id":132065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6332"} 
[2026-07-15 06:10:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723302400001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784075701000,"timestamp_ms":1784075701000,"timestamp_seconds":1784075701,"priority":1,"record_length":96,"hex_timestamp":"0000019f6332cb08"} 
[2026-07-15 06:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:10:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 06:10:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:10:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:10:39] 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-07-15 06:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723302400001,"66":25538,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723302400001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:10:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:10:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723302400001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":132065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:10:39] local.INFO: GPS data processed {"connection_id":132065,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:10:39] local.INFO: Acknowledgment sent {"connection_id":132065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:11:02] local.INFO: TCP Data received {"connection_id":133081,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:11:02] local.INFO: Processing buffer {"connection_id":133081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:11:02] local.INFO: IMEI packet received {"connection_id":133081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":133081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:11:07] local.INFO: TCP Data received {"connection_id":133081,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:11:07] local.INFO: Processing buffer {"connection_id":133081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:11:07] local.INFO: IMEI packet received {"connection_id":133081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":133081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:11:08] local.INFO: TCP Data received {"connection_id":133081,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f633762d0012d7f92c005afd8300000005029..."} 
[2026-07-15 06:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f633762d0012d7f92c005afd8300000005029..."} 
[2026-07-15 06:11:08] local.INFO: Processing buffer {"connection_id":133081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f633762d0012d7f92c005afd8300000005029..."} 
[2026-07-15 06:11:08] local.INFO: Packet analysis {"connection_id":133081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6337"} 
[2026-07-15 06:11:08] local.INFO: Extracted packet for processing {"connection_id":133081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6337"} 
[2026-07-15 06:11:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723379456001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:11:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784076002000,"timestamp_ms":1784076002000,"timestamp_seconds":1784076002,"priority":1,"record_length":96,"hex_timestamp":"0000019f633762d0"} 
[2026-07-15 06:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-15 06:11:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:11:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":133081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":133081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":133081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723379456001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723379456001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:11:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:11:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723379456001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":133081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:11:08] local.INFO: GPS data processed {"connection_id":133081,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:11:08] local.INFO: Acknowledgment sent {"connection_id":133081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:11:41] local.INFO: TCP Data received {"connection_id":133081,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f633762d0012d7f92c005afd8300000005029..."} 
[2026-07-15 06:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f633762d0012d7f92c005afd8300000005029..."} 
[2026-07-15 06:11:41] local.INFO: Processing buffer {"connection_id":133081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f633762d0012d7f92c005afd8300000005029..."} 
[2026-07-15 06:11:41] local.INFO: Packet analysis {"connection_id":133081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6337"} 
[2026-07-15 06:11:41] local.INFO: Extracted packet for processing {"connection_id":133081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6337"} 
[2026-07-15 06:11:41] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:11: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-07-15 06:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723379456001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784076002000,"timestamp_ms":1784076002000,"timestamp_seconds":1784076002,"priority":1,"record_length":96,"hex_timestamp":"0000019f633762d0"} 
[2026-07-15 06:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-15 06:11:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:11: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-07-15 06:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":133081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":133081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":133081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:11:41] 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-07-15 06:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723379456001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723379456001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:11:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:11:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723379456001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":133081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:11:41] local.INFO: GPS data processed {"connection_id":133081,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:11:41] local.INFO: Acknowledgment sent {"connection_id":133081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:12:02] local.INFO: TCP Data received {"connection_id":134445,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:12:02] local.INFO: Processing buffer {"connection_id":134445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:12:02] local.INFO: IMEI packet received {"connection_id":134445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":134445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:12:07] local.INFO: TCP Data received {"connection_id":134445,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:12:07] local.INFO: Processing buffer {"connection_id":134445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:12:07] local.INFO: IMEI packet received {"connection_id":134445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":134445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:12:08] local.INFO: TCP Data received {"connection_id":134445,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f633762d0012d7f92c005afd8300000005029..."} 
[2026-07-15 06:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f633762d0012d7f92c005afd8300000005029..."} 
[2026-07-15 06:12:08] local.INFO: Processing buffer {"connection_id":134445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f633762d0012d7f92c005afd8300000005029..."} 
[2026-07-15 06:12:08] local.INFO: Packet analysis {"connection_id":134445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6337"} 
[2026-07-15 06:12:08] local.INFO: Extracted packet for processing {"connection_id":134445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6337"} 
[2026-07-15 06:12:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723379456001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784076002000,"timestamp_ms":1784076002000,"timestamp_seconds":1784076002,"priority":1,"record_length":96,"hex_timestamp":"0000019f633762d0"} 
[2026-07-15 06:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:12:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-15 06:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:12:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723379456001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723379456001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:12:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:12:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723379456001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":134445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:12:08] local.INFO: GPS data processed {"connection_id":134445,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:12:08] local.INFO: Acknowledgment sent {"connection_id":134445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:12:41] local.INFO: TCP Data received {"connection_id":134445,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f633762d0012d7f92c005afd8300000005029..."} 
[2026-07-15 06:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f633762d0012d7f92c005afd8300000005029..."} 
[2026-07-15 06:12:41] local.INFO: Processing buffer {"connection_id":134445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f633762d0012d7f92c005afd8300000005029..."} 
[2026-07-15 06:12:41] local.INFO: Packet analysis {"connection_id":134445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6337"} 
[2026-07-15 06:12:41] local.INFO: Extracted packet for processing {"connection_id":134445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6337"} 
[2026-07-15 06:12:41] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:12: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-07-15 06:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723379456001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784076002000,"timestamp_ms":1784076002000,"timestamp_seconds":1784076002,"priority":1,"record_length":96,"hex_timestamp":"0000019f633762d0"} 
[2026-07-15 06:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-15 06:12:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:12: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-07-15 06:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":134445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":134445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":134445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723379456001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723379456001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:12:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:12:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723379456001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":134445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:12:41] local.INFO: GPS data processed {"connection_id":134445,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:12:41] local.INFO: Acknowledgment sent {"connection_id":134445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:13:02] local.INFO: TCP Data received {"connection_id":134446,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:13:02] local.INFO: Processing buffer {"connection_id":134446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:13:02] local.INFO: IMEI packet received {"connection_id":134446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":134446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:13:07] local.INFO: TCP Data received {"connection_id":134446,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:13:07] local.INFO: Processing buffer {"connection_id":134446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:13:07] local.INFO: IMEI packet received {"connection_id":134446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":134446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:13:08] local.INFO: TCP Data received {"connection_id":134446,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f633762d0012d7f92c005afd8300000005029..."} 
[2026-07-15 06:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f633762d0012d7f92c005afd8300000005029..."} 
[2026-07-15 06:13:08] local.INFO: Processing buffer {"connection_id":134446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f633762d0012d7f92c005afd8300000005029..."} 
[2026-07-15 06:13:08] local.INFO: Packet analysis {"connection_id":134446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6337"} 
[2026-07-15 06:13:08] local.INFO: Extracted packet for processing {"connection_id":134446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6337"} 
[2026-07-15 06:13:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723379456001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784076002000,"timestamp_ms":1784076002000,"timestamp_seconds":1784076002,"priority":1,"record_length":96,"hex_timestamp":"0000019f633762d0"} 
[2026-07-15 06:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-15 06:13:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:13:08] 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-07-15 06:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723379456001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723379456001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:13:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:13:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723379456001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":134446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:13:08] local.INFO: GPS data processed {"connection_id":134446,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:13:08] local.INFO: Acknowledgment sent {"connection_id":134446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:13:10] local.INFO: TCP Data received {"connection_id":132246,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 06:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132246,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 06:13:10] local.INFO: Processing buffer {"connection_id":132246,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 06:13:10] local.INFO: IMEI packet received {"connection_id":132246,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 06:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":132246,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:13:36] local.INFO: TCP Data received {"connection_id":133082,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 06:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133082,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 06:13:36] local.INFO: Processing buffer {"connection_id":133082,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 06:13:36] local.INFO: IMEI packet received {"connection_id":133082,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 06:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":133082,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:13:39] local.INFO: TCP Data received {"connection_id":134446,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f633762d0012d7f92c005afd8300000005029..."} 
[2026-07-15 06:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f633762d0012d7f92c005afd8300000005029..."} 
[2026-07-15 06:13:39] local.INFO: Processing buffer {"connection_id":134446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f633762d0012d7f92c005afd8300000005029..."} 
[2026-07-15 06:13:39] local.INFO: Packet analysis {"connection_id":134446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6337"} 
[2026-07-15 06:13:39] local.INFO: Extracted packet for processing {"connection_id":134446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6337"} 
[2026-07-15 06:13:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723379456001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784076002000,"timestamp_ms":1784076002000,"timestamp_seconds":1784076002,"priority":1,"record_length":96,"hex_timestamp":"0000019f633762d0"} 
[2026-07-15 06:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:13:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-15 06:13:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:13:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:13:39] 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-07-15 06:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723379456001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723379456001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:13:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:13:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723379456001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":134446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:13:39] local.INFO: GPS data processed {"connection_id":134446,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:13:39] local.INFO: Acknowledgment sent {"connection_id":134446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:14:02] local.INFO: TCP Data received {"connection_id":132066,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:14:02] local.INFO: Processing buffer {"connection_id":132066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:14:02] local.INFO: IMEI packet received {"connection_id":132066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":132066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:14:07] local.INFO: TCP Data received {"connection_id":132066,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:14:07] local.INFO: Processing buffer {"connection_id":132066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:14:07] local.INFO: IMEI packet received {"connection_id":132066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":132066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:14:08] local.INFO: TCP Data received {"connection_id":132066,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f633762d0012d7f92c005afd8300000005029..."} 
[2026-07-15 06:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f633762d0012d7f92c005afd8300000005029..."} 
[2026-07-15 06:14:08] local.INFO: Processing buffer {"connection_id":132066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f633762d0012d7f92c005afd8300000005029..."} 
[2026-07-15 06:14:08] local.INFO: Packet analysis {"connection_id":132066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6337"} 
[2026-07-15 06:14:08] local.INFO: Extracted packet for processing {"connection_id":132066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6337"} 
[2026-07-15 06:14:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723379456001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:14:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784076002000,"timestamp_ms":1784076002000,"timestamp_seconds":1784076002,"priority":1,"record_length":96,"hex_timestamp":"0000019f633762d0"} 
[2026-07-15 06:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:14:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-15 06:14:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:14:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723379456001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723379456001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:14:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:14:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723379456001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":132066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:14:08] local.INFO: GPS data processed {"connection_id":132066,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:14:08] local.INFO: Acknowledgment sent {"connection_id":132066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:14:39] local.INFO: TCP Data received {"connection_id":132066,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f633762d0012d7f92c005afd8300000005029..."} 
[2026-07-15 06:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f633762d0012d7f92c005afd8300000005029..."} 
[2026-07-15 06:14:39] local.INFO: Processing buffer {"connection_id":132066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f633762d0012d7f92c005afd8300000005029..."} 
[2026-07-15 06:14:39] local.INFO: Packet analysis {"connection_id":132066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6337"} 
[2026-07-15 06:14:39] local.INFO: Extracted packet for processing {"connection_id":132066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6337"} 
[2026-07-15 06:14:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723379456001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784076002000,"timestamp_ms":1784076002000,"timestamp_seconds":1784076002,"priority":1,"record_length":96,"hex_timestamp":"0000019f633762d0"} 
[2026-07-15 06:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:14:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-15 06:14:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:14:39] 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-07-15 06:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723379456001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723379456001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:14:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:14:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723379456001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":132066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:14:39] local.INFO: GPS data processed {"connection_id":132066,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:14:39] local.INFO: Acknowledgment sent {"connection_id":132066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:15:02] local.INFO: TCP Data received {"connection_id":134447,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:15:02] local.INFO: Processing buffer {"connection_id":134447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:15:02] local.INFO: IMEI packet received {"connection_id":134447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":134447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:15:07] local.INFO: TCP Data received {"connection_id":134447,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:15:07] local.INFO: Processing buffer {"connection_id":134447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:15:07] local.INFO: IMEI packet received {"connection_id":134447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":134447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:15:08] local.INFO: TCP Data received {"connection_id":134447,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f633762d0012d7f92c005afd8300000005029..."} 
[2026-07-15 06:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f633762d0012d7f92c005afd8300000005029..."} 
[2026-07-15 06:15:08] local.INFO: Processing buffer {"connection_id":134447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f633762d0012d7f92c005afd8300000005029..."} 
[2026-07-15 06:15:08] local.INFO: Packet analysis {"connection_id":134447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6337"} 
[2026-07-15 06:15:08] local.INFO: Extracted packet for processing {"connection_id":134447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6337"} 
[2026-07-15 06:15:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723379456001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784076002000,"timestamp_ms":1784076002000,"timestamp_seconds":1784076002,"priority":1,"record_length":96,"hex_timestamp":"0000019f633762d0"} 
[2026-07-15 06:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-15 06:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06: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-07-15 06:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:15:08] 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-07-15 06:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723379456001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723379456001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:15:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:15:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723379456001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":134447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:15:08] local.INFO: GPS data processed {"connection_id":134447,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:15:08] local.INFO: Acknowledgment sent {"connection_id":134447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:15:39] local.INFO: TCP Data received {"connection_id":134447,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f633762d0012d7f92c005afd8300000005029..."} 
[2026-07-15 06:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f633762d0012d7f92c005afd8300000005029..."} 
[2026-07-15 06:15:39] local.INFO: Processing buffer {"connection_id":134447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f633762d0012d7f92c005afd8300000005029..."} 
[2026-07-15 06:15:39] local.INFO: Packet analysis {"connection_id":134447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6337"} 
[2026-07-15 06:15:39] local.INFO: Extracted packet for processing {"connection_id":134447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6337"} 
[2026-07-15 06:15:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723379456001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784076002000,"timestamp_ms":1784076002000,"timestamp_seconds":1784076002,"priority":1,"record_length":96,"hex_timestamp":"0000019f633762d0"} 
[2026-07-15 06:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-15 06:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06: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-07-15 06:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:15:39] 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-07-15 06:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723379456001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723379456001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:15:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:15:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723379456001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":134447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:15:39] local.INFO: GPS data processed {"connection_id":134447,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:15:39] local.INFO: Acknowledgment sent {"connection_id":134447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:16:07] local.INFO: TCP Data received {"connection_id":132247,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:16:07] local.INFO: Processing buffer {"connection_id":132247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:16:07] local.INFO: IMEI packet received {"connection_id":132247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":132247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:16:12] local.INFO: TCP Data received {"connection_id":132247,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:16:12] local.INFO: Processing buffer {"connection_id":132247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:16:12] local.INFO: IMEI packet received {"connection_id":132247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":132247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:16:14] local.INFO: TCP Data received {"connection_id":132247,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f633bfa98012d7f92c005afd830000000502e..."} 
[2026-07-15 06:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f633bfa98012d7f92c005afd830000000502e..."} 
[2026-07-15 06:16:14] local.INFO: Processing buffer {"connection_id":132247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f633bfa98012d7f92c005afd830000000502e..."} 
[2026-07-15 06:16:14] local.INFO: Packet analysis {"connection_id":132247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f633b"} 
[2026-07-15 06:16:14] local.INFO: Extracted packet for processing {"connection_id":132247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f633b"} 
[2026-07-15 06:16:14] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:16:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723456512001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:16:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:16:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:16:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:16:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784076303000,"timestamp_ms":1784076303000,"timestamp_seconds":1784076303,"priority":1,"record_length":96,"hex_timestamp":"0000019f633bfa98"} 
[2026-07-15 06:16:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:16:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-15 06:16:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:16:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:16:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:16:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:16:14] local.INFO: Teltonika packet parsed successfully {"connection_id":132247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:16:14] local.INFO: Passing IMEI to GPS processor {"connection_id":132247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:16:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":132247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:16:14] 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-07-15 06:16:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:16:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:16:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723456512001,"66":25212,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:16:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:16:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:16:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723456512001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:16:14] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:16:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:16:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:16:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:16:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723456512001,"power":25212,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:16:14] local.INFO: DEBUG: GPS processor result {"connection_id":132247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:16:14] local.INFO: GPS data processed {"connection_id":132247,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:16:14] local.INFO: Acknowledgment sent {"connection_id":132247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:16:46] local.INFO: TCP Data received {"connection_id":132247,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f633bfa98012d7f92c005afd830000000502e..."} 
[2026-07-15 06:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f633bfa98012d7f92c005afd830000000502e..."} 
[2026-07-15 06:16:46] local.INFO: Processing buffer {"connection_id":132247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f633bfa98012d7f92c005afd830000000502e..."} 
[2026-07-15 06:16:46] local.INFO: Packet analysis {"connection_id":132247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f633b"} 
[2026-07-15 06:16:46] local.INFO: Extracted packet for processing {"connection_id":132247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f633b"} 
[2026-07-15 06:16:46] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723456512001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:16:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:16:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784076303000,"timestamp_ms":1784076303000,"timestamp_seconds":1784076303,"priority":1,"record_length":96,"hex_timestamp":"0000019f633bfa98"} 
[2026-07-15 06:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:16:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-15 06:16:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:16:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723456512001,"66":25212,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723456512001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:16:46] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:16:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:16:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723456512001,"power":25212,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":132247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:16:46] local.INFO: GPS data processed {"connection_id":132247,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:16:46] local.INFO: Acknowledgment sent {"connection_id":132247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:17:02] local.INFO: TCP Data received {"connection_id":133084,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:17:02] local.INFO: Processing buffer {"connection_id":133084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:17:02] local.INFO: IMEI packet received {"connection_id":133084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":133084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:17:07] local.INFO: TCP Data received {"connection_id":133084,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:17:07] local.INFO: Processing buffer {"connection_id":133084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:17:07] local.INFO: IMEI packet received {"connection_id":133084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":133084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:17:08] local.INFO: TCP Data received {"connection_id":133084,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f633bfa98012d7f92c005afd830000000502e..."} 
[2026-07-15 06:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f633bfa98012d7f92c005afd830000000502e..."} 
[2026-07-15 06:17:08] local.INFO: Processing buffer {"connection_id":133084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f633bfa98012d7f92c005afd830000000502e..."} 
[2026-07-15 06:17:08] local.INFO: Packet analysis {"connection_id":133084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f633b"} 
[2026-07-15 06:17:08] local.INFO: Extracted packet for processing {"connection_id":133084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f633b"} 
[2026-07-15 06:17:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06: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-07-15 06:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723456512001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784076303000,"timestamp_ms":1784076303000,"timestamp_seconds":1784076303,"priority":1,"record_length":96,"hex_timestamp":"0000019f633bfa98"} 
[2026-07-15 06:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-15 06:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06: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-07-15 06:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":133084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":133084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":133084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:17:08] 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-07-15 06:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723456512001,"66":25212,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723456512001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:17:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:17:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723456512001,"power":25212,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":133084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:17:08] local.INFO: GPS data processed {"connection_id":133084,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:17:08] local.INFO: Acknowledgment sent {"connection_id":133084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:17:39] local.INFO: TCP Data received {"connection_id":133084,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f633bfa98012d7f92c005afd830000000502e..."} 
[2026-07-15 06:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f633bfa98012d7f92c005afd830000000502e..."} 
[2026-07-15 06:17:39] local.INFO: Processing buffer {"connection_id":133084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f633bfa98012d7f92c005afd830000000502e..."} 
[2026-07-15 06:17:39] local.INFO: Packet analysis {"connection_id":133084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f633b"} 
[2026-07-15 06:17:39] local.INFO: Extracted packet for processing {"connection_id":133084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f633b"} 
[2026-07-15 06:17:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723456512001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784076303000,"timestamp_ms":1784076303000,"timestamp_seconds":1784076303,"priority":1,"record_length":96,"hex_timestamp":"0000019f633bfa98"} 
[2026-07-15 06:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-15 06:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:17:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:17:39] 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-07-15 06:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723456512001,"66":25212,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723456512001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:17:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:17:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723456512001,"power":25212,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":133084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:17:39] local.INFO: GPS data processed {"connection_id":133084,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:17:39] local.INFO: Acknowledgment sent {"connection_id":133084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:18:03] local.INFO: TCP Data received {"connection_id":132068,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:18:03] local.INFO: Processing buffer {"connection_id":132068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:18:03] local.INFO: IMEI packet received {"connection_id":132068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":132068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:18:07] local.INFO: TCP Data received {"connection_id":132068,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:18:07] local.INFO: Processing buffer {"connection_id":132068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:18:07] local.INFO: IMEI packet received {"connection_id":132068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":132068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:18:08] local.INFO: TCP Data received {"connection_id":132068,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f633bfa98012d7f92c005afd830000000502e..."} 
[2026-07-15 06:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f633bfa98012d7f92c005afd830000000502e..."} 
[2026-07-15 06:18:08] local.INFO: Processing buffer {"connection_id":132068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f633bfa98012d7f92c005afd830000000502e..."} 
[2026-07-15 06:18:08] local.INFO: Packet analysis {"connection_id":132068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f633b"} 
[2026-07-15 06:18:08] local.INFO: Extracted packet for processing {"connection_id":132068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f633b"} 
[2026-07-15 06:18:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723456512001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784076303000,"timestamp_ms":1784076303000,"timestamp_seconds":1784076303,"priority":1,"record_length":96,"hex_timestamp":"0000019f633bfa98"} 
[2026-07-15 06:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-15 06:18:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723456512001,"66":25212,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723456512001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:18:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:18:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723456512001,"power":25212,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":132068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:18:08] local.INFO: GPS data processed {"connection_id":132068,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:18:08] local.INFO: Acknowledgment sent {"connection_id":132068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:18:41] local.INFO: TCP Data received {"connection_id":132068,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f633bfa98012d7f92c005afd830000000502e..."} 
[2026-07-15 06:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f633bfa98012d7f92c005afd830000000502e..."} 
[2026-07-15 06:18:41] local.INFO: Processing buffer {"connection_id":132068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f633bfa98012d7f92c005afd830000000502e..."} 
[2026-07-15 06:18:41] local.INFO: Packet analysis {"connection_id":132068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f633b"} 
[2026-07-15 06:18:41] local.INFO: Extracted packet for processing {"connection_id":132068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f633b"} 
[2026-07-15 06:18:41] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723456512001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784076303000,"timestamp_ms":1784076303000,"timestamp_seconds":1784076303,"priority":1,"record_length":96,"hex_timestamp":"0000019f633bfa98"} 
[2026-07-15 06:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-15 06:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:18:41] 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-07-15 06:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723456512001,"66":25212,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723456512001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:18:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:18:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723456512001,"power":25212,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":132068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:18:41] local.INFO: GPS data processed {"connection_id":132068,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:18:41] local.INFO: Acknowledgment sent {"connection_id":132068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:19:02] local.INFO: TCP Data received {"connection_id":132248,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:19:02] local.INFO: Processing buffer {"connection_id":132248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:19:02] local.INFO: IMEI packet received {"connection_id":132248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":132248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:19:07] local.INFO: TCP Data received {"connection_id":132248,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:19:07] local.INFO: Processing buffer {"connection_id":132248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:19:07] local.INFO: IMEI packet received {"connection_id":132248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":132248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:19:08] local.INFO: TCP Data received {"connection_id":132248,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f633bfa98012d7f92c005afd830000000502e..."} 
[2026-07-15 06:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f633bfa98012d7f92c005afd830000000502e..."} 
[2026-07-15 06:19:08] local.INFO: Processing buffer {"connection_id":132248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f633bfa98012d7f92c005afd830000000502e..."} 
[2026-07-15 06:19:08] local.INFO: Packet analysis {"connection_id":132248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f633b"} 
[2026-07-15 06:19:08] local.INFO: Extracted packet for processing {"connection_id":132248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f633b"} 
[2026-07-15 06:19:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723456512001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784076303000,"timestamp_ms":1784076303000,"timestamp_seconds":1784076303,"priority":1,"record_length":96,"hex_timestamp":"0000019f633bfa98"} 
[2026-07-15 06:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-15 06:19:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723456512001,"66":25212,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723456512001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:19:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:19:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723456512001,"power":25212,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":132248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:19:08] local.INFO: GPS data processed {"connection_id":132248,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:19:08] local.INFO: Acknowledgment sent {"connection_id":132248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:19:10] local.INFO: TCP Data received {"connection_id":133085,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 06:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133085,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 06:19:10] local.INFO: Processing buffer {"connection_id":133085,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 06:19:10] local.INFO: IMEI packet received {"connection_id":133085,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 06:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":133085,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:19:35] local.INFO: TCP Data received {"connection_id":133086,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 06:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133086,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 06:19:35] local.INFO: Processing buffer {"connection_id":133086,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 06:19:35] local.INFO: IMEI packet received {"connection_id":133086,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 06:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":133086,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:19:39] local.INFO: TCP Data received {"connection_id":132248,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f633bfa98012d7f92c005afd830000000502e..."} 
[2026-07-15 06:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f633bfa98012d7f92c005afd830000000502e..."} 
[2026-07-15 06:19:39] local.INFO: Processing buffer {"connection_id":132248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f633bfa98012d7f92c005afd830000000502e..."} 
[2026-07-15 06:19:39] local.INFO: Packet analysis {"connection_id":132248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f633b"} 
[2026-07-15 06:19:39] local.INFO: Extracted packet for processing {"connection_id":132248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f633b"} 
[2026-07-15 06:19:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06: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-07-15 06:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723456512001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:19:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784076303000,"timestamp_ms":1784076303000,"timestamp_seconds":1784076303,"priority":1,"record_length":96,"hex_timestamp":"0000019f633bfa98"} 
[2026-07-15 06:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:19:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-15 06:19:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06: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-07-15 06:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:19:39] 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-07-15 06:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723456512001,"66":25212,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723456512001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:19:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:19:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723456512001,"power":25212,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":132248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:19:39] local.INFO: GPS data processed {"connection_id":132248,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:19:39] local.INFO: Acknowledgment sent {"connection_id":132248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:20:07] local.INFO: TCP Data received {"connection_id":132069,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:20:07] local.INFO: Processing buffer {"connection_id":132069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:20:07] local.INFO: IMEI packet received {"connection_id":132069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":132069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:20:12] local.INFO: TCP Data received {"connection_id":132069,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:20:12] local.INFO: Processing buffer {"connection_id":132069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:20:12] local.INFO: IMEI packet received {"connection_id":132069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":132069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:20:13] local.INFO: TCP Data received {"connection_id":132069,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f633bfa98012d7f92c005afd830000000502e..."} 
[2026-07-15 06:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f633bfa98012d7f92c005afd830000000502e..."} 
[2026-07-15 06:20:13] local.INFO: Processing buffer {"connection_id":132069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f633bfa98012d7f92c005afd830000000502e..."} 
[2026-07-15 06:20:13] local.INFO: Packet analysis {"connection_id":132069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f633b"} 
[2026-07-15 06:20:13] local.INFO: Extracted packet for processing {"connection_id":132069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f633b"} 
[2026-07-15 06:20:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723456512001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:20:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:20:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784076303000,"timestamp_ms":1784076303000,"timestamp_seconds":1784076303,"priority":1,"record_length":96,"hex_timestamp":"0000019f633bfa98"} 
[2026-07-15 06:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:20:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-15 06:20:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:20:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723456512001,"66":25212,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723456512001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:20:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:20:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:20:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723456512001,"power":25212,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":132069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:20:13] local.INFO: GPS data processed {"connection_id":132069,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:20:13] local.INFO: Acknowledgment sent {"connection_id":132069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:20:17] local.INFO: TCP Data received {"connection_id":132069,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f633bfa98012d7f92c005afd830000000502e..."} 
[2026-07-15 06:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f633bfa98012d7f92c005afd830000000502e..."} 
[2026-07-15 06:20:17] local.INFO: Processing buffer {"connection_id":132069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f633bfa98012d7f92c005afd830000000502e..."} 
[2026-07-15 06:20:17] local.INFO: Packet analysis {"connection_id":132069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f633b"} 
[2026-07-15 06:20:17] local.INFO: Extracted packet for processing {"connection_id":132069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f633b"} 
[2026-07-15 06:20:17] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723456512001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784076303000,"timestamp_ms":1784076303000,"timestamp_seconds":1784076303,"priority":1,"record_length":96,"hex_timestamp":"0000019f633bfa98"} 
[2026-07-15 06:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:20:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-15 06:20:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723456512001,"66":25212,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723456512001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:20:17] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:20:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723456512001,"power":25212,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":132069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:20:17] local.INFO: GPS data processed {"connection_id":132069,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:20:17] local.INFO: Acknowledgment sent {"connection_id":132069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:20:22] local.INFO: TCP Data received {"connection_id":132069,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f633bfa98012d7f92c005afd830000000502e..."} 
[2026-07-15 06:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f633bfa98012d7f92c005afd830000000502e..."} 
[2026-07-15 06:20:22] local.INFO: Processing buffer {"connection_id":132069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f633bfa98012d7f92c005afd830000000502e..."} 
[2026-07-15 06:20:22] local.INFO: Packet analysis {"connection_id":132069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f633b"} 
[2026-07-15 06:20:22] local.INFO: Extracted packet for processing {"connection_id":132069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f633b"} 
[2026-07-15 06:20:22] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06: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-07-15 06:20:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723456512001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:20:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:20:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:20:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:20:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784076303000,"timestamp_ms":1784076303000,"timestamp_seconds":1784076303,"priority":1,"record_length":96,"hex_timestamp":"0000019f633bfa98"} 
[2026-07-15 06:20:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:20:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06: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":211,"data_length":795,"current_offset":136} 
[2026-07-15 06:20:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06: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-07-15 06:20:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:20:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:20:22] local.INFO: Teltonika packet parsed successfully {"connection_id":132069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:20:22] local.INFO: Passing IMEI to GPS processor {"connection_id":132069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:20:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":132069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:20: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-07-15 06:20:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:20:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:20:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723456512001,"66":25212,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:20:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:20:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:20:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723456512001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:20:22] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:20:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:20:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:20:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:20:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723456512001,"power":25212,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:20:22] local.INFO: DEBUG: GPS processor result {"connection_id":132069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:20:22] local.INFO: GPS data processed {"connection_id":132069,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:20:22] local.INFO: Acknowledgment sent {"connection_id":132069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:21:02] local.INFO: TCP Data received {"connection_id":134450,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:21:02] local.INFO: Processing buffer {"connection_id":134450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:21:02] local.INFO: IMEI packet received {"connection_id":134450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":134450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:21:07] local.INFO: TCP Data received {"connection_id":134450,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:21:07] local.INFO: Processing buffer {"connection_id":134450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:21:07] local.INFO: IMEI packet received {"connection_id":134450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":134450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:21:08] local.INFO: TCP Data received {"connection_id":134450,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f63409260012d7f92c005afd8300000005030..."} 
[2026-07-15 06:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63409260012d7f92c005afd8300000005030..."} 
[2026-07-15 06:21:08] local.INFO: Processing buffer {"connection_id":134450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63409260012d7f92c005afd8300000005030..."} 
[2026-07-15 06:21:08] local.INFO: Packet analysis {"connection_id":134450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6340"} 
[2026-07-15 06:21:08] local.INFO: Extracted packet for processing {"connection_id":134450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6340"} 
[2026-07-15 06:21:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":48,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723533568001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784076604000,"timestamp_ms":1784076604000,"timestamp_seconds":1784076604,"priority":1,"record_length":96,"hex_timestamp":"0000019f63409260"} 
[2026-07-15 06:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-15 06:21:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723533568001,"66":25321,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723533568001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:21:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:21:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723533568001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":134450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:21:08] local.INFO: GPS data processed {"connection_id":134450,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:21:08] local.INFO: Acknowledgment sent {"connection_id":134450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:21:39] local.INFO: TCP Data received {"connection_id":134450,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f63409260012d7f92c005afd8300000005030..."} 
[2026-07-15 06:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63409260012d7f92c005afd8300000005030..."} 
[2026-07-15 06:21:39] local.INFO: Processing buffer {"connection_id":134450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63409260012d7f92c005afd8300000005030..."} 
[2026-07-15 06:21:39] local.INFO: Packet analysis {"connection_id":134450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6340"} 
[2026-07-15 06:21:39] local.INFO: Extracted packet for processing {"connection_id":134450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6340"} 
[2026-07-15 06:21:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":48,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723533568001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784076604000,"timestamp_ms":1784076604000,"timestamp_seconds":1784076604,"priority":1,"record_length":96,"hex_timestamp":"0000019f63409260"} 
[2026-07-15 06:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:21:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-15 06:21:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:21:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723533568001,"66":25321,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723533568001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:21:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:21:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723533568001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":134450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:21:39] local.INFO: GPS data processed {"connection_id":134450,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:21:39] local.INFO: Acknowledgment sent {"connection_id":134450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:22:02] local.INFO: TCP Data received {"connection_id":132250,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:22:02] local.INFO: Processing buffer {"connection_id":132250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:22:02] local.INFO: IMEI packet received {"connection_id":132250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":132250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:22:07] local.INFO: TCP Data received {"connection_id":132250,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:22:07] local.INFO: Processing buffer {"connection_id":132250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:22:07] local.INFO: IMEI packet received {"connection_id":132250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":132250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:22:08] local.INFO: TCP Data received {"connection_id":132250,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f63409260012d7f92c005afd8300000005030..."} 
[2026-07-15 06:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63409260012d7f92c005afd8300000005030..."} 
[2026-07-15 06:22:08] local.INFO: Processing buffer {"connection_id":132250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63409260012d7f92c005afd8300000005030..."} 
[2026-07-15 06:22:08] local.INFO: Packet analysis {"connection_id":132250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6340"} 
[2026-07-15 06:22:08] local.INFO: Extracted packet for processing {"connection_id":132250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6340"} 
[2026-07-15 06:22:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":48,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723533568001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784076604000,"timestamp_ms":1784076604000,"timestamp_seconds":1784076604,"priority":1,"record_length":96,"hex_timestamp":"0000019f63409260"} 
[2026-07-15 06:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-15 06:22:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723533568001,"66":25321,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723533568001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:22:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:22:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723533568001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":132250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:22:08] local.INFO: GPS data processed {"connection_id":132250,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:22:08] local.INFO: Acknowledgment sent {"connection_id":132250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:22:39] local.INFO: TCP Data received {"connection_id":132250,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f63409260012d7f92c005afd8300000005030..."} 
[2026-07-15 06:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63409260012d7f92c005afd8300000005030..."} 
[2026-07-15 06:22:39] local.INFO: Processing buffer {"connection_id":132250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63409260012d7f92c005afd8300000005030..."} 
[2026-07-15 06:22:39] local.INFO: Packet analysis {"connection_id":132250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6340"} 
[2026-07-15 06:22:39] local.INFO: Extracted packet for processing {"connection_id":132250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6340"} 
[2026-07-15 06:22:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":48,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723533568001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784076604000,"timestamp_ms":1784076604000,"timestamp_seconds":1784076604,"priority":1,"record_length":96,"hex_timestamp":"0000019f63409260"} 
[2026-07-15 06:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-15 06:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:22:39] 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-07-15 06:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723533568001,"66":25321,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723533568001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:22:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:22:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723533568001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":132250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:22:39] local.INFO: GPS data processed {"connection_id":132250,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:22:39] local.INFO: Acknowledgment sent {"connection_id":132250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:23:02] local.INFO: TCP Data received {"connection_id":132070,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:23:02] local.INFO: Processing buffer {"connection_id":132070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:23:02] local.INFO: IMEI packet received {"connection_id":132070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":132070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:23:07] local.INFO: TCP Data received {"connection_id":132070,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:23:07] local.INFO: Processing buffer {"connection_id":132070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:23:07] local.INFO: IMEI packet received {"connection_id":132070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":132070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:23:08] local.INFO: TCP Data received {"connection_id":132070,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f63409260012d7f92c005afd8300000005030..."} 
[2026-07-15 06:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63409260012d7f92c005afd8300000005030..."} 
[2026-07-15 06:23:08] local.INFO: Processing buffer {"connection_id":132070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63409260012d7f92c005afd8300000005030..."} 
[2026-07-15 06:23:08] local.INFO: Packet analysis {"connection_id":132070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6340"} 
[2026-07-15 06:23:08] local.INFO: Extracted packet for processing {"connection_id":132070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6340"} 
[2026-07-15 06:23:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":48,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06: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-07-15 06:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723533568001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784076604000,"timestamp_ms":1784076604000,"timestamp_seconds":1784076604,"priority":1,"record_length":96,"hex_timestamp":"0000019f63409260"} 
[2026-07-15 06:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-15 06:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06: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-07-15 06:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723533568001,"66":25321,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723533568001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:23:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:23:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723533568001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":132070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:23:08] local.INFO: GPS data processed {"connection_id":132070,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:23:08] local.INFO: Acknowledgment sent {"connection_id":132070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:23:42] local.INFO: TCP Data received {"connection_id":132070,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f63409260012d7f92c005afd8300000005030..."} 
[2026-07-15 06:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63409260012d7f92c005afd8300000005030..."} 
[2026-07-15 06:23:42] local.INFO: Processing buffer {"connection_id":132070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63409260012d7f92c005afd8300000005030..."} 
[2026-07-15 06:23:42] local.INFO: Packet analysis {"connection_id":132070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6340"} 
[2026-07-15 06:23:42] local.INFO: Extracted packet for processing {"connection_id":132070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6340"} 
[2026-07-15 06:23:42] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":48,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723533568001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784076604000,"timestamp_ms":1784076604000,"timestamp_seconds":1784076604,"priority":1,"record_length":96,"hex_timestamp":"0000019f63409260"} 
[2026-07-15 06:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-15 06:23:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723533568001,"66":25321,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723533568001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:23:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:23:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723533568001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":132070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:23:42] local.INFO: GPS data processed {"connection_id":132070,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:23:42] local.INFO: Acknowledgment sent {"connection_id":132070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:24:02] local.INFO: TCP Data received {"connection_id":133088,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:24:02] local.INFO: Processing buffer {"connection_id":133088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:24:02] local.INFO: IMEI packet received {"connection_id":133088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":133088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:24:07] local.INFO: TCP Data received {"connection_id":133088,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:24:07] local.INFO: Processing buffer {"connection_id":133088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:24:07] local.INFO: IMEI packet received {"connection_id":133088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":133088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:24:08] local.INFO: TCP Data received {"connection_id":133088,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f63409260012d7f92c005afd8300000005030..."} 
[2026-07-15 06:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63409260012d7f92c005afd8300000005030..."} 
[2026-07-15 06:24:08] local.INFO: Processing buffer {"connection_id":133088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63409260012d7f92c005afd8300000005030..."} 
[2026-07-15 06:24:08] local.INFO: Packet analysis {"connection_id":133088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6340"} 
[2026-07-15 06:24:08] local.INFO: Extracted packet for processing {"connection_id":133088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6340"} 
[2026-07-15 06:24:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":48,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723533568001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784076604000,"timestamp_ms":1784076604000,"timestamp_seconds":1784076604,"priority":1,"record_length":96,"hex_timestamp":"0000019f63409260"} 
[2026-07-15 06:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-15 06:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":133088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":133088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":133088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723533568001,"66":25321,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723533568001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:24:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:24:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723533568001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":133088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:24:08] local.INFO: GPS data processed {"connection_id":133088,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:24:08] local.INFO: Acknowledgment sent {"connection_id":133088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:24:41] local.INFO: TCP Data received {"connection_id":133088,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f63409260012d7f92c005afd8300000005030..."} 
[2026-07-15 06:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63409260012d7f92c005afd8300000005030..."} 
[2026-07-15 06:24:41] local.INFO: Processing buffer {"connection_id":133088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63409260012d7f92c005afd8300000005030..."} 
[2026-07-15 06:24:41] local.INFO: Packet analysis {"connection_id":133088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6340"} 
[2026-07-15 06:24:41] local.INFO: Extracted packet for processing {"connection_id":133088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6340"} 
[2026-07-15 06:24:41] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":48,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723533568001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:24:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784076604000,"timestamp_ms":1784076604000,"timestamp_seconds":1784076604,"priority":1,"record_length":96,"hex_timestamp":"0000019f63409260"} 
[2026-07-15 06:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-15 06:24:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:24:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":133088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":133088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":133088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:24:41] 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-07-15 06:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723533568001,"66":25321,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723533568001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:24:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:24:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:24:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723533568001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":133088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:24:41] local.INFO: GPS data processed {"connection_id":133088,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:24:41] local.INFO: Acknowledgment sent {"connection_id":133088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:25:07] local.INFO: TCP Data received {"connection_id":134452,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:25:07] local.INFO: Processing buffer {"connection_id":134452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:25:07] local.INFO: IMEI packet received {"connection_id":134452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":134452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:25:12] local.INFO: TCP Data received {"connection_id":134452,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:25:12] local.INFO: Processing buffer {"connection_id":134452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:25:12] local.INFO: IMEI packet received {"connection_id":134452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":134452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:25:13] local.INFO: TCP Data received {"connection_id":134452,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f63409260012d7f92c005afd8300000005030..."} 
[2026-07-15 06:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63409260012d7f92c005afd8300000005030..."} 
[2026-07-15 06:25:13] local.INFO: Processing buffer {"connection_id":134452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63409260012d7f92c005afd8300000005030..."} 
[2026-07-15 06:25:13] local.INFO: Packet analysis {"connection_id":134452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6340"} 
[2026-07-15 06:25:13] local.INFO: Extracted packet for processing {"connection_id":134452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6340"} 
[2026-07-15 06:25:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":48,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723533568001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784076604000,"timestamp_ms":1784076604000,"timestamp_seconds":1784076604,"priority":1,"record_length":96,"hex_timestamp":"0000019f63409260"} 
[2026-07-15 06:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:25:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-15 06:25:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:25:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":134452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":134452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":134452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723533568001,"66":25321,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723533568001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:25:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:25:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723533568001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":134452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:25:13] local.INFO: GPS data processed {"connection_id":134452,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:25:13] local.INFO: Acknowledgment sent {"connection_id":134452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:25:17] local.INFO: TCP Data received {"connection_id":134452,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f63409260012d7f92c005afd8300000005030..."} 
[2026-07-15 06:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63409260012d7f92c005afd8300000005030..."} 
[2026-07-15 06:25:17] local.INFO: Processing buffer {"connection_id":134452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63409260012d7f92c005afd8300000005030..."} 
[2026-07-15 06:25:17] local.INFO: Packet analysis {"connection_id":134452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6340"} 
[2026-07-15 06:25:17] local.INFO: Extracted packet for processing {"connection_id":134452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6340"} 
[2026-07-15 06:25:17] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":48,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723533568001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:25:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:25:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784076604000,"timestamp_ms":1784076604000,"timestamp_seconds":1784076604,"priority":1,"record_length":96,"hex_timestamp":"0000019f63409260"} 
[2026-07-15 06:25:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:25:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-15 06:25:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:25:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:25:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":134452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":134452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":134452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:25:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723533568001,"66":25321,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723533568001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:25:17] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:25:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:25:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723533568001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":134452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:25:17] local.INFO: GPS data processed {"connection_id":134452,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:25:17] local.INFO: Acknowledgment sent {"connection_id":134452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:25:35] local.INFO: TCP Data received {"connection_id":133090,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 06:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133090,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 06:25:35] local.INFO: Processing buffer {"connection_id":133090,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 06:25:35] local.INFO: IMEI packet received {"connection_id":133090,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 06:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":133090,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:26:02] local.INFO: TCP Data received {"connection_id":134453,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:26:02] local.INFO: Processing buffer {"connection_id":134453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:26:02] local.INFO: IMEI packet received {"connection_id":134453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":134453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:26:07] local.INFO: TCP Data received {"connection_id":134453,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:26:07] local.INFO: Processing buffer {"connection_id":134453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:26:07] local.INFO: IMEI packet received {"connection_id":134453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":134453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:26:08] local.INFO: TCP Data received {"connection_id":134453,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f63452a28012d7f92c005afd830000000502f..."} 
[2026-07-15 06:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63452a28012d7f92c005afd830000000502f..."} 
[2026-07-15 06:26:08] local.INFO: Processing buffer {"connection_id":134453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63452a28012d7f92c005afd830000000502f..."} 
[2026-07-15 06:26:08] local.INFO: Packet analysis {"connection_id":134453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6345"} 
[2026-07-15 06:26:08] local.INFO: Extracted packet for processing {"connection_id":134453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6345"} 
[2026-07-15 06:26:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723610624001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784076905000,"timestamp_ms":1784076905000,"timestamp_seconds":1784076905,"priority":1,"record_length":96,"hex_timestamp":"0000019f63452a28"} 
[2026-07-15 06:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-15 06:26:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:26:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723610624001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723610624001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:26:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:26:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723610624001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":134453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:26:08] local.INFO: GPS data processed {"connection_id":134453,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:26:08] local.INFO: Acknowledgment sent {"connection_id":134453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:26:40] local.INFO: TCP Data received {"connection_id":134453,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f63452a28012d7f92c005afd830000000502f..."} 
[2026-07-15 06:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63452a28012d7f92c005afd830000000502f..."} 
[2026-07-15 06:26:40] local.INFO: Processing buffer {"connection_id":134453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63452a28012d7f92c005afd830000000502f..."} 
[2026-07-15 06:26:40] local.INFO: Packet analysis {"connection_id":134453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6345"} 
[2026-07-15 06:26:40] local.INFO: Extracted packet for processing {"connection_id":134453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6345"} 
[2026-07-15 06:26:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723610624001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784076905000,"timestamp_ms":1784076905000,"timestamp_seconds":1784076905,"priority":1,"record_length":96,"hex_timestamp":"0000019f63452a28"} 
[2026-07-15 06:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-15 06:26:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:26:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":134453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":134453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":134453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:26:40] 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-07-15 06:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723610624001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723610624001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:26:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:26:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723610624001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":134453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:26:40] local.INFO: GPS data processed {"connection_id":134453,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:26:40] local.INFO: Acknowledgment sent {"connection_id":134453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:27:02] local.INFO: TCP Data received {"connection_id":133091,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:27:02] local.INFO: Processing buffer {"connection_id":133091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:27:02] local.INFO: IMEI packet received {"connection_id":133091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":133091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:27:07] local.INFO: TCP Data received {"connection_id":133091,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:27:07] local.INFO: Processing buffer {"connection_id":133091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:27:07] local.INFO: IMEI packet received {"connection_id":133091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":133091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:27:08] local.INFO: TCP Data received {"connection_id":133091,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f63452a28012d7f92c005afd830000000502f..."} 
[2026-07-15 06:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63452a28012d7f92c005afd830000000502f..."} 
[2026-07-15 06:27:08] local.INFO: Processing buffer {"connection_id":133091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63452a28012d7f92c005afd830000000502f..."} 
[2026-07-15 06:27:08] local.INFO: Packet analysis {"connection_id":133091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6345"} 
[2026-07-15 06:27:08] local.INFO: Extracted packet for processing {"connection_id":133091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6345"} 
[2026-07-15 06:27:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723610624001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784076905000,"timestamp_ms":1784076905000,"timestamp_seconds":1784076905,"priority":1,"record_length":96,"hex_timestamp":"0000019f63452a28"} 
[2026-07-15 06:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-15 06:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":133091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":133091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":133091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723610624001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723610624001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:27:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:27:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723610624001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":133091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:27:08] local.INFO: GPS data processed {"connection_id":133091,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:27:08] local.INFO: Acknowledgment sent {"connection_id":133091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:27:41] local.INFO: TCP Data received {"connection_id":133091,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f63452a28012d7f92c005afd830000000502f..."} 
[2026-07-15 06:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63452a28012d7f92c005afd830000000502f..."} 
[2026-07-15 06:27:41] local.INFO: Processing buffer {"connection_id":133091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63452a28012d7f92c005afd830000000502f..."} 
[2026-07-15 06:27:41] local.INFO: Packet analysis {"connection_id":133091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6345"} 
[2026-07-15 06:27:41] local.INFO: Extracted packet for processing {"connection_id":133091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6345"} 
[2026-07-15 06:27:41] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723610624001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784076905000,"timestamp_ms":1784076905000,"timestamp_seconds":1784076905,"priority":1,"record_length":96,"hex_timestamp":"0000019f63452a28"} 
[2026-07-15 06:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-15 06:27:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:27:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":133091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":133091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":133091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:27:41] 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-07-15 06:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723610624001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723610624001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:27:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:27:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723610624001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":133091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:27:41] local.INFO: GPS data processed {"connection_id":133091,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:27:41] local.INFO: Acknowledgment sent {"connection_id":133091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:28:07] local.INFO: TCP Data received {"connection_id":132071,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:28:07] local.INFO: Processing buffer {"connection_id":132071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:28:07] local.INFO: IMEI packet received {"connection_id":132071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":132071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:28:12] local.INFO: TCP Data received {"connection_id":132071,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:28:12] local.INFO: Processing buffer {"connection_id":132071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:28:12] local.INFO: IMEI packet received {"connection_id":132071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":132071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:28:13] local.INFO: TCP Data received {"connection_id":132071,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f63452a28012d7f92c005afd830000000502f..."} 
[2026-07-15 06:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63452a28012d7f92c005afd830000000502f..."} 
[2026-07-15 06:28:13] local.INFO: Processing buffer {"connection_id":132071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63452a28012d7f92c005afd830000000502f..."} 
[2026-07-15 06:28:13] local.INFO: Packet analysis {"connection_id":132071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6345"} 
[2026-07-15 06:28:13] local.INFO: Extracted packet for processing {"connection_id":132071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6345"} 
[2026-07-15 06:28:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723610624001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784076905000,"timestamp_ms":1784076905000,"timestamp_seconds":1784076905,"priority":1,"record_length":96,"hex_timestamp":"0000019f63452a28"} 
[2026-07-15 06:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:28:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-15 06:28:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:28:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723610624001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723610624001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:28:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:28:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723610624001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":132071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:28:13] local.INFO: GPS data processed {"connection_id":132071,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:28:13] local.INFO: Acknowledgment sent {"connection_id":132071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:28:17] local.INFO: TCP Data received {"connection_id":132071,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f63452a28012d7f92c005afd830000000502f..."} 
[2026-07-15 06:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63452a28012d7f92c005afd830000000502f..."} 
[2026-07-15 06:28:17] local.INFO: Processing buffer {"connection_id":132071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63452a28012d7f92c005afd830000000502f..."} 
[2026-07-15 06:28:17] local.INFO: Packet analysis {"connection_id":132071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6345"} 
[2026-07-15 06:28:17] local.INFO: Extracted packet for processing {"connection_id":132071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6345"} 
[2026-07-15 06:28:17] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723610624001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:28:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784076905000,"timestamp_ms":1784076905000,"timestamp_seconds":1784076905,"priority":1,"record_length":96,"hex_timestamp":"0000019f63452a28"} 
[2026-07-15 06:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:28:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-15 06:28:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:28:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723610624001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723610624001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:28:17] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:28:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723610624001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":132071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:28:17] local.INFO: GPS data processed {"connection_id":132071,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:28:17] local.INFO: Acknowledgment sent {"connection_id":132071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:29:02] local.INFO: TCP Data received {"connection_id":133093,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:29:02] local.INFO: Processing buffer {"connection_id":133093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:29:02] local.INFO: IMEI packet received {"connection_id":133093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":133093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:29:07] local.INFO: TCP Data received {"connection_id":133093,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:29:07] local.INFO: Processing buffer {"connection_id":133093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:29:07] local.INFO: IMEI packet received {"connection_id":133093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":133093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:29:08] local.INFO: TCP Data received {"connection_id":133093,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f63452a28012d7f92c005afd830000000502f..."} 
[2026-07-15 06:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63452a28012d7f92c005afd830000000502f..."} 
[2026-07-15 06:29:08] local.INFO: Processing buffer {"connection_id":133093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63452a28012d7f92c005afd830000000502f..."} 
[2026-07-15 06:29:08] local.INFO: Packet analysis {"connection_id":133093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6345"} 
[2026-07-15 06:29:08] local.INFO: Extracted packet for processing {"connection_id":133093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6345"} 
[2026-07-15 06:29:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723610624001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784076905000,"timestamp_ms":1784076905000,"timestamp_seconds":1784076905,"priority":1,"record_length":96,"hex_timestamp":"0000019f63452a28"} 
[2026-07-15 06:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-15 06:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":133093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":133093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":133093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:29:08] 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-07-15 06:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723610624001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723610624001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:29:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:29:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723610624001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":133093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:29:08] local.INFO: GPS data processed {"connection_id":133093,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:29:08] local.INFO: Acknowledgment sent {"connection_id":133093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:29:41] local.INFO: TCP Data received {"connection_id":133093,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f63452a28012d7f92c005afd830000000502f..."} 
[2026-07-15 06:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63452a28012d7f92c005afd830000000502f..."} 
[2026-07-15 06:29:41] local.INFO: Processing buffer {"connection_id":133093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63452a28012d7f92c005afd830000000502f..."} 
[2026-07-15 06:29:41] local.INFO: Packet analysis {"connection_id":133093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6345"} 
[2026-07-15 06:29:41] local.INFO: Extracted packet for processing {"connection_id":133093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6345"} 
[2026-07-15 06:29:41] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723610624001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784076905000,"timestamp_ms":1784076905000,"timestamp_seconds":1784076905,"priority":1,"record_length":96,"hex_timestamp":"0000019f63452a28"} 
[2026-07-15 06:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-15 06:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":133093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":133093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":133093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:29:41] 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-07-15 06:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723610624001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723610624001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:29:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:29:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723610624001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":133093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:29:41] local.INFO: GPS data processed {"connection_id":133093,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:29:41] local.INFO: Acknowledgment sent {"connection_id":133093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:30:02] local.INFO: TCP Data received {"connection_id":132073,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:30:02] local.INFO: Processing buffer {"connection_id":132073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:30:02] local.INFO: IMEI packet received {"connection_id":132073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":132073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:30:07] local.INFO: TCP Data received {"connection_id":132073,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:30:07] local.INFO: Processing buffer {"connection_id":132073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:30:07] local.INFO: IMEI packet received {"connection_id":132073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":132073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:30:08] local.INFO: TCP Data received {"connection_id":132073,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f63452a28012d7f92c005afd830000000502f..."} 
[2026-07-15 06:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63452a28012d7f92c005afd830000000502f..."} 
[2026-07-15 06:30:08] local.INFO: Processing buffer {"connection_id":132073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63452a28012d7f92c005afd830000000502f..."} 
[2026-07-15 06:30:08] local.INFO: Packet analysis {"connection_id":132073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6345"} 
[2026-07-15 06:30:08] local.INFO: Extracted packet for processing {"connection_id":132073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6345"} 
[2026-07-15 06:30:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06: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-07-15 06:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723610624001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784076905000,"timestamp_ms":1784076905000,"timestamp_seconds":1784076905,"priority":1,"record_length":96,"hex_timestamp":"0000019f63452a28"} 
[2026-07-15 06:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-15 06:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06: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-07-15 06:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:30:08] 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-07-15 06:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723610624001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723610624001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:30:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:30:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723610624001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":132073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:30:08] local.INFO: GPS data processed {"connection_id":132073,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:30:08] local.INFO: Acknowledgment sent {"connection_id":132073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:30:41] local.INFO: TCP Data received {"connection_id":132073,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f63452a28012d7f92c005afd830000000502f..."} 
[2026-07-15 06:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63452a28012d7f92c005afd830000000502f..."} 
[2026-07-15 06:30:41] local.INFO: Processing buffer {"connection_id":132073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63452a28012d7f92c005afd830000000502f..."} 
[2026-07-15 06:30:41] local.INFO: Packet analysis {"connection_id":132073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6345"} 
[2026-07-15 06:30:41] local.INFO: Extracted packet for processing {"connection_id":132073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6345"} 
[2026-07-15 06:30:41] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723610624001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:30:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784076905000,"timestamp_ms":1784076905000,"timestamp_seconds":1784076905,"priority":1,"record_length":96,"hex_timestamp":"0000019f63452a28"} 
[2026-07-15 06:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-15 06:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:30:41] 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-07-15 06:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723610624001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723610624001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:30:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:30:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:30:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723610624001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":132073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:30:41] local.INFO: GPS data processed {"connection_id":132073,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:30:41] local.INFO: Acknowledgment sent {"connection_id":132073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:31:02] local.INFO: TCP Data received {"connection_id":133094,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:31:02] local.INFO: Processing buffer {"connection_id":133094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:31:02] local.INFO: IMEI packet received {"connection_id":133094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":133094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:31:07] local.INFO: TCP Data received {"connection_id":133094,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:31:07] local.INFO: Processing buffer {"connection_id":133094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:31:07] local.INFO: IMEI packet received {"connection_id":133094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":133094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:31:08] local.INFO: TCP Data received {"connection_id":133094,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f6349c1f0012d7f92c005afd830000000502d..."} 
[2026-07-15 06:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6349c1f0012d7f92c005afd830000000502d..."} 
[2026-07-15 06:31:08] local.INFO: Processing buffer {"connection_id":133094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6349c1f0012d7f92c005afd830000000502d..."} 
[2026-07-15 06:31:08] local.INFO: Packet analysis {"connection_id":133094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6349"} 
[2026-07-15 06:31:08] local.INFO: Extracted packet for processing {"connection_id":133094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6349"} 
[2026-07-15 06:31:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723687680001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784077206000,"timestamp_ms":1784077206000,"timestamp_seconds":1784077206,"priority":1,"record_length":96,"hex_timestamp":"0000019f6349c1f0"} 
[2026-07-15 06:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-15 06:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":133094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":133094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":133094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:31:08] 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-07-15 06:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723687680001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723687680001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:31:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:31:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723687680001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":133094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:31:08] local.INFO: GPS data processed {"connection_id":133094,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:31:08] local.INFO: Acknowledgment sent {"connection_id":133094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:31:39] local.INFO: TCP Data received {"connection_id":133094,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f6349c1f0012d7f92c005afd830000000502d..."} 
[2026-07-15 06:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6349c1f0012d7f92c005afd830000000502d..."} 
[2026-07-15 06:31:39] local.INFO: Processing buffer {"connection_id":133094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6349c1f0012d7f92c005afd830000000502d..."} 
[2026-07-15 06:31:39] local.INFO: Packet analysis {"connection_id":133094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6349"} 
[2026-07-15 06:31:39] local.INFO: Extracted packet for processing {"connection_id":133094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6349"} 
[2026-07-15 06:31:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06: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-07-15 06:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723687680001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784077206000,"timestamp_ms":1784077206000,"timestamp_seconds":1784077206,"priority":1,"record_length":96,"hex_timestamp":"0000019f6349c1f0"} 
[2026-07-15 06:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:31:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-15 06:31:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06: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-07-15 06:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:31:39] 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-07-15 06:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723687680001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723687680001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:31:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:31:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723687680001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":133094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:31:39] local.INFO: GPS data processed {"connection_id":133094,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:31:39] local.INFO: Acknowledgment sent {"connection_id":133094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:31:40] local.INFO: TCP Data received {"connection_id":133095,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 06:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133095,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 06:31:40] local.INFO: Processing buffer {"connection_id":133095,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 06:31:40] local.INFO: IMEI packet received {"connection_id":133095,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 06:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":133095,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:32:01] local.INFO: TCP Data received {"connection_id":134455,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:32:01] local.INFO: Processing buffer {"connection_id":134455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:32:01] local.INFO: IMEI packet received {"connection_id":134455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":134455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:32:07] local.INFO: TCP Data received {"connection_id":134455,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:32:07] local.INFO: Processing buffer {"connection_id":134455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:32:07] local.INFO: IMEI packet received {"connection_id":134455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":134455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:32:08] local.INFO: TCP Data received {"connection_id":134455,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f6349c1f0012d7f92c005afd830000000502d..."} 
[2026-07-15 06:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6349c1f0012d7f92c005afd830000000502d..."} 
[2026-07-15 06:32:08] local.INFO: Processing buffer {"connection_id":134455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6349c1f0012d7f92c005afd830000000502d..."} 
[2026-07-15 06:32:08] local.INFO: Packet analysis {"connection_id":134455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6349"} 
[2026-07-15 06:32:08] local.INFO: Extracted packet for processing {"connection_id":134455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6349"} 
[2026-07-15 06:32:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723687680001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784077206000,"timestamp_ms":1784077206000,"timestamp_seconds":1784077206,"priority":1,"record_length":96,"hex_timestamp":"0000019f6349c1f0"} 
[2026-07-15 06:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-15 06:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:32:08] 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-07-15 06:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723687680001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723687680001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:32:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:32:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723687680001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":134455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:32:08] local.INFO: GPS data processed {"connection_id":134455,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:32:08] local.INFO: Acknowledgment sent {"connection_id":134455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:32:35] local.INFO: TCP Data received {"connection_id":132254,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 06:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132254,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 06:32:35] local.INFO: Processing buffer {"connection_id":132254,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 06:32:35] local.INFO: IMEI packet received {"connection_id":132254,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 06:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":132254,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:32:41] local.INFO: TCP Data received {"connection_id":134455,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f6349c1f0012d7f92c005afd830000000502d..."} 
[2026-07-15 06:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6349c1f0012d7f92c005afd830000000502d..."} 
[2026-07-15 06:32:41] local.INFO: Processing buffer {"connection_id":134455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6349c1f0012d7f92c005afd830000000502d..."} 
[2026-07-15 06:32:41] local.INFO: Packet analysis {"connection_id":134455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6349"} 
[2026-07-15 06:32:41] local.INFO: Extracted packet for processing {"connection_id":134455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6349"} 
[2026-07-15 06:32:41] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723687680001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784077206000,"timestamp_ms":1784077206000,"timestamp_seconds":1784077206,"priority":1,"record_length":96,"hex_timestamp":"0000019f6349c1f0"} 
[2026-07-15 06:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-15 06:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":134455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":134455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":134455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:32:41] 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-07-15 06:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723687680001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723687680001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:32:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:32:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723687680001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":134455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:32:41] local.INFO: GPS data processed {"connection_id":134455,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:32:41] local.INFO: Acknowledgment sent {"connection_id":134455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:33:07] local.INFO: TCP Data received {"connection_id":133096,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:33:07] local.INFO: Processing buffer {"connection_id":133096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:33:07] local.INFO: IMEI packet received {"connection_id":133096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":133096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:33:12] local.INFO: TCP Data received {"connection_id":133096,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:33:12] local.INFO: Processing buffer {"connection_id":133096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:33:12] local.INFO: IMEI packet received {"connection_id":133096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":133096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:33:13] local.INFO: TCP Data received {"connection_id":133096,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f6349c1f0012d7f92c005afd830000000502d..."} 
[2026-07-15 06:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6349c1f0012d7f92c005afd830000000502d..."} 
[2026-07-15 06:33:13] local.INFO: Processing buffer {"connection_id":133096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6349c1f0012d7f92c005afd830000000502d..."} 
[2026-07-15 06:33:13] local.INFO: Packet analysis {"connection_id":133096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6349"} 
[2026-07-15 06:33:13] local.INFO: Extracted packet for processing {"connection_id":133096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6349"} 
[2026-07-15 06:33:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:33: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-07-15 06:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723687680001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784077206000,"timestamp_ms":1784077206000,"timestamp_seconds":1784077206,"priority":1,"record_length":96,"hex_timestamp":"0000019f6349c1f0"} 
[2026-07-15 06:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-15 06:33:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:33:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":133096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":133096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":133096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:33:13] 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-07-15 06:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723687680001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723687680001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:33:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:33:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723687680001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":133096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:33:13] local.INFO: GPS data processed {"connection_id":133096,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:33:13] local.INFO: Acknowledgment sent {"connection_id":133096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:33:17] local.INFO: TCP Data received {"connection_id":133096,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f6349c1f0012d7f92c005afd830000000502d..."} 
[2026-07-15 06:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6349c1f0012d7f92c005afd830000000502d..."} 
[2026-07-15 06:33:17] local.INFO: Processing buffer {"connection_id":133096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6349c1f0012d7f92c005afd830000000502d..."} 
[2026-07-15 06:33:17] local.INFO: Packet analysis {"connection_id":133096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6349"} 
[2026-07-15 06:33:17] local.INFO: Extracted packet for processing {"connection_id":133096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6349"} 
[2026-07-15 06:33:17] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723687680001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:33:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:33:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784077206000,"timestamp_ms":1784077206000,"timestamp_seconds":1784077206,"priority":1,"record_length":96,"hex_timestamp":"0000019f6349c1f0"} 
[2026-07-15 06:33:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:33:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-15 06:33:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:33:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:33:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":133096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":133096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":133096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:33:17] 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-07-15 06:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723687680001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723687680001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:33:17] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:33:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:33:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723687680001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":133096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:33:17] local.INFO: GPS data processed {"connection_id":133096,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:33:17] local.INFO: Acknowledgment sent {"connection_id":133096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:34:02] local.INFO: TCP Data received {"connection_id":134457,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:34:02] local.INFO: Processing buffer {"connection_id":134457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:34:02] local.INFO: IMEI packet received {"connection_id":134457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":134457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:34:07] local.INFO: TCP Data received {"connection_id":134457,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:34:07] local.INFO: Processing buffer {"connection_id":134457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:34:07] local.INFO: IMEI packet received {"connection_id":134457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":134457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:34:08] local.INFO: TCP Data received {"connection_id":134457,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f6349c1f0012d7f92c005afd830000000502d..."} 
[2026-07-15 06:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6349c1f0012d7f92c005afd830000000502d..."} 
[2026-07-15 06:34:08] local.INFO: Processing buffer {"connection_id":134457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6349c1f0012d7f92c005afd830000000502d..."} 
[2026-07-15 06:34:08] local.INFO: Packet analysis {"connection_id":134457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6349"} 
[2026-07-15 06:34:08] local.INFO: Extracted packet for processing {"connection_id":134457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6349"} 
[2026-07-15 06:34:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723687680001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784077206000,"timestamp_ms":1784077206000,"timestamp_seconds":1784077206,"priority":1,"record_length":96,"hex_timestamp":"0000019f6349c1f0"} 
[2026-07-15 06:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-15 06:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:34:08] 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-07-15 06:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723687680001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723687680001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:34:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:34:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723687680001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":134457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:34:08] local.INFO: GPS data processed {"connection_id":134457,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:34:08] local.INFO: Acknowledgment sent {"connection_id":134457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:34:41] local.INFO: TCP Data received {"connection_id":134457,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f6349c1f0012d7f92c005afd830000000502d..."} 
[2026-07-15 06:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6349c1f0012d7f92c005afd830000000502d..."} 
[2026-07-15 06:34:41] local.INFO: Processing buffer {"connection_id":134457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6349c1f0012d7f92c005afd830000000502d..."} 
[2026-07-15 06:34:41] local.INFO: Packet analysis {"connection_id":134457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6349"} 
[2026-07-15 06:34:41] local.INFO: Extracted packet for processing {"connection_id":134457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6349"} 
[2026-07-15 06:34:41] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723687680001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784077206000,"timestamp_ms":1784077206000,"timestamp_seconds":1784077206,"priority":1,"record_length":96,"hex_timestamp":"0000019f6349c1f0"} 
[2026-07-15 06:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-15 06:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":134457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":134457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":134457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:34:41] 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-07-15 06:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723687680001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723687680001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:34:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:34:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723687680001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":134457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:34:41] local.INFO: GPS data processed {"connection_id":134457,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:34:41] local.INFO: Acknowledgment sent {"connection_id":134457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:35:02] local.INFO: TCP Data received {"connection_id":132074,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:35:02] local.INFO: Processing buffer {"connection_id":132074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:35:02] local.INFO: IMEI packet received {"connection_id":132074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":132074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:35:07] local.INFO: TCP Data received {"connection_id":132074,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:35:07] local.INFO: Processing buffer {"connection_id":132074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:35:07] local.INFO: IMEI packet received {"connection_id":132074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":132074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:35:08] local.INFO: TCP Data received {"connection_id":132074,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6349c1f0012d7f92c005afd830000000502d..."} 
[2026-07-15 06:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6349c1f0012d7f92c005afd830000000502d..."} 
[2026-07-15 06:35:08] local.INFO: Processing buffer {"connection_id":132074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6349c1f0012d7f92c005afd830000000502d..."} 
[2026-07-15 06:35:08] local.INFO: Packet analysis {"connection_id":132074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6349"} 
[2026-07-15 06:35:08] local.INFO: Extracted packet for processing {"connection_id":132074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6349"} 
[2026-07-15 06:35:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723687680001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784077206000,"timestamp_ms":1784077206000,"timestamp_seconds":1784077206,"priority":1,"record_length":96,"hex_timestamp":"0000019f6349c1f0"} 
[2026-07-15 06:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:35:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-15 06:35:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:35:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723687680001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723687680001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:35:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:35:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723687680001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":132074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:35:08] local.INFO: GPS data processed {"connection_id":132074,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:35:08] local.INFO: Acknowledgment sent {"connection_id":132074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:35:41] local.INFO: TCP Data received {"connection_id":132074,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6349c1f0012d7f92c005afd830000000502d..."} 
[2026-07-15 06:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6349c1f0012d7f92c005afd830000000502d..."} 
[2026-07-15 06:35:41] local.INFO: Processing buffer {"connection_id":132074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6349c1f0012d7f92c005afd830000000502d..."} 
[2026-07-15 06:35:41] local.INFO: Packet analysis {"connection_id":132074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6349"} 
[2026-07-15 06:35:41] local.INFO: Extracted packet for processing {"connection_id":132074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6349"} 
[2026-07-15 06:35:41] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723687680001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784077206000,"timestamp_ms":1784077206000,"timestamp_seconds":1784077206,"priority":1,"record_length":96,"hex_timestamp":"0000019f6349c1f0"} 
[2026-07-15 06:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-15 06:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723687680001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723687680001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:35:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:35:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723687680001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":132074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:35:41] local.INFO: GPS data processed {"connection_id":132074,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:35:41] local.INFO: Acknowledgment sent {"connection_id":132074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:36:02] local.INFO: TCP Data received {"connection_id":132256,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:36:02] local.INFO: Processing buffer {"connection_id":132256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:36:02] local.INFO: IMEI packet received {"connection_id":132256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":132256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:36:07] local.INFO: TCP Data received {"connection_id":132256,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:36:07] local.INFO: Processing buffer {"connection_id":132256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:36:07] local.INFO: IMEI packet received {"connection_id":132256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":132256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:36:08] local.INFO: TCP Data received {"connection_id":132256,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f634e59b8012d7f92c005afd830000000502c..."} 
[2026-07-15 06:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f634e59b8012d7f92c005afd830000000502c..."} 
[2026-07-15 06:36:08] local.INFO: Processing buffer {"connection_id":132256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f634e59b8012d7f92c005afd830000000502c..."} 
[2026-07-15 06:36:08] local.INFO: Packet analysis {"connection_id":132256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f634e"} 
[2026-07-15 06:36:08] local.INFO: Extracted packet for processing {"connection_id":132256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f634e"} 
[2026-07-15 06:36:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06: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-07-15 06:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723764736001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784077507000,"timestamp_ms":1784077507000,"timestamp_seconds":1784077507,"priority":1,"record_length":96,"hex_timestamp":"0000019f634e59b8"} 
[2026-07-15 06:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 06:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06: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-07-15 06:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723764736001,"66":25321,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723764736001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:36:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:36:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723764736001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":132256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:36:08] local.INFO: GPS data processed {"connection_id":132256,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:36:08] local.INFO: Acknowledgment sent {"connection_id":132256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:36:39] local.INFO: TCP Data received {"connection_id":132256,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f634e59b8012d7f92c005afd830000000502c..."} 
[2026-07-15 06:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f634e59b8012d7f92c005afd830000000502c..."} 
[2026-07-15 06:36:39] local.INFO: Processing buffer {"connection_id":132256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f634e59b8012d7f92c005afd830000000502c..."} 
[2026-07-15 06:36:39] local.INFO: Packet analysis {"connection_id":132256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f634e"} 
[2026-07-15 06:36:39] local.INFO: Extracted packet for processing {"connection_id":132256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f634e"} 
[2026-07-15 06:36:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723764736001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784077507000,"timestamp_ms":1784077507000,"timestamp_seconds":1784077507,"priority":1,"record_length":96,"hex_timestamp":"0000019f634e59b8"} 
[2026-07-15 06:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:36:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 06:36:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:36:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:36:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723764736001,"66":25321,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723764736001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:36:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:36:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723764736001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":132256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:36:39] local.INFO: GPS data processed {"connection_id":132256,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:36:39] local.INFO: Acknowledgment sent {"connection_id":132256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:37:01] local.INFO: TCP Data received {"connection_id":132257,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:37:01] local.INFO: Processing buffer {"connection_id":132257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:37:01] local.INFO: IMEI packet received {"connection_id":132257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":132257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:37:09] local.INFO: TCP Data received {"connection_id":132257,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:37:09] local.INFO: Processing buffer {"connection_id":132257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:37:09] local.INFO: IMEI packet received {"connection_id":132257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":132257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:37:10] local.INFO: TCP Data received {"connection_id":132257,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f634e59b8012d7f92c005afd830000000502c..."} 
[2026-07-15 06:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f634e59b8012d7f92c005afd830000000502c..."} 
[2026-07-15 06:37:10] local.INFO: Processing buffer {"connection_id":132257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f634e59b8012d7f92c005afd830000000502c..."} 
[2026-07-15 06:37:10] local.INFO: Packet analysis {"connection_id":132257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f634e"} 
[2026-07-15 06:37:10] local.INFO: Extracted packet for processing {"connection_id":132257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f634e"} 
[2026-07-15 06:37:10] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:37: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-07-15 06:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723764736001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784077507000,"timestamp_ms":1784077507000,"timestamp_seconds":1784077507,"priority":1,"record_length":96,"hex_timestamp":"0000019f634e59b8"} 
[2026-07-15 06:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 06:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:37: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-07-15 06:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":132257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":132257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":132257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723764736001,"66":25321,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723764736001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:37:10] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:37:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723764736001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":132257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:37:10] local.INFO: GPS data processed {"connection_id":132257,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:37:10] local.INFO: Acknowledgment sent {"connection_id":132257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:37:40] local.INFO: TCP Data received {"connection_id":132075,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 06:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132075,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 06:37:40] local.INFO: Processing buffer {"connection_id":132075,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 06:37:40] local.INFO: IMEI packet received {"connection_id":132075,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 06:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":132075,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:37:41] local.INFO: TCP Data received {"connection_id":132257,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f634e59b8012d7f92c005afd830000000502c..."} 
[2026-07-15 06:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f634e59b8012d7f92c005afd830000000502c..."} 
[2026-07-15 06:37:41] local.INFO: Processing buffer {"connection_id":132257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f634e59b8012d7f92c005afd830000000502c..."} 
[2026-07-15 06:37:41] local.INFO: Packet analysis {"connection_id":132257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f634e"} 
[2026-07-15 06:37:41] local.INFO: Extracted packet for processing {"connection_id":132257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f634e"} 
[2026-07-15 06:37:41] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723764736001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:37:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784077507000,"timestamp_ms":1784077507000,"timestamp_seconds":1784077507,"priority":1,"record_length":96,"hex_timestamp":"0000019f634e59b8"} 
[2026-07-15 06:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 06:37:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:37:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723764736001,"66":25321,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723764736001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:37:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:37:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723764736001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":132257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:37:41] local.INFO: GPS data processed {"connection_id":132257,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:37:41] local.INFO: Acknowledgment sent {"connection_id":132257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:38:06] local.INFO: TCP Data received {"connection_id":132258,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:38:06] local.INFO: Processing buffer {"connection_id":132258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:38:06] local.INFO: IMEI packet received {"connection_id":132258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":132258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:38:13] local.INFO: TCP Data received {"connection_id":132258,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:38:13] local.INFO: Processing buffer {"connection_id":132258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:38:13] local.INFO: IMEI packet received {"connection_id":132258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":132258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:38:14] local.INFO: TCP Data received {"connection_id":132258,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f634e59b8012d7f92c005afd830000000502c..."} 
[2026-07-15 06:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f634e59b8012d7f92c005afd830000000502c..."} 
[2026-07-15 06:38:14] local.INFO: Processing buffer {"connection_id":132258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f634e59b8012d7f92c005afd830000000502c..."} 
[2026-07-15 06:38:14] local.INFO: Packet analysis {"connection_id":132258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f634e"} 
[2026-07-15 06:38:14] local.INFO: Extracted packet for processing {"connection_id":132258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f634e"} 
[2026-07-15 06:38:14] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723764736001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:38:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:38:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784077507000,"timestamp_ms":1784077507000,"timestamp_seconds":1784077507,"priority":1,"record_length":96,"hex_timestamp":"0000019f634e59b8"} 
[2026-07-15 06:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:38:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 06:38:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:38:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":132258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":132258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":132258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723764736001,"66":25321,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723764736001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:38:14] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:38:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:38:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723764736001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":132258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:38:14] local.INFO: GPS data processed {"connection_id":132258,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:38:14] local.INFO: Acknowledgment sent {"connection_id":132258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:38:46] local.INFO: TCP Data received {"connection_id":132258,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f634e59b8012d7f92c005afd830000000502c..."} 
[2026-07-15 06:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f634e59b8012d7f92c005afd830000000502c..."} 
[2026-07-15 06:38:46] local.INFO: Processing buffer {"connection_id":132258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f634e59b8012d7f92c005afd830000000502c..."} 
[2026-07-15 06:38:46] local.INFO: Packet analysis {"connection_id":132258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f634e"} 
[2026-07-15 06:38:46] local.INFO: Extracted packet for processing {"connection_id":132258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f634e"} 
[2026-07-15 06:38:46] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723764736001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784077507000,"timestamp_ms":1784077507000,"timestamp_seconds":1784077507,"priority":1,"record_length":96,"hex_timestamp":"0000019f634e59b8"} 
[2026-07-15 06:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:38:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 06:38:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:38:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723764736001,"66":25321,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723764736001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:38:46] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:38:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723764736001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":132258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:38:46] local.INFO: GPS data processed {"connection_id":132258,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:38:46] local.INFO: Acknowledgment sent {"connection_id":132258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:39:02] local.INFO: TCP Data received {"connection_id":134459,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:39:02] local.INFO: Processing buffer {"connection_id":134459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:39:02] local.INFO: IMEI packet received {"connection_id":134459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":134459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:39:07] local.INFO: TCP Data received {"connection_id":134459,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:39:07] local.INFO: Processing buffer {"connection_id":134459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:39:07] local.INFO: IMEI packet received {"connection_id":134459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":134459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:39:07] local.INFO: TCP Data received {"connection_id":134459,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f634e59b8012d7f92c005afd830000000502c..."} 
[2026-07-15 06:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f634e59b8012d7f92c005afd830000000502c..."} 
[2026-07-15 06:39:07] local.INFO: Processing buffer {"connection_id":134459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f634e59b8012d7f92c005afd830000000502c..."} 
[2026-07-15 06:39:07] local.INFO: Packet analysis {"connection_id":134459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f634e"} 
[2026-07-15 06:39:07] local.INFO: Extracted packet for processing {"connection_id":134459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f634e"} 
[2026-07-15 06:39:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723764736001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784077507000,"timestamp_ms":1784077507000,"timestamp_seconds":1784077507,"priority":1,"record_length":96,"hex_timestamp":"0000019f634e59b8"} 
[2026-07-15 06:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 06:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723764736001,"66":25321,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723764736001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:39:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:39:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723764736001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":134459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:39:07] local.INFO: GPS data processed {"connection_id":134459,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:39:07] local.INFO: Acknowledgment sent {"connection_id":134459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:39:40] local.INFO: TCP Data received {"connection_id":134459,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f634e59b8012d7f92c005afd830000000502c..."} 
[2026-07-15 06:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f634e59b8012d7f92c005afd830000000502c..."} 
[2026-07-15 06:39:40] local.INFO: Processing buffer {"connection_id":134459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f634e59b8012d7f92c005afd830000000502c..."} 
[2026-07-15 06:39:40] local.INFO: Packet analysis {"connection_id":134459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f634e"} 
[2026-07-15 06:39:40] local.INFO: Extracted packet for processing {"connection_id":134459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f634e"} 
[2026-07-15 06:39:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723764736001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784077507000,"timestamp_ms":1784077507000,"timestamp_seconds":1784077507,"priority":1,"record_length":96,"hex_timestamp":"0000019f634e59b8"} 
[2026-07-15 06:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 06:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:39:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":134459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":134459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":134459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723764736001,"66":25321,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723764736001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:39:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:39:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723764736001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":134459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:39:40] local.INFO: GPS data processed {"connection_id":134459,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:39:40] local.INFO: Acknowledgment sent {"connection_id":134459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:40:02] local.INFO: TCP Data received {"connection_id":134460,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:40:02] local.INFO: Processing buffer {"connection_id":134460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:40:02] local.INFO: IMEI packet received {"connection_id":134460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":134460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:40:08] local.INFO: TCP Data received {"connection_id":134460,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:40:08] local.INFO: Processing buffer {"connection_id":134460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:40:08] local.INFO: IMEI packet received {"connection_id":134460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":134460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:40:09] local.INFO: TCP Data received {"connection_id":134460,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f634e59b8012d7f92c005afd830000000502c..."} 
[2026-07-15 06:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f634e59b8012d7f92c005afd830000000502c..."} 
[2026-07-15 06:40:09] local.INFO: Processing buffer {"connection_id":134460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f634e59b8012d7f92c005afd830000000502c..."} 
[2026-07-15 06:40:09] local.INFO: Packet analysis {"connection_id":134460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f634e"} 
[2026-07-15 06:40:09] local.INFO: Extracted packet for processing {"connection_id":134460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f634e"} 
[2026-07-15 06:40:09] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06: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-07-15 06:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723764736001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784077507000,"timestamp_ms":1784077507000,"timestamp_seconds":1784077507,"priority":1,"record_length":96,"hex_timestamp":"0000019f634e59b8"} 
[2026-07-15 06:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 06:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06: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-07-15 06:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":134460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":134460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":134460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723764736001,"66":25321,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723764736001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:40:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:40:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723764736001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":134460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:40:09] local.INFO: GPS data processed {"connection_id":134460,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:40:09] local.INFO: Acknowledgment sent {"connection_id":134460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:40:40] local.INFO: TCP Data received {"connection_id":134460,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f634e59b8012d7f92c005afd830000000502c..."} 
[2026-07-15 06:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f634e59b8012d7f92c005afd830000000502c..."} 
[2026-07-15 06:40:40] local.INFO: Processing buffer {"connection_id":134460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f634e59b8012d7f92c005afd830000000502c..."} 
[2026-07-15 06:40:40] local.INFO: Packet analysis {"connection_id":134460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f634e"} 
[2026-07-15 06:40:40] local.INFO: Extracted packet for processing {"connection_id":134460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f634e"} 
[2026-07-15 06:40:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723764736001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784077507000,"timestamp_ms":1784077507000,"timestamp_seconds":1784077507,"priority":1,"record_length":96,"hex_timestamp":"0000019f634e59b8"} 
[2026-07-15 06:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 06:40:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:40:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":134460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":134460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":134460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723764736001,"66":25321,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723764736001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:40:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:40:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723764736001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":134460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:40:40] local.INFO: GPS data processed {"connection_id":134460,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:40:40] local.INFO: Acknowledgment sent {"connection_id":134460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:41:02] local.INFO: TCP Data received {"connection_id":132260,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:41:02] local.INFO: Processing buffer {"connection_id":132260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:41:02] local.INFO: IMEI packet received {"connection_id":132260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":132260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:41:07] local.INFO: TCP Data received {"connection_id":132260,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:41:07] local.INFO: Processing buffer {"connection_id":132260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:41:07] local.INFO: IMEI packet received {"connection_id":132260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":132260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:41:07] local.INFO: TCP Data received {"connection_id":132260,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6352f180012d7f92c005afd830000000502d..."} 
[2026-07-15 06:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6352f180012d7f92c005afd830000000502d..."} 
[2026-07-15 06:41:07] local.INFO: Processing buffer {"connection_id":132260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6352f180012d7f92c005afd830000000502d..."} 
[2026-07-15 06:41:07] local.INFO: Packet analysis {"connection_id":132260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6352"} 
[2026-07-15 06:41:07] local.INFO: Extracted packet for processing {"connection_id":132260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6352"} 
[2026-07-15 06:41:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06: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-07-15 06:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723841792001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784077808000,"timestamp_ms":1784077808000,"timestamp_seconds":1784077808,"priority":1,"record_length":96,"hex_timestamp":"0000019f6352f180"} 
[2026-07-15 06:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-15 06:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06: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-07-15 06:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723841792001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723841792001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:41:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:41:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723841792001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":132260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:41:07] local.INFO: GPS data processed {"connection_id":132260,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:41:07] local.INFO: Acknowledgment sent {"connection_id":132260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:41:38] local.INFO: TCP Data received {"connection_id":132260,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6352f180012d7f92c005afd830000000502d..."} 
[2026-07-15 06:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6352f180012d7f92c005afd830000000502d..."} 
[2026-07-15 06:41:38] local.INFO: Processing buffer {"connection_id":132260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6352f180012d7f92c005afd830000000502d..."} 
[2026-07-15 06:41:38] local.INFO: Packet analysis {"connection_id":132260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6352"} 
[2026-07-15 06:41:38] local.INFO: Extracted packet for processing {"connection_id":132260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6352"} 
[2026-07-15 06:41:38] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723841792001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784077808000,"timestamp_ms":1784077808000,"timestamp_seconds":1784077808,"priority":1,"record_length":96,"hex_timestamp":"0000019f6352f180"} 
[2026-07-15 06:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-15 06:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723841792001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723841792001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:41:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:41:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723841792001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":132260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:41:38] local.INFO: GPS data processed {"connection_id":132260,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:41:38] local.INFO: Acknowledgment sent {"connection_id":132260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:42:02] local.INFO: TCP Data received {"connection_id":134462,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:42:02] local.INFO: Processing buffer {"connection_id":134462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:42:02] local.INFO: IMEI packet received {"connection_id":134462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":134462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:42:07] local.INFO: TCP Data received {"connection_id":134462,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:42:07] local.INFO: Processing buffer {"connection_id":134462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:42:07] local.INFO: IMEI packet received {"connection_id":134462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":134462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:42:08] local.INFO: TCP Data received {"connection_id":134462,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6352f180012d7f92c005afd830000000502d..."} 
[2026-07-15 06:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6352f180012d7f92c005afd830000000502d..."} 
[2026-07-15 06:42:08] local.INFO: Processing buffer {"connection_id":134462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6352f180012d7f92c005afd830000000502d..."} 
[2026-07-15 06:42:08] local.INFO: Packet analysis {"connection_id":134462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6352"} 
[2026-07-15 06:42:08] local.INFO: Extracted packet for processing {"connection_id":134462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6352"} 
[2026-07-15 06:42:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06: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-07-15 06:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723841792001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784077808000,"timestamp_ms":1784077808000,"timestamp_seconds":1784077808,"priority":1,"record_length":96,"hex_timestamp":"0000019f6352f180"} 
[2026-07-15 06:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-15 06:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723841792001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723841792001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:42:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:42:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723841792001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":134462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:42:08] local.INFO: GPS data processed {"connection_id":134462,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:42:08] local.INFO: Acknowledgment sent {"connection_id":134462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:42:39] local.INFO: TCP Data received {"connection_id":134462,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6352f180012d7f92c005afd830000000502d..."} 
[2026-07-15 06:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6352f180012d7f92c005afd830000000502d..."} 
[2026-07-15 06:42:39] local.INFO: Processing buffer {"connection_id":134462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6352f180012d7f92c005afd830000000502d..."} 
[2026-07-15 06:42:39] local.INFO: Packet analysis {"connection_id":134462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6352"} 
[2026-07-15 06:42:39] local.INFO: Extracted packet for processing {"connection_id":134462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6352"} 
[2026-07-15 06:42:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723841792001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:42:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784077808000,"timestamp_ms":1784077808000,"timestamp_seconds":1784077808,"priority":1,"record_length":96,"hex_timestamp":"0000019f6352f180"} 
[2026-07-15 06:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:42:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-15 06:42:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:42:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:42:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723841792001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723841792001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:42:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:42:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723841792001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":134462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:42:39] local.INFO: GPS data processed {"connection_id":134462,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:42:39] local.INFO: Acknowledgment sent {"connection_id":134462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:43:07] local.INFO: TCP Data received {"connection_id":132077,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:43:07] local.INFO: Processing buffer {"connection_id":132077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:43:07] local.INFO: IMEI packet received {"connection_id":132077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":132077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:43:14] local.INFO: TCP Data received {"connection_id":132077,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:43:14] local.INFO: Processing buffer {"connection_id":132077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:43:14] local.INFO: IMEI packet received {"connection_id":132077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":132077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:43:15] local.INFO: TCP Data received {"connection_id":132077,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6352f180012d7f92c005afd830000000502d..."} 
[2026-07-15 06:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6352f180012d7f92c005afd830000000502d..."} 
[2026-07-15 06:43:15] local.INFO: Processing buffer {"connection_id":132077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6352f180012d7f92c005afd830000000502d..."} 
[2026-07-15 06:43:15] local.INFO: Packet analysis {"connection_id":132077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6352"} 
[2026-07-15 06:43:15] local.INFO: Extracted packet for processing {"connection_id":132077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6352"} 
[2026-07-15 06:43:15] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723841792001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784077808000,"timestamp_ms":1784077808000,"timestamp_seconds":1784077808,"priority":1,"record_length":96,"hex_timestamp":"0000019f6352f180"} 
[2026-07-15 06:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-15 06:43:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:43:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":132077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":132077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":132077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723841792001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723841792001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:43:15] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:43:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723841792001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":132077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:43:15] local.INFO: GPS data processed {"connection_id":132077,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:43:15] local.INFO: Acknowledgment sent {"connection_id":132077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:43:15] local.INFO: TCP Data received {"connection_id":132076,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 06:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132076,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 06:43:15] local.INFO: Processing buffer {"connection_id":132076,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 06:43:15] local.INFO: IMEI packet received {"connection_id":132076,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 06:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":132076,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:43:17] local.INFO: TCP Data received {"connection_id":132077,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6352f180012d7f92c005afd830000000502d..."} 
[2026-07-15 06:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6352f180012d7f92c005afd830000000502d..."} 
[2026-07-15 06:43:17] local.INFO: Processing buffer {"connection_id":132077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6352f180012d7f92c005afd830000000502d..."} 
[2026-07-15 06:43:17] local.INFO: Packet analysis {"connection_id":132077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6352"} 
[2026-07-15 06:43:17] local.INFO: Extracted packet for processing {"connection_id":132077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6352"} 
[2026-07-15 06:43:17] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723841792001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784077808000,"timestamp_ms":1784077808000,"timestamp_seconds":1784077808,"priority":1,"record_length":96,"hex_timestamp":"0000019f6352f180"} 
[2026-07-15 06:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:43:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-15 06:43:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:43:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723841792001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723841792001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:43:17] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:43:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723841792001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":132077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:43:17] local.INFO: GPS data processed {"connection_id":132077,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:43:17] local.INFO: Acknowledgment sent {"connection_id":132077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:43:35] local.INFO: TCP Data received {"connection_id":132261,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 06:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132261,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 06:43:35] local.INFO: Processing buffer {"connection_id":132261,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 06:43:35] local.INFO: IMEI packet received {"connection_id":132261,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 06:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":132261,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:44:03] local.INFO: TCP Data received {"connection_id":134463,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:44:03] local.INFO: Processing buffer {"connection_id":134463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:44:03] local.INFO: IMEI packet received {"connection_id":134463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":134463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:44:07] local.INFO: TCP Data received {"connection_id":134463,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:44:07] local.INFO: Processing buffer {"connection_id":134463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:44:07] local.INFO: IMEI packet received {"connection_id":134463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":134463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:44:08] local.INFO: TCP Data received {"connection_id":134463,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6352f180012d7f92c005afd830000000502d..."} 
[2026-07-15 06:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6352f180012d7f92c005afd830000000502d..."} 
[2026-07-15 06:44:08] local.INFO: Processing buffer {"connection_id":134463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6352f180012d7f92c005afd830000000502d..."} 
[2026-07-15 06:44:08] local.INFO: Packet analysis {"connection_id":134463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6352"} 
[2026-07-15 06:44:08] local.INFO: Extracted packet for processing {"connection_id":134463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6352"} 
[2026-07-15 06:44:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723841792001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784077808000,"timestamp_ms":1784077808000,"timestamp_seconds":1784077808,"priority":1,"record_length":96,"hex_timestamp":"0000019f6352f180"} 
[2026-07-15 06:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-15 06:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723841792001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723841792001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:44:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:44:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723841792001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":134463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:44:08] local.INFO: GPS data processed {"connection_id":134463,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:44:08] local.INFO: Acknowledgment sent {"connection_id":134463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:44:39] local.INFO: TCP Data received {"connection_id":134463,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6352f180012d7f92c005afd830000000502d..."} 
[2026-07-15 06:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6352f180012d7f92c005afd830000000502d..."} 
[2026-07-15 06:44:39] local.INFO: Processing buffer {"connection_id":134463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6352f180012d7f92c005afd830000000502d..."} 
[2026-07-15 06:44:39] local.INFO: Packet analysis {"connection_id":134463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6352"} 
[2026-07-15 06:44:39] local.INFO: Extracted packet for processing {"connection_id":134463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6352"} 
[2026-07-15 06:44:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06: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-07-15 06:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723841792001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:44:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784077808000,"timestamp_ms":1784077808000,"timestamp_seconds":1784077808,"priority":1,"record_length":96,"hex_timestamp":"0000019f6352f180"} 
[2026-07-15 06:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:44:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-15 06:44:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06: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-07-15 06:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:44:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723841792001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723841792001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:44:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:44:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723841792001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":134463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:44:39] local.INFO: GPS data processed {"connection_id":134463,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:44:39] local.INFO: Acknowledgment sent {"connection_id":134463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:45:02] local.INFO: TCP Data received {"connection_id":132078,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:45:02] local.INFO: Processing buffer {"connection_id":132078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:45:02] local.INFO: IMEI packet received {"connection_id":132078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":132078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:45:07] local.INFO: TCP Data received {"connection_id":132078,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:45:07] local.INFO: Processing buffer {"connection_id":132078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:45:07] local.INFO: IMEI packet received {"connection_id":132078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":132078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:45:07] local.INFO: TCP Data received {"connection_id":132078,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6352f180012d7f92c005afd830000000502d..."} 
[2026-07-15 06:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6352f180012d7f92c005afd830000000502d..."} 
[2026-07-15 06:45:07] local.INFO: Processing buffer {"connection_id":132078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6352f180012d7f92c005afd830000000502d..."} 
[2026-07-15 06:45:07] local.INFO: Packet analysis {"connection_id":132078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6352"} 
[2026-07-15 06:45:07] local.INFO: Extracted packet for processing {"connection_id":132078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6352"} 
[2026-07-15 06:45:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723841792001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784077808000,"timestamp_ms":1784077808000,"timestamp_seconds":1784077808,"priority":1,"record_length":96,"hex_timestamp":"0000019f6352f180"} 
[2026-07-15 06:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-15 06:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723841792001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723841792001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:45:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:45:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723841792001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":132078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:45:07] local.INFO: GPS data processed {"connection_id":132078,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:45:07] local.INFO: Acknowledgment sent {"connection_id":132078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:45:38] local.INFO: TCP Data received {"connection_id":132078,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6352f180012d7f92c005afd830000000502d..."} 
[2026-07-15 06:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6352f180012d7f92c005afd830000000502d..."} 
[2026-07-15 06:45:38] local.INFO: Processing buffer {"connection_id":132078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6352f180012d7f92c005afd830000000502d..."} 
[2026-07-15 06:45:38] local.INFO: Packet analysis {"connection_id":132078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6352"} 
[2026-07-15 06:45:38] local.INFO: Extracted packet for processing {"connection_id":132078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6352"} 
[2026-07-15 06:45:38] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06: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-07-15 06:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723841792001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784077808000,"timestamp_ms":1784077808000,"timestamp_seconds":1784077808,"priority":1,"record_length":96,"hex_timestamp":"0000019f6352f180"} 
[2026-07-15 06:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-15 06:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06: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-07-15 06:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723841792001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723841792001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:45:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:45:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723841792001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":132078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:45:38] local.INFO: GPS data processed {"connection_id":132078,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:45:38] local.INFO: Acknowledgment sent {"connection_id":132078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:46:01] local.INFO: TCP Data received {"connection_id":133101,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:46:01] local.INFO: Processing buffer {"connection_id":133101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:46:01] local.INFO: IMEI packet received {"connection_id":133101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":133101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:46:07] local.INFO: TCP Data received {"connection_id":133101,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:46:07] local.INFO: Processing buffer {"connection_id":133101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:46:07] local.INFO: IMEI packet received {"connection_id":133101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":133101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:46:07] local.INFO: TCP Data received {"connection_id":133101,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f63578948012d7f92c005afd830000000502e..."} 
[2026-07-15 06:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63578948012d7f92c005afd830000000502e..."} 
[2026-07-15 06:46:07] local.INFO: Processing buffer {"connection_id":133101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63578948012d7f92c005afd830000000502e..."} 
[2026-07-15 06:46:07] local.INFO: Packet analysis {"connection_id":133101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6357"} 
[2026-07-15 06:46:07] local.INFO: Extracted packet for processing {"connection_id":133101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6357"} 
[2026-07-15 06:46:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723918848001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784078109000,"timestamp_ms":1784078109000,"timestamp_seconds":1784078109,"priority":1,"record_length":96,"hex_timestamp":"0000019f63578948"} 
[2026-07-15 06:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 06:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:46:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723918848001,"66":25180,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723918848001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:46:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:46:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723918848001,"power":25180,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":133101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:46:07] local.INFO: GPS data processed {"connection_id":133101,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:46:07] local.INFO: Acknowledgment sent {"connection_id":133101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:46:41] local.INFO: TCP Data received {"connection_id":133101,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f63578948012d7f92c005afd830000000502e..."} 
[2026-07-15 06:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63578948012d7f92c005afd830000000502e..."} 
[2026-07-15 06:46:41] local.INFO: Processing buffer {"connection_id":133101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63578948012d7f92c005afd830000000502e..."} 
[2026-07-15 06:46:41] local.INFO: Packet analysis {"connection_id":133101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6357"} 
[2026-07-15 06:46:41] local.INFO: Extracted packet for processing {"connection_id":133101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6357"} 
[2026-07-15 06:46:41] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723918848001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:46:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:46:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784078109000,"timestamp_ms":1784078109000,"timestamp_seconds":1784078109,"priority":1,"record_length":96,"hex_timestamp":"0000019f63578948"} 
[2026-07-15 06:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 06:46:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:46:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":133101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":133101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":133101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723918848001,"66":25180,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723918848001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:46:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:46:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:46:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723918848001,"power":25180,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":133101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:46:41] local.INFO: GPS data processed {"connection_id":133101,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:46:41] local.INFO: Acknowledgment sent {"connection_id":133101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:47:02] local.INFO: TCP Data received {"connection_id":133103,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:47:02] local.INFO: Processing buffer {"connection_id":133103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:47:02] local.INFO: IMEI packet received {"connection_id":133103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":133103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:47:07] local.INFO: TCP Data received {"connection_id":133103,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:47:07] local.INFO: Processing buffer {"connection_id":133103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:47:07] local.INFO: IMEI packet received {"connection_id":133103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":133103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:47:07] local.INFO: TCP Data received {"connection_id":133103,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f63578948012d7f92c005afd830000000502e..."} 
[2026-07-15 06:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63578948012d7f92c005afd830000000502e..."} 
[2026-07-15 06:47:07] local.INFO: Processing buffer {"connection_id":133103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63578948012d7f92c005afd830000000502e..."} 
[2026-07-15 06:47:07] local.INFO: Packet analysis {"connection_id":133103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6357"} 
[2026-07-15 06:47:07] local.INFO: Extracted packet for processing {"connection_id":133103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6357"} 
[2026-07-15 06:47:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723918848001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784078109000,"timestamp_ms":1784078109000,"timestamp_seconds":1784078109,"priority":1,"record_length":96,"hex_timestamp":"0000019f63578948"} 
[2026-07-15 06:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 06:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723918848001,"66":25180,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723918848001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:47:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:47:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723918848001,"power":25180,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":133103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:47:07] local.INFO: GPS data processed {"connection_id":133103,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:47:07] local.INFO: Acknowledgment sent {"connection_id":133103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:47:38] local.INFO: TCP Data received {"connection_id":133103,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f63578948012d7f92c005afd830000000502e..."} 
[2026-07-15 06:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63578948012d7f92c005afd830000000502e..."} 
[2026-07-15 06:47:38] local.INFO: Processing buffer {"connection_id":133103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63578948012d7f92c005afd830000000502e..."} 
[2026-07-15 06:47:38] local.INFO: Packet analysis {"connection_id":133103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6357"} 
[2026-07-15 06:47:38] local.INFO: Extracted packet for processing {"connection_id":133103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6357"} 
[2026-07-15 06:47:38] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06: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-07-15 06:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723918848001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784078109000,"timestamp_ms":1784078109000,"timestamp_seconds":1784078109,"priority":1,"record_length":96,"hex_timestamp":"0000019f63578948"} 
[2026-07-15 06:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 06:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06: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-07-15 06:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723918848001,"66":25180,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723918848001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:47:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:47:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723918848001,"power":25180,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":133103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:47:38] local.INFO: GPS data processed {"connection_id":133103,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:47:38] local.INFO: Acknowledgment sent {"connection_id":133103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:48:07] local.INFO: TCP Data received {"connection_id":132262,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:48:07] local.INFO: Processing buffer {"connection_id":132262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:48:07] local.INFO: IMEI packet received {"connection_id":132262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":132262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:48:12] local.INFO: TCP Data received {"connection_id":132262,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:48:12] local.INFO: Processing buffer {"connection_id":132262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:48:12] local.INFO: IMEI packet received {"connection_id":132262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":132262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:48:13] local.INFO: TCP Data received {"connection_id":132262,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f63578948012d7f92c005afd830000000502e..."} 
[2026-07-15 06:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63578948012d7f92c005afd830000000502e..."} 
[2026-07-15 06:48:13] local.INFO: Processing buffer {"connection_id":132262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63578948012d7f92c005afd830000000502e..."} 
[2026-07-15 06:48:13] local.INFO: Packet analysis {"connection_id":132262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6357"} 
[2026-07-15 06:48:13] local.INFO: Extracted packet for processing {"connection_id":132262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6357"} 
[2026-07-15 06:48:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723918848001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:48:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:48:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784078109000,"timestamp_ms":1784078109000,"timestamp_seconds":1784078109,"priority":1,"record_length":96,"hex_timestamp":"0000019f63578948"} 
[2026-07-15 06:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:48:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 06:48:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:48:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:48:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723918848001,"66":25180,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723918848001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:48:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:48:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:48:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:48:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:48:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723918848001,"power":25180,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":132262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:48:13] local.INFO: GPS data processed {"connection_id":132262,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:48:13] local.INFO: Acknowledgment sent {"connection_id":132262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:48:17] local.INFO: TCP Data received {"connection_id":132262,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f63578948012d7f92c005afd830000000502e..."} 
[2026-07-15 06:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63578948012d7f92c005afd830000000502e..."} 
[2026-07-15 06:48:17] local.INFO: Processing buffer {"connection_id":132262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63578948012d7f92c005afd830000000502e..."} 
[2026-07-15 06:48:17] local.INFO: Packet analysis {"connection_id":132262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6357"} 
[2026-07-15 06:48:17] local.INFO: Extracted packet for processing {"connection_id":132262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6357"} 
[2026-07-15 06:48:17] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723918848001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:48:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784078109000,"timestamp_ms":1784078109000,"timestamp_seconds":1784078109,"priority":1,"record_length":96,"hex_timestamp":"0000019f63578948"} 
[2026-07-15 06:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:48:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 06:48:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:48:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:48:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723918848001,"66":25180,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723918848001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:48:17] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:48:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723918848001,"power":25180,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":132262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:48:17] local.INFO: GPS data processed {"connection_id":132262,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:48:17] local.INFO: Acknowledgment sent {"connection_id":132262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:49:02] local.INFO: TCP Data received {"connection_id":134467,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:49:02] local.INFO: Processing buffer {"connection_id":134467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:49:02] local.INFO: IMEI packet received {"connection_id":134467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":134467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:49:07] local.INFO: TCP Data received {"connection_id":134467,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:49:07] local.INFO: Processing buffer {"connection_id":134467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:49:07] local.INFO: IMEI packet received {"connection_id":134467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":134467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:49:07] local.INFO: TCP Data received {"connection_id":134467,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f63578948012d7f92c005afd830000000502e..."} 
[2026-07-15 06:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63578948012d7f92c005afd830000000502e..."} 
[2026-07-15 06:49:07] local.INFO: Processing buffer {"connection_id":134467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63578948012d7f92c005afd830000000502e..."} 
[2026-07-15 06:49:07] local.INFO: Packet analysis {"connection_id":134467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6357"} 
[2026-07-15 06:49:07] local.INFO: Extracted packet for processing {"connection_id":134467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6357"} 
[2026-07-15 06:49:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06: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-07-15 06:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723918848001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784078109000,"timestamp_ms":1784078109000,"timestamp_seconds":1784078109,"priority":1,"record_length":96,"hex_timestamp":"0000019f63578948"} 
[2026-07-15 06:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 06:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06: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-07-15 06:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723918848001,"66":25180,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723918848001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:49:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:49:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723918848001,"power":25180,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":134467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:49:08] local.INFO: GPS data processed {"connection_id":134467,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:49:08] local.INFO: Acknowledgment sent {"connection_id":134467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:49:37] local.INFO: TCP Data received {"connection_id":134468,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 06:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134468,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 06:49:37] local.INFO: Processing buffer {"connection_id":134468,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 06:49:37] local.INFO: IMEI packet received {"connection_id":134468,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 06:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":134468,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:49:38] local.INFO: TCP Data received {"connection_id":134467,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f63578948012d7f92c005afd830000000502e..."} 
[2026-07-15 06:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63578948012d7f92c005afd830000000502e..."} 
[2026-07-15 06:49:38] local.INFO: Processing buffer {"connection_id":134467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63578948012d7f92c005afd830000000502e..."} 
[2026-07-15 06:49:38] local.INFO: Packet analysis {"connection_id":134467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6357"} 
[2026-07-15 06:49:38] local.INFO: Extracted packet for processing {"connection_id":134467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6357"} 
[2026-07-15 06:49:38] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723918848001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784078109000,"timestamp_ms":1784078109000,"timestamp_seconds":1784078109,"priority":1,"record_length":96,"hex_timestamp":"0000019f63578948"} 
[2026-07-15 06:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 06:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723918848001,"66":25180,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723918848001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:49:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:49:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723918848001,"power":25180,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":134467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:49:38] local.INFO: GPS data processed {"connection_id":134467,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:49:38] local.INFO: Acknowledgment sent {"connection_id":134467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:50:02] local.INFO: TCP Data received {"connection_id":133104,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:50:02] local.INFO: Processing buffer {"connection_id":133104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:50:02] local.INFO: IMEI packet received {"connection_id":133104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":133104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:50:07] local.INFO: TCP Data received {"connection_id":133104,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:50:07] local.INFO: Processing buffer {"connection_id":133104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:50:07] local.INFO: IMEI packet received {"connection_id":133104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":133104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:50:07] local.INFO: TCP Data received {"connection_id":133104,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63578948012d7f92c005afd830000000502e..."} 
[2026-07-15 06:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63578948012d7f92c005afd830000000502e..."} 
[2026-07-15 06:50:07] local.INFO: Processing buffer {"connection_id":133104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63578948012d7f92c005afd830000000502e..."} 
[2026-07-15 06:50:07] local.INFO: Packet analysis {"connection_id":133104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6357"} 
[2026-07-15 06:50:07] local.INFO: Extracted packet for processing {"connection_id":133104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6357"} 
[2026-07-15 06:50:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723918848001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784078109000,"timestamp_ms":1784078109000,"timestamp_seconds":1784078109,"priority":1,"record_length":96,"hex_timestamp":"0000019f63578948"} 
[2026-07-15 06:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 06:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":133104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":133104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":133104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723918848001,"66":25180,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723918848001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:50:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:50:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723918848001,"power":25180,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":133104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:50:08] local.INFO: GPS data processed {"connection_id":133104,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:50:08] local.INFO: Acknowledgment sent {"connection_id":133104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:50:38] local.INFO: TCP Data received {"connection_id":133104,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63578948012d7f92c005afd830000000502e..."} 
[2026-07-15 06:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63578948012d7f92c005afd830000000502e..."} 
[2026-07-15 06:50:38] local.INFO: Processing buffer {"connection_id":133104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63578948012d7f92c005afd830000000502e..."} 
[2026-07-15 06:50:38] local.INFO: Packet analysis {"connection_id":133104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6357"} 
[2026-07-15 06:50:38] local.INFO: Extracted packet for processing {"connection_id":133104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6357"} 
[2026-07-15 06:50:38] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723918848001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784078109000,"timestamp_ms":1784078109000,"timestamp_seconds":1784078109,"priority":1,"record_length":96,"hex_timestamp":"0000019f63578948"} 
[2026-07-15 06:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 06:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723918848001,"66":25180,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723918848001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:50:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:50:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723918848001,"power":25180,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":133104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:50:38] local.INFO: GPS data processed {"connection_id":133104,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:50:38] local.INFO: Acknowledgment sent {"connection_id":133104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:51:02] local.INFO: TCP Data received {"connection_id":134469,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:51:02] local.INFO: Processing buffer {"connection_id":134469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:51:02] local.INFO: IMEI packet received {"connection_id":134469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":134469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:51:07] local.INFO: TCP Data received {"connection_id":134469,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:51:07] local.INFO: Processing buffer {"connection_id":134469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:51:07] local.INFO: IMEI packet received {"connection_id":134469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":134469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:51:07] local.INFO: TCP Data received {"connection_id":134469,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f635c2110012d7f92c005afd830000000502b..."} 
[2026-07-15 06:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f635c2110012d7f92c005afd830000000502b..."} 
[2026-07-15 06:51:07] local.INFO: Processing buffer {"connection_id":134469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f635c2110012d7f92c005afd830000000502b..."} 
[2026-07-15 06:51:07] local.INFO: Packet analysis {"connection_id":134469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f635c"} 
[2026-07-15 06:51:07] local.INFO: Extracted packet for processing {"connection_id":134469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f635c"} 
[2026-07-15 06:51:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723995904001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784078410000,"timestamp_ms":1784078410000,"timestamp_seconds":1784078410,"priority":1,"record_length":96,"hex_timestamp":"0000019f635c2110"} 
[2026-07-15 06:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-15 06:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723995904001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723995904001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:51:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:51:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723995904001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":134469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:51:07] local.INFO: GPS data processed {"connection_id":134469,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:51:07] local.INFO: Acknowledgment sent {"connection_id":134469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:51:39] local.INFO: TCP Data received {"connection_id":134469,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f635c2110012d7f92c005afd830000000502b..."} 
[2026-07-15 06:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f635c2110012d7f92c005afd830000000502b..."} 
[2026-07-15 06:51:39] local.INFO: Processing buffer {"connection_id":134469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f635c2110012d7f92c005afd830000000502b..."} 
[2026-07-15 06:51:39] local.INFO: Packet analysis {"connection_id":134469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f635c"} 
[2026-07-15 06:51:39] local.INFO: Extracted packet for processing {"connection_id":134469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f635c"} 
[2026-07-15 06:51:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723995904001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:51:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784078410000,"timestamp_ms":1784078410000,"timestamp_seconds":1784078410,"priority":1,"record_length":96,"hex_timestamp":"0000019f635c2110"} 
[2026-07-15 06:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:51:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-15 06:51: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-07-15 06:51:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723995904001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723995904001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:51:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:51:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723995904001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":134469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:51:39] local.INFO: GPS data processed {"connection_id":134469,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:51:39] local.INFO: Acknowledgment sent {"connection_id":134469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:52:07] local.INFO: TCP Data received {"connection_id":134470,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:52:07] local.INFO: Processing buffer {"connection_id":134470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:52:07] local.INFO: IMEI packet received {"connection_id":134470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":134470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:52:12] local.INFO: TCP Data received {"connection_id":134470,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:52:12] local.INFO: Processing buffer {"connection_id":134470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:52:12] local.INFO: IMEI packet received {"connection_id":134470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:52:12] local.INFO: IMEI acknowledgment sent {"connection_id":134470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:52:12] local.INFO: TCP Data received {"connection_id":134470,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f635c2110012d7f92c005afd830000000502b..."} 
[2026-07-15 06:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f635c2110012d7f92c005afd830000000502b..."} 
[2026-07-15 06:52:12] local.INFO: Processing buffer {"connection_id":134470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f635c2110012d7f92c005afd830000000502b..."} 
[2026-07-15 06:52:12] local.INFO: Packet analysis {"connection_id":134470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f635c"} 
[2026-07-15 06:52:12] local.INFO: Extracted packet for processing {"connection_id":134470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f635c"} 
[2026-07-15 06:52:12] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723995904001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784078410000,"timestamp_ms":1784078410000,"timestamp_seconds":1784078410,"priority":1,"record_length":96,"hex_timestamp":"0000019f635c2110"} 
[2026-07-15 06:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-15 06:52:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":134470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":134470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":134470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723995904001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723995904001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:52:12] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:52:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723995904001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":134470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:52:12] local.INFO: GPS data processed {"connection_id":134470,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:52:12] local.INFO: Acknowledgment sent {"connection_id":134470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:52:17] local.INFO: TCP Data received {"connection_id":134470,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f635c2110012d7f92c005afd830000000502b..."} 
[2026-07-15 06:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f635c2110012d7f92c005afd830000000502b..."} 
[2026-07-15 06:52:17] local.INFO: Processing buffer {"connection_id":134470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f635c2110012d7f92c005afd830000000502b..."} 
[2026-07-15 06:52:17] local.INFO: Packet analysis {"connection_id":134470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f635c"} 
[2026-07-15 06:52:17] local.INFO: Extracted packet for processing {"connection_id":134470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f635c"} 
[2026-07-15 06:52:17] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723995904001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784078410000,"timestamp_ms":1784078410000,"timestamp_seconds":1784078410,"priority":1,"record_length":96,"hex_timestamp":"0000019f635c2110"} 
[2026-07-15 06:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-15 06:52: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-07-15 06:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":134470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":134470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":134470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723995904001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723995904001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:52:17] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:52:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723995904001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":134470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:52:17] local.INFO: GPS data processed {"connection_id":134470,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:52:17] local.INFO: Acknowledgment sent {"connection_id":134470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:53:02] local.INFO: TCP Data received {"connection_id":132082,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:53:02] local.INFO: Processing buffer {"connection_id":132082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:53:02] local.INFO: IMEI packet received {"connection_id":132082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":132082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:53:07] local.INFO: TCP Data received {"connection_id":132082,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:53:07] local.INFO: Processing buffer {"connection_id":132082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:53:07] local.INFO: IMEI packet received {"connection_id":132082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":132082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:53:08] local.INFO: TCP Data received {"connection_id":132082,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f635c2110012d7f92c005afd830000000502b..."} 
[2026-07-15 06:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f635c2110012d7f92c005afd830000000502b..."} 
[2026-07-15 06:53:08] local.INFO: Processing buffer {"connection_id":132082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f635c2110012d7f92c005afd830000000502b..."} 
[2026-07-15 06:53:08] local.INFO: Packet analysis {"connection_id":132082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f635c"} 
[2026-07-15 06:53:08] local.INFO: Extracted packet for processing {"connection_id":132082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f635c"} 
[2026-07-15 06:53:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723995904001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:53:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784078410000,"timestamp_ms":1784078410000,"timestamp_seconds":1784078410,"priority":1,"record_length":96,"hex_timestamp":"0000019f635c2110"} 
[2026-07-15 06:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:53:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-15 06:53:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:53:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723995904001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723995904001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:53:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:53:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723995904001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":132082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:53:08] local.INFO: GPS data processed {"connection_id":132082,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:53:08] local.INFO: Acknowledgment sent {"connection_id":132082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:53:39] local.INFO: TCP Data received {"connection_id":132082,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f635c2110012d7f92c005afd830000000502b..."} 
[2026-07-15 06:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f635c2110012d7f92c005afd830000000502b..."} 
[2026-07-15 06:53:39] local.INFO: Processing buffer {"connection_id":132082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f635c2110012d7f92c005afd830000000502b..."} 
[2026-07-15 06:53:39] local.INFO: Packet analysis {"connection_id":132082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f635c"} 
[2026-07-15 06:53:39] local.INFO: Extracted packet for processing {"connection_id":132082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f635c"} 
[2026-07-15 06:53:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723995904001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784078410000,"timestamp_ms":1784078410000,"timestamp_seconds":1784078410,"priority":1,"record_length":96,"hex_timestamp":"0000019f635c2110"} 
[2026-07-15 06:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:53:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-15 06:53: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-07-15 06:53:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723995904001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723995904001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:53:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:53:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723995904001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":132082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:53:39] local.INFO: GPS data processed {"connection_id":132082,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:53:39] local.INFO: Acknowledgment sent {"connection_id":132082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:54:02] local.INFO: TCP Data received {"connection_id":132083,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:54:02] local.INFO: Processing buffer {"connection_id":132083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:54:02] local.INFO: IMEI packet received {"connection_id":132083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":132083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:54:07] local.INFO: TCP Data received {"connection_id":132083,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:54:07] local.INFO: Processing buffer {"connection_id":132083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:54:07] local.INFO: IMEI packet received {"connection_id":132083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":132083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:54:08] local.INFO: TCP Data received {"connection_id":132083,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f635c2110012d7f92c005afd830000000502b..."} 
[2026-07-15 06:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f635c2110012d7f92c005afd830000000502b..."} 
[2026-07-15 06:54:08] local.INFO: Processing buffer {"connection_id":132083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f635c2110012d7f92c005afd830000000502b..."} 
[2026-07-15 06:54:08] local.INFO: Packet analysis {"connection_id":132083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f635c"} 
[2026-07-15 06:54:08] local.INFO: Extracted packet for processing {"connection_id":132083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f635c"} 
[2026-07-15 06:54:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06: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-07-15 06:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723995904001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784078410000,"timestamp_ms":1784078410000,"timestamp_seconds":1784078410,"priority":1,"record_length":96,"hex_timestamp":"0000019f635c2110"} 
[2026-07-15 06:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-15 06:54:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:54:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:54:08] 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-07-15 06:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723995904001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723995904001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:54:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:54:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723995904001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":132083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:54:08] local.INFO: GPS data processed {"connection_id":132083,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:54:08] local.INFO: Acknowledgment sent {"connection_id":132083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:54:39] local.INFO: TCP Data received {"connection_id":132083,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f635c2110012d7f92c005afd830000000502b..."} 
[2026-07-15 06:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f635c2110012d7f92c005afd830000000502b..."} 
[2026-07-15 06:54:39] local.INFO: Processing buffer {"connection_id":132083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f635c2110012d7f92c005afd830000000502b..."} 
[2026-07-15 06:54:39] local.INFO: Packet analysis {"connection_id":132083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f635c"} 
[2026-07-15 06:54:39] local.INFO: Extracted packet for processing {"connection_id":132083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f635c"} 
[2026-07-15 06:54:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06: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-07-15 06:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723995904001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784078410000,"timestamp_ms":1784078410000,"timestamp_seconds":1784078410,"priority":1,"record_length":96,"hex_timestamp":"0000019f635c2110"} 
[2026-07-15 06:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:54:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-15 06:54: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-07-15 06: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-07-15 06:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:54:39] 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-07-15 06:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723995904001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723995904001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:54:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:54:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723995904001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":132083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:54:39] local.INFO: GPS data processed {"connection_id":132083,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:54:39] local.INFO: Acknowledgment sent {"connection_id":132083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:55:07] local.INFO: TCP Data received {"connection_id":133105,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:55:07] local.INFO: Processing buffer {"connection_id":133105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:55:07] local.INFO: IMEI packet received {"connection_id":133105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":133105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:55:12] local.INFO: TCP Data received {"connection_id":133105,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:55:12] local.INFO: Processing buffer {"connection_id":133105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:55:12] local.INFO: IMEI packet received {"connection_id":133105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":133105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:55:14] local.INFO: TCP Data received {"connection_id":133105,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f635c2110012d7f92c005afd830000000502b..."} 
[2026-07-15 06:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f635c2110012d7f92c005afd830000000502b..."} 
[2026-07-15 06:55:14] local.INFO: Processing buffer {"connection_id":133105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f635c2110012d7f92c005afd830000000502b..."} 
[2026-07-15 06:55:14] local.INFO: Packet analysis {"connection_id":133105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f635c"} 
[2026-07-15 06:55:14] local.INFO: Extracted packet for processing {"connection_id":133105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f635c"} 
[2026-07-15 06:55:14] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723995904001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:55:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784078410000,"timestamp_ms":1784078410000,"timestamp_seconds":1784078410,"priority":1,"record_length":96,"hex_timestamp":"0000019f635c2110"} 
[2026-07-15 06:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:55:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-15 06:55:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:55:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":133105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":133105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":133105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:55:14] 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-07-15 06:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723995904001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723995904001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:55:14] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:55:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:55:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723995904001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":133105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:55:14] local.INFO: GPS data processed {"connection_id":133105,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:55:14] local.INFO: Acknowledgment sent {"connection_id":133105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:55:17] local.INFO: TCP Data received {"connection_id":133105,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f635c2110012d7f92c005afd830000000502b..."} 
[2026-07-15 06:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f635c2110012d7f92c005afd830000000502b..."} 
[2026-07-15 06:55:17] local.INFO: Processing buffer {"connection_id":133105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f635c2110012d7f92c005afd830000000502b..."} 
[2026-07-15 06:55:17] local.INFO: Packet analysis {"connection_id":133105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f635c"} 
[2026-07-15 06:55:17] local.INFO: Extracted packet for processing {"connection_id":133105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f635c"} 
[2026-07-15 06:55:17] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456723995904001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784078410000,"timestamp_ms":1784078410000,"timestamp_seconds":1784078410,"priority":1,"record_length":96,"hex_timestamp":"0000019f635c2110"} 
[2026-07-15 06:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-15 06:55: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-07-15 06:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":133105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":133105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":133105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456723995904001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456723995904001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:55:17] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:55:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456723995904001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":133105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:55:17] local.INFO: GPS data processed {"connection_id":133105,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:55:17] local.INFO: Acknowledgment sent {"connection_id":133105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:55:35] local.INFO: TCP Data received {"connection_id":132084,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 06:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132084,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 06:55:35] local.INFO: Processing buffer {"connection_id":132084,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 06:55:35] local.INFO: IMEI packet received {"connection_id":132084,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 06:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":132084,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:56:02] local.INFO: TCP Data received {"connection_id":134472,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:56:02] local.INFO: Processing buffer {"connection_id":134472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:56:02] local.INFO: IMEI packet received {"connection_id":134472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":134472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:56:07] local.INFO: TCP Data received {"connection_id":134472,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:56:07] local.INFO: Processing buffer {"connection_id":134472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:56:07] local.INFO: IMEI packet received {"connection_id":134472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":134472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:56:08] local.INFO: TCP Data received {"connection_id":134472,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f6360b8d8012d7f92c005afd830000000502d..."} 
[2026-07-15 06:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6360b8d8012d7f92c005afd830000000502d..."} 
[2026-07-15 06:56:08] local.INFO: Processing buffer {"connection_id":134472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6360b8d8012d7f92c005afd830000000502d..."} 
[2026-07-15 06:56:08] local.INFO: Packet analysis {"connection_id":134472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6360"} 
[2026-07-15 06:56:08] local.INFO: Extracted packet for processing {"connection_id":134472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6360"} 
[2026-07-15 06:56:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724072960001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784078711000,"timestamp_ms":1784078711000,"timestamp_seconds":1784078711,"priority":1,"record_length":96,"hex_timestamp":"0000019f6360b8d8"} 
[2026-07-15 06:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 06:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06: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-07-15 06:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724072960001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724072960001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:56:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:56:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724072960001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":134472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:56:08] local.INFO: GPS data processed {"connection_id":134472,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:56:08] local.INFO: Acknowledgment sent {"connection_id":134472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:56:39] local.INFO: TCP Data received {"connection_id":134472,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f6360b8d8012d7f92c005afd830000000502d..."} 
[2026-07-15 06:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6360b8d8012d7f92c005afd830000000502d..."} 
[2026-07-15 06:56:39] local.INFO: Processing buffer {"connection_id":134472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6360b8d8012d7f92c005afd830000000502d..."} 
[2026-07-15 06:56:39] local.INFO: Packet analysis {"connection_id":134472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6360"} 
[2026-07-15 06:56:39] local.INFO: Extracted packet for processing {"connection_id":134472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6360"} 
[2026-07-15 06:56:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06: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-07-15 06:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724072960001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784078711000,"timestamp_ms":1784078711000,"timestamp_seconds":1784078711,"priority":1,"record_length":96,"hex_timestamp":"0000019f6360b8d8"} 
[2026-07-15 06:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 06:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06: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-07-15 06:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:56: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-07-15 06:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724072960001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724072960001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:56:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:56:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724072960001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":134472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:56:39] local.INFO: GPS data processed {"connection_id":134472,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:56:39] local.INFO: Acknowledgment sent {"connection_id":134472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:56:40] local.INFO: TCP Data received {"connection_id":133106,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 06:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133106,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 06:56:40] local.INFO: Processing buffer {"connection_id":133106,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 06:56:40] local.INFO: IMEI packet received {"connection_id":133106,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 06:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":133106,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:57:02] local.INFO: TCP Data received {"connection_id":132085,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:57:02] local.INFO: Processing buffer {"connection_id":132085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:57:02] local.INFO: IMEI packet received {"connection_id":132085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":132085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:57:07] local.INFO: TCP Data received {"connection_id":132085,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:57:07] local.INFO: Processing buffer {"connection_id":132085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:57:07] local.INFO: IMEI packet received {"connection_id":132085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":132085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:57:08] local.INFO: TCP Data received {"connection_id":132085,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f6360b8d8012d7f92c005afd830000000502d..."} 
[2026-07-15 06:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6360b8d8012d7f92c005afd830000000502d..."} 
[2026-07-15 06:57:08] local.INFO: Processing buffer {"connection_id":132085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6360b8d8012d7f92c005afd830000000502d..."} 
[2026-07-15 06:57:08] local.INFO: Packet analysis {"connection_id":132085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6360"} 
[2026-07-15 06:57:08] local.INFO: Extracted packet for processing {"connection_id":132085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6360"} 
[2026-07-15 06:57:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724072960001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:57:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784078711000,"timestamp_ms":1784078711000,"timestamp_seconds":1784078711,"priority":1,"record_length":96,"hex_timestamp":"0000019f6360b8d8"} 
[2026-07-15 06:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 06:57:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724072960001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724072960001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:57:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:57:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724072960001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":132085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:57:08] local.INFO: GPS data processed {"connection_id":132085,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:57:08] local.INFO: Acknowledgment sent {"connection_id":132085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:57:39] local.INFO: TCP Data received {"connection_id":132085,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f6360b8d8012d7f92c005afd830000000502d..."} 
[2026-07-15 06:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6360b8d8012d7f92c005afd830000000502d..."} 
[2026-07-15 06:57:39] local.INFO: Processing buffer {"connection_id":132085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6360b8d8012d7f92c005afd830000000502d..."} 
[2026-07-15 06:57:39] local.INFO: Packet analysis {"connection_id":132085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6360"} 
[2026-07-15 06:57:39] local.INFO: Extracted packet for processing {"connection_id":132085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6360"} 
[2026-07-15 06:57:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724072960001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784078711000,"timestamp_ms":1784078711000,"timestamp_seconds":1784078711,"priority":1,"record_length":96,"hex_timestamp":"0000019f6360b8d8"} 
[2026-07-15 06:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:57:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 06:57:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:57:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:57:39] 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-07-15 06:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724072960001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724072960001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:57:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:57:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724072960001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":132085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:57:39] local.INFO: GPS data processed {"connection_id":132085,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:57:39] local.INFO: Acknowledgment sent {"connection_id":132085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:58:01] local.INFO: TCP Data received {"connection_id":134473,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:58:01] local.INFO: Processing buffer {"connection_id":134473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:58:01] local.INFO: IMEI packet received {"connection_id":134473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":134473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:58:07] local.INFO: TCP Data received {"connection_id":134473,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:58:07] local.INFO: Processing buffer {"connection_id":134473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:58:07] local.INFO: IMEI packet received {"connection_id":134473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":134473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:58:08] local.INFO: TCP Data received {"connection_id":134473,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f6360b8d8012d7f92c005afd830000000502d..."} 
[2026-07-15 06:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6360b8d8012d7f92c005afd830000000502d..."} 
[2026-07-15 06:58:08] local.INFO: Processing buffer {"connection_id":134473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6360b8d8012d7f92c005afd830000000502d..."} 
[2026-07-15 06:58:08] local.INFO: Packet analysis {"connection_id":134473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6360"} 
[2026-07-15 06:58:08] local.INFO: Extracted packet for processing {"connection_id":134473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6360"} 
[2026-07-15 06:58:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06: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-07-15 06:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724072960001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784078711000,"timestamp_ms":1784078711000,"timestamp_seconds":1784078711,"priority":1,"record_length":96,"hex_timestamp":"0000019f6360b8d8"} 
[2026-07-15 06:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 06:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06: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-07-15 06:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724072960001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724072960001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:58:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:58:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724072960001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":134473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:58:08] local.INFO: GPS data processed {"connection_id":134473,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:58:08] local.INFO: Acknowledgment sent {"connection_id":134473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:58:39] local.INFO: TCP Data received {"connection_id":134473,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f6360b8d8012d7f92c005afd830000000502d..."} 
[2026-07-15 06:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6360b8d8012d7f92c005afd830000000502d..."} 
[2026-07-15 06:58:39] local.INFO: Processing buffer {"connection_id":134473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6360b8d8012d7f92c005afd830000000502d..."} 
[2026-07-15 06:58:39] local.INFO: Packet analysis {"connection_id":134473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6360"} 
[2026-07-15 06:58:39] local.INFO: Extracted packet for processing {"connection_id":134473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6360"} 
[2026-07-15 06:58:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06: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-07-15 06:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724072960001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784078711000,"timestamp_ms":1784078711000,"timestamp_seconds":1784078711,"priority":1,"record_length":96,"hex_timestamp":"0000019f6360b8d8"} 
[2026-07-15 06:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 06:58:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06: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-07-15 06:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:58:39] 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-07-15 06:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724072960001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724072960001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:58:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:58:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724072960001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":134473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:58:39] local.INFO: GPS data processed {"connection_id":134473,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:58:39] local.INFO: Acknowledgment sent {"connection_id":134473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:59:07] local.INFO: TCP Data received {"connection_id":133107,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:59:07] local.INFO: Processing buffer {"connection_id":133107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:59:07] local.INFO: IMEI packet received {"connection_id":133107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 06:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":133107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 06:59:12] local.INFO: TCP Data received {"connection_id":133107,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:59:12] local.INFO: Processing buffer {"connection_id":133107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 06:59:12] local.INFO: IMEI packet received {"connection_id":133107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 06:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":133107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 06:59:13] local.INFO: TCP Data received {"connection_id":133107,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f6360b8d8012d7f92c005afd830000000502d..."} 
[2026-07-15 06:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6360b8d8012d7f92c005afd830000000502d..."} 
[2026-07-15 06:59:13] local.INFO: Processing buffer {"connection_id":133107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6360b8d8012d7f92c005afd830000000502d..."} 
[2026-07-15 06:59:13] local.INFO: Packet analysis {"connection_id":133107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6360"} 
[2026-07-15 06:59:13] local.INFO: Extracted packet for processing {"connection_id":133107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6360"} 
[2026-07-15 06:59:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724072960001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784078711000,"timestamp_ms":1784078711000,"timestamp_seconds":1784078711,"priority":1,"record_length":96,"hex_timestamp":"0000019f6360b8d8"} 
[2026-07-15 06:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:59:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 06:59:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:59:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":133107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":133107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":133107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:59:13] 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-07-15 06:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724072960001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724072960001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:59:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:59:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724072960001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":133107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:59:13] local.INFO: GPS data processed {"connection_id":133107,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:59:13] local.INFO: Acknowledgment sent {"connection_id":133107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 06:59:17] local.INFO: TCP Data received {"connection_id":133107,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f6360b8d8012d7f92c005afd830000000502d..."} 
[2026-07-15 06:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6360b8d8012d7f92c005afd830000000502d..."} 
[2026-07-15 06:59:17] local.INFO: Processing buffer {"connection_id":133107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6360b8d8012d7f92c005afd830000000502d..."} 
[2026-07-15 06:59:17] local.INFO: Packet analysis {"connection_id":133107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6360"} 
[2026-07-15 06:59:17] local.INFO: Extracted packet for processing {"connection_id":133107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6360"} 
[2026-07-15 06:59:17] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 06:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 06:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724072960001,"note":"Value kept but may cause issues"} 
[2026-07-15 06:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 06:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 06:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 06:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784078711000,"timestamp_ms":1784078711000,"timestamp_seconds":1784078711,"priority":1,"record_length":96,"hex_timestamp":"0000019f6360b8d8"} 
[2026-07-15 06:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 06:59:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 06:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 06:59:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 06:59:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 06:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 06:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 06:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":133107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 06:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":133107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":133107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 06:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 06:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 06:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 06:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724072960001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 06:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 06:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 06:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724072960001,"description":"Unknown IO ID 0"} 
[2026-07-15 06:59:17] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 06:59:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 06:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 06:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 06:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724072960001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 06:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":133107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 06:59:17] local.INFO: GPS data processed {"connection_id":133107,"processed":1,"errors":0,"total":1} 
[2026-07-15 06:59:17] local.INFO: Acknowledgment sent {"connection_id":133107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:00:02] local.INFO: TCP Data received {"connection_id":132267,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:00:02] local.INFO: Processing buffer {"connection_id":132267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:00:02] local.INFO: IMEI packet received {"connection_id":132267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":132267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:00:07] local.INFO: TCP Data received {"connection_id":132267,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:00:07] local.INFO: Processing buffer {"connection_id":132267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:00:07] local.INFO: IMEI packet received {"connection_id":132267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":132267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:00:08] local.INFO: TCP Data received {"connection_id":132267,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f6360b8d8012d7f92c005afd830000000502d..."} 
[2026-07-15 07:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6360b8d8012d7f92c005afd830000000502d..."} 
[2026-07-15 07:00:08] local.INFO: Processing buffer {"connection_id":132267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6360b8d8012d7f92c005afd830000000502d..."} 
[2026-07-15 07:00:08] local.INFO: Packet analysis {"connection_id":132267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6360"} 
[2026-07-15 07:00:08] local.INFO: Extracted packet for processing {"connection_id":132267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6360"} 
[2026-07-15 07:00:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724072960001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:00:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784078711000,"timestamp_ms":1784078711000,"timestamp_seconds":1784078711,"priority":1,"record_length":96,"hex_timestamp":"0000019f6360b8d8"} 
[2026-07-15 07:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:00:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 07:00:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:00:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:00:08] 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-07-15 07:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724072960001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724072960001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:00:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:00:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724072960001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":132267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:00:08] local.INFO: GPS data processed {"connection_id":132267,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:00:08] local.INFO: Acknowledgment sent {"connection_id":132267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:00:39] local.INFO: TCP Data received {"connection_id":132267,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f6360b8d8012d7f92c005afd830000000502d..."} 
[2026-07-15 07:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6360b8d8012d7f92c005afd830000000502d..."} 
[2026-07-15 07:00:39] local.INFO: Processing buffer {"connection_id":132267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6360b8d8012d7f92c005afd830000000502d..."} 
[2026-07-15 07:00:39] local.INFO: Packet analysis {"connection_id":132267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6360"} 
[2026-07-15 07:00:39] local.INFO: Extracted packet for processing {"connection_id":132267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6360"} 
[2026-07-15 07:00:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07: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-07-15 07:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724072960001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784078711000,"timestamp_ms":1784078711000,"timestamp_seconds":1784078711,"priority":1,"record_length":96,"hex_timestamp":"0000019f6360b8d8"} 
[2026-07-15 07:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:00:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 07:00:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:00:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:00:39] 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-07-15 07:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724072960001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724072960001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:00:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:00:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724072960001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":132267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:00:39] local.INFO: GPS data processed {"connection_id":132267,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:00:39] local.INFO: Acknowledgment sent {"connection_id":132267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:01:02] local.INFO: TCP Data received {"connection_id":132088,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:01:02] local.INFO: Processing buffer {"connection_id":132088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:01:02] local.INFO: IMEI packet received {"connection_id":132088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":132088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:01:07] local.INFO: TCP Data received {"connection_id":132088,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:01:07] local.INFO: Processing buffer {"connection_id":132088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:01:07] local.INFO: IMEI packet received {"connection_id":132088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":132088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:01:08] local.INFO: TCP Data received {"connection_id":132088,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f636550a0012d7f92c005afd830001000502e..."} 
[2026-07-15 07:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f636550a0012d7f92c005afd830001000502e..."} 
[2026-07-15 07:01:08] local.INFO: Processing buffer {"connection_id":132088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f636550a0012d7f92c005afd830001000502e..."} 
[2026-07-15 07:01:08] local.INFO: Packet analysis {"connection_id":132088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6365"} 
[2026-07-15 07:01:08] local.INFO: Extracted packet for processing {"connection_id":132088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6365"} 
[2026-07-15 07:01:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":16,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724150016001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784079012000,"timestamp_ms":1784079012000,"timestamp_seconds":1784079012,"priority":1,"record_length":96,"hex_timestamp":"0000019f636550a0"} 
[2026-07-15 07:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 07:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:01:08] 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-07-15 07:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724150016001,"66":25191,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724150016001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:01:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:01:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724150016001,"power":25191,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":132088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:01:08] local.INFO: GPS data processed {"connection_id":132088,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:01:08] local.INFO: Acknowledgment sent {"connection_id":132088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:01:39] local.INFO: TCP Data received {"connection_id":132088,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f636550a0012d7f92c005afd830001000502e..."} 
[2026-07-15 07:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f636550a0012d7f92c005afd830001000502e..."} 
[2026-07-15 07:01:39] local.INFO: Processing buffer {"connection_id":132088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f636550a0012d7f92c005afd830001000502e..."} 
[2026-07-15 07:01:39] local.INFO: Packet analysis {"connection_id":132088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6365"} 
[2026-07-15 07:01:39] local.INFO: Extracted packet for processing {"connection_id":132088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6365"} 
[2026-07-15 07:01:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":16,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724150016001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784079012000,"timestamp_ms":1784079012000,"timestamp_seconds":1784079012,"priority":1,"record_length":96,"hex_timestamp":"0000019f636550a0"} 
[2026-07-15 07:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:01:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 07:01:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:01:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:01:39] 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-07-15 07:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724150016001,"66":25191,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724150016001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:01:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:01:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724150016001,"power":25191,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":132088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:01:39] local.INFO: GPS data processed {"connection_id":132088,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:01:39] local.INFO: Acknowledgment sent {"connection_id":132088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:01:45] local.INFO: TCP Data received {"connection_id":133108,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 07:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133108,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 07:01:45] local.INFO: Processing buffer {"connection_id":133108,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 07:01:45] local.INFO: IMEI packet received {"connection_id":133108,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 07:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":133108,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:02:01] local.INFO: TCP Data received {"connection_id":132268,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:02:01] local.INFO: Processing buffer {"connection_id":132268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:02:01] local.INFO: IMEI packet received {"connection_id":132268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":132268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:02:07] local.INFO: TCP Data received {"connection_id":132268,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:02:07] local.INFO: Processing buffer {"connection_id":132268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:02:07] local.INFO: IMEI packet received {"connection_id":132268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":132268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:02:08] local.INFO: TCP Data received {"connection_id":132268,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f636550a0012d7f92c005afd830001000502e..."} 
[2026-07-15 07:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f636550a0012d7f92c005afd830001000502e..."} 
[2026-07-15 07:02:08] local.INFO: Processing buffer {"connection_id":132268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f636550a0012d7f92c005afd830001000502e..."} 
[2026-07-15 07:02:08] local.INFO: Packet analysis {"connection_id":132268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6365"} 
[2026-07-15 07:02:08] local.INFO: Extracted packet for processing {"connection_id":132268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6365"} 
[2026-07-15 07:02:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":16,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07: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-07-15 07:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724150016001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:02:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784079012000,"timestamp_ms":1784079012000,"timestamp_seconds":1784079012,"priority":1,"record_length":96,"hex_timestamp":"0000019f636550a0"} 
[2026-07-15 07:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 07:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07: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-07-15 07:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:02:08] 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-07-15 07:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724150016001,"66":25191,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724150016001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:02:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:02:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724150016001,"power":25191,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":132268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:02:08] local.INFO: GPS data processed {"connection_id":132268,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:02:08] local.INFO: Acknowledgment sent {"connection_id":132268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:02:39] local.INFO: TCP Data received {"connection_id":132268,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f636550a0012d7f92c005afd830001000502e..."} 
[2026-07-15 07:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f636550a0012d7f92c005afd830001000502e..."} 
[2026-07-15 07:02:39] local.INFO: Processing buffer {"connection_id":132268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f636550a0012d7f92c005afd830001000502e..."} 
[2026-07-15 07:02:39] local.INFO: Packet analysis {"connection_id":132268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6365"} 
[2026-07-15 07:02:39] local.INFO: Extracted packet for processing {"connection_id":132268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6365"} 
[2026-07-15 07:02:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":16,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07: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-07-15 07:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724150016001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784079012000,"timestamp_ms":1784079012000,"timestamp_seconds":1784079012,"priority":1,"record_length":96,"hex_timestamp":"0000019f636550a0"} 
[2026-07-15 07:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:02:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 07:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07: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-07-15 07:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:02:39] 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-07-15 07:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724150016001,"66":25191,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724150016001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:02:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:02:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724150016001,"power":25191,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":132268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:02:39] local.INFO: GPS data processed {"connection_id":132268,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:02:39] local.INFO: Acknowledgment sent {"connection_id":132268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:03:07] local.INFO: TCP Data received {"connection_id":134475,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:03:07] local.INFO: Processing buffer {"connection_id":134475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:03:07] local.INFO: IMEI packet received {"connection_id":134475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":134475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:03:12] local.INFO: TCP Data received {"connection_id":134475,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:03:12] local.INFO: Processing buffer {"connection_id":134475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:03:12] local.INFO: IMEI packet received {"connection_id":134475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":134475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:03:13] local.INFO: TCP Data received {"connection_id":134475,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f636550a0012d7f92c005afd830001000502e..."} 
[2026-07-15 07:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f636550a0012d7f92c005afd830001000502e..."} 
[2026-07-15 07:03:13] local.INFO: Processing buffer {"connection_id":134475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f636550a0012d7f92c005afd830001000502e..."} 
[2026-07-15 07:03:13] local.INFO: Packet analysis {"connection_id":134475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6365"} 
[2026-07-15 07:03:13] local.INFO: Extracted packet for processing {"connection_id":134475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6365"} 
[2026-07-15 07:03:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":16,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724150016001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:03:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:03:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784079012000,"timestamp_ms":1784079012000,"timestamp_seconds":1784079012,"priority":1,"record_length":96,"hex_timestamp":"0000019f636550a0"} 
[2026-07-15 07:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:03:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 07:03:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:03:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":134475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":134475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":134475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:03:13] 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-07-15 07:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724150016001,"66":25191,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724150016001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:03:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:03:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:03:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724150016001,"power":25191,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":134475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:03:13] local.INFO: GPS data processed {"connection_id":134475,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:03:13] local.INFO: Acknowledgment sent {"connection_id":134475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:03:44] local.INFO: TCP Data received {"connection_id":134475,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f636550a0012d7f92c005afd830001000502e..."} 
[2026-07-15 07:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f636550a0012d7f92c005afd830001000502e..."} 
[2026-07-15 07:03:44] local.INFO: Processing buffer {"connection_id":134475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f636550a0012d7f92c005afd830001000502e..."} 
[2026-07-15 07:03:44] local.INFO: Packet analysis {"connection_id":134475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6365"} 
[2026-07-15 07:03:44] local.INFO: Extracted packet for processing {"connection_id":134475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6365"} 
[2026-07-15 07:03:44] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":16,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724150016001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:03:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784079012000,"timestamp_ms":1784079012000,"timestamp_seconds":1784079012,"priority":1,"record_length":96,"hex_timestamp":"0000019f636550a0"} 
[2026-07-15 07:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:03:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 07:03:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:03:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":134475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":134475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":134475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:03:44] 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-07-15 07:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724150016001,"66":25191,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724150016001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:03:44] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:03:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:03:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724150016001,"power":25191,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":134475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:03:44] local.INFO: GPS data processed {"connection_id":134475,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:03:44] local.INFO: Acknowledgment sent {"connection_id":134475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:04:02] local.INFO: TCP Data received {"connection_id":132089,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:04:02] local.INFO: Processing buffer {"connection_id":132089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:04:02] local.INFO: IMEI packet received {"connection_id":132089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":132089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:04:12] local.INFO: TCP Data received {"connection_id":132089,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:04:12] local.INFO: Processing buffer {"connection_id":132089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:04:12] local.INFO: IMEI packet received {"connection_id":132089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":132089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:04:12] local.INFO: TCP Data received {"connection_id":132089,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:04:12] local.INFO: Processing buffer {"connection_id":132089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:04:12] local.INFO: IMEI packet received {"connection_id":132089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":132089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:04:17] local.INFO: TCP Data received {"connection_id":132089,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:04:17] local.INFO: Processing buffer {"connection_id":132089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:04:17] local.INFO: IMEI packet received {"connection_id":132089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":132089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:04:18] local.INFO: TCP Data received {"connection_id":132089,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f636550a0012d7f92c005afd830001000502e..."} 
[2026-07-15 07:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f636550a0012d7f92c005afd830001000502e..."} 
[2026-07-15 07:04:18] local.INFO: Processing buffer {"connection_id":132089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f636550a0012d7f92c005afd830001000502e..."} 
[2026-07-15 07:04:18] local.INFO: Packet analysis {"connection_id":132089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6365"} 
[2026-07-15 07:04:18] local.INFO: Extracted packet for processing {"connection_id":132089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6365"} 
[2026-07-15 07:04:18] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":16,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724150016001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:04:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784079012000,"timestamp_ms":1784079012000,"timestamp_seconds":1784079012,"priority":1,"record_length":96,"hex_timestamp":"0000019f636550a0"} 
[2026-07-15 07:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:04:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 07:04:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:04:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":132089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":132089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":132089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:04: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-07-15 07:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724150016001,"66":25191,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724150016001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:04:18] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:04:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724150016001,"power":25191,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":132089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:04:18] local.INFO: GPS data processed {"connection_id":132089,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:04:18] local.INFO: Acknowledgment sent {"connection_id":132089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:05:01] local.INFO: TCP Data received {"connection_id":132269,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:05:01] local.INFO: Processing buffer {"connection_id":132269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:05:01] local.INFO: IMEI packet received {"connection_id":132269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":132269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:05:07] local.INFO: TCP Data received {"connection_id":132269,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:05:07] local.INFO: Processing buffer {"connection_id":132269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:05:07] local.INFO: IMEI packet received {"connection_id":132269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":132269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:05:08] local.INFO: TCP Data received {"connection_id":132269,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f636550a0012d7f92c005afd830001000502e..."} 
[2026-07-15 07:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f636550a0012d7f92c005afd830001000502e..."} 
[2026-07-15 07:05:08] local.INFO: Processing buffer {"connection_id":132269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f636550a0012d7f92c005afd830001000502e..."} 
[2026-07-15 07:05:08] local.INFO: Packet analysis {"connection_id":132269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6365"} 
[2026-07-15 07:05:08] local.INFO: Extracted packet for processing {"connection_id":132269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6365"} 
[2026-07-15 07:05:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":16,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724150016001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784079012000,"timestamp_ms":1784079012000,"timestamp_seconds":1784079012,"priority":1,"record_length":96,"hex_timestamp":"0000019f636550a0"} 
[2026-07-15 07:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 07:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724150016001,"66":25191,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724150016001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:05:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:05:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724150016001,"power":25191,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":132269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:05:08] local.INFO: GPS data processed {"connection_id":132269,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:05:08] local.INFO: Acknowledgment sent {"connection_id":132269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:05:39] local.INFO: TCP Data received {"connection_id":132269,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f636550a0012d7f92c005afd830001000502e..."} 
[2026-07-15 07:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f636550a0012d7f92c005afd830001000502e..."} 
[2026-07-15 07:05:39] local.INFO: Processing buffer {"connection_id":132269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f636550a0012d7f92c005afd830001000502e..."} 
[2026-07-15 07:05:39] local.INFO: Packet analysis {"connection_id":132269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6365"} 
[2026-07-15 07:05:39] local.INFO: Extracted packet for processing {"connection_id":132269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6365"} 
[2026-07-15 07:05:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":16,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07: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-07-15 07:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724150016001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784079012000,"timestamp_ms":1784079012000,"timestamp_seconds":1784079012,"priority":1,"record_length":96,"hex_timestamp":"0000019f636550a0"} 
[2026-07-15 07:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:05:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 07:05:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07: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-07-15 07:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:05:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724150016001,"66":25191,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724150016001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:05:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:05:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724150016001,"power":25191,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":132269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:05:39] local.INFO: GPS data processed {"connection_id":132269,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:05:39] local.INFO: Acknowledgment sent {"connection_id":132269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:06:01] local.INFO: TCP Data received {"connection_id":132091,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:06:01] local.INFO: Processing buffer {"connection_id":132091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:06:01] local.INFO: IMEI packet received {"connection_id":132091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":132091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:06:07] local.INFO: TCP Data received {"connection_id":132091,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:06:07] local.INFO: Processing buffer {"connection_id":132091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:06:07] local.INFO: IMEI packet received {"connection_id":132091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":132091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:06:12] local.INFO: TCP Data received {"connection_id":132091,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6369e868012d7f92c005afd830000100502c..."} 
[2026-07-15 07:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6369e868012d7f92c005afd830000100502c..."} 
[2026-07-15 07:06:12] local.INFO: Processing buffer {"connection_id":132091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6369e868012d7f92c005afd830000100502c..."} 
[2026-07-15 07:06:12] local.INFO: Packet analysis {"connection_id":132091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6369"} 
[2026-07-15 07:06:12] local.INFO: Extracted packet for processing {"connection_id":132091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6369"} 
[2026-07-15 07:06:12] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":1,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724227072001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784079313000,"timestamp_ms":1784079313000,"timestamp_seconds":1784079313,"priority":1,"record_length":96,"hex_timestamp":"0000019f6369e868"} 
[2026-07-15 07:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 07:06:12] 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-07-15 07:06:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724227072001,"66":25191,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724227072001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:06:12] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:06:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724227072001,"power":25191,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":132091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:06:12] local.INFO: GPS data processed {"connection_id":132091,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:06:12] local.INFO: Acknowledgment sent {"connection_id":132091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:06:43] local.INFO: TCP Data received {"connection_id":132091,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6369e868012d7f92c005afd830000100502c..."} 
[2026-07-15 07:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6369e868012d7f92c005afd830000100502c..."} 
[2026-07-15 07:06:43] local.INFO: Processing buffer {"connection_id":132091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6369e868012d7f92c005afd830000100502c..."} 
[2026-07-15 07:06:43] local.INFO: Packet analysis {"connection_id":132091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6369"} 
[2026-07-15 07:06:43] local.INFO: Extracted packet for processing {"connection_id":132091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6369"} 
[2026-07-15 07:06:43] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":1,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724227072001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:06:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:06:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784079313000,"timestamp_ms":1784079313000,"timestamp_seconds":1784079313,"priority":1,"record_length":96,"hex_timestamp":"0000019f6369e868"} 
[2026-07-15 07:06:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:06:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 07:06:43] 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-07-15 07:06:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:06:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":132091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":132091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":132091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:06:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724227072001,"66":25191,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724227072001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:06:43] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:06:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:06:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724227072001,"power":25191,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":132091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:06:43] local.INFO: GPS data processed {"connection_id":132091,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:06:43] local.INFO: Acknowledgment sent {"connection_id":132091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:07:02] local.INFO: TCP Data received {"connection_id":134477,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:07:02] local.INFO: Processing buffer {"connection_id":134477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:07:02] local.INFO: IMEI packet received {"connection_id":134477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":134477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:07:09] local.INFO: TCP Data received {"connection_id":134477,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:07:09] local.INFO: Processing buffer {"connection_id":134477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:07:09] local.INFO: IMEI packet received {"connection_id":134477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":134477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:07:10] local.INFO: TCP Data received {"connection_id":134477,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6369e868012d7f92c005afd830000100502c..."} 
[2026-07-15 07:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6369e868012d7f92c005afd830000100502c..."} 
[2026-07-15 07:07:10] local.INFO: Processing buffer {"connection_id":134477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6369e868012d7f92c005afd830000100502c..."} 
[2026-07-15 07:07:10] local.INFO: Packet analysis {"connection_id":134477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6369"} 
[2026-07-15 07:07:10] local.INFO: Extracted packet for processing {"connection_id":134477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6369"} 
[2026-07-15 07:07:10] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":1,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724227072001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784079313000,"timestamp_ms":1784079313000,"timestamp_seconds":1784079313,"priority":1,"record_length":96,"hex_timestamp":"0000019f6369e868"} 
[2026-07-15 07:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 07:07:10] 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-07-15 07:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":134477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":134477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":134477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724227072001,"66":25191,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724227072001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:07:10] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:07:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724227072001,"power":25191,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":134477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:07:10] local.INFO: GPS data processed {"connection_id":134477,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:07:10] local.INFO: Acknowledgment sent {"connection_id":134477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:07:35] local.INFO: TCP Data received {"connection_id":134478,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 07:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134478,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 07:07:35] local.INFO: Processing buffer {"connection_id":134478,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 07:07:35] local.INFO: IMEI packet received {"connection_id":134478,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 07:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":134478,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:07:41] local.INFO: TCP Data received {"connection_id":134477,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6369e868012d7f92c005afd830000100502c..."} 
[2026-07-15 07:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6369e868012d7f92c005afd830000100502c..."} 
[2026-07-15 07:07:41] local.INFO: Processing buffer {"connection_id":134477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6369e868012d7f92c005afd830000100502c..."} 
[2026-07-15 07:07:41] local.INFO: Packet analysis {"connection_id":134477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6369"} 
[2026-07-15 07:07:41] local.INFO: Extracted packet for processing {"connection_id":134477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6369"} 
[2026-07-15 07:07:41] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":1,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724227072001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784079313000,"timestamp_ms":1784079313000,"timestamp_seconds":1784079313,"priority":1,"record_length":96,"hex_timestamp":"0000019f6369e868"} 
[2026-07-15 07:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 07:07:41] 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-07-15 07:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":134477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":134477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":134477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724227072001,"66":25191,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724227072001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:07:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:07:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724227072001,"power":25191,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":134477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:07:41] local.INFO: GPS data processed {"connection_id":134477,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:07:41] local.INFO: Acknowledgment sent {"connection_id":134477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:08:02] local.INFO: TCP Data received {"connection_id":132092,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:08:02] local.INFO: Processing buffer {"connection_id":132092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:08:02] local.INFO: IMEI packet received {"connection_id":132092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":132092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:08:07] local.INFO: TCP Data received {"connection_id":132092,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:08:07] local.INFO: Processing buffer {"connection_id":132092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:08:07] local.INFO: IMEI packet received {"connection_id":132092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":132092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:08:07] local.INFO: TCP Data received {"connection_id":132092,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6369e868012d7f92c005afd830000100502c..."} 
[2026-07-15 07:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6369e868012d7f92c005afd830000100502c..."} 
[2026-07-15 07:08:07] local.INFO: Processing buffer {"connection_id":132092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6369e868012d7f92c005afd830000100502c..."} 
[2026-07-15 07:08:07] local.INFO: Packet analysis {"connection_id":132092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6369"} 
[2026-07-15 07:08:07] local.INFO: Extracted packet for processing {"connection_id":132092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6369"} 
[2026-07-15 07:08:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":1,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724227072001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784079313000,"timestamp_ms":1784079313000,"timestamp_seconds":1784079313,"priority":1,"record_length":96,"hex_timestamp":"0000019f6369e868"} 
[2026-07-15 07:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 07:08:07] 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-07-15 07:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724227072001,"66":25191,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724227072001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:08:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:08:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724227072001,"power":25191,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":132092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:08:07] local.INFO: GPS data processed {"connection_id":132092,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:08:07] local.INFO: Acknowledgment sent {"connection_id":132092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:08:38] local.INFO: TCP Data received {"connection_id":132092,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6369e868012d7f92c005afd830000100502c..."} 
[2026-07-15 07:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6369e868012d7f92c005afd830000100502c..."} 
[2026-07-15 07:08:38] local.INFO: Processing buffer {"connection_id":132092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6369e868012d7f92c005afd830000100502c..."} 
[2026-07-15 07:08:38] local.INFO: Packet analysis {"connection_id":132092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6369"} 
[2026-07-15 07:08:38] local.INFO: Extracted packet for processing {"connection_id":132092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6369"} 
[2026-07-15 07:08:38] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":1,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724227072001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784079313000,"timestamp_ms":1784079313000,"timestamp_seconds":1784079313,"priority":1,"record_length":96,"hex_timestamp":"0000019f6369e868"} 
[2026-07-15 07:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 07:08:38] 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-07-15 07:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724227072001,"66":25191,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724227072001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:08:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:08:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724227072001,"power":25191,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":132092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:08:38] local.INFO: GPS data processed {"connection_id":132092,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:08:38] local.INFO: Acknowledgment sent {"connection_id":132092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:09:02] local.INFO: TCP Data received {"connection_id":132271,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:09:02] local.INFO: Processing buffer {"connection_id":132271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:09:02] local.INFO: IMEI packet received {"connection_id":132271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":132271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:09:09] local.INFO: TCP Data received {"connection_id":132271,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:09:09] local.INFO: Processing buffer {"connection_id":132271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:09:09] local.INFO: IMEI packet received {"connection_id":132271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":132271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:09:10] local.INFO: TCP Data received {"connection_id":132271,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6369e868012d7f92c005afd830000100502c..."} 
[2026-07-15 07:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6369e868012d7f92c005afd830000100502c..."} 
[2026-07-15 07:09:10] local.INFO: Processing buffer {"connection_id":132271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6369e868012d7f92c005afd830000100502c..."} 
[2026-07-15 07:09:10] local.INFO: Packet analysis {"connection_id":132271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6369"} 
[2026-07-15 07:09:10] local.INFO: Extracted packet for processing {"connection_id":132271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6369"} 
[2026-07-15 07:09:10] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":1,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:09: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-07-15 07:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724227072001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784079313000,"timestamp_ms":1784079313000,"timestamp_seconds":1784079313,"priority":1,"record_length":96,"hex_timestamp":"0000019f6369e868"} 
[2026-07-15 07:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 07:09:10] 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-07-15 07:09: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-07-15 07:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":132271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":132271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":132271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724227072001,"66":25191,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724227072001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:09:10] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:09:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724227072001,"power":25191,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":132271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:09:10] local.INFO: GPS data processed {"connection_id":132271,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:09:10] local.INFO: Acknowledgment sent {"connection_id":132271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:09:41] local.INFO: TCP Data received {"connection_id":132271,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6369e868012d7f92c005afd830000100502c..."} 
[2026-07-15 07:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6369e868012d7f92c005afd830000100502c..."} 
[2026-07-15 07:09:41] local.INFO: Processing buffer {"connection_id":132271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6369e868012d7f92c005afd830000100502c..."} 
[2026-07-15 07:09:41] local.INFO: Packet analysis {"connection_id":132271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6369"} 
[2026-07-15 07:09:41] local.INFO: Extracted packet for processing {"connection_id":132271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6369"} 
[2026-07-15 07:09:41] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":1,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724227072001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784079313000,"timestamp_ms":1784079313000,"timestamp_seconds":1784079313,"priority":1,"record_length":96,"hex_timestamp":"0000019f6369e868"} 
[2026-07-15 07:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 07:09:41] 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-07-15 07:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724227072001,"66":25191,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724227072001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:09:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:09:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724227072001,"power":25191,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":132271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:09:41] local.INFO: GPS data processed {"connection_id":132271,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:09:41] local.INFO: Acknowledgment sent {"connection_id":132271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:10:02] local.INFO: TCP Data received {"connection_id":132272,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:10:02] local.INFO: Processing buffer {"connection_id":132272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:10:02] local.INFO: IMEI packet received {"connection_id":132272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":132272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:10:07] local.INFO: TCP Data received {"connection_id":132272,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:10:07] local.INFO: Processing buffer {"connection_id":132272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:10:07] local.INFO: IMEI packet received {"connection_id":132272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":132272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:10:07] local.INFO: TCP Data received {"connection_id":132272,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6369e868012d7f92c005afd830000100502c..."} 
[2026-07-15 07:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6369e868012d7f92c005afd830000100502c..."} 
[2026-07-15 07:10:07] local.INFO: Processing buffer {"connection_id":132272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6369e868012d7f92c005afd830000100502c..."} 
[2026-07-15 07:10:07] local.INFO: Packet analysis {"connection_id":132272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6369"} 
[2026-07-15 07:10:07] local.INFO: Extracted packet for processing {"connection_id":132272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6369"} 
[2026-07-15 07:10:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":1,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724227072001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784079313000,"timestamp_ms":1784079313000,"timestamp_seconds":1784079313,"priority":1,"record_length":96,"hex_timestamp":"0000019f6369e868"} 
[2026-07-15 07:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 07:10:07] 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-07-15 07:10:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724227072001,"66":25191,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724227072001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:10:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:10:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724227072001,"power":25191,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":132272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:10:07] local.INFO: GPS data processed {"connection_id":132272,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:10:07] local.INFO: Acknowledgment sent {"connection_id":132272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:10:38] local.INFO: TCP Data received {"connection_id":132272,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6369e868012d7f92c005afd830000100502c..."} 
[2026-07-15 07:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6369e868012d7f92c005afd830000100502c..."} 
[2026-07-15 07:10:38] local.INFO: Processing buffer {"connection_id":132272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6369e868012d7f92c005afd830000100502c..."} 
[2026-07-15 07:10:38] local.INFO: Packet analysis {"connection_id":132272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6369"} 
[2026-07-15 07:10:38] local.INFO: Extracted packet for processing {"connection_id":132272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6369"} 
[2026-07-15 07:10:38] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":1,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724227072001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784079313000,"timestamp_ms":1784079313000,"timestamp_seconds":1784079313,"priority":1,"record_length":96,"hex_timestamp":"0000019f6369e868"} 
[2026-07-15 07:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 07:10:38] 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-07-15 07:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724227072001,"66":25191,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724227072001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:10:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:10:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724227072001,"power":25191,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":132272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:10:39] local.INFO: GPS data processed {"connection_id":132272,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:10:39] local.INFO: Acknowledgment sent {"connection_id":132272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:11:01] local.INFO: TCP Data received {"connection_id":133111,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:11:01] local.INFO: Processing buffer {"connection_id":133111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:11:01] local.INFO: IMEI packet received {"connection_id":133111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":133111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:11:08] local.INFO: TCP Data received {"connection_id":133111,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:11:08] local.INFO: Processing buffer {"connection_id":133111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:11:08] local.INFO: IMEI packet received {"connection_id":133111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":133111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:11:09] local.INFO: TCP Data received {"connection_id":133111,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f636e8030012d7f92c005afd830000100502e..."} 
[2026-07-15 07:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f636e8030012d7f92c005afd830000100502e..."} 
[2026-07-15 07:11:09] local.INFO: Processing buffer {"connection_id":133111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f636e8030012d7f92c005afd830000100502e..."} 
[2026-07-15 07:11:09] local.INFO: Packet analysis {"connection_id":133111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f636e"} 
[2026-07-15 07:11:09] local.INFO: Extracted packet for processing {"connection_id":133111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f636e"} 
[2026-07-15 07:11:09] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":1,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724304128001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784079614000,"timestamp_ms":1784079614000,"timestamp_seconds":1784079614,"priority":1,"record_length":96,"hex_timestamp":"0000019f636e8030"} 
[2026-07-15 07:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 07:11:09] 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-07-15 07:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":133111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":133111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":133111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724304128001,"66":25180,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724304128001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:11:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:11:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724304128001,"power":25180,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":133111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:11:09] local.INFO: GPS data processed {"connection_id":133111,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:11:09] local.INFO: Acknowledgment sent {"connection_id":133111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:11:39] local.INFO: TCP Data received {"connection_id":133111,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f636e8030012d7f92c005afd830000100502e..."} 
[2026-07-15 07:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f636e8030012d7f92c005afd830000100502e..."} 
[2026-07-15 07:11:39] local.INFO: Processing buffer {"connection_id":133111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f636e8030012d7f92c005afd830000100502e..."} 
[2026-07-15 07:11:39] local.INFO: Packet analysis {"connection_id":133111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f636e"} 
[2026-07-15 07:11:39] local.INFO: Extracted packet for processing {"connection_id":133111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f636e"} 
[2026-07-15 07:11:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":1,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724304128001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784079614000,"timestamp_ms":1784079614000,"timestamp_seconds":1784079614,"priority":1,"record_length":96,"hex_timestamp":"0000019f636e8030"} 
[2026-07-15 07:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 07:11:39] 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-07-15 07:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724304128001,"66":25180,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724304128001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:11:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:11:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724304128001,"power":25180,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":133111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:11:39] local.INFO: GPS data processed {"connection_id":133111,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:11:39] local.INFO: Acknowledgment sent {"connection_id":133111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:12:01] local.INFO: TCP Data received {"connection_id":132094,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:12:01] local.INFO: Processing buffer {"connection_id":132094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:12:01] local.INFO: IMEI packet received {"connection_id":132094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":132094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:12:07] local.INFO: TCP Data received {"connection_id":132094,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:12:07] local.INFO: Processing buffer {"connection_id":132094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:12:07] local.INFO: IMEI packet received {"connection_id":132094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":132094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:12:07] local.INFO: TCP Data received {"connection_id":132094,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f636e8030012d7f92c005afd830000100502e..."} 
[2026-07-15 07:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f636e8030012d7f92c005afd830000100502e..."} 
[2026-07-15 07:12:07] local.INFO: Processing buffer {"connection_id":132094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f636e8030012d7f92c005afd830000100502e..."} 
[2026-07-15 07:12:07] local.INFO: Packet analysis {"connection_id":132094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f636e"} 
[2026-07-15 07:12:07] local.INFO: Extracted packet for processing {"connection_id":132094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f636e"} 
[2026-07-15 07:12:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":1,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07: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-07-15 07:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724304128001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784079614000,"timestamp_ms":1784079614000,"timestamp_seconds":1784079614,"priority":1,"record_length":96,"hex_timestamp":"0000019f636e8030"} 
[2026-07-15 07:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 07:12:07] 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-07-15 07: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-07-15 07:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724304128001,"66":25180,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724304128001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:12:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:12:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724304128001,"power":25180,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":132094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:12:07] local.INFO: GPS data processed {"connection_id":132094,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:12:07] local.INFO: Acknowledgment sent {"connection_id":132094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:12:38] local.INFO: TCP Data received {"connection_id":132094,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f636e8030012d7f92c005afd830000100502e..."} 
[2026-07-15 07:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f636e8030012d7f92c005afd830000100502e..."} 
[2026-07-15 07:12:38] local.INFO: Processing buffer {"connection_id":132094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f636e8030012d7f92c005afd830000100502e..."} 
[2026-07-15 07:12:38] local.INFO: Packet analysis {"connection_id":132094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f636e"} 
[2026-07-15 07:12:38] local.INFO: Extracted packet for processing {"connection_id":132094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f636e"} 
[2026-07-15 07:12:38] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":1,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07: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-07-15 07:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724304128001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784079614000,"timestamp_ms":1784079614000,"timestamp_seconds":1784079614,"priority":1,"record_length":96,"hex_timestamp":"0000019f636e8030"} 
[2026-07-15 07:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 07:12:38] 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-07-15 07: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-07-15 07:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724304128001,"66":25180,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724304128001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:12:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:12:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724304128001,"power":25180,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":132094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:12:39] local.INFO: GPS data processed {"connection_id":132094,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:12:39] local.INFO: Acknowledgment sent {"connection_id":132094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:13:01] local.INFO: TCP Data received {"connection_id":132096,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:13:01] local.INFO: Processing buffer {"connection_id":132096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:13:01] local.INFO: IMEI packet received {"connection_id":132096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":132096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:13:07] local.INFO: TCP Data received {"connection_id":132096,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:13:07] local.INFO: Processing buffer {"connection_id":132096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:13:07] local.INFO: IMEI packet received {"connection_id":132096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":132096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:13:07] local.INFO: TCP Data received {"connection_id":132096,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f636e8030012d7f92c005afd830000100502e..."} 
[2026-07-15 07:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f636e8030012d7f92c005afd830000100502e..."} 
[2026-07-15 07:13:07] local.INFO: Processing buffer {"connection_id":132096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f636e8030012d7f92c005afd830000100502e..."} 
[2026-07-15 07:13:07] local.INFO: Packet analysis {"connection_id":132096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f636e"} 
[2026-07-15 07:13:07] local.INFO: Extracted packet for processing {"connection_id":132096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f636e"} 
[2026-07-15 07:13:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":1,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724304128001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784079614000,"timestamp_ms":1784079614000,"timestamp_seconds":1784079614,"priority":1,"record_length":96,"hex_timestamp":"0000019f636e8030"} 
[2026-07-15 07:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 07:13:07] 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-07-15 07:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724304128001,"66":25180,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724304128001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:13:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:13:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724304128001,"power":25180,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":132096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:13:07] local.INFO: GPS data processed {"connection_id":132096,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:13:07] local.INFO: Acknowledgment sent {"connection_id":132096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:13:35] local.INFO: TCP Data received {"connection_id":132274,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 07:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132274,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 07:13:35] local.INFO: Processing buffer {"connection_id":132274,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 07:13:35] local.INFO: IMEI packet received {"connection_id":132274,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 07:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":132274,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:13:39] local.INFO: TCP Data received {"connection_id":132096,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f636e8030012d7f92c005afd830000100502e..."} 
[2026-07-15 07:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f636e8030012d7f92c005afd830000100502e..."} 
[2026-07-15 07:13:39] local.INFO: Processing buffer {"connection_id":132096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f636e8030012d7f92c005afd830000100502e..."} 
[2026-07-15 07:13:39] local.INFO: Packet analysis {"connection_id":132096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f636e"} 
[2026-07-15 07:13:39] local.INFO: Extracted packet for processing {"connection_id":132096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f636e"} 
[2026-07-15 07:13:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":1,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724304128001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784079614000,"timestamp_ms":1784079614000,"timestamp_seconds":1784079614,"priority":1,"record_length":96,"hex_timestamp":"0000019f636e8030"} 
[2026-07-15 07:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:13:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 07:13:39] 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-07-15 07:13:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724304128001,"66":25180,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724304128001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:13:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:13:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724304128001,"power":25180,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":132096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:13:39] local.INFO: GPS data processed {"connection_id":132096,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:13:39] local.INFO: Acknowledgment sent {"connection_id":132096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:14:02] local.INFO: TCP Data received {"connection_id":132097,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:14:02] local.INFO: Processing buffer {"connection_id":132097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:14:02] local.INFO: IMEI packet received {"connection_id":132097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":132097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:14:07] local.INFO: TCP Data received {"connection_id":132097,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:14:07] local.INFO: Processing buffer {"connection_id":132097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:14:07] local.INFO: IMEI packet received {"connection_id":132097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":132097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:14:08] local.INFO: TCP Data received {"connection_id":132097,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f636e8030012d7f92c005afd830000100502e..."} 
[2026-07-15 07:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f636e8030012d7f92c005afd830000100502e..."} 
[2026-07-15 07:14:08] local.INFO: Processing buffer {"connection_id":132097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f636e8030012d7f92c005afd830000100502e..."} 
[2026-07-15 07:14:08] local.INFO: Packet analysis {"connection_id":132097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f636e"} 
[2026-07-15 07:14:08] local.INFO: Extracted packet for processing {"connection_id":132097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f636e"} 
[2026-07-15 07:14:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":1,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724304128001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:14:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784079614000,"timestamp_ms":1784079614000,"timestamp_seconds":1784079614,"priority":1,"record_length":96,"hex_timestamp":"0000019f636e8030"} 
[2026-07-15 07:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:14:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 07:14:08] 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-07-15 07:14:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724304128001,"66":25180,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724304128001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:14:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:14:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724304128001,"power":25180,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":132097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:14:08] local.INFO: GPS data processed {"connection_id":132097,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:14:08] local.INFO: Acknowledgment sent {"connection_id":132097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:14:35] local.INFO: TCP Data received {"connection_id":132098,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 07:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132098,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 07:14:35] local.INFO: Processing buffer {"connection_id":132098,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 07:14:35] local.INFO: IMEI packet received {"connection_id":132098,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 07:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":132098,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:14:39] local.INFO: TCP Data received {"connection_id":132097,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f636e8030012d7f92c005afd830000100502e..."} 
[2026-07-15 07:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f636e8030012d7f92c005afd830000100502e..."} 
[2026-07-15 07:14:39] local.INFO: Processing buffer {"connection_id":132097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f636e8030012d7f92c005afd830000100502e..."} 
[2026-07-15 07:14:39] local.INFO: Packet analysis {"connection_id":132097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f636e"} 
[2026-07-15 07:14:39] local.INFO: Extracted packet for processing {"connection_id":132097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f636e"} 
[2026-07-15 07:14:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":1,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724304128001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784079614000,"timestamp_ms":1784079614000,"timestamp_seconds":1784079614,"priority":1,"record_length":96,"hex_timestamp":"0000019f636e8030"} 
[2026-07-15 07:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:14:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 07:14:39] 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-07-15 07:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724304128001,"66":25180,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724304128001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:14:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:14:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724304128001,"power":25180,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":132097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:14:39] local.INFO: GPS data processed {"connection_id":132097,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:14:39] local.INFO: Acknowledgment sent {"connection_id":132097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:15:01] local.INFO: TCP Data received {"connection_id":132099,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:15:01] local.INFO: Processing buffer {"connection_id":132099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:15:01] local.INFO: IMEI packet received {"connection_id":132099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":132099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:15:07] local.INFO: TCP Data received {"connection_id":132099,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:15:07] local.INFO: Processing buffer {"connection_id":132099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:15:07] local.INFO: IMEI packet received {"connection_id":132099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":132099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:15:08] local.INFO: TCP Data received {"connection_id":132099,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f636e8030012d7f92c005afd830000100502e..."} 
[2026-07-15 07:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f636e8030012d7f92c005afd830000100502e..."} 
[2026-07-15 07:15:08] local.INFO: Processing buffer {"connection_id":132099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f636e8030012d7f92c005afd830000100502e..."} 
[2026-07-15 07:15:08] local.INFO: Packet analysis {"connection_id":132099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f636e"} 
[2026-07-15 07:15:08] local.INFO: Extracted packet for processing {"connection_id":132099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f636e"} 
[2026-07-15 07:15:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":1,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724304128001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784079614000,"timestamp_ms":1784079614000,"timestamp_seconds":1784079614,"priority":1,"record_length":96,"hex_timestamp":"0000019f636e8030"} 
[2026-07-15 07:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 07:15:08] 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-07-15 07:15:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724304128001,"66":25180,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724304128001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:15:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:15:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724304128001,"power":25180,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":132099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:15:08] local.INFO: GPS data processed {"connection_id":132099,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:15:08] local.INFO: Acknowledgment sent {"connection_id":132099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:15:39] local.INFO: TCP Data received {"connection_id":132099,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f636e8030012d7f92c005afd830000100502e..."} 
[2026-07-15 07:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f636e8030012d7f92c005afd830000100502e..."} 
[2026-07-15 07:15:39] local.INFO: Processing buffer {"connection_id":132099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f636e8030012d7f92c005afd830000100502e..."} 
[2026-07-15 07:15:39] local.INFO: Packet analysis {"connection_id":132099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f636e"} 
[2026-07-15 07:15:39] local.INFO: Extracted packet for processing {"connection_id":132099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f636e"} 
[2026-07-15 07:15:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":1,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724304128001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784079614000,"timestamp_ms":1784079614000,"timestamp_seconds":1784079614,"priority":1,"record_length":96,"hex_timestamp":"0000019f636e8030"} 
[2026-07-15 07:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 07:15:39] 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-07-15 07: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-07-15 07:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724304128001,"66":25180,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724304128001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:15:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:15:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724304128001,"power":25180,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":132099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:15:39] local.INFO: GPS data processed {"connection_id":132099,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:15:39] local.INFO: Acknowledgment sent {"connection_id":132099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:16:01] local.INFO: TCP Data received {"connection_id":132276,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:16:01] local.INFO: Processing buffer {"connection_id":132276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:16:01] local.INFO: IMEI packet received {"connection_id":132276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":132276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:16:07] local.INFO: TCP Data received {"connection_id":132276,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:16:07] local.INFO: Processing buffer {"connection_id":132276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:16:07] local.INFO: IMEI packet received {"connection_id":132276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":132276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:16:08] local.INFO: TCP Data received {"connection_id":132276,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f637317f8012d7f92c005afd830000300502e..."} 
[2026-07-15 07:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f637317f8012d7f92c005afd830000300502e..."} 
[2026-07-15 07:16:08] local.INFO: Processing buffer {"connection_id":132276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f637317f8012d7f92c005afd830000300502e..."} 
[2026-07-15 07:16:08] local.INFO: Packet analysis {"connection_id":132276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6373"} 
[2026-07-15 07:16:08] local.INFO: Extracted packet for processing {"connection_id":132276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6373"} 
[2026-07-15 07:16:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":3,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07: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-07-15 07:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724381184001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784079915000,"timestamp_ms":1784079915000,"timestamp_seconds":1784079915,"priority":1,"record_length":96,"hex_timestamp":"0000019f637317f8"} 
[2026-07-15 07:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-15 07:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07: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-07-15 07:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724381184001,"66":25212,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724381184001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:16:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:16:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724381184001,"power":25212,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":132276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:16:08] local.INFO: GPS data processed {"connection_id":132276,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:16:08] local.INFO: Acknowledgment sent {"connection_id":132276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:16:39] local.INFO: TCP Data received {"connection_id":132276,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f637317f8012d7f92c005afd830000300502e..."} 
[2026-07-15 07:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f637317f8012d7f92c005afd830000300502e..."} 
[2026-07-15 07:16:39] local.INFO: Processing buffer {"connection_id":132276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f637317f8012d7f92c005afd830000300502e..."} 
[2026-07-15 07:16:39] local.INFO: Packet analysis {"connection_id":132276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6373"} 
[2026-07-15 07:16:39] local.INFO: Extracted packet for processing {"connection_id":132276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6373"} 
[2026-07-15 07:16:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":3,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724381184001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784079915000,"timestamp_ms":1784079915000,"timestamp_seconds":1784079915,"priority":1,"record_length":96,"hex_timestamp":"0000019f637317f8"} 
[2026-07-15 07:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-15 07:16: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-07-15 07:16:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724381184001,"66":25212,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724381184001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:16:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:16:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724381184001,"power":25212,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":132276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:16:39] local.INFO: GPS data processed {"connection_id":132276,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:16:39] local.INFO: Acknowledgment sent {"connection_id":132276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:17:02] local.INFO: TCP Data received {"connection_id":133112,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:17:02] local.INFO: Processing buffer {"connection_id":133112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:17:02] local.INFO: IMEI packet received {"connection_id":133112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":133112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:17:07] local.INFO: TCP Data received {"connection_id":133112,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:17:07] local.INFO: Processing buffer {"connection_id":133112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:17:07] local.INFO: IMEI packet received {"connection_id":133112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":133112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:17:07] local.INFO: TCP Data received {"connection_id":133112,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f637317f8012d7f92c005afd830000300502e..."} 
[2026-07-15 07:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f637317f8012d7f92c005afd830000300502e..."} 
[2026-07-15 07:17:07] local.INFO: Processing buffer {"connection_id":133112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f637317f8012d7f92c005afd830000300502e..."} 
[2026-07-15 07:17:07] local.INFO: Packet analysis {"connection_id":133112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6373"} 
[2026-07-15 07:17:07] local.INFO: Extracted packet for processing {"connection_id":133112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6373"} 
[2026-07-15 07:17:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":3,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724381184001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784079915000,"timestamp_ms":1784079915000,"timestamp_seconds":1784079915,"priority":1,"record_length":96,"hex_timestamp":"0000019f637317f8"} 
[2026-07-15 07:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-15 07:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:17:07] 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-07-15 07:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724381184001,"66":25212,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724381184001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:17:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:17:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724381184001,"power":25212,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":133112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:17:08] local.INFO: GPS data processed {"connection_id":133112,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:17:08] local.INFO: Acknowledgment sent {"connection_id":133112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:17:39] local.INFO: TCP Data received {"connection_id":133112,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f637317f8012d7f92c005afd830000300502e..."} 
[2026-07-15 07:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f637317f8012d7f92c005afd830000300502e..."} 
[2026-07-15 07:17:39] local.INFO: Processing buffer {"connection_id":133112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f637317f8012d7f92c005afd830000300502e..."} 
[2026-07-15 07:17:39] local.INFO: Packet analysis {"connection_id":133112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6373"} 
[2026-07-15 07:17:39] local.INFO: Extracted packet for processing {"connection_id":133112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6373"} 
[2026-07-15 07:17:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":3,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724381184001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784079915000,"timestamp_ms":1784079915000,"timestamp_seconds":1784079915,"priority":1,"record_length":96,"hex_timestamp":"0000019f637317f8"} 
[2026-07-15 07:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-15 07:17: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-07-15 07:17:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724381184001,"66":25212,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724381184001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:17:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:17:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724381184001,"power":25212,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":133112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:17:39] local.INFO: GPS data processed {"connection_id":133112,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:17:39] local.INFO: Acknowledgment sent {"connection_id":133112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:18:02] local.INFO: TCP Data received {"connection_id":134481,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:18:02] local.INFO: Processing buffer {"connection_id":134481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:18:02] local.INFO: IMEI packet received {"connection_id":134481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":134481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:18:07] local.INFO: TCP Data received {"connection_id":134481,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:18:07] local.INFO: Processing buffer {"connection_id":134481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:18:07] local.INFO: IMEI packet received {"connection_id":134481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":134481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:18:07] local.INFO: TCP Data received {"connection_id":134481,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f637317f8012d7f92c005afd830000300502e..."} 
[2026-07-15 07:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f637317f8012d7f92c005afd830000300502e..."} 
[2026-07-15 07:18:07] local.INFO: Processing buffer {"connection_id":134481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f637317f8012d7f92c005afd830000300502e..."} 
[2026-07-15 07:18:07] local.INFO: Packet analysis {"connection_id":134481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6373"} 
[2026-07-15 07:18:07] local.INFO: Extracted packet for processing {"connection_id":134481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6373"} 
[2026-07-15 07:18:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":3,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724381184001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784079915000,"timestamp_ms":1784079915000,"timestamp_seconds":1784079915,"priority":1,"record_length":96,"hex_timestamp":"0000019f637317f8"} 
[2026-07-15 07:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-15 07:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:18:07] 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-07-15 07:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724381184001,"66":25212,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724381184001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:18:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:18:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724381184001,"power":25212,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":134481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:18:08] local.INFO: GPS data processed {"connection_id":134481,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:18:08] local.INFO: Acknowledgment sent {"connection_id":134481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:18:40] local.INFO: TCP Data received {"connection_id":134481,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f637317f8012d7f92c005afd830000300502e..."} 
[2026-07-15 07:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f637317f8012d7f92c005afd830000300502e..."} 
[2026-07-15 07:18:40] local.INFO: Processing buffer {"connection_id":134481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f637317f8012d7f92c005afd830000300502e..."} 
[2026-07-15 07:18:40] local.INFO: Packet analysis {"connection_id":134481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6373"} 
[2026-07-15 07:18:40] local.INFO: Extracted packet for processing {"connection_id":134481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6373"} 
[2026-07-15 07:18:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":3,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724381184001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784079915000,"timestamp_ms":1784079915000,"timestamp_seconds":1784079915,"priority":1,"record_length":96,"hex_timestamp":"0000019f637317f8"} 
[2026-07-15 07:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:18:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-15 07:18:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:18:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":134481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":134481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":134481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724381184001,"66":25212,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724381184001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:18:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:18:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724381184001,"power":25212,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":134481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:18:40] local.INFO: GPS data processed {"connection_id":134481,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:18:40] local.INFO: Acknowledgment sent {"connection_id":134481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:19:02] local.INFO: TCP Data received {"connection_id":134482,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:19:02] local.INFO: Processing buffer {"connection_id":134482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:19:02] local.INFO: IMEI packet received {"connection_id":134482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":134482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:19:07] local.INFO: TCP Data received {"connection_id":134482,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:19:07] local.INFO: Processing buffer {"connection_id":134482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:19:07] local.INFO: IMEI packet received {"connection_id":134482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":134482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:19:08] local.INFO: TCP Data received {"connection_id":134482,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f637317f8012d7f92c005afd830000300502e..."} 
[2026-07-15 07:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f637317f8012d7f92c005afd830000300502e..."} 
[2026-07-15 07:19:08] local.INFO: Processing buffer {"connection_id":134482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f637317f8012d7f92c005afd830000300502e..."} 
[2026-07-15 07:19:08] local.INFO: Packet analysis {"connection_id":134482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6373"} 
[2026-07-15 07:19:08] local.INFO: Extracted packet for processing {"connection_id":134482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6373"} 
[2026-07-15 07:19:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":3,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724381184001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784079915000,"timestamp_ms":1784079915000,"timestamp_seconds":1784079915,"priority":1,"record_length":96,"hex_timestamp":"0000019f637317f8"} 
[2026-07-15 07:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-15 07:19:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724381184001,"66":25212,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724381184001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:19:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:19:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724381184001,"power":25212,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":134482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:19:08] local.INFO: GPS data processed {"connection_id":134482,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:19:08] local.INFO: Acknowledgment sent {"connection_id":134482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:19:39] local.INFO: TCP Data received {"connection_id":134482,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f637317f8012d7f92c005afd830000300502e..."} 
[2026-07-15 07:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f637317f8012d7f92c005afd830000300502e..."} 
[2026-07-15 07:19:39] local.INFO: Processing buffer {"connection_id":134482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f637317f8012d7f92c005afd830000300502e..."} 
[2026-07-15 07:19:39] local.INFO: Packet analysis {"connection_id":134482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6373"} 
[2026-07-15 07:19:39] local.INFO: Extracted packet for processing {"connection_id":134482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6373"} 
[2026-07-15 07:19:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":3,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07: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-07-15 07:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724381184001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:19:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784079915000,"timestamp_ms":1784079915000,"timestamp_seconds":1784079915,"priority":1,"record_length":96,"hex_timestamp":"0000019f637317f8"} 
[2026-07-15 07:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:19:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-15 07:19: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-07-15 07: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-07-15 07:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:19:39] 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-07-15 07:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724381184001,"66":25212,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724381184001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:19:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:19:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724381184001,"power":25212,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":134482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:19:39] local.INFO: GPS data processed {"connection_id":134482,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:19:39] local.INFO: Acknowledgment sent {"connection_id":134482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:19:40] local.INFO: TCP Data received {"connection_id":133113,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 07:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133113,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 07:19:40] local.INFO: Processing buffer {"connection_id":133113,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 07:19:40] local.INFO: IMEI packet received {"connection_id":133113,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 07:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":133113,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:20:01] local.INFO: TCP Data received {"connection_id":132101,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:20:01] local.INFO: Processing buffer {"connection_id":132101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:20:01] local.INFO: IMEI packet received {"connection_id":132101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":132101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:20:07] local.INFO: TCP Data received {"connection_id":132101,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:20:07] local.INFO: Processing buffer {"connection_id":132101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:20:07] local.INFO: IMEI packet received {"connection_id":132101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":132101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:20:07] local.INFO: TCP Data received {"connection_id":132101,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f637317f8012d7f92c005afd830000300502e..."} 
[2026-07-15 07:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f637317f8012d7f92c005afd830000300502e..."} 
[2026-07-15 07:20:07] local.INFO: Processing buffer {"connection_id":132101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f637317f8012d7f92c005afd830000300502e..."} 
[2026-07-15 07:20:07] local.INFO: Packet analysis {"connection_id":132101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6373"} 
[2026-07-15 07:20:07] local.INFO: Extracted packet for processing {"connection_id":132101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6373"} 
[2026-07-15 07:20:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":3,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724381184001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784079915000,"timestamp_ms":1784079915000,"timestamp_seconds":1784079915,"priority":1,"record_length":96,"hex_timestamp":"0000019f637317f8"} 
[2026-07-15 07:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-15 07:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:20:07] 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-07-15 07:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724381184001,"66":25212,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724381184001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:20:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:20:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724381184001,"power":25212,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":132101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:20:08] local.INFO: GPS data processed {"connection_id":132101,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:20:08] local.INFO: Acknowledgment sent {"connection_id":132101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:20:38] local.INFO: TCP Data received {"connection_id":132101,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f637317f8012d7f92c005afd830000300502e..."} 
[2026-07-15 07:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f637317f8012d7f92c005afd830000300502e..."} 
[2026-07-15 07:20:38] local.INFO: Processing buffer {"connection_id":132101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f637317f8012d7f92c005afd830000300502e..."} 
[2026-07-15 07:20:38] local.INFO: Packet analysis {"connection_id":132101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6373"} 
[2026-07-15 07:20:38] local.INFO: Extracted packet for processing {"connection_id":132101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6373"} 
[2026-07-15 07:20:38] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":3,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07: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-07-15 07:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724381184001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784079915000,"timestamp_ms":1784079915000,"timestamp_seconds":1784079915,"priority":1,"record_length":96,"hex_timestamp":"0000019f637317f8"} 
[2026-07-15 07:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-15 07:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07: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-07-15 07:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:20:38] 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-07-15 07:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724381184001,"66":25212,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724381184001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:20:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:20:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724381184001,"power":25212,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":132101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:20:39] local.INFO: GPS data processed {"connection_id":132101,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:20:39] local.INFO: Acknowledgment sent {"connection_id":132101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:21:07] local.INFO: TCP Data received {"connection_id":132102,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:21:07] local.INFO: Processing buffer {"connection_id":132102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:21:07] local.INFO: IMEI packet received {"connection_id":132102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":132102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:21:11] local.INFO: TCP Data received {"connection_id":132102,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:21:11] local.INFO: Processing buffer {"connection_id":132102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:21:11] local.INFO: IMEI packet received {"connection_id":132102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":132102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:21:14] local.INFO: TCP Data received {"connection_id":132102,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f6377afc0012d7f92c005afd830000300502f..."} 
[2026-07-15 07:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6377afc0012d7f92c005afd830000300502f..."} 
[2026-07-15 07:21:14] local.INFO: Processing buffer {"connection_id":132102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6377afc0012d7f92c005afd830000300502f..."} 
[2026-07-15 07:21:14] local.INFO: Packet analysis {"connection_id":132102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6377"} 
[2026-07-15 07:21:14] local.INFO: Extracted packet for processing {"connection_id":132102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6377"} 
[2026-07-15 07:21:14] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":3,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:21:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724458240001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:21:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:21:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:21:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:21:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784080216000,"timestamp_ms":1784080216000,"timestamp_seconds":1784080216,"priority":1,"record_length":96,"hex_timestamp":"0000019f6377afc0"} 
[2026-07-15 07:21:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:21:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-15 07:21:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:21:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:21:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:21:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":132102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":132102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":132102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:21:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:21:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:21:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:21:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724458240001,"66":25267,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:21:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:21:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:21:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724458240001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:21:14] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:21:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:21:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:21:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:21:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724458240001,"power":25267,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":132102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:21:14] local.INFO: GPS data processed {"connection_id":132102,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:21:14] local.INFO: Acknowledgment sent {"connection_id":132102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:21:19] local.INFO: TCP Data received {"connection_id":132102,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f6377afc0012d7f92c005afd830000300502f..."} 
[2026-07-15 07:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6377afc0012d7f92c005afd830000300502f..."} 
[2026-07-15 07:21:19] local.INFO: Processing buffer {"connection_id":132102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6377afc0012d7f92c005afd830000300502f..."} 
[2026-07-15 07:21:19] local.INFO: Packet analysis {"connection_id":132102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6377"} 
[2026-07-15 07:21:19] local.INFO: Extracted packet for processing {"connection_id":132102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6377"} 
[2026-07-15 07:21:19] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":3,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07: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-07-15 07:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724458240001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:21:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:21:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784080216000,"timestamp_ms":1784080216000,"timestamp_seconds":1784080216,"priority":1,"record_length":96,"hex_timestamp":"0000019f6377afc0"} 
[2026-07-15 07:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:21:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07: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":124,"data_length":795,"current_offset":136} 
[2026-07-15 07:21:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07: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-07-15 07:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":132102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":132102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":132102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07: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-07-15 07:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724458240001,"66":25267,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724458240001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:21:19] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:21:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:21:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724458240001,"power":25267,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":132102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:21:19] local.INFO: GPS data processed {"connection_id":132102,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:21:19] local.INFO: Acknowledgment sent {"connection_id":132102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:22:07] local.INFO: TCP Data received {"connection_id":132278,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:22:07] local.INFO: Processing buffer {"connection_id":132278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:22:07] local.INFO: IMEI packet received {"connection_id":132278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":132278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:22:12] local.INFO: TCP Data received {"connection_id":132278,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:22:12] local.INFO: Processing buffer {"connection_id":132278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:22:12] local.INFO: IMEI packet received {"connection_id":132278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":132278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:22:13] local.INFO: TCP Data received {"connection_id":132278,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f6377afc0012d7f92c005afd830000300502f..."} 
[2026-07-15 07:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6377afc0012d7f92c005afd830000300502f..."} 
[2026-07-15 07:22:13] local.INFO: Processing buffer {"connection_id":132278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6377afc0012d7f92c005afd830000300502f..."} 
[2026-07-15 07:22:13] local.INFO: Packet analysis {"connection_id":132278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6377"} 
[2026-07-15 07:22:13] local.INFO: Extracted packet for processing {"connection_id":132278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6377"} 
[2026-07-15 07:22:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":3,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07: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-07-15 07:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724458240001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784080216000,"timestamp_ms":1784080216000,"timestamp_seconds":1784080216,"priority":1,"record_length":96,"hex_timestamp":"0000019f6377afc0"} 
[2026-07-15 07:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:22:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-15 07:22:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07: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-07-15 07:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:22:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724458240001,"66":25267,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724458240001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:22:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:22:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724458240001,"power":25267,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":132278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:22:13] local.INFO: GPS data processed {"connection_id":132278,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:22:13] local.INFO: Acknowledgment sent {"connection_id":132278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:22:17] local.INFO: TCP Data received {"connection_id":132278,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f6377afc0012d7f92c005afd830000300502f..."} 
[2026-07-15 07:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6377afc0012d7f92c005afd830000300502f..."} 
[2026-07-15 07:22:17] local.INFO: Processing buffer {"connection_id":132278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6377afc0012d7f92c005afd830000300502f..."} 
[2026-07-15 07:22:17] local.INFO: Packet analysis {"connection_id":132278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6377"} 
[2026-07-15 07:22:17] local.INFO: Extracted packet for processing {"connection_id":132278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6377"} 
[2026-07-15 07:22:17] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":3,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07: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-07-15 07:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724458240001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:22:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:22:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784080216000,"timestamp_ms":1784080216000,"timestamp_seconds":1784080216,"priority":1,"record_length":96,"hex_timestamp":"0000019f6377afc0"} 
[2026-07-15 07:22:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:22:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-15 07:22:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07: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-07-15 07:22:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724458240001,"66":25267,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724458240001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:22:17] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:22:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:22:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724458240001,"power":25267,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":132278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:22:17] local.INFO: GPS data processed {"connection_id":132278,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:22:17] local.INFO: Acknowledgment sent {"connection_id":132278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:23:02] local.INFO: TCP Data received {"connection_id":132279,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:23:02] local.INFO: Processing buffer {"connection_id":132279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:23:02] local.INFO: IMEI packet received {"connection_id":132279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":132279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:23:07] local.INFO: TCP Data received {"connection_id":132279,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:23:07] local.INFO: Processing buffer {"connection_id":132279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:23:07] local.INFO: IMEI packet received {"connection_id":132279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":132279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:23:07] local.INFO: TCP Data received {"connection_id":132279,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f6377afc0012d7f92c005afd830000300502f..."} 
[2026-07-15 07:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6377afc0012d7f92c005afd830000300502f..."} 
[2026-07-15 07:23:07] local.INFO: Processing buffer {"connection_id":132279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6377afc0012d7f92c005afd830000300502f..."} 
[2026-07-15 07:23:07] local.INFO: Packet analysis {"connection_id":132279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6377"} 
[2026-07-15 07:23:07] local.INFO: Extracted packet for processing {"connection_id":132279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6377"} 
[2026-07-15 07:23:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":3,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07: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-07-15 07:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724458240001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784080216000,"timestamp_ms":1784080216000,"timestamp_seconds":1784080216,"priority":1,"record_length":96,"hex_timestamp":"0000019f6377afc0"} 
[2026-07-15 07:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-15 07:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07: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-07-15 07:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724458240001,"66":25267,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724458240001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:23:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:23:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724458240001,"power":25267,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":132279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:23:07] local.INFO: GPS data processed {"connection_id":132279,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:23:07] local.INFO: Acknowledgment sent {"connection_id":132279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:23:39] local.INFO: TCP Data received {"connection_id":132279,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f6377afc0012d7f92c005afd830000300502f..."} 
[2026-07-15 07:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6377afc0012d7f92c005afd830000300502f..."} 
[2026-07-15 07:23:39] local.INFO: Processing buffer {"connection_id":132279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6377afc0012d7f92c005afd830000300502f..."} 
[2026-07-15 07:23:39] local.INFO: Packet analysis {"connection_id":132279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6377"} 
[2026-07-15 07:23:39] local.INFO: Extracted packet for processing {"connection_id":132279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6377"} 
[2026-07-15 07:23:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":3,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724458240001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784080216000,"timestamp_ms":1784080216000,"timestamp_seconds":1784080216,"priority":1,"record_length":96,"hex_timestamp":"0000019f6377afc0"} 
[2026-07-15 07:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-15 07:23:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724458240001,"66":25267,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724458240001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:23:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:23:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724458240001,"power":25267,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":132279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:23:39] local.INFO: GPS data processed {"connection_id":132279,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:23:39] local.INFO: Acknowledgment sent {"connection_id":132279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:24:02] local.INFO: TCP Data received {"connection_id":133115,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:24:02] local.INFO: Processing buffer {"connection_id":133115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:24:02] local.INFO: IMEI packet received {"connection_id":133115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":133115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:24:07] local.INFO: TCP Data received {"connection_id":133115,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:24:07] local.INFO: Processing buffer {"connection_id":133115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:24:07] local.INFO: IMEI packet received {"connection_id":133115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":133115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:24:07] local.INFO: TCP Data received {"connection_id":133115,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f6377afc0012d7f92c005afd830000300502f..."} 
[2026-07-15 07:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6377afc0012d7f92c005afd830000300502f..."} 
[2026-07-15 07:24:07] local.INFO: Processing buffer {"connection_id":133115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6377afc0012d7f92c005afd830000300502f..."} 
[2026-07-15 07:24:07] local.INFO: Packet analysis {"connection_id":133115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6377"} 
[2026-07-15 07:24:07] local.INFO: Extracted packet for processing {"connection_id":133115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6377"} 
[2026-07-15 07:24:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":3,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07: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-07-15 07:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724458240001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784080216000,"timestamp_ms":1784080216000,"timestamp_seconds":1784080216,"priority":1,"record_length":96,"hex_timestamp":"0000019f6377afc0"} 
[2026-07-15 07:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-15 07:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07: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-07-15 07:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:24:07] 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-07-15 07:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724458240001,"66":25267,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724458240001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:24:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:24:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724458240001,"power":25267,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":133115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:24:07] local.INFO: GPS data processed {"connection_id":133115,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:24:07] local.INFO: Acknowledgment sent {"connection_id":133115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:24:39] local.INFO: TCP Data received {"connection_id":133115,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f6377afc0012d7f92c005afd830000300502f..."} 
[2026-07-15 07:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6377afc0012d7f92c005afd830000300502f..."} 
[2026-07-15 07:24:39] local.INFO: Processing buffer {"connection_id":133115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6377afc0012d7f92c005afd830000300502f..."} 
[2026-07-15 07:24:39] local.INFO: Packet analysis {"connection_id":133115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6377"} 
[2026-07-15 07:24:39] local.INFO: Extracted packet for processing {"connection_id":133115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6377"} 
[2026-07-15 07:24:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":3,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07: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-07-15 07:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724458240001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:24:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:24:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784080216000,"timestamp_ms":1784080216000,"timestamp_seconds":1784080216,"priority":1,"record_length":96,"hex_timestamp":"0000019f6377afc0"} 
[2026-07-15 07:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:24:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-15 07:24:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07: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-07-15 07:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:24:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724458240001,"66":25267,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724458240001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:24:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:24:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:24:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724458240001,"power":25267,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":133115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:24:39] local.INFO: GPS data processed {"connection_id":133115,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:24:39] local.INFO: Acknowledgment sent {"connection_id":133115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:25:02] local.INFO: TCP Data received {"connection_id":134485,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:25:02] local.INFO: Processing buffer {"connection_id":134485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:25:02] local.INFO: IMEI packet received {"connection_id":134485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":134485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:25:07] local.INFO: TCP Data received {"connection_id":134485,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:25:07] local.INFO: Processing buffer {"connection_id":134485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:25:07] local.INFO: IMEI packet received {"connection_id":134485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":134485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:25:08] local.INFO: TCP Data received {"connection_id":134485,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6377afc0012d7f92c005afd830000300502f..."} 
[2026-07-15 07:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6377afc0012d7f92c005afd830000300502f..."} 
[2026-07-15 07:25:08] local.INFO: Processing buffer {"connection_id":134485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6377afc0012d7f92c005afd830000300502f..."} 
[2026-07-15 07:25:08] local.INFO: Packet analysis {"connection_id":134485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6377"} 
[2026-07-15 07:25:08] local.INFO: Extracted packet for processing {"connection_id":134485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6377"} 
[2026-07-15 07:25:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":3,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724458240001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784080216000,"timestamp_ms":1784080216000,"timestamp_seconds":1784080216,"priority":1,"record_length":96,"hex_timestamp":"0000019f6377afc0"} 
[2026-07-15 07:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-15 07:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:25:08] 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-07-15 07:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724458240001,"66":25267,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724458240001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:25:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:25:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724458240001,"power":25267,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":134485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:25:08] local.INFO: GPS data processed {"connection_id":134485,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:25:08] local.INFO: Acknowledgment sent {"connection_id":134485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:25:15] local.INFO: TCP Data received {"connection_id":132103,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 07:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132103,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 07:25:15] local.INFO: Processing buffer {"connection_id":132103,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 07:25:15] local.INFO: IMEI packet received {"connection_id":132103,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 07:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":132103,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:25:39] local.INFO: TCP Data received {"connection_id":134485,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6377afc0012d7f92c005afd830000300502f..."} 
[2026-07-15 07:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6377afc0012d7f92c005afd830000300502f..."} 
[2026-07-15 07:25:39] local.INFO: Processing buffer {"connection_id":134485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6377afc0012d7f92c005afd830000300502f..."} 
[2026-07-15 07:25:39] local.INFO: Packet analysis {"connection_id":134485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6377"} 
[2026-07-15 07:25:39] local.INFO: Extracted packet for processing {"connection_id":134485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6377"} 
[2026-07-15 07:25:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":3,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724458240001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784080216000,"timestamp_ms":1784080216000,"timestamp_seconds":1784080216,"priority":1,"record_length":96,"hex_timestamp":"0000019f6377afc0"} 
[2026-07-15 07:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-15 07:25:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:25: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-07-15 07:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724458240001,"66":25267,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724458240001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:25:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:25:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724458240001,"power":25267,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":134485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:25:39] local.INFO: GPS data processed {"connection_id":134485,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:25:39] local.INFO: Acknowledgment sent {"connection_id":134485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:25:40] local.INFO: TCP Data received {"connection_id":133116,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 07:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133116,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 07:25:40] local.INFO: Processing buffer {"connection_id":133116,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 07:25:40] local.INFO: IMEI packet received {"connection_id":133116,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 07:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":133116,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:26:01] local.INFO: TCP Data received {"connection_id":132104,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:26:01] local.INFO: Processing buffer {"connection_id":132104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:26:01] local.INFO: IMEI packet received {"connection_id":132104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":132104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:26:07] local.INFO: TCP Data received {"connection_id":132104,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:26:07] local.INFO: Processing buffer {"connection_id":132104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:26:07] local.INFO: IMEI packet received {"connection_id":132104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":132104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:26:07] local.INFO: TCP Data received {"connection_id":132104,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f637c4788012d7f92c005afd830000300502e..."} 
[2026-07-15 07:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f637c4788012d7f92c005afd830000300502e..."} 
[2026-07-15 07:26:07] local.INFO: Processing buffer {"connection_id":132104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f637c4788012d7f92c005afd830000300502e..."} 
[2026-07-15 07:26:07] local.INFO: Packet analysis {"connection_id":132104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f637c"} 
[2026-07-15 07:26:07] local.INFO: Extracted packet for processing {"connection_id":132104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f637c"} 
[2026-07-15 07:26:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":3,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724535296001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784080517000,"timestamp_ms":1784080517000,"timestamp_seconds":1784080517,"priority":1,"record_length":96,"hex_timestamp":"0000019f637c4788"} 
[2026-07-15 07:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-15 07:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724535296001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724535296001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:26:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:26:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724535296001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":132104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:26:07] local.INFO: GPS data processed {"connection_id":132104,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:26:07] local.INFO: Acknowledgment sent {"connection_id":132104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:26:38] local.INFO: TCP Data received {"connection_id":132104,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f637c4788012d7f92c005afd830000300502e..."} 
[2026-07-15 07:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f637c4788012d7f92c005afd830000300502e..."} 
[2026-07-15 07:26:38] local.INFO: Processing buffer {"connection_id":132104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f637c4788012d7f92c005afd830000300502e..."} 
[2026-07-15 07:26:38] local.INFO: Packet analysis {"connection_id":132104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f637c"} 
[2026-07-15 07:26:38] local.INFO: Extracted packet for processing {"connection_id":132104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f637c"} 
[2026-07-15 07:26:38] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":3,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724535296001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784080517000,"timestamp_ms":1784080517000,"timestamp_seconds":1784080517,"priority":1,"record_length":96,"hex_timestamp":"0000019f637c4788"} 
[2026-07-15 07:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-15 07:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724535296001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724535296001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:26:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:26:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724535296001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":132104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:26:38] local.INFO: GPS data processed {"connection_id":132104,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:26:38] local.INFO: Acknowledgment sent {"connection_id":132104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:27:07] local.INFO: TCP Data received {"connection_id":133118,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:27:07] local.INFO: Processing buffer {"connection_id":133118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:27:07] local.INFO: IMEI packet received {"connection_id":133118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":133118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:27:12] local.INFO: TCP Data received {"connection_id":133118,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:27:12] local.INFO: Processing buffer {"connection_id":133118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:27:12] local.INFO: IMEI packet received {"connection_id":133118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":133118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:27:13] local.INFO: TCP Data received {"connection_id":133118,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f637c4788012d7f92c005afd830000300502e..."} 
[2026-07-15 07:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f637c4788012d7f92c005afd830000300502e..."} 
[2026-07-15 07:27:13] local.INFO: Processing buffer {"connection_id":133118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f637c4788012d7f92c005afd830000300502e..."} 
[2026-07-15 07:27:13] local.INFO: Packet analysis {"connection_id":133118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f637c"} 
[2026-07-15 07:27:13] local.INFO: Extracted packet for processing {"connection_id":133118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f637c"} 
[2026-07-15 07:27:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":3,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724535296001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784080517000,"timestamp_ms":1784080517000,"timestamp_seconds":1784080517,"priority":1,"record_length":96,"hex_timestamp":"0000019f637c4788"} 
[2026-07-15 07:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:27:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-15 07:27:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:27:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":133118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":133118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":133118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724535296001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724535296001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:27:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:27:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724535296001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":133118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:27:13] local.INFO: GPS data processed {"connection_id":133118,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:27:13] local.INFO: Acknowledgment sent {"connection_id":133118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:27:17] local.INFO: TCP Data received {"connection_id":133118,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f637c4788012d7f92c005afd830000300502e..."} 
[2026-07-15 07:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f637c4788012d7f92c005afd830000300502e..."} 
[2026-07-15 07:27:17] local.INFO: Processing buffer {"connection_id":133118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f637c4788012d7f92c005afd830000300502e..."} 
[2026-07-15 07:27:17] local.INFO: Packet analysis {"connection_id":133118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f637c"} 
[2026-07-15 07:27:17] local.INFO: Extracted packet for processing {"connection_id":133118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f637c"} 
[2026-07-15 07:27:17] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":3,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724535296001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:27:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784080517000,"timestamp_ms":1784080517000,"timestamp_seconds":1784080517,"priority":1,"record_length":96,"hex_timestamp":"0000019f637c4788"} 
[2026-07-15 07:27:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:27:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-15 07:27:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:27:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:27:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":133118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":133118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":133118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:27:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724535296001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724535296001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:27:17] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:27:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724535296001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":133118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:27:17] local.INFO: GPS data processed {"connection_id":133118,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:27:17] local.INFO: Acknowledgment sent {"connection_id":133118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:28:02] local.INFO: TCP Data received {"connection_id":134486,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:28:02] local.INFO: Processing buffer {"connection_id":134486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:28:02] local.INFO: IMEI packet received {"connection_id":134486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":134486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:28:07] local.INFO: TCP Data received {"connection_id":134486,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:28:07] local.INFO: Processing buffer {"connection_id":134486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:28:07] local.INFO: IMEI packet received {"connection_id":134486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":134486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:28:10] local.INFO: TCP Data received {"connection_id":134486,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f637c4788012d7f92c005afd830000300502e..."} 
[2026-07-15 07:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f637c4788012d7f92c005afd830000300502e..."} 
[2026-07-15 07:28:10] local.INFO: Processing buffer {"connection_id":134486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f637c4788012d7f92c005afd830000300502e..."} 
[2026-07-15 07:28:10] local.INFO: Packet analysis {"connection_id":134486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f637c"} 
[2026-07-15 07:28:10] local.INFO: Extracted packet for processing {"connection_id":134486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f637c"} 
[2026-07-15 07:28:10] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":3,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724535296001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784080517000,"timestamp_ms":1784080517000,"timestamp_seconds":1784080517,"priority":1,"record_length":96,"hex_timestamp":"0000019f637c4788"} 
[2026-07-15 07:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-15 07:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":134486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":134486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":134486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:28:10] 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-07-15 07:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724535296001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724535296001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:28:10] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:28:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724535296001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":134486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:28:10] local.INFO: GPS data processed {"connection_id":134486,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:28:10] local.INFO: Acknowledgment sent {"connection_id":134486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:28:41] local.INFO: TCP Data received {"connection_id":134486,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f637c4788012d7f92c005afd830000300502e..."} 
[2026-07-15 07:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f637c4788012d7f92c005afd830000300502e..."} 
[2026-07-15 07:28:41] local.INFO: Processing buffer {"connection_id":134486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f637c4788012d7f92c005afd830000300502e..."} 
[2026-07-15 07:28:41] local.INFO: Packet analysis {"connection_id":134486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f637c"} 
[2026-07-15 07:28:41] local.INFO: Extracted packet for processing {"connection_id":134486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f637c"} 
[2026-07-15 07:28:41] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":3,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724535296001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784080517000,"timestamp_ms":1784080517000,"timestamp_seconds":1784080517,"priority":1,"record_length":96,"hex_timestamp":"0000019f637c4788"} 
[2026-07-15 07:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-15 07:28:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":134486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":134486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":134486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:28:41] 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-07-15 07:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724535296001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724535296001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:28:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:28:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724535296001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":134486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:28:41] local.INFO: GPS data processed {"connection_id":134486,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:28:41] local.INFO: Acknowledgment sent {"connection_id":134486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:29:02] local.INFO: TCP Data received {"connection_id":133119,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:29:02] local.INFO: Processing buffer {"connection_id":133119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:29:02] local.INFO: IMEI packet received {"connection_id":133119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":133119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:29:07] local.INFO: TCP Data received {"connection_id":133119,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:29:07] local.INFO: Processing buffer {"connection_id":133119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:29:07] local.INFO: IMEI packet received {"connection_id":133119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":133119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:29:07] local.INFO: TCP Data received {"connection_id":133119,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f637c4788012d7f92c005afd830000300502e..."} 
[2026-07-15 07:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f637c4788012d7f92c005afd830000300502e..."} 
[2026-07-15 07:29:07] local.INFO: Processing buffer {"connection_id":133119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f637c4788012d7f92c005afd830000300502e..."} 
[2026-07-15 07:29:07] local.INFO: Packet analysis {"connection_id":133119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f637c"} 
[2026-07-15 07:29:07] local.INFO: Extracted packet for processing {"connection_id":133119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f637c"} 
[2026-07-15 07:29:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":3,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724535296001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784080517000,"timestamp_ms":1784080517000,"timestamp_seconds":1784080517,"priority":1,"record_length":96,"hex_timestamp":"0000019f637c4788"} 
[2026-07-15 07:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-15 07:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:29:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:29:07] 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-07-15 07:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724535296001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724535296001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:29:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:29:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724535296001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":133119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:29:07] local.INFO: GPS data processed {"connection_id":133119,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:29:07] local.INFO: Acknowledgment sent {"connection_id":133119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:29:39] local.INFO: TCP Data received {"connection_id":133119,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f637c4788012d7f92c005afd830000300502e..."} 
[2026-07-15 07:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f637c4788012d7f92c005afd830000300502e..."} 
[2026-07-15 07:29:39] local.INFO: Processing buffer {"connection_id":133119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f637c4788012d7f92c005afd830000300502e..."} 
[2026-07-15 07:29:39] local.INFO: Packet analysis {"connection_id":133119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f637c"} 
[2026-07-15 07:29:39] local.INFO: Extracted packet for processing {"connection_id":133119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f637c"} 
[2026-07-15 07:29:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":3,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724535296001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784080517000,"timestamp_ms":1784080517000,"timestamp_seconds":1784080517,"priority":1,"record_length":96,"hex_timestamp":"0000019f637c4788"} 
[2026-07-15 07:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:29:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-15 07:29:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:29:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724535296001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724535296001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:29:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:29:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724535296001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":133119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:29:39] local.INFO: GPS data processed {"connection_id":133119,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:29:39] local.INFO: Acknowledgment sent {"connection_id":133119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:30:02] local.INFO: TCP Data received {"connection_id":132282,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:30:02] local.INFO: Processing buffer {"connection_id":132282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:30:02] local.INFO: IMEI packet received {"connection_id":132282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":132282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:30:07] local.INFO: TCP Data received {"connection_id":132282,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:30:07] local.INFO: Processing buffer {"connection_id":132282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:30:07] local.INFO: IMEI packet received {"connection_id":132282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":132282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:30:08] local.INFO: TCP Data received {"connection_id":132282,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f637c4788012d7f92c005afd830000300502e..."} 
[2026-07-15 07:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f637c4788012d7f92c005afd830000300502e..."} 
[2026-07-15 07:30:08] local.INFO: Processing buffer {"connection_id":132282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f637c4788012d7f92c005afd830000300502e..."} 
[2026-07-15 07:30:08] local.INFO: Packet analysis {"connection_id":132282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f637c"} 
[2026-07-15 07:30:08] local.INFO: Extracted packet for processing {"connection_id":132282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f637c"} 
[2026-07-15 07:30:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":3,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07: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-07-15 07:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724535296001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784080517000,"timestamp_ms":1784080517000,"timestamp_seconds":1784080517,"priority":1,"record_length":96,"hex_timestamp":"0000019f637c4788"} 
[2026-07-15 07:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07: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":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-15 07:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07: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-07-15 07:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724535296001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724535296001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:30:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:30:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724535296001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":132282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:30:08] local.INFO: GPS data processed {"connection_id":132282,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:30:08] local.INFO: Acknowledgment sent {"connection_id":132282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:30:39] local.INFO: TCP Data received {"connection_id":132282,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f637c4788012d7f92c005afd830000300502e..."} 
[2026-07-15 07:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f637c4788012d7f92c005afd830000300502e..."} 
[2026-07-15 07:30:39] local.INFO: Processing buffer {"connection_id":132282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f637c4788012d7f92c005afd830000300502e..."} 
[2026-07-15 07:30:39] local.INFO: Packet analysis {"connection_id":132282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f637c"} 
[2026-07-15 07:30:39] local.INFO: Extracted packet for processing {"connection_id":132282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f637c"} 
[2026-07-15 07:30:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":3,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07: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-07-15 07:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724535296001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:30:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784080517000,"timestamp_ms":1784080517000,"timestamp_seconds":1784080517,"priority":1,"record_length":96,"hex_timestamp":"0000019f637c4788"} 
[2026-07-15 07:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:30:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07: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":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-15 07:30:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07: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-07-15 07:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:30:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724535296001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724535296001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:30:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:30:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724535296001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":132282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:30:39] local.INFO: GPS data processed {"connection_id":132282,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:30:39] local.INFO: Acknowledgment sent {"connection_id":132282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:31:01] local.INFO: TCP Data received {"connection_id":134487,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:31:01] local.INFO: Processing buffer {"connection_id":134487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:31:01] local.INFO: IMEI packet received {"connection_id":134487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":134487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:31:07] local.INFO: TCP Data received {"connection_id":134487,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:31:07] local.INFO: Processing buffer {"connection_id":134487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:31:07] local.INFO: IMEI packet received {"connection_id":134487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":134487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:31:08] local.INFO: TCP Data received {"connection_id":134487,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019f6380df50012d7f92c005afd830000000502e..."} 
[2026-07-15 07:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6380df50012d7f92c005afd830000000502e..."} 
[2026-07-15 07:31:08] local.INFO: Processing buffer {"connection_id":134487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6380df50012d7f92c005afd830000000502e..."} 
[2026-07-15 07:31:08] local.INFO: Packet analysis {"connection_id":134487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6380"} 
[2026-07-15 07:31:08] local.INFO: Extracted packet for processing {"connection_id":134487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6380"} 
[2026-07-15 07:31:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724612352001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784080818000,"timestamp_ms":1784080818000,"timestamp_seconds":1784080818,"priority":1,"record_length":96,"hex_timestamp":"0000019f6380df50"} 
[2026-07-15 07:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 07:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724612352001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724612352001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:31:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:31:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724612352001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":134487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:31:08] local.INFO: GPS data processed {"connection_id":134487,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:31:08] local.INFO: Acknowledgment sent {"connection_id":134487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:31:10] local.INFO: TCP Data received {"connection_id":133120,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 07:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133120,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 07:31:10] local.INFO: Processing buffer {"connection_id":133120,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 07:31:10] local.INFO: IMEI packet received {"connection_id":133120,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 07:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":133120,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:31:35] local.INFO: TCP Data received {"connection_id":132283,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 07:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132283,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 07:31:35] local.INFO: Processing buffer {"connection_id":132283,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 07:31:35] local.INFO: IMEI packet received {"connection_id":132283,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 07:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":132283,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:31:39] local.INFO: TCP Data received {"connection_id":134487,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019f6380df50012d7f92c005afd830000000502e..."} 
[2026-07-15 07:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6380df50012d7f92c005afd830000000502e..."} 
[2026-07-15 07:31:39] local.INFO: Processing buffer {"connection_id":134487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6380df50012d7f92c005afd830000000502e..."} 
[2026-07-15 07:31:39] local.INFO: Packet analysis {"connection_id":134487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6380"} 
[2026-07-15 07:31:39] local.INFO: Extracted packet for processing {"connection_id":134487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6380"} 
[2026-07-15 07:31:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07: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-07-15 07:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724612352001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784080818000,"timestamp_ms":1784080818000,"timestamp_seconds":1784080818,"priority":1,"record_length":96,"hex_timestamp":"0000019f6380df50"} 
[2026-07-15 07:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:31:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 07:31:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07: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-07-15 07:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724612352001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724612352001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:31:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:31:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724612352001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":134487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:31:39] local.INFO: GPS data processed {"connection_id":134487,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:31:39] local.INFO: Acknowledgment sent {"connection_id":134487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:32:02] local.INFO: TCP Data received {"connection_id":132107,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:32:02] local.INFO: Processing buffer {"connection_id":132107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:32:02] local.INFO: IMEI packet received {"connection_id":132107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":132107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:32:07] local.INFO: TCP Data received {"connection_id":132107,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:32:07] local.INFO: Processing buffer {"connection_id":132107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:32:07] local.INFO: IMEI packet received {"connection_id":132107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":132107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:32:08] local.INFO: TCP Data received {"connection_id":132107,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f6380df50012d7f92c005afd830000000502e..."} 
[2026-07-15 07:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6380df50012d7f92c005afd830000000502e..."} 
[2026-07-15 07:32:08] local.INFO: Processing buffer {"connection_id":132107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6380df50012d7f92c005afd830000000502e..."} 
[2026-07-15 07:32:08] local.INFO: Packet analysis {"connection_id":132107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6380"} 
[2026-07-15 07:32:08] local.INFO: Extracted packet for processing {"connection_id":132107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6380"} 
[2026-07-15 07:32:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724612352001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784080818000,"timestamp_ms":1784080818000,"timestamp_seconds":1784080818,"priority":1,"record_length":96,"hex_timestamp":"0000019f6380df50"} 
[2026-07-15 07:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 07:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:32:08] 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-07-15 07:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724612352001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724612352001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:32:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:32:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724612352001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":132107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:32:08] local.INFO: GPS data processed {"connection_id":132107,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:32:08] local.INFO: Acknowledgment sent {"connection_id":132107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:32:39] local.INFO: TCP Data received {"connection_id":132107,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f6380df50012d7f92c005afd830000000502e..."} 
[2026-07-15 07:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6380df50012d7f92c005afd830000000502e..."} 
[2026-07-15 07:32:39] local.INFO: Processing buffer {"connection_id":132107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6380df50012d7f92c005afd830000000502e..."} 
[2026-07-15 07:32:39] local.INFO: Packet analysis {"connection_id":132107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6380"} 
[2026-07-15 07:32:39] local.INFO: Extracted packet for processing {"connection_id":132107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6380"} 
[2026-07-15 07:32:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724612352001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784080818000,"timestamp_ms":1784080818000,"timestamp_seconds":1784080818,"priority":1,"record_length":96,"hex_timestamp":"0000019f6380df50"} 
[2026-07-15 07:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 07:32:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:32:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:32:39] 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-07-15 07:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724612352001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724612352001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:32:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:32:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724612352001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":132107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:32:39] local.INFO: GPS data processed {"connection_id":132107,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:32:39] local.INFO: Acknowledgment sent {"connection_id":132107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:33:02] local.INFO: TCP Data received {"connection_id":134488,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:33:02] local.INFO: Processing buffer {"connection_id":134488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:33:02] local.INFO: IMEI packet received {"connection_id":134488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":134488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:33:07] local.INFO: TCP Data received {"connection_id":134488,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:33:07] local.INFO: Processing buffer {"connection_id":134488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:33:07] local.INFO: IMEI packet received {"connection_id":134488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":134488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:33:08] local.INFO: TCP Data received {"connection_id":134488,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f6380df50012d7f92c005afd830000000502e..."} 
[2026-07-15 07:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6380df50012d7f92c005afd830000000502e..."} 
[2026-07-15 07:33:08] local.INFO: Processing buffer {"connection_id":134488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6380df50012d7f92c005afd830000000502e..."} 
[2026-07-15 07:33:08] local.INFO: Packet analysis {"connection_id":134488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6380"} 
[2026-07-15 07:33:08] local.INFO: Extracted packet for processing {"connection_id":134488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6380"} 
[2026-07-15 07:33:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724612352001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784080818000,"timestamp_ms":1784080818000,"timestamp_seconds":1784080818,"priority":1,"record_length":96,"hex_timestamp":"0000019f6380df50"} 
[2026-07-15 07:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 07:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:33:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:33:08] 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-07-15 07:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724612352001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724612352001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:33:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:33:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724612352001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":134488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:33:08] local.INFO: GPS data processed {"connection_id":134488,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:33:08] local.INFO: Acknowledgment sent {"connection_id":134488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:33:39] local.INFO: TCP Data received {"connection_id":134488,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f6380df50012d7f92c005afd830000000502e..."} 
[2026-07-15 07:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6380df50012d7f92c005afd830000000502e..."} 
[2026-07-15 07:33:39] local.INFO: Processing buffer {"connection_id":134488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6380df50012d7f92c005afd830000000502e..."} 
[2026-07-15 07:33:39] local.INFO: Packet analysis {"connection_id":134488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6380"} 
[2026-07-15 07:33:39] local.INFO: Extracted packet for processing {"connection_id":134488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6380"} 
[2026-07-15 07:33:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724612352001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784080818000,"timestamp_ms":1784080818000,"timestamp_seconds":1784080818,"priority":1,"record_length":96,"hex_timestamp":"0000019f6380df50"} 
[2026-07-15 07:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 07:33:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:33:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:33:39] 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-07-15 07:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724612352001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724612352001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:33:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:33:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724612352001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":134488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:33:39] local.INFO: GPS data processed {"connection_id":134488,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:33:39] local.INFO: Acknowledgment sent {"connection_id":134488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:34:02] local.INFO: TCP Data received {"connection_id":133121,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:34:02] local.INFO: Processing buffer {"connection_id":133121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:34:02] local.INFO: IMEI packet received {"connection_id":133121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":133121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:34:07] local.INFO: TCP Data received {"connection_id":133121,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:34:07] local.INFO: Processing buffer {"connection_id":133121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:34:07] local.INFO: IMEI packet received {"connection_id":133121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":133121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:34:07] local.INFO: TCP Data received {"connection_id":133121,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f6380df50012d7f92c005afd830000000502e..."} 
[2026-07-15 07:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6380df50012d7f92c005afd830000000502e..."} 
[2026-07-15 07:34:07] local.INFO: Processing buffer {"connection_id":133121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6380df50012d7f92c005afd830000000502e..."} 
[2026-07-15 07:34:07] local.INFO: Packet analysis {"connection_id":133121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6380"} 
[2026-07-15 07:34:07] local.INFO: Extracted packet for processing {"connection_id":133121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6380"} 
[2026-07-15 07:34:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724612352001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784080818000,"timestamp_ms":1784080818000,"timestamp_seconds":1784080818,"priority":1,"record_length":96,"hex_timestamp":"0000019f6380df50"} 
[2026-07-15 07:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 07:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:34:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:34:07] 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-07-15 07:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724612352001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724612352001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:34:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:34:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724612352001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":133121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:34:07] local.INFO: GPS data processed {"connection_id":133121,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:34:07] local.INFO: Acknowledgment sent {"connection_id":133121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:34:38] local.INFO: TCP Data received {"connection_id":133121,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f6380df50012d7f92c005afd830000000502e..."} 
[2026-07-15 07:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6380df50012d7f92c005afd830000000502e..."} 
[2026-07-15 07:34:38] local.INFO: Processing buffer {"connection_id":133121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6380df50012d7f92c005afd830000000502e..."} 
[2026-07-15 07:34:38] local.INFO: Packet analysis {"connection_id":133121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6380"} 
[2026-07-15 07:34:38] local.INFO: Extracted packet for processing {"connection_id":133121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6380"} 
[2026-07-15 07:34:38] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724612352001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784080818000,"timestamp_ms":1784080818000,"timestamp_seconds":1784080818,"priority":1,"record_length":96,"hex_timestamp":"0000019f6380df50"} 
[2026-07-15 07:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 07:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:34:38] 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-07-15 07:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724612352001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724612352001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:34:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:34:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724612352001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":133121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:34:38] local.INFO: GPS data processed {"connection_id":133121,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:34:38] local.INFO: Acknowledgment sent {"connection_id":133121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:35:01] local.INFO: TCP Data received {"connection_id":134490,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:35:01] local.INFO: Processing buffer {"connection_id":134490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:35:01] local.INFO: IMEI packet received {"connection_id":134490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":134490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:35:07] local.INFO: TCP Data received {"connection_id":134490,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:35:07] local.INFO: Processing buffer {"connection_id":134490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:35:07] local.INFO: IMEI packet received {"connection_id":134490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":134490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:35:07] local.INFO: TCP Data received {"connection_id":134490,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6380df50012d7f92c005afd830000000502e..."} 
[2026-07-15 07:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6380df50012d7f92c005afd830000000502e..."} 
[2026-07-15 07:35:07] local.INFO: Processing buffer {"connection_id":134490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6380df50012d7f92c005afd830000000502e..."} 
[2026-07-15 07:35:07] local.INFO: Packet analysis {"connection_id":134490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6380"} 
[2026-07-15 07:35:07] local.INFO: Extracted packet for processing {"connection_id":134490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6380"} 
[2026-07-15 07:35:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724612352001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784080818000,"timestamp_ms":1784080818000,"timestamp_seconds":1784080818,"priority":1,"record_length":96,"hex_timestamp":"0000019f6380df50"} 
[2026-07-15 07:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 07:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724612352001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724612352001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:35:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:35:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724612352001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":134490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:35:08] local.INFO: GPS data processed {"connection_id":134490,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:35:08] local.INFO: Acknowledgment sent {"connection_id":134490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:35:39] local.INFO: TCP Data received {"connection_id":134490,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6380df50012d7f92c005afd830000000502e..."} 
[2026-07-15 07:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6380df50012d7f92c005afd830000000502e..."} 
[2026-07-15 07:35:39] local.INFO: Processing buffer {"connection_id":134490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6380df50012d7f92c005afd830000000502e..."} 
[2026-07-15 07:35:39] local.INFO: Packet analysis {"connection_id":134490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6380"} 
[2026-07-15 07:35:39] local.INFO: Extracted packet for processing {"connection_id":134490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6380"} 
[2026-07-15 07:35:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724612352001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784080818000,"timestamp_ms":1784080818000,"timestamp_seconds":1784080818,"priority":1,"record_length":96,"hex_timestamp":"0000019f6380df50"} 
[2026-07-15 07:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:35:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 07:35:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:35:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:35: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-07-15 07:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724612352001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724612352001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:35:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:35:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724612352001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":134490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:35:39] local.INFO: GPS data processed {"connection_id":134490,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:35:39] local.INFO: Acknowledgment sent {"connection_id":134490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:36:01] local.INFO: TCP Data received {"connection_id":132285,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:36:01] local.INFO: Processing buffer {"connection_id":132285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:36:01] local.INFO: IMEI packet received {"connection_id":132285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":132285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:36:07] local.INFO: TCP Data received {"connection_id":132285,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:36:07] local.INFO: Processing buffer {"connection_id":132285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:36:07] local.INFO: IMEI packet received {"connection_id":132285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":132285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:36:07] local.INFO: TCP Data received {"connection_id":132285,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f63857718012d7f92c005afd8300000005030..."} 
[2026-07-15 07:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63857718012d7f92c005afd8300000005030..."} 
[2026-07-15 07:36:07] local.INFO: Processing buffer {"connection_id":132285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63857718012d7f92c005afd8300000005030..."} 
[2026-07-15 07:36:07] local.INFO: Packet analysis {"connection_id":132285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6385"} 
[2026-07-15 07:36:07] local.INFO: Extracted packet for processing {"connection_id":132285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6385"} 
[2026-07-15 07:36:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":48,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724689408001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784081119000,"timestamp_ms":1784081119000,"timestamp_seconds":1784081119,"priority":1,"record_length":96,"hex_timestamp":"0000019f63857718"} 
[2026-07-15 07:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 07:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:36:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:36:07] 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-07-15 07:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724689408001,"66":25201,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724689408001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:36:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:36:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724689408001,"power":25201,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":132285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:36:08] local.INFO: GPS data processed {"connection_id":132285,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:36:08] local.INFO: Acknowledgment sent {"connection_id":132285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:36:39] local.INFO: TCP Data received {"connection_id":132285,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f63857718012d7f92c005afd8300000005030..."} 
[2026-07-15 07:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63857718012d7f92c005afd8300000005030..."} 
[2026-07-15 07:36:39] local.INFO: Processing buffer {"connection_id":132285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63857718012d7f92c005afd8300000005030..."} 
[2026-07-15 07:36:39] local.INFO: Packet analysis {"connection_id":132285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6385"} 
[2026-07-15 07:36:39] local.INFO: Extracted packet for processing {"connection_id":132285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6385"} 
[2026-07-15 07:36:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":48,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724689408001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784081119000,"timestamp_ms":1784081119000,"timestamp_seconds":1784081119,"priority":1,"record_length":96,"hex_timestamp":"0000019f63857718"} 
[2026-07-15 07:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:36:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 07:36:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:36:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:36:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724689408001,"66":25201,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724689408001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:36:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:36:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724689408001,"power":25201,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":132285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:36:39] local.INFO: GPS data processed {"connection_id":132285,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:36:39] local.INFO: Acknowledgment sent {"connection_id":132285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:37:02] local.INFO: TCP Data received {"connection_id":132286,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:37:02] local.INFO: Processing buffer {"connection_id":132286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:37:02] local.INFO: IMEI packet received {"connection_id":132286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":132286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:37:07] local.INFO: TCP Data received {"connection_id":132286,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:37:07] local.INFO: Processing buffer {"connection_id":132286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:37:07] local.INFO: IMEI packet received {"connection_id":132286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":132286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:37:08] local.INFO: TCP Data received {"connection_id":132286,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f63857718012d7f92c005afd8300000005030..."} 
[2026-07-15 07:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63857718012d7f92c005afd8300000005030..."} 
[2026-07-15 07:37:08] local.INFO: Processing buffer {"connection_id":132286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63857718012d7f92c005afd8300000005030..."} 
[2026-07-15 07:37:08] local.INFO: Packet analysis {"connection_id":132286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6385"} 
[2026-07-15 07:37:08] local.INFO: Extracted packet for processing {"connection_id":132286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6385"} 
[2026-07-15 07:37:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":48,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724689408001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784081119000,"timestamp_ms":1784081119000,"timestamp_seconds":1784081119,"priority":1,"record_length":96,"hex_timestamp":"0000019f63857718"} 
[2026-07-15 07:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 07:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724689408001,"66":25201,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724689408001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:37:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:37:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724689408001,"power":25201,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":132286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:37:08] local.INFO: GPS data processed {"connection_id":132286,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:37:08] local.INFO: Acknowledgment sent {"connection_id":132286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:37:35] local.INFO: TCP Data received {"connection_id":134491,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 07:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134491,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 07:37:35] local.INFO: Processing buffer {"connection_id":134491,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 07:37:35] local.INFO: IMEI packet received {"connection_id":134491,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 07:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":134491,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:37:39] local.INFO: TCP Data received {"connection_id":132286,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f63857718012d7f92c005afd8300000005030..."} 
[2026-07-15 07:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63857718012d7f92c005afd8300000005030..."} 
[2026-07-15 07:37:39] local.INFO: Processing buffer {"connection_id":132286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63857718012d7f92c005afd8300000005030..."} 
[2026-07-15 07:37:39] local.INFO: Packet analysis {"connection_id":132286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6385"} 
[2026-07-15 07:37:39] local.INFO: Extracted packet for processing {"connection_id":132286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6385"} 
[2026-07-15 07:37:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":48,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724689408001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:37:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784081119000,"timestamp_ms":1784081119000,"timestamp_seconds":1784081119,"priority":1,"record_length":96,"hex_timestamp":"0000019f63857718"} 
[2026-07-15 07:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:37:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 07:37:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:37:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:37:39] 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-07-15 07:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724689408001,"66":25201,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724689408001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:37:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:37:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724689408001,"power":25201,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":132286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:37:39] local.INFO: GPS data processed {"connection_id":132286,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:37:39] local.INFO: Acknowledgment sent {"connection_id":132286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:37:50] local.INFO: TCP Data received {"connection_id":134492,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134492,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:37:50] local.INFO: Processing buffer {"connection_id":134492,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:37:50] local.INFO: IMEI packet received {"connection_id":134492,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 07:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":134492,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:37:51] local.INFO: TCP Data received {"connection_id":134492,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134492,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:37:51] local.INFO: Processing buffer {"connection_id":134492,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:37:51] local.INFO: IMEI packet received {"connection_id":134492,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 07:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":134492,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:37:54] local.INFO: TCP Data received {"connection_id":134492,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134492,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:37:54] local.INFO: Processing buffer {"connection_id":134492,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:37:54] local.INFO: IMEI packet received {"connection_id":134492,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 07:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":134492,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:37:56] local.INFO: TCP Data received {"connection_id":134492,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-15 07:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134492,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-15 07:37:56] local.INFO: Processing buffer {"connection_id":134492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-15 07:37:56] local.INFO: Packet analysis {"connection_id":134492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-15 07:37:56] local.INFO: Extracted packet for processing {"connection_id":134492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-15 07:37:56] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-15 07: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-07-15 07:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106221632221085696,"note":"Value kept but may cause issues"} 
[2026-07-15 07:37:56] 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-07-15 07:37:56] 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-07-15 07:37:56] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-15 07:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":134492,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":134492,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-15 07:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":134492,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-15 07:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-15 07:37:56] local.WARNING: DEBUG: No valid data to process  
[2026-07-15 07:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":134492,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-15 07:37:56] local.ERROR: GPS data processing failed {"connection_id":134492,"error":"No valid data to process"} 
[2026-07-15 07:37:56] local.INFO: Acknowledgment sent {"connection_id":134492,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-15 07:38:02] local.INFO: TCP Data received {"connection_id":134493,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:38:02] local.INFO: Processing buffer {"connection_id":134493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:38:02] local.INFO: IMEI packet received {"connection_id":134493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":134493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:38:07] local.INFO: TCP Data received {"connection_id":134493,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:38:07] local.INFO: Processing buffer {"connection_id":134493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:38:07] local.INFO: IMEI packet received {"connection_id":134493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":134493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:38:07] local.INFO: TCP Data received {"connection_id":134493,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f63857718012d7f92c005afd8300000005030..."} 
[2026-07-15 07:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63857718012d7f92c005afd8300000005030..."} 
[2026-07-15 07:38:07] local.INFO: Processing buffer {"connection_id":134493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63857718012d7f92c005afd8300000005030..."} 
[2026-07-15 07:38:07] local.INFO: Packet analysis {"connection_id":134493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6385"} 
[2026-07-15 07:38:07] local.INFO: Extracted packet for processing {"connection_id":134493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6385"} 
[2026-07-15 07:38:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":48,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724689408001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784081119000,"timestamp_ms":1784081119000,"timestamp_seconds":1784081119,"priority":1,"record_length":96,"hex_timestamp":"0000019f63857718"} 
[2026-07-15 07:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 07:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:38:07] 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-07-15 07:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724689408001,"66":25201,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724689408001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:38:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:38:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724689408001,"power":25201,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":134493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:38:07] local.INFO: GPS data processed {"connection_id":134493,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:38:07] local.INFO: Acknowledgment sent {"connection_id":134493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:38:28] local.INFO: TCP Data received {"connection_id":134492,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f6387e430012d7fa48005dc6780000c000009..."} 
[2026-07-15 07:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6387e430012d7fa48005dc6780000c000009..."} 
[2026-07-15 07:38:28] local.INFO: Processing buffer {"connection_id":134492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6387e430012d7fa48005dc6780000c000009..."} 
[2026-07-15 07:38:28] local.INFO: Packet analysis {"connection_id":134492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6387"} 
[2026-07-15 07:38:28] local.INFO: Extracted packet for processing {"connection_id":134492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6387"} 
[2026-07-15 07:38:28] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":98330496,"longitude_deg":76.3339904,"latitude_deg":9.8330496,"altitude":12,"angle":0,"satellites":9,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05dc6780","is_valid_coordinates":true} 
[2026-07-15 07:38:28] 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-07-15 07:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106221632221085696,"note":"Value kept but may cause issues"} 
[2026-07-15 07:38:28] 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-07-15 07:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784081278000,"timestamp_ms":1784081278000,"timestamp_seconds":1784081278,"priority":1,"record_length":96,"hex_timestamp":"0000019f6387e430"} 
[2026-07-15 07:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:38: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-07-15 07: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-07-15 07:38:28] 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-07-15 07: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-07-15 07:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":134492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":134492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":134492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:38:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 07:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 07:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13624,"53":206,"85":15104,"24":0,"16":106221632221085696},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16]} 
[2026-07-15 07:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 07:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 07:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-15 07:38:28] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-15 07:38:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 07:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106221632221085696,"km_value":106221632221085.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:38:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13624,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-07-15 07:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":134492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489769,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:38:28] local.INFO: GPS data processed {"connection_id":134492,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:38:28] local.INFO: Acknowledgment sent {"connection_id":134492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:38:35] local.INFO: TCP Data received {"connection_id":134494,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 07:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134494,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 07:38:35] local.INFO: Processing buffer {"connection_id":134494,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 07:38:35] local.INFO: IMEI packet received {"connection_id":134494,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 07:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":134494,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:38:38] local.INFO: TCP Data received {"connection_id":134493,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f63857718012d7f92c005afd8300000005030..."} 
[2026-07-15 07:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63857718012d7f92c005afd8300000005030..."} 
[2026-07-15 07:38:38] local.INFO: Processing buffer {"connection_id":134493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63857718012d7f92c005afd8300000005030..."} 
[2026-07-15 07:38:38] local.INFO: Packet analysis {"connection_id":134493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6385"} 
[2026-07-15 07:38:38] local.INFO: Extracted packet for processing {"connection_id":134493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6385"} 
[2026-07-15 07:38:38] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":48,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724689408001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784081119000,"timestamp_ms":1784081119000,"timestamp_seconds":1784081119,"priority":1,"record_length":96,"hex_timestamp":"0000019f63857718"} 
[2026-07-15 07:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 07:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724689408001,"66":25201,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724689408001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:38:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:38:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724689408001,"power":25201,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":134493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:38:38] local.INFO: GPS data processed {"connection_id":134493,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:38:38] local.INFO: Acknowledgment sent {"connection_id":134493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:38:59] local.INFO: TCP Data received {"connection_id":134492,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f63889bc8012d7fa24005dc7db8001100660f..."} 
[2026-07-15 07:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63889bc8012d7fa24005dc7db8001100660f..."} 
[2026-07-15 07:38:59] local.INFO: Processing buffer {"connection_id":134492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63889bc8012d7fa24005dc7db8001100660f..."} 
[2026-07-15 07:38:59] local.INFO: Packet analysis {"connection_id":134492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6388"} 
[2026-07-15 07:38:59] local.INFO: Extracted packet for processing {"connection_id":134492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6388"} 
[2026-07-15 07:38:59] local.INFO: GPS Element Parsed {"raw_longitude":763339328,"raw_latitude":98336184,"longitude_deg":76.3339328,"latitude_deg":9.8336184,"altitude":17,"angle":102,"satellites":15,"speed":10,"hex_longitude":"2d7fa240","hex_latitude":"05dc7db8","is_valid_coordinates":true} 
[2026-07-15 07:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724818432001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106221988703371264,"note":"Value kept but may cause issues"} 
[2026-07-15 07:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196209726776250368,"note":"Value kept but may cause issues"} 
[2026-07-15 07:38: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-07-15 07:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784081325000,"timestamp_ms":1784081325000,"timestamp_seconds":1784081325,"priority":1,"record_length":96,"hex_timestamp":"0000019f63889bc8"} 
[2026-07-15 07:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2304,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 07:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-15 07:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751610208,"note":"Value kept but may cause issues"} 
[2026-07-15 07:38:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 07:38:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":8746006969027919872,"note":"Value kept but may cause issues"} 
[2026-07-15 07:38:59] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-15 07:38:59] local.WARNING: Large IO value detected {"io_id":99,"raw_value":2288582657,"note":"Value kept but may cause issues"} 
[2026-07-15 07:38:59] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636142283680053,"note":"Value kept but may cause issues"} 
[2026-07-15 07:38:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1765081294,"corrected_to":0} 
[2026-07-15 07:38:59] local.WARNING: Large IO value detected {"io_id":165,"raw_value":2147867754,"note":"Value kept but may cause issues"} 
[2026-07-15 07:38:59] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-3026193097848467883,"note":"Value kept but may cause issues"} 
[2026-07-15 07:38:59] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-15 07:38:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3697909760,"note":"Value kept but may cause issues"} 
[2026-07-15 07:38:59] local.WARNING: Large IO value detected {"io_id":127,"raw_value":-6485177019203059703,"note":"Value kept but may cause issues"} 
[2026-07-15 07:38:59] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755412326088945,"note":"Value kept but may cause issues"} 
[2026-07-15 07:38:59] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,53,85,24,241,157,16,96,159,140,45,64,125,15,10,66,128,124,120,1,240,116,227,99,220,4,113,205,12,58,165,192,14,239,52,2,121,5,3,127,59],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1765081294,"validated":0}]} 
[2026-07-15 07:38:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153012828496723968,"timestamp_seconds":1153012828496724.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 07:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":134492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":134492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":134492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 07:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 07:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724818432001,"66":13646,"53":206,"85":15104,"24":10,"16":106221988703371264,"45":9196209726776250368},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-15 07:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 07:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 07:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724818432001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:38:59] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-15 07:38:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 07:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106221988703371264,"km_value":106221988703371.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196209726776250368,"description":"Unknown IO ID 45"} 
[2026-07-15 07:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724818432001,"power":13646,"unknown_53":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9196209726776250368}} 
[2026-07-15 07:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":134492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489771,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:38:59] local.INFO: GPS data processed {"connection_id":134492,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:38:59] local.INFO: Acknowledgment sent {"connection_id":134492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:39:01] local.INFO: TCP Data received {"connection_id":133123,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:39:01] local.INFO: Processing buffer {"connection_id":133123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:39:01] local.INFO: IMEI packet received {"connection_id":133123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":133123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:39:07] local.INFO: TCP Data received {"connection_id":133123,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:39:07] local.INFO: Processing buffer {"connection_id":133123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:39:07] local.INFO: IMEI packet received {"connection_id":133123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":133123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:39:08] local.INFO: TCP Data received {"connection_id":133123,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f63857718012d7f92c005afd8300000005030..."} 
[2026-07-15 07:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63857718012d7f92c005afd8300000005030..."} 
[2026-07-15 07:39:08] local.INFO: Processing buffer {"connection_id":133123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63857718012d7f92c005afd8300000005030..."} 
[2026-07-15 07:39:08] local.INFO: Packet analysis {"connection_id":133123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6385"} 
[2026-07-15 07:39:08] local.INFO: Extracted packet for processing {"connection_id":133123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6385"} 
[2026-07-15 07:39:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":48,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724689408001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784081119000,"timestamp_ms":1784081119000,"timestamp_seconds":1784081119,"priority":1,"record_length":96,"hex_timestamp":"0000019f63857718"} 
[2026-07-15 07:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 07:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":133123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":133123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":133123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724689408001,"66":25201,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724689408001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:39:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:39:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724689408001,"power":25201,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":133123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:39:08] local.INFO: GPS data processed {"connection_id":133123,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:39:08] local.INFO: Acknowledgment sent {"connection_id":133123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:39:31] local.INFO: TCP Data received {"connection_id":134492,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f6388b338012d7faa0005dc7ce0001200530f..."} 
[2026-07-15 07:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6388b338012d7faa0005dc7ce0001200530f..."} 
[2026-07-15 07:39:31] local.INFO: Processing buffer {"connection_id":134492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6388b338012d7faa0005dc7ce0001200530f..."} 
[2026-07-15 07:39:31] local.INFO: Packet analysis {"connection_id":134492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6388"} 
[2026-07-15 07:39:31] local.INFO: Extracted packet for processing {"connection_id":134492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6388"} 
[2026-07-15 07:39:31] local.INFO: GPS Element Parsed {"raw_longitude":763341312,"raw_latitude":98335968,"longitude_deg":76.3341312,"latitude_deg":9.8335968,"altitude":18,"angle":83,"satellites":15,"speed":15,"hex_longitude":"2d7faa00","hex_latitude":"05dc7ce0","is_valid_coordinates":true} 
[2026-07-15 07:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724819200001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106222087487619072,"note":"Value kept but may cause issues"} 
[2026-07-15 07:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196983782962214912,"note":"Value kept but may cause issues"} 
[2026-07-15 07:39: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-07-15 07:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784081331000,"timestamp_ms":1784081331000,"timestamp_seconds":1784081331,"priority":1,"record_length":96,"hex_timestamp":"0000019f6388b338"} 
[2026-07-15 07:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:39:31] 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-07-15 07:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-07-15 07:39:31] 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-07-15 07:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":134492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":134492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":134492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 07:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 07:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724819200001,"66":13091,"53":206,"85":15104,"24":15,"16":106222087487619072,"45":9196983782962214912},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-15 07:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 07:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 07:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724819200001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:39:31] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-15 07:39:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 07:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106222087487619072,"km_value":106222087487619.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196983782962214912,"description":"Unknown IO ID 45"} 
[2026-07-15 07:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724819200001,"power":13091,"unknown_53":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":9196983782962214912}} 
[2026-07-15 07:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":134492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489773,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:39:31] local.INFO: GPS data processed {"connection_id":134492,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:39:31] local.INFO: Acknowledgment sent {"connection_id":134492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:39:39] local.INFO: TCP Data received {"connection_id":133123,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f63857718012d7f92c005afd8300000005030..."} 
[2026-07-15 07:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63857718012d7f92c005afd8300000005030..."} 
[2026-07-15 07:39:39] local.INFO: Processing buffer {"connection_id":133123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63857718012d7f92c005afd8300000005030..."} 
[2026-07-15 07:39:39] local.INFO: Packet analysis {"connection_id":133123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6385"} 
[2026-07-15 07:39:39] local.INFO: Extracted packet for processing {"connection_id":133123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6385"} 
[2026-07-15 07:39:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":48,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:39: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-07-15 07:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724689408001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:39:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784081119000,"timestamp_ms":1784081119000,"timestamp_seconds":1784081119,"priority":1,"record_length":96,"hex_timestamp":"0000019f63857718"} 
[2026-07-15 07:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:39:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:39: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":135,"data_length":795,"current_offset":136} 
[2026-07-15 07:39:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:39: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-07-15 07:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:39:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724689408001,"66":25201,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724689408001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:39:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:39:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724689408001,"power":25201,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":133123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:39:39] local.INFO: GPS data processed {"connection_id":133123,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:39:39] local.INFO: Acknowledgment sent {"connection_id":133123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:40:01] local.INFO: TCP Data received {"connection_id":134495,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:40:01] local.INFO: Processing buffer {"connection_id":134495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:40:01] local.INFO: IMEI packet received {"connection_id":134495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":134495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:40:02] local.INFO: TCP Data received {"connection_id":134492,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f6389b508012d806e4005dca0f00007007810..."} 
[2026-07-15 07:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6389b508012d806e4005dca0f00007007810..."} 
[2026-07-15 07:40:02] local.INFO: Processing buffer {"connection_id":134492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6389b508012d806e4005dca0f00007007810..."} 
[2026-07-15 07:40:02] local.INFO: Packet analysis {"connection_id":134492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6389"} 
[2026-07-15 07:40:02] local.INFO: Extracted packet for processing {"connection_id":134492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6389"} 
[2026-07-15 07:40:02] local.INFO: GPS Element Parsed {"raw_longitude":763391552,"raw_latitude":98345200,"longitude_deg":76.3391552,"latitude_deg":9.83452,"altitude":7,"angle":120,"satellites":16,"speed":8,"hex_longitude":"2d806e40","hex_latitude":"05dca0f0","is_valid_coordinates":true} 
[2026-07-15 07:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724836096001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106224612928389120,"note":"Value kept but may cause issues"} 
[2026-07-15 07:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9193465295402516480,"note":"Value kept but may cause issues"} 
[2026-07-15 07:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784081397000,"timestamp_ms":1784081397000,"timestamp_seconds":1784081397,"priority":1,"record_length":96,"hex_timestamp":"0000019f6389b508"} 
[2026-07-15 07:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:40:02] 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-07-15 07:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-15 07:40:02] 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-07-15 07:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":134492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":134492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":134492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 07:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 07:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724836096001,"66":12885,"251":206,"85":15104,"24":8,"16":106224612928389120,"45":-9193465295402516480},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-15 07:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 07:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 07:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724836096001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:40:02] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-15 07:40:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 07:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106224612928389120,"km_value":106224612928389.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9193465295402516480,"description":"Unknown IO ID 45"} 
[2026-07-15 07:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724836096001,"power":12885,"unknown_251":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-9193465295402516480}} 
[2026-07-15 07:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":134492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489775,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:40:02] local.INFO: GPS data processed {"connection_id":134492,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:40:02] local.INFO: Acknowledgment sent {"connection_id":134492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:40:07] local.INFO: TCP Data received {"connection_id":134495,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:40:07] local.INFO: Processing buffer {"connection_id":134495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:40:07] local.INFO: IMEI packet received {"connection_id":134495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":134495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:40:07] local.INFO: TCP Data received {"connection_id":134495,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63857718012d7f92c005afd8300000005030..."} 
[2026-07-15 07:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63857718012d7f92c005afd8300000005030..."} 
[2026-07-15 07:40:07] local.INFO: Processing buffer {"connection_id":134495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63857718012d7f92c005afd8300000005030..."} 
[2026-07-15 07:40:07] local.INFO: Packet analysis {"connection_id":134495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6385"} 
[2026-07-15 07:40:07] local.INFO: Extracted packet for processing {"connection_id":134495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6385"} 
[2026-07-15 07:40:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":48,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724689408001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784081119000,"timestamp_ms":1784081119000,"timestamp_seconds":1784081119,"priority":1,"record_length":96,"hex_timestamp":"0000019f63857718"} 
[2026-07-15 07:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 07:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:40:07] 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-07-15 07:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724689408001,"66":25201,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724689408001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:40:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:40:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724689408001,"power":25201,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":134495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:40:07] local.INFO: GPS data processed {"connection_id":134495,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:40:07] local.INFO: Acknowledgment sent {"connection_id":134495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:40:32] local.INFO: TCP Data received {"connection_id":134492,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f6389b8f0012d806f8005dca0d80007005610..."} 
[2026-07-15 07:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6389b8f0012d806f8005dca0d80007005610..."} 
[2026-07-15 07:40:32] local.INFO: Processing buffer {"connection_id":134492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6389b8f0012d806f8005dca0d80007005610..."} 
[2026-07-15 07:40:32] local.INFO: Packet analysis {"connection_id":134492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6389"} 
[2026-07-15 07:40:32] local.INFO: Extracted packet for processing {"connection_id":134492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6389"} 
[2026-07-15 07:40:32] local.INFO: GPS Element Parsed {"raw_longitude":763391872,"raw_latitude":98345176,"longitude_deg":76.3391872,"latitude_deg":9.8345176,"altitude":7,"angle":86,"satellites":16,"speed":9,"hex_longitude":"2d806f80","hex_latitude":"05dca0d8","is_valid_coordinates":true} 
[2026-07-15 07:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724837632001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106224625813291008,"note":"Value kept but may cause issues"} 
[2026-07-15 07:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9192339395496054784,"note":"Value kept but may cause issues"} 
[2026-07-15 07:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784081398000,"timestamp_ms":1784081398000,"timestamp_seconds":1784081398,"priority":1,"record_length":96,"hex_timestamp":"0000019f6389b8f0"} 
[2026-07-15 07:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:40:32] 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-07-15 07:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-15 07:40:32] 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-07-15 07:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":134492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":134492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":134492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 07:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 07:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724837632001,"66":13493,"251":206,"85":15104,"24":9,"16":106224625813291008,"45":-9192339395496054784},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-15 07:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 07:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 07:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724837632001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:40:32] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-15 07:40:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 07:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106224625813291008,"km_value":106224625813291.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9192339395496054784,"description":"Unknown IO ID 45"} 
[2026-07-15 07:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724837632001,"power":13493,"unknown_251":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9192339395496054784}} 
[2026-07-15 07:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":134492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489777,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:40:32] local.INFO: GPS data processed {"connection_id":134492,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:40:32] local.INFO: Acknowledgment sent {"connection_id":134492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:40:38] local.INFO: TCP Data received {"connection_id":134495,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63857718012d7f92c005afd8300000005030..."} 
[2026-07-15 07:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63857718012d7f92c005afd8300000005030..."} 
[2026-07-15 07:40:38] local.INFO: Processing buffer {"connection_id":134495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63857718012d7f92c005afd8300000005030..."} 
[2026-07-15 07:40:38] local.INFO: Packet analysis {"connection_id":134495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6385"} 
[2026-07-15 07:40:38] local.INFO: Extracted packet for processing {"connection_id":134495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6385"} 
[2026-07-15 07:40:38] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":48,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724689408001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784081119000,"timestamp_ms":1784081119000,"timestamp_seconds":1784081119,"priority":1,"record_length":96,"hex_timestamp":"0000019f63857718"} 
[2026-07-15 07:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 07:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724689408001,"66":25201,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724689408001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:40:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:40:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724689408001,"power":25201,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":134495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:40:38] local.INFO: GPS data processed {"connection_id":134495,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:40:38] local.INFO: Acknowledgment sent {"connection_id":134495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:41:04] local.INFO: TCP Data received {"connection_id":134492,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f6389bcd8012d80708005dca1100007004b10..."} 
[2026-07-15 07:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6389bcd8012d80708005dca1100007004b10..."} 
[2026-07-15 07:41:04] local.INFO: Processing buffer {"connection_id":134492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6389bcd8012d80708005dca1100007004b10..."} 
[2026-07-15 07:41:04] local.INFO: Packet analysis {"connection_id":134492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6389"} 
[2026-07-15 07:41:04] local.INFO: Extracted packet for processing {"connection_id":134492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6389"} 
[2026-07-15 07:41:04] local.INFO: GPS Element Parsed {"raw_longitude":763392128,"raw_latitude":98345232,"longitude_deg":76.3392128,"latitude_deg":9.8345232,"altitude":7,"angle":75,"satellites":16,"speed":11,"hex_longitude":"2d807080","hex_latitude":"05dca110","is_valid_coordinates":true} 
[2026-07-15 07:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724837888001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106224638698192896,"note":"Value kept but may cause issues"} 
[2026-07-15 07:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9191987551775172608,"note":"Value kept but may cause issues"} 
[2026-07-15 07:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784081399000,"timestamp_ms":1784081399000,"timestamp_seconds":1784081399,"priority":1,"record_length":96,"hex_timestamp":"0000019f6389bcd8"} 
[2026-07-15 07:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:41:04] 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-07-15 07:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-15 07:41:04] 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-07-15 07:41:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":134492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":134492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":134492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 07:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 07:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724837888001,"66":13928,"251":206,"85":15104,"24":11,"16":106224638698192896,"45":-9191987551775172608},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-15 07:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 07:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 07:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724837888001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:41:04] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-15 07:41:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 07:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106224638698192896,"km_value":106224638698192.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9191987551775172608,"description":"Unknown IO ID 45"} 
[2026-07-15 07:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724837888001,"power":13928,"unknown_251":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-9191987551775172608}} 
[2026-07-15 07:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":134492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489779,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:41:04] local.INFO: GPS data processed {"connection_id":134492,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:41:04] local.INFO: Acknowledgment sent {"connection_id":134492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:41:07] local.INFO: TCP Data received {"connection_id":132288,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:41:07] local.INFO: Processing buffer {"connection_id":132288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:41:07] local.INFO: IMEI packet received {"connection_id":132288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":132288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:41:12] local.INFO: TCP Data received {"connection_id":132288,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:41:12] local.INFO: Processing buffer {"connection_id":132288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:41:12] local.INFO: IMEI packet received {"connection_id":132288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":132288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:41:13] local.INFO: TCP Data received {"connection_id":132288,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f638a0ee0012d7f92c005afd830000000502f..."} 
[2026-07-15 07:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f638a0ee0012d7f92c005afd830000000502f..."} 
[2026-07-15 07:41:13] local.INFO: Processing buffer {"connection_id":132288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f638a0ee0012d7f92c005afd830000000502f..."} 
[2026-07-15 07:41:13] local.INFO: Packet analysis {"connection_id":132288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f638a"} 
[2026-07-15 07:41:13] local.INFO: Extracted packet for processing {"connection_id":132288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f638a"} 
[2026-07-15 07:41:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724766464001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784081420000,"timestamp_ms":1784081420000,"timestamp_seconds":1784081420,"priority":1,"record_length":96,"hex_timestamp":"0000019f638a0ee0"} 
[2026-07-15 07:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:41:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-15 07:41:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:41:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:41:13] 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-07-15 07:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724766464001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724766464001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:41:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:41:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724766464001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":132288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:41:13] local.INFO: GPS data processed {"connection_id":132288,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:41:13] local.INFO: Acknowledgment sent {"connection_id":132288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:41:17] local.INFO: TCP Data received {"connection_id":132288,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f638a0ee0012d7f92c005afd830000000502f..."} 
[2026-07-15 07:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f638a0ee0012d7f92c005afd830000000502f..."} 
[2026-07-15 07:41:17] local.INFO: Processing buffer {"connection_id":132288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f638a0ee0012d7f92c005afd830000000502f..."} 
[2026-07-15 07:41:17] local.INFO: Packet analysis {"connection_id":132288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f638a"} 
[2026-07-15 07:41:17] local.INFO: Extracted packet for processing {"connection_id":132288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f638a"} 
[2026-07-15 07:41:17] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:41:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724766464001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:41:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:41:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:41:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:41:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784081420000,"timestamp_ms":1784081420000,"timestamp_seconds":1784081420,"priority":1,"record_length":96,"hex_timestamp":"0000019f638a0ee0"} 
[2026-07-15 07:41:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:41:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-15 07:41:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:41:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:41:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:41:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:41:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:41:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:41:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:41:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:41:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:41:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:41:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724766464001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:41:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:41:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:41:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724766464001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:41:17] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:41:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:41:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:41:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:41:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724766464001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:41:17] local.INFO: DEBUG: GPS processor result {"connection_id":132288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:41:17] local.INFO: GPS data processed {"connection_id":132288,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:41:17] local.INFO: Acknowledgment sent {"connection_id":132288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:41:35] local.INFO: TCP Data received {"connection_id":134492,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f638a0ee0012d8087c005dca5c00009004310..."} 
[2026-07-15 07:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f638a0ee0012d8087c005dca5c00009004310..."} 
[2026-07-15 07:41:35] local.INFO: Processing buffer {"connection_id":134492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f638a0ee0012d8087c005dca5c00009004310..."} 
[2026-07-15 07:41:35] local.INFO: Packet analysis {"connection_id":134492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f638a"} 
[2026-07-15 07:41:35] local.INFO: Extracted packet for processing {"connection_id":134492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f638a"} 
[2026-07-15 07:41:35] local.INFO: GPS Element Parsed {"raw_longitude":763398080,"raw_latitude":98346432,"longitude_deg":76.339808,"latitude_deg":9.8346432,"altitude":9,"angle":67,"satellites":16,"speed":14,"hex_longitude":"2d8087c0","hex_latitude":"05dca5c0","is_valid_coordinates":true} 
[2026-07-15 07:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724838144001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106224930755969024,"note":"Value kept but may cause issues"} 
[2026-07-15 07:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9191706076798447616,"note":"Value kept but may cause issues"} 
[2026-07-15 07:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784081420000,"timestamp_ms":1784081420000,"timestamp_seconds":1784081420,"priority":1,"record_length":96,"hex_timestamp":"0000019f638a0ee0"} 
[2026-07-15 07:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:41:35] 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-07-15 07:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-15 07:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":134492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":134492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":134492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 07:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 07:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724838144001,"66":13646,"251":206,"85":15104,"24":14,"16":106224930755969024,"45":-9191706076798447616},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-15 07:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 07:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 07:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724838144001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:41:35] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-15 07:41:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 07:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106224930755969024,"km_value":106224930755969.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9191706076798447616,"description":"Unknown IO ID 45"} 
[2026-07-15 07:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724838144001,"power":13646,"unknown_251":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":-9191706076798447616}} 
[2026-07-15 07:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":134492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489782,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:41:35] local.INFO: GPS data processed {"connection_id":134492,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:41:35] local.INFO: Acknowledgment sent {"connection_id":134492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:42:02] local.INFO: TCP Data received {"connection_id":133124,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:42:02] local.INFO: Processing buffer {"connection_id":133124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:42:02] local.INFO: IMEI packet received {"connection_id":133124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":133124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:42:05] local.INFO: TCP Data received {"connection_id":134492,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f638a2268012d80904005dca9c0000b003610..."} 
[2026-07-15 07:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f638a2268012d80904005dca9c0000b003610..."} 
[2026-07-15 07:42:05] local.INFO: Processing buffer {"connection_id":134492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f638a2268012d80904005dca9c0000b003610..."} 
[2026-07-15 07:42:05] local.INFO: Packet analysis {"connection_id":134492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f638a"} 
[2026-07-15 07:42:05] local.INFO: Extracted packet for processing {"connection_id":134492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f638a"} 
[2026-07-15 07:42:05] local.INFO: GPS Element Parsed {"raw_longitude":763400256,"raw_latitude":98347456,"longitude_deg":76.3400256,"latitude_deg":9.8347456,"altitude":11,"angle":54,"satellites":16,"speed":19,"hex_longitude":"2d809040","hex_latitude":"05dca9c0","is_valid_coordinates":true} 
[2026-07-15 07: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-07-15 07:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724843520001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106225046720086016,"note":"Value kept but may cause issues"} 
[2026-07-15 07:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9185161783589617664,"note":"Value kept but may cause issues"} 
[2026-07-15 07:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784081425000,"timestamp_ms":1784081425000,"timestamp_seconds":1784081425,"priority":1,"record_length":96,"hex_timestamp":"0000019f638a2268"} 
[2026-07-15 07:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:42:05] 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-07-15 07: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-07-15 07:42:05] 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-07-15 07: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-07-15 07:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":134492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":134492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":134492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 07:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 07:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724843520001,"66":13646,"251":206,"85":15104,"24":19,"16":106225046720086016,"45":-9185161783589617664},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-15 07:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 07:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 07:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724843520001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:42:05] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-15 07:42:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 07:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106225046720086016,"km_value":106225046720086.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9185161783589617664,"description":"Unknown IO ID 45"} 
[2026-07-15 07:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724843520001,"power":13646,"unknown_251":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":-9185161783589617664}} 
[2026-07-15 07:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":134492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489783,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:42:05] local.INFO: GPS data processed {"connection_id":134492,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:42:05] local.INFO: Acknowledgment sent {"connection_id":134492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:42:07] local.INFO: TCP Data received {"connection_id":133124,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:42:07] local.INFO: Processing buffer {"connection_id":133124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:42:07] local.INFO: IMEI packet received {"connection_id":133124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":133124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:42:08] local.INFO: TCP Data received {"connection_id":133124,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f638a0ee0012d7f92c005afd830000000502f..."} 
[2026-07-15 07:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f638a0ee0012d7f92c005afd830000000502f..."} 
[2026-07-15 07:42:08] local.INFO: Processing buffer {"connection_id":133124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f638a0ee0012d7f92c005afd830000000502f..."} 
[2026-07-15 07:42:08] local.INFO: Packet analysis {"connection_id":133124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f638a"} 
[2026-07-15 07:42:08] local.INFO: Extracted packet for processing {"connection_id":133124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f638a"} 
[2026-07-15 07:42:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07: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-07-15 07:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724766464001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784081420000,"timestamp_ms":1784081420000,"timestamp_seconds":1784081420,"priority":1,"record_length":96,"hex_timestamp":"0000019f638a0ee0"} 
[2026-07-15 07:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-15 07:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":133124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":133124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":133124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:42:08] 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-07-15 07:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724766464001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724766464001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:42:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:42:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724766464001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":133124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:42:08] local.INFO: GPS data processed {"connection_id":133124,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:42:08] local.INFO: Acknowledgment sent {"connection_id":133124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:42:29] local.INFO: TCP Data received {"connection_id":133125,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133125,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:42:29] local.INFO: Processing buffer {"connection_id":133125,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:42:29] local.INFO: IMEI packet received {"connection_id":133125,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 07:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":133125,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:42:34] local.INFO: TCP Data received {"connection_id":133125,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133125,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:42:34] local.INFO: Processing buffer {"connection_id":133125,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:42:34] local.INFO: IMEI packet received {"connection_id":133125,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 07:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":133125,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:42:34] local.INFO: TCP Data received {"connection_id":133125,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133125,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:42:34] local.INFO: Processing buffer {"connection_id":133125,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:42:34] local.INFO: IMEI packet received {"connection_id":133125,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 07:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":133125,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:42:35] local.INFO: TCP Data received {"connection_id":133125,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f638bb8a8012d80a08005dcb2780008010716..."} 
[2026-07-15 07:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f638bb8a8012d80a08005dcb2780008010716..."} 
[2026-07-15 07:42:35] local.INFO: Processing buffer {"connection_id":133125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f638bb8a8012d80a08005dcb2780008010716..."} 
[2026-07-15 07:42:35] local.INFO: Packet analysis {"connection_id":133125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f638b"} 
[2026-07-15 07:42:35] local.INFO: Extracted packet for processing {"connection_id":133125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f638b"} 
[2026-07-15 07:42:35] local.INFO: GPS Element Parsed {"raw_longitude":763404416,"raw_latitude":98349688,"longitude_deg":76.3404416,"latitude_deg":9.8349688,"altitude":8,"angle":263,"satellites":22,"speed":2,"hex_longitude":"2d80a080","hex_latitude":"05dcb278","is_valid_coordinates":true} 
[2026-07-15 07: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-07-15 07:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724871168001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106225407497338880,"note":"Value kept but may cause issues"} 
[2026-07-15 07:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9178124909171013632,"note":"Value kept but may cause issues"} 
[2026-07-15 07:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784081529000,"timestamp_ms":1784081529000,"timestamp_seconds":1784081529,"priority":1,"record_length":96,"hex_timestamp":"0000019f638bb8a8"} 
[2026-07-15 07:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:42:35] 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-07-15 07: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":230,"data_length":795,"current_offset":136} 
[2026-07-15 07:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07: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-07-15 07:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":133125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":133125,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":133125,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 07:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 07:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724871168001,"66":13798,"251":206,"85":15104,"24":2,"16":106225407497338880,"45":-9178124909171013632},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-15 07:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 07:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 07:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724871168001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:42:35] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-15 07:42:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 07:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106225407497338880,"km_value":106225407497338.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9178124909171013632,"description":"Unknown IO ID 45"} 
[2026-07-15 07:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724871168001,"power":13798,"unknown_251":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":-9178124909171013632}} 
[2026-07-15 07:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":133125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489785,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:42:35] local.INFO: GPS data processed {"connection_id":133125,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:42:35] local.INFO: Acknowledgment sent {"connection_id":133125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:42:39] local.INFO: TCP Data received {"connection_id":133124,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f638a0ee0012d7f92c005afd830000000502f..."} 
[2026-07-15 07:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f638a0ee0012d7f92c005afd830000000502f..."} 
[2026-07-15 07:42:39] local.INFO: Processing buffer {"connection_id":133124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f638a0ee0012d7f92c005afd830000000502f..."} 
[2026-07-15 07:42:39] local.INFO: Packet analysis {"connection_id":133124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f638a"} 
[2026-07-15 07:42:39] local.INFO: Extracted packet for processing {"connection_id":133124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f638a"} 
[2026-07-15 07:42:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724766464001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:42:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784081420000,"timestamp_ms":1784081420000,"timestamp_seconds":1784081420,"priority":1,"record_length":96,"hex_timestamp":"0000019f638a0ee0"} 
[2026-07-15 07:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:42:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-15 07:42:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:42:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:42: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-07-15 07:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724766464001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724766464001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:42:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:42:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724766464001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":133124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:42:39] local.INFO: GPS data processed {"connection_id":133124,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:42:39] local.INFO: Acknowledgment sent {"connection_id":133124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:43:02] local.INFO: TCP Data received {"connection_id":132289,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:43:02] local.INFO: Processing buffer {"connection_id":132289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:43:02] local.INFO: IMEI packet received {"connection_id":132289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":132289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:43:06] local.INFO: TCP Data received {"connection_id":133125,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f638bbc90012d80a08005dcb250000800f217..."} 
[2026-07-15 07:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f638bbc90012d80a08005dcb250000800f217..."} 
[2026-07-15 07:43:06] local.INFO: Processing buffer {"connection_id":133125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f638bbc90012d80a08005dcb250000800f217..."} 
[2026-07-15 07:43:06] local.INFO: Packet analysis {"connection_id":133125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f638b"} 
[2026-07-15 07:43:06] local.INFO: Extracted packet for processing {"connection_id":133125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f638b"} 
[2026-07-15 07:43:06] local.INFO: GPS Element Parsed {"raw_longitude":763404416,"raw_latitude":98349648,"longitude_deg":76.3404416,"latitude_deg":9.8349648,"altitude":8,"angle":242,"satellites":23,"speed":2,"hex_longitude":"2d80a080","hex_latitude":"05dcb250","is_valid_coordinates":true} 
[2026-07-15 07: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-07-15 07:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724871424001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106225411792306176,"note":"Value kept but may cause issues"} 
[2026-07-15 07:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9178195277915195392,"note":"Value kept but may cause issues"} 
[2026-07-15 07:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784081530000,"timestamp_ms":1784081530000,"timestamp_seconds":1784081530,"priority":1,"record_length":96,"hex_timestamp":"0000019f638bbc90"} 
[2026-07-15 07:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 07: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":230,"data_length":795,"current_offset":136} 
[2026-07-15 07:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07: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-07-15 07:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133125,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133125,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 07:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 07:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724871424001,"66":13472,"251":206,"85":15104,"24":2,"16":106225411792306176,"45":-9178195277915195392},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-15 07:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 07:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 07:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724871424001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:43:06] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-15 07:43:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 07:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106225411792306176,"km_value":106225411792306.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9178195277915195392,"description":"Unknown IO ID 45"} 
[2026-07-15 07:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724871424001,"power":13472,"unknown_251":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":-9178195277915195392}} 
[2026-07-15 07:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":133125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489787,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:43:06] local.INFO: GPS data processed {"connection_id":133125,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:43:06] local.INFO: Acknowledgment sent {"connection_id":133125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:43:07] local.INFO: TCP Data received {"connection_id":132289,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:43:07] local.INFO: Processing buffer {"connection_id":132289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:43:07] local.INFO: IMEI packet received {"connection_id":132289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":132289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:43:07] local.INFO: TCP Data received {"connection_id":132289,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f638a0ee0012d7f92c005afd830000000502f..."} 
[2026-07-15 07:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f638a0ee0012d7f92c005afd830000000502f..."} 
[2026-07-15 07:43:07] local.INFO: Processing buffer {"connection_id":132289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f638a0ee0012d7f92c005afd830000000502f..."} 
[2026-07-15 07:43:07] local.INFO: Packet analysis {"connection_id":132289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f638a"} 
[2026-07-15 07:43:07] local.INFO: Extracted packet for processing {"connection_id":132289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f638a"} 
[2026-07-15 07:43:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724766464001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784081420000,"timestamp_ms":1784081420000,"timestamp_seconds":1784081420,"priority":1,"record_length":96,"hex_timestamp":"0000019f638a0ee0"} 
[2026-07-15 07:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-15 07:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724766464001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724766464001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:43:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:43:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724766464001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":132289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:43:07] local.INFO: GPS data processed {"connection_id":132289,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:43:07] local.INFO: Acknowledgment sent {"connection_id":132289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:43:37] local.INFO: TCP Data received {"connection_id":133125,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f638bc460012d80a00005dcb1f8000800e717..."} 
[2026-07-15 07:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f638bc460012d80a00005dcb1f8000800e717..."} 
[2026-07-15 07:43:37] local.INFO: Processing buffer {"connection_id":133125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f638bc460012d80a00005dcb1f8000800e717..."} 
[2026-07-15 07:43:37] local.INFO: Packet analysis {"connection_id":133125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f638b"} 
[2026-07-15 07:43:37] local.INFO: Extracted packet for processing {"connection_id":133125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f638b"} 
[2026-07-15 07:43:37] local.INFO: GPS Element Parsed {"raw_longitude":763404288,"raw_latitude":98349560,"longitude_deg":76.3404288,"latitude_deg":9.834956,"altitude":8,"angle":231,"satellites":23,"speed":2,"hex_longitude":"2d80a000","hex_latitude":"05dcb1f8","is_valid_coordinates":true} 
[2026-07-15 07:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724871680001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106225416087273472,"note":"Value kept but may cause issues"} 
[2026-07-15 07:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9178195277915205632,"note":"Value kept but may cause issues"} 
[2026-07-15 07:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784081532000,"timestamp_ms":1784081532000,"timestamp_seconds":1784081532,"priority":1,"record_length":96,"hex_timestamp":"0000019f638bc460"} 
[2026-07-15 07:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 07:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-15 07:43:37] 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-07-15 07:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133125,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133125,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 07:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 07:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724871680001,"66":13319,"251":206,"85":15104,"24":2,"16":106225416087273472,"45":-9178195277915205632},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-15 07:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 07:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 07:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724871680001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:43:37] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-15 07:43:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 07:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106225416087273472,"km_value":106225416087273.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9178195277915205632,"description":"Unknown IO ID 45"} 
[2026-07-15 07:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724871680001,"power":13319,"unknown_251":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":-9178195277915205632}} 
[2026-07-15 07:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":133125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489789,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:43:37] local.INFO: GPS data processed {"connection_id":133125,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:43:37] local.INFO: Acknowledgment sent {"connection_id":133125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:43:38] local.INFO: TCP Data received {"connection_id":132289,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f638a0ee0012d7f92c005afd830000000502f..."} 
[2026-07-15 07:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f638a0ee0012d7f92c005afd830000000502f..."} 
[2026-07-15 07:43:38] local.INFO: Processing buffer {"connection_id":132289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f638a0ee0012d7f92c005afd830000000502f..."} 
[2026-07-15 07:43:38] local.INFO: Packet analysis {"connection_id":132289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f638a"} 
[2026-07-15 07:43:38] local.INFO: Extracted packet for processing {"connection_id":132289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f638a"} 
[2026-07-15 07:43:38] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07: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-07-15 07:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724766464001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784081420000,"timestamp_ms":1784081420000,"timestamp_seconds":1784081420,"priority":1,"record_length":96,"hex_timestamp":"0000019f638a0ee0"} 
[2026-07-15 07:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-15 07:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07: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-07-15 07:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:43:38] 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-07-15 07:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724766464001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724766464001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:43:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:43:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724766464001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":132289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:43:38] local.INFO: GPS data processed {"connection_id":132289,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:43:38] local.INFO: Acknowledgment sent {"connection_id":132289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:43:40] local.INFO: TCP Data received {"connection_id":132110,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 07:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132110,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 07:43:40] local.INFO: Processing buffer {"connection_id":132110,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 07:43:40] local.INFO: IMEI packet received {"connection_id":132110,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 07:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":132110,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:44:01] local.INFO: TCP Data received {"connection_id":132111,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:44:01] local.INFO: Processing buffer {"connection_id":132111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:44:01] local.INFO: IMEI packet received {"connection_id":132111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":132111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:44:07] local.INFO: TCP Data received {"connection_id":132111,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:44:07] local.INFO: Processing buffer {"connection_id":132111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:44:07] local.INFO: IMEI packet received {"connection_id":132111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":132111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:44:07] local.INFO: TCP Data received {"connection_id":132111,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f638a0ee0012d7f92c005afd830000000502f..."} 
[2026-07-15 07:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f638a0ee0012d7f92c005afd830000000502f..."} 
[2026-07-15 07:44:07] local.INFO: Processing buffer {"connection_id":132111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f638a0ee0012d7f92c005afd830000000502f..."} 
[2026-07-15 07:44:07] local.INFO: Packet analysis {"connection_id":132111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f638a"} 
[2026-07-15 07:44:07] local.INFO: Extracted packet for processing {"connection_id":132111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f638a"} 
[2026-07-15 07:44:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724766464001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784081420000,"timestamp_ms":1784081420000,"timestamp_seconds":1784081420,"priority":1,"record_length":96,"hex_timestamp":"0000019f638a0ee0"} 
[2026-07-15 07:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-15 07:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:44:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:44:07] 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-07-15 07:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724766464001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724766464001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:44:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:44:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724766464001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":132111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:44:07] local.INFO: GPS data processed {"connection_id":132111,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:44:07] local.INFO: Acknowledgment sent {"connection_id":132111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:44:41] local.INFO: TCP Data received {"connection_id":132111,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f638a0ee0012d7f92c005afd830000000502f..."} 
[2026-07-15 07:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f638a0ee0012d7f92c005afd830000000502f..."} 
[2026-07-15 07:44:41] local.INFO: Processing buffer {"connection_id":132111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f638a0ee0012d7f92c005afd830000000502f..."} 
[2026-07-15 07:44:41] local.INFO: Packet analysis {"connection_id":132111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f638a"} 
[2026-07-15 07:44:41] local.INFO: Extracted packet for processing {"connection_id":132111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f638a"} 
[2026-07-15 07:44:41] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724766464001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784081420000,"timestamp_ms":1784081420000,"timestamp_seconds":1784081420,"priority":1,"record_length":96,"hex_timestamp":"0000019f638a0ee0"} 
[2026-07-15 07:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-15 07:44:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:44:41] 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-07-15 07:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724766464001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724766464001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:44:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:44:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724766464001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":132111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:44:41] local.INFO: GPS data processed {"connection_id":132111,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:44:41] local.INFO: Acknowledgment sent {"connection_id":132111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:45:07] local.INFO: TCP Data received {"connection_id":132291,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:45:07] local.INFO: Processing buffer {"connection_id":132291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:45:07] local.INFO: IMEI packet received {"connection_id":132291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":132291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:45:12] local.INFO: TCP Data received {"connection_id":132291,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:45:12] local.INFO: Processing buffer {"connection_id":132291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:45:12] local.INFO: IMEI packet received {"connection_id":132291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":132291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:45:13] local.INFO: TCP Data received {"connection_id":132291,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f638a0ee0012d7f92c005afd830000000502f..."} 
[2026-07-15 07:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f638a0ee0012d7f92c005afd830000000502f..."} 
[2026-07-15 07:45:13] local.INFO: Processing buffer {"connection_id":132291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f638a0ee0012d7f92c005afd830000000502f..."} 
[2026-07-15 07:45:13] local.INFO: Packet analysis {"connection_id":132291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f638a"} 
[2026-07-15 07:45:13] local.INFO: Extracted packet for processing {"connection_id":132291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f638a"} 
[2026-07-15 07:45:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07: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-07-15 07:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724766464001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:45:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:45:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784081420000,"timestamp_ms":1784081420000,"timestamp_seconds":1784081420,"priority":1,"record_length":96,"hex_timestamp":"0000019f638a0ee0"} 
[2026-07-15 07:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:45:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-15 07:45:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07: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-07-15 07:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:45:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724766464001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724766464001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:45:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:45:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:45:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724766464001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":132291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:45:13] local.INFO: GPS data processed {"connection_id":132291,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:45:13] local.INFO: Acknowledgment sent {"connection_id":132291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:45:17] local.INFO: TCP Data received {"connection_id":132291,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f638a0ee0012d7f92c005afd830000000502f..."} 
[2026-07-15 07:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f638a0ee0012d7f92c005afd830000000502f..."} 
[2026-07-15 07:45:17] local.INFO: Processing buffer {"connection_id":132291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f638a0ee0012d7f92c005afd830000000502f..."} 
[2026-07-15 07:45:17] local.INFO: Packet analysis {"connection_id":132291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f638a"} 
[2026-07-15 07:45:17] local.INFO: Extracted packet for processing {"connection_id":132291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f638a"} 
[2026-07-15 07:45:17] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724766464001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784081420000,"timestamp_ms":1784081420000,"timestamp_seconds":1784081420,"priority":1,"record_length":96,"hex_timestamp":"0000019f638a0ee0"} 
[2026-07-15 07:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:45:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-15 07:45:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:45:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724766464001,"66":25223,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724766464001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:45:17] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:45:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724766464001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":132291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:45:17] local.INFO: GPS data processed {"connection_id":132291,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:45:17] local.INFO: Acknowledgment sent {"connection_id":132291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:45:58] local.INFO: TCP Data received {"connection_id":134499,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:45:58] local.INFO: Processing buffer {"connection_id":134499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:45:58] local.INFO: IMEI packet received {"connection_id":134499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":134499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:46:02] local.INFO: TCP Data received {"connection_id":134499,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:46:02] local.INFO: Processing buffer {"connection_id":134499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:46:02] local.INFO: IMEI packet received {"connection_id":134499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":134499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:46:07] local.INFO: TCP Data received {"connection_id":134499,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:46:07] local.INFO: Processing buffer {"connection_id":134499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:46:07] local.INFO: IMEI packet received {"connection_id":134499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":134499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:46:08] local.INFO: TCP Data received {"connection_id":134499,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f638ea6a8012d7f92c005afd830000000502b..."} 
[2026-07-15 07:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f638ea6a8012d7f92c005afd830000000502b..."} 
[2026-07-15 07:46:08] local.INFO: Processing buffer {"connection_id":134499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f638ea6a8012d7f92c005afd830000000502b..."} 
[2026-07-15 07:46:08] local.INFO: Packet analysis {"connection_id":134499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f638e"} 
[2026-07-15 07:46:08] local.INFO: Extracted packet for processing {"connection_id":134499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f638e"} 
[2026-07-15 07:46:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724843520001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784081721000,"timestamp_ms":1784081721000,"timestamp_seconds":1784081721,"priority":1,"record_length":96,"hex_timestamp":"0000019f638ea6a8"} 
[2026-07-15 07:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 07:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724843520001,"66":25158,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724843520001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:46:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:46:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724843520001,"power":25158,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":134499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:46:08] local.INFO: GPS data processed {"connection_id":134499,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:46:08] local.INFO: Acknowledgment sent {"connection_id":134499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:46:39] local.INFO: TCP Data received {"connection_id":134499,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f638ea6a8012d7f92c005afd830000000502b..."} 
[2026-07-15 07:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f638ea6a8012d7f92c005afd830000000502b..."} 
[2026-07-15 07:46:39] local.INFO: Processing buffer {"connection_id":134499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f638ea6a8012d7f92c005afd830000000502b..."} 
[2026-07-15 07:46:39] local.INFO: Packet analysis {"connection_id":134499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f638e"} 
[2026-07-15 07:46:39] local.INFO: Extracted packet for processing {"connection_id":134499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f638e"} 
[2026-07-15 07:46:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724843520001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784081721000,"timestamp_ms":1784081721000,"timestamp_seconds":1784081721,"priority":1,"record_length":96,"hex_timestamp":"0000019f638ea6a8"} 
[2026-07-15 07:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 07:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724843520001,"66":25158,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724843520001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:46:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:46:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724843520001,"power":25158,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":134499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:46:39] local.INFO: GPS data processed {"connection_id":134499,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:46:39] local.INFO: Acknowledgment sent {"connection_id":134499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:47:02] local.INFO: TCP Data received {"connection_id":134500,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:47:02] local.INFO: Processing buffer {"connection_id":134500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:47:02] local.INFO: IMEI packet received {"connection_id":134500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":134500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:47:07] local.INFO: TCP Data received {"connection_id":134500,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:47:07] local.INFO: Processing buffer {"connection_id":134500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:47:07] local.INFO: IMEI packet received {"connection_id":134500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":134500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:47:07] local.INFO: TCP Data received {"connection_id":134500,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f638ea6a8012d7f92c005afd830000000502b..."} 
[2026-07-15 07:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f638ea6a8012d7f92c005afd830000000502b..."} 
[2026-07-15 07:47:07] local.INFO: Processing buffer {"connection_id":134500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f638ea6a8012d7f92c005afd830000000502b..."} 
[2026-07-15 07:47:07] local.INFO: Packet analysis {"connection_id":134500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f638e"} 
[2026-07-15 07:47:07] local.INFO: Extracted packet for processing {"connection_id":134500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f638e"} 
[2026-07-15 07:47:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724843520001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784081721000,"timestamp_ms":1784081721000,"timestamp_seconds":1784081721,"priority":1,"record_length":96,"hex_timestamp":"0000019f638ea6a8"} 
[2026-07-15 07:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 07:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:47:07] 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-07-15 07:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724843520001,"66":25158,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724843520001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:47:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:47:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724843520001,"power":25158,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":134500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:47:08] local.INFO: GPS data processed {"connection_id":134500,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:47:08] local.INFO: Acknowledgment sent {"connection_id":134500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:47:39] local.INFO: TCP Data received {"connection_id":134500,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f638ea6a8012d7f92c005afd830000000502b..."} 
[2026-07-15 07:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f638ea6a8012d7f92c005afd830000000502b..."} 
[2026-07-15 07:47:39] local.INFO: Processing buffer {"connection_id":134500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f638ea6a8012d7f92c005afd830000000502b..."} 
[2026-07-15 07:47:39] local.INFO: Packet analysis {"connection_id":134500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f638e"} 
[2026-07-15 07:47:39] local.INFO: Extracted packet for processing {"connection_id":134500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f638e"} 
[2026-07-15 07:47:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724843520001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:47:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:47:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784081721000,"timestamp_ms":1784081721000,"timestamp_seconds":1784081721,"priority":1,"record_length":96,"hex_timestamp":"0000019f638ea6a8"} 
[2026-07-15 07:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:47:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 07:47:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:47:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:47:39] 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-07-15 07:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724843520001,"66":25158,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724843520001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:47:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:47:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:47:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724843520001,"power":25158,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":134500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:47:39] local.INFO: GPS data processed {"connection_id":134500,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:47:39] local.INFO: Acknowledgment sent {"connection_id":134500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:48:01] local.INFO: TCP Data received {"connection_id":132113,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:48:01] local.INFO: Processing buffer {"connection_id":132113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:48:01] local.INFO: IMEI packet received {"connection_id":132113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":132113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:48:07] local.INFO: TCP Data received {"connection_id":132113,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:48:07] local.INFO: Processing buffer {"connection_id":132113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:48:07] local.INFO: IMEI packet received {"connection_id":132113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":132113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:48:07] local.INFO: TCP Data received {"connection_id":132113,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f638ea6a8012d7f92c005afd830000000502b..."} 
[2026-07-15 07:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f638ea6a8012d7f92c005afd830000000502b..."} 
[2026-07-15 07:48:07] local.INFO: Processing buffer {"connection_id":132113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f638ea6a8012d7f92c005afd830000000502b..."} 
[2026-07-15 07:48:07] local.INFO: Packet analysis {"connection_id":132113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f638e"} 
[2026-07-15 07:48:07] local.INFO: Extracted packet for processing {"connection_id":132113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f638e"} 
[2026-07-15 07:48:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724843520001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784081721000,"timestamp_ms":1784081721000,"timestamp_seconds":1784081721,"priority":1,"record_length":96,"hex_timestamp":"0000019f638ea6a8"} 
[2026-07-15 07:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 07:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:48:07] 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-07-15 07:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724843520001,"66":25158,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724843520001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:48:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:48:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724843520001,"power":25158,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":132113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:48:07] local.INFO: GPS data processed {"connection_id":132113,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:48:07] local.INFO: Acknowledgment sent {"connection_id":132113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:48:34] local.INFO: TCP Data received {"connection_id":132114,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132114,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:48:34] local.INFO: Processing buffer {"connection_id":132114,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:48:34] local.INFO: IMEI packet received {"connection_id":132114,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 07:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":132114,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:48:35] local.INFO: TCP Data received {"connection_id":132114,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132114,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:48:35] local.INFO: Processing buffer {"connection_id":132114,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:48:35] local.INFO: IMEI packet received {"connection_id":132114,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 07:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":132114,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:48:36] local.INFO: TCP Data received {"connection_id":132114,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132114,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:48:36] local.INFO: Processing buffer {"connection_id":132114,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:48:36] local.INFO: IMEI packet received {"connection_id":132114,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 07:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":132114,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:48:37] local.INFO: TCP Data received {"connection_id":132114,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f63909e90012d809e0005dcb218000800e720..."} 
[2026-07-15 07:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63909e90012d809e0005dcb218000800e720..."} 
[2026-07-15 07:48:37] local.INFO: Processing buffer {"connection_id":132114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63909e90012d809e0005dcb218000800e720..."} 
[2026-07-15 07:48:37] local.INFO: Packet analysis {"connection_id":132114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6390"} 
[2026-07-15 07:48:37] local.INFO: Extracted packet for processing {"connection_id":132114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6390"} 
[2026-07-15 07:48:37] local.INFO: GPS Element Parsed {"raw_longitude":763403776,"raw_latitude":98349592,"longitude_deg":76.3403776,"latitude_deg":9.8349592,"altitude":8,"angle":231,"satellites":32,"speed":0,"hex_longitude":"2d809e00","hex_latitude":"05dcb218","is_valid_coordinates":true} 
[2026-07-15 07:48:37] 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-07-15 07:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724953600001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106225416087273472,"note":"Value kept but may cause issues"} 
[2026-07-15 07:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9178898965356996608,"note":"Value kept but may cause issues"} 
[2026-07-15 07:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784081850000,"timestamp_ms":1784081850000,"timestamp_seconds":1784081850,"priority":1,"record_length":96,"hex_timestamp":"0000019f63909e90"} 
[2026-07-15 07:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 07:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":7,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-15 07:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2519,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 07:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 07:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724953600001,"66":2046,"250":206,"85":15104,"24":0,"16":106225416087273472,"45":-9178898965356996608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 07:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 07:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 07:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724953600001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:48:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 07:48:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 07:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106225416087273472,"km_value":106225416087273.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9178898965356996608,"description":"Unknown IO ID 45"} 
[2026-07-15 07:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724953600001,"power":2046,"unknown_250":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9178898965356996608}} 
[2026-07-15 07:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":132114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489800,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:48:37] local.INFO: GPS data processed {"connection_id":132114,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:48:37] local.INFO: Acknowledgment sent {"connection_id":132114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:48:38] local.INFO: TCP Data received {"connection_id":132113,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f638ea6a8012d7f92c005afd830000000502b..."} 
[2026-07-15 07:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f638ea6a8012d7f92c005afd830000000502b..."} 
[2026-07-15 07:48:38] local.INFO: Processing buffer {"connection_id":132113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f638ea6a8012d7f92c005afd830000000502b..."} 
[2026-07-15 07:48:38] local.INFO: Packet analysis {"connection_id":132113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f638e"} 
[2026-07-15 07:48:38] local.INFO: Extracted packet for processing {"connection_id":132113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f638e"} 
[2026-07-15 07:48:38] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07: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-07-15 07:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724843520001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784081721000,"timestamp_ms":1784081721000,"timestamp_seconds":1784081721,"priority":1,"record_length":96,"hex_timestamp":"0000019f638ea6a8"} 
[2026-07-15 07:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 07:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07: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-07-15 07:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724843520001,"66":25158,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724843520001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:48:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:48:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724843520001,"power":25158,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":132113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:48:38] local.INFO: GPS data processed {"connection_id":132113,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:48:38] local.INFO: Acknowledgment sent {"connection_id":132113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:48:40] local.INFO: TCP Data received {"connection_id":132114,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f6390f480012d809e0005dcaee8000a00f31f..."} 
[2026-07-15 07:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6390f480012d809e0005dcaee8000a00f31f..."} 
[2026-07-15 07:48:40] local.INFO: Processing buffer {"connection_id":132114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6390f480012d809e0005dcaee8000a00f31f..."} 
[2026-07-15 07:48:40] local.INFO: Packet analysis {"connection_id":132114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6390"} 
[2026-07-15 07:48:40] local.INFO: Extracted packet for processing {"connection_id":132114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6390"} 
[2026-07-15 07:48:40] local.INFO: GPS Element Parsed {"raw_longitude":763403776,"raw_latitude":98348776,"longitude_deg":76.3403776,"latitude_deg":9.8348776,"altitude":10,"angle":243,"satellites":31,"speed":5,"hex_longitude":"2d809e00","hex_latitude":"05dcaee8","is_valid_coordinates":true} 
[2026-07-15 07: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-07-15 07:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724953600001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106225467626881024,"note":"Value kept but may cause issues"} 
[2026-07-15 07:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9178898965356996608,"note":"Value kept but may cause issues"} 
[2026-07-15 07:48:40] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-07-15 07:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784081872000,"timestamp_ms":1784081872000,"timestamp_seconds":1784081872,"priority":1,"record_length":96,"hex_timestamp":"0000019f6390f480"} 
[2026-07-15 07:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:48: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 07: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":7,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-15 07:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2519,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07: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-07-15 07:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 07:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 07:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724953600001,"66":12939,"24":5,"16":106225467626881024,"45":-9178898965356996608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-07-15 07:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 07:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 07:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724953600001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106225467626881024,"km_value":106225467626881.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9178898965356996608,"description":"Unknown IO ID 45"} 
[2026-07-15 07:48:40] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":456724953600001,"power":12939,"ignition":5,"odometer":null,"unknown_45":-9178898965356996608}} 
[2026-07-15 07:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":132114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489802,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:48:40] local.INFO: GPS data processed {"connection_id":132114,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:48:40] local.INFO: Acknowledgment sent {"connection_id":132114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:49:07] local.INFO: TCP Data received {"connection_id":134501,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:49:07] local.INFO: Processing buffer {"connection_id":134501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:49:07] local.INFO: IMEI packet received {"connection_id":134501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":134501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:49:11] local.INFO: TCP Data received {"connection_id":132114,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f6391bbb8012d80678005dca9780008015520..."} 
[2026-07-15 07:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6391bbb8012d80678005dca9780008015520..."} 
[2026-07-15 07:49:11] local.INFO: Processing buffer {"connection_id":132114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6391bbb8012d80678005dca9780008015520..."} 
[2026-07-15 07:49:11] local.INFO: Packet analysis {"connection_id":132114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6391"} 
[2026-07-15 07:49:11] local.INFO: Extracted packet for processing {"connection_id":132114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6391"} 
[2026-07-15 07:49:11] local.INFO: GPS Element Parsed {"raw_longitude":763389824,"raw_latitude":98347384,"longitude_deg":76.3389824,"latitude_deg":9.8347384,"altitude":8,"angle":341,"satellites":32,"speed":18,"hex_longitude":"2d806780","hex_latitude":"05dca978","is_valid_coordinates":true} 
[2026-07-15 07: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-07-15 07:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724972032001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106226232131059712,"note":"Value kept but may cause issues"} 
[2026-07-15 07:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9194028245355855872,"note":"Value kept but may cause issues"} 
[2026-07-15 07:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784081923000,"timestamp_ms":1784081923000,"timestamp_seconds":1784081923,"priority":1,"record_length":96,"hex_timestamp":"0000019f6391bbb8"} 
[2026-07-15 07:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:49:11] 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-07-15 07: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":51,"data_length":795,"current_offset":136} 
[2026-07-15 07:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07: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-07-15 07:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 07:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 07:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724972032001,"66":13363,"251":206,"85":15104,"24":18,"16":106226232131059712,"45":-9194028245355855872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-15 07:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 07:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 07:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724972032001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:49:11] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-15 07:49:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 07:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106226232131059712,"km_value":106226232131059.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9194028245355855872,"description":"Unknown IO ID 45"} 
[2026-07-15 07:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724972032001,"power":13363,"unknown_251":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":-9194028245355855872}} 
[2026-07-15 07:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":132114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489803,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:49:11] local.INFO: GPS data processed {"connection_id":132114,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:49:11] local.INFO: Acknowledgment sent {"connection_id":132114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:49:12] local.INFO: TCP Data received {"connection_id":134501,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:49:12] local.INFO: Processing buffer {"connection_id":134501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:49:12] local.INFO: IMEI packet received {"connection_id":134501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":134501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:49:13] local.INFO: TCP Data received {"connection_id":134501,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f638ea6a8012d7f92c005afd830000000502b..."} 
[2026-07-15 07:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f638ea6a8012d7f92c005afd830000000502b..."} 
[2026-07-15 07:49:13] local.INFO: Processing buffer {"connection_id":134501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f638ea6a8012d7f92c005afd830000000502b..."} 
[2026-07-15 07:49:13] local.INFO: Packet analysis {"connection_id":134501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f638e"} 
[2026-07-15 07:49:13] local.INFO: Extracted packet for processing {"connection_id":134501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f638e"} 
[2026-07-15 07:49:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724843520001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784081721000,"timestamp_ms":1784081721000,"timestamp_seconds":1784081721,"priority":1,"record_length":96,"hex_timestamp":"0000019f638ea6a8"} 
[2026-07-15 07:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:49:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 07:49:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:49:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":134501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":134501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":134501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:49:13] 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-07-15 07:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724843520001,"66":25158,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724843520001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:49:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:49:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724843520001,"power":25158,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":134501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:49:13] local.INFO: GPS data processed {"connection_id":134501,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:49:13] local.INFO: Acknowledgment sent {"connection_id":134501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:49:15] local.INFO: TCP Data received {"connection_id":132115,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 07:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132115,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 07:49:15] local.INFO: Processing buffer {"connection_id":132115,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 07:49:15] local.INFO: IMEI packet received {"connection_id":132115,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 07:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":132115,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:49:17] local.INFO: TCP Data received {"connection_id":134501,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f638ea6a8012d7f92c005afd830000000502b..."} 
[2026-07-15 07:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f638ea6a8012d7f92c005afd830000000502b..."} 
[2026-07-15 07:49:17] local.INFO: Processing buffer {"connection_id":134501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f638ea6a8012d7f92c005afd830000000502b..."} 
[2026-07-15 07:49:17] local.INFO: Packet analysis {"connection_id":134501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f638e"} 
[2026-07-15 07:49:17] local.INFO: Extracted packet for processing {"connection_id":134501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f638e"} 
[2026-07-15 07:49:17] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724843520001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:49:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:49:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784081721000,"timestamp_ms":1784081721000,"timestamp_seconds":1784081721,"priority":1,"record_length":96,"hex_timestamp":"0000019f638ea6a8"} 
[2026-07-15 07:49:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:49:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 07:49:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:49:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:49:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":134501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":134501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":134501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724843520001,"66":25158,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724843520001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:49:17] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:49:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:49:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724843520001,"power":25158,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":134501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:49:17] local.INFO: GPS data processed {"connection_id":134501,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:49:17] local.INFO: Acknowledgment sent {"connection_id":134501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:49:33] local.INFO: TCP Data received {"connection_id":133128,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 07:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133128,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 07:49:33] local.INFO: Processing buffer {"connection_id":133128,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 07:49:33] local.INFO: IMEI packet received {"connection_id":133128,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 07:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":133128,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:50:02] local.INFO: TCP Data received {"connection_id":132116,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:50:02] local.INFO: Processing buffer {"connection_id":132116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:50:02] local.INFO: IMEI packet received {"connection_id":132116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":132116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:50:04] local.INFO: TCP Data received {"connection_id":133129,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133129,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:50:04] local.INFO: Processing buffer {"connection_id":133129,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:50:04] local.INFO: IMEI packet received {"connection_id":133129,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 07:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":133129,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:50:06] local.INFO: TCP Data received {"connection_id":133129,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133129,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:50:06] local.INFO: Processing buffer {"connection_id":133129,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:50:06] local.INFO: IMEI packet received {"connection_id":133129,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 07:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":133129,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:50:07] local.INFO: TCP Data received {"connection_id":132116,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:50:07] local.INFO: Processing buffer {"connection_id":132116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:50:07] local.INFO: IMEI packet received {"connection_id":132116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":132116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:50:07] local.INFO: TCP Data received {"connection_id":133129,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f639282f0012d80500005dd0bd80004000020..."} 
[2026-07-15 07:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f639282f0012d80500005dd0bd80004000020..."} 
[2026-07-15 07:50:07] local.INFO: Processing buffer {"connection_id":133129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f639282f0012d80500005dd0bd80004000020..."} 
[2026-07-15 07:50:07] local.INFO: Packet analysis {"connection_id":133129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6392"} 
[2026-07-15 07:50:07] local.INFO: Extracted packet for processing {"connection_id":133129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6392"} 
[2026-07-15 07:50:07] local.INFO: GPS Element Parsed {"raw_longitude":763383808,"raw_latitude":98372568,"longitude_deg":76.3383808,"latitude_deg":9.8372568,"altitude":4,"angle":0,"satellites":32,"speed":17,"hex_longitude":"2d805000","hex_latitude":"05dd0bd8","is_valid_coordinates":true} 
[2026-07-15 07:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724985088001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106227576455823360,"note":"Value kept but may cause issues"} 
[2026-07-15 07:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9200854013534658560,"note":"Value kept but may cause issues"} 
[2026-07-15 07:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784081974000,"timestamp_ms":1784081974000,"timestamp_seconds":1784081974,"priority":1,"record_length":96,"hex_timestamp":"0000019f639282f0"} 
[2026-07-15 07:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 07:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-15 07:50:07] 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-07-15 07:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 07:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 07:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724985088001,"66":13472,"251":206,"85":15104,"24":17,"16":106227576455823360,"45":-9200854013534658560},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-15 07:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 07:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 07:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724985088001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:50:07] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-15 07:50:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 07:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106227576455823360,"km_value":106227576455823.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9200854013534658560,"description":"Unknown IO ID 45"} 
[2026-07-15 07:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724985088001,"power":13472,"unknown_251":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-9200854013534658560}} 
[2026-07-15 07:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":133129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489806,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:50:07] local.INFO: GPS data processed {"connection_id":133129,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:50:07] local.INFO: Acknowledgment sent {"connection_id":133129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:50:07] local.INFO: TCP Data received {"connection_id":132116,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f638ea6a8012d7f92c005afd830000000502b..."} 
[2026-07-15 07:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f638ea6a8012d7f92c005afd830000000502b..."} 
[2026-07-15 07:50:07] local.INFO: Processing buffer {"connection_id":132116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f638ea6a8012d7f92c005afd830000000502b..."} 
[2026-07-15 07:50:07] local.INFO: Packet analysis {"connection_id":132116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f638e"} 
[2026-07-15 07:50:07] local.INFO: Extracted packet for processing {"connection_id":132116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f638e"} 
[2026-07-15 07:50:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724843520001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784081721000,"timestamp_ms":1784081721000,"timestamp_seconds":1784081721,"priority":1,"record_length":96,"hex_timestamp":"0000019f638ea6a8"} 
[2026-07-15 07:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 07:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:50:07] local.INFO: TCP Data received {"connection_id":133129,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f63928ac0012d804f0005dd0fe00005015d20..."} 
[2026-07-15 07:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:50:07] 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-07-15 07:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724843520001,"66":25158,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63928ac0012d804f0005dd0fe00005015d20..."} 
[2026-07-15 07:50:07] local.INFO: Processing buffer {"connection_id":133129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63928ac0012d804f0005dd0fe00005015d20..."} 
[2026-07-15 07:50:07] local.INFO: Packet analysis {"connection_id":133129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6392"} 
[2026-07-15 07:50:07] local.INFO: Extracted packet for processing {"connection_id":133129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6392"} 
[2026-07-15 07:50:07] local.INFO: GPS Element Parsed {"raw_longitude":763383552,"raw_latitude":98373600,"longitude_deg":76.3383552,"latitude_deg":9.83736,"altitude":5,"angle":349,"satellites":32,"speed":22,"hex_longitude":"2d804f00","hex_latitude":"05dd0fe0","is_valid_coordinates":true} 
[2026-07-15 07:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724985344001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106227627995430912,"note":"Value kept but may cause issues"} 
[2026-07-15 07:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9200854013534545920,"note":"Value kept but may cause issues"} 
[2026-07-15 07:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784081976000,"timestamp_ms":1784081976000,"timestamp_seconds":1784081976,"priority":1,"record_length":96,"hex_timestamp":"0000019f63928ac0"} 
[2026-07-15 07:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724843520001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:50:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:50:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 07:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724843520001,"power":25158,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-15 07:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 07:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 07:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724985344001,"66":13526,"251":206,"85":15104,"24":22,"16":106227627995430912,"45":-9200854013534545920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-15 07:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 07:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 07:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724985344001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:50:07] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-15 07:50:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 07:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106227627995430912,"km_value":106227627995430.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9200854013534545920,"description":"Unknown IO ID 45"} 
[2026-07-15 07:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724985344001,"power":13526,"unknown_251":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9200854013534545920}} 
[2026-07-15 07:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":132116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:50:07] local.INFO: GPS data processed {"connection_id":132116,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:50:07] local.INFO: Acknowledgment sent {"connection_id":132116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":133129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489808,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:50:07] local.INFO: GPS data processed {"connection_id":133129,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:50:07] local.INFO: Acknowledgment sent {"connection_id":133129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:50:34] local.INFO: TCP Data received {"connection_id":132293,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132293,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:50:34] local.INFO: Processing buffer {"connection_id":132293,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:50:34] local.INFO: IMEI packet received {"connection_id":132293,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 07:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":132293,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:50:38] local.INFO: TCP Data received {"connection_id":132116,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f638ea6a8012d7f92c005afd830000000502b..."} 
[2026-07-15 07:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f638ea6a8012d7f92c005afd830000000502b..."} 
[2026-07-15 07:50:38] local.INFO: Processing buffer {"connection_id":132116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f638ea6a8012d7f92c005afd830000000502b..."} 
[2026-07-15 07:50:38] local.INFO: Packet analysis {"connection_id":132116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f638e"} 
[2026-07-15 07:50:38] local.INFO: Extracted packet for processing {"connection_id":132116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f638e"} 
[2026-07-15 07:50:38] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724843520001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784081721000,"timestamp_ms":1784081721000,"timestamp_seconds":1784081721,"priority":1,"record_length":96,"hex_timestamp":"0000019f638ea6a8"} 
[2026-07-15 07:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-15 07:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724843520001,"66":25158,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724843520001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:50:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:50:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724843520001,"power":25158,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":132116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:50:38] local.INFO: GPS data processed {"connection_id":132116,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:50:38] local.INFO: Acknowledgment sent {"connection_id":132116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:50:39] local.INFO: TCP Data received {"connection_id":132293,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132293,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:50:39] local.INFO: Processing buffer {"connection_id":132293,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:50:39] local.INFO: IMEI packet received {"connection_id":132293,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 07:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":132293,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:50:39] local.INFO: TCP Data received {"connection_id":132293,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f639303d8012d80548005dd44b80002004220..."} 
[2026-07-15 07:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f639303d8012d80548005dd44b80002004220..."} 
[2026-07-15 07:50:39] local.INFO: Processing buffer {"connection_id":132293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f639303d8012d80548005dd44b80002004220..."} 
[2026-07-15 07:50:39] local.INFO: Packet analysis {"connection_id":132293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6393"} 
[2026-07-15 07:50:39] local.INFO: Extracted packet for processing {"connection_id":132293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6393"} 
[2026-07-15 07:50:39] local.INFO: GPS Element Parsed {"raw_longitude":763384960,"raw_latitude":98387128,"longitude_deg":76.338496,"latitude_deg":9.8387128,"altitude":2,"angle":66,"satellites":32,"speed":21,"hex_longitude":"2d805480","hex_latitude":"05dd44b8","is_valid_coordinates":true} 
[2026-07-15 07: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-07-15 07:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724993536001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106228383909675008,"note":"Value kept but may cause issues"} 
[2026-07-15 07:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9200150326089103360,"note":"Value kept but may cause issues"} 
[2026-07-15 07:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784082007000,"timestamp_ms":1784082007000,"timestamp_seconds":1784082007,"priority":1,"record_length":96,"hex_timestamp":"0000019f639303d8"} 
[2026-07-15 07:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:50: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-07-15 07: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-15 07:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751610213,"note":"Value kept but may cause issues"} 
[2026-07-15 07:50:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 07:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2152267781,"note":"Value kept but may cause issues"} 
[2026-07-15 07:50:39] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-15 07:50:39] local.WARNING: Large IO value detected {"io_id":101,"raw_value":4043309056,"note":"Value kept but may cause issues"} 
[2026-07-15 07:50:39] local.WARNING: Large IO value detected {"io_id":128,"raw_value":4935951639008247812,"note":"Value kept but may cause issues"} 
[2026-07-15 07:50:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":8747617753562611712,"note":"Value kept but may cause issues"} 
[2026-07-15 07:50:39] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-15 07:50:39] local.WARNING: Large IO value detected {"io_id":99,"raw_value":2462918657,"note":"Value kept but may cause issues"} 
[2026-07-15 07:50:39] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635442204026875,"note":"Value kept but may cause issues"} 
[2026-07-15 07:50:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2818113742,"corrected_to":0} 
[2026-07-15 07:50:39] local.WARNING: Large IO value detected {"io_id":70,"raw_value":2147867948,"note":"Value kept but may cause issues"} 
[2026-07-15 07:50:39] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3707817383,"note":"Value kept but may cause issues"} 
[2026-07-15 07:50:39] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-3026192828238606763,"note":"Value kept but may cause issues"} 
[2026-07-15 07:50:39] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755481045565681,"note":"Value kept but may cause issues"} 
[2026-07-15 07:50:39] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,249,85,24,241,157,16,102,159,252,45,192,66,2,32,10,224,54,6,101,220,128,1,240,160,227,99,221,4,113,205,19,197,70,136,239,49,251,121,5,52,59],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2818113742,"validated":0}]} 
[2026-07-15 07:50:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144173599632392192,"timestamp_seconds":144173599632392.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 07:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 07:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 07:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724993536001,"66":13580,"249":206,"85":15104,"24":21,"16":106228383909675008,"45":-9200150326089103360},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-15 07:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 07:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 07:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724993536001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:50:39] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-15 07:50:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 07:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106228383909675008,"km_value":106228383909675.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9200150326089103360,"description":"Unknown IO ID 45"} 
[2026-07-15 07:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724993536001,"power":13580,"unknown_249":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9200150326089103360}} 
[2026-07-15 07:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":132293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489810,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:50:39] local.INFO: GPS data processed {"connection_id":132293,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:50:39] local.INFO: Acknowledgment sent {"connection_id":132293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:50:59] local.INFO: TCP Data received {"connection_id":134502,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:50:59] local.INFO: Processing buffer {"connection_id":134502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:50:59] local.INFO: IMEI packet received {"connection_id":134502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":134502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:51:03] local.INFO: TCP Data received {"connection_id":134502,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:51:03] local.INFO: Processing buffer {"connection_id":134502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:51:03] local.INFO: IMEI packet received {"connection_id":134502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":134502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:51:07] local.INFO: TCP Data received {"connection_id":134502,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:51:07] local.INFO: Processing buffer {"connection_id":134502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:51:07] local.INFO: IMEI packet received {"connection_id":134502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":134502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:51:07] local.INFO: TCP Data received {"connection_id":134502,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f63933e70012d7f92c005afd830000000502b..."} 
[2026-07-15 07:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63933e70012d7f92c005afd830000000502b..."} 
[2026-07-15 07:51:07] local.INFO: Processing buffer {"connection_id":134502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63933e70012d7f92c005afd830000000502b..."} 
[2026-07-15 07:51:07] local.INFO: Packet analysis {"connection_id":134502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6393"} 
[2026-07-15 07:51:07] local.INFO: Extracted packet for processing {"connection_id":134502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6393"} 
[2026-07-15 07:51:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724920576001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784082022000,"timestamp_ms":1784082022000,"timestamp_seconds":1784082022,"priority":1,"record_length":96,"hex_timestamp":"0000019f63933e70"} 
[2026-07-15 07:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-15 07:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724920576001,"66":25288,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724920576001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:51:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:51:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724920576001,"power":25288,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":134502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:51:07] local.INFO: GPS data processed {"connection_id":134502,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:51:07] local.INFO: Acknowledgment sent {"connection_id":134502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:51:10] local.INFO: TCP Data received {"connection_id":132293,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f6393c728012d80744005ddbd000005000821..."} 
[2026-07-15 07:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6393c728012d80744005ddbd000005000821..."} 
[2026-07-15 07:51:10] local.INFO: Processing buffer {"connection_id":132293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6393c728012d80744005ddbd000005000821..."} 
[2026-07-15 07:51:10] local.INFO: Packet analysis {"connection_id":132293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6393"} 
[2026-07-15 07:51:10] local.INFO: Extracted packet for processing {"connection_id":132293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6393"} 
[2026-07-15 07:51:10] local.INFO: GPS Element Parsed {"raw_longitude":763393088,"raw_latitude":98417920,"longitude_deg":76.3393088,"latitude_deg":9.841792,"altitude":5,"angle":8,"satellites":33,"speed":34,"hex_longitude":"2d807440","hex_latitude":"05ddbd00","is_valid_coordinates":true} 
[2026-07-15 07: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-07-15 07:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725004288001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106230256515416064,"note":"Value kept but may cause issues"} 
[2026-07-15 07:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9193606032874772480,"note":"Value kept but may cause issues"} 
[2026-07-15 07:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784082057000,"timestamp_ms":1784082057000,"timestamp_seconds":1784082057,"priority":1,"record_length":96,"hex_timestamp":"0000019f6393c728"} 
[2026-07-15 07:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:51:10] 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-07-15 07: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":29,"data_length":795,"current_offset":136} 
[2026-07-15 07:51:10] 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-07-15 07: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-07-15 07:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":132293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":132293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":132293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 07:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 07:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725004288001,"66":13319,"249":206,"85":15104,"24":34,"16":106230256515416064,"45":-9193606032874772480},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-15 07:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 07:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 07:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725004288001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:51:10] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-15 07:51:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 07:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106230256515416064,"km_value":106230256515416.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9193606032874772480,"description":"Unknown IO ID 45"} 
[2026-07-15 07:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725004288001,"power":13319,"unknown_249":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9193606032874772480}} 
[2026-07-15 07:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":132293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489812,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:51:10] local.INFO: GPS data processed {"connection_id":132293,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:51:10] local.INFO: Acknowledgment sent {"connection_id":132293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:51:12] local.INFO: TCP Data received {"connection_id":134502,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f63933e70012d7f92c005afd830000000502b..."} 
[2026-07-15 07:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63933e70012d7f92c005afd830000000502b..."} 
[2026-07-15 07:51:12] local.INFO: Processing buffer {"connection_id":134502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63933e70012d7f92c005afd830000000502b..."} 
[2026-07-15 07:51:12] local.INFO: Packet analysis {"connection_id":134502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6393"} 
[2026-07-15 07:51:12] local.INFO: Extracted packet for processing {"connection_id":134502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6393"} 
[2026-07-15 07:51:12] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07: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-07-15 07:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724920576001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784082022000,"timestamp_ms":1784082022000,"timestamp_seconds":1784082022,"priority":1,"record_length":96,"hex_timestamp":"0000019f63933e70"} 
[2026-07-15 07:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-15 07:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07: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-07-15 07:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":134502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":134502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":134502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:51:12] 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-07-15 07:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724920576001,"66":25288,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724920576001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:51:12] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:51:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724920576001,"power":25288,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":134502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:51:12] local.INFO: GPS data processed {"connection_id":134502,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:51:12] local.INFO: Acknowledgment sent {"connection_id":134502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:51:31] local.INFO: TCP Data received {"connection_id":132294,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132294,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:51:31] local.INFO: Processing buffer {"connection_id":132294,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:51:31] local.INFO: IMEI packet received {"connection_id":132294,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 07:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":132294,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:51:33] local.INFO: TCP Data received {"connection_id":132294,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132294,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:51:33] local.INFO: Processing buffer {"connection_id":132294,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:51:33] local.INFO: IMEI packet received {"connection_id":132294,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 07:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":132294,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:51:34] local.INFO: TCP Data received {"connection_id":132294,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132294,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:51:34] local.INFO: Processing buffer {"connection_id":132294,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:51:34] local.INFO: IMEI packet received {"connection_id":132294,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 07:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":132294,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:51:35] local.INFO: TCP Data received {"connection_id":132294,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f6393cef8012d80744005ddc3b80005016421..."} 
[2026-07-15 07:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6393cef8012d80744005ddc3b80005016421..."} 
[2026-07-15 07:51:35] local.INFO: Processing buffer {"connection_id":132294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6393cef8012d80744005ddc3b80005016421..."} 
[2026-07-15 07:51:35] local.INFO: Packet analysis {"connection_id":132294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6393"} 
[2026-07-15 07:51:35] local.INFO: Extracted packet for processing {"connection_id":132294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6393"} 
[2026-07-15 07:51:35] local.INFO: GPS Element Parsed {"raw_longitude":763393088,"raw_latitude":98419640,"longitude_deg":76.3393088,"latitude_deg":9.841964,"altitude":5,"angle":356,"satellites":33,"speed":33,"hex_longitude":"2d807440","hex_latitude":"05ddc3b8","is_valid_coordinates":true} 
[2026-07-15 07:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725006592001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106230342414761984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9190650545617174528,"note":"Value kept but may cause issues"} 
[2026-07-15 07:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784082059000,"timestamp_ms":1784082059000,"timestamp_seconds":1784082059,"priority":1,"record_length":96,"hex_timestamp":"0000019f6393cef8"} 
[2026-07-15 07:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 07:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-15 07:51:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 07:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2155233285,"note":"Value kept but may cause issues"} 
[2026-07-15 07:51:35] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3713024000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:51:35] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-15 07:51:35] local.WARNING: Large IO value detected {"io_id":99,"raw_value":2471366657,"note":"Value kept but may cause issues"} 
[2026-07-15 07:51:35] local.WARNING: Large IO value detected {"io_id":221,"raw_value":5643010350276812800,"note":"Value kept but may cause issues"} 
[2026-07-15 07:51:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2818113742,"corrected_to":0} 
[2026-07-15 07:51:35] local.WARNING: Large IO value detected {"io_id":84,"raw_value":57887058127902011,"note":"Value kept but may cause issues"} 
[2026-07-15 07:51:35] local.WARNING: Large IO value detected {"io_id":147,"raw_value":4499097322683564037,"note":"Value kept but may cause issues"} 
[2026-07-15 07:51:35] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,249,85,24,241,157,16,103,159,164,45,192,156,5,33,10,66,149,121,128,1,240,220,227,99,221,4,113,205,26,70,119,136,32,239,52,2,18,84,147],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2818113742,"validated":0}]} 
[2026-07-15 07:51:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360296908018810880,"timestamp_seconds":360296908018810.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 07:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 07:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 07:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725006592001,"66":13450,"249":206,"85":15104,"24":33,"16":106230342414761984,"45":-9190650545617174528},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-15 07:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 07:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 07:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725006592001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:51:35] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-15 07:51:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 07:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106230342414761984,"km_value":106230342414761.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9190650545617174528,"description":"Unknown IO ID 45"} 
[2026-07-15 07:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725006592001,"power":13450,"unknown_249":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9190650545617174528}} 
[2026-07-15 07:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":132294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489814,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:51:35] local.INFO: GPS data processed {"connection_id":132294,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:51:35] local.INFO: Acknowledgment sent {"connection_id":132294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:51:38] local.INFO: TCP Data received {"connection_id":132294,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f6393ee38012d8073c005dddcc80003000d21..."} 
[2026-07-15 07:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6393ee38012d8073c005dddcc80003000d21..."} 
[2026-07-15 07:51:38] local.INFO: Processing buffer {"connection_id":132294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6393ee38012d8073c005dddcc80003000d21..."} 
[2026-07-15 07:51:38] local.INFO: Packet analysis {"connection_id":132294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6393"} 
[2026-07-15 07:51:38] local.INFO: Extracted packet for processing {"connection_id":132294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6393"} 
[2026-07-15 07:51:38] local.INFO: GPS Element Parsed {"raw_longitude":763392960,"raw_latitude":98426056,"longitude_deg":76.339296,"latitude_deg":9.8426056,"altitude":3,"angle":13,"satellites":33,"speed":31,"hex_longitude":"2d8073c0","hex_latitude":"05dddcc8","is_valid_coordinates":true} 
[2026-07-15 07:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725007104001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106230655947374592,"note":"Value kept but may cause issues"} 
[2026-07-15 07:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9190650545616734208,"note":"Value kept but may cause issues"} 
[2026-07-15 07:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784082067000,"timestamp_ms":1784082067000,"timestamp_seconds":1784082067,"priority":1,"record_length":96,"hex_timestamp":"0000019f6393ee38"} 
[2026-07-15 07:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 07:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-15 07:51:38] 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-07-15 07:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 07:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 07:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725007104001,"66":13428,"249":206,"85":15104,"24":31,"16":106230655947374592,"45":-9190650545616734208},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-15 07:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 07:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 07:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725007104001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:51:38] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-15 07:51:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 07:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106230655947374592,"km_value":106230655947374.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9190650545616734208,"description":"Unknown IO ID 45"} 
[2026-07-15 07:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725007104001,"power":13428,"unknown_249":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9190650545616734208}} 
[2026-07-15 07:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":132294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489815,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:51:38] local.INFO: GPS data processed {"connection_id":132294,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:51:38] local.INFO: Acknowledgment sent {"connection_id":132294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:51:43] local.INFO: TCP Data received {"connection_id":134502,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f63933e70012d7f92c005afd830000000502b..."} 
[2026-07-15 07:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63933e70012d7f92c005afd830000000502b..."} 
[2026-07-15 07:51:43] local.INFO: Processing buffer {"connection_id":134502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63933e70012d7f92c005afd830000000502b..."} 
[2026-07-15 07:51:43] local.INFO: Packet analysis {"connection_id":134502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6393"} 
[2026-07-15 07:51:43] local.INFO: Extracted packet for processing {"connection_id":134502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6393"} 
[2026-07-15 07:51:43] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07: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-07-15 07:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724920576001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:51:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:51:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784082022000,"timestamp_ms":1784082022000,"timestamp_seconds":1784082022,"priority":1,"record_length":96,"hex_timestamp":"0000019f63933e70"} 
[2026-07-15 07:51:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:51:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-15 07:51:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07: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-07-15 07:51:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":134502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":134502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":134502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:51:43] 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-07-15 07:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724920576001,"66":25288,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724920576001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:51:43] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:51:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:51:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724920576001,"power":25288,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":134502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:51:43] local.INFO: GPS data processed {"connection_id":134502,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:51:43] local.INFO: Acknowledgment sent {"connection_id":134502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:52:03] local.INFO: TCP Data received {"connection_id":134503,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:52:03] local.INFO: Processing buffer {"connection_id":134503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:52:03] local.INFO: IMEI packet received {"connection_id":134503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":134503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:52:07] local.INFO: TCP Data received {"connection_id":134503,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:52:07] local.INFO: Processing buffer {"connection_id":134503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:52:07] local.INFO: IMEI packet received {"connection_id":134503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":134503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:52:08] local.INFO: TCP Data received {"connection_id":134503,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f63933e70012d7f92c005afd830000000502b..."} 
[2026-07-15 07:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63933e70012d7f92c005afd830000000502b..."} 
[2026-07-15 07:52:08] local.INFO: Processing buffer {"connection_id":134503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63933e70012d7f92c005afd830000000502b..."} 
[2026-07-15 07:52:08] local.INFO: Packet analysis {"connection_id":134503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6393"} 
[2026-07-15 07:52:08] local.INFO: Extracted packet for processing {"connection_id":134503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6393"} 
[2026-07-15 07:52:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724920576001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784082022000,"timestamp_ms":1784082022000,"timestamp_seconds":1784082022,"priority":1,"record_length":96,"hex_timestamp":"0000019f63933e70"} 
[2026-07-15 07:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-15 07:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724920576001,"66":25288,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724920576001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:52:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:52:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724920576001,"power":25288,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":134503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:52:08] local.INFO: GPS data processed {"connection_id":134503,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:52:08] local.INFO: Acknowledgment sent {"connection_id":134503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:52:08] local.INFO: TCP Data received {"connection_id":132294,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f639405a8012d80784005ddef580003000121..."} 
[2026-07-15 07:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f639405a8012d80784005ddef580003000121..."} 
[2026-07-15 07:52:08] local.INFO: Processing buffer {"connection_id":132294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f639405a8012d80784005ddef580003000121..."} 
[2026-07-15 07:52:08] local.INFO: Packet analysis {"connection_id":132294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6394"} 
[2026-07-15 07:52:08] local.INFO: Extracted packet for processing {"connection_id":132294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6394"} 
[2026-07-15 07:52:08] local.INFO: GPS Element Parsed {"raw_longitude":763394112,"raw_latitude":98430808,"longitude_deg":76.3394112,"latitude_deg":9.8430808,"altitude":3,"angle":1,"satellites":33,"speed":29,"hex_longitude":"2d807840","hex_latitude":"05ddef58","is_valid_coordinates":true} 
[2026-07-15 07:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725009152001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106230892170575872,"note":"Value kept but may cause issues"} 
[2026-07-15 07:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9190791283103447040,"note":"Value kept but may cause issues"} 
[2026-07-15 07:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784082073000,"timestamp_ms":1784082073000,"timestamp_seconds":1784082073,"priority":1,"record_length":96,"hex_timestamp":"0000019f639405a8"} 
[2026-07-15 07:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:52: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-07-15 07:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-15 07:52: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-07-15 07:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 07:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 07:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725009152001,"66":13374,"249":206,"85":15104,"24":29,"16":106230892170575872,"45":-9190791283103447040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-15 07:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 07:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 07:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725009152001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:52:08] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-15 07:52:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 07:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106230892170575872,"km_value":106230892170575.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9190791283103447040,"description":"Unknown IO ID 45"} 
[2026-07-15 07:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725009152001,"power":13374,"unknown_249":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9190791283103447040}} 
[2026-07-15 07:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":132294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489818,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:52:08] local.INFO: GPS data processed {"connection_id":132294,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:52:08] local.INFO: Acknowledgment sent {"connection_id":132294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:52:35] local.INFO: TCP Data received {"connection_id":133130,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133130,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:52:35] local.INFO: Processing buffer {"connection_id":133130,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:52:35] local.INFO: IMEI packet received {"connection_id":133130,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 07:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":133130,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:52:37] local.INFO: TCP Data received {"connection_id":133130,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133130,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:52:37] local.INFO: Processing buffer {"connection_id":133130,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:52:37] local.INFO: IMEI packet received {"connection_id":133130,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 07:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":133130,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:52:38] local.INFO: TCP Data received {"connection_id":133130,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f6394e450012d80678005de7dc00004016621..."} 
[2026-07-15 07:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6394e450012d80678005de7dc00004016621..."} 
[2026-07-15 07:52:38] local.INFO: Processing buffer {"connection_id":133130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6394e450012d80678005de7dc00004016621..."} 
[2026-07-15 07:52:38] local.INFO: Packet analysis {"connection_id":133130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6394"} 
[2026-07-15 07:52:38] local.INFO: Extracted packet for processing {"connection_id":133130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6394"} 
[2026-07-15 07:52:38] local.INFO: GPS Element Parsed {"raw_longitude":763389824,"raw_latitude":98467264,"longitude_deg":76.3389824,"latitude_deg":9.8467264,"altitude":4,"angle":358,"satellites":33,"speed":19,"hex_longitude":"2d806780","hex_latitude":"05de7dc0","is_valid_coordinates":true} 
[2026-07-15 07:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725025024001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106232704646774784,"note":"Value kept but may cause issues"} 
[2026-07-15 07:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9194239351557732352,"note":"Value kept but may cause issues"} 
[2026-07-15 07:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784082130000,"timestamp_ms":1784082130000,"timestamp_seconds":1784082130,"priority":1,"record_length":96,"hex_timestamp":"0000019f6394e450"} 
[2026-07-15 07:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 07:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-15 07:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133130,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133130,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 07:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 07:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725025024001,"66":13189,"100":206,"85":15104,"24":19,"16":106232704646774784,"45":-9194239351557732352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-07-15 07:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 07:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 07:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725025024001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:52:38] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-07-15 07:52:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 07:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106232704646774784,"km_value":106232704646774.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9194239351557732352,"description":"Unknown IO ID 45"} 
[2026-07-15 07:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725025024001,"power":13189,"unknown_100":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":-9194239351557732352}} 
[2026-07-15 07:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":133130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489819,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:52:38] local.INFO: GPS data processed {"connection_id":133130,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:52:38] local.INFO: Acknowledgment sent {"connection_id":133130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:52:39] local.INFO: TCP Data received {"connection_id":133130,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f63950b60012d80648005de97f00005000a21..."} 
[2026-07-15 07:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63950b60012d80648005de97f00005000a21..."} 
[2026-07-15 07:52:39] local.INFO: Processing buffer {"connection_id":133130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63950b60012d80648005de97f00005000a21..."} 
[2026-07-15 07:52:39] local.INFO: Packet analysis {"connection_id":133130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6395"} 
[2026-07-15 07:52:39] local.INFO: Extracted packet for processing {"connection_id":133130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6395"} 
[2026-07-15 07:52:39] local.INFO: GPS Element Parsed {"raw_longitude":763389056,"raw_latitude":98473968,"longitude_deg":76.3389056,"latitude_deg":9.8473968,"altitude":5,"angle":10,"satellites":33,"speed":28,"hex_longitude":"2d806480","hex_latitude":"05de97f0","is_valid_coordinates":true} 
[2026-07-15 07: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-07-15 07:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725025280001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106233035359256576,"note":"Value kept but may cause issues"} 
[2026-07-15 07:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9194239351557603328,"note":"Value kept but may cause issues"} 
[2026-07-15 07:52:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784082140000,"timestamp_ms":1784082140000,"timestamp_seconds":1784082140,"priority":1,"record_length":96,"hex_timestamp":"0000019f63950b60"} 
[2026-07-15 07:52:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:52:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 07: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-15 07:52:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07: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-07-15 07:52:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133130,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133130,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:52:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 07:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 07:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725025280001,"66":13493,"100":206,"85":15104,"24":28,"16":106233035359256576,"45":-9194239351557603328},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-07-15 07:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 07:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 07:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725025280001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:52:39] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-07-15 07:52:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 07:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106233035359256576,"km_value":106233035359256.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9194239351557603328,"description":"Unknown IO ID 45"} 
[2026-07-15 07:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725025280001,"power":13493,"unknown_100":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9194239351557603328}} 
[2026-07-15 07:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":133130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489820,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:52:39] local.INFO: GPS data processed {"connection_id":133130,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:52:39] local.INFO: Acknowledgment sent {"connection_id":133130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:52:41] local.INFO: TCP Data received {"connection_id":134503,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f63933e70012d7f92c005afd830000000502b..."} 
[2026-07-15 07:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63933e70012d7f92c005afd830000000502b..."} 
[2026-07-15 07:52:41] local.INFO: Processing buffer {"connection_id":134503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63933e70012d7f92c005afd830000000502b..."} 
[2026-07-15 07:52:41] local.INFO: Packet analysis {"connection_id":134503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6393"} 
[2026-07-15 07:52:41] local.INFO: Extracted packet for processing {"connection_id":134503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6393"} 
[2026-07-15 07:52:41] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724920576001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784082022000,"timestamp_ms":1784082022000,"timestamp_seconds":1784082022,"priority":1,"record_length":96,"hex_timestamp":"0000019f63933e70"} 
[2026-07-15 07:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-15 07:52: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-07-15 07:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":134503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":134503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":134503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724920576001,"66":25288,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724920576001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:52:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:52:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724920576001,"power":25288,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":134503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:52:41] local.INFO: GPS data processed {"connection_id":134503,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:52:41] local.INFO: Acknowledgment sent {"connection_id":134503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:53:01] local.INFO: TCP Data received {"connection_id":132296,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:53:01] local.INFO: Processing buffer {"connection_id":132296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:53:01] local.INFO: IMEI packet received {"connection_id":132296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":132296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:53:07] local.INFO: TCP Data received {"connection_id":132296,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:53:07] local.INFO: Processing buffer {"connection_id":132296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:53:07] local.INFO: IMEI packet received {"connection_id":132296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":132296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:53:07] local.INFO: TCP Data received {"connection_id":132296,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f63933e70012d7f92c005afd830000000502b..."} 
[2026-07-15 07:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63933e70012d7f92c005afd830000000502b..."} 
[2026-07-15 07:53:07] local.INFO: Processing buffer {"connection_id":132296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63933e70012d7f92c005afd830000000502b..."} 
[2026-07-15 07:53:07] local.INFO: Packet analysis {"connection_id":132296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6393"} 
[2026-07-15 07:53:07] local.INFO: Extracted packet for processing {"connection_id":132296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6393"} 
[2026-07-15 07:53:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724920576001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784082022000,"timestamp_ms":1784082022000,"timestamp_seconds":1784082022,"priority":1,"record_length":96,"hex_timestamp":"0000019f63933e70"} 
[2026-07-15 07:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-15 07:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:53:07] 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-07-15 07:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724920576001,"66":25288,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724920576001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:53:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:53:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724920576001,"power":25288,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":132296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:53:07] local.INFO: GPS data processed {"connection_id":132296,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:53:07] local.INFO: Acknowledgment sent {"connection_id":132296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:53:10] local.INFO: TCP Data received {"connection_id":133130,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f63951ee8012d80668005dea5d00006016221..."} 
[2026-07-15 07:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63951ee8012d80668005dea5d00006016221..."} 
[2026-07-15 07:53:10] local.INFO: Processing buffer {"connection_id":133130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63951ee8012d80668005dea5d00006016221..."} 
[2026-07-15 07:53:10] local.INFO: Packet analysis {"connection_id":133130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6395"} 
[2026-07-15 07:53:10] local.INFO: Extracted packet for processing {"connection_id":133130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6395"} 
[2026-07-15 07:53:10] local.INFO: GPS Element Parsed {"raw_longitude":763389568,"raw_latitude":98477520,"longitude_deg":76.3389568,"latitude_deg":9.847752,"altitude":6,"angle":354,"satellites":33,"speed":29,"hex_longitude":"2d806680","hex_latitude":"05dea5d0","is_valid_coordinates":true} 
[2026-07-15 07: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-07-15 07:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725027840001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106233211452915712,"note":"Value kept but may cause issues"} 
[2026-07-15 07:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9195083776486019072,"note":"Value kept but may cause issues"} 
[2026-07-15 07:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784082145000,"timestamp_ms":1784082145000,"timestamp_seconds":1784082145,"priority":1,"record_length":96,"hex_timestamp":"0000019f63951ee8"} 
[2026-07-15 07:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 07: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-07-15 07: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-07-15 07: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-07-15 07:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":133130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":133130,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":133130,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:53:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 07:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 07:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725027840001,"66":13341,"100":206,"85":15104,"24":29,"16":106233211452915712,"45":-9195083776486019072},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-07-15 07:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 07:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 07:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725027840001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:53:10] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-07-15 07:53:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 07:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106233211452915712,"km_value":106233211452915.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9195083776486019072,"description":"Unknown IO ID 45"} 
[2026-07-15 07:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725027840001,"power":13341,"unknown_100":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9195083776486019072}} 
[2026-07-15 07:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":133130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489823,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:53:10] local.INFO: GPS data processed {"connection_id":133130,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:53:10] local.INFO: Acknowledgment sent {"connection_id":133130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:53:29] local.INFO: TCP Data received {"connection_id":133131,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133131,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:53:29] local.INFO: Processing buffer {"connection_id":133131,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:53:29] local.INFO: IMEI packet received {"connection_id":133131,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 07:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":133131,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:53:31] local.INFO: TCP Data received {"connection_id":133131,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133131,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:53:31] local.INFO: Processing buffer {"connection_id":133131,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:53:31] local.INFO: IMEI packet received {"connection_id":133131,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 07:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":133131,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:53:32] local.INFO: TCP Data received {"connection_id":133131,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f639549e0012d80600005dec7c00004000221..."} 
[2026-07-15 07:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f639549e0012d80600005dec7c00004000221..."} 
[2026-07-15 07:53:32] local.INFO: Processing buffer {"connection_id":133131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f639549e0012d80600005dec7c00004000221..."} 
[2026-07-15 07:53:32] local.INFO: Packet analysis {"connection_id":133131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6395"} 
[2026-07-15 07:53:32] local.INFO: Extracted packet for processing {"connection_id":133131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6395"} 
[2026-07-15 07:53:32] local.INFO: GPS Element Parsed {"raw_longitude":763387904,"raw_latitude":98486208,"longitude_deg":76.3387904,"latitude_deg":9.8486208,"altitude":4,"angle":2,"satellites":33,"speed":37,"hex_longitude":"2d806000","hex_latitude":"05dec7c0","is_valid_coordinates":true} 
[2026-07-15 07:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725029120001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106233640949645312,"note":"Value kept but may cause issues"} 
[2026-07-15 07:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9194520826531688448,"note":"Value kept but may cause issues"} 
[2026-07-15 07:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784082156000,"timestamp_ms":1784082156000,"timestamp_seconds":1784082156,"priority":1,"record_length":96,"hex_timestamp":"0000019f639549e0"} 
[2026-07-15 07:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:53: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-07-15 07:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-15 07:53: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-07-15 07:53:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":133131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":133131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":133131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 07:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 07:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725029120001,"66":13189,"100":206,"85":15104,"24":37,"16":106233640949645312,"45":-9194520826531688448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-07-15 07:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 07:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 07:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725029120001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:53:32] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-07-15 07:53:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 07:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106233640949645312,"km_value":106233640949645.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9194520826531688448,"description":"Unknown IO ID 45"} 
[2026-07-15 07:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725029120001,"power":13189,"unknown_100":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9194520826531688448}} 
[2026-07-15 07:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":133131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489824,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:53:32] local.INFO: GPS data processed {"connection_id":133131,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:53:32] local.INFO: Acknowledgment sent {"connection_id":133131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:53:38] local.INFO: TCP Data received {"connection_id":132296,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f63933e70012d7f92c005afd830000000502b..."} 
[2026-07-15 07:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63933e70012d7f92c005afd830000000502b..."} 
[2026-07-15 07:53:38] local.INFO: Processing buffer {"connection_id":132296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63933e70012d7f92c005afd830000000502b..."} 
[2026-07-15 07:53:38] local.INFO: Packet analysis {"connection_id":132296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6393"} 
[2026-07-15 07:53:38] local.INFO: Extracted packet for processing {"connection_id":132296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6393"} 
[2026-07-15 07:53:38] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07: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-07-15 07:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724920576001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784082022000,"timestamp_ms":1784082022000,"timestamp_seconds":1784082022,"priority":1,"record_length":96,"hex_timestamp":"0000019f63933e70"} 
[2026-07-15 07:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-15 07:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07: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-07-15 07:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724920576001,"66":25288,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724920576001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:53:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:53:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724920576001,"power":25288,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":132296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:53:38] local.INFO: GPS data processed {"connection_id":132296,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:53:38] local.INFO: Acknowledgment sent {"connection_id":132296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:54:03] local.INFO: TCP Data received {"connection_id":133131,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f639570f0012d80614005deed600004016620..."} 
[2026-07-15 07:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f639570f0012d80614005deed600004016620..."} 
[2026-07-15 07:54:03] local.INFO: Processing buffer {"connection_id":133131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f639570f0012d80614005deed600004016620..."} 
[2026-07-15 07:54:03] local.INFO: Packet analysis {"connection_id":133131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6395"} 
[2026-07-15 07:54:03] local.INFO: Extracted packet for processing {"connection_id":133131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6395"} 
[2026-07-15 07:54:03] local.INFO: GPS Element Parsed {"raw_longitude":763388224,"raw_latitude":98495840,"longitude_deg":76.3388224,"latitude_deg":9.849584,"altitude":4,"angle":358,"satellites":32,"speed":38,"hex_longitude":"2d806140","hex_latitude":"05deed60","is_valid_coordinates":true} 
[2026-07-15 07:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725031936001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106234109101080576,"note":"Value kept but may cause issues"} 
[2026-07-15 07:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9196350413878083584,"note":"Value kept but may cause issues"} 
[2026-07-15 07:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784082166000,"timestamp_ms":1784082166000,"timestamp_seconds":1784082166,"priority":1,"record_length":96,"hex_timestamp":"0000019f639570f0"} 
[2026-07-15 07:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:54: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-07-15 07:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-15 07:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":133131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":133131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":133131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 07:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 07:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725031936001,"66":13189,"99":206,"85":15104,"24":38,"16":106234109101080576,"45":-9196350413878083584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,85,24,16,45]} 
[2026-07-15 07:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 07:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 07:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725031936001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:54:03] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-15 07:54:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 07:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106234109101080576,"km_value":106234109101080.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9196350413878083584,"description":"Unknown IO ID 45"} 
[2026-07-15 07:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725031936001,"power":13189,"unknown_99":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9196350413878083584}} 
[2026-07-15 07:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":133131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489826,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:54:03] local.INFO: GPS data processed {"connection_id":133131,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:54:03] local.INFO: Acknowledgment sent {"connection_id":133131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:54:07] local.INFO: TCP Data received {"connection_id":132297,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:54:07] local.INFO: Processing buffer {"connection_id":132297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:54:07] local.INFO: IMEI packet received {"connection_id":132297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":132297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:54:12] local.INFO: TCP Data received {"connection_id":132297,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:54:12] local.INFO: Processing buffer {"connection_id":132297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:54:12] local.INFO: IMEI packet received {"connection_id":132297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":132297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:54:12] local.INFO: TCP Data received {"connection_id":132297,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f63933e70012d7f92c005afd830000000502b..."} 
[2026-07-15 07:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63933e70012d7f92c005afd830000000502b..."} 
[2026-07-15 07:54:12] local.INFO: Processing buffer {"connection_id":132297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63933e70012d7f92c005afd830000000502b..."} 
[2026-07-15 07:54:12] local.INFO: Packet analysis {"connection_id":132297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6393"} 
[2026-07-15 07:54:12] local.INFO: Extracted packet for processing {"connection_id":132297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6393"} 
[2026-07-15 07:54:12] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724920576001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:54:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:54:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784082022000,"timestamp_ms":1784082022000,"timestamp_seconds":1784082022,"priority":1,"record_length":96,"hex_timestamp":"0000019f63933e70"} 
[2026-07-15 07:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:54:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-15 07:54:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:54:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:54:12] 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-07-15 07:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724920576001,"66":25288,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724920576001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:54:12] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:54:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:54:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724920576001,"power":25288,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":132297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:54:12] local.INFO: GPS data processed {"connection_id":132297,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:54:12] local.INFO: Acknowledgment sent {"connection_id":132297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:54:17] local.INFO: TCP Data received {"connection_id":132297,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f63933e70012d7f92c005afd830000000502b..."} 
[2026-07-15 07:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63933e70012d7f92c005afd830000000502b..."} 
[2026-07-15 07:54:17] local.INFO: Processing buffer {"connection_id":132297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63933e70012d7f92c005afd830000000502b..."} 
[2026-07-15 07:54:17] local.INFO: Packet analysis {"connection_id":132297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6393"} 
[2026-07-15 07:54:17] local.INFO: Extracted packet for processing {"connection_id":132297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6393"} 
[2026-07-15 07:54:17] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724920576001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:54:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784082022000,"timestamp_ms":1784082022000,"timestamp_seconds":1784082022,"priority":1,"record_length":96,"hex_timestamp":"0000019f63933e70"} 
[2026-07-15 07:54:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:54:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-15 07:54:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:54:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:54:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724920576001,"66":25288,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724920576001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:54:17] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:54:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724920576001,"power":25288,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":132297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:54:17] local.INFO: GPS data processed {"connection_id":132297,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:54:17] local.INFO: Acknowledgment sent {"connection_id":132297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:54:29] local.INFO: TCP Data received {"connection_id":132119,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132119,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:54:29] local.INFO: Processing buffer {"connection_id":132119,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:54:29] local.INFO: IMEI packet received {"connection_id":132119,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 07:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":132119,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:54:34] local.INFO: TCP Data received {"connection_id":132119,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132119,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:54:34] local.INFO: Processing buffer {"connection_id":132119,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:54:34] local.INFO: IMEI packet received {"connection_id":132119,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 07:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":132119,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:54:35] local.INFO: TCP Data received {"connection_id":132119,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f63959418012d80600005df13380001000020..."} 
[2026-07-15 07:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63959418012d80600005df13380001000020..."} 
[2026-07-15 07:54:35] local.INFO: Processing buffer {"connection_id":132119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63959418012d80600005df13380001000020..."} 
[2026-07-15 07:54:35] local.INFO: Packet analysis {"connection_id":132119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6395"} 
[2026-07-15 07:54:35] local.INFO: Extracted packet for processing {"connection_id":132119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6395"} 
[2026-07-15 07:54:35] local.INFO: GPS Element Parsed {"raw_longitude":763387904,"raw_latitude":98505528,"longitude_deg":76.3387904,"latitude_deg":9.8505528,"altitude":1,"angle":0,"satellites":32,"speed":46,"hex_longitude":"2d806000","hex_latitude":"05df1338","is_valid_coordinates":true} 
[2026-07-15 07:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725034496001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106234577252515840,"note":"Value kept but may cause issues"} 
[2026-07-15 07:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9195998570154729472,"note":"Value kept but may cause issues"} 
[2026-07-15 07:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784082175000,"timestamp_ms":1784082175000,"timestamp_seconds":1784082175,"priority":1,"record_length":96,"hex_timestamp":"0000019f63959418"} 
[2026-07-15 07:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:54: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-07-15 07:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-15 07:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07: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-07-15 07:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 07:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 07:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725034496001,"66":13243,"99":206,"85":15104,"24":46,"16":106234577252515840,"45":-9195998570154729472},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,85,24,16,45]} 
[2026-07-15 07:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 07:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 07:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725034496001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:54:35] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-15 07:54:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 07:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106234577252515840,"km_value":106234577252515.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9195998570154729472,"description":"Unknown IO ID 45"} 
[2026-07-15 07:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725034496001,"power":13243,"unknown_99":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":-9195998570154729472}} 
[2026-07-15 07:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":132119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489829,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:54:35] local.INFO: GPS data processed {"connection_id":132119,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:54:35] local.INFO: Acknowledgment sent {"connection_id":132119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:55:00] local.INFO: TCP Data received {"connection_id":134504,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 07:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134504,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 07:55:00] local.INFO: Processing buffer {"connection_id":134504,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 07:55:00] local.INFO: IMEI packet received {"connection_id":134504,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 07:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":134504,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:55:02] local.INFO: TCP Data received {"connection_id":132120,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:55:02] local.INFO: Processing buffer {"connection_id":132120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:55:02] local.INFO: IMEI packet received {"connection_id":132120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":132120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:55:06] local.INFO: TCP Data received {"connection_id":132119,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f6395ab88012d805e0005df2ef80001015a1f..."} 
[2026-07-15 07:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6395ab88012d805e0005df2ef80001015a1f..."} 
[2026-07-15 07:55:06] local.INFO: Processing buffer {"connection_id":132119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6395ab88012d805e0005df2ef80001015a1f..."} 
[2026-07-15 07:55:06] local.INFO: Packet analysis {"connection_id":132119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6395"} 
[2026-07-15 07:55:06] local.INFO: Extracted packet for processing {"connection_id":132119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6395"} 
[2026-07-15 07:55:06] local.INFO: GPS Element Parsed {"raw_longitude":763387392,"raw_latitude":98512632,"longitude_deg":76.3387392,"latitude_deg":9.8512632,"altitude":1,"angle":346,"satellites":31,"speed":47,"hex_longitude":"2d805e00","hex_latitude":"05df2ef8","is_valid_coordinates":true} 
[2026-07-15 07:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725036800001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106234925144866816,"note":"Value kept but may cause issues"} 
[2026-07-15 07:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9196350413873137664,"note":"Value kept but may cause issues"} 
[2026-07-15 07:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784082181000,"timestamp_ms":1784082181000,"timestamp_seconds":1784082181,"priority":1,"record_length":96,"hex_timestamp":"0000019f6395ab88"} 
[2026-07-15 07:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:55:06] 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-07-15 07:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-15 07:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 07:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 07:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725036800001,"66":13222,"99":206,"85":15104,"24":47,"16":106234925144866816,"45":-9196350413873137664},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,85,24,16,45]} 
[2026-07-15 07:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 07:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 07:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725036800001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:55:06] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-15 07:55:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 07:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106234925144866816,"km_value":106234925144866.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9196350413873137664,"description":"Unknown IO ID 45"} 
[2026-07-15 07:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725036800001,"power":13222,"unknown_99":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":-9196350413873137664}} 
[2026-07-15 07:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":132119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489830,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:55:06] local.INFO: GPS data processed {"connection_id":132119,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:55:06] local.INFO: Acknowledgment sent {"connection_id":132119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:55:07] local.INFO: TCP Data received {"connection_id":132120,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:55:07] local.INFO: Processing buffer {"connection_id":132120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:55:07] local.INFO: IMEI packet received {"connection_id":132120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":132120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:55:07] local.INFO: TCP Data received {"connection_id":132120,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f63933e70012d7f92c005afd830000000502b..."} 
[2026-07-15 07:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63933e70012d7f92c005afd830000000502b..."} 
[2026-07-15 07:55:07] local.INFO: Processing buffer {"connection_id":132120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63933e70012d7f92c005afd830000000502b..."} 
[2026-07-15 07:55:07] local.INFO: Packet analysis {"connection_id":132120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6393"} 
[2026-07-15 07:55:07] local.INFO: Extracted packet for processing {"connection_id":132120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6393"} 
[2026-07-15 07:55:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724920576001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784082022000,"timestamp_ms":1784082022000,"timestamp_seconds":1784082022,"priority":1,"record_length":96,"hex_timestamp":"0000019f63933e70"} 
[2026-07-15 07:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-15 07:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724920576001,"66":25288,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724920576001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:55:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:55:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724920576001,"power":25288,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":132120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:55:07] local.INFO: GPS data processed {"connection_id":132120,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:55:07] local.INFO: Acknowledgment sent {"connection_id":132120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:55:29] local.INFO: TCP Data received {"connection_id":134505,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134505,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:55:29] local.INFO: Processing buffer {"connection_id":134505,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:55:29] local.INFO: IMEI packet received {"connection_id":134505,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 07:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":134505,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:55:32] local.INFO: TCP Data received {"connection_id":134505,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134505,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:55:32] local.INFO: Processing buffer {"connection_id":134505,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:55:32] local.INFO: IMEI packet received {"connection_id":134505,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 07:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":134505,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:55:34] local.INFO: TCP Data received {"connection_id":134505,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134505,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:55:34] local.INFO: Processing buffer {"connection_id":134505,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:55:34] local.INFO: IMEI packet received {"connection_id":134505,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 07:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":134505,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:55:35] local.INFO: TCP Data received {"connection_id":133133,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 07:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133133,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 07:55:35] local.INFO: Processing buffer {"connection_id":133133,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 07:55:35] local.INFO: IMEI packet received {"connection_id":133133,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 07:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":133133,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:55:35] local.INFO: TCP Data received {"connection_id":134505,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f639793d0012d7ffcc005e012680002015821..."} 
[2026-07-15 07:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f639793d0012d7ffcc005e012680002015821..."} 
[2026-07-15 07:55:35] local.INFO: Processing buffer {"connection_id":134505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f639793d0012d7ffcc005e012680002015821..."} 
[2026-07-15 07:55:35] local.INFO: Packet analysis {"connection_id":134505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6397"} 
[2026-07-15 07:55:35] local.INFO: Extracted packet for processing {"connection_id":134505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6397"} 
[2026-07-15 07:55:35] local.INFO: GPS Element Parsed {"raw_longitude":763362496,"raw_latitude":98570856,"longitude_deg":76.3362496,"latitude_deg":9.8570856,"altitude":2,"angle":344,"satellites":33,"speed":34,"hex_longitude":"2d7ffcc0","hex_latitude":"05e01268","is_valid_coordinates":true} 
[2026-07-15 07:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725067520001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106238047586091008,"note":"Value kept but may cause issues"} 
[2026-07-15 07:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9221823899251064832,"note":"Value kept but may cause issues"} 
[2026-07-15 07:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784082306000,"timestamp_ms":1784082306000,"timestamp_seconds":1784082306,"priority":1,"record_length":96,"hex_timestamp":"0000019f639793d0"} 
[2026-07-15 07:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:55:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 07:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-15 07:55: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-07-15 07:55:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":134505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":134505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":134505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 07:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 07:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725067520001,"66":12841,"121":206,"85":15104,"24":34,"16":106238047586091008,"45":-9221823899251064832},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-07-15 07:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 07:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 07:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725067520001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:55:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 07:55:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 07:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106238047586091008,"km_value":106238047586091.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9221823899251064832,"description":"Unknown IO ID 45"} 
[2026-07-15 07:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725067520001,"power":12841,"unknown_121":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9221823899251064832}} 
[2026-07-15 07:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":134505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489832,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:55:35] local.INFO: GPS data processed {"connection_id":134505,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:55:35] local.INFO: Acknowledgment sent {"connection_id":134505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:55:38] local.INFO: TCP Data received {"connection_id":132120,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f63933e70012d7f92c005afd830000000502b..."} 
[2026-07-15 07:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63933e70012d7f92c005afd830000000502b..."} 
[2026-07-15 07:55:38] local.INFO: Processing buffer {"connection_id":132120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63933e70012d7f92c005afd830000000502b..."} 
[2026-07-15 07:55:38] local.INFO: Packet analysis {"connection_id":132120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6393"} 
[2026-07-15 07:55:38] local.INFO: Extracted packet for processing {"connection_id":132120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6393"} 
[2026-07-15 07:55:38] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07: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-07-15 07:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724920576001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784082022000,"timestamp_ms":1784082022000,"timestamp_seconds":1784082022,"priority":1,"record_length":96,"hex_timestamp":"0000019f63933e70"} 
[2026-07-15 07:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-15 07:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07: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-07-15 07:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724920576001,"66":25288,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724920576001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:55:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:55:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724920576001,"power":25288,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":132120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:55:38] local.INFO: GPS data processed {"connection_id":132120,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:55:38] local.INFO: Acknowledgment sent {"connection_id":132120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:56:01] local.INFO: TCP Data received {"connection_id":132121,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:56:01] local.INFO: Processing buffer {"connection_id":132121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:56:01] local.INFO: IMEI packet received {"connection_id":132121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":132121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:56:01] local.INFO: TCP Data received {"connection_id":132121,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:56:01] local.INFO: Processing buffer {"connection_id":132121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:56:01] local.INFO: IMEI packet received {"connection_id":132121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":132121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:56:07] local.INFO: TCP Data received {"connection_id":134505,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f6397ab40012d7ff68005e024980004014720..."} 
[2026-07-15 07:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6397ab40012d7ff68005e024980004014720..."} 
[2026-07-15 07:56:07] local.INFO: Processing buffer {"connection_id":134505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6397ab40012d7ff68005e024980004014720..."} 
[2026-07-15 07:56:07] local.INFO: Packet analysis {"connection_id":134505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6397"} 
[2026-07-15 07:56:07] local.INFO: Extracted packet for processing {"connection_id":134505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6397"} 
[2026-07-15 07:56:07] local.INFO: GPS Element Parsed {"raw_longitude":763360896,"raw_latitude":98575512,"longitude_deg":76.3360896,"latitude_deg":9.8575512,"altitude":4,"angle":327,"satellites":32,"speed":31,"hex_longitude":"2d7ff680","hex_latitude":"05e02498","is_valid_coordinates":true} 
[2026-07-15 07:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725070336001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106238288104259584,"note":"Value kept but may cause issues"} 
[2026-07-15 07:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9222457268414605312,"note":"Value kept but may cause issues"} 
[2026-07-15 07:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784082312000,"timestamp_ms":1784082312000,"timestamp_seconds":1784082312,"priority":1,"record_length":96,"hex_timestamp":"0000019f6397ab40"} 
[2026-07-15 07:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 07:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-15 07:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:56:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 07:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 07:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725070336001,"66":13243,"121":206,"85":15104,"24":31,"16":106238288104259584,"45":9222457268414605312},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-07-15 07:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 07:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 07:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725070336001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:56:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 07:56:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 07:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106238288104259584,"km_value":106238288104259.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9222457268414605312,"description":"Unknown IO ID 45"} 
[2026-07-15 07:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725070336001,"power":13243,"unknown_121":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9222457268414605312}} 
[2026-07-15 07:56:07] local.INFO: TCP Data received {"connection_id":132121,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:56:07] local.INFO: Processing buffer {"connection_id":132121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:56:07] local.INFO: IMEI packet received {"connection_id":132121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":132121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":134505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489834,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:56:07] local.INFO: GPS data processed {"connection_id":134505,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:56:07] local.INFO: Acknowledgment sent {"connection_id":134505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:56:08] local.INFO: TCP Data received {"connection_id":132121,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f6397d638012d7f92c005afd830000000502d..."} 
[2026-07-15 07:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6397d638012d7f92c005afd830000000502d..."} 
[2026-07-15 07:56:08] local.INFO: Processing buffer {"connection_id":132121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6397d638012d7f92c005afd830000000502d..."} 
[2026-07-15 07:56:08] local.INFO: Packet analysis {"connection_id":132121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6397"} 
[2026-07-15 07:56:08] local.INFO: Extracted packet for processing {"connection_id":132121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6397"} 
[2026-07-15 07:56:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724997632001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784082323000,"timestamp_ms":1784082323000,"timestamp_seconds":1784082323,"priority":1,"record_length":96,"hex_timestamp":"0000019f6397d638"} 
[2026-07-15 07:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-15 07:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07: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-07-15 07:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724997632001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724997632001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:56:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:56:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724997632001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":132121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:56:08] local.INFO: GPS data processed {"connection_id":132121,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:56:08] local.INFO: Acknowledgment sent {"connection_id":132121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:56:29] local.INFO: TCP Data received {"connection_id":133134,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133134,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:56:29] local.INFO: Processing buffer {"connection_id":133134,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:56:29] local.INFO: IMEI packet received {"connection_id":133134,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 07:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":133134,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:56:34] local.INFO: TCP Data received {"connection_id":133134,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133134,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:56:34] local.INFO: Processing buffer {"connection_id":133134,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:56:34] local.INFO: IMEI packet received {"connection_id":133134,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 07:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":133134,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:56:35] local.INFO: TCP Data received {"connection_id":133134,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f6398a928012d7fa44005e0de280006012921..."} 
[2026-07-15 07:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6398a928012d7fa44005e0de280006012921..."} 
[2026-07-15 07:56:35] local.INFO: Processing buffer {"connection_id":133134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6398a928012d7fa44005e0de280006012921..."} 
[2026-07-15 07:56:35] local.INFO: Packet analysis {"connection_id":133134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6398"} 
[2026-07-15 07:56:35] local.INFO: Extracted packet for processing {"connection_id":133134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6398"} 
[2026-07-15 07:56:35] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":98623016,"longitude_deg":76.333984,"latitude_deg":9.8623016,"altitude":6,"angle":297,"satellites":33,"speed":30,"hex_longitude":"2d7fa440","hex_latitude":"05e0de28","is_valid_coordinates":true} 
[2026-07-15 07: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-07-15 07:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725086464001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106240963868884992,"note":"Value kept but may cause issues"} 
[2026-07-15 07:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9203528076243087360,"note":"Value kept but may cause issues"} 
[2026-07-15 07:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784082377000,"timestamp_ms":1784082377000,"timestamp_seconds":1784082377,"priority":1,"record_length":96,"hex_timestamp":"0000019f6398a928"} 
[2026-07-15 07:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 07: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-15 07:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07: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-07-15 07:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":133134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":133134,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":133134,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 07:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 07:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725086464001,"66":13330,"122":206,"85":15104,"24":30,"16":106240963868884992,"45":9203528076243087360},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-07-15 07:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 07:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 07:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725086464001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:56:35] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-15 07:56:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 07:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106240963868884992,"km_value":106240963868884.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9203528076243087360,"description":"Unknown IO ID 45"} 
[2026-07-15 07:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725086464001,"power":13330,"unknown_122":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9203528076243087360}} 
[2026-07-15 07:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":133134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489836,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:56:35] local.INFO: GPS data processed {"connection_id":133134,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:56:35] local.INFO: Acknowledgment sent {"connection_id":133134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:56:39] local.INFO: TCP Data received {"connection_id":132121,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f6397d638012d7f92c005afd830000000502d..."} 
[2026-07-15 07:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6397d638012d7f92c005afd830000000502d..."} 
[2026-07-15 07:56:39] local.INFO: Processing buffer {"connection_id":132121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6397d638012d7f92c005afd830000000502d..."} 
[2026-07-15 07:56:39] local.INFO: Packet analysis {"connection_id":132121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6397"} 
[2026-07-15 07:56:39] local.INFO: Extracted packet for processing {"connection_id":132121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6397"} 
[2026-07-15 07:56:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07: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-07-15 07:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724997632001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784082323000,"timestamp_ms":1784082323000,"timestamp_seconds":1784082323,"priority":1,"record_length":96,"hex_timestamp":"0000019f6397d638"} 
[2026-07-15 07:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-15 07:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07: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-07-15 07:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724997632001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724997632001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:56:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:56:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724997632001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":132121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:56:39] local.INFO: GPS data processed {"connection_id":132121,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:56:39] local.INFO: Acknowledgment sent {"connection_id":132121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:57:01] local.INFO: TCP Data received {"connection_id":132298,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:57:01] local.INFO: Processing buffer {"connection_id":132298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:57:01] local.INFO: IMEI packet received {"connection_id":132298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":132298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:57:06] local.INFO: TCP Data received {"connection_id":133134,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f6398ad10012d7fa18005e0df400006011e21..."} 
[2026-07-15 07:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6398ad10012d7fa18005e0df400006011e21..."} 
[2026-07-15 07:57:06] local.INFO: Processing buffer {"connection_id":133134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6398ad10012d7fa18005e0df400006011e21..."} 
[2026-07-15 07:57:06] local.INFO: Packet analysis {"connection_id":133134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6398"} 
[2026-07-15 07:57:06] local.INFO: Extracted packet for processing {"connection_id":133134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6398"} 
[2026-07-15 07:57:06] local.INFO: GPS Element Parsed {"raw_longitude":763339136,"raw_latitude":98623296,"longitude_deg":76.3339136,"latitude_deg":9.8623296,"altitude":6,"angle":286,"satellites":33,"speed":31,"hex_longitude":"2d7fa180","hex_latitude":"05e0df40","is_valid_coordinates":true} 
[2026-07-15 07: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-07-15 07:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725088512001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106240998228623360,"note":"Value kept but may cause issues"} 
[2026-07-15 07:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732989065216,"note":"Value kept but may cause issues"} 
[2026-07-15 07:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784082378000,"timestamp_ms":1784082378000,"timestamp_seconds":1784082378,"priority":1,"record_length":96,"hex_timestamp":"0000019f6398ad10"} 
[2026-07-15 07:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:57:06] 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-07-15 07: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-15 07:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-15 07:57:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 07:57:06] local.WARNING: Large IO value detected {"io_id":112,"raw_value":3607101440,"note":"Value kept but may cause issues"} 
[2026-07-15 07:57:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3278576273481294728,"note":"Value kept but may cause issues"} 
[2026-07-15 07:57:06] local.WARNING: Large IO value detected {"io_id":99,"raw_value":2555590657,"note":"Value kept but may cause issues"} 
[2026-07-15 07:57:06] local.WARNING: Large IO value detected {"io_id":224,"raw_value":-9135551835531108096,"note":"Value kept but may cause issues"} 
[2026-07-15 07:57:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3768832000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:57:06] local.WARNING: Large IO value detected {"io_id":166,"raw_value":57719382604666171,"note":"Value kept but may cause issues"} 
[2026-07-15 07:57:06] local.WARNING: Large IO value detected {"io_id":152,"raw_value":2337369501535043589,"note":"Value kept but may cause issues"} 
[2026-07-15 07:57:06] local.WARNING: Large IO value detected {"io_id":39,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-15 07:57:06] local.WARNING: Large IO value detected {"io_id":15,"raw_value":8719195744046684160,"note":"Value kept but may cause issues"} 
[2026-07-15 07:57:06] local.WARNING: Large IO value detected {"io_id":58,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-15 07:57:06] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,122,85,24,241,157,16,113,159,137,45,128,205,6,33,10,66,94,192,180,3,121,112,87,64,1,240,51,227,99,224,4,25,79,215,239,52,2,5,32,166,152,39,15,58],"length":626,"final_offset":756,"validated_count":45,"validation_warnings":[]} 
[2026-07-15 07:57:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432672260916903936,"timestamp_seconds":432672260916903.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 07:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133134,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133134,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 07:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 07:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725088512001,"66":13472,"122":206,"85":15104,"24":31,"16":106240998228623360,"45":9197546732989065216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-07-15 07:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 07:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 07:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725088512001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:57:06] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-15 07:57:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 07:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106240998228623360,"km_value":106240998228623.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732989065216,"description":"Unknown IO ID 45"} 
[2026-07-15 07:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725088512001,"power":13472,"unknown_122":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9197546732989065216}} 
[2026-07-15 07:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":133134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489838,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:57:06] local.INFO: GPS data processed {"connection_id":133134,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:57:06] local.INFO: Acknowledgment sent {"connection_id":133134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:57:07] local.INFO: TCP Data received {"connection_id":132298,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:57:07] local.INFO: Processing buffer {"connection_id":132298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:57:07] local.INFO: IMEI packet received {"connection_id":132298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":132298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:57:07] local.INFO: TCP Data received {"connection_id":132298,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f6397d638012d7f92c005afd830000000502d..."} 
[2026-07-15 07:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6397d638012d7f92c005afd830000000502d..."} 
[2026-07-15 07:57:07] local.INFO: Processing buffer {"connection_id":132298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6397d638012d7f92c005afd830000000502d..."} 
[2026-07-15 07:57:07] local.INFO: Packet analysis {"connection_id":132298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6397"} 
[2026-07-15 07:57:07] local.INFO: Extracted packet for processing {"connection_id":132298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6397"} 
[2026-07-15 07:57:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724997632001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784082323000,"timestamp_ms":1784082323000,"timestamp_seconds":1784082323,"priority":1,"record_length":96,"hex_timestamp":"0000019f6397d638"} 
[2026-07-15 07:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-15 07:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:57:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724997632001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724997632001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:57:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:57:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724997632001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":132298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:57:07] local.INFO: GPS data processed {"connection_id":132298,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:57:07] local.INFO: Acknowledgment sent {"connection_id":132298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:57:29] local.INFO: TCP Data received {"connection_id":134506,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134506,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:57:29] local.INFO: Processing buffer {"connection_id":134506,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:57:29] local.INFO: IMEI packet received {"connection_id":134506,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 07:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":134506,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:57:31] local.INFO: TCP Data received {"connection_id":134506,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134506,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:57:31] local.INFO: Processing buffer {"connection_id":134506,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:57:31] local.INFO: IMEI packet received {"connection_id":134506,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 07:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":134506,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:57:34] local.INFO: TCP Data received {"connection_id":134506,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134506,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:57:34] local.INFO: Processing buffer {"connection_id":134506,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:57:34] local.INFO: IMEI packet received {"connection_id":134506,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 07:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":134506,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:57:35] local.INFO: TCP Data received {"connection_id":134506,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f6398c868012d7f898005e0e2500006011321..."} 
[2026-07-15 07:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6398c868012d7f898005e0e2500006011321..."} 
[2026-07-15 07:57:35] local.INFO: Processing buffer {"connection_id":134506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6398c868012d7f898005e0e2500006011321..."} 
[2026-07-15 07:57:35] local.INFO: Packet analysis {"connection_id":134506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6398"} 
[2026-07-15 07:57:35] local.INFO: Extracted packet for processing {"connection_id":134506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6398"} 
[2026-07-15 07:57:35] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":98624080,"longitude_deg":76.3332992,"latitude_deg":9.862408,"altitude":6,"angle":275,"satellites":33,"speed":35,"hex_longitude":"2d7f8980","hex_latitude":"05e0e250","is_valid_coordinates":true} 
[2026-07-15 07:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725088768001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106241294581366784,"note":"Value kept but may cause issues"} 
[2026-07-15 07:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196772676803182592,"note":"Value kept but may cause issues"} 
[2026-07-15 07:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784082385000,"timestamp_ms":1784082385000,"timestamp_seconds":1784082385,"priority":1,"record_length":96,"hex_timestamp":"0000019f6398c868"} 
[2026-07-15 07:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 07:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-15 07:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":134506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":134506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":134506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 07:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 07:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725088768001,"66":13352,"122":206,"85":15104,"24":35,"16":106241294581366784,"45":9196772676803182592},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-07-15 07:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 07:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 07:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725088768001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:57:35] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-15 07:57:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 07:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106241294581366784,"km_value":106241294581366.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196772676803182592,"description":"Unknown IO ID 45"} 
[2026-07-15 07:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725088768001,"power":13352,"unknown_122":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9196772676803182592}} 
[2026-07-15 07:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":134506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489840,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:57:35] local.INFO: GPS data processed {"connection_id":134506,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:57:35] local.INFO: Acknowledgment sent {"connection_id":134506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:57:41] local.INFO: TCP Data received {"connection_id":132298,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f6397d638012d7f92c005afd830000000502d..."} 
[2026-07-15 07:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6397d638012d7f92c005afd830000000502d..."} 
[2026-07-15 07:57:41] local.INFO: Processing buffer {"connection_id":132298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6397d638012d7f92c005afd830000000502d..."} 
[2026-07-15 07:57:41] local.INFO: Packet analysis {"connection_id":132298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6397"} 
[2026-07-15 07:57:41] local.INFO: Extracted packet for processing {"connection_id":132298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6397"} 
[2026-07-15 07:57:41] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724997632001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784082323000,"timestamp_ms":1784082323000,"timestamp_seconds":1784082323,"priority":1,"record_length":96,"hex_timestamp":"0000019f6397d638"} 
[2026-07-15 07:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-15 07:57:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:57:41] 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-07-15 07:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724997632001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724997632001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:57:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:57:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724997632001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":132298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:57:41] local.INFO: GPS data processed {"connection_id":132298,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:57:41] local.INFO: Acknowledgment sent {"connection_id":132298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:58:01] local.INFO: TCP Data received {"connection_id":134507,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:58:01] local.INFO: Processing buffer {"connection_id":134507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:58:01] local.INFO: IMEI packet received {"connection_id":134507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":134507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:58:06] local.INFO: TCP Data received {"connection_id":134506,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f639a2410012d7ea34005e0dee8000700f522..."} 
[2026-07-15 07:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f639a2410012d7ea34005e0dee8000700f522..."} 
[2026-07-15 07:58:06] local.INFO: Processing buffer {"connection_id":134506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f639a2410012d7ea34005e0dee8000700f522..."} 
[2026-07-15 07:58:06] local.INFO: Packet analysis {"connection_id":134506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f639a"} 
[2026-07-15 07:58:06] local.INFO: Extracted packet for processing {"connection_id":134506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f639a"} 
[2026-07-15 07:58:06] local.INFO: GPS Element Parsed {"raw_longitude":763274048,"raw_latitude":98623208,"longitude_deg":76.3274048,"latitude_deg":9.8623208,"altitude":7,"angle":245,"satellites":34,"speed":29,"hex_longitude":"2d7ea340","hex_latitude":"05e0dee8","is_valid_coordinates":true} 
[2026-07-15 07: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-07-15 07:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725111552001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106244236633964544,"note":"Value kept but may cause issues"} 
[2026-07-15 07:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130133476067856384,"note":"Value kept but may cause issues"} 
[2026-07-15 07:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784082474000,"timestamp_ms":1784082474000,"timestamp_seconds":1784082474,"priority":1,"record_length":96,"hex_timestamp":"0000019f639a2410"} 
[2026-07-15 07:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:58: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-07-15 07:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-15 07:58:06] 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-07-15 07: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-07-15 07:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":134506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":134506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":134506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 07:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 07:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725111552001,"66":13298,"122":206,"85":15104,"24":29,"16":106244236633964544,"45":9130133476067856384},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-07-15 07:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 07:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 07:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725111552001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:58:06] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-15 07:58:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 07:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106244236633964544,"km_value":106244236633964.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130133476067856384,"description":"Unknown IO ID 45"} 
[2026-07-15 07:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725111552001,"power":13298,"unknown_122":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9130133476067856384}} 
[2026-07-15 07:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":134506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489842,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:58:06] local.INFO: GPS data processed {"connection_id":134506,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:58:06] local.INFO: Acknowledgment sent {"connection_id":134506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:58:07] local.INFO: TCP Data received {"connection_id":134507,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:58:07] local.INFO: Processing buffer {"connection_id":134507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:58:07] local.INFO: IMEI packet received {"connection_id":134507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":134507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:58:08] local.INFO: TCP Data received {"connection_id":134507,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f6397d638012d7f92c005afd830000000502d..."} 
[2026-07-15 07:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6397d638012d7f92c005afd830000000502d..."} 
[2026-07-15 07:58:08] local.INFO: Processing buffer {"connection_id":134507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6397d638012d7f92c005afd830000000502d..."} 
[2026-07-15 07:58:08] local.INFO: Packet analysis {"connection_id":134507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6397"} 
[2026-07-15 07:58:08] local.INFO: Extracted packet for processing {"connection_id":134507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6397"} 
[2026-07-15 07:58:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07: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-07-15 07:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724997632001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784082323000,"timestamp_ms":1784082323000,"timestamp_seconds":1784082323,"priority":1,"record_length":96,"hex_timestamp":"0000019f6397d638"} 
[2026-07-15 07:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-15 07:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07: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-07-15 07:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724997632001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724997632001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:58:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:58:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724997632001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":134507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:58:08] local.INFO: GPS data processed {"connection_id":134507,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:58:08] local.INFO: Acknowledgment sent {"connection_id":134507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:58:30] local.INFO: TCP Data received {"connection_id":132122,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132122,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:58:30] local.INFO: Processing buffer {"connection_id":132122,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:58:30] local.INFO: IMEI packet received {"connection_id":132122,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 07:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":132122,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:58:34] local.INFO: TCP Data received {"connection_id":132122,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132122,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:58:34] local.INFO: Processing buffer {"connection_id":132122,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:58:34] local.INFO: IMEI packet received {"connection_id":132122,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 07:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":132122,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:58:35] local.INFO: TCP Data received {"connection_id":132122,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f639a2be0012d7e9d8005e0dd300006010322..."} 
[2026-07-15 07:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f639a2be0012d7e9d8005e0dd300006010322..."} 
[2026-07-15 07:58:35] local.INFO: Processing buffer {"connection_id":132122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f639a2be0012d7e9d8005e0dd300006010322..."} 
[2026-07-15 07:58:35] local.INFO: Packet analysis {"connection_id":132122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f639a"} 
[2026-07-15 07:58:35] local.INFO: Extracted packet for processing {"connection_id":132122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f639a"} 
[2026-07-15 07:58:35] local.INFO: GPS Element Parsed {"raw_longitude":763272576,"raw_latitude":98622768,"longitude_deg":76.3272576,"latitude_deg":9.8622768,"altitude":6,"angle":259,"satellites":34,"speed":32,"hex_longitude":"2d7e9d80","hex_latitude":"05e0dd30","is_valid_coordinates":true} 
[2026-07-15 07:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725113344001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106244313943375872,"note":"Value kept but may cause issues"} 
[2026-07-15 07:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125207663974475776,"note":"Value kept but may cause issues"} 
[2026-07-15 07:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784082476000,"timestamp_ms":1784082476000,"timestamp_seconds":1784082476,"priority":1,"record_length":96,"hex_timestamp":"0000019f639a2be0"} 
[2026-07-15 07:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:58:35] 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-07-15 07:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-07-15 07:58: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-07-15 07:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 07:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 07:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725113344001,"66":13178,"122":206,"85":15104,"24":32,"16":106244313943375872,"45":9125207663974475776},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-07-15 07:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 07:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 07:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725113344001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:58:35] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-15 07:58:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 07:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106244313943375872,"km_value":106244313943375.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125207663974475776,"description":"Unknown IO ID 45"} 
[2026-07-15 07:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725113344001,"power":13178,"unknown_122":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9125207663974475776}} 
[2026-07-15 07:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":132122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489844,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:58:35] local.INFO: GPS data processed {"connection_id":132122,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:58:35] local.INFO: Acknowledgment sent {"connection_id":132122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:58:39] local.INFO: TCP Data received {"connection_id":134507,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f6397d638012d7f92c005afd830000000502d..."} 
[2026-07-15 07:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6397d638012d7f92c005afd830000000502d..."} 
[2026-07-15 07:58:39] local.INFO: Processing buffer {"connection_id":134507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6397d638012d7f92c005afd830000000502d..."} 
[2026-07-15 07:58:39] local.INFO: Packet analysis {"connection_id":134507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6397"} 
[2026-07-15 07:58:39] local.INFO: Extracted packet for processing {"connection_id":134507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6397"} 
[2026-07-15 07:58:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07: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-07-15 07:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724997632001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784082323000,"timestamp_ms":1784082323000,"timestamp_seconds":1784082323,"priority":1,"record_length":96,"hex_timestamp":"0000019f6397d638"} 
[2026-07-15 07:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-15 07:58:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07: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-07-15 07:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724997632001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724997632001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:58:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:58:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724997632001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":134507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:58:39] local.INFO: GPS data processed {"connection_id":134507,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:58:39] local.INFO: Acknowledgment sent {"connection_id":134507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:59:06] local.INFO: TCP Data received {"connection_id":132122,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f639a4b20012d7e7f8005e0dba00005010e22..."} 
[2026-07-15 07:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f639a4b20012d7e7f8005e0dba00005010e22..."} 
[2026-07-15 07:59:06] local.INFO: Processing buffer {"connection_id":132122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f639a4b20012d7e7f8005e0dba00005010e22..."} 
[2026-07-15 07:59:06] local.INFO: Packet analysis {"connection_id":132122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f639a"} 
[2026-07-15 07:59:06] local.INFO: Extracted packet for processing {"connection_id":132122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f639a"} 
[2026-07-15 07:59:06] local.INFO: GPS Element Parsed {"raw_longitude":763264896,"raw_latitude":98622368,"longitude_deg":76.3264896,"latitude_deg":9.8622368,"altitude":5,"angle":270,"satellites":34,"speed":41,"hex_longitude":"2d7e7f80","hex_latitude":"05e0dba0","is_valid_coordinates":true} 
[2026-07-15 07:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725113856001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106244679015596032,"note":"Value kept but may cause issues"} 
[2026-07-15 07:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9123589182858276864,"note":"Value kept but may cause issues"} 
[2026-07-15 07:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784082484000,"timestamp_ms":1784082484000,"timestamp_seconds":1784082484,"priority":1,"record_length":96,"hex_timestamp":"0000019f639a4b20"} 
[2026-07-15 07:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 07:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-15 07:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 07:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 07:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725113856001,"66":13178,"122":206,"85":15104,"24":41,"16":106244679015596032,"45":9123589182858276864},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-07-15 07:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 07:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 07:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725113856001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:59:06] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-15 07:59:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 07:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106244679015596032,"km_value":106244679015596.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9123589182858276864,"description":"Unknown IO ID 45"} 
[2026-07-15 07:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725113856001,"power":13178,"unknown_122":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9123589182858276864}} 
[2026-07-15 07:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":132122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489846,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:59:06] local.INFO: GPS data processed {"connection_id":132122,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:59:06] local.INFO: Acknowledgment sent {"connection_id":132122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:59:07] local.INFO: TCP Data received {"connection_id":133137,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:59:07] local.INFO: Processing buffer {"connection_id":133137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:59:07] local.INFO: IMEI packet received {"connection_id":133137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 07:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":133137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:59:15] local.INFO: TCP Data received {"connection_id":133137,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:59:15] local.INFO: Processing buffer {"connection_id":133137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 07:59:15] local.INFO: IMEI packet received {"connection_id":133137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 07:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":133137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:59:16] local.INFO: TCP Data received {"connection_id":133137,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f6397d638012d7f92c005afd830000000502d..."} 
[2026-07-15 07:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6397d638012d7f92c005afd830000000502d..."} 
[2026-07-15 07:59:16] local.INFO: Processing buffer {"connection_id":133137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6397d638012d7f92c005afd830000000502d..."} 
[2026-07-15 07:59:16] local.INFO: Packet analysis {"connection_id":133137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6397"} 
[2026-07-15 07:59:16] local.INFO: Extracted packet for processing {"connection_id":133137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6397"} 
[2026-07-15 07:59:16] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07: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-07-15 07:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724997632001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:59:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784082323000,"timestamp_ms":1784082323000,"timestamp_seconds":1784082323,"priority":1,"record_length":96,"hex_timestamp":"0000019f6397d638"} 
[2026-07-15 07:59:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:59:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-15 07:59:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07: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-07-15 07:59:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":133137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":133137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":133137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:59:16] 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-07-15 07:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724997632001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724997632001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:59:16] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:59:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724997632001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":133137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:59:16] local.INFO: GPS data processed {"connection_id":133137,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:59:16] local.INFO: Acknowledgment sent {"connection_id":133137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:59:17] local.INFO: TCP Data received {"connection_id":133137,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f6397d638012d7f92c005afd830000000502d..."} 
[2026-07-15 07:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6397d638012d7f92c005afd830000000502d..."} 
[2026-07-15 07:59:17] local.INFO: Processing buffer {"connection_id":133137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6397d638012d7f92c005afd830000000502d..."} 
[2026-07-15 07:59:17] local.INFO: Packet analysis {"connection_id":133137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6397"} 
[2026-07-15 07:59:17] local.INFO: Extracted packet for processing {"connection_id":133137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6397"} 
[2026-07-15 07:59:17] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 07:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 07:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724997632001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 07:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 07:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784082323000,"timestamp_ms":1784082323000,"timestamp_seconds":1784082323,"priority":1,"record_length":96,"hex_timestamp":"0000019f6397d638"} 
[2026-07-15 07:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:59:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 07:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-15 07:59:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07:59:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 07:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":133137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":133137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":133137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 07:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 07:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 07:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724997632001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 07:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 07:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 07:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724997632001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:59:17] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 07:59:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 07:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 07:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724997632001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 07:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":133137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:59:17] local.INFO: GPS data processed {"connection_id":133137,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:59:17] local.INFO: Acknowledgment sent {"connection_id":133137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:59:26] local.INFO: TCP Data received {"connection_id":132299,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132299,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:59:26] local.INFO: Processing buffer {"connection_id":132299,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:59:26] local.INFO: IMEI packet received {"connection_id":132299,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 07:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":132299,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 07:59:34] local.INFO: TCP Data received {"connection_id":132299,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132299,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:59:34] local.INFO: Processing buffer {"connection_id":132299,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:59:34] local.INFO: IMEI packet received {"connection_id":132299,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 07:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":132299,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:59:34] local.INFO: TCP Data received {"connection_id":132299,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132299,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:59:34] local.INFO: Processing buffer {"connection_id":132299,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 07:59:34] local.INFO: IMEI packet received {"connection_id":132299,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 07:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":132299,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:59:35] local.INFO: TCP Data received {"connection_id":132299,"ip":"42.106.6.17","data_length":812,"data_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019f63..."} 
[2026-07-15 07:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132299,"packet_length":812,"packet_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019f63..."} 
[2026-07-15 07:59:35] local.INFO: Processing buffer {"connection_id":132299,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019f63..."} 
[2026-07-15 07:59:35] local.INFO: IMEI packet received {"connection_id":132299,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 07:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":132299,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 07:59:36] local.INFO: TCP Data received {"connection_id":132299,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f639a89a0012d7e378005e0db600004011622..."} 
[2026-07-15 07:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f639a89a0012d7e378005e0db600004011622..."} 
[2026-07-15 07:59:36] local.INFO: Processing buffer {"connection_id":132299,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f639a6e48012d7e580005e0dac00003010921..."} 
[2026-07-15 07:59:36] local.INFO: Packet analysis {"connection_id":132299,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f639a"} 
[2026-07-15 07:59:36] local.INFO: Extracted packet for processing {"connection_id":132299,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f639a"} 
[2026-07-15 07:59:36] local.INFO: GPS Element Parsed {"raw_longitude":763254784,"raw_latitude":98622144,"longitude_deg":76.3254784,"latitude_deg":9.8622144,"altitude":3,"angle":265,"satellites":33,"speed":46,"hex_longitude":"2d7e5800","hex_latitude":"05e0dac0","is_valid_coordinates":true} 
[2026-07-15 07: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-07-15 07:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725115904001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106245164346900480,"note":"Value kept but may cause issues"} 
[2026-07-15 07:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9115144933556854784,"note":"Value kept but may cause issues"} 
[2026-07-15 07:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784082493000,"timestamp_ms":1784082493000,"timestamp_seconds":1784082493,"priority":1,"record_length":96,"hex_timestamp":"0000019f639a6e48"} 
[2026-07-15 07:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 07: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-15 07:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07: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-07-15 07:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 07:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 07:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725115904001,"66":13178,"60":206,"85":15104,"24":46,"16":106245164346900480,"45":9115144933556854784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-15 07:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 07:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 07:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725115904001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:59:36] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-15 07:59:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 07:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106245164346900480,"km_value":106245164346900.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9115144933556854784,"description":"Unknown IO ID 45"} 
[2026-07-15 07:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725115904001,"power":13178,"unknown_60":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9115144933556854784}} 
[2026-07-15 07:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":132299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489849,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:59:36] local.INFO: GPS data processed {"connection_id":132299,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:59:36] local.INFO: Acknowledgment sent {"connection_id":132299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:59:36] local.INFO: Packet analysis {"connection_id":132299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f639a"} 
[2026-07-15 07:59:36] local.INFO: Extracted packet for processing {"connection_id":132299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f639a"} 
[2026-07-15 07:59:36] local.INFO: GPS Element Parsed {"raw_longitude":763246464,"raw_latitude":98622304,"longitude_deg":76.3246464,"latitude_deg":9.8622304,"altitude":4,"angle":278,"satellites":34,"speed":44,"hex_longitude":"2d7e3780","hex_latitude":"05e0db60","is_valid_coordinates":true} 
[2026-07-15 07: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-07-15 07:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725118208001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106245559483891712,"note":"Value kept but may cause issues"} 
[2026-07-15 07:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9104026671976726528,"note":"Value kept but may cause issues"} 
[2026-07-15 07:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784082500000,"timestamp_ms":1784082500000,"timestamp_seconds":1784082500,"priority":1,"record_length":96,"hex_timestamp":"0000019f639a89a0"} 
[2026-07-15 07:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 07: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-15 07:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07: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-07-15 07:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 07:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 07:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725118208001,"66":13091,"60":206,"85":15104,"24":44,"16":106245559483891712,"45":9104026671976726528},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-15 07:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 07:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 07:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725118208001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:59:36] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-15 07:59:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 07:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106245559483891712,"km_value":106245559483891.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9104026671976726528,"description":"Unknown IO ID 45"} 
[2026-07-15 07:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725118208001,"power":13091,"unknown_60":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9104026671976726528}} 
[2026-07-15 07:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":132299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489850,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:59:36] local.INFO: GPS data processed {"connection_id":132299,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:59:36] local.INFO: Acknowledgment sent {"connection_id":132299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 07:59:36] local.INFO: TCP Data received {"connection_id":132299,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f639adba8012d7e180005e0e1180005011b23..."} 
[2026-07-15 07:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f639adba8012d7e180005e0e1180005011b23..."} 
[2026-07-15 07:59:36] local.INFO: Processing buffer {"connection_id":132299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f639adba8012d7e180005e0e1180005011b23..."} 
[2026-07-15 07:59:36] local.INFO: Packet analysis {"connection_id":132299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f639a"} 
[2026-07-15 07:59:36] local.INFO: Extracted packet for processing {"connection_id":132299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f639a"} 
[2026-07-15 07:59:36] local.INFO: GPS Element Parsed {"raw_longitude":763238400,"raw_latitude":98623768,"longitude_deg":76.32384,"latitude_deg":9.8623768,"altitude":5,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7e1800","hex_latitude":"05e0e118","is_valid_coordinates":true} 
[2026-07-15 07: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-07-15 07:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725120000001,"note":"Value kept but may cause issues"} 
[2026-07-15 07:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106245980390686720,"note":"Value kept but may cause issues"} 
[2026-07-15 07:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094878735233671168,"note":"Value kept but may cause issues"} 
[2026-07-15 07:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 07:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784082521000,"timestamp_ms":1784082521000,"timestamp_seconds":1784082521,"priority":1,"record_length":96,"hex_timestamp":"0000019f639adba8"} 
[2026-07-15 07:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 07:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 07: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-15 07:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 07: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-07-15 07:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 07:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 07:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 07:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 07:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 07:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 07:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 07:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725120000001,"66":12809,"60":206,"85":15104,"24":0,"16":106245980390686720,"45":9094878735233671168},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-15 07:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 07:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 07:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725120000001,"description":"Unknown IO ID 0"} 
[2026-07-15 07:59:36] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-15 07:59:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 07:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106245980390686720,"km_value":106245980390686.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 07:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094878735233671168,"description":"Unknown IO ID 45"} 
[2026-07-15 07:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725120000001,"power":12809,"unknown_60":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094878735233671168}} 
[2026-07-15 07:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":132299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489851,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 07:59:37] local.INFO: GPS data processed {"connection_id":132299,"processed":1,"errors":0,"total":1} 
[2026-07-15 07:59:37] local.INFO: Acknowledgment sent {"connection_id":132299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:00:02] local.INFO: TCP Data received {"connection_id":134508,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:00:02] local.INFO: Processing buffer {"connection_id":134508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:00:02] local.INFO: IMEI packet received {"connection_id":134508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":134508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:00:07] local.INFO: TCP Data received {"connection_id":134508,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:00:07] local.INFO: Processing buffer {"connection_id":134508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:00:07] local.INFO: IMEI packet received {"connection_id":134508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":134508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:00:07] local.INFO: TCP Data received {"connection_id":134508,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f6397d638012d7f92c005afd830000000502d..."} 
[2026-07-15 08:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6397d638012d7f92c005afd830000000502d..."} 
[2026-07-15 08:00:07] local.INFO: Processing buffer {"connection_id":134508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6397d638012d7f92c005afd830000000502d..."} 
[2026-07-15 08:00:07] local.INFO: Packet analysis {"connection_id":134508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6397"} 
[2026-07-15 08:00:07] local.INFO: Extracted packet for processing {"connection_id":134508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6397"} 
[2026-07-15 08:00:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 08:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724997632001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784082323000,"timestamp_ms":1784082323000,"timestamp_seconds":1784082323,"priority":1,"record_length":96,"hex_timestamp":"0000019f6397d638"} 
[2026-07-15 08:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-15 08:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724997632001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 08:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724997632001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:00:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 08:00:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724997632001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 08:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":134508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:00:07] local.INFO: GPS data processed {"connection_id":134508,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:00:07] local.INFO: Acknowledgment sent {"connection_id":134508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:00:08] local.INFO: TCP Data received {"connection_id":132299,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f639c1428012d7e19c005e1a1f80000000421..."} 
[2026-07-15 08:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f639c1428012d7e19c005e1a1f80000000421..."} 
[2026-07-15 08:00:08] local.INFO: Processing buffer {"connection_id":132299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f639c1428012d7e19c005e1a1f80000000421..."} 
[2026-07-15 08:00:08] local.INFO: Packet analysis {"connection_id":132299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f639c"} 
[2026-07-15 08:00:08] local.INFO: Extracted packet for processing {"connection_id":132299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f639c"} 
[2026-07-15 08:00:08] local.INFO: GPS Element Parsed {"raw_longitude":763238848,"raw_latitude":98673144,"longitude_deg":76.3238848,"latitude_deg":9.8673144,"altitude":0,"angle":4,"satellites":33,"speed":48,"hex_longitude":"2d7e19c0","hex_latitude":"05e1a1f8","is_valid_coordinates":true} 
[2026-07-15 08:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725144064001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106248475766685696,"note":"Value kept but may cause issues"} 
[2026-07-15 08:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590061012973568,"note":"Value kept but may cause issues"} 
[2026-07-15 08:00:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784082601000,"timestamp_ms":1784082601000,"timestamp_seconds":1784082601,"priority":1,"record_length":96,"hex_timestamp":"0000019f639c1428"} 
[2026-07-15 08:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:00:08] 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-07-15 08:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-15 08:00:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 08:00:08] local.WARNING: Large IO value detected {"io_id":99,"raw_value":2611398657,"note":"Value kept but may cause issues"} 
[2026-07-15 08:00:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-15 08:00:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805727438,"corrected_to":0} 
[2026-07-15 08:00:08] local.WARNING: Large IO value detected {"io_id":21,"raw_value":3221610774,"note":"Value kept but may cause issues"} 
[2026-07-15 08:00:08] local.WARNING: Large IO value detected {"io_id":187,"raw_value":57886246379083067,"note":"Value kept but may cause issues"} 
[2026-07-15 08:00:08] local.WARNING: Large IO value detected {"io_id":155,"raw_value":6388357366325329925,"note":"Value kept but may cause issues"} 
[2026-07-15 08:00:08] local.WARNING: Large IO value detected {"io_id":224,"raw_value":-1983835614358723840,"note":"Value kept but may cause issues"} 
[2026-07-15 08:00:08] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,60,85,24,241,157,16,120,159,225,45,64,99,3,32,10,66,119,194,62,6,33,174,128,1,240,254,227,4,113,205,35,151,21,239,51,2,121,5,39,187,155,224],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2805727438,"validated":0}]} 
[2026-07-15 08:00:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72062138116603904,"timestamp_seconds":72062138116603.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 08:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:00:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725144064001,"66":13222,"60":206,"85":15104,"24":48,"16":106248475766685696,"45":9085590061012973568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-15 08:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725144064001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:00:08] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-15 08:00:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 08:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106248475766685696,"km_value":106248475766685.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590061012973568,"description":"Unknown IO ID 45"} 
[2026-07-15 08:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725144064001,"power":13222,"unknown_60":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":9085590061012973568}} 
[2026-07-15 08:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":132299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489853,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:00:08] local.INFO: GPS data processed {"connection_id":132299,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:00:08] local.INFO: Acknowledgment sent {"connection_id":132299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:00:27] local.INFO: TCP Data received {"connection_id":132124,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132124,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:00:27] local.INFO: Processing buffer {"connection_id":132124,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:00:27] local.INFO: IMEI packet received {"connection_id":132124,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 08:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":132124,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:00:29] local.INFO: TCP Data received {"connection_id":132124,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132124,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:00:29] local.INFO: Processing buffer {"connection_id":132124,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:00:29] local.INFO: IMEI packet received {"connection_id":132124,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":132124,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:00:29] local.INFO: TCP Data received {"connection_id":132124,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132124,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:00:29] local.INFO: Processing buffer {"connection_id":132124,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:00:29] local.INFO: IMEI packet received {"connection_id":132124,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":132124,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:00:30] local.INFO: TCP Data received {"connection_id":132124,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132124,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:00:30] local.INFO: Processing buffer {"connection_id":132124,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:00:30] local.INFO: IMEI packet received {"connection_id":132124,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":132124,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:00:39] local.INFO: TCP Data received {"connection_id":134508,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f6397d638012d7f92c005afd830000000502d..."} 
[2026-07-15 08:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6397d638012d7f92c005afd830000000502d..."} 
[2026-07-15 08:00:39] local.INFO: Processing buffer {"connection_id":134508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6397d638012d7f92c005afd830000000502d..."} 
[2026-07-15 08:00:39] local.INFO: Packet analysis {"connection_id":134508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6397"} 
[2026-07-15 08:00:39] local.INFO: Extracted packet for processing {"connection_id":134508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6397"} 
[2026-07-15 08:00:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456724997632001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784082323000,"timestamp_ms":1784082323000,"timestamp_seconds":1784082323,"priority":1,"record_length":96,"hex_timestamp":"0000019f6397d638"} 
[2026-07-15 08:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:00:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-15 08:00:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:00:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:00: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-07-15 08:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456724997632001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 08:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456724997632001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:00:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 08:00:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456724997632001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 08:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":134508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:00:39] local.INFO: GPS data processed {"connection_id":134508,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:00:39] local.INFO: Acknowledgment sent {"connection_id":134508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:01:00] local.INFO: TCP Data received {"connection_id":133138,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 08:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133138,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 08:01:00] local.INFO: Processing buffer {"connection_id":133138,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 08:01:00] local.INFO: IMEI packet received {"connection_id":133138,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 08:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":133138,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:01:02] local.INFO: TCP Data received {"connection_id":132125,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:01:02] local.INFO: Processing buffer {"connection_id":132125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:01:02] local.INFO: IMEI packet received {"connection_id":132125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":132125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:01:02] local.INFO: TCP Data received {"connection_id":132125,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:01:02] local.INFO: Processing buffer {"connection_id":132125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:01:02] local.INFO: IMEI packet received {"connection_id":132125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":132125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:01:07] local.INFO: TCP Data received {"connection_id":132125,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:01:07] local.INFO: Processing buffer {"connection_id":132125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:01:07] local.INFO: IMEI packet received {"connection_id":132125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":132125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:01:07] local.INFO: TCP Data received {"connection_id":132125,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f639c6e00012d7f92c005afd830000000502d..."} 
[2026-07-15 08:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f639c6e00012d7f92c005afd830000000502d..."} 
[2026-07-15 08:01:07] local.INFO: Processing buffer {"connection_id":132125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f639c6e00012d7f92c005afd830000000502d..."} 
[2026-07-15 08:01:07] local.INFO: Packet analysis {"connection_id":132125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f639c"} 
[2026-07-15 08:01:07] local.INFO: Extracted packet for processing {"connection_id":132125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f639c"} 
[2026-07-15 08:01:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725074688001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784082624000,"timestamp_ms":1784082624000,"timestamp_seconds":1784082624,"priority":1,"record_length":96,"hex_timestamp":"0000019f639c6e00"} 
[2026-07-15 08:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-15 08:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08: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-07-15 08:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:01:07] 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-07-15 08:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725074688001,"66":25191,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 08:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725074688001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:01:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 08:01:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725074688001,"power":25191,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 08:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":132125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:01:07] local.INFO: GPS data processed {"connection_id":132125,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:01:07] local.INFO: Acknowledgment sent {"connection_id":132125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:01:35] local.INFO: TCP Data received {"connection_id":132301,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 08:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132301,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 08:01:35] local.INFO: Processing buffer {"connection_id":132301,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 08:01:35] local.INFO: IMEI packet received {"connection_id":132301,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 08:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":132301,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:01:39] local.INFO: TCP Data received {"connection_id":132125,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f639c6e00012d7f92c005afd830000000502d..."} 
[2026-07-15 08:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f639c6e00012d7f92c005afd830000000502d..."} 
[2026-07-15 08:01:39] local.INFO: Processing buffer {"connection_id":132125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f639c6e00012d7f92c005afd830000000502d..."} 
[2026-07-15 08:01:39] local.INFO: Packet analysis {"connection_id":132125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f639c"} 
[2026-07-15 08:01:39] local.INFO: Extracted packet for processing {"connection_id":132125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f639c"} 
[2026-07-15 08:01:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725074688001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784082624000,"timestamp_ms":1784082624000,"timestamp_seconds":1784082624,"priority":1,"record_length":96,"hex_timestamp":"0000019f639c6e00"} 
[2026-07-15 08:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:01:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08: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":211,"data_length":795,"current_offset":136} 
[2026-07-15 08:01:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08: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-07-15 08:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:01:39] 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-07-15 08:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725074688001,"66":25191,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 08:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725074688001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:01:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 08:01:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725074688001,"power":25191,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 08:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":132125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:01:39] local.INFO: GPS data processed {"connection_id":132125,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:01:39] local.INFO: Acknowledgment sent {"connection_id":132125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:02:07] local.INFO: TCP Data received {"connection_id":132126,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:02:07] local.INFO: Processing buffer {"connection_id":132126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:02:07] local.INFO: IMEI packet received {"connection_id":132126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":132126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:02:12] local.INFO: TCP Data received {"connection_id":132126,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:02:12] local.INFO: Processing buffer {"connection_id":132126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:02:12] local.INFO: IMEI packet received {"connection_id":132126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":132126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:02:12] local.INFO: TCP Data received {"connection_id":132126,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f639c6e00012d7f92c005afd830000000502d..."} 
[2026-07-15 08:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f639c6e00012d7f92c005afd830000000502d..."} 
[2026-07-15 08:02:12] local.INFO: Processing buffer {"connection_id":132126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f639c6e00012d7f92c005afd830000000502d..."} 
[2026-07-15 08:02:12] local.INFO: Packet analysis {"connection_id":132126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f639c"} 
[2026-07-15 08:02:12] local.INFO: Extracted packet for processing {"connection_id":132126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f639c"} 
[2026-07-15 08:02:12] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725074688001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784082624000,"timestamp_ms":1784082624000,"timestamp_seconds":1784082624,"priority":1,"record_length":96,"hex_timestamp":"0000019f639c6e00"} 
[2026-07-15 08:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-15 08:02:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08: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-07-15 08:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:02:12] 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-07-15 08:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725074688001,"66":25191,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 08:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725074688001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:02:12] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 08:02:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725074688001,"power":25191,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 08:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":132126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:02:12] local.INFO: GPS data processed {"connection_id":132126,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:02:12] local.INFO: Acknowledgment sent {"connection_id":132126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:02:17] local.INFO: TCP Data received {"connection_id":132126,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f639c6e00012d7f92c005afd830000000502d..."} 
[2026-07-15 08:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f639c6e00012d7f92c005afd830000000502d..."} 
[2026-07-15 08:02:17] local.INFO: Processing buffer {"connection_id":132126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f639c6e00012d7f92c005afd830000000502d..."} 
[2026-07-15 08:02:17] local.INFO: Packet analysis {"connection_id":132126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f639c"} 
[2026-07-15 08:02:17] local.INFO: Extracted packet for processing {"connection_id":132126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f639c"} 
[2026-07-15 08:02:17] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 08:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725074688001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784082624000,"timestamp_ms":1784082624000,"timestamp_seconds":1784082624,"priority":1,"record_length":96,"hex_timestamp":"0000019f639c6e00"} 
[2026-07-15 08:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:02:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-15 08:02:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:02:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725074688001,"66":25191,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 08:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725074688001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:02:17] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 08:02:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725074688001,"power":25191,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 08:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":132126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:02:17] local.INFO: GPS data processed {"connection_id":132126,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:02:17] local.INFO: Acknowledgment sent {"connection_id":132126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:03:02] local.INFO: TCP Data received {"connection_id":133140,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:03:02] local.INFO: Processing buffer {"connection_id":133140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:03:02] local.INFO: IMEI packet received {"connection_id":133140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":133140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:03:07] local.INFO: TCP Data received {"connection_id":133140,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:03:07] local.INFO: Processing buffer {"connection_id":133140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:03:07] local.INFO: IMEI packet received {"connection_id":133140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":133140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:03:07] local.INFO: TCP Data received {"connection_id":133140,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f639c6e00012d7f92c005afd830000000502d..."} 
[2026-07-15 08:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f639c6e00012d7f92c005afd830000000502d..."} 
[2026-07-15 08:03:07] local.INFO: Processing buffer {"connection_id":133140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f639c6e00012d7f92c005afd830000000502d..."} 
[2026-07-15 08:03:07] local.INFO: Packet analysis {"connection_id":133140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f639c"} 
[2026-07-15 08:03:07] local.INFO: Extracted packet for processing {"connection_id":133140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f639c"} 
[2026-07-15 08:03:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 08:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725074688001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784082624000,"timestamp_ms":1784082624000,"timestamp_seconds":1784082624,"priority":1,"record_length":96,"hex_timestamp":"0000019f639c6e00"} 
[2026-07-15 08:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-15 08:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:03:07] 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-07-15 08:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725074688001,"66":25191,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 08:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725074688001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:03:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 08:03:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725074688001,"power":25191,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 08:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":133140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:03:07] local.INFO: GPS data processed {"connection_id":133140,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:03:07] local.INFO: Acknowledgment sent {"connection_id":133140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:03:40] local.INFO: TCP Data received {"connection_id":133140,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f639c6e00012d7f92c005afd830000000502d..."} 
[2026-07-15 08:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f639c6e00012d7f92c005afd830000000502d..."} 
[2026-07-15 08:03:40] local.INFO: Processing buffer {"connection_id":133140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f639c6e00012d7f92c005afd830000000502d..."} 
[2026-07-15 08:03:40] local.INFO: Packet analysis {"connection_id":133140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f639c"} 
[2026-07-15 08:03:40] local.INFO: Extracted packet for processing {"connection_id":133140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f639c"} 
[2026-07-15 08:03:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 08:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725074688001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784082624000,"timestamp_ms":1784082624000,"timestamp_seconds":1784082624,"priority":1,"record_length":96,"hex_timestamp":"0000019f639c6e00"} 
[2026-07-15 08:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-15 08:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":133140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":133140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":133140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725074688001,"66":25191,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 08:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725074688001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:03:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 08:03:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725074688001,"power":25191,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 08:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":133140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:03:41] local.INFO: GPS data processed {"connection_id":133140,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:03:41] local.INFO: Acknowledgment sent {"connection_id":133140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:04:02] local.INFO: TCP Data received {"connection_id":132128,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:04:02] local.INFO: Processing buffer {"connection_id":132128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:04:02] local.INFO: IMEI packet received {"connection_id":132128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":132128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:04:07] local.INFO: TCP Data received {"connection_id":132128,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:04:07] local.INFO: Processing buffer {"connection_id":132128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:04:07] local.INFO: IMEI packet received {"connection_id":132128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":132128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:04:08] local.INFO: TCP Data received {"connection_id":132128,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f639c6e00012d7f92c005afd830000000502d..."} 
[2026-07-15 08:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f639c6e00012d7f92c005afd830000000502d..."} 
[2026-07-15 08:04:08] local.INFO: Processing buffer {"connection_id":132128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f639c6e00012d7f92c005afd830000000502d..."} 
[2026-07-15 08:04:08] local.INFO: Packet analysis {"connection_id":132128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f639c"} 
[2026-07-15 08:04:08] local.INFO: Extracted packet for processing {"connection_id":132128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f639c"} 
[2026-07-15 08:04:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 08:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725074688001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784082624000,"timestamp_ms":1784082624000,"timestamp_seconds":1784082624,"priority":1,"record_length":96,"hex_timestamp":"0000019f639c6e00"} 
[2026-07-15 08:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-15 08:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:04:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725074688001,"66":25191,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 08:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725074688001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:04:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 08:04:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725074688001,"power":25191,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 08:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":132128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:04:08] local.INFO: GPS data processed {"connection_id":132128,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:04:08] local.INFO: Acknowledgment sent {"connection_id":132128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:04:39] local.INFO: TCP Data received {"connection_id":132128,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f639c6e00012d7f92c005afd830000000502d..."} 
[2026-07-15 08:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f639c6e00012d7f92c005afd830000000502d..."} 
[2026-07-15 08:04:39] local.INFO: Processing buffer {"connection_id":132128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f639c6e00012d7f92c005afd830000000502d..."} 
[2026-07-15 08:04:39] local.INFO: Packet analysis {"connection_id":132128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f639c"} 
[2026-07-15 08:04:39] local.INFO: Extracted packet for processing {"connection_id":132128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f639c"} 
[2026-07-15 08:04:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725074688001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784082624000,"timestamp_ms":1784082624000,"timestamp_seconds":1784082624,"priority":1,"record_length":96,"hex_timestamp":"0000019f639c6e00"} 
[2026-07-15 08:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08: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":211,"data_length":795,"current_offset":136} 
[2026-07-15 08:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08: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-07-15 08:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725074688001,"66":25191,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 08:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725074688001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:04:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 08:04:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725074688001,"power":25191,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 08:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":132128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:04:39] local.INFO: GPS data processed {"connection_id":132128,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:04:39] local.INFO: Acknowledgment sent {"connection_id":132128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:05:01] local.INFO: TCP Data received {"connection_id":132303,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:05:01] local.INFO: Processing buffer {"connection_id":132303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:05:01] local.INFO: IMEI packet received {"connection_id":132303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":132303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:05:07] local.INFO: TCP Data received {"connection_id":132303,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:05:07] local.INFO: Processing buffer {"connection_id":132303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:05:07] local.INFO: IMEI packet received {"connection_id":132303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":132303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:05:07] local.INFO: TCP Data received {"connection_id":132303,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f639c6e00012d7f92c005afd830000000502d..."} 
[2026-07-15 08:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f639c6e00012d7f92c005afd830000000502d..."} 
[2026-07-15 08:05:07] local.INFO: Processing buffer {"connection_id":132303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f639c6e00012d7f92c005afd830000000502d..."} 
[2026-07-15 08:05:07] local.INFO: Packet analysis {"connection_id":132303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f639c"} 
[2026-07-15 08:05:07] local.INFO: Extracted packet for processing {"connection_id":132303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f639c"} 
[2026-07-15 08:05:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 08:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725074688001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784082624000,"timestamp_ms":1784082624000,"timestamp_seconds":1784082624,"priority":1,"record_length":96,"hex_timestamp":"0000019f639c6e00"} 
[2026-07-15 08:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-15 08:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:05:07] 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-07-15 08:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725074688001,"66":25191,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 08:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725074688001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:05:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 08:05:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725074688001,"power":25191,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 08:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":132303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:05:07] local.INFO: GPS data processed {"connection_id":132303,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:05:07] local.INFO: Acknowledgment sent {"connection_id":132303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:05:34] local.INFO: TCP Data received {"connection_id":132304,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132304,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:05:34] local.INFO: Processing buffer {"connection_id":132304,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:05:34] local.INFO: IMEI packet received {"connection_id":132304,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 08:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":132304,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:05:35] local.INFO: TCP Data received {"connection_id":132304,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63a03aa8012d7c0e4005e1dc500000010425..."} 
[2026-07-15 08:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63a03aa8012d7c0e4005e1dc500000010425..."} 
[2026-07-15 08:05:35] local.INFO: Processing buffer {"connection_id":132304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63a03aa8012d7c0e4005e1dc500000010425..."} 
[2026-07-15 08:05:35] local.INFO: Packet analysis {"connection_id":132304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63a0"} 
[2026-07-15 08:05:35] local.INFO: Extracted packet for processing {"connection_id":132304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63a0"} 
[2026-07-15 08:05:35] local.INFO: GPS Element Parsed {"raw_longitude":763104832,"raw_latitude":98688080,"longitude_deg":76.3104832,"latitude_deg":9.868808,"altitude":0,"angle":260,"satellites":37,"speed":36,"hex_longitude":"2d7c0e40","hex_latitude":"05e1dc50","is_valid_coordinates":true} 
[2026-07-15 08:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725212416001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106256898197553152,"note":"Value kept but may cause issues"} 
[2026-07-15 08:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949496909779574784,"note":"Value kept but may cause issues"} 
[2026-07-15 08:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784082873000,"timestamp_ms":1784082873000,"timestamp_seconds":1784082873,"priority":1,"record_length":96,"hex_timestamp":"0000019f63a03aa8"} 
[2026-07-15 08:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:05: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-07-15 08:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-15 08:05:35] 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-07-15 08:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725212416001,"66":13124,"43":206,"85":15104,"24":36,"16":106256898197553152,"45":8949496909779574784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-07-15 08:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725212416001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:05:35] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-15 08:05:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 08:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106256898197553152,"km_value":106256898197553.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949496909779574784,"description":"Unknown IO ID 45"} 
[2026-07-15 08:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725212416001,"power":13124,"unknown_43":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8949496909779574784}} 
[2026-07-15 08:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":132304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489864,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:05:35] local.INFO: GPS data processed {"connection_id":132304,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:05:35] local.INFO: Acknowledgment sent {"connection_id":132304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:05:38] local.INFO: TCP Data received {"connection_id":132303,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f639c6e00012d7f92c005afd830000000502d..."} 
[2026-07-15 08:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f639c6e00012d7f92c005afd830000000502d..."} 
[2026-07-15 08:05:38] local.INFO: Processing buffer {"connection_id":132303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f639c6e00012d7f92c005afd830000000502d..."} 
[2026-07-15 08:05:38] local.INFO: Packet analysis {"connection_id":132303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f639c"} 
[2026-07-15 08:05:38] local.INFO: Extracted packet for processing {"connection_id":132303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f639c"} 
[2026-07-15 08:05:38] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 08:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725074688001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784082624000,"timestamp_ms":1784082624000,"timestamp_seconds":1784082624,"priority":1,"record_length":96,"hex_timestamp":"0000019f639c6e00"} 
[2026-07-15 08:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-15 08:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:05:38] 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-07-15 08:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725074688001,"66":25191,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 08:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725074688001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:05:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 08:05:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725074688001,"power":25191,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 08:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":132303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:05:38] local.INFO: GPS data processed {"connection_id":132303,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:05:38] local.INFO: Acknowledgment sent {"connection_id":132303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:06:01] local.INFO: TCP Data received {"connection_id":132129,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:06:01] local.INFO: Processing buffer {"connection_id":132129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:06:01] local.INFO: IMEI packet received {"connection_id":132129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":132129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:06:02] local.INFO: TCP Data received {"connection_id":132129,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:06:02] local.INFO: Processing buffer {"connection_id":132129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:06:02] local.INFO: IMEI packet received {"connection_id":132129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":132129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:06:07] local.INFO: TCP Data received {"connection_id":132304,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63a061b8012d7bf3c005e1d8d00001011124..."} 
[2026-07-15 08:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63a061b8012d7bf3c005e1d8d00001011124..."} 
[2026-07-15 08:06:07] local.INFO: Processing buffer {"connection_id":132304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63a061b8012d7bf3c005e1d8d00001011124..."} 
[2026-07-15 08:06:07] local.INFO: Packet analysis {"connection_id":132304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63a0"} 
[2026-07-15 08:06:07] local.INFO: Extracted packet for processing {"connection_id":132304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63a0"} 
[2026-07-15 08:06:07] local.INFO: GPS Element Parsed {"raw_longitude":763098048,"raw_latitude":98687184,"longitude_deg":76.3098048,"latitude_deg":9.8687184,"altitude":1,"angle":273,"satellites":36,"speed":22,"hex_longitude":"2d7bf3c0","hex_latitude":"05e1d8d0","is_valid_coordinates":true} 
[2026-07-15 08:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725215488001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106257228910034944,"note":"Value kept but may cause issues"} 
[2026-07-15 08:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939152704385339392,"note":"Value kept but may cause issues"} 
[2026-07-15 08:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784082883000,"timestamp_ms":1784082883000,"timestamp_seconds":1784082883,"priority":1,"record_length":96,"hex_timestamp":"0000019f63a061b8"} 
[2026-07-15 08:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-15 08:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725215488001,"66":13243,"43":206,"85":15104,"24":22,"16":106257228910034944,"45":8939152704385339392},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-07-15 08:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725215488001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:06:07] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-15 08:06:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 08:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106257228910034944,"km_value":106257228910034.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939152704385339392,"description":"Unknown IO ID 45"} 
[2026-07-15 08:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725215488001,"power":13243,"unknown_43":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8939152704385339392}} 
[2026-07-15 08:06:07] local.INFO: TCP Data received {"connection_id":132129,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:06:07] local.INFO: Processing buffer {"connection_id":132129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:06:07] local.INFO: IMEI packet received {"connection_id":132129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":132129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":132304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489866,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:06:07] local.INFO: GPS data processed {"connection_id":132304,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:06:07] local.INFO: Acknowledgment sent {"connection_id":132304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:06:07] local.INFO: TCP Data received {"connection_id":132129,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f63a105c8012d7f92c005afd830000000502b..."} 
[2026-07-15 08:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63a105c8012d7f92c005afd830000000502b..."} 
[2026-07-15 08:06:07] local.INFO: Processing buffer {"connection_id":132129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63a105c8012d7f92c005afd830000000502b..."} 
[2026-07-15 08:06:07] local.INFO: Packet analysis {"connection_id":132129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63a1"} 
[2026-07-15 08:06:07] local.INFO: Extracted packet for processing {"connection_id":132129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63a1"} 
[2026-07-15 08:06:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 08:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725151744001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784082925000,"timestamp_ms":1784082925000,"timestamp_seconds":1784082925,"priority":1,"record_length":96,"hex_timestamp":"0000019f63a105c8"} 
[2026-07-15 08:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 08:06:07] 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-07-15 08:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725151744001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 08:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725151744001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:06:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 08:06:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725151744001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 08:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":132129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:06:07] local.INFO: GPS data processed {"connection_id":132129,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:06:07] local.INFO: Acknowledgment sent {"connection_id":132129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:06:29] local.INFO: TCP Data received {"connection_id":132130,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132130,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:06:29] local.INFO: Processing buffer {"connection_id":132130,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:06:29] local.INFO: IMEI packet received {"connection_id":132130,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 08:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":132130,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:06:34] local.INFO: TCP Data received {"connection_id":132130,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132130,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:06:34] local.INFO: Processing buffer {"connection_id":132130,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:06:34] local.INFO: IMEI packet received {"connection_id":132130,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":132130,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:06:35] local.INFO: TCP Data received {"connection_id":132130,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63a0a038012d7bd34005e1dc80000300fc25..."} 
[2026-07-15 08:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63a0a038012d7bd34005e1dc80000300fc25..."} 
[2026-07-15 08:06:35] local.INFO: Processing buffer {"connection_id":132130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63a0a038012d7bd34005e1dc80000300fc25..."} 
[2026-07-15 08:06:35] local.INFO: Packet analysis {"connection_id":132130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63a0"} 
[2026-07-15 08:06:35] local.INFO: Extracted packet for processing {"connection_id":132130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63a0"} 
[2026-07-15 08:06:35] local.INFO: GPS Element Parsed {"raw_longitude":763089728,"raw_latitude":98688128,"longitude_deg":76.3089728,"latitude_deg":9.8688128,"altitude":3,"angle":252,"satellites":37,"speed":18,"hex_longitude":"2d7bd340","hex_latitude":"05e1dc80","is_valid_coordinates":true} 
[2026-07-15 08:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725218048001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106257628341993472,"note":"Value kept but may cause issues"} 
[2026-07-15 08:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931693617502277632,"note":"Value kept but may cause issues"} 
[2026-07-15 08:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784082899000,"timestamp_ms":1784082899000,"timestamp_seconds":1784082899,"priority":1,"record_length":96,"hex_timestamp":"0000019f63a0a038"} 
[2026-07-15 08:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:06: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-07-15 08:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-15 08:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:06:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132130,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132130,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725218048001,"66":13102,"43":206,"85":15104,"24":18,"16":106257628341993472,"45":8931693617502277632},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-07-15 08:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725218048001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:06:35] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-15 08:06:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 08:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106257628341993472,"km_value":106257628341993.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931693617502277632,"description":"Unknown IO ID 45"} 
[2026-07-15 08:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725218048001,"power":13102,"unknown_43":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8931693617502277632}} 
[2026-07-15 08:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":132130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489868,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:06:35] local.INFO: GPS data processed {"connection_id":132130,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:06:35] local.INFO: Acknowledgment sent {"connection_id":132130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:06:38] local.INFO: TCP Data received {"connection_id":132129,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f63a105c8012d7f92c005afd830000000502b..."} 
[2026-07-15 08:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63a105c8012d7f92c005afd830000000502b..."} 
[2026-07-15 08:06:38] local.INFO: Processing buffer {"connection_id":132129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63a105c8012d7f92c005afd830000000502b..."} 
[2026-07-15 08:06:38] local.INFO: Packet analysis {"connection_id":132129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63a1"} 
[2026-07-15 08:06:38] local.INFO: Extracted packet for processing {"connection_id":132129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63a1"} 
[2026-07-15 08:06:38] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725151744001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784082925000,"timestamp_ms":1784082925000,"timestamp_seconds":1784082925,"priority":1,"record_length":96,"hex_timestamp":"0000019f63a105c8"} 
[2026-07-15 08:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 08:06:38] 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-07-15 08: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-07-15 08:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725151744001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 08:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725151744001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:06:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 08:06:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725151744001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 08:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":132129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:06:38] local.INFO: GPS data processed {"connection_id":132129,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:06:38] local.INFO: Acknowledgment sent {"connection_id":132129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:07:02] local.INFO: TCP Data received {"connection_id":134514,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:07:02] local.INFO: Processing buffer {"connection_id":134514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:07:02] local.INFO: IMEI packet received {"connection_id":134514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":134514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:07:05] local.INFO: TCP Data received {"connection_id":134513,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 08:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134513,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 08:07:05] local.INFO: Processing buffer {"connection_id":134513,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 08:07:05] local.INFO: IMEI packet received {"connection_id":134513,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 08:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":134513,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:07:06] local.INFO: TCP Data received {"connection_id":132130,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63a222f0012d7b3c0005e1b1e80003014f24..."} 
[2026-07-15 08:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63a222f0012d7b3c0005e1b1e80003014f24..."} 
[2026-07-15 08:07:06] local.INFO: Processing buffer {"connection_id":132130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63a222f0012d7b3c0005e1b1e80003014f24..."} 
[2026-07-15 08:07:06] local.INFO: Packet analysis {"connection_id":132130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63a2"} 
[2026-07-15 08:07:06] local.INFO: Extracted packet for processing {"connection_id":132130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63a2"} 
[2026-07-15 08:07:06] local.INFO: GPS Element Parsed {"raw_longitude":763051008,"raw_latitude":98677224,"longitude_deg":76.3051008,"latitude_deg":9.8677224,"altitude":3,"angle":335,"satellites":36,"speed":7,"hex_longitude":"2d7b3c00","hex_latitude":"05e1b1e8","is_valid_coordinates":true} 
[2026-07-15 08:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725246976001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106259664156491776,"note":"Value kept but may cause issues"} 
[2026-07-15 08:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880183696761589760,"note":"Value kept but may cause issues"} 
[2026-07-15 08:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784082998000,"timestamp_ms":1784082998000,"timestamp_seconds":1784082998,"priority":1,"record_length":96,"hex_timestamp":"0000019f63a222f0"} 
[2026-07-15 08:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:07: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-07-15 08:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-15 08:07: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-07-15 08:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132130,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132130,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725246976001,"66":12885,"169":206,"85":15104,"24":7,"16":106259664156491776,"45":8880183696761589760},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-15 08:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725246976001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:07:06] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-15 08:07:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 08:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106259664156491776,"km_value":106259664156491.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880183696761589760,"description":"Unknown IO ID 45"} 
[2026-07-15 08:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725246976001,"power":12885,"unknown_169":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8880183696761589760}} 
[2026-07-15 08:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":132130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489870,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:07:06] local.INFO: GPS data processed {"connection_id":132130,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:07:06] local.INFO: Acknowledgment sent {"connection_id":132130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:07:07] local.INFO: TCP Data received {"connection_id":134514,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:07:07] local.INFO: Processing buffer {"connection_id":134514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:07:07] local.INFO: IMEI packet received {"connection_id":134514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":134514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:07:07] local.INFO: TCP Data received {"connection_id":134514,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f63a105c8012d7f92c005afd830000000502b..."} 
[2026-07-15 08:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63a105c8012d7f92c005afd830000000502b..."} 
[2026-07-15 08:07:07] local.INFO: Processing buffer {"connection_id":134514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63a105c8012d7f92c005afd830000000502b..."} 
[2026-07-15 08:07:07] local.INFO: Packet analysis {"connection_id":134514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63a1"} 
[2026-07-15 08:07:07] local.INFO: Extracted packet for processing {"connection_id":134514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63a1"} 
[2026-07-15 08:07:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 08:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725151744001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784082925000,"timestamp_ms":1784082925000,"timestamp_seconds":1784082925,"priority":1,"record_length":96,"hex_timestamp":"0000019f63a105c8"} 
[2026-07-15 08:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 08:07:07] 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-07-15 08:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:07:07] 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-07-15 08:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725151744001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 08:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725151744001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:07:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 08:07:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725151744001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 08:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":134514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:07:07] local.INFO: GPS data processed {"connection_id":134514,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:07:07] local.INFO: Acknowledgment sent {"connection_id":134514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:07:29] local.INFO: TCP Data received {"connection_id":133142,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133142,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:07:29] local.INFO: Processing buffer {"connection_id":133142,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:07:29] local.INFO: IMEI packet received {"connection_id":133142,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 08:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":133142,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:07:30] local.INFO: TCP Data received {"connection_id":133142,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133142,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:07:30] local.INFO: Processing buffer {"connection_id":133142,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:07:30] local.INFO: IMEI packet received {"connection_id":133142,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":133142,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:07:34] local.INFO: TCP Data received {"connection_id":133142,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133142,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:07:34] local.INFO: Processing buffer {"connection_id":133142,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:07:34] local.INFO: IMEI packet received {"connection_id":133142,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":133142,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:07:35] local.INFO: TCP Data received {"connection_id":133142,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63a22ac0012d7b3b0005e1b4680003016121..."} 
[2026-07-15 08:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63a22ac0012d7b3b0005e1b4680003016121..."} 
[2026-07-15 08:07:35] local.INFO: Processing buffer {"connection_id":133142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63a22ac0012d7b3b0005e1b4680003016121..."} 
[2026-07-15 08:07:35] local.INFO: Packet analysis {"connection_id":133142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63a2"} 
[2026-07-15 08:07:35] local.INFO: Extracted packet for processing {"connection_id":133142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63a2"} 
[2026-07-15 08:07:35] local.INFO: GPS Element Parsed {"raw_longitude":763050752,"raw_latitude":98677864,"longitude_deg":76.3050752,"latitude_deg":9.8677864,"altitude":3,"angle":353,"satellites":33,"speed":15,"hex_longitude":"2d7b3b00","hex_latitude":"05e1b468","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725247488001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106259698516230144,"note":"Value kept but may cause issues"} 
[2026-07-15 08:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879972590529144832,"note":"Value kept but may cause issues"} 
[2026-07-15 08:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784083000000,"timestamp_ms":1784083000000,"timestamp_seconds":1784083000,"priority":1,"record_length":96,"hex_timestamp":"0000019f63a22ac0"} 
[2026-07-15 08:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-15 08:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":133142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":133142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":133142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725247488001,"66":13363,"169":206,"85":15104,"24":15,"16":106259698516230144,"45":8879972590529144832},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-15 08:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725247488001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:07:35] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-15 08:07:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 08:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106259698516230144,"km_value":106259698516230.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879972590529144832,"description":"Unknown IO ID 45"} 
[2026-07-15 08:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725247488001,"power":13363,"unknown_169":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8879972590529144832}} 
[2026-07-15 08:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":133142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489872,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:07:35] local.INFO: GPS data processed {"connection_id":133142,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:07:35] local.INFO: Acknowledgment sent {"connection_id":133142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:07:35] local.INFO: TCP Data received {"connection_id":133143,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 08:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133143,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 08:07:35] local.INFO: Processing buffer {"connection_id":133143,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 08:07:35] local.INFO: IMEI packet received {"connection_id":133143,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 08:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":133143,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:07:38] local.INFO: TCP Data received {"connection_id":134514,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f63a105c8012d7f92c005afd830000000502b..."} 
[2026-07-15 08:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63a105c8012d7f92c005afd830000000502b..."} 
[2026-07-15 08:07:38] local.INFO: Processing buffer {"connection_id":134514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63a105c8012d7f92c005afd830000000502b..."} 
[2026-07-15 08:07:38] local.INFO: Packet analysis {"connection_id":134514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63a1"} 
[2026-07-15 08:07:38] local.INFO: Extracted packet for processing {"connection_id":134514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63a1"} 
[2026-07-15 08:07:38] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 08:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725151744001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784082925000,"timestamp_ms":1784082925000,"timestamp_seconds":1784082925,"priority":1,"record_length":96,"hex_timestamp":"0000019f63a105c8"} 
[2026-07-15 08:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 08:07:38] 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-07-15 08:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725151744001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 08:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725151744001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:07:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 08:07:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725151744001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 08:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":134514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:07:38] local.INFO: GPS data processed {"connection_id":134514,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:07:38] local.INFO: Acknowledgment sent {"connection_id":134514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:08:02] local.INFO: TCP Data received {"connection_id":132131,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:08:02] local.INFO: Processing buffer {"connection_id":132131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:08:02] local.INFO: IMEI packet received {"connection_id":132131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":132131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:08:07] local.INFO: TCP Data received {"connection_id":132131,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:08:07] local.INFO: Processing buffer {"connection_id":132131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:08:07] local.INFO: IMEI packet received {"connection_id":132131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":132131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:08:07] local.INFO: TCP Data received {"connection_id":133142,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63a25d88012d7b378005e1d6e8000201621d..."} 
[2026-07-15 08:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63a25d88012d7b378005e1d6e8000201621d..."} 
[2026-07-15 08:08:07] local.INFO: Processing buffer {"connection_id":133142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63a25d88012d7b378005e1d6e8000201621d..."} 
[2026-07-15 08:08:07] local.INFO: Packet analysis {"connection_id":133142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63a2"} 
[2026-07-15 08:08:07] local.INFO: Extracted packet for processing {"connection_id":133142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63a2"} 
[2026-07-15 08:08:07] local.INFO: GPS Element Parsed {"raw_longitude":763049856,"raw_latitude":98686696,"longitude_deg":76.3049856,"latitude_deg":9.8686696,"altitude":2,"angle":354,"satellites":29,"speed":30,"hex_longitude":"2d7b3780","hex_latitude":"05e1d6e8","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725248000001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106260128012959744,"note":"Value kept but may cause issues"} 
[2026-07-15 08:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879691115552598016,"note":"Value kept but may cause issues"} 
[2026-07-15 08:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784083013000,"timestamp_ms":1784083013000,"timestamp_seconds":1784083013,"priority":1,"record_length":96,"hex_timestamp":"0000019f63a25d88"} 
[2026-07-15 08:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-15 08:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08: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-07-15 08:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725248000001,"66":13059,"169":206,"85":15104,"24":30,"16":106260128012959744,"45":8879691115552598016},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-15 08:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725248000001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:08:07] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-15 08:08:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 08:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106260128012959744,"km_value":106260128012959.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879691115552598016,"description":"Unknown IO ID 45"} 
[2026-07-15 08:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725248000001,"power":13059,"unknown_169":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8879691115552598016}} 
[2026-07-15 08:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":133142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489874,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:08:07] local.INFO: GPS data processed {"connection_id":133142,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:08:07] local.INFO: Acknowledgment sent {"connection_id":133142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:08:08] local.INFO: TCP Data received {"connection_id":132131,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f63a105c8012d7f92c005afd830000000502b..."} 
[2026-07-15 08:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63a105c8012d7f92c005afd830000000502b..."} 
[2026-07-15 08:08:08] local.INFO: Processing buffer {"connection_id":132131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63a105c8012d7f92c005afd830000000502b..."} 
[2026-07-15 08:08:08] local.INFO: Packet analysis {"connection_id":132131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63a1"} 
[2026-07-15 08:08:08] local.INFO: Extracted packet for processing {"connection_id":132131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63a1"} 
[2026-07-15 08:08:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 08:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725151744001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784082925000,"timestamp_ms":1784082925000,"timestamp_seconds":1784082925,"priority":1,"record_length":96,"hex_timestamp":"0000019f63a105c8"} 
[2026-07-15 08:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 08:08:08] 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-07-15 08:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725151744001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 08:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725151744001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:08:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 08:08:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725151744001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 08:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":132131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:08:08] local.INFO: GPS data processed {"connection_id":132131,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:08:08] local.INFO: Acknowledgment sent {"connection_id":132131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:08:34] local.INFO: TCP Data received {"connection_id":132305,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132305,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:08:34] local.INFO: Processing buffer {"connection_id":132305,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:08:34] local.INFO: IMEI packet received {"connection_id":132305,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 08:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":132305,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:08:36] local.INFO: TCP Data received {"connection_id":132305,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132305,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:08:36] local.INFO: Processing buffer {"connection_id":132305,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:08:36] local.INFO: IMEI packet received {"connection_id":132305,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":132305,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:08:38] local.INFO: TCP Data received {"connection_id":132305,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63a2aba8012d7b334005e1f3400000016518..."} 
[2026-07-15 08:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63a2aba8012d7b334005e1f3400000016518..."} 
[2026-07-15 08:08:38] local.INFO: Processing buffer {"connection_id":132305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63a2aba8012d7b334005e1f3400000016518..."} 
[2026-07-15 08:08:38] local.INFO: Packet analysis {"connection_id":132305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63a2"} 
[2026-07-15 08:08:38] local.INFO: Extracted packet for processing {"connection_id":132305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63a2"} 
[2026-07-15 08:08:38] local.INFO: GPS Element Parsed {"raw_longitude":763048768,"raw_latitude":98693952,"longitude_deg":76.3048768,"latitude_deg":9.8693952,"altitude":0,"angle":357,"satellites":24,"speed":8,"hex_longitude":"2d7b3340","hex_latitude":"05e1f340","is_valid_coordinates":true} 
[2026-07-15 08:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725251328001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106260488790212608,"note":"Value kept but may cause issues"} 
[2026-07-15 08:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878705953136371712,"note":"Value kept but may cause issues"} 
[2026-07-15 08:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784083033000,"timestamp_ms":1784083033000,"timestamp_seconds":1784083033,"priority":1,"record_length":96,"hex_timestamp":"0000019f63a2aba8"} 
[2026-07-15 08:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-15 08:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303164103380391,"note":"Value kept but may cause issues"} 
[2026-07-15 08:08:38] local.WARNING: Large IO value detected {"io_id":169,"raw_value":58077557095399440,"note":"Value kept but may cause issues"} 
[2026-07-15 08:08:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 08:08:38] local.WARNING: Large IO value detected {"io_id":130,"raw_value":2516582400,"note":"Value kept but may cause issues"} 
[2026-07-15 08:08:38] local.WARNING: Large IO value detected {"io_id":99,"raw_value":2718662657,"note":"Value kept but may cause issues"} 
[2026-07-15 08:08:38] local.WARNING: Large IO value detected {"io_id":225,"raw_value":2927099907,"note":"Value kept but may cause issues"} 
[2026-07-15 08:08:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2812870862,"corrected_to":0} 
[2026-07-15 08:08:38] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3786565632,"note":"Value kept but may cause issues"} 
[2026-07-15 08:08:38] local.WARNING: Large IO value detected {"io_id":224,"raw_value":2281778555,"note":"Value kept but may cause issues"} 
[2026-07-15 08:08:38] local.WARNING: Large IO value detected {"io_id":121,"raw_value":2189426688,"note":"Value kept but may cause issues"} 
[2026-07-15 08:08:38] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,169,85,24,241,157,16,131,159,42,45,180,3,33,10,66,130,34,177,36,27,192,1,240,215,227,99,225,4,113,205,5,224,144,239,50,2,121,6],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2812870862,"validated":0}]} 
[2026-07-15 08:08:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144504539748106240,"timestamp_seconds":144504539748106.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 08:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725251328001,"66":13135,"169":206,"85":15104,"24":8,"16":106260488790212608,"45":8878705953136371712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-15 08:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725251328001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:08:38] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-15 08:08:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 08:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106260488790212608,"km_value":106260488790212.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878705953136371712,"description":"Unknown IO ID 45"} 
[2026-07-15 08:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725251328001,"power":13135,"unknown_169":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8878705953136371712}} 
[2026-07-15 08:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":132305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489876,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:08:38] local.INFO: GPS data processed {"connection_id":132305,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:08:38] local.INFO: Acknowledgment sent {"connection_id":132305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:08:41] local.INFO: TCP Data received {"connection_id":132131,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f63a105c8012d7f92c005afd830000000502b..."} 
[2026-07-15 08:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63a105c8012d7f92c005afd830000000502b..."} 
[2026-07-15 08:08:41] local.INFO: Processing buffer {"connection_id":132131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63a105c8012d7f92c005afd830000000502b..."} 
[2026-07-15 08:08:41] local.INFO: Packet analysis {"connection_id":132131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63a1"} 
[2026-07-15 08:08:41] local.INFO: Extracted packet for processing {"connection_id":132131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63a1"} 
[2026-07-15 08:08:41] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 08:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725151744001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784082925000,"timestamp_ms":1784082925000,"timestamp_seconds":1784082925,"priority":1,"record_length":96,"hex_timestamp":"0000019f63a105c8"} 
[2026-07-15 08:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 08:08:41] 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-07-15 08:08: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-07-15 08:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725151744001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 08:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725151744001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:08:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 08:08:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725151744001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 08:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":132131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:08:41] local.INFO: GPS data processed {"connection_id":132131,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:08:41] local.INFO: Acknowledgment sent {"connection_id":132131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:09:02] local.INFO: TCP Data received {"connection_id":132132,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:09:02] local.INFO: Processing buffer {"connection_id":132132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:09:02] local.INFO: IMEI packet received {"connection_id":132132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":132132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:09:07] local.INFO: TCP Data received {"connection_id":132132,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:09:07] local.INFO: Processing buffer {"connection_id":132132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:09:07] local.INFO: IMEI packet received {"connection_id":132132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":132132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:09:08] local.INFO: TCP Data received {"connection_id":132132,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f63a105c8012d7f92c005afd830000000502b..."} 
[2026-07-15 08:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63a105c8012d7f92c005afd830000000502b..."} 
[2026-07-15 08:09:08] local.INFO: Processing buffer {"connection_id":132132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63a105c8012d7f92c005afd830000000502b..."} 
[2026-07-15 08:09:08] local.INFO: Packet analysis {"connection_id":132132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63a1"} 
[2026-07-15 08:09:08] local.INFO: Extracted packet for processing {"connection_id":132132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63a1"} 
[2026-07-15 08:09:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 08:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725151744001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784082925000,"timestamp_ms":1784082925000,"timestamp_seconds":1784082925,"priority":1,"record_length":96,"hex_timestamp":"0000019f63a105c8"} 
[2026-07-15 08:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 08:09:08] 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-07-15 08:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:09:08] 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-07-15 08:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725151744001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 08:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725151744001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:09:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 08:09:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725151744001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 08:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":132132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:09:08] local.INFO: GPS data processed {"connection_id":132132,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:09:08] local.INFO: Acknowledgment sent {"connection_id":132132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:09:09] local.INFO: TCP Data received {"connection_id":132305,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63a2ea28012d7b304005e202380001015a1d..."} 
[2026-07-15 08:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63a2ea28012d7b304005e202380001015a1d..."} 
[2026-07-15 08:09:09] local.INFO: Processing buffer {"connection_id":132305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63a2ea28012d7b304005e202380001015a1d..."} 
[2026-07-15 08:09:09] local.INFO: Packet analysis {"connection_id":132305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63a2"} 
[2026-07-15 08:09:09] local.INFO: Extracted packet for processing {"connection_id":132305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63a2"} 
[2026-07-15 08:09:09] local.INFO: GPS Element Parsed {"raw_longitude":763048000,"raw_latitude":98697784,"longitude_deg":76.3048,"latitude_deg":9.8697784,"altitude":1,"angle":346,"satellites":29,"speed":8,"hex_longitude":"2d7b3040","hex_latitude":"05e20238","is_valid_coordinates":true} 
[2026-07-15 08:09: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-07-15 08:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725256448001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106260677768773632,"note":"Value kept but may cause issues"} 
[2026-07-15 08:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877509684487208960,"note":"Value kept but may cause issues"} 
[2026-07-15 08:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784083049000,"timestamp_ms":1784083049000,"timestamp_seconds":1784083049,"priority":1,"record_length":96,"hex_timestamp":"0000019f63a2ea28"} 
[2026-07-15 08:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-15 08:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:09: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-07-15 08:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":132305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":132305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":132305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725256448001,"66":13319,"169":206,"85":15104,"24":8,"16":106260677768773632,"45":8877509684487208960},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-15 08:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725256448001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:09:09] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-15 08:09:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 08:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106260677768773632,"km_value":106260677768773.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877509684487208960,"description":"Unknown IO ID 45"} 
[2026-07-15 08:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725256448001,"power":13319,"unknown_169":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8877509684487208960}} 
[2026-07-15 08:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":132305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489879,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:09:09] local.INFO: GPS data processed {"connection_id":132305,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:09:09] local.INFO: Acknowledgment sent {"connection_id":132305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:09:27] local.INFO: TCP Data received {"connection_id":132133,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132133,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:09:27] local.INFO: Processing buffer {"connection_id":132133,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:09:27] local.INFO: IMEI packet received {"connection_id":132133,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 08:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":132133,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:09:30] local.INFO: TCP Data received {"connection_id":132133,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132133,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:09:30] local.INFO: Processing buffer {"connection_id":132133,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:09:30] local.INFO: IMEI packet received {"connection_id":132133,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":132133,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:09:34] local.INFO: TCP Data received {"connection_id":132133,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132133,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:09:34] local.INFO: Processing buffer {"connection_id":132133,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:09:34] local.INFO: IMEI packet received {"connection_id":132133,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":132133,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:09:35] local.INFO: TCP Data received {"connection_id":132133,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63a30198012d7b2fc005e20808000101651e..."} 
[2026-07-15 08:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63a30198012d7b2fc005e20808000101651e..."} 
[2026-07-15 08:09:35] local.INFO: Processing buffer {"connection_id":132133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63a30198012d7b2fc005e20808000101651e..."} 
[2026-07-15 08:09:35] local.INFO: Packet analysis {"connection_id":132133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63a3"} 
[2026-07-15 08:09:35] local.INFO: Extracted packet for processing {"connection_id":132133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63a3"} 
[2026-07-15 08:09:35] local.INFO: GPS Element Parsed {"raw_longitude":763047872,"raw_latitude":98699272,"longitude_deg":76.3047872,"latitude_deg":9.8699272,"altitude":1,"angle":357,"satellites":30,"speed":13,"hex_longitude":"2d7b2fc0","hex_latitude":"05e20808","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725260544001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106260750783217664,"note":"Value kept but may cause issues"} 
[2026-07-15 08:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876665259558057984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784083055000,"timestamp_ms":1784083055000,"timestamp_seconds":1784083055,"priority":1,"record_length":96,"hex_timestamp":"0000019f63a30198"} 
[2026-07-15 08:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-15 08:09:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 08:09:35] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-15 08:09:35] local.WARNING: Large IO value detected {"io_id":130,"raw_value":2717908992,"note":"Value kept but may cause issues"} 
[2026-07-15 08:09:35] local.WARNING: Large IO value detected {"io_id":99,"raw_value":2720198657,"note":"Value kept but may cause issues"} 
[2026-07-15 08:09:35] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-5940247887009078272,"note":"Value kept but may cause issues"} 
[2026-07-15 08:09:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2812870862,"corrected_to":0} 
[2026-07-15 08:09:35] local.WARNING: Large IO value detected {"io_id":60,"raw_value":3221610928,"note":"Value kept but may cause issues"} 
[2026-07-15 08:09:35] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607154087,"note":"Value kept but may cause issues"} 
[2026-07-15 08:09:35] local.WARNING: Large IO value detected {"io_id":121,"raw_value":2190868480,"note":"Value kept but may cause issues"} 
[2026-07-15 08:09:35] local.WARNING: Large IO value detected {"io_id":166,"raw_value":57886714530518331,"note":"Value kept but may cause issues"} 
[2026-07-15 08:09:35] local.WARNING: Large IO value detected {"io_id":161,"raw_value":-2267561117527949307,"note":"Value kept but may cause issues"} 
[2026-07-15 08:09:35] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,169,85,24,241,157,16,131,159,171,45,64,243,10,66,93,128,214,2,29,42,1,240,51,227,130,99,225,4,113,205,7,27,60,144,35,239,50,121,5,3,166,161],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2812870862,"validated":0}]} 
[2026-07-15 08:09:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72438149615714304,"timestamp_seconds":72438149615714.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 08:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725260544001,"66":13319,"169":206,"85":15104,"24":13,"16":106260750783217664,"45":8876665259558057984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-15 08:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725260544001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:09:35] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-15 08:09:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 08:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106260750783217664,"km_value":106260750783217.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876665259558057984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725260544001,"power":13319,"unknown_169":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8876665259558057984}} 
[2026-07-15 08:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":132133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489880,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:09:35] local.INFO: GPS data processed {"connection_id":132133,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:09:35] local.INFO: Acknowledgment sent {"connection_id":132133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:09:39] local.INFO: TCP Data received {"connection_id":132132,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f63a105c8012d7f92c005afd830000000502b..."} 
[2026-07-15 08:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63a105c8012d7f92c005afd830000000502b..."} 
[2026-07-15 08:09:39] local.INFO: Processing buffer {"connection_id":132132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63a105c8012d7f92c005afd830000000502b..."} 
[2026-07-15 08:09:39] local.INFO: Packet analysis {"connection_id":132132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63a1"} 
[2026-07-15 08:09:39] local.INFO: Extracted packet for processing {"connection_id":132132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63a1"} 
[2026-07-15 08:09:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 08:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725151744001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784082925000,"timestamp_ms":1784082925000,"timestamp_seconds":1784082925,"priority":1,"record_length":96,"hex_timestamp":"0000019f63a105c8"} 
[2026-07-15 08:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:09:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 08:09:39] 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-07-15 08:09:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:09:39] 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-07-15 08:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725151744001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 08:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725151744001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:09:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 08:09:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725151744001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 08:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":132132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:09:39] local.INFO: GPS data processed {"connection_id":132132,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:09:39] local.INFO: Acknowledgment sent {"connection_id":132132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:10:01] local.INFO: TCP Data received {"connection_id":133145,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:10:01] local.INFO: Processing buffer {"connection_id":133145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:10:01] local.INFO: IMEI packet received {"connection_id":133145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":133145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:10:06] local.INFO: TCP Data received {"connection_id":132133,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63a510f0012d7b058005e333100000000117..."} 
[2026-07-15 08:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63a510f0012d7b058005e333100000000117..."} 
[2026-07-15 08:10:06] local.INFO: Processing buffer {"connection_id":132133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63a510f0012d7b058005e333100000000117..."} 
[2026-07-15 08:10:06] local.INFO: Packet analysis {"connection_id":132133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63a5"} 
[2026-07-15 08:10:06] local.INFO: Extracted packet for processing {"connection_id":132133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63a5"} 
[2026-07-15 08:10:06] local.INFO: GPS Element Parsed {"raw_longitude":763037056,"raw_latitude":98775824,"longitude_deg":76.3037056,"latitude_deg":9.8775824,"altitude":0,"angle":1,"satellites":23,"speed":23,"hex_longitude":"2d7b0580","hex_latitude":"05e33310","is_valid_coordinates":true} 
[2026-07-15 08:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725294336001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106264521764503552,"note":"Value kept but may cause issues"} 
[2026-07-15 08:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864913679299364864,"note":"Value kept but may cause issues"} 
[2026-07-15 08:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784083190000,"timestamp_ms":1784083190000,"timestamp_seconds":1784083190,"priority":1,"record_length":96,"hex_timestamp":"0000019f63a510f0"} 
[2026-07-15 08:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-15 08:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303164287929766,"note":"Value kept but may cause issues"} 
[2026-07-15 08:10:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 08:10:06] local.WARNING: Large IO value detected {"io_id":96,"raw_value":58077557095399461,"note":"Value kept but may cause issues"} 
[2026-07-15 08:10:06] local.WARNING: Large IO value detected {"io_id":99,"raw_value":2757574657,"note":"Value kept but may cause issues"} 
[2026-07-15 08:10:06] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3462397956,"note":"Value kept but may cause issues"} 
[2026-07-15 08:10:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791309518,"corrected_to":0} 
[2026-07-15 08:10:06] local.WARNING: Large IO value detected {"io_id":121,"raw_value":2238709760,"note":"Value kept but may cause issues"} 
[2026-07-15 08:10:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3800356864,"note":"Value kept but may cause issues"} 
[2026-07-15 08:10:06] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,97,85,24,241,157,16,134,159,179,45,128,30,10,66,96,155,64,20,23,120,1,240,187,227,99,226,4,113,205,50,62,28,224,26,239,51,2,121,5,9,37],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2791309518,"validated":0}]} 
[2026-07-15 08:10:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":384940739133440,"timestamp_seconds":384940739133.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 08:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725294336001,"66":12982,"97":206,"85":15104,"24":23,"16":106264521764503552,"45":8864913679299364864},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 08:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725294336001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:10:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 08:10:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 08:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106264521764503552,"km_value":106264521764503.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864913679299364864,"description":"Unknown IO ID 45"} 
[2026-07-15 08:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725294336001,"power":12982,"unknown_97":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8864913679299364864}} 
[2026-07-15 08:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":132133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489882,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:10:07] local.INFO: GPS data processed {"connection_id":132133,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:10:07] local.INFO: Acknowledgment sent {"connection_id":132133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:10:07] local.INFO: TCP Data received {"connection_id":133145,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:10:07] local.INFO: Processing buffer {"connection_id":133145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:10:07] local.INFO: IMEI packet received {"connection_id":133145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":133145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:10:07] local.INFO: TCP Data received {"connection_id":133145,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f63a105c8012d7f92c005afd830000000502b..."} 
[2026-07-15 08:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63a105c8012d7f92c005afd830000000502b..."} 
[2026-07-15 08:10:07] local.INFO: Processing buffer {"connection_id":133145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63a105c8012d7f92c005afd830000000502b..."} 
[2026-07-15 08:10:07] local.INFO: Packet analysis {"connection_id":133145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63a1"} 
[2026-07-15 08:10:07] local.INFO: Extracted packet for processing {"connection_id":133145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63a1"} 
[2026-07-15 08:10:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 08:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725151744001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784082925000,"timestamp_ms":1784082925000,"timestamp_seconds":1784082925,"priority":1,"record_length":96,"hex_timestamp":"0000019f63a105c8"} 
[2026-07-15 08:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 08:10:07] 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-07-15 08:10:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:10:07] 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-07-15 08:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725151744001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 08:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725151744001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:10:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 08:10:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725151744001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 08:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":133145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:10:07] local.INFO: GPS data processed {"connection_id":133145,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:10:07] local.INFO: Acknowledgment sent {"connection_id":133145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:10:29] local.INFO: TCP Data received {"connection_id":134516,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134516,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:10:29] local.INFO: Processing buffer {"connection_id":134516,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:10:29] local.INFO: IMEI packet received {"connection_id":134516,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 08:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":134516,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:10:34] local.INFO: TCP Data received {"connection_id":134516,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134516,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:10:34] local.INFO: Processing buffer {"connection_id":134516,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:10:34] local.INFO: IMEI packet received {"connection_id":134516,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":134516,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:10:36] local.INFO: TCP Data received {"connection_id":134516,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63a53418012d7b058005e348180000015e1c..."} 
[2026-07-15 08:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63a53418012d7b058005e348180000015e1c..."} 
[2026-07-15 08:10:36] local.INFO: Processing buffer {"connection_id":134516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63a53418012d7b058005e348180000015e1c..."} 
[2026-07-15 08:10:36] local.INFO: Packet analysis {"connection_id":134516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63a5"} 
[2026-07-15 08:10:36] local.INFO: Extracted packet for processing {"connection_id":134516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63a5"} 
[2026-07-15 08:10:36] local.INFO: GPS Element Parsed {"raw_longitude":763037056,"raw_latitude":98781208,"longitude_deg":76.3037056,"latitude_deg":9.8781208,"altitude":0,"angle":350,"satellites":28,"speed":28,"hex_longitude":"2d7b0580","hex_latitude":"05e34818","is_valid_coordinates":true} 
[2026-07-15 08:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725296640001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106264783757508608,"note":"Value kept but may cause issues"} 
[2026-07-15 08:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864632204323655680,"note":"Value kept but may cause issues"} 
[2026-07-15 08:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784083199000,"timestamp_ms":1784083199000,"timestamp_seconds":1784083199,"priority":1,"record_length":96,"hex_timestamp":"0000019f63a53418"} 
[2026-07-15 08:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-15 08:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":134516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":134516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":134516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725296640001,"66":13037,"97":206,"85":15104,"24":28,"16":106264783757508608,"45":8864632204323655680},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 08:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725296640001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:10:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 08:10:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 08:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106264783757508608,"km_value":106264783757508.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864632204323655680,"description":"Unknown IO ID 45"} 
[2026-07-15 08:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725296640001,"power":13037,"unknown_97":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8864632204323655680}} 
[2026-07-15 08:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":134516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489884,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:10:36] local.INFO: GPS data processed {"connection_id":134516,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:10:36] local.INFO: Acknowledgment sent {"connection_id":134516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:10:41] local.INFO: TCP Data received {"connection_id":133145,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f63a105c8012d7f92c005afd830000000502b..."} 
[2026-07-15 08:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63a105c8012d7f92c005afd830000000502b..."} 
[2026-07-15 08:10:41] local.INFO: Processing buffer {"connection_id":133145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63a105c8012d7f92c005afd830000000502b..."} 
[2026-07-15 08:10:41] local.INFO: Packet analysis {"connection_id":133145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63a1"} 
[2026-07-15 08:10:41] local.INFO: Extracted packet for processing {"connection_id":133145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63a1"} 
[2026-07-15 08:10:41] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 08:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725151744001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:10:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784082925000,"timestamp_ms":1784082925000,"timestamp_seconds":1784082925,"priority":1,"record_length":96,"hex_timestamp":"0000019f63a105c8"} 
[2026-07-15 08:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:10:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 08:10:41] 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-07-15 08:10:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":133145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":133145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":133145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:10:41] 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-07-15 08:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725151744001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 08:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725151744001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:10:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 08:10:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725151744001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 08:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":133145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:10:41] local.INFO: GPS data processed {"connection_id":133145,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:10:41] local.INFO: Acknowledgment sent {"connection_id":133145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:11:01] local.INFO: TCP Data received {"connection_id":133147,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:11:01] local.INFO: Processing buffer {"connection_id":133147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:11:01] local.INFO: IMEI packet received {"connection_id":133147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":133147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:11:04] local.INFO: TCP Data received {"connection_id":133147,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:11:04] local.INFO: Processing buffer {"connection_id":133147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:11:04] local.INFO: IMEI packet received {"connection_id":133147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":133147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:11:07] local.INFO: TCP Data received {"connection_id":133147,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:11:07] local.INFO: Processing buffer {"connection_id":133147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:11:07] local.INFO: IMEI packet received {"connection_id":133147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":133147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:11:08] local.INFO: TCP Data received {"connection_id":133147,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f63a59d90012d7f92c005afd830000f00502f..."} 
[2026-07-15 08:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63a59d90012d7f92c005afd830000f00502f..."} 
[2026-07-15 08:11:08] local.INFO: Processing buffer {"connection_id":133147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63a59d90012d7f92c005afd830000f00502f..."} 
[2026-07-15 08:11:08] local.INFO: Packet analysis {"connection_id":133147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63a5"} 
[2026-07-15 08:11:08] local.INFO: Extracted packet for processing {"connection_id":133147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63a5"} 
[2026-07-15 08:11:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":15,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 08:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725228800001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:11:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784083226000,"timestamp_ms":1784083226000,"timestamp_seconds":1784083226,"priority":1,"record_length":96,"hex_timestamp":"0000019f63a59d90"} 
[2026-07-15 08:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-15 08:11:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:11:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":133147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":133147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":133147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:11:08] 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-07-15 08:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725228800001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 08:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725228800001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:11:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 08:11:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725228800001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 08:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":133147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:11:08] local.INFO: GPS data processed {"connection_id":133147,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:11:08] local.INFO: Acknowledgment sent {"connection_id":133147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:11:08] local.INFO: TCP Data received {"connection_id":134516,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63a53fd0012d7b040005e350580000015120..."} 
[2026-07-15 08:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63a53fd0012d7b040005e350580000015120..."} 
[2026-07-15 08:11:08] local.INFO: Processing buffer {"connection_id":134516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63a53fd0012d7b040005e350580000015120..."} 
[2026-07-15 08:11:08] local.INFO: Packet analysis {"connection_id":134516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63a5"} 
[2026-07-15 08:11:08] local.INFO: Extracted packet for processing {"connection_id":134516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63a5"} 
[2026-07-15 08:11:08] local.INFO: GPS Element Parsed {"raw_longitude":763036672,"raw_latitude":98783320,"longitude_deg":76.3036672,"latitude_deg":9.878332,"altitude":0,"angle":337,"satellites":32,"speed":31,"hex_longitude":"2d7b0400","hex_latitude":"05e35058","is_valid_coordinates":true} 
[2026-07-15 08:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725298944001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106264891131691008,"note":"Value kept but may cause issues"} 
[2026-07-15 08:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864632204325033984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:11:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784083202000,"timestamp_ms":1784083202000,"timestamp_seconds":1784083202,"priority":1,"record_length":96,"hex_timestamp":"0000019f63a53fd0"} 
[2026-07-15 08:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-15 08:11:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:11:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725298944001,"66":13048,"97":206,"85":15104,"24":31,"16":106264891131691008,"45":8864632204325033984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 08:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725298944001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:11:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 08:11:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 08:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106264891131691008,"km_value":106264891131691.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864632204325033984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725298944001,"power":13048,"unknown_97":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8864632204325033984}} 
[2026-07-15 08:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":134516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489887,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:11:08] local.INFO: GPS data processed {"connection_id":134516,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:11:08] local.INFO: Acknowledgment sent {"connection_id":134516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:11:33] local.INFO: TCP Data received {"connection_id":133148,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133148,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:11:33] local.INFO: Processing buffer {"connection_id":133148,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:11:33] local.INFO: IMEI packet received {"connection_id":133148,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 08:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":133148,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:11:34] local.INFO: TCP Data received {"connection_id":133148,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133148,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:11:34] local.INFO: Processing buffer {"connection_id":133148,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:11:34] local.INFO: IMEI packet received {"connection_id":133148,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":133148,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:11:39] local.INFO: TCP Data received {"connection_id":133147,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f63a59d90012d7f92c005afd830000f00502f..."} 
[2026-07-15 08:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63a59d90012d7f92c005afd830000f00502f..."} 
[2026-07-15 08:11:39] local.INFO: Processing buffer {"connection_id":133147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63a59d90012d7f92c005afd830000f00502f..."} 
[2026-07-15 08:11:39] local.INFO: Packet analysis {"connection_id":133147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63a5"} 
[2026-07-15 08:11:39] local.INFO: Extracted packet for processing {"connection_id":133147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63a5"} 
[2026-07-15 08:11:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":15,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 08:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725228800001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784083226000,"timestamp_ms":1784083226000,"timestamp_seconds":1784083226,"priority":1,"record_length":96,"hex_timestamp":"0000019f63a59d90"} 
[2026-07-15 08:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-15 08:11:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:11:39] 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-07-15 08:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725228800001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 08:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725228800001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:11:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 08:11:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725228800001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 08:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":133147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:11:39] local.INFO: GPS data processed {"connection_id":133147,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:11:39] local.INFO: Acknowledgment sent {"connection_id":133147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:11:39] local.INFO: TCP Data received {"connection_id":133148,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133148,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:11:39] local.INFO: Processing buffer {"connection_id":133148,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:11:39] local.INFO: IMEI packet received {"connection_id":133148,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":133148,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:11:53] local.INFO: TCP Data received {"connection_id":133148,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63a56eb0012d7af98005e373300003015526..."} 
[2026-07-15 08:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63a56eb0012d7af98005e373300003015526..."} 
[2026-07-15 08:11:53] local.INFO: Processing buffer {"connection_id":133148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63a56eb0012d7af98005e373300003015526..."} 
[2026-07-15 08:11:53] local.INFO: Packet analysis {"connection_id":133148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63a5"} 
[2026-07-15 08:11:53] local.INFO: Extracted packet for processing {"connection_id":133148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63a5"} 
[2026-07-15 08:11:53] local.INFO: GPS Element Parsed {"raw_longitude":763033984,"raw_latitude":98792240,"longitude_deg":76.3033984,"latitude_deg":9.879224,"altitude":3,"angle":341,"satellites":38,"speed":32,"hex_longitude":"2d7af980","hex_latitude":"05e37330","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725299712001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106265342103257088,"note":"Value kept but may cause issues"} 
[2026-07-15 08:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864209991860508672,"note":"Value kept but may cause issues"} 
[2026-07-15 08:11:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784083214000,"timestamp_ms":1784083214000,"timestamp_seconds":1784083214,"priority":1,"record_length":96,"hex_timestamp":"0000019f63a56eb0"} 
[2026-07-15 08:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:11:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-15 08:11:53] 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-07-15 08: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-07-15 08:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":133148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":133148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":133148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:11:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725299712001,"66":13059,"97":206,"85":15104,"24":32,"16":106265342103257088,"45":8864209991860508672},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 08:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725299712001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:11:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 08:11:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 08:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106265342103257088,"km_value":106265342103257.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864209991860508672,"description":"Unknown IO ID 45"} 
[2026-07-15 08:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725299712001,"power":13059,"unknown_97":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8864209991860508672}} 
[2026-07-15 08:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":133148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489889,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:11:53] local.INFO: GPS data processed {"connection_id":133148,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:11:53] local.INFO: Acknowledgment sent {"connection_id":133148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:12:02] local.INFO: TCP Data received {"connection_id":134517,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:12:02] local.INFO: Processing buffer {"connection_id":134517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:12:02] local.INFO: IMEI packet received {"connection_id":134517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":134517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:12:02] local.INFO: TCP Data received {"connection_id":133148,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63a5bcd0012d7af18005e38de80005015525..."} 
[2026-07-15 08:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63a5bcd0012d7af18005e38de80005015525..."} 
[2026-07-15 08:12:02] local.INFO: Processing buffer {"connection_id":133148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63a5bcd0012d7af18005e38de80005015525..."} 
[2026-07-15 08:12:02] local.INFO: Packet analysis {"connection_id":133148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63a5"} 
[2026-07-15 08:12:02] local.INFO: Extracted packet for processing {"connection_id":133148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63a5"} 
[2026-07-15 08:12:02] local.INFO: GPS Element Parsed {"raw_longitude":763031936,"raw_latitude":98799080,"longitude_deg":76.3031936,"latitude_deg":9.879908,"altitude":5,"angle":341,"satellites":37,"speed":21,"hex_longitude":"2d7af180","hex_latitude":"05e38de8","is_valid_coordinates":true} 
[2026-07-15 08:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725302784001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106265689995608064,"note":"Value kept but may cause issues"} 
[2026-07-15 08:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8861254504607330304,"note":"Value kept but may cause issues"} 
[2026-07-15 08:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784083234000,"timestamp_ms":1784083234000,"timestamp_seconds":1784083234,"priority":1,"record_length":96,"hex_timestamp":"0000019f63a5bcd0"} 
[2026-07-15 08:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:12:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-15 08:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303161721015718,"note":"Value kept but may cause issues"} 
[2026-07-15 08:12:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 08:12:02] local.WARNING: Large IO value detected {"io_id":99,"raw_value":2767046657,"note":"Value kept but may cause issues"} 
[2026-07-15 08:12:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-07-15 08:12:02] local.WARNING: Large IO value detected {"io_id":8,"raw_value":2147869470,"note":"Value kept but may cause issues"} 
[2026-07-15 08:12:02] local.WARNING: Large IO value detected {"io_id":96,"raw_value":58077557095399454,"note":"Value kept but may cause issues"} 
[2026-07-15 08:12:02] local.WARNING: Large IO value detected {"io_id":121,"raw_value":2261254144,"note":"Value kept but may cause issues"} 
[2026-07-15 08:12:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3809789952,"note":"Value kept but may cause issues"} 
[2026-07-15 08:12:02] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,97,85,24,241,157,16,135,159,63,45,80,32,10,66,52,128,72,28,1,240,182,227,99,4,113,205,179,8,208,239,50,96,2,121,5,30],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-07-15 08:12:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216547878789709824,"timestamp_seconds":216547878789709.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 08:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":133148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":133148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":133148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725302784001,"66":12993,"97":206,"85":15104,"24":21,"16":106265689995608064,"45":8861254504607330304},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 08:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725302784001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:12:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 08:12:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 08:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106265689995608064,"km_value":106265689995608.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8861254504607330304,"description":"Unknown IO ID 45"} 
[2026-07-15 08:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725302784001,"power":12993,"unknown_97":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8861254504607330304}} 
[2026-07-15 08:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":133148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489890,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:12:02] local.INFO: GPS data processed {"connection_id":133148,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:12:02] local.INFO: Acknowledgment sent {"connection_id":133148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:12:07] local.INFO: TCP Data received {"connection_id":134517,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:12:07] local.INFO: Processing buffer {"connection_id":134517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:12:07] local.INFO: IMEI packet received {"connection_id":134517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":134517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:12:07] local.INFO: TCP Data received {"connection_id":134517,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f63a59d90012d7f92c005afd830000f00502f..."} 
[2026-07-15 08:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63a59d90012d7f92c005afd830000f00502f..."} 
[2026-07-15 08:12:07] local.INFO: Processing buffer {"connection_id":134517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63a59d90012d7f92c005afd830000f00502f..."} 
[2026-07-15 08:12:07] local.INFO: Packet analysis {"connection_id":134517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63a5"} 
[2026-07-15 08:12:07] local.INFO: Extracted packet for processing {"connection_id":134517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63a5"} 
[2026-07-15 08:12:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":15,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 08:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725228800001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784083226000,"timestamp_ms":1784083226000,"timestamp_seconds":1784083226,"priority":1,"record_length":96,"hex_timestamp":"0000019f63a59d90"} 
[2026-07-15 08:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-15 08:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:12:07] 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-07-15 08:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725228800001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 08:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725228800001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:12:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 08:12:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725228800001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 08:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":134517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:12:07] local.INFO: GPS data processed {"connection_id":134517,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:12:07] local.INFO: Acknowledgment sent {"connection_id":134517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:12:30] local.INFO: TCP Data received {"connection_id":134518,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134518,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:12:30] local.INFO: Processing buffer {"connection_id":134518,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:12:30] local.INFO: IMEI packet received {"connection_id":134518,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 08:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":134518,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:12:30] local.INFO: TCP Data received {"connection_id":134518,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134518,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:12:30] local.INFO: Processing buffer {"connection_id":134518,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:12:30] local.INFO: IMEI packet received {"connection_id":134518,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":134518,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:12:35] local.INFO: TCP Data received {"connection_id":134518,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134518,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:12:35] local.INFO: Processing buffer {"connection_id":134518,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:12:35] local.INFO: IMEI packet received {"connection_id":134518,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":134518,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:12:39] local.INFO: TCP Data received {"connection_id":134517,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f63a59d90012d7f92c005afd830000f00502f..."} 
[2026-07-15 08:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63a59d90012d7f92c005afd830000f00502f..."} 
[2026-07-15 08:12:39] local.INFO: Processing buffer {"connection_id":134517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63a59d90012d7f92c005afd830000f00502f..."} 
[2026-07-15 08:12:39] local.INFO: Packet analysis {"connection_id":134517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63a5"} 
[2026-07-15 08:12:39] local.INFO: Extracted packet for processing {"connection_id":134517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63a5"} 
[2026-07-15 08:12:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":15,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 08:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725228800001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784083226000,"timestamp_ms":1784083226000,"timestamp_seconds":1784083226,"priority":1,"record_length":96,"hex_timestamp":"0000019f63a59d90"} 
[2026-07-15 08:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:12:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-15 08:12:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:12:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:12: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-07-15 08:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725228800001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 08:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725228800001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:12:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 08:12:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725228800001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 08:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":134517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:12:39] local.INFO: GPS data processed {"connection_id":134517,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:12:39] local.INFO: Acknowledgment sent {"connection_id":134517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:13:02] local.INFO: TCP Data received {"connection_id":133150,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:13:02] local.INFO: Processing buffer {"connection_id":133150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:13:02] local.INFO: IMEI packet received {"connection_id":133150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":133150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:13:05] local.INFO: TCP Data received {"connection_id":133149,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 08:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133149,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 08:13:05] local.INFO: Processing buffer {"connection_id":133149,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 08:13:05] local.INFO: IMEI packet received {"connection_id":133149,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 08:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":133149,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:13:05] local.INFO: TCP Data received {"connection_id":134518,"ip":"42.106.6.17","data_length":1340,"data_hex":"000000000000030f8e0a0000019f63a737b8012d7a5b8005e472380003013c24..."} 
[2026-07-15 08:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134518,"packet_length":1340,"packet_hex":"000000000000030f8e0a0000019f63a737b8012d7a5b8005e472380003013c24..."} 
[2026-07-15 08:13:05] local.INFO: Processing buffer {"connection_id":134518,"buffer_length":1340,"buffer_hex":"000000000000030f8e0a0000019f63a737b8012d7a5b8005e472380003013c24..."} 
[2026-07-15 08:13:05] local.INFO: Packet analysis {"connection_id":134518,"data_field_length":783,"total_packet_length":795,"buffer_length":1340,"packet_hex_start":"000000000000030f8e0a0000019f63a7"} 
[2026-07-15 08:13:05] local.INFO: Extracted packet for processing {"connection_id":134518,"packet_length":795,"remaining_buffer_length":545,"packet_hex_start":"000000000000030f8e0a0000019f63a7"} 
[2026-07-15 08:13:05] local.INFO: GPS Element Parsed {"raw_longitude":762993536,"raw_latitude":98857528,"longitude_deg":76.2993536,"latitude_deg":9.8857528,"altitude":3,"angle":316,"satellites":36,"speed":27,"hex_longitude":"2d7a5b80","hex_latitude":"05e47238","is_valid_coordinates":true} 
[2026-07-15 08:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725329408001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106269220458725376,"note":"Value kept but may cause issues"} 
[2026-07-15 08:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8824592388905965568,"note":"Value kept but may cause issues"} 
[2026-07-15 08:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784083331000,"timestamp_ms":1784083331000,"timestamp_seconds":1784083331,"priority":1,"record_length":96,"hex_timestamp":"0000019f63a737b8"} 
[2026-07-15 08:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:13:05] 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-07-15 08:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-15 08:13:05] 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-07-15 08:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":134518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":134518,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":134518,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725329408001,"66":12939,"97":206,"85":15104,"24":27,"16":106269220458725376,"45":8824592388905965568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 08:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725329408001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:13:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 08:13:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 08:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106269220458725376,"km_value":106269220458725.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8824592388905965568,"description":"Unknown IO ID 45"} 
[2026-07-15 08:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725329408001,"power":12939,"unknown_97":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8824592388905965568}} 
[2026-07-15 08:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":134518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489893,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:13:05] local.INFO: GPS data processed {"connection_id":134518,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:13:05] local.INFO: Acknowledgment sent {"connection_id":134518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:13:05] local.INFO: Packet analysis {"connection_id":134518,"data_field_length":783,"total_packet_length":795,"buffer_length":545,"packet_hex_start":"000000000000030f8e0a0000019f63a7"} 
[2026-07-15 08:13:05] local.INFO: Incomplete packet, waiting for more data {"connection_id":134518,"needed":795,"available":545} 
[2026-07-15 08:13:07] local.INFO: TCP Data received {"connection_id":134518,"ip":"42.106.6.17","data_length":1045,"data_hex":"e300100179898d000000000000019f63a67850012d7ad3c005e3f6e000040162..."} 
[2026-07-15 08:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134518,"packet_length":1045,"packet_hex":"e300100179898d000000000000019f63a67850012d7ad3c005e3f6e000040162..."} 
[2026-07-15 08:13:07] local.INFO: Processing buffer {"connection_id":134518,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f63a75310012d7a4b8005e482880003014723..."} 
[2026-07-15 08:13:07] local.INFO: Packet analysis {"connection_id":134518,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f63a7"} 
[2026-07-15 08:13:07] local.INFO: Extracted packet for processing {"connection_id":134518,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63a7"} 
[2026-07-15 08:13:07] local.INFO: GPS Element Parsed {"raw_longitude":762989440,"raw_latitude":98861704,"longitude_deg":76.298944,"latitude_deg":9.8861704,"altitude":3,"angle":327,"satellites":35,"speed":38,"hex_longitude":"2d7a4b80","hex_latitude":"05e48288","is_valid_coordinates":true} 
[2026-07-15 08:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725332736001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106269503926566912,"note":"Value kept but may cause issues"} 
[2026-07-15 08:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8816781458303760384,"note":"Value kept but may cause issues"} 
[2026-07-15 08:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784083338000,"timestamp_ms":1784083338000,"timestamp_seconds":1784083338,"priority":1,"record_length":96,"hex_timestamp":"0000019f63a75310"} 
[2026-07-15 08:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 08:13: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-07-15 08:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134518,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134518,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725332736001,"66":13178,"39":206,"87":13824,"24":38,"16":106269503926566912,"45":8816781458303760384},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-15 08:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725332736001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:13:07] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-15 08:13:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 08:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106269503926566912,"km_value":106269503926566.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8816781458303760384,"description":"Unknown IO ID 45"} 
[2026-07-15 08:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725332736001,"power":13178,"unknown_39":206,"unknown_87":13824,"ignition":38,"odometer":null,"unknown_45":8816781458303760384}} 
[2026-07-15 08:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":134518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489894,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:13:07] local.INFO: GPS data processed {"connection_id":134518,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:13:07] local.INFO: Acknowledgment sent {"connection_id":134518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:13:07] local.INFO: Packet analysis {"connection_id":134518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63a7"} 
[2026-07-15 08:13:07] local.INFO: Extracted packet for processing {"connection_id":134518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63a7"} 
[2026-07-15 08:13:07] local.INFO: GPS Element Parsed {"raw_longitude":762984192,"raw_latitude":98868912,"longitude_deg":76.2984192,"latitude_deg":9.8868912,"altitude":1,"angle":326,"satellites":38,"speed":33,"hex_longitude":"2d7a3700","hex_latitude":"05e49eb0","is_valid_coordinates":true} 
[2026-07-15 08:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725334528001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106269933423296512,"note":"Value kept but may cause issues"} 
[2026-07-15 08:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8812277858677458944,"note":"Value kept but may cause issues"} 
[2026-07-15 08:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784083348000,"timestamp_ms":1784083348000,"timestamp_seconds":1784083348,"priority":1,"record_length":96,"hex_timestamp":"0000019f63a77a20"} 
[2026-07-15 08:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-15 08:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134518,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134518,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725334528001,"66":13102,"39":206,"87":13824,"24":33,"16":106269933423296512,"45":8812277858677458944},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-15 08:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725334528001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:13:07] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-15 08:13:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 08:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106269933423296512,"km_value":106269933423296.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8812277858677458944,"description":"Unknown IO ID 45"} 
[2026-07-15 08:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725334528001,"power":13102,"unknown_39":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8812277858677458944}} 
[2026-07-15 08:13:07] local.INFO: TCP Data received {"connection_id":133150,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:13:07] local.INFO: Processing buffer {"connection_id":133150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:13:07] local.INFO: IMEI packet received {"connection_id":133150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":133150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":134518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489895,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:13:07] local.INFO: GPS data processed {"connection_id":134518,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:13:07] local.INFO: Acknowledgment sent {"connection_id":134518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:13:07] local.INFO: TCP Data received {"connection_id":133150,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f63a59d90012d7f92c005afd830000f00502f..."} 
[2026-07-15 08:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63a59d90012d7f92c005afd830000f00502f..."} 
[2026-07-15 08:13:07] local.INFO: Processing buffer {"connection_id":133150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63a59d90012d7f92c005afd830000f00502f..."} 
[2026-07-15 08:13:07] local.INFO: Packet analysis {"connection_id":133150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63a5"} 
[2026-07-15 08:13:07] local.INFO: Extracted packet for processing {"connection_id":133150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63a5"} 
[2026-07-15 08:13:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":15,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 08:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725228800001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784083226000,"timestamp_ms":1784083226000,"timestamp_seconds":1784083226,"priority":1,"record_length":96,"hex_timestamp":"0000019f63a59d90"} 
[2026-07-15 08:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-15 08:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725228800001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 08:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725228800001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:13:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 08:13:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725228800001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 08:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":133150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:13:07] local.INFO: GPS data processed {"connection_id":133150,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:13:07] local.INFO: Acknowledgment sent {"connection_id":133150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:13:26] local.INFO: TCP Data received {"connection_id":133151,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133151,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:13:26] local.INFO: Processing buffer {"connection_id":133151,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:13:26] local.INFO: IMEI packet received {"connection_id":133151,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 08:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":133151,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:13:27] local.INFO: TCP Data received {"connection_id":133151,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133151,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:13:27] local.INFO: Processing buffer {"connection_id":133151,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:13:27] local.INFO: IMEI packet received {"connection_id":133151,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":133151,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:13:29] local.INFO: TCP Data received {"connection_id":133151,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133151,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:13:29] local.INFO: Processing buffer {"connection_id":133151,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:13:29] local.INFO: IMEI packet received {"connection_id":133151,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":133151,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:13:34] local.INFO: TCP Data received {"connection_id":133151,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133151,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:13:34] local.INFO: Processing buffer {"connection_id":133151,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:13:34] local.INFO: IMEI packet received {"connection_id":133151,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":133151,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:13:35] local.INFO: TCP Data received {"connection_id":132306,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 08:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132306,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 08:13:35] local.INFO: Processing buffer {"connection_id":132306,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 08:13:35] local.INFO: IMEI packet received {"connection_id":132306,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 08:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":132306,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:13:36] local.INFO: TCP Data received {"connection_id":133151,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63a7a130012d7a298005e4b0a00002013422..."} 
[2026-07-15 08:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63a7a130012d7a298005e4b0a00002013422..."} 
[2026-07-15 08:13:36] local.INFO: Processing buffer {"connection_id":133151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63a7a130012d7a298005e4b0a00002013422..."} 
[2026-07-15 08:13:36] local.INFO: Packet analysis {"connection_id":133151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63a7"} 
[2026-07-15 08:13:36] local.INFO: Extracted packet for processing {"connection_id":133151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63a7"} 
[2026-07-15 08:13:36] local.INFO: GPS Element Parsed {"raw_longitude":762980736,"raw_latitude":98873504,"longitude_deg":76.2980736,"latitude_deg":9.8873504,"altitude":2,"angle":308,"satellites":34,"speed":7,"hex_longitude":"2d7a2980","hex_latitude":"05e4b0a0","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725337088001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106270212596170752,"note":"Value kept but may cause issues"} 
[2026-07-15 08:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8806507621656735744,"note":"Value kept but may cause issues"} 
[2026-07-15 08:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784083358000,"timestamp_ms":1784083358000,"timestamp_seconds":1784083358,"priority":1,"record_length":96,"hex_timestamp":"0000019f63a7a130"} 
[2026-07-15 08:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-15 08:13: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-07-15 08: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-07-15 08:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":133151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":133151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":133151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725337088001,"66":13048,"39":206,"87":13824,"24":7,"16":106270212596170752,"45":8806507621656735744},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-15 08:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725337088001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:13:36] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-15 08:13:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 08:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106270212596170752,"km_value":106270212596170.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8806507621656735744,"description":"Unknown IO ID 45"} 
[2026-07-15 08:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725337088001,"power":13048,"unknown_39":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8806507621656735744}} 
[2026-07-15 08:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":133151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489897,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:13:36] local.INFO: GPS data processed {"connection_id":133151,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:13:36] local.INFO: Acknowledgment sent {"connection_id":133151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:13:39] local.INFO: TCP Data received {"connection_id":133150,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f63a59d90012d7f92c005afd830000f00502f..."} 
[2026-07-15 08:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63a59d90012d7f92c005afd830000f00502f..."} 
[2026-07-15 08:13:39] local.INFO: Processing buffer {"connection_id":133150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63a59d90012d7f92c005afd830000f00502f..."} 
[2026-07-15 08:13:39] local.INFO: Packet analysis {"connection_id":133150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63a5"} 
[2026-07-15 08:13:39] local.INFO: Extracted packet for processing {"connection_id":133150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63a5"} 
[2026-07-15 08:13:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":15,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 08:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725228800001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784083226000,"timestamp_ms":1784083226000,"timestamp_seconds":1784083226,"priority":1,"record_length":96,"hex_timestamp":"0000019f63a59d90"} 
[2026-07-15 08:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:13:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-15 08:13:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:13:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:13:39] 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-07-15 08:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725228800001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 08:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725228800001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:13:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 08:13:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725228800001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 08:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":133150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:13:39] local.INFO: GPS data processed {"connection_id":133150,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:13:39] local.INFO: Acknowledgment sent {"connection_id":133150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:14:03] local.INFO: TCP Data received {"connection_id":132307,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:14:03] local.INFO: Processing buffer {"connection_id":132307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:14:03] local.INFO: IMEI packet received {"connection_id":132307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":132307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:14:06] local.INFO: TCP Data received {"connection_id":133151,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63a7a518012d7a28c005e4b0d00001011423..."} 
[2026-07-15 08:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63a7a518012d7a28c005e4b0d00001011423..."} 
[2026-07-15 08:14:06] local.INFO: Processing buffer {"connection_id":133151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63a7a518012d7a28c005e4b0d00001011423..."} 
[2026-07-15 08:14:06] local.INFO: Packet analysis {"connection_id":133151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63a7"} 
[2026-07-15 08:14:06] local.INFO: Extracted packet for processing {"connection_id":133151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63a7"} 
[2026-07-15 08:14:06] local.INFO: GPS Element Parsed {"raw_longitude":762980544,"raw_latitude":98873552,"longitude_deg":76.2980544,"latitude_deg":9.8873552,"altitude":1,"angle":276,"satellites":35,"speed":8,"hex_longitude":"2d7a28c0","hex_latitude":"05e4b0d0","is_valid_coordinates":true} 
[2026-07-15 08:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725339648001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106270221186105344,"note":"Value kept but may cause issues"} 
[2026-07-15 08:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8802707709472317440,"note":"Value kept but may cause issues"} 
[2026-07-15 08:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784083359000,"timestamp_ms":1784083359000,"timestamp_seconds":1784083359,"priority":1,"record_length":96,"hex_timestamp":"0000019f63a7a518"} 
[2026-07-15 08:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-15 08:14:06] 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-07-15 08:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725339648001,"66":13048,"39":206,"87":13824,"24":8,"16":106270221186105344,"45":8802707709472317440},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-15 08:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725339648001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:14:06] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-15 08:14:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 08:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106270221186105344,"km_value":106270221186105.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8802707709472317440,"description":"Unknown IO ID 45"} 
[2026-07-15 08:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725339648001,"power":13048,"unknown_39":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8802707709472317440}} 
[2026-07-15 08:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":133151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489899,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:14:07] local.INFO: GPS data processed {"connection_id":133151,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:14:07] local.INFO: Acknowledgment sent {"connection_id":133151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:14:07] local.INFO: TCP Data received {"connection_id":132307,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:14:07] local.INFO: Processing buffer {"connection_id":132307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:14:07] local.INFO: IMEI packet received {"connection_id":132307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":132307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:14:08] local.INFO: TCP Data received {"connection_id":132307,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f63a59d90012d7f92c005afd830000f00502f..."} 
[2026-07-15 08:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63a59d90012d7f92c005afd830000f00502f..."} 
[2026-07-15 08:14:08] local.INFO: Processing buffer {"connection_id":132307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63a59d90012d7f92c005afd830000f00502f..."} 
[2026-07-15 08:14:08] local.INFO: Packet analysis {"connection_id":132307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63a5"} 
[2026-07-15 08:14:08] local.INFO: Extracted packet for processing {"connection_id":132307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63a5"} 
[2026-07-15 08:14:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":15,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 08:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725228800001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:14:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784083226000,"timestamp_ms":1784083226000,"timestamp_seconds":1784083226,"priority":1,"record_length":96,"hex_timestamp":"0000019f63a59d90"} 
[2026-07-15 08:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:14:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-15 08:14:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:14:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725228800001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 08:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725228800001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:14:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 08:14:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725228800001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 08:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":132307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:14:08] local.INFO: GPS data processed {"connection_id":132307,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:14:08] local.INFO: Acknowledgment sent {"connection_id":132307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:14:32] local.INFO: TCP Data received {"connection_id":133152,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133152,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:14:32] local.INFO: Processing buffer {"connection_id":133152,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:14:32] local.INFO: IMEI packet received {"connection_id":133152,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 08:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":133152,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:14:35] local.INFO: TCP Data received {"connection_id":133152,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133152,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:14:35] local.INFO: Processing buffer {"connection_id":133152,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:14:35] local.INFO: IMEI packet received {"connection_id":133152,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":133152,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:14:36] local.INFO: TCP Data received {"connection_id":133152,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63a7a900012d7a27c005e4b0b0000100f924..."} 
[2026-07-15 08:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63a7a900012d7a27c005e4b0b0000100f924..."} 
[2026-07-15 08:14:36] local.INFO: Processing buffer {"connection_id":133152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63a7a900012d7a27c005e4b0b0000100f924..."} 
[2026-07-15 08:14:36] local.INFO: Packet analysis {"connection_id":133152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63a7"} 
[2026-07-15 08:14:36] local.INFO: Extracted packet for processing {"connection_id":133152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63a7"} 
[2026-07-15 08:14:36] local.INFO: GPS Element Parsed {"raw_longitude":762980288,"raw_latitude":98873520,"longitude_deg":76.2980288,"latitude_deg":9.887352,"altitude":1,"angle":249,"satellites":36,"speed":8,"hex_longitude":"2d7a27c0","hex_latitude":"05e4b0b0","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725339904001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106270234071007232,"note":"Value kept but may cause issues"} 
[2026-07-15 08:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8802496603239796736,"note":"Value kept but may cause issues"} 
[2026-07-15 08:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784083360000,"timestamp_ms":1784083360000,"timestamp_seconds":1784083360,"priority":1,"record_length":96,"hex_timestamp":"0000019f63a7a900"} 
[2026-07-15 08:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-15 08:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08: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-07-15 08:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":133152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":133152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":133152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725339904001,"66":12885,"39":206,"87":13824,"24":8,"16":106270234071007232,"45":8802496603239796736},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-15 08:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725339904001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:14:36] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-15 08:14:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 08:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106270234071007232,"km_value":106270234071007.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8802496603239796736,"description":"Unknown IO ID 45"} 
[2026-07-15 08:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725339904001,"power":12885,"unknown_39":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8802496603239796736}} 
[2026-07-15 08:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":133152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489901,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:14:36] local.INFO: GPS data processed {"connection_id":133152,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:14:36] local.INFO: Acknowledgment sent {"connection_id":133152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:14:39] local.INFO: TCP Data received {"connection_id":132307,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f63a59d90012d7f92c005afd830000f00502f..."} 
[2026-07-15 08:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63a59d90012d7f92c005afd830000f00502f..."} 
[2026-07-15 08:14:39] local.INFO: Processing buffer {"connection_id":132307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63a59d90012d7f92c005afd830000f00502f..."} 
[2026-07-15 08:14:39] local.INFO: Packet analysis {"connection_id":132307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63a5"} 
[2026-07-15 08:14:39] local.INFO: Extracted packet for processing {"connection_id":132307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63a5"} 
[2026-07-15 08:14:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":15,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 08:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725228800001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784083226000,"timestamp_ms":1784083226000,"timestamp_seconds":1784083226,"priority":1,"record_length":96,"hex_timestamp":"0000019f63a59d90"} 
[2026-07-15 08:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:14:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-15 08:14:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725228800001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 08:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725228800001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:14:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 08:14:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725228800001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 08:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":132307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:14:39] local.INFO: GPS data processed {"connection_id":132307,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:14:39] local.INFO: Acknowledgment sent {"connection_id":132307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:14:41] local.INFO: TCP Data received {"connection_id":133152,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63a7f720012d7a08c005e4a350000600f626..."} 
[2026-07-15 08:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63a7f720012d7a08c005e4a350000600f626..."} 
[2026-07-15 08:14:41] local.INFO: Processing buffer {"connection_id":133152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63a7f720012d7a08c005e4a350000600f626..."} 
[2026-07-15 08:14:41] local.INFO: Packet analysis {"connection_id":133152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63a7"} 
[2026-07-15 08:14:41] local.INFO: Extracted packet for processing {"connection_id":133152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63a7"} 
[2026-07-15 08:14:41] local.INFO: GPS Element Parsed {"raw_longitude":762972352,"raw_latitude":98870096,"longitude_deg":76.2972352,"latitude_deg":9.8870096,"altitude":6,"angle":246,"satellites":38,"speed":16,"hex_longitude":"2d7a08c0","hex_latitude":"05e4a350","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725340160001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106270650682834944,"note":"Value kept but may cause issues"} 
[2026-07-15 08:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8802215128263077888,"note":"Value kept but may cause issues"} 
[2026-07-15 08:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784083380000,"timestamp_ms":1784083380000,"timestamp_seconds":1784083380,"priority":1,"record_length":96,"hex_timestamp":"0000019f63a7f720"} 
[2026-07-15 08:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-15 08:14: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-07-15 08: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-07-15 08:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":133152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":133152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":133152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725340160001,"66":13178,"39":206,"87":13824,"24":16,"16":106270650682834944,"45":8802215128263077888},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-15 08:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725340160001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:14:41] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-15 08:14:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 08:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106270650682834944,"km_value":106270650682834.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8802215128263077888,"description":"Unknown IO ID 45"} 
[2026-07-15 08:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725340160001,"power":13178,"unknown_39":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8802215128263077888}} 
[2026-07-15 08:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":133152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489903,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:14:41] local.INFO: GPS data processed {"connection_id":133152,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:14:41] local.INFO: Acknowledgment sent {"connection_id":133152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:15:01] local.INFO: TCP Data received {"connection_id":134519,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:15:01] local.INFO: Processing buffer {"connection_id":134519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:15:01] local.INFO: IMEI packet received {"connection_id":134519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":134519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:15:07] local.INFO: TCP Data received {"connection_id":134519,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:15:07] local.INFO: Processing buffer {"connection_id":134519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:15:07] local.INFO: IMEI packet received {"connection_id":134519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":134519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:15:07] local.INFO: TCP Data received {"connection_id":134519,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f63a59d90012d7f92c005afd830000f00502f..."} 
[2026-07-15 08:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63a59d90012d7f92c005afd830000f00502f..."} 
[2026-07-15 08:15:07] local.INFO: Processing buffer {"connection_id":134519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63a59d90012d7f92c005afd830000f00502f..."} 
[2026-07-15 08:15:07] local.INFO: Packet analysis {"connection_id":134519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63a5"} 
[2026-07-15 08:15:07] local.INFO: Extracted packet for processing {"connection_id":134519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63a5"} 
[2026-07-15 08:15:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":15,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 08:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725228800001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784083226000,"timestamp_ms":1784083226000,"timestamp_seconds":1784083226,"priority":1,"record_length":96,"hex_timestamp":"0000019f63a59d90"} 
[2026-07-15 08:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-15 08:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:15:07] 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-07-15 08:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725228800001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 08:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725228800001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:15:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 08:15:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725228800001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 08:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":134519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:15:07] local.INFO: GPS data processed {"connection_id":134519,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:15:07] local.INFO: Acknowledgment sent {"connection_id":134519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:15:13] local.INFO: TCP Data received {"connection_id":133152,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63a9c410012d79e1c005e492000007002123..."} 
[2026-07-15 08:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63a9c410012d79e1c005e492000007002123..."} 
[2026-07-15 08:15:13] local.INFO: Processing buffer {"connection_id":133152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63a9c410012d79e1c005e492000007002123..."} 
[2026-07-15 08:15:13] local.INFO: Packet analysis {"connection_id":133152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63a9"} 
[2026-07-15 08:15:13] local.INFO: Extracted packet for processing {"connection_id":133152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63a9"} 
[2026-07-15 08:15:13] local.INFO: GPS Element Parsed {"raw_longitude":762962368,"raw_latitude":98865664,"longitude_deg":76.2962368,"latitude_deg":9.8865664,"altitude":7,"angle":33,"satellites":35,"speed":5,"hex_longitude":"2d79e1c0","hex_latitude":"05e49200","is_valid_coordinates":true} 
[2026-07-15 08:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725374720001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106271286337994752,"note":"Value kept but may cause issues"} 
[2026-07-15 08:15:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782511879891232768,"note":"Value kept but may cause issues"} 
[2026-07-15 08:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784083498000,"timestamp_ms":1784083498000,"timestamp_seconds":1784083498,"priority":1,"record_length":96,"hex_timestamp":"0000019f63a9c410"} 
[2026-07-15 08:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:15:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":251,"data_length":795,"current_offset":136} 
[2026-07-15 08:15:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2677,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:15:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":133152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":133152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":133152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725374720001,"66":11515,"157":206,"87":12288,"24":5,"16":106271286337994752,"45":8782511879891232768},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-15 08:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725374720001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:15:13] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-15 08:15:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-15 08:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106271286337994752,"km_value":106271286337994.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:15:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782511879891232768,"description":"Unknown IO ID 45"} 
[2026-07-15 08:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725374720001,"power":11515,"unknown_157":206,"unknown_87":12288,"ignition":5,"odometer":null,"unknown_45":8782511879891232768}} 
[2026-07-15 08:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":133152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489905,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:15:13] local.INFO: GPS data processed {"connection_id":133152,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:15:13] local.INFO: Acknowledgment sent {"connection_id":133152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:15:34] local.INFO: TCP Data received {"connection_id":134520,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134520,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:15:34] local.INFO: Processing buffer {"connection_id":134520,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:15:34] local.INFO: IMEI packet received {"connection_id":134520,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 08:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":134520,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:15:38] local.INFO: TCP Data received {"connection_id":134519,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f63a59d90012d7f92c005afd830000f00502f..."} 
[2026-07-15 08:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63a59d90012d7f92c005afd830000f00502f..."} 
[2026-07-15 08:15:38] local.INFO: Processing buffer {"connection_id":134519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63a59d90012d7f92c005afd830000f00502f..."} 
[2026-07-15 08:15:38] local.INFO: Packet analysis {"connection_id":134519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63a5"} 
[2026-07-15 08:15:38] local.INFO: Extracted packet for processing {"connection_id":134519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63a5"} 
[2026-07-15 08:15:38] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":15,"angle":80,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725228800001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784083226000,"timestamp_ms":1784083226000,"timestamp_seconds":1784083226,"priority":1,"record_length":96,"hex_timestamp":"0000019f63a59d90"} 
[2026-07-15 08:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-15 08:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08: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-07-15 08:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725228800001,"66":25299,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 08:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725228800001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:15:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 08:15:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725228800001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 08:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":134519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:15:38] local.INFO: GPS data processed {"connection_id":134519,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:15:38] local.INFO: Acknowledgment sent {"connection_id":134519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:15:39] local.INFO: TCP Data received {"connection_id":134520,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134520,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:15:39] local.INFO: Processing buffer {"connection_id":134520,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:15:39] local.INFO: IMEI packet received {"connection_id":134520,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":134520,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:15:40] local.INFO: TCP Data received {"connection_id":134520,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63a9c7f8012d79e24005e492680007003b24..."} 
[2026-07-15 08:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63a9c7f8012d79e24005e492680007003b24..."} 
[2026-07-15 08:15:40] local.INFO: Processing buffer {"connection_id":134520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63a9c7f8012d79e24005e492680007003b24..."} 
[2026-07-15 08:15:40] local.INFO: Packet analysis {"connection_id":134520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63a9"} 
[2026-07-15 08:15:40] local.INFO: Extracted packet for processing {"connection_id":134520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63a9"} 
[2026-07-15 08:15:40] local.INFO: GPS Element Parsed {"raw_longitude":762962496,"raw_latitude":98865768,"longitude_deg":76.2962496,"latitude_deg":9.8865768,"altitude":7,"angle":59,"satellites":36,"speed":6,"hex_longitude":"2d79e240","hex_latitude":"05e49268","is_valid_coordinates":true} 
[2026-07-15 08:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725375488001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106271294927929344,"note":"Value kept but may cause issues"} 
[2026-07-15 08:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782511879891320832,"note":"Value kept but may cause issues"} 
[2026-07-15 08:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784083499000,"timestamp_ms":1784083499000,"timestamp_seconds":1784083499,"priority":1,"record_length":96,"hex_timestamp":"0000019f63a9c7f8"} 
[2026-07-15 08:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:15:40] 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-07-15 08:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":251,"data_length":795,"current_offset":136} 
[2026-07-15 08:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2677,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:15:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":134520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":134520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":134520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725375488001,"66":11515,"157":206,"87":12288,"24":6,"16":106271294927929344,"45":8782511879891320832},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-15 08:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725375488001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:15:40] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-15 08:15:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-15 08:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106271294927929344,"km_value":106271294927929.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782511879891320832,"description":"Unknown IO ID 45"} 
[2026-07-15 08:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725375488001,"power":11515,"unknown_157":206,"unknown_87":12288,"ignition":6,"odometer":null,"unknown_45":8782511879891320832}} 
[2026-07-15 08:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":134520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489907,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:15:40] local.INFO: GPS data processed {"connection_id":134520,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:15:40] local.INFO: Acknowledgment sent {"connection_id":134520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:15:43] local.INFO: TCP Data received {"connection_id":134520,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63a9d3b0012d79e4c005e493180007004a26..."} 
[2026-07-15 08:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63a9d3b0012d79e4c005e493180007004a26..."} 
[2026-07-15 08:15:43] local.INFO: Processing buffer {"connection_id":134520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63a9d3b0012d79e4c005e493180007004a26..."} 
[2026-07-15 08:15:43] local.INFO: Packet analysis {"connection_id":134520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63a9"} 
[2026-07-15 08:15:43] local.INFO: Extracted packet for processing {"connection_id":134520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63a9"} 
[2026-07-15 08:15:43] local.INFO: GPS Element Parsed {"raw_longitude":762963136,"raw_latitude":98865944,"longitude_deg":76.2963136,"latitude_deg":9.8865944,"altitude":7,"angle":74,"satellites":38,"speed":9,"hex_longitude":"2d79e4c0","hex_latitude":"05e49318","is_valid_coordinates":true} 
[2026-07-15 08:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725375744001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106271324992700416,"note":"Value kept but may cause issues"} 
[2026-07-15 08:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782652617379702784,"note":"Value kept but may cause issues"} 
[2026-07-15 08:15:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784083502000,"timestamp_ms":1784083502000,"timestamp_seconds":1784083502,"priority":1,"record_length":96,"hex_timestamp":"0000019f63a9d3b0"} 
[2026-07-15 08:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:15:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":251,"data_length":795,"current_offset":136} 
[2026-07-15 08:15:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2677,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:15:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":134520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":134520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":134520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:15:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725375744001,"66":11471,"157":206,"87":12288,"24":9,"16":106271324992700416,"45":8782652617379702784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-15 08:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725375744001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:15:43] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-15 08:15:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-15 08:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106271324992700416,"km_value":106271324992700.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782652617379702784,"description":"Unknown IO ID 45"} 
[2026-07-15 08:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725375744001,"power":11471,"unknown_157":206,"unknown_87":12288,"ignition":9,"odometer":null,"unknown_45":8782652617379702784}} 
[2026-07-15 08:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":134520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489908,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:15:43] local.INFO: GPS data processed {"connection_id":134520,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:15:43] local.INFO: Acknowledgment sent {"connection_id":134520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:15:51] local.INFO: TCP Data received {"connection_id":132308,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132308,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:15:51] local.INFO: Processing buffer {"connection_id":132308,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:15:51] local.INFO: IMEI packet received {"connection_id":132308,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 08:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":132308,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:15:53] local.INFO: TCP Data received {"connection_id":132308,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132308,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:15:53] local.INFO: Processing buffer {"connection_id":132308,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:15:53] local.INFO: IMEI packet received {"connection_id":132308,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":132308,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:15:54] local.INFO: TCP Data received {"connection_id":132308,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132308,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:15:54] local.INFO: Processing buffer {"connection_id":132308,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:15:54] local.INFO: IMEI packet received {"connection_id":132308,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":132308,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:15:55] local.INFO: TCP Data received {"connection_id":132308,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-15 08:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132308,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-15 08:15:55] local.INFO: Processing buffer {"connection_id":132308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-15 08:15:55] local.INFO: Packet analysis {"connection_id":132308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-15 08:15:55] local.INFO: Extracted packet for processing {"connection_id":132308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-15 08:15:55] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-15 08:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24543182591098880,"note":"Value kept but may cause issues"} 
[2026-07-15 08:15:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,18,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 08:15:55] 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-07-15 08:15:55] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-15 08:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":132308,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":132308,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-15 08:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":132308,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-15 08:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-15 08:15:55] local.WARNING: DEBUG: No valid data to process  
[2026-07-15 08:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":132308,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-15 08:15:55] local.ERROR: GPS data processing failed {"connection_id":132308,"error":"No valid data to process"} 
[2026-07-15 08:15:55] local.INFO: Acknowledgment sent {"connection_id":132308,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-15 08:16:02] local.INFO: TCP Data received {"connection_id":132308,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-15 08:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132308,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-15 08:16:02] local.INFO: Processing buffer {"connection_id":132308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-15 08:16:02] local.INFO: Packet analysis {"connection_id":132308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-15 08:16:02] local.INFO: Extracted packet for processing {"connection_id":132308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-15 08:16:02] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-15 08:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24543182591098880,"note":"Value kept but may cause issues"} 
[2026-07-15 08:16:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,18,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 08:16:02] 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-07-15 08:16:02] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-15 08:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":132308,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":132308,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-15 08:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":132308,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-15 08:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-15 08:16:02] local.WARNING: DEBUG: No valid data to process  
[2026-07-15 08:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":132308,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-15 08:16:02] local.ERROR: GPS data processing failed {"connection_id":132308,"error":"No valid data to process"} 
[2026-07-15 08:16:02] local.INFO: Acknowledgment sent {"connection_id":132308,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-15 08:16:05] local.INFO: TCP Data received {"connection_id":132135,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:16:05] local.INFO: Processing buffer {"connection_id":132135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:16:05] local.INFO: IMEI packet received {"connection_id":132135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":132135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:16:10] local.INFO: TCP Data received {"connection_id":132135,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:16:10] local.INFO: Processing buffer {"connection_id":132135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:16:10] local.INFO: IMEI packet received {"connection_id":132135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":132135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:16:11] local.INFO: TCP Data received {"connection_id":132135,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:16:11] local.INFO: Processing buffer {"connection_id":132135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:16:11] local.INFO: IMEI packet received {"connection_id":132135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":132135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:16:12] local.INFO: TCP Data received {"connection_id":132135,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f63aa3558012d7f92c005afd830000f00502d..."} 
[2026-07-15 08:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63aa3558012d7f92c005afd830000f00502d..."} 
[2026-07-15 08:16:12] local.INFO: Processing buffer {"connection_id":132135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63aa3558012d7f92c005afd830000f00502d..."} 
[2026-07-15 08:16:12] local.INFO: Packet analysis {"connection_id":132135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63aa"} 
[2026-07-15 08:16:12] local.INFO: Extracted packet for processing {"connection_id":132135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63aa"} 
[2026-07-15 08:16:12] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":15,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 08:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725305856001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784083527000,"timestamp_ms":1784083527000,"timestamp_seconds":1784083527,"priority":1,"record_length":96,"hex_timestamp":"0000019f63aa3558"} 
[2026-07-15 08:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-15 08:16:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:16:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:16:12] 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-07-15 08:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725305856001,"66":25397,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 08:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725305856001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:16:12] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 08:16:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725305856001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 08:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":132135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:16:12] local.INFO: GPS data processed {"connection_id":132135,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:16:12] local.INFO: Acknowledgment sent {"connection_id":132135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:16:16] local.INFO: TCP Data received {"connection_id":134520,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63aa1de8012d79fd4005e49e300008003e28..."} 
[2026-07-15 08:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63aa1de8012d79fd4005e49e300008003e28..."} 
[2026-07-15 08:16:16] local.INFO: Processing buffer {"connection_id":134520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63aa1de8012d79fd4005e49e300008003e28..."} 
[2026-07-15 08:16:16] local.INFO: Packet analysis {"connection_id":134520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63aa"} 
[2026-07-15 08:16:16] local.INFO: Extracted packet for processing {"connection_id":134520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63aa"} 
[2026-07-15 08:16:16] local.INFO: GPS Element Parsed {"raw_longitude":762969408,"raw_latitude":98868784,"longitude_deg":76.2969408,"latitude_deg":9.8868784,"altitude":8,"angle":62,"satellites":40,"speed":15,"hex_longitude":"2d79fd40","hex_latitude":"05e49e30","is_valid_coordinates":true} 
[2026-07-15 08:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725376512001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106271655705182208,"note":"Value kept but may cause issues"} 
[2026-07-15 08:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783356304821524480,"note":"Value kept but may cause issues"} 
[2026-07-15 08:16:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784083521000,"timestamp_ms":1784083521000,"timestamp_seconds":1784083521,"priority":1,"record_length":96,"hex_timestamp":"0000019f63aa1de8"} 
[2026-07-15 08:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:16:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-15 08:16:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:16:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":134520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":134520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":134520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:16:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725376512001,"66":12765,"157":206,"87":12288,"24":15,"16":106271655705182208,"45":8783356304821524480},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-15 08:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725376512001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:16:16] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-15 08:16:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-15 08:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106271655705182208,"km_value":106271655705182.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783356304821524480,"description":"Unknown IO ID 45"} 
[2026-07-15 08:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725376512001,"power":12765,"unknown_157":206,"unknown_87":12288,"ignition":15,"odometer":null,"unknown_45":8783356304821524480}} 
[2026-07-15 08:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":134520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489910,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:16:16] local.INFO: GPS data processed {"connection_id":134520,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:16:16] local.INFO: Acknowledgment sent {"connection_id":134520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:16:17] local.INFO: TCP Data received {"connection_id":132135,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f63aa3558012d7f92c005afd830000f00502d..."} 
[2026-07-15 08:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63aa3558012d7f92c005afd830000f00502d..."} 
[2026-07-15 08:16:17] local.INFO: Processing buffer {"connection_id":132135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63aa3558012d7f92c005afd830000f00502d..."} 
[2026-07-15 08:16:17] local.INFO: Packet analysis {"connection_id":132135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63aa"} 
[2026-07-15 08:16:17] local.INFO: Extracted packet for processing {"connection_id":132135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63aa"} 
[2026-07-15 08:16:17] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":15,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 08:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725305856001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784083527000,"timestamp_ms":1784083527000,"timestamp_seconds":1784083527,"priority":1,"record_length":96,"hex_timestamp":"0000019f63aa3558"} 
[2026-07-15 08:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-15 08:16:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:16:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725305856001,"66":25397,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 08:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725305856001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:16:17] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 08:16:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725305856001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 08:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":132135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:16:17] local.INFO: GPS data processed {"connection_id":132135,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:16:17] local.INFO: Acknowledgment sent {"connection_id":132135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:16:33] local.INFO: TCP Data received {"connection_id":132308,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-15 08:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132308,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-15 08:16:33] local.INFO: Processing buffer {"connection_id":132308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-15 08:16:33] local.INFO: Packet analysis {"connection_id":132308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-15 08:16:33] local.INFO: Extracted packet for processing {"connection_id":132308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-15 08:16:33] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24543182591098880,"note":"Value kept but may cause issues"} 
[2026-07-15 08:16:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,18,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 08:16:33] 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-07-15 08:16:33] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-15 08:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":132308,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":132308,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-15 08:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":132308,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-15 08:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-15 08:16:33] local.WARNING: DEBUG: No valid data to process  
[2026-07-15 08:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":132308,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-15 08:16:33] local.ERROR: GPS data processing failed {"connection_id":132308,"error":"No valid data to process"} 
[2026-07-15 08:16:33] local.INFO: Acknowledgment sent {"connection_id":132308,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-15 08:16:34] local.INFO: TCP Data received {"connection_id":132309,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132309,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:16:34] local.INFO: Processing buffer {"connection_id":132309,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:16:34] local.INFO: IMEI packet received {"connection_id":132309,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 08:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":132309,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:16:38] local.INFO: TCP Data received {"connection_id":132309,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132309,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:16:38] local.INFO: Processing buffer {"connection_id":132309,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:16:38] local.INFO: IMEI packet received {"connection_id":132309,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":132309,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:16:39] local.INFO: TCP Data received {"connection_id":132309,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63aa6c08012d7a1b8005e4ab600005004328..."} 
[2026-07-15 08:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63aa6c08012d7a1b8005e4ab600005004328..."} 
[2026-07-15 08:16:39] local.INFO: Processing buffer {"connection_id":132309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63aa6c08012d7a1b8005e4ab600005004328..."} 
[2026-07-15 08:16:39] local.INFO: Packet analysis {"connection_id":132309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63aa"} 
[2026-07-15 08:16:39] local.INFO: Extracted packet for processing {"connection_id":132309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63aa"} 
[2026-07-15 08:16:39] local.INFO: GPS Element Parsed {"raw_longitude":762977152,"raw_latitude":98872160,"longitude_deg":76.2977152,"latitude_deg":9.887216,"altitude":5,"angle":67,"satellites":40,"speed":18,"hex_longitude":"2d7a1b80","hex_latitude":"05e4ab60","is_valid_coordinates":true} 
[2026-07-15 08:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725381376001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106272059432108032,"note":"Value kept but may cause issues"} 
[2026-07-15 08:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8790252441751662592,"note":"Value kept but may cause issues"} 
[2026-07-15 08:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784083541000,"timestamp_ms":1784083541000,"timestamp_seconds":1784083541,"priority":1,"record_length":96,"hex_timestamp":"0000019f63aa6c08"} 
[2026-07-15 08:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-15 08:16:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:16:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725381376001,"66":12809,"157":206,"87":12288,"24":18,"16":106272059432108032,"45":8790252441751662592},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-15 08:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725381376001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:16:39] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-15 08:16:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-15 08:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106272059432108032,"km_value":106272059432108.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8790252441751662592,"description":"Unknown IO ID 45"} 
[2026-07-15 08:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725381376001,"power":12809,"unknown_157":206,"unknown_87":12288,"ignition":18,"odometer":null,"unknown_45":8790252441751662592}} 
[2026-07-15 08:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":132309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489912,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:16:39] local.INFO: GPS data processed {"connection_id":132309,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:16:39] local.INFO: Acknowledgment sent {"connection_id":132309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:17:02] local.INFO: TCP Data received {"connection_id":132310,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:17:02] local.INFO: Processing buffer {"connection_id":132310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:17:02] local.INFO: IMEI packet received {"connection_id":132310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":132310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:17:05] local.INFO: TCP Data received {"connection_id":132308,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ab2f580100000000000000000000000000..."} 
[2026-07-15 08:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ab2f580100000000000000000000000000..."} 
[2026-07-15 08:17:05] local.INFO: Processing buffer {"connection_id":132308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ab2f580100000000000000000000000000..."} 
[2026-07-15 08:17:05] local.INFO: Packet analysis {"connection_id":132308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ab"} 
[2026-07-15 08:17:05] local.INFO: Extracted packet for processing {"connection_id":132308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ab"} 
[2026-07-15 08:17:05] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-15 08:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24543182591098880,"note":"Value kept but may cause issues"} 
[2026-07-15 08:17:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,18,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 08:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784083591000,"timestamp_ms":1784083591000,"timestamp_seconds":1784083591,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ab2f58"} 
[2026-07-15 08:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 08:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132308,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132308,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":132308,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 08:17:05] local.INFO: GPS data processed {"connection_id":132308,"processed":0,"errors":0,"total":1} 
[2026-07-15 08:17:05] local.INFO: Acknowledgment sent {"connection_id":132308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:17:07] local.INFO: TCP Data received {"connection_id":132310,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:17:07] local.INFO: Processing buffer {"connection_id":132310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:17:07] local.INFO: IMEI packet received {"connection_id":132310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":132310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:17:07] local.INFO: TCP Data received {"connection_id":132310,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63aa3558012d7f92c005afd830000f00502d..."} 
[2026-07-15 08:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63aa3558012d7f92c005afd830000f00502d..."} 
[2026-07-15 08:17:07] local.INFO: Processing buffer {"connection_id":132310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63aa3558012d7f92c005afd830000f00502d..."} 
[2026-07-15 08:17:07] local.INFO: Packet analysis {"connection_id":132310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63aa"} 
[2026-07-15 08:17:07] local.INFO: Extracted packet for processing {"connection_id":132310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63aa"} 
[2026-07-15 08:17:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":15,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 08:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725305856001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784083527000,"timestamp_ms":1784083527000,"timestamp_seconds":1784083527,"priority":1,"record_length":96,"hex_timestamp":"0000019f63aa3558"} 
[2026-07-15 08:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-15 08:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:17:07] 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-07-15 08:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725305856001,"66":25397,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 08:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725305856001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:17:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 08:17:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725305856001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 08:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":132310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:17:07] local.INFO: GPS data processed {"connection_id":132310,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:17:07] local.INFO: Acknowledgment sent {"connection_id":132310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:17:11] local.INFO: TCP Data received {"connection_id":132309,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63aa8760012d7a264005e4b0d8000d003827..."} 
[2026-07-15 08:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63aa8760012d7a264005e4b0d8000d003827..."} 
[2026-07-15 08:17:11] local.INFO: Processing buffer {"connection_id":132309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63aa8760012d7a264005e4b0d8000d003827..."} 
[2026-07-15 08:17:11] local.INFO: Packet analysis {"connection_id":132309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63aa"} 
[2026-07-15 08:17:11] local.INFO: Extracted packet for processing {"connection_id":132309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63aa"} 
[2026-07-15 08:17:11] local.INFO: GPS Element Parsed {"raw_longitude":762979904,"raw_latitude":98873560,"longitude_deg":76.2979904,"latitude_deg":9.887356,"altitude":13,"angle":56,"satellites":39,"speed":7,"hex_longitude":"2d7a2640","hex_latitude":"05e4b0d8","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725386496001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106272209755963392,"note":"Value kept but may cause issues"} 
[2026-07-15 08:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798767059798024192,"note":"Value kept but may cause issues"} 
[2026-07-15 08:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784083548000,"timestamp_ms":1784083548000,"timestamp_seconds":1784083548,"priority":1,"record_length":96,"hex_timestamp":"0000019f63aa8760"} 
[2026-07-15 08:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-15 08:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":262783446811648,"note":"Value kept but may cause issues"} 
[2026-07-15 08:17:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 08:17:11] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-15 08:17:11] local.WARNING: Large IO value detected {"io_id":99,"raw_value":-6229217151409330880,"note":"Value kept but may cause issues"} 
[2026-07-15 08:17:11] local.WARNING: Large IO value detected {"io_id":228,"raw_value":2449473543,"note":"Value kept but may cause issues"} 
[2026-07-15 08:17:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":916259022,"corrected_to":0} 
[2026-07-15 08:17:11] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1976939498826588891,"note":"Value kept but may cause issues"} 
[2026-07-15 08:17:11] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3221611664,"note":"Value kept but may cause issues"} 
[2026-07-15 08:17:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4211133750,"note":"Value kept but may cause issues"} 
[2026-07-15 08:17:11] local.WARNING: Large IO value detected {"io_id":121,"raw_value":2368208896,"note":"Value kept but may cause issues"} 
[2026-07-15 08:17:11] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-143889553629852073,"note":"Value kept but may cause issues"} 
[2026-07-15 08:17:11] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-15 08:17:11] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,157,87,24,241,16,141,159,29,45,64,158,8,40,10,66,211,192,147,7,38,199,1,240,251,227,99,228,4,113,205,5,184,225,168,239,44,2,121,6,49,48,35],"length":535,"final_offset":665,"validated_count":43,"validation_warnings":[{"io_id":205,"original":916259022,"validated":0}]} 
[2026-07-15 08:17:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360361809268572160,"timestamp_seconds":360361809268572.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 08:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725386496001,"66":12776,"157":206,"87":12288,"24":7,"16":106272209755963392,"45":8798767059798024192},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-15 08:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725386496001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:17:11] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-15 08:17:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-15 08:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106272209755963392,"km_value":106272209755963.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798767059798024192,"description":"Unknown IO ID 45"} 
[2026-07-15 08:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725386496001,"power":12776,"unknown_157":206,"unknown_87":12288,"ignition":7,"odometer":null,"unknown_45":8798767059798024192}} 
[2026-07-15 08:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":132309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489914,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:17:11] local.INFO: GPS data processed {"connection_id":132309,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:17:11] local.INFO: Acknowledgment sent {"connection_id":132309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:17:29] local.INFO: TCP Data received {"connection_id":134521,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134521,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:17:29] local.INFO: Processing buffer {"connection_id":134521,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:17:29] local.INFO: IMEI packet received {"connection_id":134521,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 08:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":134521,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:17:35] local.INFO: TCP Data received {"connection_id":134521,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134521,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:17:35] local.INFO: Processing buffer {"connection_id":134521,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:17:35] local.INFO: IMEI packet received {"connection_id":134521,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":134521,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:17:36] local.INFO: TCP Data received {"connection_id":134521,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63aaa6a0012d7a268005e4b240000f015727..."} 
[2026-07-15 08:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63aaa6a0012d7a268005e4b240000f015727..."} 
[2026-07-15 08:17:36] local.INFO: Processing buffer {"connection_id":134521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63aaa6a0012d7a268005e4b240000f015727..."} 
[2026-07-15 08:17:36] local.INFO: Packet analysis {"connection_id":134521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63aa"} 
[2026-07-15 08:17:36] local.INFO: Extracted packet for processing {"connection_id":134521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63aa"} 
[2026-07-15 08:17:36] local.INFO: GPS Element Parsed {"raw_longitude":762979968,"raw_latitude":98873920,"longitude_deg":76.2979968,"latitude_deg":9.887392,"altitude":15,"angle":343,"satellites":39,"speed":7,"hex_longitude":"2d7a2680","hex_latitude":"05e4b240","is_valid_coordinates":true} 
[2026-07-15 08:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725388288001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106272231230799872,"note":"Value kept but may cause issues"} 
[2026-07-15 08:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801792915798022144,"note":"Value kept but may cause issues"} 
[2026-07-15 08:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784083556000,"timestamp_ms":1784083556000,"timestamp_seconds":1784083556,"priority":1,"record_length":96,"hex_timestamp":"0000019f63aaa6a0"} 
[2026-07-15 08:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-15 08:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":134521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":134521,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":134521,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725388288001,"66":13091,"157":206,"87":12288,"24":7,"16":106272231230799872,"45":8801792915798022144},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-15 08:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725388288001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:17:36] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-15 08:17:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-15 08:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106272231230799872,"km_value":106272231230799.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801792915798022144,"description":"Unknown IO ID 45"} 
[2026-07-15 08:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725388288001,"power":13091,"unknown_157":206,"unknown_87":12288,"ignition":7,"odometer":null,"unknown_45":8801792915798022144}} 
[2026-07-15 08:17:36] local.INFO: TCP Data received {"connection_id":132308,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ab81600100000000000000000000000000..."} 
[2026-07-15 08:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ab81600100000000000000000000000000..."} 
[2026-07-15 08:17:36] local.INFO: Processing buffer {"connection_id":132308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ab81600100000000000000000000000000..."} 
[2026-07-15 08:17:36] local.INFO: Packet analysis {"connection_id":132308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ab"} 
[2026-07-15 08:17:36] local.INFO: Extracted packet for processing {"connection_id":132308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ab"} 
[2026-07-15 08:17: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-07-15 08:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24543182591098880,"note":"Value kept but may cause issues"} 
[2026-07-15 08:17:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,18,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 08:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784083612000,"timestamp_ms":1784083612000,"timestamp_seconds":1784083612,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ab8160"} 
[2026-07-15 08:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:17:36] 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-07-15 08:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-15 08:17:36] 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-07-15 08:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132308,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132308,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":132308,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 08:17:36] local.INFO: GPS data processed {"connection_id":132308,"processed":0,"errors":0,"total":1} 
[2026-07-15 08:17:36] local.INFO: Acknowledgment sent {"connection_id":132308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":134521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489915,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:17:36] local.INFO: GPS data processed {"connection_id":134521,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:17:36] local.INFO: Acknowledgment sent {"connection_id":134521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:17:38] local.INFO: TCP Data received {"connection_id":132310,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63aa3558012d7f92c005afd830000f00502d..."} 
[2026-07-15 08:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63aa3558012d7f92c005afd830000f00502d..."} 
[2026-07-15 08:17:38] local.INFO: Processing buffer {"connection_id":132310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63aa3558012d7f92c005afd830000f00502d..."} 
[2026-07-15 08:17:38] local.INFO: Packet analysis {"connection_id":132310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63aa"} 
[2026-07-15 08:17:38] local.INFO: Extracted packet for processing {"connection_id":132310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63aa"} 
[2026-07-15 08:17:38] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":15,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725305856001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784083527000,"timestamp_ms":1784083527000,"timestamp_seconds":1784083527,"priority":1,"record_length":96,"hex_timestamp":"0000019f63aa3558"} 
[2026-07-15 08:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-15 08:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08: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-07-15 08:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:17:38] 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-07-15 08:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725305856001,"66":25397,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 08:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725305856001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:17:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 08:17:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725305856001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 08:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":132310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:17:38] local.INFO: GPS data processed {"connection_id":132310,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:17:38] local.INFO: Acknowledgment sent {"connection_id":132310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:18:02] local.INFO: TCP Data received {"connection_id":133157,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:18:02] local.INFO: Processing buffer {"connection_id":133157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:18:02] local.INFO: IMEI packet received {"connection_id":133157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":133157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:18:07] local.INFO: TCP Data received {"connection_id":133157,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:18:07] local.INFO: Processing buffer {"connection_id":133157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:18:07] local.INFO: IMEI packet received {"connection_id":133157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":133157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:18:07] local.INFO: TCP Data received {"connection_id":134521,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63aaaa88012d7a260005e4b2f80010014c27..."} 
[2026-07-15 08:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63aaaa88012d7a260005e4b2f80010014c27..."} 
[2026-07-15 08:18:07] local.INFO: Processing buffer {"connection_id":134521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63aaaa88012d7a260005e4b2f80010014c27..."} 
[2026-07-15 08:18:07] local.INFO: Packet analysis {"connection_id":134521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63aa"} 
[2026-07-15 08:18:07] local.INFO: Extracted packet for processing {"connection_id":134521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63aa"} 
[2026-07-15 08:18:07] local.INFO: GPS Element Parsed {"raw_longitude":762979840,"raw_latitude":98874104,"longitude_deg":76.297984,"latitude_deg":9.8874104,"altitude":16,"angle":332,"satellites":39,"speed":10,"hex_longitude":"2d7a2600","hex_latitude":"05e4b2f8","is_valid_coordinates":true} 
[2026-07-15 08:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725390336001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106272244115701760,"note":"Value kept but may cause issues"} 
[2026-07-15 08:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801863284542291968,"note":"Value kept but may cause issues"} 
[2026-07-15 08:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784083557000,"timestamp_ms":1784083557000,"timestamp_seconds":1784083557,"priority":1,"record_length":96,"hex_timestamp":"0000019f63aaaa88"} 
[2026-07-15 08:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-15 08:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134521,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134521,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725390336001,"66":13091,"157":206,"87":12288,"24":10,"16":106272244115701760,"45":8801863284542291968},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-15 08:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725390336001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:18:07] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-15 08:18:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-15 08:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106272244115701760,"km_value":106272244115701.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801863284542291968,"description":"Unknown IO ID 45"} 
[2026-07-15 08:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725390336001,"power":13091,"unknown_157":206,"unknown_87":12288,"ignition":10,"odometer":null,"unknown_45":8801863284542291968}} 
[2026-07-15 08:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":134521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489917,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:18:07] local.INFO: GPS data processed {"connection_id":134521,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:18:07] local.INFO: Acknowledgment sent {"connection_id":134521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:18:07] local.INFO: TCP Data received {"connection_id":133157,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f63aa3558012d7f92c005afd830000f00502d..."} 
[2026-07-15 08:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63aa3558012d7f92c005afd830000f00502d..."} 
[2026-07-15 08:18:07] local.INFO: Processing buffer {"connection_id":133157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63aa3558012d7f92c005afd830000f00502d..."} 
[2026-07-15 08:18:07] local.INFO: Packet analysis {"connection_id":133157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63aa"} 
[2026-07-15 08:18:07] local.INFO: Extracted packet for processing {"connection_id":133157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63aa"} 
[2026-07-15 08:18:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":15,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 08:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725305856001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784083527000,"timestamp_ms":1784083527000,"timestamp_seconds":1784083527,"priority":1,"record_length":96,"hex_timestamp":"0000019f63aa3558"} 
[2026-07-15 08:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-15 08:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725305856001,"66":25397,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 08:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725305856001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:18:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 08:18:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725305856001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 08:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":133157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:18:07] local.INFO: GPS data processed {"connection_id":133157,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:18:07] local.INFO: Acknowledgment sent {"connection_id":133157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:18:09] local.INFO: TCP Data received {"connection_id":132308,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63abd3680100000000000000000000000000..."} 
[2026-07-15 08:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63abd3680100000000000000000000000000..."} 
[2026-07-15 08:18:09] local.INFO: Processing buffer {"connection_id":132308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63abd3680100000000000000000000000000..."} 
[2026-07-15 08:18:09] local.INFO: Packet analysis {"connection_id":132308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ab"} 
[2026-07-15 08:18:09] local.INFO: Extracted packet for processing {"connection_id":132308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ab"} 
[2026-07-15 08:18: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-07-15 08:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24543182591098880,"note":"Value kept but may cause issues"} 
[2026-07-15 08:18:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,18,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 08:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784083633000,"timestamp_ms":1784083633000,"timestamp_seconds":1784083633,"priority":1,"record_length":96,"hex_timestamp":"0000019f63abd368"} 
[2026-07-15 08:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3584,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-15 08:18:09] 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-07-15 08:18:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":132308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":132308,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":132308,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":132308,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 08:18:09] local.INFO: GPS data processed {"connection_id":132308,"processed":0,"errors":0,"total":1} 
[2026-07-15 08:18:09] local.INFO: Acknowledgment sent {"connection_id":132308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:18:28] local.INFO: TCP Data received {"connection_id":132136,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132136,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:18:28] local.INFO: Processing buffer {"connection_id":132136,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:18:28] local.INFO: IMEI packet received {"connection_id":132136,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 08:18:28] local.INFO: IMEI acknowledgment sent {"connection_id":132136,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:18:29] local.INFO: TCP Data received {"connection_id":132136,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132136,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:18:29] local.INFO: Processing buffer {"connection_id":132136,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:18:29] local.INFO: IMEI packet received {"connection_id":132136,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":132136,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:18:34] local.INFO: TCP Data received {"connection_id":132136,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132136,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:18:34] local.INFO: Processing buffer {"connection_id":132136,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:18:34] local.INFO: IMEI packet received {"connection_id":132136,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":132136,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:18:35] local.INFO: TCP Data received {"connection_id":132136,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63aae138012d7a120005e4d250000f014628..."} 
[2026-07-15 08:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63aae138012d7a120005e4d250000f014628..."} 
[2026-07-15 08:18:35] local.INFO: Processing buffer {"connection_id":132136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63aae138012d7a120005e4d250000f014628..."} 
[2026-07-15 08:18:35] local.INFO: Packet analysis {"connection_id":132136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63aa"} 
[2026-07-15 08:18:35] local.INFO: Extracted packet for processing {"connection_id":132136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63aa"} 
[2026-07-15 08:18:35] local.INFO: GPS Element Parsed {"raw_longitude":762974720,"raw_latitude":98882128,"longitude_deg":76.297472,"latitude_deg":9.8882128,"altitude":15,"angle":326,"satellites":40,"speed":36,"hex_longitude":"2d7a1200","hex_latitude":"05e4d250","is_valid_coordinates":true} 
[2026-07-15 08:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725390592001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106272703677202432,"note":"Value kept but may cause issues"} 
[2026-07-15 08:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801722547053983744,"note":"Value kept but may cause issues"} 
[2026-07-15 08:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784083571000,"timestamp_ms":1784083571000,"timestamp_seconds":1784083571,"priority":1,"record_length":96,"hex_timestamp":"0000019f63aae138"} 
[2026-07-15 08:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:18:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-15 08:18:35] 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-07-15 08:18:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725390592001,"66":12982,"157":206,"87":12288,"24":36,"16":106272703677202432,"45":8801722547053983744},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-15 08:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725390592001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:18:35] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-15 08:18:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-15 08:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106272703677202432,"km_value":106272703677202.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801722547053983744,"description":"Unknown IO ID 45"} 
[2026-07-15 08:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725390592001,"power":12982,"unknown_157":206,"unknown_87":12288,"ignition":36,"odometer":null,"unknown_45":8801722547053983744}} 
[2026-07-15 08:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":132136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489919,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:18:35] local.INFO: GPS data processed {"connection_id":132136,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:18:35] local.INFO: Acknowledgment sent {"connection_id":132136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:18:38] local.INFO: TCP Data received {"connection_id":133157,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f63aa3558012d7f92c005afd830000f00502d..."} 
[2026-07-15 08:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63aa3558012d7f92c005afd830000f00502d..."} 
[2026-07-15 08:18:38] local.INFO: Processing buffer {"connection_id":133157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63aa3558012d7f92c005afd830000f00502d..."} 
[2026-07-15 08:18:38] local.INFO: Packet analysis {"connection_id":133157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63aa"} 
[2026-07-15 08:18:38] local.INFO: Extracted packet for processing {"connection_id":133157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63aa"} 
[2026-07-15 08:18:38] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":15,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725305856001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784083527000,"timestamp_ms":1784083527000,"timestamp_seconds":1784083527,"priority":1,"record_length":96,"hex_timestamp":"0000019f63aa3558"} 
[2026-07-15 08:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-15 08:18:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08: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-07-15 08:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725305856001,"66":25397,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 08:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725305856001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:18:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 08:18:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725305856001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 08:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":133157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:18:38] local.INFO: GPS data processed {"connection_id":133157,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:18:38] local.INFO: Acknowledgment sent {"connection_id":133157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:19:01] local.INFO: TCP Data received {"connection_id":132311,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:19:01] local.INFO: Processing buffer {"connection_id":132311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:19:01] local.INFO: IMEI packet received {"connection_id":132311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":132311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:19:05] local.INFO: TCP Data received {"connection_id":134522,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 08:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134522,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 08:19:05] local.INFO: Processing buffer {"connection_id":134522,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 08:19:05] local.INFO: IMEI packet received {"connection_id":134522,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 08:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":134522,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:19:06] local.INFO: TCP Data received {"connection_id":132136,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ad36e0012d79d74005e5c358000700ad28..."} 
[2026-07-15 08:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ad36e0012d79d74005e5c358000700ad28..."} 
[2026-07-15 08:19:06] local.INFO: Processing buffer {"connection_id":132136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ad36e0012d79d74005e5c358000700ad28..."} 
[2026-07-15 08:19:06] local.INFO: Packet analysis {"connection_id":132136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ad"} 
[2026-07-15 08:19:06] local.INFO: Extracted packet for processing {"connection_id":132136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ad"} 
[2026-07-15 08:19:06] local.INFO: GPS Element Parsed {"raw_longitude":762959680,"raw_latitude":98943832,"longitude_deg":76.295968,"latitude_deg":9.8943832,"altitude":7,"angle":173,"satellites":40,"speed":9,"hex_longitude":"2d79d740","hex_latitude":"05e5c358","is_valid_coordinates":true} 
[2026-07-15 08:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725428992001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106275916312739840,"note":"Value kept but may cause issues"} 
[2026-07-15 08:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778852705214171136,"note":"Value kept but may cause issues"} 
[2026-07-15 08:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784083724000,"timestamp_ms":1784083724000,"timestamp_seconds":1784083724,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ad36e0"} 
[2026-07-15 08:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-15 08:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725428992001,"66":13254,"182":206,"87":13824,"24":9,"16":106275916312739840,"45":8778852705214171136},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-15 08:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725428992001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:19:06] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 08:19:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 08:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106275916312739840,"km_value":106275916312739.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778852705214171136,"description":"Unknown IO ID 45"} 
[2026-07-15 08:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725428992001,"power":13254,"unknown_182":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8778852705214171136}} 
[2026-07-15 08:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":132136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489921,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:19:06] local.INFO: GPS data processed {"connection_id":132136,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:19:06] local.INFO: Acknowledgment sent {"connection_id":132136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:19:06] local.INFO: TCP Data received {"connection_id":132308,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ac25700100000000000000000000000000..."} 
[2026-07-15 08:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ac25700100000000000000000000000000..."} 
[2026-07-15 08:19:06] local.INFO: Processing buffer {"connection_id":132308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ac25700100000000000000000000000000..."} 
[2026-07-15 08:19:06] local.INFO: Packet analysis {"connection_id":132308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ac"} 
[2026-07-15 08:19:06] local.INFO: Extracted packet for processing {"connection_id":132308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ac"} 
[2026-07-15 08:19: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-07-15 08:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24543182591098880,"note":"Value kept but may cause issues"} 
[2026-07-15 08:19:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,18,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 08:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784083654000,"timestamp_ms":1784083654000,"timestamp_seconds":1784083654,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ac2570"} 
[2026-07-15 08:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5120,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-15 08:19:06] 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-07-15 08:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132308,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132308,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":132308,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 08:19:06] local.INFO: GPS data processed {"connection_id":132308,"processed":0,"errors":0,"total":1} 
[2026-07-15 08:19:06] local.INFO: Acknowledgment sent {"connection_id":132308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:19:07] local.INFO: TCP Data received {"connection_id":132311,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:19:07] local.INFO: Processing buffer {"connection_id":132311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:19:07] local.INFO: IMEI packet received {"connection_id":132311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":132311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:19:08] local.INFO: TCP Data received {"connection_id":132311,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f63aa3558012d7f92c005afd830000f00502d..."} 
[2026-07-15 08:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63aa3558012d7f92c005afd830000f00502d..."} 
[2026-07-15 08:19:08] local.INFO: Processing buffer {"connection_id":132311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63aa3558012d7f92c005afd830000f00502d..."} 
[2026-07-15 08:19:08] local.INFO: Packet analysis {"connection_id":132311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63aa"} 
[2026-07-15 08:19:08] local.INFO: Extracted packet for processing {"connection_id":132311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63aa"} 
[2026-07-15 08:19:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":15,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 08:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725305856001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784083527000,"timestamp_ms":1784083527000,"timestamp_seconds":1784083527,"priority":1,"record_length":96,"hex_timestamp":"0000019f63aa3558"} 
[2026-07-15 08:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-15 08:19:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:19:08] 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-07-15 08:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725305856001,"66":25397,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 08:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725305856001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:19:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 08:19:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725305856001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 08:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":132311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:19:08] local.INFO: GPS data processed {"connection_id":132311,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:19:08] local.INFO: Acknowledgment sent {"connection_id":132311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:19:29] local.INFO: TCP Data received {"connection_id":132137,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132137,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:19:29] local.INFO: Processing buffer {"connection_id":132137,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:19:29] local.INFO: IMEI packet received {"connection_id":132137,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 08:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":132137,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:19:35] local.INFO: TCP Data received {"connection_id":133158,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 08:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133158,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 08:19:35] local.INFO: Processing buffer {"connection_id":133158,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 08:19:35] local.INFO: IMEI packet received {"connection_id":133158,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 08:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":133158,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:19:36] local.INFO: TCP Data received {"connection_id":132137,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132137,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:19:36] local.INFO: Processing buffer {"connection_id":132137,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:19:36] local.INFO: IMEI packet received {"connection_id":132137,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":132137,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:19:36] local.INFO: TCP Data received {"connection_id":132137,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ad3ac8012d79d70005e5c268000700bf28..."} 
[2026-07-15 08:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ad3ac8012d79d70005e5c268000700bf28..."} 
[2026-07-15 08:19:36] local.INFO: Processing buffer {"connection_id":132137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ad3ac8012d79d70005e5c268000700bf28..."} 
[2026-07-15 08:19:36] local.INFO: Packet analysis {"connection_id":132137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ad"} 
[2026-07-15 08:19:36] local.INFO: Extracted packet for processing {"connection_id":132137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ad"} 
[2026-07-15 08:19:36] local.INFO: GPS Element Parsed {"raw_longitude":762959616,"raw_latitude":98943592,"longitude_deg":76.2959616,"latitude_deg":9.8943592,"altitude":7,"angle":191,"satellites":40,"speed":10,"hex_longitude":"2d79d700","hex_latitude":"05e5c268","is_valid_coordinates":true} 
[2026-07-15 08:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725433344001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106275929197641728,"note":"Value kept but may cause issues"} 
[2026-07-15 08:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779556392655869952,"note":"Value kept but may cause issues"} 
[2026-07-15 08:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784083725000,"timestamp_ms":1784083725000,"timestamp_seconds":1784083725,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ad3ac8"} 
[2026-07-15 08:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-15 08:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132137,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132137,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725433344001,"66":13059,"182":206,"87":13824,"24":10,"16":106275929197641728,"45":8779556392655869952},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-15 08:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725433344001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:19:36] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 08:19:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 08:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106275929197641728,"km_value":106275929197641.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779556392655869952,"description":"Unknown IO ID 45"} 
[2026-07-15 08:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725433344001,"power":13059,"unknown_182":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8779556392655869952}} 
[2026-07-15 08:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":132137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489923,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:19:36] local.INFO: GPS data processed {"connection_id":132137,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:19:36] local.INFO: Acknowledgment sent {"connection_id":132137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:19:39] local.INFO: TCP Data received {"connection_id":132311,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f63aa3558012d7f92c005afd830000f00502d..."} 
[2026-07-15 08:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63aa3558012d7f92c005afd830000f00502d..."} 
[2026-07-15 08:19:39] local.INFO: Processing buffer {"connection_id":132311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63aa3558012d7f92c005afd830000f00502d..."} 
[2026-07-15 08:19:39] local.INFO: Packet analysis {"connection_id":132311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63aa"} 
[2026-07-15 08:19:39] local.INFO: Extracted packet for processing {"connection_id":132311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63aa"} 
[2026-07-15 08:19:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":15,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725305856001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:19:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784083527000,"timestamp_ms":1784083527000,"timestamp_seconds":1784083527,"priority":1,"record_length":96,"hex_timestamp":"0000019f63aa3558"} 
[2026-07-15 08:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:19:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-15 08:19:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08: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-07-15 08:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:19:39] 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-07-15 08:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725305856001,"66":25397,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 08:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725305856001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:19:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 08:19:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725305856001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 08:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":132311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:19:39] local.INFO: GPS data processed {"connection_id":132311,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:19:39] local.INFO: Acknowledgment sent {"connection_id":132311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:19:42] local.INFO: TCP Data received {"connection_id":132308,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ac77780100000000000000000000000000..."} 
[2026-07-15 08:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ac77780100000000000000000000000000..."} 
[2026-07-15 08:19:42] local.INFO: Processing buffer {"connection_id":132308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ac77780100000000000000000000000000..."} 
[2026-07-15 08:19:42] local.INFO: Packet analysis {"connection_id":132308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ac"} 
[2026-07-15 08:19:42] local.INFO: Extracted packet for processing {"connection_id":132308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ac"} 
[2026-07-15 08:19: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-07-15 08:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24543182591098880,"note":"Value kept but may cause issues"} 
[2026-07-15 08:19:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,178,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 08:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784083675000,"timestamp_ms":1784083675000,"timestamp_seconds":1784083675,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ac7778"} 
[2026-07-15 08:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-15 08:19:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132308,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132308,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":132308,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 08:19:42] local.INFO: GPS data processed {"connection_id":132308,"processed":0,"errors":0,"total":1} 
[2026-07-15 08:19:42] local.INFO: Acknowledgment sent {"connection_id":132308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:20:01] local.INFO: TCP Data received {"connection_id":133159,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:20:01] local.INFO: Processing buffer {"connection_id":133159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:20:01] local.INFO: IMEI packet received {"connection_id":133159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":133159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:20:07] local.INFO: TCP Data received {"connection_id":133159,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:20:07] local.INFO: Processing buffer {"connection_id":133159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:20:07] local.INFO: IMEI packet received {"connection_id":133159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":133159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:20:08] local.INFO: TCP Data received {"connection_id":132137,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ad5df0012d79d54005e5b5a8000700b228..."} 
[2026-07-15 08:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ad5df0012d79d54005e5b5a8000700b228..."} 
[2026-07-15 08:20:08] local.INFO: Processing buffer {"connection_id":132137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ad5df0012d79d54005e5b5a8000700b228..."} 
[2026-07-15 08:20:08] local.INFO: Packet analysis {"connection_id":132137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ad"} 
[2026-07-15 08:20:08] local.INFO: Extracted packet for processing {"connection_id":132137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ad"} 
[2026-07-15 08:20:08] local.INFO: GPS Element Parsed {"raw_longitude":762959168,"raw_latitude":98940328,"longitude_deg":76.2959168,"latitude_deg":9.8940328,"altitude":7,"angle":178,"satellites":40,"speed":15,"hex_longitude":"2d79d540","hex_latitude":"05e5b5a8","is_valid_coordinates":true} 
[2026-07-15 08:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725433600001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106276088111431680,"note":"Value kept but may cause issues"} 
[2026-07-15 08:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779486023911630848,"note":"Value kept but may cause issues"} 
[2026-07-15 08:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784083734000,"timestamp_ms":1784083734000,"timestamp_seconds":1784083734,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ad5df0"} 
[2026-07-15 08:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-15 08:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303165009349942,"note":"Value kept but may cause issues"} 
[2026-07-15 08:20:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":58079708874014750,"note":"Value kept but may cause issues"} 
[2026-07-15 08:20:08] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3355520377,"note":"Value kept but may cause issues"} 
[2026-07-15 08:20:08] local.WARNING: Large IO value detected {"io_id":99,"raw_value":2891206657,"note":"Value kept but may cause issues"} 
[2026-07-15 08:20:08] local.WARNING: Large IO value detected {"io_id":229,"raw_value":3212312580,"note":"Value kept but may cause issues"} 
[2026-07-15 08:20:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":916259022,"corrected_to":0} 
[2026-07-15 08:20:08] local.WARNING: Large IO value detected {"io_id":212,"raw_value":2147870136,"note":"Value kept but may cause issues"} 
[2026-07-15 08:20:08] local.WARNING: Large IO value detected {"io_id":121,"raw_value":2435645440,"note":"Value kept but may cause issues"} 
[2026-07-15 08:20:08] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,182,87,24,241,157,16,145,159,54,45,64,195,7,40,10,66,244,192,196,5,162,1,240,199,227,99,229,4,113,205,14,212,239,51,2,121,30],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":916259022,"validated":0}]} 
[2026-07-15 08:20:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504613336785747968,"timestamp_seconds":504613336785747.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 08:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132137,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132137,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725433600001,"66":12765,"182":206,"87":13824,"24":15,"16":106276088111431680,"45":8779486023911630848},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-15 08:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725433600001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:20:08] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 08:20:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 08:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106276088111431680,"km_value":106276088111431.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779486023911630848,"description":"Unknown IO ID 45"} 
[2026-07-15 08:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725433600001,"power":12765,"unknown_182":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8779486023911630848}} 
[2026-07-15 08:20:08] local.INFO: TCP Data received {"connection_id":133159,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f63aa3558012d7f92c005afd830000f00502d..."} 
[2026-07-15 08:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63aa3558012d7f92c005afd830000f00502d..."} 
[2026-07-15 08:20:08] local.INFO: Processing buffer {"connection_id":133159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63aa3558012d7f92c005afd830000f00502d..."} 
[2026-07-15 08:20:08] local.INFO: Packet analysis {"connection_id":133159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63aa"} 
[2026-07-15 08:20:08] local.INFO: Extracted packet for processing {"connection_id":133159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63aa"} 
[2026-07-15 08:20:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":15,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 08:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725305856001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784083527000,"timestamp_ms":1784083527000,"timestamp_seconds":1784083527,"priority":1,"record_length":96,"hex_timestamp":"0000019f63aa3558"} 
[2026-07-15 08:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-15 08:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:20:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":133159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":133159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":133159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725305856001,"66":25397,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 08:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725305856001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:20:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 08:20:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725305856001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 08:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":132137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489925,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:20:08] local.INFO: GPS data processed {"connection_id":132137,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:20:08] local.INFO: Acknowledgment sent {"connection_id":132137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":133159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:20:08] local.INFO: GPS data processed {"connection_id":133159,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:20:08] local.INFO: Acknowledgment sent {"connection_id":133159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:20:35] local.INFO: TCP Data received {"connection_id":133160,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133160,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:20:35] local.INFO: Processing buffer {"connection_id":133160,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:20:35] local.INFO: IMEI packet received {"connection_id":133160,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 08:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":133160,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:20:37] local.INFO: TCP Data received {"connection_id":133160,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133160,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:20:37] local.INFO: Processing buffer {"connection_id":133160,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:20:37] local.INFO: IMEI packet received {"connection_id":133160,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":133160,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:20:39] local.INFO: TCP Data received {"connection_id":133160,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ad9c70012d79d5c005e5b0a0000800bf28..."} 
[2026-07-15 08:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ad9c70012d79d5c005e5b0a0000800bf28..."} 
[2026-07-15 08:20:39] local.INFO: Processing buffer {"connection_id":133160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ad9c70012d79d5c005e5b0a0000800bf28..."} 
[2026-07-15 08:20:39] local.INFO: Packet analysis {"connection_id":133160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ad"} 
[2026-07-15 08:20:39] local.INFO: Extracted packet for processing {"connection_id":133160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ad"} 
[2026-07-15 08:20:39] local.INFO: GPS Element Parsed {"raw_longitude":762959296,"raw_latitude":98939040,"longitude_deg":76.2959296,"latitude_deg":9.893904,"altitude":8,"angle":191,"satellites":40,"speed":6,"hex_longitude":"2d79d5c0","hex_latitude":"05e5b0a0","is_valid_coordinates":true} 
[2026-07-15 08:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725435904001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106276152535941120,"note":"Value kept but may cause issues"} 
[2026-07-15 08:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778993442701551616,"note":"Value kept but may cause issues"} 
[2026-07-15 08:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784083750000,"timestamp_ms":1784083750000,"timestamp_seconds":1784083750,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ad9c70"} 
[2026-07-15 08:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:20:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-15 08:20:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:20:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725435904001,"66":12341,"182":206,"87":13824,"24":6,"16":106276152535941120,"45":8778993442701551616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-15 08:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725435904001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:20:39] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 08:20:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 08:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106276152535941120,"km_value":106276152535941.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778993442701551616,"description":"Unknown IO ID 45"} 
[2026-07-15 08:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725435904001,"power":12341,"unknown_182":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8778993442701551616}} 
[2026-07-15 08:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":133160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489927,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:20:39] local.INFO: GPS data processed {"connection_id":133160,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:20:39] local.INFO: Acknowledgment sent {"connection_id":133160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:20:39] local.INFO: TCP Data received {"connection_id":133159,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f63aa3558012d7f92c005afd830000f00502d..."} 
[2026-07-15 08:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63aa3558012d7f92c005afd830000f00502d..."} 
[2026-07-15 08:20:39] local.INFO: Processing buffer {"connection_id":133159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63aa3558012d7f92c005afd830000f00502d..."} 
[2026-07-15 08:20:39] local.INFO: Packet analysis {"connection_id":133159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63aa"} 
[2026-07-15 08:20:39] local.INFO: Extracted packet for processing {"connection_id":133159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63aa"} 
[2026-07-15 08:20:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":15,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 08:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725305856001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784083527000,"timestamp_ms":1784083527000,"timestamp_seconds":1784083527,"priority":1,"record_length":96,"hex_timestamp":"0000019f63aa3558"} 
[2026-07-15 08:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:20:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-15 08:20:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:20:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725305856001,"66":25397,"199":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 08:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725305856001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:20:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 08:20:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725305856001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 08:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":133159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:20:39] local.INFO: GPS data processed {"connection_id":133159,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:20:39] local.INFO: Acknowledgment sent {"connection_id":133159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:21:06] local.INFO: TCP Data received {"connection_id":133161,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:21:06] local.INFO: Processing buffer {"connection_id":133161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:21:06] local.INFO: IMEI packet received {"connection_id":133161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":133161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:21:06] local.INFO: TCP Data received {"connection_id":133161,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:21:06] local.INFO: Processing buffer {"connection_id":133161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:21:06] local.INFO: IMEI packet received {"connection_id":133161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":133161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:21:12] local.INFO: TCP Data received {"connection_id":133161,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:21:12] local.INFO: Processing buffer {"connection_id":133161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:21:12] local.INFO: IMEI packet received {"connection_id":133161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":133161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:21:12] local.INFO: TCP Data received {"connection_id":133161,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f63aecd20012d7f92c005afd830000000502d..."} 
[2026-07-15 08:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63aecd20012d7f92c005afd830000000502d..."} 
[2026-07-15 08:21:12] local.INFO: Processing buffer {"connection_id":133161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63aecd20012d7f92c005afd830000000502d..."} 
[2026-07-15 08:21:12] local.INFO: Packet analysis {"connection_id":133161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ae"} 
[2026-07-15 08:21:12] local.INFO: Extracted packet for processing {"connection_id":133161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ae"} 
[2026-07-15 08:21:12] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 08:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725382912001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784083828000,"timestamp_ms":1784083828000,"timestamp_seconds":1784083828,"priority":1,"record_length":96,"hex_timestamp":"0000019f63aecd20"} 
[2026-07-15 08:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-15 08:21:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":133161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":133161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":133161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:21:12] 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-07-15 08:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725382912001,"66":25430,"250":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725382912001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:21:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:21:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725382912001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 08:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":133161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:21:12] local.INFO: GPS data processed {"connection_id":133161,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:21:12] local.INFO: Acknowledgment sent {"connection_id":133161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:21:26] local.INFO: TCP Data received {"connection_id":132308,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63acc9800100000000000000000000000000..."} 
[2026-07-15 08:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63acc9800100000000000000000000000000..."} 
[2026-07-15 08:21:26] local.INFO: Processing buffer {"connection_id":132308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63acc9800100000000000000000000000000..."} 
[2026-07-15 08:21:26] local.INFO: Packet analysis {"connection_id":132308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ac"} 
[2026-07-15 08:21:26] local.INFO: Extracted packet for processing {"connection_id":132308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ac"} 
[2026-07-15 08:21:26] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-15 08:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24543182591098880,"note":"Value kept but may cause issues"} 
[2026-07-15 08:21:26] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,178,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 08:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784083696000,"timestamp_ms":1784083696000,"timestamp_seconds":1784083696,"priority":1,"record_length":96,"hex_timestamp":"0000019f63acc980"} 
[2026-07-15 08:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:21:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-15 08:21: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-07-15 08:21:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":132308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":132308,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":132308,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:21:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":132308,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 08:21:26] local.INFO: GPS data processed {"connection_id":132308,"processed":0,"errors":0,"total":1} 
[2026-07-15 08:21:26] local.INFO: Acknowledgment sent {"connection_id":132308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:21:28] local.INFO: TCP Data received {"connection_id":132138,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132138,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:21:28] local.INFO: Processing buffer {"connection_id":132138,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:21:28] local.INFO: IMEI packet received {"connection_id":132138,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 08:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":132138,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:21:29] local.INFO: TCP Data received {"connection_id":132138,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132138,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:21:29] local.INFO: Processing buffer {"connection_id":132138,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:21:29] local.INFO: IMEI packet received {"connection_id":132138,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":132138,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:21:34] local.INFO: TCP Data received {"connection_id":132138,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132138,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:21:34] local.INFO: Processing buffer {"connection_id":132138,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:21:34] local.INFO: IMEI packet received {"connection_id":132138,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":132138,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:21:36] local.INFO: TCP Data received {"connection_id":132138,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63af6d48012d7a608005e46ba0000e007d2a..."} 
[2026-07-15 08:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63af6d48012d7a608005e46ba0000e007d2a..."} 
[2026-07-15 08:21:36] local.INFO: Processing buffer {"connection_id":132138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63af6d48012d7a608005e46ba0000e007d2a..."} 
[2026-07-15 08:21:36] local.INFO: Packet analysis {"connection_id":132138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63af"} 
[2026-07-15 08:21:36] local.INFO: Extracted packet for processing {"connection_id":132138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63af"} 
[2026-07-15 08:21:36] local.INFO: GPS Element Parsed {"raw_longitude":762994816,"raw_latitude":98855840,"longitude_deg":76.2994816,"latitude_deg":9.885584,"altitude":14,"angle":125,"satellites":42,"speed":26,"hex_longitude":"2d7a6080","hex_latitude":"05e46ba0","is_valid_coordinates":true} 
[2026-07-15 08:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725468416001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106280636481798144,"note":"Value kept but may cause issues"} 
[2026-07-15 08:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814529658490472448,"note":"Value kept but may cause issues"} 
[2026-07-15 08:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784083869000,"timestamp_ms":1784083869000,"timestamp_seconds":1784083869,"priority":1,"record_length":96,"hex_timestamp":"0000019f63af6d48"} 
[2026-07-15 08:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-15 08:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725468416001,"66":13243,"39":206,"87":13824,"24":26,"16":106280636481798144,"45":8814529658490472448},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-15 08:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725468416001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:21:36] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-15 08:21:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 08:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106280636481798144,"km_value":106280636481798.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814529658490472448,"description":"Unknown IO ID 45"} 
[2026-07-15 08:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725468416001,"power":13243,"unknown_39":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8814529658490472448}} 
[2026-07-15 08:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":132138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489930,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:21:36] local.INFO: GPS data processed {"connection_id":132138,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:21:36] local.INFO: Acknowledgment sent {"connection_id":132138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:21:43] local.INFO: TCP Data received {"connection_id":133161,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f63aecd20012d7f92c005afd830000000502d..."} 
[2026-07-15 08:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63aecd20012d7f92c005afd830000000502d..."} 
[2026-07-15 08:21:43] local.INFO: Processing buffer {"connection_id":133161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63aecd20012d7f92c005afd830000000502d..."} 
[2026-07-15 08:21:43] local.INFO: Packet analysis {"connection_id":133161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ae"} 
[2026-07-15 08:21:43] local.INFO: Extracted packet for processing {"connection_id":133161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ae"} 
[2026-07-15 08:21:43] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 08:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725382912001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:21:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:21:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784083828000,"timestamp_ms":1784083828000,"timestamp_seconds":1784083828,"priority":1,"record_length":96,"hex_timestamp":"0000019f63aecd20"} 
[2026-07-15 08:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:21:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-15 08:21:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:21:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":133161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":133161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":133161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:21:43] 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-07-15 08:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725382912001,"66":25430,"250":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725382912001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:21:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:21:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:21:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725382912001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 08:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":133161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:21:43] local.INFO: GPS data processed {"connection_id":133161,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:21:43] local.INFO: Acknowledgment sent {"connection_id":133161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:21:45] local.INFO: TCP Data received {"connection_id":134524,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134524,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:21:45] local.INFO: Processing buffer {"connection_id":134524,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:21:45] local.INFO: IMEI packet received {"connection_id":134524,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 08:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":134524,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:21:46] local.INFO: TCP Data received {"connection_id":134524,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134524,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:21:46] local.INFO: Processing buffer {"connection_id":134524,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:21:46] local.INFO: IMEI packet received {"connection_id":134524,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":134524,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:21:48] local.INFO: TCP Data received {"connection_id":134524,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ad1b880100000000000000000000000000..."} 
[2026-07-15 08:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ad1b880100000000000000000000000000..."} 
[2026-07-15 08:21:48] local.INFO: Processing buffer {"connection_id":134524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ad1b880100000000000000000000000000..."} 
[2026-07-15 08:21:48] local.INFO: Packet analysis {"connection_id":134524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ad"} 
[2026-07-15 08:21:48] local.INFO: Extracted packet for processing {"connection_id":134524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ad"} 
[2026-07-15 08:21:48] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-15 08:21: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-07-15 08:21:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24543182591098880,"note":"Value kept but may cause issues"} 
[2026-07-15 08:21:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,178,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 08:21:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784083717000,"timestamp_ms":1784083717000,"timestamp_seconds":1784083717,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ad1b88"} 
[2026-07-15 08:21:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:21:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-15 08:21:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:21: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-07-15 08:21:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:21:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:21:48] local.INFO: Teltonika packet parsed successfully {"connection_id":134524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:21:48] local.INFO: Passing IMEI to GPS processor {"connection_id":134524,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:21:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":134524,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:21:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:21:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:21:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:21:48] local.INFO: DEBUG: GPS processor result {"connection_id":134524,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 08:21:48] local.INFO: GPS data processed {"connection_id":134524,"processed":0,"errors":0,"total":1} 
[2026-07-15 08:21:48] local.INFO: Acknowledgment sent {"connection_id":134524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:21:50] local.INFO: TCP Data received {"connection_id":134524,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ad6d900100000000000000000000000000..."} 
[2026-07-15 08:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ad6d900100000000000000000000000000..."} 
[2026-07-15 08:21:50] local.INFO: Processing buffer {"connection_id":134524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ad6d900100000000000000000000000000..."} 
[2026-07-15 08:21:50] local.INFO: Packet analysis {"connection_id":134524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ad"} 
[2026-07-15 08:21:50] local.INFO: Extracted packet for processing {"connection_id":134524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ad"} 
[2026-07-15 08:21: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-07-15 08: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-07-15 08:21:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24543182591098880,"note":"Value kept but may cause issues"} 
[2026-07-15 08:21:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,178,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 08:21:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784083738000,"timestamp_ms":1784083738000,"timestamp_seconds":1784083738,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ad6d90"} 
[2026-07-15 08:21:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:21:50] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-15 08:21:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08: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-07-15 08:21:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:21:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:21:50] local.INFO: Teltonika packet parsed successfully {"connection_id":134524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:21:50] local.INFO: Passing IMEI to GPS processor {"connection_id":134524,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:21:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":134524,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:21:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:21:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:21:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":134524,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 08:21:50] local.INFO: GPS data processed {"connection_id":134524,"processed":0,"errors":0,"total":1} 
[2026-07-15 08:21:50] local.INFO: Acknowledgment sent {"connection_id":134524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:22:02] local.INFO: TCP Data received {"connection_id":132312,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:22:02] local.INFO: Processing buffer {"connection_id":132312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:22:02] local.INFO: IMEI packet received {"connection_id":132312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":132312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:22:07] local.INFO: TCP Data received {"connection_id":132312,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:22:07] local.INFO: Processing buffer {"connection_id":132312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:22:07] local.INFO: IMEI packet received {"connection_id":132312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":132312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:22:08] local.INFO: TCP Data received {"connection_id":132312,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f63aecd20012d7f92c005afd830000000502d..."} 
[2026-07-15 08:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63aecd20012d7f92c005afd830000000502d..."} 
[2026-07-15 08:22:08] local.INFO: Processing buffer {"connection_id":132312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63aecd20012d7f92c005afd830000000502d..."} 
[2026-07-15 08:22:08] local.INFO: Packet analysis {"connection_id":132312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ae"} 
[2026-07-15 08:22:08] local.INFO: Extracted packet for processing {"connection_id":132312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ae"} 
[2026-07-15 08:22:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 08:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725382912001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784083828000,"timestamp_ms":1784083828000,"timestamp_seconds":1784083828,"priority":1,"record_length":96,"hex_timestamp":"0000019f63aecd20"} 
[2026-07-15 08:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-15 08:22:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:22:08] 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-07-15 08:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725382912001,"66":25430,"250":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725382912001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:22:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:22:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725382912001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 08:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":132312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:22:08] local.INFO: GPS data processed {"connection_id":132312,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:22:08] local.INFO: Acknowledgment sent {"connection_id":132312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:22:08] local.INFO: TCP Data received {"connection_id":132138,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63af9458012d7a7d4005e45648000d007e27..."} 
[2026-07-15 08:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63af9458012d7a7d4005e45648000d007e27..."} 
[2026-07-15 08:22:09] local.INFO: Processing buffer {"connection_id":132138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63af9458012d7a7d4005e45648000d007e27..."} 
[2026-07-15 08:22:09] local.INFO: Packet analysis {"connection_id":132138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63af"} 
[2026-07-15 08:22:09] local.INFO: Extracted packet for processing {"connection_id":132138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63af"} 
[2026-07-15 08:22:09] local.INFO: GPS Element Parsed {"raw_longitude":763002176,"raw_latitude":98850376,"longitude_deg":76.3002176,"latitude_deg":9.8850376,"altitude":13,"angle":126,"satellites":39,"speed":44,"hex_longitude":"2d7a7d40","hex_latitude":"05e45648","is_valid_coordinates":true} 
[2026-07-15 08:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725470464001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106281074568462336,"note":"Value kept but may cause issues"} 
[2026-07-15 08:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818188833186881536,"note":"Value kept but may cause issues"} 
[2026-07-15 08:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784083879000,"timestamp_ms":1784083879000,"timestamp_seconds":1784083879,"priority":1,"record_length":96,"hex_timestamp":"0000019f63af9458"} 
[2026-07-15 08:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-15 08:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":132138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":132138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":132138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725470464001,"66":13243,"39":206,"87":13824,"24":44,"16":106281074568462336,"45":8818188833186881536},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-15 08:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725470464001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:22:09] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-15 08:22:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 08:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106281074568462336,"km_value":106281074568462.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818188833186881536,"description":"Unknown IO ID 45"} 
[2026-07-15 08:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725470464001,"power":13243,"unknown_39":206,"unknown_87":13824,"ignition":44,"odometer":null,"unknown_45":8818188833186881536}} 
[2026-07-15 08:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":132138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489933,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:22:09] local.INFO: GPS data processed {"connection_id":132138,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:22:09] local.INFO: Acknowledgment sent {"connection_id":132138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:22:21] local.INFO: TCP Data received {"connection_id":134524,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63adbf980100000000000000000000000000..."} 
[2026-07-15 08:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63adbf980100000000000000000000000000..."} 
[2026-07-15 08:22:21] local.INFO: Processing buffer {"connection_id":134524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63adbf980100000000000000000000000000..."} 
[2026-07-15 08:22:21] local.INFO: Packet analysis {"connection_id":134524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ad"} 
[2026-07-15 08:22:21] local.INFO: Extracted packet for processing {"connection_id":134524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ad"} 
[2026-07-15 08:22:21] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24543182591098880,"note":"Value kept but may cause issues"} 
[2026-07-15 08:22:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,178,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 08:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1784083759000,"timestamp_ms":1784083759000,"timestamp_seconds":1784083759,"priority":1,"record_length":96,"hex_timestamp":"0000019f63adbf98"} 
[2026-07-15 08:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:22:21] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-15 08:22:21] 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-07-15 08: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-07-15 08:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":134524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":134524,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":134524,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:22:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":134524,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 08:22:21] local.INFO: GPS data processed {"connection_id":134524,"processed":0,"errors":0,"total":1} 
[2026-07-15 08:22:21] local.INFO: Acknowledgment sent {"connection_id":134524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:22:29] local.INFO: TCP Data received {"connection_id":133163,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133163,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:22:29] local.INFO: Processing buffer {"connection_id":133163,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:22:29] local.INFO: IMEI packet received {"connection_id":133163,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 08:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":133163,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:22:34] local.INFO: TCP Data received {"connection_id":133163,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133163,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:22:34] local.INFO: Processing buffer {"connection_id":133163,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:22:34] local.INFO: IMEI packet received {"connection_id":133163,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":133163,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:22:36] local.INFO: TCP Data received {"connection_id":133163,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63afb398012d7a9c4005e43ea8000b008227..."} 
[2026-07-15 08:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63afb398012d7a9c4005e43ea8000b008227..."} 
[2026-07-15 08:22:36] local.INFO: Processing buffer {"connection_id":133163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63afb398012d7a9c4005e43ea8000b008227..."} 
[2026-07-15 08:22:36] local.INFO: Packet analysis {"connection_id":133163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63af"} 
[2026-07-15 08:22:36] local.INFO: Extracted packet for processing {"connection_id":133163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63af"} 
[2026-07-15 08:22:36] local.INFO: GPS Element Parsed {"raw_longitude":763010112,"raw_latitude":98844328,"longitude_deg":76.3010112,"latitude_deg":9.8844328,"altitude":11,"angle":130,"satellites":39,"speed":50,"hex_longitude":"2d7a9c40","hex_latitude":"05e43ea8","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725473024001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106281555604799488,"note":"Value kept but may cause issues"} 
[2026-07-15 08:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8826281238765914112,"note":"Value kept but may cause issues"} 
[2026-07-15 08:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784083887000,"timestamp_ms":1784083887000,"timestamp_seconds":1784083887,"priority":1,"record_length":96,"hex_timestamp":"0000019f63afb398"} 
[2026-07-15 08:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08: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":187,"data_length":795,"current_offset":136} 
[2026-07-15 08:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08: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-07-15 08:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":133163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":133163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":133163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725473024001,"66":12722,"39":206,"87":13824,"24":50,"16":106281555604799488,"45":8826281238765914112},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-15 08:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725473024001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:22:36] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-15 08:22:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 08:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106281555604799488,"km_value":106281555604799.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8826281238765914112,"description":"Unknown IO ID 45"} 
[2026-07-15 08:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725473024001,"power":12722,"unknown_39":206,"unknown_87":13824,"ignition":50,"odometer":null,"unknown_45":8826281238765914112}} 
[2026-07-15 08:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":133163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489934,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:22:36] local.INFO: GPS data processed {"connection_id":133163,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:22:36] local.INFO: Acknowledgment sent {"connection_id":133163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:22:39] local.INFO: TCP Data received {"connection_id":132312,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f63aecd20012d7f92c005afd830000000502d..."} 
[2026-07-15 08:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63aecd20012d7f92c005afd830000000502d..."} 
[2026-07-15 08:22:39] local.INFO: Processing buffer {"connection_id":132312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63aecd20012d7f92c005afd830000000502d..."} 
[2026-07-15 08:22:39] local.INFO: Packet analysis {"connection_id":132312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ae"} 
[2026-07-15 08:22:39] local.INFO: Extracted packet for processing {"connection_id":132312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ae"} 
[2026-07-15 08:22:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 08:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725382912001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784083828000,"timestamp_ms":1784083828000,"timestamp_seconds":1784083828,"priority":1,"record_length":96,"hex_timestamp":"0000019f63aecd20"} 
[2026-07-15 08:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-15 08:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:22:39] 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-07-15 08:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725382912001,"66":25430,"250":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725382912001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:22:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:22:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725382912001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 08:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":132312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:22:39] local.INFO: GPS data processed {"connection_id":132312,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:22:39] local.INFO: Acknowledgment sent {"connection_id":132312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:22:54] local.INFO: TCP Data received {"connection_id":134524,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ae11a00100000000000000000000000000..."} 
[2026-07-15 08:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ae11a00100000000000000000000000000..."} 
[2026-07-15 08:22:54] local.INFO: Processing buffer {"connection_id":134524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ae11a00100000000000000000000000000..."} 
[2026-07-15 08:22:54] local.INFO: Packet analysis {"connection_id":134524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ae"} 
[2026-07-15 08:22:54] local.INFO: Extracted packet for processing {"connection_id":134524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ae"} 
[2026-07-15 08:22: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-07-15 08:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24543182591098880,"note":"Value kept but may cause issues"} 
[2026-07-15 08:22:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,178,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 08:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784083780000,"timestamp_ms":1784083780000,"timestamp_seconds":1784083780,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ae11a0"} 
[2026-07-15 08:22:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:22:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-15 08:22:54] 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-07-15 08:22:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:22:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":134524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":134524,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":134524,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:22:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:22:54] local.INFO: DEBUG: GPS processor result {"connection_id":134524,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 08:22:54] local.INFO: GPS data processed {"connection_id":134524,"processed":0,"errors":0,"total":1} 
[2026-07-15 08:22:54] local.INFO: Acknowledgment sent {"connection_id":134524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:23:01] local.INFO: TCP Data received {"connection_id":132313,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:23:01] local.INFO: Processing buffer {"connection_id":132313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:23:01] local.INFO: IMEI packet received {"connection_id":132313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":132313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:23:03] local.INFO: TCP Data received {"connection_id":132139,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:23:03] local.INFO: Processing buffer {"connection_id":132139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:23:03] local.INFO: IMEI packet received {"connection_id":132139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 08:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":132139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:23:04] local.INFO: TCP Data received {"connection_id":132139,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:23:04] local.INFO: Processing buffer {"connection_id":132139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:23:04] local.INFO: IMEI packet received {"connection_id":132139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 08:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":132139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:23:07] local.INFO: TCP Data received {"connection_id":132313,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:23:07] local.INFO: Processing buffer {"connection_id":132313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:23:07] local.INFO: IMEI packet received {"connection_id":132313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":132313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:23:08] local.INFO: TCP Data received {"connection_id":132313,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f63aecd20012d7f92c005afd830000000502d..."} 
[2026-07-15 08:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63aecd20012d7f92c005afd830000000502d..."} 
[2026-07-15 08:23:08] local.INFO: Processing buffer {"connection_id":132313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63aecd20012d7f92c005afd830000000502d..."} 
[2026-07-15 08:23:08] local.INFO: Packet analysis {"connection_id":132313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ae"} 
[2026-07-15 08:23:08] local.INFO: Extracted packet for processing {"connection_id":132313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ae"} 
[2026-07-15 08:23:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725382912001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784083828000,"timestamp_ms":1784083828000,"timestamp_seconds":1784083828,"priority":1,"record_length":96,"hex_timestamp":"0000019f63aecd20"} 
[2026-07-15 08:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-15 08:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08: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-07-15 08:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725382912001,"66":25430,"250":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725382912001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:23:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:23:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725382912001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 08:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":132313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:23:08] local.INFO: GPS data processed {"connection_id":132313,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:23:08] local.INFO: Acknowledgment sent {"connection_id":132313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:23:08] local.INFO: TCP Data received {"connection_id":132139,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:23:08] local.INFO: Processing buffer {"connection_id":132139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:23:08] local.INFO: IMEI packet received {"connection_id":132139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 08:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":132139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:23:08] local.INFO: TCP Data received {"connection_id":132139,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-07-15 08:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132139,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-07-15 08:23:08] local.INFO: Processing buffer {"connection_id":132139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-07-15 08:23:08] local.INFO: Packet analysis {"connection_id":132139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-15 08:23:08] local.INFO: Extracted packet for processing {"connection_id":132139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-15 08:23: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-07-15 08: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-07-15 08:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6081553432051712,"note":"Value kept but may cause issues"} 
[2026-07-15 08:23:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 08:23:08] 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-07-15 08:23:08] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-15 08:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132139,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132139,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-15 08:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132139,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-15 08:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-15 08:23:08] local.WARNING: DEBUG: No valid data to process  
[2026-07-15 08:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":132139,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-15 08:23:08] local.ERROR: GPS data processing failed {"connection_id":132139,"error":"No valid data to process"} 
[2026-07-15 08:23:08] local.INFO: Acknowledgment sent {"connection_id":132139,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-15 08:23:09] local.INFO: TCP Data received {"connection_id":133163,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63afd2d8012d7ab7c005e42848000a008526..."} 
[2026-07-15 08:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63afd2d8012d7ab7c005e42848000a008526..."} 
[2026-07-15 08:23:09] local.INFO: Processing buffer {"connection_id":133163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63afd2d8012d7ab7c005e42848000a008526..."} 
[2026-07-15 08:23:09] local.INFO: Packet analysis {"connection_id":133163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63af"} 
[2026-07-15 08:23:09] local.INFO: Extracted packet for processing {"connection_id":133163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63af"} 
[2026-07-15 08:23:09] local.INFO: GPS Element Parsed {"raw_longitude":763017152,"raw_latitude":98838600,"longitude_deg":76.3017152,"latitude_deg":9.88386,"altitude":10,"angle":133,"satellites":38,"speed":38,"hex_longitude":"2d7ab7c0","hex_latitude":"05e42848","is_valid_coordinates":true} 
[2026-07-15 08:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725475072001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106281989396496384,"note":"Value kept but may cause issues"} 
[2026-07-15 08:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835006963042396160,"note":"Value kept but may cause issues"} 
[2026-07-15 08:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784083895000,"timestamp_ms":1784083895000,"timestamp_seconds":1784083895,"priority":1,"record_length":96,"hex_timestamp":"0000019f63afd2d8"} 
[2026-07-15 08:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 08:23: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-07-15 08:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":133163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":133163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":133163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725475072001,"66":13276,"39":206,"87":13824,"24":38,"16":106281989396496384,"45":8835006963042396160},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-15 08:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725475072001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:23:09] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-15 08:23:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 08:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106281989396496384,"km_value":106281989396496.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835006963042396160,"description":"Unknown IO ID 45"} 
[2026-07-15 08:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725475072001,"power":13276,"unknown_39":206,"unknown_87":13824,"ignition":38,"odometer":null,"unknown_45":8835006963042396160}} 
[2026-07-15 08:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":133163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489937,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:23:10] local.INFO: GPS data processed {"connection_id":133163,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:23:10] local.INFO: Acknowledgment sent {"connection_id":133163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:23:29] local.INFO: TCP Data received {"connection_id":132314,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132314,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:23:29] local.INFO: Processing buffer {"connection_id":132314,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:23:29] local.INFO: IMEI packet received {"connection_id":132314,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 08:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":132314,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:23:31] local.INFO: TCP Data received {"connection_id":132314,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132314,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:23:31] local.INFO: Processing buffer {"connection_id":132314,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:23:31] local.INFO: IMEI packet received {"connection_id":132314,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":132314,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:23:32] local.INFO: TCP Data received {"connection_id":132315,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132315,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:23:32] local.INFO: Processing buffer {"connection_id":132315,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:23:32] local.INFO: IMEI packet received {"connection_id":132315,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 08:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":132315,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:23:35] local.INFO: TCP Data received {"connection_id":132315,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132315,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:23:35] local.INFO: Processing buffer {"connection_id":132315,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:23:35] local.INFO: IMEI packet received {"connection_id":132315,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":132315,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:23:36] local.INFO: TCP Data received {"connection_id":132314,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132314,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:23:36] local.INFO: Processing buffer {"connection_id":132314,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:23:36] local.INFO: IMEI packet received {"connection_id":132314,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":132314,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:23:37] local.INFO: TCP Data received {"connection_id":132315,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b005a0012d7acb4005e414d8000a00782a..."} 
[2026-07-15 08:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b005a0012d7acb4005e414d8000a00782a..."} 
[2026-07-15 08:23:37] local.INFO: Processing buffer {"connection_id":132315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b005a0012d7acb4005e414d8000a00782a..."} 
[2026-07-15 08:23:37] local.INFO: Packet analysis {"connection_id":132315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b0"} 
[2026-07-15 08:23:37] local.INFO: Extracted packet for processing {"connection_id":132315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b0"} 
[2026-07-15 08:23:37] local.INFO: GPS Element Parsed {"raw_longitude":763022144,"raw_latitude":98833624,"longitude_deg":76.3022144,"latitude_deg":9.8833624,"altitude":10,"angle":120,"satellites":42,"speed":7,"hex_longitude":"2d7acb40","hex_latitude":"05e414d8","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725477120001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106282328698912768,"note":"Value kept but may cause issues"} 
[2026-07-15 08:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8842747524900472832,"note":"Value kept but may cause issues"} 
[2026-07-15 08:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784083908000,"timestamp_ms":1784083908000,"timestamp_seconds":1784083908,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b005a0"} 
[2026-07-15 08:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-15 08:23:37] 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-07-15 08: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-07-15 08:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725477120001,"66":13102,"39":206,"87":13824,"24":7,"16":106282328698912768,"45":8842747524900472832},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-15 08:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725477120001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:23:37] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-15 08:23:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 08:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106282328698912768,"km_value":106282328698912.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8842747524900472832,"description":"Unknown IO ID 45"} 
[2026-07-15 08:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725477120001,"power":13102,"unknown_39":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8842747524900472832}} 
[2026-07-15 08:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":132315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489938,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:23:37] local.INFO: GPS data processed {"connection_id":132315,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:23:37] local.INFO: Acknowledgment sent {"connection_id":132315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:23:37] local.INFO: TCP Data received {"connection_id":132314,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b14208012d0b8b800702b058000b006706..."} 
[2026-07-15 08:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b14208012d0b8b800702b058000b006706..."} 
[2026-07-15 08:23:37] local.INFO: Processing buffer {"connection_id":132314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b14208012d0b8b800702b058000b006706..."} 
[2026-07-15 08:23:37] local.INFO: Packet analysis {"connection_id":132314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b1"} 
[2026-07-15 08:23:37] local.INFO: Extracted packet for processing {"connection_id":132314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b1"} 
[2026-07-15 08:23:37] local.INFO: GPS Element Parsed {"raw_longitude":755731328,"raw_latitude":117616728,"longitude_deg":75.5731328,"latitude_deg":11.7616728,"altitude":11,"angle":103,"satellites":6,"speed":16,"hex_longitude":"2d0b8b80","hex_latitude":"0702b058","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725500160001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24543259900510208,"note":"Value kept but may cause issues"} 
[2026-07-15 08:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":830069736429656064,"note":"Value kept but may cause issues"} 
[2026-07-15 08:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784083989000,"timestamp_ms":1784083989000,"timestamp_seconds":1784083989,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b14208"} 
[2026-07-15 08:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08: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":114,"data_length":795,"current_offset":136} 
[2026-07-15 08:23:37] 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-07-15 08: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-07-15 08:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132314,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132314,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725500160001,"66":14374,"17":206,"94":11008,"24":16,"16":24543259900510208,"45":830069736429656064},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-15 08:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725500160001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:23:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 08:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24543259900510208,"km_value":24543259900510.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":830069736429656064,"description":"Unknown IO ID 45"} 
[2026-07-15 08:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725500160001,"power":14374,"axis_x":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":830069736429656064}} 
[2026-07-15 08:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":132314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489939,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:23:37] local.INFO: GPS data processed {"connection_id":132314,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:23:37] local.INFO: Acknowledgment sent {"connection_id":132314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:23:38] local.INFO: TCP Data received {"connection_id":132313,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b0d0c0012d7f92c005afd830000000502e..."} 
[2026-07-15 08:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b0d0c0012d7f92c005afd830000000502e..."} 
[2026-07-15 08:23:38] local.INFO: Processing buffer {"connection_id":132313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b0d0c0012d7f92c005afd830000000502e..."} 
[2026-07-15 08:23:38] local.INFO: Packet analysis {"connection_id":132313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b0"} 
[2026-07-15 08:23:38] local.INFO: Extracted packet for processing {"connection_id":132313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b0"} 
[2026-07-15 08:23:38] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410224,"longitude_deg":76.333536,"latitude_deg":9.5410224,"altitude":0,"angle":80,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-15 08:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725459968001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784083960000,"timestamp_ms":1784083960000,"timestamp_seconds":1784083960,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b0d0c0"} 
[2026-07-15 08:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-15 08:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08: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-07-15 08:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725459968001,"66":25441,"250":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725459968001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:23:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:23:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725459968001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 08:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":132313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:23:38] local.INFO: GPS data processed {"connection_id":132313,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:23:38] local.INFO: Acknowledgment sent {"connection_id":132313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:23:39] local.INFO: TCP Data received {"connection_id":132139,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-07-15 08:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-07-15 08:23:39] local.INFO: Processing buffer {"connection_id":132139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-07-15 08:23:39] local.INFO: Packet analysis {"connection_id":132139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-15 08:23:39] local.INFO: Extracted packet for processing {"connection_id":132139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-15 08:23: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-07-15 08:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6081553432051712,"note":"Value kept but may cause issues"} 
[2026-07-15 08:23:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 08:23:39] 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-07-15 08:23:39] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-15 08:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132139,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132139,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-15 08:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132139,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-15 08:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-15 08:23:39] local.WARNING: DEBUG: No valid data to process  
[2026-07-15 08:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":132139,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-15 08:23:39] local.ERROR: GPS data processing failed {"connection_id":132139,"error":"No valid data to process"} 
[2026-07-15 08:23:39] local.INFO: Acknowledgment sent {"connection_id":132139,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-15 08:23:42] local.INFO: TCP Data received {"connection_id":132315,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b00d70012d7acc4005e41428000b00892b..."} 
[2026-07-15 08:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b00d70012d7acc4005e41428000b00892b..."} 
[2026-07-15 08:23:42] local.INFO: Processing buffer {"connection_id":132315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b00d70012d7acc4005e41428000b00892b..."} 
[2026-07-15 08:23:42] local.INFO: Packet analysis {"connection_id":132315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b0"} 
[2026-07-15 08:23:42] local.INFO: Extracted packet for processing {"connection_id":132315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b0"} 
[2026-07-15 08:23:42] local.INFO: GPS Element Parsed {"raw_longitude":763022400,"raw_latitude":98833448,"longitude_deg":76.30224,"latitude_deg":9.8833448,"altitude":11,"angle":137,"satellites":43,"speed":5,"hex_longitude":"2d7acc40","hex_latitude":"05e41428","is_valid_coordinates":true} 
[2026-07-15 08:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725480448001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106282345878781952,"note":"Value kept but may cause issues"} 
[2026-07-15 08:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848236286945056768,"note":"Value kept but may cause issues"} 
[2026-07-15 08:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784083910000,"timestamp_ms":1784083910000,"timestamp_seconds":1784083910,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b00d70"} 
[2026-07-15 08:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-15 08:23:42] 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-07-15 08:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725480448001,"66":13048,"39":206,"87":13824,"24":5,"16":106282345878781952,"45":8848236286945056768},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-15 08:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725480448001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:23:42] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-15 08:23:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 08:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106282345878781952,"km_value":106282345878781.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848236286945056768,"description":"Unknown IO ID 45"} 
[2026-07-15 08:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725480448001,"power":13048,"unknown_39":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8848236286945056768}} 
[2026-07-15 08:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":132315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489941,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:23:42] local.INFO: GPS data processed {"connection_id":132315,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:23:42] local.INFO: Acknowledgment sent {"connection_id":132315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:24:05] local.INFO: TCP Data received {"connection_id":133165,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:24:05] local.INFO: Processing buffer {"connection_id":133165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:24:05] local.INFO: IMEI packet received {"connection_id":133165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":133165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:24:06] local.INFO: TCP Data received {"connection_id":133165,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:24:06] local.INFO: Processing buffer {"connection_id":133165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:24:06] local.INFO: IMEI packet received {"connection_id":133165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":133165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:24:09] local.INFO: TCP Data received {"connection_id":132314,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b14208012d0b8b800702b058000b006706..."} 
[2026-07-15 08:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b14208012d0b8b800702b058000b006706..."} 
[2026-07-15 08:24:09] local.INFO: Processing buffer {"connection_id":132314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b14208012d0b8b800702b058000b006706..."} 
[2026-07-15 08:24:09] local.INFO: Packet analysis {"connection_id":132314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b1"} 
[2026-07-15 08:24:09] local.INFO: Extracted packet for processing {"connection_id":132314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b1"} 
[2026-07-15 08:24:09] local.INFO: GPS Element Parsed {"raw_longitude":755731328,"raw_latitude":117616728,"longitude_deg":75.5731328,"latitude_deg":11.7616728,"altitude":11,"angle":103,"satellites":6,"speed":16,"hex_longitude":"2d0b8b80","hex_latitude":"0702b058","is_valid_coordinates":true} 
[2026-07-15 08:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725501184001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24543259900510208,"note":"Value kept but may cause issues"} 
[2026-07-15 08:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":831899323778226176,"note":"Value kept but may cause issues"} 
[2026-07-15 08:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784083989000,"timestamp_ms":1784083989000,"timestamp_seconds":1784083989,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b14208"} 
[2026-07-15 08:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-15 08:24:09] 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-07-15 08:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":132314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":132314,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":132314,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725501184001,"66":14374,"17":206,"94":11008,"24":16,"16":24543259900510208,"45":831899323778226176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-15 08:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725501184001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:24:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 08:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24543259900510208,"km_value":24543259900510.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":831899323778226176,"description":"Unknown IO ID 45"} 
[2026-07-15 08:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725501184001,"power":14374,"axis_x":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":831899323778226176}} 
[2026-07-15 08:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":132314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489942,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:24:09] local.INFO: GPS data processed {"connection_id":132314,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:24:09] local.INFO: Acknowledgment sent {"connection_id":132314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:24:10] local.INFO: TCP Data received {"connection_id":132139,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b1cea80100000000000000000000000000..."} 
[2026-07-15 08:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b1cea80100000000000000000000000000..."} 
[2026-07-15 08:24:10] local.INFO: Processing buffer {"connection_id":132139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b1cea80100000000000000000000000000..."} 
[2026-07-15 08:24:10] local.INFO: Packet analysis {"connection_id":132139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b1"} 
[2026-07-15 08:24:10] local.INFO: Extracted packet for processing {"connection_id":132139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b1"} 
[2026-07-15 08:24:10] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-15 08:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6081553432051712,"note":"Value kept but may cause issues"} 
[2026-07-15 08:24:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 08:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784084025000,"timestamp_ms":1784084025000,"timestamp_seconds":1784084025,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b1cea8"} 
[2026-07-15 08:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-15 08:24:10] 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-07-15 08:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":132139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":132139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":132139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 08:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 08:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":132139,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 08:24:10] local.INFO: GPS data processed {"connection_id":132139,"processed":0,"errors":0,"total":1} 
[2026-07-15 08:24:10] local.INFO: Acknowledgment sent {"connection_id":132139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:24:12] local.INFO: TCP Data received {"connection_id":133165,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:24:12] local.INFO: Processing buffer {"connection_id":133165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:24:12] local.INFO: IMEI packet received {"connection_id":133165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":133165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:24:13] local.INFO: TCP Data received {"connection_id":133165,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b0e060012d7f934005afd9b8000001362e..."} 
[2026-07-15 08:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b0e060012d7f934005afd9b8000001362e..."} 
[2026-07-15 08:24:13] local.INFO: Processing buffer {"connection_id":133165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b0e060012d7f934005afd9b8000001362e..."} 
[2026-07-15 08:24:13] local.INFO: Packet analysis {"connection_id":133165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b0"} 
[2026-07-15 08:24:13] local.INFO: Extracted packet for processing {"connection_id":133165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b0"} 
[2026-07-15 08:24:13] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410616,"longitude_deg":76.3335488,"latitude_deg":9.5410616,"altitude":0,"angle":310,"satellites":46,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afd9b8","is_valid_coordinates":true} 
[2026-07-15 08:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725493760001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:24:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074153984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:24:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784083964000,"timestamp_ms":1784083964000,"timestamp_seconds":1784083964,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b0e060"} 
[2026-07-15 08:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:24:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-15 08:24:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:24:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":133165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":133165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":133165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:24:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725493760001,"66":25201,"250":206,"85":12544,"24":0,"16":347094023929856000,"45":9192620920074153984},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725493760001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:24:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:24:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:24:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074153984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725493760001,"power":25201,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074153984}} 
[2026-07-15 08:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":133165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:24:13] local.INFO: GPS data processed {"connection_id":133165,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:24:13] local.INFO: Acknowledgment sent {"connection_id":133165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:24:13] local.INFO: TCP Data received {"connection_id":132315,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b03868012d7acdc005e412b0000c00a12c..."} 
[2026-07-15 08:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b03868012d7acdc005e412b0000c00a12c..."} 
[2026-07-15 08:24:13] local.INFO: Processing buffer {"connection_id":132315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b03868012d7acdc005e412b0000c00a12c..."} 
[2026-07-15 08:24:13] local.INFO: Packet analysis {"connection_id":132315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b0"} 
[2026-07-15 08:24:13] local.INFO: Extracted packet for processing {"connection_id":132315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b0"} 
[2026-07-15 08:24:13] local.INFO: GPS Element Parsed {"raw_longitude":763022784,"raw_latitude":98833072,"longitude_deg":76.3022784,"latitude_deg":9.8833072,"altitude":12,"angle":161,"satellites":44,"speed":7,"hex_longitude":"2d7acdc0","hex_latitude":"05e412b0","is_valid_coordinates":true} 
[2026-07-15 08:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725480960001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106282371648585728,"note":"Value kept but may cause issues"} 
[2026-07-15 08:24:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848517761921722368,"note":"Value kept but may cause issues"} 
[2026-07-15 08:24:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784083921000,"timestamp_ms":1784083921000,"timestamp_seconds":1784083921,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b03868"} 
[2026-07-15 08:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:24:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-15 08:24:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:24:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:24:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725480960001,"66":13319,"97":206,"85":15104,"24":7,"16":106282371648585728,"45":8848517761921722368},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 08:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725480960001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:24:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 08:24:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 08:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106282371648585728,"km_value":106282371648585.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:24:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848517761921722368,"description":"Unknown IO ID 45"} 
[2026-07-15 08:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725480960001,"power":13319,"unknown_97":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8848517761921722368}} 
[2026-07-15 08:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":132315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489944,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:24:13] local.INFO: GPS data processed {"connection_id":132315,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:24:13] local.INFO: Acknowledgment sent {"connection_id":132315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:24:28] local.INFO: TCP Data received {"connection_id":134525,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134525,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:24:28] local.INFO: Processing buffer {"connection_id":134525,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:24:28] local.INFO: IMEI packet received {"connection_id":134525,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 08:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":134525,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:24:29] local.INFO: TCP Data received {"connection_id":134525,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134525,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:24:29] local.INFO: Processing buffer {"connection_id":134525,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:24:29] local.INFO: IMEI packet received {"connection_id":134525,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":134525,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:24:29] local.INFO: TCP Data received {"connection_id":134526,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134526,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:24:29] local.INFO: Processing buffer {"connection_id":134526,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:24:29] local.INFO: IMEI packet received {"connection_id":134526,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 08:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":134526,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:24:30] local.INFO: TCP Data received {"connection_id":134525,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134525,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:24:30] local.INFO: Processing buffer {"connection_id":134525,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:24:30] local.INFO: IMEI packet received {"connection_id":134525,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":134525,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:24:32] local.INFO: TCP Data received {"connection_id":134525,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134525,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:24:32] local.INFO: Processing buffer {"connection_id":134525,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:24:32] local.INFO: IMEI packet received {"connection_id":134525,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":134525,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:24:35] local.INFO: TCP Data received {"connection_id":134526,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134526,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:24:35] local.INFO: Processing buffer {"connection_id":134526,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:24:35] local.INFO: IMEI packet received {"connection_id":134526,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":134526,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:24:35] local.INFO: TCP Data received {"connection_id":134526,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b23050012d0bcd800702a8c80015006106..."} 
[2026-07-15 08:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b23050012d0bcd800702a8c80015006106..."} 
[2026-07-15 08:24:35] local.INFO: Processing buffer {"connection_id":134526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b23050012d0bcd800702a8c80015006106..."} 
[2026-07-15 08:24:35] local.INFO: Packet analysis {"connection_id":134526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b2"} 
[2026-07-15 08:24:35] local.INFO: Extracted packet for processing {"connection_id":134526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b2"} 
[2026-07-15 08:24:35] local.INFO: GPS Element Parsed {"raw_longitude":755748224,"raw_latitude":117614792,"longitude_deg":75.5748224,"latitude_deg":11.7614792,"altitude":21,"angle":97,"satellites":6,"speed":11,"hex_longitude":"2d0bcd80","hex_latitude":"0702a8c8","is_valid_coordinates":true} 
[2026-07-15 08:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725513984001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24544136073838592,"note":"Value kept but may cause issues"} 
[2026-07-15 08:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":846536022566504448,"note":"Value kept but may cause issues"} 
[2026-07-15 08:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784084050000,"timestamp_ms":1784084050000,"timestamp_seconds":1784084050,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b23050"} 
[2026-07-15 08:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:24:35] 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-07-15 08:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-15 08:24:35] 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-07-15 08:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":134526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":134526,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":134526,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725513984001,"66":14559,"17":206,"94":11008,"24":11,"16":24544136073838592,"45":846536022566504448},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-15 08:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725513984001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:24:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 08:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24544136073838592,"km_value":24544136073838.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":846536022566504448,"description":"Unknown IO ID 45"} 
[2026-07-15 08:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725513984001,"power":14559,"axis_x":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":846536022566504448}} 
[2026-07-15 08:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":134526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489945,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:24:36] local.INFO: GPS data processed {"connection_id":134526,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:24:36] local.INFO: Acknowledgment sent {"connection_id":134526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:24:41] local.INFO: TCP Data received {"connection_id":132139,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b220b00100000000000000000000000000..."} 
[2026-07-15 08:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b220b00100000000000000000000000000..."} 
[2026-07-15 08:24:41] local.INFO: Processing buffer {"connection_id":132139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b220b00100000000000000000000000000..."} 
[2026-07-15 08:24:41] local.INFO: Packet analysis {"connection_id":132139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b2"} 
[2026-07-15 08:24:41] local.INFO: Extracted packet for processing {"connection_id":132139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b2"} 
[2026-07-15 08:24: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-07-15 08:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6081553432051712,"note":"Value kept but may cause issues"} 
[2026-07-15 08:24:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 08:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784084046000,"timestamp_ms":1784084046000,"timestamp_seconds":1784084046,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b220b0"} 
[2026-07-15 08:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-15 08:24:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:24:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:24:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 08:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 08:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":132139,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 08:24:41] local.INFO: GPS data processed {"connection_id":132139,"processed":0,"errors":0,"total":1} 
[2026-07-15 08:24:41] local.INFO: Acknowledgment sent {"connection_id":132139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:24:44] local.INFO: TCP Data received {"connection_id":133165,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b13268012d7f934005afd9b8000001362d..."} 
[2026-07-15 08:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b13268012d7f934005afd9b8000001362d..."} 
[2026-07-15 08:24:44] local.INFO: Processing buffer {"connection_id":133165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b13268012d7f934005afd9b8000001362d..."} 
[2026-07-15 08:24:44] local.INFO: Packet analysis {"connection_id":133165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b1"} 
[2026-07-15 08:24:44] local.INFO: Extracted packet for processing {"connection_id":133165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b1"} 
[2026-07-15 08:24:44] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410616,"longitude_deg":76.3335488,"latitude_deg":9.5410616,"altitude":0,"angle":310,"satellites":45,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afd9b8","is_valid_coordinates":true} 
[2026-07-15 08:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725494784001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094023929856000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562609664,"note":"Value kept but may cause issues"} 
[2026-07-15 08:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784083985000,"timestamp_ms":1784083985000,"timestamp_seconds":1784083985,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b13268"} 
[2026-07-15 08:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:24:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-15 08:24:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:24:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":133165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":133165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":133165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:24:44] 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-07-15 08:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725494784001,"66":27767,"250":206,"85":12544,"24":0,"16":347094023929856000,"45":9192761657562609664},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725494784001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:24:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:24:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094023929856000,"km_value":347094023929856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562609664,"description":"Unknown IO ID 45"} 
[2026-07-15 08:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725494784001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562609664}} 
[2026-07-15 08:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":133165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:24:44] local.INFO: GPS data processed {"connection_id":133165,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:24:44] local.INFO: Acknowledgment sent {"connection_id":133165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:25:02] local.INFO: TCP Data received {"connection_id":132316,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:25:02] local.INFO: Processing buffer {"connection_id":132316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:25:02] local.INFO: IMEI packet received {"connection_id":132316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":132316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:25:06] local.INFO: TCP Data received {"connection_id":134526,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b243d8012d0bd2800702a8c00015005506..."} 
[2026-07-15 08:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b243d8012d0bd2800702a8c00015005506..."} 
[2026-07-15 08:25:06] local.INFO: Processing buffer {"connection_id":134526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b243d8012d0bd2800702a8c00015005506..."} 
[2026-07-15 08:25:06] local.INFO: Packet analysis {"connection_id":134526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b2"} 
[2026-07-15 08:25:06] local.INFO: Extracted packet for processing {"connection_id":134526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b2"} 
[2026-07-15 08:25:06] local.INFO: GPS Element Parsed {"raw_longitude":755749504,"raw_latitude":117614784,"longitude_deg":75.5749504,"latitude_deg":11.7614784,"altitude":21,"angle":85,"satellites":6,"speed":10,"hex_longitude":"2d0bd280","hex_latitude":"0702a8c0","is_valid_coordinates":true} 
[2026-07-15 08:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725516800001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24544196203380736,"note":"Value kept but may cause issues"} 
[2026-07-15 08:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":850476672240633856,"note":"Value kept but may cause issues"} 
[2026-07-15 08:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784084055000,"timestamp_ms":1784084055000,"timestamp_seconds":1784084055,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b243d8"} 
[2026-07-15 08:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-15 08:25:06] 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-07-15 08:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":134526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":134526,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":134526,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725516800001,"66":14352,"17":206,"94":11008,"24":10,"16":24544196203380736,"45":850476672240633856},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-15 08:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725516800001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:25:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 08:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24544196203380736,"km_value":24544196203380.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":850476672240633856,"description":"Unknown IO ID 45"} 
[2026-07-15 08:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725516800001,"power":14352,"axis_x":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":850476672240633856}} 
[2026-07-15 08:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":134526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489947,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:25:06] local.INFO: GPS data processed {"connection_id":134526,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:25:06] local.INFO: Acknowledgment sent {"connection_id":134526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:25:07] local.INFO: TCP Data received {"connection_id":132316,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:25:07] local.INFO: Processing buffer {"connection_id":132316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:25:07] local.INFO: IMEI packet received {"connection_id":132316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":132316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:25:08] local.INFO: TCP Data received {"connection_id":132316,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b18858012d7f900005afd7c0000001362e..."} 
[2026-07-15 08:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b18858012d7f900005afd7c0000001362e..."} 
[2026-07-15 08:25:08] local.INFO: Processing buffer {"connection_id":132316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b18858012d7f900005afd7c0000001362e..."} 
[2026-07-15 08:25:08] local.INFO: Packet analysis {"connection_id":132316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b1"} 
[2026-07-15 08:25:08] local.INFO: Extracted packet for processing {"connection_id":132316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b1"} 
[2026-07-15 08:25:08] local.INFO: GPS Element Parsed {"raw_longitude":763334656,"raw_latitude":95410112,"longitude_deg":76.3334656,"latitude_deg":9.5410112,"altitude":0,"angle":310,"satellites":46,"speed":0,"hex_longitude":"2d7f9000","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-15 08:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725500160001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094071174496256,"note":"Value kept but may cause issues"} 
[2026-07-15 08:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562609664,"note":"Value kept but may cause issues"} 
[2026-07-15 08:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784084007000,"timestamp_ms":1784084007000,"timestamp_seconds":1784084007,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b18858"} 
[2026-07-15 08:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 08:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725500160001,"66":27745,"250":206,"85":12544,"24":0,"16":347094071174496256,"45":9192761657562609664},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725500160001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:25:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:25:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094071174496256,"km_value":347094071174496.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562609664,"description":"Unknown IO ID 45"} 
[2026-07-15 08:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725500160001,"power":27745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562609664}} 
[2026-07-15 08:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":132316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:25:08] local.INFO: GPS data processed {"connection_id":132316,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:25:08] local.INFO: Acknowledgment sent {"connection_id":132316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:25:12] local.INFO: TCP Data received {"connection_id":132139,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b272b80100000000000000000000000000..."} 
[2026-07-15 08:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b272b80100000000000000000000000000..."} 
[2026-07-15 08:25:12] local.INFO: Processing buffer {"connection_id":132139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b272b80100000000000000000000000000..."} 
[2026-07-15 08:25:12] local.INFO: Packet analysis {"connection_id":132139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b2"} 
[2026-07-15 08:25:12] local.INFO: Extracted packet for processing {"connection_id":132139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b2"} 
[2026-07-15 08:25: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-07-15 08:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6081553432051712,"note":"Value kept but may cause issues"} 
[2026-07-15 08:25:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 08:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784084067000,"timestamp_ms":1784084067000,"timestamp_seconds":1784084067,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b272b8"} 
[2026-07-15 08:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:25: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-07-15 08:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-15 08:25:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:25:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 08:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 08:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":132139,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 08:25:12] local.INFO: GPS data processed {"connection_id":132139,"processed":0,"errors":0,"total":1} 
[2026-07-15 08:25:12] local.INFO: Acknowledgment sent {"connection_id":132139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:25:32] local.INFO: TCP Data received {"connection_id":132317,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132317,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:25:32] local.INFO: Processing buffer {"connection_id":132317,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:25:32] local.INFO: IMEI packet received {"connection_id":132317,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 08:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":132317,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:25:34] local.INFO: TCP Data received {"connection_id":132317,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132317,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:25:34] local.INFO: Processing buffer {"connection_id":132317,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:25:34] local.INFO: IMEI packet received {"connection_id":132317,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":132317,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:25:37] local.INFO: TCP Data received {"connection_id":132317,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132317,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:25:37] local.INFO: Processing buffer {"connection_id":132317,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:25:37] local.INFO: IMEI packet received {"connection_id":132317,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":132317,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:25:37] local.INFO: TCP Data received {"connection_id":132317,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b25378012d0bd6c00702a8c80014006a06..."} 
[2026-07-15 08:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b25378012d0bd6c00702a8c80014006a06..."} 
[2026-07-15 08:25:37] local.INFO: Processing buffer {"connection_id":132317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b25378012d0bd6c00702a8c80014006a06..."} 
[2026-07-15 08:25:37] local.INFO: Packet analysis {"connection_id":132317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b2"} 
[2026-07-15 08:25:37] local.INFO: Extracted packet for processing {"connection_id":132317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b2"} 
[2026-07-15 08:25:37] local.INFO: GPS Element Parsed {"raw_longitude":755750592,"raw_latitude":117614792,"longitude_deg":75.5750592,"latitude_deg":11.7614792,"altitude":20,"angle":106,"satellites":6,"speed":10,"hex_longitude":"2d0bd6c0","hex_latitude":"0702a8c8","is_valid_coordinates":true} 
[2026-07-15 08:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725518080001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24544252037955584,"note":"Value kept but may cause issues"} 
[2026-07-15 08:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":851884047124185088,"note":"Value kept but may cause issues"} 
[2026-07-15 08:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784084059000,"timestamp_ms":1784084059000,"timestamp_seconds":1784084059,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b25378"} 
[2026-07-15 08:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-15 08:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733142016,"note":"Value kept but may cause issues"} 
[2026-07-15 08:25:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-15 08:25:37] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2432696320,"note":"Value kept but may cause issues"} 
[2026-07-15 08:25:37] local.WARNING: Large IO value detected {"io_id":168,"raw_value":84736803500130982,"note":"Value kept but may cause issues"} 
[2026-07-15 08:25:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-15 08:25:37] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503974135463936,"note":"Value kept but may cause issues"} 
[2026-07-15 08:25:37] local.WARNING: Large IO value detected {"io_id":99,"raw_value":2984902657,"note":"Value kept but may cause issues"} 
[2026-07-15 08:25:37] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-15 08:25:37] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637216025501201,"note":"Value kept but may cause issues"} 
[2026-07-15 08:25:37] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5332525845896823040,"note":"Value kept but may cause issues"} 
[2026-07-15 08:25:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-07-15 08:25:37] local.WARNING: Large IO value detected {"io_id":176,"raw_value":3221684900,"note":"Value kept but may cause issues"} 
[2026-07-15 08:25:37] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3003174238,"note":"Value kept but may cause issues"} 
[2026-07-15 08:25:37] local.WARNING: Large IO value detected {"io_id":216,"raw_value":4222730341715456,"note":"Value kept but may cause issues"} 
[2026-07-15 08:25:37] local.WARNING: Large IO value detected {"io_id":11,"raw_value":-6214959777710604274,"note":"Value kept but may cause issues"} 
[2026-07-15 08:25:37] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,17,94,24,241,157,16,50,159,48,45,128,168,21,6,10,66,5,166,253,64,1,240,223,227,99,2,4,113,205,9,226,176,40,239,56,87,7,15,13,206,216,11],"length":628,"final_offset":758,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-07-15 08:25:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1513302959055306752,"timestamp_seconds":1513302959055306.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 08:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132317,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132317,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725518080001,"66":14428,"37":206,"94":11008,"24":10,"16":24544252037955584,"45":851884047124185088},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-15 08:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725518080001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:25:37] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-15 08:25:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 08:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24544252037955584,"km_value":24544252037955.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":851884047124185088,"description":"Unknown IO ID 45"} 
[2026-07-15 08:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725518080001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":851884047124185088}} 
[2026-07-15 08:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":132317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489949,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:25:37] local.INFO: GPS data processed {"connection_id":132317,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:25:37] local.INFO: Acknowledgment sent {"connection_id":132317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:25:39] local.INFO: TCP Data received {"connection_id":132316,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b1da60012d7f900005afd7c0000001362e..."} 
[2026-07-15 08:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b1da60012d7f900005afd7c0000001362e..."} 
[2026-07-15 08:25:39] local.INFO: Processing buffer {"connection_id":132316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b1da60012d7f900005afd7c0000001362e..."} 
[2026-07-15 08:25:39] local.INFO: Packet analysis {"connection_id":132316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b1"} 
[2026-07-15 08:25:39] local.INFO: Extracted packet for processing {"connection_id":132316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b1"} 
[2026-07-15 08:25:39] local.INFO: GPS Element Parsed {"raw_longitude":763334656,"raw_latitude":95410112,"longitude_deg":76.3334656,"latitude_deg":9.5410112,"altitude":0,"angle":310,"satellites":46,"speed":0,"hex_longitude":"2d7f9000","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-15 08:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725505792001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094071174496256,"note":"Value kept but may cause issues"} 
[2026-07-15 08:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191846863888171008,"note":"Value kept but may cause issues"} 
[2026-07-15 08:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784084028000,"timestamp_ms":1784084028000,"timestamp_seconds":1784084028,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b1da60"} 
[2026-07-15 08:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-15 08:25:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725505792001,"66":27843,"250":206,"85":12544,"24":0,"16":347094071174496256,"45":9191846863888171008},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725505792001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:25:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:25:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094071174496256,"km_value":347094071174496.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191846863888171008,"description":"Unknown IO ID 45"} 
[2026-07-15 08:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725505792001,"power":27843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191846863888171008}} 
[2026-07-15 08:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":132316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:25:39] local.INFO: GPS data processed {"connection_id":132316,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:25:39] local.INFO: Acknowledgment sent {"connection_id":132316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:25:40] local.INFO: TCP Data received {"connection_id":133167,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 08:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133167,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 08:25:40] local.INFO: Processing buffer {"connection_id":133167,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 08:25:40] local.INFO: IMEI packet received {"connection_id":133167,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 08:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":133167,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:25:43] local.INFO: TCP Data received {"connection_id":132139,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b2c0d8012d1911c0072015300036000011..."} 
[2026-07-15 08:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b2c0d8012d1911c0072015300036000011..."} 
[2026-07-15 08:25:43] local.INFO: Processing buffer {"connection_id":132139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b2c0d8012d1911c0072015300036000011..."} 
[2026-07-15 08:25:43] local.INFO: Packet analysis {"connection_id":132139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b2"} 
[2026-07-15 08:25:43] local.INFO: Extracted packet for processing {"connection_id":132139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b2"} 
[2026-07-15 08:25:43] local.INFO: GPS Element Parsed {"raw_longitude":756617664,"raw_latitude":119543088,"longitude_deg":75.6617664,"latitude_deg":11.9543088,"altitude":54,"angle":0,"satellites":17,"speed":0,"hex_longitude":"2d1911c0","hex_latitude":"07201530","is_valid_coordinates":true} 
[2026-07-15 08:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6081562021986304,"note":"Value kept but may cause issues"} 
[2026-07-15 08:25:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 08:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784084087000,"timestamp_ms":1784084087000,"timestamp_seconds":1784084087,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b2c0d8"} 
[2026-07-15 08:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:25: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-07-15 08:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-15 08:25:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:25:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":132139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":132139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":132139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 08:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 08:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12885,"102":206,"83":41984,"24":0,"16":6081562021986304},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16]} 
[2026-07-15 08:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 08:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 08:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-15 08:25:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-15 08:25:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 08:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6081562021986304,"km_value":6081562021986.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:25:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12885,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null}} 
[2026-07-15 08:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":132139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:25:43] local.INFO: GPS data processed {"connection_id":132139,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:25:43] local.INFO: Acknowledgment sent {"connection_id":132139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:26:02] local.INFO: TCP Data received {"connection_id":134528,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:26:02] local.INFO: Processing buffer {"connection_id":134528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:26:02] local.INFO: IMEI packet received {"connection_id":134528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":134528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:26:07] local.INFO: TCP Data received {"connection_id":134528,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:26:07] local.INFO: Processing buffer {"connection_id":134528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:26:07] local.INFO: IMEI packet received {"connection_id":134528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":134528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:26:08] local.INFO: TCP Data received {"connection_id":134528,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b22c68012d7f900005afd7c0000001362f..."} 
[2026-07-15 08:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b22c68012d7f900005afd7c0000001362f..."} 
[2026-07-15 08:26:08] local.INFO: Processing buffer {"connection_id":134528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b22c68012d7f900005afd7c0000001362f..."} 
[2026-07-15 08:26:08] local.INFO: Packet analysis {"connection_id":134528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b2"} 
[2026-07-15 08:26:08] local.INFO: Extracted packet for processing {"connection_id":134528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b2"} 
[2026-07-15 08:26:08] local.INFO: GPS Element Parsed {"raw_longitude":763334656,"raw_latitude":95410112,"longitude_deg":76.3334656,"latitude_deg":9.5410112,"altitude":0,"angle":310,"satellites":47,"speed":0,"hex_longitude":"2d7f9000","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-15 08:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725511168001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094071174496256,"note":"Value kept but may cause issues"} 
[2026-07-15 08:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191846863888171008,"note":"Value kept but may cause issues"} 
[2026-07-15 08:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784084049000,"timestamp_ms":1784084049000,"timestamp_seconds":1784084049,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b22c68"} 
[2026-07-15 08:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-15 08:26:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:26:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725511168001,"66":28050,"250":206,"85":12544,"24":0,"16":347094071174496256,"45":9191846863888171008},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725511168001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:26:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:26:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094071174496256,"km_value":347094071174496.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191846863888171008,"description":"Unknown IO ID 45"} 
[2026-07-15 08:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725511168001,"power":28050,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191846863888171008}} 
[2026-07-15 08:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":134528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:26:08] local.INFO: GPS data processed {"connection_id":134528,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:26:08] local.INFO: Acknowledgment sent {"connection_id":134528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:26:08] local.INFO: TCP Data received {"connection_id":132317,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b38fe0012d0c29800702ae580003005109..."} 
[2026-07-15 08:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b38fe0012d0c29800702ae580003005109..."} 
[2026-07-15 08:26:08] local.INFO: Processing buffer {"connection_id":132317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b38fe0012d0c29800702ae580003005109..."} 
[2026-07-15 08:26:08] local.INFO: Packet analysis {"connection_id":132317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b3"} 
[2026-07-15 08:26:08] local.INFO: Extracted packet for processing {"connection_id":132317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b3"} 
[2026-07-15 08:26:08] local.INFO: GPS Element Parsed {"raw_longitude":755771776,"raw_latitude":117616216,"longitude_deg":75.5771776,"latitude_deg":11.7616216,"altitude":3,"angle":81,"satellites":9,"speed":6,"hex_longitude":"2d0c2980","hex_latitude":"0702ae58","is_valid_coordinates":true} 
[2026-07-15 08:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725539328001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24545321484812288,"note":"Value kept but may cause issues"} 
[2026-07-15 08:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875879788889141248,"note":"Value kept but may cause issues"} 
[2026-07-15 08:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784084140000,"timestamp_ms":1784084140000,"timestamp_seconds":1784084140,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b38fe0"} 
[2026-07-15 08:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-15 08:26:08] 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-07-15 08:26:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132317,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132317,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725539328001,"66":14559,"37":206,"94":11008,"24":6,"16":24545321484812288,"45":875879788889141248},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-15 08:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725539328001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:26:08] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-15 08:26:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 08:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24545321484812288,"km_value":24545321484812.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":875879788889141248,"description":"Unknown IO ID 45"} 
[2026-07-15 08:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725539328001,"power":14559,"unknown_37":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":875879788889141248}} 
[2026-07-15 08:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":132317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489953,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:26:09] local.INFO: GPS data processed {"connection_id":132317,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:26:09] local.INFO: Acknowledgment sent {"connection_id":132317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:26:14] local.INFO: TCP Data received {"connection_id":132139,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b312e0012d1911c0072014d80033000016..."} 
[2026-07-15 08:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b312e0012d1911c0072014d80033000016..."} 
[2026-07-15 08:26:14] local.INFO: Processing buffer {"connection_id":132139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b312e0012d1911c0072014d80033000016..."} 
[2026-07-15 08:26:14] local.INFO: Packet analysis {"connection_id":132139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b3"} 
[2026-07-15 08:26:14] local.INFO: Extracted packet for processing {"connection_id":132139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b3"} 
[2026-07-15 08:26:14] local.INFO: GPS Element Parsed {"raw_longitude":756617664,"raw_latitude":119543000,"longitude_deg":75.6617664,"latitude_deg":11.9543,"altitude":51,"angle":0,"satellites":22,"speed":0,"hex_longitude":"2d1911c0","hex_latitude":"072014d8","is_valid_coordinates":true} 
[2026-07-15 08:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725526272001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6081570611920896,"note":"Value kept but may cause issues"} 
[2026-07-15 08:26:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1806436062387843072,"note":"Value kept but may cause issues"} 
[2026-07-15 08:26:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784084108000,"timestamp_ms":1784084108000,"timestamp_seconds":1784084108,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b312e0"} 
[2026-07-15 08:26:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:26:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-15 08:26:14] 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-07-15 08:26:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:26:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":132139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":132139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":132139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:26:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 08:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 08:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725526272001,"66":12841,"102":206,"83":41984,"24":0,"16":6081570611920896,"45":1806436062387843072},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-15 08:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 08:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 08:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725526272001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:26:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-15 08:26:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 08:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6081570611920896,"km_value":6081570611920.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:26:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1806436062387843072,"description":"Unknown IO ID 45"} 
[2026-07-15 08:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725526272001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1806436062387843072}} 
[2026-07-15 08:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":132139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:26:14] local.INFO: GPS data processed {"connection_id":132139,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:26:14] local.INFO: Acknowledgment sent {"connection_id":132139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:26:30] local.INFO: TCP Data received {"connection_id":134529,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134529,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:26:30] local.INFO: Processing buffer {"connection_id":134529,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:26:30] local.INFO: IMEI packet received {"connection_id":134529,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 08:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":134529,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:26:34] local.INFO: TCP Data received {"connection_id":134529,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134529,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:26:34] local.INFO: Processing buffer {"connection_id":134529,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:26:34] local.INFO: IMEI packet received {"connection_id":134529,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":134529,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:26:35] local.INFO: TCP Data received {"connection_id":134529,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b3ce60012d0c2c400702af00000500400a..."} 
[2026-07-15 08:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b3ce60012d0c2c400702af00000500400a..."} 
[2026-07-15 08:26:35] local.INFO: Processing buffer {"connection_id":134529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b3ce60012d0c2c400702af00000500400a..."} 
[2026-07-15 08:26:35] local.INFO: Packet analysis {"connection_id":134529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b3"} 
[2026-07-15 08:26:35] local.INFO: Extracted packet for processing {"connection_id":134529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b3"} 
[2026-07-15 08:26:35] local.INFO: GPS Element Parsed {"raw_longitude":755772480,"raw_latitude":117616384,"longitude_deg":75.577248,"latitude_deg":11.7616384,"altitude":5,"angle":64,"satellites":10,"speed":4,"hex_longitude":"2d0c2c40","hex_latitude":"0702af00","is_valid_coordinates":true} 
[2026-07-15 08:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725539840001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24545360139517952,"note":"Value kept but may cause issues"} 
[2026-07-15 08:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876372370098378752,"note":"Value kept but may cause issues"} 
[2026-07-15 08:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784084156000,"timestamp_ms":1784084156000,"timestamp_seconds":1784084156,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b3ce60"} 
[2026-07-15 08:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-15 08:26:35] 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-07-15 08:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":134529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":134529,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":134529,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725539840001,"66":14548,"37":206,"94":11008,"24":4,"16":24545360139517952,"45":876372370098378752},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-15 08:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725539840001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:26:35] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-15 08:26:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 08:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24545360139517952,"km_value":24545360139517.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":876372370098378752,"description":"Unknown IO ID 45"} 
[2026-07-15 08:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725539840001,"power":14548,"unknown_37":206,"unknown_94":11008,"ignition":4,"odometer":null,"unknown_45":876372370098378752}} 
[2026-07-15 08:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":134529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489955,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:26:35] local.INFO: GPS data processed {"connection_id":134529,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:26:35] local.INFO: Acknowledgment sent {"connection_id":134529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:26:39] local.INFO: TCP Data received {"connection_id":134528,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b27e70012d7f900005afd7c0000001362f..."} 
[2026-07-15 08:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b27e70012d7f900005afd7c0000001362f..."} 
[2026-07-15 08:26:39] local.INFO: Processing buffer {"connection_id":134528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b27e70012d7f900005afd7c0000001362f..."} 
[2026-07-15 08:26:39] local.INFO: Packet analysis {"connection_id":134528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b2"} 
[2026-07-15 08:26:39] local.INFO: Extracted packet for processing {"connection_id":134528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b2"} 
[2026-07-15 08:26:39] local.INFO: GPS Element Parsed {"raw_longitude":763334656,"raw_latitude":95410112,"longitude_deg":76.3334656,"latitude_deg":9.5410112,"altitude":0,"angle":310,"satellites":47,"speed":0,"hex_longitude":"2d7f9000","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-15 08:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725516544001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094071174496256,"note":"Value kept but may cause issues"} 
[2026-07-15 08:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191846863888171008,"note":"Value kept but may cause issues"} 
[2026-07-15 08:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784084070000,"timestamp_ms":1784084070000,"timestamp_seconds":1784084070,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b27e70"} 
[2026-07-15 08:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:26:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-15 08:26:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:26:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725516544001,"66":27767,"250":206,"85":12544,"24":0,"16":347094071174496256,"45":9191846863888171008},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725516544001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:26:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:26:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094071174496256,"km_value":347094071174496.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191846863888171008,"description":"Unknown IO ID 45"} 
[2026-07-15 08:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725516544001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191846863888171008}} 
[2026-07-15 08:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":134528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:26:39] local.INFO: GPS data processed {"connection_id":134528,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:26:39] local.INFO: Acknowledgment sent {"connection_id":134528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:26:45] local.INFO: TCP Data received {"connection_id":132139,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b364e8012d1911c0072015080037000019..."} 
[2026-07-15 08:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b364e8012d1911c0072015080037000019..."} 
[2026-07-15 08:26:45] local.INFO: Processing buffer {"connection_id":132139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b364e8012d1911c0072015080037000019..."} 
[2026-07-15 08:26:45] local.INFO: Packet analysis {"connection_id":132139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b3"} 
[2026-07-15 08:26:45] local.INFO: Extracted packet for processing {"connection_id":132139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b3"} 
[2026-07-15 08:26:45] local.INFO: GPS Element Parsed {"raw_longitude":756617664,"raw_latitude":119543048,"longitude_deg":75.6617664,"latitude_deg":11.9543048,"altitude":55,"angle":0,"satellites":25,"speed":0,"hex_longitude":"2d1911c0","hex_latitude":"07201508","is_valid_coordinates":true} 
[2026-07-15 08:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725531648001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6081574906888192,"note":"Value kept but may cause issues"} 
[2026-07-15 08:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1806436062387820544,"note":"Value kept but may cause issues"} 
[2026-07-15 08:26:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784084129000,"timestamp_ms":1784084129000,"timestamp_seconds":1784084129,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b364e8"} 
[2026-07-15 08:26:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:26: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-15 08:26:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:26:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:26:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":132139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":132139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":132139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 08:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 08:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725531648001,"66":12809,"102":206,"83":41984,"24":0,"16":6081574906888192,"45":1806436062387820544},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-15 08:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 08:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 08:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725531648001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:26:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-15 08:26:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 08:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6081574906888192,"km_value":6081574906888.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1806436062387820544,"description":"Unknown IO ID 45"} 
[2026-07-15 08:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725531648001,"power":12809,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1806436062387820544}} 
[2026-07-15 08:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":132139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:26:45] local.INFO: GPS data processed {"connection_id":132139,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:26:45] local.INFO: Acknowledgment sent {"connection_id":132139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:27:02] local.INFO: TCP Data received {"connection_id":132142,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:27:02] local.INFO: Processing buffer {"connection_id":132142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:27:02] local.INFO: IMEI packet received {"connection_id":132142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":132142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:27:06] local.INFO: TCP Data received {"connection_id":134529,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b3eda0012d0c30000702b0780006004c0a..."} 
[2026-07-15 08:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b3eda0012d0c30000702b0780006004c0a..."} 
[2026-07-15 08:27:06] local.INFO: Processing buffer {"connection_id":134529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b3eda0012d0c30000702b0780006004c0a..."} 
[2026-07-15 08:27:06] local.INFO: Packet analysis {"connection_id":134529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b3"} 
[2026-07-15 08:27:06] local.INFO: Extracted packet for processing {"connection_id":134529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b3"} 
[2026-07-15 08:27:06] local.INFO: GPS Element Parsed {"raw_longitude":755773440,"raw_latitude":117616760,"longitude_deg":75.577344,"latitude_deg":11.761676,"altitude":6,"angle":76,"satellites":10,"speed":8,"hex_longitude":"2d0c3000","hex_latitude":"0702b078","is_valid_coordinates":true} 
[2026-07-15 08:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725543936001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24545407384158208,"note":"Value kept but may cause issues"} 
[2026-07-15 08:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":877146426284376064,"note":"Value kept but may cause issues"} 
[2026-07-15 08:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784084164000,"timestamp_ms":1784084164000,"timestamp_seconds":1784084164,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b3eda0"} 
[2026-07-15 08:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-15 08:27:06] 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-07-15 08:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":134529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":134529,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":134529,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725543936001,"66":14461,"37":206,"94":11008,"24":8,"16":24545407384158208,"45":877146426284376064},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-15 08:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725543936001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:27:06] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-15 08:27:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 08:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24545407384158208,"km_value":24545407384158.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":877146426284376064,"description":"Unknown IO ID 45"} 
[2026-07-15 08:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725543936001,"power":14461,"unknown_37":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":877146426284376064}} 
[2026-07-15 08:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":134529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489958,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:27:06] local.INFO: GPS data processed {"connection_id":134529,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:27:06] local.INFO: Acknowledgment sent {"connection_id":134529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:27:07] local.INFO: TCP Data received {"connection_id":132142,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:27:07] local.INFO: Processing buffer {"connection_id":132142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:27:07] local.INFO: IMEI packet received {"connection_id":132142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":132142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:27:07] local.INFO: TCP Data received {"connection_id":132142,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b2d078012d7f900005afd7c0000001362e..."} 
[2026-07-15 08:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b2d078012d7f900005afd7c0000001362e..."} 
[2026-07-15 08:27:07] local.INFO: Processing buffer {"connection_id":132142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b2d078012d7f900005afd7c0000001362e..."} 
[2026-07-15 08:27:07] local.INFO: Packet analysis {"connection_id":132142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b2"} 
[2026-07-15 08:27:07] local.INFO: Extracted packet for processing {"connection_id":132142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b2"} 
[2026-07-15 08:27:07] local.INFO: GPS Element Parsed {"raw_longitude":763334656,"raw_latitude":95410112,"longitude_deg":76.3334656,"latitude_deg":9.5410112,"altitude":0,"angle":310,"satellites":46,"speed":0,"hex_longitude":"2d7f9000","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-15 08:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725521920001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094071174496256,"note":"Value kept but may cause issues"} 
[2026-07-15 08:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191846863888171008,"note":"Value kept but may cause issues"} 
[2026-07-15 08:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784084091000,"timestamp_ms":1784084091000,"timestamp_seconds":1784084091,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b2d078"} 
[2026-07-15 08:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 08:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:27:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:27:07] 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-07-15 08:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725521920001,"66":27930,"250":206,"85":12544,"24":0,"16":347094071174496256,"45":9191846863888171008},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725521920001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:27:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:27:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094071174496256,"km_value":347094071174496.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191846863888171008,"description":"Unknown IO ID 45"} 
[2026-07-15 08:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725521920001,"power":27930,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191846863888171008}} 
[2026-07-15 08:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":132142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:27:07] local.INFO: GPS data processed {"connection_id":132142,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:27:07] local.INFO: Acknowledgment sent {"connection_id":132142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:27:16] local.INFO: TCP Data received {"connection_id":132139,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b3b6f0012d191180072014e0003700001c..."} 
[2026-07-15 08:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b3b6f0012d191180072014e0003700001c..."} 
[2026-07-15 08:27:16] local.INFO: Processing buffer {"connection_id":132139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b3b6f0012d191180072014e0003700001c..."} 
[2026-07-15 08:27:16] local.INFO: Packet analysis {"connection_id":132139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b3"} 
[2026-07-15 08:27:16] local.INFO: Extracted packet for processing {"connection_id":132139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b3"} 
[2026-07-15 08:27:16] local.INFO: GPS Element Parsed {"raw_longitude":756617600,"raw_latitude":119543008,"longitude_deg":75.66176,"latitude_deg":11.9543008,"altitude":55,"angle":0,"satellites":28,"speed":0,"hex_longitude":"2d191180","hex_latitude":"072014e0","is_valid_coordinates":true} 
[2026-07-15 08:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725537024001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6081583496822784,"note":"Value kept but may cause issues"} 
[2026-07-15 08:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1806436062387832832,"note":"Value kept but may cause issues"} 
[2026-07-15 08:27:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784084150000,"timestamp_ms":1784084150000,"timestamp_seconds":1784084150,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b3b6f0"} 
[2026-07-15 08:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:27: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-15 08:27:16] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-15 08:27:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-15 08:27:16] local.WARNING: Large IO value detected {"io_id":21,"raw_value":2602827776,"note":"Value kept but may cause issues"} 
[2026-07-15 08:27:16] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133468930441282,"note":"Value kept but may cause issues"} 
[2026-07-15 08:27:16] local.WARNING: Large IO value detected {"io_id":99,"raw_value":2988486657,"note":"Value kept but may cause issues"} 
[2026-07-15 08:27:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-07-15 08:27:16] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2818637824,"note":"Value kept but may cause issues"} 
[2026-07-15 08:27:16] local.WARNING: Large IO value detected {"io_id":55,"raw_value":5548660657911549523,"note":"Value kept but may cause issues"} 
[2026-07-15 08:27:16] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-15 08:27:16] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,155,159,18,45,192,20,51,22,10,66,21,54,17,114,1,240,193,227,99,4,113,205,206,239,2,55,164,36],"length":535,"final_offset":665,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-07-15 08:27:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963167779460218880,"timestamp_seconds":3963167779460219.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 08:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 08:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 08:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725537024001,"66":12765,"102":206,"83":41984,"24":0,"16":6081583496822784,"45":1806436062387832832},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-15 08:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 08:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 08:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725537024001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:27:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-15 08:27:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 08:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6081583496822784,"km_value":6081583496822.784,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1806436062387832832,"description":"Unknown IO ID 45"} 
[2026-07-15 08:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725537024001,"power":12765,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1806436062387832832}} 
[2026-07-15 08:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":132139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:27:16] local.INFO: GPS data processed {"connection_id":132139,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:27:16] local.INFO: Acknowledgment sent {"connection_id":132139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:27:29] local.INFO: TCP Data received {"connection_id":132319,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132319,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:27:29] local.INFO: Processing buffer {"connection_id":132319,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:27:29] local.INFO: IMEI packet received {"connection_id":132319,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 08:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":132319,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:27:35] local.INFO: TCP Data received {"connection_id":132319,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132319,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:27:35] local.INFO: Processing buffer {"connection_id":132319,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:27:35] local.INFO: IMEI packet received {"connection_id":132319,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":132319,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:27:35] local.INFO: TCP Data received {"connection_id":132319,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b3fd40012d0c34000702b0b0000700570a..."} 
[2026-07-15 08:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b3fd40012d0c34000702b0b0000700570a..."} 
[2026-07-15 08:27:35] local.INFO: Processing buffer {"connection_id":132319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b3fd40012d0c34000702b0b0000700570a..."} 
[2026-07-15 08:27:35] local.INFO: Packet analysis {"connection_id":132319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b3"} 
[2026-07-15 08:27:35] local.INFO: Extracted packet for processing {"connection_id":132319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b3"} 
[2026-07-15 08:27:35] local.INFO: GPS Element Parsed {"raw_longitude":755774464,"raw_latitude":117616816,"longitude_deg":75.5774464,"latitude_deg":11.7616816,"altitude":7,"angle":87,"satellites":10,"speed":9,"hex_longitude":"2d0c3400","hex_latitude":"0702b0b0","is_valid_coordinates":true} 
[2026-07-15 08:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725545984001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24545454628798464,"note":"Value kept but may cause issues"} 
[2026-07-15 08:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":878201957447137280,"note":"Value kept but may cause issues"} 
[2026-07-15 08:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784084168000,"timestamp_ms":1784084168000,"timestamp_seconds":1784084168,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b3fd40"} 
[2026-07-15 08:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-15 08:27:35] 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-07-15 08:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132319,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132319,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725545984001,"66":14461,"37":206,"94":11008,"24":9,"16":24545454628798464,"45":878201957447137280},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-15 08:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725545984001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:27:35] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-15 08:27:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 08:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24545454628798464,"km_value":24545454628798.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":878201957447137280,"description":"Unknown IO ID 45"} 
[2026-07-15 08:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725545984001,"power":14461,"unknown_37":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":878201957447137280}} 
[2026-07-15 08:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":132319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489961,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:27:36] local.INFO: GPS data processed {"connection_id":132319,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:27:36] local.INFO: Acknowledgment sent {"connection_id":132319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:27:39] local.INFO: TCP Data received {"connection_id":132142,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b32280012d7f900005afd7c0000001362e..."} 
[2026-07-15 08:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b32280012d7f900005afd7c0000001362e..."} 
[2026-07-15 08:27:39] local.INFO: Processing buffer {"connection_id":132142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b32280012d7f900005afd7c0000001362e..."} 
[2026-07-15 08:27:39] local.INFO: Packet analysis {"connection_id":132142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b3"} 
[2026-07-15 08:27:39] local.INFO: Extracted packet for processing {"connection_id":132142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b3"} 
[2026-07-15 08:27:39] local.INFO: GPS Element Parsed {"raw_longitude":763334656,"raw_latitude":95410112,"longitude_deg":76.3334656,"latitude_deg":9.5410112,"altitude":0,"angle":310,"satellites":46,"speed":0,"hex_longitude":"2d7f9000","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-15 08:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725527296001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094071174496256,"note":"Value kept but may cause issues"} 
[2026-07-15 08:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191846863888171008,"note":"Value kept but may cause issues"} 
[2026-07-15 08:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784084112000,"timestamp_ms":1784084112000,"timestamp_seconds":1784084112,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b32280"} 
[2026-07-15 08:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-15 08:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725527296001,"66":27930,"250":206,"85":12544,"24":0,"16":347094071174496256,"45":9191846863888171008},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725527296001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:27:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:27:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094071174496256,"km_value":347094071174496.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191846863888171008,"description":"Unknown IO ID 45"} 
[2026-07-15 08:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725527296001,"power":27930,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191846863888171008}} 
[2026-07-15 08:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":132142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:27:39] local.INFO: GPS data processed {"connection_id":132142,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:27:39] local.INFO: Acknowledgment sent {"connection_id":132142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:27:41] local.INFO: TCP Data received {"connection_id":133169,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:27:41] local.INFO: Processing buffer {"connection_id":133169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:27:41] local.INFO: IMEI packet received {"connection_id":133169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 08:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":133169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:27:42] local.INFO: TCP Data received {"connection_id":133169,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:27:42] local.INFO: Processing buffer {"connection_id":133169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:27:42] local.INFO: IMEI packet received {"connection_id":133169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 08:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":133169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:27:43] local.INFO: TCP Data received {"connection_id":133169,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:27:43] local.INFO: Processing buffer {"connection_id":133169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:27:43] local.INFO: IMEI packet received {"connection_id":133169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 08:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":133169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:27:43] local.INFO: TCP Data received {"connection_id":133169,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:27:43] local.INFO: Processing buffer {"connection_id":133169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:27:43] local.INFO: IMEI packet received {"connection_id":133169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 08:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":133169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:28:01] local.INFO: TCP Data received {"connection_id":132320,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:28:01] local.INFO: Processing buffer {"connection_id":132320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:28:01] local.INFO: IMEI packet received {"connection_id":132320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":132320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:28:06] local.INFO: TCP Data received {"connection_id":132319,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b40ce0012d0c37400702b0f80007004c0a..."} 
[2026-07-15 08:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b40ce0012d0c37400702b0f80007004c0a..."} 
[2026-07-15 08:28:06] local.INFO: Processing buffer {"connection_id":132319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b40ce0012d0c37400702b0f80007004c0a..."} 
[2026-07-15 08:28:06] local.INFO: Packet analysis {"connection_id":132319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b4"} 
[2026-07-15 08:28:06] local.INFO: Extracted packet for processing {"connection_id":132319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b4"} 
[2026-07-15 08:28:06] local.INFO: GPS Element Parsed {"raw_longitude":755775296,"raw_latitude":117616888,"longitude_deg":75.5775296,"latitude_deg":11.7616888,"altitude":7,"angle":76,"satellites":10,"speed":7,"hex_longitude":"2d0c3740","hex_latitude":"0702b0f8","is_valid_coordinates":true} 
[2026-07-15 08:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725547008001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24545497578471424,"note":"Value kept but may cause issues"} 
[2026-07-15 08:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":879327857353994240,"note":"Value kept but may cause issues"} 
[2026-07-15 08:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784084172000,"timestamp_ms":1784084172000,"timestamp_seconds":1784084172,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b40ce0"} 
[2026-07-15 08:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-15 08:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132319,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132319,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725547008001,"66":14450,"37":206,"94":11008,"24":7,"16":24545497578471424,"45":879327857353994240},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-15 08:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725547008001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:28:06] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-15 08:28:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 08:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24545497578471424,"km_value":24545497578471.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":879327857353994240,"description":"Unknown IO ID 45"} 
[2026-07-15 08:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725547008001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":879327857353994240}} 
[2026-07-15 08:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":132319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489963,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:28:06] local.INFO: GPS data processed {"connection_id":132319,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:28:06] local.INFO: Acknowledgment sent {"connection_id":132319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:28:07] local.INFO: TCP Data received {"connection_id":132320,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:28:07] local.INFO: Processing buffer {"connection_id":132320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:28:07] local.INFO: IMEI packet received {"connection_id":132320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":132320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:28:07] local.INFO: TCP Data received {"connection_id":132320,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b37488012d7f900005afd7c0000001362e..."} 
[2026-07-15 08:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b37488012d7f900005afd7c0000001362e..."} 
[2026-07-15 08:28:07] local.INFO: Processing buffer {"connection_id":132320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b37488012d7f900005afd7c0000001362e..."} 
[2026-07-15 08:28:07] local.INFO: Packet analysis {"connection_id":132320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b3"} 
[2026-07-15 08:28:07] local.INFO: Extracted packet for processing {"connection_id":132320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b3"} 
[2026-07-15 08:28:07] local.INFO: GPS Element Parsed {"raw_longitude":763334656,"raw_latitude":95410112,"longitude_deg":76.3334656,"latitude_deg":9.5410112,"altitude":0,"angle":310,"satellites":46,"speed":0,"hex_longitude":"2d7f9000","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-15 08:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725532672001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094071174496256,"note":"Value kept but may cause issues"} 
[2026-07-15 08:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191846863888171008,"note":"Value kept but may cause issues"} 
[2026-07-15 08:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784084133000,"timestamp_ms":1784084133000,"timestamp_seconds":1784084133,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b37488"} 
[2026-07-15 08:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-15 08:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:28:07] 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-07-15 08:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725532672001,"66":27908,"250":206,"85":12544,"24":0,"16":347094071174496256,"45":9191846863888171008},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725532672001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:28:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:28:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094071174496256,"km_value":347094071174496.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191846863888171008,"description":"Unknown IO ID 45"} 
[2026-07-15 08:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725532672001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191846863888171008}} 
[2026-07-15 08:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":132320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:28:07] local.INFO: GPS data processed {"connection_id":132320,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:28:07] local.INFO: Acknowledgment sent {"connection_id":132320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:28:30] local.INFO: TCP Data received {"connection_id":134530,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134530,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:28:30] local.INFO: Processing buffer {"connection_id":134530,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:28:30] local.INFO: IMEI packet received {"connection_id":134530,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 08:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":134530,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:28:35] local.INFO: TCP Data received {"connection_id":134530,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134530,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:28:35] local.INFO: Processing buffer {"connection_id":134530,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:28:35] local.INFO: IMEI packet received {"connection_id":134530,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":134530,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:28:35] local.INFO: TCP Data received {"connection_id":134530,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b42068012d0c3c400702b1480008005d0a..."} 
[2026-07-15 08:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b42068012d0c3c400702b1480008005d0a..."} 
[2026-07-15 08:28:35] local.INFO: Processing buffer {"connection_id":134530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b42068012d0c3c400702b1480008005d0a..."} 
[2026-07-15 08:28:35] local.INFO: Packet analysis {"connection_id":134530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b4"} 
[2026-07-15 08:28:35] local.INFO: Extracted packet for processing {"connection_id":134530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b4"} 
[2026-07-15 08:28:35] local.INFO: GPS Element Parsed {"raw_longitude":755776576,"raw_latitude":117616968,"longitude_deg":75.5776576,"latitude_deg":11.7616968,"altitude":8,"angle":93,"satellites":10,"speed":9,"hex_longitude":"2d0c3c40","hex_latitude":"0702b148","is_valid_coordinates":true} 
[2026-07-15 08:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725548032001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24545557708013568,"note":"Value kept but may cause issues"} 
[2026-07-15 08:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880242651028322304,"note":"Value kept but may cause issues"} 
[2026-07-15 08:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784084177000,"timestamp_ms":1784084177000,"timestamp_seconds":1784084177,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b42068"} 
[2026-07-15 08:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-15 08:28:35] 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-07-15 08:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":134530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":134530,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":134530,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725548032001,"66":14537,"37":206,"94":11008,"24":9,"16":24545557708013568,"45":880242651028322304},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-15 08:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725548032001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:28:35] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-15 08:28:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 08:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24545557708013568,"km_value":24545557708013.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":880242651028322304,"description":"Unknown IO ID 45"} 
[2026-07-15 08:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725548032001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":880242651028322304}} 
[2026-07-15 08:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":134530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489965,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:28:35] local.INFO: GPS data processed {"connection_id":134530,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:28:35] local.INFO: Acknowledgment sent {"connection_id":134530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:28:38] local.INFO: TCP Data received {"connection_id":132320,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b3c690012d7f900005afd7c0000001362d..."} 
[2026-07-15 08:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b3c690012d7f900005afd7c0000001362d..."} 
[2026-07-15 08:28:38] local.INFO: Processing buffer {"connection_id":132320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b3c690012d7f900005afd7c0000001362d..."} 
[2026-07-15 08:28:38] local.INFO: Packet analysis {"connection_id":132320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b3"} 
[2026-07-15 08:28:38] local.INFO: Extracted packet for processing {"connection_id":132320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b3"} 
[2026-07-15 08:28:38] local.INFO: GPS Element Parsed {"raw_longitude":763334656,"raw_latitude":95410112,"longitude_deg":76.3334656,"latitude_deg":9.5410112,"altitude":0,"angle":310,"satellites":45,"speed":0,"hex_longitude":"2d7f9000","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725538048001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094071174496256,"note":"Value kept but may cause issues"} 
[2026-07-15 08:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191846863888171008,"note":"Value kept but may cause issues"} 
[2026-07-15 08:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784084154000,"timestamp_ms":1784084154000,"timestamp_seconds":1784084154,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b3c690"} 
[2026-07-15 08:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 08:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08: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-07-15 08:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725538048001,"66":27930,"250":206,"85":12544,"24":0,"16":347094071174496256,"45":9191846863888171008},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725538048001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:28:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:28:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094071174496256,"km_value":347094071174496.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191846863888171008,"description":"Unknown IO ID 45"} 
[2026-07-15 08:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725538048001,"power":27930,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191846863888171008}} 
[2026-07-15 08:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":132320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:28:38] local.INFO: GPS data processed {"connection_id":132320,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:28:38] local.INFO: Acknowledgment sent {"connection_id":132320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:29:01] local.INFO: TCP Data received {"connection_id":132146,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:29:01] local.INFO: Processing buffer {"connection_id":132146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:29:01] local.INFO: IMEI packet received {"connection_id":132146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":132146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:29:06] local.INFO: TCP Data received {"connection_id":134530,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b42838012d0c3ec00702b1b00008004f0a..."} 
[2026-07-15 08:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b42838012d0c3ec00702b1b00008004f0a..."} 
[2026-07-15 08:29:06] local.INFO: Processing buffer {"connection_id":134530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b42838012d0c3ec00702b1b00008004f0a..."} 
[2026-07-15 08:29:06] local.INFO: Packet analysis {"connection_id":134530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b4"} 
[2026-07-15 08:29:06] local.INFO: Extracted packet for processing {"connection_id":134530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b4"} 
[2026-07-15 08:29:06] local.INFO: GPS Element Parsed {"raw_longitude":755777216,"raw_latitude":117617072,"longitude_deg":75.5777216,"latitude_deg":11.7617072,"altitude":8,"angle":79,"satellites":10,"speed":10,"hex_longitude":"2d0c3ec0","hex_latitude":"0702b1b0","is_valid_coordinates":true} 
[2026-07-15 08:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725549312001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24545587772784640,"note":"Value kept but may cause issues"} 
[2026-07-15 08:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881650025911896064,"note":"Value kept but may cause issues"} 
[2026-07-15 08:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784084179000,"timestamp_ms":1784084179000,"timestamp_seconds":1784084179,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b42838"} 
[2026-07-15 08:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-15 08:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":134530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":134530,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":134530,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725549312001,"66":14515,"37":206,"94":11008,"24":10,"16":24545587772784640,"45":881650025911896064},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-15 08:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725549312001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:29:06] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-15 08:29:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 08:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24545587772784640,"km_value":24545587772784.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":881650025911896064,"description":"Unknown IO ID 45"} 
[2026-07-15 08:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725549312001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":881650025911896064}} 
[2026-07-15 08:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":134530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489967,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:29:07] local.INFO: GPS data processed {"connection_id":134530,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:29:07] local.INFO: Acknowledgment sent {"connection_id":134530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:29:07] local.INFO: TCP Data received {"connection_id":132146,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:29:07] local.INFO: Processing buffer {"connection_id":132146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:29:07] local.INFO: IMEI packet received {"connection_id":132146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":132146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:29:07] local.INFO: TCP Data received {"connection_id":132146,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b41898012d7f900005afd7c0000001362c..."} 
[2026-07-15 08:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b41898012d7f900005afd7c0000001362c..."} 
[2026-07-15 08:29:07] local.INFO: Processing buffer {"connection_id":132146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b41898012d7f900005afd7c0000001362c..."} 
[2026-07-15 08:29:07] local.INFO: Packet analysis {"connection_id":132146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b4"} 
[2026-07-15 08:29:07] local.INFO: Extracted packet for processing {"connection_id":132146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b4"} 
[2026-07-15 08:29:07] local.INFO: GPS Element Parsed {"raw_longitude":763334656,"raw_latitude":95410112,"longitude_deg":76.3334656,"latitude_deg":9.5410112,"altitude":0,"angle":310,"satellites":44,"speed":0,"hex_longitude":"2d7f9000","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-15 08:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725543424001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094071174496256,"note":"Value kept but may cause issues"} 
[2026-07-15 08:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191846863888171008,"note":"Value kept but may cause issues"} 
[2026-07-15 08:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784084175000,"timestamp_ms":1784084175000,"timestamp_seconds":1784084175,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b41898"} 
[2026-07-15 08:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-15 08:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:29:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:29:07] 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-07-15 08:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725543424001,"66":28006,"250":206,"85":12544,"24":0,"16":347094071174496256,"45":9191846863888171008},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725543424001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:29:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:29:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094071174496256,"km_value":347094071174496.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191846863888171008,"description":"Unknown IO ID 45"} 
[2026-07-15 08:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725543424001,"power":28006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191846863888171008}} 
[2026-07-15 08:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":132146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:29:07] local.INFO: GPS data processed {"connection_id":132146,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:29:07] local.INFO: Acknowledgment sent {"connection_id":132146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:29:29] local.INFO: TCP Data received {"connection_id":132321,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132321,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:29:29] local.INFO: Processing buffer {"connection_id":132321,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:29:29] local.INFO: IMEI packet received {"connection_id":132321,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 08:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":132321,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:29:33] local.INFO: TCP Data received {"connection_id":132321,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132321,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:29:33] local.INFO: Processing buffer {"connection_id":132321,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:29:33] local.INFO: IMEI packet received {"connection_id":132321,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":132321,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:29:34] local.INFO: TCP Data received {"connection_id":132321,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132321,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:29:34] local.INFO: Processing buffer {"connection_id":132321,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:29:34] local.INFO: IMEI packet received {"connection_id":132321,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":132321,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:29:34] local.INFO: TCP Data received {"connection_id":134531,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134531,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:29:34] local.INFO: Processing buffer {"connection_id":134531,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:29:34] local.INFO: IMEI packet received {"connection_id":134531,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 08:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":134531,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:29:35] local.INFO: TCP Data received {"connection_id":132321,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b6e758012d0c6f400702b0e8000d00bf1d..."} 
[2026-07-15 08:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b6e758012d0c6f400702b0e8000d00bf1d..."} 
[2026-07-15 08:29:35] local.INFO: Processing buffer {"connection_id":132321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b6e758012d0c6f400702b0e8000d00bf1d..."} 
[2026-07-15 08:29:35] local.INFO: Packet analysis {"connection_id":132321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b6"} 
[2026-07-15 08:29:35] local.INFO: Extracted packet for processing {"connection_id":132321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b6"} 
[2026-07-15 08:29:35] local.INFO: GPS Element Parsed {"raw_longitude":755789632,"raw_latitude":117616872,"longitude_deg":75.5789632,"latitude_deg":11.7616872,"altitude":13,"angle":191,"satellites":29,"speed":3,"hex_longitude":"2d0c6f40","hex_latitude":"0702b0e8","is_valid_coordinates":true} 
[2026-07-15 08:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725595648001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24546197658140672,"note":"Value kept but may cause issues"} 
[2026-07-15 08:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":896005249724141568,"note":"Value kept but may cause issues"} 
[2026-07-15 08:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784084359000,"timestamp_ms":1784084359000,"timestamp_seconds":1784084359,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b6e758"} 
[2026-07-15 08:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-15 08:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132321,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132321,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725595648001,"66":14374,"249":206,"94":11008,"24":3,"16":24546197658140672,"45":896005249724141568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,94,24,16,45]} 
[2026-07-15 08:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:29:35] local.INFO: TCP Data received {"connection_id":134531,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b5be78012d7a7d4005e3d2900006010b2a..."} 
[2026-07-15 08:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725595648001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:29:35] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-15 08:29:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 08:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24546197658140672,"km_value":24546197658140.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":896005249724141568,"description":"Unknown IO ID 45"} 
[2026-07-15 08:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725595648001,"power":14374,"unknown_249":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":896005249724141568}} 
[2026-07-15 08:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b5be78012d7a7d4005e3d2900006010b2a..."} 
[2026-07-15 08:29:35] local.INFO: Processing buffer {"connection_id":134531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b5be78012d7a7d4005e3d2900006010b2a..."} 
[2026-07-15 08:29:35] local.INFO: Packet analysis {"connection_id":134531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b5"} 
[2026-07-15 08:29:35] local.INFO: Extracted packet for processing {"connection_id":134531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b5"} 
[2026-07-15 08:29:35] local.INFO: GPS Element Parsed {"raw_longitude":763002176,"raw_latitude":98816656,"longitude_deg":76.3002176,"latitude_deg":9.8816656,"altitude":6,"angle":267,"satellites":42,"speed":4,"hex_longitude":"2d7a7d40","hex_latitude":"05e3d290","is_valid_coordinates":true} 
[2026-07-15 08:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725571072001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106284201304653824,"note":"Value kept but may cause issues"} 
[2026-07-15 08:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8826914557454958592,"note":"Value kept but may cause issues"} 
[2026-07-15 08:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784084283000,"timestamp_ms":1784084283000,"timestamp_seconds":1784084283,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b5be78"} 
[2026-07-15 08:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-15 08:29: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-07-15 08:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":134531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":134531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":134531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725571072001,"66":13276,"47":206,"85":15104,"24":4,"16":106284201304653824,"45":8826914557454958592},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-07-15 08:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725571072001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:29:35] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-15 08:29:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 08:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106284201304653824,"km_value":106284201304653.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8826914557454958592,"description":"Unknown IO ID 45"} 
[2026-07-15 08:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725571072001,"power":13276,"unknown_47":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8826914557454958592}} 
[2026-07-15 08:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":134531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489969,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:29:35] local.INFO: GPS data processed {"connection_id":134531,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:29:35] local.INFO: Acknowledgment sent {"connection_id":134531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":132321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489970,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:29:35] local.INFO: GPS data processed {"connection_id":132321,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:29:35] local.INFO: Acknowledgment sent {"connection_id":132321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:29:38] local.INFO: TCP Data received {"connection_id":132146,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b46aa0012d7f900005afd7c0000001362d..."} 
[2026-07-15 08:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b46aa0012d7f900005afd7c0000001362d..."} 
[2026-07-15 08:29:38] local.INFO: Processing buffer {"connection_id":132146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b46aa0012d7f900005afd7c0000001362d..."} 
[2026-07-15 08:29:38] local.INFO: Packet analysis {"connection_id":132146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b4"} 
[2026-07-15 08:29:38] local.INFO: Extracted packet for processing {"connection_id":132146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b4"} 
[2026-07-15 08:29:38] local.INFO: GPS Element Parsed {"raw_longitude":763334656,"raw_latitude":95410112,"longitude_deg":76.3334656,"latitude_deg":9.5410112,"altitude":0,"angle":310,"satellites":45,"speed":0,"hex_longitude":"2d7f9000","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-15 08:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725548800001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094071174496256,"note":"Value kept but may cause issues"} 
[2026-07-15 08:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191846863888171008,"note":"Value kept but may cause issues"} 
[2026-07-15 08:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784084196000,"timestamp_ms":1784084196000,"timestamp_seconds":1784084196,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b46aa0"} 
[2026-07-15 08:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 08:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725548800001,"66":27995,"250":206,"85":12544,"24":0,"16":347094071174496256,"45":9191846863888171008},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725548800001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:29:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:29:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094071174496256,"km_value":347094071174496.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191846863888171008,"description":"Unknown IO ID 45"} 
[2026-07-15 08:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725548800001,"power":27995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191846863888171008}} 
[2026-07-15 08:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":132146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:29:38] local.INFO: GPS data processed {"connection_id":132146,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:29:38] local.INFO: Acknowledgment sent {"connection_id":132146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:30:06] local.INFO: TCP Data received {"connection_id":134531,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b5c260012d7a7d0005e3d220000600cd2a..."} 
[2026-07-15 08:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b5c260012d7a7d0005e3d220000600cd2a..."} 
[2026-07-15 08:30:06] local.INFO: Processing buffer {"connection_id":134531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b5c260012d7a7d0005e3d220000600cd2a..."} 
[2026-07-15 08:30:06] local.INFO: Packet analysis {"connection_id":134531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b5"} 
[2026-07-15 08:30:06] local.INFO: Extracted packet for processing {"connection_id":134531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b5"} 
[2026-07-15 08:30:06] local.INFO: GPS Element Parsed {"raw_longitude":763002112,"raw_latitude":98816544,"longitude_deg":76.3002112,"latitude_deg":9.8816544,"altitude":6,"angle":205,"satellites":42,"speed":5,"hex_longitude":"2d7a7d00","hex_latitude":"05e3d220","is_valid_coordinates":true} 
[2026-07-15 08:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725576448001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106284209894588416,"note":"Value kept but may cause issues"} 
[2026-07-15 08:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8826281238757281792,"note":"Value kept but may cause issues"} 
[2026-07-15 08:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784084284000,"timestamp_ms":1784084284000,"timestamp_seconds":1784084284,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b5c260"} 
[2026-07-15 08:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-15 08:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":134531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":134531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":134531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725576448001,"66":12961,"47":206,"85":15104,"24":5,"16":106284209894588416,"45":8826281238757281792},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-07-15 08:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725576448001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:30:06] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-15 08:30:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 08:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106284209894588416,"km_value":106284209894588.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8826281238757281792,"description":"Unknown IO ID 45"} 
[2026-07-15 08:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725576448001,"power":12961,"unknown_47":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8826281238757281792}} 
[2026-07-15 08:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":134531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489972,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:30:06] local.INFO: GPS data processed {"connection_id":134531,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:30:06] local.INFO: Acknowledgment sent {"connection_id":134531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:30:06] local.INFO: TCP Data received {"connection_id":132321,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b6fae0012d0c6f000702b128000d015a1d..."} 
[2026-07-15 08:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b6fae0012d0c6f000702b128000d015a1d..."} 
[2026-07-15 08:30:06] local.INFO: Processing buffer {"connection_id":132321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b6fae0012d0c6f000702b128000d015a1d..."} 
[2026-07-15 08:30:06] local.INFO: Packet analysis {"connection_id":132321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b6"} 
[2026-07-15 08:30:06] local.INFO: Extracted packet for processing {"connection_id":132321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b6"} 
[2026-07-15 08:30:06] local.INFO: GPS Element Parsed {"raw_longitude":755789568,"raw_latitude":117616936,"longitude_deg":75.5789568,"latitude_deg":11.7616936,"altitude":13,"angle":346,"satellites":29,"speed":1,"hex_longitude":"2d0c6f00","hex_latitude":"0702b128","is_valid_coordinates":true} 
[2026-07-15 08:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725595904001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24546210543042560,"note":"Value kept but may cause issues"} 
[2026-07-15 08:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":896005249724114944,"note":"Value kept but may cause issues"} 
[2026-07-15 08:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784084364000,"timestamp_ms":1784084364000,"timestamp_seconds":1784084364,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b6fae0"} 
[2026-07-15 08:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-15 08:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132321,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132321,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725595904001,"66":14309,"249":206,"94":11008,"24":1,"16":24546210543042560,"45":896005249724114944},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,94,24,16,45]} 
[2026-07-15 08:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725595904001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:30:06] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-15 08:30:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 08:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24546210543042560,"km_value":24546210543042.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":896005249724114944,"description":"Unknown IO ID 45"} 
[2026-07-15 08:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725595904001,"power":14309,"unknown_249":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":896005249724114944}} 
[2026-07-15 08:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":132321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489973,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:30:07] local.INFO: GPS data processed {"connection_id":132321,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:30:07] local.INFO: Acknowledgment sent {"connection_id":132321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:30:07] local.INFO: TCP Data received {"connection_id":134532,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:30:07] local.INFO: Processing buffer {"connection_id":134532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:30:07] local.INFO: IMEI packet received {"connection_id":134532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":134532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:30:11] local.INFO: TCP Data received {"connection_id":134532,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:30:11] local.INFO: Processing buffer {"connection_id":134532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:30:11] local.INFO: IMEI packet received {"connection_id":134532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":134532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:30:12] local.INFO: TCP Data received {"connection_id":134532,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b4bca8012d7f900005afd7c0000001362c..."} 
[2026-07-15 08:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b4bca8012d7f900005afd7c0000001362c..."} 
[2026-07-15 08:30:12] local.INFO: Processing buffer {"connection_id":134532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b4bca8012d7f900005afd7c0000001362c..."} 
[2026-07-15 08:30:12] local.INFO: Packet analysis {"connection_id":134532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b4"} 
[2026-07-15 08:30:12] local.INFO: Extracted packet for processing {"connection_id":134532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b4"} 
[2026-07-15 08:30:12] local.INFO: GPS Element Parsed {"raw_longitude":763334656,"raw_latitude":95410112,"longitude_deg":76.3334656,"latitude_deg":9.5410112,"altitude":0,"angle":310,"satellites":44,"speed":0,"hex_longitude":"2d7f9000","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-15 08:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725554176001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094071174496256,"note":"Value kept but may cause issues"} 
[2026-07-15 08:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191846863888171008,"note":"Value kept but may cause issues"} 
[2026-07-15 08:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784084217000,"timestamp_ms":1784084217000,"timestamp_seconds":1784084217,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b4bca8"} 
[2026-07-15 08:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-15 08:30:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":134532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":134532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":134532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:30:12] 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-07-15 08:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725554176001,"66":27995,"250":206,"85":12544,"24":0,"16":347094071174496256,"45":9191846863888171008},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725554176001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:30:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:30:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094071174496256,"km_value":347094071174496.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191846863888171008,"description":"Unknown IO ID 45"} 
[2026-07-15 08:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725554176001,"power":27995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191846863888171008}} 
[2026-07-15 08:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":134532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:30:12] local.INFO: GPS data processed {"connection_id":134532,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:30:12] local.INFO: Acknowledgment sent {"connection_id":134532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:30:17] local.INFO: TCP Data received {"connection_id":134532,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b50ac8012d7f900005afd7c0000001362c..."} 
[2026-07-15 08:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b50ac8012d7f900005afd7c0000001362c..."} 
[2026-07-15 08:30:17] local.INFO: Processing buffer {"connection_id":134532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b50ac8012d7f900005afd7c0000001362c..."} 
[2026-07-15 08:30:17] local.INFO: Packet analysis {"connection_id":134532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b5"} 
[2026-07-15 08:30:17] local.INFO: Extracted packet for processing {"connection_id":134532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b5"} 
[2026-07-15 08:30:17] local.INFO: GPS Element Parsed {"raw_longitude":763334656,"raw_latitude":95410112,"longitude_deg":76.3334656,"latitude_deg":9.5410112,"altitude":0,"angle":310,"satellites":44,"speed":0,"hex_longitude":"2d7f9000","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-15 08:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725559552001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094071174496256,"note":"Value kept but may cause issues"} 
[2026-07-15 08:30:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191846863888171008,"note":"Value kept but may cause issues"} 
[2026-07-15 08:30:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784084237000,"timestamp_ms":1784084237000,"timestamp_seconds":1784084237,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b50ac8"} 
[2026-07-15 08:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:30:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-15 08:30:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:30:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":134532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":134532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":134532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725559552001,"66":27995,"250":206,"85":12544,"24":0,"16":347094071174496256,"45":9191846863888171008},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725559552001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:30:17] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:30:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094071174496256,"km_value":347094071174496.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:30:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191846863888171008,"description":"Unknown IO ID 45"} 
[2026-07-15 08:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725559552001,"power":27995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191846863888171008}} 
[2026-07-15 08:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":134532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:30:17] local.INFO: GPS data processed {"connection_id":134532,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:30:17] local.INFO: Acknowledgment sent {"connection_id":134532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:30:29] local.INFO: TCP Data received {"connection_id":133170,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133170,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:30:29] local.INFO: Processing buffer {"connection_id":133170,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:30:29] local.INFO: IMEI packet received {"connection_id":133170,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 08:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":133170,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:30:32] local.INFO: TCP Data received {"connection_id":133170,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133170,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:30:32] local.INFO: Processing buffer {"connection_id":133170,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:30:32] local.INFO: IMEI packet received {"connection_id":133170,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":133170,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:30:34] local.INFO: TCP Data received {"connection_id":133170,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133170,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:30:34] local.INFO: Processing buffer {"connection_id":133170,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:30:34] local.INFO: IMEI packet received {"connection_id":133170,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":133170,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:30:35] local.INFO: TCP Data received {"connection_id":132322,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132322,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:30:35] local.INFO: Processing buffer {"connection_id":132322,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:30:35] local.INFO: IMEI packet received {"connection_id":132322,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 08:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":132322,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:30:35] local.INFO: TCP Data received {"connection_id":133170,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b61080012d7a7dc005e3d480000500cd2e..."} 
[2026-07-15 08:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b61080012d7a7dc005e3d480000500cd2e..."} 
[2026-07-15 08:30:35] local.INFO: Processing buffer {"connection_id":133170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b61080012d7a7dc005e3d480000500cd2e..."} 
[2026-07-15 08:30:35] local.INFO: Packet analysis {"connection_id":133170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b6"} 
[2026-07-15 08:30:35] local.INFO: Extracted packet for processing {"connection_id":133170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b6"} 
[2026-07-15 08:30:35] local.INFO: GPS Element Parsed {"raw_longitude":763002304,"raw_latitude":98817152,"longitude_deg":76.3002304,"latitude_deg":9.8817152,"altitude":5,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2d7a7dc0","hex_latitude":"05e3d480","is_valid_coordinates":true} 
[2026-07-15 08:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725576704001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106284270024130560,"note":"Value kept but may cause issues"} 
[2026-07-15 08:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8826210870013075456,"note":"Value kept but may cause issues"} 
[2026-07-15 08:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784084304000,"timestamp_ms":1784084304000,"timestamp_seconds":1784084304,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b61080"} 
[2026-07-15 08:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-15 08:30:35] 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-07-15 08:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":133170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":133170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":133170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725576704001,"66":12917,"47":206,"85":15104,"24":0,"16":106284270024130560,"45":8826210870013075456},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-07-15 08:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725576704001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:30:35] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-15 08:30:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 08:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106284270024130560,"km_value":106284270024130.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8826210870013075456,"description":"Unknown IO ID 45"} 
[2026-07-15 08:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725576704001,"power":12917,"unknown_47":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8826210870013075456}} 
[2026-07-15 08:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":133170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489976,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:30:35] local.INFO: GPS data processed {"connection_id":133170,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:30:35] local.INFO: Acknowledgment sent {"connection_id":133170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:30:40] local.INFO: TCP Data received {"connection_id":132322,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132322,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:30:40] local.INFO: Processing buffer {"connection_id":132322,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:30:40] local.INFO: IMEI packet received {"connection_id":132322,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":132322,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:30:40] local.INFO: TCP Data received {"connection_id":133170,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b66288012d7a7dc005e3d488000500cd28..."} 
[2026-07-15 08:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b66288012d7a7dc005e3d488000500cd28..."} 
[2026-07-15 08:30:40] local.INFO: Processing buffer {"connection_id":133170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b66288012d7a7dc005e3d488000500cd28..."} 
[2026-07-15 08:30:40] local.INFO: Packet analysis {"connection_id":133170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b6"} 
[2026-07-15 08:30:40] local.INFO: Extracted packet for processing {"connection_id":133170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b6"} 
[2026-07-15 08:30:40] local.INFO: GPS Element Parsed {"raw_longitude":763002304,"raw_latitude":98817160,"longitude_deg":76.3002304,"latitude_deg":9.881716,"altitude":5,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2d7a7dc0","hex_latitude":"05e3d488","is_valid_coordinates":true} 
[2026-07-15 08:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725581824001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106284274319097856,"note":"Value kept but may cause issues"} 
[2026-07-15 08:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8826421976245764096,"note":"Value kept but may cause issues"} 
[2026-07-15 08:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784084325000,"timestamp_ms":1784084325000,"timestamp_seconds":1784084325,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b66288"} 
[2026-07-15 08:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-15 08:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":133170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":133170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":133170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725581824001,"66":13059,"47":206,"85":15104,"24":0,"16":106284274319097856,"45":8826421976245764096},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-07-15 08:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725581824001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:30:40] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-15 08:30:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 08:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106284274319097856,"km_value":106284274319097.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8826421976245764096,"description":"Unknown IO ID 45"} 
[2026-07-15 08:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725581824001,"power":13059,"unknown_47":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8826421976245764096}} 
[2026-07-15 08:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":133170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489977,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:30:40] local.INFO: GPS data processed {"connection_id":133170,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:30:40] local.INFO: Acknowledgment sent {"connection_id":133170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:30:40] local.INFO: TCP Data received {"connection_id":132322,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b7b278012d0c4b800702b8a80012014c1e..."} 
[2026-07-15 08:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b7b278012d0c4b800702b8a80012014c1e..."} 
[2026-07-15 08:30:40] local.INFO: Processing buffer {"connection_id":132322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b7b278012d0c4b800702b8a80012014c1e..."} 
[2026-07-15 08:30:40] local.INFO: Packet analysis {"connection_id":132322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b7"} 
[2026-07-15 08:30:40] local.INFO: Extracted packet for processing {"connection_id":132322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b7"} 
[2026-07-15 08:30:40] local.INFO: GPS Element Parsed {"raw_longitude":755780480,"raw_latitude":117618856,"longitude_deg":75.578048,"latitude_deg":11.7618856,"altitude":18,"angle":332,"satellites":30,"speed":8,"hex_longitude":"2d0c4b80","hex_latitude":"0702b8a8","is_valid_coordinates":true} 
[2026-07-15 08:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725607936001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24546695874347008,"note":"Value kept but may cause issues"} 
[2026-07-15 08:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886364731772049408,"note":"Value kept but may cause issues"} 
[2026-07-15 08:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784084411000,"timestamp_ms":1784084411000,"timestamp_seconds":1784084411,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b7b278"} 
[2026-07-15 08:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-15 08:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132322,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132322,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725607936001,"66":14548,"37":206,"94":11008,"24":8,"16":24546695874347008,"45":886364731772049408},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-15 08:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725607936001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:30:40] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-15 08:30:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 08:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24546695874347008,"km_value":24546695874347.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":886364731772049408,"description":"Unknown IO ID 45"} 
[2026-07-15 08:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725607936001,"power":14548,"unknown_37":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":886364731772049408}} 
[2026-07-15 08:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":132322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489978,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:30:40] local.INFO: GPS data processed {"connection_id":132322,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:30:40] local.INFO: Acknowledgment sent {"connection_id":132322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:30:43] local.INFO: TCP Data received {"connection_id":132322,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b7dd70012d0c45000702c3f80013013a1e..."} 
[2026-07-15 08:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b7dd70012d0c45000702c3f80013013a1e..."} 
[2026-07-15 08:30:43] local.INFO: Processing buffer {"connection_id":132322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b7dd70012d0c45000702c3f80013013a1e..."} 
[2026-07-15 08:30:43] local.INFO: Packet analysis {"connection_id":132322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b7"} 
[2026-07-15 08:30:43] local.INFO: Extracted packet for processing {"connection_id":132322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b7"} 
[2026-07-15 08:30:43] local.INFO: GPS Element Parsed {"raw_longitude":755778816,"raw_latitude":117621752,"longitude_deg":75.5778816,"latitude_deg":11.7621752,"altitude":19,"angle":314,"satellites":30,"speed":7,"hex_longitude":"2d0c4500","hex_latitude":"0702c3f8","is_valid_coordinates":true} 
[2026-07-15 08:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725609216001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24546854788136960,"note":"Value kept but may cause issues"} 
[2026-07-15 08:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885942519307216896,"note":"Value kept but may cause issues"} 
[2026-07-15 08:30:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784084422000,"timestamp_ms":1784084422000,"timestamp_seconds":1784084422,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b7dd70"} 
[2026-07-15 08:30:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:30:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-15 08:30:43] 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-07-15 08: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-07-15 08:30:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":132322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":132322,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":132322,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:30:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725609216001,"66":14678,"37":206,"94":11008,"24":7,"16":24546854788136960,"45":885942519307216896},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-15 08:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725609216001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:30:43] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-15 08:30:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 08:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24546854788136960,"km_value":24546854788136.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":885942519307216896,"description":"Unknown IO ID 45"} 
[2026-07-15 08:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725609216001,"power":14678,"unknown_37":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":885942519307216896}} 
[2026-07-15 08:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":132322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489979,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:30:43] local.INFO: GPS data processed {"connection_id":132322,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:30:43] local.INFO: Acknowledgment sent {"connection_id":132322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:31:02] local.INFO: TCP Data received {"connection_id":133171,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:31:02] local.INFO: Processing buffer {"connection_id":133171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:31:02] local.INFO: IMEI packet received {"connection_id":133171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":133171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:31:05] local.INFO: TCP Data received {"connection_id":132323,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 08:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132323,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 08:31:05] local.INFO: Processing buffer {"connection_id":132323,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 08:31:05] local.INFO: IMEI packet received {"connection_id":132323,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 08:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":132323,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:31:07] local.INFO: TCP Data received {"connection_id":133171,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:31:07] local.INFO: Processing buffer {"connection_id":133171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:31:07] local.INFO: IMEI packet received {"connection_id":133171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":133171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:31:08] local.INFO: TCP Data received {"connection_id":133171,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b55cd0012d7f900005afd7c00000013628..."} 
[2026-07-15 08:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b55cd0012d7f900005afd7c00000013628..."} 
[2026-07-15 08:31:08] local.INFO: Processing buffer {"connection_id":133171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b55cd0012d7f900005afd7c00000013628..."} 
[2026-07-15 08:31:08] local.INFO: Packet analysis {"connection_id":133171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b5"} 
[2026-07-15 08:31:08] local.INFO: Extracted packet for processing {"connection_id":133171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b5"} 
[2026-07-15 08:31:08] local.INFO: GPS Element Parsed {"raw_longitude":763334656,"raw_latitude":95410112,"longitude_deg":76.3334656,"latitude_deg":9.5410112,"altitude":0,"angle":310,"satellites":40,"speed":0,"hex_longitude":"2d7f9000","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-15 08:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725564672001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094071174496256,"note":"Value kept but may cause issues"} 
[2026-07-15 08:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191846863888171008,"note":"Value kept but may cause issues"} 
[2026-07-15 08:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784084258000,"timestamp_ms":1784084258000,"timestamp_seconds":1784084258,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b55cd0"} 
[2026-07-15 08:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-15 08:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":133171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":133171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":133171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:31:08] 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-07-15 08:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725564672001,"66":28028,"250":206,"85":12544,"24":0,"16":347094071174496256,"45":9191846863888171008},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725564672001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:31:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:31:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094071174496256,"km_value":347094071174496.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191846863888171008,"description":"Unknown IO ID 45"} 
[2026-07-15 08:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725564672001,"power":28028,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191846863888171008}} 
[2026-07-15 08:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":133171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:31:08] local.INFO: GPS data processed {"connection_id":133171,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:31:08] local.INFO: Acknowledgment sent {"connection_id":133171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:31:11] local.INFO: TCP Data received {"connection_id":133170,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b6b490012d7a7dc005e3d488000500cd2d..."} 
[2026-07-15 08:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b6b490012d7a7dc005e3d488000500cd2d..."} 
[2026-07-15 08:31:11] local.INFO: Processing buffer {"connection_id":133170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b6b490012d7a7dc005e3d488000500cd2d..."} 
[2026-07-15 08:31:11] local.INFO: Packet analysis {"connection_id":133170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b6"} 
[2026-07-15 08:31:11] local.INFO: Extracted packet for processing {"connection_id":133170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b6"} 
[2026-07-15 08:31:11] local.INFO: GPS Element Parsed {"raw_longitude":763002304,"raw_latitude":98817160,"longitude_deg":76.3002304,"latitude_deg":9.881716,"altitude":5,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2d7a7dc0","hex_latitude":"05e3d488","is_valid_coordinates":true} 
[2026-07-15 08:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725587200001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106284274319097856,"note":"Value kept but may cause issues"} 
[2026-07-15 08:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8826421976245766144,"note":"Value kept but may cause issues"} 
[2026-07-15 08:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784084346000,"timestamp_ms":1784084346000,"timestamp_seconds":1784084346,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b6b490"} 
[2026-07-15 08:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-15 08:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163365182806,"note":"Value kept but may cause issues"} 
[2026-07-15 08:31:11] local.WARNING: Large IO value detected {"io_id":47,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-07-15 08:31:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 08:31:11] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3942645760,"note":"Value kept but may cause issues"} 
[2026-07-15 08:31:11] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3822305280,"note":"Value kept but may cause issues"} 
[2026-07-15 08:31:11] local.WARNING: Large IO value detected {"io_id":227,"raw_value":3552575494,"note":"Value kept but may cause issues"} 
[2026-07-15 08:31:11] local.WARNING: Large IO value detected {"io_id":99,"raw_value":3043782657,"note":"Value kept but may cause issues"} 
[2026-07-15 08:31:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1445920974,"corrected_to":0} 
[2026-07-15 08:31:11] local.WARNING: Large IO value detected {"io_id":127,"raw_value":2147869651,"note":"Value kept but may cause issues"} 
[2026-07-15 08:31:11] local.WARNING: Large IO value detected {"io_id":121,"raw_value":2565079040,"note":"Value kept but may cause issues"} 
[2026-07-15 08:31:11] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,47,85,24,241,157,16,152,159,45,192,212,5,46,10,66,194,210,6,42,190,64,1,240,220,227,99,4,113,205,26,127,39,239,51,2,121],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1445920974,"validated":0}]} 
[2026-07-15 08:31:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360513541872025600,"timestamp_seconds":360513541872025.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 08:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":133170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":133170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":133170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725587200001,"66":12798,"47":206,"85":15104,"24":0,"16":106284274319097856,"45":8826421976245766144},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-07-15 08:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725587200001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:31:11] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-15 08:31:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 08:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106284274319097856,"km_value":106284274319097.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8826421976245766144,"description":"Unknown IO ID 45"} 
[2026-07-15 08:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725587200001,"power":12798,"unknown_47":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8826421976245766144}} 
[2026-07-15 08:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":133170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489981,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:31:11] local.INFO: GPS data processed {"connection_id":133170,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:31:11] local.INFO: Acknowledgment sent {"connection_id":133170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:31:14] local.INFO: TCP Data received {"connection_id":132322,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b7e158012d0c44800702c468001301291e..."} 
[2026-07-15 08:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b7e158012d0c44800702c468001301291e..."} 
[2026-07-15 08:31:14] local.INFO: Processing buffer {"connection_id":132322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b7e158012d0c44800702c468001301291e..."} 
[2026-07-15 08:31:14] local.INFO: Packet analysis {"connection_id":132322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b7"} 
[2026-07-15 08:31:14] local.INFO: Extracted packet for processing {"connection_id":132322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b7"} 
[2026-07-15 08:31:14] local.INFO: GPS Element Parsed {"raw_longitude":755778688,"raw_latitude":117621864,"longitude_deg":75.5778688,"latitude_deg":11.7621864,"altitude":19,"angle":297,"satellites":30,"speed":5,"hex_longitude":"2d0c4480","hex_latitude":"0702c468","is_valid_coordinates":true} 
[2026-07-15 08:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:31:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725612032001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:31:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24546863378071552,"note":"Value kept but may cause issues"} 
[2026-07-15 08:31:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884112931959339008,"note":"Value kept but may cause issues"} 
[2026-07-15 08:31:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:31:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784084423000,"timestamp_ms":1784084423000,"timestamp_seconds":1784084423,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b7e158"} 
[2026-07-15 08:31:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:31:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-15 08:31:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1257,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:31:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:31:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:31:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:31:14] local.INFO: Teltonika packet parsed successfully {"connection_id":132322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:31:14] local.INFO: Passing IMEI to GPS processor {"connection_id":132322,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:31:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":132322,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:31:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:31:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:31:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:31:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725612032001,"66":14678,"37":206,"94":11008,"24":5,"16":24546863378071552,"45":884112931959339008},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-15 08:31:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:31:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:31:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725612032001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:31:14] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-15 08:31:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 08:31:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24546863378071552,"km_value":24546863378071.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:31:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":884112931959339008,"description":"Unknown IO ID 45"} 
[2026-07-15 08:31:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725612032001,"power":14678,"unknown_37":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":884112931959339008}} 
[2026-07-15 08:31:14] local.INFO: DEBUG: GPS processor result {"connection_id":132322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489982,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:31:14] local.INFO: GPS data processed {"connection_id":132322,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:31:14] local.INFO: Acknowledgment sent {"connection_id":132322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:31:25] local.INFO: TCP Data received {"connection_id":133172,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133172,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:31:25] local.INFO: Processing buffer {"connection_id":133172,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:31:25] local.INFO: IMEI packet received {"connection_id":133172,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 08:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":133172,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:31:30] local.INFO: TCP Data received {"connection_id":133172,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133172,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:31:30] local.INFO: Processing buffer {"connection_id":133172,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:31:30] local.INFO: IMEI packet received {"connection_id":133172,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":133172,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:31:30] local.INFO: TCP Data received {"connection_id":132324,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:31:30] local.INFO: TCP Data received {"connection_id":133172,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132324,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:31:30] local.INFO: Processing buffer {"connection_id":132324,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:31:30] local.INFO: IMEI packet received {"connection_id":132324,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 08:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":132324,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133172,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:31:30] local.INFO: Processing buffer {"connection_id":133172,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:31:30] local.INFO: IMEI packet received {"connection_id":133172,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":133172,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:31:34] local.INFO: TCP Data received {"connection_id":133172,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133172,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:31:34] local.INFO: Processing buffer {"connection_id":133172,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:31:34] local.INFO: IMEI packet received {"connection_id":133172,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":133172,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:31:34] local.INFO: TCP Data received {"connection_id":133172,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b827a8012d0c43000702c4b0001301061e..."} 
[2026-07-15 08:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b827a8012d0c43000702c4b0001301061e..."} 
[2026-07-15 08:31:34] local.INFO: Processing buffer {"connection_id":133172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b827a8012d0c43000702c4b0001301061e..."} 
[2026-07-15 08:31:34] local.INFO: Packet analysis {"connection_id":133172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b8"} 
[2026-07-15 08:31:34] local.INFO: Extracted packet for processing {"connection_id":133172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b8"} 
[2026-07-15 08:31:34] local.INFO: GPS Element Parsed {"raw_longitude":755778304,"raw_latitude":117621936,"longitude_deg":75.5778304,"latitude_deg":11.7621936,"altitude":19,"angle":262,"satellites":30,"speed":3,"hex_longitude":"2d0c4300","hex_latitude":"0702c4b0","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725612288001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24546893442842624,"note":"Value kept but may cause issues"} 
[2026-07-15 08:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":883972194471012352,"note":"Value kept but may cause issues"} 
[2026-07-15 08:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784084441000,"timestamp_ms":1784084441000,"timestamp_seconds":1784084441,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b827a8"} 
[2026-07-15 08:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08: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":57,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-15 08:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1257,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08: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-07-15 08:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":133172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":133172,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":133172,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725612288001,"66":14254,"37":206,"94":11008,"24":3,"16":24546893442842624,"45":883972194471012352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-15 08:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725612288001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:31:34] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-15 08:31:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 08:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24546893442842624,"km_value":24546893442842.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":883972194471012352,"description":"Unknown IO ID 45"} 
[2026-07-15 08:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725612288001,"power":14254,"unknown_37":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":883972194471012352}} 
[2026-07-15 08:31:34] local.INFO: TCP Data received {"connection_id":132324,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132324,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:31:34] local.INFO: Processing buffer {"connection_id":132324,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:31:34] local.INFO: IMEI packet received {"connection_id":132324,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":132324,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":133172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489983,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:31:35] local.INFO: GPS data processed {"connection_id":133172,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:31:35] local.INFO: Acknowledgment sent {"connection_id":133172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:31:35] local.INFO: TCP Data received {"connection_id":132148,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 08:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132148,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 08:31:35] local.INFO: Processing buffer {"connection_id":132148,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 08:31:35] local.INFO: IMEI packet received {"connection_id":132148,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 08:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":132148,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:31:35] local.INFO: TCP Data received {"connection_id":133172,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b83360012d0c41c00702c498001300f91e..."} 
[2026-07-15 08:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b83360012d0c41c00702c498001300f91e..."} 
[2026-07-15 08:31:35] local.INFO: Processing buffer {"connection_id":133172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b83360012d0c41c00702c498001300f91e..."} 
[2026-07-15 08:31:35] local.INFO: Packet analysis {"connection_id":133172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b8"} 
[2026-07-15 08:31:35] local.INFO: Extracted packet for processing {"connection_id":133172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b8"} 
[2026-07-15 08:31:35] local.INFO: GPS Element Parsed {"raw_longitude":755777984,"raw_latitude":117621912,"longitude_deg":75.5777984,"latitude_deg":11.7621912,"altitude":19,"angle":249,"satellites":30,"speed":3,"hex_longitude":"2d0c41c0","hex_latitude":"0702c498","is_valid_coordinates":true} 
[2026-07-15 08:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725616896001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24546906327744512,"note":"Value kept but may cause issues"} 
[2026-07-15 08:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":883549982005964800,"note":"Value kept but may cause issues"} 
[2026-07-15 08:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784084444000,"timestamp_ms":1784084444000,"timestamp_seconds":1784084444,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b83360"} 
[2026-07-15 08:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-15 08:31: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-07-15 08:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":133172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":133172,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":133172,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725616896001,"66":14407,"37":206,"94":11008,"24":3,"16":24546906327744512,"45":883549982005964800},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-15 08:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725616896001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:31:35] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-15 08:31:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 08:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24546906327744512,"km_value":24546906327744.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":883549982005964800,"description":"Unknown IO ID 45"} 
[2026-07-15 08:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725616896001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":883549982005964800}} 
[2026-07-15 08:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":133172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489984,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:31:35] local.INFO: GPS data processed {"connection_id":133172,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:31:35] local.INFO: Acknowledgment sent {"connection_id":133172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:31:36] local.INFO: TCP Data received {"connection_id":132324,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b70698012d7a7dc005e3d488000500cd2c..."} 
[2026-07-15 08:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b70698012d7a7dc005e3d488000500cd2c..."} 
[2026-07-15 08:31:36] local.INFO: Processing buffer {"connection_id":132324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b70698012d7a7dc005e3d488000500cd2c..."} 
[2026-07-15 08:31:36] local.INFO: Packet analysis {"connection_id":132324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b7"} 
[2026-07-15 08:31:36] local.INFO: Extracted packet for processing {"connection_id":132324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b7"} 
[2026-07-15 08:31:36] local.INFO: GPS Element Parsed {"raw_longitude":763002304,"raw_latitude":98817160,"longitude_deg":76.3002304,"latitude_deg":9.881716,"altitude":5,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2d7a7dc0","hex_latitude":"05e3d488","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725592576001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106284274319097856,"note":"Value kept but may cause issues"} 
[2026-07-15 08:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8826421976245766144,"note":"Value kept but may cause issues"} 
[2026-07-15 08:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784084367000,"timestamp_ms":1784084367000,"timestamp_seconds":1784084367,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b70698"} 
[2026-07-15 08:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-15 08:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08: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-07-15 08:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725592576001,"66":12982,"47":206,"85":15104,"24":0,"16":106284274319097856,"45":8826421976245766144},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-07-15 08:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725592576001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:31:36] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-15 08:31:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 08:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106284274319097856,"km_value":106284274319097.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8826421976245766144,"description":"Unknown IO ID 45"} 
[2026-07-15 08:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725592576001,"power":12982,"unknown_47":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8826421976245766144}} 
[2026-07-15 08:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":132324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489985,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:31:36] local.INFO: GPS data processed {"connection_id":132324,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:31:36] local.INFO: Acknowledgment sent {"connection_id":132324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:31:38] local.INFO: TCP Data received {"connection_id":133171,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b5aed8012d7f900005afd7c0000001362c..."} 
[2026-07-15 08:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b5aed8012d7f900005afd7c0000001362c..."} 
[2026-07-15 08:31:38] local.INFO: Processing buffer {"connection_id":133171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b5aed8012d7f900005afd7c0000001362c..."} 
[2026-07-15 08:31:38] local.INFO: Packet analysis {"connection_id":133171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b5"} 
[2026-07-15 08:31:38] local.INFO: Extracted packet for processing {"connection_id":133171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b5"} 
[2026-07-15 08:31:38] local.INFO: GPS Element Parsed {"raw_longitude":763334656,"raw_latitude":95410112,"longitude_deg":76.3334656,"latitude_deg":9.5410112,"altitude":0,"angle":310,"satellites":44,"speed":0,"hex_longitude":"2d7f9000","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-15 08:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725570048001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094071174496256,"note":"Value kept but may cause issues"} 
[2026-07-15 08:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191846863888171008,"note":"Value kept but may cause issues"} 
[2026-07-15 08:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784084279000,"timestamp_ms":1784084279000,"timestamp_seconds":1784084279,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b5aed8"} 
[2026-07-15 08:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-15 08:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:31:38] 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-07-15 08:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725570048001,"66":27930,"250":206,"85":12544,"24":0,"16":347094071174496256,"45":9191846863888171008},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725570048001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:31:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:31:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094071174496256,"km_value":347094071174496.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191846863888171008,"description":"Unknown IO ID 45"} 
[2026-07-15 08:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725570048001,"power":27930,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191846863888171008}} 
[2026-07-15 08:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":133171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:31:38] local.INFO: GPS data processed {"connection_id":133171,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:31:38] local.INFO: Acknowledgment sent {"connection_id":133171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:32:02] local.INFO: TCP Data received {"connection_id":134533,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:32:02] local.INFO: Processing buffer {"connection_id":134533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:32:02] local.INFO: IMEI packet received {"connection_id":134533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":134533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:32:03] local.INFO: TCP Data received {"connection_id":134533,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:32:03] local.INFO: Processing buffer {"connection_id":134533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:32:03] local.INFO: IMEI packet received {"connection_id":134533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":134533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:32:06] local.INFO: TCP Data received {"connection_id":133172,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b919d8012d0c24800702b7d0001201511e..."} 
[2026-07-15 08:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b919d8012d0c24800702b7d0001201511e..."} 
[2026-07-15 08:32:06] local.INFO: Processing buffer {"connection_id":133172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b919d8012d0c24800702b7d0001201511e..."} 
[2026-07-15 08:32:06] local.INFO: Packet analysis {"connection_id":133172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b9"} 
[2026-07-15 08:32:06] local.INFO: Extracted packet for processing {"connection_id":133172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b9"} 
[2026-07-15 08:32:06] local.INFO: GPS Element Parsed {"raw_longitude":755770496,"raw_latitude":117618640,"longitude_deg":75.5770496,"latitude_deg":11.761864,"altitude":18,"angle":337,"satellites":30,"speed":11,"hex_longitude":"2d0c2480","hex_latitude":"0702b7d0","is_valid_coordinates":true} 
[2026-07-15 08:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725632512001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24547322939572224,"note":"Value kept but may cause issues"} 
[2026-07-15 08:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875105732703744000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784084503000,"timestamp_ms":1784084503000,"timestamp_seconds":1784084503,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b919d8"} 
[2026-07-15 08:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-15 08:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133172,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133172,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725632512001,"66":14461,"37":206,"94":11008,"24":11,"16":24547322939572224,"45":875105732703744000},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-15 08:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725632512001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:32:06] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-15 08:32:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 08:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24547322939572224,"km_value":24547322939572.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":875105732703744000,"description":"Unknown IO ID 45"} 
[2026-07-15 08:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725632512001,"power":14461,"unknown_37":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":875105732703744000}} 
[2026-07-15 08:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":133172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489987,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:32:06] local.INFO: GPS data processed {"connection_id":133172,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:32:06] local.INFO: Acknowledgment sent {"connection_id":133172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:32:07] local.INFO: TCP Data received {"connection_id":134533,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:32:07] local.INFO: Processing buffer {"connection_id":134533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:32:07] local.INFO: IMEI packet received {"connection_id":134533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":134533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:32:07] local.INFO: TCP Data received {"connection_id":132324,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b758a0012d7a7dc005e3d488000500cd2a..."} 
[2026-07-15 08:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b758a0012d7a7dc005e3d488000500cd2a..."} 
[2026-07-15 08:32:07] local.INFO: Processing buffer {"connection_id":132324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b758a0012d7a7dc005e3d488000500cd2a..."} 
[2026-07-15 08:32:07] local.INFO: Packet analysis {"connection_id":132324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b7"} 
[2026-07-15 08:32:07] local.INFO: Extracted packet for processing {"connection_id":132324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b7"} 
[2026-07-15 08:32:07] local.INFO: GPS Element Parsed {"raw_longitude":763002304,"raw_latitude":98817160,"longitude_deg":76.3002304,"latitude_deg":9.881716,"altitude":5,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2d7a7dc0","hex_latitude":"05e3d488","is_valid_coordinates":true} 
[2026-07-15 08:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725597952001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106284274319097856,"note":"Value kept but may cause issues"} 
[2026-07-15 08:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8826421976245766144,"note":"Value kept but may cause issues"} 
[2026-07-15 08:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784084388000,"timestamp_ms":1784084388000,"timestamp_seconds":1784084388,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b758a0"} 
[2026-07-15 08:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-15 08:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725597952001,"66":12939,"47":206,"85":15104,"24":0,"16":106284274319097856,"45":8826421976245766144},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-07-15 08:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725597952001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:32:07] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-15 08:32:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 08:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106284274319097856,"km_value":106284274319097.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8826421976245766144,"description":"Unknown IO ID 45"} 
[2026-07-15 08:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725597952001,"power":12939,"unknown_47":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8826421976245766144}} 
[2026-07-15 08:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":132324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489988,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:32:07] local.INFO: GPS data processed {"connection_id":132324,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:32:07] local.INFO: Acknowledgment sent {"connection_id":132324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:32:08] local.INFO: TCP Data received {"connection_id":134533,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b5e1a0012d7f930005afd9b8000000e62c..."} 
[2026-07-15 08:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b5e1a0012d7f930005afd9b8000000e62c..."} 
[2026-07-15 08:32:08] local.INFO: Processing buffer {"connection_id":134533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b5e1a0012d7f930005afd9b8000000e62c..."} 
[2026-07-15 08:32:08] local.INFO: Packet analysis {"connection_id":134533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b5"} 
[2026-07-15 08:32:08] local.INFO: Extracted packet for processing {"connection_id":134533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b5"} 
[2026-07-15 08:32:08] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410616,"longitude_deg":76.3335424,"latitude_deg":9.5410616,"altitude":0,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afd9b8","is_valid_coordinates":true} 
[2026-07-15 08:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725575424001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094114124169216,"note":"Value kept but may cause issues"} 
[2026-07-15 08:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191846863888171008,"note":"Value kept but may cause issues"} 
[2026-07-15 08:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784084292000,"timestamp_ms":1784084292000,"timestamp_seconds":1784084292,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b5e1a0"} 
[2026-07-15 08:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-15 08:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:32:08] 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-07-15 08:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725575424001,"66":27919,"250":206,"85":12544,"24":0,"16":347094114124169216,"45":9191846863888171008},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725575424001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:32:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:32:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094114124169216,"km_value":347094114124169.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191846863888171008,"description":"Unknown IO ID 45"} 
[2026-07-15 08:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725575424001,"power":27919,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191846863888171008}} 
[2026-07-15 08:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":134533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:32:08] local.INFO: GPS data processed {"connection_id":134533,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:32:08] local.INFO: Acknowledgment sent {"connection_id":134533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:32:26] local.INFO: TCP Data received {"connection_id":134534,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134534,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:32:26] local.INFO: Processing buffer {"connection_id":134534,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:32:26] local.INFO: IMEI packet received {"connection_id":134534,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 08:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":134534,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:32:29] local.INFO: TCP Data received {"connection_id":132149,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132149,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:32:29] local.INFO: Processing buffer {"connection_id":132149,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:32:29] local.INFO: IMEI packet received {"connection_id":132149,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 08:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":132149,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:32:30] local.INFO: TCP Data received {"connection_id":134534,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134534,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:32:30] local.INFO: Processing buffer {"connection_id":134534,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:32:30] local.INFO: IMEI packet received {"connection_id":134534,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":134534,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:32:30] local.INFO: TCP Data received {"connection_id":132149,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132149,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:32:30] local.INFO: Processing buffer {"connection_id":132149,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:32:30] local.INFO: IMEI packet received {"connection_id":132149,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":132149,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:32:34] local.INFO: TCP Data received {"connection_id":132149,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132149,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:32:34] local.INFO: Processing buffer {"connection_id":132149,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:32:34] local.INFO: IMEI packet received {"connection_id":132149,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":132149,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:32:35] local.INFO: TCP Data received {"connection_id":134534,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134534,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:32:35] local.INFO: Processing buffer {"connection_id":134534,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:32:35] local.INFO: IMEI packet received {"connection_id":134534,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":134534,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:32:35] local.INFO: TCP Data received {"connection_id":134534,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b944d0012d0c19400702d9b00013015b1e..."} 
[2026-07-15 08:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b944d0012d0c19400702d9b00013015b1e..."} 
[2026-07-15 08:32:35] local.INFO: Processing buffer {"connection_id":134534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b944d0012d0c19400702d9b00013015b1e..."} 
[2026-07-15 08:32:35] local.INFO: Packet analysis {"connection_id":134534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b9"} 
[2026-07-15 08:32:35] local.INFO: Extracted packet for processing {"connection_id":134534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b9"} 
[2026-07-15 08:32:35] local.INFO: GPS Element Parsed {"raw_longitude":755767616,"raw_latitude":117627312,"longitude_deg":75.5767616,"latitude_deg":11.7627312,"altitude":19,"angle":347,"satellites":30,"speed":44,"hex_longitude":"2d0c1940","hex_latitude":"0702d9b0","is_valid_coordinates":true} 
[2026-07-15 08:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725632768001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24547769616171008,"note":"Value kept but may cause issues"} 
[2026-07-15 08:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874964995215446016,"note":"Value kept but may cause issues"} 
[2026-07-15 08:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784084514000,"timestamp_ms":1784084514000,"timestamp_seconds":1784084514,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b944d0"} 
[2026-07-15 08:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-15 08:32:35] 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-07-15 08:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":134534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":134534,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":134534,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725632768001,"66":14515,"37":206,"94":11008,"24":44,"16":24547769616171008,"45":874964995215446016},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-15 08:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725632768001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:32:36] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-15 08:32:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 08:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24547769616171008,"km_value":24547769616171.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":874964995215446016,"description":"Unknown IO ID 45"} 
[2026-07-15 08:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725632768001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":44,"odometer":null,"unknown_45":874964995215446016}} 
[2026-07-15 08:32:36] local.INFO: TCP Data received {"connection_id":132149,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b7aaa8012d7a7dc005e3d488000500cd2b..."} 
[2026-07-15 08:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b7aaa8012d7a7dc005e3d488000500cd2b..."} 
[2026-07-15 08:32:36] local.INFO: Processing buffer {"connection_id":132149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b7aaa8012d7a7dc005e3d488000500cd2b..."} 
[2026-07-15 08:32:36] local.INFO: Packet analysis {"connection_id":132149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b7"} 
[2026-07-15 08:32:36] local.INFO: Extracted packet for processing {"connection_id":132149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b7"} 
[2026-07-15 08:32:36] local.INFO: GPS Element Parsed {"raw_longitude":763002304,"raw_latitude":98817160,"longitude_deg":76.3002304,"latitude_deg":9.881716,"altitude":5,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2d7a7dc0","hex_latitude":"05e3d488","is_valid_coordinates":true} 
[2026-07-15 08:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725603328001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106284274319097856,"note":"Value kept but may cause issues"} 
[2026-07-15 08:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8826421976245766144,"note":"Value kept but may cause issues"} 
[2026-07-15 08:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784084409000,"timestamp_ms":1784084409000,"timestamp_seconds":1784084409,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b7aaa8"} 
[2026-07-15 08:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 08:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725603328001,"66":13276,"47":206,"85":15104,"24":0,"16":106284274319097856,"45":8826421976245766144},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-07-15 08:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725603328001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:32:36] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-15 08:32:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 08:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106284274319097856,"km_value":106284274319097.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8826421976245766144,"description":"Unknown IO ID 45"} 
[2026-07-15 08:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725603328001,"power":13276,"unknown_47":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8826421976245766144}} 
[2026-07-15 08:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":132149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489990,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:32:36] local.INFO: GPS data processed {"connection_id":132149,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:32:36] local.INFO: Acknowledgment sent {"connection_id":132149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":134534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489991,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:32:36] local.INFO: GPS data processed {"connection_id":134534,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:32:36] local.INFO: Acknowledgment sent {"connection_id":134534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:32:39] local.INFO: TCP Data received {"connection_id":134533,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b633a8012d7f934005afd9d0000000e62c..."} 
[2026-07-15 08:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b633a8012d7f934005afd9d0000000e62c..."} 
[2026-07-15 08:32:39] local.INFO: Processing buffer {"connection_id":134533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b633a8012d7f934005afd9d0000000e62c..."} 
[2026-07-15 08:32:39] local.INFO: Packet analysis {"connection_id":134533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b6"} 
[2026-07-15 08:32:39] local.INFO: Extracted packet for processing {"connection_id":134533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b6"} 
[2026-07-15 08:32:39] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410640,"longitude_deg":76.3335488,"latitude_deg":9.541064,"altitude":0,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afd9d0","is_valid_coordinates":true} 
[2026-07-15 08:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725578752001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094118419136512,"note":"Value kept but may cause issues"} 
[2026-07-15 08:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818432000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784084313000,"timestamp_ms":1784084313000,"timestamp_seconds":1784084313,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b633a8"} 
[2026-07-15 08:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 08:32:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:32:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:32:39] 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-07-15 08:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725578752001,"66":27930,"250":206,"85":12544,"24":0,"16":347094118419136512,"45":9192691288818432000},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725578752001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:32:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:32:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094118419136512,"km_value":347094118419136.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818432000,"description":"Unknown IO ID 45"} 
[2026-07-15 08:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725578752001,"power":27930,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818432000}} 
[2026-07-15 08:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":134533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:32:39] local.INFO: GPS data processed {"connection_id":134533,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:32:39] local.INFO: Acknowledgment sent {"connection_id":134533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:32:47] local.INFO: TCP Data received {"connection_id":132151,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:32:47] local.INFO: Processing buffer {"connection_id":132151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:32:47] local.INFO: IMEI packet received {"connection_id":132151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 08:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":132151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:32:49] local.INFO: TCP Data received {"connection_id":132151,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b95088012d195d800720ac48002f010b1b..."} 
[2026-07-15 08:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b95088012d195d800720ac48002f010b1b..."} 
[2026-07-15 08:32:49] local.INFO: Processing buffer {"connection_id":132151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b95088012d195d800720ac48002f010b1b..."} 
[2026-07-15 08:32:49] local.INFO: Packet analysis {"connection_id":132151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b9"} 
[2026-07-15 08:32:49] local.INFO: Extracted packet for processing {"connection_id":132151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b9"} 
[2026-07-15 08:32:49] local.INFO: GPS Element Parsed {"raw_longitude":756637056,"raw_latitude":119581768,"longitude_deg":75.6637056,"latitude_deg":11.9581768,"altitude":47,"angle":267,"satellites":27,"speed":32,"hex_longitude":"2d195d80","hex_latitude":"0720ac48","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725634048001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6089215653707776,"note":"Value kept but may cause issues"} 
[2026-07-15 08:32:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838242734766514176,"note":"Value kept but may cause issues"} 
[2026-07-15 08:32:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1784084517000,"timestamp_ms":1784084517000,"timestamp_seconds":1784084517,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b95088"} 
[2026-07-15 08:32:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:32:49] 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-07-15 08: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-15 08:32:49] 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-07-15 08:32:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:32:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":132151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":132151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":132151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:32:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 08:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 08:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725634048001,"66":13689,"103":206,"83":41984,"24":32,"16":6089215653707776,"45":1838242734766514176},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 08:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 08:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 08:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725634048001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:32:49] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 08:32:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 08:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6089215653707776,"km_value":6089215653707.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:32:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838242734766514176,"description":"Unknown IO ID 45"} 
[2026-07-15 08:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725634048001,"power":13689,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1838242734766514176}} 
[2026-07-15 08:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":132151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:32:49] local.INFO: GPS data processed {"connection_id":132151,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:32:49] local.INFO: Acknowledgment sent {"connection_id":132151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:33:01] local.INFO: TCP Data received {"connection_id":132325,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:33:01] local.INFO: Processing buffer {"connection_id":132325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:33:01] local.INFO: IMEI packet received {"connection_id":132325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":132325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:33:06] local.INFO: TCP Data received {"connection_id":134534,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b96be0012d0c13000702fbd00012015b1e..."} 
[2026-07-15 08:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b96be0012d0c13000702fbd00012015b1e..."} 
[2026-07-15 08:33:06] local.INFO: Processing buffer {"connection_id":134534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b96be0012d0c13000702fbd00012015b1e..."} 
[2026-07-15 08:33:06] local.INFO: Packet analysis {"connection_id":134534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b9"} 
[2026-07-15 08:33:06] local.INFO: Extracted packet for processing {"connection_id":134534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b9"} 
[2026-07-15 08:33:06] local.INFO: GPS Element Parsed {"raw_longitude":755766016,"raw_latitude":117636048,"longitude_deg":75.5766016,"latitude_deg":11.7636048,"altitude":18,"angle":347,"satellites":30,"speed":31,"hex_longitude":"2d0c1300","hex_latitude":"0702fbd0","is_valid_coordinates":true} 
[2026-07-15 08:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725635584001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24548199112900608,"note":"Value kept but may cause issues"} 
[2026-07-15 08:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":871798401729671168,"note":"Value kept but may cause issues"} 
[2026-07-15 08:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784084524000,"timestamp_ms":1784084524000,"timestamp_seconds":1784084524,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b96be0"} 
[2026-07-15 08:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-15 08:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":134534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":134534,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":134534,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725635584001,"66":14439,"37":206,"94":11008,"24":31,"16":24548199112900608,"45":871798401729671168},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-15 08:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725635584001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:33:06] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-15 08:33:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 08:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24548199112900608,"km_value":24548199112900.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":871798401729671168,"description":"Unknown IO ID 45"} 
[2026-07-15 08:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725635584001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":31,"odometer":null,"unknown_45":871798401729671168}} 
[2026-07-15 08:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":134534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489994,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:33:07] local.INFO: GPS data processed {"connection_id":134534,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:33:07] local.INFO: Acknowledgment sent {"connection_id":134534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:33:07] local.INFO: TCP Data received {"connection_id":132325,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:33:07] local.INFO: Processing buffer {"connection_id":132325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:33:07] local.INFO: IMEI packet received {"connection_id":132325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":132325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:33:08] local.INFO: TCP Data received {"connection_id":132325,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b685b0012d7f934005afd9d0000000e62e..."} 
[2026-07-15 08:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b685b0012d7f934005afd9d0000000e62e..."} 
[2026-07-15 08:33:08] local.INFO: Processing buffer {"connection_id":132325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b685b0012d7f934005afd9d0000000e62e..."} 
[2026-07-15 08:33:08] local.INFO: Packet analysis {"connection_id":132325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b6"} 
[2026-07-15 08:33:08] local.INFO: Extracted packet for processing {"connection_id":132325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b6"} 
[2026-07-15 08:33:08] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410640,"longitude_deg":76.3335488,"latitude_deg":9.541064,"altitude":0,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afd9d0","is_valid_coordinates":true} 
[2026-07-15 08:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725584128001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094118419136512,"note":"Value kept but may cause issues"} 
[2026-07-15 08:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562615808,"note":"Value kept but may cause issues"} 
[2026-07-15 08:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784084334000,"timestamp_ms":1784084334000,"timestamp_seconds":1784084334,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b685b0"} 
[2026-07-15 08:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-15 08:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:33:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:33:08] 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-07-15 08:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725584128001,"66":27908,"250":206,"85":12544,"24":0,"16":347094118419136512,"45":9192761657562615808},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725584128001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:33:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:33:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094118419136512,"km_value":347094118419136.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562615808,"description":"Unknown IO ID 45"} 
[2026-07-15 08:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725584128001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562615808}} 
[2026-07-15 08:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":132325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:33:08] local.INFO: GPS data processed {"connection_id":132325,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:33:08] local.INFO: Acknowledgment sent {"connection_id":132325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:33:09] local.INFO: TCP Data received {"connection_id":132149,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ba17c0012d7aaec005e3daf00002003f2a..."} 
[2026-07-15 08:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ba17c0012d7aaec005e3daf00002003f2a..."} 
[2026-07-15 08:33:09] local.INFO: Processing buffer {"connection_id":132149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ba17c0012d7aaec005e3daf00002003f2a..."} 
[2026-07-15 08:33:09] local.INFO: Packet analysis {"connection_id":132149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ba"} 
[2026-07-15 08:33:09] local.INFO: Extracted packet for processing {"connection_id":132149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ba"} 
[2026-07-15 08:33:09] local.INFO: GPS Element Parsed {"raw_longitude":763014848,"raw_latitude":98818800,"longitude_deg":76.3014848,"latitude_deg":9.88188,"altitude":2,"angle":63,"satellites":42,"speed":8,"hex_longitude":"2d7aaec0","hex_latitude":"05e3daf0","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725644544001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106284888499421184,"note":"Value kept but may cause issues"} 
[2026-07-15 08:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8833881063128940544,"note":"Value kept but may cause issues"} 
[2026-07-15 08:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784084568000,"timestamp_ms":1784084568000,"timestamp_seconds":1784084568,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ba17c0"} 
[2026-07-15 08:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-15 08:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:33:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":132149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":132149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":132149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725644544001,"66":13124,"97":206,"85":15104,"24":8,"16":106284888499421184,"45":8833881063128940544},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 08:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725644544001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:33:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 08:33:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 08:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106284888499421184,"km_value":106284888499421.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8833881063128940544,"description":"Unknown IO ID 45"} 
[2026-07-15 08:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725644544001,"power":13124,"unknown_97":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8833881063128940544}} 
[2026-07-15 08:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":132149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489996,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:33:09] local.INFO: GPS data processed {"connection_id":132149,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:33:09] local.INFO: Acknowledgment sent {"connection_id":132149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:33:19] local.INFO: TCP Data received {"connection_id":132151,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b96028012d1950400720abb8002d01171c..."} 
[2026-07-15 08:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b96028012d1950400720abb8002d01171c..."} 
[2026-07-15 08:33:19] local.INFO: Processing buffer {"connection_id":132151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b96028012d1950400720abb8002d01171c..."} 
[2026-07-15 08:33:19] local.INFO: Packet analysis {"connection_id":132151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b9"} 
[2026-07-15 08:33:19] local.INFO: Extracted packet for processing {"connection_id":132151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b9"} 
[2026-07-15 08:33:19] local.INFO: GPS Element Parsed {"raw_longitude":756633664,"raw_latitude":119581624,"longitude_deg":75.6633664,"latitude_deg":11.9581624,"altitude":45,"angle":279,"satellites":28,"speed":37,"hex_longitude":"2d195040","hex_latitude":"0720abb8","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725636352001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6089374567497728,"note":"Value kept but may cause issues"} 
[2026-07-15 08:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827757791883577344,"note":"Value kept but may cause issues"} 
[2026-07-15 08:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784084521000,"timestamp_ms":1784084521000,"timestamp_seconds":1784084521,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b96028"} 
[2026-07-15 08:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:33:19] 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-07-15 08: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-07-15 08:33: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-07-15 08: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-07-15 08:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":132151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":132151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":132151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 08:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 08:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725636352001,"66":14233,"103":206,"83":41984,"24":37,"16":6089374567497728,"45":1827757791883577344},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 08:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 08:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 08:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725636352001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:33:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 08:33:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 08:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6089374567497728,"km_value":6089374567497.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827757791883577344,"description":"Unknown IO ID 45"} 
[2026-07-15 08:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725636352001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1827757791883577344}} 
[2026-07-15 08:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":132151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:33:20] local.INFO: GPS data processed {"connection_id":132151,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:33:20] local.INFO: Acknowledgment sent {"connection_id":132151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:33:28] local.INFO: TCP Data received {"connection_id":132326,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132326,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:33:28] local.INFO: Processing buffer {"connection_id":132326,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:33:28] local.INFO: IMEI packet received {"connection_id":132326,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 08:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":132326,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:33:29] local.INFO: TCP Data received {"connection_id":132327,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132327,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:33:29] local.INFO: Processing buffer {"connection_id":132327,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:33:29] local.INFO: IMEI packet received {"connection_id":132327,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 08:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":132327,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:33:29] local.INFO: TCP Data received {"connection_id":132326,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132326,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:33:29] local.INFO: Processing buffer {"connection_id":132326,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:33:29] local.INFO: IMEI packet received {"connection_id":132326,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":132326,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:33:30] local.INFO: TCP Data received {"connection_id":132326,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132326,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:33:30] local.INFO: Processing buffer {"connection_id":132326,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:33:30] local.INFO: IMEI packet received {"connection_id":132326,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":132326,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:33:34] local.INFO: TCP Data received {"connection_id":132327,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132327,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:33:34] local.INFO: Processing buffer {"connection_id":132327,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:33:34] local.INFO: IMEI packet received {"connection_id":132327,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":132327,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:33:35] local.INFO: TCP Data received {"connection_id":132326,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132326,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:33:35] local.INFO: Processing buffer {"connection_id":132326,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:33:35] local.INFO: IMEI packet received {"connection_id":132326,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":132326,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:33:36] local.INFO: TCP Data received {"connection_id":132327,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ba1f90012d7ab04005e3dbe80003002b29..."} 
[2026-07-15 08:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ba1f90012d7ab04005e3dbe80003002b29..."} 
[2026-07-15 08:33:36] local.INFO: Processing buffer {"connection_id":132327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ba1f90012d7ab04005e3dbe80003002b29..."} 
[2026-07-15 08:33:36] local.INFO: Packet analysis {"connection_id":132327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ba"} 
[2026-07-15 08:33:36] local.INFO: Extracted packet for processing {"connection_id":132327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ba"} 
[2026-07-15 08:33:36] local.INFO: GPS Element Parsed {"raw_longitude":763015232,"raw_latitude":98819048,"longitude_deg":76.3015232,"latitude_deg":9.8819048,"altitude":3,"angle":43,"satellites":41,"speed":9,"hex_longitude":"2d7ab040","hex_latitude":"05e3dbe8","is_valid_coordinates":true} 
[2026-07-15 08:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725649408001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106284909974257664,"note":"Value kept but may cause issues"} 
[2026-07-15 08:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8840214250105008128,"note":"Value kept but may cause issues"} 
[2026-07-15 08:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784084570000,"timestamp_ms":1784084570000,"timestamp_seconds":1784084570,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ba1f90"} 
[2026-07-15 08:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-15 08:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725649408001,"66":13048,"97":206,"85":15104,"24":9,"16":106284909974257664,"45":8840214250105008128},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 08:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725649408001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:33:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 08:33:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 08:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106284909974257664,"km_value":106284909974257.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8840214250105008128,"description":"Unknown IO ID 45"} 
[2026-07-15 08:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725649408001,"power":13048,"unknown_97":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8840214250105008128}} 
[2026-07-15 08:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":132327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489998,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:33:36] local.INFO: GPS data processed {"connection_id":132327,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:33:36] local.INFO: Acknowledgment sent {"connection_id":132327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:33:36] local.INFO: TCP Data received {"connection_id":132326,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ba8908012d0c4c000703c8200009001e1f..."} 
[2026-07-15 08:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ba8908012d0c4c000703c8200009001e1f..."} 
[2026-07-15 08:33:36] local.INFO: Processing buffer {"connection_id":132326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ba8908012d0c4c000703c8200009001e1f..."} 
[2026-07-15 08:33:36] local.INFO: Packet analysis {"connection_id":132326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ba"} 
[2026-07-15 08:33:36] local.INFO: Extracted packet for processing {"connection_id":132326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ba"} 
[2026-07-15 08:33:36] local.INFO: GPS Element Parsed {"raw_longitude":755780608,"raw_latitude":117688352,"longitude_deg":75.5780608,"latitude_deg":11.7688352,"altitude":9,"angle":30,"satellites":31,"speed":18,"hex_longitude":"2d0c4c00","hex_latitude":"0703c820","is_valid_coordinates":true} 
[2026-07-15 08:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725656576001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24551197000073216,"note":"Value kept but may cause issues"} 
[2026-07-15 08:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885801781836556288,"note":"Value kept but may cause issues"} 
[2026-07-15 08:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784084597000,"timestamp_ms":1784084597000,"timestamp_seconds":1784084597,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ba8908"} 
[2026-07-15 08:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-15 08:33:36] 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-07-15 08:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132326,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132326,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725656576001,"66":14515,"37":206,"94":11008,"24":18,"16":24551197000073216,"45":885801781836556288},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-15 08:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725656576001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:33:36] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-15 08:33:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 08:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24551197000073216,"km_value":24551197000073.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":885801781836556288,"description":"Unknown IO ID 45"} 
[2026-07-15 08:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725656576001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":18,"odometer":null,"unknown_45":885801781836556288}} 
[2026-07-15 08:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":132326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489999,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:33:36] local.INFO: GPS data processed {"connection_id":132326,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:33:36] local.INFO: Acknowledgment sent {"connection_id":132326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:33:39] local.INFO: TCP Data received {"connection_id":132325,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b69938012d7f934005afd9d0000000e62e..."} 
[2026-07-15 08:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b69938012d7f934005afd9d0000000e62e..."} 
[2026-07-15 08:33:39] local.INFO: Processing buffer {"connection_id":132325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b69938012d7f934005afd9d0000000e62e..."} 
[2026-07-15 08:33:39] local.INFO: Packet analysis {"connection_id":132325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b6"} 
[2026-07-15 08:33:39] local.INFO: Extracted packet for processing {"connection_id":132325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b6"} 
[2026-07-15 08:33:39] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410640,"longitude_deg":76.3335488,"latitude_deg":9.541064,"altitude":0,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afd9d0","is_valid_coordinates":true} 
[2026-07-15 08:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725589504001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094118419136512,"note":"Value kept but may cause issues"} 
[2026-07-15 08:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562615808,"note":"Value kept but may cause issues"} 
[2026-07-15 08:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784084339000,"timestamp_ms":1784084339000,"timestamp_seconds":1784084339,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b69938"} 
[2026-07-15 08:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 08:33:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:33:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:33:39] 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-07-15 08:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725589504001,"66":27974,"250":206,"85":12544,"24":0,"16":347094118419136512,"45":9192761657562615808},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725589504001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:33:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:33:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094118419136512,"km_value":347094118419136.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562615808,"description":"Unknown IO ID 45"} 
[2026-07-15 08:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725589504001,"power":27974,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562615808}} 
[2026-07-15 08:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":132325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:33:39] local.INFO: GPS data processed {"connection_id":132325,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:33:39] local.INFO: Acknowledgment sent {"connection_id":132325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:33:50] local.INFO: TCP Data received {"connection_id":132151,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63badb10012d18c140072153c00040014f1f..."} 
[2026-07-15 08:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63badb10012d18c140072153c00040014f1f..."} 
[2026-07-15 08:33:50] local.INFO: Processing buffer {"connection_id":132151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63badb10012d18c140072153c00040014f1f..."} 
[2026-07-15 08:33:50] local.INFO: Packet analysis {"connection_id":132151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ba"} 
[2026-07-15 08:33:50] local.INFO: Extracted packet for processing {"connection_id":132151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ba"} 
[2026-07-15 08:33:50] local.INFO: GPS Element Parsed {"raw_longitude":756597056,"raw_latitude":119624640,"longitude_deg":75.6597056,"latitude_deg":11.962464,"altitude":64,"angle":335,"satellites":31,"speed":39,"hex_longitude":"2d18c140","hex_latitude":"072153c0","is_valid_coordinates":true} 
[2026-07-15 08:33:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:33:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725661184001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:33:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6092355274801152,"note":"Value kept but may cause issues"} 
[2026-07-15 08:33:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784481014224281600,"note":"Value kept but may cause issues"} 
[2026-07-15 08:33:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:33:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784084618000,"timestamp_ms":1784084618000,"timestamp_seconds":1784084618,"priority":1,"record_length":96,"hex_timestamp":"0000019f63badb10"} 
[2026-07-15 08:33:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:33:50] 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-07-15 08:33:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-15 08:33:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:33:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:33:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:33:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:33:50] local.INFO: Teltonika packet parsed successfully {"connection_id":132151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:33:50] local.INFO: Passing IMEI to GPS processor {"connection_id":132151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:33:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":132151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:33:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:33:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 08:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 08:33:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725661184001,"66":14233,"103":206,"83":41984,"24":39,"16":6092355274801152,"45":1784481014224281600},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 08:33:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 08:33:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 08:33:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725661184001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:33:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 08:33:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 08:33:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6092355274801152,"km_value":6092355274801.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:33:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784481014224281600,"description":"Unknown IO ID 45"} 
[2026-07-15 08:33:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725661184001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1784481014224281600}} 
[2026-07-15 08:33:50] local.INFO: DEBUG: GPS processor result {"connection_id":132151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:33:50] local.INFO: GPS data processed {"connection_id":132151,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:33:50] local.INFO: Acknowledgment sent {"connection_id":132151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:34:07] local.INFO: TCP Data received {"connection_id":132152,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:34:07] local.INFO: Processing buffer {"connection_id":132152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:34:07] local.INFO: IMEI packet received {"connection_id":132152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":132152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:34:07] local.INFO: TCP Data received {"connection_id":132327,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ba2b48012d7ab20005e3dd280003004925..."} 
[2026-07-15 08:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ba2b48012d7ab20005e3dd280003004925..."} 
[2026-07-15 08:34:07] local.INFO: Processing buffer {"connection_id":132327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ba2b48012d7ab20005e3dd280003004925..."} 
[2026-07-15 08:34:07] local.INFO: Packet analysis {"connection_id":132327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ba"} 
[2026-07-15 08:34:07] local.INFO: Extracted packet for processing {"connection_id":132327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ba"} 
[2026-07-15 08:34:07] local.INFO: GPS Element Parsed {"raw_longitude":763015680,"raw_latitude":98819368,"longitude_deg":76.301568,"latitude_deg":9.8819368,"altitude":3,"angle":73,"satellites":37,"speed":7,"hex_longitude":"2d7ab200","hex_latitude":"05e3dd28","is_valid_coordinates":true} 
[2026-07-15 08:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725649920001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106284940039028736,"note":"Value kept but may cause issues"} 
[2026-07-15 08:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8840636462570137600,"note":"Value kept but may cause issues"} 
[2026-07-15 08:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784084573000,"timestamp_ms":1784084573000,"timestamp_seconds":1784084573,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ba2b48"} 
[2026-07-15 08:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-15 08:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:34:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725649920001,"66":13102,"97":206,"85":15104,"24":7,"16":106284940039028736,"45":8840636462570137600},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 08:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725649920001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:34:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 08:34:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 08:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106284940039028736,"km_value":106284940039028.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8840636462570137600,"description":"Unknown IO ID 45"} 
[2026-07-15 08:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725649920001,"power":13102,"unknown_97":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8840636462570137600}} 
[2026-07-15 08:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":132327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490002,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:34:07] local.INFO: GPS data processed {"connection_id":132327,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:34:07] local.INFO: Acknowledgment sent {"connection_id":132327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:34:10] local.INFO: TCP Data received {"connection_id":132326,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ba90d8012d0c4d800703cc28000900071f..."} 
[2026-07-15 08:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ba90d8012d0c4d800703cc28000900071f..."} 
[2026-07-15 08:34:10] local.INFO: Processing buffer {"connection_id":132326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ba90d8012d0c4d800703cc28000900071f..."} 
[2026-07-15 08:34:10] local.INFO: Packet analysis {"connection_id":132326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ba"} 
[2026-07-15 08:34:10] local.INFO: Extracted packet for processing {"connection_id":132326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ba"} 
[2026-07-15 08:34:10] local.INFO: GPS Element Parsed {"raw_longitude":755780992,"raw_latitude":117689384,"longitude_deg":75.5780992,"latitude_deg":11.7689384,"altitude":9,"angle":7,"satellites":31,"speed":22,"hex_longitude":"2d0c4d80","hex_latitude":"0703cc28","is_valid_coordinates":true} 
[2026-07-15 08:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725656832001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24551252834648064,"note":"Value kept but may cause issues"} 
[2026-07-15 08:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886083256813363200,"note":"Value kept but may cause issues"} 
[2026-07-15 08:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784084599000,"timestamp_ms":1784084599000,"timestamp_seconds":1784084599,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ba90d8"} 
[2026-07-15 08:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-15 08:34:10] 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-07-15 08:34: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-07-15 08:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":132326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":132326,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":132326,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725656832001,"66":14515,"37":206,"94":11008,"24":22,"16":24551252834648064,"45":886083256813363200},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-15 08:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725656832001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:34:10] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-15 08:34:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 08:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24551252834648064,"km_value":24551252834648.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":886083256813363200,"description":"Unknown IO ID 45"} 
[2026-07-15 08:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725656832001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":22,"odometer":null,"unknown_45":886083256813363200}} 
[2026-07-15 08:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":132326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490003,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:34:10] local.INFO: GPS data processed {"connection_id":132326,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:34:10] local.INFO: Acknowledgment sent {"connection_id":132326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:34:12] local.INFO: TCP Data received {"connection_id":132152,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:34:12] local.INFO: Processing buffer {"connection_id":132152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:34:12] local.INFO: IMEI packet received {"connection_id":132152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":132152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:34:13] local.INFO: TCP Data received {"connection_id":132152,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b82b90012d7f91c005afda18000000e62e..."} 
[2026-07-15 08:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b82b90012d7f91c005afda18000000e62e..."} 
[2026-07-15 08:34:13] local.INFO: Processing buffer {"connection_id":132152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b82b90012d7f91c005afda18000000e62e..."} 
[2026-07-15 08:34:13] local.INFO: Packet analysis {"connection_id":132152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b8"} 
[2026-07-15 08:34:13] local.INFO: Extracted packet for processing {"connection_id":132152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b8"} 
[2026-07-15 08:34:13] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410712,"longitude_deg":76.3335104,"latitude_deg":9.5410712,"altitude":0,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afda18","is_valid_coordinates":true} 
[2026-07-15 08:34:13] 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-07-15 08:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725590784001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094118419136512,"note":"Value kept but may cause issues"} 
[2026-07-15 08:34:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562615808,"note":"Value kept but may cause issues"} 
[2026-07-15 08:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784084442000,"timestamp_ms":1784084442000,"timestamp_seconds":1784084442,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b82b90"} 
[2026-07-15 08:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:34:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-15 08:34:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:34:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:34:13] 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-07-15 08:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725590784001,"66":26267,"250":206,"85":12544,"24":0,"16":347094118419136512,"45":9192761657562615808},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725590784001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:34:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:34:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094118419136512,"km_value":347094118419136.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:34:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562615808,"description":"Unknown IO ID 45"} 
[2026-07-15 08:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725590784001,"power":26267,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562615808}} 
[2026-07-15 08:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":132152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:34:13] local.INFO: GPS data processed {"connection_id":132152,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:34:13] local.INFO: Acknowledgment sent {"connection_id":132152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:34:17] local.INFO: TCP Data received {"connection_id":132152,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63b88180012d7f934005afd9d0000000e62f..."} 
[2026-07-15 08:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63b88180012d7f934005afd9d0000000e62f..."} 
[2026-07-15 08:34:17] local.INFO: Processing buffer {"connection_id":132152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63b88180012d7f934005afd9d0000000e62f..."} 
[2026-07-15 08:34:17] local.INFO: Packet analysis {"connection_id":132152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63b8"} 
[2026-07-15 08:34:17] local.INFO: Extracted packet for processing {"connection_id":132152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63b8"} 
[2026-07-15 08:34:17] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410640,"longitude_deg":76.3335488,"latitude_deg":9.541064,"altitude":0,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afd9d0","is_valid_coordinates":true} 
[2026-07-15 08:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725617152001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094118419136512,"note":"Value kept but may cause issues"} 
[2026-07-15 08:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097568256,"note":"Value kept but may cause issues"} 
[2026-07-15 08:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784084464000,"timestamp_ms":1784084464000,"timestamp_seconds":1784084464,"priority":1,"record_length":96,"hex_timestamp":"0000019f63b88180"} 
[2026-07-15 08:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:34:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-15 08:34:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:34:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725617152001,"66":27767,"250":206,"85":12544,"24":0,"16":347094118419136512,"45":9192339445097568256},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725617152001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:34:17] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:34:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094118419136512,"km_value":347094118419136.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097568256,"description":"Unknown IO ID 45"} 
[2026-07-15 08:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725617152001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097568256}} 
[2026-07-15 08:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":132152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:34:17] local.INFO: GPS data processed {"connection_id":132152,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:34:17] local.INFO: Acknowledgment sent {"connection_id":132152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:34:22] local.INFO: TCP Data received {"connection_id":132151,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63baee98012d18b68007216338004301441f..."} 
[2026-07-15 08:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63baee98012d18b68007216338004301441f..."} 
[2026-07-15 08:34:22] local.INFO: Processing buffer {"connection_id":132151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63baee98012d18b68007216338004301441f..."} 
[2026-07-15 08:34:22] local.INFO: Packet analysis {"connection_id":132151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ba"} 
[2026-07-15 08:34:22] local.INFO: Extracted packet for processing {"connection_id":132151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ba"} 
[2026-07-15 08:34:22] local.INFO: GPS Element Parsed {"raw_longitude":756594304,"raw_latitude":119628600,"longitude_deg":75.6594304,"latitude_deg":11.96286,"altitude":67,"angle":324,"satellites":31,"speed":36,"hex_longitude":"2d18b680","hex_latitude":"07216338","is_valid_coordinates":true} 
[2026-07-15 08:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725662208001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6092587203035136,"note":"Value kept but may cause issues"} 
[2026-07-15 08:34:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783777326783512576,"note":"Value kept but may cause issues"} 
[2026-07-15 08:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784084623000,"timestamp_ms":1784084623000,"timestamp_seconds":1784084623,"priority":1,"record_length":96,"hex_timestamp":"0000019f63baee98"} 
[2026-07-15 08:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:34:22] 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-07-15 08:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-15 08:34:22] 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-07-15 08:34:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":132151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":132151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":132151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 08:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 08:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725662208001,"66":13656,"103":206,"83":41984,"24":36,"16":6092587203035136,"45":1783777326783512576},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 08:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 08:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 08:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725662208001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:34:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 08:34:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 08:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6092587203035136,"km_value":6092587203035.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:34:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783777326783512576,"description":"Unknown IO ID 45"} 
[2026-07-15 08:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725662208001,"power":13656,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1783777326783512576}} 
[2026-07-15 08:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":132151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:34:22] local.INFO: GPS data processed {"connection_id":132151,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:34:22] local.INFO: Acknowledgment sent {"connection_id":132151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:34:34] local.INFO: TCP Data received {"connection_id":133173,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133173,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:34:34] local.INFO: Processing buffer {"connection_id":133173,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:34:34] local.INFO: IMEI packet received {"connection_id":133173,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 08:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":133173,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:34:39] local.INFO: TCP Data received {"connection_id":133174,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133174,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:34:39] local.INFO: Processing buffer {"connection_id":133174,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:34:39] local.INFO: IMEI packet received {"connection_id":133174,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 08:34:39] local.INFO: IMEI acknowledgment sent {"connection_id":133174,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:34:39] local.INFO: TCP Data received {"connection_id":133173,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133173,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:34:39] local.INFO: Processing buffer {"connection_id":133173,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:34:39] local.INFO: IMEI packet received {"connection_id":133173,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:34:39] local.INFO: IMEI acknowledgment sent {"connection_id":133173,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:34:41] local.INFO: TCP Data received {"connection_id":133173,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ba61f8012d7ac64005e3e0880002005426..."} 
[2026-07-15 08:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ba61f8012d7ac64005e3e0880002005426..."} 
[2026-07-15 08:34:41] local.INFO: Processing buffer {"connection_id":133173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ba61f8012d7ac64005e3e0880002005426..."} 
[2026-07-15 08:34:41] local.INFO: Packet analysis {"connection_id":133173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ba"} 
[2026-07-15 08:34:41] local.INFO: Extracted packet for processing {"connection_id":133173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ba"} 
[2026-07-15 08:34:41] local.INFO: GPS Element Parsed {"raw_longitude":763020864,"raw_latitude":98820232,"longitude_deg":76.3020864,"latitude_deg":9.8820232,"altitude":2,"angle":84,"satellites":38,"speed":13,"hex_longitude":"2d7ac640","hex_latitude":"05e3e088","is_valid_coordinates":true} 
[2026-07-15 08:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725650688001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106285189147131904,"note":"Value kept but may cause issues"} 
[2026-07-15 08:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8841129043779463168,"note":"Value kept but may cause issues"} 
[2026-07-15 08:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784084587000,"timestamp_ms":1784084587000,"timestamp_seconds":1784084587,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ba61f8"} 
[2026-07-15 08:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-15 08:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":133173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":133173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":133173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725650688001,"66":12939,"97":206,"85":15104,"24":13,"16":106285189147131904,"45":8841129043779463168},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 08:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725650688001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:34:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 08:34:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 08:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106285189147131904,"km_value":106285189147131.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8841129043779463168,"description":"Unknown IO ID 45"} 
[2026-07-15 08:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725650688001,"power":12939,"unknown_97":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8841129043779463168}} 
[2026-07-15 08:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":133173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490007,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:34:41] local.INFO: GPS data processed {"connection_id":133173,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:34:41] local.INFO: Acknowledgment sent {"connection_id":133173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:34:42] local.INFO: TCP Data received {"connection_id":132329,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:34:42] local.INFO: Processing buffer {"connection_id":132329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:34:42] local.INFO: IMEI packet received {"connection_id":132329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 08:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":132329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:34:43] local.INFO: TCP Data received {"connection_id":132329,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:34:43] local.INFO: Processing buffer {"connection_id":132329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:34:43] local.INFO: IMEI packet received {"connection_id":132329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 08:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":132329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:34:45] local.INFO: TCP Data received {"connection_id":133174,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133174,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:34:45] local.INFO: Processing buffer {"connection_id":133174,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:34:45] local.INFO: IMEI packet received {"connection_id":133174,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":133174,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:34:45] local.INFO: TCP Data received {"connection_id":133174,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63bb5040012d0cb840070461f8000900091f..."} 
[2026-07-15 08:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63bb5040012d0cb840070461f8000900091f..."} 
[2026-07-15 08:34:45] local.INFO: Processing buffer {"connection_id":133174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63bb5040012d0cb840070461f8000900091f..."} 
[2026-07-15 08:34:45] local.INFO: Packet analysis {"connection_id":133174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63bb"} 
[2026-07-15 08:34:45] local.INFO: Extracted packet for processing {"connection_id":133174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63bb"} 
[2026-07-15 08:34:45] local.INFO: GPS Element Parsed {"raw_longitude":755808320,"raw_latitude":117727736,"longitude_deg":75.580832,"latitude_deg":11.7727736,"altitude":9,"angle":9,"satellites":31,"speed":38,"hex_longitude":"2d0cb840","hex_latitude":"070461f8","is_valid_coordinates":true} 
[2026-07-15 08:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:34:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725668864001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:34:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24553640836464640,"note":"Value kept but may cause issues"} 
[2026-07-15 08:34:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":915497391888777216,"note":"Value kept but may cause issues"} 
[2026-07-15 08:34:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 08:34:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784084648000,"timestamp_ms":1784084648000,"timestamp_seconds":1784084648,"priority":1,"record_length":96,"hex_timestamp":"0000019f63bb5040"} 
[2026-07-15 08:34:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:34:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-15 08:34:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:34:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:34:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:34:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:34:45] local.INFO: Teltonika packet parsed successfully {"connection_id":133174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:34:45] local.INFO: Passing IMEI to GPS processor {"connection_id":133174,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:34:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":133174,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:34:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:34:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:34:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:34:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725668864001,"66":14559,"16":24553640836464640,"94":11008,"24":38,"45":915497391888777216},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-15 08:34:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:34:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:34:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725668864001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:34:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24553640836464640,"km_value":24553640836464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:34:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 08:34:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":915497391888777216,"description":"Unknown IO ID 45"} 
[2026-07-15 08:34:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456725668864001,"power":14559,"odometer":null,"unknown_94":11008,"ignition":38,"unknown_45":915497391888777216}} 
[2026-07-15 08:34:45] local.INFO: DEBUG: GPS processor result {"connection_id":133174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490008,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:34:45] local.INFO: GPS data processed {"connection_id":133174,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:34:45] local.INFO: Acknowledgment sent {"connection_id":133174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:34:45] local.INFO: TCP Data received {"connection_id":133173,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ba7968012d7acb0005e3e1580001004425..."} 
[2026-07-15 08:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ba7968012d7acb0005e3e1580001004425..."} 
[2026-07-15 08:34:45] local.INFO: Processing buffer {"connection_id":133173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ba7968012d7acb0005e3e1580001004425..."} 
[2026-07-15 08:34:45] local.INFO: Packet analysis {"connection_id":133173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ba"} 
[2026-07-15 08:34:45] local.INFO: Extracted packet for processing {"connection_id":133173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ba"} 
[2026-07-15 08:34:45] local.INFO: GPS Element Parsed {"raw_longitude":763022080,"raw_latitude":98820440,"longitude_deg":76.302208,"latitude_deg":9.882044,"altitude":1,"angle":68,"satellites":37,"speed":5,"hex_longitude":"2d7acb00","hex_latitude":"05e3e158","is_valid_coordinates":true} 
[2026-07-15 08:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:34:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725654272001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:34:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106285249276674048,"note":"Value kept but may cause issues"} 
[2026-07-15 08:34:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8846828912058075136,"note":"Value kept but may cause issues"} 
[2026-07-15 08:34:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:34:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784084593000,"timestamp_ms":1784084593000,"timestamp_seconds":1784084593,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ba7968"} 
[2026-07-15 08:34:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:34:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 08:34:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:34:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:34:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:34:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:34:45] local.INFO: Teltonika packet parsed successfully {"connection_id":133173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:34:45] local.INFO: Passing IMEI to GPS processor {"connection_id":133173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:34:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":133173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:34:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:34:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:34:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:34:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725654272001,"66":13015,"97":206,"85":15104,"24":5,"16":106285249276674048,"45":8846828912058075136},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 08:34:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:34:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:34:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725654272001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:34:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 08:34:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 08:34:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106285249276674048,"km_value":106285249276674.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:34:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8846828912058075136,"description":"Unknown IO ID 45"} 
[2026-07-15 08:34:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725654272001,"power":13015,"unknown_97":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8846828912058075136}} 
[2026-07-15 08:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":133173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490009,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:34:46] local.INFO: GPS data processed {"connection_id":133173,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:34:46] local.INFO: Acknowledgment sent {"connection_id":133173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:34:48] local.INFO: TCP Data received {"connection_id":132329,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:34:48] local.INFO: Processing buffer {"connection_id":132329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:34:48] local.INFO: IMEI packet received {"connection_id":132329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 08:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":132329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:34:49] local.INFO: TCP Data received {"connection_id":132329,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63bbae00012d1822400721a388004901441f..."} 
[2026-07-15 08:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63bbae00012d1822400721a388004901441f..."} 
[2026-07-15 08:34:49] local.INFO: Processing buffer {"connection_id":132329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63bbae00012d1822400721a388004901441f..."} 
[2026-07-15 08:34:49] local.INFO: Packet analysis {"connection_id":132329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63bb"} 
[2026-07-15 08:34:49] local.INFO: Extracted packet for processing {"connection_id":132329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63bb"} 
[2026-07-15 08:34:49] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119645064,"longitude_deg":75.6556352,"latitude_deg":11.9645064,"altitude":73,"angle":324,"satellites":31,"speed":5,"hex_longitude":"2d182240","hex_latitude":"0721a388","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725675008001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6094627312500736,"note":"Value kept but may cause issues"} 
[2026-07-15 08:34:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492933363712,"note":"Value kept but may cause issues"} 
[2026-07-15 08: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-07-15 08:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1784084672000,"timestamp_ms":1784084672000,"timestamp_seconds":1784084672,"priority":1,"record_length":96,"hex_timestamp":"0000019f63bbae00"} 
[2026-07-15 08:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:34:49] 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-07-15 08:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-15 08:34:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08: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-07-15 08:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":132329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":132329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":132329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:34:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 08:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 08:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725675008001,"66":14102,"106":206,"83":41984,"24":5,"16":6094627312500736,"45":1739726492933363712},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-15 08:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 08:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 08:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725675008001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:34:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-15 08:34:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 08:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6094627312500736,"km_value":6094627312500.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:34:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492933363712,"description":"Unknown IO ID 45"} 
[2026-07-15 08:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725675008001,"power":14102,"unknown_106":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1739726492933363712}} 
[2026-07-15 08:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":132329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:34:49] local.INFO: GPS data processed {"connection_id":132329,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:34:49] local.INFO: Acknowledgment sent {"connection_id":132329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:34:49] local.INFO: TCP Data received {"connection_id":133174,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63bb67b0012d0cba8007047ab8000901641f..."} 
[2026-07-15 08:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63bb67b0012d0cba8007047ab8000901641f..."} 
[2026-07-15 08:34:49] local.INFO: Processing buffer {"connection_id":133174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63bb67b0012d0cba8007047ab8000901641f..."} 
[2026-07-15 08:34:49] local.INFO: Packet analysis {"connection_id":133174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63bb"} 
[2026-07-15 08:34:49] local.INFO: Extracted packet for processing {"connection_id":133174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63bb"} 
[2026-07-15 08:34:49] local.INFO: GPS Element Parsed {"raw_longitude":755808896,"raw_latitude":117734072,"longitude_deg":75.5808896,"latitude_deg":11.7734072,"altitude":9,"angle":356,"satellites":31,"speed":42,"hex_longitude":"2d0cba80","hex_latitude":"07047ab8","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725669888001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24553950074109952,"note":"Value kept but may cause issues"} 
[2026-07-15 08:34:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916552923052374016,"note":"Value kept but may cause issues"} 
[2026-07-15 08:34:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 08:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1784084654000,"timestamp_ms":1784084654000,"timestamp_seconds":1784084654,"priority":1,"record_length":96,"hex_timestamp":"0000019f63bb67b0"} 
[2026-07-15 08:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:34:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-15 08:34:49] 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-07-15 08: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-07-15 08:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":133174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":133174,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":133174,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:34:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725669888001,"66":14396,"16":24553950074109952,"94":11008,"24":42,"45":916552923052374016},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-15 08:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725669888001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24553950074109952,"km_value":24553950074109.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:34:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 08:34:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":916552923052374016,"description":"Unknown IO ID 45"} 
[2026-07-15 08:34:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456725669888001,"power":14396,"odometer":null,"unknown_94":11008,"ignition":42,"unknown_45":916552923052374016}} 
[2026-07-15 08:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":133174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490011,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:34:50] local.INFO: GPS data processed {"connection_id":133174,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:34:50] local.INFO: Acknowledgment sent {"connection_id":133174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:35:02] local.INFO: TCP Data received {"connection_id":133175,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:35:02] local.INFO: Processing buffer {"connection_id":133175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:35:02] local.INFO: IMEI packet received {"connection_id":133175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":133175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:35:07] local.INFO: TCP Data received {"connection_id":133175,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:35:07] local.INFO: Processing buffer {"connection_id":133175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:35:07] local.INFO: IMEI packet received {"connection_id":133175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":133175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:35:07] local.INFO: TCP Data received {"connection_id":133175,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63baf280012d7f980005afda80000600332f..."} 
[2026-07-15 08:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63baf280012d7f980005afda80000600332f..."} 
[2026-07-15 08:35:07] local.INFO: Processing buffer {"connection_id":133175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63baf280012d7f980005afda80000600332f..."} 
[2026-07-15 08:35:07] local.INFO: Packet analysis {"connection_id":133175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ba"} 
[2026-07-15 08:35:07] local.INFO: Extracted packet for processing {"connection_id":133175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ba"} 
[2026-07-15 08:35:07] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410816,"longitude_deg":76.3336704,"latitude_deg":9.5410816,"altitude":6,"angle":51,"satellites":47,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afda80","is_valid_coordinates":true} 
[2026-07-15 08:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725658368001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094212908417024,"note":"Value kept but may cause issues"} 
[2026-07-15 08:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957871104,"note":"Value kept but may cause issues"} 
[2026-07-15 08:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784084624000,"timestamp_ms":1784084624000,"timestamp_seconds":1784084624,"priority":1,"record_length":96,"hex_timestamp":"0000019f63baf280"} 
[2026-07-15 08:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-15 08:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:35:07] 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-07-15 08:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725658368001,"66":27974,"250":206,"85":12544,"24":0,"16":347094212908417024,"45":9194028294957871104},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725658368001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:35:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:35:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094212908417024,"km_value":347094212908417.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957871104,"description":"Unknown IO ID 45"} 
[2026-07-15 08:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725658368001,"power":27974,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957871104}} 
[2026-07-15 08:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":133175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:35:07] local.INFO: GPS data processed {"connection_id":133175,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:35:07] local.INFO: Acknowledgment sent {"connection_id":133175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:35:20] local.INFO: TCP Data received {"connection_id":132329,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63bbc958012d1820000721a5e0004c012a1f..."} 
[2026-07-15 08:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63bbc958012d1820000721a5e0004c012a1f..."} 
[2026-07-15 08:35:20] local.INFO: Processing buffer {"connection_id":132329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63bbc958012d1820000721a5e0004c012a1f..."} 
[2026-07-15 08:35:20] local.INFO: Packet analysis {"connection_id":132329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63bb"} 
[2026-07-15 08:35:20] local.INFO: Extracted packet for processing {"connection_id":132329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63bb"} 
[2026-07-15 08:35:20] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119645664,"longitude_deg":75.6555776,"latitude_deg":11.9645664,"altitude":76,"angle":298,"satellites":31,"speed":9,"hex_longitude":"2d182000","hex_latitude":"0721a5e0","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725676032001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6094665967206400,"note":"Value kept but may cause issues"} 
[2026-07-15 08:35:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805491746816,"note":"Value kept but may cause issues"} 
[2026-07-15 08:35: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-07-15 08:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1784084679000,"timestamp_ms":1784084679000,"timestamp_seconds":1784084679,"priority":1,"record_length":96,"hex_timestamp":"0000019f63bbc958"} 
[2026-07-15 08:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:35:20] 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-07-15 08: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-15 08:35: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-07-15 08: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-07-15 08:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":132329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":132329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":132329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 08:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 08:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725676032001,"66":14113,"106":206,"83":41984,"24":9,"16":6094665967206400,"45":1739022805491746816},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-15 08:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 08:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 08:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725676032001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:35:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-15 08:35:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 08:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6094665967206400,"km_value":6094665967206.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:35:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805491746816,"description":"Unknown IO ID 45"} 
[2026-07-15 08:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725676032001,"power":14113,"unknown_106":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1739022805491746816}} 
[2026-07-15 08:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":132329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:35:20] local.INFO: GPS data processed {"connection_id":132329,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:35:20] local.INFO: Acknowledgment sent {"connection_id":132329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:35:29] local.INFO: TCP Data received {"connection_id":134536,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134536,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:35:29] local.INFO: Processing buffer {"connection_id":134536,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:35:29] local.INFO: IMEI packet received {"connection_id":134536,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 08:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":134536,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:35:31] local.INFO: TCP Data received {"connection_id":134536,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134536,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:35:31] local.INFO: Processing buffer {"connection_id":134536,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:35:31] local.INFO: IMEI packet received {"connection_id":134536,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":134536,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:35:32] local.INFO: TCP Data received {"connection_id":134536,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ba8138012d7acc4005e3e1880001005125..."} 
[2026-07-15 08:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ba8138012d7acc4005e3e1880001005125..."} 
[2026-07-15 08:35:32] local.INFO: Processing buffer {"connection_id":134536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ba8138012d7acc4005e3e1880001005125..."} 
[2026-07-15 08:35:32] local.INFO: Packet analysis {"connection_id":134536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ba"} 
[2026-07-15 08:35:32] local.INFO: Extracted packet for processing {"connection_id":134536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ba"} 
[2026-07-15 08:35:32] local.INFO: GPS Element Parsed {"raw_longitude":763022400,"raw_latitude":98820488,"longitude_deg":76.30224,"latitude_deg":9.8820488,"altitude":1,"angle":81,"satellites":37,"speed":5,"hex_longitude":"2d7acc40","hex_latitude":"05e3e188","is_valid_coordinates":true} 
[2026-07-15 08:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725655808001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106285266456543232,"note":"Value kept but may cause issues"} 
[2026-07-15 08:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848165918197504000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784084595000,"timestamp_ms":1784084595000,"timestamp_seconds":1784084595,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ba8138"} 
[2026-07-15 08:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:35:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-15 08:35:32] 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-07-15 08:35:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":134536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":134536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":134536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725655808001,"66":12613,"97":206,"85":15104,"24":5,"16":106285266456543232,"45":8848165918197504000},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 08:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725655808001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:35:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 08:35:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 08:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106285266456543232,"km_value":106285266456543.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848165918197504000,"description":"Unknown IO ID 45"} 
[2026-07-15 08:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725655808001,"power":12613,"unknown_97":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8848165918197504000}} 
[2026-07-15 08:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":134536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490014,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:35:32] local.INFO: GPS data processed {"connection_id":134536,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:35:32] local.INFO: Acknowledgment sent {"connection_id":134536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:35:39] local.INFO: TCP Data received {"connection_id":133175,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63bb4488012d7f980005afda80000600332f..."} 
[2026-07-15 08:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63bb4488012d7f980005afda80000600332f..."} 
[2026-07-15 08:35:39] local.INFO: Processing buffer {"connection_id":133175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63bb4488012d7f980005afda80000600332f..."} 
[2026-07-15 08:35:39] local.INFO: Packet analysis {"connection_id":133175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63bb"} 
[2026-07-15 08:35:39] local.INFO: Extracted packet for processing {"connection_id":133175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63bb"} 
[2026-07-15 08:35:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410816,"longitude_deg":76.3336704,"latitude_deg":9.5410816,"altitude":6,"angle":51,"satellites":47,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afda80","is_valid_coordinates":true} 
[2026-07-15 08:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725663744001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094212908417024,"note":"Value kept but may cause issues"} 
[2026-07-15 08:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702036480,"note":"Value kept but may cause issues"} 
[2026-07-15 08:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784084645000,"timestamp_ms":1784084645000,"timestamp_seconds":1784084645,"priority":1,"record_length":96,"hex_timestamp":"0000019f63bb4488"} 
[2026-07-15 08:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:35:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-15 08:35:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:35:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:35:39] 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-07-15 08:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725663744001,"66":27865,"250":206,"85":12544,"24":0,"16":347094212908417024,"45":9194098663702036480},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725663744001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:35:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:35:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094212908417024,"km_value":347094212908417.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702036480,"description":"Unknown IO ID 45"} 
[2026-07-15 08:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725663744001,"power":27865,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702036480}} 
[2026-07-15 08:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":133175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:35:39] local.INFO: GPS data processed {"connection_id":133175,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:35:39] local.INFO: Acknowledgment sent {"connection_id":133175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:35:39] local.INFO: TCP Data received {"connection_id":132330,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132330,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:35:39] local.INFO: Processing buffer {"connection_id":132330,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:35:39] local.INFO: IMEI packet received {"connection_id":132330,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 08:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":132330,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:35:42] local.INFO: TCP Data received {"connection_id":132331,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:35:42] local.INFO: Processing buffer {"connection_id":132331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:35:42] local.INFO: IMEI packet received {"connection_id":132331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 08:35:42] local.INFO: IMEI acknowledgment sent {"connection_id":132331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:35:45] local.INFO: TCP Data received {"connection_id":132330,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132330,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:35:45] local.INFO: Processing buffer {"connection_id":132330,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:35:45] local.INFO: IMEI packet received {"connection_id":132330,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":132330,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:35:47] local.INFO: TCP Data received {"connection_id":132331,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:35:47] local.INFO: Processing buffer {"connection_id":132331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:35:47] local.INFO: IMEI packet received {"connection_id":132331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 08:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":132331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:35:48] local.INFO: TCP Data received {"connection_id":132330,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63bb7368012d0cb800070486f0000c01571f..."} 
[2026-07-15 08:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63bb7368012d0cb800070486f0000c01571f..."} 
[2026-07-15 08:35:48] local.INFO: Processing buffer {"connection_id":132330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63bb7368012d0cb800070486f0000c01571f..."} 
[2026-07-15 08:35:48] local.INFO: Packet analysis {"connection_id":132330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63bb"} 
[2026-07-15 08:35:48] local.INFO: Extracted packet for processing {"connection_id":132330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63bb"} 
[2026-07-15 08:35:48] local.INFO: GPS Element Parsed {"raw_longitude":755808256,"raw_latitude":117737200,"longitude_deg":75.5808256,"latitude_deg":11.77372,"altitude":12,"angle":343,"satellites":31,"speed":40,"hex_longitude":"2d0cb800","hex_latitude":"070486f0","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725671424001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24554104692932608,"note":"Value kept but may cause issues"} 
[2026-07-15 08:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":917186241751595008,"note":"Value kept but may cause issues"} 
[2026-07-15 08:35:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 08:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784084657000,"timestamp_ms":1784084657000,"timestamp_seconds":1784084657,"priority":1,"record_length":96,"hex_timestamp":"0000019f63bb7368"} 
[2026-07-15 08:35:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:35:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-15 08:35:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08: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-07-15 08:35:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":132330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":132330,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":132330,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:35:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725671424001,"66":14396,"16":24554104692932608,"94":11008,"24":40,"45":917186241751595008},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-15 08:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725671424001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24554104692932608,"km_value":24554104692932.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:35:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 08:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":917186241751595008,"description":"Unknown IO ID 45"} 
[2026-07-15 08:35:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456725671424001,"power":14396,"odometer":null,"unknown_94":11008,"ignition":40,"unknown_45":917186241751595008}} 
[2026-07-15 08:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":132330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490016,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:35:48] local.INFO: GPS data processed {"connection_id":132330,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:35:48] local.INFO: Acknowledgment sent {"connection_id":132330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:35:48] local.INFO: TCP Data received {"connection_id":132331,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63bbd128012d181e800721a680004c011e1e..."} 
[2026-07-15 08:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63bbd128012d181e800721a680004c011e1e..."} 
[2026-07-15 08:35:48] local.INFO: Processing buffer {"connection_id":132331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63bbd128012d181e800721a680004c011e1e..."} 
[2026-07-15 08:35:48] local.INFO: Packet analysis {"connection_id":132331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63bb"} 
[2026-07-15 08:35:48] local.INFO: Extracted packet for processing {"connection_id":132331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63bb"} 
[2026-07-15 08:35:48] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119645824,"longitude_deg":75.6555392,"latitude_deg":11.9645824,"altitude":76,"angle":286,"satellites":30,"speed":7,"hex_longitude":"2d181e80","hex_latitude":"0721a680","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725677824001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6094687442042880,"note":"Value kept but may cause issues"} 
[2026-07-15 08:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794301440,"note":"Value kept but may cause issues"} 
[2026-07-15 08:35: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-07-15 08:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784084681000,"timestamp_ms":1784084681000,"timestamp_seconds":1784084681,"priority":1,"record_length":96,"hex_timestamp":"0000019f63bbd128"} 
[2026-07-15 08:35:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:35:48] 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-07-15 08: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-15 08:35:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08: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-07-15 08:35:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":132331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":132331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":132331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:35:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 08:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 08:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725677824001,"66":14080,"106":206,"83":41984,"24":7,"16":6094687442042880,"45":1738389486794301440},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-15 08:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 08:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 08:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725677824001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:35:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-15 08:35:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 08:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6094687442042880,"km_value":6094687442042.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794301440,"description":"Unknown IO ID 45"} 
[2026-07-15 08:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725677824001,"power":14080,"unknown_106":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1738389486794301440}} 
[2026-07-15 08:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":132331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:35:48] local.INFO: GPS data processed {"connection_id":132331,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:35:48] local.INFO: Acknowledgment sent {"connection_id":132331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:36:02] local.INFO: TCP Data received {"connection_id":132153,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:36:02] local.INFO: Processing buffer {"connection_id":132153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:36:02] local.INFO: IMEI packet received {"connection_id":132153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":132153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:36:03] local.INFO: TCP Data received {"connection_id":134536,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63bad340012d7ad64005e3e3880005004e2b..."} 
[2026-07-15 08:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63bad340012d7ad64005e3e3880005004e2b..."} 
[2026-07-15 08:36:03] local.INFO: Processing buffer {"connection_id":134536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63bad340012d7ad64005e3e3880005004e2b..."} 
[2026-07-15 08:36:03] local.INFO: Packet analysis {"connection_id":134536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ba"} 
[2026-07-15 08:36:03] local.INFO: Extracted packet for processing {"connection_id":134536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ba"} 
[2026-07-15 08:36:03] local.INFO: GPS Element Parsed {"raw_longitude":763024960,"raw_latitude":98821000,"longitude_deg":76.302496,"latitude_deg":9.8821,"altitude":5,"angle":78,"satellites":43,"speed":0,"hex_longitude":"2d7ad640","hex_latitude":"05e3e388","is_valid_coordinates":true} 
[2026-07-15 08:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725656320001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106285391010594816,"note":"Value kept but may cause issues"} 
[2026-07-15 08:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848517761918404608,"note":"Value kept but may cause issues"} 
[2026-07-15 08:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784084616000,"timestamp_ms":1784084616000,"timestamp_seconds":1784084616,"priority":1,"record_length":96,"hex_timestamp":"0000019f63bad340"} 
[2026-07-15 08:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-15 08:36:03] 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-07-15 08:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":134536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":134536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":134536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725656320001,"66":11874,"97":206,"85":15104,"24":0,"16":106285391010594816,"45":8848517761918404608},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 08:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725656320001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:36:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 08:36:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 08:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106285391010594816,"km_value":106285391010594.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848517761918404608,"description":"Unknown IO ID 45"} 
[2026-07-15 08:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725656320001,"power":11874,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8848517761918404608}} 
[2026-07-15 08:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":134536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490018,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:36:04] local.INFO: GPS data processed {"connection_id":134536,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:36:04] local.INFO: Acknowledgment sent {"connection_id":134536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:36:07] local.INFO: TCP Data received {"connection_id":132153,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:36:07] local.INFO: Processing buffer {"connection_id":132153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:36:07] local.INFO: IMEI packet received {"connection_id":132153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":132153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:36:07] local.INFO: TCP Data received {"connection_id":132153,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f63bb4c58012d7f980005afda800006003331..."} 
[2026-07-15 08:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63bb4c58012d7f980005afda800006003331..."} 
[2026-07-15 08:36:07] local.INFO: Processing buffer {"connection_id":132153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63bb4c58012d7f980005afda800006003331..."} 
[2026-07-15 08:36:07] local.INFO: Packet analysis {"connection_id":132153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63bb"} 
[2026-07-15 08:36:07] local.INFO: Extracted packet for processing {"connection_id":132153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63bb"} 
[2026-07-15 08:36:07] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410816,"longitude_deg":76.3336704,"latitude_deg":9.5410816,"altitude":6,"angle":51,"satellites":49,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afda80","is_valid_coordinates":true} 
[2026-07-15 08:36:07] 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-07-15 08:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725669120001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094212908417024,"note":"Value kept but may cause issues"} 
[2026-07-15 08:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702036480,"note":"Value kept but may cause issues"} 
[2026-07-15 08:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784084647000,"timestamp_ms":1784084647000,"timestamp_seconds":1784084647,"priority":1,"record_length":96,"hex_timestamp":"0000019f63bb4c58"} 
[2026-07-15 08:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-15 08:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:36:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725669120001,"66":27713,"250":206,"85":12544,"24":0,"16":347094212908417024,"45":9194098663702036480},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725669120001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:36:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:36:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094212908417024,"km_value":347094212908417.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702036480,"description":"Unknown IO ID 45"} 
[2026-07-15 08:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725669120001,"power":27713,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702036480}} 
[2026-07-15 08:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":132153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:36:07] local.INFO: GPS data processed {"connection_id":132153,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:36:07] local.INFO: Acknowledgment sent {"connection_id":132153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:36:19] local.INFO: TCP Data received {"connection_id":132331,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63bc0008012d181d400721a8e0004d000b1f..."} 
[2026-07-15 08:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63bc0008012d181d400721a8e0004d000b1f..."} 
[2026-07-15 08:36:19] local.INFO: Processing buffer {"connection_id":132331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63bc0008012d181d400721a8e0004d000b1f..."} 
[2026-07-15 08:36:19] local.INFO: Packet analysis {"connection_id":132331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63bc"} 
[2026-07-15 08:36:19] local.INFO: Extracted packet for processing {"connection_id":132331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63bc"} 
[2026-07-15 08:36:19] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119646432,"longitude_deg":75.6555072,"latitude_deg":11.9646432,"altitude":77,"angle":11,"satellites":31,"speed":9,"hex_longitude":"2d181d40","hex_latitude":"0721a8e0","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725678336001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:36:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6094734686683136,"note":"Value kept but may cause issues"} 
[2026-07-15 08:36:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329276416,"note":"Value kept but may cause issues"} 
[2026-07-15 08:36: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-07-15 08:36:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784084693000,"timestamp_ms":1784084693000,"timestamp_seconds":1784084693,"priority":1,"record_length":96,"hex_timestamp":"0000019f63bc0008"} 
[2026-07-15 08:36:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:36:19] 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-07-15 08: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-15 08:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446303232,"note":"Value kept but may cause issues"} 
[2026-07-15 08:36:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-15 08:36:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-15 08:36:19] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13462122,"corrected_to":0} 
[2026-07-15 08:36:19] local.WARNING: Large IO value detected {"io_id":166,"raw_value":4261412864,"note":"Value kept but may cause issues"} 
[2026-07-15 08:36:19] local.WARNING: Large IO value detected {"io_id":99,"raw_value":3146182657,"note":"Value kept but may cause issues"} 
[2026-07-15 08:36:19] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2575827016,"note":"Value kept but may cause issues"} 
[2026-07-15 08:36:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-07-15 08:36:19] local.WARNING: Large IO value detected {"io_id":21,"raw_value":2797207552,"note":"Value kept but may cause issues"} 
[2026-07-15 08:36:19] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,106,83,24,241,157,16,167,159,201,45,165,76,31,10,66,174,64,163,73,158,192,1,240,246,227,166,99,33,4,113,205,23,115,57,168,29,239,55,2,21,7,69,46],"length":479,"final_offset":609,"validated_count":44,"validation_warnings":[{"io_id":246,"original":13462122,"validated":0},{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-07-15 08:36:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476691736057544704,"timestamp_seconds":5476691736057545.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 08:36:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:36:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:36:19] local.INFO: Teltonika packet parsed successfully {"connection_id":132331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:36:19] local.INFO: Passing IMEI to GPS processor {"connection_id":132331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:36:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":132331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:36:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:36:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 08:36:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 08:36:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725678336001,"66":14341,"106":206,"83":41984,"24":9,"16":6094734686683136,"45":1737967274329276416},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-15 08:36:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 08:36:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 08:36:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725678336001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:36:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-15 08:36:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 08:36:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6094734686683136,"km_value":6094734686683.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:36:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329276416,"description":"Unknown IO ID 45"} 
[2026-07-15 08:36:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725678336001,"power":14341,"unknown_106":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1737967274329276416}} 
[2026-07-15 08:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":132331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:36:19] local.INFO: GPS data processed {"connection_id":132331,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:36:19] local.INFO: Acknowledgment sent {"connection_id":132331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:36:27] local.INFO: TCP Data received {"connection_id":134538,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134538,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:36:27] local.INFO: Processing buffer {"connection_id":134538,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:36:27] local.INFO: IMEI packet received {"connection_id":134538,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 08:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":134538,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:36:29] local.INFO: TCP Data received {"connection_id":134538,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134538,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:36:29] local.INFO: Processing buffer {"connection_id":134538,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:36:29] local.INFO: IMEI packet received {"connection_id":134538,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":134538,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:36:35] local.INFO: TCP Data received {"connection_id":134538,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134538,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:36:35] local.INFO: Processing buffer {"connection_id":134538,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:36:35] local.INFO: IMEI packet received {"connection_id":134538,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":134538,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:36:38] local.INFO: TCP Data received {"connection_id":132153,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f63bb4c58012d7f980005afda800006003331..."} 
[2026-07-15 08:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63bb4c58012d7f980005afda800006003331..."} 
[2026-07-15 08:36:38] local.INFO: Processing buffer {"connection_id":132153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63bb4c58012d7f980005afda800006003331..."} 
[2026-07-15 08:36:38] local.INFO: Packet analysis {"connection_id":132153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63bb"} 
[2026-07-15 08:36:38] local.INFO: Extracted packet for processing {"connection_id":132153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63bb"} 
[2026-07-15 08:36:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410816,"longitude_deg":76.3336704,"latitude_deg":9.5410816,"altitude":6,"angle":51,"satellites":49,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afda80","is_valid_coordinates":true} 
[2026-07-15 08:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725669120001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094212908417024,"note":"Value kept but may cause issues"} 
[2026-07-15 08:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702036480,"note":"Value kept but may cause issues"} 
[2026-07-15 08:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784084647000,"timestamp_ms":1784084647000,"timestamp_seconds":1784084647,"priority":1,"record_length":96,"hex_timestamp":"0000019f63bb4c58"} 
[2026-07-15 08:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-15 08:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:36:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725669120001,"66":27713,"250":206,"85":12544,"24":0,"16":347094212908417024,"45":9194098663702036480},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725669120001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:36:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:36:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094212908417024,"km_value":347094212908417.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702036480,"description":"Unknown IO ID 45"} 
[2026-07-15 08:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725669120001,"power":27713,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702036480}} 
[2026-07-15 08:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":132153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:36:38] local.INFO: GPS data processed {"connection_id":132153,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:36:38] local.INFO: Acknowledgment sent {"connection_id":132153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:36:40] local.INFO: TCP Data received {"connection_id":134538,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63baf280012d7ad78005e3e378000500652b..."} 
[2026-07-15 08:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63baf280012d7ad78005e3e378000500652b..."} 
[2026-07-15 08:36:40] local.INFO: Processing buffer {"connection_id":134538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63baf280012d7ad78005e3e378000500652b..."} 
[2026-07-15 08:36:40] local.INFO: Packet analysis {"connection_id":134538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ba"} 
[2026-07-15 08:36:40] local.INFO: Extracted packet for processing {"connection_id":134538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ba"} 
[2026-07-15 08:36:40] local.INFO: GPS Element Parsed {"raw_longitude":763025280,"raw_latitude":98820984,"longitude_deg":76.302528,"latitude_deg":9.8820984,"altitude":5,"angle":101,"satellites":43,"speed":1,"hex_longitude":"2d7ad780","hex_latitude":"05e3e378","is_valid_coordinates":true} 
[2026-07-15 08:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725661696001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106285408190464000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851332511685642240,"note":"Value kept but may cause issues"} 
[2026-07-15 08:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784084624000,"timestamp_ms":1784084624000,"timestamp_seconds":1784084624,"priority":1,"record_length":96,"hex_timestamp":"0000019f63baf280"} 
[2026-07-15 08:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:36:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-15 08:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1310,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:36:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":134538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":134538,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":134538,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725661696001,"66":13178,"97":206,"85":15104,"24":1,"16":106285408190464000,"45":8851332511685642240},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 08:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725661696001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:36:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 08:36:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 08:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106285408190464000,"km_value":106285408190464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851332511685642240,"description":"Unknown IO ID 45"} 
[2026-07-15 08:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725661696001,"power":13178,"unknown_97":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8851332511685642240}} 
[2026-07-15 08:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":134538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490022,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:36:40] local.INFO: GPS data processed {"connection_id":134538,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:36:40] local.INFO: Acknowledgment sent {"connection_id":134538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:36:43] local.INFO: TCP Data received {"connection_id":132333,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:36:43] local.INFO: Processing buffer {"connection_id":132333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:36:43] local.INFO: IMEI packet received {"connection_id":132333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 08:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":132333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:36:48] local.INFO: TCP Data received {"connection_id":132333,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:36:48] local.INFO: Processing buffer {"connection_id":132333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:36:48] local.INFO: IMEI packet received {"connection_id":132333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 08:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":132333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:37:02] local.INFO: TCP Data received {"connection_id":134539,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:37:02] local.INFO: Processing buffer {"connection_id":134539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:37:02] local.INFO: IMEI packet received {"connection_id":134539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":134539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:37:02] local.INFO: TCP Data received {"connection_id":133176,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133176,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:37:02] local.INFO: Processing buffer {"connection_id":133176,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:37:02] local.INFO: IMEI packet received {"connection_id":133176,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 08:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":133176,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:37:05] local.INFO: TCP Data received {"connection_id":133176,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133176,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:37:05] local.INFO: Processing buffer {"connection_id":133176,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:37:05] local.INFO: IMEI packet received {"connection_id":133176,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":133176,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:37:05] local.INFO: TCP Data received {"connection_id":133176,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133176,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:37:05] local.INFO: Processing buffer {"connection_id":133176,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:37:05] local.INFO: IMEI packet received {"connection_id":133176,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":133176,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:37:07] local.INFO: TCP Data received {"connection_id":134539,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:37:07] local.INFO: Processing buffer {"connection_id":134539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:37:07] local.INFO: IMEI packet received {"connection_id":134539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":134539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:37:07] local.INFO: TCP Data received {"connection_id":134539,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f63bb4c58012d7f980005afda800006003331..."} 
[2026-07-15 08:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63bb4c58012d7f980005afda800006003331..."} 
[2026-07-15 08:37:07] local.INFO: Processing buffer {"connection_id":134539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63bb4c58012d7f980005afda800006003331..."} 
[2026-07-15 08:37:07] local.INFO: Packet analysis {"connection_id":134539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63bb"} 
[2026-07-15 08:37:07] local.INFO: Extracted packet for processing {"connection_id":134539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63bb"} 
[2026-07-15 08:37:07] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410816,"longitude_deg":76.3336704,"latitude_deg":9.5410816,"altitude":6,"angle":51,"satellites":49,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afda80","is_valid_coordinates":true} 
[2026-07-15 08:37:07] 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-07-15 08:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725669120001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094212908417024,"note":"Value kept but may cause issues"} 
[2026-07-15 08:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702036480,"note":"Value kept but may cause issues"} 
[2026-07-15 08:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784084647000,"timestamp_ms":1784084647000,"timestamp_seconds":1784084647,"priority":1,"record_length":96,"hex_timestamp":"0000019f63bb4c58"} 
[2026-07-15 08:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-15 08:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:37:07] 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-07-15 08:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725669120001,"66":27713,"250":206,"85":12544,"24":0,"16":347094212908417024,"45":9194098663702036480},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725669120001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:37:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:37:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094212908417024,"km_value":347094212908417.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702036480,"description":"Unknown IO ID 45"} 
[2026-07-15 08:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725669120001,"power":27713,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702036480}} 
[2026-07-15 08:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":134539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:37:07] local.INFO: GPS data processed {"connection_id":134539,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:37:07] local.INFO: Acknowledgment sent {"connection_id":134539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:37:09] local.INFO: TCP Data received {"connection_id":133176,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133176,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:37:09] local.INFO: Processing buffer {"connection_id":133176,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:37:09] local.INFO: IMEI packet received {"connection_id":133176,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":133176,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:37:10] local.INFO: TCP Data received {"connection_id":133176,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63bd82c0012d0c6dc00705a608001b00221f..."} 
[2026-07-15 08:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63bd82c0012d0c6dc00705a608001b00221f..."} 
[2026-07-15 08:37:10] local.INFO: Processing buffer {"connection_id":133176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63bd82c0012d0c6dc00705a608001b00221f..."} 
[2026-07-15 08:37:10] local.INFO: Packet analysis {"connection_id":133176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63bd"} 
[2026-07-15 08:37:10] local.INFO: Extracted packet for processing {"connection_id":133176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63bd"} 
[2026-07-15 08:37:10] local.INFO: GPS Element Parsed {"raw_longitude":755789248,"raw_latitude":117810696,"longitude_deg":75.5789248,"latitude_deg":11.7810696,"altitude":27,"angle":34,"satellites":31,"speed":22,"hex_longitude":"2d0c6dc0","hex_latitude":"0705a608","is_valid_coordinates":true} 
[2026-07-15 08:37: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-07-15 08:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725706496001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24558549984083968,"note":"Value kept but may cause issues"} 
[2026-07-15 08:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895231193587660800,"note":"Value kept but may cause issues"} 
[2026-07-15 08:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784084792000,"timestamp_ms":1784084792000,"timestamp_seconds":1784084792,"priority":1,"record_length":96,"hex_timestamp":"0000019f63bd82c0"} 
[2026-07-15 08:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 08:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:37: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-07-15 08:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":133176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":133176,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":133176,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725706496001,"66":14428,"164":206,"94":10240,"24":22,"16":24558549984083968,"45":895231193587660800},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-07-15 08:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725706496001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:37:10] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-15 08:37:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 08:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24558549984083968,"km_value":24558549984083.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":895231193587660800,"description":"Unknown IO ID 45"} 
[2026-07-15 08:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725706496001,"power":14428,"unknown_164":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":895231193587660800}} 
[2026-07-15 08:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":133176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490024,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:37:10] local.INFO: GPS data processed {"connection_id":133176,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:37:10] local.INFO: Acknowledgment sent {"connection_id":133176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:37:12] local.INFO: TCP Data received {"connection_id":134538,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63bd6b50012d7b0b0005e347f0000800a229..."} 
[2026-07-15 08:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63bd6b50012d7b0b0005e347f0000800a229..."} 
[2026-07-15 08:37:12] local.INFO: Processing buffer {"connection_id":134538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63bd6b50012d7b0b0005e347f0000800a229..."} 
[2026-07-15 08:37:12] local.INFO: Packet analysis {"connection_id":134538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63bd"} 
[2026-07-15 08:37:12] local.INFO: Extracted packet for processing {"connection_id":134538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63bd"} 
[2026-07-15 08:37:12] local.INFO: GPS Element Parsed {"raw_longitude":763038464,"raw_latitude":98781168,"longitude_deg":76.3038464,"latitude_deg":9.8781168,"altitude":8,"angle":162,"satellites":41,"speed":15,"hex_longitude":"2d7b0b00","hex_latitude":"05e347f0","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725699840001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106287452594896896,"note":"Value kept but may cause issues"} 
[2026-07-15 08:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864772941814235136,"note":"Value kept but may cause issues"} 
[2026-07-15 08:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784084786000,"timestamp_ms":1784084786000,"timestamp_seconds":1784084786,"priority":1,"record_length":96,"hex_timestamp":"0000019f63bd6b50"} 
[2026-07-15 08:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-15 08:37:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08: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-07-15 08:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":134538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":134538,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":134538,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725699840001,"66":13189,"97":206,"85":15104,"24":15,"16":106287452594896896,"45":8864772941814235136},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 08:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725699840001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:37:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 08:37:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 08:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106287452594896896,"km_value":106287452594896.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864772941814235136,"description":"Unknown IO ID 45"} 
[2026-07-15 08:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725699840001,"power":13189,"unknown_97":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8864772941814235136}} 
[2026-07-15 08:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":134538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490025,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:37:12] local.INFO: GPS data processed {"connection_id":134538,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:37:12] local.INFO: Acknowledgment sent {"connection_id":134538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:37:20] local.INFO: TCP Data received {"connection_id":132333,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:37:20] local.INFO: Processing buffer {"connection_id":132333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:37:20] local.INFO: IMEI packet received {"connection_id":132333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 08:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":132333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:37:28] local.INFO: TCP Data received {"connection_id":132333,"ip":"42.106.6.33","data_length":1348,"data_hex":"000000000000030f8e0a0000019f63bd82c0012d18a0400722bb98006e015d21..."} 
[2026-07-15 08:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132333,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019f63bd82c0012d18a0400722bb98006e015d21..."} 
[2026-07-15 08:37:28] local.INFO: Processing buffer {"connection_id":132333,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a0000019f63bd82c0012d18a0400722bb98006e015d21..."} 
[2026-07-15 08:37:28] local.INFO: Packet analysis {"connection_id":132333,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019f63bd"} 
[2026-07-15 08:37:28] local.INFO: Extracted packet for processing {"connection_id":132333,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019f63bd"} 
[2026-07-15 08:37:28] local.INFO: GPS Element Parsed {"raw_longitude":756588608,"raw_latitude":119716760,"longitude_deg":75.6588608,"latitude_deg":11.971676,"altitude":110,"angle":349,"satellites":33,"speed":42,"hex_longitude":"2d18a040","hex_latitude":"0722bb98","is_valid_coordinates":true} 
[2026-07-15 08:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725704448001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6098621632086016,"note":"Value kept but may cause issues"} 
[2026-07-15 08:37:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776247871177807872,"note":"Value kept but may cause issues"} 
[2026-07-15 08:37: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-07-15 08:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784084792000,"timestamp_ms":1784084792000,"timestamp_seconds":1784084792,"priority":1,"record_length":96,"hex_timestamp":"0000019f63bd82c0"} 
[2026-07-15 08:37:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:37:28] 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-07-15 08:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-07-15 08:37:28] 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-07-15 08:37:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:37:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:37:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 08:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 08:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725704448001,"66":14102,"105":206,"83":41984,"24":42,"16":6098621632086016,"45":1776247871177807872},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 08:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 08:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 08:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725704448001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:37:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 08:37:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 08:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6098621632086016,"km_value":6098621632086.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:37:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776247871177807872,"description":"Unknown IO ID 45"} 
[2026-07-15 08:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725704448001,"power":14102,"unknown_105":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1776247871177807872}} 
[2026-07-15 08:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":132333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:37:28] local.INFO: GPS data processed {"connection_id":132333,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:37:28] local.INFO: Acknowledgment sent {"connection_id":132333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:37:28] local.INFO: Packet analysis {"connection_id":132333,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019f63be"} 
[2026-07-15 08:37:28] local.INFO: Incomplete packet, waiting for more data {"connection_id":132333,"needed":795,"available":553} 
[2026-07-15 08:37:29] local.INFO: TCP Data received {"connection_id":132334,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132334,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:37:29] local.INFO: Processing buffer {"connection_id":132334,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:37:29] local.INFO: IMEI packet received {"connection_id":132334,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 08:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":132334,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:37:32] local.INFO: TCP Data received {"connection_id":132334,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132334,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:37:32] local.INFO: Processing buffer {"connection_id":132334,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:37:32] local.INFO: IMEI packet received {"connection_id":132334,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":132334,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:37:34] local.INFO: TCP Data received {"connection_id":132334,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63bda9d0012d7b104005e337d8000900b021..."} 
[2026-07-15 08:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63bda9d0012d7b104005e337d8000900b021..."} 
[2026-07-15 08:37:34] local.INFO: Processing buffer {"connection_id":132334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63bda9d0012d7b104005e337d8000900b021..."} 
[2026-07-15 08:37:34] local.INFO: Packet analysis {"connection_id":132334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63bd"} 
[2026-07-15 08:37:34] local.INFO: Extracted packet for processing {"connection_id":132334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63bd"} 
[2026-07-15 08:37:34] local.INFO: GPS Element Parsed {"raw_longitude":763039808,"raw_latitude":98777048,"longitude_deg":76.3039808,"latitude_deg":9.8777048,"altitude":9,"angle":176,"satellites":33,"speed":5,"hex_longitude":"2d7b1040","hex_latitude":"05e337d8","is_valid_coordinates":true} 
[2026-07-15 08:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725705216001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106287667343261696,"note":"Value kept but may cause issues"} 
[2026-07-15 08:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866180316696932352,"note":"Value kept but may cause issues"} 
[2026-07-15 08:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784084802000,"timestamp_ms":1784084802000,"timestamp_seconds":1784084802,"priority":1,"record_length":96,"hex_timestamp":"0000019f63bda9d0"} 
[2026-07-15 08:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-15 08:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":132334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":132334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":132334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725705216001,"66":12809,"97":206,"85":15104,"24":5,"16":106287667343261696,"45":8866180316696932352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 08:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725705216001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:37:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 08:37:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 08:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106287667343261696,"km_value":106287667343261.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866180316696932352,"description":"Unknown IO ID 45"} 
[2026-07-15 08:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725705216001,"power":12809,"unknown_97":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8866180316696932352}} 
[2026-07-15 08:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":132334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490027,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:37:34] local.INFO: GPS data processed {"connection_id":132334,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:37:34] local.INFO: Acknowledgment sent {"connection_id":132334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:37:35] local.INFO: TCP Data received {"connection_id":132155,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 08:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132155,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 08:37:35] local.INFO: Processing buffer {"connection_id":132155,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 08:37:35] local.INFO: IMEI packet received {"connection_id":132155,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 08:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":132155,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:37:36] local.INFO: TCP Data received {"connection_id":132154,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132154,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:37:36] local.INFO: Processing buffer {"connection_id":132154,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:37:36] local.INFO: IMEI packet received {"connection_id":132154,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 08:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":132154,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:37:38] local.INFO: TCP Data received {"connection_id":134539,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f63bb4c58012d7f980005afda800006003331..."} 
[2026-07-15 08:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63bb4c58012d7f980005afda800006003331..."} 
[2026-07-15 08:37:38] local.INFO: Processing buffer {"connection_id":134539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63bb4c58012d7f980005afda800006003331..."} 
[2026-07-15 08:37:38] local.INFO: Packet analysis {"connection_id":134539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63bb"} 
[2026-07-15 08:37:38] local.INFO: Extracted packet for processing {"connection_id":134539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63bb"} 
[2026-07-15 08:37:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410816,"longitude_deg":76.3336704,"latitude_deg":9.5410816,"altitude":6,"angle":51,"satellites":49,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afda80","is_valid_coordinates":true} 
[2026-07-15 08:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725669120001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094212908417024,"note":"Value kept but may cause issues"} 
[2026-07-15 08:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702036480,"note":"Value kept but may cause issues"} 
[2026-07-15 08:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784084647000,"timestamp_ms":1784084647000,"timestamp_seconds":1784084647,"priority":1,"record_length":96,"hex_timestamp":"0000019f63bb4c58"} 
[2026-07-15 08:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-15 08:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:37:38] 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-07-15 08:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725669120001,"66":27713,"250":206,"85":12544,"24":0,"16":347094212908417024,"45":9194098663702036480},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725669120001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:37:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:37:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094212908417024,"km_value":347094212908417.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702036480,"description":"Unknown IO ID 45"} 
[2026-07-15 08:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725669120001,"power":27713,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702036480}} 
[2026-07-15 08:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":134539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:37:38] local.INFO: GPS data processed {"connection_id":134539,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:37:38] local.INFO: Acknowledgment sent {"connection_id":134539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:37:41] local.INFO: TCP Data received {"connection_id":132154,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132154,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:37:41] local.INFO: Processing buffer {"connection_id":132154,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:37:41] local.INFO: IMEI packet received {"connection_id":132154,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":132154,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:37:42] local.INFO: TCP Data received {"connection_id":132154,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63be2ab8012d0ceac00705cec8000a000520..."} 
[2026-07-15 08:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63be2ab8012d0ceac00705cec8000a000520..."} 
[2026-07-15 08:37:42] local.INFO: Processing buffer {"connection_id":132154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63be2ab8012d0ceac00705cec8000a000520..."} 
[2026-07-15 08:37:42] local.INFO: Packet analysis {"connection_id":132154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63be"} 
[2026-07-15 08:37:42] local.INFO: Extracted packet for processing {"connection_id":132154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63be"} 
[2026-07-15 08:37:42] local.INFO: GPS Element Parsed {"raw_longitude":755821248,"raw_latitude":117821128,"longitude_deg":75.5821248,"latitude_deg":11.7821128,"altitude":10,"angle":5,"satellites":32,"speed":24,"hex_longitude":"2d0ceac0","hex_latitude":"0705cec8","is_valid_coordinates":true} 
[2026-07-15 08:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725717248001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24560267971002368,"note":"Value kept but may cause issues"} 
[2026-07-15 08:37:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":930837778144030720,"note":"Value kept but may cause issues"} 
[2026-07-15 08:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784084835000,"timestamp_ms":1784084835000,"timestamp_seconds":1784084835,"priority":1,"record_length":96,"hex_timestamp":"0000019f63be2ab8"} 
[2026-07-15 08:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-15 08:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132154,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132154,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725717248001,"66":14537,"220":206,"94":10240,"24":24,"16":24560267971002368,"45":930837778144030720},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-07-15 08:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725717248001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:37:42] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-15 08:37:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 08:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24560267971002368,"km_value":24560267971002.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:37:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":930837778144030720,"description":"Unknown IO ID 45"} 
[2026-07-15 08:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725717248001,"power":14537,"unknown_220":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":930837778144030720}} 
[2026-07-15 08:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":132154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490029,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:37:42] local.INFO: GPS data processed {"connection_id":132154,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:37:42] local.INFO: Acknowledgment sent {"connection_id":132154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:37:46] local.INFO: TCP Data received {"connection_id":132333,"ip":"42.106.6.33","data_length":1037,"data_hex":"0000000000019f63bdccf8012d18bfc0072304f8006600332100240000000a00..."} 
[2026-07-15 08:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132333,"packet_length":1037,"packet_hex":"0000000000019f63bdccf8012d18bfc0072304f8006600332100240000000a00..."} 
[2026-07-15 08:37:46] local.INFO: Processing buffer {"connection_id":132333,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f63be0790012d18fa400722fca8005f004420..."} 
[2026-07-15 08:37:46] local.INFO: Packet analysis {"connection_id":132333,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f63be"} 
[2026-07-15 08:37:46] local.INFO: Extracted packet for processing {"connection_id":132333,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63be"} 
[2026-07-15 08:37:46] local.INFO: GPS Element Parsed {"raw_longitude":756611648,"raw_latitude":119733416,"longitude_deg":75.6611648,"latitude_deg":11.9733416,"altitude":95,"angle":68,"satellites":32,"speed":42,"hex_longitude":"2d18fa40","hex_latitude":"0722fca8","is_valid_coordinates":true} 
[2026-07-15 08:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725714944001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6100391158611968,"note":"Value kept but may cause issues"} 
[2026-07-15 08:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1797569600670021632,"note":"Value kept but may cause issues"} 
[2026-07-15 08:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784084826000,"timestamp_ms":1784084826000,"timestamp_seconds":1784084826,"priority":1,"record_length":96,"hex_timestamp":"0000019f63be0790"} 
[2026-07-15 08:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:37:46] 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-07-15 08:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-15 08:37:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 08:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 08:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725714944001,"66":14298,"137":206,"83":42752,"24":42,"16":6100391158611968,"45":1797569600670021632},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-07-15 08:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 08:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 08:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725714944001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:37:46] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-15 08:37:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-15 08:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6100391158611968,"km_value":6100391158611.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1797569600670021632,"description":"Unknown IO ID 45"} 
[2026-07-15 08:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725714944001,"power":14298,"unknown_137":206,"unknown_83":42752,"ignition":42,"odometer":null,"unknown_45":1797569600670021632}} 
[2026-07-15 08:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":132333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:37:46] local.INFO: GPS data processed {"connection_id":132333,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:37:46] local.INFO: Acknowledgment sent {"connection_id":132333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:37:46] local.INFO: Packet analysis {"connection_id":132333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63be"} 
[2026-07-15 08:37:46] local.INFO: Extracted packet for processing {"connection_id":132333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63be"} 
[2026-07-15 08:37:46] local.INFO: GPS Element Parsed {"raw_longitude":756612480,"raw_latitude":119734136,"longitude_deg":75.661248,"latitude_deg":11.9734136,"altitude":94,"angle":54,"satellites":31,"speed":42,"hex_longitude":"2d18fd80","hex_latitude":"0722ff78","is_valid_coordinates":true} 
[2026-07-15 08:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725715456001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6100446993186816,"note":"Value kept but may cause issues"} 
[2026-07-15 08:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1799821400483866624,"note":"Value kept but may cause issues"} 
[2026-07-15 08:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784084827000,"timestamp_ms":1784084827000,"timestamp_seconds":1784084827,"priority":1,"record_length":96,"hex_timestamp":"0000019f63be0b78"} 
[2026-07-15 08:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:37:46] 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-07-15 08:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-15 08:37:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 08:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 08:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725715456001,"66":14374,"238":206,"83":43776,"24":42,"16":6100446993186816,"45":1799821400483866624},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,83,24,16,45]} 
[2026-07-15 08:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 08:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 08:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725715456001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:37:46] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-07-15 08:37:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43776,"description":"Unknown IO ID 83"} 
[2026-07-15 08:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6100446993186816,"km_value":6100446993186.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1799821400483866624,"description":"Unknown IO ID 45"} 
[2026-07-15 08:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725715456001,"power":14374,"unknown_238":206,"unknown_83":43776,"ignition":42,"odometer":null,"unknown_45":1799821400483866624}} 
[2026-07-15 08:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":132333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:37:47] local.INFO: GPS data processed {"connection_id":132333,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:37:47] local.INFO: Acknowledgment sent {"connection_id":132333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:37:47] local.INFO: TCP Data received {"connection_id":132335,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:37:47] local.INFO: Processing buffer {"connection_id":132335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:37:47] local.INFO: IMEI packet received {"connection_id":132335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 08:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":132335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:37:48] local.INFO: TCP Data received {"connection_id":132335,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:37:48] local.INFO: Processing buffer {"connection_id":132335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:37:48] local.INFO: IMEI packet received {"connection_id":132335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 08:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":132335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:37:52] local.INFO: TCP Data received {"connection_id":132335,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:37:52] local.INFO: Processing buffer {"connection_id":132335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:37:52] local.INFO: IMEI packet received {"connection_id":132335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 08:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":132335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:37:52] local.INFO: TCP Data received {"connection_id":132335,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63be0f60012d190040072302e8005e00291e..."} 
[2026-07-15 08:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63be0f60012d190040072302e8005e00291e..."} 
[2026-07-15 08:37:52] local.INFO: Processing buffer {"connection_id":132335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63be0f60012d190040072302e8005e00291e..."} 
[2026-07-15 08:37:52] local.INFO: Packet analysis {"connection_id":132335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63be"} 
[2026-07-15 08:37:52] local.INFO: Extracted packet for processing {"connection_id":132335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63be"} 
[2026-07-15 08:37:52] local.INFO: GPS Element Parsed {"raw_longitude":756613184,"raw_latitude":119735016,"longitude_deg":75.6613184,"latitude_deg":11.9735016,"altitude":94,"angle":41,"satellites":30,"speed":42,"hex_longitude":"2d190040","hex_latitude":"072302e8","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725715712001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6100498532794368,"note":"Value kept but may cause issues"} 
[2026-07-15 08:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1800736194158360576,"note":"Value kept but may cause issues"} 
[2026-07-15 08:37:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1784084828000,"timestamp_ms":1784084828000,"timestamp_seconds":1784084828,"priority":1,"record_length":96,"hex_timestamp":"0000019f63be0f60"} 
[2026-07-15 08:37:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:37:52] 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-07-15 08: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-15 08:37:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08: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-07-15 08:37:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":132335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":132335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":132335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:37:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 08:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 08:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725715712001,"66":14298,"238":206,"83":43776,"24":42,"16":6100498532794368,"45":1800736194158360576},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,83,24,16,45]} 
[2026-07-15 08:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 08:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 08:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725715712001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:37:52] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-07-15 08:37:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":43776,"description":"Unknown IO ID 83"} 
[2026-07-15 08:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6100498532794368,"km_value":6100498532794.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1800736194158360576,"description":"Unknown IO ID 45"} 
[2026-07-15 08:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725715712001,"power":14298,"unknown_238":206,"unknown_83":43776,"ignition":42,"odometer":null,"unknown_45":1800736194158360576}} 
[2026-07-15 08:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":132335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:37:52] local.INFO: GPS data processed {"connection_id":132335,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:37:52] local.INFO: Acknowledgment sent {"connection_id":132335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:38:03] local.INFO: TCP Data received {"connection_id":133177,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:38:03] local.INFO: Processing buffer {"connection_id":133177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:38:03] local.INFO: IMEI packet received {"connection_id":133177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":133177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:38:06] local.INFO: TCP Data received {"connection_id":132334,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63bdfbd8012d7b10c005e337b8000900b025..."} 
[2026-07-15 08:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63bdfbd8012d7b10c005e337b8000900b025..."} 
[2026-07-15 08:38:06] local.INFO: Processing buffer {"connection_id":132334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63bdfbd8012d7b10c005e337b8000900b025..."} 
[2026-07-15 08:38:06] local.INFO: Packet analysis {"connection_id":132334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63bd"} 
[2026-07-15 08:38:06] local.INFO: Extracted packet for processing {"connection_id":132334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63bd"} 
[2026-07-15 08:38:06] local.INFO: GPS Element Parsed {"raw_longitude":763039936,"raw_latitude":98777016,"longitude_deg":76.3039936,"latitude_deg":9.8777016,"altitude":9,"angle":176,"satellites":37,"speed":0,"hex_longitude":"2d7b10c0","hex_latitude":"05e337b8","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725709312001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106287675933196288,"note":"Value kept but may cause issues"} 
[2026-07-15 08:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867658060323608576,"note":"Value kept but may cause issues"} 
[2026-07-15 08:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784084823000,"timestamp_ms":1784084823000,"timestamp_seconds":1784084823,"priority":1,"record_length":96,"hex_timestamp":"0000019f63bdfbd8"} 
[2026-07-15 08:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-15 08:38:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 08:38:06] local.WARNING: Large IO value detected {"io_id":155,"raw_value":2936012800,"note":"Value kept but may cause issues"} 
[2026-07-15 08:38:06] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-15 08:38:06] local.WARNING: Large IO value detected {"io_id":99,"raw_value":-4928494895750256960,"note":"Value kept but may cause issues"} 
[2026-07-15 08:38:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-07-15 08:38:06] local.WARNING: Large IO value detected {"io_id":62,"raw_value":2281778554,"note":"Value kept but may cause issues"} 
[2026-07-15 08:38:06] local.WARNING: Large IO value detected {"io_id":121,"raw_value":2599419904,"note":"Value kept but may cause issues"} 
[2026-07-15 08:38:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2038802421034998229,"note":"Value kept but may cause issues"} 
[2026-07-15 08:38:06] local.WARNING: Large IO value detected {"io_id":49,"raw_value":8863310181140844117,"note":"Value kept but may cause issues"} 
[2026-07-15 08:38:06] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-15 08:38:06] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,97,85,24,241,157,16,156,159,107,45,71,8,41,10,66,155,25,37,199,128,1,240,237,227,99,4,113,205,62,239,64,52,2,121,5,7,49,59,148],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-07-15 08:38:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648712002122088448,"timestamp_seconds":648712002122088.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 08:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725709312001,"66":13015,"97":206,"85":15104,"24":0,"16":106287675933196288,"45":8867658060323608576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 08:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725709312001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:38:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 08:38:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 08:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106287675933196288,"km_value":106287675933196.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867658060323608576,"description":"Unknown IO ID 45"} 
[2026-07-15 08:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725709312001,"power":13015,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8867658060323608576}} 
[2026-07-15 08:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":132334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490033,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:38:06] local.INFO: GPS data processed {"connection_id":132334,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:38:06] local.INFO: Acknowledgment sent {"connection_id":132334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:38:07] local.INFO: TCP Data received {"connection_id":133177,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:38:07] local.INFO: Processing buffer {"connection_id":133177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:38:07] local.INFO: IMEI packet received {"connection_id":133177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":133177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:38:07] local.INFO: TCP Data received {"connection_id":133177,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f63bb4c58012d7f980005afda800006003331..."} 
[2026-07-15 08:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63bb4c58012d7f980005afda800006003331..."} 
[2026-07-15 08:38:07] local.INFO: Processing buffer {"connection_id":133177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63bb4c58012d7f980005afda800006003331..."} 
[2026-07-15 08:38:07] local.INFO: Packet analysis {"connection_id":133177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63bb"} 
[2026-07-15 08:38:07] local.INFO: Extracted packet for processing {"connection_id":133177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63bb"} 
[2026-07-15 08:38:07] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410816,"longitude_deg":76.3336704,"latitude_deg":9.5410816,"altitude":6,"angle":51,"satellites":49,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afda80","is_valid_coordinates":true} 
[2026-07-15 08:38:07] 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-07-15 08:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725669120001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094212908417024,"note":"Value kept but may cause issues"} 
[2026-07-15 08:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702036480,"note":"Value kept but may cause issues"} 
[2026-07-15 08:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784084647000,"timestamp_ms":1784084647000,"timestamp_seconds":1784084647,"priority":1,"record_length":96,"hex_timestamp":"0000019f63bb4c58"} 
[2026-07-15 08:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-15 08:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:38:07] 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-07-15 08:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725669120001,"66":27713,"250":206,"85":12544,"24":0,"16":347094212908417024,"45":9194098663702036480},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725669120001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:38:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:38:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094212908417024,"km_value":347094212908417.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702036480,"description":"Unknown IO ID 45"} 
[2026-07-15 08:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725669120001,"power":27713,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702036480}} 
[2026-07-15 08:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":133177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:38:08] local.INFO: GPS data processed {"connection_id":133177,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:38:08] local.INFO: Acknowledgment sent {"connection_id":133177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:38:13] local.INFO: TCP Data received {"connection_id":132154,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63bea7b8012d0d3b400705d3f0000e00b21e..."} 
[2026-07-15 08:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63bea7b8012d0d3b400705d3f0000e00b21e..."} 
[2026-07-15 08:38:13] local.INFO: Processing buffer {"connection_id":132154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63bea7b8012d0d3b400705d3f0000e00b21e..."} 
[2026-07-15 08:38:13] local.INFO: Packet analysis {"connection_id":132154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63be"} 
[2026-07-15 08:38:13] local.INFO: Extracted packet for processing {"connection_id":132154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63be"} 
[2026-07-15 08:38:13] local.INFO: GPS Element Parsed {"raw_longitude":755841856,"raw_latitude":117822448,"longitude_deg":75.5841856,"latitude_deg":11.7822448,"altitude":14,"angle":178,"satellites":30,"speed":13,"hex_longitude":"2d0d3b40","hex_latitude":"0705d3f0","is_valid_coordinates":true} 
[2026-07-15 08:38: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-07-15 08:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725725696001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24561315943022592,"note":"Value kept but may cause issues"} 
[2026-07-15 08:38:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953426145025792000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:38:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784084867000,"timestamp_ms":1784084867000,"timestamp_seconds":1784084867,"priority":1,"record_length":96,"hex_timestamp":"0000019f63bea7b8"} 
[2026-07-15 08:38:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:38:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:38: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":223,"data_length":795,"current_offset":136} 
[2026-07-15 08:38:13] 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-07-15 08:38: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-07-15 08:38:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132154,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132154,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:38:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725725696001,"66":14559,"220":206,"94":10240,"24":13,"16":24561315943022592,"45":953426145025792000},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-07-15 08:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725725696001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:38:13] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-15 08:38:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 08:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24561315943022592,"km_value":24561315943022.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:38:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":953426145025792000,"description":"Unknown IO ID 45"} 
[2026-07-15 08:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725725696001,"power":14559,"unknown_220":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":953426145025792000}} 
[2026-07-15 08:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":132154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490035,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:38:13] local.INFO: GPS data processed {"connection_id":132154,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:38:13] local.INFO: Acknowledgment sent {"connection_id":132154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:38:24] local.INFO: TCP Data received {"connection_id":132335,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63be2ea0012d19164007231ec00058002c1e..."} 
[2026-07-15 08:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63be2ea0012d19164007231ec00058002c1e..."} 
[2026-07-15 08:38:24] local.INFO: Processing buffer {"connection_id":132335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63be2ea0012d19164007231ec00058002c1e..."} 
[2026-07-15 08:38:24] local.INFO: Packet analysis {"connection_id":132335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63be"} 
[2026-07-15 08:38:24] local.INFO: Extracted packet for processing {"connection_id":132335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63be"} 
[2026-07-15 08:38:24] local.INFO: GPS Element Parsed {"raw_longitude":756618816,"raw_latitude":119742144,"longitude_deg":75.6618816,"latitude_deg":11.9742144,"altitude":88,"angle":44,"satellites":30,"speed":45,"hex_longitude":"2d191640","hex_latitude":"07231ec0","is_valid_coordinates":true} 
[2026-07-15 08:38:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725715968001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6100936619458560,"note":"Value kept but may cause issues"} 
[2026-07-15 08:38:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1801510250344540160,"note":"Value kept but may cause issues"} 
[2026-07-15 08:38:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1784084836000,"timestamp_ms":1784084836000,"timestamp_seconds":1784084836,"priority":1,"record_length":96,"hex_timestamp":"0000019f63be2ea0"} 
[2026-07-15 08:38:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:38:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:38:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-15 08:38:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:38:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:38:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":132335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":132335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":132335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:38:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 08:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 08:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725715968001,"66":14363,"238":206,"83":43776,"24":45,"16":6100936619458560,"45":1801510250344540160},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,83,24,16,45]} 
[2026-07-15 08:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 08:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 08:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725715968001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:38:24] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-07-15 08:38:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":43776,"description":"Unknown IO ID 83"} 
[2026-07-15 08:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6100936619458560,"km_value":6100936619458.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:38:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1801510250344540160,"description":"Unknown IO ID 45"} 
[2026-07-15 08:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725715968001,"power":14363,"unknown_238":206,"unknown_83":43776,"ignition":45,"odometer":null,"unknown_45":1801510250344540160}} 
[2026-07-15 08:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":132335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:38:24] local.INFO: GPS data processed {"connection_id":132335,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:38:24] local.INFO: Acknowledgment sent {"connection_id":132335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:38:29] local.INFO: TCP Data received {"connection_id":132156,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132156,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:38:29] local.INFO: Processing buffer {"connection_id":132156,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:38:29] local.INFO: IMEI packet received {"connection_id":132156,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 08:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":132156,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:38:29] local.INFO: TCP Data received {"connection_id":132157,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132157,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:38:29] local.INFO: Processing buffer {"connection_id":132157,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:38:29] local.INFO: IMEI packet received {"connection_id":132157,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 08:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":132157,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:38:31] local.INFO: TCP Data received {"connection_id":132156,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132156,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:38:31] local.INFO: Processing buffer {"connection_id":132156,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:38:31] local.INFO: IMEI packet received {"connection_id":132156,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":132156,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:38:32] local.INFO: TCP Data received {"connection_id":132156,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132156,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:38:32] local.INFO: Processing buffer {"connection_id":132156,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:38:32] local.INFO: IMEI packet received {"connection_id":132156,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":132156,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:38:33] local.INFO: TCP Data received {"connection_id":132156,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132156,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:38:33] local.INFO: Processing buffer {"connection_id":132156,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:38:33] local.INFO: IMEI packet received {"connection_id":132156,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":132156,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:38:34] local.INFO: TCP Data received {"connection_id":132157,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132157,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:38:34] local.INFO: Processing buffer {"connection_id":132157,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:38:34] local.INFO: IMEI packet received {"connection_id":132157,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":132157,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:38:34] local.INFO: TCP Data received {"connection_id":132156,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63bf4fb0012d7b0a4005e32b88000701421a..."} 
[2026-07-15 08:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63bf4fb0012d7b0a4005e32b88000701421a..."} 
[2026-07-15 08:38:34] local.INFO: Processing buffer {"connection_id":132156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63bf4fb0012d7b0a4005e32b88000701421a..."} 
[2026-07-15 08:38:34] local.INFO: Packet analysis {"connection_id":132156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63bf"} 
[2026-07-15 08:38:34] local.INFO: Extracted packet for processing {"connection_id":132156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63bf"} 
[2026-07-15 08:38:34] local.INFO: GPS Element Parsed {"raw_longitude":763038272,"raw_latitude":98773896,"longitude_deg":76.3038272,"latitude_deg":9.8773896,"altitude":7,"angle":322,"satellites":26,"speed":1,"hex_longitude":"2d7b0a40","hex_latitude":"05e32b88","is_valid_coordinates":true} 
[2026-07-15 08:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725734144001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106287890681561088,"note":"Value kept but may cause issues"} 
[2026-07-15 08:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866039579206674432,"note":"Value kept but may cause issues"} 
[2026-07-15 08:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784084910000,"timestamp_ms":1784084910000,"timestamp_seconds":1784084910,"priority":1,"record_length":96,"hex_timestamp":"0000019f63bf4fb0"} 
[2026-07-15 08:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:38:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-15 08:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-15 08:38:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 08:38:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3277229921493267624,"note":"Value kept but may cause issues"} 
[2026-07-15 08:38:34] local.WARNING: Large IO value detected {"io_id":227,"raw_value":3564599139436603136,"note":"Value kept but may cause issues"} 
[2026-07-15 08:38:34] local.WARNING: Large IO value detected {"io_id":99,"raw_value":3199686657,"note":"Value kept but may cause issues"} 
[2026-07-15 08:38:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-07-15 08:38:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3811624960,"note":"Value kept but may cause issues"} 
[2026-07-15 08:38:34] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3976252838,"note":"Value kept but may cause issues"} 
[2026-07-15 08:38:34] local.WARNING: Large IO value detected {"io_id":121,"raw_value":2620260352,"note":"Value kept but may cause issues"} 
[2026-07-15 08:38:34] local.WARNING: Large IO value detected {"io_id":3,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-15 08:38:34] local.WARNING: Large IO value detected {"io_id":46,"raw_value":57885305781245243,"note":"Value kept but may cause issues"} 
[2026-07-15 08:38:34] local.WARNING: Large IO value detected {"io_id":190,"raw_value":-8331658015785730043,"note":"Value kept but may cause issues"} 
[2026-07-15 08:38:34] local.WARNING: Large IO value detected {"io_id":166,"raw_value":6989813487136413696,"note":"Value kept but may cause issues"} 
[2026-07-15 08:38:34] local.WARNING: Large IO value detected {"io_id":84,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-15 08:38:34] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,97,85,24,241,157,16,156,159,210,45,192,43,8,38,10,66,206,198,128,1,240,106,227,99,4,113,205,5,14,39,239,50,2,121,3,46,190,166,84],"length":626,"final_offset":756,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-07-15 08:38:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576758835918667776,"timestamp_seconds":576758835918667.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 08:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":132156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":132156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":132156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725734144001,"66":13276,"97":206,"85":15104,"24":1,"16":106287890681561088,"45":8866039579206674432},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 08:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725734144001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:38:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 08:38:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 08:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106287890681561088,"km_value":106287890681561.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866039579206674432,"description":"Unknown IO ID 45"} 
[2026-07-15 08:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725734144001,"power":13276,"unknown_97":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8866039579206674432}} 
[2026-07-15 08:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":132156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490037,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:38:34] local.INFO: GPS data processed {"connection_id":132156,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:38:34] local.INFO: Acknowledgment sent {"connection_id":132156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:38:35] local.INFO: TCP Data received {"connection_id":132157,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63beaba0012d0d3ac00705d288000e00be1f..."} 
[2026-07-15 08:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63beaba0012d0d3ac00705d288000e00be1f..."} 
[2026-07-15 08:38:35] local.INFO: Processing buffer {"connection_id":132157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63beaba0012d0d3ac00705d288000e00be1f..."} 
[2026-07-15 08:38:35] local.INFO: Packet analysis {"connection_id":132157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63be"} 
[2026-07-15 08:38:35] local.INFO: Extracted packet for processing {"connection_id":132157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63be"} 
[2026-07-15 08:38:35] local.INFO: GPS Element Parsed {"raw_longitude":755841728,"raw_latitude":117822088,"longitude_deg":75.5841728,"latitude_deg":11.7822088,"altitude":14,"angle":190,"satellites":31,"speed":15,"hex_longitude":"2d0d3ac0","hex_latitude":"0705d288","is_valid_coordinates":true} 
[2026-07-15 08:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725725952001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24561333122891776,"note":"Value kept but may cause issues"} 
[2026-07-15 08:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953426145025716224,"note":"Value kept but may cause issues"} 
[2026-07-15 08:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784084868000,"timestamp_ms":1784084868000,"timestamp_seconds":1784084868,"priority":1,"record_length":96,"hex_timestamp":"0000019f63beaba0"} 
[2026-07-15 08:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-15 08:38:35] 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-07-15 08:38:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132157,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132157,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725725952001,"66":14450,"220":206,"94":10240,"24":15,"16":24561333122891776,"45":953426145025716224},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-07-15 08:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725725952001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:38:35] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-15 08:38:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 08:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24561333122891776,"km_value":24561333122891.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":953426145025716224,"description":"Unknown IO ID 45"} 
[2026-07-15 08:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725725952001,"power":14450,"unknown_220":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":953426145025716224}} 
[2026-07-15 08:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":132157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490038,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:38:35] local.INFO: GPS data processed {"connection_id":132157,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:38:35] local.INFO: Acknowledgment sent {"connection_id":132157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:38:35] local.INFO: TCP Data received {"connection_id":132156,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63bf5398012d7b0a0005e32bb00007012f1a..."} 
[2026-07-15 08:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63bf5398012d7b0a0005e32bb00007012f1a..."} 
[2026-07-15 08:38:35] local.INFO: Processing buffer {"connection_id":132156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63bf5398012d7b0a0005e32bb00007012f1a..."} 
[2026-07-15 08:38:35] local.INFO: Packet analysis {"connection_id":132156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63bf"} 
[2026-07-15 08:38:35] local.INFO: Extracted packet for processing {"connection_id":132156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63bf"} 
[2026-07-15 08:38:35] local.INFO: GPS Element Parsed {"raw_longitude":763038208,"raw_latitude":98773936,"longitude_deg":76.3038208,"latitude_deg":9.8773936,"altitude":7,"angle":303,"satellites":26,"speed":3,"hex_longitude":"2d7b0a00","hex_latitude":"05e32bb0","is_valid_coordinates":true} 
[2026-07-15 08:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725736960001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106287894976528384,"note":"Value kept but may cause issues"} 
[2026-07-15 08:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865969210462537728,"note":"Value kept but may cause issues"} 
[2026-07-15 08:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784084911000,"timestamp_ms":1784084911000,"timestamp_seconds":1784084911,"priority":1,"record_length":96,"hex_timestamp":"0000019f63bf5398"} 
[2026-07-15 08:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-15 08:38:35] 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-07-15 08:38:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725736960001,"66":13189,"97":206,"85":15104,"24":3,"16":106287894976528384,"45":8865969210462537728},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 08:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725736960001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:38:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 08:38:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 08:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106287894976528384,"km_value":106287894976528.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865969210462537728,"description":"Unknown IO ID 45"} 
[2026-07-15 08:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725736960001,"power":13189,"unknown_97":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8865969210462537728}} 
[2026-07-15 08:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":132156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490039,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:38:35] local.INFO: GPS data processed {"connection_id":132156,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:38:35] local.INFO: Acknowledgment sent {"connection_id":132156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:38:39] local.INFO: TCP Data received {"connection_id":133177,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f63bb4c58012d7f980005afda800006003331..."} 
[2026-07-15 08:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63bb4c58012d7f980005afda800006003331..."} 
[2026-07-15 08:38:39] local.INFO: Processing buffer {"connection_id":133177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63bb4c58012d7f980005afda800006003331..."} 
[2026-07-15 08:38:39] local.INFO: Packet analysis {"connection_id":133177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63bb"} 
[2026-07-15 08:38:39] local.INFO: Extracted packet for processing {"connection_id":133177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63bb"} 
[2026-07-15 08:38:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410816,"longitude_deg":76.3336704,"latitude_deg":9.5410816,"altitude":6,"angle":51,"satellites":49,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afda80","is_valid_coordinates":true} 
[2026-07-15 08:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725669120001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094212908417024,"note":"Value kept but may cause issues"} 
[2026-07-15 08:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702036480,"note":"Value kept but may cause issues"} 
[2026-07-15 08:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784084647000,"timestamp_ms":1784084647000,"timestamp_seconds":1784084647,"priority":1,"record_length":96,"hex_timestamp":"0000019f63bb4c58"} 
[2026-07-15 08:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-15 08:38:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725669120001,"66":27713,"250":206,"85":12544,"24":0,"16":347094212908417024,"45":9194098663702036480},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725669120001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:38:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:38:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094212908417024,"km_value":347094212908417.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702036480,"description":"Unknown IO ID 45"} 
[2026-07-15 08:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725669120001,"power":27713,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702036480}} 
[2026-07-15 08:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":133177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:38:39] local.INFO: GPS data processed {"connection_id":133177,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:38:39] local.INFO: Acknowledgment sent {"connection_id":133177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:38:42] local.INFO: TCP Data received {"connection_id":132159,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:38:42] local.INFO: Processing buffer {"connection_id":132159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:38:42] local.INFO: IMEI packet received {"connection_id":132159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 08:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":132159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:38:48] local.INFO: TCP Data received {"connection_id":132159,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:38:48] local.INFO: Processing buffer {"connection_id":132159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:38:48] local.INFO: IMEI packet received {"connection_id":132159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 08:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":132159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:38:48] local.INFO: TCP Data received {"connection_id":132159,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63be4de0012d193100072339080054002c1f..."} 
[2026-07-15 08:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63be4de0012d193100072339080054002c1f..."} 
[2026-07-15 08:38:48] local.INFO: Processing buffer {"connection_id":132159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63be4de0012d193100072339080054002c1f..."} 
[2026-07-15 08:38:48] local.INFO: Packet analysis {"connection_id":132159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63be"} 
[2026-07-15 08:38:48] local.INFO: Extracted packet for processing {"connection_id":132159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63be"} 
[2026-07-15 08:38:48] local.INFO: GPS Element Parsed {"raw_longitude":756625664,"raw_latitude":119748872,"longitude_deg":75.6625664,"latitude_deg":11.9748872,"altitude":84,"angle":44,"satellites":31,"speed":48,"hex_longitude":"2d193100","hex_latitude":"07233908","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725718016001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6101396180959232,"note":"Value kept but may cause issues"} 
[2026-07-15 08:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1807702699833999360,"note":"Value kept but may cause issues"} 
[2026-07-15 08:38:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784084844000,"timestamp_ms":1784084844000,"timestamp_seconds":1784084844,"priority":1,"record_length":96,"hex_timestamp":"0000019f63be4de0"} 
[2026-07-15 08:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:38:48] 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-07-15 08: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-15 08:38:48] 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-07-15 08: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-07-15 08:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":132159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":132159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":132159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:38:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 08:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 08:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725718016001,"66":14483,"238":206,"83":43776,"24":48,"16":6101396180959232,"45":1807702699833999360},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,83,24,16,45]} 
[2026-07-15 08:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 08:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 08:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725718016001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:38:48] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-07-15 08:38:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":43776,"description":"Unknown IO ID 83"} 
[2026-07-15 08:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6101396180959232,"km_value":6101396180959.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1807702699833999360,"description":"Unknown IO ID 45"} 
[2026-07-15 08:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725718016001,"power":14483,"unknown_238":206,"unknown_83":43776,"ignition":48,"odometer":null,"unknown_45":1807702699833999360}} 
[2026-07-15 08:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":132159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:38:48] local.INFO: GPS data processed {"connection_id":132159,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:38:48] local.INFO: Acknowledgment sent {"connection_id":132159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:39:03] local.INFO: TCP Data received {"connection_id":132160,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:39:03] local.INFO: Processing buffer {"connection_id":132160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:39:03] local.INFO: IMEI packet received {"connection_id":132160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":132160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:39:06] local.INFO: TCP Data received {"connection_id":132157,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63bec6f8012d0d39400705c908001000b01f..."} 
[2026-07-15 08:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63bec6f8012d0d39400705c908001000b01f..."} 
[2026-07-15 08:39:06] local.INFO: Processing buffer {"connection_id":132157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63bec6f8012d0d39400705c908001000b01f..."} 
[2026-07-15 08:39:06] local.INFO: Packet analysis {"connection_id":132157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63be"} 
[2026-07-15 08:39:06] local.INFO: Extracted packet for processing {"connection_id":132157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63be"} 
[2026-07-15 08:39:06] local.INFO: GPS Element Parsed {"raw_longitude":755841344,"raw_latitude":117819656,"longitude_deg":75.5841344,"latitude_deg":11.7819656,"altitude":16,"angle":176,"satellites":31,"speed":13,"hex_longitude":"2d0d3940","hex_latitude":"0705c908","is_valid_coordinates":true} 
[2026-07-15 08:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725726208001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24561453381976064,"note":"Value kept but may cause issues"} 
[2026-07-15 08:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953285407537268736,"note":"Value kept but may cause issues"} 
[2026-07-15 08:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784084875000,"timestamp_ms":1784084875000,"timestamp_seconds":1784084875,"priority":1,"record_length":96,"hex_timestamp":"0000019f63bec6f8"} 
[2026-07-15 08:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-15 08:39:06] 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-07-15 08:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132157,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132157,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725726208001,"66":14450,"167":206,"94":11008,"24":13,"16":24561453381976064,"45":953285407537268736},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-15 08:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725726208001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:39:06] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 08:39:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 08:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24561453381976064,"km_value":24561453381976.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":953285407537268736,"description":"Unknown IO ID 45"} 
[2026-07-15 08:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725726208001,"power":14450,"unknown_167":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":953285407537268736}} 
[2026-07-15 08:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":132157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490042,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:39:06] local.INFO: GPS data processed {"connection_id":132157,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:39:06] local.INFO: Acknowledgment sent {"connection_id":132157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:39:07] local.INFO: TCP Data received {"connection_id":132156,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63bf5780012d7b098005e32be00007013f1c..."} 
[2026-07-15 08:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63bf5780012d7b098005e32be00007013f1c..."} 
[2026-07-15 08:39:07] local.INFO: Processing buffer {"connection_id":132156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63bf5780012d7b098005e32be00007013f1c..."} 
[2026-07-15 08:39:07] local.INFO: Packet analysis {"connection_id":132156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63bf"} 
[2026-07-15 08:39:07] local.INFO: Extracted packet for processing {"connection_id":132156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63bf"} 
[2026-07-15 08:39:07] local.INFO: GPS Element Parsed {"raw_longitude":763038080,"raw_latitude":98773984,"longitude_deg":76.303808,"latitude_deg":9.8773984,"altitude":7,"angle":319,"satellites":28,"speed":3,"hex_longitude":"2d7b0980","hex_latitude":"05e32be0","is_valid_coordinates":true} 
[2026-07-15 08:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725737216001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106287899271495680,"note":"Value kept but may cause issues"} 
[2026-07-15 08:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865898841718370304,"note":"Value kept but may cause issues"} 
[2026-07-15 08:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784084912000,"timestamp_ms":1784084912000,"timestamp_seconds":1784084912,"priority":1,"record_length":96,"hex_timestamp":"0000019f63bf5780"} 
[2026-07-15 08:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-15 08:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725737216001,"66":13189,"97":206,"85":15104,"24":3,"16":106287899271495680,"45":8865898841718370304},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 08:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725737216001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:39:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 08:39:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 08:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106287899271495680,"km_value":106287899271495.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865898841718370304,"description":"Unknown IO ID 45"} 
[2026-07-15 08:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725737216001,"power":13189,"unknown_97":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8865898841718370304}} 
[2026-07-15 08:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":132156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490043,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:39:07] local.INFO: GPS data processed {"connection_id":132156,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:39:07] local.INFO: Acknowledgment sent {"connection_id":132156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:39:07] local.INFO: TCP Data received {"connection_id":132160,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:39:07] local.INFO: Processing buffer {"connection_id":132160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:39:07] local.INFO: IMEI packet received {"connection_id":132160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":132160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:39:08] local.INFO: TCP Data received {"connection_id":132160,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f63bb4c58012d7f980005afda800006003331..."} 
[2026-07-15 08:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63bb4c58012d7f980005afda800006003331..."} 
[2026-07-15 08:39:08] local.INFO: Processing buffer {"connection_id":132160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63bb4c58012d7f980005afda800006003331..."} 
[2026-07-15 08:39:08] local.INFO: Packet analysis {"connection_id":132160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63bb"} 
[2026-07-15 08:39:08] local.INFO: Extracted packet for processing {"connection_id":132160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63bb"} 
[2026-07-15 08:39:08] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410816,"longitude_deg":76.3336704,"latitude_deg":9.5410816,"altitude":6,"angle":51,"satellites":49,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afda80","is_valid_coordinates":true} 
[2026-07-15 08:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725669120001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094212908417024,"note":"Value kept but may cause issues"} 
[2026-07-15 08:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702036480,"note":"Value kept but may cause issues"} 
[2026-07-15 08:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784084647000,"timestamp_ms":1784084647000,"timestamp_seconds":1784084647,"priority":1,"record_length":96,"hex_timestamp":"0000019f63bb4c58"} 
[2026-07-15 08:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-15 08:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725669120001,"66":27713,"250":206,"85":12544,"24":0,"16":347094212908417024,"45":9194098663702036480},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725669120001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:39:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:39:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094212908417024,"km_value":347094212908417.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702036480,"description":"Unknown IO ID 45"} 
[2026-07-15 08:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725669120001,"power":27713,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702036480}} 
[2026-07-15 08:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":132160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:39:08] local.INFO: GPS data processed {"connection_id":132160,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:39:08] local.INFO: Acknowledgment sent {"connection_id":132160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:39:20] local.INFO: TCP Data received {"connection_id":132159,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63bf9218012d1a40000723d050002d002122..."} 
[2026-07-15 08:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63bf9218012d1a40000723d050002d002122..."} 
[2026-07-15 08:39:20] local.INFO: Processing buffer {"connection_id":132159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63bf9218012d1a40000723d050002d002122..."} 
[2026-07-15 08:39:20] local.INFO: Packet analysis {"connection_id":132159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63bf"} 
[2026-07-15 08:39:20] local.INFO: Extracted packet for processing {"connection_id":132159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63bf"} 
[2026-07-15 08:39:20] local.INFO: GPS Element Parsed {"raw_longitude":756695040,"raw_latitude":119787600,"longitude_deg":75.669504,"latitude_deg":11.97876,"altitude":45,"angle":33,"satellites":34,"speed":37,"hex_longitude":"2d1a4000","hex_latitude":"0723d050","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725739776001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6105472104923136,"note":"Value kept but may cause issues"} 
[2026-07-15 08:39:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1888204543183976448,"note":"Value kept but may cause issues"} 
[2026-07-15 08:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1784084927000,"timestamp_ms":1784084927000,"timestamp_seconds":1784084927,"priority":1,"record_length":96,"hex_timestamp":"0000019f63bf9218"} 
[2026-07-15 08:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:39:20] 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-07-15 08: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":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-15 08:39:20] 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-07-15 08: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-07-15 08:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":132159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":132159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":132159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:39:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 08:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 08:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725739776001,"66":14243,"42":206,"83":42752,"24":37,"16":6105472104923136,"45":1888204543183976448},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-15 08:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 08:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 08:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725739776001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:39:20] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-15 08:39:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-15 08:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6105472104923136,"km_value":6105472104923.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:39:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1888204543183976448,"description":"Unknown IO ID 45"} 
[2026-07-15 08:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725739776001,"power":14243,"unknown_42":206,"unknown_83":42752,"ignition":37,"odometer":null,"unknown_45":1888204543183976448}} 
[2026-07-15 08:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":132159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:39:20] local.INFO: GPS data processed {"connection_id":132159,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:39:20] local.INFO: Acknowledgment sent {"connection_id":132159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:39:28] local.INFO: TCP Data received {"connection_id":134540,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134540,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:39:28] local.INFO: Processing buffer {"connection_id":134540,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:39:28] local.INFO: IMEI packet received {"connection_id":134540,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 08:39:28] local.INFO: IMEI acknowledgment sent {"connection_id":134540,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:39:29] local.INFO: TCP Data received {"connection_id":134540,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134540,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:39:29] local.INFO: Processing buffer {"connection_id":134540,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:39:29] local.INFO: IMEI packet received {"connection_id":134540,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":134540,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:39:29] local.INFO: TCP Data received {"connection_id":132161,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132161,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:39:29] local.INFO: Processing buffer {"connection_id":132161,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:39:29] local.INFO: IMEI packet received {"connection_id":132161,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 08:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":132161,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:39:34] local.INFO: TCP Data received {"connection_id":134540,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134540,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:39:34] local.INFO: Processing buffer {"connection_id":134540,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:39:34] local.INFO: IMEI packet received {"connection_id":134540,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":134540,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:39:35] local.INFO: TCP Data received {"connection_id":132161,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132161,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:39:35] local.INFO: Processing buffer {"connection_id":132161,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:39:35] local.INFO: IMEI packet received {"connection_id":132161,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":132161,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:39:35] local.INFO: TCP Data received {"connection_id":134540,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63bf5f50012d7b094005e32c30000701311e..."} 
[2026-07-15 08:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63bf5f50012d7b094005e32c30000701311e..."} 
[2026-07-15 08:39:35] local.INFO: Processing buffer {"connection_id":134540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63bf5f50012d7b094005e32c30000701311e..."} 
[2026-07-15 08:39:35] local.INFO: Packet analysis {"connection_id":134540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63bf"} 
[2026-07-15 08:39:35] local.INFO: Extracted packet for processing {"connection_id":134540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63bf"} 
[2026-07-15 08:39:35] local.INFO: GPS Element Parsed {"raw_longitude":763038016,"raw_latitude":98774064,"longitude_deg":76.3038016,"latitude_deg":9.8774064,"altitude":7,"angle":305,"satellites":30,"speed":2,"hex_longitude":"2d7b0940","hex_latitude":"05e32c30","is_valid_coordinates":true} 
[2026-07-15 08:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725737472001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106287903566462976,"note":"Value kept but may cause issues"} 
[2026-07-15 08:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865758104230027264,"note":"Value kept but may cause issues"} 
[2026-07-15 08:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784084914000,"timestamp_ms":1784084914000,"timestamp_seconds":1784084914,"priority":1,"record_length":96,"hex_timestamp":"0000019f63bf5f50"} 
[2026-07-15 08:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-15 08:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":134540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":134540,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":134540,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725737472001,"66":13254,"97":206,"85":15104,"24":2,"16":106287903566462976,"45":8865758104230027264},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 08:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725737472001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:39:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 08:39:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 08:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106287903566462976,"km_value":106287903566462.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865758104230027264,"description":"Unknown IO ID 45"} 
[2026-07-15 08:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725737472001,"power":13254,"unknown_97":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8865758104230027264}} 
[2026-07-15 08:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":134540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490046,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:39:35] local.INFO: GPS data processed {"connection_id":134540,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:39:35] local.INFO: Acknowledgment sent {"connection_id":134540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:39:36] local.INFO: TCP Data received {"connection_id":132161,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63bf0960012d0d3b400705c220000f007d1f..."} 
[2026-07-15 08:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63bf0960012d0d3b400705c220000f007d1f..."} 
[2026-07-15 08:39:36] local.INFO: Processing buffer {"connection_id":132161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63bf0960012d0d3b400705c220000f007d1f..."} 
[2026-07-15 08:39:36] local.INFO: Packet analysis {"connection_id":132161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63bf"} 
[2026-07-15 08:39:36] local.INFO: Extracted packet for processing {"connection_id":132161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63bf"} 
[2026-07-15 08:39:36] local.INFO: GPS Element Parsed {"raw_longitude":755841856,"raw_latitude":117817888,"longitude_deg":75.5841856,"latitude_deg":11.7817888,"altitude":15,"angle":125,"satellites":31,"speed":6,"hex_longitude":"2d0d3b40","hex_latitude":"0705c220","is_valid_coordinates":true} 
[2026-07-15 08:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725728000001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24561543576289280,"note":"Value kept but may cause issues"} 
[2026-07-15 08:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952863195071580160,"note":"Value kept but may cause issues"} 
[2026-07-15 08:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784084892000,"timestamp_ms":1784084892000,"timestamp_seconds":1784084892,"priority":1,"record_length":96,"hex_timestamp":"0000019f63bf0960"} 
[2026-07-15 08:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-15 08:39:36] 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-07-15 08:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132161,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132161,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725728000001,"66":14439,"167":206,"94":11008,"24":6,"16":24561543576289280,"45":952863195071580160},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-15 08:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725728000001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:39:36] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 08:39:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 08:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24561543576289280,"km_value":24561543576289.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":952863195071580160,"description":"Unknown IO ID 45"} 
[2026-07-15 08:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725728000001,"power":14439,"unknown_167":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":952863195071580160}} 
[2026-07-15 08:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":132161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490047,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:39:36] local.INFO: GPS data processed {"connection_id":132161,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:39:36] local.INFO: Acknowledgment sent {"connection_id":132161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:39:39] local.INFO: TCP Data received {"connection_id":132160,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f63bb4c58012d7f980005afda800006003331..."} 
[2026-07-15 08:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63bb4c58012d7f980005afda800006003331..."} 
[2026-07-15 08:39:39] local.INFO: Processing buffer {"connection_id":132160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63bb4c58012d7f980005afda800006003331..."} 
[2026-07-15 08:39:39] local.INFO: Packet analysis {"connection_id":132160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63bb"} 
[2026-07-15 08:39:39] local.INFO: Extracted packet for processing {"connection_id":132160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63bb"} 
[2026-07-15 08:39:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410816,"longitude_deg":76.3336704,"latitude_deg":9.5410816,"altitude":6,"angle":51,"satellites":49,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afda80","is_valid_coordinates":true} 
[2026-07-15 08:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725669120001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094212908417024,"note":"Value kept but may cause issues"} 
[2026-07-15 08:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702036480,"note":"Value kept but may cause issues"} 
[2026-07-15 08:39:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784084647000,"timestamp_ms":1784084647000,"timestamp_seconds":1784084647,"priority":1,"record_length":96,"hex_timestamp":"0000019f63bb4c58"} 
[2026-07-15 08:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:39:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-15 08:39:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:39: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-07-15 08:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:39:39] 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-07-15 08:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725669120001,"66":27713,"250":206,"85":12544,"24":0,"16":347094212908417024,"45":9194098663702036480},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725669120001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:39:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:39:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094212908417024,"km_value":347094212908417.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702036480,"description":"Unknown IO ID 45"} 
[2026-07-15 08:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725669120001,"power":27713,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702036480}} 
[2026-07-15 08:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":132160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:39:39] local.INFO: GPS data processed {"connection_id":132160,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:39:39] local.INFO: Acknowledgment sent {"connection_id":132160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:39:42] local.INFO: TCP Data received {"connection_id":132162,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:39:42] local.INFO: Processing buffer {"connection_id":132162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:39:42] local.INFO: IMEI packet received {"connection_id":132162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 08:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":132162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:39:47] local.INFO: TCP Data received {"connection_id":132162,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:39:47] local.INFO: Processing buffer {"connection_id":132162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:39:47] local.INFO: IMEI packet received {"connection_id":132162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 08:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":132162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:39:48] local.INFO: TCP Data received {"connection_id":132162,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:39:48] local.INFO: Processing buffer {"connection_id":132162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:39:48] local.INFO: IMEI packet received {"connection_id":132162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 08:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":132162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:39:48] local.INFO: TCP Data received {"connection_id":132162,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63bfb540012d1a54400723f050002e002323..."} 
[2026-07-15 08:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63bfb540012d1a54400723f050002e002323..."} 
[2026-07-15 08:39:48] local.INFO: Processing buffer {"connection_id":132162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63bfb540012d1a54400723f050002e002323..."} 
[2026-07-15 08:39:48] local.INFO: Packet analysis {"connection_id":132162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63bf"} 
[2026-07-15 08:39:48] local.INFO: Extracted packet for processing {"connection_id":132162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63bf"} 
[2026-07-15 08:39:48] local.INFO: GPS Element Parsed {"raw_longitude":756700224,"raw_latitude":119795792,"longitude_deg":75.6700224,"latitude_deg":11.9795792,"altitude":46,"angle":35,"satellites":35,"speed":48,"hex_longitude":"2d1a5440","hex_latitude":"0723f050","is_valid_coordinates":true} 
[2026-07-15 08:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725741312001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6105940256358400,"note":"Value kept but may cause issues"} 
[2026-07-15 08:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891511874161233920,"note":"Value kept but may cause issues"} 
[2026-07-15 08:39:48] 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-07-15 08:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784084936000,"timestamp_ms":1784084936000,"timestamp_seconds":1784084936,"priority":1,"record_length":96,"hex_timestamp":"0000019f63bfb540"} 
[2026-07-15 08:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:39:48] 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-07-15 08:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-15 08:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:39:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":132162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":132162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":132162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:39:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 08:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 08:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725741312001,"66":14374,"43":206,"83":42752,"24":48,"16":6105940256358400,"45":1891511874161233920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-15 08:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 08:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 08:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725741312001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:39:48] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-15 08:39:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-15 08:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6105940256358400,"km_value":6105940256358.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891511874161233920,"description":"Unknown IO ID 45"} 
[2026-07-15 08:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725741312001,"power":14374,"unknown_43":206,"unknown_83":42752,"ignition":48,"odometer":null,"unknown_45":1891511874161233920}} 
[2026-07-15 08:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":132162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:39:48] local.INFO: GPS data processed {"connection_id":132162,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:39:48] local.INFO: Acknowledgment sent {"connection_id":132162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:39:53] local.INFO: TCP Data received {"connection_id":132162,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63bfccb0012d1a6780072405c0002e003023..."} 
[2026-07-15 08:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63bfccb0012d1a6780072405c0002e003023..."} 
[2026-07-15 08:39:53] local.INFO: Processing buffer {"connection_id":132162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63bfccb0012d1a6780072405c0002e003023..."} 
[2026-07-15 08:39:53] local.INFO: Packet analysis {"connection_id":132162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63bf"} 
[2026-07-15 08:39:53] local.INFO: Extracted packet for processing {"connection_id":132162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63bf"} 
[2026-07-15 08:39:53] local.INFO: GPS Element Parsed {"raw_longitude":756705152,"raw_latitude":119801280,"longitude_deg":75.6705152,"latitude_deg":11.980128,"altitude":46,"angle":48,"satellites":35,"speed":44,"hex_longitude":"2d1a6780","hex_latitude":"072405c0","is_valid_coordinates":true} 
[2026-07-15 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-07-15 08:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725743616001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6106296738643968,"note":"Value kept but may cause issues"} 
[2026-07-15 08:39:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1897211742441721856,"note":"Value kept but may cause issues"} 
[2026-07-15 08:39:53] 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-07-15 08:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784084942000,"timestamp_ms":1784084942000,"timestamp_seconds":1784084942,"priority":1,"record_length":96,"hex_timestamp":"0000019f63bfccb0"} 
[2026-07-15 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-07-15 08:39:53] 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-07-15 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-15 08:39:53] 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-07-15 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-07-15 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-07-15 08:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":132162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":132162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":132162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:39:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 08:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 08:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725743616001,"66":14211,"43":206,"83":42752,"24":44,"16":6106296738643968,"45":1897211742441721856},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-15 08:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 08:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 08:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725743616001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:39:53] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-15 08:39:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-15 08:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6106296738643968,"km_value":6106296738643.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:39:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1897211742441721856,"description":"Unknown IO ID 45"} 
[2026-07-15 08:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725743616001,"power":14211,"unknown_43":206,"unknown_83":42752,"ignition":44,"odometer":null,"unknown_45":1897211742441721856}} 
[2026-07-15 08:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":132162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:39:53] local.INFO: GPS data processed {"connection_id":132162,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:39:53] local.INFO: Acknowledgment sent {"connection_id":132162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:40:02] local.INFO: TCP Data received {"connection_id":132337,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:40:02] local.INFO: Processing buffer {"connection_id":132337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:40:02] local.INFO: IMEI packet received {"connection_id":132337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":132337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:40:06] local.INFO: TCP Data received {"connection_id":134540,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63bf6338012d7b090005e32c30000701161f..."} 
[2026-07-15 08:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63bf6338012d7b090005e32c30000701161f..."} 
[2026-07-15 08:40:06] local.INFO: Processing buffer {"connection_id":134540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63bf6338012d7b090005e32c30000701161f..."} 
[2026-07-15 08:40:06] local.INFO: Packet analysis {"connection_id":134540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63bf"} 
[2026-07-15 08:40:06] local.INFO: Extracted packet for processing {"connection_id":134540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63bf"} 
[2026-07-15 08:40:06] local.INFO: GPS Element Parsed {"raw_longitude":763037952,"raw_latitude":98774064,"longitude_deg":76.3037952,"latitude_deg":9.8774064,"altitude":7,"angle":278,"satellites":31,"speed":1,"hex_longitude":"2d7b0900","hex_latitude":"05e32c30","is_valid_coordinates":true} 
[2026-07-15 08:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725737984001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106287907861430272,"note":"Value kept but may cause issues"} 
[2026-07-15 08:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865687735485870080,"note":"Value kept but may cause issues"} 
[2026-07-15 08:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784084915000,"timestamp_ms":1784084915000,"timestamp_seconds":1784084915,"priority":1,"record_length":96,"hex_timestamp":"0000019f63bf6338"} 
[2026-07-15 08:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-15 08:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":134540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":134540,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":134540,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725737984001,"66":13254,"97":206,"85":15104,"24":1,"16":106287907861430272,"45":8865687735485870080},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 08:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725737984001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:40:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 08:40:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 08:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106287907861430272,"km_value":106287907861430.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865687735485870080,"description":"Unknown IO ID 45"} 
[2026-07-15 08:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725737984001,"power":13254,"unknown_97":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8865687735485870080}} 
[2026-07-15 08:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":134540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490051,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:40:06] local.INFO: GPS data processed {"connection_id":134540,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:40:06] local.INFO: Acknowledgment sent {"connection_id":134540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:40:06] local.INFO: TCP Data received {"connection_id":132337,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:40:06] local.INFO: Processing buffer {"connection_id":132337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:40:06] local.INFO: IMEI packet received {"connection_id":132337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":132337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:40:06] local.INFO: TCP Data received {"connection_id":132161,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63c093e8012d0d5b800705ddd0000f001921..."} 
[2026-07-15 08:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63c093e8012d0d5b800705ddd0000f001921..."} 
[2026-07-15 08:40:06] local.INFO: Processing buffer {"connection_id":132161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63c093e8012d0d5b800705ddd0000f001921..."} 
[2026-07-15 08:40:06] local.INFO: Packet analysis {"connection_id":132161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63c0"} 
[2026-07-15 08:40:06] local.INFO: Extracted packet for processing {"connection_id":132161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63c0"} 
[2026-07-15 08:40:06] local.INFO: GPS Element Parsed {"raw_longitude":755850112,"raw_latitude":117824976,"longitude_deg":75.5850112,"latitude_deg":11.7824976,"altitude":15,"angle":25,"satellites":33,"speed":14,"hex_longitude":"2d0d5b80","hex_latitude":"0705ddd0","is_valid_coordinates":true} 
[2026-07-15 08:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725757952001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24562398274781184,"note":"Value kept but may cause issues"} 
[2026-07-15 08:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":962362975536850944,"note":"Value kept but may cause issues"} 
[2026-07-15 08:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784084993000,"timestamp_ms":1784084993000,"timestamp_seconds":1784084993,"priority":1,"record_length":96,"hex_timestamp":"0000019f63c093e8"} 
[2026-07-15 08:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-15 08:40:06] 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-07-15 08:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132161,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132161,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725757952001,"66":14450,"167":206,"94":11008,"24":14,"16":24562398274781184,"45":962362975536850944},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-15 08:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725757952001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:40:06] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 08:40:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 08:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24562398274781184,"km_value":24562398274781.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":962362975536850944,"description":"Unknown IO ID 45"} 
[2026-07-15 08:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725757952001,"power":14450,"unknown_167":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":962362975536850944}} 
[2026-07-15 08:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":132161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490052,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:40:07] local.INFO: GPS data processed {"connection_id":132161,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:40:07] local.INFO: Acknowledgment sent {"connection_id":132161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:40:07] local.INFO: TCP Data received {"connection_id":132337,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f63bfebf0012d7f980005afda20000000332f..."} 
[2026-07-15 08:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63bfebf0012d7f980005afda20000000332f..."} 
[2026-07-15 08:40:07] local.INFO: Processing buffer {"connection_id":132337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63bfebf0012d7f980005afda20000000332f..."} 
[2026-07-15 08:40:07] local.INFO: Packet analysis {"connection_id":132337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63bf"} 
[2026-07-15 08:40:07] local.INFO: Extracted packet for processing {"connection_id":132337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63bf"} 
[2026-07-15 08:40:07] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410720,"longitude_deg":76.3336704,"latitude_deg":9.541072,"altitude":0,"angle":51,"satellites":47,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-07-15 08:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725669632001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094212908417024,"note":"Value kept but may cause issues"} 
[2026-07-15 08:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702036480,"note":"Value kept but may cause issues"} 
[2026-07-15 08:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784084950000,"timestamp_ms":1784084950000,"timestamp_seconds":1784084950,"priority":1,"record_length":96,"hex_timestamp":"0000019f63bfebf0"} 
[2026-07-15 08:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-15 08:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725669632001,"66":26060,"27":206,"85":12544,"24":0,"16":347094212908417024,"45":9194098663702036480},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 08:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725669632001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:40:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 08:40:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094212908417024,"km_value":347094212908417.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702036480,"description":"Unknown IO ID 45"} 
[2026-07-15 08:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725669632001,"power":26060,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702036480}} 
[2026-07-15 08:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":132337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:40:07] local.INFO: GPS data processed {"connection_id":132337,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:40:07] local.INFO: Acknowledgment sent {"connection_id":132337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:40:24] local.INFO: TCP Data received {"connection_id":132162,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63c08830012d1a79c0072447680041002622..."} 
[2026-07-15 08:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63c08830012d1a79c0072447680041002622..."} 
[2026-07-15 08:40:24] local.INFO: Processing buffer {"connection_id":132162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63c08830012d1a79c0072447680041002622..."} 
[2026-07-15 08:40:24] local.INFO: Packet analysis {"connection_id":132162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63c0"} 
[2026-07-15 08:40:24] local.INFO: Extracted packet for processing {"connection_id":132162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63c0"} 
[2026-07-15 08:40:24] local.INFO: GPS Element Parsed {"raw_longitude":756709824,"raw_latitude":119818088,"longitude_deg":75.6709824,"latitude_deg":11.9818088,"altitude":65,"angle":38,"satellites":34,"speed":16,"hex_longitude":"2d1a79c0","hex_latitude":"07244768","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725755904001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6107284581122048,"note":"Value kept but may cause issues"} 
[2026-07-15 08:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1905726360492500992,"note":"Value kept but may cause issues"} 
[2026-07-15 08:40:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1784084990000,"timestamp_ms":1784084990000,"timestamp_seconds":1784084990,"priority":1,"record_length":96,"hex_timestamp":"0000019f63c08830"} 
[2026-07-15 08:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:40:24] 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-07-15 08: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-15 08:40:24] 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-07-15 08: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-07-15 08:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":132162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":132162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":132162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:40:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 08:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 08:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725755904001,"66":14265,"186":206,"83":42752,"24":16,"16":6107284581122048,"45":1905726360492500992},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-07-15 08:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 08:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 08:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725755904001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:40:24] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-15 08:40:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-15 08:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6107284581122048,"km_value":6107284581122.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1905726360492500992,"description":"Unknown IO ID 45"} 
[2026-07-15 08:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725755904001,"power":14265,"unknown_186":206,"unknown_83":42752,"ignition":16,"odometer":null,"unknown_45":1905726360492500992}} 
[2026-07-15 08:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":132162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:40:25] local.INFO: GPS data processed {"connection_id":132162,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:40:25] local.INFO: Acknowledgment sent {"connection_id":132162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:40:29] local.INFO: TCP Data received {"connection_id":134541,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134541,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:40:29] local.INFO: Processing buffer {"connection_id":134541,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:40:29] local.INFO: IMEI packet received {"connection_id":134541,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 08:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":134541,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:40:30] local.INFO: TCP Data received {"connection_id":134542,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134542,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:40:30] local.INFO: Processing buffer {"connection_id":134542,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:40:30] local.INFO: IMEI packet received {"connection_id":134542,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 08:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":134542,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:40:31] local.INFO: TCP Data received {"connection_id":134541,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134541,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:40:31] local.INFO: Processing buffer {"connection_id":134541,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:40:31] local.INFO: IMEI packet received {"connection_id":134541,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":134541,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:40:34] local.INFO: TCP Data received {"connection_id":134541,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134541,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:40:34] local.INFO: Processing buffer {"connection_id":134541,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:40:34] local.INFO: IMEI packet received {"connection_id":134541,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":134541,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:40:34] local.INFO: TCP Data received {"connection_id":134542,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134542,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:40:34] local.INFO: Processing buffer {"connection_id":134542,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:40:34] local.INFO: IMEI packet received {"connection_id":134542,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":134542,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:40:34] local.INFO: TCP Data received {"connection_id":134542,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134542,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:40:34] local.INFO: Processing buffer {"connection_id":134542,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:40:34] local.INFO: IMEI packet received {"connection_id":134542,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":134542,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:40:35] local.INFO: TCP Data received {"connection_id":134542,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134542,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:40:35] local.INFO: Processing buffer {"connection_id":134542,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:40:35] local.INFO: IMEI packet received {"connection_id":134542,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":134542,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:40:35] local.INFO: TCP Data received {"connection_id":134541,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63bf6b08012d7b08c005e32c480007012a1f..."} 
[2026-07-15 08:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63bf6b08012d7b08c005e32c480007012a1f..."} 
[2026-07-15 08:40:35] local.INFO: Processing buffer {"connection_id":134541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63bf6b08012d7b08c005e32c480007012a1f..."} 
[2026-07-15 08:40:35] local.INFO: Packet analysis {"connection_id":134541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63bf"} 
[2026-07-15 08:40:35] local.INFO: Extracted packet for processing {"connection_id":134541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63bf"} 
[2026-07-15 08:40:35] local.INFO: GPS Element Parsed {"raw_longitude":763037888,"raw_latitude":98774088,"longitude_deg":76.3037888,"latitude_deg":9.8774088,"altitude":7,"angle":298,"satellites":31,"speed":1,"hex_longitude":"2d7b08c0","hex_latitude":"05e32c48","is_valid_coordinates":true} 
[2026-07-15 08:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725738240001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106287912156397568,"note":"Value kept but may cause issues"} 
[2026-07-15 08:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865617366741692416,"note":"Value kept but may cause issues"} 
[2026-07-15 08:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784084917000,"timestamp_ms":1784084917000,"timestamp_seconds":1784084917,"priority":1,"record_length":96,"hex_timestamp":"0000019f63bf6b08"} 
[2026-07-15 08:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-15 08:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":134541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":134541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":134541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725738240001,"66":13254,"97":206,"85":15104,"24":1,"16":106287912156397568,"45":8865617366741692416},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 08:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725738240001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:40:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 08:40:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 08:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106287912156397568,"km_value":106287912156397.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865617366741692416,"description":"Unknown IO ID 45"} 
[2026-07-15 08:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725738240001,"power":13254,"unknown_97":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8865617366741692416}} 
[2026-07-15 08:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":134541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490055,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:40:35] local.INFO: GPS data processed {"connection_id":134541,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:40:35] local.INFO: Acknowledgment sent {"connection_id":134541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:40:36] local.INFO: TCP Data received {"connection_id":134542,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63c0b710012d0d61000705e970000e000b21..."} 
[2026-07-15 08:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63c0b710012d0d61000705e970000e000b21..."} 
[2026-07-15 08:40:36] local.INFO: Processing buffer {"connection_id":134542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63c0b710012d0d61000705e970000e000b21..."} 
[2026-07-15 08:40:36] local.INFO: Packet analysis {"connection_id":134542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63c0"} 
[2026-07-15 08:40:36] local.INFO: Extracted packet for processing {"connection_id":134542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63c0"} 
[2026-07-15 08:40:36] local.INFO: GPS Element Parsed {"raw_longitude":755851520,"raw_latitude":117827952,"longitude_deg":75.585152,"latitude_deg":11.7827952,"altitude":14,"angle":11,"satellites":33,"speed":11,"hex_longitude":"2d0d6100","hex_latitude":"0705e970","is_valid_coordinates":true} 
[2026-07-15 08:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725758208001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24562557188571136,"note":"Value kept but may cause issues"} 
[2026-07-15 08:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":962503713025282048,"note":"Value kept but may cause issues"} 
[2026-07-15 08:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784085002000,"timestamp_ms":1784085002000,"timestamp_seconds":1784085002,"priority":1,"record_length":96,"hex_timestamp":"0000019f63c0b710"} 
[2026-07-15 08:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-15 08:40:36] 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-07-15 08:40:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":134542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":134542,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":134542,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:40:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725758208001,"66":14428,"167":206,"94":11008,"24":11,"16":24562557188571136,"45":962503713025282048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-15 08:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725758208001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:40:36] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 08:40:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 08:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24562557188571136,"km_value":24562557188571.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":962503713025282048,"description":"Unknown IO ID 45"} 
[2026-07-15 08:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725758208001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":962503713025282048}} 
[2026-07-15 08:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":134542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490056,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:40:36] local.INFO: GPS data processed {"connection_id":134542,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:40:36] local.INFO: Acknowledgment sent {"connection_id":134542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:40:37] local.INFO: TCP Data received {"connection_id":134542,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63c0bee0012d0d61400705ebb0000f016721..."} 
[2026-07-15 08:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63c0bee0012d0d61400705ebb0000f016721..."} 
[2026-07-15 08:40:37] local.INFO: Processing buffer {"connection_id":134542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63c0bee0012d0d61400705ebb0000f016721..."} 
[2026-07-15 08:40:37] local.INFO: Packet analysis {"connection_id":134542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63c0"} 
[2026-07-15 08:40:37] local.INFO: Extracted packet for processing {"connection_id":134542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63c0"} 
[2026-07-15 08:40:37] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":117828528,"longitude_deg":75.5851584,"latitude_deg":11.7828528,"altitude":15,"angle":359,"satellites":33,"speed":10,"hex_longitude":"2d0d6140","hex_latitude":"0705ebb0","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725760512001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24562587253342208,"note":"Value kept but may cause issues"} 
[2026-07-15 08:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964051825397952512,"note":"Value kept but may cause issues"} 
[2026-07-15 08:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784085004000,"timestamp_ms":1784085004000,"timestamp_seconds":1784085004,"priority":1,"record_length":96,"hex_timestamp":"0000019f63c0bee0"} 
[2026-07-15 08:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-15 08:40: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-07-15 08:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":134542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":134542,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":134542,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725760512001,"66":14548,"167":206,"94":11008,"24":10,"16":24562587253342208,"45":964051825397952512},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-15 08:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725760512001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:40:37] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 08:40:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 08:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24562587253342208,"km_value":24562587253342.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":964051825397952512,"description":"Unknown IO ID 45"} 
[2026-07-15 08:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725760512001,"power":14548,"unknown_167":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":964051825397952512}} 
[2026-07-15 08:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":134542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490057,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:40:37] local.INFO: GPS data processed {"connection_id":134542,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:40:37] local.INFO: Acknowledgment sent {"connection_id":134542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:40:38] local.INFO: TCP Data received {"connection_id":134542,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63c0ce80012d0d60000705f198000e015821..."} 
[2026-07-15 08:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63c0ce80012d0d60000705f198000e015821..."} 
[2026-07-15 08:40:38] local.INFO: Processing buffer {"connection_id":134542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63c0ce80012d0d60000705f198000e015821..."} 
[2026-07-15 08:40:38] local.INFO: Packet analysis {"connection_id":134542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63c0"} 
[2026-07-15 08:40:38] local.INFO: Extracted packet for processing {"connection_id":134542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63c0"} 
[2026-07-15 08:40:38] local.INFO: GPS Element Parsed {"raw_longitude":755851264,"raw_latitude":117830040,"longitude_deg":75.5851264,"latitude_deg":11.783004,"altitude":14,"angle":344,"satellites":33,"speed":17,"hex_longitude":"2d0d6000","hex_latitude":"0705f198","is_valid_coordinates":true} 
[2026-07-15 08:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725761024001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24562660267786240,"note":"Value kept but may cause issues"} 
[2026-07-15 08:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122194142277632,"note":"Value kept but may cause issues"} 
[2026-07-15 08:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784085008000,"timestamp_ms":1784085008000,"timestamp_seconds":1784085008,"priority":1,"record_length":96,"hex_timestamp":"0000019f63c0ce80"} 
[2026-07-15 08:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-15 08:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134542,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134542,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725761024001,"66":14439,"167":206,"94":11008,"24":17,"16":24562660267786240,"45":964122194142277632},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-15 08:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725761024001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:40:38] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 08:40:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 08:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24562660267786240,"km_value":24562660267786.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122194142277632,"description":"Unknown IO ID 45"} 
[2026-07-15 08:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725761024001,"power":14439,"unknown_167":206,"unknown_94":11008,"ignition":17,"odometer":null,"unknown_45":964122194142277632}} 
[2026-07-15 08:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":134542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490058,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:40:38] local.INFO: GPS data processed {"connection_id":134542,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:40:38] local.INFO: Acknowledgment sent {"connection_id":134542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:40:39] local.INFO: TCP Data received {"connection_id":132337,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f63bfebf0012d7f980005afda20000000332f..."} 
[2026-07-15 08:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63bfebf0012d7f980005afda20000000332f..."} 
[2026-07-15 08:40:39] local.INFO: Processing buffer {"connection_id":132337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63bfebf0012d7f980005afda20000000332f..."} 
[2026-07-15 08:40:39] local.INFO: Packet analysis {"connection_id":132337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63bf"} 
[2026-07-15 08:40:39] local.INFO: Extracted packet for processing {"connection_id":132337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63bf"} 
[2026-07-15 08:40:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410720,"longitude_deg":76.3336704,"latitude_deg":9.541072,"altitude":0,"angle":51,"satellites":47,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-07-15 08:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725669632001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094212908417024,"note":"Value kept but may cause issues"} 
[2026-07-15 08:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702036480,"note":"Value kept but may cause issues"} 
[2026-07-15 08:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784084950000,"timestamp_ms":1784084950000,"timestamp_seconds":1784084950,"priority":1,"record_length":96,"hex_timestamp":"0000019f63bfebf0"} 
[2026-07-15 08:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-15 08:40:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:40:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:40:39] 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-07-15 08:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725669632001,"66":26060,"27":206,"85":12544,"24":0,"16":347094212908417024,"45":9194098663702036480},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 08:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725669632001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:40:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 08:40:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094212908417024,"km_value":347094212908417.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702036480,"description":"Unknown IO ID 45"} 
[2026-07-15 08:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725669632001,"power":26060,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702036480}} 
[2026-07-15 08:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":132337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:40:39] local.INFO: GPS data processed {"connection_id":132337,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:40:39] local.INFO: Acknowledgment sent {"connection_id":132337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:40:42] local.INFO: TCP Data received {"connection_id":133179,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133179,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:40:42] local.INFO: Processing buffer {"connection_id":133179,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:40:42] local.INFO: IMEI packet received {"connection_id":133179,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 08:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":133179,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:40:43] local.INFO: TCP Data received {"connection_id":133179,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133179,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:40:43] local.INFO: Processing buffer {"connection_id":133179,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:40:43] local.INFO: IMEI packet received {"connection_id":133179,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 08:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":133179,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:40:47] local.INFO: TCP Data received {"connection_id":133179,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133179,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:40:48] local.INFO: Processing buffer {"connection_id":133179,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:40:48] local.INFO: IMEI packet received {"connection_id":133179,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 08:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":133179,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:40:48] local.INFO: TCP Data received {"connection_id":133179,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63c0b328012d1a8440072458d00047001b22..."} 
[2026-07-15 08:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63c0b328012d1a8440072458d00047001b22..."} 
[2026-07-15 08:40:48] local.INFO: Processing buffer {"connection_id":133179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63c0b328012d1a8440072458d00047001b22..."} 
[2026-07-15 08:40:48] local.INFO: Packet analysis {"connection_id":133179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63c0"} 
[2026-07-15 08:40:48] local.INFO: Extracted packet for processing {"connection_id":133179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63c0"} 
[2026-07-15 08:40:48] local.INFO: GPS Element Parsed {"raw_longitude":756712512,"raw_latitude":119822544,"longitude_deg":75.6712512,"latitude_deg":11.9822544,"altitude":71,"angle":27,"satellites":34,"speed":19,"hex_longitude":"2d1a8440","hex_latitude":"072458d0","is_valid_coordinates":true} 
[2026-07-15 08:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725757440001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6107537984192512,"note":"Value kept but may cause issues"} 
[2026-07-15 08:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1907767054074079232,"note":"Value kept but may cause issues"} 
[2026-07-15 08:40:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784085001000,"timestamp_ms":1784085001000,"timestamp_seconds":1784085001,"priority":1,"record_length":96,"hex_timestamp":"0000019f63c0b328"} 
[2026-07-15 08:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:40:48] 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-07-15 08:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-15 08:40:48] 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-07-15 08:40:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":133179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":133179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":133179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:40:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 08:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 08:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725757440001,"66":14004,"177":206,"83":42752,"24":19,"16":6107537984192512,"45":1907767054074079232},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-15 08:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 08:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 08:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725757440001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:40:48] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-15 08:40:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-15 08:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6107537984192512,"km_value":6107537984192.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1907767054074079232,"description":"Unknown IO ID 45"} 
[2026-07-15 08:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725757440001,"power":14004,"unknown_177":206,"unknown_83":42752,"ignition":19,"odometer":null,"unknown_45":1907767054074079232}} 
[2026-07-15 08:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":133179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:40:48] local.INFO: GPS data processed {"connection_id":133179,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:40:48] local.INFO: Acknowledgment sent {"connection_id":133179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:41:07] local.INFO: TCP Data received {"connection_id":134543,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:41:07] local.INFO: Processing buffer {"connection_id":134543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:41:07] local.INFO: IMEI packet received {"connection_id":134543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":134543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:41:07] local.INFO: TCP Data received {"connection_id":134541,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63c12470012d7ae4c005e3b360000601552b..."} 
[2026-07-15 08:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63c12470012d7ae4c005e3b360000601552b..."} 
[2026-07-15 08:41:07] local.INFO: Processing buffer {"connection_id":134541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63c12470012d7ae4c005e3b360000601552b..."} 
[2026-07-15 08:41:07] local.INFO: Packet analysis {"connection_id":134541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63c1"} 
[2026-07-15 08:41:07] local.INFO: Extracted packet for processing {"connection_id":134541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63c1"} 
[2026-07-15 08:41:07] local.INFO: GPS Element Parsed {"raw_longitude":763028672,"raw_latitude":98808672,"longitude_deg":76.3028672,"latitude_deg":9.8808672,"altitude":6,"angle":341,"satellites":43,"speed":31,"hex_longitude":"2d7ae4c0","hex_latitude":"05e3b360","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725763584001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106289673092988928,"note":"Value kept but may cause issues"} 
[2026-07-15 08:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8858650861074681856,"note":"Value kept but may cause issues"} 
[2026-07-15 08:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784085030000,"timestamp_ms":1784085030000,"timestamp_seconds":1784085030,"priority":1,"record_length":96,"hex_timestamp":"0000019f63c12470"} 
[2026-07-15 08:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-15 08:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08: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-07-15 08:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725763584001,"66":13243,"97":206,"85":15104,"24":31,"16":106289673092988928,"45":8858650861074681856},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 08:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725763584001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:41:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 08:41:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 08:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106289673092988928,"km_value":106289673092988.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8858650861074681856,"description":"Unknown IO ID 45"} 
[2026-07-15 08:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725763584001,"power":13243,"unknown_97":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8858650861074681856}} 
[2026-07-15 08:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":134541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490061,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:41:07] local.INFO: GPS data processed {"connection_id":134541,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:41:07] local.INFO: Acknowledgment sent {"connection_id":134541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:41:08] local.INFO: TCP Data received {"connection_id":134542,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63c0de20012d0d5e800705f8e0000e016421..."} 
[2026-07-15 08:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63c0de20012d0d5e800705f8e0000e016421..."} 
[2026-07-15 08:41:08] local.INFO: Processing buffer {"connection_id":134542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63c0de20012d0d5e800705f8e0000e016421..."} 
[2026-07-15 08:41:08] local.INFO: Packet analysis {"connection_id":134542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63c0"} 
[2026-07-15 08:41:08] local.INFO: Extracted packet for processing {"connection_id":134542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63c0"} 
[2026-07-15 08:41:08] local.INFO: GPS Element Parsed {"raw_longitude":755850880,"raw_latitude":117831904,"longitude_deg":75.585088,"latitude_deg":11.7831904,"altitude":14,"angle":356,"satellites":33,"speed":18,"hex_longitude":"2d0d5e80","hex_latitude":"0705f8e0","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725762048001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24562754757066752,"note":"Value kept but may cause issues"} 
[2026-07-15 08:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963770350421776384,"note":"Value kept but may cause issues"} 
[2026-07-15 08:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784085012000,"timestamp_ms":1784085012000,"timestamp_seconds":1784085012,"priority":1,"record_length":96,"hex_timestamp":"0000019f63c0de20"} 
[2026-07-15 08:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 08:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08: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-07-15 08:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134542,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134542,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725762048001,"66":14450,"167":206,"94":11008,"24":18,"16":24562754757066752,"45":963770350421776384},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-15 08:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725762048001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:41:08] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 08:41:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 08:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24562754757066752,"km_value":24562754757066.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":963770350421776384,"description":"Unknown IO ID 45"} 
[2026-07-15 08:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725762048001,"power":14450,"unknown_167":206,"unknown_94":11008,"ignition":18,"odometer":null,"unknown_45":963770350421776384}} 
[2026-07-15 08:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":134542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490062,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:41:09] local.INFO: GPS data processed {"connection_id":134542,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:41:09] local.INFO: Acknowledgment sent {"connection_id":134542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:41:12] local.INFO: TCP Data received {"connection_id":134543,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:41:12] local.INFO: Processing buffer {"connection_id":134543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:41:12] local.INFO: IMEI packet received {"connection_id":134543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":134543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:41:12] local.INFO: TCP Data received {"connection_id":134543,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f63bfebf0012d7f980005afda20000000332f..."} 
[2026-07-15 08:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63bfebf0012d7f980005afda20000000332f..."} 
[2026-07-15 08:41:12] local.INFO: Processing buffer {"connection_id":134543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63bfebf0012d7f980005afda20000000332f..."} 
[2026-07-15 08:41:12] local.INFO: Packet analysis {"connection_id":134543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63bf"} 
[2026-07-15 08:41:12] local.INFO: Extracted packet for processing {"connection_id":134543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63bf"} 
[2026-07-15 08:41:12] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410720,"longitude_deg":76.3336704,"latitude_deg":9.541072,"altitude":0,"angle":51,"satellites":47,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-07-15 08:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725669632001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094212908417024,"note":"Value kept but may cause issues"} 
[2026-07-15 08:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702036480,"note":"Value kept but may cause issues"} 
[2026-07-15 08:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784084950000,"timestamp_ms":1784084950000,"timestamp_seconds":1784084950,"priority":1,"record_length":96,"hex_timestamp":"0000019f63bfebf0"} 
[2026-07-15 08:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-15 08:41:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:41:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":134543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":134543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":134543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725669632001,"66":26060,"27":206,"85":12544,"24":0,"16":347094212908417024,"45":9194098663702036480},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 08:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725669632001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:41:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 08:41:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094212908417024,"km_value":347094212908417.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702036480,"description":"Unknown IO ID 45"} 
[2026-07-15 08:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725669632001,"power":26060,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702036480}} 
[2026-07-15 08:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":134543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:41:12] local.INFO: GPS data processed {"connection_id":134543,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:41:12] local.INFO: Acknowledgment sent {"connection_id":134543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:41:17] local.INFO: TCP Data received {"connection_id":134543,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f63bfebf0012d7f980005afda20000000332f..."} 
[2026-07-15 08:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63bfebf0012d7f980005afda20000000332f..."} 
[2026-07-15 08:41:17] local.INFO: Processing buffer {"connection_id":134543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63bfebf0012d7f980005afda20000000332f..."} 
[2026-07-15 08:41:17] local.INFO: Packet analysis {"connection_id":134543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63bf"} 
[2026-07-15 08:41:17] local.INFO: Extracted packet for processing {"connection_id":134543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63bf"} 
[2026-07-15 08:41:17] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410720,"longitude_deg":76.3336704,"latitude_deg":9.541072,"altitude":0,"angle":51,"satellites":47,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-07-15 08:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:41:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725669632001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:41:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094212908417024,"note":"Value kept but may cause issues"} 
[2026-07-15 08:41:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702036480,"note":"Value kept but may cause issues"} 
[2026-07-15 08:41:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:41:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784084950000,"timestamp_ms":1784084950000,"timestamp_seconds":1784084950,"priority":1,"record_length":96,"hex_timestamp":"0000019f63bfebf0"} 
[2026-07-15 08:41:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:41:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-15 08:41:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:41:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:41:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:41:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:41:17] local.INFO: Teltonika packet parsed successfully {"connection_id":134543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:41:17] local.INFO: Passing IMEI to GPS processor {"connection_id":134543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:41:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":134543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:41:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:41:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:41:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:41:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725669632001,"66":26060,"27":206,"85":12544,"24":0,"16":347094212908417024,"45":9194098663702036480},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 08:41:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:41:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:41:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725669632001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:41:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 08:41:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:41:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094212908417024,"km_value":347094212908417.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:41:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702036480,"description":"Unknown IO ID 45"} 
[2026-07-15 08:41:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725669632001,"power":26060,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702036480}} 
[2026-07-15 08:41:17] local.INFO: DEBUG: GPS processor result {"connection_id":134543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:41:17] local.INFO: GPS data processed {"connection_id":134543,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:41:17] local.INFO: Acknowledgment sent {"connection_id":134543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:41:20] local.INFO: TCP Data received {"connection_id":133179,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63c0ca98012d1a88c0072463280049000e22..."} 
[2026-07-15 08:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63c0ca98012d1a88c0072463280049000e22..."} 
[2026-07-15 08:41:20] local.INFO: Processing buffer {"connection_id":133179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63c0ca98012d1a88c0072463280049000e22..."} 
[2026-07-15 08:41:20] local.INFO: Packet analysis {"connection_id":133179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63c0"} 
[2026-07-15 08:41:20] local.INFO: Extracted packet for processing {"connection_id":133179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63c0"} 
[2026-07-15 08:41:20] local.INFO: GPS Element Parsed {"raw_longitude":756713664,"raw_latitude":119825192,"longitude_deg":75.6713664,"latitude_deg":11.9825192,"altitude":73,"angle":14,"satellites":34,"speed":17,"hex_longitude":"2d1a88c0","hex_latitude":"07246328","is_valid_coordinates":true} 
[2026-07-15 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-07-15 08:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725760256001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6107675423145984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:41:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1910722541330681856,"note":"Value kept but may cause issues"} 
[2026-07-15 08:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1784085007000,"timestamp_ms":1784085007000,"timestamp_seconds":1784085007,"priority":1,"record_length":96,"hex_timestamp":"0000019f63c0ca98"} 
[2026-07-15 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-07-15 08:41:20] 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-07-15 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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-15 08:41:20] 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-07-15 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-07-15 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-07-15 08:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":133179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":133179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":133179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:41:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 08:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 08:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725760256001,"66":14048,"177":206,"83":42752,"24":17,"16":6107675423145984,"45":1910722541330681856},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-15 08:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 08:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 08:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725760256001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:41:20] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-15 08:41:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-15 08:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6107675423145984,"km_value":6107675423145.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:41:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1910722541330681856,"description":"Unknown IO ID 45"} 
[2026-07-15 08:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725760256001,"power":14048,"unknown_177":206,"unknown_83":42752,"ignition":17,"odometer":null,"unknown_45":1910722541330681856}} 
[2026-07-15 08:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":133179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:41:20] local.INFO: GPS data processed {"connection_id":133179,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:41:20] local.INFO: Acknowledgment sent {"connection_id":133179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:41:30] local.INFO: TCP Data received {"connection_id":132163,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132163,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:41:30] local.INFO: Processing buffer {"connection_id":132163,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:41:30] local.INFO: IMEI packet received {"connection_id":132163,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 08:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":132163,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:41:30] local.INFO: TCP Data received {"connection_id":132163,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132163,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:41:30] local.INFO: Processing buffer {"connection_id":132163,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:41:30] local.INFO: IMEI packet received {"connection_id":132163,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":132163,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:41:31] local.INFO: TCP Data received {"connection_id":132163,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132163,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:41:31] local.INFO: Processing buffer {"connection_id":132163,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:41:31] local.INFO: IMEI packet received {"connection_id":132163,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":132163,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:41:32] local.INFO: TCP Data received {"connection_id":132163,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63c1b4f8012d0da280070635b80015001821..."} 
[2026-07-15 08:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63c1b4f8012d0da280070635b80015001821..."} 
[2026-07-15 08:41:32] local.INFO: Processing buffer {"connection_id":132163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63c1b4f8012d0da280070635b80015001821..."} 
[2026-07-15 08:41:32] local.INFO: Packet analysis {"connection_id":132163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63c1"} 
[2026-07-15 08:41:32] local.INFO: Extracted packet for processing {"connection_id":132163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63c1"} 
[2026-07-15 08:41:32] local.INFO: GPS Element Parsed {"raw_longitude":755868288,"raw_latitude":117847480,"longitude_deg":75.5868288,"latitude_deg":11.784748,"altitude":21,"angle":24,"satellites":33,"speed":14,"hex_longitude":"2d0da280","hex_latitude":"070635b8","is_valid_coordinates":true} 
[2026-07-15 08:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725776896001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24564137736536064,"note":"Value kept but may cause issues"} 
[2026-07-15 08:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982347698889058304,"note":"Value kept but may cause issues"} 
[2026-07-15 08:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784085067000,"timestamp_ms":1784085067000,"timestamp_seconds":1784085067,"priority":1,"record_length":96,"hex_timestamp":"0000019f63c1b4f8"} 
[2026-07-15 08:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-15 08:41:32] 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-07-15 08:41:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":132163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":132163,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":132163,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725776896001,"66":14515,"167":206,"94":11008,"24":14,"16":24564137736536064,"45":982347698889058304},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-15 08:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725776896001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:41:32] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 08:41:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 08:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24564137736536064,"km_value":24564137736536.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":982347698889058304,"description":"Unknown IO ID 45"} 
[2026-07-15 08:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725776896001,"power":14515,"unknown_167":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":982347698889058304}} 
[2026-07-15 08:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":132163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490066,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:41:32] local.INFO: GPS data processed {"connection_id":132163,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:41:32] local.INFO: Acknowledgment sent {"connection_id":132163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:41:34] local.INFO: TCP Data received {"connection_id":132163,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63c1b8e0012d0da340070637200015000921..."} 
[2026-07-15 08:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63c1b8e0012d0da340070637200015000921..."} 
[2026-07-15 08:41:34] local.INFO: Processing buffer {"connection_id":132163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63c1b8e0012d0da340070637200015000921..."} 
[2026-07-15 08:41:34] local.INFO: Packet analysis {"connection_id":132163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63c1"} 
[2026-07-15 08:41:34] local.INFO: Extracted packet for processing {"connection_id":132163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63c1"} 
[2026-07-15 08:41:34] local.INFO: GPS Element Parsed {"raw_longitude":755868480,"raw_latitude":117847840,"longitude_deg":75.586848,"latitude_deg":11.784784,"altitude":21,"angle":9,"satellites":33,"speed":14,"hex_longitude":"2d0da340","hex_latitude":"07063720","is_valid_coordinates":true} 
[2026-07-15 08:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725777152001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24564159211372544,"note":"Value kept but may cause issues"} 
[2026-07-15 08:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982488436377499648,"note":"Value kept but may cause issues"} 
[2026-07-15 08:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784085068000,"timestamp_ms":1784085068000,"timestamp_seconds":1784085068,"priority":1,"record_length":96,"hex_timestamp":"0000019f63c1b8e0"} 
[2026-07-15 08:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:41:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-15 08:41:34] 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-07-15 08:41:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":132163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":132163,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":132163,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725777152001,"66":13852,"167":206,"94":11008,"24":14,"16":24564159211372544,"45":982488436377499648},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-15 08:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725777152001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:41:34] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 08:41:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 08:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24564159211372544,"km_value":24564159211372.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":982488436377499648,"description":"Unknown IO ID 45"} 
[2026-07-15 08:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725777152001,"power":13852,"unknown_167":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":982488436377499648}} 
[2026-07-15 08:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":132163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490067,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:41:34] local.INFO: GPS data processed {"connection_id":132163,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:41:34] local.INFO: Acknowledgment sent {"connection_id":132163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:41:43] local.INFO: TCP Data received {"connection_id":134545,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:41:43] local.INFO: Processing buffer {"connection_id":134545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:41:43] local.INFO: IMEI packet received {"connection_id":134545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 08:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":134545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:41:44] local.INFO: TCP Data received {"connection_id":132164,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132164,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:41:44] local.INFO: Processing buffer {"connection_id":132164,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:41:44] local.INFO: IMEI packet received {"connection_id":132164,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 08:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":132164,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:41:45] local.INFO: TCP Data received {"connection_id":134545,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:41:45] local.INFO: Processing buffer {"connection_id":134545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:41:45] local.INFO: IMEI packet received {"connection_id":134545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 08:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":134545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:41:47] local.INFO: TCP Data received {"connection_id":134545,"ip":"42.106.6.33","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-15 08:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134545,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-15 08:41:47] local.INFO: Processing buffer {"connection_id":134545,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-15 08:41:47] local.INFO: IMEI packet received {"connection_id":134545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 08:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":134545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:41:49] local.INFO: TCP Data received {"connection_id":132164,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132164,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:41:49] local.INFO: Processing buffer {"connection_id":132164,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:41:49] local.INFO: IMEI packet received {"connection_id":132164,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":132164,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:41:51] local.INFO: TCP Data received {"connection_id":132164,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63c15738012d7adac005e3d5e00005015727..."} 
[2026-07-15 08:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63c15738012d7adac005e3d5e00005015727..."} 
[2026-07-15 08:41:51] local.INFO: Processing buffer {"connection_id":132164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63c15738012d7adac005e3d5e00005015727..."} 
[2026-07-15 08:41:51] local.INFO: Packet analysis {"connection_id":132164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63c1"} 
[2026-07-15 08:41:51] local.INFO: Extracted packet for processing {"connection_id":132164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63c1"} 
[2026-07-15 08:41:51] local.INFO: GPS Element Parsed {"raw_longitude":763026112,"raw_latitude":98817504,"longitude_deg":76.3026112,"latitude_deg":9.8817504,"altitude":5,"angle":343,"satellites":39,"speed":27,"hex_longitude":"2d7adac0","hex_latitude":"05e3d5e0","is_valid_coordinates":true} 
[2026-07-15 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-07-15 08:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725767680001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106290119769587712,"note":"Value kept but may cause issues"} 
[2026-07-15 08:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8855413898844790784,"note":"Value kept but may cause issues"} 
[2026-07-15 08:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784085043000,"timestamp_ms":1784085043000,"timestamp_seconds":1784085043,"priority":1,"record_length":96,"hex_timestamp":"0000019f63c15738"} 
[2026-07-15 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-07-15 08:41:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-15 08:41:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 08:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":132164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":132164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":132164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725767680001,"66":13363,"97":206,"85":15104,"24":27,"16":106290119769587712,"45":8855413898844790784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 08:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725767680001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:41:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 08:41:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 08:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106290119769587712,"km_value":106290119769587.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8855413898844790784,"description":"Unknown IO ID 45"} 
[2026-07-15 08:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725767680001,"power":13363,"unknown_97":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8855413898844790784}} 
[2026-07-15 08:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":132164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490068,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:41:51] local.INFO: GPS data processed {"connection_id":132164,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:41:51] local.INFO: Acknowledgment sent {"connection_id":132164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:42:02] local.INFO: TCP Data received {"connection_id":132165,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:42:02] local.INFO: Processing buffer {"connection_id":132165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:42:02] local.INFO: IMEI packet received {"connection_id":132165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":132165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:42:05] local.INFO: TCP Data received {"connection_id":132163,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63c260d8012d0dcf8007067ef80014003821..."} 
[2026-07-15 08:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63c260d8012d0dcf8007067ef80014003821..."} 
[2026-07-15 08:42:05] local.INFO: Processing buffer {"connection_id":132163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63c260d8012d0dcf8007067ef80014003821..."} 
[2026-07-15 08:42:05] local.INFO: Packet analysis {"connection_id":132163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63c2"} 
[2026-07-15 08:42:05] local.INFO: Extracted packet for processing {"connection_id":132163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63c2"} 
[2026-07-15 08:42:05] local.INFO: GPS Element Parsed {"raw_longitude":755879808,"raw_latitude":117866232,"longitude_deg":75.5879808,"latitude_deg":11.7866232,"altitude":20,"angle":56,"satellites":33,"speed":15,"hex_longitude":"2d0dcf80","hex_latitude":"07067ef8","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725788160001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24565370392150016,"note":"Value kept but may cause issues"} 
[2026-07-15 08:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":994802966613344256,"note":"Value kept but may cause issues"} 
[2026-07-15 08:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784085111000,"timestamp_ms":1784085111000,"timestamp_seconds":1784085111,"priority":1,"record_length":96,"hex_timestamp":"0000019f63c260d8"} 
[2026-07-15 08:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-15 08:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08: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-07-15 08:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132163,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132163,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725788160001,"66":14407,"167":206,"94":11008,"24":15,"16":24565370392150016,"45":994802966613344256},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-15 08:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725788160001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:42:05] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 08:42:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 08:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24565370392150016,"km_value":24565370392150.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":994802966613344256,"description":"Unknown IO ID 45"} 
[2026-07-15 08:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725788160001,"power":14407,"unknown_167":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":994802966613344256}} 
[2026-07-15 08:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":132163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490069,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:42:05] local.INFO: GPS data processed {"connection_id":132163,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:42:05] local.INFO: Acknowledgment sent {"connection_id":132163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:42:07] local.INFO: TCP Data received {"connection_id":132165,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:42:07] local.INFO: Processing buffer {"connection_id":132165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:42:07] local.INFO: IMEI packet received {"connection_id":132165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":132165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:42:07] local.INFO: TCP Data received {"connection_id":132165,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f63bfebf0012d7f980005afda20000000332f..."} 
[2026-07-15 08:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63bfebf0012d7f980005afda20000000332f..."} 
[2026-07-15 08:42:07] local.INFO: Processing buffer {"connection_id":132165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63bfebf0012d7f980005afda20000000332f..."} 
[2026-07-15 08:42:07] local.INFO: Packet analysis {"connection_id":132165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63bf"} 
[2026-07-15 08:42:07] local.INFO: Extracted packet for processing {"connection_id":132165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63bf"} 
[2026-07-15 08:42:07] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410720,"longitude_deg":76.3336704,"latitude_deg":9.541072,"altitude":0,"angle":51,"satellites":47,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-07-15 08:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725669632001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094212908417024,"note":"Value kept but may cause issues"} 
[2026-07-15 08:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702036480,"note":"Value kept but may cause issues"} 
[2026-07-15 08:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784084950000,"timestamp_ms":1784084950000,"timestamp_seconds":1784084950,"priority":1,"record_length":96,"hex_timestamp":"0000019f63bfebf0"} 
[2026-07-15 08:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:42:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-15 08:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:42:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725669632001,"66":26060,"27":206,"85":12544,"24":0,"16":347094212908417024,"45":9194098663702036480},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 08:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725669632001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:42:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 08:42:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094212908417024,"km_value":347094212908417.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702036480,"description":"Unknown IO ID 45"} 
[2026-07-15 08:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725669632001,"power":26060,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702036480}} 
[2026-07-15 08:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":132165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:42:07] local.INFO: GPS data processed {"connection_id":132165,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:42:07] local.INFO: Acknowledgment sent {"connection_id":132165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:42:26] local.INFO: TCP Data received {"connection_id":134546,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134546,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:42:26] local.INFO: Processing buffer {"connection_id":134546,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:42:26] local.INFO: IMEI packet received {"connection_id":134546,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 08:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":134546,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:42:28] local.INFO: TCP Data received {"connection_id":134546,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134546,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:42:28] local.INFO: Processing buffer {"connection_id":134546,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:42:28] local.INFO: IMEI packet received {"connection_id":134546,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":134546,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:42:28] local.INFO: TCP Data received {"connection_id":134546,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134546,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:42:28] local.INFO: Processing buffer {"connection_id":134546,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:42:28] local.INFO: IMEI packet received {"connection_id":134546,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":134546,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:42:29] local.INFO: TCP Data received {"connection_id":134547,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134547,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:42:29] local.INFO: Processing buffer {"connection_id":134547,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:42:29] local.INFO: IMEI packet received {"connection_id":134547,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 08:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":134547,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:42:33] local.INFO: TCP Data received {"connection_id":134547,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134547,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:42:33] local.INFO: Processing buffer {"connection_id":134547,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:42:33] local.INFO: IMEI packet received {"connection_id":134547,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":134547,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:42:35] local.INFO: TCP Data received {"connection_id":134547,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63c18de8012d7ad2c005e3f7d80005015d29..."} 
[2026-07-15 08:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63c18de8012d7ad2c005e3f7d80005015d29..."} 
[2026-07-15 08:42:35] local.INFO: Processing buffer {"connection_id":134547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63c18de8012d7ad2c005e3f7d80005015d29..."} 
[2026-07-15 08:42:35] local.INFO: Packet analysis {"connection_id":134547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63c1"} 
[2026-07-15 08:42:35] local.INFO: Extracted packet for processing {"connection_id":134547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63c1"} 
[2026-07-15 08:42:35] local.INFO: GPS Element Parsed {"raw_longitude":763024064,"raw_latitude":98826200,"longitude_deg":76.3024064,"latitude_deg":9.88262,"altitude":5,"angle":349,"satellites":41,"speed":23,"hex_longitude":"2d7ad2c0","hex_latitude":"05e3f7d8","is_valid_coordinates":true} 
[2026-07-15 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-07-15 08:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725771008001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106290553561284608,"note":"Value kept but may cause issues"} 
[2026-07-15 08:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8852599149079945216,"note":"Value kept but may cause issues"} 
[2026-07-15 08:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784085057000,"timestamp_ms":1784085057000,"timestamp_seconds":1784085057,"priority":1,"record_length":96,"hex_timestamp":"0000019f63c18de8"} 
[2026-07-15 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-07-15 08:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-15 08:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 08:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":134547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":134547,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":134547,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725771008001,"66":13363,"97":206,"85":15104,"24":23,"16":106290553561284608,"45":8852599149079945216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 08:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725771008001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:42:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 08:42:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 08:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106290553561284608,"km_value":106290553561284.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8852599149079945216,"description":"Unknown IO ID 45"} 
[2026-07-15 08:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725771008001,"power":13363,"unknown_97":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8852599149079945216}} 
[2026-07-15 08:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":134547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490071,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:42:35] local.INFO: GPS data processed {"connection_id":134547,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:42:35] local.INFO: Acknowledgment sent {"connection_id":134547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:42:35] local.INFO: TCP Data received {"connection_id":134546,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134546,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:42:35] local.INFO: Processing buffer {"connection_id":134546,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:42:35] local.INFO: IMEI packet received {"connection_id":134546,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":134546,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:42:39] local.INFO: TCP Data received {"connection_id":132165,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f63bfebf0012d7f980005afda20000000332f..."} 
[2026-07-15 08:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63bfebf0012d7f980005afda20000000332f..."} 
[2026-07-15 08:42:39] local.INFO: Processing buffer {"connection_id":132165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63bfebf0012d7f980005afda20000000332f..."} 
[2026-07-15 08:42:39] local.INFO: Packet analysis {"connection_id":132165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63bf"} 
[2026-07-15 08:42:39] local.INFO: Extracted packet for processing {"connection_id":132165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63bf"} 
[2026-07-15 08:42:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410720,"longitude_deg":76.3336704,"latitude_deg":9.541072,"altitude":0,"angle":51,"satellites":47,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-07-15 08:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725669632001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094212908417024,"note":"Value kept but may cause issues"} 
[2026-07-15 08:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702036480,"note":"Value kept but may cause issues"} 
[2026-07-15 08:42:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784084950000,"timestamp_ms":1784084950000,"timestamp_seconds":1784084950,"priority":1,"record_length":96,"hex_timestamp":"0000019f63bfebf0"} 
[2026-07-15 08:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:42:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-15 08:42:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:42:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:42: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-07-15 08:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725669632001,"66":26060,"27":206,"85":12544,"24":0,"16":347094212908417024,"45":9194098663702036480},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 08:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725669632001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:42:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 08:42:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094212908417024,"km_value":347094212908417.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702036480,"description":"Unknown IO ID 45"} 
[2026-07-15 08:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725669632001,"power":26060,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702036480}} 
[2026-07-15 08:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":132165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:42:39] local.INFO: GPS data processed {"connection_id":132165,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:42:39] local.INFO: Acknowledgment sent {"connection_id":132165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:43:02] local.INFO: TCP Data received {"connection_id":134548,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:43:02] local.INFO: Processing buffer {"connection_id":134548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:43:02] local.INFO: IMEI packet received {"connection_id":134548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":134548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:43:06] local.INFO: TCP Data received {"connection_id":134547,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63c1b4f8012d7ace0005e40cf00005015027..."} 
[2026-07-15 08:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63c1b4f8012d7ace0005e40cf00005015027..."} 
[2026-07-15 08:43:06] local.INFO: Processing buffer {"connection_id":134547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63c1b4f8012d7ace0005e40cf00005015027..."} 
[2026-07-15 08:43:06] local.INFO: Packet analysis {"connection_id":134547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63c1"} 
[2026-07-15 08:43:06] local.INFO: Extracted packet for processing {"connection_id":134547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63c1"} 
[2026-07-15 08:43:06] local.INFO: GPS Element Parsed {"raw_longitude":763022848,"raw_latitude":98831600,"longitude_deg":76.3022848,"latitude_deg":9.88316,"altitude":5,"angle":336,"satellites":39,"speed":18,"hex_longitude":"2d7ace00","hex_latitude":"05e40cf0","is_valid_coordinates":true} 
[2026-07-15 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-07-15 08:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725774592001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106290819849256960,"note":"Value kept but may cause issues"} 
[2026-07-15 08:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8850347349268486144,"note":"Value kept but may cause issues"} 
[2026-07-15 08:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784085067000,"timestamp_ms":1784085067000,"timestamp_seconds":1784085067,"priority":1,"record_length":96,"hex_timestamp":"0000019f63c1b4f8"} 
[2026-07-15 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-07-15 08:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-15 08:43:06] 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-07-15 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-07-15 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-07-15 08:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":134547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":134547,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":134547,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725774592001,"66":12461,"97":206,"85":15104,"24":18,"16":106290819849256960,"45":8850347349268486144},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 08:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725774592001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:43:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 08:43:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 08:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106290819849256960,"km_value":106290819849256.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8850347349268486144,"description":"Unknown IO ID 45"} 
[2026-07-15 08:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725774592001,"power":12461,"unknown_97":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8850347349268486144}} 
[2026-07-15 08:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":134547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490073,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:43:06] local.INFO: GPS data processed {"connection_id":134547,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:43:06] local.INFO: Acknowledgment sent {"connection_id":134547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:43:07] local.INFO: TCP Data received {"connection_id":134548,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:43:07] local.INFO: Processing buffer {"connection_id":134548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:43:07] local.INFO: IMEI packet received {"connection_id":134548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":134548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:43:07] local.INFO: TCP Data received {"connection_id":134548,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f63bfebf0012d7f980005afda20000000332f..."} 
[2026-07-15 08:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63bfebf0012d7f980005afda20000000332f..."} 
[2026-07-15 08:43:07] local.INFO: Processing buffer {"connection_id":134548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63bfebf0012d7f980005afda20000000332f..."} 
[2026-07-15 08:43:07] local.INFO: Packet analysis {"connection_id":134548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63bf"} 
[2026-07-15 08:43:07] local.INFO: Extracted packet for processing {"connection_id":134548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63bf"} 
[2026-07-15 08:43:07] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410720,"longitude_deg":76.3336704,"latitude_deg":9.541072,"altitude":0,"angle":51,"satellites":47,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725669632001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094212908417024,"note":"Value kept but may cause issues"} 
[2026-07-15 08:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702036480,"note":"Value kept but may cause issues"} 
[2026-07-15 08:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784084950000,"timestamp_ms":1784084950000,"timestamp_seconds":1784084950,"priority":1,"record_length":96,"hex_timestamp":"0000019f63bfebf0"} 
[2026-07-15 08:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-15 08:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725669632001,"66":26060,"27":206,"85":12544,"24":0,"16":347094212908417024,"45":9194098663702036480},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 08:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725669632001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:43:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 08:43:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094212908417024,"km_value":347094212908417.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702036480,"description":"Unknown IO ID 45"} 
[2026-07-15 08:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725669632001,"power":26060,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702036480}} 
[2026-07-15 08:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":134548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:43:07] local.INFO: GPS data processed {"connection_id":134548,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:43:07] local.INFO: Acknowledgment sent {"connection_id":134548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:43:29] local.INFO: TCP Data received {"connection_id":132338,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132338,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:43:29] local.INFO: Processing buffer {"connection_id":132338,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:43:29] local.INFO: IMEI packet received {"connection_id":132338,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 08:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":132338,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:43:32] local.INFO: TCP Data received {"connection_id":132338,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132338,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:43:32] local.INFO: Processing buffer {"connection_id":132338,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:43:32] local.INFO: IMEI packet received {"connection_id":132338,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":132338,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:43:35] local.INFO: TCP Data received {"connection_id":132339,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 08:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132339,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 08:43:35] local.INFO: Processing buffer {"connection_id":132339,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 08:43:35] local.INFO: IMEI packet received {"connection_id":132339,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 08:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":132339,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:43:36] local.INFO: TCP Data received {"connection_id":132338,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132338,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:43:36] local.INFO: Processing buffer {"connection_id":132338,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:43:36] local.INFO: IMEI packet received {"connection_id":132338,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":132338,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:43:37] local.INFO: TCP Data received {"connection_id":132338,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63c38da0012d7a318005e45830000800c32b..."} 
[2026-07-15 08:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63c38da0012d7a318005e45830000800c32b..."} 
[2026-07-15 08:43:37] local.INFO: Processing buffer {"connection_id":132338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63c38da0012d7a318005e45830000800c32b..."} 
[2026-07-15 08:43:37] local.INFO: Packet analysis {"connection_id":132338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63c3"} 
[2026-07-15 08:43:37] local.INFO: Extracted packet for processing {"connection_id":132338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63c3"} 
[2026-07-15 08:43:37] local.INFO: GPS Element Parsed {"raw_longitude":762982784,"raw_latitude":98850864,"longitude_deg":76.2982784,"latitude_deg":9.8850864,"altitude":8,"angle":195,"satellites":43,"speed":11,"hex_longitude":"2d7a3180","hex_latitude":"05e45830","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725807872001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106293220735975424,"note":"Value kept but may cause issues"} 
[2026-07-15 08:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805029878024450048,"note":"Value kept but may cause issues"} 
[2026-07-15 08:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784085188000,"timestamp_ms":1784085188000,"timestamp_seconds":1784085188,"priority":1,"record_length":96,"hex_timestamp":"0000019f63c38da0"} 
[2026-07-15 08:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-15 08:43:37] 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-07-15 08: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-07-15 08:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725807872001,"66":13015,"157":206,"87":12288,"24":11,"16":106293220735975424,"45":8805029878024450048},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-15 08:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725807872001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:43:37] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-15 08:43:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-15 08:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106293220735975424,"km_value":106293220735975.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805029878024450048,"description":"Unknown IO ID 45"} 
[2026-07-15 08:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725807872001,"power":13015,"unknown_157":206,"unknown_87":12288,"ignition":11,"odometer":null,"unknown_45":8805029878024450048}} 
[2026-07-15 08:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":132338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490075,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:43:37] local.INFO: GPS data processed {"connection_id":132338,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:43:37] local.INFO: Acknowledgment sent {"connection_id":132338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:43:38] local.INFO: TCP Data received {"connection_id":132338,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63c39570012d7a318005e45610000700a728..."} 
[2026-07-15 08:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63c39570012d7a318005e45610000700a728..."} 
[2026-07-15 08:43:38] local.INFO: Processing buffer {"connection_id":132338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63c39570012d7a318005e45610000700a728..."} 
[2026-07-15 08:43:38] local.INFO: Packet analysis {"connection_id":132338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63c3"} 
[2026-07-15 08:43:38] local.INFO: Extracted packet for processing {"connection_id":132338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63c3"} 
[2026-07-15 08:43:38] local.INFO: GPS Element Parsed {"raw_longitude":762982784,"raw_latitude":98850320,"longitude_deg":76.2982784,"latitude_deg":9.885032,"altitude":7,"angle":167,"satellites":40,"speed":13,"hex_longitude":"2d7a3180","hex_latitude":"05e45610","is_valid_coordinates":true} 
[2026-07-15 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-07-15 08:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725808128001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106293250800746496,"note":"Value kept but may cause issues"} 
[2026-07-15 08:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804959509280206848,"note":"Value kept but may cause issues"} 
[2026-07-15 08:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784085190000,"timestamp_ms":1784085190000,"timestamp_seconds":1784085190,"priority":1,"record_length":96,"hex_timestamp":"0000019f63c39570"} 
[2026-07-15 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-07-15 08:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-15 08:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 08:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725808128001,"66":13178,"157":206,"87":12288,"24":13,"16":106293250800746496,"45":8804959509280206848},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-15 08:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725808128001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:43:38] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-15 08:43:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-15 08:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106293250800746496,"km_value":106293250800746.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804959509280206848,"description":"Unknown IO ID 45"} 
[2026-07-15 08:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725808128001,"power":13178,"unknown_157":206,"unknown_87":12288,"ignition":13,"odometer":null,"unknown_45":8804959509280206848}} 
[2026-07-15 08:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":132338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490076,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:43:38] local.INFO: GPS data processed {"connection_id":132338,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:43:38] local.INFO: Acknowledgment sent {"connection_id":132338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:43:38] local.INFO: TCP Data received {"connection_id":134548,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f63bfebf0012d7f980005afda20000000332f..."} 
[2026-07-15 08:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63bfebf0012d7f980005afda20000000332f..."} 
[2026-07-15 08:43:38] local.INFO: Processing buffer {"connection_id":134548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63bfebf0012d7f980005afda20000000332f..."} 
[2026-07-15 08:43:38] local.INFO: Packet analysis {"connection_id":134548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63bf"} 
[2026-07-15 08:43:38] local.INFO: Extracted packet for processing {"connection_id":134548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63bf"} 
[2026-07-15 08:43:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410720,"longitude_deg":76.3336704,"latitude_deg":9.541072,"altitude":0,"angle":51,"satellites":47,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-07-15 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-07-15 08:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725669632001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094212908417024,"note":"Value kept but may cause issues"} 
[2026-07-15 08:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702036480,"note":"Value kept but may cause issues"} 
[2026-07-15 08:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784084950000,"timestamp_ms":1784084950000,"timestamp_seconds":1784084950,"priority":1,"record_length":96,"hex_timestamp":"0000019f63bfebf0"} 
[2026-07-15 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-07-15 08:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-15 08:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 08:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725669632001,"66":26060,"27":206,"85":12544,"24":0,"16":347094212908417024,"45":9194098663702036480},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 08:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725669632001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:43:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 08:43:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094212908417024,"km_value":347094212908417.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702036480,"description":"Unknown IO ID 45"} 
[2026-07-15 08:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725669632001,"power":26060,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702036480}} 
[2026-07-15 08:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":134548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:43:38] local.INFO: GPS data processed {"connection_id":134548,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:43:38] local.INFO: Acknowledgment sent {"connection_id":134548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:44:02] local.INFO: TCP Data received {"connection_id":132340,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:44:02] local.INFO: Processing buffer {"connection_id":132340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:44:02] local.INFO: IMEI packet received {"connection_id":132340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":132340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:44:07] local.INFO: TCP Data received {"connection_id":132340,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:44:07] local.INFO: Processing buffer {"connection_id":132340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:44:07] local.INFO: IMEI packet received {"connection_id":132340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":132340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:44:07] local.INFO: TCP Data received {"connection_id":132340,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f63bfebf0012d7f980005afda20000000332f..."} 
[2026-07-15 08:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63bfebf0012d7f980005afda20000000332f..."} 
[2026-07-15 08:44:07] local.INFO: Processing buffer {"connection_id":132340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63bfebf0012d7f980005afda20000000332f..."} 
[2026-07-15 08:44:07] local.INFO: Packet analysis {"connection_id":132340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63bf"} 
[2026-07-15 08:44:07] local.INFO: Extracted packet for processing {"connection_id":132340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63bf"} 
[2026-07-15 08:44:07] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410720,"longitude_deg":76.3336704,"latitude_deg":9.541072,"altitude":0,"angle":51,"satellites":47,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725669632001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094212908417024,"note":"Value kept but may cause issues"} 
[2026-07-15 08:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702036480,"note":"Value kept but may cause issues"} 
[2026-07-15 08:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784084950000,"timestamp_ms":1784084950000,"timestamp_seconds":1784084950,"priority":1,"record_length":96,"hex_timestamp":"0000019f63bfebf0"} 
[2026-07-15 08:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-15 08:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08: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-07-15 08:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:44:07] 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-07-15 08:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725669632001,"66":26060,"27":206,"85":12544,"24":0,"16":347094212908417024,"45":9194098663702036480},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 08:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725669632001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:44:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 08:44:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094212908417024,"km_value":347094212908417.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702036480,"description":"Unknown IO ID 45"} 
[2026-07-15 08:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725669632001,"power":26060,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702036480}} 
[2026-07-15 08:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":132340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:44:07] local.INFO: GPS data processed {"connection_id":132340,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:44:07] local.INFO: Acknowledgment sent {"connection_id":132340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:44:09] local.INFO: TCP Data received {"connection_id":132338,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63c42210012d7a408005e430e00008010829..."} 
[2026-07-15 08:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63c42210012d7a408005e430e00008010829..."} 
[2026-07-15 08:44:09] local.INFO: Processing buffer {"connection_id":132338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63c42210012d7a408005e430e00008010829..."} 
[2026-07-15 08:44:09] local.INFO: Packet analysis {"connection_id":132338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63c4"} 
[2026-07-15 08:44:09] local.INFO: Extracted packet for processing {"connection_id":132338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63c4"} 
[2026-07-15 08:44:09] local.INFO: GPS Element Parsed {"raw_longitude":762986624,"raw_latitude":98840800,"longitude_deg":76.2986624,"latitude_deg":9.88408,"altitude":8,"angle":264,"satellites":41,"speed":5,"hex_longitude":"2d7a4080","hex_latitude":"05e430e0","is_valid_coordinates":true} 
[2026-07-15 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-07-15 08:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725817600001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106293774786756608,"note":"Value kept but may cause issues"} 
[2026-07-15 08:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809322371416659968,"note":"Value kept but may cause issues"} 
[2026-07-15 08:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784085226000,"timestamp_ms":1784085226000,"timestamp_seconds":1784085226,"priority":1,"record_length":96,"hex_timestamp":"0000019f63c42210"} 
[2026-07-15 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-07-15 08:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-15 08:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 08:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":132338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":132338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":132338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725817600001,"66":12863,"157":206,"87":12288,"24":5,"16":106293774786756608,"45":8809322371416659968},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-15 08:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725817600001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:44:09] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-15 08:44:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-15 08:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106293774786756608,"km_value":106293774786756.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809322371416659968,"description":"Unknown IO ID 45"} 
[2026-07-15 08:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725817600001,"power":12863,"unknown_157":206,"unknown_87":12288,"ignition":5,"odometer":null,"unknown_45":8809322371416659968}} 
[2026-07-15 08:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":132338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490079,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:44:09] local.INFO: GPS data processed {"connection_id":132338,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:44:09] local.INFO: Acknowledgment sent {"connection_id":132338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:44:39] local.INFO: TCP Data received {"connection_id":132340,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f63bfebf0012d7f980005afda20000000332f..."} 
[2026-07-15 08:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63bfebf0012d7f980005afda20000000332f..."} 
[2026-07-15 08:44:39] local.INFO: Processing buffer {"connection_id":132340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63bfebf0012d7f980005afda20000000332f..."} 
[2026-07-15 08:44:39] local.INFO: Packet analysis {"connection_id":132340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63bf"} 
[2026-07-15 08:44:39] local.INFO: Extracted packet for processing {"connection_id":132340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63bf"} 
[2026-07-15 08:44:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410720,"longitude_deg":76.3336704,"latitude_deg":9.541072,"altitude":0,"angle":51,"satellites":47,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-07-15 08:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725669632001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094212908417024,"note":"Value kept but may cause issues"} 
[2026-07-15 08:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702036480,"note":"Value kept but may cause issues"} 
[2026-07-15 08:44:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784084950000,"timestamp_ms":1784084950000,"timestamp_seconds":1784084950,"priority":1,"record_length":96,"hex_timestamp":"0000019f63bfebf0"} 
[2026-07-15 08:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:44:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-15 08:44:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:44:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:44: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-07-15 08:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725669632001,"66":26060,"27":206,"85":12544,"24":0,"16":347094212908417024,"45":9194098663702036480},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 08:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725669632001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:44:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 08:44:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094212908417024,"km_value":347094212908417.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702036480,"description":"Unknown IO ID 45"} 
[2026-07-15 08:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725669632001,"power":26060,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702036480}} 
[2026-07-15 08:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":132340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:44:39] local.INFO: GPS data processed {"connection_id":132340,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:44:39] local.INFO: Acknowledgment sent {"connection_id":132340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:44:39] local.INFO: TCP Data received {"connection_id":132169,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132169,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:44:39] local.INFO: Processing buffer {"connection_id":132169,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:44:39] local.INFO: IMEI packet received {"connection_id":132169,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 08:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":132169,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:44:42] local.INFO: TCP Data received {"connection_id":132169,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132169,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:44:42] local.INFO: Processing buffer {"connection_id":132169,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:44:42] local.INFO: IMEI packet received {"connection_id":132169,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:44:42] local.INFO: IMEI acknowledgment sent {"connection_id":132169,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:44:44] local.INFO: TCP Data received {"connection_id":132169,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63c458c0012d7a410005e431400007003b2b..."} 
[2026-07-15 08:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63c458c0012d7a410005e431400007003b2b..."} 
[2026-07-15 08:44:44] local.INFO: Processing buffer {"connection_id":132169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63c458c0012d7a410005e431400007003b2b..."} 
[2026-07-15 08:44:44] local.INFO: Packet analysis {"connection_id":132169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63c4"} 
[2026-07-15 08:44:44] local.INFO: Extracted packet for processing {"connection_id":132169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63c4"} 
[2026-07-15 08:44:44] local.INFO: GPS Element Parsed {"raw_longitude":762986752,"raw_latitude":98840896,"longitude_deg":76.2986752,"latitude_deg":9.8840896,"altitude":7,"angle":59,"satellites":43,"speed":1,"hex_longitude":"2d7a4100","hex_latitude":"05e43140","is_valid_coordinates":true} 
[2026-07-15 08:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725817856001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106293791966625792,"note":"Value kept but may cause issues"} 
[2026-07-15 08:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809181633928290304,"note":"Value kept but may cause issues"} 
[2026-07-15 08:44:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784085240000,"timestamp_ms":1784085240000,"timestamp_seconds":1784085240,"priority":1,"record_length":96,"hex_timestamp":"0000019f63c458c0"} 
[2026-07-15 08:44:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:44:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-15 08:44:44] 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-07-15 08:44:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:44:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":132169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":132169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":132169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:44:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725817856001,"66":13243,"157":206,"87":12288,"24":1,"16":106293791966625792,"45":8809181633928290304},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-15 08:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725817856001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:44:44] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-15 08:44:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-15 08:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106293791966625792,"km_value":106293791966625.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809181633928290304,"description":"Unknown IO ID 45"} 
[2026-07-15 08:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725817856001,"power":13243,"unknown_157":206,"unknown_87":12288,"ignition":1,"odometer":null,"unknown_45":8809181633928290304}} 
[2026-07-15 08:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":132169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490081,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:44:44] local.INFO: GPS data processed {"connection_id":132169,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:44:44] local.INFO: Acknowledgment sent {"connection_id":132169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:45:01] local.INFO: TCP Data received {"connection_id":133182,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:45:01] local.INFO: Processing buffer {"connection_id":133182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:45:01] local.INFO: IMEI packet received {"connection_id":133182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":133182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:45:06] local.INFO: TCP Data received {"connection_id":133182,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:45:06] local.INFO: Processing buffer {"connection_id":133182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:45:06] local.INFO: IMEI packet received {"connection_id":133182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":133182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:45:07] local.INFO: TCP Data received {"connection_id":133182,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f63c483b8012d7f980005afda200000003330..."} 
[2026-07-15 08:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63c483b8012d7f980005afda200000003330..."} 
[2026-07-15 08:45:07] local.INFO: Processing buffer {"connection_id":133182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63c483b8012d7f980005afda200000003330..."} 
[2026-07-15 08:45:07] local.INFO: Packet analysis {"connection_id":133182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63c4"} 
[2026-07-15 08:45:07] local.INFO: Extracted packet for processing {"connection_id":133182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63c4"} 
[2026-07-15 08:45:07] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410720,"longitude_deg":76.3336704,"latitude_deg":9.541072,"altitude":0,"angle":51,"satellites":48,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-07-15 08:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725747200001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094212908417024,"note":"Value kept but may cause issues"} 
[2026-07-15 08:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702011904,"note":"Value kept but may cause issues"} 
[2026-07-15 08:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784085251000,"timestamp_ms":1784085251000,"timestamp_seconds":1784085251,"priority":1,"record_length":96,"hex_timestamp":"0000019f63c483b8"} 
[2026-07-15 08:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-15 08:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725747200001,"66":25952,"250":206,"85":12544,"24":0,"16":347094212908417024,"45":9194098663702011904},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725747200001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:45:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:45:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094212908417024,"km_value":347094212908417.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702011904,"description":"Unknown IO ID 45"} 
[2026-07-15 08:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725747200001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702011904}} 
[2026-07-15 08:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":133182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:45:07] local.INFO: GPS data processed {"connection_id":133182,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:45:07] local.INFO: Acknowledgment sent {"connection_id":133182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:45:38] local.INFO: TCP Data received {"connection_id":133182,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f63c483b8012d7f980005afda200000003330..."} 
[2026-07-15 08:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63c483b8012d7f980005afda200000003330..."} 
[2026-07-15 08:45:38] local.INFO: Processing buffer {"connection_id":133182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63c483b8012d7f980005afda200000003330..."} 
[2026-07-15 08:45:38] local.INFO: Packet analysis {"connection_id":133182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63c4"} 
[2026-07-15 08:45:38] local.INFO: Extracted packet for processing {"connection_id":133182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63c4"} 
[2026-07-15 08:45:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410720,"longitude_deg":76.3336704,"latitude_deg":9.541072,"altitude":0,"angle":51,"satellites":48,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725747200001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094212908417024,"note":"Value kept but may cause issues"} 
[2026-07-15 08:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702011904,"note":"Value kept but may cause issues"} 
[2026-07-15 08:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784085251000,"timestamp_ms":1784085251000,"timestamp_seconds":1784085251,"priority":1,"record_length":96,"hex_timestamp":"0000019f63c483b8"} 
[2026-07-15 08:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-15 08:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08: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-07-15 08:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725747200001,"66":25952,"250":206,"85":12544,"24":0,"16":347094212908417024,"45":9194098663702011904},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725747200001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:45:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:45:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094212908417024,"km_value":347094212908417.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702011904,"description":"Unknown IO ID 45"} 
[2026-07-15 08:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725747200001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702011904}} 
[2026-07-15 08:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":133182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:45:38] local.INFO: GPS data processed {"connection_id":133182,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:45:38] local.INFO: Acknowledgment sent {"connection_id":133182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:45:38] local.INFO: TCP Data received {"connection_id":132170,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132170,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:45:38] local.INFO: Processing buffer {"connection_id":132170,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:45:38] local.INFO: IMEI packet received {"connection_id":132170,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 08:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":132170,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:45:43] local.INFO: TCP Data received {"connection_id":132170,"ip":"42.106.6.17","data_length":51,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-15 08:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132170,"packet_length":51,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-15 08:45:43] local.INFO: Processing buffer {"connection_id":132170,"buffer_length":51,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-15 08:45:43] local.INFO: IMEI packet received {"connection_id":132170,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":132170,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:46:02] local.INFO: TCP Data received {"connection_id":134553,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:46:02] local.INFO: Processing buffer {"connection_id":134553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:46:02] local.INFO: IMEI packet received {"connection_id":134553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":134553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:46:07] local.INFO: TCP Data received {"connection_id":134553,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:46:07] local.INFO: Processing buffer {"connection_id":134553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:46:07] local.INFO: IMEI packet received {"connection_id":134553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":134553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:46:08] local.INFO: TCP Data received {"connection_id":134553,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f63c483b8012d7f980005afda200000003330..."} 
[2026-07-15 08:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63c483b8012d7f980005afda200000003330..."} 
[2026-07-15 08:46:08] local.INFO: Processing buffer {"connection_id":134553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63c483b8012d7f980005afda200000003330..."} 
[2026-07-15 08:46:08] local.INFO: Packet analysis {"connection_id":134553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63c4"} 
[2026-07-15 08:46:08] local.INFO: Extracted packet for processing {"connection_id":134553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63c4"} 
[2026-07-15 08:46:08] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410720,"longitude_deg":76.3336704,"latitude_deg":9.541072,"altitude":0,"angle":51,"satellites":48,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-07-15 08:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725747200001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094212908417024,"note":"Value kept but may cause issues"} 
[2026-07-15 08:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702011904,"note":"Value kept but may cause issues"} 
[2026-07-15 08:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784085251000,"timestamp_ms":1784085251000,"timestamp_seconds":1784085251,"priority":1,"record_length":96,"hex_timestamp":"0000019f63c483b8"} 
[2026-07-15 08:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-15 08:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:46:08] 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-07-15 08:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725747200001,"66":25952,"250":206,"85":12544,"24":0,"16":347094212908417024,"45":9194098663702011904},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725747200001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:46:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:46:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094212908417024,"km_value":347094212908417.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702011904,"description":"Unknown IO ID 45"} 
[2026-07-15 08:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725747200001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702011904}} 
[2026-07-15 08:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":134553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:46:08] local.INFO: GPS data processed {"connection_id":134553,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:46:08] local.INFO: Acknowledgment sent {"connection_id":134553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:46:39] local.INFO: TCP Data received {"connection_id":134553,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f63c483b8012d7f980005afda200000003330..."} 
[2026-07-15 08:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63c483b8012d7f980005afda200000003330..."} 
[2026-07-15 08:46:39] local.INFO: Processing buffer {"connection_id":134553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63c483b8012d7f980005afda200000003330..."} 
[2026-07-15 08:46:39] local.INFO: Packet analysis {"connection_id":134553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63c4"} 
[2026-07-15 08:46:39] local.INFO: Extracted packet for processing {"connection_id":134553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63c4"} 
[2026-07-15 08:46:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410720,"longitude_deg":76.3336704,"latitude_deg":9.541072,"altitude":0,"angle":51,"satellites":48,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-07-15 08:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725747200001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094212908417024,"note":"Value kept but may cause issues"} 
[2026-07-15 08:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702011904,"note":"Value kept but may cause issues"} 
[2026-07-15 08:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784085251000,"timestamp_ms":1784085251000,"timestamp_seconds":1784085251,"priority":1,"record_length":96,"hex_timestamp":"0000019f63c483b8"} 
[2026-07-15 08:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-15 08:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:46: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-07-15 08:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725747200001,"66":25952,"250":206,"85":12544,"24":0,"16":347094212908417024,"45":9194098663702011904},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725747200001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:46:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:46:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094212908417024,"km_value":347094212908417.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702011904,"description":"Unknown IO ID 45"} 
[2026-07-15 08:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725747200001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702011904}} 
[2026-07-15 08:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":134553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:46:39] local.INFO: GPS data processed {"connection_id":134553,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:46:39] local.INFO: Acknowledgment sent {"connection_id":134553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:46:47] local.INFO: TCP Data received {"connection_id":133185,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:46:47] local.INFO: Processing buffer {"connection_id":133185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:46:47] local.INFO: IMEI packet received {"connection_id":133185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 08:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":133185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:46:48] local.INFO: TCP Data received {"connection_id":133185,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:46:48] local.INFO: Processing buffer {"connection_id":133185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:46:48] local.INFO: IMEI packet received {"connection_id":133185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 08:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":133185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:46:52] local.INFO: TCP Data received {"connection_id":133185,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:46:52] local.INFO: Processing buffer {"connection_id":133185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:46:52] local.INFO: IMEI packet received {"connection_id":133185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 08:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":133185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:46:54] local.INFO: TCP Data received {"connection_id":133185,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63c579d0012d1a8f4007247d00004d002820..."} 
[2026-07-15 08:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63c579d0012d1a8f4007247d00004d002820..."} 
[2026-07-15 08:46:54] local.INFO: Processing buffer {"connection_id":133185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63c579d0012d1a8f4007247d00004d002820..."} 
[2026-07-15 08:46:54] local.INFO: Packet analysis {"connection_id":133185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63c5"} 
[2026-07-15 08:46:54] local.INFO: Extracted packet for processing {"connection_id":133185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63c5"} 
[2026-07-15 08:46:54] local.INFO: GPS Element Parsed {"raw_longitude":756715328,"raw_latitude":119831808,"longitude_deg":75.6715328,"latitude_deg":11.9831808,"altitude":77,"angle":40,"satellites":32,"speed":9,"hex_longitude":"2d1a8f40","hex_latitude":"07247d00","is_valid_coordinates":true} 
[2026-07-15 08:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725839104001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6111334735282176,"note":"Value kept but may cause issues"} 
[2026-07-15 08:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913185447379015680,"note":"Value kept but may cause issues"} 
[2026-07-15 08:46:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784085314000,"timestamp_ms":1784085314000,"timestamp_seconds":1784085314,"priority":1,"record_length":96,"hex_timestamp":"0000019f63c579d0"} 
[2026-07-15 08:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:46:54] 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-07-15 08:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-07-15 08:46:54] 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-07-15 08:46:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":133185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":133185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":133185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:46:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 08:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 08:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725839104001,"66":13917,"137":206,"83":42752,"24":9,"16":6111334735282176,"45":1913185447379015680},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-07-15 08:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 08:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 08:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725839104001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:46:54] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-15 08:46:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-15 08:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6111334735282176,"km_value":6111334735282.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:46:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913185447379015680,"description":"Unknown IO ID 45"} 
[2026-07-15 08:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725839104001,"power":13917,"unknown_137":206,"unknown_83":42752,"ignition":9,"odometer":null,"unknown_45":1913185447379015680}} 
[2026-07-15 08:46:54] local.INFO: DEBUG: GPS processor result {"connection_id":133185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:46:54] local.INFO: GPS data processed {"connection_id":133185,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:46:54] local.INFO: Acknowledgment sent {"connection_id":133185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:47:01] local.INFO: TCP Data received {"connection_id":132342,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:47:01] local.INFO: Processing buffer {"connection_id":132342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:47:01] local.INFO: IMEI packet received {"connection_id":132342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":132342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:47:07] local.INFO: TCP Data received {"connection_id":132342,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:47:07] local.INFO: Processing buffer {"connection_id":132342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:47:07] local.INFO: IMEI packet received {"connection_id":132342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":132342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:47:10] local.INFO: TCP Data received {"connection_id":132342,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63c483b8012d7f980005afda200000003330..."} 
[2026-07-15 08:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63c483b8012d7f980005afda200000003330..."} 
[2026-07-15 08:47:10] local.INFO: Processing buffer {"connection_id":132342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63c483b8012d7f980005afda200000003330..."} 
[2026-07-15 08:47:10] local.INFO: Packet analysis {"connection_id":132342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63c4"} 
[2026-07-15 08:47:10] local.INFO: Extracted packet for processing {"connection_id":132342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63c4"} 
[2026-07-15 08:47:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410720,"longitude_deg":76.3336704,"latitude_deg":9.541072,"altitude":0,"angle":51,"satellites":48,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-07-15 08:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725747200001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094212908417024,"note":"Value kept but may cause issues"} 
[2026-07-15 08:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702011904,"note":"Value kept but may cause issues"} 
[2026-07-15 08:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784085251000,"timestamp_ms":1784085251000,"timestamp_seconds":1784085251,"priority":1,"record_length":96,"hex_timestamp":"0000019f63c483b8"} 
[2026-07-15 08:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-15 08:47:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":132342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":132342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":132342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:47:10] 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-07-15 08:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725747200001,"66":25952,"250":206,"85":12544,"24":0,"16":347094212908417024,"45":9194098663702011904},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725747200001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:47:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:47:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094212908417024,"km_value":347094212908417.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702011904,"description":"Unknown IO ID 45"} 
[2026-07-15 08:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725747200001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702011904}} 
[2026-07-15 08:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":132342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:47:10] local.INFO: GPS data processed {"connection_id":132342,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:47:10] local.INFO: Acknowledgment sent {"connection_id":132342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:47:25] local.INFO: TCP Data received {"connection_id":133185,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63c69ae0012d1a8e4007247c30005700ce23..."} 
[2026-07-15 08:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63c69ae0012d1a8e4007247c30005700ce23..."} 
[2026-07-15 08:47:25] local.INFO: Processing buffer {"connection_id":133185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63c69ae0012d1a8e4007247c30005700ce23..."} 
[2026-07-15 08:47:25] local.INFO: Packet analysis {"connection_id":133185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63c6"} 
[2026-07-15 08:47:25] local.INFO: Extracted packet for processing {"connection_id":133185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63c6"} 
[2026-07-15 08:47:25] local.INFO: GPS Element Parsed {"raw_longitude":756715072,"raw_latitude":119831600,"longitude_deg":75.6715072,"latitude_deg":11.98316,"altitude":87,"angle":206,"satellites":35,"speed":12,"hex_longitude":"2d1a8e40","hex_latitude":"07247c30","is_valid_coordinates":true} 
[2026-07-15 08:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725858816001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6111811476652032,"note":"Value kept but may cause issues"} 
[2026-07-15 08:47:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913959503565312000,"note":"Value kept but may cause issues"} 
[2026-07-15 08:47:25] 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-07-15 08:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784085388000,"timestamp_ms":1784085388000,"timestamp_seconds":1784085388,"priority":1,"record_length":96,"hex_timestamp":"0000019f63c69ae0"} 
[2026-07-15 08:47:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:47:25] 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-07-15 08:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-07-15 08:47:25] 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-07-15 08:47:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:47:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":133185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":133185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":133185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:47:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 08:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 08:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725858816001,"66":13961,"43":206,"83":42752,"24":12,"16":6111811476652032,"45":1913959503565312000},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-15 08:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 08:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 08:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725858816001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:47:25] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-15 08:47:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-15 08:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6111811476652032,"km_value":6111811476652.032,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:47:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913959503565312000,"description":"Unknown IO ID 45"} 
[2026-07-15 08:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725858816001,"power":13961,"unknown_43":206,"unknown_83":42752,"ignition":12,"odometer":null,"unknown_45":1913959503565312000}} 
[2026-07-15 08:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":133185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:47:25] local.INFO: GPS data processed {"connection_id":133185,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:47:25] local.INFO: Acknowledgment sent {"connection_id":133185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:47:34] local.INFO: TCP Data received {"connection_id":132343,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132343,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:47:34] local.INFO: Processing buffer {"connection_id":132343,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:47:34] local.INFO: IMEI packet received {"connection_id":132343,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 08:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":132343,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:47:35] local.INFO: TCP Data received {"connection_id":132343,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63c73ef0012d0e040007069218001a006a1f..."} 
[2026-07-15 08:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63c73ef0012d0e040007069218001a006a1f..."} 
[2026-07-15 08:47:35] local.INFO: Processing buffer {"connection_id":132343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63c73ef0012d0e040007069218001a006a1f..."} 
[2026-07-15 08:47:35] local.INFO: Packet analysis {"connection_id":132343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63c7"} 
[2026-07-15 08:47:35] local.INFO: Extracted packet for processing {"connection_id":132343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63c7"} 
[2026-07-15 08:47:35] local.INFO: GPS Element Parsed {"raw_longitude":755893248,"raw_latitude":117871128,"longitude_deg":75.5893248,"latitude_deg":11.7871128,"altitude":26,"angle":106,"satellites":31,"speed":9,"hex_longitude":"2d0e0400","hex_latitude":"07069218","is_valid_coordinates":true} 
[2026-07-15 08:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725869824001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24571091288588288,"note":"Value kept but may cause issues"} 
[2026-07-15 08:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009650771636148224,"note":"Value kept but may cause issues"} 
[2026-07-15 08:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784085430000,"timestamp_ms":1784085430000,"timestamp_seconds":1784085430,"priority":1,"record_length":96,"hex_timestamp":"0000019f63c73ef0"} 
[2026-07-15 08:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-15 08:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132343,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132343,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725869824001,"66":14309,"219":206,"94":10240,"24":9,"16":24571091288588288,"45":1009650771636148224},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-15 08:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725869824001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:47:35] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-15 08:47:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 08:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24571091288588288,"km_value":24571091288588.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009650771636148224,"description":"Unknown IO ID 45"} 
[2026-07-15 08:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725869824001,"power":14309,"unknown_219":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":1009650771636148224}} 
[2026-07-15 08:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":132343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490089,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:47:35] local.INFO: GPS data processed {"connection_id":132343,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:47:35] local.INFO: Acknowledgment sent {"connection_id":132343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:47:41] local.INFO: TCP Data received {"connection_id":132342,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63c483b8012d7f980005afda200000003330..."} 
[2026-07-15 08:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63c483b8012d7f980005afda200000003330..."} 
[2026-07-15 08:47:41] local.INFO: Processing buffer {"connection_id":132342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63c483b8012d7f980005afda200000003330..."} 
[2026-07-15 08:47:41] local.INFO: Packet analysis {"connection_id":132342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63c4"} 
[2026-07-15 08:47:41] local.INFO: Extracted packet for processing {"connection_id":132342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63c4"} 
[2026-07-15 08:47:41] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410720,"longitude_deg":76.3336704,"latitude_deg":9.541072,"altitude":0,"angle":51,"satellites":48,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-07-15 08:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725747200001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094212908417024,"note":"Value kept but may cause issues"} 
[2026-07-15 08:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702011904,"note":"Value kept but may cause issues"} 
[2026-07-15 08:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784085251000,"timestamp_ms":1784085251000,"timestamp_seconds":1784085251,"priority":1,"record_length":96,"hex_timestamp":"0000019f63c483b8"} 
[2026-07-15 08:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-15 08:47:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:47:41] 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-07-15 08:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725747200001,"66":25952,"250":206,"85":12544,"24":0,"16":347094212908417024,"45":9194098663702011904},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725747200001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:47:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:47:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094212908417024,"km_value":347094212908417.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702011904,"description":"Unknown IO ID 45"} 
[2026-07-15 08:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725747200001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702011904}} 
[2026-07-15 08:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":132342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:47:41] local.INFO: GPS data processed {"connection_id":132342,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:47:41] local.INFO: Acknowledgment sent {"connection_id":132342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:47:43] local.INFO: TCP Data received {"connection_id":132174,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:47:43] local.INFO: Processing buffer {"connection_id":132174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:47:43] local.INFO: IMEI packet received {"connection_id":132174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 08:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":132174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:47:43] local.INFO: TCP Data received {"connection_id":132174,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:47:43] local.INFO: Processing buffer {"connection_id":132174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:47:43] local.INFO: IMEI packet received {"connection_id":132174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 08:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":132174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:47:45] local.INFO: TCP Data received {"connection_id":132174,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:47:45] local.INFO: Processing buffer {"connection_id":132174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:47:45] local.INFO: IMEI packet received {"connection_id":132174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 08:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":132174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:47:47] local.INFO: TCP Data received {"connection_id":132174,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:47:47] local.INFO: Processing buffer {"connection_id":132174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:47:47] local.INFO: IMEI packet received {"connection_id":132174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 08:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":132174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:47:48] local.INFO: TCP Data received {"connection_id":132174,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63c6a2b0012d1a8dc007247970005600be22..."} 
[2026-07-15 08:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63c6a2b0012d1a8dc007247970005600be22..."} 
[2026-07-15 08:47:48] local.INFO: Processing buffer {"connection_id":132174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63c6a2b0012d1a8dc007247970005600be22..."} 
[2026-07-15 08:47:48] local.INFO: Packet analysis {"connection_id":132174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63c6"} 
[2026-07-15 08:47:48] local.INFO: Extracted packet for processing {"connection_id":132174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63c6"} 
[2026-07-15 08:47:48] local.INFO: GPS Element Parsed {"raw_longitude":756714944,"raw_latitude":119830896,"longitude_deg":75.6714944,"latitude_deg":11.9830896,"altitude":86,"angle":190,"satellites":34,"speed":13,"hex_longitude":"2d1a8dc0","hex_latitude":"07247970","is_valid_coordinates":true} 
[2026-07-15 08:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725859328001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6111845836390400,"note":"Value kept but may cause issues"} 
[2026-07-15 08:47:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913537291100106752,"note":"Value kept but may cause issues"} 
[2026-07-15 08:47:48] 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-07-15 08:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784085390000,"timestamp_ms":1784085390000,"timestamp_seconds":1784085390,"priority":1,"record_length":96,"hex_timestamp":"0000019f63c6a2b0"} 
[2026-07-15 08:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:47:48] 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-07-15 08:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-15 08:47:48] 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-07-15 08:47:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":132174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":132174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":132174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 08:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 08:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725859328001,"66":14048,"43":206,"83":42752,"24":13,"16":6111845836390400,"45":1913537291100106752},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-15 08:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 08:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 08:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725859328001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:47:48] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-15 08:47:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-15 08:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6111845836390400,"km_value":6111845836390.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:47:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913537291100106752,"description":"Unknown IO ID 45"} 
[2026-07-15 08:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725859328001,"power":14048,"unknown_43":206,"unknown_83":42752,"ignition":13,"odometer":null,"unknown_45":1913537291100106752}} 
[2026-07-15 08:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":132174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:47:48] local.INFO: GPS data processed {"connection_id":132174,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:47:48] local.INFO: Acknowledgment sent {"connection_id":132174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:47:53] local.INFO: TCP Data received {"connection_id":132174,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63c6e900012d1a890007246008004e00cd22..."} 
[2026-07-15 08:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63c6e900012d1a890007246008004e00cd22..."} 
[2026-07-15 08:47:53] local.INFO: Processing buffer {"connection_id":132174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63c6e900012d1a890007246008004e00cd22..."} 
[2026-07-15 08:47:53] local.INFO: Packet analysis {"connection_id":132174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63c6"} 
[2026-07-15 08:47:53] local.INFO: Extracted packet for processing {"connection_id":132174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63c6"} 
[2026-07-15 08:47:53] local.INFO: GPS Element Parsed {"raw_longitude":756713728,"raw_latitude":119824392,"longitude_deg":75.6713728,"latitude_deg":11.9824392,"altitude":78,"angle":205,"satellites":34,"speed":9,"hex_longitude":"2d1a8900","hex_latitude":"07246008","is_valid_coordinates":true} 
[2026-07-15 08:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725859840001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6112167958937600,"note":"Value kept but may cause issues"} 
[2026-07-15 08:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913396553611571200,"note":"Value kept but may cause issues"} 
[2026-07-15 08:47:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784085408000,"timestamp_ms":1784085408000,"timestamp_seconds":1784085408,"priority":1,"record_length":96,"hex_timestamp":"0000019f63c6e900"} 
[2026-07-15 08:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:47:53] 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-07-15 08:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-15 08:47:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:47:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":132174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":132174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":132174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:47:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 08:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 08:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725859840001,"66":13972,"177":206,"83":42752,"24":9,"16":6112167958937600,"45":1913396553611571200},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-15 08:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 08:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 08:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725859840001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:47:53] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-15 08:47:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-15 08:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6112167958937600,"km_value":6112167958937.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913396553611571200,"description":"Unknown IO ID 45"} 
[2026-07-15 08:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725859840001,"power":13972,"unknown_177":206,"unknown_83":42752,"ignition":9,"odometer":null,"unknown_45":1913396553611571200}} 
[2026-07-15 08:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":132174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:47:53] local.INFO: GPS data processed {"connection_id":132174,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:47:53] local.INFO: Acknowledgment sent {"connection_id":132174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:48:02] local.INFO: TCP Data received {"connection_id":134554,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:48:02] local.INFO: Processing buffer {"connection_id":134554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:48:02] local.INFO: IMEI packet received {"connection_id":134554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":134554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:48:06] local.INFO: TCP Data received {"connection_id":132343,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63c742d8012d0e050007069130001a00861e..."} 
[2026-07-15 08:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63c742d8012d0e050007069130001a00861e..."} 
[2026-07-15 08:48:06] local.INFO: Processing buffer {"connection_id":132343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63c742d8012d0e050007069130001a00861e..."} 
[2026-07-15 08:48:06] local.INFO: Packet analysis {"connection_id":132343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63c7"} 
[2026-07-15 08:48:06] local.INFO: Extracted packet for processing {"connection_id":132343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63c7"} 
[2026-07-15 08:48:06] local.INFO: GPS Element Parsed {"raw_longitude":755893504,"raw_latitude":117870896,"longitude_deg":75.5893504,"latitude_deg":11.7870896,"altitude":26,"angle":134,"satellites":30,"speed":12,"hex_longitude":"2d0e0500","hex_latitude":"07069130","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725870080001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24571108468457472,"note":"Value kept but may cause issues"} 
[2026-07-15 08:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009932246612842496,"note":"Value kept but may cause issues"} 
[2026-07-15 08:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784085431000,"timestamp_ms":1784085431000,"timestamp_seconds":1784085431,"priority":1,"record_length":96,"hex_timestamp":"0000019f63c742d8"} 
[2026-07-15 08:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08: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":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-15 08:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08: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-07-15 08:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132343,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132343,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725870080001,"66":14026,"219":206,"94":10240,"24":12,"16":24571108468457472,"45":1009932246612842496},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-15 08:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725870080001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:48:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-15 08:48:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 08:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24571108468457472,"km_value":24571108468457.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009932246612842496,"description":"Unknown IO ID 45"} 
[2026-07-15 08:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725870080001,"power":14026,"unknown_219":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":1009932246612842496}} 
[2026-07-15 08:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":132343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490093,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:48:06] local.INFO: GPS data processed {"connection_id":132343,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:48:06] local.INFO: Acknowledgment sent {"connection_id":132343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:48:07] local.INFO: TCP Data received {"connection_id":134554,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:48:07] local.INFO: Processing buffer {"connection_id":134554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:48:07] local.INFO: IMEI packet received {"connection_id":134554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":134554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:48:08] local.INFO: TCP Data received {"connection_id":134554,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f63c483b8012d7f980005afda200000003330..."} 
[2026-07-15 08:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63c483b8012d7f980005afda200000003330..."} 
[2026-07-15 08:48:08] local.INFO: Processing buffer {"connection_id":134554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63c483b8012d7f980005afda200000003330..."} 
[2026-07-15 08:48:08] local.INFO: Packet analysis {"connection_id":134554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63c4"} 
[2026-07-15 08:48:08] local.INFO: Extracted packet for processing {"connection_id":134554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63c4"} 
[2026-07-15 08:48:08] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410720,"longitude_deg":76.3336704,"latitude_deg":9.541072,"altitude":0,"angle":51,"satellites":48,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-07-15 08:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725747200001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094212908417024,"note":"Value kept but may cause issues"} 
[2026-07-15 08:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702011904,"note":"Value kept but may cause issues"} 
[2026-07-15 08:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784085251000,"timestamp_ms":1784085251000,"timestamp_seconds":1784085251,"priority":1,"record_length":96,"hex_timestamp":"0000019f63c483b8"} 
[2026-07-15 08:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-15 08:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725747200001,"66":25952,"250":206,"85":12544,"24":0,"16":347094212908417024,"45":9194098663702011904},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725747200001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:48:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:48:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094212908417024,"km_value":347094212908417.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702011904,"description":"Unknown IO ID 45"} 
[2026-07-15 08:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725747200001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702011904}} 
[2026-07-15 08:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":134554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:48:08] local.INFO: GPS data processed {"connection_id":134554,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:48:08] local.INFO: Acknowledgment sent {"connection_id":134554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:48:24] local.INFO: TCP Data received {"connection_id":132174,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63c72f50012d1a7b80072448f0004300d922..."} 
[2026-07-15 08:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63c72f50012d1a7b80072448f0004300d922..."} 
[2026-07-15 08:48:24] local.INFO: Processing buffer {"connection_id":132174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63c72f50012d1a7b80072448f0004300d922..."} 
[2026-07-15 08:48:24] local.INFO: Packet analysis {"connection_id":132174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63c7"} 
[2026-07-15 08:48:24] local.INFO: Extracted packet for processing {"connection_id":132174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63c7"} 
[2026-07-15 08:48:24] local.INFO: GPS Element Parsed {"raw_longitude":756710272,"raw_latitude":119818480,"longitude_deg":75.6710272,"latitude_deg":11.981848,"altitude":67,"angle":217,"satellites":34,"speed":18,"hex_longitude":"2d1a7b80","hex_latitude":"072448f0","is_valid_coordinates":true} 
[2026-07-15 08:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725864448001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6112498671419392,"note":"Value kept but may cause issues"} 
[2026-07-15 08:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912059547470530560,"note":"Value kept but may cause issues"} 
[2026-07-15 08:48:24] 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-07-15 08:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1784085426000,"timestamp_ms":1784085426000,"timestamp_seconds":1784085426,"priority":1,"record_length":96,"hex_timestamp":"0000019f63c72f50"} 
[2026-07-15 08:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:48:24] 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-07-15 08:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-15 08:48:24] 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-07-15 08:48:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":132174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":132174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":132174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:48:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 08:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 08:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725864448001,"66":14211,"43":206,"83":42752,"24":18,"16":6112498671419392,"45":1912059547470530560},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-15 08:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 08:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 08:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725864448001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:48:24] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-15 08:48:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-15 08:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6112498671419392,"km_value":6112498671419.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912059547470530560,"description":"Unknown IO ID 45"} 
[2026-07-15 08:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725864448001,"power":14211,"unknown_43":206,"unknown_83":42752,"ignition":18,"odometer":null,"unknown_45":1912059547470530560}} 
[2026-07-15 08:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":132174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:48:24] local.INFO: GPS data processed {"connection_id":132174,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:48:24] local.INFO: Acknowledgment sent {"connection_id":132174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:48:29] local.INFO: TCP Data received {"connection_id":132175,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132175,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:48:29] local.INFO: Processing buffer {"connection_id":132175,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:48:29] local.INFO: IMEI packet received {"connection_id":132175,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 08:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":132175,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:48:34] local.INFO: TCP Data received {"connection_id":132175,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132175,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:48:34] local.INFO: Processing buffer {"connection_id":132175,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:48:34] local.INFO: IMEI packet received {"connection_id":132175,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":132175,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:48:35] local.INFO: TCP Data received {"connection_id":132175,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63c75278012d0e08c007068df8001b00961e..."} 
[2026-07-15 08:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63c75278012d0e08c007068df8001b00961e..."} 
[2026-07-15 08:48:35] local.INFO: Processing buffer {"connection_id":132175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63c75278012d0e08c007068df8001b00961e..."} 
[2026-07-15 08:48:35] local.INFO: Packet analysis {"connection_id":132175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63c7"} 
[2026-07-15 08:48:35] local.INFO: Extracted packet for processing {"connection_id":132175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63c7"} 
[2026-07-15 08:48:35] local.INFO: GPS Element Parsed {"raw_longitude":755894464,"raw_latitude":117870072,"longitude_deg":75.5894464,"latitude_deg":11.7870072,"altitude":27,"angle":150,"satellites":30,"speed":9,"hex_longitude":"2d0e08c0","hex_latitude":"07068df8","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725870336001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24571168597999616,"note":"Value kept but may cause issues"} 
[2026-07-15 08:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1010213721589493760,"note":"Value kept but may cause issues"} 
[2026-07-15 08:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784085435000,"timestamp_ms":1784085435000,"timestamp_seconds":1784085435,"priority":1,"record_length":96,"hex_timestamp":"0000019f63c75278"} 
[2026-07-15 08:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08: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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-07-15 08:48:35] 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-07-15 08: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-07-15 08:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132175,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132175,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725870336001,"66":14374,"219":206,"94":10240,"24":9,"16":24571168597999616,"45":1010213721589493760},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-15 08:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725870336001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:48:35] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-15 08:48:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 08:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24571168597999616,"km_value":24571168597999.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1010213721589493760,"description":"Unknown IO ID 45"} 
[2026-07-15 08:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725870336001,"power":14374,"unknown_219":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":1010213721589493760}} 
[2026-07-15 08:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":132175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490096,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:48:35] local.INFO: GPS data processed {"connection_id":132175,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:48:35] local.INFO: Acknowledgment sent {"connection_id":132175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:48:40] local.INFO: TCP Data received {"connection_id":134554,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f63c483b8012d7f980005afda200000003330..."} 
[2026-07-15 08:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63c483b8012d7f980005afda200000003330..."} 
[2026-07-15 08:48:40] local.INFO: Processing buffer {"connection_id":134554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63c483b8012d7f980005afda200000003330..."} 
[2026-07-15 08:48:40] local.INFO: Packet analysis {"connection_id":134554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63c4"} 
[2026-07-15 08:48:40] local.INFO: Extracted packet for processing {"connection_id":134554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63c4"} 
[2026-07-15 08:48:40] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410720,"longitude_deg":76.3336704,"latitude_deg":9.541072,"altitude":0,"angle":51,"satellites":48,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725747200001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094212908417024,"note":"Value kept but may cause issues"} 
[2026-07-15 08:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702011904,"note":"Value kept but may cause issues"} 
[2026-07-15 08:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784085251000,"timestamp_ms":1784085251000,"timestamp_seconds":1784085251,"priority":1,"record_length":96,"hex_timestamp":"0000019f63c483b8"} 
[2026-07-15 08:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-15 08:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08: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-07-15 08:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":134554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":134554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":134554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:48:40] 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-07-15 08:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725747200001,"66":25952,"250":206,"85":12544,"24":0,"16":347094212908417024,"45":9194098663702011904},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725747200001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:48:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:48:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094212908417024,"km_value":347094212908417.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702011904,"description":"Unknown IO ID 45"} 
[2026-07-15 08:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725747200001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702011904}} 
[2026-07-15 08:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":134554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:48:40] local.INFO: GPS data processed {"connection_id":134554,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:48:40] local.INFO: Acknowledgment sent {"connection_id":134554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:48:41] local.INFO: TCP Data received {"connection_id":133188,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:48:41] local.INFO: Processing buffer {"connection_id":133188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:48:41] local.INFO: IMEI packet received {"connection_id":133188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 08:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":133188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:48:42] local.INFO: TCP Data received {"connection_id":133188,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:48:42] local.INFO: Processing buffer {"connection_id":133188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:48:42] local.INFO: IMEI packet received {"connection_id":133188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 08:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":133188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:48:48] local.INFO: TCP Data received {"connection_id":133188,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:48:48] local.INFO: Processing buffer {"connection_id":133188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:48:48] local.INFO: IMEI packet received {"connection_id":133188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 08:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":133188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:48:48] local.INFO: TCP Data received {"connection_id":133188,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63c73720012d1a78c007244688004100e922..."} 
[2026-07-15 08:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63c73720012d1a78c007244688004100e922..."} 
[2026-07-15 08:48:48] local.INFO: Processing buffer {"connection_id":133188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63c73720012d1a78c007244688004100e922..."} 
[2026-07-15 08:48:48] local.INFO: Packet analysis {"connection_id":133188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63c7"} 
[2026-07-15 08:48:48] local.INFO: Extracted packet for processing {"connection_id":133188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63c7"} 
[2026-07-15 08:48:48] local.INFO: GPS Element Parsed {"raw_longitude":756709568,"raw_latitude":119817864,"longitude_deg":75.6709568,"latitude_deg":11.9817864,"altitude":65,"angle":233,"satellites":34,"speed":18,"hex_longitude":"2d1a78c0","hex_latitude":"07244688","is_valid_coordinates":true} 
[2026-07-15 08:48: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-07-15 08:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725869056001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6112541621092352,"note":"Value kept but may cause issues"} 
[2026-07-15 08:48:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1908259635283423232,"note":"Value kept but may cause issues"} 
[2026-07-15 08:48:48] 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-07-15 08:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784085428000,"timestamp_ms":1784085428000,"timestamp_seconds":1784085428,"priority":1,"record_length":96,"hex_timestamp":"0000019f63c73720"} 
[2026-07-15 08:48:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:48:48] 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-07-15 08:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-15 08:48:48] 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-07-15 08:48: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-07-15 08:48:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":133188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":133188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":133188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:48:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 08:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 08:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725869056001,"66":13993,"43":206,"83":42752,"24":18,"16":6112541621092352,"45":1908259635283423232},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-15 08:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 08:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 08:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725869056001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:48:48] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-15 08:48:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-15 08:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6112541621092352,"km_value":6112541621092.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:48:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1908259635283423232,"description":"Unknown IO ID 45"} 
[2026-07-15 08:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725869056001,"power":13993,"unknown_43":206,"unknown_83":42752,"ignition":18,"odometer":null,"unknown_45":1908259635283423232}} 
[2026-07-15 08:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":133188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:48:48] local.INFO: GPS data processed {"connection_id":133188,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:48:48] local.INFO: Acknowledgment sent {"connection_id":133188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:49:01] local.INFO: TCP Data received {"connection_id":133189,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:49:01] local.INFO: Processing buffer {"connection_id":133189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:49:01] local.INFO: IMEI packet received {"connection_id":133189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":133189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:49:06] local.INFO: TCP Data received {"connection_id":132175,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63c75660012d0e090007068d60001b00a31e..."} 
[2026-07-15 08:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63c75660012d0e090007068d60001b00a31e..."} 
[2026-07-15 08:49:06] local.INFO: Processing buffer {"connection_id":132175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63c75660012d0e090007068d60001b00a31e..."} 
[2026-07-15 08:49:06] local.INFO: Packet analysis {"connection_id":132175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63c7"} 
[2026-07-15 08:49:06] local.INFO: Extracted packet for processing {"connection_id":132175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63c7"} 
[2026-07-15 08:49:06] local.INFO: GPS Element Parsed {"raw_longitude":755894528,"raw_latitude":117869920,"longitude_deg":75.5894528,"latitude_deg":11.786992,"altitude":27,"angle":163,"satellites":30,"speed":7,"hex_longitude":"2d0e0900","hex_latitude":"07068d60","is_valid_coordinates":true} 
[2026-07-15 08:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725871360001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24571177187934208,"note":"Value kept but may cause issues"} 
[2026-07-15 08:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1011269252751947776,"note":"Value kept but may cause issues"} 
[2026-07-15 08:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784085436000,"timestamp_ms":1784085436000,"timestamp_seconds":1784085436,"priority":1,"record_length":96,"hex_timestamp":"0000019f63c75660"} 
[2026-07-15 08:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-15 08:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132175,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132175,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725871360001,"66":13754,"219":206,"94":10240,"24":7,"16":24571177187934208,"45":1011269252751947776},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-15 08:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725871360001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:49:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-15 08:49:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 08:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24571177187934208,"km_value":24571177187934.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1011269252751947776,"description":"Unknown IO ID 45"} 
[2026-07-15 08:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725871360001,"power":13754,"unknown_219":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":1011269252751947776}} 
[2026-07-15 08:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":132175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490099,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:49:06] local.INFO: GPS data processed {"connection_id":132175,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:49:06] local.INFO: Acknowledgment sent {"connection_id":132175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:49:07] local.INFO: TCP Data received {"connection_id":133189,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:49:07] local.INFO: Processing buffer {"connection_id":133189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:49:07] local.INFO: IMEI packet received {"connection_id":133189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":133189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:49:07] local.INFO: TCP Data received {"connection_id":133189,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f63c483b8012d7f980005afda200000003330..."} 
[2026-07-15 08:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63c483b8012d7f980005afda200000003330..."} 
[2026-07-15 08:49:07] local.INFO: Processing buffer {"connection_id":133189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63c483b8012d7f980005afda200000003330..."} 
[2026-07-15 08:49:07] local.INFO: Packet analysis {"connection_id":133189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63c4"} 
[2026-07-15 08:49:07] local.INFO: Extracted packet for processing {"connection_id":133189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63c4"} 
[2026-07-15 08:49:07] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410720,"longitude_deg":76.3336704,"latitude_deg":9.541072,"altitude":0,"angle":51,"satellites":48,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-07-15 08:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725747200001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094212908417024,"note":"Value kept but may cause issues"} 
[2026-07-15 08:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702011904,"note":"Value kept but may cause issues"} 
[2026-07-15 08:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784085251000,"timestamp_ms":1784085251000,"timestamp_seconds":1784085251,"priority":1,"record_length":96,"hex_timestamp":"0000019f63c483b8"} 
[2026-07-15 08:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-15 08:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:49:07] 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-07-15 08:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725747200001,"66":25952,"250":206,"85":12544,"24":0,"16":347094212908417024,"45":9194098663702011904},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725747200001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:49:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:49:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094212908417024,"km_value":347094212908417.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702011904,"description":"Unknown IO ID 45"} 
[2026-07-15 08:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725747200001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702011904}} 
[2026-07-15 08:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":133189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:49:07] local.INFO: GPS data processed {"connection_id":133189,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:49:07] local.INFO: Acknowledgment sent {"connection_id":133189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:49:20] local.INFO: TCP Data received {"connection_id":133188,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63c844a8012d1a5b000723f6a0003100d924..."} 
[2026-07-15 08:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63c844a8012d1a5b000723f6a0003100d924..."} 
[2026-07-15 08:49:20] local.INFO: Processing buffer {"connection_id":133188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63c844a8012d1a5b000723f6a0003100d924..."} 
[2026-07-15 08:49:20] local.INFO: Packet analysis {"connection_id":133188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63c8"} 
[2026-07-15 08:49:20] local.INFO: Extracted packet for processing {"connection_id":133188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63c8"} 
[2026-07-15 08:49:20] local.INFO: GPS Element Parsed {"raw_longitude":756701952,"raw_latitude":119797408,"longitude_deg":75.6701952,"latitude_deg":11.9797408,"altitude":49,"angle":217,"satellites":36,"speed":25,"hex_longitude":"2d1a5b00","hex_latitude":"0723f6a0","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725883648001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6113757096837120,"note":"Value kept but may cause issues"} 
[2026-07-15 08:49:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906289310442629120,"note":"Value kept but may cause issues"} 
[2026-07-15 08:49:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1784085497000,"timestamp_ms":1784085497000,"timestamp_seconds":1784085497,"priority":1,"record_length":96,"hex_timestamp":"0000019f63c844a8"} 
[2026-07-15 08:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:49:20] 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-07-15 08: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-15 08:49:20] 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-07-15 08: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-07-15 08:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":133188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":133188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":133188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:49:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 08:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 08:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725883648001,"66":14265,"43":206,"83":42752,"24":25,"16":6113757096837120,"45":1906289310442629120},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-15 08:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 08:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 08:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725883648001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:49:20] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-15 08:49:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-15 08:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6113757096837120,"km_value":6113757096837.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:49:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906289310442629120,"description":"Unknown IO ID 45"} 
[2026-07-15 08:49:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725883648001,"power":14265,"unknown_43":206,"unknown_83":42752,"ignition":25,"odometer":null,"unknown_45":1906289310442629120}} 
[2026-07-15 08:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":133188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:49:20] local.INFO: GPS data processed {"connection_id":133188,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:49:20] local.INFO: Acknowledgment sent {"connection_id":133188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:49:29] local.INFO: TCP Data received {"connection_id":132176,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132176,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:49:29] local.INFO: Processing buffer {"connection_id":132176,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:49:29] local.INFO: IMEI packet received {"connection_id":132176,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 08:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":132176,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:49:35] local.INFO: TCP Data received {"connection_id":132176,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132176,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:49:35] local.INFO: Processing buffer {"connection_id":132176,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:49:35] local.INFO: IMEI packet received {"connection_id":132176,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":132176,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:49:35] local.INFO: TCP Data received {"connection_id":132176,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63c76600012d0e09c007068aa0001c00ae20..."} 
[2026-07-15 08:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63c76600012d0e09c007068aa0001c00ae20..."} 
[2026-07-15 08:49:35] local.INFO: Processing buffer {"connection_id":132176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63c76600012d0e09c007068aa0001c00ae20..."} 
[2026-07-15 08:49:35] local.INFO: Packet analysis {"connection_id":132176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63c7"} 
[2026-07-15 08:49:35] local.INFO: Extracted packet for processing {"connection_id":132176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63c7"} 
[2026-07-15 08:49:35] local.INFO: GPS Element Parsed {"raw_longitude":755894720,"raw_latitude":117869216,"longitude_deg":75.589472,"latitude_deg":11.7869216,"altitude":28,"angle":174,"satellites":32,"speed":6,"hex_longitude":"2d0e09c0","hex_latitude":"07068aa0","is_valid_coordinates":true} 
[2026-07-15 08:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725871616001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24571211547672576,"note":"Value kept but may cause issues"} 
[2026-07-15 08:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1011339621496086528,"note":"Value kept but may cause issues"} 
[2026-07-15 08:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784085440000,"timestamp_ms":1784085440000,"timestamp_seconds":1784085440,"priority":1,"record_length":96,"hex_timestamp":"0000019f63c76600"} 
[2026-07-15 08:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-07-15 08:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2137,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132176,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132176,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725871616001,"66":14515,"219":206,"94":10240,"24":6,"16":24571211547672576,"45":1011339621496086528},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-15 08:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725871616001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:49:35] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-15 08:49:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 08:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24571211547672576,"km_value":24571211547672.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1011339621496086528,"description":"Unknown IO ID 45"} 
[2026-07-15 08:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725871616001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":1011339621496086528}} 
[2026-07-15 08:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":132176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490102,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:49:35] local.INFO: GPS data processed {"connection_id":132176,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:49:35] local.INFO: Acknowledgment sent {"connection_id":132176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:49:39] local.INFO: TCP Data received {"connection_id":133189,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f63c483b8012d7f980005afda200000003330..."} 
[2026-07-15 08:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63c483b8012d7f980005afda200000003330..."} 
[2026-07-15 08:49:39] local.INFO: Processing buffer {"connection_id":133189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63c483b8012d7f980005afda200000003330..."} 
[2026-07-15 08:49:39] local.INFO: Packet analysis {"connection_id":133189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63c4"} 
[2026-07-15 08:49:39] local.INFO: Extracted packet for processing {"connection_id":133189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63c4"} 
[2026-07-15 08:49:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410720,"longitude_deg":76.3336704,"latitude_deg":9.541072,"altitude":0,"angle":51,"satellites":48,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-07-15 08:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725747200001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094212908417024,"note":"Value kept but may cause issues"} 
[2026-07-15 08:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702011904,"note":"Value kept but may cause issues"} 
[2026-07-15 08:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784085251000,"timestamp_ms":1784085251000,"timestamp_seconds":1784085251,"priority":1,"record_length":96,"hex_timestamp":"0000019f63c483b8"} 
[2026-07-15 08:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-15 08:49:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:49:39] 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-07-15 08:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725747200001,"66":25952,"250":206,"85":12544,"24":0,"16":347094212908417024,"45":9194098663702011904},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725747200001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:49:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:49:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094212908417024,"km_value":347094212908417.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702011904,"description":"Unknown IO ID 45"} 
[2026-07-15 08:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725747200001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702011904}} 
[2026-07-15 08:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":133189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:49:39] local.INFO: GPS data processed {"connection_id":133189,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:49:39] local.INFO: Acknowledgment sent {"connection_id":133189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:49:40] local.INFO: TCP Data received {"connection_id":132177,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 08:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132177,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 08:49:40] local.INFO: Processing buffer {"connection_id":132177,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 08:49:40] local.INFO: IMEI packet received {"connection_id":132177,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 08:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":132177,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:49:47] local.INFO: TCP Data received {"connection_id":132178,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:49:47] local.INFO: Processing buffer {"connection_id":132178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:49:47] local.INFO: IMEI packet received {"connection_id":132178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 08:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":132178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:49:52] local.INFO: TCP Data received {"connection_id":132178,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:49:52] local.INFO: Processing buffer {"connection_id":132178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:49:52] local.INFO: IMEI packet received {"connection_id":132178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 08:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":132178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:49:55] local.INFO: TCP Data received {"connection_id":132178,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63c867d0012d1a4f400723e430003000ce23..."} 
[2026-07-15 08:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63c867d0012d1a4f400723e430003000ce23..."} 
[2026-07-15 08:49:55] local.INFO: Processing buffer {"connection_id":132178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63c867d0012d1a4f400723e430003000ce23..."} 
[2026-07-15 08:49:55] local.INFO: Packet analysis {"connection_id":132178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63c8"} 
[2026-07-15 08:49:55] local.INFO: Extracted packet for processing {"connection_id":132178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63c8"} 
[2026-07-15 08:49:55] local.INFO: GPS Element Parsed {"raw_longitude":756698944,"raw_latitude":119792688,"longitude_deg":75.6698944,"latitude_deg":11.9792688,"altitude":48,"angle":206,"satellites":35,"speed":28,"hex_longitude":"2d1a4f40","hex_latitude":"0723e430","is_valid_coordinates":true} 
[2026-07-15 08:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725887232001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6114031974744064,"note":"Value kept but may cause issues"} 
[2026-07-15 08:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1899111698534932480,"note":"Value kept but may cause issues"} 
[2026-07-15 08:49:55] 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-07-15 08:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784085506000,"timestamp_ms":1784085506000,"timestamp_seconds":1784085506,"priority":1,"record_length":96,"hex_timestamp":"0000019f63c867d0"} 
[2026-07-15 08:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-15 08:49:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":132178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":132178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":132178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 08:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 08:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725887232001,"66":14211,"43":206,"83":42752,"24":28,"16":6114031974744064,"45":1899111698534932480},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-15 08:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 08:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 08:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725887232001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:49:55] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-15 08:49:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-15 08:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6114031974744064,"km_value":6114031974744.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1899111698534932480,"description":"Unknown IO ID 45"} 
[2026-07-15 08:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725887232001,"power":14211,"unknown_43":206,"unknown_83":42752,"ignition":28,"odometer":null,"unknown_45":1899111698534932480}} 
[2026-07-15 08:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":132178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:49:56] local.INFO: GPS data processed {"connection_id":132178,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:49:56] local.INFO: Acknowledgment sent {"connection_id":132178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:50:01] local.INFO: TCP Data received {"connection_id":133190,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:50:01] local.INFO: Processing buffer {"connection_id":133190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:50:01] local.INFO: IMEI packet received {"connection_id":133190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":133190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:50:06] local.INFO: TCP Data received {"connection_id":132176,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63c769e8012d0e09c007068a18001c009e20..."} 
[2026-07-15 08:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63c769e8012d0e09c007068a18001c009e20..."} 
[2026-07-15 08:50:06] local.INFO: Processing buffer {"connection_id":132176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63c769e8012d0e09c007068a18001c009e20..."} 
[2026-07-15 08:50:06] local.INFO: Packet analysis {"connection_id":132176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63c7"} 
[2026-07-15 08:50:06] local.INFO: Extracted packet for processing {"connection_id":132176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63c7"} 
[2026-07-15 08:50:06] local.INFO: GPS Element Parsed {"raw_longitude":755894720,"raw_latitude":117869080,"longitude_deg":75.589472,"latitude_deg":11.786908,"altitude":28,"angle":158,"satellites":32,"speed":6,"hex_longitude":"2d0e09c0","hex_latitude":"07068a18","is_valid_coordinates":true} 
[2026-07-15 08:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725872640001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24571220137607168,"note":"Value kept but may cause issues"} 
[2026-07-15 08:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1011550727728439296,"note":"Value kept but may cause issues"} 
[2026-07-15 08:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784085441000,"timestamp_ms":1784085441000,"timestamp_seconds":1784085441,"priority":1,"record_length":96,"hex_timestamp":"0000019f63c769e8"} 
[2026-07-15 08:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-15 08:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132176,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132176,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725872640001,"66":14515,"219":206,"94":10240,"24":6,"16":24571220137607168,"45":1011550727728439296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-15 08:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725872640001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:50:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-15 08:50:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 08:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24571220137607168,"km_value":24571220137607.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1011550727728439296,"description":"Unknown IO ID 45"} 
[2026-07-15 08:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725872640001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":1011550727728439296}} 
[2026-07-15 08:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":132176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490105,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:50:06] local.INFO: GPS data processed {"connection_id":132176,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:50:06] local.INFO: Acknowledgment sent {"connection_id":132176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:50:06] local.INFO: TCP Data received {"connection_id":133190,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:50:06] local.INFO: Processing buffer {"connection_id":133190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:50:06] local.INFO: IMEI packet received {"connection_id":133190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":133190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:50:07] local.INFO: TCP Data received {"connection_id":133190,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f63c91b80012d7f980005afda20000000332e..."} 
[2026-07-15 08:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63c91b80012d7f980005afda20000000332e..."} 
[2026-07-15 08:50:07] local.INFO: Processing buffer {"connection_id":133190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63c91b80012d7f980005afda20000000332e..."} 
[2026-07-15 08:50:07] local.INFO: Packet analysis {"connection_id":133190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63c9"} 
[2026-07-15 08:50:07] local.INFO: Extracted packet for processing {"connection_id":133190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63c9"} 
[2026-07-15 08:50:07] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410720,"longitude_deg":76.3336704,"latitude_deg":9.541072,"altitude":0,"angle":51,"satellites":46,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-07-15 08:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725824256001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094212908417024,"note":"Value kept but may cause issues"} 
[2026-07-15 08:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702011904,"note":"Value kept but may cause issues"} 
[2026-07-15 08:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784085552000,"timestamp_ms":1784085552000,"timestamp_seconds":1784085552,"priority":1,"record_length":96,"hex_timestamp":"0000019f63c91b80"} 
[2026-07-15 08:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 08:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:50:07] 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-07-15 08:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725824256001,"66":25919,"250":206,"85":12544,"24":0,"16":347094212908417024,"45":9194098663702011904},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725824256001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:50:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:50:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094212908417024,"km_value":347094212908417.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702011904,"description":"Unknown IO ID 45"} 
[2026-07-15 08:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725824256001,"power":25919,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702011904}} 
[2026-07-15 08:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":133190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:50:07] local.INFO: GPS data processed {"connection_id":133190,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:50:07] local.INFO: Acknowledgment sent {"connection_id":133190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:50:29] local.INFO: TCP Data received {"connection_id":132344,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132344,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:50:29] local.INFO: Processing buffer {"connection_id":132344,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:50:29] local.INFO: IMEI packet received {"connection_id":132344,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 08:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":132344,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:50:30] local.INFO: TCP Data received {"connection_id":132344,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132344,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:50:30] local.INFO: Processing buffer {"connection_id":132344,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:50:30] local.INFO: IMEI packet received {"connection_id":132344,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":132344,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:50:32] local.INFO: TCP Data received {"connection_id":132178,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63c892c8012d1a40000723cb10003000da23..."} 
[2026-07-15 08:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63c892c8012d1a40000723cb10003000da23..."} 
[2026-07-15 08:50:32] local.INFO: Processing buffer {"connection_id":132178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63c892c8012d1a40000723cb10003000da23..."} 
[2026-07-15 08:50:32] local.INFO: Packet analysis {"connection_id":132178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63c8"} 
[2026-07-15 08:50:32] local.INFO: Extracted packet for processing {"connection_id":132178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63c8"} 
[2026-07-15 08:50:32] local.INFO: GPS Element Parsed {"raw_longitude":756695040,"raw_latitude":119786256,"longitude_deg":75.669504,"latitude_deg":11.9786256,"altitude":48,"angle":218,"satellites":35,"speed":24,"hex_longitude":"2d1a4000","hex_latitude":"0723cb10","is_valid_coordinates":true} 
[2026-07-15 08:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725889536001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6114392751996928,"note":"Value kept but may cause issues"} 
[2026-07-15 08:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1895804367557373952,"note":"Value kept but may cause issues"} 
[2026-07-15 08:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784085517000,"timestamp_ms":1784085517000,"timestamp_seconds":1784085517,"priority":1,"record_length":96,"hex_timestamp":"0000019f63c892c8"} 
[2026-07-15 08:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:50:32] 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-07-15 08:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-15 08:50:32] 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-07-15 08:50:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":132178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":132178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":132178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 08:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 08:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725889536001,"66":14363,"42":206,"83":42752,"24":24,"16":6114392751996928,"45":1895804367557373952},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-15 08:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 08:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 08:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725889536001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:50:32] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-15 08:50:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-15 08:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6114392751996928,"km_value":6114392751996.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1895804367557373952,"description":"Unknown IO ID 45"} 
[2026-07-15 08:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725889536001,"power":14363,"unknown_42":206,"unknown_83":42752,"ignition":24,"odometer":null,"unknown_45":1895804367557373952}} 
[2026-07-15 08:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":132178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:50:32] local.INFO: GPS data processed {"connection_id":132178,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:50:32] local.INFO: Acknowledgment sent {"connection_id":132178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:50:32] local.INFO: TCP Data received {"connection_id":132344,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132344,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:50:32] local.INFO: Processing buffer {"connection_id":132344,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:50:32] local.INFO: IMEI packet received {"connection_id":132344,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":132344,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:50:35] local.INFO: TCP Data received {"connection_id":132344,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132344,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:50:35] local.INFO: Processing buffer {"connection_id":132344,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:50:35] local.INFO: IMEI packet received {"connection_id":132344,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":132344,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:50:36] local.INFO: TCP Data received {"connection_id":132344,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ca34c0012d0e28c0070681f00019006423..."} 
[2026-07-15 08:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ca34c0012d0e28c0070681f00019006423..."} 
[2026-07-15 08:50:36] local.INFO: Processing buffer {"connection_id":132344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ca34c0012d0e28c0070681f00019006423..."} 
[2026-07-15 08:50:36] local.INFO: Packet analysis {"connection_id":132344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ca"} 
[2026-07-15 08:50:36] local.INFO: Extracted packet for processing {"connection_id":132344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ca"} 
[2026-07-15 08:50:36] local.INFO: GPS Element Parsed {"raw_longitude":755902656,"raw_latitude":117866992,"longitude_deg":75.5902656,"latitude_deg":11.7866992,"altitude":25,"angle":100,"satellites":35,"speed":9,"hex_longitude":"2d0e28c0","hex_latitude":"070681f0","is_valid_coordinates":true} 
[2026-07-15 08:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725919232001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24571619569565696,"note":"Value kept but may cause issues"} 
[2026-07-15 08:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1019643133308358656,"note":"Value kept but may cause issues"} 
[2026-07-15 08:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784085624000,"timestamp_ms":1784085624000,"timestamp_seconds":1784085624,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ca34c0"} 
[2026-07-15 08:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-15 08:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132344,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132344,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725919232001,"66":14374,"219":206,"94":10240,"24":9,"16":24571619569565696,"45":1019643133308358656},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-15 08:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725919232001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:50:36] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-15 08:50:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 08:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24571619569565696,"km_value":24571619569565.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1019643133308358656,"description":"Unknown IO ID 45"} 
[2026-07-15 08:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725919232001,"power":14374,"unknown_219":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":1019643133308358656}} 
[2026-07-15 08:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":132344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490108,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:50:36] local.INFO: GPS data processed {"connection_id":132344,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:50:36] local.INFO: Acknowledgment sent {"connection_id":132344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:50:38] local.INFO: TCP Data received {"connection_id":133190,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f63c91b80012d7f980005afda20000000332e..."} 
[2026-07-15 08:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63c91b80012d7f980005afda20000000332e..."} 
[2026-07-15 08:50:38] local.INFO: Processing buffer {"connection_id":133190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63c91b80012d7f980005afda20000000332e..."} 
[2026-07-15 08:50:38] local.INFO: Packet analysis {"connection_id":133190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63c9"} 
[2026-07-15 08:50:38] local.INFO: Extracted packet for processing {"connection_id":133190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63c9"} 
[2026-07-15 08:50:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410720,"longitude_deg":76.3336704,"latitude_deg":9.541072,"altitude":0,"angle":51,"satellites":46,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-07-15 08:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725824256001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094212908417024,"note":"Value kept but may cause issues"} 
[2026-07-15 08:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702011904,"note":"Value kept but may cause issues"} 
[2026-07-15 08:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784085552000,"timestamp_ms":1784085552000,"timestamp_seconds":1784085552,"priority":1,"record_length":96,"hex_timestamp":"0000019f63c91b80"} 
[2026-07-15 08:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 08:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:50:38] 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-07-15 08:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725824256001,"66":25919,"250":206,"85":12544,"24":0,"16":347094212908417024,"45":9194098663702011904},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725824256001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:50:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:50:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094212908417024,"km_value":347094212908417.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702011904,"description":"Unknown IO ID 45"} 
[2026-07-15 08:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725824256001,"power":25919,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702011904}} 
[2026-07-15 08:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":133190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:50:38] local.INFO: GPS data processed {"connection_id":133190,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:50:38] local.INFO: Acknowledgment sent {"connection_id":133190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:50:44] local.INFO: TCP Data received {"connection_id":133191,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133191,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:50:44] local.INFO: Processing buffer {"connection_id":133191,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:50:44] local.INFO: IMEI packet received {"connection_id":133191,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 08:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":133191,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:50:45] local.INFO: TCP Data received {"connection_id":133191,"ip":"42.106.6.17","data_length":93,"data_hex":"00000000000000518e010000019f63c840c0012d79dc0005e5dc880006000228..."} 
[2026-07-15 08:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133191,"packet_length":93,"packet_hex":"00000000000000518e010000019f63c840c0012d79dc0005e5dc880006000228..."} 
[2026-07-15 08:50:45] local.INFO: Processing buffer {"connection_id":133191,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f63c840c0012d79dc0005e5dc880006000228..."} 
[2026-07-15 08:50:45] local.INFO: Packet analysis {"connection_id":133191,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f63c8"} 
[2026-07-15 08:50:45] local.INFO: Extracted packet for processing {"connection_id":133191,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f63c8"} 
[2026-07-15 08:50:45] local.INFO: GPS Element Parsed {"raw_longitude":762960896,"raw_latitude":98950280,"longitude_deg":76.2960896,"latitude_deg":9.895028,"altitude":6,"angle":2,"satellites":40,"speed":22,"hex_longitude":"2d79dc00","hex_latitude":"05e5dc88","is_valid_coordinates":true} 
[2026-07-15 08:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-07-15 08:50:45] 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-07-15 08:50:45] 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-07-15 08:50:45] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:50:45] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-15 08:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":133191,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-15 08:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":133191,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-15 08:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":133191,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-15 08:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-15 08:50:45] local.WARNING: DEBUG: No valid data to process  
[2026-07-15 08:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":133191,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-15 08:50:45] local.ERROR: GPS data processing failed {"connection_id":133191,"error":"No valid data to process"} 
[2026-07-15 08:50:45] local.INFO: Acknowledgment sent {"connection_id":133191,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-15 08:51:02] local.INFO: TCP Data received {"connection_id":134557,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:51:02] local.INFO: Processing buffer {"connection_id":134557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:51:02] local.INFO: IMEI packet received {"connection_id":134557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":134557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:51:07] local.INFO: TCP Data received {"connection_id":134557,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:51:07] local.INFO: Processing buffer {"connection_id":134557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:51:07] local.INFO: IMEI packet received {"connection_id":134557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":134557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:51:07] local.INFO: TCP Data received {"connection_id":134557,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f63c91b80012d7f980005afda20000000332e..."} 
[2026-07-15 08:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63c91b80012d7f980005afda20000000332e..."} 
[2026-07-15 08:51:07] local.INFO: Processing buffer {"connection_id":134557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63c91b80012d7f980005afda20000000332e..."} 
[2026-07-15 08:51:07] local.INFO: Packet analysis {"connection_id":134557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63c9"} 
[2026-07-15 08:51:07] local.INFO: Extracted packet for processing {"connection_id":134557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63c9"} 
[2026-07-15 08:51:07] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410720,"longitude_deg":76.3336704,"latitude_deg":9.541072,"altitude":0,"angle":51,"satellites":46,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-07-15 08:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725824256001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094212908417024,"note":"Value kept but may cause issues"} 
[2026-07-15 08:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702011904,"note":"Value kept but may cause issues"} 
[2026-07-15 08:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784085552000,"timestamp_ms":1784085552000,"timestamp_seconds":1784085552,"priority":1,"record_length":96,"hex_timestamp":"0000019f63c91b80"} 
[2026-07-15 08:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 08:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:51:07] 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-07-15 08:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725824256001,"66":25919,"250":206,"85":12544,"24":0,"16":347094212908417024,"45":9194098663702011904},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725824256001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:51:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:51:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094212908417024,"km_value":347094212908417.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702011904,"description":"Unknown IO ID 45"} 
[2026-07-15 08:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725824256001,"power":25919,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702011904}} 
[2026-07-15 08:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":134557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:51:07] local.INFO: GPS data processed {"connection_id":134557,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:51:07] local.INFO: Acknowledgment sent {"connection_id":134557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:51:07] local.INFO: TCP Data received {"connection_id":132344,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ca38a8012d0e2980070681e00019005823..."} 
[2026-07-15 08:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ca38a8012d0e2980070681e00019005823..."} 
[2026-07-15 08:51:07] local.INFO: Processing buffer {"connection_id":132344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ca38a8012d0e2980070681e00019005823..."} 
[2026-07-15 08:51:07] local.INFO: Packet analysis {"connection_id":132344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ca"} 
[2026-07-15 08:51:07] local.INFO: Extracted packet for processing {"connection_id":132344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ca"} 
[2026-07-15 08:51:07] local.INFO: GPS Element Parsed {"raw_longitude":755902848,"raw_latitude":117866976,"longitude_deg":75.5902848,"latitude_deg":11.7866976,"altitude":25,"angle":88,"satellites":35,"speed":8,"hex_longitude":"2d0e2980","hex_latitude":"070681e0","is_valid_coordinates":true} 
[2026-07-15 08:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725919744001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24571632454467584,"note":"Value kept but may cause issues"} 
[2026-07-15 08:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1020276452005900288,"note":"Value kept but may cause issues"} 
[2026-07-15 08:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784085625000,"timestamp_ms":1784085625000,"timestamp_seconds":1784085625,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ca38a8"} 
[2026-07-15 08:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-15 08:51: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-07-15 08:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132344,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132344,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725919744001,"66":14374,"219":206,"94":10240,"24":8,"16":24571632454467584,"45":1020276452005900288},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-15 08:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725919744001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:51:07] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-15 08:51:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 08:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24571632454467584,"km_value":24571632454467.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1020276452005900288,"description":"Unknown IO ID 45"} 
[2026-07-15 08:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725919744001,"power":14374,"unknown_219":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":1020276452005900288}} 
[2026-07-15 08:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":132344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490111,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:51:08] local.INFO: GPS data processed {"connection_id":132344,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:51:08] local.INFO: Acknowledgment sent {"connection_id":132344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:51:15] local.INFO: TCP Data received {"connection_id":133192,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:51:15] local.INFO: Processing buffer {"connection_id":133192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:51:15] local.INFO: IMEI packet received {"connection_id":133192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 08:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":133192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:51:28] local.INFO: TCP Data received {"connection_id":133192,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:51:28] local.INFO: Processing buffer {"connection_id":133192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:51:28] local.INFO: IMEI packet received {"connection_id":133192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 08:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":133192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:51:29] local.INFO: TCP Data received {"connection_id":132179,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132179,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:51:29] local.INFO: Processing buffer {"connection_id":132179,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:51:29] local.INFO: IMEI packet received {"connection_id":132179,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 08:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":132179,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:51:30] local.INFO: TCP Data received {"connection_id":132179,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132179,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:51:30] local.INFO: Processing buffer {"connection_id":132179,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:51:30] local.INFO: IMEI packet received {"connection_id":132179,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":132179,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:51:34] local.INFO: TCP Data received {"connection_id":132179,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132179,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:51:34] local.INFO: Processing buffer {"connection_id":132179,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:51:34] local.INFO: IMEI packet received {"connection_id":132179,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":132179,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:51:35] local.INFO: TCP Data received {"connection_id":132180,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132180,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:51:35] local.INFO: Processing buffer {"connection_id":132180,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:51:35] local.INFO: IMEI packet received {"connection_id":132180,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 08:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":132180,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:51:35] local.INFO: TCP Data received {"connection_id":132179,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ca9e38012d79b1c005e727e00008016628..."} 
[2026-07-15 08:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ca9e38012d79b1c005e727e00008016628..."} 
[2026-07-15 08:51:35] local.INFO: Processing buffer {"connection_id":132179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ca9e38012d79b1c005e727e00008016628..."} 
[2026-07-15 08:51:35] local.INFO: Packet analysis {"connection_id":132179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ca"} 
[2026-07-15 08:51:35] local.INFO: Extracted packet for processing {"connection_id":132179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ca"} 
[2026-07-15 08:51:35] local.INFO: GPS Element Parsed {"raw_longitude":762950080,"raw_latitude":99035104,"longitude_deg":76.295008,"latitude_deg":9.9035104,"altitude":8,"angle":358,"satellites":40,"speed":17,"hex_longitude":"2d79b1c0","hex_latitude":"05e727e0","is_valid_coordinates":true} 
[2026-07-15 08:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725923072001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106304263096893440,"note":"Value kept but may cause issues"} 
[2026-07-15 08:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8769282556027002880,"note":"Value kept but may cause issues"} 
[2026-07-15 08:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784085651000,"timestamp_ms":1784085651000,"timestamp_seconds":1784085651,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ca9e38"} 
[2026-07-15 08:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-15 08:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:51:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725923072001,"66":12689,"202":206,"87":13824,"24":17,"16":106304263096893440,"45":8769282556027002880},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-15 08:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725923072001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:51:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 08:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106304263096893440,"km_value":106304263096893.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8769282556027002880,"description":"Unknown IO ID 45"} 
[2026-07-15 08:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725923072001,"power":12689,"mcc":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8769282556027002880}} 
[2026-07-15 08:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":132179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490112,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:51:35] local.INFO: GPS data processed {"connection_id":132179,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:51:35] local.INFO: Acknowledgment sent {"connection_id":132179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:51:38] local.INFO: TCP Data received {"connection_id":134557,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ca8ab0012d7f980005afda20000000332e..."} 
[2026-07-15 08:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ca8ab0012d7f980005afda20000000332e..."} 
[2026-07-15 08:51:38] local.INFO: Processing buffer {"connection_id":134557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ca8ab0012d7f980005afda20000000332e..."} 
[2026-07-15 08:51:38] local.INFO: Packet analysis {"connection_id":134557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ca"} 
[2026-07-15 08:51:38] local.INFO: Extracted packet for processing {"connection_id":134557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ca"} 
[2026-07-15 08:51:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410720,"longitude_deg":76.3336704,"latitude_deg":9.541072,"altitude":0,"angle":51,"satellites":46,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-07-15 08:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725901312001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094212908417024,"note":"Value kept but may cause issues"} 
[2026-07-15 08:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702011904,"note":"Value kept but may cause issues"} 
[2026-07-15 08:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784085646000,"timestamp_ms":1784085646000,"timestamp_seconds":1784085646,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ca8ab0"} 
[2026-07-15 08:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-15 08:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725901312001,"66":25875,"250":206,"85":12544,"24":0,"16":347094212908417024,"45":9194098663702011904},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725901312001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:51:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:51:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094212908417024,"km_value":347094212908417.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702011904,"description":"Unknown IO ID 45"} 
[2026-07-15 08:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725901312001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702011904}} 
[2026-07-15 08:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":134557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:51:38] local.INFO: GPS data processed {"connection_id":134557,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:51:38] local.INFO: Acknowledgment sent {"connection_id":134557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:51:40] local.INFO: TCP Data received {"connection_id":132180,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132180,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:51:40] local.INFO: Processing buffer {"connection_id":132180,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:51:40] local.INFO: IMEI packet received {"connection_id":132180,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":132180,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:51:40] local.INFO: TCP Data received {"connection_id":132180,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ca4078012d0e2b4007068230001a004822..."} 
[2026-07-15 08:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ca4078012d0e2b4007068230001a004822..."} 
[2026-07-15 08:51:40] local.INFO: Processing buffer {"connection_id":132180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ca4078012d0e2b4007068230001a004822..."} 
[2026-07-15 08:51:40] local.INFO: Packet analysis {"connection_id":132180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ca"} 
[2026-07-15 08:51:40] local.INFO: Extracted packet for processing {"connection_id":132180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ca"} 
[2026-07-15 08:51:40] local.INFO: GPS Element Parsed {"raw_longitude":755903296,"raw_latitude":117867056,"longitude_deg":75.5903296,"latitude_deg":11.7867056,"altitude":26,"angle":72,"satellites":34,"speed":10,"hex_longitude":"2d0e2b40","hex_latitude":"07068230","is_valid_coordinates":true} 
[2026-07-15 08:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725920000001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24571653929304064,"note":"Value kept but may cause issues"} 
[2026-07-15 08:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1020487558238429184,"note":"Value kept but may cause issues"} 
[2026-07-15 08:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784085627000,"timestamp_ms":1784085627000,"timestamp_seconds":1784085627,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ca4078"} 
[2026-07-15 08:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-15 08:51: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-07-15 08:51:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132180,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132180,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725920000001,"66":14439,"219":206,"94":10240,"24":10,"16":24571653929304064,"45":1020487558238429184},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-15 08:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725920000001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:51:40] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-15 08:51:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 08:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24571653929304064,"km_value":24571653929304.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1020487558238429184,"description":"Unknown IO ID 45"} 
[2026-07-15 08:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725920000001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":1020487558238429184}} 
[2026-07-15 08:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":132180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490114,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:51:40] local.INFO: GPS data processed {"connection_id":132180,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:51:40] local.INFO: Acknowledgment sent {"connection_id":132180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:51:45] local.INFO: TCP Data received {"connection_id":132180,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ca4848012d0e2dc007068318001c003c21..."} 
[2026-07-15 08:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ca4848012d0e2dc007068318001c003c21..."} 
[2026-07-15 08:51:45] local.INFO: Processing buffer {"connection_id":132180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ca4848012d0e2dc007068318001c003c21..."} 
[2026-07-15 08:51:45] local.INFO: Packet analysis {"connection_id":132180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ca"} 
[2026-07-15 08:51:45] local.INFO: Extracted packet for processing {"connection_id":132180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ca"} 
[2026-07-15 08:51:45] local.INFO: GPS Element Parsed {"raw_longitude":755903936,"raw_latitude":117867288,"longitude_deg":75.5903936,"latitude_deg":11.7867288,"altitude":28,"angle":60,"satellites":33,"speed":12,"hex_longitude":"2d0e2dc0","hex_latitude":"07068318","is_valid_coordinates":true} 
[2026-07-15 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-07-15 08:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725920512001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24571683994075136,"note":"Value kept but may cause issues"} 
[2026-07-15 08:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1020980139447693312,"note":"Value kept but may cause issues"} 
[2026-07-15 08:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784085629000,"timestamp_ms":1784085629000,"timestamp_seconds":1784085629,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ca4848"} 
[2026-07-15 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-07-15 08:51:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 08:51:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 08:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":132180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":132180,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":132180,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725920512001,"66":14363,"219":206,"94":10240,"24":12,"16":24571683994075136,"45":1020980139447693312},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-15 08:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725920512001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:51:45] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-15 08:51:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 08:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24571683994075136,"km_value":24571683994075.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1020980139447693312,"description":"Unknown IO ID 45"} 
[2026-07-15 08:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725920512001,"power":14363,"unknown_219":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":1020980139447693312}} 
[2026-07-15 08:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":132180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490115,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:51:45] local.INFO: GPS data processed {"connection_id":132180,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:51:45] local.INFO: Acknowledgment sent {"connection_id":132180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:51:51] local.INFO: TCP Data received {"connection_id":132345,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:51:51] local.INFO: Processing buffer {"connection_id":132345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:51:51] local.INFO: IMEI packet received {"connection_id":132345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 08:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":132345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:51:52] local.INFO: TCP Data received {"connection_id":132345,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:51:52] local.INFO: Processing buffer {"connection_id":132345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:51:52] local.INFO: IMEI packet received {"connection_id":132345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 08:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":132345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:52:01] local.INFO: TCP Data received {"connection_id":133194,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:52:01] local.INFO: Processing buffer {"connection_id":133194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:52:01] local.INFO: IMEI packet received {"connection_id":133194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":133194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:52:06] local.INFO: TCP Data received {"connection_id":132179,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63caec58012d79b1c005e733200005000326..."} 
[2026-07-15 08:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63caec58012d79b1c005e733200005000326..."} 
[2026-07-15 08:52:06] local.INFO: Processing buffer {"connection_id":132179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63caec58012d79b1c005e733200005000326..."} 
[2026-07-15 08:52:06] local.INFO: Packet analysis {"connection_id":132179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ca"} 
[2026-07-15 08:52:06] local.INFO: Extracted packet for processing {"connection_id":132179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ca"} 
[2026-07-15 08:52:06] local.INFO: GPS Element Parsed {"raw_longitude":762950080,"raw_latitude":99037984,"longitude_deg":76.295008,"latitude_deg":9.9037984,"altitude":5,"angle":3,"satellites":38,"speed":9,"hex_longitude":"2d79b1c0","hex_latitude":"05e73320","is_valid_coordinates":true} 
[2026-07-15 08:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725926656001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106304409125781504,"note":"Value kept but may cause issues"} 
[2026-07-15 08:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8769001081052585984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784085671000,"timestamp_ms":1784085671000,"timestamp_seconds":1784085671,"priority":1,"record_length":96,"hex_timestamp":"0000019f63caec58"} 
[2026-07-15 08:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-15 08:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725926656001,"66":13091,"202":206,"87":13824,"24":9,"16":106304409125781504,"45":8769001081052585984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-15 08:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725926656001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:52:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 08:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106304409125781504,"km_value":106304409125781.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8769001081052585984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725926656001,"power":13091,"mcc":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8769001081052585984}} 
[2026-07-15 08:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":132179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490116,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:52:06] local.INFO: GPS data processed {"connection_id":132179,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:52:06] local.INFO: Acknowledgment sent {"connection_id":132179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:52:07] local.INFO: TCP Data received {"connection_id":133194,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:52:07] local.INFO: Processing buffer {"connection_id":133194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:52:07] local.INFO: IMEI packet received {"connection_id":133194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":133194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:52:07] local.INFO: TCP Data received {"connection_id":133194,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ca9668012d7f948005afdd300000004c2f..."} 
[2026-07-15 08:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ca9668012d7f948005afdd300000004c2f..."} 
[2026-07-15 08:52:07] local.INFO: Processing buffer {"connection_id":133194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ca9668012d7f948005afdd300000004c2f..."} 
[2026-07-15 08:52:07] local.INFO: Packet analysis {"connection_id":133194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ca"} 
[2026-07-15 08:52:07] local.INFO: Extracted packet for processing {"connection_id":133194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ca"} 
[2026-07-15 08:52:07] local.INFO: GPS Element Parsed {"raw_longitude":763335808,"raw_latitude":95411504,"longitude_deg":76.3335808,"latitude_deg":9.5411504,"altitude":0,"angle":76,"satellites":47,"speed":0,"hex_longitude":"2d7f9480","hex_latitude":"05afdd30","is_valid_coordinates":true} 
[2026-07-15 08:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725925376001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094212908417024,"note":"Value kept but may cause issues"} 
[2026-07-15 08:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702011904,"note":"Value kept but may cause issues"} 
[2026-07-15 08:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784085649000,"timestamp_ms":1784085649000,"timestamp_seconds":1784085649,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ca9668"} 
[2026-07-15 08:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-15 08:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:52:07] 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-07-15 08:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725925376001,"66":25702,"250":206,"85":12544,"24":0,"16":347094212908417024,"45":9194098663702011904},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725925376001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:52:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:52:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094212908417024,"km_value":347094212908417.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702011904,"description":"Unknown IO ID 45"} 
[2026-07-15 08:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725925376001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702011904}} 
[2026-07-15 08:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":133194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:52:07] local.INFO: GPS data processed {"connection_id":133194,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:52:07] local.INFO: Acknowledgment sent {"connection_id":133194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:52:27] local.INFO: TCP Data received {"connection_id":133195,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133195,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:52:27] local.INFO: Processing buffer {"connection_id":133195,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:52:27] local.INFO: IMEI packet received {"connection_id":133195,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 08:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":133195,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:52:29] local.INFO: TCP Data received {"connection_id":133195,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133195,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:52:29] local.INFO: Processing buffer {"connection_id":133195,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:52:29] local.INFO: IMEI packet received {"connection_id":133195,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":133195,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:52:30] local.INFO: TCP Data received {"connection_id":134558,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134558,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:52:30] local.INFO: Processing buffer {"connection_id":134558,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:52:30] local.INFO: IMEI packet received {"connection_id":134558,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 08:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":134558,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:52:32] local.INFO: TCP Data received {"connection_id":133195,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133195,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:52:32] local.INFO: Processing buffer {"connection_id":133195,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:52:32] local.INFO: IMEI packet received {"connection_id":133195,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":133195,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:52:33] local.INFO: TCP Data received {"connection_id":133195,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63cb2ec0012d79b2c005e755b00003000429..."} 
[2026-07-15 08:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63cb2ec0012d79b2c005e755b00003000429..."} 
[2026-07-15 08:52:33] local.INFO: Processing buffer {"connection_id":133195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63cb2ec0012d79b2c005e755b00003000429..."} 
[2026-07-15 08:52:33] local.INFO: Packet analysis {"connection_id":133195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63cb"} 
[2026-07-15 08:52:33] local.INFO: Extracted packet for processing {"connection_id":133195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63cb"} 
[2026-07-15 08:52:33] local.INFO: GPS Element Parsed {"raw_longitude":762950336,"raw_latitude":99046832,"longitude_deg":76.2950336,"latitude_deg":9.9046832,"altitude":3,"angle":4,"satellites":41,"speed":23,"hex_longitude":"2d79b2c0","hex_latitude":"05e755b0","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725931776001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106304838622511104,"note":"Value kept but may cause issues"} 
[2026-07-15 08:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8769001081053323264,"note":"Value kept but may cause issues"} 
[2026-07-15 08:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784085688000,"timestamp_ms":1784085688000,"timestamp_seconds":1784085688,"priority":1,"record_length":96,"hex_timestamp":"0000019f63cb2ec0"} 
[2026-07-15 08:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-15 08:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08: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-07-15 08:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":133195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":133195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":133195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725931776001,"66":13102,"202":206,"87":13824,"24":23,"16":106304838622511104,"45":8769001081053323264},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-15 08:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725931776001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:52:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 08:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106304838622511104,"km_value":106304838622511.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8769001081053323264,"description":"Unknown IO ID 45"} 
[2026-07-15 08:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725931776001,"power":13102,"mcc":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8769001081053323264}} 
[2026-07-15 08:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":133195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490118,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:52:33] local.INFO: GPS data processed {"connection_id":133195,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:52:33] local.INFO: Acknowledgment sent {"connection_id":133195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:52:35] local.INFO: TCP Data received {"connection_id":134558,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134558,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:52:35] local.INFO: Processing buffer {"connection_id":134558,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:52:35] local.INFO: IMEI packet received {"connection_id":134558,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":134558,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:52:35] local.INFO: TCP Data received {"connection_id":134558,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63cb8c80012d0e37c0070703b00022011823..."} 
[2026-07-15 08:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63cb8c80012d0e37c0070703b00022011823..."} 
[2026-07-15 08:52:35] local.INFO: Processing buffer {"connection_id":134558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63cb8c80012d0e37c0070703b00022011823..."} 
[2026-07-15 08:52:35] local.INFO: Packet analysis {"connection_id":134558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63cb"} 
[2026-07-15 08:52:35] local.INFO: Extracted packet for processing {"connection_id":134558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63cb"} 
[2026-07-15 08:52:35] local.INFO: GPS Element Parsed {"raw_longitude":755906496,"raw_latitude":117900208,"longitude_deg":75.5906496,"latitude_deg":11.7900208,"altitude":34,"angle":280,"satellites":35,"speed":15,"hex_longitude":"2d0e37c0","hex_latitude":"070703b0","is_valid_coordinates":true} 
[2026-07-15 08:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725942016001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24573359031320576,"note":"Value kept but may cause issues"} 
[2026-07-15 08:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1024920789130098688,"note":"Value kept but may cause issues"} 
[2026-07-15 08:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784085712000,"timestamp_ms":1784085712000,"timestamp_seconds":1784085712,"priority":1,"record_length":96,"hex_timestamp":"0000019f63cb8c80"} 
[2026-07-15 08:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-15 08:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":134558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":134558,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":134558,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725942016001,"66":14396,"219":206,"94":10240,"24":15,"16":24573359031320576,"45":1024920789130098688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-15 08:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725942016001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:52:35] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-15 08:52:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 08:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24573359031320576,"km_value":24573359031320.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1024920789130098688,"description":"Unknown IO ID 45"} 
[2026-07-15 08:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725942016001,"power":14396,"unknown_219":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":1024920789130098688}} 
[2026-07-15 08:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":134558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490119,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:52:35] local.INFO: GPS data processed {"connection_id":134558,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:52:35] local.INFO: Acknowledgment sent {"connection_id":134558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:52:38] local.INFO: TCP Data received {"connection_id":133194,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f63cae870012d7f948005afdd300000004c30..."} 
[2026-07-15 08:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63cae870012d7f948005afdd300000004c30..."} 
[2026-07-15 08:52:38] local.INFO: Processing buffer {"connection_id":133194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63cae870012d7f948005afdd300000004c30..."} 
[2026-07-15 08:52:38] local.INFO: Packet analysis {"connection_id":133194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ca"} 
[2026-07-15 08:52:38] local.INFO: Extracted packet for processing {"connection_id":133194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ca"} 
[2026-07-15 08:52:38] local.INFO: GPS Element Parsed {"raw_longitude":763335808,"raw_latitude":95411504,"longitude_deg":76.3335808,"latitude_deg":9.5411504,"altitude":0,"angle":76,"satellites":48,"speed":0,"hex_longitude":"2d7f9480","hex_latitude":"05afdd30","is_valid_coordinates":true} 
[2026-07-15 08:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725926144001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094212908417024,"note":"Value kept but may cause issues"} 
[2026-07-15 08:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193113501283725312,"note":"Value kept but may cause issues"} 
[2026-07-15 08:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784085670000,"timestamp_ms":1784085670000,"timestamp_seconds":1784085670,"priority":1,"record_length":96,"hex_timestamp":"0000019f63cae870"} 
[2026-07-15 08:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 08:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725926144001,"66":27767,"250":206,"85":12544,"24":0,"16":347094212908417024,"45":9193113501283725312},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725926144001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:52:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:52:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094212908417024,"km_value":347094212908417.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193113501283725312,"description":"Unknown IO ID 45"} 
[2026-07-15 08:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725926144001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193113501283725312}} 
[2026-07-15 08:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":133194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:52:39] local.INFO: GPS data processed {"connection_id":133194,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:52:39] local.INFO: Acknowledgment sent {"connection_id":133194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:53:03] local.INFO: TCP Data received {"connection_id":132346,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:53:03] local.INFO: Processing buffer {"connection_id":132346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:53:03] local.INFO: IMEI packet received {"connection_id":132346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":132346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:53:04] local.INFO: TCP Data received {"connection_id":133195,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63cb7128012d79b64005e77828000201652a..."} 
[2026-07-15 08:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63cb7128012d79b64005e77828000201652a..."} 
[2026-07-15 08:53:04] local.INFO: Processing buffer {"connection_id":133195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63cb7128012d79b64005e77828000201652a..."} 
[2026-07-15 08:53:04] local.INFO: Packet analysis {"connection_id":133195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63cb"} 
[2026-07-15 08:53:04] local.INFO: Extracted packet for processing {"connection_id":133195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63cb"} 
[2026-07-15 08:53:04] local.INFO: GPS Element Parsed {"raw_longitude":762951232,"raw_latitude":99055656,"longitude_deg":76.2951232,"latitude_deg":9.9055656,"altitude":2,"angle":357,"satellites":42,"speed":7,"hex_longitude":"2d79b640","hex_latitude":"05e77828","is_valid_coordinates":true} 
[2026-07-15 08:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725936128001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106305268119240704,"note":"Value kept but may cause issues"} 
[2026-07-15 08:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8769282556032299008,"note":"Value kept but may cause issues"} 
[2026-07-15 08:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784085705000,"timestamp_ms":1784085705000,"timestamp_seconds":1784085705,"priority":1,"record_length":96,"hex_timestamp":"0000019f63cb7128"} 
[2026-07-15 08:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-15 08:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":133195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":133195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":133195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725936128001,"66":12906,"202":206,"87":13824,"24":7,"16":106305268119240704,"45":8769282556032299008},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-15 08:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725936128001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:53:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 08:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106305268119240704,"km_value":106305268119240.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8769282556032299008,"description":"Unknown IO ID 45"} 
[2026-07-15 08:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725936128001,"power":12906,"mcc":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8769282556032299008}} 
[2026-07-15 08:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":133195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490121,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:53:04] local.INFO: GPS data processed {"connection_id":133195,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:53:04] local.INFO: Acknowledgment sent {"connection_id":133195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:53:06] local.INFO: TCP Data received {"connection_id":134558,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63cc8298012d0dcac00706f400002700fd23..."} 
[2026-07-15 08:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63cc8298012d0dcac00706f400002700fd23..."} 
[2026-07-15 08:53:06] local.INFO: Processing buffer {"connection_id":134558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63cc8298012d0dcac00706f400002700fd23..."} 
[2026-07-15 08:53:06] local.INFO: Packet analysis {"connection_id":134558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63cc"} 
[2026-07-15 08:53:06] local.INFO: Extracted packet for processing {"connection_id":134558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63cc"} 
[2026-07-15 08:53:06] local.INFO: GPS Element Parsed {"raw_longitude":755878592,"raw_latitude":117896192,"longitude_deg":75.5878592,"latitude_deg":11.7896192,"altitude":39,"angle":253,"satellites":35,"speed":16,"hex_longitude":"2d0dcac0","hex_latitude":"0706f400","is_valid_coordinates":true} 
[2026-07-15 08:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725958144001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24574754895691776,"note":"Value kept but may cause issues"} 
[2026-07-15 08:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":994169647923496960,"note":"Value kept but may cause issues"} 
[2026-07-15 08:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784085775000,"timestamp_ms":1784085775000,"timestamp_seconds":1784085775,"priority":1,"record_length":96,"hex_timestamp":"0000019f63cc8298"} 
[2026-07-15 08:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 08:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":134558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":134558,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":134558,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725958144001,"66":14439,"219":206,"94":10240,"24":16,"16":24574754895691776,"45":994169647923496960},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-15 08:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725958144001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:53:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-15 08:53:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 08:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24574754895691776,"km_value":24574754895691.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":994169647923496960,"description":"Unknown IO ID 45"} 
[2026-07-15 08:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725958144001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":994169647923496960}} 
[2026-07-15 08:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":134558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490122,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:53:06] local.INFO: GPS data processed {"connection_id":134558,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:53:06] local.INFO: Acknowledgment sent {"connection_id":134558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:53:07] local.INFO: TCP Data received {"connection_id":132346,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:53:07] local.INFO: Processing buffer {"connection_id":132346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:53:07] local.INFO: IMEI packet received {"connection_id":132346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":132346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:53:07] local.INFO: TCP Data received {"connection_id":132346,"ip":"42.106.6.21","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-15 08:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132346,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-15 08:53:07] local.INFO: Processing buffer {"connection_id":132346,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-15 08:53:07] local.INFO: IMEI packet received {"connection_id":132346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":132346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:53:09] local.INFO: TCP Data received {"connection_id":132346,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f63cb3a78012d7f948005afdd300000004c30..."} 
[2026-07-15 08:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63cb3a78012d7f948005afdd300000004c30..."} 
[2026-07-15 08:53:09] local.INFO: Processing buffer {"connection_id":132346,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f63..."} 
[2026-07-15 08:53:09] local.INFO: IMEI packet received {"connection_id":132346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":132346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:53:12] local.INFO: TCP Data received {"connection_id":132346,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f63cb8c80012d7f948005afdd300000004c31..."} 
[2026-07-15 08:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63cb8c80012d7f948005afdd300000004c31..."} 
[2026-07-15 08:53:12] local.INFO: Processing buffer {"connection_id":132346,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f63cb3a78012d7f948005afdd300000004c30..."} 
[2026-07-15 08:53:12] local.INFO: Packet analysis {"connection_id":132346,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f63cb"} 
[2026-07-15 08:53:12] local.INFO: Extracted packet for processing {"connection_id":132346,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63cb"} 
[2026-07-15 08:53:12] local.INFO: GPS Element Parsed {"raw_longitude":763335808,"raw_latitude":95411504,"longitude_deg":76.3335808,"latitude_deg":9.5411504,"altitude":0,"angle":76,"satellites":48,"speed":0,"hex_longitude":"2d7f9480","hex_latitude":"05afdd30","is_valid_coordinates":true} 
[2026-07-15 08:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725931520001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094212908417024,"note":"Value kept but may cause issues"} 
[2026-07-15 08:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193113501283725312,"note":"Value kept but may cause issues"} 
[2026-07-15 08:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784085691000,"timestamp_ms":1784085691000,"timestamp_seconds":1784085691,"priority":1,"record_length":96,"hex_timestamp":"0000019f63cb3a78"} 
[2026-07-15 08:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 08:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:53:12] 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-07-15 08:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725931520001,"66":27908,"250":206,"85":12544,"24":0,"16":347094212908417024,"45":9193113501283725312},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725931520001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:53:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:53:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094212908417024,"km_value":347094212908417.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193113501283725312,"description":"Unknown IO ID 45"} 
[2026-07-15 08:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725931520001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193113501283725312}} 
[2026-07-15 08:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":132346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:53:12] local.INFO: GPS data processed {"connection_id":132346,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:53:12] local.INFO: Acknowledgment sent {"connection_id":132346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:53:12] local.INFO: Packet analysis {"connection_id":132346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63cb"} 
[2026-07-15 08:53:12] local.INFO: Extracted packet for processing {"connection_id":132346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63cb"} 
[2026-07-15 08:53:12] local.INFO: GPS Element Parsed {"raw_longitude":763335808,"raw_latitude":95411504,"longitude_deg":76.3335808,"latitude_deg":9.5411504,"altitude":0,"angle":76,"satellites":49,"speed":0,"hex_longitude":"2d7f9480","hex_latitude":"05afdd30","is_valid_coordinates":true} 
[2026-07-15 08:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725936896001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094212908417024,"note":"Value kept but may cause issues"} 
[2026-07-15 08:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193113501283725312,"note":"Value kept but may cause issues"} 
[2026-07-15 08:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784085712000,"timestamp_ms":1784085712000,"timestamp_seconds":1784085712,"priority":1,"record_length":96,"hex_timestamp":"0000019f63cb8c80"} 
[2026-07-15 08:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 08:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:53:12] 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-07-15 08:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725936896001,"66":27876,"250":206,"85":12544,"24":0,"16":347094212908417024,"45":9193113501283725312},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725936896001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:53:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:53:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094212908417024,"km_value":347094212908417.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193113501283725312,"description":"Unknown IO ID 45"} 
[2026-07-15 08:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725936896001,"power":27876,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193113501283725312}} 
[2026-07-15 08:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":132346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:53:12] local.INFO: GPS data processed {"connection_id":132346,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:53:12] local.INFO: Acknowledgment sent {"connection_id":132346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:53:17] local.INFO: TCP Data received {"connection_id":132346,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f63cbde88012d7f948005afdd300000004c31..."} 
[2026-07-15 08:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63cbde88012d7f948005afdd300000004c31..."} 
[2026-07-15 08:53:17] local.INFO: Processing buffer {"connection_id":132346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63cbde88012d7f948005afdd300000004c31..."} 
[2026-07-15 08:53:17] local.INFO: Packet analysis {"connection_id":132346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63cb"} 
[2026-07-15 08:53:17] local.INFO: Extracted packet for processing {"connection_id":132346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63cb"} 
[2026-07-15 08:53:17] local.INFO: GPS Element Parsed {"raw_longitude":763335808,"raw_latitude":95411504,"longitude_deg":76.3335808,"latitude_deg":9.5411504,"altitude":0,"angle":76,"satellites":49,"speed":0,"hex_longitude":"2d7f9480","hex_latitude":"05afdd30","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725942272001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094212908417024,"note":"Value kept but may cause issues"} 
[2026-07-15 08:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193113501283725312,"note":"Value kept but may cause issues"} 
[2026-07-15 08:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784085733000,"timestamp_ms":1784085733000,"timestamp_seconds":1784085733,"priority":1,"record_length":96,"hex_timestamp":"0000019f63cbde88"} 
[2026-07-15 08:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-15 08:53:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08: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-07-15 08:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:53:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725942272001,"66":27930,"250":206,"85":12544,"24":0,"16":347094212908417024,"45":9193113501283725312},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725942272001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:53:17] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:53:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094212908417024,"km_value":347094212908417.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:53:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193113501283725312,"description":"Unknown IO ID 45"} 
[2026-07-15 08:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725942272001,"power":27930,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193113501283725312}} 
[2026-07-15 08:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":132346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:53:17] local.INFO: GPS data processed {"connection_id":132346,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:53:17] local.INFO: Acknowledgment sent {"connection_id":132346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:53:29] local.INFO: TCP Data received {"connection_id":133197,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133197,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:53:29] local.INFO: Processing buffer {"connection_id":133197,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:53:29] local.INFO: IMEI packet received {"connection_id":133197,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 08:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":133197,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:53:30] local.INFO: TCP Data received {"connection_id":133196,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133196,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:53:30] local.INFO: Processing buffer {"connection_id":133196,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:53:30] local.INFO: IMEI packet received {"connection_id":133196,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 08:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":133196,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:53:34] local.INFO: TCP Data received {"connection_id":133196,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133196,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:53:34] local.INFO: Processing buffer {"connection_id":133196,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:53:34] local.INFO: IMEI packet received {"connection_id":133196,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":133196,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:53:34] local.INFO: TCP Data received {"connection_id":133197,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133197,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:53:34] local.INFO: Processing buffer {"connection_id":133197,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:53:34] local.INFO: IMEI packet received {"connection_id":133197,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":133197,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:53:35] local.INFO: TCP Data received {"connection_id":133196,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63cc8a68012d0dc6800706f3700026010a23..."} 
[2026-07-15 08:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63cc8a68012d0dc6800706f3700026010a23..."} 
[2026-07-15 08:53:35] local.INFO: Processing buffer {"connection_id":133196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63cc8a68012d0dc6800706f3700026010a23..."} 
[2026-07-15 08:53:35] local.INFO: Packet analysis {"connection_id":133196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63cc"} 
[2026-07-15 08:53:35] local.INFO: Extracted packet for processing {"connection_id":133196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63cc"} 
[2026-07-15 08:53:35] local.INFO: GPS Element Parsed {"raw_longitude":755877504,"raw_latitude":117896048,"longitude_deg":75.5877504,"latitude_deg":11.7896048,"altitude":38,"angle":266,"satellites":35,"speed":22,"hex_longitude":"2d0dc680","hex_latitude":"0706f370","is_valid_coordinates":true} 
[2026-07-15 08:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725958400001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24574806435299328,"note":"Value kept but may cause issues"} 
[2026-07-15 08:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":993817804202573824,"note":"Value kept but may cause issues"} 
[2026-07-15 08:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784085777000,"timestamp_ms":1784085777000,"timestamp_seconds":1784085777,"priority":1,"record_length":96,"hex_timestamp":"0000019f63cc8a68"} 
[2026-07-15 08:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 08:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:53:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":133196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":133196,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":133196,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725958400001,"66":14439,"219":206,"94":10240,"24":22,"16":24574806435299328,"45":993817804202573824},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-15 08:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725958400001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:53:35] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-15 08:53:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 08:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24574806435299328,"km_value":24574806435299.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":993817804202573824,"description":"Unknown IO ID 45"} 
[2026-07-15 08:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725958400001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":993817804202573824}} 
[2026-07-15 08:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":133196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490126,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:53:35] local.INFO: GPS data processed {"connection_id":133196,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:53:35] local.INFO: Acknowledgment sent {"connection_id":133196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:53:35] local.INFO: TCP Data received {"connection_id":133197,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63cb78f8012d79b64005e77978000200072a..."} 
[2026-07-15 08:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63cb78f8012d79b64005e77978000200072a..."} 
[2026-07-15 08:53:35] local.INFO: Processing buffer {"connection_id":133197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63cb78f8012d79b64005e77978000200072a..."} 
[2026-07-15 08:53:35] local.INFO: Packet analysis {"connection_id":133197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63cb"} 
[2026-07-15 08:53:35] local.INFO: Extracted packet for processing {"connection_id":133197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63cb"} 
[2026-07-15 08:53:35] local.INFO: GPS Element Parsed {"raw_longitude":762951232,"raw_latitude":99055992,"longitude_deg":76.2951232,"latitude_deg":9.9055992,"altitude":2,"angle":7,"satellites":42,"speed":7,"hex_longitude":"2d79b640","hex_latitude":"05e77978","is_valid_coordinates":true} 
[2026-07-15 08:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725940480001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106305285299109888,"note":"Value kept but may cause issues"} 
[2026-07-15 08:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770267718453045248,"note":"Value kept but may cause issues"} 
[2026-07-15 08:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784085707000,"timestamp_ms":1784085707000,"timestamp_seconds":1784085707,"priority":1,"record_length":96,"hex_timestamp":"0000019f63cb78f8"} 
[2026-07-15 08:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-15 08:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:53:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":133197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":133197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":133197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725940480001,"66":13135,"202":206,"87":13824,"24":7,"16":106305285299109888,"45":8770267718453045248},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-15 08:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725940480001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:53:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 08:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106305285299109888,"km_value":106305285299109.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770267718453045248,"description":"Unknown IO ID 45"} 
[2026-07-15 08:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725940480001,"power":13135,"mcc":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8770267718453045248}} 
[2026-07-15 08:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":133197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490127,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:53:35] local.INFO: GPS data processed {"connection_id":133197,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:53:35] local.INFO: Acknowledgment sent {"connection_id":133197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:54:02] local.INFO: TCP Data received {"connection_id":134562,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:54:02] local.INFO: Processing buffer {"connection_id":134562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:54:02] local.INFO: IMEI packet received {"connection_id":134562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":134562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:54:06] local.INFO: TCP Data received {"connection_id":133196,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63cca5c0012d0db4800706f038002600fe23..."} 
[2026-07-15 08:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63cca5c0012d0db4800706f038002600fe23..."} 
[2026-07-15 08:54:06] local.INFO: Processing buffer {"connection_id":133196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63cca5c0012d0db4800706f038002600fe23..."} 
[2026-07-15 08:54:06] local.INFO: Packet analysis {"connection_id":133196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63cc"} 
[2026-07-15 08:54:06] local.INFO: Extracted packet for processing {"connection_id":133196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63cc"} 
[2026-07-15 08:54:06] local.INFO: GPS Element Parsed {"raw_longitude":755872896,"raw_latitude":117895224,"longitude_deg":75.5872896,"latitude_deg":11.7895224,"altitude":38,"angle":254,"satellites":35,"speed":29,"hex_longitude":"2d0db480","hex_latitude":"0706f038","is_valid_coordinates":true} 
[2026-07-15 08:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725958912001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24575034068566016,"note":"Value kept but may cause issues"} 
[2026-07-15 08:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":992621535551516672,"note":"Value kept but may cause issues"} 
[2026-07-15 08:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784085784000,"timestamp_ms":1784085784000,"timestamp_seconds":1784085784,"priority":1,"record_length":96,"hex_timestamp":"0000019f63cca5c0"} 
[2026-07-15 08:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 08:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133196,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133196,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725958912001,"66":14439,"219":206,"94":10240,"24":29,"16":24575034068566016,"45":992621535551516672},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-15 08:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725958912001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:54:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-15 08:54:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 08:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24575034068566016,"km_value":24575034068566.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":992621535551516672,"description":"Unknown IO ID 45"} 
[2026-07-15 08:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725958912001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":29,"odometer":null,"unknown_45":992621535551516672}} 
[2026-07-15 08:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":133196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490128,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:54:06] local.INFO: GPS data processed {"connection_id":133196,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:54:06] local.INFO: Acknowledgment sent {"connection_id":133196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:54:06] local.INFO: TCP Data received {"connection_id":133197,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63cbbf48012d79b80005e79c58000501672a..."} 
[2026-07-15 08:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63cbbf48012d79b80005e79c58000501672a..."} 
[2026-07-15 08:54:06] local.INFO: Processing buffer {"connection_id":133197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63cbbf48012d79b80005e79c58000501672a..."} 
[2026-07-15 08:54:06] local.INFO: Packet analysis {"connection_id":133197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63cb"} 
[2026-07-15 08:54:06] local.INFO: Extracted packet for processing {"connection_id":133197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63cb"} 
[2026-07-15 08:54:06] local.INFO: GPS Element Parsed {"raw_longitude":762951680,"raw_latitude":99064920,"longitude_deg":76.295168,"latitude_deg":9.906492,"altitude":5,"angle":359,"satellites":42,"speed":16,"hex_longitude":"2d79b800","hex_latitude":"05e79c58","is_valid_coordinates":true} 
[2026-07-15 08:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725940992001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106305719090806784,"note":"Value kept but may cause issues"} 
[2026-07-15 08:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770267718453131264,"note":"Value kept but may cause issues"} 
[2026-07-15 08:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784085725000,"timestamp_ms":1784085725000,"timestamp_seconds":1784085725,"priority":1,"record_length":96,"hex_timestamp":"0000019f63cbbf48"} 
[2026-07-15 08:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-15 08:54: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-07-15 08:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725940992001,"66":12917,"202":206,"87":13824,"24":16,"16":106305719090806784,"45":8770267718453131264},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-15 08:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725940992001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:54:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 08:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106305719090806784,"km_value":106305719090806.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770267718453131264,"description":"Unknown IO ID 45"} 
[2026-07-15 08:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725940992001,"power":12917,"mcc":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8770267718453131264}} 
[2026-07-15 08:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":133197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490129,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:54:06] local.INFO: GPS data processed {"connection_id":133197,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:54:06] local.INFO: Acknowledgment sent {"connection_id":133197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:54:07] local.INFO: TCP Data received {"connection_id":134562,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:54:07] local.INFO: Processing buffer {"connection_id":134562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:54:07] local.INFO: IMEI packet received {"connection_id":134562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":134562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:54:08] local.INFO: TCP Data received {"connection_id":134562,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f63cc0980012d7f944005afdde80000008431..."} 
[2026-07-15 08:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63cc0980012d7f944005afdde80000008431..."} 
[2026-07-15 08:54:08] local.INFO: Processing buffer {"connection_id":134562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63cc0980012d7f944005afdde80000008431..."} 
[2026-07-15 08:54:08] local.INFO: Packet analysis {"connection_id":134562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63cc"} 
[2026-07-15 08:54:08] local.INFO: Extracted packet for processing {"connection_id":134562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63cc"} 
[2026-07-15 08:54:08] local.INFO: GPS Element Parsed {"raw_longitude":763335744,"raw_latitude":95411688,"longitude_deg":76.3335744,"latitude_deg":9.5411688,"altitude":0,"angle":132,"satellites":49,"speed":2,"hex_longitude":"2d7f9440","hex_latitude":"05afdde8","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725947648001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094242973188096,"note":"Value kept but may cause issues"} 
[2026-07-15 08:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193113501283725312,"note":"Value kept but may cause issues"} 
[2026-07-15 08:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784085744000,"timestamp_ms":1784085744000,"timestamp_seconds":1784085744,"priority":1,"record_length":96,"hex_timestamp":"0000019f63cc0980"} 
[2026-07-15 08:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-15 08:54:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:54:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725947648001,"66":27658,"250":206,"85":12544,"24":2,"16":347094242973188096,"45":9193113501283725312},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725947648001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:54:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:54:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094242973188096,"km_value":347094242973188.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193113501283725312,"description":"Unknown IO ID 45"} 
[2026-07-15 08:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725947648001,"power":27658,"unknown_250":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":9193113501283725312}} 
[2026-07-15 08:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":134562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:54:08] local.INFO: GPS data processed {"connection_id":134562,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:54:08] local.INFO: Acknowledgment sent {"connection_id":134562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:54:30] local.INFO: TCP Data received {"connection_id":133198,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133198,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:54:30] local.INFO: Processing buffer {"connection_id":133198,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:54:30] local.INFO: IMEI packet received {"connection_id":133198,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 08:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":133198,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:54:30] local.INFO: TCP Data received {"connection_id":134563,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134563,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:54:30] local.INFO: Processing buffer {"connection_id":134563,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:54:30] local.INFO: IMEI packet received {"connection_id":134563,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 08:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":134563,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:54:30] local.INFO: TCP Data received {"connection_id":134563,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134563,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:54:30] local.INFO: Processing buffer {"connection_id":134563,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:54:30] local.INFO: IMEI packet received {"connection_id":134563,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":134563,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:54:32] local.INFO: TCP Data received {"connection_id":133198,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133198,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:54:32] local.INFO: Processing buffer {"connection_id":133198,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:54:32] local.INFO: IMEI packet received {"connection_id":133198,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":133198,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:54:32] local.INFO: TCP Data received {"connection_id":134563,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134563,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:54:32] local.INFO: Processing buffer {"connection_id":134563,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:54:32] local.INFO: IMEI packet received {"connection_id":134563,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":134563,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:54:33] local.INFO: TCP Data received {"connection_id":133198,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63cda790012d0d2e0007071770001f013e22..."} 
[2026-07-15 08:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63cda790012d0d2e0007071770001f013e22..."} 
[2026-07-15 08:54:33] local.INFO: Processing buffer {"connection_id":133198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63cda790012d0d2e0007071770001f013e22..."} 
[2026-07-15 08:54:33] local.INFO: Packet analysis {"connection_id":133198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63cd"} 
[2026-07-15 08:54:33] local.INFO: Extracted packet for processing {"connection_id":133198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63cd"} 
[2026-07-15 08:54:33] local.INFO: GPS Element Parsed {"raw_longitude":755838464,"raw_latitude":117905264,"longitude_deg":75.5838464,"latitude_deg":11.7905264,"altitude":31,"angle":318,"satellites":34,"speed":9,"hex_longitude":"2d0d2e00","hex_latitude":"07071770","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725977344001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24576799300124672,"note":"Value kept but may cause issues"} 
[2026-07-15 08:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949978076582172672,"note":"Value kept but may cause issues"} 
[2026-07-15 08:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784085850000,"timestamp_ms":1784085850000,"timestamp_seconds":1784085850,"priority":1,"record_length":96,"hex_timestamp":"0000019f63cda790"} 
[2026-07-15 08:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08: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":60,"data_length":795,"current_offset":136} 
[2026-07-15 08:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08: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-07-15 08:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":133198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":133198,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":133198,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725977344001,"66":14396,"221":206,"94":10240,"24":9,"16":24576799300124672,"45":949978076582172672},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-07-15 08:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725977344001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:54:33] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-15 08:54:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 08:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24576799300124672,"km_value":24576799300124.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":949978076582172672,"description":"Unknown IO ID 45"} 
[2026-07-15 08:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725977344001,"power":14396,"unknown_221":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":949978076582172672}} 
[2026-07-15 08:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":133198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490131,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:54:33] local.INFO: GPS data processed {"connection_id":133198,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:54:33] local.INFO: Acknowledgment sent {"connection_id":133198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:54:33] local.INFO: TCP Data received {"connection_id":134563,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63cc1150012d79b80005e7b0500004016529..."} 
[2026-07-15 08:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63cc1150012d79b80005e7b0500004016529..."} 
[2026-07-15 08:54:33] local.INFO: Processing buffer {"connection_id":134563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63cc1150012d79b80005e7b0500004016529..."} 
[2026-07-15 08:54:33] local.INFO: Packet analysis {"connection_id":134563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63cc"} 
[2026-07-15 08:54:33] local.INFO: Extracted packet for processing {"connection_id":134563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63cc"} 
[2026-07-15 08:54:33] local.INFO: GPS Element Parsed {"raw_longitude":762951680,"raw_latitude":99070032,"longitude_deg":76.295168,"latitude_deg":9.9070032,"altitude":4,"angle":357,"satellites":41,"speed":22,"hex_longitude":"2d79b800","hex_latitude":"05e7b050","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725945600001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106305968198909952,"note":"Value kept but may cause issues"} 
[2026-07-15 08:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770760299664660480,"note":"Value kept but may cause issues"} 
[2026-07-15 08:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784085746000,"timestamp_ms":1784085746000,"timestamp_seconds":1784085746,"priority":1,"record_length":96,"hex_timestamp":"0000019f63cc1150"} 
[2026-07-15 08:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-15 08:54: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-07-15 08: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-07-15 08:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":134563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":134563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":134563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725945600001,"66":12526,"202":206,"87":13824,"24":22,"16":106305968198909952,"45":8770760299664660480},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-15 08:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725945600001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:54:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 08:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106305968198909952,"km_value":106305968198909.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770760299664660480,"description":"Unknown IO ID 45"} 
[2026-07-15 08:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725945600001,"power":12526,"mcc":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8770760299664660480}} 
[2026-07-15 08:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":134563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490132,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:54:33] local.INFO: GPS data processed {"connection_id":134563,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:54:33] local.INFO: Acknowledgment sent {"connection_id":134563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:54:39] local.INFO: TCP Data received {"connection_id":134562,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f63cc1920012d7f94c005afdd380000009931..."} 
[2026-07-15 08:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63cc1920012d7f94c005afdd380000009931..."} 
[2026-07-15 08:54:39] local.INFO: Processing buffer {"connection_id":134562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63cc1920012d7f94c005afdd380000009931..."} 
[2026-07-15 08:54:39] local.INFO: Packet analysis {"connection_id":134562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63cc"} 
[2026-07-15 08:54:39] local.INFO: Extracted packet for processing {"connection_id":134562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63cc"} 
[2026-07-15 08:54:39] local.INFO: GPS Element Parsed {"raw_longitude":763335872,"raw_latitude":95411512,"longitude_deg":76.3335872,"latitude_deg":9.5411512,"altitude":0,"angle":153,"satellites":49,"speed":0,"hex_longitude":"2d7f94c0","hex_latitude":"05afdd38","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725950464001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193043132539594752,"note":"Value kept but may cause issues"} 
[2026-07-15 08:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784085748000,"timestamp_ms":1784085748000,"timestamp_seconds":1784085748,"priority":1,"record_length":96,"hex_timestamp":"0000019f63cc1920"} 
[2026-07-15 08:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:54:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-15 08:54:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08: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-07-15 08:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725950464001,"66":27800,"250":206,"85":12544,"24":0,"16":347094255858089984,"45":9193043132539594752},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725950464001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:54:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:54:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193043132539594752,"description":"Unknown IO ID 45"} 
[2026-07-15 08:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725950464001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193043132539594752}} 
[2026-07-15 08:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":134562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:54:39] local.INFO: GPS data processed {"connection_id":134562,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:54:39] local.INFO: Acknowledgment sent {"connection_id":134562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:55:02] local.INFO: TCP Data received {"connection_id":132348,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:55:02] local.INFO: Processing buffer {"connection_id":132348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:55:02] local.INFO: IMEI packet received {"connection_id":132348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":132348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:55:04] local.INFO: TCP Data received {"connection_id":133198,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ce6310012d0ce2c007075208002400c721..."} 
[2026-07-15 08:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ce6310012d0ce2c007075208002400c721..."} 
[2026-07-15 08:55:04] local.INFO: Processing buffer {"connection_id":133198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ce6310012d0ce2c007075208002400c721..."} 
[2026-07-15 08:55:04] local.INFO: Packet analysis {"connection_id":133198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ce"} 
[2026-07-15 08:55:04] local.INFO: Extracted packet for processing {"connection_id":133198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ce"} 
[2026-07-15 08:55:04] local.INFO: GPS Element Parsed {"raw_longitude":755819200,"raw_latitude":117920264,"longitude_deg":75.58192,"latitude_deg":11.7920264,"altitude":36,"angle":199,"satellites":33,"speed":17,"hex_longitude":"2d0ce2c0","hex_latitude":"07075208","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725989632001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24578255294038016,"note":"Value kept but may cause issues"} 
[2026-07-15 08:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":928656347100329984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784085898000,"timestamp_ms":1784085898000,"timestamp_seconds":1784085898,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ce6310"} 
[2026-07-15 08:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-15 08:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08: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-07-15 08:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":133198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":133198,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":133198,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725989632001,"66":14396,"221":206,"94":10240,"24":17,"16":24578255294038016,"45":928656347100329984},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-07-15 08:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725989632001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:55:04] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-15 08:55:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 08:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24578255294038016,"km_value":24578255294038.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":928656347100329984,"description":"Unknown IO ID 45"} 
[2026-07-15 08:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725989632001,"power":14396,"unknown_221":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":928656347100329984}} 
[2026-07-15 08:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":133198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490134,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:55:04] local.INFO: GPS data processed {"connection_id":133198,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:55:04] local.INFO: Acknowledgment sent {"connection_id":133198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:55:05] local.INFO: TCP Data received {"connection_id":132182,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 08:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132182,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 08:55:05] local.INFO: Processing buffer {"connection_id":132182,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 08:55:05] local.INFO: IMEI packet received {"connection_id":132182,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 08:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":132182,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:55:07] local.INFO: TCP Data received {"connection_id":132348,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:55:07] local.INFO: Processing buffer {"connection_id":132348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:55:07] local.INFO: IMEI packet received {"connection_id":132348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":132348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:55:07] local.INFO: TCP Data received {"connection_id":132348,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f63cc1920012d7f94c005afdd380000009931..."} 
[2026-07-15 08:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63cc1920012d7f94c005afdd380000009931..."} 
[2026-07-15 08:55:07] local.INFO: Processing buffer {"connection_id":132348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63cc1920012d7f94c005afdd380000009931..."} 
[2026-07-15 08:55:07] local.INFO: Packet analysis {"connection_id":132348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63cc"} 
[2026-07-15 08:55:07] local.INFO: Extracted packet for processing {"connection_id":132348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63cc"} 
[2026-07-15 08:55:07] local.INFO: GPS Element Parsed {"raw_longitude":763335872,"raw_latitude":95411512,"longitude_deg":76.3335872,"latitude_deg":9.5411512,"altitude":0,"angle":153,"satellites":49,"speed":0,"hex_longitude":"2d7f94c0","hex_latitude":"05afdd38","is_valid_coordinates":true} 
[2026-07-15 08:55:07] 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-07-15 08:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725951488001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193183870027905024,"note":"Value kept but may cause issues"} 
[2026-07-15 08:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784085748000,"timestamp_ms":1784085748000,"timestamp_seconds":1784085748,"priority":1,"record_length":96,"hex_timestamp":"0000019f63cc1920"} 
[2026-07-15 08:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 08:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:55:07] 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-07-15 08:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725951488001,"66":27800,"250":206,"85":12544,"24":0,"16":347094255858089984,"45":9193183870027905024},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725951488001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:55:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:55:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193183870027905024,"description":"Unknown IO ID 45"} 
[2026-07-15 08:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725951488001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193183870027905024}} 
[2026-07-15 08:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":132348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:55:07] local.INFO: GPS data processed {"connection_id":132348,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:55:07] local.INFO: Acknowledgment sent {"connection_id":132348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:55:10] local.INFO: TCP Data received {"connection_id":134563,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63cc24d8012d79b70005e7b9580004015828..."} 
[2026-07-15 08:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63cc24d8012d79b70005e7b9580004015828..."} 
[2026-07-15 08:55:10] local.INFO: Processing buffer {"connection_id":134563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63cc24d8012d79b70005e7b9580004015828..."} 
[2026-07-15 08:55:10] local.INFO: Packet analysis {"connection_id":134563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63cc"} 
[2026-07-15 08:55:10] local.INFO: Extracted packet for processing {"connection_id":134563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63cc"} 
[2026-07-15 08:55:10] local.INFO: GPS Element Parsed {"raw_longitude":762951424,"raw_latitude":99072344,"longitude_deg":76.2951424,"latitude_deg":9.9072344,"altitude":4,"angle":344,"satellites":40,"speed":10,"hex_longitude":"2d79b700","hex_latitude":"05e7b958","is_valid_coordinates":true} 
[2026-07-15 08:55: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-07-15 08:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725950976001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106306084163026944,"note":"Value kept but may cause issues"} 
[2026-07-15 08:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770760299665969152,"note":"Value kept but may cause issues"} 
[2026-07-15 08:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784085751000,"timestamp_ms":1784085751000,"timestamp_seconds":1784085751,"priority":1,"record_length":96,"hex_timestamp":"0000019f63cc24d8"} 
[2026-07-15 08:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:55: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":238,"data_length":795,"current_offset":136} 
[2026-07-15 08:55:10] 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-07-15 08:55: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-07-15 08:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":134563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":134563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":134563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725950976001,"66":13015,"202":206,"87":13824,"24":10,"16":106306084163026944,"45":8770760299665969152},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-15 08:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725950976001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:55:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 08:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106306084163026944,"km_value":106306084163026.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770760299665969152,"description":"Unknown IO ID 45"} 
[2026-07-15 08:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725950976001,"power":13015,"mcc":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8770760299665969152}} 
[2026-07-15 08:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":134563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490136,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:55:10] local.INFO: GPS data processed {"connection_id":134563,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:55:10] local.INFO: Acknowledgment sent {"connection_id":134563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:55:29] local.INFO: TCP Data received {"connection_id":132349,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132349,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:55:29] local.INFO: Processing buffer {"connection_id":132349,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:55:29] local.INFO: IMEI packet received {"connection_id":132349,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 08:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":132349,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:55:30] local.INFO: TCP Data received {"connection_id":132183,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132183,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:55:30] local.INFO: Processing buffer {"connection_id":132183,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:55:30] local.INFO: IMEI packet received {"connection_id":132183,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 08:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":132183,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:55:30] local.INFO: TCP Data received {"connection_id":132349,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132349,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:55:30] local.INFO: Processing buffer {"connection_id":132349,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:55:30] local.INFO: IMEI packet received {"connection_id":132349,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":132349,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:55:33] local.INFO: TCP Data received {"connection_id":132183,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132183,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:55:33] local.INFO: Processing buffer {"connection_id":132183,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:55:33] local.INFO: IMEI packet received {"connection_id":132183,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":132183,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:55:33] local.INFO: TCP Data received {"connection_id":132349,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132349,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:55:33] local.INFO: Processing buffer {"connection_id":132349,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:55:33] local.INFO: IMEI packet received {"connection_id":132349,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":132349,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:55:34] local.INFO: TCP Data received {"connection_id":132349,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ce4f88012d79968005e83b88000501562c..."} 
[2026-07-15 08:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ce4f88012d79968005e83b88000501562c..."} 
[2026-07-15 08:55:34] local.INFO: Processing buffer {"connection_id":132349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ce4f88012d79968005e83b88000501562c..."} 
[2026-07-15 08:55:34] local.INFO: Packet analysis {"connection_id":132349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ce"} 
[2026-07-15 08:55:34] local.INFO: Extracted packet for processing {"connection_id":132349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ce"} 
[2026-07-15 08:55:34] local.INFO: GPS Element Parsed {"raw_longitude":762943104,"raw_latitude":99105672,"longitude_deg":76.2943104,"latitude_deg":9.9105672,"altitude":5,"angle":342,"satellites":44,"speed":31,"hex_longitude":"2d799680","hex_latitude":"05e83b88","is_valid_coordinates":true} 
[2026-07-15 08:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725985024001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106307767790206976,"note":"Value kept but may cause issues"} 
[2026-07-15 08:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8764216006464282624,"note":"Value kept but may cause issues"} 
[2026-07-15 08:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784085893000,"timestamp_ms":1784085893000,"timestamp_seconds":1784085893,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ce4f88"} 
[2026-07-15 08:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-15 08:55:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 08:55:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-15 08:55:34] local.WARNING: Large IO value detected {"io_id":99,"raw_value":3449542657,"note":"Value kept but may cause issues"} 
[2026-07-15 08:55:34] local.WARNING: Large IO value detected {"io_id":231,"raw_value":-4933693374581298432,"note":"Value kept but may cause issues"} 
[2026-07-15 08:55:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1941052734223859717,"corrected_to":0} 
[2026-07-15 08:55:34] local.WARNING: Large IO value detected {"io_id":108,"raw_value":4160826745,"note":"Value kept but may cause issues"} 
[2026-07-15 08:55:34] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":13522742,"corrected_to":0} 
[2026-07-15 08:55:34] local.WARNING: Large IO value detected {"io_id":121,"raw_value":2900230144,"note":"Value kept but may cause issues"} 
[2026-07-15 08:55:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3887923200,"note":"Value kept but may cause issues"} 
[2026-07-15 08:55:34] local.WARNING: Large IO value detected {"io_id":79,"raw_value":57719730497017654,"note":"Value kept but may cause issues"} 
[2026-07-15 08:55:34] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,201,87,24,241,157,16,173,159,249,45,64,7,9,43,10,66,192,3,198,128,1,240,166,227,99,231,4,113,205,20,108,183,176,44,239,51,202,2,121,5,79],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1941052734223859717,"validated":0},{"io_id":202,"original":13522742,"validated":0}]} 
[2026-07-15 08:55:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576836974260387840,"timestamp_seconds":576836974260387.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 08:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":132349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":132349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":132349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725985024001,"66":13330,"201":206,"87":13824,"24":31,"16":106307767790206976,"45":8764216006464282624},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-15 08:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725985024001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:55:34] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-15 08:55:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 08:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106307767790206976,"km_value":106307767790206.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8764216006464282624,"description":"Unknown IO ID 45"} 
[2026-07-15 08:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725985024001,"power":13330,"unknown_201":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8764216006464282624}} 
[2026-07-15 08:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":132349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490137,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:55:34] local.INFO: GPS data processed {"connection_id":132349,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:55:34] local.INFO: Acknowledgment sent {"connection_id":132349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:55:34] local.INFO: TCP Data received {"connection_id":132183,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132183,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:55:34] local.INFO: Processing buffer {"connection_id":132183,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:55:34] local.INFO: IMEI packet received {"connection_id":132183,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":132183,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:55:35] local.INFO: TCP Data received {"connection_id":132183,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ce6ec8012d0ce0c007074df8002300e121..."} 
[2026-07-15 08:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ce6ec8012d0ce0c007074df8002300e121..."} 
[2026-07-15 08:55:35] local.INFO: Processing buffer {"connection_id":132183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ce6ec8012d0ce0c007074df8002300e121..."} 
[2026-07-15 08:55:35] local.INFO: Packet analysis {"connection_id":132183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ce"} 
[2026-07-15 08:55:35] local.INFO: Extracted packet for processing {"connection_id":132183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ce"} 
[2026-07-15 08:55:35] local.INFO: GPS Element Parsed {"raw_longitude":755818688,"raw_latitude":117919224,"longitude_deg":75.5818688,"latitude_deg":11.7919224,"altitude":35,"angle":225,"satellites":33,"speed":12,"hex_longitude":"2d0ce0c0","hex_latitude":"07074df8","is_valid_coordinates":true} 
[2026-07-15 08:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725989888001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24578311128612864,"note":"Value kept but may cause issues"} 
[2026-07-15 08:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":928515609611864064,"note":"Value kept but may cause issues"} 
[2026-07-15 08:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784085901000,"timestamp_ms":1784085901000,"timestamp_seconds":1784085901,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ce6ec8"} 
[2026-07-15 08:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:55:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-15 08:55:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:55:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132183,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132183,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725989888001,"66":14396,"221":206,"94":10240,"24":12,"16":24578311128612864,"45":928515609611864064},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-07-15 08:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725989888001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:55:35] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-15 08:55:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 08:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24578311128612864,"km_value":24578311128612.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":928515609611864064,"description":"Unknown IO ID 45"} 
[2026-07-15 08:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725989888001,"power":14396,"unknown_221":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":928515609611864064}} 
[2026-07-15 08:55:35] local.INFO: TCP Data received {"connection_id":132350,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 08:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132350,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 08:55:35] local.INFO: Processing buffer {"connection_id":132350,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 08:55:35] local.INFO: IMEI packet received {"connection_id":132350,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 08:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":132350,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":132183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490138,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:55:35] local.INFO: GPS data processed {"connection_id":132183,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:55:35] local.INFO: Acknowledgment sent {"connection_id":132183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:55:39] local.INFO: TCP Data received {"connection_id":132348,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f63cc1920012d7f94c005afdd380000009931..."} 
[2026-07-15 08:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63cc1920012d7f94c005afdd380000009931..."} 
[2026-07-15 08:55:39] local.INFO: Processing buffer {"connection_id":132348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63cc1920012d7f94c005afdd380000009931..."} 
[2026-07-15 08:55:39] local.INFO: Packet analysis {"connection_id":132348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63cc"} 
[2026-07-15 08:55:39] local.INFO: Extracted packet for processing {"connection_id":132348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63cc"} 
[2026-07-15 08:55:39] local.INFO: GPS Element Parsed {"raw_longitude":763335872,"raw_latitude":95411512,"longitude_deg":76.3335872,"latitude_deg":9.5411512,"altitude":0,"angle":153,"satellites":49,"speed":0,"hex_longitude":"2d7f94c0","hex_latitude":"05afdd38","is_valid_coordinates":true} 
[2026-07-15 08:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725951488001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193183870027905024,"note":"Value kept but may cause issues"} 
[2026-07-15 08:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784085748000,"timestamp_ms":1784085748000,"timestamp_seconds":1784085748,"priority":1,"record_length":96,"hex_timestamp":"0000019f63cc1920"} 
[2026-07-15 08:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 08:55:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08: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-07-15 08:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725951488001,"66":27800,"250":206,"85":12544,"24":0,"16":347094255858089984,"45":9193183870027905024},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725951488001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:55:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:55:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193183870027905024,"description":"Unknown IO ID 45"} 
[2026-07-15 08:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725951488001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193183870027905024}} 
[2026-07-15 08:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":132348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:55:39] local.INFO: GPS data processed {"connection_id":132348,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:55:39] local.INFO: Acknowledgment sent {"connection_id":132348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:55:40] local.INFO: TCP Data received {"connection_id":132183,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ce72b0012d0cdfc007074d68002300f422..."} 
[2026-07-15 08:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ce72b0012d0cdfc007074d68002300f422..."} 
[2026-07-15 08:55:40] local.INFO: Processing buffer {"connection_id":132183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ce72b0012d0cdfc007074d68002300f422..."} 
[2026-07-15 08:55:40] local.INFO: Packet analysis {"connection_id":132183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ce"} 
[2026-07-15 08:55:40] local.INFO: Extracted packet for processing {"connection_id":132183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ce"} 
[2026-07-15 08:55:40] local.INFO: GPS Element Parsed {"raw_longitude":755818432,"raw_latitude":117919080,"longitude_deg":75.5818432,"latitude_deg":11.791908,"altitude":35,"angle":244,"satellites":34,"speed":11,"hex_longitude":"2d0cdfc0","hex_latitude":"07074d68","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725990656001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24578328308482048,"note":"Value kept but may cause issues"} 
[2026-07-15 08:55:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":927952659658176512,"note":"Value kept but may cause issues"} 
[2026-07-15 08:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784085902000,"timestamp_ms":1784085902000,"timestamp_seconds":1784085902,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ce72b0"} 
[2026-07-15 08:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:55:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-15 08:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08: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-07-15 08:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132183,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132183,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:55:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725990656001,"66":14439,"221":206,"94":10240,"24":11,"16":24578328308482048,"45":927952659658176512},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-07-15 08:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725990656001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:55:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-15 08:55:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 08:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24578328308482048,"km_value":24578328308482.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:55:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":927952659658176512,"description":"Unknown IO ID 45"} 
[2026-07-15 08:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725990656001,"power":14439,"unknown_221":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":927952659658176512}} 
[2026-07-15 08:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":132183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490140,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:55:40] local.INFO: GPS data processed {"connection_id":132183,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:55:40] local.INFO: Acknowledgment sent {"connection_id":132183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:56:02] local.INFO: TCP Data received {"connection_id":134564,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:56:02] local.INFO: Processing buffer {"connection_id":134564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:56:02] local.INFO: IMEI packet received {"connection_id":134564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":134564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:56:06] local.INFO: TCP Data received {"connection_id":132349,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ce8a20012d798a8005e85c80000201512b..."} 
[2026-07-15 08:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ce8a20012d798a8005e85c80000201512b..."} 
[2026-07-15 08:56:06] local.INFO: Processing buffer {"connection_id":132349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ce8a20012d798a8005e85c80000201512b..."} 
[2026-07-15 08:56:06] local.INFO: Packet analysis {"connection_id":132349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ce"} 
[2026-07-15 08:56:06] local.INFO: Extracted packet for processing {"connection_id":132349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ce"} 
[2026-07-15 08:56:06] local.INFO: GPS Element Parsed {"raw_longitude":762940032,"raw_latitude":99114112,"longitude_deg":76.2940032,"latitude_deg":9.9114112,"altitude":2,"angle":337,"satellites":43,"speed":12,"hex_longitude":"2d798a80","hex_latitude":"05e85c80","is_valid_coordinates":true} 
[2026-07-15 08:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725988608001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106308201581903872,"note":"Value kept but may cause issues"} 
[2026-07-15 08:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8761330887955286016,"note":"Value kept but may cause issues"} 
[2026-07-15 08:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784085908000,"timestamp_ms":1784085908000,"timestamp_seconds":1784085908,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ce8a20"} 
[2026-07-15 08:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-15 08:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-15 08:56:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 08:56:06] local.WARNING: Large IO value detected {"io_id":173,"raw_value":2885681152,"note":"Value kept but may cause issues"} 
[2026-07-15 08:56:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3276851139737795464,"note":"Value kept but may cause issues"} 
[2026-07-15 08:56:06] local.WARNING: Large IO value detected {"io_id":99,"raw_value":3452358657,"note":"Value kept but may cause issues"} 
[2026-07-15 08:56:06] local.WARNING: Large IO value detected {"io_id":231,"raw_value":-4827858783360963840,"note":"Value kept but may cause issues"} 
[2026-07-15 08:56:06] local.WARNING: Large IO value detected {"io_id":4,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-15 08:56:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7570552268436996101,"corrected_to":0} 
[2026-07-15 08:56:06] local.WARNING: Large IO value detected {"io_id":155,"raw_value":3623955833,"note":"Value kept but may cause issues"} 
[2026-07-15 08:56:06] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2147870672,"note":"Value kept but may cause issues"} 
[2026-07-15 08:56:06] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":13522742,"corrected_to":0} 
[2026-07-15 08:56:06] local.WARNING: Large IO value detected {"io_id":121,"raw_value":2903900160,"note":"Value kept but may cause issues"} 
[2026-07-15 08:56:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3887968256,"note":"Value kept but may cause issues"} 
[2026-07-15 08:56:06] local.WARNING: Large IO value detected {"io_id":79,"raw_value":57719730497017654,"note":"Value kept but may cause issues"} 
[2026-07-15 08:56:06] local.WARNING: Large IO value detected {"io_id":15,"raw_value":-3890883204084656128,"note":"Value kept but may cause issues"} 
[2026-07-15 08:56:06] local.WARNING: Large IO value detected {"io_id":89,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-15 08:56:06] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,201,87,24,241,157,16,174,159,45,192,8,44,10,66,173,249,64,7,9,43,1,240,227,99,231,4,113,205,26,155,178,56,239,52,202,2,121,5,79,15,89],"length":626,"final_offset":756,"validated_count":42,"validation_warnings":[{"io_id":205,"original":7570552268436996101,"validated":0},{"io_id":202,"original":13522742,"validated":0}]} 
[2026-07-15 08:56:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360664192146931712,"timestamp_seconds":360664192146931.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 08:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725988608001,"66":13059,"201":206,"87":13824,"24":12,"16":106308201581903872,"45":8761330887955286016},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-15 08:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725988608001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:56:06] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-15 08:56:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 08:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106308201581903872,"km_value":106308201581903.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8761330887955286016,"description":"Unknown IO ID 45"} 
[2026-07-15 08:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725988608001,"power":13059,"unknown_201":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8761330887955286016}} 
[2026-07-15 08:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":132349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490141,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:56:06] local.INFO: GPS data processed {"connection_id":132349,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:56:06] local.INFO: Acknowledgment sent {"connection_id":132349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:56:07] local.INFO: TCP Data received {"connection_id":134564,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:56:07] local.INFO: Processing buffer {"connection_id":134564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:56:07] local.INFO: IMEI packet received {"connection_id":134564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":134564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:56:08] local.INFO: TCP Data received {"connection_id":134564,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f63cc1920012d7f94c005afdd380000009931..."} 
[2026-07-15 08:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63cc1920012d7f94c005afdd380000009931..."} 
[2026-07-15 08:56:08] local.INFO: Processing buffer {"connection_id":134564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63cc1920012d7f94c005afdd380000009931..."} 
[2026-07-15 08:56:08] local.INFO: Packet analysis {"connection_id":134564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63cc"} 
[2026-07-15 08:56:08] local.INFO: Extracted packet for processing {"connection_id":134564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63cc"} 
[2026-07-15 08:56:08] local.INFO: GPS Element Parsed {"raw_longitude":763335872,"raw_latitude":95411512,"longitude_deg":76.3335872,"latitude_deg":9.5411512,"altitude":0,"angle":153,"satellites":49,"speed":0,"hex_longitude":"2d7f94c0","hex_latitude":"05afdd38","is_valid_coordinates":true} 
[2026-07-15 08:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725951488001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193183870027905024,"note":"Value kept but may cause issues"} 
[2026-07-15 08:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784085748000,"timestamp_ms":1784085748000,"timestamp_seconds":1784085748,"priority":1,"record_length":96,"hex_timestamp":"0000019f63cc1920"} 
[2026-07-15 08:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 08:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08: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-07-15 08:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:56:08] 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-07-15 08:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725951488001,"66":27800,"250":206,"85":12544,"24":0,"16":347094255858089984,"45":9193183870027905024},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725951488001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:56:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:56:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193183870027905024,"description":"Unknown IO ID 45"} 
[2026-07-15 08:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725951488001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193183870027905024}} 
[2026-07-15 08:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":134564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:56:08] local.INFO: GPS data processed {"connection_id":134564,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:56:08] local.INFO: Acknowledgment sent {"connection_id":134564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:56:11] local.INFO: TCP Data received {"connection_id":132183,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ce7698012d0cde8007074d500023010e22..."} 
[2026-07-15 08:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ce7698012d0cde8007074d500023010e22..."} 
[2026-07-15 08:56:11] local.INFO: Processing buffer {"connection_id":132183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ce7698012d0cde8007074d500023010e22..."} 
[2026-07-15 08:56:11] local.INFO: Packet analysis {"connection_id":132183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ce"} 
[2026-07-15 08:56:11] local.INFO: Extracted packet for processing {"connection_id":132183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ce"} 
[2026-07-15 08:56:11] local.INFO: GPS Element Parsed {"raw_longitude":755818112,"raw_latitude":117919056,"longitude_deg":75.5818112,"latitude_deg":11.7919056,"altitude":35,"angle":270,"satellites":34,"speed":12,"hex_longitude":"2d0cde80","hex_latitude":"07074d50","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725990912001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24578341193383936,"note":"Value kept but may cause issues"} 
[2026-07-15 08:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":927671184681428992,"note":"Value kept but may cause issues"} 
[2026-07-15 08:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784085903000,"timestamp_ms":1784085903000,"timestamp_seconds":1784085903,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ce7698"} 
[2026-07-15 08:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 08:56:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08: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-07-15 08:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132183,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132183,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725990912001,"66":14439,"221":206,"94":10240,"24":12,"16":24578341193383936,"45":927671184681428992},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-07-15 08:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725990912001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:56:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-15 08:56:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 08:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24578341193383936,"km_value":24578341193383.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":927671184681428992,"description":"Unknown IO ID 45"} 
[2026-07-15 08:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725990912001,"power":14439,"unknown_221":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":927671184681428992}} 
[2026-07-15 08:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":132183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490143,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:56:11] local.INFO: GPS data processed {"connection_id":132183,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:56:11] local.INFO: Acknowledgment sent {"connection_id":132183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:56:27] local.INFO: TCP Data received {"connection_id":133200,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133200,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:56:27] local.INFO: Processing buffer {"connection_id":133200,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:56:27] local.INFO: IMEI packet received {"connection_id":133200,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 08:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":133200,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:56:29] local.INFO: TCP Data received {"connection_id":133201,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133201,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:56:29] local.INFO: Processing buffer {"connection_id":133201,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:56:29] local.INFO: IMEI packet received {"connection_id":133201,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 08:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":133201,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:56:29] local.INFO: TCP Data received {"connection_id":133200,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133200,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:56:29] local.INFO: Processing buffer {"connection_id":133200,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:56:29] local.INFO: IMEI packet received {"connection_id":133200,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":133200,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:56:29] local.INFO: TCP Data received {"connection_id":133201,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133201,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:56:29] local.INFO: Processing buffer {"connection_id":133201,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:56:29] local.INFO: IMEI packet received {"connection_id":133201,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":133201,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:56:30] local.INFO: TCP Data received {"connection_id":133200,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133200,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:56:30] local.INFO: Processing buffer {"connection_id":133200,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:56:30] local.INFO: IMEI packet received {"connection_id":133200,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":133200,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:56:34] local.INFO: TCP Data received {"connection_id":133201,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133201,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:56:34] local.INFO: Processing buffer {"connection_id":133201,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:56:34] local.INFO: IMEI packet received {"connection_id":133201,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":133201,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:56:35] local.INFO: TCP Data received {"connection_id":133200,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133200,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:56:35] local.INFO: Processing buffer {"connection_id":133200,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:56:35] local.INFO: IMEI packet received {"connection_id":133200,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":133200,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:56:35] local.INFO: TCP Data received {"connection_id":133201,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63cedc28012d7984c005e86cb80002014e2c..."} 
[2026-07-15 08:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63cedc28012d7984c005e86cb80002014e2c..."} 
[2026-07-15 08:56:35] local.INFO: Processing buffer {"connection_id":133201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63cedc28012d7984c005e86cb80002014e2c..."} 
[2026-07-15 08:56:35] local.INFO: Packet analysis {"connection_id":133201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ce"} 
[2026-07-15 08:56:35] local.INFO: Extracted packet for processing {"connection_id":133201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ce"} 
[2026-07-15 08:56:35] local.INFO: GPS Element Parsed {"raw_longitude":762938560,"raw_latitude":99118264,"longitude_deg":76.293856,"latitude_deg":9.9118264,"altitude":2,"angle":334,"satellites":44,"speed":24,"hex_longitude":"2d7984c0","hex_latitude":"05e86cb8","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725992448001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106308420625235968,"note":"Value kept but may cause issues"} 
[2026-07-15 08:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8757953188236918784,"note":"Value kept but may cause issues"} 
[2026-07-15 08:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784085929000,"timestamp_ms":1784085929000,"timestamp_seconds":1784085929,"priority":1,"record_length":96,"hex_timestamp":"0000019f63cedc28"} 
[2026-07-15 08:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-15 08:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303168113134863,"note":"Value kept but may cause issues"} 
[2026-07-15 08:56:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 08:56:35] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3889182720,"note":"Value kept but may cause issues"} 
[2026-07-15 08:56:35] local.WARNING: Large IO value detected {"io_id":173,"raw_value":2147870697,"note":"Value kept but may cause issues"} 
[2026-07-15 08:56:35] local.WARNING: Large IO value detected {"io_id":99,"raw_value":3455174657,"note":"Value kept but may cause issues"} 
[2026-07-15 08:56:35] local.WARNING: Large IO value detected {"io_id":198,"raw_value":3489738105,"note":"Value kept but may cause issues"} 
[2026-07-15 08:56:35] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070351,"note":"Value kept but may cause issues"} 
[2026-07-15 08:56:35] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":58079734643818516,"corrected_to":0} 
[2026-07-15 08:56:35] local.WARNING: Large IO value detected {"io_id":121,"raw_value":2908815360,"note":"Value kept but may cause issues"} 
[2026-07-15 08:56:35] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,201,87,24,241,157,16,174,159,79,45,128,59,5,44,10,66,192,8,173,249,64,1,240,248,227,99,232,4,113,205,23,198,160,239,51,202,2,121,6,20],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":202,"original":58079734643818516,"validated":0}]} 
[2026-07-15 08:56:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144485908178796544,"timestamp_seconds":144485908178796.53,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 08:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":133201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":133201,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":133201,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725992448001,"66":13276,"202":206,"87":13824,"24":24,"16":106308420625235968,"45":8757953188236918784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-15 08:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725992448001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:56:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 08:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106308420625235968,"km_value":106308420625235.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8757953188236918784,"description":"Unknown IO ID 45"} 
[2026-07-15 08:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725992448001,"power":13276,"mcc":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8757953188236918784}} 
[2026-07-15 08:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":133201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490144,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:56:35] local.INFO: GPS data processed {"connection_id":133201,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:56:35] local.INFO: Acknowledgment sent {"connection_id":133201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:56:35] local.INFO: TCP Data received {"connection_id":133200,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ce7a80012d0cdcc007074de00023012322..."} 
[2026-07-15 08:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ce7a80012d0cdcc007074de00023012322..."} 
[2026-07-15 08:56:35] local.INFO: Processing buffer {"connection_id":133200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ce7a80012d0cdcc007074de00023012322..."} 
[2026-07-15 08:56:35] local.INFO: Packet analysis {"connection_id":133200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ce"} 
[2026-07-15 08:56:35] local.INFO: Extracted packet for processing {"connection_id":133200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ce"} 
[2026-07-15 08:56:35] local.INFO: GPS Element Parsed {"raw_longitude":755817664,"raw_latitude":117919200,"longitude_deg":75.5817664,"latitude_deg":11.79192,"altitude":35,"angle":291,"satellites":34,"speed":15,"hex_longitude":"2d0cdcc0","hex_latitude":"07074de0","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725991168001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24578366963187712,"note":"Value kept but may cause issues"} 
[2026-07-15 08:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":927319340960534528,"note":"Value kept but may cause issues"} 
[2026-07-15 08:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784085904000,"timestamp_ms":1784085904000,"timestamp_seconds":1784085904,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ce7a80"} 
[2026-07-15 08:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 08:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08: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-07-15 08:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":133200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":133200,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":133200,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725991168001,"66":14352,"221":206,"94":10240,"24":15,"16":24578366963187712,"45":927319340960534528},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-07-15 08:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725991168001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:56:35] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-15 08:56:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 08:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24578366963187712,"km_value":24578366963187.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":927319340960534528,"description":"Unknown IO ID 45"} 
[2026-07-15 08:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725991168001,"power":14352,"unknown_221":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":927319340960534528}} 
[2026-07-15 08:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":133200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490145,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:56:35] local.INFO: GPS data processed {"connection_id":133200,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:56:35] local.INFO: Acknowledgment sent {"connection_id":133200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:56:39] local.INFO: TCP Data received {"connection_id":134564,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f63cc1920012d7f94c005afdd380000009931..."} 
[2026-07-15 08:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63cc1920012d7f94c005afdd380000009931..."} 
[2026-07-15 08:56:39] local.INFO: Processing buffer {"connection_id":134564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63cc1920012d7f94c005afdd380000009931..."} 
[2026-07-15 08:56:39] local.INFO: Packet analysis {"connection_id":134564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63cc"} 
[2026-07-15 08:56:39] local.INFO: Extracted packet for processing {"connection_id":134564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63cc"} 
[2026-07-15 08:56:39] local.INFO: GPS Element Parsed {"raw_longitude":763335872,"raw_latitude":95411512,"longitude_deg":76.3335872,"latitude_deg":9.5411512,"altitude":0,"angle":153,"satellites":49,"speed":0,"hex_longitude":"2d7f94c0","hex_latitude":"05afdd38","is_valid_coordinates":true} 
[2026-07-15 08:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725951488001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193183870027905024,"note":"Value kept but may cause issues"} 
[2026-07-15 08:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784085748000,"timestamp_ms":1784085748000,"timestamp_seconds":1784085748,"priority":1,"record_length":96,"hex_timestamp":"0000019f63cc1920"} 
[2026-07-15 08:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 08:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08: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-07-15 08:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:56: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-07-15 08:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725951488001,"66":27800,"250":206,"85":12544,"24":0,"16":347094255858089984,"45":9193183870027905024},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725951488001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:56:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:56:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193183870027905024,"description":"Unknown IO ID 45"} 
[2026-07-15 08:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725951488001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193183870027905024}} 
[2026-07-15 08:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":134564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:56:39] local.INFO: GPS data processed {"connection_id":134564,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:56:39] local.INFO: Acknowledgment sent {"connection_id":134564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:56:57] local.INFO: TCP Data received {"connection_id":134565,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:56:57] local.INFO: Processing buffer {"connection_id":134565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:56:57] local.INFO: IMEI packet received {"connection_id":134565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 08:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":134565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:56:58] local.INFO: TCP Data received {"connection_id":134565,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ccc500012d181fc00721a7680047008526..."} 
[2026-07-15 08:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ccc500012d181fc00721a7680047008526..."} 
[2026-07-15 08:56:58] local.INFO: Processing buffer {"connection_id":134565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ccc500012d181fc00721a7680047008526..."} 
[2026-07-15 08:56:58] local.INFO: Packet analysis {"connection_id":134565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63cc"} 
[2026-07-15 08:56:58] local.INFO: Extracted packet for processing {"connection_id":134565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63cc"} 
[2026-07-15 08:56:58] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119646056,"longitude_deg":75.6555712,"latitude_deg":11.9646056,"altitude":71,"angle":133,"satellites":38,"speed":9,"hex_longitude":"2d181fc0","hex_latitude":"0721a768","is_valid_coordinates":true} 
[2026-07-15 08:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725962496001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6125082925596672,"note":"Value kept but may cause issues"} 
[2026-07-15 08:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380561924096,"note":"Value kept but may cause issues"} 
[2026-07-15 08:56: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-07-15 08:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784085792000,"timestamp_ms":1784085792000,"timestamp_seconds":1784085792,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ccc500"} 
[2026-07-15 08:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:56:58] 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-07-15 08:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-15 08:56:58] 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-07-15 08:56:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":134565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":134565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":134565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:56:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 08:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 08:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725962496001,"66":12972,"105":206,"83":41984,"24":9,"16":6125082925596672,"45":1738178380561924096},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 08:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 08:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 08:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725962496001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:56:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 08:56:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 08:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6125082925596672,"km_value":6125082925596.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380561924096,"description":"Unknown IO ID 45"} 
[2026-07-15 08:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725962496001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1738178380561924096}} 
[2026-07-15 08:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":134565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:56:58] local.INFO: GPS data processed {"connection_id":134565,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:56:58] local.INFO: Acknowledgment sent {"connection_id":134565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:57:01] local.INFO: TCP Data received {"connection_id":132184,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:57:01] local.INFO: Processing buffer {"connection_id":132184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:57:01] local.INFO: IMEI packet received {"connection_id":132184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":132184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:57:06] local.INFO: TCP Data received {"connection_id":133200,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d02830012d0c7e40070777080017012422..."} 
[2026-07-15 08:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d02830012d0c7e40070777080017012422..."} 
[2026-07-15 08:57:06] local.INFO: Processing buffer {"connection_id":133200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d02830012d0c7e40070777080017012422..."} 
[2026-07-15 08:57:06] local.INFO: Packet analysis {"connection_id":133200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d0"} 
[2026-07-15 08:57:06] local.INFO: Extracted packet for processing {"connection_id":133200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d0"} 
[2026-07-15 08:57:06] local.INFO: GPS Element Parsed {"raw_longitude":755793472,"raw_latitude":117929736,"longitude_deg":75.5793472,"latitude_deg":11.7929736,"altitude":23,"angle":292,"satellites":34,"speed":14,"hex_longitude":"2d0c7e40","hex_latitude":"07077708","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726019328001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24579865906774016,"note":"Value kept but may cause issues"} 
[2026-07-15 08:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":900579218175709184,"note":"Value kept but may cause issues"} 
[2026-07-15 08:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784086014000,"timestamp_ms":1784086014000,"timestamp_seconds":1784086014,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d02830"} 
[2026-07-15 08:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-15 08:57: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-07-15 08: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-07-15 08:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133200,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133200,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 08:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 08:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 08:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726019328001,"66":14450,"221":206,"94":10240,"24":14,"16":24579865906774016,"45":900579218175709184},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-07-15 08:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 08:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 08:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726019328001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:57:06] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-15 08:57:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 08:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24579865906774016,"km_value":24579865906774.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":900579218175709184,"description":"Unknown IO ID 45"} 
[2026-07-15 08:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726019328001,"power":14450,"unknown_221":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":900579218175709184}} 
[2026-07-15 08:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":133200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490148,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:57:06] local.INFO: GPS data processed {"connection_id":133200,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:57:06] local.INFO: Acknowledgment sent {"connection_id":133200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:57:06] local.INFO: TCP Data received {"connection_id":133201,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d02060012d78e8c005e8a688000701332a..."} 
[2026-07-15 08:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d02060012d78e8c005e8a688000701332a..."} 
[2026-07-15 08:57:06] local.INFO: Processing buffer {"connection_id":133201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d02060012d78e8c005e8a688000701332a..."} 
[2026-07-15 08:57:06] local.INFO: Packet analysis {"connection_id":133201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d0"} 
[2026-07-15 08:57:06] local.INFO: Extracted packet for processing {"connection_id":133201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d0"} 
[2026-07-15 08:57:06] local.INFO: GPS Element Parsed {"raw_longitude":762898624,"raw_latitude":99133064,"longitude_deg":76.2898624,"latitude_deg":9.9133064,"altitude":7,"angle":307,"satellites":42,"speed":9,"hex_longitude":"2d78e8c0","hex_latitude":"05e8a688","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726018816001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106310507979341824,"note":"Value kept but may cause issues"} 
[2026-07-15 08:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8712635716991324160,"note":"Value kept but may cause issues"} 
[2026-07-15 08:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784086012000,"timestamp_ms":1784086012000,"timestamp_seconds":1784086012,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d02060"} 
[2026-07-15 08:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-15 08:57:06] 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-07-15 08: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-07-15 08:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133201,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133201,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726018816001,"66":12798,"203":206,"87":13824,"24":9,"16":106310507979341824,"45":8712635716991324160},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-07-15 08:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726018816001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:57:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 08:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106310507979341824,"km_value":106310507979341.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8712635716991324160,"description":"Unknown IO ID 45"} 
[2026-07-15 08:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726018816001,"power":12798,"mnc":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8712635716991324160}} 
[2026-07-15 08:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":133201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490149,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:57:07] local.INFO: GPS data processed {"connection_id":133201,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:57:07] local.INFO: Acknowledgment sent {"connection_id":133201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:57:07] local.INFO: TCP Data received {"connection_id":132184,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:57:07] local.INFO: Processing buffer {"connection_id":132184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:57:07] local.INFO: IMEI packet received {"connection_id":132184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":132184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:57:07] local.INFO: TCP Data received {"connection_id":132184,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f63cc1920012d7f94c005afdd380000009931..."} 
[2026-07-15 08:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63cc1920012d7f94c005afdd380000009931..."} 
[2026-07-15 08:57:07] local.INFO: Processing buffer {"connection_id":132184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63cc1920012d7f94c005afdd380000009931..."} 
[2026-07-15 08:57:07] local.INFO: Packet analysis {"connection_id":132184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63cc"} 
[2026-07-15 08:57:07] local.INFO: Extracted packet for processing {"connection_id":132184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63cc"} 
[2026-07-15 08:57:07] local.INFO: GPS Element Parsed {"raw_longitude":763335872,"raw_latitude":95411512,"longitude_deg":76.3335872,"latitude_deg":9.5411512,"altitude":0,"angle":153,"satellites":49,"speed":0,"hex_longitude":"2d7f94c0","hex_latitude":"05afdd38","is_valid_coordinates":true} 
[2026-07-15 08:57:07] 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-07-15 08:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725951488001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193183870027905024,"note":"Value kept but may cause issues"} 
[2026-07-15 08:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784085748000,"timestamp_ms":1784085748000,"timestamp_seconds":1784085748,"priority":1,"record_length":96,"hex_timestamp":"0000019f63cc1920"} 
[2026-07-15 08:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 08:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:57:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:57:07] 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-07-15 08:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725951488001,"66":27800,"250":206,"85":12544,"24":0,"16":347094255858089984,"45":9193183870027905024},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725951488001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:57:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:57:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193183870027905024,"description":"Unknown IO ID 45"} 
[2026-07-15 08:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725951488001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193183870027905024}} 
[2026-07-15 08:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":132184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:57:07] local.INFO: GPS data processed {"connection_id":132184,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:57:07] local.INFO: Acknowledgment sent {"connection_id":132184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:57:27] local.INFO: TCP Data received {"connection_id":132185,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132185,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:57:27] local.INFO: Processing buffer {"connection_id":132185,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:57:27] local.INFO: IMEI packet received {"connection_id":132185,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 08:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":132185,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:57:28] local.INFO: TCP Data received {"connection_id":132185,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132185,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:57:28] local.INFO: Processing buffer {"connection_id":132185,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:57:28] local.INFO: IMEI packet received {"connection_id":132185,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":132185,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:57:29] local.INFO: TCP Data received {"connection_id":132185,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132185,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:57:29] local.INFO: Processing buffer {"connection_id":132185,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:57:29] local.INFO: IMEI packet received {"connection_id":132185,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":132185,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:57:30] local.INFO: TCP Data received {"connection_id":132185,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132185,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:57:30] local.INFO: Processing buffer {"connection_id":132185,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 08:57:30] local.INFO: IMEI packet received {"connection_id":132185,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 08:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":132185,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:57:34] local.INFO: TCP Data received {"connection_id":134567,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134567,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:57:34] local.INFO: Processing buffer {"connection_id":134567,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:57:34] local.INFO: IMEI packet received {"connection_id":134567,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 08:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":134567,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:57:36] local.INFO: TCP Data received {"connection_id":134567,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134567,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:57:36] local.INFO: Processing buffer {"connection_id":134567,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:57:36] local.INFO: IMEI packet received {"connection_id":134567,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":134567,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:57:37] local.INFO: TCP Data received {"connection_id":134567,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d02448012d78e80005e8a7380007013f29..."} 
[2026-07-15 08:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d02448012d78e80005e8a7380007013f29..."} 
[2026-07-15 08:57:37] local.INFO: Processing buffer {"connection_id":134567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d02448012d78e80005e8a7380007013f29..."} 
[2026-07-15 08:57:37] local.INFO: Packet analysis {"connection_id":134567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d0"} 
[2026-07-15 08:57:37] local.INFO: Extracted packet for processing {"connection_id":134567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d0"} 
[2026-07-15 08:57:37] local.INFO: GPS Element Parsed {"raw_longitude":762898432,"raw_latitude":99133240,"longitude_deg":76.2898432,"latitude_deg":9.913324,"altitude":7,"angle":319,"satellites":41,"speed":11,"hex_longitude":"2d78e800","hex_latitude":"05e8a738","is_valid_coordinates":true} 
[2026-07-15 08:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726019072001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106310520864243712,"note":"Value kept but may cause issues"} 
[2026-07-15 08:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8712424610758821888,"note":"Value kept but may cause issues"} 
[2026-07-15 08:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784086013000,"timestamp_ms":1784086013000,"timestamp_seconds":1784086013,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d02448"} 
[2026-07-15 08:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-15 08:57:37] 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-07-15 08:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":134567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":134567,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":134567,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726019072001,"66":12928,"203":206,"87":13824,"24":11,"16":106310520864243712,"45":8712424610758821888},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-07-15 08:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726019072001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:57:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 08:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106310520864243712,"km_value":106310520864243.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8712424610758821888,"description":"Unknown IO ID 45"} 
[2026-07-15 08:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726019072001,"power":12928,"mnc":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8712424610758821888}} 
[2026-07-15 08:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":134567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490151,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:57:37] local.INFO: GPS data processed {"connection_id":134567,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:57:37] local.INFO: Acknowledgment sent {"connection_id":134567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:57:38] local.INFO: TCP Data received {"connection_id":132184,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f63cc1920012d7f94c005afdd380000009931..."} 
[2026-07-15 08:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63cc1920012d7f94c005afdd380000009931..."} 
[2026-07-15 08:57:38] local.INFO: Processing buffer {"connection_id":132184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63cc1920012d7f94c005afdd380000009931..."} 
[2026-07-15 08:57:38] local.INFO: Packet analysis {"connection_id":132184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63cc"} 
[2026-07-15 08:57:38] local.INFO: Extracted packet for processing {"connection_id":132184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63cc"} 
[2026-07-15 08:57:38] local.INFO: GPS Element Parsed {"raw_longitude":763335872,"raw_latitude":95411512,"longitude_deg":76.3335872,"latitude_deg":9.5411512,"altitude":0,"angle":153,"satellites":49,"speed":0,"hex_longitude":"2d7f94c0","hex_latitude":"05afdd38","is_valid_coordinates":true} 
[2026-07-15 08:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725951488001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193183870027905024,"note":"Value kept but may cause issues"} 
[2026-07-15 08:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784085748000,"timestamp_ms":1784085748000,"timestamp_seconds":1784085748,"priority":1,"record_length":96,"hex_timestamp":"0000019f63cc1920"} 
[2026-07-15 08:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 08:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:57:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725951488001,"66":27800,"250":206,"85":12544,"24":0,"16":347094255858089984,"45":9193183870027905024},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725951488001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:57:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:57:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193183870027905024,"description":"Unknown IO ID 45"} 
[2026-07-15 08:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725951488001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193183870027905024}} 
[2026-07-15 08:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":132184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:57:38] local.INFO: GPS data processed {"connection_id":132184,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:57:38] local.INFO: Acknowledgment sent {"connection_id":132184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:57:39] local.INFO: TCP Data received {"connection_id":134569,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:57:39] local.INFO: Processing buffer {"connection_id":134569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:57:39] local.INFO: IMEI packet received {"connection_id":134569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 08:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":134569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:57:42] local.INFO: TCP Data received {"connection_id":134567,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d02830012d78e74005e8a8200007014c28..."} 
[2026-07-15 08:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d02830012d78e74005e8a8200007014c28..."} 
[2026-07-15 08:57:42] local.INFO: Processing buffer {"connection_id":134567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d02830012d78e74005e8a8200007014c28..."} 
[2026-07-15 08:57:42] local.INFO: Packet analysis {"connection_id":134567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d0"} 
[2026-07-15 08:57:42] local.INFO: Extracted packet for processing {"connection_id":134567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d0"} 
[2026-07-15 08:57:42] local.INFO: GPS Element Parsed {"raw_longitude":762898240,"raw_latitude":99133472,"longitude_deg":76.289824,"latitude_deg":9.9133472,"altitude":7,"angle":332,"satellites":40,"speed":10,"hex_longitude":"2d78e740","hex_latitude":"05e8a820","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726019328001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106310533749145600,"note":"Value kept but may cause issues"} 
[2026-07-15 08:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8712213504526333952,"note":"Value kept but may cause issues"} 
[2026-07-15 08:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784086014000,"timestamp_ms":1784086014000,"timestamp_seconds":1784086014,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d02830"} 
[2026-07-15 08:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08: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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-07-15 08:57:42] 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-07-15 08: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-07-15 08:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":134567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":134567,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":134567,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726019328001,"66":12928,"203":206,"87":13824,"24":10,"16":106310533749145600,"45":8712213504526333952},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-07-15 08:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726019328001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:57:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 08:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106310533749145600,"km_value":106310533749145.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8712213504526333952,"description":"Unknown IO ID 45"} 
[2026-07-15 08:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726019328001,"power":12928,"mnc":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8712213504526333952}} 
[2026-07-15 08:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":134567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490153,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:57:42] local.INFO: GPS data processed {"connection_id":134567,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:57:42] local.INFO: Acknowledgment sent {"connection_id":134567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:57:45] local.INFO: TCP Data received {"connection_id":134569,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:57:45] local.INFO: Processing buffer {"connection_id":134569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:57:45] local.INFO: IMEI packet received {"connection_id":134569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 08:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":134569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:57:48] local.INFO: TCP Data received {"connection_id":134569,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:57:48] local.INFO: Processing buffer {"connection_id":134569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:57:48] local.INFO: IMEI packet received {"connection_id":134569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 08:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":134569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:57:49] local.INFO: TCP Data received {"connection_id":134569,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63cfbad0012d182c0007219c10004b008526..."} 
[2026-07-15 08:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63cfbad0012d182c0007219c10004b008526..."} 
[2026-07-15 08:57:49] local.INFO: Processing buffer {"connection_id":134569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63cfbad0012d182c0007219c10004b008526..."} 
[2026-07-15 08:57:49] local.INFO: Packet analysis {"connection_id":134569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63cf"} 
[2026-07-15 08:57:49] local.INFO: Extracted packet for processing {"connection_id":134569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63cf"} 
[2026-07-15 08:57:49] local.INFO: GPS Element Parsed {"raw_longitude":756558848,"raw_latitude":119643152,"longitude_deg":75.6558848,"latitude_deg":11.9643152,"altitude":75,"angle":133,"satellites":38,"speed":8,"hex_longitude":"2d182c00","hex_latitude":"07219c10","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726011648001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6125340623634432,"note":"Value kept but may cause issues"} 
[2026-07-15 08:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605305051136,"note":"Value kept but may cause issues"} 
[2026-07-15 08:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1784085986000,"timestamp_ms":1784085986000,"timestamp_seconds":1784085986,"priority":1,"record_length":96,"hex_timestamp":"0000019f63cfbad0"} 
[2026-07-15 08:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-07-15 08:57:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08: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-07-15 08:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":134569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":134569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":134569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 08:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 08:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726011648001,"66":14189,"105":206,"83":41984,"24":8,"16":6125340623634432,"45":1741274605305051136},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 08:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 08:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 08:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726011648001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:57:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 08:57:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 08:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6125340623634432,"km_value":6125340623634.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605305051136,"description":"Unknown IO ID 45"} 
[2026-07-15 08:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726011648001,"power":14189,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1741274605305051136}} 
[2026-07-15 08:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":134569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:57:49] local.INFO: GPS data processed {"connection_id":134569,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:57:49] local.INFO: Acknowledgment sent {"connection_id":134569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:57:49] local.INFO: TCP Data received {"connection_id":134569,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63cfc2a0012d182d8007219b10004b007826..."} 
[2026-07-15 08:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63cfc2a0012d182d8007219b10004b007826..."} 
[2026-07-15 08:57:49] local.INFO: Processing buffer {"connection_id":134569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63cfc2a0012d182d8007219b10004b007826..."} 
[2026-07-15 08:57:49] local.INFO: Packet analysis {"connection_id":134569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63cf"} 
[2026-07-15 08:57:49] local.INFO: Extracted packet for processing {"connection_id":134569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63cf"} 
[2026-07-15 08:57:49] local.INFO: GPS Element Parsed {"raw_longitude":756559232,"raw_latitude":119642896,"longitude_deg":75.6559232,"latitude_deg":11.9642896,"altitude":75,"angle":120,"satellites":38,"speed":8,"hex_longitude":"2d182d80","hex_latitude":"07219b10","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726012416001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6125362098470912,"note":"Value kept but may cause issues"} 
[2026-07-15 08:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741767186514186240,"note":"Value kept but may cause issues"} 
[2026-07-15 08:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1784085988000,"timestamp_ms":1784085988000,"timestamp_seconds":1784085988,"priority":1,"record_length":96,"hex_timestamp":"0000019f63cfc2a0"} 
[2026-07-15 08:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-15 08:57:49] 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-07-15 08: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-07-15 08:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":134569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":134569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":134569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 08:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 08:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726012416001,"66":14189,"105":206,"83":41984,"24":8,"16":6125362098470912,"45":1741767186514186240},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 08:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 08:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 08:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726012416001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:57:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 08:57:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 08:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6125362098470912,"km_value":6125362098470.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741767186514186240,"description":"Unknown IO ID 45"} 
[2026-07-15 08:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726012416001,"power":14189,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1741767186514186240}} 
[2026-07-15 08:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":134569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:57:49] local.INFO: GPS data processed {"connection_id":134569,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:57:49] local.INFO: Acknowledgment sent {"connection_id":134569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:58:01] local.INFO: TCP Data received {"connection_id":133202,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:58:01] local.INFO: Processing buffer {"connection_id":133202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:58:01] local.INFO: IMEI packet received {"connection_id":133202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":133202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:58:07] local.INFO: TCP Data received {"connection_id":133202,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:58:07] local.INFO: Processing buffer {"connection_id":133202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:58:07] local.INFO: IMEI packet received {"connection_id":133202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":133202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:58:07] local.INFO: TCP Data received {"connection_id":133202,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63cc1920012d7f94c005afdd380000009931..."} 
[2026-07-15 08:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63cc1920012d7f94c005afdd380000009931..."} 
[2026-07-15 08:58:07] local.INFO: Processing buffer {"connection_id":133202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63cc1920012d7f94c005afdd380000009931..."} 
[2026-07-15 08:58:07] local.INFO: Packet analysis {"connection_id":133202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63cc"} 
[2026-07-15 08:58:07] local.INFO: Extracted packet for processing {"connection_id":133202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63cc"} 
[2026-07-15 08:58:07] local.INFO: GPS Element Parsed {"raw_longitude":763335872,"raw_latitude":95411512,"longitude_deg":76.3335872,"latitude_deg":9.5411512,"altitude":0,"angle":153,"satellites":49,"speed":0,"hex_longitude":"2d7f94c0","hex_latitude":"05afdd38","is_valid_coordinates":true} 
[2026-07-15 08:58:07] 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-07-15 08:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725951488001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193183870027905024,"note":"Value kept but may cause issues"} 
[2026-07-15 08:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784085748000,"timestamp_ms":1784085748000,"timestamp_seconds":1784085748,"priority":1,"record_length":96,"hex_timestamp":"0000019f63cc1920"} 
[2026-07-15 08:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:58:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 08:58:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:58:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:58:07] 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-07-15 08:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725951488001,"66":27800,"250":206,"85":12544,"24":0,"16":347094255858089984,"45":9193183870027905024},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 08:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725951488001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:58:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 08:58:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193183870027905024,"description":"Unknown IO ID 45"} 
[2026-07-15 08:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725951488001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193183870027905024}} 
[2026-07-15 08:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":133202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:58:07] local.INFO: GPS data processed {"connection_id":133202,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:58:07] local.INFO: Acknowledgment sent {"connection_id":133202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:58:14] local.INFO: TCP Data received {"connection_id":134567,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d07650012d78e50005e8ae60000501522a..."} 
[2026-07-15 08:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d07650012d78e50005e8ae60000501522a..."} 
[2026-07-15 08:58:14] local.INFO: Processing buffer {"connection_id":134567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d07650012d78e50005e8ae60000501522a..."} 
[2026-07-15 08:58:14] local.INFO: Packet analysis {"connection_id":134567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d0"} 
[2026-07-15 08:58:14] local.INFO: Extracted packet for processing {"connection_id":134567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d0"} 
[2026-07-15 08:58:14] local.INFO: GPS Element Parsed {"raw_longitude":762897664,"raw_latitude":99135072,"longitude_deg":76.2897664,"latitude_deg":9.9135072,"altitude":5,"angle":338,"satellites":42,"speed":9,"hex_longitude":"2d78e500","hex_latitude":"05e8ae60","is_valid_coordinates":true} 
[2026-07-15 08:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726019584001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106310619648491520,"note":"Value kept but may cause issues"} 
[2026-07-15 08:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8712002398293860352,"note":"Value kept but may cause issues"} 
[2026-07-15 08:58:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784086034000,"timestamp_ms":1784086034000,"timestamp_seconds":1784086034,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d07650"} 
[2026-07-15 08:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:58:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-07-15 08:58:14] 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-07-15 08:58:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":134567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":134567,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":134567,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726019584001,"66":13048,"203":206,"87":13824,"24":9,"16":106310619648491520,"45":8712002398293860352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-07-15 08:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726019584001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:58:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 08:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106310619648491520,"km_value":106310619648491.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8712002398293860352,"description":"Unknown IO ID 45"} 
[2026-07-15 08:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726019584001,"power":13048,"mnc":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8712002398293860352}} 
[2026-07-15 08:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":134567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490157,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:58:14] local.INFO: GPS data processed {"connection_id":134567,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:58:14] local.INFO: Acknowledgment sent {"connection_id":134567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:58:20] local.INFO: TCP Data received {"connection_id":134569,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63cff180012d183a80072194e8004d006d26..."} 
[2026-07-15 08:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63cff180012d183a80072194e8004d006d26..."} 
[2026-07-15 08:58:20] local.INFO: Processing buffer {"connection_id":134569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63cff180012d183a80072194e8004d006d26..."} 
[2026-07-15 08:58:20] local.INFO: Packet analysis {"connection_id":134569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63cf"} 
[2026-07-15 08:58:20] local.INFO: Extracted packet for processing {"connection_id":134569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63cf"} 
[2026-07-15 08:58:20] local.INFO: GPS Element Parsed {"raw_longitude":756562560,"raw_latitude":119641320,"longitude_deg":75.656256,"latitude_deg":11.964132,"altitude":77,"angle":109,"satellites":38,"speed":15,"hex_longitude":"2d183a80","hex_latitude":"072194e8","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726012928001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6125538192130048,"note":"Value kept but may cause issues"} 
[2026-07-15 08:58:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742189398979186688,"note":"Value kept but may cause issues"} 
[2026-07-15 08:58: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-07-15 08:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1784086000000,"timestamp_ms":1784086000000,"timestamp_seconds":1784086000,"priority":1,"record_length":96,"hex_timestamp":"0000019f63cff180"} 
[2026-07-15 08:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:58: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-07-15 08: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-15 08:58:20] 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-07-15 08: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-07-15 08:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":134569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":134569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":134569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:58:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 08:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 08:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726012928001,"66":14189,"106":206,"83":41984,"24":15,"16":6125538192130048,"45":1742189398979186688},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-15 08:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 08:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 08:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726012928001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:58:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-15 08:58:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 08:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6125538192130048,"km_value":6125538192130.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:58:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742189398979186688,"description":"Unknown IO ID 45"} 
[2026-07-15 08:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726012928001,"power":14189,"unknown_106":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1742189398979186688}} 
[2026-07-15 08:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":134569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:58:20] local.INFO: GPS data processed {"connection_id":134569,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:58:20] local.INFO: Acknowledgment sent {"connection_id":134569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:58:29] local.INFO: TCP Data received {"connection_id":133203,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133203,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:58:29] local.INFO: Processing buffer {"connection_id":133203,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:58:29] local.INFO: IMEI packet received {"connection_id":133203,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 08:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":133203,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:58:34] local.INFO: TCP Data received {"connection_id":133203,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133203,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:58:34] local.INFO: Processing buffer {"connection_id":133203,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:58:34] local.INFO: IMEI packet received {"connection_id":133203,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":133203,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:58:35] local.INFO: TCP Data received {"connection_id":133203,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d0c858012d78dbc005e8c788000501582c..."} 
[2026-07-15 08:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d0c858012d78dbc005e8c788000501582c..."} 
[2026-07-15 08:58:35] local.INFO: Processing buffer {"connection_id":133203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d0c858012d78dbc005e8c788000501582c..."} 
[2026-07-15 08:58:35] local.INFO: Packet analysis {"connection_id":133203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d0"} 
[2026-07-15 08:58:35] local.INFO: Extracted packet for processing {"connection_id":133203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d0"} 
[2026-07-15 08:58:35] local.INFO: GPS Element Parsed {"raw_longitude":762895296,"raw_latitude":99141512,"longitude_deg":76.2895296,"latitude_deg":9.9141512,"altitude":5,"angle":344,"satellites":44,"speed":3,"hex_longitude":"2d78dbc0","hex_latitude":"05e8c788","is_valid_coordinates":true} 
[2026-07-15 08:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726024704001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106310950360973312,"note":"Value kept but may cause issues"} 
[2026-07-15 08:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8711369079596670976,"note":"Value kept but may cause issues"} 
[2026-07-15 08:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784086055000,"timestamp_ms":1784086055000,"timestamp_seconds":1784086055,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d0c858"} 
[2026-07-15 08:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-15 08:58:35] 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-07-15 08:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":133203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":133203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":133203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726024704001,"66":12819,"203":206,"87":13824,"24":3,"16":106310950360973312,"45":8711369079596670976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-07-15 08:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726024704001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:58:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 08:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106310950360973312,"km_value":106310950360973.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8711369079596670976,"description":"Unknown IO ID 45"} 
[2026-07-15 08:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726024704001,"power":12819,"mnc":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8711369079596670976}} 
[2026-07-15 08:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":133203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490159,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:58:35] local.INFO: GPS data processed {"connection_id":133203,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:58:35] local.INFO: Acknowledgment sent {"connection_id":133203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:58:38] local.INFO: TCP Data received {"connection_id":133202,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d0c470012d7f92c005afdea80000009930..."} 
[2026-07-15 08:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d0c470012d7f92c005afdea80000009930..."} 
[2026-07-15 08:58:38] local.INFO: Processing buffer {"connection_id":133202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d0c470012d7f92c005afdea80000009930..."} 
[2026-07-15 08:58:38] local.INFO: Packet analysis {"connection_id":133202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d0"} 
[2026-07-15 08:58:38] local.INFO: Extracted packet for processing {"connection_id":133202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d0"} 
[2026-07-15 08:58:38] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95411880,"longitude_deg":76.333536,"latitude_deg":9.541188,"altitude":0,"angle":153,"satellites":48,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725951488001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193183870027905024,"note":"Value kept but may cause issues"} 
[2026-07-15 08:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784086054000,"timestamp_ms":1784086054000,"timestamp_seconds":1784086054,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d0c470"} 
[2026-07-15 08:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 08:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08: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-07-15 08:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725951488001,"66":26006,"27":206,"85":12544,"24":0,"16":347094255858089984,"45":9193183870027905024},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 08:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725951488001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:58:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 08:58:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193183870027905024,"description":"Unknown IO ID 45"} 
[2026-07-15 08:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725951488001,"power":26006,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193183870027905024}} 
[2026-07-15 08:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":133202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:58:38] local.INFO: GPS data processed {"connection_id":133202,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:58:38] local.INFO: Acknowledgment sent {"connection_id":133202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:58:39] local.INFO: TCP Data received {"connection_id":133203,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d102f0012d78da4005e8cd800005013e2c..."} 
[2026-07-15 08:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d102f0012d78da4005e8cd800005013e2c..."} 
[2026-07-15 08:58:39] local.INFO: Processing buffer {"connection_id":133203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d102f0012d78da4005e8cd800005013e2c..."} 
[2026-07-15 08:58:39] local.INFO: Packet analysis {"connection_id":133203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d1"} 
[2026-07-15 08:58:39] local.INFO: Extracted packet for processing {"connection_id":133203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d1"} 
[2026-07-15 08:58:39] local.INFO: GPS Element Parsed {"raw_longitude":762894912,"raw_latitude":99143040,"longitude_deg":76.2894912,"latitude_deg":9.914304,"altitude":5,"angle":318,"satellites":44,"speed":9,"hex_longitude":"2d78da40","hex_latitude":"05e8cd80","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726030080001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106311031965351936,"note":"Value kept but may cause issues"} 
[2026-07-15 08:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8708765436063746048,"note":"Value kept but may cause issues"} 
[2026-07-15 08:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784086070000,"timestamp_ms":1784086070000,"timestamp_seconds":1784086070,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d102f0"} 
[2026-07-15 08:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08: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":19,"data_length":795,"current_offset":136} 
[2026-07-15 08:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-07-15 08:58:39] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13522742,"corrected_to":0} 
[2026-07-15 08:58:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 08:58:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1683818494887388117,"note":"Value kept but may cause issues"} 
[2026-07-15 08:58:39] local.WARNING: Large IO value detected {"io_id":176,"raw_value":3674210304,"note":"Value kept but may cause issues"} 
[2026-07-15 08:58:39] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-15 08:58:39] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505221791023104,"note":"Value kept but may cause issues"} 
[2026-07-15 08:58:39] local.WARNING: Large IO value detected {"io_id":99,"raw_value":-3465044919180523520,"note":"Value kept but may cause issues"} 
[2026-07-15 08:58:39] local.WARNING: Large IO value detected {"io_id":232,"raw_value":2793930759,"note":"Value kept but may cause issues"} 
[2026-07-15 08:58:39] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6413389756465742080,"note":"Value kept but may cause issues"} 
[2026-07-15 08:58:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3299732038205440024,"corrected_to":0} 
[2026-07-15 08:58:39] local.WARNING: Large IO value detected {"io_id":233,"raw_value":2147870886,"note":"Value kept but may cause issues"} 
[2026-07-15 08:58:39] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182225414652160,"note":"Value kept but may cause issues"} 
[2026-07-15 08:58:39] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3707817261,"note":"Value kept but may cause issues"} 
[2026-07-15 08:58:39] local.WARNING: Large IO value detected {"io_id":121,"raw_value":2966814720,"note":"Value kept but may cause issues"} 
[2026-07-15 08:58:39] local.WARNING: Large IO value detected {"io_id":51,"raw_value":216398378676833879,"note":"Value kept but may cause issues"} 
[2026-07-15 08:58:39] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755493930467569,"note":"Value kept but may cause issues"} 
[2026-07-15 08:58:39] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195139584,"note":"Value kept but may cause issues"} 
[2026-07-15 08:58:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":84857145262467224,"note":"Value kept but may cause issues"} 
[2026-07-15 08:58:39] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2534542543949312,"note":"Value kept but may cause issues"} 
[2026-07-15 08:58:39] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,203,87,24,241,157,16,177,159,118,45,174,5,42,10,66,176,40,64,168,7,36,1,240,128,227,99,232,4,113,205,9,28,233,239,49,2,121,8,22,51,54,193,69,160,104],"length":625,"final_offset":755,"validated_count":46,"validation_warnings":[{"io_id":203,"original":13522742,"validated":0},{"io_id":205,"original":3299732038205440024,"validated":0}]} 
[2026-07-15 08:58:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360666391168352256,"timestamp_seconds":360666391168352.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 08:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726030080001,"66":12961,"203":206,"87":13824,"24":9,"16":106311031965351936,"45":8708765436063746048},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-07-15 08:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726030080001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:58:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 08:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106311031965351936,"km_value":106311031965351.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8708765436063746048,"description":"Unknown IO ID 45"} 
[2026-07-15 08:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726030080001,"power":12961,"mnc":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8708765436063746048}} 
[2026-07-15 08:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":133203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490161,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:58:39] local.INFO: GPS data processed {"connection_id":133203,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:58:39] local.INFO: Acknowledgment sent {"connection_id":133203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:58:42] local.INFO: TCP Data received {"connection_id":132352,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132352,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:58:42] local.INFO: Processing buffer {"connection_id":132352,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:58:42] local.INFO: IMEI packet received {"connection_id":132352,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 08:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":132352,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:58:47] local.INFO: TCP Data received {"connection_id":132352,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132352,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:58:47] local.INFO: Processing buffer {"connection_id":132352,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:58:47] local.INFO: IMEI packet received {"connection_id":132352,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 08:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":132352,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:58:48] local.INFO: TCP Data received {"connection_id":132352,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d0e3b0012d18c48007214f40004600ad26..."} 
[2026-07-15 08:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d0e3b0012d18c48007214f40004600ad26..."} 
[2026-07-15 08:58:48] local.INFO: Processing buffer {"connection_id":132352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d0e3b0012d18c48007214f40004600ad26..."} 
[2026-07-15 08:58:48] local.INFO: Packet analysis {"connection_id":132352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d0"} 
[2026-07-15 08:58:48] local.INFO: Extracted packet for processing {"connection_id":132352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d0"} 
[2026-07-15 08:58:48] local.INFO: GPS Element Parsed {"raw_longitude":756597888,"raw_latitude":119623488,"longitude_deg":75.6597888,"latitude_deg":11.9623488,"altitude":70,"angle":173,"satellites":38,"speed":30,"hex_longitude":"2d18c480","hex_latitude":"07214f40","is_valid_coordinates":true} 
[2026-07-15 08:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726031616001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6127539646889984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784551382969356288,"note":"Value kept but may cause issues"} 
[2026-07-15 08:58: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-07-15 08:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784086062000,"timestamp_ms":1784086062000,"timestamp_seconds":1784086062,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d0e3b0"} 
[2026-07-15 08:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:58: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-07-15 08:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-15 08:58: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-07-15 08:58:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":132352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":132352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":132352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 08:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 08:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726031616001,"66":12885,"106":206,"83":41984,"24":30,"16":6127539646889984,"45":1784551382969356288},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-15 08:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 08:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 08:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726031616001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:58:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-15 08:58:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 08:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6127539646889984,"km_value":6127539646889.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784551382969356288,"description":"Unknown IO ID 45"} 
[2026-07-15 08:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726031616001,"power":12885,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1784551382969356288}} 
[2026-07-15 08:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":132352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:58:48] local.INFO: GPS data processed {"connection_id":132352,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:58:48] local.INFO: Acknowledgment sent {"connection_id":132352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:58:48] local.INFO: TCP Data received {"connection_id":132352,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d0fb20012d18c64007213db0004500a025..."} 
[2026-07-15 08:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d0fb20012d18c64007213db0004500a025..."} 
[2026-07-15 08:58:48] local.INFO: Processing buffer {"connection_id":132352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d0fb20012d18c64007213db0004500a025..."} 
[2026-07-15 08:58:48] local.INFO: Packet analysis {"connection_id":132352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d0"} 
[2026-07-15 08:58:48] local.INFO: Extracted packet for processing {"connection_id":132352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d0"} 
[2026-07-15 08:58:48] local.INFO: GPS Element Parsed {"raw_longitude":756598336,"raw_latitude":119618992,"longitude_deg":75.6598336,"latitude_deg":11.9618992,"altitude":69,"angle":160,"satellites":37,"speed":29,"hex_longitude":"2d18c640","hex_latitude":"07213db0","is_valid_coordinates":true} 
[2026-07-15 08:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726031872001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6127758690222080,"note":"Value kept but may cause issues"} 
[2026-07-15 08:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784692120457527296,"note":"Value kept but may cause issues"} 
[2026-07-15 08:58: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-07-15 08:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784086068000,"timestamp_ms":1784086068000,"timestamp_seconds":1784086068,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d0fb20"} 
[2026-07-15 08:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:58: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-07-15 08:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-15 08:58: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-07-15 08:58:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":132352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":132352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":132352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 08:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 08:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726031872001,"66":12841,"106":206,"83":41984,"24":29,"16":6127758690222080,"45":1784692120457527296},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-15 08:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 08:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 08:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726031872001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:58:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-15 08:58:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 08:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6127758690222080,"km_value":6127758690222.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784692120457527296,"description":"Unknown IO ID 45"} 
[2026-07-15 08:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726031872001,"power":12841,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1784692120457527296}} 
[2026-07-15 08:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":132352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:58:48] local.INFO: GPS data processed {"connection_id":132352,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:58:48] local.INFO: Acknowledgment sent {"connection_id":132352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:59:02] local.INFO: TCP Data received {"connection_id":134572,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:59:02] local.INFO: Processing buffer {"connection_id":134572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:59:02] local.INFO: IMEI packet received {"connection_id":134572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 08:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":134572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:59:06] local.INFO: TCP Data received {"connection_id":134572,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:59:06] local.INFO: Processing buffer {"connection_id":134572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 08:59:06] local.INFO: IMEI packet received {"connection_id":134572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 08:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":134572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:59:07] local.INFO: TCP Data received {"connection_id":134572,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d0c470012d7f92c005afdea80000009930..."} 
[2026-07-15 08:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d0c470012d7f92c005afdea80000009930..."} 
[2026-07-15 08:59:07] local.INFO: Processing buffer {"connection_id":134572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d0c470012d7f92c005afdea80000009930..."} 
[2026-07-15 08:59:07] local.INFO: Packet analysis {"connection_id":134572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d0"} 
[2026-07-15 08:59:07] local.INFO: Extracted packet for processing {"connection_id":134572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d0"} 
[2026-07-15 08:59:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95411880,"longitude_deg":76.333536,"latitude_deg":9.541188,"altitude":0,"angle":153,"satellites":48,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725951488001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193183870027905024,"note":"Value kept but may cause issues"} 
[2026-07-15 08:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784086054000,"timestamp_ms":1784086054000,"timestamp_seconds":1784086054,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d0c470"} 
[2026-07-15 08:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 08:59:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08: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-07-15 08:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:59:07] 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-07-15 08:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725951488001,"66":26006,"27":206,"85":12544,"24":0,"16":347094255858089984,"45":9193183870027905024},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 08:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725951488001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:59:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 08:59:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193183870027905024,"description":"Unknown IO ID 45"} 
[2026-07-15 08:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725951488001,"power":26006,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193183870027905024}} 
[2026-07-15 08:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":134572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:59:07] local.INFO: GPS data processed {"connection_id":134572,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:59:07] local.INFO: Acknowledgment sent {"connection_id":134572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:59:10] local.INFO: TCP Data received {"connection_id":133203,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d11290012d78d88005e8cfb80004014c2c..."} 
[2026-07-15 08:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d11290012d78d88005e8cfb80004014c2c..."} 
[2026-07-15 08:59:10] local.INFO: Processing buffer {"connection_id":133203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d11290012d78d88005e8cfb80004014c2c..."} 
[2026-07-15 08:59:10] local.INFO: Packet analysis {"connection_id":133203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d1"} 
[2026-07-15 08:59:10] local.INFO: Extracted packet for processing {"connection_id":133203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d1"} 
[2026-07-15 08:59:10] local.INFO: GPS Element Parsed {"raw_longitude":762894464,"raw_latitude":99143608,"longitude_deg":76.2894464,"latitude_deg":9.9143608,"altitude":4,"angle":332,"satellites":44,"speed":7,"hex_longitude":"2d78d880","hex_latitude":"05e8cfb8","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726033920001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106311066325090304,"note":"Value kept but may cause issues"} 
[2026-07-15 08:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8708343223599071232,"note":"Value kept but may cause issues"} 
[2026-07-15 08:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784086074000,"timestamp_ms":1784086074000,"timestamp_seconds":1784086074,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d11290"} 
[2026-07-15 08:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-15 08:59:10] 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-07-15 08: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-07-15 08:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":133203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":133203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":133203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726033920001,"66":12765,"203":206,"87":13824,"24":7,"16":106311066325090304,"45":8708343223599071232},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-07-15 08:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726033920001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:59:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 08:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106311066325090304,"km_value":106311066325090.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8708343223599071232,"description":"Unknown IO ID 45"} 
[2026-07-15 08:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726033920001,"power":12765,"mnc":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8708343223599071232}} 
[2026-07-15 08:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":133203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490165,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:59:11] local.INFO: GPS data processed {"connection_id":133203,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:59:11] local.INFO: Acknowledgment sent {"connection_id":133203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:59:19] local.INFO: TCP Data received {"connection_id":132352,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d106d8012d18ca40072136380044009226..."} 
[2026-07-15 08:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d106d8012d18ca40072136380044009226..."} 
[2026-07-15 08:59:19] local.INFO: Processing buffer {"connection_id":132352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d106d8012d18ca40072136380044009226..."} 
[2026-07-15 08:59:19] local.INFO: Packet analysis {"connection_id":132352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d1"} 
[2026-07-15 08:59:19] local.INFO: Extracted packet for processing {"connection_id":132352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d1"} 
[2026-07-15 08:59:19] local.INFO: GPS Element Parsed {"raw_longitude":756599360,"raw_latitude":119617080,"longitude_deg":75.659936,"latitude_deg":11.961708,"altitude":68,"angle":146,"satellites":38,"speed":28,"hex_longitude":"2d18ca40","hex_latitude":"07213638","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:59:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726033408001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:59:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6127861769437184,"note":"Value kept but may cause issues"} 
[2026-07-15 08:59:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785184701665619968,"note":"Value kept but may cause issues"} 
[2026-07-15 08:59: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-07-15 08:59:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784086071000,"timestamp_ms":1784086071000,"timestamp_seconds":1784086071,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d106d8"} 
[2026-07-15 08:59:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:59: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-07-15 08: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-15 08:59: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-07-15 08: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-07-15 08:59:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:59:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:59:19] local.INFO: Teltonika packet parsed successfully {"connection_id":132352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:59:19] local.INFO: Passing IMEI to GPS processor {"connection_id":132352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:59:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":132352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:59:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:59:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 08:59:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 08:59:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726033408001,"66":12885,"106":206,"83":41984,"24":28,"16":6127861769437184,"45":1785184701665619968},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-15 08:59:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 08:59:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 08:59:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726033408001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:59:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-15 08:59:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 08:59:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6127861769437184,"km_value":6127861769437.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:59:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785184701665619968,"description":"Unknown IO ID 45"} 
[2026-07-15 08:59:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726033408001,"power":12885,"unknown_106":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1785184701665619968}} 
[2026-07-15 08:59:19] local.INFO: DEBUG: GPS processor result {"connection_id":132352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:59:19] local.INFO: GPS data processed {"connection_id":132352,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:59:19] local.INFO: Acknowledgment sent {"connection_id":132352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:59:29] local.INFO: TCP Data received {"connection_id":132353,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132353,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:59:29] local.INFO: Processing buffer {"connection_id":132353,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:59:29] local.INFO: IMEI packet received {"connection_id":132353,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 08:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":132353,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:59:34] local.INFO: TCP Data received {"connection_id":132353,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132353,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:59:34] local.INFO: Processing buffer {"connection_id":132353,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 08:59:34] local.INFO: IMEI packet received {"connection_id":132353,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 08:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":132353,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:59:35] local.INFO: TCP Data received {"connection_id":132353,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d14940012d78d28005e8dbb80004013f2a..."} 
[2026-07-15 08:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d14940012d78d28005e8dbb80004013f2a..."} 
[2026-07-15 08:59:35] local.INFO: Processing buffer {"connection_id":132353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d14940012d78d28005e8dbb80004013f2a..."} 
[2026-07-15 08:59:35] local.INFO: Packet analysis {"connection_id":132353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d1"} 
[2026-07-15 08:59:35] local.INFO: Extracted packet for processing {"connection_id":132353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d1"} 
[2026-07-15 08:59:35] local.INFO: GPS Element Parsed {"raw_longitude":762892928,"raw_latitude":99146680,"longitude_deg":76.2892928,"latitude_deg":9.914668,"altitude":4,"angle":319,"satellites":42,"speed":8,"hex_longitude":"2d78d280","hex_latitude":"05e8dbb8","is_valid_coordinates":true} 
[2026-07-15 08:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 08:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726034944001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106311233828814848,"note":"Value kept but may cause issues"} 
[2026-07-15 08:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8707850642389972992,"note":"Value kept but may cause issues"} 
[2026-07-15 08:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784086088000,"timestamp_ms":1784086088000,"timestamp_seconds":1784086088,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d14940"} 
[2026-07-15 08:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 08:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-15 08:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 08:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 08:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 08:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 08:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726034944001,"66":12982,"175":206,"87":13824,"24":8,"16":106311233828814848,"45":8707850642389972992},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,87,24,16,45]} 
[2026-07-15 08:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 08:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 08:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726034944001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:59:35] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-15 08:59:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 08:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106311233828814848,"km_value":106311233828814.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8707850642389972992,"description":"Unknown IO ID 45"} 
[2026-07-15 08:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726034944001,"power":12982,"unknown_175":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8707850642389972992}} 
[2026-07-15 08:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":132353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490167,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:59:35] local.INFO: GPS data processed {"connection_id":132353,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:59:35] local.INFO: Acknowledgment sent {"connection_id":132353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:59:38] local.INFO: TCP Data received {"connection_id":134572,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d0c470012d7f92c005afdea80000009930..."} 
[2026-07-15 08:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d0c470012d7f92c005afdea80000009930..."} 
[2026-07-15 08:59:38] local.INFO: Processing buffer {"connection_id":134572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d0c470012d7f92c005afdea80000009930..."} 
[2026-07-15 08:59:38] local.INFO: Packet analysis {"connection_id":134572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d0"} 
[2026-07-15 08:59:38] local.INFO: Extracted packet for processing {"connection_id":134572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d0"} 
[2026-07-15 08:59:38] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95411880,"longitude_deg":76.333536,"latitude_deg":9.541188,"altitude":0,"angle":153,"satellites":48,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725951488001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 08:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193183870027905024,"note":"Value kept but may cause issues"} 
[2026-07-15 08:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784086054000,"timestamp_ms":1784086054000,"timestamp_seconds":1784086054,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d0c470"} 
[2026-07-15 08:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 08: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 08:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 08: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-07-15 08:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 08:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 08:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 08:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725951488001,"66":26006,"27":206,"85":12544,"24":0,"16":347094255858089984,"45":9193183870027905024},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 08:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 08:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 08:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725951488001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:59:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 08:59:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 08:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193183870027905024,"description":"Unknown IO ID 45"} 
[2026-07-15 08:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725951488001,"power":26006,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193183870027905024}} 
[2026-07-15 08:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":134572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:59:38] local.INFO: GPS data processed {"connection_id":134572,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:59:38] local.INFO: Acknowledgment sent {"connection_id":134572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 08:59:42] local.INFO: TCP Data received {"connection_id":134574,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:59:42] local.INFO: Processing buffer {"connection_id":134574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:59:42] local.INFO: IMEI packet received {"connection_id":134574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 08:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":134574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 08:59:42] local.INFO: TCP Data received {"connection_id":134574,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:59:42] local.INFO: Processing buffer {"connection_id":134574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:59:42] local.INFO: IMEI packet received {"connection_id":134574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 08:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":134574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:59:47] local.INFO: TCP Data received {"connection_id":134574,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:59:47] local.INFO: Processing buffer {"connection_id":134574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 08:59:47] local.INFO: IMEI packet received {"connection_id":134574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 08:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":134574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 08:59:47] local.INFO: TCP Data received {"connection_id":134574,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d20c90012d1935000720b878002c007925..."} 
[2026-07-15 08:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d20c90012d1935000720b878002c007925..."} 
[2026-07-15 08:59:47] local.INFO: Processing buffer {"connection_id":134574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d20c90012d1935000720b878002c007925..."} 
[2026-07-15 08:59:47] local.INFO: Packet analysis {"connection_id":134574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d2"} 
[2026-07-15 08:59:47] local.INFO: Extracted packet for processing {"connection_id":134574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d2"} 
[2026-07-15 08:59:47] local.INFO: GPS Element Parsed {"raw_longitude":756626688,"raw_latitude":119584888,"longitude_deg":75.6626688,"latitude_deg":11.9584888,"altitude":44,"angle":121,"satellites":37,"speed":39,"hex_longitude":"2d193500","hex_latitude":"0720b878","is_valid_coordinates":true} 
[2026-07-15 08: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-07-15 08:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726050304001,"note":"Value kept but may cause issues"} 
[2026-07-15 08:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6130056497725440,"note":"Value kept but may cause issues"} 
[2026-07-15 08:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812135930677350400,"note":"Value kept but may cause issues"} 
[2026-07-15 08:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 08:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784086138000,"timestamp_ms":1784086138000,"timestamp_seconds":1784086138,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d20c90"} 
[2026-07-15 08:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 08:59: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-07-15 08: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-15 08:59:47] 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-07-15 08: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-07-15 08:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 08:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 08:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":134574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 08:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":134574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":134574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 08:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 08:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 08:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 08:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726050304001,"66":14233,"103":206,"83":41984,"24":39,"16":6130056497725440,"45":1812135930677350400},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 08:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 08:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 08:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726050304001,"description":"Unknown IO ID 0"} 
[2026-07-15 08:59:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 08:59:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 08:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6130056497725440,"km_value":6130056497725.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 08:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812135930677350400,"description":"Unknown IO ID 45"} 
[2026-07-15 08:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726050304001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1812135930677350400}} 
[2026-07-15 08:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":134574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 08:59:47] local.INFO: GPS data processed {"connection_id":134574,"processed":1,"errors":0,"total":1} 
[2026-07-15 08:59:47] local.INFO: Acknowledgment sent {"connection_id":134574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:00:06] local.INFO: TCP Data received {"connection_id":132353,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d16c68012d78cec005e8e0b00005014d2b..."} 
[2026-07-15 09:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d16c68012d78cec005e8e0b00005014d2b..."} 
[2026-07-15 09:00:06] local.INFO: Processing buffer {"connection_id":132353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d16c68012d78cec005e8e0b00005014d2b..."} 
[2026-07-15 09:00:06] local.INFO: Packet analysis {"connection_id":132353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d1"} 
[2026-07-15 09:00:06] local.INFO: Extracted packet for processing {"connection_id":132353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d1"} 
[2026-07-15 09:00:06] local.INFO: GPS Element Parsed {"raw_longitude":762891968,"raw_latitude":99147952,"longitude_deg":76.2891968,"latitude_deg":9.9147952,"altitude":5,"angle":333,"satellites":43,"speed":12,"hex_longitude":"2d78cec0","hex_latitude":"05e8e0b0","is_valid_coordinates":true} 
[2026-07-15 09:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726038528001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106311311138226176,"note":"Value kept but may cause issues"} 
[2026-07-15 09:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8706161792530495488,"note":"Value kept but may cause issues"} 
[2026-07-15 09:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784086097000,"timestamp_ms":1784086097000,"timestamp_seconds":1784086097,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d16c68"} 
[2026-07-15 09:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-15 09:00:06] 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-07-15 09:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726038528001,"66":13243,"175":206,"87":13824,"24":12,"16":106311311138226176,"45":8706161792530495488},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,87,24,16,45]} 
[2026-07-15 09:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726038528001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:00:06] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-15 09:00:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 09:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106311311138226176,"km_value":106311311138226.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8706161792530495488,"description":"Unknown IO ID 45"} 
[2026-07-15 09:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726038528001,"power":13243,"unknown_175":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8706161792530495488}} 
[2026-07-15 09:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":132353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490170,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:00:06] local.INFO: GPS data processed {"connection_id":132353,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:00:06] local.INFO: Acknowledgment sent {"connection_id":132353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:00:07] local.INFO: TCP Data received {"connection_id":132354,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:00:07] local.INFO: Processing buffer {"connection_id":132354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:00:07] local.INFO: IMEI packet received {"connection_id":132354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":132354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:00:11] local.INFO: TCP Data received {"connection_id":132354,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:00:11] local.INFO: Processing buffer {"connection_id":132354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:00:11] local.INFO: IMEI packet received {"connection_id":132354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":132354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:00:12] local.INFO: TCP Data received {"connection_id":132354,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d0c470012d7f92c005afdea80000009930..."} 
[2026-07-15 09:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d0c470012d7f92c005afdea80000009930..."} 
[2026-07-15 09:00:12] local.INFO: Processing buffer {"connection_id":132354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d0c470012d7f92c005afdea80000009930..."} 
[2026-07-15 09:00:12] local.INFO: Packet analysis {"connection_id":132354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d0"} 
[2026-07-15 09:00:12] local.INFO: Extracted packet for processing {"connection_id":132354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d0"} 
[2026-07-15 09:00:12] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95411880,"longitude_deg":76.333536,"latitude_deg":9.541188,"altitude":0,"angle":153,"satellites":48,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-07-15 09:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725951488001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 09:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193183870027905024,"note":"Value kept but may cause issues"} 
[2026-07-15 09:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784086054000,"timestamp_ms":1784086054000,"timestamp_seconds":1784086054,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d0c470"} 
[2026-07-15 09:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 09:00:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:00:12] 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-07-15 09:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725951488001,"66":26006,"27":206,"85":12544,"24":0,"16":347094255858089984,"45":9193183870027905024},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725951488001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:00:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:00:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:00:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193183870027905024,"description":"Unknown IO ID 45"} 
[2026-07-15 09:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725951488001,"power":26006,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193183870027905024}} 
[2026-07-15 09:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":132354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:00:12] local.INFO: GPS data processed {"connection_id":132354,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:00:12] local.INFO: Acknowledgment sent {"connection_id":132354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:00:17] local.INFO: TCP Data received {"connection_id":132354,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d0c470012d7f92c005afdea80000009930..."} 
[2026-07-15 09:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d0c470012d7f92c005afdea80000009930..."} 
[2026-07-15 09:00:17] local.INFO: Processing buffer {"connection_id":132354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d0c470012d7f92c005afdea80000009930..."} 
[2026-07-15 09:00:17] local.INFO: Packet analysis {"connection_id":132354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d0"} 
[2026-07-15 09:00:17] local.INFO: Extracted packet for processing {"connection_id":132354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d0"} 
[2026-07-15 09:00:17] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95411880,"longitude_deg":76.333536,"latitude_deg":9.541188,"altitude":0,"angle":153,"satellites":48,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725951488001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 09:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193183870027905024,"note":"Value kept but may cause issues"} 
[2026-07-15 09:00:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784086054000,"timestamp_ms":1784086054000,"timestamp_seconds":1784086054,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d0c470"} 
[2026-07-15 09:00:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:00:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 09:00:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:00:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725951488001,"66":26006,"27":206,"85":12544,"24":0,"16":347094255858089984,"45":9193183870027905024},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725951488001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:00:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:00:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193183870027905024,"description":"Unknown IO ID 45"} 
[2026-07-15 09:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725951488001,"power":26006,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193183870027905024}} 
[2026-07-15 09:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":132354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:00:17] local.INFO: GPS data processed {"connection_id":132354,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:00:17] local.INFO: Acknowledgment sent {"connection_id":132354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:00:18] local.INFO: TCP Data received {"connection_id":134574,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d22018012d1943400720afc8002b006d24..."} 
[2026-07-15 09:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d22018012d1943400720afc8002b006d24..."} 
[2026-07-15 09:00:18] local.INFO: Processing buffer {"connection_id":134574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d22018012d1943400720afc8002b006d24..."} 
[2026-07-15 09:00:18] local.INFO: Packet analysis {"connection_id":134574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d2"} 
[2026-07-15 09:00:18] local.INFO: Extracted packet for processing {"connection_id":134574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d2"} 
[2026-07-15 09:00:18] local.INFO: GPS Element Parsed {"raw_longitude":756630336,"raw_latitude":119582664,"longitude_deg":75.6630336,"latitude_deg":11.9582664,"altitude":43,"angle":109,"satellites":36,"speed":30,"hex_longitude":"2d194340","hex_latitude":"0720afc8","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726051328001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6130262656155648,"note":"Value kept but may cause issues"} 
[2026-07-15 09:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1816358055327594496,"note":"Value kept but may cause issues"} 
[2026-07-15 09:00:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784086143000,"timestamp_ms":1784086143000,"timestamp_seconds":1784086143,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d22018"} 
[2026-07-15 09:00:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:00: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-07-15 09: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-15 09:00:18] 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-07-15 09: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-07-15 09:00:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":134574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":134574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":134574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:00:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 09:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 09:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726051328001,"66":13993,"103":206,"83":41984,"24":30,"16":6130262656155648,"45":1816358055327594496},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 09:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 09:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 09:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726051328001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:00:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 09:00:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 09:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6130262656155648,"km_value":6130262656155.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1816358055327594496,"description":"Unknown IO ID 45"} 
[2026-07-15 09:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726051328001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1816358055327594496}} 
[2026-07-15 09:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":134574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:00:18] local.INFO: GPS data processed {"connection_id":134574,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:00:18] local.INFO: Acknowledgment sent {"connection_id":134574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:00:27] local.INFO: TCP Data received {"connection_id":132186,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132186,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:00:27] local.INFO: Processing buffer {"connection_id":132186,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:00:27] local.INFO: IMEI packet received {"connection_id":132186,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 09:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":132186,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:00:30] local.INFO: TCP Data received {"connection_id":132186,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132186,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:00:30] local.INFO: Processing buffer {"connection_id":132186,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:00:30] local.INFO: IMEI packet received {"connection_id":132186,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":132186,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:00:34] local.INFO: TCP Data received {"connection_id":132186,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132186,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:00:34] local.INFO: Processing buffer {"connection_id":132186,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:00:34] local.INFO: IMEI packet received {"connection_id":132186,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":132186,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:00:35] local.INFO: TCP Data received {"connection_id":132186,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d1be70012d78c54005e8f6a0000401572b..."} 
[2026-07-15 09:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d1be70012d78c54005e8f6a0000401572b..."} 
[2026-07-15 09:00:35] local.INFO: Processing buffer {"connection_id":132186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d1be70012d78c54005e8f6a0000401572b..."} 
[2026-07-15 09:00:35] local.INFO: Packet analysis {"connection_id":132186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d1"} 
[2026-07-15 09:00:35] local.INFO: Extracted packet for processing {"connection_id":132186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d1"} 
[2026-07-15 09:00:35] local.INFO: GPS Element Parsed {"raw_longitude":762889536,"raw_latitude":99153568,"longitude_deg":76.2889536,"latitude_deg":9.9153568,"altitude":4,"angle":343,"satellites":43,"speed":5,"hex_longitude":"2d78c540","hex_latitude":"05e8f6a0","is_valid_coordinates":true} 
[2026-07-15 09:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726040832001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106311607490969600,"note":"Value kept but may cause issues"} 
[2026-07-15 09:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8705106261368156160,"note":"Value kept but may cause issues"} 
[2026-07-15 09:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784086118000,"timestamp_ms":1784086118000,"timestamp_seconds":1784086118,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d1be70"} 
[2026-07-15 09:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:00:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-15 09:00:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:00:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726040832001,"66":13102,"175":206,"87":13824,"24":5,"16":106311607490969600,"45":8705106261368156160},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,87,24,16,45]} 
[2026-07-15 09:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726040832001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:00:35] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-15 09:00:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 09:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106311607490969600,"km_value":106311607490969.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8705106261368156160,"description":"Unknown IO ID 45"} 
[2026-07-15 09:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726040832001,"power":13102,"unknown_175":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8705106261368156160}} 
[2026-07-15 09:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":132186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490174,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:00:35] local.INFO: GPS data processed {"connection_id":132186,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:00:35] local.INFO: Acknowledgment sent {"connection_id":132186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:00:42] local.INFO: TCP Data received {"connection_id":134575,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:00:42] local.INFO: Processing buffer {"connection_id":134575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:00:42] local.INFO: IMEI packet received {"connection_id":134575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 09:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":134575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:00:43] local.INFO: TCP Data received {"connection_id":134575,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:00:43] local.INFO: Processing buffer {"connection_id":134575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:00:43] local.INFO: IMEI packet received {"connection_id":134575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 09:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":134575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:00:47] local.INFO: TCP Data received {"connection_id":134575,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:00:47] local.INFO: Processing buffer {"connection_id":134575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:00:47] local.INFO: IMEI packet received {"connection_id":134575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 09:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":134575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:00:48] local.INFO: TCP Data received {"connection_id":134575,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d2cfe0012d19bc000720a268002a00c225..."} 
[2026-07-15 09:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d2cfe0012d19bc000720a268002a00c225..."} 
[2026-07-15 09:00:48] local.INFO: Processing buffer {"connection_id":134575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d2cfe0012d19bc000720a268002a00c225..."} 
[2026-07-15 09:00:48] local.INFO: Packet analysis {"connection_id":134575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d2"} 
[2026-07-15 09:00:48] local.INFO: Extracted packet for processing {"connection_id":134575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d2"} 
[2026-07-15 09:00:48] local.INFO: GPS Element Parsed {"raw_longitude":756661248,"raw_latitude":119579240,"longitude_deg":75.6661248,"latitude_deg":11.957924,"altitude":42,"angle":194,"satellites":37,"speed":22,"hex_longitude":"2d19bc00","hex_latitude":"0720a268","is_valid_coordinates":true} 
[2026-07-15 09:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726063872001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6131856089022464,"note":"Value kept but may cause issues"} 
[2026-07-15 09:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854568283414765568,"note":"Value kept but may cause issues"} 
[2026-07-15 09:00:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784086188000,"timestamp_ms":1784086188000,"timestamp_seconds":1784086188,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d2cfe0"} 
[2026-07-15 09:00:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:00: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-07-15 09:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-15 09:00:48] 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-07-15 09:00:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:00:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":134575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":134575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":134575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:00:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 09:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 09:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726063872001,"66":14189,"103":206,"83":41984,"24":22,"16":6131856089022464,"45":1854568283414765568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 09:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 09:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 09:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726063872001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:00:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 09:00:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 09:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6131856089022464,"km_value":6131856089022.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854568283414765568,"description":"Unknown IO ID 45"} 
[2026-07-15 09:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726063872001,"power":14189,"unknown_103":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1854568283414765568}} 
[2026-07-15 09:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":134575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:00:48] local.INFO: GPS data processed {"connection_id":134575,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:00:48] local.INFO: Acknowledgment sent {"connection_id":134575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:01:02] local.INFO: TCP Data received {"connection_id":133205,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:01:02] local.INFO: Processing buffer {"connection_id":133205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:01:02] local.INFO: IMEI packet received {"connection_id":133205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":133205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:01:06] local.INFO: TCP Data received {"connection_id":132186,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d1c640012d78c54005e8f7b0000400022b..."} 
[2026-07-15 09:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d1c640012d78c54005e8f7b0000400022b..."} 
[2026-07-15 09:01:06] local.INFO: Processing buffer {"connection_id":132186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d1c640012d78c54005e8f7b0000400022b..."} 
[2026-07-15 09:01:06] local.INFO: Packet analysis {"connection_id":132186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d1"} 
[2026-07-15 09:01:06] local.INFO: Extracted packet for processing {"connection_id":132186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d1"} 
[2026-07-15 09:01:06] local.INFO: GPS Element Parsed {"raw_longitude":762889536,"raw_latitude":99153840,"longitude_deg":76.2889536,"latitude_deg":9.915384,"altitude":4,"angle":2,"satellites":43,"speed":7,"hex_longitude":"2d78c540","hex_latitude":"05e8f7b0","is_valid_coordinates":true} 
[2026-07-15 09:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726046208001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106311620375871488,"note":"Value kept but may cause issues"} 
[2026-07-15 09:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8702432249090842624,"note":"Value kept but may cause issues"} 
[2026-07-15 09:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784086120000,"timestamp_ms":1784086120000,"timestamp_seconds":1784086120,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d1c640"} 
[2026-07-15 09:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-15 09:01: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-07-15 09:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726046208001,"66":12928,"175":206,"87":13824,"24":7,"16":106311620375871488,"45":8702432249090842624},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,87,24,16,45]} 
[2026-07-15 09:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726046208001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:01:06] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-15 09:01:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 09:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106311620375871488,"km_value":106311620375871.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8702432249090842624,"description":"Unknown IO ID 45"} 
[2026-07-15 09:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726046208001,"power":12928,"unknown_175":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8702432249090842624}} 
[2026-07-15 09:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":132186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490176,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:01:06] local.INFO: GPS data processed {"connection_id":132186,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:01:06] local.INFO: Acknowledgment sent {"connection_id":132186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:01:07] local.INFO: TCP Data received {"connection_id":133205,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:01:07] local.INFO: Processing buffer {"connection_id":133205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:01:07] local.INFO: IMEI packet received {"connection_id":133205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":133205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:01:08] local.INFO: TCP Data received {"connection_id":133205,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d0c470012d7f92c005afdea80000009930..."} 
[2026-07-15 09:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d0c470012d7f92c005afdea80000009930..."} 
[2026-07-15 09:01:08] local.INFO: Processing buffer {"connection_id":133205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d0c470012d7f92c005afdea80000009930..."} 
[2026-07-15 09:01:08] local.INFO: Packet analysis {"connection_id":133205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d0"} 
[2026-07-15 09:01:08] local.INFO: Extracted packet for processing {"connection_id":133205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d0"} 
[2026-07-15 09:01:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95411880,"longitude_deg":76.333536,"latitude_deg":9.541188,"altitude":0,"angle":153,"satellites":48,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-07-15 09:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725951488001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 09:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193183870027905024,"note":"Value kept but may cause issues"} 
[2026-07-15 09:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784086054000,"timestamp_ms":1784086054000,"timestamp_seconds":1784086054,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d0c470"} 
[2026-07-15 09:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 09:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":133205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":133205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":133205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725951488001,"66":26006,"27":206,"85":12544,"24":0,"16":347094255858089984,"45":9193183870027905024},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725951488001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:01:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:01:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193183870027905024,"description":"Unknown IO ID 45"} 
[2026-07-15 09:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725951488001,"power":26006,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193183870027905024}} 
[2026-07-15 09:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":133205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:01:08] local.INFO: GPS data processed {"connection_id":133205,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:01:08] local.INFO: Acknowledgment sent {"connection_id":133205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:01:15] local.INFO: TCP Data received {"connection_id":132355,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132355,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:01:15] local.INFO: Processing buffer {"connection_id":132355,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:01:15] local.INFO: IMEI packet received {"connection_id":132355,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 09:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":132355,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:01:20] local.INFO: TCP Data received {"connection_id":134575,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d2d3c8012d19b9c00720a0b0002a00d925..."} 
[2026-07-15 09:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d2d3c8012d19b9c00720a0b0002a00d925..."} 
[2026-07-15 09:01:20] local.INFO: Processing buffer {"connection_id":134575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d2d3c8012d19b9c00720a0b0002a00d925..."} 
[2026-07-15 09:01:20] local.INFO: Packet analysis {"connection_id":134575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d2"} 
[2026-07-15 09:01:20] local.INFO: Extracted packet for processing {"connection_id":134575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d2"} 
[2026-07-15 09:01:20] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119578800,"longitude_deg":75.6660672,"latitude_deg":11.95788,"altitude":42,"angle":217,"satellites":37,"speed":23,"hex_longitude":"2d19b9c0","hex_latitude":"0720a0b0","is_valid_coordinates":true} 
[2026-07-15 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-07-15 09:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726064128001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6131890448760832,"note":"Value kept but may cause issues"} 
[2026-07-15 09:01:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854357177182087168,"note":"Value kept but may cause issues"} 
[2026-07-15 09:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1784086189000,"timestamp_ms":1784086189000,"timestamp_seconds":1784086189,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d2d3c8"} 
[2026-07-15 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-07-15 09:01: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-07-15 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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-15 09:01:20] 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-07-15 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-07-15 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-07-15 09:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":134575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":134575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":134575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:01:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 09:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 09:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726064128001,"66":14211,"103":206,"83":41984,"24":23,"16":6131890448760832,"45":1854357177182087168},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 09:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 09:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 09:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726064128001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:01:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 09:01:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 09:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6131890448760832,"km_value":6131890448760.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:01:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854357177182087168,"description":"Unknown IO ID 45"} 
[2026-07-15 09:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726064128001,"power":14211,"unknown_103":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1854357177182087168}} 
[2026-07-15 09:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":134575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:01:20] local.INFO: GPS data processed {"connection_id":134575,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:01:20] local.INFO: Acknowledgment sent {"connection_id":134575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:01:30] local.INFO: TCP Data received {"connection_id":133206,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133206,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:01:30] local.INFO: Processing buffer {"connection_id":133206,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:01:30] local.INFO: IMEI packet received {"connection_id":133206,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 09:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":133206,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:01:31] local.INFO: TCP Data received {"connection_id":133206,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133206,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:01:31] local.INFO: Processing buffer {"connection_id":133206,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:01:31] local.INFO: IMEI packet received {"connection_id":133206,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":133206,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:01:34] local.INFO: TCP Data received {"connection_id":133206,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133206,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:01:34] local.INFO: Processing buffer {"connection_id":133206,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:01:34] local.INFO: IMEI packet received {"connection_id":133206,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":133206,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:01:35] local.INFO: TCP Data received {"connection_id":133206,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d1ce10012d78c60005e8f890000400352b..."} 
[2026-07-15 09:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d1ce10012d78c60005e8f890000400352b..."} 
[2026-07-15 09:01:35] local.INFO: Processing buffer {"connection_id":133206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d1ce10012d78c60005e8f890000400352b..."} 
[2026-07-15 09:01:35] local.INFO: Packet analysis {"connection_id":133206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d1"} 
[2026-07-15 09:01:35] local.INFO: Extracted packet for processing {"connection_id":133206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d1"} 
[2026-07-15 09:01:35] local.INFO: GPS Element Parsed {"raw_longitude":762889728,"raw_latitude":99154064,"longitude_deg":76.2889728,"latitude_deg":9.9154064,"altitude":4,"angle":53,"satellites":43,"speed":5,"hex_longitude":"2d78c600","hex_latitude":"05e8f890","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726046720001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106311633260773376,"note":"Value kept but may cause issues"} 
[2026-07-15 09:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8702432249090912256,"note":"Value kept but may cause issues"} 
[2026-07-15 09:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784086122000,"timestamp_ms":1784086122000,"timestamp_seconds":1784086122,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d1ce10"} 
[2026-07-15 09:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09: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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-07-15 09:01:35] 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-07-15 09: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-07-15 09:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":133206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":133206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":133206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726046720001,"66":12917,"175":206,"87":13824,"24":5,"16":106311633260773376,"45":8702432249090912256},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,87,24,16,45]} 
[2026-07-15 09:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726046720001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:01:35] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-15 09:01:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 09:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106311633260773376,"km_value":106311633260773.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8702432249090912256,"description":"Unknown IO ID 45"} 
[2026-07-15 09:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726046720001,"power":12917,"unknown_175":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8702432249090912256}} 
[2026-07-15 09:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":133206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490179,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:01:35] local.INFO: GPS data processed {"connection_id":133206,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:01:35] local.INFO: Acknowledgment sent {"connection_id":133206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:01:39] local.INFO: TCP Data received {"connection_id":133205,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d0c470012d7f92c005afdea80000009930..."} 
[2026-07-15 09:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d0c470012d7f92c005afdea80000009930..."} 
[2026-07-15 09:01:39] local.INFO: Processing buffer {"connection_id":133205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d0c470012d7f92c005afdea80000009930..."} 
[2026-07-15 09:01:39] local.INFO: Packet analysis {"connection_id":133205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d0"} 
[2026-07-15 09:01:39] local.INFO: Extracted packet for processing {"connection_id":133205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d0"} 
[2026-07-15 09:01:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95411880,"longitude_deg":76.333536,"latitude_deg":9.541188,"altitude":0,"angle":153,"satellites":48,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725951488001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 09:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193183870027905024,"note":"Value kept but may cause issues"} 
[2026-07-15 09:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784086054000,"timestamp_ms":1784086054000,"timestamp_seconds":1784086054,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d0c470"} 
[2026-07-15 09:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:01:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 09:01:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:01:39] 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-07-15 09:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725951488001,"66":26006,"27":206,"85":12544,"24":0,"16":347094255858089984,"45":9193183870027905024},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725951488001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:01:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:01:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193183870027905024,"description":"Unknown IO ID 45"} 
[2026-07-15 09:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725951488001,"power":26006,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193183870027905024}} 
[2026-07-15 09:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":133205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:01:39] local.INFO: GPS data processed {"connection_id":133205,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:01:39] local.INFO: Acknowledgment sent {"connection_id":133205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:01:40] local.INFO: TCP Data received {"connection_id":132356,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132356,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:01:40] local.INFO: Processing buffer {"connection_id":132356,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:01:40] local.INFO: IMEI packet received {"connection_id":132356,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 09:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":132356,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:01:41] local.INFO: TCP Data received {"connection_id":132189,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132189,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:01:41] local.INFO: Processing buffer {"connection_id":132189,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:01:41] local.INFO: IMEI packet received {"connection_id":132189,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 09:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":132189,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:01:42] local.INFO: TCP Data received {"connection_id":132189,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132189,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:01:42] local.INFO: Processing buffer {"connection_id":132189,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:01:42] local.INFO: IMEI packet received {"connection_id":132189,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 09:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":132189,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:01:47] local.INFO: TCP Data received {"connection_id":132189,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132189,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:01:47] local.INFO: Processing buffer {"connection_id":132189,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:01:47] local.INFO: IMEI packet received {"connection_id":132189,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 09:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":132189,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:01:48] local.INFO: TCP Data received {"connection_id":132189,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d2ef20012d19ae8007209248002a00c326..."} 
[2026-07-15 09:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d2ef20012d19ae8007209248002a00c326..."} 
[2026-07-15 09:01:48] local.INFO: Processing buffer {"connection_id":132189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d2ef20012d19ae8007209248002a00c326..."} 
[2026-07-15 09:01:48] local.INFO: Packet analysis {"connection_id":132189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d2"} 
[2026-07-15 09:01:48] local.INFO: Extracted packet for processing {"connection_id":132189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d2"} 
[2026-07-15 09:01:48] local.INFO: GPS Element Parsed {"raw_longitude":756657792,"raw_latitude":119575112,"longitude_deg":75.6657792,"latitude_deg":11.9575112,"altitude":42,"angle":195,"satellites":38,"speed":30,"hex_longitude":"2d19ae80","hex_latitude":"07209248","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726064384001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6132118082027520,"note":"Value kept but may cause issues"} 
[2026-07-15 09:01:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858484375552,"note":"Value kept but may cause issues"} 
[2026-07-15 09:01:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784086196000,"timestamp_ms":1784086196000,"timestamp_seconds":1784086196,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d2ef20"} 
[2026-07-15 09:01:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:01: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-07-15 09: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-15 09:01:48] 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-07-15 09: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-07-15 09:01:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":132189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":132189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":132189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:01:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 09:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 09:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726064384001,"66":14265,"103":206,"83":41984,"24":30,"16":6132118082027520,"45":1853723858484375552},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 09:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 09:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 09:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726064384001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:01:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 09:01:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 09:01:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6132118082027520,"km_value":6132118082027.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:01:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858484375552,"description":"Unknown IO ID 45"} 
[2026-07-15 09:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726064384001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1853723858484375552}} 
[2026-07-15 09:01:48] local.INFO: DEBUG: GPS processor result {"connection_id":132189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:01:48] local.INFO: GPS data processed {"connection_id":132189,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:01:48] local.INFO: Acknowledgment sent {"connection_id":132189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:02:02] local.INFO: TCP Data received {"connection_id":134576,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:02:02] local.INFO: Processing buffer {"connection_id":134576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:02:02] local.INFO: IMEI packet received {"connection_id":134576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":134576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:02:06] local.INFO: TCP Data received {"connection_id":133206,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d21c30012d78c94005e8fb28000500352a..."} 
[2026-07-15 09:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d21c30012d78c94005e8fb28000500352a..."} 
[2026-07-15 09:02:06] local.INFO: Processing buffer {"connection_id":133206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d21c30012d78c94005e8fb28000500352a..."} 
[2026-07-15 09:02:06] local.INFO: Packet analysis {"connection_id":133206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d2"} 
[2026-07-15 09:02:06] local.INFO: Extracted packet for processing {"connection_id":133206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d2"} 
[2026-07-15 09:02:06] local.INFO: GPS Element Parsed {"raw_longitude":762890560,"raw_latitude":99154728,"longitude_deg":76.289056,"latitude_deg":9.9154728,"altitude":5,"angle":53,"satellites":42,"speed":4,"hex_longitude":"2d78c940","hex_latitude":"05e8fb28","is_valid_coordinates":true} 
[2026-07-15 09:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726047232001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106311689095348224,"note":"Value kept but may cause issues"} 
[2026-07-15 09:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8702643355323502592,"note":"Value kept but may cause issues"} 
[2026-07-15 09:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784086142000,"timestamp_ms":1784086142000,"timestamp_seconds":1784086142,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d21c30"} 
[2026-07-15 09:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-15 09:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726047232001,"66":12961,"175":206,"87":13824,"24":4,"16":106311689095348224,"45":8702643355323502592},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,87,24,16,45]} 
[2026-07-15 09:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726047232001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:02:06] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-15 09:02:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 09:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106311689095348224,"km_value":106311689095348.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8702643355323502592,"description":"Unknown IO ID 45"} 
[2026-07-15 09:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726047232001,"power":12961,"unknown_175":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8702643355323502592}} 
[2026-07-15 09:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":133206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490182,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:02:06] local.INFO: GPS data processed {"connection_id":133206,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:02:06] local.INFO: Acknowledgment sent {"connection_id":133206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:02:07] local.INFO: TCP Data received {"connection_id":134576,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:02:07] local.INFO: Processing buffer {"connection_id":134576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:02:07] local.INFO: IMEI packet received {"connection_id":134576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":134576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:02:07] local.INFO: TCP Data received {"connection_id":134576,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d0c470012d7f92c005afdea80000009930..."} 
[2026-07-15 09:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d0c470012d7f92c005afdea80000009930..."} 
[2026-07-15 09:02:07] local.INFO: Processing buffer {"connection_id":134576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d0c470012d7f92c005afdea80000009930..."} 
[2026-07-15 09:02:07] local.INFO: Packet analysis {"connection_id":134576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d0"} 
[2026-07-15 09:02:07] local.INFO: Extracted packet for processing {"connection_id":134576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d0"} 
[2026-07-15 09:02:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95411880,"longitude_deg":76.333536,"latitude_deg":9.541188,"altitude":0,"angle":153,"satellites":48,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-07-15 09:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725951488001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 09:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193183870027905024,"note":"Value kept but may cause issues"} 
[2026-07-15 09:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784086054000,"timestamp_ms":1784086054000,"timestamp_seconds":1784086054,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d0c470"} 
[2026-07-15 09:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 09:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725951488001,"66":26006,"27":206,"85":12544,"24":0,"16":347094255858089984,"45":9193183870027905024},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725951488001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:02:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:02:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193183870027905024,"description":"Unknown IO ID 45"} 
[2026-07-15 09:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725951488001,"power":26006,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193183870027905024}} 
[2026-07-15 09:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":134576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:02:07] local.INFO: GPS data processed {"connection_id":134576,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:02:07] local.INFO: Acknowledgment sent {"connection_id":134576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:02:19] local.INFO: TCP Data received {"connection_id":132189,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d446e0012d19c880071ff278002c00fd25..."} 
[2026-07-15 09:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d446e0012d19c880071ff278002c00fd25..."} 
[2026-07-15 09:02:19] local.INFO: Processing buffer {"connection_id":132189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d446e0012d19c880071ff278002c00fd25..."} 
[2026-07-15 09:02:19] local.INFO: Packet analysis {"connection_id":132189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d4"} 
[2026-07-15 09:02:19] local.INFO: Extracted packet for processing {"connection_id":132189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d4"} 
[2026-07-15 09:02:19] local.INFO: GPS Element Parsed {"raw_longitude":756664448,"raw_latitude":119534200,"longitude_deg":75.6664448,"latitude_deg":11.95342,"altitude":44,"angle":253,"satellites":37,"speed":16,"hex_longitude":"2d19c880","hex_latitude":"071ff278","is_valid_coordinates":true} 
[2026-07-15 09:02:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:02:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726088448001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:02:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6134407299596288,"note":"Value kept but may cause issues"} 
[2026-07-15 09:02:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858297826844547072,"note":"Value kept but may cause issues"} 
[2026-07-15 09:02:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:02:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784086284000,"timestamp_ms":1784086284000,"timestamp_seconds":1784086284,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d446e0"} 
[2026-07-15 09:02:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09: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-07-15 09:02:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-15 09:02: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-07-15 09:02:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:02:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:02:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:02:19] local.INFO: Teltonika packet parsed successfully {"connection_id":132189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:02:19] local.INFO: Passing IMEI to GPS processor {"connection_id":132189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:02:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":132189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:02:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:02:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 09:02:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 09:02:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726088448001,"66":14265,"101":206,"83":41984,"24":16,"16":6134407299596288,"45":1858297826844547072},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-15 09:02:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 09:02:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 09:02:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726088448001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:02:19] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-15 09:02:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 09:02:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6134407299596288,"km_value":6134407299596.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:02:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858297826844547072,"description":"Unknown IO ID 45"} 
[2026-07-15 09:02:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726088448001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1858297826844547072}} 
[2026-07-15 09:02:19] local.INFO: DEBUG: GPS processor result {"connection_id":132189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:02:19] local.INFO: GPS data processed {"connection_id":132189,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:02:19] local.INFO: Acknowledgment sent {"connection_id":132189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:02:29] local.INFO: TCP Data received {"connection_id":133207,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133207,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:02:29] local.INFO: Processing buffer {"connection_id":133207,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:02:29] local.INFO: IMEI packet received {"connection_id":133207,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 09:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":133207,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:02:31] local.INFO: TCP Data received {"connection_id":132357,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132357,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:02:31] local.INFO: Processing buffer {"connection_id":132357,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:02:31] local.INFO: IMEI packet received {"connection_id":132357,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 09:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":132357,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:02:32] local.INFO: TCP Data received {"connection_id":132357,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132357,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:02:32] local.INFO: Processing buffer {"connection_id":132357,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:02:32] local.INFO: IMEI packet received {"connection_id":132357,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":132357,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:02:34] local.INFO: TCP Data received {"connection_id":133207,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133207,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:02:34] local.INFO: Processing buffer {"connection_id":133207,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:02:34] local.INFO: IMEI packet received {"connection_id":133207,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":133207,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:02:34] local.INFO: TCP Data received {"connection_id":132357,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132357,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:02:34] local.INFO: Processing buffer {"connection_id":132357,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:02:34] local.INFO: IMEI packet received {"connection_id":132357,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":132357,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:02:35] local.INFO: TCP Data received {"connection_id":132357,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d38390012d0af380070660300010009920..."} 
[2026-07-15 09:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d38390012d0af380070660300010009920..."} 
[2026-07-15 09:02:35] local.INFO: Processing buffer {"connection_id":132357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d38390012d0af380070660300010009920..."} 
[2026-07-15 09:02:35] local.INFO: Packet analysis {"connection_id":132357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d3"} 
[2026-07-15 09:02:35] local.INFO: Extracted packet for processing {"connection_id":132357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d3"} 
[2026-07-15 09:02:35] local.INFO: GPS Element Parsed {"raw_longitude":755692416,"raw_latitude":117858352,"longitude_deg":75.5692416,"latitude_deg":11.7858352,"altitude":16,"angle":153,"satellites":32,"speed":30,"hex_longitude":"2d0af380","hex_latitude":"07066030","is_valid_coordinates":true} 
[2026-07-15 09:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726073856001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24586845228630016,"note":"Value kept but may cause issues"} 
[2026-07-15 09:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":787778121241636864,"note":"Value kept but may cause issues"} 
[2026-07-15 09:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784086234000,"timestamp_ms":1784086234000,"timestamp_seconds":1784086234,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d38390"} 
[2026-07-15 09:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-15 09:02:35] 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-07-15 09:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132357,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132357,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726073856001,"66":14461,"163":206,"94":10240,"24":30,"16":24586845228630016,"45":787778121241636864},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-07-15 09:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726073856001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:02:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-15 09:02:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24586845228630016,"km_value":24586845228630.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":787778121241636864,"description":"Unknown IO ID 45"} 
[2026-07-15 09:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726073856001,"power":14461,"unknown_163":206,"unknown_94":10240,"ignition":30,"odometer":null,"unknown_45":787778121241636864}} 
[2026-07-15 09:02:35] local.INFO: TCP Data received {"connection_id":133207,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d26e38012d78cb0005e8fc10000600352a..."} 
[2026-07-15 09:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d26e38012d78cb0005e8fc10000600352a..."} 
[2026-07-15 09:02:35] local.INFO: Processing buffer {"connection_id":133207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d26e38012d78cb0005e8fc10000600352a..."} 
[2026-07-15 09:02:35] local.INFO: Packet analysis {"connection_id":133207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d2"} 
[2026-07-15 09:02:35] local.INFO: Extracted packet for processing {"connection_id":133207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d2"} 
[2026-07-15 09:02:35] local.INFO: GPS Element Parsed {"raw_longitude":762891008,"raw_latitude":99154960,"longitude_deg":76.2891008,"latitude_deg":9.915496,"altitude":6,"angle":53,"satellites":42,"speed":0,"hex_longitude":"2d78cb00","hex_latitude":"05e8fc10","is_valid_coordinates":true} 
[2026-07-15 09:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726052352001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106311714865152000,"note":"Value kept but may cause issues"} 
[2026-07-15 09:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8703558148997982208,"note":"Value kept but may cause issues"} 
[2026-07-15 09:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784086163000,"timestamp_ms":1784086163000,"timestamp_seconds":1784086163,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d26e38"} 
[2026-07-15 09:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-15 09:02:35] 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-07-15 09:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":133207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":133207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":133207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726052352001,"66":13406,"175":206,"87":13824,"24":0,"16":106311714865152000,"45":8703558148997982208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,87,24,16,45]} 
[2026-07-15 09:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726052352001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:02:35] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-15 09:02:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 09:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106311714865152000,"km_value":106311714865152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8703558148997982208,"description":"Unknown IO ID 45"} 
[2026-07-15 09:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726052352001,"power":13406,"unknown_175":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8703558148997982208}} 
[2026-07-15 09:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":132357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490185,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:02:35] local.INFO: GPS data processed {"connection_id":132357,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:02:35] local.INFO: Acknowledgment sent {"connection_id":132357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":133207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490186,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:02:35] local.INFO: GPS data processed {"connection_id":133207,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:02:35] local.INFO: Acknowledgment sent {"connection_id":133207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:02:44] local.INFO: TCP Data received {"connection_id":134576,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d0c470012d7f92c005afdea80000009930..."} 
[2026-07-15 09:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d0c470012d7f92c005afdea80000009930..."} 
[2026-07-15 09:02:44] local.INFO: Processing buffer {"connection_id":134576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d0c470012d7f92c005afdea80000009930..."} 
[2026-07-15 09:02:44] local.INFO: Packet analysis {"connection_id":134576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d0"} 
[2026-07-15 09:02:44] local.INFO: Extracted packet for processing {"connection_id":134576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d0"} 
[2026-07-15 09:02:44] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95411880,"longitude_deg":76.333536,"latitude_deg":9.541188,"altitude":0,"angle":153,"satellites":48,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-07-15 09:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725951488001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 09:02:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193183870027905024,"note":"Value kept but may cause issues"} 
[2026-07-15 09:02:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784086054000,"timestamp_ms":1784086054000,"timestamp_seconds":1784086054,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d0c470"} 
[2026-07-15 09:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:02:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 09:02:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:02:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":134576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":134576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":134576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725951488001,"66":26006,"27":206,"85":12544,"24":0,"16":347094255858089984,"45":9193183870027905024},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725951488001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:02:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:02:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:02:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193183870027905024,"description":"Unknown IO ID 45"} 
[2026-07-15 09:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725951488001,"power":26006,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193183870027905024}} 
[2026-07-15 09:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":134576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:02:44] local.INFO: GPS data processed {"connection_id":134576,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:02:44] local.INFO: Acknowledgment sent {"connection_id":134576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:03:01] local.INFO: TCP Data received {"connection_id":132358,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:03:01] local.INFO: Processing buffer {"connection_id":132358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:03:01] local.INFO: IMEI packet received {"connection_id":132358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":132358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:03:06] local.INFO: TCP Data received {"connection_id":132357,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d5c5b0012d0b4f8007060148000c00dd22..."} 
[2026-07-15 09:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d5c5b0012d0b4f8007060148000c00dd22..."} 
[2026-07-15 09:03:06] local.INFO: Processing buffer {"connection_id":132357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d5c5b0012d0b4f8007060148000c00dd22..."} 
[2026-07-15 09:03:06] local.INFO: Packet analysis {"connection_id":132357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d5"} 
[2026-07-15 09:03:06] local.INFO: Extracted packet for processing {"connection_id":132357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d5"} 
[2026-07-15 09:03:06] local.INFO: GPS Element Parsed {"raw_longitude":755715968,"raw_latitude":117834056,"longitude_deg":75.5715968,"latitude_deg":11.7834056,"altitude":12,"angle":221,"satellites":34,"speed":3,"hex_longitude":"2d0b4f80","hex_latitude":"07060148","is_valid_coordinates":true} 
[2026-07-15 09:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726112512001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24588859568291840,"note":"Value kept but may cause issues"} 
[2026-07-15 09:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815221931463872512,"note":"Value kept but may cause issues"} 
[2026-07-15 09:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784086382000,"timestamp_ms":1784086382000,"timestamp_seconds":1784086382,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d5c5b0"} 
[2026-07-15 09:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-15 09:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132357,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132357,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726112512001,"66":14407,"165":206,"94":10240,"24":3,"16":24588859568291840,"45":815221931463872512},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-15 09:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726112512001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:03:06] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-15 09:03:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24588859568291840,"km_value":24588859568291.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":815221931463872512,"description":"Unknown IO ID 45"} 
[2026-07-15 09:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726112512001,"power":14407,"unknown_165":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":815221931463872512}} 
[2026-07-15 09:03:06] local.INFO: TCP Data received {"connection_id":133207,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d573a8012d79154005e916b80006014329..."} 
[2026-07-15 09:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d573a8012d79154005e916b80006014329..."} 
[2026-07-15 09:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":132357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490188,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:03:06] local.INFO: Processing buffer {"connection_id":133207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d573a8012d79154005e916b80006014329..."} 
[2026-07-15 09:03:06] local.INFO: GPS data processed {"connection_id":132357,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:03:06] local.INFO: Packet analysis {"connection_id":133207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d5"} 
[2026-07-15 09:03:06] local.INFO: Acknowledgment sent {"connection_id":132357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:03:06] local.INFO: Extracted packet for processing {"connection_id":133207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d5"} 
[2026-07-15 09:03:06] local.INFO: GPS Element Parsed {"raw_longitude":762910016,"raw_latitude":99161784,"longitude_deg":76.2910016,"latitude_deg":9.9161784,"altitude":6,"angle":323,"satellites":41,"speed":6,"hex_longitude":"2d791540","hex_latitude":"05e916b8","is_valid_coordinates":true} 
[2026-07-15 09:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726103296001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106312732772401152,"note":"Value kept but may cause issues"} 
[2026-07-15 09:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8723120659880818688,"note":"Value kept but may cause issues"} 
[2026-07-15 09:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784086361000,"timestamp_ms":1784086361000,"timestamp_seconds":1784086361,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d573a8"} 
[2026-07-15 09:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-15 09:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726103296001,"66":13222,"23":206,"87":13824,"24":6,"16":106312732772401152,"45":8723120659880818688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,87,24,16,45]} 
[2026-07-15 09:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726103296001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:03:06] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-15 09:03:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 09:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106312732772401152,"km_value":106312732772401.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8723120659880818688,"description":"Unknown IO ID 45"} 
[2026-07-15 09:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726103296001,"power":13222,"unknown_23":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8723120659880818688}} 
[2026-07-15 09:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":133207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490189,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:03:06] local.INFO: GPS data processed {"connection_id":133207,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:03:06] local.INFO: Acknowledgment sent {"connection_id":133207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:03:07] local.INFO: TCP Data received {"connection_id":132358,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:03:07] local.INFO: Processing buffer {"connection_id":132358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:03:07] local.INFO: IMEI packet received {"connection_id":132358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":132358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:03:07] local.INFO: TCP Data received {"connection_id":132358,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d0c470012d7f92c005afdea80000009930..."} 
[2026-07-15 09:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d0c470012d7f92c005afdea80000009930..."} 
[2026-07-15 09:03:08] local.INFO: Processing buffer {"connection_id":132358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d0c470012d7f92c005afdea80000009930..."} 
[2026-07-15 09:03:08] local.INFO: Packet analysis {"connection_id":132358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d0"} 
[2026-07-15 09:03:08] local.INFO: Extracted packet for processing {"connection_id":132358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d0"} 
[2026-07-15 09:03:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95411880,"longitude_deg":76.333536,"latitude_deg":9.541188,"altitude":0,"angle":153,"satellites":48,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456725951488001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 09:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193183870027905024,"note":"Value kept but may cause issues"} 
[2026-07-15 09:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784086054000,"timestamp_ms":1784086054000,"timestamp_seconds":1784086054,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d0c470"} 
[2026-07-15 09:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 09:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456725951488001,"66":26006,"27":206,"85":12544,"24":0,"16":347094255858089984,"45":9193183870027905024},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456725951488001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:03:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:03:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193183870027905024,"description":"Unknown IO ID 45"} 
[2026-07-15 09:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456725951488001,"power":26006,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193183870027905024}} 
[2026-07-15 09:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":132358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:03:08] local.INFO: GPS data processed {"connection_id":132358,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:03:08] local.INFO: Acknowledgment sent {"connection_id":132358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:03:29] local.INFO: TCP Data received {"connection_id":133209,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133209,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:03:29] local.INFO: Processing buffer {"connection_id":133209,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:03:29] local.INFO: IMEI packet received {"connection_id":133209,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 09:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":133209,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:03:34] local.INFO: TCP Data received {"connection_id":133209,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133209,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:03:34] local.INFO: Processing buffer {"connection_id":133209,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:03:34] local.INFO: IMEI packet received {"connection_id":133209,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":133209,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:03:34] local.INFO: TCP Data received {"connection_id":132359,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132359,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:03:34] local.INFO: Processing buffer {"connection_id":132359,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:03:34] local.INFO: IMEI packet received {"connection_id":132359,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 09:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":132359,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:03:35] local.INFO: TCP Data received {"connection_id":133209,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d58348012d7912c005e91a500005014f2a..."} 
[2026-07-15 09:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d58348012d7912c005e91a500005014f2a..."} 
[2026-07-15 09:03:35] local.INFO: Processing buffer {"connection_id":133209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d58348012d7912c005e91a500005014f2a..."} 
[2026-07-15 09:03:35] local.INFO: Packet analysis {"connection_id":133209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d5"} 
[2026-07-15 09:03:35] local.INFO: Extracted packet for processing {"connection_id":133209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d5"} 
[2026-07-15 09:03:35] local.INFO: GPS Element Parsed {"raw_longitude":762909376,"raw_latitude":99162704,"longitude_deg":76.2909376,"latitude_deg":9.9162704,"altitude":5,"angle":335,"satellites":42,"speed":11,"hex_longitude":"2d7912c0","hex_latitude":"05e91a50","is_valid_coordinates":true} 
[2026-07-15 09:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726108416001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106312788606976000,"note":"Value kept but may cause issues"} 
[2026-07-15 09:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8724950247229798400,"note":"Value kept but may cause issues"} 
[2026-07-15 09:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784086365000,"timestamp_ms":1784086365000,"timestamp_seconds":1784086365,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d58348"} 
[2026-07-15 09:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-15 09:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":133209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":133209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":133209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726108416001,"66":13319,"23":206,"87":13824,"24":11,"16":106312788606976000,"45":8724950247229798400},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,87,24,16,45]} 
[2026-07-15 09:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726108416001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:03:35] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-15 09:03:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 09:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106312788606976000,"km_value":106312788606976,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8724950247229798400,"description":"Unknown IO ID 45"} 
[2026-07-15 09:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726108416001,"power":13319,"unknown_23":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8724950247229798400}} 
[2026-07-15 09:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":133209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490191,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:03:35] local.INFO: GPS data processed {"connection_id":133209,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:03:35] local.INFO: Acknowledgment sent {"connection_id":133209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:03:38] local.INFO: TCP Data received {"connection_id":132358,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d55c38012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d55c38012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:03:38] local.INFO: Processing buffer {"connection_id":132358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d55c38012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:03:38] local.INFO: Packet analysis {"connection_id":132358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d5"} 
[2026-07-15 09:03:38] local.INFO: Extracted packet for processing {"connection_id":132358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d5"} 
[2026-07-15 09:03:38] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95411880,"longitude_deg":76.333536,"latitude_deg":9.541188,"altitude":0,"angle":153,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-07-15 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-07-15 09:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726029824001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 09:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074577920,"note":"Value kept but may cause issues"} 
[2026-07-15 09:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784086355000,"timestamp_ms":1784086355000,"timestamp_seconds":1784086355,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d55c38"} 
[2026-07-15 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-07-15 09:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 09:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 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-07-15 09:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726029824001,"66":25952,"27":206,"85":12544,"24":0,"16":347094255858089984,"45":9192620920074577920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726029824001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:03:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:03:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074577920,"description":"Unknown IO ID 45"} 
[2026-07-15 09:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726029824001,"power":25952,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074577920}} 
[2026-07-15 09:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":132358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:03:39] local.INFO: GPS data processed {"connection_id":132358,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:03:39] local.INFO: Acknowledgment sent {"connection_id":132358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:03:40] local.INFO: TCP Data received {"connection_id":132359,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132359,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:03:40] local.INFO: Processing buffer {"connection_id":132359,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:03:40] local.INFO: IMEI packet received {"connection_id":132359,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":132359,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:03:40] local.INFO: TCP Data received {"connection_id":132359,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d5c998012d0b4f80070600f8000c00c822..."} 
[2026-07-15 09:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d5c998012d0b4f80070600f8000c00c822..."} 
[2026-07-15 09:03:40] local.INFO: Processing buffer {"connection_id":132359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d5c998012d0b4f80070600f8000c00c822..."} 
[2026-07-15 09:03:40] local.INFO: Packet analysis {"connection_id":132359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d5"} 
[2026-07-15 09:03:40] local.INFO: Extracted packet for processing {"connection_id":132359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d5"} 
[2026-07-15 09:03:40] local.INFO: GPS Element Parsed {"raw_longitude":755715968,"raw_latitude":117833976,"longitude_deg":75.5715968,"latitude_deg":11.7833976,"altitude":12,"angle":200,"satellites":34,"speed":3,"hex_longitude":"2d0b4f80","hex_latitude":"070600f8","is_valid_coordinates":true} 
[2026-07-15 09:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726113792001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24588863863259136,"note":"Value kept but may cause issues"} 
[2026-07-15 09:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815010825231222784,"note":"Value kept but may cause issues"} 
[2026-07-15 09:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784086383000,"timestamp_ms":1784086383000,"timestamp_seconds":1784086383,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d5c998"} 
[2026-07-15 09:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-15 09:03:40] 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-07-15 09:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132359,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132359,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726113792001,"66":14407,"165":206,"94":10240,"24":3,"16":24588863863259136,"45":815010825231222784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-15 09:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726113792001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:03:40] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-15 09:03:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24588863863259136,"km_value":24588863863259.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":815010825231222784,"description":"Unknown IO ID 45"} 
[2026-07-15 09:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726113792001,"power":14407,"unknown_165":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":815010825231222784}} 
[2026-07-15 09:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":132359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490193,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:03:40] local.INFO: GPS data processed {"connection_id":132359,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:03:40] local.INFO: Acknowledgment sent {"connection_id":132359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:03:41] local.INFO: TCP Data received {"connection_id":132359,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d5cd80012d0b4f00070600c0000c00d722..."} 
[2026-07-15 09:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d5cd80012d0b4f00070600c0000c00d722..."} 
[2026-07-15 09:03:41] local.INFO: Processing buffer {"connection_id":132359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d5cd80012d0b4f00070600c0000c00d722..."} 
[2026-07-15 09:03:41] local.INFO: Packet analysis {"connection_id":132359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d5"} 
[2026-07-15 09:03:41] local.INFO: Extracted packet for processing {"connection_id":132359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d5"} 
[2026-07-15 09:03:41] local.INFO: GPS Element Parsed {"raw_longitude":755715840,"raw_latitude":117833920,"longitude_deg":75.571584,"latitude_deg":11.783392,"altitude":12,"angle":215,"satellites":34,"speed":2,"hex_longitude":"2d0b4f00","hex_latitude":"070600c0","is_valid_coordinates":true} 
[2026-07-15 09:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726114048001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24588868158226432,"note":"Value kept but may cause issues"} 
[2026-07-15 09:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815010825231202304,"note":"Value kept but may cause issues"} 
[2026-07-15 09:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784086384000,"timestamp_ms":1784086384000,"timestamp_seconds":1784086384,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d5cd80"} 
[2026-07-15 09:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-15 09:03:41] 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-07-15 09:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132359,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132359,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726114048001,"66":14396,"165":206,"94":10240,"24":2,"16":24588868158226432,"45":815010825231202304},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-15 09:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726114048001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:03:41] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-15 09:03:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24588868158226432,"km_value":24588868158226.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":815010825231202304,"description":"Unknown IO ID 45"} 
[2026-07-15 09:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726114048001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":815010825231202304}} 
[2026-07-15 09:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":132359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490194,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:03:41] local.INFO: GPS data processed {"connection_id":132359,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:03:41] local.INFO: Acknowledgment sent {"connection_id":132359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:04:02] local.INFO: TCP Data received {"connection_id":133210,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:04:02] local.INFO: Processing buffer {"connection_id":133210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:04:02] local.INFO: IMEI packet received {"connection_id":133210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":133210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:04:06] local.INFO: TCP Data received {"connection_id":133209,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d5c1c8012d79064005e93ae80003014e29..."} 
[2026-07-15 09:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d5c1c8012d79064005e93ae80003014e29..."} 
[2026-07-15 09:04:06] local.INFO: Processing buffer {"connection_id":133209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d5c1c8012d79064005e93ae80003014e29..."} 
[2026-07-15 09:04:06] local.INFO: Packet analysis {"connection_id":133209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d5"} 
[2026-07-15 09:04:06] local.INFO: Extracted packet for processing {"connection_id":133209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d5"} 
[2026-07-15 09:04:06] local.INFO: GPS Element Parsed {"raw_longitude":762906176,"raw_latitude":99171048,"longitude_deg":76.2906176,"latitude_deg":9.9171048,"altitude":3,"angle":334,"satellites":41,"speed":17,"hex_longitude":"2d790640","hex_latitude":"05e93ae8","is_valid_coordinates":true} 
[2026-07-15 09:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726109440001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106313218103705600,"note":"Value kept but may cause issues"} 
[2026-07-15 09:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8724246559788257280,"note":"Value kept but may cause issues"} 
[2026-07-15 09:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784086381000,"timestamp_ms":1784086381000,"timestamp_seconds":1784086381,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d5c1c8"} 
[2026-07-15 09:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-15 09:04:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 09:04:06] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2147483648,"note":"Value kept but may cause issues"} 
[2026-07-15 09:04:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-07-15 09:04:06] local.WARNING: Large IO value detected {"io_id":99,"raw_value":3565510657,"note":"Value kept but may cause issues"} 
[2026-07-15 09:04:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":649003214,"corrected_to":0} 
[2026-07-15 09:04:06] local.WARNING: Large IO value detected {"io_id":121,"raw_value":2990538752,"note":"Value kept but may cause issues"} 
[2026-07-15 09:04:06] local.WARNING: Large IO value detected {"io_id":248,"raw_value":57744903300339510,"note":"Value kept but may cause issues"} 
[2026-07-15 09:04:06] local.WARNING: Large IO value detected {"io_id":212,"raw_value":603483644879536133,"note":"Value kept but may cause issues"} 
[2026-07-15 09:04:06] local.WARNING: Large IO value detected {"io_id":232,"raw_value":-254453357468112128,"note":"Value kept but may cause issues"} 
[2026-07-15 09:04:06] local.INFO: IO Element Parsed {"io_data_count":47,"io_data_keys":[0,23,87,24,241,157,16,178,159,115,45,64,22,6,41,10,66,37,192,17,8,42,211,128,1,240,105,227,99,233,4,113,205,14,94,229,44,239,51,175,2,121,5,9,248,212,232],"length":527,"final_offset":657,"validated_count":47,"validation_warnings":[{"io_id":205,"original":649003214,"validated":0}]} 
[2026-07-15 09:04:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360656486974291968,"timestamp_seconds":360656486974291.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 09:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726109440001,"66":12689,"23":206,"87":13824,"24":17,"16":106313218103705600,"45":8724246559788257280},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,87,24,16,45]} 
[2026-07-15 09:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726109440001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:04:06] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-15 09:04:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 09:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106313218103705600,"km_value":106313218103705.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8724246559788257280,"description":"Unknown IO ID 45"} 
[2026-07-15 09:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726109440001,"power":12689,"unknown_23":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8724246559788257280}} 
[2026-07-15 09:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":133209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490195,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:04:06] local.INFO: GPS data processed {"connection_id":133209,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:04:06] local.INFO: Acknowledgment sent {"connection_id":133209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:04:07] local.INFO: TCP Data received {"connection_id":133210,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:04:07] local.INFO: Processing buffer {"connection_id":133210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:04:07] local.INFO: IMEI packet received {"connection_id":133210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":133210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:04:07] local.INFO: TCP Data received {"connection_id":133210,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d55c38012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d55c38012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:04:07] local.INFO: Processing buffer {"connection_id":133210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d55c38012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:04:07] local.INFO: Packet analysis {"connection_id":133210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d5"} 
[2026-07-15 09:04:07] local.INFO: Extracted packet for processing {"connection_id":133210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d5"} 
[2026-07-15 09:04:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95411880,"longitude_deg":76.333536,"latitude_deg":9.541188,"altitude":0,"angle":153,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-07-15 09:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726029824001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 09:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074577920,"note":"Value kept but may cause issues"} 
[2026-07-15 09:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784086355000,"timestamp_ms":1784086355000,"timestamp_seconds":1784086355,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d55c38"} 
[2026-07-15 09:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 09:04:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:04:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726029824001,"66":25952,"27":206,"85":12544,"24":0,"16":347094255858089984,"45":9192620920074577920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726029824001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:04:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:04:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074577920,"description":"Unknown IO ID 45"} 
[2026-07-15 09:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726029824001,"power":25952,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074577920}} 
[2026-07-15 09:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":133210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:04:07] local.INFO: GPS data processed {"connection_id":133210,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:04:07] local.INFO: Acknowledgment sent {"connection_id":133210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:04:12] local.INFO: TCP Data received {"connection_id":132359,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d6b7e0012d0b2b0007060c08000b00a522..."} 
[2026-07-15 09:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d6b7e0012d0b2b0007060c08000b00a522..."} 
[2026-07-15 09:04:12] local.INFO: Processing buffer {"connection_id":132359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d6b7e0012d0b2b0007060c08000b00a522..."} 
[2026-07-15 09:04:12] local.INFO: Packet analysis {"connection_id":132359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d6"} 
[2026-07-15 09:04:12] local.INFO: Extracted packet for processing {"connection_id":132359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d6"} 
[2026-07-15 09:04:12] local.INFO: GPS Element Parsed {"raw_longitude":755706624,"raw_latitude":117836808,"longitude_deg":75.5706624,"latitude_deg":11.7836808,"altitude":11,"angle":165,"satellites":34,"speed":7,"hex_longitude":"2d0b2b00","hex_latitude":"07060c08","is_valid_coordinates":true} 
[2026-07-15 09:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726129408001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24589525288222720,"note":"Value kept but may cause issues"} 
[2026-07-15 09:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804666619837851648,"note":"Value kept but may cause issues"} 
[2026-07-15 09:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784086444000,"timestamp_ms":1784086444000,"timestamp_seconds":1784086444,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d6b7e0"} 
[2026-07-15 09:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-15 09:04:12] 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-07-15 09:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132359,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132359,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726129408001,"66":14374,"165":206,"94":10240,"24":7,"16":24589525288222720,"45":804666619837851648},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-15 09:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726129408001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:04:12] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-15 09:04:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24589525288222720,"km_value":24589525288222.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":804666619837851648,"description":"Unknown IO ID 45"} 
[2026-07-15 09:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726129408001,"power":14374,"unknown_165":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":804666619837851648}} 
[2026-07-15 09:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":132359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490197,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:04:12] local.INFO: GPS data processed {"connection_id":132359,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:04:12] local.INFO: Acknowledgment sent {"connection_id":132359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:04:30] local.INFO: TCP Data received {"connection_id":132191,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132191,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:04:30] local.INFO: Processing buffer {"connection_id":132191,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:04:30] local.INFO: IMEI packet received {"connection_id":132191,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 09:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":132191,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:04:30] local.INFO: TCP Data received {"connection_id":132191,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132191,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:04:30] local.INFO: Processing buffer {"connection_id":132191,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:04:30] local.INFO: IMEI packet received {"connection_id":132191,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":132191,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:04:34] local.INFO: TCP Data received {"connection_id":132360,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132360,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:04:34] local.INFO: Processing buffer {"connection_id":132360,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:04:34] local.INFO: IMEI packet received {"connection_id":132360,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 09:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":132360,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:04:35] local.INFO: TCP Data received {"connection_id":132191,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132191,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:04:35] local.INFO: Processing buffer {"connection_id":132191,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:04:35] local.INFO: IMEI packet received {"connection_id":132191,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":132191,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:04:35] local.INFO: TCP Data received {"connection_id":132191,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d6bbc8012d0b2b0007060b30000b00b022..."} 
[2026-07-15 09:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d6bbc8012d0b2b0007060b30000b00b022..."} 
[2026-07-15 09:04:35] local.INFO: Processing buffer {"connection_id":132191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d6bbc8012d0b2b0007060b30000b00b022..."} 
[2026-07-15 09:04:35] local.INFO: Packet analysis {"connection_id":132191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d6"} 
[2026-07-15 09:04:35] local.INFO: Extracted packet for processing {"connection_id":132191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d6"} 
[2026-07-15 09:04:35] local.INFO: GPS Element Parsed {"raw_longitude":755706624,"raw_latitude":117836592,"longitude_deg":75.5706624,"latitude_deg":11.7836592,"altitude":11,"angle":176,"satellites":34,"speed":10,"hex_longitude":"2d0b2b00","hex_latitude":"07060b30","is_valid_coordinates":true} 
[2026-07-15 09:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726129664001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24589533878157312,"note":"Value kept but may cause issues"} 
[2026-07-15 09:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804736988581988352,"note":"Value kept but may cause issues"} 
[2026-07-15 09:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784086445000,"timestamp_ms":1784086445000,"timestamp_seconds":1784086445,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d6bbc8"} 
[2026-07-15 09:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-15 09:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132191,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132191,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726129664001,"66":14374,"165":206,"94":10240,"24":10,"16":24589533878157312,"45":804736988581988352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-15 09:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726129664001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:04:35] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-15 09:04:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24589533878157312,"km_value":24589533878157.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":804736988581988352,"description":"Unknown IO ID 45"} 
[2026-07-15 09:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726129664001,"power":14374,"unknown_165":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":804736988581988352}} 
[2026-07-15 09:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":132191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490198,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:04:36] local.INFO: GPS data processed {"connection_id":132191,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:04:36] local.INFO: Acknowledgment sent {"connection_id":132191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:04:37] local.INFO: TCP Data received {"connection_id":132191,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d6c398012d0b2b00070608d8000b00c120..."} 
[2026-07-15 09:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d6c398012d0b2b00070608d8000b00c120..."} 
[2026-07-15 09:04:37] local.INFO: Processing buffer {"connection_id":132191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d6c398012d0b2b00070608d8000b00c120..."} 
[2026-07-15 09:04:37] local.INFO: Packet analysis {"connection_id":132191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d6"} 
[2026-07-15 09:04:37] local.INFO: Extracted packet for processing {"connection_id":132191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d6"} 
[2026-07-15 09:04:37] local.INFO: GPS Element Parsed {"raw_longitude":755706624,"raw_latitude":117835992,"longitude_deg":75.5706624,"latitude_deg":11.7835992,"altitude":11,"angle":193,"satellites":32,"speed":12,"hex_longitude":"2d0b2b00","hex_latitude":"070608d8","is_valid_coordinates":true} 
[2026-07-15 09:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726129920001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24589563942928384,"note":"Value kept but may cause issues"} 
[2026-07-15 09:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804736988581933056,"note":"Value kept but may cause issues"} 
[2026-07-15 09:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784086447000,"timestamp_ms":1784086447000,"timestamp_seconds":1784086447,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d6c398"} 
[2026-07-15 09:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-15 09:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132191,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132191,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726129920001,"66":14396,"165":206,"94":10240,"24":12,"16":24589563942928384,"45":804736988581933056},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-15 09:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726129920001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:04:37] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-15 09:04:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24589563942928384,"km_value":24589563942928.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":804736988581933056,"description":"Unknown IO ID 45"} 
[2026-07-15 09:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726129920001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":804736988581933056}} 
[2026-07-15 09:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":132191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490199,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:04:37] local.INFO: GPS data processed {"connection_id":132191,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:04:37] local.INFO: Acknowledgment sent {"connection_id":132191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:04:38] local.INFO: TCP Data received {"connection_id":133210,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d55c38012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d55c38012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:04:38] local.INFO: Processing buffer {"connection_id":133210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d55c38012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:04:38] local.INFO: Packet analysis {"connection_id":133210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d5"} 
[2026-07-15 09:04:38] local.INFO: Extracted packet for processing {"connection_id":133210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d5"} 
[2026-07-15 09:04:38] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95411880,"longitude_deg":76.333536,"latitude_deg":9.541188,"altitude":0,"angle":153,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726029824001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 09:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074577920,"note":"Value kept but may cause issues"} 
[2026-07-15 09:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784086355000,"timestamp_ms":1784086355000,"timestamp_seconds":1784086355,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d55c38"} 
[2026-07-15 09:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 09:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726029824001,"66":25952,"27":206,"85":12544,"24":0,"16":347094255858089984,"45":9192620920074577920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726029824001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:04:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:04:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074577920,"description":"Unknown IO ID 45"} 
[2026-07-15 09:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726029824001,"power":25952,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074577920}} 
[2026-07-15 09:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":133210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:04:38] local.INFO: GPS data processed {"connection_id":133210,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:04:38] local.INFO: Acknowledgment sent {"connection_id":133210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:04:40] local.INFO: TCP Data received {"connection_id":132360,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132360,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:04:40] local.INFO: Processing buffer {"connection_id":132360,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:04:40] local.INFO: IMEI packet received {"connection_id":132360,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":132360,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:04:41] local.INFO: TCP Data received {"connection_id":132360,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d60818012d79038005e943500005015a2a..."} 
[2026-07-15 09:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d60818012d79038005e943500005015a2a..."} 
[2026-07-15 09:04:41] local.INFO: Processing buffer {"connection_id":132360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d60818012d79038005e943500005015a2a..."} 
[2026-07-15 09:04:41] local.INFO: Packet analysis {"connection_id":132360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d6"} 
[2026-07-15 09:04:41] local.INFO: Extracted packet for processing {"connection_id":132360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d6"} 
[2026-07-15 09:04:41] local.INFO: GPS Element Parsed {"raw_longitude":762905472,"raw_latitude":99173200,"longitude_deg":76.2905472,"latitude_deg":9.91732,"altitude":5,"angle":346,"satellites":42,"speed":3,"hex_longitude":"2d790380","hex_latitude":"05e94350","is_valid_coordinates":true} 
[2026-07-15 09:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726113536001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106313334067822592,"note":"Value kept but may cause issues"} 
[2026-07-15 09:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8720728122581510144,"note":"Value kept but may cause issues"} 
[2026-07-15 09:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784086399000,"timestamp_ms":1784086399000,"timestamp_seconds":1784086399,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d60818"} 
[2026-07-15 09:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-15 09:04:41] 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-07-15 09:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726113536001,"66":13091,"23":206,"87":13824,"24":3,"16":106313334067822592,"45":8720728122581510144},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,87,24,16,45]} 
[2026-07-15 09:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726113536001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:04:41] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-15 09:04:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 09:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106313334067822592,"km_value":106313334067822.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8720728122581510144,"description":"Unknown IO ID 45"} 
[2026-07-15 09:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726113536001,"power":13091,"unknown_23":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8720728122581510144}} 
[2026-07-15 09:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":132360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490201,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:04:42] local.INFO: GPS data processed {"connection_id":132360,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:04:42] local.INFO: Acknowledgment sent {"connection_id":132360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:04:44] local.INFO: TCP Data received {"connection_id":132360,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d642b0012d78fcc005e956100002014c29..."} 
[2026-07-15 09:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d642b0012d78fcc005e956100002014c29..."} 
[2026-07-15 09:04:44] local.INFO: Processing buffer {"connection_id":132360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d642b0012d78fcc005e956100002014c29..."} 
[2026-07-15 09:04:44] local.INFO: Packet analysis {"connection_id":132360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d6"} 
[2026-07-15 09:04:44] local.INFO: Extracted packet for processing {"connection_id":132360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d6"} 
[2026-07-15 09:04:44] local.INFO: GPS Element Parsed {"raw_longitude":762903744,"raw_latitude":99178000,"longitude_deg":76.2903744,"latitude_deg":9.9178,"altitude":2,"angle":332,"satellites":41,"speed":11,"hex_longitude":"2d78fcc0","hex_latitude":"05e95610","is_valid_coordinates":true} 
[2026-07-15 09:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726118144001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106313578880958464,"note":"Value kept but may cause issues"} 
[2026-07-15 09:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8719954066396106752,"note":"Value kept but may cause issues"} 
[2026-07-15 09:04:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784086414000,"timestamp_ms":1784086414000,"timestamp_seconds":1784086414,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d642b0"} 
[2026-07-15 09:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:04:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-15 09:04:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:04:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":132360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":132360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":132360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726118144001,"66":13319,"23":206,"87":13824,"24":11,"16":106313578880958464,"45":8719954066396106752},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,87,24,16,45]} 
[2026-07-15 09:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726118144001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:04:44] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-15 09:04:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 09:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106313578880958464,"km_value":106313578880958.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8719954066396106752,"description":"Unknown IO ID 45"} 
[2026-07-15 09:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726118144001,"power":13319,"unknown_23":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8719954066396106752}} 
[2026-07-15 09:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":132360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490202,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:04:44] local.INFO: GPS data processed {"connection_id":132360,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:04:44] local.INFO: Acknowledgment sent {"connection_id":132360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:05:02] local.INFO: TCP Data received {"connection_id":132192,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:05:02] local.INFO: Processing buffer {"connection_id":132192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:05:02] local.INFO: IMEI packet received {"connection_id":132192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":132192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:05:07] local.INFO: TCP Data received {"connection_id":132192,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:05:07] local.INFO: Processing buffer {"connection_id":132192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:05:07] local.INFO: IMEI packet received {"connection_id":132192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":132192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:05:07] local.INFO: TCP Data received {"connection_id":132192,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d55c38012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d55c38012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:05:07] local.INFO: Processing buffer {"connection_id":132192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d55c38012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:05:07] local.INFO: Packet analysis {"connection_id":132192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d5"} 
[2026-07-15 09:05:07] local.INFO: Extracted packet for processing {"connection_id":132192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d5"} 
[2026-07-15 09:05:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95411880,"longitude_deg":76.333536,"latitude_deg":9.541188,"altitude":0,"angle":153,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-07-15 09:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726029824001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 09:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074577920,"note":"Value kept but may cause issues"} 
[2026-07-15 09:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784086355000,"timestamp_ms":1784086355000,"timestamp_seconds":1784086355,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d55c38"} 
[2026-07-15 09:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 09:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726029824001,"66":25952,"27":206,"85":12544,"24":0,"16":347094255858089984,"45":9192620920074577920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726029824001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:05:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:05:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074577920,"description":"Unknown IO ID 45"} 
[2026-07-15 09:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726029824001,"power":25952,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074577920}} 
[2026-07-15 09:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":132192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:05:07] local.INFO: GPS data processed {"connection_id":132192,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:05:07] local.INFO: Acknowledgment sent {"connection_id":132192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:05:09] local.INFO: TCP Data received {"connection_id":132191,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d6f278012d0b23800705e6d8000d00b322..."} 
[2026-07-15 09:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d6f278012d0b23800705e6d8000d00b322..."} 
[2026-07-15 09:05:09] local.INFO: Processing buffer {"connection_id":132191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d6f278012d0b23800705e6d8000d00b322..."} 
[2026-07-15 09:05:09] local.INFO: Packet analysis {"connection_id":132191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d6"} 
[2026-07-15 09:05:09] local.INFO: Extracted packet for processing {"connection_id":132191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d6"} 
[2026-07-15 09:05:09] local.INFO: GPS Element Parsed {"raw_longitude":755704704,"raw_latitude":117827288,"longitude_deg":75.5704704,"latitude_deg":11.7827288,"altitude":13,"angle":179,"satellites":34,"speed":41,"hex_longitude":"2d0b2380","hex_latitude":"0705e6d8","is_valid_coordinates":true} 
[2026-07-15 09:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726130432001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24589997734625280,"note":"Value kept but may cause issues"} 
[2026-07-15 09:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804736988581779456,"note":"Value kept but may cause issues"} 
[2026-07-15 09:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784086459000,"timestamp_ms":1784086459000,"timestamp_seconds":1784086459,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d6f278"} 
[2026-07-15 09:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-15 09:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":132191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":132191,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":132191,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726130432001,"66":14515,"165":206,"94":10240,"24":41,"16":24589997734625280,"45":804736988581779456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-15 09:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726130432001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:05:09] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-15 09:05:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24589997734625280,"km_value":24589997734625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":804736988581779456,"description":"Unknown IO ID 45"} 
[2026-07-15 09:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726130432001,"power":14515,"unknown_165":206,"unknown_94":10240,"ignition":41,"odometer":null,"unknown_45":804736988581779456}} 
[2026-07-15 09:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":132191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490204,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:05:09] local.INFO: GPS data processed {"connection_id":132191,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:05:09] local.INFO: Acknowledgment sent {"connection_id":132191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:05:29] local.INFO: TCP Data received {"connection_id":132363,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132363,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:05:29] local.INFO: Processing buffer {"connection_id":132363,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:05:29] local.INFO: IMEI packet received {"connection_id":132363,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 09:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":132363,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:05:30] local.INFO: TCP Data received {"connection_id":132362,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132362,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:05:30] local.INFO: Processing buffer {"connection_id":132362,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:05:30] local.INFO: IMEI packet received {"connection_id":132362,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 09:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":132362,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:05:34] local.INFO: TCP Data received {"connection_id":132362,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132362,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:05:34] local.INFO: Processing buffer {"connection_id":132362,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:05:34] local.INFO: IMEI packet received {"connection_id":132362,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":132362,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:05:35] local.INFO: TCP Data received {"connection_id":132363,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132363,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:05:35] local.INFO: Processing buffer {"connection_id":132363,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:05:35] local.INFO: IMEI packet received {"connection_id":132363,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":132363,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:05:35] local.INFO: TCP Data received {"connection_id":132362,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d694b8012d78ec0005e972380003014329..."} 
[2026-07-15 09:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d694b8012d78ec0005e972380003014329..."} 
[2026-07-15 09:05:35] local.INFO: Processing buffer {"connection_id":132362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d694b8012d78ec0005e972380003014329..."} 
[2026-07-15 09:05:35] local.INFO: Packet analysis {"connection_id":132362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d6"} 
[2026-07-15 09:05:35] local.INFO: Extracted packet for processing {"connection_id":132362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d6"} 
[2026-07-15 09:05:35] local.INFO: GPS Element Parsed {"raw_longitude":762899456,"raw_latitude":99185208,"longitude_deg":76.2899456,"latitude_deg":9.9185208,"altitude":3,"angle":323,"satellites":41,"speed":18,"hex_longitude":"2d78ec00","hex_latitude":"05e97238","is_valid_coordinates":true} 
[2026-07-15 09:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726121984001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106313986902851584,"note":"Value kept but may cause issues"} 
[2026-07-15 09:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8718054110304538624,"note":"Value kept but may cause issues"} 
[2026-07-15 09:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784086435000,"timestamp_ms":1784086435000,"timestamp_seconds":1784086435,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d694b8"} 
[2026-07-15 09:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-15 09:05:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 09:05:35] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3909881856,"note":"Value kept but may cause issues"} 
[2026-07-15 09:05:35] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-15 09:05:35] local.WARNING: Large IO value detected {"io_id":178,"raw_value":3942645760,"note":"Value kept but may cause issues"} 
[2026-07-15 09:05:35] local.WARNING: Large IO value detected {"io_id":99,"raw_value":3581126657,"note":"Value kept but may cause issues"} 
[2026-07-15 09:05:35] local.WARNING: Large IO value detected {"io_id":233,"raw_value":799388959633189632,"note":"Value kept but may cause issues"} 
[2026-07-15 09:05:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2987851982,"corrected_to":0} 
[2026-07-15 09:05:35] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2281778553,"note":"Value kept but may cause issues"} 
[2026-07-15 09:05:35] local.WARNING: Large IO value detected {"io_id":14,"raw_value":3221612817,"note":"Value kept but may cause issues"} 
[2026-07-15 09:05:35] local.WARNING: Large IO value detected {"io_id":121,"raw_value":2998665216,"note":"Value kept but may cause issues"} 
[2026-07-15 09:05:35] local.WARNING: Large IO value detected {"io_id":105,"raw_value":57744903300339510,"note":"Value kept but may cause issues"} 
[2026-07-15 09:05:35] local.WARNING: Large IO value detected {"io_id":212,"raw_value":-8836061174086352891,"note":"Value kept but may cause issues"} 
[2026-07-15 09:05:35] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,23,87,24,241,157,16,179,159,8,45,128,67,5,42,10,66,193,64,58,3,41,131,192,1,240,7,227,178,99,233,4,113,205,6,37,14,56,239,52,2,121,105,212],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2987851982,"validated":0}]} 
[2026-07-15 09:05:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144480402030657536,"timestamp_seconds":144480402030657.53,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 09:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132362,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132362,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726121984001,"66":12765,"23":206,"87":13824,"24":18,"16":106313986902851584,"45":8718054110304538624},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,87,24,16,45]} 
[2026-07-15 09:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726121984001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:05:35] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-15 09:05:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 09:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106313986902851584,"km_value":106313986902851.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8718054110304538624,"description":"Unknown IO ID 45"} 
[2026-07-15 09:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726121984001,"power":12765,"unknown_23":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8718054110304538624}} 
[2026-07-15 09:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":132362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490205,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:05:35] local.INFO: GPS data processed {"connection_id":132362,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:05:35] local.INFO: Acknowledgment sent {"connection_id":132362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:05:35] local.INFO: TCP Data received {"connection_id":132363,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d7d508012d0ae50007059358001d012122..."} 
[2026-07-15 09:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d7d508012d0ae50007059358001d012122..."} 
[2026-07-15 09:05:35] local.INFO: Processing buffer {"connection_id":132363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d7d508012d0ae50007059358001d012122..."} 
[2026-07-15 09:05:35] local.INFO: Packet analysis {"connection_id":132363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d7"} 
[2026-07-15 09:05:35] local.INFO: Extracted packet for processing {"connection_id":132363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d7"} 
[2026-07-15 09:05:35] local.INFO: GPS Element Parsed {"raw_longitude":755688704,"raw_latitude":117805912,"longitude_deg":75.5688704,"latitude_deg":11.7805912,"altitude":29,"angle":289,"satellites":34,"speed":17,"hex_longitude":"2d0ae500","hex_latitude":"07059358","is_valid_coordinates":true} 
[2026-07-15 09:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726148096001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24591685656772608,"note":"Value kept but may cause issues"} 
[2026-07-15 09:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":785455952669378560,"note":"Value kept but may cause issues"} 
[2026-07-15 09:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784086517000,"timestamp_ms":1784086517000,"timestamp_seconds":1784086517,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d7d508"} 
[2026-07-15 09:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-15 09:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132363,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132363,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726148096001,"66":14309,"165":206,"94":10240,"24":17,"16":24591685656772608,"45":785455952669378560},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-15 09:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726148096001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:05:35] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-15 09:05:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24591685656772608,"km_value":24591685656772.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":785455952669378560,"description":"Unknown IO ID 45"} 
[2026-07-15 09:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726148096001,"power":14309,"unknown_165":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":785455952669378560}} 
[2026-07-15 09:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":132363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490206,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:05:35] local.INFO: GPS data processed {"connection_id":132363,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:05:35] local.INFO: Acknowledgment sent {"connection_id":132363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:05:36] local.INFO: TCP Data received {"connection_id":132362,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d6d338012d78d80005e98f800003014b29..."} 
[2026-07-15 09:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d6d338012d78d80005e98f800003014b29..."} 
[2026-07-15 09:05:36] local.INFO: Processing buffer {"connection_id":132362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d6d338012d78d80005e98f800003014b29..."} 
[2026-07-15 09:05:36] local.INFO: Packet analysis {"connection_id":132362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d6"} 
[2026-07-15 09:05:36] local.INFO: Extracted packet for processing {"connection_id":132362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d6"} 
[2026-07-15 09:05:36] local.INFO: GPS Element Parsed {"raw_longitude":762894336,"raw_latitude":99192704,"longitude_deg":76.2894336,"latitude_deg":9.9192704,"altitude":3,"angle":331,"satellites":41,"speed":29,"hex_longitude":"2d78d800","hex_latitude":"05e98f80","is_valid_coordinates":true} 
[2026-07-15 09:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726127360001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106314429284483072,"note":"Value kept but may cause issues"} 
[2026-07-15 09:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8713339404446480384,"note":"Value kept but may cause issues"} 
[2026-07-15 09:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784086451000,"timestamp_ms":1784086451000,"timestamp_seconds":1784086451,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d6d338"} 
[2026-07-15 09:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-15 09:05:36] 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-07-15 09:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132362,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132362,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726127360001,"66":13493,"23":206,"87":13824,"24":29,"16":106314429284483072,"45":8713339404446480384},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,87,24,16,45]} 
[2026-07-15 09:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726127360001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:05:36] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-15 09:05:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 09:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106314429284483072,"km_value":106314429284483.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8713339404446480384,"description":"Unknown IO ID 45"} 
[2026-07-15 09:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726127360001,"power":13493,"unknown_23":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8713339404446480384}} 
[2026-07-15 09:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":132362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490207,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:05:36] local.INFO: GPS data processed {"connection_id":132362,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:05:36] local.INFO: Acknowledgment sent {"connection_id":132362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:05:38] local.INFO: TCP Data received {"connection_id":132192,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d55c38012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d55c38012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:05:38] local.INFO: Processing buffer {"connection_id":132192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d55c38012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:05:38] local.INFO: Packet analysis {"connection_id":132192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d5"} 
[2026-07-15 09:05:38] local.INFO: Extracted packet for processing {"connection_id":132192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d5"} 
[2026-07-15 09:05:38] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95411880,"longitude_deg":76.333536,"latitude_deg":9.541188,"altitude":0,"angle":153,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-07-15 09:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726029824001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 09:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074577920,"note":"Value kept but may cause issues"} 
[2026-07-15 09:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784086355000,"timestamp_ms":1784086355000,"timestamp_seconds":1784086355,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d55c38"} 
[2026-07-15 09:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 09:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726029824001,"66":25952,"27":206,"85":12544,"24":0,"16":347094255858089984,"45":9192620920074577920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726029824001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:05:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:05:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074577920,"description":"Unknown IO ID 45"} 
[2026-07-15 09:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726029824001,"power":25952,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074577920}} 
[2026-07-15 09:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":132192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:05:38] local.INFO: GPS data processed {"connection_id":132192,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:05:38] local.INFO: Acknowledgment sent {"connection_id":132192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:06:01] local.INFO: TCP Data received {"connection_id":133212,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:06:01] local.INFO: Processing buffer {"connection_id":133212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:06:01] local.INFO: IMEI packet received {"connection_id":133212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":133212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:06:06] local.INFO: TCP Data received {"connection_id":133212,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:06:06] local.INFO: Processing buffer {"connection_id":133212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:06:06] local.INFO: IMEI packet received {"connection_id":133212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":133212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:06:07] local.INFO: TCP Data received {"connection_id":132362,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d715a0012d78c94005e9a7480004013e29..."} 
[2026-07-15 09:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d715a0012d78c94005e9a7480004013e29..."} 
[2026-07-15 09:06:07] local.INFO: Processing buffer {"connection_id":132362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d715a0012d78c94005e9a7480004013e29..."} 
[2026-07-15 09:06:07] local.INFO: Packet analysis {"connection_id":132362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d7"} 
[2026-07-15 09:06:07] local.INFO: Extracted packet for processing {"connection_id":132362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d7"} 
[2026-07-15 09:06:07] local.INFO: GPS Element Parsed {"raw_longitude":762890560,"raw_latitude":99198792,"longitude_deg":76.289056,"latitude_deg":9.9198792,"altitude":4,"angle":318,"satellites":41,"speed":20,"hex_longitude":"2d78c940","hex_latitude":"05e9a748","is_valid_coordinates":true} 
[2026-07-15 09:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726131456001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106314777176834048,"note":"Value kept but may cause issues"} 
[2026-07-15 09:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8707709904914186240,"note":"Value kept but may cause issues"} 
[2026-07-15 09:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784086468000,"timestamp_ms":1784086468000,"timestamp_seconds":1784086468,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d715a0"} 
[2026-07-15 09:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-15 09:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132362,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132362,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726131456001,"66":13102,"23":206,"87":13824,"24":20,"16":106314777176834048,"45":8707709904914186240},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,87,24,16,45]} 
[2026-07-15 09:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726131456001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:06:07] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-15 09:06:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 09:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106314777176834048,"km_value":106314777176834.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8707709904914186240,"description":"Unknown IO ID 45"} 
[2026-07-15 09:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726131456001,"power":13102,"unknown_23":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8707709904914186240}} 
[2026-07-15 09:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":132362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490209,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:06:07] local.INFO: GPS data processed {"connection_id":132362,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:06:07] local.INFO: Acknowledgment sent {"connection_id":132362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:06:07] local.INFO: TCP Data received {"connection_id":133212,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d55c38012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d55c38012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:06:07] local.INFO: Processing buffer {"connection_id":133212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d55c38012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:06:07] local.INFO: Packet analysis {"connection_id":133212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d5"} 
[2026-07-15 09:06:07] local.INFO: Extracted packet for processing {"connection_id":133212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d5"} 
[2026-07-15 09:06:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95411880,"longitude_deg":76.333536,"latitude_deg":9.541188,"altitude":0,"angle":153,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-07-15 09:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726029824001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 09:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074577920,"note":"Value kept but may cause issues"} 
[2026-07-15 09:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784086355000,"timestamp_ms":1784086355000,"timestamp_seconds":1784086355,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d55c38"} 
[2026-07-15 09:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 09:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:06:07] 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-07-15 09:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726029824001,"66":25952,"27":206,"85":12544,"24":0,"16":347094255858089984,"45":9192620920074577920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726029824001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:06:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:06:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074577920,"description":"Unknown IO ID 45"} 
[2026-07-15 09:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726029824001,"power":25952,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074577920}} 
[2026-07-15 09:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":133212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:06:07] local.INFO: GPS data processed {"connection_id":133212,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:06:07] local.INFO: Acknowledgment sent {"connection_id":133212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:06:08] local.INFO: TCP Data received {"connection_id":132363,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d7e0c0012d0ae0c0070594d0001f011022..."} 
[2026-07-15 09:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d7e0c0012d0ae0c0070594d0001f011022..."} 
[2026-07-15 09:06:08] local.INFO: Processing buffer {"connection_id":132363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d7e0c0012d0ae0c0070594d0001f011022..."} 
[2026-07-15 09:06:08] local.INFO: Packet analysis {"connection_id":132363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d7"} 
[2026-07-15 09:06:08] local.INFO: Extracted packet for processing {"connection_id":132363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d7"} 
[2026-07-15 09:06:08] local.INFO: GPS Element Parsed {"raw_longitude":755687616,"raw_latitude":117806288,"longitude_deg":75.5687616,"latitude_deg":11.7806288,"altitude":31,"angle":272,"satellites":34,"speed":13,"hex_longitude":"2d0ae0c0","hex_latitude":"070594d0","is_valid_coordinates":true} 
[2026-07-15 09:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726148352001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24591737196380160,"note":"Value kept but may cause issues"} 
[2026-07-15 09:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":785033740204333056,"note":"Value kept but may cause issues"} 
[2026-07-15 09:06:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784086520000,"timestamp_ms":1784086520000,"timestamp_seconds":1784086520,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d7e0c0"} 
[2026-07-15 09:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:06:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-15 09:06:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:06:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132363,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132363,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:06:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726148352001,"66":14396,"165":206,"94":10240,"24":13,"16":24591737196380160,"45":785033740204333056},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-15 09:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726148352001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:06:08] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-15 09:06:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24591737196380160,"km_value":24591737196380.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":785033740204333056,"description":"Unknown IO ID 45"} 
[2026-07-15 09:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726148352001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":785033740204333056}} 
[2026-07-15 09:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":132363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490211,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:06:09] local.INFO: GPS data processed {"connection_id":132363,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:06:09] local.INFO: Acknowledgment sent {"connection_id":132363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:06:26] local.INFO: TCP Data received {"connection_id":132193,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:06:26] local.INFO: Processing buffer {"connection_id":132193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:06:26] local.INFO: IMEI packet received {"connection_id":132193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 09:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":132193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:06:27] local.INFO: TCP Data received {"connection_id":132193,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:06:27] local.INFO: Processing buffer {"connection_id":132193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:06:27] local.INFO: IMEI packet received {"connection_id":132193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":132193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:06:28] local.INFO: TCP Data received {"connection_id":132193,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:06:28] local.INFO: Processing buffer {"connection_id":132193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:06:28] local.INFO: IMEI packet received {"connection_id":132193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":132193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:06:29] local.INFO: TCP Data received {"connection_id":132193,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:06:29] local.INFO: Processing buffer {"connection_id":132193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:06:29] local.INFO: IMEI packet received {"connection_id":132193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":132193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:06:29] local.INFO: TCP Data received {"connection_id":132364,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132364,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:06:29] local.INFO: Processing buffer {"connection_id":132364,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:06:29] local.INFO: IMEI packet received {"connection_id":132364,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 09:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":132364,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:06:30] local.INFO: TCP Data received {"connection_id":132364,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132364,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:06:30] local.INFO: Processing buffer {"connection_id":132364,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:06:30] local.INFO: IMEI packet received {"connection_id":132364,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":132364,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:06:34] local.INFO: TCP Data received {"connection_id":132364,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132364,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:06:34] local.INFO: Processing buffer {"connection_id":132364,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:06:34] local.INFO: IMEI packet received {"connection_id":132364,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":132364,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:06:35] local.INFO: TCP Data received {"connection_id":132364,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d7e4a8012d0adf40070594b0001f010422..."} 
[2026-07-15 09:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d7e4a8012d0adf40070594b0001f010422..."} 
[2026-07-15 09:06:35] local.INFO: Processing buffer {"connection_id":132364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d7e4a8012d0adf40070594b0001f010422..."} 
[2026-07-15 09:06:35] local.INFO: Packet analysis {"connection_id":132364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d7"} 
[2026-07-15 09:06:35] local.INFO: Extracted packet for processing {"connection_id":132364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d7"} 
[2026-07-15 09:06:35] local.INFO: GPS Element Parsed {"raw_longitude":755687232,"raw_latitude":117806256,"longitude_deg":75.5687232,"latitude_deg":11.7806256,"altitude":31,"angle":260,"satellites":34,"speed":14,"hex_longitude":"2d0adf40","hex_latitude":"070594b0","is_valid_coordinates":true} 
[2026-07-15 09:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726149120001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24591758671216640,"note":"Value kept but may cause issues"} 
[2026-07-15 09:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":783837471553409024,"note":"Value kept but may cause issues"} 
[2026-07-15 09:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784086521000,"timestamp_ms":1784086521000,"timestamp_seconds":1784086521,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d7e4a8"} 
[2026-07-15 09:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-15 09:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:06:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132364,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132364,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726149120001,"66":14396,"165":206,"94":10240,"24":14,"16":24591758671216640,"45":783837471553409024},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-15 09:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726149120001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:06:35] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-15 09:06:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24591758671216640,"km_value":24591758671216.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":783837471553409024,"description":"Unknown IO ID 45"} 
[2026-07-15 09:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726149120001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":783837471553409024}} 
[2026-07-15 09:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":132364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490212,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:06:35] local.INFO: GPS data processed {"connection_id":132364,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:06:35] local.INFO: Acknowledgment sent {"connection_id":132364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:06:38] local.INFO: TCP Data received {"connection_id":133212,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d55c38012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d55c38012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:06:38] local.INFO: Processing buffer {"connection_id":133212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d55c38012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:06:38] local.INFO: Packet analysis {"connection_id":133212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d5"} 
[2026-07-15 09:06:38] local.INFO: Extracted packet for processing {"connection_id":133212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d5"} 
[2026-07-15 09:06:38] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95411880,"longitude_deg":76.333536,"latitude_deg":9.541188,"altitude":0,"angle":153,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726029824001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 09:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074577920,"note":"Value kept but may cause issues"} 
[2026-07-15 09:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784086355000,"timestamp_ms":1784086355000,"timestamp_seconds":1784086355,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d55c38"} 
[2026-07-15 09:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 09:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:06:38] 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-07-15 09:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726029824001,"66":25952,"27":206,"85":12544,"24":0,"16":347094255858089984,"45":9192620920074577920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726029824001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:06:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:06:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074577920,"description":"Unknown IO ID 45"} 
[2026-07-15 09:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726029824001,"power":25952,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074577920}} 
[2026-07-15 09:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":133212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:06:38] local.INFO: GPS data processed {"connection_id":133212,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:06:38] local.INFO: Acknowledgment sent {"connection_id":133212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:07:01] local.INFO: TCP Data received {"connection_id":132365,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:07:01] local.INFO: Processing buffer {"connection_id":132365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:07:01] local.INFO: IMEI packet received {"connection_id":132365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":132365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:07:06] local.INFO: TCP Data received {"connection_id":132364,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d832c8012d0ac10007058d200020010d22..."} 
[2026-07-15 09:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d832c8012d0ac10007058d200020010d22..."} 
[2026-07-15 09:07:06] local.INFO: Processing buffer {"connection_id":132364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d832c8012d0ac10007058d200020010d22..."} 
[2026-07-15 09:07:06] local.INFO: Packet analysis {"connection_id":132364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d8"} 
[2026-07-15 09:07:06] local.INFO: Extracted packet for processing {"connection_id":132364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d8"} 
[2026-07-15 09:07:06] local.INFO: GPS Element Parsed {"raw_longitude":755679488,"raw_latitude":117804320,"longitude_deg":75.5679488,"latitude_deg":11.780432,"altitude":32,"angle":269,"satellites":34,"speed":4,"hex_longitude":"2d0ac100","hex_latitude":"07058d20","is_valid_coordinates":true} 
[2026-07-15 09:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726149376001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24592136628338688,"note":"Value kept but may cause issues"} 
[2026-07-15 09:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":783415259088334848,"note":"Value kept but may cause issues"} 
[2026-07-15 09:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784086541000,"timestamp_ms":1784086541000,"timestamp_seconds":1784086541,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d832c8"} 
[2026-07-15 09:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-15 09:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132364,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132364,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726149376001,"66":14396,"165":206,"94":10240,"24":4,"16":24592136628338688,"45":783415259088334848},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-15 09:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726149376001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:07:06] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-15 09:07:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24592136628338688,"km_value":24592136628338.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":783415259088334848,"description":"Unknown IO ID 45"} 
[2026-07-15 09:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726149376001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":783415259088334848}} 
[2026-07-15 09:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":132364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490214,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:07:07] local.INFO: GPS data processed {"connection_id":132364,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:07:07] local.INFO: Acknowledgment sent {"connection_id":132364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:07:07] local.INFO: TCP Data received {"connection_id":132365,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:07:07] local.INFO: Processing buffer {"connection_id":132365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:07:07] local.INFO: IMEI packet received {"connection_id":132365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":132365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:07:07] local.INFO: TCP Data received {"connection_id":132365,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d55c38012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d55c38012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:07:07] local.INFO: Processing buffer {"connection_id":132365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d55c38012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:07:07] local.INFO: Packet analysis {"connection_id":132365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d5"} 
[2026-07-15 09:07:07] local.INFO: Extracted packet for processing {"connection_id":132365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d5"} 
[2026-07-15 09:07:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95411880,"longitude_deg":76.333536,"latitude_deg":9.541188,"altitude":0,"angle":153,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-07-15 09:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726029824001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 09:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074577920,"note":"Value kept but may cause issues"} 
[2026-07-15 09:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784086355000,"timestamp_ms":1784086355000,"timestamp_seconds":1784086355,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d55c38"} 
[2026-07-15 09:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 09:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726029824001,"66":25952,"27":206,"85":12544,"24":0,"16":347094255858089984,"45":9192620920074577920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726029824001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:07:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:07:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074577920,"description":"Unknown IO ID 45"} 
[2026-07-15 09:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726029824001,"power":25952,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074577920}} 
[2026-07-15 09:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":132365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:07:07] local.INFO: GPS data processed {"connection_id":132365,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:07:07] local.INFO: Acknowledgment sent {"connection_id":132365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:07:31] local.INFO: TCP Data received {"connection_id":132367,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132367,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:07:31] local.INFO: Processing buffer {"connection_id":132367,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:07:31] local.INFO: IMEI packet received {"connection_id":132367,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 09:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":132367,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:07:32] local.INFO: TCP Data received {"connection_id":132367,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132367,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:07:32] local.INFO: Processing buffer {"connection_id":132367,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:07:32] local.INFO: IMEI packet received {"connection_id":132367,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":132367,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:07:34] local.INFO: TCP Data received {"connection_id":132367,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132367,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:07:34] local.INFO: Processing buffer {"connection_id":132367,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:07:34] local.INFO: IMEI packet received {"connection_id":132367,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":132367,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:07:35] local.INFO: TCP Data received {"connection_id":132367,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d84e20012d0ab90007058b98002000fd22..."} 
[2026-07-15 09:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d84e20012d0ab90007058b98002000fd22..."} 
[2026-07-15 09:07:35] local.INFO: Processing buffer {"connection_id":132367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d84e20012d0ab90007058b98002000fd22..."} 
[2026-07-15 09:07:35] local.INFO: Packet analysis {"connection_id":132367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d8"} 
[2026-07-15 09:07:35] local.INFO: Extracted packet for processing {"connection_id":132367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d8"} 
[2026-07-15 09:07:35] local.INFO: GPS Element Parsed {"raw_longitude":755677440,"raw_latitude":117803928,"longitude_deg":75.567744,"latitude_deg":11.7803928,"altitude":32,"angle":253,"satellites":34,"speed":12,"hex_longitude":"2d0ab900","hex_latitude":"07058b98","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726154496001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24592239707553792,"note":"Value kept but may cause issues"} 
[2026-07-15 09:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":774900641042341888,"note":"Value kept but may cause issues"} 
[2026-07-15 09:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784086548000,"timestamp_ms":1784086548000,"timestamp_seconds":1784086548,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d84e20"} 
[2026-07-15 09:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-15 09:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726154496001,"66":14374,"165":206,"94":10240,"24":12,"16":24592239707553792,"45":774900641042341888},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-15 09:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726154496001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:07:35] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-15 09:07:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24592239707553792,"km_value":24592239707553.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":774900641042341888,"description":"Unknown IO ID 45"} 
[2026-07-15 09:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726154496001,"power":14374,"unknown_165":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":774900641042341888}} 
[2026-07-15 09:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":132367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490216,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:07:35] local.INFO: GPS data processed {"connection_id":132367,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:07:35] local.INFO: Acknowledgment sent {"connection_id":132367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:07:36] local.INFO: TCP Data received {"connection_id":132367,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d89c40012d0ab50007058a20001f00fa20..."} 
[2026-07-15 09:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d89c40012d0ab50007058a20001f00fa20..."} 
[2026-07-15 09:07:36] local.INFO: Processing buffer {"connection_id":132367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d89c40012d0ab50007058a20001f00fa20..."} 
[2026-07-15 09:07:36] local.INFO: Packet analysis {"connection_id":132367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d8"} 
[2026-07-15 09:07:36] local.INFO: Extracted packet for processing {"connection_id":132367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d8"} 
[2026-07-15 09:07:36] local.INFO: GPS Element Parsed {"raw_longitude":755676416,"raw_latitude":117803552,"longitude_deg":75.5676416,"latitude_deg":11.7803552,"altitude":31,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d0ab500","hex_latitude":"07058a20","is_valid_coordinates":true} 
[2026-07-15 09:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726156288001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24592291247161344,"note":"Value kept but may cause issues"} 
[2026-07-15 09:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":772648841228556288,"note":"Value kept but may cause issues"} 
[2026-07-15 09:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784086568000,"timestamp_ms":1784086568000,"timestamp_seconds":1784086568,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d89c40"} 
[2026-07-15 09:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-15 09:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726156288001,"66":14309,"153":206,"94":10240,"24":0,"16":24592291247161344,"45":772648841228556288},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-15 09:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726156288001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:07:36] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-15 09:07:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24592291247161344,"km_value":24592291247161.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":772648841228556288,"description":"Unknown IO ID 45"} 
[2026-07-15 09:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726156288001,"power":14309,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":772648841228556288}} 
[2026-07-15 09:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":132367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490217,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:07:36] local.INFO: GPS data processed {"connection_id":132367,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:07:36] local.INFO: Acknowledgment sent {"connection_id":132367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:07:38] local.INFO: TCP Data received {"connection_id":132365,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d55c38012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d55c38012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:07:38] local.INFO: Processing buffer {"connection_id":132365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d55c38012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:07:38] local.INFO: Packet analysis {"connection_id":132365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d5"} 
[2026-07-15 09:07:38] local.INFO: Extracted packet for processing {"connection_id":132365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d5"} 
[2026-07-15 09:07:38] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95411880,"longitude_deg":76.333536,"latitude_deg":9.541188,"altitude":0,"angle":153,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-07-15 09:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726029824001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 09:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074577920,"note":"Value kept but may cause issues"} 
[2026-07-15 09:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784086355000,"timestamp_ms":1784086355000,"timestamp_seconds":1784086355,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d55c38"} 
[2026-07-15 09:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 09:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726029824001,"66":25952,"27":206,"85":12544,"24":0,"16":347094255858089984,"45":9192620920074577920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726029824001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:07:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:07:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074577920,"description":"Unknown IO ID 45"} 
[2026-07-15 09:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726029824001,"power":25952,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074577920}} 
[2026-07-15 09:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":132365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:07:38] local.INFO: GPS data processed {"connection_id":132365,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:07:38] local.INFO: Acknowledgment sent {"connection_id":132365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:07:40] local.INFO: TCP Data received {"connection_id":133214,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133214,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:07:40] local.INFO: Processing buffer {"connection_id":133214,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:07:40] local.INFO: IMEI packet received {"connection_id":133214,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 09:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":133214,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:07:47] local.INFO: TCP Data received {"connection_id":132368,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:07:47] local.INFO: Processing buffer {"connection_id":132368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:07:47] local.INFO: IMEI packet received {"connection_id":132368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 09:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":132368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:07:52] local.INFO: TCP Data received {"connection_id":132368,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:07:52] local.INFO: Processing buffer {"connection_id":132368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:07:52] local.INFO: IMEI packet received {"connection_id":132368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 09:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":132368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:07:53] local.INFO: TCP Data received {"connection_id":132368,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d45680012d19c180071ff188002d010925..."} 
[2026-07-15 09:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d45680012d19c180071ff188002d010925..."} 
[2026-07-15 09:07:53] local.INFO: Processing buffer {"connection_id":132368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d45680012d19c180071ff188002d010925..."} 
[2026-07-15 09:07:53] local.INFO: Packet analysis {"connection_id":132368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d4"} 
[2026-07-15 09:07:53] local.INFO: Extracted packet for processing {"connection_id":132368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d4"} 
[2026-07-15 09:07:53] local.INFO: GPS Element Parsed {"raw_longitude":756662656,"raw_latitude":119533960,"longitude_deg":75.6662656,"latitude_deg":11.953396,"altitude":45,"angle":265,"satellites":37,"speed":19,"hex_longitude":"2d19c180","hex_latitude":"071ff188","is_valid_coordinates":true} 
[2026-07-15 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-07-15 09:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726088704001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6134493198942208,"note":"Value kept but may cause issues"} 
[2026-07-15 09:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857875614379440128,"note":"Value kept but may cause issues"} 
[2026-07-15 09:07:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784086288000,"timestamp_ms":1784086288000,"timestamp_seconds":1784086288,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d45680"} 
[2026-07-15 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-07-15 09:07:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-15 09:07:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 09:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":132368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":132368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":132368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:07:53] 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-07-15 09:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 09:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 09:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726088704001,"66":14363,"101":206,"83":41984,"24":19,"16":6134493198942208,"45":1857875614379440128},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-15 09:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 09:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 09:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726088704001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:07:53] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-15 09:07:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 09:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6134493198942208,"km_value":6134493198942.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857875614379440128,"description":"Unknown IO ID 45"} 
[2026-07-15 09:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726088704001,"power":14363,"unknown_101":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1857875614379440128}} 
[2026-07-15 09:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":132368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:07:53] local.INFO: GPS data processed {"connection_id":132368,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:07:53] local.INFO: Acknowledgment sent {"connection_id":132368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:08:07] local.INFO: TCP Data received {"connection_id":132367,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d9ffb8012d0a82000705aa400014014c22..."} 
[2026-07-15 09:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d9ffb8012d0a82000705aa400014014c22..."} 
[2026-07-15 09:08:07] local.INFO: Processing buffer {"connection_id":132367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d9ffb8012d0a82000705aa400014014c22..."} 
[2026-07-15 09:08:07] local.INFO: Packet analysis {"connection_id":132367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d9"} 
[2026-07-15 09:08:07] local.INFO: Extracted packet for processing {"connection_id":132367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d9"} 
[2026-07-15 09:08:07] local.INFO: GPS Element Parsed {"raw_longitude":755663360,"raw_latitude":117811776,"longitude_deg":75.566336,"latitude_deg":11.7811776,"altitude":20,"angle":332,"satellites":34,"speed":13,"hex_longitude":"2d0a8200","hex_latitude":"0705aa40","is_valid_coordinates":true} 
[2026-07-15 09:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726184448001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24593171715457024,"note":"Value kept but may cause issues"} 
[2026-07-15 09:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757378823743938560,"note":"Value kept but may cause issues"} 
[2026-07-15 09:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784086659000,"timestamp_ms":1784086659000,"timestamp_seconds":1784086659,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d9ffb8"} 
[2026-07-15 09:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-15 09:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726184448001,"66":14559,"153":206,"94":10240,"24":13,"16":24593171715457024,"45":757378823743938560},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-15 09:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726184448001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:08:07] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-15 09:08:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24593171715457024,"km_value":24593171715457.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":757378823743938560,"description":"Unknown IO ID 45"} 
[2026-07-15 09:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726184448001,"power":14559,"unknown_153":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":757378823743938560}} 
[2026-07-15 09:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":132367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490220,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:08:07] local.INFO: GPS data processed {"connection_id":132367,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:08:07] local.INFO: Acknowledgment sent {"connection_id":132367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:08:07] local.INFO: TCP Data received {"connection_id":133215,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:08:07] local.INFO: Processing buffer {"connection_id":133215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:08:07] local.INFO: IMEI packet received {"connection_id":133215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":133215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:08:11] local.INFO: TCP Data received {"connection_id":133215,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:08:11] local.INFO: Processing buffer {"connection_id":133215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:08:11] local.INFO: IMEI packet received {"connection_id":133215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":133215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:08:12] local.INFO: TCP Data received {"connection_id":133215,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d55c38012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d55c38012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:08:12] local.INFO: Processing buffer {"connection_id":133215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d55c38012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:08:12] local.INFO: Packet analysis {"connection_id":133215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d5"} 
[2026-07-15 09:08:12] local.INFO: Extracted packet for processing {"connection_id":133215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d5"} 
[2026-07-15 09:08:12] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95411880,"longitude_deg":76.333536,"latitude_deg":9.541188,"altitude":0,"angle":153,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-07-15 09:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726029824001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 09:08:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074577920,"note":"Value kept but may cause issues"} 
[2026-07-15 09:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784086355000,"timestamp_ms":1784086355000,"timestamp_seconds":1784086355,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d55c38"} 
[2026-07-15 09:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 09:08:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:08:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":133215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":133215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":133215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726029824001,"66":25952,"27":206,"85":12544,"24":0,"16":347094255858089984,"45":9192620920074577920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726029824001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:08:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:08:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:08:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074577920,"description":"Unknown IO ID 45"} 
[2026-07-15 09:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726029824001,"power":25952,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074577920}} 
[2026-07-15 09:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":133215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:08:12] local.INFO: GPS data processed {"connection_id":133215,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:08:12] local.INFO: Acknowledgment sent {"connection_id":133215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:08:15] local.INFO: TCP Data received {"connection_id":133215,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d9f400012d7f92c005afdea8000000992d..."} 
[2026-07-15 09:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d9f400012d7f92c005afdea8000000992d..."} 
[2026-07-15 09:08:15] local.INFO: Processing buffer {"connection_id":133215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d9f400012d7f92c005afdea8000000992d..."} 
[2026-07-15 09:08:15] local.INFO: Packet analysis {"connection_id":133215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d9"} 
[2026-07-15 09:08:15] local.INFO: Extracted packet for processing {"connection_id":133215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d9"} 
[2026-07-15 09:08:15] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95411880,"longitude_deg":76.333536,"latitude_deg":9.541188,"altitude":0,"angle":153,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-07-15 09:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726106880001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 09:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074577920,"note":"Value kept but may cause issues"} 
[2026-07-15 09:08:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784086656000,"timestamp_ms":1784086656000,"timestamp_seconds":1784086656,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d9f400"} 
[2026-07-15 09:08:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:08:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 09:08:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:08:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:08:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":133215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":133215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":133215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:08:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726106880001,"66":25832,"27":206,"85":12544,"24":0,"16":347094255858089984,"45":9192620920074577920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726106880001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:08:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:08:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074577920,"description":"Unknown IO ID 45"} 
[2026-07-15 09:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726106880001,"power":25832,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074577920}} 
[2026-07-15 09:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":133215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:08:15] local.INFO: GPS data processed {"connection_id":133215,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:08:15] local.INFO: Acknowledgment sent {"connection_id":133215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:08:25] local.INFO: TCP Data received {"connection_id":132368,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d47d90012d19ad40071ff0c80030011c25..."} 
[2026-07-15 09:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d47d90012d19ad40071ff0c80030011c25..."} 
[2026-07-15 09:08:25] local.INFO: Processing buffer {"connection_id":132368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d47d90012d19ad40071ff0c80030011c25..."} 
[2026-07-15 09:08:25] local.INFO: Packet analysis {"connection_id":132368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d4"} 
[2026-07-15 09:08:25] local.INFO: Extracted packet for processing {"connection_id":132368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d4"} 
[2026-07-15 09:08:25] local.INFO: GPS Element Parsed {"raw_longitude":756657472,"raw_latitude":119533768,"longitude_deg":75.6657472,"latitude_deg":11.9533768,"altitude":48,"angle":284,"satellites":37,"speed":23,"hex_longitude":"2d19ad40","hex_latitude":"071ff0c8","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:08:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726089728001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:08:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6134738012078080,"note":"Value kept but may cause issues"} 
[2026-07-15 09:08:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855905289542404096,"note":"Value kept but may cause issues"} 
[2026-07-15 09:08:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:08:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784086298000,"timestamp_ms":1784086298000,"timestamp_seconds":1784086298,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d47d90"} 
[2026-07-15 09:08:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:08: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-07-15 09: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-15 09:08:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:08:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:08:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:08:25] local.INFO: Teltonika packet parsed successfully {"connection_id":132368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:08:25] local.INFO: Passing IMEI to GPS processor {"connection_id":132368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:08:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":132368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:08:25] 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-07-15 09:08:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 09:08:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 09:08:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726089728001,"66":13254,"101":206,"83":41984,"24":23,"16":6134738012078080,"45":1855905289542404096},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-15 09:08:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 09:08:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 09:08:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726089728001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:08:25] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-15 09:08:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 09:08:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6134738012078080,"km_value":6134738012078.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:08:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855905289542404096,"description":"Unknown IO ID 45"} 
[2026-07-15 09:08:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726089728001,"power":13254,"unknown_101":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1855905289542404096}} 
[2026-07-15 09:08:25] local.INFO: DEBUG: GPS processor result {"connection_id":132368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:08:25] local.INFO: GPS data processed {"connection_id":132368,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:08:25] local.INFO: Acknowledgment sent {"connection_id":132368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:08:29] local.INFO: TCP Data received {"connection_id":134578,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134578,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:08:29] local.INFO: Processing buffer {"connection_id":134578,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:08:29] local.INFO: IMEI packet received {"connection_id":134578,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 09:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":134578,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:08:30] local.INFO: TCP Data received {"connection_id":134578,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134578,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:08:30] local.INFO: Processing buffer {"connection_id":134578,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:08:30] local.INFO: IMEI packet received {"connection_id":134578,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":134578,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:08:34] local.INFO: TCP Data received {"connection_id":134578,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134578,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:08:34] local.INFO: Processing buffer {"connection_id":134578,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:08:34] local.INFO: IMEI packet received {"connection_id":134578,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":134578,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:08:35] local.INFO: TCP Data received {"connection_id":134578,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63da2ab0012d0a76c00705bef80015015721..."} 
[2026-07-15 09:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63da2ab0012d0a76c00705bef80015015721..."} 
[2026-07-15 09:08:35] local.INFO: Processing buffer {"connection_id":134578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63da2ab0012d0a76c00705bef80015015721..."} 
[2026-07-15 09:08:35] local.INFO: Packet analysis {"connection_id":134578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63da"} 
[2026-07-15 09:08:35] local.INFO: Extracted packet for processing {"connection_id":134578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63da"} 
[2026-07-15 09:08:35] local.INFO: GPS Element Parsed {"raw_longitude":755660480,"raw_latitude":117817080,"longitude_deg":75.566048,"latitude_deg":11.781708,"altitude":21,"angle":343,"satellites":33,"speed":24,"hex_longitude":"2d0a76c0","hex_latitude":"0705bef8","is_valid_coordinates":true} 
[2026-07-15 09:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726184704001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24593463773233152,"note":"Value kept but may cause issues"} 
[2026-07-15 09:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757167717511479296,"note":"Value kept but may cause issues"} 
[2026-07-15 09:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784086670000,"timestamp_ms":1784086670000,"timestamp_seconds":1784086670,"priority":1,"record_length":96,"hex_timestamp":"0000019f63da2ab0"} 
[2026-07-15 09:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-15 09:08:35] 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-07-15 09:08:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":134578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":134578,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":134578,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726184704001,"66":14461,"153":206,"94":10240,"24":24,"16":24593463773233152,"45":757167717511479296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-15 09:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726184704001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:08:35] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-15 09:08:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24593463773233152,"km_value":24593463773233.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":757167717511479296,"description":"Unknown IO ID 45"} 
[2026-07-15 09:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726184704001,"power":14461,"unknown_153":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":757167717511479296}} 
[2026-07-15 09:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":134578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490224,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:08:35] local.INFO: GPS data processed {"connection_id":134578,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:08:35] local.INFO: Acknowledgment sent {"connection_id":134578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:08:46] local.INFO: TCP Data received {"connection_id":133215,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d9f400012d7f92c005afdea8000000992d..."} 
[2026-07-15 09:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d9f400012d7f92c005afdea8000000992d..."} 
[2026-07-15 09:08:46] local.INFO: Processing buffer {"connection_id":133215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d9f400012d7f92c005afdea8000000992d..."} 
[2026-07-15 09:08:46] local.INFO: Packet analysis {"connection_id":133215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d9"} 
[2026-07-15 09:08:46] local.INFO: Extracted packet for processing {"connection_id":133215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d9"} 
[2026-07-15 09:08:46] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95411880,"longitude_deg":76.333536,"latitude_deg":9.541188,"altitude":0,"angle":153,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-07-15 09:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726106880001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 09:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074577920,"note":"Value kept but may cause issues"} 
[2026-07-15 09:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784086656000,"timestamp_ms":1784086656000,"timestamp_seconds":1784086656,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d9f400"} 
[2026-07-15 09:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 09:08:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:08:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":133215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":133215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":133215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726106880001,"66":25832,"27":206,"85":12544,"24":0,"16":347094255858089984,"45":9192620920074577920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726106880001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:08:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:08:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074577920,"description":"Unknown IO ID 45"} 
[2026-07-15 09:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726106880001,"power":25832,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074577920}} 
[2026-07-15 09:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":133215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:08:46] local.INFO: GPS data processed {"connection_id":133215,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:08:46] local.INFO: Acknowledgment sent {"connection_id":133215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:08:47] local.INFO: TCP Data received {"connection_id":132194,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:08:47] local.INFO: Processing buffer {"connection_id":132194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:08:47] local.INFO: IMEI packet received {"connection_id":132194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 09:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":132194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:08:52] local.INFO: TCP Data received {"connection_id":132194,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:08:52] local.INFO: Processing buffer {"connection_id":132194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:08:52] local.INFO: IMEI packet received {"connection_id":132194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 09:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":132194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:08:53] local.INFO: TCP Data received {"connection_id":132194,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d49500012d19a380071ff3300031010425..."} 
[2026-07-15 09:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d49500012d19a380071ff3300031010425..."} 
[2026-07-15 09:08:53] local.INFO: Processing buffer {"connection_id":132194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d49500012d19a380071ff3300031010425..."} 
[2026-07-15 09:08:53] local.INFO: Packet analysis {"connection_id":132194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d4"} 
[2026-07-15 09:08:53] local.INFO: Extracted packet for processing {"connection_id":132194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d4"} 
[2026-07-15 09:08:53] local.INFO: GPS Element Parsed {"raw_longitude":756654976,"raw_latitude":119534384,"longitude_deg":75.6654976,"latitude_deg":11.9534384,"altitude":49,"angle":260,"satellites":37,"speed":9,"hex_longitude":"2d19a380","hex_latitude":"071ff330","is_valid_coordinates":true} 
[2026-07-15 09:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726092288001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6134862566129664,"note":"Value kept but may cause issues"} 
[2026-07-15 09:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850205421263964160,"note":"Value kept but may cause issues"} 
[2026-07-15 09:08:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784086304000,"timestamp_ms":1784086304000,"timestamp_seconds":1784086304,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d49500"} 
[2026-07-15 09:08:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:08:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-15 09:08:53] 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-07-15 09:08:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:08:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":132194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":132194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":132194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:08:53] 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-07-15 09:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 09:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 09:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726092288001,"66":13135,"101":206,"83":41984,"24":9,"16":6134862566129664,"45":1850205421263964160},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-15 09:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 09:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 09:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726092288001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:08:53] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-15 09:08:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 09:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6134862566129664,"km_value":6134862566129.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850205421263964160,"description":"Unknown IO ID 45"} 
[2026-07-15 09:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726092288001,"power":13135,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1850205421263964160}} 
[2026-07-15 09:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":132194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:08:53] local.INFO: GPS data processed {"connection_id":132194,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:08:53] local.INFO: Acknowledgment sent {"connection_id":132194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:08:58] local.INFO: TCP Data received {"connection_id":132194,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d498e8012d19a2c0071ff2e0003100f625..."} 
[2026-07-15 09:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d498e8012d19a2c0071ff2e0003100f625..."} 
[2026-07-15 09:08:58] local.INFO: Processing buffer {"connection_id":132194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d498e8012d19a2c0071ff2e0003100f625..."} 
[2026-07-15 09:08:58] local.INFO: Packet analysis {"connection_id":132194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d4"} 
[2026-07-15 09:08:58] local.INFO: Extracted packet for processing {"connection_id":132194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d4"} 
[2026-07-15 09:08:58] local.INFO: GPS Element Parsed {"raw_longitude":756654784,"raw_latitude":119534304,"longitude_deg":75.6654784,"latitude_deg":11.9534304,"altitude":49,"angle":246,"satellites":37,"speed":7,"hex_longitude":"2d19a2c0","hex_latitude":"071ff2e0","is_valid_coordinates":true} 
[2026-07-15 09:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726093824001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6134871156064256,"note":"Value kept but may cause issues"} 
[2026-07-15 09:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847461040241192960,"note":"Value kept but may cause issues"} 
[2026-07-15 09:08:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784086305000,"timestamp_ms":1784086305000,"timestamp_seconds":1784086305,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d498e8"} 
[2026-07-15 09:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:08: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-07-15 09:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-15 09:08:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:08:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:08:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":132194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":132194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":132194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:08:58] 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-07-15 09:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 09:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 09:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726093824001,"66":12211,"101":206,"83":41984,"24":7,"16":6134871156064256,"45":1847461040241192960},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-15 09:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 09:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 09:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726093824001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:08:58] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-15 09:08:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 09:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6134871156064256,"km_value":6134871156064.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847461040241192960,"description":"Unknown IO ID 45"} 
[2026-07-15 09:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726093824001,"power":12211,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1847461040241192960}} 
[2026-07-15 09:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":132194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:08:58] local.INFO: GPS data processed {"connection_id":132194,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:08:58] local.INFO: Acknowledgment sent {"connection_id":132194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:09:01] local.INFO: TCP Data received {"connection_id":132195,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:09:01] local.INFO: Processing buffer {"connection_id":132195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:09:01] local.INFO: IMEI packet received {"connection_id":132195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":132195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:09:06] local.INFO: TCP Data received {"connection_id":134578,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63da4220012d0a74c00705c8a80013016323..."} 
[2026-07-15 09:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63da4220012d0a74c00705c8a80013016323..."} 
[2026-07-15 09:09:06] local.INFO: Processing buffer {"connection_id":134578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63da4220012d0a74c00705c8a80013016323..."} 
[2026-07-15 09:09:06] local.INFO: Packet analysis {"connection_id":134578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63da"} 
[2026-07-15 09:09:06] local.INFO: Extracted packet for processing {"connection_id":134578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63da"} 
[2026-07-15 09:09:06] local.INFO: GPS Element Parsed {"raw_longitude":755659968,"raw_latitude":117819560,"longitude_deg":75.5659968,"latitude_deg":11.781956,"altitude":19,"angle":355,"satellites":35,"speed":9,"hex_longitude":"2d0a74c0","hex_latitude":"0705c8a8","is_valid_coordinates":true} 
[2026-07-15 09:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726187520001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24593588327284736,"note":"Value kept but may cause issues"} 
[2026-07-15 09:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":754001124024842240,"note":"Value kept but may cause issues"} 
[2026-07-15 09:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784086676000,"timestamp_ms":1784086676000,"timestamp_seconds":1784086676,"priority":1,"record_length":96,"hex_timestamp":"0000019f63da4220"} 
[2026-07-15 09:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-15 09:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":134578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":134578,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":134578,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726187520001,"66":14428,"153":206,"94":10240,"24":9,"16":24593588327284736,"45":754001124024842240},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-15 09:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726187520001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:09:06] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-15 09:09:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24593588327284736,"km_value":24593588327284.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":754001124024842240,"description":"Unknown IO ID 45"} 
[2026-07-15 09:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726187520001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":754001124024842240}} 
[2026-07-15 09:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":134578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490228,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:09:06] local.INFO: GPS data processed {"connection_id":134578,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:09:06] local.INFO: Acknowledgment sent {"connection_id":134578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:09:07] local.INFO: TCP Data received {"connection_id":132195,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:09:07] local.INFO: Processing buffer {"connection_id":132195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:09:07] local.INFO: IMEI packet received {"connection_id":132195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":132195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:09:07] local.INFO: TCP Data received {"connection_id":132195,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d9f400012d7f92c005afdea8000000992d..."} 
[2026-07-15 09:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d9f400012d7f92c005afdea8000000992d..."} 
[2026-07-15 09:09:07] local.INFO: Processing buffer {"connection_id":132195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d9f400012d7f92c005afdea8000000992d..."} 
[2026-07-15 09:09:07] local.INFO: Packet analysis {"connection_id":132195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d9"} 
[2026-07-15 09:09:07] local.INFO: Extracted packet for processing {"connection_id":132195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d9"} 
[2026-07-15 09:09:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95411880,"longitude_deg":76.333536,"latitude_deg":9.541188,"altitude":0,"angle":153,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-07-15 09:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726106880001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 09:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074577920,"note":"Value kept but may cause issues"} 
[2026-07-15 09:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784086656000,"timestamp_ms":1784086656000,"timestamp_seconds":1784086656,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d9f400"} 
[2026-07-15 09:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 09:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:09:07] 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-07-15 09:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726106880001,"66":25832,"27":206,"85":12544,"24":0,"16":347094255858089984,"45":9192620920074577920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726106880001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:09:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:09:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074577920,"description":"Unknown IO ID 45"} 
[2026-07-15 09:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726106880001,"power":25832,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074577920}} 
[2026-07-15 09:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":132195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:09:07] local.INFO: GPS data processed {"connection_id":132195,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:09:07] local.INFO: Acknowledgment sent {"connection_id":132195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:09:29] local.INFO: TCP Data received {"connection_id":132197,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132197,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:09:29] local.INFO: Processing buffer {"connection_id":132197,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:09:29] local.INFO: IMEI packet received {"connection_id":132197,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 09:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":132197,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:09:35] local.INFO: TCP Data received {"connection_id":132197,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132197,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:09:35] local.INFO: Processing buffer {"connection_id":132197,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:09:35] local.INFO: IMEI packet received {"connection_id":132197,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":132197,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:09:35] local.INFO: TCP Data received {"connection_id":132197,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63db8270012d0a7440070603d8000b008b23..."} 
[2026-07-15 09:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63db8270012d0a7440070603d8000b008b23..."} 
[2026-07-15 09:09:35] local.INFO: Processing buffer {"connection_id":132197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63db8270012d0a7440070603d8000b008b23..."} 
[2026-07-15 09:09:35] local.INFO: Packet analysis {"connection_id":132197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63db"} 
[2026-07-15 09:09:35] local.INFO: Extracted packet for processing {"connection_id":132197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63db"} 
[2026-07-15 09:09:35] local.INFO: GPS Element Parsed {"raw_longitude":755659840,"raw_latitude":117834712,"longitude_deg":75.565984,"latitude_deg":11.7834712,"altitude":11,"angle":139,"satellites":35,"speed":1,"hex_longitude":"2d0a7440","hex_latitude":"070603d8","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726209280001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24594412961005568,"note":"Value kept but may cause issues"} 
[2026-07-15 09:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753227067843430400,"note":"Value kept but may cause issues"} 
[2026-07-15 09:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784086758000,"timestamp_ms":1784086758000,"timestamp_seconds":1784086758,"priority":1,"record_length":96,"hex_timestamp":"0000019f63db8270"} 
[2026-07-15 09:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-15 09:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132197,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132197,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726209280001,"66":14309,"153":206,"94":10240,"24":1,"16":24594412961005568,"45":753227067843430400},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-15 09:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726209280001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:09:35] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-15 09:09:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24594412961005568,"km_value":24594412961005.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":753227067843430400,"description":"Unknown IO ID 45"} 
[2026-07-15 09:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726209280001,"power":14309,"unknown_153":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":753227067843430400}} 
[2026-07-15 09:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":132197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490230,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:09:35] local.INFO: GPS data processed {"connection_id":132197,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:09:35] local.INFO: Acknowledgment sent {"connection_id":132197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:09:39] local.INFO: TCP Data received {"connection_id":132195,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d9f400012d7f92c005afdea8000000992d..."} 
[2026-07-15 09:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d9f400012d7f92c005afdea8000000992d..."} 
[2026-07-15 09:09:39] local.INFO: Processing buffer {"connection_id":132195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d9f400012d7f92c005afdea8000000992d..."} 
[2026-07-15 09:09:39] local.INFO: Packet analysis {"connection_id":132195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d9"} 
[2026-07-15 09:09:39] local.INFO: Extracted packet for processing {"connection_id":132195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d9"} 
[2026-07-15 09:09:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95411880,"longitude_deg":76.333536,"latitude_deg":9.541188,"altitude":0,"angle":153,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-07-15 09:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726106880001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 09:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074577920,"note":"Value kept but may cause issues"} 
[2026-07-15 09:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784086656000,"timestamp_ms":1784086656000,"timestamp_seconds":1784086656,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d9f400"} 
[2026-07-15 09:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:09:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 09:09:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:09:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726106880001,"66":25832,"27":206,"85":12544,"24":0,"16":347094255858089984,"45":9192620920074577920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726106880001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:09:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:09:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074577920,"description":"Unknown IO ID 45"} 
[2026-07-15 09:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726106880001,"power":25832,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074577920}} 
[2026-07-15 09:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":132195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:09:39] local.INFO: GPS data processed {"connection_id":132195,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:09:39] local.INFO: Acknowledgment sent {"connection_id":132195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:10:02] local.INFO: TCP Data received {"connection_id":132370,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:10:02] local.INFO: Processing buffer {"connection_id":132370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:10:02] local.INFO: IMEI packet received {"connection_id":132370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":132370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:10:06] local.INFO: TCP Data received {"connection_id":132197,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63db8658012d0a74c0070603c8000b007f23..."} 
[2026-07-15 09:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63db8658012d0a74c0070603c8000b007f23..."} 
[2026-07-15 09:10:06] local.INFO: Processing buffer {"connection_id":132197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63db8658012d0a74c0070603c8000b007f23..."} 
[2026-07-15 09:10:06] local.INFO: Packet analysis {"connection_id":132197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63db"} 
[2026-07-15 09:10:06] local.INFO: Extracted packet for processing {"connection_id":132197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63db"} 
[2026-07-15 09:10:06] local.INFO: GPS Element Parsed {"raw_longitude":755659968,"raw_latitude":117834696,"longitude_deg":75.5659968,"latitude_deg":11.7834696,"altitude":11,"angle":127,"satellites":35,"speed":1,"hex_longitude":"2d0a74c0","hex_latitude":"070603c8","is_valid_coordinates":true} 
[2026-07-15 09:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726210048001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24594417255972864,"note":"Value kept but may cause issues"} 
[2026-07-15 09:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753297436587579392,"note":"Value kept but may cause issues"} 
[2026-07-15 09:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784086759000,"timestamp_ms":1784086759000,"timestamp_seconds":1784086759,"priority":1,"record_length":96,"hex_timestamp":"0000019f63db8658"} 
[2026-07-15 09:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-15 09:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132197,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132197,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726210048001,"66":14309,"153":206,"94":10240,"24":1,"16":24594417255972864,"45":753297436587579392},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-15 09:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726210048001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:10:06] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-15 09:10:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24594417255972864,"km_value":24594417255972.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":753297436587579392,"description":"Unknown IO ID 45"} 
[2026-07-15 09:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726210048001,"power":14309,"unknown_153":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":753297436587579392}} 
[2026-07-15 09:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":132197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490232,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:10:06] local.INFO: GPS data processed {"connection_id":132197,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:10:06] local.INFO: Acknowledgment sent {"connection_id":132197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:10:07] local.INFO: TCP Data received {"connection_id":132370,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:10:07] local.INFO: Processing buffer {"connection_id":132370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:10:07] local.INFO: IMEI packet received {"connection_id":132370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":132370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:10:08] local.INFO: TCP Data received {"connection_id":132370,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d9f400012d7f92c005afdea8000000992d..."} 
[2026-07-15 09:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d9f400012d7f92c005afdea8000000992d..."} 
[2026-07-15 09:10:08] local.INFO: Processing buffer {"connection_id":132370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d9f400012d7f92c005afdea8000000992d..."} 
[2026-07-15 09:10:08] local.INFO: Packet analysis {"connection_id":132370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d9"} 
[2026-07-15 09:10:08] local.INFO: Extracted packet for processing {"connection_id":132370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d9"} 
[2026-07-15 09:10:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95411880,"longitude_deg":76.333536,"latitude_deg":9.541188,"altitude":0,"angle":153,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-07-15 09:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726106880001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 09:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074577920,"note":"Value kept but may cause issues"} 
[2026-07-15 09:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784086656000,"timestamp_ms":1784086656000,"timestamp_seconds":1784086656,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d9f400"} 
[2026-07-15 09:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 09:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726106880001,"66":25832,"27":206,"85":12544,"24":0,"16":347094255858089984,"45":9192620920074577920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726106880001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:10:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:10:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074577920,"description":"Unknown IO ID 45"} 
[2026-07-15 09:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726106880001,"power":25832,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074577920}} 
[2026-07-15 09:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":132370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:10:08] local.INFO: GPS data processed {"connection_id":132370,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:10:08] local.INFO: Acknowledgment sent {"connection_id":132370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:10:29] local.INFO: TCP Data received {"connection_id":132371,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132371,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:10:29] local.INFO: Processing buffer {"connection_id":132371,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:10:29] local.INFO: IMEI packet received {"connection_id":132371,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 09:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":132371,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:10:32] local.INFO: TCP Data received {"connection_id":132371,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132371,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:10:32] local.INFO: Processing buffer {"connection_id":132371,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:10:32] local.INFO: IMEI packet received {"connection_id":132371,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":132371,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:10:33] local.INFO: TCP Data received {"connection_id":132371,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132371,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:10:33] local.INFO: Processing buffer {"connection_id":132371,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:10:33] local.INFO: IMEI packet received {"connection_id":132371,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":132371,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:10:34] local.INFO: TCP Data received {"connection_id":132371,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132371,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:10:34] local.INFO: Processing buffer {"connection_id":132371,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:10:34] local.INFO: IMEI packet received {"connection_id":132371,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":132371,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:10:35] local.INFO: TCP Data received {"connection_id":132371,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63db8e28012d0a7500070603a0000b007023..."} 
[2026-07-15 09:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63db8e28012d0a7500070603a0000b007023..."} 
[2026-07-15 09:10:35] local.INFO: Processing buffer {"connection_id":132371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63db8e28012d0a7500070603a0000b007023..."} 
[2026-07-15 09:10:35] local.INFO: Packet analysis {"connection_id":132371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63db"} 
[2026-07-15 09:10:35] local.INFO: Extracted packet for processing {"connection_id":132371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63db"} 
[2026-07-15 09:10:35] local.INFO: GPS Element Parsed {"raw_longitude":755660032,"raw_latitude":117834656,"longitude_deg":75.5660032,"latitude_deg":11.7834656,"altitude":11,"angle":112,"satellites":35,"speed":2,"hex_longitude":"2d0a7500","hex_latitude":"070603a0","is_valid_coordinates":true} 
[2026-07-15 09:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726210304001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24594421550940160,"note":"Value kept but may cause issues"} 
[2026-07-15 09:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753438174075930624,"note":"Value kept but may cause issues"} 
[2026-07-15 09:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784086761000,"timestamp_ms":1784086761000,"timestamp_seconds":1784086761,"priority":1,"record_length":96,"hex_timestamp":"0000019f63db8e28"} 
[2026-07-15 09:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-15 09:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132371,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132371,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726210304001,"66":14407,"153":206,"94":10240,"24":2,"16":24594421550940160,"45":753438174075930624},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-15 09:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726210304001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:10:35] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-15 09:10:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24594421550940160,"km_value":24594421550940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":753438174075930624,"description":"Unknown IO ID 45"} 
[2026-07-15 09:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726210304001,"power":14407,"unknown_153":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":753438174075930624}} 
[2026-07-15 09:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":132371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490234,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:10:35] local.INFO: GPS data processed {"connection_id":132371,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:10:35] local.INFO: Acknowledgment sent {"connection_id":132371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:10:39] local.INFO: TCP Data received {"connection_id":132370,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d9f400012d7f92c005afdea8000000992d..."} 
[2026-07-15 09:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d9f400012d7f92c005afdea8000000992d..."} 
[2026-07-15 09:10:39] local.INFO: Processing buffer {"connection_id":132370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d9f400012d7f92c005afdea8000000992d..."} 
[2026-07-15 09:10:39] local.INFO: Packet analysis {"connection_id":132370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d9"} 
[2026-07-15 09:10:39] local.INFO: Extracted packet for processing {"connection_id":132370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d9"} 
[2026-07-15 09:10:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95411880,"longitude_deg":76.333536,"latitude_deg":9.541188,"altitude":0,"angle":153,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-07-15 09:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726106880001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 09:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074577920,"note":"Value kept but may cause issues"} 
[2026-07-15 09:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784086656000,"timestamp_ms":1784086656000,"timestamp_seconds":1784086656,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d9f400"} 
[2026-07-15 09:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:10:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 09:10:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:10:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:10: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-07-15 09:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726106880001,"66":25832,"27":206,"85":12544,"24":0,"16":347094255858089984,"45":9192620920074577920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726106880001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:10:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:10:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074577920,"description":"Unknown IO ID 45"} 
[2026-07-15 09:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726106880001,"power":25832,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074577920}} 
[2026-07-15 09:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":132370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:10:39] local.INFO: GPS data processed {"connection_id":132370,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:10:39] local.INFO: Acknowledgment sent {"connection_id":132370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:10:57] local.INFO: TCP Data received {"connection_id":134580,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:10:57] local.INFO: Processing buffer {"connection_id":134580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:10:57] local.INFO: IMEI packet received {"connection_id":134580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 09:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":134580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:11:01] local.INFO: TCP Data received {"connection_id":132200,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:11:01] local.INFO: Processing buffer {"connection_id":132200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:11:01] local.INFO: IMEI packet received {"connection_id":132200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":132200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:11:02] local.INFO: TCP Data received {"connection_id":134580,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:11:02] local.INFO: Processing buffer {"connection_id":134580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:11:02] local.INFO: IMEI packet received {"connection_id":134580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 09:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":134580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:11:03] local.INFO: TCP Data received {"connection_id":134580,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d4a888012d199e80071ff1000034010525..."} 
[2026-07-15 09:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d4a888012d199e80071ff1000034010525..."} 
[2026-07-15 09:11:03] local.INFO: Processing buffer {"connection_id":134580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d4a888012d199e80071ff1000034010525..."} 
[2026-07-15 09:11:03] local.INFO: Packet analysis {"connection_id":134580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d4"} 
[2026-07-15 09:11:03] local.INFO: Extracted packet for processing {"connection_id":134580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d4"} 
[2026-07-15 09:11:03] local.INFO: GPS Element Parsed {"raw_longitude":756653696,"raw_latitude":119533824,"longitude_deg":75.6653696,"latitude_deg":11.9533824,"altitude":52,"angle":261,"satellites":37,"speed":15,"hex_longitude":"2d199e80","hex_latitude":"071ff100","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726094080001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6134931285606400,"note":"Value kept but may cause issues"} 
[2026-07-15 09:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847249934008639488,"note":"Value kept but may cause issues"} 
[2026-07-15 09:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784086309000,"timestamp_ms":1784086309000,"timestamp_seconds":1784086309,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d4a888"} 
[2026-07-15 09:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:11:03] 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-07-15 09: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-15 09:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":134580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":134580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":134580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:11:03] 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-07-15 09:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 09:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 09:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726094080001,"66":13037,"101":206,"83":41984,"24":15,"16":6134931285606400,"45":1847249934008639488},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-15 09:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 09:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 09:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726094080001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:11:03] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-15 09:11:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 09:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6134931285606400,"km_value":6134931285606.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847249934008639488,"description":"Unknown IO ID 45"} 
[2026-07-15 09:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726094080001,"power":13037,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1847249934008639488}} 
[2026-07-15 09:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":134580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:11:03] local.INFO: GPS data processed {"connection_id":134580,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:11:03] local.INFO: Acknowledgment sent {"connection_id":134580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:11:06] local.INFO: TCP Data received {"connection_id":132371,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63dd0140012d0a74400705e2c0000d00d423..."} 
[2026-07-15 09:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63dd0140012d0a74400705e2c0000d00d423..."} 
[2026-07-15 09:11:06] local.INFO: Processing buffer {"connection_id":132371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63dd0140012d0a74400705e2c0000d00d423..."} 
[2026-07-15 09:11:06] local.INFO: Packet analysis {"connection_id":132371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63dd"} 
[2026-07-15 09:11:06] local.INFO: Extracted packet for processing {"connection_id":132371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63dd"} 
[2026-07-15 09:11:06] local.INFO: GPS Element Parsed {"raw_longitude":755659840,"raw_latitude":117826240,"longitude_deg":75.565984,"latitude_deg":11.782624,"altitude":13,"angle":212,"satellites":35,"speed":14,"hex_longitude":"2d0a7440","hex_latitude":"0705e2c0","is_valid_coordinates":true} 
[2026-07-15 09:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726234624001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24594876817473536,"note":"Value kept but may cause issues"} 
[2026-07-15 09:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753719649050664960,"note":"Value kept but may cause issues"} 
[2026-07-15 09:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784086856000,"timestamp_ms":1784086856000,"timestamp_seconds":1784086856,"priority":1,"record_length":96,"hex_timestamp":"0000019f63dd0140"} 
[2026-07-15 09:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-15 09:11: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-07-15 09:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132371,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132371,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726234624001,"66":14407,"153":206,"94":10240,"24":14,"16":24594876817473536,"45":753719649050664960},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-15 09:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726234624001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:11:06] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-15 09:11:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24594876817473536,"km_value":24594876817473.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":753719649050664960,"description":"Unknown IO ID 45"} 
[2026-07-15 09:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726234624001,"power":14407,"unknown_153":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":753719649050664960}} 
[2026-07-15 09:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":132371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490237,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:11:06] local.INFO: GPS data processed {"connection_id":132371,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:11:06] local.INFO: Acknowledgment sent {"connection_id":132371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:11:07] local.INFO: TCP Data received {"connection_id":132200,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:11:07] local.INFO: Processing buffer {"connection_id":132200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:11:07] local.INFO: IMEI packet received {"connection_id":132200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":132200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:11:07] local.INFO: TCP Data received {"connection_id":132200,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d9f400012d7f92c005afdea8000000992d..."} 
[2026-07-15 09:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d9f400012d7f92c005afdea8000000992d..."} 
[2026-07-15 09:11:07] local.INFO: Processing buffer {"connection_id":132200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d9f400012d7f92c005afdea8000000992d..."} 
[2026-07-15 09:11:07] local.INFO: Packet analysis {"connection_id":132200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d9"} 
[2026-07-15 09:11:07] local.INFO: Extracted packet for processing {"connection_id":132200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d9"} 
[2026-07-15 09:11:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95411880,"longitude_deg":76.333536,"latitude_deg":9.541188,"altitude":0,"angle":153,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-07-15 09:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726106880001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 09:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074577920,"note":"Value kept but may cause issues"} 
[2026-07-15 09:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784086656000,"timestamp_ms":1784086656000,"timestamp_seconds":1784086656,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d9f400"} 
[2026-07-15 09:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 09:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:11:07] 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-07-15 09:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726106880001,"66":25832,"27":206,"85":12544,"24":0,"16":347094255858089984,"45":9192620920074577920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726106880001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:11:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:11:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074577920,"description":"Unknown IO ID 45"} 
[2026-07-15 09:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726106880001,"power":25832,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074577920}} 
[2026-07-15 09:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":132200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:11:07] local.INFO: GPS data processed {"connection_id":132200,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:11:07] local.INFO: Acknowledgment sent {"connection_id":132200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:11:30] local.INFO: TCP Data received {"connection_id":132372,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132372,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:11:30] local.INFO: Processing buffer {"connection_id":132372,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:11:30] local.INFO: IMEI packet received {"connection_id":132372,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 09:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":132372,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:11:30] local.INFO: TCP Data received {"connection_id":132372,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132372,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:11:30] local.INFO: Processing buffer {"connection_id":132372,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:11:30] local.INFO: IMEI packet received {"connection_id":132372,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":132372,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:11:33] local.INFO: TCP Data received {"connection_id":132372,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132372,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:11:33] local.INFO: Processing buffer {"connection_id":132372,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:11:33] local.INFO: IMEI packet received {"connection_id":132372,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":132372,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:11:34] local.INFO: TCP Data received {"connection_id":132372,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63dd0cf8012d0a72800705df88000e00c322..."} 
[2026-07-15 09:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63dd0cf8012d0a72800705df88000e00c322..."} 
[2026-07-15 09:11:34] local.INFO: Processing buffer {"connection_id":132372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63dd0cf8012d0a72800705df88000e00c322..."} 
[2026-07-15 09:11:34] local.INFO: Packet analysis {"connection_id":132372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63dd"} 
[2026-07-15 09:11:34] local.INFO: Extracted packet for processing {"connection_id":132372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63dd"} 
[2026-07-15 09:11:34] local.INFO: GPS Element Parsed {"raw_longitude":755659392,"raw_latitude":117825416,"longitude_deg":75.5659392,"latitude_deg":11.7825416,"altitude":14,"angle":195,"satellites":34,"speed":12,"hex_longitude":"2d0a7280","hex_latitude":"0705df88","is_valid_coordinates":true} 
[2026-07-15 09:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726235136001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24594924062113792,"note":"Value kept but may cause issues"} 
[2026-07-15 09:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753297436585410560,"note":"Value kept but may cause issues"} 
[2026-07-15 09:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784086859000,"timestamp_ms":1784086859000,"timestamp_seconds":1784086859,"priority":1,"record_length":96,"hex_timestamp":"0000019f63dd0cf8"} 
[2026-07-15 09:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-15 09:11:34] 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-07-15 09:11:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":132372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":132372,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":132372,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726235136001,"66":14461,"153":206,"94":10240,"24":12,"16":24594924062113792,"45":753297436585410560},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-15 09:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726235136001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:11:34] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-15 09:11:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24594924062113792,"km_value":24594924062113.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":753297436585410560,"description":"Unknown IO ID 45"} 
[2026-07-15 09:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726235136001,"power":14461,"unknown_153":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":753297436585410560}} 
[2026-07-15 09:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":132372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490239,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:11:34] local.INFO: GPS data processed {"connection_id":132372,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:11:34] local.INFO: Acknowledgment sent {"connection_id":132372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:11:34] local.INFO: TCP Data received {"connection_id":134581,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134581,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:11:34] local.INFO: Processing buffer {"connection_id":134581,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:11:34] local.INFO: IMEI packet received {"connection_id":134581,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 09:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":134581,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:11:37] local.INFO: TCP Data received {"connection_id":134581,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134581,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:11:37] local.INFO: Processing buffer {"connection_id":134581,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:11:37] local.INFO: IMEI packet received {"connection_id":134581,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":134581,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:11:38] local.INFO: TCP Data received {"connection_id":134581,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63dc49a8012d79454005e912a80003008b28..."} 
[2026-07-15 09:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63dc49a8012d79454005e912a80003008b28..."} 
[2026-07-15 09:11:38] local.INFO: Processing buffer {"connection_id":134581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63dc49a8012d79454005e912a80003008b28..."} 
[2026-07-15 09:11:38] local.INFO: Packet analysis {"connection_id":134581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63dc"} 
[2026-07-15 09:11:38] local.INFO: Extracted packet for processing {"connection_id":134581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63dc"} 
[2026-07-15 09:11:38] local.INFO: GPS Element Parsed {"raw_longitude":762922304,"raw_latitude":99160744,"longitude_deg":76.2922304,"latitude_deg":9.9160744,"altitude":3,"angle":139,"satellites":40,"speed":28,"hex_longitude":"2d794540","hex_latitude":"05e912a8","is_valid_coordinates":true} 
[2026-07-15 09:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726219264001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106319458691186688,"note":"Value kept but may cause issues"} 
[2026-07-15 09:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8733816708997560320,"note":"Value kept but may cause issues"} 
[2026-07-15 09:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784086809000,"timestamp_ms":1784086809000,"timestamp_seconds":1784086809,"priority":1,"record_length":96,"hex_timestamp":"0000019f63dc49a8"} 
[2026-07-15 09:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-15 09:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726219264001,"66":13363,"23":206,"87":13824,"24":28,"16":106319458691186688,"45":8733816708997560320},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,87,24,16,45]} 
[2026-07-15 09:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726219264001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:11:38] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-15 09:11:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 09:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106319458691186688,"km_value":106319458691186.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8733816708997560320,"description":"Unknown IO ID 45"} 
[2026-07-15 09:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726219264001,"power":13363,"unknown_23":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8733816708997560320}} 
[2026-07-15 09:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":134581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490240,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:11:38] local.INFO: GPS data processed {"connection_id":134581,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:11:38] local.INFO: Acknowledgment sent {"connection_id":134581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:11:38] local.INFO: TCP Data received {"connection_id":132200,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d9f400012d7f92c005afdea8000000992d..."} 
[2026-07-15 09:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d9f400012d7f92c005afdea8000000992d..."} 
[2026-07-15 09:11:38] local.INFO: Processing buffer {"connection_id":132200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d9f400012d7f92c005afdea8000000992d..."} 
[2026-07-15 09:11:38] local.INFO: Packet analysis {"connection_id":132200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d9"} 
[2026-07-15 09:11:38] local.INFO: Extracted packet for processing {"connection_id":132200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d9"} 
[2026-07-15 09:11:38] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95411880,"longitude_deg":76.333536,"latitude_deg":9.541188,"altitude":0,"angle":153,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-07-15 09:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726106880001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 09:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074577920,"note":"Value kept but may cause issues"} 
[2026-07-15 09:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784086656000,"timestamp_ms":1784086656000,"timestamp_seconds":1784086656,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d9f400"} 
[2026-07-15 09:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 09:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726106880001,"66":25832,"27":206,"85":12544,"24":0,"16":347094255858089984,"45":9192620920074577920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726106880001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:11:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:11:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074577920,"description":"Unknown IO ID 45"} 
[2026-07-15 09:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726106880001,"power":25832,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074577920}} 
[2026-07-15 09:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":132200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:11:39] local.INFO: GPS data processed {"connection_id":132200,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:11:39] local.INFO: Acknowledgment sent {"connection_id":132200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:11:39] local.INFO: TCP Data received {"connection_id":134581,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63dc5948012d794b4005e909680002009b27..."} 
[2026-07-15 09:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63dc5948012d794b4005e909680002009b27..."} 
[2026-07-15 09:11:39] local.INFO: Processing buffer {"connection_id":134581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63dc5948012d794b4005e909680002009b27..."} 
[2026-07-15 09:11:39] local.INFO: Packet analysis {"connection_id":134581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63dc"} 
[2026-07-15 09:11:39] local.INFO: Extracted packet for processing {"connection_id":134581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63dc"} 
[2026-07-15 09:11:39] local.INFO: GPS Element Parsed {"raw_longitude":762923840,"raw_latitude":99158376,"longitude_deg":76.292384,"latitude_deg":9.9158376,"altitude":2,"angle":155,"satellites":39,"speed":28,"hex_longitude":"2d794b40","hex_latitude":"05e90968","is_valid_coordinates":true} 
[2026-07-15 09:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726223104001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106319596130140160,"note":"Value kept but may cause issues"} 
[2026-07-15 09:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8738461046111643648,"note":"Value kept but may cause issues"} 
[2026-07-15 09:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784086813000,"timestamp_ms":1784086813000,"timestamp_seconds":1784086813,"priority":1,"record_length":96,"hex_timestamp":"0000019f63dc5948"} 
[2026-07-15 09:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-15 09:11:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726223104001,"66":13319,"23":206,"87":13824,"24":28,"16":106319596130140160,"45":8738461046111643648},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,87,24,16,45]} 
[2026-07-15 09:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726223104001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:11:39] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-15 09:11:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 09:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106319596130140160,"km_value":106319596130140.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8738461046111643648,"description":"Unknown IO ID 45"} 
[2026-07-15 09:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726223104001,"power":13319,"unknown_23":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8738461046111643648}} 
[2026-07-15 09:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":134581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490242,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:11:39] local.INFO: GPS data processed {"connection_id":134581,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:11:39] local.INFO: Acknowledgment sent {"connection_id":134581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:11:42] local.INFO: TCP Data received {"connection_id":132201,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:11:42] local.INFO: Processing buffer {"connection_id":132201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:11:42] local.INFO: IMEI packet received {"connection_id":132201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 09:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":132201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:11:47] local.INFO: TCP Data received {"connection_id":132201,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:11:47] local.INFO: Processing buffer {"connection_id":132201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:11:47] local.INFO: IMEI packet received {"connection_id":132201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 09:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":132201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:11:48] local.INFO: TCP Data received {"connection_id":132201,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d4b058012d199b80071ff0f80036011525..."} 
[2026-07-15 09:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d4b058012d199b80071ff0f80036011525..."} 
[2026-07-15 09:11:48] local.INFO: Processing buffer {"connection_id":132201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d4b058012d199b80071ff0f80036011525..."} 
[2026-07-15 09:11:48] local.INFO: Packet analysis {"connection_id":132201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d4"} 
[2026-07-15 09:11:48] local.INFO: Extracted packet for processing {"connection_id":132201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d4"} 
[2026-07-15 09:11:48] local.INFO: GPS Element Parsed {"raw_longitude":756652928,"raw_latitude":119533816,"longitude_deg":75.6652928,"latitude_deg":11.9533816,"altitude":54,"angle":277,"satellites":37,"speed":14,"hex_longitude":"2d199b80","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-07-15 09:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:11:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726095104001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:11:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6134969940312064,"note":"Value kept but may cause issues"} 
[2026-07-15 09:11:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846053665357496320,"note":"Value kept but may cause issues"} 
[2026-07-15 09:11:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:11:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784086311000,"timestamp_ms":1784086311000,"timestamp_seconds":1784086311,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d4b058"} 
[2026-07-15 09:11:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:11: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-07-15 09:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-15 09:11:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:11:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:11:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:11:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:11:48] local.INFO: Teltonika packet parsed successfully {"connection_id":132201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:11:48] local.INFO: Passing IMEI to GPS processor {"connection_id":132201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:11:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":132201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:11:48] 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-07-15 09:11:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 09:11:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 09:11:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726095104001,"66":12548,"101":206,"83":41984,"24":14,"16":6134969940312064,"45":1846053665357496320},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-15 09:11:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 09:11:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 09:11:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726095104001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:11:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-15 09:11:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 09:11:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6134969940312064,"km_value":6134969940312.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:11:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846053665357496320,"description":"Unknown IO ID 45"} 
[2026-07-15 09:11:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726095104001,"power":12548,"unknown_101":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1846053665357496320}} 
[2026-07-15 09:11:48] local.INFO: DEBUG: GPS processor result {"connection_id":132201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490243,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:11:48] local.INFO: GPS data processed {"connection_id":132201,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:11:48] local.INFO: Acknowledgment sent {"connection_id":132201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:12:01] local.INFO: TCP Data received {"connection_id":132202,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:12:01] local.INFO: Processing buffer {"connection_id":132202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:12:01] local.INFO: IMEI packet received {"connection_id":132202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":132202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:12:05] local.INFO: TCP Data received {"connection_id":132372,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63dd10e0012d0a72800705de20000e00b422..."} 
[2026-07-15 09:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63dd10e0012d0a72800705de20000e00b422..."} 
[2026-07-15 09:12:05] local.INFO: Processing buffer {"connection_id":132372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63dd10e0012d0a72800705de20000e00b422..."} 
[2026-07-15 09:12:05] local.INFO: Packet analysis {"connection_id":132372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63dd"} 
[2026-07-15 09:12:05] local.INFO: Extracted packet for processing {"connection_id":132372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63dd"} 
[2026-07-15 09:12:05] local.INFO: GPS Element Parsed {"raw_longitude":755659392,"raw_latitude":117825056,"longitude_deg":75.5659392,"latitude_deg":11.7825056,"altitude":14,"angle":180,"satellites":34,"speed":14,"hex_longitude":"2d0a7280","hex_latitude":"0705de20","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726235904001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24594941241982976,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752804855375955968,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784086860000,"timestamp_ms":1784086860000,"timestamp_seconds":1784086860,"priority":1,"record_length":96,"hex_timestamp":"0000019f63dd10e0"} 
[2026-07-15 09:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09: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":125,"data_length":795,"current_offset":136} 
[2026-07-15 09:12:05] 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-07-15 09: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-07-15 09:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132372,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132372,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726235904001,"66":14374,"153":206,"94":10240,"24":14,"16":24594941241982976,"45":752804855375955968},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-15 09:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726235904001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:12:05] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-15 09:12:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24594941241982976,"km_value":24594941241982.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":752804855375955968,"description":"Unknown IO ID 45"} 
[2026-07-15 09:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726235904001,"power":14374,"unknown_153":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":752804855375955968}} 
[2026-07-15 09:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":132372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490244,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:12:05] local.INFO: GPS data processed {"connection_id":132372,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:12:05] local.INFO: Acknowledgment sent {"connection_id":132372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:12:06] local.INFO: TCP Data received {"connection_id":132202,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:12:06] local.INFO: Processing buffer {"connection_id":132202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:12:06] local.INFO: IMEI packet received {"connection_id":132202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":132202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:12:07] local.INFO: TCP Data received {"connection_id":132202,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d9f400012d7f92c005afdea8000000992d..."} 
[2026-07-15 09:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d9f400012d7f92c005afdea8000000992d..."} 
[2026-07-15 09:12:07] local.INFO: Processing buffer {"connection_id":132202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d9f400012d7f92c005afdea8000000992d..."} 
[2026-07-15 09:12:07] local.INFO: Packet analysis {"connection_id":132202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d9"} 
[2026-07-15 09:12:07] local.INFO: Extracted packet for processing {"connection_id":132202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d9"} 
[2026-07-15 09:12:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95411880,"longitude_deg":76.333536,"latitude_deg":9.541188,"altitude":0,"angle":153,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-07-15 09:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726106880001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074577920,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784086656000,"timestamp_ms":1784086656000,"timestamp_seconds":1784086656,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d9f400"} 
[2026-07-15 09:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 09:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726106880001,"66":25832,"27":206,"85":12544,"24":0,"16":347094255858089984,"45":9192620920074577920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726106880001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:12:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:12:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074577920,"description":"Unknown IO ID 45"} 
[2026-07-15 09:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726106880001,"power":25832,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074577920}} 
[2026-07-15 09:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":132202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:12:07] local.INFO: GPS data processed {"connection_id":132202,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:12:07] local.INFO: Acknowledgment sent {"connection_id":132202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:12:10] local.INFO: TCP Data received {"connection_id":134581,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63dcab50012d79580005e8ebf80003009c27..."} 
[2026-07-15 09:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63dcab50012d79580005e8ebf80003009c27..."} 
[2026-07-15 09:12:10] local.INFO: Processing buffer {"connection_id":134581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63dcab50012d79580005e8ebf80003009c27..."} 
[2026-07-15 09:12:10] local.INFO: Packet analysis {"connection_id":134581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63dc"} 
[2026-07-15 09:12:10] local.INFO: Extracted packet for processing {"connection_id":134581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63dc"} 
[2026-07-15 09:12:10] local.INFO: GPS Element Parsed {"raw_longitude":762927104,"raw_latitude":99150840,"longitude_deg":76.2927104,"latitude_deg":9.915084,"altitude":3,"angle":156,"satellites":39,"speed":0,"hex_longitude":"2d795800","hex_latitude":"05e8ebf8","is_valid_coordinates":true} 
[2026-07-15 09:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726224128001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106319995562098688,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8740149895971301376,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784086834000,"timestamp_ms":1784086834000,"timestamp_seconds":1784086834,"priority":1,"record_length":96,"hex_timestamp":"0000019f63dcab50"} 
[2026-07-15 09:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-15 09:12:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:10] local.WARNING: Large IO value detected {"io_id":184,"raw_value":2701131776,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:10] local.WARNING: Large IO value detected {"io_id":99,"raw_value":3689926657,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:10] local.WARNING: Large IO value detected {"io_id":233,"raw_value":6777917464971585536,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2987851982,"corrected_to":0} 
[2026-07-15 09:12:10] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3087060402,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:10] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3094675456,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:10] local.WARNING: Large IO value detected {"io_id":187,"raw_value":57898182093199158,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:10] local.WARNING: Large IO value detected {"io_id":219,"raw_value":4050989159636451333,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:10] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,23,87,24,241,157,16,185,159,73,45,64,18,3,40,10,66,184,15,192,43,38,7,1,240,166,227,99,233,4,113,205,44,41,239,48,2,121,5,9,187,219],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2987851982,"validated":0}]} 
[2026-07-15 09:12:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144285779883720704,"timestamp_seconds":144285779883720.72,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 09:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":134581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":134581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":134581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726224128001,"66":13178,"201":206,"87":13824,"24":0,"16":106319995562098688,"45":8740149895971301376},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-15 09:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726224128001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:12:10] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-15 09:12:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 09:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106319995562098688,"km_value":106319995562098.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8740149895971301376,"description":"Unknown IO ID 45"} 
[2026-07-15 09:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726224128001,"power":13178,"unknown_201":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8740149895971301376}} 
[2026-07-15 09:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":134581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490246,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:12:10] local.INFO: GPS data processed {"connection_id":134581,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:12:10] local.INFO: Acknowledgment sent {"connection_id":134581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:12:19] local.INFO: TCP Data received {"connection_id":132201,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d4b440012d199a00071ff1280036011825..."} 
[2026-07-15 09:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d4b440012d199a00071ff1280036011825..."} 
[2026-07-15 09:12:19] local.INFO: Processing buffer {"connection_id":132201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d4b440012d199a00071ff1280036011825..."} 
[2026-07-15 09:12:19] local.INFO: Packet analysis {"connection_id":132201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d4"} 
[2026-07-15 09:12:19] local.INFO: Extracted packet for processing {"connection_id":132201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d4"} 
[2026-07-15 09:12:19] local.INFO: GPS Element Parsed {"raw_longitude":756652544,"raw_latitude":119533864,"longitude_deg":75.6652544,"latitude_deg":11.9533864,"altitude":54,"angle":280,"satellites":37,"speed":14,"hex_longitude":"2d199a00","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-07-15 09:12: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-07-15 09:12:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726095616001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6134969940312064,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845209240427362304,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:12:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784086312000,"timestamp_ms":1784086312000,"timestamp_seconds":1784086312,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d4b440"} 
[2026-07-15 09:12:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:12: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-07-15 09: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 09:12:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:19] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2684354560,"corrected_to":0} 
[2026-07-15 09:12:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184309555405,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:19] local.WARNING: Large IO value detected {"io_id":99,"raw_value":3564998657,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:19] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4039639088,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-07-15 09:12:19] local.WARNING: Large IO value detected {"io_id":86,"raw_value":2147560729,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:19] local.WARNING: Large IO value detected {"io_id":193,"raw_value":2147950577,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:19] local.WARNING: Large IO value detected {"io_id":21,"raw_value":3410624512,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:19] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:19] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,101,83,24,241,157,16,203,159,168,45,128,52,37,10,66,152,192,242,49,149,1,240,79,227,99,31,4,113,205,23,86,193,136,239,56,2,21,7,44,120],"length":485,"final_offset":615,"validated_count":41,"validation_warnings":[{"io_id":203,"original":2684354560,"validated":0},{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-07-15 09:12:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3891414801683709952,"timestamp_seconds":3891414801683710.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 09:12:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:12:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:12:19] local.INFO: Teltonika packet parsed successfully {"connection_id":132201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:12:19] local.INFO: Passing IMEI to GPS processor {"connection_id":132201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:12:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":132201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:12:19] 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-07-15 09:12:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 09:12:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 09:12:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726095616001,"66":12548,"101":206,"83":41984,"24":14,"16":6134969940312064,"45":1845209240427362304},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-15 09:12:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 09:12:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 09:12:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726095616001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:12:19] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-15 09:12:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 09:12:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6134969940312064,"km_value":6134969940312.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:12:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845209240427362304,"description":"Unknown IO ID 45"} 
[2026-07-15 09:12:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726095616001,"power":12548,"unknown_101":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1845209240427362304}} 
[2026-07-15 09:12:19] local.INFO: DEBUG: GPS processor result {"connection_id":132201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:12:19] local.INFO: GPS data processed {"connection_id":132201,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:12:19] local.INFO: Acknowledgment sent {"connection_id":132201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:12:27] local.INFO: TCP Data received {"connection_id":133216,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133216,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:12:27] local.INFO: Processing buffer {"connection_id":133216,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:12:27] local.INFO: IMEI packet received {"connection_id":133216,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 09:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":133216,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:12:29] local.INFO: TCP Data received {"connection_id":133216,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133216,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:12:29] local.INFO: Processing buffer {"connection_id":133216,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:12:29] local.INFO: IMEI packet received {"connection_id":133216,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":133216,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:12:30] local.INFO: TCP Data received {"connection_id":132373,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132373,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:12:30] local.INFO: Processing buffer {"connection_id":132373,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:12:30] local.INFO: IMEI packet received {"connection_id":132373,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 09:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":132373,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:12:31] local.INFO: TCP Data received {"connection_id":132373,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132373,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:12:31] local.INFO: Processing buffer {"connection_id":132373,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:12:31] local.INFO: IMEI packet received {"connection_id":132373,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":132373,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:12:32] local.INFO: TCP Data received {"connection_id":132373,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63dcc6a8012d79584005e8eb08000300af28..."} 
[2026-07-15 09:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63dcc6a8012d79584005e8eb08000300af28..."} 
[2026-07-15 09:12:32] local.INFO: Processing buffer {"connection_id":132373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63dcc6a8012d79584005e8eb08000300af28..."} 
[2026-07-15 09:12:32] local.INFO: Packet analysis {"connection_id":132373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63dc"} 
[2026-07-15 09:12:32] local.INFO: Extracted packet for processing {"connection_id":132373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63dc"} 
[2026-07-15 09:12:32] local.INFO: GPS Element Parsed {"raw_longitude":762927168,"raw_latitude":99150600,"longitude_deg":76.2927168,"latitude_deg":9.91506,"altitude":3,"angle":175,"satellites":40,"speed":4,"hex_longitude":"2d795840","hex_latitude":"05e8eb08","is_valid_coordinates":true} 
[2026-07-15 09:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726229504001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106320008447000576,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8743738701922433024,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784086841000,"timestamp_ms":1784086841000,"timestamp_seconds":1784086841,"priority":1,"record_length":96,"hex_timestamp":"0000019f63dcc6a8"} 
[2026-07-15 09:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-15 09:12:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":132373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":132373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":132373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726229504001,"66":13102,"201":206,"87":13824,"24":4,"16":106320008447000576,"45":8743738701922433024},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-15 09:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726229504001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:12:32] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-15 09:12:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 09:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106320008447000576,"km_value":106320008447000.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8743738701922433024,"description":"Unknown IO ID 45"} 
[2026-07-15 09:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726229504001,"power":13102,"unknown_201":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8743738701922433024}} 
[2026-07-15 09:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":132373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490248,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:12:32] local.INFO: GPS data processed {"connection_id":132373,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:12:32] local.INFO: Acknowledgment sent {"connection_id":132373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:12:35] local.INFO: TCP Data received {"connection_id":133216,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133216,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:12:35] local.INFO: Processing buffer {"connection_id":133216,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:12:35] local.INFO: IMEI packet received {"connection_id":133216,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":133216,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:12:35] local.INFO: TCP Data received {"connection_id":132373,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63dcce78012d79588005e8e950000300a028..."} 
[2026-07-15 09:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63dcce78012d79588005e8e950000300a028..."} 
[2026-07-15 09:12:35] local.INFO: Processing buffer {"connection_id":132373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63dcce78012d79588005e8e950000300a028..."} 
[2026-07-15 09:12:35] local.INFO: Packet analysis {"connection_id":132373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63dc"} 
[2026-07-15 09:12:35] local.INFO: Extracted packet for processing {"connection_id":132373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63dc"} 
[2026-07-15 09:12:35] local.INFO: GPS Element Parsed {"raw_longitude":762927232,"raw_latitude":99150160,"longitude_deg":76.2927232,"latitude_deg":9.915016,"altitude":3,"angle":160,"satellites":40,"speed":11,"hex_longitude":"2d795880","hex_latitude":"05e8e950","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726231296001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106320029921837056,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8743809070666549248,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784086843000,"timestamp_ms":1784086843000,"timestamp_seconds":1784086843,"priority":1,"record_length":96,"hex_timestamp":"0000019f63dcce78"} 
[2026-07-15 09:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-15 09:12:35] 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-07-15 09: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-07-15 09:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726231296001,"66":13189,"201":206,"87":13824,"24":11,"16":106320029921837056,"45":8743809070666549248},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-15 09:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726231296001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:12:35] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-15 09:12:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 09:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106320029921837056,"km_value":106320029921837.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8743809070666549248,"description":"Unknown IO ID 45"} 
[2026-07-15 09:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726231296001,"power":13189,"unknown_201":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8743809070666549248}} 
[2026-07-15 09:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":132373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490249,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:12:35] local.INFO: GPS data processed {"connection_id":132373,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:12:35] local.INFO: Acknowledgment sent {"connection_id":132373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:12:35] local.INFO: TCP Data received {"connection_id":133216,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63de3da8012d0a54c007057c40000f00e622..."} 
[2026-07-15 09:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63de3da8012d0a54c007057c40000f00e622..."} 
[2026-07-15 09:12:35] local.INFO: Processing buffer {"connection_id":133216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63de3da8012d0a54c007057c40000f00e622..."} 
[2026-07-15 09:12:35] local.INFO: Packet analysis {"connection_id":133216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63de"} 
[2026-07-15 09:12:35] local.INFO: Extracted packet for processing {"connection_id":133216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63de"} 
[2026-07-15 09:12:35] local.INFO: GPS Element Parsed {"raw_longitude":755651776,"raw_latitude":117800000,"longitude_deg":75.5651776,"latitude_deg":11.78,"altitude":15,"angle":230,"satellites":34,"speed":13,"hex_longitude":"2d0a54c0","hex_latitude":"07057c40","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726253824001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24596440185569280,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":749075311928668160,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784086937000,"timestamp_ms":1784086937000,"timestamp_seconds":1784086937,"priority":1,"record_length":96,"hex_timestamp":"0000019f63de3da8"} 
[2026-07-15 09:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 09:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":133216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":133216,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":133216,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726253824001,"66":14450,"153":206,"94":10240,"24":13,"16":24596440185569280,"45":749075311928668160},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-15 09:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726253824001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:12:35] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-15 09:12:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24596440185569280,"km_value":24596440185569.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":749075311928668160,"description":"Unknown IO ID 45"} 
[2026-07-15 09:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726253824001,"power":14450,"unknown_153":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":749075311928668160}} 
[2026-07-15 09:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":133216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490250,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:12:35] local.INFO: GPS data processed {"connection_id":133216,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:12:35] local.INFO: Acknowledgment sent {"connection_id":133216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:12:38] local.INFO: TCP Data received {"connection_id":132202,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d9f400012d7f92c005afdea8000000992d..."} 
[2026-07-15 09:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d9f400012d7f92c005afdea8000000992d..."} 
[2026-07-15 09:12:38] local.INFO: Processing buffer {"connection_id":132202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d9f400012d7f92c005afdea8000000992d..."} 
[2026-07-15 09:12:38] local.INFO: Packet analysis {"connection_id":132202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d9"} 
[2026-07-15 09:12:38] local.INFO: Extracted packet for processing {"connection_id":132202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d9"} 
[2026-07-15 09:12:38] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95411880,"longitude_deg":76.333536,"latitude_deg":9.541188,"altitude":0,"angle":153,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726106880001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074577920,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784086656000,"timestamp_ms":1784086656000,"timestamp_seconds":1784086656,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d9f400"} 
[2026-07-15 09:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 09:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726106880001,"66":25832,"27":206,"85":12544,"24":0,"16":347094255858089984,"45":9192620920074577920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726106880001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:12:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:12:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074577920,"description":"Unknown IO ID 45"} 
[2026-07-15 09:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726106880001,"power":25832,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074577920}} 
[2026-07-15 09:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":132202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:12:39] local.INFO: GPS data processed {"connection_id":132202,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:12:39] local.INFO: Acknowledgment sent {"connection_id":132202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:12:42] local.INFO: TCP Data received {"connection_id":132375,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:12:42] local.INFO: Processing buffer {"connection_id":132375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:12:42] local.INFO: IMEI packet received {"connection_id":132375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 09:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":132375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:12:47] local.INFO: TCP Data received {"connection_id":132375,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:12:47] local.INFO: Processing buffer {"connection_id":132375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:12:47] local.INFO: IMEI packet received {"connection_id":132375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 09:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":132375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:12:48] local.INFO: TCP Data received {"connection_id":132375,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d4b440012d199a00071ff1280036011825..."} 
[2026-07-15 09:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d4b440012d199a00071ff1280036011825..."} 
[2026-07-15 09:12:48] local.INFO: Processing buffer {"connection_id":132375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d4b440012d199a00071ff1280036011825..."} 
[2026-07-15 09:12:48] local.INFO: Packet analysis {"connection_id":132375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d4"} 
[2026-07-15 09:12:48] local.INFO: Extracted packet for processing {"connection_id":132375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d4"} 
[2026-07-15 09:12:48] local.INFO: GPS Element Parsed {"raw_longitude":756652544,"raw_latitude":119533864,"longitude_deg":75.6652544,"latitude_deg":11.9533864,"altitude":54,"angle":280,"satellites":37,"speed":14,"hex_longitude":"2d199a00","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-07-15 09:12:48] 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-07-15 09:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726095872001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6134969940312064,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844787027962308608,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784086312000,"timestamp_ms":1784086312000,"timestamp_seconds":1784086312,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d4b440"} 
[2026-07-15 09:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:12:48] 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-07-15 09:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 09:12:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:48] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2717908992,"corrected_to":0} 
[2026-07-15 09:12:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184315977933,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:48] local.WARNING: Large IO value detected {"io_id":99,"raw_value":3566534657,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:48] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4080009265,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-07-15 09:12:48] local.WARNING: Large IO value detected {"io_id":125,"raw_value":2415996185,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3146012,"corrected_to":0} 
[2026-07-15 09:12:48] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3321941368,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:48] local.WARNING: Large IO value detected {"io_id":21,"raw_value":3414360064,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:48] local.WARNING: Large IO value detected {"io_id":19,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:48] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-07-15 09:12:48] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,101,83,24,241,157,16,203,159,176,45,128,240,54,37,10,66,168,52,152,192,1,179,227,99,31,4,113,205,9,125,173,200,239,51,2,21,7,19,120],"length":485,"final_offset":615,"validated_count":40,"validation_warnings":[{"io_id":203,"original":2717908992,"validated":0},{"io_id":205,"original":2019885262,"validated":0},{"io_id":200,"original":3146012,"validated":0}]} 
[2026-07-15 09:12:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3891418100218593519,"timestamp_seconds":3891418100218593.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 09:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":132375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":132375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":132375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:12:48] 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-07-15 09:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 09:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 09:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726095872001,"66":12548,"101":206,"83":41984,"24":14,"16":6134969940312064,"45":1844787027962308608},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-15 09:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 09:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 09:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726095872001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:12:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-15 09:12:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 09:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6134969940312064,"km_value":6134969940312.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844787027962308608,"description":"Unknown IO ID 45"} 
[2026-07-15 09:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726095872001,"power":12548,"unknown_101":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1844787027962308608}} 
[2026-07-15 09:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":132375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:12:48] local.INFO: GPS data processed {"connection_id":132375,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:12:48] local.INFO: Acknowledgment sent {"connection_id":132375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:13:05] local.INFO: TCP Data received {"connection_id":132374,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132374,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:13:05] local.INFO: Processing buffer {"connection_id":132374,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:13:05] local.INFO: IMEI packet received {"connection_id":132374,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 09:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":132374,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:13:06] local.INFO: TCP Data received {"connection_id":132373,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63dd2080012d7965c005e8ca680004009d27..."} 
[2026-07-15 09:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63dd2080012d7965c005e8ca680004009d27..."} 
[2026-07-15 09:13:06] local.INFO: Processing buffer {"connection_id":132373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63dd2080012d7965c005e8ca680004009d27..."} 
[2026-07-15 09:13:06] local.INFO: Packet analysis {"connection_id":132373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63dd"} 
[2026-07-15 09:13:06] local.INFO: Extracted packet for processing {"connection_id":132373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63dd"} 
[2026-07-15 09:13:06] local.INFO: GPS Element Parsed {"raw_longitude":762930624,"raw_latitude":99142248,"longitude_deg":76.2930624,"latitude_deg":9.9142248,"altitude":4,"angle":157,"satellites":39,"speed":0,"hex_longitude":"2d7965c0","hex_latitude":"05e8ca68","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726231808001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106320446533664768,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8743879439410614272,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784086864000,"timestamp_ms":1784086864000,"timestamp_seconds":1784086864,"priority":1,"record_length":96,"hex_timestamp":"0000019f63dd2080"} 
[2026-07-15 09:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-15 09:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726231808001,"66":13135,"201":206,"87":13824,"24":0,"16":106320446533664768,"45":8743879439410614272},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-15 09:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726231808001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:13:06] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-15 09:13:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 09:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106320446533664768,"km_value":106320446533664.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8743879439410614272,"description":"Unknown IO ID 45"} 
[2026-07-15 09:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726231808001,"power":13135,"unknown_201":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8743879439410614272}} 
[2026-07-15 09:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":132373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490253,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:13:06] local.INFO: GPS data processed {"connection_id":132373,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:13:06] local.INFO: Acknowledgment sent {"connection_id":132373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:13:07] local.INFO: TCP Data received {"connection_id":133217,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:13:07] local.INFO: Processing buffer {"connection_id":133217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:13:07] local.INFO: IMEI packet received {"connection_id":133217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":133217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:13:10] local.INFO: TCP Data received {"connection_id":133216,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63de4578012d0a538007057b20000e00f522..."} 
[2026-07-15 09:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63de4578012d0a538007057b20000e00f522..."} 
[2026-07-15 09:13:10] local.INFO: Processing buffer {"connection_id":133216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63de4578012d0a538007057b20000e00f522..."} 
[2026-07-15 09:13:10] local.INFO: Packet analysis {"connection_id":133216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63de"} 
[2026-07-15 09:13:10] local.INFO: Extracted packet for processing {"connection_id":133216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63de"} 
[2026-07-15 09:13:10] local.INFO: GPS Element Parsed {"raw_longitude":755651456,"raw_latitude":117799712,"longitude_deg":75.5651456,"latitude_deg":11.7799712,"altitude":14,"angle":245,"satellites":34,"speed":6,"hex_longitude":"2d0a5380","hex_latitude":"07057b20","is_valid_coordinates":true} 
[2026-07-15 09:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726255872001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24596457365438464,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":744430974812307456,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784086939000,"timestamp_ms":1784086939000,"timestamp_seconds":1784086939,"priority":1,"record_length":96,"hex_timestamp":"0000019f63de4578"} 
[2026-07-15 09:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:13:10] 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-07-15 09:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-15 09:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":133216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":133216,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":133216,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726255872001,"66":14374,"153":206,"94":10240,"24":6,"16":24596457365438464,"45":744430974812307456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-15 09:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726255872001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:13:10] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-15 09:13:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24596457365438464,"km_value":24596457365438.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":744430974812307456,"description":"Unknown IO ID 45"} 
[2026-07-15 09:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726255872001,"power":14374,"unknown_153":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":744430974812307456}} 
[2026-07-15 09:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":133216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490254,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:13:10] local.INFO: GPS data processed {"connection_id":133216,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:13:10] local.INFO: Acknowledgment sent {"connection_id":133216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:13:11] local.INFO: TCP Data received {"connection_id":133217,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:13:11] local.INFO: Processing buffer {"connection_id":133217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:13:11] local.INFO: IMEI packet received {"connection_id":133217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":133217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:13:12] local.INFO: TCP Data received {"connection_id":133217,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d9f400012d7f92c005afdea8000000992d..."} 
[2026-07-15 09:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d9f400012d7f92c005afdea8000000992d..."} 
[2026-07-15 09:13:12] local.INFO: Processing buffer {"connection_id":133217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d9f400012d7f92c005afdea8000000992d..."} 
[2026-07-15 09:13:12] local.INFO: Packet analysis {"connection_id":133217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d9"} 
[2026-07-15 09:13:12] local.INFO: Extracted packet for processing {"connection_id":133217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d9"} 
[2026-07-15 09:13:12] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95411880,"longitude_deg":76.333536,"latitude_deg":9.541188,"altitude":0,"angle":153,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726106880001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074577920,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784086656000,"timestamp_ms":1784086656000,"timestamp_seconds":1784086656,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d9f400"} 
[2026-07-15 09:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 09:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":133217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":133217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":133217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726106880001,"66":25832,"27":206,"85":12544,"24":0,"16":347094255858089984,"45":9192620920074577920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726106880001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:13:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:13:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074577920,"description":"Unknown IO ID 45"} 
[2026-07-15 09:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726106880001,"power":25832,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074577920}} 
[2026-07-15 09:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":133217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:13:12] local.INFO: GPS data processed {"connection_id":133217,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:13:12] local.INFO: Acknowledgment sent {"connection_id":133217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:13:16] local.INFO: TCP Data received {"connection_id":133217,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f63de8bc8012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63de8bc8012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:13:16] local.INFO: Processing buffer {"connection_id":133217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63de8bc8012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:13:16] local.INFO: Packet analysis {"connection_id":133217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63de"} 
[2026-07-15 09:13:16] local.INFO: Extracted packet for processing {"connection_id":133217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63de"} 
[2026-07-15 09:13:16] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95411880,"longitude_deg":76.333536,"latitude_deg":9.541188,"altitude":0,"angle":153,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-07-15 09:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726183936001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074577920,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784086957000,"timestamp_ms":1784086957000,"timestamp_seconds":1784086957,"priority":1,"record_length":96,"hex_timestamp":"0000019f63de8bc8"} 
[2026-07-15 09:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:13:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-15 09:13:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:13:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":133217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":133217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":133217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726183936001,"66":25854,"27":206,"85":12544,"24":0,"16":347094255858089984,"45":9192620920074577920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726183936001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:13:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:13:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074577920,"description":"Unknown IO ID 45"} 
[2026-07-15 09:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726183936001,"power":25854,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074577920}} 
[2026-07-15 09:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":133217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:13:16] local.INFO: GPS data processed {"connection_id":133217,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:13:16] local.INFO: Acknowledgment sent {"connection_id":133217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:13:19] local.INFO: TCP Data received {"connection_id":132375,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63d4b440012d199a00071ff1280036011825..."} 
[2026-07-15 09:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63d4b440012d199a00071ff1280036011825..."} 
[2026-07-15 09:13:19] local.INFO: Processing buffer {"connection_id":132375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63d4b440012d199a00071ff1280036011825..."} 
[2026-07-15 09:13:19] local.INFO: Packet analysis {"connection_id":132375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63d4"} 
[2026-07-15 09:13:19] local.INFO: Extracted packet for processing {"connection_id":132375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63d4"} 
[2026-07-15 09:13:19] local.INFO: GPS Element Parsed {"raw_longitude":756652544,"raw_latitude":119533864,"longitude_deg":75.6652544,"latitude_deg":11.9533864,"altitude":54,"angle":280,"satellites":37,"speed":14,"hex_longitude":"2d199a00","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-07-15 09:13: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-07-15 09:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726095872001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6134969940312064,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844787027962308608,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784086312000,"timestamp_ms":1784086312000,"timestamp_seconds":1784086312,"priority":1,"record_length":96,"hex_timestamp":"0000019f63d4b440"} 
[2026-07-15 09:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:13:19] 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-07-15 09: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 09:13:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:19] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2952790016,"corrected_to":0} 
[2026-07-15 09:13:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184243298509,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:19] local.WARNING: Large IO value detected {"io_id":99,"raw_value":3566790657,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:19] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4074766385,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-07-15 09:13:19] local.WARNING: Large IO value detected {"io_id":163,"raw_value":2147950579,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:19] local.WARNING: Large IO value detected {"io_id":21,"raw_value":3416260608,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:19] local.WARNING: Large IO value detected {"io_id":23,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:19] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:19] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,101,83,24,241,157,16,203,159,180,45,54,37,10,66,176,128,240,168,1,237,227,99,31,4,113,205,7,149,163,48,239,51,2,21,23,120],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":203,"original":2952790016,"validated":0},{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-07-15 09:13:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3891418100218593311,"timestamp_seconds":3891418100218593.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 09:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":132375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":132375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":132375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:13:19] 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-07-15 09:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 09:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 09:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726095872001,"66":12548,"101":206,"83":41984,"24":14,"16":6134969940312064,"45":1844787027962308608},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-15 09:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 09:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 09:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726095872001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:13:19] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-15 09:13:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 09:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6134969940312064,"km_value":6134969940312.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844787027962308608,"description":"Unknown IO ID 45"} 
[2026-07-15 09:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726095872001,"power":12548,"unknown_101":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1844787027962308608}} 
[2026-07-15 09:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":132375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:13:20] local.INFO: GPS data processed {"connection_id":132375,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:13:20] local.INFO: Acknowledgment sent {"connection_id":132375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:13:27] local.INFO: TCP Data received {"connection_id":133219,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133219,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:13:27] local.INFO: Processing buffer {"connection_id":133219,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:13:27] local.INFO: IMEI packet received {"connection_id":133219,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 09:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":133219,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:13:28] local.INFO: TCP Data received {"connection_id":133219,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133219,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:13:28] local.INFO: Processing buffer {"connection_id":133219,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:13:28] local.INFO: IMEI packet received {"connection_id":133219,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":133219,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:13:29] local.INFO: TCP Data received {"connection_id":133219,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133219,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:13:29] local.INFO: Processing buffer {"connection_id":133219,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:13:29] local.INFO: IMEI packet received {"connection_id":133219,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":133219,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:13:30] local.INFO: TCP Data received {"connection_id":133219,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133219,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:13:30] local.INFO: Processing buffer {"connection_id":133219,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:13:30] local.INFO: IMEI packet received {"connection_id":133219,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":133219,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:13:31] local.INFO: TCP Data received {"connection_id":133218,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133218,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:13:31] local.INFO: Processing buffer {"connection_id":133218,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:13:31] local.INFO: IMEI packet received {"connection_id":133218,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 09:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":133218,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:13:31] local.INFO: TCP Data received {"connection_id":133218,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133218,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:13:31] local.INFO: Processing buffer {"connection_id":133218,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:13:31] local.INFO: IMEI packet received {"connection_id":133218,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":133218,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:13:34] local.INFO: TCP Data received {"connection_id":133218,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133218,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:13:34] local.INFO: Processing buffer {"connection_id":133218,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:13:34] local.INFO: IMEI packet received {"connection_id":133218,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":133218,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:13:35] local.INFO: TCP Data received {"connection_id":133220,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133220,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:13:35] local.INFO: Processing buffer {"connection_id":133220,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:13:35] local.INFO: IMEI packet received {"connection_id":133220,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 09:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":133220,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:13:36] local.INFO: TCP Data received {"connection_id":133218,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63dee988012d79af0005e7fa58000900b226..."} 
[2026-07-15 09:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63dee988012d79af0005e7fa58000900b226..."} 
[2026-07-15 09:13:36] local.INFO: Processing buffer {"connection_id":133218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63dee988012d79af0005e7fa58000900b226..."} 
[2026-07-15 09:13:36] local.INFO: Packet analysis {"connection_id":133218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63de"} 
[2026-07-15 09:13:36] local.INFO: Extracted packet for processing {"connection_id":133218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63de"} 
[2026-07-15 09:13:36] local.INFO: GPS Element Parsed {"raw_longitude":762949376,"raw_latitude":99088984,"longitude_deg":76.2949376,"latitude_deg":9.9088984,"altitude":9,"angle":178,"satellites":38,"speed":23,"hex_longitude":"2d79af00","hex_latitude":"05e7fa58","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726266368001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106323195312734208,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8767945549904156672,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784086981000,"timestamp_ms":1784086981000,"timestamp_seconds":1784086981,"priority":1,"record_length":96,"hex_timestamp":"0000019f63dee988"} 
[2026-07-15 09:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-15 09:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":133218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":133218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":133218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726266368001,"66":13319,"201":206,"87":13824,"24":23,"16":106323195312734208,"45":8767945549904156672},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-15 09:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726266368001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:13:36] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-15 09:13:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 09:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106323195312734208,"km_value":106323195312734.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8767945549904156672,"description":"Unknown IO ID 45"} 
[2026-07-15 09:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726266368001,"power":13319,"unknown_201":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8767945549904156672}} 
[2026-07-15 09:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":133218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490258,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:13:36] local.INFO: GPS data processed {"connection_id":133218,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:13:36] local.INFO: Acknowledgment sent {"connection_id":133218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:13:40] local.INFO: TCP Data received {"connection_id":133218,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63df1868012d79b08005e7ddb0000800a720..."} 
[2026-07-15 09:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63df1868012d79b08005e7ddb0000800a720..."} 
[2026-07-15 09:13:40] local.INFO: Processing buffer {"connection_id":133218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63df1868012d79b08005e7ddb0000800a720..."} 
[2026-07-15 09:13:40] local.INFO: Packet analysis {"connection_id":133218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63df"} 
[2026-07-15 09:13:40] local.INFO: Extracted packet for processing {"connection_id":133218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63df"} 
[2026-07-15 09:13:40] local.INFO: GPS Element Parsed {"raw_longitude":762949760,"raw_latitude":99081648,"longitude_deg":76.294976,"latitude_deg":9.9081648,"altitude":8,"angle":167,"satellites":32,"speed":25,"hex_longitude":"2d79b080","hex_latitude":"05e7ddb0","is_valid_coordinates":true} 
[2026-07-15 09:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726267136001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106323551795019776,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8768227024880424960,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784086993000,"timestamp_ms":1784086993000,"timestamp_seconds":1784086993,"priority":1,"record_length":96,"hex_timestamp":"0000019f63df1868"} 
[2026-07-15 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-07-15 09:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-15 09:13:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:40] local.WARNING: Large IO value detected {"io_id":221,"raw_value":-2312597113831292923,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:40] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:40] local.WARNING: Large IO value detected {"io_id":187,"raw_value":4026531840,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:40] local.WARNING: Large IO value detected {"io_id":99,"raw_value":3731910657,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:40] local.WARNING: Large IO value detected {"io_id":232,"raw_value":-8833810626126077440,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":768278734,"corrected_to":0} 
[2026-07-15 09:13:40] local.WARNING: Large IO value detected {"io_id":61,"raw_value":2818649465,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:40] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13522742,"corrected_to":0} 
[2026-07-15 09:13:40] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3139239936,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:40] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3900850176,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:40] local.WARNING: Large IO value detected {"io_id":215,"raw_value":57752720140818230,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:40] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,201,87,24,241,157,16,188,159,221,45,1,9,38,10,66,186,128,19,202,167,240,35,227,187,99,232,4,113,205,25,61,138,248,40,239,51,203,2,121,5,13,215],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":768278734,"validated":0},{"io_id":203,"original":13522742,"validated":0}]} 
[2026-07-15 09:13:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648714222621360128,"timestamp_seconds":648714222621360.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 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-07-15 09:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":133218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":133218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":133218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726267136001,"66":13341,"201":206,"87":13824,"24":25,"16":106323551795019776,"45":8768227024880424960},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-15 09:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726267136001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:13:40] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-15 09:13:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 09:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106323551795019776,"km_value":106323551795019.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8768227024880424960,"description":"Unknown IO ID 45"} 
[2026-07-15 09:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726267136001,"power":13341,"unknown_201":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8768227024880424960}} 
[2026-07-15 09:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":133218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490259,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:13:40] local.INFO: GPS data processed {"connection_id":133218,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:13:40] local.INFO: Acknowledgment sent {"connection_id":133218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:13:47] local.INFO: TCP Data received {"connection_id":133221,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133221,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:13:47] local.INFO: Processing buffer {"connection_id":133221,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:13:47] local.INFO: IMEI packet received {"connection_id":133221,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 09:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":133221,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:13:52] local.INFO: TCP Data received {"connection_id":133221,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133221,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:13:52] local.INFO: Processing buffer {"connection_id":133221,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:13:52] local.INFO: IMEI packet received {"connection_id":133221,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 09:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":133221,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:13:53] local.INFO: TCP Data received {"connection_id":133221,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63dd7288012d197540071feed8003a011c28..."} 
[2026-07-15 09:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63dd7288012d197540071feed8003a011c28..."} 
[2026-07-15 09:13:53] local.INFO: Processing buffer {"connection_id":133221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63dd7288012d197540071feed8003a011c28..."} 
[2026-07-15 09:13:53] local.INFO: Packet analysis {"connection_id":133221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63dd"} 
[2026-07-15 09:13:53] local.INFO: Extracted packet for processing {"connection_id":133221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63dd"} 
[2026-07-15 09:13:53] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119533272,"longitude_deg":75.6643136,"latitude_deg":11.9533272,"altitude":58,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071feed8","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726095872001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6134969940312064,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844787027962308608,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784086885000,"timestamp_ms":1784086885000,"timestamp_seconds":1784086885,"priority":1,"record_length":96,"hex_timestamp":"0000019f63dd7288"} 
[2026-07-15 09:13:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:13:53] 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-07-15 09: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 09:13:53] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:53] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":3103784960,"corrected_to":0} 
[2026-07-15 09:13:53] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184235499725,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:53] local.WARNING: Large IO value detected {"io_id":99,"raw_value":3567814657,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:53] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4043309108,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-07-15 09:13:53] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3892391193,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:53] local.WARNING: Large IO value detected {"io_id":162,"raw_value":3221692402,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:53] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3003174264,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:53] local.WARNING: Large IO value detected {"io_id":21,"raw_value":3416391680,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:53] local.WARNING: Large IO value detected {"io_id":9,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:53] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:53] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,101,83,24,241,157,16,203,159,180,45,54,37,10,66,176,128,1,240,4,227,99,31,113,205,15,152,162,224,239,47,2,21,7,49,9,120],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":203,"original":3103784960,"validated":0},{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-07-15 09:13:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3891418100218593346,"timestamp_seconds":3891418100218593.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 09:13:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":133221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":133221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":133221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:13:53] 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-07-15 09:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 09:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 09:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726095872001,"66":2166,"103":206,"83":41984,"24":0,"16":6134969940312064,"45":1844787027962308608},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 09:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 09:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 09:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726095872001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:13:53] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 09:13:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 09:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6134969940312064,"km_value":6134969940312.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844787027962308608,"description":"Unknown IO ID 45"} 
[2026-07-15 09:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726095872001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1844787027962308608}} 
[2026-07-15 09:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":133221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:13:53] local.INFO: GPS data processed {"connection_id":133221,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:13:53] local.INFO: Acknowledgment sent {"connection_id":133221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:13:58] local.INFO: TCP Data received {"connection_id":133221,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63dd7288012d197540071feed8003a011c28..."} 
[2026-07-15 09:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63dd7288012d197540071feed8003a011c28..."} 
[2026-07-15 09:13:58] local.INFO: Processing buffer {"connection_id":133221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63dd7288012d197540071feed8003a011c28..."} 
[2026-07-15 09:13:58] local.INFO: Packet analysis {"connection_id":133221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63dd"} 
[2026-07-15 09:13:58] local.INFO: Extracted packet for processing {"connection_id":133221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63dd"} 
[2026-07-15 09:13:58] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119533272,"longitude_deg":75.6643136,"latitude_deg":11.9533272,"altitude":58,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071feed8","is_valid_coordinates":true} 
[2026-07-15 09:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726095872001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6134969940312064,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844787027962308608,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784086885000,"timestamp_ms":1784086885000,"timestamp_seconds":1784086885,"priority":1,"record_length":96,"hex_timestamp":"0000019f63dd7288"} 
[2026-07-15 09:13:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:13:58] 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-07-15 09:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 09:13:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:58] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":3103784960,"corrected_to":0} 
[2026-07-15 09:13:58] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184235499725,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:58] local.WARNING: Large IO value detected {"io_id":99,"raw_value":3567814657,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:58] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4043309108,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-07-15 09:13:58] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3892391193,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:58] local.WARNING: Large IO value detected {"io_id":162,"raw_value":3221692402,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:58] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3003174264,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:58] local.WARNING: Large IO value detected {"io_id":21,"raw_value":3416391680,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:58] local.WARNING: Large IO value detected {"io_id":9,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:58] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-07-15 09:13:58] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,101,83,24,241,157,16,203,159,180,45,54,37,10,66,176,128,1,240,4,227,99,31,113,205,15,152,162,224,239,47,2,21,7,49,9,120],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":203,"original":3103784960,"validated":0},{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-07-15 09:13:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3891418100218593346,"timestamp_seconds":3891418100218593.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 09:13:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":133221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":133221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":133221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:13:58] 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-07-15 09:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 09:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 09:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726095872001,"66":2166,"103":206,"83":41984,"24":0,"16":6134969940312064,"45":1844787027962308608},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 09:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 09:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 09:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726095872001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:13:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 09:13:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 09:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6134969940312064,"km_value":6134969940312.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844787027962308608,"description":"Unknown IO ID 45"} 
[2026-07-15 09:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726095872001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1844787027962308608}} 
[2026-07-15 09:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":133221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:13:58] local.INFO: GPS data processed {"connection_id":133221,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:13:58] local.INFO: Acknowledgment sent {"connection_id":133221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:14:02] local.INFO: TCP Data received {"connection_id":133222,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:14:02] local.INFO: Processing buffer {"connection_id":133222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:14:02] local.INFO: IMEI packet received {"connection_id":133222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":133222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:14:07] local.INFO: TCP Data received {"connection_id":133222,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:14:07] local.INFO: Processing buffer {"connection_id":133222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:14:07] local.INFO: IMEI packet received {"connection_id":133222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":133222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:14:07] local.INFO: TCP Data received {"connection_id":133222,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f63de8bc8012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63de8bc8012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:14:07] local.INFO: Processing buffer {"connection_id":133222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63de8bc8012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:14:07] local.INFO: Packet analysis {"connection_id":133222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63de"} 
[2026-07-15 09:14:07] local.INFO: Extracted packet for processing {"connection_id":133222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63de"} 
[2026-07-15 09:14:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95411880,"longitude_deg":76.333536,"latitude_deg":9.541188,"altitude":0,"angle":153,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726183936001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 09:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074577920,"note":"Value kept but may cause issues"} 
[2026-07-15 09:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784086957000,"timestamp_ms":1784086957000,"timestamp_seconds":1784086957,"priority":1,"record_length":96,"hex_timestamp":"0000019f63de8bc8"} 
[2026-07-15 09:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-15 09:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:14:07] 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-07-15 09:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726183936001,"66":25854,"27":206,"85":12544,"24":0,"16":347094255858089984,"45":9192620920074577920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726183936001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:14:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:14:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074577920,"description":"Unknown IO ID 45"} 
[2026-07-15 09:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726183936001,"power":25854,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074577920}} 
[2026-07-15 09:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":133222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:14:08] local.INFO: GPS data processed {"connection_id":133222,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:14:08] local.INFO: Acknowledgment sent {"connection_id":133222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:14:11] local.INFO: TCP Data received {"connection_id":133218,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63df5300012d79b88005e7bad0000800aa25..."} 
[2026-07-15 09:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63df5300012d79b88005e7bad0000800aa25..."} 
[2026-07-15 09:14:11] local.INFO: Processing buffer {"connection_id":133218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63df5300012d79b88005e7bad0000800aa25..."} 
[2026-07-15 09:14:11] local.INFO: Packet analysis {"connection_id":133218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63df"} 
[2026-07-15 09:14:11] local.INFO: Extracted packet for processing {"connection_id":133218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63df"} 
[2026-07-15 09:14:11] local.INFO: GPS Element Parsed {"raw_longitude":762951808,"raw_latitude":99072720,"longitude_deg":76.2951808,"latitude_deg":9.907272,"altitude":8,"angle":170,"satellites":37,"speed":22,"hex_longitude":"2d79b880","hex_latitude":"05e7bad0","is_valid_coordinates":true} 
[2026-07-15 09:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726270208001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106323998471618560,"note":"Value kept but may cause issues"} 
[2026-07-15 09:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8768649237343612928,"note":"Value kept but may cause issues"} 
[2026-07-15 09:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784087008000,"timestamp_ms":1784087008000,"timestamp_seconds":1784087008,"priority":1,"record_length":96,"hex_timestamp":"0000019f63df5300"} 
[2026-07-15 09:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-15 09:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":133218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":133218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":133218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726270208001,"66":13243,"201":206,"87":13824,"24":22,"16":106323998471618560,"45":8768649237343612928},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-15 09:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726270208001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:14:11] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-15 09:14:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 09:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106323998471618560,"km_value":106323998471618.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8768649237343612928,"description":"Unknown IO ID 45"} 
[2026-07-15 09:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726270208001,"power":13243,"unknown_201":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8768649237343612928}} 
[2026-07-15 09:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":133218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490263,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:14:11] local.INFO: GPS data processed {"connection_id":133218,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:14:11] local.INFO: Acknowledgment sent {"connection_id":133218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:14:29] local.INFO: TCP Data received {"connection_id":132376,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132376,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:14:29] local.INFO: Processing buffer {"connection_id":132376,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:14:29] local.INFO: IMEI packet received {"connection_id":132376,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 09:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":132376,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:14:30] local.INFO: TCP Data received {"connection_id":132376,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132376,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:14:30] local.INFO: Processing buffer {"connection_id":132376,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:14:30] local.INFO: IMEI packet received {"connection_id":132376,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":132376,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:14:34] local.INFO: TCP Data received {"connection_id":132376,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132376,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:14:34] local.INFO: Processing buffer {"connection_id":132376,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:14:34] local.INFO: IMEI packet received {"connection_id":132376,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":132376,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:14:35] local.INFO: TCP Data received {"connection_id":132376,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63df81e0012d79ba4005e7a610000600ba28..."} 
[2026-07-15 09:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63df81e0012d79ba4005e7a610000600ba28..."} 
[2026-07-15 09:14:35] local.INFO: Processing buffer {"connection_id":132376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63df81e0012d79ba4005e7a610000600ba28..."} 
[2026-07-15 09:14:35] local.INFO: Packet analysis {"connection_id":132376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63df"} 
[2026-07-15 09:14:35] local.INFO: Extracted packet for processing {"connection_id":132376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63df"} 
[2026-07-15 09:14:35] local.INFO: GPS Element Parsed {"raw_longitude":762952256,"raw_latitude":99067408,"longitude_deg":76.2952256,"latitude_deg":9.9067408,"altitude":6,"angle":186,"satellites":40,"speed":6,"hex_longitude":"2d79ba40","hex_latitude":"05e7a610","is_valid_coordinates":true} 
[2026-07-15 09:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726274048001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106324256169656320,"note":"Value kept but may cause issues"} 
[2026-07-15 09:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770901037155012608,"note":"Value kept but may cause issues"} 
[2026-07-15 09:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784087020000,"timestamp_ms":1784087020000,"timestamp_seconds":1784087020,"priority":1,"record_length":96,"hex_timestamp":"0000019f63df81e0"} 
[2026-07-15 09:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-15 09:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726274048001,"66":13222,"202":206,"87":13824,"24":6,"16":106324256169656320,"45":8770901037155012608},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-15 09:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726274048001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:14:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 09:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106324256169656320,"km_value":106324256169656.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770901037155012608,"description":"Unknown IO ID 45"} 
[2026-07-15 09:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726274048001,"power":13222,"mcc":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8770901037155012608}} 
[2026-07-15 09:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":132376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490264,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:14:35] local.INFO: GPS data processed {"connection_id":132376,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:14:35] local.INFO: Acknowledgment sent {"connection_id":132376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:14:39] local.INFO: TCP Data received {"connection_id":133222,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f63de8bc8012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63de8bc8012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:14:39] local.INFO: Processing buffer {"connection_id":133222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63de8bc8012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:14:39] local.INFO: Packet analysis {"connection_id":133222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63de"} 
[2026-07-15 09:14:39] local.INFO: Extracted packet for processing {"connection_id":133222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63de"} 
[2026-07-15 09:14:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95411880,"longitude_deg":76.333536,"latitude_deg":9.541188,"altitude":0,"angle":153,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-07-15 09:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726183936001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 09:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074577920,"note":"Value kept but may cause issues"} 
[2026-07-15 09:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784086957000,"timestamp_ms":1784086957000,"timestamp_seconds":1784086957,"priority":1,"record_length":96,"hex_timestamp":"0000019f63de8bc8"} 
[2026-07-15 09:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:14:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-15 09:14:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:14:39] 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-07-15 09:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726183936001,"66":25854,"27":206,"85":12544,"24":0,"16":347094255858089984,"45":9192620920074577920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726183936001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:14:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:14:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074577920,"description":"Unknown IO ID 45"} 
[2026-07-15 09:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726183936001,"power":25854,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074577920}} 
[2026-07-15 09:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":133222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:14:39] local.INFO: GPS data processed {"connection_id":133222,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:14:39] local.INFO: Acknowledgment sent {"connection_id":133222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:14:42] local.INFO: TCP Data received {"connection_id":133224,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133224,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:14:42] local.INFO: Processing buffer {"connection_id":133224,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:14:42] local.INFO: IMEI packet received {"connection_id":133224,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 09:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":133224,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:14:47] local.INFO: TCP Data received {"connection_id":133224,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133224,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:14:47] local.INFO: Processing buffer {"connection_id":133224,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:14:47] local.INFO: IMEI packet received {"connection_id":133224,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 09:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":133224,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:14:48] local.INFO: TCP Data received {"connection_id":133224,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f63dd7288012d197540071feed8003a011c28..."} 
[2026-07-15 09:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63dd7288012d197540071feed8003a011c28..."} 
[2026-07-15 09:14:48] local.INFO: Processing buffer {"connection_id":133224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63dd7288012d197540071feed8003a011c28..."} 
[2026-07-15 09:14:48] local.INFO: Packet analysis {"connection_id":133224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63dd"} 
[2026-07-15 09:14:48] local.INFO: Extracted packet for processing {"connection_id":133224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63dd"} 
[2026-07-15 09:14:48] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119533272,"longitude_deg":75.6643136,"latitude_deg":11.9533272,"altitude":58,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071feed8","is_valid_coordinates":true} 
[2026-07-15 09:14: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-07-15 09:14:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726095872001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:14:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6134969940312064,"note":"Value kept but may cause issues"} 
[2026-07-15 09:14:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844787027962308608,"note":"Value kept but may cause issues"} 
[2026-07-15 09:14:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:14:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784086885000,"timestamp_ms":1784086885000,"timestamp_seconds":1784086885,"priority":1,"record_length":96,"hex_timestamp":"0000019f63dd7288"} 
[2026-07-15 09:14:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:14:48] 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-07-15 09:14:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 09:14:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-15 09:14:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-15 09:14:48] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":3103784960,"corrected_to":0} 
[2026-07-15 09:14:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184235499725,"note":"Value kept but may cause issues"} 
[2026-07-15 09:14:48] local.WARNING: Large IO value detected {"io_id":99,"raw_value":3567814657,"note":"Value kept but may cause issues"} 
[2026-07-15 09:14:48] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4043309108,"note":"Value kept but may cause issues"} 
[2026-07-15 09:14:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-07-15 09:14:48] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3892391193,"note":"Value kept but may cause issues"} 
[2026-07-15 09:14:48] local.WARNING: Large IO value detected {"io_id":162,"raw_value":3221692402,"note":"Value kept but may cause issues"} 
[2026-07-15 09:14:48] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3003174264,"note":"Value kept but may cause issues"} 
[2026-07-15 09:14:48] local.WARNING: Large IO value detected {"io_id":21,"raw_value":3416391680,"note":"Value kept but may cause issues"} 
[2026-07-15 09:14:48] local.WARNING: Large IO value detected {"io_id":9,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-15 09:14:48] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-07-15 09:14:48] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,101,83,24,241,157,16,203,159,180,45,54,37,10,66,176,128,1,240,4,227,99,31,113,205,15,152,162,224,239,47,2,21,7,49,9,120],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":203,"original":3103784960,"validated":0},{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-07-15 09:14:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3891418100218593346,"timestamp_seconds":3891418100218593.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 09:14:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:14:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":133224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":133224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":133224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:14:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:14:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 09:14:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 09:14:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726095872001,"66":2166,"103":206,"83":41984,"24":0,"16":6134969940312064,"45":1844787027962308608},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 09:14:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 09:14:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 09:14:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726095872001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:14:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 09:14:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 09:14:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6134969940312064,"km_value":6134969940312.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:14:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844787027962308608,"description":"Unknown IO ID 45"} 
[2026-07-15 09:14:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726095872001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1844787027962308608}} 
[2026-07-15 09:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":133224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:14:48] local.INFO: GPS data processed {"connection_id":133224,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:14:48] local.INFO: Acknowledgment sent {"connection_id":133224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:15:02] local.INFO: TCP Data received {"connection_id":132203,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:15:02] local.INFO: Processing buffer {"connection_id":132203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:15:02] local.INFO: IMEI packet received {"connection_id":132203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":132203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:15:06] local.INFO: TCP Data received {"connection_id":132376,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63dfb4a8012d79ba0005e7a6600006016628..."} 
[2026-07-15 09:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63dfb4a8012d79ba0005e7a6600006016628..."} 
[2026-07-15 09:15:06] local.INFO: Processing buffer {"connection_id":132376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63dfb4a8012d79ba0005e7a6600006016628..."} 
[2026-07-15 09:15:06] local.INFO: Packet analysis {"connection_id":132376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63df"} 
[2026-07-15 09:15:06] local.INFO: Extracted packet for processing {"connection_id":132376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63df"} 
[2026-07-15 09:15:06] local.INFO: GPS Element Parsed {"raw_longitude":762952192,"raw_latitude":99067488,"longitude_deg":76.2952192,"latitude_deg":9.9067488,"altitude":6,"angle":358,"satellites":40,"speed":0,"hex_longitude":"2d79ba00","hex_latitude":"05e7a660","is_valid_coordinates":true} 
[2026-07-15 09:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726277120001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106324286234427392,"note":"Value kept but may cause issues"} 
[2026-07-15 09:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771393618362896384,"note":"Value kept but may cause issues"} 
[2026-07-15 09:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784087033000,"timestamp_ms":1784087033000,"timestamp_seconds":1784087033,"priority":1,"record_length":96,"hex_timestamp":"0000019f63dfb4a8"} 
[2026-07-15 09:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-15 09:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726277120001,"66":13037,"202":206,"87":13824,"24":0,"16":106324286234427392,"45":8771393618362896384},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-15 09:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726277120001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:15:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 09:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106324286234427392,"km_value":106324286234427.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771393618362896384,"description":"Unknown IO ID 45"} 
[2026-07-15 09:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726277120001,"power":13037,"mcc":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8771393618362896384}} 
[2026-07-15 09:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":132376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490267,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:15:06] local.INFO: GPS data processed {"connection_id":132376,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:15:06] local.INFO: Acknowledgment sent {"connection_id":132376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:15:06] local.INFO: TCP Data received {"connection_id":132203,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:15:06] local.INFO: Processing buffer {"connection_id":132203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:15:06] local.INFO: IMEI packet received {"connection_id":132203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":132203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:15:07] local.INFO: TCP Data received {"connection_id":132203,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f63de8bc8012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63de8bc8012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:15:07] local.INFO: Processing buffer {"connection_id":132203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63de8bc8012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:15:07] local.INFO: Packet analysis {"connection_id":132203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63de"} 
[2026-07-15 09:15:07] local.INFO: Extracted packet for processing {"connection_id":132203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63de"} 
[2026-07-15 09:15:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95411880,"longitude_deg":76.333536,"latitude_deg":9.541188,"altitude":0,"angle":153,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-07-15 09:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726183936001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 09:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074577920,"note":"Value kept but may cause issues"} 
[2026-07-15 09:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784086957000,"timestamp_ms":1784086957000,"timestamp_seconds":1784086957,"priority":1,"record_length":96,"hex_timestamp":"0000019f63de8bc8"} 
[2026-07-15 09:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-15 09:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726183936001,"66":25854,"27":206,"85":12544,"24":0,"16":347094255858089984,"45":9192620920074577920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726183936001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:15:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:15:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074577920,"description":"Unknown IO ID 45"} 
[2026-07-15 09:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726183936001,"power":25854,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074577920}} 
[2026-07-15 09:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":132203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:15:07] local.INFO: GPS data processed {"connection_id":132203,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:15:07] local.INFO: Acknowledgment sent {"connection_id":132203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:15:19] local.INFO: TCP Data received {"connection_id":133224,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f63dd7288012d197540071feed8003a011c28..."} 
[2026-07-15 09:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63dd7288012d197540071feed8003a011c28..."} 
[2026-07-15 09:15:19] local.INFO: Processing buffer {"connection_id":133224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63dd7288012d197540071feed8003a011c28..."} 
[2026-07-15 09:15:19] local.INFO: Packet analysis {"connection_id":133224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63dd"} 
[2026-07-15 09:15:19] local.INFO: Extracted packet for processing {"connection_id":133224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63dd"} 
[2026-07-15 09:15:19] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119533272,"longitude_deg":75.6643136,"latitude_deg":11.9533272,"altitude":58,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071feed8","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726095872001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6134969940312064,"note":"Value kept but may cause issues"} 
[2026-07-15 09:15:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844787027962308608,"note":"Value kept but may cause issues"} 
[2026-07-15 09:15:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784086885000,"timestamp_ms":1784086885000,"timestamp_seconds":1784086885,"priority":1,"record_length":96,"hex_timestamp":"0000019f63dd7288"} 
[2026-07-15 09:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:15:19] 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-07-15 09: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 09:15:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-15 09:15:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-15 09:15:19] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":3103784960,"corrected_to":0} 
[2026-07-15 09:15:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184235499725,"note":"Value kept but may cause issues"} 
[2026-07-15 09:15:19] local.WARNING: Large IO value detected {"io_id":99,"raw_value":3567814657,"note":"Value kept but may cause issues"} 
[2026-07-15 09:15:19] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4043309108,"note":"Value kept but may cause issues"} 
[2026-07-15 09:15:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-07-15 09:15:19] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3892391193,"note":"Value kept but may cause issues"} 
[2026-07-15 09:15:19] local.WARNING: Large IO value detected {"io_id":162,"raw_value":3221692402,"note":"Value kept but may cause issues"} 
[2026-07-15 09:15:19] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3003174264,"note":"Value kept but may cause issues"} 
[2026-07-15 09:15:19] local.WARNING: Large IO value detected {"io_id":21,"raw_value":3416391680,"note":"Value kept but may cause issues"} 
[2026-07-15 09:15:19] local.WARNING: Large IO value detected {"io_id":9,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-15 09:15:19] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-07-15 09:15:19] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,101,83,24,241,157,16,203,159,180,45,54,37,10,66,176,128,1,240,4,227,99,31,113,205,15,152,162,224,239,47,2,21,7,49,9,120],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":203,"original":3103784960,"validated":0},{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-07-15 09:15:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3891418100218593346,"timestamp_seconds":3891418100218593.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 09:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":133224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":133224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":133224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:15:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 09:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 09:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726095872001,"66":2166,"103":206,"83":41984,"24":0,"16":6134969940312064,"45":1844787027962308608},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 09:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 09:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 09:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726095872001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:15:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 09:15:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 09:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6134969940312064,"km_value":6134969940312.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:15:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844787027962308608,"description":"Unknown IO ID 45"} 
[2026-07-15 09:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726095872001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1844787027962308608}} 
[2026-07-15 09:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":133224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:15:20] local.INFO: GPS data processed {"connection_id":133224,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:15:20] local.INFO: Acknowledgment sent {"connection_id":133224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:15:30] local.INFO: TCP Data received {"connection_id":133225,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133225,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:15:30] local.INFO: Processing buffer {"connection_id":133225,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:15:30] local.INFO: IMEI packet received {"connection_id":133225,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 09:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":133225,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:15:33] local.INFO: TCP Data received {"connection_id":133225,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133225,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:15:33] local.INFO: Processing buffer {"connection_id":133225,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:15:33] local.INFO: IMEI packet received {"connection_id":133225,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":133225,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:15:34] local.INFO: TCP Data received {"connection_id":133225,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63dfc448012d79ba4005e7a7900006000c28..."} 
[2026-07-15 09:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63dfc448012d79ba4005e7a7900006000c28..."} 
[2026-07-15 09:15:34] local.INFO: Processing buffer {"connection_id":133225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63dfc448012d79ba4005e7a7900006000c28..."} 
[2026-07-15 09:15:34] local.INFO: Packet analysis {"connection_id":133225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63df"} 
[2026-07-15 09:15:34] local.INFO: Extracted packet for processing {"connection_id":133225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63df"} 
[2026-07-15 09:15:34] local.INFO: GPS Element Parsed {"raw_longitude":762952256,"raw_latitude":99067792,"longitude_deg":76.2952256,"latitude_deg":9.9067792,"altitude":6,"angle":12,"satellites":40,"speed":3,"hex_longitude":"2d79ba40","hex_latitude":"05e7a790","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726280448001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106324303414296576,"note":"Value kept but may cause issues"} 
[2026-07-15 09:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771323249618739200,"note":"Value kept but may cause issues"} 
[2026-07-15 09:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784087037000,"timestamp_ms":1784087037000,"timestamp_seconds":1784087037,"priority":1,"record_length":96,"hex_timestamp":"0000019f63dfc448"} 
[2026-07-15 09:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:15:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-15 09:15:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":133225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":133225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":133225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726280448001,"66":13091,"202":206,"87":13824,"24":3,"16":106324303414296576,"45":8771323249618739200},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-15 09:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726280448001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:15:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 09:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106324303414296576,"km_value":106324303414296.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771323249618739200,"description":"Unknown IO ID 45"} 
[2026-07-15 09:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726280448001,"power":13091,"mcc":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8771323249618739200}} 
[2026-07-15 09:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":133225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490270,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:15:34] local.INFO: GPS data processed {"connection_id":133225,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:15:34] local.INFO: Acknowledgment sent {"connection_id":133225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:15:39] local.INFO: TCP Data received {"connection_id":132203,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f63de8bc8012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63de8bc8012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:15:39] local.INFO: Processing buffer {"connection_id":132203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63de8bc8012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:15:39] local.INFO: Packet analysis {"connection_id":132203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63de"} 
[2026-07-15 09:15:39] local.INFO: Extracted packet for processing {"connection_id":132203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63de"} 
[2026-07-15 09:15:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95411880,"longitude_deg":76.333536,"latitude_deg":9.541188,"altitude":0,"angle":153,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-07-15 09:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726183936001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 09:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074577920,"note":"Value kept but may cause issues"} 
[2026-07-15 09:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784086957000,"timestamp_ms":1784086957000,"timestamp_seconds":1784086957,"priority":1,"record_length":96,"hex_timestamp":"0000019f63de8bc8"} 
[2026-07-15 09:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-15 09:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:15:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:15:39] 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-07-15 09:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726183936001,"66":25854,"27":206,"85":12544,"24":0,"16":347094255858089984,"45":9192620920074577920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726183936001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:15:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:15:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074577920,"description":"Unknown IO ID 45"} 
[2026-07-15 09:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726183936001,"power":25854,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074577920}} 
[2026-07-15 09:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":132203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:15:39] local.INFO: GPS data processed {"connection_id":132203,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:15:39] local.INFO: Acknowledgment sent {"connection_id":132203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:15:42] local.INFO: TCP Data received {"connection_id":132380,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:15:42] local.INFO: Processing buffer {"connection_id":132380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:15:42] local.INFO: IMEI packet received {"connection_id":132380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 09:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":132380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:15:47] local.INFO: TCP Data received {"connection_id":132380,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:15:47] local.INFO: Processing buffer {"connection_id":132380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:15:47] local.INFO: IMEI packet received {"connection_id":132380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 09:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":132380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:15:48] local.INFO: TCP Data received {"connection_id":132380,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f63dd7288012d197540071feed8003a011c28..."} 
[2026-07-15 09:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63dd7288012d197540071feed8003a011c28..."} 
[2026-07-15 09:15:48] local.INFO: Processing buffer {"connection_id":132380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63dd7288012d197540071feed8003a011c28..."} 
[2026-07-15 09:15:48] local.INFO: Packet analysis {"connection_id":132380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63dd"} 
[2026-07-15 09:15:48] local.INFO: Extracted packet for processing {"connection_id":132380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63dd"} 
[2026-07-15 09:15:48] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119533272,"longitude_deg":75.6643136,"latitude_deg":11.9533272,"altitude":58,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071feed8","is_valid_coordinates":true} 
[2026-07-15 09:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:15:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726095872001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:15:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6134969940312064,"note":"Value kept but may cause issues"} 
[2026-07-15 09:15:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844787027962308608,"note":"Value kept but may cause issues"} 
[2026-07-15 09:15:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:15:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784086885000,"timestamp_ms":1784086885000,"timestamp_seconds":1784086885,"priority":1,"record_length":96,"hex_timestamp":"0000019f63dd7288"} 
[2026-07-15 09:15:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:15:48] 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-07-15 09:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 09:15:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-15 09:15:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-15 09:15:48] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":3103784960,"corrected_to":0} 
[2026-07-15 09:15:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184235499725,"note":"Value kept but may cause issues"} 
[2026-07-15 09:15:48] local.WARNING: Large IO value detected {"io_id":99,"raw_value":3567814657,"note":"Value kept but may cause issues"} 
[2026-07-15 09:15:48] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4043309108,"note":"Value kept but may cause issues"} 
[2026-07-15 09:15:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-07-15 09:15:48] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3892391193,"note":"Value kept but may cause issues"} 
[2026-07-15 09:15:48] local.WARNING: Large IO value detected {"io_id":162,"raw_value":3221692402,"note":"Value kept but may cause issues"} 
[2026-07-15 09:15:48] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3003174264,"note":"Value kept but may cause issues"} 
[2026-07-15 09:15:48] local.WARNING: Large IO value detected {"io_id":21,"raw_value":3416391680,"note":"Value kept but may cause issues"} 
[2026-07-15 09:15:48] local.WARNING: Large IO value detected {"io_id":9,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-15 09:15:48] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-07-15 09:15:48] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,101,83,24,241,157,16,203,159,180,45,54,37,10,66,176,128,1,240,4,227,99,31,113,205,15,152,162,224,239,47,2,21,7,49,9,120],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":203,"original":3103784960,"validated":0},{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-07-15 09:15:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3891418100218593346,"timestamp_seconds":3891418100218593.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 09:15:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:15:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:15:48] local.INFO: Teltonika packet parsed successfully {"connection_id":132380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:15:48] local.INFO: Passing IMEI to GPS processor {"connection_id":132380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:15:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":132380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:15:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:15:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 09:15:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 09:15:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726095872001,"66":2166,"103":206,"83":41984,"24":0,"16":6134969940312064,"45":1844787027962308608},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 09:15:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 09:15:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 09:15:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726095872001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:15:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 09:15:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 09:15:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6134969940312064,"km_value":6134969940312.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:15:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844787027962308608,"description":"Unknown IO ID 45"} 
[2026-07-15 09:15:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726095872001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1844787027962308608}} 
[2026-07-15 09:15:48] local.INFO: DEBUG: GPS processor result {"connection_id":132380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:15:48] local.INFO: GPS data processed {"connection_id":132380,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:15:48] local.INFO: Acknowledgment sent {"connection_id":132380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:16:01] local.INFO: TCP Data received {"connection_id":132204,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:16:01] local.INFO: Processing buffer {"connection_id":132204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:16:01] local.INFO: IMEI packet received {"connection_id":132204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":132204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:16:06] local.INFO: TCP Data received {"connection_id":133225,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63dfcc18012d79ba4005e7a7f00006001829..."} 
[2026-07-15 09:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63dfcc18012d79ba4005e7a7f00006001829..."} 
[2026-07-15 09:16:06] local.INFO: Processing buffer {"connection_id":133225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63dfcc18012d79ba4005e7a7f00006001829..."} 
[2026-07-15 09:16:06] local.INFO: Packet analysis {"connection_id":133225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63df"} 
[2026-07-15 09:16:06] local.INFO: Extracted packet for processing {"connection_id":133225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63df"} 
[2026-07-15 09:16:06] local.INFO: GPS Element Parsed {"raw_longitude":762952256,"raw_latitude":99067888,"longitude_deg":76.2952256,"latitude_deg":9.9067888,"altitude":6,"angle":24,"satellites":41,"speed":1,"hex_longitude":"2d79ba40","hex_latitude":"05e7a7f0","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726281472001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106324307709263872,"note":"Value kept but may cause issues"} 
[2026-07-15 09:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771393618362994688,"note":"Value kept but may cause issues"} 
[2026-07-15 09:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784087039000,"timestamp_ms":1784087039000,"timestamp_seconds":1784087039,"priority":1,"record_length":96,"hex_timestamp":"0000019f63dfcc18"} 
[2026-07-15 09:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-15 09:16:06] 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-07-15 09: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-07-15 09:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726281472001,"66":12809,"202":206,"87":13824,"24":1,"16":106324307709263872,"45":8771393618362994688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-15 09:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726281472001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:16:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 09:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106324307709263872,"km_value":106324307709263.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771393618362994688,"description":"Unknown IO ID 45"} 
[2026-07-15 09:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726281472001,"power":12809,"mcc":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8771393618362994688}} 
[2026-07-15 09:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":133225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490273,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:16:06] local.INFO: GPS data processed {"connection_id":133225,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:16:06] local.INFO: Acknowledgment sent {"connection_id":133225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:16:07] local.INFO: TCP Data received {"connection_id":132204,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:16:07] local.INFO: Processing buffer {"connection_id":132204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:16:07] local.INFO: IMEI packet received {"connection_id":132204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":132204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:16:07] local.INFO: TCP Data received {"connection_id":132204,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63de8bc8012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63de8bc8012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:16:07] local.INFO: Processing buffer {"connection_id":132204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63de8bc8012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:16:07] local.INFO: Packet analysis {"connection_id":132204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63de"} 
[2026-07-15 09:16:07] local.INFO: Extracted packet for processing {"connection_id":132204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63de"} 
[2026-07-15 09:16:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95411880,"longitude_deg":76.333536,"latitude_deg":9.541188,"altitude":0,"angle":153,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-07-15 09:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726183936001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 09:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074577920,"note":"Value kept but may cause issues"} 
[2026-07-15 09:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784086957000,"timestamp_ms":1784086957000,"timestamp_seconds":1784086957,"priority":1,"record_length":96,"hex_timestamp":"0000019f63de8bc8"} 
[2026-07-15 09:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-15 09:16:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:16:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726183936001,"66":25854,"27":206,"85":12544,"24":0,"16":347094255858089984,"45":9192620920074577920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726183936001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:16:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:16:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074577920,"description":"Unknown IO ID 45"} 
[2026-07-15 09:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726183936001,"power":25854,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074577920}} 
[2026-07-15 09:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":132204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:16:07] local.INFO: GPS data processed {"connection_id":132204,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:16:07] local.INFO: Acknowledgment sent {"connection_id":132204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:16:19] local.INFO: TCP Data received {"connection_id":132380,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f63dd7288012d197540071feed8003a011c28..."} 
[2026-07-15 09:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63dd7288012d197540071feed8003a011c28..."} 
[2026-07-15 09:16:19] local.INFO: Processing buffer {"connection_id":132380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63dd7288012d197540071feed8003a011c28..."} 
[2026-07-15 09:16:19] local.INFO: Packet analysis {"connection_id":132380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63dd"} 
[2026-07-15 09:16:19] local.INFO: Extracted packet for processing {"connection_id":132380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63dd"} 
[2026-07-15 09:16:19] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119533272,"longitude_deg":75.6643136,"latitude_deg":11.9533272,"altitude":58,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071feed8","is_valid_coordinates":true} 
[2026-07-15 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-07-15 09:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726095872001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6134969940312064,"note":"Value kept but may cause issues"} 
[2026-07-15 09:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844787027962308608,"note":"Value kept but may cause issues"} 
[2026-07-15 09:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784086885000,"timestamp_ms":1784086885000,"timestamp_seconds":1784086885,"priority":1,"record_length":96,"hex_timestamp":"0000019f63dd7288"} 
[2026-07-15 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-07-15 09:16:19] 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-07-15 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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 09:16:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-15 09:16:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-15 09:16:19] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":3103784960,"corrected_to":0} 
[2026-07-15 09:16:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184235499725,"note":"Value kept but may cause issues"} 
[2026-07-15 09:16:19] local.WARNING: Large IO value detected {"io_id":99,"raw_value":3567814657,"note":"Value kept but may cause issues"} 
[2026-07-15 09:16:19] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4043309108,"note":"Value kept but may cause issues"} 
[2026-07-15 09:16:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-07-15 09:16:19] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3892391193,"note":"Value kept but may cause issues"} 
[2026-07-15 09:16:19] local.WARNING: Large IO value detected {"io_id":162,"raw_value":3221692402,"note":"Value kept but may cause issues"} 
[2026-07-15 09:16:19] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3003174264,"note":"Value kept but may cause issues"} 
[2026-07-15 09:16:19] local.WARNING: Large IO value detected {"io_id":21,"raw_value":3416391680,"note":"Value kept but may cause issues"} 
[2026-07-15 09:16:19] local.WARNING: Large IO value detected {"io_id":9,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-15 09:16:19] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-07-15 09:16:19] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,101,83,24,241,157,16,203,159,180,45,54,37,10,66,176,128,1,240,4,227,99,31,113,205,15,152,162,224,239,47,2,21,7,49,9,120],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":203,"original":3103784960,"validated":0},{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-07-15 09:16:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3891418100218593346,"timestamp_seconds":3891418100218593.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 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-07-15 09:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":132380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":132380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":132380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 09:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 09:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726095872001,"66":2166,"103":206,"83":41984,"24":0,"16":6134969940312064,"45":1844787027962308608},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 09:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 09:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 09:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726095872001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:16:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 09:16:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 09:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6134969940312064,"km_value":6134969940312.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844787027962308608,"description":"Unknown IO ID 45"} 
[2026-07-15 09:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726095872001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1844787027962308608}} 
[2026-07-15 09:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":132380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:16:19] local.INFO: GPS data processed {"connection_id":132380,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:16:19] local.INFO: Acknowledgment sent {"connection_id":132380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:16:29] local.INFO: TCP Data received {"connection_id":132381,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132381,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:16:29] local.INFO: Processing buffer {"connection_id":132381,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:16:29] local.INFO: IMEI packet received {"connection_id":132381,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 09:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":132381,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:16:34] local.INFO: TCP Data received {"connection_id":132381,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132381,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:16:34] local.INFO: Processing buffer {"connection_id":132381,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:16:34] local.INFO: IMEI packet received {"connection_id":132381,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":132381,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:16:35] local.INFO: TCP Data received {"connection_id":132381,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e19cf0012d79adc005e7e2f0000901602a..."} 
[2026-07-15 09:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e19cf0012d79adc005e7e2f0000901602a..."} 
[2026-07-15 09:16:35] local.INFO: Processing buffer {"connection_id":132381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e19cf0012d79adc005e7e2f0000901602a..."} 
[2026-07-15 09:16:35] local.INFO: Packet analysis {"connection_id":132381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e1"} 
[2026-07-15 09:16:35] local.INFO: Extracted packet for processing {"connection_id":132381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e1"} 
[2026-07-15 09:16:35] local.INFO: GPS Element Parsed {"raw_longitude":762949056,"raw_latitude":99082992,"longitude_deg":76.2949056,"latitude_deg":9.9082992,"altitude":9,"angle":352,"satellites":42,"speed":19,"hex_longitude":"2d79adc0","hex_latitude":"05e7e2f0","is_valid_coordinates":true} 
[2026-07-15 09:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726309376001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106325076508409856,"note":"Value kept but may cause issues"} 
[2026-07-15 09:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8769282556040187904,"note":"Value kept but may cause issues"} 
[2026-07-15 09:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784087158000,"timestamp_ms":1784087158000,"timestamp_seconds":1784087158,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e19cf0"} 
[2026-07-15 09:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-15 09:16:35] 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-07-15 09:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726309376001,"66":13319,"202":206,"87":13824,"24":19,"16":106325076508409856,"45":8769282556040187904},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-15 09:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726309376001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:16:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 09:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106325076508409856,"km_value":106325076508409.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8769282556040187904,"description":"Unknown IO ID 45"} 
[2026-07-15 09:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726309376001,"power":13319,"mcc":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8769282556040187904}} 
[2026-07-15 09:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":132381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490276,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:16:35] local.INFO: GPS data processed {"connection_id":132381,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:16:35] local.INFO: Acknowledgment sent {"connection_id":132381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:16:39] local.INFO: TCP Data received {"connection_id":132204,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63de8bc8012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63de8bc8012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:16:39] local.INFO: Processing buffer {"connection_id":132204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63de8bc8012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:16:39] local.INFO: Packet analysis {"connection_id":132204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63de"} 
[2026-07-15 09:16:39] local.INFO: Extracted packet for processing {"connection_id":132204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63de"} 
[2026-07-15 09:16:39] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95411880,"longitude_deg":76.333536,"latitude_deg":9.541188,"altitude":0,"angle":153,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-07-15 09:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726183936001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 09:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074577920,"note":"Value kept but may cause issues"} 
[2026-07-15 09:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784086957000,"timestamp_ms":1784086957000,"timestamp_seconds":1784086957,"priority":1,"record_length":96,"hex_timestamp":"0000019f63de8bc8"} 
[2026-07-15 09:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-15 09:16:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:16:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726183936001,"66":25854,"27":206,"85":12544,"24":0,"16":347094255858089984,"45":9192620920074577920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726183936001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:16:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:16:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074577920,"description":"Unknown IO ID 45"} 
[2026-07-15 09:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726183936001,"power":25854,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074577920}} 
[2026-07-15 09:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":132204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:16:39] local.INFO: GPS data processed {"connection_id":132204,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:16:39] local.INFO: Acknowledgment sent {"connection_id":132204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:16:43] local.INFO: TCP Data received {"connection_id":132383,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:16:43] local.INFO: Processing buffer {"connection_id":132383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:16:43] local.INFO: IMEI packet received {"connection_id":132383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 09:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":132383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:16:47] local.INFO: TCP Data received {"connection_id":132383,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:16:47] local.INFO: Processing buffer {"connection_id":132383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:16:47] local.INFO: IMEI packet received {"connection_id":132383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 09:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":132383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:16:48] local.INFO: TCP Data received {"connection_id":132383,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f63dd7288012d197540071feed8003a011c28..."} 
[2026-07-15 09:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63dd7288012d197540071feed8003a011c28..."} 
[2026-07-15 09:16:48] local.INFO: Processing buffer {"connection_id":132383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63dd7288012d197540071feed8003a011c28..."} 
[2026-07-15 09:16:48] local.INFO: Packet analysis {"connection_id":132383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63dd"} 
[2026-07-15 09:16:48] local.INFO: Extracted packet for processing {"connection_id":132383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63dd"} 
[2026-07-15 09:16:48] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119533272,"longitude_deg":75.6643136,"latitude_deg":11.9533272,"altitude":58,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071feed8","is_valid_coordinates":true} 
[2026-07-15 09:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726095872001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6134969940312064,"note":"Value kept but may cause issues"} 
[2026-07-15 09:16:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844787027962308608,"note":"Value kept but may cause issues"} 
[2026-07-15 09:16:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784086885000,"timestamp_ms":1784086885000,"timestamp_seconds":1784086885,"priority":1,"record_length":96,"hex_timestamp":"0000019f63dd7288"} 
[2026-07-15 09:16:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:16:48] 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-07-15 09:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 09:16:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-15 09:16:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-15 09:16:48] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":3103784960,"corrected_to":0} 
[2026-07-15 09:16:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184235499725,"note":"Value kept but may cause issues"} 
[2026-07-15 09:16:48] local.WARNING: Large IO value detected {"io_id":99,"raw_value":3567814657,"note":"Value kept but may cause issues"} 
[2026-07-15 09:16:48] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4043309108,"note":"Value kept but may cause issues"} 
[2026-07-15 09:16:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-07-15 09:16:48] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3892391193,"note":"Value kept but may cause issues"} 
[2026-07-15 09:16:48] local.WARNING: Large IO value detected {"io_id":162,"raw_value":3221692402,"note":"Value kept but may cause issues"} 
[2026-07-15 09:16:48] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3003174264,"note":"Value kept but may cause issues"} 
[2026-07-15 09:16:48] local.WARNING: Large IO value detected {"io_id":21,"raw_value":3416391680,"note":"Value kept but may cause issues"} 
[2026-07-15 09:16:48] local.WARNING: Large IO value detected {"io_id":9,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-15 09:16:48] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-07-15 09:16:48] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,101,83,24,241,157,16,203,159,180,45,54,37,10,66,176,128,1,240,4,227,99,31,113,205,15,152,162,224,239,47,2,21,7,49,9,120],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":203,"original":3103784960,"validated":0},{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-07-15 09:16:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3891418100218593346,"timestamp_seconds":3891418100218593.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 09:16:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":132383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":132383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":132383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:16:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 09:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 09:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726095872001,"66":2166,"103":206,"83":41984,"24":0,"16":6134969940312064,"45":1844787027962308608},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 09:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 09:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 09:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726095872001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:16:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 09:16:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 09:16:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6134969940312064,"km_value":6134969940312.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:16:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844787027962308608,"description":"Unknown IO ID 45"} 
[2026-07-15 09:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726095872001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1844787027962308608}} 
[2026-07-15 09:16:48] local.INFO: DEBUG: GPS processor result {"connection_id":132383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:16:48] local.INFO: GPS data processed {"connection_id":132383,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:16:48] local.INFO: Acknowledgment sent {"connection_id":132383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:17:06] local.INFO: TCP Data received {"connection_id":132381,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e1bc30012d79ad4005e7f310000900042a..."} 
[2026-07-15 09:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e1bc30012d79ad4005e7f310000900042a..."} 
[2026-07-15 09:17:06] local.INFO: Processing buffer {"connection_id":132381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e1bc30012d79ad4005e7f310000900042a..."} 
[2026-07-15 09:17:06] local.INFO: Packet analysis {"connection_id":132381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e1"} 
[2026-07-15 09:17:06] local.INFO: Extracted packet for processing {"connection_id":132381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e1"} 
[2026-07-15 09:17:06] local.INFO: GPS Element Parsed {"raw_longitude":762948928,"raw_latitude":99087120,"longitude_deg":76.2948928,"latitude_deg":9.908712,"altitude":9,"angle":4,"satellites":42,"speed":18,"hex_longitude":"2d79ad40","hex_latitude":"05e7f310","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726312448001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106325278371872768,"note":"Value kept but may cause issues"} 
[2026-07-15 09:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8767875181158002688,"note":"Value kept but may cause issues"} 
[2026-07-15 09:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784087166000,"timestamp_ms":1784087166000,"timestamp_seconds":1784087166,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e1bc30"} 
[2026-07-15 09:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-15 09:17:06] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":13522742,"corrected_to":0} 
[2026-07-15 09:17:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 09:17:06] local.WARNING: Large IO value detected {"io_id":189,"raw_value":2734686208,"note":"Value kept but may cause issues"} 
[2026-07-15 09:17:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-07-15 09:17:06] local.WARNING: Large IO value detected {"io_id":99,"raw_value":3767750657,"note":"Value kept but may cause issues"} 
[2026-07-15 09:17:06] local.WARNING: Large IO value detected {"io_id":231,"raw_value":-6145161665754945280,"note":"Value kept but may cause issues"} 
[2026-07-15 09:17:06] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3180920832,"note":"Value kept but may cause issues"} 
[2026-07-15 09:17:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3886839808,"note":"Value kept but may cause issues"} 
[2026-07-15 09:17:06] local.WARNING: Large IO value detected {"io_id":128,"raw_value":57719730497017654,"note":"Value kept but may cause issues"} 
[2026-07-15 09:17:06] local.WARNING: Large IO value detected {"io_id":224,"raw_value":1889261338509213701,"note":"Value kept but may cause issues"} 
[2026-07-15 09:17:06] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,202,87,24,241,157,16,190,159,110,45,192,206,7,42,10,66,189,55,187,41,229,1,240,173,227,99,231,4,113,205,65,183,112,40,239,49,2,121,5,128,224],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":202,"original":13522742,"validated":0}]} 
[2026-07-15 09:17:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648905554824200192,"timestamp_seconds":648905554824200.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 09:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726312448001,"66":13319,"201":206,"87":13824,"24":18,"16":106325278371872768,"45":8767875181158002688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-15 09:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726312448001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:17:06] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-15 09:17:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 09:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106325278371872768,"km_value":106325278371872.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8767875181158002688,"description":"Unknown IO ID 45"} 
[2026-07-15 09:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726312448001,"power":13319,"unknown_201":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8767875181158002688}} 
[2026-07-15 09:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":132381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490279,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:17:06] local.INFO: GPS data processed {"connection_id":132381,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:17:06] local.INFO: Acknowledgment sent {"connection_id":132381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:17:07] local.INFO: TCP Data received {"connection_id":132384,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:17:07] local.INFO: Processing buffer {"connection_id":132384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:17:07] local.INFO: IMEI packet received {"connection_id":132384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":132384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:17:11] local.INFO: TCP Data received {"connection_id":132384,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:17:11] local.INFO: Processing buffer {"connection_id":132384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:17:11] local.INFO: IMEI packet received {"connection_id":132384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":132384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:17:12] local.INFO: TCP Data received {"connection_id":132384,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f63de8bc8012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63de8bc8012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:17:12] local.INFO: Processing buffer {"connection_id":132384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63de8bc8012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:17:12] local.INFO: Packet analysis {"connection_id":132384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63de"} 
[2026-07-15 09:17:12] local.INFO: Extracted packet for processing {"connection_id":132384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63de"} 
[2026-07-15 09:17:12] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95411880,"longitude_deg":76.333536,"latitude_deg":9.541188,"altitude":0,"angle":153,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-07-15 09:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726183936001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 09:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074577920,"note":"Value kept but may cause issues"} 
[2026-07-15 09:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784086957000,"timestamp_ms":1784086957000,"timestamp_seconds":1784086957,"priority":1,"record_length":96,"hex_timestamp":"0000019f63de8bc8"} 
[2026-07-15 09:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-15 09:17:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:17:12] 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-07-15 09:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726183936001,"66":25854,"27":206,"85":12544,"24":0,"16":347094255858089984,"45":9192620920074577920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726183936001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:17:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:17:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074577920,"description":"Unknown IO ID 45"} 
[2026-07-15 09:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726183936001,"power":25854,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074577920}} 
[2026-07-15 09:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":132384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:17:12] local.INFO: GPS data processed {"connection_id":132384,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:17:12] local.INFO: Acknowledgment sent {"connection_id":132384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:17:17] local.INFO: TCP Data received {"connection_id":132384,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f63de8bc8012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63de8bc8012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:17:17] local.INFO: Processing buffer {"connection_id":132384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63de8bc8012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:17:17] local.INFO: Packet analysis {"connection_id":132384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63de"} 
[2026-07-15 09:17:17] local.INFO: Extracted packet for processing {"connection_id":132384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63de"} 
[2026-07-15 09:17:17] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95411880,"longitude_deg":76.333536,"latitude_deg":9.541188,"altitude":0,"angle":153,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-07-15 09:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726183936001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 09:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074577920,"note":"Value kept but may cause issues"} 
[2026-07-15 09:17:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784086957000,"timestamp_ms":1784086957000,"timestamp_seconds":1784086957,"priority":1,"record_length":96,"hex_timestamp":"0000019f63de8bc8"} 
[2026-07-15 09:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:17:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-15 09:17:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:17:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726183936001,"66":25854,"27":206,"85":12544,"24":0,"16":347094255858089984,"45":9192620920074577920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726183936001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:17:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:17:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074577920,"description":"Unknown IO ID 45"} 
[2026-07-15 09:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726183936001,"power":25854,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074577920}} 
[2026-07-15 09:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":132384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:17:17] local.INFO: GPS data processed {"connection_id":132384,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:17:17] local.INFO: Acknowledgment sent {"connection_id":132384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:17:19] local.INFO: TCP Data received {"connection_id":132383,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e20a50012d197540071feed8003a011c2a..."} 
[2026-07-15 09:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e20a50012d197540071feed8003a011c2a..."} 
[2026-07-15 09:17:19] local.INFO: Processing buffer {"connection_id":132383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e20a50012d197540071feed8003a011c2a..."} 
[2026-07-15 09:17:19] local.INFO: Packet analysis {"connection_id":132383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e2"} 
[2026-07-15 09:17:19] local.INFO: Extracted packet for processing {"connection_id":132383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e2"} 
[2026-07-15 09:17:19] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119533272,"longitude_deg":75.6643136,"latitude_deg":11.9533272,"altitude":58,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071feed8","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726242560001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6134969940312064,"note":"Value kept but may cause issues"} 
[2026-07-15 09:17:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822568040448,"note":"Value kept but may cause issues"} 
[2026-07-15 09:17:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784087186000,"timestamp_ms":1784087186000,"timestamp_seconds":1784087186,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e20a50"} 
[2026-07-15 09:17:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:17: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-07-15 09: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 09:17: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-07-15 09: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-07-15 09:17:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":132383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":132383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":132383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 09:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 09:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726242560001,"66":2166,"103":206,"83":41984,"24":0,"16":6134969940312064,"45":1834442822568040448},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 09:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 09:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 09:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726242560001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:17:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 09:17:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 09:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6134969940312064,"km_value":6134969940312.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:17:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822568040448,"description":"Unknown IO ID 45"} 
[2026-07-15 09:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726242560001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822568040448}} 
[2026-07-15 09:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":132383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490282,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:17:19] local.INFO: GPS data processed {"connection_id":132383,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:17:19] local.INFO: Acknowledgment sent {"connection_id":132383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:17:22] local.INFO: TCP Data received {"connection_id":132384,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f63de8bc8012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63de8bc8012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:17:22] local.INFO: Processing buffer {"connection_id":132384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63de8bc8012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:17:22] local.INFO: Packet analysis {"connection_id":132384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63de"} 
[2026-07-15 09:17:22] local.INFO: Extracted packet for processing {"connection_id":132384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63de"} 
[2026-07-15 09:17:22] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95411880,"longitude_deg":76.333536,"latitude_deg":9.541188,"altitude":0,"angle":153,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726183936001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 09:17:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074577920,"note":"Value kept but may cause issues"} 
[2026-07-15 09:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784086957000,"timestamp_ms":1784086957000,"timestamp_seconds":1784086957,"priority":1,"record_length":96,"hex_timestamp":"0000019f63de8bc8"} 
[2026-07-15 09:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:17:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-15 09:17:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":132384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":132384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":132384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:17:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726183936001,"66":25854,"27":206,"85":12544,"24":0,"16":347094255858089984,"45":9192620920074577920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726183936001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:17:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:17:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:17:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074577920,"description":"Unknown IO ID 45"} 
[2026-07-15 09:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726183936001,"power":25854,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074577920}} 
[2026-07-15 09:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":132384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:17:22] local.INFO: GPS data processed {"connection_id":132384,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:17:22] local.INFO: Acknowledgment sent {"connection_id":132384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:17:29] local.INFO: TCP Data received {"connection_id":134585,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134585,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:17:29] local.INFO: Processing buffer {"connection_id":134585,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:17:29] local.INFO: IMEI packet received {"connection_id":134585,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 09:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":134585,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:17:29] local.INFO: TCP Data received {"connection_id":134585,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134585,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:17:29] local.INFO: Processing buffer {"connection_id":134585,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:17:29] local.INFO: IMEI packet received {"connection_id":134585,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":134585,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:17:34] local.INFO: TCP Data received {"connection_id":134585,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134585,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:17:34] local.INFO: Processing buffer {"connection_id":134585,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:17:34] local.INFO: IMEI packet received {"connection_id":134585,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":134585,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:17:35] local.INFO: TCP Data received {"connection_id":134585,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e1d788012d79ac4005e7ff70000c015d2b..."} 
[2026-07-15 09:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e1d788012d79ac4005e7ff70000c015d2b..."} 
[2026-07-15 09:17:35] local.INFO: Processing buffer {"connection_id":134585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e1d788012d79ac4005e7ff70000c015d2b..."} 
[2026-07-15 09:17:35] local.INFO: Packet analysis {"connection_id":134585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e1"} 
[2026-07-15 09:17:35] local.INFO: Extracted packet for processing {"connection_id":134585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e1"} 
[2026-07-15 09:17:35] local.INFO: GPS Element Parsed {"raw_longitude":762948672,"raw_latitude":99090288,"longitude_deg":76.2948672,"latitude_deg":9.9090288,"altitude":12,"angle":349,"satellites":43,"speed":19,"hex_longitude":"2d79ac40","hex_latitude":"05e7ff70","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726314496001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106325432990695424,"note":"Value kept but may cause issues"} 
[2026-07-15 09:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8767734443670704128,"note":"Value kept but may cause issues"} 
[2026-07-15 09:17:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784087173000,"timestamp_ms":1784087173000,"timestamp_seconds":1784087173,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e1d788"} 
[2026-07-15 09:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:17:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-15 09:17:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 09:17:35] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":13522742,"corrected_to":0} 
[2026-07-15 09:17:35] local.WARNING: Large IO value detected {"io_id":189,"raw_value":2734686208,"note":"Value kept but may cause issues"} 
[2026-07-15 09:17:35] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-07-15 09:17:35] local.WARNING: Large IO value detected {"io_id":99,"raw_value":3773126657,"note":"Value kept but may cause issues"} 
[2026-07-15 09:17:35] local.WARNING: Large IO value detected {"io_id":231,"raw_value":-6019060871892424448,"note":"Value kept but may cause issues"} 
[2026-07-15 09:17:35] local.WARNING: Large IO value detected {"io_id":182,"raw_value":3221612475,"note":"Value kept but may cause issues"} 
[2026-07-15 09:17:35] local.WARNING: Large IO value detected {"io_id":224,"raw_value":2452211291930509317,"note":"Value kept but may cause issues"} 
[2026-07-15 09:17:35] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802063,"note":"Value kept but may cause issues"} 
[2026-07-15 09:17:35] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3181576192,"note":"Value kept but may cause issues"} 
[2026-07-15 09:17:35] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3887624192,"note":"Value kept but may cause issues"} 
[2026-07-15 09:17:35] local.WARNING: Large IO value detected {"io_id":69,"raw_value":57719730497017654,"note":"Value kept but may cause issues"} 
[2026-07-15 09:17:35] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,201,87,24,241,157,16,190,159,156,45,192,226,9,42,10,66,202,110,206,7,189,55,1,240,227,99,231,4,113,205,147,182,224,41,239,50,2,121,5,11,69],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":202,"original":13522742,"validated":0}]} 
[2026-07-15 09:17:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648522924777668608,"timestamp_seconds":648522924777668.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 09:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":134585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":134585,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":134585,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:17:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726314496001,"66":13254,"201":206,"87":13824,"24":19,"16":106325432990695424,"45":8767734443670704128},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-15 09:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726314496001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:17:35] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-15 09:17:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 09:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106325432990695424,"km_value":106325432990695.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8767734443670704128,"description":"Unknown IO ID 45"} 
[2026-07-15 09:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726314496001,"power":13254,"unknown_201":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8767734443670704128}} 
[2026-07-15 09:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":134585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490284,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:17:35] local.INFO: GPS data processed {"connection_id":134585,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:17:35] local.INFO: Acknowledgment sent {"connection_id":134585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:17:42] local.INFO: TCP Data received {"connection_id":132385,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:17:42] local.INFO: Processing buffer {"connection_id":132385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:17:42] local.INFO: IMEI packet received {"connection_id":132385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 09:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":132385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:17:47] local.INFO: TCP Data received {"connection_id":132385,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:17:47] local.INFO: Processing buffer {"connection_id":132385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:17:47] local.INFO: IMEI packet received {"connection_id":132385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 09:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":132385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:17:48] local.INFO: TCP Data received {"connection_id":132385,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e20a50012d197540071feed8003a011c2a..."} 
[2026-07-15 09:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e20a50012d197540071feed8003a011c2a..."} 
[2026-07-15 09:17:48] local.INFO: Processing buffer {"connection_id":132385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e20a50012d197540071feed8003a011c2a..."} 
[2026-07-15 09:17:48] local.INFO: Packet analysis {"connection_id":132385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e2"} 
[2026-07-15 09:17:48] local.INFO: Extracted packet for processing {"connection_id":132385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e2"} 
[2026-07-15 09:17:48] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119533272,"longitude_deg":75.6643136,"latitude_deg":11.9533272,"altitude":58,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071feed8","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726242560001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6134969940312064,"note":"Value kept but may cause issues"} 
[2026-07-15 09:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822568040448,"note":"Value kept but may cause issues"} 
[2026-07-15 09:17:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784087186000,"timestamp_ms":1784087186000,"timestamp_seconds":1784087186,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e20a50"} 
[2026-07-15 09:17:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:17:48] 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-07-15 09: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 09:17: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-07-15 09:17:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:17:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":132385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":132385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":132385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:17:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 09:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 09:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726242560001,"66":2166,"103":206,"83":41984,"24":0,"16":6134969940312064,"45":1834442822568040448},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 09:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 09:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 09:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726242560001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:17:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 09:17:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 09:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6134969940312064,"km_value":6134969940312.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822568040448,"description":"Unknown IO ID 45"} 
[2026-07-15 09:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726242560001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822568040448}} 
[2026-07-15 09:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":132385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:17:48] local.INFO: GPS data processed {"connection_id":132385,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:17:48] local.INFO: Acknowledgment sent {"connection_id":132385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:18:01] local.INFO: TCP Data received {"connection_id":134587,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:18:01] local.INFO: Processing buffer {"connection_id":134587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:18:01] local.INFO: IMEI packet received {"connection_id":134587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":134587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:18:06] local.INFO: TCP Data received {"connection_id":134587,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:18:06] local.INFO: Processing buffer {"connection_id":134587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:18:06] local.INFO: IMEI packet received {"connection_id":134587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":134587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:18:07] local.INFO: TCP Data received {"connection_id":134585,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e1df58012d79ab0005e80350000c01512b..."} 
[2026-07-15 09:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e1df58012d79ab0005e80350000c01512b..."} 
[2026-07-15 09:18:07] local.INFO: Processing buffer {"connection_id":134585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e1df58012d79ab0005e80350000c01512b..."} 
[2026-07-15 09:18:07] local.INFO: Packet analysis {"connection_id":134585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e1"} 
[2026-07-15 09:18:07] local.INFO: Extracted packet for processing {"connection_id":134585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e1"} 
[2026-07-15 09:18:07] local.INFO: GPS Element Parsed {"raw_longitude":762948352,"raw_latitude":99091280,"longitude_deg":76.2948352,"latitude_deg":9.909128,"altitude":12,"angle":337,"satellites":43,"speed":21,"hex_longitude":"2d79ab00","hex_latitude":"05e80350","is_valid_coordinates":true} 
[2026-07-15 09:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726316288001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106325484530302976,"note":"Value kept but may cause issues"} 
[2026-07-15 09:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8767452968694804480,"note":"Value kept but may cause issues"} 
[2026-07-15 09:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784087175000,"timestamp_ms":1784087175000,"timestamp_seconds":1784087175,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e1df58"} 
[2026-07-15 09:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-15 09:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134585,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134585,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726316288001,"66":13298,"201":206,"87":13824,"24":21,"16":106325484530302976,"45":8767452968694804480},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-15 09:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726316288001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:18:07] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-15 09:18:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 09:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106325484530302976,"km_value":106325484530302.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8767452968694804480,"description":"Unknown IO ID 45"} 
[2026-07-15 09:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726316288001,"power":13298,"unknown_201":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8767452968694804480}} 
[2026-07-15 09:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":134585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490286,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:18:07] local.INFO: GPS data processed {"connection_id":134585,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:18:07] local.INFO: Acknowledgment sent {"connection_id":134585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:18:07] local.INFO: TCP Data received {"connection_id":134587,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f63de8bc8012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63de8bc8012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:18:07] local.INFO: Processing buffer {"connection_id":134587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63de8bc8012d7f92c005afdea8000000992f..."} 
[2026-07-15 09:18:07] local.INFO: Packet analysis {"connection_id":134587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63de"} 
[2026-07-15 09:18:07] local.INFO: Extracted packet for processing {"connection_id":134587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63de"} 
[2026-07-15 09:18:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95411880,"longitude_deg":76.333536,"latitude_deg":9.541188,"altitude":0,"angle":153,"satellites":47,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-07-15 09:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726183936001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 09:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074577920,"note":"Value kept but may cause issues"} 
[2026-07-15 09:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784086957000,"timestamp_ms":1784086957000,"timestamp_seconds":1784086957,"priority":1,"record_length":96,"hex_timestamp":"0000019f63de8bc8"} 
[2026-07-15 09:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-15 09:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726183936001,"66":25854,"27":206,"85":12544,"24":0,"16":347094255858089984,"45":9192620920074577920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726183936001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:18:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:18:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074577920,"description":"Unknown IO ID 45"} 
[2026-07-15 09:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726183936001,"power":25854,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074577920}} 
[2026-07-15 09:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":134587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:18:07] local.INFO: GPS data processed {"connection_id":134587,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:18:07] local.INFO: Acknowledgment sent {"connection_id":134587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:18:19] local.INFO: TCP Data received {"connection_id":132385,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e20a50012d197540071feed8003a011c2a..."} 
[2026-07-15 09:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e20a50012d197540071feed8003a011c2a..."} 
[2026-07-15 09:18:19] local.INFO: Processing buffer {"connection_id":132385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e20a50012d197540071feed8003a011c2a..."} 
[2026-07-15 09:18:19] local.INFO: Packet analysis {"connection_id":132385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e2"} 
[2026-07-15 09:18:19] local.INFO: Extracted packet for processing {"connection_id":132385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e2"} 
[2026-07-15 09:18:19] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119533272,"longitude_deg":75.6643136,"latitude_deg":11.9533272,"altitude":58,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071feed8","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726242560001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6134969940312064,"note":"Value kept but may cause issues"} 
[2026-07-15 09:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822568040448,"note":"Value kept but may cause issues"} 
[2026-07-15 09:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784087186000,"timestamp_ms":1784087186000,"timestamp_seconds":1784087186,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e20a50"} 
[2026-07-15 09:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:18: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-07-15 09:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 09:18:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":132385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":132385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":132385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 09:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 09:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726242560001,"66":2166,"103":206,"83":41984,"24":0,"16":6134969940312064,"45":1834442822568040448},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 09:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 09:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 09:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726242560001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:18:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 09:18:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 09:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6134969940312064,"km_value":6134969940312.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822568040448,"description":"Unknown IO ID 45"} 
[2026-07-15 09:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726242560001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822568040448}} 
[2026-07-15 09:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":132385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:18:19] local.INFO: GPS data processed {"connection_id":132385,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:18:19] local.INFO: Acknowledgment sent {"connection_id":132385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:18:34] local.INFO: TCP Data received {"connection_id":133227,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133227,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:18:34] local.INFO: Processing buffer {"connection_id":133227,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:18:34] local.INFO: IMEI packet received {"connection_id":133227,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 09:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":133227,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:18:38] local.INFO: TCP Data received {"connection_id":134587,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e32390012d7f92c005afdea8000000992d..."} 
[2026-07-15 09:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e32390012d7f92c005afdea8000000992d..."} 
[2026-07-15 09:18:38] local.INFO: Processing buffer {"connection_id":134587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e32390012d7f92c005afdea8000000992d..."} 
[2026-07-15 09:18:38] local.INFO: Packet analysis {"connection_id":134587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e3"} 
[2026-07-15 09:18:38] local.INFO: Extracted packet for processing {"connection_id":134587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e3"} 
[2026-07-15 09:18:38] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95411880,"longitude_deg":76.333536,"latitude_deg":9.541188,"altitude":0,"angle":153,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726260992001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 09:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074577920,"note":"Value kept but may cause issues"} 
[2026-07-15 09:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784087258000,"timestamp_ms":1784087258000,"timestamp_seconds":1784087258,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e32390"} 
[2026-07-15 09:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-15 09:18:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726260992001,"66":25875,"27":206,"85":12544,"24":0,"16":347094255858089984,"45":9192620920074577920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726260992001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:18:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:18:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074577920,"description":"Unknown IO ID 45"} 
[2026-07-15 09:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726260992001,"power":25875,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074577920}} 
[2026-07-15 09:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":134587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:18:38] local.INFO: GPS data processed {"connection_id":134587,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:18:38] local.INFO: Acknowledgment sent {"connection_id":134587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:18:38] local.INFO: TCP Data received {"connection_id":133227,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133227,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:18:38] local.INFO: Processing buffer {"connection_id":133227,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:18:38] local.INFO: IMEI packet received {"connection_id":133227,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":133227,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:18:39] local.INFO: TCP Data received {"connection_id":133227,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e1fab0012d79a40005e81040000b013f2a..."} 
[2026-07-15 09:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e1fab0012d79a40005e81040000b013f2a..."} 
[2026-07-15 09:18:39] local.INFO: Processing buffer {"connection_id":133227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e1fab0012d79a40005e81040000b013f2a..."} 
[2026-07-15 09:18:39] local.INFO: Packet analysis {"connection_id":133227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e1"} 
[2026-07-15 09:18:39] local.INFO: Extracted packet for processing {"connection_id":133227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e1"} 
[2026-07-15 09:18:39] local.INFO: GPS Element Parsed {"raw_longitude":762946560,"raw_latitude":99094592,"longitude_deg":76.294656,"latitude_deg":9.9094592,"altitude":11,"angle":319,"satellites":42,"speed":16,"hex_longitude":"2d79a400","hex_latitude":"05e81040","is_valid_coordinates":true} 
[2026-07-15 09:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726316800001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106325664918929408,"note":"Value kept but may cause issues"} 
[2026-07-15 09:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8767101124974170112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784087182000,"timestamp_ms":1784087182000,"timestamp_seconds":1784087182,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e1fab0"} 
[2026-07-15 09:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:18:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-07-15 09:18:39] 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-07-15 09:18:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726316800001,"66":12743,"201":206,"87":13824,"24":16,"16":106325664918929408,"45":8767101124974170112},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-15 09:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726316800001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:18:39] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-15 09:18:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 09:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106325664918929408,"km_value":106325664918929.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8767101124974170112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726316800001,"power":12743,"unknown_201":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8767101124974170112}} 
[2026-07-15 09:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":133227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490290,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:18:39] local.INFO: GPS data processed {"connection_id":133227,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:18:39] local.INFO: Acknowledgment sent {"connection_id":133227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:18:39] local.INFO: TCP Data received {"connection_id":133227,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e20668012d79a18005e81358000a015229..."} 
[2026-07-15 09:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e20668012d79a18005e81358000a015229..."} 
[2026-07-15 09:18:39] local.INFO: Processing buffer {"connection_id":133227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e20668012d79a18005e81358000a015229..."} 
[2026-07-15 09:18:39] local.INFO: Packet analysis {"connection_id":133227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e2"} 
[2026-07-15 09:18:39] local.INFO: Extracted packet for processing {"connection_id":133227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e2"} 
[2026-07-15 09:18:39] local.INFO: GPS Element Parsed {"raw_longitude":762945920,"raw_latitude":99095384,"longitude_deg":76.294592,"latitude_deg":9.9095384,"altitude":10,"angle":338,"satellites":41,"speed":7,"hex_longitude":"2d79a180","hex_latitude":"05e81358","is_valid_coordinates":true} 
[2026-07-15 09:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726318592001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106325712163569664,"note":"Value kept but may cause issues"} 
[2026-07-15 09:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8765130800138043392,"note":"Value kept but may cause issues"} 
[2026-07-15 09:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784087185000,"timestamp_ms":1784087185000,"timestamp_seconds":1784087185,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e20668"} 
[2026-07-15 09:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:18:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-15 09:18:39] 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-07-15 09:18:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726318592001,"66":13015,"201":206,"87":13824,"24":7,"16":106325712163569664,"45":8765130800138043392},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-15 09:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726318592001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:18:39] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-15 09:18:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 09:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106325712163569664,"km_value":106325712163569.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8765130800138043392,"description":"Unknown IO ID 45"} 
[2026-07-15 09:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726318592001,"power":13015,"unknown_201":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8765130800138043392}} 
[2026-07-15 09:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":133227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490291,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:18:39] local.INFO: GPS data processed {"connection_id":133227,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:18:39] local.INFO: Acknowledgment sent {"connection_id":133227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:18:39] local.INFO: TCP Data received {"connection_id":132387,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132387,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:18:39] local.INFO: Processing buffer {"connection_id":132387,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:18:39] local.INFO: IMEI packet received {"connection_id":132387,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 09:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":132387,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:18:40] local.INFO: TCP Data received {"connection_id":132387,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132387,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:18:40] local.INFO: Processing buffer {"connection_id":132387,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:18:40] local.INFO: IMEI packet received {"connection_id":132387,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":132387,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:18:40] local.INFO: TCP Data received {"connection_id":132387,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132387,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:18:40] local.INFO: Processing buffer {"connection_id":132387,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:18:40] local.INFO: IMEI packet received {"connection_id":132387,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":132387,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:18:43] local.INFO: TCP Data received {"connection_id":132387,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132387,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:18:43] local.INFO: Processing buffer {"connection_id":132387,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:18:43] local.INFO: IMEI packet received {"connection_id":132387,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":132387,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:18:44] local.INFO: TCP Data received {"connection_id":132387,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e37980012d0a5d0007047110000d010620..."} 
[2026-07-15 09:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e37980012d0a5d0007047110000d010620..."} 
[2026-07-15 09:18:44] local.INFO: Processing buffer {"connection_id":132387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e37980012d0a5d0007047110000d010620..."} 
[2026-07-15 09:18:44] local.INFO: Packet analysis {"connection_id":132387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e3"} 
[2026-07-15 09:18:44] local.INFO: Extracted packet for processing {"connection_id":132387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e3"} 
[2026-07-15 09:18:44] local.INFO: GPS Element Parsed {"raw_longitude":755653888,"raw_latitude":117731600,"longitude_deg":75.5653888,"latitude_deg":11.77316,"altitude":13,"angle":262,"satellites":32,"speed":20,"hex_longitude":"2d0a5d00","hex_latitude":"07047110","is_valid_coordinates":true} 
[2026-07-15 09:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726340608001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24602126722269184,"note":"Value kept but may cause issues"} 
[2026-07-15 09:18:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":755197392653946880,"note":"Value kept but may cause issues"} 
[2026-07-15 09:18:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784087280000,"timestamp_ms":1784087280000,"timestamp_seconds":1784087280,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e37980"} 
[2026-07-15 09:18:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:18:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-15 09:18:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:18:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:18:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":132387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":132387,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":132387,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:18:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726340608001,"66":14428,"177":206,"94":10240,"24":20,"16":24602126722269184,"45":755197392653946880},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-15 09:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726340608001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:18:44] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-15 09:18:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24602126722269184,"km_value":24602126722269.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:18:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":755197392653946880,"description":"Unknown IO ID 45"} 
[2026-07-15 09:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726340608001,"power":14428,"unknown_177":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":755197392653946880}} 
[2026-07-15 09:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":132387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490292,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:18:44] local.INFO: GPS data processed {"connection_id":132387,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:18:44] local.INFO: Acknowledgment sent {"connection_id":132387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:18:47] local.INFO: TCP Data received {"connection_id":132205,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:18:47] local.INFO: Processing buffer {"connection_id":132205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:18:47] local.INFO: IMEI packet received {"connection_id":132205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 09:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":132205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:18:52] local.INFO: TCP Data received {"connection_id":132205,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:18:52] local.INFO: Processing buffer {"connection_id":132205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:18:52] local.INFO: IMEI packet received {"connection_id":132205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 09:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":132205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:18:53] local.INFO: TCP Data received {"connection_id":132205,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e20a50012d197540071feed8003a011c2a..."} 
[2026-07-15 09:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e20a50012d197540071feed8003a011c2a..."} 
[2026-07-15 09:18:53] local.INFO: Processing buffer {"connection_id":132205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e20a50012d197540071feed8003a011c2a..."} 
[2026-07-15 09:18:53] local.INFO: Packet analysis {"connection_id":132205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e2"} 
[2026-07-15 09:18:53] local.INFO: Extracted packet for processing {"connection_id":132205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e2"} 
[2026-07-15 09:18:53] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119533272,"longitude_deg":75.6643136,"latitude_deg":11.9533272,"altitude":58,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071feed8","is_valid_coordinates":true} 
[2026-07-15 09:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726242560001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6134969940312064,"note":"Value kept but may cause issues"} 
[2026-07-15 09:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822568040448,"note":"Value kept but may cause issues"} 
[2026-07-15 09:18:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784087186000,"timestamp_ms":1784087186000,"timestamp_seconds":1784087186,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e20a50"} 
[2026-07-15 09:18:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:18:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 09:18:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:18:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:18:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":132205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":132205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":132205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:18:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 09:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 09:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726242560001,"66":2166,"103":206,"83":41984,"24":0,"16":6134969940312064,"45":1834442822568040448},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 09:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 09:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 09:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726242560001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:18:53] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 09:18:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 09:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6134969940312064,"km_value":6134969940312.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822568040448,"description":"Unknown IO ID 45"} 
[2026-07-15 09:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726242560001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822568040448}} 
[2026-07-15 09:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":132205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:18:53] local.INFO: GPS data processed {"connection_id":132205,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:18:53] local.INFO: Acknowledgment sent {"connection_id":132205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:18:58] local.INFO: TCP Data received {"connection_id":132205,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e20a50012d197540071feed8003a011c2a..."} 
[2026-07-15 09:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e20a50012d197540071feed8003a011c2a..."} 
[2026-07-15 09:18:58] local.INFO: Processing buffer {"connection_id":132205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e20a50012d197540071feed8003a011c2a..."} 
[2026-07-15 09:18:58] local.INFO: Packet analysis {"connection_id":132205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e2"} 
[2026-07-15 09:18:58] local.INFO: Extracted packet for processing {"connection_id":132205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e2"} 
[2026-07-15 09:18:58] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119533272,"longitude_deg":75.6643136,"latitude_deg":11.9533272,"altitude":58,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071feed8","is_valid_coordinates":true} 
[2026-07-15 09:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726242560001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6134969940312064,"note":"Value kept but may cause issues"} 
[2026-07-15 09:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822568040448,"note":"Value kept but may cause issues"} 
[2026-07-15 09:18:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784087186000,"timestamp_ms":1784087186000,"timestamp_seconds":1784087186,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e20a50"} 
[2026-07-15 09:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:18:58] 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-07-15 09:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 09:18:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:18:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":132205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":132205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":132205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:18:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 09:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 09:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726242560001,"66":2166,"103":206,"83":41984,"24":0,"16":6134969940312064,"45":1834442822568040448},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 09:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 09:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 09:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726242560001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:18:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 09:18:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 09:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6134969940312064,"km_value":6134969940312.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822568040448,"description":"Unknown IO ID 45"} 
[2026-07-15 09:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726242560001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822568040448}} 
[2026-07-15 09:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":132205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:18:58] local.INFO: GPS data processed {"connection_id":132205,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:18:58] local.INFO: Acknowledgment sent {"connection_id":132205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:19:03] local.INFO: TCP Data received {"connection_id":132206,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:19:03] local.INFO: Processing buffer {"connection_id":132206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:19:03] local.INFO: IMEI packet received {"connection_id":132206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":132206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:19:06] local.INFO: TCP Data received {"connection_id":132206,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:19:06] local.INFO: Processing buffer {"connection_id":132206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:19:06] local.INFO: IMEI packet received {"connection_id":132206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":132206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:19:07] local.INFO: TCP Data received {"connection_id":132206,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e32390012d7f92c005afdea8000000992d..."} 
[2026-07-15 09:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e32390012d7f92c005afdea8000000992d..."} 
[2026-07-15 09:19:07] local.INFO: Processing buffer {"connection_id":132206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e32390012d7f92c005afdea8000000992d..."} 
[2026-07-15 09:19:07] local.INFO: Packet analysis {"connection_id":132206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e3"} 
[2026-07-15 09:19:07] local.INFO: Extracted packet for processing {"connection_id":132206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e3"} 
[2026-07-15 09:19:07] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95411880,"longitude_deg":76.333536,"latitude_deg":9.541188,"altitude":0,"angle":153,"satellites":45,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-07-15 09:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726260992001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 09:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074577920,"note":"Value kept but may cause issues"} 
[2026-07-15 09:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784087258000,"timestamp_ms":1784087258000,"timestamp_seconds":1784087258,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e32390"} 
[2026-07-15 09:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-15 09:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:19:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:19:07] 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-07-15 09:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726260992001,"66":25875,"27":206,"85":12544,"24":0,"16":347094255858089984,"45":9192620920074577920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726260992001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:19:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:19:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074577920,"description":"Unknown IO ID 45"} 
[2026-07-15 09:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726260992001,"power":25875,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074577920}} 
[2026-07-15 09:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":132206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:19:07] local.INFO: GPS data processed {"connection_id":132206,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:19:07] local.INFO: Acknowledgment sent {"connection_id":132206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:19:10] local.INFO: TCP Data received {"connection_id":133227,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e25870012d79a1c005e81180000701522b..."} 
[2026-07-15 09:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e25870012d79a1c005e81180000701522b..."} 
[2026-07-15 09:19:10] local.INFO: Processing buffer {"connection_id":133227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e25870012d79a1c005e81180000701522b..."} 
[2026-07-15 09:19:10] local.INFO: Packet analysis {"connection_id":133227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e2"} 
[2026-07-15 09:19:10] local.INFO: Extracted packet for processing {"connection_id":133227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e2"} 
[2026-07-15 09:19:10] local.INFO: GPS Element Parsed {"raw_longitude":762945984,"raw_latitude":99094912,"longitude_deg":76.2945984,"latitude_deg":9.9094912,"altitude":7,"angle":338,"satellites":43,"speed":0,"hex_longitude":"2d79a1c0","hex_latitude":"05e81180","is_valid_coordinates":true} 
[2026-07-15 09:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726319360001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106325755113242624,"note":"Value kept but may cause issues"} 
[2026-07-15 09:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8764427112696469504,"note":"Value kept but may cause issues"} 
[2026-07-15 09:19:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784087206000,"timestamp_ms":1784087206000,"timestamp_seconds":1784087206,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e25870"} 
[2026-07-15 09:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:19:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-15 09:19:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":133227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":133227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":133227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726319360001,"66":12961,"201":206,"87":13824,"24":0,"16":106325755113242624,"45":8764427112696469504},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-15 09:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726319360001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:19:10] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-15 09:19:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 09:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106325755113242624,"km_value":106325755113242.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8764427112696469504,"description":"Unknown IO ID 45"} 
[2026-07-15 09:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726319360001,"power":12961,"unknown_201":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8764427112696469504}} 
[2026-07-15 09:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":133227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490296,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:19:10] local.INFO: GPS data processed {"connection_id":133227,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:19:10] local.INFO: Acknowledgment sent {"connection_id":133227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:19:15] local.INFO: TCP Data received {"connection_id":132386,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132386,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:19:15] local.INFO: Processing buffer {"connection_id":132386,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:19:15] local.INFO: IMEI packet received {"connection_id":132386,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 09:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":132386,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:19:30] local.INFO: TCP Data received {"connection_id":134588,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134588,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:19:30] local.INFO: Processing buffer {"connection_id":134588,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:19:30] local.INFO: IMEI packet received {"connection_id":134588,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 09:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":134588,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:19:30] local.INFO: TCP Data received {"connection_id":134588,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134588,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:19:30] local.INFO: Processing buffer {"connection_id":134588,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:19:30] local.INFO: IMEI packet received {"connection_id":134588,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":134588,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:19:34] local.INFO: TCP Data received {"connection_id":134588,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134588,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:19:34] local.INFO: Processing buffer {"connection_id":134588,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:19:34] local.INFO: IMEI packet received {"connection_id":134588,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":134588,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:19:35] local.INFO: TCP Data received {"connection_id":133228,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133228,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:19:35] local.INFO: Processing buffer {"connection_id":133228,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:19:35] local.INFO: IMEI packet received {"connection_id":133228,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 09:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":133228,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:19:35] local.INFO: TCP Data received {"connection_id":134588,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e492c0012d79ba0005e79230000800b72a..."} 
[2026-07-15 09:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e492c0012d79ba0005e79230000800b72a..."} 
[2026-07-15 09:19:35] local.INFO: Processing buffer {"connection_id":134588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e492c0012d79ba0005e79230000800b72a..."} 
[2026-07-15 09:19:35] local.INFO: Packet analysis {"connection_id":134588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e4"} 
[2026-07-15 09:19:35] local.INFO: Extracted packet for processing {"connection_id":134588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e4"} 
[2026-07-15 09:19:35] local.INFO: GPS Element Parsed {"raw_longitude":762952192,"raw_latitude":99062320,"longitude_deg":76.2952192,"latitude_deg":9.906232,"altitude":8,"angle":183,"satellites":42,"speed":20,"hex_longitude":"2d79ba00","hex_latitude":"05e79230","is_valid_coordinates":true} 
[2026-07-15 09:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726356992001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106327421560553472,"note":"Value kept but may cause issues"} 
[2026-07-15 09:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771041774643087360,"note":"Value kept but may cause issues"} 
[2026-07-15 09:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784087352000,"timestamp_ms":1784087352000,"timestamp_seconds":1784087352,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e492c0"} 
[2026-07-15 09:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-15 09:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":134588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":134588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":134588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726356992001,"66":13037,"202":206,"87":13824,"24":20,"16":106327421560553472,"45":8771041774643087360},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-15 09:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726356992001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:19:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 09:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106327421560553472,"km_value":106327421560553.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771041774643087360,"description":"Unknown IO ID 45"} 
[2026-07-15 09:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726356992001,"power":13037,"mcc":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8771041774643087360}} 
[2026-07-15 09:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":134588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490297,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:19:35] local.INFO: GPS data processed {"connection_id":134588,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:19:35] local.INFO: Acknowledgment sent {"connection_id":134588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:19:39] local.INFO: TCP Data received {"connection_id":134588,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e492c0012d79ba0005e79230000800b72a..."} 
[2026-07-15 09:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e492c0012d79ba0005e79230000800b72a..."} 
[2026-07-15 09:19:39] local.INFO: Processing buffer {"connection_id":134588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e492c0012d79ba0005e79230000800b72a..."} 
[2026-07-15 09:19:39] local.INFO: Packet analysis {"connection_id":134588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e4"} 
[2026-07-15 09:19:39] local.INFO: Extracted packet for processing {"connection_id":134588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e4"} 
[2026-07-15 09:19:39] local.INFO: GPS Element Parsed {"raw_longitude":762952192,"raw_latitude":99062320,"longitude_deg":76.2952192,"latitude_deg":9.906232,"altitude":8,"angle":183,"satellites":42,"speed":20,"hex_longitude":"2d79ba00","hex_latitude":"05e79230","is_valid_coordinates":true} 
[2026-07-15 09:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726362112001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106327421560553472,"note":"Value kept but may cause issues"} 
[2026-07-15 09:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771323249617416192,"note":"Value kept but may cause issues"} 
[2026-07-15 09:19:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784087352000,"timestamp_ms":1784087352000,"timestamp_seconds":1784087352,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e492c0"} 
[2026-07-15 09:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:19:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-15 09:19:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:19:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726362112001,"66":13037,"202":206,"87":13824,"24":20,"16":106327421560553472,"45":8771323249617416192},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-15 09:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726362112001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:19:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 09:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106327421560553472,"km_value":106327421560553.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771323249617416192,"description":"Unknown IO ID 45"} 
[2026-07-15 09:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726362112001,"power":13037,"mcc":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8771323249617416192}} 
[2026-07-15 09:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":134588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490298,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:19:39] local.INFO: GPS data processed {"connection_id":134588,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:19:39] local.INFO: Acknowledgment sent {"connection_id":134588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:19:40] local.INFO: TCP Data received {"connection_id":132206,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e440b8012d7f92c005afdea8000000992e..."} 
[2026-07-15 09:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e440b8012d7f92c005afdea8000000992e..."} 
[2026-07-15 09:19:40] local.INFO: Processing buffer {"connection_id":132206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e440b8012d7f92c005afdea8000000992e..."} 
[2026-07-15 09:19:40] local.INFO: Packet analysis {"connection_id":132206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e4"} 
[2026-07-15 09:19:40] local.INFO: Extracted packet for processing {"connection_id":132206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e4"} 
[2026-07-15 09:19:40] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95411880,"longitude_deg":76.333536,"latitude_deg":9.541188,"altitude":0,"angle":153,"satellites":46,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-07-15 09:19: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-07-15 09:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726338048001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 09:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074577920,"note":"Value kept but may cause issues"} 
[2026-07-15 09:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784087331000,"timestamp_ms":1784087331000,"timestamp_seconds":1784087331,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e440b8"} 
[2026-07-15 09:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-15 09:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:19:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:19:40] 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-07-15 09:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726338048001,"66":25843,"27":206,"85":12544,"24":0,"16":347094255858089984,"45":9192620920074577920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726338048001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:19:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:19:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074577920,"description":"Unknown IO ID 45"} 
[2026-07-15 09:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726338048001,"power":25843,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074577920}} 
[2026-07-15 09:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":132206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:19:40] local.INFO: GPS data processed {"connection_id":132206,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:19:40] local.INFO: Acknowledgment sent {"connection_id":132206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:19:42] local.INFO: TCP Data received {"connection_id":132388,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:19:42] local.INFO: Processing buffer {"connection_id":132388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:19:42] local.INFO: IMEI packet received {"connection_id":132388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 09:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":132388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:19:44] local.INFO: TCP Data received {"connection_id":132207,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132207,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:19:44] local.INFO: Processing buffer {"connection_id":132207,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:19:44] local.INFO: IMEI packet received {"connection_id":132207,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 09:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":132207,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:19:47] local.INFO: TCP Data received {"connection_id":132207,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132207,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:19:47] local.INFO: Processing buffer {"connection_id":132207,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:19:47] local.INFO: IMEI packet received {"connection_id":132207,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":132207,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:19:47] local.INFO: TCP Data received {"connection_id":132388,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:19:47] local.INFO: Processing buffer {"connection_id":132388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 09:19:47] local.INFO: IMEI packet received {"connection_id":132388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 09:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":132388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:19:48] local.INFO: TCP Data received {"connection_id":132388,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e20a50012d197540071feed8003a011c2a..."} 
[2026-07-15 09:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e20a50012d197540071feed8003a011c2a..."} 
[2026-07-15 09:19:48] local.INFO: Processing buffer {"connection_id":132388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e20a50012d197540071feed8003a011c2a..."} 
[2026-07-15 09:19:48] local.INFO: Packet analysis {"connection_id":132388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e2"} 
[2026-07-15 09:19:48] local.INFO: Extracted packet for processing {"connection_id":132388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e2"} 
[2026-07-15 09:19:48] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119533272,"longitude_deg":75.6643136,"latitude_deg":11.9533272,"altitude":58,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071feed8","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726242560001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6134969940312064,"note":"Value kept but may cause issues"} 
[2026-07-15 09:19:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822568040448,"note":"Value kept but may cause issues"} 
[2026-07-15 09:19:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784087186000,"timestamp_ms":1784087186000,"timestamp_seconds":1784087186,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e20a50"} 
[2026-07-15 09:19:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:19:48] 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-07-15 09: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 09:19: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-07-15 09: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-07-15 09:19:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":132388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":132388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":132388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 09:19:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 09:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 09:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726242560001,"66":2166,"103":206,"83":41984,"24":0,"16":6134969940312064,"45":1834442822568040448},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 09:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 09:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 09:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726242560001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:19:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 09:19:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 09:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6134969940312064,"km_value":6134969940312.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:19:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822568040448,"description":"Unknown IO ID 45"} 
[2026-07-15 09:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726242560001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822568040448}} 
[2026-07-15 09:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":132388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:19:48] local.INFO: GPS data processed {"connection_id":132388,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:19:48] local.INFO: Acknowledgment sent {"connection_id":132388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:19:49] local.INFO: TCP Data received {"connection_id":132207,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e48320012d0a510007043e880010014a1e..."} 
[2026-07-15 09:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e48320012d0a510007043e880010014a1e..."} 
[2026-07-15 09:19:49] local.INFO: Processing buffer {"connection_id":132207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e48320012d0a510007043e880010014a1e..."} 
[2026-07-15 09:19:49] local.INFO: Packet analysis {"connection_id":132207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e4"} 
[2026-07-15 09:19:49] local.INFO: Extracted packet for processing {"connection_id":132207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e4"} 
[2026-07-15 09:19:49] local.INFO: GPS Element Parsed {"raw_longitude":755650816,"raw_latitude":117718664,"longitude_deg":75.5650816,"latitude_deg":11.7718664,"altitude":16,"angle":330,"satellites":30,"speed":6,"hex_longitude":"2d0a5100","hex_latitude":"07043e88","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726360832001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24602895521415168,"note":"Value kept but may cause issues"} 
[2026-07-15 09:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":743516181117155328,"note":"Value kept but may cause issues"} 
[2026-07-15 09:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1784087348000,"timestamp_ms":1784087348000,"timestamp_seconds":1784087348,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e48320"} 
[2026-07-15 09:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:19:49] 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-07-15 09: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-15 09:19:49] 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-07-15 09: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-07-15 09:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":132207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":132207,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":132207,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726360832001,"66":14396,"178":206,"94":10240,"24":6,"16":24602895521415168,"45":743516181117155328},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,94,24,16,45]} 
[2026-07-15 09:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726360832001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:19:49] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-07-15 09:19:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24602895521415168,"km_value":24602895521415.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":743516181117155328,"description":"Unknown IO ID 45"} 
[2026-07-15 09:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726360832001,"power":14396,"unknown_178":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":743516181117155328}} 
[2026-07-15 09:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":132207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490301,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:19:49] local.INFO: GPS data processed {"connection_id":132207,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:19:49] local.INFO: Acknowledgment sent {"connection_id":132207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:20:06] local.INFO: TCP Data received {"connection_id":132389,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:20:06] local.INFO: Processing buffer {"connection_id":132389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:20:06] local.INFO: IMEI packet received {"connection_id":132389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":132389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:20:07] local.INFO: TCP Data received {"connection_id":132389,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:20:07] local.INFO: Processing buffer {"connection_id":132389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:20:07] local.INFO: IMEI packet received {"connection_id":132389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":132389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:20:10] local.INFO: TCP Data received {"connection_id":134588,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e4d140012d79b6c005e76e50000a00ba2b..."} 
[2026-07-15 09:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e4d140012d79b6c005e76e50000a00ba2b..."} 
[2026-07-15 09:20:10] local.INFO: Processing buffer {"connection_id":134588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e4d140012d79b6c005e76e50000a00ba2b..."} 
[2026-07-15 09:20:10] local.INFO: Packet analysis {"connection_id":134588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e4"} 
[2026-07-15 09:20:10] local.INFO: Extracted packet for processing {"connection_id":134588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e4"} 
[2026-07-15 09:20:10] local.INFO: GPS Element Parsed {"raw_longitude":762951360,"raw_latitude":99053136,"longitude_deg":76.295136,"latitude_deg":9.9053136,"altitude":10,"angle":186,"satellites":43,"speed":22,"hex_longitude":"2d79b6c0","hex_latitude":"05e76e50","is_valid_coordinates":true} 
[2026-07-15 09:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726362112001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106327872532119552,"note":"Value kept but may cause issues"} 
[2026-07-15 09:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771323249617416192,"note":"Value kept but may cause issues"} 
[2026-07-15 09:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784087368000,"timestamp_ms":1784087368000,"timestamp_seconds":1784087368,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e4d140"} 
[2026-07-15 09:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-15 09:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":134588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":134588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":134588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726362112001,"66":12972,"202":206,"87":13824,"24":22,"16":106327872532119552,"45":8771323249617416192},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-15 09:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726362112001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:20:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 09:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106327872532119552,"km_value":106327872532119.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771323249617416192,"description":"Unknown IO ID 45"} 
[2026-07-15 09:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726362112001,"power":12972,"mcc":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8771323249617416192}} 
[2026-07-15 09:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":134588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490302,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:20:10] local.INFO: GPS data processed {"connection_id":134588,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:20:10] local.INFO: Acknowledgment sent {"connection_id":134588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:20:13] local.INFO: TCP Data received {"connection_id":132389,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:20:13] local.INFO: Processing buffer {"connection_id":132389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:20:13] local.INFO: IMEI packet received {"connection_id":132389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":132389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:20:14] local.INFO: TCP Data received {"connection_id":132389,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e44c70012d7f974005afdf080000010a2e..."} 
[2026-07-15 09:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e44c70012d7f974005afdf080000010a2e..."} 
[2026-07-15 09:20:14] local.INFO: Processing buffer {"connection_id":132389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e44c70012d7f974005afdf080000010a2e..."} 
[2026-07-15 09:20:14] local.INFO: Packet analysis {"connection_id":132389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e4"} 
[2026-07-15 09:20:14] local.INFO: Extracted packet for processing {"connection_id":132389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e4"} 
[2026-07-15 09:20:14] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95411976,"longitude_deg":76.3336512,"latitude_deg":9.5411976,"altitude":0,"angle":266,"satellites":46,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afdf08","is_valid_coordinates":true} 
[2026-07-15 09:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726356736001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094255858089984,"note":"Value kept but may cause issues"} 
[2026-07-15 09:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074577920,"note":"Value kept but may cause issues"} 
[2026-07-15 09:20:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784087334000,"timestamp_ms":1784087334000,"timestamp_seconds":1784087334,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e44c70"} 
[2026-07-15 09:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:20:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-15 09:20:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:20:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":132389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":132389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":132389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:20:14] 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-07-15 09:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726356736001,"66":25625,"27":206,"85":12544,"24":0,"16":347094255858089984,"45":9192620920074577920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726356736001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:20:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:20:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094255858089984,"km_value":347094255858090.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074577920,"description":"Unknown IO ID 45"} 
[2026-07-15 09:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726356736001,"power":25625,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074577920}} 
[2026-07-15 09:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":132389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:20:14] local.INFO: GPS data processed {"connection_id":132389,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:20:14] local.INFO: Acknowledgment sent {"connection_id":132389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:20:17] local.INFO: TCP Data received {"connection_id":132389,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e45440012d7f9a4005afdd180000011c2e..."} 
[2026-07-15 09:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e45440012d7f9a4005afdd180000011c2e..."} 
[2026-07-15 09:20:17] local.INFO: Processing buffer {"connection_id":132389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e45440012d7f9a4005afdd180000011c2e..."} 
[2026-07-15 09:20:17] local.INFO: Packet analysis {"connection_id":132389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e4"} 
[2026-07-15 09:20:17] local.INFO: Extracted packet for processing {"connection_id":132389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e4"} 
[2026-07-15 09:20:17] local.INFO: GPS Element Parsed {"raw_longitude":763337280,"raw_latitude":95411480,"longitude_deg":76.333728,"latitude_deg":9.541148,"altitude":0,"angle":284,"satellites":46,"speed":0,"hex_longitude":"2d7f9a40","hex_latitude":"05afdd18","is_valid_coordinates":true} 
[2026-07-15 09:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726357504001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469800448,"note":"Value kept but may cause issues"} 
[2026-07-15 09:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784087336000,"timestamp_ms":1784087336000,"timestamp_seconds":1784087336,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e45440"} 
[2026-07-15 09:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:20:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 09:20:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726357504001,"66":23680,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9193887557469800448},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726357504001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:20:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:20:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469800448,"description":"Unknown IO ID 45"} 
[2026-07-15 09:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726357504001,"power":23680,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469800448}} 
[2026-07-15 09:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":132389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:20:17] local.INFO: GPS data processed {"connection_id":132389,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:20:17] local.INFO: Acknowledgment sent {"connection_id":132389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:20:29] local.INFO: TCP Data received {"connection_id":133229,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133229,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:20:29] local.INFO: Processing buffer {"connection_id":133229,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:20:29] local.INFO: IMEI packet received {"connection_id":133229,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 09:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":133229,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:20:29] local.INFO: TCP Data received {"connection_id":133230,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133230,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:20:29] local.INFO: Processing buffer {"connection_id":133230,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:20:29] local.INFO: IMEI packet received {"connection_id":133230,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 09:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":133230,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:20:30] local.INFO: TCP Data received {"connection_id":133230,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133230,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:20:30] local.INFO: Processing buffer {"connection_id":133230,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:20:30] local.INFO: IMEI packet received {"connection_id":133230,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":133230,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:20:34] local.INFO: TCP Data received {"connection_id":133230,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133230,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:20:34] local.INFO: Processing buffer {"connection_id":133230,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:20:34] local.INFO: IMEI packet received {"connection_id":133230,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":133230,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:20:34] local.INFO: TCP Data received {"connection_id":133229,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133229,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:20:34] local.INFO: Processing buffer {"connection_id":133229,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:20:34] local.INFO: IMEI packet received {"connection_id":133229,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":133229,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:20:35] local.INFO: TCP Data received {"connection_id":133230,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e52b18012d0a7e80070476b00014016220..."} 
[2026-07-15 09:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e52b18012d0a7e80070476b00014016220..."} 
[2026-07-15 09:20:35] local.INFO: Processing buffer {"connection_id":133230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e52b18012d0a7e80070476b00014016220..."} 
[2026-07-15 09:20:35] local.INFO: Packet analysis {"connection_id":133230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e5"} 
[2026-07-15 09:20:35] local.INFO: Extracted packet for processing {"connection_id":133230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e5"} 
[2026-07-15 09:20:35] local.INFO: GPS Element Parsed {"raw_longitude":755662464,"raw_latitude":117733040,"longitude_deg":75.5662464,"latitude_deg":11.773304,"altitude":20,"angle":354,"satellites":32,"speed":17,"hex_longitude":"2d0a7e80","hex_latitude":"070476b0","is_valid_coordinates":true} 
[2026-07-15 09:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726371584001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24604033687748608,"note":"Value kept but may cause issues"} 
[2026-07-15 09:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":756252923816830976,"note":"Value kept but may cause issues"} 
[2026-07-15 09:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784087391000,"timestamp_ms":1784087391000,"timestamp_seconds":1784087391,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e52b18"} 
[2026-07-15 09:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:20:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 09:20:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:20:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":133230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":133230,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":133230,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726371584001,"66":14450,"229":206,"94":11008,"24":17,"16":24604033687748608,"45":756252923816830976},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,94,24,16,45]} 
[2026-07-15 09:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726371584001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:20:35] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-15 09:20:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 09:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24604033687748608,"km_value":24604033687748.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":756252923816830976,"description":"Unknown IO ID 45"} 
[2026-07-15 09:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726371584001,"power":14450,"unknown_229":206,"unknown_94":11008,"ignition":17,"odometer":null,"unknown_45":756252923816830976}} 
[2026-07-15 09:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":133230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490305,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:20:35] local.INFO: GPS data processed {"connection_id":133230,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:20:35] local.INFO: Acknowledgment sent {"connection_id":133230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:20:35] local.INFO: TCP Data received {"connection_id":133229,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e507f0012d79b3c005e74ba0000900b42b..."} 
[2026-07-15 09:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e507f0012d79b3c005e74ba0000900b42b..."} 
[2026-07-15 09:20:35] local.INFO: Processing buffer {"connection_id":133229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e507f0012d79b3c005e74ba0000900b42b..."} 
[2026-07-15 09:20:35] local.INFO: Packet analysis {"connection_id":133229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e5"} 
[2026-07-15 09:20:35] local.INFO: Extracted packet for processing {"connection_id":133229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e5"} 
[2026-07-15 09:20:35] local.INFO: GPS Element Parsed {"raw_longitude":762950592,"raw_latitude":99044256,"longitude_deg":76.2950592,"latitude_deg":9.9044256,"altitude":9,"angle":180,"satellites":43,"speed":29,"hex_longitude":"2d79b3c0","hex_latitude":"05e74ba0","is_valid_coordinates":true} 
[2026-07-15 09:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726366208001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106328302028849152,"note":"Value kept but may cause issues"} 
[2026-07-15 09:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770408455940755456,"note":"Value kept but may cause issues"} 
[2026-07-15 09:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784087382000,"timestamp_ms":1784087382000,"timestamp_seconds":1784087382,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e507f0"} 
[2026-07-15 09:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:20:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-15 09:20:35] 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-07-15 09:20:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":133229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":133229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":133229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726366208001,"66":13080,"202":206,"87":13824,"24":29,"16":106328302028849152,"45":8770408455940755456},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-15 09:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726366208001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:20:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 09:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106328302028849152,"km_value":106328302028849.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770408455940755456,"description":"Unknown IO ID 45"} 
[2026-07-15 09:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726366208001,"power":13080,"mcc":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8770408455940755456}} 
[2026-07-15 09:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":133229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490306,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:20:35] local.INFO: GPS data processed {"connection_id":133229,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:20:35] local.INFO: Acknowledgment sent {"connection_id":133229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:21:01] local.INFO: TCP Data received {"connection_id":132390,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:21:01] local.INFO: Processing buffer {"connection_id":132390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:21:01] local.INFO: IMEI packet received {"connection_id":132390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":132390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:21:06] local.INFO: TCP Data received {"connection_id":133230,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e61960012d0a9dc00704f0e0001a00441f..."} 
[2026-07-15 09:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e61960012d0a9dc00704f0e0001a00441f..."} 
[2026-07-15 09:21:06] local.INFO: Processing buffer {"connection_id":133230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e61960012d0a9dc00704f0e0001a00441f..."} 
[2026-07-15 09:21:06] local.INFO: Packet analysis {"connection_id":133230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e6"} 
[2026-07-15 09:21:06] local.INFO: Extracted packet for processing {"connection_id":133230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e6"} 
[2026-07-15 09:21:06] local.INFO: GPS Element Parsed {"raw_longitude":755670464,"raw_latitude":117764320,"longitude_deg":75.5670464,"latitude_deg":11.776432,"altitude":26,"angle":68,"satellites":31,"speed":19,"hex_longitude":"2d0a9dc0","hex_latitude":"0704f0e0","is_valid_coordinates":true} 
[2026-07-15 09:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726387456001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24605803214274560,"note":"Value kept but may cause issues"} 
[2026-07-15 09:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":764415698149578752,"note":"Value kept but may cause issues"} 
[2026-07-15 09:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784087452000,"timestamp_ms":1784087452000,"timestamp_seconds":1784087452,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e61960"} 
[2026-07-15 09:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-07-15 09:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133230,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133230,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726387456001,"66":14439,"177":206,"94":10240,"24":19,"16":24605803214274560,"45":764415698149578752},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-15 09:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726387456001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:21:06] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-15 09:21:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24605803214274560,"km_value":24605803214274.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":764415698149578752,"description":"Unknown IO ID 45"} 
[2026-07-15 09:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726387456001,"power":14439,"unknown_177":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":764415698149578752}} 
[2026-07-15 09:21:07] local.INFO: TCP Data received {"connection_id":132390,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:21:07] local.INFO: Processing buffer {"connection_id":132390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:21:07] local.INFO: IMEI packet received {"connection_id":132390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":132390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":133230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490307,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:21:07] local.INFO: GPS data processed {"connection_id":133230,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:21:07] local.INFO: Acknowledgment sent {"connection_id":133230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:21:07] local.INFO: TCP Data received {"connection_id":133229,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e536d0012d79b3c005e72850000900b22a..."} 
[2026-07-15 09:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e536d0012d79b3c005e72850000900b22a..."} 
[2026-07-15 09:21:07] local.INFO: Processing buffer {"connection_id":133229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e536d0012d79b3c005e72850000900b22a..."} 
[2026-07-15 09:21:07] local.INFO: Packet analysis {"connection_id":133229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e5"} 
[2026-07-15 09:21:07] local.INFO: Extracted packet for processing {"connection_id":133229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e5"} 
[2026-07-15 09:21:07] local.INFO: GPS Element Parsed {"raw_longitude":762950592,"raw_latitude":99035216,"longitude_deg":76.2950592,"latitude_deg":9.9035216,"altitude":9,"angle":178,"satellites":42,"speed":21,"hex_longitude":"2d79b3c0","hex_latitude":"05e72850","is_valid_coordinates":true} 
[2026-07-15 09:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726369792001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106328744410480640,"note":"Value kept but may cause issues"} 
[2026-07-15 09:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8769564031008350208,"note":"Value kept but may cause issues"} 
[2026-07-15 09:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784087394000,"timestamp_ms":1784087394000,"timestamp_seconds":1784087394,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e536d0"} 
[2026-07-15 09:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-15 09:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726369792001,"66":12863,"202":206,"87":13824,"24":21,"16":106328744410480640,"45":8769564031008350208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-15 09:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726369792001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:21:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 09:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106328744410480640,"km_value":106328744410480.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8769564031008350208,"description":"Unknown IO ID 45"} 
[2026-07-15 09:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726369792001,"power":12863,"mcc":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8769564031008350208}} 
[2026-07-15 09:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":133229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490308,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:21:07] local.INFO: GPS data processed {"connection_id":133229,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:21:07] local.INFO: Acknowledgment sent {"connection_id":133229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:21:08] local.INFO: TCP Data received {"connection_id":132390,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e4a648012d7f9a4005afdd080000011c2d..."} 
[2026-07-15 09:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e4a648012d7f9a4005afdd080000011c2d..."} 
[2026-07-15 09:21:08] local.INFO: Processing buffer {"connection_id":132390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e4a648012d7f9a4005afdd080000011c2d..."} 
[2026-07-15 09:21:08] local.INFO: Packet analysis {"connection_id":132390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e4"} 
[2026-07-15 09:21:08] local.INFO: Extracted packet for processing {"connection_id":132390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e4"} 
[2026-07-15 09:21:08] local.INFO: GPS Element Parsed {"raw_longitude":763337280,"raw_latitude":95411464,"longitude_deg":76.333728,"latitude_deg":9.5411464,"altitude":0,"angle":284,"satellites":45,"speed":0,"hex_longitude":"2d7f9a40","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-07-15 09:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726358016001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194731982399805440,"note":"Value kept but may cause issues"} 
[2026-07-15 09:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784087357000,"timestamp_ms":1784087357000,"timestamp_seconds":1784087357,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e4a648"} 
[2026-07-15 09:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":92,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-07-15 09:21:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1810,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726358016001,"66":27745,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194731982399805440},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726358016001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:21:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:21:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194731982399805440,"description":"Unknown IO ID 45"} 
[2026-07-15 09:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726358016001,"power":27745,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194731982399805440}} 
[2026-07-15 09:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":132390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:21:08] local.INFO: GPS data processed {"connection_id":132390,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:21:08] local.INFO: Acknowledgment sent {"connection_id":132390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:21:29] local.INFO: TCP Data received {"connection_id":132208,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132208,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:21:29] local.INFO: Processing buffer {"connection_id":132208,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:21:29] local.INFO: IMEI packet received {"connection_id":132208,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 09:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":132208,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:21:29] local.INFO: TCP Data received {"connection_id":133231,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133231,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:21:29] local.INFO: Processing buffer {"connection_id":133231,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:21:29] local.INFO: IMEI packet received {"connection_id":133231,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 09:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":133231,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:21:34] local.INFO: TCP Data received {"connection_id":133231,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133231,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:21:34] local.INFO: Processing buffer {"connection_id":133231,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:21:34] local.INFO: IMEI packet received {"connection_id":133231,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":133231,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:21:35] local.INFO: TCP Data received {"connection_id":133231,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133231,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:21:35] local.INFO: Processing buffer {"connection_id":133231,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:21:35] local.INFO: IMEI packet received {"connection_id":133231,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":133231,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:21:36] local.INFO: TCP Data received {"connection_id":133231,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e61d48012d0aa0400704f130001900511f..."} 
[2026-07-15 09:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e61d48012d0aa0400704f130001900511f..."} 
[2026-07-15 09:21:36] local.INFO: Processing buffer {"connection_id":133231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e61d48012d0aa0400704f130001900511f..."} 
[2026-07-15 09:21:36] local.INFO: Packet analysis {"connection_id":133231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e6"} 
[2026-07-15 09:21:36] local.INFO: Extracted packet for processing {"connection_id":133231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e6"} 
[2026-07-15 09:21:36] local.INFO: GPS Element Parsed {"raw_longitude":755671104,"raw_latitude":117764400,"longitude_deg":75.5671104,"latitude_deg":11.77644,"altitude":25,"angle":81,"satellites":31,"speed":23,"hex_longitude":"2d0aa040","hex_latitude":"0704f130","is_valid_coordinates":true} 
[2026-07-15 09:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726387712001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24605833279045632,"note":"Value kept but may cause issues"} 
[2026-07-15 09:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":764978648103051264,"note":"Value kept but may cause issues"} 
[2026-07-15 09:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784087453000,"timestamp_ms":1784087453000,"timestamp_seconds":1784087453,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e61d48"} 
[2026-07-15 09:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 09:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":133231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":133231,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":133231,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726387712001,"66":14439,"177":206,"94":10240,"24":23,"16":24605833279045632,"45":764978648103051264},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-15 09:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726387712001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:21:36] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-15 09:21:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24605833279045632,"km_value":24605833279045.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":764978648103051264,"description":"Unknown IO ID 45"} 
[2026-07-15 09:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726387712001,"power":14439,"unknown_177":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":764978648103051264}} 
[2026-07-15 09:21:36] local.INFO: TCP Data received {"connection_id":132208,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132208,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:21:36] local.INFO: Processing buffer {"connection_id":132208,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:21:36] local.INFO: IMEI packet received {"connection_id":132208,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":132208,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":133231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490310,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:21:36] local.INFO: GPS data processed {"connection_id":133231,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:21:36] local.INFO: Acknowledgment sent {"connection_id":133231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:21:36] local.INFO: TCP Data received {"connection_id":132208,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e57550012d79b44005e70538000700ad2a..."} 
[2026-07-15 09:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e57550012d79b44005e70538000700ad2a..."} 
[2026-07-15 09:21:36] local.INFO: Processing buffer {"connection_id":132208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e57550012d79b44005e70538000700ad2a..."} 
[2026-07-15 09:21:36] local.INFO: Packet analysis {"connection_id":132208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e5"} 
[2026-07-15 09:21:36] local.INFO: Extracted packet for processing {"connection_id":132208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e5"} 
[2026-07-15 09:21:36] local.INFO: GPS Element Parsed {"raw_longitude":762950720,"raw_latitude":99026232,"longitude_deg":76.295072,"latitude_deg":9.9026232,"altitude":7,"angle":173,"satellites":42,"speed":22,"hex_longitude":"2d79b440","hex_latitude":"05e70538","is_valid_coordinates":true} 
[2026-07-15 09:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726372864001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106329178202177536,"note":"Value kept but may cause issues"} 
[2026-07-15 09:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8769564031006035968,"note":"Value kept but may cause issues"} 
[2026-07-15 09:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784087410000,"timestamp_ms":1784087410000,"timestamp_seconds":1784087410,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e57550"} 
[2026-07-15 09:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-15 09:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726372864001,"66":12939,"202":206,"87":13824,"24":22,"16":106329178202177536,"45":8769564031006035968},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-15 09:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726372864001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:21:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 09:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106329178202177536,"km_value":106329178202177.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8769564031006035968,"description":"Unknown IO ID 45"} 
[2026-07-15 09:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726372864001,"power":12939,"mcc":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8769564031006035968}} 
[2026-07-15 09:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":132208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490311,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:21:36] local.INFO: GPS data processed {"connection_id":132208,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:21:36] local.INFO: Acknowledgment sent {"connection_id":132208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:21:39] local.INFO: TCP Data received {"connection_id":132390,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e4d140012d7f9a4005afdd080000011c30..."} 
[2026-07-15 09:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e4d140012d7f9a4005afdd080000011c30..."} 
[2026-07-15 09:21:39] local.INFO: Processing buffer {"connection_id":132390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e4d140012d7f9a4005afdd080000011c30..."} 
[2026-07-15 09:21:39] local.INFO: Packet analysis {"connection_id":132390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e4"} 
[2026-07-15 09:21:39] local.INFO: Extracted packet for processing {"connection_id":132390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e4"} 
[2026-07-15 09:21:39] local.INFO: GPS Element Parsed {"raw_longitude":763337280,"raw_latitude":95411464,"longitude_deg":76.333728,"latitude_deg":9.5411464,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9a40","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-07-15 09:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726363392001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194731982399801344,"note":"Value kept but may cause issues"} 
[2026-07-15 09:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784087368000,"timestamp_ms":1784087368000,"timestamp_seconds":1784087368,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e4d140"} 
[2026-07-15 09:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:21:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-15 09:21:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:21:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726363392001,"66":27876,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194731982399801344},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 09:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726363392001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:21:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 09:21:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194731982399801344,"description":"Unknown IO ID 45"} 
[2026-07-15 09:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726363392001,"power":27876,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194731982399801344}} 
[2026-07-15 09:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":132390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:21:39] local.INFO: GPS data processed {"connection_id":132390,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:21:39] local.INFO: Acknowledgment sent {"connection_id":132390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:21:42] local.INFO: TCP Data received {"connection_id":133231,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e62518012d0aa5800704f100001a005c1f..."} 
[2026-07-15 09:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e62518012d0aa5800704f100001a005c1f..."} 
[2026-07-15 09:21:42] local.INFO: Processing buffer {"connection_id":133231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e62518012d0aa5800704f100001a005c1f..."} 
[2026-07-15 09:21:42] local.INFO: Packet analysis {"connection_id":133231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e6"} 
[2026-07-15 09:21:42] local.INFO: Extracted packet for processing {"connection_id":133231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e6"} 
[2026-07-15 09:21:42] local.INFO: GPS Element Parsed {"raw_longitude":755672448,"raw_latitude":117764352,"longitude_deg":75.5672448,"latitude_deg":11.7764352,"altitude":26,"angle":92,"satellites":31,"speed":27,"hex_longitude":"2d0aa580","hex_latitude":"0704f100","is_valid_coordinates":true} 
[2026-07-15 09:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726387968001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24605897703555072,"note":"Value kept but may cause issues"} 
[2026-07-15 09:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":765682335544848384,"note":"Value kept but may cause issues"} 
[2026-07-15 09:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784087455000,"timestamp_ms":1784087455000,"timestamp_seconds":1784087455,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e62518"} 
[2026-07-15 09:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 09:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":133231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":133231,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":133231,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726387968001,"66":14396,"177":206,"94":10240,"24":27,"16":24605897703555072,"45":765682335544848384},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-15 09:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726387968001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:21:42] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-15 09:21:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24605897703555072,"km_value":24605897703555.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":765682335544848384,"description":"Unknown IO ID 45"} 
[2026-07-15 09:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726387968001,"power":14396,"unknown_177":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":765682335544848384}} 
[2026-07-15 09:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":133231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490313,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:21:42] local.INFO: GPS data processed {"connection_id":133231,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:21:42] local.INFO: Acknowledgment sent {"connection_id":133231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:22:06] local.INFO: TCP Data received {"connection_id":132391,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:22:06] local.INFO: Processing buffer {"connection_id":132391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:22:06] local.INFO: IMEI packet received {"connection_id":132391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":132391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:22:11] local.INFO: TCP Data received {"connection_id":132391,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:22:11] local.INFO: Processing buffer {"connection_id":132391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:22:11] local.INFO: IMEI packet received {"connection_id":132391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":132391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:22:12] local.INFO: TCP Data received {"connection_id":132391,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e4d140012d7f9a4005afdd080000011c30..."} 
[2026-07-15 09:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e4d140012d7f9a4005afdd080000011c30..."} 
[2026-07-15 09:22:12] local.INFO: Processing buffer {"connection_id":132391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e4d140012d7f9a4005afdd080000011c30..."} 
[2026-07-15 09:22:12] local.INFO: Packet analysis {"connection_id":132391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e4"} 
[2026-07-15 09:22:12] local.INFO: Extracted packet for processing {"connection_id":132391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e4"} 
[2026-07-15 09:22:12] local.INFO: GPS Element Parsed {"raw_longitude":763337280,"raw_latitude":95411464,"longitude_deg":76.333728,"latitude_deg":9.5411464,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9a40","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-07-15 09:22: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-07-15 09:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726363392001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194731982399801344,"note":"Value kept but may cause issues"} 
[2026-07-15 09:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784087368000,"timestamp_ms":1784087368000,"timestamp_seconds":1784087368,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e4d140"} 
[2026-07-15 09:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-15 09:22:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:22:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:22:12] 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-07-15 09:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726363392001,"66":27876,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194731982399801344},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 09:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726363392001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:22:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 09:22:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194731982399801344,"description":"Unknown IO ID 45"} 
[2026-07-15 09:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726363392001,"power":27876,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194731982399801344}} 
[2026-07-15 09:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":132391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:22:12] local.INFO: GPS data processed {"connection_id":132391,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:22:12] local.INFO: Acknowledgment sent {"connection_id":132391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:22:13] local.INFO: TCP Data received {"connection_id":133231,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e653f8012d0ac7800704f248001800511f..."} 
[2026-07-15 09:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e653f8012d0ac7800704f248001800511f..."} 
[2026-07-15 09:22:13] local.INFO: Processing buffer {"connection_id":133231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e653f8012d0ac7800704f248001800511f..."} 
[2026-07-15 09:22:13] local.INFO: Packet analysis {"connection_id":133231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e6"} 
[2026-07-15 09:22:13] local.INFO: Extracted packet for processing {"connection_id":133231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e6"} 
[2026-07-15 09:22:13] local.INFO: GPS Element Parsed {"raw_longitude":755681152,"raw_latitude":117764680,"longitude_deg":75.5681152,"latitude_deg":11.776468,"altitude":24,"angle":81,"satellites":31,"speed":21,"hex_longitude":"2d0ac780","hex_latitude":"0704f248","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726388480001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24606314315382784,"note":"Value kept but may cause issues"} 
[2026-07-15 09:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":767160079172567040,"note":"Value kept but may cause issues"} 
[2026-07-15 09:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784087467000,"timestamp_ms":1784087467000,"timestamp_seconds":1784087467,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e653f8"} 
[2026-07-15 09:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:22:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-15 09:22:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":133231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":133231,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":133231,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:22:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726388480001,"66":13580,"177":206,"94":10240,"24":21,"16":24606314315382784,"45":767160079172567040},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-15 09:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726388480001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:22:13] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-15 09:22:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24606314315382784,"km_value":24606314315382.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":767160079172567040,"description":"Unknown IO ID 45"} 
[2026-07-15 09:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726388480001,"power":13580,"unknown_177":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":767160079172567040}} 
[2026-07-15 09:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":133231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490315,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:22:14] local.INFO: GPS data processed {"connection_id":133231,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:22:14] local.INFO: Acknowledgment sent {"connection_id":133231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:22:17] local.INFO: TCP Data received {"connection_id":132391,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e4d140012d7f9a4005afdd080000011c30..."} 
[2026-07-15 09:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e4d140012d7f9a4005afdd080000011c30..."} 
[2026-07-15 09:22:17] local.INFO: Processing buffer {"connection_id":132391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e4d140012d7f9a4005afdd080000011c30..."} 
[2026-07-15 09:22:17] local.INFO: Packet analysis {"connection_id":132391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e4"} 
[2026-07-15 09:22:17] local.INFO: Extracted packet for processing {"connection_id":132391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e4"} 
[2026-07-15 09:22:17] local.INFO: GPS Element Parsed {"raw_longitude":763337280,"raw_latitude":95411464,"longitude_deg":76.333728,"latitude_deg":9.5411464,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9a40","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-07-15 09:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726363392001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:22:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194731982399801344,"note":"Value kept but may cause issues"} 
[2026-07-15 09:22:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784087368000,"timestamp_ms":1784087368000,"timestamp_seconds":1784087368,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e4d140"} 
[2026-07-15 09:22:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:22:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-15 09:22:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:22:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:22:17] 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-07-15 09:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726363392001,"66":27876,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194731982399801344},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 09:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726363392001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:22:17] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 09:22:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:22:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194731982399801344,"description":"Unknown IO ID 45"} 
[2026-07-15 09:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726363392001,"power":27876,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194731982399801344}} 
[2026-07-15 09:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":132391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:22:17] local.INFO: GPS data processed {"connection_id":132391,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:22:17] local.INFO: Acknowledgment sent {"connection_id":132391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:22:34] local.INFO: TCP Data received {"connection_id":132209,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132209,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:22:34] local.INFO: Processing buffer {"connection_id":132209,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:22:34] local.INFO: IMEI packet received {"connection_id":132209,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 09:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":132209,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:22:39] local.INFO: TCP Data received {"connection_id":132209,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132209,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:22:39] local.INFO: Processing buffer {"connection_id":132209,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:22:39] local.INFO: IMEI packet received {"connection_id":132209,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":132209,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:22:40] local.INFO: TCP Data received {"connection_id":132209,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e67ef0012d0aeac00704f988001600541d..."} 
[2026-07-15 09:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e67ef0012d0aeac00704f988001600541d..."} 
[2026-07-15 09:22:40] local.INFO: Processing buffer {"connection_id":132209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e67ef0012d0aeac00704f988001600541d..."} 
[2026-07-15 09:22:40] local.INFO: Packet analysis {"connection_id":132209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e6"} 
[2026-07-15 09:22:40] local.INFO: Extracted packet for processing {"connection_id":132209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e6"} 
[2026-07-15 09:22:40] local.INFO: GPS Element Parsed {"raw_longitude":755690176,"raw_latitude":117766536,"longitude_deg":75.5690176,"latitude_deg":11.7766536,"altitude":22,"angle":84,"satellites":29,"speed":36,"hex_longitude":"2d0aeac0","hex_latitude":"0704f988","is_valid_coordinates":true} 
[2026-07-15 09:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726391552001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24606752402046976,"note":"Value kept but may cause issues"} 
[2026-07-15 09:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":776730228380813312,"note":"Value kept but may cause issues"} 
[2026-07-15 09:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784087478000,"timestamp_ms":1784087478000,"timestamp_seconds":1784087478,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e67ef0"} 
[2026-07-15 09:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:22:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-15 09:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751535978,"note":"Value kept but may cause issues"} 
[2026-07-15 09:22:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-15 09:22:40] local.WARNING: Large IO value detected {"io_id":10,"raw_value":-7457953265256234983,"note":"Value kept but may cause issues"} 
[2026-07-15 09:22:40] local.WARNING: Large IO value detected {"io_id":106,"raw_value":3640655872,"note":"Value kept but may cause issues"} 
[2026-07-15 09:22:40] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-15 09:22:40] local.WARNING: Large IO value detected {"io_id":99,"raw_value":3860166657,"note":"Value kept but may cause issues"} 
[2026-07-15 09:22:40] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639037091641265,"note":"Value kept but may cause issues"} 
[2026-07-15 09:22:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2008088782,"corrected_to":0} 
[2026-07-15 09:22:40] local.WARNING: Large IO value detected {"io_id":17,"raw_value":2415996170,"note":"Value kept but may cause issues"} 
[2026-07-15 09:22:40] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2583743863,"note":"Value kept but may cause issues"} 
[2026-07-15 09:22:40] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-15 09:22:40] local.WARNING: Large IO value detected {"io_id":56,"raw_value":7422158099860999774,"note":"Value kept but may cause issues"} 
[2026-07-15 09:22:40] local.WARNING: Large IO value detected {"io_id":40,"raw_value":6755498225434865,"note":"Value kept but may cause issues"} 
[2026-07-15 09:22:40] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,177,94,24,241,157,16,107,159,37,45,128,26,31,10,66,106,29,64,25,192,1,240,103,227,99,4,113,205,18,17,154,208,30,239,53,2,87,7,20,56,40],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2008088782,"validated":0}]} 
[2026-07-15 09:22:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1729471450497482752,"timestamp_seconds":1729471450497482.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 09:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132209,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132209,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726391552001,"66":14439,"177":206,"94":10240,"24":36,"16":24606752402046976,"45":776730228380813312},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-15 09:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726391552001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:22:40] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-15 09:22:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24606752402046976,"km_value":24606752402046.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":776730228380813312,"description":"Unknown IO ID 45"} 
[2026-07-15 09:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726391552001,"power":14439,"unknown_177":206,"unknown_94":10240,"ignition":36,"odometer":null,"unknown_45":776730228380813312}} 
[2026-07-15 09:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":132209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490317,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:22:40] local.INFO: GPS data processed {"connection_id":132209,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:22:40] local.INFO: Acknowledgment sent {"connection_id":132209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:22:41] local.INFO: TCP Data received {"connection_id":132209,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e6b5a0012d0b10000704fc300014005c1c..."} 
[2026-07-15 09:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e6b5a0012d0b10000704fc300014005c1c..."} 
[2026-07-15 09:22:41] local.INFO: Processing buffer {"connection_id":132209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e6b5a0012d0b10000704fc300014005c1c..."} 
[2026-07-15 09:22:41] local.INFO: Packet analysis {"connection_id":132209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e6"} 
[2026-07-15 09:22:41] local.INFO: Extracted packet for processing {"connection_id":132209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e6"} 
[2026-07-15 09:22:41] local.INFO: GPS Element Parsed {"raw_longitude":755699712,"raw_latitude":117767216,"longitude_deg":75.5699712,"latitude_deg":11.7767216,"altitude":20,"angle":92,"satellites":28,"speed":34,"hex_longitude":"2d0b1000","hex_latitude":"0704fc30","is_valid_coordinates":true} 
[2026-07-15 09:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726394368001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24607203373613056,"note":"Value kept but may cause issues"} 
[2026-07-15 09:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":786652221310339072,"note":"Value kept but may cause issues"} 
[2026-07-15 09:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784087492000,"timestamp_ms":1784087492000,"timestamp_seconds":1784087492,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e6b5a0"} 
[2026-07-15 09:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 09:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132209,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132209,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726394368001,"66":14537,"177":206,"94":10240,"24":34,"16":24607203373613056,"45":786652221310339072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-15 09:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726394368001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:22:41] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-15 09:22:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24607203373613056,"km_value":24607203373613.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":786652221310339072,"description":"Unknown IO ID 45"} 
[2026-07-15 09:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726394368001,"power":14537,"unknown_177":206,"unknown_94":10240,"ignition":34,"odometer":null,"unknown_45":786652221310339072}} 
[2026-07-15 09:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":132209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490318,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:22:41] local.INFO: GPS data processed {"connection_id":132209,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:22:41] local.INFO: Acknowledgment sent {"connection_id":132209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:22:56] local.INFO: TCP Data received {"connection_id":132210,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132210,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:22:56] local.INFO: Processing buffer {"connection_id":132210,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:22:56] local.INFO: IMEI packet received {"connection_id":132210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 09:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":132210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:23:01] local.INFO: TCP Data received {"connection_id":133232,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:23:01] local.INFO: Processing buffer {"connection_id":133232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:23:01] local.INFO: IMEI packet received {"connection_id":133232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":133232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:23:04] local.INFO: TCP Data received {"connection_id":132210,"ip":"42.106.6.17","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-15 09:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132210,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-15 09:23:04] local.INFO: Processing buffer {"connection_id":132210,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-15 09:23:04] local.INFO: IMEI packet received {"connection_id":132210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":132210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:23:05] local.INFO: TCP Data received {"connection_id":132210,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e74df8012d79d8c005e59d28000300a626..."} 
[2026-07-15 09:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e74df8012d79d8c005e59d28000300a626..."} 
[2026-07-15 09:23:05] local.INFO: Processing buffer {"connection_id":132210,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019f63..."} 
[2026-07-15 09:23:05] local.INFO: IMEI packet received {"connection_id":132210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":132210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:23:06] local.INFO: TCP Data received {"connection_id":132210,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e780c0012d79e04005e57a20000700a92a..."} 
[2026-07-15 09:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e780c0012d79e04005e57a20000700a92a..."} 
[2026-07-15 09:23:06] local.INFO: Processing buffer {"connection_id":132210,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f63e74df8012d79d8c005e59d28000300a626..."} 
[2026-07-15 09:23:06] local.INFO: Packet analysis {"connection_id":132210,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f63e7"} 
[2026-07-15 09:23:06] local.INFO: Extracted packet for processing {"connection_id":132210,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e7"} 
[2026-07-15 09:23:06] local.INFO: GPS Element Parsed {"raw_longitude":762960064,"raw_latitude":98934056,"longitude_deg":76.2960064,"latitude_deg":9.8934056,"altitude":3,"angle":166,"satellites":38,"speed":33,"hex_longitude":"2d79d8c0","hex_latitude":"05e59d28","is_valid_coordinates":true} 
[2026-07-15 09:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726406912001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106333705097707520,"note":"Value kept but may cause issues"} 
[2026-07-15 09:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779345286421956608,"note":"Value kept but may cause issues"} 
[2026-07-15 09:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784087531000,"timestamp_ms":1784087531000,"timestamp_seconds":1784087531,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e74df8"} 
[2026-07-15 09:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-15 09:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726406912001,"66":12319,"182":206,"87":13824,"24":33,"16":106333705097707520,"45":8779345286421956608},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-15 09:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726406912001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:23:06] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 09:23:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 09:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106333705097707520,"km_value":106333705097707.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779345286421956608,"description":"Unknown IO ID 45"} 
[2026-07-15 09:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726406912001,"power":12319,"unknown_182":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8779345286421956608}} 
[2026-07-15 09:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":132210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490319,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:23:06] local.INFO: GPS data processed {"connection_id":132210,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:23:06] local.INFO: Acknowledgment sent {"connection_id":132210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:23:06] local.INFO: Packet analysis {"connection_id":132210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e7"} 
[2026-07-15 09:23:06] local.INFO: Extracted packet for processing {"connection_id":132210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e7"} 
[2026-07-15 09:23:06] local.INFO: GPS Element Parsed {"raw_longitude":762961984,"raw_latitude":98925088,"longitude_deg":76.2961984,"latitude_deg":9.8925088,"altitude":7,"angle":169,"satellites":42,"speed":36,"hex_longitude":"2d79e040","hex_latitude":"05e57a20","is_valid_coordinates":true} 
[2026-07-15 09:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726407936001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106334151774306304,"note":"Value kept but may cause issues"} 
[2026-07-15 09:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779978605118433280,"note":"Value kept but may cause issues"} 
[2026-07-15 09:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784087544000,"timestamp_ms":1784087544000,"timestamp_seconds":1784087544,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e780c0"} 
[2026-07-15 09:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-15 09:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726407936001,"66":13319,"182":206,"87":13824,"24":36,"16":106334151774306304,"45":8779978605118433280},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-15 09:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726407936001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:23:06] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 09:23:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 09:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106334151774306304,"km_value":106334151774306.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779978605118433280,"description":"Unknown IO ID 45"} 
[2026-07-15 09:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726407936001,"power":13319,"unknown_182":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8779978605118433280}} 
[2026-07-15 09:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":132210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490320,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:23:06] local.INFO: GPS data processed {"connection_id":132210,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:23:06] local.INFO: Acknowledgment sent {"connection_id":132210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:23:06] local.INFO: TCP Data received {"connection_id":133232,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:23:06] local.INFO: Processing buffer {"connection_id":133232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:23:06] local.INFO: IMEI packet received {"connection_id":133232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":133232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:23:07] local.INFO: TCP Data received {"connection_id":132210,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e7a7d0012d79e78005e556d0000900a82c..."} 
[2026-07-15 09:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e7a7d0012d79e78005e556d0000900a82c..."} 
[2026-07-15 09:23:07] local.INFO: Processing buffer {"connection_id":132210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e7a7d0012d79e78005e556d0000900a82c..."} 
[2026-07-15 09:23:07] local.INFO: Packet analysis {"connection_id":132210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e7"} 
[2026-07-15 09:23:07] local.INFO: Extracted packet for processing {"connection_id":132210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e7"} 
[2026-07-15 09:23:07] local.INFO: GPS Element Parsed {"raw_longitude":762963840,"raw_latitude":98916048,"longitude_deg":76.296384,"latitude_deg":9.8916048,"altitude":9,"angle":168,"satellites":44,"speed":34,"hex_longitude":"2d79e780","hex_latitude":"05e556d0","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726411264001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106334598450905088,"note":"Value kept but may cause issues"} 
[2026-07-15 09:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782089667441467392,"note":"Value kept but may cause issues"} 
[2026-07-15 09:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784087554000,"timestamp_ms":1784087554000,"timestamp_seconds":1784087554,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e7a7d0"} 
[2026-07-15 09:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-15 09:23:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 09:23:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-07-15 09:23:07] local.WARNING: Large IO value detected {"io_id":99,"raw_value":3876550657,"note":"Value kept but may cause issues"} 
[2026-07-15 09:23:07] local.WARNING: Large IO value detected {"io_id":229,"raw_value":3887071238,"note":"Value kept but may cause issues"} 
[2026-07-15 09:23:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":850788558,"corrected_to":0} 
[2026-07-15 09:23:07] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802098,"note":"Value kept but may cause issues"} 
[2026-07-15 09:23:07] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3299278848,"note":"Value kept but may cause issues"} 
[2026-07-15 09:23:07] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3862009856,"note":"Value kept but may cause issues"} 
[2026-07-15 09:23:07] local.WARNING: Large IO value detected {"io_id":215,"raw_value":57758123209676598,"note":"Value kept but may cause issues"} 
[2026-07-15 09:23:07] local.WARNING: Large IO value detected {"io_id":230,"raw_value":6066348736734045952,"note":"Value kept but may cause issues"} 
[2026-07-15 09:23:07] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,182,87,24,241,157,16,198,159,77,45,192,3,38,10,66,197,62,128,174,4,40,35,1,240,106,227,99,229,113,205,47,236,213,184,41,239,50,181,2,121,5,9,31,215,230],"length":527,"final_offset":657,"validated_count":46,"validation_warnings":[{"io_id":205,"original":850788558,"validated":0}]} 
[2026-07-15 09:23:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504589156121575424,"timestamp_seconds":504589156121575.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 09:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726411264001,"66":13102,"182":206,"87":13824,"24":34,"16":106334598450905088,"45":8782089667441467392},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-15 09:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726411264001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:23:07] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 09:23:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 09:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106334598450905088,"km_value":106334598450905.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782089667441467392,"description":"Unknown IO ID 45"} 
[2026-07-15 09:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726411264001,"power":13102,"unknown_182":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8782089667441467392}} 
[2026-07-15 09:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":132210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490321,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:23:07] local.INFO: GPS data processed {"connection_id":132210,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:23:07] local.INFO: Acknowledgment sent {"connection_id":132210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:23:08] local.INFO: TCP Data received {"connection_id":133232,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e4d140012d7f9a4005afdd080000011c30..."} 
[2026-07-15 09:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e4d140012d7f9a4005afdd080000011c30..."} 
[2026-07-15 09:23:08] local.INFO: Processing buffer {"connection_id":133232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e4d140012d7f9a4005afdd080000011c30..."} 
[2026-07-15 09:23:08] local.INFO: Packet analysis {"connection_id":133232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e4"} 
[2026-07-15 09:23:08] local.INFO: Extracted packet for processing {"connection_id":133232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e4"} 
[2026-07-15 09:23:08] local.INFO: GPS Element Parsed {"raw_longitude":763337280,"raw_latitude":95411464,"longitude_deg":76.333728,"latitude_deg":9.5411464,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9a40","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-07-15 09:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726363392001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194731982399801344,"note":"Value kept but may cause issues"} 
[2026-07-15 09:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784087368000,"timestamp_ms":1784087368000,"timestamp_seconds":1784087368,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e4d140"} 
[2026-07-15 09:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-15 09:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":133232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":133232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":133232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726363392001,"66":27876,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194731982399801344},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 09:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726363392001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:23:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 09:23:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194731982399801344,"description":"Unknown IO ID 45"} 
[2026-07-15 09:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726363392001,"power":27876,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194731982399801344}} 
[2026-07-15 09:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":133232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:23:08] local.INFO: GPS data processed {"connection_id":133232,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:23:08] local.INFO: Acknowledgment sent {"connection_id":133232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:23:13] local.INFO: TCP Data received {"connection_id":132209,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e6e098012d0b2f000704f968001300681f..."} 
[2026-07-15 09:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e6e098012d0b2f000704f968001300681f..."} 
[2026-07-15 09:23:13] local.INFO: Processing buffer {"connection_id":132209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e6e098012d0b2f000704f968001300681f..."} 
[2026-07-15 09:23:13] local.INFO: Packet analysis {"connection_id":132209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e6"} 
[2026-07-15 09:23:13] local.INFO: Extracted packet for processing {"connection_id":132209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e6"} 
[2026-07-15 09:23:13] local.INFO: GPS Element Parsed {"raw_longitude":755707648,"raw_latitude":117766504,"longitude_deg":75.5707648,"latitude_deg":11.7766504,"altitude":19,"angle":104,"satellites":31,"speed":22,"hex_longitude":"2d0b2f00","hex_latitude":"0704f968","is_valid_coordinates":true} 
[2026-07-15 09:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726397952001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24607581330735104,"note":"Value kept but may cause issues"} 
[2026-07-15 09:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797137164192985088,"note":"Value kept but may cause issues"} 
[2026-07-15 09:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784087503000,"timestamp_ms":1784087503000,"timestamp_seconds":1784087503,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e6e098"} 
[2026-07-15 09:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-15 09:23:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:23:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132209,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132209,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726397952001,"66":14450,"177":206,"94":10240,"24":22,"16":24607581330735104,"45":797137164192985088},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-15 09:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726397952001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:23:13] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-15 09:23:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24607581330735104,"km_value":24607581330735.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":797137164192985088,"description":"Unknown IO ID 45"} 
[2026-07-15 09:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726397952001,"power":14450,"unknown_177":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":797137164192985088}} 
[2026-07-15 09:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":132209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490323,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:23:13] local.INFO: GPS data processed {"connection_id":132209,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:23:13] local.INFO: Acknowledgment sent {"connection_id":132209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:23:29] local.INFO: TCP Data received {"connection_id":133233,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133233,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:23:29] local.INFO: Processing buffer {"connection_id":133233,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:23:29] local.INFO: IMEI packet received {"connection_id":133233,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 09:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":133233,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:23:29] local.INFO: TCP Data received {"connection_id":133233,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133233,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:23:29] local.INFO: Processing buffer {"connection_id":133233,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:23:29] local.INFO: IMEI packet received {"connection_id":133233,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":133233,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:23:30] local.INFO: TCP Data received {"connection_id":133233,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133233,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:23:30] local.INFO: Processing buffer {"connection_id":133233,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:23:30] local.INFO: IMEI packet received {"connection_id":133233,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":133233,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:23:30] local.INFO: TCP Data received {"connection_id":133233,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133233,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:23:30] local.INFO: Processing buffer {"connection_id":133233,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:23:30] local.INFO: IMEI packet received {"connection_id":133233,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":133233,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:23:34] local.INFO: TCP Data received {"connection_id":134591,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134591,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:23:34] local.INFO: Processing buffer {"connection_id":134591,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:23:34] local.INFO: IMEI packet received {"connection_id":134591,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 09:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":134591,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:23:36] local.INFO: TCP Data received {"connection_id":134591,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134591,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:23:36] local.INFO: Processing buffer {"connection_id":134591,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:23:36] local.INFO: IMEI packet received {"connection_id":134591,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":134591,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:23:40] local.INFO: TCP Data received {"connection_id":133232,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e4d140012d7f9a4005afdd080000011c30..."} 
[2026-07-15 09:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e4d140012d7f9a4005afdd080000011c30..."} 
[2026-07-15 09:23:40] local.INFO: Processing buffer {"connection_id":133232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e4d140012d7f9a4005afdd080000011c30..."} 
[2026-07-15 09:23:40] local.INFO: Packet analysis {"connection_id":133232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e4"} 
[2026-07-15 09:23:40] local.INFO: Extracted packet for processing {"connection_id":133232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e4"} 
[2026-07-15 09:23:40] local.INFO: GPS Element Parsed {"raw_longitude":763337280,"raw_latitude":95411464,"longitude_deg":76.333728,"latitude_deg":9.5411464,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9a40","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-07-15 09:23: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-07-15 09:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726363392001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:23:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194731982399801344,"note":"Value kept but may cause issues"} 
[2026-07-15 09:23:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784087368000,"timestamp_ms":1784087368000,"timestamp_seconds":1784087368,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e4d140"} 
[2026-07-15 09:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:23:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-15 09:23:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":133232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":133232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":133232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:23:40] 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-07-15 09:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726363392001,"66":27876,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194731982399801344},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 09:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726363392001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:23:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 09:23:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:23:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194731982399801344,"description":"Unknown IO ID 45"} 
[2026-07-15 09:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726363392001,"power":27876,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194731982399801344}} 
[2026-07-15 09:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":133232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:23:40] local.INFO: GPS data processed {"connection_id":133232,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:23:40] local.INFO: Acknowledgment sent {"connection_id":133232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:23:41] local.INFO: TCP Data received {"connection_id":134591,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134591,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:23:41] local.INFO: Processing buffer {"connection_id":134591,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:23:41] local.INFO: IMEI packet received {"connection_id":134591,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":134591,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:23:42] local.INFO: TCP Data received {"connection_id":134591,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e7d2c8012d79ef4005e531e8000700a82d..."} 
[2026-07-15 09:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e7d2c8012d79ef4005e531e8000700a82d..."} 
[2026-07-15 09:23:42] local.INFO: Processing buffer {"connection_id":134591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e7d2c8012d79ef4005e531e8000700a82d..."} 
[2026-07-15 09:23:42] local.INFO: Packet analysis {"connection_id":134591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e7"} 
[2026-07-15 09:23:42] local.INFO: Extracted packet for processing {"connection_id":134591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e7"} 
[2026-07-15 09:23:42] local.INFO: GPS Element Parsed {"raw_longitude":762965824,"raw_latitude":98906600,"longitude_deg":76.2965824,"latitude_deg":9.89066,"altitude":7,"angle":168,"satellites":45,"speed":35,"hex_longitude":"2d79ef40","hex_latitude":"05e531e8","is_valid_coordinates":true} 
[2026-07-15 09:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726413824001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106335066602340352,"note":"Value kept but may cause issues"} 
[2026-07-15 09:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8784130361020305408,"note":"Value kept but may cause issues"} 
[2026-07-15 09:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784087565000,"timestamp_ms":1784087565000,"timestamp_seconds":1784087565,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e7d2c8"} 
[2026-07-15 09:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-15 09:23:42] 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-07-15 09:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":134591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":134591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":134591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726413824001,"66":12906,"182":206,"87":13824,"24":35,"16":106335066602340352,"45":8784130361020305408},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-15 09:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726413824001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:23:42] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 09:23:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 09:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106335066602340352,"km_value":106335066602340.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8784130361020305408,"description":"Unknown IO ID 45"} 
[2026-07-15 09:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726413824001,"power":12906,"unknown_182":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8784130361020305408}} 
[2026-07-15 09:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":134591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490325,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:23:42] local.INFO: GPS data processed {"connection_id":134591,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:23:42] local.INFO: Acknowledgment sent {"connection_id":134591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:24:01] local.INFO: TCP Data received {"connection_id":133234,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:24:01] local.INFO: Processing buffer {"connection_id":133234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:24:01] local.INFO: IMEI packet received {"connection_id":133234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":133234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:24:06] local.INFO: TCP Data received {"connection_id":133234,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:24:06] local.INFO: Processing buffer {"connection_id":133234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:24:06] local.INFO: IMEI packet received {"connection_id":133234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":133234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:24:07] local.INFO: TCP Data received {"connection_id":133234,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e4d140012d7f9a4005afdd080000011c30..."} 
[2026-07-15 09:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e4d140012d7f9a4005afdd080000011c30..."} 
[2026-07-15 09:24:07] local.INFO: Processing buffer {"connection_id":133234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e4d140012d7f9a4005afdd080000011c30..."} 
[2026-07-15 09:24:07] local.INFO: Packet analysis {"connection_id":133234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e4"} 
[2026-07-15 09:24:07] local.INFO: Extracted packet for processing {"connection_id":133234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e4"} 
[2026-07-15 09:24:07] local.INFO: GPS Element Parsed {"raw_longitude":763337280,"raw_latitude":95411464,"longitude_deg":76.333728,"latitude_deg":9.5411464,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9a40","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-07-15 09:24:07] 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-07-15 09:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726363392001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194731982399801344,"note":"Value kept but may cause issues"} 
[2026-07-15 09:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784087368000,"timestamp_ms":1784087368000,"timestamp_seconds":1784087368,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e4d140"} 
[2026-07-15 09:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-15 09:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:24:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726363392001,"66":27876,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194731982399801344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 09:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726363392001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:24:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 09:24:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194731982399801344,"description":"Unknown IO ID 45"} 
[2026-07-15 09:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726363392001,"power":27876,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194731982399801344}} 
[2026-07-15 09:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":133234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:24:07] local.INFO: GPS data processed {"connection_id":133234,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:24:07] local.INFO: Acknowledgment sent {"connection_id":133234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:24:17] local.INFO: TCP Data received {"connection_id":134591,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e80d60012d79f70005e50cd8000500a92d..."} 
[2026-07-15 09:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e80d60012d79f70005e50cd8000500a92d..."} 
[2026-07-15 09:24:17] local.INFO: Processing buffer {"connection_id":134591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e80d60012d79f70005e50cd8000500a92d..."} 
[2026-07-15 09:24:17] local.INFO: Packet analysis {"connection_id":134591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e8"} 
[2026-07-15 09:24:17] local.INFO: Extracted packet for processing {"connection_id":134591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e8"} 
[2026-07-15 09:24:17] local.INFO: GPS Element Parsed {"raw_longitude":762967808,"raw_latitude":98897112,"longitude_deg":76.2967808,"latitude_deg":9.8897112,"altitude":5,"angle":169,"satellites":45,"speed":35,"hex_longitude":"2d79f700","hex_latitude":"05e50cd8","is_valid_coordinates":true} 
[2026-07-15 09:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726416640001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106335534753775616,"note":"Value kept but may cause issues"} 
[2026-07-15 09:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8786311792087394304,"note":"Value kept but may cause issues"} 
[2026-07-15 09:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784087580000,"timestamp_ms":1784087580000,"timestamp_seconds":1784087580,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e80d60"} 
[2026-07-15 09:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:24:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-15 09:24:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:24:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":134591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":134591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":134591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726416640001,"66":12982,"145":206,"87":12288,"24":35,"16":106335534753775616,"45":8786311792087394304},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-07-15 09:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726416640001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:24:17] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-15 09:24:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-15 09:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106335534753775616,"km_value":106335534753775.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8786311792087394304,"description":"Unknown IO ID 45"} 
[2026-07-15 09:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726416640001,"power":12982,"unknown_145":206,"unknown_87":12288,"ignition":35,"odometer":null,"unknown_45":8786311792087394304}} 
[2026-07-15 09:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":134591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490327,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:24:17] local.INFO: GPS data processed {"connection_id":134591,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:24:17] local.INFO: Acknowledgment sent {"connection_id":134591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:24:37] local.INFO: TCP Data received {"connection_id":133235,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133235,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:24:37] local.INFO: Processing buffer {"connection_id":133235,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:24:37] local.INFO: IMEI packet received {"connection_id":133235,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 09:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":133235,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:24:38] local.INFO: TCP Data received {"connection_id":133234,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e4d140012d7f9a4005afdd080000011c30..."} 
[2026-07-15 09:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e4d140012d7f9a4005afdd080000011c30..."} 
[2026-07-15 09:24:38] local.INFO: Processing buffer {"connection_id":133234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e4d140012d7f9a4005afdd080000011c30..."} 
[2026-07-15 09:24:38] local.INFO: Packet analysis {"connection_id":133234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e4"} 
[2026-07-15 09:24:38] local.INFO: Extracted packet for processing {"connection_id":133234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e4"} 
[2026-07-15 09:24:38] local.INFO: GPS Element Parsed {"raw_longitude":763337280,"raw_latitude":95411464,"longitude_deg":76.333728,"latitude_deg":9.5411464,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9a40","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-07-15 09:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726363392001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194731982399801344,"note":"Value kept but may cause issues"} 
[2026-07-15 09:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784087368000,"timestamp_ms":1784087368000,"timestamp_seconds":1784087368,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e4d140"} 
[2026-07-15 09:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-15 09:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726363392001,"66":27876,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194731982399801344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 09:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726363392001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:24:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 09:24:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194731982399801344,"description":"Unknown IO ID 45"} 
[2026-07-15 09:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726363392001,"power":27876,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194731982399801344}} 
[2026-07-15 09:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":133234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:24:38] local.INFO: GPS data processed {"connection_id":133234,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:24:38] local.INFO: Acknowledgment sent {"connection_id":133234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:24:39] local.INFO: TCP Data received {"connection_id":133235,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133235,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:24:39] local.INFO: Processing buffer {"connection_id":133235,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:24:39] local.INFO: IMEI packet received {"connection_id":133235,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":133235,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:24:41] local.INFO: TCP Data received {"connection_id":133235,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e824d0012d79fcc005e4f6480006009c2c..."} 
[2026-07-15 09:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e824d0012d79fcc005e4f6480006009c2c..."} 
[2026-07-15 09:24:41] local.INFO: Processing buffer {"connection_id":133235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e824d0012d79fcc005e4f6480006009c2c..."} 
[2026-07-15 09:24:41] local.INFO: Packet analysis {"connection_id":133235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e8"} 
[2026-07-15 09:24:41] local.INFO: Extracted packet for processing {"connection_id":133235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e8"} 
[2026-07-15 09:24:41] local.INFO: GPS Element Parsed {"raw_longitude":762969280,"raw_latitude":98891336,"longitude_deg":76.296928,"latitude_deg":9.8891336,"altitude":6,"angle":156,"satellites":44,"speed":44,"hex_longitude":"2d79fcc0","hex_latitude":"05e4f648","is_valid_coordinates":true} 
[2026-07-15 09:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726420480001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106335826811551744,"note":"Value kept but may cause issues"} 
[2026-07-15 09:24:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788493223154472960,"note":"Value kept but may cause issues"} 
[2026-07-15 09:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784087586000,"timestamp_ms":1784087586000,"timestamp_seconds":1784087586,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e824d0"} 
[2026-07-15 09:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-15 09:24:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:24:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":133235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":133235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":133235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:24:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726420480001,"66":13048,"145":206,"87":12288,"24":44,"16":106335826811551744,"45":8788493223154472960},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-07-15 09:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726420480001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:24:41] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-15 09:24:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-15 09:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106335826811551744,"km_value":106335826811551.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:24:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788493223154472960,"description":"Unknown IO ID 45"} 
[2026-07-15 09:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726420480001,"power":13048,"unknown_145":206,"unknown_87":12288,"ignition":44,"odometer":null,"unknown_45":8788493223154472960}} 
[2026-07-15 09:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":133235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490329,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:24:41] local.INFO: GPS data processed {"connection_id":133235,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:24:41] local.INFO: Acknowledgment sent {"connection_id":133235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:24:43] local.INFO: TCP Data received {"connection_id":133235,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e83470012d7a068005e4e6100006008f2c..."} 
[2026-07-15 09:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e83470012d7a068005e4e6100006008f2c..."} 
[2026-07-15 09:24:43] local.INFO: Processing buffer {"connection_id":133235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e83470012d7a068005e4e6100006008f2c..."} 
[2026-07-15 09:24:43] local.INFO: Packet analysis {"connection_id":133235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e8"} 
[2026-07-15 09:24:43] local.INFO: Extracted packet for processing {"connection_id":133235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e8"} 
[2026-07-15 09:24:43] local.INFO: GPS Element Parsed {"raw_longitude":762971776,"raw_latitude":98887184,"longitude_deg":76.2971776,"latitude_deg":9.8887184,"altitude":6,"angle":143,"satellites":44,"speed":50,"hex_longitude":"2d7a0680","hex_latitude":"05e4e610","is_valid_coordinates":true} 
[2026-07-15 09:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726422016001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106336058739785728,"note":"Value kept but may cause issues"} 
[2026-07-15 09:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8790111704269080576,"note":"Value kept but may cause issues"} 
[2026-07-15 09:24:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784087590000,"timestamp_ms":1784087590000,"timestamp_seconds":1784087590,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e83470"} 
[2026-07-15 09:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:24:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-15 09:24:43] 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-07-15 09:24:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":133235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":133235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":133235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726422016001,"66":13102,"145":206,"87":12288,"24":50,"16":106336058739785728,"45":8790111704269080576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-07-15 09:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726422016001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:24:43] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-15 09:24:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-15 09:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106336058739785728,"km_value":106336058739785.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8790111704269080576,"description":"Unknown IO ID 45"} 
[2026-07-15 09:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726422016001,"power":13102,"unknown_145":206,"unknown_87":12288,"ignition":50,"odometer":null,"unknown_45":8790111704269080576}} 
[2026-07-15 09:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":133235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490330,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:24:43] local.INFO: GPS data processed {"connection_id":133235,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:24:43] local.INFO: Acknowledgment sent {"connection_id":133235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:24:55] local.INFO: TCP Data received {"connection_id":132394,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132394,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:24:55] local.INFO: Processing buffer {"connection_id":132394,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:24:55] local.INFO: IMEI packet received {"connection_id":132394,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 09:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":132394,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:25:07] local.INFO: TCP Data received {"connection_id":132212,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:25:07] local.INFO: Processing buffer {"connection_id":132212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:25:07] local.INFO: IMEI packet received {"connection_id":132212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":132212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:25:07] local.INFO: TCP Data received {"connection_id":132212,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:25:07] local.INFO: Processing buffer {"connection_id":132212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:25:07] local.INFO: IMEI packet received {"connection_id":132212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":132212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:25:17] local.INFO: TCP Data received {"connection_id":132212,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e4d140012d7f9a4005afdd080000011c30..."} 
[2026-07-15 09:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e4d140012d7f9a4005afdd080000011c30..."} 
[2026-07-15 09:25:17] local.INFO: Processing buffer {"connection_id":132212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e4d140012d7f9a4005afdd080000011c30..."} 
[2026-07-15 09:25:17] local.INFO: Packet analysis {"connection_id":132212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e4"} 
[2026-07-15 09:25:17] local.INFO: Extracted packet for processing {"connection_id":132212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e4"} 
[2026-07-15 09:25:17] local.INFO: GPS Element Parsed {"raw_longitude":763337280,"raw_latitude":95411464,"longitude_deg":76.333728,"latitude_deg":9.5411464,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9a40","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-07-15 09:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726363392001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:25:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194731982399801344,"note":"Value kept but may cause issues"} 
[2026-07-15 09:25:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784087368000,"timestamp_ms":1784087368000,"timestamp_seconds":1784087368,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e4d140"} 
[2026-07-15 09:25:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:25:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-15 09:25:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:25:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:25:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:25:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726363392001,"66":27876,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194731982399801344},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 09:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726363392001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:25:17] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 09:25:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:25:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194731982399801344,"description":"Unknown IO ID 45"} 
[2026-07-15 09:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726363392001,"power":27876,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194731982399801344}} 
[2026-07-15 09:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":132212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:25:17] local.INFO: GPS data processed {"connection_id":132212,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:25:17] local.INFO: Acknowledgment sent {"connection_id":132212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:25:19] local.INFO: TCP Data received {"connection_id":132212,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e4d140012d7f9a4005afdd080000011c30..."} 
[2026-07-15 09:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e4d140012d7f9a4005afdd080000011c30..."} 
[2026-07-15 09:25:19] local.INFO: Processing buffer {"connection_id":132212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e4d140012d7f9a4005afdd080000011c30..."} 
[2026-07-15 09:25:19] local.INFO: Packet analysis {"connection_id":132212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e4"} 
[2026-07-15 09:25:19] local.INFO: Extracted packet for processing {"connection_id":132212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e4"} 
[2026-07-15 09:25:19] local.INFO: GPS Element Parsed {"raw_longitude":763337280,"raw_latitude":95411464,"longitude_deg":76.333728,"latitude_deg":9.5411464,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9a40","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-07-15 09:25: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-07-15 09:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726363392001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194731982399801344,"note":"Value kept but may cause issues"} 
[2026-07-15 09:25:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784087368000,"timestamp_ms":1784087368000,"timestamp_seconds":1784087368,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e4d140"} 
[2026-07-15 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-07-15 09:25:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-15 09:25:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 09:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":132212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":132212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":132212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:25:19] 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-07-15 09:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726363392001,"66":27876,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194731982399801344},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 09:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726363392001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:25:19] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 09:25:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194731982399801344,"description":"Unknown IO ID 45"} 
[2026-07-15 09:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726363392001,"power":27876,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194731982399801344}} 
[2026-07-15 09:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":132212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:25:19] local.INFO: GPS data processed {"connection_id":132212,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:25:19] local.INFO: Acknowledgment sent {"connection_id":132212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:25:29] local.INFO: TCP Data received {"connection_id":134592,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134592,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:25:29] local.INFO: Processing buffer {"connection_id":134592,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:25:29] local.INFO: IMEI packet received {"connection_id":134592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 09:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":134592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:25:34] local.INFO: TCP Data received {"connection_id":134592,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134592,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:25:34] local.INFO: Processing buffer {"connection_id":134592,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:25:34] local.INFO: IMEI packet received {"connection_id":134592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":134592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:25:35] local.INFO: TCP Data received {"connection_id":132396,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132396,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:25:35] local.INFO: Processing buffer {"connection_id":132396,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:25:35] local.INFO: IMEI packet received {"connection_id":132396,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 09:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":132396,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:25:36] local.INFO: TCP Data received {"connection_id":134592,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e9bb10012d7ac08005e41f00000d008a2c..."} 
[2026-07-15 09:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e9bb10012d7ac08005e41f00000d008a2c..."} 
[2026-07-15 09:25:36] local.INFO: Processing buffer {"connection_id":134592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e9bb10012d7ac08005e41f00000d008a2c..."} 
[2026-07-15 09:25:36] local.INFO: Packet analysis {"connection_id":134592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e9"} 
[2026-07-15 09:25:36] local.INFO: Extracted packet for processing {"connection_id":134592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e9"} 
[2026-07-15 09:25:36] local.INFO: GPS Element Parsed {"raw_longitude":763019392,"raw_latitude":98836224,"longitude_deg":76.3019392,"latitude_deg":9.8836224,"altitude":13,"angle":138,"satellites":44,"speed":29,"hex_longitude":"2d7ac080","hex_latitude":"05e41f00","is_valid_coordinates":true} 
[2026-07-15 09:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726444544001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106339464648851456,"note":"Value kept but may cause issues"} 
[2026-07-15 09:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837751344064804864,"note":"Value kept but may cause issues"} 
[2026-07-15 09:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784087690000,"timestamp_ms":1784087690000,"timestamp_seconds":1784087690,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e9bb10"} 
[2026-07-15 09:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-15 09:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303158986329421,"note":"Value kept but may cause issues"} 
[2026-07-15 09:25:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 09:25:36] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":23808,"corrected_to":0} 
[2026-07-15 09:25:36] local.WARNING: Large IO value detected {"io_id":201,"raw_value":3808428032,"note":"Value kept but may cause issues"} 
[2026-07-15 09:25:36] local.WARNING: Large IO value detected {"io_id":99,"raw_value":3905734657,"note":"Value kept but may cause issues"} 
[2026-07-15 09:25:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298071758,"corrected_to":0} 
[2026-07-15 09:25:36] local.WARNING: Large IO value detected {"io_id":90,"raw_value":3221611633,"note":"Value kept but may cause issues"} 
[2026-07-15 09:25:36] local.WARNING: Large IO value detected {"io_id":95,"raw_value":58079734643818530,"note":"Value kept but may cause issues"} 
[2026-07-15 09:25:36] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3384016896,"note":"Value kept but may cause issues"} 
[2026-07-15 09:25:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3832637440,"note":"Value kept but may cause issues"} 
[2026-07-15 09:25:36] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,97,85,24,241,157,16,202,159,77,45,64,9,41,10,66,30,101,7,40,201,15,128,1,240,150,227,99,228,4,113,205,87,185,90,104,239,50,95,2,121,5,34],"length":486,"final_offset":616,"validated_count":43,"validation_warnings":[{"io_id":202,"original":23808,"validated":0},{"io_id":205,"original":1298071758,"validated":0}]} 
[2026-07-15 09:25:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504547378974162944,"timestamp_seconds":504547378974162.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 09:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":134592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":134592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":134592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726444544001,"66":12982,"97":206,"85":15104,"24":29,"16":106339464648851456,"45":8837751344064804864},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 09:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726444544001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:25:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 09:25:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106339464648851456,"km_value":106339464648851.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837751344064804864,"description":"Unknown IO ID 45"} 
[2026-07-15 09:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726444544001,"power":12982,"unknown_97":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8837751344064804864}} 
[2026-07-15 09:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":134592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490333,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:25:36] local.INFO: GPS data processed {"connection_id":134592,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:25:36] local.INFO: Acknowledgment sent {"connection_id":134592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:26:06] local.INFO: TCP Data received {"connection_id":132397,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:26:06] local.INFO: Processing buffer {"connection_id":132397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:26:06] local.INFO: IMEI packet received {"connection_id":132397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":132397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:26:07] local.INFO: TCP Data received {"connection_id":134592,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ea0d18012d7accc005e41270000a008d2d..."} 
[2026-07-15 09:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ea0d18012d7accc005e41270000a008d2d..."} 
[2026-07-15 09:26:07] local.INFO: Processing buffer {"connection_id":134592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ea0d18012d7accc005e41270000a008d2d..."} 
[2026-07-15 09:26:07] local.INFO: Packet analysis {"connection_id":134592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ea"} 
[2026-07-15 09:26:07] local.INFO: Extracted packet for processing {"connection_id":134592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ea"} 
[2026-07-15 09:26:07] local.INFO: GPS Element Parsed {"raw_longitude":763022528,"raw_latitude":98833008,"longitude_deg":76.3022528,"latitude_deg":9.8833008,"altitude":10,"angle":141,"satellites":45,"speed":0,"hex_longitude":"2d7accc0","hex_latitude":"05e41270","is_valid_coordinates":true} 
[2026-07-15 09:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726448640001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106339679397216256,"note":"Value kept but may cause issues"} 
[2026-07-15 09:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8845210430946082816,"note":"Value kept but may cause issues"} 
[2026-07-15 09:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784087711000,"timestamp_ms":1784087711000,"timestamp_seconds":1784087711,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ea0d18"} 
[2026-07-15 09:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-15 09:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726448640001,"66":12624,"97":206,"85":15104,"24":0,"16":106339679397216256,"45":8845210430946082816},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 09:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726448640001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:26:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 09:26:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106339679397216256,"km_value":106339679397216.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8845210430946082816,"description":"Unknown IO ID 45"} 
[2026-07-15 09:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726448640001,"power":12624,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8845210430946082816}} 
[2026-07-15 09:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":134592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490334,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:26:07] local.INFO: GPS data processed {"connection_id":134592,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:26:07] local.INFO: Acknowledgment sent {"connection_id":134592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:26:11] local.INFO: TCP Data received {"connection_id":132397,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:26:11] local.INFO: Processing buffer {"connection_id":132397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:26:11] local.INFO: IMEI packet received {"connection_id":132397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":132397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:26:13] local.INFO: TCP Data received {"connection_id":132397,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e97c90012d7f998005afdce00000011c2d..."} 
[2026-07-15 09:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e97c90012d7f998005afdce00000011c2d..."} 
[2026-07-15 09:26:13] local.INFO: Processing buffer {"connection_id":132397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e97c90012d7f998005afdce00000011c2d..."} 
[2026-07-15 09:26:13] local.INFO: Packet analysis {"connection_id":132397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e9"} 
[2026-07-15 09:26:13] local.INFO: Extracted packet for processing {"connection_id":132397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e9"} 
[2026-07-15 09:26:13] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":45,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:26:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726366208001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:26:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:26:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194731982399801344,"note":"Value kept but may cause issues"} 
[2026-07-15 09:26:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:26:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784087674000,"timestamp_ms":1784087674000,"timestamp_seconds":1784087674,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e97c90"} 
[2026-07-15 09:26:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:26:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-15 09:26:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:26:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:26:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:26:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:26:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:26:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:26:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:26:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726366208001,"66":25897,"199":206,"85":12544,"24":0,"16":347094298807762944,"45":9194731982399801344},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 09:26:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:26:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:26:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726366208001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:26:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 09:26:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:26:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:26:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194731982399801344,"description":"Unknown IO ID 45"} 
[2026-07-15 09:26:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726366208001,"power":25897,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194731982399801344}} 
[2026-07-15 09:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":132397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:26:13] local.INFO: GPS data processed {"connection_id":132397,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:26:13] local.INFO: Acknowledgment sent {"connection_id":132397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:26:19] local.INFO: TCP Data received {"connection_id":132397,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e97c90012d7f998005afdce00000011c2d..."} 
[2026-07-15 09:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e97c90012d7f998005afdce00000011c2d..."} 
[2026-07-15 09:26:19] local.INFO: Processing buffer {"connection_id":132397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e97c90012d7f998005afdce00000011c2d..."} 
[2026-07-15 09:26:19] local.INFO: Packet analysis {"connection_id":132397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e9"} 
[2026-07-15 09:26:19] local.INFO: Extracted packet for processing {"connection_id":132397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e9"} 
[2026-07-15 09:26:19] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":45,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726366208001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:26:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194731982399801344,"note":"Value kept but may cause issues"} 
[2026-07-15 09:26:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784087674000,"timestamp_ms":1784087674000,"timestamp_seconds":1784087674,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e97c90"} 
[2026-07-15 09:26:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:26:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-15 09:26:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:26:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":132397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":132397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":132397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:26: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-07-15 09:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726366208001,"66":25897,"199":206,"85":12544,"24":0,"16":347094298807762944,"45":9194731982399801344},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 09:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726366208001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:26:19] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 09:26:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:26:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194731982399801344,"description":"Unknown IO ID 45"} 
[2026-07-15 09:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726366208001,"power":25897,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194731982399801344}} 
[2026-07-15 09:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":132397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:26:19] local.INFO: GPS data processed {"connection_id":132397,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:26:19] local.INFO: Acknowledgment sent {"connection_id":132397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:26:29] local.INFO: TCP Data received {"connection_id":133236,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133236,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:26:29] local.INFO: Processing buffer {"connection_id":133236,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:26:29] local.INFO: IMEI packet received {"connection_id":133236,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 09:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":133236,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:26:29] local.INFO: TCP Data received {"connection_id":133236,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133236,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:26:29] local.INFO: Processing buffer {"connection_id":133236,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:26:29] local.INFO: IMEI packet received {"connection_id":133236,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":133236,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:26:34] local.INFO: TCP Data received {"connection_id":133236,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133236,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:26:34] local.INFO: Processing buffer {"connection_id":133236,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:26:34] local.INFO: IMEI packet received {"connection_id":133236,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":133236,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:26:35] local.INFO: TCP Data received {"connection_id":133236,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ea20a0012d7ace4005e41028000a00992e..."} 
[2026-07-15 09:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ea20a0012d7ace4005e41028000a00992e..."} 
[2026-07-15 09:26:35] local.INFO: Processing buffer {"connection_id":133236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ea20a0012d7ace4005e41028000a00992e..."} 
[2026-07-15 09:26:35] local.INFO: Packet analysis {"connection_id":133236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ea"} 
[2026-07-15 09:26:35] local.INFO: Extracted packet for processing {"connection_id":133236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ea"} 
[2026-07-15 09:26:35] local.INFO: GPS Element Parsed {"raw_longitude":763022912,"raw_latitude":98832424,"longitude_deg":76.3022912,"latitude_deg":9.8832424,"altitude":10,"angle":153,"satellites":46,"speed":11,"hex_longitude":"2d7ace40","hex_latitude":"05e41028","is_valid_coordinates":true} 
[2026-07-15 09:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726454016001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106339718051921920,"note":"Value kept but may cause issues"} 
[2026-07-15 09:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848658499409965056,"note":"Value kept but may cause issues"} 
[2026-07-15 09:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784087716000,"timestamp_ms":1784087716000,"timestamp_seconds":1784087716,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ea20a0"} 
[2026-07-15 09:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 09:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":133236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":133236,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":133236,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726454016001,"66":12950,"97":206,"85":15104,"24":11,"16":106339718051921920,"45":8848658499409965056},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 09:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726454016001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:26:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 09:26:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106339718051921920,"km_value":106339718051921.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848658499409965056,"description":"Unknown IO ID 45"} 
[2026-07-15 09:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726454016001,"power":12950,"unknown_97":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8848658499409965056}} 
[2026-07-15 09:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":133236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490337,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:26:35] local.INFO: GPS data processed {"connection_id":133236,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:26:35] local.INFO: Acknowledgment sent {"connection_id":133236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:27:01] local.INFO: TCP Data received {"connection_id":132398,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:27:01] local.INFO: Processing buffer {"connection_id":132398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:27:01] local.INFO: IMEI packet received {"connection_id":132398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":132398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:27:06] local.INFO: TCP Data received {"connection_id":132398,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:27:06] local.INFO: Processing buffer {"connection_id":132398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:27:06] local.INFO: IMEI packet received {"connection_id":132398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":132398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:27:07] local.INFO: TCP Data received {"connection_id":133236,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ea3428012d7ad0c005e40960000b00a72e..."} 
[2026-07-15 09:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ea3428012d7ad0c005e40960000b00a72e..."} 
[2026-07-15 09:27:07] local.INFO: Processing buffer {"connection_id":133236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ea3428012d7ad0c005e40960000b00a72e..."} 
[2026-07-15 09:27:07] local.INFO: Packet analysis {"connection_id":133236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ea"} 
[2026-07-15 09:27:07] local.INFO: Extracted packet for processing {"connection_id":133236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ea"} 
[2026-07-15 09:27:07] local.INFO: GPS Element Parsed {"raw_longitude":763023552,"raw_latitude":98830688,"longitude_deg":76.3023552,"latitude_deg":9.8830688,"altitude":11,"angle":167,"satellites":46,"speed":19,"hex_longitude":"2d7ad0c0","hex_latitude":"05e40960","is_valid_coordinates":true} 
[2026-07-15 09:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726455296001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106339808246235136,"note":"Value kept but may cause issues"} 
[2026-07-15 09:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849080711874881536,"note":"Value kept but may cause issues"} 
[2026-07-15 09:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784087721000,"timestamp_ms":1784087721000,"timestamp_seconds":1784087721,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ea3428"} 
[2026-07-15 09:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 09:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:27:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133236,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133236,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726455296001,"66":12939,"97":206,"85":15104,"24":19,"16":106339808246235136,"45":8849080711874881536},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 09:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726455296001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:27:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 09:27:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106339808246235136,"km_value":106339808246235.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849080711874881536,"description":"Unknown IO ID 45"} 
[2026-07-15 09:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726455296001,"power":12939,"unknown_97":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8849080711874881536}} 
[2026-07-15 09:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":133236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490338,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:27:07] local.INFO: GPS data processed {"connection_id":133236,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:27:07] local.INFO: Acknowledgment sent {"connection_id":133236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:27:07] local.INFO: TCP Data received {"connection_id":132398,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e97c90012d7f998005afdce00000011c2d..."} 
[2026-07-15 09:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e97c90012d7f998005afdce00000011c2d..."} 
[2026-07-15 09:27:07] local.INFO: Processing buffer {"connection_id":132398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e97c90012d7f998005afdce00000011c2d..."} 
[2026-07-15 09:27:07] local.INFO: Packet analysis {"connection_id":132398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e9"} 
[2026-07-15 09:27:07] local.INFO: Extracted packet for processing {"connection_id":132398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e9"} 
[2026-07-15 09:27:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":45,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726366208001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194731982399801344,"note":"Value kept but may cause issues"} 
[2026-07-15 09:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784087674000,"timestamp_ms":1784087674000,"timestamp_seconds":1784087674,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e97c90"} 
[2026-07-15 09:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-15 09:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:27:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726366208001,"66":25897,"199":206,"85":12544,"24":0,"16":347094298807762944,"45":9194731982399801344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 09:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726366208001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:27:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 09:27:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194731982399801344,"description":"Unknown IO ID 45"} 
[2026-07-15 09:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726366208001,"power":25897,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194731982399801344}} 
[2026-07-15 09:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":132398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:27:07] local.INFO: GPS data processed {"connection_id":132398,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:27:07] local.INFO: Acknowledgment sent {"connection_id":132398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:27:29] local.INFO: TCP Data received {"connection_id":133239,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133239,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:27:29] local.INFO: Processing buffer {"connection_id":133239,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:27:29] local.INFO: IMEI packet received {"connection_id":133239,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 09:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":133239,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:27:31] local.INFO: TCP Data received {"connection_id":133239,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133239,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:27:31] local.INFO: Processing buffer {"connection_id":133239,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:27:31] local.INFO: IMEI packet received {"connection_id":133239,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":133239,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:27:35] local.INFO: TCP Data received {"connection_id":133239,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133239,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:27:35] local.INFO: Processing buffer {"connection_id":133239,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:27:35] local.INFO: IMEI packet received {"connection_id":133239,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":133239,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:27:35] local.INFO: TCP Data received {"connection_id":133239,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ea7690012d7ad88005e3e5e0000c00a42d..."} 
[2026-07-15 09:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ea7690012d7ad88005e3e5e0000c00a42d..."} 
[2026-07-15 09:27:35] local.INFO: Processing buffer {"connection_id":133239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ea7690012d7ad88005e3e5e0000c00a42d..."} 
[2026-07-15 09:27:35] local.INFO: Packet analysis {"connection_id":133239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ea"} 
[2026-07-15 09:27:35] local.INFO: Extracted packet for processing {"connection_id":133239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ea"} 
[2026-07-15 09:27:35] local.INFO: GPS Element Parsed {"raw_longitude":763025536,"raw_latitude":98821600,"longitude_deg":76.3025536,"latitude_deg":9.88216,"altitude":12,"angle":164,"satellites":45,"speed":20,"hex_longitude":"2d7ad880","hex_latitude":"05e3e5e0","is_valid_coordinates":true} 
[2026-07-15 09:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726456576001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106340259217801216,"note":"Value kept but may cause issues"} 
[2026-07-15 09:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849784399316213760,"note":"Value kept but may cause issues"} 
[2026-07-15 09:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784087738000,"timestamp_ms":1784087738000,"timestamp_seconds":1784087738,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ea7690"} 
[2026-07-15 09:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 09:27:35] 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-07-15 09:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":133239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":133239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":133239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726456576001,"66":13091,"97":206,"85":15104,"24":20,"16":106340259217801216,"45":8849784399316213760},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 09:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726456576001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:27:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 09:27:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106340259217801216,"km_value":106340259217801.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849784399316213760,"description":"Unknown IO ID 45"} 
[2026-07-15 09:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726456576001,"power":13091,"unknown_97":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8849784399316213760}} 
[2026-07-15 09:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":133239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490340,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:27:36] local.INFO: GPS data processed {"connection_id":133239,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:27:36] local.INFO: Acknowledgment sent {"connection_id":133239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:27:39] local.INFO: TCP Data received {"connection_id":132398,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e97c90012d7f998005afdce00000011c2d..."} 
[2026-07-15 09:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e97c90012d7f998005afdce00000011c2d..."} 
[2026-07-15 09:27:39] local.INFO: Processing buffer {"connection_id":132398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e97c90012d7f998005afdce00000011c2d..."} 
[2026-07-15 09:27:39] local.INFO: Packet analysis {"connection_id":132398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e9"} 
[2026-07-15 09:27:39] local.INFO: Extracted packet for processing {"connection_id":132398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e9"} 
[2026-07-15 09:27:39] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":45,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726366208001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194731982399801344,"note":"Value kept but may cause issues"} 
[2026-07-15 09:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784087674000,"timestamp_ms":1784087674000,"timestamp_seconds":1784087674,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e97c90"} 
[2026-07-15 09:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-15 09:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:27: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-07-15 09:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726366208001,"66":25897,"199":206,"85":12544,"24":0,"16":347094298807762944,"45":9194731982399801344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 09:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726366208001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:27:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 09:27:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194731982399801344,"description":"Unknown IO ID 45"} 
[2026-07-15 09:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726366208001,"power":25897,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194731982399801344}} 
[2026-07-15 09:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":132398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:27:39] local.INFO: GPS data processed {"connection_id":132398,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:27:39] local.INFO: Acknowledgment sent {"connection_id":132398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:28:01] local.INFO: TCP Data received {"connection_id":132214,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:28:01] local.INFO: Processing buffer {"connection_id":132214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:28:01] local.INFO: IMEI packet received {"connection_id":132214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":132214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:28:06] local.INFO: TCP Data received {"connection_id":132214,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:28:06] local.INFO: Processing buffer {"connection_id":132214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:28:06] local.INFO: IMEI packet received {"connection_id":132214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":132214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:28:07] local.INFO: TCP Data received {"connection_id":133239,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63eab128012d7ae24005e3c248000b00a428..."} 
[2026-07-15 09:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63eab128012d7ae24005e3c248000b00a428..."} 
[2026-07-15 09:28:07] local.INFO: Processing buffer {"connection_id":133239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63eab128012d7ae24005e3c248000b00a428..."} 
[2026-07-15 09:28:07] local.INFO: Packet analysis {"connection_id":133239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ea"} 
[2026-07-15 09:28:07] local.INFO: Extracted packet for processing {"connection_id":133239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ea"} 
[2026-07-15 09:28:07] local.INFO: GPS Element Parsed {"raw_longitude":763028032,"raw_latitude":98812488,"longitude_deg":76.3028032,"latitude_deg":9.8812488,"altitude":11,"angle":164,"satellites":40,"speed":31,"hex_longitude":"2d7ae240","hex_latitude":"05e3c248","is_valid_coordinates":true} 
[2026-07-15 09:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726460928001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106340714484334592,"note":"Value kept but may cause issues"} 
[2026-07-15 09:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851965830383394816,"note":"Value kept but may cause issues"} 
[2026-07-15 09:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784087753000,"timestamp_ms":1784087753000,"timestamp_seconds":1784087753,"priority":1,"record_length":96,"hex_timestamp":"0000019f63eab128"} 
[2026-07-15 09:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-15 09:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726460928001,"66":13102,"97":206,"85":15104,"24":31,"16":106340714484334592,"45":8851965830383394816},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 09:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726460928001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:28:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 09:28:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106340714484334592,"km_value":106340714484334.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851965830383394816,"description":"Unknown IO ID 45"} 
[2026-07-15 09:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726460928001,"power":13102,"unknown_97":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8851965830383394816}} 
[2026-07-15 09:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":133239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490342,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:28:07] local.INFO: GPS data processed {"connection_id":133239,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:28:07] local.INFO: Acknowledgment sent {"connection_id":133239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:28:07] local.INFO: TCP Data received {"connection_id":132214,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e97c90012d7f998005afdce00000011c2d..."} 
[2026-07-15 09:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e97c90012d7f998005afdce00000011c2d..."} 
[2026-07-15 09:28:07] local.INFO: Processing buffer {"connection_id":132214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e97c90012d7f998005afdce00000011c2d..."} 
[2026-07-15 09:28:07] local.INFO: Packet analysis {"connection_id":132214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e9"} 
[2026-07-15 09:28:07] local.INFO: Extracted packet for processing {"connection_id":132214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e9"} 
[2026-07-15 09:28:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":45,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726366208001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194731982399801344,"note":"Value kept but may cause issues"} 
[2026-07-15 09:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784087674000,"timestamp_ms":1784087674000,"timestamp_seconds":1784087674,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e97c90"} 
[2026-07-15 09:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-15 09:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:28:07] 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-07-15 09:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726366208001,"66":25897,"199":206,"85":12544,"24":0,"16":347094298807762944,"45":9194731982399801344},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 09:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726366208001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:28:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 09:28:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194731982399801344,"description":"Unknown IO ID 45"} 
[2026-07-15 09:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726366208001,"power":25897,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194731982399801344}} 
[2026-07-15 09:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":132214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:28:07] local.INFO: GPS data processed {"connection_id":132214,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:28:07] local.INFO: Acknowledgment sent {"connection_id":132214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:28:29] local.INFO: TCP Data received {"connection_id":132215,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132215,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:28:29] local.INFO: Processing buffer {"connection_id":132215,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:28:29] local.INFO: IMEI packet received {"connection_id":132215,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 09:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":132215,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:28:30] local.INFO: TCP Data received {"connection_id":132215,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132215,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:28:30] local.INFO: Processing buffer {"connection_id":132215,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:28:30] local.INFO: IMEI packet received {"connection_id":132215,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":132215,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:28:34] local.INFO: TCP Data received {"connection_id":132215,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132215,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:28:34] local.INFO: Processing buffer {"connection_id":132215,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:28:34] local.INFO: IMEI packet received {"connection_id":132215,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":132215,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:28:35] local.INFO: TCP Data received {"connection_id":132215,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ec9d58012d7b220005e2a740000c00ab1f..."} 
[2026-07-15 09:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ec9d58012d7b220005e2a740000c00ab1f..."} 
[2026-07-15 09:28:35] local.INFO: Processing buffer {"connection_id":132215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ec9d58012d7b220005e2a740000c00ab1f..."} 
[2026-07-15 09:28:35] local.INFO: Packet analysis {"connection_id":132215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ec"} 
[2026-07-15 09:28:35] local.INFO: Extracted packet for processing {"connection_id":132215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ec"} 
[2026-07-15 09:28:35] local.INFO: GPS Element Parsed {"raw_longitude":763044352,"raw_latitude":98740032,"longitude_deg":76.3044352,"latitude_deg":9.8740032,"altitude":12,"angle":171,"satellites":31,"speed":46,"hex_longitude":"2d7b2200","hex_latitude":"05e2a740","is_valid_coordinates":true} 
[2026-07-15 09:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726494976001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106344348026667008,"note":"Value kept but may cause issues"} 
[2026-07-15 09:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8871457972502095872,"note":"Value kept but may cause issues"} 
[2026-07-15 09:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784087879000,"timestamp_ms":1784087879000,"timestamp_seconds":1784087879,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ec9d58"} 
[2026-07-15 09:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-07-15 09:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132215,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132215,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726494976001,"66":12798,"97":206,"85":15104,"24":46,"16":106344348026667008,"45":8871457972502095872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 09:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726494976001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:28:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 09:28:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106344348026667008,"km_value":106344348026667.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8871457972502095872,"description":"Unknown IO ID 45"} 
[2026-07-15 09:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726494976001,"power":12798,"unknown_97":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8871457972502095872}} 
[2026-07-15 09:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":132215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490344,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:28:35] local.INFO: GPS data processed {"connection_id":132215,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:28:35] local.INFO: Acknowledgment sent {"connection_id":132215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:28:38] local.INFO: TCP Data received {"connection_id":132214,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e97c90012d7f998005afdce00000011c2d..."} 
[2026-07-15 09:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e97c90012d7f998005afdce00000011c2d..."} 
[2026-07-15 09:28:38] local.INFO: Processing buffer {"connection_id":132214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e97c90012d7f998005afdce00000011c2d..."} 
[2026-07-15 09:28:38] local.INFO: Packet analysis {"connection_id":132214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e9"} 
[2026-07-15 09:28:38] local.INFO: Extracted packet for processing {"connection_id":132214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e9"} 
[2026-07-15 09:28:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":45,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726366208001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194731982399801344,"note":"Value kept but may cause issues"} 
[2026-07-15 09:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784087674000,"timestamp_ms":1784087674000,"timestamp_seconds":1784087674,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e97c90"} 
[2026-07-15 09:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-15 09:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726366208001,"66":25897,"199":206,"85":12544,"24":0,"16":347094298807762944,"45":9194731982399801344},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 09:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726366208001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:28:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 09:28:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194731982399801344,"description":"Unknown IO ID 45"} 
[2026-07-15 09:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726366208001,"power":25897,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194731982399801344}} 
[2026-07-15 09:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":132214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:28:38] local.INFO: GPS data processed {"connection_id":132214,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:28:38] local.INFO: Acknowledgment sent {"connection_id":132214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:29:02] local.INFO: TCP Data received {"connection_id":132400,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:29:02] local.INFO: Processing buffer {"connection_id":132400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:29:02] local.INFO: IMEI packet received {"connection_id":132400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":132400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:29:04] local.INFO: TCP Data received {"connection_id":132401,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132401,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:29:04] local.INFO: Processing buffer {"connection_id":132401,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:29:04] local.INFO: IMEI packet received {"connection_id":132401,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 09:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":132401,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:29:06] local.INFO: TCP Data received {"connection_id":132401,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132401,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:29:06] local.INFO: Processing buffer {"connection_id":132401,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:29:06] local.INFO: IMEI packet received {"connection_id":132401,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":132401,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:29:06] local.INFO: TCP Data received {"connection_id":132215,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ecc080012d7b26c005e28418000c00ac23..."} 
[2026-07-15 09:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ecc080012d7b26c005e28418000c00ac23..."} 
[2026-07-15 09:29:06] local.INFO: Processing buffer {"connection_id":132215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ecc080012d7b26c005e28418000c00ac23..."} 
[2026-07-15 09:29:06] local.INFO: Packet analysis {"connection_id":132215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ec"} 
[2026-07-15 09:29:06] local.INFO: Extracted packet for processing {"connection_id":132215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ec"} 
[2026-07-15 09:29:06] local.INFO: GPS Element Parsed {"raw_longitude":763045568,"raw_latitude":98731032,"longitude_deg":76.3045568,"latitude_deg":9.8731032,"altitude":12,"angle":172,"satellites":35,"speed":37,"hex_longitude":"2d7b26c0","hex_latitude":"05e28418","is_valid_coordinates":true} 
[2026-07-15 09:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726497024001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106344790408298496,"note":"Value kept but may cause issues"} 
[2026-07-15 09:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872654241150746624,"note":"Value kept but may cause issues"} 
[2026-07-15 09:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784087888000,"timestamp_ms":1784087888000,"timestamp_seconds":1784087888,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ecc080"} 
[2026-07-15 09:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-15 09:29:06] 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-07-15 09:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132215,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132215,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726497024001,"66":13048,"96":206,"85":15104,"24":37,"16":106344790408298496,"45":8872654241150746624},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-15 09:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726497024001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:29:06] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-15 09:29:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106344790408298496,"km_value":106344790408298.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872654241150746624,"description":"Unknown IO ID 45"} 
[2026-07-15 09:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726497024001,"power":13048,"unknown_96":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8872654241150746624}} 
[2026-07-15 09:29:06] local.INFO: TCP Data received {"connection_id":132400,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":132215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490346,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:29:06] local.INFO: GPS data processed {"connection_id":132215,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:29:06] local.INFO: Acknowledgment sent {"connection_id":132215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:29:06] local.INFO: Processing buffer {"connection_id":132400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:29:06] local.INFO: IMEI packet received {"connection_id":132400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":132400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:29:07] local.INFO: TCP Data received {"connection_id":132400,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e97c90012d7f998005afdce00000011c2d..."} 
[2026-07-15 09:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e97c90012d7f998005afdce00000011c2d..."} 
[2026-07-15 09:29:07] local.INFO: Processing buffer {"connection_id":132400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e97c90012d7f998005afdce00000011c2d..."} 
[2026-07-15 09:29:07] local.INFO: Packet analysis {"connection_id":132400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e9"} 
[2026-07-15 09:29:07] local.INFO: Extracted packet for processing {"connection_id":132400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e9"} 
[2026-07-15 09:29:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":45,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726366208001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194731982399801344,"note":"Value kept but may cause issues"} 
[2026-07-15 09:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784087674000,"timestamp_ms":1784087674000,"timestamp_seconds":1784087674,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e97c90"} 
[2026-07-15 09:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-15 09:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:29:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726366208001,"66":25897,"199":206,"85":12544,"24":0,"16":347094298807762944,"45":9194731982399801344},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 09:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726366208001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:29:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 09:29:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194731982399801344,"description":"Unknown IO ID 45"} 
[2026-07-15 09:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726366208001,"power":25897,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194731982399801344}} 
[2026-07-15 09:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":132400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:29:07] local.INFO: GPS data processed {"connection_id":132400,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:29:07] local.INFO: Acknowledgment sent {"connection_id":132400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:29:09] local.INFO: TCP Data received {"connection_id":132401,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132401,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:29:09] local.INFO: Processing buffer {"connection_id":132401,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:29:09] local.INFO: IMEI packet received {"connection_id":132401,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":132401,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:29:10] local.INFO: TCP Data received {"connection_id":132401,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ecfb18012d0c2dc0070628c80018004821..."} 
[2026-07-15 09:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ecfb18012d0c2dc0070628c80018004821..."} 
[2026-07-15 09:29:10] local.INFO: Processing buffer {"connection_id":132401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ecfb18012d0c2dc0070628c80018004821..."} 
[2026-07-15 09:29:10] local.INFO: Packet analysis {"connection_id":132401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ec"} 
[2026-07-15 09:29:10] local.INFO: Extracted packet for processing {"connection_id":132401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ec"} 
[2026-07-15 09:29:10] local.INFO: GPS Element Parsed {"raw_longitude":755772864,"raw_latitude":117844168,"longitude_deg":75.5772864,"latitude_deg":11.7844168,"altitude":24,"angle":72,"satellites":33,"speed":9,"hex_longitude":"2d0c2dc0","hex_latitude":"070628c8","is_valid_coordinates":true} 
[2026-07-15 09:29: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-07-15 09:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726502656001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24617240712183808,"note":"Value kept but may cause issues"} 
[2026-07-15 09:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":877216795086809088,"note":"Value kept but may cause issues"} 
[2026-07-15 09:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784087903000,"timestamp_ms":1784087903000,"timestamp_seconds":1784087903,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ecfb18"} 
[2026-07-15 09:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-15 09:29:10] 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-07-15 09:29: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-07-15 09:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":132401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":132401,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":132401,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726502656001,"66":14450,"164":206,"94":10240,"24":9,"16":24617240712183808,"45":877216795086809088},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-07-15 09:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726502656001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:29:10] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-15 09:29:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24617240712183808,"km_value":24617240712183.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":877216795086809088,"description":"Unknown IO ID 45"} 
[2026-07-15 09:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726502656001,"power":14450,"unknown_164":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":877216795086809088}} 
[2026-07-15 09:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":132401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490348,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:29:10] local.INFO: GPS data processed {"connection_id":132401,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:29:10] local.INFO: Acknowledgment sent {"connection_id":132401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:29:29] local.INFO: TCP Data received {"connection_id":133241,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133241,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:29:29] local.INFO: Processing buffer {"connection_id":133241,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:29:29] local.INFO: IMEI packet received {"connection_id":133241,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 09:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":133241,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:29:31] local.INFO: TCP Data received {"connection_id":133241,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133241,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:29:31] local.INFO: Processing buffer {"connection_id":133241,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:29:31] local.INFO: IMEI packet received {"connection_id":133241,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":133241,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:29:34] local.INFO: TCP Data received {"connection_id":133241,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133241,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:29:34] local.INFO: Processing buffer {"connection_id":133241,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:29:34] local.INFO: IMEI packet received {"connection_id":133241,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":133241,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:29:35] local.INFO: TCP Data received {"connection_id":133241,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63eceb78012d7b2cc005e26018000a00aa25..."} 
[2026-07-15 09:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63eceb78012d7b2cc005e26018000a00aa25..."} 
[2026-07-15 09:29:35] local.INFO: Processing buffer {"connection_id":133241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63eceb78012d7b2cc005e26018000a00aa25..."} 
[2026-07-15 09:29:35] local.INFO: Packet analysis {"connection_id":133241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ec"} 
[2026-07-15 09:29:35] local.INFO: Extracted packet for processing {"connection_id":133241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ec"} 
[2026-07-15 09:29:35] local.INFO: GPS Element Parsed {"raw_longitude":763047104,"raw_latitude":98721816,"longitude_deg":76.3047104,"latitude_deg":9.8721816,"altitude":10,"angle":170,"satellites":37,"speed":34,"hex_longitude":"2d7b2cc0","hex_latitude":"05e26018","is_valid_coordinates":true} 
[2026-07-15 09:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726499328001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106345241379864576,"note":"Value kept but may cause issues"} 
[2026-07-15 09:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873991247287818240,"note":"Value kept but may cause issues"} 
[2026-07-15 09:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784087899000,"timestamp_ms":1784087899000,"timestamp_seconds":1784087899,"priority":1,"record_length":96,"hex_timestamp":"0000019f63eceb78"} 
[2026-07-15 09:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-15 09:29:35] 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-07-15 09:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":133241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":133241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":133241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726499328001,"66":13200,"96":206,"85":15104,"24":34,"16":106345241379864576,"45":8873991247287818240},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-15 09:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726499328001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:29:35] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-15 09:29:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106345241379864576,"km_value":106345241379864.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873991247287818240,"description":"Unknown IO ID 45"} 
[2026-07-15 09:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726499328001,"power":13200,"unknown_96":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8873991247287818240}} 
[2026-07-15 09:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":133241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490349,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:29:35] local.INFO: GPS data processed {"connection_id":133241,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:29:35] local.INFO: Acknowledgment sent {"connection_id":133241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:29:38] local.INFO: TCP Data received {"connection_id":132400,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e97c90012d7f998005afdce00000011c2d..."} 
[2026-07-15 09:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e97c90012d7f998005afdce00000011c2d..."} 
[2026-07-15 09:29:38] local.INFO: Processing buffer {"connection_id":132400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e97c90012d7f998005afdce00000011c2d..."} 
[2026-07-15 09:29:38] local.INFO: Packet analysis {"connection_id":132400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e9"} 
[2026-07-15 09:29:38] local.INFO: Extracted packet for processing {"connection_id":132400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e9"} 
[2026-07-15 09:29:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":45,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726366208001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194731982399801344,"note":"Value kept but may cause issues"} 
[2026-07-15 09:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784087674000,"timestamp_ms":1784087674000,"timestamp_seconds":1784087674,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e97c90"} 
[2026-07-15 09:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-15 09:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726366208001,"66":25897,"199":206,"85":12544,"24":0,"16":347094298807762944,"45":9194731982399801344},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 09:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726366208001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:29:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 09:29:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194731982399801344,"description":"Unknown IO ID 45"} 
[2026-07-15 09:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726366208001,"power":25897,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194731982399801344}} 
[2026-07-15 09:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":132400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:29:38] local.INFO: GPS data processed {"connection_id":132400,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:29:38] local.INFO: Acknowledgment sent {"connection_id":132400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:29:44] local.INFO: TCP Data received {"connection_id":134594,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134594,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:29:44] local.INFO: Processing buffer {"connection_id":134594,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:29:44] local.INFO: IMEI packet received {"connection_id":134594,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 09:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":134594,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:29:50] local.INFO: TCP Data received {"connection_id":134594,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134594,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:29:50] local.INFO: Processing buffer {"connection_id":134594,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:29:50] local.INFO: IMEI packet received {"connection_id":134594,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":134594,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:29:50] local.INFO: TCP Data received {"connection_id":134594,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ed1e40012d0c3c4007062e100017002d22..."} 
[2026-07-15 09:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ed1e40012d0c3c4007062e100017002d22..."} 
[2026-07-15 09:29:50] local.INFO: Processing buffer {"connection_id":134594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ed1e40012d0c3c4007062e100017002d22..."} 
[2026-07-15 09:29:50] local.INFO: Packet analysis {"connection_id":134594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ed"} 
[2026-07-15 09:29:50] local.INFO: Extracted packet for processing {"connection_id":134594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ed"} 
[2026-07-15 09:29:50] local.INFO: GPS Element Parsed {"raw_longitude":755776576,"raw_latitude":117845520,"longitude_deg":75.5776576,"latitude_deg":11.784552,"altitude":23,"angle":45,"satellites":34,"speed":12,"hex_longitude":"2d0c3c40","hex_latitude":"07062e10","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726503168001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24617429690744832,"note":"Value kept but may cause issues"} 
[2026-07-15 09:29:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":877568638807754752,"note":"Value kept but may cause issues"} 
[2026-07-15 09:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784087912000,"timestamp_ms":1784087912000,"timestamp_seconds":1784087912,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ed1e40"} 
[2026-07-15 09:29:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:29:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-15 09:29:50] 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-07-15 09: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-07-15 09:29:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":134594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":134594,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":134594,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726503168001,"66":14407,"164":206,"94":10240,"24":12,"16":24617429690744832,"45":877568638807754752},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-07-15 09:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726503168001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:29:50] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-15 09:29:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24617429690744832,"km_value":24617429690744.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:29:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":877568638807754752,"description":"Unknown IO ID 45"} 
[2026-07-15 09:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726503168001,"power":14407,"unknown_164":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":877568638807754752}} 
[2026-07-15 09:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":134594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490351,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:29:50] local.INFO: GPS data processed {"connection_id":134594,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:29:50] local.INFO: Acknowledgment sent {"connection_id":134594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:30:01] local.INFO: TCP Data received {"connection_id":132402,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:30:01] local.INFO: Processing buffer {"connection_id":132402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:30:01] local.INFO: IMEI packet received {"connection_id":132402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":132402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:30:06] local.INFO: TCP Data received {"connection_id":133241,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ed1288012d7b318005e23a10000a00ad21..."} 
[2026-07-15 09:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ed1288012d7b318005e23a10000a00ad21..."} 
[2026-07-15 09:30:06] local.INFO: Processing buffer {"connection_id":133241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ed1288012d7b318005e23a10000a00ad21..."} 
[2026-07-15 09:30:06] local.INFO: Packet analysis {"connection_id":133241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ed"} 
[2026-07-15 09:30:06] local.INFO: Extracted packet for processing {"connection_id":133241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ed"} 
[2026-07-15 09:30:06] local.INFO: GPS Element Parsed {"raw_longitude":763048320,"raw_latitude":98712080,"longitude_deg":76.304832,"latitude_deg":9.871208,"altitude":10,"angle":173,"satellites":33,"speed":43,"hex_longitude":"2d7b3180","hex_latitude":"05e23a10","is_valid_coordinates":true} 
[2026-07-15 09:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726502144001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106345718121234432,"note":"Value kept but may cause issues"} 
[2026-07-15 09:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875680097145722880,"note":"Value kept but may cause issues"} 
[2026-07-15 09:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784087909000,"timestamp_ms":1784087909000,"timestamp_seconds":1784087909,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ed1288"} 
[2026-07-15 09:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-07-15 09:30:06] 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-07-15 09:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726502144001,"66":13048,"96":206,"85":15104,"24":43,"16":106345718121234432,"45":8875680097145722880},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-15 09:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726502144001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:30:06] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-15 09:30:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106345718121234432,"km_value":106345718121234.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875680097145722880,"description":"Unknown IO ID 45"} 
[2026-07-15 09:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726502144001,"power":13048,"unknown_96":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8875680097145722880}} 
[2026-07-15 09:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":133241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490352,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:30:06] local.INFO: GPS data processed {"connection_id":133241,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:30:06] local.INFO: Acknowledgment sent {"connection_id":133241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:30:06] local.INFO: TCP Data received {"connection_id":132402,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:30:06] local.INFO: Processing buffer {"connection_id":132402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:30:06] local.INFO: IMEI packet received {"connection_id":132402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":132402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:30:07] local.INFO: TCP Data received {"connection_id":132402,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e97c90012d7f998005afdce00000011c2d..."} 
[2026-07-15 09:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e97c90012d7f998005afdce00000011c2d..."} 
[2026-07-15 09:30:07] local.INFO: Processing buffer {"connection_id":132402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e97c90012d7f998005afdce00000011c2d..."} 
[2026-07-15 09:30:07] local.INFO: Packet analysis {"connection_id":132402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e9"} 
[2026-07-15 09:30:07] local.INFO: Extracted packet for processing {"connection_id":132402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e9"} 
[2026-07-15 09:30:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":45,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726366208001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194731982399801344,"note":"Value kept but may cause issues"} 
[2026-07-15 09:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784087674000,"timestamp_ms":1784087674000,"timestamp_seconds":1784087674,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e97c90"} 
[2026-07-15 09:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-15 09:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726366208001,"66":25897,"199":206,"85":12544,"24":0,"16":347094298807762944,"45":9194731982399801344},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 09:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726366208001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:30:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 09:30:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194731982399801344,"description":"Unknown IO ID 45"} 
[2026-07-15 09:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726366208001,"power":25897,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194731982399801344}} 
[2026-07-15 09:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":132402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:30:07] local.INFO: GPS data processed {"connection_id":132402,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:30:07] local.INFO: Acknowledgment sent {"connection_id":132402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:30:31] local.INFO: TCP Data received {"connection_id":134595,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134595,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:30:31] local.INFO: Processing buffer {"connection_id":134595,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:30:31] local.INFO: IMEI packet received {"connection_id":134595,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 09:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":134595,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:30:34] local.INFO: TCP Data received {"connection_id":134595,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134595,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:30:34] local.INFO: Processing buffer {"connection_id":134595,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:30:34] local.INFO: IMEI packet received {"connection_id":134595,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":134595,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:30:35] local.INFO: TCP Data received {"connection_id":134596,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134596,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:30:35] local.INFO: Processing buffer {"connection_id":134596,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:30:35] local.INFO: IMEI packet received {"connection_id":134596,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 09:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":134596,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:30:38] local.INFO: TCP Data received {"connection_id":134596,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134596,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:30:38] local.INFO: Processing buffer {"connection_id":134596,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:30:38] local.INFO: IMEI packet received {"connection_id":134596,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":134596,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:30:38] local.INFO: TCP Data received {"connection_id":132402,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ee1458012d7f998005afdce00000011c30..."} 
[2026-07-15 09:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ee1458012d7f998005afdce00000011c30..."} 
[2026-07-15 09:30:38] local.INFO: Processing buffer {"connection_id":132402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ee1458012d7f998005afdce00000011c30..."} 
[2026-07-15 09:30:38] local.INFO: Packet analysis {"connection_id":132402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ee"} 
[2026-07-15 09:30:38] local.INFO: Extracted packet for processing {"connection_id":132402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ee"} 
[2026-07-15 09:30:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726444544001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784087975000,"timestamp_ms":1784087975000,"timestamp_seconds":1784087975,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ee1458"} 
[2026-07-15 09:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-15 09:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726444544001,"66":25843,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726444544001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:30:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:30:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726444544001,"power":25843,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":132402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:30:38] local.INFO: GPS data processed {"connection_id":132402,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:30:38] local.INFO: Acknowledgment sent {"connection_id":132402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:30:38] local.INFO: TCP Data received {"connection_id":134596,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ee4720012d0c7380070617d80016008621..."} 
[2026-07-15 09:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ee4720012d0c7380070617d80016008621..."} 
[2026-07-15 09:30:38] local.INFO: Processing buffer {"connection_id":134596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ee4720012d0c7380070617d80016008621..."} 
[2026-07-15 09:30:38] local.INFO: Packet analysis {"connection_id":134596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ee"} 
[2026-07-15 09:30:38] local.INFO: Extracted packet for processing {"connection_id":134596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ee"} 
[2026-07-15 09:30:38] local.INFO: GPS Element Parsed {"raw_longitude":755790720,"raw_latitude":117839832,"longitude_deg":75.579072,"latitude_deg":11.7839832,"altitude":22,"angle":134,"satellites":33,"speed":14,"hex_longitude":"2d0c7380","hex_latitude":"070617d8","is_valid_coordinates":true} 
[2026-07-15 09:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726524928001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24618619396685824,"note":"Value kept but may cause issues"} 
[2026-07-15 09:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897201518432212992,"note":"Value kept but may cause issues"} 
[2026-07-15 09:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784087988000,"timestamp_ms":1784087988000,"timestamp_seconds":1784087988,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ee4720"} 
[2026-07-15 09:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-07-15 09:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134596,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134596,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726524928001,"66":14580,"220":206,"94":10240,"24":14,"16":24618619396685824,"45":897201518432212992},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-07-15 09:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726524928001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:30:38] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-15 09:30:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24618619396685824,"km_value":24618619396685.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":897201518432212992,"description":"Unknown IO ID 45"} 
[2026-07-15 09:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726524928001,"power":14580,"unknown_220":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":897201518432212992}} 
[2026-07-15 09:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":134596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490355,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:30:38] local.INFO: GPS data processed {"connection_id":134596,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:30:38] local.INFO: Acknowledgment sent {"connection_id":134596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:30:40] local.INFO: TCP Data received {"connection_id":134596,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ee81b8012d0c8380070608f80016007421..."} 
[2026-07-15 09:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ee81b8012d0c8380070608f80016007421..."} 
[2026-07-15 09:30:40] local.INFO: Processing buffer {"connection_id":134596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ee81b8012d0c8380070608f80016007421..."} 
[2026-07-15 09:30:40] local.INFO: Packet analysis {"connection_id":134596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ee"} 
[2026-07-15 09:30:40] local.INFO: Extracted packet for processing {"connection_id":134596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ee"} 
[2026-07-15 09:30:40] local.INFO: GPS Element Parsed {"raw_longitude":755794816,"raw_latitude":117836024,"longitude_deg":75.5794816,"latitude_deg":11.7836024,"altitude":22,"angle":116,"satellites":33,"speed":12,"hex_longitude":"2d0c8380","hex_latitude":"070608f8","is_valid_coordinates":true} 
[2026-07-15 09:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726524928001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24618885684658176,"note":"Value kept but may cause issues"} 
[2026-07-15 09:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897201518432212992,"note":"Value kept but may cause issues"} 
[2026-07-15 09:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784088003000,"timestamp_ms":1784088003000,"timestamp_seconds":1784088003,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ee81b8"} 
[2026-07-15 09:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-07-15 09:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":134596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":134596,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":134596,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726524928001,"66":14363,"220":206,"94":10240,"24":12,"16":24618885684658176,"45":897201518432212992},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-07-15 09:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726524928001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:30:40] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-15 09:30:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24618885684658176,"km_value":24618885684658.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":897201518432212992,"description":"Unknown IO ID 45"} 
[2026-07-15 09:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726524928001,"power":14363,"unknown_220":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":897201518432212992}} 
[2026-07-15 09:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":134596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490356,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:30:40] local.INFO: GPS data processed {"connection_id":134596,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:30:40] local.INFO: Acknowledgment sent {"connection_id":134596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:30:40] local.INFO: TCP Data received {"connection_id":134595,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134595,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:30:40] local.INFO: Processing buffer {"connection_id":134595,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:30:40] local.INFO: IMEI packet received {"connection_id":134595,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":134595,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:30:40] local.INFO: TCP Data received {"connection_id":134595,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ee8d70012d7b6ac005e0a230000400a920..."} 
[2026-07-15 09:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ee8d70012d7b6ac005e0a230000400a920..."} 
[2026-07-15 09:30:40] local.INFO: Processing buffer {"connection_id":134595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ee8d70012d7b6ac005e0a230000400a920..."} 
[2026-07-15 09:30:40] local.INFO: Packet analysis {"connection_id":134595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ee"} 
[2026-07-15 09:30:40] local.INFO: Extracted packet for processing {"connection_id":134595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ee"} 
[2026-07-15 09:30:40] local.INFO: GPS Element Parsed {"raw_longitude":763062976,"raw_latitude":98607664,"longitude_deg":76.3062976,"latitude_deg":9.8607664,"altitude":4,"angle":169,"satellites":32,"speed":47,"hex_longitude":"2d7b6ac0","hex_latitude":"05e0a230","is_valid_coordinates":true} 
[2026-07-15 09:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726527488001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106350833427283968,"note":"Value kept but may cause issues"} 
[2026-07-15 09:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891301958326343680,"note":"Value kept but may cause issues"} 
[2026-07-15 09:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784088006000,"timestamp_ms":1784088006000,"timestamp_seconds":1784088006,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ee8d70"} 
[2026-07-15 09:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 09:30:40] 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-07-15 09:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":134595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":134595,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":134595,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726527488001,"66":13189,"170":206,"85":15104,"24":47,"16":106350833427283968,"45":8891301958326343680},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-07-15 09:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726527488001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:30:40] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-15 09:30:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106350833427283968,"km_value":106350833427283.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891301958326343680,"description":"Unknown IO ID 45"} 
[2026-07-15 09:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726527488001,"power":13189,"unknown_170":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":8891301958326343680}} 
[2026-07-15 09:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":134595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490357,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:30:40] local.INFO: GPS data processed {"connection_id":134595,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:30:40] local.INFO: Acknowledgment sent {"connection_id":134595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:30:41] local.INFO: TCP Data received {"connection_id":134595,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63eea8c8012d7b6f4005e07f10000500ad22..."} 
[2026-07-15 09:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63eea8c8012d7b6f4005e07f10000500ad22..."} 
[2026-07-15 09:30:41] local.INFO: Processing buffer {"connection_id":134595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63eea8c8012d7b6f4005e07f10000500ad22..."} 
[2026-07-15 09:30:41] local.INFO: Packet analysis {"connection_id":134595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ee"} 
[2026-07-15 09:30:41] local.INFO: Extracted packet for processing {"connection_id":134595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ee"} 
[2026-07-15 09:30:41] local.INFO: GPS Element Parsed {"raw_longitude":763064128,"raw_latitude":98598672,"longitude_deg":76.3064128,"latitude_deg":9.8598672,"altitude":5,"angle":173,"satellites":34,"speed":52,"hex_longitude":"2d7b6f40","hex_latitude":"05e07f10","is_valid_coordinates":true} 
[2026-07-15 09:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726529536001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106351275808915456,"note":"Value kept but may cause issues"} 
[2026-07-15 09:30:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8893131545672560640,"note":"Value kept but may cause issues"} 
[2026-07-15 09:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784088013000,"timestamp_ms":1784088013000,"timestamp_seconds":1784088013,"priority":1,"record_length":96,"hex_timestamp":"0000019f63eea8c8"} 
[2026-07-15 09:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-15 09:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":134595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":134595,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":134595,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726529536001,"66":13189,"170":206,"85":15104,"24":52,"16":106351275808915456,"45":8893131545672560640},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-07-15 09:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726529536001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:30:41] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-15 09:30:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106351275808915456,"km_value":106351275808915.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:30:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8893131545672560640,"description":"Unknown IO ID 45"} 
[2026-07-15 09:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726529536001,"power":13189,"unknown_170":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8893131545672560640}} 
[2026-07-15 09:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":134595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490358,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:30:41] local.INFO: GPS data processed {"connection_id":134595,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:30:41] local.INFO: Acknowledgment sent {"connection_id":134595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:31:00] local.INFO: TCP Data received {"connection_id":134597,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134597,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:31:00] local.INFO: Processing buffer {"connection_id":134597,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:31:00] local.INFO: IMEI packet received {"connection_id":134597,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 09:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":134597,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:31:01] local.INFO: TCP Data received {"connection_id":133242,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:31:01] local.INFO: Processing buffer {"connection_id":133242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:31:01] local.INFO: IMEI packet received {"connection_id":133242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":133242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:31:06] local.INFO: TCP Data received {"connection_id":133242,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:31:06] local.INFO: Processing buffer {"connection_id":133242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:31:06] local.INFO: IMEI packet received {"connection_id":133242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":133242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:31:07] local.INFO: TCP Data received {"connection_id":133242,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ee1458012d7f998005afdce00000011c30..."} 
[2026-07-15 09:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ee1458012d7f998005afdce00000011c30..."} 
[2026-07-15 09:31:07] local.INFO: Processing buffer {"connection_id":133242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ee1458012d7f998005afdce00000011c30..."} 
[2026-07-15 09:31:07] local.INFO: Packet analysis {"connection_id":133242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ee"} 
[2026-07-15 09:31:07] local.INFO: Extracted packet for processing {"connection_id":133242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ee"} 
[2026-07-15 09:31:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726444544001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784087975000,"timestamp_ms":1784087975000,"timestamp_seconds":1784087975,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ee1458"} 
[2026-07-15 09:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-15 09:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:31:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726444544001,"66":25843,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726444544001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:31:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:31:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726444544001,"power":25843,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":133242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:31:07] local.INFO: GPS data processed {"connection_id":133242,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:31:07] local.INFO: Acknowledgment sent {"connection_id":133242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:31:10] local.INFO: TCP Data received {"connection_id":134596,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f63eea0f8012d0c8c80070603400017008121..."} 
[2026-07-15 09:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63eea0f8012d0c8c80070603400017008121..."} 
[2026-07-15 09:31:10] local.INFO: Processing buffer {"connection_id":134596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63eea0f8012d0c8c80070603400017008121..."} 
[2026-07-15 09:31:10] local.INFO: Packet analysis {"connection_id":134596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ee"} 
[2026-07-15 09:31:10] local.INFO: Extracted packet for processing {"connection_id":134596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ee"} 
[2026-07-15 09:31:10] local.INFO: GPS Element Parsed {"raw_longitude":755797120,"raw_latitude":117834560,"longitude_deg":75.579712,"latitude_deg":11.783456,"altitude":23,"angle":129,"satellites":33,"speed":17,"hex_longitude":"2d0c8c80","hex_latitude":"07060340","is_valid_coordinates":true} 
[2026-07-15 09:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726528768001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24619018828644352,"note":"Value kept but may cause issues"} 
[2026-07-15 09:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":901705118058608640,"note":"Value kept but may cause issues"} 
[2026-07-15 09:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784088011000,"timestamp_ms":1784088011000,"timestamp_seconds":1784088011,"priority":1,"record_length":96,"hex_timestamp":"0000019f63eea0f8"} 
[2026-07-15 09:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-15 09:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":134596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":134596,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":134596,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726528768001,"66":14515,"220":206,"94":10240,"24":17,"16":24619018828644352,"45":901705118058608640},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-07-15 09:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726528768001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:31:10] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-15 09:31:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24619018828644352,"km_value":24619018828644.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":901705118058608640,"description":"Unknown IO ID 45"} 
[2026-07-15 09:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726528768001,"power":14515,"unknown_220":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":901705118058608640}} 
[2026-07-15 09:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":134596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490360,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:31:11] local.INFO: GPS data processed {"connection_id":134596,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:31:11] local.INFO: Acknowledgment sent {"connection_id":134596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:31:12] local.INFO: TCP Data received {"connection_id":134595,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63eec808012d7b73c005e058c0000500ac23..."} 
[2026-07-15 09:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63eec808012d7b73c005e058c0000500ac23..."} 
[2026-07-15 09:31:12] local.INFO: Processing buffer {"connection_id":134595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63eec808012d7b73c005e058c0000500ac23..."} 
[2026-07-15 09:31:12] local.INFO: Packet analysis {"connection_id":134595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ee"} 
[2026-07-15 09:31:12] local.INFO: Extracted packet for processing {"connection_id":134595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ee"} 
[2026-07-15 09:31:12] local.INFO: GPS Element Parsed {"raw_longitude":763065280,"raw_latitude":98588864,"longitude_deg":76.306528,"latitude_deg":9.8588864,"altitude":5,"angle":172,"satellites":35,"speed":43,"hex_longitude":"2d7b73c0","hex_latitude":"05e058c0","is_valid_coordinates":true} 
[2026-07-15 09:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726531328001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106351752550285312,"note":"Value kept but may cause issues"} 
[2026-07-15 09:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8894398183065456640,"note":"Value kept but may cause issues"} 
[2026-07-15 09:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784088021000,"timestamp_ms":1784088021000,"timestamp_seconds":1784088021,"priority":1,"record_length":96,"hex_timestamp":"0000019f63eec808"} 
[2026-07-15 09:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-15 09:31:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:31:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":134595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":134595,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":134595,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726531328001,"66":12982,"170":206,"85":15104,"24":43,"16":106351752550285312,"45":8894398183065456640},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-07-15 09:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726531328001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:31:12] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-15 09:31:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106351752550285312,"km_value":106351752550285.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8894398183065456640,"description":"Unknown IO ID 45"} 
[2026-07-15 09:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726531328001,"power":12982,"unknown_170":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8894398183065456640}} 
[2026-07-15 09:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":134595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490361,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:31:12] local.INFO: GPS data processed {"connection_id":134595,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:31:12] local.INFO: Acknowledgment sent {"connection_id":134595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:31:29] local.INFO: TCP Data received {"connection_id":133243,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133243,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:31:29] local.INFO: Processing buffer {"connection_id":133243,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:31:29] local.INFO: IMEI packet received {"connection_id":133243,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 09:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":133243,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:31:29] local.INFO: TCP Data received {"connection_id":133243,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133243,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:31:29] local.INFO: Processing buffer {"connection_id":133243,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:31:29] local.INFO: IMEI packet received {"connection_id":133243,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":133243,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:31:29] local.INFO: TCP Data received {"connection_id":132216,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132216,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:31:29] local.INFO: Processing buffer {"connection_id":132216,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:31:29] local.INFO: IMEI packet received {"connection_id":132216,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 09:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":132216,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:31:32] local.INFO: TCP Data received {"connection_id":132216,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132216,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:31:32] local.INFO: Processing buffer {"connection_id":132216,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:31:32] local.INFO: IMEI packet received {"connection_id":132216,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":132216,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:31:33] local.INFO: TCP Data received {"connection_id":132216,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63eeeb30012d7b774005e03448000400b023..."} 
[2026-07-15 09:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63eeeb30012d7b774005e03448000400b023..."} 
[2026-07-15 09:31:33] local.INFO: Processing buffer {"connection_id":132216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63eeeb30012d7b774005e03448000400b023..."} 
[2026-07-15 09:31:33] local.INFO: Packet analysis {"connection_id":132216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ee"} 
[2026-07-15 09:31:33] local.INFO: Extracted packet for processing {"connection_id":132216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ee"} 
[2026-07-15 09:31:33] local.INFO: GPS Element Parsed {"raw_longitude":763066176,"raw_latitude":98579528,"longitude_deg":76.3066176,"latitude_deg":9.8579528,"altitude":4,"angle":176,"satellites":35,"speed":44,"hex_longitude":"2d7b7740","hex_latitude":"05e03448","is_valid_coordinates":true} 
[2026-07-15 09:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726533376001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106352207816818688,"note":"Value kept but may cause issues"} 
[2026-07-15 09:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8895664820458143744,"note":"Value kept but may cause issues"} 
[2026-07-15 09:31:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784088030000,"timestamp_ms":1784088030000,"timestamp_seconds":1784088030,"priority":1,"record_length":96,"hex_timestamp":"0000019f63eeeb30"} 
[2026-07-15 09:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:31:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-15 09:31:33] 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-07-15 09:31:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":132216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":132216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":132216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726533376001,"66":12972,"170":206,"85":15104,"24":44,"16":106352207816818688,"45":8895664820458143744},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-07-15 09:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726533376001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:31:33] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-15 09:31:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106352207816818688,"km_value":106352207816818.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8895664820458143744,"description":"Unknown IO ID 45"} 
[2026-07-15 09:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726533376001,"power":12972,"unknown_170":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8895664820458143744}} 
[2026-07-15 09:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":132216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490362,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:31:33] local.INFO: GPS data processed {"connection_id":132216,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:31:33] local.INFO: Acknowledgment sent {"connection_id":132216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:31:34] local.INFO: TCP Data received {"connection_id":132216,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ef0a70012d7b7b8005e00fc0000400ad23..."} 
[2026-07-15 09:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ef0a70012d7b7b8005e00fc0000400ad23..."} 
[2026-07-15 09:31:34] local.INFO: Processing buffer {"connection_id":132216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ef0a70012d7b7b8005e00fc0000400ad23..."} 
[2026-07-15 09:31:34] local.INFO: Packet analysis {"connection_id":132216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ef"} 
[2026-07-15 09:31:34] local.INFO: Extracted packet for processing {"connection_id":132216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ef"} 
[2026-07-15 09:31:34] local.INFO: GPS Element Parsed {"raw_longitude":763067264,"raw_latitude":98570176,"longitude_deg":76.3067264,"latitude_deg":9.8570176,"altitude":4,"angle":173,"satellites":35,"speed":42,"hex_longitude":"2d7b7b80","hex_latitude":"05e00fc0","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726535680001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106352663083352064,"note":"Value kept but may cause issues"} 
[2026-07-15 09:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896649982874241024,"note":"Value kept but may cause issues"} 
[2026-07-15 09:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784088038000,"timestamp_ms":1784088038000,"timestamp_seconds":1784088038,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ef0a70"} 
[2026-07-15 09:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-15 09:31: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-07-15 09: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-07-15 09:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":132216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":132216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":132216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726535680001,"66":12917,"35":206,"85":15104,"24":42,"16":106352663083352064,"45":8896649982874241024},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,45]} 
[2026-07-15 09:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726535680001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:31:34] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-15 09:31:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106352663083352064,"km_value":106352663083352.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896649982874241024,"description":"Unknown IO ID 45"} 
[2026-07-15 09:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726535680001,"power":12917,"unknown_35":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8896649982874241024}} 
[2026-07-15 09:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":132216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490363,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:31:34] local.INFO: GPS data processed {"connection_id":132216,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:31:34] local.INFO: Acknowledgment sent {"connection_id":132216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:31:34] local.INFO: TCP Data received {"connection_id":133243,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133243,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:31:35] local.INFO: Processing buffer {"connection_id":133243,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:31:35] local.INFO: IMEI packet received {"connection_id":133243,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":133243,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:31:35] local.INFO: TCP Data received {"connection_id":133243,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f63eeb480012d0c92800705fd180018009021..."} 
[2026-07-15 09:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63eeb480012d0c92800705fd180018009021..."} 
[2026-07-15 09:31:35] local.INFO: Processing buffer {"connection_id":133243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63eeb480012d0c92800705fd180018009021..."} 
[2026-07-15 09:31:35] local.INFO: Packet analysis {"connection_id":133243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ee"} 
[2026-07-15 09:31:35] local.INFO: Extracted packet for processing {"connection_id":133243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ee"} 
[2026-07-15 09:31:35] local.INFO: GPS Element Parsed {"raw_longitude":755798656,"raw_latitude":117832984,"longitude_deg":75.5798656,"latitude_deg":11.7832984,"altitude":24,"angle":144,"satellites":33,"speed":12,"hex_longitude":"2d0c9280","hex_latitude":"0705fd18","is_valid_coordinates":true} 
[2026-07-15 09:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726530816001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24619121907859456,"note":"Value kept but may cause issues"} 
[2026-07-15 09:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":904238392848629760,"note":"Value kept but may cause issues"} 
[2026-07-15 09:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784088016000,"timestamp_ms":1784088016000,"timestamp_seconds":1784088016,"priority":1,"record_length":96,"hex_timestamp":"0000019f63eeb480"} 
[2026-07-15 09:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-15 09:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":133243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":133243,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":133243,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726530816001,"66":14374,"220":206,"94":10240,"24":12,"16":24619121907859456,"45":904238392848629760},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-07-15 09:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726530816001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:31:35] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-15 09:31:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24619121907859456,"km_value":24619121907859.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":904238392848629760,"description":"Unknown IO ID 45"} 
[2026-07-15 09:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726530816001,"power":14374,"unknown_220":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":904238392848629760}} 
[2026-07-15 09:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":133243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490364,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:31:35] local.INFO: GPS data processed {"connection_id":133243,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:31:35] local.INFO: Acknowledgment sent {"connection_id":133243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:31:38] local.INFO: TCP Data received {"connection_id":133242,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ee1458012d7f998005afdce00000011c30..."} 
[2026-07-15 09:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ee1458012d7f998005afdce00000011c30..."} 
[2026-07-15 09:31:38] local.INFO: Processing buffer {"connection_id":133242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ee1458012d7f998005afdce00000011c30..."} 
[2026-07-15 09:31:38] local.INFO: Packet analysis {"connection_id":133242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ee"} 
[2026-07-15 09:31:38] local.INFO: Extracted packet for processing {"connection_id":133242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ee"} 
[2026-07-15 09:31:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726444544001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784087975000,"timestamp_ms":1784087975000,"timestamp_seconds":1784087975,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ee1458"} 
[2026-07-15 09:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-15 09:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726444544001,"66":25843,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726444544001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:31:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:31:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726444544001,"power":25843,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":133242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:31:38] local.INFO: GPS data processed {"connection_id":133242,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:31:38] local.INFO: Acknowledgment sent {"connection_id":133242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:32:01] local.INFO: TCP Data received {"connection_id":132403,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:32:01] local.INFO: Processing buffer {"connection_id":132403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:32:01] local.INFO: IMEI packet received {"connection_id":132403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":132403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:32:05] local.INFO: TCP Data received {"connection_id":132216,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ef29b0012d7b804005dfe9c8000300ac20..."} 
[2026-07-15 09:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ef29b0012d7b804005dfe9c8000300ac20..."} 
[2026-07-15 09:32:05] local.INFO: Processing buffer {"connection_id":132216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ef29b0012d7b804005dfe9c8000300ac20..."} 
[2026-07-15 09:32:05] local.INFO: Packet analysis {"connection_id":132216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ef"} 
[2026-07-15 09:32:05] local.INFO: Extracted packet for processing {"connection_id":132216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ef"} 
[2026-07-15 09:32:05] local.INFO: GPS Element Parsed {"raw_longitude":763068480,"raw_latitude":98560456,"longitude_deg":76.306848,"latitude_deg":9.8560456,"altitude":3,"angle":172,"satellites":32,"speed":52,"hex_longitude":"2d7b8040","hex_latitude":"05dfe9c8","is_valid_coordinates":true} 
[2026-07-15 09:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726537728001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106353139824721920,"note":"Value kept but may cause issues"} 
[2026-07-15 09:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897846251522867200,"note":"Value kept but may cause issues"} 
[2026-07-15 09:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784088046000,"timestamp_ms":1784088046000,"timestamp_seconds":1784088046,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ef29b0"} 
[2026-07-15 09:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-15 09:32:05] 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-07-15 09:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726537728001,"66":12917,"35":206,"85":15104,"24":52,"16":106353139824721920,"45":8897846251522867200},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,45]} 
[2026-07-15 09:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726537728001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:32:05] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-15 09:32:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106353139824721920,"km_value":106353139824721.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897846251522867200,"description":"Unknown IO ID 45"} 
[2026-07-15 09:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726537728001,"power":12917,"unknown_35":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8897846251522867200}} 
[2026-07-15 09:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":132216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490366,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:32:05] local.INFO: GPS data processed {"connection_id":132216,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:32:05] local.INFO: Acknowledgment sent {"connection_id":132216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:32:07] local.INFO: TCP Data received {"connection_id":132403,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:32:07] local.INFO: Processing buffer {"connection_id":132403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:32:07] local.INFO: IMEI packet received {"connection_id":132403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":132403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:32:07] local.INFO: TCP Data received {"connection_id":132403,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ee1458012d7f998005afdce00000011c30..."} 
[2026-07-15 09:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ee1458012d7f998005afdce00000011c30..."} 
[2026-07-15 09:32:07] local.INFO: Processing buffer {"connection_id":132403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ee1458012d7f998005afdce00000011c30..."} 
[2026-07-15 09:32:07] local.INFO: Packet analysis {"connection_id":132403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ee"} 
[2026-07-15 09:32:07] local.INFO: Extracted packet for processing {"connection_id":132403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ee"} 
[2026-07-15 09:32:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726444544001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784087975000,"timestamp_ms":1784087975000,"timestamp_seconds":1784087975,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ee1458"} 
[2026-07-15 09:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-15 09:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:32:07] 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-07-15 09:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726444544001,"66":25843,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726444544001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:32:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:32:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726444544001,"power":25843,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":132403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:32:07] local.INFO: GPS data processed {"connection_id":132403,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:32:07] local.INFO: Acknowledgment sent {"connection_id":132403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:32:08] local.INFO: TCP Data received {"connection_id":133243,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ef02a0012d0ca2800705e4c80019009221..."} 
[2026-07-15 09:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ef02a0012d0ca2800705e4c80019009221..."} 
[2026-07-15 09:32:08] local.INFO: Processing buffer {"connection_id":133243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ef02a0012d0ca2800705e4c80019009221..."} 
[2026-07-15 09:32:08] local.INFO: Packet analysis {"connection_id":133243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ef"} 
[2026-07-15 09:32:08] local.INFO: Extracted packet for processing {"connection_id":133243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ef"} 
[2026-07-15 09:32:08] local.INFO: GPS Element Parsed {"raw_longitude":755802752,"raw_latitude":117826760,"longitude_deg":75.5802752,"latitude_deg":11.782676,"altitude":25,"angle":146,"satellites":33,"speed":14,"hex_longitude":"2d0ca280","hex_latitude":"0705e4c8","is_valid_coordinates":true} 
[2026-07-15 09:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726532096001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24619482685112320,"note":"Value kept but may cause issues"} 
[2026-07-15 09:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":905927242708490240,"note":"Value kept but may cause issues"} 
[2026-07-15 09:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784088036000,"timestamp_ms":1784088036000,"timestamp_seconds":1784088036,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ef02a0"} 
[2026-07-15 09:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-15 09:32: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-07-15 09:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":133243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":133243,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":133243,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726532096001,"66":13972,"220":206,"94":10240,"24":14,"16":24619482685112320,"45":905927242708490240},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-07-15 09:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726532096001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:32:08] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-15 09:32:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24619482685112320,"km_value":24619482685112.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":905927242708490240,"description":"Unknown IO ID 45"} 
[2026-07-15 09:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726532096001,"power":13972,"unknown_220":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":905927242708490240}} 
[2026-07-15 09:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":133243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490368,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:32:08] local.INFO: GPS data processed {"connection_id":133243,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:32:08] local.INFO: Acknowledgment sent {"connection_id":133243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:32:27] local.INFO: TCP Data received {"connection_id":132217,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132217,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:32:27] local.INFO: Processing buffer {"connection_id":132217,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:32:27] local.INFO: IMEI packet received {"connection_id":132217,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 09:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":132217,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:32:29] local.INFO: TCP Data received {"connection_id":132404,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132404,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:32:29] local.INFO: Processing buffer {"connection_id":132404,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:32:29] local.INFO: IMEI packet received {"connection_id":132404,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 09:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":132404,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:32:30] local.INFO: TCP Data received {"connection_id":132217,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132217,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:32:30] local.INFO: Processing buffer {"connection_id":132217,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:32:30] local.INFO: IMEI packet received {"connection_id":132217,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":132217,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:32:34] local.INFO: TCP Data received {"connection_id":132217,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132217,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:32:34] local.INFO: Processing buffer {"connection_id":132217,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:32:34] local.INFO: IMEI packet received {"connection_id":132217,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":132217,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:32:35] local.INFO: TCP Data received {"connection_id":132404,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132404,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:32:35] local.INFO: Processing buffer {"connection_id":132404,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:32:35] local.INFO: IMEI packet received {"connection_id":132404,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":132404,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:32:35] local.INFO: TCP Data received {"connection_id":132404,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ef3950012d0cab000705d8b0001a008721..."} 
[2026-07-15 09:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ef3950012d0cab000705d8b0001a008721..."} 
[2026-07-15 09:32:35] local.INFO: Processing buffer {"connection_id":132404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ef3950012d0cab000705d8b0001a008721..."} 
[2026-07-15 09:32:35] local.INFO: Packet analysis {"connection_id":132404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ef"} 
[2026-07-15 09:32:35] local.INFO: Extracted packet for processing {"connection_id":132404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ef"} 
[2026-07-15 09:32:35] local.INFO: GPS Element Parsed {"raw_longitude":755804928,"raw_latitude":117823664,"longitude_deg":75.5804928,"latitude_deg":11.7823664,"altitude":26,"angle":135,"satellites":33,"speed":10,"hex_longitude":"2d0cab00","hex_latitude":"0705d8b0","is_valid_coordinates":true} 
[2026-07-15 09:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726537216001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24619667368706048,"note":"Value kept but may cause issues"} 
[2026-07-15 09:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":910430842334267392,"note":"Value kept but may cause issues"} 
[2026-07-15 09:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784088050000,"timestamp_ms":1784088050000,"timestamp_seconds":1784088050,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ef3950"} 
[2026-07-15 09:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-15 09:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132404,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132404,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726537216001,"66":14537,"220":206,"94":10240,"24":10,"16":24619667368706048,"45":910430842334267392},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-07-15 09:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726537216001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:32:35] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-15 09:32:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24619667368706048,"km_value":24619667368706.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":910430842334267392,"description":"Unknown IO ID 45"} 
[2026-07-15 09:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726537216001,"power":14537,"unknown_220":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":910430842334267392}} 
[2026-07-15 09:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":132404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490369,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:32:35] local.INFO: GPS data processed {"connection_id":132404,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:32:35] local.INFO: Acknowledgment sent {"connection_id":132404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:32:36] local.INFO: TCP Data received {"connection_id":132217,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ef50c0012d7b854005dfc548000200ad24..."} 
[2026-07-15 09:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ef50c0012d7b854005dfc548000200ad24..."} 
[2026-07-15 09:32:36] local.INFO: Processing buffer {"connection_id":132217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ef50c0012d7b854005dfc548000200ad24..."} 
[2026-07-15 09:32:36] local.INFO: Packet analysis {"connection_id":132217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ef"} 
[2026-07-15 09:32:36] local.INFO: Extracted packet for processing {"connection_id":132217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ef"} 
[2026-07-15 09:32:36] local.INFO: GPS Element Parsed {"raw_longitude":763069760,"raw_latitude":98551112,"longitude_deg":76.306976,"latitude_deg":9.8551112,"altitude":2,"angle":173,"satellites":36,"speed":31,"hex_longitude":"2d7b8540","hex_latitude":"05dfc548","is_valid_coordinates":true} 
[2026-07-15 09:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726539776001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106353595091255296,"note":"Value kept but may cause issues"} 
[2026-07-15 09:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899183257659754496,"note":"Value kept but may cause issues"} 
[2026-07-15 09:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784088056000,"timestamp_ms":1784088056000,"timestamp_seconds":1784088056,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ef50c0"} 
[2026-07-15 09:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-15 09:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726539776001,"66":12982,"35":206,"85":15104,"24":31,"16":106353595091255296,"45":8899183257659754496},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,45]} 
[2026-07-15 09:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726539776001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:32:36] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-15 09:32:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106353595091255296,"km_value":106353595091255.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899183257659754496,"description":"Unknown IO ID 45"} 
[2026-07-15 09:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726539776001,"power":12982,"unknown_35":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8899183257659754496}} 
[2026-07-15 09:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":132217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490370,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:32:36] local.INFO: GPS data processed {"connection_id":132217,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:32:36] local.INFO: Acknowledgment sent {"connection_id":132217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:32:38] local.INFO: TCP Data received {"connection_id":132403,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ee1458012d7f998005afdce00000011c30..."} 
[2026-07-15 09:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ee1458012d7f998005afdce00000011c30..."} 
[2026-07-15 09:32:38] local.INFO: Processing buffer {"connection_id":132403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ee1458012d7f998005afdce00000011c30..."} 
[2026-07-15 09:32:38] local.INFO: Packet analysis {"connection_id":132403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ee"} 
[2026-07-15 09:32:38] local.INFO: Extracted packet for processing {"connection_id":132403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ee"} 
[2026-07-15 09:32:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726444544001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784087975000,"timestamp_ms":1784087975000,"timestamp_seconds":1784087975,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ee1458"} 
[2026-07-15 09:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-15 09:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:32:38] 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-07-15 09:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726444544001,"66":25843,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726444544001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:32:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:32:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726444544001,"power":25843,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":132403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:32:38] local.INFO: GPS data processed {"connection_id":132403,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:32:38] local.INFO: Acknowledgment sent {"connection_id":132403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:33:02] local.INFO: TCP Data received {"connection_id":134599,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:33:02] local.INFO: Processing buffer {"connection_id":134599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:33:02] local.INFO: IMEI packet received {"connection_id":134599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":134599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:33:06] local.INFO: TCP Data received {"connection_id":134599,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:33:06] local.INFO: Processing buffer {"connection_id":134599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:33:06] local.INFO: IMEI packet received {"connection_id":134599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":134599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:33:07] local.INFO: TCP Data received {"connection_id":132404,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f0db48012d0cbfc007054e18001500971f..."} 
[2026-07-15 09:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f0db48012d0cbfc007054e18001500971f..."} 
[2026-07-15 09:33:07] local.INFO: Processing buffer {"connection_id":132404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f0db48012d0cbfc007054e18001500971f..."} 
[2026-07-15 09:33:07] local.INFO: Packet analysis {"connection_id":132404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f0"} 
[2026-07-15 09:33:07] local.INFO: Extracted packet for processing {"connection_id":132404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f0"} 
[2026-07-15 09:33:07] local.INFO: GPS Element Parsed {"raw_longitude":755810240,"raw_latitude":117788184,"longitude_deg":75.581024,"latitude_deg":11.7788184,"altitude":21,"angle":151,"satellites":31,"speed":18,"hex_longitude":"2d0cbfc0","hex_latitude":"07054e18","is_valid_coordinates":true} 
[2026-07-15 09:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726567936001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24621475549937664,"note":"Value kept but may cause issues"} 
[2026-07-15 09:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":918382510416582656,"note":"Value kept but may cause issues"} 
[2026-07-15 09:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784088157000,"timestamp_ms":1784088157000,"timestamp_seconds":1784088157,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f0db48"} 
[2026-07-15 09:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-15 09:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132404,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132404,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726567936001,"66":14428,"220":206,"94":10240,"24":18,"16":24621475549937664,"45":918382510416582656},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-07-15 09:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726567936001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:33:07] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-15 09:33:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24621475549937664,"km_value":24621475549937.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":918382510416582656,"description":"Unknown IO ID 45"} 
[2026-07-15 09:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726567936001,"power":14428,"unknown_220":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":918382510416582656}} 
[2026-07-15 09:33:07] local.INFO: TCP Data received {"connection_id":134599,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ee1458012d7f998005afdce00000011c30..."} 
[2026-07-15 09:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ee1458012d7f998005afdce00000011c30..."} 
[2026-07-15 09:33:07] local.INFO: Processing buffer {"connection_id":134599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ee1458012d7f998005afdce00000011c30..."} 
[2026-07-15 09:33:07] local.INFO: Packet analysis {"connection_id":134599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ee"} 
[2026-07-15 09:33:07] local.INFO: Extracted packet for processing {"connection_id":134599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ee"} 
[2026-07-15 09:33:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726444544001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784087975000,"timestamp_ms":1784087975000,"timestamp_seconds":1784087975,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ee1458"} 
[2026-07-15 09:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-15 09:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:33:07] 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-07-15 09:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726444544001,"66":25843,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726444544001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:33:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:33:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726444544001,"power":25843,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":132404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490372,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:33:07] local.INFO: GPS data processed {"connection_id":132404,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:33:07] local.INFO: Acknowledgment sent {"connection_id":132404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":134599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:33:07] local.INFO: GPS data processed {"connection_id":134599,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:33:07] local.INFO: Acknowledgment sent {"connection_id":134599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:33:07] local.INFO: TCP Data received {"connection_id":132217,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f0fe70012d7bb7c005de1928000700a824..."} 
[2026-07-15 09:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f0fe70012d7bb7c005de1928000700a824..."} 
[2026-07-15 09:33:07] local.INFO: Processing buffer {"connection_id":132217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f0fe70012d7bb7c005de1928000700a824..."} 
[2026-07-15 09:33:07] local.INFO: Packet analysis {"connection_id":132217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f0"} 
[2026-07-15 09:33:07] local.INFO: Extracted packet for processing {"connection_id":132217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f0"} 
[2026-07-15 09:33:07] local.INFO: GPS Element Parsed {"raw_longitude":763082688,"raw_latitude":98441512,"longitude_deg":76.3082688,"latitude_deg":9.8441512,"altitude":7,"angle":168,"satellites":36,"speed":18,"hex_longitude":"2d7bb7c0","hex_latitude":"05de1928","is_valid_coordinates":true} 
[2026-07-15 09:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726567424001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106358955210440704,"note":"Value kept but may cause issues"} 
[2026-07-15 09:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8912764425257814016,"note":"Value kept but may cause issues"} 
[2026-07-15 09:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784088166000,"timestamp_ms":1784088166000,"timestamp_seconds":1784088166,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f0fe70"} 
[2026-07-15 09:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-15 09:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726567424001,"66":13178,"50":206,"85":15104,"24":18,"16":106358955210440704,"45":8912764425257814016},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-15 09:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726567424001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:33:07] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-15 09:33:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106358955210440704,"km_value":106358955210440.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8912764425257814016,"description":"Unknown IO ID 45"} 
[2026-07-15 09:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726567424001,"power":13178,"unknown_50":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8912764425257814016}} 
[2026-07-15 09:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":132217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490374,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:33:08] local.INFO: GPS data processed {"connection_id":132217,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:33:08] local.INFO: Acknowledgment sent {"connection_id":132217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:33:29] local.INFO: TCP Data received {"connection_id":134600,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134600,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:33:29] local.INFO: Processing buffer {"connection_id":134600,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:33:29] local.INFO: IMEI packet received {"connection_id":134600,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 09:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":134600,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:33:30] local.INFO: TCP Data received {"connection_id":132405,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132405,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:33:30] local.INFO: Processing buffer {"connection_id":132405,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:33:30] local.INFO: IMEI packet received {"connection_id":132405,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 09:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":132405,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:33:34] local.INFO: TCP Data received {"connection_id":134600,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134600,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:33:34] local.INFO: Processing buffer {"connection_id":134600,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:33:34] local.INFO: IMEI packet received {"connection_id":134600,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":134600,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:33:35] local.INFO: TCP Data received {"connection_id":132405,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132405,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:33:35] local.INFO: Processing buffer {"connection_id":132405,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:33:35] local.INFO: IMEI packet received {"connection_id":132405,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":132405,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:33:35] local.INFO: TCP Data received {"connection_id":132405,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f10e10012d0cd200070534780014008c20..."} 
[2026-07-15 09:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f10e10012d0cd200070534780014008c20..."} 
[2026-07-15 09:33:35] local.INFO: Processing buffer {"connection_id":132405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f10e10012d0cd200070534780014008c20..."} 
[2026-07-15 09:33:35] local.INFO: Packet analysis {"connection_id":132405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f1"} 
[2026-07-15 09:33:35] local.INFO: Extracted packet for processing {"connection_id":132405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f1"} 
[2026-07-15 09:33:35] local.INFO: GPS Element Parsed {"raw_longitude":755814912,"raw_latitude":117781624,"longitude_deg":75.5814912,"latitude_deg":11.7781624,"altitude":20,"angle":140,"satellites":32,"speed":23,"hex_longitude":"2d0cd200","hex_latitude":"07053478","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726568192001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24621862096994304,"note":"Value kept but may cause issues"} 
[2026-07-15 09:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":918663985393178624,"note":"Value kept but may cause issues"} 
[2026-07-15 09:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784088170000,"timestamp_ms":1784088170000,"timestamp_seconds":1784088170,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f10e10"} 
[2026-07-15 09:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-15 09:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132405,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132405,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726568192001,"66":14537,"220":206,"94":10240,"24":23,"16":24621862096994304,"45":918663985393178624},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-07-15 09:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726568192001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:33:35] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-15 09:33:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24621862096994304,"km_value":24621862096994.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":918663985393178624,"description":"Unknown IO ID 45"} 
[2026-07-15 09:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726568192001,"power":14537,"unknown_220":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":918663985393178624}} 
[2026-07-15 09:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":132405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490375,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:33:36] local.INFO: GPS data processed {"connection_id":132405,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:33:36] local.INFO: Acknowledgment sent {"connection_id":132405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:33:38] local.INFO: TCP Data received {"connection_id":134600,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f13908012d7bbe8005ddf7a0000400b927..."} 
[2026-07-15 09:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f13908012d7bbe8005ddf7a0000400b927..."} 
[2026-07-15 09:33:38] local.INFO: Processing buffer {"connection_id":134600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f13908012d7bbe8005ddf7a0000400b927..."} 
[2026-07-15 09:33:38] local.INFO: Packet analysis {"connection_id":134600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f1"} 
[2026-07-15 09:33:38] local.INFO: Extracted packet for processing {"connection_id":134600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f1"} 
[2026-07-15 09:33:38] local.INFO: GPS Element Parsed {"raw_longitude":763084416,"raw_latitude":98432928,"longitude_deg":76.3084416,"latitude_deg":9.8432928,"altitude":4,"angle":185,"satellites":39,"speed":19,"hex_longitude":"2d7bbe80","hex_latitude":"05ddf7a0","is_valid_coordinates":true} 
[2026-07-15 09:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726570496001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106359380412203008,"note":"Value kept but may cause issues"} 
[2026-07-15 09:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8914805118836746240,"note":"Value kept but may cause issues"} 
[2026-07-15 09:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784088181000,"timestamp_ms":1784088181000,"timestamp_seconds":1784088181,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f13908"} 
[2026-07-15 09:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-15 09:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726570496001,"66":12809,"50":206,"85":15104,"24":19,"16":106359380412203008,"45":8914805118836746240},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-15 09:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726570496001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:33:38] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-15 09:33:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106359380412203008,"km_value":106359380412203.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8914805118836746240,"description":"Unknown IO ID 45"} 
[2026-07-15 09:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726570496001,"power":12809,"unknown_50":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8914805118836746240}} 
[2026-07-15 09:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":134600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490376,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:33:38] local.INFO: GPS data processed {"connection_id":134600,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:33:38] local.INFO: Acknowledgment sent {"connection_id":134600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:33:39] local.INFO: TCP Data received {"connection_id":134599,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ee1458012d7f998005afdce00000011c30..."} 
[2026-07-15 09:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ee1458012d7f998005afdce00000011c30..."} 
[2026-07-15 09:33:39] local.INFO: Processing buffer {"connection_id":134599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ee1458012d7f998005afdce00000011c30..."} 
[2026-07-15 09:33:39] local.INFO: Packet analysis {"connection_id":134599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ee"} 
[2026-07-15 09:33:39] local.INFO: Extracted packet for processing {"connection_id":134599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ee"} 
[2026-07-15 09:33:39] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726444544001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784087975000,"timestamp_ms":1784087975000,"timestamp_seconds":1784087975,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ee1458"} 
[2026-07-15 09:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-15 09:33:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:33:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726444544001,"66":25843,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726444544001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:33:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:33:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726444544001,"power":25843,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":134599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:33:39] local.INFO: GPS data processed {"connection_id":134599,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:33:39] local.INFO: Acknowledgment sent {"connection_id":134599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:34:01] local.INFO: TCP Data received {"connection_id":132407,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:34:01] local.INFO: Processing buffer {"connection_id":132407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:34:01] local.INFO: IMEI packet received {"connection_id":132407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":132407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:34:07] local.INFO: TCP Data received {"connection_id":132407,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:34:07] local.INFO: Processing buffer {"connection_id":132407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:34:07] local.INFO: IMEI packet received {"connection_id":132407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":132407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:34:08] local.INFO: TCP Data received {"connection_id":132407,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ee1458012d7f998005afdce00000011c30..."} 
[2026-07-15 09:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ee1458012d7f998005afdce00000011c30..."} 
[2026-07-15 09:34:08] local.INFO: Processing buffer {"connection_id":132407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ee1458012d7f998005afdce00000011c30..."} 
[2026-07-15 09:34:08] local.INFO: Packet analysis {"connection_id":132407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ee"} 
[2026-07-15 09:34:08] local.INFO: Extracted packet for processing {"connection_id":132407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ee"} 
[2026-07-15 09:34:08] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726444544001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784087975000,"timestamp_ms":1784087975000,"timestamp_seconds":1784087975,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ee1458"} 
[2026-07-15 09:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-15 09:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726444544001,"66":25843,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726444544001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:34:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:34:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726444544001,"power":25843,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":132407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:34:08] local.INFO: GPS data processed {"connection_id":132407,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:34:08] local.INFO: Acknowledgment sent {"connection_id":132407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:34:10] local.INFO: TCP Data received {"connection_id":134600,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f144c0012d7bbd8005ddf480000300c428..."} 
[2026-07-15 09:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f144c0012d7bbd8005ddf480000300c428..."} 
[2026-07-15 09:34:10] local.INFO: Processing buffer {"connection_id":134600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f144c0012d7bbd8005ddf480000300c428..."} 
[2026-07-15 09:34:10] local.INFO: Packet analysis {"connection_id":134600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f1"} 
[2026-07-15 09:34:10] local.INFO: Extracted packet for processing {"connection_id":134600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f1"} 
[2026-07-15 09:34:10] local.INFO: GPS Element Parsed {"raw_longitude":763084160,"raw_latitude":98432128,"longitude_deg":76.308416,"latitude_deg":9.8432128,"altitude":3,"angle":196,"satellites":40,"speed":6,"hex_longitude":"2d7bbd80","hex_latitude":"05ddf480","is_valid_coordinates":true} 
[2026-07-15 09:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726574336001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106359419066908672,"note":"Value kept but may cause issues"} 
[2026-07-15 09:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916705074927345664,"note":"Value kept but may cause issues"} 
[2026-07-15 09:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784088184000,"timestamp_ms":1784088184000,"timestamp_seconds":1784088184,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f144c0"} 
[2026-07-15 09:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-15 09:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3530822108026242048,"note":"Value kept but may cause issues"} 
[2026-07-15 09:34:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 09:34:10] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755592714715377,"note":"Value kept but may cause issues"} 
[2026-07-15 09:34:10] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2231422375,"note":"Value kept but may cause issues"} 
[2026-07-15 09:34:10] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-15 09:34:10] local.WARNING: Large IO value detected {"io_id":99,"raw_value":-1138478314806338496,"note":"Value kept but may cause issues"} 
[2026-07-15 09:34:10] local.WARNING: Large IO value detected {"io_id":222,"raw_value":2157969416,"note":"Value kept but may cause issues"} 
[2026-07-15 09:34:10] local.WARNING: Large IO value detected {"io_id":113,"raw_value":3489738107,"note":"Value kept but may cause issues"} 
[2026-07-15 09:34:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805006542,"corrected_to":0} 
[2026-07-15 09:34:10] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3679322112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:34:10] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2383028725382860767,"note":"Value kept but may cause issues"} 
[2026-07-15 09:34:10] local.WARNING: Large IO value detected {"io_id":52,"raw_value":504629276230864469,"note":"Value kept but may cause issues"} 
[2026-07-15 09:34:10] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,50,85,24,241,157,16,221,159,254,45,192,25,7,36,10,66,220,207,128,59,8,34,51,176,1,240,79,227,99,222,4,113,205,47,161,39,239,49,2,121,5,6,52,231],"length":535,"final_offset":665,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2805006542,"validated":0}]} 
[2026-07-15 09:34:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288433953307820032,"timestamp_seconds":288433953307820.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 09:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":134600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":134600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":134600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726574336001,"66":13135,"50":206,"85":15104,"24":6,"16":106359419066908672,"45":8916705074927345664},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-15 09:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726574336001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:34:10] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-15 09:34:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106359419066908672,"km_value":106359419066908.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916705074927345664,"description":"Unknown IO ID 45"} 
[2026-07-15 09:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726574336001,"power":13135,"unknown_50":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8916705074927345664}} 
[2026-07-15 09:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":134600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490379,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:34:11] local.INFO: GPS data processed {"connection_id":134600,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:34:11] local.INFO: Acknowledgment sent {"connection_id":134600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:34:29] local.INFO: TCP Data received {"connection_id":132408,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132408,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:34:29] local.INFO: Processing buffer {"connection_id":132408,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:34:29] local.INFO: IMEI packet received {"connection_id":132408,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 09:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":132408,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:34:34] local.INFO: TCP Data received {"connection_id":132408,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132408,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:34:34] local.INFO: Processing buffer {"connection_id":132408,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:34:34] local.INFO: IMEI packet received {"connection_id":132408,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":132408,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:34:35] local.INFO: TCP Data received {"connection_id":132408,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f14c90012d7bbd0005ddf3d0000400d729..."} 
[2026-07-15 09:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f14c90012d7bbd0005ddf3d0000400d729..."} 
[2026-07-15 09:34:35] local.INFO: Processing buffer {"connection_id":132408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f14c90012d7bbd0005ddf3d0000400d729..."} 
[2026-07-15 09:34:35] local.INFO: Packet analysis {"connection_id":132408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f1"} 
[2026-07-15 09:34:35] local.INFO: Extracted packet for processing {"connection_id":132408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f1"} 
[2026-07-15 09:34:35] local.INFO: GPS Element Parsed {"raw_longitude":763084032,"raw_latitude":98431952,"longitude_deg":76.3084032,"latitude_deg":9.8431952,"altitude":4,"angle":215,"satellites":41,"speed":7,"hex_longitude":"2d7bbd00","hex_latitude":"05ddf3d0","is_valid_coordinates":true} 
[2026-07-15 09:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726575104001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106359431951810560,"note":"Value kept but may cause issues"} 
[2026-07-15 09:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916423599950430208,"note":"Value kept but may cause issues"} 
[2026-07-15 09:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784088186000,"timestamp_ms":1784088186000,"timestamp_seconds":1784088186,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f14c90"} 
[2026-07-15 09:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-15 09:34: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-07-15 09:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726575104001,"66":12885,"50":206,"85":15104,"24":7,"16":106359431951810560,"45":8916423599950430208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-15 09:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726575104001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:34:35] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-15 09:34:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106359431951810560,"km_value":106359431951810.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916423599950430208,"description":"Unknown IO ID 45"} 
[2026-07-15 09:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726575104001,"power":12885,"unknown_50":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8916423599950430208}} 
[2026-07-15 09:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":132408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490380,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:34:35] local.INFO: GPS data processed {"connection_id":132408,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:34:35] local.INFO: Acknowledgment sent {"connection_id":132408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:34:39] local.INFO: TCP Data received {"connection_id":132407,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ee1458012d7f998005afdce00000011c30..."} 
[2026-07-15 09:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ee1458012d7f998005afdce00000011c30..."} 
[2026-07-15 09:34:39] local.INFO: Processing buffer {"connection_id":132407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ee1458012d7f998005afdce00000011c30..."} 
[2026-07-15 09:34:39] local.INFO: Packet analysis {"connection_id":132407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ee"} 
[2026-07-15 09:34:39] local.INFO: Extracted packet for processing {"connection_id":132407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ee"} 
[2026-07-15 09:34:39] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726444544001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784087975000,"timestamp_ms":1784087975000,"timestamp_seconds":1784087975,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ee1458"} 
[2026-07-15 09:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-15 09:34:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726444544001,"66":25843,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726444544001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:34:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:34:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726444544001,"power":25843,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":132407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:34:39] local.INFO: GPS data processed {"connection_id":132407,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:34:39] local.INFO: Acknowledgment sent {"connection_id":132407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:34:49] local.INFO: TCP Data received {"connection_id":133245,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133245,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:34:49] local.INFO: Processing buffer {"connection_id":133245,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:34:49] local.INFO: IMEI packet received {"connection_id":133245,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 09:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":133245,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:34:54] local.INFO: TCP Data received {"connection_id":133245,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133245,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:34:55] local.INFO: Processing buffer {"connection_id":133245,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:34:55] local.INFO: IMEI packet received {"connection_id":133245,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":133245,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:35:00] local.INFO: TCP Data received {"connection_id":133245,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133245,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:35:00] local.INFO: Processing buffer {"connection_id":133245,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:35:00] local.INFO: IMEI packet received {"connection_id":133245,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":133245,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:35:01] local.INFO: TCP Data received {"connection_id":133245,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f25630012d0d24800704f4c0001a007c20..."} 
[2026-07-15 09:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f25630012d0d24800704f4c0001a007c20..."} 
[2026-07-15 09:35:01] local.INFO: Processing buffer {"connection_id":133245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f25630012d0d24800704f4c0001a007c20..."} 
[2026-07-15 09:35:01] local.INFO: Packet analysis {"connection_id":133245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f2"} 
[2026-07-15 09:35:01] local.INFO: Extracted packet for processing {"connection_id":133245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f2"} 
[2026-07-15 09:35:01] local.INFO: GPS Element Parsed {"raw_longitude":755836032,"raw_latitude":117765312,"longitude_deg":75.5836032,"latitude_deg":11.7765312,"altitude":26,"angle":124,"satellites":32,"speed":11,"hex_longitude":"2d0d2480","hex_latitude":"0704f4c0","is_valid_coordinates":true} 
[2026-07-15 09:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726590464001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24623193536856064,"note":"Value kept but may cause issues"} 
[2026-07-15 09:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":944348577012801536,"note":"Value kept but may cause issues"} 
[2026-07-15 09:35:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784088254000,"timestamp_ms":1784088254000,"timestamp_seconds":1784088254,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f25630"} 
[2026-07-15 09:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-15 09:35:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:35:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":133245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":133245,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":133245,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726590464001,"66":14167,"220":206,"94":10240,"24":11,"16":24623193536856064,"45":944348577012801536},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-07-15 09:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726590464001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:35:01] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-15 09:35:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24623193536856064,"km_value":24623193536856.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":944348577012801536,"description":"Unknown IO ID 45"} 
[2026-07-15 09:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726590464001,"power":14167,"unknown_220":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":944348577012801536}} 
[2026-07-15 09:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":133245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490382,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:35:01] local.INFO: GPS data processed {"connection_id":133245,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:35:01] local.INFO: Acknowledgment sent {"connection_id":133245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:35:01] local.INFO: TCP Data received {"connection_id":133246,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:35:01] local.INFO: Processing buffer {"connection_id":133246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:35:01] local.INFO: IMEI packet received {"connection_id":133246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":133246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:35:02] local.INFO: TCP Data received {"connection_id":133245,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f28128012d0d2e800704ed50001a008820..."} 
[2026-07-15 09:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f28128012d0d2e800704ed50001a008820..."} 
[2026-07-15 09:35:02] local.INFO: Processing buffer {"connection_id":133245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f28128012d0d2e800704ed50001a008820..."} 
[2026-07-15 09:35:02] local.INFO: Packet analysis {"connection_id":133245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f2"} 
[2026-07-15 09:35:02] local.INFO: Extracted packet for processing {"connection_id":133245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f2"} 
[2026-07-15 09:35:02] local.INFO: GPS Element Parsed {"raw_longitude":755838592,"raw_latitude":117763408,"longitude_deg":75.5838592,"latitude_deg":11.7763408,"altitude":26,"angle":136,"satellites":32,"speed":5,"hex_longitude":"2d0d2e80","hex_latitude":"0704ed50","is_valid_coordinates":true} 
[2026-07-15 09:35: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-07-15 09:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726593024001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24623348155678720,"note":"Value kept but may cause issues"} 
[2026-07-15 09:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947022589290921984,"note":"Value kept but may cause issues"} 
[2026-07-15 09:35:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784088265000,"timestamp_ms":1784088265000,"timestamp_seconds":1784088265,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f28128"} 
[2026-07-15 09:35:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:35:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-07-15 09:35:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1256,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:35: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-07-15 09:35:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":133245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":133245,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":133245,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:35:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726593024001,"66":14439,"220":206,"94":10240,"24":5,"16":24623348155678720,"45":947022589290921984},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-07-15 09:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726593024001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:35:02] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-15 09:35:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24623348155678720,"km_value":24623348155678.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":947022589290921984,"description":"Unknown IO ID 45"} 
[2026-07-15 09:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726593024001,"power":14439,"unknown_220":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":947022589290921984}} 
[2026-07-15 09:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":133245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490383,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:35:02] local.INFO: GPS data processed {"connection_id":133245,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:35:02] local.INFO: Acknowledgment sent {"connection_id":133245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:35:06] local.INFO: TCP Data received {"connection_id":132408,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f15848012d7bbb4005ddf0a0000400c727..."} 
[2026-07-15 09:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f15848012d7bbb4005ddf0a0000400c727..."} 
[2026-07-15 09:35:06] local.INFO: Processing buffer {"connection_id":132408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f15848012d7bbb4005ddf0a0000400c727..."} 
[2026-07-15 09:35:06] local.INFO: Packet analysis {"connection_id":132408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f1"} 
[2026-07-15 09:35:06] local.INFO: Extracted packet for processing {"connection_id":132408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f1"} 
[2026-07-15 09:35:06] local.INFO: GPS Element Parsed {"raw_longitude":763083584,"raw_latitude":98431136,"longitude_deg":76.3083584,"latitude_deg":9.8431136,"altitude":4,"angle":199,"satellites":39,"speed":13,"hex_longitude":"2d7bbb40","hex_latitude":"05ddf0a0","is_valid_coordinates":true} 
[2026-07-15 09:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726575616001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106359479196450816,"note":"Value kept but may cause issues"} 
[2026-07-15 09:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916282862462029824,"note":"Value kept but may cause issues"} 
[2026-07-15 09:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784088189000,"timestamp_ms":1784088189000,"timestamp_seconds":1784088189,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f15848"} 
[2026-07-15 09:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-15 09:35:06] 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-07-15 09:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726575616001,"66":13015,"50":206,"85":15104,"24":13,"16":106359479196450816,"45":8916282862462029824},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-15 09:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726575616001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:35:06] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-15 09:35:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106359479196450816,"km_value":106359479196450.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916282862462029824,"description":"Unknown IO ID 45"} 
[2026-07-15 09:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726575616001,"power":13015,"unknown_50":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8916282862462029824}} 
[2026-07-15 09:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":132408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490384,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:35:06] local.INFO: GPS data processed {"connection_id":132408,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:35:06] local.INFO: Acknowledgment sent {"connection_id":132408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:35:07] local.INFO: TCP Data received {"connection_id":133246,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:35:07] local.INFO: Processing buffer {"connection_id":133246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:35:07] local.INFO: IMEI packet received {"connection_id":133246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":133246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:35:08] local.INFO: TCP Data received {"connection_id":133246,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ee1458012d7f998005afdce00000011c30..."} 
[2026-07-15 09:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ee1458012d7f998005afdce00000011c30..."} 
[2026-07-15 09:35:08] local.INFO: Processing buffer {"connection_id":133246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ee1458012d7f998005afdce00000011c30..."} 
[2026-07-15 09:35:08] local.INFO: Packet analysis {"connection_id":133246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ee"} 
[2026-07-15 09:35:08] local.INFO: Extracted packet for processing {"connection_id":133246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ee"} 
[2026-07-15 09:35:08] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726444544001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784087975000,"timestamp_ms":1784087975000,"timestamp_seconds":1784087975,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ee1458"} 
[2026-07-15 09:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:35:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-15 09:35:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:35:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":133246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":133246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":133246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726444544001,"66":25843,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726444544001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:35:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:35:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726444544001,"power":25843,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":133246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:35:08] local.INFO: GPS data processed {"connection_id":133246,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:35:08] local.INFO: Acknowledgment sent {"connection_id":133246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:35:29] local.INFO: TCP Data received {"connection_id":133247,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133247,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:35:29] local.INFO: Processing buffer {"connection_id":133247,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:35:29] local.INFO: IMEI packet received {"connection_id":133247,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 09:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":133247,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:35:32] local.INFO: TCP Data received {"connection_id":132219,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132219,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:35:32] local.INFO: Processing buffer {"connection_id":132219,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:35:32] local.INFO: IMEI packet received {"connection_id":132219,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 09:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":132219,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:35:34] local.INFO: TCP Data received {"connection_id":132219,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132219,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:35:35] local.INFO: Processing buffer {"connection_id":132219,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:35:35] local.INFO: IMEI packet received {"connection_id":132219,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":132219,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:35:35] local.INFO: TCP Data received {"connection_id":133247,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133247,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:35:35] local.INFO: Processing buffer {"connection_id":133247,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:35:35] local.INFO: IMEI packet received {"connection_id":133247,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":133247,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:35:35] local.INFO: TCP Data received {"connection_id":132219,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f28ce0012d0d30800704eb20001b00941f..."} 
[2026-07-15 09:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f28ce0012d0d30800704eb20001b00941f..."} 
[2026-07-15 09:35:35] local.INFO: Processing buffer {"connection_id":132219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f28ce0012d0d30800704eb20001b00941f..."} 
[2026-07-15 09:35:35] local.INFO: Packet analysis {"connection_id":132219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f2"} 
[2026-07-15 09:35:35] local.INFO: Extracted packet for processing {"connection_id":132219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f2"} 
[2026-07-15 09:35:35] local.INFO: GPS Element Parsed {"raw_longitude":755839104,"raw_latitude":117762848,"longitude_deg":75.5839104,"latitude_deg":11.7762848,"altitude":27,"angle":148,"satellites":31,"speed":12,"hex_longitude":"2d0d3080","hex_latitude":"0704eb20","is_valid_coordinates":true} 
[2026-07-15 09:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726595840001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24623382515417088,"note":"Value kept but may cause issues"} 
[2026-07-15 09:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949837339057541120,"note":"Value kept but may cause issues"} 
[2026-07-15 09:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784088268000,"timestamp_ms":1784088268000,"timestamp_seconds":1784088268,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f28ce0"} 
[2026-07-15 09:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 09:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:35:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132219,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132219,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726595840001,"66":14515,"220":206,"94":10240,"24":12,"16":24623382515417088,"45":949837339057541120},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-07-15 09:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726595840001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:35:35] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-15 09:35:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24623382515417088,"km_value":24623382515417.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":949837339057541120,"description":"Unknown IO ID 45"} 
[2026-07-15 09:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726595840001,"power":14515,"unknown_220":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":949837339057541120}} 
[2026-07-15 09:35:35] local.INFO: TCP Data received {"connection_id":133247,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f16018012d7bbb0005ddedb0000400b423..."} 
[2026-07-15 09:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f16018012d7bbb0005ddedb0000400b423..."} 
[2026-07-15 09:35:35] local.INFO: Processing buffer {"connection_id":133247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f16018012d7bbb0005ddedb0000400b423..."} 
[2026-07-15 09:35:35] local.INFO: Packet analysis {"connection_id":133247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f1"} 
[2026-07-15 09:35:35] local.INFO: Extracted packet for processing {"connection_id":133247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f1"} 
[2026-07-15 09:35:35] local.INFO: GPS Element Parsed {"raw_longitude":763083520,"raw_latitude":98430384,"longitude_deg":76.308352,"latitude_deg":9.8430384,"altitude":4,"angle":180,"satellites":35,"speed":14,"hex_longitude":"2d7bbb00","hex_latitude":"05ddedb0","is_valid_coordinates":true} 
[2026-07-15 09:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726576384001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106359513556189184,"note":"Value kept but may cause issues"} 
[2026-07-15 09:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915790281252577280,"note":"Value kept but may cause issues"} 
[2026-07-15 09:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784088191000,"timestamp_ms":1784088191000,"timestamp_seconds":1784088191,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f16018"} 
[2026-07-15 09:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-15 09:35:35] 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-07-15 09:35:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":133247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":133247,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":133247,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726576384001,"66":13341,"50":206,"85":15104,"24":14,"16":106359513556189184,"45":8915790281252577280},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-15 09:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726576384001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:35:35] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-15 09:35:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106359513556189184,"km_value":106359513556189.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915790281252577280,"description":"Unknown IO ID 45"} 
[2026-07-15 09:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726576384001,"power":13341,"unknown_50":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8915790281252577280}} 
[2026-07-15 09:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":132219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490386,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:35:35] local.INFO: GPS data processed {"connection_id":132219,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:35:35] local.INFO: Acknowledgment sent {"connection_id":132219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":133247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490387,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:35:35] local.INFO: GPS data processed {"connection_id":133247,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:35:35] local.INFO: Acknowledgment sent {"connection_id":133247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:35:39] local.INFO: TCP Data received {"connection_id":133246,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f2ac20012d7f998005afdce00000011c2e..."} 
[2026-07-15 09:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f2ac20012d7f998005afdce00000011c2e..."} 
[2026-07-15 09:35:39] local.INFO: Processing buffer {"connection_id":133246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f2ac20012d7f998005afdce00000011c2e..."} 
[2026-07-15 09:35:39] local.INFO: Packet analysis {"connection_id":133246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f2"} 
[2026-07-15 09:35:39] local.INFO: Extracted packet for processing {"connection_id":133246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f2"} 
[2026-07-15 09:35:39] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":46,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726521600001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784088276000,"timestamp_ms":1784088276000,"timestamp_seconds":1784088276,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f2ac20"} 
[2026-07-15 09:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:35:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-15 09:35:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:35:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:35:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726521600001,"66":25778,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726521600001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:35:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:35:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726521600001,"power":25778,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":133246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:35:39] local.INFO: GPS data processed {"connection_id":133246,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:35:39] local.INFO: Acknowledgment sent {"connection_id":133246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:35:40] local.INFO: TCP Data received {"connection_id":132219,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f29898012d0d32800704e758001b00a01e..."} 
[2026-07-15 09:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f29898012d0d32800704e758001b00a01e..."} 
[2026-07-15 09:35:40] local.INFO: Processing buffer {"connection_id":132219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f29898012d0d32800704e758001b00a01e..."} 
[2026-07-15 09:35:40] local.INFO: Packet analysis {"connection_id":132219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f2"} 
[2026-07-15 09:35:40] local.INFO: Extracted packet for processing {"connection_id":132219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f2"} 
[2026-07-15 09:35:40] local.INFO: GPS Element Parsed {"raw_longitude":755839616,"raw_latitude":117761880,"longitude_deg":75.5839616,"latitude_deg":11.776188,"altitude":27,"angle":160,"satellites":30,"speed":15,"hex_longitude":"2d0d3280","hex_latitude":"0704e758","is_valid_coordinates":true} 
[2026-07-15 09:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726596608001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24623434055024640,"note":"Value kept but may cause issues"} 
[2026-07-15 09:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":950400289010819072,"note":"Value kept but may cause issues"} 
[2026-07-15 09:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784088271000,"timestamp_ms":1784088271000,"timestamp_seconds":1784088271,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f29898"} 
[2026-07-15 09:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-15 09:35:40] 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-07-15 09:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132219,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132219,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726596608001,"66":14407,"220":206,"94":10240,"24":15,"16":24623434055024640,"45":950400289010819072},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-07-15 09:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726596608001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:35:40] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-15 09:35:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24623434055024640,"km_value":24623434055024.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":950400289010819072,"description":"Unknown IO ID 45"} 
[2026-07-15 09:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726596608001,"power":14407,"unknown_220":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":950400289010819072}} 
[2026-07-15 09:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":132219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490389,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:35:40] local.INFO: GPS data processed {"connection_id":132219,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:35:40] local.INFO: Acknowledgment sent {"connection_id":132219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:36:01] local.INFO: TCP Data received {"connection_id":132409,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:36:01] local.INFO: Processing buffer {"connection_id":132409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:36:01] local.INFO: IMEI packet received {"connection_id":132409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":132409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:36:06] local.INFO: TCP Data received {"connection_id":133247,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f18b10012d7bbc0005ddddb0000700a828..."} 
[2026-07-15 09:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f18b10012d7bbc0005ddddb0000700a828..."} 
[2026-07-15 09:36:06] local.INFO: Processing buffer {"connection_id":133247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f18b10012d7bbc0005ddddb0000700a828..."} 
[2026-07-15 09:36:06] local.INFO: Packet analysis {"connection_id":133247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f1"} 
[2026-07-15 09:36:06] local.INFO: Extracted packet for processing {"connection_id":133247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f1"} 
[2026-07-15 09:36:06] local.INFO: GPS Element Parsed {"raw_longitude":763083776,"raw_latitude":98426288,"longitude_deg":76.3083776,"latitude_deg":9.8426288,"altitude":7,"angle":168,"satellites":40,"speed":10,"hex_longitude":"2d7bbc00","hex_latitude":"05ddddb0","is_valid_coordinates":true} 
[2026-07-15 09:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726576896001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106359715419652096,"note":"Value kept but may cause issues"} 
[2026-07-15 09:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915719912508207104,"note":"Value kept but may cause issues"} 
[2026-07-15 09:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784088202000,"timestamp_ms":1784088202000,"timestamp_seconds":1784088202,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f18b10"} 
[2026-07-15 09:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-15 09:36:06] 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-07-15 09:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133247,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133247,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726576896001,"66":13363,"50":206,"85":15104,"24":10,"16":106359715419652096,"45":8915719912508207104},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-15 09:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726576896001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:36:06] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-15 09:36:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106359715419652096,"km_value":106359715419652.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915719912508207104,"description":"Unknown IO ID 45"} 
[2026-07-15 09:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726576896001,"power":13363,"unknown_50":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8915719912508207104}} 
[2026-07-15 09:36:06] local.INFO: TCP Data received {"connection_id":132409,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:36:06] local.INFO: Processing buffer {"connection_id":132409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:36:06] local.INFO: IMEI packet received {"connection_id":132409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":132409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":133247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490390,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:36:06] local.INFO: GPS data processed {"connection_id":133247,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:36:06] local.INFO: Acknowledgment sent {"connection_id":133247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:36:07] local.INFO: TCP Data received {"connection_id":132409,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f2ac20012d7f998005afdce00000011c2e..."} 
[2026-07-15 09:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f2ac20012d7f998005afdce00000011c2e..."} 
[2026-07-15 09:36:07] local.INFO: Processing buffer {"connection_id":132409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f2ac20012d7f998005afdce00000011c2e..."} 
[2026-07-15 09:36:07] local.INFO: Packet analysis {"connection_id":132409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f2"} 
[2026-07-15 09:36:07] local.INFO: Extracted packet for processing {"connection_id":132409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f2"} 
[2026-07-15 09:36:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":46,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726521600001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784088276000,"timestamp_ms":1784088276000,"timestamp_seconds":1784088276,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f2ac20"} 
[2026-07-15 09:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-15 09:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:36:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726521600001,"66":25778,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726521600001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:36:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:36:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726521600001,"power":25778,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":132409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:36:07] local.INFO: GPS data processed {"connection_id":132409,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:36:07] local.INFO: Acknowledgment sent {"connection_id":132409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:36:12] local.INFO: TCP Data received {"connection_id":132219,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f2bbc0012d0d37000704d9f0001c00b220..."} 
[2026-07-15 09:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f2bbc0012d0d37000704d9f0001c00b220..."} 
[2026-07-15 09:36:12] local.INFO: Processing buffer {"connection_id":132219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f2bbc0012d0d37000704d9f0001c00b220..."} 
[2026-07-15 09:36:12] local.INFO: Packet analysis {"connection_id":132219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f2"} 
[2026-07-15 09:36:12] local.INFO: Extracted packet for processing {"connection_id":132219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f2"} 
[2026-07-15 09:36:12] local.INFO: GPS Element Parsed {"raw_longitude":755840768,"raw_latitude":117758448,"longitude_deg":75.5840768,"latitude_deg":11.7758448,"altitude":28,"angle":178,"satellites":32,"speed":14,"hex_longitude":"2d0d3700","hex_latitude":"0704d9f0","is_valid_coordinates":true} 
[2026-07-15 09:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726597376001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24623610148683776,"note":"Value kept but may cause issues"} 
[2026-07-15 09:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":950963238963992576,"note":"Value kept but may cause issues"} 
[2026-07-15 09:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784088280000,"timestamp_ms":1784088280000,"timestamp_seconds":1784088280,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f2bbc0"} 
[2026-07-15 09:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:36:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-15 09:36:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:36:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132219,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132219,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726597376001,"66":14450,"220":206,"94":10240,"24":14,"16":24623610148683776,"45":950963238963992576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-07-15 09:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726597376001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:36:12] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-15 09:36:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24623610148683776,"km_value":24623610148683.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":950963238963992576,"description":"Unknown IO ID 45"} 
[2026-07-15 09:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726597376001,"power":14450,"unknown_220":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":950963238963992576}} 
[2026-07-15 09:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":132219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490392,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:36:12] local.INFO: GPS data processed {"connection_id":132219,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:36:12] local.INFO: Acknowledgment sent {"connection_id":132219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:36:29] local.INFO: TCP Data received {"connection_id":132410,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132410,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:36:29] local.INFO: Processing buffer {"connection_id":132410,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:36:29] local.INFO: IMEI packet received {"connection_id":132410,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 09:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":132410,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:36:29] local.INFO: TCP Data received {"connection_id":134602,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134602,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:36:29] local.INFO: Processing buffer {"connection_id":134602,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:36:29] local.INFO: IMEI packet received {"connection_id":134602,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 09:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":134602,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:36:29] local.INFO: TCP Data received {"connection_id":132410,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132410,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:36:29] local.INFO: Processing buffer {"connection_id":132410,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:36:29] local.INFO: IMEI packet received {"connection_id":132410,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":132410,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:36:31] local.INFO: TCP Data received {"connection_id":134602,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134602,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:36:31] local.INFO: Processing buffer {"connection_id":134602,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:36:31] local.INFO: IMEI packet received {"connection_id":134602,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":134602,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:36:32] local.INFO: TCP Data received {"connection_id":134602,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134602,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:36:32] local.INFO: Processing buffer {"connection_id":134602,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:36:32] local.INFO: IMEI packet received {"connection_id":134602,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":134602,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:36:32] local.INFO: TCP Data received {"connection_id":132410,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132410,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:36:32] local.INFO: Processing buffer {"connection_id":132410,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:36:32] local.INFO: IMEI packet received {"connection_id":132410,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":132410,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:36:33] local.INFO: TCP Data received {"connection_id":132410,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f309e0012d0d39c00704c3e0001e00ab1f..."} 
[2026-07-15 09:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f309e0012d0d39c00704c3e0001e00ab1f..."} 
[2026-07-15 09:36:33] local.INFO: Processing buffer {"connection_id":132410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f309e0012d0d39c00704c3e0001e00ab1f..."} 
[2026-07-15 09:36:33] local.INFO: Packet analysis {"connection_id":132410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f3"} 
[2026-07-15 09:36:33] local.INFO: Extracted packet for processing {"connection_id":132410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f3"} 
[2026-07-15 09:36:33] local.INFO: GPS Element Parsed {"raw_longitude":755841472,"raw_latitude":117752800,"longitude_deg":75.5841472,"latitude_deg":11.77528,"altitude":30,"angle":171,"satellites":31,"speed":5,"hex_longitude":"2d0d39c0","hex_latitude":"0704c3e0","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726599680001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24623889321558016,"note":"Value kept but may cause issues"} 
[2026-07-15 09:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952229876358311936,"note":"Value kept but may cause issues"} 
[2026-07-15 09:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784088300000,"timestamp_ms":1784088300000,"timestamp_seconds":1784088300,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f309e0"} 
[2026-07-15 09:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-15 09:36:33] 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-07-15 09: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-07-15 09:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":132410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":132410,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":132410,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726599680001,"66":14439,"166":206,"94":11008,"24":5,"16":24623889321558016,"45":952229876358311936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,94,24,16,45]} 
[2026-07-15 09:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726599680001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:36:33] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-15 09:36:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 09:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24623889321558016,"km_value":24623889321558.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":952229876358311936,"description":"Unknown IO ID 45"} 
[2026-07-15 09:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726599680001,"power":14439,"unknown_166":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":952229876358311936}} 
[2026-07-15 09:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":132410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490393,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:36:33] local.INFO: GPS data processed {"connection_id":132410,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:36:33] local.INFO: Acknowledgment sent {"connection_id":132410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:36:35] local.INFO: TCP Data received {"connection_id":132220,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132220,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:36:35] local.INFO: Processing buffer {"connection_id":132220,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:36:35] local.INFO: IMEI packet received {"connection_id":132220,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 09:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":132220,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:36:36] local.INFO: TCP Data received {"connection_id":134602,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134602,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:36:36] local.INFO: Processing buffer {"connection_id":134602,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:36:36] local.INFO: IMEI packet received {"connection_id":134602,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":134602,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:36:37] local.INFO: TCP Data received {"connection_id":134602,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f44e18012d7bc00005ddb9c0000600a526..."} 
[2026-07-15 09:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f44e18012d7bc00005ddb9c0000600a526..."} 
[2026-07-15 09:36:37] local.INFO: Processing buffer {"connection_id":134602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f44e18012d7bc00005ddb9c0000600a526..."} 
[2026-07-15 09:36:37] local.INFO: Packet analysis {"connection_id":134602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f4"} 
[2026-07-15 09:36:37] local.INFO: Extracted packet for processing {"connection_id":134602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f4"} 
[2026-07-15 09:36:37] local.INFO: GPS Element Parsed {"raw_longitude":763084800,"raw_latitude":98417088,"longitude_deg":76.30848,"latitude_deg":9.8417088,"altitude":6,"angle":165,"satellites":38,"speed":0,"hex_longitude":"2d7bc000","hex_latitude":"05ddb9c0","is_valid_coordinates":true} 
[2026-07-15 09:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726620672001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106360183571087360,"note":"Value kept but may cause issues"} 
[2026-07-15 09:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917127287388356608,"note":"Value kept but may cause issues"} 
[2026-07-15 09:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784088383000,"timestamp_ms":1784088383000,"timestamp_seconds":1784088383,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f44e18"} 
[2026-07-15 09:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-15 09:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":134602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":134602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":134602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726620672001,"66":13580,"185":206,"85":15104,"24":0,"16":106360183571087360,"45":8917127287388356608},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-15 09:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726620672001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:36:37] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-15 09:36:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106360183571087360,"km_value":106360183571087.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917127287388356608,"description":"Unknown IO ID 45"} 
[2026-07-15 09:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726620672001,"power":13580,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8917127287388356608}} 
[2026-07-15 09:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":134602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490394,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:36:37] local.INFO: GPS data processed {"connection_id":134602,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:36:37] local.INFO: Acknowledgment sent {"connection_id":134602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:36:38] local.INFO: TCP Data received {"connection_id":132409,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f2ac20012d7f998005afdce00000011c2e..."} 
[2026-07-15 09:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f2ac20012d7f998005afdce00000011c2e..."} 
[2026-07-15 09:36:38] local.INFO: Processing buffer {"connection_id":132409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f2ac20012d7f998005afdce00000011c2e..."} 
[2026-07-15 09:36:38] local.INFO: Packet analysis {"connection_id":132409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f2"} 
[2026-07-15 09:36:38] local.INFO: Extracted packet for processing {"connection_id":132409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f2"} 
[2026-07-15 09:36:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":46,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726521600001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784088276000,"timestamp_ms":1784088276000,"timestamp_seconds":1784088276,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f2ac20"} 
[2026-07-15 09:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-15 09:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:36:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726521600001,"66":25778,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726521600001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:36:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:36:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726521600001,"power":25778,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":132409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:36:38] local.INFO: GPS data processed {"connection_id":132409,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:36:38] local.INFO: Acknowledgment sent {"connection_id":132409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:36:40] local.INFO: TCP Data received {"connection_id":132220,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132220,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:36:40] local.INFO: Processing buffer {"connection_id":132220,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:36:40] local.INFO: IMEI packet received {"connection_id":132220,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 09:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":132220,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:36:42] local.INFO: TCP Data received {"connection_id":132220,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f63e50020012d34c2c006aa3fb8000801022f..."} 
[2026-07-15 09:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63e50020012d34c2c006aa3fb8000801022f..."} 
[2026-07-15 09:36:42] local.INFO: Processing buffer {"connection_id":132220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63e50020012d34c2c006aa3fb8000801022f..."} 
[2026-07-15 09:36:42] local.INFO: Packet analysis {"connection_id":132220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63e5"} 
[2026-07-15 09:36:42] local.INFO: Extracted packet for processing {"connection_id":132220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63e5"} 
[2026-07-15 09:36:42] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820728,"longitude_deg":75.8432448,"latitude_deg":11.1820728,"altitude":8,"angle":258,"satellites":47,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3fb8","is_valid_coordinates":true} 
[2026-07-15 09:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726292224001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":136313259723587584,"note":"Value kept but may cause issues"} 
[2026-07-15 09:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312759296,"note":"Value kept but may cause issues"} 
[2026-07-15 09:36:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784087380000,"timestamp_ms":1784087380000,"timestamp_seconds":1784087380,"priority":1,"record_length":96,"hex_timestamp":"0000019f63e50020"} 
[2026-07-15 09:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:36: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-07-15 09:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 09:36:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132220,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 09:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132220,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 09:36:42] 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-07-15 09:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 09:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 09:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726292224001,"66":25734,"97":206,"81":23296,"24":0,"16":136313259723587584,"45":3801812170312759296},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-15 09:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 09:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 09:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726292224001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:36:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 09:36:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-15 09:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":136313259723587584,"km_value":136313259723587.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312759296,"description":"Unknown IO ID 45"} 
[2026-07-15 09:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726292224001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312759296}} 
[2026-07-15 09:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":132220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490396,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:36:42] local.INFO: GPS data processed {"connection_id":132220,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:36:42] local.INFO: Acknowledgment sent {"connection_id":132220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:37:01] local.INFO: TCP Data received {"connection_id":132221,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:37:01] local.INFO: Processing buffer {"connection_id":132221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:37:01] local.INFO: IMEI packet received {"connection_id":132221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":132221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:37:04] local.INFO: TCP Data received {"connection_id":132410,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f4a020012d0d2e4007045880001a00bf20..."} 
[2026-07-15 09:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f4a020012d0d2e4007045880001a00bf20..."} 
[2026-07-15 09:37:04] local.INFO: Processing buffer {"connection_id":132410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f4a020012d0d2e4007045880001a00bf20..."} 
[2026-07-15 09:37:04] local.INFO: Packet analysis {"connection_id":132410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f4"} 
[2026-07-15 09:37:04] local.INFO: Extracted packet for processing {"connection_id":132410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f4"} 
[2026-07-15 09:37:04] local.INFO: GPS Element Parsed {"raw_longitude":755838528,"raw_latitude":117725312,"longitude_deg":75.5838528,"latitude_deg":11.7725312,"altitude":26,"angle":191,"satellites":32,"speed":10,"hex_longitude":"2d0d2e40","hex_latitude":"07045880","is_valid_coordinates":true} 
[2026-07-15 09:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726629120001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24625259416125440,"note":"Value kept but may cause issues"} 
[2026-07-15 09:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":950681763978530816,"note":"Value kept but may cause issues"} 
[2026-07-15 09:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784088404000,"timestamp_ms":1784088404000,"timestamp_seconds":1784088404,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f4a020"} 
[2026-07-15 09:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:37:04] 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-07-15 09:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 09:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:37:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":132410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":132410,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":132410,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726629120001,"66":14537,"17":206,"94":11008,"24":10,"16":24625259416125440,"45":950681763978530816},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-15 09:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726629120001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:37:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 09:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24625259416125440,"km_value":24625259416125.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":950681763978530816,"description":"Unknown IO ID 45"} 
[2026-07-15 09:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726629120001,"power":14537,"axis_x":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":950681763978530816}} 
[2026-07-15 09:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":132410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490397,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:37:04] local.INFO: GPS data processed {"connection_id":132410,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:37:04] local.INFO: Acknowledgment sent {"connection_id":132410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:37:06] local.INFO: TCP Data received {"connection_id":132221,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:37:06] local.INFO: Processing buffer {"connection_id":132221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:37:06] local.INFO: IMEI packet received {"connection_id":132221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":132221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:37:07] local.INFO: TCP Data received {"connection_id":134602,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f46970012d7bc00005ddb9c0000600a527..."} 
[2026-07-15 09:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f46970012d7bc00005ddb9c0000600a527..."} 
[2026-07-15 09:37:07] local.INFO: Processing buffer {"connection_id":134602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f46970012d7bc00005ddb9c0000600a527..."} 
[2026-07-15 09:37:07] local.INFO: Packet analysis {"connection_id":134602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f4"} 
[2026-07-15 09:37:07] local.INFO: Extracted packet for processing {"connection_id":134602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f4"} 
[2026-07-15 09:37:07] local.INFO: GPS Element Parsed {"raw_longitude":763084800,"raw_latitude":98417088,"longitude_deg":76.30848,"latitude_deg":9.8417088,"altitude":6,"angle":165,"satellites":39,"speed":0,"hex_longitude":"2d7bc000","hex_latitude":"05ddb9c0","is_valid_coordinates":true} 
[2026-07-15 09:37:07] 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-07-15 09:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726626048001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106360183571087360,"note":"Value kept but may cause issues"} 
[2026-07-15 09:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917127287388356608,"note":"Value kept but may cause issues"} 
[2026-07-15 09:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784088390000,"timestamp_ms":1784088390000,"timestamp_seconds":1784088390,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f46970"} 
[2026-07-15 09:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-15 09:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751610333,"note":"Value kept but may cause issues"} 
[2026-07-15 09:37:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 09:37:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":8781461820977184768,"note":"Value kept but may cause issues"} 
[2026-07-15 09:37:07] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-15 09:37:07] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13477561,"corrected_to":0} 
[2026-07-15 09:37:07] local.WARNING: Large IO value detected {"io_id":99,"raw_value":4077254657,"note":"Value kept but may cause issues"} 
[2026-07-15 09:37:07] local.WARNING: Large IO value detected {"io_id":221,"raw_value":3116367878,"note":"Value kept but may cause issues"} 
[2026-07-15 09:37:07] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633015547504313,"note":"Value kept but may cause issues"} 
[2026-07-15 09:37:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797142222,"corrected_to":0} 
[2026-07-15 09:37:07] local.WARNING: Large IO value detected {"io_id":179,"raw_value":4026609019,"note":"Value kept but may cause issues"} 
[2026-07-15 09:37:07] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2231422374,"note":"Value kept but may cause issues"} 
[2026-07-15 09:37:07] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-15 09:37:07] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3724935168,"note":"Value kept but may cause issues"} 
[2026-07-15 09:37:07] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3719950336,"note":"Value kept but may cause issues"} 
[2026-07-15 09:37:07] local.WARNING: Large IO value detected {"io_id":123,"raw_value":-4611679568524738554,"note":"Value kept but may cause issues"} 
[2026-07-15 09:37:07] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4972200104569130581,"note":"Value kept but may cause issues"} 
[2026-07-15 09:37:07] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755416621056241,"note":"Value kept but may cause issues"} 
[2026-07-15 09:37:07] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,185,85,24,241,157,16,222,159,252,45,6,39,10,66,170,37,88,1,240,203,227,99,221,4,113,205,179,192,41,239,51,2,121,5,3,123,49,59],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":203,"original":13477561,"validated":0},{"io_id":205,"original":2797142222,"validated":0}]} 
[2026-07-15 09:37:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432527146854907904,"timestamp_seconds":432527146854907.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 09:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726626048001,"66":13515,"185":206,"85":15104,"24":0,"16":106360183571087360,"45":8917127287388356608},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-15 09:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726626048001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:37:07] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-15 09:37:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106360183571087360,"km_value":106360183571087.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917127287388356608,"description":"Unknown IO ID 45"} 
[2026-07-15 09:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726626048001,"power":13515,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8917127287388356608}} 
[2026-07-15 09:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":134602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490398,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:37:07] local.INFO: GPS data processed {"connection_id":134602,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:37:07] local.INFO: Acknowledgment sent {"connection_id":134602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:37:08] local.INFO: TCP Data received {"connection_id":132221,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f2ac20012d7f998005afdce00000011c2e..."} 
[2026-07-15 09:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f2ac20012d7f998005afdce00000011c2e..."} 
[2026-07-15 09:37:08] local.INFO: Processing buffer {"connection_id":132221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f2ac20012d7f998005afdce00000011c2e..."} 
[2026-07-15 09:37:08] local.INFO: Packet analysis {"connection_id":132221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f2"} 
[2026-07-15 09:37:08] local.INFO: Extracted packet for processing {"connection_id":132221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f2"} 
[2026-07-15 09:37:08] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":46,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726521600001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784088276000,"timestamp_ms":1784088276000,"timestamp_seconds":1784088276,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f2ac20"} 
[2026-07-15 09:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-15 09:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726521600001,"66":25778,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726521600001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:37:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:37:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726521600001,"power":25778,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":132221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:37:08] local.INFO: GPS data processed {"connection_id":132221,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:37:08] local.INFO: Acknowledgment sent {"connection_id":132221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:37:29] local.INFO: TCP Data received {"connection_id":132222,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132222,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:37:29] local.INFO: Processing buffer {"connection_id":132222,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:37:29] local.INFO: IMEI packet received {"connection_id":132222,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 09:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":132222,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:37:34] local.INFO: TCP Data received {"connection_id":132222,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132222,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:37:34] local.INFO: Processing buffer {"connection_id":132222,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:37:34] local.INFO: IMEI packet received {"connection_id":132222,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":132222,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:37:35] local.INFO: TCP Data received {"connection_id":133248,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133248,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:37:35] local.INFO: Processing buffer {"connection_id":133248,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:37:35] local.INFO: IMEI packet received {"connection_id":133248,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 09:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":133248,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:37:35] local.INFO: TCP Data received {"connection_id":133249,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133249,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:37:35] local.INFO: Processing buffer {"connection_id":133249,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:37:35] local.INFO: IMEI packet received {"connection_id":133249,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 09:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":133249,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:37:35] local.INFO: TCP Data received {"connection_id":132222,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f4dab8012d0d2b0007044898001800af20..."} 
[2026-07-15 09:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f4dab8012d0d2b0007044898001800af20..."} 
[2026-07-15 09:37:35] local.INFO: Processing buffer {"connection_id":132222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f4dab8012d0d2b0007044898001800af20..."} 
[2026-07-15 09:37:35] local.INFO: Packet analysis {"connection_id":132222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f4"} 
[2026-07-15 09:37:35] local.INFO: Extracted packet for processing {"connection_id":132222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f4"} 
[2026-07-15 09:37:35] local.INFO: GPS Element Parsed {"raw_longitude":755837696,"raw_latitude":117721240,"longitude_deg":75.5837696,"latitude_deg":11.772124,"altitude":24,"angle":175,"satellites":32,"speed":8,"hex_longitude":"2d0d2b00","hex_latitude":"07044898","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726631424001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24625461279588352,"note":"Value kept but may cause issues"} 
[2026-07-15 09:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949766970303610880,"note":"Value kept but may cause issues"} 
[2026-07-15 09:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784088419000,"timestamp_ms":1784088419000,"timestamp_seconds":1784088419,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f4dab8"} 
[2026-07-15 09:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-15 09:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132222,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132222,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726631424001,"66":14439,"17":206,"94":11008,"24":8,"16":24625461279588352,"45":949766970303610880},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-15 09:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726631424001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:37:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 09:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24625461279588352,"km_value":24625461279588.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":949766970303610880,"description":"Unknown IO ID 45"} 
[2026-07-15 09:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726631424001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":949766970303610880}} 
[2026-07-15 09:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":132222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490400,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:37:35] local.INFO: GPS data processed {"connection_id":132222,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:37:35] local.INFO: Acknowledgment sent {"connection_id":132222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:37:39] local.INFO: TCP Data received {"connection_id":132221,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f2ac20012d7f998005afdce00000011c2e..."} 
[2026-07-15 09:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f2ac20012d7f998005afdce00000011c2e..."} 
[2026-07-15 09:37:39] local.INFO: Processing buffer {"connection_id":132221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f2ac20012d7f998005afdce00000011c2e..."} 
[2026-07-15 09:37:39] local.INFO: Packet analysis {"connection_id":132221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f2"} 
[2026-07-15 09:37:39] local.INFO: Extracted packet for processing {"connection_id":132221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f2"} 
[2026-07-15 09:37:39] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":46,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726521600001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:37:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784088276000,"timestamp_ms":1784088276000,"timestamp_seconds":1784088276,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f2ac20"} 
[2026-07-15 09:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:37:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-15 09:37:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:37:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:37:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726521600001,"66":25778,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726521600001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:37:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:37:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726521600001,"power":25778,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":132221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:37:39] local.INFO: GPS data processed {"connection_id":132221,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:37:39] local.INFO: Acknowledgment sent {"connection_id":132221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:37:39] local.INFO: TCP Data received {"connection_id":133248,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133248,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:37:39] local.INFO: Processing buffer {"connection_id":133248,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:37:39] local.INFO: IMEI packet received {"connection_id":133248,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":133248,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:37:40] local.INFO: TCP Data received {"connection_id":133248,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f46970012d7bc00005ddb9c0000600a527..."} 
[2026-07-15 09:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f46970012d7bc00005ddb9c0000600a527..."} 
[2026-07-15 09:37:40] local.INFO: Processing buffer {"connection_id":133248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f46970012d7bc00005ddb9c0000600a527..."} 
[2026-07-15 09:37:40] local.INFO: Packet analysis {"connection_id":133248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f4"} 
[2026-07-15 09:37:40] local.INFO: Extracted packet for processing {"connection_id":133248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f4"} 
[2026-07-15 09:37:40] local.INFO: GPS Element Parsed {"raw_longitude":763084800,"raw_latitude":98417088,"longitude_deg":76.30848,"latitude_deg":9.8417088,"altitude":6,"angle":165,"satellites":39,"speed":0,"hex_longitude":"2d7bc000","hex_latitude":"05ddb9c0","is_valid_coordinates":true} 
[2026-07-15 09:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726627840001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106360183571087360,"note":"Value kept but may cause issues"} 
[2026-07-15 09:37:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917127287388356608,"note":"Value kept but may cause issues"} 
[2026-07-15 09:37:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784088390000,"timestamp_ms":1784088390000,"timestamp_seconds":1784088390,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f46970"} 
[2026-07-15 09:37:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:37:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-15 09:37:40] 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-07-15 09:37:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:37:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":133248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":133248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":133248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:37:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726627840001,"66":13515,"185":206,"85":15104,"24":0,"16":106360183571087360,"45":8917127287388356608},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-15 09:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726627840001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:37:40] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-15 09:37:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106360183571087360,"km_value":106360183571087.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:37:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917127287388356608,"description":"Unknown IO ID 45"} 
[2026-07-15 09:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726627840001,"power":13515,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8917127287388356608}} 
[2026-07-15 09:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":133248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490402,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:37:40] local.INFO: GPS data processed {"connection_id":133248,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:37:40] local.INFO: Acknowledgment sent {"connection_id":133248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:37:45] local.INFO: TCP Data received {"connection_id":133248,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f46970012d7bc00005ddb9c0000600a527..."} 
[2026-07-15 09:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f46970012d7bc00005ddb9c0000600a527..."} 
[2026-07-15 09:37:45] local.INFO: Processing buffer {"connection_id":133248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f46970012d7bc00005ddb9c0000600a527..."} 
[2026-07-15 09:37:45] local.INFO: Packet analysis {"connection_id":133248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f4"} 
[2026-07-15 09:37:45] local.INFO: Extracted packet for processing {"connection_id":133248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f4"} 
[2026-07-15 09:37:45] local.INFO: GPS Element Parsed {"raw_longitude":763084800,"raw_latitude":98417088,"longitude_deg":76.30848,"latitude_deg":9.8417088,"altitude":6,"angle":165,"satellites":39,"speed":0,"hex_longitude":"2d7bc000","hex_latitude":"05ddb9c0","is_valid_coordinates":true} 
[2026-07-15 09:37:45] 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-07-15 09:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726627840001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106360183571087360,"note":"Value kept but may cause issues"} 
[2026-07-15 09:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917127287388356608,"note":"Value kept but may cause issues"} 
[2026-07-15 09:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784088390000,"timestamp_ms":1784088390000,"timestamp_seconds":1784088390,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f46970"} 
[2026-07-15 09:37:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:37:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-15 09:37:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:37:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:37:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":133248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":133248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":133248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726627840001,"66":13515,"185":206,"85":15104,"24":0,"16":106360183571087360,"45":8917127287388356608},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-15 09:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726627840001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:37:45] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-15 09:37:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106360183571087360,"km_value":106360183571087.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917127287388356608,"description":"Unknown IO ID 45"} 
[2026-07-15 09:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726627840001,"power":13515,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8917127287388356608}} 
[2026-07-15 09:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":133248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490403,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:37:45] local.INFO: GPS data processed {"connection_id":133248,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:37:45] local.INFO: Acknowledgment sent {"connection_id":133248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:38:01] local.INFO: TCP Data received {"connection_id":132223,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:38:01] local.INFO: Processing buffer {"connection_id":132223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:38:01] local.INFO: IMEI packet received {"connection_id":132223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":132223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:38:06] local.INFO: TCP Data received {"connection_id":132222,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f4e288012d0d2b0007044708001700bf1f..."} 
[2026-07-15 09:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f4e288012d0d2b0007044708001700bf1f..."} 
[2026-07-15 09:38:06] local.INFO: Processing buffer {"connection_id":132222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f4e288012d0d2b0007044708001700bf1f..."} 
[2026-07-15 09:38:06] local.INFO: Packet analysis {"connection_id":132222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f4"} 
[2026-07-15 09:38:06] local.INFO: Extracted packet for processing {"connection_id":132222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f4"} 
[2026-07-15 09:38:06] local.INFO: GPS Element Parsed {"raw_longitude":755837696,"raw_latitude":117720840,"longitude_deg":75.5837696,"latitude_deg":11.772084,"altitude":23,"angle":191,"satellites":31,"speed":7,"hex_longitude":"2d0d2b00","hex_latitude":"07044708","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726635264001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24625482754424832,"note":"Value kept but may cause issues"} 
[2026-07-15 09:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948852176628258816,"note":"Value kept but may cause issues"} 
[2026-07-15 09:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784088421000,"timestamp_ms":1784088421000,"timestamp_seconds":1784088421,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f4e288"} 
[2026-07-15 09:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 09:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132222,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132222,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726635264001,"66":14461,"17":206,"94":11008,"24":7,"16":24625482754424832,"45":948852176628258816},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-15 09:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726635264001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:38:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 09:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24625482754424832,"km_value":24625482754424.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":948852176628258816,"description":"Unknown IO ID 45"} 
[2026-07-15 09:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726635264001,"power":14461,"axis_x":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":948852176628258816}} 
[2026-07-15 09:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":132222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490404,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:38:06] local.INFO: GPS data processed {"connection_id":132222,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:38:06] local.INFO: Acknowledgment sent {"connection_id":132222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:38:09] local.INFO: TCP Data received {"connection_id":132223,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:38:09] local.INFO: Processing buffer {"connection_id":132223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:38:09] local.INFO: IMEI packet received {"connection_id":132223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":132223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:38:25] local.INFO: TCP Data received {"connection_id":132223,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f2ac20012d7f998005afdce00000011c2e..."} 
[2026-07-15 09:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f2ac20012d7f998005afdce00000011c2e..."} 
[2026-07-15 09:38:25] local.INFO: Processing buffer {"connection_id":132223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f2ac20012d7f998005afdce00000011c2e..."} 
[2026-07-15 09:38:25] local.INFO: Packet analysis {"connection_id":132223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f2"} 
[2026-07-15 09:38:25] local.INFO: Extracted packet for processing {"connection_id":132223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f2"} 
[2026-07-15 09:38:25] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":46,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726521600001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784088276000,"timestamp_ms":1784088276000,"timestamp_seconds":1784088276,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f2ac20"} 
[2026-07-15 09:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-15 09:38:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:38:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":132223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":132223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":132223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:38: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-07-15 09:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726521600001,"66":25778,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726521600001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:38:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:38:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726521600001,"power":25778,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":132223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:38:25] local.INFO: GPS data processed {"connection_id":132223,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:38:25] local.INFO: Acknowledgment sent {"connection_id":132223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:38:29] local.INFO: TCP Data received {"connection_id":134603,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134603,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:38:29] local.INFO: Processing buffer {"connection_id":134603,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:38:29] local.INFO: IMEI packet received {"connection_id":134603,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 09:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":134603,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:38:30] local.INFO: TCP Data received {"connection_id":134604,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134604,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:38:30] local.INFO: Processing buffer {"connection_id":134604,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:38:30] local.INFO: IMEI packet received {"connection_id":134604,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 09:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":134604,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:38:30] local.INFO: TCP Data received {"connection_id":134604,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134604,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:38:30] local.INFO: Processing buffer {"connection_id":134604,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:38:30] local.INFO: IMEI packet received {"connection_id":134604,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":134604,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:38:34] local.INFO: TCP Data received {"connection_id":134603,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134603,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:38:34] local.INFO: Processing buffer {"connection_id":134603,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:38:34] local.INFO: IMEI packet received {"connection_id":134603,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":134603,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:38:34] local.INFO: TCP Data received {"connection_id":134604,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134604,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:38:34] local.INFO: Processing buffer {"connection_id":134604,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:38:34] local.INFO: IMEI packet received {"connection_id":134604,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":134604,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:38:35] local.INFO: TCP Data received {"connection_id":134603,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f46970012d7bc00005ddb9c0000600a527..."} 
[2026-07-15 09:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f46970012d7bc00005ddb9c0000600a527..."} 
[2026-07-15 09:38:35] local.INFO: Processing buffer {"connection_id":134603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f46970012d7bc00005ddb9c0000600a527..."} 
[2026-07-15 09:38:35] local.INFO: Packet analysis {"connection_id":134603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f4"} 
[2026-07-15 09:38:35] local.INFO: Extracted packet for processing {"connection_id":134603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f4"} 
[2026-07-15 09:38:35] local.INFO: GPS Element Parsed {"raw_longitude":763084800,"raw_latitude":98417088,"longitude_deg":76.30848,"latitude_deg":9.8417088,"altitude":6,"angle":165,"satellites":39,"speed":0,"hex_longitude":"2d7bc000","hex_latitude":"05ddb9c0","is_valid_coordinates":true} 
[2026-07-15 09:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726627840001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106360183571087360,"note":"Value kept but may cause issues"} 
[2026-07-15 09:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917127287388356608,"note":"Value kept but may cause issues"} 
[2026-07-15 09:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784088390000,"timestamp_ms":1784088390000,"timestamp_seconds":1784088390,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f46970"} 
[2026-07-15 09:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-15 09:38:35] 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-07-15 09:38:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":134603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":134603,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":134603,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726627840001,"66":13515,"185":206,"85":15104,"24":0,"16":106360183571087360,"45":8917127287388356608},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-15 09:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726627840001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:38:35] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-15 09:38:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106360183571087360,"km_value":106360183571087.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917127287388356608,"description":"Unknown IO ID 45"} 
[2026-07-15 09:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726627840001,"power":13515,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8917127287388356608}} 
[2026-07-15 09:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":134603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490406,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:38:35] local.INFO: GPS data processed {"connection_id":134603,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:38:35] local.INFO: Acknowledgment sent {"connection_id":134603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:38:35] local.INFO: TCP Data received {"connection_id":134604,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f51938012d0d284007043c00001700d520..."} 
[2026-07-15 09:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f51938012d0d284007043c00001700d520..."} 
[2026-07-15 09:38:35] local.INFO: Processing buffer {"connection_id":134604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f51938012d0d284007043c00001700d520..."} 
[2026-07-15 09:38:35] local.INFO: Packet analysis {"connection_id":134604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f5"} 
[2026-07-15 09:38:35] local.INFO: Extracted packet for processing {"connection_id":134604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f5"} 
[2026-07-15 09:38:35] local.INFO: GPS Element Parsed {"raw_longitude":755836992,"raw_latitude":117718016,"longitude_deg":75.5836992,"latitude_deg":11.7718016,"altitude":23,"angle":213,"satellites":32,"speed":6,"hex_longitude":"2d0d2840","hex_latitude":"07043c00","is_valid_coordinates":true} 
[2026-07-15 09:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726635776001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24625624488345600,"note":"Value kept but may cause issues"} 
[2026-07-15 09:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948852176628156416,"note":"Value kept but may cause issues"} 
[2026-07-15 09:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784088435000,"timestamp_ms":1784088435000,"timestamp_seconds":1784088435,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f51938"} 
[2026-07-15 09:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-15 09:38:35] 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-07-15 09:38:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":134604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":134604,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":134604,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726635776001,"66":14450,"17":206,"94":11008,"24":6,"16":24625624488345600,"45":948852176628156416},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-15 09:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726635776001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:38:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 09:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24625624488345600,"km_value":24625624488345.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":948852176628156416,"description":"Unknown IO ID 45"} 
[2026-07-15 09:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726635776001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":948852176628156416}} 
[2026-07-15 09:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":134604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490407,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:38:35] local.INFO: GPS data processed {"connection_id":134604,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:38:35] local.INFO: Acknowledgment sent {"connection_id":134604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:39:01] local.INFO: TCP Data received {"connection_id":134605,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:39:01] local.INFO: Processing buffer {"connection_id":134605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:39:01] local.INFO: IMEI packet received {"connection_id":134605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":134605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:39:06] local.INFO: TCP Data received {"connection_id":134603,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f46970012d7bc00005ddb9c0000600a527..."} 
[2026-07-15 09:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f46970012d7bc00005ddb9c0000600a527..."} 
[2026-07-15 09:39:06] local.INFO: Processing buffer {"connection_id":134603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f46970012d7bc00005ddb9c0000600a527..."} 
[2026-07-15 09:39:06] local.INFO: Packet analysis {"connection_id":134603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f4"} 
[2026-07-15 09:39:06] local.INFO: Extracted packet for processing {"connection_id":134603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f4"} 
[2026-07-15 09:39:06] local.INFO: GPS Element Parsed {"raw_longitude":763084800,"raw_latitude":98417088,"longitude_deg":76.30848,"latitude_deg":9.8417088,"altitude":6,"angle":165,"satellites":39,"speed":0,"hex_longitude":"2d7bc000","hex_latitude":"05ddb9c0","is_valid_coordinates":true} 
[2026-07-15 09:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726627840001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106360183571087360,"note":"Value kept but may cause issues"} 
[2026-07-15 09:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917127287388356608,"note":"Value kept but may cause issues"} 
[2026-07-15 09:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784088390000,"timestamp_ms":1784088390000,"timestamp_seconds":1784088390,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f46970"} 
[2026-07-15 09:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-15 09:39:06] 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-07-15 09:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":134603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":134603,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":134603,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726627840001,"66":13515,"185":206,"85":15104,"24":0,"16":106360183571087360,"45":8917127287388356608},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-15 09:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726627840001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:39:06] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-15 09:39:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106360183571087360,"km_value":106360183571087.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917127287388356608,"description":"Unknown IO ID 45"} 
[2026-07-15 09:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726627840001,"power":13515,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8917127287388356608}} 
[2026-07-15 09:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":134603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490408,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:39:06] local.INFO: GPS data processed {"connection_id":134603,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:39:06] local.INFO: Acknowledgment sent {"connection_id":134603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:39:06] local.INFO: TCP Data received {"connection_id":134604,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f528d8012d0d278007043968001700c120..."} 
[2026-07-15 09:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f528d8012d0d278007043968001700c120..."} 
[2026-07-15 09:39:06] local.INFO: Processing buffer {"connection_id":134604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f528d8012d0d278007043968001700c120..."} 
[2026-07-15 09:39:06] local.INFO: Packet analysis {"connection_id":134604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f5"} 
[2026-07-15 09:39:06] local.INFO: Extracted packet for processing {"connection_id":134604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f5"} 
[2026-07-15 09:39:06] local.INFO: GPS Element Parsed {"raw_longitude":755836800,"raw_latitude":117717352,"longitude_deg":75.58368,"latitude_deg":11.7717352,"altitude":23,"angle":193,"satellites":32,"speed":6,"hex_longitude":"2d0d2780","hex_latitude":"07043968","is_valid_coordinates":true} 
[2026-07-15 09:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726639360001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24625658848083968,"note":"Value kept but may cause issues"} 
[2026-07-15 09:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948078120441479168,"note":"Value kept but may cause issues"} 
[2026-07-15 09:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784088439000,"timestamp_ms":1784088439000,"timestamp_seconds":1784088439,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f528d8"} 
[2026-07-15 09:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-15 09:39:06] 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-07-15 09:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":134604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":134604,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":134604,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726639360001,"66":14439,"17":206,"94":11008,"24":6,"16":24625658848083968,"45":948078120441479168},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-15 09:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726639360001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:39:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 09:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24625658848083968,"km_value":24625658848083.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":948078120441479168,"description":"Unknown IO ID 45"} 
[2026-07-15 09:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726639360001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":948078120441479168}} 
[2026-07-15 09:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":134604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490409,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:39:06] local.INFO: GPS data processed {"connection_id":134604,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:39:06] local.INFO: Acknowledgment sent {"connection_id":134604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:39:06] local.INFO: TCP Data received {"connection_id":134605,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:39:06] local.INFO: Processing buffer {"connection_id":134605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:39:06] local.INFO: IMEI packet received {"connection_id":134605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":134605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:39:07] local.INFO: TCP Data received {"connection_id":134605,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f2ac20012d7f998005afdce00000011c2e..."} 
[2026-07-15 09:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f2ac20012d7f998005afdce00000011c2e..."} 
[2026-07-15 09:39:07] local.INFO: Processing buffer {"connection_id":134605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f2ac20012d7f998005afdce00000011c2e..."} 
[2026-07-15 09:39:07] local.INFO: Packet analysis {"connection_id":134605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f2"} 
[2026-07-15 09:39:07] local.INFO: Extracted packet for processing {"connection_id":134605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f2"} 
[2026-07-15 09:39:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":46,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726521600001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784088276000,"timestamp_ms":1784088276000,"timestamp_seconds":1784088276,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f2ac20"} 
[2026-07-15 09:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-15 09:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:39:07] 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-07-15 09:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726521600001,"66":25778,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726521600001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:39:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:39:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726521600001,"power":25778,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":134605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:39:07] local.INFO: GPS data processed {"connection_id":134605,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:39:07] local.INFO: Acknowledgment sent {"connection_id":134605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:39:29] local.INFO: TCP Data received {"connection_id":132225,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132225,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:39:29] local.INFO: Processing buffer {"connection_id":132225,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:39:29] local.INFO: IMEI packet received {"connection_id":132225,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 09:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":132225,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:39:29] local.INFO: TCP Data received {"connection_id":132224,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132224,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:39:29] local.INFO: Processing buffer {"connection_id":132224,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:39:29] local.INFO: IMEI packet received {"connection_id":132224,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 09:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":132224,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:39:34] local.INFO: TCP Data received {"connection_id":132224,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132224,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:39:34] local.INFO: Processing buffer {"connection_id":132224,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:39:34] local.INFO: IMEI packet received {"connection_id":132224,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":132224,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:39:34] local.INFO: TCP Data received {"connection_id":132225,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132225,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:39:34] local.INFO: Processing buffer {"connection_id":132225,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:39:34] local.INFO: IMEI packet received {"connection_id":132225,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":132225,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:39:35] local.INFO: TCP Data received {"connection_id":132224,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f46970012d7bc00005ddb9c0000600a527..."} 
[2026-07-15 09:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f46970012d7bc00005ddb9c0000600a527..."} 
[2026-07-15 09:39:35] local.INFO: Processing buffer {"connection_id":132224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f46970012d7bc00005ddb9c0000600a527..."} 
[2026-07-15 09:39:35] local.INFO: Packet analysis {"connection_id":132224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f4"} 
[2026-07-15 09:39:35] local.INFO: Extracted packet for processing {"connection_id":132224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f4"} 
[2026-07-15 09:39:35] local.INFO: GPS Element Parsed {"raw_longitude":763084800,"raw_latitude":98417088,"longitude_deg":76.30848,"latitude_deg":9.8417088,"altitude":6,"angle":165,"satellites":39,"speed":0,"hex_longitude":"2d7bc000","hex_latitude":"05ddb9c0","is_valid_coordinates":true} 
[2026-07-15 09:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726627840001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106360183571087360,"note":"Value kept but may cause issues"} 
[2026-07-15 09:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917127287388356608,"note":"Value kept but may cause issues"} 
[2026-07-15 09:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784088390000,"timestamp_ms":1784088390000,"timestamp_seconds":1784088390,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f46970"} 
[2026-07-15 09:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-15 09:39:35] 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-07-15 09:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132224,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132224,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726627840001,"66":13515,"185":206,"85":15104,"24":0,"16":106360183571087360,"45":8917127287388356608},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-15 09:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726627840001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:39:35] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-15 09:39:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106360183571087360,"km_value":106360183571087.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917127287388356608,"description":"Unknown IO ID 45"} 
[2026-07-15 09:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726627840001,"power":13515,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8917127287388356608}} 
[2026-07-15 09:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":132224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490411,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:39:35] local.INFO: GPS data processed {"connection_id":132224,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:39:35] local.INFO: Acknowledgment sent {"connection_id":132224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:39:35] local.INFO: TCP Data received {"connection_id":132225,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f57ae0012d0d278007043878001600c121..."} 
[2026-07-15 09:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f57ae0012d0d278007043878001600c121..."} 
[2026-07-15 09:39:35] local.INFO: Processing buffer {"connection_id":132225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f57ae0012d0d278007043878001600c121..."} 
[2026-07-15 09:39:35] local.INFO: Packet analysis {"connection_id":132225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f5"} 
[2026-07-15 09:39:35] local.INFO: Extracted packet for processing {"connection_id":132225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f5"} 
[2026-07-15 09:39:35] local.INFO: GPS Element Parsed {"raw_longitude":755836800,"raw_latitude":117717112,"longitude_deg":75.58368,"latitude_deg":11.7717112,"altitude":22,"angle":193,"satellites":33,"speed":0,"hex_longitude":"2d0d2780","hex_latitude":"07043878","is_valid_coordinates":true} 
[2026-07-15 09:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726640384001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24625671732985856,"note":"Value kept but may cause issues"} 
[2026-07-15 09:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947867014208776192,"note":"Value kept but may cause issues"} 
[2026-07-15 09:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784088460000,"timestamp_ms":1784088460000,"timestamp_seconds":1784088460,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f57ae0"} 
[2026-07-15 09:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:39:35] 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-07-15 09:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 09:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132225,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132225,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726640384001,"66":13537,"17":206,"94":11008,"24":0,"16":24625671732985856,"45":947867014208776192},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-15 09:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726640384001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:39:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 09:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24625671732985856,"km_value":24625671732985.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":947867014208776192,"description":"Unknown IO ID 45"} 
[2026-07-15 09:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726640384001,"power":13537,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":947867014208776192}} 
[2026-07-15 09:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":132225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490412,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:39:35] local.INFO: GPS data processed {"connection_id":132225,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:39:35] local.INFO: Acknowledgment sent {"connection_id":132225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:39:39] local.INFO: TCP Data received {"connection_id":134605,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f2ac20012d7f998005afdce00000011c2e..."} 
[2026-07-15 09:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f2ac20012d7f998005afdce00000011c2e..."} 
[2026-07-15 09:39:39] local.INFO: Processing buffer {"connection_id":134605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f2ac20012d7f998005afdce00000011c2e..."} 
[2026-07-15 09:39:39] local.INFO: Packet analysis {"connection_id":134605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f2"} 
[2026-07-15 09:39:39] local.INFO: Extracted packet for processing {"connection_id":134605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f2"} 
[2026-07-15 09:39:39] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":46,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09:39: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-07-15 09:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726521600001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:39:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784088276000,"timestamp_ms":1784088276000,"timestamp_seconds":1784088276,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f2ac20"} 
[2026-07-15 09:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:39:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-15 09:39:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:39: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-07-15 09:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:39:39] 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-07-15 09:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726521600001,"66":25778,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726521600001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:39:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:39:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726521600001,"power":25778,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":134605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:39:39] local.INFO: GPS data processed {"connection_id":134605,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:39:39] local.INFO: Acknowledgment sent {"connection_id":134605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:40:06] local.INFO: TCP Data received {"connection_id":132224,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f46970012d7bc00005ddb9c0000600a527..."} 
[2026-07-15 09:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f46970012d7bc00005ddb9c0000600a527..."} 
[2026-07-15 09:40:06] local.INFO: Processing buffer {"connection_id":132224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f46970012d7bc00005ddb9c0000600a527..."} 
[2026-07-15 09:40:06] local.INFO: Packet analysis {"connection_id":132224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f4"} 
[2026-07-15 09:40:06] local.INFO: Extracted packet for processing {"connection_id":132224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f4"} 
[2026-07-15 09:40:06] local.INFO: GPS Element Parsed {"raw_longitude":763084800,"raw_latitude":98417088,"longitude_deg":76.30848,"latitude_deg":9.8417088,"altitude":6,"angle":165,"satellites":39,"speed":0,"hex_longitude":"2d7bc000","hex_latitude":"05ddb9c0","is_valid_coordinates":true} 
[2026-07-15 09:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726627840001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106360183571087360,"note":"Value kept but may cause issues"} 
[2026-07-15 09:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917127287388356608,"note":"Value kept but may cause issues"} 
[2026-07-15 09:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784088390000,"timestamp_ms":1784088390000,"timestamp_seconds":1784088390,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f46970"} 
[2026-07-15 09:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-15 09:40:06] 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-07-15 09:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132224,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132224,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726627840001,"66":13515,"185":206,"85":15104,"24":0,"16":106360183571087360,"45":8917127287388356608},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-15 09:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726627840001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:40:06] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-15 09:40:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106360183571087360,"km_value":106360183571087.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917127287388356608,"description":"Unknown IO ID 45"} 
[2026-07-15 09:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726627840001,"power":13515,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8917127287388356608}} 
[2026-07-15 09:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":132224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490414,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:40:06] local.INFO: GPS data processed {"connection_id":132224,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:40:06] local.INFO: Acknowledgment sent {"connection_id":132224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:40:06] local.INFO: TCP Data received {"connection_id":133252,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:40:06] local.INFO: Processing buffer {"connection_id":133252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:40:06] local.INFO: IMEI packet received {"connection_id":133252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":133252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:40:06] local.INFO: TCP Data received {"connection_id":132225,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f59a20012d0d274007043688001600d521..."} 
[2026-07-15 09:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f59a20012d0d274007043688001600d521..."} 
[2026-07-15 09:40:06] local.INFO: Processing buffer {"connection_id":132225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f59a20012d0d274007043688001600d521..."} 
[2026-07-15 09:40:06] local.INFO: Packet analysis {"connection_id":132225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f5"} 
[2026-07-15 09:40:06] local.INFO: Extracted packet for processing {"connection_id":132225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f5"} 
[2026-07-15 09:40:06] local.INFO: GPS Element Parsed {"raw_longitude":755836736,"raw_latitude":117716616,"longitude_deg":75.5836736,"latitude_deg":11.7716616,"altitude":22,"angle":213,"satellites":33,"speed":5,"hex_longitude":"2d0d2740","hex_latitude":"07043688","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726645760001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24625693207822336,"note":"Value kept but may cause issues"} 
[2026-07-15 09:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947867014208714752,"note":"Value kept but may cause issues"} 
[2026-07-15 09:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784088468000,"timestamp_ms":1784088468000,"timestamp_seconds":1784088468,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f59a20"} 
[2026-07-15 09:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-07-15 09:40:06] 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-07-15 09:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132225,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132225,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726645760001,"66":14407,"17":206,"94":11008,"24":5,"16":24625693207822336,"45":947867014208714752},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-15 09:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726645760001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:40:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 09:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24625693207822336,"km_value":24625693207822.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":947867014208714752,"description":"Unknown IO ID 45"} 
[2026-07-15 09:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726645760001,"power":14407,"axis_x":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":947867014208714752}} 
[2026-07-15 09:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":132225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490415,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:40:07] local.INFO: GPS data processed {"connection_id":132225,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:40:07] local.INFO: Acknowledgment sent {"connection_id":132225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:40:11] local.INFO: TCP Data received {"connection_id":133252,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:40:11] local.INFO: Processing buffer {"connection_id":133252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:40:11] local.INFO: IMEI packet received {"connection_id":133252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":133252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:40:12] local.INFO: TCP Data received {"connection_id":133252,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f2ac20012d7f998005afdce00000011c2e..."} 
[2026-07-15 09:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f2ac20012d7f998005afdce00000011c2e..."} 
[2026-07-15 09:40:12] local.INFO: Processing buffer {"connection_id":133252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f2ac20012d7f998005afdce00000011c2e..."} 
[2026-07-15 09:40:12] local.INFO: Packet analysis {"connection_id":133252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f2"} 
[2026-07-15 09:40:12] local.INFO: Extracted packet for processing {"connection_id":133252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f2"} 
[2026-07-15 09:40:12] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":46,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09:40: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-07-15 09:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726521600001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784088276000,"timestamp_ms":1784088276000,"timestamp_seconds":1784088276,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f2ac20"} 
[2026-07-15 09:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:40: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-15 09:40:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:40: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-07-15 09:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":133252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":133252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":133252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:40:12] 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-07-15 09:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726521600001,"66":25778,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726521600001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:40:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:40:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726521600001,"power":25778,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":133252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:40:12] local.INFO: GPS data processed {"connection_id":133252,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:40:12] local.INFO: Acknowledgment sent {"connection_id":133252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:40:16] local.INFO: TCP Data received {"connection_id":133252,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f743e8012d7f998005afdce00000011c2f..."} 
[2026-07-15 09:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f743e8012d7f998005afdce00000011c2f..."} 
[2026-07-15 09:40:16] local.INFO: Processing buffer {"connection_id":133252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f743e8012d7f998005afdce00000011c2f..."} 
[2026-07-15 09:40:16] local.INFO: Packet analysis {"connection_id":133252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f7"} 
[2026-07-15 09:40:16] local.INFO: Extracted packet for processing {"connection_id":133252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f7"} 
[2026-07-15 09:40:16] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":47,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726598656001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:40:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784088577000,"timestamp_ms":1784088577000,"timestamp_seconds":1784088577,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f743e8"} 
[2026-07-15 09:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 09:40:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":133252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":133252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":133252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726598656001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726598656001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:40:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:40:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726598656001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":133252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:40:16] local.INFO: GPS data processed {"connection_id":133252,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:40:16] local.INFO: Acknowledgment sent {"connection_id":133252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:40:29] local.INFO: TCP Data received {"connection_id":133253,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133253,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:40:29] local.INFO: Processing buffer {"connection_id":133253,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:40:29] local.INFO: IMEI packet received {"connection_id":133253,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 09:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":133253,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:40:29] local.INFO: TCP Data received {"connection_id":132411,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132411,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:40:29] local.INFO: Processing buffer {"connection_id":132411,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:40:29] local.INFO: IMEI packet received {"connection_id":132411,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 09:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":132411,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:40:34] local.INFO: TCP Data received {"connection_id":132411,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132411,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:40:34] local.INFO: Processing buffer {"connection_id":132411,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:40:34] local.INFO: IMEI packet received {"connection_id":132411,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":132411,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:40:34] local.INFO: TCP Data received {"connection_id":133253,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133253,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:40:34] local.INFO: Processing buffer {"connection_id":133253,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:40:34] local.INFO: IMEI packet received {"connection_id":133253,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":133253,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:40:35] local.INFO: TCP Data received {"connection_id":133253,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f776b0012d0d2c400703cd980013016222..."} 
[2026-07-15 09:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f776b0012d0d2c400703cd980013016222..."} 
[2026-07-15 09:40:35] local.INFO: Processing buffer {"connection_id":133253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f776b0012d0d2c400703cd980013016222..."} 
[2026-07-15 09:40:35] local.INFO: Packet analysis {"connection_id":133253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f7"} 
[2026-07-15 09:40:35] local.INFO: Extracted packet for processing {"connection_id":133253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f7"} 
[2026-07-15 09:40:35] local.INFO: GPS Element Parsed {"raw_longitude":755838016,"raw_latitude":117689752,"longitude_deg":75.5838016,"latitude_deg":11.7689752,"altitude":19,"angle":354,"satellites":34,"speed":7,"hex_longitude":"2d0d2c40","hex_latitude":"0703cd98","is_valid_coordinates":true} 
[2026-07-15 09:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726678784001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24627140611801088,"note":"Value kept but may cause issues"} 
[2026-07-15 09:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949204020341035008,"note":"Value kept but may cause issues"} 
[2026-07-15 09:40:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 09:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784088590000,"timestamp_ms":1784088590000,"timestamp_seconds":1784088590,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f776b0"} 
[2026-07-15 09:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:40:35] 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-07-15 09:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-15 09:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":133253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":133253,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":133253,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726678784001,"66":14396,"16":24627140611801088,"94":11008,"24":7,"45":949204020341035008},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-15 09:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726678784001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24627140611801088,"km_value":24627140611801.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:40:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 09:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":949204020341035008,"description":"Unknown IO ID 45"} 
[2026-07-15 09:40:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456726678784001,"power":14396,"odometer":null,"unknown_94":11008,"ignition":7,"unknown_45":949204020341035008}} 
[2026-07-15 09:40:35] local.INFO: TCP Data received {"connection_id":132411,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f46970012d7bc00005ddb9c0000600a527..."} 
[2026-07-15 09:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f46970012d7bc00005ddb9c0000600a527..."} 
[2026-07-15 09:40:35] local.INFO: Processing buffer {"connection_id":132411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f46970012d7bc00005ddb9c0000600a527..."} 
[2026-07-15 09:40:35] local.INFO: Packet analysis {"connection_id":132411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f4"} 
[2026-07-15 09:40:35] local.INFO: Extracted packet for processing {"connection_id":132411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f4"} 
[2026-07-15 09:40:35] local.INFO: GPS Element Parsed {"raw_longitude":763084800,"raw_latitude":98417088,"longitude_deg":76.30848,"latitude_deg":9.8417088,"altitude":6,"angle":165,"satellites":39,"speed":0,"hex_longitude":"2d7bc000","hex_latitude":"05ddb9c0","is_valid_coordinates":true} 
[2026-07-15 09:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726627840001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106360183571087360,"note":"Value kept but may cause issues"} 
[2026-07-15 09:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917127287388356608,"note":"Value kept but may cause issues"} 
[2026-07-15 09:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784088390000,"timestamp_ms":1784088390000,"timestamp_seconds":1784088390,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f46970"} 
[2026-07-15 09:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-15 09:40:35] 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-07-15 09:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132411,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132411,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726627840001,"66":13515,"185":206,"85":15104,"24":0,"16":106360183571087360,"45":8917127287388356608},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-15 09:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726627840001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:40:35] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-15 09:40:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106360183571087360,"km_value":106360183571087.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917127287388356608,"description":"Unknown IO ID 45"} 
[2026-07-15 09:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726627840001,"power":13515,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8917127287388356608}} 
[2026-07-15 09:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":132411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490418,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:40:35] local.INFO: GPS data processed {"connection_id":132411,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:40:35] local.INFO: Acknowledgment sent {"connection_id":132411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":133253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490419,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:40:35] local.INFO: GPS data processed {"connection_id":133253,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:40:35] local.INFO: Acknowledgment sent {"connection_id":133253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:41:01] local.INFO: TCP Data received {"connection_id":132412,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:41:01] local.INFO: Processing buffer {"connection_id":132412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:41:01] local.INFO: IMEI packet received {"connection_id":132412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":132412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:41:07] local.INFO: TCP Data received {"connection_id":132412,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:41:07] local.INFO: Processing buffer {"connection_id":132412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:41:07] local.INFO: IMEI packet received {"connection_id":132412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":132412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:41:07] local.INFO: TCP Data received {"connection_id":133253,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f7c0e8012d0d29400703e9f00011000423..."} 
[2026-07-15 09:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f7c0e8012d0d29400703e9f00011000423..."} 
[2026-07-15 09:41:07] local.INFO: Processing buffer {"connection_id":133253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f7c0e8012d0d29400703e9f00011000423..."} 
[2026-07-15 09:41:07] local.INFO: Packet analysis {"connection_id":133253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f7"} 
[2026-07-15 09:41:07] local.INFO: Extracted packet for processing {"connection_id":133253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f7"} 
[2026-07-15 09:41:07] local.INFO: GPS Element Parsed {"raw_longitude":755837248,"raw_latitude":117697008,"longitude_deg":75.5837248,"latitude_deg":11.7697008,"altitude":17,"angle":4,"satellites":35,"speed":16,"hex_longitude":"2d0d2940","hex_latitude":"0703e9f0","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726679040001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24627497094086656,"note":"Value kept but may cause issues"} 
[2026-07-15 09:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949204020341086208,"note":"Value kept but may cause issues"} 
[2026-07-15 09:41:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 09:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784088609000,"timestamp_ms":1784088609000,"timestamp_seconds":1784088609,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f7c0e8"} 
[2026-07-15 09:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-15 09:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133253,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133253,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726679040001,"66":14374,"16":24627497094086656,"94":11008,"24":16,"45":949204020341086208},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-15 09:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726679040001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24627497094086656,"km_value":24627497094086.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:41:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 09:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":949204020341086208,"description":"Unknown IO ID 45"} 
[2026-07-15 09:41:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456726679040001,"power":14374,"odometer":null,"unknown_94":11008,"ignition":16,"unknown_45":949204020341086208}} 
[2026-07-15 09:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":133253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490420,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:41:07] local.INFO: GPS data processed {"connection_id":133253,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:41:07] local.INFO: Acknowledgment sent {"connection_id":133253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:41:07] local.INFO: TCP Data received {"connection_id":132411,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f46970012d7bc00005ddb9c0000600a527..."} 
[2026-07-15 09:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f46970012d7bc00005ddb9c0000600a527..."} 
[2026-07-15 09:41:07] local.INFO: Processing buffer {"connection_id":132411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f46970012d7bc00005ddb9c0000600a527..."} 
[2026-07-15 09:41:07] local.INFO: Packet analysis {"connection_id":132411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f4"} 
[2026-07-15 09:41:07] local.INFO: Extracted packet for processing {"connection_id":132411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f4"} 
[2026-07-15 09:41:07] local.INFO: GPS Element Parsed {"raw_longitude":763084800,"raw_latitude":98417088,"longitude_deg":76.30848,"latitude_deg":9.8417088,"altitude":6,"angle":165,"satellites":39,"speed":0,"hex_longitude":"2d7bc000","hex_latitude":"05ddb9c0","is_valid_coordinates":true} 
[2026-07-15 09:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726627840001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106360183571087360,"note":"Value kept but may cause issues"} 
[2026-07-15 09:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917127287388356608,"note":"Value kept but may cause issues"} 
[2026-07-15 09:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784088390000,"timestamp_ms":1784088390000,"timestamp_seconds":1784088390,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f46970"} 
[2026-07-15 09:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-15 09:41:07] 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-07-15 09: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-07-15 09:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132411,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132411,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726627840001,"66":13515,"185":206,"85":15104,"24":0,"16":106360183571087360,"45":8917127287388356608},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-15 09:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726627840001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:41:07] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-15 09:41:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106360183571087360,"km_value":106360183571087.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917127287388356608,"description":"Unknown IO ID 45"} 
[2026-07-15 09:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726627840001,"power":13515,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8917127287388356608}} 
[2026-07-15 09:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":132411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490421,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:41:07] local.INFO: GPS data processed {"connection_id":132411,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:41:07] local.INFO: Acknowledgment sent {"connection_id":132411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:41:08] local.INFO: TCP Data received {"connection_id":132412,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f743e8012d7f998005afdce00000011c2f..."} 
[2026-07-15 09:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f743e8012d7f998005afdce00000011c2f..."} 
[2026-07-15 09:41:08] local.INFO: Processing buffer {"connection_id":132412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f743e8012d7f998005afdce00000011c2f..."} 
[2026-07-15 09:41:08] local.INFO: Packet analysis {"connection_id":132412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f7"} 
[2026-07-15 09:41:08] local.INFO: Extracted packet for processing {"connection_id":132412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f7"} 
[2026-07-15 09:41:08] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":47,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726598656001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784088577000,"timestamp_ms":1784088577000,"timestamp_seconds":1784088577,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f743e8"} 
[2026-07-15 09:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 09:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726598656001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726598656001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:41:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:41:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726598656001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":132412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:41:08] local.INFO: GPS data processed {"connection_id":132412,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:41:08] local.INFO: Acknowledgment sent {"connection_id":132412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:41:29] local.INFO: TCP Data received {"connection_id":134606,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134606,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:41:29] local.INFO: Processing buffer {"connection_id":134606,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:41:29] local.INFO: IMEI packet received {"connection_id":134606,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 09:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":134606,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:41:30] local.INFO: TCP Data received {"connection_id":133255,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133255,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:41:30] local.INFO: Processing buffer {"connection_id":133255,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:41:30] local.INFO: IMEI packet received {"connection_id":133255,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 09:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":133255,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:41:31] local.INFO: TCP Data received {"connection_id":133255,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133255,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:41:31] local.INFO: Processing buffer {"connection_id":133255,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:41:31] local.INFO: IMEI packet received {"connection_id":133255,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":133255,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:41:34] local.INFO: TCP Data received {"connection_id":134606,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134606,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:41:34] local.INFO: Processing buffer {"connection_id":134606,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:41:34] local.INFO: IMEI packet received {"connection_id":134606,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":134606,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:41:34] local.INFO: TCP Data received {"connection_id":133255,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133255,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:41:34] local.INFO: Processing buffer {"connection_id":133255,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:41:34] local.INFO: IMEI packet received {"connection_id":133255,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":133255,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:41:35] local.INFO: TCP Data received {"connection_id":134606,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f90908012d7bc24005ddb9c0000600a52b..."} 
[2026-07-15 09:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f90908012d7bc24005ddb9c0000600a52b..."} 
[2026-07-15 09:41:35] local.INFO: Processing buffer {"connection_id":134606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f90908012d7bc24005ddb9c0000600a52b..."} 
[2026-07-15 09:41:35] local.INFO: Packet analysis {"connection_id":134606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f9"} 
[2026-07-15 09:41:35] local.INFO: Extracted packet for processing {"connection_id":134606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f9"} 
[2026-07-15 09:41:35] local.INFO: GPS Element Parsed {"raw_longitude":763085376,"raw_latitude":98417088,"longitude_deg":76.3085376,"latitude_deg":9.8417088,"altitude":6,"angle":165,"satellites":43,"speed":0,"hex_longitude":"2d7bc240","hex_latitude":"05ddb9c0","is_valid_coordinates":true} 
[2026-07-15 09:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726627840001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106360183571087360,"note":"Value kept but may cause issues"} 
[2026-07-15 09:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917127287388356608,"note":"Value kept but may cause issues"} 
[2026-07-15 09:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784088693000,"timestamp_ms":1784088693000,"timestamp_seconds":1784088693,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f90908"} 
[2026-07-15 09:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-15 09:41:35] 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-07-15 09:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":134606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":134606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":134606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726627840001,"66":12885,"185":206,"85":15104,"24":0,"16":106360183571087360,"45":8917127287388356608},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-15 09:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726627840001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:41:35] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-15 09:41:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106360183571087360,"km_value":106360183571087.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917127287388356608,"description":"Unknown IO ID 45"} 
[2026-07-15 09:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726627840001,"power":12885,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8917127287388356608}} 
[2026-07-15 09:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":134606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490423,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:41:35] local.INFO: GPS data processed {"connection_id":134606,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:41:35] local.INFO: Acknowledgment sent {"connection_id":134606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:41:40] local.INFO: TCP Data received {"connection_id":133255,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133255,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:41:40] local.INFO: Processing buffer {"connection_id":133255,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:41:40] local.INFO: IMEI packet received {"connection_id":133255,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":133255,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:41:40] local.INFO: TCP Data received {"connection_id":133255,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f7d470012d0d29000703f1380011016121..."} 
[2026-07-15 09:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f7d470012d0d29000703f1380011016121..."} 
[2026-07-15 09:41:40] local.INFO: Processing buffer {"connection_id":133255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f7d470012d0d29000703f1380011016121..."} 
[2026-07-15 09:41:40] local.INFO: Packet analysis {"connection_id":133255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f7"} 
[2026-07-15 09:41:40] local.INFO: Extracted packet for processing {"connection_id":133255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f7"} 
[2026-07-15 09:41:40] local.INFO: GPS Element Parsed {"raw_longitude":755837184,"raw_latitude":117698872,"longitude_deg":75.5837184,"latitude_deg":11.7698872,"altitude":17,"angle":353,"satellites":33,"speed":14,"hex_longitude":"2d0d2900","hex_latitude":"0703f138","is_valid_coordinates":true} 
[2026-07-15 09:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726683904001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24627587288399872,"note":"Value kept but may cause issues"} 
[2026-07-15 09:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948359595412811776,"note":"Value kept but may cause issues"} 
[2026-07-15 09:41:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 09:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784088614000,"timestamp_ms":1784088614000,"timestamp_seconds":1784088614,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f7d470"} 
[2026-07-15 09:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:41:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-15 09:41: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-07-15 09:41:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":133255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":133255,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":133255,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726683904001,"66":14428,"16":24627587288399872,"94":11008,"24":14,"45":948359595412811776},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-15 09:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726683904001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24627587288399872,"km_value":24627587288399.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:41:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 09:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":948359595412811776,"description":"Unknown IO ID 45"} 
[2026-07-15 09:41:40] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456726683904001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":14,"unknown_45":948359595412811776}} 
[2026-07-15 09:41:40] local.INFO: TCP Data received {"connection_id":132412,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f743e8012d7f998005afdce00000011c2f..."} 
[2026-07-15 09:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f743e8012d7f998005afdce00000011c2f..."} 
[2026-07-15 09:41:40] local.INFO: Processing buffer {"connection_id":132412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f743e8012d7f998005afdce00000011c2f..."} 
[2026-07-15 09:41:40] local.INFO: Packet analysis {"connection_id":132412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f7"} 
[2026-07-15 09:41:40] local.INFO: Extracted packet for processing {"connection_id":132412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f7"} 
[2026-07-15 09:41:40] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":47,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726598656001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784088577000,"timestamp_ms":1784088577000,"timestamp_seconds":1784088577,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f743e8"} 
[2026-07-15 09:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:41:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 09:41:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:41:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726598656001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726598656001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:41:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:41:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726598656001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":132412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:41:40] local.INFO: GPS data processed {"connection_id":132412,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:41:40] local.INFO: Acknowledgment sent {"connection_id":132412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":133255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490425,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:41:40] local.INFO: GPS data processed {"connection_id":133255,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:41:40] local.INFO: Acknowledgment sent {"connection_id":133255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:41:41] local.INFO: TCP Data received {"connection_id":133255,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f82290012d0d27c007040c080012016120..."} 
[2026-07-15 09:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f82290012d0d27c007040c080012016120..."} 
[2026-07-15 09:41:41] local.INFO: Processing buffer {"connection_id":133255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f82290012d0d27c007040c080012016120..."} 
[2026-07-15 09:41:41] local.INFO: Packet analysis {"connection_id":133255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f8"} 
[2026-07-15 09:41:41] local.INFO: Extracted packet for processing {"connection_id":133255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f8"} 
[2026-07-15 09:41:41] local.INFO: GPS Element Parsed {"raw_longitude":755836864,"raw_latitude":117705736,"longitude_deg":75.5836864,"latitude_deg":11.7705736,"altitude":18,"angle":353,"satellites":32,"speed":9,"hex_longitude":"2d0d27c0","hex_latitude":"07040c08","is_valid_coordinates":true} 
[2026-07-15 09:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726685184001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24627922295848960,"note":"Value kept but may cause issues"} 
[2026-07-15 09:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948289226669111296,"note":"Value kept but may cause issues"} 
[2026-07-15 09:41:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 09:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784088634000,"timestamp_ms":1784088634000,"timestamp_seconds":1784088634,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f82290"} 
[2026-07-15 09:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:41:41] 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-07-15 09:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-15 09:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":133255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":133255,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":133255,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726685184001,"66":14439,"16":24627922295848960,"94":11008,"24":9,"45":948289226669111296},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-15 09:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726685184001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24627922295848960,"km_value":24627922295848.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:41:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 09:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":948289226669111296,"description":"Unknown IO ID 45"} 
[2026-07-15 09:41:41] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456726685184001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":9,"unknown_45":948289226669111296}} 
[2026-07-15 09:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":133255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490426,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:41:41] local.INFO: GPS data processed {"connection_id":133255,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:41:41] local.INFO: Acknowledgment sent {"connection_id":133255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:42:06] local.INFO: TCP Data received {"connection_id":134606,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f90908012d7bc24005ddb9c0000600a52b..."} 
[2026-07-15 09:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f90908012d7bc24005ddb9c0000600a52b..."} 
[2026-07-15 09:42:06] local.INFO: Processing buffer {"connection_id":134606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f90908012d7bc24005ddb9c0000600a52b..."} 
[2026-07-15 09:42:06] local.INFO: Packet analysis {"connection_id":134606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f9"} 
[2026-07-15 09:42:06] local.INFO: Extracted packet for processing {"connection_id":134606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f9"} 
[2026-07-15 09:42:06] local.INFO: GPS Element Parsed {"raw_longitude":763085376,"raw_latitude":98417088,"longitude_deg":76.3085376,"latitude_deg":9.8417088,"altitude":6,"angle":165,"satellites":43,"speed":0,"hex_longitude":"2d7bc240","hex_latitude":"05ddb9c0","is_valid_coordinates":true} 
[2026-07-15 09:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726627840001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106360183571087360,"note":"Value kept but may cause issues"} 
[2026-07-15 09:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917127287388356608,"note":"Value kept but may cause issues"} 
[2026-07-15 09:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784088693000,"timestamp_ms":1784088693000,"timestamp_seconds":1784088693,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f90908"} 
[2026-07-15 09:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-15 09:42:06] 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-07-15 09:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":134606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":134606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":134606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726627840001,"66":12885,"185":206,"85":15104,"24":0,"16":106360183571087360,"45":8917127287388356608},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-15 09:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726627840001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:42:06] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-15 09:42:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106360183571087360,"km_value":106360183571087.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917127287388356608,"description":"Unknown IO ID 45"} 
[2026-07-15 09:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726627840001,"power":12885,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8917127287388356608}} 
[2026-07-15 09:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":134606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490427,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:42:06] local.INFO: GPS data processed {"connection_id":134606,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:42:06] local.INFO: Acknowledgment sent {"connection_id":134606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:42:12] local.INFO: TCP Data received {"connection_id":133255,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f95b10012d0d2d40070452c80013000924..."} 
[2026-07-15 09:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f95b10012d0d2d40070452c80013000924..."} 
[2026-07-15 09:42:12] local.INFO: Processing buffer {"connection_id":133255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f95b10012d0d2d40070452c80013000924..."} 
[2026-07-15 09:42:12] local.INFO: Packet analysis {"connection_id":133255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f9"} 
[2026-07-15 09:42:12] local.INFO: Extracted packet for processing {"connection_id":133255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f9"} 
[2026-07-15 09:42:12] local.INFO: GPS Element Parsed {"raw_longitude":755838272,"raw_latitude":117723848,"longitude_deg":75.5838272,"latitude_deg":11.7723848,"altitude":19,"angle":9,"satellites":36,"speed":16,"hex_longitude":"2d0d2d40","hex_latitude":"070452c8","is_valid_coordinates":true} 
[2026-07-15 09:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726708992001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24628824238981120,"note":"Value kept but may cause issues"} 
[2026-07-15 09:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948781807884226560,"note":"Value kept but may cause issues"} 
[2026-07-15 09:42:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 09:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784088714000,"timestamp_ms":1784088714000,"timestamp_seconds":1784088714,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f95b10"} 
[2026-07-15 09:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:42:12] 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-07-15 09:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-15 09:42:12] 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-07-15 09:42:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":133255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":133255,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":133255,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726708992001,"66":14428,"16":24628824238981120,"94":11008,"24":16,"45":948781807884226560},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-15 09:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726708992001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24628824238981120,"km_value":24628824238981.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:42:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 09:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":948781807884226560,"description":"Unknown IO ID 45"} 
[2026-07-15 09:42:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456726708992001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":16,"unknown_45":948781807884226560}} 
[2026-07-15 09:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":133255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490428,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:42:12] local.INFO: GPS data processed {"connection_id":133255,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:42:12] local.INFO: Acknowledgment sent {"connection_id":133255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:42:16] local.INFO: TCP Data received {"connection_id":134608,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:42:16] local.INFO: Processing buffer {"connection_id":134608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:42:16] local.INFO: IMEI packet received {"connection_id":134608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":134608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:42:21] local.INFO: TCP Data received {"connection_id":134608,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:42:21] local.INFO: Processing buffer {"connection_id":134608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:42:21] local.INFO: IMEI packet received {"connection_id":134608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":134608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:42:22] local.INFO: TCP Data received {"connection_id":134608,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f743e8012d7f998005afdce00000011c2f..."} 
[2026-07-15 09:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f743e8012d7f998005afdce00000011c2f..."} 
[2026-07-15 09:42:22] local.INFO: Processing buffer {"connection_id":134608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f743e8012d7f998005afdce00000011c2f..."} 
[2026-07-15 09:42:22] local.INFO: Packet analysis {"connection_id":134608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f7"} 
[2026-07-15 09:42:22] local.INFO: Extracted packet for processing {"connection_id":134608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f7"} 
[2026-07-15 09:42:22] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":47,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726598656001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784088577000,"timestamp_ms":1784088577000,"timestamp_seconds":1784088577,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f743e8"} 
[2026-07-15 09:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 09:42:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:42:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":134608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":134608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":134608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726598656001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726598656001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:42:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:42:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726598656001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":134608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:42:22] local.INFO: GPS data processed {"connection_id":134608,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:42:22] local.INFO: Acknowledgment sent {"connection_id":134608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:42:29] local.INFO: TCP Data received {"connection_id":132226,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132226,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:42:29] local.INFO: Processing buffer {"connection_id":132226,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:42:29] local.INFO: IMEI packet received {"connection_id":132226,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 09:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":132226,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:42:29] local.INFO: TCP Data received {"connection_id":133256,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133256,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:42:29] local.INFO: Processing buffer {"connection_id":133256,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:42:29] local.INFO: IMEI packet received {"connection_id":133256,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 09:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":133256,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:42:34] local.INFO: TCP Data received {"connection_id":132226,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132226,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:42:34] local.INFO: Processing buffer {"connection_id":132226,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:42:34] local.INFO: IMEI packet received {"connection_id":132226,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":132226,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:42:34] local.INFO: TCP Data received {"connection_id":133256,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133256,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:42:34] local.INFO: Processing buffer {"connection_id":133256,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:42:34] local.INFO: IMEI packet received {"connection_id":133256,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":133256,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:42:35] local.INFO: TCP Data received {"connection_id":132226,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f90908012d7bc24005ddb9c0000600a52b..."} 
[2026-07-15 09:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f90908012d7bc24005ddb9c0000600a52b..."} 
[2026-07-15 09:42:35] local.INFO: Processing buffer {"connection_id":132226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f90908012d7bc24005ddb9c0000600a52b..."} 
[2026-07-15 09:42:35] local.INFO: Packet analysis {"connection_id":132226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f9"} 
[2026-07-15 09:42:35] local.INFO: Extracted packet for processing {"connection_id":132226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f9"} 
[2026-07-15 09:42:35] local.INFO: GPS Element Parsed {"raw_longitude":763085376,"raw_latitude":98417088,"longitude_deg":76.3085376,"latitude_deg":9.8417088,"altitude":6,"angle":165,"satellites":43,"speed":0,"hex_longitude":"2d7bc240","hex_latitude":"05ddb9c0","is_valid_coordinates":true} 
[2026-07-15 09:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726627840001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106360183571087360,"note":"Value kept but may cause issues"} 
[2026-07-15 09:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917127287388356608,"note":"Value kept but may cause issues"} 
[2026-07-15 09:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784088693000,"timestamp_ms":1784088693000,"timestamp_seconds":1784088693,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f90908"} 
[2026-07-15 09:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-15 09:42:35] 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-07-15 09:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726627840001,"66":12885,"185":206,"85":15104,"24":0,"16":106360183571087360,"45":8917127287388356608},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-15 09:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726627840001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:42:35] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-15 09:42:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106360183571087360,"km_value":106360183571087.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917127287388356608,"description":"Unknown IO ID 45"} 
[2026-07-15 09:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726627840001,"power":12885,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8917127287388356608}} 
[2026-07-15 09:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":132226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490430,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:42:35] local.INFO: GPS data processed {"connection_id":132226,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:42:35] local.INFO: Acknowledgment sent {"connection_id":132226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:42:35] local.INFO: TCP Data received {"connection_id":133256,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f97a50012d0d2f0007045d200014001524..."} 
[2026-07-15 09:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f97a50012d0d2f0007045d200014001524..."} 
[2026-07-15 09:42:35] local.INFO: Processing buffer {"connection_id":133256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f97a50012d0d2f0007045d200014001524..."} 
[2026-07-15 09:42:35] local.INFO: Packet analysis {"connection_id":133256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f9"} 
[2026-07-15 09:42:35] local.INFO: Extracted packet for processing {"connection_id":133256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f9"} 
[2026-07-15 09:42:35] local.INFO: GPS Element Parsed {"raw_longitude":755838720,"raw_latitude":117726496,"longitude_deg":75.583872,"latitude_deg":11.7726496,"altitude":20,"angle":21,"satellites":36,"speed":13,"hex_longitude":"2d0d2f00","hex_latitude":"07045d20","is_valid_coordinates":true} 
[2026-07-15 09:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726710784001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24628957382967296,"note":"Value kept but may cause issues"} 
[2026-07-15 09:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949485495326525440,"note":"Value kept but may cause issues"} 
[2026-07-15 09:42:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 09:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784088722000,"timestamp_ms":1784088722000,"timestamp_seconds":1784088722,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f97a50"} 
[2026-07-15 09:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-15 09:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":133256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":133256,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":133256,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726710784001,"66":14396,"16":24628957382967296,"94":11008,"24":13,"45":949485495326525440},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-15 09:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726710784001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24628957382967296,"km_value":24628957382967.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:42:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 09:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":949485495326525440,"description":"Unknown IO ID 45"} 
[2026-07-15 09:42:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456726710784001,"power":14396,"odometer":null,"unknown_94":11008,"ignition":13,"unknown_45":949485495326525440}} 
[2026-07-15 09:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":133256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490431,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:42:35] local.INFO: GPS data processed {"connection_id":133256,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:42:35] local.INFO: Acknowledgment sent {"connection_id":133256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:43:00] local.INFO: TCP Data received {"connection_id":132227,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132227,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:43:00] local.INFO: Processing buffer {"connection_id":132227,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:43:00] local.INFO: IMEI packet received {"connection_id":132227,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 09:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":132227,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:43:02] local.INFO: TCP Data received {"connection_id":134609,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:43:02] local.INFO: Processing buffer {"connection_id":134609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:43:02] local.INFO: IMEI packet received {"connection_id":134609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":134609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:43:06] local.INFO: TCP Data received {"connection_id":132226,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f90908012d7bc24005ddb9c0000600a52b..."} 
[2026-07-15 09:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f90908012d7bc24005ddb9c0000600a52b..."} 
[2026-07-15 09:43:06] local.INFO: Processing buffer {"connection_id":132226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f90908012d7bc24005ddb9c0000600a52b..."} 
[2026-07-15 09:43:06] local.INFO: Packet analysis {"connection_id":132226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f9"} 
[2026-07-15 09:43:06] local.INFO: Extracted packet for processing {"connection_id":132226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f9"} 
[2026-07-15 09:43:06] local.INFO: GPS Element Parsed {"raw_longitude":763085376,"raw_latitude":98417088,"longitude_deg":76.3085376,"latitude_deg":9.8417088,"altitude":6,"angle":165,"satellites":43,"speed":0,"hex_longitude":"2d7bc240","hex_latitude":"05ddb9c0","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726627840001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106360183571087360,"note":"Value kept but may cause issues"} 
[2026-07-15 09:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917127287388356608,"note":"Value kept but may cause issues"} 
[2026-07-15 09:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784088693000,"timestamp_ms":1784088693000,"timestamp_seconds":1784088693,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f90908"} 
[2026-07-15 09:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-15 09:43:06] 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-07-15 09: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-07-15 09:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726627840001,"66":12885,"185":206,"85":15104,"24":0,"16":106360183571087360,"45":8917127287388356608},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-15 09:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726627840001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:43:06] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-15 09:43:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106360183571087360,"km_value":106360183571087.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917127287388356608,"description":"Unknown IO ID 45"} 
[2026-07-15 09:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726627840001,"power":12885,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8917127287388356608}} 
[2026-07-15 09:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":132226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490432,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:43:06] local.INFO: GPS data processed {"connection_id":132226,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:43:06] local.INFO: Acknowledgment sent {"connection_id":132226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:43:06] local.INFO: TCP Data received {"connection_id":134609,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:43:06] local.INFO: Processing buffer {"connection_id":134609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:43:06] local.INFO: IMEI packet received {"connection_id":134609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":134609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:43:06] local.INFO: TCP Data received {"connection_id":133256,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f991c0012d0d3180070464100014000724..."} 
[2026-07-15 09:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f991c0012d0d3180070464100014000724..."} 
[2026-07-15 09:43:06] local.INFO: Processing buffer {"connection_id":133256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f991c0012d0d3180070464100014000724..."} 
[2026-07-15 09:43:06] local.INFO: Packet analysis {"connection_id":133256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f9"} 
[2026-07-15 09:43:06] local.INFO: Extracted packet for processing {"connection_id":133256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f9"} 
[2026-07-15 09:43:06] local.INFO: GPS Element Parsed {"raw_longitude":755839360,"raw_latitude":117728272,"longitude_deg":75.583936,"latitude_deg":11.7728272,"altitude":20,"angle":7,"satellites":36,"speed":14,"hex_longitude":"2d0d3180","hex_latitude":"07046410","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726712832001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24629051872247808,"note":"Value kept but may cause issues"} 
[2026-07-15 09:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949978076536446976,"note":"Value kept but may cause issues"} 
[2026-07-15 09:43:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 09:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784088728000,"timestamp_ms":1784088728000,"timestamp_seconds":1784088728,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f991c0"} 
[2026-07-15 09:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-15 09:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133256,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133256,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726712832001,"66":14428,"16":24629051872247808,"94":11008,"24":14,"45":949978076536446976},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-15 09:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726712832001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24629051872247808,"km_value":24629051872247.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:43:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 09:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":949978076536446976,"description":"Unknown IO ID 45"} 
[2026-07-15 09:43:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456726712832001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":14,"unknown_45":949978076536446976}} 
[2026-07-15 09:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":133256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490433,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:43:07] local.INFO: GPS data processed {"connection_id":133256,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:43:07] local.INFO: Acknowledgment sent {"connection_id":133256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:43:07] local.INFO: TCP Data received {"connection_id":134609,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f743e8012d7f998005afdce00000011c2f..."} 
[2026-07-15 09:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f743e8012d7f998005afdce00000011c2f..."} 
[2026-07-15 09:43:07] local.INFO: Processing buffer {"connection_id":134609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f743e8012d7f998005afdce00000011c2f..."} 
[2026-07-15 09:43:07] local.INFO: Packet analysis {"connection_id":134609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f7"} 
[2026-07-15 09:43:07] local.INFO: Extracted packet for processing {"connection_id":134609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f7"} 
[2026-07-15 09:43:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":47,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726598656001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784088577000,"timestamp_ms":1784088577000,"timestamp_seconds":1784088577,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f743e8"} 
[2026-07-15 09:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 09:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726598656001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726598656001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:43:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:43:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726598656001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":134609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:43:07] local.INFO: GPS data processed {"connection_id":134609,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:43:07] local.INFO: Acknowledgment sent {"connection_id":134609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:43:27] local.INFO: TCP Data received {"connection_id":132413,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132413,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:43:27] local.INFO: Processing buffer {"connection_id":132413,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:43:27] local.INFO: IMEI packet received {"connection_id":132413,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 09:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":132413,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:43:29] local.INFO: TCP Data received {"connection_id":132414,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132414,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:43:29] local.INFO: Processing buffer {"connection_id":132414,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:43:29] local.INFO: IMEI packet received {"connection_id":132414,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 09:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":132414,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:43:30] local.INFO: TCP Data received {"connection_id":132413,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132413,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:43:30] local.INFO: Processing buffer {"connection_id":132413,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:43:30] local.INFO: IMEI packet received {"connection_id":132413,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":132413,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:43:32] local.INFO: TCP Data received {"connection_id":132413,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132413,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:43:32] local.INFO: Processing buffer {"connection_id":132413,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:43:32] local.INFO: IMEI packet received {"connection_id":132413,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":132413,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:43:32] local.INFO: TCP Data received {"connection_id":132413,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f9a548012d0d33c007046cd80014001421..."} 
[2026-07-15 09:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f9a548012d0d33c007046cd80014001421..."} 
[2026-07-15 09:43:32] local.INFO: Processing buffer {"connection_id":132413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f9a548012d0d33c007046cd80014001421..."} 
[2026-07-15 09:43:32] local.INFO: Packet analysis {"connection_id":132413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f9"} 
[2026-07-15 09:43:32] local.INFO: Extracted packet for processing {"connection_id":132413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f9"} 
[2026-07-15 09:43:32] local.INFO: GPS Element Parsed {"raw_longitude":755839936,"raw_latitude":117730520,"longitude_deg":75.5839936,"latitude_deg":11.773052,"altitude":20,"angle":20,"satellites":33,"speed":20,"hex_longitude":"2d0d33c0","hex_latitude":"07046cd8","is_valid_coordinates":true} 
[2026-07-15 09:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726714368001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24629163541397504,"note":"Value kept but may cause issues"} 
[2026-07-15 09:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":950681763978678272,"note":"Value kept but may cause issues"} 
[2026-07-15 09:43:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 09:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784088733000,"timestamp_ms":1784088733000,"timestamp_seconds":1784088733,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f9a548"} 
[2026-07-15 09:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:43:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-15 09:43: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-07-15 09:43:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":132413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":132413,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":132413,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726714368001,"66":14363,"16":24629163541397504,"94":11008,"24":20,"45":950681763978678272},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-15 09:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726714368001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24629163541397504,"km_value":24629163541397.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:43:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 09:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":950681763978678272,"description":"Unknown IO ID 45"} 
[2026-07-15 09:43:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456726714368001,"power":14363,"odometer":null,"unknown_94":11008,"ignition":20,"unknown_45":950681763978678272}} 
[2026-07-15 09:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":132413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490435,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:43:32] local.INFO: GPS data processed {"connection_id":132413,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:43:32] local.INFO: Acknowledgment sent {"connection_id":132413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:43:34] local.INFO: TCP Data received {"connection_id":132414,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132414,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:43:34] local.INFO: Processing buffer {"connection_id":132414,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:43:34] local.INFO: IMEI packet received {"connection_id":132414,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":132414,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:43:35] local.INFO: TCP Data received {"connection_id":134610,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134610,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:43:35] local.INFO: Processing buffer {"connection_id":134610,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:43:35] local.INFO: IMEI packet received {"connection_id":134610,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 09:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":134610,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:43:35] local.INFO: TCP Data received {"connection_id":132414,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f90908012d7bc24005ddb9c0000600a52b..."} 
[2026-07-15 09:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f90908012d7bc24005ddb9c0000600a52b..."} 
[2026-07-15 09:43:35] local.INFO: Processing buffer {"connection_id":132414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f90908012d7bc24005ddb9c0000600a52b..."} 
[2026-07-15 09:43:35] local.INFO: Packet analysis {"connection_id":132414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f9"} 
[2026-07-15 09:43:35] local.INFO: Extracted packet for processing {"connection_id":132414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f9"} 
[2026-07-15 09:43:35] local.INFO: GPS Element Parsed {"raw_longitude":763085376,"raw_latitude":98417088,"longitude_deg":76.3085376,"latitude_deg":9.8417088,"altitude":6,"angle":165,"satellites":43,"speed":0,"hex_longitude":"2d7bc240","hex_latitude":"05ddb9c0","is_valid_coordinates":true} 
[2026-07-15 09:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726627840001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106360183571087360,"note":"Value kept but may cause issues"} 
[2026-07-15 09:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917127287388356608,"note":"Value kept but may cause issues"} 
[2026-07-15 09:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784088693000,"timestamp_ms":1784088693000,"timestamp_seconds":1784088693,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f90908"} 
[2026-07-15 09:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-15 09:43:35] 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-07-15 09:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:43:35] 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-07-15 09:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726627840001,"66":12885,"185":206,"85":15104,"24":0,"16":106360183571087360,"45":8917127287388356608},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-15 09:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726627840001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:43:35] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-15 09:43:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106360183571087360,"km_value":106360183571087.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917127287388356608,"description":"Unknown IO ID 45"} 
[2026-07-15 09:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726627840001,"power":12885,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8917127287388356608}} 
[2026-07-15 09:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":132414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490436,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:43:35] local.INFO: GPS data processed {"connection_id":132414,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:43:35] local.INFO: Acknowledgment sent {"connection_id":132414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:43:38] local.INFO: TCP Data received {"connection_id":134609,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f743e8012d7f998005afdce00000011c2f..."} 
[2026-07-15 09:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f743e8012d7f998005afdce00000011c2f..."} 
[2026-07-15 09:43:38] local.INFO: Processing buffer {"connection_id":134609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f743e8012d7f998005afdce00000011c2f..."} 
[2026-07-15 09:43:38] local.INFO: Packet analysis {"connection_id":134609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f7"} 
[2026-07-15 09:43:38] local.INFO: Extracted packet for processing {"connection_id":134609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f7"} 
[2026-07-15 09:43:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":47,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726598656001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784088577000,"timestamp_ms":1784088577000,"timestamp_seconds":1784088577,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f743e8"} 
[2026-07-15 09:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 09:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726598656001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726598656001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:43:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:43:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726598656001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":134609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:43:38] local.INFO: GPS data processed {"connection_id":134609,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:43:38] local.INFO: Acknowledgment sent {"connection_id":134609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:44:02] local.INFO: TCP Data received {"connection_id":134611,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:44:02] local.INFO: Processing buffer {"connection_id":134611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:44:02] local.INFO: IMEI packet received {"connection_id":134611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":134611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:44:03] local.INFO: TCP Data received {"connection_id":132413,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f63fb1860012d0cf9400704bc300021011821..."} 
[2026-07-15 09:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63fb1860012d0cf9400704bc300021011821..."} 
[2026-07-15 09:44:03] local.INFO: Processing buffer {"connection_id":132413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63fb1860012d0cf9400704bc300021011821..."} 
[2026-07-15 09:44:03] local.INFO: Packet analysis {"connection_id":132413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63fb"} 
[2026-07-15 09:44:03] local.INFO: Extracted packet for processing {"connection_id":132413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63fb"} 
[2026-07-15 09:44:03] local.INFO: GPS Element Parsed {"raw_longitude":755824960,"raw_latitude":117750832,"longitude_deg":75.582496,"latitude_deg":11.7750832,"altitude":33,"angle":280,"satellites":33,"speed":34,"hex_longitude":"2d0cf940","hex_latitude":"0704bc30","is_valid_coordinates":true} 
[2026-07-15 09:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726738176001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24630937362890752,"note":"Value kept but may cause issues"} 
[2026-07-15 09:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":941393089752899584,"note":"Value kept but may cause issues"} 
[2026-07-15 09:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784088828000,"timestamp_ms":1784088828000,"timestamp_seconds":1784088828,"priority":1,"record_length":96,"hex_timestamp":"0000019f63fb1860"} 
[2026-07-15 09:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-15 09:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":132413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":132413,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":132413,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726738176001,"66":14450,"17":206,"94":11008,"24":34,"16":24630937362890752,"45":941393089752899584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-15 09:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726738176001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:44:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 09:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24630937362890752,"km_value":24630937362890.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":941393089752899584,"description":"Unknown IO ID 45"} 
[2026-07-15 09:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726738176001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":34,"odometer":null,"unknown_45":941393089752899584}} 
[2026-07-15 09:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":132413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490438,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:44:04] local.INFO: GPS data processed {"connection_id":132413,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:44:04] local.INFO: Acknowledgment sent {"connection_id":132413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:44:06] local.INFO: TCP Data received {"connection_id":132414,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f90908012d7bc24005ddb9c0000600a52b..."} 
[2026-07-15 09:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f90908012d7bc24005ddb9c0000600a52b..."} 
[2026-07-15 09:44:06] local.INFO: Processing buffer {"connection_id":132414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f90908012d7bc24005ddb9c0000600a52b..."} 
[2026-07-15 09:44:06] local.INFO: Packet analysis {"connection_id":132414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f9"} 
[2026-07-15 09:44:06] local.INFO: Extracted packet for processing {"connection_id":132414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f9"} 
[2026-07-15 09:44:06] local.INFO: GPS Element Parsed {"raw_longitude":763085376,"raw_latitude":98417088,"longitude_deg":76.3085376,"latitude_deg":9.8417088,"altitude":6,"angle":165,"satellites":43,"speed":0,"hex_longitude":"2d7bc240","hex_latitude":"05ddb9c0","is_valid_coordinates":true} 
[2026-07-15 09:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726627840001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106360183571087360,"note":"Value kept but may cause issues"} 
[2026-07-15 09:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917127287388356608,"note":"Value kept but may cause issues"} 
[2026-07-15 09:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784088693000,"timestamp_ms":1784088693000,"timestamp_seconds":1784088693,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f90908"} 
[2026-07-15 09:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-15 09:44:06] 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-07-15 09:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:44:06] 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-07-15 09:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726627840001,"66":12885,"185":206,"85":15104,"24":0,"16":106360183571087360,"45":8917127287388356608},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-15 09:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726627840001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:44:06] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-15 09:44:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106360183571087360,"km_value":106360183571087.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917127287388356608,"description":"Unknown IO ID 45"} 
[2026-07-15 09:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726627840001,"power":12885,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8917127287388356608}} 
[2026-07-15 09:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":132414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490439,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:44:06] local.INFO: GPS data processed {"connection_id":132414,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:44:06] local.INFO: Acknowledgment sent {"connection_id":132414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:44:06] local.INFO: TCP Data received {"connection_id":134611,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:44:06] local.INFO: Processing buffer {"connection_id":134611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:44:06] local.INFO: IMEI packet received {"connection_id":134611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":134611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:44:07] local.INFO: TCP Data received {"connection_id":134611,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f743e8012d7f998005afdce00000011c2f..."} 
[2026-07-15 09:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f743e8012d7f998005afdce00000011c2f..."} 
[2026-07-15 09:44:07] local.INFO: Processing buffer {"connection_id":134611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f743e8012d7f998005afdce00000011c2f..."} 
[2026-07-15 09:44:07] local.INFO: Packet analysis {"connection_id":134611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f7"} 
[2026-07-15 09:44:07] local.INFO: Extracted packet for processing {"connection_id":134611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f7"} 
[2026-07-15 09:44:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":47,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726598656001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784088577000,"timestamp_ms":1784088577000,"timestamp_seconds":1784088577,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f743e8"} 
[2026-07-15 09:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 09:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:44:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726598656001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726598656001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:44:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:44:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726598656001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":134611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:44:07] local.INFO: GPS data processed {"connection_id":134611,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:44:07] local.INFO: Acknowledgment sent {"connection_id":134611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:44:29] local.INFO: TCP Data received {"connection_id":132415,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132415,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:44:29] local.INFO: Processing buffer {"connection_id":132415,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:44:29] local.INFO: IMEI packet received {"connection_id":132415,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 09:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":132415,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:44:29] local.INFO: TCP Data received {"connection_id":132415,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132415,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:44:29] local.INFO: Processing buffer {"connection_id":132415,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:44:29] local.INFO: IMEI packet received {"connection_id":132415,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":132415,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:44:30] local.INFO: TCP Data received {"connection_id":132228,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132228,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:44:30] local.INFO: Processing buffer {"connection_id":132228,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:44:30] local.INFO: IMEI packet received {"connection_id":132228,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 09:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":132228,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:44:30] local.INFO: TCP Data received {"connection_id":132415,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132415,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:44:30] local.INFO: Processing buffer {"connection_id":132415,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:44:30] local.INFO: IMEI packet received {"connection_id":132415,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":132415,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:44:32] local.INFO: TCP Data received {"connection_id":132415,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132415,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:44:32] local.INFO: Processing buffer {"connection_id":132415,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:44:32] local.INFO: IMEI packet received {"connection_id":132415,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":132415,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:44:34] local.INFO: TCP Data received {"connection_id":132228,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132228,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:44:34] local.INFO: Processing buffer {"connection_id":132228,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:44:34] local.INFO: IMEI packet received {"connection_id":132228,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":132228,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:44:34] local.INFO: TCP Data received {"connection_id":132228,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f90908012d7bc24005ddb9c0000600a52b..."} 
[2026-07-15 09:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f90908012d7bc24005ddb9c0000600a52b..."} 
[2026-07-15 09:44:34] local.INFO: Processing buffer {"connection_id":132228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f90908012d7bc24005ddb9c0000600a52b..."} 
[2026-07-15 09:44:34] local.INFO: Packet analysis {"connection_id":132228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f9"} 
[2026-07-15 09:44:34] local.INFO: Extracted packet for processing {"connection_id":132228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f9"} 
[2026-07-15 09:44:34] local.INFO: GPS Element Parsed {"raw_longitude":763085376,"raw_latitude":98417088,"longitude_deg":76.3085376,"latitude_deg":9.8417088,"altitude":6,"angle":165,"satellites":43,"speed":0,"hex_longitude":"2d7bc240","hex_latitude":"05ddb9c0","is_valid_coordinates":true} 
[2026-07-15 09:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726627840001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106360183571087360,"note":"Value kept but may cause issues"} 
[2026-07-15 09:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917127287388356608,"note":"Value kept but may cause issues"} 
[2026-07-15 09:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784088693000,"timestamp_ms":1784088693000,"timestamp_seconds":1784088693,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f90908"} 
[2026-07-15 09:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-15 09:44:34] 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-07-15 09:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":132228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":132228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":132228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726627840001,"66":12885,"185":206,"85":15104,"24":0,"16":106360183571087360,"45":8917127287388356608},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-15 09:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726627840001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:44:34] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-15 09:44:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106360183571087360,"km_value":106360183571087.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917127287388356608,"description":"Unknown IO ID 45"} 
[2026-07-15 09:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726627840001,"power":12885,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8917127287388356608}} 
[2026-07-15 09:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":132228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490441,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:44:35] local.INFO: GPS data processed {"connection_id":132228,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:44:35] local.INFO: Acknowledgment sent {"connection_id":132228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:44:38] local.INFO: TCP Data received {"connection_id":134611,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f743e8012d7f998005afdce00000011c2f..."} 
[2026-07-15 09:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f743e8012d7f998005afdce00000011c2f..."} 
[2026-07-15 09:44:38] local.INFO: Processing buffer {"connection_id":134611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f743e8012d7f998005afdce00000011c2f..."} 
[2026-07-15 09:44:38] local.INFO: Packet analysis {"connection_id":134611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f7"} 
[2026-07-15 09:44:38] local.INFO: Extracted packet for processing {"connection_id":134611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f7"} 
[2026-07-15 09:44:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":47,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726598656001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784088577000,"timestamp_ms":1784088577000,"timestamp_seconds":1784088577,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f743e8"} 
[2026-07-15 09:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 09:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726598656001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726598656001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:44:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:44:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726598656001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":134611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:44:38] local.INFO: GPS data processed {"connection_id":134611,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:44:38] local.INFO: Acknowledgment sent {"connection_id":134611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:45:01] local.INFO: TCP Data received {"connection_id":132230,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:45:01] local.INFO: Processing buffer {"connection_id":132230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:45:01] local.INFO: IMEI packet received {"connection_id":132230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":132230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:45:05] local.INFO: TCP Data received {"connection_id":132228,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f90908012d7bc24005ddb9c0000600a52b..."} 
[2026-07-15 09:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f90908012d7bc24005ddb9c0000600a52b..."} 
[2026-07-15 09:45:05] local.INFO: Processing buffer {"connection_id":132228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f90908012d7bc24005ddb9c0000600a52b..."} 
[2026-07-15 09:45:05] local.INFO: Packet analysis {"connection_id":132228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f9"} 
[2026-07-15 09:45:05] local.INFO: Extracted packet for processing {"connection_id":132228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f9"} 
[2026-07-15 09:45:05] local.INFO: GPS Element Parsed {"raw_longitude":763085376,"raw_latitude":98417088,"longitude_deg":76.3085376,"latitude_deg":9.8417088,"altitude":6,"angle":165,"satellites":43,"speed":0,"hex_longitude":"2d7bc240","hex_latitude":"05ddb9c0","is_valid_coordinates":true} 
[2026-07-15 09:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726627840001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106360183571087360,"note":"Value kept but may cause issues"} 
[2026-07-15 09:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917127287388356608,"note":"Value kept but may cause issues"} 
[2026-07-15 09:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784088693000,"timestamp_ms":1784088693000,"timestamp_seconds":1784088693,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f90908"} 
[2026-07-15 09:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-15 09:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:45:05] 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-07-15 09:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726627840001,"66":12885,"185":206,"85":15104,"24":0,"16":106360183571087360,"45":8917127287388356608},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-15 09:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726627840001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:45:05] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-15 09:45:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106360183571087360,"km_value":106360183571087.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917127287388356608,"description":"Unknown IO ID 45"} 
[2026-07-15 09:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726627840001,"power":12885,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8917127287388356608}} 
[2026-07-15 09:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":132228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490443,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:45:06] local.INFO: GPS data processed {"connection_id":132228,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:45:06] local.INFO: Acknowledgment sent {"connection_id":132228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:45:06] local.INFO: TCP Data received {"connection_id":132230,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:45:06] local.INFO: Processing buffer {"connection_id":132230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:45:06] local.INFO: IMEI packet received {"connection_id":132230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":132230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:45:11] local.INFO: TCP Data received {"connection_id":132230,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f743e8012d7f998005afdce00000011c2f..."} 
[2026-07-15 09:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f743e8012d7f998005afdce00000011c2f..."} 
[2026-07-15 09:45:11] local.INFO: Processing buffer {"connection_id":132230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f743e8012d7f998005afdce00000011c2f..."} 
[2026-07-15 09:45:11] local.INFO: Packet analysis {"connection_id":132230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f7"} 
[2026-07-15 09:45:11] local.INFO: Extracted packet for processing {"connection_id":132230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f7"} 
[2026-07-15 09:45:11] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":47,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726598656001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784088577000,"timestamp_ms":1784088577000,"timestamp_seconds":1784088577,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f743e8"} 
[2026-07-15 09:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:45:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 09:45:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:45:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:45:11] 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-07-15 09:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726598656001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 09:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726598656001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:45:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 09:45:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726598656001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":132230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:45:11] local.INFO: GPS data processed {"connection_id":132230,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:45:11] local.INFO: Acknowledgment sent {"connection_id":132230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:45:29] local.INFO: TCP Data received {"connection_id":134612,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134612,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:45:29] local.INFO: Processing buffer {"connection_id":134612,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:45:29] local.INFO: IMEI packet received {"connection_id":134612,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 09:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":134612,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:45:34] local.INFO: TCP Data received {"connection_id":134612,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134612,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:45:34] local.INFO: Processing buffer {"connection_id":134612,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:45:34] local.INFO: IMEI packet received {"connection_id":134612,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":134612,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:45:35] local.INFO: TCP Data received {"connection_id":134612,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f90908012d7bc24005ddb9c0000600a52b..."} 
[2026-07-15 09:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f90908012d7bc24005ddb9c0000600a52b..."} 
[2026-07-15 09:45:35] local.INFO: Processing buffer {"connection_id":134612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f90908012d7bc24005ddb9c0000600a52b..."} 
[2026-07-15 09:45:35] local.INFO: Packet analysis {"connection_id":134612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f9"} 
[2026-07-15 09:45:35] local.INFO: Extracted packet for processing {"connection_id":134612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f9"} 
[2026-07-15 09:45:35] local.INFO: GPS Element Parsed {"raw_longitude":763085376,"raw_latitude":98417088,"longitude_deg":76.3085376,"latitude_deg":9.8417088,"altitude":6,"angle":165,"satellites":43,"speed":0,"hex_longitude":"2d7bc240","hex_latitude":"05ddb9c0","is_valid_coordinates":true} 
[2026-07-15 09:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726627840001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106360183571087360,"note":"Value kept but may cause issues"} 
[2026-07-15 09:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917127287388356608,"note":"Value kept but may cause issues"} 
[2026-07-15 09:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784088693000,"timestamp_ms":1784088693000,"timestamp_seconds":1784088693,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f90908"} 
[2026-07-15 09:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-15 09:45:35] 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-07-15 09:45:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":134612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":134612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":134612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726627840001,"66":12885,"185":206,"85":15104,"24":0,"16":106360183571087360,"45":8917127287388356608},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-15 09:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726627840001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:45:35] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-15 09:45:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106360183571087360,"km_value":106360183571087.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917127287388356608,"description":"Unknown IO ID 45"} 
[2026-07-15 09:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726627840001,"power":12885,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8917127287388356608}} 
[2026-07-15 09:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":134612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490445,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:45:35] local.INFO: GPS data processed {"connection_id":134612,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:45:35] local.INFO: Acknowledgment sent {"connection_id":134612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:45:42] local.INFO: TCP Data received {"connection_id":132230,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f63fbdbb0012d7f998005afdce00000011c30..."} 
[2026-07-15 09:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63fbdbb0012d7f998005afdce00000011c30..."} 
[2026-07-15 09:45:42] local.INFO: Processing buffer {"connection_id":132230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63fbdbb0012d7f998005afdce00000011c30..."} 
[2026-07-15 09:45:42] local.INFO: Packet analysis {"connection_id":132230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63fb"} 
[2026-07-15 09:45:42] local.INFO: Extracted packet for processing {"connection_id":132230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63fb"} 
[2026-07-15 09:45:42] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726675712001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784088878000,"timestamp_ms":1784088878000,"timestamp_seconds":1784088878,"priority":1,"record_length":96,"hex_timestamp":"0000019f63fbdbb0"} 
[2026-07-15 09:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 09:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726675712001,"66":25778,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 09:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726675712001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:45:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 09:45:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726675712001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":132230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:45:42] local.INFO: GPS data processed {"connection_id":132230,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:45:42] local.INFO: Acknowledgment sent {"connection_id":132230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:46:01] local.INFO: TCP Data received {"connection_id":132416,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:46:01] local.INFO: Processing buffer {"connection_id":132416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:46:01] local.INFO: IMEI packet received {"connection_id":132416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":132416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:46:06] local.INFO: TCP Data received {"connection_id":134612,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f63f90908012d7bc24005ddb9c0000600a52b..."} 
[2026-07-15 09:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63f90908012d7bc24005ddb9c0000600a52b..."} 
[2026-07-15 09:46:06] local.INFO: Processing buffer {"connection_id":134612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63f90908012d7bc24005ddb9c0000600a52b..."} 
[2026-07-15 09:46:06] local.INFO: Packet analysis {"connection_id":134612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63f9"} 
[2026-07-15 09:46:06] local.INFO: Extracted packet for processing {"connection_id":134612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63f9"} 
[2026-07-15 09:46:06] local.INFO: GPS Element Parsed {"raw_longitude":763085376,"raw_latitude":98417088,"longitude_deg":76.3085376,"latitude_deg":9.8417088,"altitude":6,"angle":165,"satellites":43,"speed":0,"hex_longitude":"2d7bc240","hex_latitude":"05ddb9c0","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726627840001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106360183571087360,"note":"Value kept but may cause issues"} 
[2026-07-15 09:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917127287388356608,"note":"Value kept but may cause issues"} 
[2026-07-15 09:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784088693000,"timestamp_ms":1784088693000,"timestamp_seconds":1784088693,"priority":1,"record_length":96,"hex_timestamp":"0000019f63f90908"} 
[2026-07-15 09:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-15 09:46:06] 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-07-15 09: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-07-15 09:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":134612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":134612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":134612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726627840001,"66":12885,"185":206,"85":15104,"24":0,"16":106360183571087360,"45":8917127287388356608},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-15 09:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726627840001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:46:06] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-15 09:46:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106360183571087360,"km_value":106360183571087.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917127287388356608,"description":"Unknown IO ID 45"} 
[2026-07-15 09:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726627840001,"power":12885,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8917127287388356608}} 
[2026-07-15 09:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":134612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490447,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:46:06] local.INFO: GPS data processed {"connection_id":134612,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:46:06] local.INFO: Acknowledgment sent {"connection_id":134612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:46:06] local.INFO: TCP Data received {"connection_id":132416,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:46:06] local.INFO: Processing buffer {"connection_id":132416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:46:06] local.INFO: IMEI packet received {"connection_id":132416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":132416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:46:07] local.INFO: TCP Data received {"connection_id":132416,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f63fbdbb0012d7f998005afdce00000011c30..."} 
[2026-07-15 09:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63fbdbb0012d7f998005afdce00000011c30..."} 
[2026-07-15 09:46:07] local.INFO: Processing buffer {"connection_id":132416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63fbdbb0012d7f998005afdce00000011c30..."} 
[2026-07-15 09:46:07] local.INFO: Packet analysis {"connection_id":132416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63fb"} 
[2026-07-15 09:46:07] local.INFO: Extracted packet for processing {"connection_id":132416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63fb"} 
[2026-07-15 09:46:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726675712001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784088878000,"timestamp_ms":1784088878000,"timestamp_seconds":1784088878,"priority":1,"record_length":96,"hex_timestamp":"0000019f63fbdbb0"} 
[2026-07-15 09:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 09:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:46:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:46:07] 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-07-15 09:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726675712001,"66":25778,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 09:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726675712001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:46:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 09:46:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726675712001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":132416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:46:07] local.INFO: GPS data processed {"connection_id":132416,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:46:07] local.INFO: Acknowledgment sent {"connection_id":132416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:46:29] local.INFO: TCP Data received {"connection_id":134614,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134614,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:46:29] local.INFO: Processing buffer {"connection_id":134614,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:46:29] local.INFO: IMEI packet received {"connection_id":134614,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 09:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":134614,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:46:39] local.INFO: TCP Data received {"connection_id":132416,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f63fbdbb0012d7f998005afdce00000011c30..."} 
[2026-07-15 09:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63fbdbb0012d7f998005afdce00000011c30..."} 
[2026-07-15 09:46:39] local.INFO: Processing buffer {"connection_id":132416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63fbdbb0012d7f998005afdce00000011c30..."} 
[2026-07-15 09:46:39] local.INFO: Packet analysis {"connection_id":132416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63fb"} 
[2026-07-15 09:46:39] local.INFO: Extracted packet for processing {"connection_id":132416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63fb"} 
[2026-07-15 09:46:39] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726675712001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784088878000,"timestamp_ms":1784088878000,"timestamp_seconds":1784088878,"priority":1,"record_length":96,"hex_timestamp":"0000019f63fbdbb0"} 
[2026-07-15 09:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 09:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726675712001,"66":25778,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 09:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726675712001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:46:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 09:46:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726675712001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":132416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:46:39] local.INFO: GPS data processed {"connection_id":132416,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:46:39] local.INFO: Acknowledgment sent {"connection_id":132416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:47:02] local.INFO: TCP Data received {"connection_id":132232,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:47:02] local.INFO: Processing buffer {"connection_id":132232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:47:02] local.INFO: IMEI packet received {"connection_id":132232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":132232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:47:06] local.INFO: TCP Data received {"connection_id":132232,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:47:06] local.INFO: Processing buffer {"connection_id":132232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:47:06] local.INFO: IMEI packet received {"connection_id":132232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":132232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:47:07] local.INFO: TCP Data received {"connection_id":132232,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f63fbdbb0012d7f998005afdce00000011c30..."} 
[2026-07-15 09:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63fbdbb0012d7f998005afdce00000011c30..."} 
[2026-07-15 09:47:07] local.INFO: Processing buffer {"connection_id":132232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63fbdbb0012d7f998005afdce00000011c30..."} 
[2026-07-15 09:47:07] local.INFO: Packet analysis {"connection_id":132232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63fb"} 
[2026-07-15 09:47:07] local.INFO: Extracted packet for processing {"connection_id":132232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63fb"} 
[2026-07-15 09:47:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726675712001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784088878000,"timestamp_ms":1784088878000,"timestamp_seconds":1784088878,"priority":1,"record_length":96,"hex_timestamp":"0000019f63fbdbb0"} 
[2026-07-15 09:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 09:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:47:07] 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-07-15 09:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726675712001,"66":25778,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 09:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726675712001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:47:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 09:47:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726675712001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":132232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:47:07] local.INFO: GPS data processed {"connection_id":132232,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:47:07] local.INFO: Acknowledgment sent {"connection_id":132232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:47:39] local.INFO: TCP Data received {"connection_id":132232,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f63fbdbb0012d7f998005afdce00000011c30..."} 
[2026-07-15 09:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63fbdbb0012d7f998005afdce00000011c30..."} 
[2026-07-15 09:47:39] local.INFO: Processing buffer {"connection_id":132232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63fbdbb0012d7f998005afdce00000011c30..."} 
[2026-07-15 09:47:39] local.INFO: Packet analysis {"connection_id":132232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63fb"} 
[2026-07-15 09:47:39] local.INFO: Extracted packet for processing {"connection_id":132232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63fb"} 
[2026-07-15 09:47:39] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726675712001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:47:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:47:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784088878000,"timestamp_ms":1784088878000,"timestamp_seconds":1784088878,"priority":1,"record_length":96,"hex_timestamp":"0000019f63fbdbb0"} 
[2026-07-15 09:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:47:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 09:47:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:47:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:47:39] 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-07-15 09:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726675712001,"66":25778,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 09:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726675712001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:47:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 09:47:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:47:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726675712001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":132232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:47:39] local.INFO: GPS data processed {"connection_id":132232,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:47:39] local.INFO: Acknowledgment sent {"connection_id":132232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:48:01] local.INFO: TCP Data received {"connection_id":133260,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:48:01] local.INFO: Processing buffer {"connection_id":133260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:48:01] local.INFO: IMEI packet received {"connection_id":133260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":133260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:48:06] local.INFO: TCP Data received {"connection_id":133260,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:48:06] local.INFO: Processing buffer {"connection_id":133260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:48:06] local.INFO: IMEI packet received {"connection_id":133260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":133260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:48:07] local.INFO: TCP Data received {"connection_id":133260,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f63fbdbb0012d7f998005afdce00000011c30..."} 
[2026-07-15 09:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63fbdbb0012d7f998005afdce00000011c30..."} 
[2026-07-15 09:48:07] local.INFO: Processing buffer {"connection_id":133260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63fbdbb0012d7f998005afdce00000011c30..."} 
[2026-07-15 09:48:07] local.INFO: Packet analysis {"connection_id":133260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63fb"} 
[2026-07-15 09:48:07] local.INFO: Extracted packet for processing {"connection_id":133260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63fb"} 
[2026-07-15 09:48:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726675712001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784088878000,"timestamp_ms":1784088878000,"timestamp_seconds":1784088878,"priority":1,"record_length":96,"hex_timestamp":"0000019f63fbdbb0"} 
[2026-07-15 09:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 09:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:48:07] 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-07-15 09:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726675712001,"66":25778,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 09:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726675712001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:48:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 09:48:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726675712001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":133260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:48:07] local.INFO: GPS data processed {"connection_id":133260,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:48:07] local.INFO: Acknowledgment sent {"connection_id":133260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:48:38] local.INFO: TCP Data received {"connection_id":133260,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f63fbdbb0012d7f998005afdce00000011c30..."} 
[2026-07-15 09:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63fbdbb0012d7f998005afdce00000011c30..."} 
[2026-07-15 09:48:38] local.INFO: Processing buffer {"connection_id":133260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63fbdbb0012d7f998005afdce00000011c30..."} 
[2026-07-15 09:48:38] local.INFO: Packet analysis {"connection_id":133260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63fb"} 
[2026-07-15 09:48:38] local.INFO: Extracted packet for processing {"connection_id":133260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63fb"} 
[2026-07-15 09:48:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726675712001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784088878000,"timestamp_ms":1784088878000,"timestamp_seconds":1784088878,"priority":1,"record_length":96,"hex_timestamp":"0000019f63fbdbb0"} 
[2026-07-15 09:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 09:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726675712001,"66":25778,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 09:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726675712001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:48:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 09:48:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726675712001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":133260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:48:38] local.INFO: GPS data processed {"connection_id":133260,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:48:38] local.INFO: Acknowledgment sent {"connection_id":133260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:49:00] local.INFO: TCP Data received {"connection_id":132234,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132234,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:49:00] local.INFO: Processing buffer {"connection_id":132234,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:49:00] local.INFO: IMEI packet received {"connection_id":132234,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 09:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":132234,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:49:03] local.INFO: TCP Data received {"connection_id":133261,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:49:03] local.INFO: Processing buffer {"connection_id":133261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:49:03] local.INFO: IMEI packet received {"connection_id":133261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":133261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:49:06] local.INFO: TCP Data received {"connection_id":133261,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:49:06] local.INFO: Processing buffer {"connection_id":133261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:49:06] local.INFO: IMEI packet received {"connection_id":133261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":133261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:49:07] local.INFO: TCP Data received {"connection_id":133261,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f63fbdbb0012d7f998005afdce00000011c30..."} 
[2026-07-15 09:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63fbdbb0012d7f998005afdce00000011c30..."} 
[2026-07-15 09:49:07] local.INFO: Processing buffer {"connection_id":133261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63fbdbb0012d7f998005afdce00000011c30..."} 
[2026-07-15 09:49:07] local.INFO: Packet analysis {"connection_id":133261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63fb"} 
[2026-07-15 09:49:07] local.INFO: Extracted packet for processing {"connection_id":133261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63fb"} 
[2026-07-15 09:49:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726675712001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784088878000,"timestamp_ms":1784088878000,"timestamp_seconds":1784088878,"priority":1,"record_length":96,"hex_timestamp":"0000019f63fbdbb0"} 
[2026-07-15 09:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 09:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726675712001,"66":25778,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 09:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726675712001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:49:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 09:49:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726675712001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":133261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:49:07] local.INFO: GPS data processed {"connection_id":133261,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:49:07] local.INFO: Acknowledgment sent {"connection_id":133261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:49:35] local.INFO: TCP Data received {"connection_id":134616,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134616,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:49:35] local.INFO: Processing buffer {"connection_id":134616,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:49:35] local.INFO: IMEI packet received {"connection_id":134616,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 09:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":134616,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:49:35] local.INFO: TCP Data received {"connection_id":134617,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134617,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:49:35] local.INFO: Processing buffer {"connection_id":134617,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:49:35] local.INFO: IMEI packet received {"connection_id":134617,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 09:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":134617,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:49:35] local.INFO: TCP Data received {"connection_id":134616,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f63ffcb80012d0c3d8007036380001900fc22..."} 
[2026-07-15 09:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63ffcb80012d0c3d8007036380001900fc22..."} 
[2026-07-15 09:49:35] local.INFO: Processing buffer {"connection_id":134616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63ffcb80012d0c3d8007036380001900fc22..."} 
[2026-07-15 09:49:35] local.INFO: Packet analysis {"connection_id":134616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63ff"} 
[2026-07-15 09:49:35] local.INFO: Extracted packet for processing {"connection_id":134616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63ff"} 
[2026-07-15 09:49:35] local.INFO: GPS Element Parsed {"raw_longitude":755776896,"raw_latitude":117662592,"longitude_deg":75.5776896,"latitude_deg":11.7662592,"altitude":25,"angle":252,"satellites":34,"speed":16,"hex_longitude":"2d0c3d80","hex_latitude":"07036380","is_valid_coordinates":true} 
[2026-07-15 09:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726814208001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24638041238798336,"note":"Value kept but may cause issues"} 
[2026-07-15 09:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":891290543876704256,"note":"Value kept but may cause issues"} 
[2026-07-15 09:49:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 09:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784089136000,"timestamp_ms":1784089136000,"timestamp_seconds":1784089136,"priority":1,"record_length":96,"hex_timestamp":"0000019f63ffcb80"} 
[2026-07-15 09:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-15 09:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":134616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":134616,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":134616,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726814208001,"66":14374,"16":24638041238798336,"94":11008,"24":16,"45":891290543876704256},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-15 09:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726814208001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24638041238798336,"km_value":24638041238798.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:49:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 09:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":891290543876704256,"description":"Unknown IO ID 45"} 
[2026-07-15 09:49:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456726814208001,"power":14374,"odometer":null,"unknown_94":11008,"ignition":16,"unknown_45":891290543876704256}} 
[2026-07-15 09:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":134616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490455,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:49:35] local.INFO: GPS data processed {"connection_id":134616,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:49:35] local.INFO: Acknowledgment sent {"connection_id":134616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:49:38] local.INFO: TCP Data received {"connection_id":133261,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f63fbdbb0012d7f998005afdce00000011c30..."} 
[2026-07-15 09:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63fbdbb0012d7f998005afdce00000011c30..."} 
[2026-07-15 09:49:38] local.INFO: Processing buffer {"connection_id":133261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63fbdbb0012d7f998005afdce00000011c30..."} 
[2026-07-15 09:49:38] local.INFO: Packet analysis {"connection_id":133261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63fb"} 
[2026-07-15 09:49:38] local.INFO: Extracted packet for processing {"connection_id":133261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63fb"} 
[2026-07-15 09:49:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726675712001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784088878000,"timestamp_ms":1784088878000,"timestamp_seconds":1784088878,"priority":1,"record_length":96,"hex_timestamp":"0000019f63fbdbb0"} 
[2026-07-15 09:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 09:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726675712001,"66":25778,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 09:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726675712001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:49:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 09:49:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726675712001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":133261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:49:38] local.INFO: GPS data processed {"connection_id":133261,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:49:38] local.INFO: Acknowledgment sent {"connection_id":133261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:50:01] local.INFO: TCP Data received {"connection_id":133262,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:50:01] local.INFO: Processing buffer {"connection_id":133262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:50:01] local.INFO: IMEI packet received {"connection_id":133262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":133262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:50:06] local.INFO: TCP Data received {"connection_id":134616,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f6400cd50012d0c1ec007035348001500e722..."} 
[2026-07-15 09:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6400cd50012d0c1ec007035348001500e722..."} 
[2026-07-15 09:50:06] local.INFO: Processing buffer {"connection_id":134616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6400cd50012d0c1ec007035348001500e722..."} 
[2026-07-15 09:50:06] local.INFO: Packet analysis {"connection_id":134616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6400"} 
[2026-07-15 09:50:06] local.INFO: Extracted packet for processing {"connection_id":134616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6400"} 
[2026-07-15 09:50:06] local.INFO: GPS Element Parsed {"raw_longitude":755769024,"raw_latitude":117658440,"longitude_deg":75.5769024,"latitude_deg":11.765844,"altitude":21,"angle":231,"satellites":34,"speed":11,"hex_longitude":"2d0c1ec0","hex_latitude":"07035348","is_valid_coordinates":true} 
[2026-07-15 09:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726835200001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24638526570102784,"note":"Value kept but may cause issues"} 
[2026-07-15 09:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":873839095318878208,"note":"Value kept but may cause issues"} 
[2026-07-15 09:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784089202000,"timestamp_ms":1784089202000,"timestamp_seconds":1784089202,"priority":1,"record_length":96,"hex_timestamp":"0000019f6400cd50"} 
[2026-07-15 09:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-15 09:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":134616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":134616,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":134616,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726835200001,"66":14428,"37":206,"94":11008,"24":11,"16":24638526570102784,"45":873839095318878208},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-15 09:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726835200001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:50:06] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-15 09:50:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 09:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24638526570102784,"km_value":24638526570102.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":873839095318878208,"description":"Unknown IO ID 45"} 
[2026-07-15 09:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726835200001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":873839095318878208}} 
[2026-07-15 09:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":134616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490457,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:50:06] local.INFO: GPS data processed {"connection_id":134616,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:50:06] local.INFO: Acknowledgment sent {"connection_id":134616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:50:06] local.INFO: TCP Data received {"connection_id":133262,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:50:06] local.INFO: Processing buffer {"connection_id":133262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:50:06] local.INFO: IMEI packet received {"connection_id":133262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":133262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:50:07] local.INFO: TCP Data received {"connection_id":133262,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f63fbdbb0012d7f998005afdce00000011c30..."} 
[2026-07-15 09:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63fbdbb0012d7f998005afdce00000011c30..."} 
[2026-07-15 09:50:07] local.INFO: Processing buffer {"connection_id":133262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63fbdbb0012d7f998005afdce00000011c30..."} 
[2026-07-15 09:50:07] local.INFO: Packet analysis {"connection_id":133262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63fb"} 
[2026-07-15 09:50:07] local.INFO: Extracted packet for processing {"connection_id":133262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63fb"} 
[2026-07-15 09:50:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726675712001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784088878000,"timestamp_ms":1784088878000,"timestamp_seconds":1784088878,"priority":1,"record_length":96,"hex_timestamp":"0000019f63fbdbb0"} 
[2026-07-15 09:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 09:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726675712001,"66":25778,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 09:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726675712001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:50:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 09:50:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726675712001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":133262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:50:07] local.INFO: GPS data processed {"connection_id":133262,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:50:07] local.INFO: Acknowledgment sent {"connection_id":133262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:50:29] local.INFO: TCP Data received {"connection_id":132235,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132235,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:50:29] local.INFO: Processing buffer {"connection_id":132235,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:50:29] local.INFO: IMEI packet received {"connection_id":132235,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 09:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":132235,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:50:30] local.INFO: TCP Data received {"connection_id":132235,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132235,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:50:30] local.INFO: Processing buffer {"connection_id":132235,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:50:30] local.INFO: IMEI packet received {"connection_id":132235,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":132235,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:50:35] local.INFO: TCP Data received {"connection_id":132235,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132235,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:50:35] local.INFO: Processing buffer {"connection_id":132235,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:50:35] local.INFO: IMEI packet received {"connection_id":132235,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":132235,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:50:35] local.INFO: TCP Data received {"connection_id":132235,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f6400d138012d0c1e0007035248001500d621..."} 
[2026-07-15 09:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6400d138012d0c1e0007035248001500d621..."} 
[2026-07-15 09:50:35] local.INFO: Processing buffer {"connection_id":132235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6400d138012d0c1e0007035248001500d621..."} 
[2026-07-15 09:50:35] local.INFO: Packet analysis {"connection_id":132235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6400"} 
[2026-07-15 09:50:35] local.INFO: Extracted packet for processing {"connection_id":132235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6400"} 
[2026-07-15 09:50:35] local.INFO: GPS Element Parsed {"raw_longitude":755768832,"raw_latitude":117658184,"longitude_deg":75.5768832,"latitude_deg":11.7658184,"altitude":21,"angle":214,"satellites":33,"speed":11,"hex_longitude":"2d0c1e00","hex_latitude":"07035248","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726835712001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24638543749971968,"note":"Value kept but may cause issues"} 
[2026-07-15 09:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":873346514109548544,"note":"Value kept but may cause issues"} 
[2026-07-15 09:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784089203000,"timestamp_ms":1784089203000,"timestamp_seconds":1784089203,"priority":1,"record_length":96,"hex_timestamp":"0000019f6400d138"} 
[2026-07-15 09:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-15 09:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132235,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132235,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726835712001,"66":14428,"37":206,"94":11008,"24":11,"16":24638543749971968,"45":873346514109548544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-15 09:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726835712001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:50:35] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-15 09:50:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 09:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24638543749971968,"km_value":24638543749971.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":873346514109548544,"description":"Unknown IO ID 45"} 
[2026-07-15 09:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726835712001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":873346514109548544}} 
[2026-07-15 09:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":132235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490459,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:50:35] local.INFO: GPS data processed {"connection_id":132235,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:50:35] local.INFO: Acknowledgment sent {"connection_id":132235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:50:38] local.INFO: TCP Data received {"connection_id":133262,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f64007378012d7f998005afdce00000011c31..."} 
[2026-07-15 09:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64007378012d7f998005afdce00000011c31..."} 
[2026-07-15 09:50:38] local.INFO: Processing buffer {"connection_id":133262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64007378012d7f998005afdce00000011c31..."} 
[2026-07-15 09:50:38] local.INFO: Packet analysis {"connection_id":133262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6400"} 
[2026-07-15 09:50:38] local.INFO: Extracted packet for processing {"connection_id":133262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6400"} 
[2026-07-15 09:50:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":49,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726752768001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784089179000,"timestamp_ms":1784089179000,"timestamp_seconds":1784089179,"priority":1,"record_length":96,"hex_timestamp":"0000019f64007378"} 
[2026-07-15 09:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 09:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726752768001,"66":25756,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 09:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726752768001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:50:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 09:50:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726752768001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":133262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:50:38] local.INFO: GPS data processed {"connection_id":133262,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:50:38] local.INFO: Acknowledgment sent {"connection_id":133262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:51:02] local.INFO: TCP Data received {"connection_id":134618,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:51:02] local.INFO: Processing buffer {"connection_id":134618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:51:02] local.INFO: IMEI packet received {"connection_id":134618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":134618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:51:06] local.INFO: TCP Data received {"connection_id":134618,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:51:06] local.INFO: Processing buffer {"connection_id":134618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:51:06] local.INFO: IMEI packet received {"connection_id":134618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":134618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:51:07] local.INFO: TCP Data received {"connection_id":132235,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f6400d520012d0c1d4007035120001500c921..."} 
[2026-07-15 09:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6400d520012d0c1d4007035120001500c921..."} 
[2026-07-15 09:51:07] local.INFO: Processing buffer {"connection_id":132235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6400d520012d0c1d4007035120001500c921..."} 
[2026-07-15 09:51:07] local.INFO: Packet analysis {"connection_id":132235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6400"} 
[2026-07-15 09:51:07] local.INFO: Extracted packet for processing {"connection_id":132235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6400"} 
[2026-07-15 09:51:07] local.INFO: GPS Element Parsed {"raw_longitude":755768640,"raw_latitude":117657888,"longitude_deg":75.576864,"latitude_deg":11.7657888,"altitude":21,"angle":201,"satellites":33,"speed":10,"hex_longitude":"2d0c1d40","hex_latitude":"07035120","is_valid_coordinates":true} 
[2026-07-15 09:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726835968001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24638560929841152,"note":"Value kept but may cause issues"} 
[2026-07-15 09:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":873135407876950016,"note":"Value kept but may cause issues"} 
[2026-07-15 09:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784089204000,"timestamp_ms":1784089204000,"timestamp_seconds":1784089204,"priority":1,"record_length":96,"hex_timestamp":"0000019f6400d520"} 
[2026-07-15 09:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-15 09:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132235,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132235,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726835968001,"66":14428,"37":206,"94":11008,"24":10,"16":24638560929841152,"45":873135407876950016},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-15 09:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726835968001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:51:07] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-15 09:51:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 09:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24638560929841152,"km_value":24638560929841.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":873135407876950016,"description":"Unknown IO ID 45"} 
[2026-07-15 09:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726835968001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":873135407876950016}} 
[2026-07-15 09:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":132235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490461,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:51:07] local.INFO: GPS data processed {"connection_id":132235,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:51:07] local.INFO: Acknowledgment sent {"connection_id":132235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:51:08] local.INFO: TCP Data received {"connection_id":134618,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f64007378012d7f998005afdce00000011c31..."} 
[2026-07-15 09:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64007378012d7f998005afdce00000011c31..."} 
[2026-07-15 09:51:08] local.INFO: Processing buffer {"connection_id":134618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64007378012d7f998005afdce00000011c31..."} 
[2026-07-15 09:51:08] local.INFO: Packet analysis {"connection_id":134618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6400"} 
[2026-07-15 09:51:08] local.INFO: Extracted packet for processing {"connection_id":134618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6400"} 
[2026-07-15 09:51:08] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":49,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726752768001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784089179000,"timestamp_ms":1784089179000,"timestamp_seconds":1784089179,"priority":1,"record_length":96,"hex_timestamp":"0000019f64007378"} 
[2026-07-15 09:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 09:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:51:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726752768001,"66":25756,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 09:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726752768001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:51:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 09:51:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726752768001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":134618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:51:08] local.INFO: GPS data processed {"connection_id":134618,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:51:08] local.INFO: Acknowledgment sent {"connection_id":134618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:51:12] local.INFO: TCP Data received {"connection_id":134618,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f64007378012d7f998005afdce00000011c31..."} 
[2026-07-15 09:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64007378012d7f998005afdce00000011c31..."} 
[2026-07-15 09:51:12] local.INFO: Processing buffer {"connection_id":134618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64007378012d7f998005afdce00000011c31..."} 
[2026-07-15 09:51:12] local.INFO: Packet analysis {"connection_id":134618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6400"} 
[2026-07-15 09:51:12] local.INFO: Extracted packet for processing {"connection_id":134618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6400"} 
[2026-07-15 09:51:12] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":49,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726752768001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784089179000,"timestamp_ms":1784089179000,"timestamp_seconds":1784089179,"priority":1,"record_length":96,"hex_timestamp":"0000019f64007378"} 
[2026-07-15 09:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 09:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":134618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":134618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":134618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:51:12] 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-07-15 09:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726752768001,"66":25756,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 09:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726752768001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:51:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 09:51:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726752768001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":134618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:51:12] local.INFO: GPS data processed {"connection_id":134618,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:51:12] local.INFO: Acknowledgment sent {"connection_id":134618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:51:29] local.INFO: TCP Data received {"connection_id":133264,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133264,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:51:29] local.INFO: Processing buffer {"connection_id":133264,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:51:29] local.INFO: IMEI packet received {"connection_id":133264,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 09:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":133264,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:51:30] local.INFO: TCP Data received {"connection_id":133264,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133264,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:51:30] local.INFO: Processing buffer {"connection_id":133264,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:51:30] local.INFO: IMEI packet received {"connection_id":133264,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":133264,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:51:31] local.INFO: TCP Data received {"connection_id":133264,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133264,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:51:31] local.INFO: Processing buffer {"connection_id":133264,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:51:31] local.INFO: IMEI packet received {"connection_id":133264,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":133264,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:51:32] local.INFO: TCP Data received {"connection_id":133264,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133264,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:51:32] local.INFO: Processing buffer {"connection_id":133264,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:51:32] local.INFO: IMEI packet received {"connection_id":133264,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":133264,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:51:43] local.INFO: TCP Data received {"connection_id":134618,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f64007378012d7f998005afdce00000011c31..."} 
[2026-07-15 09:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64007378012d7f998005afdce00000011c31..."} 
[2026-07-15 09:51:43] local.INFO: Processing buffer {"connection_id":134618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64007378012d7f998005afdce00000011c31..."} 
[2026-07-15 09:51:43] local.INFO: Packet analysis {"connection_id":134618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6400"} 
[2026-07-15 09:51:43] local.INFO: Extracted packet for processing {"connection_id":134618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6400"} 
[2026-07-15 09:51:43] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":49,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726752768001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:51:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:51:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784089179000,"timestamp_ms":1784089179000,"timestamp_seconds":1784089179,"priority":1,"record_length":96,"hex_timestamp":"0000019f64007378"} 
[2026-07-15 09:51:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:51:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 09:51:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:51:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":134618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":134618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":134618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:51:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726752768001,"66":25756,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 09:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726752768001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:51:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 09:51:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:51:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726752768001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":134618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:51:43] local.INFO: GPS data processed {"connection_id":134618,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:51:43] local.INFO: Acknowledgment sent {"connection_id":134618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:52:01] local.INFO: TCP Data received {"connection_id":133266,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:52:01] local.INFO: Processing buffer {"connection_id":133266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:52:01] local.INFO: IMEI packet received {"connection_id":133266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":133266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:52:04] local.INFO: TCP Data received {"connection_id":132236,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132236,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:52:04] local.INFO: Processing buffer {"connection_id":132236,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:52:04] local.INFO: IMEI packet received {"connection_id":132236,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 09:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":132236,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:52:06] local.INFO: TCP Data received {"connection_id":132236,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f63fd8960012d7bc24005ddb9c0000600a524..."} 
[2026-07-15 09:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63fd8960012d7bc24005ddb9c0000600a524..."} 
[2026-07-15 09:52:06] local.INFO: Processing buffer {"connection_id":132236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63fd8960012d7bc24005ddb9c0000600a524..."} 
[2026-07-15 09:52:06] local.INFO: Packet analysis {"connection_id":132236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63fd"} 
[2026-07-15 09:52:06] local.INFO: Extracted packet for processing {"connection_id":132236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63fd"} 
[2026-07-15 09:52:06] local.INFO: GPS Element Parsed {"raw_longitude":763085376,"raw_latitude":98417088,"longitude_deg":76.3085376,"latitude_deg":9.8417088,"altitude":6,"angle":165,"satellites":36,"speed":0,"hex_longitude":"2d7bc240","hex_latitude":"05ddb9c0","is_valid_coordinates":true} 
[2026-07-15 09:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726705408001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106360183571087360,"note":"Value kept but may cause issues"} 
[2026-07-15 09:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917760606085955584,"note":"Value kept but may cause issues"} 
[2026-07-15 09:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784088988000,"timestamp_ms":1784088988000,"timestamp_seconds":1784088988,"priority":1,"record_length":96,"hex_timestamp":"0000019f63fd8960"} 
[2026-07-15 09:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-15 09:52:06] 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-07-15 09:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132236,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132236,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726705408001,"66":12613,"185":206,"85":15104,"24":0,"16":106360183571087360,"45":8917760606085955584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-15 09:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726705408001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:52:06] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-15 09:52:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106360183571087360,"km_value":106360183571087.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917760606085955584,"description":"Unknown IO ID 45"} 
[2026-07-15 09:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726705408001,"power":12613,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8917760606085955584}} 
[2026-07-15 09:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":132236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490465,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:52:06] local.INFO: GPS data processed {"connection_id":132236,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:52:06] local.INFO: Acknowledgment sent {"connection_id":132236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:52:06] local.INFO: TCP Data received {"connection_id":133266,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:52:06] local.INFO: Processing buffer {"connection_id":133266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:52:06] local.INFO: IMEI packet received {"connection_id":133266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":133266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:52:07] local.INFO: TCP Data received {"connection_id":133266,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f64007378012d7f998005afdce00000011c31..."} 
[2026-07-15 09:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64007378012d7f998005afdce00000011c31..."} 
[2026-07-15 09:52:07] local.INFO: Processing buffer {"connection_id":133266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64007378012d7f998005afdce00000011c31..."} 
[2026-07-15 09:52:07] local.INFO: Packet analysis {"connection_id":133266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6400"} 
[2026-07-15 09:52:07] local.INFO: Extracted packet for processing {"connection_id":133266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6400"} 
[2026-07-15 09:52:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":49,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726752768001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784089179000,"timestamp_ms":1784089179000,"timestamp_seconds":1784089179,"priority":1,"record_length":96,"hex_timestamp":"0000019f64007378"} 
[2026-07-15 09:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 09:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:52:07] 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-07-15 09:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726752768001,"66":25756,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 09:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726752768001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:52:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 09:52:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726752768001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":133266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:52:07] local.INFO: GPS data processed {"connection_id":133266,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:52:07] local.INFO: Acknowledgment sent {"connection_id":133266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:52:29] local.INFO: TCP Data received {"connection_id":134619,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134619,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:52:29] local.INFO: Processing buffer {"connection_id":134619,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:52:29] local.INFO: IMEI packet received {"connection_id":134619,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 09:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":134619,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:52:34] local.INFO: TCP Data received {"connection_id":134619,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134619,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:52:34] local.INFO: Processing buffer {"connection_id":134619,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:52:34] local.INFO: IMEI packet received {"connection_id":134619,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":134619,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:52:34] local.INFO: TCP Data received {"connection_id":134619,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f63fd8960012d7bc24005ddb9c0000600a524..."} 
[2026-07-15 09:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63fd8960012d7bc24005ddb9c0000600a524..."} 
[2026-07-15 09:52:34] local.INFO: Processing buffer {"connection_id":134619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63fd8960012d7bc24005ddb9c0000600a524..."} 
[2026-07-15 09:52:34] local.INFO: Packet analysis {"connection_id":134619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63fd"} 
[2026-07-15 09:52:34] local.INFO: Extracted packet for processing {"connection_id":134619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63fd"} 
[2026-07-15 09:52:34] local.INFO: GPS Element Parsed {"raw_longitude":763085376,"raw_latitude":98417088,"longitude_deg":76.3085376,"latitude_deg":9.8417088,"altitude":6,"angle":165,"satellites":36,"speed":0,"hex_longitude":"2d7bc240","hex_latitude":"05ddb9c0","is_valid_coordinates":true} 
[2026-07-15 09:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726780928001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106360183571087360,"note":"Value kept but may cause issues"} 
[2026-07-15 09:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917760606085955584,"note":"Value kept but may cause issues"} 
[2026-07-15 09:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784088988000,"timestamp_ms":1784088988000,"timestamp_seconds":1784088988,"priority":1,"record_length":96,"hex_timestamp":"0000019f63fd8960"} 
[2026-07-15 09:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:52:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-15 09:52:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:52:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":134619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":134619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":134619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:52:34] 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-07-15 09:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726780928001,"66":12613,"185":206,"85":15104,"24":0,"16":106360183571087360,"45":8917760606085955584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-15 09:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726780928001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:52:35] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-15 09:52:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106360183571087360,"km_value":106360183571087.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917760606085955584,"description":"Unknown IO ID 45"} 
[2026-07-15 09:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726780928001,"power":12613,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8917760606085955584}} 
[2026-07-15 09:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":134619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490467,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:52:35] local.INFO: GPS data processed {"connection_id":134619,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:52:35] local.INFO: Acknowledgment sent {"connection_id":134619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:52:38] local.INFO: TCP Data received {"connection_id":133266,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f64007378012d7f998005afdce00000011c31..."} 
[2026-07-15 09:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64007378012d7f998005afdce00000011c31..."} 
[2026-07-15 09:52:38] local.INFO: Processing buffer {"connection_id":133266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64007378012d7f998005afdce00000011c31..."} 
[2026-07-15 09:52:38] local.INFO: Packet analysis {"connection_id":133266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6400"} 
[2026-07-15 09:52:38] local.INFO: Extracted packet for processing {"connection_id":133266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6400"} 
[2026-07-15 09:52:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":49,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726752768001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784089179000,"timestamp_ms":1784089179000,"timestamp_seconds":1784089179,"priority":1,"record_length":96,"hex_timestamp":"0000019f64007378"} 
[2026-07-15 09:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 09:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726752768001,"66":25756,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 09:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726752768001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:52:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 09:52:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726752768001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":133266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:52:38] local.INFO: GPS data processed {"connection_id":133266,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:52:38] local.INFO: Acknowledgment sent {"connection_id":133266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:53:02] local.INFO: TCP Data received {"connection_id":132417,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:53:02] local.INFO: Processing buffer {"connection_id":132417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:53:02] local.INFO: IMEI packet received {"connection_id":132417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":132417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:53:06] local.INFO: TCP Data received {"connection_id":134619,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f63fda0d0012d7bc24005ddb9c0000600a526..."} 
[2026-07-15 09:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63fda0d0012d7bc24005ddb9c0000600a526..."} 
[2026-07-15 09:53:06] local.INFO: Processing buffer {"connection_id":134619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63fda0d0012d7bc24005ddb9c0000600a526..."} 
[2026-07-15 09:53:06] local.INFO: Packet analysis {"connection_id":134619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63fd"} 
[2026-07-15 09:53:06] local.INFO: Extracted packet for processing {"connection_id":134619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63fd"} 
[2026-07-15 09:53:06] local.INFO: GPS Element Parsed {"raw_longitude":763085376,"raw_latitude":98417088,"longitude_deg":76.3085376,"latitude_deg":9.8417088,"altitude":6,"angle":165,"satellites":38,"speed":0,"hex_longitude":"2d7bc240","hex_latitude":"05ddb9c0","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726780928001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106360183571087360,"note":"Value kept but may cause issues"} 
[2026-07-15 09:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917760606085955584,"note":"Value kept but may cause issues"} 
[2026-07-15 09:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784088994000,"timestamp_ms":1784088994000,"timestamp_seconds":1784088994,"priority":1,"record_length":96,"hex_timestamp":"0000019f63fda0d0"} 
[2026-07-15 09:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-15 09:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":134619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":134619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":134619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:53:06] 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-07-15 09:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726780928001,"66":3351,"185":206,"85":15104,"24":0,"16":106360183571087360,"45":8917760606085955584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-15 09:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726780928001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:53:06] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-15 09:53:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106360183571087360,"km_value":106360183571087.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917760606085955584,"description":"Unknown IO ID 45"} 
[2026-07-15 09:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726780928001,"power":3351,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8917760606085955584}} 
[2026-07-15 09:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":134619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490469,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:53:06] local.INFO: GPS data processed {"connection_id":134619,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:53:06] local.INFO: Acknowledgment sent {"connection_id":134619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:53:06] local.INFO: TCP Data received {"connection_id":132417,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:53:06] local.INFO: Processing buffer {"connection_id":132417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:53:06] local.INFO: IMEI packet received {"connection_id":132417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":132417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:53:07] local.INFO: TCP Data received {"connection_id":132417,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f64007378012d7f998005afdce00000011c31..."} 
[2026-07-15 09:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64007378012d7f998005afdce00000011c31..."} 
[2026-07-15 09:53:07] local.INFO: Processing buffer {"connection_id":132417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64007378012d7f998005afdce00000011c31..."} 
[2026-07-15 09:53:07] local.INFO: Packet analysis {"connection_id":132417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6400"} 
[2026-07-15 09:53:07] local.INFO: Extracted packet for processing {"connection_id":132417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6400"} 
[2026-07-15 09:53:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":49,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726752768001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784089179000,"timestamp_ms":1784089179000,"timestamp_seconds":1784089179,"priority":1,"record_length":96,"hex_timestamp":"0000019f64007378"} 
[2026-07-15 09:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 09:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726752768001,"66":25756,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 09:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726752768001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:53:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 09:53:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726752768001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":132417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:53:07] local.INFO: GPS data processed {"connection_id":132417,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:53:07] local.INFO: Acknowledgment sent {"connection_id":132417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:53:29] local.INFO: TCP Data received {"connection_id":134622,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134622,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:53:29] local.INFO: Processing buffer {"connection_id":134622,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:53:29] local.INFO: IMEI packet received {"connection_id":134622,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 09:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":134622,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:53:34] local.INFO: TCP Data received {"connection_id":134622,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134622,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:53:34] local.INFO: Processing buffer {"connection_id":134622,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:53:34] local.INFO: IMEI packet received {"connection_id":134622,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":134622,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:53:35] local.INFO: TCP Data received {"connection_id":134622,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f63fda0d0012d7bc24005ddb9c0000600a526..."} 
[2026-07-15 09:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63fda0d0012d7bc24005ddb9c0000600a526..."} 
[2026-07-15 09:53:35] local.INFO: Processing buffer {"connection_id":134622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63fda0d0012d7bc24005ddb9c0000600a526..."} 
[2026-07-15 09:53:35] local.INFO: Packet analysis {"connection_id":134622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63fd"} 
[2026-07-15 09:53:35] local.INFO: Extracted packet for processing {"connection_id":134622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63fd"} 
[2026-07-15 09:53:35] local.INFO: GPS Element Parsed {"raw_longitude":763085376,"raw_latitude":98417088,"longitude_deg":76.3085376,"latitude_deg":9.8417088,"altitude":6,"angle":165,"satellites":38,"speed":0,"hex_longitude":"2d7bc240","hex_latitude":"05ddb9c0","is_valid_coordinates":true} 
[2026-07-15 09:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726780928001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106360183571087360,"note":"Value kept but may cause issues"} 
[2026-07-15 09:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917760606085955584,"note":"Value kept but may cause issues"} 
[2026-07-15 09:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784088994000,"timestamp_ms":1784088994000,"timestamp_seconds":1784088994,"priority":1,"record_length":96,"hex_timestamp":"0000019f63fda0d0"} 
[2026-07-15 09:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-15 09:53:35] 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-07-15 09:53:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":134622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":134622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":134622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726780928001,"66":3351,"185":206,"85":15104,"24":0,"16":106360183571087360,"45":8917760606085955584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-15 09:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726780928001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:53:35] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-15 09:53:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106360183571087360,"km_value":106360183571087.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917760606085955584,"description":"Unknown IO ID 45"} 
[2026-07-15 09:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726780928001,"power":3351,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8917760606085955584}} 
[2026-07-15 09:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":134622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490471,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:53:35] local.INFO: GPS data processed {"connection_id":134622,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:53:35] local.INFO: Acknowledgment sent {"connection_id":134622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:53:38] local.INFO: TCP Data received {"connection_id":132417,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f64007378012d7f998005afdce00000011c31..."} 
[2026-07-15 09:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64007378012d7f998005afdce00000011c31..."} 
[2026-07-15 09:53:38] local.INFO: Processing buffer {"connection_id":132417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64007378012d7f998005afdce00000011c31..."} 
[2026-07-15 09:53:38] local.INFO: Packet analysis {"connection_id":132417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6400"} 
[2026-07-15 09:53:38] local.INFO: Extracted packet for processing {"connection_id":132417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6400"} 
[2026-07-15 09:53:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":49,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726752768001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784089179000,"timestamp_ms":1784089179000,"timestamp_seconds":1784089179,"priority":1,"record_length":96,"hex_timestamp":"0000019f64007378"} 
[2026-07-15 09:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 09:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726752768001,"66":25756,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 09:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726752768001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:53:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 09:53:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726752768001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":132417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:53:38] local.INFO: GPS data processed {"connection_id":132417,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:53:38] local.INFO: Acknowledgment sent {"connection_id":132417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:54:06] local.INFO: TCP Data received {"connection_id":134622,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f63fda0d0012d7bc24005ddb9c0000600a526..."} 
[2026-07-15 09:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f63fda0d0012d7bc24005ddb9c0000600a526..."} 
[2026-07-15 09:54:06] local.INFO: Processing buffer {"connection_id":134622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f63fda0d0012d7bc24005ddb9c0000600a526..."} 
[2026-07-15 09:54:06] local.INFO: Packet analysis {"connection_id":134622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f63fd"} 
[2026-07-15 09:54:06] local.INFO: Extracted packet for processing {"connection_id":134622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f63fd"} 
[2026-07-15 09:54:06] local.INFO: GPS Element Parsed {"raw_longitude":763085376,"raw_latitude":98417088,"longitude_deg":76.3085376,"latitude_deg":9.8417088,"altitude":6,"angle":165,"satellites":38,"speed":0,"hex_longitude":"2d7bc240","hex_latitude":"05ddb9c0","is_valid_coordinates":true} 
[2026-07-15 09:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726780928001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106360183571087360,"note":"Value kept but may cause issues"} 
[2026-07-15 09:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917760606085955584,"note":"Value kept but may cause issues"} 
[2026-07-15 09:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784088994000,"timestamp_ms":1784088994000,"timestamp_seconds":1784088994,"priority":1,"record_length":96,"hex_timestamp":"0000019f63fda0d0"} 
[2026-07-15 09:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-15 09:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":134622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":134622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":134622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726780928001,"66":3351,"185":206,"85":15104,"24":0,"16":106360183571087360,"45":8917760606085955584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-15 09:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726780928001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:54:06] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-15 09:54:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106360183571087360,"km_value":106360183571087.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917760606085955584,"description":"Unknown IO ID 45"} 
[2026-07-15 09:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726780928001,"power":3351,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8917760606085955584}} 
[2026-07-15 09:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":134622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490473,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:54:06] local.INFO: GPS data processed {"connection_id":134622,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:54:06] local.INFO: Acknowledgment sent {"connection_id":134622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:54:07] local.INFO: TCP Data received {"connection_id":134623,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:54:07] local.INFO: Processing buffer {"connection_id":134623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:54:07] local.INFO: IMEI packet received {"connection_id":134623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":134623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:54:11] local.INFO: TCP Data received {"connection_id":134623,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:54:11] local.INFO: Processing buffer {"connection_id":134623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:54:11] local.INFO: IMEI packet received {"connection_id":134623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":134623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:54:18] local.INFO: TCP Data received {"connection_id":134623,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f64007378012d7f998005afdce00000011c31..."} 
[2026-07-15 09:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64007378012d7f998005afdce00000011c31..."} 
[2026-07-15 09:54:18] local.INFO: Processing buffer {"connection_id":134623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64007378012d7f998005afdce00000011c31..."} 
[2026-07-15 09:54:18] local.INFO: Packet analysis {"connection_id":134623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6400"} 
[2026-07-15 09:54:18] local.INFO: Extracted packet for processing {"connection_id":134623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6400"} 
[2026-07-15 09:54:18] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":49,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726752768001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784089179000,"timestamp_ms":1784089179000,"timestamp_seconds":1784089179,"priority":1,"record_length":96,"hex_timestamp":"0000019f64007378"} 
[2026-07-15 09:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:54:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 09:54:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":134623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":134623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":134623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:54: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-07-15 09:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726752768001,"66":25756,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 09:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726752768001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:54:18] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 09:54:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726752768001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":134623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:54:18] local.INFO: GPS data processed {"connection_id":134623,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:54:18] local.INFO: Acknowledgment sent {"connection_id":134623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:54:19] local.INFO: TCP Data received {"connection_id":134623,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f64007378012d7f998005afdce00000011c31..."} 
[2026-07-15 09:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64007378012d7f998005afdce00000011c31..."} 
[2026-07-15 09:54:19] local.INFO: Processing buffer {"connection_id":134623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64007378012d7f998005afdce00000011c31..."} 
[2026-07-15 09:54:19] local.INFO: Packet analysis {"connection_id":134623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6400"} 
[2026-07-15 09:54:19] local.INFO: Extracted packet for processing {"connection_id":134623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6400"} 
[2026-07-15 09:54:19] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":49,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:54:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726752768001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:54:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:54:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:54:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:54:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784089179000,"timestamp_ms":1784089179000,"timestamp_seconds":1784089179,"priority":1,"record_length":96,"hex_timestamp":"0000019f64007378"} 
[2026-07-15 09:54:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:54:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 09:54:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:54:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:54:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:54:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:54:19] local.INFO: Teltonika packet parsed successfully {"connection_id":134623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:54:19] local.INFO: Passing IMEI to GPS processor {"connection_id":134623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:54:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":134623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:54: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-07-15 09:54:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:54:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:54:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726752768001,"66":25756,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 09:54:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:54:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:54:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726752768001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:54:19] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 09:54:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:54:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:54:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:54:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726752768001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:54:19] local.INFO: DEBUG: GPS processor result {"connection_id":134623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:54:19] local.INFO: GPS data processed {"connection_id":134623,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:54:19] local.INFO: Acknowledgment sent {"connection_id":134623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:54:34] local.INFO: TCP Data received {"connection_id":132419,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132419,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:54:34] local.INFO: Processing buffer {"connection_id":132419,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:54:34] local.INFO: IMEI packet received {"connection_id":132419,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 09:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":132419,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:54:39] local.INFO: TCP Data received {"connection_id":132419,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132419,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:54:39] local.INFO: Processing buffer {"connection_id":132419,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:54:39] local.INFO: IMEI packet received {"connection_id":132419,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:54:39] local.INFO: IMEI acknowledgment sent {"connection_id":132419,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:54:39] local.INFO: TCP Data received {"connection_id":132419,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f6404ff88012d7bc24005ddb9c0000600a529..."} 
[2026-07-15 09:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6404ff88012d7bc24005ddb9c0000600a529..."} 
[2026-07-15 09:54:39] local.INFO: Processing buffer {"connection_id":132419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6404ff88012d7bc24005ddb9c0000600a529..."} 
[2026-07-15 09:54:39] local.INFO: Packet analysis {"connection_id":132419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6404"} 
[2026-07-15 09:54:39] local.INFO: Extracted packet for processing {"connection_id":132419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6404"} 
[2026-07-15 09:54:39] local.INFO: GPS Element Parsed {"raw_longitude":763085376,"raw_latitude":98417088,"longitude_deg":76.3085376,"latitude_deg":9.8417088,"altitude":6,"angle":165,"satellites":41,"speed":0,"hex_longitude":"2d7bc240","hex_latitude":"05ddb9c0","is_valid_coordinates":true} 
[2026-07-15 09:54: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-07-15 09:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726782464001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106360183571087360,"note":"Value kept but may cause issues"} 
[2026-07-15 09:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917760606085955584,"note":"Value kept but may cause issues"} 
[2026-07-15 09:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784089477000,"timestamp_ms":1784089477000,"timestamp_seconds":1784089477,"priority":1,"record_length":96,"hex_timestamp":"0000019f6404ff88"} 
[2026-07-15 09:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:54:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":13,"n8_eight_byte":23,"data_length":795,"current_offset":136} 
[2026-07-15 09:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-15 09:54:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184264663245,"note":"Value kept but may cause issues"} 
[2026-07-15 09:54:39] local.WARNING: Large IO value detected {"io_id":95,"raw_value":67553995568250884,"note":"Value kept but may cause issues"} 
[2026-07-15 09:54:39] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619929018370,"note":"Value kept but may cause issues"} 
[2026-07-15 09:54:39] local.WARNING: Large IO value detected {"io_id":121,"raw_value":-2448269347429285888,"note":"Value kept but may cause issues"} 
[2026-07-15 09:54:39] local.WARNING: Large IO value detected {"io_id":192,"raw_value":1651164743468544,"note":"Value kept but may cause issues"} 
[2026-07-15 09:54:39] local.WARNING: Large IO value detected {"io_id":165,"raw_value":2810246171488946688,"note":"Value kept but may cause issues"} 
[2026-07-15 09:54:39] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67272521335898352,"note":"Value kept but may cause issues"} 
[2026-07-15 09:54:39] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":57885683738367291,"corrected_to":0} 
[2026-07-15 09:54:39] local.WARNING: Large IO value detected {"io_id":244,"raw_value":5627249029260771333,"note":"Value kept but may cause issues"} 
[2026-07-15 09:54:39] local.WARNING: Large IO value detected {"io_id":221,"raw_value":-5062045955383810560,"note":"Value kept but may cause issues"} 
[2026-07-15 09:54:39] local.INFO: IO Element Parsed {"io_data_count":29,"io_data_keys":[0,185,85,24,241,157,16,222,159,137,45,64,6,36,10,66,9,240,227,1,95,206,121,192,165,4,203,244,221],"length":476,"final_offset":606,"validated_count":29,"validation_warnings":[{"io_id":203,"original":57885683738367291,"validated":0}]} 
[2026-07-15 09:54:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432527146854907904,"timestamp_seconds":432527146854907.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 09:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132419,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132419,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726782464001,"66":2242,"185":206,"85":15104,"24":0,"16":106360183571087360,"45":8917760606085955584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-15 09:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726782464001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:54:39] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-15 09:54:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106360183571087360,"km_value":106360183571087.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917760606085955584,"description":"Unknown IO ID 45"} 
[2026-07-15 09:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726782464001,"power":2242,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8917760606085955584}} 
[2026-07-15 09:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":132419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490476,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:54:40] local.INFO: GPS data processed {"connection_id":132419,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:54:40] local.INFO: Acknowledgment sent {"connection_id":132419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:55:00] local.INFO: TCP Data received {"connection_id":133268,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133268,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:55:00] local.INFO: Processing buffer {"connection_id":133268,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:55:00] local.INFO: IMEI packet received {"connection_id":133268,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 09:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":133268,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:55:01] local.INFO: TCP Data received {"connection_id":132237,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:55:01] local.INFO: Processing buffer {"connection_id":132237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:55:01] local.INFO: IMEI packet received {"connection_id":132237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":132237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:55:08] local.INFO: TCP Data received {"connection_id":132237,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:55:08] local.INFO: Processing buffer {"connection_id":132237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:55:08] local.INFO: IMEI packet received {"connection_id":132237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":132237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:55:08] local.INFO: TCP Data received {"connection_id":133269,"ip":"88.214.25.125","data_length":47,"data_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-07-15 09:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133269,"packet_length":47,"packet_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-07-15 09:55:08] local.INFO: Processing buffer {"connection_id":133269,"buffer_length":47,"buffer_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-07-15 09:55:08] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":133269,"buffer_length":47,"first_bytes_hex":"0300002f2ae00000000000436f6f6b69"} 
[2026-07-15 09:55:09] local.INFO: TCP Data received {"connection_id":132237,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f64007378012d7f998005afdce00000011c31..."} 
[2026-07-15 09:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64007378012d7f998005afdce00000011c31..."} 
[2026-07-15 09:55:09] local.INFO: Processing buffer {"connection_id":132237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64007378012d7f998005afdce00000011c31..."} 
[2026-07-15 09:55:09] local.INFO: Packet analysis {"connection_id":132237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6400"} 
[2026-07-15 09:55:09] local.INFO: Extracted packet for processing {"connection_id":132237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6400"} 
[2026-07-15 09:55:09] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":49,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726752768001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784089179000,"timestamp_ms":1784089179000,"timestamp_seconds":1784089179,"priority":1,"record_length":96,"hex_timestamp":"0000019f64007378"} 
[2026-07-15 09:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 09:55:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:55:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":132237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":132237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":132237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:55:09] 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-07-15 09:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726752768001,"66":25756,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 09:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726752768001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:55:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 09:55:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726752768001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":132237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:55:09] local.INFO: GPS data processed {"connection_id":132237,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:55:09] local.INFO: Acknowledgment sent {"connection_id":132237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:55:12] local.INFO: TCP Data received {"connection_id":132237,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f64007378012d7f998005afdce00000011c31..."} 
[2026-07-15 09:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64007378012d7f998005afdce00000011c31..."} 
[2026-07-15 09:55:12] local.INFO: Processing buffer {"connection_id":132237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64007378012d7f998005afdce00000011c31..."} 
[2026-07-15 09:55:12] local.INFO: Packet analysis {"connection_id":132237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6400"} 
[2026-07-15 09:55:12] local.INFO: Extracted packet for processing {"connection_id":132237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6400"} 
[2026-07-15 09:55:12] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":49,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726752768001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784089179000,"timestamp_ms":1784089179000,"timestamp_seconds":1784089179,"priority":1,"record_length":96,"hex_timestamp":"0000019f64007378"} 
[2026-07-15 09:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 09:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:55:12] 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-07-15 09:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726752768001,"66":25756,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 09:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726752768001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:55:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 09:55:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726752768001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":132237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:55:12] local.INFO: GPS data processed {"connection_id":132237,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:55:12] local.INFO: Acknowledgment sent {"connection_id":132237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:55:40] local.INFO: TCP Data received {"connection_id":134625,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134625,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:55:40] local.INFO: Processing buffer {"connection_id":134625,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 09:55:40] local.INFO: IMEI packet received {"connection_id":134625,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 09:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":134625,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:55:43] local.INFO: TCP Data received {"connection_id":132237,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f64050b40012d7f998005afdce00000011c31..."} 
[2026-07-15 09:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64050b40012d7f998005afdce00000011c31..."} 
[2026-07-15 09:55:43] local.INFO: Processing buffer {"connection_id":132237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64050b40012d7f998005afdce00000011c31..."} 
[2026-07-15 09:55:43] local.INFO: Packet analysis {"connection_id":132237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6405"} 
[2026-07-15 09:55:43] local.INFO: Extracted packet for processing {"connection_id":132237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6405"} 
[2026-07-15 09:55:43] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":49,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726829824001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:55:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784089480000,"timestamp_ms":1784089480000,"timestamp_seconds":1784089480,"priority":1,"record_length":96,"hex_timestamp":"0000019f64050b40"} 
[2026-07-15 09:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:55:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 09:55:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":132237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":132237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":132237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:55:43] 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-07-15 09:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726829824001,"66":25756,"28":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-15 09:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726829824001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:55:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-15 09:55:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726829824001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":132237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:55:43] local.INFO: GPS data processed {"connection_id":132237,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:55:43] local.INFO: Acknowledgment sent {"connection_id":132237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:56:01] local.INFO: TCP Data received {"connection_id":132238,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:56:01] local.INFO: Processing buffer {"connection_id":132238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:56:01] local.INFO: IMEI packet received {"connection_id":132238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":132238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:56:06] local.INFO: TCP Data received {"connection_id":132238,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:56:06] local.INFO: Processing buffer {"connection_id":132238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:56:06] local.INFO: IMEI packet received {"connection_id":132238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":132238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:56:07] local.INFO: TCP Data received {"connection_id":132238,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f64050b40012d7f998005afdce00000011c31..."} 
[2026-07-15 09:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64050b40012d7f998005afdce00000011c31..."} 
[2026-07-15 09:56:07] local.INFO: Processing buffer {"connection_id":132238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64050b40012d7f998005afdce00000011c31..."} 
[2026-07-15 09:56:07] local.INFO: Packet analysis {"connection_id":132238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6405"} 
[2026-07-15 09:56:07] local.INFO: Extracted packet for processing {"connection_id":132238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6405"} 
[2026-07-15 09:56:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":49,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726829824001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784089480000,"timestamp_ms":1784089480000,"timestamp_seconds":1784089480,"priority":1,"record_length":96,"hex_timestamp":"0000019f64050b40"} 
[2026-07-15 09:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 09:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:56:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726829824001,"66":25756,"28":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-15 09:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726829824001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:56:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-15 09:56:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726829824001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":132238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:56:07] local.INFO: GPS data processed {"connection_id":132238,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:56:07] local.INFO: Acknowledgment sent {"connection_id":132238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:56:38] local.INFO: TCP Data received {"connection_id":132238,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f64050b40012d7f998005afdce00000011c31..."} 
[2026-07-15 09:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64050b40012d7f998005afdce00000011c31..."} 
[2026-07-15 09:56:38] local.INFO: Processing buffer {"connection_id":132238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64050b40012d7f998005afdce00000011c31..."} 
[2026-07-15 09:56:38] local.INFO: Packet analysis {"connection_id":132238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6405"} 
[2026-07-15 09:56:38] local.INFO: Extracted packet for processing {"connection_id":132238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6405"} 
[2026-07-15 09:56:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":49,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726829824001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784089480000,"timestamp_ms":1784089480000,"timestamp_seconds":1784089480,"priority":1,"record_length":96,"hex_timestamp":"0000019f64050b40"} 
[2026-07-15 09:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 09:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:56:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726829824001,"66":25756,"28":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-15 09:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726829824001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:56:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-15 09:56:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726829824001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":132238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:56:38] local.INFO: GPS data processed {"connection_id":132238,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:56:38] local.INFO: Acknowledgment sent {"connection_id":132238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:57:04] local.INFO: TCP Data received {"connection_id":133271,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133271,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:57:04] local.INFO: Processing buffer {"connection_id":133271,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:57:04] local.INFO: IMEI packet received {"connection_id":133271,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 09:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":133271,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:57:05] local.INFO: TCP Data received {"connection_id":133271,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133271,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:57:05] local.INFO: Processing buffer {"connection_id":133271,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:57:05] local.INFO: IMEI packet received {"connection_id":133271,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":133271,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:57:06] local.INFO: TCP Data received {"connection_id":133271,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133271,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:57:06] local.INFO: Processing buffer {"connection_id":133271,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:57:06] local.INFO: IMEI packet received {"connection_id":133271,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":133271,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:57:06] local.INFO: TCP Data received {"connection_id":133270,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:57:06] local.INFO: Processing buffer {"connection_id":133270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:57:06] local.INFO: IMEI packet received {"connection_id":133270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":133270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:57:10] local.INFO: TCP Data received {"connection_id":133271,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133271,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:57:10] local.INFO: Processing buffer {"connection_id":133271,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:57:10] local.INFO: IMEI packet received {"connection_id":133271,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":133271,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:57:11] local.INFO: TCP Data received {"connection_id":133271,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f6406ad38012d0b48800703b5e80016000922..."} 
[2026-07-15 09:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6406ad38012d0b48800703b5e80016000922..."} 
[2026-07-15 09:57:11] local.INFO: Processing buffer {"connection_id":133271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6406ad38012d0b48800703b5e80016000922..."} 
[2026-07-15 09:57:11] local.INFO: Packet analysis {"connection_id":133271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6406"} 
[2026-07-15 09:57:11] local.INFO: Extracted packet for processing {"connection_id":133271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6406"} 
[2026-07-15 09:57:11] local.INFO: GPS Element Parsed {"raw_longitude":755714176,"raw_latitude":117683688,"longitude_deg":75.5714176,"latitude_deg":11.7683688,"altitude":22,"angle":9,"satellites":34,"speed":23,"hex_longitude":"2d0b4880","hex_latitude":"0703b5e8","is_valid_coordinates":true} 
[2026-07-15 09:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726933504001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24643551681839104,"note":"Value kept but may cause issues"} 
[2026-07-15 09:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":812547919146151936,"note":"Value kept but may cause issues"} 
[2026-07-15 09:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784089587000,"timestamp_ms":1784089587000,"timestamp_seconds":1784089587,"priority":1,"record_length":96,"hex_timestamp":"0000019f6406ad38"} 
[2026-07-15 09:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-15 09:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":133271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":133271,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":133271,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726933504001,"66":14537,"17":206,"94":11008,"24":23,"16":24643551681839104,"45":812547919146151936},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-15 09:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726933504001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:57:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 09:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24643551681839104,"km_value":24643551681839.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":812547919146151936,"description":"Unknown IO ID 45"} 
[2026-07-15 09:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726933504001,"power":14537,"axis_x":206,"unknown_94":11008,"ignition":23,"odometer":null,"unknown_45":812547919146151936}} 
[2026-07-15 09:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":133271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490482,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:57:11] local.INFO: GPS data processed {"connection_id":133271,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:57:11] local.INFO: Acknowledgment sent {"connection_id":133271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:57:11] local.INFO: TCP Data received {"connection_id":133270,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:57:11] local.INFO: Processing buffer {"connection_id":133270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:57:11] local.INFO: IMEI packet received {"connection_id":133270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":133270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:57:12] local.INFO: TCP Data received {"connection_id":133270,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f64050b40012d7f998005afdce00000011c31..."} 
[2026-07-15 09:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64050b40012d7f998005afdce00000011c31..."} 
[2026-07-15 09:57:12] local.INFO: Processing buffer {"connection_id":133270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64050b40012d7f998005afdce00000011c31..."} 
[2026-07-15 09:57:12] local.INFO: Packet analysis {"connection_id":133270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6405"} 
[2026-07-15 09:57:12] local.INFO: Extracted packet for processing {"connection_id":133270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6405"} 
[2026-07-15 09:57:12] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":49,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726829824001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:57:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784089480000,"timestamp_ms":1784089480000,"timestamp_seconds":1784089480,"priority":1,"record_length":96,"hex_timestamp":"0000019f64050b40"} 
[2026-07-15 09:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:57:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 09:57:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:57:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":133270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":133270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":133270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726829824001,"66":25756,"28":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-15 09:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726829824001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:57:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-15 09:57:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:57:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726829824001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":133270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:57:12] local.INFO: GPS data processed {"connection_id":133270,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:57:12] local.INFO: Acknowledgment sent {"connection_id":133270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:57:34] local.INFO: TCP Data received {"connection_id":132423,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132423,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:57:34] local.INFO: Processing buffer {"connection_id":132423,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:57:34] local.INFO: IMEI packet received {"connection_id":132423,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 09:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":132423,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:57:35] local.INFO: TCP Data received {"connection_id":132423,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132423,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:57:35] local.INFO: Processing buffer {"connection_id":132423,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:57:35] local.INFO: IMEI packet received {"connection_id":132423,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":132423,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:57:39] local.INFO: TCP Data received {"connection_id":132423,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132423,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:57:39] local.INFO: Processing buffer {"connection_id":132423,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:57:39] local.INFO: IMEI packet received {"connection_id":132423,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":132423,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:57:40] local.INFO: TCP Data received {"connection_id":132423,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f64075148012d0b3b40070419d00011015220..."} 
[2026-07-15 09:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64075148012d0b3b40070419d00011015220..."} 
[2026-07-15 09:57:40] local.INFO: Processing buffer {"connection_id":132423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64075148012d0b3b40070419d00011015220..."} 
[2026-07-15 09:57:40] local.INFO: Packet analysis {"connection_id":132423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6407"} 
[2026-07-15 09:57:40] local.INFO: Extracted packet for processing {"connection_id":132423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6407"} 
[2026-07-15 09:57:40] local.INFO: GPS Element Parsed {"raw_longitude":755710784,"raw_latitude":117709264,"longitude_deg":75.5710784,"latitude_deg":11.7709264,"altitude":17,"angle":338,"satellites":32,"speed":17,"hex_longitude":"2d0b3b40","hex_latitude":"070419d0","is_valid_coordinates":true} 
[2026-07-15 09:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726944768001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24644865941831680,"note":"Value kept but may cause issues"} 
[2026-07-15 09:57:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":809381325664944128,"note":"Value kept but may cause issues"} 
[2026-07-15 09:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784089629000,"timestamp_ms":1784089629000,"timestamp_seconds":1784089629,"priority":1,"record_length":96,"hex_timestamp":"0000019f64075148"} 
[2026-07-15 09:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:57:40] 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-07-15 09:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-07-15 09:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:57:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132423,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132423,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726944768001,"66":14580,"96":206,"94":10240,"24":17,"16":24644865941831680,"45":809381325664944128},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-15 09:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726944768001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:57:40] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-15 09:57:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24644865941831680,"km_value":24644865941831.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:57:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":809381325664944128,"description":"Unknown IO ID 45"} 
[2026-07-15 09:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726944768001,"power":14580,"unknown_96":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":809381325664944128}} 
[2026-07-15 09:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":132423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490484,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:57:40] local.INFO: GPS data processed {"connection_id":132423,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:57:40] local.INFO: Acknowledgment sent {"connection_id":132423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:57:43] local.INFO: TCP Data received {"connection_id":133270,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f64050b40012d7f998005afdce00000011c31..."} 
[2026-07-15 09:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64050b40012d7f998005afdce00000011c31..."} 
[2026-07-15 09:57:43] local.INFO: Processing buffer {"connection_id":133270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64050b40012d7f998005afdce00000011c31..."} 
[2026-07-15 09:57:43] local.INFO: Packet analysis {"connection_id":133270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6405"} 
[2026-07-15 09:57:43] local.INFO: Extracted packet for processing {"connection_id":133270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6405"} 
[2026-07-15 09:57:43] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":49,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726829824001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:57:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784089480000,"timestamp_ms":1784089480000,"timestamp_seconds":1784089480,"priority":1,"record_length":96,"hex_timestamp":"0000019f64050b40"} 
[2026-07-15 09:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:57:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 09:57:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:57:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":133270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":133270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":133270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726829824001,"66":25756,"28":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-15 09:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726829824001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:57:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-15 09:57:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726829824001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":133270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:57:43] local.INFO: GPS data processed {"connection_id":133270,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:57:43] local.INFO: Acknowledgment sent {"connection_id":133270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:58:01] local.INFO: TCP Data received {"connection_id":132424,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:58:01] local.INFO: Processing buffer {"connection_id":132424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:58:01] local.INFO: IMEI packet received {"connection_id":132424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":132424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:58:06] local.INFO: TCP Data received {"connection_id":132424,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:58:06] local.INFO: Processing buffer {"connection_id":132424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:58:06] local.INFO: IMEI packet received {"connection_id":132424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":132424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:58:07] local.INFO: TCP Data received {"connection_id":132424,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f64050b40012d7f998005afdce00000011c31..."} 
[2026-07-15 09:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64050b40012d7f998005afdce00000011c31..."} 
[2026-07-15 09:58:07] local.INFO: Processing buffer {"connection_id":132424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64050b40012d7f998005afdce00000011c31..."} 
[2026-07-15 09:58:07] local.INFO: Packet analysis {"connection_id":132424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6405"} 
[2026-07-15 09:58:07] local.INFO: Extracted packet for processing {"connection_id":132424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6405"} 
[2026-07-15 09:58:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":49,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726829824001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784089480000,"timestamp_ms":1784089480000,"timestamp_seconds":1784089480,"priority":1,"record_length":96,"hex_timestamp":"0000019f64050b40"} 
[2026-07-15 09:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:58:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 09:58:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:58:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:58:07] 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-07-15 09:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726829824001,"66":25756,"28":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-15 09:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726829824001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:58:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-15 09:58:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726829824001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":132424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:58:07] local.INFO: GPS data processed {"connection_id":132424,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:58:07] local.INFO: Acknowledgment sent {"connection_id":132424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:58:11] local.INFO: TCP Data received {"connection_id":132423,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f64075530012d0b3a8007041b480012014621..."} 
[2026-07-15 09:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64075530012d0b3a8007041b480012014621..."} 
[2026-07-15 09:58:11] local.INFO: Processing buffer {"connection_id":132423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64075530012d0b3a8007041b480012014621..."} 
[2026-07-15 09:58:11] local.INFO: Packet analysis {"connection_id":132423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6407"} 
[2026-07-15 09:58:11] local.INFO: Extracted packet for processing {"connection_id":132423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6407"} 
[2026-07-15 09:58:11] local.INFO: GPS Element Parsed {"raw_longitude":755710592,"raw_latitude":117709640,"longitude_deg":75.5710592,"latitude_deg":11.770964,"altitude":18,"angle":326,"satellites":33,"speed":16,"hex_longitude":"2d0b3a80","hex_latitude":"07041b48","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726945024001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24644887416668160,"note":"Value kept but may cause issues"} 
[2026-07-15 09:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":809310956920885248,"note":"Value kept but may cause issues"} 
[2026-07-15 09:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784089630000,"timestamp_ms":1784089630000,"timestamp_seconds":1784089630,"priority":1,"record_length":96,"hex_timestamp":"0000019f64075530"} 
[2026-07-15 09:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09: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":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-07-15 09:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132423,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132423,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726945024001,"66":13852,"96":206,"94":10240,"24":16,"16":24644887416668160,"45":809310956920885248},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-15 09:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726945024001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:58:11] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-15 09:58:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24644887416668160,"km_value":24644887416668.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":809310956920885248,"description":"Unknown IO ID 45"} 
[2026-07-15 09:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726945024001,"power":13852,"unknown_96":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":809310956920885248}} 
[2026-07-15 09:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":132423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490487,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:58:12] local.INFO: GPS data processed {"connection_id":132423,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:58:12] local.INFO: Acknowledgment sent {"connection_id":132423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:58:18] local.INFO: TCP Data received {"connection_id":132425,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132425,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:58:19] local.INFO: Processing buffer {"connection_id":132425,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:58:19] local.INFO: IMEI packet received {"connection_id":132425,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 09:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":132425,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:58:20] local.INFO: TCP Data received {"connection_id":132425,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132425,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:58:20] local.INFO: Processing buffer {"connection_id":132425,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:58:20] local.INFO: IMEI packet received {"connection_id":132425,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":132425,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:58:26] local.INFO: TCP Data received {"connection_id":132425,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132425,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:58:26] local.INFO: Processing buffer {"connection_id":132425,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 09:58:26] local.INFO: IMEI packet received {"connection_id":132425,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 09:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":132425,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:58:27] local.INFO: TCP Data received {"connection_id":132425,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f64080110012d7be10005dd3100000000b016..."} 
[2026-07-15 09:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64080110012d7be10005dd3100000000b016..."} 
[2026-07-15 09:58:27] local.INFO: Processing buffer {"connection_id":132425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64080110012d7be10005dd3100000000b016..."} 
[2026-07-15 09:58:27] local.INFO: Packet analysis {"connection_id":132425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6408"} 
[2026-07-15 09:58:27] local.INFO: Extracted packet for processing {"connection_id":132425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6408"} 
[2026-07-15 09:58:27] local.INFO: GPS Element Parsed {"raw_longitude":763093248,"raw_latitude":98382080,"longitude_deg":76.3093248,"latitude_deg":9.838208,"altitude":0,"angle":176,"satellites":22,"speed":42,"hex_longitude":"2d7be100","hex_latitude":"05dd3100","is_valid_coordinates":true} 
[2026-07-15 09:58:27] 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-07-15 09:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106361549370687488,"note":"Value kept but may cause issues"} 
[2026-07-15 09:58:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,169,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 09:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784089674000,"timestamp_ms":1784089674000,"timestamp_seconds":1784089674,"priority":1,"record_length":96,"hex_timestamp":"0000019f64080110"} 
[2026-07-15 09:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:58:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-15 09:58:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:58:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":132425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":132425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":132425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:58: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-07-15 09:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13015,"169":206,"85":15104,"24":42,"16":106361549370687488},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16]} 
[2026-07-15 09:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-15 09:58:27] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-15 09:58:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106361549370687488,"km_value":106361549370687.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:58:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13015,"unknown_169":206,"unknown_85":15104,"ignition":42,"odometer":null}} 
[2026-07-15 09:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":132425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490488,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:58:27] local.INFO: GPS data processed {"connection_id":132425,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:58:27] local.INFO: Acknowledgment sent {"connection_id":132425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:58:29] local.INFO: TCP Data received {"connection_id":133272,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133272,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:58:29] local.INFO: Processing buffer {"connection_id":133272,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:58:29] local.INFO: IMEI packet received {"connection_id":133272,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 09:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":133272,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:58:34] local.INFO: TCP Data received {"connection_id":133272,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133272,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:58:34] local.INFO: Processing buffer {"connection_id":133272,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:58:34] local.INFO: IMEI packet received {"connection_id":133272,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":133272,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:58:35] local.INFO: TCP Data received {"connection_id":133272,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f640760e8012d0b37c007041f580012015321..."} 
[2026-07-15 09:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f640760e8012d0b37c007041f580012015321..."} 
[2026-07-15 09:58:35] local.INFO: Processing buffer {"connection_id":133272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f640760e8012d0b37c007041f580012015321..."} 
[2026-07-15 09:58:35] local.INFO: Packet analysis {"connection_id":133272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6407"} 
[2026-07-15 09:58:35] local.INFO: Extracted packet for processing {"connection_id":133272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6407"} 
[2026-07-15 09:58:35] local.INFO: GPS Element Parsed {"raw_longitude":755709888,"raw_latitude":117710680,"longitude_deg":75.5709888,"latitude_deg":11.771068,"altitude":18,"angle":339,"satellites":33,"speed":16,"hex_longitude":"2d0b37c0","hex_latitude":"07041f58","is_valid_coordinates":true} 
[2026-07-15 09:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726945280001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24644947546210304,"note":"Value kept but may cause issues"} 
[2026-07-15 09:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":809099850688448512,"note":"Value kept but may cause issues"} 
[2026-07-15 09:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784089633000,"timestamp_ms":1784089633000,"timestamp_seconds":1784089633,"priority":1,"record_length":96,"hex_timestamp":"0000019f640760e8"} 
[2026-07-15 09:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-07-15 09:58:35] 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-07-15 09:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":133272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":133272,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":133272,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726945280001,"66":14515,"96":206,"94":10240,"24":16,"16":24644947546210304,"45":809099850688448512},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-15 09:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726945280001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:58:35] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-15 09:58:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24644947546210304,"km_value":24644947546210.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":809099850688448512,"description":"Unknown IO ID 45"} 
[2026-07-15 09:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726945280001,"power":14515,"unknown_96":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":809099850688448512}} 
[2026-07-15 09:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":133272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490489,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:58:35] local.INFO: GPS data processed {"connection_id":133272,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:58:35] local.INFO: Acknowledgment sent {"connection_id":133272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:58:39] local.INFO: TCP Data received {"connection_id":132424,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f64050b40012d7f998005afdce00000011c31..."} 
[2026-07-15 09:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64050b40012d7f998005afdce00000011c31..."} 
[2026-07-15 09:58:39] local.INFO: Processing buffer {"connection_id":132424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64050b40012d7f998005afdce00000011c31..."} 
[2026-07-15 09:58:39] local.INFO: Packet analysis {"connection_id":132424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6405"} 
[2026-07-15 09:58:39] local.INFO: Extracted packet for processing {"connection_id":132424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6405"} 
[2026-07-15 09:58:39] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":49,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726829824001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784089480000,"timestamp_ms":1784089480000,"timestamp_seconds":1784089480,"priority":1,"record_length":96,"hex_timestamp":"0000019f64050b40"} 
[2026-07-15 09:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 09:58:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:58:39] 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-07-15 09:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726829824001,"66":25756,"28":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-15 09:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726829824001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:58:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-15 09:58:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726829824001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":132424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:58:39] local.INFO: GPS data processed {"connection_id":132424,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:58:39] local.INFO: Acknowledgment sent {"connection_id":132424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:58:58] local.INFO: TCP Data received {"connection_id":132425,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f64083ba8012d7be4c005dd0b18000100af25..."} 
[2026-07-15 09:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64083ba8012d7be4c005dd0b18000100af25..."} 
[2026-07-15 09:58:58] local.INFO: Processing buffer {"connection_id":132425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64083ba8012d7be4c005dd0b18000100af25..."} 
[2026-07-15 09:58:58] local.INFO: Packet analysis {"connection_id":132425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6408"} 
[2026-07-15 09:58:58] local.INFO: Extracted packet for processing {"connection_id":132425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6408"} 
[2026-07-15 09:58:58] local.INFO: GPS Element Parsed {"raw_longitude":763094208,"raw_latitude":98372376,"longitude_deg":76.3094208,"latitude_deg":9.8372376,"altitude":1,"angle":175,"satellites":37,"speed":40,"hex_longitude":"2d7be4c0","hex_latitude":"05dd0b18","is_valid_coordinates":true} 
[2026-07-15 09:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726956544001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106362026112057344,"note":"Value kept but may cause issues"} 
[2026-07-15 09:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926415961610846208,"note":"Value kept but may cause issues"} 
[2026-07-15 09:58:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784089689000,"timestamp_ms":1784089689000,"timestamp_seconds":1784089689,"priority":1,"record_length":96,"hex_timestamp":"0000019f64083ba8"} 
[2026-07-15 09:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:58:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-15 09:58:58] 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-07-15 09:58:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":132425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":132425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":132425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:58: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-07-15 09:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726956544001,"66":13243,"169":206,"85":15104,"24":40,"16":106362026112057344,"45":8926415961610846208},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-15 09:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726956544001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:58:58] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-15 09:58:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106362026112057344,"km_value":106362026112057.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926415961610846208,"description":"Unknown IO ID 45"} 
[2026-07-15 09:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726956544001,"power":13243,"unknown_169":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8926415961610846208}} 
[2026-07-15 09:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":132425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490491,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:58:58] local.INFO: GPS data processed {"connection_id":132425,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:58:58] local.INFO: Acknowledgment sent {"connection_id":132425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:59:01] local.INFO: TCP Data received {"connection_id":132240,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:59:01] local.INFO: Processing buffer {"connection_id":132240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:59:01] local.INFO: IMEI packet received {"connection_id":132240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 09:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":132240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:59:06] local.INFO: TCP Data received {"connection_id":133272,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f640906c8012d0b6580070424a0001900d320..."} 
[2026-07-15 09:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f640906c8012d0b6580070424a0001900d320..."} 
[2026-07-15 09:59:06] local.INFO: Processing buffer {"connection_id":133272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f640906c8012d0b6580070424a0001900d320..."} 
[2026-07-15 09:59:06] local.INFO: Packet analysis {"connection_id":133272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6409"} 
[2026-07-15 09:59:06] local.INFO: Extracted packet for processing {"connection_id":133272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6409"} 
[2026-07-15 09:59:06] local.INFO: GPS Element Parsed {"raw_longitude":755721600,"raw_latitude":117712032,"longitude_deg":75.57216,"latitude_deg":11.7712032,"altitude":25,"angle":211,"satellites":32,"speed":2,"hex_longitude":"2d0b6580","hex_latitude":"070424a0","is_valid_coordinates":true} 
[2026-07-15 09:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 09:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726970368001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24645926798753792,"note":"Value kept but may cause issues"} 
[2026-07-15 09:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":821344012175953920,"note":"Value kept but may cause issues"} 
[2026-07-15 09:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784089741000,"timestamp_ms":1784089741000,"timestamp_seconds":1784089741,"priority":1,"record_length":96,"hex_timestamp":"0000019f640906c8"} 
[2026-07-15 09:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-15 09:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 09:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133272,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133272,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 09:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 09:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 09:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726970368001,"66":14428,"96":206,"94":10240,"24":2,"16":24645926798753792,"45":821344012175953920},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-15 09:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 09:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 09:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726970368001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:59:06] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-15 09:59:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 09:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24645926798753792,"km_value":24645926798753.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":821344012175953920,"description":"Unknown IO ID 45"} 
[2026-07-15 09:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726970368001,"power":14428,"unknown_96":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":821344012175953920}} 
[2026-07-15 09:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":133272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490492,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:59:06] local.INFO: GPS data processed {"connection_id":133272,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:59:06] local.INFO: Acknowledgment sent {"connection_id":133272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:59:06] local.INFO: TCP Data received {"connection_id":132240,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:59:06] local.INFO: Processing buffer {"connection_id":132240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 09:59:06] local.INFO: IMEI packet received {"connection_id":132240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 09:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":132240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:59:07] local.INFO: TCP Data received {"connection_id":132240,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f64050b40012d7f998005afdce00000011c31..."} 
[2026-07-15 09:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64050b40012d7f998005afdce00000011c31..."} 
[2026-07-15 09:59:07] local.INFO: Processing buffer {"connection_id":132240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64050b40012d7f998005afdce00000011c31..."} 
[2026-07-15 09:59:07] local.INFO: Packet analysis {"connection_id":132240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6405"} 
[2026-07-15 09:59:07] local.INFO: Extracted packet for processing {"connection_id":132240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6405"} 
[2026-07-15 09:59:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":49,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726829824001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784089480000,"timestamp_ms":1784089480000,"timestamp_seconds":1784089480,"priority":1,"record_length":96,"hex_timestamp":"0000019f64050b40"} 
[2026-07-15 09:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 09:59:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726829824001,"66":25756,"28":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-15 09:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726829824001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:59:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-15 09:59:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726829824001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":132240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:59:07] local.INFO: GPS data processed {"connection_id":132240,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:59:07] local.INFO: Acknowledgment sent {"connection_id":132240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:59:29] local.INFO: TCP Data received {"connection_id":132425,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f64085ae8012d7be70005dce860000100b325..."} 
[2026-07-15 09:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64085ae8012d7be70005dce860000100b325..."} 
[2026-07-15 09:59:29] local.INFO: Processing buffer {"connection_id":132425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64085ae8012d7be70005dce860000100b325..."} 
[2026-07-15 09:59:29] local.INFO: Packet analysis {"connection_id":132425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6408"} 
[2026-07-15 09:59:29] local.INFO: Extracted packet for processing {"connection_id":132425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6408"} 
[2026-07-15 09:59:29] local.INFO: GPS Element Parsed {"raw_longitude":763094784,"raw_latitude":98363488,"longitude_deg":76.3094784,"latitude_deg":9.8363488,"altitude":1,"angle":179,"satellites":37,"speed":46,"hex_longitude":"2d7be700","hex_latitude":"05dce860","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726960384001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106362455608786944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:59:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927471492771026944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:59:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784089697000,"timestamp_ms":1784089697000,"timestamp_seconds":1784089697,"priority":1,"record_length":96,"hex_timestamp":"0000019f64085ae8"} 
[2026-07-15 09:59:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:59:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 09: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-15 09:59:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:59:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":132425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":132425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":132425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 09:59: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-07-15 09:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 09:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 09:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726960384001,"66":13254,"169":206,"85":15104,"24":46,"16":106362455608786944,"45":8927471492771026944},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-15 09:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 09:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 09:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726960384001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:59:29] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-15 09:59:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 09:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106362455608786944,"km_value":106362455608786.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:59:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927471492771026944,"description":"Unknown IO ID 45"} 
[2026-07-15 09:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726960384001,"power":13254,"unknown_169":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8927471492771026944}} 
[2026-07-15 09:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":132425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490494,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:59:29] local.INFO: GPS data processed {"connection_id":132425,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:59:29] local.INFO: Acknowledgment sent {"connection_id":132425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 09:59:35] local.INFO: TCP Data received {"connection_id":133273,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133273,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:59:35] local.INFO: Processing buffer {"connection_id":133273,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:59:35] local.INFO: IMEI packet received {"connection_id":133273,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 09:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":133273,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 09:59:36] local.INFO: TCP Data received {"connection_id":133273,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133273,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:59:36] local.INFO: Processing buffer {"connection_id":133273,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 09:59:36] local.INFO: IMEI packet received {"connection_id":133273,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":133273,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:59:37] local.INFO: TCP Data received {"connection_id":133273,"ip":"42.106.6.28","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-15 09:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133273,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-15 09:59:37] local.INFO: Processing buffer {"connection_id":133273,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-15 09:59:37] local.INFO: IMEI packet received {"connection_id":133273,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 09:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":133273,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 09:59:38] local.INFO: TCP Data received {"connection_id":132240,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f64050b40012d7f998005afdce00000011c31..."} 
[2026-07-15 09:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64050b40012d7f998005afdce00000011c31..."} 
[2026-07-15 09:59:38] local.INFO: Processing buffer {"connection_id":132240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64050b40012d7f998005afdce00000011c31..."} 
[2026-07-15 09:59:38] local.INFO: Packet analysis {"connection_id":132240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6405"} 
[2026-07-15 09:59:38] local.INFO: Extracted packet for processing {"connection_id":132240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6405"} 
[2026-07-15 09:59:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":49,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 09: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-07-15 09:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726829824001,"note":"Value kept but may cause issues"} 
[2026-07-15 09:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 09:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 09:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 09:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784089480000,"timestamp_ms":1784089480000,"timestamp_seconds":1784089480,"priority":1,"record_length":96,"hex_timestamp":"0000019f64050b40"} 
[2026-07-15 09:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 09:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 09:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 09:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 09: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-07-15 09:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 09:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 09:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 09:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 09:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 09:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 09:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 09:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726829824001,"66":25756,"28":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-15 09:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 09:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 09:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726829824001,"description":"Unknown IO ID 0"} 
[2026-07-15 09:59:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-15 09:59:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 09:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 09:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 09:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726829824001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 09:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":132240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 09:59:38] local.INFO: GPS data processed {"connection_id":132240,"processed":1,"errors":0,"total":1} 
[2026-07-15 09:59:38] local.INFO: Acknowledgment sent {"connection_id":132240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:00:00] local.INFO: TCP Data received {"connection_id":132425,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f64087a28012d7be80005dcc338000100b224..."} 
[2026-07-15 10:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64087a28012d7be80005dcc338000100b224..."} 
[2026-07-15 10:00:00] local.INFO: Processing buffer {"connection_id":132425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64087a28012d7be80005dcc338000100b224..."} 
[2026-07-15 10:00:00] local.INFO: Packet analysis {"connection_id":132425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6408"} 
[2026-07-15 10:00:00] local.INFO: Extracted packet for processing {"connection_id":132425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6408"} 
[2026-07-15 10:00:00] local.INFO: GPS Element Parsed {"raw_longitude":763095040,"raw_latitude":98353976,"longitude_deg":76.309504,"latitude_deg":9.8353976,"altitude":1,"angle":178,"satellites":36,"speed":46,"hex_longitude":"2d7be800","hex_latitude":"05dcc338","is_valid_coordinates":true} 
[2026-07-15 10:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726962432001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106362919465254912,"note":"Value kept but may cause issues"} 
[2026-07-15 10:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928104811466350592,"note":"Value kept but may cause issues"} 
[2026-07-15 10:00:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784089705000,"timestamp_ms":1784089705000,"timestamp_seconds":1784089705,"priority":1,"record_length":96,"hex_timestamp":"0000019f64087a28"} 
[2026-07-15 10:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:00:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 10:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-15 10:00:00] 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-07-15 10:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":132425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":132425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":132425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:00: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-07-15 10:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 10:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 10:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726962432001,"66":13200,"169":206,"85":15104,"24":46,"16":106362919465254912,"45":8928104811466350592},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-15 10:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 10:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 10:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726962432001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:00:00] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-15 10:00:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 10:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106362919465254912,"km_value":106362919465254.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928104811466350592,"description":"Unknown IO ID 45"} 
[2026-07-15 10:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726962432001,"power":13200,"unknown_169":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8928104811466350592}} 
[2026-07-15 10:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":132425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490496,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:00:00] local.INFO: GPS data processed {"connection_id":132425,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:00:00] local.INFO: Acknowledgment sent {"connection_id":132425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:00:01] local.INFO: TCP Data received {"connection_id":134627,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:00:01] local.INFO: Processing buffer {"connection_id":134627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:00:01] local.INFO: IMEI packet received {"connection_id":134627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":134627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:00:06] local.INFO: TCP Data received {"connection_id":134627,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:00:06] local.INFO: Processing buffer {"connection_id":134627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:00:06] local.INFO: IMEI packet received {"connection_id":134627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":134627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:00:07] local.INFO: TCP Data received {"connection_id":134627,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f64050b40012d7f998005afdce00000011c31..."} 
[2026-07-15 10:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64050b40012d7f998005afdce00000011c31..."} 
[2026-07-15 10:00:07] local.INFO: Processing buffer {"connection_id":134627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64050b40012d7f998005afdce00000011c31..."} 
[2026-07-15 10:00:07] local.INFO: Packet analysis {"connection_id":134627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6405"} 
[2026-07-15 10:00:07] local.INFO: Extracted packet for processing {"connection_id":134627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6405"} 
[2026-07-15 10:00:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":49,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726829824001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784089480000,"timestamp_ms":1784089480000,"timestamp_seconds":1784089480,"priority":1,"record_length":96,"hex_timestamp":"0000019f64050b40"} 
[2026-07-15 10:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726829824001,"66":25756,"28":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-15 10:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726829824001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:00:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-15 10:00:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726829824001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":134627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:00:07] local.INFO: GPS data processed {"connection_id":134627,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:00:07] local.INFO: Acknowledgment sent {"connection_id":134627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:00:32] local.INFO: TCP Data received {"connection_id":132425,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f640a1450012d7bea4005dc5f70000100b227..."} 
[2026-07-15 10:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f640a1450012d7bea4005dc5f70000100b227..."} 
[2026-07-15 10:00:32] local.INFO: Processing buffer {"connection_id":132425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f640a1450012d7bea4005dc5f70000100b227..."} 
[2026-07-15 10:00:32] local.INFO: Packet analysis {"connection_id":132425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f640a"} 
[2026-07-15 10:00:32] local.INFO: Extracted packet for processing {"connection_id":132425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f640a"} 
[2026-07-15 10:00:32] local.INFO: GPS Element Parsed {"raw_longitude":763095616,"raw_latitude":98328432,"longitude_deg":76.3095616,"latitude_deg":9.8328432,"altitude":1,"angle":178,"satellites":39,"speed":33,"hex_longitude":"2d7bea40","hex_latitude":"05dc5f70","is_valid_coordinates":true} 
[2026-07-15 10:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726988032001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106364195070541824,"note":"Value kept but may cause issues"} 
[2026-07-15 10:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929230711365883904,"note":"Value kept but may cause issues"} 
[2026-07-15 10:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784089810000,"timestamp_ms":1784089810000,"timestamp_seconds":1784089810,"priority":1,"record_length":96,"hex_timestamp":"0000019f640a1450"} 
[2026-07-15 10:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 10:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-15 10:00:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":132425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":132425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":132425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 10:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 10:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726988032001,"66":13319,"168":206,"85":15104,"24":33,"16":106364195070541824,"45":8929230711365883904},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-15 10:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 10:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 10:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726988032001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:00:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-15 10:00:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 10:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106364195070541824,"km_value":106364195070541.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929230711365883904,"description":"Unknown IO ID 45"} 
[2026-07-15 10:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726988032001,"power":13319,"unknown_168":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8929230711365883904}} 
[2026-07-15 10:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":132425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490498,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:00:32] local.INFO: GPS data processed {"connection_id":132425,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:00:32] local.INFO: Acknowledgment sent {"connection_id":132425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:01:01] local.INFO: TCP Data received {"connection_id":132427,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:01:01] local.INFO: Processing buffer {"connection_id":132427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:01:01] local.INFO: IMEI packet received {"connection_id":132427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":132427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:01:03] local.INFO: TCP Data received {"connection_id":132425,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f640a3b60012d7beb8005dc3a80000200b222..."} 
[2026-07-15 10:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f640a3b60012d7beb8005dc3a80000200b222..."} 
[2026-07-15 10:01:03] local.INFO: Processing buffer {"connection_id":132425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f640a3b60012d7beb8005dc3a80000200b222..."} 
[2026-07-15 10:01:03] local.INFO: Packet analysis {"connection_id":132425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f640a"} 
[2026-07-15 10:01:03] local.INFO: Extracted packet for processing {"connection_id":132425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f640a"} 
[2026-07-15 10:01:03] local.INFO: GPS Element Parsed {"raw_longitude":763095936,"raw_latitude":98318976,"longitude_deg":76.3095936,"latitude_deg":9.8318976,"altitude":2,"angle":178,"satellites":34,"speed":40,"hex_longitude":"2d7beb80","hex_latitude":"05dc3a80","is_valid_coordinates":true} 
[2026-07-15 10: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-07-15 10:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726991360001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106364654632042496,"note":"Value kept but may cause issues"} 
[2026-07-15 10:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929019605131685888,"note":"Value kept but may cause issues"} 
[2026-07-15 10:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784089820000,"timestamp_ms":1784089820000,"timestamp_seconds":1784089820,"priority":1,"record_length":96,"hex_timestamp":"0000019f640a3b60"} 
[2026-07-15 10:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 10: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-15 10:01:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 10:01:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-15 10:01:03] local.WARNING: Large IO value detected {"io_id":220,"raw_value":8802285471708555264,"note":"Value kept but may cause issues"} 
[2026-07-15 10:01:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930245838,"corrected_to":0} 
[2026-07-15 10:01:03] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070510,"note":"Value kept but may cause issues"} 
[2026-07-15 10:01:03] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3780837376,"note":"Value kept but may cause issues"} 
[2026-07-15 10:01:03] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3699021824,"note":"Value kept but may cause issues"} 
[2026-07-15 10:01:03] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57894406816945467,"note":"Value kept but may cause issues"} 
[2026-07-15 10:01:03] local.WARNING: Large IO value detected {"io_id":8,"raw_value":-3170532842804658171,"note":"Value kept but may cause issues"} 
[2026-07-15 10:01:03] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,168,85,24,241,157,16,225,159,45,120,39,10,66,213,64,122,37,206,1,240,9,227,100,220,4,113,205,116,235,184,239,51,2,121,5,7,8],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2930245838,"validated":0}]} 
[2026-07-15 10:01:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72253474613559296,"timestamp_seconds":72253474613559.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 10:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":132425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":132425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":132425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:01:03] 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-07-15 10:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 10:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 10:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726991360001,"66":13515,"168":206,"85":15104,"24":40,"16":106364654632042496,"45":8929019605131685888},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-15 10:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 10:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 10:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726991360001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:01:03] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-15 10:01:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 10:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106364654632042496,"km_value":106364654632042.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929019605131685888,"description":"Unknown IO ID 45"} 
[2026-07-15 10:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726991360001,"power":13515,"unknown_168":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8929019605131685888}} 
[2026-07-15 10:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":132425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490499,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:01:03] local.INFO: GPS data processed {"connection_id":132425,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:01:03] local.INFO: Acknowledgment sent {"connection_id":132425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:01:05] local.INFO: TCP Data received {"connection_id":133274,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133274,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:01:05] local.INFO: Processing buffer {"connection_id":133274,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:01:05] local.INFO: IMEI packet received {"connection_id":133274,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 10:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":133274,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:01:06] local.INFO: TCP Data received {"connection_id":132427,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:01:06] local.INFO: Processing buffer {"connection_id":132427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:01:06] local.INFO: IMEI packet received {"connection_id":132427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":132427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:01:07] local.INFO: TCP Data received {"connection_id":132427,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f6409a308012d7f998005afdce00000011c30..."} 
[2026-07-15 10:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6409a308012d7f998005afdce00000011c30..."} 
[2026-07-15 10:01:07] local.INFO: Processing buffer {"connection_id":132427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6409a308012d7f998005afdce00000011c30..."} 
[2026-07-15 10:01:07] local.INFO: Packet analysis {"connection_id":132427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6409"} 
[2026-07-15 10:01:07] local.INFO: Extracted packet for processing {"connection_id":132427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6409"} 
[2026-07-15 10:01:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726906880001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784089781000,"timestamp_ms":1784089781000,"timestamp_seconds":1784089781,"priority":1,"record_length":96,"hex_timestamp":"0000019f6409a308"} 
[2026-07-15 10:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726906880001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726906880001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:01:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:01:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726906880001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":132427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:01:07] local.INFO: GPS data processed {"connection_id":132427,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:01:07] local.INFO: Acknowledgment sent {"connection_id":132427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:01:34] local.INFO: TCP Data received {"connection_id":132425,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f640a5e88012d7bec8005dc16b8000300b123..."} 
[2026-07-15 10:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f640a5e88012d7bec8005dc16b8000300b123..."} 
[2026-07-15 10:01:34] local.INFO: Processing buffer {"connection_id":132425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f640a5e88012d7bec8005dc16b8000300b123..."} 
[2026-07-15 10:01:34] local.INFO: Packet analysis {"connection_id":132425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f640a"} 
[2026-07-15 10:01:34] local.INFO: Extracted packet for processing {"connection_id":132425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f640a"} 
[2026-07-15 10:01:34] local.INFO: GPS Element Parsed {"raw_longitude":763096192,"raw_latitude":98309816,"longitude_deg":76.3096192,"latitude_deg":9.8309816,"altitude":3,"angle":177,"satellites":35,"speed":43,"hex_longitude":"2d7bec80","hex_latitude":"05dc16b8","is_valid_coordinates":true} 
[2026-07-15 10: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-07-15 10:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726993920001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106365097013673984,"note":"Value kept but may cause issues"} 
[2026-07-15 10:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929371448850153472,"note":"Value kept but may cause issues"} 
[2026-07-15 10:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784089829000,"timestamp_ms":1784089829000,"timestamp_seconds":1784089829,"priority":1,"record_length":96,"hex_timestamp":"0000019f640a5e88"} 
[2026-07-15 10:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 10: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-15 10:01:34] 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-07-15 10: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-07-15 10:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":132425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":132425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":132425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:01:34] 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-07-15 10:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 10:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 10:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726993920001,"66":13559,"168":206,"85":15104,"24":43,"16":106365097013673984,"45":8929371448850153472},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-15 10:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 10:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 10:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726993920001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:01:34] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-15 10:01:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 10:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106365097013673984,"km_value":106365097013673.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929371448850153472,"description":"Unknown IO ID 45"} 
[2026-07-15 10:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726993920001,"power":13559,"unknown_168":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8929371448850153472}} 
[2026-07-15 10:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":132425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490501,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:01:34] local.INFO: GPS data processed {"connection_id":132425,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:01:34] local.INFO: Acknowledgment sent {"connection_id":132425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:01:35] local.INFO: TCP Data received {"connection_id":132241,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132241,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:01:35] local.INFO: Processing buffer {"connection_id":132241,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:01:35] local.INFO: IMEI packet received {"connection_id":132241,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 10:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":132241,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:01:38] local.INFO: TCP Data received {"connection_id":132427,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f6409a308012d7f998005afdce00000011c30..."} 
[2026-07-15 10:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6409a308012d7f998005afdce00000011c30..."} 
[2026-07-15 10:01:38] local.INFO: Processing buffer {"connection_id":132427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6409a308012d7f998005afdce00000011c30..."} 
[2026-07-15 10:01:38] local.INFO: Packet analysis {"connection_id":132427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6409"} 
[2026-07-15 10:01:38] local.INFO: Extracted packet for processing {"connection_id":132427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6409"} 
[2026-07-15 10:01:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726906880001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784089781000,"timestamp_ms":1784089781000,"timestamp_seconds":1784089781,"priority":1,"record_length":96,"hex_timestamp":"0000019f6409a308"} 
[2026-07-15 10:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726906880001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726906880001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:01:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:01:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726906880001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":132427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:01:38] local.INFO: GPS data processed {"connection_id":132427,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:01:38] local.INFO: Acknowledgment sent {"connection_id":132427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:02:02] local.INFO: TCP Data received {"connection_id":133275,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:02:02] local.INFO: Processing buffer {"connection_id":133275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:02:02] local.INFO: IMEI packet received {"connection_id":133275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":133275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:02:05] local.INFO: TCP Data received {"connection_id":132425,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f640a7dc8012d7bf04005dbf278000400ad21..."} 
[2026-07-15 10:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f640a7dc8012d7bf04005dbf278000400ad21..."} 
[2026-07-15 10:02:05] local.INFO: Processing buffer {"connection_id":132425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f640a7dc8012d7bf04005dbf278000400ad21..."} 
[2026-07-15 10:02:05] local.INFO: Packet analysis {"connection_id":132425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f640a"} 
[2026-07-15 10:02:05] local.INFO: Extracted packet for processing {"connection_id":132425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f640a"} 
[2026-07-15 10:02:05] local.INFO: GPS Element Parsed {"raw_longitude":763097152,"raw_latitude":98300536,"longitude_deg":76.3097152,"latitude_deg":9.8300536,"altitude":4,"angle":173,"satellites":33,"speed":47,"hex_longitude":"2d7bf040","hex_latitude":"05dbf278","is_valid_coordinates":true} 
[2026-07-15 10:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726996224001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106365552280207360,"note":"Value kept but may cause issues"} 
[2026-07-15 10:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929652923824519168,"note":"Value kept but may cause issues"} 
[2026-07-15 10:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784089837000,"timestamp_ms":1784089837000,"timestamp_seconds":1784089837,"priority":1,"record_length":96,"hex_timestamp":"0000019f640a7dc8"} 
[2026-07-15 10:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 10:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-15 10:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:02:05] 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-07-15 10:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 10:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 10:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726996224001,"66":13472,"168":206,"85":15104,"24":47,"16":106365552280207360,"45":8929652923824519168},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-15 10:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 10:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 10:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726996224001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:02:05] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-15 10:02:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 10:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106365552280207360,"km_value":106365552280207.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929652923824519168,"description":"Unknown IO ID 45"} 
[2026-07-15 10:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726996224001,"power":13472,"unknown_168":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":8929652923824519168}} 
[2026-07-15 10:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":132425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490503,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:02:05] local.INFO: GPS data processed {"connection_id":132425,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:02:05] local.INFO: Acknowledgment sent {"connection_id":132425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:02:06] local.INFO: TCP Data received {"connection_id":133275,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:02:06] local.INFO: Processing buffer {"connection_id":133275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:02:06] local.INFO: IMEI packet received {"connection_id":133275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":133275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:02:07] local.INFO: TCP Data received {"connection_id":133275,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f6409a308012d7f998005afdce00000011c30..."} 
[2026-07-15 10:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6409a308012d7f998005afdce00000011c30..."} 
[2026-07-15 10:02:07] local.INFO: Processing buffer {"connection_id":133275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6409a308012d7f998005afdce00000011c30..."} 
[2026-07-15 10:02:07] local.INFO: Packet analysis {"connection_id":133275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6409"} 
[2026-07-15 10:02:07] local.INFO: Extracted packet for processing {"connection_id":133275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6409"} 
[2026-07-15 10:02:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726906880001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784089781000,"timestamp_ms":1784089781000,"timestamp_seconds":1784089781,"priority":1,"record_length":96,"hex_timestamp":"0000019f6409a308"} 
[2026-07-15 10:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726906880001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726906880001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:02:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:02:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726906880001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":133275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:02:07] local.INFO: GPS data processed {"connection_id":133275,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:02:07] local.INFO: Acknowledgment sent {"connection_id":133275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:02:37] local.INFO: TCP Data received {"connection_id":132425,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f640a9d08012d7bf58005dbcf70000400a923..."} 
[2026-07-15 10:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f640a9d08012d7bf58005dbcf70000400a923..."} 
[2026-07-15 10:02:37] local.INFO: Processing buffer {"connection_id":132425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f640a9d08012d7bf58005dbcf70000400a923..."} 
[2026-07-15 10:02:37] local.INFO: Packet analysis {"connection_id":132425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f640a"} 
[2026-07-15 10:02:37] local.INFO: Extracted packet for processing {"connection_id":132425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f640a"} 
[2026-07-15 10:02:37] local.INFO: GPS Element Parsed {"raw_longitude":763098496,"raw_latitude":98291568,"longitude_deg":76.3098496,"latitude_deg":9.8291568,"altitude":4,"angle":169,"satellites":35,"speed":42,"hex_longitude":"2d7bf580","hex_latitude":"05dbcf70","is_valid_coordinates":true} 
[2026-07-15 10: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-07-15 10:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726998272001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106365990366871552,"note":"Value kept but may cause issues"} 
[2026-07-15 10:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930708454984808448,"note":"Value kept but may cause issues"} 
[2026-07-15 10:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784089845000,"timestamp_ms":1784089845000,"timestamp_seconds":1784089845,"priority":1,"record_length":96,"hex_timestamp":"0000019f640a9d08"} 
[2026-07-15 10:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 10: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-15 10:02:37] 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-07-15 10: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-07-15 10:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:02:37] 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-07-15 10:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 10:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 10:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726998272001,"66":13504,"168":206,"85":15104,"24":42,"16":106365990366871552,"45":8930708454984808448},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-15 10:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 10:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 10:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726998272001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:02:37] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-15 10:02:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 10:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106365990366871552,"km_value":106365990366871.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930708454984808448,"description":"Unknown IO ID 45"} 
[2026-07-15 10:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726998272001,"power":13504,"unknown_168":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8930708454984808448}} 
[2026-07-15 10:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":132425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490505,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:02:37] local.INFO: GPS data processed {"connection_id":132425,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:02:37] local.INFO: Acknowledgment sent {"connection_id":132425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:02:38] local.INFO: TCP Data received {"connection_id":133275,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f6409a308012d7f998005afdce00000011c30..."} 
[2026-07-15 10:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6409a308012d7f998005afdce00000011c30..."} 
[2026-07-15 10:02:38] local.INFO: Processing buffer {"connection_id":133275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6409a308012d7f998005afdce00000011c30..."} 
[2026-07-15 10:02:38] local.INFO: Packet analysis {"connection_id":133275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6409"} 
[2026-07-15 10:02:38] local.INFO: Extracted packet for processing {"connection_id":133275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6409"} 
[2026-07-15 10:02:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726906880001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784089781000,"timestamp_ms":1784089781000,"timestamp_seconds":1784089781,"priority":1,"record_length":96,"hex_timestamp":"0000019f6409a308"} 
[2026-07-15 10:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726906880001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726906880001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:02:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:02:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726906880001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":133275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:02:38] local.INFO: GPS data processed {"connection_id":133275,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:02:38] local.INFO: Acknowledgment sent {"connection_id":133275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:02:52] local.INFO: TCP Data received {"connection_id":132243,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 10:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132243,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 10:02:52] local.INFO: Processing buffer {"connection_id":132243,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 10:02:52] local.INFO: IMEI packet received {"connection_id":132243,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 10:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":132243,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:02:53] local.INFO: TCP Data received {"connection_id":132243,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 10:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132243,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 10:02:53] local.INFO: Processing buffer {"connection_id":132243,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 10:02:53] local.INFO: IMEI packet received {"connection_id":132243,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 10:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":132243,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:02:58] local.INFO: TCP Data received {"connection_id":132243,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 10:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132243,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 10:02:58] local.INFO: Processing buffer {"connection_id":132243,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 10:02:58] local.INFO: IMEI packet received {"connection_id":132243,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 10:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":132243,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:02:59] local.INFO: TCP Data received {"connection_id":132243,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f640c4ea0012d0b0ec007032e80000700cf22..."} 
[2026-07-15 10:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f640c4ea0012d0b0ec007032e80000700cf22..."} 
[2026-07-15 10:02:59] local.INFO: Processing buffer {"connection_id":132243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f640c4ea0012d0b0ec007032e80000700cf22..."} 
[2026-07-15 10:02:59] local.INFO: Packet analysis {"connection_id":132243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f640c"} 
[2026-07-15 10:02:59] local.INFO: Extracted packet for processing {"connection_id":132243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f640c"} 
[2026-07-15 10:02:59] local.INFO: GPS Element Parsed {"raw_longitude":755699392,"raw_latitude":117649024,"longitude_deg":75.5699392,"latitude_deg":11.7649024,"altitude":7,"angle":207,"satellites":34,"speed":10,"hex_longitude":"2d0b0ec0","hex_latitude":"07032e80","is_valid_coordinates":true} 
[2026-07-15 10:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727028224001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24650230355984384,"note":"Value kept but may cause issues"} 
[2026-07-15 10:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796996426674513920,"note":"Value kept but may cause issues"} 
[2026-07-15 10:02:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784089956000,"timestamp_ms":1784089956000,"timestamp_seconds":1784089956,"priority":1,"record_length":96,"hex_timestamp":"0000019f640c4ea0"} 
[2026-07-15 10:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:02:59] 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-07-15 10:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-15 10:02:59] 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-07-15 10:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":132243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":132243,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 10:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":132243,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 10:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 10:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 10:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727028224001,"66":14363,"37":206,"94":11008,"24":10,"16":24650230355984384,"45":796996426674513920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-15 10:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 10:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 10:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727028224001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:02:59] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-15 10:02:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 10:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24650230355984384,"km_value":24650230355984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":796996426674513920,"description":"Unknown IO ID 45"} 
[2026-07-15 10:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727028224001,"power":14363,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":796996426674513920}} 
[2026-07-15 10:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":132243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490507,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:02:59] local.INFO: GPS data processed {"connection_id":132243,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:02:59] local.INFO: Acknowledgment sent {"connection_id":132243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:03:00] local.INFO: TCP Data received {"connection_id":134628,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134628,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:03:00] local.INFO: Processing buffer {"connection_id":134628,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:03:00] local.INFO: IMEI packet received {"connection_id":134628,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 10:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":134628,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:03:01] local.INFO: TCP Data received {"connection_id":134629,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:03:01] local.INFO: Processing buffer {"connection_id":134629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:03:01] local.INFO: IMEI packet received {"connection_id":134629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":134629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:03:06] local.INFO: TCP Data received {"connection_id":134628,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134628,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:03:06] local.INFO: Processing buffer {"connection_id":134628,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:03:06] local.INFO: IMEI packet received {"connection_id":134628,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 10:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":134628,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:03:06] local.INFO: TCP Data received {"connection_id":134629,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:03:06] local.INFO: Processing buffer {"connection_id":134629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:03:06] local.INFO: IMEI packet received {"connection_id":134629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":134629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:03:07] local.INFO: TCP Data received {"connection_id":134628,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f640c4ab8012d7c614005da4d78000000a125..."} 
[2026-07-15 10:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f640c4ab8012d7c614005da4d78000000a125..."} 
[2026-07-15 10:03:07] local.INFO: Processing buffer {"connection_id":134628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f640c4ab8012d7c614005da4d78000000a125..."} 
[2026-07-15 10:03:07] local.INFO: Packet analysis {"connection_id":134628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f640c"} 
[2026-07-15 10:03:07] local.INFO: Extracted packet for processing {"connection_id":134628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f640c"} 
[2026-07-15 10:03:07] local.INFO: GPS Element Parsed {"raw_longitude":763126080,"raw_latitude":98192760,"longitude_deg":76.312608,"latitude_deg":9.819276,"altitude":0,"angle":161,"satellites":37,"speed":43,"hex_longitude":"2d7c6140","hex_latitude":"05da4d78","is_valid_coordinates":true} 
[2026-07-15 10:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727026176001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106370968233967616,"note":"Value kept but may cause issues"} 
[2026-07-15 10:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8959067058863126528,"note":"Value kept but may cause issues"} 
[2026-07-15 10:03:07] 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-07-15 10:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784089955000,"timestamp_ms":1784089955000,"timestamp_seconds":1784089955,"priority":1,"record_length":96,"hex_timestamp":"0000019f640c4ab8"} 
[2026-07-15 10:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 10:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-07-15 10:03:07] 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-07-15 10:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:03:07] 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-07-15 10:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 10:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 10:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727026176001,"66":13602,"187":206,"85":15104,"24":43,"16":106370968233967616,"45":8959067058863126528},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-15 10:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 10:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 10:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727026176001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:03:07] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-15 10:03:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 10:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106370968233967616,"km_value":106370968233967.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8959067058863126528,"description":"Unknown IO ID 45"} 
[2026-07-15 10:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727026176001,"power":13602,"unknown_187":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8959067058863126528}} 
[2026-07-15 10:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":134628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490508,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:03:07] local.INFO: GPS data processed {"connection_id":134628,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:03:07] local.INFO: Acknowledgment sent {"connection_id":134628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:03:07] local.INFO: TCP Data received {"connection_id":134629,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f6409a308012d7f998005afdce00000011c30..."} 
[2026-07-15 10:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6409a308012d7f998005afdce00000011c30..."} 
[2026-07-15 10:03:07] local.INFO: Processing buffer {"connection_id":134629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6409a308012d7f998005afdce00000011c30..."} 
[2026-07-15 10:03:07] local.INFO: Packet analysis {"connection_id":134629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6409"} 
[2026-07-15 10:03:07] local.INFO: Extracted packet for processing {"connection_id":134629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6409"} 
[2026-07-15 10:03:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726906880001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784089781000,"timestamp_ms":1784089781000,"timestamp_seconds":1784089781,"priority":1,"record_length":96,"hex_timestamp":"0000019f6409a308"} 
[2026-07-15 10:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726906880001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726906880001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:03:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:03:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726906880001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":134629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:03:07] local.INFO: GPS data processed {"connection_id":134629,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:03:07] local.INFO: Acknowledgment sent {"connection_id":134629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:03:30] local.INFO: TCP Data received {"connection_id":132243,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f640c5288012d0b0e4007032d98000700db22..."} 
[2026-07-15 10:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f640c5288012d0b0e4007032d98000700db22..."} 
[2026-07-15 10:03:30] local.INFO: Processing buffer {"connection_id":132243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f640c5288012d0b0e4007032d98000700db22..."} 
[2026-07-15 10:03:30] local.INFO: Packet analysis {"connection_id":132243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f640c"} 
[2026-07-15 10:03:30] local.INFO: Extracted packet for processing {"connection_id":132243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f640c"} 
[2026-07-15 10:03:30] local.INFO: GPS Element Parsed {"raw_longitude":755699264,"raw_latitude":117648792,"longitude_deg":75.5699264,"latitude_deg":11.7648792,"altitude":7,"angle":219,"satellites":34,"speed":10,"hex_longitude":"2d0b0e40","hex_latitude":"07032d98","is_valid_coordinates":true} 
[2026-07-15 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-07-15 10:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727028736001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24650247535853568,"note":"Value kept but may cause issues"} 
[2026-07-15 10:03:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796785320441839616,"note":"Value kept but may cause issues"} 
[2026-07-15 10:03:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784089957000,"timestamp_ms":1784089957000,"timestamp_seconds":1784089957,"priority":1,"record_length":96,"hex_timestamp":"0000019f640c5288"} 
[2026-07-15 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-07-15 10:03:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-15 10:03:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10: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-07-15 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-07-15 10:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":132243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":132243,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 10:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":132243,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 10:03:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 10:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 10:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727028736001,"66":14363,"37":206,"94":11008,"24":10,"16":24650247535853568,"45":796785320441839616},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-15 10:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 10:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 10:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727028736001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:03:30] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-15 10:03:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 10:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24650247535853568,"km_value":24650247535853.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:03:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":796785320441839616,"description":"Unknown IO ID 45"} 
[2026-07-15 10:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727028736001,"power":14363,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":796785320441839616}} 
[2026-07-15 10:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":132243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490510,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:03:31] local.INFO: GPS data processed {"connection_id":132243,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:03:31] local.INFO: Acknowledgment sent {"connection_id":132243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:03:38] local.INFO: TCP Data received {"connection_id":134628,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f640c6de0012d7c6c8005da28a0000000a624..."} 
[2026-07-15 10:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f640c6de0012d7c6c8005da28a0000000a624..."} 
[2026-07-15 10:03:38] local.INFO: Processing buffer {"connection_id":134628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f640c6de0012d7c6c8005da28a0000000a624..."} 
[2026-07-15 10:03:38] local.INFO: Packet analysis {"connection_id":134628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f640c"} 
[2026-07-15 10:03:38] local.INFO: Extracted packet for processing {"connection_id":134628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f640c"} 
[2026-07-15 10:03:38] local.INFO: GPS Element Parsed {"raw_longitude":763128960,"raw_latitude":98183328,"longitude_deg":76.312896,"latitude_deg":9.8183328,"altitude":0,"angle":166,"satellites":36,"speed":42,"hex_longitude":"2d7c6c80","hex_latitude":"05da28a0","is_valid_coordinates":true} 
[2026-07-15 10: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-07-15 10:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727028480001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106371444975337472,"note":"Value kept but may cause issues"} 
[2026-07-15 10:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962515127325521920,"note":"Value kept but may cause issues"} 
[2026-07-15 10:03:38] 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-07-15 10:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784089964000,"timestamp_ms":1784089964000,"timestamp_seconds":1784089964,"priority":1,"record_length":96,"hex_timestamp":"0000019f640c6de0"} 
[2026-07-15 10:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 10: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":34,"data_length":795,"current_offset":136} 
[2026-07-15 10:03:38] 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-07-15 10: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-07-15 10:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:03:38] 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-07-15 10:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 10:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 10:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727028480001,"66":13319,"187":206,"85":15104,"24":42,"16":106371444975337472,"45":8962515127325521920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-15 10:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 10:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 10:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727028480001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:03:38] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-15 10:03:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 10:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106371444975337472,"km_value":106371444975337.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962515127325521920,"description":"Unknown IO ID 45"} 
[2026-07-15 10:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727028480001,"power":13319,"unknown_187":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8962515127325521920}} 
[2026-07-15 10:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":134628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490511,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:03:38] local.INFO: GPS data processed {"connection_id":134628,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:03:38] local.INFO: Acknowledgment sent {"connection_id":134628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:03:38] local.INFO: TCP Data received {"connection_id":134629,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f6409a308012d7f998005afdce00000011c30..."} 
[2026-07-15 10:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6409a308012d7f998005afdce00000011c30..."} 
[2026-07-15 10:03:38] local.INFO: Processing buffer {"connection_id":134629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6409a308012d7f998005afdce00000011c30..."} 
[2026-07-15 10:03:38] local.INFO: Packet analysis {"connection_id":134629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6409"} 
[2026-07-15 10:03:38] local.INFO: Extracted packet for processing {"connection_id":134629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6409"} 
[2026-07-15 10:03:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10: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-07-15 10:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726906880001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784089781000,"timestamp_ms":1784089781000,"timestamp_seconds":1784089781,"priority":1,"record_length":96,"hex_timestamp":"0000019f6409a308"} 
[2026-07-15 10:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10: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-07-15 10:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726906880001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726906880001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:03:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:03:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726906880001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":134629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:03:38] local.INFO: GPS data processed {"connection_id":134629,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:03:38] local.INFO: Acknowledgment sent {"connection_id":134629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:04:03] local.INFO: TCP Data received {"connection_id":132243,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f640d7780012d0af3000702c850000c006c23..."} 
[2026-07-15 10:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f640d7780012d0af3000702c850000c006c23..."} 
[2026-07-15 10:04:03] local.INFO: Processing buffer {"connection_id":132243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f640d7780012d0af3000702c850000c006c23..."} 
[2026-07-15 10:04:03] local.INFO: Packet analysis {"connection_id":132243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f640d"} 
[2026-07-15 10:04:03] local.INFO: Extracted packet for processing {"connection_id":132243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f640d"} 
[2026-07-15 10:04:03] local.INFO: GPS Element Parsed {"raw_longitude":755692288,"raw_latitude":117622864,"longitude_deg":75.5692288,"latitude_deg":11.7622864,"altitude":12,"angle":108,"satellites":35,"speed":10,"hex_longitude":"2d0af300","hex_latitude":"0702c850","is_valid_coordinates":true} 
[2026-07-15 10:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727047936001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24651647695192064,"note":"Value kept but may cause issues"} 
[2026-07-15 10:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":788692914854750208,"note":"Value kept but may cause issues"} 
[2026-07-15 10:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784090032000,"timestamp_ms":1784090032000,"timestamp_seconds":1784090032,"priority":1,"record_length":96,"hex_timestamp":"0000019f640d7780"} 
[2026-07-15 10:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 10:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-15 10:04: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-07-15 10:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":132243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":132243,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 10:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":132243,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 10:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 10:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 10:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727047936001,"66":14407,"37":206,"94":11008,"24":10,"16":24651647695192064,"45":788692914854750208},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-15 10:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 10:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 10:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727047936001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:04:03] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-15 10:04:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 10:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24651647695192064,"km_value":24651647695192.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":788692914854750208,"description":"Unknown IO ID 45"} 
[2026-07-15 10:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727047936001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":788692914854750208}} 
[2026-07-15 10:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":132243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490513,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:04:03] local.INFO: GPS data processed {"connection_id":132243,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:04:03] local.INFO: Acknowledgment sent {"connection_id":132243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:04:06] local.INFO: TCP Data received {"connection_id":132244,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:04:06] local.INFO: Processing buffer {"connection_id":132244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:04:06] local.INFO: IMEI packet received {"connection_id":132244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":132244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:04:09] local.INFO: TCP Data received {"connection_id":134628,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f640c94f0012d7c748005da03f0000000a726..."} 
[2026-07-15 10:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f640c94f0012d7c748005da03f0000000a726..."} 
[2026-07-15 10:04:09] local.INFO: Processing buffer {"connection_id":134628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f640c94f0012d7c748005da03f0000000a726..."} 
[2026-07-15 10:04:09] local.INFO: Packet analysis {"connection_id":134628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f640c"} 
[2026-07-15 10:04:09] local.INFO: Extracted packet for processing {"connection_id":134628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f640c"} 
[2026-07-15 10:04:09] local.INFO: GPS Element Parsed {"raw_longitude":763131008,"raw_latitude":98173936,"longitude_deg":76.3131008,"latitude_deg":9.8173936,"altitude":0,"angle":167,"satellites":38,"speed":36,"hex_longitude":"2d7c7480","hex_latitude":"05da03f0","is_valid_coordinates":true} 
[2026-07-15 10: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-07-15 10:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727030784001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106371913126772736,"note":"Value kept but may cause issues"} 
[2026-07-15 10:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8965681720811102208,"note":"Value kept but may cause issues"} 
[2026-07-15 10:04:09] 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-07-15 10:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784089974000,"timestamp_ms":1784089974000,"timestamp_seconds":1784089974,"priority":1,"record_length":96,"hex_timestamp":"0000019f640c94f0"} 
[2026-07-15 10:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 10: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":7,"data_length":795,"current_offset":136} 
[2026-07-15 10:04:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 10:04:09] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-15 10:04:09] local.WARNING: Large IO value detected {"io_id":230,"raw_value":4194304000,"note":"Value kept but may cause issues"} 
[2026-07-15 10:04:09] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3057123328,"note":"Value kept but may cause issues"} 
[2026-07-15 10:04:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797273294,"corrected_to":0} 
[2026-07-15 10:04:09] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3590376870,"note":"Value kept but may cause issues"} 
[2026-07-15 10:04:09] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3861446656,"note":"Value kept but may cause issues"} 
[2026-07-15 10:04:09] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3673913344,"note":"Value kept but may cause issues"} 
[2026-07-15 10:04:09] local.WARNING: Large IO value detected {"io_id":133,"raw_value":57885683738367291,"note":"Value kept but may cause issues"} 
[2026-07-15 10:04:09] local.WARNING: Large IO value detected {"io_id":11,"raw_value":5534925236905967621,"note":"Value kept but may cause issues"} 
[2026-07-15 10:04:09] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2163979625257248512,"note":"Value kept but may cause issues"} 
[2026-07-15 10:04:09] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,187,85,24,241,157,16,232,159,74,45,64,77,37,10,66,231,39,112,33,128,1,240,214,227,230,100,218,4,113,205,36,178,50,224,35,239,52,2,121,5,18,133,11,219],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2797273294,"validated":0}]} 
[2026-07-15 10:04:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":182673551785984,"timestamp_seconds":182673551785.984,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 10:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":134628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":134628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":134628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 10:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 10:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727030784001,"66":13602,"187":206,"85":15104,"24":36,"16":106371913126772736,"45":8965681720811102208},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-15 10:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 10:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 10:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727030784001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:04:09] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-15 10:04:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 10:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106371913126772736,"km_value":106371913126772.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8965681720811102208,"description":"Unknown IO ID 45"} 
[2026-07-15 10:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727030784001,"power":13602,"unknown_187":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8965681720811102208}} 
[2026-07-15 10:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":134628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490514,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:04:09] local.INFO: GPS data processed {"connection_id":134628,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:04:09] local.INFO: Acknowledgment sent {"connection_id":134628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:04:11] local.INFO: TCP Data received {"connection_id":132244,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:04:11] local.INFO: Processing buffer {"connection_id":132244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:04:11] local.INFO: IMEI packet received {"connection_id":132244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":132244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:04:12] local.INFO: TCP Data received {"connection_id":132244,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f6409a308012d7f998005afdce00000011c30..."} 
[2026-07-15 10:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6409a308012d7f998005afdce00000011c30..."} 
[2026-07-15 10:04:12] local.INFO: Processing buffer {"connection_id":132244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6409a308012d7f998005afdce00000011c30..."} 
[2026-07-15 10:04:12] local.INFO: Packet analysis {"connection_id":132244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6409"} 
[2026-07-15 10:04:12] local.INFO: Extracted packet for processing {"connection_id":132244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6409"} 
[2026-07-15 10:04:12] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726906880001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784089781000,"timestamp_ms":1784089781000,"timestamp_seconds":1784089781,"priority":1,"record_length":96,"hex_timestamp":"0000019f6409a308"} 
[2026-07-15 10:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726906880001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726906880001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:04:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:04:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726906880001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":132244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:04:12] local.INFO: GPS data processed {"connection_id":132244,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:04:12] local.INFO: Acknowledgment sent {"connection_id":132244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:04:16] local.INFO: TCP Data received {"connection_id":132244,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f6409a308012d7f998005afdce00000011c30..."} 
[2026-07-15 10:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6409a308012d7f998005afdce00000011c30..."} 
[2026-07-15 10:04:16] local.INFO: Processing buffer {"connection_id":132244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6409a308012d7f998005afdce00000011c30..."} 
[2026-07-15 10:04:16] local.INFO: Packet analysis {"connection_id":132244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6409"} 
[2026-07-15 10:04:16] local.INFO: Extracted packet for processing {"connection_id":132244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6409"} 
[2026-07-15 10:04:16] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726906880001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:04:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:04:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784089781000,"timestamp_ms":1784089781000,"timestamp_seconds":1784089781,"priority":1,"record_length":96,"hex_timestamp":"0000019f6409a308"} 
[2026-07-15 10:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:04:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:04:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:04:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:04:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726906880001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726906880001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:04:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:04:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:04:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726906880001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":132244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:04:16] local.INFO: GPS data processed {"connection_id":132244,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:04:16] local.INFO: Acknowledgment sent {"connection_id":132244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:04:38] local.INFO: TCP Data received {"connection_id":132243,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f640d7b68012d0af4000702c818000c005723..."} 
[2026-07-15 10:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f640d7b68012d0af4000702c818000c005723..."} 
[2026-07-15 10:04:38] local.INFO: Processing buffer {"connection_id":132243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f640d7b68012d0af4000702c818000c005723..."} 
[2026-07-15 10:04:38] local.INFO: Packet analysis {"connection_id":132243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f640d"} 
[2026-07-15 10:04:38] local.INFO: Extracted packet for processing {"connection_id":132243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f640d"} 
[2026-07-15 10:04:38] local.INFO: GPS Element Parsed {"raw_longitude":755692544,"raw_latitude":117622808,"longitude_deg":75.5692544,"latitude_deg":11.7622808,"altitude":12,"angle":87,"satellites":35,"speed":10,"hex_longitude":"2d0af400","hex_latitude":"0702c818","is_valid_coordinates":true} 
[2026-07-15 10: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-07-15 10:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727048192001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24651656285126656,"note":"Value kept but may cause issues"} 
[2026-07-15 10:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":788974389831421952,"note":"Value kept but may cause issues"} 
[2026-07-15 10:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784090033000,"timestamp_ms":1784090033000,"timestamp_seconds":1784090033,"priority":1,"record_length":96,"hex_timestamp":"0000019f640d7b68"} 
[2026-07-15 10:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 10: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":71,"data_length":795,"current_offset":136} 
[2026-07-15 10:04:38] 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-07-15 10: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-07-15 10:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132243,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 10:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132243,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 10:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 10:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 10:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727048192001,"66":14407,"17":206,"94":11008,"24":10,"16":24651656285126656,"45":788974389831421952},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-15 10:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 10:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 10:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727048192001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:04:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 10:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24651656285126656,"km_value":24651656285126.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":788974389831421952,"description":"Unknown IO ID 45"} 
[2026-07-15 10:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727048192001,"power":14407,"axis_x":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":788974389831421952}} 
[2026-07-15 10:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":132243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490517,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:04:39] local.INFO: GPS data processed {"connection_id":132243,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:04:39] local.INFO: Acknowledgment sent {"connection_id":132243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:04:40] local.INFO: TCP Data received {"connection_id":134628,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f640cbfe8012d7c7b8005d9e1a0000000ab28..."} 
[2026-07-15 10:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f640cbfe8012d7c7b8005d9e1a0000000ab28..."} 
[2026-07-15 10:04:40] local.INFO: Processing buffer {"connection_id":134628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f640cbfe8012d7c7b8005d9e1a0000000ab28..."} 
[2026-07-15 10:04:40] local.INFO: Packet analysis {"connection_id":134628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f640c"} 
[2026-07-15 10:04:40] local.INFO: Extracted packet for processing {"connection_id":134628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f640c"} 
[2026-07-15 10:04:40] local.INFO: GPS Element Parsed {"raw_longitude":763132800,"raw_latitude":98165152,"longitude_deg":76.31328,"latitude_deg":9.8165152,"altitude":0,"angle":171,"satellites":40,"speed":30,"hex_longitude":"2d7c7b80","hex_latitude":"05d9e1a0","is_valid_coordinates":true} 
[2026-07-15 10: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-07-15 10:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727033344001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106372346918469632,"note":"Value kept but may cause issues"} 
[2026-07-15 10:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8967933520622383104,"note":"Value kept but may cause issues"} 
[2026-07-15 10:04:40] 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-07-15 10:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784089985000,"timestamp_ms":1784089985000,"timestamp_seconds":1784089985,"priority":1,"record_length":96,"hex_timestamp":"0000019f640cbfe8"} 
[2026-07-15 10:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 10: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-07-15 10: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-07-15 10: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-07-15 10:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":134628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":134628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":134628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 10:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 10:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727033344001,"66":13374,"187":206,"85":15104,"24":30,"16":106372346918469632,"45":8967933520622383104},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-15 10:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 10:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 10:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727033344001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:04:40] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-15 10:04:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 10:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106372346918469632,"km_value":106372346918469.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8967933520622383104,"description":"Unknown IO ID 45"} 
[2026-07-15 10:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727033344001,"power":13374,"unknown_187":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8967933520622383104}} 
[2026-07-15 10:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":134628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490518,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:04:40] local.INFO: GPS data processed {"connection_id":134628,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:04:40] local.INFO: Acknowledgment sent {"connection_id":134628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:05:01] local.INFO: TCP Data received {"connection_id":132245,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:05:01] local.INFO: Processing buffer {"connection_id":132245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:05:01] local.INFO: IMEI packet received {"connection_id":132245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":132245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:05:06] local.INFO: TCP Data received {"connection_id":132429,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132429,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:05:06] local.INFO: Processing buffer {"connection_id":132429,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:05:06] local.INFO: IMEI packet received {"connection_id":132429,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 10:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":132429,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:05:06] local.INFO: TCP Data received {"connection_id":132245,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:05:06] local.INFO: Processing buffer {"connection_id":132245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:05:06] local.INFO: IMEI packet received {"connection_id":132245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":132245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:05:07] local.INFO: TCP Data received {"connection_id":132245,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f6409a308012d7f998005afdce00000011c30..."} 
[2026-07-15 10:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6409a308012d7f998005afdce00000011c30..."} 
[2026-07-15 10:05:07] local.INFO: Processing buffer {"connection_id":132245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6409a308012d7f998005afdce00000011c30..."} 
[2026-07-15 10:05:07] local.INFO: Packet analysis {"connection_id":132245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6409"} 
[2026-07-15 10:05:07] local.INFO: Extracted packet for processing {"connection_id":132245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6409"} 
[2026-07-15 10:05:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726906880001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784089781000,"timestamp_ms":1784089781000,"timestamp_seconds":1784089781,"priority":1,"record_length":96,"hex_timestamp":"0000019f6409a308"} 
[2026-07-15 10:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:05:07] 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-07-15 10:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726906880001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726906880001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:05:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:05:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726906880001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":132245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:05:07] local.INFO: GPS data processed {"connection_id":132245,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:05:07] local.INFO: Acknowledgment sent {"connection_id":132245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:05:10] local.INFO: TCP Data received {"connection_id":132243,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f640e5240012d0b13c007029f78001a01161c..."} 
[2026-07-15 10:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f640e5240012d0b13c007029f78001a01161c..."} 
[2026-07-15 10:05:10] local.INFO: Processing buffer {"connection_id":132243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f640e5240012d0b13c007029f78001a01161c..."} 
[2026-07-15 10:05:10] local.INFO: Packet analysis {"connection_id":132243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f640e"} 
[2026-07-15 10:05:10] local.INFO: Extracted packet for processing {"connection_id":132243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f640e"} 
[2026-07-15 10:05:10] local.INFO: GPS Element Parsed {"raw_longitude":755700672,"raw_latitude":117612408,"longitude_deg":75.5700672,"latitude_deg":11.7612408,"altitude":26,"angle":278,"satellites":28,"speed":2,"hex_longitude":"2d0b13c0","hex_latitude":"07029f78","is_valid_coordinates":true} 
[2026-07-15 10:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727059968001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24652390724534272,"note":"Value kept but may cause issues"} 
[2026-07-15 10:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798192695316017152,"note":"Value kept but may cause issues"} 
[2026-07-15 10:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784090088000,"timestamp_ms":1784090088000,"timestamp_seconds":1784090088,"priority":1,"record_length":96,"hex_timestamp":"0000019f640e5240"} 
[2026-07-15 10:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 10:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-15 10:05:10] 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-07-15 10:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":132243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":132243,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 10:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":132243,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 10:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 10:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 10:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727059968001,"66":14439,"17":206,"94":11008,"24":2,"16":24652390724534272,"45":798192695316017152},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-15 10:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 10:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 10:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727059968001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:05:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 10:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24652390724534272,"km_value":24652390724534.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":798192695316017152,"description":"Unknown IO ID 45"} 
[2026-07-15 10:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727059968001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":798192695316017152}} 
[2026-07-15 10:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":132243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490520,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:05:10] local.INFO: GPS data processed {"connection_id":132243,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:05:10] local.INFO: Acknowledgment sent {"connection_id":132243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:05:11] local.INFO: TCP Data received {"connection_id":132429,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132429,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:05:11] local.INFO: Processing buffer {"connection_id":132429,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:05:11] local.INFO: IMEI packet received {"connection_id":132429,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 10:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":132429,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:05:11] local.INFO: TCP Data received {"connection_id":132429,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f640cf2b0012d7c7ec005d9bd28000000b21e..."} 
[2026-07-15 10:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f640cf2b0012d7c7ec005d9bd28000000b21e..."} 
[2026-07-15 10:05:11] local.INFO: Processing buffer {"connection_id":132429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f640cf2b0012d7c7ec005d9bd28000000b21e..."} 
[2026-07-15 10:05:11] local.INFO: Packet analysis {"connection_id":132429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f640c"} 
[2026-07-15 10:05:11] local.INFO: Extracted packet for processing {"connection_id":132429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f640c"} 
[2026-07-15 10:05:11] local.INFO: GPS Element Parsed {"raw_longitude":763133632,"raw_latitude":98155816,"longitude_deg":76.3133632,"latitude_deg":9.8155816,"altitude":0,"angle":178,"satellites":30,"speed":21,"hex_longitude":"2d7c7ec0","hex_latitude":"05d9bd28","is_valid_coordinates":true} 
[2026-07-15 10: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-07-15 10:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727036160001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106372802185003008,"note":"Value kept but may cause issues"} 
[2026-07-15 10:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969903845457108992,"note":"Value kept but may cause issues"} 
[2026-07-15 10:05:11] 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-07-15 10:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784089998000,"timestamp_ms":1784089998000,"timestamp_seconds":1784089998,"priority":1,"record_length":96,"hex_timestamp":"0000019f640cf2b0"} 
[2026-07-15 10:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 10: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":62,"data_length":795,"current_offset":136} 
[2026-07-15 10:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10: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-07-15 10:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:05:11] 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-07-15 10:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 10:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 10:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727036160001,"66":13243,"187":206,"85":15104,"24":21,"16":106372802185003008,"45":8969903845457108992},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-15 10:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 10:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 10:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727036160001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:05:11] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-15 10:05:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 10:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106372802185003008,"km_value":106372802185003.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969903845457108992,"description":"Unknown IO ID 45"} 
[2026-07-15 10:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727036160001,"power":13243,"unknown_187":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8969903845457108992}} 
[2026-07-15 10:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":132429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490521,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:05:11] local.INFO: GPS data processed {"connection_id":132429,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:05:11] local.INFO: Acknowledgment sent {"connection_id":132429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:05:16] local.INFO: TCP Data received {"connection_id":132429,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f640d1da8012d7c810005d9b670000000bb24..."} 
[2026-07-15 10:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f640d1da8012d7c810005d9b670000000bb24..."} 
[2026-07-15 10:05:16] local.INFO: Processing buffer {"connection_id":132429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f640d1da8012d7c810005d9b670000000bb24..."} 
[2026-07-15 10:05:16] local.INFO: Packet analysis {"connection_id":132429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f640d"} 
[2026-07-15 10:05:16] local.INFO: Extracted packet for processing {"connection_id":132429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f640d"} 
[2026-07-15 10:05:16] local.INFO: GPS Element Parsed {"raw_longitude":763134208,"raw_latitude":98154096,"longitude_deg":76.3134208,"latitude_deg":9.8154096,"altitude":0,"angle":187,"satellites":36,"speed":0,"hex_longitude":"2d7c8100","hex_latitude":"05d9b670","is_valid_coordinates":true} 
[2026-07-15 10:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727039488001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106372905264218112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970818639129028608,"note":"Value kept but may cause issues"} 
[2026-07-15 10:05:16] 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-07-15 10:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784090009000,"timestamp_ms":1784090009000,"timestamp_seconds":1784090009,"priority":1,"record_length":96,"hex_timestamp":"0000019f640d1da8"} 
[2026-07-15 10:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:05:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 10:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-15 10:05:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:05:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:05:16] 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-07-15 10:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 10:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 10:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727039488001,"66":13341,"187":206,"85":15104,"24":0,"16":106372905264218112,"45":8970818639129028608},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-15 10:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 10:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 10:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727039488001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:05:16] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-15 10:05:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 10:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106372905264218112,"km_value":106372905264218.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970818639129028608,"description":"Unknown IO ID 45"} 
[2026-07-15 10:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727039488001,"power":13341,"unknown_187":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8970818639129028608}} 
[2026-07-15 10:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":132429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490522,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:05:16] local.INFO: GPS data processed {"connection_id":132429,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:05:16] local.INFO: Acknowledgment sent {"connection_id":132429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:05:38] local.INFO: TCP Data received {"connection_id":132245,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f640e3ad0012d7f998005afdce00000011c30..."} 
[2026-07-15 10:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f640e3ad0012d7f998005afdce00000011c30..."} 
[2026-07-15 10:05:38] local.INFO: Processing buffer {"connection_id":132245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f640e3ad0012d7f998005afdce00000011c30..."} 
[2026-07-15 10:05:38] local.INFO: Packet analysis {"connection_id":132245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f640e"} 
[2026-07-15 10:05:38] local.INFO: Extracted packet for processing {"connection_id":132245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f640e"} 
[2026-07-15 10:05:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726983936001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784090082000,"timestamp_ms":1784090082000,"timestamp_seconds":1784090082,"priority":1,"record_length":96,"hex_timestamp":"0000019f640e3ad0"} 
[2026-07-15 10:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:05:38] 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-07-15 10:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726983936001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726983936001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:05:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:05:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726983936001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":132245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:05:38] local.INFO: GPS data processed {"connection_id":132245,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:05:38] local.INFO: Acknowledgment sent {"connection_id":132245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:05:41] local.INFO: TCP Data received {"connection_id":132243,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f640e5a10012d0b134007029f48001b01051c..."} 
[2026-07-15 10:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f640e5a10012d0b134007029f48001b01051c..."} 
[2026-07-15 10:05:41] local.INFO: Processing buffer {"connection_id":132243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f640e5a10012d0b134007029f48001b01051c..."} 
[2026-07-15 10:05:41] local.INFO: Packet analysis {"connection_id":132243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f640e"} 
[2026-07-15 10:05:41] local.INFO: Extracted packet for processing {"connection_id":132243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f640e"} 
[2026-07-15 10:05:41] local.INFO: GPS Element Parsed {"raw_longitude":755700544,"raw_latitude":117612360,"longitude_deg":75.5700544,"latitude_deg":11.761236,"altitude":27,"angle":261,"satellites":28,"speed":2,"hex_longitude":"2d0b1340","hex_latitude":"07029f48","is_valid_coordinates":true} 
[2026-07-15 10:05: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-07-15 10:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727062528001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24652399314468864,"note":"Value kept but may cause issues"} 
[2026-07-15 10:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798192695316019200,"note":"Value kept but may cause issues"} 
[2026-07-15 10:05:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784090090000,"timestamp_ms":1784090090000,"timestamp_seconds":1784090090,"priority":1,"record_length":96,"hex_timestamp":"0000019f640e5a10"} 
[2026-07-15 10:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 10:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 10:05:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:05: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-07-15 10:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132243,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 10:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132243,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 10:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 10:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 10:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727062528001,"66":14330,"17":206,"94":11008,"24":2,"16":24652399314468864,"45":798192695316019200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-15 10:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 10:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 10:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727062528001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:05:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 10:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24652399314468864,"km_value":24652399314468.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":798192695316019200,"description":"Unknown IO ID 45"} 
[2026-07-15 10:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727062528001,"power":14330,"axis_x":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":798192695316019200}} 
[2026-07-15 10:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":132243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490524,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:05:41] local.INFO: GPS data processed {"connection_id":132243,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:05:41] local.INFO: Acknowledgment sent {"connection_id":132243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:06:01] local.INFO: TCP Data received {"connection_id":133276,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133276,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:06:01] local.INFO: Processing buffer {"connection_id":133276,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:06:01] local.INFO: IMEI packet received {"connection_id":133276,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 10:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":133276,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:06:01] local.INFO: TCP Data received {"connection_id":134633,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:06:01] local.INFO: Processing buffer {"connection_id":134633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:06:01] local.INFO: IMEI packet received {"connection_id":134633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":134633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:06:06] local.INFO: TCP Data received {"connection_id":133276,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133276,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:06:06] local.INFO: Processing buffer {"connection_id":133276,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:06:06] local.INFO: IMEI packet received {"connection_id":133276,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 10:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":133276,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:06:06] local.INFO: TCP Data received {"connection_id":134633,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:06:06] local.INFO: Processing buffer {"connection_id":134633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:06:06] local.INFO: IMEI packet received {"connection_id":134633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":134633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:06:06] local.INFO: TCP Data received {"connection_id":133276,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f640d1da8012d7c810005d9b670000000bb24..."} 
[2026-07-15 10:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f640d1da8012d7c810005d9b670000000bb24..."} 
[2026-07-15 10:06:06] local.INFO: Processing buffer {"connection_id":133276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f640d1da8012d7c810005d9b670000000bb24..."} 
[2026-07-15 10:06:06] local.INFO: Packet analysis {"connection_id":133276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f640d"} 
[2026-07-15 10:06:06] local.INFO: Extracted packet for processing {"connection_id":133276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f640d"} 
[2026-07-15 10:06:06] local.INFO: GPS Element Parsed {"raw_longitude":763134208,"raw_latitude":98154096,"longitude_deg":76.3134208,"latitude_deg":9.8154096,"altitude":0,"angle":187,"satellites":36,"speed":0,"hex_longitude":"2d7c8100","hex_latitude":"05d9b670","is_valid_coordinates":true} 
[2026-07-15 10:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727042304001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106372905264218112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971451957826187264,"note":"Value kept but may cause issues"} 
[2026-07-15 10:06:06] 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-07-15 10:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784090009000,"timestamp_ms":1784090009000,"timestamp_seconds":1784090009,"priority":1,"record_length":96,"hex_timestamp":"0000019f640d1da8"} 
[2026-07-15 10:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-15 10:06:06] 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-07-15 10:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133276,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133276,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:06:06] 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-07-15 10:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 10:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 10:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727042304001,"66":13341,"187":206,"85":15104,"24":0,"16":106372905264218112,"45":8971451957826187264},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-15 10:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 10:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 10:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727042304001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:06:06] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-15 10:06:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 10:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106372905264218112,"km_value":106372905264218.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971451957826187264,"description":"Unknown IO ID 45"} 
[2026-07-15 10:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727042304001,"power":13341,"unknown_187":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8971451957826187264}} 
[2026-07-15 10:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":133276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490525,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:06:07] local.INFO: GPS data processed {"connection_id":133276,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:06:07] local.INFO: Acknowledgment sent {"connection_id":133276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:06:07] local.INFO: TCP Data received {"connection_id":134633,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f640e3ad0012d7f998005afdce00000011c30..."} 
[2026-07-15 10:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f640e3ad0012d7f998005afdce00000011c30..."} 
[2026-07-15 10:06:07] local.INFO: Processing buffer {"connection_id":134633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f640e3ad0012d7f998005afdce00000011c30..."} 
[2026-07-15 10:06:07] local.INFO: Packet analysis {"connection_id":134633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f640e"} 
[2026-07-15 10:06:07] local.INFO: Extracted packet for processing {"connection_id":134633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f640e"} 
[2026-07-15 10:06:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726983936001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784090082000,"timestamp_ms":1784090082000,"timestamp_seconds":1784090082,"priority":1,"record_length":96,"hex_timestamp":"0000019f640e3ad0"} 
[2026-07-15 10:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726983936001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726983936001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:06:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:06:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726983936001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":134633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:06:07] local.INFO: GPS data processed {"connection_id":134633,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:06:07] local.INFO: Acknowledgment sent {"connection_id":134633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:06:38] local.INFO: TCP Data received {"connection_id":133276,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f640d2d48012d7c810005d9b670000000bb24..."} 
[2026-07-15 10:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f640d2d48012d7c810005d9b670000000bb24..."} 
[2026-07-15 10:06:38] local.INFO: Processing buffer {"connection_id":133276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f640d2d48012d7c810005d9b670000000bb24..."} 
[2026-07-15 10:06:38] local.INFO: Packet analysis {"connection_id":133276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f640d"} 
[2026-07-15 10:06:38] local.INFO: Extracted packet for processing {"connection_id":133276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f640d"} 
[2026-07-15 10:06:38] local.INFO: GPS Element Parsed {"raw_longitude":763134208,"raw_latitude":98154096,"longitude_deg":76.3134208,"latitude_deg":9.8154096,"altitude":0,"angle":187,"satellites":36,"speed":0,"hex_longitude":"2d7c8100","hex_latitude":"05d9b670","is_valid_coordinates":true} 
[2026-07-15 10:06: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-07-15 10:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727042304001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106372905264218112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971451957826187264,"note":"Value kept but may cause issues"} 
[2026-07-15 10:06:38] 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-07-15 10:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784090013000,"timestamp_ms":1784090013000,"timestamp_seconds":1784090013,"priority":1,"record_length":96,"hex_timestamp":"0000019f640d2d48"} 
[2026-07-15 10:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-15 10:06: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-07-15 10: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-07-15 10:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133276,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133276,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:06:38] 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-07-15 10:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 10:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 10:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727042304001,"66":13580,"187":206,"85":15104,"24":0,"16":106372905264218112,"45":8971451957826187264},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-15 10:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 10:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 10:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727042304001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:06:38] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-15 10:06:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 10:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106372905264218112,"km_value":106372905264218.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971451957826187264,"description":"Unknown IO ID 45"} 
[2026-07-15 10:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727042304001,"power":13580,"unknown_187":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8971451957826187264}} 
[2026-07-15 10:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":133276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490527,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:06:38] local.INFO: GPS data processed {"connection_id":133276,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:06:38] local.INFO: Acknowledgment sent {"connection_id":133276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:06:38] local.INFO: TCP Data received {"connection_id":134633,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f640e3ad0012d7f998005afdce00000011c30..."} 
[2026-07-15 10:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f640e3ad0012d7f998005afdce00000011c30..."} 
[2026-07-15 10:06:38] local.INFO: Processing buffer {"connection_id":134633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f640e3ad0012d7f998005afdce00000011c30..."} 
[2026-07-15 10:06:38] local.INFO: Packet analysis {"connection_id":134633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f640e"} 
[2026-07-15 10:06:38] local.INFO: Extracted packet for processing {"connection_id":134633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f640e"} 
[2026-07-15 10:06:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10: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-07-15 10:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726983936001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784090082000,"timestamp_ms":1784090082000,"timestamp_seconds":1784090082,"priority":1,"record_length":96,"hex_timestamp":"0000019f640e3ad0"} 
[2026-07-15 10:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10: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-07-15 10:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726983936001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726983936001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:06:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:06:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726983936001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":134633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:06:38] local.INFO: GPS data processed {"connection_id":134633,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:06:38] local.INFO: Acknowledgment sent {"connection_id":134633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:07:01] local.INFO: TCP Data received {"connection_id":132430,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132430,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:07:01] local.INFO: Processing buffer {"connection_id":132430,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:07:01] local.INFO: IMEI packet received {"connection_id":132430,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 10:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":132430,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:07:01] local.INFO: TCP Data received {"connection_id":133277,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:07:01] local.INFO: Processing buffer {"connection_id":133277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:07:01] local.INFO: IMEI packet received {"connection_id":133277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":133277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:07:05] local.INFO: TCP Data received {"connection_id":132246,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132246,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:07:05] local.INFO: Processing buffer {"connection_id":132246,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:07:05] local.INFO: IMEI packet received {"connection_id":132246,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 10:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":132246,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:07:06] local.INFO: TCP Data received {"connection_id":132430,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132430,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:07:06] local.INFO: Processing buffer {"connection_id":132430,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:07:06] local.INFO: IMEI packet received {"connection_id":132430,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 10:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":132430,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:07:06] local.INFO: TCP Data received {"connection_id":133277,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:07:06] local.INFO: Processing buffer {"connection_id":133277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:07:06] local.INFO: IMEI packet received {"connection_id":133277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":133277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:07:07] local.INFO: TCP Data received {"connection_id":132430,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f640d2d48012d7c810005d9b670000000bb24..."} 
[2026-07-15 10:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f640d2d48012d7c810005d9b670000000bb24..."} 
[2026-07-15 10:07:07] local.INFO: Processing buffer {"connection_id":132430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f640d2d48012d7c810005d9b670000000bb24..."} 
[2026-07-15 10:07:07] local.INFO: Packet analysis {"connection_id":132430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f640d"} 
[2026-07-15 10:07:07] local.INFO: Extracted packet for processing {"connection_id":132430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f640d"} 
[2026-07-15 10:07:07] local.INFO: GPS Element Parsed {"raw_longitude":763134208,"raw_latitude":98154096,"longitude_deg":76.3134208,"latitude_deg":9.8154096,"altitude":0,"angle":187,"satellites":36,"speed":0,"hex_longitude":"2d7c8100","hex_latitude":"05d9b670","is_valid_coordinates":true} 
[2026-07-15 10:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727043328001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106372905264218112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971451957826187264,"note":"Value kept but may cause issues"} 
[2026-07-15 10:07:07] 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-07-15 10:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784090013000,"timestamp_ms":1784090013000,"timestamp_seconds":1784090013,"priority":1,"record_length":96,"hex_timestamp":"0000019f640d2d48"} 
[2026-07-15 10:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-15 10:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751610343,"note":"Value kept but may cause issues"} 
[2026-07-15 10:07:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 10:07:07] local.WARNING: Large IO value detected {"io_id":233,"raw_value":2147483648,"note":"Value kept but may cause issues"} 
[2026-07-15 10:07:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":8784345839976841216,"note":"Value kept but may cause issues"} 
[2026-07-15 10:07:07] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-15 10:07:07] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3785359360,"note":"Value kept but may cause issues"} 
[2026-07-15 10:07:07] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634553145796283,"note":"Value kept but may cause issues"} 
[2026-07-15 10:07:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797273294,"corrected_to":0} 
[2026-07-15 10:07:07] local.WARNING: Large IO value detected {"io_id":148,"raw_value":4026609020,"note":"Value kept but may cause issues"} 
[2026-07-15 10:07:07] local.WARNING: Large IO value detected {"io_id":116,"raw_value":2147867139,"note":"Value kept but may cause issues"} 
[2026-07-15 10:07:07] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2450184313275207253,"note":"Value kept but may cause issues"} 
[2026-07-15 10:07:07] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-15 10:07:07] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3903913984,"note":"Value kept but may cause issues"} 
[2026-07-15 10:07:07] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3660095488,"note":"Value kept but may cause issues"} 
[2026-07-15 10:07:07] local.WARNING: Large IO value detected {"io_id":124,"raw_value":7007607455349211136,"note":"Value kept but may cause issues"} 
[2026-07-15 10:07:07] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755584124780785,"note":"Value kept but may cause issues"} 
[2026-07-15 10:07:07] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,187,85,24,241,157,16,233,159,29,45,182,36,10,66,242,192,1,240,227,100,217,4,113,205,30,148,116,38,239,53,2,121,5,42,124,59],"length":577,"final_offset":707,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2797273294,"validated":0}]} 
[2026-07-15 10:07:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":205763293216799,"timestamp_seconds":205763293216.799,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 10:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:07:07] 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-07-15 10:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 10:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 10:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727043328001,"66":13580,"187":206,"85":15104,"24":0,"16":106372905264218112,"45":8971451957826187264},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-15 10:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 10:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 10:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727043328001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:07:07] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-15 10:07:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 10:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106372905264218112,"km_value":106372905264218.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971451957826187264,"description":"Unknown IO ID 45"} 
[2026-07-15 10:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727043328001,"power":13580,"unknown_187":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8971451957826187264}} 
[2026-07-15 10:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":132430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490529,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:07:07] local.INFO: GPS data processed {"connection_id":132430,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:07:07] local.INFO: Acknowledgment sent {"connection_id":132430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:07:07] local.INFO: TCP Data received {"connection_id":133277,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f640e3ad0012d7f998005afdce00000011c30..."} 
[2026-07-15 10:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f640e3ad0012d7f998005afdce00000011c30..."} 
[2026-07-15 10:07:07] local.INFO: Processing buffer {"connection_id":133277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f640e3ad0012d7f998005afdce00000011c30..."} 
[2026-07-15 10:07:07] local.INFO: Packet analysis {"connection_id":133277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f640e"} 
[2026-07-15 10:07:07] local.INFO: Extracted packet for processing {"connection_id":133277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f640e"} 
[2026-07-15 10:07:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726983936001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784090082000,"timestamp_ms":1784090082000,"timestamp_seconds":1784090082,"priority":1,"record_length":96,"hex_timestamp":"0000019f640e3ad0"} 
[2026-07-15 10:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:07:07] 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-07-15 10:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726983936001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726983936001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:07:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:07:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726983936001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":133277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:07:07] local.INFO: GPS data processed {"connection_id":133277,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:07:07] local.INFO: Acknowledgment sent {"connection_id":133277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:07:38] local.INFO: TCP Data received {"connection_id":132430,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f640d2d48012d7c810005d9b670000000bb24..."} 
[2026-07-15 10:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f640d2d48012d7c810005d9b670000000bb24..."} 
[2026-07-15 10:07:38] local.INFO: Processing buffer {"connection_id":132430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f640d2d48012d7c810005d9b670000000bb24..."} 
[2026-07-15 10:07:38] local.INFO: Packet analysis {"connection_id":132430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f640d"} 
[2026-07-15 10:07:38] local.INFO: Extracted packet for processing {"connection_id":132430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f640d"} 
[2026-07-15 10:07:38] local.INFO: GPS Element Parsed {"raw_longitude":763134208,"raw_latitude":98154096,"longitude_deg":76.3134208,"latitude_deg":9.8154096,"altitude":0,"angle":187,"satellites":36,"speed":0,"hex_longitude":"2d7c8100","hex_latitude":"05d9b670","is_valid_coordinates":true} 
[2026-07-15 10:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727043328001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106372905264218112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971451957826187264,"note":"Value kept but may cause issues"} 
[2026-07-15 10:07:38] 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-07-15 10:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784090013000,"timestamp_ms":1784090013000,"timestamp_seconds":1784090013,"priority":1,"record_length":96,"hex_timestamp":"0000019f640d2d48"} 
[2026-07-15 10:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-15 10:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751610343,"note":"Value kept but may cause issues"} 
[2026-07-15 10:07:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 10:07:38] local.WARNING: Large IO value detected {"io_id":233,"raw_value":2147483648,"note":"Value kept but may cause issues"} 
[2026-07-15 10:07:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":8784345839976841216,"note":"Value kept but may cause issues"} 
[2026-07-15 10:07:38] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-15 10:07:38] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3785359360,"note":"Value kept but may cause issues"} 
[2026-07-15 10:07:38] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634553145796283,"note":"Value kept but may cause issues"} 
[2026-07-15 10:07:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797273294,"corrected_to":0} 
[2026-07-15 10:07:38] local.WARNING: Large IO value detected {"io_id":148,"raw_value":4026609020,"note":"Value kept but may cause issues"} 
[2026-07-15 10:07:38] local.WARNING: Large IO value detected {"io_id":116,"raw_value":2147867139,"note":"Value kept but may cause issues"} 
[2026-07-15 10:07:38] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2450184313275207253,"note":"Value kept but may cause issues"} 
[2026-07-15 10:07:38] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-15 10:07:38] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3903913984,"note":"Value kept but may cause issues"} 
[2026-07-15 10:07:38] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3660095488,"note":"Value kept but may cause issues"} 
[2026-07-15 10:07:38] local.WARNING: Large IO value detected {"io_id":124,"raw_value":7007607455349211136,"note":"Value kept but may cause issues"} 
[2026-07-15 10:07:38] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755584124780785,"note":"Value kept but may cause issues"} 
[2026-07-15 10:07:38] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,187,85,24,241,157,16,233,159,29,45,182,36,10,66,242,192,1,240,227,100,217,4,113,205,30,148,116,38,239,53,2,121,5,42,124,59],"length":577,"final_offset":707,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2797273294,"validated":0}]} 
[2026-07-15 10:07:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":205763293216799,"timestamp_seconds":205763293216.799,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 10:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:07:38] 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-07-15 10:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 10:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 10:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727043328001,"66":13580,"187":206,"85":15104,"24":0,"16":106372905264218112,"45":8971451957826187264},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-15 10:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 10:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 10:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727043328001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:07:38] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-15 10:07:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 10:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106372905264218112,"km_value":106372905264218.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971451957826187264,"description":"Unknown IO ID 45"} 
[2026-07-15 10:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727043328001,"power":13580,"unknown_187":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8971451957826187264}} 
[2026-07-15 10:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":132430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490531,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:07:38] local.INFO: GPS data processed {"connection_id":132430,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:07:38] local.INFO: Acknowledgment sent {"connection_id":132430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:07:39] local.INFO: TCP Data received {"connection_id":133277,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f640e3ad0012d7f998005afdce00000011c30..."} 
[2026-07-15 10:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f640e3ad0012d7f998005afdce00000011c30..."} 
[2026-07-15 10:07:39] local.INFO: Processing buffer {"connection_id":133277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f640e3ad0012d7f998005afdce00000011c30..."} 
[2026-07-15 10:07:39] local.INFO: Packet analysis {"connection_id":133277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f640e"} 
[2026-07-15 10:07:39] local.INFO: Extracted packet for processing {"connection_id":133277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f640e"} 
[2026-07-15 10:07:39] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10: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-07-15 10:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726983936001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784090082000,"timestamp_ms":1784090082000,"timestamp_seconds":1784090082,"priority":1,"record_length":96,"hex_timestamp":"0000019f640e3ad0"} 
[2026-07-15 10:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:07:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:07:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10: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-07-15 10:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:07:39] 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-07-15 10:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726983936001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726983936001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:07:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:07:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726983936001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":133277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:07:39] local.INFO: GPS data processed {"connection_id":133277,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:07:39] local.INFO: Acknowledgment sent {"connection_id":133277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:07:40] local.INFO: TCP Data received {"connection_id":132247,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132247,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:07:40] local.INFO: Processing buffer {"connection_id":132247,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:07:40] local.INFO: IMEI packet received {"connection_id":132247,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 10:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":132247,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:08:01] local.INFO: TCP Data received {"connection_id":134634,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134634,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:08:01] local.INFO: Processing buffer {"connection_id":134634,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:08:01] local.INFO: IMEI packet received {"connection_id":134634,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 10:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":134634,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:08:01] local.INFO: TCP Data received {"connection_id":134635,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:08:01] local.INFO: Processing buffer {"connection_id":134635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:08:01] local.INFO: IMEI packet received {"connection_id":134635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":134635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:08:06] local.INFO: TCP Data received {"connection_id":134634,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134634,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:08:06] local.INFO: Processing buffer {"connection_id":134634,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:08:06] local.INFO: IMEI packet received {"connection_id":134634,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 10:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":134634,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:08:06] local.INFO: TCP Data received {"connection_id":134635,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:08:06] local.INFO: Processing buffer {"connection_id":134635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:08:06] local.INFO: IMEI packet received {"connection_id":134635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":134635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:08:07] local.INFO: TCP Data received {"connection_id":134634,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f640d2d48012d7c810005d9b670000000bb24..."} 
[2026-07-15 10:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f640d2d48012d7c810005d9b670000000bb24..."} 
[2026-07-15 10:08:07] local.INFO: Processing buffer {"connection_id":134634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f640d2d48012d7c810005d9b670000000bb24..."} 
[2026-07-15 10:08:07] local.INFO: Packet analysis {"connection_id":134634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f640d"} 
[2026-07-15 10:08:07] local.INFO: Extracted packet for processing {"connection_id":134634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f640d"} 
[2026-07-15 10:08:07] local.INFO: GPS Element Parsed {"raw_longitude":763134208,"raw_latitude":98154096,"longitude_deg":76.3134208,"latitude_deg":9.8154096,"altitude":0,"angle":187,"satellites":36,"speed":0,"hex_longitude":"2d7c8100","hex_latitude":"05d9b670","is_valid_coordinates":true} 
[2026-07-15 10:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727043328001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106372905264218112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971451957826187264,"note":"Value kept but may cause issues"} 
[2026-07-15 10:08:07] 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-07-15 10:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784090013000,"timestamp_ms":1784090013000,"timestamp_seconds":1784090013,"priority":1,"record_length":96,"hex_timestamp":"0000019f640d2d48"} 
[2026-07-15 10:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-15 10:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751610343,"note":"Value kept but may cause issues"} 
[2026-07-15 10:08:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 10:08:07] local.WARNING: Large IO value detected {"io_id":233,"raw_value":2147483648,"note":"Value kept but may cause issues"} 
[2026-07-15 10:08:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":8784345839976841216,"note":"Value kept but may cause issues"} 
[2026-07-15 10:08:07] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-15 10:08:07] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3785359360,"note":"Value kept but may cause issues"} 
[2026-07-15 10:08:07] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634553145796283,"note":"Value kept but may cause issues"} 
[2026-07-15 10:08:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797273294,"corrected_to":0} 
[2026-07-15 10:08:07] local.WARNING: Large IO value detected {"io_id":148,"raw_value":4026609020,"note":"Value kept but may cause issues"} 
[2026-07-15 10:08:07] local.WARNING: Large IO value detected {"io_id":116,"raw_value":2147867139,"note":"Value kept but may cause issues"} 
[2026-07-15 10:08:07] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2450184313275207253,"note":"Value kept but may cause issues"} 
[2026-07-15 10:08:07] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-15 10:08:07] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3903913984,"note":"Value kept but may cause issues"} 
[2026-07-15 10:08:07] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3660095488,"note":"Value kept but may cause issues"} 
[2026-07-15 10:08:07] local.WARNING: Large IO value detected {"io_id":124,"raw_value":7007607455349211136,"note":"Value kept but may cause issues"} 
[2026-07-15 10:08:07] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755584124780785,"note":"Value kept but may cause issues"} 
[2026-07-15 10:08:07] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,187,85,24,241,157,16,233,159,29,45,182,36,10,66,242,192,1,240,227,100,217,4,113,205,30,148,116,38,239,53,2,121,5,42,124,59],"length":577,"final_offset":707,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2797273294,"validated":0}]} 
[2026-07-15 10:08:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":205763293216799,"timestamp_seconds":205763293216.799,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 10:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:08:07] 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-07-15 10:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 10:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 10:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727043328001,"66":13580,"187":206,"85":15104,"24":0,"16":106372905264218112,"45":8971451957826187264},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-15 10:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 10:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 10:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727043328001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:08:07] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-15 10:08:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 10:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106372905264218112,"km_value":106372905264218.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971451957826187264,"description":"Unknown IO ID 45"} 
[2026-07-15 10:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727043328001,"power":13580,"unknown_187":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8971451957826187264}} 
[2026-07-15 10:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":134634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490533,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:08:07] local.INFO: GPS data processed {"connection_id":134634,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:08:07] local.INFO: Acknowledgment sent {"connection_id":134634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:08:07] local.INFO: TCP Data received {"connection_id":134635,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f640e3ad0012d7f998005afdce00000011c30..."} 
[2026-07-15 10:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f640e3ad0012d7f998005afdce00000011c30..."} 
[2026-07-15 10:08:07] local.INFO: Processing buffer {"connection_id":134635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f640e3ad0012d7f998005afdce00000011c30..."} 
[2026-07-15 10:08:07] local.INFO: Packet analysis {"connection_id":134635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f640e"} 
[2026-07-15 10:08:07] local.INFO: Extracted packet for processing {"connection_id":134635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f640e"} 
[2026-07-15 10:08:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10: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-07-15 10:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726983936001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784090082000,"timestamp_ms":1784090082000,"timestamp_seconds":1784090082,"priority":1,"record_length":96,"hex_timestamp":"0000019f640e3ad0"} 
[2026-07-15 10:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10: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-07-15 10:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:08:07] 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-07-15 10:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726983936001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726983936001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:08:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:08:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726983936001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":134635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:08:07] local.INFO: GPS data processed {"connection_id":134635,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:08:07] local.INFO: Acknowledgment sent {"connection_id":134635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:08:38] local.INFO: TCP Data received {"connection_id":134634,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f6411c510012d7c828005d9b668000100bb23..."} 
[2026-07-15 10:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6411c510012d7c828005d9b668000100bb23..."} 
[2026-07-15 10:08:38] local.INFO: Processing buffer {"connection_id":134634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6411c510012d7c828005d9b668000100bb23..."} 
[2026-07-15 10:08:38] local.INFO: Packet analysis {"connection_id":134634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6411"} 
[2026-07-15 10:08:38] local.INFO: Extracted packet for processing {"connection_id":134634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6411"} 
[2026-07-15 10:08:38] local.INFO: GPS Element Parsed {"raw_longitude":763134592,"raw_latitude":98154088,"longitude_deg":76.3134592,"latitude_deg":9.8154088,"altitude":1,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d7c8280","hex_latitude":"05d9b668","is_valid_coordinates":true} 
[2026-07-15 10:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727043328001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106372905264218112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971451957826187264,"note":"Value kept but may cause issues"} 
[2026-07-15 10:08:38] 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-07-15 10:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784090314000,"timestamp_ms":1784090314000,"timestamp_seconds":1784090314,"priority":1,"record_length":96,"hex_timestamp":"0000019f6411c510"} 
[2026-07-15 10:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-15 10:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751610344,"note":"Value kept but may cause issues"} 
[2026-07-15 10:08:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 10:08:38] local.WARNING: Large IO value detected {"io_id":233,"raw_value":2550136832,"note":"Value kept but may cause issues"} 
[2026-07-15 10:08:38] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-15 10:08:38] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3173515264,"note":"Value kept but may cause issues"} 
[2026-07-15 10:08:38] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635768621541051,"note":"Value kept but may cause issues"} 
[2026-07-15 10:08:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797273294,"corrected_to":0} 
[2026-07-15 10:08:38] local.WARNING: Large IO value detected {"io_id":191,"raw_value":3892391292,"note":"Value kept but may cause issues"} 
[2026-07-15 10:08:38] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2147867105,"note":"Value kept but may cause issues"} 
[2026-07-15 10:08:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":8784465686744268800,"note":"Value kept but may cause issues"} 
[2026-07-15 10:08:38] local.WARNING: Large IO value detected {"io_id":52,"raw_value":504629274251152981,"note":"Value kept but may cause issues"} 
[2026-07-15 10:08:38] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-15 10:08:38] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3910533120,"note":"Value kept but may cause issues"} 
[2026-07-15 10:08:38] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3657691136,"note":"Value kept but may cause issues"} 
[2026-07-15 10:08:38] local.WARNING: Large IO value detected {"io_id":124,"raw_value":7818255387657764864,"note":"Value kept but may cause issues"} 
[2026-07-15 10:08:38] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755579829813489,"note":"Value kept but may cause issues"} 
[2026-07-15 10:08:38] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,187,85,24,241,157,16,233,159,45,182,36,10,66,29,240,227,100,217,4,113,205,21,191,123,160,40,239,1,52,2,121,5,124,59],"length":577,"final_offset":707,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2797273294,"validated":0}]} 
[2026-07-15 10:08:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":205763293216834,"timestamp_seconds":205763293216.834,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 10:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:08:38] 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-07-15 10:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 10:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 10:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727043328001,"66":2253,"245":206,"85":15104,"24":0,"16":106372905264218112,"45":8971451957826187264},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-15 10:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 10:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 10:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727043328001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:08:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 10:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106372905264218112,"km_value":106372905264218.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971451957826187264,"description":"Unknown IO ID 45"} 
[2026-07-15 10:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727043328001,"power":2253,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8971451957826187264}} 
[2026-07-15 10:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":134634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490535,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:08:38] local.INFO: GPS data processed {"connection_id":134634,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:08:38] local.INFO: Acknowledgment sent {"connection_id":134634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:08:38] local.INFO: TCP Data received {"connection_id":134635,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f640e3ad0012d7f998005afdce00000011c30..."} 
[2026-07-15 10:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f640e3ad0012d7f998005afdce00000011c30..."} 
[2026-07-15 10:08:38] local.INFO: Processing buffer {"connection_id":134635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f640e3ad0012d7f998005afdce00000011c30..."} 
[2026-07-15 10:08:38] local.INFO: Packet analysis {"connection_id":134635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f640e"} 
[2026-07-15 10:08:38] local.INFO: Extracted packet for processing {"connection_id":134635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f640e"} 
[2026-07-15 10:08:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726983936001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784090082000,"timestamp_ms":1784090082000,"timestamp_seconds":1784090082,"priority":1,"record_length":96,"hex_timestamp":"0000019f640e3ad0"} 
[2026-07-15 10:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726983936001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726983936001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:08:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:08:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726983936001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":134635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:08:38] local.INFO: GPS data processed {"connection_id":134635,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:08:38] local.INFO: Acknowledgment sent {"connection_id":134635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:09:00] local.INFO: TCP Data received {"connection_id":132431,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132431,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:09:00] local.INFO: Processing buffer {"connection_id":132431,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:09:00] local.INFO: IMEI packet received {"connection_id":132431,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 10:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":132431,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:09:06] local.INFO: TCP Data received {"connection_id":132431,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132431,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:09:06] local.INFO: Processing buffer {"connection_id":132431,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:09:06] local.INFO: IMEI packet received {"connection_id":132431,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 10:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":132431,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:09:06] local.INFO: TCP Data received {"connection_id":132432,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:09:06] local.INFO: Processing buffer {"connection_id":132432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:09:06] local.INFO: IMEI packet received {"connection_id":132432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":132432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:09:06] local.INFO: TCP Data received {"connection_id":132431,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f6411c510012d7c828005d9b668000100bb23..."} 
[2026-07-15 10:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6411c510012d7c828005d9b668000100bb23..."} 
[2026-07-15 10:09:06] local.INFO: Processing buffer {"connection_id":132431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6411c510012d7c828005d9b668000100bb23..."} 
[2026-07-15 10:09:06] local.INFO: Packet analysis {"connection_id":132431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6411"} 
[2026-07-15 10:09:06] local.INFO: Extracted packet for processing {"connection_id":132431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6411"} 
[2026-07-15 10:09:06] local.INFO: GPS Element Parsed {"raw_longitude":763134592,"raw_latitude":98154088,"longitude_deg":76.3134592,"latitude_deg":9.8154088,"altitude":1,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d7c8280","hex_latitude":"05d9b668","is_valid_coordinates":true} 
[2026-07-15 10:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727043328001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106372905264218112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971451957826187264,"note":"Value kept but may cause issues"} 
[2026-07-15 10:09:06] 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-07-15 10:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784090314000,"timestamp_ms":1784090314000,"timestamp_seconds":1784090314,"priority":1,"record_length":96,"hex_timestamp":"0000019f6411c510"} 
[2026-07-15 10:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-15 10:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751610344,"note":"Value kept but may cause issues"} 
[2026-07-15 10:09:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 10:09:06] local.WARNING: Large IO value detected {"io_id":233,"raw_value":2550136832,"note":"Value kept but may cause issues"} 
[2026-07-15 10:09:06] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-15 10:09:06] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3173515264,"note":"Value kept but may cause issues"} 
[2026-07-15 10:09:06] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635768621541051,"note":"Value kept but may cause issues"} 
[2026-07-15 10:09:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797273294,"corrected_to":0} 
[2026-07-15 10:09:06] local.WARNING: Large IO value detected {"io_id":191,"raw_value":3892391292,"note":"Value kept but may cause issues"} 
[2026-07-15 10:09:06] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2147867105,"note":"Value kept but may cause issues"} 
[2026-07-15 10:09:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":8784465686744268800,"note":"Value kept but may cause issues"} 
[2026-07-15 10:09:06] local.WARNING: Large IO value detected {"io_id":52,"raw_value":504629274251152981,"note":"Value kept but may cause issues"} 
[2026-07-15 10:09:06] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-15 10:09:06] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3910533120,"note":"Value kept but may cause issues"} 
[2026-07-15 10:09:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3657691136,"note":"Value kept but may cause issues"} 
[2026-07-15 10:09:06] local.WARNING: Large IO value detected {"io_id":124,"raw_value":7818255387657764864,"note":"Value kept but may cause issues"} 
[2026-07-15 10:09:06] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755579829813489,"note":"Value kept but may cause issues"} 
[2026-07-15 10:09:06] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,187,85,24,241,157,16,233,159,45,182,36,10,66,29,240,227,100,217,4,113,205,21,191,123,160,40,239,1,52,2,121,5,124,59],"length":577,"final_offset":707,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2797273294,"validated":0}]} 
[2026-07-15 10:09:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":205763293216834,"timestamp_seconds":205763293216.834,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 10:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:09:06] 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-07-15 10:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 10:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 10:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727043328001,"66":2253,"245":206,"85":15104,"24":0,"16":106372905264218112,"45":8971451957826187264},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-15 10:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 10:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 10:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727043328001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:09:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 10:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106372905264218112,"km_value":106372905264218.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971451957826187264,"description":"Unknown IO ID 45"} 
[2026-07-15 10:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727043328001,"power":2253,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8971451957826187264}} 
[2026-07-15 10:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":132431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490537,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:09:07] local.INFO: GPS data processed {"connection_id":132431,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:09:07] local.INFO: Acknowledgment sent {"connection_id":132431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:09:11] local.INFO: TCP Data received {"connection_id":132432,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:09:11] local.INFO: Processing buffer {"connection_id":132432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:09:11] local.INFO: IMEI packet received {"connection_id":132432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":132432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:09:12] local.INFO: TCP Data received {"connection_id":132432,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f640e3ad0012d7f998005afdce00000011c30..."} 
[2026-07-15 10:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f640e3ad0012d7f998005afdce00000011c30..."} 
[2026-07-15 10:09:12] local.INFO: Processing buffer {"connection_id":132432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f640e3ad0012d7f998005afdce00000011c30..."} 
[2026-07-15 10:09:12] local.INFO: Packet analysis {"connection_id":132432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f640e"} 
[2026-07-15 10:09:12] local.INFO: Extracted packet for processing {"connection_id":132432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f640e"} 
[2026-07-15 10:09:12] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726983936001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784090082000,"timestamp_ms":1784090082000,"timestamp_seconds":1784090082,"priority":1,"record_length":96,"hex_timestamp":"0000019f640e3ad0"} 
[2026-07-15 10:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:09:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:09:12] 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-07-15 10:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726983936001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726983936001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:09:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:09:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726983936001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":132432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:09:12] local.INFO: GPS data processed {"connection_id":132432,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:09:12] local.INFO: Acknowledgment sent {"connection_id":132432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:09:17] local.INFO: TCP Data received {"connection_id":132432,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f640e3ad0012d7f998005afdce00000011c30..."} 
[2026-07-15 10:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f640e3ad0012d7f998005afdce00000011c30..."} 
[2026-07-15 10:09:17] local.INFO: Processing buffer {"connection_id":132432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f640e3ad0012d7f998005afdce00000011c30..."} 
[2026-07-15 10:09:17] local.INFO: Packet analysis {"connection_id":132432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f640e"} 
[2026-07-15 10:09:17] local.INFO: Extracted packet for processing {"connection_id":132432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f640e"} 
[2026-07-15 10:09:17] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726983936001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:09:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784090082000,"timestamp_ms":1784090082000,"timestamp_seconds":1784090082,"priority":1,"record_length":96,"hex_timestamp":"0000019f640e3ad0"} 
[2026-07-15 10:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:09:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:09:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:09:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726983936001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726983936001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:09:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:09:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726983936001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":132432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:09:17] local.INFO: GPS data processed {"connection_id":132432,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:09:17] local.INFO: Acknowledgment sent {"connection_id":132432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:09:38] local.INFO: TCP Data received {"connection_id":132431,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f6411c510012d7c828005d9b668000100bb23..."} 
[2026-07-15 10:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6411c510012d7c828005d9b668000100bb23..."} 
[2026-07-15 10:09:38] local.INFO: Processing buffer {"connection_id":132431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6411c510012d7c828005d9b668000100bb23..."} 
[2026-07-15 10:09:38] local.INFO: Packet analysis {"connection_id":132431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6411"} 
[2026-07-15 10:09:38] local.INFO: Extracted packet for processing {"connection_id":132431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6411"} 
[2026-07-15 10:09:38] local.INFO: GPS Element Parsed {"raw_longitude":763134592,"raw_latitude":98154088,"longitude_deg":76.3134592,"latitude_deg":9.8154088,"altitude":1,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d7c8280","hex_latitude":"05d9b668","is_valid_coordinates":true} 
[2026-07-15 10: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-07-15 10:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727043328001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106372905264218112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971451957826187264,"note":"Value kept but may cause issues"} 
[2026-07-15 10:09:38] 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-07-15 10:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784090314000,"timestamp_ms":1784090314000,"timestamp_seconds":1784090314,"priority":1,"record_length":96,"hex_timestamp":"0000019f6411c510"} 
[2026-07-15 10:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-15 10:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751610344,"note":"Value kept but may cause issues"} 
[2026-07-15 10:09:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 10:09:38] local.WARNING: Large IO value detected {"io_id":233,"raw_value":2550136832,"note":"Value kept but may cause issues"} 
[2026-07-15 10:09:38] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-15 10:09:38] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3173515264,"note":"Value kept but may cause issues"} 
[2026-07-15 10:09:38] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635768621541051,"note":"Value kept but may cause issues"} 
[2026-07-15 10:09:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797273294,"corrected_to":0} 
[2026-07-15 10:09:38] local.WARNING: Large IO value detected {"io_id":191,"raw_value":3892391292,"note":"Value kept but may cause issues"} 
[2026-07-15 10:09:38] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2147867105,"note":"Value kept but may cause issues"} 
[2026-07-15 10:09:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":8784465686744268800,"note":"Value kept but may cause issues"} 
[2026-07-15 10:09:38] local.WARNING: Large IO value detected {"io_id":52,"raw_value":504629274251152981,"note":"Value kept but may cause issues"} 
[2026-07-15 10:09:38] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-15 10:09:38] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3910533120,"note":"Value kept but may cause issues"} 
[2026-07-15 10:09:38] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3657691136,"note":"Value kept but may cause issues"} 
[2026-07-15 10:09:38] local.WARNING: Large IO value detected {"io_id":124,"raw_value":7818255387657764864,"note":"Value kept but may cause issues"} 
[2026-07-15 10:09:38] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755579829813489,"note":"Value kept but may cause issues"} 
[2026-07-15 10:09:38] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,187,85,24,241,157,16,233,159,45,182,36,10,66,29,240,227,100,217,4,113,205,21,191,123,160,40,239,1,52,2,121,5,124,59],"length":577,"final_offset":707,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2797273294,"validated":0}]} 
[2026-07-15 10:09:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":205763293216834,"timestamp_seconds":205763293216.834,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 10:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:09:38] 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-07-15 10:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 10:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 10:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727043328001,"66":2253,"245":206,"85":15104,"24":0,"16":106372905264218112,"45":8971451957826187264},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-15 10:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 10:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 10:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727043328001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:09:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 10:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106372905264218112,"km_value":106372905264218.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971451957826187264,"description":"Unknown IO ID 45"} 
[2026-07-15 10:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727043328001,"power":2253,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8971451957826187264}} 
[2026-07-15 10:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":132431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490540,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:09:38] local.INFO: GPS data processed {"connection_id":132431,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:09:38] local.INFO: Acknowledgment sent {"connection_id":132431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:10:01] local.INFO: TCP Data received {"connection_id":134636,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:10:01] local.INFO: Processing buffer {"connection_id":134636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:10:01] local.INFO: IMEI packet received {"connection_id":134636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":134636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:10:06] local.INFO: TCP Data received {"connection_id":133280,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133280,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:10:06] local.INFO: Processing buffer {"connection_id":133280,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:10:06] local.INFO: IMEI packet received {"connection_id":133280,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 10:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":133280,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:10:06] local.INFO: TCP Data received {"connection_id":134636,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:10:06] local.INFO: Processing buffer {"connection_id":134636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:10:06] local.INFO: IMEI packet received {"connection_id":134636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":134636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:10:07] local.INFO: TCP Data received {"connection_id":134636,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f640e3ad0012d7f998005afdce00000011c30..."} 
[2026-07-15 10:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f640e3ad0012d7f998005afdce00000011c30..."} 
[2026-07-15 10:10:07] local.INFO: Processing buffer {"connection_id":134636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f640e3ad0012d7f998005afdce00000011c30..."} 
[2026-07-15 10:10:07] local.INFO: Packet analysis {"connection_id":134636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f640e"} 
[2026-07-15 10:10:07] local.INFO: Extracted packet for processing {"connection_id":134636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f640e"} 
[2026-07-15 10:10:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456726983936001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784090082000,"timestamp_ms":1784090082000,"timestamp_seconds":1784090082,"priority":1,"record_length":96,"hex_timestamp":"0000019f640e3ad0"} 
[2026-07-15 10:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:10:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:10:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456726983936001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456726983936001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:10:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:10:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456726983936001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":134636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:10:07] local.INFO: GPS data processed {"connection_id":134636,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:10:07] local.INFO: Acknowledgment sent {"connection_id":134636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:10:11] local.INFO: TCP Data received {"connection_id":133280,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133280,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:10:11] local.INFO: Processing buffer {"connection_id":133280,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:10:11] local.INFO: IMEI packet received {"connection_id":133280,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 10:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":133280,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:10:12] local.INFO: TCP Data received {"connection_id":133280,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f6411c510012d7c828005d9b668000100bb23..."} 
[2026-07-15 10:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6411c510012d7c828005d9b668000100bb23..."} 
[2026-07-15 10:10:12] local.INFO: Processing buffer {"connection_id":133280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6411c510012d7c828005d9b668000100bb23..."} 
[2026-07-15 10:10:12] local.INFO: Packet analysis {"connection_id":133280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6411"} 
[2026-07-15 10:10:12] local.INFO: Extracted packet for processing {"connection_id":133280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6411"} 
[2026-07-15 10:10:12] local.INFO: GPS Element Parsed {"raw_longitude":763134592,"raw_latitude":98154088,"longitude_deg":76.3134592,"latitude_deg":9.8154088,"altitude":1,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d7c8280","hex_latitude":"05d9b668","is_valid_coordinates":true} 
[2026-07-15 10:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727043328001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106372905264218112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971451957826187264,"note":"Value kept but may cause issues"} 
[2026-07-15 10:10:12] 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-07-15 10:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784090314000,"timestamp_ms":1784090314000,"timestamp_seconds":1784090314,"priority":1,"record_length":96,"hex_timestamp":"0000019f6411c510"} 
[2026-07-15 10:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-15 10:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751610344,"note":"Value kept but may cause issues"} 
[2026-07-15 10:10:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 10:10:12] local.WARNING: Large IO value detected {"io_id":233,"raw_value":2550136832,"note":"Value kept but may cause issues"} 
[2026-07-15 10:10:12] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-15 10:10:12] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3173515264,"note":"Value kept but may cause issues"} 
[2026-07-15 10:10:12] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635768621541051,"note":"Value kept but may cause issues"} 
[2026-07-15 10:10:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797273294,"corrected_to":0} 
[2026-07-15 10:10:12] local.WARNING: Large IO value detected {"io_id":191,"raw_value":3892391292,"note":"Value kept but may cause issues"} 
[2026-07-15 10:10:12] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2147867105,"note":"Value kept but may cause issues"} 
[2026-07-15 10:10:12] local.WARNING: Large IO value detected {"io_id":1,"raw_value":8784465686744268800,"note":"Value kept but may cause issues"} 
[2026-07-15 10:10:12] local.WARNING: Large IO value detected {"io_id":52,"raw_value":504629274251152981,"note":"Value kept but may cause issues"} 
[2026-07-15 10:10:12] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-15 10:10:12] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3910533120,"note":"Value kept but may cause issues"} 
[2026-07-15 10:10:12] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3657691136,"note":"Value kept but may cause issues"} 
[2026-07-15 10:10:12] local.WARNING: Large IO value detected {"io_id":124,"raw_value":7818255387657764864,"note":"Value kept but may cause issues"} 
[2026-07-15 10:10:12] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755579829813489,"note":"Value kept but may cause issues"} 
[2026-07-15 10:10:12] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,187,85,24,241,157,16,233,159,45,182,36,10,66,29,240,227,100,217,4,113,205,21,191,123,160,40,239,1,52,2,121,5,124,59],"length":577,"final_offset":707,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2797273294,"validated":0}]} 
[2026-07-15 10:10:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":205763293216834,"timestamp_seconds":205763293216.834,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 10:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":133280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":133280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":133280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:10:12] 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-07-15 10:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 10:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 10:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727043328001,"66":2253,"245":206,"85":15104,"24":0,"16":106372905264218112,"45":8971451957826187264},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-15 10:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 10:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 10:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727043328001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:10:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 10:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106372905264218112,"km_value":106372905264218.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971451957826187264,"description":"Unknown IO ID 45"} 
[2026-07-15 10:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727043328001,"power":2253,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8971451957826187264}} 
[2026-07-15 10:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":133280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490542,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:10:12] local.INFO: GPS data processed {"connection_id":133280,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:10:12] local.INFO: Acknowledgment sent {"connection_id":133280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:10:16] local.INFO: TCP Data received {"connection_id":133280,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f6411c510012d7c828005d9b668000100bb23..."} 
[2026-07-15 10:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6411c510012d7c828005d9b668000100bb23..."} 
[2026-07-15 10:10:16] local.INFO: Processing buffer {"connection_id":133280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6411c510012d7c828005d9b668000100bb23..."} 
[2026-07-15 10:10:16] local.INFO: Packet analysis {"connection_id":133280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6411"} 
[2026-07-15 10:10:16] local.INFO: Extracted packet for processing {"connection_id":133280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6411"} 
[2026-07-15 10:10:16] local.INFO: GPS Element Parsed {"raw_longitude":763134592,"raw_latitude":98154088,"longitude_deg":76.3134592,"latitude_deg":9.8154088,"altitude":1,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d7c8280","hex_latitude":"05d9b668","is_valid_coordinates":true} 
[2026-07-15 10:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727043328001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106372905264218112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971451957826187264,"note":"Value kept but may cause issues"} 
[2026-07-15 10:10:16] 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-07-15 10:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784090314000,"timestamp_ms":1784090314000,"timestamp_seconds":1784090314,"priority":1,"record_length":96,"hex_timestamp":"0000019f6411c510"} 
[2026-07-15 10:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-15 10:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751610344,"note":"Value kept but may cause issues"} 
[2026-07-15 10:10:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 10:10:16] local.WARNING: Large IO value detected {"io_id":233,"raw_value":2550136832,"note":"Value kept but may cause issues"} 
[2026-07-15 10:10:16] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-15 10:10:16] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3173515264,"note":"Value kept but may cause issues"} 
[2026-07-15 10:10:16] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635768621541051,"note":"Value kept but may cause issues"} 
[2026-07-15 10:10:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797273294,"corrected_to":0} 
[2026-07-15 10:10:16] local.WARNING: Large IO value detected {"io_id":191,"raw_value":3892391292,"note":"Value kept but may cause issues"} 
[2026-07-15 10:10:16] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2147867105,"note":"Value kept but may cause issues"} 
[2026-07-15 10:10:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":8784465686744268800,"note":"Value kept but may cause issues"} 
[2026-07-15 10:10:16] local.WARNING: Large IO value detected {"io_id":52,"raw_value":504629274251152981,"note":"Value kept but may cause issues"} 
[2026-07-15 10:10:16] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-15 10:10:16] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3910533120,"note":"Value kept but may cause issues"} 
[2026-07-15 10:10:16] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3657691136,"note":"Value kept but may cause issues"} 
[2026-07-15 10:10:16] local.WARNING: Large IO value detected {"io_id":124,"raw_value":7818255387657764864,"note":"Value kept but may cause issues"} 
[2026-07-15 10:10:16] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755579829813489,"note":"Value kept but may cause issues"} 
[2026-07-15 10:10:16] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,187,85,24,241,157,16,233,159,45,182,36,10,66,29,240,227,100,217,4,113,205,21,191,123,160,40,239,1,52,2,121,5,124,59],"length":577,"final_offset":707,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2797273294,"validated":0}]} 
[2026-07-15 10:10:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":205763293216834,"timestamp_seconds":205763293216.834,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 10:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":133280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":133280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":133280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:10:16] 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-07-15 10:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 10:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 10:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727043328001,"66":2253,"245":206,"85":15104,"24":0,"16":106372905264218112,"45":8971451957826187264},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-15 10:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 10:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 10:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727043328001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:10:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 10:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106372905264218112,"km_value":106372905264218.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971451957826187264,"description":"Unknown IO ID 45"} 
[2026-07-15 10:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727043328001,"power":2253,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8971451957826187264}} 
[2026-07-15 10:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":133280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490543,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:10:16] local.INFO: GPS data processed {"connection_id":133280,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:10:16] local.INFO: Acknowledgment sent {"connection_id":133280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:10:38] local.INFO: TCP Data received {"connection_id":134636,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f6412d298012d7f998005afdce00000011c2e..."} 
[2026-07-15 10:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6412d298012d7f998005afdce00000011c2e..."} 
[2026-07-15 10:10:38] local.INFO: Processing buffer {"connection_id":134636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6412d298012d7f998005afdce00000011c2e..."} 
[2026-07-15 10:10:38] local.INFO: Packet analysis {"connection_id":134636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6412"} 
[2026-07-15 10:10:38] local.INFO: Extracted packet for processing {"connection_id":134636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6412"} 
[2026-07-15 10:10:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":46,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727060992001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784090383000,"timestamp_ms":1784090383000,"timestamp_seconds":1784090383,"priority":1,"record_length":96,"hex_timestamp":"0000019f6412d298"} 
[2026-07-15 10:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:10:38] 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-07-15 10:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727060992001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727060992001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:10:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:10:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727060992001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":134636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:10:38] local.INFO: GPS data processed {"connection_id":134636,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:10:38] local.INFO: Acknowledgment sent {"connection_id":134636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:11:01] local.INFO: TCP Data received {"connection_id":132248,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132248,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:11:01] local.INFO: Processing buffer {"connection_id":132248,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:11:01] local.INFO: IMEI packet received {"connection_id":132248,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 10:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":132248,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:11:02] local.INFO: TCP Data received {"connection_id":132249,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:11:02] local.INFO: Processing buffer {"connection_id":132249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:11:02] local.INFO: IMEI packet received {"connection_id":132249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":132249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:11:06] local.INFO: TCP Data received {"connection_id":132248,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132248,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:11:06] local.INFO: Processing buffer {"connection_id":132248,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:11:06] local.INFO: IMEI packet received {"connection_id":132248,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 10:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":132248,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:11:06] local.INFO: TCP Data received {"connection_id":132249,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:11:06] local.INFO: Processing buffer {"connection_id":132249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:11:06] local.INFO: IMEI packet received {"connection_id":132249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":132249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:11:07] local.INFO: TCP Data received {"connection_id":132248,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f6411c510012d7c828005d9b668000100bb23..."} 
[2026-07-15 10:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6411c510012d7c828005d9b668000100bb23..."} 
[2026-07-15 10:11:07] local.INFO: Processing buffer {"connection_id":132248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6411c510012d7c828005d9b668000100bb23..."} 
[2026-07-15 10:11:07] local.INFO: Packet analysis {"connection_id":132248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6411"} 
[2026-07-15 10:11:07] local.INFO: Extracted packet for processing {"connection_id":132248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6411"} 
[2026-07-15 10:11:07] local.INFO: GPS Element Parsed {"raw_longitude":763134592,"raw_latitude":98154088,"longitude_deg":76.3134592,"latitude_deg":9.8154088,"altitude":1,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d7c8280","hex_latitude":"05d9b668","is_valid_coordinates":true} 
[2026-07-15 10:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727043328001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106372905264218112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971451957826187264,"note":"Value kept but may cause issues"} 
[2026-07-15 10:11:07] 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-07-15 10:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784090314000,"timestamp_ms":1784090314000,"timestamp_seconds":1784090314,"priority":1,"record_length":96,"hex_timestamp":"0000019f6411c510"} 
[2026-07-15 10:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-15 10:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751610344,"note":"Value kept but may cause issues"} 
[2026-07-15 10:11:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 10:11:07] local.WARNING: Large IO value detected {"io_id":233,"raw_value":2550136832,"note":"Value kept but may cause issues"} 
[2026-07-15 10:11:07] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-15 10:11:07] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3173515264,"note":"Value kept but may cause issues"} 
[2026-07-15 10:11:07] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635768621541051,"note":"Value kept but may cause issues"} 
[2026-07-15 10:11:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797273294,"corrected_to":0} 
[2026-07-15 10:11:07] local.WARNING: Large IO value detected {"io_id":191,"raw_value":3892391292,"note":"Value kept but may cause issues"} 
[2026-07-15 10:11:07] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2147867105,"note":"Value kept but may cause issues"} 
[2026-07-15 10:11:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":8784465686744268800,"note":"Value kept but may cause issues"} 
[2026-07-15 10:11:07] local.WARNING: Large IO value detected {"io_id":52,"raw_value":504629274251152981,"note":"Value kept but may cause issues"} 
[2026-07-15 10:11:07] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-15 10:11:07] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3910533120,"note":"Value kept but may cause issues"} 
[2026-07-15 10:11:07] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3657691136,"note":"Value kept but may cause issues"} 
[2026-07-15 10:11:07] local.WARNING: Large IO value detected {"io_id":124,"raw_value":7818255387657764864,"note":"Value kept but may cause issues"} 
[2026-07-15 10:11:07] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755579829813489,"note":"Value kept but may cause issues"} 
[2026-07-15 10:11:07] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,187,85,24,241,157,16,233,159,45,182,36,10,66,29,240,227,100,217,4,113,205,21,191,123,160,40,239,1,52,2,121,5,124,59],"length":577,"final_offset":707,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2797273294,"validated":0}]} 
[2026-07-15 10:11:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":205763293216834,"timestamp_seconds":205763293216.834,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 10:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:11:07] 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-07-15 10:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 10:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 10:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727043328001,"66":2253,"245":206,"85":15104,"24":0,"16":106372905264218112,"45":8971451957826187264},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-15 10:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 10:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 10:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727043328001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:11:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 10:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106372905264218112,"km_value":106372905264218.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971451957826187264,"description":"Unknown IO ID 45"} 
[2026-07-15 10:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727043328001,"power":2253,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8971451957826187264}} 
[2026-07-15 10:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":132248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490545,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:11:07] local.INFO: GPS data processed {"connection_id":132248,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:11:07] local.INFO: Acknowledgment sent {"connection_id":132248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:11:07] local.INFO: TCP Data received {"connection_id":132249,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f6412d298012d7f998005afdce00000011c2e..."} 
[2026-07-15 10:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6412d298012d7f998005afdce00000011c2e..."} 
[2026-07-15 10:11:07] local.INFO: Processing buffer {"connection_id":132249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6412d298012d7f998005afdce00000011c2e..."} 
[2026-07-15 10:11:07] local.INFO: Packet analysis {"connection_id":132249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6412"} 
[2026-07-15 10:11:07] local.INFO: Extracted packet for processing {"connection_id":132249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6412"} 
[2026-07-15 10:11:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":46,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727060992001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784090383000,"timestamp_ms":1784090383000,"timestamp_seconds":1784090383,"priority":1,"record_length":96,"hex_timestamp":"0000019f6412d298"} 
[2026-07-15 10:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:11:07] 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-07-15 10:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727060992001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727060992001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:11:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:11:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727060992001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":132249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:11:07] local.INFO: GPS data processed {"connection_id":132249,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:11:07] local.INFO: Acknowledgment sent {"connection_id":132249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:11:38] local.INFO: TCP Data received {"connection_id":132248,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f6411c510012d7c828005d9b668000100bb23..."} 
[2026-07-15 10:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6411c510012d7c828005d9b668000100bb23..."} 
[2026-07-15 10:11:38] local.INFO: Processing buffer {"connection_id":132248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6411c510012d7c828005d9b668000100bb23..."} 
[2026-07-15 10:11:38] local.INFO: Packet analysis {"connection_id":132248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6411"} 
[2026-07-15 10:11:38] local.INFO: Extracted packet for processing {"connection_id":132248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6411"} 
[2026-07-15 10:11:38] local.INFO: GPS Element Parsed {"raw_longitude":763134592,"raw_latitude":98154088,"longitude_deg":76.3134592,"latitude_deg":9.8154088,"altitude":1,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d7c8280","hex_latitude":"05d9b668","is_valid_coordinates":true} 
[2026-07-15 10:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727043328001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106372905264218112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971451957826187264,"note":"Value kept but may cause issues"} 
[2026-07-15 10:11:38] 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-07-15 10:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784090314000,"timestamp_ms":1784090314000,"timestamp_seconds":1784090314,"priority":1,"record_length":96,"hex_timestamp":"0000019f6411c510"} 
[2026-07-15 10:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-15 10:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751610344,"note":"Value kept but may cause issues"} 
[2026-07-15 10:11:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 10:11:38] local.WARNING: Large IO value detected {"io_id":233,"raw_value":2550136832,"note":"Value kept but may cause issues"} 
[2026-07-15 10:11:38] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-15 10:11:38] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3173515264,"note":"Value kept but may cause issues"} 
[2026-07-15 10:11:38] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635768621541051,"note":"Value kept but may cause issues"} 
[2026-07-15 10:11:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797273294,"corrected_to":0} 
[2026-07-15 10:11:38] local.WARNING: Large IO value detected {"io_id":191,"raw_value":3892391292,"note":"Value kept but may cause issues"} 
[2026-07-15 10:11:38] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2147867105,"note":"Value kept but may cause issues"} 
[2026-07-15 10:11:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":8784465686744268800,"note":"Value kept but may cause issues"} 
[2026-07-15 10:11:38] local.WARNING: Large IO value detected {"io_id":52,"raw_value":504629274251152981,"note":"Value kept but may cause issues"} 
[2026-07-15 10:11:38] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-15 10:11:38] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3910533120,"note":"Value kept but may cause issues"} 
[2026-07-15 10:11:38] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3657691136,"note":"Value kept but may cause issues"} 
[2026-07-15 10:11:38] local.WARNING: Large IO value detected {"io_id":124,"raw_value":7818255387657764864,"note":"Value kept but may cause issues"} 
[2026-07-15 10:11:38] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755579829813489,"note":"Value kept but may cause issues"} 
[2026-07-15 10:11:38] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,187,85,24,241,157,16,233,159,45,182,36,10,66,29,240,227,100,217,4,113,205,21,191,123,160,40,239,1,52,2,121,5,124,59],"length":577,"final_offset":707,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2797273294,"validated":0}]} 
[2026-07-15 10:11:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":205763293216834,"timestamp_seconds":205763293216.834,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 10:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:11:38] 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-07-15 10:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 10:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 10:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727043328001,"66":2253,"245":206,"85":15104,"24":0,"16":106372905264218112,"45":8971451957826187264},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-15 10:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 10:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 10:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727043328001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:11:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 10:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106372905264218112,"km_value":106372905264218.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971451957826187264,"description":"Unknown IO ID 45"} 
[2026-07-15 10:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727043328001,"power":2253,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8971451957826187264}} 
[2026-07-15 10:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":132248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490547,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:11:38] local.INFO: GPS data processed {"connection_id":132248,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:11:38] local.INFO: Acknowledgment sent {"connection_id":132248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:11:38] local.INFO: TCP Data received {"connection_id":132249,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f6412d298012d7f998005afdce00000011c2e..."} 
[2026-07-15 10:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6412d298012d7f998005afdce00000011c2e..."} 
[2026-07-15 10:11:38] local.INFO: Processing buffer {"connection_id":132249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6412d298012d7f998005afdce00000011c2e..."} 
[2026-07-15 10:11:38] local.INFO: Packet analysis {"connection_id":132249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6412"} 
[2026-07-15 10:11:38] local.INFO: Extracted packet for processing {"connection_id":132249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6412"} 
[2026-07-15 10:11:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":46,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727060992001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784090383000,"timestamp_ms":1784090383000,"timestamp_seconds":1784090383,"priority":1,"record_length":96,"hex_timestamp":"0000019f6412d298"} 
[2026-07-15 10:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727060992001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727060992001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:11:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:11:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727060992001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":132249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:11:38] local.INFO: GPS data processed {"connection_id":132249,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:11:38] local.INFO: Acknowledgment sent {"connection_id":132249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:12:01] local.INFO: TCP Data received {"connection_id":132433,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132433,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:12:01] local.INFO: Processing buffer {"connection_id":132433,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:12:01] local.INFO: IMEI packet received {"connection_id":132433,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 10:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":132433,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:12:01] local.INFO: TCP Data received {"connection_id":133281,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:12:01] local.INFO: Processing buffer {"connection_id":133281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:12:01] local.INFO: IMEI packet received {"connection_id":133281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":133281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:12:06] local.INFO: TCP Data received {"connection_id":132433,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132433,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:12:06] local.INFO: Processing buffer {"connection_id":132433,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:12:06] local.INFO: IMEI packet received {"connection_id":132433,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 10:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":132433,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:12:06] local.INFO: TCP Data received {"connection_id":133281,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:12:06] local.INFO: Processing buffer {"connection_id":133281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:12:06] local.INFO: IMEI packet received {"connection_id":133281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":133281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:12:07] local.INFO: TCP Data received {"connection_id":132433,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f6411c510012d7c828005d9b668000100bb23..."} 
[2026-07-15 10:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6411c510012d7c828005d9b668000100bb23..."} 
[2026-07-15 10:12:07] local.INFO: Processing buffer {"connection_id":132433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6411c510012d7c828005d9b668000100bb23..."} 
[2026-07-15 10:12:07] local.INFO: Packet analysis {"connection_id":132433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6411"} 
[2026-07-15 10:12:07] local.INFO: Extracted packet for processing {"connection_id":132433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6411"} 
[2026-07-15 10:12:07] local.INFO: GPS Element Parsed {"raw_longitude":763134592,"raw_latitude":98154088,"longitude_deg":76.3134592,"latitude_deg":9.8154088,"altitude":1,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d7c8280","hex_latitude":"05d9b668","is_valid_coordinates":true} 
[2026-07-15 10: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-07-15 10:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727043328001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106372905264218112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971451957826187264,"note":"Value kept but may cause issues"} 
[2026-07-15 10:12:07] 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-07-15 10:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784090314000,"timestamp_ms":1784090314000,"timestamp_seconds":1784090314,"priority":1,"record_length":96,"hex_timestamp":"0000019f6411c510"} 
[2026-07-15 10:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-15 10:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751610344,"note":"Value kept but may cause issues"} 
[2026-07-15 10:12:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 10:12:07] local.WARNING: Large IO value detected {"io_id":233,"raw_value":2550136832,"note":"Value kept but may cause issues"} 
[2026-07-15 10:12:07] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-15 10:12:07] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3173515264,"note":"Value kept but may cause issues"} 
[2026-07-15 10:12:07] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635768621541051,"note":"Value kept but may cause issues"} 
[2026-07-15 10:12:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797273294,"corrected_to":0} 
[2026-07-15 10:12:07] local.WARNING: Large IO value detected {"io_id":191,"raw_value":3892391292,"note":"Value kept but may cause issues"} 
[2026-07-15 10:12:07] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2147867105,"note":"Value kept but may cause issues"} 
[2026-07-15 10:12:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":8784465686744268800,"note":"Value kept but may cause issues"} 
[2026-07-15 10:12:07] local.WARNING: Large IO value detected {"io_id":52,"raw_value":504629274251152981,"note":"Value kept but may cause issues"} 
[2026-07-15 10:12:07] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-15 10:12:07] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3910533120,"note":"Value kept but may cause issues"} 
[2026-07-15 10:12:07] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3657691136,"note":"Value kept but may cause issues"} 
[2026-07-15 10:12:07] local.WARNING: Large IO value detected {"io_id":124,"raw_value":7818255387657764864,"note":"Value kept but may cause issues"} 
[2026-07-15 10:12:07] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755579829813489,"note":"Value kept but may cause issues"} 
[2026-07-15 10:12:07] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,187,85,24,241,157,16,233,159,45,182,36,10,66,29,240,227,100,217,4,113,205,21,191,123,160,40,239,1,52,2,121,5,124,59],"length":577,"final_offset":707,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2797273294,"validated":0}]} 
[2026-07-15 10:12:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":205763293216834,"timestamp_seconds":205763293216.834,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 10:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132433,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132433,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 10:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 10:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727043328001,"66":2253,"245":206,"85":15104,"24":0,"16":106372905264218112,"45":8971451957826187264},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-15 10:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 10:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 10:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727043328001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:12:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 10:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106372905264218112,"km_value":106372905264218.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971451957826187264,"description":"Unknown IO ID 45"} 
[2026-07-15 10:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727043328001,"power":2253,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8971451957826187264}} 
[2026-07-15 10:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":132433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490549,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:12:07] local.INFO: GPS data processed {"connection_id":132433,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:12:07] local.INFO: Acknowledgment sent {"connection_id":132433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:12:07] local.INFO: TCP Data received {"connection_id":133281,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f6412d298012d7f998005afdce00000011c2e..."} 
[2026-07-15 10:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6412d298012d7f998005afdce00000011c2e..."} 
[2026-07-15 10:12:07] local.INFO: Processing buffer {"connection_id":133281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6412d298012d7f998005afdce00000011c2e..."} 
[2026-07-15 10:12:07] local.INFO: Packet analysis {"connection_id":133281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6412"} 
[2026-07-15 10:12:07] local.INFO: Extracted packet for processing {"connection_id":133281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6412"} 
[2026-07-15 10:12:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":46,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10: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-07-15 10:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727060992001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784090383000,"timestamp_ms":1784090383000,"timestamp_seconds":1784090383,"priority":1,"record_length":96,"hex_timestamp":"0000019f6412d298"} 
[2026-07-15 10:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10: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-07-15 10:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:12:07] 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-07-15 10:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727060992001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727060992001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:12:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:12:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727060992001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":133281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:12:07] local.INFO: GPS data processed {"connection_id":133281,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:12:07] local.INFO: Acknowledgment sent {"connection_id":133281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:12:38] local.INFO: TCP Data received {"connection_id":133281,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f6412d298012d7f998005afdce00000011c2e..."} 
[2026-07-15 10:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6412d298012d7f998005afdce00000011c2e..."} 
[2026-07-15 10:12:38] local.INFO: Processing buffer {"connection_id":133281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6412d298012d7f998005afdce00000011c2e..."} 
[2026-07-15 10:12:38] local.INFO: Packet analysis {"connection_id":133281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6412"} 
[2026-07-15 10:12:38] local.INFO: Extracted packet for processing {"connection_id":133281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6412"} 
[2026-07-15 10:12:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":46,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10: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-07-15 10:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727060992001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784090383000,"timestamp_ms":1784090383000,"timestamp_seconds":1784090383,"priority":1,"record_length":96,"hex_timestamp":"0000019f6412d298"} 
[2026-07-15 10:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10: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-07-15 10:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727060992001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727060992001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:12:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:12:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727060992001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":133281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:12:38] local.INFO: GPS data processed {"connection_id":133281,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:12:38] local.INFO: Acknowledgment sent {"connection_id":133281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:12:40] local.INFO: TCP Data received {"connection_id":132433,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f6411c510012d7c828005d9b668000100bb23..."} 
[2026-07-15 10:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6411c510012d7c828005d9b668000100bb23..."} 
[2026-07-15 10:12:40] local.INFO: Processing buffer {"connection_id":132433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6411c510012d7c828005d9b668000100bb23..."} 
[2026-07-15 10:12:40] local.INFO: Packet analysis {"connection_id":132433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6411"} 
[2026-07-15 10:12:40] local.INFO: Extracted packet for processing {"connection_id":132433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6411"} 
[2026-07-15 10:12:40] local.INFO: GPS Element Parsed {"raw_longitude":763134592,"raw_latitude":98154088,"longitude_deg":76.3134592,"latitude_deg":9.8154088,"altitude":1,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d7c8280","hex_latitude":"05d9b668","is_valid_coordinates":true} 
[2026-07-15 10: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-07-15 10:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727043328001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106372905264218112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:12:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971451957826187264,"note":"Value kept but may cause issues"} 
[2026-07-15 10:12: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-07-15 10:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784090314000,"timestamp_ms":1784090314000,"timestamp_seconds":1784090314,"priority":1,"record_length":96,"hex_timestamp":"0000019f6411c510"} 
[2026-07-15 10:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:12:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10: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":12,"data_length":795,"current_offset":136} 
[2026-07-15 10:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751610344,"note":"Value kept but may cause issues"} 
[2026-07-15 10:12:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 10:12:40] local.WARNING: Large IO value detected {"io_id":233,"raw_value":2550136832,"note":"Value kept but may cause issues"} 
[2026-07-15 10:12:40] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-15 10:12:40] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3173515264,"note":"Value kept but may cause issues"} 
[2026-07-15 10:12:40] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635768621541051,"note":"Value kept but may cause issues"} 
[2026-07-15 10:12:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797273294,"corrected_to":0} 
[2026-07-15 10:12:40] local.WARNING: Large IO value detected {"io_id":191,"raw_value":3892391292,"note":"Value kept but may cause issues"} 
[2026-07-15 10:12:40] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2147867105,"note":"Value kept but may cause issues"} 
[2026-07-15 10:12:40] local.WARNING: Large IO value detected {"io_id":1,"raw_value":8784465686744268800,"note":"Value kept but may cause issues"} 
[2026-07-15 10:12:40] local.WARNING: Large IO value detected {"io_id":52,"raw_value":504629274251152981,"note":"Value kept but may cause issues"} 
[2026-07-15 10:12:40] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-15 10:12:40] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3910533120,"note":"Value kept but may cause issues"} 
[2026-07-15 10:12:40] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3657691136,"note":"Value kept but may cause issues"} 
[2026-07-15 10:12:40] local.WARNING: Large IO value detected {"io_id":124,"raw_value":7818255387657764864,"note":"Value kept but may cause issues"} 
[2026-07-15 10:12:40] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755579829813489,"note":"Value kept but may cause issues"} 
[2026-07-15 10:12:40] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,187,85,24,241,157,16,233,159,45,182,36,10,66,29,240,227,100,217,4,113,205,21,191,123,160,40,239,1,52,2,121,5,124,59],"length":577,"final_offset":707,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2797273294,"validated":0}]} 
[2026-07-15 10:12:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":205763293216834,"timestamp_seconds":205763293216.834,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 10:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132433,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132433,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 10:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 10:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727043328001,"66":2253,"245":206,"85":15104,"24":0,"16":106372905264218112,"45":8971451957826187264},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-15 10:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 10:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 10:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727043328001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:12:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 10:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106372905264218112,"km_value":106372905264218.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:12:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971451957826187264,"description":"Unknown IO ID 45"} 
[2026-07-15 10:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727043328001,"power":2253,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8971451957826187264}} 
[2026-07-15 10:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":132433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490552,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:12:40] local.INFO: GPS data processed {"connection_id":132433,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:12:40] local.INFO: Acknowledgment sent {"connection_id":132433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:13:01] local.INFO: TCP Data received {"connection_id":132250,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132250,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:13:01] local.INFO: Processing buffer {"connection_id":132250,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:13:01] local.INFO: IMEI packet received {"connection_id":132250,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 10:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":132250,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:13:06] local.INFO: TCP Data received {"connection_id":132250,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132250,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:13:06] local.INFO: Processing buffer {"connection_id":132250,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:13:06] local.INFO: IMEI packet received {"connection_id":132250,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 10:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":132250,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:13:07] local.INFO: TCP Data received {"connection_id":132250,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f6411c510012d7c828005d9b668000100bb23..."} 
[2026-07-15 10:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6411c510012d7c828005d9b668000100bb23..."} 
[2026-07-15 10:13:07] local.INFO: Processing buffer {"connection_id":132250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6411c510012d7c828005d9b668000100bb23..."} 
[2026-07-15 10:13:07] local.INFO: Packet analysis {"connection_id":132250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6411"} 
[2026-07-15 10:13:07] local.INFO: Extracted packet for processing {"connection_id":132250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6411"} 
[2026-07-15 10:13:07] local.INFO: GPS Element Parsed {"raw_longitude":763134592,"raw_latitude":98154088,"longitude_deg":76.3134592,"latitude_deg":9.8154088,"altitude":1,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d7c8280","hex_latitude":"05d9b668","is_valid_coordinates":true} 
[2026-07-15 10:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727043328001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106372905264218112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971451957826187264,"note":"Value kept but may cause issues"} 
[2026-07-15 10:13:07] 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-07-15 10:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784090314000,"timestamp_ms":1784090314000,"timestamp_seconds":1784090314,"priority":1,"record_length":96,"hex_timestamp":"0000019f6411c510"} 
[2026-07-15 10:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-15 10:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751610344,"note":"Value kept but may cause issues"} 
[2026-07-15 10:13:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 10:13:07] local.WARNING: Large IO value detected {"io_id":233,"raw_value":2550136832,"note":"Value kept but may cause issues"} 
[2026-07-15 10:13:07] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-15 10:13:07] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3173515264,"note":"Value kept but may cause issues"} 
[2026-07-15 10:13:07] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635768621541051,"note":"Value kept but may cause issues"} 
[2026-07-15 10:13:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797273294,"corrected_to":0} 
[2026-07-15 10:13:07] local.WARNING: Large IO value detected {"io_id":191,"raw_value":3892391292,"note":"Value kept but may cause issues"} 
[2026-07-15 10:13:07] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2147867105,"note":"Value kept but may cause issues"} 
[2026-07-15 10:13:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":8784465686744268800,"note":"Value kept but may cause issues"} 
[2026-07-15 10:13:07] local.WARNING: Large IO value detected {"io_id":52,"raw_value":504629274251152981,"note":"Value kept but may cause issues"} 
[2026-07-15 10:13:07] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-15 10:13:07] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3910533120,"note":"Value kept but may cause issues"} 
[2026-07-15 10:13:07] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3657691136,"note":"Value kept but may cause issues"} 
[2026-07-15 10:13:07] local.WARNING: Large IO value detected {"io_id":124,"raw_value":7818255387657764864,"note":"Value kept but may cause issues"} 
[2026-07-15 10:13:07] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755579829813489,"note":"Value kept but may cause issues"} 
[2026-07-15 10:13:07] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,187,85,24,241,157,16,233,159,45,182,36,10,66,29,240,227,100,217,4,113,205,21,191,123,160,40,239,1,52,2,121,5,124,59],"length":577,"final_offset":707,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2797273294,"validated":0}]} 
[2026-07-15 10:13:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":205763293216834,"timestamp_seconds":205763293216.834,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 10:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 10:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 10:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727043328001,"66":2253,"245":206,"85":15104,"24":0,"16":106372905264218112,"45":8971451957826187264},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-15 10:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 10:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 10:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727043328001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:13:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 10:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106372905264218112,"km_value":106372905264218.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971451957826187264,"description":"Unknown IO ID 45"} 
[2026-07-15 10:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727043328001,"power":2253,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8971451957826187264}} 
[2026-07-15 10:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":132250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490553,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:13:07] local.INFO: GPS data processed {"connection_id":132250,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:13:07] local.INFO: Acknowledgment sent {"connection_id":132250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:13:07] local.INFO: TCP Data received {"connection_id":133282,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:13:07] local.INFO: Processing buffer {"connection_id":133282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:13:07] local.INFO: IMEI packet received {"connection_id":133282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":133282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:13:11] local.INFO: TCP Data received {"connection_id":133282,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:13:11] local.INFO: Processing buffer {"connection_id":133282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:13:11] local.INFO: IMEI packet received {"connection_id":133282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":133282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:13:12] local.INFO: TCP Data received {"connection_id":133282,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f6412d298012d7f998005afdce00000011c2e..."} 
[2026-07-15 10:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6412d298012d7f998005afdce00000011c2e..."} 
[2026-07-15 10:13:12] local.INFO: Processing buffer {"connection_id":133282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6412d298012d7f998005afdce00000011c2e..."} 
[2026-07-15 10:13:12] local.INFO: Packet analysis {"connection_id":133282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6412"} 
[2026-07-15 10:13:12] local.INFO: Extracted packet for processing {"connection_id":133282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6412"} 
[2026-07-15 10:13:12] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":46,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10: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-07-15 10:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727060992001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784090383000,"timestamp_ms":1784090383000,"timestamp_seconds":1784090383,"priority":1,"record_length":96,"hex_timestamp":"0000019f6412d298"} 
[2026-07-15 10:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10: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-07-15 10:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":133282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":133282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":133282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:13:12] 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-07-15 10:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727060992001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727060992001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:13:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:13:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727060992001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":133282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:13:12] local.INFO: GPS data processed {"connection_id":133282,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:13:12] local.INFO: Acknowledgment sent {"connection_id":133282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:13:17] local.INFO: TCP Data received {"connection_id":133282,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f6412d298012d7f998005afdce00000011c2e..."} 
[2026-07-15 10:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6412d298012d7f998005afdce00000011c2e..."} 
[2026-07-15 10:13:17] local.INFO: Processing buffer {"connection_id":133282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6412d298012d7f998005afdce00000011c2e..."} 
[2026-07-15 10:13:17] local.INFO: Packet analysis {"connection_id":133282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6412"} 
[2026-07-15 10:13:17] local.INFO: Extracted packet for processing {"connection_id":133282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6412"} 
[2026-07-15 10:13:17] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":46,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727060992001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:13:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784090383000,"timestamp_ms":1784090383000,"timestamp_seconds":1784090383,"priority":1,"record_length":96,"hex_timestamp":"0000019f6412d298"} 
[2026-07-15 10:13:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:13:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:13:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:13:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:13:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":133282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":133282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":133282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:13:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727060992001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727060992001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:13:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:13:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727060992001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":133282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:13:17] local.INFO: GPS data processed {"connection_id":133282,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:13:17] local.INFO: Acknowledgment sent {"connection_id":133282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:13:35] local.INFO: TCP Data received {"connection_id":132251,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132251,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:13:35] local.INFO: Processing buffer {"connection_id":132251,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:13:35] local.INFO: IMEI packet received {"connection_id":132251,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 10:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":132251,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:13:38] local.INFO: TCP Data received {"connection_id":132250,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f64165cd8012d7c828005d9b668000400bb25..."} 
[2026-07-15 10:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64165cd8012d7c828005d9b668000400bb25..."} 
[2026-07-15 10:13:38] local.INFO: Processing buffer {"connection_id":132250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64165cd8012d7c828005d9b668000400bb25..."} 
[2026-07-15 10:13:38] local.INFO: Packet analysis {"connection_id":132250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6416"} 
[2026-07-15 10:13:38] local.INFO: Extracted packet for processing {"connection_id":132250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6416"} 
[2026-07-15 10:13:38] local.INFO: GPS Element Parsed {"raw_longitude":763134592,"raw_latitude":98154088,"longitude_deg":76.3134592,"latitude_deg":9.8154088,"altitude":4,"angle":187,"satellites":37,"speed":0,"hex_longitude":"2d7c8280","hex_latitude":"05d9b668","is_valid_coordinates":true} 
[2026-07-15 10: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-07-15 10:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727120384001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106372905264218112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971874170291251200,"note":"Value kept but may cause issues"} 
[2026-07-15 10:13:38] 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-07-15 10:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784090615000,"timestamp_ms":1784090615000,"timestamp_seconds":1784090615,"priority":1,"record_length":96,"hex_timestamp":"0000019f64165cd8"} 
[2026-07-15 10:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:13: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-07-15 10: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":205,"data_length":795,"current_offset":136} 
[2026-07-15 10:13:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10: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-07-15 10:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 10:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 10:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727120384001,"66":2253,"245":206,"85":15104,"24":0,"16":106372905264218112,"45":8971874170291251200},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-15 10:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 10:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 10:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727120384001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:13:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 10:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106372905264218112,"km_value":106372905264218.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971874170291251200,"description":"Unknown IO ID 45"} 
[2026-07-15 10:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727120384001,"power":2253,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8971874170291251200}} 
[2026-07-15 10:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":132250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490556,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:13:38] local.INFO: GPS data processed {"connection_id":132250,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:13:38] local.INFO: Acknowledgment sent {"connection_id":132250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:14:01] local.INFO: TCP Data received {"connection_id":134639,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:14:01] local.INFO: Processing buffer {"connection_id":134639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:14:01] local.INFO: IMEI packet received {"connection_id":134639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":134639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:14:06] local.INFO: TCP Data received {"connection_id":134639,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:14:06] local.INFO: Processing buffer {"connection_id":134639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:14:06] local.INFO: IMEI packet received {"connection_id":134639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":134639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:14:07] local.INFO: TCP Data received {"connection_id":134639,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f6412d298012d7f998005afdce00000011c2e..."} 
[2026-07-15 10:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6412d298012d7f998005afdce00000011c2e..."} 
[2026-07-15 10:14:07] local.INFO: Processing buffer {"connection_id":134639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6412d298012d7f998005afdce00000011c2e..."} 
[2026-07-15 10:14:07] local.INFO: Packet analysis {"connection_id":134639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6412"} 
[2026-07-15 10:14:07] local.INFO: Extracted packet for processing {"connection_id":134639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6412"} 
[2026-07-15 10:14:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":46,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10: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-07-15 10:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727060992001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784090383000,"timestamp_ms":1784090383000,"timestamp_seconds":1784090383,"priority":1,"record_length":96,"hex_timestamp":"0000019f6412d298"} 
[2026-07-15 10:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10: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-07-15 10:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:14:07] 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-07-15 10:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727060992001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727060992001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:14:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:14:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727060992001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":134639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:14:07] local.INFO: GPS data processed {"connection_id":134639,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:14:07] local.INFO: Acknowledgment sent {"connection_id":134639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:14:38] local.INFO: TCP Data received {"connection_id":134639,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f6412d298012d7f998005afdce00000011c2e..."} 
[2026-07-15 10:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6412d298012d7f998005afdce00000011c2e..."} 
[2026-07-15 10:14:38] local.INFO: Processing buffer {"connection_id":134639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6412d298012d7f998005afdce00000011c2e..."} 
[2026-07-15 10:14:38] local.INFO: Packet analysis {"connection_id":134639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6412"} 
[2026-07-15 10:14:38] local.INFO: Extracted packet for processing {"connection_id":134639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6412"} 
[2026-07-15 10:14:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":46,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727060992001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784090383000,"timestamp_ms":1784090383000,"timestamp_seconds":1784090383,"priority":1,"record_length":96,"hex_timestamp":"0000019f6412d298"} 
[2026-07-15 10:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727060992001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727060992001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:14:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:14:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727060992001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":134639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:14:38] local.INFO: GPS data processed {"connection_id":134639,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:14:38] local.INFO: Acknowledgment sent {"connection_id":134639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:15:01] local.INFO: TCP Data received {"connection_id":133284,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:15:01] local.INFO: Processing buffer {"connection_id":133284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:15:01] local.INFO: IMEI packet received {"connection_id":133284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":133284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:15:06] local.INFO: TCP Data received {"connection_id":133284,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:15:06] local.INFO: Processing buffer {"connection_id":133284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:15:06] local.INFO: IMEI packet received {"connection_id":133284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":133284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:15:07] local.INFO: TCP Data received {"connection_id":133284,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f6412d298012d7f998005afdce00000011c2e..."} 
[2026-07-15 10:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6412d298012d7f998005afdce00000011c2e..."} 
[2026-07-15 10:15:07] local.INFO: Processing buffer {"connection_id":133284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6412d298012d7f998005afdce00000011c2e..."} 
[2026-07-15 10:15:07] local.INFO: Packet analysis {"connection_id":133284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6412"} 
[2026-07-15 10:15:07] local.INFO: Extracted packet for processing {"connection_id":133284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6412"} 
[2026-07-15 10:15:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":46,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727060992001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784090383000,"timestamp_ms":1784090383000,"timestamp_seconds":1784090383,"priority":1,"record_length":96,"hex_timestamp":"0000019f6412d298"} 
[2026-07-15 10:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:15:07] 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-07-15 10:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727060992001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727060992001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:15:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:15:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727060992001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":133284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:15:07] local.INFO: GPS data processed {"connection_id":133284,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:15:07] local.INFO: Acknowledgment sent {"connection_id":133284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:15:38] local.INFO: TCP Data received {"connection_id":133284,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f64176a60012d7f998005afdce00000011c30..."} 
[2026-07-15 10:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64176a60012d7f998005afdce00000011c30..."} 
[2026-07-15 10:15:38] local.INFO: Processing buffer {"connection_id":133284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64176a60012d7f998005afdce00000011c30..."} 
[2026-07-15 10:15:38] local.INFO: Packet analysis {"connection_id":133284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6417"} 
[2026-07-15 10:15:38] local.INFO: Extracted packet for processing {"connection_id":133284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6417"} 
[2026-07-15 10:15:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10: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-07-15 10:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727138048001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784090684000,"timestamp_ms":1784090684000,"timestamp_seconds":1784090684,"priority":1,"record_length":96,"hex_timestamp":"0000019f64176a60"} 
[2026-07-15 10:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10: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-07-15 10:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727138048001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727138048001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:15:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:15:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727138048001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":133284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:15:38] local.INFO: GPS data processed {"connection_id":133284,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:15:38] local.INFO: Acknowledgment sent {"connection_id":133284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:16:01] local.INFO: TCP Data received {"connection_id":132435,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:16:01] local.INFO: Processing buffer {"connection_id":132435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:16:01] local.INFO: IMEI packet received {"connection_id":132435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":132435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:16:06] local.INFO: TCP Data received {"connection_id":132435,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:16:06] local.INFO: Processing buffer {"connection_id":132435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:16:06] local.INFO: IMEI packet received {"connection_id":132435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":132435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:16:07] local.INFO: TCP Data received {"connection_id":132435,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f64176a60012d7f998005afdce00000011c30..."} 
[2026-07-15 10:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64176a60012d7f998005afdce00000011c30..."} 
[2026-07-15 10:16:07] local.INFO: Processing buffer {"connection_id":132435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64176a60012d7f998005afdce00000011c30..."} 
[2026-07-15 10:16:07] local.INFO: Packet analysis {"connection_id":132435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6417"} 
[2026-07-15 10:16:07] local.INFO: Extracted packet for processing {"connection_id":132435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6417"} 
[2026-07-15 10:16:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727138048001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784090684000,"timestamp_ms":1784090684000,"timestamp_seconds":1784090684,"priority":1,"record_length":96,"hex_timestamp":"0000019f64176a60"} 
[2026-07-15 10:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:16:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:16:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:16:07] 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-07-15 10:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727138048001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727138048001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:16:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:16:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727138048001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":132435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:16:07] local.INFO: GPS data processed {"connection_id":132435,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:16:07] local.INFO: Acknowledgment sent {"connection_id":132435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:16:38] local.INFO: TCP Data received {"connection_id":132435,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f64176a60012d7f998005afdce00000011c30..."} 
[2026-07-15 10:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64176a60012d7f998005afdce00000011c30..."} 
[2026-07-15 10:16:38] local.INFO: Processing buffer {"connection_id":132435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64176a60012d7f998005afdce00000011c30..."} 
[2026-07-15 10:16:38] local.INFO: Packet analysis {"connection_id":132435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6417"} 
[2026-07-15 10:16:38] local.INFO: Extracted packet for processing {"connection_id":132435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6417"} 
[2026-07-15 10:16:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10: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-07-15 10:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727138048001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784090684000,"timestamp_ms":1784090684000,"timestamp_seconds":1784090684,"priority":1,"record_length":96,"hex_timestamp":"0000019f64176a60"} 
[2026-07-15 10:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10: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-07-15 10:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727138048001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727138048001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:16:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:16:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727138048001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":132435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:16:38] local.INFO: GPS data processed {"connection_id":132435,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:16:38] local.INFO: Acknowledgment sent {"connection_id":132435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:17:01] local.INFO: TCP Data received {"connection_id":132253,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:17:01] local.INFO: Processing buffer {"connection_id":132253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:17:01] local.INFO: IMEI packet received {"connection_id":132253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":132253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:17:06] local.INFO: TCP Data received {"connection_id":132253,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:17:06] local.INFO: Processing buffer {"connection_id":132253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:17:06] local.INFO: IMEI packet received {"connection_id":132253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":132253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:17:07] local.INFO: TCP Data received {"connection_id":132253,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f64176a60012d7f998005afdce00000011c30..."} 
[2026-07-15 10:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64176a60012d7f998005afdce00000011c30..."} 
[2026-07-15 10:17:07] local.INFO: Processing buffer {"connection_id":132253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64176a60012d7f998005afdce00000011c30..."} 
[2026-07-15 10:17:07] local.INFO: Packet analysis {"connection_id":132253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6417"} 
[2026-07-15 10:17:07] local.INFO: Extracted packet for processing {"connection_id":132253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6417"} 
[2026-07-15 10:17:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727138048001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784090684000,"timestamp_ms":1784090684000,"timestamp_seconds":1784090684,"priority":1,"record_length":96,"hex_timestamp":"0000019f64176a60"} 
[2026-07-15 10:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727138048001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727138048001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:17:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:17:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727138048001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":132253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:17:07] local.INFO: GPS data processed {"connection_id":132253,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:17:07] local.INFO: Acknowledgment sent {"connection_id":132253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:17:38] local.INFO: TCP Data received {"connection_id":132253,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f64176a60012d7f998005afdce00000011c30..."} 
[2026-07-15 10:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64176a60012d7f998005afdce00000011c30..."} 
[2026-07-15 10:17:38] local.INFO: Processing buffer {"connection_id":132253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64176a60012d7f998005afdce00000011c30..."} 
[2026-07-15 10:17:38] local.INFO: Packet analysis {"connection_id":132253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6417"} 
[2026-07-15 10:17:38] local.INFO: Extracted packet for processing {"connection_id":132253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6417"} 
[2026-07-15 10:17:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10: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-07-15 10:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727138048001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784090684000,"timestamp_ms":1784090684000,"timestamp_seconds":1784090684,"priority":1,"record_length":96,"hex_timestamp":"0000019f64176a60"} 
[2026-07-15 10:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10: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-07-15 10:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727138048001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727138048001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:17:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:17:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727138048001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":132253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:17:38] local.INFO: GPS data processed {"connection_id":132253,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:17:38] local.INFO: Acknowledgment sent {"connection_id":132253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:18:06] local.INFO: TCP Data received {"connection_id":134641,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:18:06] local.INFO: Processing buffer {"connection_id":134641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:18:06] local.INFO: IMEI packet received {"connection_id":134641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":134641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:18:11] local.INFO: TCP Data received {"connection_id":134641,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:18:11] local.INFO: Processing buffer {"connection_id":134641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:18:11] local.INFO: IMEI packet received {"connection_id":134641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":134641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:18:12] local.INFO: TCP Data received {"connection_id":134641,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f64176a60012d7f998005afdce00000011c30..."} 
[2026-07-15 10:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64176a60012d7f998005afdce00000011c30..."} 
[2026-07-15 10:18:12] local.INFO: Processing buffer {"connection_id":134641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64176a60012d7f998005afdce00000011c30..."} 
[2026-07-15 10:18:12] local.INFO: Packet analysis {"connection_id":134641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6417"} 
[2026-07-15 10:18:12] local.INFO: Extracted packet for processing {"connection_id":134641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6417"} 
[2026-07-15 10:18:12] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727138048001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784090684000,"timestamp_ms":1784090684000,"timestamp_seconds":1784090684,"priority":1,"record_length":96,"hex_timestamp":"0000019f64176a60"} 
[2026-07-15 10:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":134641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":134641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":134641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:18:12] 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-07-15 10:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727138048001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727138048001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:18:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:18:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727138048001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":134641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:18:12] local.INFO: GPS data processed {"connection_id":134641,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:18:12] local.INFO: Acknowledgment sent {"connection_id":134641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:18:16] local.INFO: TCP Data received {"connection_id":134641,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f64176a60012d7f998005afdce00000011c30..."} 
[2026-07-15 10:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64176a60012d7f998005afdce00000011c30..."} 
[2026-07-15 10:18:16] local.INFO: Processing buffer {"connection_id":134641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64176a60012d7f998005afdce00000011c30..."} 
[2026-07-15 10:18:16] local.INFO: Packet analysis {"connection_id":134641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6417"} 
[2026-07-15 10:18:16] local.INFO: Extracted packet for processing {"connection_id":134641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6417"} 
[2026-07-15 10:18:16] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727138048001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:18:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784090684000,"timestamp_ms":1784090684000,"timestamp_seconds":1784090684,"priority":1,"record_length":96,"hex_timestamp":"0000019f64176a60"} 
[2026-07-15 10:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:18:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:18:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:18:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":134641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":134641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":134641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:18:16] 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-07-15 10:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727138048001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727138048001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:18:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:18:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727138048001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":134641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:18:16] local.INFO: GPS data processed {"connection_id":134641,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:18:16] local.INFO: Acknowledgment sent {"connection_id":134641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:19:01] local.INFO: TCP Data received {"connection_id":133287,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:19:01] local.INFO: Processing buffer {"connection_id":133287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:19:01] local.INFO: IMEI packet received {"connection_id":133287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":133287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:19:06] local.INFO: TCP Data received {"connection_id":133287,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:19:06] local.INFO: Processing buffer {"connection_id":133287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:19:06] local.INFO: IMEI packet received {"connection_id":133287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":133287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:19:07] local.INFO: TCP Data received {"connection_id":133287,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f64176a60012d7f998005afdce00000011c30..."} 
[2026-07-15 10:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64176a60012d7f998005afdce00000011c30..."} 
[2026-07-15 10:19:07] local.INFO: Processing buffer {"connection_id":133287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64176a60012d7f998005afdce00000011c30..."} 
[2026-07-15 10:19:07] local.INFO: Packet analysis {"connection_id":133287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6417"} 
[2026-07-15 10:19:07] local.INFO: Extracted packet for processing {"connection_id":133287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6417"} 
[2026-07-15 10:19:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727138048001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784090684000,"timestamp_ms":1784090684000,"timestamp_seconds":1784090684,"priority":1,"record_length":96,"hex_timestamp":"0000019f64176a60"} 
[2026-07-15 10:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:19:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:19:07] 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-07-15 10:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727138048001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727138048001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:19:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:19:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727138048001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":133287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:19:07] local.INFO: GPS data processed {"connection_id":133287,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:19:07] local.INFO: Acknowledgment sent {"connection_id":133287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:19:10] local.INFO: TCP Data received {"connection_id":133286,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133286,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:19:10] local.INFO: Processing buffer {"connection_id":133286,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:19:10] local.INFO: IMEI packet received {"connection_id":133286,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 10:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":133286,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:19:35] local.INFO: TCP Data received {"connection_id":132254,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132254,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:19:35] local.INFO: Processing buffer {"connection_id":132254,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:19:35] local.INFO: IMEI packet received {"connection_id":132254,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 10:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":132254,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:19:38] local.INFO: TCP Data received {"connection_id":133287,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f64176a60012d7f998005afdce00000011c30..."} 
[2026-07-15 10:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64176a60012d7f998005afdce00000011c30..."} 
[2026-07-15 10:19:38] local.INFO: Processing buffer {"connection_id":133287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64176a60012d7f998005afdce00000011c30..."} 
[2026-07-15 10:19:38] local.INFO: Packet analysis {"connection_id":133287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6417"} 
[2026-07-15 10:19:38] local.INFO: Extracted packet for processing {"connection_id":133287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6417"} 
[2026-07-15 10:19:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727138048001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784090684000,"timestamp_ms":1784090684000,"timestamp_seconds":1784090684,"priority":1,"record_length":96,"hex_timestamp":"0000019f64176a60"} 
[2026-07-15 10:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:19:38] 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-07-15 10:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727138048001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727138048001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:19:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:19:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727138048001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":133287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:19:38] local.INFO: GPS data processed {"connection_id":133287,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:19:38] local.INFO: Acknowledgment sent {"connection_id":133287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:20:01] local.INFO: TCP Data received {"connection_id":132255,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:20:01] local.INFO: Processing buffer {"connection_id":132255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:20:01] local.INFO: IMEI packet received {"connection_id":132255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":132255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:20:06] local.INFO: TCP Data received {"connection_id":132255,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:20:06] local.INFO: Processing buffer {"connection_id":132255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:20:06] local.INFO: IMEI packet received {"connection_id":132255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":132255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:20:07] local.INFO: TCP Data received {"connection_id":132255,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f64176a60012d7f998005afdce00000011c30..."} 
[2026-07-15 10:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64176a60012d7f998005afdce00000011c30..."} 
[2026-07-15 10:20:07] local.INFO: Processing buffer {"connection_id":132255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64176a60012d7f998005afdce00000011c30..."} 
[2026-07-15 10:20:07] local.INFO: Packet analysis {"connection_id":132255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6417"} 
[2026-07-15 10:20:07] local.INFO: Extracted packet for processing {"connection_id":132255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6417"} 
[2026-07-15 10:20:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727138048001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784090684000,"timestamp_ms":1784090684000,"timestamp_seconds":1784090684,"priority":1,"record_length":96,"hex_timestamp":"0000019f64176a60"} 
[2026-07-15 10:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:20:07] 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-07-15 10:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727138048001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727138048001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:20:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:20:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727138048001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":132255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:20:07] local.INFO: GPS data processed {"connection_id":132255,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:20:07] local.INFO: Acknowledgment sent {"connection_id":132255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:20:38] local.INFO: TCP Data received {"connection_id":132255,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f641c0228012d7f998005afdce00000011c2b..."} 
[2026-07-15 10:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f641c0228012d7f998005afdce00000011c2b..."} 
[2026-07-15 10:20:38] local.INFO: Processing buffer {"connection_id":132255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f641c0228012d7f998005afdce00000011c2b..."} 
[2026-07-15 10:20:38] local.INFO: Packet analysis {"connection_id":132255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f641c"} 
[2026-07-15 10:20:38] local.INFO: Extracted packet for processing {"connection_id":132255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f641c"} 
[2026-07-15 10:20:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10: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-07-15 10:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727215104001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784090985000,"timestamp_ms":1784090985000,"timestamp_seconds":1784090985,"priority":1,"record_length":96,"hex_timestamp":"0000019f641c0228"} 
[2026-07-15 10:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10: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-07-15 10:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:20:38] 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-07-15 10:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727215104001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727215104001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:20:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:20:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727215104001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":132255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:20:38] local.INFO: GPS data processed {"connection_id":132255,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:20:38] local.INFO: Acknowledgment sent {"connection_id":132255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:21:01] local.INFO: TCP Data received {"connection_id":133288,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:21:01] local.INFO: Processing buffer {"connection_id":133288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:21:01] local.INFO: IMEI packet received {"connection_id":133288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":133288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:21:06] local.INFO: TCP Data received {"connection_id":133288,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:21:06] local.INFO: Processing buffer {"connection_id":133288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:21:06] local.INFO: IMEI packet received {"connection_id":133288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":133288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:21:07] local.INFO: TCP Data received {"connection_id":133288,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f641c0228012d7f998005afdce00000011c2b..."} 
[2026-07-15 10:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f641c0228012d7f998005afdce00000011c2b..."} 
[2026-07-15 10:21:07] local.INFO: Processing buffer {"connection_id":133288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f641c0228012d7f998005afdce00000011c2b..."} 
[2026-07-15 10:21:07] local.INFO: Packet analysis {"connection_id":133288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f641c"} 
[2026-07-15 10:21:07] local.INFO: Extracted packet for processing {"connection_id":133288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f641c"} 
[2026-07-15 10:21:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727215104001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784090985000,"timestamp_ms":1784090985000,"timestamp_seconds":1784090985,"priority":1,"record_length":96,"hex_timestamp":"0000019f641c0228"} 
[2026-07-15 10:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:21:07] 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-07-15 10:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727215104001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727215104001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:21:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:21:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727215104001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":133288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:21:07] local.INFO: GPS data processed {"connection_id":133288,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:21:07] local.INFO: Acknowledgment sent {"connection_id":133288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:21:38] local.INFO: TCP Data received {"connection_id":133288,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f641c0228012d7f998005afdce00000011c2b..."} 
[2026-07-15 10:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f641c0228012d7f998005afdce00000011c2b..."} 
[2026-07-15 10:21:38] local.INFO: Processing buffer {"connection_id":133288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f641c0228012d7f998005afdce00000011c2b..."} 
[2026-07-15 10:21:38] local.INFO: Packet analysis {"connection_id":133288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f641c"} 
[2026-07-15 10:21:38] local.INFO: Extracted packet for processing {"connection_id":133288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f641c"} 
[2026-07-15 10:21:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727215104001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784090985000,"timestamp_ms":1784090985000,"timestamp_seconds":1784090985,"priority":1,"record_length":96,"hex_timestamp":"0000019f641c0228"} 
[2026-07-15 10:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:21:38] 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-07-15 10:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727215104001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727215104001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:21:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:21:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727215104001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":133288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:21:38] local.INFO: GPS data processed {"connection_id":133288,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:21:38] local.INFO: Acknowledgment sent {"connection_id":133288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:22:06] local.INFO: TCP Data received {"connection_id":132438,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:22:06] local.INFO: Processing buffer {"connection_id":132438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:22:06] local.INFO: IMEI packet received {"connection_id":132438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":132438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:22:11] local.INFO: TCP Data received {"connection_id":132438,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:22:11] local.INFO: Processing buffer {"connection_id":132438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:22:11] local.INFO: IMEI packet received {"connection_id":132438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":132438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:22:12] local.INFO: TCP Data received {"connection_id":132438,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f641c0228012d7f998005afdce00000011c2b..."} 
[2026-07-15 10:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f641c0228012d7f998005afdce00000011c2b..."} 
[2026-07-15 10:22:12] local.INFO: Processing buffer {"connection_id":132438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f641c0228012d7f998005afdce00000011c2b..."} 
[2026-07-15 10:22:12] local.INFO: Packet analysis {"connection_id":132438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f641c"} 
[2026-07-15 10:22:12] local.INFO: Extracted packet for processing {"connection_id":132438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f641c"} 
[2026-07-15 10:22:12] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727215104001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784090985000,"timestamp_ms":1784090985000,"timestamp_seconds":1784090985,"priority":1,"record_length":96,"hex_timestamp":"0000019f641c0228"} 
[2026-07-15 10:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:22:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:22:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:22:12] 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-07-15 10:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727215104001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727215104001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:22:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:22:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727215104001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":132438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:22:12] local.INFO: GPS data processed {"connection_id":132438,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:22:12] local.INFO: Acknowledgment sent {"connection_id":132438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:22:16] local.INFO: TCP Data received {"connection_id":132438,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f641c0228012d7f998005afdce00000011c2b..."} 
[2026-07-15 10:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f641c0228012d7f998005afdce00000011c2b..."} 
[2026-07-15 10:22:16] local.INFO: Processing buffer {"connection_id":132438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f641c0228012d7f998005afdce00000011c2b..."} 
[2026-07-15 10:22:16] local.INFO: Packet analysis {"connection_id":132438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f641c"} 
[2026-07-15 10:22:16] local.INFO: Extracted packet for processing {"connection_id":132438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f641c"} 
[2026-07-15 10:22:16] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727215104001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:22:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:22:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784090985000,"timestamp_ms":1784090985000,"timestamp_seconds":1784090985,"priority":1,"record_length":96,"hex_timestamp":"0000019f641c0228"} 
[2026-07-15 10:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:22:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:22:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:22:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:22:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727215104001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727215104001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:22:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:22:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:22:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727215104001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":132438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:22:16] local.INFO: GPS data processed {"connection_id":132438,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:22:16] local.INFO: Acknowledgment sent {"connection_id":132438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:23:01] local.INFO: TCP Data received {"connection_id":133289,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:23:01] local.INFO: Processing buffer {"connection_id":133289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:23:01] local.INFO: IMEI packet received {"connection_id":133289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":133289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:23:07] local.INFO: TCP Data received {"connection_id":133289,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:23:07] local.INFO: Processing buffer {"connection_id":133289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:23:07] local.INFO: IMEI packet received {"connection_id":133289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":133289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:23:09] local.INFO: TCP Data received {"connection_id":133289,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f641c0228012d7f998005afdce00000011c2b..."} 
[2026-07-15 10:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f641c0228012d7f998005afdce00000011c2b..."} 
[2026-07-15 10:23:09] local.INFO: Processing buffer {"connection_id":133289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f641c0228012d7f998005afdce00000011c2b..."} 
[2026-07-15 10:23:09] local.INFO: Packet analysis {"connection_id":133289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f641c"} 
[2026-07-15 10:23:09] local.INFO: Extracted packet for processing {"connection_id":133289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f641c"} 
[2026-07-15 10:23:09] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727215104001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784090985000,"timestamp_ms":1784090985000,"timestamp_seconds":1784090985,"priority":1,"record_length":96,"hex_timestamp":"0000019f641c0228"} 
[2026-07-15 10:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:23:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":133289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":133289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":133289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727215104001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727215104001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:23:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:23:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727215104001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":133289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:23:09] local.INFO: GPS data processed {"connection_id":133289,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:23:09] local.INFO: Acknowledgment sent {"connection_id":133289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:23:40] local.INFO: TCP Data received {"connection_id":133289,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f641c0228012d7f998005afdce00000011c2b..."} 
[2026-07-15 10:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f641c0228012d7f998005afdce00000011c2b..."} 
[2026-07-15 10:23:40] local.INFO: Processing buffer {"connection_id":133289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f641c0228012d7f998005afdce00000011c2b..."} 
[2026-07-15 10:23:40] local.INFO: Packet analysis {"connection_id":133289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f641c"} 
[2026-07-15 10:23:40] local.INFO: Extracted packet for processing {"connection_id":133289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f641c"} 
[2026-07-15 10:23:40] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10: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-07-15 10:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727215104001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:23:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:23:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784090985000,"timestamp_ms":1784090985000,"timestamp_seconds":1784090985,"priority":1,"record_length":96,"hex_timestamp":"0000019f641c0228"} 
[2026-07-15 10:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:23:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:23:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10: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-07-15 10:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":133289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":133289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":133289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:23:40] 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-07-15 10:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727215104001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727215104001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:23:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:23:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:23:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727215104001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":133289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:23:40] local.INFO: GPS data processed {"connection_id":133289,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:23:40] local.INFO: Acknowledgment sent {"connection_id":133289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:24:01] local.INFO: TCP Data received {"connection_id":132257,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:24:01] local.INFO: Processing buffer {"connection_id":132257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:24:01] local.INFO: IMEI packet received {"connection_id":132257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":132257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:24:06] local.INFO: TCP Data received {"connection_id":132257,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:24:06] local.INFO: Processing buffer {"connection_id":132257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:24:06] local.INFO: IMEI packet received {"connection_id":132257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":132257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:24:07] local.INFO: TCP Data received {"connection_id":132257,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f641c0228012d7f998005afdce00000011c2b..."} 
[2026-07-15 10:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f641c0228012d7f998005afdce00000011c2b..."} 
[2026-07-15 10:24:07] local.INFO: Processing buffer {"connection_id":132257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f641c0228012d7f998005afdce00000011c2b..."} 
[2026-07-15 10:24:07] local.INFO: Packet analysis {"connection_id":132257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f641c"} 
[2026-07-15 10:24:07] local.INFO: Extracted packet for processing {"connection_id":132257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f641c"} 
[2026-07-15 10:24:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10: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-07-15 10:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727215104001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784090985000,"timestamp_ms":1784090985000,"timestamp_seconds":1784090985,"priority":1,"record_length":96,"hex_timestamp":"0000019f641c0228"} 
[2026-07-15 10:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10: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-07-15 10:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727215104001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727215104001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:24:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:24:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727215104001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":132257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:24:07] local.INFO: GPS data processed {"connection_id":132257,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:24:07] local.INFO: Acknowledgment sent {"connection_id":132257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:24:38] local.INFO: TCP Data received {"connection_id":132257,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f641c0228012d7f998005afdce00000011c2b..."} 
[2026-07-15 10:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f641c0228012d7f998005afdce00000011c2b..."} 
[2026-07-15 10:24:38] local.INFO: Processing buffer {"connection_id":132257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f641c0228012d7f998005afdce00000011c2b..."} 
[2026-07-15 10:24:38] local.INFO: Packet analysis {"connection_id":132257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f641c"} 
[2026-07-15 10:24:38] local.INFO: Extracted packet for processing {"connection_id":132257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f641c"} 
[2026-07-15 10:24:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727215104001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784090985000,"timestamp_ms":1784090985000,"timestamp_seconds":1784090985,"priority":1,"record_length":96,"hex_timestamp":"0000019f641c0228"} 
[2026-07-15 10:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:24:38] 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-07-15 10:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727215104001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727215104001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:24:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:24:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727215104001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":132257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:24:38] local.INFO: GPS data processed {"connection_id":132257,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:24:38] local.INFO: Acknowledgment sent {"connection_id":132257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:25:01] local.INFO: TCP Data received {"connection_id":134643,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:25:01] local.INFO: Processing buffer {"connection_id":134643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:25:01] local.INFO: IMEI packet received {"connection_id":134643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":134643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:25:06] local.INFO: TCP Data received {"connection_id":134643,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:25:06] local.INFO: Processing buffer {"connection_id":134643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:25:06] local.INFO: IMEI packet received {"connection_id":134643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":134643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:25:07] local.INFO: TCP Data received {"connection_id":134643,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f641c0228012d7f998005afdce00000011c2b..."} 
[2026-07-15 10:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f641c0228012d7f998005afdce00000011c2b..."} 
[2026-07-15 10:25:07] local.INFO: Processing buffer {"connection_id":134643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f641c0228012d7f998005afdce00000011c2b..."} 
[2026-07-15 10:25:07] local.INFO: Packet analysis {"connection_id":134643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f641c"} 
[2026-07-15 10:25:07] local.INFO: Extracted packet for processing {"connection_id":134643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f641c"} 
[2026-07-15 10:25:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727215104001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784090985000,"timestamp_ms":1784090985000,"timestamp_seconds":1784090985,"priority":1,"record_length":96,"hex_timestamp":"0000019f641c0228"} 
[2026-07-15 10:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:25:07] 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-07-15 10:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727215104001,"66":25756,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727215104001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:25:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:25:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727215104001,"power":25756,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":134643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:25:07] local.INFO: GPS data processed {"connection_id":134643,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:25:07] local.INFO: Acknowledgment sent {"connection_id":134643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:25:10] local.INFO: TCP Data received {"connection_id":132258,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132258,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:25:10] local.INFO: Processing buffer {"connection_id":132258,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:25:10] local.INFO: IMEI packet received {"connection_id":132258,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 10:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":132258,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:25:35] local.INFO: TCP Data received {"connection_id":133290,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133290,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:25:35] local.INFO: Processing buffer {"connection_id":133290,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:25:35] local.INFO: IMEI packet received {"connection_id":133290,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 10:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":133290,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:25:38] local.INFO: TCP Data received {"connection_id":134643,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f642099f0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f642099f0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:25:38] local.INFO: Processing buffer {"connection_id":134643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f642099f0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:25:38] local.INFO: Packet analysis {"connection_id":134643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6420"} 
[2026-07-15 10:25:38] local.INFO: Extracted packet for processing {"connection_id":134643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6420"} 
[2026-07-15 10:25:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727292160001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784091286000,"timestamp_ms":1784091286000,"timestamp_seconds":1784091286,"priority":1,"record_length":96,"hex_timestamp":"0000019f642099f0"} 
[2026-07-15 10:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:25:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727292160001,"66":25734,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727292160001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:25:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:25:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727292160001,"power":25734,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":134643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:25:38] local.INFO: GPS data processed {"connection_id":134643,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:25:38] local.INFO: Acknowledgment sent {"connection_id":134643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:26:01] local.INFO: TCP Data received {"connection_id":132259,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:26:01] local.INFO: Processing buffer {"connection_id":132259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:26:01] local.INFO: IMEI packet received {"connection_id":132259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":132259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:26:06] local.INFO: TCP Data received {"connection_id":132259,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:26:06] local.INFO: Processing buffer {"connection_id":132259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:26:06] local.INFO: IMEI packet received {"connection_id":132259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":132259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:26:07] local.INFO: TCP Data received {"connection_id":132259,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f642099f0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f642099f0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:26:07] local.INFO: Processing buffer {"connection_id":132259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f642099f0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:26:07] local.INFO: Packet analysis {"connection_id":132259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6420"} 
[2026-07-15 10:26:07] local.INFO: Extracted packet for processing {"connection_id":132259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6420"} 
[2026-07-15 10:26:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727292160001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784091286000,"timestamp_ms":1784091286000,"timestamp_seconds":1784091286,"priority":1,"record_length":96,"hex_timestamp":"0000019f642099f0"} 
[2026-07-15 10:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727292160001,"66":25734,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727292160001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:26:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:26:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727292160001,"power":25734,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":132259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:26:07] local.INFO: GPS data processed {"connection_id":132259,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:26:07] local.INFO: Acknowledgment sent {"connection_id":132259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:26:38] local.INFO: TCP Data received {"connection_id":132259,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f642099f0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f642099f0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:26:38] local.INFO: Processing buffer {"connection_id":132259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f642099f0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:26:38] local.INFO: Packet analysis {"connection_id":132259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6420"} 
[2026-07-15 10:26:38] local.INFO: Extracted packet for processing {"connection_id":132259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6420"} 
[2026-07-15 10:26:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727292160001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784091286000,"timestamp_ms":1784091286000,"timestamp_seconds":1784091286,"priority":1,"record_length":96,"hex_timestamp":"0000019f642099f0"} 
[2026-07-15 10:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:26:38] 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-07-15 10:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727292160001,"66":25734,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727292160001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:26:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:26:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727292160001,"power":25734,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":132259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:26:38] local.INFO: GPS data processed {"connection_id":132259,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:26:38] local.INFO: Acknowledgment sent {"connection_id":132259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:27:01] local.INFO: TCP Data received {"connection_id":133292,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:27:01] local.INFO: Processing buffer {"connection_id":133292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:27:01] local.INFO: IMEI packet received {"connection_id":133292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":133292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:27:06] local.INFO: TCP Data received {"connection_id":133292,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:27:06] local.INFO: Processing buffer {"connection_id":133292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:27:06] local.INFO: IMEI packet received {"connection_id":133292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":133292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:27:07] local.INFO: TCP Data received {"connection_id":133292,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f642099f0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f642099f0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:27:07] local.INFO: Processing buffer {"connection_id":133292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f642099f0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:27:07] local.INFO: Packet analysis {"connection_id":133292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6420"} 
[2026-07-15 10:27:07] local.INFO: Extracted packet for processing {"connection_id":133292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6420"} 
[2026-07-15 10:27:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727292160001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784091286000,"timestamp_ms":1784091286000,"timestamp_seconds":1784091286,"priority":1,"record_length":96,"hex_timestamp":"0000019f642099f0"} 
[2026-07-15 10:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:27:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:27:07] 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-07-15 10:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727292160001,"66":25734,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727292160001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:27:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:27:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727292160001,"power":25734,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":133292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:27:07] local.INFO: GPS data processed {"connection_id":133292,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:27:07] local.INFO: Acknowledgment sent {"connection_id":133292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:27:38] local.INFO: TCP Data received {"connection_id":133292,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f642099f0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f642099f0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:27:38] local.INFO: Processing buffer {"connection_id":133292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f642099f0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:27:38] local.INFO: Packet analysis {"connection_id":133292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6420"} 
[2026-07-15 10:27:38] local.INFO: Extracted packet for processing {"connection_id":133292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6420"} 
[2026-07-15 10:27:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727292160001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784091286000,"timestamp_ms":1784091286000,"timestamp_seconds":1784091286,"priority":1,"record_length":96,"hex_timestamp":"0000019f642099f0"} 
[2026-07-15 10:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:27:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:27:38] 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-07-15 10:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727292160001,"66":25734,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727292160001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:27:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:27:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727292160001,"power":25734,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":133292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:27:38] local.INFO: GPS data processed {"connection_id":133292,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:27:38] local.INFO: Acknowledgment sent {"connection_id":133292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:28:01] local.INFO: TCP Data received {"connection_id":133293,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:28:01] local.INFO: Processing buffer {"connection_id":133293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:28:01] local.INFO: IMEI packet received {"connection_id":133293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":133293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:28:06] local.INFO: TCP Data received {"connection_id":133293,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:28:06] local.INFO: Processing buffer {"connection_id":133293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:28:06] local.INFO: IMEI packet received {"connection_id":133293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":133293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:28:07] local.INFO: TCP Data received {"connection_id":133293,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f642099f0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f642099f0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:28:07] local.INFO: Processing buffer {"connection_id":133293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f642099f0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:28:07] local.INFO: Packet analysis {"connection_id":133293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6420"} 
[2026-07-15 10:28:07] local.INFO: Extracted packet for processing {"connection_id":133293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6420"} 
[2026-07-15 10:28:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727292160001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784091286000,"timestamp_ms":1784091286000,"timestamp_seconds":1784091286,"priority":1,"record_length":96,"hex_timestamp":"0000019f642099f0"} 
[2026-07-15 10:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727292160001,"66":25734,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727292160001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:28:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:28:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727292160001,"power":25734,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":133293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:28:07] local.INFO: GPS data processed {"connection_id":133293,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:28:07] local.INFO: Acknowledgment sent {"connection_id":133293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:28:38] local.INFO: TCP Data received {"connection_id":133293,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f642099f0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f642099f0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:28:38] local.INFO: Processing buffer {"connection_id":133293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f642099f0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:28:38] local.INFO: Packet analysis {"connection_id":133293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6420"} 
[2026-07-15 10:28:38] local.INFO: Extracted packet for processing {"connection_id":133293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6420"} 
[2026-07-15 10:28:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10: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-07-15 10:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727292160001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784091286000,"timestamp_ms":1784091286000,"timestamp_seconds":1784091286,"priority":1,"record_length":96,"hex_timestamp":"0000019f642099f0"} 
[2026-07-15 10:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10: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-07-15 10:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727292160001,"66":25734,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727292160001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:28:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:28:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727292160001,"power":25734,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":133293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:28:38] local.INFO: GPS data processed {"connection_id":133293,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:28:38] local.INFO: Acknowledgment sent {"connection_id":133293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:29:01] local.INFO: TCP Data received {"connection_id":134645,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:29:01] local.INFO: Processing buffer {"connection_id":134645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:29:01] local.INFO: IMEI packet received {"connection_id":134645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":134645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:29:06] local.INFO: TCP Data received {"connection_id":134645,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:29:06] local.INFO: Processing buffer {"connection_id":134645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:29:06] local.INFO: IMEI packet received {"connection_id":134645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":134645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:29:07] local.INFO: TCP Data received {"connection_id":134645,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f642099f0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f642099f0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:29:07] local.INFO: Processing buffer {"connection_id":134645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f642099f0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:29:07] local.INFO: Packet analysis {"connection_id":134645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6420"} 
[2026-07-15 10:29:07] local.INFO: Extracted packet for processing {"connection_id":134645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6420"} 
[2026-07-15 10:29:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727292160001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784091286000,"timestamp_ms":1784091286000,"timestamp_seconds":1784091286,"priority":1,"record_length":96,"hex_timestamp":"0000019f642099f0"} 
[2026-07-15 10:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:29:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727292160001,"66":25734,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727292160001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:29:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:29:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727292160001,"power":25734,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":134645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:29:07] local.INFO: GPS data processed {"connection_id":134645,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:29:07] local.INFO: Acknowledgment sent {"connection_id":134645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:29:38] local.INFO: TCP Data received {"connection_id":134645,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f642099f0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f642099f0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:29:38] local.INFO: Processing buffer {"connection_id":134645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f642099f0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:29:38] local.INFO: Packet analysis {"connection_id":134645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6420"} 
[2026-07-15 10:29:38] local.INFO: Extracted packet for processing {"connection_id":134645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6420"} 
[2026-07-15 10:29:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727292160001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784091286000,"timestamp_ms":1784091286000,"timestamp_seconds":1784091286,"priority":1,"record_length":96,"hex_timestamp":"0000019f642099f0"} 
[2026-07-15 10:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727292160001,"66":25734,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727292160001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:29:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:29:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727292160001,"power":25734,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":134645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:29:38] local.INFO: GPS data processed {"connection_id":134645,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:29:38] local.INFO: Acknowledgment sent {"connection_id":134645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:30:06] local.INFO: TCP Data received {"connection_id":132440,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:30:06] local.INFO: Processing buffer {"connection_id":132440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:30:06] local.INFO: IMEI packet received {"connection_id":132440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":132440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:30:11] local.INFO: TCP Data received {"connection_id":132440,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:30:11] local.INFO: Processing buffer {"connection_id":132440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:30:11] local.INFO: IMEI packet received {"connection_id":132440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":132440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:30:12] local.INFO: TCP Data received {"connection_id":132440,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f642099f0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f642099f0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:30:12] local.INFO: Processing buffer {"connection_id":132440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f642099f0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:30:12] local.INFO: Packet analysis {"connection_id":132440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6420"} 
[2026-07-15 10:30:12] local.INFO: Extracted packet for processing {"connection_id":132440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6420"} 
[2026-07-15 10:30:12] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727292160001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784091286000,"timestamp_ms":1784091286000,"timestamp_seconds":1784091286,"priority":1,"record_length":96,"hex_timestamp":"0000019f642099f0"} 
[2026-07-15 10:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:30:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:30:12] 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-07-15 10:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727292160001,"66":25734,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727292160001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:30:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:30:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727292160001,"power":25734,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":132440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:30:12] local.INFO: GPS data processed {"connection_id":132440,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:30:12] local.INFO: Acknowledgment sent {"connection_id":132440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:30:16] local.INFO: TCP Data received {"connection_id":132440,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f642099f0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f642099f0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:30:16] local.INFO: Processing buffer {"connection_id":132440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f642099f0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:30:16] local.INFO: Packet analysis {"connection_id":132440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6420"} 
[2026-07-15 10:30:16] local.INFO: Extracted packet for processing {"connection_id":132440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6420"} 
[2026-07-15 10:30:16] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727292160001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:30:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784091286000,"timestamp_ms":1784091286000,"timestamp_seconds":1784091286,"priority":1,"record_length":96,"hex_timestamp":"0000019f642099f0"} 
[2026-07-15 10:30:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:30:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 10:30:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:30:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:30:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:30:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727292160001,"66":25734,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727292160001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:30:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:30:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727292160001,"power":25734,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":132440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:30:16] local.INFO: GPS data processed {"connection_id":132440,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:30:16] local.INFO: Acknowledgment sent {"connection_id":132440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:31:00] local.INFO: TCP Data received {"connection_id":132261,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132261,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:31:00] local.INFO: Processing buffer {"connection_id":132261,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:31:00] local.INFO: IMEI packet received {"connection_id":132261,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 10:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":132261,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:31:01] local.INFO: TCP Data received {"connection_id":133294,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:31:01] local.INFO: Processing buffer {"connection_id":133294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:31:01] local.INFO: IMEI packet received {"connection_id":133294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":133294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:31:06] local.INFO: TCP Data received {"connection_id":133294,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:31:06] local.INFO: Processing buffer {"connection_id":133294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:31:06] local.INFO: IMEI packet received {"connection_id":133294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":133294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:31:07] local.INFO: TCP Data received {"connection_id":133294,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f642531b8012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f642531b8012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:31:07] local.INFO: Processing buffer {"connection_id":133294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f642531b8012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:31:07] local.INFO: Packet analysis {"connection_id":133294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6425"} 
[2026-07-15 10:31:07] local.INFO: Extracted packet for processing {"connection_id":133294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6425"} 
[2026-07-15 10:31:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727369216001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784091587000,"timestamp_ms":1784091587000,"timestamp_seconds":1784091587,"priority":1,"record_length":96,"hex_timestamp":"0000019f642531b8"} 
[2026-07-15 10:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-15 10:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:31:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727369216001,"66":25734,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727369216001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:31:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:31:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727369216001,"power":25734,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":133294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:31:07] local.INFO: GPS data processed {"connection_id":133294,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:31:07] local.INFO: Acknowledgment sent {"connection_id":133294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:31:12] local.INFO: TCP Data received {"connection_id":133294,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f642531b8012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f642531b8012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:31:12] local.INFO: Processing buffer {"connection_id":133294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f642531b8012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:31:12] local.INFO: Packet analysis {"connection_id":133294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6425"} 
[2026-07-15 10:31:12] local.INFO: Extracted packet for processing {"connection_id":133294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6425"} 
[2026-07-15 10:31:12] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727369216001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784091587000,"timestamp_ms":1784091587000,"timestamp_seconds":1784091587,"priority":1,"record_length":96,"hex_timestamp":"0000019f642531b8"} 
[2026-07-15 10:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-15 10:31:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:31:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":133294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":133294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":133294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:31:12] 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-07-15 10:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727369216001,"66":25734,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727369216001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:31:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:31:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727369216001,"power":25734,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":133294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:31:12] local.INFO: GPS data processed {"connection_id":133294,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:31:12] local.INFO: Acknowledgment sent {"connection_id":133294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:31:39] local.INFO: TCP Data received {"connection_id":132262,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132262,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:31:39] local.INFO: Processing buffer {"connection_id":132262,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:31:39] local.INFO: IMEI packet received {"connection_id":132262,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 10:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":132262,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:31:45] local.INFO: TCP Data received {"connection_id":133294,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f642531b8012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f642531b8012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:31:45] local.INFO: Processing buffer {"connection_id":133294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f642531b8012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:31:45] local.INFO: Packet analysis {"connection_id":133294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6425"} 
[2026-07-15 10:31:45] local.INFO: Extracted packet for processing {"connection_id":133294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6425"} 
[2026-07-15 10:31:45] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727369216001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:31:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:31:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784091587000,"timestamp_ms":1784091587000,"timestamp_seconds":1784091587,"priority":1,"record_length":96,"hex_timestamp":"0000019f642531b8"} 
[2026-07-15 10:31:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:31:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-15 10:31:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:31:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:31:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":133294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":133294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":133294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:31:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:31:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727369216001,"66":25734,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:31:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:31:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:31:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727369216001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:31:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:31:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:31:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:31:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:31:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727369216001,"power":25734,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":133294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:31:45] local.INFO: GPS data processed {"connection_id":133294,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:31:45] local.INFO: Acknowledgment sent {"connection_id":133294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:32:01] local.INFO: TCP Data received {"connection_id":134646,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:32:01] local.INFO: Processing buffer {"connection_id":134646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:32:01] local.INFO: IMEI packet received {"connection_id":134646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":134646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:32:06] local.INFO: TCP Data received {"connection_id":134646,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:32:06] local.INFO: Processing buffer {"connection_id":134646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:32:06] local.INFO: IMEI packet received {"connection_id":134646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":134646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:32:07] local.INFO: TCP Data received {"connection_id":134646,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f642531b8012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f642531b8012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:32:07] local.INFO: Processing buffer {"connection_id":134646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f642531b8012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:32:07] local.INFO: Packet analysis {"connection_id":134646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6425"} 
[2026-07-15 10:32:07] local.INFO: Extracted packet for processing {"connection_id":134646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6425"} 
[2026-07-15 10:32:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10: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-07-15 10:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727369216001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784091587000,"timestamp_ms":1784091587000,"timestamp_seconds":1784091587,"priority":1,"record_length":96,"hex_timestamp":"0000019f642531b8"} 
[2026-07-15 10:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-15 10:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10: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-07-15 10:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:32:07] 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-07-15 10:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727369216001,"66":25734,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727369216001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:32:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:32:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727369216001,"power":25734,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":134646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:32:07] local.INFO: GPS data processed {"connection_id":134646,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:32:07] local.INFO: Acknowledgment sent {"connection_id":134646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:32:38] local.INFO: TCP Data received {"connection_id":134646,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f642531b8012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f642531b8012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:32:38] local.INFO: Processing buffer {"connection_id":134646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f642531b8012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:32:38] local.INFO: Packet analysis {"connection_id":134646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6425"} 
[2026-07-15 10:32:38] local.INFO: Extracted packet for processing {"connection_id":134646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6425"} 
[2026-07-15 10:32:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10: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-07-15 10:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727369216001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784091587000,"timestamp_ms":1784091587000,"timestamp_seconds":1784091587,"priority":1,"record_length":96,"hex_timestamp":"0000019f642531b8"} 
[2026-07-15 10:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-15 10:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10: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-07-15 10:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727369216001,"66":25734,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727369216001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:32:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:32:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727369216001,"power":25734,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":134646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:32:38] local.INFO: GPS data processed {"connection_id":134646,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:32:38] local.INFO: Acknowledgment sent {"connection_id":134646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:33:01] local.INFO: TCP Data received {"connection_id":132442,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:33:01] local.INFO: Processing buffer {"connection_id":132442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:33:01] local.INFO: IMEI packet received {"connection_id":132442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":132442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:33:06] local.INFO: TCP Data received {"connection_id":132442,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:33:06] local.INFO: Processing buffer {"connection_id":132442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:33:06] local.INFO: IMEI packet received {"connection_id":132442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":132442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:33:07] local.INFO: TCP Data received {"connection_id":132442,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f642531b8012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f642531b8012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:33:07] local.INFO: Processing buffer {"connection_id":132442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f642531b8012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:33:07] local.INFO: Packet analysis {"connection_id":132442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6425"} 
[2026-07-15 10:33:07] local.INFO: Extracted packet for processing {"connection_id":132442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6425"} 
[2026-07-15 10:33:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727369216001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784091587000,"timestamp_ms":1784091587000,"timestamp_seconds":1784091587,"priority":1,"record_length":96,"hex_timestamp":"0000019f642531b8"} 
[2026-07-15 10:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-15 10:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:33:07] 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-07-15 10:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727369216001,"66":25734,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727369216001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:33:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:33:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727369216001,"power":25734,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":132442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:33:07] local.INFO: GPS data processed {"connection_id":132442,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:33:07] local.INFO: Acknowledgment sent {"connection_id":132442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:33:38] local.INFO: TCP Data received {"connection_id":132442,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f642531b8012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f642531b8012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:33:38] local.INFO: Processing buffer {"connection_id":132442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f642531b8012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:33:38] local.INFO: Packet analysis {"connection_id":132442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6425"} 
[2026-07-15 10:33:38] local.INFO: Extracted packet for processing {"connection_id":132442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6425"} 
[2026-07-15 10:33:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10: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-07-15 10:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727369216001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784091587000,"timestamp_ms":1784091587000,"timestamp_seconds":1784091587,"priority":1,"record_length":96,"hex_timestamp":"0000019f642531b8"} 
[2026-07-15 10:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-15 10:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10: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-07-15 10:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727369216001,"66":25734,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727369216001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:33:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:33:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727369216001,"power":25734,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":132442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:33:38] local.INFO: GPS data processed {"connection_id":132442,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:33:38] local.INFO: Acknowledgment sent {"connection_id":132442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:34:01] local.INFO: TCP Data received {"connection_id":132264,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:34:01] local.INFO: Processing buffer {"connection_id":132264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:34:01] local.INFO: IMEI packet received {"connection_id":132264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":132264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:34:07] local.INFO: TCP Data received {"connection_id":132264,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:34:07] local.INFO: Processing buffer {"connection_id":132264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:34:07] local.INFO: IMEI packet received {"connection_id":132264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":132264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:34:08] local.INFO: TCP Data received {"connection_id":132264,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f642531b8012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f642531b8012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:34:08] local.INFO: Processing buffer {"connection_id":132264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f642531b8012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:34:08] local.INFO: Packet analysis {"connection_id":132264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6425"} 
[2026-07-15 10:34:08] local.INFO: Extracted packet for processing {"connection_id":132264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6425"} 
[2026-07-15 10:34:08] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727369216001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784091587000,"timestamp_ms":1784091587000,"timestamp_seconds":1784091587,"priority":1,"record_length":96,"hex_timestamp":"0000019f642531b8"} 
[2026-07-15 10:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-15 10:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727369216001,"66":25734,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727369216001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:34:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:34:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727369216001,"power":25734,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":132264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:34:08] local.INFO: GPS data processed {"connection_id":132264,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:34:08] local.INFO: Acknowledgment sent {"connection_id":132264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:34:38] local.INFO: TCP Data received {"connection_id":132264,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f642531b8012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f642531b8012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:34:38] local.INFO: Processing buffer {"connection_id":132264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f642531b8012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:34:38] local.INFO: Packet analysis {"connection_id":132264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6425"} 
[2026-07-15 10:34:38] local.INFO: Extracted packet for processing {"connection_id":132264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6425"} 
[2026-07-15 10:34:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10: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-07-15 10:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727369216001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784091587000,"timestamp_ms":1784091587000,"timestamp_seconds":1784091587,"priority":1,"record_length":96,"hex_timestamp":"0000019f642531b8"} 
[2026-07-15 10:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-15 10:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10: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-07-15 10:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727369216001,"66":25734,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727369216001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:34:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:34:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727369216001,"power":25734,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":132264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:34:38] local.INFO: GPS data processed {"connection_id":132264,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:34:38] local.INFO: Acknowledgment sent {"connection_id":132264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:35:00] local.INFO: TCP Data received {"connection_id":134647,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134647,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:35:00] local.INFO: Processing buffer {"connection_id":134647,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:35:00] local.INFO: IMEI packet received {"connection_id":134647,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 10:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":134647,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:35:06] local.INFO: TCP Data received {"connection_id":134647,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134647,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:35:06] local.INFO: Processing buffer {"connection_id":134647,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 10:35:06] local.INFO: IMEI packet received {"connection_id":134647,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 10:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":134647,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:35:06] local.INFO: TCP Data received {"connection_id":133296,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:35:06] local.INFO: Processing buffer {"connection_id":133296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:35:06] local.INFO: IMEI packet received {"connection_id":133296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":133296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:35:07] local.INFO: TCP Data received {"connection_id":134647,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f64165cd8012d7c828005d9b668000400bb25..."} 
[2026-07-15 10:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64165cd8012d7c828005d9b668000400bb25..."} 
[2026-07-15 10:35:07] local.INFO: Processing buffer {"connection_id":134647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64165cd8012d7c828005d9b668000400bb25..."} 
[2026-07-15 10:35:07] local.INFO: Packet analysis {"connection_id":134647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6416"} 
[2026-07-15 10:35:07] local.INFO: Extracted packet for processing {"connection_id":134647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6416"} 
[2026-07-15 10:35:07] local.INFO: GPS Element Parsed {"raw_longitude":763134592,"raw_latitude":98154088,"longitude_deg":76.3134592,"latitude_deg":9.8154088,"altitude":4,"angle":187,"satellites":37,"speed":0,"hex_longitude":"2d7c8280","hex_latitude":"05d9b668","is_valid_coordinates":true} 
[2026-07-15 10:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727120384001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106372905264218112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971874170291251200,"note":"Value kept but may cause issues"} 
[2026-07-15 10:35:07] 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-07-15 10:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784090615000,"timestamp_ms":1784090615000,"timestamp_seconds":1784090615,"priority":1,"record_length":96,"hex_timestamp":"0000019f64165cd8"} 
[2026-07-15 10:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 10:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 10:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 10:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 10:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727120384001,"66":2253,"245":206,"85":15104,"24":0,"16":106372905264218112,"45":8971874170291251200},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-15 10:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 10:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 10:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727120384001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:35:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 10:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106372905264218112,"km_value":106372905264218.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971874170291251200,"description":"Unknown IO ID 45"} 
[2026-07-15 10:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727120384001,"power":2253,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8971874170291251200}} 
[2026-07-15 10:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":134647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490600,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:35:07] local.INFO: GPS data processed {"connection_id":134647,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:35:07] local.INFO: Acknowledgment sent {"connection_id":134647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:35:11] local.INFO: TCP Data received {"connection_id":133296,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:35:11] local.INFO: Processing buffer {"connection_id":133296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:35:11] local.INFO: IMEI packet received {"connection_id":133296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":133296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:35:12] local.INFO: TCP Data received {"connection_id":133296,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f642531b8012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f642531b8012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:35:12] local.INFO: Processing buffer {"connection_id":133296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f642531b8012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:35:12] local.INFO: Packet analysis {"connection_id":133296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6425"} 
[2026-07-15 10:35:12] local.INFO: Extracted packet for processing {"connection_id":133296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6425"} 
[2026-07-15 10:35:12] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10: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-07-15 10:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727369216001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784091587000,"timestamp_ms":1784091587000,"timestamp_seconds":1784091587,"priority":1,"record_length":96,"hex_timestamp":"0000019f642531b8"} 
[2026-07-15 10:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-15 10:35:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10: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-07-15 10:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":133296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":133296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":133296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727369216001,"66":25734,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727369216001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:35:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:35:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727369216001,"power":25734,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":133296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:35:12] local.INFO: GPS data processed {"connection_id":133296,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:35:12] local.INFO: Acknowledgment sent {"connection_id":133296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:35:16] local.INFO: TCP Data received {"connection_id":133296,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f642531b8012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f642531b8012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:35:16] local.INFO: Processing buffer {"connection_id":133296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f642531b8012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:35:16] local.INFO: Packet analysis {"connection_id":133296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6425"} 
[2026-07-15 10:35:16] local.INFO: Extracted packet for processing {"connection_id":133296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6425"} 
[2026-07-15 10:35:16] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727369216001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:35:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784091587000,"timestamp_ms":1784091587000,"timestamp_seconds":1784091587,"priority":1,"record_length":96,"hex_timestamp":"0000019f642531b8"} 
[2026-07-15 10:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:35:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-15 10:35:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:35:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":133296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":133296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":133296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727369216001,"66":25734,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727369216001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:35:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:35:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727369216001,"power":25734,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":133296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:35:16] local.INFO: GPS data processed {"connection_id":133296,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:35:16] local.INFO: Acknowledgment sent {"connection_id":133296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:36:01] local.INFO: TCP Data received {"connection_id":134648,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:36:01] local.INFO: Processing buffer {"connection_id":134648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:36:01] local.INFO: IMEI packet received {"connection_id":134648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":134648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:36:06] local.INFO: TCP Data received {"connection_id":134648,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:36:06] local.INFO: Processing buffer {"connection_id":134648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:36:06] local.INFO: IMEI packet received {"connection_id":134648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":134648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:36:07] local.INFO: TCP Data received {"connection_id":134648,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f6429c980012d7f998005afdce00000011c29..."} 
[2026-07-15 10:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6429c980012d7f998005afdce00000011c29..."} 
[2026-07-15 10:36:07] local.INFO: Processing buffer {"connection_id":134648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6429c980012d7f998005afdce00000011c29..."} 
[2026-07-15 10:36:07] local.INFO: Packet analysis {"connection_id":134648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6429"} 
[2026-07-15 10:36:07] local.INFO: Extracted packet for processing {"connection_id":134648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6429"} 
[2026-07-15 10:36:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727446272001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784091888000,"timestamp_ms":1784091888000,"timestamp_seconds":1784091888,"priority":1,"record_length":96,"hex_timestamp":"0000019f6429c980"} 
[2026-07-15 10:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-15 10:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:36:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:36:07] 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-07-15 10:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727446272001,"66":25680,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 10:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727446272001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:36:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 10:36:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727446272001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":134648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:36:07] local.INFO: GPS data processed {"connection_id":134648,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:36:07] local.INFO: Acknowledgment sent {"connection_id":134648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:36:39] local.INFO: TCP Data received {"connection_id":134648,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f6429c980012d7f998005afdce00000011c29..."} 
[2026-07-15 10:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6429c980012d7f998005afdce00000011c29..."} 
[2026-07-15 10:36:39] local.INFO: Processing buffer {"connection_id":134648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6429c980012d7f998005afdce00000011c29..."} 
[2026-07-15 10:36:39] local.INFO: Packet analysis {"connection_id":134648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6429"} 
[2026-07-15 10:36:39] local.INFO: Extracted packet for processing {"connection_id":134648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6429"} 
[2026-07-15 10:36:39] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727446272001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784091888000,"timestamp_ms":1784091888000,"timestamp_seconds":1784091888,"priority":1,"record_length":96,"hex_timestamp":"0000019f6429c980"} 
[2026-07-15 10:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:36:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-15 10:36:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:36:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:36:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727446272001,"66":25680,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 10:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727446272001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:36:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 10:36:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727446272001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":134648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:36:39] local.INFO: GPS data processed {"connection_id":134648,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:36:39] local.INFO: Acknowledgment sent {"connection_id":134648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:37:01] local.INFO: TCP Data received {"connection_id":132444,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:37:01] local.INFO: Processing buffer {"connection_id":132444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:37:01] local.INFO: IMEI packet received {"connection_id":132444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":132444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:37:05] local.INFO: TCP Data received {"connection_id":134649,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134649,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:37:05] local.INFO: Processing buffer {"connection_id":134649,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:37:05] local.INFO: IMEI packet received {"connection_id":134649,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 10:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":134649,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:37:06] local.INFO: TCP Data received {"connection_id":132444,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:37:06] local.INFO: Processing buffer {"connection_id":132444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:37:06] local.INFO: IMEI packet received {"connection_id":132444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":132444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:37:07] local.INFO: TCP Data received {"connection_id":132444,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f6429c980012d7f998005afdce00000011c29..."} 
[2026-07-15 10:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6429c980012d7f998005afdce00000011c29..."} 
[2026-07-15 10:37:07] local.INFO: Processing buffer {"connection_id":132444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6429c980012d7f998005afdce00000011c29..."} 
[2026-07-15 10:37:07] local.INFO: Packet analysis {"connection_id":132444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6429"} 
[2026-07-15 10:37:07] local.INFO: Extracted packet for processing {"connection_id":132444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6429"} 
[2026-07-15 10:37:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727446272001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784091888000,"timestamp_ms":1784091888000,"timestamp_seconds":1784091888,"priority":1,"record_length":96,"hex_timestamp":"0000019f6429c980"} 
[2026-07-15 10:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-15 10:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:37:07] 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-07-15 10:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727446272001,"66":25680,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 10:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727446272001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:37:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 10:37:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727446272001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":132444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:37:07] local.INFO: GPS data processed {"connection_id":132444,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:37:07] local.INFO: Acknowledgment sent {"connection_id":132444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:37:35] local.INFO: TCP Data received {"connection_id":134650,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134650,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:37:35] local.INFO: Processing buffer {"connection_id":134650,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:37:35] local.INFO: IMEI packet received {"connection_id":134650,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 10:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":134650,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:37:39] local.INFO: TCP Data received {"connection_id":132444,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f6429c980012d7f998005afdce00000011c29..."} 
[2026-07-15 10:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6429c980012d7f998005afdce00000011c29..."} 
[2026-07-15 10:37:39] local.INFO: Processing buffer {"connection_id":132444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6429c980012d7f998005afdce00000011c29..."} 
[2026-07-15 10:37:39] local.INFO: Packet analysis {"connection_id":132444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6429"} 
[2026-07-15 10:37:39] local.INFO: Extracted packet for processing {"connection_id":132444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6429"} 
[2026-07-15 10:37:39] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727446272001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:37:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784091888000,"timestamp_ms":1784091888000,"timestamp_seconds":1784091888,"priority":1,"record_length":96,"hex_timestamp":"0000019f6429c980"} 
[2026-07-15 10:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:37:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-15 10:37:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:37:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:37:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727446272001,"66":25680,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 10:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727446272001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:37:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 10:37:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727446272001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":132444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:37:39] local.INFO: GPS data processed {"connection_id":132444,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:37:39] local.INFO: Acknowledgment sent {"connection_id":132444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:38:06] local.INFO: TCP Data received {"connection_id":133297,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:38:06] local.INFO: Processing buffer {"connection_id":133297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:38:06] local.INFO: IMEI packet received {"connection_id":133297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":133297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:38:11] local.INFO: TCP Data received {"connection_id":133297,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:38:11] local.INFO: Processing buffer {"connection_id":133297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:38:11] local.INFO: IMEI packet received {"connection_id":133297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":133297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:38:12] local.INFO: TCP Data received {"connection_id":133297,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6429c980012d7f998005afdce00000011c29..."} 
[2026-07-15 10:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6429c980012d7f998005afdce00000011c29..."} 
[2026-07-15 10:38:12] local.INFO: Processing buffer {"connection_id":133297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6429c980012d7f998005afdce00000011c29..."} 
[2026-07-15 10:38:12] local.INFO: Packet analysis {"connection_id":133297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6429"} 
[2026-07-15 10:38:12] local.INFO: Extracted packet for processing {"connection_id":133297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6429"} 
[2026-07-15 10:38:12] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727446272001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784091888000,"timestamp_ms":1784091888000,"timestamp_seconds":1784091888,"priority":1,"record_length":96,"hex_timestamp":"0000019f6429c980"} 
[2026-07-15 10:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-15 10:38:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:38:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":133297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":133297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":133297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:38:12] 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-07-15 10:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727446272001,"66":25680,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 10:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727446272001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:38:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 10:38:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727446272001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":133297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:38:12] local.INFO: GPS data processed {"connection_id":133297,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:38:12] local.INFO: Acknowledgment sent {"connection_id":133297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:38:17] local.INFO: TCP Data received {"connection_id":133297,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6429c980012d7f998005afdce00000011c29..."} 
[2026-07-15 10:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6429c980012d7f998005afdce00000011c29..."} 
[2026-07-15 10:38:17] local.INFO: Processing buffer {"connection_id":133297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6429c980012d7f998005afdce00000011c29..."} 
[2026-07-15 10:38:17] local.INFO: Packet analysis {"connection_id":133297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6429"} 
[2026-07-15 10:38:17] local.INFO: Extracted packet for processing {"connection_id":133297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6429"} 
[2026-07-15 10:38:17] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727446272001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784091888000,"timestamp_ms":1784091888000,"timestamp_seconds":1784091888,"priority":1,"record_length":96,"hex_timestamp":"0000019f6429c980"} 
[2026-07-15 10:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-15 10:38:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:38:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":133297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":133297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":133297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:38: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-07-15 10:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727446272001,"66":25680,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 10:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727446272001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:38:17] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 10:38:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727446272001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":133297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:38:17] local.INFO: GPS data processed {"connection_id":133297,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:38:17] local.INFO: Acknowledgment sent {"connection_id":133297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:39:01] local.INFO: TCP Data received {"connection_id":134651,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:39:01] local.INFO: Processing buffer {"connection_id":134651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:39:01] local.INFO: IMEI packet received {"connection_id":134651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":134651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:39:07] local.INFO: TCP Data received {"connection_id":134651,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:39:07] local.INFO: Processing buffer {"connection_id":134651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:39:07] local.INFO: IMEI packet received {"connection_id":134651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":134651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:39:08] local.INFO: TCP Data received {"connection_id":134651,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f6429c980012d7f998005afdce00000011c29..."} 
[2026-07-15 10:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6429c980012d7f998005afdce00000011c29..."} 
[2026-07-15 10:39:08] local.INFO: Processing buffer {"connection_id":134651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6429c980012d7f998005afdce00000011c29..."} 
[2026-07-15 10:39:08] local.INFO: Packet analysis {"connection_id":134651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6429"} 
[2026-07-15 10:39:08] local.INFO: Extracted packet for processing {"connection_id":134651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6429"} 
[2026-07-15 10:39:08] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727446272001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784091888000,"timestamp_ms":1784091888000,"timestamp_seconds":1784091888,"priority":1,"record_length":96,"hex_timestamp":"0000019f6429c980"} 
[2026-07-15 10:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-15 10:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727446272001,"66":25680,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 10:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727446272001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:39:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 10:39:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727446272001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":134651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:39:08] local.INFO: GPS data processed {"connection_id":134651,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:39:08] local.INFO: Acknowledgment sent {"connection_id":134651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:39:40] local.INFO: TCP Data received {"connection_id":134651,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f6429c980012d7f998005afdce00000011c29..."} 
[2026-07-15 10:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6429c980012d7f998005afdce00000011c29..."} 
[2026-07-15 10:39:40] local.INFO: Processing buffer {"connection_id":134651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6429c980012d7f998005afdce00000011c29..."} 
[2026-07-15 10:39:40] local.INFO: Packet analysis {"connection_id":134651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6429"} 
[2026-07-15 10:39:40] local.INFO: Extracted packet for processing {"connection_id":134651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6429"} 
[2026-07-15 10:39:40] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727446272001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784091888000,"timestamp_ms":1784091888000,"timestamp_seconds":1784091888,"priority":1,"record_length":96,"hex_timestamp":"0000019f6429c980"} 
[2026-07-15 10:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-15 10:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:39:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":134651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":134651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":134651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:39:40] 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-07-15 10:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727446272001,"66":25680,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 10:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727446272001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:39:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 10:39:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727446272001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":134651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:39:40] local.INFO: GPS data processed {"connection_id":134651,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:39:40] local.INFO: Acknowledgment sent {"connection_id":134651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:40:01] local.INFO: TCP Data received {"connection_id":132266,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:40:01] local.INFO: Processing buffer {"connection_id":132266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:40:01] local.INFO: IMEI packet received {"connection_id":132266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":132266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:40:06] local.INFO: TCP Data received {"connection_id":132266,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:40:06] local.INFO: Processing buffer {"connection_id":132266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:40:06] local.INFO: IMEI packet received {"connection_id":132266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":132266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:40:07] local.INFO: TCP Data received {"connection_id":132266,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f6429c980012d7f998005afdce00000011c29..."} 
[2026-07-15 10:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6429c980012d7f998005afdce00000011c29..."} 
[2026-07-15 10:40:07] local.INFO: Processing buffer {"connection_id":132266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6429c980012d7f998005afdce00000011c29..."} 
[2026-07-15 10:40:07] local.INFO: Packet analysis {"connection_id":132266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6429"} 
[2026-07-15 10:40:07] local.INFO: Extracted packet for processing {"connection_id":132266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6429"} 
[2026-07-15 10:40:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727446272001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784091888000,"timestamp_ms":1784091888000,"timestamp_seconds":1784091888,"priority":1,"record_length":96,"hex_timestamp":"0000019f6429c980"} 
[2026-07-15 10:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-15 10:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:40:07] 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-07-15 10:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727446272001,"66":25680,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 10:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727446272001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:40:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 10:40:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727446272001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":132266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:40:07] local.INFO: GPS data processed {"connection_id":132266,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:40:07] local.INFO: Acknowledgment sent {"connection_id":132266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:40:38] local.INFO: TCP Data received {"connection_id":132266,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f642e6148012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f642e6148012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:40:38] local.INFO: Processing buffer {"connection_id":132266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f642e6148012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:40:38] local.INFO: Packet analysis {"connection_id":132266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f642e"} 
[2026-07-15 10:40:38] local.INFO: Extracted packet for processing {"connection_id":132266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f642e"} 
[2026-07-15 10:40:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727523328001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784092189000,"timestamp_ms":1784092189000,"timestamp_seconds":1784092189,"priority":1,"record_length":96,"hex_timestamp":"0000019f642e6148"} 
[2026-07-15 10:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 10:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:40:38] 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-07-15 10:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727523328001,"66":25734,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 10:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727523328001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:40:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 10:40:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727523328001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":132266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:40:38] local.INFO: GPS data processed {"connection_id":132266,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:40:38] local.INFO: Acknowledgment sent {"connection_id":132266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:41:01] local.INFO: TCP Data received {"connection_id":132267,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:41:01] local.INFO: Processing buffer {"connection_id":132267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:41:01] local.INFO: IMEI packet received {"connection_id":132267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":132267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:41:06] local.INFO: TCP Data received {"connection_id":132267,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:41:06] local.INFO: Processing buffer {"connection_id":132267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:41:06] local.INFO: IMEI packet received {"connection_id":132267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":132267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:41:07] local.INFO: TCP Data received {"connection_id":132267,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f642e6148012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f642e6148012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:41:07] local.INFO: Processing buffer {"connection_id":132267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f642e6148012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:41:07] local.INFO: Packet analysis {"connection_id":132267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f642e"} 
[2026-07-15 10:41:07] local.INFO: Extracted packet for processing {"connection_id":132267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f642e"} 
[2026-07-15 10:41:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10: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-07-15 10:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727523328001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784092189000,"timestamp_ms":1784092189000,"timestamp_seconds":1784092189,"priority":1,"record_length":96,"hex_timestamp":"0000019f642e6148"} 
[2026-07-15 10:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 10:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10: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-07-15 10:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:41:07] 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-07-15 10:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727523328001,"66":25734,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 10:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727523328001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:41:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 10:41:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727523328001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":132267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:41:07] local.INFO: GPS data processed {"connection_id":132267,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:41:07] local.INFO: Acknowledgment sent {"connection_id":132267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:41:39] local.INFO: TCP Data received {"connection_id":132267,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f642e6148012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f642e6148012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:41:39] local.INFO: Processing buffer {"connection_id":132267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f642e6148012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:41:39] local.INFO: Packet analysis {"connection_id":132267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f642e"} 
[2026-07-15 10:41:39] local.INFO: Extracted packet for processing {"connection_id":132267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f642e"} 
[2026-07-15 10:41:39] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10: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-07-15 10:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727523328001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784092189000,"timestamp_ms":1784092189000,"timestamp_seconds":1784092189,"priority":1,"record_length":96,"hex_timestamp":"0000019f642e6148"} 
[2026-07-15 10:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 10:41:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10: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-07-15 10:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:41: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-07-15 10:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727523328001,"66":25734,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 10:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727523328001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:41:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 10:41:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727523328001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":132267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:41:39] local.INFO: GPS data processed {"connection_id":132267,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:41:39] local.INFO: Acknowledgment sent {"connection_id":132267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:42:01] local.INFO: TCP Data received {"connection_id":134654,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:42:01] local.INFO: Processing buffer {"connection_id":134654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:42:01] local.INFO: IMEI packet received {"connection_id":134654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":134654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:42:06] local.INFO: TCP Data received {"connection_id":134654,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:42:06] local.INFO: Processing buffer {"connection_id":134654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:42:06] local.INFO: IMEI packet received {"connection_id":134654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":134654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:42:07] local.INFO: TCP Data received {"connection_id":134654,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f642e6148012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f642e6148012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:42:07] local.INFO: Processing buffer {"connection_id":134654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f642e6148012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:42:07] local.INFO: Packet analysis {"connection_id":134654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f642e"} 
[2026-07-15 10:42:07] local.INFO: Extracted packet for processing {"connection_id":134654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f642e"} 
[2026-07-15 10:42:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727523328001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784092189000,"timestamp_ms":1784092189000,"timestamp_seconds":1784092189,"priority":1,"record_length":96,"hex_timestamp":"0000019f642e6148"} 
[2026-07-15 10:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:42:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 10:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:42:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727523328001,"66":25734,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 10:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727523328001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:42:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 10:42:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727523328001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":134654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:42:07] local.INFO: GPS data processed {"connection_id":134654,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:42:07] local.INFO: Acknowledgment sent {"connection_id":134654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:42:39] local.INFO: TCP Data received {"connection_id":134654,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f642e6148012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f642e6148012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:42:39] local.INFO: Processing buffer {"connection_id":134654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f642e6148012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:42:39] local.INFO: Packet analysis {"connection_id":134654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f642e"} 
[2026-07-15 10:42:39] local.INFO: Extracted packet for processing {"connection_id":134654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f642e"} 
[2026-07-15 10:42:39] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727523328001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:42:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784092189000,"timestamp_ms":1784092189000,"timestamp_seconds":1784092189,"priority":1,"record_length":96,"hex_timestamp":"0000019f642e6148"} 
[2026-07-15 10:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:42:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 10:42:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:42:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:42:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727523328001,"66":25734,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 10:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727523328001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:42:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 10:42:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727523328001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":134654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:42:39] local.INFO: GPS data processed {"connection_id":134654,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:42:39] local.INFO: Acknowledgment sent {"connection_id":134654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:43:01] local.INFO: TCP Data received {"connection_id":133299,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:43:01] local.INFO: Processing buffer {"connection_id":133299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:43:01] local.INFO: IMEI packet received {"connection_id":133299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":133299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:43:06] local.INFO: TCP Data received {"connection_id":133299,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:43:06] local.INFO: Processing buffer {"connection_id":133299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:43:06] local.INFO: IMEI packet received {"connection_id":133299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":133299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:43:08] local.INFO: TCP Data received {"connection_id":133299,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f642e6148012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f642e6148012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:43:08] local.INFO: Processing buffer {"connection_id":133299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f642e6148012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:43:08] local.INFO: Packet analysis {"connection_id":133299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f642e"} 
[2026-07-15 10:43:08] local.INFO: Extracted packet for processing {"connection_id":133299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f642e"} 
[2026-07-15 10:43:08] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727523328001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784092189000,"timestamp_ms":1784092189000,"timestamp_seconds":1784092189,"priority":1,"record_length":96,"hex_timestamp":"0000019f642e6148"} 
[2026-07-15 10:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 10:43:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:43:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":133299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":133299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":133299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:43:08] 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-07-15 10:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727523328001,"66":25734,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 10:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727523328001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:43:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 10:43:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727523328001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":133299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:43:08] local.INFO: GPS data processed {"connection_id":133299,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:43:08] local.INFO: Acknowledgment sent {"connection_id":133299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:43:10] local.INFO: TCP Data received {"connection_id":134655,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134655,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:43:10] local.INFO: Processing buffer {"connection_id":134655,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:43:10] local.INFO: IMEI packet received {"connection_id":134655,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 10:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":134655,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:43:35] local.INFO: TCP Data received {"connection_id":132446,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132446,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:43:35] local.INFO: Processing buffer {"connection_id":132446,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:43:35] local.INFO: IMEI packet received {"connection_id":132446,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 10:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":132446,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:43:39] local.INFO: TCP Data received {"connection_id":133299,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f642e6148012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f642e6148012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:43:39] local.INFO: Processing buffer {"connection_id":133299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f642e6148012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:43:39] local.INFO: Packet analysis {"connection_id":133299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f642e"} 
[2026-07-15 10:43:39] local.INFO: Extracted packet for processing {"connection_id":133299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f642e"} 
[2026-07-15 10:43:39] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727523328001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784092189000,"timestamp_ms":1784092189000,"timestamp_seconds":1784092189,"priority":1,"record_length":96,"hex_timestamp":"0000019f642e6148"} 
[2026-07-15 10:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 10:43:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:43: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-07-15 10:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727523328001,"66":25734,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 10:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727523328001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:43:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 10:43:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727523328001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":133299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:43:39] local.INFO: GPS data processed {"connection_id":133299,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:43:39] local.INFO: Acknowledgment sent {"connection_id":133299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:44:01] local.INFO: TCP Data received {"connection_id":132268,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:44:01] local.INFO: Processing buffer {"connection_id":132268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:44:01] local.INFO: IMEI packet received {"connection_id":132268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":132268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:44:06] local.INFO: TCP Data received {"connection_id":132268,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:44:06] local.INFO: Processing buffer {"connection_id":132268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:44:06] local.INFO: IMEI packet received {"connection_id":132268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":132268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:44:07] local.INFO: TCP Data received {"connection_id":132268,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f642e6148012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f642e6148012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:44:07] local.INFO: Processing buffer {"connection_id":132268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f642e6148012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:44:07] local.INFO: Packet analysis {"connection_id":132268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f642e"} 
[2026-07-15 10:44:07] local.INFO: Extracted packet for processing {"connection_id":132268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f642e"} 
[2026-07-15 10:44:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10: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-07-15 10:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727523328001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784092189000,"timestamp_ms":1784092189000,"timestamp_seconds":1784092189,"priority":1,"record_length":96,"hex_timestamp":"0000019f642e6148"} 
[2026-07-15 10:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 10:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10: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-07-15 10:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:44:07] 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-07-15 10:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727523328001,"66":25734,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 10:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727523328001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:44:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 10:44:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727523328001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":132268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:44:07] local.INFO: GPS data processed {"connection_id":132268,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:44:07] local.INFO: Acknowledgment sent {"connection_id":132268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:44:41] local.INFO: TCP Data received {"connection_id":132268,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f642e6148012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f642e6148012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:44:41] local.INFO: Processing buffer {"connection_id":132268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f642e6148012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:44:41] local.INFO: Packet analysis {"connection_id":132268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f642e"} 
[2026-07-15 10:44:41] local.INFO: Extracted packet for processing {"connection_id":132268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f642e"} 
[2026-07-15 10:44:41] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727523328001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784092189000,"timestamp_ms":1784092189000,"timestamp_seconds":1784092189,"priority":1,"record_length":96,"hex_timestamp":"0000019f642e6148"} 
[2026-07-15 10:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 10:44:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:44:41] 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-07-15 10:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727523328001,"66":25734,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 10:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727523328001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:44:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 10:44:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727523328001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":132268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:44:41] local.INFO: GPS data processed {"connection_id":132268,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:44:41] local.INFO: Acknowledgment sent {"connection_id":132268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:45:01] local.INFO: TCP Data received {"connection_id":134656,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:45:01] local.INFO: Processing buffer {"connection_id":134656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:45:01] local.INFO: IMEI packet received {"connection_id":134656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":134656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:45:06] local.INFO: TCP Data received {"connection_id":134656,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:45:06] local.INFO: Processing buffer {"connection_id":134656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:45:06] local.INFO: IMEI packet received {"connection_id":134656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":134656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:45:07] local.INFO: TCP Data received {"connection_id":134656,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f642e6148012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f642e6148012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:45:07] local.INFO: Processing buffer {"connection_id":134656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f642e6148012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:45:07] local.INFO: Packet analysis {"connection_id":134656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f642e"} 
[2026-07-15 10:45:07] local.INFO: Extracted packet for processing {"connection_id":134656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f642e"} 
[2026-07-15 10:45:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727523328001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784092189000,"timestamp_ms":1784092189000,"timestamp_seconds":1784092189,"priority":1,"record_length":96,"hex_timestamp":"0000019f642e6148"} 
[2026-07-15 10:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 10:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:45:07] 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-07-15 10:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727523328001,"66":25734,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 10:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727523328001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:45:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 10:45:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727523328001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":134656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:45:08] local.INFO: GPS data processed {"connection_id":134656,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:45:08] local.INFO: Acknowledgment sent {"connection_id":134656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:45:41] local.INFO: TCP Data received {"connection_id":134656,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f6432f910012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6432f910012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:45:41] local.INFO: Processing buffer {"connection_id":134656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6432f910012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:45:41] local.INFO: Packet analysis {"connection_id":134656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6432"} 
[2026-07-15 10:45:41] local.INFO: Extracted packet for processing {"connection_id":134656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6432"} 
[2026-07-15 10:45:41] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10: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-07-15 10:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727600384001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784092490000,"timestamp_ms":1784092490000,"timestamp_seconds":1784092490,"priority":1,"record_length":96,"hex_timestamp":"0000019f6432f910"} 
[2026-07-15 10:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-15 10:45:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10: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-07-15 10:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":134656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":134656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":134656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:45:41] 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-07-15 10:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727600384001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727600384001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:45:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:45:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727600384001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":134656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:45:41] local.INFO: GPS data processed {"connection_id":134656,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:45:41] local.INFO: Acknowledgment sent {"connection_id":134656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:46:01] local.INFO: TCP Data received {"connection_id":134658,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:46:01] local.INFO: Processing buffer {"connection_id":134658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:46:01] local.INFO: IMEI packet received {"connection_id":134658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":134658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:46:06] local.INFO: TCP Data received {"connection_id":134658,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:46:06] local.INFO: Processing buffer {"connection_id":134658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:46:06] local.INFO: IMEI packet received {"connection_id":134658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":134658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:46:07] local.INFO: TCP Data received {"connection_id":134658,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f6432f910012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6432f910012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:46:07] local.INFO: Processing buffer {"connection_id":134658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6432f910012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:46:07] local.INFO: Packet analysis {"connection_id":134658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6432"} 
[2026-07-15 10:46:07] local.INFO: Extracted packet for processing {"connection_id":134658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6432"} 
[2026-07-15 10:46:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727600384001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784092490000,"timestamp_ms":1784092490000,"timestamp_seconds":1784092490,"priority":1,"record_length":96,"hex_timestamp":"0000019f6432f910"} 
[2026-07-15 10:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-15 10:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:46:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:46:07] 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-07-15 10:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727600384001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727600384001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:46:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:46:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727600384001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":134658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:46:07] local.INFO: GPS data processed {"connection_id":134658,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:46:07] local.INFO: Acknowledgment sent {"connection_id":134658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:46:40] local.INFO: TCP Data received {"connection_id":134658,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f6432f910012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6432f910012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:46:40] local.INFO: Processing buffer {"connection_id":134658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6432f910012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:46:40] local.INFO: Packet analysis {"connection_id":134658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6432"} 
[2026-07-15 10:46:40] local.INFO: Extracted packet for processing {"connection_id":134658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6432"} 
[2026-07-15 10:46:40] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10: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-07-15 10:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727600384001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:46:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:46:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784092490000,"timestamp_ms":1784092490000,"timestamp_seconds":1784092490,"priority":1,"record_length":96,"hex_timestamp":"0000019f6432f910"} 
[2026-07-15 10:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:46:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-15 10:46:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10: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-07-15 10:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":134658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":134658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":134658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:46:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727600384001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727600384001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:46:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:46:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:46:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727600384001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:46:40] local.INFO: DEBUG: GPS processor result {"connection_id":134658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:46:40] local.INFO: GPS data processed {"connection_id":134658,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:46:40] local.INFO: Acknowledgment sent {"connection_id":134658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:47:01] local.INFO: TCP Data received {"connection_id":132270,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:47:01] local.INFO: Processing buffer {"connection_id":132270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:47:01] local.INFO: IMEI packet received {"connection_id":132270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":132270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:47:06] local.INFO: TCP Data received {"connection_id":132270,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:47:06] local.INFO: Processing buffer {"connection_id":132270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:47:06] local.INFO: IMEI packet received {"connection_id":132270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":132270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:47:07] local.INFO: TCP Data received {"connection_id":132270,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6432f910012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6432f910012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:47:07] local.INFO: Processing buffer {"connection_id":132270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6432f910012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:47:07] local.INFO: Packet analysis {"connection_id":132270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6432"} 
[2026-07-15 10:47:07] local.INFO: Extracted packet for processing {"connection_id":132270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6432"} 
[2026-07-15 10:47:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727600384001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784092490000,"timestamp_ms":1784092490000,"timestamp_seconds":1784092490,"priority":1,"record_length":96,"hex_timestamp":"0000019f6432f910"} 
[2026-07-15 10:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-15 10:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727600384001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727600384001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:47:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:47:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727600384001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":132270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:47:07] local.INFO: GPS data processed {"connection_id":132270,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:47:07] local.INFO: Acknowledgment sent {"connection_id":132270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:47:38] local.INFO: TCP Data received {"connection_id":132270,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6432f910012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6432f910012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:47:38] local.INFO: Processing buffer {"connection_id":132270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6432f910012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:47:38] local.INFO: Packet analysis {"connection_id":132270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6432"} 
[2026-07-15 10:47:38] local.INFO: Extracted packet for processing {"connection_id":132270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6432"} 
[2026-07-15 10:47:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10: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-07-15 10:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727600384001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784092490000,"timestamp_ms":1784092490000,"timestamp_seconds":1784092490,"priority":1,"record_length":96,"hex_timestamp":"0000019f6432f910"} 
[2026-07-15 10:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-15 10:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10: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-07-15 10:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727600384001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727600384001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:47:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:47:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727600384001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":132270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:47:38] local.INFO: GPS data processed {"connection_id":132270,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:47:38] local.INFO: Acknowledgment sent {"connection_id":132270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:48:02] local.INFO: TCP Data received {"connection_id":133301,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:48:02] local.INFO: Processing buffer {"connection_id":133301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:48:02] local.INFO: IMEI packet received {"connection_id":133301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":133301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:48:07] local.INFO: TCP Data received {"connection_id":133301,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:48:07] local.INFO: Processing buffer {"connection_id":133301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:48:07] local.INFO: IMEI packet received {"connection_id":133301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":133301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:48:08] local.INFO: TCP Data received {"connection_id":133301,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f6432f910012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6432f910012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:48:08] local.INFO: Processing buffer {"connection_id":133301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6432f910012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:48:08] local.INFO: Packet analysis {"connection_id":133301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6432"} 
[2026-07-15 10:48:08] local.INFO: Extracted packet for processing {"connection_id":133301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6432"} 
[2026-07-15 10:48:08] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727600384001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784092490000,"timestamp_ms":1784092490000,"timestamp_seconds":1784092490,"priority":1,"record_length":96,"hex_timestamp":"0000019f6432f910"} 
[2026-07-15 10:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-15 10:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":133301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":133301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":133301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727600384001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727600384001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:48:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:48:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727600384001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":133301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:48:08] local.INFO: GPS data processed {"connection_id":133301,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:48:08] local.INFO: Acknowledgment sent {"connection_id":133301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:48:39] local.INFO: TCP Data received {"connection_id":133301,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f6432f910012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6432f910012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:48:39] local.INFO: Processing buffer {"connection_id":133301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6432f910012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:48:39] local.INFO: Packet analysis {"connection_id":133301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6432"} 
[2026-07-15 10:48:39] local.INFO: Extracted packet for processing {"connection_id":133301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6432"} 
[2026-07-15 10:48:39] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727600384001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784092490000,"timestamp_ms":1784092490000,"timestamp_seconds":1784092490,"priority":1,"record_length":96,"hex_timestamp":"0000019f6432f910"} 
[2026-07-15 10:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-15 10:48:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:48:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:48: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-07-15 10:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727600384001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727600384001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:48:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:48:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727600384001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":133301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:48:39] local.INFO: GPS data processed {"connection_id":133301,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:48:39] local.INFO: Acknowledgment sent {"connection_id":133301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:49:01] local.INFO: TCP Data received {"connection_id":134659,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:49:01] local.INFO: Processing buffer {"connection_id":134659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:49:01] local.INFO: IMEI packet received {"connection_id":134659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":134659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:49:07] local.INFO: TCP Data received {"connection_id":134659,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:49:07] local.INFO: Processing buffer {"connection_id":134659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:49:07] local.INFO: IMEI packet received {"connection_id":134659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":134659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:49:09] local.INFO: TCP Data received {"connection_id":134659,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f6432f910012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6432f910012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:49:09] local.INFO: Processing buffer {"connection_id":134659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6432f910012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:49:09] local.INFO: Packet analysis {"connection_id":134659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6432"} 
[2026-07-15 10:49:09] local.INFO: Extracted packet for processing {"connection_id":134659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6432"} 
[2026-07-15 10:49:09] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727600384001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784092490000,"timestamp_ms":1784092490000,"timestamp_seconds":1784092490,"priority":1,"record_length":96,"hex_timestamp":"0000019f6432f910"} 
[2026-07-15 10:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-15 10:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:49:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":134659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":134659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":134659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727600384001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727600384001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:49:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:49:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727600384001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":134659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:49:09] local.INFO: GPS data processed {"connection_id":134659,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:49:09] local.INFO: Acknowledgment sent {"connection_id":134659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:49:41] local.INFO: TCP Data received {"connection_id":134659,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f6432f910012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6432f910012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:49:41] local.INFO: Processing buffer {"connection_id":134659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6432f910012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:49:41] local.INFO: Packet analysis {"connection_id":134659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6432"} 
[2026-07-15 10:49:41] local.INFO: Extracted packet for processing {"connection_id":134659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6432"} 
[2026-07-15 10:49:41] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:49: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-07-15 10:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727600384001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784092490000,"timestamp_ms":1784092490000,"timestamp_seconds":1784092490,"priority":1,"record_length":96,"hex_timestamp":"0000019f6432f910"} 
[2026-07-15 10:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-15 10:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:49: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-07-15 10:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":134659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":134659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":134659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:49:41] 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-07-15 10:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727600384001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727600384001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:49:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:49:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727600384001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":134659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:49:41] local.INFO: GPS data processed {"connection_id":134659,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:49:41] local.INFO: Acknowledgment sent {"connection_id":134659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:49:47] local.INFO: TCP Data received {"connection_id":133302,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133302,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:49:47] local.INFO: Processing buffer {"connection_id":133302,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:49:47] local.INFO: IMEI packet received {"connection_id":133302,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 10:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":133302,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:50:01] local.INFO: TCP Data received {"connection_id":132448,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:50:01] local.INFO: Processing buffer {"connection_id":132448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:50:01] local.INFO: IMEI packet received {"connection_id":132448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":132448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:50:06] local.INFO: TCP Data received {"connection_id":132448,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:50:06] local.INFO: Processing buffer {"connection_id":132448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:50:06] local.INFO: IMEI packet received {"connection_id":132448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":132448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:50:08] local.INFO: TCP Data received {"connection_id":132448,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f6432f910012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6432f910012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:50:08] local.INFO: Processing buffer {"connection_id":132448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6432f910012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:50:08] local.INFO: Packet analysis {"connection_id":132448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6432"} 
[2026-07-15 10:50:08] local.INFO: Extracted packet for processing {"connection_id":132448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6432"} 
[2026-07-15 10:50:08] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727600384001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784092490000,"timestamp_ms":1784092490000,"timestamp_seconds":1784092490,"priority":1,"record_length":96,"hex_timestamp":"0000019f6432f910"} 
[2026-07-15 10:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-15 10:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727600384001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727600384001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:50:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:50:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727600384001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":132448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:50:08] local.INFO: GPS data processed {"connection_id":132448,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:50:08] local.INFO: Acknowledgment sent {"connection_id":132448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:50:39] local.INFO: TCP Data received {"connection_id":132448,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f643790d8012d7f998005afdce00000011c29..."} 
[2026-07-15 10:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f643790d8012d7f998005afdce00000011c29..."} 
[2026-07-15 10:50:39] local.INFO: Processing buffer {"connection_id":132448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f643790d8012d7f998005afdce00000011c29..."} 
[2026-07-15 10:50:39] local.INFO: Packet analysis {"connection_id":132448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6437"} 
[2026-07-15 10:50:39] local.INFO: Extracted packet for processing {"connection_id":132448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6437"} 
[2026-07-15 10:50:39] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10: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-07-15 10:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727677440001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784092791000,"timestamp_ms":1784092791000,"timestamp_seconds":1784092791,"priority":1,"record_length":96,"hex_timestamp":"0000019f643790d8"} 
[2026-07-15 10:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 10:50:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10: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-07-15 10:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727677440001,"66":25712,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727677440001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:50:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:50:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727677440001,"power":25712,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":132448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:50:39] local.INFO: GPS data processed {"connection_id":132448,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:50:39] local.INFO: Acknowledgment sent {"connection_id":132448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:51:01] local.INFO: TCP Data received {"connection_id":132272,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:51:01] local.INFO: Processing buffer {"connection_id":132272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:51:01] local.INFO: IMEI packet received {"connection_id":132272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":132272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:51:06] local.INFO: TCP Data received {"connection_id":132272,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:51:06] local.INFO: Processing buffer {"connection_id":132272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:51:06] local.INFO: IMEI packet received {"connection_id":132272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":132272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:51:10] local.INFO: TCP Data received {"connection_id":132272,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f643790d8012d7f998005afdce00000011c29..."} 
[2026-07-15 10:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f643790d8012d7f998005afdce00000011c29..."} 
[2026-07-15 10:51:10] local.INFO: Processing buffer {"connection_id":132272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f643790d8012d7f998005afdce00000011c29..."} 
[2026-07-15 10:51:10] local.INFO: Packet analysis {"connection_id":132272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6437"} 
[2026-07-15 10:51:10] local.INFO: Extracted packet for processing {"connection_id":132272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6437"} 
[2026-07-15 10:51:10] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10: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-07-15 10:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727677440001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784092791000,"timestamp_ms":1784092791000,"timestamp_seconds":1784092791,"priority":1,"record_length":96,"hex_timestamp":"0000019f643790d8"} 
[2026-07-15 10:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 10:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10: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-07-15 10:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":132272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":132272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":132272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:51:10] 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-07-15 10:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727677440001,"66":25712,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727677440001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:51:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:51:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727677440001,"power":25712,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":132272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:51:10] local.INFO: GPS data processed {"connection_id":132272,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:51:10] local.INFO: Acknowledgment sent {"connection_id":132272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:51:42] local.INFO: TCP Data received {"connection_id":132272,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f643790d8012d7f998005afdce00000011c29..."} 
[2026-07-15 10:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f643790d8012d7f998005afdce00000011c29..."} 
[2026-07-15 10:51:42] local.INFO: Processing buffer {"connection_id":132272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f643790d8012d7f998005afdce00000011c29..."} 
[2026-07-15 10:51:42] local.INFO: Packet analysis {"connection_id":132272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6437"} 
[2026-07-15 10:51:42] local.INFO: Extracted packet for processing {"connection_id":132272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6437"} 
[2026-07-15 10:51:42] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:51: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-07-15 10:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727677440001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784092791000,"timestamp_ms":1784092791000,"timestamp_seconds":1784092791,"priority":1,"record_length":96,"hex_timestamp":"0000019f643790d8"} 
[2026-07-15 10:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 10:51:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:51: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-07-15 10:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:51:42] 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-07-15 10:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727677440001,"66":25712,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727677440001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:51:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:51:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727677440001,"power":25712,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":132272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:51:42] local.INFO: GPS data processed {"connection_id":132272,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:51:42] local.INFO: Acknowledgment sent {"connection_id":132272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:52:01] local.INFO: TCP Data received {"connection_id":134660,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:52:01] local.INFO: Processing buffer {"connection_id":134660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:52:01] local.INFO: IMEI packet received {"connection_id":134660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":134660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:52:06] local.INFO: TCP Data received {"connection_id":134660,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:52:06] local.INFO: Processing buffer {"connection_id":134660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:52:06] local.INFO: IMEI packet received {"connection_id":134660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":134660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:52:07] local.INFO: TCP Data received {"connection_id":134660,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f643790d8012d7f998005afdce00000011c29..."} 
[2026-07-15 10:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f643790d8012d7f998005afdce00000011c29..."} 
[2026-07-15 10:52:07] local.INFO: Processing buffer {"connection_id":134660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f643790d8012d7f998005afdce00000011c29..."} 
[2026-07-15 10:52:07] local.INFO: Packet analysis {"connection_id":134660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6437"} 
[2026-07-15 10:52:07] local.INFO: Extracted packet for processing {"connection_id":134660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6437"} 
[2026-07-15 10:52:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727677440001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784092791000,"timestamp_ms":1784092791000,"timestamp_seconds":1784092791,"priority":1,"record_length":96,"hex_timestamp":"0000019f643790d8"} 
[2026-07-15 10:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 10:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727677440001,"66":25712,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727677440001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:52:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:52:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727677440001,"power":25712,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":134660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:52:07] local.INFO: GPS data processed {"connection_id":134660,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:52:07] local.INFO: Acknowledgment sent {"connection_id":134660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:52:38] local.INFO: TCP Data received {"connection_id":134660,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f643790d8012d7f998005afdce00000011c29..."} 
[2026-07-15 10:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f643790d8012d7f998005afdce00000011c29..."} 
[2026-07-15 10:52:38] local.INFO: Processing buffer {"connection_id":134660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f643790d8012d7f998005afdce00000011c29..."} 
[2026-07-15 10:52:38] local.INFO: Packet analysis {"connection_id":134660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6437"} 
[2026-07-15 10:52:38] local.INFO: Extracted packet for processing {"connection_id":134660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6437"} 
[2026-07-15 10:52:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727677440001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784092791000,"timestamp_ms":1784092791000,"timestamp_seconds":1784092791,"priority":1,"record_length":96,"hex_timestamp":"0000019f643790d8"} 
[2026-07-15 10:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 10:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727677440001,"66":25712,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727677440001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:52:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:52:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727677440001,"power":25712,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":134660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:52:38] local.INFO: GPS data processed {"connection_id":134660,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:52:38] local.INFO: Acknowledgment sent {"connection_id":134660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:53:01] local.INFO: TCP Data received {"connection_id":132273,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:53:01] local.INFO: Processing buffer {"connection_id":132273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:53:01] local.INFO: IMEI packet received {"connection_id":132273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":132273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:53:06] local.INFO: TCP Data received {"connection_id":132273,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:53:06] local.INFO: Processing buffer {"connection_id":132273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:53:06] local.INFO: IMEI packet received {"connection_id":132273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":132273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:53:17] local.INFO: TCP Data received {"connection_id":132273,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f643790d8012d7f998005afdce00000011c29..."} 
[2026-07-15 10:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f643790d8012d7f998005afdce00000011c29..."} 
[2026-07-15 10:53:17] local.INFO: Processing buffer {"connection_id":132273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f643790d8012d7f998005afdce00000011c29..."} 
[2026-07-15 10:53:17] local.INFO: Packet analysis {"connection_id":132273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6437"} 
[2026-07-15 10:53:17] local.INFO: Extracted packet for processing {"connection_id":132273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6437"} 
[2026-07-15 10:53:17] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727677440001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784092791000,"timestamp_ms":1784092791000,"timestamp_seconds":1784092791,"priority":1,"record_length":96,"hex_timestamp":"0000019f643790d8"} 
[2026-07-15 10:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 10:53:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:53:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:53:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727677440001,"66":25712,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727677440001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:53:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:53:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:53:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727677440001,"power":25712,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":132273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:53:17] local.INFO: GPS data processed {"connection_id":132273,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:53:17] local.INFO: Acknowledgment sent {"connection_id":132273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:54:01] local.INFO: TCP Data received {"connection_id":134662,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:54:01] local.INFO: Processing buffer {"connection_id":134662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:54:01] local.INFO: IMEI packet received {"connection_id":134662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":134662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:54:06] local.INFO: TCP Data received {"connection_id":134662,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:54:06] local.INFO: Processing buffer {"connection_id":134662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:54:06] local.INFO: IMEI packet received {"connection_id":134662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":134662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:54:07] local.INFO: TCP Data received {"connection_id":134662,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f643790d8012d7f998005afdce00000011c29..."} 
[2026-07-15 10:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f643790d8012d7f998005afdce00000011c29..."} 
[2026-07-15 10:54:07] local.INFO: Processing buffer {"connection_id":134662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f643790d8012d7f998005afdce00000011c29..."} 
[2026-07-15 10:54:07] local.INFO: Packet analysis {"connection_id":134662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6437"} 
[2026-07-15 10:54:07] local.INFO: Extracted packet for processing {"connection_id":134662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6437"} 
[2026-07-15 10:54:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10: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-07-15 10:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727677440001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784092791000,"timestamp_ms":1784092791000,"timestamp_seconds":1784092791,"priority":1,"record_length":96,"hex_timestamp":"0000019f643790d8"} 
[2026-07-15 10:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 10:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10: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-07-15 10:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727677440001,"66":25712,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727677440001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:54:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:54:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727677440001,"power":25712,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":134662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:54:07] local.INFO: GPS data processed {"connection_id":134662,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:54:07] local.INFO: Acknowledgment sent {"connection_id":134662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:54:38] local.INFO: TCP Data received {"connection_id":134662,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f643790d8012d7f998005afdce00000011c29..."} 
[2026-07-15 10:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f643790d8012d7f998005afdce00000011c29..."} 
[2026-07-15 10:54:38] local.INFO: Processing buffer {"connection_id":134662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f643790d8012d7f998005afdce00000011c29..."} 
[2026-07-15 10:54:38] local.INFO: Packet analysis {"connection_id":134662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6437"} 
[2026-07-15 10:54:38] local.INFO: Extracted packet for processing {"connection_id":134662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6437"} 
[2026-07-15 10:54:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727677440001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784092791000,"timestamp_ms":1784092791000,"timestamp_seconds":1784092791,"priority":1,"record_length":96,"hex_timestamp":"0000019f643790d8"} 
[2026-07-15 10:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 10:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727677440001,"66":25712,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727677440001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:54:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:54:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727677440001,"power":25712,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":134662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:54:38] local.INFO: GPS data processed {"connection_id":134662,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:54:38] local.INFO: Acknowledgment sent {"connection_id":134662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:55:05] local.INFO: TCP Data received {"connection_id":132451,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132451,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:55:05] local.INFO: Processing buffer {"connection_id":132451,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:55:05] local.INFO: IMEI packet received {"connection_id":132451,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 10:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":132451,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:55:07] local.INFO: TCP Data received {"connection_id":132274,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:55:07] local.INFO: Processing buffer {"connection_id":132274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:55:07] local.INFO: IMEI packet received {"connection_id":132274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":132274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:55:11] local.INFO: TCP Data received {"connection_id":132274,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:55:11] local.INFO: Processing buffer {"connection_id":132274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:55:11] local.INFO: IMEI packet received {"connection_id":132274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":132274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:55:12] local.INFO: TCP Data received {"connection_id":132274,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f643790d8012d7f998005afdce00000011c29..."} 
[2026-07-15 10:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f643790d8012d7f998005afdce00000011c29..."} 
[2026-07-15 10:55:12] local.INFO: Processing buffer {"connection_id":132274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f643790d8012d7f998005afdce00000011c29..."} 
[2026-07-15 10:55:12] local.INFO: Packet analysis {"connection_id":132274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6437"} 
[2026-07-15 10:55:12] local.INFO: Extracted packet for processing {"connection_id":132274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6437"} 
[2026-07-15 10:55:12] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10: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-07-15 10:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727677440001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784092791000,"timestamp_ms":1784092791000,"timestamp_seconds":1784092791,"priority":1,"record_length":96,"hex_timestamp":"0000019f643790d8"} 
[2026-07-15 10:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 10:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10: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-07-15 10:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:55:12] 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-07-15 10:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727677440001,"66":25712,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727677440001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:55:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:55:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727677440001,"power":25712,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":132274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:55:12] local.INFO: GPS data processed {"connection_id":132274,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:55:12] local.INFO: Acknowledgment sent {"connection_id":132274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:55:17] local.INFO: TCP Data received {"connection_id":132274,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f643790d8012d7f998005afdce00000011c29..."} 
[2026-07-15 10:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f643790d8012d7f998005afdce00000011c29..."} 
[2026-07-15 10:55:17] local.INFO: Processing buffer {"connection_id":132274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f643790d8012d7f998005afdce00000011c29..."} 
[2026-07-15 10:55:17] local.INFO: Packet analysis {"connection_id":132274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6437"} 
[2026-07-15 10:55:17] local.INFO: Extracted packet for processing {"connection_id":132274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6437"} 
[2026-07-15 10:55:17] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727677440001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784092791000,"timestamp_ms":1784092791000,"timestamp_seconds":1784092791,"priority":1,"record_length":96,"hex_timestamp":"0000019f643790d8"} 
[2026-07-15 10:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 10:55:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727677440001,"66":25712,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727677440001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:55:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:55:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727677440001,"power":25712,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":132274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:55:17] local.INFO: GPS data processed {"connection_id":132274,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:55:17] local.INFO: Acknowledgment sent {"connection_id":132274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:55:37] local.INFO: TCP Data received {"connection_id":134663,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134663,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:55:37] local.INFO: Processing buffer {"connection_id":134663,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 10:55:37] local.INFO: IMEI packet received {"connection_id":134663,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 10:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":134663,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:56:01] local.INFO: TCP Data received {"connection_id":133304,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:56:01] local.INFO: Processing buffer {"connection_id":133304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:56:01] local.INFO: IMEI packet received {"connection_id":133304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":133304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:56:11] local.INFO: TCP Data received {"connection_id":133304,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:56:11] local.INFO: Processing buffer {"connection_id":133304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:56:11] local.INFO: IMEI packet received {"connection_id":133304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":133304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:56:15] local.INFO: TCP Data received {"connection_id":133304,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f643c28a0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f643c28a0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:56:15] local.INFO: Processing buffer {"connection_id":133304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f643c28a0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:56:15] local.INFO: Packet analysis {"connection_id":133304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f643c"} 
[2026-07-15 10:56:15] local.INFO: Extracted packet for processing {"connection_id":133304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f643c"} 
[2026-07-15 10:56:15] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10: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-07-15 10:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727754496001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784093092000,"timestamp_ms":1784093092000,"timestamp_seconds":1784093092,"priority":1,"record_length":96,"hex_timestamp":"0000019f643c28a0"} 
[2026-07-15 10:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:56:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-07-15 10:56:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10: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-07-15 10:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":133304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":133304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":133304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:56:15] 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-07-15 10:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727754496001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727754496001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:56:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:56:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727754496001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":133304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:56:15] local.INFO: GPS data processed {"connection_id":133304,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:56:15] local.INFO: Acknowledgment sent {"connection_id":133304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:56:46] local.INFO: TCP Data received {"connection_id":133304,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f643c28a0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f643c28a0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:56:46] local.INFO: Processing buffer {"connection_id":133304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f643c28a0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:56:46] local.INFO: Packet analysis {"connection_id":133304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f643c"} 
[2026-07-15 10:56:46] local.INFO: Extracted packet for processing {"connection_id":133304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f643c"} 
[2026-07-15 10:56:46] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10: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-07-15 10:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727754496001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784093092000,"timestamp_ms":1784093092000,"timestamp_seconds":1784093092,"priority":1,"record_length":96,"hex_timestamp":"0000019f643c28a0"} 
[2026-07-15 10:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:56:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-07-15 10:56:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10: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-07-15 10:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":133304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":133304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":133304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727754496001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727754496001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:56:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:56:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727754496001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":133304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:56:46] local.INFO: GPS data processed {"connection_id":133304,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:56:46] local.INFO: Acknowledgment sent {"connection_id":133304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:57:05] local.INFO: TCP Data received {"connection_id":134665,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:57:05] local.INFO: Processing buffer {"connection_id":134665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:57:05] local.INFO: IMEI packet received {"connection_id":134665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":134665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:57:06] local.INFO: TCP Data received {"connection_id":134665,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:57:06] local.INFO: Processing buffer {"connection_id":134665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:57:06] local.INFO: IMEI packet received {"connection_id":134665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":134665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:57:11] local.INFO: TCP Data received {"connection_id":134665,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:57:11] local.INFO: Processing buffer {"connection_id":134665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:57:11] local.INFO: IMEI packet received {"connection_id":134665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":134665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:57:13] local.INFO: TCP Data received {"connection_id":134665,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f643c28a0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f643c28a0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:57:13] local.INFO: Processing buffer {"connection_id":134665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f643c28a0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:57:13] local.INFO: Packet analysis {"connection_id":134665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f643c"} 
[2026-07-15 10:57:13] local.INFO: Extracted packet for processing {"connection_id":134665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f643c"} 
[2026-07-15 10:57:13] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10: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-07-15 10:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727754496001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784093092000,"timestamp_ms":1784093092000,"timestamp_seconds":1784093092,"priority":1,"record_length":96,"hex_timestamp":"0000019f643c28a0"} 
[2026-07-15 10:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:57:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-07-15 10:57:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10: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-07-15 10:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":134665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":134665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":134665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727754496001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727754496001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:57:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:57:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727754496001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":134665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:57:13] local.INFO: GPS data processed {"connection_id":134665,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:57:13] local.INFO: Acknowledgment sent {"connection_id":134665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:57:44] local.INFO: TCP Data received {"connection_id":134665,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f643c28a0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f643c28a0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:57:44] local.INFO: Processing buffer {"connection_id":134665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f643c28a0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:57:44] local.INFO: Packet analysis {"connection_id":134665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f643c"} 
[2026-07-15 10:57:44] local.INFO: Extracted packet for processing {"connection_id":134665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f643c"} 
[2026-07-15 10:57:44] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10: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-07-15 10:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727754496001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:57:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:57:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784093092000,"timestamp_ms":1784093092000,"timestamp_seconds":1784093092,"priority":1,"record_length":96,"hex_timestamp":"0000019f643c28a0"} 
[2026-07-15 10:57:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:57:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-07-15 10:57:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10: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-07-15 10:57:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":134665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":134665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":134665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:57:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727754496001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727754496001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:57:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:57:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:57:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:57:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:57:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727754496001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:57:44] local.INFO: DEBUG: GPS processor result {"connection_id":134665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:57:44] local.INFO: GPS data processed {"connection_id":134665,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:57:44] local.INFO: Acknowledgment sent {"connection_id":134665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:58:01] local.INFO: TCP Data received {"connection_id":133306,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:58:01] local.INFO: Processing buffer {"connection_id":133306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:58:01] local.INFO: IMEI packet received {"connection_id":133306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":133306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:58:06] local.INFO: TCP Data received {"connection_id":133306,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:58:06] local.INFO: Processing buffer {"connection_id":133306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:58:06] local.INFO: IMEI packet received {"connection_id":133306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":133306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:58:07] local.INFO: TCP Data received {"connection_id":133306,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f643c28a0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f643c28a0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:58:07] local.INFO: Processing buffer {"connection_id":133306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f643c28a0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:58:07] local.INFO: Packet analysis {"connection_id":133306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f643c"} 
[2026-07-15 10:58:07] local.INFO: Extracted packet for processing {"connection_id":133306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f643c"} 
[2026-07-15 10:58:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727754496001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784093092000,"timestamp_ms":1784093092000,"timestamp_seconds":1784093092,"priority":1,"record_length":96,"hex_timestamp":"0000019f643c28a0"} 
[2026-07-15 10:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:58:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-07-15 10:58:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:58:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:58:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727754496001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727754496001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:58:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:58:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727754496001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":133306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:58:07] local.INFO: GPS data processed {"connection_id":133306,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:58:07] local.INFO: Acknowledgment sent {"connection_id":133306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:58:38] local.INFO: TCP Data received {"connection_id":133306,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f643c28a0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f643c28a0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:58:38] local.INFO: Processing buffer {"connection_id":133306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f643c28a0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:58:38] local.INFO: Packet analysis {"connection_id":133306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f643c"} 
[2026-07-15 10:58:38] local.INFO: Extracted packet for processing {"connection_id":133306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f643c"} 
[2026-07-15 10:58:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727754496001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784093092000,"timestamp_ms":1784093092000,"timestamp_seconds":1784093092,"priority":1,"record_length":96,"hex_timestamp":"0000019f643c28a0"} 
[2026-07-15 10:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-07-15 10:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:58:39] 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-07-15 10:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727754496001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727754496001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:58:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:58:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727754496001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":133306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:58:39] local.INFO: GPS data processed {"connection_id":133306,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:58:39] local.INFO: Acknowledgment sent {"connection_id":133306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:59:06] local.INFO: TCP Data received {"connection_id":132275,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:59:06] local.INFO: Processing buffer {"connection_id":132275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:59:06] local.INFO: IMEI packet received {"connection_id":132275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 10:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":132275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 10:59:11] local.INFO: TCP Data received {"connection_id":132275,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:59:11] local.INFO: Processing buffer {"connection_id":132275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 10:59:11] local.INFO: IMEI packet received {"connection_id":132275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 10:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":132275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 10:59:12] local.INFO: TCP Data received {"connection_id":132275,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f643c28a0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f643c28a0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:59:12] local.INFO: Processing buffer {"connection_id":132275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f643c28a0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:59:12] local.INFO: Packet analysis {"connection_id":132275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f643c"} 
[2026-07-15 10:59:12] local.INFO: Extracted packet for processing {"connection_id":132275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f643c"} 
[2026-07-15 10:59:12] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727754496001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784093092000,"timestamp_ms":1784093092000,"timestamp_seconds":1784093092,"priority":1,"record_length":96,"hex_timestamp":"0000019f643c28a0"} 
[2026-07-15 10:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:59:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-07-15 10:59:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:59:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:59:12] 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-07-15 10:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727754496001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727754496001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:59:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:59:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727754496001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":132275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:59:12] local.INFO: GPS data processed {"connection_id":132275,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:59:12] local.INFO: Acknowledgment sent {"connection_id":132275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 10:59:17] local.INFO: TCP Data received {"connection_id":132275,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f643c28a0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f643c28a0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:59:17] local.INFO: Processing buffer {"connection_id":132275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f643c28a0012d7f998005afdce00000011c2a..."} 
[2026-07-15 10:59:17] local.INFO: Packet analysis {"connection_id":132275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f643c"} 
[2026-07-15 10:59:17] local.INFO: Extracted packet for processing {"connection_id":132275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f643c"} 
[2026-07-15 10:59:17] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 10:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 10:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727754496001,"note":"Value kept but may cause issues"} 
[2026-07-15 10:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 10:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 10:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 10:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784093092000,"timestamp_ms":1784093092000,"timestamp_seconds":1784093092,"priority":1,"record_length":96,"hex_timestamp":"0000019f643c28a0"} 
[2026-07-15 10:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 10:59:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 10:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-07-15 10:59:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 10:59:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 10:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 10:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 10:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 10:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 10:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 10:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 10:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 10:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727754496001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 10:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 10:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 10:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727754496001,"description":"Unknown IO ID 0"} 
[2026-07-15 10:59:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 10:59:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 10:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 10:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 10:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727754496001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 10:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":132275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 10:59:17] local.INFO: GPS data processed {"connection_id":132275,"processed":1,"errors":0,"total":1} 
[2026-07-15 10:59:17] local.INFO: Acknowledgment sent {"connection_id":132275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:00:01] local.INFO: TCP Data received {"connection_id":134667,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:00:01] local.INFO: Processing buffer {"connection_id":134667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:00:01] local.INFO: IMEI packet received {"connection_id":134667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":134667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:00:06] local.INFO: TCP Data received {"connection_id":134667,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:00:06] local.INFO: Processing buffer {"connection_id":134667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:00:06] local.INFO: IMEI packet received {"connection_id":134667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":134667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:00:07] local.INFO: TCP Data received {"connection_id":134667,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f643c28a0012d7f998005afdce00000011c2a..."} 
[2026-07-15 11:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f643c28a0012d7f998005afdce00000011c2a..."} 
[2026-07-15 11:00:07] local.INFO: Processing buffer {"connection_id":134667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f643c28a0012d7f998005afdce00000011c2a..."} 
[2026-07-15 11:00:07] local.INFO: Packet analysis {"connection_id":134667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f643c"} 
[2026-07-15 11:00:07] local.INFO: Extracted packet for processing {"connection_id":134667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f643c"} 
[2026-07-15 11:00:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727754496001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784093092000,"timestamp_ms":1784093092000,"timestamp_seconds":1784093092,"priority":1,"record_length":96,"hex_timestamp":"0000019f643c28a0"} 
[2026-07-15 11:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-07-15 11:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:00:07] 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-07-15 11:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727754496001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727754496001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:00:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:00:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727754496001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":134667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:00:07] local.INFO: GPS data processed {"connection_id":134667,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:00:07] local.INFO: Acknowledgment sent {"connection_id":134667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:00:39] local.INFO: TCP Data received {"connection_id":134667,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f6440c068012d7f998005afdce00000011c29..."} 
[2026-07-15 11:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6440c068012d7f998005afdce00000011c29..."} 
[2026-07-15 11:00:39] local.INFO: Processing buffer {"connection_id":134667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6440c068012d7f998005afdce00000011c29..."} 
[2026-07-15 11:00:39] local.INFO: Packet analysis {"connection_id":134667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6440"} 
[2026-07-15 11:00:39] local.INFO: Extracted packet for processing {"connection_id":134667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6440"} 
[2026-07-15 11:00:39] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11: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-07-15 11:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727831552001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784093393000,"timestamp_ms":1784093393000,"timestamp_seconds":1784093393,"priority":1,"record_length":96,"hex_timestamp":"0000019f6440c068"} 
[2026-07-15 11:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:00:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:00:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:00:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:00:39] 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-07-15 11:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727831552001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727831552001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:00:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:00:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727831552001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":134667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:00:39] local.INFO: GPS data processed {"connection_id":134667,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:00:39] local.INFO: Acknowledgment sent {"connection_id":134667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:00:59] local.INFO: TCP Data received {"connection_id":133308,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133308,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:00:59] local.INFO: Processing buffer {"connection_id":133308,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:00:59] local.INFO: IMEI packet received {"connection_id":133308,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 11:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":133308,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:01:01] local.INFO: TCP Data received {"connection_id":132453,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:01:01] local.INFO: Processing buffer {"connection_id":132453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:01:01] local.INFO: IMEI packet received {"connection_id":132453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":132453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:01:06] local.INFO: TCP Data received {"connection_id":132453,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:01:06] local.INFO: Processing buffer {"connection_id":132453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:01:06] local.INFO: IMEI packet received {"connection_id":132453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":132453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:01:10] local.INFO: TCP Data received {"connection_id":132453,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f6440c068012d7f998005afdce00000011c29..."} 
[2026-07-15 11:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6440c068012d7f998005afdce00000011c29..."} 
[2026-07-15 11:01:10] local.INFO: Processing buffer {"connection_id":132453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6440c068012d7f998005afdce00000011c29..."} 
[2026-07-15 11:01:10] local.INFO: Packet analysis {"connection_id":132453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6440"} 
[2026-07-15 11:01:10] local.INFO: Extracted packet for processing {"connection_id":132453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6440"} 
[2026-07-15 11:01:10] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11: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-07-15 11:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727831552001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784093393000,"timestamp_ms":1784093393000,"timestamp_seconds":1784093393,"priority":1,"record_length":96,"hex_timestamp":"0000019f6440c068"} 
[2026-07-15 11:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11: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-07-15 11:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":132453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":132453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":132453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:01:10] 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-07-15 11:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727831552001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727831552001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:01:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:01:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727831552001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":132453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:01:10] local.INFO: GPS data processed {"connection_id":132453,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:01:10] local.INFO: Acknowledgment sent {"connection_id":132453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:01:40] local.INFO: TCP Data received {"connection_id":133309,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133309,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:01:40] local.INFO: Processing buffer {"connection_id":133309,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:01:40] local.INFO: IMEI packet received {"connection_id":133309,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 11:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":133309,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:01:41] local.INFO: TCP Data received {"connection_id":132453,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f6440c068012d7f998005afdce00000011c29..."} 
[2026-07-15 11:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6440c068012d7f998005afdce00000011c29..."} 
[2026-07-15 11:01:41] local.INFO: Processing buffer {"connection_id":132453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6440c068012d7f998005afdce00000011c29..."} 
[2026-07-15 11:01:41] local.INFO: Packet analysis {"connection_id":132453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6440"} 
[2026-07-15 11:01:41] local.INFO: Extracted packet for processing {"connection_id":132453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6440"} 
[2026-07-15 11:01:41] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11: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-07-15 11:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727831552001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784093393000,"timestamp_ms":1784093393000,"timestamp_seconds":1784093393,"priority":1,"record_length":96,"hex_timestamp":"0000019f6440c068"} 
[2026-07-15 11:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11: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-07-15 11:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:01:41] 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-07-15 11:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727831552001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727831552001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:01:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:01:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727831552001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":132453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:01:41] local.INFO: GPS data processed {"connection_id":132453,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:01:41] local.INFO: Acknowledgment sent {"connection_id":132453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:02:06] local.INFO: TCP Data received {"connection_id":132454,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:02:06] local.INFO: Processing buffer {"connection_id":132454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:02:06] local.INFO: IMEI packet received {"connection_id":132454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":132454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:02:11] local.INFO: TCP Data received {"connection_id":132454,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:02:11] local.INFO: Processing buffer {"connection_id":132454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:02:11] local.INFO: IMEI packet received {"connection_id":132454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":132454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:02:12] local.INFO: TCP Data received {"connection_id":132454,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f6440c068012d7f998005afdce00000011c29..."} 
[2026-07-15 11:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6440c068012d7f998005afdce00000011c29..."} 
[2026-07-15 11:02:12] local.INFO: Processing buffer {"connection_id":132454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6440c068012d7f998005afdce00000011c29..."} 
[2026-07-15 11:02:12] local.INFO: Packet analysis {"connection_id":132454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6440"} 
[2026-07-15 11:02:12] local.INFO: Extracted packet for processing {"connection_id":132454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6440"} 
[2026-07-15 11:02:12] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11: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-07-15 11:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727831552001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784093393000,"timestamp_ms":1784093393000,"timestamp_seconds":1784093393,"priority":1,"record_length":96,"hex_timestamp":"0000019f6440c068"} 
[2026-07-15 11:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:02:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11: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-07-15 11:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:02:12] 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-07-15 11:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727831552001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727831552001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:02:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:02:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727831552001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":132454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:02:12] local.INFO: GPS data processed {"connection_id":132454,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:02:12] local.INFO: Acknowledgment sent {"connection_id":132454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:02:17] local.INFO: TCP Data received {"connection_id":132454,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f6440c068012d7f998005afdce00000011c29..."} 
[2026-07-15 11:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6440c068012d7f998005afdce00000011c29..."} 
[2026-07-15 11:02:17] local.INFO: Processing buffer {"connection_id":132454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6440c068012d7f998005afdce00000011c29..."} 
[2026-07-15 11:02:17] local.INFO: Packet analysis {"connection_id":132454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6440"} 
[2026-07-15 11:02:17] local.INFO: Extracted packet for processing {"connection_id":132454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6440"} 
[2026-07-15 11:02:17] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727831552001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784093393000,"timestamp_ms":1784093393000,"timestamp_seconds":1784093393,"priority":1,"record_length":96,"hex_timestamp":"0000019f6440c068"} 
[2026-07-15 11:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:02:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:02:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:02:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727831552001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727831552001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:02:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:02:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727831552001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":132454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:02:17] local.INFO: GPS data processed {"connection_id":132454,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:02:17] local.INFO: Acknowledgment sent {"connection_id":132454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:03:01] local.INFO: TCP Data received {"connection_id":134669,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:03:01] local.INFO: Processing buffer {"connection_id":134669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:03:01] local.INFO: IMEI packet received {"connection_id":134669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":134669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:03:06] local.INFO: TCP Data received {"connection_id":134669,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:03:06] local.INFO: Processing buffer {"connection_id":134669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:03:06] local.INFO: IMEI packet received {"connection_id":134669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":134669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:03:07] local.INFO: TCP Data received {"connection_id":134669,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f6440c068012d7f998005afdce00000011c29..."} 
[2026-07-15 11:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6440c068012d7f998005afdce00000011c29..."} 
[2026-07-15 11:03:07] local.INFO: Processing buffer {"connection_id":134669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6440c068012d7f998005afdce00000011c29..."} 
[2026-07-15 11:03:07] local.INFO: Packet analysis {"connection_id":134669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6440"} 
[2026-07-15 11:03:07] local.INFO: Extracted packet for processing {"connection_id":134669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6440"} 
[2026-07-15 11:03:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727831552001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784093393000,"timestamp_ms":1784093393000,"timestamp_seconds":1784093393,"priority":1,"record_length":96,"hex_timestamp":"0000019f6440c068"} 
[2026-07-15 11:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:03:07] 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-07-15 11:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727831552001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727831552001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:03:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:03:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727831552001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":134669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:03:07] local.INFO: GPS data processed {"connection_id":134669,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:03:07] local.INFO: Acknowledgment sent {"connection_id":134669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:03:38] local.INFO: TCP Data received {"connection_id":134669,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f6440c068012d7f998005afdce00000011c29..."} 
[2026-07-15 11:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6440c068012d7f998005afdce00000011c29..."} 
[2026-07-15 11:03:38] local.INFO: Processing buffer {"connection_id":134669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6440c068012d7f998005afdce00000011c29..."} 
[2026-07-15 11:03:38] local.INFO: Packet analysis {"connection_id":134669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6440"} 
[2026-07-15 11:03:38] local.INFO: Extracted packet for processing {"connection_id":134669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6440"} 
[2026-07-15 11:03:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11: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-07-15 11:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727831552001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784093393000,"timestamp_ms":1784093393000,"timestamp_seconds":1784093393,"priority":1,"record_length":96,"hex_timestamp":"0000019f6440c068"} 
[2026-07-15 11:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11: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-07-15 11:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:03:38] 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-07-15 11:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727831552001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727831552001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:03:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:03:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727831552001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":134669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:03:38] local.INFO: GPS data processed {"connection_id":134669,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:03:38] local.INFO: Acknowledgment sent {"connection_id":134669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:04:01] local.INFO: TCP Data received {"connection_id":132455,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:04:01] local.INFO: Processing buffer {"connection_id":132455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:04:01] local.INFO: IMEI packet received {"connection_id":132455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":132455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:04:06] local.INFO: TCP Data received {"connection_id":132455,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:04:06] local.INFO: Processing buffer {"connection_id":132455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:04:06] local.INFO: IMEI packet received {"connection_id":132455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":132455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:04:07] local.INFO: TCP Data received {"connection_id":132455,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f6440c068012d7f998005afdce00000011c29..."} 
[2026-07-15 11:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6440c068012d7f998005afdce00000011c29..."} 
[2026-07-15 11:04:07] local.INFO: Processing buffer {"connection_id":132455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6440c068012d7f998005afdce00000011c29..."} 
[2026-07-15 11:04:07] local.INFO: Packet analysis {"connection_id":132455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6440"} 
[2026-07-15 11:04:07] local.INFO: Extracted packet for processing {"connection_id":132455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6440"} 
[2026-07-15 11:04:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727831552001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784093393000,"timestamp_ms":1784093393000,"timestamp_seconds":1784093393,"priority":1,"record_length":96,"hex_timestamp":"0000019f6440c068"} 
[2026-07-15 11:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:04:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:04:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727831552001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727831552001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:04:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:04:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727831552001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":132455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:04:07] local.INFO: GPS data processed {"connection_id":132455,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:04:07] local.INFO: Acknowledgment sent {"connection_id":132455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:04:38] local.INFO: TCP Data received {"connection_id":132455,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f6440c068012d7f998005afdce00000011c29..."} 
[2026-07-15 11:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6440c068012d7f998005afdce00000011c29..."} 
[2026-07-15 11:04:38] local.INFO: Processing buffer {"connection_id":132455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6440c068012d7f998005afdce00000011c29..."} 
[2026-07-15 11:04:38] local.INFO: Packet analysis {"connection_id":132455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6440"} 
[2026-07-15 11:04:38] local.INFO: Extracted packet for processing {"connection_id":132455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6440"} 
[2026-07-15 11:04:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11: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-07-15 11:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727831552001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784093393000,"timestamp_ms":1784093393000,"timestamp_seconds":1784093393,"priority":1,"record_length":96,"hex_timestamp":"0000019f6440c068"} 
[2026-07-15 11:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11: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-07-15 11:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727831552001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727831552001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:04:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:04:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727831552001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":132455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:04:38] local.INFO: GPS data processed {"connection_id":132455,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:04:38] local.INFO: Acknowledgment sent {"connection_id":132455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:05:01] local.INFO: TCP Data received {"connection_id":132276,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:05:01] local.INFO: Processing buffer {"connection_id":132276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:05:01] local.INFO: IMEI packet received {"connection_id":132276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":132276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:05:07] local.INFO: TCP Data received {"connection_id":132276,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:05:07] local.INFO: Processing buffer {"connection_id":132276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:05:07] local.INFO: IMEI packet received {"connection_id":132276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":132276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:05:07] local.INFO: TCP Data received {"connection_id":132276,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f6440c068012d7f998005afdce00000011c29..."} 
[2026-07-15 11:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6440c068012d7f998005afdce00000011c29..."} 
[2026-07-15 11:05:07] local.INFO: Processing buffer {"connection_id":132276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6440c068012d7f998005afdce00000011c29..."} 
[2026-07-15 11:05:07] local.INFO: Packet analysis {"connection_id":132276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6440"} 
[2026-07-15 11:05:07] local.INFO: Extracted packet for processing {"connection_id":132276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6440"} 
[2026-07-15 11:05:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727831552001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784093393000,"timestamp_ms":1784093393000,"timestamp_seconds":1784093393,"priority":1,"record_length":96,"hex_timestamp":"0000019f6440c068"} 
[2026-07-15 11:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727831552001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727831552001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:05:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:05:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727831552001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":132276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:05:07] local.INFO: GPS data processed {"connection_id":132276,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:05:07] local.INFO: Acknowledgment sent {"connection_id":132276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:05:38] local.INFO: TCP Data received {"connection_id":132276,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f64455830012d7f998005afdce00000011c2a..."} 
[2026-07-15 11:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64455830012d7f998005afdce00000011c2a..."} 
[2026-07-15 11:05:38] local.INFO: Processing buffer {"connection_id":132276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64455830012d7f998005afdce00000011c2a..."} 
[2026-07-15 11:05:38] local.INFO: Packet analysis {"connection_id":132276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6445"} 
[2026-07-15 11:05:38] local.INFO: Extracted packet for processing {"connection_id":132276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6445"} 
[2026-07-15 11:05:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727908608001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784093694000,"timestamp_ms":1784093694000,"timestamp_seconds":1784093694,"priority":1,"record_length":96,"hex_timestamp":"0000019f64455830"} 
[2026-07-15 11:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727908608001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727908608001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:05:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:05:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727908608001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":132276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:05:38] local.INFO: GPS data processed {"connection_id":132276,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:05:38] local.INFO: Acknowledgment sent {"connection_id":132276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:06:11] local.INFO: TCP Data received {"connection_id":132457,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:06:11] local.INFO: Processing buffer {"connection_id":132457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:06:11] local.INFO: IMEI packet received {"connection_id":132457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":132457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:06:16] local.INFO: TCP Data received {"connection_id":132457,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:06:16] local.INFO: Processing buffer {"connection_id":132457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:06:16] local.INFO: IMEI packet received {"connection_id":132457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":132457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:06:17] local.INFO: TCP Data received {"connection_id":132457,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f64455830012d7f998005afdce00000011c2a..."} 
[2026-07-15 11:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64455830012d7f998005afdce00000011c2a..."} 
[2026-07-15 11:06:17] local.INFO: Processing buffer {"connection_id":132457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64455830012d7f998005afdce00000011c2a..."} 
[2026-07-15 11:06:17] local.INFO: Packet analysis {"connection_id":132457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6445"} 
[2026-07-15 11:06:17] local.INFO: Extracted packet for processing {"connection_id":132457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6445"} 
[2026-07-15 11:06:17] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727908608001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784093694000,"timestamp_ms":1784093694000,"timestamp_seconds":1784093694,"priority":1,"record_length":96,"hex_timestamp":"0000019f64455830"} 
[2026-07-15 11:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:06:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:06:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:06:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727908608001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727908608001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:06:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:06:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727908608001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":132457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:06:17] local.INFO: GPS data processed {"connection_id":132457,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:06:17] local.INFO: Acknowledgment sent {"connection_id":132457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:06:42] local.INFO: TCP Data received {"connection_id":134672,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134672,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:06:42] local.INFO: Processing buffer {"connection_id":134672,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:06:42] local.INFO: IMEI packet received {"connection_id":134672,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 11:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":134672,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:07:01] local.INFO: TCP Data received {"connection_id":133310,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:07:01] local.INFO: Processing buffer {"connection_id":133310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:07:01] local.INFO: IMEI packet received {"connection_id":133310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":133310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:07:06] local.INFO: TCP Data received {"connection_id":133310,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:07:06] local.INFO: Processing buffer {"connection_id":133310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:07:06] local.INFO: IMEI packet received {"connection_id":133310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":133310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:07:11] local.INFO: TCP Data received {"connection_id":133310,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f64455830012d7f998005afdce00000011c2a..."} 
[2026-07-15 11:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64455830012d7f998005afdce00000011c2a..."} 
[2026-07-15 11:07:11] local.INFO: Processing buffer {"connection_id":133310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64455830012d7f998005afdce00000011c2a..."} 
[2026-07-15 11:07:11] local.INFO: Packet analysis {"connection_id":133310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6445"} 
[2026-07-15 11:07:11] local.INFO: Extracted packet for processing {"connection_id":133310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6445"} 
[2026-07-15 11:07:11] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:07: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-07-15 11:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727908608001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784093694000,"timestamp_ms":1784093694000,"timestamp_seconds":1784093694,"priority":1,"record_length":96,"hex_timestamp":"0000019f64455830"} 
[2026-07-15 11:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:07: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-07-15 11:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":133310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":133310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":133310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:07:11] 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-07-15 11:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727908608001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727908608001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:07:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:07:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727908608001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":133310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:07:11] local.INFO: GPS data processed {"connection_id":133310,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:07:11] local.INFO: Acknowledgment sent {"connection_id":133310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:07:42] local.INFO: TCP Data received {"connection_id":133310,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f64455830012d7f998005afdce00000011c2a..."} 
[2026-07-15 11:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64455830012d7f998005afdce00000011c2a..."} 
[2026-07-15 11:07:42] local.INFO: Processing buffer {"connection_id":133310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64455830012d7f998005afdce00000011c2a..."} 
[2026-07-15 11:07:42] local.INFO: Packet analysis {"connection_id":133310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6445"} 
[2026-07-15 11:07:42] local.INFO: Extracted packet for processing {"connection_id":133310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6445"} 
[2026-07-15 11:07:42] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:07: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-07-15 11:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727908608001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784093694000,"timestamp_ms":1784093694000,"timestamp_seconds":1784093694,"priority":1,"record_length":96,"hex_timestamp":"0000019f64455830"} 
[2026-07-15 11:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:07:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:07: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-07-15 11:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":133310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":133310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":133310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:07:42] 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-07-15 11:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727908608001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727908608001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:07:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:07:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727908608001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":133310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:07:42] local.INFO: GPS data processed {"connection_id":133310,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:07:42] local.INFO: Acknowledgment sent {"connection_id":133310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:08:01] local.INFO: TCP Data received {"connection_id":132458,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:08:01] local.INFO: Processing buffer {"connection_id":132458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:08:01] local.INFO: IMEI packet received {"connection_id":132458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":132458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:08:06] local.INFO: TCP Data received {"connection_id":132458,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:08:06] local.INFO: Processing buffer {"connection_id":132458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:08:06] local.INFO: IMEI packet received {"connection_id":132458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":132458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:08:07] local.INFO: TCP Data received {"connection_id":132458,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f64455830012d7f998005afdce00000011c2a..."} 
[2026-07-15 11:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64455830012d7f998005afdce00000011c2a..."} 
[2026-07-15 11:08:07] local.INFO: Processing buffer {"connection_id":132458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64455830012d7f998005afdce00000011c2a..."} 
[2026-07-15 11:08:07] local.INFO: Packet analysis {"connection_id":132458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6445"} 
[2026-07-15 11:08:07] local.INFO: Extracted packet for processing {"connection_id":132458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6445"} 
[2026-07-15 11:08:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11: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-07-15 11:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727908608001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784093694000,"timestamp_ms":1784093694000,"timestamp_seconds":1784093694,"priority":1,"record_length":96,"hex_timestamp":"0000019f64455830"} 
[2026-07-15 11:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11: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-07-15 11:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727908608001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727908608001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:08:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:08:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727908608001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":132458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:08:07] local.INFO: GPS data processed {"connection_id":132458,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:08:07] local.INFO: Acknowledgment sent {"connection_id":132458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:08:39] local.INFO: TCP Data received {"connection_id":132458,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f64455830012d7f998005afdce00000011c2a..."} 
[2026-07-15 11:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64455830012d7f998005afdce00000011c2a..."} 
[2026-07-15 11:08:39] local.INFO: Processing buffer {"connection_id":132458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64455830012d7f998005afdce00000011c2a..."} 
[2026-07-15 11:08:39] local.INFO: Packet analysis {"connection_id":132458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6445"} 
[2026-07-15 11:08:39] local.INFO: Extracted packet for processing {"connection_id":132458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6445"} 
[2026-07-15 11:08:39] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727908608001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784093694000,"timestamp_ms":1784093694000,"timestamp_seconds":1784093694,"priority":1,"record_length":96,"hex_timestamp":"0000019f64455830"} 
[2026-07-15 11:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:08:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:08:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:08:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727908608001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727908608001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:08:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:08:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727908608001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":132458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:08:39] local.INFO: GPS data processed {"connection_id":132458,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:08:39] local.INFO: Acknowledgment sent {"connection_id":132458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:09:01] local.INFO: TCP Data received {"connection_id":133312,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:09:01] local.INFO: Processing buffer {"connection_id":133312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:09:01] local.INFO: IMEI packet received {"connection_id":133312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":133312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:09:06] local.INFO: TCP Data received {"connection_id":133312,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:09:06] local.INFO: Processing buffer {"connection_id":133312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:09:06] local.INFO: IMEI packet received {"connection_id":133312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":133312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:09:07] local.INFO: TCP Data received {"connection_id":133312,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f64455830012d7f998005afdce00000011c2a..."} 
[2026-07-15 11:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64455830012d7f998005afdce00000011c2a..."} 
[2026-07-15 11:09:07] local.INFO: Processing buffer {"connection_id":133312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64455830012d7f998005afdce00000011c2a..."} 
[2026-07-15 11:09:07] local.INFO: Packet analysis {"connection_id":133312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6445"} 
[2026-07-15 11:09:07] local.INFO: Extracted packet for processing {"connection_id":133312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6445"} 
[2026-07-15 11:09:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727908608001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784093694000,"timestamp_ms":1784093694000,"timestamp_seconds":1784093694,"priority":1,"record_length":96,"hex_timestamp":"0000019f64455830"} 
[2026-07-15 11:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727908608001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727908608001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:09:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:09:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727908608001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":133312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:09:07] local.INFO: GPS data processed {"connection_id":133312,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:09:07] local.INFO: Acknowledgment sent {"connection_id":133312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:09:38] local.INFO: TCP Data received {"connection_id":133312,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f64455830012d7f998005afdce00000011c2a..."} 
[2026-07-15 11:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64455830012d7f998005afdce00000011c2a..."} 
[2026-07-15 11:09:38] local.INFO: Processing buffer {"connection_id":133312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64455830012d7f998005afdce00000011c2a..."} 
[2026-07-15 11:09:38] local.INFO: Packet analysis {"connection_id":133312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6445"} 
[2026-07-15 11:09:38] local.INFO: Extracted packet for processing {"connection_id":133312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6445"} 
[2026-07-15 11:09:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11: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-07-15 11:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727908608001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784093694000,"timestamp_ms":1784093694000,"timestamp_seconds":1784093694,"priority":1,"record_length":96,"hex_timestamp":"0000019f64455830"} 
[2026-07-15 11:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11: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-07-15 11:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727908608001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727908608001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:09:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:09:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727908608001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":133312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:09:38] local.INFO: GPS data processed {"connection_id":133312,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:09:38] local.INFO: Acknowledgment sent {"connection_id":133312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:10:06] local.INFO: TCP Data received {"connection_id":132278,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:10:06] local.INFO: Processing buffer {"connection_id":132278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:10:06] local.INFO: IMEI packet received {"connection_id":132278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":132278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:10:11] local.INFO: TCP Data received {"connection_id":132278,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:10:11] local.INFO: Processing buffer {"connection_id":132278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:10:11] local.INFO: IMEI packet received {"connection_id":132278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":132278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:10:12] local.INFO: TCP Data received {"connection_id":132278,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f64455830012d7f998005afdce00000011c2a..."} 
[2026-07-15 11:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64455830012d7f998005afdce00000011c2a..."} 
[2026-07-15 11:10:12] local.INFO: Processing buffer {"connection_id":132278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64455830012d7f998005afdce00000011c2a..."} 
[2026-07-15 11:10:12] local.INFO: Packet analysis {"connection_id":132278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6445"} 
[2026-07-15 11:10:12] local.INFO: Extracted packet for processing {"connection_id":132278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6445"} 
[2026-07-15 11:10:12] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727908608001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784093694000,"timestamp_ms":1784093694000,"timestamp_seconds":1784093694,"priority":1,"record_length":96,"hex_timestamp":"0000019f64455830"} 
[2026-07-15 11:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:10:12] 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-07-15 11:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727908608001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727908608001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:10:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:10:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727908608001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":132278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:10:12] local.INFO: GPS data processed {"connection_id":132278,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:10:12] local.INFO: Acknowledgment sent {"connection_id":132278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:10:16] local.INFO: TCP Data received {"connection_id":132278,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f64455830012d7f998005afdce00000011c2a..."} 
[2026-07-15 11:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64455830012d7f998005afdce00000011c2a..."} 
[2026-07-15 11:10:16] local.INFO: Processing buffer {"connection_id":132278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64455830012d7f998005afdce00000011c2a..."} 
[2026-07-15 11:10:16] local.INFO: Packet analysis {"connection_id":132278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6445"} 
[2026-07-15 11:10:16] local.INFO: Extracted packet for processing {"connection_id":132278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6445"} 
[2026-07-15 11:10:16] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727908608001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:10:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784093694000,"timestamp_ms":1784093694000,"timestamp_seconds":1784093694,"priority":1,"record_length":96,"hex_timestamp":"0000019f64455830"} 
[2026-07-15 11:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:10:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727908608001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727908608001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:10:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:10:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727908608001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":132278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:10:16] local.INFO: GPS data processed {"connection_id":132278,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:10:16] local.INFO: Acknowledgment sent {"connection_id":132278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:11:01] local.INFO: TCP Data received {"connection_id":132460,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:11:01] local.INFO: Processing buffer {"connection_id":132460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:11:01] local.INFO: IMEI packet received {"connection_id":132460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":132460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:11:06] local.INFO: TCP Data received {"connection_id":132460,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:11:06] local.INFO: Processing buffer {"connection_id":132460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:11:06] local.INFO: IMEI packet received {"connection_id":132460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":132460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:11:07] local.INFO: TCP Data received {"connection_id":132460,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f6449eff8012d7f998005afdce00012011c2c..."} 
[2026-07-15 11:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6449eff8012d7f998005afdce00012011c2c..."} 
[2026-07-15 11:11:07] local.INFO: Processing buffer {"connection_id":132460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6449eff8012d7f998005afdce00012011c2c..."} 
[2026-07-15 11:11:07] local.INFO: Packet analysis {"connection_id":132460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6449"} 
[2026-07-15 11:11:07] local.INFO: Extracted packet for processing {"connection_id":132460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6449"} 
[2026-07-15 11:11:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":18,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727985664001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784093995000,"timestamp_ms":1784093995000,"timestamp_seconds":1784093995,"priority":1,"record_length":96,"hex_timestamp":"0000019f6449eff8"} 
[2026-07-15 11:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:11:07] 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-07-15 11:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727985664001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727985664001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:11:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:11:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727985664001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":132460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:11:07] local.INFO: GPS data processed {"connection_id":132460,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:11:07] local.INFO: Acknowledgment sent {"connection_id":132460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:11:38] local.INFO: TCP Data received {"connection_id":132460,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f6449eff8012d7f998005afdce00012011c2c..."} 
[2026-07-15 11:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6449eff8012d7f998005afdce00012011c2c..."} 
[2026-07-15 11:11:38] local.INFO: Processing buffer {"connection_id":132460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6449eff8012d7f998005afdce00012011c2c..."} 
[2026-07-15 11:11:38] local.INFO: Packet analysis {"connection_id":132460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6449"} 
[2026-07-15 11:11:38] local.INFO: Extracted packet for processing {"connection_id":132460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6449"} 
[2026-07-15 11:11:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":18,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727985664001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784093995000,"timestamp_ms":1784093995000,"timestamp_seconds":1784093995,"priority":1,"record_length":96,"hex_timestamp":"0000019f6449eff8"} 
[2026-07-15 11:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:11:38] 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-07-15 11:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727985664001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727985664001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:11:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:11:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727985664001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":132460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:11:38] local.INFO: GPS data processed {"connection_id":132460,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:11:38] local.INFO: Acknowledgment sent {"connection_id":132460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:12:01] local.INFO: TCP Data received {"connection_id":132279,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:12:01] local.INFO: Processing buffer {"connection_id":132279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:12:01] local.INFO: IMEI packet received {"connection_id":132279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":132279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:12:06] local.INFO: TCP Data received {"connection_id":132279,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:12:06] local.INFO: Processing buffer {"connection_id":132279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:12:06] local.INFO: IMEI packet received {"connection_id":132279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":132279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:12:07] local.INFO: TCP Data received {"connection_id":132279,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f6449eff8012d7f998005afdce00012011c2c..."} 
[2026-07-15 11:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6449eff8012d7f998005afdce00012011c2c..."} 
[2026-07-15 11:12:07] local.INFO: Processing buffer {"connection_id":132279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6449eff8012d7f998005afdce00012011c2c..."} 
[2026-07-15 11:12:07] local.INFO: Packet analysis {"connection_id":132279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6449"} 
[2026-07-15 11:12:07] local.INFO: Extracted packet for processing {"connection_id":132279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6449"} 
[2026-07-15 11:12:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":18,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11: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-07-15 11:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727985664001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784093995000,"timestamp_ms":1784093995000,"timestamp_seconds":1784093995,"priority":1,"record_length":96,"hex_timestamp":"0000019f6449eff8"} 
[2026-07-15 11:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11: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-07-15 11:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727985664001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727985664001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:12:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:12:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727985664001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":132279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:12:07] local.INFO: GPS data processed {"connection_id":132279,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:12:07] local.INFO: Acknowledgment sent {"connection_id":132279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:12:15] local.INFO: TCP Data received {"connection_id":134674,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134674,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:12:15] local.INFO: Processing buffer {"connection_id":134674,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:12:15] local.INFO: IMEI packet received {"connection_id":134674,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 11:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":134674,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:12:35] local.INFO: TCP Data received {"connection_id":134675,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134675,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:12:35] local.INFO: Processing buffer {"connection_id":134675,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:12:35] local.INFO: IMEI packet received {"connection_id":134675,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 11:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":134675,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:12:38] local.INFO: TCP Data received {"connection_id":132279,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f6449eff8012d7f998005afdce00012011c2c..."} 
[2026-07-15 11:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6449eff8012d7f998005afdce00012011c2c..."} 
[2026-07-15 11:12:38] local.INFO: Processing buffer {"connection_id":132279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6449eff8012d7f998005afdce00012011c2c..."} 
[2026-07-15 11:12:38] local.INFO: Packet analysis {"connection_id":132279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6449"} 
[2026-07-15 11:12:38] local.INFO: Extracted packet for processing {"connection_id":132279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6449"} 
[2026-07-15 11:12:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":18,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11: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-07-15 11:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727985664001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784093995000,"timestamp_ms":1784093995000,"timestamp_seconds":1784093995,"priority":1,"record_length":96,"hex_timestamp":"0000019f6449eff8"} 
[2026-07-15 11:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11: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-07-15 11:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727985664001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727985664001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:12:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:12:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727985664001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":132279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:12:38] local.INFO: GPS data processed {"connection_id":132279,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:12:38] local.INFO: Acknowledgment sent {"connection_id":132279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:13:01] local.INFO: TCP Data received {"connection_id":133313,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:13:01] local.INFO: Processing buffer {"connection_id":133313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:13:01] local.INFO: IMEI packet received {"connection_id":133313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":133313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:13:06] local.INFO: TCP Data received {"connection_id":133313,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:13:06] local.INFO: Processing buffer {"connection_id":133313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:13:06] local.INFO: IMEI packet received {"connection_id":133313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":133313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:13:07] local.INFO: TCP Data received {"connection_id":133313,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f6449eff8012d7f998005afdce00012011c2c..."} 
[2026-07-15 11:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6449eff8012d7f998005afdce00012011c2c..."} 
[2026-07-15 11:13:07] local.INFO: Processing buffer {"connection_id":133313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6449eff8012d7f998005afdce00012011c2c..."} 
[2026-07-15 11:13:07] local.INFO: Packet analysis {"connection_id":133313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6449"} 
[2026-07-15 11:13:07] local.INFO: Extracted packet for processing {"connection_id":133313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6449"} 
[2026-07-15 11:13:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":18,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727985664001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784093995000,"timestamp_ms":1784093995000,"timestamp_seconds":1784093995,"priority":1,"record_length":96,"hex_timestamp":"0000019f6449eff8"} 
[2026-07-15 11:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727985664001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727985664001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:13:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:13:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727985664001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":133313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:13:07] local.INFO: GPS data processed {"connection_id":133313,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:13:07] local.INFO: Acknowledgment sent {"connection_id":133313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:13:40] local.INFO: TCP Data received {"connection_id":133313,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f6449eff8012d7f998005afdce00012011c2c..."} 
[2026-07-15 11:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6449eff8012d7f998005afdce00012011c2c..."} 
[2026-07-15 11:13:40] local.INFO: Processing buffer {"connection_id":133313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6449eff8012d7f998005afdce00012011c2c..."} 
[2026-07-15 11:13:40] local.INFO: Packet analysis {"connection_id":133313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6449"} 
[2026-07-15 11:13:40] local.INFO: Extracted packet for processing {"connection_id":133313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6449"} 
[2026-07-15 11:13:40] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":18,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727985664001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784093995000,"timestamp_ms":1784093995000,"timestamp_seconds":1784093995,"priority":1,"record_length":96,"hex_timestamp":"0000019f6449eff8"} 
[2026-07-15 11:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11: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-07-15 11:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":133313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":133313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":133313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727985664001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727985664001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:13:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:13:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727985664001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":133313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:13:40] local.INFO: GPS data processed {"connection_id":133313,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:13:40] local.INFO: Acknowledgment sent {"connection_id":133313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:14:01] local.INFO: TCP Data received {"connection_id":132462,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:14:01] local.INFO: Processing buffer {"connection_id":132462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:14:01] local.INFO: IMEI packet received {"connection_id":132462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":132462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:14:06] local.INFO: TCP Data received {"connection_id":132462,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:14:06] local.INFO: Processing buffer {"connection_id":132462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:14:06] local.INFO: IMEI packet received {"connection_id":132462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":132462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:14:07] local.INFO: TCP Data received {"connection_id":132462,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f6449eff8012d7f998005afdce00012011c2c..."} 
[2026-07-15 11:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6449eff8012d7f998005afdce00012011c2c..."} 
[2026-07-15 11:14:07] local.INFO: Processing buffer {"connection_id":132462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6449eff8012d7f998005afdce00012011c2c..."} 
[2026-07-15 11:14:07] local.INFO: Packet analysis {"connection_id":132462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6449"} 
[2026-07-15 11:14:07] local.INFO: Extracted packet for processing {"connection_id":132462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6449"} 
[2026-07-15 11:14:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":18,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11: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-07-15 11:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727985664001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784093995000,"timestamp_ms":1784093995000,"timestamp_seconds":1784093995,"priority":1,"record_length":96,"hex_timestamp":"0000019f6449eff8"} 
[2026-07-15 11:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11: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-07-15 11:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727985664001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727985664001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:14:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:14:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727985664001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":132462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:14:07] local.INFO: GPS data processed {"connection_id":132462,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:14:07] local.INFO: Acknowledgment sent {"connection_id":132462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:14:38] local.INFO: TCP Data received {"connection_id":132462,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f6449eff8012d7f998005afdce00012011c2c..."} 
[2026-07-15 11:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6449eff8012d7f998005afdce00012011c2c..."} 
[2026-07-15 11:14:38] local.INFO: Processing buffer {"connection_id":132462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6449eff8012d7f998005afdce00012011c2c..."} 
[2026-07-15 11:14:38] local.INFO: Packet analysis {"connection_id":132462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6449"} 
[2026-07-15 11:14:38] local.INFO: Extracted packet for processing {"connection_id":132462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6449"} 
[2026-07-15 11:14:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":18,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727985664001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784093995000,"timestamp_ms":1784093995000,"timestamp_seconds":1784093995,"priority":1,"record_length":96,"hex_timestamp":"0000019f6449eff8"} 
[2026-07-15 11:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727985664001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727985664001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:14:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:14:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727985664001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":132462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:14:38] local.INFO: GPS data processed {"connection_id":132462,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:14:38] local.INFO: Acknowledgment sent {"connection_id":132462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:15:06] local.INFO: TCP Data received {"connection_id":132280,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:15:06] local.INFO: Processing buffer {"connection_id":132280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:15:06] local.INFO: IMEI packet received {"connection_id":132280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":132280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:15:11] local.INFO: TCP Data received {"connection_id":132280,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:15:11] local.INFO: Processing buffer {"connection_id":132280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:15:11] local.INFO: IMEI packet received {"connection_id":132280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":132280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:15:12] local.INFO: TCP Data received {"connection_id":132280,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f6449eff8012d7f998005afdce00012011c2c..."} 
[2026-07-15 11:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6449eff8012d7f998005afdce00012011c2c..."} 
[2026-07-15 11:15:12] local.INFO: Processing buffer {"connection_id":132280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6449eff8012d7f998005afdce00012011c2c..."} 
[2026-07-15 11:15:12] local.INFO: Packet analysis {"connection_id":132280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6449"} 
[2026-07-15 11:15:12] local.INFO: Extracted packet for processing {"connection_id":132280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6449"} 
[2026-07-15 11:15:12] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":18,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727985664001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784093995000,"timestamp_ms":1784093995000,"timestamp_seconds":1784093995,"priority":1,"record_length":96,"hex_timestamp":"0000019f6449eff8"} 
[2026-07-15 11:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:15:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:15:12] 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-07-15 11:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727985664001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727985664001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:15:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:15:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727985664001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":132280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:15:12] local.INFO: GPS data processed {"connection_id":132280,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:15:12] local.INFO: Acknowledgment sent {"connection_id":132280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:15:16] local.INFO: TCP Data received {"connection_id":132280,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f6449eff8012d7f998005afdce00012011c2c..."} 
[2026-07-15 11:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6449eff8012d7f998005afdce00012011c2c..."} 
[2026-07-15 11:15:16] local.INFO: Processing buffer {"connection_id":132280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6449eff8012d7f998005afdce00012011c2c..."} 
[2026-07-15 11:15:16] local.INFO: Packet analysis {"connection_id":132280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6449"} 
[2026-07-15 11:15:16] local.INFO: Extracted packet for processing {"connection_id":132280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6449"} 
[2026-07-15 11:15:16] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":18,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456727985664001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:15:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784093995000,"timestamp_ms":1784093995000,"timestamp_seconds":1784093995,"priority":1,"record_length":96,"hex_timestamp":"0000019f6449eff8"} 
[2026-07-15 11:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:15:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:15:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:15:16] 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-07-15 11:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:15:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:15:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456727985664001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:15:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:15:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:15:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456727985664001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:15:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:15:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:15:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:15:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:15:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456727985664001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:15:17] local.INFO: DEBUG: GPS processor result {"connection_id":132280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:15:17] local.INFO: GPS data processed {"connection_id":132280,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:15:17] local.INFO: Acknowledgment sent {"connection_id":132280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:16:01] local.INFO: TCP Data received {"connection_id":134678,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:16:01] local.INFO: Processing buffer {"connection_id":134678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:16:01] local.INFO: IMEI packet received {"connection_id":134678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":134678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:16:06] local.INFO: TCP Data received {"connection_id":134678,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:16:06] local.INFO: Processing buffer {"connection_id":134678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:16:06] local.INFO: IMEI packet received {"connection_id":134678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":134678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:16:07] local.INFO: TCP Data received {"connection_id":134678,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f644e87c0012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f644e87c0012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:16:07] local.INFO: Processing buffer {"connection_id":134678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f644e87c0012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:16:07] local.INFO: Packet analysis {"connection_id":134678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f644e"} 
[2026-07-15 11:16:07] local.INFO: Extracted packet for processing {"connection_id":134678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f644e"} 
[2026-07-15 11:16:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":17,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728062720001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784094296000,"timestamp_ms":1784094296000,"timestamp_seconds":1784094296,"priority":1,"record_length":96,"hex_timestamp":"0000019f644e87c0"} 
[2026-07-15 11:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:16:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:16:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728062720001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728062720001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:16:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:16:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728062720001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":134678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:16:07] local.INFO: GPS data processed {"connection_id":134678,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:16:07] local.INFO: Acknowledgment sent {"connection_id":134678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:16:39] local.INFO: TCP Data received {"connection_id":134678,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f644e87c0012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f644e87c0012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:16:39] local.INFO: Processing buffer {"connection_id":134678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f644e87c0012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:16:39] local.INFO: Packet analysis {"connection_id":134678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f644e"} 
[2026-07-15 11:16:39] local.INFO: Extracted packet for processing {"connection_id":134678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f644e"} 
[2026-07-15 11:16:39] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":17,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728062720001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784094296000,"timestamp_ms":1784094296000,"timestamp_seconds":1784094296,"priority":1,"record_length":96,"hex_timestamp":"0000019f644e87c0"} 
[2026-07-15 11:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:16:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:16:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:16: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-07-15 11:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728062720001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728062720001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:16:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:16:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728062720001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":134678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:16:39] local.INFO: GPS data processed {"connection_id":134678,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:16:39] local.INFO: Acknowledgment sent {"connection_id":134678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:17:01] local.INFO: TCP Data received {"connection_id":132281,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:17:01] local.INFO: Processing buffer {"connection_id":132281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:17:01] local.INFO: IMEI packet received {"connection_id":132281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":132281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:17:06] local.INFO: TCP Data received {"connection_id":132281,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:17:06] local.INFO: Processing buffer {"connection_id":132281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:17:06] local.INFO: IMEI packet received {"connection_id":132281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":132281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:17:07] local.INFO: TCP Data received {"connection_id":132281,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f644e87c0012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f644e87c0012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:17:07] local.INFO: Processing buffer {"connection_id":132281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f644e87c0012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:17:07] local.INFO: Packet analysis {"connection_id":132281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f644e"} 
[2026-07-15 11:17:07] local.INFO: Extracted packet for processing {"connection_id":132281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f644e"} 
[2026-07-15 11:17:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":17,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728062720001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784094296000,"timestamp_ms":1784094296000,"timestamp_seconds":1784094296,"priority":1,"record_length":96,"hex_timestamp":"0000019f644e87c0"} 
[2026-07-15 11:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728062720001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728062720001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:17:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:17:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728062720001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":132281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:17:07] local.INFO: GPS data processed {"connection_id":132281,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:17:07] local.INFO: Acknowledgment sent {"connection_id":132281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:17:38] local.INFO: TCP Data received {"connection_id":132281,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f644e87c0012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f644e87c0012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:17:38] local.INFO: Processing buffer {"connection_id":132281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f644e87c0012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:17:38] local.INFO: Packet analysis {"connection_id":132281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f644e"} 
[2026-07-15 11:17:38] local.INFO: Extracted packet for processing {"connection_id":132281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f644e"} 
[2026-07-15 11:17:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":17,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11: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-07-15 11:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728062720001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784094296000,"timestamp_ms":1784094296000,"timestamp_seconds":1784094296,"priority":1,"record_length":96,"hex_timestamp":"0000019f644e87c0"} 
[2026-07-15 11:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11: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-07-15 11:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728062720001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728062720001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:17:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:17:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728062720001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":132281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:17:38] local.INFO: GPS data processed {"connection_id":132281,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:17:38] local.INFO: Acknowledgment sent {"connection_id":132281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:18:00] local.INFO: TCP Data received {"connection_id":134679,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134679,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:18:00] local.INFO: Processing buffer {"connection_id":134679,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:18:00] local.INFO: IMEI packet received {"connection_id":134679,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 11:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":134679,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:18:01] local.INFO: TCP Data received {"connection_id":133314,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:18:01] local.INFO: Processing buffer {"connection_id":133314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:18:01] local.INFO: IMEI packet received {"connection_id":133314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":133314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:18:06] local.INFO: TCP Data received {"connection_id":133314,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:18:06] local.INFO: Processing buffer {"connection_id":133314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:18:06] local.INFO: IMEI packet received {"connection_id":133314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":133314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:18:07] local.INFO: TCP Data received {"connection_id":133314,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f644e87c0012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f644e87c0012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:18:07] local.INFO: Processing buffer {"connection_id":133314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f644e87c0012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:18:07] local.INFO: Packet analysis {"connection_id":133314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f644e"} 
[2026-07-15 11:18:07] local.INFO: Extracted packet for processing {"connection_id":133314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f644e"} 
[2026-07-15 11:18:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":17,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728062720001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784094296000,"timestamp_ms":1784094296000,"timestamp_seconds":1784094296,"priority":1,"record_length":96,"hex_timestamp":"0000019f644e87c0"} 
[2026-07-15 11:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:18:07] 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-07-15 11:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728062720001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728062720001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:18:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:18:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728062720001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":133314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:18:07] local.INFO: GPS data processed {"connection_id":133314,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:18:07] local.INFO: Acknowledgment sent {"connection_id":133314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:18:38] local.INFO: TCP Data received {"connection_id":133314,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f644e87c0012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f644e87c0012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:18:38] local.INFO: Processing buffer {"connection_id":133314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f644e87c0012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:18:38] local.INFO: Packet analysis {"connection_id":133314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f644e"} 
[2026-07-15 11:18:38] local.INFO: Extracted packet for processing {"connection_id":133314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f644e"} 
[2026-07-15 11:18:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":17,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11: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-07-15 11:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728062720001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784094296000,"timestamp_ms":1784094296000,"timestamp_seconds":1784094296,"priority":1,"record_length":96,"hex_timestamp":"0000019f644e87c0"} 
[2026-07-15 11:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:18:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11: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-07-15 11:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:18:38] 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-07-15 11:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728062720001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728062720001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:18:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:18:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728062720001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":133314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:18:38] local.INFO: GPS data processed {"connection_id":133314,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:18:38] local.INFO: Acknowledgment sent {"connection_id":133314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:18:40] local.INFO: TCP Data received {"connection_id":132465,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132465,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:18:40] local.INFO: Processing buffer {"connection_id":132465,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:18:40] local.INFO: IMEI packet received {"connection_id":132465,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 11:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":132465,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:19:01] local.INFO: TCP Data received {"connection_id":132282,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:19:01] local.INFO: Processing buffer {"connection_id":132282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:19:01] local.INFO: IMEI packet received {"connection_id":132282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":132282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:19:06] local.INFO: TCP Data received {"connection_id":132282,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:19:06] local.INFO: Processing buffer {"connection_id":132282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:19:06] local.INFO: IMEI packet received {"connection_id":132282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":132282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:19:07] local.INFO: TCP Data received {"connection_id":132282,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f644e87c0012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f644e87c0012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:19:07] local.INFO: Processing buffer {"connection_id":132282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f644e87c0012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:19:07] local.INFO: Packet analysis {"connection_id":132282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f644e"} 
[2026-07-15 11:19:07] local.INFO: Extracted packet for processing {"connection_id":132282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f644e"} 
[2026-07-15 11:19:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":17,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728062720001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784094296000,"timestamp_ms":1784094296000,"timestamp_seconds":1784094296,"priority":1,"record_length":96,"hex_timestamp":"0000019f644e87c0"} 
[2026-07-15 11:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:19:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:19:07] 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-07-15 11:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728062720001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728062720001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:19:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:19:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728062720001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":132282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:19:07] local.INFO: GPS data processed {"connection_id":132282,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:19:07] local.INFO: Acknowledgment sent {"connection_id":132282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:19:38] local.INFO: TCP Data received {"connection_id":132282,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f644e87c0012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f644e87c0012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:19:38] local.INFO: Processing buffer {"connection_id":132282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f644e87c0012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:19:38] local.INFO: Packet analysis {"connection_id":132282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f644e"} 
[2026-07-15 11:19:38] local.INFO: Extracted packet for processing {"connection_id":132282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f644e"} 
[2026-07-15 11:19:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":17,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728062720001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784094296000,"timestamp_ms":1784094296000,"timestamp_seconds":1784094296,"priority":1,"record_length":96,"hex_timestamp":"0000019f644e87c0"} 
[2026-07-15 11:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728062720001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728062720001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:19:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:19:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728062720001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":132282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:19:38] local.INFO: GPS data processed {"connection_id":132282,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:19:38] local.INFO: Acknowledgment sent {"connection_id":132282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:20:06] local.INFO: TCP Data received {"connection_id":134680,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:20:06] local.INFO: Processing buffer {"connection_id":134680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:20:06] local.INFO: IMEI packet received {"connection_id":134680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":134680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:20:11] local.INFO: TCP Data received {"connection_id":134680,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:20:11] local.INFO: Processing buffer {"connection_id":134680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:20:11] local.INFO: IMEI packet received {"connection_id":134680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":134680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:20:12] local.INFO: TCP Data received {"connection_id":134680,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f644e87c0012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f644e87c0012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:20:12] local.INFO: Processing buffer {"connection_id":134680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f644e87c0012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:20:12] local.INFO: Packet analysis {"connection_id":134680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f644e"} 
[2026-07-15 11:20:12] local.INFO: Extracted packet for processing {"connection_id":134680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f644e"} 
[2026-07-15 11:20:12] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":17,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728062720001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784094296000,"timestamp_ms":1784094296000,"timestamp_seconds":1784094296,"priority":1,"record_length":96,"hex_timestamp":"0000019f644e87c0"} 
[2026-07-15 11:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:20:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:20:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":134680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":134680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":134680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728062720001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728062720001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:20:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:20:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728062720001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":134680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:20:12] local.INFO: GPS data processed {"connection_id":134680,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:20:12] local.INFO: Acknowledgment sent {"connection_id":134680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:20:16] local.INFO: TCP Data received {"connection_id":134680,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f644e87c0012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f644e87c0012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:20:16] local.INFO: Processing buffer {"connection_id":134680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f644e87c0012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:20:16] local.INFO: Packet analysis {"connection_id":134680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f644e"} 
[2026-07-15 11:20:16] local.INFO: Extracted packet for processing {"connection_id":134680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f644e"} 
[2026-07-15 11:20:16] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":17,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728062720001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:20:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784094296000,"timestamp_ms":1784094296000,"timestamp_seconds":1784094296,"priority":1,"record_length":96,"hex_timestamp":"0000019f644e87c0"} 
[2026-07-15 11:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:20:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:20:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":134680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":134680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":134680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728062720001,"66":25702,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728062720001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:20:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:20:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728062720001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":134680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:20:16] local.INFO: GPS data processed {"connection_id":134680,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:20:16] local.INFO: Acknowledgment sent {"connection_id":134680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:21:01] local.INFO: TCP Data received {"connection_id":134681,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:21:01] local.INFO: Processing buffer {"connection_id":134681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:21:01] local.INFO: IMEI packet received {"connection_id":134681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":134681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:21:06] local.INFO: TCP Data received {"connection_id":134681,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:21:06] local.INFO: Processing buffer {"connection_id":134681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:21:06] local.INFO: IMEI packet received {"connection_id":134681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":134681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:21:07] local.INFO: TCP Data received {"connection_id":134681,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f64531f88012d7f998005afdce00011011c2d..."} 
[2026-07-15 11:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64531f88012d7f998005afdce00011011c2d..."} 
[2026-07-15 11:21:07] local.INFO: Processing buffer {"connection_id":134681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64531f88012d7f998005afdce00011011c2d..."} 
[2026-07-15 11:21:07] local.INFO: Packet analysis {"connection_id":134681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6453"} 
[2026-07-15 11:21:07] local.INFO: Extracted packet for processing {"connection_id":134681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6453"} 
[2026-07-15 11:21:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":17,"angle":284,"satellites":45,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728139776001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784094597000,"timestamp_ms":1784094597000,"timestamp_seconds":1784094597,"priority":1,"record_length":96,"hex_timestamp":"0000019f64531f88"} 
[2026-07-15 11:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728139776001,"66":25680,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728139776001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:21:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:21:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728139776001,"power":25680,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":134681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:21:07] local.INFO: GPS data processed {"connection_id":134681,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:21:07] local.INFO: Acknowledgment sent {"connection_id":134681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:21:38] local.INFO: TCP Data received {"connection_id":134681,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f64531f88012d7f998005afdce00011011c2d..."} 
[2026-07-15 11:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64531f88012d7f998005afdce00011011c2d..."} 
[2026-07-15 11:21:38] local.INFO: Processing buffer {"connection_id":134681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64531f88012d7f998005afdce00011011c2d..."} 
[2026-07-15 11:21:38] local.INFO: Packet analysis {"connection_id":134681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6453"} 
[2026-07-15 11:21:38] local.INFO: Extracted packet for processing {"connection_id":134681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6453"} 
[2026-07-15 11:21:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":17,"angle":284,"satellites":45,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728139776001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784094597000,"timestamp_ms":1784094597000,"timestamp_seconds":1784094597,"priority":1,"record_length":96,"hex_timestamp":"0000019f64531f88"} 
[2026-07-15 11:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728139776001,"66":25680,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728139776001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:21:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:21:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728139776001,"power":25680,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":134681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:21:38] local.INFO: GPS data processed {"connection_id":134681,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:21:38] local.INFO: Acknowledgment sent {"connection_id":134681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:22:01] local.INFO: TCP Data received {"connection_id":132467,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:22:01] local.INFO: Processing buffer {"connection_id":132467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:22:01] local.INFO: IMEI packet received {"connection_id":132467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":132467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:22:06] local.INFO: TCP Data received {"connection_id":132467,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:22:06] local.INFO: Processing buffer {"connection_id":132467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:22:06] local.INFO: IMEI packet received {"connection_id":132467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":132467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:22:07] local.INFO: TCP Data received {"connection_id":132467,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f64531f88012d7f998005afdce00011011c2d..."} 
[2026-07-15 11:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64531f88012d7f998005afdce00011011c2d..."} 
[2026-07-15 11:22:07] local.INFO: Processing buffer {"connection_id":132467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64531f88012d7f998005afdce00011011c2d..."} 
[2026-07-15 11:22:07] local.INFO: Packet analysis {"connection_id":132467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6453"} 
[2026-07-15 11:22:07] local.INFO: Extracted packet for processing {"connection_id":132467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6453"} 
[2026-07-15 11:22:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":17,"angle":284,"satellites":45,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728139776001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784094597000,"timestamp_ms":1784094597000,"timestamp_seconds":1784094597,"priority":1,"record_length":96,"hex_timestamp":"0000019f64531f88"} 
[2026-07-15 11:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:22:07] 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-07-15 11:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728139776001,"66":25680,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728139776001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:22:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:22:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728139776001,"power":25680,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":132467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:22:07] local.INFO: GPS data processed {"connection_id":132467,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:22:07] local.INFO: Acknowledgment sent {"connection_id":132467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:22:38] local.INFO: TCP Data received {"connection_id":132467,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f64531f88012d7f998005afdce00011011c2d..."} 
[2026-07-15 11:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64531f88012d7f998005afdce00011011c2d..."} 
[2026-07-15 11:22:38] local.INFO: Processing buffer {"connection_id":132467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64531f88012d7f998005afdce00011011c2d..."} 
[2026-07-15 11:22:38] local.INFO: Packet analysis {"connection_id":132467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6453"} 
[2026-07-15 11:22:38] local.INFO: Extracted packet for processing {"connection_id":132467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6453"} 
[2026-07-15 11:22:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":17,"angle":284,"satellites":45,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728139776001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784094597000,"timestamp_ms":1784094597000,"timestamp_seconds":1784094597,"priority":1,"record_length":96,"hex_timestamp":"0000019f64531f88"} 
[2026-07-15 11:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728139776001,"66":25680,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728139776001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:22:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:22:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728139776001,"power":25680,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":132467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:22:38] local.INFO: GPS data processed {"connection_id":132467,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:22:38] local.INFO: Acknowledgment sent {"connection_id":132467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:23:02] local.INFO: TCP Data received {"connection_id":134682,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:23:02] local.INFO: Processing buffer {"connection_id":134682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:23:02] local.INFO: IMEI packet received {"connection_id":134682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":134682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:23:06] local.INFO: TCP Data received {"connection_id":134682,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:23:06] local.INFO: Processing buffer {"connection_id":134682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:23:06] local.INFO: IMEI packet received {"connection_id":134682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":134682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:23:07] local.INFO: TCP Data received {"connection_id":134682,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f64531f88012d7f998005afdce00011011c2d..."} 
[2026-07-15 11:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64531f88012d7f998005afdce00011011c2d..."} 
[2026-07-15 11:23:07] local.INFO: Processing buffer {"connection_id":134682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64531f88012d7f998005afdce00011011c2d..."} 
[2026-07-15 11:23:07] local.INFO: Packet analysis {"connection_id":134682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6453"} 
[2026-07-15 11:23:07] local.INFO: Extracted packet for processing {"connection_id":134682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6453"} 
[2026-07-15 11:23:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":17,"angle":284,"satellites":45,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11: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-07-15 11:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728139776001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784094597000,"timestamp_ms":1784094597000,"timestamp_seconds":1784094597,"priority":1,"record_length":96,"hex_timestamp":"0000019f64531f88"} 
[2026-07-15 11:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11: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-07-15 11:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:23:07] 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-07-15 11:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728139776001,"66":25680,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728139776001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:23:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:23:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728139776001,"power":25680,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":134682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:23:07] local.INFO: GPS data processed {"connection_id":134682,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:23:07] local.INFO: Acknowledgment sent {"connection_id":134682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:23:38] local.INFO: TCP Data received {"connection_id":134682,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f64531f88012d7f998005afdce00011011c2d..."} 
[2026-07-15 11:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64531f88012d7f998005afdce00011011c2d..."} 
[2026-07-15 11:23:38] local.INFO: Processing buffer {"connection_id":134682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64531f88012d7f998005afdce00011011c2d..."} 
[2026-07-15 11:23:38] local.INFO: Packet analysis {"connection_id":134682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6453"} 
[2026-07-15 11:23:38] local.INFO: Extracted packet for processing {"connection_id":134682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6453"} 
[2026-07-15 11:23:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":17,"angle":284,"satellites":45,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11: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-07-15 11:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728139776001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784094597000,"timestamp_ms":1784094597000,"timestamp_seconds":1784094597,"priority":1,"record_length":96,"hex_timestamp":"0000019f64531f88"} 
[2026-07-15 11:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11: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-07-15 11:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728139776001,"66":25680,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728139776001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:23:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:23:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728139776001,"power":25680,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":134682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:23:38] local.INFO: GPS data processed {"connection_id":134682,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:23:38] local.INFO: Acknowledgment sent {"connection_id":134682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:24:01] local.INFO: TCP Data received {"connection_id":132469,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:24:01] local.INFO: Processing buffer {"connection_id":132469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:24:01] local.INFO: IMEI packet received {"connection_id":132469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":132469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:24:04] local.INFO: TCP Data received {"connection_id":132285,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132285,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:24:04] local.INFO: Processing buffer {"connection_id":132285,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:24:04] local.INFO: IMEI packet received {"connection_id":132285,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 11:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":132285,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:24:06] local.INFO: TCP Data received {"connection_id":132469,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:24:06] local.INFO: Processing buffer {"connection_id":132469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:24:06] local.INFO: IMEI packet received {"connection_id":132469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":132469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:24:07] local.INFO: TCP Data received {"connection_id":132469,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f64531f88012d7f998005afdce00011011c2d..."} 
[2026-07-15 11:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64531f88012d7f998005afdce00011011c2d..."} 
[2026-07-15 11:24:07] local.INFO: Processing buffer {"connection_id":132469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64531f88012d7f998005afdce00011011c2d..."} 
[2026-07-15 11:24:07] local.INFO: Packet analysis {"connection_id":132469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6453"} 
[2026-07-15 11:24:07] local.INFO: Extracted packet for processing {"connection_id":132469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6453"} 
[2026-07-15 11:24:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":17,"angle":284,"satellites":45,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11: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-07-15 11:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728139776001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784094597000,"timestamp_ms":1784094597000,"timestamp_seconds":1784094597,"priority":1,"record_length":96,"hex_timestamp":"0000019f64531f88"} 
[2026-07-15 11:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11: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-07-15 11:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:24:07] 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-07-15 11:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728139776001,"66":25680,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728139776001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:24:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:24:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728139776001,"power":25680,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":132469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:24:07] local.INFO: GPS data processed {"connection_id":132469,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:24:07] local.INFO: Acknowledgment sent {"connection_id":132469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:24:35] local.INFO: TCP Data received {"connection_id":134683,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134683,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:24:35] local.INFO: Processing buffer {"connection_id":134683,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:24:35] local.INFO: IMEI packet received {"connection_id":134683,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 11:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":134683,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:24:38] local.INFO: TCP Data received {"connection_id":132469,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f64531f88012d7f998005afdce00011011c2d..."} 
[2026-07-15 11:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64531f88012d7f998005afdce00011011c2d..."} 
[2026-07-15 11:24:38] local.INFO: Processing buffer {"connection_id":132469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64531f88012d7f998005afdce00011011c2d..."} 
[2026-07-15 11:24:38] local.INFO: Packet analysis {"connection_id":132469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6453"} 
[2026-07-15 11:24:38] local.INFO: Extracted packet for processing {"connection_id":132469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6453"} 
[2026-07-15 11:24:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":17,"angle":284,"satellites":45,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728139776001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784094597000,"timestamp_ms":1784094597000,"timestamp_seconds":1784094597,"priority":1,"record_length":96,"hex_timestamp":"0000019f64531f88"} 
[2026-07-15 11:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:24:38] 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-07-15 11:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728139776001,"66":25680,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728139776001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:24:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:24:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728139776001,"power":25680,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":132469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:24:38] local.INFO: GPS data processed {"connection_id":132469,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:24:38] local.INFO: Acknowledgment sent {"connection_id":132469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:25:01] local.INFO: TCP Data received {"connection_id":133316,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:25:01] local.INFO: Processing buffer {"connection_id":133316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:25:01] local.INFO: IMEI packet received {"connection_id":133316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":133316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:25:06] local.INFO: TCP Data received {"connection_id":133316,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:25:06] local.INFO: Processing buffer {"connection_id":133316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:25:06] local.INFO: IMEI packet received {"connection_id":133316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":133316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:25:07] local.INFO: TCP Data received {"connection_id":133316,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64531f88012d7f998005afdce00011011c2d..."} 
[2026-07-15 11:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64531f88012d7f998005afdce00011011c2d..."} 
[2026-07-15 11:25:07] local.INFO: Processing buffer {"connection_id":133316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64531f88012d7f998005afdce00011011c2d..."} 
[2026-07-15 11:25:07] local.INFO: Packet analysis {"connection_id":133316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6453"} 
[2026-07-15 11:25:07] local.INFO: Extracted packet for processing {"connection_id":133316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6453"} 
[2026-07-15 11:25:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":17,"angle":284,"satellites":45,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728139776001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784094597000,"timestamp_ms":1784094597000,"timestamp_seconds":1784094597,"priority":1,"record_length":96,"hex_timestamp":"0000019f64531f88"} 
[2026-07-15 11:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:25:07] 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-07-15 11:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728139776001,"66":25680,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728139776001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:25:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:25:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728139776001,"power":25680,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":133316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:25:07] local.INFO: GPS data processed {"connection_id":133316,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:25:07] local.INFO: Acknowledgment sent {"connection_id":133316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:25:38] local.INFO: TCP Data received {"connection_id":133316,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f6457b750012d7f998005afdce00011011c2a..."} 
[2026-07-15 11:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6457b750012d7f998005afdce00011011c2a..."} 
[2026-07-15 11:25:38] local.INFO: Processing buffer {"connection_id":133316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6457b750012d7f998005afdce00011011c2a..."} 
[2026-07-15 11:25:38] local.INFO: Packet analysis {"connection_id":133316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6457"} 
[2026-07-15 11:25:38] local.INFO: Extracted packet for processing {"connection_id":133316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6457"} 
[2026-07-15 11:25:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":17,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728216832001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784094898000,"timestamp_ms":1784094898000,"timestamp_seconds":1784094898,"priority":1,"record_length":96,"hex_timestamp":"0000019f6457b750"} 
[2026-07-15 11:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 11:25:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728216832001,"66":25647,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728216832001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:25:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:25:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728216832001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":133316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:25:38] local.INFO: GPS data processed {"connection_id":133316,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:25:38] local.INFO: Acknowledgment sent {"connection_id":133316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:26:06] local.INFO: TCP Data received {"connection_id":132470,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:26:06] local.INFO: Processing buffer {"connection_id":132470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:26:06] local.INFO: IMEI packet received {"connection_id":132470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":132470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:26:11] local.INFO: TCP Data received {"connection_id":132470,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:26:11] local.INFO: Processing buffer {"connection_id":132470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:26:11] local.INFO: IMEI packet received {"connection_id":132470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":132470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:26:12] local.INFO: TCP Data received {"connection_id":132470,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f6457b750012d7f998005afdce00011011c2a..."} 
[2026-07-15 11:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6457b750012d7f998005afdce00011011c2a..."} 
[2026-07-15 11:26:12] local.INFO: Processing buffer {"connection_id":132470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6457b750012d7f998005afdce00011011c2a..."} 
[2026-07-15 11:26:12] local.INFO: Packet analysis {"connection_id":132470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6457"} 
[2026-07-15 11:26:12] local.INFO: Extracted packet for processing {"connection_id":132470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6457"} 
[2026-07-15 11:26:12] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":17,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11: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-07-15 11:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728216832001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784094898000,"timestamp_ms":1784094898000,"timestamp_seconds":1784094898,"priority":1,"record_length":96,"hex_timestamp":"0000019f6457b750"} 
[2026-07-15 11:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 11:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11: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-07-15 11:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:26:12] 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-07-15 11:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728216832001,"66":25647,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728216832001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:26:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:26:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728216832001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":132470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:26:12] local.INFO: GPS data processed {"connection_id":132470,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:26:12] local.INFO: Acknowledgment sent {"connection_id":132470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:26:43] local.INFO: TCP Data received {"connection_id":132470,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f6457b750012d7f998005afdce00011011c2a..."} 
[2026-07-15 11:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6457b750012d7f998005afdce00011011c2a..."} 
[2026-07-15 11:26:43] local.INFO: Processing buffer {"connection_id":132470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6457b750012d7f998005afdce00011011c2a..."} 
[2026-07-15 11:26:43] local.INFO: Packet analysis {"connection_id":132470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6457"} 
[2026-07-15 11:26:43] local.INFO: Extracted packet for processing {"connection_id":132470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6457"} 
[2026-07-15 11:26:43] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":17,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:26:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728216832001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:26:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:26:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:26:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:26:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784094898000,"timestamp_ms":1784094898000,"timestamp_seconds":1784094898,"priority":1,"record_length":96,"hex_timestamp":"0000019f6457b750"} 
[2026-07-15 11:26:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:26:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 11:26:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:26:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:26:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:26:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:26:43] local.INFO: Teltonika packet parsed successfully {"connection_id":132470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:26:43] local.INFO: Passing IMEI to GPS processor {"connection_id":132470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:26:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":132470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:26:43] 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-07-15 11:26:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:26:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:26:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728216832001,"66":25647,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:26:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:26:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:26:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728216832001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:26:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:26:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:26:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:26:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:26:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728216832001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":132470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:26:43] local.INFO: GPS data processed {"connection_id":132470,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:26:43] local.INFO: Acknowledgment sent {"connection_id":132470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:27:01] local.INFO: TCP Data received {"connection_id":133317,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:27:01] local.INFO: Processing buffer {"connection_id":133317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:27:01] local.INFO: IMEI packet received {"connection_id":133317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":133317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:27:06] local.INFO: TCP Data received {"connection_id":133317,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:27:06] local.INFO: Processing buffer {"connection_id":133317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:27:06] local.INFO: IMEI packet received {"connection_id":133317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":133317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:27:07] local.INFO: TCP Data received {"connection_id":133317,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f6457b750012d7f998005afdce00011011c2a..."} 
[2026-07-15 11:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6457b750012d7f998005afdce00011011c2a..."} 
[2026-07-15 11:27:07] local.INFO: Processing buffer {"connection_id":133317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6457b750012d7f998005afdce00011011c2a..."} 
[2026-07-15 11:27:07] local.INFO: Packet analysis {"connection_id":133317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6457"} 
[2026-07-15 11:27:07] local.INFO: Extracted packet for processing {"connection_id":133317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6457"} 
[2026-07-15 11:27:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":17,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728216832001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784094898000,"timestamp_ms":1784094898000,"timestamp_seconds":1784094898,"priority":1,"record_length":96,"hex_timestamp":"0000019f6457b750"} 
[2026-07-15 11:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 11:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:27:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728216832001,"66":25647,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728216832001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:27:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:27:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728216832001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":133317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:27:07] local.INFO: GPS data processed {"connection_id":133317,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:27:07] local.INFO: Acknowledgment sent {"connection_id":133317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:27:38] local.INFO: TCP Data received {"connection_id":133317,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f6457b750012d7f998005afdce00011011c2a..."} 
[2026-07-15 11:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6457b750012d7f998005afdce00011011c2a..."} 
[2026-07-15 11:27:38] local.INFO: Processing buffer {"connection_id":133317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6457b750012d7f998005afdce00011011c2a..."} 
[2026-07-15 11:27:38] local.INFO: Packet analysis {"connection_id":133317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6457"} 
[2026-07-15 11:27:38] local.INFO: Extracted packet for processing {"connection_id":133317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6457"} 
[2026-07-15 11:27:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":17,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728216832001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784094898000,"timestamp_ms":1784094898000,"timestamp_seconds":1784094898,"priority":1,"record_length":96,"hex_timestamp":"0000019f6457b750"} 
[2026-07-15 11:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 11:27:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728216832001,"66":25647,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728216832001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:27:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:27:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728216832001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":133317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:27:38] local.INFO: GPS data processed {"connection_id":133317,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:27:38] local.INFO: Acknowledgment sent {"connection_id":133317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:28:02] local.INFO: TCP Data received {"connection_id":132471,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:28:02] local.INFO: Processing buffer {"connection_id":132471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:28:02] local.INFO: IMEI packet received {"connection_id":132471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":132471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:28:06] local.INFO: TCP Data received {"connection_id":132471,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:28:06] local.INFO: Processing buffer {"connection_id":132471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:28:06] local.INFO: IMEI packet received {"connection_id":132471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":132471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:28:08] local.INFO: TCP Data received {"connection_id":132471,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f6457b750012d7f998005afdce00011011c2a..."} 
[2026-07-15 11:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6457b750012d7f998005afdce00011011c2a..."} 
[2026-07-15 11:28:08] local.INFO: Processing buffer {"connection_id":132471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6457b750012d7f998005afdce00011011c2a..."} 
[2026-07-15 11:28:08] local.INFO: Packet analysis {"connection_id":132471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6457"} 
[2026-07-15 11:28:08] local.INFO: Extracted packet for processing {"connection_id":132471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6457"} 
[2026-07-15 11:28:08] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":17,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11: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-07-15 11:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728216832001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784094898000,"timestamp_ms":1784094898000,"timestamp_seconds":1784094898,"priority":1,"record_length":96,"hex_timestamp":"0000019f6457b750"} 
[2026-07-15 11:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 11:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11: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-07-15 11:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728216832001,"66":25647,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728216832001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:28:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:28:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728216832001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":132471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:28:08] local.INFO: GPS data processed {"connection_id":132471,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:28:08] local.INFO: Acknowledgment sent {"connection_id":132471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:28:39] local.INFO: TCP Data received {"connection_id":132471,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f6457b750012d7f998005afdce00011011c2a..."} 
[2026-07-15 11:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6457b750012d7f998005afdce00011011c2a..."} 
[2026-07-15 11:28:39] local.INFO: Processing buffer {"connection_id":132471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6457b750012d7f998005afdce00011011c2a..."} 
[2026-07-15 11:28:39] local.INFO: Packet analysis {"connection_id":132471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6457"} 
[2026-07-15 11:28:39] local.INFO: Extracted packet for processing {"connection_id":132471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6457"} 
[2026-07-15 11:28:39] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":17,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728216832001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:28:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784094898000,"timestamp_ms":1784094898000,"timestamp_seconds":1784094898,"priority":1,"record_length":96,"hex_timestamp":"0000019f6457b750"} 
[2026-07-15 11:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:28:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 11:28:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:28:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:28: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-07-15 11:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728216832001,"66":25647,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728216832001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:28:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:28:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728216832001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":132471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:28:39] local.INFO: GPS data processed {"connection_id":132471,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:28:39] local.INFO: Acknowledgment sent {"connection_id":132471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:29:01] local.INFO: TCP Data received {"connection_id":133319,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:29:01] local.INFO: Processing buffer {"connection_id":133319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:29:01] local.INFO: IMEI packet received {"connection_id":133319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":133319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:29:06] local.INFO: TCP Data received {"connection_id":133319,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:29:06] local.INFO: Processing buffer {"connection_id":133319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:29:06] local.INFO: IMEI packet received {"connection_id":133319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":133319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:29:07] local.INFO: TCP Data received {"connection_id":133319,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f6457b750012d7f998005afdce00011011c2a..."} 
[2026-07-15 11:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6457b750012d7f998005afdce00011011c2a..."} 
[2026-07-15 11:29:07] local.INFO: Processing buffer {"connection_id":133319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6457b750012d7f998005afdce00011011c2a..."} 
[2026-07-15 11:29:07] local.INFO: Packet analysis {"connection_id":133319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6457"} 
[2026-07-15 11:29:07] local.INFO: Extracted packet for processing {"connection_id":133319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6457"} 
[2026-07-15 11:29:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":17,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728216832001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784094898000,"timestamp_ms":1784094898000,"timestamp_seconds":1784094898,"priority":1,"record_length":96,"hex_timestamp":"0000019f6457b750"} 
[2026-07-15 11:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 11:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:29:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728216832001,"66":25647,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728216832001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:29:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:29:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728216832001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":133319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:29:07] local.INFO: GPS data processed {"connection_id":133319,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:29:07] local.INFO: Acknowledgment sent {"connection_id":133319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:29:38] local.INFO: TCP Data received {"connection_id":133319,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f6457b750012d7f998005afdce00011011c2a..."} 
[2026-07-15 11:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6457b750012d7f998005afdce00011011c2a..."} 
[2026-07-15 11:29:38] local.INFO: Processing buffer {"connection_id":133319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6457b750012d7f998005afdce00011011c2a..."} 
[2026-07-15 11:29:38] local.INFO: Packet analysis {"connection_id":133319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6457"} 
[2026-07-15 11:29:38] local.INFO: Extracted packet for processing {"connection_id":133319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6457"} 
[2026-07-15 11:29:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":17,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728216832001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784094898000,"timestamp_ms":1784094898000,"timestamp_seconds":1784094898,"priority":1,"record_length":96,"hex_timestamp":"0000019f6457b750"} 
[2026-07-15 11:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 11:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728216832001,"66":25647,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728216832001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:29:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:29:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728216832001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":133319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:29:38] local.INFO: GPS data processed {"connection_id":133319,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:29:38] local.INFO: Acknowledgment sent {"connection_id":133319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:29:49] local.INFO: TCP Data received {"connection_id":132473,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132473,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:29:49] local.INFO: Processing buffer {"connection_id":132473,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:29:49] local.INFO: IMEI packet received {"connection_id":132473,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 11:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":132473,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:30:06] local.INFO: TCP Data received {"connection_id":134684,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:30:06] local.INFO: Processing buffer {"connection_id":134684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:30:06] local.INFO: IMEI packet received {"connection_id":134684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":134684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:30:11] local.INFO: TCP Data received {"connection_id":134684,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:30:11] local.INFO: Processing buffer {"connection_id":134684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:30:11] local.INFO: IMEI packet received {"connection_id":134684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":134684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:30:12] local.INFO: TCP Data received {"connection_id":134684,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f6457b750012d7f998005afdce00011011c2a..."} 
[2026-07-15 11:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6457b750012d7f998005afdce00011011c2a..."} 
[2026-07-15 11:30:12] local.INFO: Processing buffer {"connection_id":134684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6457b750012d7f998005afdce00011011c2a..."} 
[2026-07-15 11:30:12] local.INFO: Packet analysis {"connection_id":134684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6457"} 
[2026-07-15 11:30:12] local.INFO: Extracted packet for processing {"connection_id":134684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6457"} 
[2026-07-15 11:30:12] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":17,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728216832001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784094898000,"timestamp_ms":1784094898000,"timestamp_seconds":1784094898,"priority":1,"record_length":96,"hex_timestamp":"0000019f6457b750"} 
[2026-07-15 11:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 11:30:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":134684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":134684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":134684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:30:12] 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-07-15 11:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728216832001,"66":25647,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728216832001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:30:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:30:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728216832001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":134684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:30:12] local.INFO: GPS data processed {"connection_id":134684,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:30:12] local.INFO: Acknowledgment sent {"connection_id":134684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:30:17] local.INFO: TCP Data received {"connection_id":134684,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f6457b750012d7f998005afdce00011011c2a..."} 
[2026-07-15 11:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6457b750012d7f998005afdce00011011c2a..."} 
[2026-07-15 11:30:17] local.INFO: Processing buffer {"connection_id":134684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6457b750012d7f998005afdce00011011c2a..."} 
[2026-07-15 11:30:17] local.INFO: Packet analysis {"connection_id":134684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6457"} 
[2026-07-15 11:30:17] local.INFO: Extracted packet for processing {"connection_id":134684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6457"} 
[2026-07-15 11:30:17] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":17,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728216832001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:30:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:30:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784094898000,"timestamp_ms":1784094898000,"timestamp_seconds":1784094898,"priority":1,"record_length":96,"hex_timestamp":"0000019f6457b750"} 
[2026-07-15 11:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:30:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 11:30:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:30:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":134684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":134684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":134684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728216832001,"66":25647,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 11:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728216832001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:30:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 11:30:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:30:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728216832001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":134684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:30:17] local.INFO: GPS data processed {"connection_id":134684,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:30:17] local.INFO: Acknowledgment sent {"connection_id":134684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:30:39] local.INFO: TCP Data received {"connection_id":132474,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132474,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:30:39] local.INFO: Processing buffer {"connection_id":132474,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:30:39] local.INFO: IMEI packet received {"connection_id":132474,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 11:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":132474,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:31:01] local.INFO: TCP Data received {"connection_id":132475,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:31:01] local.INFO: Processing buffer {"connection_id":132475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:31:01] local.INFO: IMEI packet received {"connection_id":132475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":132475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:31:06] local.INFO: TCP Data received {"connection_id":132475,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:31:06] local.INFO: Processing buffer {"connection_id":132475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:31:06] local.INFO: IMEI packet received {"connection_id":132475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":132475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:31:08] local.INFO: TCP Data received {"connection_id":132475,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f645c4f18012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f645c4f18012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:31:08] local.INFO: Processing buffer {"connection_id":132475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f645c4f18012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:31:08] local.INFO: Packet analysis {"connection_id":132475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f645c"} 
[2026-07-15 11:31:08] local.INFO: Extracted packet for processing {"connection_id":132475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f645c"} 
[2026-07-15 11:31:08] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":17,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728293888001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784095199000,"timestamp_ms":1784095199000,"timestamp_seconds":1784095199,"priority":1,"record_length":96,"hex_timestamp":"0000019f645c4f18"} 
[2026-07-15 11:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 11:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728293888001,"66":25680,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728293888001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:31:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:31:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728293888001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":132475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:31:08] local.INFO: GPS data processed {"connection_id":132475,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:31:08] local.INFO: Acknowledgment sent {"connection_id":132475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:31:40] local.INFO: TCP Data received {"connection_id":132475,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f645c4f18012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f645c4f18012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:31:40] local.INFO: Processing buffer {"connection_id":132475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f645c4f18012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:31:40] local.INFO: Packet analysis {"connection_id":132475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f645c"} 
[2026-07-15 11:31:40] local.INFO: Extracted packet for processing {"connection_id":132475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f645c"} 
[2026-07-15 11:31:40] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":17,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728293888001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784095199000,"timestamp_ms":1784095199000,"timestamp_seconds":1784095199,"priority":1,"record_length":96,"hex_timestamp":"0000019f645c4f18"} 
[2026-07-15 11:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:31:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 11:31:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:31:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728293888001,"66":25680,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728293888001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:31:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:31:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728293888001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":132475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:31:40] local.INFO: GPS data processed {"connection_id":132475,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:31:40] local.INFO: Acknowledgment sent {"connection_id":132475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:32:01] local.INFO: TCP Data received {"connection_id":134685,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:32:01] local.INFO: Processing buffer {"connection_id":134685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:32:01] local.INFO: IMEI packet received {"connection_id":134685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":134685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:32:06] local.INFO: TCP Data received {"connection_id":134685,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:32:06] local.INFO: Processing buffer {"connection_id":134685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:32:06] local.INFO: IMEI packet received {"connection_id":134685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":134685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:32:07] local.INFO: TCP Data received {"connection_id":134685,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f645c4f18012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f645c4f18012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:32:07] local.INFO: Processing buffer {"connection_id":134685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f645c4f18012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:32:07] local.INFO: Packet analysis {"connection_id":134685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f645c"} 
[2026-07-15 11:32:07] local.INFO: Extracted packet for processing {"connection_id":134685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f645c"} 
[2026-07-15 11:32:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":17,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11: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-07-15 11:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728293888001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784095199000,"timestamp_ms":1784095199000,"timestamp_seconds":1784095199,"priority":1,"record_length":96,"hex_timestamp":"0000019f645c4f18"} 
[2026-07-15 11:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 11:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11: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-07-15 11:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728293888001,"66":25680,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728293888001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:32:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:32:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728293888001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":134685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:32:07] local.INFO: GPS data processed {"connection_id":134685,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:32:07] local.INFO: Acknowledgment sent {"connection_id":134685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:32:39] local.INFO: TCP Data received {"connection_id":134685,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f645c4f18012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f645c4f18012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:32:39] local.INFO: Processing buffer {"connection_id":134685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f645c4f18012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:32:39] local.INFO: Packet analysis {"connection_id":134685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f645c"} 
[2026-07-15 11:32:39] local.INFO: Extracted packet for processing {"connection_id":134685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f645c"} 
[2026-07-15 11:32:39] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":17,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728293888001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784095199000,"timestamp_ms":1784095199000,"timestamp_seconds":1784095199,"priority":1,"record_length":96,"hex_timestamp":"0000019f645c4f18"} 
[2026-07-15 11:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 11:32:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:32:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728293888001,"66":25680,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728293888001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:32:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:32:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728293888001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":134685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:32:39] local.INFO: GPS data processed {"connection_id":134685,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:32:39] local.INFO: Acknowledgment sent {"connection_id":134685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:33:01] local.INFO: TCP Data received {"connection_id":132477,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:33:01] local.INFO: Processing buffer {"connection_id":132477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:33:01] local.INFO: IMEI packet received {"connection_id":132477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":132477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:33:06] local.INFO: TCP Data received {"connection_id":132477,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:33:06] local.INFO: Processing buffer {"connection_id":132477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:33:06] local.INFO: IMEI packet received {"connection_id":132477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":132477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:33:07] local.INFO: TCP Data received {"connection_id":132477,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f645c4f18012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f645c4f18012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:33:07] local.INFO: Processing buffer {"connection_id":132477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f645c4f18012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:33:07] local.INFO: Packet analysis {"connection_id":132477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f645c"} 
[2026-07-15 11:33:07] local.INFO: Extracted packet for processing {"connection_id":132477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f645c"} 
[2026-07-15 11:33:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":17,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728293888001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784095199000,"timestamp_ms":1784095199000,"timestamp_seconds":1784095199,"priority":1,"record_length":96,"hex_timestamp":"0000019f645c4f18"} 
[2026-07-15 11:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 11:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:33:07] 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-07-15 11:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728293888001,"66":25680,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728293888001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:33:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:33:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728293888001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":132477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:33:07] local.INFO: GPS data processed {"connection_id":132477,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:33:07] local.INFO: Acknowledgment sent {"connection_id":132477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:33:39] local.INFO: TCP Data received {"connection_id":132477,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f645c4f18012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f645c4f18012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:33:39] local.INFO: Processing buffer {"connection_id":132477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f645c4f18012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:33:39] local.INFO: Packet analysis {"connection_id":132477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f645c"} 
[2026-07-15 11:33:39] local.INFO: Extracted packet for processing {"connection_id":132477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f645c"} 
[2026-07-15 11:33:39] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":17,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728293888001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784095199000,"timestamp_ms":1784095199000,"timestamp_seconds":1784095199,"priority":1,"record_length":96,"hex_timestamp":"0000019f645c4f18"} 
[2026-07-15 11:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 11:33:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:33:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:33:39] 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-07-15 11:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728293888001,"66":25680,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728293888001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:33:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:33:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728293888001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":132477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:33:39] local.INFO: GPS data processed {"connection_id":132477,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:33:39] local.INFO: Acknowledgment sent {"connection_id":132477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:34:01] local.INFO: TCP Data received {"connection_id":133322,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:34:01] local.INFO: Processing buffer {"connection_id":133322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:34:01] local.INFO: IMEI packet received {"connection_id":133322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":133322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:34:06] local.INFO: TCP Data received {"connection_id":133322,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:34:06] local.INFO: Processing buffer {"connection_id":133322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:34:06] local.INFO: IMEI packet received {"connection_id":133322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":133322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:34:07] local.INFO: TCP Data received {"connection_id":133322,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f645c4f18012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f645c4f18012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:34:07] local.INFO: Processing buffer {"connection_id":133322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f645c4f18012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:34:07] local.INFO: Packet analysis {"connection_id":133322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f645c"} 
[2026-07-15 11:34:07] local.INFO: Extracted packet for processing {"connection_id":133322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f645c"} 
[2026-07-15 11:34:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":17,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728293888001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784095199000,"timestamp_ms":1784095199000,"timestamp_seconds":1784095199,"priority":1,"record_length":96,"hex_timestamp":"0000019f645c4f18"} 
[2026-07-15 11:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 11:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:34:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728293888001,"66":25680,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728293888001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:34:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:34:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728293888001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":133322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:34:07] local.INFO: GPS data processed {"connection_id":133322,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:34:07] local.INFO: Acknowledgment sent {"connection_id":133322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:34:39] local.INFO: TCP Data received {"connection_id":133322,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f645c4f18012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f645c4f18012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:34:39] local.INFO: Processing buffer {"connection_id":133322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f645c4f18012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:34:39] local.INFO: Packet analysis {"connection_id":133322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f645c"} 
[2026-07-15 11:34:39] local.INFO: Extracted packet for processing {"connection_id":133322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f645c"} 
[2026-07-15 11:34:39] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":17,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11: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-07-15 11:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728293888001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784095199000,"timestamp_ms":1784095199000,"timestamp_seconds":1784095199,"priority":1,"record_length":96,"hex_timestamp":"0000019f645c4f18"} 
[2026-07-15 11:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 11:34:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11: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-07-15 11:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:34:39] 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-07-15 11:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728293888001,"66":25680,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728293888001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:34:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:34:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728293888001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":133322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:34:39] local.INFO: GPS data processed {"connection_id":133322,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:34:39] local.INFO: Acknowledgment sent {"connection_id":133322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:35:06] local.INFO: TCP Data received {"connection_id":134687,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:35:06] local.INFO: Processing buffer {"connection_id":134687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:35:06] local.INFO: IMEI packet received {"connection_id":134687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":134687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:35:11] local.INFO: TCP Data received {"connection_id":134687,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:35:11] local.INFO: Processing buffer {"connection_id":134687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:35:11] local.INFO: IMEI packet received {"connection_id":134687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":134687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:35:12] local.INFO: TCP Data received {"connection_id":134687,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f645c4f18012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f645c4f18012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:35:12] local.INFO: Processing buffer {"connection_id":134687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f645c4f18012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:35:12] local.INFO: Packet analysis {"connection_id":134687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f645c"} 
[2026-07-15 11:35:12] local.INFO: Extracted packet for processing {"connection_id":134687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f645c"} 
[2026-07-15 11:35:12] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":17,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11: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-07-15 11:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728293888001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784095199000,"timestamp_ms":1784095199000,"timestamp_seconds":1784095199,"priority":1,"record_length":96,"hex_timestamp":"0000019f645c4f18"} 
[2026-07-15 11:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 11:35:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11: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-07-15 11:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":134687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":134687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":134687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:35:12] 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-07-15 11:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728293888001,"66":25680,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728293888001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:35:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:35:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728293888001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":134687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:35:12] local.INFO: GPS data processed {"connection_id":134687,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:35:12] local.INFO: Acknowledgment sent {"connection_id":134687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:35:17] local.INFO: TCP Data received {"connection_id":134687,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f645c4f18012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f645c4f18012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:35:17] local.INFO: Processing buffer {"connection_id":134687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f645c4f18012d7f998005afdce00011011c2c..."} 
[2026-07-15 11:35:17] local.INFO: Packet analysis {"connection_id":134687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f645c"} 
[2026-07-15 11:35:17] local.INFO: Extracted packet for processing {"connection_id":134687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f645c"} 
[2026-07-15 11:35:17] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":17,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728293888001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:35:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784095199000,"timestamp_ms":1784095199000,"timestamp_seconds":1784095199,"priority":1,"record_length":96,"hex_timestamp":"0000019f645c4f18"} 
[2026-07-15 11:35:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:35:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 11:35:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:35:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:35:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":134687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":134687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":134687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:35:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728293888001,"66":25680,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728293888001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:35:17] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:35:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728293888001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":134687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:35:17] local.INFO: GPS data processed {"connection_id":134687,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:35:17] local.INFO: Acknowledgment sent {"connection_id":134687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:35:54] local.INFO: TCP Data received {"connection_id":132289,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132289,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:35:54] local.INFO: Processing buffer {"connection_id":132289,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:35:54] local.INFO: IMEI packet received {"connection_id":132289,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 11:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":132289,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:36:02] local.INFO: TCP Data received {"connection_id":132478,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:36:02] local.INFO: Processing buffer {"connection_id":132478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:36:02] local.INFO: IMEI packet received {"connection_id":132478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":132478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:36:06] local.INFO: TCP Data received {"connection_id":132478,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:36:06] local.INFO: Processing buffer {"connection_id":132478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:36:06] local.INFO: IMEI packet received {"connection_id":132478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":132478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:36:07] local.INFO: TCP Data received {"connection_id":132478,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f6460e6e0012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6460e6e0012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:36:07] local.INFO: Processing buffer {"connection_id":132478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6460e6e0012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:36:07] local.INFO: Packet analysis {"connection_id":132478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6460"} 
[2026-07-15 11:36:07] local.INFO: Extracted packet for processing {"connection_id":132478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6460"} 
[2026-07-15 11:36:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":15,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728370944001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784095500000,"timestamp_ms":1784095500000,"timestamp_seconds":1784095500,"priority":1,"record_length":96,"hex_timestamp":"0000019f6460e6e0"} 
[2026-07-15 11:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 11:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:36:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:36:07] 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-07-15 11:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728370944001,"66":25702,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728370944001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:36:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:36:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728370944001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":132478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:36:07] local.INFO: GPS data processed {"connection_id":132478,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:36:07] local.INFO: Acknowledgment sent {"connection_id":132478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:36:11] local.INFO: TCP Data received {"connection_id":132478,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f6460e6e0012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6460e6e0012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:36:11] local.INFO: Processing buffer {"connection_id":132478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6460e6e0012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:36:11] local.INFO: Packet analysis {"connection_id":132478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6460"} 
[2026-07-15 11:36:11] local.INFO: Extracted packet for processing {"connection_id":132478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6460"} 
[2026-07-15 11:36:11] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":15,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728370944001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784095500000,"timestamp_ms":1784095500000,"timestamp_seconds":1784095500,"priority":1,"record_length":96,"hex_timestamp":"0000019f6460e6e0"} 
[2026-07-15 11:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 11:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:36:11] 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-07-15 11:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728370944001,"66":25702,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728370944001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:36:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:36:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728370944001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":132478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:36:11] local.INFO: GPS data processed {"connection_id":132478,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:36:11] local.INFO: Acknowledgment sent {"connection_id":132478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:36:40] local.INFO: TCP Data received {"connection_id":134688,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134688,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:36:40] local.INFO: Processing buffer {"connection_id":134688,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:36:40] local.INFO: IMEI packet received {"connection_id":134688,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 11:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":134688,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:36:43] local.INFO: TCP Data received {"connection_id":132478,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f6460e6e0012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6460e6e0012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:36:43] local.INFO: Processing buffer {"connection_id":132478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6460e6e0012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:36:43] local.INFO: Packet analysis {"connection_id":132478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6460"} 
[2026-07-15 11:36:43] local.INFO: Extracted packet for processing {"connection_id":132478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6460"} 
[2026-07-15 11:36:43] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":15,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728370944001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:36:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784095500000,"timestamp_ms":1784095500000,"timestamp_seconds":1784095500,"priority":1,"record_length":96,"hex_timestamp":"0000019f6460e6e0"} 
[2026-07-15 11:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:36:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 11:36:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:36:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":132478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":132478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":132478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:36:43] 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-07-15 11:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728370944001,"66":25702,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728370944001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:36:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:36:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728370944001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":132478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:36:43] local.INFO: GPS data processed {"connection_id":132478,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:36:43] local.INFO: Acknowledgment sent {"connection_id":132478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:37:01] local.INFO: TCP Data received {"connection_id":132290,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:37:01] local.INFO: Processing buffer {"connection_id":132290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:37:01] local.INFO: IMEI packet received {"connection_id":132290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":132290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:37:06] local.INFO: TCP Data received {"connection_id":132290,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:37:06] local.INFO: Processing buffer {"connection_id":132290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:37:06] local.INFO: IMEI packet received {"connection_id":132290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":132290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:37:07] local.INFO: TCP Data received {"connection_id":132290,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f6460e6e0012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6460e6e0012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:37:07] local.INFO: Processing buffer {"connection_id":132290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6460e6e0012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:37:07] local.INFO: Packet analysis {"connection_id":132290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6460"} 
[2026-07-15 11:37:07] local.INFO: Extracted packet for processing {"connection_id":132290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6460"} 
[2026-07-15 11:37:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":15,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728370944001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784095500000,"timestamp_ms":1784095500000,"timestamp_seconds":1784095500,"priority":1,"record_length":96,"hex_timestamp":"0000019f6460e6e0"} 
[2026-07-15 11:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 11:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:37:07] 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-07-15 11:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728370944001,"66":25702,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728370944001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:37:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:37:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728370944001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":132290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:37:07] local.INFO: GPS data processed {"connection_id":132290,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:37:07] local.INFO: Acknowledgment sent {"connection_id":132290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:37:38] local.INFO: TCP Data received {"connection_id":132290,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f6460e6e0012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6460e6e0012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:37:38] local.INFO: Processing buffer {"connection_id":132290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6460e6e0012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:37:38] local.INFO: Packet analysis {"connection_id":132290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6460"} 
[2026-07-15 11:37:38] local.INFO: Extracted packet for processing {"connection_id":132290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6460"} 
[2026-07-15 11:37:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":15,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728370944001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784095500000,"timestamp_ms":1784095500000,"timestamp_seconds":1784095500,"priority":1,"record_length":96,"hex_timestamp":"0000019f6460e6e0"} 
[2026-07-15 11:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 11:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:37:38] 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-07-15 11:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728370944001,"66":25702,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728370944001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:37:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:37:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728370944001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":132290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:37:38] local.INFO: GPS data processed {"connection_id":132290,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:37:38] local.INFO: Acknowledgment sent {"connection_id":132290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:38:01] local.INFO: TCP Data received {"connection_id":132480,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:38:01] local.INFO: Processing buffer {"connection_id":132480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:38:01] local.INFO: IMEI packet received {"connection_id":132480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":132480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:38:06] local.INFO: TCP Data received {"connection_id":132480,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:38:06] local.INFO: Processing buffer {"connection_id":132480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:38:06] local.INFO: IMEI packet received {"connection_id":132480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":132480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:38:07] local.INFO: TCP Data received {"connection_id":132480,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f6460e6e0012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6460e6e0012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:38:07] local.INFO: Processing buffer {"connection_id":132480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6460e6e0012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:38:07] local.INFO: Packet analysis {"connection_id":132480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6460"} 
[2026-07-15 11:38:07] local.INFO: Extracted packet for processing {"connection_id":132480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6460"} 
[2026-07-15 11:38:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":15,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728370944001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784095500000,"timestamp_ms":1784095500000,"timestamp_seconds":1784095500,"priority":1,"record_length":96,"hex_timestamp":"0000019f6460e6e0"} 
[2026-07-15 11:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 11:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:38:07] 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-07-15 11:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728370944001,"66":25702,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728370944001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:38:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:38:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728370944001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":132480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:38:07] local.INFO: GPS data processed {"connection_id":132480,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:38:07] local.INFO: Acknowledgment sent {"connection_id":132480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:38:39] local.INFO: TCP Data received {"connection_id":132480,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f6460e6e0012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6460e6e0012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:38:39] local.INFO: Processing buffer {"connection_id":132480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6460e6e0012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:38:39] local.INFO: Packet analysis {"connection_id":132480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6460"} 
[2026-07-15 11:38:39] local.INFO: Extracted packet for processing {"connection_id":132480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6460"} 
[2026-07-15 11:38:39] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":15,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728370944001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784095500000,"timestamp_ms":1784095500000,"timestamp_seconds":1784095500,"priority":1,"record_length":96,"hex_timestamp":"0000019f6460e6e0"} 
[2026-07-15 11:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 11:38:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:38:39] 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-07-15 11:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728370944001,"66":25702,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728370944001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:38:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:38:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728370944001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":132480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:38:39] local.INFO: GPS data processed {"connection_id":132480,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:38:39] local.INFO: Acknowledgment sent {"connection_id":132480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:39:06] local.INFO: TCP Data received {"connection_id":132291,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:39:06] local.INFO: Processing buffer {"connection_id":132291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:39:06] local.INFO: IMEI packet received {"connection_id":132291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":132291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:39:11] local.INFO: TCP Data received {"connection_id":132291,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:39:11] local.INFO: Processing buffer {"connection_id":132291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:39:11] local.INFO: IMEI packet received {"connection_id":132291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":132291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:39:12] local.INFO: TCP Data received {"connection_id":132291,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f6460e6e0012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6460e6e0012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:39:12] local.INFO: Processing buffer {"connection_id":132291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6460e6e0012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:39:12] local.INFO: Packet analysis {"connection_id":132291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6460"} 
[2026-07-15 11:39:12] local.INFO: Extracted packet for processing {"connection_id":132291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6460"} 
[2026-07-15 11:39:12] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":15,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728370944001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:39:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:39:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784095500000,"timestamp_ms":1784095500000,"timestamp_seconds":1784095500,"priority":1,"record_length":96,"hex_timestamp":"0000019f6460e6e0"} 
[2026-07-15 11:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:39:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 11:39:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:39:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:39:12] 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-07-15 11:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728370944001,"66":25702,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728370944001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:39:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:39:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:39:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728370944001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":132291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:39:12] local.INFO: GPS data processed {"connection_id":132291,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:39:12] local.INFO: Acknowledgment sent {"connection_id":132291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:39:18] local.INFO: TCP Data received {"connection_id":132291,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f6460e6e0012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6460e6e0012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:39:18] local.INFO: Processing buffer {"connection_id":132291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6460e6e0012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:39:18] local.INFO: Packet analysis {"connection_id":132291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6460"} 
[2026-07-15 11:39:18] local.INFO: Extracted packet for processing {"connection_id":132291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6460"} 
[2026-07-15 11:39:18] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":15,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11: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-07-15 11:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728370944001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:39:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784095500000,"timestamp_ms":1784095500000,"timestamp_seconds":1784095500,"priority":1,"record_length":96,"hex_timestamp":"0000019f6460e6e0"} 
[2026-07-15 11:39:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:39:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 11:39:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11: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-07-15 11:39:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":132291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":132291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":132291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:39:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728370944001,"66":25702,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728370944001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:39:18] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:39:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728370944001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":132291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:39:18] local.INFO: GPS data processed {"connection_id":132291,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:39:18] local.INFO: Acknowledgment sent {"connection_id":132291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:39:39] local.INFO: TCP Data received {"connection_id":133324,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133324,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:39:39] local.INFO: Processing buffer {"connection_id":133324,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:39:39] local.INFO: IMEI packet received {"connection_id":133324,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 11:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":133324,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:39:39] local.INFO: TCP Data received {"connection_id":133324,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133324,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:39:39] local.INFO: Processing buffer {"connection_id":133324,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:39:39] local.INFO: IMEI packet received {"connection_id":133324,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 11:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":133324,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:39:43] local.INFO: TCP Data received {"connection_id":133324,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133324,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:39:43] local.INFO: Processing buffer {"connection_id":133324,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:39:43] local.INFO: IMEI packet received {"connection_id":133324,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 11:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":133324,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:39:44] local.INFO: TCP Data received {"connection_id":133324,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-15 11:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133324,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-15 11:39:44] local.INFO: Processing buffer {"connection_id":133324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-15 11:39:44] local.INFO: Packet analysis {"connection_id":133324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-15 11:39:44] local.INFO: Extracted packet for processing {"connection_id":133324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-15 11:39:44] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-15 11:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106372905264218112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:39:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,245,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 11:39:44] 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-07-15 11:39:44] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-15 11:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":133324,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":133324,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-15 11:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":133324,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-15 11:39:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-15 11:39:44] local.WARNING: DEBUG: No valid data to process  
[2026-07-15 11:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":133324,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-15 11:39:44] local.ERROR: GPS data processing failed {"connection_id":133324,"error":"No valid data to process"} 
[2026-07-15 11:39:44] local.INFO: Acknowledgment sent {"connection_id":133324,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-15 11:40:01] local.INFO: TCP Data received {"connection_id":132481,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:40:01] local.INFO: Processing buffer {"connection_id":132481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:40:01] local.INFO: IMEI packet received {"connection_id":132481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":132481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:40:06] local.INFO: TCP Data received {"connection_id":132481,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:40:06] local.INFO: Processing buffer {"connection_id":132481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:40:06] local.INFO: IMEI packet received {"connection_id":132481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":132481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:40:07] local.INFO: TCP Data received {"connection_id":132481,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f6460e6e0012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6460e6e0012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:40:07] local.INFO: Processing buffer {"connection_id":132481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6460e6e0012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:40:07] local.INFO: Packet analysis {"connection_id":132481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6460"} 
[2026-07-15 11:40:07] local.INFO: Extracted packet for processing {"connection_id":132481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6460"} 
[2026-07-15 11:40:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":15,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728370944001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784095500000,"timestamp_ms":1784095500000,"timestamp_seconds":1784095500,"priority":1,"record_length":96,"hex_timestamp":"0000019f6460e6e0"} 
[2026-07-15 11:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 11:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728370944001,"66":25702,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728370944001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:40:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:40:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728370944001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":132481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:40:07] local.INFO: GPS data processed {"connection_id":132481,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:40:07] local.INFO: Acknowledgment sent {"connection_id":132481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:40:15] local.INFO: TCP Data received {"connection_id":133324,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-15 11:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133324,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-15 11:40:15] local.INFO: Processing buffer {"connection_id":133324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-15 11:40:15] local.INFO: Packet analysis {"connection_id":133324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-15 11:40:15] local.INFO: Extracted packet for processing {"connection_id":133324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-15 11:40:15] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-15 11:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106372905264218112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:40:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,245,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 11:40:15] 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-07-15 11:40:15] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-15 11:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":133324,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":133324,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-15 11:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":133324,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-15 11:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-15 11:40:15] local.WARNING: DEBUG: No valid data to process  
[2026-07-15 11:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":133324,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-15 11:40:15] local.ERROR: GPS data processing failed {"connection_id":133324,"error":"No valid data to process"} 
[2026-07-15 11:40:15] local.INFO: Acknowledgment sent {"connection_id":133324,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-15 11:40:38] local.INFO: TCP Data received {"connection_id":132481,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f6460e6e0012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6460e6e0012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:40:38] local.INFO: Processing buffer {"connection_id":132481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6460e6e0012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:40:38] local.INFO: Packet analysis {"connection_id":132481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6460"} 
[2026-07-15 11:40:38] local.INFO: Extracted packet for processing {"connection_id":132481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6460"} 
[2026-07-15 11:40:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":15,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728370944001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784095500000,"timestamp_ms":1784095500000,"timestamp_seconds":1784095500,"priority":1,"record_length":96,"hex_timestamp":"0000019f6460e6e0"} 
[2026-07-15 11:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-15 11:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728370944001,"66":25702,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728370944001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:40:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:40:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728370944001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":132481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:40:38] local.INFO: GPS data processed {"connection_id":132481,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:40:38] local.INFO: Acknowledgment sent {"connection_id":132481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:40:46] local.INFO: TCP Data received {"connection_id":133324,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f6465c8e00100000000000000000000000000..."} 
[2026-07-15 11:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6465c8e00100000000000000000000000000..."} 
[2026-07-15 11:40:46] local.INFO: Processing buffer {"connection_id":133324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6465c8e00100000000000000000000000000..."} 
[2026-07-15 11:40:46] local.INFO: Packet analysis {"connection_id":133324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6465"} 
[2026-07-15 11:40:46] local.INFO: Extracted packet for processing {"connection_id":133324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6465"} 
[2026-07-15 11:40:46] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-15 11:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106372905264218112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:40:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,245,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 11:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784095820000,"timestamp_ms":1784095820000,"timestamp_seconds":1784095820,"priority":1,"record_length":96,"hex_timestamp":"0000019f6465c8e0"} 
[2026-07-15 11:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:40:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 11:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-15 11:40:46] 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-07-15 11:40:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":133324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":133324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":133324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 11:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 11:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":133324,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 11:40:46] local.INFO: GPS data processed {"connection_id":133324,"processed":0,"errors":0,"total":1} 
[2026-07-15 11:40:46] local.INFO: Acknowledgment sent {"connection_id":133324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:41:01] local.INFO: TCP Data received {"connection_id":132292,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:41:01] local.INFO: Processing buffer {"connection_id":132292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:41:01] local.INFO: IMEI packet received {"connection_id":132292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":132292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:41:06] local.INFO: TCP Data received {"connection_id":132292,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:41:06] local.INFO: Processing buffer {"connection_id":132292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:41:06] local.INFO: IMEI packet received {"connection_id":132292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":132292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:41:09] local.INFO: TCP Data received {"connection_id":132292,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f64657ea8012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64657ea8012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:41:09] local.INFO: Processing buffer {"connection_id":132292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64657ea8012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:41:09] local.INFO: Packet analysis {"connection_id":132292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6465"} 
[2026-07-15 11:41:09] local.INFO: Extracted packet for processing {"connection_id":132292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6465"} 
[2026-07-15 11:41:09] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":15,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728448000001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:41:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784095801000,"timestamp_ms":1784095801000,"timestamp_seconds":1784095801,"priority":1,"record_length":96,"hex_timestamp":"0000019f64657ea8"} 
[2026-07-15 11:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:41:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:41:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":132292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":132292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":132292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:41:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728448000001,"66":25647,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728448000001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:41:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:41:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728448000001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":132292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:41:09] local.INFO: GPS data processed {"connection_id":132292,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:41:09] local.INFO: Acknowledgment sent {"connection_id":132292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:41:18] local.INFO: TCP Data received {"connection_id":133324,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f64661ae80100000000000000000000000000..."} 
[2026-07-15 11:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64661ae80100000000000000000000000000..."} 
[2026-07-15 11:41:18] local.INFO: Processing buffer {"connection_id":133324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64661ae80100000000000000000000000000..."} 
[2026-07-15 11:41:18] local.INFO: Packet analysis {"connection_id":133324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6466"} 
[2026-07-15 11:41:18] local.INFO: Extracted packet for processing {"connection_id":133324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6466"} 
[2026-07-15 11:41: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-07-15 11:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:41:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106372905264218112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:41:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,245,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 11:41:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784095841000,"timestamp_ms":1784095841000,"timestamp_seconds":1784095841,"priority":1,"record_length":96,"hex_timestamp":"0000019f64661ae8"} 
[2026-07-15 11:41:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:41: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-07-15 11:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-15 11:41:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:41:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:41:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:41:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:41:18] local.INFO: Teltonika packet parsed successfully {"connection_id":133324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:41:18] local.INFO: Passing IMEI to GPS processor {"connection_id":133324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:41:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":133324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:41:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:41:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 11:41:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 11:41:18] local.INFO: DEBUG: GPS processor result {"connection_id":133324,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 11:41:18] local.INFO: GPS data processed {"connection_id":133324,"processed":0,"errors":0,"total":1} 
[2026-07-15 11:41:18] local.INFO: Acknowledgment sent {"connection_id":133324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:41:41] local.INFO: TCP Data received {"connection_id":132292,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f64657ea8012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64657ea8012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:41:41] local.INFO: Processing buffer {"connection_id":132292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64657ea8012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:41:41] local.INFO: Packet analysis {"connection_id":132292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6465"} 
[2026-07-15 11:41:41] local.INFO: Extracted packet for processing {"connection_id":132292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6465"} 
[2026-07-15 11:41:41] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":15,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728448000001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784095801000,"timestamp_ms":1784095801000,"timestamp_seconds":1784095801,"priority":1,"record_length":96,"hex_timestamp":"0000019f64657ea8"} 
[2026-07-15 11:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:41:41] 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-07-15 11:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728448000001,"66":25647,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728448000001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:41:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:41:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728448000001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":132292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:41:41] local.INFO: GPS data processed {"connection_id":132292,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:41:41] local.INFO: Acknowledgment sent {"connection_id":132292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:41:49] local.INFO: TCP Data received {"connection_id":133324,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f64666cf00100000000000000000000000000..."} 
[2026-07-15 11:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64666cf00100000000000000000000000000..."} 
[2026-07-15 11:41:49] local.INFO: Processing buffer {"connection_id":133324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64666cf00100000000000000000000000000..."} 
[2026-07-15 11:41:49] local.INFO: Packet analysis {"connection_id":133324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6466"} 
[2026-07-15 11:41:49] local.INFO: Extracted packet for processing {"connection_id":133324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6466"} 
[2026-07-15 11:41: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-07-15 11: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-07-15 11:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106372905264218112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:41:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,187,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 11:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1784095862000,"timestamp_ms":1784095862000,"timestamp_seconds":1784095862,"priority":1,"record_length":96,"hex_timestamp":"0000019f64666cf0"} 
[2026-07-15 11:41:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:41:49] 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-07-15 11:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-15 11:41:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11: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-07-15 11:41:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":133324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":133324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":133324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:41:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 11:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 11:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":133324,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 11:41:49] local.INFO: GPS data processed {"connection_id":133324,"processed":0,"errors":0,"total":1} 
[2026-07-15 11:41:49] local.INFO: Acknowledgment sent {"connection_id":133324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:41:55] local.INFO: TCP Data received {"connection_id":134690,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134690,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:41:55] local.INFO: Processing buffer {"connection_id":134690,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:41:55] local.INFO: IMEI packet received {"connection_id":134690,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 11:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":134690,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:42:01] local.INFO: TCP Data received {"connection_id":133325,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:42:01] local.INFO: Processing buffer {"connection_id":133325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:42:01] local.INFO: IMEI packet received {"connection_id":133325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":133325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:42:06] local.INFO: TCP Data received {"connection_id":133325,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:42:06] local.INFO: Processing buffer {"connection_id":133325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:42:06] local.INFO: IMEI packet received {"connection_id":133325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":133325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:42:07] local.INFO: TCP Data received {"connection_id":133325,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f64657ea8012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64657ea8012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:42:07] local.INFO: Processing buffer {"connection_id":133325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64657ea8012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:42:07] local.INFO: Packet analysis {"connection_id":133325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6465"} 
[2026-07-15 11:42:07] local.INFO: Extracted packet for processing {"connection_id":133325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6465"} 
[2026-07-15 11:42:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":15,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728448000001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784095801000,"timestamp_ms":1784095801000,"timestamp_seconds":1784095801,"priority":1,"record_length":96,"hex_timestamp":"0000019f64657ea8"} 
[2026-07-15 11:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:42:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:42:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728448000001,"66":25647,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728448000001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:42:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:42:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728448000001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":133325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:42:07] local.INFO: GPS data processed {"connection_id":133325,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:42:07] local.INFO: Acknowledgment sent {"connection_id":133325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:42:20] local.INFO: TCP Data received {"connection_id":133324,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f6466bef80100000000000000000000000000..."} 
[2026-07-15 11:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6466bef80100000000000000000000000000..."} 
[2026-07-15 11:42:20] local.INFO: Processing buffer {"connection_id":133324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6466bef80100000000000000000000000000..."} 
[2026-07-15 11:42:20] local.INFO: Packet analysis {"connection_id":133324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6466"} 
[2026-07-15 11:42:20] local.INFO: Extracted packet for processing {"connection_id":133324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6466"} 
[2026-07-15 11:42:20] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-15 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-07-15 11:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106372905264218112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:42:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,187,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 11:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1784095883000,"timestamp_ms":1784095883000,"timestamp_seconds":1784095883,"priority":1,"record_length":96,"hex_timestamp":"0000019f6466bef8"} 
[2026-07-15 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-07-15 11:42:20] 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-07-15 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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-15 11:42:20] 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-07-15 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-07-15 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-07-15 11:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":133324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":133324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":133324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:42:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 11:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 11:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":133324,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 11:42:20] local.INFO: GPS data processed {"connection_id":133324,"processed":0,"errors":0,"total":1} 
[2026-07-15 11:42:20] local.INFO: Acknowledgment sent {"connection_id":133324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:42:35] local.INFO: TCP Data received {"connection_id":134691,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134691,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:42:35] local.INFO: Processing buffer {"connection_id":134691,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:42:35] local.INFO: IMEI packet received {"connection_id":134691,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 11:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":134691,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:42:39] local.INFO: TCP Data received {"connection_id":133325,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f64657ea8012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64657ea8012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:42:39] local.INFO: Processing buffer {"connection_id":133325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64657ea8012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:42:39] local.INFO: Packet analysis {"connection_id":133325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6465"} 
[2026-07-15 11:42:39] local.INFO: Extracted packet for processing {"connection_id":133325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6465"} 
[2026-07-15 11:42:39] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":15,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728448000001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:42:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784095801000,"timestamp_ms":1784095801000,"timestamp_seconds":1784095801,"priority":1,"record_length":96,"hex_timestamp":"0000019f64657ea8"} 
[2026-07-15 11:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:42:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:42:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:42:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:42:39] 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-07-15 11:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728448000001,"66":25647,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728448000001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:42:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:42:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728448000001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":133325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:42:39] local.INFO: GPS data processed {"connection_id":133325,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:42:39] local.INFO: Acknowledgment sent {"connection_id":133325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:42:51] local.INFO: TCP Data received {"connection_id":133324,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f646711000100000000000000000000000000..."} 
[2026-07-15 11:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f646711000100000000000000000000000000..."} 
[2026-07-15 11:42:51] local.INFO: Processing buffer {"connection_id":133324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f646711000100000000000000000000000000..."} 
[2026-07-15 11:42:51] local.INFO: Packet analysis {"connection_id":133324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6467"} 
[2026-07-15 11:42:51] local.INFO: Extracted packet for processing {"connection_id":133324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6467"} 
[2026-07-15 11:42: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-07-15 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-07-15 11:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106372905264218112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:42:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,186,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 11:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784095904000,"timestamp_ms":1784095904000,"timestamp_seconds":1784095904,"priority":1,"record_length":96,"hex_timestamp":"0000019f64671100"} 
[2026-07-15 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-07-15 11:42:51] 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-07-15 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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-07-15 11:42: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-07-15 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-07-15 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-07-15 11:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":133324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":133324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":133324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 11:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 11:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":133324,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 11:42:51] local.INFO: GPS data processed {"connection_id":133324,"processed":0,"errors":0,"total":1} 
[2026-07-15 11:42:51] local.INFO: Acknowledgment sent {"connection_id":133324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:43:06] local.INFO: TCP Data received {"connection_id":132293,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:43:06] local.INFO: Processing buffer {"connection_id":132293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:43:06] local.INFO: IMEI packet received {"connection_id":132293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":132293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:43:11] local.INFO: TCP Data received {"connection_id":132293,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:43:11] local.INFO: Processing buffer {"connection_id":132293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:43:11] local.INFO: IMEI packet received {"connection_id":132293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":132293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:43:12] local.INFO: TCP Data received {"connection_id":132293,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64657ea8012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64657ea8012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:43:12] local.INFO: Processing buffer {"connection_id":132293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64657ea8012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:43:12] local.INFO: Packet analysis {"connection_id":132293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6465"} 
[2026-07-15 11:43:12] local.INFO: Extracted packet for processing {"connection_id":132293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6465"} 
[2026-07-15 11:43:12] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":15,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728448000001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:43:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784095801000,"timestamp_ms":1784095801000,"timestamp_seconds":1784095801,"priority":1,"record_length":96,"hex_timestamp":"0000019f64657ea8"} 
[2026-07-15 11:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:43:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11: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-07-15 11:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:43:12] 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-07-15 11:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728448000001,"66":25647,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728448000001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:43:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:43:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728448000001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":132293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:43:12] local.INFO: GPS data processed {"connection_id":132293,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:43:12] local.INFO: Acknowledgment sent {"connection_id":132293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:43:16] local.INFO: TCP Data received {"connection_id":132293,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64657ea8012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64657ea8012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:43:16] local.INFO: Processing buffer {"connection_id":132293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64657ea8012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:43:16] local.INFO: Packet analysis {"connection_id":132293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6465"} 
[2026-07-15 11:43:16] local.INFO: Extracted packet for processing {"connection_id":132293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6465"} 
[2026-07-15 11:43:16] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":15,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728448000001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:43:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784095801000,"timestamp_ms":1784095801000,"timestamp_seconds":1784095801,"priority":1,"record_length":96,"hex_timestamp":"0000019f64657ea8"} 
[2026-07-15 11:43:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:43:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:43:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:43:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:43:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:43:16] 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-07-15 11:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728448000001,"66":25647,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728448000001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:43:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:43:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728448000001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":132293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:43:16] local.INFO: GPS data processed {"connection_id":132293,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:43:16] local.INFO: Acknowledgment sent {"connection_id":132293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:43:22] local.INFO: TCP Data received {"connection_id":133324,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f646763080100000000000000000000000000..."} 
[2026-07-15 11:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f646763080100000000000000000000000000..."} 
[2026-07-15 11:43:22] local.INFO: Processing buffer {"connection_id":133324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f646763080100000000000000000000000000..."} 
[2026-07-15 11:43:22] local.INFO: Packet analysis {"connection_id":133324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6467"} 
[2026-07-15 11:43:22] local.INFO: Extracted packet for processing {"connection_id":133324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6467"} 
[2026-07-15 11:43: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-07-15 11: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-07-15 11:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106372905264218112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:43:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,168,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 11:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784095925000,"timestamp_ms":1784095925000,"timestamp_seconds":1784095925,"priority":1,"record_length":96,"hex_timestamp":"0000019f64676308"} 
[2026-07-15 11:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:43:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 11: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-15 11:43:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 11:43:22] local.WARNING: Large IO value detected {"io_id":233,"raw_value":2550136832,"note":"Value kept but may cause issues"} 
[2026-07-15 11:43:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19423972483416625,"note":"Value kept but may cause issues"} 
[2026-07-15 11:43:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2834628814,"corrected_to":0} 
[2026-07-15 11:43:22] local.WARNING: Large IO value detected {"io_id":9,"raw_value":2684420096,"note":"Value kept but may cause issues"} 
[2026-07-15 11:43:22] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3919052800,"note":"Value kept but may cause issues"} 
[2026-07-15 11:43:22] local.WARNING: Large IO value detected {"io_id":80,"raw_value":57888140459660603,"note":"Value kept but may cause issues"} 
[2026-07-15 11:43:22] local.INFO: IO Element Parsed {"io_data_count":30,"io_data_keys":[0,186,85,24,241,157,16,233,159,190,10,66,187,108,26,1,240,35,227,100,4,113,205,9,239,2,52,245,121,80],"length":527,"final_offset":657,"validated_count":30,"validation_warnings":[{"io_id":205,"original":2834628814,"validated":0}]} 
[2026-07-15 11:43:22] 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-07-15 11:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":133324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":133324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":133324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 11:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 11:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":133324,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 11:43:22] local.INFO: GPS data processed {"connection_id":133324,"processed":0,"errors":0,"total":1} 
[2026-07-15 11:43:22] local.INFO: Acknowledgment sent {"connection_id":133324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:43:53] local.INFO: TCP Data received {"connection_id":133324,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f6467b5100100000000000000000000000000..."} 
[2026-07-15 11:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6467b5100100000000000000000000000000..."} 
[2026-07-15 11:43:53] local.INFO: Processing buffer {"connection_id":133324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6467b5100100000000000000000000000000..."} 
[2026-07-15 11:43:53] local.INFO: Packet analysis {"connection_id":133324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6467"} 
[2026-07-15 11:43:53] local.INFO: Extracted packet for processing {"connection_id":133324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6467"} 
[2026-07-15 11:43: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-07-15 11:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106372905264218112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:43:53] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,168,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 11:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784095946000,"timestamp_ms":1784095946000,"timestamp_seconds":1784095946,"priority":1,"record_length":96,"hex_timestamp":"0000019f6467b510"} 
[2026-07-15 11:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:43:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 11:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-07-15 11:43:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:43:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":133324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":133324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":133324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:43:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 11:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 11:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":133324,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 11:43:53] local.INFO: GPS data processed {"connection_id":133324,"processed":0,"errors":0,"total":1} 
[2026-07-15 11:43:53] local.INFO: Acknowledgment sent {"connection_id":133324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:44:01] local.INFO: TCP Data received {"connection_id":133327,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:44:01] local.INFO: Processing buffer {"connection_id":133327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:44:01] local.INFO: IMEI packet received {"connection_id":133327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":133327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:44:06] local.INFO: TCP Data received {"connection_id":133327,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:44:06] local.INFO: Processing buffer {"connection_id":133327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:44:06] local.INFO: IMEI packet received {"connection_id":133327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":133327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:44:07] local.INFO: TCP Data received {"connection_id":133327,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f64657ea8012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64657ea8012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:44:07] local.INFO: Processing buffer {"connection_id":133327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64657ea8012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:44:07] local.INFO: Packet analysis {"connection_id":133327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6465"} 
[2026-07-15 11:44:07] local.INFO: Extracted packet for processing {"connection_id":133327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6465"} 
[2026-07-15 11:44:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":15,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11: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-07-15 11:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728448000001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784095801000,"timestamp_ms":1784095801000,"timestamp_seconds":1784095801,"priority":1,"record_length":96,"hex_timestamp":"0000019f64657ea8"} 
[2026-07-15 11:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11: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-07-15 11:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728448000001,"66":25647,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728448000001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:44:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:44:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728448000001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":133327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:44:07] local.INFO: GPS data processed {"connection_id":133327,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:44:07] local.INFO: Acknowledgment sent {"connection_id":133327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:44:18] local.INFO: TCP Data received {"connection_id":134692,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134692,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:44:18] local.INFO: Processing buffer {"connection_id":134692,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:44:18] local.INFO: IMEI packet received {"connection_id":134692,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 11:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":134692,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:44:23] local.INFO: TCP Data received {"connection_id":134692,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134692,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:44:23] local.INFO: Processing buffer {"connection_id":134692,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:44:23] local.INFO: IMEI packet received {"connection_id":134692,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 11:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":134692,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:44:24] local.INFO: TCP Data received {"connection_id":134692,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f646807180100000000000000000000000000..."} 
[2026-07-15 11:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f646807180100000000000000000000000000..."} 
[2026-07-15 11:44:24] local.INFO: Processing buffer {"connection_id":134692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f646807180100000000000000000000000000..."} 
[2026-07-15 11:44:24] local.INFO: Packet analysis {"connection_id":134692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6468"} 
[2026-07-15 11:44:24] local.INFO: Extracted packet for processing {"connection_id":134692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6468"} 
[2026-07-15 11:44: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-07-15 11: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-07-15 11:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106372905264218112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:44:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,186,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 11:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1784095967000,"timestamp_ms":1784095967000,"timestamp_seconds":1784095967,"priority":1,"record_length":96,"hex_timestamp":"0000019f64680718"} 
[2026-07-15 11:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:44:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5120,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 11: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-07-15 11:44:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11: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-07-15 11:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":134692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":134692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":134692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:44:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 11:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 11:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":134692,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 11:44:24] local.INFO: GPS data processed {"connection_id":134692,"processed":0,"errors":0,"total":1} 
[2026-07-15 11:44:24] local.INFO: Acknowledgment sent {"connection_id":134692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:44:38] local.INFO: TCP Data received {"connection_id":133327,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f64657ea8012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64657ea8012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:44:38] local.INFO: Processing buffer {"connection_id":133327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64657ea8012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:44:38] local.INFO: Packet analysis {"connection_id":133327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6465"} 
[2026-07-15 11:44:38] local.INFO: Extracted packet for processing {"connection_id":133327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6465"} 
[2026-07-15 11:44:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":15,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11: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-07-15 11:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728448000001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784095801000,"timestamp_ms":1784095801000,"timestamp_seconds":1784095801,"priority":1,"record_length":96,"hex_timestamp":"0000019f64657ea8"} 
[2026-07-15 11:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11: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-07-15 11:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:44:38] 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-07-15 11:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728448000001,"66":25647,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728448000001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:44:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:44:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728448000001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":133327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:44:38] local.INFO: GPS data processed {"connection_id":133327,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:44:38] local.INFO: Acknowledgment sent {"connection_id":133327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:44:55] local.INFO: TCP Data received {"connection_id":134692,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f646859200100000000000000000000000000..."} 
[2026-07-15 11:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f646859200100000000000000000000000000..."} 
[2026-07-15 11:44:55] local.INFO: Processing buffer {"connection_id":134692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f646859200100000000000000000000000000..."} 
[2026-07-15 11:44:55] local.INFO: Packet analysis {"connection_id":134692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6468"} 
[2026-07-15 11:44:55] local.INFO: Extracted packet for processing {"connection_id":134692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6468"} 
[2026-07-15 11:44:55] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-15 11:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106372905264218112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:44:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,186,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 11:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784095988000,"timestamp_ms":1784095988000,"timestamp_seconds":1784095988,"priority":1,"record_length":96,"hex_timestamp":"0000019f64685920"} 
[2026-07-15 11:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:44:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 11:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-15 11:44:55] 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-07-15 11:44:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":134692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":134692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":134692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 11:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 11:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":134692,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 11:44:55] local.INFO: GPS data processed {"connection_id":134692,"processed":0,"errors":0,"total":1} 
[2026-07-15 11:44:55] local.INFO: Acknowledgment sent {"connection_id":134692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:45:02] local.INFO: TCP Data received {"connection_id":134693,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:45:02] local.INFO: Processing buffer {"connection_id":134693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:45:02] local.INFO: IMEI packet received {"connection_id":134693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":134693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:45:07] local.INFO: TCP Data received {"connection_id":134693,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:45:07] local.INFO: Processing buffer {"connection_id":134693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:45:07] local.INFO: IMEI packet received {"connection_id":134693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":134693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:45:08] local.INFO: TCP Data received {"connection_id":134693,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f64657ea8012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64657ea8012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:45:08] local.INFO: Processing buffer {"connection_id":134693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64657ea8012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:45:08] local.INFO: Packet analysis {"connection_id":134693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6465"} 
[2026-07-15 11:45:08] local.INFO: Extracted packet for processing {"connection_id":134693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6465"} 
[2026-07-15 11:45:08] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":15,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728448000001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784095801000,"timestamp_ms":1784095801000,"timestamp_seconds":1784095801,"priority":1,"record_length":96,"hex_timestamp":"0000019f64657ea8"} 
[2026-07-15 11:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:45:08] 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-07-15 11:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728448000001,"66":25647,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728448000001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:45:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:45:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728448000001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":134693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:45:08] local.INFO: GPS data processed {"connection_id":134693,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:45:08] local.INFO: Acknowledgment sent {"connection_id":134693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:45:26] local.INFO: TCP Data received {"connection_id":134692,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f6468ab280100000000000000000000000000..."} 
[2026-07-15 11:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6468ab280100000000000000000000000000..."} 
[2026-07-15 11:45:26] local.INFO: Processing buffer {"connection_id":134692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6468ab280100000000000000000000000000..."} 
[2026-07-15 11:45:26] local.INFO: Packet analysis {"connection_id":134692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6468"} 
[2026-07-15 11:45:26] local.INFO: Extracted packet for processing {"connection_id":134692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6468"} 
[2026-07-15 11:45:26] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-15 11: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-07-15 11:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106372905264218112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:45:26] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,186,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 11:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784096009000,"timestamp_ms":1784096009000,"timestamp_seconds":1784096009,"priority":1,"record_length":96,"hex_timestamp":"0000019f6468ab28"} 
[2026-07-15 11:45:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:45:26] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 11:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-15 11:45:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 11:45:26] local.WARNING: Large IO value detected {"io_id":233,"raw_value":2550136832,"note":"Value kept but may cause issues"} 
[2026-07-15 11:45:26] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19423972483416628,"note":"Value kept but may cause issues"} 
[2026-07-15 11:45:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797207758,"corrected_to":0} 
[2026-07-15 11:45:26] local.WARNING: Large IO value detected {"io_id":190,"raw_value":4160815104,"note":"Value kept but may cause issues"} 
[2026-07-15 11:45:26] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3919052800,"note":"Value kept but may cause issues"} 
[2026-07-15 11:45:26] local.WARNING: Large IO value detected {"io_id":84,"raw_value":57885692328301883,"note":"Value kept but may cause issues"} 
[2026-07-15 11:45:26] local.WARNING: Large IO value detected {"io_id":102,"raw_value":1938800739094626304,"note":"Value kept but may cause issues"} 
[2026-07-15 11:45:26] local.INFO: IO Element Parsed {"io_data_count":31,"io_data_keys":[0,186,85,24,241,157,16,233,159,7,10,66,181,168,99,1,240,105,227,100,4,113,205,190,239,2,53,187,121,84,102],"length":527,"final_offset":657,"validated_count":31,"validation_warnings":[{"io_id":205,"original":2797207758,"validated":0}]} 
[2026-07-15 11:45:26] 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-07-15 11:45:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":134692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":134692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":134692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:45:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 11:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 11:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":134692,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 11:45:26] local.INFO: GPS data processed {"connection_id":134692,"processed":0,"errors":0,"total":1} 
[2026-07-15 11:45:26] local.INFO: Acknowledgment sent {"connection_id":134692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:45:39] local.INFO: TCP Data received {"connection_id":134693,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f64657ea8012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64657ea8012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:45:39] local.INFO: Processing buffer {"connection_id":134693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64657ea8012d7f998005afdce0000f011c2a..."} 
[2026-07-15 11:45:39] local.INFO: Packet analysis {"connection_id":134693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6465"} 
[2026-07-15 11:45:39] local.INFO: Extracted packet for processing {"connection_id":134693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6465"} 
[2026-07-15 11:45:39] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":15,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728448000001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784095801000,"timestamp_ms":1784095801000,"timestamp_seconds":1784095801,"priority":1,"record_length":96,"hex_timestamp":"0000019f64657ea8"} 
[2026-07-15 11:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:45:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 11:45:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:45:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:45: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-07-15 11:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728448000001,"66":25647,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728448000001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:45:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:45:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728448000001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":134693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:45:39] local.INFO: GPS data processed {"connection_id":134693,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:45:39] local.INFO: Acknowledgment sent {"connection_id":134693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:46:00] local.INFO: TCP Data received {"connection_id":134692,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f6468fd300100000000000000000000000000..."} 
[2026-07-15 11:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6468fd300100000000000000000000000000..."} 
[2026-07-15 11:46:00] local.INFO: Processing buffer {"connection_id":134692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6468fd300100000000000000000000000000..."} 
[2026-07-15 11:46:00] local.INFO: Packet analysis {"connection_id":134692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6468"} 
[2026-07-15 11:46:00] local.INFO: Extracted packet for processing {"connection_id":134692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6468"} 
[2026-07-15 11:46: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-07-15 11:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106372905264218112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:46:00] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,186,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 11:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784096030000,"timestamp_ms":1784096030000,"timestamp_seconds":1784096030,"priority":1,"record_length":96,"hex_timestamp":"0000019f6468fd30"} 
[2026-07-15 11:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:46:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7168,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 11:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-15 11:46:00] 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-07-15 11:46:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":134692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":134692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":134692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:46:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 11:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 11:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":134692,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 11:46:00] local.INFO: GPS data processed {"connection_id":134692,"processed":0,"errors":0,"total":1} 
[2026-07-15 11:46:00] local.INFO: Acknowledgment sent {"connection_id":134692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:46:06] local.INFO: TCP Data received {"connection_id":132294,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:46:06] local.INFO: Processing buffer {"connection_id":132294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:46:06] local.INFO: IMEI packet received {"connection_id":132294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":132294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:46:11] local.INFO: TCP Data received {"connection_id":132294,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:46:11] local.INFO: Processing buffer {"connection_id":132294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:46:11] local.INFO: IMEI packet received {"connection_id":132294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":132294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:46:12] local.INFO: TCP Data received {"connection_id":132294,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f646a1670012d7f998005afdce00007011c2c..."} 
[2026-07-15 11:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f646a1670012d7f998005afdce00007011c2c..."} 
[2026-07-15 11:46:12] local.INFO: Processing buffer {"connection_id":132294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f646a1670012d7f998005afdce00007011c2c..."} 
[2026-07-15 11:46:12] local.INFO: Packet analysis {"connection_id":132294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f646a"} 
[2026-07-15 11:46:12] local.INFO: Extracted packet for processing {"connection_id":132294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f646a"} 
[2026-07-15 11:46:12] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":7,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11: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-07-15 11:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728525056001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:46:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784096102000,"timestamp_ms":1784096102000,"timestamp_seconds":1784096102,"priority":1,"record_length":96,"hex_timestamp":"0000019f646a1670"} 
[2026-07-15 11:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 11:46:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11: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-07-15 11:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:46:12] 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-07-15 11:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728525056001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728525056001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:46:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:46:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:46:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728525056001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":132294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:46:12] local.INFO: GPS data processed {"connection_id":132294,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:46:12] local.INFO: Acknowledgment sent {"connection_id":132294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:46:17] local.INFO: TCP Data received {"connection_id":132294,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f646a1670012d7f998005afdce00007011c2c..."} 
[2026-07-15 11:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f646a1670012d7f998005afdce00007011c2c..."} 
[2026-07-15 11:46:17] local.INFO: Processing buffer {"connection_id":132294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f646a1670012d7f998005afdce00007011c2c..."} 
[2026-07-15 11:46:17] local.INFO: Packet analysis {"connection_id":132294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f646a"} 
[2026-07-15 11:46:17] local.INFO: Extracted packet for processing {"connection_id":132294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f646a"} 
[2026-07-15 11:46:17] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":7,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728525056001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784096102000,"timestamp_ms":1784096102000,"timestamp_seconds":1784096102,"priority":1,"record_length":96,"hex_timestamp":"0000019f646a1670"} 
[2026-07-15 11:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 11:46:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:46:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728525056001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728525056001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:46:17] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:46:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728525056001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":132294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:46:17] local.INFO: GPS data processed {"connection_id":132294,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:46:17] local.INFO: Acknowledgment sent {"connection_id":132294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:46:21] local.INFO: TCP Data received {"connection_id":132295,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132295,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:46:21] local.INFO: Processing buffer {"connection_id":132295,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:46:21] local.INFO: IMEI packet received {"connection_id":132295,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 11:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":132295,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:46:23] local.INFO: TCP Data received {"connection_id":132295,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132295,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:46:23] local.INFO: Processing buffer {"connection_id":132295,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:46:23] local.INFO: IMEI packet received {"connection_id":132295,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 11:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":132295,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:46:28] local.INFO: TCP Data received {"connection_id":132295,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132295,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:46:28] local.INFO: Processing buffer {"connection_id":132295,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:46:28] local.INFO: IMEI packet received {"connection_id":132295,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 11:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":132295,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:46:28] local.INFO: TCP Data received {"connection_id":132295,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f64694f380100000000000000000000000000..."} 
[2026-07-15 11:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64694f380100000000000000000000000000..."} 
[2026-07-15 11:46:28] local.INFO: Processing buffer {"connection_id":132295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64694f380100000000000000000000000000..."} 
[2026-07-15 11:46:28] local.INFO: Packet analysis {"connection_id":132295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6469"} 
[2026-07-15 11:46:28] local.INFO: Extracted packet for processing {"connection_id":132295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6469"} 
[2026-07-15 11:46: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-07-15 11: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-07-15 11:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106372905264218112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:46:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,186,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 11:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784096051000,"timestamp_ms":1784096051000,"timestamp_seconds":1784096051,"priority":1,"record_length":96,"hex_timestamp":"0000019f64694f38"} 
[2026-07-15 11:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:46:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 11: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-15 11:46:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11: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-07-15 11:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 11:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 11:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":132295,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 11:46:28] local.INFO: GPS data processed {"connection_id":132295,"processed":0,"errors":0,"total":1} 
[2026-07-15 11:46:28] local.INFO: Acknowledgment sent {"connection_id":132295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:46:29] local.INFO: TCP Data received {"connection_id":132295,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f6469a1400100000000000000000000000000..."} 
[2026-07-15 11:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6469a1400100000000000000000000000000..."} 
[2026-07-15 11:46:29] local.INFO: Processing buffer {"connection_id":132295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6469a1400100000000000000000000000000..."} 
[2026-07-15 11:46:29] local.INFO: Packet analysis {"connection_id":132295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6469"} 
[2026-07-15 11:46:29] local.INFO: Extracted packet for processing {"connection_id":132295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6469"} 
[2026-07-15 11:46:29] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-15 11: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-07-15 11:46:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106372905264218112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:46:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,186,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 11:46:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784096072000,"timestamp_ms":1784096072000,"timestamp_seconds":1784096072,"priority":1,"record_length":96,"hex_timestamp":"0000019f6469a140"} 
[2026-07-15 11:46:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:46:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 11: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-07-15 11:46:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11: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-07-15 11:46:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:46:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:46:29] local.INFO: Teltonika packet parsed successfully {"connection_id":132295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:46:29] local.INFO: Passing IMEI to GPS processor {"connection_id":132295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:46:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":132295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:46:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:46:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 11:46:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 11:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":132295,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 11:46:29] local.INFO: GPS data processed {"connection_id":132295,"processed":0,"errors":0,"total":1} 
[2026-07-15 11:46:29] local.INFO: Acknowledgment sent {"connection_id":132295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:46:59] local.INFO: TCP Data received {"connection_id":132295,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f646bc038012d7cfa0005dba338000a002514..."} 
[2026-07-15 11:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f646bc038012d7cfa0005dba338000a002514..."} 
[2026-07-15 11:46:59] local.INFO: Processing buffer {"connection_id":132295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f646bc038012d7cfa0005dba338000a002514..."} 
[2026-07-15 11:46:59] local.INFO: Packet analysis {"connection_id":132295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f646b"} 
[2026-07-15 11:46:59] local.INFO: Extracted packet for processing {"connection_id":132295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f646b"} 
[2026-07-15 11:46:59] local.INFO: GPS Element Parsed {"raw_longitude":763165184,"raw_latitude":98280248,"longitude_deg":76.3165184,"latitude_deg":9.8280248,"altitude":10,"angle":37,"satellites":20,"speed":20,"hex_longitude":"2d7cfa00","hex_latitude":"05dba338","is_valid_coordinates":true} 
[2026-07-15 11:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728629504001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106374112150028288,"note":"Value kept but may cause issues"} 
[2026-07-15 11:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004947480086816768,"note":"Value kept but may cause issues"} 
[2026-07-15 11:46:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784096211000,"timestamp_ms":1784096211000,"timestamp_seconds":1784096211,"priority":1,"record_length":96,"hex_timestamp":"0000019f646bc038"} 
[2026-07-15 11:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:46:59] 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-07-15 11:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-07-15 11:46:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:46:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":132295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":132295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":132295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:46:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 11:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 11:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728629504001,"66":13363,"186":206,"85":15104,"24":20,"16":106374112150028288,"45":9004947480086816768},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-07-15 11:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 11:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 11:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728629504001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:46:59] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-15 11:46:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 11:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106374112150028288,"km_value":106374112150028.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004947480086816768,"description":"Unknown IO ID 45"} 
[2026-07-15 11:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728629504001,"power":13363,"unknown_186":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9004947480086816768}} 
[2026-07-15 11:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":132295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490744,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:46:59] local.INFO: GPS data processed {"connection_id":132295,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:46:59] local.INFO: Acknowledgment sent {"connection_id":132295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:47:01] local.INFO: TCP Data received {"connection_id":132484,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:47:01] local.INFO: Processing buffer {"connection_id":132484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:47:01] local.INFO: IMEI packet received {"connection_id":132484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":132484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:47:06] local.INFO: TCP Data received {"connection_id":132484,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:47:06] local.INFO: Processing buffer {"connection_id":132484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:47:06] local.INFO: IMEI packet received {"connection_id":132484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":132484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:47:07] local.INFO: TCP Data received {"connection_id":132484,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f646a1670012d7f998005afdce00007011c2c..."} 
[2026-07-15 11:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f646a1670012d7f998005afdce00007011c2c..."} 
[2026-07-15 11:47:07] local.INFO: Processing buffer {"connection_id":132484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f646a1670012d7f998005afdce00007011c2c..."} 
[2026-07-15 11:47:07] local.INFO: Packet analysis {"connection_id":132484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f646a"} 
[2026-07-15 11:47:07] local.INFO: Extracted packet for processing {"connection_id":132484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f646a"} 
[2026-07-15 11:47:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":7,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728525056001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784096102000,"timestamp_ms":1784096102000,"timestamp_seconds":1784096102,"priority":1,"record_length":96,"hex_timestamp":"0000019f646a1670"} 
[2026-07-15 11:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 11:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728525056001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728525056001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:47:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:47:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728525056001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":132484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:47:07] local.INFO: GPS data processed {"connection_id":132484,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:47:07] local.INFO: Acknowledgment sent {"connection_id":132484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:47:18] local.INFO: TCP Data received {"connection_id":133330,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133330,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:47:18] local.INFO: Processing buffer {"connection_id":133330,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:47:18] local.INFO: IMEI packet received {"connection_id":133330,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 11:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":133330,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:47:21] local.INFO: TCP Data received {"connection_id":133330,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133330,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:47:21] local.INFO: Processing buffer {"connection_id":133330,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:47:21] local.INFO: IMEI packet received {"connection_id":133330,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 11:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":133330,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:47:22] local.INFO: TCP Data received {"connection_id":133330,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f646bd3c0012d7d01c005dbab90000b003414..."} 
[2026-07-15 11:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f646bd3c0012d7d01c005dbab90000b003414..."} 
[2026-07-15 11:47:22] local.INFO: Processing buffer {"connection_id":133330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f646bd3c0012d7d01c005dbab90000b003414..."} 
[2026-07-15 11:47:22] local.INFO: Packet analysis {"connection_id":133330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f646b"} 
[2026-07-15 11:47:22] local.INFO: Extracted packet for processing {"connection_id":133330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f646b"} 
[2026-07-15 11:47:22] local.INFO: GPS Element Parsed {"raw_longitude":763167168,"raw_latitude":98282384,"longitude_deg":76.3167168,"latitude_deg":9.8282384,"altitude":11,"angle":52,"satellites":20,"speed":20,"hex_longitude":"2d7d01c0","hex_latitude":"05dbab90","is_valid_coordinates":true} 
[2026-07-15 11:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728630016001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106374249588981760,"note":"Value kept but may cause issues"} 
[2026-07-15 11:47:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9005510430040471552,"note":"Value kept but may cause issues"} 
[2026-07-15 11:47:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784096216000,"timestamp_ms":1784096216000,"timestamp_seconds":1784096216,"priority":1,"record_length":96,"hex_timestamp":"0000019f646bd3c0"} 
[2026-07-15 11:47:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:47:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 11:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-15 11:47:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:47:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:47:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":133330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":133330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":133330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:47:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 11:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 11:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728630016001,"66":13254,"186":206,"85":15104,"24":20,"16":106374249588981760,"45":9005510430040471552},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-07-15 11:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 11:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 11:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728630016001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:47:22] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-15 11:47:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 11:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106374249588981760,"km_value":106374249588981.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:47:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9005510430040471552,"description":"Unknown IO ID 45"} 
[2026-07-15 11:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728630016001,"power":13254,"unknown_186":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9005510430040471552}} 
[2026-07-15 11:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":133330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490746,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:47:22] local.INFO: GPS data processed {"connection_id":133330,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:47:22] local.INFO: Acknowledgment sent {"connection_id":133330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:47:40] local.INFO: TCP Data received {"connection_id":132484,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f646a1670012d7f998005afdce00007011c2c..."} 
[2026-07-15 11:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f646a1670012d7f998005afdce00007011c2c..."} 
[2026-07-15 11:47:40] local.INFO: Processing buffer {"connection_id":132484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f646a1670012d7f998005afdce00007011c2c..."} 
[2026-07-15 11:47:40] local.INFO: Packet analysis {"connection_id":132484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f646a"} 
[2026-07-15 11:47:40] local.INFO: Extracted packet for processing {"connection_id":132484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f646a"} 
[2026-07-15 11:47:40] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":7,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11: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-07-15 11:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728525056001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784096102000,"timestamp_ms":1784096102000,"timestamp_seconds":1784096102,"priority":1,"record_length":96,"hex_timestamp":"0000019f646a1670"} 
[2026-07-15 11:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 11:47:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11: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-07-15 11:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728525056001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728525056001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:47:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:47:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728525056001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":132484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:47:40] local.INFO: GPS data processed {"connection_id":132484,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:47:40] local.INFO: Acknowledgment sent {"connection_id":132484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:47:53] local.INFO: TCP Data received {"connection_id":133330,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f646bd7a8012d7d03c005dbacc0000b004114..."} 
[2026-07-15 11:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f646bd7a8012d7d03c005dbacc0000b004114..."} 
[2026-07-15 11:47:53] local.INFO: Processing buffer {"connection_id":133330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f646bd7a8012d7d03c005dbacc0000b004114..."} 
[2026-07-15 11:47:53] local.INFO: Packet analysis {"connection_id":133330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f646b"} 
[2026-07-15 11:47:53] local.INFO: Extracted packet for processing {"connection_id":133330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f646b"} 
[2026-07-15 11:47:53] local.INFO: GPS Element Parsed {"raw_longitude":763167680,"raw_latitude":98282688,"longitude_deg":76.316768,"latitude_deg":9.8282688,"altitude":11,"angle":65,"satellites":20,"speed":21,"hex_longitude":"2d7d03c0","hex_latitude":"05dbacc0","is_valid_coordinates":true} 
[2026-07-15 11:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728631296001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106374275358785536,"note":"Value kept but may cause issues"} 
[2026-07-15 11:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9007691861110525952,"note":"Value kept but may cause issues"} 
[2026-07-15 11:47:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784096217000,"timestamp_ms":1784096217000,"timestamp_seconds":1784096217,"priority":1,"record_length":96,"hex_timestamp":"0000019f646bd7a8"} 
[2026-07-15 11:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:47:53] 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-07-15 11:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-15 11:47:53] 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-07-15 11:47:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":133330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":133330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":133330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:47:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 11:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 11:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728631296001,"66":13526,"186":206,"85":15104,"24":21,"16":106374275358785536,"45":9007691861110525952},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-07-15 11:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 11:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 11:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728631296001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:47:53] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-15 11:47:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 11:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106374275358785536,"km_value":106374275358785.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9007691861110525952,"description":"Unknown IO ID 45"} 
[2026-07-15 11:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728631296001,"power":13526,"unknown_186":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":9007691861110525952}} 
[2026-07-15 11:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":133330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490748,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:47:53] local.INFO: GPS data processed {"connection_id":133330,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:47:53] local.INFO: Acknowledgment sent {"connection_id":133330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:47:55] local.INFO: TCP Data received {"connection_id":133331,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133331,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:47:55] local.INFO: Processing buffer {"connection_id":133331,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:47:55] local.INFO: IMEI packet received {"connection_id":133331,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 11:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":133331,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:48:02] local.INFO: TCP Data received {"connection_id":132296,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:48:02] local.INFO: Processing buffer {"connection_id":132296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:48:02] local.INFO: IMEI packet received {"connection_id":132296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":132296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:48:06] local.INFO: TCP Data received {"connection_id":132296,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:48:06] local.INFO: Processing buffer {"connection_id":132296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:48:06] local.INFO: IMEI packet received {"connection_id":132296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":132296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:48:07] local.INFO: TCP Data received {"connection_id":132296,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f646a1670012d7f998005afdce00007011c2c..."} 
[2026-07-15 11:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f646a1670012d7f998005afdce00007011c2c..."} 
[2026-07-15 11:48:07] local.INFO: Processing buffer {"connection_id":132296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f646a1670012d7f998005afdce00007011c2c..."} 
[2026-07-15 11:48:07] local.INFO: Packet analysis {"connection_id":132296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f646a"} 
[2026-07-15 11:48:07] local.INFO: Extracted packet for processing {"connection_id":132296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f646a"} 
[2026-07-15 11:48:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":7,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728525056001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784096102000,"timestamp_ms":1784096102000,"timestamp_seconds":1784096102,"priority":1,"record_length":96,"hex_timestamp":"0000019f646a1670"} 
[2026-07-15 11:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 11:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:48:07] 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-07-15 11:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728525056001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728525056001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:48:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:48:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728525056001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":132296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:48:07] local.INFO: GPS data processed {"connection_id":132296,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:48:07] local.INFO: Acknowledgment sent {"connection_id":132296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:48:15] local.INFO: TCP Data received {"connection_id":132485,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132485,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:48:15] local.INFO: Processing buffer {"connection_id":132485,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:48:15] local.INFO: IMEI packet received {"connection_id":132485,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 11:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":132485,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:48:18] local.INFO: TCP Data received {"connection_id":132485,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132485,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:48:18] local.INFO: Processing buffer {"connection_id":132485,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:48:18] local.INFO: IMEI packet received {"connection_id":132485,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 11:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":132485,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:48:19] local.INFO: TCP Data received {"connection_id":132485,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132485,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:48:19] local.INFO: Processing buffer {"connection_id":132485,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:48:19] local.INFO: IMEI packet received {"connection_id":132485,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 11:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":132485,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:48:21] local.INFO: TCP Data received {"connection_id":132485,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132485,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:48:21] local.INFO: Processing buffer {"connection_id":132485,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:48:21] local.INFO: IMEI packet received {"connection_id":132485,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 11:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":132485,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:48:22] local.INFO: TCP Data received {"connection_id":132485,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f646cd978012d7d2c4005dbc2400004014114..."} 
[2026-07-15 11:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f646cd978012d7d2c4005dbc2400004014114..."} 
[2026-07-15 11:48:22] local.INFO: Processing buffer {"connection_id":132485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f646cd978012d7d2c4005dbc2400004014114..."} 
[2026-07-15 11:48:22] local.INFO: Packet analysis {"connection_id":132485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f646c"} 
[2026-07-15 11:48:22] local.INFO: Extracted packet for processing {"connection_id":132485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f646c"} 
[2026-07-15 11:48:22] local.INFO: GPS Element Parsed {"raw_longitude":763178048,"raw_latitude":98288192,"longitude_deg":76.3178048,"latitude_deg":9.8288192,"altitude":4,"angle":321,"satellites":20,"speed":2,"hex_longitude":"2d7d2c40","hex_latitude":"05dbc240","is_valid_coordinates":true} 
[2026-07-15 11: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-07-15 11:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728645888001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106374953963618304,"note":"Value kept but may cause issues"} 
[2026-07-15 11:48:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019654547622203392,"note":"Value kept but may cause issues"} 
[2026-07-15 11:48:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784096283000,"timestamp_ms":1784096283000,"timestamp_seconds":1784096283,"priority":1,"record_length":96,"hex_timestamp":"0000019f646cd978"} 
[2026-07-15 11:48:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:48: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-07-15 11:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-15 11:48:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11: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-07-15 11:48:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":132485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":132485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":132485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:48:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 11:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 11:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728645888001,"66":13091,"186":206,"85":15104,"24":2,"16":106374953963618304,"45":9019654547622203392},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-07-15 11:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 11:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 11:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728645888001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:48:22] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-15 11:48:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 11:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106374953963618304,"km_value":106374953963618.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:48:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019654547622203392,"description":"Unknown IO ID 45"} 
[2026-07-15 11:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728645888001,"power":13091,"unknown_186":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9019654547622203392}} 
[2026-07-15 11:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":132485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490750,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:48:22] local.INFO: GPS data processed {"connection_id":132485,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:48:22] local.INFO: Acknowledgment sent {"connection_id":132485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:48:38] local.INFO: TCP Data received {"connection_id":133332,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133332,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:48:38] local.INFO: Processing buffer {"connection_id":133332,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:48:38] local.INFO: IMEI packet received {"connection_id":133332,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 11:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":133332,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:48:38] local.INFO: TCP Data received {"connection_id":132296,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f646a1670012d7f998005afdce00007011c2c..."} 
[2026-07-15 11:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f646a1670012d7f998005afdce00007011c2c..."} 
[2026-07-15 11:48:38] local.INFO: Processing buffer {"connection_id":132296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f646a1670012d7f998005afdce00007011c2c..."} 
[2026-07-15 11:48:38] local.INFO: Packet analysis {"connection_id":132296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f646a"} 
[2026-07-15 11:48:38] local.INFO: Extracted packet for processing {"connection_id":132296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f646a"} 
[2026-07-15 11:48:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":7,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11: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-07-15 11:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728525056001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784096102000,"timestamp_ms":1784096102000,"timestamp_seconds":1784096102,"priority":1,"record_length":96,"hex_timestamp":"0000019f646a1670"} 
[2026-07-15 11:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 11:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11: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-07-15 11:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728525056001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728525056001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:48:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:48:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728525056001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":132296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:48:38] local.INFO: GPS data processed {"connection_id":132296,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:48:38] local.INFO: Acknowledgment sent {"connection_id":132296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:48:53] local.INFO: TCP Data received {"connection_id":132485,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f646d71d0012d7d264005dbd8f00000016114..."} 
[2026-07-15 11:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f646d71d0012d7d264005dbd8f00000016114..."} 
[2026-07-15 11:48:53] local.INFO: Processing buffer {"connection_id":132485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f646d71d0012d7d264005dbd8f00000016114..."} 
[2026-07-15 11:48:53] local.INFO: Packet analysis {"connection_id":132485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f646d"} 
[2026-07-15 11:48:53] local.INFO: Extracted packet for processing {"connection_id":132485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f646d"} 
[2026-07-15 11:48:53] local.INFO: GPS Element Parsed {"raw_longitude":763176512,"raw_latitude":98294000,"longitude_deg":76.3176512,"latitude_deg":9.8294,"altitude":0,"angle":353,"satellites":20,"speed":1,"hex_longitude":"2d7d2640","hex_latitude":"05dbd8f0","is_valid_coordinates":true} 
[2026-07-15 11:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728658176001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106375258906296320,"note":"Value kept but may cause issues"} 
[2026-07-15 11:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017965697763411968,"note":"Value kept but may cause issues"} 
[2026-07-15 11:48:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784096322000,"timestamp_ms":1784096322000,"timestamp_seconds":1784096322,"priority":1,"record_length":96,"hex_timestamp":"0000019f646d71d0"} 
[2026-07-15 11:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:48:53] 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-07-15 11:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-15 11:48:53] 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-07-15 11:48:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":132485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":132485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":132485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:48:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 11:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 11:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728658176001,"66":13091,"186":206,"85":15104,"24":1,"16":106375258906296320,"45":9017965697763411968},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-07-15 11:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 11:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 11:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728658176001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:48:53] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-15 11:48:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 11:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106375258906296320,"km_value":106375258906296.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017965697763411968,"description":"Unknown IO ID 45"} 
[2026-07-15 11:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728658176001,"power":13091,"unknown_186":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9017965697763411968}} 
[2026-07-15 11:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":132485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490752,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:48:53] local.INFO: GPS data processed {"connection_id":132485,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:48:53] local.INFO: Acknowledgment sent {"connection_id":132485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:49:02] local.INFO: TCP Data received {"connection_id":132486,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:49:02] local.INFO: Processing buffer {"connection_id":132486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:49:02] local.INFO: IMEI packet received {"connection_id":132486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":132486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:49:06] local.INFO: TCP Data received {"connection_id":132486,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:49:06] local.INFO: Processing buffer {"connection_id":132486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:49:06] local.INFO: IMEI packet received {"connection_id":132486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":132486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:49:07] local.INFO: TCP Data received {"connection_id":132486,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f646a1670012d7f998005afdce00007011c2c..."} 
[2026-07-15 11:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f646a1670012d7f998005afdce00007011c2c..."} 
[2026-07-15 11:49:07] local.INFO: Processing buffer {"connection_id":132486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f646a1670012d7f998005afdce00007011c2c..."} 
[2026-07-15 11:49:07] local.INFO: Packet analysis {"connection_id":132486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f646a"} 
[2026-07-15 11:49:07] local.INFO: Extracted packet for processing {"connection_id":132486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f646a"} 
[2026-07-15 11:49:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":7,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11: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-07-15 11:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728525056001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784096102000,"timestamp_ms":1784096102000,"timestamp_seconds":1784096102,"priority":1,"record_length":96,"hex_timestamp":"0000019f646a1670"} 
[2026-07-15 11:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 11:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11: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-07-15 11:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728525056001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728525056001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:49:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:49:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728525056001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":132486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:49:07] local.INFO: GPS data processed {"connection_id":132486,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:49:07] local.INFO: Acknowledgment sent {"connection_id":132486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:49:18] local.INFO: TCP Data received {"connection_id":134694,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134694,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:49:18] local.INFO: Processing buffer {"connection_id":134694,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:49:18] local.INFO: IMEI packet received {"connection_id":134694,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 11:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":134694,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:49:22] local.INFO: TCP Data received {"connection_id":134694,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134694,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:49:22] local.INFO: Processing buffer {"connection_id":134694,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:49:22] local.INFO: IMEI packet received {"connection_id":134694,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 11:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":134694,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:49:22] local.INFO: TCP Data received {"connection_id":134694,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f646d7d88012d7d264005dbd9c80000000714..."} 
[2026-07-15 11:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f646d7d88012d7d264005dbd9c80000000714..."} 
[2026-07-15 11:49:22] local.INFO: Processing buffer {"connection_id":134694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f646d7d88012d7d264005dbd9c80000000714..."} 
[2026-07-15 11:49:22] local.INFO: Packet analysis {"connection_id":134694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f646d"} 
[2026-07-15 11:49:22] local.INFO: Extracted packet for processing {"connection_id":134694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f646d"} 
[2026-07-15 11:49:22] local.INFO: GPS Element Parsed {"raw_longitude":763176512,"raw_latitude":98294216,"longitude_deg":76.3176512,"latitude_deg":9.8294216,"altitude":0,"angle":7,"satellites":20,"speed":2,"hex_longitude":"2d7d2640","hex_latitude":"05dbd9c8","is_valid_coordinates":true} 
[2026-07-15 11: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-07-15 11:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728658432001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106375271791198208,"note":"Value kept but may cause issues"} 
[2026-07-15 11:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017965697763438592,"note":"Value kept but may cause issues"} 
[2026-07-15 11:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784096325000,"timestamp_ms":1784096325000,"timestamp_seconds":1784096325,"priority":1,"record_length":96,"hex_timestamp":"0000019f646d7d88"} 
[2026-07-15 11:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:49:22] 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-07-15 11: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-15 11:49:22] 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-07-15 11: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-07-15 11:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":134694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":134694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":134694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 11:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 11:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728658432001,"66":13189,"186":206,"85":15104,"24":2,"16":106375271791198208,"45":9017965697763438592},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-07-15 11:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 11:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 11:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728658432001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:49:22] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-15 11:49:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 11:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106375271791198208,"km_value":106375271791198.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017965697763438592,"description":"Unknown IO ID 45"} 
[2026-07-15 11:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728658432001,"power":13189,"unknown_186":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9017965697763438592}} 
[2026-07-15 11:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":134694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490754,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:49:22] local.INFO: GPS data processed {"connection_id":134694,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:49:22] local.INFO: Acknowledgment sent {"connection_id":134694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:49:38] local.INFO: TCP Data received {"connection_id":132486,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f646a1670012d7f998005afdce00007011c2c..."} 
[2026-07-15 11:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f646a1670012d7f998005afdce00007011c2c..."} 
[2026-07-15 11:49:38] local.INFO: Processing buffer {"connection_id":132486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f646a1670012d7f998005afdce00007011c2c..."} 
[2026-07-15 11:49:38] local.INFO: Packet analysis {"connection_id":132486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f646a"} 
[2026-07-15 11:49:38] local.INFO: Extracted packet for processing {"connection_id":132486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f646a"} 
[2026-07-15 11:49:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":7,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11: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-07-15 11:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728525056001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784096102000,"timestamp_ms":1784096102000,"timestamp_seconds":1784096102,"priority":1,"record_length":96,"hex_timestamp":"0000019f646a1670"} 
[2026-07-15 11:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 11:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11: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-07-15 11:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:49:38] 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-07-15 11:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728525056001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728525056001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:49:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:49:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728525056001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":132486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:49:38] local.INFO: GPS data processed {"connection_id":132486,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:49:38] local.INFO: Acknowledgment sent {"connection_id":132486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:49:53] local.INFO: TCP Data received {"connection_id":134694,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f646d94f8012d7d260005dbdee00000016414..."} 
[2026-07-15 11:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f646d94f8012d7d260005dbdee00000016414..."} 
[2026-07-15 11:49:53] local.INFO: Processing buffer {"connection_id":134694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f646d94f8012d7d260005dbdee00000016414..."} 
[2026-07-15 11:49:53] local.INFO: Packet analysis {"connection_id":134694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f646d"} 
[2026-07-15 11:49:53] local.INFO: Extracted packet for processing {"connection_id":134694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f646d"} 
[2026-07-15 11:49:53] local.INFO: GPS Element Parsed {"raw_longitude":763176448,"raw_latitude":98295520,"longitude_deg":76.3176448,"latitude_deg":9.829552,"altitude":0,"angle":356,"satellites":20,"speed":11,"hex_longitude":"2d7d2600","hex_latitude":"05dbdee0","is_valid_coordinates":true} 
[2026-07-15 11:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728659200001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106375336215707648,"note":"Value kept but may cause issues"} 
[2026-07-15 11:49:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017965697763493888,"note":"Value kept but may cause issues"} 
[2026-07-15 11:49:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784096331000,"timestamp_ms":1784096331000,"timestamp_seconds":1784096331,"priority":1,"record_length":96,"hex_timestamp":"0000019f646d94f8"} 
[2026-07-15 11:49:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:49:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 11:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-15 11:49:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:49:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:49:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":134694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":134694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":134694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:49:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 11:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 11:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728659200001,"66":13048,"186":206,"85":15104,"24":11,"16":106375336215707648,"45":9017965697763493888},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-07-15 11:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 11:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 11:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728659200001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:49:53] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-15 11:49:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 11:49:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106375336215707648,"km_value":106375336215707.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:49:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017965697763493888,"description":"Unknown IO ID 45"} 
[2026-07-15 11:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728659200001,"power":13048,"unknown_186":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9017965697763493888}} 
[2026-07-15 11:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":134694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490756,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:49:53] local.INFO: GPS data processed {"connection_id":134694,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:49:53] local.INFO: Acknowledgment sent {"connection_id":134694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:50:01] local.INFO: TCP Data received {"connection_id":132297,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:50:01] local.INFO: Processing buffer {"connection_id":132297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:50:01] local.INFO: IMEI packet received {"connection_id":132297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":132297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:50:06] local.INFO: TCP Data received {"connection_id":132297,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:50:06] local.INFO: Processing buffer {"connection_id":132297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:50:06] local.INFO: IMEI packet received {"connection_id":132297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":132297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:50:07] local.INFO: TCP Data received {"connection_id":132297,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f646a1670012d7f998005afdce00007011c2c..."} 
[2026-07-15 11:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f646a1670012d7f998005afdce00007011c2c..."} 
[2026-07-15 11:50:07] local.INFO: Processing buffer {"connection_id":132297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f646a1670012d7f998005afdce00007011c2c..."} 
[2026-07-15 11:50:07] local.INFO: Packet analysis {"connection_id":132297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f646a"} 
[2026-07-15 11:50:07] local.INFO: Extracted packet for processing {"connection_id":132297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f646a"} 
[2026-07-15 11:50:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":7,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728525056001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784096102000,"timestamp_ms":1784096102000,"timestamp_seconds":1784096102,"priority":1,"record_length":96,"hex_timestamp":"0000019f646a1670"} 
[2026-07-15 11:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 11:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:50:07] 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-07-15 11:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728525056001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728525056001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:50:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:50:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728525056001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":132297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:50:07] local.INFO: GPS data processed {"connection_id":132297,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:50:07] local.INFO: Acknowledgment sent {"connection_id":132297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:50:20] local.INFO: TCP Data received {"connection_id":132298,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132298,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:50:20] local.INFO: Processing buffer {"connection_id":132298,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:50:20] local.INFO: IMEI packet received {"connection_id":132298,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 11:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":132298,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:50:23] local.INFO: TCP Data received {"connection_id":132298,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132298,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:50:23] local.INFO: Processing buffer {"connection_id":132298,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:50:23] local.INFO: IMEI packet received {"connection_id":132298,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 11:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":132298,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:50:25] local.INFO: TCP Data received {"connection_id":132298,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f646de318012d7d248005dbf5780001000114..."} 
[2026-07-15 11:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f646de318012d7d248005dbf5780001000114..."} 
[2026-07-15 11:50:25] local.INFO: Processing buffer {"connection_id":132298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f646de318012d7d248005dbf5780001000114..."} 
[2026-07-15 11:50:25] local.INFO: Packet analysis {"connection_id":132298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f646d"} 
[2026-07-15 11:50:25] local.INFO: Extracted packet for processing {"connection_id":132298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f646d"} 
[2026-07-15 11:50:25] local.INFO: GPS Element Parsed {"raw_longitude":763176064,"raw_latitude":98301304,"longitude_deg":76.3176064,"latitude_deg":9.8301304,"altitude":1,"angle":1,"satellites":20,"speed":10,"hex_longitude":"2d7d2480","hex_latitude":"05dbf578","is_valid_coordinates":true} 
[2026-07-15 11: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-07-15 11:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728660736001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106375619683549184,"note":"Value kept but may cause issues"} 
[2026-07-15 11:50:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017895329019650048,"note":"Value kept but may cause issues"} 
[2026-07-15 11:50:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784096351000,"timestamp_ms":1784096351000,"timestamp_seconds":1784096351,"priority":1,"record_length":96,"hex_timestamp":"0000019f646de318"} 
[2026-07-15 11:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:50:25] 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-07-15 11: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-15 11:50:25] 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-07-15 11: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-07-15 11:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":132298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":132298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":132298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:50:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 11:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 11:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728660736001,"66":13059,"186":206,"85":15104,"24":10,"16":106375619683549184,"45":9017895329019650048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-07-15 11:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 11:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 11:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728660736001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:50:25] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-15 11:50:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 11:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106375619683549184,"km_value":106375619683549.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:50:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017895329019650048,"description":"Unknown IO ID 45"} 
[2026-07-15 11:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728660736001,"power":13059,"unknown_186":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9017895329019650048}} 
[2026-07-15 11:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":132298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490758,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:50:25] local.INFO: GPS data processed {"connection_id":132298,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:50:25] local.INFO: Acknowledgment sent {"connection_id":132298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:50:38] local.INFO: TCP Data received {"connection_id":132297,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f646a1670012d7f998005afdce00007011c2c..."} 
[2026-07-15 11:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f646a1670012d7f998005afdce00007011c2c..."} 
[2026-07-15 11:50:38] local.INFO: Processing buffer {"connection_id":132297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f646a1670012d7f998005afdce00007011c2c..."} 
[2026-07-15 11:50:38] local.INFO: Packet analysis {"connection_id":132297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f646a"} 
[2026-07-15 11:50:38] local.INFO: Extracted packet for processing {"connection_id":132297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f646a"} 
[2026-07-15 11:50:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":7,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728525056001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784096102000,"timestamp_ms":1784096102000,"timestamp_seconds":1784096102,"priority":1,"record_length":96,"hex_timestamp":"0000019f646a1670"} 
[2026-07-15 11:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 11:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728525056001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728525056001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:50:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:50:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728525056001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":132297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:50:38] local.INFO: GPS data processed {"connection_id":132297,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:50:38] local.INFO: Acknowledgment sent {"connection_id":132297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:50:58] local.INFO: TCP Data received {"connection_id":132298,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f646e0640012d7d234005dc00480006015d14..."} 
[2026-07-15 11:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f646e0640012d7d234005dc00480006015d14..."} 
[2026-07-15 11:50:58] local.INFO: Processing buffer {"connection_id":132298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f646e0640012d7d234005dc00480006015d14..."} 
[2026-07-15 11:50:58] local.INFO: Packet analysis {"connection_id":132298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f646e"} 
[2026-07-15 11:50:58] local.INFO: Extracted packet for processing {"connection_id":132298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f646e"} 
[2026-07-15 11:50:58] local.INFO: GPS Element Parsed {"raw_longitude":763175744,"raw_latitude":98304072,"longitude_deg":76.3175744,"latitude_deg":9.8304072,"altitude":6,"angle":349,"satellites":20,"speed":13,"hex_longitude":"2d7d2340","hex_latitude":"05dc0048","is_valid_coordinates":true} 
[2026-07-15 11:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728665856001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106375757122502656,"note":"Value kept but may cause issues"} 
[2026-07-15 11:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017473116556064768,"note":"Value kept but may cause issues"} 
[2026-07-15 11:50:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784096360000,"timestamp_ms":1784096360000,"timestamp_seconds":1784096360,"priority":1,"record_length":96,"hex_timestamp":"0000019f646e0640"} 
[2026-07-15 11:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:50:58] 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-07-15 11:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-15 11:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303167744036262,"note":"Value kept but may cause issues"} 
[2026-07-15 11:50:58] local.WARNING: Large IO value detected {"io_id":186,"raw_value":58077557095399433,"note":"Value kept but may cause issues"} 
[2026-07-15 11:50:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 11:50:58] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3154116608,"note":"Value kept but may cause issues"} 
[2026-07-15 11:50:58] local.WARNING: Large IO value detected {"io_id":219,"raw_value":3632791552,"note":"Value kept but may cause issues"} 
[2026-07-15 11:50:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797207758,"corrected_to":0} 
[2026-07-15 11:50:58] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3976252838,"note":"Value kept but may cause issues"} 
[2026-07-15 11:50:58] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3954638848,"note":"Value kept but may cause issues"} 
[2026-07-15 11:50:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3688022016,"note":"Value kept but may cause issues"} 
[2026-07-15 11:50:58] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,186,85,24,241,157,16,236,159,148,45,222,20,10,66,235,125,64,217,113,1,240,35,227,100,219,4,205,2,98,38,56,239,50,121,5,9],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2797207758,"validated":0}]} 
[2026-07-15 11:50:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72058779449556992,"timestamp_seconds":72058779449556.98,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 11:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":132298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":132298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":132298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 11:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 11:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728665856001,"66":13276,"186":206,"85":15104,"24":13,"16":106375757122502656,"45":9017473116556064768},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-07-15 11:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 11:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 11:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728665856001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:50:58] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-15 11:50:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 11:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106375757122502656,"km_value":106375757122502.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017473116556064768,"description":"Unknown IO ID 45"} 
[2026-07-15 11:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728665856001,"power":13276,"unknown_186":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":9017473116556064768}} 
[2026-07-15 11:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":132298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490760,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:50:58] local.INFO: GPS data processed {"connection_id":132298,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:50:58] local.INFO: Acknowledgment sent {"connection_id":132298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:51:06] local.INFO: TCP Data received {"connection_id":134697,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:51:06] local.INFO: Processing buffer {"connection_id":134697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:51:06] local.INFO: IMEI packet received {"connection_id":134697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":134697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:51:11] local.INFO: TCP Data received {"connection_id":134697,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:51:11] local.INFO: Processing buffer {"connection_id":134697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:51:11] local.INFO: IMEI packet received {"connection_id":134697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":134697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:51:12] local.INFO: TCP Data received {"connection_id":134697,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f646eae38012d7f998005afdce00007011c2b..."} 
[2026-07-15 11:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f646eae38012d7f998005afdce00007011c2b..."} 
[2026-07-15 11:51:12] local.INFO: Processing buffer {"connection_id":134697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f646eae38012d7f998005afdce00007011c2b..."} 
[2026-07-15 11:51:12] local.INFO: Packet analysis {"connection_id":134697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f646e"} 
[2026-07-15 11:51:12] local.INFO: Extracted packet for processing {"connection_id":134697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f646e"} 
[2026-07-15 11:51:12] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":7,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728602112001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784096403000,"timestamp_ms":1784096403000,"timestamp_seconds":1784096403,"priority":1,"record_length":96,"hex_timestamp":"0000019f646eae38"} 
[2026-07-15 11:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 11:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:51:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":134697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":134697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":134697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:51:12] 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-07-15 11:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728602112001,"66":25647,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728602112001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:51:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:51:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728602112001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":134697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:51:12] local.INFO: GPS data processed {"connection_id":134697,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:51:12] local.INFO: Acknowledgment sent {"connection_id":134697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:51:18] local.INFO: TCP Data received {"connection_id":132487,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:51:18] local.INFO: Processing buffer {"connection_id":132487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:51:18] local.INFO: IMEI packet received {"connection_id":132487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 11:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":132487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:51:23] local.INFO: TCP Data received {"connection_id":132487,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:51:23] local.INFO: Processing buffer {"connection_id":132487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:51:23] local.INFO: IMEI packet received {"connection_id":132487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 11:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":132487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:51:24] local.INFO: TCP Data received {"connection_id":132487,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f646e5460012d7d1e8005dc18d80010015d14..."} 
[2026-07-15 11:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f646e5460012d7d1e8005dc18d80010015d14..."} 
[2026-07-15 11:51:24] local.INFO: Processing buffer {"connection_id":132487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f646e5460012d7d1e8005dc18d80010015d14..."} 
[2026-07-15 11:51:24] local.INFO: Packet analysis {"connection_id":132487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f646e"} 
[2026-07-15 11:51:24] local.INFO: Extracted packet for processing {"connection_id":132487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f646e"} 
[2026-07-15 11:51:24] local.INFO: GPS Element Parsed {"raw_longitude":763174528,"raw_latitude":98310360,"longitude_deg":76.3174528,"latitude_deg":9.831036,"altitude":16,"angle":349,"satellites":20,"speed":15,"hex_longitude":"2d7d1e80","hex_latitude":"05dc18d8","is_valid_coordinates":true} 
[2026-07-15 11:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728668160001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106376066360147968,"note":"Value kept but may cause issues"} 
[2026-07-15 11:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017121272835885056,"note":"Value kept but may cause issues"} 
[2026-07-15 11:51:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1784096380000,"timestamp_ms":1784096380000,"timestamp_seconds":1784096380,"priority":1,"record_length":96,"hex_timestamp":"0000019f646e5460"} 
[2026-07-15 11:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:51:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 11:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-15 11:51:24] 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-07-15 11:51:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":132487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":132487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":132487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:51:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 11:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 11:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728668160001,"66":13189,"186":206,"85":15104,"24":15,"16":106376066360147968,"45":9017121272835885056},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-07-15 11:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 11:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 11:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728668160001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:51:24] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-15 11:51:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 11:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106376066360147968,"km_value":106376066360147.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017121272835885056,"description":"Unknown IO ID 45"} 
[2026-07-15 11:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728668160001,"power":13189,"unknown_186":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":9017121272835885056}} 
[2026-07-15 11:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":132487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490762,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:51:24] local.INFO: GPS data processed {"connection_id":132487,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:51:24] local.INFO: Acknowledgment sent {"connection_id":132487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:51:43] local.INFO: TCP Data received {"connection_id":134697,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f646eae38012d7f998005afdce00007011c2b..."} 
[2026-07-15 11:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f646eae38012d7f998005afdce00007011c2b..."} 
[2026-07-15 11:51:43] local.INFO: Processing buffer {"connection_id":134697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f646eae38012d7f998005afdce00007011c2b..."} 
[2026-07-15 11:51:43] local.INFO: Packet analysis {"connection_id":134697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f646e"} 
[2026-07-15 11:51:43] local.INFO: Extracted packet for processing {"connection_id":134697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f646e"} 
[2026-07-15 11:51:43] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":7,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11: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-07-15 11:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728602112001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:51:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:51:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784096403000,"timestamp_ms":1784096403000,"timestamp_seconds":1784096403,"priority":1,"record_length":96,"hex_timestamp":"0000019f646eae38"} 
[2026-07-15 11:51:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:51:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 11:51:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11: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-07-15 11:51:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":134697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":134697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":134697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:51:43] 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-07-15 11:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728602112001,"66":25647,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728602112001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:51:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:51:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:51:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728602112001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":134697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:51:43] local.INFO: GPS data processed {"connection_id":134697,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:51:43] local.INFO: Acknowledgment sent {"connection_id":134697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:51:55] local.INFO: TCP Data received {"connection_id":132487,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f647034d8012d7d07c005dc71680012003616..."} 
[2026-07-15 11:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f647034d8012d7d07c005dc71680012003616..."} 
[2026-07-15 11:51:55] local.INFO: Processing buffer {"connection_id":132487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f647034d8012d7d07c005dc71680012003616..."} 
[2026-07-15 11:51:55] local.INFO: Packet analysis {"connection_id":132487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6470"} 
[2026-07-15 11:51:55] local.INFO: Extracted packet for processing {"connection_id":132487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6470"} 
[2026-07-15 11:51:55] local.INFO: GPS Element Parsed {"raw_longitude":763168704,"raw_latitude":98333032,"longitude_deg":76.3168704,"latitude_deg":9.8333032,"altitude":18,"angle":54,"satellites":22,"speed":4,"hex_longitude":"2d7d07c0","hex_latitude":"05dc7168","is_valid_coordinates":true} 
[2026-07-15 11:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728704000001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106377294720794624,"note":"Value kept but may cause issues"} 
[2026-07-15 11:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009028867262812160,"note":"Value kept but may cause issues"} 
[2026-07-15 11:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784096503000,"timestamp_ms":1784096503000,"timestamp_seconds":1784096503,"priority":1,"record_length":96,"hex_timestamp":"0000019f647034d8"} 
[2026-07-15 11:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:51: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-07-15 11:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-15 11:51:55] 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-07-15 11:51:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":132487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":132487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":132487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 11:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 11:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728704000001,"66":13254,"167":206,"85":15104,"24":4,"16":106377294720794624,"45":9009028867262812160},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-15 11:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 11:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 11:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728704000001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:51:55] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 11:51:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 11:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106377294720794624,"km_value":106377294720794.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009028867262812160,"description":"Unknown IO ID 45"} 
[2026-07-15 11:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728704000001,"power":13254,"unknown_167":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":9009028867262812160}} 
[2026-07-15 11:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":132487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490764,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:51:55] local.INFO: GPS data processed {"connection_id":132487,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:51:55] local.INFO: Acknowledgment sent {"connection_id":132487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:52:01] local.INFO: TCP Data received {"connection_id":134698,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:52:01] local.INFO: Processing buffer {"connection_id":134698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:52:01] local.INFO: IMEI packet received {"connection_id":134698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":134698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:52:06] local.INFO: TCP Data received {"connection_id":134698,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:52:06] local.INFO: Processing buffer {"connection_id":134698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:52:06] local.INFO: IMEI packet received {"connection_id":134698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":134698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:52:11] local.INFO: TCP Data received {"connection_id":134698,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f646eae38012d7f998005afdce00007011c2b..."} 
[2026-07-15 11:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f646eae38012d7f998005afdce00007011c2b..."} 
[2026-07-15 11:52:11] local.INFO: Processing buffer {"connection_id":134698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f646eae38012d7f998005afdce00007011c2b..."} 
[2026-07-15 11:52:11] local.INFO: Packet analysis {"connection_id":134698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f646e"} 
[2026-07-15 11:52:11] local.INFO: Extracted packet for processing {"connection_id":134698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f646e"} 
[2026-07-15 11:52:11] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":7,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:52: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-07-15 11:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728602112001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784096403000,"timestamp_ms":1784096403000,"timestamp_seconds":1784096403,"priority":1,"record_length":96,"hex_timestamp":"0000019f646eae38"} 
[2026-07-15 11:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 11:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:52: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-07-15 11:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":134698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":134698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":134698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:52: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-07-15 11:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728602112001,"66":25647,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728602112001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:52:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:52:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728602112001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":134698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:52:11] local.INFO: GPS data processed {"connection_id":134698,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:52:11] local.INFO: Acknowledgment sent {"connection_id":134698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:52:18] local.INFO: TCP Data received {"connection_id":134699,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134699,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:52:18] local.INFO: Processing buffer {"connection_id":134699,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:52:18] local.INFO: IMEI packet received {"connection_id":134699,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 11:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":134699,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:52:19] local.INFO: TCP Data received {"connection_id":134699,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134699,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:52:19] local.INFO: Processing buffer {"connection_id":134699,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:52:19] local.INFO: IMEI packet received {"connection_id":134699,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 11:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":134699,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:52:23] local.INFO: TCP Data received {"connection_id":134699,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134699,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:52:23] local.INFO: Processing buffer {"connection_id":134699,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:52:23] local.INFO: IMEI packet received {"connection_id":134699,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 11:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":134699,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:52:24] local.INFO: TCP Data received {"connection_id":134699,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f64703ca8012d7d088005dc71900012004a16..."} 
[2026-07-15 11:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64703ca8012d7d088005dc71900012004a16..."} 
[2026-07-15 11:52:24] local.INFO: Processing buffer {"connection_id":134699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64703ca8012d7d088005dc71900012004a16..."} 
[2026-07-15 11:52:24] local.INFO: Packet analysis {"connection_id":134699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6470"} 
[2026-07-15 11:52:24] local.INFO: Extracted packet for processing {"connection_id":134699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6470"} 
[2026-07-15 11:52:24] local.INFO: GPS Element Parsed {"raw_longitude":763168896,"raw_latitude":98333072,"longitude_deg":76.3168896,"latitude_deg":9.8333072,"altitude":18,"angle":74,"satellites":22,"speed":3,"hex_longitude":"2d7d0880","hex_latitude":"05dc7190","is_valid_coordinates":true} 
[2026-07-15 11: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-07-15 11:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728704768001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106377303310729216,"note":"Value kept but may cause issues"} 
[2026-07-15 11:52:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009380710983755776,"note":"Value kept but may cause issues"} 
[2026-07-15 11:52:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1784096505000,"timestamp_ms":1784096505000,"timestamp_seconds":1784096505,"priority":1,"record_length":96,"hex_timestamp":"0000019f64703ca8"} 
[2026-07-15 11:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:52: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-07-15 11: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-15 11:52:24] 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-07-15 11: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-07-15 11:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":134699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":134699,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":134699,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:52:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 11:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 11:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728704768001,"66":12798,"167":206,"85":15104,"24":3,"16":106377303310729216,"45":9009380710983755776},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-15 11:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 11:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 11:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728704768001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:52:24] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 11:52:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 11:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106377303310729216,"km_value":106377303310729.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:52:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009380710983755776,"description":"Unknown IO ID 45"} 
[2026-07-15 11:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728704768001,"power":12798,"unknown_167":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":9009380710983755776}} 
[2026-07-15 11:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":134699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490766,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:52:24] local.INFO: GPS data processed {"connection_id":134699,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:52:24] local.INFO: Acknowledgment sent {"connection_id":134699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:52:43] local.INFO: TCP Data received {"connection_id":134698,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f646eae38012d7f998005afdce00007011c2b..."} 
[2026-07-15 11:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f646eae38012d7f998005afdce00007011c2b..."} 
[2026-07-15 11:52:43] local.INFO: Processing buffer {"connection_id":134698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f646eae38012d7f998005afdce00007011c2b..."} 
[2026-07-15 11:52:43] local.INFO: Packet analysis {"connection_id":134698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f646e"} 
[2026-07-15 11:52:43] local.INFO: Extracted packet for processing {"connection_id":134698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f646e"} 
[2026-07-15 11:52:43] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":7,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11: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-07-15 11:52:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728602112001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:52:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:52:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:52:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:52:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784096403000,"timestamp_ms":1784096403000,"timestamp_seconds":1784096403,"priority":1,"record_length":96,"hex_timestamp":"0000019f646eae38"} 
[2026-07-15 11:52:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:52:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 11:52:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11: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-07-15 11:52:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:52:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:52:43] local.INFO: Teltonika packet parsed successfully {"connection_id":134698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:52:43] local.INFO: Passing IMEI to GPS processor {"connection_id":134698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:52:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":134698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:52:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:52:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:52:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:52:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728602112001,"66":25647,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:52:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:52:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:52:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728602112001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:52:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:52:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:52:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:52:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:52:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728602112001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:52:43] local.INFO: DEBUG: GPS processor result {"connection_id":134698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:52:43] local.INFO: GPS data processed {"connection_id":134698,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:52:43] local.INFO: Acknowledgment sent {"connection_id":134698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:52:55] local.INFO: TCP Data received {"connection_id":134699,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f64704860012d7d090005dc71b00012005e16..."} 
[2026-07-15 11:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64704860012d7d090005dc71b00012005e16..."} 
[2026-07-15 11:52:55] local.INFO: Processing buffer {"connection_id":134699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64704860012d7d090005dc71b00012005e16..."} 
[2026-07-15 11:52:55] local.INFO: Packet analysis {"connection_id":134699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6470"} 
[2026-07-15 11:52:55] local.INFO: Extracted packet for processing {"connection_id":134699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6470"} 
[2026-07-15 11:52:55] local.INFO: GPS Element Parsed {"raw_longitude":763169024,"raw_latitude":98333104,"longitude_deg":76.3169024,"latitude_deg":9.8333104,"altitude":18,"angle":94,"satellites":22,"speed":0,"hex_longitude":"2d7d0900","hex_latitude":"05dc71b0","is_valid_coordinates":true} 
[2026-07-15 11: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-07-15 11:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728705280001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106377307605696512,"note":"Value kept but may cause issues"} 
[2026-07-15 11:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009591817216299008,"note":"Value kept but may cause issues"} 
[2026-07-15 11:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784096508000,"timestamp_ms":1784096508000,"timestamp_seconds":1784096508,"priority":1,"record_length":96,"hex_timestamp":"0000019f64704860"} 
[2026-07-15 11:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11: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-07-15 11: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-15 11:52:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11: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-07-15 11:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":134699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":134699,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":134699,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 11:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 11:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728705280001,"66":12939,"167":206,"85":15104,"24":0,"16":106377307605696512,"45":9009591817216299008},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-15 11:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 11:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 11:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728705280001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:52:55] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 11:52:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 11:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106377307605696512,"km_value":106377307605696.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009591817216299008,"description":"Unknown IO ID 45"} 
[2026-07-15 11:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728705280001,"power":12939,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9009591817216299008}} 
[2026-07-15 11:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":134699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490768,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:52:55] local.INFO: GPS data processed {"connection_id":134699,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:52:55] local.INFO: Acknowledgment sent {"connection_id":134699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:53:01] local.INFO: TCP Data received {"connection_id":134701,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:53:01] local.INFO: Processing buffer {"connection_id":134701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:53:01] local.INFO: IMEI packet received {"connection_id":134701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":134701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:53:06] local.INFO: TCP Data received {"connection_id":134701,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:53:06] local.INFO: Processing buffer {"connection_id":134701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:53:06] local.INFO: IMEI packet received {"connection_id":134701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":134701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:53:08] local.INFO: TCP Data received {"connection_id":134701,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f646eae38012d7f998005afdce00007011c2b..."} 
[2026-07-15 11:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f646eae38012d7f998005afdce00007011c2b..."} 
[2026-07-15 11:53:08] local.INFO: Processing buffer {"connection_id":134701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f646eae38012d7f998005afdce00007011c2b..."} 
[2026-07-15 11:53:08] local.INFO: Packet analysis {"connection_id":134701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f646e"} 
[2026-07-15 11:53:08] local.INFO: Extracted packet for processing {"connection_id":134701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f646e"} 
[2026-07-15 11:53:08] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":7,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728602112001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:53:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784096403000,"timestamp_ms":1784096403000,"timestamp_seconds":1784096403,"priority":1,"record_length":96,"hex_timestamp":"0000019f646eae38"} 
[2026-07-15 11:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:53:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 11:53:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:53:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:53:08] 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-07-15 11:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728602112001,"66":25647,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728602112001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:53:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:53:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728602112001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":134701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:53:08] local.INFO: GPS data processed {"connection_id":134701,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:53:08] local.INFO: Acknowledgment sent {"connection_id":134701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:53:18] local.INFO: TCP Data received {"connection_id":133334,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133334,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:53:18] local.INFO: Processing buffer {"connection_id":133334,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:53:18] local.INFO: IMEI packet received {"connection_id":133334,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 11:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":133334,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:53:19] local.INFO: TCP Data received {"connection_id":133334,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133334,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:53:19] local.INFO: Processing buffer {"connection_id":133334,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:53:19] local.INFO: IMEI packet received {"connection_id":133334,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 11:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":133334,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:53:24] local.INFO: TCP Data received {"connection_id":133334,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133334,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:53:24] local.INFO: Processing buffer {"connection_id":133334,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:53:24] local.INFO: IMEI packet received {"connection_id":133334,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 11:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":133334,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:53:24] local.INFO: TCP Data received {"connection_id":133334,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f64716970012d7d2a0005dc7f600009005a17..."} 
[2026-07-15 11:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64716970012d7d2a0005dc7f600009005a17..."} 
[2026-07-15 11:53:24] local.INFO: Processing buffer {"connection_id":133334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64716970012d7d2a0005dc7f600009005a17..."} 
[2026-07-15 11:53:24] local.INFO: Packet analysis {"connection_id":133334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6471"} 
[2026-07-15 11:53:24] local.INFO: Extracted packet for processing {"connection_id":133334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6471"} 
[2026-07-15 11:53:24] local.INFO: GPS Element Parsed {"raw_longitude":763177472,"raw_latitude":98336608,"longitude_deg":76.3177472,"latitude_deg":9.8336608,"altitude":9,"angle":90,"satellites":23,"speed":5,"hex_longitude":"2d7d2a00","hex_latitude":"05dc7f60","is_valid_coordinates":true} 
[2026-07-15 11: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-07-15 11:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728720896001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106377792937000960,"note":"Value kept but may cause issues"} 
[2026-07-15 11:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018739753960288256,"note":"Value kept but may cause issues"} 
[2026-07-15 11:53:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1784096582000,"timestamp_ms":1784096582000,"timestamp_seconds":1784096582,"priority":1,"record_length":96,"hex_timestamp":"0000019f64716970"} 
[2026-07-15 11:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:53: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-07-15 11: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":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-15 11:53:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1310,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11: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-07-15 11:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":133334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":133334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":133334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:53:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 11:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 11:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728720896001,"66":13091,"167":206,"85":15104,"24":5,"16":106377792937000960,"45":9018739753960288256},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-15 11:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 11:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 11:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728720896001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:53:24] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 11:53:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 11:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106377792937000960,"km_value":106377792937000.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018739753960288256,"description":"Unknown IO ID 45"} 
[2026-07-15 11:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728720896001,"power":13091,"unknown_167":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9018739753960288256}} 
[2026-07-15 11:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":133334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490770,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:53:24] local.INFO: GPS data processed {"connection_id":133334,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:53:24] local.INFO: Acknowledgment sent {"connection_id":133334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:53:39] local.INFO: TCP Data received {"connection_id":134701,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f646eae38012d7f998005afdce00007011c2b..."} 
[2026-07-15 11:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f646eae38012d7f998005afdce00007011c2b..."} 
[2026-07-15 11:53:39] local.INFO: Processing buffer {"connection_id":134701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f646eae38012d7f998005afdce00007011c2b..."} 
[2026-07-15 11:53:39] local.INFO: Packet analysis {"connection_id":134701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f646e"} 
[2026-07-15 11:53:39] local.INFO: Extracted packet for processing {"connection_id":134701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f646e"} 
[2026-07-15 11:53:39] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":7,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728602112001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784096403000,"timestamp_ms":1784096403000,"timestamp_seconds":1784096403,"priority":1,"record_length":96,"hex_timestamp":"0000019f646eae38"} 
[2026-07-15 11:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:53:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 11:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:53:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:53:39] 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-07-15 11:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728602112001,"66":25647,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728602112001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:53:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:53:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728602112001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":134701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:53:39] local.INFO: GPS data processed {"connection_id":134701,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:53:39] local.INFO: Acknowledgment sent {"connection_id":134701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:53:55] local.INFO: TCP Data received {"connection_id":133335,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133335,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:53:55] local.INFO: Processing buffer {"connection_id":133335,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:53:55] local.INFO: IMEI packet received {"connection_id":133335,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 11:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":133335,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:53:56] local.INFO: TCP Data received {"connection_id":133334,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f64717140012d7d2b8005dc7f580009006817..."} 
[2026-07-15 11:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64717140012d7d2b8005dc7f580009006817..."} 
[2026-07-15 11:53:56] local.INFO: Processing buffer {"connection_id":133334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64717140012d7d2b8005dc7f580009006817..."} 
[2026-07-15 11:53:56] local.INFO: Packet analysis {"connection_id":133334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6471"} 
[2026-07-15 11:53:56] local.INFO: Extracted packet for processing {"connection_id":133334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6471"} 
[2026-07-15 11:53:56] local.INFO: GPS Element Parsed {"raw_longitude":763177856,"raw_latitude":98336600,"longitude_deg":76.3177856,"latitude_deg":9.83366,"altitude":9,"angle":104,"satellites":23,"speed":6,"hex_longitude":"2d7d2b80","hex_latitude":"05dc7f58","is_valid_coordinates":true} 
[2026-07-15 11:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728724992001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106377810116870144,"note":"Value kept but may cause issues"} 
[2026-07-15 11:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019021228937011200,"note":"Value kept but may cause issues"} 
[2026-07-15 11:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784096584000,"timestamp_ms":1784096584000,"timestamp_seconds":1784096584,"priority":1,"record_length":96,"hex_timestamp":"0000019f64717140"} 
[2026-07-15 11:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 11:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-15 11:53:56] 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-07-15 11:53:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 11:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 11:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728724992001,"66":12852,"167":206,"85":15104,"24":6,"16":106377810116870144,"45":9019021228937011200},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-15 11:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 11:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 11:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728724992001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:53:56] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 11:53:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 11:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106377810116870144,"km_value":106377810116870.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019021228937011200,"description":"Unknown IO ID 45"} 
[2026-07-15 11:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728724992001,"power":12852,"unknown_167":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9019021228937011200}} 
[2026-07-15 11:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":133334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490772,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:53:56] local.INFO: GPS data processed {"connection_id":133334,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:53:56] local.INFO: Acknowledgment sent {"connection_id":133334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:54:06] local.INFO: TCP Data received {"connection_id":134702,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:54:06] local.INFO: Processing buffer {"connection_id":134702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:54:06] local.INFO: IMEI packet received {"connection_id":134702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":134702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:54:11] local.INFO: TCP Data received {"connection_id":134702,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:54:11] local.INFO: Processing buffer {"connection_id":134702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:54:11] local.INFO: IMEI packet received {"connection_id":134702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":134702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:54:12] local.INFO: TCP Data received {"connection_id":134702,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f646eae38012d7f998005afdce00007011c2b..."} 
[2026-07-15 11:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f646eae38012d7f998005afdce00007011c2b..."} 
[2026-07-15 11:54:12] local.INFO: Processing buffer {"connection_id":134702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f646eae38012d7f998005afdce00007011c2b..."} 
[2026-07-15 11:54:12] local.INFO: Packet analysis {"connection_id":134702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f646e"} 
[2026-07-15 11:54:12] local.INFO: Extracted packet for processing {"connection_id":134702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f646e"} 
[2026-07-15 11:54:12] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":7,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728602112001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:54:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:54:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784096403000,"timestamp_ms":1784096403000,"timestamp_seconds":1784096403,"priority":1,"record_length":96,"hex_timestamp":"0000019f646eae38"} 
[2026-07-15 11:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:54:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 11:54:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:54:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":134702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":134702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":134702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:54:12] 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-07-15 11:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728602112001,"66":25647,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728602112001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:54:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:54:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:54:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728602112001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":134702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:54:12] local.INFO: GPS data processed {"connection_id":134702,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:54:12] local.INFO: Acknowledgment sent {"connection_id":134702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:54:16] local.INFO: TCP Data received {"connection_id":134702,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f646eae38012d7f998005afdce00007011c2b..."} 
[2026-07-15 11:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f646eae38012d7f998005afdce00007011c2b..."} 
[2026-07-15 11:54:16] local.INFO: Processing buffer {"connection_id":134702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f646eae38012d7f998005afdce00007011c2b..."} 
[2026-07-15 11:54:16] local.INFO: Packet analysis {"connection_id":134702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f646e"} 
[2026-07-15 11:54:16] local.INFO: Extracted packet for processing {"connection_id":134702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f646e"} 
[2026-07-15 11:54:16] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":7,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728602112001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:54:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784096403000,"timestamp_ms":1784096403000,"timestamp_seconds":1784096403,"priority":1,"record_length":96,"hex_timestamp":"0000019f646eae38"} 
[2026-07-15 11:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:54:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 11:54:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":134702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":134702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":134702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728602112001,"66":25647,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728602112001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:54:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:54:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728602112001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":134702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:54:16] local.INFO: GPS data processed {"connection_id":134702,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:54:16] local.INFO: Acknowledgment sent {"connection_id":134702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:54:23] local.INFO: TCP Data received {"connection_id":132299,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132299,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:54:23] local.INFO: Processing buffer {"connection_id":132299,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:54:23] local.INFO: IMEI packet received {"connection_id":132299,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 11:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":132299,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:54:28] local.INFO: TCP Data received {"connection_id":132299,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132299,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:54:28] local.INFO: Processing buffer {"connection_id":132299,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 11:54:28] local.INFO: IMEI packet received {"connection_id":132299,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 11:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":132299,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:54:29] local.INFO: TCP Data received {"connection_id":132299,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f6471a408012d7d2b4005dc7f900009010e19..."} 
[2026-07-15 11:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6471a408012d7d2b4005dc7f900009010e19..."} 
[2026-07-15 11:54:29] local.INFO: Processing buffer {"connection_id":132299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6471a408012d7d2b4005dc7f900009010e19..."} 
[2026-07-15 11:54:29] local.INFO: Packet analysis {"connection_id":132299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6471"} 
[2026-07-15 11:54:29] local.INFO: Extracted packet for processing {"connection_id":132299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6471"} 
[2026-07-15 11:54:29] local.INFO: GPS Element Parsed {"raw_longitude":763177792,"raw_latitude":98336656,"longitude_deg":76.3177792,"latitude_deg":9.8336656,"altitude":9,"angle":270,"satellites":25,"speed":1,"hex_longitude":"2d7d2b40","hex_latitude":"05dc7f90","is_valid_coordinates":true} 
[2026-07-15 11: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-07-15 11:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728725504001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106377823001772032,"note":"Value kept but may cause issues"} 
[2026-07-15 11:54:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019443441402075136,"note":"Value kept but may cause issues"} 
[2026-07-15 11:54:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784096597000,"timestamp_ms":1784096597000,"timestamp_seconds":1784096597,"priority":1,"record_length":96,"hex_timestamp":"0000019f6471a408"} 
[2026-07-15 11:54:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:54:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 11: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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-15 11:54:29] 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-07-15 11: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-07-15 11:54:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":132299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":132299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":132299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:54:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 11:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 11:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728725504001,"66":13243,"167":206,"85":15104,"24":1,"16":106377823001772032,"45":9019443441402075136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-15 11:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 11:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 11:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728725504001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:54:29] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 11:54:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 11:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106377823001772032,"km_value":106377823001772.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:54:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019443441402075136,"description":"Unknown IO ID 45"} 
[2026-07-15 11:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728725504001,"power":13243,"unknown_167":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9019443441402075136}} 
[2026-07-15 11:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":132299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490775,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:54:29] local.INFO: GPS data processed {"connection_id":132299,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:54:29] local.INFO: Acknowledgment sent {"connection_id":132299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:54:34] local.INFO: TCP Data received {"connection_id":132299,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f6471b790012d7d2a4005dc7fb0000900fa19..."} 
[2026-07-15 11:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6471b790012d7d2a4005dc7fb0000900fa19..."} 
[2026-07-15 11:54:34] local.INFO: Processing buffer {"connection_id":132299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6471b790012d7d2a4005dc7fb0000900fa19..."} 
[2026-07-15 11:54:34] local.INFO: Packet analysis {"connection_id":132299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6471"} 
[2026-07-15 11:54:34] local.INFO: Extracted packet for processing {"connection_id":132299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6471"} 
[2026-07-15 11:54:34] local.INFO: GPS Element Parsed {"raw_longitude":763177536,"raw_latitude":98336688,"longitude_deg":76.3177536,"latitude_deg":9.8336688,"altitude":9,"angle":250,"satellites":25,"speed":1,"hex_longitude":"2d7d2a40","hex_latitude":"05dc7fb0","is_valid_coordinates":true} 
[2026-07-15 11: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-07-15 11:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728728832001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106377835886673920,"note":"Value kept but may cause issues"} 
[2026-07-15 11:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019373072657911808,"note":"Value kept but may cause issues"} 
[2026-07-15 11:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784096602000,"timestamp_ms":1784096602000,"timestamp_seconds":1784096602,"priority":1,"record_length":96,"hex_timestamp":"0000019f6471b790"} 
[2026-07-15 11:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:54: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-07-15 11: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-15 11:54:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11: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-07-15 11:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":132299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":132299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":132299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 11:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 11:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 11:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728728832001,"66":12982,"167":206,"85":15104,"24":1,"16":106377835886673920,"45":9019373072657911808},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-15 11:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 11:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 11:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728728832001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:54:34] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 11:54:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 11:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106377835886673920,"km_value":106377835886673.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019373072657911808,"description":"Unknown IO ID 45"} 
[2026-07-15 11:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728728832001,"power":12982,"unknown_167":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9019373072657911808}} 
[2026-07-15 11:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":132299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490776,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:54:34] local.INFO: GPS data processed {"connection_id":132299,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:54:34] local.INFO: Acknowledgment sent {"connection_id":132299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:54:35] local.INFO: TCP Data received {"connection_id":132300,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132300,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:54:35] local.INFO: Processing buffer {"connection_id":132300,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:54:35] local.INFO: IMEI packet received {"connection_id":132300,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 11:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":132300,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:55:01] local.INFO: TCP Data received {"connection_id":132488,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:55:01] local.INFO: Processing buffer {"connection_id":132488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:55:01] local.INFO: IMEI packet received {"connection_id":132488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":132488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:55:06] local.INFO: TCP Data received {"connection_id":132488,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:55:06] local.INFO: Processing buffer {"connection_id":132488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:55:06] local.INFO: IMEI packet received {"connection_id":132488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":132488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:55:07] local.INFO: TCP Data received {"connection_id":132488,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f646eae38012d7f998005afdce00007011c2b..."} 
[2026-07-15 11:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f646eae38012d7f998005afdce00007011c2b..."} 
[2026-07-15 11:55:07] local.INFO: Processing buffer {"connection_id":132488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f646eae38012d7f998005afdce00007011c2b..."} 
[2026-07-15 11:55:07] local.INFO: Packet analysis {"connection_id":132488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f646e"} 
[2026-07-15 11:55:07] local.INFO: Extracted packet for processing {"connection_id":132488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f646e"} 
[2026-07-15 11:55:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":7,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728602112001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784096403000,"timestamp_ms":1784096403000,"timestamp_seconds":1784096403,"priority":1,"record_length":96,"hex_timestamp":"0000019f646eae38"} 
[2026-07-15 11:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 11:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:55:07] 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-07-15 11:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728602112001,"66":25647,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728602112001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:55:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:55:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728602112001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":132488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:55:07] local.INFO: GPS data processed {"connection_id":132488,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:55:07] local.INFO: Acknowledgment sent {"connection_id":132488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:55:38] local.INFO: TCP Data received {"connection_id":132488,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f646eae38012d7f998005afdce00007011c2b..."} 
[2026-07-15 11:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f646eae38012d7f998005afdce00007011c2b..."} 
[2026-07-15 11:55:38] local.INFO: Processing buffer {"connection_id":132488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f646eae38012d7f998005afdce00007011c2b..."} 
[2026-07-15 11:55:38] local.INFO: Packet analysis {"connection_id":132488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f646e"} 
[2026-07-15 11:55:38] local.INFO: Extracted packet for processing {"connection_id":132488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f646e"} 
[2026-07-15 11:55:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":7,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11: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-07-15 11:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728602112001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784096403000,"timestamp_ms":1784096403000,"timestamp_seconds":1784096403,"priority":1,"record_length":96,"hex_timestamp":"0000019f646eae38"} 
[2026-07-15 11:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 11:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11: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-07-15 11:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:55:38] 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-07-15 11:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728602112001,"66":25647,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728602112001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:55:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:55:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728602112001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":132488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:55:38] local.INFO: GPS data processed {"connection_id":132488,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:55:38] local.INFO: Acknowledgment sent {"connection_id":132488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:56:01] local.INFO: TCP Data received {"connection_id":132301,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:56:01] local.INFO: Processing buffer {"connection_id":132301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:56:01] local.INFO: IMEI packet received {"connection_id":132301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":132301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:56:06] local.INFO: TCP Data received {"connection_id":132301,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:56:06] local.INFO: Processing buffer {"connection_id":132301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:56:06] local.INFO: IMEI packet received {"connection_id":132301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":132301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:56:07] local.INFO: TCP Data received {"connection_id":132301,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f64734600012d7f998005afdce00007011c2a..."} 
[2026-07-15 11:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64734600012d7f998005afdce00007011c2a..."} 
[2026-07-15 11:56:07] local.INFO: Processing buffer {"connection_id":132301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64734600012d7f998005afdce00007011c2a..."} 
[2026-07-15 11:56:07] local.INFO: Packet analysis {"connection_id":132301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6473"} 
[2026-07-15 11:56:07] local.INFO: Extracted packet for processing {"connection_id":132301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6473"} 
[2026-07-15 11:56:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":7,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728679168001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784096704000,"timestamp_ms":1784096704000,"timestamp_seconds":1784096704,"priority":1,"record_length":96,"hex_timestamp":"0000019f64734600"} 
[2026-07-15 11:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 11:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:56:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:56:07] 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-07-15 11:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728679168001,"66":25647,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728679168001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:56:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:56:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728679168001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":132301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:56:07] local.INFO: GPS data processed {"connection_id":132301,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:56:07] local.INFO: Acknowledgment sent {"connection_id":132301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:56:38] local.INFO: TCP Data received {"connection_id":132301,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f64734600012d7f998005afdce00007011c2a..."} 
[2026-07-15 11:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64734600012d7f998005afdce00007011c2a..."} 
[2026-07-15 11:56:38] local.INFO: Processing buffer {"connection_id":132301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64734600012d7f998005afdce00007011c2a..."} 
[2026-07-15 11:56:38] local.INFO: Packet analysis {"connection_id":132301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6473"} 
[2026-07-15 11:56:38] local.INFO: Extracted packet for processing {"connection_id":132301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6473"} 
[2026-07-15 11:56:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":7,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728679168001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784096704000,"timestamp_ms":1784096704000,"timestamp_seconds":1784096704,"priority":1,"record_length":96,"hex_timestamp":"0000019f64734600"} 
[2026-07-15 11:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 11:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:56:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:56:38] 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-07-15 11:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728679168001,"66":25647,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728679168001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:56:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:56:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728679168001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":132301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:56:38] local.INFO: GPS data processed {"connection_id":132301,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:56:38] local.INFO: Acknowledgment sent {"connection_id":132301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:57:02] local.INFO: TCP Data received {"connection_id":132302,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:57:02] local.INFO: Processing buffer {"connection_id":132302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:57:02] local.INFO: IMEI packet received {"connection_id":132302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":132302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:57:06] local.INFO: TCP Data received {"connection_id":132302,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:57:06] local.INFO: Processing buffer {"connection_id":132302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:57:06] local.INFO: IMEI packet received {"connection_id":132302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":132302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:57:08] local.INFO: TCP Data received {"connection_id":132302,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f64734600012d7f998005afdce00007011c2a..."} 
[2026-07-15 11:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64734600012d7f998005afdce00007011c2a..."} 
[2026-07-15 11:57:08] local.INFO: Processing buffer {"connection_id":132302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64734600012d7f998005afdce00007011c2a..."} 
[2026-07-15 11:57:08] local.INFO: Packet analysis {"connection_id":132302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6473"} 
[2026-07-15 11:57:08] local.INFO: Extracted packet for processing {"connection_id":132302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6473"} 
[2026-07-15 11:57:08] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":7,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11: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-07-15 11:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728679168001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:57:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784096704000,"timestamp_ms":1784096704000,"timestamp_seconds":1784096704,"priority":1,"record_length":96,"hex_timestamp":"0000019f64734600"} 
[2026-07-15 11:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 11:57:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:57:08] 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-07-15 11:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728679168001,"66":25647,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728679168001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:57:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:57:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728679168001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":132302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:57:08] local.INFO: GPS data processed {"connection_id":132302,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:57:08] local.INFO: Acknowledgment sent {"connection_id":132302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:57:39] local.INFO: TCP Data received {"connection_id":132302,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f64734600012d7f998005afdce00007011c2a..."} 
[2026-07-15 11:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64734600012d7f998005afdce00007011c2a..."} 
[2026-07-15 11:57:39] local.INFO: Processing buffer {"connection_id":132302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64734600012d7f998005afdce00007011c2a..."} 
[2026-07-15 11:57:39] local.INFO: Packet analysis {"connection_id":132302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6473"} 
[2026-07-15 11:57:39] local.INFO: Extracted packet for processing {"connection_id":132302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6473"} 
[2026-07-15 11:57:39] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":7,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728679168001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784096704000,"timestamp_ms":1784096704000,"timestamp_seconds":1784096704,"priority":1,"record_length":96,"hex_timestamp":"0000019f64734600"} 
[2026-07-15 11:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:57:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 11:57:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:57:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:57:39] 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-07-15 11:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728679168001,"66":25647,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728679168001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:57:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:57:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728679168001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":132302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:57:39] local.INFO: GPS data processed {"connection_id":132302,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:57:39] local.INFO: Acknowledgment sent {"connection_id":132302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:58:01] local.INFO: TCP Data received {"connection_id":133336,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:58:01] local.INFO: Processing buffer {"connection_id":133336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:58:01] local.INFO: IMEI packet received {"connection_id":133336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":133336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:58:06] local.INFO: TCP Data received {"connection_id":133336,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:58:06] local.INFO: Processing buffer {"connection_id":133336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:58:06] local.INFO: IMEI packet received {"connection_id":133336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":133336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:58:07] local.INFO: TCP Data received {"connection_id":133336,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f64734600012d7f998005afdce00007011c2a..."} 
[2026-07-15 11:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64734600012d7f998005afdce00007011c2a..."} 
[2026-07-15 11:58:07] local.INFO: Processing buffer {"connection_id":133336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64734600012d7f998005afdce00007011c2a..."} 
[2026-07-15 11:58:07] local.INFO: Packet analysis {"connection_id":133336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6473"} 
[2026-07-15 11:58:07] local.INFO: Extracted packet for processing {"connection_id":133336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6473"} 
[2026-07-15 11:58:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":7,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728679168001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784096704000,"timestamp_ms":1784096704000,"timestamp_seconds":1784096704,"priority":1,"record_length":96,"hex_timestamp":"0000019f64734600"} 
[2026-07-15 11:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:58:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 11:58:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:58:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:58:07] 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-07-15 11:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728679168001,"66":25647,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728679168001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:58:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:58:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728679168001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":133336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:58:07] local.INFO: GPS data processed {"connection_id":133336,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:58:07] local.INFO: Acknowledgment sent {"connection_id":133336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:58:38] local.INFO: TCP Data received {"connection_id":133336,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f64734600012d7f998005afdce00007011c2a..."} 
[2026-07-15 11:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64734600012d7f998005afdce00007011c2a..."} 
[2026-07-15 11:58:38] local.INFO: Processing buffer {"connection_id":133336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64734600012d7f998005afdce00007011c2a..."} 
[2026-07-15 11:58:38] local.INFO: Packet analysis {"connection_id":133336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6473"} 
[2026-07-15 11:58:38] local.INFO: Extracted packet for processing {"connection_id":133336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6473"} 
[2026-07-15 11:58:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":7,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11: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-07-15 11:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728679168001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784096704000,"timestamp_ms":1784096704000,"timestamp_seconds":1784096704,"priority":1,"record_length":96,"hex_timestamp":"0000019f64734600"} 
[2026-07-15 11:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 11:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11: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-07-15 11:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:58:38] 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-07-15 11:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728679168001,"66":25647,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728679168001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:58:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:58:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728679168001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":133336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:58:38] local.INFO: GPS data processed {"connection_id":133336,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:58:38] local.INFO: Acknowledgment sent {"connection_id":133336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:59:06] local.INFO: TCP Data received {"connection_id":132303,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:59:06] local.INFO: Processing buffer {"connection_id":132303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:59:06] local.INFO: IMEI packet received {"connection_id":132303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 11:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":132303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 11:59:11] local.INFO: TCP Data received {"connection_id":132303,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:59:11] local.INFO: Processing buffer {"connection_id":132303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 11:59:11] local.INFO: IMEI packet received {"connection_id":132303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 11:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":132303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 11:59:12] local.INFO: TCP Data received {"connection_id":132303,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64734600012d7f998005afdce00007011c2a..."} 
[2026-07-15 11:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64734600012d7f998005afdce00007011c2a..."} 
[2026-07-15 11:59:12] local.INFO: Processing buffer {"connection_id":132303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64734600012d7f998005afdce00007011c2a..."} 
[2026-07-15 11:59:12] local.INFO: Packet analysis {"connection_id":132303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6473"} 
[2026-07-15 11:59:12] local.INFO: Extracted packet for processing {"connection_id":132303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6473"} 
[2026-07-15 11:59:12] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":7,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728679168001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784096704000,"timestamp_ms":1784096704000,"timestamp_seconds":1784096704,"priority":1,"record_length":96,"hex_timestamp":"0000019f64734600"} 
[2026-07-15 11:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:59:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 11:59:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:59:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:59:12] 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-07-15 11:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728679168001,"66":25647,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728679168001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:59:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:59:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728679168001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":132303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:59:12] local.INFO: GPS data processed {"connection_id":132303,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:59:12] local.INFO: Acknowledgment sent {"connection_id":132303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:59:17] local.INFO: TCP Data received {"connection_id":132303,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64734600012d7f998005afdce00007011c2a..."} 
[2026-07-15 11:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64734600012d7f998005afdce00007011c2a..."} 
[2026-07-15 11:59:17] local.INFO: Processing buffer {"connection_id":132303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64734600012d7f998005afdce00007011c2a..."} 
[2026-07-15 11:59:17] local.INFO: Packet analysis {"connection_id":132303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6473"} 
[2026-07-15 11:59:17] local.INFO: Extracted packet for processing {"connection_id":132303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6473"} 
[2026-07-15 11:59:17] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":7,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 11:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 11:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728679168001,"note":"Value kept but may cause issues"} 
[2026-07-15 11:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 11:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 11:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 11:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784096704000,"timestamp_ms":1784096704000,"timestamp_seconds":1784096704,"priority":1,"record_length":96,"hex_timestamp":"0000019f64734600"} 
[2026-07-15 11:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 11:59:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 11:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 11:59:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 11:59:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 11:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 11:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 11:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 11:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 11:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 11:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 11:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 11:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728679168001,"66":25647,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 11:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 11:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 11:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728679168001,"description":"Unknown IO ID 0"} 
[2026-07-15 11:59:17] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 11:59:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 11:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 11:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 11:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728679168001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 11:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":132303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 11:59:17] local.INFO: GPS data processed {"connection_id":132303,"processed":1,"errors":0,"total":1} 
[2026-07-15 11:59:17] local.INFO: Acknowledgment sent {"connection_id":132303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 11:59:50] local.INFO: TCP Data received {"connection_id":132304,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132304,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:59:50] local.INFO: Processing buffer {"connection_id":132304,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 11:59:50] local.INFO: IMEI packet received {"connection_id":132304,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 11:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":132304,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:00:01] local.INFO: TCP Data received {"connection_id":132305,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:00:01] local.INFO: Processing buffer {"connection_id":132305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:00:01] local.INFO: IMEI packet received {"connection_id":132305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":132305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:00:06] local.INFO: TCP Data received {"connection_id":132305,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:00:06] local.INFO: Processing buffer {"connection_id":132305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:00:06] local.INFO: IMEI packet received {"connection_id":132305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":132305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:00:07] local.INFO: TCP Data received {"connection_id":132305,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64734600012d7f998005afdce00007011c2a..."} 
[2026-07-15 12:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64734600012d7f998005afdce00007011c2a..."} 
[2026-07-15 12:00:07] local.INFO: Processing buffer {"connection_id":132305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64734600012d7f998005afdce00007011c2a..."} 
[2026-07-15 12:00:07] local.INFO: Packet analysis {"connection_id":132305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6473"} 
[2026-07-15 12:00:07] local.INFO: Extracted packet for processing {"connection_id":132305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6473"} 
[2026-07-15 12:00:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":7,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728679168001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784096704000,"timestamp_ms":1784096704000,"timestamp_seconds":1784096704,"priority":1,"record_length":96,"hex_timestamp":"0000019f64734600"} 
[2026-07-15 12:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 12:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:00:07] 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-07-15 12:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728679168001,"66":25647,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728679168001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:00:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:00:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728679168001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":132305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:00:07] local.INFO: GPS data processed {"connection_id":132305,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:00:07] local.INFO: Acknowledgment sent {"connection_id":132305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:00:35] local.INFO: TCP Data received {"connection_id":133338,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133338,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:00:35] local.INFO: Processing buffer {"connection_id":133338,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:00:35] local.INFO: IMEI packet received {"connection_id":133338,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 12:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":133338,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:00:39] local.INFO: TCP Data received {"connection_id":132305,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64734600012d7f998005afdce00007011c2a..."} 
[2026-07-15 12:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64734600012d7f998005afdce00007011c2a..."} 
[2026-07-15 12:00:39] local.INFO: Processing buffer {"connection_id":132305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64734600012d7f998005afdce00007011c2a..."} 
[2026-07-15 12:00:39] local.INFO: Packet analysis {"connection_id":132305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6473"} 
[2026-07-15 12:00:39] local.INFO: Extracted packet for processing {"connection_id":132305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6473"} 
[2026-07-15 12:00:39] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":7,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12: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-07-15 12:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728679168001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784096704000,"timestamp_ms":1784096704000,"timestamp_seconds":1784096704,"priority":1,"record_length":96,"hex_timestamp":"0000019f64734600"} 
[2026-07-15 12:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:00:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 12:00:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:00:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:00: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-07-15 12:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728679168001,"66":25647,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728679168001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:00:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:00:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728679168001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":132305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:00:39] local.INFO: GPS data processed {"connection_id":132305,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:00:39] local.INFO: Acknowledgment sent {"connection_id":132305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:01:02] local.INFO: TCP Data received {"connection_id":132306,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:01:02] local.INFO: Processing buffer {"connection_id":132306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:01:02] local.INFO: IMEI packet received {"connection_id":132306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":132306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:01:06] local.INFO: TCP Data received {"connection_id":132306,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:01:06] local.INFO: Processing buffer {"connection_id":132306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:01:06] local.INFO: IMEI packet received {"connection_id":132306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":132306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:01:07] local.INFO: TCP Data received {"connection_id":132306,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f6477ddc8012d7f998005afdce00009011c2a..."} 
[2026-07-15 12:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6477ddc8012d7f998005afdce00009011c2a..."} 
[2026-07-15 12:01:07] local.INFO: Processing buffer {"connection_id":132306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6477ddc8012d7f998005afdce00009011c2a..."} 
[2026-07-15 12:01:07] local.INFO: Packet analysis {"connection_id":132306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6477"} 
[2026-07-15 12:01:07] local.INFO: Extracted packet for processing {"connection_id":132306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6477"} 
[2026-07-15 12:01:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":9,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728756224001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784097005000,"timestamp_ms":1784097005000,"timestamp_seconds":1784097005,"priority":1,"record_length":96,"hex_timestamp":"0000019f6477ddc8"} 
[2026-07-15 12:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 12:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:01:07] 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-07-15 12:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728756224001,"66":25625,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728756224001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:01:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:01:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728756224001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":132306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:01:07] local.INFO: GPS data processed {"connection_id":132306,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:01:07] local.INFO: Acknowledgment sent {"connection_id":132306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:01:38] local.INFO: TCP Data received {"connection_id":132306,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f6477ddc8012d7f998005afdce00009011c2a..."} 
[2026-07-15 12:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6477ddc8012d7f998005afdce00009011c2a..."} 
[2026-07-15 12:01:38] local.INFO: Processing buffer {"connection_id":132306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6477ddc8012d7f998005afdce00009011c2a..."} 
[2026-07-15 12:01:38] local.INFO: Packet analysis {"connection_id":132306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6477"} 
[2026-07-15 12:01:38] local.INFO: Extracted packet for processing {"connection_id":132306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6477"} 
[2026-07-15 12:01:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":9,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12: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-07-15 12:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728756224001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784097005000,"timestamp_ms":1784097005000,"timestamp_seconds":1784097005,"priority":1,"record_length":96,"hex_timestamp":"0000019f6477ddc8"} 
[2026-07-15 12:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 12:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12: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-07-15 12:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:01:38] 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-07-15 12:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728756224001,"66":25625,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728756224001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:01:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:01:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728756224001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":132306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:01:38] local.INFO: GPS data processed {"connection_id":132306,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:01:38] local.INFO: Acknowledgment sent {"connection_id":132306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:02:06] local.INFO: TCP Data received {"connection_id":132491,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:02:06] local.INFO: Processing buffer {"connection_id":132491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:02:06] local.INFO: IMEI packet received {"connection_id":132491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":132491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:02:12] local.INFO: TCP Data received {"connection_id":132491,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:02:12] local.INFO: Processing buffer {"connection_id":132491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:02:12] local.INFO: IMEI packet received {"connection_id":132491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":132491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:02:13] local.INFO: TCP Data received {"connection_id":132491,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f6477ddc8012d7f998005afdce00009011c2a..."} 
[2026-07-15 12:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6477ddc8012d7f998005afdce00009011c2a..."} 
[2026-07-15 12:02:13] local.INFO: Processing buffer {"connection_id":132491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6477ddc8012d7f998005afdce00009011c2a..."} 
[2026-07-15 12:02:13] local.INFO: Packet analysis {"connection_id":132491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6477"} 
[2026-07-15 12:02:13] local.INFO: Extracted packet for processing {"connection_id":132491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6477"} 
[2026-07-15 12:02:13] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":9,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728756224001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784097005000,"timestamp_ms":1784097005000,"timestamp_seconds":1784097005,"priority":1,"record_length":96,"hex_timestamp":"0000019f6477ddc8"} 
[2026-07-15 12:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:02:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 12:02:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:02:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:02:13] 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-07-15 12:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728756224001,"66":25625,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728756224001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:02:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:02:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728756224001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":132491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:02:13] local.INFO: GPS data processed {"connection_id":132491,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:02:13] local.INFO: Acknowledgment sent {"connection_id":132491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:02:16] local.INFO: TCP Data received {"connection_id":132491,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f6477ddc8012d7f998005afdce00009011c2a..."} 
[2026-07-15 12:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6477ddc8012d7f998005afdce00009011c2a..."} 
[2026-07-15 12:02:16] local.INFO: Processing buffer {"connection_id":132491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6477ddc8012d7f998005afdce00009011c2a..."} 
[2026-07-15 12:02:16] local.INFO: Packet analysis {"connection_id":132491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6477"} 
[2026-07-15 12:02:16] local.INFO: Extracted packet for processing {"connection_id":132491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6477"} 
[2026-07-15 12:02:16] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":9,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12: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-07-15 12:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728756224001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:02:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784097005000,"timestamp_ms":1784097005000,"timestamp_seconds":1784097005,"priority":1,"record_length":96,"hex_timestamp":"0000019f6477ddc8"} 
[2026-07-15 12:02:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:02:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 12:02:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12: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-07-15 12:02:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:02:16] 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-07-15 12:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728756224001,"66":25625,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728756224001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:02:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:02:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728756224001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":132491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:02:16] local.INFO: GPS data processed {"connection_id":132491,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:02:16] local.INFO: Acknowledgment sent {"connection_id":132491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:03:01] local.INFO: TCP Data received {"connection_id":132307,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:03:01] local.INFO: Processing buffer {"connection_id":132307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:03:01] local.INFO: IMEI packet received {"connection_id":132307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":132307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:03:06] local.INFO: TCP Data received {"connection_id":132307,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:03:06] local.INFO: Processing buffer {"connection_id":132307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:03:06] local.INFO: IMEI packet received {"connection_id":132307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":132307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:03:07] local.INFO: TCP Data received {"connection_id":132307,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f6477ddc8012d7f998005afdce00009011c2a..."} 
[2026-07-15 12:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6477ddc8012d7f998005afdce00009011c2a..."} 
[2026-07-15 12:03:07] local.INFO: Processing buffer {"connection_id":132307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6477ddc8012d7f998005afdce00009011c2a..."} 
[2026-07-15 12:03:07] local.INFO: Packet analysis {"connection_id":132307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6477"} 
[2026-07-15 12:03:07] local.INFO: Extracted packet for processing {"connection_id":132307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6477"} 
[2026-07-15 12:03:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":9,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728756224001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784097005000,"timestamp_ms":1784097005000,"timestamp_seconds":1784097005,"priority":1,"record_length":96,"hex_timestamp":"0000019f6477ddc8"} 
[2026-07-15 12:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 12:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:03:07] 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-07-15 12:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728756224001,"66":25625,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728756224001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:03:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:03:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728756224001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":132307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:03:07] local.INFO: GPS data processed {"connection_id":132307,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:03:07] local.INFO: Acknowledgment sent {"connection_id":132307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:03:38] local.INFO: TCP Data received {"connection_id":132307,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f6477ddc8012d7f998005afdce00009011c2a..."} 
[2026-07-15 12:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6477ddc8012d7f998005afdce00009011c2a..."} 
[2026-07-15 12:03:38] local.INFO: Processing buffer {"connection_id":132307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6477ddc8012d7f998005afdce00009011c2a..."} 
[2026-07-15 12:03:38] local.INFO: Packet analysis {"connection_id":132307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6477"} 
[2026-07-15 12:03:38] local.INFO: Extracted packet for processing {"connection_id":132307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6477"} 
[2026-07-15 12:03:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":9,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12: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-07-15 12:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728756224001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784097005000,"timestamp_ms":1784097005000,"timestamp_seconds":1784097005,"priority":1,"record_length":96,"hex_timestamp":"0000019f6477ddc8"} 
[2026-07-15 12:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 12:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12: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-07-15 12:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:03:38] 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-07-15 12:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728756224001,"66":25625,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728756224001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:03:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:03:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728756224001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":132307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:03:39] local.INFO: GPS data processed {"connection_id":132307,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:03:39] local.INFO: Acknowledgment sent {"connection_id":132307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:04:01] local.INFO: TCP Data received {"connection_id":132493,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:04:01] local.INFO: Processing buffer {"connection_id":132493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:04:01] local.INFO: IMEI packet received {"connection_id":132493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":132493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:04:06] local.INFO: TCP Data received {"connection_id":132493,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:04:06] local.INFO: Processing buffer {"connection_id":132493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:04:06] local.INFO: IMEI packet received {"connection_id":132493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":132493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:04:07] local.INFO: TCP Data received {"connection_id":132493,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f6477ddc8012d7f998005afdce00009011c2a..."} 
[2026-07-15 12:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6477ddc8012d7f998005afdce00009011c2a..."} 
[2026-07-15 12:04:07] local.INFO: Processing buffer {"connection_id":132493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6477ddc8012d7f998005afdce00009011c2a..."} 
[2026-07-15 12:04:07] local.INFO: Packet analysis {"connection_id":132493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6477"} 
[2026-07-15 12:04:07] local.INFO: Extracted packet for processing {"connection_id":132493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6477"} 
[2026-07-15 12:04:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":9,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728756224001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784097005000,"timestamp_ms":1784097005000,"timestamp_seconds":1784097005,"priority":1,"record_length":96,"hex_timestamp":"0000019f6477ddc8"} 
[2026-07-15 12:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 12:04:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:04:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:04:07] 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-07-15 12:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728756224001,"66":25625,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728756224001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:04:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:04:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728756224001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":132493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:04:07] local.INFO: GPS data processed {"connection_id":132493,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:04:07] local.INFO: Acknowledgment sent {"connection_id":132493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:04:38] local.INFO: TCP Data received {"connection_id":132493,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f6477ddc8012d7f998005afdce00009011c2a..."} 
[2026-07-15 12:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6477ddc8012d7f998005afdce00009011c2a..."} 
[2026-07-15 12:04:38] local.INFO: Processing buffer {"connection_id":132493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6477ddc8012d7f998005afdce00009011c2a..."} 
[2026-07-15 12:04:38] local.INFO: Packet analysis {"connection_id":132493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6477"} 
[2026-07-15 12:04:38] local.INFO: Extracted packet for processing {"connection_id":132493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6477"} 
[2026-07-15 12:04:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":9,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12: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-07-15 12:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728756224001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784097005000,"timestamp_ms":1784097005000,"timestamp_seconds":1784097005,"priority":1,"record_length":96,"hex_timestamp":"0000019f6477ddc8"} 
[2026-07-15 12:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 12:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12: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-07-15 12:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:04:38] 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-07-15 12:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728756224001,"66":25625,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728756224001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:04:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:04:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728756224001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":132493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:04:38] local.INFO: GPS data processed {"connection_id":132493,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:04:38] local.INFO: Acknowledgment sent {"connection_id":132493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:05:01] local.INFO: TCP Data received {"connection_id":134705,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:05:01] local.INFO: Processing buffer {"connection_id":134705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:05:01] local.INFO: IMEI packet received {"connection_id":134705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":134705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:05:06] local.INFO: TCP Data received {"connection_id":134705,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:05:06] local.INFO: Processing buffer {"connection_id":134705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:05:06] local.INFO: IMEI packet received {"connection_id":134705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":134705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:05:07] local.INFO: TCP Data received {"connection_id":134705,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f6477ddc8012d7f998005afdce00009011c2a..."} 
[2026-07-15 12:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6477ddc8012d7f998005afdce00009011c2a..."} 
[2026-07-15 12:05:07] local.INFO: Processing buffer {"connection_id":134705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6477ddc8012d7f998005afdce00009011c2a..."} 
[2026-07-15 12:05:07] local.INFO: Packet analysis {"connection_id":134705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6477"} 
[2026-07-15 12:05:07] local.INFO: Extracted packet for processing {"connection_id":134705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6477"} 
[2026-07-15 12:05:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":9,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728756224001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784097005000,"timestamp_ms":1784097005000,"timestamp_seconds":1784097005,"priority":1,"record_length":96,"hex_timestamp":"0000019f6477ddc8"} 
[2026-07-15 12:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 12:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:05:07] 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-07-15 12:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728756224001,"66":25625,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728756224001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:05:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:05:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728756224001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":134705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:05:07] local.INFO: GPS data processed {"connection_id":134705,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:05:07] local.INFO: Acknowledgment sent {"connection_id":134705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:05:40] local.INFO: TCP Data received {"connection_id":134705,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f6477ddc8012d7f998005afdce00009011c2a..."} 
[2026-07-15 12:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6477ddc8012d7f998005afdce00009011c2a..."} 
[2026-07-15 12:05:40] local.INFO: Processing buffer {"connection_id":134705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6477ddc8012d7f998005afdce00009011c2a..."} 
[2026-07-15 12:05:40] local.INFO: Packet analysis {"connection_id":134705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6477"} 
[2026-07-15 12:05:40] local.INFO: Extracted packet for processing {"connection_id":134705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6477"} 
[2026-07-15 12:05:40] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":9,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12: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-07-15 12:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728756224001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784097005000,"timestamp_ms":1784097005000,"timestamp_seconds":1784097005,"priority":1,"record_length":96,"hex_timestamp":"0000019f6477ddc8"} 
[2026-07-15 12:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:05:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 12:05:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12: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-07-15 12:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":134705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":134705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":134705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:05:40] 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-07-15 12:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728756224001,"66":25625,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728756224001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:05:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:05:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728756224001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":134705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:05:40] local.INFO: GPS data processed {"connection_id":134705,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:05:40] local.INFO: Acknowledgment sent {"connection_id":134705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:06:01] local.INFO: TCP Data received {"connection_id":133343,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:06:01] local.INFO: Processing buffer {"connection_id":133343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:06:01] local.INFO: IMEI packet received {"connection_id":133343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":133343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:06:04] local.INFO: TCP Data received {"connection_id":133342,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133342,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:06:04] local.INFO: Processing buffer {"connection_id":133342,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:06:04] local.INFO: IMEI packet received {"connection_id":133342,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 12:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":133342,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:06:06] local.INFO: TCP Data received {"connection_id":133343,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:06:06] local.INFO: Processing buffer {"connection_id":133343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:06:06] local.INFO: IMEI packet received {"connection_id":133343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":133343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:06:07] local.INFO: TCP Data received {"connection_id":133343,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f647c7590012d7f998005afdce00006011c29..."} 
[2026-07-15 12:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f647c7590012d7f998005afdce00006011c29..."} 
[2026-07-15 12:06:07] local.INFO: Processing buffer {"connection_id":133343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f647c7590012d7f998005afdce00006011c29..."} 
[2026-07-15 12:06:07] local.INFO: Packet analysis {"connection_id":133343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f647c"} 
[2026-07-15 12:06:07] local.INFO: Extracted packet for processing {"connection_id":133343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f647c"} 
[2026-07-15 12:06:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":6,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728833280001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784097306000,"timestamp_ms":1784097306000,"timestamp_seconds":1784097306,"priority":1,"record_length":96,"hex_timestamp":"0000019f647c7590"} 
[2026-07-15 12:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 12:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:06:07] 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-07-15 12:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728833280001,"66":25647,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728833280001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:06:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:06:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728833280001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":133343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:06:07] local.INFO: GPS data processed {"connection_id":133343,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:06:07] local.INFO: Acknowledgment sent {"connection_id":133343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:06:34] local.INFO: TCP Data received {"connection_id":134706,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134706,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:06:34] local.INFO: Processing buffer {"connection_id":134706,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:06:34] local.INFO: IMEI packet received {"connection_id":134706,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 12:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":134706,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:06:38] local.INFO: TCP Data received {"connection_id":133343,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f647c7590012d7f998005afdce00006011c29..."} 
[2026-07-15 12:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f647c7590012d7f998005afdce00006011c29..."} 
[2026-07-15 12:06:38] local.INFO: Processing buffer {"connection_id":133343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f647c7590012d7f998005afdce00006011c29..."} 
[2026-07-15 12:06:38] local.INFO: Packet analysis {"connection_id":133343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f647c"} 
[2026-07-15 12:06:38] local.INFO: Extracted packet for processing {"connection_id":133343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f647c"} 
[2026-07-15 12:06:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":6,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12: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-07-15 12:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728833280001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784097306000,"timestamp_ms":1784097306000,"timestamp_seconds":1784097306,"priority":1,"record_length":96,"hex_timestamp":"0000019f647c7590"} 
[2026-07-15 12:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 12:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12: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-07-15 12:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:06:38] 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-07-15 12:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728833280001,"66":25647,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728833280001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:06:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:06:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728833280001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":133343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:06:38] local.INFO: GPS data processed {"connection_id":133343,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:06:38] local.INFO: Acknowledgment sent {"connection_id":133343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:07:06] local.INFO: TCP Data received {"connection_id":132494,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:07:06] local.INFO: Processing buffer {"connection_id":132494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:07:06] local.INFO: IMEI packet received {"connection_id":132494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":132494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:07:11] local.INFO: TCP Data received {"connection_id":132494,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:07:11] local.INFO: Processing buffer {"connection_id":132494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:07:11] local.INFO: IMEI packet received {"connection_id":132494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":132494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:07:12] local.INFO: TCP Data received {"connection_id":132494,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f647c7590012d7f998005afdce00006011c29..."} 
[2026-07-15 12:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f647c7590012d7f998005afdce00006011c29..."} 
[2026-07-15 12:07:12] local.INFO: Processing buffer {"connection_id":132494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f647c7590012d7f998005afdce00006011c29..."} 
[2026-07-15 12:07:12] local.INFO: Packet analysis {"connection_id":132494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f647c"} 
[2026-07-15 12:07:12] local.INFO: Extracted packet for processing {"connection_id":132494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f647c"} 
[2026-07-15 12:07:12] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":6,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728833280001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:07:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:07:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784097306000,"timestamp_ms":1784097306000,"timestamp_seconds":1784097306,"priority":1,"record_length":96,"hex_timestamp":"0000019f647c7590"} 
[2026-07-15 12:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:07:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 12:07:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:07:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:07:12] 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-07-15 12:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728833280001,"66":25647,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728833280001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:07:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:07:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:07:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728833280001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":132494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:07:12] local.INFO: GPS data processed {"connection_id":132494,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:07:12] local.INFO: Acknowledgment sent {"connection_id":132494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:07:43] local.INFO: TCP Data received {"connection_id":132494,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f647c7590012d7f998005afdce00006011c29..."} 
[2026-07-15 12:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f647c7590012d7f998005afdce00006011c29..."} 
[2026-07-15 12:07:43] local.INFO: Processing buffer {"connection_id":132494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f647c7590012d7f998005afdce00006011c29..."} 
[2026-07-15 12:07:43] local.INFO: Packet analysis {"connection_id":132494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f647c"} 
[2026-07-15 12:07:43] local.INFO: Extracted packet for processing {"connection_id":132494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f647c"} 
[2026-07-15 12:07:43] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":6,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:07:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:07:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728833280001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:07:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:07:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:07:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:07:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784097306000,"timestamp_ms":1784097306000,"timestamp_seconds":1784097306,"priority":1,"record_length":96,"hex_timestamp":"0000019f647c7590"} 
[2026-07-15 12:07:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:07:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:07:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 12:07:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:07:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:07:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:07:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:07:43] local.INFO: Teltonika packet parsed successfully {"connection_id":132494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:07:43] local.INFO: Passing IMEI to GPS processor {"connection_id":132494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:07:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":132494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:07:43] 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-07-15 12:07:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:07:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:07:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728833280001,"66":25647,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:07:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:07:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:07:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728833280001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:07:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:07:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:07:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:07:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:07:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728833280001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:07:43] local.INFO: DEBUG: GPS processor result {"connection_id":132494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:07:43] local.INFO: GPS data processed {"connection_id":132494,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:07:43] local.INFO: Acknowledgment sent {"connection_id":132494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:08:01] local.INFO: TCP Data received {"connection_id":134707,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:08:01] local.INFO: Processing buffer {"connection_id":134707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:08:01] local.INFO: IMEI packet received {"connection_id":134707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":134707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:08:06] local.INFO: TCP Data received {"connection_id":134707,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:08:06] local.INFO: Processing buffer {"connection_id":134707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:08:06] local.INFO: IMEI packet received {"connection_id":134707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":134707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:08:07] local.INFO: TCP Data received {"connection_id":134707,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f647c7590012d7f998005afdce00006011c29..."} 
[2026-07-15 12:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f647c7590012d7f998005afdce00006011c29..."} 
[2026-07-15 12:08:07] local.INFO: Processing buffer {"connection_id":134707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f647c7590012d7f998005afdce00006011c29..."} 
[2026-07-15 12:08:07] local.INFO: Packet analysis {"connection_id":134707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f647c"} 
[2026-07-15 12:08:07] local.INFO: Extracted packet for processing {"connection_id":134707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f647c"} 
[2026-07-15 12:08:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":6,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728833280001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784097306000,"timestamp_ms":1784097306000,"timestamp_seconds":1784097306,"priority":1,"record_length":96,"hex_timestamp":"0000019f647c7590"} 
[2026-07-15 12:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 12:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12: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-07-15 12:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:08:07] 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-07-15 12:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728833280001,"66":25647,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728833280001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:08:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:08:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728833280001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":134707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:08:07] local.INFO: GPS data processed {"connection_id":134707,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:08:07] local.INFO: Acknowledgment sent {"connection_id":134707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:08:38] local.INFO: TCP Data received {"connection_id":134707,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f647c7590012d7f998005afdce00006011c29..."} 
[2026-07-15 12:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f647c7590012d7f998005afdce00006011c29..."} 
[2026-07-15 12:08:38] local.INFO: Processing buffer {"connection_id":134707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f647c7590012d7f998005afdce00006011c29..."} 
[2026-07-15 12:08:38] local.INFO: Packet analysis {"connection_id":134707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f647c"} 
[2026-07-15 12:08:38] local.INFO: Extracted packet for processing {"connection_id":134707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f647c"} 
[2026-07-15 12:08:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":6,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728833280001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784097306000,"timestamp_ms":1784097306000,"timestamp_seconds":1784097306,"priority":1,"record_length":96,"hex_timestamp":"0000019f647c7590"} 
[2026-07-15 12:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 12:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:08:38] 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-07-15 12:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728833280001,"66":25647,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728833280001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:08:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:08:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728833280001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":134707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:08:38] local.INFO: GPS data processed {"connection_id":134707,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:08:38] local.INFO: Acknowledgment sent {"connection_id":134707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:09:03] local.INFO: TCP Data received {"connection_id":132497,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:09:03] local.INFO: Processing buffer {"connection_id":132497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:09:03] local.INFO: IMEI packet received {"connection_id":132497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":132497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:09:06] local.INFO: TCP Data received {"connection_id":132497,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:09:06] local.INFO: Processing buffer {"connection_id":132497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:09:06] local.INFO: IMEI packet received {"connection_id":132497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":132497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:09:07] local.INFO: TCP Data received {"connection_id":132497,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f647c7590012d7f998005afdce00006011c29..."} 
[2026-07-15 12:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f647c7590012d7f998005afdce00006011c29..."} 
[2026-07-15 12:09:07] local.INFO: Processing buffer {"connection_id":132497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f647c7590012d7f998005afdce00006011c29..."} 
[2026-07-15 12:09:07] local.INFO: Packet analysis {"connection_id":132497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f647c"} 
[2026-07-15 12:09:07] local.INFO: Extracted packet for processing {"connection_id":132497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f647c"} 
[2026-07-15 12:09:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":6,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728833280001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784097306000,"timestamp_ms":1784097306000,"timestamp_seconds":1784097306,"priority":1,"record_length":96,"hex_timestamp":"0000019f647c7590"} 
[2026-07-15 12:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 12:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:09:07] 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-07-15 12:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728833280001,"66":25647,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728833280001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:09:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:09:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728833280001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":132497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:09:07] local.INFO: GPS data processed {"connection_id":132497,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:09:07] local.INFO: Acknowledgment sent {"connection_id":132497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:09:38] local.INFO: TCP Data received {"connection_id":132497,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f647c7590012d7f998005afdce00006011c29..."} 
[2026-07-15 12:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f647c7590012d7f998005afdce00006011c29..."} 
[2026-07-15 12:09:38] local.INFO: Processing buffer {"connection_id":132497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f647c7590012d7f998005afdce00006011c29..."} 
[2026-07-15 12:09:38] local.INFO: Packet analysis {"connection_id":132497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f647c"} 
[2026-07-15 12:09:38] local.INFO: Extracted packet for processing {"connection_id":132497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f647c"} 
[2026-07-15 12:09:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":6,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12: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-07-15 12:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728833280001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784097306000,"timestamp_ms":1784097306000,"timestamp_seconds":1784097306,"priority":1,"record_length":96,"hex_timestamp":"0000019f647c7590"} 
[2026-07-15 12:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 12:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12: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-07-15 12:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:09:38] 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-07-15 12:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728833280001,"66":25647,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728833280001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:09:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:09:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728833280001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":132497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:09:38] local.INFO: GPS data processed {"connection_id":132497,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:09:38] local.INFO: Acknowledgment sent {"connection_id":132497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:10:01] local.INFO: TCP Data received {"connection_id":132308,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:10:01] local.INFO: Processing buffer {"connection_id":132308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:10:01] local.INFO: IMEI packet received {"connection_id":132308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":132308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:10:06] local.INFO: TCP Data received {"connection_id":132308,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:10:06] local.INFO: Processing buffer {"connection_id":132308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:10:06] local.INFO: IMEI packet received {"connection_id":132308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":132308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:10:09] local.INFO: TCP Data received {"connection_id":132308,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f647c7590012d7f998005afdce00006011c29..."} 
[2026-07-15 12:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f647c7590012d7f998005afdce00006011c29..."} 
[2026-07-15 12:10:09] local.INFO: Processing buffer {"connection_id":132308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f647c7590012d7f998005afdce00006011c29..."} 
[2026-07-15 12:10:09] local.INFO: Packet analysis {"connection_id":132308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f647c"} 
[2026-07-15 12:10:09] local.INFO: Extracted packet for processing {"connection_id":132308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f647c"} 
[2026-07-15 12:10:09] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":6,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728833280001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784097306000,"timestamp_ms":1784097306000,"timestamp_seconds":1784097306,"priority":1,"record_length":96,"hex_timestamp":"0000019f647c7590"} 
[2026-07-15 12:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 12:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:10:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":132308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":132308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":132308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 12:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728833280001,"66":25647,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728833280001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:10:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:10:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728833280001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":132308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:10:09] local.INFO: GPS data processed {"connection_id":132308,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:10:09] local.INFO: Acknowledgment sent {"connection_id":132308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:10:40] local.INFO: TCP Data received {"connection_id":132308,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f647c7590012d7f998005afdce00006011c29..."} 
[2026-07-15 12:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f647c7590012d7f998005afdce00006011c29..."} 
[2026-07-15 12:10:40] local.INFO: Processing buffer {"connection_id":132308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f647c7590012d7f998005afdce00006011c29..."} 
[2026-07-15 12:10:40] local.INFO: Packet analysis {"connection_id":132308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f647c"} 
[2026-07-15 12:10:40] local.INFO: Extracted packet for processing {"connection_id":132308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f647c"} 
[2026-07-15 12:10:40] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":6,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12: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-07-15 12:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728833280001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:10:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:10:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784097306000,"timestamp_ms":1784097306000,"timestamp_seconds":1784097306,"priority":1,"record_length":96,"hex_timestamp":"0000019f647c7590"} 
[2026-07-15 12:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:10:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 12:10:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12: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-07-15 12:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:10:40] 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-07-15 12:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728833280001,"66":25647,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728833280001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:10:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:10:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:10:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728833280001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":132308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:10:40] local.INFO: GPS data processed {"connection_id":132308,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:10:40] local.INFO: Acknowledgment sent {"connection_id":132308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:11:06] local.INFO: TCP Data received {"connection_id":133345,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:11:06] local.INFO: Processing buffer {"connection_id":133345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:11:06] local.INFO: IMEI packet received {"connection_id":133345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":133345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:11:11] local.INFO: TCP Data received {"connection_id":133345,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:11:11] local.INFO: Processing buffer {"connection_id":133345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:11:11] local.INFO: IMEI packet received {"connection_id":133345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":133345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:11:12] local.INFO: TCP Data received {"connection_id":133345,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64810d58012d7f998005afdce00006011c28..."} 
[2026-07-15 12:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64810d58012d7f998005afdce00006011c28..."} 
[2026-07-15 12:11:12] local.INFO: Processing buffer {"connection_id":133345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64810d58012d7f998005afdce00006011c28..."} 
[2026-07-15 12:11:12] local.INFO: Packet analysis {"connection_id":133345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6481"} 
[2026-07-15 12:11:12] local.INFO: Extracted packet for processing {"connection_id":133345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6481"} 
[2026-07-15 12:11:12] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":6,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728910336001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784097607000,"timestamp_ms":1784097607000,"timestamp_seconds":1784097607,"priority":1,"record_length":96,"hex_timestamp":"0000019f64810d58"} 
[2026-07-15 12:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 12:11:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:11:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":133345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":133345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":133345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:11:12] 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-07-15 12:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728910336001,"66":25647,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 12:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728910336001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:11:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 12:11:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728910336001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":133345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:11:12] local.INFO: GPS data processed {"connection_id":133345,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:11:12] local.INFO: Acknowledgment sent {"connection_id":133345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:11:16] local.INFO: TCP Data received {"connection_id":133345,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64810d58012d7f998005afdce00006011c28..."} 
[2026-07-15 12:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64810d58012d7f998005afdce00006011c28..."} 
[2026-07-15 12:11:16] local.INFO: Processing buffer {"connection_id":133345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64810d58012d7f998005afdce00006011c28..."} 
[2026-07-15 12:11:16] local.INFO: Packet analysis {"connection_id":133345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6481"} 
[2026-07-15 12:11:16] local.INFO: Extracted packet for processing {"connection_id":133345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6481"} 
[2026-07-15 12:11:16] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":6,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728910336001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:11:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784097607000,"timestamp_ms":1784097607000,"timestamp_seconds":1784097607,"priority":1,"record_length":96,"hex_timestamp":"0000019f64810d58"} 
[2026-07-15 12:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:11:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 12:11:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:11:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":133345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":133345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":133345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:11:16] 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-07-15 12:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728910336001,"66":25647,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 12:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728910336001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:11:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 12:11:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728910336001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":133345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:11:16] local.INFO: GPS data processed {"connection_id":133345,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:11:16] local.INFO: Acknowledgment sent {"connection_id":133345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:11:54] local.INFO: TCP Data received {"connection_id":132309,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132309,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:11:54] local.INFO: Processing buffer {"connection_id":132309,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:11:54] local.INFO: IMEI packet received {"connection_id":132309,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 12:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":132309,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:12:03] local.INFO: TCP Data received {"connection_id":132310,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:12:03] local.INFO: Processing buffer {"connection_id":132310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:12:03] local.INFO: IMEI packet received {"connection_id":132310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":132310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:12:07] local.INFO: TCP Data received {"connection_id":132310,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:12:07] local.INFO: Processing buffer {"connection_id":132310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:12:07] local.INFO: IMEI packet received {"connection_id":132310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":132310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:12:11] local.INFO: TCP Data received {"connection_id":132310,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64810d58012d7f998005afdce00006011c28..."} 
[2026-07-15 12:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64810d58012d7f998005afdce00006011c28..."} 
[2026-07-15 12:12:11] local.INFO: Processing buffer {"connection_id":132310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64810d58012d7f998005afdce00006011c28..."} 
[2026-07-15 12:12:11] local.INFO: Packet analysis {"connection_id":132310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6481"} 
[2026-07-15 12:12:11] local.INFO: Extracted packet for processing {"connection_id":132310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6481"} 
[2026-07-15 12:12:11] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":6,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728910336001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784097607000,"timestamp_ms":1784097607000,"timestamp_seconds":1784097607,"priority":1,"record_length":96,"hex_timestamp":"0000019f64810d58"} 
[2026-07-15 12:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 12:12:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:12:11] 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-07-15 12:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728910336001,"66":25647,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 12:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728910336001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:12:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 12:12:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728910336001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":132310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:12:11] local.INFO: GPS data processed {"connection_id":132310,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:12:11] local.INFO: Acknowledgment sent {"connection_id":132310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:12:12] local.INFO: TCP Data received {"connection_id":132310,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64810d58012d7f998005afdce00006011c28..."} 
[2026-07-15 12:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64810d58012d7f998005afdce00006011c28..."} 
[2026-07-15 12:12:12] local.INFO: Processing buffer {"connection_id":132310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64810d58012d7f998005afdce00006011c28..."} 
[2026-07-15 12:12:12] local.INFO: Packet analysis {"connection_id":132310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6481"} 
[2026-07-15 12:12:12] local.INFO: Extracted packet for processing {"connection_id":132310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6481"} 
[2026-07-15 12:12:12] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":6,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728910336001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784097607000,"timestamp_ms":1784097607000,"timestamp_seconds":1784097607,"priority":1,"record_length":96,"hex_timestamp":"0000019f64810d58"} 
[2026-07-15 12:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 12:12:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:12:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:12:12] 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-07-15 12:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728910336001,"66":25647,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 12:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728910336001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:12:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 12:12:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:12:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728910336001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":132310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:12:12] local.INFO: GPS data processed {"connection_id":132310,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:12:12] local.INFO: Acknowledgment sent {"connection_id":132310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:12:35] local.INFO: TCP Data received {"connection_id":132311,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132311,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:12:35] local.INFO: Processing buffer {"connection_id":132311,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:12:35] local.INFO: IMEI packet received {"connection_id":132311,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 12:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":132311,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:12:43] local.INFO: TCP Data received {"connection_id":132310,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64810d58012d7f998005afdce00006011c28..."} 
[2026-07-15 12:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64810d58012d7f998005afdce00006011c28..."} 
[2026-07-15 12:12:43] local.INFO: Processing buffer {"connection_id":132310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64810d58012d7f998005afdce00006011c28..."} 
[2026-07-15 12:12:43] local.INFO: Packet analysis {"connection_id":132310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6481"} 
[2026-07-15 12:12:43] local.INFO: Extracted packet for processing {"connection_id":132310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6481"} 
[2026-07-15 12:12:43] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":6,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12: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-07-15 12:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728910336001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:12:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:12:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784097607000,"timestamp_ms":1784097607000,"timestamp_seconds":1784097607,"priority":1,"record_length":96,"hex_timestamp":"0000019f64810d58"} 
[2026-07-15 12:12:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:12:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 12:12:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12: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-07-15 12:12:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":132310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":132310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":132310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:12:43] 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-07-15 12:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728910336001,"66":25647,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 12:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728910336001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:12:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 12:12:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:12:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728910336001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":132310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:12:43] local.INFO: GPS data processed {"connection_id":132310,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:12:43] local.INFO: Acknowledgment sent {"connection_id":132310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:13:01] local.INFO: TCP Data received {"connection_id":132312,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:13:01] local.INFO: Processing buffer {"connection_id":132312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:13:01] local.INFO: IMEI packet received {"connection_id":132312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":132312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:13:06] local.INFO: TCP Data received {"connection_id":132312,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:13:06] local.INFO: Processing buffer {"connection_id":132312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:13:06] local.INFO: IMEI packet received {"connection_id":132312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":132312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:13:07] local.INFO: TCP Data received {"connection_id":132312,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64810d58012d7f998005afdce00006011c28..."} 
[2026-07-15 12:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64810d58012d7f998005afdce00006011c28..."} 
[2026-07-15 12:13:07] local.INFO: Processing buffer {"connection_id":132312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64810d58012d7f998005afdce00006011c28..."} 
[2026-07-15 12:13:07] local.INFO: Packet analysis {"connection_id":132312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6481"} 
[2026-07-15 12:13:07] local.INFO: Extracted packet for processing {"connection_id":132312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6481"} 
[2026-07-15 12:13:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":6,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728910336001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784097607000,"timestamp_ms":1784097607000,"timestamp_seconds":1784097607,"priority":1,"record_length":96,"hex_timestamp":"0000019f64810d58"} 
[2026-07-15 12:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 12:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:13:07] 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-07-15 12:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728910336001,"66":25647,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 12:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728910336001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:13:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 12:13:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728910336001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":132312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:13:07] local.INFO: GPS data processed {"connection_id":132312,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:13:07] local.INFO: Acknowledgment sent {"connection_id":132312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:13:38] local.INFO: TCP Data received {"connection_id":132312,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64810d58012d7f998005afdce00006011c28..."} 
[2026-07-15 12:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64810d58012d7f998005afdce00006011c28..."} 
[2026-07-15 12:13:38] local.INFO: Processing buffer {"connection_id":132312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64810d58012d7f998005afdce00006011c28..."} 
[2026-07-15 12:13:38] local.INFO: Packet analysis {"connection_id":132312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6481"} 
[2026-07-15 12:13:38] local.INFO: Extracted packet for processing {"connection_id":132312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6481"} 
[2026-07-15 12:13:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":6,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12: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-07-15 12:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728910336001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784097607000,"timestamp_ms":1784097607000,"timestamp_seconds":1784097607,"priority":1,"record_length":96,"hex_timestamp":"0000019f64810d58"} 
[2026-07-15 12:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 12:13:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12: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-07-15 12:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:13:38] 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-07-15 12:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728910336001,"66":25647,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 12:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728910336001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:13:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 12:13:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728910336001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":132312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:13:38] local.INFO: GPS data processed {"connection_id":132312,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:13:38] local.INFO: Acknowledgment sent {"connection_id":132312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:14:02] local.INFO: TCP Data received {"connection_id":133346,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:14:02] local.INFO: Processing buffer {"connection_id":133346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:14:02] local.INFO: IMEI packet received {"connection_id":133346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":133346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:14:06] local.INFO: TCP Data received {"connection_id":133346,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:14:06] local.INFO: Processing buffer {"connection_id":133346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:14:06] local.INFO: IMEI packet received {"connection_id":133346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":133346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:14:07] local.INFO: TCP Data received {"connection_id":133346,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64810d58012d7f998005afdce00006011c28..."} 
[2026-07-15 12:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64810d58012d7f998005afdce00006011c28..."} 
[2026-07-15 12:14:07] local.INFO: Processing buffer {"connection_id":133346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64810d58012d7f998005afdce00006011c28..."} 
[2026-07-15 12:14:07] local.INFO: Packet analysis {"connection_id":133346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6481"} 
[2026-07-15 12:14:07] local.INFO: Extracted packet for processing {"connection_id":133346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6481"} 
[2026-07-15 12:14:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":6,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12: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-07-15 12:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728910336001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784097607000,"timestamp_ms":1784097607000,"timestamp_seconds":1784097607,"priority":1,"record_length":96,"hex_timestamp":"0000019f64810d58"} 
[2026-07-15 12:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 12:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12: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-07-15 12:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:14:07] 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-07-15 12:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728910336001,"66":25647,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 12:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728910336001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:14:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 12:14:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728910336001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":133346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:14:07] local.INFO: GPS data processed {"connection_id":133346,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:14:07] local.INFO: Acknowledgment sent {"connection_id":133346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:14:38] local.INFO: TCP Data received {"connection_id":133346,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64810d58012d7f998005afdce00006011c28..."} 
[2026-07-15 12:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64810d58012d7f998005afdce00006011c28..."} 
[2026-07-15 12:14:38] local.INFO: Processing buffer {"connection_id":133346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64810d58012d7f998005afdce00006011c28..."} 
[2026-07-15 12:14:38] local.INFO: Packet analysis {"connection_id":133346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6481"} 
[2026-07-15 12:14:38] local.INFO: Extracted packet for processing {"connection_id":133346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6481"} 
[2026-07-15 12:14:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":6,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728910336001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784097607000,"timestamp_ms":1784097607000,"timestamp_seconds":1784097607,"priority":1,"record_length":96,"hex_timestamp":"0000019f64810d58"} 
[2026-07-15 12:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 12:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:14:38] 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-07-15 12:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728910336001,"66":25647,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 12:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728910336001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:14:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 12:14:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728910336001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":133346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:14:38] local.INFO: GPS data processed {"connection_id":133346,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:14:38] local.INFO: Acknowledgment sent {"connection_id":133346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:15:01] local.INFO: TCP Data received {"connection_id":134709,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:15:01] local.INFO: Processing buffer {"connection_id":134709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:15:01] local.INFO: IMEI packet received {"connection_id":134709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":134709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:15:06] local.INFO: TCP Data received {"connection_id":134709,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:15:06] local.INFO: Processing buffer {"connection_id":134709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:15:06] local.INFO: IMEI packet received {"connection_id":134709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":134709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:15:07] local.INFO: TCP Data received {"connection_id":134709,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64810d58012d7f998005afdce00006011c28..."} 
[2026-07-15 12:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64810d58012d7f998005afdce00006011c28..."} 
[2026-07-15 12:15:07] local.INFO: Processing buffer {"connection_id":134709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64810d58012d7f998005afdce00006011c28..."} 
[2026-07-15 12:15:07] local.INFO: Packet analysis {"connection_id":134709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6481"} 
[2026-07-15 12:15:07] local.INFO: Extracted packet for processing {"connection_id":134709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6481"} 
[2026-07-15 12:15:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":6,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728910336001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784097607000,"timestamp_ms":1784097607000,"timestamp_seconds":1784097607,"priority":1,"record_length":96,"hex_timestamp":"0000019f64810d58"} 
[2026-07-15 12:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 12:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:15:07] 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-07-15 12:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728910336001,"66":25647,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 12:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728910336001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:15:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 12:15:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728910336001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":134709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:15:07] local.INFO: GPS data processed {"connection_id":134709,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:15:07] local.INFO: Acknowledgment sent {"connection_id":134709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:15:38] local.INFO: TCP Data received {"connection_id":134709,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64810d58012d7f998005afdce00006011c28..."} 
[2026-07-15 12:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64810d58012d7f998005afdce00006011c28..."} 
[2026-07-15 12:15:38] local.INFO: Processing buffer {"connection_id":134709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64810d58012d7f998005afdce00006011c28..."} 
[2026-07-15 12:15:38] local.INFO: Packet analysis {"connection_id":134709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6481"} 
[2026-07-15 12:15:38] local.INFO: Extracted packet for processing {"connection_id":134709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6481"} 
[2026-07-15 12:15:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":6,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12: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-07-15 12:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728910336001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784097607000,"timestamp_ms":1784097607000,"timestamp_seconds":1784097607,"priority":1,"record_length":96,"hex_timestamp":"0000019f64810d58"} 
[2026-07-15 12:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 12:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12: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-07-15 12:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:15:38] 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-07-15 12:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728910336001,"66":25647,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 12:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728910336001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:15:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 12:15:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728910336001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":134709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:15:38] local.INFO: GPS data processed {"connection_id":134709,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:15:38] local.INFO: Acknowledgment sent {"connection_id":134709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:16:06] local.INFO: TCP Data received {"connection_id":133347,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:16:06] local.INFO: Processing buffer {"connection_id":133347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:16:06] local.INFO: IMEI packet received {"connection_id":133347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":133347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:16:11] local.INFO: TCP Data received {"connection_id":133347,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:16:11] local.INFO: Processing buffer {"connection_id":133347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:16:11] local.INFO: IMEI packet received {"connection_id":133347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":133347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:16:12] local.INFO: TCP Data received {"connection_id":133347,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f6485a520012d7f998005afdce00006011c2b..."} 
[2026-07-15 12:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6485a520012d7f998005afdce00006011c2b..."} 
[2026-07-15 12:16:13] local.INFO: Processing buffer {"connection_id":133347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6485a520012d7f998005afdce00006011c2b..."} 
[2026-07-15 12:16:13] local.INFO: Packet analysis {"connection_id":133347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6485"} 
[2026-07-15 12:16:13] local.INFO: Extracted packet for processing {"connection_id":133347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6485"} 
[2026-07-15 12:16:13] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":6,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728987392001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:16:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:16:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784097908000,"timestamp_ms":1784097908000,"timestamp_seconds":1784097908,"priority":1,"record_length":96,"hex_timestamp":"0000019f6485a520"} 
[2026-07-15 12:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:16:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 12:16:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:16:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":133347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":133347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":133347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:16:13] 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-07-15 12:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728987392001,"66":25647,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 12:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728987392001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:16:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 12:16:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:16:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728987392001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":133347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:16:13] local.INFO: GPS data processed {"connection_id":133347,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:16:13] local.INFO: Acknowledgment sent {"connection_id":133347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:16:16] local.INFO: TCP Data received {"connection_id":133347,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f6485a520012d7f998005afdce00006011c2b..."} 
[2026-07-15 12:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6485a520012d7f998005afdce00006011c2b..."} 
[2026-07-15 12:16:16] local.INFO: Processing buffer {"connection_id":133347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6485a520012d7f998005afdce00006011c2b..."} 
[2026-07-15 12:16:16] local.INFO: Packet analysis {"connection_id":133347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6485"} 
[2026-07-15 12:16:16] local.INFO: Extracted packet for processing {"connection_id":133347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6485"} 
[2026-07-15 12:16:16] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":6,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728987392001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:16:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784097908000,"timestamp_ms":1784097908000,"timestamp_seconds":1784097908,"priority":1,"record_length":96,"hex_timestamp":"0000019f6485a520"} 
[2026-07-15 12:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:16:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 12:16:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:16:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":133347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":133347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":133347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:16:16] 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-07-15 12:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728987392001,"66":25647,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 12:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728987392001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:16:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 12:16:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728987392001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":133347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:16:16] local.INFO: GPS data processed {"connection_id":133347,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:16:16] local.INFO: Acknowledgment sent {"connection_id":133347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:17:01] local.INFO: TCP Data received {"connection_id":132313,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:17:01] local.INFO: Processing buffer {"connection_id":132313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:17:01] local.INFO: IMEI packet received {"connection_id":132313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":132313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:17:06] local.INFO: TCP Data received {"connection_id":132313,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:17:06] local.INFO: Processing buffer {"connection_id":132313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:17:06] local.INFO: IMEI packet received {"connection_id":132313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":132313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:17:08] local.INFO: TCP Data received {"connection_id":132313,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f6485a520012d7f998005afdce00006011c2b..."} 
[2026-07-15 12:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6485a520012d7f998005afdce00006011c2b..."} 
[2026-07-15 12:17:08] local.INFO: Processing buffer {"connection_id":132313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6485a520012d7f998005afdce00006011c2b..."} 
[2026-07-15 12:17:08] local.INFO: Packet analysis {"connection_id":132313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6485"} 
[2026-07-15 12:17:08] local.INFO: Extracted packet for processing {"connection_id":132313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6485"} 
[2026-07-15 12:17:08] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":6,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728987392001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784097908000,"timestamp_ms":1784097908000,"timestamp_seconds":1784097908,"priority":1,"record_length":96,"hex_timestamp":"0000019f6485a520"} 
[2026-07-15 12:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 12:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:17:08] 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-07-15 12:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728987392001,"66":25647,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 12:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728987392001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:17:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 12:17:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728987392001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":132313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:17:08] local.INFO: GPS data processed {"connection_id":132313,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:17:08] local.INFO: Acknowledgment sent {"connection_id":132313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:17:39] local.INFO: TCP Data received {"connection_id":132313,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f6485a520012d7f998005afdce00006011c2b..."} 
[2026-07-15 12:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6485a520012d7f998005afdce00006011c2b..."} 
[2026-07-15 12:17:39] local.INFO: Processing buffer {"connection_id":132313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6485a520012d7f998005afdce00006011c2b..."} 
[2026-07-15 12:17:39] local.INFO: Packet analysis {"connection_id":132313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6485"} 
[2026-07-15 12:17:39] local.INFO: Extracted packet for processing {"connection_id":132313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6485"} 
[2026-07-15 12:17:39] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":6,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728987392001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784097908000,"timestamp_ms":1784097908000,"timestamp_seconds":1784097908,"priority":1,"record_length":96,"hex_timestamp":"0000019f6485a520"} 
[2026-07-15 12:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 12:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:17:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:17: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-07-15 12:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728987392001,"66":25647,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 12:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728987392001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:17:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 12:17:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728987392001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":132313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:17:39] local.INFO: GPS data processed {"connection_id":132313,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:17:39] local.INFO: Acknowledgment sent {"connection_id":132313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:17:59] local.INFO: TCP Data received {"connection_id":134710,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134710,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:17:59] local.INFO: Processing buffer {"connection_id":134710,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:17:59] local.INFO: IMEI packet received {"connection_id":134710,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 12:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":134710,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:18:01] local.INFO: TCP Data received {"connection_id":132501,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:18:01] local.INFO: Processing buffer {"connection_id":132501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:18:01] local.INFO: IMEI packet received {"connection_id":132501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":132501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:18:06] local.INFO: TCP Data received {"connection_id":132501,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:18:06] local.INFO: Processing buffer {"connection_id":132501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:18:06] local.INFO: IMEI packet received {"connection_id":132501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":132501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:18:07] local.INFO: TCP Data received {"connection_id":132501,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f6485a520012d7f998005afdce00006011c2b..."} 
[2026-07-15 12:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6485a520012d7f998005afdce00006011c2b..."} 
[2026-07-15 12:18:07] local.INFO: Processing buffer {"connection_id":132501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6485a520012d7f998005afdce00006011c2b..."} 
[2026-07-15 12:18:07] local.INFO: Packet analysis {"connection_id":132501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6485"} 
[2026-07-15 12:18:07] local.INFO: Extracted packet for processing {"connection_id":132501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6485"} 
[2026-07-15 12:18:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":6,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728987392001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784097908000,"timestamp_ms":1784097908000,"timestamp_seconds":1784097908,"priority":1,"record_length":96,"hex_timestamp":"0000019f6485a520"} 
[2026-07-15 12:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 12:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:18:07] 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-07-15 12:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728987392001,"66":25647,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 12:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728987392001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:18:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 12:18:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728987392001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":132501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:18:07] local.INFO: GPS data processed {"connection_id":132501,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:18:07] local.INFO: Acknowledgment sent {"connection_id":132501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:18:34] local.INFO: TCP Data received {"connection_id":134711,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134711,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:18:34] local.INFO: Processing buffer {"connection_id":134711,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:18:34] local.INFO: IMEI packet received {"connection_id":134711,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 12:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":134711,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:18:39] local.INFO: TCP Data received {"connection_id":132501,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f6485a520012d7f998005afdce00006011c2b..."} 
[2026-07-15 12:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6485a520012d7f998005afdce00006011c2b..."} 
[2026-07-15 12:18:39] local.INFO: Processing buffer {"connection_id":132501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6485a520012d7f998005afdce00006011c2b..."} 
[2026-07-15 12:18:39] local.INFO: Packet analysis {"connection_id":132501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6485"} 
[2026-07-15 12:18:39] local.INFO: Extracted packet for processing {"connection_id":132501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6485"} 
[2026-07-15 12:18:39] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":6,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728987392001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784097908000,"timestamp_ms":1784097908000,"timestamp_seconds":1784097908,"priority":1,"record_length":96,"hex_timestamp":"0000019f6485a520"} 
[2026-07-15 12:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:18:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 12:18:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:18:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:18: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-07-15 12:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728987392001,"66":25647,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 12:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728987392001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:18:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 12:18:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728987392001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":132501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:18:39] local.INFO: GPS data processed {"connection_id":132501,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:18:39] local.INFO: Acknowledgment sent {"connection_id":132501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:19:01] local.INFO: TCP Data received {"connection_id":132314,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:19:01] local.INFO: Processing buffer {"connection_id":132314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:19:01] local.INFO: IMEI packet received {"connection_id":132314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":132314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:19:06] local.INFO: TCP Data received {"connection_id":132314,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:19:06] local.INFO: Processing buffer {"connection_id":132314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:19:06] local.INFO: IMEI packet received {"connection_id":132314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":132314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:19:07] local.INFO: TCP Data received {"connection_id":132314,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f6485a520012d7f998005afdce00006011c2b..."} 
[2026-07-15 12:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6485a520012d7f998005afdce00006011c2b..."} 
[2026-07-15 12:19:07] local.INFO: Processing buffer {"connection_id":132314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6485a520012d7f998005afdce00006011c2b..."} 
[2026-07-15 12:19:07] local.INFO: Packet analysis {"connection_id":132314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6485"} 
[2026-07-15 12:19:07] local.INFO: Extracted packet for processing {"connection_id":132314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6485"} 
[2026-07-15 12:19:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":6,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728987392001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784097908000,"timestamp_ms":1784097908000,"timestamp_seconds":1784097908,"priority":1,"record_length":96,"hex_timestamp":"0000019f6485a520"} 
[2026-07-15 12:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 12:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:19:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:19:07] 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-07-15 12:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728987392001,"66":25647,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 12:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728987392001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:19:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 12:19:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728987392001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":132314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:19:07] local.INFO: GPS data processed {"connection_id":132314,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:19:07] local.INFO: Acknowledgment sent {"connection_id":132314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:19:39] local.INFO: TCP Data received {"connection_id":132314,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f6485a520012d7f998005afdce00006011c2b..."} 
[2026-07-15 12:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6485a520012d7f998005afdce00006011c2b..."} 
[2026-07-15 12:19:39] local.INFO: Processing buffer {"connection_id":132314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6485a520012d7f998005afdce00006011c2b..."} 
[2026-07-15 12:19:39] local.INFO: Packet analysis {"connection_id":132314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6485"} 
[2026-07-15 12:19:39] local.INFO: Extracted packet for processing {"connection_id":132314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6485"} 
[2026-07-15 12:19:39] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":6,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12: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-07-15 12:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728987392001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:19:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784097908000,"timestamp_ms":1784097908000,"timestamp_seconds":1784097908,"priority":1,"record_length":96,"hex_timestamp":"0000019f6485a520"} 
[2026-07-15 12:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:19:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 12:19:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12: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-07-15 12:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:19: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-07-15 12:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728987392001,"66":25647,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 12:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728987392001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:19:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 12:19:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728987392001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":132314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:19:39] local.INFO: GPS data processed {"connection_id":132314,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:19:39] local.INFO: Acknowledgment sent {"connection_id":132314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:20:01] local.INFO: TCP Data received {"connection_id":134712,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:20:01] local.INFO: Processing buffer {"connection_id":134712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:20:01] local.INFO: IMEI packet received {"connection_id":134712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":134712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:20:06] local.INFO: TCP Data received {"connection_id":134712,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:20:06] local.INFO: Processing buffer {"connection_id":134712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:20:06] local.INFO: IMEI packet received {"connection_id":134712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":134712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:20:07] local.INFO: TCP Data received {"connection_id":134712,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f6485a520012d7f998005afdce00006011c2b..."} 
[2026-07-15 12:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6485a520012d7f998005afdce00006011c2b..."} 
[2026-07-15 12:20:07] local.INFO: Processing buffer {"connection_id":134712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6485a520012d7f998005afdce00006011c2b..."} 
[2026-07-15 12:20:07] local.INFO: Packet analysis {"connection_id":134712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6485"} 
[2026-07-15 12:20:07] local.INFO: Extracted packet for processing {"connection_id":134712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6485"} 
[2026-07-15 12:20:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":6,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728987392001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784097908000,"timestamp_ms":1784097908000,"timestamp_seconds":1784097908,"priority":1,"record_length":96,"hex_timestamp":"0000019f6485a520"} 
[2026-07-15 12:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 12:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:20:07] 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-07-15 12:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728987392001,"66":25647,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 12:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728987392001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:20:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 12:20:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728987392001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":134712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:20:07] local.INFO: GPS data processed {"connection_id":134712,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:20:07] local.INFO: Acknowledgment sent {"connection_id":134712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:20:38] local.INFO: TCP Data received {"connection_id":134712,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f6485a520012d7f998005afdce00006011c2b..."} 
[2026-07-15 12:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6485a520012d7f998005afdce00006011c2b..."} 
[2026-07-15 12:20:38] local.INFO: Processing buffer {"connection_id":134712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6485a520012d7f998005afdce00006011c2b..."} 
[2026-07-15 12:20:38] local.INFO: Packet analysis {"connection_id":134712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6485"} 
[2026-07-15 12:20:38] local.INFO: Extracted packet for processing {"connection_id":134712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6485"} 
[2026-07-15 12:20:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":6,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12: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-07-15 12:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456728987392001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784097908000,"timestamp_ms":1784097908000,"timestamp_seconds":1784097908,"priority":1,"record_length":96,"hex_timestamp":"0000019f6485a520"} 
[2026-07-15 12:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 12:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12: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-07-15 12:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:20:38] 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-07-15 12:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456728987392001,"66":25647,"27":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 12:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456728987392001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:20:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 12:20:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456728987392001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":134712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:20:38] local.INFO: GPS data processed {"connection_id":134712,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:20:38] local.INFO: Acknowledgment sent {"connection_id":134712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:21:07] local.INFO: TCP Data received {"connection_id":132503,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:21:07] local.INFO: Processing buffer {"connection_id":132503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:21:07] local.INFO: IMEI packet received {"connection_id":132503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":132503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:21:11] local.INFO: TCP Data received {"connection_id":132503,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:21:11] local.INFO: Processing buffer {"connection_id":132503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:21:11] local.INFO: IMEI packet received {"connection_id":132503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":132503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:21:12] local.INFO: TCP Data received {"connection_id":132503,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f648a3ce8012d7f998005afdce00006011c2c..."} 
[2026-07-15 12:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f648a3ce8012d7f998005afdce00006011c2c..."} 
[2026-07-15 12:21:12] local.INFO: Processing buffer {"connection_id":132503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f648a3ce8012d7f998005afdce00006011c2c..."} 
[2026-07-15 12:21:12] local.INFO: Packet analysis {"connection_id":132503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f648a"} 
[2026-07-15 12:21:12] local.INFO: Extracted packet for processing {"connection_id":132503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f648a"} 
[2026-07-15 12:21:12] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":6,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729064448001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784098209000,"timestamp_ms":1784098209000,"timestamp_seconds":1784098209,"priority":1,"record_length":96,"hex_timestamp":"0000019f648a3ce8"} 
[2026-07-15 12:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 12:21:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:21:12] 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-07-15 12:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729064448001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729064448001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:21:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:21:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729064448001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":132503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:21:12] local.INFO: GPS data processed {"connection_id":132503,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:21:12] local.INFO: Acknowledgment sent {"connection_id":132503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:21:17] local.INFO: TCP Data received {"connection_id":132503,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f648a3ce8012d7f998005afdce00006011c2c..."} 
[2026-07-15 12:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f648a3ce8012d7f998005afdce00006011c2c..."} 
[2026-07-15 12:21:17] local.INFO: Processing buffer {"connection_id":132503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f648a3ce8012d7f998005afdce00006011c2c..."} 
[2026-07-15 12:21:17] local.INFO: Packet analysis {"connection_id":132503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f648a"} 
[2026-07-15 12:21:17] local.INFO: Extracted packet for processing {"connection_id":132503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f648a"} 
[2026-07-15 12:21:17] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":6,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729064448001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:21:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784098209000,"timestamp_ms":1784098209000,"timestamp_seconds":1784098209,"priority":1,"record_length":96,"hex_timestamp":"0000019f648a3ce8"} 
[2026-07-15 12:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:21:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 12:21:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:21:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 12:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729064448001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729064448001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:21:17] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:21:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729064448001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":132503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:21:17] local.INFO: GPS data processed {"connection_id":132503,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:21:17] local.INFO: Acknowledgment sent {"connection_id":132503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:22:01] local.INFO: TCP Data received {"connection_id":134714,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:22:01] local.INFO: Processing buffer {"connection_id":134714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:22:01] local.INFO: IMEI packet received {"connection_id":134714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":134714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:22:06] local.INFO: TCP Data received {"connection_id":134714,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:22:06] local.INFO: Processing buffer {"connection_id":134714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:22:06] local.INFO: IMEI packet received {"connection_id":134714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":134714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:22:07] local.INFO: TCP Data received {"connection_id":134714,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f648a3ce8012d7f998005afdce00006011c2c..."} 
[2026-07-15 12:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f648a3ce8012d7f998005afdce00006011c2c..."} 
[2026-07-15 12:22:07] local.INFO: Processing buffer {"connection_id":134714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f648a3ce8012d7f998005afdce00006011c2c..."} 
[2026-07-15 12:22:07] local.INFO: Packet analysis {"connection_id":134714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f648a"} 
[2026-07-15 12:22:07] local.INFO: Extracted packet for processing {"connection_id":134714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f648a"} 
[2026-07-15 12:22:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":6,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729064448001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784098209000,"timestamp_ms":1784098209000,"timestamp_seconds":1784098209,"priority":1,"record_length":96,"hex_timestamp":"0000019f648a3ce8"} 
[2026-07-15 12:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 12:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:22:07] 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-07-15 12:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729064448001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729064448001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:22:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:22:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729064448001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":134714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:22:07] local.INFO: GPS data processed {"connection_id":134714,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:22:07] local.INFO: Acknowledgment sent {"connection_id":134714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:22:38] local.INFO: TCP Data received {"connection_id":134714,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f648a3ce8012d7f998005afdce00006011c2c..."} 
[2026-07-15 12:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f648a3ce8012d7f998005afdce00006011c2c..."} 
[2026-07-15 12:22:38] local.INFO: Processing buffer {"connection_id":134714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f648a3ce8012d7f998005afdce00006011c2c..."} 
[2026-07-15 12:22:38] local.INFO: Packet analysis {"connection_id":134714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f648a"} 
[2026-07-15 12:22:38] local.INFO: Extracted packet for processing {"connection_id":134714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f648a"} 
[2026-07-15 12:22:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":6,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729064448001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784098209000,"timestamp_ms":1784098209000,"timestamp_seconds":1784098209,"priority":1,"record_length":96,"hex_timestamp":"0000019f648a3ce8"} 
[2026-07-15 12:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 12:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:22:38] 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-07-15 12:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729064448001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729064448001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:22:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:22:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729064448001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":134714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:22:38] local.INFO: GPS data processed {"connection_id":134714,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:22:38] local.INFO: Acknowledgment sent {"connection_id":134714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:23:01] local.INFO: TCP Data received {"connection_id":133349,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:23:01] local.INFO: Processing buffer {"connection_id":133349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:23:01] local.INFO: IMEI packet received {"connection_id":133349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":133349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:23:06] local.INFO: TCP Data received {"connection_id":133349,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:23:06] local.INFO: Processing buffer {"connection_id":133349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:23:06] local.INFO: IMEI packet received {"connection_id":133349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":133349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:23:07] local.INFO: TCP Data received {"connection_id":133349,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f648a3ce8012d7f998005afdce00006011c2c..."} 
[2026-07-15 12:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f648a3ce8012d7f998005afdce00006011c2c..."} 
[2026-07-15 12:23:07] local.INFO: Processing buffer {"connection_id":133349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f648a3ce8012d7f998005afdce00006011c2c..."} 
[2026-07-15 12:23:07] local.INFO: Packet analysis {"connection_id":133349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f648a"} 
[2026-07-15 12:23:07] local.INFO: Extracted packet for processing {"connection_id":133349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f648a"} 
[2026-07-15 12:23:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":6,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729064448001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784098209000,"timestamp_ms":1784098209000,"timestamp_seconds":1784098209,"priority":1,"record_length":96,"hex_timestamp":"0000019f648a3ce8"} 
[2026-07-15 12:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 12:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:23:07] 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-07-15 12:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729064448001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729064448001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:23:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:23:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729064448001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":133349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:23:07] local.INFO: GPS data processed {"connection_id":133349,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:23:07] local.INFO: Acknowledgment sent {"connection_id":133349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:23:39] local.INFO: TCP Data received {"connection_id":133349,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f648a3ce8012d7f998005afdce00006011c2c..."} 
[2026-07-15 12:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f648a3ce8012d7f998005afdce00006011c2c..."} 
[2026-07-15 12:23:39] local.INFO: Processing buffer {"connection_id":133349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f648a3ce8012d7f998005afdce00006011c2c..."} 
[2026-07-15 12:23:39] local.INFO: Packet analysis {"connection_id":133349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f648a"} 
[2026-07-15 12:23:39] local.INFO: Extracted packet for processing {"connection_id":133349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f648a"} 
[2026-07-15 12:23:39] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":6,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729064448001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784098209000,"timestamp_ms":1784098209000,"timestamp_seconds":1784098209,"priority":1,"record_length":96,"hex_timestamp":"0000019f648a3ce8"} 
[2026-07-15 12:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 12:23:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:23: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-07-15 12:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729064448001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729064448001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:23:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:23:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729064448001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":133349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:23:39] local.INFO: GPS data processed {"connection_id":133349,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:23:39] local.INFO: Acknowledgment sent {"connection_id":133349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:23:59] local.INFO: TCP Data received {"connection_id":133350,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133350,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:23:59] local.INFO: Processing buffer {"connection_id":133350,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:23:59] local.INFO: IMEI packet received {"connection_id":133350,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 12:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":133350,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:24:01] local.INFO: TCP Data received {"connection_id":132505,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:24:01] local.INFO: Processing buffer {"connection_id":132505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:24:01] local.INFO: IMEI packet received {"connection_id":132505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":132505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:24:06] local.INFO: TCP Data received {"connection_id":132505,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:24:06] local.INFO: Processing buffer {"connection_id":132505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:24:06] local.INFO: IMEI packet received {"connection_id":132505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":132505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:24:07] local.INFO: TCP Data received {"connection_id":132505,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f648a3ce8012d7f998005afdce00006011c2c..."} 
[2026-07-15 12:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f648a3ce8012d7f998005afdce00006011c2c..."} 
[2026-07-15 12:24:07] local.INFO: Processing buffer {"connection_id":132505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f648a3ce8012d7f998005afdce00006011c2c..."} 
[2026-07-15 12:24:07] local.INFO: Packet analysis {"connection_id":132505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f648a"} 
[2026-07-15 12:24:07] local.INFO: Extracted packet for processing {"connection_id":132505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f648a"} 
[2026-07-15 12:24:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":6,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729064448001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784098209000,"timestamp_ms":1784098209000,"timestamp_seconds":1784098209,"priority":1,"record_length":96,"hex_timestamp":"0000019f648a3ce8"} 
[2026-07-15 12:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 12:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:24:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 12:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729064448001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729064448001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:24:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:24:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729064448001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":132505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:24:07] local.INFO: GPS data processed {"connection_id":132505,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:24:07] local.INFO: Acknowledgment sent {"connection_id":132505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:24:35] local.INFO: TCP Data received {"connection_id":132316,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132316,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:24:35] local.INFO: Processing buffer {"connection_id":132316,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:24:35] local.INFO: IMEI packet received {"connection_id":132316,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 12:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":132316,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:24:38] local.INFO: TCP Data received {"connection_id":132505,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f648a3ce8012d7f998005afdce00006011c2c..."} 
[2026-07-15 12:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f648a3ce8012d7f998005afdce00006011c2c..."} 
[2026-07-15 12:24:38] local.INFO: Processing buffer {"connection_id":132505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f648a3ce8012d7f998005afdce00006011c2c..."} 
[2026-07-15 12:24:38] local.INFO: Packet analysis {"connection_id":132505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f648a"} 
[2026-07-15 12:24:38] local.INFO: Extracted packet for processing {"connection_id":132505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f648a"} 
[2026-07-15 12:24:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":6,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729064448001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784098209000,"timestamp_ms":1784098209000,"timestamp_seconds":1784098209,"priority":1,"record_length":96,"hex_timestamp":"0000019f648a3ce8"} 
[2026-07-15 12:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 12:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 12:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729064448001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729064448001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:24:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:24:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729064448001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":132505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:24:38] local.INFO: GPS data processed {"connection_id":132505,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:24:38] local.INFO: Acknowledgment sent {"connection_id":132505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:25:06] local.INFO: TCP Data received {"connection_id":133351,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:25:06] local.INFO: Processing buffer {"connection_id":133351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:25:06] local.INFO: IMEI packet received {"connection_id":133351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":133351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:25:11] local.INFO: TCP Data received {"connection_id":133351,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:25:11] local.INFO: Processing buffer {"connection_id":133351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:25:11] local.INFO: IMEI packet received {"connection_id":133351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":133351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:25:12] local.INFO: TCP Data received {"connection_id":133351,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f648a3ce8012d7f998005afdce00006011c2c..."} 
[2026-07-15 12:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f648a3ce8012d7f998005afdce00006011c2c..."} 
[2026-07-15 12:25:12] local.INFO: Processing buffer {"connection_id":133351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f648a3ce8012d7f998005afdce00006011c2c..."} 
[2026-07-15 12:25:12] local.INFO: Packet analysis {"connection_id":133351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f648a"} 
[2026-07-15 12:25:12] local.INFO: Extracted packet for processing {"connection_id":133351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f648a"} 
[2026-07-15 12:25:12] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":6,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729064448001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784098209000,"timestamp_ms":1784098209000,"timestamp_seconds":1784098209,"priority":1,"record_length":96,"hex_timestamp":"0000019f648a3ce8"} 
[2026-07-15 12:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 12:25:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:25:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":133351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":133351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":133351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:25:12] 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-07-15 12:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729064448001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729064448001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:25:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:25:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729064448001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":133351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:25:12] local.INFO: GPS data processed {"connection_id":133351,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:25:12] local.INFO: Acknowledgment sent {"connection_id":133351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:25:16] local.INFO: TCP Data received {"connection_id":133351,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f648a3ce8012d7f998005afdce00006011c2c..."} 
[2026-07-15 12:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f648a3ce8012d7f998005afdce00006011c2c..."} 
[2026-07-15 12:25:16] local.INFO: Processing buffer {"connection_id":133351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f648a3ce8012d7f998005afdce00006011c2c..."} 
[2026-07-15 12:25:16] local.INFO: Packet analysis {"connection_id":133351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f648a"} 
[2026-07-15 12:25:16] local.INFO: Extracted packet for processing {"connection_id":133351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f648a"} 
[2026-07-15 12:25:16] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":6,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729064448001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:25:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784098209000,"timestamp_ms":1784098209000,"timestamp_seconds":1784098209,"priority":1,"record_length":96,"hex_timestamp":"0000019f648a3ce8"} 
[2026-07-15 12:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 12:25:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:25:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":133351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":133351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":133351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 12:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729064448001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729064448001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:25:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:25:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729064448001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":133351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:25:17] local.INFO: GPS data processed {"connection_id":133351,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:25:17] local.INFO: Acknowledgment sent {"connection_id":133351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:26:04] local.INFO: TCP Data received {"connection_id":133352,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:26:04] local.INFO: Processing buffer {"connection_id":133352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:26:04] local.INFO: IMEI packet received {"connection_id":133352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":133352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:26:06] local.INFO: TCP Data received {"connection_id":133352,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:26:06] local.INFO: Processing buffer {"connection_id":133352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:26:06] local.INFO: IMEI packet received {"connection_id":133352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":133352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:26:07] local.INFO: TCP Data received {"connection_id":133352,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f648ed4b0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f648ed4b0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:26:07] local.INFO: Processing buffer {"connection_id":133352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f648ed4b0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:26:07] local.INFO: Packet analysis {"connection_id":133352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f648e"} 
[2026-07-15 12:26:07] local.INFO: Extracted packet for processing {"connection_id":133352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f648e"} 
[2026-07-15 12:26:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729141504001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784098510000,"timestamp_ms":1784098510000,"timestamp_seconds":1784098510,"priority":1,"record_length":96,"hex_timestamp":"0000019f648ed4b0"} 
[2026-07-15 12:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 12:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 12:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729141504001,"66":25582,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729141504001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:26:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:26:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729141504001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":133352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:26:07] local.INFO: GPS data processed {"connection_id":133352,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:26:07] local.INFO: Acknowledgment sent {"connection_id":133352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:26:11] local.INFO: TCP Data received {"connection_id":133352,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f648ed4b0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f648ed4b0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:26:11] local.INFO: Processing buffer {"connection_id":133352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f648ed4b0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:26:11] local.INFO: Packet analysis {"connection_id":133352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f648e"} 
[2026-07-15 12:26:11] local.INFO: Extracted packet for processing {"connection_id":133352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f648e"} 
[2026-07-15 12:26:11] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729141504001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784098510000,"timestamp_ms":1784098510000,"timestamp_seconds":1784098510,"priority":1,"record_length":96,"hex_timestamp":"0000019f648ed4b0"} 
[2026-07-15 12:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 12:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":133352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":133352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":133352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:26: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-07-15 12:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729141504001,"66":25582,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729141504001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:26:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:26:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729141504001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":133352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:26:11] local.INFO: GPS data processed {"connection_id":133352,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:26:11] local.INFO: Acknowledgment sent {"connection_id":133352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:26:42] local.INFO: TCP Data received {"connection_id":133352,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f648ed4b0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f648ed4b0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:26:42] local.INFO: Processing buffer {"connection_id":133352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f648ed4b0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:26:42] local.INFO: Packet analysis {"connection_id":133352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f648e"} 
[2026-07-15 12:26:42] local.INFO: Extracted packet for processing {"connection_id":133352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f648e"} 
[2026-07-15 12:26:42] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:26: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-07-15 12:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729141504001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784098510000,"timestamp_ms":1784098510000,"timestamp_seconds":1784098510,"priority":1,"record_length":96,"hex_timestamp":"0000019f648ed4b0"} 
[2026-07-15 12:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 12:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:26: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-07-15 12:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":133352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":133352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":133352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 12:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729141504001,"66":25582,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729141504001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:26:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:26:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729141504001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":133352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:26:42] local.INFO: GPS data processed {"connection_id":133352,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:26:42] local.INFO: Acknowledgment sent {"connection_id":133352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:27:10] local.INFO: TCP Data received {"connection_id":132317,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:27:10] local.INFO: Processing buffer {"connection_id":132317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:27:10] local.INFO: IMEI packet received {"connection_id":132317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":132317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:27:11] local.INFO: TCP Data received {"connection_id":132317,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:27:11] local.INFO: Processing buffer {"connection_id":132317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:27:11] local.INFO: IMEI packet received {"connection_id":132317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":132317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:27:12] local.INFO: TCP Data received {"connection_id":132317,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f648ed4b0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f648ed4b0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:27:12] local.INFO: Processing buffer {"connection_id":132317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f648ed4b0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:27:12] local.INFO: Packet analysis {"connection_id":132317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f648e"} 
[2026-07-15 12:27:12] local.INFO: Extracted packet for processing {"connection_id":132317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f648e"} 
[2026-07-15 12:27:12] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729141504001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:27:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784098510000,"timestamp_ms":1784098510000,"timestamp_seconds":1784098510,"priority":1,"record_length":96,"hex_timestamp":"0000019f648ed4b0"} 
[2026-07-15 12:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 12:27:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:27:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:27:12] 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-07-15 12:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729141504001,"66":25582,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729141504001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:27:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:27:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729141504001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":132317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:27:12] local.INFO: GPS data processed {"connection_id":132317,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:27:12] local.INFO: Acknowledgment sent {"connection_id":132317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:27:17] local.INFO: TCP Data received {"connection_id":132317,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f648ed4b0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f648ed4b0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:27:17] local.INFO: Processing buffer {"connection_id":132317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f648ed4b0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:27:17] local.INFO: Packet analysis {"connection_id":132317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f648e"} 
[2026-07-15 12:27:17] local.INFO: Extracted packet for processing {"connection_id":132317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f648e"} 
[2026-07-15 12:27:17] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729141504001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:27:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784098510000,"timestamp_ms":1784098510000,"timestamp_seconds":1784098510,"priority":1,"record_length":96,"hex_timestamp":"0000019f648ed4b0"} 
[2026-07-15 12:27:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:27:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 12:27:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:27:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:27:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:27:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 12:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729141504001,"66":25582,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729141504001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:27:17] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:27:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729141504001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":132317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:27:17] local.INFO: GPS data processed {"connection_id":132317,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:27:17] local.INFO: Acknowledgment sent {"connection_id":132317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:28:04] local.INFO: TCP Data received {"connection_id":134716,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:28:04] local.INFO: Processing buffer {"connection_id":134716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:28:04] local.INFO: IMEI packet received {"connection_id":134716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":134716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:28:07] local.INFO: TCP Data received {"connection_id":134716,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:28:07] local.INFO: Processing buffer {"connection_id":134716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:28:07] local.INFO: IMEI packet received {"connection_id":134716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":134716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:28:11] local.INFO: TCP Data received {"connection_id":134716,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f648ed4b0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f648ed4b0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:28:11] local.INFO: Processing buffer {"connection_id":134716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f648ed4b0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:28:11] local.INFO: Packet analysis {"connection_id":134716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f648e"} 
[2026-07-15 12:28:11] local.INFO: Extracted packet for processing {"connection_id":134716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f648e"} 
[2026-07-15 12:28:11] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729141504001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784098510000,"timestamp_ms":1784098510000,"timestamp_seconds":1784098510,"priority":1,"record_length":96,"hex_timestamp":"0000019f648ed4b0"} 
[2026-07-15 12:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 12:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":134716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":134716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":134716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 12:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729141504001,"66":25582,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729141504001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:28:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:28:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729141504001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":134716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:28:11] local.INFO: GPS data processed {"connection_id":134716,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:28:11] local.INFO: Acknowledgment sent {"connection_id":134716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:28:11] local.INFO: TCP Data received {"connection_id":134716,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f648ed4b0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f648ed4b0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:28:11] local.INFO: Processing buffer {"connection_id":134716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f648ed4b0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:28:11] local.INFO: Packet analysis {"connection_id":134716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f648e"} 
[2026-07-15 12:28:11] local.INFO: Extracted packet for processing {"connection_id":134716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f648e"} 
[2026-07-15 12:28:11] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729141504001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784098510000,"timestamp_ms":1784098510000,"timestamp_seconds":1784098510,"priority":1,"record_length":96,"hex_timestamp":"0000019f648ed4b0"} 
[2026-07-15 12:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 12:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":134716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":134716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":134716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 12:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729141504001,"66":25582,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729141504001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:28:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:28:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729141504001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":134716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:28:11] local.INFO: GPS data processed {"connection_id":134716,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:28:11] local.INFO: Acknowledgment sent {"connection_id":134716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:28:42] local.INFO: TCP Data received {"connection_id":134716,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f648ed4b0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f648ed4b0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:28:42] local.INFO: Processing buffer {"connection_id":134716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f648ed4b0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:28:42] local.INFO: Packet analysis {"connection_id":134716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f648e"} 
[2026-07-15 12:28:42] local.INFO: Extracted packet for processing {"connection_id":134716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f648e"} 
[2026-07-15 12:28:42] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729141504001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784098510000,"timestamp_ms":1784098510000,"timestamp_seconds":1784098510,"priority":1,"record_length":96,"hex_timestamp":"0000019f648ed4b0"} 
[2026-07-15 12:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 12:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":134716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":134716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":134716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 12:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729141504001,"66":25582,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729141504001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:28:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:28:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729141504001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":134716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:28:42] local.INFO: GPS data processed {"connection_id":134716,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:28:42] local.INFO: Acknowledgment sent {"connection_id":134716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:29:06] local.INFO: TCP Data received {"connection_id":133353,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:29:06] local.INFO: Processing buffer {"connection_id":133353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:29:06] local.INFO: IMEI packet received {"connection_id":133353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":133353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:29:11] local.INFO: TCP Data received {"connection_id":133353,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:29:11] local.INFO: Processing buffer {"connection_id":133353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:29:11] local.INFO: IMEI packet received {"connection_id":133353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":133353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:29:14] local.INFO: TCP Data received {"connection_id":133353,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f648ed4b0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f648ed4b0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:29:14] local.INFO: Processing buffer {"connection_id":133353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f648ed4b0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:29:14] local.INFO: Packet analysis {"connection_id":133353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f648e"} 
[2026-07-15 12:29:14] local.INFO: Extracted packet for processing {"connection_id":133353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f648e"} 
[2026-07-15 12:29:14] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729141504001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:29:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:29:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784098510000,"timestamp_ms":1784098510000,"timestamp_seconds":1784098510,"priority":1,"record_length":96,"hex_timestamp":"0000019f648ed4b0"} 
[2026-07-15 12:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:29:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 12:29:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:29:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":133353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":133353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":133353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:29:14] 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-07-15 12:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729141504001,"66":25582,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729141504001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:29:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:29:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:29:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729141504001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":133353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:29:14] local.INFO: GPS data processed {"connection_id":133353,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:29:14] local.INFO: Acknowledgment sent {"connection_id":133353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:29:16] local.INFO: TCP Data received {"connection_id":133353,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f648ed4b0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f648ed4b0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:29:16] local.INFO: Processing buffer {"connection_id":133353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f648ed4b0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:29:16] local.INFO: Packet analysis {"connection_id":133353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f648e"} 
[2026-07-15 12:29:16] local.INFO: Extracted packet for processing {"connection_id":133353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f648e"} 
[2026-07-15 12:29:16] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729141504001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:29:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784098510000,"timestamp_ms":1784098510000,"timestamp_seconds":1784098510,"priority":1,"record_length":96,"hex_timestamp":"0000019f648ed4b0"} 
[2026-07-15 12:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:29:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 12:29:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:29:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":133353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":133353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":133353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:29:16] 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-07-15 12:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729141504001,"66":25582,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729141504001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:29:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:29:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729141504001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":133353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:29:16] local.INFO: GPS data processed {"connection_id":133353,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:29:16] local.INFO: Acknowledgment sent {"connection_id":133353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:30:00] local.INFO: TCP Data received {"connection_id":132508,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132508,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:30:00] local.INFO: Processing buffer {"connection_id":132508,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:30:00] local.INFO: IMEI packet received {"connection_id":132508,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 12:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":132508,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:30:01] local.INFO: TCP Data received {"connection_id":133354,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:30:01] local.INFO: Processing buffer {"connection_id":133354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:30:01] local.INFO: IMEI packet received {"connection_id":133354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":133354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:30:06] local.INFO: TCP Data received {"connection_id":133354,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:30:06] local.INFO: Processing buffer {"connection_id":133354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:30:06] local.INFO: IMEI packet received {"connection_id":133354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":133354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:30:07] local.INFO: TCP Data received {"connection_id":133354,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f648ed4b0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f648ed4b0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:30:07] local.INFO: Processing buffer {"connection_id":133354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f648ed4b0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:30:07] local.INFO: Packet analysis {"connection_id":133354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f648e"} 
[2026-07-15 12:30:07] local.INFO: Extracted packet for processing {"connection_id":133354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f648e"} 
[2026-07-15 12:30:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729141504001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784098510000,"timestamp_ms":1784098510000,"timestamp_seconds":1784098510,"priority":1,"record_length":96,"hex_timestamp":"0000019f648ed4b0"} 
[2026-07-15 12:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 12:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 12:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729141504001,"66":25582,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729141504001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:30:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:30:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729141504001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":133354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:30:07] local.INFO: GPS data processed {"connection_id":133354,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:30:07] local.INFO: Acknowledgment sent {"connection_id":133354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:30:32] local.INFO: TCP Data received {"connection_id":134717,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134717,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:30:32] local.INFO: Processing buffer {"connection_id":134717,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:30:32] local.INFO: IMEI packet received {"connection_id":134717,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 12:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":134717,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:30:41] local.INFO: TCP Data received {"connection_id":133354,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f648ed4b0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f648ed4b0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:30:41] local.INFO: Processing buffer {"connection_id":133354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f648ed4b0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:30:41] local.INFO: Packet analysis {"connection_id":133354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f648e"} 
[2026-07-15 12:30:41] local.INFO: Extracted packet for processing {"connection_id":133354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f648e"} 
[2026-07-15 12:30:41] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729141504001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:30:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784098510000,"timestamp_ms":1784098510000,"timestamp_seconds":1784098510,"priority":1,"record_length":96,"hex_timestamp":"0000019f648ed4b0"} 
[2026-07-15 12:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 12:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":133354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":133354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":133354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 12:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729141504001,"66":25582,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729141504001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:30:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:30:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:30:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729141504001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":133354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:30:41] local.INFO: GPS data processed {"connection_id":133354,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:30:41] local.INFO: Acknowledgment sent {"connection_id":133354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:31:02] local.INFO: TCP Data received {"connection_id":132319,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:31:02] local.INFO: Processing buffer {"connection_id":132319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:31:02] local.INFO: IMEI packet received {"connection_id":132319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":132319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:31:06] local.INFO: TCP Data received {"connection_id":132319,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:31:06] local.INFO: Processing buffer {"connection_id":132319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:31:06] local.INFO: IMEI packet received {"connection_id":132319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":132319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:31:07] local.INFO: TCP Data received {"connection_id":132319,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f64936c78012d7f998005afdce00001011c2a..."} 
[2026-07-15 12:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64936c78012d7f998005afdce00001011c2a..."} 
[2026-07-15 12:31:07] local.INFO: Processing buffer {"connection_id":132319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64936c78012d7f998005afdce00001011c2a..."} 
[2026-07-15 12:31:07] local.INFO: Packet analysis {"connection_id":132319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6493"} 
[2026-07-15 12:31:07] local.INFO: Extracted packet for processing {"connection_id":132319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6493"} 
[2026-07-15 12:31:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":1,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729218560001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784098811000,"timestamp_ms":1784098811000,"timestamp_seconds":1784098811,"priority":1,"record_length":96,"hex_timestamp":"0000019f64936c78"} 
[2026-07-15 12:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 12:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:31:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 12:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729218560001,"66":25549,"199":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 12:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729218560001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:31:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 12:31:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729218560001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":132319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:31:07] local.INFO: GPS data processed {"connection_id":132319,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:31:07] local.INFO: Acknowledgment sent {"connection_id":132319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:31:11] local.INFO: TCP Data received {"connection_id":132319,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f64936c78012d7f998005afdce00001011c2a..."} 
[2026-07-15 12:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64936c78012d7f998005afdce00001011c2a..."} 
[2026-07-15 12:31:11] local.INFO: Processing buffer {"connection_id":132319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64936c78012d7f998005afdce00001011c2a..."} 
[2026-07-15 12:31:11] local.INFO: Packet analysis {"connection_id":132319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6493"} 
[2026-07-15 12:31:11] local.INFO: Extracted packet for processing {"connection_id":132319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6493"} 
[2026-07-15 12:31:11] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":1,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729218560001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784098811000,"timestamp_ms":1784098811000,"timestamp_seconds":1784098811,"priority":1,"record_length":96,"hex_timestamp":"0000019f64936c78"} 
[2026-07-15 12:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 12:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:31:11] 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-07-15 12:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729218560001,"66":25549,"199":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 12:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729218560001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:31:11] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 12:31:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729218560001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":132319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:31:11] local.INFO: GPS data processed {"connection_id":132319,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:31:11] local.INFO: Acknowledgment sent {"connection_id":132319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:31:43] local.INFO: TCP Data received {"connection_id":132319,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f64936c78012d7f998005afdce00001011c2a..."} 
[2026-07-15 12:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64936c78012d7f998005afdce00001011c2a..."} 
[2026-07-15 12:31:43] local.INFO: Processing buffer {"connection_id":132319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64936c78012d7f998005afdce00001011c2a..."} 
[2026-07-15 12:31:43] local.INFO: Packet analysis {"connection_id":132319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6493"} 
[2026-07-15 12:31:43] local.INFO: Extracted packet for processing {"connection_id":132319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6493"} 
[2026-07-15 12:31:43] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":1,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729218560001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:31:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784098811000,"timestamp_ms":1784098811000,"timestamp_seconds":1784098811,"priority":1,"record_length":96,"hex_timestamp":"0000019f64936c78"} 
[2026-07-15 12:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:31:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 12:31:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:31:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":132319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":132319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":132319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 12:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729218560001,"66":25549,"199":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 12:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729218560001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:31:43] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 12:31:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729218560001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":132319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:31:43] local.INFO: GPS data processed {"connection_id":132319,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:31:43] local.INFO: Acknowledgment sent {"connection_id":132319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:32:01] local.INFO: TCP Data received {"connection_id":134719,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:32:01] local.INFO: Processing buffer {"connection_id":134719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:32:01] local.INFO: IMEI packet received {"connection_id":134719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":134719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:32:06] local.INFO: TCP Data received {"connection_id":134719,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:32:06] local.INFO: Processing buffer {"connection_id":134719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:32:06] local.INFO: IMEI packet received {"connection_id":134719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":134719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:32:07] local.INFO: TCP Data received {"connection_id":134719,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f64936c78012d7f998005afdce00001011c2a..."} 
[2026-07-15 12:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64936c78012d7f998005afdce00001011c2a..."} 
[2026-07-15 12:32:07] local.INFO: Processing buffer {"connection_id":134719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64936c78012d7f998005afdce00001011c2a..."} 
[2026-07-15 12:32:07] local.INFO: Packet analysis {"connection_id":134719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6493"} 
[2026-07-15 12:32:07] local.INFO: Extracted packet for processing {"connection_id":134719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6493"} 
[2026-07-15 12:32:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":1,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729218560001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784098811000,"timestamp_ms":1784098811000,"timestamp_seconds":1784098811,"priority":1,"record_length":96,"hex_timestamp":"0000019f64936c78"} 
[2026-07-15 12:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 12:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:32:07] 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-07-15 12:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729218560001,"66":25549,"199":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 12:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729218560001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:32:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 12:32:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729218560001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":134719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:32:07] local.INFO: GPS data processed {"connection_id":134719,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:32:07] local.INFO: Acknowledgment sent {"connection_id":134719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:32:40] local.INFO: TCP Data received {"connection_id":134719,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f64936c78012d7f998005afdce00001011c2a..."} 
[2026-07-15 12:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64936c78012d7f998005afdce00001011c2a..."} 
[2026-07-15 12:32:40] local.INFO: Processing buffer {"connection_id":134719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64936c78012d7f998005afdce00001011c2a..."} 
[2026-07-15 12:32:40] local.INFO: Packet analysis {"connection_id":134719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6493"} 
[2026-07-15 12:32:40] local.INFO: Extracted packet for processing {"connection_id":134719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6493"} 
[2026-07-15 12:32:40] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":1,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12: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-07-15 12:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729218560001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:32:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784098811000,"timestamp_ms":1784098811000,"timestamp_seconds":1784098811,"priority":1,"record_length":96,"hex_timestamp":"0000019f64936c78"} 
[2026-07-15 12:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:32:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 12:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12: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-07-15 12:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":134719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":134719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":134719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 12:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729218560001,"66":25549,"199":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 12:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729218560001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:32:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 12:32:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:32:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729218560001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":134719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:32:40] local.INFO: GPS data processed {"connection_id":134719,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:32:40] local.INFO: Acknowledgment sent {"connection_id":134719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:33:06] local.INFO: TCP Data received {"connection_id":132511,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:33:06] local.INFO: Processing buffer {"connection_id":132511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:33:06] local.INFO: IMEI packet received {"connection_id":132511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":132511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:33:11] local.INFO: TCP Data received {"connection_id":132511,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:33:11] local.INFO: Processing buffer {"connection_id":132511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:33:11] local.INFO: IMEI packet received {"connection_id":132511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":132511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:33:12] local.INFO: TCP Data received {"connection_id":132511,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f64936c78012d7f998005afdce00001011c2a..."} 
[2026-07-15 12:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64936c78012d7f998005afdce00001011c2a..."} 
[2026-07-15 12:33:12] local.INFO: Processing buffer {"connection_id":132511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64936c78012d7f998005afdce00001011c2a..."} 
[2026-07-15 12:33:12] local.INFO: Packet analysis {"connection_id":132511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6493"} 
[2026-07-15 12:33:12] local.INFO: Extracted packet for processing {"connection_id":132511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6493"} 
[2026-07-15 12:33:12] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":1,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729218560001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:33:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:33:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784098811000,"timestamp_ms":1784098811000,"timestamp_seconds":1784098811,"priority":1,"record_length":96,"hex_timestamp":"0000019f64936c78"} 
[2026-07-15 12:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 12:33:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:33:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:33:12] 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-07-15 12:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729218560001,"66":25549,"199":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 12:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729218560001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:33:12] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 12:33:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:33:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729218560001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":132511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:33:12] local.INFO: GPS data processed {"connection_id":132511,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:33:12] local.INFO: Acknowledgment sent {"connection_id":132511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:33:16] local.INFO: TCP Data received {"connection_id":132511,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f64936c78012d7f998005afdce00001011c2a..."} 
[2026-07-15 12:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64936c78012d7f998005afdce00001011c2a..."} 
[2026-07-15 12:33:16] local.INFO: Processing buffer {"connection_id":132511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64936c78012d7f998005afdce00001011c2a..."} 
[2026-07-15 12:33:16] local.INFO: Packet analysis {"connection_id":132511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6493"} 
[2026-07-15 12:33:16] local.INFO: Extracted packet for processing {"connection_id":132511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6493"} 
[2026-07-15 12:33:16] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":1,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12: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-07-15 12:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729218560001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:33:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784098811000,"timestamp_ms":1784098811000,"timestamp_seconds":1784098811,"priority":1,"record_length":96,"hex_timestamp":"0000019f64936c78"} 
[2026-07-15 12:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:33:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 12:33:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12: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-07-15 12:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:33:16] 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-07-15 12:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729218560001,"66":25549,"199":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 12:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729218560001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:33:16] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 12:33:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729218560001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":132511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:33:16] local.INFO: GPS data processed {"connection_id":132511,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:33:16] local.INFO: Acknowledgment sent {"connection_id":132511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:34:01] local.INFO: TCP Data received {"connection_id":134720,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:34:01] local.INFO: Processing buffer {"connection_id":134720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:34:01] local.INFO: IMEI packet received {"connection_id":134720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":134720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:34:07] local.INFO: TCP Data received {"connection_id":134720,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:34:07] local.INFO: Processing buffer {"connection_id":134720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:34:07] local.INFO: IMEI packet received {"connection_id":134720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":134720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:34:08] local.INFO: TCP Data received {"connection_id":134720,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f64936c78012d7f998005afdce00001011c2a..."} 
[2026-07-15 12:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64936c78012d7f998005afdce00001011c2a..."} 
[2026-07-15 12:34:08] local.INFO: Processing buffer {"connection_id":134720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64936c78012d7f998005afdce00001011c2a..."} 
[2026-07-15 12:34:08] local.INFO: Packet analysis {"connection_id":134720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6493"} 
[2026-07-15 12:34:08] local.INFO: Extracted packet for processing {"connection_id":134720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6493"} 
[2026-07-15 12:34:08] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":1,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729218560001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784098811000,"timestamp_ms":1784098811000,"timestamp_seconds":1784098811,"priority":1,"record_length":96,"hex_timestamp":"0000019f64936c78"} 
[2026-07-15 12:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 12:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 12:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729218560001,"66":25549,"199":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 12:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729218560001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:34:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 12:34:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729218560001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":134720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:34:08] local.INFO: GPS data processed {"connection_id":134720,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:34:08] local.INFO: Acknowledgment sent {"connection_id":134720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:34:40] local.INFO: TCP Data received {"connection_id":134720,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f64936c78012d7f998005afdce00001011c2a..."} 
[2026-07-15 12:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64936c78012d7f998005afdce00001011c2a..."} 
[2026-07-15 12:34:40] local.INFO: Processing buffer {"connection_id":134720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64936c78012d7f998005afdce00001011c2a..."} 
[2026-07-15 12:34:40] local.INFO: Packet analysis {"connection_id":134720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6493"} 
[2026-07-15 12:34:40] local.INFO: Extracted packet for processing {"connection_id":134720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6493"} 
[2026-07-15 12:34:40] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":1,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729218560001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784098811000,"timestamp_ms":1784098811000,"timestamp_seconds":1784098811,"priority":1,"record_length":96,"hex_timestamp":"0000019f64936c78"} 
[2026-07-15 12:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 12:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:34:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":134720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":134720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":134720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:34:40] 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-07-15 12:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729218560001,"66":25549,"199":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 12:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729218560001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:34:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 12:34:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729218560001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":134720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:34:40] local.INFO: GPS data processed {"connection_id":134720,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:34:40] local.INFO: Acknowledgment sent {"connection_id":134720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:35:01] local.INFO: TCP Data received {"connection_id":132322,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:35:01] local.INFO: Processing buffer {"connection_id":132322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:35:01] local.INFO: IMEI packet received {"connection_id":132322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":132322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:35:06] local.INFO: TCP Data received {"connection_id":132322,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:35:06] local.INFO: Processing buffer {"connection_id":132322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:35:06] local.INFO: IMEI packet received {"connection_id":132322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":132322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:35:07] local.INFO: TCP Data received {"connection_id":132322,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f64936c78012d7f998005afdce00001011c2a..."} 
[2026-07-15 12:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64936c78012d7f998005afdce00001011c2a..."} 
[2026-07-15 12:35:07] local.INFO: Processing buffer {"connection_id":132322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64936c78012d7f998005afdce00001011c2a..."} 
[2026-07-15 12:35:07] local.INFO: Packet analysis {"connection_id":132322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6493"} 
[2026-07-15 12:35:07] local.INFO: Extracted packet for processing {"connection_id":132322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6493"} 
[2026-07-15 12:35:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":1,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729218560001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784098811000,"timestamp_ms":1784098811000,"timestamp_seconds":1784098811,"priority":1,"record_length":96,"hex_timestamp":"0000019f64936c78"} 
[2026-07-15 12:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 12:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 12:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729218560001,"66":25549,"199":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 12:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729218560001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:35:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 12:35:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729218560001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":132322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:35:07] local.INFO: GPS data processed {"connection_id":132322,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:35:07] local.INFO: Acknowledgment sent {"connection_id":132322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:35:38] local.INFO: TCP Data received {"connection_id":132322,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f64936c78012d7f998005afdce00001011c2a..."} 
[2026-07-15 12:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64936c78012d7f998005afdce00001011c2a..."} 
[2026-07-15 12:35:38] local.INFO: Processing buffer {"connection_id":132322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64936c78012d7f998005afdce00001011c2a..."} 
[2026-07-15 12:35:38] local.INFO: Packet analysis {"connection_id":132322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6493"} 
[2026-07-15 12:35:38] local.INFO: Extracted packet for processing {"connection_id":132322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6493"} 
[2026-07-15 12:35:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":1,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729218560001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784098811000,"timestamp_ms":1784098811000,"timestamp_seconds":1784098811,"priority":1,"record_length":96,"hex_timestamp":"0000019f64936c78"} 
[2026-07-15 12:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 12:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 12:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729218560001,"66":25549,"199":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 12:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729218560001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:35:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 12:35:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729218560001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":132322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:35:38] local.INFO: GPS data processed {"connection_id":132322,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:35:38] local.INFO: Acknowledgment sent {"connection_id":132322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:36:01] local.INFO: TCP Data received {"connection_id":134721,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:36:01] local.INFO: Processing buffer {"connection_id":134721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:36:01] local.INFO: IMEI packet received {"connection_id":134721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":134721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:36:06] local.INFO: TCP Data received {"connection_id":134721,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:36:06] local.INFO: Processing buffer {"connection_id":134721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:36:06] local.INFO: IMEI packet received {"connection_id":134721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":134721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:36:07] local.INFO: TCP Data received {"connection_id":134721,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f64980440012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64980440012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:36:07] local.INFO: Processing buffer {"connection_id":134721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64980440012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:36:07] local.INFO: Packet analysis {"connection_id":134721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6498"} 
[2026-07-15 12:36:07] local.INFO: Extracted packet for processing {"connection_id":134721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6498"} 
[2026-07-15 12:36:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729295616001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784099112000,"timestamp_ms":1784099112000,"timestamp_seconds":1784099112,"priority":1,"record_length":96,"hex_timestamp":"0000019f64980440"} 
[2026-07-15 12:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 12:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:36:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:36:07] 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-07-15 12:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729295616001,"66":25604,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729295616001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:36:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:36:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729295616001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":134721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:36:07] local.INFO: GPS data processed {"connection_id":134721,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:36:07] local.INFO: Acknowledgment sent {"connection_id":134721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:36:10] local.INFO: TCP Data received {"connection_id":132323,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132323,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:36:10] local.INFO: Processing buffer {"connection_id":132323,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:36:10] local.INFO: IMEI packet received {"connection_id":132323,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 12:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":132323,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:36:34] local.INFO: TCP Data received {"connection_id":133355,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133355,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:36:34] local.INFO: Processing buffer {"connection_id":133355,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:36:34] local.INFO: IMEI packet received {"connection_id":133355,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 12:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":133355,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:36:38] local.INFO: TCP Data received {"connection_id":134721,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f64980440012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64980440012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:36:38] local.INFO: Processing buffer {"connection_id":134721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64980440012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:36:38] local.INFO: Packet analysis {"connection_id":134721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6498"} 
[2026-07-15 12:36:38] local.INFO: Extracted packet for processing {"connection_id":134721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6498"} 
[2026-07-15 12:36:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729295616001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784099112000,"timestamp_ms":1784099112000,"timestamp_seconds":1784099112,"priority":1,"record_length":96,"hex_timestamp":"0000019f64980440"} 
[2026-07-15 12:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 12:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:36:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 12:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729295616001,"66":25604,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729295616001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:36:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:36:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729295616001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":134721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:36:38] local.INFO: GPS data processed {"connection_id":134721,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:36:38] local.INFO: Acknowledgment sent {"connection_id":134721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:37:06] local.INFO: TCP Data received {"connection_id":133356,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:37:06] local.INFO: Processing buffer {"connection_id":133356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:37:06] local.INFO: IMEI packet received {"connection_id":133356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":133356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:37:11] local.INFO: TCP Data received {"connection_id":133356,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:37:11] local.INFO: Processing buffer {"connection_id":133356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:37:11] local.INFO: IMEI packet received {"connection_id":133356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":133356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:37:12] local.INFO: TCP Data received {"connection_id":133356,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f64980440012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64980440012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:37:12] local.INFO: Processing buffer {"connection_id":133356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64980440012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:37:12] local.INFO: Packet analysis {"connection_id":133356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6498"} 
[2026-07-15 12:37:12] local.INFO: Extracted packet for processing {"connection_id":133356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6498"} 
[2026-07-15 12:37:12] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12: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-07-15 12:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729295616001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784099112000,"timestamp_ms":1784099112000,"timestamp_seconds":1784099112,"priority":1,"record_length":96,"hex_timestamp":"0000019f64980440"} 
[2026-07-15 12:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 12:37:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12: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-07-15 12:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":133356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":133356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":133356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:37:12] 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-07-15 12:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729295616001,"66":25604,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729295616001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:37:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:37:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729295616001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":133356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:37:12] local.INFO: GPS data processed {"connection_id":133356,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:37:12] local.INFO: Acknowledgment sent {"connection_id":133356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:37:43] local.INFO: TCP Data received {"connection_id":133356,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f64980440012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64980440012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:37:43] local.INFO: Processing buffer {"connection_id":133356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64980440012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:37:43] local.INFO: Packet analysis {"connection_id":133356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6498"} 
[2026-07-15 12:37:43] local.INFO: Extracted packet for processing {"connection_id":133356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6498"} 
[2026-07-15 12:37:43] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729295616001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:37:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784099112000,"timestamp_ms":1784099112000,"timestamp_seconds":1784099112,"priority":1,"record_length":96,"hex_timestamp":"0000019f64980440"} 
[2026-07-15 12:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:37:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 12:37:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:37:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":133356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":133356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":133356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:37:43] 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-07-15 12:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729295616001,"66":25604,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729295616001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:37:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:37:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729295616001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":133356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:37:43] local.INFO: GPS data processed {"connection_id":133356,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:37:43] local.INFO: Acknowledgment sent {"connection_id":133356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:38:01] local.INFO: TCP Data received {"connection_id":132513,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:38:01] local.INFO: Processing buffer {"connection_id":132513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:38:01] local.INFO: IMEI packet received {"connection_id":132513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":132513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:38:06] local.INFO: TCP Data received {"connection_id":132513,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:38:06] local.INFO: Processing buffer {"connection_id":132513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:38:06] local.INFO: IMEI packet received {"connection_id":132513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":132513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:38:07] local.INFO: TCP Data received {"connection_id":132513,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f64980440012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64980440012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:38:07] local.INFO: Processing buffer {"connection_id":132513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64980440012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:38:07] local.INFO: Packet analysis {"connection_id":132513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6498"} 
[2026-07-15 12:38:07] local.INFO: Extracted packet for processing {"connection_id":132513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6498"} 
[2026-07-15 12:38:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729295616001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784099112000,"timestamp_ms":1784099112000,"timestamp_seconds":1784099112,"priority":1,"record_length":96,"hex_timestamp":"0000019f64980440"} 
[2026-07-15 12:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 12:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:38:07] 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-07-15 12:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729295616001,"66":25604,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729295616001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:38:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:38:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729295616001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":132513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:38:07] local.INFO: GPS data processed {"connection_id":132513,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:38:07] local.INFO: Acknowledgment sent {"connection_id":132513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:38:38] local.INFO: TCP Data received {"connection_id":132513,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f64980440012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64980440012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:38:38] local.INFO: Processing buffer {"connection_id":132513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64980440012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:38:38] local.INFO: Packet analysis {"connection_id":132513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6498"} 
[2026-07-15 12:38:38] local.INFO: Extracted packet for processing {"connection_id":132513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6498"} 
[2026-07-15 12:38:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12: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-07-15 12:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729295616001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784099112000,"timestamp_ms":1784099112000,"timestamp_seconds":1784099112,"priority":1,"record_length":96,"hex_timestamp":"0000019f64980440"} 
[2026-07-15 12:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 12:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12: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-07-15 12:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:38:38] 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-07-15 12:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729295616001,"66":25604,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729295616001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:38:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:38:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729295616001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":132513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:38:38] local.INFO: GPS data processed {"connection_id":132513,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:38:38] local.INFO: Acknowledgment sent {"connection_id":132513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:39:01] local.INFO: TCP Data received {"connection_id":132325,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:39:01] local.INFO: Processing buffer {"connection_id":132325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:39:01] local.INFO: IMEI packet received {"connection_id":132325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":132325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:39:06] local.INFO: TCP Data received {"connection_id":132325,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:39:06] local.INFO: Processing buffer {"connection_id":132325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:39:06] local.INFO: IMEI packet received {"connection_id":132325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":132325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:39:07] local.INFO: TCP Data received {"connection_id":132325,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f64980440012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64980440012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:39:07] local.INFO: Processing buffer {"connection_id":132325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64980440012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:39:07] local.INFO: Packet analysis {"connection_id":132325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6498"} 
[2026-07-15 12:39:07] local.INFO: Extracted packet for processing {"connection_id":132325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6498"} 
[2026-07-15 12:39:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729295616001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784099112000,"timestamp_ms":1784099112000,"timestamp_seconds":1784099112,"priority":1,"record_length":96,"hex_timestamp":"0000019f64980440"} 
[2026-07-15 12:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 12:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:39:07] 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-07-15 12:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729295616001,"66":25604,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729295616001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:39:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:39:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729295616001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":132325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:39:07] local.INFO: GPS data processed {"connection_id":132325,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:39:07] local.INFO: Acknowledgment sent {"connection_id":132325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:39:38] local.INFO: TCP Data received {"connection_id":132325,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f64980440012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64980440012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:39:38] local.INFO: Processing buffer {"connection_id":132325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64980440012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:39:38] local.INFO: Packet analysis {"connection_id":132325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6498"} 
[2026-07-15 12:39:38] local.INFO: Extracted packet for processing {"connection_id":132325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6498"} 
[2026-07-15 12:39:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729295616001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784099112000,"timestamp_ms":1784099112000,"timestamp_seconds":1784099112,"priority":1,"record_length":96,"hex_timestamp":"0000019f64980440"} 
[2026-07-15 12:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 12:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 12:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729295616001,"66":25604,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729295616001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:39:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:39:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729295616001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":132325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:39:38] local.INFO: GPS data processed {"connection_id":132325,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:39:38] local.INFO: Acknowledgment sent {"connection_id":132325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:40:01] local.INFO: TCP Data received {"connection_id":132514,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:40:01] local.INFO: Processing buffer {"connection_id":132514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:40:01] local.INFO: IMEI packet received {"connection_id":132514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":132514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:40:06] local.INFO: TCP Data received {"connection_id":132514,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:40:06] local.INFO: Processing buffer {"connection_id":132514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:40:06] local.INFO: IMEI packet received {"connection_id":132514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":132514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:40:07] local.INFO: TCP Data received {"connection_id":132514,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f64980440012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64980440012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:40:07] local.INFO: Processing buffer {"connection_id":132514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64980440012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:40:07] local.INFO: Packet analysis {"connection_id":132514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6498"} 
[2026-07-15 12:40:07] local.INFO: Extracted packet for processing {"connection_id":132514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6498"} 
[2026-07-15 12:40:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729295616001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784099112000,"timestamp_ms":1784099112000,"timestamp_seconds":1784099112,"priority":1,"record_length":96,"hex_timestamp":"0000019f64980440"} 
[2026-07-15 12:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 12:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:40:07] 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-07-15 12:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729295616001,"66":25604,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729295616001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:40:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:40:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729295616001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":132514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:40:07] local.INFO: GPS data processed {"connection_id":132514,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:40:07] local.INFO: Acknowledgment sent {"connection_id":132514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:40:38] local.INFO: TCP Data received {"connection_id":132514,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f64980440012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64980440012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:40:38] local.INFO: Processing buffer {"connection_id":132514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64980440012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:40:38] local.INFO: Packet analysis {"connection_id":132514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6498"} 
[2026-07-15 12:40:38] local.INFO: Extracted packet for processing {"connection_id":132514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6498"} 
[2026-07-15 12:40:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729295616001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784099112000,"timestamp_ms":1784099112000,"timestamp_seconds":1784099112,"priority":1,"record_length":96,"hex_timestamp":"0000019f64980440"} 
[2026-07-15 12:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 12:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:40:38] 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-07-15 12:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729295616001,"66":25604,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729295616001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:40:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:40:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729295616001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":132514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:40:38] local.INFO: GPS data processed {"connection_id":132514,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:40:38] local.INFO: Acknowledgment sent {"connection_id":132514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:41:01] local.INFO: TCP Data received {"connection_id":134723,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:41:01] local.INFO: Processing buffer {"connection_id":134723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:41:01] local.INFO: IMEI packet received {"connection_id":134723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":134723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:41:06] local.INFO: TCP Data received {"connection_id":134723,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:41:06] local.INFO: Processing buffer {"connection_id":134723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:41:06] local.INFO: IMEI packet received {"connection_id":134723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":134723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:41:08] local.INFO: TCP Data received {"connection_id":134723,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f649c9c08012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f649c9c08012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:41:08] local.INFO: Processing buffer {"connection_id":134723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f649c9c08012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:41:08] local.INFO: Packet analysis {"connection_id":134723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f649c"} 
[2026-07-15 12:41:08] local.INFO: Extracted packet for processing {"connection_id":134723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f649c"} 
[2026-07-15 12:41:08] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12: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-07-15 12:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729372672001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784099413000,"timestamp_ms":1784099413000,"timestamp_seconds":1784099413,"priority":1,"record_length":96,"hex_timestamp":"0000019f649c9c08"} 
[2026-07-15 12:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 12:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12: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-07-15 12:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 12:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729372672001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729372672001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:41:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:41:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729372672001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":134723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:41:08] local.INFO: GPS data processed {"connection_id":134723,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:41:08] local.INFO: Acknowledgment sent {"connection_id":134723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:41:39] local.INFO: TCP Data received {"connection_id":134723,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f649c9c08012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f649c9c08012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:41:39] local.INFO: Processing buffer {"connection_id":134723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f649c9c08012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:41:39] local.INFO: Packet analysis {"connection_id":134723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f649c"} 
[2026-07-15 12:41:39] local.INFO: Extracted packet for processing {"connection_id":134723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f649c"} 
[2026-07-15 12:41:39] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12: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-07-15 12:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729372672001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784099413000,"timestamp_ms":1784099413000,"timestamp_seconds":1784099413,"priority":1,"record_length":96,"hex_timestamp":"0000019f649c9c08"} 
[2026-07-15 12:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 12:41:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12: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-07-15 12:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:41:39] 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-07-15 12:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729372672001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729372672001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:41:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:41:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729372672001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":134723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:41:39] local.INFO: GPS data processed {"connection_id":134723,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:41:39] local.INFO: Acknowledgment sent {"connection_id":134723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:41:51] local.INFO: TCP Data received {"connection_id":133357,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133357,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:41:51] local.INFO: Processing buffer {"connection_id":133357,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:41:51] local.INFO: IMEI packet received {"connection_id":133357,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 12:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":133357,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:42:01] local.INFO: TCP Data received {"connection_id":134724,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:42:01] local.INFO: Processing buffer {"connection_id":134724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:42:01] local.INFO: IMEI packet received {"connection_id":134724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":134724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:42:06] local.INFO: TCP Data received {"connection_id":134724,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:42:06] local.INFO: Processing buffer {"connection_id":134724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:42:06] local.INFO: IMEI packet received {"connection_id":134724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":134724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:42:07] local.INFO: TCP Data received {"connection_id":134724,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f649c9c08012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f649c9c08012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:42:07] local.INFO: Processing buffer {"connection_id":134724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f649c9c08012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:42:07] local.INFO: Packet analysis {"connection_id":134724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f649c"} 
[2026-07-15 12:42:07] local.INFO: Extracted packet for processing {"connection_id":134724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f649c"} 
[2026-07-15 12:42:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729372672001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784099413000,"timestamp_ms":1784099413000,"timestamp_seconds":1784099413,"priority":1,"record_length":96,"hex_timestamp":"0000019f649c9c08"} 
[2026-07-15 12:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:42:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 12:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:42:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:42:07] 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-07-15 12:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729372672001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729372672001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:42:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:42:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729372672001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":134724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:42:07] local.INFO: GPS data processed {"connection_id":134724,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:42:07] local.INFO: Acknowledgment sent {"connection_id":134724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:42:38] local.INFO: TCP Data received {"connection_id":134724,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f649c9c08012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f649c9c08012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:42:38] local.INFO: Processing buffer {"connection_id":134724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f649c9c08012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:42:38] local.INFO: Packet analysis {"connection_id":134724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f649c"} 
[2026-07-15 12:42:38] local.INFO: Extracted packet for processing {"connection_id":134724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f649c"} 
[2026-07-15 12:42:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729372672001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784099413000,"timestamp_ms":1784099413000,"timestamp_seconds":1784099413,"priority":1,"record_length":96,"hex_timestamp":"0000019f649c9c08"} 
[2026-07-15 12:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 12:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12: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-07-15 12:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 12:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729372672001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729372672001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:42:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:42:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729372672001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":134724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:42:38] local.INFO: GPS data processed {"connection_id":134724,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:42:38] local.INFO: Acknowledgment sent {"connection_id":134724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:43:01] local.INFO: TCP Data received {"connection_id":132515,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:43:01] local.INFO: Processing buffer {"connection_id":132515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:43:01] local.INFO: IMEI packet received {"connection_id":132515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":132515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:43:06] local.INFO: TCP Data received {"connection_id":132515,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:43:06] local.INFO: Processing buffer {"connection_id":132515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:43:06] local.INFO: IMEI packet received {"connection_id":132515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":132515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:43:07] local.INFO: TCP Data received {"connection_id":132515,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f649c9c08012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f649c9c08012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:43:07] local.INFO: Processing buffer {"connection_id":132515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f649c9c08012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:43:07] local.INFO: Packet analysis {"connection_id":132515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f649c"} 
[2026-07-15 12:43:07] local.INFO: Extracted packet for processing {"connection_id":132515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f649c"} 
[2026-07-15 12:43:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729372672001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784099413000,"timestamp_ms":1784099413000,"timestamp_seconds":1784099413,"priority":1,"record_length":96,"hex_timestamp":"0000019f649c9c08"} 
[2026-07-15 12:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 12:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 12:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729372672001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729372672001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:43:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:43:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729372672001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":132515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:43:07] local.INFO: GPS data processed {"connection_id":132515,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:43:07] local.INFO: Acknowledgment sent {"connection_id":132515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:43:38] local.INFO: TCP Data received {"connection_id":132515,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f649c9c08012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f649c9c08012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:43:38] local.INFO: Processing buffer {"connection_id":132515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f649c9c08012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:43:38] local.INFO: Packet analysis {"connection_id":132515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f649c"} 
[2026-07-15 12:43:38] local.INFO: Extracted packet for processing {"connection_id":132515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f649c"} 
[2026-07-15 12:43:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729372672001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784099413000,"timestamp_ms":1784099413000,"timestamp_seconds":1784099413,"priority":1,"record_length":96,"hex_timestamp":"0000019f649c9c08"} 
[2026-07-15 12:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 12:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 12:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729372672001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729372672001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:43:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:43:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729372672001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":132515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:43:38] local.INFO: GPS data processed {"connection_id":132515,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:43:38] local.INFO: Acknowledgment sent {"connection_id":132515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:44:01] local.INFO: TCP Data received {"connection_id":134725,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:44:01] local.INFO: Processing buffer {"connection_id":134725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:44:01] local.INFO: IMEI packet received {"connection_id":134725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":134725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:44:06] local.INFO: TCP Data received {"connection_id":134725,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:44:06] local.INFO: Processing buffer {"connection_id":134725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:44:06] local.INFO: IMEI packet received {"connection_id":134725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":134725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:44:07] local.INFO: TCP Data received {"connection_id":134725,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f649c9c08012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f649c9c08012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:44:07] local.INFO: Processing buffer {"connection_id":134725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f649c9c08012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:44:07] local.INFO: Packet analysis {"connection_id":134725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f649c"} 
[2026-07-15 12:44:07] local.INFO: Extracted packet for processing {"connection_id":134725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f649c"} 
[2026-07-15 12:44:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12: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-07-15 12:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729372672001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784099413000,"timestamp_ms":1784099413000,"timestamp_seconds":1784099413,"priority":1,"record_length":96,"hex_timestamp":"0000019f649c9c08"} 
[2026-07-15 12:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 12:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12: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-07-15 12:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 12:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729372672001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729372672001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:44:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:44:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729372672001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":134725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:44:07] local.INFO: GPS data processed {"connection_id":134725,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:44:07] local.INFO: Acknowledgment sent {"connection_id":134725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:44:39] local.INFO: TCP Data received {"connection_id":134725,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f649c9c08012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f649c9c08012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:44:39] local.INFO: Processing buffer {"connection_id":134725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f649c9c08012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:44:39] local.INFO: Packet analysis {"connection_id":134725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f649c"} 
[2026-07-15 12:44:39] local.INFO: Extracted packet for processing {"connection_id":134725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f649c"} 
[2026-07-15 12:44:39] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12: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-07-15 12:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729372672001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:44:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784099413000,"timestamp_ms":1784099413000,"timestamp_seconds":1784099413,"priority":1,"record_length":96,"hex_timestamp":"0000019f649c9c08"} 
[2026-07-15 12:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:44:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 12:44:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12: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-07-15 12:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:44:39] 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-07-15 12:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729372672001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729372672001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:44:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:44:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729372672001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":134725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:44:39] local.INFO: GPS data processed {"connection_id":134725,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:44:39] local.INFO: Acknowledgment sent {"connection_id":134725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:45:01] local.INFO: TCP Data received {"connection_id":132329,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:45:01] local.INFO: Processing buffer {"connection_id":132329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:45:01] local.INFO: IMEI packet received {"connection_id":132329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":132329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:45:06] local.INFO: TCP Data received {"connection_id":132329,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:45:06] local.INFO: Processing buffer {"connection_id":132329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:45:06] local.INFO: IMEI packet received {"connection_id":132329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":132329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:45:07] local.INFO: TCP Data received {"connection_id":132329,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f649c9c08012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f649c9c08012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:45:07] local.INFO: Processing buffer {"connection_id":132329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f649c9c08012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:45:07] local.INFO: Packet analysis {"connection_id":132329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f649c"} 
[2026-07-15 12:45:07] local.INFO: Extracted packet for processing {"connection_id":132329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f649c"} 
[2026-07-15 12:45:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729372672001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784099413000,"timestamp_ms":1784099413000,"timestamp_seconds":1784099413,"priority":1,"record_length":96,"hex_timestamp":"0000019f649c9c08"} 
[2026-07-15 12:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 12:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 12:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729372672001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729372672001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:45:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:45:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729372672001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":132329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:45:07] local.INFO: GPS data processed {"connection_id":132329,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:45:07] local.INFO: Acknowledgment sent {"connection_id":132329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:45:38] local.INFO: TCP Data received {"connection_id":132329,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f649c9c08012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f649c9c08012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:45:38] local.INFO: Processing buffer {"connection_id":132329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f649c9c08012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:45:38] local.INFO: Packet analysis {"connection_id":132329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f649c"} 
[2026-07-15 12:45:38] local.INFO: Extracted packet for processing {"connection_id":132329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f649c"} 
[2026-07-15 12:45:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12: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-07-15 12:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729372672001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784099413000,"timestamp_ms":1784099413000,"timestamp_seconds":1784099413,"priority":1,"record_length":96,"hex_timestamp":"0000019f649c9c08"} 
[2026-07-15 12:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 12:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12: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-07-15 12:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:45:38] 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-07-15 12:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729372672001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729372672001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:45:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:45:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729372672001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":132329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:45:38] local.INFO: GPS data processed {"connection_id":132329,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:45:38] local.INFO: Acknowledgment sent {"connection_id":132329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:46:06] local.INFO: TCP Data received {"connection_id":134726,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:46:06] local.INFO: Processing buffer {"connection_id":134726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:46:06] local.INFO: IMEI packet received {"connection_id":134726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":134726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:46:11] local.INFO: TCP Data received {"connection_id":134726,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:46:11] local.INFO: Processing buffer {"connection_id":134726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:46:11] local.INFO: IMEI packet received {"connection_id":134726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":134726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:46:12] local.INFO: TCP Data received {"connection_id":134726,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f64a133d0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64a133d0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:46:12] local.INFO: Processing buffer {"connection_id":134726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64a133d0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:46:12] local.INFO: Packet analysis {"connection_id":134726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64a1"} 
[2026-07-15 12:46:12] local.INFO: Extracted packet for processing {"connection_id":134726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64a1"} 
[2026-07-15 12:46:12] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12: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-07-15 12:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729449728001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:46:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784099714000,"timestamp_ms":1784099714000,"timestamp_seconds":1784099714,"priority":1,"record_length":96,"hex_timestamp":"0000019f64a133d0"} 
[2026-07-15 12:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 12:46:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12: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-07-15 12:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":134726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":134726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":134726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:46:12] 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-07-15 12:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729449728001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729449728001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:46:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:46:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:46:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729449728001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":134726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:46:12] local.INFO: GPS data processed {"connection_id":134726,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:46:12] local.INFO: Acknowledgment sent {"connection_id":134726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:46:16] local.INFO: TCP Data received {"connection_id":134726,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f64a133d0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64a133d0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:46:16] local.INFO: Processing buffer {"connection_id":134726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64a133d0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:46:16] local.INFO: Packet analysis {"connection_id":134726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64a1"} 
[2026-07-15 12:46:16] local.INFO: Extracted packet for processing {"connection_id":134726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64a1"} 
[2026-07-15 12:46:16] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729449728001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:46:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784099714000,"timestamp_ms":1784099714000,"timestamp_seconds":1784099714,"priority":1,"record_length":96,"hex_timestamp":"0000019f64a133d0"} 
[2026-07-15 12:46:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:46:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 12:46:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:46:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:46:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":134726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":134726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":134726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:46:16] 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-07-15 12:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729449728001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729449728001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:46:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:46:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:46:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729449728001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":134726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:46:16] local.INFO: GPS data processed {"connection_id":134726,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:46:16] local.INFO: Acknowledgment sent {"connection_id":134726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:47:01] local.INFO: TCP Data received {"connection_id":133359,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:47:01] local.INFO: Processing buffer {"connection_id":133359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:47:01] local.INFO: IMEI packet received {"connection_id":133359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":133359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:47:06] local.INFO: TCP Data received {"connection_id":133359,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:47:06] local.INFO: Processing buffer {"connection_id":133359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:47:06] local.INFO: IMEI packet received {"connection_id":133359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":133359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:47:07] local.INFO: TCP Data received {"connection_id":133359,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f64a133d0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64a133d0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:47:07] local.INFO: Processing buffer {"connection_id":133359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64a133d0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:47:07] local.INFO: Packet analysis {"connection_id":133359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64a1"} 
[2026-07-15 12:47:07] local.INFO: Extracted packet for processing {"connection_id":133359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64a1"} 
[2026-07-15 12:47:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729449728001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784099714000,"timestamp_ms":1784099714000,"timestamp_seconds":1784099714,"priority":1,"record_length":96,"hex_timestamp":"0000019f64a133d0"} 
[2026-07-15 12:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 12:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:47:07] 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-07-15 12:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729449728001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729449728001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:47:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:47:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729449728001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":133359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:47:07] local.INFO: GPS data processed {"connection_id":133359,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:47:07] local.INFO: Acknowledgment sent {"connection_id":133359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:47:38] local.INFO: TCP Data received {"connection_id":133359,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f64a133d0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64a133d0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:47:38] local.INFO: Processing buffer {"connection_id":133359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64a133d0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:47:38] local.INFO: Packet analysis {"connection_id":133359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64a1"} 
[2026-07-15 12:47:38] local.INFO: Extracted packet for processing {"connection_id":133359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64a1"} 
[2026-07-15 12:47:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12: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-07-15 12:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729449728001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784099714000,"timestamp_ms":1784099714000,"timestamp_seconds":1784099714,"priority":1,"record_length":96,"hex_timestamp":"0000019f64a133d0"} 
[2026-07-15 12:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 12:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12: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-07-15 12:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:47:38] 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-07-15 12:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729449728001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729449728001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:47:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:47:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729449728001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":133359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:47:38] local.INFO: GPS data processed {"connection_id":133359,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:47:38] local.INFO: Acknowledgment sent {"connection_id":133359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:47:39] local.INFO: TCP Data received {"connection_id":134728,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134728,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:47:39] local.INFO: Processing buffer {"connection_id":134728,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:47:39] local.INFO: IMEI packet received {"connection_id":134728,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 12:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":134728,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:48:01] local.INFO: TCP Data received {"connection_id":133360,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:48:01] local.INFO: Processing buffer {"connection_id":133360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:48:01] local.INFO: IMEI packet received {"connection_id":133360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":133360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:48:06] local.INFO: TCP Data received {"connection_id":133360,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:48:06] local.INFO: Processing buffer {"connection_id":133360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:48:06] local.INFO: IMEI packet received {"connection_id":133360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":133360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:48:07] local.INFO: TCP Data received {"connection_id":133360,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f64a133d0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64a133d0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:48:07] local.INFO: Processing buffer {"connection_id":133360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64a133d0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:48:07] local.INFO: Packet analysis {"connection_id":133360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64a1"} 
[2026-07-15 12:48:07] local.INFO: Extracted packet for processing {"connection_id":133360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64a1"} 
[2026-07-15 12:48:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729449728001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784099714000,"timestamp_ms":1784099714000,"timestamp_seconds":1784099714,"priority":1,"record_length":96,"hex_timestamp":"0000019f64a133d0"} 
[2026-07-15 12:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 12:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 12:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729449728001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729449728001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:48:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:48:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729449728001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":133360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:48:07] local.INFO: GPS data processed {"connection_id":133360,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:48:07] local.INFO: Acknowledgment sent {"connection_id":133360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:48:38] local.INFO: TCP Data received {"connection_id":133360,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f64a133d0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64a133d0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:48:38] local.INFO: Processing buffer {"connection_id":133360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64a133d0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:48:38] local.INFO: Packet analysis {"connection_id":133360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64a1"} 
[2026-07-15 12:48:38] local.INFO: Extracted packet for processing {"connection_id":133360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64a1"} 
[2026-07-15 12:48:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12: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-07-15 12:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729449728001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784099714000,"timestamp_ms":1784099714000,"timestamp_seconds":1784099714,"priority":1,"record_length":96,"hex_timestamp":"0000019f64a133d0"} 
[2026-07-15 12:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 12:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12: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-07-15 12:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 12:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729449728001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729449728001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:48:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:48:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729449728001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":133360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:48:38] local.INFO: GPS data processed {"connection_id":133360,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:48:38] local.INFO: Acknowledgment sent {"connection_id":133360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:49:01] local.INFO: TCP Data received {"connection_id":132518,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:49:01] local.INFO: Processing buffer {"connection_id":132518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:49:01] local.INFO: IMEI packet received {"connection_id":132518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":132518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:49:06] local.INFO: TCP Data received {"connection_id":132518,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:49:06] local.INFO: Processing buffer {"connection_id":132518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:49:06] local.INFO: IMEI packet received {"connection_id":132518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":132518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:49:07] local.INFO: TCP Data received {"connection_id":132518,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f64a133d0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64a133d0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:49:07] local.INFO: Processing buffer {"connection_id":132518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64a133d0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:49:07] local.INFO: Packet analysis {"connection_id":132518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64a1"} 
[2026-07-15 12:49:07] local.INFO: Extracted packet for processing {"connection_id":132518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64a1"} 
[2026-07-15 12:49:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729449728001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784099714000,"timestamp_ms":1784099714000,"timestamp_seconds":1784099714,"priority":1,"record_length":96,"hex_timestamp":"0000019f64a133d0"} 
[2026-07-15 12:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 12:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 12:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729449728001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729449728001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:49:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:49:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729449728001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":132518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:49:07] local.INFO: GPS data processed {"connection_id":132518,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:49:07] local.INFO: Acknowledgment sent {"connection_id":132518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:49:39] local.INFO: TCP Data received {"connection_id":132518,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f64a133d0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64a133d0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:49:39] local.INFO: Processing buffer {"connection_id":132518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64a133d0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:49:39] local.INFO: Packet analysis {"connection_id":132518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64a1"} 
[2026-07-15 12:49:39] local.INFO: Extracted packet for processing {"connection_id":132518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64a1"} 
[2026-07-15 12:49:39] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729449728001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784099714000,"timestamp_ms":1784099714000,"timestamp_seconds":1784099714,"priority":1,"record_length":96,"hex_timestamp":"0000019f64a133d0"} 
[2026-07-15 12:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 12:49:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 12:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729449728001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729449728001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:49:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:49:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729449728001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":132518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:49:39] local.INFO: GPS data processed {"connection_id":132518,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:49:39] local.INFO: Acknowledgment sent {"connection_id":132518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:50:06] local.INFO: TCP Data received {"connection_id":132519,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:50:06] local.INFO: Processing buffer {"connection_id":132519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:50:06] local.INFO: IMEI packet received {"connection_id":132519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":132519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:50:11] local.INFO: TCP Data received {"connection_id":132519,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:50:11] local.INFO: Processing buffer {"connection_id":132519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:50:11] local.INFO: IMEI packet received {"connection_id":132519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":132519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:50:12] local.INFO: TCP Data received {"connection_id":132519,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f64a133d0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64a133d0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:50:12] local.INFO: Processing buffer {"connection_id":132519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64a133d0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:50:12] local.INFO: Packet analysis {"connection_id":132519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64a1"} 
[2026-07-15 12:50:12] local.INFO: Extracted packet for processing {"connection_id":132519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64a1"} 
[2026-07-15 12:50:12] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729449728001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784099714000,"timestamp_ms":1784099714000,"timestamp_seconds":1784099714,"priority":1,"record_length":96,"hex_timestamp":"0000019f64a133d0"} 
[2026-07-15 12:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 12:50:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:50:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 12:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729449728001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729449728001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:50:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:50:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729449728001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":132519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:50:12] local.INFO: GPS data processed {"connection_id":132519,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:50:12] local.INFO: Acknowledgment sent {"connection_id":132519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:50:44] local.INFO: TCP Data received {"connection_id":132519,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f64a133d0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64a133d0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:50:44] local.INFO: Processing buffer {"connection_id":132519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64a133d0012d7f998005afdce00000011c2a..."} 
[2026-07-15 12:50:44] local.INFO: Packet analysis {"connection_id":132519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64a1"} 
[2026-07-15 12:50:44] local.INFO: Extracted packet for processing {"connection_id":132519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64a1"} 
[2026-07-15 12:50:44] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:50:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729449728001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:50:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:50:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784099714000,"timestamp_ms":1784099714000,"timestamp_seconds":1784099714,"priority":1,"record_length":96,"hex_timestamp":"0000019f64a133d0"} 
[2026-07-15 12:50:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:50:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 12:50:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:50:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:50:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":132519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":132519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":132519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:50:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 12:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729449728001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729449728001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:50:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:50:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:50:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:50:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729449728001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":132519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:50:44] local.INFO: GPS data processed {"connection_id":132519,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:50:44] local.INFO: Acknowledgment sent {"connection_id":132519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:51:01] local.INFO: TCP Data received {"connection_id":134729,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:51:01] local.INFO: Processing buffer {"connection_id":134729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:51:01] local.INFO: IMEI packet received {"connection_id":134729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":134729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:51:06] local.INFO: TCP Data received {"connection_id":134729,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:51:06] local.INFO: Processing buffer {"connection_id":134729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:51:06] local.INFO: IMEI packet received {"connection_id":134729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":134729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:51:07] local.INFO: TCP Data received {"connection_id":134729,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f64a5cb98012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64a5cb98012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:51:07] local.INFO: Processing buffer {"connection_id":134729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64a5cb98012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:51:07] local.INFO: Packet analysis {"connection_id":134729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64a5"} 
[2026-07-15 12:51:07] local.INFO: Extracted packet for processing {"connection_id":134729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64a5"} 
[2026-07-15 12:51:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729526784001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784100015000,"timestamp_ms":1784100015000,"timestamp_seconds":1784100015,"priority":1,"record_length":96,"hex_timestamp":"0000019f64a5cb98"} 
[2026-07-15 12:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 12:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:51:07] 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-07-15 12:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729526784001,"66":25625,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729526784001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:51:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:51:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729526784001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":134729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:51:07] local.INFO: GPS data processed {"connection_id":134729,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:51:07] local.INFO: Acknowledgment sent {"connection_id":134729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:51:38] local.INFO: TCP Data received {"connection_id":134729,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f64a5cb98012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64a5cb98012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:51:38] local.INFO: Processing buffer {"connection_id":134729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64a5cb98012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:51:38] local.INFO: Packet analysis {"connection_id":134729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64a5"} 
[2026-07-15 12:51:38] local.INFO: Extracted packet for processing {"connection_id":134729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64a5"} 
[2026-07-15 12:51:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729526784001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784100015000,"timestamp_ms":1784100015000,"timestamp_seconds":1784100015,"priority":1,"record_length":96,"hex_timestamp":"0000019f64a5cb98"} 
[2026-07-15 12:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 12:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 12:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729526784001,"66":25625,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729526784001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:51:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:51:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729526784001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":134729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:51:38] local.INFO: GPS data processed {"connection_id":134729,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:51:38] local.INFO: Acknowledgment sent {"connection_id":134729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:52:01] local.INFO: TCP Data received {"connection_id":133363,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:52:01] local.INFO: Processing buffer {"connection_id":133363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:52:01] local.INFO: IMEI packet received {"connection_id":133363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":133363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:52:06] local.INFO: TCP Data received {"connection_id":133363,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:52:06] local.INFO: Processing buffer {"connection_id":133363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:52:06] local.INFO: IMEI packet received {"connection_id":133363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":133363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:52:07] local.INFO: TCP Data received {"connection_id":133363,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f64a5cb98012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64a5cb98012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:52:07] local.INFO: Processing buffer {"connection_id":133363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64a5cb98012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:52:07] local.INFO: Packet analysis {"connection_id":133363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64a5"} 
[2026-07-15 12:52:07] local.INFO: Extracted packet for processing {"connection_id":133363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64a5"} 
[2026-07-15 12:52:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729526784001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784100015000,"timestamp_ms":1784100015000,"timestamp_seconds":1784100015,"priority":1,"record_length":96,"hex_timestamp":"0000019f64a5cb98"} 
[2026-07-15 12:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 12:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:52:07] 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-07-15 12:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729526784001,"66":25625,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729526784001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:52:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:52:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729526784001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":133363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:52:07] local.INFO: GPS data processed {"connection_id":133363,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:52:07] local.INFO: Acknowledgment sent {"connection_id":133363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:52:38] local.INFO: TCP Data received {"connection_id":133363,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f64a5cb98012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64a5cb98012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:52:38] local.INFO: Processing buffer {"connection_id":133363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64a5cb98012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:52:38] local.INFO: Packet analysis {"connection_id":133363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64a5"} 
[2026-07-15 12:52:38] local.INFO: Extracted packet for processing {"connection_id":133363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64a5"} 
[2026-07-15 12:52:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729526784001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784100015000,"timestamp_ms":1784100015000,"timestamp_seconds":1784100015,"priority":1,"record_length":96,"hex_timestamp":"0000019f64a5cb98"} 
[2026-07-15 12:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 12:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:52:38] 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-07-15 12:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729526784001,"66":25625,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729526784001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:52:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:52:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729526784001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":133363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:52:38] local.INFO: GPS data processed {"connection_id":133363,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:52:38] local.INFO: Acknowledgment sent {"connection_id":133363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:53:01] local.INFO: TCP Data received {"connection_id":132521,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:53:01] local.INFO: Processing buffer {"connection_id":132521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:53:01] local.INFO: IMEI packet received {"connection_id":132521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":132521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:53:06] local.INFO: TCP Data received {"connection_id":132521,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:53:06] local.INFO: Processing buffer {"connection_id":132521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:53:06] local.INFO: IMEI packet received {"connection_id":132521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":132521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:53:07] local.INFO: TCP Data received {"connection_id":132521,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f64a5cb98012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64a5cb98012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:53:07] local.INFO: Processing buffer {"connection_id":132521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64a5cb98012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:53:07] local.INFO: Packet analysis {"connection_id":132521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64a5"} 
[2026-07-15 12:53:07] local.INFO: Extracted packet for processing {"connection_id":132521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64a5"} 
[2026-07-15 12:53:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729526784001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784100015000,"timestamp_ms":1784100015000,"timestamp_seconds":1784100015,"priority":1,"record_length":96,"hex_timestamp":"0000019f64a5cb98"} 
[2026-07-15 12:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 12:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:53:07] 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-07-15 12:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729526784001,"66":25625,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729526784001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:53:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:53:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729526784001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":132521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:53:07] local.INFO: GPS data processed {"connection_id":132521,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:53:07] local.INFO: Acknowledgment sent {"connection_id":132521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:53:15] local.INFO: TCP Data received {"connection_id":132331,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132331,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:53:15] local.INFO: Processing buffer {"connection_id":132331,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:53:15] local.INFO: IMEI packet received {"connection_id":132331,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 12:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":132331,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:53:35] local.INFO: TCP Data received {"connection_id":134730,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134730,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:53:35] local.INFO: Processing buffer {"connection_id":134730,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:53:35] local.INFO: IMEI packet received {"connection_id":134730,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 12:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":134730,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:53:38] local.INFO: TCP Data received {"connection_id":132521,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f64a5cb98012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64a5cb98012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:53:38] local.INFO: Processing buffer {"connection_id":132521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64a5cb98012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:53:38] local.INFO: Packet analysis {"connection_id":132521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64a5"} 
[2026-07-15 12:53:38] local.INFO: Extracted packet for processing {"connection_id":132521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64a5"} 
[2026-07-15 12:53:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12: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-07-15 12:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729526784001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784100015000,"timestamp_ms":1784100015000,"timestamp_seconds":1784100015,"priority":1,"record_length":96,"hex_timestamp":"0000019f64a5cb98"} 
[2026-07-15 12:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 12:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12: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-07-15 12:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 12:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729526784001,"66":25625,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729526784001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:53:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:53:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729526784001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":132521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:53:38] local.INFO: GPS data processed {"connection_id":132521,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:53:38] local.INFO: Acknowledgment sent {"connection_id":132521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:54:06] local.INFO: TCP Data received {"connection_id":133364,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:54:06] local.INFO: Processing buffer {"connection_id":133364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:54:06] local.INFO: IMEI packet received {"connection_id":133364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":133364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:54:11] local.INFO: TCP Data received {"connection_id":133364,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:54:11] local.INFO: Processing buffer {"connection_id":133364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:54:11] local.INFO: IMEI packet received {"connection_id":133364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":133364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:54:12] local.INFO: TCP Data received {"connection_id":133364,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f64a5cb98012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64a5cb98012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:54:12] local.INFO: Processing buffer {"connection_id":133364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64a5cb98012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:54:12] local.INFO: Packet analysis {"connection_id":133364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64a5"} 
[2026-07-15 12:54:12] local.INFO: Extracted packet for processing {"connection_id":133364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64a5"} 
[2026-07-15 12:54:12] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729526784001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:54:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:54:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784100015000,"timestamp_ms":1784100015000,"timestamp_seconds":1784100015,"priority":1,"record_length":96,"hex_timestamp":"0000019f64a5cb98"} 
[2026-07-15 12:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:54:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 12:54:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:54:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":133364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":133364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":133364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:54:12] 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-07-15 12:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729526784001,"66":25625,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729526784001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:54:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:54:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:54:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729526784001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":133364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:54:12] local.INFO: GPS data processed {"connection_id":133364,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:54:12] local.INFO: Acknowledgment sent {"connection_id":133364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:54:16] local.INFO: TCP Data received {"connection_id":133364,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f64a5cb98012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64a5cb98012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:54:16] local.INFO: Processing buffer {"connection_id":133364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64a5cb98012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:54:16] local.INFO: Packet analysis {"connection_id":133364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64a5"} 
[2026-07-15 12:54:16] local.INFO: Extracted packet for processing {"connection_id":133364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64a5"} 
[2026-07-15 12:54:16] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729526784001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:54:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784100015000,"timestamp_ms":1784100015000,"timestamp_seconds":1784100015,"priority":1,"record_length":96,"hex_timestamp":"0000019f64a5cb98"} 
[2026-07-15 12:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:54:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 12:54:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":133364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":133364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":133364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 12:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729526784001,"66":25625,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729526784001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:54:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:54:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729526784001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":133364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:54:16] local.INFO: GPS data processed {"connection_id":133364,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:54:16] local.INFO: Acknowledgment sent {"connection_id":133364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:55:01] local.INFO: TCP Data received {"connection_id":132523,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:55:01] local.INFO: Processing buffer {"connection_id":132523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:55:01] local.INFO: IMEI packet received {"connection_id":132523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":132523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:55:06] local.INFO: TCP Data received {"connection_id":132523,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:55:06] local.INFO: Processing buffer {"connection_id":132523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:55:06] local.INFO: IMEI packet received {"connection_id":132523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":132523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:55:07] local.INFO: TCP Data received {"connection_id":132523,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f64a5cb98012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64a5cb98012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:55:07] local.INFO: Processing buffer {"connection_id":132523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64a5cb98012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:55:07] local.INFO: Packet analysis {"connection_id":132523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64a5"} 
[2026-07-15 12:55:07] local.INFO: Extracted packet for processing {"connection_id":132523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64a5"} 
[2026-07-15 12:55:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729526784001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784100015000,"timestamp_ms":1784100015000,"timestamp_seconds":1784100015,"priority":1,"record_length":96,"hex_timestamp":"0000019f64a5cb98"} 
[2026-07-15 12:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 12:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:55:07] 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-07-15 12:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729526784001,"66":25625,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729526784001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:55:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:55:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729526784001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":132523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:55:07] local.INFO: GPS data processed {"connection_id":132523,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:55:07] local.INFO: Acknowledgment sent {"connection_id":132523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:55:38] local.INFO: TCP Data received {"connection_id":132523,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f64a5cb98012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64a5cb98012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:55:38] local.INFO: Processing buffer {"connection_id":132523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64a5cb98012d7f998005afdce00000011c2b..."} 
[2026-07-15 12:55:38] local.INFO: Packet analysis {"connection_id":132523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64a5"} 
[2026-07-15 12:55:38] local.INFO: Extracted packet for processing {"connection_id":132523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64a5"} 
[2026-07-15 12:55:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12: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-07-15 12:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729526784001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784100015000,"timestamp_ms":1784100015000,"timestamp_seconds":1784100015,"priority":1,"record_length":96,"hex_timestamp":"0000019f64a5cb98"} 
[2026-07-15 12:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 12:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12: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-07-15 12:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:55:38] 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-07-15 12:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729526784001,"66":25625,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729526784001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:55:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:55:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729526784001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":132523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:55:38] local.INFO: GPS data processed {"connection_id":132523,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:55:38] local.INFO: Acknowledgment sent {"connection_id":132523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:56:01] local.INFO: TCP Data received {"connection_id":134731,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:56:01] local.INFO: Processing buffer {"connection_id":134731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:56:01] local.INFO: IMEI packet received {"connection_id":134731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":134731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:56:06] local.INFO: TCP Data received {"connection_id":134731,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:56:06] local.INFO: Processing buffer {"connection_id":134731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:56:06] local.INFO: IMEI packet received {"connection_id":134731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":134731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:56:07] local.INFO: TCP Data received {"connection_id":134731,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f64aa6360012d7f998005afdce00000011c2d..."} 
[2026-07-15 12:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64aa6360012d7f998005afdce00000011c2d..."} 
[2026-07-15 12:56:07] local.INFO: Processing buffer {"connection_id":134731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64aa6360012d7f998005afdce00000011c2d..."} 
[2026-07-15 12:56:07] local.INFO: Packet analysis {"connection_id":134731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64aa"} 
[2026-07-15 12:56:07] local.INFO: Extracted packet for processing {"connection_id":134731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64aa"} 
[2026-07-15 12:56:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":45,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729603840001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784100316000,"timestamp_ms":1784100316000,"timestamp_seconds":1784100316,"priority":1,"record_length":96,"hex_timestamp":"0000019f64aa6360"} 
[2026-07-15 12:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 12:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:56:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:56:07] 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-07-15 12:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729603840001,"66":25604,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729603840001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:56:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:56:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729603840001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":134731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:56:07] local.INFO: GPS data processed {"connection_id":134731,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:56:07] local.INFO: Acknowledgment sent {"connection_id":134731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:56:38] local.INFO: TCP Data received {"connection_id":134731,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f64aa6360012d7f998005afdce00000011c2d..."} 
[2026-07-15 12:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64aa6360012d7f998005afdce00000011c2d..."} 
[2026-07-15 12:56:38] local.INFO: Processing buffer {"connection_id":134731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64aa6360012d7f998005afdce00000011c2d..."} 
[2026-07-15 12:56:38] local.INFO: Packet analysis {"connection_id":134731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64aa"} 
[2026-07-15 12:56:38] local.INFO: Extracted packet for processing {"connection_id":134731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64aa"} 
[2026-07-15 12:56:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":45,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729603840001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784100316000,"timestamp_ms":1784100316000,"timestamp_seconds":1784100316,"priority":1,"record_length":96,"hex_timestamp":"0000019f64aa6360"} 
[2026-07-15 12:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 12:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:56:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:56:38] 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-07-15 12:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729603840001,"66":25604,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729603840001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:56:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:56:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729603840001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":134731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:56:38] local.INFO: GPS data processed {"connection_id":134731,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:56:38] local.INFO: Acknowledgment sent {"connection_id":134731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:57:01] local.INFO: TCP Data received {"connection_id":132334,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:57:01] local.INFO: Processing buffer {"connection_id":132334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:57:01] local.INFO: IMEI packet received {"connection_id":132334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":132334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:57:06] local.INFO: TCP Data received {"connection_id":132334,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:57:06] local.INFO: Processing buffer {"connection_id":132334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:57:06] local.INFO: IMEI packet received {"connection_id":132334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":132334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:57:07] local.INFO: TCP Data received {"connection_id":132334,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f64aa6360012d7f998005afdce00000011c2d..."} 
[2026-07-15 12:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64aa6360012d7f998005afdce00000011c2d..."} 
[2026-07-15 12:57:07] local.INFO: Processing buffer {"connection_id":132334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64aa6360012d7f998005afdce00000011c2d..."} 
[2026-07-15 12:57:07] local.INFO: Packet analysis {"connection_id":132334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64aa"} 
[2026-07-15 12:57:07] local.INFO: Extracted packet for processing {"connection_id":132334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64aa"} 
[2026-07-15 12:57:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":45,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729603840001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784100316000,"timestamp_ms":1784100316000,"timestamp_seconds":1784100316,"priority":1,"record_length":96,"hex_timestamp":"0000019f64aa6360"} 
[2026-07-15 12:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 12:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:57:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 12:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729603840001,"66":25604,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729603840001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:57:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:57:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729603840001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":132334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:57:07] local.INFO: GPS data processed {"connection_id":132334,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:57:07] local.INFO: Acknowledgment sent {"connection_id":132334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:57:38] local.INFO: TCP Data received {"connection_id":132334,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f64aa6360012d7f998005afdce00000011c2d..."} 
[2026-07-15 12:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64aa6360012d7f998005afdce00000011c2d..."} 
[2026-07-15 12:57:38] local.INFO: Processing buffer {"connection_id":132334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64aa6360012d7f998005afdce00000011c2d..."} 
[2026-07-15 12:57:38] local.INFO: Packet analysis {"connection_id":132334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64aa"} 
[2026-07-15 12:57:38] local.INFO: Extracted packet for processing {"connection_id":132334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64aa"} 
[2026-07-15 12:57:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":45,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729603840001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784100316000,"timestamp_ms":1784100316000,"timestamp_seconds":1784100316,"priority":1,"record_length":96,"hex_timestamp":"0000019f64aa6360"} 
[2026-07-15 12:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 12:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:57:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 12:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729603840001,"66":25604,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729603840001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:57:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:57:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729603840001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":132334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:57:38] local.INFO: GPS data processed {"connection_id":132334,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:57:38] local.INFO: Acknowledgment sent {"connection_id":132334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:58:01] local.INFO: TCP Data received {"connection_id":132524,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:58:01] local.INFO: Processing buffer {"connection_id":132524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:58:01] local.INFO: IMEI packet received {"connection_id":132524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":132524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:58:06] local.INFO: TCP Data received {"connection_id":132524,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:58:06] local.INFO: Processing buffer {"connection_id":132524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:58:06] local.INFO: IMEI packet received {"connection_id":132524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":132524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:58:07] local.INFO: TCP Data received {"connection_id":132524,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f64aa6360012d7f998005afdce00000011c2d..."} 
[2026-07-15 12:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64aa6360012d7f998005afdce00000011c2d..."} 
[2026-07-15 12:58:07] local.INFO: Processing buffer {"connection_id":132524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64aa6360012d7f998005afdce00000011c2d..."} 
[2026-07-15 12:58:07] local.INFO: Packet analysis {"connection_id":132524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64aa"} 
[2026-07-15 12:58:07] local.INFO: Extracted packet for processing {"connection_id":132524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64aa"} 
[2026-07-15 12:58:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":45,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729603840001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784100316000,"timestamp_ms":1784100316000,"timestamp_seconds":1784100316,"priority":1,"record_length":96,"hex_timestamp":"0000019f64aa6360"} 
[2026-07-15 12:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:58:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 12:58:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:58:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:58:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 12:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729603840001,"66":25604,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729603840001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:58:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:58:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729603840001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":132524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:58:07] local.INFO: GPS data processed {"connection_id":132524,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:58:07] local.INFO: Acknowledgment sent {"connection_id":132524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:58:38] local.INFO: TCP Data received {"connection_id":132524,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f64aa6360012d7f998005afdce00000011c2d..."} 
[2026-07-15 12:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64aa6360012d7f998005afdce00000011c2d..."} 
[2026-07-15 12:58:38] local.INFO: Processing buffer {"connection_id":132524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64aa6360012d7f998005afdce00000011c2d..."} 
[2026-07-15 12:58:38] local.INFO: Packet analysis {"connection_id":132524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64aa"} 
[2026-07-15 12:58:38] local.INFO: Extracted packet for processing {"connection_id":132524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64aa"} 
[2026-07-15 12:58:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":45,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12: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-07-15 12:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729603840001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784100316000,"timestamp_ms":1784100316000,"timestamp_seconds":1784100316,"priority":1,"record_length":96,"hex_timestamp":"0000019f64aa6360"} 
[2026-07-15 12:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 12:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12: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-07-15 12:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 12:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729603840001,"66":25604,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729603840001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:58:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:58:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729603840001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":132524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:58:38] local.INFO: GPS data processed {"connection_id":132524,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:58:38] local.INFO: Acknowledgment sent {"connection_id":132524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:59:00] local.INFO: TCP Data received {"connection_id":134733,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134733,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:59:00] local.INFO: Processing buffer {"connection_id":134733,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:59:00] local.INFO: IMEI packet received {"connection_id":134733,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 12:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":134733,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:59:06] local.INFO: TCP Data received {"connection_id":132335,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:59:06] local.INFO: Processing buffer {"connection_id":132335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:59:06] local.INFO: IMEI packet received {"connection_id":132335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 12:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":132335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 12:59:11] local.INFO: TCP Data received {"connection_id":132335,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:59:11] local.INFO: Processing buffer {"connection_id":132335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 12:59:11] local.INFO: IMEI packet received {"connection_id":132335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 12:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":132335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 12:59:12] local.INFO: TCP Data received {"connection_id":132335,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f64aa6360012d7f998005afdce00000011c2d..."} 
[2026-07-15 12:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64aa6360012d7f998005afdce00000011c2d..."} 
[2026-07-15 12:59:12] local.INFO: Processing buffer {"connection_id":132335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64aa6360012d7f998005afdce00000011c2d..."} 
[2026-07-15 12:59:12] local.INFO: Packet analysis {"connection_id":132335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64aa"} 
[2026-07-15 12:59:12] local.INFO: Extracted packet for processing {"connection_id":132335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64aa"} 
[2026-07-15 12:59:12] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":45,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729603840001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784100316000,"timestamp_ms":1784100316000,"timestamp_seconds":1784100316,"priority":1,"record_length":96,"hex_timestamp":"0000019f64aa6360"} 
[2026-07-15 12:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:59:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 12:59:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:59:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:59:12] 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-07-15 12:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729603840001,"66":25604,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729603840001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:59:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:59:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729603840001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":132335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:59:12] local.INFO: GPS data processed {"connection_id":132335,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:59:12] local.INFO: Acknowledgment sent {"connection_id":132335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:59:16] local.INFO: TCP Data received {"connection_id":132335,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f64aa6360012d7f998005afdce00000011c2d..."} 
[2026-07-15 12:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64aa6360012d7f998005afdce00000011c2d..."} 
[2026-07-15 12:59:16] local.INFO: Processing buffer {"connection_id":132335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64aa6360012d7f998005afdce00000011c2d..."} 
[2026-07-15 12:59:16] local.INFO: Packet analysis {"connection_id":132335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64aa"} 
[2026-07-15 12:59:16] local.INFO: Extracted packet for processing {"connection_id":132335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64aa"} 
[2026-07-15 12:59:16] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":45,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 12:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 12:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729603840001,"note":"Value kept but may cause issues"} 
[2026-07-15 12:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 12:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 12:59:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 12:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784100316000,"timestamp_ms":1784100316000,"timestamp_seconds":1784100316,"priority":1,"record_length":96,"hex_timestamp":"0000019f64aa6360"} 
[2026-07-15 12:59:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 12:59:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 12:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 12:59:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 12:59:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 12:59:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 12:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 12:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 12:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 12:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 12:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 12:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 12:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729603840001,"66":25604,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 12:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 12:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 12:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729603840001,"description":"Unknown IO ID 0"} 
[2026-07-15 12:59:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 12:59:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 12:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 12:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 12:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729603840001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 12:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":132335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 12:59:16] local.INFO: GPS data processed {"connection_id":132335,"processed":1,"errors":0,"total":1} 
[2026-07-15 12:59:16] local.INFO: Acknowledgment sent {"connection_id":132335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 12:59:34] local.INFO: TCP Data received {"connection_id":133366,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133366,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:59:34] local.INFO: Processing buffer {"connection_id":133366,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 12:59:34] local.INFO: IMEI packet received {"connection_id":133366,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 12:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":133366,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:00:01] local.INFO: TCP Data received {"connection_id":133367,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:00:01] local.INFO: Processing buffer {"connection_id":133367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:00:01] local.INFO: IMEI packet received {"connection_id":133367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":133367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:00:06] local.INFO: TCP Data received {"connection_id":133367,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:00:06] local.INFO: Processing buffer {"connection_id":133367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:00:06] local.INFO: IMEI packet received {"connection_id":133367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":133367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:00:07] local.INFO: TCP Data received {"connection_id":133367,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f64aa6360012d7f998005afdce00000011c2d..."} 
[2026-07-15 13:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64aa6360012d7f998005afdce00000011c2d..."} 
[2026-07-15 13:00:07] local.INFO: Processing buffer {"connection_id":133367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64aa6360012d7f998005afdce00000011c2d..."} 
[2026-07-15 13:00:07] local.INFO: Packet analysis {"connection_id":133367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64aa"} 
[2026-07-15 13:00:07] local.INFO: Extracted packet for processing {"connection_id":133367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64aa"} 
[2026-07-15 13:00:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":45,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 13:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729603840001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 13:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 13:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784100316000,"timestamp_ms":1784100316000,"timestamp_seconds":1784100316,"priority":1,"record_length":96,"hex_timestamp":"0000019f64aa6360"} 
[2026-07-15 13:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 13:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 13:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:00:07] 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-07-15 13:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729603840001,"66":25604,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 13:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729603840001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:00:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 13:00:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 13:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729603840001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 13:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":133367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:00:07] local.INFO: GPS data processed {"connection_id":133367,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:00:07] local.INFO: Acknowledgment sent {"connection_id":133367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:00:39] local.INFO: TCP Data received {"connection_id":133367,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f64aa6360012d7f998005afdce00000011c2d..."} 
[2026-07-15 13:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64aa6360012d7f998005afdce00000011c2d..."} 
[2026-07-15 13:00:39] local.INFO: Processing buffer {"connection_id":133367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64aa6360012d7f998005afdce00000011c2d..."} 
[2026-07-15 13:00:39] local.INFO: Packet analysis {"connection_id":133367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64aa"} 
[2026-07-15 13:00:39] local.INFO: Extracted packet for processing {"connection_id":133367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64aa"} 
[2026-07-15 13:00:39] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":45,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 13: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-07-15 13:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729603840001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 13:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 13:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784100316000,"timestamp_ms":1784100316000,"timestamp_seconds":1784100316,"priority":1,"record_length":96,"hex_timestamp":"0000019f64aa6360"} 
[2026-07-15 13:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:00:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 13: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-15 13:00:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:00:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:00:39] 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-07-15 13:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729603840001,"66":25604,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 13:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729603840001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:00:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 13:00:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 13:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729603840001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 13:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":133367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:00:39] local.INFO: GPS data processed {"connection_id":133367,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:00:39] local.INFO: Acknowledgment sent {"connection_id":133367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:01:02] local.INFO: TCP Data received {"connection_id":132337,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:01:02] local.INFO: Processing buffer {"connection_id":132337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:01:02] local.INFO: IMEI packet received {"connection_id":132337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":132337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:01:06] local.INFO: TCP Data received {"connection_id":132337,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:01:06] local.INFO: Processing buffer {"connection_id":132337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:01:06] local.INFO: IMEI packet received {"connection_id":132337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":132337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:01:07] local.INFO: TCP Data received {"connection_id":132337,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f64aefb28012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64aefb28012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:01:07] local.INFO: Processing buffer {"connection_id":132337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64aefb28012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:01:07] local.INFO: Packet analysis {"connection_id":132337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64ae"} 
[2026-07-15 13:01:07] local.INFO: Extracted packet for processing {"connection_id":132337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64ae"} 
[2026-07-15 13:01:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 13:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729680896001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 13:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 13:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784100617000,"timestamp_ms":1784100617000,"timestamp_seconds":1784100617,"priority":1,"record_length":96,"hex_timestamp":"0000019f64aefb28"} 
[2026-07-15 13:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 13:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 13:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729680896001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 13:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729680896001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:01:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 13:01:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 13:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729680896001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 13:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":132337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:01:07] local.INFO: GPS data processed {"connection_id":132337,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:01:07] local.INFO: Acknowledgment sent {"connection_id":132337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:01:39] local.INFO: TCP Data received {"connection_id":132337,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f64aefb28012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64aefb28012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:01:39] local.INFO: Processing buffer {"connection_id":132337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64aefb28012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:01:39] local.INFO: Packet analysis {"connection_id":132337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64ae"} 
[2026-07-15 13:01:39] local.INFO: Extracted packet for processing {"connection_id":132337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64ae"} 
[2026-07-15 13:01:39] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 13: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-07-15 13:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729680896001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 13:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 13:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784100617000,"timestamp_ms":1784100617000,"timestamp_seconds":1784100617,"priority":1,"record_length":96,"hex_timestamp":"0000019f64aefb28"} 
[2026-07-15 13:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:01:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 13: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 13:01:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13: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-07-15 13:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:01:39] 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-07-15 13:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729680896001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 13:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729680896001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:01:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 13:01:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 13:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729680896001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 13:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":132337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:01:39] local.INFO: GPS data processed {"connection_id":132337,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:01:39] local.INFO: Acknowledgment sent {"connection_id":132337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:02:01] local.INFO: TCP Data received {"connection_id":132338,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:02:01] local.INFO: Processing buffer {"connection_id":132338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:02:01] local.INFO: IMEI packet received {"connection_id":132338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":132338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:02:06] local.INFO: TCP Data received {"connection_id":132338,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:02:06] local.INFO: Processing buffer {"connection_id":132338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:02:06] local.INFO: IMEI packet received {"connection_id":132338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":132338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:02:07] local.INFO: TCP Data received {"connection_id":132338,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f64aefb28012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64aefb28012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:02:07] local.INFO: Processing buffer {"connection_id":132338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64aefb28012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:02:07] local.INFO: Packet analysis {"connection_id":132338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64ae"} 
[2026-07-15 13:02:07] local.INFO: Extracted packet for processing {"connection_id":132338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64ae"} 
[2026-07-15 13:02:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 13:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729680896001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 13:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 13:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784100617000,"timestamp_ms":1784100617000,"timestamp_seconds":1784100617,"priority":1,"record_length":96,"hex_timestamp":"0000019f64aefb28"} 
[2026-07-15 13:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 13:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 13:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729680896001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 13:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729680896001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:02:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 13:02:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 13:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729680896001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 13:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":132338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:02:07] local.INFO: GPS data processed {"connection_id":132338,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:02:07] local.INFO: Acknowledgment sent {"connection_id":132338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:02:39] local.INFO: TCP Data received {"connection_id":132338,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f64aefb28012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64aefb28012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:02:39] local.INFO: Processing buffer {"connection_id":132338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64aefb28012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:02:39] local.INFO: Packet analysis {"connection_id":132338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64ae"} 
[2026-07-15 13:02:39] local.INFO: Extracted packet for processing {"connection_id":132338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64ae"} 
[2026-07-15 13:02:39] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 13: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-07-15 13:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729680896001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 13:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 13:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784100617000,"timestamp_ms":1784100617000,"timestamp_seconds":1784100617,"priority":1,"record_length":96,"hex_timestamp":"0000019f64aefb28"} 
[2026-07-15 13:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:02:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 13: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 13:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13: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-07-15 13:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:02:39] 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-07-15 13:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729680896001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 13:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729680896001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:02:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 13:02:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 13:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729680896001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 13:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":132338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:02:39] local.INFO: GPS data processed {"connection_id":132338,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:02:39] local.INFO: Acknowledgment sent {"connection_id":132338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:03:01] local.INFO: TCP Data received {"connection_id":132525,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:03:01] local.INFO: Processing buffer {"connection_id":132525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:03:01] local.INFO: IMEI packet received {"connection_id":132525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":132525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:03:06] local.INFO: TCP Data received {"connection_id":132525,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:03:06] local.INFO: Processing buffer {"connection_id":132525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:03:06] local.INFO: IMEI packet received {"connection_id":132525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":132525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:03:07] local.INFO: TCP Data received {"connection_id":132525,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f64aefb28012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64aefb28012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:03:07] local.INFO: Processing buffer {"connection_id":132525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64aefb28012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:03:07] local.INFO: Packet analysis {"connection_id":132525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64ae"} 
[2026-07-15 13:03:07] local.INFO: Extracted packet for processing {"connection_id":132525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64ae"} 
[2026-07-15 13:03:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 13:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729680896001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 13:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 13:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784100617000,"timestamp_ms":1784100617000,"timestamp_seconds":1784100617,"priority":1,"record_length":96,"hex_timestamp":"0000019f64aefb28"} 
[2026-07-15 13:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 13:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 13:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729680896001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 13:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729680896001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:03:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 13:03:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 13:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729680896001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 13:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":132525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:03:07] local.INFO: GPS data processed {"connection_id":132525,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:03:07] local.INFO: Acknowledgment sent {"connection_id":132525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:03:38] local.INFO: TCP Data received {"connection_id":132525,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f64aefb28012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64aefb28012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:03:38] local.INFO: Processing buffer {"connection_id":132525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64aefb28012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:03:38] local.INFO: Packet analysis {"connection_id":132525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64ae"} 
[2026-07-15 13:03:38] local.INFO: Extracted packet for processing {"connection_id":132525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64ae"} 
[2026-07-15 13:03:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 13: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-07-15 13:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729680896001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 13:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 13:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784100617000,"timestamp_ms":1784100617000,"timestamp_seconds":1784100617,"priority":1,"record_length":96,"hex_timestamp":"0000019f64aefb28"} 
[2026-07-15 13:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 13: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 13:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13: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-07-15 13:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729680896001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 13:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729680896001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:03:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 13:03:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 13:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729680896001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 13:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":132525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:03:38] local.INFO: GPS data processed {"connection_id":132525,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:03:38] local.INFO: Acknowledgment sent {"connection_id":132525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:04:01] local.INFO: TCP Data received {"connection_id":133370,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:04:01] local.INFO: Processing buffer {"connection_id":133370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:04:01] local.INFO: IMEI packet received {"connection_id":133370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":133370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:04:06] local.INFO: TCP Data received {"connection_id":133370,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:04:06] local.INFO: Processing buffer {"connection_id":133370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:04:06] local.INFO: IMEI packet received {"connection_id":133370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":133370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:04:07] local.INFO: TCP Data received {"connection_id":133370,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f64aefb28012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64aefb28012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:04:07] local.INFO: Processing buffer {"connection_id":133370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64aefb28012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:04:07] local.INFO: Packet analysis {"connection_id":133370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64ae"} 
[2026-07-15 13:04:07] local.INFO: Extracted packet for processing {"connection_id":133370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64ae"} 
[2026-07-15 13:04:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 13:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729680896001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 13:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 13:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784100617000,"timestamp_ms":1784100617000,"timestamp_seconds":1784100617,"priority":1,"record_length":96,"hex_timestamp":"0000019f64aefb28"} 
[2026-07-15 13:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 13:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 13:04:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:04:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729680896001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 13:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729680896001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:04:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 13:04:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 13:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729680896001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 13:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":133370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:04:07] local.INFO: GPS data processed {"connection_id":133370,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:04:07] local.INFO: Acknowledgment sent {"connection_id":133370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:04:38] local.INFO: TCP Data received {"connection_id":133370,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f64aefb28012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64aefb28012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:04:38] local.INFO: Processing buffer {"connection_id":133370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64aefb28012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:04:38] local.INFO: Packet analysis {"connection_id":133370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64ae"} 
[2026-07-15 13:04:38] local.INFO: Extracted packet for processing {"connection_id":133370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64ae"} 
[2026-07-15 13:04:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 13: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-07-15 13:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729680896001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 13:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 13:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784100617000,"timestamp_ms":1784100617000,"timestamp_seconds":1784100617,"priority":1,"record_length":96,"hex_timestamp":"0000019f64aefb28"} 
[2026-07-15 13:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 13:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 13:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13: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-07-15 13:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729680896001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 13:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729680896001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:04:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 13:04:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 13:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729680896001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 13:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":133370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:04:38] local.INFO: GPS data processed {"connection_id":133370,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:04:38] local.INFO: Acknowledgment sent {"connection_id":133370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:05:00] local.INFO: TCP Data received {"connection_id":133371,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133371,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:05:00] local.INFO: Processing buffer {"connection_id":133371,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:05:00] local.INFO: IMEI packet received {"connection_id":133371,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 13:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":133371,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:05:01] local.INFO: TCP Data received {"connection_id":134734,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:05:01] local.INFO: Processing buffer {"connection_id":134734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:05:01] local.INFO: IMEI packet received {"connection_id":134734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":134734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:05:06] local.INFO: TCP Data received {"connection_id":134734,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:05:06] local.INFO: Processing buffer {"connection_id":134734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:05:06] local.INFO: IMEI packet received {"connection_id":134734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":134734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:05:07] local.INFO: TCP Data received {"connection_id":134734,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f64aefb28012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64aefb28012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:05:07] local.INFO: Processing buffer {"connection_id":134734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64aefb28012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:05:07] local.INFO: Packet analysis {"connection_id":134734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64ae"} 
[2026-07-15 13:05:07] local.INFO: Extracted packet for processing {"connection_id":134734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64ae"} 
[2026-07-15 13:05:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 13:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729680896001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 13:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 13:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784100617000,"timestamp_ms":1784100617000,"timestamp_seconds":1784100617,"priority":1,"record_length":96,"hex_timestamp":"0000019f64aefb28"} 
[2026-07-15 13:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 13:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 13:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:05:07] 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-07-15 13:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729680896001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 13:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729680896001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:05:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 13:05:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 13:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729680896001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 13:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":134734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:05:07] local.INFO: GPS data processed {"connection_id":134734,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:05:07] local.INFO: Acknowledgment sent {"connection_id":134734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:05:34] local.INFO: TCP Data received {"connection_id":134735,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134735,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:05:34] local.INFO: Processing buffer {"connection_id":134735,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:05:34] local.INFO: IMEI packet received {"connection_id":134735,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 13:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":134735,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:05:38] local.INFO: TCP Data received {"connection_id":134734,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f64aefb28012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64aefb28012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:05:38] local.INFO: Processing buffer {"connection_id":134734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64aefb28012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:05:38] local.INFO: Packet analysis {"connection_id":134734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64ae"} 
[2026-07-15 13:05:38] local.INFO: Extracted packet for processing {"connection_id":134734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64ae"} 
[2026-07-15 13:05:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 13:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729680896001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 13:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 13:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784100617000,"timestamp_ms":1784100617000,"timestamp_seconds":1784100617,"priority":1,"record_length":96,"hex_timestamp":"0000019f64aefb28"} 
[2026-07-15 13:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 13:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 13:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729680896001,"66":25615,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 13:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729680896001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:05:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 13:05:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 13:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729680896001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 13:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":134734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:05:38] local.INFO: GPS data processed {"connection_id":134734,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:05:38] local.INFO: Acknowledgment sent {"connection_id":134734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:06:01] local.INFO: TCP Data received {"connection_id":132526,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:06:01] local.INFO: Processing buffer {"connection_id":132526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:06:01] local.INFO: IMEI packet received {"connection_id":132526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":132526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:06:06] local.INFO: TCP Data received {"connection_id":132526,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:06:06] local.INFO: Processing buffer {"connection_id":132526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:06:06] local.INFO: IMEI packet received {"connection_id":132526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":132526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:06:07] local.INFO: TCP Data received {"connection_id":132526,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f64b392f0012d7f998005afdce0000c011c2c..."} 
[2026-07-15 13:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64b392f0012d7f998005afdce0000c011c2c..."} 
[2026-07-15 13:06:07] local.INFO: Processing buffer {"connection_id":132526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64b392f0012d7f998005afdce0000c011c2c..."} 
[2026-07-15 13:06:07] local.INFO: Packet analysis {"connection_id":132526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64b3"} 
[2026-07-15 13:06:07] local.INFO: Extracted packet for processing {"connection_id":132526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64b3"} 
[2026-07-15 13:06:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":12,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 13:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729757952001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 13:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 13:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784100918000,"timestamp_ms":1784100918000,"timestamp_seconds":1784100918,"priority":1,"record_length":96,"hex_timestamp":"0000019f64b392f0"} 
[2026-07-15 13:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 13:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 13:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:06:07] 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-07-15 13:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729757952001,"66":25604,"199":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 13:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729757952001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:06:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 13:06:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 13:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729757952001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 13:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":132526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:06:07] local.INFO: GPS data processed {"connection_id":132526,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:06:07] local.INFO: Acknowledgment sent {"connection_id":132526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:06:19] local.INFO: TCP Data received {"connection_id":132340,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:06:19] local.INFO: Processing buffer {"connection_id":132340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:06:19] local.INFO: IMEI packet received {"connection_id":132340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 13:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":132340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:06:20] local.INFO: TCP Data received {"connection_id":132340,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:06:20] local.INFO: Processing buffer {"connection_id":132340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:06:20] local.INFO: IMEI packet received {"connection_id":132340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 13:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":132340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:06:24] local.INFO: TCP Data received {"connection_id":132340,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:06:24] local.INFO: Processing buffer {"connection_id":132340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:06:24] local.INFO: IMEI packet received {"connection_id":132340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 13:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":132340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:06:25] local.INFO: TCP Data received {"connection_id":132340,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-15 13:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132340,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-15 13:06:25] local.INFO: Processing buffer {"connection_id":132340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-15 13:06:25] local.INFO: Packet analysis {"connection_id":132340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-15 13:06:25] local.INFO: Extracted packet for processing {"connection_id":132340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-15 13:06: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-07-15 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-07-15 13:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106377848771575808,"note":"Value kept but may cause issues"} 
[2026-07-15 13:06:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,167,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 13:06: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-07-15 13:06:25] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-15 13:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":132340,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":132340,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-15 13:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":132340,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-15 13:06:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-15 13:06:25] local.WARNING: DEBUG: No valid data to process  
[2026-07-15 13:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":132340,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-15 13:06:25] local.ERROR: GPS data processing failed {"connection_id":132340,"error":"No valid data to process"} 
[2026-07-15 13:06:25] local.INFO: Acknowledgment sent {"connection_id":132340,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-15 13:06:38] local.INFO: TCP Data received {"connection_id":132526,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f64b392f0012d7f998005afdce0000c011c2c..."} 
[2026-07-15 13:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64b392f0012d7f998005afdce0000c011c2c..."} 
[2026-07-15 13:06:38] local.INFO: Processing buffer {"connection_id":132526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64b392f0012d7f998005afdce0000c011c2c..."} 
[2026-07-15 13:06:38] local.INFO: Packet analysis {"connection_id":132526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64b3"} 
[2026-07-15 13:06:38] local.INFO: Extracted packet for processing {"connection_id":132526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64b3"} 
[2026-07-15 13:06:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":12,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 13: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-07-15 13:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729757952001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 13:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 13:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784100918000,"timestamp_ms":1784100918000,"timestamp_seconds":1784100918,"priority":1,"record_length":96,"hex_timestamp":"0000019f64b392f0"} 
[2026-07-15 13:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 13:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 13:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13: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-07-15 13:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729757952001,"66":25604,"199":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 13:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729757952001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:06:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 13:06:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 13:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729757952001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 13:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":132526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:06:38] local.INFO: GPS data processed {"connection_id":132526,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:06:38] local.INFO: Acknowledgment sent {"connection_id":132526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:06:56] local.INFO: TCP Data received {"connection_id":132340,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-15 13:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132340,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-15 13:06:56] local.INFO: Processing buffer {"connection_id":132340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-15 13:06:56] local.INFO: Packet analysis {"connection_id":132340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-15 13:06:56] local.INFO: Extracted packet for processing {"connection_id":132340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-15 13:06:56] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-15 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-07-15 13:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106377848771575808,"note":"Value kept but may cause issues"} 
[2026-07-15 13:06:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,167,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 13:06:56] 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-07-15 13:06:56] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-15 13:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132340,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132340,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-15 13:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132340,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-15 13:06:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-15 13:06:56] local.WARNING: DEBUG: No valid data to process  
[2026-07-15 13:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":132340,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-15 13:06:56] local.ERROR: GPS data processing failed {"connection_id":132340,"error":"No valid data to process"} 
[2026-07-15 13:06:56] local.INFO: Acknowledgment sent {"connection_id":132340,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-15 13:07:01] local.INFO: TCP Data received {"connection_id":132342,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:07:01] local.INFO: Processing buffer {"connection_id":132342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:07:01] local.INFO: IMEI packet received {"connection_id":132342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":132342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:07:06] local.INFO: TCP Data received {"connection_id":132342,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:07:06] local.INFO: Processing buffer {"connection_id":132342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:07:06] local.INFO: IMEI packet received {"connection_id":132342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":132342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:07:07] local.INFO: TCP Data received {"connection_id":132342,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64b392f0012d7f998005afdce0000c011c2c..."} 
[2026-07-15 13:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64b392f0012d7f998005afdce0000c011c2c..."} 
[2026-07-15 13:07:07] local.INFO: Processing buffer {"connection_id":132342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64b392f0012d7f998005afdce0000c011c2c..."} 
[2026-07-15 13:07:07] local.INFO: Packet analysis {"connection_id":132342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64b3"} 
[2026-07-15 13:07:07] local.INFO: Extracted packet for processing {"connection_id":132342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64b3"} 
[2026-07-15 13:07:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":12,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 13:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729757952001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 13:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 13:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784100918000,"timestamp_ms":1784100918000,"timestamp_seconds":1784100918,"priority":1,"record_length":96,"hex_timestamp":"0000019f64b392f0"} 
[2026-07-15 13:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 13:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 13:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:07:07] 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-07-15 13:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729757952001,"66":25604,"199":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 13:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729757952001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:07:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 13:07:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 13:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729757952001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 13:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":132342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:07:07] local.INFO: GPS data processed {"connection_id":132342,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:07:07] local.INFO: Acknowledgment sent {"connection_id":132342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:07:27] local.INFO: TCP Data received {"connection_id":132340,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64b525480100000000000000000000000000..."} 
[2026-07-15 13:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64b525480100000000000000000000000000..."} 
[2026-07-15 13:07:27] local.INFO: Processing buffer {"connection_id":132340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64b525480100000000000000000000000000..."} 
[2026-07-15 13:07:27] local.INFO: Packet analysis {"connection_id":132340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64b5"} 
[2026-07-15 13:07:27] local.INFO: Extracted packet for processing {"connection_id":132340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64b5"} 
[2026-07-15 13:07:27] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-15 13:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106377848771575808,"note":"Value kept but may cause issues"} 
[2026-07-15 13:07:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,167,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 13:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784101021000,"timestamp_ms":1784101021000,"timestamp_seconds":1784101021,"priority":1,"record_length":96,"hex_timestamp":"0000019f64b52548"} 
[2026-07-15 13:07:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:07:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-07-15 13:07:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1547,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:07:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:07:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":132340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":132340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":132340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:07:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":132340,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 13:07:27] local.INFO: GPS data processed {"connection_id":132340,"processed":0,"errors":0,"total":1} 
[2026-07-15 13:07:27] local.INFO: Acknowledgment sent {"connection_id":132340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:07:38] local.INFO: TCP Data received {"connection_id":132342,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64b392f0012d7f998005afdce0000c011c2c..."} 
[2026-07-15 13:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64b392f0012d7f998005afdce0000c011c2c..."} 
[2026-07-15 13:07:38] local.INFO: Processing buffer {"connection_id":132342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64b392f0012d7f998005afdce0000c011c2c..."} 
[2026-07-15 13:07:38] local.INFO: Packet analysis {"connection_id":132342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64b3"} 
[2026-07-15 13:07:38] local.INFO: Extracted packet for processing {"connection_id":132342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64b3"} 
[2026-07-15 13:07:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":12,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 13:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729757952001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 13:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 13:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784100918000,"timestamp_ms":1784100918000,"timestamp_seconds":1784100918,"priority":1,"record_length":96,"hex_timestamp":"0000019f64b392f0"} 
[2026-07-15 13:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 13:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 13:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729757952001,"66":25604,"199":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 13:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729757952001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:07:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 13:07:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 13:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729757952001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 13:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":132342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:07:38] local.INFO: GPS data processed {"connection_id":132342,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:07:38] local.INFO: Acknowledgment sent {"connection_id":132342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:07:58] local.INFO: TCP Data received {"connection_id":132340,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64b54870012d7d26c005dc7e00000d000007..."} 
[2026-07-15 13:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64b54870012d7d26c005dc7e00000d000007..."} 
[2026-07-15 13:07:58] local.INFO: Processing buffer {"connection_id":132340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64b54870012d7d26c005dc7e00000d000007..."} 
[2026-07-15 13:07:58] local.INFO: Packet analysis {"connection_id":132340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64b5"} 
[2026-07-15 13:07:58] local.INFO: Extracted packet for processing {"connection_id":132340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64b5"} 
[2026-07-15 13:07:58] local.INFO: GPS Element Parsed {"raw_longitude":763176640,"raw_latitude":98336256,"longitude_deg":76.317664,"latitude_deg":9.8336256,"altitude":13,"angle":0,"satellites":7,"speed":0,"hex_longitude":"2d7d26c0","hex_latitude":"05dc7e00","is_valid_coordinates":true} 
[2026-07-15 13:07:58] 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-07-15 13:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106377848771575808,"note":"Value kept but may cause issues"} 
[2026-07-15 13:07:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,167,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 13:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784101030000,"timestamp_ms":1784101030000,"timestamp_seconds":1784101030,"priority":1,"record_length":96,"hex_timestamp":"0000019f64b54870"} 
[2026-07-15 13:07:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:07:58] 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-07-15 13:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-15 13:07:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2189,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:07:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:07:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":132340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":132340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":132340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:07:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":11341,"167":206,"85":15104,"24":0,"16":106377848771575808},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16]} 
[2026-07-15 13:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-15 13:07:58] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 13:07:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106377848771575808,"km_value":106377848771575.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:07:58] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":11341,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-07-15 13:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":132340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490927,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:07:59] local.INFO: GPS data processed {"connection_id":132340,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:07:59] local.INFO: Acknowledgment sent {"connection_id":132340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:08:01] local.INFO: TCP Data received {"connection_id":132527,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:08:01] local.INFO: Processing buffer {"connection_id":132527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:08:01] local.INFO: IMEI packet received {"connection_id":132527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":132527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:08:06] local.INFO: TCP Data received {"connection_id":132527,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:08:06] local.INFO: Processing buffer {"connection_id":132527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:08:06] local.INFO: IMEI packet received {"connection_id":132527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":132527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:08:07] local.INFO: TCP Data received {"connection_id":132527,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f64b392f0012d7f998005afdce0000c011c2c..."} 
[2026-07-15 13:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64b392f0012d7f998005afdce0000c011c2c..."} 
[2026-07-15 13:08:07] local.INFO: Processing buffer {"connection_id":132527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64b392f0012d7f998005afdce0000c011c2c..."} 
[2026-07-15 13:08:07] local.INFO: Packet analysis {"connection_id":132527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64b3"} 
[2026-07-15 13:08:07] local.INFO: Extracted packet for processing {"connection_id":132527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64b3"} 
[2026-07-15 13:08:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":12,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 13:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729757952001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 13:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 13:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784100918000,"timestamp_ms":1784100918000,"timestamp_seconds":1784100918,"priority":1,"record_length":96,"hex_timestamp":"0000019f64b392f0"} 
[2026-07-15 13:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 13:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 13:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13: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-07-15 13:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:08:07] 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-07-15 13:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729757952001,"66":25604,"199":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 13:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729757952001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:08:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 13:08:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 13:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729757952001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 13:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":132527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:08:07] local.INFO: GPS data processed {"connection_id":132527,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:08:07] local.INFO: Acknowledgment sent {"connection_id":132527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:08:30] local.INFO: TCP Data received {"connection_id":132340,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64b57368012d7d27c005dc7e80000b00000a..."} 
[2026-07-15 13:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64b57368012d7d27c005dc7e80000b00000a..."} 
[2026-07-15 13:08:30] local.INFO: Processing buffer {"connection_id":132340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64b57368012d7d27c005dc7e80000b00000a..."} 
[2026-07-15 13:08:30] local.INFO: Packet analysis {"connection_id":132340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64b5"} 
[2026-07-15 13:08:30] local.INFO: Extracted packet for processing {"connection_id":132340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64b5"} 
[2026-07-15 13:08:30] local.INFO: GPS Element Parsed {"raw_longitude":763176896,"raw_latitude":98336384,"longitude_deg":76.3176896,"latitude_deg":9.8336384,"altitude":11,"angle":0,"satellites":10,"speed":0,"hex_longitude":"2d7d27c0","hex_latitude":"05dc7e80","is_valid_coordinates":true} 
[2026-07-15 13: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-07-15 13:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729863680001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106377874541379584,"note":"Value kept but may cause issues"} 
[2026-07-15 13:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018106435262611456,"note":"Value kept but may cause issues"} 
[2026-07-15 13:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784101041000,"timestamp_ms":1784101041000,"timestamp_seconds":1784101041,"priority":1,"record_length":96,"hex_timestamp":"0000019f64b57368"} 
[2026-07-15 13:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:08:30] 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-07-15 13: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":44,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-15 13:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1111,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13: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-07-15 13:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":132340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":132340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":132340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729863680001,"66":11308,"167":206,"85":15104,"24":0,"16":106377874541379584,"45":9018106435262611456},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-15 13:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729863680001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:08:30] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 13:08:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106377874541379584,"km_value":106377874541379.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018106435262611456,"description":"Unknown IO ID 45"} 
[2026-07-15 13:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729863680001,"power":11308,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9018106435262611456}} 
[2026-07-15 13:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":132340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490929,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:08:30] local.INFO: GPS data processed {"connection_id":132340,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:08:30] local.INFO: Acknowledgment sent {"connection_id":132340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:08:38] local.INFO: TCP Data received {"connection_id":132527,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f64b392f0012d7f998005afdce0000c011c2c..."} 
[2026-07-15 13:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64b392f0012d7f998005afdce0000c011c2c..."} 
[2026-07-15 13:08:38] local.INFO: Processing buffer {"connection_id":132527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64b392f0012d7f998005afdce0000c011c2c..."} 
[2026-07-15 13:08:38] local.INFO: Packet analysis {"connection_id":132527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64b3"} 
[2026-07-15 13:08:38] local.INFO: Extracted packet for processing {"connection_id":132527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64b3"} 
[2026-07-15 13:08:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":12,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 13:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729757952001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 13:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 13:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784100918000,"timestamp_ms":1784100918000,"timestamp_seconds":1784100918,"priority":1,"record_length":96,"hex_timestamp":"0000019f64b392f0"} 
[2026-07-15 13:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 13:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 13:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:08:38] 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-07-15 13:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729757952001,"66":25604,"199":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 13:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729757952001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:08:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 13:08:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 13:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729757952001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 13:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":132527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:08:38] local.INFO: GPS data processed {"connection_id":132527,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:08:38] local.INFO: Acknowledgment sent {"connection_id":132527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:09:00] local.INFO: TCP Data received {"connection_id":132340,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64b5c570012d7d280005dc7e98000b00000b..."} 
[2026-07-15 13:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64b5c570012d7d280005dc7e98000b00000b..."} 
[2026-07-15 13:09:00] local.INFO: Processing buffer {"connection_id":132340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64b5c570012d7d280005dc7e98000b00000b..."} 
[2026-07-15 13:09:00] local.INFO: Packet analysis {"connection_id":132340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64b5"} 
[2026-07-15 13:09:00] local.INFO: Extracted packet for processing {"connection_id":132340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64b5"} 
[2026-07-15 13:09:00] local.INFO: GPS Element Parsed {"raw_longitude":763176960,"raw_latitude":98336408,"longitude_deg":76.317696,"latitude_deg":9.8336408,"altitude":11,"angle":0,"satellites":11,"speed":0,"hex_longitude":"2d7d2800","hex_latitude":"05dc7e98","is_valid_coordinates":true} 
[2026-07-15 13:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729866496001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106377887426281472,"note":"Value kept but may cause issues"} 
[2026-07-15 13:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018387910239354880,"note":"Value kept but may cause issues"} 
[2026-07-15 13:09:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784101062000,"timestamp_ms":1784101062000,"timestamp_seconds":1784101062,"priority":1,"record_length":96,"hex_timestamp":"0000019f64b5c570"} 
[2026-07-15 13:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:09:00] 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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-15 13:09:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":814,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:09:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":132340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":132340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":132340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729866496001,"66":11461,"167":206,"85":15104,"24":0,"16":106377887426281472,"45":9018387910239354880},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-15 13:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729866496001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:09:01] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 13:09:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106377887426281472,"km_value":106377887426281.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018387910239354880,"description":"Unknown IO ID 45"} 
[2026-07-15 13:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729866496001,"power":11461,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9018387910239354880}} 
[2026-07-15 13:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":132340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490931,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:09:01] local.INFO: GPS data processed {"connection_id":132340,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:09:01] local.INFO: Acknowledgment sent {"connection_id":132340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:09:01] local.INFO: TCP Data received {"connection_id":133372,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:09:01] local.INFO: Processing buffer {"connection_id":133372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:09:01] local.INFO: IMEI packet received {"connection_id":133372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":133372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:09:06] local.INFO: TCP Data received {"connection_id":133372,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:09:06] local.INFO: Processing buffer {"connection_id":133372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:09:06] local.INFO: IMEI packet received {"connection_id":133372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":133372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:09:07] local.INFO: TCP Data received {"connection_id":133372,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f64b392f0012d7f998005afdce0000c011c2c..."} 
[2026-07-15 13:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64b392f0012d7f998005afdce0000c011c2c..."} 
[2026-07-15 13:09:07] local.INFO: Processing buffer {"connection_id":133372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64b392f0012d7f998005afdce0000c011c2c..."} 
[2026-07-15 13:09:07] local.INFO: Packet analysis {"connection_id":133372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64b3"} 
[2026-07-15 13:09:07] local.INFO: Extracted packet for processing {"connection_id":133372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64b3"} 
[2026-07-15 13:09:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":12,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 13:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729757952001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 13:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 13:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784100918000,"timestamp_ms":1784100918000,"timestamp_seconds":1784100918,"priority":1,"record_length":96,"hex_timestamp":"0000019f64b392f0"} 
[2026-07-15 13:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 13:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 13:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:09:07] 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-07-15 13:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729757952001,"66":25604,"199":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 13:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729757952001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:09:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 13:09:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 13:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729757952001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 13:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":133372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:09:07] local.INFO: GPS data processed {"connection_id":133372,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:09:07] local.INFO: Acknowledgment sent {"connection_id":133372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:09:31] local.INFO: TCP Data received {"connection_id":132340,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64b730b8012d7d29c005dc8068000500200c..."} 
[2026-07-15 13:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64b730b8012d7d29c005dc8068000500200c..."} 
[2026-07-15 13:09:31] local.INFO: Processing buffer {"connection_id":132340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64b730b8012d7d29c005dc8068000500200c..."} 
[2026-07-15 13:09:31] local.INFO: Packet analysis {"connection_id":132340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64b7"} 
[2026-07-15 13:09:31] local.INFO: Extracted packet for processing {"connection_id":132340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64b7"} 
[2026-07-15 13:09:31] local.INFO: GPS Element Parsed {"raw_longitude":763177408,"raw_latitude":98336872,"longitude_deg":76.3177408,"latitude_deg":9.8336872,"altitude":5,"angle":32,"satellites":12,"speed":1,"hex_longitude":"2d7d29c0","hex_latitude":"05dc8068","is_valid_coordinates":true} 
[2026-07-15 13: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-07-15 13:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729893888001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106377956145758208,"note":"Value kept but may cause issues"} 
[2026-07-15 13:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018950860192915456,"note":"Value kept but may cause issues"} 
[2026-07-15 13:09:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784101155000,"timestamp_ms":1784101155000,"timestamp_seconds":1784101155,"priority":1,"record_length":96,"hex_timestamp":"0000019f64b730b8"} 
[2026-07-15 13:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:09:31] 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-07-15 13: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":45,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-07-15 13:09:31] 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-07-15 13: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-07-15 13:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":132340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":132340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":132340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729893888001,"66":11624,"167":206,"85":15104,"24":1,"16":106377956145758208,"45":9018950860192915456},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-15 13:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729893888001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:09:31] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 13:09:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106377956145758208,"km_value":106377956145758.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018950860192915456,"description":"Unknown IO ID 45"} 
[2026-07-15 13:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729893888001,"power":11624,"unknown_167":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9018950860192915456}} 
[2026-07-15 13:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":132340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490933,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:09:31] local.INFO: GPS data processed {"connection_id":132340,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:09:31] local.INFO: Acknowledgment sent {"connection_id":132340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:09:40] local.INFO: TCP Data received {"connection_id":133372,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f64b392f0012d7f998005afdce0000c011c2c..."} 
[2026-07-15 13:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64b392f0012d7f998005afdce0000c011c2c..."} 
[2026-07-15 13:09:40] local.INFO: Processing buffer {"connection_id":133372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64b392f0012d7f998005afdce0000c011c2c..."} 
[2026-07-15 13:09:40] local.INFO: Packet analysis {"connection_id":133372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64b3"} 
[2026-07-15 13:09:40] local.INFO: Extracted packet for processing {"connection_id":133372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64b3"} 
[2026-07-15 13:09:40] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":12,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 13: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-07-15 13:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729757952001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 13:09:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 13:09:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784100918000,"timestamp_ms":1784100918000,"timestamp_seconds":1784100918,"priority":1,"record_length":96,"hex_timestamp":"0000019f64b392f0"} 
[2026-07-15 13:09:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:09:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 13: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 13:09:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13: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-07-15 13:09:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":133372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":133372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":133372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:09:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729757952001,"66":25604,"199":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 13:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729757952001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:09:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 13:09:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:09:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 13:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729757952001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 13:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":133372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:09:40] local.INFO: GPS data processed {"connection_id":133372,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:09:40] local.INFO: Acknowledgment sent {"connection_id":133372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:10:01] local.INFO: TCP Data received {"connection_id":132528,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:10:01] local.INFO: Processing buffer {"connection_id":132528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:10:01] local.INFO: IMEI packet received {"connection_id":132528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":132528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:10:05] local.INFO: TCP Data received {"connection_id":132340,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64b734a0012d7d29c005dc80800005000a0c..."} 
[2026-07-15 13:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64b734a0012d7d29c005dc80800005000a0c..."} 
[2026-07-15 13:10:05] local.INFO: Processing buffer {"connection_id":132340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64b734a0012d7d29c005dc80800005000a0c..."} 
[2026-07-15 13:10:05] local.INFO: Packet analysis {"connection_id":132340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64b7"} 
[2026-07-15 13:10:05] local.INFO: Extracted packet for processing {"connection_id":132340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64b7"} 
[2026-07-15 13:10:05] local.INFO: GPS Element Parsed {"raw_longitude":763177408,"raw_latitude":98336896,"longitude_deg":76.3177408,"latitude_deg":9.8336896,"altitude":5,"angle":10,"satellites":12,"speed":1,"hex_longitude":"2d7d29c0","hex_latitude":"05dc8080","is_valid_coordinates":true} 
[2026-07-15 13:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729895680001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106377960440725504,"note":"Value kept but may cause issues"} 
[2026-07-15 13:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018950860192901120,"note":"Value kept but may cause issues"} 
[2026-07-15 13:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784101156000,"timestamp_ms":1784101156000,"timestamp_seconds":1784101156,"priority":1,"record_length":96,"hex_timestamp":"0000019f64b734a0"} 
[2026-07-15 13:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:10:05] 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-07-15 13:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-15 13:10:05] 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-07-15 13:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729895680001,"66":11624,"167":206,"85":15104,"24":1,"16":106377960440725504,"45":9018950860192901120},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-15 13:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729895680001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:10:05] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 13:10:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106377960440725504,"km_value":106377960440725.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018950860192901120,"description":"Unknown IO ID 45"} 
[2026-07-15 13:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729895680001,"power":11624,"unknown_167":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9018950860192901120}} 
[2026-07-15 13:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":132340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490935,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:10:05] local.INFO: GPS data processed {"connection_id":132340,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:10:05] local.INFO: Acknowledgment sent {"connection_id":132340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:10:06] local.INFO: TCP Data received {"connection_id":132528,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:10:06] local.INFO: Processing buffer {"connection_id":132528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:10:06] local.INFO: IMEI packet received {"connection_id":132528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":132528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:10:07] local.INFO: TCP Data received {"connection_id":132528,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f64b392f0012d7f998005afdce0000c011c2c..."} 
[2026-07-15 13:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64b392f0012d7f998005afdce0000c011c2c..."} 
[2026-07-15 13:10:07] local.INFO: Processing buffer {"connection_id":132528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64b392f0012d7f998005afdce0000c011c2c..."} 
[2026-07-15 13:10:07] local.INFO: Packet analysis {"connection_id":132528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64b3"} 
[2026-07-15 13:10:07] local.INFO: Extracted packet for processing {"connection_id":132528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64b3"} 
[2026-07-15 13:10:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":12,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 13:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729757952001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 13:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 13:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784100918000,"timestamp_ms":1784100918000,"timestamp_seconds":1784100918,"priority":1,"record_length":96,"hex_timestamp":"0000019f64b392f0"} 
[2026-07-15 13:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 13:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 13:10:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:10:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729757952001,"66":25604,"199":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 13:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729757952001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:10:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 13:10:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 13:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729757952001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 13:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":132528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:10:07] local.INFO: GPS data processed {"connection_id":132528,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:10:07] local.INFO: Acknowledgment sent {"connection_id":132528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:10:36] local.INFO: TCP Data received {"connection_id":132340,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64b83288012d7d248005dc7960000201190c..."} 
[2026-07-15 13:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64b83288012d7d248005dc7960000201190c..."} 
[2026-07-15 13:10:36] local.INFO: Processing buffer {"connection_id":132340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64b83288012d7d248005dc7960000201190c..."} 
[2026-07-15 13:10:36] local.INFO: Packet analysis {"connection_id":132340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64b8"} 
[2026-07-15 13:10:36] local.INFO: Extracted packet for processing {"connection_id":132340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64b8"} 
[2026-07-15 13:10:36] local.INFO: GPS Element Parsed {"raw_longitude":763176064,"raw_latitude":98335072,"longitude_deg":76.3176064,"latitude_deg":9.8335072,"altitude":2,"angle":281,"satellites":12,"speed":8,"hex_longitude":"2d7d2480","hex_latitude":"05dc7960","is_valid_coordinates":true} 
[2026-07-15 13:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729912320001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106378110764580864,"note":"Value kept but may cause issues"} 
[2026-07-15 13:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017754591541432320,"note":"Value kept but may cause issues"} 
[2026-07-15 13:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784101221000,"timestamp_ms":1784101221000,"timestamp_seconds":1784101221,"priority":1,"record_length":96,"hex_timestamp":"0000019f64b83288"} 
[2026-07-15 13:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-15 13:10:36] 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-07-15 13:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729912320001,"66":11395,"167":206,"85":15104,"24":8,"16":106378110764580864,"45":9017754591541432320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-15 13:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729912320001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:10:36] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 13:10:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106378110764580864,"km_value":106378110764580.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017754591541432320,"description":"Unknown IO ID 45"} 
[2026-07-15 13:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729912320001,"power":11395,"unknown_167":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9017754591541432320}} 
[2026-07-15 13:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":132340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490937,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:10:36] local.INFO: GPS data processed {"connection_id":132340,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:10:36] local.INFO: Acknowledgment sent {"connection_id":132340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:10:38] local.INFO: TCP Data received {"connection_id":132528,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f64b392f0012d7f998005afdce0000c011c2c..."} 
[2026-07-15 13:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64b392f0012d7f998005afdce0000c011c2c..."} 
[2026-07-15 13:10:38] local.INFO: Processing buffer {"connection_id":132528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64b392f0012d7f998005afdce0000c011c2c..."} 
[2026-07-15 13:10:38] local.INFO: Packet analysis {"connection_id":132528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64b3"} 
[2026-07-15 13:10:38] local.INFO: Extracted packet for processing {"connection_id":132528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64b3"} 
[2026-07-15 13:10:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":12,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 13:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729757952001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 13:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 13:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784100918000,"timestamp_ms":1784100918000,"timestamp_seconds":1784100918,"priority":1,"record_length":96,"hex_timestamp":"0000019f64b392f0"} 
[2026-07-15 13:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 13:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 13:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729757952001,"66":25604,"199":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 13:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729757952001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:10:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 13:10:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 13:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729757952001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 13:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":132528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:10:38] local.INFO: GPS data processed {"connection_id":132528,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:10:38] local.INFO: Acknowledgment sent {"connection_id":132528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:10:54] local.INFO: TCP Data received {"connection_id":134737,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134737,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:10:54] local.INFO: Processing buffer {"connection_id":134737,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:10:54] local.INFO: IMEI packet received {"connection_id":134737,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 13:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":134737,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:10:59] local.INFO: TCP Data received {"connection_id":134738,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134738,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:10:59] local.INFO: Processing buffer {"connection_id":134738,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:10:59] local.INFO: IMEI packet received {"connection_id":134738,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 13:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":134738,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:11:00] local.INFO: TCP Data received {"connection_id":134738,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134738,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:11:00] local.INFO: Processing buffer {"connection_id":134738,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:11:00] local.INFO: IMEI packet received {"connection_id":134738,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 13:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":134738,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:11:04] local.INFO: TCP Data received {"connection_id":134738,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134738,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:11:04] local.INFO: Processing buffer {"connection_id":134738,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:11:04] local.INFO: IMEI packet received {"connection_id":134738,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 13:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":134738,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:11:05] local.INFO: TCP Data received {"connection_id":134738,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64b83a58012d7d228005dc79700002010e0c..."} 
[2026-07-15 13:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64b83a58012d7d228005dc79700002010e0c..."} 
[2026-07-15 13:11:05] local.INFO: Processing buffer {"connection_id":134738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64b83a58012d7d228005dc79700002010e0c..."} 
[2026-07-15 13:11:05] local.INFO: Packet analysis {"connection_id":134738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64b8"} 
[2026-07-15 13:11:05] local.INFO: Extracted packet for processing {"connection_id":134738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64b8"} 
[2026-07-15 13:11:05] local.INFO: GPS Element Parsed {"raw_longitude":763175552,"raw_latitude":98335088,"longitude_deg":76.3175552,"latitude_deg":9.8335088,"altitude":2,"angle":270,"satellites":12,"speed":9,"hex_longitude":"2d7d2280","hex_latitude":"05dc7970","is_valid_coordinates":true} 
[2026-07-15 13:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729912576001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106378132239417344,"note":"Value kept but may cause issues"} 
[2026-07-15 13:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017473116564709376,"note":"Value kept but may cause issues"} 
[2026-07-15 13:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784101223000,"timestamp_ms":1784101223000,"timestamp_seconds":1784101223,"priority":1,"record_length":96,"hex_timestamp":"0000019f64b83a58"} 
[2026-07-15 13:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-15 13:11:05] 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-07-15 13:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":134738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":134738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":134738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729912576001,"66":11471,"167":206,"85":15104,"24":9,"16":106378132239417344,"45":9017473116564709376},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-15 13:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729912576001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:11:05] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 13:11:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106378132239417344,"km_value":106378132239417.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017473116564709376,"description":"Unknown IO ID 45"} 
[2026-07-15 13:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729912576001,"power":11471,"unknown_167":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9017473116564709376}} 
[2026-07-15 13:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":134738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490939,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:11:05] local.INFO: GPS data processed {"connection_id":134738,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:11:05] local.INFO: Acknowledgment sent {"connection_id":134738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:11:06] local.INFO: TCP Data received {"connection_id":132345,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:11:06] local.INFO: Processing buffer {"connection_id":132345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:11:06] local.INFO: IMEI packet received {"connection_id":132345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":132345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:11:11] local.INFO: TCP Data received {"connection_id":132345,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:11:11] local.INFO: Processing buffer {"connection_id":132345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:11:11] local.INFO: IMEI packet received {"connection_id":132345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":132345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:11:12] local.INFO: TCP Data received {"connection_id":132345,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f64b82ab8012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64b82ab8012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:11:12] local.INFO: Processing buffer {"connection_id":132345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64b82ab8012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:11:12] local.INFO: Packet analysis {"connection_id":132345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64b8"} 
[2026-07-15 13:11:12] local.INFO: Extracted packet for processing {"connection_id":132345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64b8"} 
[2026-07-15 13:11:12] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 13:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729835008001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 13:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 13:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784101219000,"timestamp_ms":1784101219000,"timestamp_seconds":1784101219,"priority":1,"record_length":96,"hex_timestamp":"0000019f64b82ab8"} 
[2026-07-15 13:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 13:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 13:11:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:11:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:11:12] 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-07-15 13:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729835008001,"66":25604,"199":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 13:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729835008001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:11:12] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 13:11:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 13:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729835008001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 13:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":132345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:11:12] local.INFO: GPS data processed {"connection_id":132345,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:11:12] local.INFO: Acknowledgment sent {"connection_id":132345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:11:16] local.INFO: TCP Data received {"connection_id":132345,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f64b82ab8012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64b82ab8012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:11:16] local.INFO: Processing buffer {"connection_id":132345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64b82ab8012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:11:16] local.INFO: Packet analysis {"connection_id":132345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64b8"} 
[2026-07-15 13:11:16] local.INFO: Extracted packet for processing {"connection_id":132345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64b8"} 
[2026-07-15 13:11:16] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 13:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729835008001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 13:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 13:11:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784101219000,"timestamp_ms":1784101219000,"timestamp_seconds":1784101219,"priority":1,"record_length":96,"hex_timestamp":"0000019f64b82ab8"} 
[2026-07-15 13:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:11:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 13:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 13:11:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:11:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729835008001,"66":25604,"199":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 13:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729835008001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:11:16] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 13:11:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 13:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729835008001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 13:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":132345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:11:16] local.INFO: GPS data processed {"connection_id":132345,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:11:16] local.INFO: Acknowledgment sent {"connection_id":132345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:11:34] local.INFO: TCP Data received {"connection_id":132346,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132346,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:11:34] local.INFO: Processing buffer {"connection_id":132346,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:11:34] local.INFO: IMEI packet received {"connection_id":132346,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 13:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":132346,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:11:36] local.INFO: TCP Data received {"connection_id":134738,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64b90578012d7d090005dc70e80000009d0e..."} 
[2026-07-15 13:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64b90578012d7d090005dc70e80000009d0e..."} 
[2026-07-15 13:11:36] local.INFO: Processing buffer {"connection_id":134738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64b90578012d7d090005dc70e80000009d0e..."} 
[2026-07-15 13:11:36] local.INFO: Packet analysis {"connection_id":134738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64b9"} 
[2026-07-15 13:11:36] local.INFO: Extracted packet for processing {"connection_id":134738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64b9"} 
[2026-07-15 13:11:36] local.INFO: GPS Element Parsed {"raw_longitude":763169024,"raw_latitude":98332904,"longitude_deg":76.3169024,"latitude_deg":9.8332904,"altitude":0,"angle":157,"satellites":14,"speed":5,"hex_longitude":"2d7d0900","hex_latitude":"05dc70e8","is_valid_coordinates":true} 
[2026-07-15 13:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729926144001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106378493016670208,"note":"Value kept but may cause issues"} 
[2026-07-15 13:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009662185960466432,"note":"Value kept but may cause issues"} 
[2026-07-15 13:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784101275000,"timestamp_ms":1784101275000,"timestamp_seconds":1784101275,"priority":1,"record_length":96,"hex_timestamp":"0000019f64b90578"} 
[2026-07-15 13:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-07-15 13:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2191,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":134738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":134738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":134738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729926144001,"66":11461,"167":206,"85":15104,"24":5,"16":106378493016670208,"45":9009662185960466432},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-15 13:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729926144001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:11:36] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 13:11:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106378493016670208,"km_value":106378493016670.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009662185960466432,"description":"Unknown IO ID 45"} 
[2026-07-15 13:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729926144001,"power":11461,"unknown_167":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9009662185960466432}} 
[2026-07-15 13:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":134738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490942,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:11:36] local.INFO: GPS data processed {"connection_id":134738,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:11:36] local.INFO: Acknowledgment sent {"connection_id":134738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:12:01] local.INFO: TCP Data received {"connection_id":134739,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:12:01] local.INFO: Processing buffer {"connection_id":134739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:12:01] local.INFO: IMEI packet received {"connection_id":134739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":134739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:12:06] local.INFO: TCP Data received {"connection_id":134739,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:12:06] local.INFO: Processing buffer {"connection_id":134739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:12:06] local.INFO: IMEI packet received {"connection_id":134739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":134739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:12:07] local.INFO: TCP Data received {"connection_id":134739,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f64b82ab8012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64b82ab8012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:12:07] local.INFO: Processing buffer {"connection_id":134739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64b82ab8012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:12:07] local.INFO: Packet analysis {"connection_id":134739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64b8"} 
[2026-07-15 13:12:07] local.INFO: Extracted packet for processing {"connection_id":134739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64b8"} 
[2026-07-15 13:12:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 13:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729835008001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 13:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 13:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784101219000,"timestamp_ms":1784101219000,"timestamp_seconds":1784101219,"priority":1,"record_length":96,"hex_timestamp":"0000019f64b82ab8"} 
[2026-07-15 13:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 13:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 13:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:12:07] 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-07-15 13:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729835008001,"66":25604,"199":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 13:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729835008001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:12:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 13:12:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 13:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729835008001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 13:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":134739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:12:07] local.INFO: GPS data processed {"connection_id":134739,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:12:07] local.INFO: Acknowledgment sent {"connection_id":134739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:12:07] local.INFO: TCP Data received {"connection_id":134738,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64b91ce8012d7d0ac005dc6870000000aa0e..."} 
[2026-07-15 13:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64b91ce8012d7d0ac005dc6870000000aa0e..."} 
[2026-07-15 13:12:07] local.INFO: Processing buffer {"connection_id":134738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64b91ce8012d7d0ac005dc6870000000aa0e..."} 
[2026-07-15 13:12:07] local.INFO: Packet analysis {"connection_id":134738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64b9"} 
[2026-07-15 13:12:07] local.INFO: Extracted packet for processing {"connection_id":134738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64b9"} 
[2026-07-15 13:12:07] local.INFO: GPS Element Parsed {"raw_longitude":763169472,"raw_latitude":98330736,"longitude_deg":76.3169472,"latitude_deg":9.8330736,"altitude":0,"angle":170,"satellites":14,"speed":16,"hex_longitude":"2d7d0ac0","hex_latitude":"05dc6870","is_valid_coordinates":true} 
[2026-07-15 13:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729926400001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106378600390852608,"note":"Value kept but may cause issues"} 
[2026-07-15 13:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009732554704611328,"note":"Value kept but may cause issues"} 
[2026-07-15 13:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784101281000,"timestamp_ms":1784101281000,"timestamp_seconds":1784101281,"priority":1,"record_length":96,"hex_timestamp":"0000019f64b91ce8"} 
[2026-07-15 13:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-07-15 13:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2191,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729926400001,"66":11428,"167":206,"85":15104,"24":16,"16":106378600390852608,"45":9009732554704611328},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-15 13:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729926400001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:12:07] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 13:12:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106378600390852608,"km_value":106378600390852.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009732554704611328,"description":"Unknown IO ID 45"} 
[2026-07-15 13:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729926400001,"power":11428,"unknown_167":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":9009732554704611328}} 
[2026-07-15 13:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":134738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490944,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:12:07] local.INFO: GPS data processed {"connection_id":134738,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:12:07] local.INFO: Acknowledgment sent {"connection_id":134738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:12:38] local.INFO: TCP Data received {"connection_id":134739,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f64b82ab8012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64b82ab8012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:12:38] local.INFO: Processing buffer {"connection_id":134739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64b82ab8012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:12:38] local.INFO: Packet analysis {"connection_id":134739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64b8"} 
[2026-07-15 13:12:38] local.INFO: Extracted packet for processing {"connection_id":134739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64b8"} 
[2026-07-15 13:12:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 13: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-07-15 13:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729835008001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 13:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 13:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784101219000,"timestamp_ms":1784101219000,"timestamp_seconds":1784101219,"priority":1,"record_length":96,"hex_timestamp":"0000019f64b82ab8"} 
[2026-07-15 13:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 13: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 13:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13: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-07-15 13:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729835008001,"66":25604,"199":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 13:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729835008001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:12:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 13:12:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 13:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729835008001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 13:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":134739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:12:38] local.INFO: GPS data processed {"connection_id":134739,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:12:38] local.INFO: Acknowledgment sent {"connection_id":134739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:12:38] local.INFO: TCP Data received {"connection_id":134738,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64ba3240012d7d1a4005dc2a580000006a0f..."} 
[2026-07-15 13:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64ba3240012d7d1a4005dc2a580000006a0f..."} 
[2026-07-15 13:12:38] local.INFO: Processing buffer {"connection_id":134738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64ba3240012d7d1a4005dc2a580000006a0f..."} 
[2026-07-15 13:12:38] local.INFO: Packet analysis {"connection_id":134738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64ba"} 
[2026-07-15 13:12:38] local.INFO: Extracted packet for processing {"connection_id":134738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64ba"} 
[2026-07-15 13:12:38] local.INFO: GPS Element Parsed {"raw_longitude":763173440,"raw_latitude":98314840,"longitude_deg":76.317344,"latitude_deg":9.831484,"altitude":0,"angle":106,"satellites":15,"speed":8,"hex_longitude":"2d7d1a40","hex_latitude":"05dc2a58","is_valid_coordinates":true} 
[2026-07-15 13: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-07-15 13:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729944576001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106379455089344512,"note":"Value kept but may cause issues"} 
[2026-07-15 13:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013673204373997568,"note":"Value kept but may cause issues"} 
[2026-07-15 13:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784101352000,"timestamp_ms":1784101352000,"timestamp_seconds":1784101352,"priority":1,"record_length":96,"hex_timestamp":"0000019f64ba3240"} 
[2026-07-15 13:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:12:38] 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-07-15 13: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":44,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-15 13:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1111,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13: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-07-15 13:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729944576001,"66":11471,"167":206,"85":15104,"24":8,"16":106379455089344512,"45":9013673204373997568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-15 13:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729944576001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:12:38] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 13:12:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106379455089344512,"km_value":106379455089344.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013673204373997568,"description":"Unknown IO ID 45"} 
[2026-07-15 13:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729944576001,"power":11471,"unknown_167":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9013673204373997568}} 
[2026-07-15 13:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":134738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490946,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:12:38] local.INFO: GPS data processed {"connection_id":134738,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:12:38] local.INFO: Acknowledgment sent {"connection_id":134738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:13:01] local.INFO: TCP Data received {"connection_id":133373,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:13:01] local.INFO: Processing buffer {"connection_id":133373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:13:01] local.INFO: IMEI packet received {"connection_id":133373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":133373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:13:04] local.INFO: TCP Data received {"connection_id":133374,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133374,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:13:04] local.INFO: Processing buffer {"connection_id":133374,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:13:04] local.INFO: IMEI packet received {"connection_id":133374,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 13:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":133374,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:13:05] local.INFO: TCP Data received {"connection_id":133374,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133374,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:13:05] local.INFO: Processing buffer {"connection_id":133374,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:13:05] local.INFO: IMEI packet received {"connection_id":133374,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 13:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":133374,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:13:06] local.INFO: TCP Data received {"connection_id":133373,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:13:06] local.INFO: Processing buffer {"connection_id":133373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:13:06] local.INFO: IMEI packet received {"connection_id":133373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":133373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:13:07] local.INFO: TCP Data received {"connection_id":133373,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f64b82ab8012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64b82ab8012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:13:07] local.INFO: Processing buffer {"connection_id":133373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64b82ab8012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:13:07] local.INFO: Packet analysis {"connection_id":133373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64b8"} 
[2026-07-15 13:13:07] local.INFO: Extracted packet for processing {"connection_id":133373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64b8"} 
[2026-07-15 13:13:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 13:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729835008001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 13:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 13:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784101219000,"timestamp_ms":1784101219000,"timestamp_seconds":1784101219,"priority":1,"record_length":96,"hex_timestamp":"0000019f64b82ab8"} 
[2026-07-15 13:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 13:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 13:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729835008001,"66":25604,"199":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 13:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729835008001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:13:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 13:13:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 13:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729835008001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 13:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":133373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:13:07] local.INFO: GPS data processed {"connection_id":133373,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:13:07] local.INFO: Acknowledgment sent {"connection_id":133373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:13:09] local.INFO: TCP Data received {"connection_id":133374,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133374,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:13:09] local.INFO: Processing buffer {"connection_id":133374,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:13:09] local.INFO: IMEI packet received {"connection_id":133374,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 13:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":133374,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:13:10] local.INFO: TCP Data received {"connection_id":133374,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64ba3628012d7d1ac005dc29e0000000800f..."} 
[2026-07-15 13:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64ba3628012d7d1ac005dc29e0000000800f..."} 
[2026-07-15 13:13:10] local.INFO: Processing buffer {"connection_id":133374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64ba3628012d7d1ac005dc29e0000000800f..."} 
[2026-07-15 13:13:10] local.INFO: Packet analysis {"connection_id":133374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64ba"} 
[2026-07-15 13:13:10] local.INFO: Extracted packet for processing {"connection_id":133374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64ba"} 
[2026-07-15 13:13:10] local.INFO: GPS Element Parsed {"raw_longitude":763173568,"raw_latitude":98314720,"longitude_deg":76.3173568,"latitude_deg":9.831472,"altitude":0,"angle":128,"satellites":15,"speed":8,"hex_longitude":"2d7d1ac0","hex_latitude":"05dc29e0","is_valid_coordinates":true} 
[2026-07-15 13:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729946112001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106379463679279104,"note":"Value kept but may cause issues"} 
[2026-07-15 13:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014587998048245760,"note":"Value kept but may cause issues"} 
[2026-07-15 13:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784101353000,"timestamp_ms":1784101353000,"timestamp_seconds":1784101353,"priority":1,"record_length":96,"hex_timestamp":"0000019f64ba3628"} 
[2026-07-15 13:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:13:10] 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-07-15 13:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-15 13:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":133374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":133374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":133374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729946112001,"66":11461,"167":206,"85":15104,"24":8,"16":106379463679279104,"45":9014587998048245760},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-15 13:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729946112001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:13:10] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 13:13:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106379463679279104,"km_value":106379463679279.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014587998048245760,"description":"Unknown IO ID 45"} 
[2026-07-15 13:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729946112001,"power":11461,"unknown_167":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9014587998048245760}} 
[2026-07-15 13:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":133374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490948,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:13:10] local.INFO: GPS data processed {"connection_id":133374,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:13:10] local.INFO: Acknowledgment sent {"connection_id":133374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:13:15] local.INFO: TCP Data received {"connection_id":133374,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64ba3df8012d7d1c0005dc2878000000960f..."} 
[2026-07-15 13:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64ba3df8012d7d1c0005dc2878000000960f..."} 
[2026-07-15 13:13:15] local.INFO: Processing buffer {"connection_id":133374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64ba3df8012d7d1c0005dc2878000000960f..."} 
[2026-07-15 13:13:15] local.INFO: Packet analysis {"connection_id":133374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64ba"} 
[2026-07-15 13:13:15] local.INFO: Extracted packet for processing {"connection_id":133374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64ba"} 
[2026-07-15 13:13:15] local.INFO: GPS Element Parsed {"raw_longitude":763173888,"raw_latitude":98314360,"longitude_deg":76.3173888,"latitude_deg":9.831436,"altitude":0,"angle":150,"satellites":15,"speed":6,"hex_longitude":"2d7d1c00","hex_latitude":"05dc2878","is_valid_coordinates":true} 
[2026-07-15 13:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729946368001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106379489449082880,"note":"Value kept but may cause issues"} 
[2026-07-15 13:13:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014728735536570368,"note":"Value kept but may cause issues"} 
[2026-07-15 13:13:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784101355000,"timestamp_ms":1784101355000,"timestamp_seconds":1784101355,"priority":1,"record_length":96,"hex_timestamp":"0000019f64ba3df8"} 
[2026-07-15 13:13:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:13:15] 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-07-15 13:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-07-15 13:13:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2191,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:13:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:13:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":133374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":133374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":133374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:13:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729946368001,"66":11547,"167":206,"85":15104,"24":6,"16":106379489449082880,"45":9014728735536570368},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-15 13:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729946368001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:13:15] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 13:13:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106379489449082880,"km_value":106379489449082.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:13:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014728735536570368,"description":"Unknown IO ID 45"} 
[2026-07-15 13:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729946368001,"power":11547,"unknown_167":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9014728735536570368}} 
[2026-07-15 13:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":133374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490949,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:13:15] local.INFO: GPS data processed {"connection_id":133374,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:13:15] local.INFO: Acknowledgment sent {"connection_id":133374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:13:38] local.INFO: TCP Data received {"connection_id":133373,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f64b82ab8012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64b82ab8012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:13:38] local.INFO: Processing buffer {"connection_id":133373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64b82ab8012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:13:38] local.INFO: Packet analysis {"connection_id":133373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64b8"} 
[2026-07-15 13:13:38] local.INFO: Extracted packet for processing {"connection_id":133373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64b8"} 
[2026-07-15 13:13:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 13: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-07-15 13:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729835008001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 13:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 13:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784101219000,"timestamp_ms":1784101219000,"timestamp_seconds":1784101219,"priority":1,"record_length":96,"hex_timestamp":"0000019f64b82ab8"} 
[2026-07-15 13:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 13: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 13:13:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13: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-07-15 13:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729835008001,"66":25604,"199":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 13:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729835008001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:13:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 13:13:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 13:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729835008001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 13:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":133373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:13:38] local.INFO: GPS data processed {"connection_id":133373,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:13:38] local.INFO: Acknowledgment sent {"connection_id":133373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:13:59] local.INFO: TCP Data received {"connection_id":132531,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132531,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:13:59] local.INFO: Processing buffer {"connection_id":132531,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:13:59] local.INFO: IMEI packet received {"connection_id":132531,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 13:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":132531,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:13:59] local.INFO: TCP Data received {"connection_id":132531,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132531,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:13:59] local.INFO: Processing buffer {"connection_id":132531,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:13:59] local.INFO: IMEI packet received {"connection_id":132531,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 13:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":132531,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:14:01] local.INFO: TCP Data received {"connection_id":132532,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:14:01] local.INFO: Processing buffer {"connection_id":132532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:14:01] local.INFO: IMEI packet received {"connection_id":132532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":132532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:14:04] local.INFO: TCP Data received {"connection_id":132531,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132531,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:14:04] local.INFO: Processing buffer {"connection_id":132531,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:14:04] local.INFO: IMEI packet received {"connection_id":132531,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 13:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":132531,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:14:06] local.INFO: TCP Data received {"connection_id":132531,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64ba45c8012d7d1d0005dc26d8000000a70f..."} 
[2026-07-15 13:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64ba45c8012d7d1d0005dc26d8000000a70f..."} 
[2026-07-15 13:14:06] local.INFO: Processing buffer {"connection_id":132531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64ba45c8012d7d1d0005dc26d8000000a70f..."} 
[2026-07-15 13:14:06] local.INFO: Packet analysis {"connection_id":132531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64ba"} 
[2026-07-15 13:14:06] local.INFO: Extracted packet for processing {"connection_id":132531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64ba"} 
[2026-07-15 13:14:06] local.INFO: GPS Element Parsed {"raw_longitude":763174144,"raw_latitude":98313944,"longitude_deg":76.3174144,"latitude_deg":9.8313944,"altitude":0,"angle":167,"satellites":15,"speed":8,"hex_longitude":"2d7d1d00","hex_latitude":"05dc26d8","is_valid_coordinates":true} 
[2026-07-15 13:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729946880001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106379510923919360,"note":"Value kept but may cause issues"} 
[2026-07-15 13:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015080579257366528,"note":"Value kept but may cause issues"} 
[2026-07-15 13:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784101357000,"timestamp_ms":1784101357000,"timestamp_seconds":1784101357,"priority":1,"record_length":96,"hex_timestamp":"0000019f64ba45c8"} 
[2026-07-15 13:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:14:06] 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-07-15 13:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-15 13:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":666,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729946880001,"66":11547,"167":206,"85":15104,"24":8,"16":106379510923919360,"45":9015080579257366528},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-15 13:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729946880001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:14:06] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 13:14:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106379510923919360,"km_value":106379510923919.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015080579257366528,"description":"Unknown IO ID 45"} 
[2026-07-15 13:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729946880001,"power":11547,"unknown_167":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9015080579257366528}} 
[2026-07-15 13:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":132531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490951,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:14:06] local.INFO: GPS data processed {"connection_id":132531,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:14:06] local.INFO: Acknowledgment sent {"connection_id":132531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:14:06] local.INFO: TCP Data received {"connection_id":132532,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:14:06] local.INFO: Processing buffer {"connection_id":132532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:14:06] local.INFO: IMEI packet received {"connection_id":132532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":132532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:14:07] local.INFO: TCP Data received {"connection_id":132532,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64b82ab8012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64b82ab8012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:14:07] local.INFO: Processing buffer {"connection_id":132532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64b82ab8012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:14:07] local.INFO: Packet analysis {"connection_id":132532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64b8"} 
[2026-07-15 13:14:07] local.INFO: Extracted packet for processing {"connection_id":132532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64b8"} 
[2026-07-15 13:14:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 13:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729835008001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 13:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 13:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784101219000,"timestamp_ms":1784101219000,"timestamp_seconds":1784101219,"priority":1,"record_length":96,"hex_timestamp":"0000019f64b82ab8"} 
[2026-07-15 13:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 13:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 13:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:14:07] 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-07-15 13:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729835008001,"66":25604,"199":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 13:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729835008001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:14:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 13:14:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 13:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729835008001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 13:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":132532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:14:07] local.INFO: GPS data processed {"connection_id":132532,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:14:07] local.INFO: Acknowledgment sent {"connection_id":132532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:14:36] local.INFO: TCP Data received {"connection_id":132531,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64bbf378012d7d288005dbb438000000e410..."} 
[2026-07-15 13:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64bbf378012d7d288005dbb438000000e410..."} 
[2026-07-15 13:14:36] local.INFO: Processing buffer {"connection_id":132531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64bbf378012d7d288005dbb438000000e410..."} 
[2026-07-15 13:14:36] local.INFO: Packet analysis {"connection_id":132531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64bb"} 
[2026-07-15 13:14:36] local.INFO: Extracted packet for processing {"connection_id":132531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64bb"} 
[2026-07-15 13:14:36] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":98284600,"longitude_deg":76.3177088,"latitude_deg":9.82846,"altitude":0,"angle":228,"satellites":16,"speed":17,"hex_longitude":"2d7d2880","hex_latitude":"05dbb438","is_valid_coordinates":true} 
[2026-07-15 13:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729975296001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106380988392669184,"note":"Value kept but may cause issues"} 
[2026-07-15 13:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018950860179613696,"note":"Value kept but may cause issues"} 
[2026-07-15 13:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784101467000,"timestamp_ms":1784101467000,"timestamp_seconds":1784101467,"priority":1,"record_length":96,"hex_timestamp":"0000019f64bbf378"} 
[2026-07-15 13:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-15 13:14:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 13:14:36] local.WARNING: Large IO value detected {"io_id":240,"raw_value":3120562176,"note":"Value kept but may cause issues"} 
[2026-07-15 13:14:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-15 13:14:36] local.WARNING: Large IO value detected {"io_id":100,"raw_value":3149455361,"note":"Value kept but may cause issues"} 
[2026-07-15 13:14:36] local.WARNING: Large IO value detected {"io_id":219,"raw_value":-2992641952376680448,"note":"Value kept but may cause issues"} 
[2026-07-15 13:14:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797207758,"corrected_to":0} 
[2026-07-15 13:14:36] local.WARNING: Large IO value detected {"io_id":121,"raw_value":4037148672,"note":"Value kept but may cause issues"} 
[2026-07-15 13:14:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3687774208,"note":"Value kept but may cause issues"} 
[2026-07-15 13:14:36] local.WARNING: Large IO value detected {"io_id":187,"raw_value":8818049365276180485,"note":"Value kept but may cause issues"} 
[2026-07-15 13:14:36] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,186,85,24,241,157,16,240,159,231,45,64,185,10,66,212,193,192,1,128,227,100,219,4,113,205,9,161,40,32,239,51,2,121,5,6,187],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2797207758,"validated":0}]} 
[2026-07-15 13:14:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":235364208869376,"timestamp_seconds":235364208869.376,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 13:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729975296001,"66":13319,"186":206,"85":15104,"24":17,"16":106380988392669184,"45":9018950860179613696},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-07-15 13:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729975296001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:14:36] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-15 13:14:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106380988392669184,"km_value":106380988392669.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018950860179613696,"description":"Unknown IO ID 45"} 
[2026-07-15 13:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729975296001,"power":13319,"unknown_186":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":9018950860179613696}} 
[2026-07-15 13:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":132531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490953,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:14:36] local.INFO: GPS data processed {"connection_id":132531,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:14:36] local.INFO: Acknowledgment sent {"connection_id":132531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:14:38] local.INFO: TCP Data received {"connection_id":132532,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64b82ab8012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64b82ab8012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:14:38] local.INFO: Processing buffer {"connection_id":132532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64b82ab8012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:14:38] local.INFO: Packet analysis {"connection_id":132532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64b8"} 
[2026-07-15 13:14:38] local.INFO: Extracted packet for processing {"connection_id":132532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64b8"} 
[2026-07-15 13:14:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 13:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729835008001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 13:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 13:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784101219000,"timestamp_ms":1784101219000,"timestamp_seconds":1784101219,"priority":1,"record_length":96,"hex_timestamp":"0000019f64b82ab8"} 
[2026-07-15 13:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 13:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 13:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729835008001,"66":25604,"199":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 13:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729835008001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:14:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 13:14:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 13:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729835008001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 13:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":132532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:14:38] local.INFO: GPS data processed {"connection_id":132532,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:14:38] local.INFO: Acknowledgment sent {"connection_id":132532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:14:59] local.INFO: TCP Data received {"connection_id":132533,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132533,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:14:59] local.INFO: Processing buffer {"connection_id":132533,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:14:59] local.INFO: IMEI packet received {"connection_id":132533,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 13:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":132533,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:15:00] local.INFO: TCP Data received {"connection_id":132533,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132533,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:15:00] local.INFO: Processing buffer {"connection_id":132533,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:15:00] local.INFO: IMEI packet received {"connection_id":132533,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 13:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":132533,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:15:01] local.INFO: TCP Data received {"connection_id":132533,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132533,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:15:01] local.INFO: Processing buffer {"connection_id":132533,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:15:01] local.INFO: IMEI packet received {"connection_id":132533,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 13:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":132533,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:15:02] local.INFO: TCP Data received {"connection_id":132533,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64bbfb48012d7d258005dbb228000000f610..."} 
[2026-07-15 13:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64bbfb48012d7d258005dbb228000000f610..."} 
[2026-07-15 13:15:02] local.INFO: Processing buffer {"connection_id":132533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64bbfb48012d7d258005dbb228000000f610..."} 
[2026-07-15 13:15:02] local.INFO: Packet analysis {"connection_id":132533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64bb"} 
[2026-07-15 13:15:02] local.INFO: Extracted packet for processing {"connection_id":132533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64bb"} 
[2026-07-15 13:15:02] local.INFO: GPS Element Parsed {"raw_longitude":763176320,"raw_latitude":98284072,"longitude_deg":76.317632,"latitude_deg":9.8284072,"altitude":0,"angle":246,"satellites":16,"speed":19,"hex_longitude":"2d7d2580","hex_latitude":"05dbb228","is_valid_coordinates":true} 
[2026-07-15 13:15: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-07-15 13:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729975552001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106381031342342144,"note":"Value kept but may cause issues"} 
[2026-07-15 13:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016458631168,"note":"Value kept but may cause issues"} 
[2026-07-15 13:15:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784101469000,"timestamp_ms":1784101469000,"timestamp_seconds":1784101469,"priority":1,"record_length":96,"hex_timestamp":"0000019f64bbfb48"} 
[2026-07-15 13:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:15:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-15 13:15:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 13:15:02] local.WARNING: Large IO value detected {"io_id":240,"raw_value":3355443200,"note":"Value kept but may cause issues"} 
[2026-07-15 13:15:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-15 13:15:02] local.WARNING: Large IO value detected {"io_id":100,"raw_value":3149967361,"note":"Value kept but may cause issues"} 
[2026-07-15 13:15:02] local.WARNING: Large IO value detected {"io_id":219,"raw_value":-3533073907662712832,"note":"Value kept but may cause issues"} 
[2026-07-15 13:15:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797207758,"corrected_to":0} 
[2026-07-15 13:15:02] local.WARNING: Large IO value detected {"io_id":184,"raw_value":3758173565,"note":"Value kept but may cause issues"} 
[2026-07-15 13:15:02] local.WARNING: Large IO value detected {"io_id":41,"raw_value":3221609416,"note":"Value kept but may cause issues"} 
[2026-07-15 13:15:02] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3053505958,"note":"Value kept but may cause issues"} 
[2026-07-15 13:15:02] local.WARNING: Large IO value detected {"io_id":121,"raw_value":4038328320,"note":"Value kept but may cause issues"} 
[2026-07-15 13:15:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3687718912,"note":"Value kept but may cause issues"} 
[2026-07-15 13:15:02] local.WARNING: Large IO value detected {"io_id":122,"raw_value":57885688033334587,"note":"Value kept but may cause issues"} 
[2026-07-15 13:15:02] local.WARNING: Large IO value detected {"io_id":187,"raw_value":-7095419918037286907,"note":"Value kept but may cause issues"} 
[2026-07-15 13:15:02] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,186,85,24,241,157,16,240,159,239,45,192,181,10,66,231,64,185,212,1,7,227,100,219,4,113,205,8,184,41,112,50,2,121,5,122,187],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2797207758,"validated":0}]} 
[2026-07-15 13:15:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":250757371723776,"timestamp_seconds":250757371723.776,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 13:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":132533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":132533,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":132533,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729975552001,"66":13037,"186":206,"85":15104,"24":19,"16":106381031342342144,"45":9018599016458631168},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-07-15 13:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729975552001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:15:02] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-15 13:15:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106381031342342144,"km_value":106381031342342.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016458631168,"description":"Unknown IO ID 45"} 
[2026-07-15 13:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729975552001,"power":13037,"unknown_186":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":9018599016458631168}} 
[2026-07-15 13:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":132533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490955,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:15:02] local.INFO: GPS data processed {"connection_id":132533,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:15:02] local.INFO: Acknowledgment sent {"connection_id":132533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:15:06] local.INFO: TCP Data received {"connection_id":133375,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:15:06] local.INFO: Processing buffer {"connection_id":133375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:15:06] local.INFO: IMEI packet received {"connection_id":133375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":133375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:15:11] local.INFO: TCP Data received {"connection_id":133375,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:15:11] local.INFO: Processing buffer {"connection_id":133375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:15:11] local.INFO: IMEI packet received {"connection_id":133375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":133375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:15:12] local.INFO: TCP Data received {"connection_id":133375,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f64b82ab8012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64b82ab8012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:15:12] local.INFO: Processing buffer {"connection_id":133375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64b82ab8012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:15:12] local.INFO: Packet analysis {"connection_id":133375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64b8"} 
[2026-07-15 13:15:12] local.INFO: Extracted packet for processing {"connection_id":133375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64b8"} 
[2026-07-15 13:15:12] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 13:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729835008001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 13:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 13:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784101219000,"timestamp_ms":1784101219000,"timestamp_seconds":1784101219,"priority":1,"record_length":96,"hex_timestamp":"0000019f64b82ab8"} 
[2026-07-15 13:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 13:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 13:15:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":133375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":133375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":133375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:15:12] 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-07-15 13:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729835008001,"66":25604,"199":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 13:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729835008001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:15:12] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 13:15:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 13:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729835008001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 13:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":133375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:15:12] local.INFO: GPS data processed {"connection_id":133375,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:15:12] local.INFO: Acknowledgment sent {"connection_id":133375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:15:34] local.INFO: TCP Data received {"connection_id":132533,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64bcddd8012d7cb40005db75d0000600f511..."} 
[2026-07-15 13:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64bcddd8012d7cb40005db75d0000600f511..."} 
[2026-07-15 13:15:34] local.INFO: Processing buffer {"connection_id":132533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64bcddd8012d7cb40005db75d0000600f511..."} 
[2026-07-15 13:15:34] local.INFO: Packet analysis {"connection_id":132533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64bc"} 
[2026-07-15 13:15:34] local.INFO: Extracted packet for processing {"connection_id":132533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64bc"} 
[2026-07-15 13:15:34] local.INFO: GPS Element Parsed {"raw_longitude":763147264,"raw_latitude":98268624,"longitude_deg":76.3147264,"latitude_deg":9.8268624,"altitude":6,"angle":245,"satellites":17,"speed":20,"hex_longitude":"2d7cb400","hex_latitude":"05db75d0","is_valid_coordinates":true} 
[2026-07-15 13: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-07-15 13:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729988352001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106382813753769984,"note":"Value kept but may cause issues"} 
[2026-07-15 13:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8993688481016184832,"note":"Value kept but may cause issues"} 
[2026-07-15 13:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784101527000,"timestamp_ms":1784101527000,"timestamp_seconds":1784101527,"priority":1,"record_length":96,"hex_timestamp":"0000019f64bcddd8"} 
[2026-07-15 13:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:15: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-07-15 13: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-15 13:15: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-07-15 13: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-07-15 13:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":132533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":132533,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":132533,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729988352001,"66":12287,"186":206,"85":15104,"24":20,"16":106382813753769984,"45":8993688481016184832},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-07-15 13:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729988352001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:15:34] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-15 13:15:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106382813753769984,"km_value":106382813753769.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8993688481016184832,"description":"Unknown IO ID 45"} 
[2026-07-15 13:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729988352001,"power":12287,"unknown_186":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8993688481016184832}} 
[2026-07-15 13:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":132533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490957,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:15:34] local.INFO: GPS data processed {"connection_id":132533,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:15:34] local.INFO: Acknowledgment sent {"connection_id":132533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:15:43] local.INFO: TCP Data received {"connection_id":133375,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f64b82ab8012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64b82ab8012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:15:43] local.INFO: Processing buffer {"connection_id":133375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64b82ab8012d7f998005afdce00000011c2c..."} 
[2026-07-15 13:15:43] local.INFO: Packet analysis {"connection_id":133375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64b8"} 
[2026-07-15 13:15:43] local.INFO: Extracted packet for processing {"connection_id":133375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64b8"} 
[2026-07-15 13:15:43] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95411424,"longitude_deg":76.3337088,"latitude_deg":9.5411424,"altitude":0,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afdce0","is_valid_coordinates":true} 
[2026-07-15 13:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729835008001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 13:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 13:15:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784101219000,"timestamp_ms":1784101219000,"timestamp_seconds":1784101219,"priority":1,"record_length":96,"hex_timestamp":"0000019f64b82ab8"} 
[2026-07-15 13:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:15:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 13:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 13:15:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:15:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":133375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":133375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":133375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:15:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729835008001,"66":25604,"199":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 13:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729835008001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:15:43] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 13:15:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 13:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729835008001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 13:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":133375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:15:43] local.INFO: GPS data processed {"connection_id":133375,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:15:43] local.INFO: Acknowledgment sent {"connection_id":133375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:16:00] local.INFO: TCP Data received {"connection_id":133376,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133376,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:16:00] local.INFO: Processing buffer {"connection_id":133376,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:16:00] local.INFO: IMEI packet received {"connection_id":133376,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 13:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":133376,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:16:01] local.INFO: TCP Data received {"connection_id":132347,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:16:01] local.INFO: Processing buffer {"connection_id":132347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:16:01] local.INFO: IMEI packet received {"connection_id":132347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":132347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:16:04] local.INFO: TCP Data received {"connection_id":133376,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133376,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:16:04] local.INFO: Processing buffer {"connection_id":133376,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:16:04] local.INFO: IMEI packet received {"connection_id":133376,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 13:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":133376,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:16:05] local.INFO: TCP Data received {"connection_id":133376,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64bd3f80012d7c9e4005db4db0000500e311..."} 
[2026-07-15 13:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64bd3f80012d7c9e4005db4db0000500e311..."} 
[2026-07-15 13:16:05] local.INFO: Processing buffer {"connection_id":133376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64bd3f80012d7c9e4005db4db0000500e311..."} 
[2026-07-15 13:16:05] local.INFO: Packet analysis {"connection_id":133376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64bd"} 
[2026-07-15 13:16:05] local.INFO: Extracted packet for processing {"connection_id":133376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64bd"} 
[2026-07-15 13:16:05] local.INFO: GPS Element Parsed {"raw_longitude":763141696,"raw_latitude":98258352,"longitude_deg":76.3141696,"latitude_deg":9.8258352,"altitude":5,"angle":227,"satellites":17,"speed":17,"hex_longitude":"2d7c9e40","hex_latitude":"05db4db0","is_valid_coordinates":true} 
[2026-07-15 13:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729997056001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106383410754224128,"note":"Value kept but may cause issues"} 
[2026-07-15 13:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980036944642637824,"note":"Value kept but may cause issues"} 
[2026-07-15 13:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784101552000,"timestamp_ms":1784101552000,"timestamp_seconds":1784101552,"priority":1,"record_length":96,"hex_timestamp":"0000019f64bd3f80"} 
[2026-07-15 13:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:16:05] 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-07-15 13:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-15 13:16:05] 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-07-15 13:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":133376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":133376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":133376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729997056001,"66":13080,"186":206,"85":15104,"24":17,"16":106383410754224128,"45":8980036944642637824},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-07-15 13:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729997056001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:16:05] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-15 13:16:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106383410754224128,"km_value":106383410754224.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980036944642637824,"description":"Unknown IO ID 45"} 
[2026-07-15 13:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729997056001,"power":13080,"unknown_186":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8980036944642637824}} 
[2026-07-15 13:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":133376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490959,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:16:05] local.INFO: GPS data processed {"connection_id":133376,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:16:05] local.INFO: Acknowledgment sent {"connection_id":133376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:16:06] local.INFO: TCP Data received {"connection_id":132347,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:16:06] local.INFO: Processing buffer {"connection_id":132347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:16:06] local.INFO: IMEI packet received {"connection_id":132347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":132347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:16:07] local.INFO: TCP Data received {"connection_id":132347,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f64bcc280012d7f97c005afddb8000001222c..."} 
[2026-07-15 13:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64bcc280012d7f97c005afddb8000001222c..."} 
[2026-07-15 13:16:07] local.INFO: Processing buffer {"connection_id":132347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64bcc280012d7f97c005afddb8000001222c..."} 
[2026-07-15 13:16:07] local.INFO: Packet analysis {"connection_id":132347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64bc"} 
[2026-07-15 13:16:07] local.INFO: Extracted packet for processing {"connection_id":132347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64bc"} 
[2026-07-15 13:16:07] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95411640,"longitude_deg":76.333664,"latitude_deg":9.541164,"altitude":0,"angle":290,"satellites":44,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afddb8","is_valid_coordinates":true} 
[2026-07-15 13:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729912064001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 13:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 13:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784101520000,"timestamp_ms":1784101520000,"timestamp_seconds":1784101520,"priority":1,"record_length":96,"hex_timestamp":"0000019f64bcc280"} 
[2026-07-15 13:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 13:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 13:16:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:16:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729912064001,"66":25538,"199":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 13:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729912064001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:16:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 13:16:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 13:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729912064001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 13:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":132347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:16:07] local.INFO: GPS data processed {"connection_id":132347,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:16:07] local.INFO: Acknowledgment sent {"connection_id":132347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:16:36] local.INFO: TCP Data received {"connection_id":133376,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64bd4368012d7c9cc005db4cb8000500ef11..."} 
[2026-07-15 13:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64bd4368012d7c9cc005db4cb8000500ef11..."} 
[2026-07-15 13:16:36] local.INFO: Processing buffer {"connection_id":133376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64bd4368012d7c9cc005db4cb8000500ef11..."} 
[2026-07-15 13:16:36] local.INFO: Packet analysis {"connection_id":133376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64bd"} 
[2026-07-15 13:16:36] local.INFO: Extracted packet for processing {"connection_id":133376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64bd"} 
[2026-07-15 13:16:36] local.INFO: GPS Element Parsed {"raw_longitude":763141312,"raw_latitude":98258104,"longitude_deg":76.3141312,"latitude_deg":9.8258104,"altitude":5,"angle":239,"satellites":17,"speed":16,"hex_longitude":"2d7c9cc0","hex_latitude":"05db4cb8","is_valid_coordinates":true} 
[2026-07-15 13:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729997312001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106383432229060608,"note":"Value kept but may cause issues"} 
[2026-07-15 13:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8979685100921663488,"note":"Value kept but may cause issues"} 
[2026-07-15 13:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784101553000,"timestamp_ms":1784101553000,"timestamp_seconds":1784101553,"priority":1,"record_length":96,"hex_timestamp":"0000019f64bd4368"} 
[2026-07-15 13:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-15 13:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":133376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":133376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":133376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729997312001,"66":13080,"186":206,"85":15104,"24":16,"16":106383432229060608,"45":8979685100921663488},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-07-15 13:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729997312001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:16:36] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-15 13:16:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106383432229060608,"km_value":106383432229060.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8979685100921663488,"description":"Unknown IO ID 45"} 
[2026-07-15 13:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729997312001,"power":13080,"unknown_186":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8979685100921663488}} 
[2026-07-15 13:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":133376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490961,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:16:36] local.INFO: GPS data processed {"connection_id":133376,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:16:36] local.INFO: Acknowledgment sent {"connection_id":133376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:16:38] local.INFO: TCP Data received {"connection_id":132347,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f64bcc280012d7f97c005afddb8000001222c..."} 
[2026-07-15 13:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64bcc280012d7f97c005afddb8000001222c..."} 
[2026-07-15 13:16:38] local.INFO: Processing buffer {"connection_id":132347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64bcc280012d7f97c005afddb8000001222c..."} 
[2026-07-15 13:16:38] local.INFO: Packet analysis {"connection_id":132347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64bc"} 
[2026-07-15 13:16:38] local.INFO: Extracted packet for processing {"connection_id":132347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64bc"} 
[2026-07-15 13:16:38] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95411640,"longitude_deg":76.333664,"latitude_deg":9.541164,"altitude":0,"angle":290,"satellites":44,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afddb8","is_valid_coordinates":true} 
[2026-07-15 13: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-07-15 13:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729912064001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 13:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 13:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784101520000,"timestamp_ms":1784101520000,"timestamp_seconds":1784101520,"priority":1,"record_length":96,"hex_timestamp":"0000019f64bcc280"} 
[2026-07-15 13:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 13: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 13:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13: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-07-15 13:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729912064001,"66":25538,"199":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 13:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729912064001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:16:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 13:16:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 13:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729912064001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 13:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":132347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:16:38] local.INFO: GPS data processed {"connection_id":132347,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:16:38] local.INFO: Acknowledgment sent {"connection_id":132347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:16:59] local.INFO: TCP Data received {"connection_id":132535,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132535,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:16:59] local.INFO: Processing buffer {"connection_id":132535,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:16:59] local.INFO: IMEI packet received {"connection_id":132535,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 13:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":132535,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:17:00] local.INFO: TCP Data received {"connection_id":132534,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132534,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:17:00] local.INFO: Processing buffer {"connection_id":132534,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:17:00] local.INFO: IMEI packet received {"connection_id":132534,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 13:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":132534,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:17:00] local.INFO: TCP Data received {"connection_id":132535,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132535,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:17:00] local.INFO: Processing buffer {"connection_id":132535,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:17:00] local.INFO: IMEI packet received {"connection_id":132535,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 13:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":132535,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:17:05] local.INFO: TCP Data received {"connection_id":132535,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132535,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:17:05] local.INFO: Processing buffer {"connection_id":132535,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:17:05] local.INFO: IMEI packet received {"connection_id":132535,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 13:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":132535,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:17:05] local.INFO: TCP Data received {"connection_id":132535,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64bde778012d7c550005db2488000d00f211..."} 
[2026-07-15 13:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64bde778012d7c550005db2488000d00f211..."} 
[2026-07-15 13:17:05] local.INFO: Processing buffer {"connection_id":132535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64bde778012d7c550005db2488000d00f211..."} 
[2026-07-15 13:17:05] local.INFO: Packet analysis {"connection_id":132535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64bd"} 
[2026-07-15 13:17:05] local.INFO: Extracted packet for processing {"connection_id":132535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64bd"} 
[2026-07-15 13:17:05] local.INFO: GPS Element Parsed {"raw_longitude":763122944,"raw_latitude":98247816,"longitude_deg":76.3122944,"latitude_deg":9.8247816,"altitude":13,"angle":242,"satellites":17,"speed":8,"hex_longitude":"2d7c5500","hex_latitude":"05db2488","is_valid_coordinates":true} 
[2026-07-15 13:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730007552001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106384510265851904,"note":"Value kept but may cause issues"} 
[2026-07-15 13:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8960263327526035456,"note":"Value kept but may cause issues"} 
[2026-07-15 13:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784101595000,"timestamp_ms":1784101595000,"timestamp_seconds":1784101595,"priority":1,"record_length":96,"hex_timestamp":"0000019f64bde778"} 
[2026-07-15 13:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:17:05] 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-07-15 13:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-15 13:17:05] 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-07-15 13:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132535,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132535,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730007552001,"66":13059,"186":206,"85":15104,"24":8,"16":106384510265851904,"45":8960263327526035456},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-07-15 13:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730007552001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:17:05] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-15 13:17:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106384510265851904,"km_value":106384510265851.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8960263327526035456,"description":"Unknown IO ID 45"} 
[2026-07-15 13:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730007552001,"power":13059,"unknown_186":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8960263327526035456}} 
[2026-07-15 13:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":132535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490963,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:17:05] local.INFO: GPS data processed {"connection_id":132535,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:17:05] local.INFO: Acknowledgment sent {"connection_id":132535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:17:06] local.INFO: TCP Data received {"connection_id":132536,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:17:06] local.INFO: Processing buffer {"connection_id":132536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:17:06] local.INFO: IMEI packet received {"connection_id":132536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":132536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:17:11] local.INFO: TCP Data received {"connection_id":132536,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:17:11] local.INFO: Processing buffer {"connection_id":132536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:17:11] local.INFO: IMEI packet received {"connection_id":132536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":132536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:17:12] local.INFO: TCP Data received {"connection_id":132536,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f64bcc280012d7f97c005afddb8000001222c..."} 
[2026-07-15 13:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64bcc280012d7f97c005afddb8000001222c..."} 
[2026-07-15 13:17:12] local.INFO: Processing buffer {"connection_id":132536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64bcc280012d7f97c005afddb8000001222c..."} 
[2026-07-15 13:17:12] local.INFO: Packet analysis {"connection_id":132536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64bc"} 
[2026-07-15 13:17:12] local.INFO: Extracted packet for processing {"connection_id":132536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64bc"} 
[2026-07-15 13:17:12] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95411640,"longitude_deg":76.333664,"latitude_deg":9.541164,"altitude":0,"angle":290,"satellites":44,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afddb8","is_valid_coordinates":true} 
[2026-07-15 13:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729912064001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 13:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 13:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784101520000,"timestamp_ms":1784101520000,"timestamp_seconds":1784101520,"priority":1,"record_length":96,"hex_timestamp":"0000019f64bcc280"} 
[2026-07-15 13:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 13:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 13:17:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:17:12] 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-07-15 13:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729912064001,"66":25538,"199":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 13:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729912064001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:17:12] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 13:17:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 13:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729912064001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 13:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":132536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:17:12] local.INFO: GPS data processed {"connection_id":132536,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:17:12] local.INFO: Acknowledgment sent {"connection_id":132536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:17:16] local.INFO: TCP Data received {"connection_id":132536,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f64bcc280012d7f97c005afddb8000001222c..."} 
[2026-07-15 13:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64bcc280012d7f97c005afddb8000001222c..."} 
[2026-07-15 13:17:16] local.INFO: Processing buffer {"connection_id":132536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64bcc280012d7f97c005afddb8000001222c..."} 
[2026-07-15 13:17:16] local.INFO: Packet analysis {"connection_id":132536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64bc"} 
[2026-07-15 13:17:16] local.INFO: Extracted packet for processing {"connection_id":132536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64bc"} 
[2026-07-15 13:17:16] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95411640,"longitude_deg":76.333664,"latitude_deg":9.541164,"altitude":0,"angle":290,"satellites":44,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afddb8","is_valid_coordinates":true} 
[2026-07-15 13:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729912064001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 13:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167258112,"note":"Value kept but may cause issues"} 
[2026-07-15 13:17:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784101520000,"timestamp_ms":1784101520000,"timestamp_seconds":1784101520,"priority":1,"record_length":96,"hex_timestamp":"0000019f64bcc280"} 
[2026-07-15 13:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:17:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 13:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 13:17:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:17:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:17:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729912064001,"66":25538,"199":206,"85":12544,"24":0,"16":347094298807762944,"45":9194520876167258112},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 13:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729912064001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:17:16] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 13:17:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167258112,"description":"Unknown IO ID 45"} 
[2026-07-15 13:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729912064001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167258112}} 
[2026-07-15 13:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":132536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:17:16] local.INFO: GPS data processed {"connection_id":132536,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:17:16] local.INFO: Acknowledgment sent {"connection_id":132536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:17:34] local.INFO: TCP Data received {"connection_id":133377,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133377,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:17:34] local.INFO: Processing buffer {"connection_id":133377,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:17:34] local.INFO: IMEI packet received {"connection_id":133377,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 13:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":133377,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:17:38] local.INFO: TCP Data received {"connection_id":132535,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64bdfee8012d7c4e8005db2048000e00e311..."} 
[2026-07-15 13:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64bdfee8012d7c4e8005db2048000e00e311..."} 
[2026-07-15 13:17:38] local.INFO: Processing buffer {"connection_id":132535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64bdfee8012d7c4e8005db2048000e00e311..."} 
[2026-07-15 13:17:38] local.INFO: Packet analysis {"connection_id":132535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64bd"} 
[2026-07-15 13:17:38] local.INFO: Extracted packet for processing {"connection_id":132535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64bd"} 
[2026-07-15 13:17:38] local.INFO: GPS Element Parsed {"raw_longitude":763121280,"raw_latitude":98246728,"longitude_deg":76.312128,"latitude_deg":9.8246728,"altitude":14,"angle":227,"satellites":17,"speed":15,"hex_longitude":"2d7c4e80","hex_latitude":"05db2048","is_valid_coordinates":true} 
[2026-07-15 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-07-15 13:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730008320001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106384604755132416,"note":"Value kept but may cause issues"} 
[2026-07-15 13:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8959067058874910720,"note":"Value kept but may cause issues"} 
[2026-07-15 13:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784101601000,"timestamp_ms":1784101601000,"timestamp_seconds":1784101601,"priority":1,"record_length":96,"hex_timestamp":"0000019f64bdfee8"} 
[2026-07-15 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-07-15 13:17: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-07-15 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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-15 13:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160630496678,"note":"Value kept but may cause issues"} 
[2026-07-15 13:17:38] local.WARNING: Large IO value detected {"io_id":186,"raw_value":58077557095399442,"note":"Value kept but may cause issues"} 
[2026-07-15 13:17:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 13:17:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":14337,"corrected_to":0} 
[2026-07-15 13:17:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797207758,"corrected_to":0} 
[2026-07-15 13:17:38] local.WARNING: Large IO value detected {"io_id":184,"raw_value":2550214012,"note":"Value kept but may cause issues"} 
[2026-07-15 13:17:38] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2701184422,"note":"Value kept but may cause issues"} 
[2026-07-15 13:17:38] local.WARNING: Large IO value detected {"io_id":121,"raw_value":4092919808,"note":"Value kept but may cause issues"} 
[2026-07-15 13:17:38] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3677911040,"note":"Value kept but may cause issues"} 
[2026-07-15 13:17:38] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,186,85,24,241,157,16,244,159,219,45,64,38,12,17,10,66,208,128,39,200,1,240,133,227,100,4,113,205,11,184,239,50,2,121,5,9,18],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":200,"original":14337,"validated":0},{"io_id":205,"original":2797207758,"validated":0}]} 
[2026-07-15 13:17:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937014877321953280,"timestamp_seconds":937014877321953.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 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-07-15 13:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132535,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132535,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730008320001,"66":13200,"186":206,"85":15104,"24":15,"16":106384604755132416,"45":8959067058874910720},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-07-15 13:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730008320001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:17:38] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-15 13:17:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106384604755132416,"km_value":106384604755132.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8959067058874910720,"description":"Unknown IO ID 45"} 
[2026-07-15 13:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730008320001,"power":13200,"unknown_186":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8959067058874910720}} 
[2026-07-15 13:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":132535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490966,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:17:38] local.INFO: GPS data processed {"connection_id":132535,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:17:38] local.INFO: Acknowledgment sent {"connection_id":132535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:17:59] local.INFO: TCP Data received {"connection_id":134742,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134742,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:17:59] local.INFO: Processing buffer {"connection_id":134742,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:17:59] local.INFO: IMEI packet received {"connection_id":134742,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 13:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":134742,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:18:01] local.INFO: TCP Data received {"connection_id":132348,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:18:01] local.INFO: Processing buffer {"connection_id":132348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:18:01] local.INFO: IMEI packet received {"connection_id":132348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":132348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:18:04] local.INFO: TCP Data received {"connection_id":134742,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134742,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:18:04] local.INFO: Processing buffer {"connection_id":134742,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:18:04] local.INFO: IMEI packet received {"connection_id":134742,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 13:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":134742,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:18:05] local.INFO: TCP Data received {"connection_id":134742,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64bee948012d7c3c0005daaf38000000a30e..."} 
[2026-07-15 13:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64bee948012d7c3c0005daaf38000000a30e..."} 
[2026-07-15 13:18:05] local.INFO: Processing buffer {"connection_id":134742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64bee948012d7c3c0005daaf38000000a30e..."} 
[2026-07-15 13:18:05] local.INFO: Packet analysis {"connection_id":134742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64be"} 
[2026-07-15 13:18:05] local.INFO: Extracted packet for processing {"connection_id":134742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64be"} 
[2026-07-15 13:18:05] local.INFO: GPS Element Parsed {"raw_longitude":763116544,"raw_latitude":98217784,"longitude_deg":76.3116544,"latitude_deg":9.8217784,"altitude":0,"angle":163,"satellites":14,"speed":51,"hex_longitude":"2d7c3c00","hex_latitude":"05daaf38","is_valid_coordinates":true} 
[2026-07-15 13:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730023424001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106386438706167808,"note":"Value kept but may cause issues"} 
[2026-07-15 13:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949145065940367360,"note":"Value kept but may cause issues"} 
[2026-07-15 13:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784101661000,"timestamp_ms":1784101661000,"timestamp_seconds":1784101661,"priority":1,"record_length":96,"hex_timestamp":"0000019f64bee948"} 
[2026-07-15 13:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:18: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-07-15 13:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-15 13:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":134742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":134742,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":134742,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730023424001,"66":12841,"186":206,"85":15104,"24":51,"16":106386438706167808,"45":8949145065940367360},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-07-15 13:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730023424001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:18:05] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-15 13:18:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106386438706167808,"km_value":106386438706167.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949145065940367360,"description":"Unknown IO ID 45"} 
[2026-07-15 13:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730023424001,"power":12841,"unknown_186":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8949145065940367360}} 
[2026-07-15 13:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":134742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490967,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:18:05] local.INFO: GPS data processed {"connection_id":134742,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:18:05] local.INFO: Acknowledgment sent {"connection_id":134742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:18:07] local.INFO: TCP Data received {"connection_id":132348,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:18:07] local.INFO: Processing buffer {"connection_id":132348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:18:07] local.INFO: IMEI packet received {"connection_id":132348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":132348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:18:08] local.INFO: TCP Data received {"connection_id":132348,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64be6478012d7f97c005afddb8000001222c..."} 
[2026-07-15 13:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64be6478012d7f97c005afddb8000001222c..."} 
[2026-07-15 13:18:08] local.INFO: Processing buffer {"connection_id":132348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64be6478012d7f97c005afddb8000001222c..."} 
[2026-07-15 13:18:08] local.INFO: Packet analysis {"connection_id":132348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64be"} 
[2026-07-15 13:18:08] local.INFO: Extracted packet for processing {"connection_id":132348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64be"} 
[2026-07-15 13:18:08] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95411640,"longitude_deg":76.333664,"latitude_deg":9.541164,"altitude":0,"angle":290,"satellites":44,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afddb8","is_valid_coordinates":true} 
[2026-07-15 13:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456729989120001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 13:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294958069760,"note":"Value kept but may cause issues"} 
[2026-07-15 13:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784101627000,"timestamp_ms":1784101627000,"timestamp_seconds":1784101627,"priority":1,"record_length":96,"hex_timestamp":"0000019f64be6478"} 
[2026-07-15 13:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 13:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-15 13:18:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:18:08] 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-07-15 13:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456729989120001,"66":25604,"199":206,"85":12544,"24":0,"16":347094298807762944,"45":9194028294958069760},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 13:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456729989120001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:18:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 13:18:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294958069760,"description":"Unknown IO ID 45"} 
[2026-07-15 13:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456729989120001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294958069760}} 
[2026-07-15 13:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":132348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:18:08] local.INFO: GPS data processed {"connection_id":132348,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:18:08] local.INFO: Acknowledgment sent {"connection_id":132348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:18:36] local.INFO: TCP Data received {"connection_id":134742,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64bf04a0012d7c478005da8d10000000a40d..."} 
[2026-07-15 13:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64bf04a0012d7c478005da8d10000000a40d..."} 
[2026-07-15 13:18:36] local.INFO: Processing buffer {"connection_id":134742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64bf04a0012d7c478005da8d10000000a40d..."} 
[2026-07-15 13:18:36] local.INFO: Packet analysis {"connection_id":134742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64bf"} 
[2026-07-15 13:18:36] local.INFO: Extracted packet for processing {"connection_id":134742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64bf"} 
[2026-07-15 13:18:36] local.INFO: GPS Element Parsed {"raw_longitude":763119488,"raw_latitude":98209040,"longitude_deg":76.3119488,"latitude_deg":9.820904,"altitude":0,"angle":164,"satellites":13,"speed":48,"hex_longitude":"2d7c4780","hex_latitude":"05da8d10","is_valid_coordinates":true} 
[2026-07-15 13:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730025216001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106386889677733888,"note":"Value kept but may cause issues"} 
[2026-07-15 13:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952030184449456128,"note":"Value kept but may cause issues"} 
[2026-07-15 13:18:36] 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-07-15 13:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784101668000,"timestamp_ms":1784101668000,"timestamp_seconds":1784101668,"priority":1,"record_length":96,"hex_timestamp":"0000019f64bf04a0"} 
[2026-07-15 13:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-15 13:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":134742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":134742,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":134742,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730025216001,"66":13189,"187":206,"85":15104,"24":48,"16":106386889677733888,"45":8952030184449456128},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-15 13:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730025216001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:18:36] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-15 13:18:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106386889677733888,"km_value":106386889677733.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952030184449456128,"description":"Unknown IO ID 45"} 
[2026-07-15 13:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730025216001,"power":13189,"unknown_187":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8952030184449456128}} 
[2026-07-15 13:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":134742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490969,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:18:36] local.INFO: GPS data processed {"connection_id":134742,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:18:36] local.INFO: Acknowledgment sent {"connection_id":134742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:18:39] local.INFO: TCP Data received {"connection_id":132348,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64beba68012d7f96c005afddb8000001222c..."} 
[2026-07-15 13:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64beba68012d7f96c005afddb8000001222c..."} 
[2026-07-15 13:18:39] local.INFO: Processing buffer {"connection_id":132348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64beba68012d7f96c005afddb8000001222c..."} 
[2026-07-15 13:18:39] local.INFO: Packet analysis {"connection_id":132348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64be"} 
[2026-07-15 13:18:39] local.INFO: Extracted packet for processing {"connection_id":132348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64be"} 
[2026-07-15 13:18:39] local.INFO: GPS Element Parsed {"raw_longitude":763336384,"raw_latitude":95411640,"longitude_deg":76.3336384,"latitude_deg":9.541164,"altitude":0,"angle":290,"satellites":44,"speed":0,"hex_longitude":"2d7f96c0","hex_latitude":"05afddb8","is_valid_coordinates":true} 
[2026-07-15 13:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730016512001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 13:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294958069760,"note":"Value kept but may cause issues"} 
[2026-07-15 13:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784101649000,"timestamp_ms":1784101649000,"timestamp_seconds":1784101649,"priority":1,"record_length":96,"hex_timestamp":"0000019f64beba68"} 
[2026-07-15 13:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:18:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 13:18:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:18:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:18: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-07-15 13:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730016512001,"66":27821,"199":206,"85":12544,"24":0,"16":347094298807762944,"45":9194028294958069760},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 13:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730016512001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:18:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 13:18:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294958069760,"description":"Unknown IO ID 45"} 
[2026-07-15 13:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730016512001,"power":27821,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294958069760}} 
[2026-07-15 13:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":132348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:18:39] local.INFO: GPS data processed {"connection_id":132348,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:18:39] local.INFO: Acknowledgment sent {"connection_id":132348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:19:02] local.INFO: TCP Data received {"connection_id":132538,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:19:02] local.INFO: Processing buffer {"connection_id":132538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:19:02] local.INFO: IMEI packet received {"connection_id":132538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":132538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:19:06] local.INFO: TCP Data received {"connection_id":132538,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:19:06] local.INFO: Processing buffer {"connection_id":132538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:19:06] local.INFO: IMEI packet received {"connection_id":132538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":132538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:19:07] local.INFO: TCP Data received {"connection_id":132538,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64bf0c70012d7f96c005afddb8000001222c..."} 
[2026-07-15 13:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64bf0c70012d7f96c005afddb8000001222c..."} 
[2026-07-15 13:19:07] local.INFO: Processing buffer {"connection_id":132538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64bf0c70012d7f96c005afddb8000001222c..."} 
[2026-07-15 13:19:07] local.INFO: Packet analysis {"connection_id":132538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64bf"} 
[2026-07-15 13:19:07] local.INFO: Extracted packet for processing {"connection_id":132538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64bf"} 
[2026-07-15 13:19:07] local.INFO: GPS Element Parsed {"raw_longitude":763336384,"raw_latitude":95411640,"longitude_deg":76.3336384,"latitude_deg":9.541164,"altitude":0,"angle":290,"satellites":44,"speed":0,"hex_longitude":"2d7f96c0","hex_latitude":"05afddb8","is_valid_coordinates":true} 
[2026-07-15 13:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730022144001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 13:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193746819981359104,"note":"Value kept but may cause issues"} 
[2026-07-15 13:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784101670000,"timestamp_ms":1784101670000,"timestamp_seconds":1784101670,"priority":1,"record_length":96,"hex_timestamp":"0000019f64bf0c70"} 
[2026-07-15 13:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 13:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:19:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:19:07] 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-07-15 13:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730022144001,"66":27767,"199":206,"85":12544,"24":0,"16":347094298807762944,"45":9193746819981359104},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 13:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730022144001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:19:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 13:19:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193746819981359104,"description":"Unknown IO ID 45"} 
[2026-07-15 13:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730022144001,"power":27767,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193746819981359104}} 
[2026-07-15 13:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":132538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:19:07] local.INFO: GPS data processed {"connection_id":132538,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:19:07] local.INFO: Acknowledgment sent {"connection_id":132538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:19:09] local.INFO: TCP Data received {"connection_id":133378,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133378,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:19:09] local.INFO: Processing buffer {"connection_id":133378,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:19:09] local.INFO: IMEI packet received {"connection_id":133378,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 13:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":133378,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:19:10] local.INFO: TCP Data received {"connection_id":133378,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133378,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:19:10] local.INFO: Processing buffer {"connection_id":133378,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:19:10] local.INFO: IMEI packet received {"connection_id":133378,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 13:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":133378,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:19:14] local.INFO: TCP Data received {"connection_id":133378,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133378,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:19:14] local.INFO: Processing buffer {"connection_id":133378,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:19:14] local.INFO: IMEI packet received {"connection_id":133378,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 13:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":133378,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:19:15] local.INFO: TCP Data received {"connection_id":133378,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64bf23e0012d7c530005da6780000000a50c..."} 
[2026-07-15 13:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64bf23e0012d7c530005da6780000000a50c..."} 
[2026-07-15 13:19:15] local.INFO: Processing buffer {"connection_id":133378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64bf23e0012d7c530005da6780000000a50c..."} 
[2026-07-15 13:19:15] local.INFO: Packet analysis {"connection_id":133378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64bf"} 
[2026-07-15 13:19:15] local.INFO: Extracted packet for processing {"connection_id":133378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64bf"} 
[2026-07-15 13:19:15] local.INFO: GPS Element Parsed {"raw_longitude":763122432,"raw_latitude":98199424,"longitude_deg":76.3122432,"latitude_deg":9.8199424,"altitude":0,"angle":165,"satellites":12,"speed":48,"hex_longitude":"2d7c5300","hex_latitude":"05da6780","is_valid_coordinates":true} 
[2026-07-15 13:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730027008001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106387375009038336,"note":"Value kept but may cause issues"} 
[2026-07-15 13:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8955267146679390208,"note":"Value kept but may cause issues"} 
[2026-07-15 13:19:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784101676000,"timestamp_ms":1784101676000,"timestamp_seconds":1784101676,"priority":1,"record_length":96,"hex_timestamp":"0000019f64bf23e0"} 
[2026-07-15 13:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:19:15] 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-07-15 13:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-15 13:19:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:19:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":133378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":133378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":133378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:19:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730027008001,"66":13189,"187":206,"85":15104,"24":48,"16":106387375009038336,"45":8955267146679390208},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-15 13:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730027008001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:19:15] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-15 13:19:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106387375009038336,"km_value":106387375009038.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8955267146679390208,"description":"Unknown IO ID 45"} 
[2026-07-15 13:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730027008001,"power":13189,"unknown_187":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8955267146679390208}} 
[2026-07-15 13:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":133378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490972,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:19:15] local.INFO: GPS data processed {"connection_id":133378,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:19:15] local.INFO: Acknowledgment sent {"connection_id":133378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:19:38] local.INFO: TCP Data received {"connection_id":132538,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64bf5e78012d7f96c005afddb8000001222c..."} 
[2026-07-15 13:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64bf5e78012d7f96c005afddb8000001222c..."} 
[2026-07-15 13:19:38] local.INFO: Processing buffer {"connection_id":132538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64bf5e78012d7f96c005afddb8000001222c..."} 
[2026-07-15 13:19:38] local.INFO: Packet analysis {"connection_id":132538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64bf"} 
[2026-07-15 13:19:38] local.INFO: Extracted packet for processing {"connection_id":132538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64bf"} 
[2026-07-15 13:19:38] local.INFO: GPS Element Parsed {"raw_longitude":763336384,"raw_latitude":95411640,"longitude_deg":76.3336384,"latitude_deg":9.541164,"altitude":0,"angle":290,"satellites":44,"speed":0,"hex_longitude":"2d7f96c0","hex_latitude":"05afddb8","is_valid_coordinates":true} 
[2026-07-15 13:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730027520001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 13:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193746819981359104,"note":"Value kept but may cause issues"} 
[2026-07-15 13:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784101691000,"timestamp_ms":1784101691000,"timestamp_seconds":1784101691,"priority":1,"record_length":96,"hex_timestamp":"0000019f64bf5e78"} 
[2026-07-15 13:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 13:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:19:38] 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-07-15 13:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730027520001,"66":27843,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9193746819981359104},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 13:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730027520001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:19:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 13:19:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193746819981359104,"description":"Unknown IO ID 45"} 
[2026-07-15 13:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730027520001,"power":27843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193746819981359104}} 
[2026-07-15 13:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":132538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:19:38] local.INFO: GPS data processed {"connection_id":132538,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:19:38] local.INFO: Acknowledgment sent {"connection_id":132538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:19:59] local.INFO: TCP Data received {"connection_id":132349,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132349,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:19:59] local.INFO: Processing buffer {"connection_id":132349,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:19:59] local.INFO: IMEI packet received {"connection_id":132349,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 13:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":132349,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:20:01] local.INFO: TCP Data received {"connection_id":134743,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:20:01] local.INFO: Processing buffer {"connection_id":134743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:20:01] local.INFO: IMEI packet received {"connection_id":134743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":134743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:20:01] local.INFO: TCP Data received {"connection_id":132349,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132349,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:20:01] local.INFO: Processing buffer {"connection_id":132349,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:20:01] local.INFO: IMEI packet received {"connection_id":132349,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 13:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":132349,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:20:02] local.INFO: TCP Data received {"connection_id":134743,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:20:02] local.INFO: Processing buffer {"connection_id":134743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:20:02] local.INFO: IMEI packet received {"connection_id":134743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":134743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:20:04] local.INFO: TCP Data received {"connection_id":132349,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132349,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:20:04] local.INFO: Processing buffer {"connection_id":132349,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:20:04] local.INFO: IMEI packet received {"connection_id":132349,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 13:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":132349,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:20:05] local.INFO: TCP Data received {"connection_id":132349,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64c077b8012d7c8fc005d8d418000000b107..."} 
[2026-07-15 13:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64c077b8012d7c8fc005d8d418000000b107..."} 
[2026-07-15 13:20:05] local.INFO: Processing buffer {"connection_id":132349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64c077b8012d7c8fc005d8d418000000b107..."} 
[2026-07-15 13:20:05] local.INFO: Packet analysis {"connection_id":132349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64c0"} 
[2026-07-15 13:20:05] local.INFO: Extracted packet for processing {"connection_id":132349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64c0"} 
[2026-07-15 13:20:05] local.INFO: GPS Element Parsed {"raw_longitude":763137984,"raw_latitude":98096152,"longitude_deg":76.3137984,"latitude_deg":9.8096152,"altitude":0,"angle":177,"satellites":7,"speed":51,"hex_longitude":"2d7c8fc0","hex_latitude":"05d8d418","is_valid_coordinates":true} 
[2026-07-15 13: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-07-15 13:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730049536001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106392490315087872,"note":"Value kept but may cause issues"} 
[2026-07-15 13:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974900026278395904,"note":"Value kept but may cause issues"} 
[2026-07-15 13:20:05] 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-07-15 13:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784101763000,"timestamp_ms":1784101763000,"timestamp_seconds":1784101763,"priority":1,"record_length":96,"hex_timestamp":"0000019f64c077b8"} 
[2026-07-15 13:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:20:05] 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-07-15 13: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-15 13:20:05] 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-07-15 13: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-07-15 13:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730049536001,"66":13319,"244":206,"85":15104,"24":51,"16":106392490315087872,"45":8974900026278395904},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-07-15 13:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730049536001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:20:05] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-15 13:20:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106392490315087872,"km_value":106392490315087.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974900026278395904,"description":"Unknown IO ID 45"} 
[2026-07-15 13:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730049536001,"power":13319,"unknown_244":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8974900026278395904}} 
[2026-07-15 13:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":132349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490974,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:20:05] local.INFO: GPS data processed {"connection_id":132349,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:20:05] local.INFO: Acknowledgment sent {"connection_id":132349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:20:06] local.INFO: TCP Data received {"connection_id":134743,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:20:06] local.INFO: Processing buffer {"connection_id":134743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:20:06] local.INFO: IMEI packet received {"connection_id":134743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":134743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:20:07] local.INFO: TCP Data received {"connection_id":134743,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64bfb080012d7f96c005afddb8000001222c..."} 
[2026-07-15 13:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64bfb080012d7f96c005afddb8000001222c..."} 
[2026-07-15 13:20:07] local.INFO: Processing buffer {"connection_id":134743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64bfb080012d7f96c005afddb8000001222c..."} 
[2026-07-15 13:20:07] local.INFO: Packet analysis {"connection_id":134743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64bf"} 
[2026-07-15 13:20:07] local.INFO: Extracted packet for processing {"connection_id":134743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64bf"} 
[2026-07-15 13:20:07] local.INFO: GPS Element Parsed {"raw_longitude":763336384,"raw_latitude":95411640,"longitude_deg":76.3336384,"latitude_deg":9.541164,"altitude":0,"angle":290,"satellites":44,"speed":0,"hex_longitude":"2d7f96c0","hex_latitude":"05afddb8","is_valid_coordinates":true} 
[2026-07-15 13:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730032896001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094298807762944,"note":"Value kept but may cause issues"} 
[2026-07-15 13:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193746819981359104,"note":"Value kept but may cause issues"} 
[2026-07-15 13:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784101712000,"timestamp_ms":1784101712000,"timestamp_seconds":1784101712,"priority":1,"record_length":96,"hex_timestamp":"0000019f64bfb080"} 
[2026-07-15 13:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-15 13:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:20:07] 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-07-15 13:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730032896001,"66":27767,"250":206,"85":12544,"24":0,"16":347094298807762944,"45":9193746819981359104},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 13:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730032896001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:20:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 13:20:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094298807762944,"km_value":347094298807762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193746819981359104,"description":"Unknown IO ID 45"} 
[2026-07-15 13:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730032896001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193746819981359104}} 
[2026-07-15 13:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":134743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:20:07] local.INFO: GPS data processed {"connection_id":134743,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:20:07] local.INFO: Acknowledgment sent {"connection_id":134743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:20:37] local.INFO: TCP Data received {"connection_id":132349,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64c09310012d7c900005d8b170000000b507..."} 
[2026-07-15 13:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64c09310012d7c900005d8b170000000b507..."} 
[2026-07-15 13:20:37] local.INFO: Processing buffer {"connection_id":132349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64c09310012d7c900005d8b170000000b507..."} 
[2026-07-15 13:20:37] local.INFO: Packet analysis {"connection_id":132349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64c0"} 
[2026-07-15 13:20:37] local.INFO: Extracted packet for processing {"connection_id":132349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64c0"} 
[2026-07-15 13:20:37] local.INFO: GPS Element Parsed {"raw_longitude":763138048,"raw_latitude":98087280,"longitude_deg":76.3138048,"latitude_deg":9.808728,"altitude":0,"angle":181,"satellites":7,"speed":50,"hex_longitude":"2d7c9000","hex_latitude":"05d8b170","is_valid_coordinates":true} 
[2026-07-15 13:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730051328001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106392919811817472,"note":"Value kept but may cause issues"} 
[2026-07-15 13:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975603713717835776,"note":"Value kept but may cause issues"} 
[2026-07-15 13:20:37] 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-07-15 13:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784101770000,"timestamp_ms":1784101770000,"timestamp_seconds":1784101770,"priority":1,"record_length":96,"hex_timestamp":"0000019f64c09310"} 
[2026-07-15 13:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:20: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-07-15 13:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-15 13:20:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 13:20:37] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":49152,"corrected_to":0} 
[2026-07-15 13:20:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-15 13:20:37] local.WARNING: Large IO value detected {"io_id":100,"raw_value":3221391361,"note":"Value kept but may cause issues"} 
[2026-07-15 13:20:37] local.WARNING: Large IO value detected {"io_id":217,"raw_value":-2841771364859705344,"note":"Value kept but may cause issues"} 
[2026-07-15 13:20:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2834628814,"corrected_to":0} 
[2026-07-15 13:20:37] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57885692328301883,"note":"Value kept but may cause issues"} 
[2026-07-15 13:20:37] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607154088,"note":"Value kept but may cause issues"} 
[2026-07-15 13:20:37] local.WARNING: Large IO value detected {"io_id":121,"raw_value":4182769664,"note":"Value kept but may cause issues"} 
[2026-07-15 13:20:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3652339712,"note":"Value kept but may cause issues"} 
[2026-07-15 13:20:37] local.WARNING: Large IO value detected {"io_id":191,"raw_value":-6291527384562958331,"note":"Value kept but may cause issues"} 
[2026-07-15 13:20:37] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,244,85,24,241,157,16,251,159,92,45,64,247,9,10,66,65,26,245,250,33,128,1,240,62,227,100,217,4,113,205,135,7,239,50,2,121,5,48,191],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":247,"original":49152,"validated":0},{"io_id":205,"original":2834628814,"validated":0}]} 
[2026-07-15 13:20:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":194643626229760,"timestamp_seconds":194643626229.76,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 13:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730051328001,"66":13243,"244":206,"85":15104,"24":50,"16":106392919811817472,"45":8975603713717835776},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-07-15 13:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730051328001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:20:37] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-15 13:20:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106392919811817472,"km_value":106392919811817.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975603713717835776,"description":"Unknown IO ID 45"} 
[2026-07-15 13:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730051328001,"power":13243,"unknown_244":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8975603713717835776}} 
[2026-07-15 13:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":132349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490976,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:20:37] local.INFO: GPS data processed {"connection_id":132349,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:20:37] local.INFO: Acknowledgment sent {"connection_id":132349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:20:38] local.INFO: TCP Data received {"connection_id":134743,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64c0a698012d7fa3c005afd250000800cc2e..."} 
[2026-07-15 13:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64c0a698012d7fa3c005afd250000800cc2e..."} 
[2026-07-15 13:20:38] local.INFO: Processing buffer {"connection_id":134743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64c0a698012d7fa3c005afd250000800cc2e..."} 
[2026-07-15 13:20:38] local.INFO: Packet analysis {"connection_id":134743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64c0"} 
[2026-07-15 13:20:38] local.INFO: Extracted packet for processing {"connection_id":134743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64c0"} 
[2026-07-15 13:20:38] local.INFO: GPS Element Parsed {"raw_longitude":763339712,"raw_latitude":95408720,"longitude_deg":76.3339712,"latitude_deg":9.540872,"altitude":8,"angle":204,"satellites":46,"speed":12,"hex_longitude":"2d7fa3c0","hex_latitude":"05afd250","is_valid_coordinates":true} 
[2026-07-15 13: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-07-15 13:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730054144001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094612340375552,"note":"Value kept but may cause issues"} 
[2026-07-15 13:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363422105600,"note":"Value kept but may cause issues"} 
[2026-07-15 13:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784101775000,"timestamp_ms":1784101775000,"timestamp_seconds":1784101775,"priority":1,"record_length":96,"hex_timestamp":"0000019f64c0a698"} 
[2026-07-15 13:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-15 13:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13: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-07-15 13:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:20:38] 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-07-15 13:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730054144001,"66":27484,"250":206,"85":12544,"24":12,"16":347094612340375552,"45":9197476363422105600},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 13:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730054144001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:20:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 13:20:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094612340375552,"km_value":347094612340375.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363422105600,"description":"Unknown IO ID 45"} 
[2026-07-15 13:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730054144001,"power":27484,"unknown_250":206,"unknown_85":12544,"ignition":12,"odometer":null,"unknown_45":9197476363422105600}} 
[2026-07-15 13:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":134743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:20:38] local.INFO: GPS data processed {"connection_id":134743,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:20:38] local.INFO: Acknowledgment sent {"connection_id":134743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:21:01] local.INFO: TCP Data received {"connection_id":134744,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:21:01] local.INFO: Processing buffer {"connection_id":134744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:21:01] local.INFO: IMEI packet received {"connection_id":134744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":134744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:21:02] local.INFO: TCP Data received {"connection_id":132540,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132540,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:21:02] local.INFO: Processing buffer {"connection_id":132540,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:21:02] local.INFO: IMEI packet received {"connection_id":132540,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 13:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":132540,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:21:04] local.INFO: TCP Data received {"connection_id":132540,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132540,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:21:04] local.INFO: Processing buffer {"connection_id":132540,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:21:04] local.INFO: IMEI packet received {"connection_id":132540,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 13:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":132540,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:21:06] local.INFO: TCP Data received {"connection_id":134744,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:21:06] local.INFO: Processing buffer {"connection_id":134744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:21:06] local.INFO: IMEI packet received {"connection_id":134744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":134744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:21:07] local.INFO: TCP Data received {"connection_id":134744,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64c0b250012d7fa2c005afce90000800be2d..."} 
[2026-07-15 13:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64c0b250012d7fa2c005afce90000800be2d..."} 
[2026-07-15 13:21:07] local.INFO: Processing buffer {"connection_id":134744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64c0b250012d7fa2c005afce90000800be2d..."} 
[2026-07-15 13:21:07] local.INFO: Packet analysis {"connection_id":134744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64c0"} 
[2026-07-15 13:21:07] local.INFO: Extracted packet for processing {"connection_id":134744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64c0"} 
[2026-07-15 13:21:07] local.INFO: GPS Element Parsed {"raw_longitude":763339456,"raw_latitude":95407760,"longitude_deg":76.3339456,"latitude_deg":9.540776,"altitude":8,"angle":190,"satellites":45,"speed":12,"hex_longitude":"2d7fa2c0","hex_latitude":"05afce90","is_valid_coordinates":true} 
[2026-07-15 13:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730054400001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094663879983104,"note":"Value kept but may cause issues"} 
[2026-07-15 13:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197405994677850112,"note":"Value kept but may cause issues"} 
[2026-07-15 13:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784101778000,"timestamp_ms":1784101778000,"timestamp_seconds":1784101778,"priority":1,"record_length":96,"hex_timestamp":"0000019f64c0b250"} 
[2026-07-15 13:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-15 13:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:21:07] 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-07-15 13:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730054400001,"66":27865,"250":206,"85":12544,"24":12,"16":347094663879983104,"45":9197405994677850112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 13:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730054400001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:21:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 13:21:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094663879983104,"km_value":347094663879983.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197405994677850112,"description":"Unknown IO ID 45"} 
[2026-07-15 13:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730054400001,"power":27865,"unknown_250":206,"unknown_85":12544,"ignition":12,"odometer":null,"unknown_45":9197405994677850112}} 
[2026-07-15 13:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":134744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:21:07] local.INFO: GPS data processed {"connection_id":134744,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:21:07] local.INFO: Acknowledgment sent {"connection_id":134744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:21:09] local.INFO: TCP Data received {"connection_id":132540,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132540,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:21:09] local.INFO: Processing buffer {"connection_id":132540,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:21:09] local.INFO: IMEI packet received {"connection_id":132540,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 13:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":132540,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:21:10] local.INFO: TCP Data received {"connection_id":132540,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64c0ae68012d7c920005d88ec0000000b207..."} 
[2026-07-15 13:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64c0ae68012d7c920005d88ec0000000b207..."} 
[2026-07-15 13:21:10] local.INFO: Processing buffer {"connection_id":132540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64c0ae68012d7c920005d88ec0000000b207..."} 
[2026-07-15 13:21:10] local.INFO: Packet analysis {"connection_id":132540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64c0"} 
[2026-07-15 13:21:10] local.INFO: Extracted packet for processing {"connection_id":132540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64c0"} 
[2026-07-15 13:21:10] local.INFO: GPS Element Parsed {"raw_longitude":763138560,"raw_latitude":98078400,"longitude_deg":76.313856,"latitude_deg":9.80784,"altitude":0,"angle":178,"satellites":7,"speed":51,"hex_longitude":"2d7c9200","hex_latitude":"05d88ec0","is_valid_coordinates":true} 
[2026-07-15 13:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730053120001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106393353603514368,"note":"Value kept but may cause issues"} 
[2026-07-15 13:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975674082459742208,"note":"Value kept but may cause issues"} 
[2026-07-15 13:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784101777000,"timestamp_ms":1784101777000,"timestamp_seconds":1784101777,"priority":1,"record_length":96,"hex_timestamp":"0000019f64c0ae68"} 
[2026-07-15 13:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:21:10] 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-07-15 13:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-15 13:21:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":132540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":132540,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":132540,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730053120001,"66":13189,"197":206,"85":15104,"24":51,"16":106393353603514368,"45":8975674082459742208},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-15 13:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730053120001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:21:10] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-15 13:21:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106393353603514368,"km_value":106393353603514.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975674082459742208,"description":"Unknown IO ID 45"} 
[2026-07-15 13:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730053120001,"power":13189,"unknown_197":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8975674082459742208}} 
[2026-07-15 13:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":132540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490979,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:21:10] local.INFO: GPS data processed {"connection_id":132540,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:21:10] local.INFO: Acknowledgment sent {"connection_id":132540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:21:38] local.INFO: TCP Data received {"connection_id":134744,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64c10458012d7fa10005afc148000500b62c..."} 
[2026-07-15 13:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64c10458012d7fa10005afc148000500b62c..."} 
[2026-07-15 13:21:38] local.INFO: Processing buffer {"connection_id":134744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64c10458012d7fa10005afc148000500b62c..."} 
[2026-07-15 13:21:38] local.INFO: Packet analysis {"connection_id":134744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64c1"} 
[2026-07-15 13:21:38] local.INFO: Extracted packet for processing {"connection_id":134744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64c1"} 
[2026-07-15 13:21:38] local.INFO: GPS Element Parsed {"raw_longitude":763339008,"raw_latitude":95404360,"longitude_deg":76.3339008,"latitude_deg":9.540436,"altitude":5,"angle":182,"satellites":44,"speed":0,"hex_longitude":"2d7fa100","hex_latitude":"05afc148","is_valid_coordinates":true} 
[2026-07-15 13:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730055168001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094831383707648,"note":"Value kept but may cause issues"} 
[2026-07-15 13:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197124519700893696,"note":"Value kept but may cause issues"} 
[2026-07-15 13:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784101799000,"timestamp_ms":1784101799000,"timestamp_seconds":1784101799,"priority":1,"record_length":96,"hex_timestamp":"0000019f64c10458"} 
[2026-07-15 13:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-15 13:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:21:38] 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-07-15 13:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730055168001,"66":27995,"250":206,"85":12544,"24":0,"16":347094831383707648,"45":9197124519700893696},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 13:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730055168001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:21:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 13:21:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094831383707648,"km_value":347094831383707.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197124519700893696,"description":"Unknown IO ID 45"} 
[2026-07-15 13:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730055168001,"power":27995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197124519700893696}} 
[2026-07-15 13:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":134744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:21:38] local.INFO: GPS data processed {"connection_id":134744,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:21:38] local.INFO: Acknowledgment sent {"connection_id":134744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:21:42] local.INFO: TCP Data received {"connection_id":132540,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64c25060012d7cdd0005d6de68000100a30b..."} 
[2026-07-15 13:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64c25060012d7cdd0005d6de68000100a30b..."} 
[2026-07-15 13:21:42] local.INFO: Processing buffer {"connection_id":132540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64c25060012d7cdd0005d6de68000100a30b..."} 
[2026-07-15 13:21:42] local.INFO: Packet analysis {"connection_id":132540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64c2"} 
[2026-07-15 13:21:42] local.INFO: Extracted packet for processing {"connection_id":132540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64c2"} 
[2026-07-15 13:21:42] local.INFO: GPS Element Parsed {"raw_longitude":763157760,"raw_latitude":97967720,"longitude_deg":76.315776,"latitude_deg":9.796772,"altitude":1,"angle":163,"satellites":11,"speed":51,"hex_longitude":"2d7cdd00","hex_latitude":"05d6de68","is_valid_coordinates":true} 
[2026-07-15 13:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730080512001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106398838276751360,"note":"Value kept but may cause issues"} 
[2026-07-15 13:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8993969955917537280,"note":"Value kept but may cause issues"} 
[2026-07-15 13:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784101884000,"timestamp_ms":1784101884000,"timestamp_seconds":1784101884,"priority":1,"record_length":96,"hex_timestamp":"0000019f64c25060"} 
[2026-07-15 13:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:21:42] 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-07-15 13:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-15 13:21:42] 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-07-15 13:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132540,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132540,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730080512001,"66":13254,"31":206,"85":15104,"24":51,"16":106398838276751360,"45":8993969955917537280},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,85,24,16,45]} 
[2026-07-15 13:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730080512001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:21:42] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-15 13:21:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106398838276751360,"km_value":106398838276751.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8993969955917537280,"description":"Unknown IO ID 45"} 
[2026-07-15 13:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730080512001,"power":13254,"unknown_31":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8993969955917537280}} 
[2026-07-15 13:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":132540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490981,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:21:42] local.INFO: GPS data processed {"connection_id":132540,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:21:42] local.INFO: Acknowledgment sent {"connection_id":132540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:21:59] local.INFO: TCP Data received {"connection_id":134745,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134745,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:21:59] local.INFO: Processing buffer {"connection_id":134745,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:21:59] local.INFO: IMEI packet received {"connection_id":134745,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 13:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":134745,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:22:01] local.INFO: TCP Data received {"connection_id":134746,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:22:01] local.INFO: Processing buffer {"connection_id":134746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:22:01] local.INFO: IMEI packet received {"connection_id":134746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":134746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:22:01] local.INFO: TCP Data received {"connection_id":134745,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134745,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:22:01] local.INFO: Processing buffer {"connection_id":134745,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:22:01] local.INFO: IMEI packet received {"connection_id":134745,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 13:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":134745,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:22:02] local.INFO: TCP Data received {"connection_id":134745,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64c26bb8012d7ce54005d6bc18000200a80b..."} 
[2026-07-15 13:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64c26bb8012d7ce54005d6bc18000200a80b..."} 
[2026-07-15 13:22:02] local.INFO: Processing buffer {"connection_id":134745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64c26bb8012d7ce54005d6bc18000200a80b..."} 
[2026-07-15 13:22:02] local.INFO: Packet analysis {"connection_id":134745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64c2"} 
[2026-07-15 13:22:02] local.INFO: Extracted packet for processing {"connection_id":134745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64c2"} 
[2026-07-15 13:22:02] local.INFO: GPS Element Parsed {"raw_longitude":763159872,"raw_latitude":97958936,"longitude_deg":76.3159872,"latitude_deg":9.7958936,"altitude":2,"angle":168,"satellites":11,"speed":51,"hex_longitude":"2d7ce540","hex_latitude":"05d6bc18","is_valid_coordinates":true} 
[2026-07-15 13:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730082304001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106399276363415552,"note":"Value kept but may cause issues"} 
[2026-07-15 13:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8997347655635855360,"note":"Value kept but may cause issues"} 
[2026-07-15 13:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784101891000,"timestamp_ms":1784101891000,"timestamp_seconds":1784101891,"priority":1,"record_length":96,"hex_timestamp":"0000019f64c26bb8"} 
[2026-07-15 13:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:22:02] 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-07-15 13:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-15 13:22:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:22:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":134745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":134745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":134745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730082304001,"66":13319,"31":206,"85":15104,"24":51,"16":106399276363415552,"45":8997347655635855360},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,85,24,16,45]} 
[2026-07-15 13:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730082304001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:22:02] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-15 13:22:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106399276363415552,"km_value":106399276363415.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8997347655635855360,"description":"Unknown IO ID 45"} 
[2026-07-15 13:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730082304001,"power":13319,"unknown_31":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8997347655635855360}} 
[2026-07-15 13:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":134745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490982,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:22:02] local.INFO: GPS data processed {"connection_id":134745,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:22:02] local.INFO: Acknowledgment sent {"connection_id":134745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:22:05] local.INFO: TCP Data received {"connection_id":134745,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64c28710012d7ce9c005d698f0000300ac0b..."} 
[2026-07-15 13:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64c28710012d7ce9c005d698f0000300ac0b..."} 
[2026-07-15 13:22:05] local.INFO: Processing buffer {"connection_id":134745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64c28710012d7ce9c005d698f0000300ac0b..."} 
[2026-07-15 13:22:05] local.INFO: Packet analysis {"connection_id":134745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64c2"} 
[2026-07-15 13:22:05] local.INFO: Extracted packet for processing {"connection_id":134745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64c2"} 
[2026-07-15 13:22:05] local.INFO: GPS Element Parsed {"raw_longitude":763161024,"raw_latitude":97949936,"longitude_deg":76.3161024,"latitude_deg":9.7949936,"altitude":3,"angle":172,"satellites":11,"speed":51,"hex_longitude":"2d7ce9c0","hex_latitude":"05d698f0","is_valid_coordinates":true} 
[2026-07-15 13:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730084096001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106399718745047040,"note":"Value kept but may cause issues"} 
[2026-07-15 13:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8999669824191469568,"note":"Value kept but may cause issues"} 
[2026-07-15 13:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784101898000,"timestamp_ms":1784101898000,"timestamp_seconds":1784101898,"priority":1,"record_length":96,"hex_timestamp":"0000019f64c28710"} 
[2026-07-15 13:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:22:05] 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-07-15 13:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-15 13:22:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 13:22:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-15 13:22:05] local.WARNING: Large IO value detected {"io_id":100,"raw_value":3254159361,"note":"Value kept but may cause issues"} 
[2026-07-15 13:22:05] local.WARNING: Large IO value detected {"io_id":215,"raw_value":-5566449139418789376,"note":"Value kept but may cause issues"} 
[2026-07-15 13:22:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455620302,"corrected_to":0} 
[2026-07-15 13:22:05] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3221608299,"note":"Value kept but may cause issues"} 
[2026-07-15 13:22:05] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070422,"note":"Value kept but may cause issues"} 
[2026-07-15 13:22:05] local.WARNING: Large IO value detected {"io_id":121,"raw_value":4286709760,"note":"Value kept but may cause issues"} 
[2026-07-15 13:22:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3616376832,"note":"Value kept but may cause issues"} 
[2026-07-15 13:22:05] local.WARNING: Large IO value detected {"io_id":198,"raw_value":57797765757818171,"note":"Value kept but may cause issues"} 
[2026-07-15 13:22:05] local.WARNING: Large IO value detected {"io_id":193,"raw_value":-8000643443147472891,"note":"Value kept but may cause issues"} 
[2026-07-15 13:22:05] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,31,85,24,241,157,16,1,159,80,45,222,11,10,66,53,21,192,240,29,227,100,215,4,113,205,46,174,40,239,51,195,2,121,5,42,198,193],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1455620302,"validated":0}]} 
[2026-07-15 13:22:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144299953277304832,"timestamp_seconds":144299953277304.84,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 13:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":134745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":134745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":134745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730084096001,"66":13341,"31":206,"85":15104,"24":51,"16":106399718745047040,"45":8999669824191469568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,85,24,16,45]} 
[2026-07-15 13:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730084096001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:22:05] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-15 13:22:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106399718745047040,"km_value":106399718745047.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8999669824191469568,"description":"Unknown IO ID 45"} 
[2026-07-15 13:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730084096001,"power":13341,"unknown_31":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8999669824191469568}} 
[2026-07-15 13:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":134745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490983,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:22:05] local.INFO: GPS data processed {"connection_id":134745,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:22:05] local.INFO: Acknowledgment sent {"connection_id":134745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:22:06] local.INFO: TCP Data received {"connection_id":134746,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:22:06] local.INFO: Processing buffer {"connection_id":134746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:22:06] local.INFO: IMEI packet received {"connection_id":134746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":134746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:22:07] local.INFO: TCP Data received {"connection_id":134746,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64c15660012d7fa10005afc148000500b62c..."} 
[2026-07-15 13:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64c15660012d7fa10005afc148000500b62c..."} 
[2026-07-15 13:22:07] local.INFO: Processing buffer {"connection_id":134746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64c15660012d7fa10005afc148000500b62c..."} 
[2026-07-15 13:22:07] local.INFO: Packet analysis {"connection_id":134746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64c1"} 
[2026-07-15 13:22:07] local.INFO: Extracted packet for processing {"connection_id":134746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64c1"} 
[2026-07-15 13:22:07] local.INFO: GPS Element Parsed {"raw_longitude":763339008,"raw_latitude":95404360,"longitude_deg":76.3339008,"latitude_deg":9.540436,"altitude":5,"angle":182,"satellites":44,"speed":0,"hex_longitude":"2d7fa100","hex_latitude":"05afc148","is_valid_coordinates":true} 
[2026-07-15 13:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730060544001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347094831383707648,"note":"Value kept but may cause issues"} 
[2026-07-15 13:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196631938490779648,"note":"Value kept but may cause issues"} 
[2026-07-15 13:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784101820000,"timestamp_ms":1784101820000,"timestamp_seconds":1784101820,"priority":1,"record_length":96,"hex_timestamp":"0000019f64c15660"} 
[2026-07-15 13:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-15 13:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:22:07] 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-07-15 13:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730060544001,"66":27821,"250":206,"85":12544,"24":0,"16":347094831383707648,"45":9196631938490779648},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 13:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730060544001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:22:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 13:22:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347094831383707648,"km_value":347094831383707.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196631938490779648,"description":"Unknown IO ID 45"} 
[2026-07-15 13:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730060544001,"power":27821,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196631938490779648}} 
[2026-07-15 13:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":134746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:22:07] local.INFO: GPS data processed {"connection_id":134746,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:22:07] local.INFO: Acknowledgment sent {"connection_id":134746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:22:37] local.INFO: TCP Data received {"connection_id":134745,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64c2a268012d7cec0005d67648000500ae0c..."} 
[2026-07-15 13:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64c2a268012d7cec0005d67648000500ae0c..."} 
[2026-07-15 13:22:37] local.INFO: Processing buffer {"connection_id":134745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64c2a268012d7cec0005d67648000500ae0c..."} 
[2026-07-15 13:22:37] local.INFO: Packet analysis {"connection_id":134745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64c2"} 
[2026-07-15 13:22:37] local.INFO: Extracted packet for processing {"connection_id":134745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64c2"} 
[2026-07-15 13:22:37] local.INFO: GPS Element Parsed {"raw_longitude":763161600,"raw_latitude":97941064,"longitude_deg":76.31616,"latitude_deg":9.7941064,"altitude":5,"angle":174,"satellites":12,"speed":50,"hex_longitude":"2d7cec00","hex_latitude":"05d67648","is_valid_coordinates":true} 
[2026-07-15 13:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730085888001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106400148241776640,"note":"Value kept but may cause issues"} 
[2026-07-15 13:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9000936461584363520,"note":"Value kept but may cause issues"} 
[2026-07-15 13:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784101905000,"timestamp_ms":1784101905000,"timestamp_seconds":1784101905,"priority":1,"record_length":96,"hex_timestamp":"0000019f64c2a268"} 
[2026-07-15 13:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:22: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-07-15 13:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-15 13:22:37] 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-07-15 13:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":134745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":134745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":134745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730085888001,"66":13276,"31":206,"85":15104,"24":50,"16":106400148241776640,"45":9000936461584363520},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,85,24,16,45]} 
[2026-07-15 13:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730085888001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:22:37] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-15 13:22:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106400148241776640,"km_value":106400148241776.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9000936461584363520,"description":"Unknown IO ID 45"} 
[2026-07-15 13:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730085888001,"power":13276,"unknown_31":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":9000936461584363520}} 
[2026-07-15 13:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":134745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490985,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:22:37] local.INFO: GPS data processed {"connection_id":134745,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:22:37] local.INFO: Acknowledgment sent {"connection_id":134745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:22:38] local.INFO: TCP Data received {"connection_id":134746,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64c2c590012d7f3bc005afb748000300dd2e..."} 
[2026-07-15 13:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64c2c590012d7f3bc005afb748000300dd2e..."} 
[2026-07-15 13:22:38] local.INFO: Processing buffer {"connection_id":134746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64c2c590012d7f3bc005afb748000300dd2e..."} 
[2026-07-15 13:22:38] local.INFO: Packet analysis {"connection_id":134746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64c2"} 
[2026-07-15 13:22:38] local.INFO: Extracted packet for processing {"connection_id":134746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64c2"} 
[2026-07-15 13:22:38] local.INFO: GPS Element Parsed {"raw_longitude":763313088,"raw_latitude":95401800,"longitude_deg":76.3313088,"latitude_deg":9.54018,"altitude":3,"angle":221,"satellites":46,"speed":7,"hex_longitude":"2d7f3bc0","hex_latitude":"05afb748","is_valid_coordinates":true} 
[2026-07-15 13:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730089728001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347096175708471296,"note":"Value kept but may cause issues"} 
[2026-07-15 13:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168273334586548224,"note":"Value kept but may cause issues"} 
[2026-07-15 13:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784101914000,"timestamp_ms":1784101914000,"timestamp_seconds":1784101914,"priority":1,"record_length":96,"hex_timestamp":"0000019f64c2c590"} 
[2026-07-15 13:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-15 13:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:22:38] 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-07-15 13:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730089728001,"66":27821,"250":206,"85":12544,"24":7,"16":347096175708471296,"45":9168273334586548224},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 13:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730089728001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:22:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 13:22:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347096175708471296,"km_value":347096175708471.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168273334586548224,"description":"Unknown IO ID 45"} 
[2026-07-15 13:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730089728001,"power":27821,"unknown_250":206,"unknown_85":12544,"ignition":7,"odometer":null,"unknown_45":9168273334586548224}} 
[2026-07-15 13:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":134746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:22:38] local.INFO: GPS data processed {"connection_id":134746,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:22:38] local.INFO: Acknowledgment sent {"connection_id":134746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:22:58] local.INFO: TCP Data received {"connection_id":134747,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134747,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:22:58] local.INFO: Processing buffer {"connection_id":134747,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:22:58] local.INFO: IMEI packet received {"connection_id":134747,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 13:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":134747,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:22:59] local.INFO: TCP Data received {"connection_id":134747,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134747,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:22:59] local.INFO: Processing buffer {"connection_id":134747,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:22:59] local.INFO: IMEI packet received {"connection_id":134747,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 13:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":134747,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:23:00] local.INFO: TCP Data received {"connection_id":133381,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133381,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:23:00] local.INFO: Processing buffer {"connection_id":133381,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:23:00] local.INFO: IMEI packet received {"connection_id":133381,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 13:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":133381,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:23:06] local.INFO: TCP Data received {"connection_id":134747,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134747,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:23:06] local.INFO: Processing buffer {"connection_id":134747,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:23:06] local.INFO: IMEI packet received {"connection_id":134747,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 13:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":134747,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:23:06] local.INFO: TCP Data received {"connection_id":133382,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:23:06] local.INFO: Processing buffer {"connection_id":133382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:23:06] local.INFO: IMEI packet received {"connection_id":133382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":133382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:23:07] local.INFO: TCP Data received {"connection_id":134747,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64c2bdc0012d7cf00005d65360000800ad0d..."} 
[2026-07-15 13:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64c2bdc0012d7cf00005d65360000800ad0d..."} 
[2026-07-15 13:23:07] local.INFO: Processing buffer {"connection_id":134747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64c2bdc0012d7cf00005d65360000800ad0d..."} 
[2026-07-15 13:23:07] local.INFO: Packet analysis {"connection_id":134747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64c2"} 
[2026-07-15 13:23:07] local.INFO: Extracted packet for processing {"connection_id":134747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64c2"} 
[2026-07-15 13:23:07] local.INFO: GPS Element Parsed {"raw_longitude":763162624,"raw_latitude":97932128,"longitude_deg":76.3162624,"latitude_deg":9.7932128,"altitude":8,"angle":173,"satellites":13,"speed":50,"hex_longitude":"2d7cf000","hex_latitude":"05d65360","is_valid_coordinates":true} 
[2026-07-15 13:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730087680001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106400586328440832,"note":"Value kept but may cause issues"} 
[2026-07-15 13:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001569780279691264,"note":"Value kept but may cause issues"} 
[2026-07-15 13:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784101912000,"timestamp_ms":1784101912000,"timestamp_seconds":1784101912,"priority":1,"record_length":96,"hex_timestamp":"0000019f64c2bdc0"} 
[2026-07-15 13:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:23: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-07-15 13:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-15 13:23:07] 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-07-15 13:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730087680001,"66":13243,"31":206,"85":15104,"24":50,"16":106400586328440832,"45":9001569780279691264},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,85,24,16,45]} 
[2026-07-15 13:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730087680001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:23:07] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-15 13:23:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106400586328440832,"km_value":106400586328440.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001569780279691264,"description":"Unknown IO ID 45"} 
[2026-07-15 13:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730087680001,"power":13243,"unknown_31":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":9001569780279691264}} 
[2026-07-15 13:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":134747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490987,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:23:07] local.INFO: GPS data processed {"connection_id":134747,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:23:07] local.INFO: Acknowledgment sent {"connection_id":134747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:23:11] local.INFO: TCP Data received {"connection_id":133382,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:23:11] local.INFO: Processing buffer {"connection_id":133382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:23:11] local.INFO: IMEI packet received {"connection_id":133382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":133382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:23:12] local.INFO: TCP Data received {"connection_id":133382,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64c2c978012d7f3b0005afb6b8000300c82e..."} 
[2026-07-15 13:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64c2c978012d7f3b0005afb6b8000300c82e..."} 
[2026-07-15 13:23:12] local.INFO: Processing buffer {"connection_id":133382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64c2c978012d7f3b0005afb6b8000300c82e..."} 
[2026-07-15 13:23:12] local.INFO: Packet analysis {"connection_id":133382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64c2"} 
[2026-07-15 13:23:12] local.INFO: Extracted packet for processing {"connection_id":133382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64c2"} 
[2026-07-15 13:23:12] local.INFO: GPS Element Parsed {"raw_longitude":763312896,"raw_latitude":95401656,"longitude_deg":76.3312896,"latitude_deg":9.5401656,"altitude":3,"angle":200,"satellites":46,"speed":7,"hex_longitude":"2d7f3b00","hex_latitude":"05afb6b8","is_valid_coordinates":true} 
[2026-07-15 13: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-07-15 13:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730089984001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347096184298405888,"note":"Value kept but may cause issues"} 
[2026-07-15 13:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168132597098170368,"note":"Value kept but may cause issues"} 
[2026-07-15 13:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784101915000,"timestamp_ms":1784101915000,"timestamp_seconds":1784101915,"priority":1,"record_length":96,"hex_timestamp":"0000019f64c2c978"} 
[2026-07-15 13:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 13:23:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13: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-07-15 13:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":133382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":133382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":133382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:23:12] 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-07-15 13:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730089984001,"66":27821,"250":206,"85":12544,"24":7,"16":347096184298405888,"45":9168132597098170368},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 13:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730089984001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:23:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 13:23:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347096184298405888,"km_value":347096184298405.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168132597098170368,"description":"Unknown IO ID 45"} 
[2026-07-15 13:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730089984001,"power":27821,"unknown_250":206,"unknown_85":12544,"ignition":7,"odometer":null,"unknown_45":9168132597098170368}} 
[2026-07-15 13:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":133382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:23:12] local.INFO: GPS data processed {"connection_id":133382,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:23:12] local.INFO: Acknowledgment sent {"connection_id":133382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:23:16] local.INFO: TCP Data received {"connection_id":133382,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64c2cd60012d7f3ac005afb618000300b52d..."} 
[2026-07-15 13:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64c2cd60012d7f3ac005afb618000300b52d..."} 
[2026-07-15 13:23:16] local.INFO: Processing buffer {"connection_id":133382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64c2cd60012d7f3ac005afb618000300b52d..."} 
[2026-07-15 13:23:16] local.INFO: Packet analysis {"connection_id":133382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64c2"} 
[2026-07-15 13:23:16] local.INFO: Extracted packet for processing {"connection_id":133382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64c2"} 
[2026-07-15 13:23:16] local.INFO: GPS Element Parsed {"raw_longitude":763312832,"raw_latitude":95401496,"longitude_deg":76.3312832,"latitude_deg":9.5401496,"altitude":3,"angle":181,"satellites":45,"speed":7,"hex_longitude":"2d7f3ac0","hex_latitude":"05afb618","is_valid_coordinates":true} 
[2026-07-15 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-07-15 13:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730090240001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347096192888340480,"note":"Value kept but may cause issues"} 
[2026-07-15 13:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9167921490865600512,"note":"Value kept but may cause issues"} 
[2026-07-15 13:23:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784101916000,"timestamp_ms":1784101916000,"timestamp_seconds":1784101916,"priority":1,"record_length":96,"hex_timestamp":"0000019f64c2cd60"} 
[2026-07-15 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-07-15 13:23:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 13:23:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 13:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":133382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":133382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":133382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:23:16] 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-07-15 13:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730090240001,"66":27865,"250":206,"85":12544,"24":7,"16":347096192888340480,"45":9167921490865600512},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 13:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730090240001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:23:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 13:23:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347096192888340480,"km_value":347096192888340.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9167921490865600512,"description":"Unknown IO ID 45"} 
[2026-07-15 13:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730090240001,"power":27865,"unknown_250":206,"unknown_85":12544,"ignition":7,"odometer":null,"unknown_45":9167921490865600512}} 
[2026-07-15 13:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":133382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:23:16] local.INFO: GPS data processed {"connection_id":133382,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:23:16] local.INFO: Acknowledgment sent {"connection_id":133382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:23:34] local.INFO: TCP Data received {"connection_id":132541,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132541,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:23:34] local.INFO: Processing buffer {"connection_id":132541,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:23:34] local.INFO: IMEI packet received {"connection_id":132541,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 13:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":132541,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:23:42] local.INFO: TCP Data received {"connection_id":134747,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64c41580012d7d2ec005d4c338000300ae0b..."} 
[2026-07-15 13:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64c41580012d7d2ec005d4c338000300ae0b..."} 
[2026-07-15 13:23:42] local.INFO: Processing buffer {"connection_id":134747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64c41580012d7d2ec005d4c338000300ae0b..."} 
[2026-07-15 13:23:42] local.INFO: Packet analysis {"connection_id":134747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64c4"} 
[2026-07-15 13:23:42] local.INFO: Extracted packet for processing {"connection_id":134747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64c4"} 
[2026-07-15 13:23:42] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":97829688,"longitude_deg":76.3178688,"latitude_deg":9.7829688,"altitude":3,"angle":174,"satellites":11,"speed":51,"hex_longitude":"2d7d2ec0","hex_latitude":"05d4c338","is_valid_coordinates":true} 
[2026-07-15 13:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730110208001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106405667274752000,"note":"Value kept but may cause issues"} 
[2026-07-15 13:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019091597553717248,"note":"Value kept but may cause issues"} 
[2026-07-15 13:23:42] 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-07-15 13:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784102000000,"timestamp_ms":1784102000000,"timestamp_seconds":1784102000,"priority":1,"record_length":96,"hex_timestamp":"0000019f64c41580"} 
[2026-07-15 13:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:23:42] 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-07-15 13:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-15 13:23:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":134747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":134747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":134747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730110208001,"66":13428,"254":206,"85":15104,"24":51,"16":106405667274752000,"45":9019091597553717248},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-07-15 13:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730110208001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:23:42] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-15 13:23:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106405667274752000,"km_value":106405667274752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019091597553717248,"description":"Unknown IO ID 45"} 
[2026-07-15 13:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730110208001,"power":13428,"unknown_254":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":9019091597553717248}} 
[2026-07-15 13:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":134747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490990,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:23:42] local.INFO: GPS data processed {"connection_id":134747,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:23:42] local.INFO: Acknowledgment sent {"connection_id":134747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:23:59] local.INFO: TCP Data received {"connection_id":133383,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133383,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:23:59] local.INFO: Processing buffer {"connection_id":133383,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:23:59] local.INFO: IMEI packet received {"connection_id":133383,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 13:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":133383,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:24:00] local.INFO: TCP Data received {"connection_id":133383,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133383,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:24:00] local.INFO: Processing buffer {"connection_id":133383,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:24:00] local.INFO: IMEI packet received {"connection_id":133383,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 13:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":133383,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:24:01] local.INFO: TCP Data received {"connection_id":132350,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:24:01] local.INFO: Processing buffer {"connection_id":132350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:24:01] local.INFO: IMEI packet received {"connection_id":132350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":132350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:24:06] local.INFO: TCP Data received {"connection_id":132350,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:24:06] local.INFO: Processing buffer {"connection_id":132350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:24:06] local.INFO: IMEI packet received {"connection_id":132350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":132350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:24:06] local.INFO: TCP Data received {"connection_id":133383,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133383,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:24:06] local.INFO: Processing buffer {"connection_id":133383,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:24:06] local.INFO: IMEI packet received {"connection_id":133383,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 13:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":133383,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:24:07] local.INFO: TCP Data received {"connection_id":132350,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64c31f68012d7f378005af9db0000400b830..."} 
[2026-07-15 13:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64c31f68012d7f378005af9db0000400b830..."} 
[2026-07-15 13:24:07] local.INFO: Processing buffer {"connection_id":132350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64c31f68012d7f378005af9db0000400b830..."} 
[2026-07-15 13:24:07] local.INFO: Packet analysis {"connection_id":132350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64c3"} 
[2026-07-15 13:24:07] local.INFO: Extracted packet for processing {"connection_id":132350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64c3"} 
[2026-07-15 13:24:07] local.INFO: GPS Element Parsed {"raw_longitude":763312000,"raw_latitude":95395248,"longitude_deg":76.3312,"latitude_deg":9.5395248,"altitude":4,"angle":184,"satellites":48,"speed":12,"hex_longitude":"2d7f3780","hex_latitude":"05af9db0","is_valid_coordinates":true} 
[2026-07-15 13:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730090496001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347096502125985792,"note":"Value kept but may cause issues"} 
[2026-07-15 13:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9167851122121381888,"note":"Value kept but may cause issues"} 
[2026-07-15 13:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784101937000,"timestamp_ms":1784101937000,"timestamp_seconds":1784101937,"priority":1,"record_length":96,"hex_timestamp":"0000019f64c31f68"} 
[2026-07-15 13:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-15 13:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:24:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:24:07] 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-07-15 13:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730090496001,"66":27865,"250":206,"85":12544,"24":12,"16":347096502125985792,"45":9167851122121381888},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 13:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730090496001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:24:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 13:24:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347096502125985792,"km_value":347096502125985.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9167851122121381888,"description":"Unknown IO ID 45"} 
[2026-07-15 13:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730090496001,"power":27865,"unknown_250":206,"unknown_85":12544,"ignition":12,"odometer":null,"unknown_45":9167851122121381888}} 
[2026-07-15 13:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":132350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:24:07] local.INFO: GPS data processed {"connection_id":132350,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:24:07] local.INFO: Acknowledgment sent {"connection_id":132350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:24:08] local.INFO: TCP Data received {"connection_id":133383,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64c430d8012d7d338005d4a040000200ad0c..."} 
[2026-07-15 13:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64c430d8012d7d338005d4a040000200ad0c..."} 
[2026-07-15 13:24:08] local.INFO: Processing buffer {"connection_id":133383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64c430d8012d7d338005d4a040000200ad0c..."} 
[2026-07-15 13:24:08] local.INFO: Packet analysis {"connection_id":133383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64c4"} 
[2026-07-15 13:24:08] local.INFO: Extracted packet for processing {"connection_id":133383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64c4"} 
[2026-07-15 13:24:08] local.INFO: GPS Element Parsed {"raw_longitude":763179904,"raw_latitude":97820736,"longitude_deg":76.3179904,"latitude_deg":9.7820736,"altitude":2,"angle":173,"satellites":12,"speed":48,"hex_longitude":"2d7d3380","hex_latitude":"05d4a040","is_valid_coordinates":true} 
[2026-07-15 13:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730112000001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106406105361416192,"note":"Value kept but may cause issues"} 
[2026-07-15 13:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358234946615296,"note":"Value kept but may cause issues"} 
[2026-07-15 13:24:08] 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-07-15 13:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784102007000,"timestamp_ms":1784102007000,"timestamp_seconds":1784102007,"priority":1,"record_length":96,"hex_timestamp":"0000019f64c430d8"} 
[2026-07-15 13:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:24:08] 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-07-15 13:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-15 13:24: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-07-15 13:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":133383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":133383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":133383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730112000001,"66":13450,"254":206,"85":15104,"24":48,"16":106406105361416192,"45":9020358234946615296},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-07-15 13:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730112000001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:24:08] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-15 13:24:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106406105361416192,"km_value":106406105361416.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358234946615296,"description":"Unknown IO ID 45"} 
[2026-07-15 13:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730112000001,"power":13450,"unknown_254":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":9020358234946615296}} 
[2026-07-15 13:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":133383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490992,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:24:08] local.INFO: GPS data processed {"connection_id":133383,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:24:08] local.INFO: Acknowledgment sent {"connection_id":133383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:24:09] local.INFO: TCP Data received {"connection_id":133383,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64c45400012d7d388005d47dd0000200b00d..."} 
[2026-07-15 13:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64c45400012d7d388005d47dd0000200b00d..."} 
[2026-07-15 13:24:09] local.INFO: Processing buffer {"connection_id":133383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64c45400012d7d388005d47dd0000200b00d..."} 
[2026-07-15 13:24:09] local.INFO: Packet analysis {"connection_id":133383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64c4"} 
[2026-07-15 13:24:09] local.INFO: Extracted packet for processing {"connection_id":133383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64c4"} 
[2026-07-15 13:24:09] local.INFO: GPS Element Parsed {"raw_longitude":763181184,"raw_latitude":97811920,"longitude_deg":76.3181184,"latitude_deg":9.781192,"altitude":2,"angle":176,"satellites":13,"speed":26,"hex_longitude":"2d7d3880","hex_latitude":"05d47dd0","is_valid_coordinates":true} 
[2026-07-15 13:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730113792001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106406539153113088,"note":"Value kept but may cause issues"} 
[2026-07-15 13:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021695241083699200,"note":"Value kept but may cause issues"} 
[2026-07-15 13:24:09] 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-07-15 13:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784102016000,"timestamp_ms":1784102016000,"timestamp_seconds":1784102016,"priority":1,"record_length":96,"hex_timestamp":"0000019f64c45400"} 
[2026-07-15 13:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-15 13:24:09] 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-07-15 13:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":133383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":133383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":133383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730113792001,"66":13015,"254":206,"85":15104,"24":26,"16":106406539153113088,"45":9021695241083699200},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-07-15 13:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730113792001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:24:09] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-15 13:24:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106406539153113088,"km_value":106406539153113.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021695241083699200,"description":"Unknown IO ID 45"} 
[2026-07-15 13:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730113792001,"power":13015,"unknown_254":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9021695241083699200}} 
[2026-07-15 13:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":133383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490993,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:24:09] local.INFO: GPS data processed {"connection_id":133383,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:24:09] local.INFO: Acknowledgment sent {"connection_id":133383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:24:37] local.INFO: TCP Data received {"connection_id":132350,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64c37170012d7f360005af83d8000400b731..."} 
[2026-07-15 13:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64c37170012d7f360005af83d8000400b731..."} 
[2026-07-15 13:24:37] local.INFO: Processing buffer {"connection_id":132350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64c37170012d7f360005af83d8000400b731..."} 
[2026-07-15 13:24:37] local.INFO: Packet analysis {"connection_id":132350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64c3"} 
[2026-07-15 13:24:37] local.INFO: Extracted packet for processing {"connection_id":132350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64c3"} 
[2026-07-15 13:24:37] local.INFO: GPS Element Parsed {"raw_longitude":763311616,"raw_latitude":95388632,"longitude_deg":76.3311616,"latitude_deg":9.5388632,"altitude":4,"angle":183,"satellites":49,"speed":11,"hex_longitude":"2d7f3600","hex_latitude":"05af83d8","is_valid_coordinates":true} 
[2026-07-15 13:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730095872001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347096824248532992,"note":"Value kept but may cause issues"} 
[2026-07-15 13:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9166936328445472768,"note":"Value kept but may cause issues"} 
[2026-07-15 13:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784101958000,"timestamp_ms":1784101958000,"timestamp_seconds":1784101958,"priority":1,"record_length":96,"hex_timestamp":"0000019f64c37170"} 
[2026-07-15 13:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-15 13:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730095872001,"66":27843,"28":206,"85":12544,"24":11,"16":347096824248532992,"45":9166936328445472768},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-15 13:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730095872001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:24:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-15 13:24:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347096824248532992,"km_value":347096824248533.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9166936328445472768,"description":"Unknown IO ID 45"} 
[2026-07-15 13:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730095872001,"power":27843,"unknown_28":206,"unknown_85":12544,"ignition":11,"odometer":null,"unknown_45":9166936328445472768}} 
[2026-07-15 13:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":132350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:24:37] local.INFO: GPS data processed {"connection_id":132350,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:24:37] local.INFO: Acknowledgment sent {"connection_id":132350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:24:40] local.INFO: TCP Data received {"connection_id":133383,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64c48ab0012d7d3c8005d45b60000100ae0e..."} 
[2026-07-15 13:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64c48ab0012d7d3c8005d45b60000100ae0e..."} 
[2026-07-15 13:24:40] local.INFO: Processing buffer {"connection_id":133383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64c48ab0012d7d3c8005d45b60000100ae0e..."} 
[2026-07-15 13:24:40] local.INFO: Packet analysis {"connection_id":133383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64c4"} 
[2026-07-15 13:24:40] local.INFO: Extracted packet for processing {"connection_id":133383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64c4"} 
[2026-07-15 13:24:40] local.INFO: GPS Element Parsed {"raw_longitude":763182208,"raw_latitude":97803104,"longitude_deg":76.3182208,"latitude_deg":9.7803104,"altitude":1,"angle":174,"satellites":14,"speed":38,"hex_longitude":"2d7d3c80","hex_latitude":"05d45b60","is_valid_coordinates":true} 
[2026-07-15 13:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730116096001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106406977239777280,"note":"Value kept but may cause issues"} 
[2026-07-15 13:24:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023102615964995584,"note":"Value kept but may cause issues"} 
[2026-07-15 13:24:40] 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-07-15 13:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784102030000,"timestamp_ms":1784102030000,"timestamp_seconds":1784102030,"priority":1,"record_length":96,"hex_timestamp":"0000019f64c48ab0"} 
[2026-07-15 13:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:24:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-15 13:24:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:24:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":133383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":133383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":133383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730116096001,"66":13254,"254":206,"85":15104,"24":38,"16":106406977239777280,"45":9023102615964995584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-07-15 13:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730116096001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:24:40] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-15 13:24:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106406977239777280,"km_value":106406977239777.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:24:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023102615964995584,"description":"Unknown IO ID 45"} 
[2026-07-15 13:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730116096001,"power":13254,"unknown_254":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9023102615964995584}} 
[2026-07-15 13:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":133383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490995,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:24:40] local.INFO: GPS data processed {"connection_id":133383,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:24:40] local.INFO: Acknowledgment sent {"connection_id":133383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:25:00] local.INFO: TCP Data received {"connection_id":134748,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134748,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:25:00] local.INFO: Processing buffer {"connection_id":134748,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:25:00] local.INFO: IMEI packet received {"connection_id":134748,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 13:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":134748,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:25:01] local.INFO: TCP Data received {"connection_id":134749,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:25:01] local.INFO: Processing buffer {"connection_id":134749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:25:01] local.INFO: IMEI packet received {"connection_id":134749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":134749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:25:01] local.INFO: TCP Data received {"connection_id":134748,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134748,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:25:01] local.INFO: Processing buffer {"connection_id":134748,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:25:01] local.INFO: IMEI packet received {"connection_id":134748,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 13:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":134748,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:25:01] local.INFO: TCP Data received {"connection_id":134749,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:25:01] local.INFO: Processing buffer {"connection_id":134749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:25:01] local.INFO: IMEI packet received {"connection_id":134749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":134749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:25:04] local.INFO: TCP Data received {"connection_id":134748,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134748,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:25:04] local.INFO: Processing buffer {"connection_id":134748,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:25:04] local.INFO: IMEI packet received {"connection_id":134748,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 13:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":134748,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:25:05] local.INFO: TCP Data received {"connection_id":134749,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:25:05] local.INFO: Processing buffer {"connection_id":134749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:25:05] local.INFO: IMEI packet received {"connection_id":134749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":134749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:25:05] local.INFO: TCP Data received {"connection_id":134748,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64c4add8012d7d3f4005d43510000100b40d..."} 
[2026-07-15 13:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64c4add8012d7d3f4005d43510000100b40d..."} 
[2026-07-15 13:25:05] local.INFO: Processing buffer {"connection_id":134748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64c4add8012d7d3f4005d43510000100b40d..."} 
[2026-07-15 13:25:05] local.INFO: Packet analysis {"connection_id":134748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64c4"} 
[2026-07-15 13:25:05] local.INFO: Extracted packet for processing {"connection_id":134748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64c4"} 
[2026-07-15 13:25:05] local.INFO: GPS Element Parsed {"raw_longitude":763182912,"raw_latitude":97793296,"longitude_deg":76.3182912,"latitude_deg":9.7793296,"altitude":1,"angle":180,"satellites":13,"speed":46,"hex_longitude":"2d7d3f40","hex_latitude":"05d43510","is_valid_coordinates":true} 
[2026-07-15 13:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730119680001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106407453981147136,"note":"Value kept but may cause issues"} 
[2026-07-15 13:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024228515869581312,"note":"Value kept but may cause issues"} 
[2026-07-15 13:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784102039000,"timestamp_ms":1784102039000,"timestamp_seconds":1784102039,"priority":1,"record_length":96,"hex_timestamp":"0000019f64c4add8"} 
[2026-07-15 13:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:25: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-07-15 13:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-15 13:25:05] 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-07-15 13:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":134748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":134748,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":134748,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730119680001,"66":13319,"254":206,"85":15104,"24":46,"16":106407453981147136,"45":9024228515869581312},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-07-15 13:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730119680001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:25:05] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-15 13:25:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106407453981147136,"km_value":106407453981147.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024228515869581312,"description":"Unknown IO ID 45"} 
[2026-07-15 13:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730119680001,"power":13319,"unknown_254":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9024228515869581312}} 
[2026-07-15 13:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":134748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490996,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:25:05] local.INFO: GPS data processed {"connection_id":134748,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:25:05] local.INFO: Acknowledgment sent {"connection_id":134748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:25:06] local.INFO: TCP Data received {"connection_id":134749,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64c4ffe0012d7f200005af72400007013230..."} 
[2026-07-15 13:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64c4ffe0012d7f200005af72400007013230..."} 
[2026-07-15 13:25:06] local.INFO: Processing buffer {"connection_id":134749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64c4ffe0012d7f200005af72400007013230..."} 
[2026-07-15 13:25:06] local.INFO: Packet analysis {"connection_id":134749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64c4"} 
[2026-07-15 13:25:06] local.INFO: Extracted packet for processing {"connection_id":134749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64c4"} 
[2026-07-15 13:25:06] local.INFO: GPS Element Parsed {"raw_longitude":763305984,"raw_latitude":95384128,"longitude_deg":76.3305984,"latitude_deg":9.5384128,"altitude":7,"angle":306,"satellites":48,"speed":18,"hex_longitude":"2d7f2000","hex_latitude":"05af7240","is_valid_coordinates":true} 
[2026-07-15 13:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730126848001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347097966709833728,"note":"Value kept but may cause issues"} 
[2026-07-15 13:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9161166091419877376,"note":"Value kept but may cause issues"} 
[2026-07-15 13:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784102060000,"timestamp_ms":1784102060000,"timestamp_seconds":1784102060,"priority":1,"record_length":96,"hex_timestamp":"0000019f64c4ffe0"} 
[2026-07-15 13:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-15 13:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":134749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":134749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":134749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:25:06] 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-07-15 13:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730126848001,"66":27767,"28":206,"85":12544,"24":18,"16":347097966709833728,"45":9161166091419877376},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-15 13:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730126848001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:25:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-15 13:25:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347097966709833728,"km_value":347097966709833.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9161166091419877376,"description":"Unknown IO ID 45"} 
[2026-07-15 13:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730126848001,"power":27767,"unknown_28":206,"unknown_85":12544,"ignition":18,"odometer":null,"unknown_45":9161166091419877376}} 
[2026-07-15 13:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":134749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:25:06] local.INFO: GPS data processed {"connection_id":134749,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:25:06] local.INFO: Acknowledgment sent {"connection_id":134749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:25:36] local.INFO: TCP Data received {"connection_id":134749,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64c50b98012d7f1b4005af75180007012531..."} 
[2026-07-15 13:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64c50b98012d7f1b4005af75180007012531..."} 
[2026-07-15 13:25:36] local.INFO: Processing buffer {"connection_id":134749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64c50b98012d7f1b4005af75180007012531..."} 
[2026-07-15 13:25:36] local.INFO: Packet analysis {"connection_id":134749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64c5"} 
[2026-07-15 13:25:36] local.INFO: Extracted packet for processing {"connection_id":134749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64c5"} 
[2026-07-15 13:25:36] local.INFO: GPS Element Parsed {"raw_longitude":763304768,"raw_latitude":95384856,"longitude_deg":76.3304768,"latitude_deg":9.5384856,"altitude":7,"angle":293,"satellites":49,"speed":19,"hex_longitude":"2d7f1b40","hex_latitude":"05af7518","is_valid_coordinates":true} 
[2026-07-15 13:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730127360001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347098035429310464,"note":"Value kept but may cause issues"} 
[2026-07-15 13:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9160321666489925632,"note":"Value kept but may cause issues"} 
[2026-07-15 13:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784102063000,"timestamp_ms":1784102063000,"timestamp_seconds":1784102063,"priority":1,"record_length":96,"hex_timestamp":"0000019f64c50b98"} 
[2026-07-15 13:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 13:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":134749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":134749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":134749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:25: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-07-15 13:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730127360001,"66":27876,"28":206,"85":12544,"24":19,"16":347098035429310464,"45":9160321666489925632},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-15 13:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730127360001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:25:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-15 13:25:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347098035429310464,"km_value":347098035429310.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9160321666489925632,"description":"Unknown IO ID 45"} 
[2026-07-15 13:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730127360001,"power":27876,"unknown_28":206,"unknown_85":12544,"ignition":19,"odometer":null,"unknown_45":9160321666489925632}} 
[2026-07-15 13:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":134749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:25:36] local.INFO: GPS data processed {"connection_id":134749,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:25:36] local.INFO: Acknowledgment sent {"connection_id":134749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:25:36] local.INFO: TCP Data received {"connection_id":134748,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64c4cd18012d7d3d8005d410d0000100b80c..."} 
[2026-07-15 13:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64c4cd18012d7d3d8005d410d0000100b80c..."} 
[2026-07-15 13:25:36] local.INFO: Processing buffer {"connection_id":134748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64c4cd18012d7d3d8005d410d0000100b80c..."} 
[2026-07-15 13:25:36] local.INFO: Packet analysis {"connection_id":134748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64c4"} 
[2026-07-15 13:25:36] local.INFO: Extracted packet for processing {"connection_id":134748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64c4"} 
[2026-07-15 13:25:36] local.INFO: GPS Element Parsed {"raw_longitude":763182464,"raw_latitude":97784016,"longitude_deg":76.3182464,"latitude_deg":9.7784016,"altitude":1,"angle":184,"satellites":12,"speed":48,"hex_longitude":"2d7d3d80","hex_latitude":"05d410d0","is_valid_coordinates":true} 
[2026-07-15 13:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730121984001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106407904952713216,"note":"Value kept but may cause issues"} 
[2026-07-15 13:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025002572053024768,"note":"Value kept but may cause issues"} 
[2026-07-15 13:25:36] 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-07-15 13:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784102047000,"timestamp_ms":1784102047000,"timestamp_seconds":1784102047,"priority":1,"record_length":96,"hex_timestamp":"0000019f64c4cd18"} 
[2026-07-15 13:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:25:36] 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-07-15 13:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-15 13:25:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 13:25:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-07-15 13:25:36] local.WARNING: Large IO value detected {"io_id":7,"raw_value":3388997632,"note":"Value kept but may cause issues"} 
[2026-07-15 13:25:36] local.WARNING: Large IO value detected {"io_id":100,"raw_value":3289743361,"note":"Value kept but may cause issues"} 
[2026-07-15 13:25:36] local.WARNING: Large IO value detected {"io_id":212,"raw_value":3275227139,"note":"Value kept but may cause issues"} 
[2026-07-15 13:25:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2835218638,"corrected_to":0} 
[2026-07-15 13:25:36] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3321941416,"note":"Value kept but may cause issues"} 
[2026-07-15 13:25:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3574374400,"note":"Value kept but may cause issues"} 
[2026-07-15 13:25:36] local.WARNING: Large IO value detected {"io_id":215,"raw_value":57888174819398971,"note":"Value kept but may cause issues"} 
[2026-07-15 13:25:36] local.WARNING: Large IO value detected {"io_id":195,"raw_value":-4924684897644560379,"note":"Value kept but may cause issues"} 
[2026-07-15 13:25:36] local.WARNING: Large IO value detected {"io_id":213,"raw_value":3497045140729695232,"note":"Value kept but may cause issues"} 
[2026-07-15 13:25:36] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,254,85,24,241,157,16,9,159,138,45,128,91,1,14,10,66,8,84,125,2,13,48,240,227,7,100,212,4,113,205,51,250,42,80,11,239,253,122,5,6,47,215,195,213],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2835218638,"validated":0}]} 
[2026-07-15 13:25:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72255561968517120,"timestamp_seconds":72255561968517.12,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 13:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":134748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":134748,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":134748,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730121984001,"66":13243,"254":206,"85":15104,"24":48,"16":106407904952713216,"45":9025002572053024768},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-07-15 13:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730121984001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:25:36] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-15 13:25:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106407904952713216,"km_value":106407904952713.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025002572053024768,"description":"Unknown IO ID 45"} 
[2026-07-15 13:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730121984001,"power":13243,"unknown_254":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":9025002572053024768}} 
[2026-07-15 13:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":134748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490999,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:25:36] local.INFO: GPS data processed {"connection_id":134748,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:25:36] local.INFO: Acknowledgment sent {"connection_id":134748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:25:59] local.INFO: TCP Data received {"connection_id":133384,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133384,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:25:59] local.INFO: Processing buffer {"connection_id":133384,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:25:59] local.INFO: IMEI packet received {"connection_id":133384,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 13:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":133384,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:26:01] local.INFO: TCP Data received {"connection_id":132351,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:26:01] local.INFO: Processing buffer {"connection_id":132351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:26:01] local.INFO: IMEI packet received {"connection_id":132351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":132351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:26:01] local.INFO: TCP Data received {"connection_id":132351,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:26:01] local.INFO: Processing buffer {"connection_id":132351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:26:01] local.INFO: IMEI packet received {"connection_id":132351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":132351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:26:03] local.INFO: TCP Data received {"connection_id":133384,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133384,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:26:03] local.INFO: Processing buffer {"connection_id":133384,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:26:03] local.INFO: IMEI packet received {"connection_id":133384,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 13:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":133384,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:26:04] local.INFO: TCP Data received {"connection_id":132351,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:26:04] local.INFO: Processing buffer {"connection_id":132351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:26:04] local.INFO: IMEI packet received {"connection_id":132351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":132351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:26:04] local.INFO: TCP Data received {"connection_id":133384,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64c65b88012d7d418005d29818000900be0e..."} 
[2026-07-15 13:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64c65b88012d7d418005d29818000900be0e..."} 
[2026-07-15 13:26:04] local.INFO: Processing buffer {"connection_id":133384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64c65b88012d7d418005d29818000900be0e..."} 
[2026-07-15 13:26:04] local.INFO: Packet analysis {"connection_id":133384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64c6"} 
[2026-07-15 13:26:04] local.INFO: Extracted packet for processing {"connection_id":133384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64c6"} 
[2026-07-15 13:26:04] local.INFO: GPS Element Parsed {"raw_longitude":763183488,"raw_latitude":97687576,"longitude_deg":76.3183488,"latitude_deg":9.7687576,"altitude":9,"angle":190,"satellites":14,"speed":18,"hex_longitude":"2d7d4180","hex_latitude":"05d29818","is_valid_coordinates":true} 
[2026-07-15 13: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-07-15 13:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730146816001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106412629416738816,"note":"Value kept but may cause issues"} 
[2026-07-15 13:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026058103190767616,"note":"Value kept but may cause issues"} 
[2026-07-15 13:26:04] 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-07-15 13:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784102149000,"timestamp_ms":1784102149000,"timestamp_seconds":1784102149,"priority":1,"record_length":96,"hex_timestamp":"0000019f64c65b88"} 
[2026-07-15 13:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:26: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-07-15 13: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-15 13:26:04] 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-07-15 13: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-07-15 13:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":133384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":133384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":133384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:26:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730146816001,"66":13450,"117":206,"85":15104,"24":18,"16":106412629416738816,"45":9026058103190767616},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-07-15 13:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730146816001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:26:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-15 13:26:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106412629416738816,"km_value":106412629416738.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026058103190767616,"description":"Unknown IO ID 45"} 
[2026-07-15 13:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730146816001,"power":13450,"unknown_117":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":9026058103190767616}} 
[2026-07-15 13:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":133384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491000,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:26:04] local.INFO: GPS data processed {"connection_id":133384,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:26:04] local.INFO: Acknowledgment sent {"connection_id":133384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:26:05] local.INFO: TCP Data received {"connection_id":132351,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64c51b38012d7f148005af77400006011830..."} 
[2026-07-15 13:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64c51b38012d7f148005af77400006011830..."} 
[2026-07-15 13:26:05] local.INFO: Processing buffer {"connection_id":132351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64c51b38012d7f148005af77400006011830..."} 
[2026-07-15 13:26:05] local.INFO: Packet analysis {"connection_id":132351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64c5"} 
[2026-07-15 13:26:05] local.INFO: Extracted packet for processing {"connection_id":132351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64c5"} 
[2026-07-15 13:26:05] local.INFO: GPS Element Parsed {"raw_longitude":763303040,"raw_latitude":95385408,"longitude_deg":76.330304,"latitude_deg":9.5385408,"altitude":6,"angle":280,"satellites":48,"speed":12,"hex_longitude":"2d7f1480","hex_latitude":"05af7740","is_valid_coordinates":true} 
[2026-07-15 13:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730128128001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347098121328656384,"note":"Value kept but may cause issues"} 
[2026-07-15 13:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9158984660350736384,"note":"Value kept but may cause issues"} 
[2026-07-15 13:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784102067000,"timestamp_ms":1784102067000,"timestamp_seconds":1784102067,"priority":1,"record_length":96,"hex_timestamp":"0000019f64c51b38"} 
[2026-07-15 13:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-15 13:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730128128001,"66":27908,"28":206,"85":12544,"24":12,"16":347098121328656384,"45":9158984660350736384},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-15 13:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730128128001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:26:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-15 13:26:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347098121328656384,"km_value":347098121328656.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9158984660350736384,"description":"Unknown IO ID 45"} 
[2026-07-15 13:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730128128001,"power":27908,"unknown_28":206,"unknown_85":12544,"ignition":12,"odometer":null,"unknown_45":9158984660350736384}} 
[2026-07-15 13:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":132351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:26:05] local.INFO: GPS data processed {"connection_id":132351,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:26:05] local.INFO: Acknowledgment sent {"connection_id":132351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:26:36] local.INFO: TCP Data received {"connection_id":133384,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64c66740012d7d3f8005d29340000b00b30f..."} 
[2026-07-15 13:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64c66740012d7d3f8005d29340000b00b30f..."} 
[2026-07-15 13:26:36] local.INFO: Processing buffer {"connection_id":133384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64c66740012d7d3f8005d29340000b00b30f..."} 
[2026-07-15 13:26:36] local.INFO: Packet analysis {"connection_id":133384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64c6"} 
[2026-07-15 13:26:36] local.INFO: Extracted packet for processing {"connection_id":133384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64c6"} 
[2026-07-15 13:26:36] local.INFO: GPS Element Parsed {"raw_longitude":763182976,"raw_latitude":97686336,"longitude_deg":76.3182976,"latitude_deg":9.7686336,"altitude":11,"angle":179,"satellites":15,"speed":16,"hex_longitude":"2d7d3f80","hex_latitude":"05d29340","is_valid_coordinates":true} 
[2026-07-15 13:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730150144001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106412698136215552,"note":"Value kept but may cause issues"} 
[2026-07-15 13:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025635890723559424,"note":"Value kept but may cause issues"} 
[2026-07-15 13:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784102152000,"timestamp_ms":1784102152000,"timestamp_seconds":1784102152,"priority":1,"record_length":96,"hex_timestamp":"0000019f64c66740"} 
[2026-07-15 13:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-15 13:26:36] 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-07-15 13:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":133384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":133384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":133384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730150144001,"66":12917,"117":206,"85":15104,"24":16,"16":106412698136215552,"45":9025635890723559424},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-07-15 13:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730150144001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:26:36] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-15 13:26:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106412698136215552,"km_value":106412698136215.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025635890723559424,"description":"Unknown IO ID 45"} 
[2026-07-15 13:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730150144001,"power":12917,"unknown_117":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":9025635890723559424}} 
[2026-07-15 13:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":133384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491002,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:26:36] local.INFO: GPS data processed {"connection_id":133384,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:26:36] local.INFO: Acknowledgment sent {"connection_id":133384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:26:36] local.INFO: TCP Data received {"connection_id":132351,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64c526f0012d7f11c005af78480006012630..."} 
[2026-07-15 13:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64c526f0012d7f11c005af78480006012630..."} 
[2026-07-15 13:26:36] local.INFO: Processing buffer {"connection_id":132351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64c526f0012d7f11c005af78480006012630..."} 
[2026-07-15 13:26:36] local.INFO: Packet analysis {"connection_id":132351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64c5"} 
[2026-07-15 13:26:36] local.INFO: Extracted packet for processing {"connection_id":132351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64c5"} 
[2026-07-15 13:26:36] local.INFO: GPS Element Parsed {"raw_longitude":763302336,"raw_latitude":95385672,"longitude_deg":76.3302336,"latitude_deg":9.5385672,"altitude":6,"angle":294,"satellites":48,"speed":10,"hex_longitude":"2d7f11c0","hex_latitude":"05af7848","is_valid_coordinates":true} 
[2026-07-15 13:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730129152001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347098159983362048,"note":"Value kept but may cause issues"} 
[2026-07-15 13:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9157084704258080768,"note":"Value kept but may cause issues"} 
[2026-07-15 13:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784102070000,"timestamp_ms":1784102070000,"timestamp_seconds":1784102070,"priority":1,"record_length":96,"hex_timestamp":"0000019f64c526f0"} 
[2026-07-15 13:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 13:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:26: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-07-15 13:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730129152001,"66":27800,"28":206,"85":12544,"24":10,"16":347098159983362048,"45":9157084704258080768},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-15 13:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730129152001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:26:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-15 13:26:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 13:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347098159983362048,"km_value":347098159983362.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9157084704258080768,"description":"Unknown IO ID 45"} 
[2026-07-15 13:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730129152001,"power":27800,"unknown_28":206,"unknown_85":12544,"ignition":10,"odometer":null,"unknown_45":9157084704258080768}} 
[2026-07-15 13:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":132351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:26:36] local.INFO: GPS data processed {"connection_id":132351,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:26:36] local.INFO: Acknowledgment sent {"connection_id":132351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:26:59] local.INFO: TCP Data received {"connection_id":134751,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134751,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:26:59] local.INFO: Processing buffer {"connection_id":134751,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:26:59] local.INFO: IMEI packet received {"connection_id":134751,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 13:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":134751,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:27:01] local.INFO: TCP Data received {"connection_id":133386,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:27:01] local.INFO: Processing buffer {"connection_id":133386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:27:01] local.INFO: IMEI packet received {"connection_id":133386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":133386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:27:01] local.INFO: TCP Data received {"connection_id":133386,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:27:01] local.INFO: Processing buffer {"connection_id":133386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:27:01] local.INFO: IMEI packet received {"connection_id":133386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":133386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:27:02] local.INFO: TCP Data received {"connection_id":133386,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:27:02] local.INFO: Processing buffer {"connection_id":133386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:27:02] local.INFO: IMEI packet received {"connection_id":133386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":133386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:27:03] local.INFO: TCP Data received {"connection_id":133386,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:27:03] local.INFO: Processing buffer {"connection_id":133386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:27:03] local.INFO: IMEI packet received {"connection_id":133386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":133386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:27:04] local.INFO: TCP Data received {"connection_id":134751,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134751,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:27:04] local.INFO: Processing buffer {"connection_id":134751,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:27:04] local.INFO: IMEI packet received {"connection_id":134751,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 13:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":134751,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:27:05] local.INFO: TCP Data received {"connection_id":134751,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64c66f10012d7d3f8005d290d0000b00a310..."} 
[2026-07-15 13:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64c66f10012d7d3f8005d290d0000b00a310..."} 
[2026-07-15 13:27:05] local.INFO: Processing buffer {"connection_id":134751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64c66f10012d7d3f8005d290d0000b00a310..."} 
[2026-07-15 13:27:05] local.INFO: Packet analysis {"connection_id":134751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64c6"} 
[2026-07-15 13:27:05] local.INFO: Extracted packet for processing {"connection_id":134751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64c6"} 
[2026-07-15 13:27:05] local.INFO: GPS Element Parsed {"raw_longitude":763182976,"raw_latitude":97685712,"longitude_deg":76.3182976,"latitude_deg":9.7685712,"altitude":11,"angle":163,"satellites":16,"speed":9,"hex_longitude":"2d7d3f80","hex_latitude":"05d290d0","is_valid_coordinates":true} 
[2026-07-15 13:27: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-07-15 13:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730150912001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106412728200986624,"note":"Value kept but may cause issues"} 
[2026-07-15 13:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025072940769820672,"note":"Value kept but may cause issues"} 
[2026-07-15 13:27:05] 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-07-15 13:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784102154000,"timestamp_ms":1784102154000,"timestamp_seconds":1784102154,"priority":1,"record_length":96,"hex_timestamp":"0000019f64c66f10"} 
[2026-07-15 13:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:27: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-07-15 13:27: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":117,"data_length":795,"current_offset":136} 
[2026-07-15 13:27:05] 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-07-15 13:27: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-07-15 13:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":134751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":134751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":134751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730150912001,"66":12950,"117":206,"85":15104,"24":9,"16":106412728200986624,"45":9025072940769820672},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-07-15 13:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730150912001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:27:05] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-15 13:27:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106412728200986624,"km_value":106412728200986.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025072940769820672,"description":"Unknown IO ID 45"} 
[2026-07-15 13:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730150912001,"power":12950,"unknown_117":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9025072940769820672}} 
[2026-07-15 13:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":134751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491004,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:27:05] local.INFO: GPS data processed {"connection_id":134751,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:27:05] local.INFO: Acknowledgment sent {"connection_id":134751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:27:36] local.INFO: TCP Data received {"connection_id":134751,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64c672f8012d7d3fc005d28ff8000b009713..."} 
[2026-07-15 13:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64c672f8012d7d3fc005d28ff8000b009713..."} 
[2026-07-15 13:27:36] local.INFO: Processing buffer {"connection_id":134751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64c672f8012d7d3fc005d28ff8000b009713..."} 
[2026-07-15 13:27:36] local.INFO: Packet analysis {"connection_id":134751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64c6"} 
[2026-07-15 13:27:36] local.INFO: Extracted packet for processing {"connection_id":134751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64c6"} 
[2026-07-15 13:27:36] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":97685496,"longitude_deg":76.318304,"latitude_deg":9.7685496,"altitude":11,"angle":151,"satellites":19,"speed":6,"hex_longitude":"2d7d3fc0","hex_latitude":"05d28ff8","is_valid_coordinates":true} 
[2026-07-15 13:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730151424001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106412736790921216,"note":"Value kept but may cause issues"} 
[2026-07-15 13:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025072940769660928,"note":"Value kept but may cause issues"} 
[2026-07-15 13:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784102155000,"timestamp_ms":1784102155000,"timestamp_seconds":1784102155,"priority":1,"record_length":96,"hex_timestamp":"0000019f64c672f8"} 
[2026-07-15 13:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 13:27:36] 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-07-15 13:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":134751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":134751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":134751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730151424001,"66":12950,"117":206,"85":15104,"24":6,"16":106412736790921216,"45":9025072940769660928},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-07-15 13:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730151424001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:27:36] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-15 13:27:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106412736790921216,"km_value":106412736790921.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025072940769660928,"description":"Unknown IO ID 45"} 
[2026-07-15 13:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730151424001,"power":12950,"unknown_117":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9025072940769660928}} 
[2026-07-15 13:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":134751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491005,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:27:37] local.INFO: GPS data processed {"connection_id":134751,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:27:37] local.INFO: Acknowledgment sent {"connection_id":134751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:28:11] local.INFO: TCP Data received {"connection_id":132353,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132353,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:28:11] local.INFO: Processing buffer {"connection_id":132353,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:28:11] local.INFO: IMEI packet received {"connection_id":132353,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 13:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":132353,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:28:12] local.INFO: TCP Data received {"connection_id":132353,"ip":"42.106.6.36","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-15 13:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132353,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-15 13:28:12] local.INFO: Processing buffer {"connection_id":132353,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-15 13:28:12] local.INFO: IMEI packet received {"connection_id":132353,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 13:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":132353,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:28:14] local.INFO: TCP Data received {"connection_id":132353,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132353,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:28:14] local.INFO: Processing buffer {"connection_id":132353,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-15 13:28:14] local.INFO: IMEI packet received {"connection_id":132353,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 13:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":132353,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:29:05] local.INFO: TCP Data received {"connection_id":132543,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132543,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:29:05] local.INFO: Processing buffer {"connection_id":132543,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:29:05] local.INFO: IMEI packet received {"connection_id":132543,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 13:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":132543,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:29:35] local.INFO: TCP Data received {"connection_id":134752,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134752,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:29:35] local.INFO: Processing buffer {"connection_id":134752,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:29:35] local.INFO: IMEI packet received {"connection_id":134752,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 13:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":134752,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:32:06] local.INFO: TCP Data received {"connection_id":133390,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:32:06] local.INFO: Processing buffer {"connection_id":133390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:32:06] local.INFO: IMEI packet received {"connection_id":133390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":133390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:32:06] local.INFO: TCP Data received {"connection_id":133390,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64ca62c8012d7ea90005ae4328000b00b52d..."} 
[2026-07-15 13:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64ca62c8012d7ea90005ae4328000b00b52d..."} 
[2026-07-15 13:32:06] local.INFO: Processing buffer {"connection_id":133390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64ca62c8012d7ea90005ae4328000b00b52d..."} 
[2026-07-15 13:32:06] local.INFO: Packet analysis {"connection_id":133390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64ca"} 
[2026-07-15 13:32:06] local.INFO: Extracted packet for processing {"connection_id":133390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64ca"} 
[2026-07-15 13:32:06] local.INFO: GPS Element Parsed {"raw_longitude":763275520,"raw_latitude":95306536,"longitude_deg":76.327552,"latitude_deg":9.5306536,"altitude":11,"angle":181,"satellites":45,"speed":21,"hex_longitude":"2d7ea900","hex_latitude":"05ae4328","is_valid_coordinates":true} 
[2026-07-15 13:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730213376001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347103378368626688,"note":"Value kept but may cause issues"} 
[2026-07-15 13:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126403931778727936,"note":"Value kept but may cause issues"} 
[2026-07-15 13:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784102413000,"timestamp_ms":1784102413000,"timestamp_seconds":1784102413,"priority":1,"record_length":96,"hex_timestamp":"0000019f64ca62c8"} 
[2026-07-15 13:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 13:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:32:06] 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-07-15 13:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730213376001,"66":27865,"168":206,"85":14336,"24":21,"16":347103378368626688,"45":9126403931778727936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-15 13:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730213376001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:32:06] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-15 13:32:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347103378368626688,"km_value":347103378368626.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126403931778727936,"description":"Unknown IO ID 45"} 
[2026-07-15 13:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730213376001,"power":27865,"unknown_168":206,"unknown_85":14336,"ignition":21,"odometer":null,"unknown_45":9126403931778727936}} 
[2026-07-15 13:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":133390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:32:06] local.INFO: GPS data processed {"connection_id":133390,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:32:06] local.INFO: Acknowledgment sent {"connection_id":133390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:32:38] local.INFO: TCP Data received {"connection_id":133390,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64caa530012d7ea84005ae2030000c00b42d..."} 
[2026-07-15 13:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64caa530012d7ea84005ae2030000c00b42d..."} 
[2026-07-15 13:32:38] local.INFO: Processing buffer {"connection_id":133390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64caa530012d7ea84005ae2030000c00b42d..."} 
[2026-07-15 13:32:38] local.INFO: Packet analysis {"connection_id":133390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64ca"} 
[2026-07-15 13:32:38] local.INFO: Extracted packet for processing {"connection_id":133390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64ca"} 
[2026-07-15 13:32:38] local.INFO: GPS Element Parsed {"raw_longitude":763275328,"raw_latitude":95297584,"longitude_deg":76.3275328,"latitude_deg":9.5297584,"altitude":12,"angle":180,"satellites":45,"speed":21,"hex_longitude":"2d7ea840","hex_latitude":"05ae2030","is_valid_coordinates":true} 
[2026-07-15 13: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-07-15 13:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730217728001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347103816455290880,"note":"Value kept but may cause issues"} 
[2026-07-15 13:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126826144241494016,"note":"Value kept but may cause issues"} 
[2026-07-15 13:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784102430000,"timestamp_ms":1784102430000,"timestamp_seconds":1784102430,"priority":1,"record_length":96,"hex_timestamp":"0000019f64caa530"} 
[2026-07-15 13:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-15 13:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13: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-07-15 13:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:32:38] 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-07-15 13:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730217728001,"66":27995,"168":206,"85":14336,"24":21,"16":347103816455290880,"45":9126826144241494016},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-15 13:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730217728001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:32:38] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-15 13:32:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347103816455290880,"km_value":347103816455290.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126826144241494016,"description":"Unknown IO ID 45"} 
[2026-07-15 13:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730217728001,"power":27995,"unknown_168":206,"unknown_85":14336,"ignition":21,"odometer":null,"unknown_45":9126826144241494016}} 
[2026-07-15 13:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":133390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:32:38] local.INFO: GPS data processed {"connection_id":133390,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:32:38] local.INFO: Acknowledgment sent {"connection_id":133390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:33:01] local.INFO: TCP Data received {"connection_id":134754,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:33:01] local.INFO: Processing buffer {"connection_id":134754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:33:01] local.INFO: IMEI packet received {"connection_id":134754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":134754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:33:02] local.INFO: TCP Data received {"connection_id":134754,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:33:02] local.INFO: Processing buffer {"connection_id":134754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:33:02] local.INFO: IMEI packet received {"connection_id":134754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":134754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:33:06] local.INFO: TCP Data received {"connection_id":134754,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:33:06] local.INFO: Processing buffer {"connection_id":134754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:33:06] local.INFO: IMEI packet received {"connection_id":134754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":134754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:33:07] local.INFO: TCP Data received {"connection_id":134754,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64cae798012d7ea78005adfc60000c00b32d..."} 
[2026-07-15 13:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64cae798012d7ea78005adfc60000c00b32d..."} 
[2026-07-15 13:33:07] local.INFO: Processing buffer {"connection_id":134754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64cae798012d7ea78005adfc60000c00b32d..."} 
[2026-07-15 13:33:07] local.INFO: Packet analysis {"connection_id":134754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64ca"} 
[2026-07-15 13:33:07] local.INFO: Extracted packet for processing {"connection_id":134754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64ca"} 
[2026-07-15 13:33:07] local.INFO: GPS Element Parsed {"raw_longitude":763275136,"raw_latitude":95288416,"longitude_deg":76.3275136,"latitude_deg":9.5288416,"altitude":12,"angle":179,"satellites":45,"speed":21,"hex_longitude":"2d7ea780","hex_latitude":"05adfc60","is_valid_coordinates":true} 
[2026-07-15 13:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730222080001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347104258836922368,"note":"Value kept but may cause issues"} 
[2026-07-15 13:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126615038006669312,"note":"Value kept but may cause issues"} 
[2026-07-15 13:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784102447000,"timestamp_ms":1784102447000,"timestamp_seconds":1784102447,"priority":1,"record_length":96,"hex_timestamp":"0000019f64cae798"} 
[2026-07-15 13:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-15 13:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:33:07] 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-07-15 13:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730222080001,"66":28028,"168":206,"85":14336,"24":21,"16":347104258836922368,"45":9126615038006669312},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-15 13:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730222080001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:33:07] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-15 13:33:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347104258836922368,"km_value":347104258836922.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126615038006669312,"description":"Unknown IO ID 45"} 
[2026-07-15 13:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730222080001,"power":28028,"unknown_168":206,"unknown_85":14336,"ignition":21,"odometer":null,"unknown_45":9126615038006669312}} 
[2026-07-15 13:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":134754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:33:07] local.INFO: GPS data processed {"connection_id":134754,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:33:07] local.INFO: Acknowledgment sent {"connection_id":134754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:33:26] local.INFO: TCP Data received {"connection_id":132356,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132356,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:33:26] local.INFO: Processing buffer {"connection_id":132356,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:33:26] local.INFO: IMEI packet received {"connection_id":132356,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 13:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":132356,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:33:38] local.INFO: TCP Data received {"connection_id":134754,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64cb2a00012d7ea8c005add818000a00af2d..."} 
[2026-07-15 13:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64cb2a00012d7ea8c005add818000a00af2d..."} 
[2026-07-15 13:33:38] local.INFO: Processing buffer {"connection_id":134754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64cb2a00012d7ea8c005add818000a00af2d..."} 
[2026-07-15 13:33:38] local.INFO: Packet analysis {"connection_id":134754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64cb"} 
[2026-07-15 13:33:38] local.INFO: Extracted packet for processing {"connection_id":134754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64cb"} 
[2026-07-15 13:33:38] local.INFO: GPS Element Parsed {"raw_longitude":763275456,"raw_latitude":95279128,"longitude_deg":76.3275456,"latitude_deg":9.5279128,"altitude":10,"angle":175,"satellites":45,"speed":23,"hex_longitude":"2d7ea8c0","hex_latitude":"05add818","is_valid_coordinates":true} 
[2026-07-15 13: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-07-15 13:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730226432001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347104709808488448,"note":"Value kept but may cause issues"} 
[2026-07-15 13:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126403931771789312,"note":"Value kept but may cause issues"} 
[2026-07-15 13:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784102464000,"timestamp_ms":1784102464000,"timestamp_seconds":1784102464,"priority":1,"record_length":96,"hex_timestamp":"0000019f64cb2a00"} 
[2026-07-15 13:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-15 13:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13: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-07-15 13:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:33:38] 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-07-15 13:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730226432001,"66":27876,"168":206,"85":14336,"24":23,"16":347104709808488448,"45":9126403931771789312},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-15 13:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730226432001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:33:38] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-15 13:33:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347104709808488448,"km_value":347104709808488.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126403931771789312,"description":"Unknown IO ID 45"} 
[2026-07-15 13:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730226432001,"power":27876,"unknown_168":206,"unknown_85":14336,"ignition":23,"odometer":null,"unknown_45":9126403931771789312}} 
[2026-07-15 13:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":134754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:33:38] local.INFO: GPS data processed {"connection_id":134754,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:33:38] local.INFO: Acknowledgment sent {"connection_id":134754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:34:01] local.INFO: TCP Data received {"connection_id":132550,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:34:01] local.INFO: Processing buffer {"connection_id":132550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:34:01] local.INFO: IMEI packet received {"connection_id":132550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":132550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:34:06] local.INFO: TCP Data received {"connection_id":132550,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:34:06] local.INFO: Processing buffer {"connection_id":132550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:34:06] local.INFO: IMEI packet received {"connection_id":132550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":132550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:34:07] local.INFO: TCP Data received {"connection_id":132550,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64cb60b0012d7eaa0005adb428000800b02e..."} 
[2026-07-15 13:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64cb60b0012d7eaa0005adb428000800b02e..."} 
[2026-07-15 13:34:07] local.INFO: Processing buffer {"connection_id":132550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64cb60b0012d7eaa0005adb428000800b02e..."} 
[2026-07-15 13:34:07] local.INFO: Packet analysis {"connection_id":132550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64cb"} 
[2026-07-15 13:34:07] local.INFO: Extracted packet for processing {"connection_id":132550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64cb"} 
[2026-07-15 13:34:07] local.INFO: GPS Element Parsed {"raw_longitude":763275776,"raw_latitude":95269928,"longitude_deg":76.3275776,"latitude_deg":9.5269928,"altitude":8,"angle":176,"satellites":46,"speed":27,"hex_longitude":"2d7eaa00","hex_latitude":"05adb428","is_valid_coordinates":true} 
[2026-07-15 13:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730230784001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347105156485087232,"note":"Value kept but may cause issues"} 
[2026-07-15 13:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126755775490299904,"note":"Value kept but may cause issues"} 
[2026-07-15 13:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784102478000,"timestamp_ms":1784102478000,"timestamp_seconds":1784102478,"priority":1,"record_length":96,"hex_timestamp":"0000019f64cb60b0"} 
[2026-07-15 13:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-15 13:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:34:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:34:07] 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-07-15 13:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730230784001,"66":27930,"168":206,"85":14336,"24":27,"16":347105156485087232,"45":9126755775490299904},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-15 13:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730230784001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:34:07] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-15 13:34:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347105156485087232,"km_value":347105156485087.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126755775490299904,"description":"Unknown IO ID 45"} 
[2026-07-15 13:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730230784001,"power":27930,"unknown_168":206,"unknown_85":14336,"ignition":27,"odometer":null,"unknown_45":9126755775490299904}} 
[2026-07-15 13:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":132550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:34:07] local.INFO: GPS data processed {"connection_id":132550,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:34:07] local.INFO: Acknowledgment sent {"connection_id":132550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:34:38] local.INFO: TCP Data received {"connection_id":132550,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64cb9760012d7eaa0005ad90a8000800b32e..."} 
[2026-07-15 13:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64cb9760012d7eaa0005ad90a8000800b32e..."} 
[2026-07-15 13:34:38] local.INFO: Processing buffer {"connection_id":132550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64cb9760012d7eaa0005ad90a8000800b32e..."} 
[2026-07-15 13:34:38] local.INFO: Packet analysis {"connection_id":132550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64cb"} 
[2026-07-15 13:34:38] local.INFO: Extracted packet for processing {"connection_id":132550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64cb"} 
[2026-07-15 13:34:38] local.INFO: GPS Element Parsed {"raw_longitude":763275776,"raw_latitude":95260840,"longitude_deg":76.3275776,"latitude_deg":9.526084,"altitude":8,"angle":179,"satellites":46,"speed":24,"hex_longitude":"2d7eaa00","hex_latitude":"05ad90a8","is_valid_coordinates":true} 
[2026-07-15 13: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-07-15 13:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730234368001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347105598866718720,"note":"Value kept but may cause issues"} 
[2026-07-15 13:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127107619208833024,"note":"Value kept but may cause issues"} 
[2026-07-15 13:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784102492000,"timestamp_ms":1784102492000,"timestamp_seconds":1784102492,"priority":1,"record_length":96,"hex_timestamp":"0000019f64cb9760"} 
[2026-07-15 13:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-15 13:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13: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-07-15 13:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:34:38] 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-07-15 13:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730234368001,"66":27843,"168":206,"85":14336,"24":24,"16":347105598866718720,"45":9127107619208833024},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-15 13:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730234368001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:34:38] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-15 13:34:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347105598866718720,"km_value":347105598866718.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127107619208833024,"description":"Unknown IO ID 45"} 
[2026-07-15 13:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730234368001,"power":27843,"unknown_168":206,"unknown_85":14336,"ignition":24,"odometer":null,"unknown_45":9127107619208833024}} 
[2026-07-15 13:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":132550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:34:38] local.INFO: GPS data processed {"connection_id":132550,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:34:38] local.INFO: Acknowledgment sent {"connection_id":132550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:35:01] local.INFO: TCP Data received {"connection_id":133392,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:35:01] local.INFO: Processing buffer {"connection_id":133392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:35:01] local.INFO: IMEI packet received {"connection_id":133392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":133392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:35:03] local.INFO: TCP Data received {"connection_id":133392,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:35:03] local.INFO: Processing buffer {"connection_id":133392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:35:03] local.INFO: IMEI packet received {"connection_id":133392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":133392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:35:05] local.INFO: TCP Data received {"connection_id":132357,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132357,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:35:05] local.INFO: Processing buffer {"connection_id":132357,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:35:05] local.INFO: IMEI packet received {"connection_id":132357,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 13:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":132357,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:35:06] local.INFO: TCP Data received {"connection_id":133392,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:35:06] local.INFO: Processing buffer {"connection_id":133392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:35:06] local.INFO: IMEI packet received {"connection_id":133392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":133392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:35:07] local.INFO: TCP Data received {"connection_id":133392,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64cbd5e0012d7ead0005ad6d88000800b42e..."} 
[2026-07-15 13:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64cbd5e0012d7ead0005ad6d88000800b42e..."} 
[2026-07-15 13:35:07] local.INFO: Processing buffer {"connection_id":133392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64cbd5e0012d7ead0005ad6d88000800b42e..."} 
[2026-07-15 13:35:07] local.INFO: Packet analysis {"connection_id":133392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64cb"} 
[2026-07-15 13:35:07] local.INFO: Extracted packet for processing {"connection_id":133392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64cb"} 
[2026-07-15 13:35:07] local.INFO: GPS Element Parsed {"raw_longitude":763276544,"raw_latitude":95251848,"longitude_deg":76.3276544,"latitude_deg":9.5251848,"altitude":8,"angle":180,"satellites":46,"speed":20,"hex_longitude":"2d7ead00","hex_latitude":"05ad6d88","is_valid_coordinates":true} 
[2026-07-15 13:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730237952001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347106036953382912,"note":"Value kept but may cause issues"} 
[2026-07-15 13:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127107619206506496,"note":"Value kept but may cause issues"} 
[2026-07-15 13:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784102508000,"timestamp_ms":1784102508000,"timestamp_seconds":1784102508,"priority":1,"record_length":96,"hex_timestamp":"0000019f64cbd5e0"} 
[2026-07-15 13:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-15 13:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:35:07] 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-07-15 13:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730237952001,"66":27843,"168":206,"85":14336,"24":20,"16":347106036953382912,"45":9127107619206506496},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-15 13:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730237952001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:35:07] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-15 13:35:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347106036953382912,"km_value":347106036953382.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127107619206506496,"description":"Unknown IO ID 45"} 
[2026-07-15 13:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730237952001,"power":27843,"unknown_168":206,"unknown_85":14336,"ignition":20,"odometer":null,"unknown_45":9127107619206506496}} 
[2026-07-15 13:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":133392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:35:07] local.INFO: GPS data processed {"connection_id":133392,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:35:07] local.INFO: Acknowledgment sent {"connection_id":133392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:35:34] local.INFO: TCP Data received {"connection_id":132359,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132359,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:35:34] local.INFO: Processing buffer {"connection_id":132359,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:35:34] local.INFO: IMEI packet received {"connection_id":132359,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 13:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":132359,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:35:38] local.INFO: TCP Data received {"connection_id":133392,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64cc1848012d7eae8005ad4a80000800b02e..."} 
[2026-07-15 13:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64cc1848012d7eae8005ad4a80000800b02e..."} 
[2026-07-15 13:35:38] local.INFO: Processing buffer {"connection_id":133392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64cc1848012d7eae8005ad4a80000800b02e..."} 
[2026-07-15 13:35:38] local.INFO: Packet analysis {"connection_id":133392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64cc"} 
[2026-07-15 13:35:38] local.INFO: Extracted packet for processing {"connection_id":133392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64cc"} 
[2026-07-15 13:35:38] local.INFO: GPS Element Parsed {"raw_longitude":763276928,"raw_latitude":95242880,"longitude_deg":76.3276928,"latitude_deg":9.524288,"altitude":8,"angle":176,"satellites":46,"speed":20,"hex_longitude":"2d7eae80","hex_latitude":"05ad4a80","is_valid_coordinates":true} 
[2026-07-15 13:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730242048001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347106475040047104,"note":"Value kept but may cause issues"} 
[2026-07-15 13:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127952044134336512,"note":"Value kept but may cause issues"} 
[2026-07-15 13:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784102525000,"timestamp_ms":1784102525000,"timestamp_seconds":1784102525,"priority":1,"record_length":96,"hex_timestamp":"0000019f64cc1848"} 
[2026-07-15 13:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-15 13:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:35:38] 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-07-15 13:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730242048001,"66":27843,"168":206,"85":14336,"24":20,"16":347106475040047104,"45":9127952044134336512},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-15 13:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730242048001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:35:38] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-15 13:35:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347106475040047104,"km_value":347106475040047.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127952044134336512,"description":"Unknown IO ID 45"} 
[2026-07-15 13:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730242048001,"power":27843,"unknown_168":206,"unknown_85":14336,"ignition":20,"odometer":null,"unknown_45":9127952044134336512}} 
[2026-07-15 13:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":133392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:35:38] local.INFO: GPS data processed {"connection_id":133392,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:35:38] local.INFO: Acknowledgment sent {"connection_id":133392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:36:01] local.INFO: TCP Data received {"connection_id":132360,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:36:01] local.INFO: Processing buffer {"connection_id":132360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:36:01] local.INFO: IMEI packet received {"connection_id":132360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":132360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:36:06] local.INFO: TCP Data received {"connection_id":132360,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:36:06] local.INFO: Processing buffer {"connection_id":132360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:36:06] local.INFO: IMEI packet received {"connection_id":132360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":132360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:36:07] local.INFO: TCP Data received {"connection_id":132360,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64cee320012d7eb4c005abd830000700c42e..."} 
[2026-07-15 13:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64cee320012d7eb4c005abd830000700c42e..."} 
[2026-07-15 13:36:07] local.INFO: Processing buffer {"connection_id":132360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64cee320012d7eb4c005abd830000700c42e..."} 
[2026-07-15 13:36:07] local.INFO: Packet analysis {"connection_id":132360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64ce"} 
[2026-07-15 13:36:07] local.INFO: Extracted packet for processing {"connection_id":132360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64ce"} 
[2026-07-15 13:36:07] local.INFO: GPS Element Parsed {"raw_longitude":763278528,"raw_latitude":95148080,"longitude_deg":76.3278528,"latitude_deg":9.514808,"altitude":7,"angle":196,"satellites":46,"speed":21,"hex_longitude":"2d7eb4c0","hex_latitude":"05abd830","is_valid_coordinates":true} 
[2026-07-15 13:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730290944001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347111083539955712,"note":"Value kept but may cause issues"} 
[2026-07-15 13:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130414950155202560,"note":"Value kept but may cause issues"} 
[2026-07-15 13:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784102708000,"timestamp_ms":1784102708000,"timestamp_seconds":1784102708,"priority":1,"record_length":96,"hex_timestamp":"0000019f64cee320"} 
[2026-07-15 13:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-15 13:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:36:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:36:07] 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-07-15 13:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730290944001,"66":27800,"41":206,"85":14336,"24":21,"16":347111083539955712,"45":9130414950155202560},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,85,24,16,45]} 
[2026-07-15 13:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730290944001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:36:07] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-07-15 13:36:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347111083539955712,"km_value":347111083539955.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130414950155202560,"description":"Unknown IO ID 45"} 
[2026-07-15 13:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730290944001,"power":27800,"unknown_41":206,"unknown_85":14336,"ignition":21,"odometer":null,"unknown_45":9130414950155202560}} 
[2026-07-15 13:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":132360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:36:07] local.INFO: GPS data processed {"connection_id":132360,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:36:07] local.INFO: Acknowledgment sent {"connection_id":132360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:36:38] local.INFO: TCP Data received {"connection_id":132360,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64ceeaf0012d7eb34005abd468000700d02d..."} 
[2026-07-15 13:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64ceeaf0012d7eb34005abd468000700d02d..."} 
[2026-07-15 13:36:38] local.INFO: Processing buffer {"connection_id":132360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64ceeaf0012d7eb34005abd468000700d02d..."} 
[2026-07-15 13:36:38] local.INFO: Packet analysis {"connection_id":132360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64ce"} 
[2026-07-15 13:36:38] local.INFO: Extracted packet for processing {"connection_id":132360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64ce"} 
[2026-07-15 13:36:38] local.INFO: GPS Element Parsed {"raw_longitude":763278144,"raw_latitude":95147112,"longitude_deg":76.3278144,"latitude_deg":9.5147112,"altitude":7,"angle":208,"satellites":45,"speed":20,"hex_longitude":"2d7eb340","hex_latitude":"05abd468","is_valid_coordinates":true} 
[2026-07-15 13:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730293248001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347111135079563264,"note":"Value kept but may cause issues"} 
[2026-07-15 13:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130133475177279488,"note":"Value kept but may cause issues"} 
[2026-07-15 13:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784102710000,"timestamp_ms":1784102710000,"timestamp_seconds":1784102710,"priority":1,"record_length":96,"hex_timestamp":"0000019f64ceeaf0"} 
[2026-07-15 13:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 13:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:36:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:36:38] 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-07-15 13:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730293248001,"66":27865,"41":206,"85":14336,"24":20,"16":347111135079563264,"45":9130133475177279488},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,85,24,16,45]} 
[2026-07-15 13:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730293248001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:36:38] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-07-15 13:36:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347111135079563264,"km_value":347111135079563.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130133475177279488,"description":"Unknown IO ID 45"} 
[2026-07-15 13:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730293248001,"power":27865,"unknown_41":206,"unknown_85":14336,"ignition":20,"odometer":null,"unknown_45":9130133475177279488}} 
[2026-07-15 13:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":132360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:36:38] local.INFO: GPS data processed {"connection_id":132360,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:36:38] local.INFO: Acknowledgment sent {"connection_id":132360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:37:06] local.INFO: TCP Data received {"connection_id":134755,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:37:06] local.INFO: Processing buffer {"connection_id":134755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:37:06] local.INFO: IMEI packet received {"connection_id":134755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":134755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:37:06] local.INFO: TCP Data received {"connection_id":134755,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:37:06] local.INFO: Processing buffer {"connection_id":134755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:37:06] local.INFO: IMEI packet received {"connection_id":134755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":134755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:37:11] local.INFO: TCP Data received {"connection_id":134755,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:37:11] local.INFO: Processing buffer {"connection_id":134755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:37:11] local.INFO: IMEI packet received {"connection_id":134755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":134755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:37:12] local.INFO: TCP Data received {"connection_id":134755,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64cef2c0012d7eb08005abd120000700df2e..."} 
[2026-07-15 13:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64cef2c0012d7eb08005abd120000700df2e..."} 
[2026-07-15 13:37:12] local.INFO: Processing buffer {"connection_id":134755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64cef2c0012d7eb08005abd120000700df2e..."} 
[2026-07-15 13:37:12] local.INFO: Packet analysis {"connection_id":134755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64ce"} 
[2026-07-15 13:37:12] local.INFO: Extracted packet for processing {"connection_id":134755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64ce"} 
[2026-07-15 13:37:12] local.INFO: GPS Element Parsed {"raw_longitude":763277440,"raw_latitude":95146272,"longitude_deg":76.327744,"latitude_deg":9.5146272,"altitude":7,"angle":223,"satellites":46,"speed":20,"hex_longitude":"2d7eb080","hex_latitude":"05abd120","is_valid_coordinates":true} 
[2026-07-15 13: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-07-15 13:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730293760001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347111186619170816,"note":"Value kept but may cause issues"} 
[2026-07-15 13:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129711262711965696,"note":"Value kept but may cause issues"} 
[2026-07-15 13:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784102712000,"timestamp_ms":1784102712000,"timestamp_seconds":1784102712,"priority":1,"record_length":96,"hex_timestamp":"0000019f64cef2c0"} 
[2026-07-15 13:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-15 13:37:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13: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-07-15 13:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":134755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":134755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":134755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:37:12] 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-07-15 13:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730293760001,"66":27789,"41":206,"85":14336,"24":20,"16":347111186619170816,"45":9129711262711965696},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,85,24,16,45]} 
[2026-07-15 13:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730293760001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:37:12] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-07-15 13:37:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347111186619170816,"km_value":347111186619170.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129711262711965696,"description":"Unknown IO ID 45"} 
[2026-07-15 13:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730293760001,"power":27789,"unknown_41":206,"unknown_85":14336,"ignition":20,"odometer":null,"unknown_45":9129711262711965696}} 
[2026-07-15 13:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":134755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:37:12] local.INFO: GPS data processed {"connection_id":134755,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:37:12] local.INFO: Acknowledgment sent {"connection_id":134755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:37:16] local.INFO: TCP Data received {"connection_id":134755,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64cefe78012d7eac8005abcca8000700d32e..."} 
[2026-07-15 13:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64cefe78012d7eac8005abcca8000700d32e..."} 
[2026-07-15 13:37:16] local.INFO: Processing buffer {"connection_id":134755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64cefe78012d7eac8005abcca8000700d32e..."} 
[2026-07-15 13:37:16] local.INFO: Packet analysis {"connection_id":134755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64ce"} 
[2026-07-15 13:37:16] local.INFO: Extracted packet for processing {"connection_id":134755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64ce"} 
[2026-07-15 13:37:16] local.INFO: GPS Element Parsed {"raw_longitude":763276416,"raw_latitude":95145128,"longitude_deg":76.3276416,"latitude_deg":9.5145128,"altitude":7,"angle":211,"satellites":46,"speed":19,"hex_longitude":"2d7eac80","hex_latitude":"05abcca8","is_valid_coordinates":true} 
[2026-07-15 13: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-07-15 13:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730294272001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347111259633614848,"note":"Value kept but may cause issues"} 
[2026-07-15 13:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128937206525796352,"note":"Value kept but may cause issues"} 
[2026-07-15 13:37:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784102715000,"timestamp_ms":1784102715000,"timestamp_seconds":1784102715,"priority":1,"record_length":96,"hex_timestamp":"0000019f64cefe78"} 
[2026-07-15 13:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:37:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-15 13:37:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13: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-07-15 13:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":134755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":134755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":134755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:37:16] 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-07-15 13:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730294272001,"66":27930,"41":206,"85":14336,"24":19,"16":347111259633614848,"45":9128937206525796352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,85,24,16,45]} 
[2026-07-15 13:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730294272001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:37:16] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-07-15 13:37:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347111259633614848,"km_value":347111259633614.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128937206525796352,"description":"Unknown IO ID 45"} 
[2026-07-15 13:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730294272001,"power":27930,"unknown_41":206,"unknown_85":14336,"ignition":19,"odometer":null,"unknown_45":9128937206525796352}} 
[2026-07-15 13:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":134755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:37:16] local.INFO: GPS data processed {"connection_id":134755,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:37:16] local.INFO: Acknowledgment sent {"connection_id":134755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:38:01] local.INFO: TCP Data received {"connection_id":132551,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:38:01] local.INFO: Processing buffer {"connection_id":132551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:38:01] local.INFO: IMEI packet received {"connection_id":132551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":132551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:38:06] local.INFO: TCP Data received {"connection_id":132551,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:38:06] local.INFO: Processing buffer {"connection_id":132551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:38:06] local.INFO: IMEI packet received {"connection_id":132551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":132551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:38:08] local.INFO: TCP Data received {"connection_id":132551,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64cf0648012d7eaac005abc8c8000700c52e..."} 
[2026-07-15 13:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64cf0648012d7eaac005abc8c8000700c52e..."} 
[2026-07-15 13:38:08] local.INFO: Processing buffer {"connection_id":132551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64cf0648012d7eaac005abc8c8000700c52e..."} 
[2026-07-15 13:38:08] local.INFO: Packet analysis {"connection_id":132551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64cf"} 
[2026-07-15 13:38:08] local.INFO: Extracted packet for processing {"connection_id":132551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64cf"} 
[2026-07-15 13:38:08] local.INFO: GPS Element Parsed {"raw_longitude":763275968,"raw_latitude":95144136,"longitude_deg":76.3275968,"latitude_deg":9.5144136,"altitude":7,"angle":197,"satellites":46,"speed":21,"hex_longitude":"2d7eaac0","hex_latitude":"05abc8c8","is_valid_coordinates":true} 
[2026-07-15 13:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730295040001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347111311173222400,"note":"Value kept but may cause issues"} 
[2026-07-15 13:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127811306618660864,"note":"Value kept but may cause issues"} 
[2026-07-15 13:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784102717000,"timestamp_ms":1784102717000,"timestamp_seconds":1784102717,"priority":1,"record_length":96,"hex_timestamp":"0000019f64cf0648"} 
[2026-07-15 13:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-15 13:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:38:08] 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-07-15 13:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730295040001,"66":27865,"41":206,"85":14336,"24":21,"16":347111311173222400,"45":9127811306618660864},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,85,24,16,45]} 
[2026-07-15 13:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730295040001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:38:08] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-07-15 13:38:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347111311173222400,"km_value":347111311173222.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127811306618660864,"description":"Unknown IO ID 45"} 
[2026-07-15 13:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730295040001,"power":27865,"unknown_41":206,"unknown_85":14336,"ignition":21,"odometer":null,"unknown_45":9127811306618660864}} 
[2026-07-15 13:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":132551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:38:08] local.INFO: GPS data processed {"connection_id":132551,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:38:08] local.INFO: Acknowledgment sent {"connection_id":132551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:38:11] local.INFO: TCP Data received {"connection_id":132551,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64cf4c98012d7e9fc005aba770000800ca2e..."} 
[2026-07-15 13:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64cf4c98012d7e9fc005aba770000800ca2e..."} 
[2026-07-15 13:38:11] local.INFO: Processing buffer {"connection_id":132551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64cf4c98012d7e9fc005aba770000800ca2e..."} 
[2026-07-15 13:38:11] local.INFO: Packet analysis {"connection_id":132551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64cf"} 
[2026-07-15 13:38:11] local.INFO: Extracted packet for processing {"connection_id":132551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64cf"} 
[2026-07-15 13:38:11] local.INFO: GPS Element Parsed {"raw_longitude":763273152,"raw_latitude":95135600,"longitude_deg":76.3273152,"latitude_deg":9.51356,"altitude":8,"angle":202,"satellites":46,"speed":11,"hex_longitude":"2d7e9fc0","hex_latitude":"05aba770","is_valid_coordinates":true} 
[2026-07-15 13:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730295552001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347111749259886592,"note":"Value kept but may cause issues"} 
[2026-07-15 13:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127318725409163264,"note":"Value kept but may cause issues"} 
[2026-07-15 13:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784102735000,"timestamp_ms":1784102735000,"timestamp_seconds":1784102735,"priority":1,"record_length":96,"hex_timestamp":"0000019f64cf4c98"} 
[2026-07-15 13:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-15 13:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:38:11] 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-07-15 13:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730295552001,"66":27745,"41":206,"85":14336,"24":11,"16":347111749259886592,"45":9127318725409163264},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,85,24,16,45]} 
[2026-07-15 13:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730295552001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:38:11] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-07-15 13:38:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347111749259886592,"km_value":347111749259886.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127318725409163264,"description":"Unknown IO ID 45"} 
[2026-07-15 13:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730295552001,"power":27745,"unknown_41":206,"unknown_85":14336,"ignition":11,"odometer":null,"unknown_45":9127318725409163264}} 
[2026-07-15 13:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":132551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:38:11] local.INFO: GPS data processed {"connection_id":132551,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:38:11] local.INFO: Acknowledgment sent {"connection_id":132551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:38:34] local.INFO: TCP Data received {"connection_id":133395,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133395,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:38:34] local.INFO: Processing buffer {"connection_id":133395,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:38:34] local.INFO: IMEI packet received {"connection_id":133395,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 13:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":133395,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:38:35] local.INFO: TCP Data received {"connection_id":133395,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64d18300012d78478005cfc8580004011a18..."} 
[2026-07-15 13:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64d18300012d78478005cfc8580004011a18..."} 
[2026-07-15 13:38:35] local.INFO: Processing buffer {"connection_id":133395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64d18300012d78478005cfc8580004011a18..."} 
[2026-07-15 13:38:35] local.INFO: Packet analysis {"connection_id":133395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64d1"} 
[2026-07-15 13:38:35] local.INFO: Extracted packet for processing {"connection_id":133395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64d1"} 
[2026-07-15 13:38:35] local.INFO: GPS Element Parsed {"raw_longitude":762857344,"raw_latitude":97503320,"longitude_deg":76.2857344,"latitude_deg":9.750332,"altitude":4,"angle":282,"satellites":24,"speed":4,"hex_longitude":"2d784780","hex_latitude":"05cfc858","is_valid_coordinates":true} 
[2026-07-15 13:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730332160001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106443871008849920,"note":"Value kept but may cause issues"} 
[2026-07-15 13:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8674706963461926912,"note":"Value kept but may cause issues"} 
[2026-07-15 13:38:35] 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-07-15 13:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784102880000,"timestamp_ms":1784102880000,"timestamp_seconds":1784102880,"priority":1,"record_length":96,"hex_timestamp":"0000019f64d18300"} 
[2026-07-15 13:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-15 13:38:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:38:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":133395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":133395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":133395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730332160001,"66":13135,"34":206,"85":15104,"24":4,"16":106443871008849920,"45":8674706963461926912},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,45]} 
[2026-07-15 13:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730332160001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:38:35] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-15 13:38:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106443871008849920,"km_value":106443871008849.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8674706963461926912,"description":"Unknown IO ID 45"} 
[2026-07-15 13:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730332160001,"power":13135,"unknown_34":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8674706963461926912}} 
[2026-07-15 13:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":133395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491020,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:38:35] local.INFO: GPS data processed {"connection_id":133395,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:38:35] local.INFO: Acknowledgment sent {"connection_id":133395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:38:42] local.INFO: TCP Data received {"connection_id":132551,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64cf9ea0012d7e94c005ab8e48000900cc2e..."} 
[2026-07-15 13:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64cf9ea0012d7e94c005ab8e48000900cc2e..."} 
[2026-07-15 13:38:42] local.INFO: Processing buffer {"connection_id":132551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64cf9ea0012d7e94c005ab8e48000900cc2e..."} 
[2026-07-15 13:38:42] local.INFO: Packet analysis {"connection_id":132551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64cf"} 
[2026-07-15 13:38:42] local.INFO: Extracted packet for processing {"connection_id":132551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64cf"} 
[2026-07-15 13:38:42] local.INFO: GPS Element Parsed {"raw_longitude":763270336,"raw_latitude":95129160,"longitude_deg":76.3270336,"latitude_deg":9.512916,"altitude":9,"angle":204,"satellites":46,"speed":20,"hex_longitude":"2d7e94c0","hex_latitude":"05ab8e48","is_valid_coordinates":true} 
[2026-07-15 13: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-07-15 13:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730300160001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347112092857270272,"note":"Value kept but may cause issues"} 
[2026-07-15 13:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124222500663160832,"note":"Value kept but may cause issues"} 
[2026-07-15 13:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784102756000,"timestamp_ms":1784102756000,"timestamp_seconds":1784102756,"priority":1,"record_length":96,"hex_timestamp":"0000019f64cf9ea0"} 
[2026-07-15 13:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-15 13:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13: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-07-15 13:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:38:42] 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-07-15 13:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730300160001,"66":27876,"41":206,"85":14336,"24":20,"16":347112092857270272,"45":9124222500663160832},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,85,24,16,45]} 
[2026-07-15 13:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730300160001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:38:42] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-07-15 13:38:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347112092857270272,"km_value":347112092857270.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124222500663160832,"description":"Unknown IO ID 45"} 
[2026-07-15 13:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730300160001,"power":27876,"unknown_41":206,"unknown_85":14336,"ignition":20,"odometer":null,"unknown_45":9124222500663160832}} 
[2026-07-15 13:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":132551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:38:42] local.INFO: GPS data processed {"connection_id":132551,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:38:42] local.INFO: Acknowledgment sent {"connection_id":132551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:38:59] local.INFO: TCP Data received {"connection_id":132553,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132553,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:38:59] local.INFO: Processing buffer {"connection_id":132553,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:38:59] local.INFO: IMEI packet received {"connection_id":132553,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 13:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":132553,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:39:01] local.INFO: TCP Data received {"connection_id":132552,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:39:01] local.INFO: Processing buffer {"connection_id":132552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:39:01] local.INFO: IMEI packet received {"connection_id":132552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":132552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:39:03] local.INFO: TCP Data received {"connection_id":132552,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:39:03] local.INFO: Processing buffer {"connection_id":132552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:39:03] local.INFO: IMEI packet received {"connection_id":132552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":132552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:39:04] local.INFO: TCP Data received {"connection_id":132553,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132553,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:39:04] local.INFO: Processing buffer {"connection_id":132553,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:39:04] local.INFO: IMEI packet received {"connection_id":132553,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 13:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":132553,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:39:05] local.INFO: TCP Data received {"connection_id":132553,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64d19688012d78428005cfca100004012617..."} 
[2026-07-15 13:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64d19688012d78428005cfca100004012617..."} 
[2026-07-15 13:39:05] local.INFO: Processing buffer {"connection_id":132553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64d19688012d78428005cfca100004012617..."} 
[2026-07-15 13:39:05] local.INFO: Packet analysis {"connection_id":132553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64d1"} 
[2026-07-15 13:39:05] local.INFO: Extracted packet for processing {"connection_id":132553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64d1"} 
[2026-07-15 13:39:05] local.INFO: GPS Element Parsed {"raw_longitude":762856064,"raw_latitude":97503760,"longitude_deg":76.2856064,"latitude_deg":9.750376,"altitude":4,"angle":294,"satellites":23,"speed":18,"hex_longitude":"2d784280","hex_latitude":"05cfca10","is_valid_coordinates":true} 
[2026-07-15 13:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730337280001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106443939728326656,"note":"Value kept but may cause issues"} 
[2026-07-15 13:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8667036770347014144,"note":"Value kept but may cause issues"} 
[2026-07-15 13:39:05] 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-07-15 13:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784102885000,"timestamp_ms":1784102885000,"timestamp_seconds":1784102885,"priority":1,"record_length":96,"hex_timestamp":"0000019f64d19688"} 
[2026-07-15 13:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-15 13:39:05] 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-07-15 13:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730337280001,"66":13135,"34":206,"85":15104,"24":18,"16":106443939728326656,"45":8667036770347014144},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,45]} 
[2026-07-15 13:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730337280001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:39:05] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-15 13:39:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106443939728326656,"km_value":106443939728326.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8667036770347014144,"description":"Unknown IO ID 45"} 
[2026-07-15 13:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730337280001,"power":13135,"unknown_34":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8667036770347014144}} 
[2026-07-15 13:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":132553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491022,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:39:05] local.INFO: GPS data processed {"connection_id":132553,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:39:05] local.INFO: Acknowledgment sent {"connection_id":132553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:39:09] local.INFO: TCP Data received {"connection_id":132552,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64cfe108012d7e828005ab6f68000800d82e..."} 
[2026-07-15 13:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64cfe108012d7e828005ab6f68000800d82e..."} 
[2026-07-15 13:39:09] local.INFO: Processing buffer {"connection_id":132552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64cfe108012d7e828005ab6f68000800d82e..."} 
[2026-07-15 13:39:09] local.INFO: Packet analysis {"connection_id":132552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64cf"} 
[2026-07-15 13:39:09] local.INFO: Extracted packet for processing {"connection_id":132552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64cf"} 
[2026-07-15 13:39:09] local.INFO: GPS Element Parsed {"raw_longitude":763265664,"raw_latitude":95121256,"longitude_deg":76.3265664,"latitude_deg":9.5121256,"altitude":8,"angle":216,"satellites":46,"speed":20,"hex_longitude":"2d7e8280","hex_latitude":"05ab6f68","is_valid_coordinates":true} 
[2026-07-15 13:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730305536001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347112535238901760,"note":"Value kept but may cause issues"} 
[2026-07-15 13:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9121126275917694976,"note":"Value kept but may cause issues"} 
[2026-07-15 13:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784102773000,"timestamp_ms":1784102773000,"timestamp_seconds":1784102773,"priority":1,"record_length":96,"hex_timestamp":"0000019f64cfe108"} 
[2026-07-15 13:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-15 13:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":132552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":132552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":132552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730305536001,"66":27745,"41":206,"85":14336,"24":20,"16":347112535238901760,"45":9121126275917694976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,85,24,16,45]} 
[2026-07-15 13:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730305536001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:39:09] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-07-15 13:39:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347112535238901760,"km_value":347112535238901.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9121126275917694976,"description":"Unknown IO ID 45"} 
[2026-07-15 13:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730305536001,"power":27745,"unknown_41":206,"unknown_85":14336,"ignition":20,"odometer":null,"unknown_45":9121126275917694976}} 
[2026-07-15 13:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":132552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:39:09] local.INFO: GPS data processed {"connection_id":132552,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:39:09] local.INFO: Acknowledgment sent {"connection_id":132552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:39:36] local.INFO: TCP Data received {"connection_id":132553,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64d1bd98012d78344005cfd2180003011419..."} 
[2026-07-15 13:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64d1bd98012d78344005cfd2180003011419..."} 
[2026-07-15 13:39:36] local.INFO: Processing buffer {"connection_id":132553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64d1bd98012d78344005cfd2180003011419..."} 
[2026-07-15 13:39:36] local.INFO: Packet analysis {"connection_id":132553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64d1"} 
[2026-07-15 13:39:36] local.INFO: Extracted packet for processing {"connection_id":132553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64d1"} 
[2026-07-15 13:39:36] local.INFO: GPS Element Parsed {"raw_longitude":762852416,"raw_latitude":97505816,"longitude_deg":76.2852416,"latitude_deg":9.7505816,"altitude":3,"angle":276,"satellites":25,"speed":9,"hex_longitude":"2d783440","hex_latitude":"05cfd218","is_valid_coordinates":true} 
[2026-07-15 13:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730338560001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106444141591789568,"note":"Value kept but may cause issues"} 
[2026-07-15 13:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8665629395463573504,"note":"Value kept but may cause issues"} 
[2026-07-15 13:39:36] 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-07-15 13:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784102895000,"timestamp_ms":1784102895000,"timestamp_seconds":1784102895,"priority":1,"record_length":96,"hex_timestamp":"0000019f64d1bd98"} 
[2026-07-15 13:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-15 13:39:36] 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-07-15 13:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730338560001,"66":13189,"34":206,"85":15104,"24":9,"16":106444141591789568,"45":8665629395463573504},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,45]} 
[2026-07-15 13:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730338560001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:39:36] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-15 13:39:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106444141591789568,"km_value":106444141591789.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8665629395463573504,"description":"Unknown IO ID 45"} 
[2026-07-15 13:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730338560001,"power":13189,"unknown_34":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8665629395463573504}} 
[2026-07-15 13:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":132553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491024,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:39:36] local.INFO: GPS data processed {"connection_id":132553,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:39:36] local.INFO: Acknowledgment sent {"connection_id":132553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:39:40] local.INFO: TCP Data received {"connection_id":132552,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64cfe108012d7e828005ab6f68000800d82e..."} 
[2026-07-15 13:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64cfe108012d7e828005ab6f68000800d82e..."} 
[2026-07-15 13:39:40] local.INFO: Processing buffer {"connection_id":132552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64cfe108012d7e828005ab6f68000800d82e..."} 
[2026-07-15 13:39:40] local.INFO: Packet analysis {"connection_id":132552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64cf"} 
[2026-07-15 13:39:40] local.INFO: Extracted packet for processing {"connection_id":132552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64cf"} 
[2026-07-15 13:39:40] local.INFO: GPS Element Parsed {"raw_longitude":763265664,"raw_latitude":95121256,"longitude_deg":76.3265664,"latitude_deg":9.5121256,"altitude":8,"angle":216,"satellites":46,"speed":20,"hex_longitude":"2d7e8280","hex_latitude":"05ab6f68","is_valid_coordinates":true} 
[2026-07-15 13:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730309888001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347112535238901760,"note":"Value kept but may cause issues"} 
[2026-07-15 13:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9115989357590702080,"note":"Value kept but may cause issues"} 
[2026-07-15 13:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784102773000,"timestamp_ms":1784102773000,"timestamp_seconds":1784102773,"priority":1,"record_length":96,"hex_timestamp":"0000019f64cfe108"} 
[2026-07-15 13:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-15 13:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:39:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:39:40] 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-07-15 13:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730309888001,"66":27745,"41":206,"85":14336,"24":20,"16":347112535238901760,"45":9115989357590702080},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,85,24,16,45]} 
[2026-07-15 13:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730309888001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:39:40] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-07-15 13:39:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347112535238901760,"km_value":347112535238901.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9115989357590702080,"description":"Unknown IO ID 45"} 
[2026-07-15 13:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730309888001,"power":27745,"unknown_41":206,"unknown_85":14336,"ignition":20,"odometer":null,"unknown_45":9115989357590702080}} 
[2026-07-15 13:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":132552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:39:40] local.INFO: GPS data processed {"connection_id":132552,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:39:40] local.INFO: Acknowledgment sent {"connection_id":132552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:39:59] local.INFO: TCP Data received {"connection_id":132363,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132363,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:39:59] local.INFO: Processing buffer {"connection_id":132363,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:39:59] local.INFO: IMEI packet received {"connection_id":132363,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 13:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":132363,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:40:01] local.INFO: TCP Data received {"connection_id":134757,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:40:01] local.INFO: Processing buffer {"connection_id":134757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:40:01] local.INFO: IMEI packet received {"connection_id":134757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":134757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:40:04] local.INFO: TCP Data received {"connection_id":132363,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132363,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:40:04] local.INFO: Processing buffer {"connection_id":132363,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:40:04] local.INFO: IMEI packet received {"connection_id":132363,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 13:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":132363,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:40:05] local.INFO: TCP Data received {"connection_id":132363,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64d1dcd8012d78294005cfd3a00002012118..."} 
[2026-07-15 13:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64d1dcd8012d78294005cfd3a00002012118..."} 
[2026-07-15 13:40:05] local.INFO: Processing buffer {"connection_id":132363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64d1dcd8012d78294005cfd3a00002012118..."} 
[2026-07-15 13:40:05] local.INFO: Packet analysis {"connection_id":132363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64d1"} 
[2026-07-15 13:40:05] local.INFO: Extracted packet for processing {"connection_id":132363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64d1"} 
[2026-07-15 13:40:05] local.INFO: GPS Element Parsed {"raw_longitude":762849600,"raw_latitude":97506208,"longitude_deg":76.28496,"latitude_deg":9.7506208,"altitude":2,"angle":289,"satellites":24,"speed":11,"hex_longitude":"2d782940","hex_latitude":"05cfd3a0","is_valid_coordinates":true} 
[2026-07-15 13:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730341120001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106444279030743040,"note":"Value kept but may cause issues"} 
[2026-07-15 13:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8661618377045972992,"note":"Value kept but may cause issues"} 
[2026-07-15 13:40:05] 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-07-15 13:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784102903000,"timestamp_ms":1784102903000,"timestamp_seconds":1784102903,"priority":1,"record_length":96,"hex_timestamp":"0000019f64d1dcd8"} 
[2026-07-15 13:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-15 13:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730341120001,"66":12385,"34":206,"85":15104,"24":11,"16":106444279030743040,"45":8661618377045972992},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,45]} 
[2026-07-15 13:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730341120001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:40:05] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-15 13:40:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106444279030743040,"km_value":106444279030743.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8661618377045972992,"description":"Unknown IO ID 45"} 
[2026-07-15 13:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730341120001,"power":12385,"unknown_34":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8661618377045972992}} 
[2026-07-15 13:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":132363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491026,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:40:05] local.INFO: GPS data processed {"connection_id":132363,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:40:05] local.INFO: Acknowledgment sent {"connection_id":132363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:40:06] local.INFO: TCP Data received {"connection_id":134757,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:40:06] local.INFO: Processing buffer {"connection_id":134757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:40:06] local.INFO: IMEI packet received {"connection_id":134757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":134757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:40:07] local.INFO: TCP Data received {"connection_id":134757,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64d01ba0012d7e6f4005ab56c8000900c92e..."} 
[2026-07-15 13:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64d01ba0012d7e6f4005ab56c8000900c92e..."} 
[2026-07-15 13:40:07] local.INFO: Processing buffer {"connection_id":134757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64d01ba0012d7e6f4005ab56c8000900c92e..."} 
[2026-07-15 13:40:07] local.INFO: Packet analysis {"connection_id":134757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64d0"} 
[2026-07-15 13:40:07] local.INFO: Extracted packet for processing {"connection_id":134757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64d0"} 
[2026-07-15 13:40:07] local.INFO: GPS Element Parsed {"raw_longitude":763260736,"raw_latitude":95114952,"longitude_deg":76.3260736,"latitude_deg":9.5114952,"altitude":9,"angle":201,"satellites":46,"speed":21,"hex_longitude":"2d7e6f40","hex_latitude":"05ab56c8","is_valid_coordinates":true} 
[2026-07-15 13:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730309888001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347112926080925696,"note":"Value kept but may cause issues"} 
[2026-07-15 13:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9115989357590702080,"note":"Value kept but may cause issues"} 
[2026-07-15 13:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784102788000,"timestamp_ms":1784102788000,"timestamp_seconds":1784102788,"priority":1,"record_length":96,"hex_timestamp":"0000019f64d01ba0"} 
[2026-07-15 13:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-15 13:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:40:07] 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-07-15 13:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730309888001,"66":27767,"184":206,"85":14336,"24":21,"16":347112926080925696,"45":9115989357590702080},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,45]} 
[2026-07-15 13:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730309888001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:40:07] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-15 13:40:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347112926080925696,"km_value":347112926080925.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9115989357590702080,"description":"Unknown IO ID 45"} 
[2026-07-15 13:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730309888001,"power":27767,"unknown_184":206,"unknown_85":14336,"ignition":21,"odometer":null,"unknown_45":9115989357590702080}} 
[2026-07-15 13:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":134757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:40:07] local.INFO: GPS data processed {"connection_id":134757,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:40:07] local.INFO: Acknowledgment sent {"connection_id":134757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:40:36] local.INFO: TCP Data received {"connection_id":132363,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64d1ec78012d78260005cfd4d00002012e17..."} 
[2026-07-15 13:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64d1ec78012d78260005cfd4d00002012e17..."} 
[2026-07-15 13:40:36] local.INFO: Processing buffer {"connection_id":132363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64d1ec78012d78260005cfd4d00002012e17..."} 
[2026-07-15 13:40:36] local.INFO: Packet analysis {"connection_id":132363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64d1"} 
[2026-07-15 13:40:36] local.INFO: Extracted packet for processing {"connection_id":132363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64d1"} 
[2026-07-15 13:40:36] local.INFO: GPS Element Parsed {"raw_longitude":762848768,"raw_latitude":97506512,"longitude_deg":76.2848768,"latitude_deg":9.7506512,"altitude":2,"angle":302,"satellites":23,"speed":6,"hex_longitude":"2d782600","hex_latitude":"05cfd4d0","is_valid_coordinates":true} 
[2026-07-15 13:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730343168001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106444321980416000,"note":"Value kept but may cause issues"} 
[2026-07-15 13:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8658522152302256128,"note":"Value kept but may cause issues"} 
[2026-07-15 13:40:36] 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-07-15 13:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784102907000,"timestamp_ms":1784102907000,"timestamp_seconds":1784102907,"priority":1,"record_length":96,"hex_timestamp":"0000019f64d1ec78"} 
[2026-07-15 13:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-15 13:40: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-07-15 13:40:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:40:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730343168001,"66":12982,"34":206,"85":15104,"24":6,"16":106444321980416000,"45":8658522152302256128},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,45]} 
[2026-07-15 13:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730343168001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:40:36] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-15 13:40:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106444321980416000,"km_value":106444321980416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8658522152302256128,"description":"Unknown IO ID 45"} 
[2026-07-15 13:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730343168001,"power":12982,"unknown_34":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8658522152302256128}} 
[2026-07-15 13:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":132363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491028,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:40:36] local.INFO: GPS data processed {"connection_id":132363,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:40:36] local.INFO: Acknowledgment sent {"connection_id":132363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:40:38] local.INFO: TCP Data received {"connection_id":134757,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64d05638012d7e61c005ab3ad8000900d62e..."} 
[2026-07-15 13:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64d05638012d7e61c005ab3ad8000900d62e..."} 
[2026-07-15 13:40:38] local.INFO: Processing buffer {"connection_id":134757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64d05638012d7e61c005ab3ad8000900d62e..."} 
[2026-07-15 13:40:38] local.INFO: Packet analysis {"connection_id":134757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64d0"} 
[2026-07-15 13:40:38] local.INFO: Extracted packet for processing {"connection_id":134757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64d0"} 
[2026-07-15 13:40:38] local.INFO: GPS Element Parsed {"raw_longitude":763257280,"raw_latitude":95107800,"longitude_deg":76.325728,"latitude_deg":9.51078,"altitude":9,"angle":214,"satellites":46,"speed":21,"hex_longitude":"2d7e61c0","hex_latitude":"05ab3ad8","is_valid_coordinates":true} 
[2026-07-15 13:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730313728001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347113312627982336,"note":"Value kept but may cause issues"} 
[2026-07-15 13:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9110570964287408128,"note":"Value kept but may cause issues"} 
[2026-07-15 13:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784102803000,"timestamp_ms":1784102803000,"timestamp_seconds":1784102803,"priority":1,"record_length":96,"hex_timestamp":"0000019f64d05638"} 
[2026-07-15 13:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 13:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:40:38] 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-07-15 13:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730313728001,"66":27800,"184":206,"85":14336,"24":21,"16":347113312627982336,"45":9110570964287408128},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,45]} 
[2026-07-15 13:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730313728001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:40:38] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-15 13:40:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347113312627982336,"km_value":347113312627982.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9110570964287408128,"description":"Unknown IO ID 45"} 
[2026-07-15 13:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730313728001,"power":27800,"unknown_184":206,"unknown_85":14336,"ignition":21,"odometer":null,"unknown_45":9110570964287408128}} 
[2026-07-15 13:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":134757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:40:38] local.INFO: GPS data processed {"connection_id":134757,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:40:38] local.INFO: Acknowledgment sent {"connection_id":134757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:40:55] local.INFO: TCP Data received {"connection_id":133397,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133397,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:40:55] local.INFO: Processing buffer {"connection_id":133397,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:40:55] local.INFO: IMEI packet received {"connection_id":133397,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 13:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":133397,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:41:01] local.INFO: TCP Data received {"connection_id":134758,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:41:01] local.INFO: Processing buffer {"connection_id":134758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:41:01] local.INFO: IMEI packet received {"connection_id":134758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":134758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:41:04] local.INFO: TCP Data received {"connection_id":132364,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132364,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:41:04] local.INFO: Processing buffer {"connection_id":132364,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:41:04] local.INFO: IMEI packet received {"connection_id":132364,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 13:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":132364,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:41:06] local.INFO: TCP Data received {"connection_id":134758,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:41:06] local.INFO: Processing buffer {"connection_id":134758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:41:06] local.INFO: IMEI packet received {"connection_id":134758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":134758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:41:06] local.INFO: TCP Data received {"connection_id":132364,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132364,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:41:06] local.INFO: Processing buffer {"connection_id":132364,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:41:06] local.INFO: IMEI packet received {"connection_id":132364,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 13:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":132364,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:41:07] local.INFO: TCP Data received {"connection_id":134758,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64d098a0012d7e4e8005ab1d38000800d42e..."} 
[2026-07-15 13:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64d098a0012d7e4e8005ab1d38000800d42e..."} 
[2026-07-15 13:41:07] local.INFO: Processing buffer {"connection_id":134758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64d098a0012d7e4e8005ab1d38000800d42e..."} 
[2026-07-15 13:41:07] local.INFO: Packet analysis {"connection_id":134758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64d0"} 
[2026-07-15 13:41:07] local.INFO: Extracted packet for processing {"connection_id":134758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64d0"} 
[2026-07-15 13:41:07] local.INFO: GPS Element Parsed {"raw_longitude":763252352,"raw_latitude":95100216,"longitude_deg":76.3252352,"latitude_deg":9.5100216,"altitude":8,"angle":212,"satellites":46,"speed":20,"hex_longitude":"2d7e4e80","hex_latitude":"05ab1d38","is_valid_coordinates":true} 
[2026-07-15 13: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-07-15 13:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730317568001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347113750714646528,"note":"Value kept but may cause issues"} 
[2026-07-15 13:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9106771052099983360,"note":"Value kept but may cause issues"} 
[2026-07-15 13:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784102820000,"timestamp_ms":1784102820000,"timestamp_seconds":1784102820,"priority":1,"record_length":96,"hex_timestamp":"0000019f64d098a0"} 
[2026-07-15 13:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 13:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13: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-07-15 13:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:41:07] 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-07-15 13:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730317568001,"66":27767,"184":206,"85":14336,"24":20,"16":347113750714646528,"45":9106771052099983360},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,45]} 
[2026-07-15 13:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730317568001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:41:07] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-15 13:41:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347113750714646528,"km_value":347113750714646.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9106771052099983360,"description":"Unknown IO ID 45"} 
[2026-07-15 13:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730317568001,"power":27767,"unknown_184":206,"unknown_85":14336,"ignition":20,"odometer":null,"unknown_45":9106771052099983360}} 
[2026-07-15 13:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":134758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:41:07] local.INFO: GPS data processed {"connection_id":134758,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:41:07] local.INFO: Acknowledgment sent {"connection_id":134758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:41:07] local.INFO: TCP Data received {"connection_id":132364,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64d40788012d77ff4005d009980001000b18..."} 
[2026-07-15 13:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64d40788012d77ff4005d009980001000b18..."} 
[2026-07-15 13:41:07] local.INFO: Processing buffer {"connection_id":132364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64d40788012d77ff4005d009980001000b18..."} 
[2026-07-15 13:41:07] local.INFO: Packet analysis {"connection_id":132364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64d4"} 
[2026-07-15 13:41:07] local.INFO: Extracted packet for processing {"connection_id":132364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64d4"} 
[2026-07-15 13:41:07] local.INFO: GPS Element Parsed {"raw_longitude":762838848,"raw_latitude":97520024,"longitude_deg":76.2838848,"latitude_deg":9.7520024,"altitude":1,"angle":11,"satellites":24,"speed":21,"hex_longitude":"2d77ff40","hex_latitude":"05d00998","is_valid_coordinates":true} 
[2026-07-15 13: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-07-15 13:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730378752001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106445198153744384,"note":"Value kept but may cause issues"} 
[2026-07-15 13:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8646418728306798592,"note":"Value kept but may cause issues"} 
[2026-07-15 13:41:07] 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-07-15 13:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784103045000,"timestamp_ms":1784103045000,"timestamp_seconds":1784103045,"priority":1,"record_length":96,"hex_timestamp":"0000019f64d40788"} 
[2026-07-15 13:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-15 13:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13: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-07-15 13:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730378752001,"66":13048,"34":206,"85":15104,"24":21,"16":106445198153744384,"45":8646418728306798592},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,45]} 
[2026-07-15 13:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730378752001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:41:07] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-15 13:41:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106445198153744384,"km_value":106445198153744.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8646418728306798592,"description":"Unknown IO ID 45"} 
[2026-07-15 13:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730378752001,"power":13048,"unknown_34":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8646418728306798592}} 
[2026-07-15 13:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":132364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491031,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:41:07] local.INFO: GPS data processed {"connection_id":132364,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:41:07] local.INFO: Acknowledgment sent {"connection_id":132364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:41:34] local.INFO: TCP Data received {"connection_id":132554,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132554,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:41:34] local.INFO: Processing buffer {"connection_id":132554,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:41:34] local.INFO: IMEI packet received {"connection_id":132554,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 13:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":132554,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:41:38] local.INFO: TCP Data received {"connection_id":132364,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64d41340012d77ffc005d00e980002016318..."} 
[2026-07-15 13:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64d41340012d77ffc005d00e980002016318..."} 
[2026-07-15 13:41:38] local.INFO: Processing buffer {"connection_id":132364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64d41340012d77ffc005d00e980002016318..."} 
[2026-07-15 13:41:38] local.INFO: Packet analysis {"connection_id":132364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64d4"} 
[2026-07-15 13:41:38] local.INFO: Extracted packet for processing {"connection_id":132364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64d4"} 
[2026-07-15 13:41:38] local.INFO: GPS Element Parsed {"raw_longitude":762838976,"raw_latitude":97521304,"longitude_deg":76.2838976,"latitude_deg":9.7521304,"altitude":2,"angle":355,"satellites":24,"speed":11,"hex_longitude":"2d77ffc0","hex_latitude":"05d00e98","is_valid_coordinates":true} 
[2026-07-15 13:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730379520001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106445262578253824,"note":"Value kept but may cause issues"} 
[2026-07-15 13:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8646700203283945472,"note":"Value kept but may cause issues"} 
[2026-07-15 13:41:38] 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-07-15 13:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784103048000,"timestamp_ms":1784103048000,"timestamp_seconds":1784103048,"priority":1,"record_length":96,"hex_timestamp":"0000019f64d41340"} 
[2026-07-15 13:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-15 13:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730379520001,"66":12917,"34":206,"85":15104,"24":11,"16":106445262578253824,"45":8646700203283945472},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,45]} 
[2026-07-15 13:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730379520001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:41:38] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-15 13:41:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106445262578253824,"km_value":106445262578253.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8646700203283945472,"description":"Unknown IO ID 45"} 
[2026-07-15 13:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730379520001,"power":12917,"unknown_34":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8646700203283945472}} 
[2026-07-15 13:41:38] local.INFO: TCP Data received {"connection_id":134758,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64d37700012d7d7a8005a9d598000f00d22e..."} 
[2026-07-15 13:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64d37700012d7d7a8005a9d598000f00d22e..."} 
[2026-07-15 13:41:38] local.INFO: Processing buffer {"connection_id":134758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64d37700012d7d7a8005a9d598000f00d22e..."} 
[2026-07-15 13:41:38] local.INFO: Packet analysis {"connection_id":134758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64d3"} 
[2026-07-15 13:41:38] local.INFO: Extracted packet for processing {"connection_id":134758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64d3"} 
[2026-07-15 13:41:38] local.INFO: GPS Element Parsed {"raw_longitude":763198080,"raw_latitude":95016344,"longitude_deg":76.319808,"latitude_deg":9.5016344,"altitude":15,"angle":210,"satellites":46,"speed":13,"hex_longitude":"2d7d7a80","hex_latitude":"05a9d598","is_valid_coordinates":true} 
[2026-07-15 13:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730365440001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347118582552854528,"note":"Value kept but may cause issues"} 
[2026-07-15 13:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9047027988271704064,"note":"Value kept but may cause issues"} 
[2026-07-15 13:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784103008000,"timestamp_ms":1784103008000,"timestamp_seconds":1784103008,"priority":1,"record_length":96,"hex_timestamp":"0000019f64d37700"} 
[2026-07-15 13:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 13:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:41:38] 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-07-15 13:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730365440001,"66":27919,"62":206,"85":14336,"24":13,"16":347118582552854528,"45":9047027988271704064},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,85,24,16,45]} 
[2026-07-15 13:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730365440001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:41:38] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-07-15 13:41:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347118582552854528,"km_value":347118582552854.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9047027988271704064,"description":"Unknown IO ID 45"} 
[2026-07-15 13:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730365440001,"power":27919,"unknown_62":206,"unknown_85":14336,"ignition":13,"odometer":null,"unknown_45":9047027988271704064}} 
[2026-07-15 13:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":132364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491032,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:41:38] local.INFO: GPS data processed {"connection_id":132364,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:41:38] local.INFO: Acknowledgment sent {"connection_id":132364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":134758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:41:38] local.INFO: GPS data processed {"connection_id":134758,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:41:38] local.INFO: Acknowledgment sent {"connection_id":134758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:41:59] local.INFO: TCP Data received {"connection_id":133398,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133398,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:41:59] local.INFO: Processing buffer {"connection_id":133398,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:41:59] local.INFO: IMEI packet received {"connection_id":133398,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 13:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":133398,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:42:01] local.INFO: TCP Data received {"connection_id":133399,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:42:01] local.INFO: Processing buffer {"connection_id":133399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:42:01] local.INFO: IMEI packet received {"connection_id":133399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":133399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:42:04] local.INFO: TCP Data received {"connection_id":133398,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133398,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:42:04] local.INFO: Processing buffer {"connection_id":133398,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:42:04] local.INFO: IMEI packet received {"connection_id":133398,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 13:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":133398,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:42:05] local.INFO: TCP Data received {"connection_id":133398,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64d455a8012d77ff4005d00b98000100e319..."} 
[2026-07-15 13:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64d455a8012d77ff4005d00b98000100e319..."} 
[2026-07-15 13:42:05] local.INFO: Processing buffer {"connection_id":133398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64d455a8012d77ff4005d00b98000100e319..."} 
[2026-07-15 13:42:05] local.INFO: Packet analysis {"connection_id":133398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64d4"} 
[2026-07-15 13:42:05] local.INFO: Extracted packet for processing {"connection_id":133398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64d4"} 
[2026-07-15 13:42:05] local.INFO: GPS Element Parsed {"raw_longitude":762838848,"raw_latitude":97520536,"longitude_deg":76.2838848,"latitude_deg":9.7520536,"altitude":1,"angle":227,"satellites":25,"speed":6,"hex_longitude":"2d77ff40","hex_latitude":"05d00b98","is_valid_coordinates":true} 
[2026-07-15 13: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-07-15 13:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730380288001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106445344182632448,"note":"Value kept but may cause issues"} 
[2026-07-15 13:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8646840940772628480,"note":"Value kept but may cause issues"} 
[2026-07-15 13:42:05] 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-07-15 13:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784103065000,"timestamp_ms":1784103065000,"timestamp_seconds":1784103065,"priority":1,"record_length":96,"hex_timestamp":"0000019f64d455a8"} 
[2026-07-15 13:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-15 13:42:05] 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-07-15 13: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-07-15 13:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":133398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":133398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":133398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730380288001,"66":13254,"34":206,"85":15104,"24":6,"16":106445344182632448,"45":8646840940772628480},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,45]} 
[2026-07-15 13:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730380288001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:42:05] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-15 13:42:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106445344182632448,"km_value":106445344182632.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8646840940772628480,"description":"Unknown IO ID 45"} 
[2026-07-15 13:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730380288001,"power":13254,"unknown_34":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8646840940772628480}} 
[2026-07-15 13:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":133398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491034,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:42:05] local.INFO: GPS data processed {"connection_id":133398,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:42:05] local.INFO: Acknowledgment sent {"connection_id":133398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:42:06] local.INFO: TCP Data received {"connection_id":133399,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:42:06] local.INFO: Processing buffer {"connection_id":133399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:42:06] local.INFO: IMEI packet received {"connection_id":133399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":133399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:42:07] local.INFO: TCP Data received {"connection_id":133399,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64d3c520012d7d680005a9b828001100d52e..."} 
[2026-07-15 13:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64d3c520012d7d680005a9b828001100d52e..."} 
[2026-07-15 13:42:07] local.INFO: Processing buffer {"connection_id":133399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64d3c520012d7d680005a9b828001100d52e..."} 
[2026-07-15 13:42:07] local.INFO: Packet analysis {"connection_id":133399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64d3"} 
[2026-07-15 13:42:07] local.INFO: Extracted packet for processing {"connection_id":133399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64d3"} 
[2026-07-15 13:42:07] local.INFO: GPS Element Parsed {"raw_longitude":763193344,"raw_latitude":95008808,"longitude_deg":76.3193344,"latitude_deg":9.5008808,"altitude":17,"angle":213,"satellites":46,"speed":22,"hex_longitude":"2d7d6800","hex_latitude":"05a9b828","is_valid_coordinates":true} 
[2026-07-15 13:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730370048001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347119012049584128,"note":"Value kept but may cause issues"} 
[2026-07-15 13:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9041679963712231424,"note":"Value kept but may cause issues"} 
[2026-07-15 13:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784103028000,"timestamp_ms":1784103028000,"timestamp_seconds":1784103028,"priority":1,"record_length":96,"hex_timestamp":"0000019f64d3c520"} 
[2026-07-15 13:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:42:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 13:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:42:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:42:07] 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-07-15 13:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730370048001,"66":27821,"62":206,"85":14336,"24":22,"16":347119012049584128,"45":9041679963712231424},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,85,24,16,45]} 
[2026-07-15 13:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730370048001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:42:07] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-07-15 13:42:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347119012049584128,"km_value":347119012049584.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9041679963712231424,"description":"Unknown IO ID 45"} 
[2026-07-15 13:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730370048001,"power":27821,"unknown_62":206,"unknown_85":14336,"ignition":22,"odometer":null,"unknown_45":9041679963712231424}} 
[2026-07-15 13:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":133399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:42:07] local.INFO: GPS data processed {"connection_id":133399,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:42:07] local.INFO: Acknowledgment sent {"connection_id":133399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:42:36] local.INFO: TCP Data received {"connection_id":133398,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64d45990012d77fec005d00ae8000100d219..."} 
[2026-07-15 13:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64d45990012d77fec005d00ae8000100d219..."} 
[2026-07-15 13:42:36] local.INFO: Processing buffer {"connection_id":133398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64d45990012d77fec005d00ae8000100d219..."} 
[2026-07-15 13:42:36] local.INFO: Packet analysis {"connection_id":133398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64d4"} 
[2026-07-15 13:42:36] local.INFO: Extracted packet for processing {"connection_id":133398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64d4"} 
[2026-07-15 13:42:36] local.INFO: GPS Element Parsed {"raw_longitude":762838720,"raw_latitude":97520360,"longitude_deg":76.283872,"latitude_deg":9.752036,"altitude":1,"angle":210,"satellites":25,"speed":10,"hex_longitude":"2d77fec0","hex_latitude":"05d00ae8","is_valid_coordinates":true} 
[2026-07-15 13:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730384640001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106445352772567040,"note":"Value kept but may cause issues"} 
[2026-07-15 13:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8646700203284076544,"note":"Value kept but may cause issues"} 
[2026-07-15 13:42:36] 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-07-15 13:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784103066000,"timestamp_ms":1784103066000,"timestamp_seconds":1784103066,"priority":1,"record_length":96,"hex_timestamp":"0000019f64d45990"} 
[2026-07-15 13:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-15 13:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":133398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":133398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":133398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730384640001,"66":13102,"34":206,"85":15104,"24":10,"16":106445352772567040,"45":8646700203284076544},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,45]} 
[2026-07-15 13:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730384640001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:42:36] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-15 13:42:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106445352772567040,"km_value":106445352772567.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8646700203284076544,"description":"Unknown IO ID 45"} 
[2026-07-15 13:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730384640001,"power":13102,"unknown_34":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8646700203284076544}} 
[2026-07-15 13:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":133398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491036,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:42:36] local.INFO: GPS data processed {"connection_id":133398,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:42:36] local.INFO: Acknowledgment sent {"connection_id":133398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:42:38] local.INFO: TCP Data received {"connection_id":133399,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64d40788012d7d540005a99a78001200d62e..."} 
[2026-07-15 13:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64d40788012d7d540005a99a78001200d62e..."} 
[2026-07-15 13:42:38] local.INFO: Processing buffer {"connection_id":133399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64d40788012d7d540005a99a78001200d62e..."} 
[2026-07-15 13:42:38] local.INFO: Packet analysis {"connection_id":133399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64d4"} 
[2026-07-15 13:42:38] local.INFO: Extracted packet for processing {"connection_id":133399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64d4"} 
[2026-07-15 13:42:38] local.INFO: GPS Element Parsed {"raw_longitude":763188224,"raw_latitude":95001208,"longitude_deg":76.3188224,"latitude_deg":9.5001208,"altitude":18,"angle":214,"satellites":46,"speed":20,"hex_longitude":"2d7d5400","hex_latitude":"05a99a78","is_valid_coordinates":true} 
[2026-07-15 13:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730375168001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347119454431215616,"note":"Value kept but may cause issues"} 
[2026-07-15 13:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9036472676641155072,"note":"Value kept but may cause issues"} 
[2026-07-15 13:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784103045000,"timestamp_ms":1784103045000,"timestamp_seconds":1784103045,"priority":1,"record_length":96,"hex_timestamp":"0000019f64d40788"} 
[2026-07-15 13:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 13:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13: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-07-15 13:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:42:38] 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-07-15 13:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730375168001,"66":27887,"62":206,"85":14336,"24":20,"16":347119454431215616,"45":9036472676641155072},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,85,24,16,45]} 
[2026-07-15 13:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730375168001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:42:38] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-07-15 13:42:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347119454431215616,"km_value":347119454431215.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9036472676641155072,"description":"Unknown IO ID 45"} 
[2026-07-15 13:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730375168001,"power":27887,"unknown_62":206,"unknown_85":14336,"ignition":20,"odometer":null,"unknown_45":9036472676641155072}} 
[2026-07-15 13:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":133399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:42:38] local.INFO: GPS data processed {"connection_id":133399,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:42:38] local.INFO: Acknowledgment sent {"connection_id":133399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:42:57] local.INFO: TCP Data received {"connection_id":132365,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132365,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:42:57] local.INFO: Processing buffer {"connection_id":132365,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:42:57] local.INFO: IMEI packet received {"connection_id":132365,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 13:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":132365,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:42:59] local.INFO: TCP Data received {"connection_id":132365,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132365,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:42:59] local.INFO: Processing buffer {"connection_id":132365,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:42:59] local.INFO: IMEI packet received {"connection_id":132365,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 13:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":132365,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:43:01] local.INFO: TCP Data received {"connection_id":132556,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:43:01] local.INFO: Processing buffer {"connection_id":132556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:43:01] local.INFO: IMEI packet received {"connection_id":132556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":132556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:43:04] local.INFO: TCP Data received {"connection_id":132365,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132365,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:43:04] local.INFO: Processing buffer {"connection_id":132365,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:43:04] local.INFO: IMEI packet received {"connection_id":132365,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 13:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":132365,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:43:05] local.INFO: TCP Data received {"connection_id":132365,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64d45d78012d77fe8005d009f8000100bd19..."} 
[2026-07-15 13:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64d45d78012d77fe8005d009f8000100bd19..."} 
[2026-07-15 13:43:05] local.INFO: Processing buffer {"connection_id":132365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64d45d78012d77fe8005d009f8000100bd19..."} 
[2026-07-15 13:43:05] local.INFO: Packet analysis {"connection_id":132365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64d4"} 
[2026-07-15 13:43:05] local.INFO: Extracted packet for processing {"connection_id":132365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64d4"} 
[2026-07-15 13:43:05] local.INFO: GPS Element Parsed {"raw_longitude":762838656,"raw_latitude":97520120,"longitude_deg":76.2838656,"latitude_deg":9.752012,"altitude":1,"angle":189,"satellites":25,"speed":9,"hex_longitude":"2d77fe80","hex_latitude":"05d009f8","is_valid_coordinates":true} 
[2026-07-15 13:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730384896001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106445365657468928,"note":"Value kept but may cause issues"} 
[2026-07-15 13:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8646559465795676160,"note":"Value kept but may cause issues"} 
[2026-07-15 13:43:05] 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-07-15 13:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784103067000,"timestamp_ms":1784103067000,"timestamp_seconds":1784103067,"priority":1,"record_length":96,"hex_timestamp":"0000019f64d45d78"} 
[2026-07-15 13:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-15 13:43: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-07-15 13:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730384896001,"66":13102,"34":206,"85":15104,"24":9,"16":106445365657468928,"45":8646559465795676160},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,45]} 
[2026-07-15 13:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730384896001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:43:05] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-15 13:43:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106445365657468928,"km_value":106445365657468.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8646559465795676160,"description":"Unknown IO ID 45"} 
[2026-07-15 13:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730384896001,"power":13102,"unknown_34":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8646559465795676160}} 
[2026-07-15 13:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":132365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491038,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:43:05] local.INFO: GPS data processed {"connection_id":132365,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:43:05] local.INFO: Acknowledgment sent {"connection_id":132365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:43:06] local.INFO: TCP Data received {"connection_id":132556,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:43:06] local.INFO: Processing buffer {"connection_id":132556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:43:06] local.INFO: IMEI packet received {"connection_id":132556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":132556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:43:07] local.INFO: TCP Data received {"connection_id":132556,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64d449f0012d7d410005a97c28001200d12e..."} 
[2026-07-15 13:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64d449f0012d7d410005a97c28001200d12e..."} 
[2026-07-15 13:43:07] local.INFO: Processing buffer {"connection_id":132556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64d449f0012d7d410005a97c28001200d12e..."} 
[2026-07-15 13:43:07] local.INFO: Packet analysis {"connection_id":132556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64d4"} 
[2026-07-15 13:43:07] local.INFO: Extracted packet for processing {"connection_id":132556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64d4"} 
[2026-07-15 13:43:07] local.INFO: GPS Element Parsed {"raw_longitude":763183360,"raw_latitude":94993448,"longitude_deg":76.318336,"latitude_deg":9.4993448,"altitude":18,"angle":209,"satellites":46,"speed":21,"hex_longitude":"2d7d4100","hex_latitude":"05a97c28","is_valid_coordinates":true} 
[2026-07-15 13: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-07-15 13:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730379520001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347119896812847104,"note":"Value kept but may cause issues"} 
[2026-07-15 13:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030843177104996352,"note":"Value kept but may cause issues"} 
[2026-07-15 13:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784103062000,"timestamp_ms":1784103062000,"timestamp_seconds":1784103062,"priority":1,"record_length":96,"hex_timestamp":"0000019f64d449f0"} 
[2026-07-15 13:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-15 13:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:43:07] 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-07-15 13:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730379520001,"66":27930,"62":206,"85":14336,"24":21,"16":347119896812847104,"45":9030843177104996352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,85,24,16,45]} 
[2026-07-15 13:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730379520001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:43:07] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-07-15 13:43:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347119896812847104,"km_value":347119896812847.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030843177104996352,"description":"Unknown IO ID 45"} 
[2026-07-15 13:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730379520001,"power":27930,"unknown_62":206,"unknown_85":14336,"ignition":21,"odometer":null,"unknown_45":9030843177104996352}} 
[2026-07-15 13:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":132556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:43:07] local.INFO: GPS data processed {"connection_id":132556,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:43:07] local.INFO: Acknowledgment sent {"connection_id":132556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:43:36] local.INFO: TCP Data received {"connection_id":132365,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f64d65560012d78298005cfd338000800811f..."} 
[2026-07-15 13:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64d65560012d78298005cfd338000800811f..."} 
[2026-07-15 13:43:36] local.INFO: Processing buffer {"connection_id":132365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64d65560012d78298005cfd338000800811f..."} 
[2026-07-15 13:43:36] local.INFO: Packet analysis {"connection_id":132365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64d6"} 
[2026-07-15 13:43:36] local.INFO: Extracted packet for processing {"connection_id":132365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64d6"} 
[2026-07-15 13:43:36] local.INFO: GPS Element Parsed {"raw_longitude":762849664,"raw_latitude":97506104,"longitude_deg":76.2849664,"latitude_deg":9.7506104,"altitude":8,"angle":129,"satellites":31,"speed":0,"hex_longitude":"2d782980","hex_latitude":"05cfd338","is_valid_coordinates":true} 
[2026-07-15 13:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730413056001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106446284780470272,"note":"Value kept but may cause issues"} 
[2026-07-15 13:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8658592521046407168,"note":"Value kept but may cause issues"} 
[2026-07-15 13:43:36] 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-07-15 13:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784103196000,"timestamp_ms":1784103196000,"timestamp_seconds":1784103196,"priority":1,"record_length":96,"hex_timestamp":"0000019f64d65560"} 
[2026-07-15 13:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-15 13:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730413056001,"66":12917,"34":206,"85":15104,"24":0,"16":106446284780470272,"45":8658592521046407168},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,45]} 
[2026-07-15 13:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730413056001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:43:36] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-15 13:43:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106446284780470272,"km_value":106446284780470.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8658592521046407168,"description":"Unknown IO ID 45"} 
[2026-07-15 13:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730413056001,"power":12917,"unknown_34":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8658592521046407168}} 
[2026-07-15 13:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":132365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491040,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:43:36] local.INFO: GPS data processed {"connection_id":132365,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:43:36] local.INFO: Acknowledgment sent {"connection_id":132365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:43:38] local.INFO: TCP Data received {"connection_id":132556,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64d480a0012d7d350005a961c0001200c62e..."} 
[2026-07-15 13:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64d480a0012d7d350005a961c0001200c62e..."} 
[2026-07-15 13:43:38] local.INFO: Processing buffer {"connection_id":132556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64d480a0012d7d350005a961c0001200c62e..."} 
[2026-07-15 13:43:38] local.INFO: Packet analysis {"connection_id":132556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64d4"} 
[2026-07-15 13:43:38] local.INFO: Extracted packet for processing {"connection_id":132556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64d4"} 
[2026-07-15 13:43:38] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":94986688,"longitude_deg":76.3180288,"latitude_deg":9.4986688,"altitude":18,"angle":198,"satellites":46,"speed":21,"hex_longitude":"2d7d3500","hex_latitude":"05a961c0","is_valid_coordinates":true} 
[2026-07-15 13: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-07-15 13:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730383872001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347120257590099968,"note":"Value kept but may cause issues"} 
[2026-07-15 13:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025495152545507328,"note":"Value kept but may cause issues"} 
[2026-07-15 13:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784103076000,"timestamp_ms":1784103076000,"timestamp_seconds":1784103076,"priority":1,"record_length":96,"hex_timestamp":"0000019f64d480a0"} 
[2026-07-15 13:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-15 13:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13: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-07-15 13:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:43:38] 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-07-15 13:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730383872001,"66":27789,"62":206,"85":14336,"24":21,"16":347120257590099968,"45":9025495152545507328},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,85,24,16,45]} 
[2026-07-15 13:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730383872001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:43:38] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-07-15 13:43:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347120257590099968,"km_value":347120257590099.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025495152545507328,"description":"Unknown IO ID 45"} 
[2026-07-15 13:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730383872001,"power":27789,"unknown_62":206,"unknown_85":14336,"ignition":21,"odometer":null,"unknown_45":9025495152545507328}} 
[2026-07-15 13:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":132556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:43:38] local.INFO: GPS data processed {"connection_id":132556,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:43:38] local.INFO: Acknowledgment sent {"connection_id":132556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:43:59] local.INFO: TCP Data received {"connection_id":134760,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134760,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:43:59] local.INFO: Processing buffer {"connection_id":134760,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:43:59] local.INFO: IMEI packet received {"connection_id":134760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 13:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":134760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:44:01] local.INFO: TCP Data received {"connection_id":133400,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:44:01] local.INFO: Processing buffer {"connection_id":133400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:44:01] local.INFO: IMEI packet received {"connection_id":133400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":133400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:44:02] local.INFO: TCP Data received {"connection_id":133400,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:44:02] local.INFO: Processing buffer {"connection_id":133400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:44:02] local.INFO: IMEI packet received {"connection_id":133400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":133400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:44:04] local.INFO: TCP Data received {"connection_id":134760,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134760,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:44:04] local.INFO: Processing buffer {"connection_id":134760,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:44:04] local.INFO: IMEI packet received {"connection_id":134760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 13:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":134760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:44:05] local.INFO: TCP Data received {"connection_id":134760,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f64d65560012d78298005cfd338000800811f..."} 
[2026-07-15 13:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64d65560012d78298005cfd338000800811f..."} 
[2026-07-15 13:44:05] local.INFO: Processing buffer {"connection_id":134760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64d65560012d78298005cfd338000800811f..."} 
[2026-07-15 13:44:05] local.INFO: Packet analysis {"connection_id":134760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64d6"} 
[2026-07-15 13:44:05] local.INFO: Extracted packet for processing {"connection_id":134760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64d6"} 
[2026-07-15 13:44:05] local.INFO: GPS Element Parsed {"raw_longitude":762849664,"raw_latitude":97506104,"longitude_deg":76.2849664,"latitude_deg":9.7506104,"altitude":8,"angle":129,"satellites":31,"speed":0,"hex_longitude":"2d782980","hex_latitude":"05cfd338","is_valid_coordinates":true} 
[2026-07-15 13:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730418176001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106446284780470272,"note":"Value kept but may cause issues"} 
[2026-07-15 13:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8658592521046407168,"note":"Value kept but may cause issues"} 
[2026-07-15 13:44:05] 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-07-15 13:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784103196000,"timestamp_ms":1784103196000,"timestamp_seconds":1784103196,"priority":1,"record_length":96,"hex_timestamp":"0000019f64d65560"} 
[2026-07-15 13:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:44:05] 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-07-15 13:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-15 13:44:05] 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-07-15 13:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":134760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":134760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":134760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730418176001,"66":12917,"34":206,"85":15104,"24":0,"16":106446284780470272,"45":8658592521046407168},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,45]} 
[2026-07-15 13:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730418176001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:44:05] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-15 13:44:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106446284780470272,"km_value":106446284780470.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8658592521046407168,"description":"Unknown IO ID 45"} 
[2026-07-15 13:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730418176001,"power":12917,"unknown_34":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8658592521046407168}} 
[2026-07-15 13:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":134760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491042,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:44:05] local.INFO: GPS data processed {"connection_id":134760,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:44:05] local.INFO: Acknowledgment sent {"connection_id":134760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:44:06] local.INFO: TCP Data received {"connection_id":133400,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:44:06] local.INFO: Processing buffer {"connection_id":133400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:44:06] local.INFO: IMEI packet received {"connection_id":133400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":133400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:44:08] local.INFO: TCP Data received {"connection_id":133400,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64d4b750012d7d2ec005a94548001200ba2e..."} 
[2026-07-15 13:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64d4b750012d7d2ec005a94548001200ba2e..."} 
[2026-07-15 13:44:08] local.INFO: Processing buffer {"connection_id":133400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64d4b750012d7d2ec005a94548001200ba2e..."} 
[2026-07-15 13:44:08] local.INFO: Packet analysis {"connection_id":133400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64d4"} 
[2026-07-15 13:44:08] local.INFO: Extracted packet for processing {"connection_id":133400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64d4"} 
[2026-07-15 13:44:08] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":94979400,"longitude_deg":76.3178688,"latitude_deg":9.49794,"altitude":18,"angle":186,"satellites":46,"speed":21,"hex_longitude":"2d7d2ec0","hex_latitude":"05a94548","is_valid_coordinates":true} 
[2026-07-15 13:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730387456001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347120618367352832,"note":"Value kept but may cause issues"} 
[2026-07-15 13:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117452823248896,"note":"Value kept but may cause issues"} 
[2026-07-15 13:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784103090000,"timestamp_ms":1784103090000,"timestamp_seconds":1784103090,"priority":1,"record_length":96,"hex_timestamp":"0000019f64d4b750"} 
[2026-07-15 13:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-15 13:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":133400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":133400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":133400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:44:08] 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-07-15 13:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730387456001,"66":27887,"62":206,"85":14336,"24":21,"16":347120618367352832,"45":9022117452823248896},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,85,24,16,45]} 
[2026-07-15 13:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730387456001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:44:08] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-07-15 13:44:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347120618367352832,"km_value":347120618367352.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117452823248896,"description":"Unknown IO ID 45"} 
[2026-07-15 13:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730387456001,"power":27887,"unknown_62":206,"unknown_85":14336,"ignition":21,"odometer":null,"unknown_45":9022117452823248896}} 
[2026-07-15 13:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":133400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:44:08] local.INFO: GPS data processed {"connection_id":133400,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:44:08] local.INFO: Acknowledgment sent {"connection_id":133400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:44:36] local.INFO: TCP Data received {"connection_id":134760,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f64d65948012d78298005cfd338000800811f..."} 
[2026-07-15 13:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64d65948012d78298005cfd338000800811f..."} 
[2026-07-15 13:44:36] local.INFO: Processing buffer {"connection_id":134760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64d65948012d78298005cfd338000800811f..."} 
[2026-07-15 13:44:36] local.INFO: Packet analysis {"connection_id":134760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64d6"} 
[2026-07-15 13:44:36] local.INFO: Extracted packet for processing {"connection_id":134760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64d6"} 
[2026-07-15 13:44:36] local.INFO: GPS Element Parsed {"raw_longitude":762849664,"raw_latitude":97506104,"longitude_deg":76.2849664,"latitude_deg":9.7506104,"altitude":8,"angle":129,"satellites":31,"speed":0,"hex_longitude":"2d782980","hex_latitude":"05cfd338","is_valid_coordinates":true} 
[2026-07-15 13:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730418176001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106446284780470272,"note":"Value kept but may cause issues"} 
[2026-07-15 13:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8658592521046407168,"note":"Value kept but may cause issues"} 
[2026-07-15 13:44:36] 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-07-15 13:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784103197000,"timestamp_ms":1784103197000,"timestamp_seconds":1784103197,"priority":1,"record_length":96,"hex_timestamp":"0000019f64d65948"} 
[2026-07-15 13:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 13:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-15 13:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":134760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":134760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":134760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730418176001,"66":12917,"34":206,"85":15104,"24":0,"16":106446284780470272,"45":8658592521046407168},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,45]} 
[2026-07-15 13:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730418176001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:44:36] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-15 13:44:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106446284780470272,"km_value":106446284780470.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8658592521046407168,"description":"Unknown IO ID 45"} 
[2026-07-15 13:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730418176001,"power":12917,"unknown_34":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8658592521046407168}} 
[2026-07-15 13:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":134760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491044,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:44:36] local.INFO: GPS data processed {"connection_id":134760,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:44:36] local.INFO: Acknowledgment sent {"connection_id":134760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:44:39] local.INFO: TCP Data received {"connection_id":133400,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64d4e630012d7d2e4005a92ca8001100ae2e..."} 
[2026-07-15 13:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64d4e630012d7d2e4005a92ca8001100ae2e..."} 
[2026-07-15 13:44:39] local.INFO: Processing buffer {"connection_id":133400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64d4e630012d7d2e4005a92ca8001100ae2e..."} 
[2026-07-15 13:44:39] local.INFO: Packet analysis {"connection_id":133400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64d4"} 
[2026-07-15 13:44:39] local.INFO: Extracted packet for processing {"connection_id":133400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64d4"} 
[2026-07-15 13:44:39] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":94973096,"longitude_deg":76.317856,"latitude_deg":9.4973096,"altitude":17,"angle":174,"satellites":46,"speed":21,"hex_longitude":"2d7d2e40","hex_latitude":"05a92ca8","is_valid_coordinates":true} 
[2026-07-15 13: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-07-15 13:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730391040001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347120927604998144,"note":"Value kept but may cause issues"} 
[2026-07-15 13:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358234216941568,"note":"Value kept but may cause issues"} 
[2026-07-15 13:44:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784103102000,"timestamp_ms":1784103102000,"timestamp_seconds":1784103102,"priority":1,"record_length":96,"hex_timestamp":"0000019f64d4e630"} 
[2026-07-15 13:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:44:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-15 13:44:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13: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-07-15 13:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:44: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-07-15 13:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730391040001,"66":27843,"62":206,"85":14336,"24":21,"16":347120927604998144,"45":9020358234216941568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,85,24,16,45]} 
[2026-07-15 13:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730391040001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:44:39] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-07-15 13:44:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347120927604998144,"km_value":347120927604998.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358234216941568,"description":"Unknown IO ID 45"} 
[2026-07-15 13:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730391040001,"power":27843,"unknown_62":206,"unknown_85":14336,"ignition":21,"odometer":null,"unknown_45":9020358234216941568}} 
[2026-07-15 13:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":133400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:44:39] local.INFO: GPS data processed {"connection_id":133400,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:44:39] local.INFO: Acknowledgment sent {"connection_id":133400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:44:59] local.INFO: TCP Data received {"connection_id":133401,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133401,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:44:59] local.INFO: Processing buffer {"connection_id":133401,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:44:59] local.INFO: IMEI packet received {"connection_id":133401,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 13:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":133401,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:45:01] local.INFO: TCP Data received {"connection_id":132558,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:45:01] local.INFO: Processing buffer {"connection_id":132558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:45:01] local.INFO: IMEI packet received {"connection_id":132558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":132558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:45:03] local.INFO: TCP Data received {"connection_id":132558,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:45:03] local.INFO: Processing buffer {"connection_id":132558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:45:03] local.INFO: IMEI packet received {"connection_id":132558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":132558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:45:04] local.INFO: TCP Data received {"connection_id":133401,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133401,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:45:04] local.INFO: Processing buffer {"connection_id":133401,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:45:04] local.INFO: IMEI packet received {"connection_id":133401,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 13:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":133401,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:45:05] local.INFO: TCP Data received {"connection_id":133401,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f64d65948012d78298005cfd338000800811f..."} 
[2026-07-15 13:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64d65948012d78298005cfd338000800811f..."} 
[2026-07-15 13:45:05] local.INFO: Processing buffer {"connection_id":133401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64d65948012d78298005cfd338000800811f..."} 
[2026-07-15 13:45:05] local.INFO: Packet analysis {"connection_id":133401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64d6"} 
[2026-07-15 13:45:05] local.INFO: Extracted packet for processing {"connection_id":133401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64d6"} 
[2026-07-15 13:45:05] local.INFO: GPS Element Parsed {"raw_longitude":762849664,"raw_latitude":97506104,"longitude_deg":76.2849664,"latitude_deg":9.7506104,"altitude":8,"angle":129,"satellites":31,"speed":0,"hex_longitude":"2d782980","hex_latitude":"05cfd338","is_valid_coordinates":true} 
[2026-07-15 13:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730418176001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106446284780470272,"note":"Value kept but may cause issues"} 
[2026-07-15 13:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8658592521046407168,"note":"Value kept but may cause issues"} 
[2026-07-15 13:45:05] 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-07-15 13:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784103197000,"timestamp_ms":1784103197000,"timestamp_seconds":1784103197,"priority":1,"record_length":96,"hex_timestamp":"0000019f64d65948"} 
[2026-07-15 13:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:45:05] 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-07-15 13:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-15 13:45:05] 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-07-15 13:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":133401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":133401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":133401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730418176001,"66":12917,"34":206,"85":15104,"24":0,"16":106446284780470272,"45":8658592521046407168},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,45]} 
[2026-07-15 13:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730418176001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:45:05] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-15 13:45:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106446284780470272,"km_value":106446284780470.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8658592521046407168,"description":"Unknown IO ID 45"} 
[2026-07-15 13:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730418176001,"power":12917,"unknown_34":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8658592521046407168}} 
[2026-07-15 13:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":133401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491046,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:45:05] local.INFO: GPS data processed {"connection_id":133401,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:45:05] local.INFO: Acknowledgment sent {"connection_id":133401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:45:06] local.INFO: TCP Data received {"connection_id":132558,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:45:06] local.INFO: Processing buffer {"connection_id":132558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:45:06] local.INFO: IMEI packet received {"connection_id":132558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":132558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:45:07] local.INFO: TCP Data received {"connection_id":132558,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64d52898012d7d340005a90990001000a92e..."} 
[2026-07-15 13:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64d52898012d7d340005a90990001000a92e..."} 
[2026-07-15 13:45:07] local.INFO: Processing buffer {"connection_id":132558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64d52898012d7d340005a90990001000a92e..."} 
[2026-07-15 13:45:07] local.INFO: Packet analysis {"connection_id":132558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64d5"} 
[2026-07-15 13:45:07] local.INFO: Extracted packet for processing {"connection_id":132558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64d5"} 
[2026-07-15 13:45:07] local.INFO: GPS Element Parsed {"raw_longitude":763180032,"raw_latitude":94964112,"longitude_deg":76.3180032,"latitude_deg":9.4964112,"altitude":16,"angle":169,"satellites":46,"speed":21,"hex_longitude":"2d7d3400","hex_latitude":"05a90990","is_valid_coordinates":true} 
[2026-07-15 13:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730394112001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347121369986629632,"note":"Value kept but may cause issues"} 
[2026-07-15 13:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217496726972416,"note":"Value kept but may cause issues"} 
[2026-07-15 13:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784103119000,"timestamp_ms":1784103119000,"timestamp_seconds":1784103119,"priority":1,"record_length":96,"hex_timestamp":"0000019f64d52898"} 
[2026-07-15 13:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-15 13:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:45:07] 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-07-15 13:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730394112001,"66":27800,"63":206,"85":14336,"24":21,"16":347121369986629632,"45":9020217496726972416},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-15 13:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730394112001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:45:07] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-15 13:45:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347121369986629632,"km_value":347121369986629.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217496726972416,"description":"Unknown IO ID 45"} 
[2026-07-15 13:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730394112001,"power":27800,"unknown_63":206,"unknown_85":14336,"ignition":21,"odometer":null,"unknown_45":9020217496726972416}} 
[2026-07-15 13:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":132558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:45:07] local.INFO: GPS data processed {"connection_id":132558,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:45:07] local.INFO: Acknowledgment sent {"connection_id":132558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:45:36] local.INFO: TCP Data received {"connection_id":133401,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f64d65948012d78298005cfd338000800811f..."} 
[2026-07-15 13:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64d65948012d78298005cfd338000800811f..."} 
[2026-07-15 13:45:36] local.INFO: Processing buffer {"connection_id":133401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64d65948012d78298005cfd338000800811f..."} 
[2026-07-15 13:45:36] local.INFO: Packet analysis {"connection_id":133401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64d6"} 
[2026-07-15 13:45:36] local.INFO: Extracted packet for processing {"connection_id":133401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64d6"} 
[2026-07-15 13:45:36] local.INFO: GPS Element Parsed {"raw_longitude":762849664,"raw_latitude":97506104,"longitude_deg":76.2849664,"latitude_deg":9.7506104,"altitude":8,"angle":129,"satellites":31,"speed":0,"hex_longitude":"2d782980","hex_latitude":"05cfd338","is_valid_coordinates":true} 
[2026-07-15 13:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730418176001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106446284780470272,"note":"Value kept but may cause issues"} 
[2026-07-15 13:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8658592521046407168,"note":"Value kept but may cause issues"} 
[2026-07-15 13:45:36] 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-07-15 13:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784103197000,"timestamp_ms":1784103197000,"timestamp_seconds":1784103197,"priority":1,"record_length":96,"hex_timestamp":"0000019f64d65948"} 
[2026-07-15 13:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 13:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-15 13:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":133401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":133401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":133401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730418176001,"66":12917,"34":206,"85":15104,"24":0,"16":106446284780470272,"45":8658592521046407168},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,45]} 
[2026-07-15 13:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730418176001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:45:36] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-15 13:45:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106446284780470272,"km_value":106446284780470.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8658592521046407168,"description":"Unknown IO ID 45"} 
[2026-07-15 13:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730418176001,"power":12917,"unknown_34":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8658592521046407168}} 
[2026-07-15 13:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":133401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491048,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:45:36] local.INFO: GPS data processed {"connection_id":133401,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:45:36] local.INFO: Acknowledgment sent {"connection_id":133401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:45:38] local.INFO: TCP Data received {"connection_id":132558,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64d56b00012d7d3b0005a8e730001000a82e..."} 
[2026-07-15 13:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64d56b00012d7d3b0005a8e730001000a82e..."} 
[2026-07-15 13:45:38] local.INFO: Processing buffer {"connection_id":132558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64d56b00012d7d3b0005a8e730001000a82e..."} 
[2026-07-15 13:45:38] local.INFO: Packet analysis {"connection_id":132558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64d5"} 
[2026-07-15 13:45:38] local.INFO: Extracted packet for processing {"connection_id":132558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64d5"} 
[2026-07-15 13:45:38] local.INFO: GPS Element Parsed {"raw_longitude":763181824,"raw_latitude":94955312,"longitude_deg":76.3181824,"latitude_deg":9.4955312,"altitude":16,"angle":168,"satellites":46,"speed":21,"hex_longitude":"2d7d3b00","hex_latitude":"05a8e730","is_valid_coordinates":true} 
[2026-07-15 13: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-07-15 13:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730398464001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347121803778326528,"note":"Value kept but may cause issues"} 
[2026-07-15 13:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021835977840758784,"note":"Value kept but may cause issues"} 
[2026-07-15 13:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784103136000,"timestamp_ms":1784103136000,"timestamp_seconds":1784103136,"priority":1,"record_length":96,"hex_timestamp":"0000019f64d56b00"} 
[2026-07-15 13:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 13:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13: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-07-15 13:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:45:38] 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-07-15 13:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730398464001,"66":27908,"63":206,"85":14336,"24":21,"16":347121803778326528,"45":9021835977840758784},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-15 13:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730398464001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:45:38] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-15 13:45:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347121803778326528,"km_value":347121803778326.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021835977840758784,"description":"Unknown IO ID 45"} 
[2026-07-15 13:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730398464001,"power":27908,"unknown_63":206,"unknown_85":14336,"ignition":21,"odometer":null,"unknown_45":9021835977840758784}} 
[2026-07-15 13:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":132558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:45:38] local.INFO: GPS data processed {"connection_id":132558,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:45:38] local.INFO: Acknowledgment sent {"connection_id":132558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:46:01] local.INFO: TCP Data received {"connection_id":133403,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:46:01] local.INFO: Processing buffer {"connection_id":133403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:46:01] local.INFO: IMEI packet received {"connection_id":133403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":133403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:46:04] local.INFO: TCP Data received {"connection_id":133402,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133402,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:46:04] local.INFO: Processing buffer {"connection_id":133402,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:46:04] local.INFO: IMEI packet received {"connection_id":133402,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 13:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":133402,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:46:06] local.INFO: TCP Data received {"connection_id":133403,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:46:06] local.INFO: Processing buffer {"connection_id":133403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:46:06] local.INFO: IMEI packet received {"connection_id":133403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":133403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:46:06] local.INFO: TCP Data received {"connection_id":133403,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64d7e3d0012d7d8fc005a76490001000a630..."} 
[2026-07-15 13:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64d7e3d0012d7d8fc005a76490001000a630..."} 
[2026-07-15 13:46:06] local.INFO: Processing buffer {"connection_id":133403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64d7e3d0012d7d8fc005a76490001000a630..."} 
[2026-07-15 13:46:06] local.INFO: Packet analysis {"connection_id":133403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64d7"} 
[2026-07-15 13:46:06] local.INFO: Extracted packet for processing {"connection_id":133403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64d7"} 
[2026-07-15 13:46:06] local.INFO: GPS Element Parsed {"raw_longitude":763203520,"raw_latitude":94856336,"longitude_deg":76.320352,"latitude_deg":9.4856336,"altitude":16,"angle":166,"satellites":48,"speed":33,"hex_longitude":"2d7d8fc0","hex_latitude":"05a76490","is_valid_coordinates":true} 
[2026-07-15 13: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-07-15 13:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730441472001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347126721515880448,"note":"Value kept but may cause issues"} 
[2026-07-15 13:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9045409507115034624,"note":"Value kept but may cause issues"} 
[2026-07-15 13:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784103298000,"timestamp_ms":1784103298000,"timestamp_seconds":1784103298,"priority":1,"record_length":96,"hex_timestamp":"0000019f64d7e3d0"} 
[2026-07-15 13:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-15 13:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13: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-07-15 13:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:46:06] 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-07-15 13:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730441472001,"66":27908,"166":206,"85":14336,"24":33,"16":347126721515880448,"45":9045409507115034624},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-07-15 13:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730441472001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:46:06] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-15 13:46:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347126721515880448,"km_value":347126721515880.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9045409507115034624,"description":"Unknown IO ID 45"} 
[2026-07-15 13:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730441472001,"power":27908,"unknown_166":206,"unknown_85":14336,"ignition":33,"odometer":null,"unknown_45":9045409507115034624}} 
[2026-07-15 13:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":133403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:46:06] local.INFO: GPS data processed {"connection_id":133403,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:46:06] local.INFO: Acknowledgment sent {"connection_id":133403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:46:09] local.INFO: TCP Data received {"connection_id":133402,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133402,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:46:09] local.INFO: Processing buffer {"connection_id":133402,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:46:09] local.INFO: IMEI packet received {"connection_id":133402,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 13:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":133402,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:46:10] local.INFO: TCP Data received {"connection_id":133402,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f64d65948012d78298005cfd338000800811f..."} 
[2026-07-15 13:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64d65948012d78298005cfd338000800811f..."} 
[2026-07-15 13:46:10] local.INFO: Processing buffer {"connection_id":133402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64d65948012d78298005cfd338000800811f..."} 
[2026-07-15 13:46:10] local.INFO: Packet analysis {"connection_id":133402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64d6"} 
[2026-07-15 13:46:10] local.INFO: Extracted packet for processing {"connection_id":133402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64d6"} 
[2026-07-15 13:46:10] local.INFO: GPS Element Parsed {"raw_longitude":762849664,"raw_latitude":97506104,"longitude_deg":76.2849664,"latitude_deg":9.7506104,"altitude":8,"angle":129,"satellites":31,"speed":0,"hex_longitude":"2d782980","hex_latitude":"05cfd338","is_valid_coordinates":true} 
[2026-07-15 13:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730418176001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106446284780470272,"note":"Value kept but may cause issues"} 
[2026-07-15 13:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8658592521046407168,"note":"Value kept but may cause issues"} 
[2026-07-15 13:46:10] 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-07-15 13:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784103197000,"timestamp_ms":1784103197000,"timestamp_seconds":1784103197,"priority":1,"record_length":96,"hex_timestamp":"0000019f64d65948"} 
[2026-07-15 13:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:46:10] 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-07-15 13:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-15 13:46:10] 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-07-15 13:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":133402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":133402,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":133402,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730418176001,"66":12917,"34":206,"85":15104,"24":0,"16":106446284780470272,"45":8658592521046407168},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,45]} 
[2026-07-15 13:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730418176001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:46:10] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-15 13:46:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106446284780470272,"km_value":106446284780470.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8658592521046407168,"description":"Unknown IO ID 45"} 
[2026-07-15 13:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730418176001,"power":12917,"unknown_34":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8658592521046407168}} 
[2026-07-15 13:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":133402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491051,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:46:10] local.INFO: GPS data processed {"connection_id":133402,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:46:10] local.INFO: Acknowledgment sent {"connection_id":133402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:46:11] local.INFO: TCP Data received {"connection_id":133403,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64d80ec8012d7d984005a740f8001000a630..."} 
[2026-07-15 13:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64d80ec8012d7d984005a740f8001000a630..."} 
[2026-07-15 13:46:11] local.INFO: Processing buffer {"connection_id":133403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64d80ec8012d7d984005a740f8001000a630..."} 
[2026-07-15 13:46:11] local.INFO: Packet analysis {"connection_id":133403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64d8"} 
[2026-07-15 13:46:11] local.INFO: Extracted packet for processing {"connection_id":133403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64d8"} 
[2026-07-15 13:46:11] local.INFO: GPS Element Parsed {"raw_longitude":763205696,"raw_latitude":94847224,"longitude_deg":76.3205696,"latitude_deg":9.4847224,"altitude":16,"angle":166,"satellites":48,"speed":33,"hex_longitude":"2d7d9840","hex_latitude":"05a740f8","is_valid_coordinates":true} 
[2026-07-15 13:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730444288001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347127176782413824,"note":"Value kept but may cause issues"} 
[2026-07-15 13:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9047661306926370816,"note":"Value kept but may cause issues"} 
[2026-07-15 13:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784103309000,"timestamp_ms":1784103309000,"timestamp_seconds":1784103309,"priority":1,"record_length":96,"hex_timestamp":"0000019f64d80ec8"} 
[2026-07-15 13:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 13:46:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":133403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":133403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":133403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:46:11] 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-07-15 13:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730444288001,"66":27767,"166":206,"85":14336,"24":33,"16":347127176782413824,"45":9047661306926370816},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-07-15 13:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730444288001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:46:11] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-15 13:46:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347127176782413824,"km_value":347127176782413.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9047661306926370816,"description":"Unknown IO ID 45"} 
[2026-07-15 13:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730444288001,"power":27767,"unknown_166":206,"unknown_85":14336,"ignition":33,"odometer":null,"unknown_45":9047661306926370816}} 
[2026-07-15 13:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":133403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:46:11] local.INFO: GPS data processed {"connection_id":133403,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:46:11] local.INFO: Acknowledgment sent {"connection_id":133403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:46:15] local.INFO: TCP Data received {"connection_id":133402,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f64d65948012d78298005cfd338000800811f..."} 
[2026-07-15 13:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64d65948012d78298005cfd338000800811f..."} 
[2026-07-15 13:46:15] local.INFO: Processing buffer {"connection_id":133402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64d65948012d78298005cfd338000800811f..."} 
[2026-07-15 13:46:15] local.INFO: Packet analysis {"connection_id":133402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64d6"} 
[2026-07-15 13:46:15] local.INFO: Extracted packet for processing {"connection_id":133402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64d6"} 
[2026-07-15 13:46:15] local.INFO: GPS Element Parsed {"raw_longitude":762849664,"raw_latitude":97506104,"longitude_deg":76.2849664,"latitude_deg":9.7506104,"altitude":8,"angle":129,"satellites":31,"speed":0,"hex_longitude":"2d782980","hex_latitude":"05cfd338","is_valid_coordinates":true} 
[2026-07-15 13:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730418176001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106446284780470272,"note":"Value kept but may cause issues"} 
[2026-07-15 13:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8658592521046407168,"note":"Value kept but may cause issues"} 
[2026-07-15 13:46:15] 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-07-15 13:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784103197000,"timestamp_ms":1784103197000,"timestamp_seconds":1784103197,"priority":1,"record_length":96,"hex_timestamp":"0000019f64d65948"} 
[2026-07-15 13:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:46:15] 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-07-15 13:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-15 13:46:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:46:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":133402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":133402,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":133402,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730418176001,"66":12917,"34":206,"85":15104,"24":0,"16":106446284780470272,"45":8658592521046407168},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,45]} 
[2026-07-15 13:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730418176001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:46:15] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-15 13:46:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106446284780470272,"km_value":106446284780470.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8658592521046407168,"description":"Unknown IO ID 45"} 
[2026-07-15 13:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730418176001,"power":12917,"unknown_34":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8658592521046407168}} 
[2026-07-15 13:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":133402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491053,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:46:15] local.INFO: GPS data processed {"connection_id":133402,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:46:15] local.INFO: Acknowledgment sent {"connection_id":133402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:46:42] local.INFO: TCP Data received {"connection_id":133403,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64d839c0012d7da18005a71d80001100a530..."} 
[2026-07-15 13:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64d839c0012d7da18005a71d80001100a530..."} 
[2026-07-15 13:46:42] local.INFO: Processing buffer {"connection_id":133403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64d839c0012d7da18005a71d80001100a530..."} 
[2026-07-15 13:46:42] local.INFO: Packet analysis {"connection_id":133403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64d8"} 
[2026-07-15 13:46:42] local.INFO: Extracted packet for processing {"connection_id":133403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64d8"} 
[2026-07-15 13:46:42] local.INFO: GPS Element Parsed {"raw_longitude":763208064,"raw_latitude":94838144,"longitude_deg":76.3208064,"latitude_deg":9.4838144,"altitude":17,"angle":165,"satellites":48,"speed":34,"hex_longitude":"2d7da180","hex_latitude":"05a71d80","is_valid_coordinates":true} 
[2026-07-15 13:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730447104001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347127632048947200,"note":"Value kept but may cause issues"} 
[2026-07-15 13:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9050053844226078720,"note":"Value kept but may cause issues"} 
[2026-07-15 13:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784103320000,"timestamp_ms":1784103320000,"timestamp_seconds":1784103320,"priority":1,"record_length":96,"hex_timestamp":"0000019f64d839c0"} 
[2026-07-15 13:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 13:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":133403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":133403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":133403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:46:42] 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-07-15 13:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730447104001,"66":27876,"166":206,"85":14336,"24":34,"16":347127632048947200,"45":9050053844226078720},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-07-15 13:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730447104001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:46:42] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-15 13:46:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347127632048947200,"km_value":347127632048947.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9050053844226078720,"description":"Unknown IO ID 45"} 
[2026-07-15 13:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730447104001,"power":27876,"unknown_166":206,"unknown_85":14336,"ignition":34,"odometer":null,"unknown_45":9050053844226078720}} 
[2026-07-15 13:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":133403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:46:42] local.INFO: GPS data processed {"connection_id":133403,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:46:42] local.INFO: Acknowledgment sent {"connection_id":133403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:46:55] local.INFO: TCP Data received {"connection_id":134761,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134761,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:46:55] local.INFO: Processing buffer {"connection_id":134761,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:46:55] local.INFO: IMEI packet received {"connection_id":134761,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 13:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":134761,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:46:59] local.INFO: TCP Data received {"connection_id":132366,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132366,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:46:59] local.INFO: Processing buffer {"connection_id":132366,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:46:59] local.INFO: IMEI packet received {"connection_id":132366,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 13:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":132366,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:47:03] local.INFO: TCP Data received {"connection_id":133404,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:47:03] local.INFO: Processing buffer {"connection_id":133404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:47:03] local.INFO: IMEI packet received {"connection_id":133404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":133404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:47:04] local.INFO: TCP Data received {"connection_id":132366,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132366,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:47:04] local.INFO: Processing buffer {"connection_id":132366,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:47:04] local.INFO: IMEI packet received {"connection_id":132366,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 13:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":132366,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:47:05] local.INFO: TCP Data received {"connection_id":132366,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f64d65948012d78298005cfd338000800811f..."} 
[2026-07-15 13:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64d65948012d78298005cfd338000800811f..."} 
[2026-07-15 13:47:05] local.INFO: Processing buffer {"connection_id":132366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64d65948012d78298005cfd338000800811f..."} 
[2026-07-15 13:47:05] local.INFO: Packet analysis {"connection_id":132366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64d6"} 
[2026-07-15 13:47:05] local.INFO: Extracted packet for processing {"connection_id":132366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64d6"} 
[2026-07-15 13:47:05] local.INFO: GPS Element Parsed {"raw_longitude":762849664,"raw_latitude":97506104,"longitude_deg":76.2849664,"latitude_deg":9.7506104,"altitude":8,"angle":129,"satellites":31,"speed":0,"hex_longitude":"2d782980","hex_latitude":"05cfd338","is_valid_coordinates":true} 
[2026-07-15 13:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730418176001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106446284780470272,"note":"Value kept but may cause issues"} 
[2026-07-15 13:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8658592521046407168,"note":"Value kept but may cause issues"} 
[2026-07-15 13:47:05] 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-07-15 13:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784103197000,"timestamp_ms":1784103197000,"timestamp_seconds":1784103197,"priority":1,"record_length":96,"hex_timestamp":"0000019f64d65948"} 
[2026-07-15 13:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:47:05] 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-07-15 13:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-15 13:47:05] 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-07-15 13:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730418176001,"66":12917,"34":206,"85":15104,"24":0,"16":106446284780470272,"45":8658592521046407168},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,45]} 
[2026-07-15 13:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730418176001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:47:05] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-15 13:47:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106446284780470272,"km_value":106446284780470.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8658592521046407168,"description":"Unknown IO ID 45"} 
[2026-07-15 13:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730418176001,"power":12917,"unknown_34":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8658592521046407168}} 
[2026-07-15 13:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":132366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491055,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:47:05] local.INFO: GPS data processed {"connection_id":132366,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:47:05] local.INFO: Acknowledgment sent {"connection_id":132366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:47:06] local.INFO: TCP Data received {"connection_id":133404,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:47:06] local.INFO: Processing buffer {"connection_id":133404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:47:06] local.INFO: IMEI packet received {"connection_id":133404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":133404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:47:11] local.INFO: TCP Data received {"connection_id":133404,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:47:11] local.INFO: Processing buffer {"connection_id":133404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:47:11] local.INFO: IMEI packet received {"connection_id":133404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":133404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:47:12] local.INFO: TCP Data received {"connection_id":133404,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64d864b8012d7dab0005a6fa08001100a430..."} 
[2026-07-15 13:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64d864b8012d7dab0005a6fa08001100a430..."} 
[2026-07-15 13:47:12] local.INFO: Processing buffer {"connection_id":133404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64d864b8012d7dab0005a6fa08001100a430..."} 
[2026-07-15 13:47:12] local.INFO: Packet analysis {"connection_id":133404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64d8"} 
[2026-07-15 13:47:12] local.INFO: Extracted packet for processing {"connection_id":133404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64d8"} 
[2026-07-15 13:47:12] local.INFO: GPS Element Parsed {"raw_longitude":763210496,"raw_latitude":94829064,"longitude_deg":76.3210496,"latitude_deg":9.4829064,"altitude":17,"angle":164,"satellites":48,"speed":33,"hex_longitude":"2d7dab00","hex_latitude":"05a6fa08","is_valid_coordinates":true} 
[2026-07-15 13:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730449920001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347128087315480576,"note":"Value kept but may cause issues"} 
[2026-07-15 13:47:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9052657487758327808,"note":"Value kept but may cause issues"} 
[2026-07-15 13:47:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784103331000,"timestamp_ms":1784103331000,"timestamp_seconds":1784103331,"priority":1,"record_length":96,"hex_timestamp":"0000019f64d864b8"} 
[2026-07-15 13:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:47:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-15 13:47:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:47:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":133404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":133404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":133404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:47:12] 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-07-15 13:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730449920001,"66":27843,"166":206,"85":14336,"24":33,"16":347128087315480576,"45":9052657487758327808},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-07-15 13:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730449920001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:47:12] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-15 13:47:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347128087315480576,"km_value":347128087315480.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:47:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9052657487758327808,"description":"Unknown IO ID 45"} 
[2026-07-15 13:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730449920001,"power":27843,"unknown_166":206,"unknown_85":14336,"ignition":33,"odometer":null,"unknown_45":9052657487758327808}} 
[2026-07-15 13:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":133404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:47:12] local.INFO: GPS data processed {"connection_id":133404,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:47:12] local.INFO: Acknowledgment sent {"connection_id":133404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:47:14] local.INFO: TCP Data received {"connection_id":133404,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64d88fb0012d7db4c005a6d690001100a430..."} 
[2026-07-15 13:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64d88fb0012d7db4c005a6d690001100a430..."} 
[2026-07-15 13:47:14] local.INFO: Processing buffer {"connection_id":133404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64d88fb0012d7db4c005a6d690001100a430..."} 
[2026-07-15 13:47:14] local.INFO: Packet analysis {"connection_id":133404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64d8"} 
[2026-07-15 13:47:14] local.INFO: Extracted packet for processing {"connection_id":133404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64d8"} 
[2026-07-15 13:47:14] local.INFO: GPS Element Parsed {"raw_longitude":763212992,"raw_latitude":94819984,"longitude_deg":76.3212992,"latitude_deg":9.4819984,"altitude":17,"angle":164,"satellites":48,"speed":34,"hex_longitude":"2d7db4c0","hex_latitude":"05a6d690","is_valid_coordinates":true} 
[2026-07-15 13:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730452736001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347128542582013952,"note":"Value kept but may cause issues"} 
[2026-07-15 13:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9055331500034754560,"note":"Value kept but may cause issues"} 
[2026-07-15 13:47:14] 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-07-15 13:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784103342000,"timestamp_ms":1784103342000,"timestamp_seconds":1784103342,"priority":1,"record_length":96,"hex_timestamp":"0000019f64d88fb0"} 
[2026-07-15 13:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:47:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-15 13:47:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:47:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":133404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":133404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":133404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:47:14] 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-07-15 13:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730452736001,"66":27745,"34":206,"85":14336,"24":34,"16":347128542582013952,"45":9055331500034754560},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,45]} 
[2026-07-15 13:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730452736001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:47:14] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-15 13:47:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347128542582013952,"km_value":347128542582013.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9055331500034754560,"description":"Unknown IO ID 45"} 
[2026-07-15 13:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730452736001,"power":27745,"unknown_34":206,"unknown_85":14336,"ignition":34,"odometer":null,"unknown_45":9055331500034754560}} 
[2026-07-15 13:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":133404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:47:14] local.INFO: GPS data processed {"connection_id":133404,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:47:14] local.INFO: Acknowledgment sent {"connection_id":133404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:47:34] local.INFO: TCP Data received {"connection_id":134762,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134762,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:47:34] local.INFO: Processing buffer {"connection_id":134762,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:47:34] local.INFO: IMEI packet received {"connection_id":134762,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 13:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":134762,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:47:36] local.INFO: TCP Data received {"connection_id":132366,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f64d65948012d78298005cfd338000800811f..."} 
[2026-07-15 13:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64d65948012d78298005cfd338000800811f..."} 
[2026-07-15 13:47:36] local.INFO: Processing buffer {"connection_id":132366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64d65948012d78298005cfd338000800811f..."} 
[2026-07-15 13:47:36] local.INFO: Packet analysis {"connection_id":132366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64d6"} 
[2026-07-15 13:47:36] local.INFO: Extracted packet for processing {"connection_id":132366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64d6"} 
[2026-07-15 13:47:36] local.INFO: GPS Element Parsed {"raw_longitude":762849664,"raw_latitude":97506104,"longitude_deg":76.2849664,"latitude_deg":9.7506104,"altitude":8,"angle":129,"satellites":31,"speed":0,"hex_longitude":"2d782980","hex_latitude":"05cfd338","is_valid_coordinates":true} 
[2026-07-15 13:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730418176001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106446284780470272,"note":"Value kept but may cause issues"} 
[2026-07-15 13:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8658592521046407168,"note":"Value kept but may cause issues"} 
[2026-07-15 13:47:36] 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-07-15 13:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784103197000,"timestamp_ms":1784103197000,"timestamp_seconds":1784103197,"priority":1,"record_length":96,"hex_timestamp":"0000019f64d65948"} 
[2026-07-15 13:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 13:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-15 13:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:47:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730418176001,"66":12917,"34":206,"85":15104,"24":0,"16":106446284780470272,"45":8658592521046407168},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,45]} 
[2026-07-15 13:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730418176001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:47:36] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-15 13:47:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106446284780470272,"km_value":106446284780470.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8658592521046407168,"description":"Unknown IO ID 45"} 
[2026-07-15 13:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730418176001,"power":12917,"unknown_34":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8658592521046407168}} 
[2026-07-15 13:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":132366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491058,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:47:36] local.INFO: GPS data processed {"connection_id":132366,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:47:36] local.INFO: Acknowledgment sent {"connection_id":132366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:47:45] local.INFO: TCP Data received {"connection_id":133404,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64d8baa8012d7dbe8005a6b348001100a430..."} 
[2026-07-15 13:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64d8baa8012d7dbe8005a6b348001100a430..."} 
[2026-07-15 13:47:45] local.INFO: Processing buffer {"connection_id":133404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64d8baa8012d7dbe8005a6b348001100a430..."} 
[2026-07-15 13:47:45] local.INFO: Packet analysis {"connection_id":133404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64d8"} 
[2026-07-15 13:47:45] local.INFO: Extracted packet for processing {"connection_id":133404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64d8"} 
[2026-07-15 13:47:45] local.INFO: GPS Element Parsed {"raw_longitude":763215488,"raw_latitude":94810952,"longitude_deg":76.3215488,"latitude_deg":9.4810952,"altitude":17,"angle":164,"satellites":48,"speed":33,"hex_longitude":"2d7dbe80","hex_latitude":"05a6b348","is_valid_coordinates":true} 
[2026-07-15 13:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730455552001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347128997848547328,"note":"Value kept but may cause issues"} 
[2026-07-15 13:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9058075881055358976,"note":"Value kept but may cause issues"} 
[2026-07-15 13:47:45] 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-07-15 13:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784103353000,"timestamp_ms":1784103353000,"timestamp_seconds":1784103353,"priority":1,"record_length":96,"hex_timestamp":"0000019f64d8baa8"} 
[2026-07-15 13:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:47:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-15 13:47:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:47:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":133404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":133404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":133404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730455552001,"66":27930,"34":206,"85":14336,"24":33,"16":347128997848547328,"45":9058075881055358976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,45]} 
[2026-07-15 13:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730455552001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:47:45] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-15 13:47:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347128997848547328,"km_value":347128997848547.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9058075881055358976,"description":"Unknown IO ID 45"} 
[2026-07-15 13:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730455552001,"power":27930,"unknown_34":206,"unknown_85":14336,"ignition":33,"odometer":null,"unknown_45":9058075881055358976}} 
[2026-07-15 13:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":133404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:47:45] local.INFO: GPS data processed {"connection_id":133404,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:47:45] local.INFO: Acknowledgment sent {"connection_id":133404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:47:59] local.INFO: TCP Data received {"connection_id":133405,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133405,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:47:59] local.INFO: Processing buffer {"connection_id":133405,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:47:59] local.INFO: IMEI packet received {"connection_id":133405,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 13:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":133405,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:48:01] local.INFO: TCP Data received {"connection_id":132560,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:48:01] local.INFO: Processing buffer {"connection_id":132560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:48:01] local.INFO: IMEI packet received {"connection_id":132560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":132560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:48:04] local.INFO: TCP Data received {"connection_id":132560,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:48:04] local.INFO: Processing buffer {"connection_id":132560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:48:04] local.INFO: IMEI packet received {"connection_id":132560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":132560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:48:04] local.INFO: TCP Data received {"connection_id":133405,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133405,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:48:04] local.INFO: Processing buffer {"connection_id":133405,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:48:04] local.INFO: IMEI packet received {"connection_id":133405,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 13:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":133405,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:48:05] local.INFO: TCP Data received {"connection_id":132560,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64d8e5a0012d7dc88005a69018001200a330..."} 
[2026-07-15 13:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64d8e5a0012d7dc88005a69018001200a330..."} 
[2026-07-15 13:48:05] local.INFO: Processing buffer {"connection_id":132560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64d8e5a0012d7dc88005a69018001200a330..."} 
[2026-07-15 13:48:05] local.INFO: Packet analysis {"connection_id":132560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64d8"} 
[2026-07-15 13:48:05] local.INFO: Extracted packet for processing {"connection_id":132560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64d8"} 
[2026-07-15 13:48:05] local.INFO: GPS Element Parsed {"raw_longitude":763218048,"raw_latitude":94801944,"longitude_deg":76.3218048,"latitude_deg":9.4801944,"altitude":18,"angle":163,"satellites":48,"speed":33,"hex_longitude":"2d7dc880","hex_latitude":"05a69018","is_valid_coordinates":true} 
[2026-07-15 13: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-07-15 13:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730458368001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347129448820113408,"note":"Value kept but may cause issues"} 
[2026-07-15 13:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9060820262075975680,"note":"Value kept but may cause issues"} 
[2026-07-15 13:48:05] 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-07-15 13:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784103364000,"timestamp_ms":1784103364000,"timestamp_seconds":1784103364,"priority":1,"record_length":96,"hex_timestamp":"0000019f64d8e5a0"} 
[2026-07-15 13:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-15 13:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13: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-07-15 13:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730458368001,"66":27821,"34":206,"85":14336,"24":33,"16":347129448820113408,"45":9060820262075975680},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,45]} 
[2026-07-15 13:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730458368001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:48:05] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-15 13:48:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347129448820113408,"km_value":347129448820113.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9060820262075975680,"description":"Unknown IO ID 45"} 
[2026-07-15 13:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730458368001,"power":27821,"unknown_34":206,"unknown_85":14336,"ignition":33,"odometer":null,"unknown_45":9060820262075975680}} 
[2026-07-15 13:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":132560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:48:05] local.INFO: GPS data processed {"connection_id":132560,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:48:05] local.INFO: Acknowledgment sent {"connection_id":132560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:48:05] local.INFO: TCP Data received {"connection_id":133405,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f64d65948012d78298005cfd338000800811f..."} 
[2026-07-15 13:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64d65948012d78298005cfd338000800811f..."} 
[2026-07-15 13:48:05] local.INFO: Processing buffer {"connection_id":133405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64d65948012d78298005cfd338000800811f..."} 
[2026-07-15 13:48:05] local.INFO: Packet analysis {"connection_id":133405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64d6"} 
[2026-07-15 13:48:05] local.INFO: Extracted packet for processing {"connection_id":133405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64d6"} 
[2026-07-15 13:48:05] local.INFO: GPS Element Parsed {"raw_longitude":762849664,"raw_latitude":97506104,"longitude_deg":76.2849664,"latitude_deg":9.7506104,"altitude":8,"angle":129,"satellites":31,"speed":0,"hex_longitude":"2d782980","hex_latitude":"05cfd338","is_valid_coordinates":true} 
[2026-07-15 13: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-07-15 13:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730418176001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106446284780470272,"note":"Value kept but may cause issues"} 
[2026-07-15 13:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8658592521046407168,"note":"Value kept but may cause issues"} 
[2026-07-15 13:48:05] 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-07-15 13:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784103197000,"timestamp_ms":1784103197000,"timestamp_seconds":1784103197,"priority":1,"record_length":96,"hex_timestamp":"0000019f64d65948"} 
[2026-07-15 13:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:48:05] 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-07-15 13: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":117,"data_length":795,"current_offset":136} 
[2026-07-15 13:48:05] 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-07-15 13: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-07-15 13:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":133405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":133405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":133405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730418176001,"66":12917,"34":206,"85":15104,"24":0,"16":106446284780470272,"45":8658592521046407168},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,45]} 
[2026-07-15 13:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730418176001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:48:05] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-15 13:48:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106446284780470272,"km_value":106446284780470.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8658592521046407168,"description":"Unknown IO ID 45"} 
[2026-07-15 13:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730418176001,"power":12917,"unknown_34":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8658592521046407168}} 
[2026-07-15 13:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":133405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491061,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:48:05] local.INFO: GPS data processed {"connection_id":133405,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:48:05] local.INFO: Acknowledgment sent {"connection_id":133405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:48:36] local.INFO: TCP Data received {"connection_id":133405,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f64daf110012d7828c005cfd3380008008120..."} 
[2026-07-15 13:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64daf110012d7828c005cfd3380008008120..."} 
[2026-07-15 13:48:36] local.INFO: Processing buffer {"connection_id":133405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64daf110012d7828c005cfd3380008008120..."} 
[2026-07-15 13:48:36] local.INFO: Packet analysis {"connection_id":133405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64da"} 
[2026-07-15 13:48:36] local.INFO: Extracted packet for processing {"connection_id":133405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64da"} 
[2026-07-15 13:48:36] local.INFO: GPS Element Parsed {"raw_longitude":762849472,"raw_latitude":97506104,"longitude_deg":76.2849472,"latitude_deg":9.7506104,"altitude":8,"angle":129,"satellites":32,"speed":0,"hex_longitude":"2d7828c0","hex_latitude":"05cfd338","is_valid_coordinates":true} 
[2026-07-15 13: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-07-15 13:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730418432001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106446284780470272,"note":"Value kept but may cause issues"} 
[2026-07-15 13:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8658592521046407168,"note":"Value kept but may cause issues"} 
[2026-07-15 13:48:36] 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-07-15 13:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784103498000,"timestamp_ms":1784103498000,"timestamp_seconds":1784103498,"priority":1,"record_length":96,"hex_timestamp":"0000019f64daf110"} 
[2026-07-15 13:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 13:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-15 13:48:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":133405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":133405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":133405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730418432001,"66":12939,"34":206,"85":15104,"24":0,"16":106446284780470272,"45":8658592521046407168},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,45]} 
[2026-07-15 13:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730418432001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:48:36] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-15 13:48:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106446284780470272,"km_value":106446284780470.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8658592521046407168,"description":"Unknown IO ID 45"} 
[2026-07-15 13:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730418432001,"power":12939,"unknown_34":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8658592521046407168}} 
[2026-07-15 13:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":133405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491062,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:48:36] local.INFO: GPS data processed {"connection_id":133405,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:48:36] local.INFO: Acknowledgment sent {"connection_id":133405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:48:36] local.INFO: TCP Data received {"connection_id":132560,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64d91098012d7dd5c005a66d780011009830..."} 
[2026-07-15 13:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64d91098012d7dd5c005a66d780011009830..."} 
[2026-07-15 13:48:36] local.INFO: Processing buffer {"connection_id":132560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64d91098012d7dd5c005a66d780011009830..."} 
[2026-07-15 13:48:36] local.INFO: Packet analysis {"connection_id":132560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64d9"} 
[2026-07-15 13:48:36] local.INFO: Extracted packet for processing {"connection_id":132560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64d9"} 
[2026-07-15 13:48:36] local.INFO: GPS Element Parsed {"raw_longitude":763221440,"raw_latitude":94793080,"longitude_deg":76.322144,"latitude_deg":9.479308,"altitude":17,"angle":152,"satellites":48,"speed":34,"hex_longitude":"2d7dd5c0","hex_latitude":"05a66d78","is_valid_coordinates":true} 
[2026-07-15 13: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-07-15 13:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730461184001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347129908381614080,"note":"Value kept but may cause issues"} 
[2026-07-15 13:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9063635011840776192,"note":"Value kept but may cause issues"} 
[2026-07-15 13:48:36] 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-07-15 13:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784103375000,"timestamp_ms":1784103375000,"timestamp_seconds":1784103375,"priority":1,"record_length":96,"hex_timestamp":"0000019f64d91098"} 
[2026-07-15 13:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 13:48:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:48: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-07-15 13:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730461184001,"66":27865,"34":206,"85":14336,"24":34,"16":347129908381614080,"45":9063635011840776192},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,45]} 
[2026-07-15 13:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730461184001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:48:36] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-15 13:48:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347129908381614080,"km_value":347129908381614.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9063635011840776192,"description":"Unknown IO ID 45"} 
[2026-07-15 13:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730461184001,"power":27865,"unknown_34":206,"unknown_85":14336,"ignition":34,"odometer":null,"unknown_45":9063635011840776192}} 
[2026-07-15 13:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":132560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:48:36] local.INFO: GPS data processed {"connection_id":132560,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:48:36] local.INFO: Acknowledgment sent {"connection_id":132560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:48:59] local.INFO: TCP Data received {"connection_id":134763,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:48:59] local.INFO: Processing buffer {"connection_id":134763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:48:59] local.INFO: IMEI packet received {"connection_id":134763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":134763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:48:59] local.INFO: TCP Data received {"connection_id":132561,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132561,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:48:59] local.INFO: Processing buffer {"connection_id":132561,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:48:59] local.INFO: IMEI packet received {"connection_id":132561,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 13:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":132561,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:49:01] local.INFO: TCP Data received {"connection_id":134763,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:49:01] local.INFO: Processing buffer {"connection_id":134763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:49:01] local.INFO: IMEI packet received {"connection_id":134763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":134763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:49:04] local.INFO: TCP Data received {"connection_id":132561,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132561,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:49:04] local.INFO: Processing buffer {"connection_id":132561,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:49:04] local.INFO: IMEI packet received {"connection_id":132561,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 13:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":132561,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:49:05] local.INFO: TCP Data received {"connection_id":132561,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f64daf110012d7828c005cfd3380008008120..."} 
[2026-07-15 13:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64daf110012d7828c005cfd3380008008120..."} 
[2026-07-15 13:49:05] local.INFO: Processing buffer {"connection_id":132561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64daf110012d7828c005cfd3380008008120..."} 
[2026-07-15 13:49:05] local.INFO: Packet analysis {"connection_id":132561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64da"} 
[2026-07-15 13:49:05] local.INFO: Extracted packet for processing {"connection_id":132561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64da"} 
[2026-07-15 13:49:05] local.INFO: GPS Element Parsed {"raw_longitude":762849472,"raw_latitude":97506104,"longitude_deg":76.2849472,"latitude_deg":9.7506104,"altitude":8,"angle":129,"satellites":32,"speed":0,"hex_longitude":"2d7828c0","hex_latitude":"05cfd338","is_valid_coordinates":true} 
[2026-07-15 13:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730418432001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106446284780470272,"note":"Value kept but may cause issues"} 
[2026-07-15 13:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8658592521046407168,"note":"Value kept but may cause issues"} 
[2026-07-15 13:49:05] 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-07-15 13:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784103498000,"timestamp_ms":1784103498000,"timestamp_seconds":1784103498,"priority":1,"record_length":96,"hex_timestamp":"0000019f64daf110"} 
[2026-07-15 13:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:49:05] 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-07-15 13:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-15 13:49:05] 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-07-15 13:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132561,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132561,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730418432001,"66":12939,"34":206,"85":15104,"24":0,"16":106446284780470272,"45":8658592521046407168},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,45]} 
[2026-07-15 13:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730418432001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:49:05] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-15 13:49:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106446284780470272,"km_value":106446284780470.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8658592521046407168,"description":"Unknown IO ID 45"} 
[2026-07-15 13:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730418432001,"power":12939,"unknown_34":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8658592521046407168}} 
[2026-07-15 13:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":132561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491064,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:49:05] local.INFO: GPS data processed {"connection_id":132561,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:49:05] local.INFO: Acknowledgment sent {"connection_id":132561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:49:06] local.INFO: TCP Data received {"connection_id":134763,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:49:06] local.INFO: Processing buffer {"connection_id":134763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:49:06] local.INFO: IMEI packet received {"connection_id":134763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":134763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:49:08] local.INFO: TCP Data received {"connection_id":134763,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64daa6d8012d7f000005a5a438000c007430..."} 
[2026-07-15 13:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64daa6d8012d7f000005a5a438000c007430..."} 
[2026-07-15 13:49:08] local.INFO: Processing buffer {"connection_id":134763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64daa6d8012d7f000005a5a438000c007430..."} 
[2026-07-15 13:49:08] local.INFO: Packet analysis {"connection_id":134763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64da"} 
[2026-07-15 13:49:08] local.INFO: Extracted packet for processing {"connection_id":134763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64da"} 
[2026-07-15 13:49:08] local.INFO: GPS Element Parsed {"raw_longitude":763297792,"raw_latitude":94741560,"longitude_deg":76.3297792,"latitude_deg":9.474156,"altitude":12,"angle":116,"satellites":48,"speed":34,"hex_longitude":"2d7f0000","hex_latitude":"05a5a438","is_valid_coordinates":true} 
[2026-07-15 13:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730487808001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347134388032503808,"note":"Value kept but may cause issues"} 
[2026-07-15 13:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9142096161584474112,"note":"Value kept but may cause issues"} 
[2026-07-15 13:49:08] 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-07-15 13:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784103479000,"timestamp_ms":1784103479000,"timestamp_seconds":1784103479,"priority":1,"record_length":96,"hex_timestamp":"0000019f64daa6d8"} 
[2026-07-15 13:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-15 13:49:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:49:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:49:08] 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-07-15 13:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730487808001,"66":27843,"54":206,"85":14336,"24":34,"16":347134388032503808,"45":9142096161584474112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,85,24,16,45]} 
[2026-07-15 13:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730487808001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:49:08] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-07-15 13:49:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347134388032503808,"km_value":347134388032503.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9142096161584474112,"description":"Unknown IO ID 45"} 
[2026-07-15 13:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730487808001,"power":27843,"unknown_54":206,"unknown_85":14336,"ignition":34,"odometer":null,"unknown_45":9142096161584474112}} 
[2026-07-15 13:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":134763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:49:08] local.INFO: GPS data processed {"connection_id":134763,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:49:08] local.INFO: Acknowledgment sent {"connection_id":134763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:49:36] local.INFO: TCP Data received {"connection_id":132561,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f64daf110012d7828c005cfd3380008008120..."} 
[2026-07-15 13:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64daf110012d7828c005cfd3380008008120..."} 
[2026-07-15 13:49:36] local.INFO: Processing buffer {"connection_id":132561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64daf110012d7828c005cfd3380008008120..."} 
[2026-07-15 13:49:36] local.INFO: Packet analysis {"connection_id":132561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64da"} 
[2026-07-15 13:49:36] local.INFO: Extracted packet for processing {"connection_id":132561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64da"} 
[2026-07-15 13:49:36] local.INFO: GPS Element Parsed {"raw_longitude":762849472,"raw_latitude":97506104,"longitude_deg":76.2849472,"latitude_deg":9.7506104,"altitude":8,"angle":129,"satellites":32,"speed":0,"hex_longitude":"2d7828c0","hex_latitude":"05cfd338","is_valid_coordinates":true} 
[2026-07-15 13:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730418432001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106446284780470272,"note":"Value kept but may cause issues"} 
[2026-07-15 13:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8658592521046407168,"note":"Value kept but may cause issues"} 
[2026-07-15 13:49:36] 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-07-15 13:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784103498000,"timestamp_ms":1784103498000,"timestamp_seconds":1784103498,"priority":1,"record_length":96,"hex_timestamp":"0000019f64daf110"} 
[2026-07-15 13:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 13:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-15 13:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132561,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132561,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730418432001,"66":12939,"34":206,"85":15104,"24":0,"16":106446284780470272,"45":8658592521046407168},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,45]} 
[2026-07-15 13:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730418432001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:49:36] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-15 13:49:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106446284780470272,"km_value":106446284780470.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8658592521046407168,"description":"Unknown IO ID 45"} 
[2026-07-15 13:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730418432001,"power":12939,"unknown_34":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8658592521046407168}} 
[2026-07-15 13:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":132561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491066,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:49:36] local.INFO: GPS data processed {"connection_id":132561,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:49:36] local.INFO: Acknowledgment sent {"connection_id":132561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:49:39] local.INFO: TCP Data received {"connection_id":134763,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64dad1d0012d7f224005a59440000b007030..."} 
[2026-07-15 13:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64dad1d0012d7f224005a59440000b007030..."} 
[2026-07-15 13:49:39] local.INFO: Processing buffer {"connection_id":134763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64dad1d0012d7f224005a59440000b007030..."} 
[2026-07-15 13:49:39] local.INFO: Packet analysis {"connection_id":134763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64da"} 
[2026-07-15 13:49:39] local.INFO: Extracted packet for processing {"connection_id":134763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64da"} 
[2026-07-15 13:49:39] local.INFO: GPS Element Parsed {"raw_longitude":763306560,"raw_latitude":94737472,"longitude_deg":76.330656,"latitude_deg":9.4737472,"altitude":11,"angle":112,"satellites":48,"speed":34,"hex_longitude":"2d7f2240","hex_latitude":"05a59440","is_valid_coordinates":true} 
[2026-07-15 13:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730490624001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347134851888971776,"note":"Value kept but may cause issues"} 
[2026-07-15 13:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9151314467070687232,"note":"Value kept but may cause issues"} 
[2026-07-15 13:49:39] 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-07-15 13:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784103490000,"timestamp_ms":1784103490000,"timestamp_seconds":1784103490,"priority":1,"record_length":96,"hex_timestamp":"0000019f64dad1d0"} 
[2026-07-15 13:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-15 13:49:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:49: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-07-15 13:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730490624001,"66":27887,"54":206,"85":14336,"24":34,"16":347134851888971776,"45":9151314467070687232},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,85,24,16,45]} 
[2026-07-15 13:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730490624001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:49:39] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-07-15 13:49:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347134851888971776,"km_value":347134851888971.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9151314467070687232,"description":"Unknown IO ID 45"} 
[2026-07-15 13:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730490624001,"power":27887,"unknown_54":206,"unknown_85":14336,"ignition":34,"odometer":null,"unknown_45":9151314467070687232}} 
[2026-07-15 13:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":134763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:49:39] local.INFO: GPS data processed {"connection_id":134763,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:49:39] local.INFO: Acknowledgment sent {"connection_id":134763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:49:59] local.INFO: TCP Data received {"connection_id":133406,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133406,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:49:59] local.INFO: Processing buffer {"connection_id":133406,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:49:59] local.INFO: IMEI packet received {"connection_id":133406,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 13:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":133406,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:50:01] local.INFO: TCP Data received {"connection_id":132369,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:50:01] local.INFO: Processing buffer {"connection_id":132369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:50:01] local.INFO: IMEI packet received {"connection_id":132369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":132369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:50:04] local.INFO: TCP Data received {"connection_id":133406,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133406,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:50:04] local.INFO: Processing buffer {"connection_id":133406,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:50:04] local.INFO: IMEI packet received {"connection_id":133406,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 13:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":133406,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:50:05] local.INFO: TCP Data received {"connection_id":133406,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f64daf110012d7828c005cfd3380008008120..."} 
[2026-07-15 13:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64daf110012d7828c005cfd3380008008120..."} 
[2026-07-15 13:50:05] local.INFO: Processing buffer {"connection_id":133406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64daf110012d7828c005cfd3380008008120..."} 
[2026-07-15 13:50:05] local.INFO: Packet analysis {"connection_id":133406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64da"} 
[2026-07-15 13:50:05] local.INFO: Extracted packet for processing {"connection_id":133406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64da"} 
[2026-07-15 13:50:05] local.INFO: GPS Element Parsed {"raw_longitude":762849472,"raw_latitude":97506104,"longitude_deg":76.2849472,"latitude_deg":9.7506104,"altitude":8,"angle":129,"satellites":32,"speed":0,"hex_longitude":"2d7828c0","hex_latitude":"05cfd338","is_valid_coordinates":true} 
[2026-07-15 13: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-07-15 13:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730418432001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106446284780470272,"note":"Value kept but may cause issues"} 
[2026-07-15 13:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8658592521046407168,"note":"Value kept but may cause issues"} 
[2026-07-15 13:50:05] 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-07-15 13:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784103498000,"timestamp_ms":1784103498000,"timestamp_seconds":1784103498,"priority":1,"record_length":96,"hex_timestamp":"0000019f64daf110"} 
[2026-07-15 13:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:50:05] 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-07-15 13:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-15 13:50:05] 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-07-15 13: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-07-15 13:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":133406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":133406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":133406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730418432001,"66":12939,"34":206,"85":15104,"24":0,"16":106446284780470272,"45":8658592521046407168},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,45]} 
[2026-07-15 13:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730418432001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:50:05] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-15 13:50:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106446284780470272,"km_value":106446284780470.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8658592521046407168,"description":"Unknown IO ID 45"} 
[2026-07-15 13:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730418432001,"power":12939,"unknown_34":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8658592521046407168}} 
[2026-07-15 13:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":133406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491068,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:50:05] local.INFO: GPS data processed {"connection_id":133406,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:50:05] local.INFO: Acknowledgment sent {"connection_id":133406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:50:06] local.INFO: TCP Data received {"connection_id":132369,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:50:06] local.INFO: Processing buffer {"connection_id":132369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:50:06] local.INFO: IMEI packet received {"connection_id":132369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":132369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:50:07] local.INFO: TCP Data received {"connection_id":132369,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64dafcc8012d7f448005a584b8000a007230..."} 
[2026-07-15 13:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64dafcc8012d7f448005a584b8000a007230..."} 
[2026-07-15 13:50:07] local.INFO: Processing buffer {"connection_id":132369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64dafcc8012d7f448005a584b8000a007230..."} 
[2026-07-15 13:50:07] local.INFO: Packet analysis {"connection_id":132369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64da"} 
[2026-07-15 13:50:07] local.INFO: Extracted packet for processing {"connection_id":132369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64da"} 
[2026-07-15 13:50:07] local.INFO: GPS Element Parsed {"raw_longitude":763315328,"raw_latitude":94733496,"longitude_deg":76.3315328,"latitude_deg":9.4733496,"altitude":10,"angle":114,"satellites":48,"speed":34,"hex_longitude":"2d7f4480","hex_latitude":"05a584b8","is_valid_coordinates":true} 
[2026-07-15 13:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730493440001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347135311450472448,"note":"Value kept but may cause issues"} 
[2026-07-15 13:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9160954985021980672,"note":"Value kept but may cause issues"} 
[2026-07-15 13:50:07] 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-07-15 13:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784103501000,"timestamp_ms":1784103501000,"timestamp_seconds":1784103501,"priority":1,"record_length":96,"hex_timestamp":"0000019f64dafcc8"} 
[2026-07-15 13:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-15 13:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:50:07] 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-07-15 13:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730493440001,"66":27919,"54":206,"85":14336,"24":34,"16":347135311450472448,"45":9160954985021980672},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,85,24,16,45]} 
[2026-07-15 13:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730493440001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:50:07] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-07-15 13:50:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347135311450472448,"km_value":347135311450472.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9160954985021980672,"description":"Unknown IO ID 45"} 
[2026-07-15 13:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730493440001,"power":27919,"unknown_54":206,"unknown_85":14336,"ignition":34,"odometer":null,"unknown_45":9160954985021980672}} 
[2026-07-15 13:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":132369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:50:07] local.INFO: GPS data processed {"connection_id":132369,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:50:07] local.INFO: Acknowledgment sent {"connection_id":132369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:50:38] local.INFO: TCP Data received {"connection_id":132369,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64db27c0012d7f660005a575980007007230..."} 
[2026-07-15 13:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64db27c0012d7f660005a575980007007230..."} 
[2026-07-15 13:50:38] local.INFO: Processing buffer {"connection_id":132369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64db27c0012d7f660005a575980007007230..."} 
[2026-07-15 13:50:38] local.INFO: Packet analysis {"connection_id":132369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64db"} 
[2026-07-15 13:50:38] local.INFO: Extracted packet for processing {"connection_id":132369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64db"} 
[2026-07-15 13:50:38] local.INFO: GPS Element Parsed {"raw_longitude":763323904,"raw_latitude":94729624,"longitude_deg":76.3323904,"latitude_deg":9.4729624,"altitude":7,"angle":114,"satellites":48,"speed":33,"hex_longitude":"2d7f6600","hex_latitude":"05a57598","is_valid_coordinates":true} 
[2026-07-15 13:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730496256001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347135762422038528,"note":"Value kept but may cause issues"} 
[2026-07-15 13:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9170595502973302784,"note":"Value kept but may cause issues"} 
[2026-07-15 13:50:38] 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-07-15 13:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784103512000,"timestamp_ms":1784103512000,"timestamp_seconds":1784103512,"priority":1,"record_length":96,"hex_timestamp":"0000019f64db27c0"} 
[2026-07-15 13:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 13:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:50:38] 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-07-15 13:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730496256001,"66":27995,"54":206,"85":14336,"24":33,"16":347135762422038528,"45":9170595502973302784},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,85,24,16,45]} 
[2026-07-15 13:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730496256001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:50:38] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-07-15 13:50:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347135762422038528,"km_value":347135762422038.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9170595502973302784,"description":"Unknown IO ID 45"} 
[2026-07-15 13:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730496256001,"power":27995,"unknown_54":206,"unknown_85":14336,"ignition":33,"odometer":null,"unknown_45":9170595502973302784}} 
[2026-07-15 13:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":132369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:50:38] local.INFO: GPS data processed {"connection_id":132369,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:50:38] local.INFO: Acknowledgment sent {"connection_id":132369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:51:01] local.INFO: TCP Data received {"connection_id":134764,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:51:01] local.INFO: Processing buffer {"connection_id":134764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:51:01] local.INFO: IMEI packet received {"connection_id":134764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":134764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:51:06] local.INFO: TCP Data received {"connection_id":134764,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:51:06] local.INFO: Processing buffer {"connection_id":134764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:51:06] local.INFO: IMEI packet received {"connection_id":134764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":134764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:51:07] local.INFO: TCP Data received {"connection_id":134764,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64db52b8012d7f868005a567100006007130..."} 
[2026-07-15 13:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64db52b8012d7f868005a567100006007130..."} 
[2026-07-15 13:51:07] local.INFO: Processing buffer {"connection_id":134764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64db52b8012d7f868005a567100006007130..."} 
[2026-07-15 13:51:07] local.INFO: Packet analysis {"connection_id":134764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64db"} 
[2026-07-15 13:51:07] local.INFO: Extracted packet for processing {"connection_id":134764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64db"} 
[2026-07-15 13:51:07] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":94725904,"longitude_deg":76.3332224,"latitude_deg":9.4725904,"altitude":6,"angle":113,"satellites":48,"speed":34,"hex_longitude":"2d7f8680","hex_latitude":"05a56710","is_valid_coordinates":true} 
[2026-07-15 13:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730499072001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347136200508702720,"note":"Value kept but may cause issues"} 
[2026-07-15 13:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9180024914692118528,"note":"Value kept but may cause issues"} 
[2026-07-15 13:51:07] 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-07-15 13:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784103523000,"timestamp_ms":1784103523000,"timestamp_seconds":1784103523,"priority":1,"record_length":96,"hex_timestamp":"0000019f64db52b8"} 
[2026-07-15 13:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-15 13:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:51:07] 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-07-15 13:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730499072001,"66":27919,"54":206,"85":14336,"24":34,"16":347136200508702720,"45":9180024914692118528},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,85,24,16,45]} 
[2026-07-15 13:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730499072001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:51:07] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-07-15 13:51:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347136200508702720,"km_value":347136200508702.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9180024914692118528,"description":"Unknown IO ID 45"} 
[2026-07-15 13:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730499072001,"power":27919,"unknown_54":206,"unknown_85":14336,"ignition":34,"odometer":null,"unknown_45":9180024914692118528}} 
[2026-07-15 13:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":134764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:51:07] local.INFO: GPS data processed {"connection_id":134764,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:51:07] local.INFO: Acknowledgment sent {"connection_id":134764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:51:38] local.INFO: TCP Data received {"connection_id":134764,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64db7db0012d7fa90005a559e00007007030..."} 
[2026-07-15 13:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64db7db0012d7fa90005a559e00007007030..."} 
[2026-07-15 13:51:38] local.INFO: Processing buffer {"connection_id":134764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64db7db0012d7fa90005a559e00007007030..."} 
[2026-07-15 13:51:38] local.INFO: Packet analysis {"connection_id":134764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64db"} 
[2026-07-15 13:51:38] local.INFO: Extracted packet for processing {"connection_id":134764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64db"} 
[2026-07-15 13:51:38] local.INFO: GPS Element Parsed {"raw_longitude":763341056,"raw_latitude":94722528,"longitude_deg":76.3341056,"latitude_deg":9.4722528,"altitude":7,"angle":112,"satellites":48,"speed":31,"hex_longitude":"2d7fa900","hex_latitude":"05a559e0","is_valid_coordinates":true} 
[2026-07-15 13:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730501888001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347136655775236096,"note":"Value kept but may cause issues"} 
[2026-07-15 13:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851434262528,"note":"Value kept but may cause issues"} 
[2026-07-15 13:51:38] 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-07-15 13:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784103534000,"timestamp_ms":1784103534000,"timestamp_seconds":1784103534,"priority":1,"record_length":96,"hex_timestamp":"0000019f64db7db0"} 
[2026-07-15 13:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 13:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:51:38] 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-07-15 13:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730501888001,"66":27919,"54":206,"85":14336,"24":31,"16":347136655775236096,"45":9189172851434262528},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,85,24,16,45]} 
[2026-07-15 13:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730501888001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:51:38] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-07-15 13:51:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347136655775236096,"km_value":347136655775236.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851434262528,"description":"Unknown IO ID 45"} 
[2026-07-15 13:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730501888001,"power":27919,"unknown_54":206,"unknown_85":14336,"ignition":31,"odometer":null,"unknown_45":9189172851434262528}} 
[2026-07-15 13:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":134764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:51:38] local.INFO: GPS data processed {"connection_id":134764,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:51:38] local.INFO: Acknowledgment sent {"connection_id":134764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:52:01] local.INFO: TCP Data received {"connection_id":134765,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:52:01] local.INFO: Processing buffer {"connection_id":134765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:52:01] local.INFO: IMEI packet received {"connection_id":134765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":134765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:52:06] local.INFO: TCP Data received {"connection_id":134765,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:52:06] local.INFO: Processing buffer {"connection_id":134765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:52:06] local.INFO: IMEI packet received {"connection_id":134765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":134765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:52:07] local.INFO: TCP Data received {"connection_id":134765,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64dba0d8012d7fbd8005a551800008006230..."} 
[2026-07-15 13:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64dba0d8012d7fbd8005a551800008006230..."} 
[2026-07-15 13:52:07] local.INFO: Processing buffer {"connection_id":134765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64dba0d8012d7fbd8005a551800008006230..."} 
[2026-07-15 13:52:07] local.INFO: Packet analysis {"connection_id":134765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64db"} 
[2026-07-15 13:52:07] local.INFO: Extracted packet for processing {"connection_id":134765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64db"} 
[2026-07-15 13:52:07] local.INFO: GPS Element Parsed {"raw_longitude":763346304,"raw_latitude":94720384,"longitude_deg":76.3346304,"latitude_deg":9.4720384,"altitude":8,"angle":98,"satellites":48,"speed":20,"hex_longitude":"2d7fbd80","hex_latitude":"05a55180","is_valid_coordinates":true} 
[2026-07-15 13:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730504704001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347136926358175744,"note":"Value kept but may cause issues"} 
[2026-07-15 13:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198883738129915904,"note":"Value kept but may cause issues"} 
[2026-07-15 13:52:07] 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-07-15 13:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784103543000,"timestamp_ms":1784103543000,"timestamp_seconds":1784103543,"priority":1,"record_length":96,"hex_timestamp":"0000019f64dba0d8"} 
[2026-07-15 13:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 13:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:52:07] 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-07-15 13:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730504704001,"66":27800,"54":206,"85":14336,"24":20,"16":347136926358175744,"45":9198883738129915904},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,85,24,16,45]} 
[2026-07-15 13:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730504704001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:52:07] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-07-15 13:52:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347136926358175744,"km_value":347136926358175.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198883738129915904,"description":"Unknown IO ID 45"} 
[2026-07-15 13:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730504704001,"power":27800,"unknown_54":206,"unknown_85":14336,"ignition":20,"odometer":null,"unknown_45":9198883738129915904}} 
[2026-07-15 13:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":134765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:52:07] local.INFO: GPS data processed {"connection_id":134765,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:52:07] local.INFO: Acknowledgment sent {"connection_id":134765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:52:38] local.INFO: TCP Data received {"connection_id":134765,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64ddac48012d80644005a488f0000700a430..."} 
[2026-07-15 13:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64ddac48012d80644005a488f0000700a430..."} 
[2026-07-15 13:52:38] local.INFO: Processing buffer {"connection_id":134765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64ddac48012d80644005a488f0000700a430..."} 
[2026-07-15 13:52:38] local.INFO: Packet analysis {"connection_id":134765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64dd"} 
[2026-07-15 13:52:38] local.INFO: Extracted packet for processing {"connection_id":134765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64dd"} 
[2026-07-15 13:52:38] local.INFO: GPS Element Parsed {"raw_longitude":763388992,"raw_latitude":94669040,"longitude_deg":76.3388992,"latitude_deg":9.466904,"altitude":7,"angle":164,"satellites":48,"speed":17,"hex_longitude":"2d806440","hex_latitude":"05a488f0","is_valid_coordinates":true} 
[2026-07-15 13:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730536960001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347140289317568512,"note":"Value kept but may cause issues"} 
[2026-07-15 13:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9196913364806400000,"note":"Value kept but may cause issues"} 
[2026-07-15 13:52: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-07-15 13:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784103677000,"timestamp_ms":1784103677000,"timestamp_seconds":1784103677,"priority":1,"record_length":96,"hex_timestamp":"0000019f64ddac48"} 
[2026-07-15 13:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 13:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:52:38] 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-07-15 13:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730536960001,"66":27821,"53":206,"85":14336,"24":17,"16":347140289317568512,"45":-9196913364806400000},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-15 13:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730536960001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:52:38] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-15 13:52:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347140289317568512,"km_value":347140289317568.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9196913364806400000,"description":"Unknown IO ID 45"} 
[2026-07-15 13:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730536960001,"power":27821,"unknown_53":206,"unknown_85":14336,"ignition":17,"odometer":null,"unknown_45":-9196913364806400000}} 
[2026-07-15 13:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":134765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:52:38] local.INFO: GPS data processed {"connection_id":134765,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:52:38] local.INFO: Acknowledgment sent {"connection_id":134765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:52:50] local.INFO: TCP Data received {"connection_id":134766,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134766,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:52:50] local.INFO: Processing buffer {"connection_id":134766,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:52:50] local.INFO: IMEI packet received {"connection_id":134766,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 13:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":134766,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:53:01] local.INFO: TCP Data received {"connection_id":132370,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:53:01] local.INFO: Processing buffer {"connection_id":132370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:53:01] local.INFO: IMEI packet received {"connection_id":132370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":132370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:53:06] local.INFO: TCP Data received {"connection_id":132370,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:53:06] local.INFO: Processing buffer {"connection_id":132370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:53:06] local.INFO: IMEI packet received {"connection_id":132370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":132370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:53:07] local.INFO: TCP Data received {"connection_id":132370,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64ddfe50012d806a8005a46f68000a009e30..."} 
[2026-07-15 13:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64ddfe50012d806a8005a46f68000a009e30..."} 
[2026-07-15 13:53:07] local.INFO: Processing buffer {"connection_id":132370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64ddfe50012d806a8005a46f68000a009e30..."} 
[2026-07-15 13:53:07] local.INFO: Packet analysis {"connection_id":132370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64dd"} 
[2026-07-15 13:53:07] local.INFO: Extracted packet for processing {"connection_id":132370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64dd"} 
[2026-07-15 13:53:07] local.INFO: GPS Element Parsed {"raw_longitude":763390592,"raw_latitude":94662504,"longitude_deg":76.3390592,"latitude_deg":9.4662504,"altitude":10,"angle":158,"satellites":48,"speed":12,"hex_longitude":"2d806a80","hex_latitude":"05a46f68","is_valid_coordinates":true} 
[2026-07-15 13:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730541312001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347140620030050304,"note":"Value kept but may cause issues"} 
[2026-07-15 13:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9195154146204258304,"note":"Value kept but may cause issues"} 
[2026-07-15 13:53:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,85,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 13:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784103698000,"timestamp_ms":1784103698000,"timestamp_seconds":1784103698,"priority":1,"record_length":96,"hex_timestamp":"0000019f64ddfe50"} 
[2026-07-15 13:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 13:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:53:07] 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-07-15 13:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730541312001,"66":27919,"16":347140620030050304,"85":14336,"24":12,"45":-9195154146204258304},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,85,24,45]} 
[2026-07-15 13:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730541312001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347140620030050304,"km_value":347140620030050.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:53:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9195154146204258304,"description":"Unknown IO ID 45"} 
[2026-07-15 13:53:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456730541312001,"power":27919,"odometer":null,"unknown_85":14336,"ignition":12,"unknown_45":-9195154146204258304}} 
[2026-07-15 13:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":132370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:53:07] local.INFO: GPS data processed {"connection_id":132370,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:53:07] local.INFO: Acknowledgment sent {"connection_id":132370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:53:39] local.INFO: TCP Data received {"connection_id":132370,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64de44a0012d80728005a45290000b00aa30..."} 
[2026-07-15 13:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64de44a0012d80728005a45290000b00aa30..."} 
[2026-07-15 13:53:39] local.INFO: Processing buffer {"connection_id":132370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64de44a0012d80728005a45290000b00aa30..."} 
[2026-07-15 13:53:39] local.INFO: Packet analysis {"connection_id":132370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64de"} 
[2026-07-15 13:53:39] local.INFO: Extracted packet for processing {"connection_id":132370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64de"} 
[2026-07-15 13:53:39] local.INFO: GPS Element Parsed {"raw_longitude":763392640,"raw_latitude":94655120,"longitude_deg":76.339264,"latitude_deg":9.465512,"altitude":11,"angle":170,"satellites":48,"speed":21,"hex_longitude":"2d807280","hex_latitude":"05a45290","is_valid_coordinates":true} 
[2026-07-15 13:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730546688001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347140989397237760,"note":"Value kept but may cause issues"} 
[2026-07-15 13:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9193394927601489920,"note":"Value kept but may cause issues"} 
[2026-07-15 13:53:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,85,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 13:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784103716000,"timestamp_ms":1784103716000,"timestamp_seconds":1784103716,"priority":1,"record_length":96,"hex_timestamp":"0000019f64de44a0"} 
[2026-07-15 13:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:53:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 13:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:53:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:53: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-07-15 13:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730546688001,"66":27908,"16":347140989397237760,"85":14336,"24":21,"45":-9193394927601489920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,85,24,45]} 
[2026-07-15 13:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730546688001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347140989397237760,"km_value":347140989397237.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:53:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9193394927601489920,"description":"Unknown IO ID 45"} 
[2026-07-15 13:53:39] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456730546688001,"power":27908,"odometer":null,"unknown_85":14336,"ignition":21,"unknown_45":-9193394927601489920}} 
[2026-07-15 13:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":132370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:53:39] local.INFO: GPS data processed {"connection_id":132370,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:53:39] local.INFO: Acknowledgment sent {"connection_id":132370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:53:40] local.INFO: TCP Data received {"connection_id":134767,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134767,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:53:40] local.INFO: Processing buffer {"connection_id":134767,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:53:40] local.INFO: IMEI packet received {"connection_id":134767,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 13:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":134767,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:54:01] local.INFO: TCP Data received {"connection_id":132563,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:54:01] local.INFO: Processing buffer {"connection_id":132563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:54:01] local.INFO: IMEI packet received {"connection_id":132563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":132563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:54:06] local.INFO: TCP Data received {"connection_id":132563,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:54:06] local.INFO: Processing buffer {"connection_id":132563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:54:06] local.INFO: IMEI packet received {"connection_id":132563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":132563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:54:07] local.INFO: TCP Data received {"connection_id":132563,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64de8708012d80794005a43070000b00a830..."} 
[2026-07-15 13:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64de8708012d80794005a43070000b00a830..."} 
[2026-07-15 13:54:07] local.INFO: Processing buffer {"connection_id":132563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64de8708012d80794005a43070000b00a830..."} 
[2026-07-15 13:54:07] local.INFO: Packet analysis {"connection_id":132563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64de"} 
[2026-07-15 13:54:07] local.INFO: Extracted packet for processing {"connection_id":132563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64de"} 
[2026-07-15 13:54:07] local.INFO: GPS Element Parsed {"raw_longitude":763394368,"raw_latitude":94646384,"longitude_deg":76.3394368,"latitude_deg":9.4646384,"altitude":11,"angle":168,"satellites":48,"speed":20,"hex_longitude":"2d807940","hex_latitude":"05a43070","is_valid_coordinates":true} 
[2026-07-15 13:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730551296001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347141423188934656,"note":"Value kept but may cause issues"} 
[2026-07-15 13:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9191143127789694976,"note":"Value kept but may cause issues"} 
[2026-07-15 13:54:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,85,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 13:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784103733000,"timestamp_ms":1784103733000,"timestamp_seconds":1784103733,"priority":1,"record_length":96,"hex_timestamp":"0000019f64de8708"} 
[2026-07-15 13:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 13:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:54:07] 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-07-15 13:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730551296001,"66":27745,"16":347141423188934656,"85":14336,"24":20,"45":-9191143127789694976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,85,24,45]} 
[2026-07-15 13:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730551296001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347141423188934656,"km_value":347141423188934.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:54:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9191143127789694976,"description":"Unknown IO ID 45"} 
[2026-07-15 13:54:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456730551296001,"power":27745,"odometer":null,"unknown_85":14336,"ignition":20,"unknown_45":-9191143127789694976}} 
[2026-07-15 13:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":132563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:54:07] local.INFO: GPS data processed {"connection_id":132563,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:54:07] local.INFO: Acknowledgment sent {"connection_id":132563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:54:38] local.INFO: TCP Data received {"connection_id":132563,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64dec970012d80804005a40da8000b00ab30..."} 
[2026-07-15 13:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64dec970012d80804005a40da8000b00ab30..."} 
[2026-07-15 13:54:38] local.INFO: Processing buffer {"connection_id":132563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64dec970012d80804005a40da8000b00ab30..."} 
[2026-07-15 13:54:38] local.INFO: Packet analysis {"connection_id":132563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64de"} 
[2026-07-15 13:54:38] local.INFO: Extracted packet for processing {"connection_id":132563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64de"} 
[2026-07-15 13:54:38] local.INFO: GPS Element Parsed {"raw_longitude":763396160,"raw_latitude":94637480,"longitude_deg":76.339616,"latitude_deg":9.463748,"altitude":11,"angle":171,"satellites":48,"speed":21,"hex_longitude":"2d808040","hex_latitude":"05a40da8","is_valid_coordinates":true} 
[2026-07-15 13: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-07-15 13:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730555648001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347141865570566144,"note":"Value kept but may cause issues"} 
[2026-07-15 13:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9189243171699134464,"note":"Value kept but may cause issues"} 
[2026-07-15 13:54:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,85,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 13:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784103750000,"timestamp_ms":1784103750000,"timestamp_seconds":1784103750,"priority":1,"record_length":96,"hex_timestamp":"0000019f64dec970"} 
[2026-07-15 13:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-15 13:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13: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-07-15 13:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:54:38] 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-07-15 13:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730555648001,"66":27800,"16":347141865570566144,"85":14336,"24":21,"45":-9189243171699134464},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,85,24,45]} 
[2026-07-15 13:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730555648001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347141865570566144,"km_value":347141865570566.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:54:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9189243171699134464,"description":"Unknown IO ID 45"} 
[2026-07-15 13:54:38] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456730555648001,"power":27800,"odometer":null,"unknown_85":14336,"ignition":21,"unknown_45":-9189243171699134464}} 
[2026-07-15 13:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":132563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:54:38] local.INFO: GPS data processed {"connection_id":132563,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:54:38] local.INFO: Acknowledgment sent {"connection_id":132563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:55:01] local.INFO: TCP Data received {"connection_id":132371,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:55:01] local.INFO: Processing buffer {"connection_id":132371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:55:01] local.INFO: IMEI packet received {"connection_id":132371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":132371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:55:06] local.INFO: TCP Data received {"connection_id":132371,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:55:06] local.INFO: Processing buffer {"connection_id":132371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:55:06] local.INFO: IMEI packet received {"connection_id":132371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":132371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:55:07] local.INFO: TCP Data received {"connection_id":132371,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64df0bd8012d80894005a3eb98000900a430..."} 
[2026-07-15 13:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64df0bd8012d80894005a3eb98000900a430..."} 
[2026-07-15 13:55:07] local.INFO: Processing buffer {"connection_id":132371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64df0bd8012d80894005a3eb98000900a430..."} 
[2026-07-15 13:55:07] local.INFO: Packet analysis {"connection_id":132371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64df"} 
[2026-07-15 13:55:07] local.INFO: Extracted packet for processing {"connection_id":132371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64df"} 
[2026-07-15 13:55:07] local.INFO: GPS Element Parsed {"raw_longitude":763398464,"raw_latitude":94628760,"longitude_deg":76.3398464,"latitude_deg":9.462876,"altitude":9,"angle":164,"satellites":48,"speed":21,"hex_longitude":"2d808940","hex_latitude":"05a3eb98","is_valid_coordinates":true} 
[2026-07-15 13:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730560000001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347142303657230336,"note":"Value kept but may cause issues"} 
[2026-07-15 13:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9187272846864439296,"note":"Value kept but may cause issues"} 
[2026-07-15 13:55:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,85,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 13:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784103767000,"timestamp_ms":1784103767000,"timestamp_seconds":1784103767,"priority":1,"record_length":96,"hex_timestamp":"0000019f64df0bd8"} 
[2026-07-15 13:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 13:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:55:07] 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-07-15 13:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730560000001,"66":27908,"16":347142303657230336,"85":14336,"24":21,"45":-9187272846864439296},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,85,24,45]} 
[2026-07-15 13:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730560000001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347142303657230336,"km_value":347142303657230.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:55:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9187272846864439296,"description":"Unknown IO ID 45"} 
[2026-07-15 13:55:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456730560000001,"power":27908,"odometer":null,"unknown_85":14336,"ignition":21,"unknown_45":-9187272846864439296}} 
[2026-07-15 13:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":132371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:55:07] local.INFO: GPS data processed {"connection_id":132371,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:55:07] local.INFO: Acknowledgment sent {"connection_id":132371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:55:14] local.INFO: TCP Data received {"connection_id":133409,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133409,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:55:14] local.INFO: Processing buffer {"connection_id":133409,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:55:14] local.INFO: IMEI packet received {"connection_id":133409,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 13:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":133409,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:55:19] local.INFO: TCP Data received {"connection_id":133409,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133409,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:55:19] local.INFO: Processing buffer {"connection_id":133409,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 13:55:19] local.INFO: IMEI packet received {"connection_id":133409,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 13:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":133409,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:55:20] local.INFO: TCP Data received {"connection_id":133409,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f64dcd570012d7828c005cfd3380008008121..."} 
[2026-07-15 13:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64dcd570012d7828c005cfd3380008008121..."} 
[2026-07-15 13:55:20] local.INFO: Processing buffer {"connection_id":133409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64dcd570012d7828c005cfd3380008008121..."} 
[2026-07-15 13:55:20] local.INFO: Packet analysis {"connection_id":133409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64dc"} 
[2026-07-15 13:55:20] local.INFO: Extracted packet for processing {"connection_id":133409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64dc"} 
[2026-07-15 13:55:20] local.INFO: GPS Element Parsed {"raw_longitude":762849472,"raw_latitude":97506104,"longitude_deg":76.2849472,"latitude_deg":9.7506104,"altitude":8,"angle":129,"satellites":33,"speed":0,"hex_longitude":"2d7828c0","hex_latitude":"05cfd338","is_valid_coordinates":true} 
[2026-07-15 13:55: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-07-15 13:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730527232001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106446284780470272,"note":"Value kept but may cause issues"} 
[2026-07-15 13:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8658381414813874176,"note":"Value kept but may cause issues"} 
[2026-07-15 13:55:20] 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-07-15 13:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1784103622000,"timestamp_ms":1784103622000,"timestamp_seconds":1784103622,"priority":1,"record_length":96,"hex_timestamp":"0000019f64dcd570"} 
[2026-07-15 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-07-15 13:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-15 13:55:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 13:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":133409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":133409,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":133409,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730527232001,"66":12765,"34":206,"85":15104,"24":0,"16":106446284780470272,"45":8658381414813874176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,45]} 
[2026-07-15 13:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730527232001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:55:20] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-15 13:55:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106446284780470272,"km_value":106446284780470.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8658381414813874176,"description":"Unknown IO ID 45"} 
[2026-07-15 13:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730527232001,"power":12765,"unknown_34":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8658381414813874176}} 
[2026-07-15 13:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":133409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491080,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:55:20] local.INFO: GPS data processed {"connection_id":133409,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:55:20] local.INFO: Acknowledgment sent {"connection_id":133409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:55:25] local.INFO: TCP Data received {"connection_id":133409,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f64df88d8012d7828c005cfd3380008008123..."} 
[2026-07-15 13:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64df88d8012d7828c005cfd3380008008123..."} 
[2026-07-15 13:55:25] local.INFO: Processing buffer {"connection_id":133409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64df88d8012d7828c005cfd3380008008123..."} 
[2026-07-15 13:55:25] local.INFO: Packet analysis {"connection_id":133409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64df"} 
[2026-07-15 13:55:25] local.INFO: Extracted packet for processing {"connection_id":133409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64df"} 
[2026-07-15 13:55:25] local.INFO: GPS Element Parsed {"raw_longitude":762849472,"raw_latitude":97506104,"longitude_deg":76.2849472,"latitude_deg":9.7506104,"altitude":8,"angle":129,"satellites":35,"speed":0,"hex_longitude":"2d7828c0","hex_latitude":"05cfd338","is_valid_coordinates":true} 
[2026-07-15 13:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730527232001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106446284780470272,"note":"Value kept but may cause issues"} 
[2026-07-15 13:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8658381414813874176,"note":"Value kept but may cause issues"} 
[2026-07-15 13:55:25] 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-07-15 13:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784103799000,"timestamp_ms":1784103799000,"timestamp_seconds":1784103799,"priority":1,"record_length":96,"hex_timestamp":"0000019f64df88d8"} 
[2026-07-15 13:55:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:55:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 13:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-15 13:55:25] 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-07-15 13:55:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:55:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":133409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":133409,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":133409,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 13:55:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 13:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 13:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730527232001,"66":2264,"34":206,"85":15104,"24":0,"16":106446284780470272,"45":8658381414813874176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,45]} 
[2026-07-15 13:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 13:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 13:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730527232001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:55:25] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-15 13:55:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 13:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106446284780470272,"km_value":106446284780470.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8658381414813874176,"description":"Unknown IO ID 45"} 
[2026-07-15 13:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730527232001,"power":2264,"unknown_34":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8658381414813874176}} 
[2026-07-15 13:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":133409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491081,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:55:25] local.INFO: GPS data processed {"connection_id":133409,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:55:25] local.INFO: Acknowledgment sent {"connection_id":133409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:55:38] local.INFO: TCP Data received {"connection_id":132371,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64df4e40012d808fc005a3c990000900aa30..."} 
[2026-07-15 13:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64df4e40012d808fc005a3c990000900aa30..."} 
[2026-07-15 13:55:38] local.INFO: Processing buffer {"connection_id":132371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64df4e40012d808fc005a3c990000900aa30..."} 
[2026-07-15 13:55:38] local.INFO: Packet analysis {"connection_id":132371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64df"} 
[2026-07-15 13:55:38] local.INFO: Extracted packet for processing {"connection_id":132371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64df"} 
[2026-07-15 13:55:38] local.INFO: GPS Element Parsed {"raw_longitude":763400128,"raw_latitude":94620048,"longitude_deg":76.3400128,"latitude_deg":9.4620048,"altitude":9,"angle":170,"satellites":48,"speed":20,"hex_longitude":"2d808fc0","hex_latitude":"05a3c990","is_valid_coordinates":true} 
[2026-07-15 13: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-07-15 13:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730564352001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347142733153959936,"note":"Value kept but may cause issues"} 
[2026-07-15 13:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9184739572076275712,"note":"Value kept but may cause issues"} 
[2026-07-15 13:55:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,85,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 13:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784103784000,"timestamp_ms":1784103784000,"timestamp_seconds":1784103784,"priority":1,"record_length":96,"hex_timestamp":"0000019f64df4e40"} 
[2026-07-15 13:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 13:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13: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-07-15 13:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:55:38] 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-07-15 13:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730564352001,"66":27800,"16":347142733153959936,"85":14336,"24":20,"45":-9184739572076275712},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,85,24,45]} 
[2026-07-15 13:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730564352001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347142733153959936,"km_value":347142733153959.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:55:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9184739572076275712,"description":"Unknown IO ID 45"} 
[2026-07-15 13:55:38] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456730564352001,"power":27800,"odometer":null,"unknown_85":14336,"ignition":20,"unknown_45":-9184739572076275712}} 
[2026-07-15 13:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":132371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:55:38] local.INFO: GPS data processed {"connection_id":132371,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:55:38] local.INFO: Acknowledgment sent {"connection_id":132371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:56:06] local.INFO: TCP Data received {"connection_id":132373,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:56:06] local.INFO: Processing buffer {"connection_id":132373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:56:06] local.INFO: IMEI packet received {"connection_id":132373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":132373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:56:07] local.INFO: TCP Data received {"connection_id":132373,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:56:07] local.INFO: Processing buffer {"connection_id":132373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:56:07] local.INFO: IMEI packet received {"connection_id":132373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":132373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:56:11] local.INFO: TCP Data received {"connection_id":132373,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:56:11] local.INFO: Processing buffer {"connection_id":132373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:56:11] local.INFO: IMEI packet received {"connection_id":132373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":132373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:56:12] local.INFO: TCP Data received {"connection_id":132373,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64df90a8012d8095c005a3a6a0000900ad2e..."} 
[2026-07-15 13:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64df90a8012d8095c005a3a6a0000900ad2e..."} 
[2026-07-15 13:56:12] local.INFO: Processing buffer {"connection_id":132373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64df90a8012d8095c005a3a6a0000900ad2e..."} 
[2026-07-15 13:56:12] local.INFO: Packet analysis {"connection_id":132373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64df"} 
[2026-07-15 13:56:12] local.INFO: Extracted packet for processing {"connection_id":132373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64df"} 
[2026-07-15 13:56:12] local.INFO: GPS Element Parsed {"raw_longitude":763401664,"raw_latitude":94611104,"longitude_deg":76.3401664,"latitude_deg":9.4611104,"altitude":9,"angle":173,"satellites":46,"speed":20,"hex_longitude":"2d8095c0","hex_latitude":"05a3a6a0","is_valid_coordinates":true} 
[2026-07-15 13:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730568704001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347143175535591424,"note":"Value kept but may cause issues"} 
[2026-07-15 13:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9182909984729886720,"note":"Value kept but may cause issues"} 
[2026-07-15 13:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784103801000,"timestamp_ms":1784103801000,"timestamp_seconds":1784103801,"priority":1,"record_length":96,"hex_timestamp":"0000019f64df90a8"} 
[2026-07-15 13:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 13:56:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:56:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:56:12] 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-07-15 13:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730568704001,"66":27800,"17":206,"85":14336,"24":20,"16":347143175535591424,"45":-9182909984729886720},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-07-15 13:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730568704001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:56:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347143175535591424,"km_value":347143175535591.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9182909984729886720,"description":"Unknown IO ID 45"} 
[2026-07-15 13:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730568704001,"power":27800,"axis_x":206,"unknown_85":14336,"ignition":20,"odometer":null,"unknown_45":-9182909984729886720}} 
[2026-07-15 13:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":132373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:56:12] local.INFO: GPS data processed {"connection_id":132373,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:56:12] local.INFO: Acknowledgment sent {"connection_id":132373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:56:16] local.INFO: TCP Data received {"connection_id":132373,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64dfd310012d809b0005a383a0000800ad2f..."} 
[2026-07-15 13:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64dfd310012d809b0005a383a0000800ad2f..."} 
[2026-07-15 13:56:16] local.INFO: Processing buffer {"connection_id":132373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64dfd310012d809b0005a383a0000800ad2f..."} 
[2026-07-15 13:56:16] local.INFO: Packet analysis {"connection_id":132373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64df"} 
[2026-07-15 13:56:16] local.INFO: Extracted packet for processing {"connection_id":132373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64df"} 
[2026-07-15 13:56:16] local.INFO: GPS Element Parsed {"raw_longitude":763403008,"raw_latitude":94602144,"longitude_deg":76.3403008,"latitude_deg":9.4602144,"altitude":8,"angle":173,"satellites":47,"speed":21,"hex_longitude":"2d809b00","hex_latitude":"05a383a0","is_valid_coordinates":true} 
[2026-07-15 13:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730573056001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347143613622255616,"note":"Value kept but may cause issues"} 
[2026-07-15 13:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9181221134871912448,"note":"Value kept but may cause issues"} 
[2026-07-15 13:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784103818000,"timestamp_ms":1784103818000,"timestamp_seconds":1784103818,"priority":1,"record_length":96,"hex_timestamp":"0000019f64dfd310"} 
[2026-07-15 13:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:56:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 13:56:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:56:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:56:16] 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-07-15 13:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730573056001,"66":27974,"17":206,"85":14336,"24":21,"16":347143613622255616,"45":-9181221134871912448},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-07-15 13:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730573056001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:56:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347143613622255616,"km_value":347143613622255.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9181221134871912448,"description":"Unknown IO ID 45"} 
[2026-07-15 13:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730573056001,"power":27974,"axis_x":206,"unknown_85":14336,"ignition":21,"odometer":null,"unknown_45":-9181221134871912448}} 
[2026-07-15 13:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":132373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:56:16] local.INFO: GPS data processed {"connection_id":132373,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:56:16] local.INFO: Acknowledgment sent {"connection_id":132373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:57:01] local.INFO: TCP Data received {"connection_id":134768,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:57:01] local.INFO: Processing buffer {"connection_id":134768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:57:01] local.INFO: IMEI packet received {"connection_id":134768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":134768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:57:06] local.INFO: TCP Data received {"connection_id":134768,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:57:06] local.INFO: Processing buffer {"connection_id":134768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:57:06] local.INFO: IMEI packet received {"connection_id":134768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":134768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:57:07] local.INFO: TCP Data received {"connection_id":134768,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64e01578012d80a08005a36080000900aa2f..."} 
[2026-07-15 13:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64e01578012d80a08005a36080000900aa2f..."} 
[2026-07-15 13:57:07] local.INFO: Processing buffer {"connection_id":134768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64e01578012d80a08005a36080000900aa2f..."} 
[2026-07-15 13:57:07] local.INFO: Packet analysis {"connection_id":134768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64e0"} 
[2026-07-15 13:57:07] local.INFO: Extracted packet for processing {"connection_id":134768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64e0"} 
[2026-07-15 13:57:07] local.INFO: GPS Element Parsed {"raw_longitude":763404416,"raw_latitude":94593152,"longitude_deg":76.3404416,"latitude_deg":9.4593152,"altitude":9,"angle":170,"satellites":47,"speed":20,"hex_longitude":"2d80a080","hex_latitude":"05a36080","is_valid_coordinates":true} 
[2026-07-15 13:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730577408001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347144056003887104,"note":"Value kept but may cause issues"} 
[2026-07-15 13:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9179743391246475264,"note":"Value kept but may cause issues"} 
[2026-07-15 13:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784103835000,"timestamp_ms":1784103835000,"timestamp_seconds":1784103835,"priority":1,"record_length":96,"hex_timestamp":"0000019f64e01578"} 
[2026-07-15 13:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-15 13:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:57:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:57:07] 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-07-15 13:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730577408001,"66":27745,"17":206,"85":14336,"24":20,"16":347144056003887104,"45":-9179743391246475264},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-07-15 13:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730577408001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:57:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347144056003887104,"km_value":347144056003887.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9179743391246475264,"description":"Unknown IO ID 45"} 
[2026-07-15 13:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730577408001,"power":27745,"axis_x":206,"unknown_85":14336,"ignition":20,"odometer":null,"unknown_45":-9179743391246475264}} 
[2026-07-15 13:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":134768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:57:07] local.INFO: GPS data processed {"connection_id":134768,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:57:07] local.INFO: Acknowledgment sent {"connection_id":134768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:57:38] local.INFO: TCP Data received {"connection_id":134768,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64e06398012d80a5c005a33d00000900ac2f..."} 
[2026-07-15 13:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64e06398012d80a5c005a33d00000900ac2f..."} 
[2026-07-15 13:57:38] local.INFO: Processing buffer {"connection_id":134768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64e06398012d80a5c005a33d00000900ac2f..."} 
[2026-07-15 13:57:38] local.INFO: Packet analysis {"connection_id":134768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64e0"} 
[2026-07-15 13:57:38] local.INFO: Extracted packet for processing {"connection_id":134768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64e0"} 
[2026-07-15 13:57:38] local.INFO: GPS Element Parsed {"raw_longitude":763405760,"raw_latitude":94584064,"longitude_deg":76.340576,"latitude_deg":9.4584064,"altitude":9,"angle":172,"satellites":47,"speed":16,"hex_longitude":"2d80a5c0","hex_latitude":"05a33d00","is_valid_coordinates":true} 
[2026-07-15 13:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730581760001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347144502680485888,"note":"Value kept but may cause issues"} 
[2026-07-15 13:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9178195278876868608,"note":"Value kept but may cause issues"} 
[2026-07-15 13:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784103855000,"timestamp_ms":1784103855000,"timestamp_seconds":1784103855,"priority":1,"record_length":96,"hex_timestamp":"0000019f64e06398"} 
[2026-07-15 13:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-15 13:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:57:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:57:38] 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-07-15 13:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730581760001,"66":27908,"17":206,"85":14336,"24":16,"16":347144502680485888,"45":-9178195278876868608},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-07-15 13:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730581760001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:57:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347144502680485888,"km_value":347144502680485.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9178195278876868608,"description":"Unknown IO ID 45"} 
[2026-07-15 13:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730581760001,"power":27908,"axis_x":206,"unknown_85":14336,"ignition":16,"odometer":null,"unknown_45":-9178195278876868608}} 
[2026-07-15 13:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":134768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:57:38] local.INFO: GPS data processed {"connection_id":134768,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:57:38] local.INFO: Acknowledgment sent {"connection_id":134768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:58:01] local.INFO: TCP Data received {"connection_id":132566,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:58:01] local.INFO: Processing buffer {"connection_id":132566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:58:01] local.INFO: IMEI packet received {"connection_id":132566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":132566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:58:05] local.INFO: TCP Data received {"connection_id":132566,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:58:05] local.INFO: Processing buffer {"connection_id":132566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:58:05] local.INFO: IMEI packet received {"connection_id":132566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":132566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:58:06] local.INFO: TCP Data received {"connection_id":132566,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64e0a9e8012d80aac005a319f8000a00ad2f..."} 
[2026-07-15 13:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64e0a9e8012d80aac005a319f8000a00ad2f..."} 
[2026-07-15 13:58:06] local.INFO: Processing buffer {"connection_id":132566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64e0a9e8012d80aac005a319f8000a00ad2f..."} 
[2026-07-15 13:58:06] local.INFO: Packet analysis {"connection_id":132566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64e0"} 
[2026-07-15 13:58:06] local.INFO: Extracted packet for processing {"connection_id":132566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64e0"} 
[2026-07-15 13:58:06] local.INFO: GPS Element Parsed {"raw_longitude":763407040,"raw_latitude":94575096,"longitude_deg":76.340704,"latitude_deg":9.4575096,"altitude":10,"angle":173,"satellites":47,"speed":22,"hex_longitude":"2d80aac0","hex_latitude":"05a319f8","is_valid_coordinates":true} 
[2026-07-15 13:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730586880001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347144940767150080,"note":"Value kept but may cause issues"} 
[2026-07-15 13:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176717535251464192,"note":"Value kept but may cause issues"} 
[2026-07-15 13:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784103873000,"timestamp_ms":1784103873000,"timestamp_seconds":1784103873,"priority":1,"record_length":96,"hex_timestamp":"0000019f64e0a9e8"} 
[2026-07-15 13:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 13:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:58:06] 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-07-15 13:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730586880001,"66":27919,"83":206,"85":14336,"24":22,"16":347144940767150080,"45":-9176717535251464192},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-07-15 13:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730586880001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:58:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-15 13:58:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347144940767150080,"km_value":347144940767150.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176717535251464192,"description":"Unknown IO ID 45"} 
[2026-07-15 13:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730586880001,"power":27919,"unknown_83":206,"unknown_85":14336,"ignition":22,"odometer":null,"unknown_45":-9176717535251464192}} 
[2026-07-15 13:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":132566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:58:06] local.INFO: GPS data processed {"connection_id":132566,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:58:06] local.INFO: Acknowledgment sent {"connection_id":132566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:58:37] local.INFO: TCP Data received {"connection_id":132566,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64e0ec50012d80b0c005a2f720000900ab2e..."} 
[2026-07-15 13:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64e0ec50012d80b0c005a2f720000900ab2e..."} 
[2026-07-15 13:58:37] local.INFO: Processing buffer {"connection_id":132566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64e0ec50012d80b0c005a2f720000900ab2e..."} 
[2026-07-15 13:58:37] local.INFO: Packet analysis {"connection_id":132566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64e0"} 
[2026-07-15 13:58:37] local.INFO: Extracted packet for processing {"connection_id":132566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64e0"} 
[2026-07-15 13:58:37] local.INFO: GPS Element Parsed {"raw_longitude":763408576,"raw_latitude":94566176,"longitude_deg":76.3408576,"latitude_deg":9.4566176,"altitude":9,"angle":171,"satellites":46,"speed":21,"hex_longitude":"2d80b0c0","hex_latitude":"05a2f720","is_valid_coordinates":true} 
[2026-07-15 13:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730591488001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347145378853814272,"note":"Value kept but may cause issues"} 
[2026-07-15 13:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9175310160370206720,"note":"Value kept but may cause issues"} 
[2026-07-15 13:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784103890000,"timestamp_ms":1784103890000,"timestamp_seconds":1784103890,"priority":1,"record_length":96,"hex_timestamp":"0000019f64e0ec50"} 
[2026-07-15 13:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 13:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 13:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730591488001,"66":27908,"83":206,"85":14336,"24":21,"16":347145378853814272,"45":-9175310160370206720},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-07-15 13:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730591488001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:58:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-15 13:58:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347145378853814272,"km_value":347145378853814.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9175310160370206720,"description":"Unknown IO ID 45"} 
[2026-07-15 13:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730591488001,"power":27908,"unknown_83":206,"unknown_85":14336,"ignition":21,"odometer":null,"unknown_45":-9175310160370206720}} 
[2026-07-15 13:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":132566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:58:37] local.INFO: GPS data processed {"connection_id":132566,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:58:37] local.INFO: Acknowledgment sent {"connection_id":132566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:58:55] local.INFO: TCP Data received {"connection_id":132567,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132567,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:58:55] local.INFO: Processing buffer {"connection_id":132567,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:58:55] local.INFO: IMEI packet received {"connection_id":132567,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 13:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":132567,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:58:59] local.INFO: TCP Data received {"connection_id":133411,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:58:59] local.INFO: Processing buffer {"connection_id":133411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:58:59] local.INFO: IMEI packet received {"connection_id":133411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":133411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:59:01] local.INFO: TCP Data received {"connection_id":133411,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:59:01] local.INFO: Processing buffer {"connection_id":133411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:59:01] local.INFO: IMEI packet received {"connection_id":133411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":133411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:59:06] local.INFO: TCP Data received {"connection_id":133411,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:59:06] local.INFO: Processing buffer {"connection_id":133411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:59:06] local.INFO: IMEI packet received {"connection_id":133411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 13:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":133411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 13:59:07] local.INFO: TCP Data received {"connection_id":133411,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64e397e8012d80f1c005a19260000a00aa2f..."} 
[2026-07-15 13:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64e397e8012d80f1c005a19260000a00aa2f..."} 
[2026-07-15 13:59:07] local.INFO: Processing buffer {"connection_id":133411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64e397e8012d80f1c005a19260000a00aa2f..."} 
[2026-07-15 13:59:07] local.INFO: Packet analysis {"connection_id":133411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64e3"} 
[2026-07-15 13:59:07] local.INFO: Extracted packet for processing {"connection_id":133411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64e3"} 
[2026-07-15 13:59:07] local.INFO: GPS Element Parsed {"raw_longitude":763425216,"raw_latitude":94474848,"longitude_deg":76.3425216,"latitude_deg":9.4474848,"altitude":10,"angle":170,"satellites":47,"speed":22,"hex_longitude":"2d80f1c0","hex_latitude":"05a19260","is_valid_coordinates":true} 
[2026-07-15 13:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 13:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730636032001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347149888569475072,"note":"Value kept but may cause issues"} 
[2026-07-15 13:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9157155024395749376,"note":"Value kept but may cause issues"} 
[2026-07-15 13:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784104065000,"timestamp_ms":1784104065000,"timestamp_seconds":1784104065,"priority":1,"record_length":96,"hex_timestamp":"0000019f64e397e8"} 
[2026-07-15 13:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 13:59:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13:59:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 13:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:59:07] 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-07-15 13:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730636032001,"66":27865,"82":206,"85":14336,"24":22,"16":347149888569475072,"45":-9157155024395749376},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 13:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730636032001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:59:07] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 13:59:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347149888569475072,"km_value":347149888569475.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9157155024395749376,"description":"Unknown IO ID 45"} 
[2026-07-15 13:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730636032001,"power":27865,"unknown_82":206,"unknown_85":14336,"ignition":22,"odometer":null,"unknown_45":-9157155024395749376}} 
[2026-07-15 13:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":133411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:59:07] local.INFO: GPS data processed {"connection_id":133411,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:59:07] local.INFO: Acknowledgment sent {"connection_id":133411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:59:33] local.INFO: TCP Data received {"connection_id":132374,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132374,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:59:33] local.INFO: Processing buffer {"connection_id":132374,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 13:59:33] local.INFO: IMEI packet received {"connection_id":132374,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 13:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":132374,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 13:59:38] local.INFO: TCP Data received {"connection_id":133411,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f64e3ce98012d80f90005a17070000a00a82e..."} 
[2026-07-15 13:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64e3ce98012d80f90005a17070000a00a82e..."} 
[2026-07-15 13:59:38] local.INFO: Processing buffer {"connection_id":133411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64e3ce98012d80f90005a17070000a00a82e..."} 
[2026-07-15 13:59:38] local.INFO: Packet analysis {"connection_id":133411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64e3"} 
[2026-07-15 13:59:38] local.INFO: Extracted packet for processing {"connection_id":133411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64e3"} 
[2026-07-15 13:59:38] local.INFO: GPS Element Parsed {"raw_longitude":763427072,"raw_latitude":94466160,"longitude_deg":76.3427072,"latitude_deg":9.446616,"altitude":10,"angle":168,"satellites":46,"speed":32,"hex_longitude":"2d80f900","hex_latitude":"05a17070","is_valid_coordinates":true} 
[2026-07-15 13: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-07-15 13:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730640640001,"note":"Value kept but may cause issues"} 
[2026-07-15 13:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347150322361171968,"note":"Value kept but may cause issues"} 
[2026-07-15 13:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155325437049413632,"note":"Value kept but may cause issues"} 
[2026-07-15 13:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 13:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784104079000,"timestamp_ms":1784104079000,"timestamp_seconds":1784104079,"priority":1,"record_length":96,"hex_timestamp":"0000019f64e3ce98"} 
[2026-07-15 13:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 13:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-15 13:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 13: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-07-15 13:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 13:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 13:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 13:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 13:59:38] 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-07-15 13:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 13:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 13:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730640640001,"66":27800,"82":206,"85":14336,"24":32,"16":347150322361171968,"45":-9155325437049413632},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 13:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 13:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 13:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730640640001,"description":"Unknown IO ID 0"} 
[2026-07-15 13:59:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 13:59:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 13:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347150322361171968,"km_value":347150322361171.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 13:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155325437049413632,"description":"Unknown IO ID 45"} 
[2026-07-15 13:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730640640001,"power":27800,"unknown_82":206,"unknown_85":14336,"ignition":32,"odometer":null,"unknown_45":-9155325437049413632}} 
[2026-07-15 13:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":133411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 13:59:38] local.INFO: GPS data processed {"connection_id":133411,"processed":1,"errors":0,"total":1} 
[2026-07-15 13:59:38] local.INFO: Acknowledgment sent {"connection_id":133411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 13:59:59] local.INFO: TCP Data received {"connection_id":132375,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:59:59] local.INFO: Processing buffer {"connection_id":132375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 13:59:59] local.INFO: IMEI packet received {"connection_id":132375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 13:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":132375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:00:00] local.INFO: TCP Data received {"connection_id":132375,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:00:00] local.INFO: Processing buffer {"connection_id":132375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:00:00] local.INFO: IMEI packet received {"connection_id":132375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":132375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:00:01] local.INFO: TCP Data received {"connection_id":132375,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:00:01] local.INFO: Processing buffer {"connection_id":132375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:00:01] local.INFO: IMEI packet received {"connection_id":132375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":132375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:00:13] local.INFO: TCP Data received {"connection_id":132375,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:00:13] local.INFO: Processing buffer {"connection_id":132375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:00:13] local.INFO: IMEI packet received {"connection_id":132375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":132375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:01:54] local.INFO: TCP Data received {"connection_id":132569,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132569,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:01:54] local.INFO: Processing buffer {"connection_id":132569,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:01:54] local.INFO: IMEI packet received {"connection_id":132569,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 14:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":132569,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:01:55] local.INFO: TCP Data received {"connection_id":132569,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132569,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:01:55] local.INFO: Processing buffer {"connection_id":132569,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:01:55] local.INFO: IMEI packet received {"connection_id":132569,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":132569,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:01:57] local.INFO: TCP Data received {"connection_id":132569,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132569,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:01:57] local.INFO: Processing buffer {"connection_id":132569,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:01:57] local.INFO: IMEI packet received {"connection_id":132569,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":132569,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:01:59] local.INFO: TCP Data received {"connection_id":132569,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132569,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:01:59] local.INFO: Processing buffer {"connection_id":132569,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:01:59] local.INFO: IMEI packet received {"connection_id":132569,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":132569,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:02:00] local.INFO: TCP Data received {"connection_id":132569,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64e58be8012d7828c005cfd3380008008124..."} 
[2026-07-15 14:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64e58be8012d7828c005cfd3380008008124..."} 
[2026-07-15 14:02:00] local.INFO: Processing buffer {"connection_id":132569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64e58be8012d7828c005cfd3380008008124..."} 
[2026-07-15 14:02:00] local.INFO: Packet analysis {"connection_id":132569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64e5"} 
[2026-07-15 14:02:00] local.INFO: Extracted packet for processing {"connection_id":132569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64e5"} 
[2026-07-15 14:02:00] local.INFO: GPS Element Parsed {"raw_longitude":762849472,"raw_latitude":97506104,"longitude_deg":76.2849472,"latitude_deg":9.7506104,"altitude":8,"angle":129,"satellites":36,"speed":0,"hex_longitude":"2d7828c0","hex_latitude":"05cfd338","is_valid_coordinates":true} 
[2026-07-15 14:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730572544001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106446284780470272,"note":"Value kept but may cause issues"} 
[2026-07-15 14:02:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8658381414813874176,"note":"Value kept but may cause issues"} 
[2026-07-15 14:02:00] 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-07-15 14:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784104193000,"timestamp_ms":1784104193000,"timestamp_seconds":1784104193,"priority":1,"record_length":96,"hex_timestamp":"0000019f64e58be8"} 
[2026-07-15 14:02:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:02:00] 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-07-15 14:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 14:02:00] 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-07-15 14:02:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:02:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":132569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":132569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":132569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:02:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730572544001,"66":2253,"24":0,"16":106446284780470272,"45":8658381414813874176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-07-15 14:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730572544001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106446284780470272,"km_value":106446284780470.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:02:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8658381414813874176,"description":"Unknown IO ID 45"} 
[2026-07-15 14:02:00] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":456730572544001,"power":2253,"ignition":0,"odometer":null,"unknown_45":8658381414813874176}} 
[2026-07-15 14:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":132569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491091,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:02:00] local.INFO: GPS data processed {"connection_id":132569,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:02:00] local.INFO: Acknowledgment sent {"connection_id":132569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:02:30] local.INFO: TCP Data received {"connection_id":132569,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64e6bc98012d7828c005cfd3380008008124..."} 
[2026-07-15 14:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64e6bc98012d7828c005cfd3380008008124..."} 
[2026-07-15 14:02:30] local.INFO: Processing buffer {"connection_id":132569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64e6bc98012d7828c005cfd3380008008124..."} 
[2026-07-15 14:02:30] local.INFO: Packet analysis {"connection_id":132569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64e6"} 
[2026-07-15 14:02:30] local.INFO: Extracted packet for processing {"connection_id":132569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64e6"} 
[2026-07-15 14:02:30] local.INFO: GPS Element Parsed {"raw_longitude":762849472,"raw_latitude":97506104,"longitude_deg":76.2849472,"latitude_deg":9.7506104,"altitude":8,"angle":129,"satellites":36,"speed":0,"hex_longitude":"2d7828c0","hex_latitude":"05cfd338","is_valid_coordinates":true} 
[2026-07-15 14:02:30] 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-07-15 14:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730673408001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106446284780470272,"note":"Value kept but may cause issues"} 
[2026-07-15 14:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8658381414813874176,"note":"Value kept but may cause issues"} 
[2026-07-15 14:02:30] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-07-15 14:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784104271000,"timestamp_ms":1784104271000,"timestamp_seconds":1784104271,"priority":1,"record_length":96,"hex_timestamp":"0000019f64e6bc98"} 
[2026-07-15 14:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:02:30] 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-07-15 14: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 14:02:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14: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-07-15 14:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":132569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":132569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":132569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:02:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730673408001,"66":2253,"24":0,"16":106446284780470272,"45":8658381414813874176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-07-15 14:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730673408001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106446284780470272,"km_value":106446284780470.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8658381414813874176,"description":"Unknown IO ID 45"} 
[2026-07-15 14:02:30] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":456730673408001,"power":2253,"ignition":0,"odometer":null,"unknown_45":8658381414813874176}} 
[2026-07-15 14:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":132569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491092,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:02:30] local.INFO: GPS data processed {"connection_id":132569,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:02:30] local.INFO: Acknowledgment sent {"connection_id":132569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:03:01] local.INFO: TCP Data received {"connection_id":134771,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134771,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:03:01] local.INFO: Processing buffer {"connection_id":134771,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:03:01] local.INFO: IMEI packet received {"connection_id":134771,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 14:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":134771,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:03:04] local.INFO: TCP Data received {"connection_id":134771,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134771,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:03:04] local.INFO: Processing buffer {"connection_id":134771,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:03:04] local.INFO: IMEI packet received {"connection_id":134771,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":134771,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:03:08] local.INFO: TCP Data received {"connection_id":134771,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134771,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:03:08] local.INFO: Processing buffer {"connection_id":134771,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:03:08] local.INFO: IMEI packet received {"connection_id":134771,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":134771,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:03:09] local.INFO: TCP Data received {"connection_id":134771,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64e827e0012d7862c005cfc2280000007724..."} 
[2026-07-15 14:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64e827e0012d7862c005cfc2280000007724..."} 
[2026-07-15 14:03:09] local.INFO: Processing buffer {"connection_id":134771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64e827e0012d7862c005cfc2280000007724..."} 
[2026-07-15 14:03:09] local.INFO: Packet analysis {"connection_id":134771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64e8"} 
[2026-07-15 14:03:09] local.INFO: Extracted packet for processing {"connection_id":134771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64e8"} 
[2026-07-15 14:03:09] local.INFO: GPS Element Parsed {"raw_longitude":762864320,"raw_latitude":97501736,"longitude_deg":76.286432,"latitude_deg":9.7501736,"altitude":0,"angle":119,"satellites":36,"speed":13,"hex_longitude":"2d7862c0","hex_latitude":"05cfc228","is_valid_coordinates":true} 
[2026-07-15 14:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730715136001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106447032104779776,"note":"Value kept but may cause issues"} 
[2026-07-15 14:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8673088482346000384,"note":"Value kept but may cause issues"} 
[2026-07-15 14:03:09] 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-07-15 14:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784104364000,"timestamp_ms":1784104364000,"timestamp_seconds":1784104364,"priority":1,"record_length":96,"hex_timestamp":"0000019f64e827e0"} 
[2026-07-15 14:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-15 14:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":134771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":134771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":134771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730715136001,"66":13450,"34":206,"85":15104,"24":13,"16":106447032104779776,"45":8673088482346000384},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,45]} 
[2026-07-15 14:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730715136001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:03:09] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-15 14:03:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106447032104779776,"km_value":106447032104779.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8673088482346000384,"description":"Unknown IO ID 45"} 
[2026-07-15 14:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730715136001,"power":13450,"unknown_34":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8673088482346000384}} 
[2026-07-15 14:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":134771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491093,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:03:09] local.INFO: GPS data processed {"connection_id":134771,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:03:09] local.INFO: Acknowledgment sent {"connection_id":134771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:03:10] local.INFO: TCP Data received {"connection_id":134771,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64e82fb0012d78650005cfc0300000008d24..."} 
[2026-07-15 14:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64e82fb0012d78650005cfc0300000008d24..."} 
[2026-07-15 14:03:10] local.INFO: Processing buffer {"connection_id":134771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64e82fb0012d78650005cfc0300000008d24..."} 
[2026-07-15 14:03:10] local.INFO: Packet analysis {"connection_id":134771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64e8"} 
[2026-07-15 14:03:10] local.INFO: Extracted packet for processing {"connection_id":134771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64e8"} 
[2026-07-15 14:03:10] local.INFO: GPS Element Parsed {"raw_longitude":762864896,"raw_latitude":97501232,"longitude_deg":76.2864896,"latitude_deg":9.7501232,"altitude":0,"angle":141,"satellites":36,"speed":16,"hex_longitude":"2d786500","hex_latitude":"05cfc030","is_valid_coordinates":true} 
[2026-07-15 14: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-07-15 14:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730717184001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106447070759485440,"note":"Value kept but may cause issues"} 
[2026-07-15 14:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8674706963461974016,"note":"Value kept but may cause issues"} 
[2026-07-15 14:03:10] 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-07-15 14:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784104366000,"timestamp_ms":1784104366000,"timestamp_seconds":1784104366,"priority":1,"record_length":96,"hex_timestamp":"0000019f64e82fb0"} 
[2026-07-15 14:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:03:10] 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-07-15 14: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-15 14:03:10] 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-07-15 14: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-07-15 14:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":134771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":134771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":134771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730717184001,"66":13428,"34":206,"85":15104,"24":16,"16":106447070759485440,"45":8674706963461974016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,45]} 
[2026-07-15 14:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730717184001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:03:10] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-15 14:03:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106447070759485440,"km_value":106447070759485.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8674706963461974016,"description":"Unknown IO ID 45"} 
[2026-07-15 14:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730717184001,"power":13428,"unknown_34":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8674706963461974016}} 
[2026-07-15 14:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":134771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491094,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:03:10] local.INFO: GPS data processed {"connection_id":134771,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:03:10] local.INFO: Acknowledgment sent {"connection_id":134771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:03:40] local.INFO: TCP Data received {"connection_id":134771,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64e83398012d78660005cfbeb80000009c24..."} 
[2026-07-15 14:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64e83398012d78660005cfbeb80000009c24..."} 
[2026-07-15 14:03:40] local.INFO: Processing buffer {"connection_id":134771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64e83398012d78660005cfbeb80000009c24..."} 
[2026-07-15 14:03:40] local.INFO: Packet analysis {"connection_id":134771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64e8"} 
[2026-07-15 14:03:40] local.INFO: Extracted packet for processing {"connection_id":134771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64e8"} 
[2026-07-15 14:03:40] local.INFO: GPS Element Parsed {"raw_longitude":762865152,"raw_latitude":97500856,"longitude_deg":76.2865152,"latitude_deg":9.7500856,"altitude":0,"angle":156,"satellites":36,"speed":17,"hex_longitude":"2d786600","hex_latitude":"05cfbeb8","is_valid_coordinates":true} 
[2026-07-15 14:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730717696001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106447092234321920,"note":"Value kept but may cause issues"} 
[2026-07-15 14:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8675340282159443968,"note":"Value kept but may cause issues"} 
[2026-07-15 14:03:40] 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-07-15 14:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784104367000,"timestamp_ms":1784104367000,"timestamp_seconds":1784104367,"priority":1,"record_length":96,"hex_timestamp":"0000019f64e83398"} 
[2026-07-15 14:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:03: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-07-15 14:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-15 14:03:40] 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-07-15 14:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":134771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":134771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":134771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730717696001,"66":13428,"34":206,"85":15104,"24":17,"16":106447092234321920,"45":8675340282159443968},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,45]} 
[2026-07-15 14:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730717696001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:03:40] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-15 14:03:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106447092234321920,"km_value":106447092234321.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8675340282159443968,"description":"Unknown IO ID 45"} 
[2026-07-15 14:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730717696001,"power":13428,"unknown_34":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8675340282159443968}} 
[2026-07-15 14:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":134771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491095,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:03:40] local.INFO: GPS data processed {"connection_id":134771,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:03:40] local.INFO: Acknowledgment sent {"connection_id":134771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:03:57] local.INFO: TCP Data received {"connection_id":133417,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133417,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:03:57] local.INFO: Processing buffer {"connection_id":133417,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:03:57] local.INFO: IMEI packet received {"connection_id":133417,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 14:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":133417,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:03:59] local.INFO: TCP Data received {"connection_id":133417,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133417,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:03:59] local.INFO: Processing buffer {"connection_id":133417,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:03:59] local.INFO: IMEI packet received {"connection_id":133417,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":133417,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:04:04] local.INFO: TCP Data received {"connection_id":133417,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133417,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:04:04] local.INFO: Processing buffer {"connection_id":133417,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:04:04] local.INFO: IMEI packet received {"connection_id":133417,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":133417,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:04:05] local.INFO: TCP Data received {"connection_id":133417,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64e90688012d78438005cf2a580000006d21..."} 
[2026-07-15 14:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64e90688012d78438005cf2a580000006d21..."} 
[2026-07-15 14:04:05] local.INFO: Processing buffer {"connection_id":133417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64e90688012d78438005cf2a580000006d21..."} 
[2026-07-15 14:04:05] local.INFO: Packet analysis {"connection_id":133417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64e9"} 
[2026-07-15 14:04:05] local.INFO: Extracted packet for processing {"connection_id":133417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64e9"} 
[2026-07-15 14:04:05] local.INFO: GPS Element Parsed {"raw_longitude":762856320,"raw_latitude":97462872,"longitude_deg":76.285632,"latitude_deg":9.7462872,"altitude":0,"angle":109,"satellites":33,"speed":19,"hex_longitude":"2d784380","hex_latitude":"05cf2a58","is_valid_coordinates":true} 
[2026-07-15 14:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730731520001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106449055034376192,"note":"Value kept but may cause issues"} 
[2026-07-15 14:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8665347920476442624,"note":"Value kept but may cause issues"} 
[2026-07-15 14:04:05] 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-07-15 14:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784104421000,"timestamp_ms":1784104421000,"timestamp_seconds":1784104421,"priority":1,"record_length":96,"hex_timestamp":"0000019f64e90688"} 
[2026-07-15 14:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:04: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-07-15 14:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-15 14:04:05] 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-07-15 14:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":133417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":133417,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":133417,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730731520001,"66":13341,"34":206,"85":15104,"24":19,"16":106449055034376192,"45":8665347920476442624},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,45]} 
[2026-07-15 14:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730731520001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:04:05] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-15 14:04:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106449055034376192,"km_value":106449055034376.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8665347920476442624,"description":"Unknown IO ID 45"} 
[2026-07-15 14:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730731520001,"power":13341,"unknown_34":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8665347920476442624}} 
[2026-07-15 14:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":133417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491096,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:04:05] local.INFO: GPS data processed {"connection_id":133417,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:04:05] local.INFO: Acknowledgment sent {"connection_id":133417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:04:36] local.INFO: TCP Data received {"connection_id":133417,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64e91628012d784dc005cf28d80000005f1d..."} 
[2026-07-15 14:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64e91628012d784dc005cf28d80000005f1d..."} 
[2026-07-15 14:04:36] local.INFO: Processing buffer {"connection_id":133417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64e91628012d784dc005cf28d80000005f1d..."} 
[2026-07-15 14:04:36] local.INFO: Packet analysis {"connection_id":133417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64e9"} 
[2026-07-15 14:04:36] local.INFO: Extracted packet for processing {"connection_id":133417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64e9"} 
[2026-07-15 14:04:36] local.INFO: GPS Element Parsed {"raw_longitude":762858944,"raw_latitude":97462488,"longitude_deg":76.2858944,"latitude_deg":9.7462488,"altitude":0,"angle":95,"satellites":29,"speed":29,"hex_longitude":"2d784dc0","hex_latitude":"05cf28d8","is_valid_coordinates":true} 
[2026-07-15 14:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730731776001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106449183883395072,"note":"Value kept but may cause issues"} 
[2026-07-15 14:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8665910870429816832,"note":"Value kept but may cause issues"} 
[2026-07-15 14:04:36] 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-07-15 14:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784104425000,"timestamp_ms":1784104425000,"timestamp_seconds":1784104425,"priority":1,"record_length":96,"hex_timestamp":"0000019f64e91628"} 
[2026-07-15 14:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:04:36] 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-07-15 14:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-15 14:04:36] 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-07-15 14:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":133417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":133417,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":133417,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730731776001,"66":13243,"34":206,"85":15104,"24":29,"16":106449183883395072,"45":8665910870429816832},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,45]} 
[2026-07-15 14:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730731776001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:04:36] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-15 14:04:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106449183883395072,"km_value":106449183883395.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8665910870429816832,"description":"Unknown IO ID 45"} 
[2026-07-15 14:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730731776001,"power":13243,"unknown_34":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8665910870429816832}} 
[2026-07-15 14:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":133417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491097,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:04:36] local.INFO: GPS data processed {"connection_id":133417,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:04:36] local.INFO: Acknowledgment sent {"connection_id":133417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:04:50] local.INFO: TCP Data received {"connection_id":132570,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132570,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:04:50] local.INFO: Processing buffer {"connection_id":132570,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:04:50] local.INFO: IMEI packet received {"connection_id":132570,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 14:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":132570,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:04:58] local.INFO: TCP Data received {"connection_id":132571,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132571,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:04:58] local.INFO: Processing buffer {"connection_id":132571,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:04:58] local.INFO: IMEI packet received {"connection_id":132571,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 14:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":132571,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:04:59] local.INFO: TCP Data received {"connection_id":132571,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132571,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:04:59] local.INFO: Processing buffer {"connection_id":132571,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:04:59] local.INFO: IMEI packet received {"connection_id":132571,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":132571,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:05:00] local.INFO: TCP Data received {"connection_id":132571,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132571,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:05:00] local.INFO: Processing buffer {"connection_id":132571,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:05:00] local.INFO: IMEI packet received {"connection_id":132571,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":132571,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:05:02] local.INFO: TCP Data received {"connection_id":132571,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132571,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:05:02] local.INFO: Processing buffer {"connection_id":132571,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:05:02] local.INFO: IMEI packet received {"connection_id":132571,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":132571,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:05:03] local.INFO: TCP Data received {"connection_id":132571,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64e94120012d7872c005cf25b00000005a22..."} 
[2026-07-15 14:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64e94120012d7872c005cf25b00000005a22..."} 
[2026-07-15 14:05:03] local.INFO: Processing buffer {"connection_id":132571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64e94120012d7872c005cf25b00000005a22..."} 
[2026-07-15 14:05:03] local.INFO: Packet analysis {"connection_id":132571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64e9"} 
[2026-07-15 14:05:03] local.INFO: Extracted packet for processing {"connection_id":132571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64e9"} 
[2026-07-15 14:05:03] local.INFO: GPS Element Parsed {"raw_longitude":762868416,"raw_latitude":97461680,"longitude_deg":76.2868416,"latitude_deg":9.746168,"altitude":0,"angle":90,"satellites":34,"speed":38,"hex_longitude":"2d7872c0","hex_latitude":"05cf25b0","is_valid_coordinates":true} 
[2026-07-15 14:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730732800001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106449639149928448,"note":"Value kept but may cause issues"} 
[2026-07-15 14:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8668795988941002752,"note":"Value kept but may cause issues"} 
[2026-07-15 14:05:03] 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-07-15 14:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784104436000,"timestamp_ms":1784104436000,"timestamp_seconds":1784104436,"priority":1,"record_length":96,"hex_timestamp":"0000019f64e94120"} 
[2026-07-15 14:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:05:03] 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-07-15 14:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-15 14:05:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":132571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":132571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":132571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730732800001,"66":13243,"34":206,"85":15104,"24":38,"16":106449639149928448,"45":8668795988941002752},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,45]} 
[2026-07-15 14:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730732800001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:05:03] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-15 14:05:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106449639149928448,"km_value":106449639149928.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8668795988941002752,"description":"Unknown IO ID 45"} 
[2026-07-15 14:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730732800001,"power":13243,"unknown_34":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8668795988941002752}} 
[2026-07-15 14:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":132571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491098,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:05:03] local.INFO: GPS data processed {"connection_id":132571,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:05:03] local.INFO: Acknowledgment sent {"connection_id":132571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:05:04] local.INFO: TCP Data received {"connection_id":132571,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64e96448012d789a8005cf28d80000005922..."} 
[2026-07-15 14:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64e96448012d789a8005cf28d80000005922..."} 
[2026-07-15 14:05:04] local.INFO: Processing buffer {"connection_id":132571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64e96448012d789a8005cf28d80000005922..."} 
[2026-07-15 14:05:04] local.INFO: Packet analysis {"connection_id":132571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64e9"} 
[2026-07-15 14:05:04] local.INFO: Extracted packet for processing {"connection_id":132571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64e9"} 
[2026-07-15 14:05:04] local.INFO: GPS Element Parsed {"raw_longitude":762878592,"raw_latitude":97462488,"longitude_deg":76.2878592,"latitude_deg":9.7462488,"altitude":0,"angle":89,"satellites":34,"speed":46,"hex_longitude":"2d789a80","hex_latitude":"05cf28d8","is_valid_coordinates":true} 
[2026-07-15 14: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-07-15 14:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730735616001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106450124481232896,"note":"Value kept but may cause issues"} 
[2026-07-15 14:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8679210563079090176,"note":"Value kept but may cause issues"} 
[2026-07-15 14:05:04] 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-07-15 14:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784104445000,"timestamp_ms":1784104445000,"timestamp_seconds":1784104445,"priority":1,"record_length":96,"hex_timestamp":"0000019f64e96448"} 
[2026-07-15 14:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:05: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-07-15 14: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-15 14:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14: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-07-15 14:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":132571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":132571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":132571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730735616001,"66":13363,"34":206,"85":15104,"24":46,"16":106450124481232896,"45":8679210563079090176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,45]} 
[2026-07-15 14:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730735616001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:05:04] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-15 14:05:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106450124481232896,"km_value":106450124481232.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8679210563079090176,"description":"Unknown IO ID 45"} 
[2026-07-15 14:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730735616001,"power":13363,"unknown_34":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8679210563079090176}} 
[2026-07-15 14:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":132571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491099,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:05:05] local.INFO: GPS data processed {"connection_id":132571,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:05:05] local.INFO: Acknowledgment sent {"connection_id":132571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:05:06] local.INFO: TCP Data received {"connection_id":132378,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:05:06] local.INFO: Processing buffer {"connection_id":132378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:05:06] local.INFO: IMEI packet received {"connection_id":132378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":132378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:05:07] local.INFO: TCP Data received {"connection_id":132378,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64e65708012d80fc8005a126e0000a015e2d..."} 
[2026-07-15 14:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64e65708012d80fc8005a126e0000a015e2d..."} 
[2026-07-15 14:05:07] local.INFO: Processing buffer {"connection_id":132378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64e65708012d80fc8005a126e0000a015e2d..."} 
[2026-07-15 14:05:07] local.INFO: Packet analysis {"connection_id":132378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64e6"} 
[2026-07-15 14:05:07] local.INFO: Extracted packet for processing {"connection_id":132378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64e6"} 
[2026-07-15 14:05:07] local.INFO: GPS Element Parsed {"raw_longitude":763427968,"raw_latitude":94447328,"longitude_deg":76.3427968,"latitude_deg":9.4447328,"altitude":10,"angle":350,"satellites":45,"speed":16,"hex_longitude":"2d80fc80","hex_latitude":"05a126e0","is_valid_coordinates":true} 
[2026-07-15 14:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730683392001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155441962188800,"note":"Value kept but may cause issues"} 
[2026-07-15 14:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9150469993710272512,"note":"Value kept but may cause issues"} 
[2026-07-15 14:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784104245000,"timestamp_ms":1784104245000,"timestamp_seconds":1784104245,"priority":1,"record_length":96,"hex_timestamp":"0000019f64e65708"} 
[2026-07-15 14:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-15 14:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:05:07] 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-07-15 14:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730683392001,"66":26876,"82":206,"85":14336,"24":16,"16":347155441962188800,"45":-9150469993710272512},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730683392001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:05:07] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:05:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155441962188800,"km_value":347155441962188.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9150469993710272512,"description":"Unknown IO ID 45"} 
[2026-07-15 14:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730683392001,"power":26876,"unknown_82":206,"unknown_85":14336,"ignition":16,"odometer":null,"unknown_45":-9150469993710272512}} 
[2026-07-15 14:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":132378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:05:07] local.INFO: GPS data processed {"connection_id":132378,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:05:07] local.INFO: Acknowledgment sent {"connection_id":132378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:05:34] local.INFO: TCP Data received {"connection_id":134772,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134772,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:05:34] local.INFO: Processing buffer {"connection_id":134772,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:05:34] local.INFO: IMEI packet received {"connection_id":134772,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 14:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":134772,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:05:36] local.INFO: TCP Data received {"connection_id":132571,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64ea7d88012d798e4005cf4aa00000006323..."} 
[2026-07-15 14:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64ea7d88012d798e4005cf4aa00000006323..."} 
[2026-07-15 14:05:36] local.INFO: Processing buffer {"connection_id":132571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64ea7d88012d798e4005cf4aa00000006323..."} 
[2026-07-15 14:05:36] local.INFO: Packet analysis {"connection_id":132571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64ea"} 
[2026-07-15 14:05:36] local.INFO: Extracted packet for processing {"connection_id":132571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64ea"} 
[2026-07-15 14:05:36] local.INFO: GPS Element Parsed {"raw_longitude":762940992,"raw_latitude":97471136,"longitude_deg":76.2940992,"latitude_deg":9.7471136,"altitude":0,"angle":99,"satellites":35,"speed":38,"hex_longitude":"2d798e40","hex_latitude":"05cf4aa0","is_valid_coordinates":true} 
[2026-07-15 14:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730755840001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106453229742587904,"note":"Value kept but may cause issues"} 
[2026-07-15 14:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8756827287909494784,"note":"Value kept but may cause issues"} 
[2026-07-15 14:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784104517000,"timestamp_ms":1784104517000,"timestamp_seconds":1784104517,"priority":1,"record_length":96,"hex_timestamp":"0000019f64ea7d88"} 
[2026-07-15 14:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-15 14:05:36] 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-07-15 14:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730755840001,"66":13243,"73":206,"85":15104,"24":38,"16":106453229742587904,"45":8756827287909494784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,85,24,16,45]} 
[2026-07-15 14:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730755840001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:05:36] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-15 14:05:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106453229742587904,"km_value":106453229742587.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8756827287909494784,"description":"Unknown IO ID 45"} 
[2026-07-15 14:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730755840001,"power":13243,"unknown_73":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8756827287909494784}} 
[2026-07-15 14:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":132571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491101,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:05:36] local.INFO: GPS data processed {"connection_id":132571,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:05:36] local.INFO: Acknowledgment sent {"connection_id":132571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:05:38] local.INFO: TCP Data received {"connection_id":132378,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64e666a8012d80fb4005a12ca8000b01522d..."} 
[2026-07-15 14:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64e666a8012d80fb4005a12ca8000b01522d..."} 
[2026-07-15 14:05:38] local.INFO: Processing buffer {"connection_id":132378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64e666a8012d80fb4005a12ca8000b01522d..."} 
[2026-07-15 14:05:38] local.INFO: Packet analysis {"connection_id":132378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64e6"} 
[2026-07-15 14:05:38] local.INFO: Extracted packet for processing {"connection_id":132378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64e6"} 
[2026-07-15 14:05:38] local.INFO: GPS Element Parsed {"raw_longitude":763427648,"raw_latitude":94448808,"longitude_deg":76.3427648,"latitude_deg":9.4448808,"altitude":11,"angle":338,"satellites":45,"speed":13,"hex_longitude":"2d80fb40","hex_latitude":"05a12ca8","is_valid_coordinates":true} 
[2026-07-15 14:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730686720001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155514976632832,"note":"Value kept but may cause issues"} 
[2026-07-15 14:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9152299581056819200,"note":"Value kept but may cause issues"} 
[2026-07-15 14:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784104249000,"timestamp_ms":1784104249000,"timestamp_seconds":1784104249,"priority":1,"record_length":96,"hex_timestamp":"0000019f64e666a8"} 
[2026-07-15 14:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-07-15 14:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2986,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730686720001,"66":26789,"82":206,"85":14336,"24":13,"16":347155514976632832,"45":-9152299581056819200},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730686720001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:05:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:05:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155514976632832,"km_value":347155514976632.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9152299581056819200,"description":"Unknown IO ID 45"} 
[2026-07-15 14:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730686720001,"power":26789,"unknown_82":206,"unknown_85":14336,"ignition":13,"odometer":null,"unknown_45":-9152299581056819200}} 
[2026-07-15 14:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":132378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:05:38] local.INFO: GPS data processed {"connection_id":132378,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:05:38] local.INFO: Acknowledgment sent {"connection_id":132378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:05:58] local.INFO: TCP Data received {"connection_id":133418,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133418,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:05:58] local.INFO: Processing buffer {"connection_id":133418,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:05:58] local.INFO: IMEI packet received {"connection_id":133418,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 14:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":133418,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:05:59] local.INFO: TCP Data received {"connection_id":133418,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133418,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:05:59] local.INFO: Processing buffer {"connection_id":133418,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:05:59] local.INFO: IMEI packet received {"connection_id":133418,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":133418,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:06:03] local.INFO: TCP Data received {"connection_id":133418,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133418,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:06:03] local.INFO: Processing buffer {"connection_id":133418,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:06:03] local.INFO: IMEI packet received {"connection_id":133418,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":133418,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:06:04] local.INFO: TCP Data received {"connection_id":133418,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64ea8940012d799a0005cf47600000006f23..."} 
[2026-07-15 14:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64ea8940012d799a0005cf47600000006f23..."} 
[2026-07-15 14:06:04] local.INFO: Processing buffer {"connection_id":133418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64ea8940012d799a0005cf47600000006f23..."} 
[2026-07-15 14:06:04] local.INFO: Packet analysis {"connection_id":133418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64ea"} 
[2026-07-15 14:06:04] local.INFO: Extracted packet for processing {"connection_id":133418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64ea"} 
[2026-07-15 14:06:04] local.INFO: GPS Element Parsed {"raw_longitude":762944000,"raw_latitude":97470304,"longitude_deg":76.2944,"latitude_deg":9.7470304,"altitude":0,"angle":111,"satellites":35,"speed":41,"hex_longitude":"2d799a00","hex_latitude":"05cf4760","is_valid_coordinates":true} 
[2026-07-15 14: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-07-15 14:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730756352001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106453380066443264,"note":"Value kept but may cause issues"} 
[2026-07-15 14:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8759008718978981888,"note":"Value kept but may cause issues"} 
[2026-07-15 14:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784104520000,"timestamp_ms":1784104520000,"timestamp_seconds":1784104520,"priority":1,"record_length":96,"hex_timestamp":"0000019f64ea8940"} 
[2026-07-15 14:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:06: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-07-15 14: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-15 14:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14: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-07-15 14:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":133418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":133418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":133418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730756352001,"66":13363,"73":206,"85":15104,"24":41,"16":106453380066443264,"45":8759008718978981888},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,85,24,16,45]} 
[2026-07-15 14:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730756352001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:06:04] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-15 14:06:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106453380066443264,"km_value":106453380066443.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8759008718978981888,"description":"Unknown IO ID 45"} 
[2026-07-15 14:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730756352001,"power":13363,"unknown_73":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8759008718978981888}} 
[2026-07-15 14:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":133418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491103,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:06:04] local.INFO: GPS data processed {"connection_id":133418,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:06:04] local.INFO: Acknowledgment sent {"connection_id":133418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:06:06] local.INFO: TCP Data received {"connection_id":132379,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:06:06] local.INFO: Processing buffer {"connection_id":132379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:06:06] local.INFO: IMEI packet received {"connection_id":132379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":132379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:06:11] local.INFO: TCP Data received {"connection_id":132379,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:06:11] local.INFO: Processing buffer {"connection_id":132379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:06:11] local.INFO: IMEI packet received {"connection_id":132379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":132379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:06:12] local.INFO: TCP Data received {"connection_id":132379,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64e66a90012d80fac005a12db8000b013e2e..."} 
[2026-07-15 14:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64e66a90012d80fac005a12db8000b013e2e..."} 
[2026-07-15 14:06:12] local.INFO: Processing buffer {"connection_id":132379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64e66a90012d80fac005a12db8000b013e2e..."} 
[2026-07-15 14:06:12] local.INFO: Packet analysis {"connection_id":132379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64e6"} 
[2026-07-15 14:06:12] local.INFO: Extracted packet for processing {"connection_id":132379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64e6"} 
[2026-07-15 14:06:12] local.INFO: GPS Element Parsed {"raw_longitude":763427520,"raw_latitude":94449080,"longitude_deg":76.342752,"latitude_deg":9.444908,"altitude":11,"angle":318,"satellites":46,"speed":12,"hex_longitude":"2d80fac0","hex_latitude":"05a12db8","is_valid_coordinates":true} 
[2026-07-15 14:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730687744001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155527861534720,"note":"Value kept but may cause issues"} 
[2026-07-15 14:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9152651424777328640,"note":"Value kept but may cause issues"} 
[2026-07-15 14:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784104250000,"timestamp_ms":1784104250000,"timestamp_seconds":1784104250,"priority":1,"record_length":96,"hex_timestamp":"0000019f64e66a90"} 
[2026-07-15 14:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-07-15 14:06:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2203,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:06:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:06:12] 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-07-15 14:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730687744001,"66":26767,"82":206,"85":14336,"24":12,"16":347155527861534720,"45":-9152651424777328640},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730687744001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:06:12] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:06:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155527861534720,"km_value":347155527861534.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9152651424777328640,"description":"Unknown IO ID 45"} 
[2026-07-15 14:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730687744001,"power":26767,"unknown_82":206,"unknown_85":14336,"ignition":12,"odometer":null,"unknown_45":-9152651424777328640}} 
[2026-07-15 14:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":132379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:06:12] local.INFO: GPS data processed {"connection_id":132379,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:06:12] local.INFO: Acknowledgment sent {"connection_id":132379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:06:16] local.INFO: TCP Data received {"connection_id":132379,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64e66e78012d80f9c005a12e68000b01282e..."} 
[2026-07-15 14:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64e66e78012d80f9c005a12e68000b01282e..."} 
[2026-07-15 14:06:16] local.INFO: Processing buffer {"connection_id":132379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64e66e78012d80f9c005a12e68000b01282e..."} 
[2026-07-15 14:06:16] local.INFO: Packet analysis {"connection_id":132379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64e6"} 
[2026-07-15 14:06:16] local.INFO: Extracted packet for processing {"connection_id":132379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64e6"} 
[2026-07-15 14:06:16] local.INFO: GPS Element Parsed {"raw_longitude":763427264,"raw_latitude":94449256,"longitude_deg":76.3427264,"latitude_deg":9.4449256,"altitude":11,"angle":296,"satellites":46,"speed":10,"hex_longitude":"2d80f9c0","hex_latitude":"05a12e68","is_valid_coordinates":true} 
[2026-07-15 14:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730688000001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155545041403904,"note":"Value kept but may cause issues"} 
[2026-07-15 14:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9152792162265614336,"note":"Value kept but may cause issues"} 
[2026-07-15 14:06:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784104251000,"timestamp_ms":1784104251000,"timestamp_seconds":1784104251,"priority":1,"record_length":96,"hex_timestamp":"0000019f64e66e78"} 
[2026-07-15 14:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:06:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":143,"data_length":795,"current_offset":136} 
[2026-07-15 14:06:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2005,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:06:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:06:16] 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-07-15 14:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730688000001,"66":26767,"82":206,"85":14336,"24":10,"16":347155545041403904,"45":-9152792162265614336},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730688000001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:06:16] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:06:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155545041403904,"km_value":347155545041403.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9152792162265614336,"description":"Unknown IO ID 45"} 
[2026-07-15 14:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730688000001,"power":26767,"unknown_82":206,"unknown_85":14336,"ignition":10,"odometer":null,"unknown_45":-9152792162265614336}} 
[2026-07-15 14:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":132379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:06:16] local.INFO: GPS data processed {"connection_id":132379,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:06:16] local.INFO: Acknowledgment sent {"connection_id":132379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:06:35] local.INFO: TCP Data received {"connection_id":133418,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64eaa880012d79bd4005cf3a680000006f24..."} 
[2026-07-15 14:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64eaa880012d79bd4005cf3a680000006f24..."} 
[2026-07-15 14:06:35] local.INFO: Processing buffer {"connection_id":133418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64eaa880012d79bd4005cf3a680000006f24..."} 
[2026-07-15 14:06:35] local.INFO: Packet analysis {"connection_id":133418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64ea"} 
[2026-07-15 14:06:35] local.INFO: Extracted packet for processing {"connection_id":133418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64ea"} 
[2026-07-15 14:06:35] local.INFO: GPS Element Parsed {"raw_longitude":762953024,"raw_latitude":97466984,"longitude_deg":76.2953024,"latitude_deg":9.7466984,"altitude":0,"angle":111,"satellites":36,"speed":50,"hex_longitude":"2d79bd40","hex_latitude":"05cf3a68","is_valid_coordinates":true} 
[2026-07-15 14:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730757120001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106453839627943936,"note":"Value kept but may cause issues"} 
[2026-07-15 14:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8762316049955119104,"note":"Value kept but may cause issues"} 
[2026-07-15 14:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784104528000,"timestamp_ms":1784104528000,"timestamp_seconds":1784104528,"priority":1,"record_length":96,"hex_timestamp":"0000019f64eaa880"} 
[2026-07-15 14:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:06:35] 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-07-15 14:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-15 14:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:06:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":133418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":133418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":133418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730757120001,"66":13428,"73":206,"85":15104,"24":50,"16":106453839627943936,"45":8762316049955119104},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,85,24,16,45]} 
[2026-07-15 14:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730757120001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:06:35] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-15 14:06:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106453839627943936,"km_value":106453839627943.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8762316049955119104,"description":"Unknown IO ID 45"} 
[2026-07-15 14:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730757120001,"power":13428,"unknown_73":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8762316049955119104}} 
[2026-07-15 14:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":133418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491106,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:06:35] local.INFO: GPS data processed {"connection_id":133418,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:06:35] local.INFO: Acknowledgment sent {"connection_id":133418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:07:00] local.INFO: TCP Data received {"connection_id":132574,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132574,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:07:00] local.INFO: Processing buffer {"connection_id":132574,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:07:00] local.INFO: IMEI packet received {"connection_id":132574,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 14:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":132574,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:07:01] local.INFO: TCP Data received {"connection_id":132573,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:07:01] local.INFO: Processing buffer {"connection_id":132573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:07:01] local.INFO: IMEI packet received {"connection_id":132573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":132573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:07:04] local.INFO: TCP Data received {"connection_id":132574,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132574,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:07:04] local.INFO: Processing buffer {"connection_id":132574,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:07:04] local.INFO: IMEI packet received {"connection_id":132574,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":132574,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:07:05] local.INFO: TCP Data received {"connection_id":132574,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64ebbdd8012d7b19c005ced9c80003007325..."} 
[2026-07-15 14:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64ebbdd8012d7b19c005ced9c80003007325..."} 
[2026-07-15 14:07:05] local.INFO: Processing buffer {"connection_id":132574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64ebbdd8012d7b19c005ced9c80003007325..."} 
[2026-07-15 14:07:05] local.INFO: Packet analysis {"connection_id":132574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64eb"} 
[2026-07-15 14:07:05] local.INFO: Extracted packet for processing {"connection_id":132574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64eb"} 
[2026-07-15 14:07:05] local.INFO: GPS Element Parsed {"raw_longitude":763042240,"raw_latitude":97442248,"longitude_deg":76.304224,"latitude_deg":9.7442248,"altitude":3,"angle":115,"satellites":37,"speed":51,"hex_longitude":"2d7b19c0","hex_latitude":"05ced9c8","is_valid_coordinates":true} 
[2026-07-15 14:07: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-07-15 14:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730775552001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106458336458702848,"note":"Value kept but may cause issues"} 
[2026-07-15 14:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8860761923053547520,"note":"Value kept but may cause issues"} 
[2026-07-15 14:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784104599000,"timestamp_ms":1784104599000,"timestamp_seconds":1784104599,"priority":1,"record_length":96,"hex_timestamp":"0000019f64ebbdd8"} 
[2026-07-15 14:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:07: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-07-15 14:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-15 14:07:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 14:07:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-15 14:07:05] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2852126720,"note":"Value kept but may cause issues"} 
[2026-07-15 14:07:05] local.WARNING: Large IO value detected {"io_id":100,"raw_value":3946127361,"note":"Value kept but may cause issues"} 
[2026-07-15 14:07:05] local.WARNING: Large IO value detected {"io_id":206,"raw_value":4173856771,"note":"Value kept but may cause issues"} 
[2026-07-15 14:07:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2823356622,"corrected_to":0} 
[2026-07-15 14:07:05] local.WARNING: Large IO value detected {"io_id":90,"raw_value":3221606137,"note":"Value kept but may cause issues"} 
[2026-07-15 14:07:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3472756736,"note":"Value kept but may cause issues"} 
[2026-07-15 14:07:05] local.WARNING: Large IO value detected {"io_id":144,"raw_value":57887401725285691,"note":"Value kept but may cause issues"} 
[2026-07-15 14:07:05] local.WARNING: Large IO value detected {"io_id":234,"raw_value":-394063672560304123,"note":"Value kept but may cause issues"} 
[2026-07-15 14:07:05] local.WARNING: Large IO value detected {"io_id":207,"raw_value":961518529041015808,"note":"Value kept but may cause issues"} 
[2026-07-15 14:07:05] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,73,85,24,241,157,16,54,159,135,45,245,35,10,66,111,128,249,1,36,84,64,240,198,227,53,100,206,4,113,205,43,41,90,239,52,2,122,5,3,144,234,207],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2823356622,"validated":0}]} 
[2026-07-15 14:07:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72180889667633152,"timestamp_seconds":72180889667633.16,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 14:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730775552001,"66":13254,"73":206,"85":15104,"24":51,"16":106458336458702848,"45":8860761923053547520},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,85,24,16,45]} 
[2026-07-15 14:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730775552001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:07:05] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-15 14:07:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106458336458702848,"km_value":106458336458702.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8860761923053547520,"description":"Unknown IO ID 45"} 
[2026-07-15 14:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730775552001,"power":13254,"unknown_73":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8860761923053547520}} 
[2026-07-15 14:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":132574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491107,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:07:05] local.INFO: GPS data processed {"connection_id":132574,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:07:05] local.INFO: Acknowledgment sent {"connection_id":132574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:07:06] local.INFO: TCP Data received {"connection_id":132573,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:07:06] local.INFO: Processing buffer {"connection_id":132573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:07:06] local.INFO: IMEI packet received {"connection_id":132573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":132573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:07:07] local.INFO: TCP Data received {"connection_id":132573,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64e67260012d80f88005a12ea8000b01162d..."} 
[2026-07-15 14:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64e67260012d80f88005a12ea8000b01162d..."} 
[2026-07-15 14:07:07] local.INFO: Processing buffer {"connection_id":132573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64e67260012d80f88005a12ea8000b01162d..."} 
[2026-07-15 14:07:07] local.INFO: Packet analysis {"connection_id":132573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64e6"} 
[2026-07-15 14:07:07] local.INFO: Extracted packet for processing {"connection_id":132573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64e6"} 
[2026-07-15 14:07:07] local.INFO: GPS Element Parsed {"raw_longitude":763426944,"raw_latitude":94449320,"longitude_deg":76.3426944,"latitude_deg":9.444932,"altitude":11,"angle":278,"satellites":45,"speed":9,"hex_longitude":"2d80f880","hex_latitude":"05a12ea8","is_valid_coordinates":true} 
[2026-07-15 14:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730688256001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155557926305792,"note":"Value kept but may cause issues"} 
[2026-07-15 14:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9153073637242279936,"note":"Value kept but may cause issues"} 
[2026-07-15 14:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784104252000,"timestamp_ms":1784104252000,"timestamp_seconds":1784104252,"priority":1,"record_length":96,"hex_timestamp":"0000019f64e67260"} 
[2026-07-15 14:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":143,"data_length":795,"current_offset":136} 
[2026-07-15 14:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2005,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:07:07] 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-07-15 14:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730688256001,"66":26702,"82":206,"85":14336,"24":9,"16":347155557926305792,"45":-9153073637242279936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730688256001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:07:07] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:07:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155557926305792,"km_value":347155557926305.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9153073637242279936,"description":"Unknown IO ID 45"} 
[2026-07-15 14:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730688256001,"power":26702,"unknown_82":206,"unknown_85":14336,"ignition":9,"odometer":null,"unknown_45":-9153073637242279936}} 
[2026-07-15 14:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":132573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:07:07] local.INFO: GPS data processed {"connection_id":132573,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:07:07] local.INFO: Acknowledgment sent {"connection_id":132573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:07:39] local.INFO: TCP Data received {"connection_id":132573,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64e67648012d80f7c005a12e98000b01022d..."} 
[2026-07-15 14:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64e67648012d80f7c005a12e98000b01022d..."} 
[2026-07-15 14:07:39] local.INFO: Processing buffer {"connection_id":132573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64e67648012d80f7c005a12e98000b01022d..."} 
[2026-07-15 14:07:39] local.INFO: Packet analysis {"connection_id":132573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64e6"} 
[2026-07-15 14:07:39] local.INFO: Extracted packet for processing {"connection_id":132573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64e6"} 
[2026-07-15 14:07:39] local.INFO: GPS Element Parsed {"raw_longitude":763426752,"raw_latitude":94449304,"longitude_deg":76.3426752,"latitude_deg":9.4449304,"altitude":11,"angle":258,"satellites":45,"speed":9,"hex_longitude":"2d80f7c0","hex_latitude":"05a12e98","is_valid_coordinates":true} 
[2026-07-15 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-07-15 14:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730688512001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155570811207680,"note":"Value kept but may cause issues"} 
[2026-07-15 14:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9153425480963151872,"note":"Value kept but may cause issues"} 
[2026-07-15 14:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784104253000,"timestamp_ms":1784104253000,"timestamp_seconds":1784104253,"priority":1,"record_length":96,"hex_timestamp":"0000019f64e67648"} 
[2026-07-15 14:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:07:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14: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":104,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-07-15 14:07:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1420,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14: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-07-15 14:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730688512001,"66":26702,"82":206,"85":14336,"24":9,"16":347155570811207680,"45":-9153425480963151872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730688512001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:07:39] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:07:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155570811207680,"km_value":347155570811207.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9153425480963151872,"description":"Unknown IO ID 45"} 
[2026-07-15 14:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730688512001,"power":26702,"unknown_82":206,"unknown_85":14336,"ignition":9,"odometer":null,"unknown_45":-9153425480963151872}} 
[2026-07-15 14:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":132573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:07:39] local.INFO: GPS data processed {"connection_id":132573,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:07:39] local.INFO: Acknowledgment sent {"connection_id":132573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:07:46] local.INFO: TCP Data received {"connection_id":132574,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64ebd548012d7b320005cecc700002008024..."} 
[2026-07-15 14:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64ebd548012d7b320005cecc700002008024..."} 
[2026-07-15 14:07:46] local.INFO: Processing buffer {"connection_id":132574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64ebd548012d7b320005cecc700002008024..."} 
[2026-07-15 14:07:46] local.INFO: Packet analysis {"connection_id":132574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64eb"} 
[2026-07-15 14:07:46] local.INFO: Extracted packet for processing {"connection_id":132574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64eb"} 
[2026-07-15 14:07:46] local.INFO: GPS Element Parsed {"raw_longitude":763048448,"raw_latitude":97438832,"longitude_deg":76.3048448,"latitude_deg":9.7438832,"altitude":2,"angle":128,"satellites":36,"speed":42,"hex_longitude":"2d7b3200","hex_latitude":"05cecc70","is_valid_coordinates":true} 
[2026-07-15 14:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730777344001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106458680056086528,"note":"Value kept but may cause issues"} 
[2026-07-15 14:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870332072260651008,"note":"Value kept but may cause issues"} 
[2026-07-15 14:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784104605000,"timestamp_ms":1784104605000,"timestamp_seconds":1784104605,"priority":1,"record_length":96,"hex_timestamp":"0000019f64ebd548"} 
[2026-07-15 14:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:07:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-15 14:07:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:07:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730777344001,"66":12982,"83":206,"85":15104,"24":42,"16":106458680056086528,"45":8870332072260651008},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-07-15 14:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730777344001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:07:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-15 14:07:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106458680056086528,"km_value":106458680056086.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870332072260651008,"description":"Unknown IO ID 45"} 
[2026-07-15 14:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730777344001,"power":12982,"unknown_83":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8870332072260651008}} 
[2026-07-15 14:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":132574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491110,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:07:46] local.INFO: GPS data processed {"connection_id":132574,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:07:46] local.INFO: Acknowledgment sent {"connection_id":132574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:07:59] local.INFO: TCP Data received {"connection_id":133421,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133421,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:07:59] local.INFO: Processing buffer {"connection_id":133421,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:07:59] local.INFO: IMEI packet received {"connection_id":133421,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 14:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":133421,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:08:01] local.INFO: TCP Data received {"connection_id":133420,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:08:01] local.INFO: Processing buffer {"connection_id":133420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:08:01] local.INFO: IMEI packet received {"connection_id":133420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":133420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:08:04] local.INFO: TCP Data received {"connection_id":133421,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133421,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:08:04] local.INFO: Processing buffer {"connection_id":133421,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:08:04] local.INFO: IMEI packet received {"connection_id":133421,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":133421,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:08:05] local.INFO: TCP Data received {"connection_id":133421,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64ebe4e8012d7b3f4005cec3600002007223..."} 
[2026-07-15 14:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64ebe4e8012d7b3f4005cec3600002007223..."} 
[2026-07-15 14:08:05] local.INFO: Processing buffer {"connection_id":133421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64ebe4e8012d7b3f4005cec3600002007223..."} 
[2026-07-15 14:08:05] local.INFO: Packet analysis {"connection_id":133421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64eb"} 
[2026-07-15 14:08:05] local.INFO: Extracted packet for processing {"connection_id":133421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64eb"} 
[2026-07-15 14:08:05] local.INFO: GPS Element Parsed {"raw_longitude":763051840,"raw_latitude":97436512,"longitude_deg":76.305184,"latitude_deg":9.7436512,"altitude":2,"angle":114,"satellites":35,"speed":37,"hex_longitude":"2d7b3f40","hex_latitude":"05cec360","is_valid_coordinates":true} 
[2026-07-15 14: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-07-15 14:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730778880001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106458877624582144,"note":"Value kept but may cause issues"} 
[2026-07-15 14:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877157840445009920,"note":"Value kept but may cause issues"} 
[2026-07-15 14:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784104609000,"timestamp_ms":1784104609000,"timestamp_seconds":1784104609,"priority":1,"record_length":96,"hex_timestamp":"0000019f64ebe4e8"} 
[2026-07-15 14:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:08: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-07-15 14: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-15 14:08:05] 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-07-15 14: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-07-15 14:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":133421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":133421,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":133421,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730778880001,"66":13037,"83":206,"85":15104,"24":37,"16":106458877624582144,"45":8877157840445009920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-07-15 14:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730778880001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:08:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-15 14:08:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106458877624582144,"km_value":106458877624582.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877157840445009920,"description":"Unknown IO ID 45"} 
[2026-07-15 14:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730778880001,"power":13037,"unknown_83":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8877157840445009920}} 
[2026-07-15 14:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":133421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491111,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:08:05] local.INFO: GPS data processed {"connection_id":133421,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:08:05] local.INFO: Acknowledgment sent {"connection_id":133421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:08:06] local.INFO: TCP Data received {"connection_id":133420,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:08:06] local.INFO: Processing buffer {"connection_id":133420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:08:06] local.INFO: IMEI packet received {"connection_id":133420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":133420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:08:07] local.INFO: TCP Data received {"connection_id":133420,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f64e6a140012d80f50005a12e10000a01002e..."} 
[2026-07-15 14:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64e6a140012d80f50005a12e10000a01002e..."} 
[2026-07-15 14:08:07] local.INFO: Processing buffer {"connection_id":133420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64e6a140012d80f50005a12e10000a01002e..."} 
[2026-07-15 14:08:07] local.INFO: Packet analysis {"connection_id":133420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64e6"} 
[2026-07-15 14:08:07] local.INFO: Extracted packet for processing {"connection_id":133420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64e6"} 
[2026-07-15 14:08:07] local.INFO: GPS Element Parsed {"raw_longitude":763426048,"raw_latitude":94449168,"longitude_deg":76.3426048,"latitude_deg":9.4449168,"altitude":10,"angle":256,"satellites":46,"speed":0,"hex_longitude":"2d80f500","hex_latitude":"05a12e10","is_valid_coordinates":true} 
[2026-07-15 14:08:07] 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-07-15 14:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730688768001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155605170946048,"note":"Value kept but may cause issues"} 
[2026-07-15 14:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9153636587195688960,"note":"Value kept but may cause issues"} 
[2026-07-15 14:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784104264000,"timestamp_ms":1784104264000,"timestamp_seconds":1784104264,"priority":1,"record_length":96,"hex_timestamp":"0000019f64e6a140"} 
[2026-07-15 14:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-07-15 14:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1420,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730688768001,"66":26604,"82":206,"85":14336,"24":0,"16":347155605170946048,"45":-9153636587195688960},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730688768001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:08:07] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:08:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155605170946048,"km_value":347155605170946.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9153636587195688960,"description":"Unknown IO ID 45"} 
[2026-07-15 14:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730688768001,"power":26604,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9153636587195688960}} 
[2026-07-15 14:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":133420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:08:07] local.INFO: GPS data processed {"connection_id":133420,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:08:07] local.INFO: Acknowledgment sent {"connection_id":133420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:08:36] local.INFO: TCP Data received {"connection_id":133421,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64ec0040012d7b584005cebb700001006720..."} 
[2026-07-15 14:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64ec0040012d7b584005cebb700001006720..."} 
[2026-07-15 14:08:36] local.INFO: Processing buffer {"connection_id":133421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64ec0040012d7b584005cebb700001006720..."} 
[2026-07-15 14:08:36] local.INFO: Packet analysis {"connection_id":133421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64ec"} 
[2026-07-15 14:08:36] local.INFO: Extracted packet for processing {"connection_id":133421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64ec"} 
[2026-07-15 14:08:36] local.INFO: GPS Element Parsed {"raw_longitude":763058240,"raw_latitude":97434480,"longitude_deg":76.305824,"latitude_deg":9.743448,"altitude":1,"angle":103,"satellites":32,"speed":41,"hex_longitude":"2d7b5840","hex_latitude":"05cebb70","is_valid_coordinates":true} 
[2026-07-15 14:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730779904001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106459199747129344,"note":"Value kept but may cause issues"} 
[2026-07-15 14:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880887383885832192,"note":"Value kept but may cause issues"} 
[2026-07-15 14:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784104616000,"timestamp_ms":1784104616000,"timestamp_seconds":1784104616,"priority":1,"record_length":96,"hex_timestamp":"0000019f64ec0040"} 
[2026-07-15 14:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:08: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-07-15 14:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-15 14:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":133421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":133421,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":133421,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730779904001,"66":13450,"83":206,"85":15104,"24":41,"16":106459199747129344,"45":8880887383885832192},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-07-15 14:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730779904001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:08:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-15 14:08:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106459199747129344,"km_value":106459199747129.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880887383885832192,"description":"Unknown IO ID 45"} 
[2026-07-15 14:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730779904001,"power":13450,"unknown_83":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8880887383885832192}} 
[2026-07-15 14:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":133421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491113,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:08:36] local.INFO: GPS data processed {"connection_id":133421,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:08:36] local.INFO: Acknowledgment sent {"connection_id":133421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:08:38] local.INFO: TCP Data received {"connection_id":133420,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f64e73998012d80f4c005a12e10000a01002d..."} 
[2026-07-15 14:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64e73998012d80f4c005a12e10000a01002d..."} 
[2026-07-15 14:08:38] local.INFO: Processing buffer {"connection_id":133420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64e73998012d80f4c005a12e10000a01002d..."} 
[2026-07-15 14:08:38] local.INFO: Packet analysis {"connection_id":133420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64e7"} 
[2026-07-15 14:08:38] local.INFO: Extracted packet for processing {"connection_id":133420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64e7"} 
[2026-07-15 14:08:38] local.INFO: GPS Element Parsed {"raw_longitude":763425984,"raw_latitude":94449168,"longitude_deg":76.3425984,"latitude_deg":9.4449168,"altitude":10,"angle":256,"satellites":45,"speed":0,"hex_longitude":"2d80f4c0","hex_latitude":"05a12e10","is_valid_coordinates":true} 
[2026-07-15 14:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730691584001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155605170946048,"note":"Value kept but may cause issues"} 
[2026-07-15 14:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9154410643381678080,"note":"Value kept but may cause issues"} 
[2026-07-15 14:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784104303000,"timestamp_ms":1784104303000,"timestamp_seconds":1784104303,"priority":1,"record_length":96,"hex_timestamp":"0000019f64e73998"} 
[2026-07-15 14:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-07-15 14:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2837,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730691584001,"66":26452,"82":206,"85":14336,"24":0,"16":347155605170946048,"45":-9154410643381678080},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730691584001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:08:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:08:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155605170946048,"km_value":347155605170946.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9154410643381678080,"description":"Unknown IO ID 45"} 
[2026-07-15 14:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730691584001,"power":26452,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9154410643381678080}} 
[2026-07-15 14:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":133420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:08:38] local.INFO: GPS data processed {"connection_id":133420,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:08:38] local.INFO: Acknowledgment sent {"connection_id":133420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:08:59] local.INFO: TCP Data received {"connection_id":134775,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:08:59] local.INFO: Processing buffer {"connection_id":134775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:08:59] local.INFO: IMEI packet received {"connection_id":134775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 14:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":134775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:09:01] local.INFO: TCP Data received {"connection_id":134776,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:09:01] local.INFO: Processing buffer {"connection_id":134776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:09:01] local.INFO: IMEI packet received {"connection_id":134776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":134776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:09:04] local.INFO: TCP Data received {"connection_id":134775,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:09:04] local.INFO: Processing buffer {"connection_id":134775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:09:04] local.INFO: IMEI packet received {"connection_id":134775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":134775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:09:05] local.INFO: TCP Data received {"connection_id":134775,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64ec2368012d7b7bc005ceb1a8000100681e..."} 
[2026-07-15 14:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64ec2368012d7b7bc005ceb1a8000100681e..."} 
[2026-07-15 14:09:05] local.INFO: Processing buffer {"connection_id":134775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64ec2368012d7b7bc005ceb1a8000100681e..."} 
[2026-07-15 14:09:05] local.INFO: Packet analysis {"connection_id":134775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64ec"} 
[2026-07-15 14:09:05] local.INFO: Extracted packet for processing {"connection_id":134775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64ec"} 
[2026-07-15 14:09:05] local.INFO: GPS Element Parsed {"raw_longitude":763067328,"raw_latitude":97431976,"longitude_deg":76.3067328,"latitude_deg":9.7431976,"altitude":1,"angle":104,"satellites":30,"speed":41,"hex_longitude":"2d7b7bc0","hex_latitude":"05ceb1a8","is_valid_coordinates":true} 
[2026-07-15 14:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730781696001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106459650718695424,"note":"Value kept but may cause issues"} 
[2026-07-15 14:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887924258303078400,"note":"Value kept but may cause issues"} 
[2026-07-15 14:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784104625000,"timestamp_ms":1784104625000,"timestamp_seconds":1784104625,"priority":1,"record_length":96,"hex_timestamp":"0000019f64ec2368"} 
[2026-07-15 14:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:09: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-07-15 14:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-15 14:09:05] 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-07-15 14:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":134775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":134775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":134775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730781696001,"66":13406,"83":206,"85":15104,"24":41,"16":106459650718695424,"45":8887924258303078400},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-07-15 14:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730781696001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:09:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-15 14:09:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106459650718695424,"km_value":106459650718695.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887924258303078400,"description":"Unknown IO ID 45"} 
[2026-07-15 14:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730781696001,"power":13406,"unknown_83":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8887924258303078400}} 
[2026-07-15 14:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":134775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491115,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:09:05] local.INFO: GPS data processed {"connection_id":134775,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:09:05] local.INFO: Acknowledgment sent {"connection_id":134775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:09:13] local.INFO: TCP Data received {"connection_id":134776,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:09:13] local.INFO: Processing buffer {"connection_id":134776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:09:13] local.INFO: IMEI packet received {"connection_id":134776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":134776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:09:14] local.INFO: TCP Data received {"connection_id":134776,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f64e79758012d80f50005a12e10000a01002d..."} 
[2026-07-15 14:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64e79758012d80f50005a12e10000a01002d..."} 
[2026-07-15 14:09:14] local.INFO: Processing buffer {"connection_id":134776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64e79758012d80f50005a12e10000a01002d..."} 
[2026-07-15 14:09:14] local.INFO: Packet analysis {"connection_id":134776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64e7"} 
[2026-07-15 14:09:14] local.INFO: Extracted packet for processing {"connection_id":134776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64e7"} 
[2026-07-15 14:09:14] local.INFO: GPS Element Parsed {"raw_longitude":763426048,"raw_latitude":94449168,"longitude_deg":76.3426048,"latitude_deg":9.4449168,"altitude":10,"angle":256,"satellites":45,"speed":0,"hex_longitude":"2d80f500","hex_latitude":"05a12e10","is_valid_coordinates":true} 
[2026-07-15 14:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730701568001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155605170946048,"note":"Value kept but may cause issues"} 
[2026-07-15 14:09:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9154481012125855744,"note":"Value kept but may cause issues"} 
[2026-07-15 14:09:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784104327000,"timestamp_ms":1784104327000,"timestamp_seconds":1784104327,"priority":1,"record_length":96,"hex_timestamp":"0000019f64e79758"} 
[2026-07-15 14:09:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:09:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-15 14:09:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:09:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:09:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":134776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":134776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":134776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:09:14] 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-07-15 14:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730701568001,"66":27843,"82":206,"85":14336,"24":0,"16":347155605170946048,"45":-9154481012125855744},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730701568001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:09:14] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:09:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155605170946048,"km_value":347155605170946.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:09:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9154481012125855744,"description":"Unknown IO ID 45"} 
[2026-07-15 14:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730701568001,"power":27843,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9154481012125855744}} 
[2026-07-15 14:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":134776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:09:14] local.INFO: GPS data processed {"connection_id":134776,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:09:14] local.INFO: Acknowledgment sent {"connection_id":134776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:09:36] local.INFO: TCP Data received {"connection_id":134775,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64ec3ad8012d7b944005ceae400000005d20..."} 
[2026-07-15 14:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64ec3ad8012d7b944005ceae400000005d20..."} 
[2026-07-15 14:09:36] local.INFO: Processing buffer {"connection_id":134775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64ec3ad8012d7b944005ceae400000005d20..."} 
[2026-07-15 14:09:36] local.INFO: Packet analysis {"connection_id":134775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64ec"} 
[2026-07-15 14:09:36] local.INFO: Extracted packet for processing {"connection_id":134775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64ec"} 
[2026-07-15 14:09:36] local.INFO: GPS Element Parsed {"raw_longitude":763073600,"raw_latitude":97431104,"longitude_deg":76.30736,"latitude_deg":9.7431104,"altitude":0,"angle":93,"satellites":32,"speed":42,"hex_longitude":"2d7b9440","hex_latitude":"05ceae40","is_valid_coordinates":true} 
[2026-07-15 14:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730784000001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106459951366406144,"note":"Value kept but may cause issues"} 
[2026-07-15 14:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897916619975665664,"note":"Value kept but may cause issues"} 
[2026-07-15 14:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784104631000,"timestamp_ms":1784104631000,"timestamp_seconds":1784104631,"priority":1,"record_length":96,"hex_timestamp":"0000019f64ec3ad8"} 
[2026-07-15 14:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:09: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-07-15 14:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-15 14:09:36] 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-07-15 14:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":134775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":134775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":134775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730784000001,"66":13428,"83":206,"85":15104,"24":42,"16":106459951366406144,"45":8897916619975665664},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-07-15 14:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730784000001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:09:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-15 14:09:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106459951366406144,"km_value":106459951366406.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897916619975665664,"description":"Unknown IO ID 45"} 
[2026-07-15 14:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730784000001,"power":13428,"unknown_83":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8897916619975665664}} 
[2026-07-15 14:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":134775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491117,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:09:36] local.INFO: GPS data processed {"connection_id":134775,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:09:36] local.INFO: Acknowledgment sent {"connection_id":134775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:09:46] local.INFO: TCP Data received {"connection_id":134776,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f64ec3308012d80f24005a12e40000a01002f..."} 
[2026-07-15 14:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64ec3308012d80f24005a12e40000a01002f..."} 
[2026-07-15 14:09:46] local.INFO: Processing buffer {"connection_id":134776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64ec3308012d80f24005a12e40000a01002f..."} 
[2026-07-15 14:09:46] local.INFO: Packet analysis {"connection_id":134776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64ec"} 
[2026-07-15 14:09:46] local.INFO: Extracted packet for processing {"connection_id":134776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64ec"} 
[2026-07-15 14:09:46] local.INFO: GPS Element Parsed {"raw_longitude":763425344,"raw_latitude":94449216,"longitude_deg":76.3425344,"latitude_deg":9.4449216,"altitude":10,"angle":256,"satellites":47,"speed":0,"hex_longitude":"2d80f240","hex_latitude":"05a12e40","is_valid_coordinates":true} 
[2026-07-15 14:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730707712001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155605170946048,"note":"Value kept but may cause issues"} 
[2026-07-15 14:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9154410643381678080,"note":"Value kept but may cause issues"} 
[2026-07-15 14:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784104629000,"timestamp_ms":1784104629000,"timestamp_seconds":1784104629,"priority":1,"record_length":96,"hex_timestamp":"0000019f64ec3308"} 
[2026-07-15 14:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-15 14:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":134776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":134776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":134776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730707712001,"66":26158,"7":206,"85":14336,"24":0,"16":347155605170946048,"45":-9154410643381678080},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-07-15 14:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730707712001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:09:46] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-15 14:09:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155605170946048,"km_value":347155605170946.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9154410643381678080,"description":"Unknown IO ID 45"} 
[2026-07-15 14:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730707712001,"power":26158,"unknown_7":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9154410643381678080}} 
[2026-07-15 14:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":134776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:09:46] local.INFO: GPS data processed {"connection_id":134776,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:09:46] local.INFO: Acknowledgment sent {"connection_id":134776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:10:04] local.INFO: TCP Data received {"connection_id":133422,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133422,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:10:04] local.INFO: Processing buffer {"connection_id":133422,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:10:04] local.INFO: IMEI packet received {"connection_id":133422,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 14:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":133422,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:10:07] local.INFO: TCP Data received {"connection_id":134777,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:10:07] local.INFO: Processing buffer {"connection_id":134777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:10:07] local.INFO: IMEI packet received {"connection_id":134777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":134777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:10:09] local.INFO: TCP Data received {"connection_id":133422,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133422,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:10:09] local.INFO: Processing buffer {"connection_id":133422,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:10:09] local.INFO: IMEI packet received {"connection_id":133422,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":133422,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:10:11] local.INFO: TCP Data received {"connection_id":134777,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:10:11] local.INFO: Processing buffer {"connection_id":134777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:10:11] local.INFO: IMEI packet received {"connection_id":134777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":134777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:10:11] local.INFO: TCP Data received {"connection_id":133422,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64ec61e8012d7bb80005ceab40000000511f..."} 
[2026-07-15 14:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64ec61e8012d7bb80005ceab40000000511f..."} 
[2026-07-15 14:10:11] local.INFO: Processing buffer {"connection_id":133422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64ec61e8012d7bb80005ceab40000000511f..."} 
[2026-07-15 14:10:11] local.INFO: Packet analysis {"connection_id":133422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64ec"} 
[2026-07-15 14:10:11] local.INFO: Extracted packet for processing {"connection_id":133422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64ec"} 
[2026-07-15 14:10:11] local.INFO: GPS Element Parsed {"raw_longitude":763082752,"raw_latitude":97430336,"longitude_deg":76.3082752,"latitude_deg":9.7430336,"altitude":0,"angle":81,"satellites":31,"speed":35,"hex_longitude":"2d7bb800","hex_latitude":"05ceab40","is_valid_coordinates":true} 
[2026-07-15 14: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-07-15 14:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730785536001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106460393748037632,"note":"Value kept but may cause issues"} 
[2026-07-15 14:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8904812756904853504,"note":"Value kept but may cause issues"} 
[2026-07-15 14:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784104641000,"timestamp_ms":1784104641000,"timestamp_seconds":1784104641,"priority":1,"record_length":96,"hex_timestamp":"0000019f64ec61e8"} 
[2026-07-15 14:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-15 14:10:11] 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-07-15 14: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-07-15 14:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":133422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":133422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":133422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730785536001,"66":13276,"83":206,"85":15104,"24":35,"16":106460393748037632,"45":8904812756904853504},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-07-15 14:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730785536001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:10:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-15 14:10:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106460393748037632,"km_value":106460393748037.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8904812756904853504,"description":"Unknown IO ID 45"} 
[2026-07-15 14:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730785536001,"power":13276,"unknown_83":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8904812756904853504}} 
[2026-07-15 14:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":133422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491119,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:10:11] local.INFO: GPS data processed {"connection_id":133422,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:10:11] local.INFO: Acknowledgment sent {"connection_id":133422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:10:12] local.INFO: TCP Data received {"connection_id":134777,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f64ec3308012d80f24005a12e40000a01002f..."} 
[2026-07-15 14:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64ec3308012d80f24005a12e40000a01002f..."} 
[2026-07-15 14:10:12] local.INFO: Processing buffer {"connection_id":134777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64ec3308012d80f24005a12e40000a01002f..."} 
[2026-07-15 14:10:12] local.INFO: Packet analysis {"connection_id":134777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64ec"} 
[2026-07-15 14:10:12] local.INFO: Extracted packet for processing {"connection_id":134777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64ec"} 
[2026-07-15 14:10:12] local.INFO: GPS Element Parsed {"raw_longitude":763425344,"raw_latitude":94449216,"longitude_deg":76.3425344,"latitude_deg":9.4449216,"altitude":10,"angle":256,"satellites":47,"speed":0,"hex_longitude":"2d80f240","hex_latitude":"05a12e40","is_valid_coordinates":true} 
[2026-07-15 14:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730707712001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155605170946048,"note":"Value kept but may cause issues"} 
[2026-07-15 14:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9154410643381678080,"note":"Value kept but may cause issues"} 
[2026-07-15 14:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784104629000,"timestamp_ms":1784104629000,"timestamp_seconds":1784104629,"priority":1,"record_length":96,"hex_timestamp":"0000019f64ec3308"} 
[2026-07-15 14:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-15 14:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":134777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":134777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":134777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730707712001,"66":26158,"7":206,"85":14336,"24":0,"16":347155605170946048,"45":-9154410643381678080},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-07-15 14:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730707712001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:10:12] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-15 14:10:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155605170946048,"km_value":347155605170946.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9154410643381678080,"description":"Unknown IO ID 45"} 
[2026-07-15 14:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730707712001,"power":26158,"unknown_7":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9154410643381678080}} 
[2026-07-15 14:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":134777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:10:12] local.INFO: GPS data processed {"connection_id":134777,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:10:12] local.INFO: Acknowledgment sent {"connection_id":134777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:10:15] local.INFO: TCP Data received {"connection_id":133422,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64ec61e8012d7bb80005ceab40000000511f..."} 
[2026-07-15 14:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64ec61e8012d7bb80005ceab40000000511f..."} 
[2026-07-15 14:10:15] local.INFO: Processing buffer {"connection_id":133422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64ec61e8012d7bb80005ceab40000000511f..."} 
[2026-07-15 14:10:15] local.INFO: Packet analysis {"connection_id":133422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64ec"} 
[2026-07-15 14:10:15] local.INFO: Extracted packet for processing {"connection_id":133422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64ec"} 
[2026-07-15 14:10:15] local.INFO: GPS Element Parsed {"raw_longitude":763082752,"raw_latitude":97430336,"longitude_deg":76.3082752,"latitude_deg":9.7430336,"altitude":0,"angle":81,"satellites":31,"speed":35,"hex_longitude":"2d7bb800","hex_latitude":"05ceab40","is_valid_coordinates":true} 
[2026-07-15 14:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730788096001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106460393748037632,"note":"Value kept but may cause issues"} 
[2026-07-15 14:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8914875487322062848,"note":"Value kept but may cause issues"} 
[2026-07-15 14:10:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784104641000,"timestamp_ms":1784104641000,"timestamp_seconds":1784104641,"priority":1,"record_length":96,"hex_timestamp":"0000019f64ec61e8"} 
[2026-07-15 14:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:10: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-07-15 14:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-15 14:10:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:10:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":133422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":133422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":133422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:10:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730788096001,"66":13276,"83":206,"85":15104,"24":35,"16":106460393748037632,"45":8914875487322062848},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-07-15 14:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730788096001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:10:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-15 14:10:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106460393748037632,"km_value":106460393748037.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8914875487322062848,"description":"Unknown IO ID 45"} 
[2026-07-15 14:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730788096001,"power":13276,"unknown_83":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8914875487322062848}} 
[2026-07-15 14:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":133422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491121,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:10:15] local.INFO: GPS data processed {"connection_id":133422,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:10:15] local.INFO: Acknowledgment sent {"connection_id":133422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:10:51] local.INFO: TCP Data received {"connection_id":134777,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f64ec3308012d80f24005a12e40000a01002f..."} 
[2026-07-15 14:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64ec3308012d80f24005a12e40000a01002f..."} 
[2026-07-15 14:10:51] local.INFO: Processing buffer {"connection_id":134777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64ec3308012d80f24005a12e40000a01002f..."} 
[2026-07-15 14:10:51] local.INFO: Packet analysis {"connection_id":134777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64ec"} 
[2026-07-15 14:10:51] local.INFO: Extracted packet for processing {"connection_id":134777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64ec"} 
[2026-07-15 14:10:51] local.INFO: GPS Element Parsed {"raw_longitude":763425344,"raw_latitude":94449216,"longitude_deg":76.3425344,"latitude_deg":9.4449216,"altitude":10,"angle":256,"satellites":47,"speed":0,"hex_longitude":"2d80f240","hex_latitude":"05a12e40","is_valid_coordinates":true} 
[2026-07-15 14: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-07-15 14:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730707712001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155605170946048,"note":"Value kept but may cause issues"} 
[2026-07-15 14:10:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9154410643381678080,"note":"Value kept but may cause issues"} 
[2026-07-15 14:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784104629000,"timestamp_ms":1784104629000,"timestamp_seconds":1784104629,"priority":1,"record_length":96,"hex_timestamp":"0000019f64ec3308"} 
[2026-07-15 14:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:10:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-15 14:10:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14: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-07-15 14:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":134777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":134777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":134777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:10: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-07-15 14:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730707712001,"66":26158,"7":206,"85":14336,"24":0,"16":347155605170946048,"45":-9154410643381678080},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-07-15 14:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730707712001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:10:51] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-15 14:10:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155605170946048,"km_value":347155605170946.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:10:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9154410643381678080,"description":"Unknown IO ID 45"} 
[2026-07-15 14:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730707712001,"power":26158,"unknown_7":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9154410643381678080}} 
[2026-07-15 14:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":134777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:10:51] local.INFO: GPS data processed {"connection_id":134777,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:10:51] local.INFO: Acknowledgment sent {"connection_id":134777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:10:57] local.INFO: TCP Data received {"connection_id":132380,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132380,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:10:57] local.INFO: Processing buffer {"connection_id":132380,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:10:57] local.INFO: IMEI packet received {"connection_id":132380,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 14:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":132380,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:10:59] local.INFO: TCP Data received {"connection_id":132380,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132380,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:10:59] local.INFO: Processing buffer {"connection_id":132380,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:10:59] local.INFO: IMEI packet received {"connection_id":132380,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":132380,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:10:59] local.INFO: TCP Data received {"connection_id":132576,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132576,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:10:59] local.INFO: Processing buffer {"connection_id":132576,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:10:59] local.INFO: IMEI packet received {"connection_id":132576,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 14:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":132576,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:11:01] local.INFO: TCP Data received {"connection_id":132381,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:11:01] local.INFO: Processing buffer {"connection_id":132381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:11:01] local.INFO: IMEI packet received {"connection_id":132381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":132381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:11:04] local.INFO: TCP Data received {"connection_id":132380,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132380,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:11:04] local.INFO: Processing buffer {"connection_id":132380,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:11:04] local.INFO: IMEI packet received {"connection_id":132380,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":132380,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:11:05] local.INFO: TCP Data received {"connection_id":132380,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64ec8510012d7bdc8005cead380000005c20..."} 
[2026-07-15 14:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64ec8510012d7bdc8005cead380000005c20..."} 
[2026-07-15 14:11:05] local.INFO: Processing buffer {"connection_id":132380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64ec8510012d7bdc8005cead380000005c20..."} 
[2026-07-15 14:11:05] local.INFO: Packet analysis {"connection_id":132380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64ec"} 
[2026-07-15 14:11:05] local.INFO: Extracted packet for processing {"connection_id":132380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64ec"} 
[2026-07-15 14:11:05] local.INFO: GPS Element Parsed {"raw_longitude":763092096,"raw_latitude":97430840,"longitude_deg":76.3092096,"latitude_deg":9.743084,"altitude":0,"angle":92,"satellites":32,"speed":45,"hex_longitude":"2d7bdc80","hex_latitude":"05cead38","is_valid_coordinates":true} 
[2026-07-15 14:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730788096001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106460844719603712,"note":"Value kept but may cause issues"} 
[2026-07-15 14:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8914875487322062848,"note":"Value kept but may cause issues"} 
[2026-07-15 14:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784104650000,"timestamp_ms":1784104650000,"timestamp_seconds":1784104650,"priority":1,"record_length":96,"hex_timestamp":"0000019f64ec8510"} 
[2026-07-15 14:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:11: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-07-15 14:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-15 14:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730788096001,"66":13428,"83":206,"85":15104,"24":45,"16":106460844719603712,"45":8914875487322062848},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-07-15 14:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730788096001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:11:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-15 14:11:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106460844719603712,"km_value":106460844719603.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8914875487322062848,"description":"Unknown IO ID 45"} 
[2026-07-15 14:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730788096001,"power":13428,"unknown_83":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8914875487322062848}} 
[2026-07-15 14:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":132380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491123,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:11:05] local.INFO: GPS data processed {"connection_id":132380,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:11:05] local.INFO: Acknowledgment sent {"connection_id":132380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:11:06] local.INFO: TCP Data received {"connection_id":132381,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:11:06] local.INFO: Processing buffer {"connection_id":132381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:11:06] local.INFO: IMEI packet received {"connection_id":132381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":132381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:11:08] local.INFO: TCP Data received {"connection_id":132381,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f64ec3308012d80f24005a12e40000a01002f..."} 
[2026-07-15 14:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64ec3308012d80f24005a12e40000a01002f..."} 
[2026-07-15 14:11:08] local.INFO: Processing buffer {"connection_id":132381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64ec3308012d80f24005a12e40000a01002f..."} 
[2026-07-15 14:11:08] local.INFO: Packet analysis {"connection_id":132381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64ec"} 
[2026-07-15 14:11:08] local.INFO: Extracted packet for processing {"connection_id":132381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64ec"} 
[2026-07-15 14:11:08] local.INFO: GPS Element Parsed {"raw_longitude":763425344,"raw_latitude":94449216,"longitude_deg":76.3425344,"latitude_deg":9.4449216,"altitude":10,"angle":256,"satellites":47,"speed":0,"hex_longitude":"2d80f240","hex_latitude":"05a12e40","is_valid_coordinates":true} 
[2026-07-15 14:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730707712001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155605170946048,"note":"Value kept but may cause issues"} 
[2026-07-15 14:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9154410643381678080,"note":"Value kept but may cause issues"} 
[2026-07-15 14:11:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784104629000,"timestamp_ms":1784104629000,"timestamp_seconds":1784104629,"priority":1,"record_length":96,"hex_timestamp":"0000019f64ec3308"} 
[2026-07-15 14:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-15 14:11:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:11:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730707712001,"66":26158,"7":206,"85":14336,"24":0,"16":347155605170946048,"45":-9154410643381678080},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-07-15 14:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730707712001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:11:08] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-15 14:11:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155605170946048,"km_value":347155605170946.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9154410643381678080,"description":"Unknown IO ID 45"} 
[2026-07-15 14:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730707712001,"power":26158,"unknown_7":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9154410643381678080}} 
[2026-07-15 14:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":132381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:11:08] local.INFO: GPS data processed {"connection_id":132381,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:11:08] local.INFO: Acknowledgment sent {"connection_id":132381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:11:34] local.INFO: TCP Data received {"connection_id":132382,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132382,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:11:34] local.INFO: Processing buffer {"connection_id":132382,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:11:34] local.INFO: IMEI packet received {"connection_id":132382,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 14:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":132382,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:11:36] local.INFO: TCP Data received {"connection_id":132380,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64eca450012d7c010005ceabe80000005b22..."} 
[2026-07-15 14:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64eca450012d7c010005ceabe80000005b22..."} 
[2026-07-15 14:11:36] local.INFO: Processing buffer {"connection_id":132380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64eca450012d7c010005ceabe80000005b22..."} 
[2026-07-15 14:11:36] local.INFO: Packet analysis {"connection_id":132380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64ec"} 
[2026-07-15 14:11:36] local.INFO: Extracted packet for processing {"connection_id":132380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64ec"} 
[2026-07-15 14:11:36] local.INFO: GPS Element Parsed {"raw_longitude":763101440,"raw_latitude":97430504,"longitude_deg":76.310144,"latitude_deg":9.7430504,"altitude":0,"angle":91,"satellites":34,"speed":43,"hex_longitude":"2d7c0100","hex_latitude":"05ceabe8","is_valid_coordinates":true} 
[2026-07-15 14:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730790400001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106461287101235200,"note":"Value kept but may cause issues"} 
[2026-07-15 14:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925149323972130816,"note":"Value kept but may cause issues"} 
[2026-07-15 14:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784104658000,"timestamp_ms":1784104658000,"timestamp_seconds":1784104658,"priority":1,"record_length":96,"hex_timestamp":"0000019f64eca450"} 
[2026-07-15 14:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:11: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-07-15 14:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-15 14:11:36] 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-07-15 14:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730790400001,"66":13222,"83":206,"85":15104,"24":43,"16":106461287101235200,"45":8925149323972130816},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-07-15 14:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730790400001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:11:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-15 14:11:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106461287101235200,"km_value":106461287101235.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925149323972130816,"description":"Unknown IO ID 45"} 
[2026-07-15 14:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730790400001,"power":13222,"unknown_83":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8925149323972130816}} 
[2026-07-15 14:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":132380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491125,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:11:36] local.INFO: GPS data processed {"connection_id":132380,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:11:36] local.INFO: Acknowledgment sent {"connection_id":132380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:11:39] local.INFO: TCP Data received {"connection_id":132381,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f64ef7310012d80f24005a12e40000a010031..."} 
[2026-07-15 14:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64ef7310012d80f24005a12e40000a010031..."} 
[2026-07-15 14:11:39] local.INFO: Processing buffer {"connection_id":132381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64ef7310012d80f24005a12e40000a010031..."} 
[2026-07-15 14:11:39] local.INFO: Packet analysis {"connection_id":132381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64ef"} 
[2026-07-15 14:11:39] local.INFO: Extracted packet for processing {"connection_id":132381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64ef"} 
[2026-07-15 14:11:39] local.INFO: GPS Element Parsed {"raw_longitude":763425344,"raw_latitude":94449216,"longitude_deg":76.3425344,"latitude_deg":9.4449216,"altitude":10,"angle":256,"satellites":49,"speed":0,"hex_longitude":"2d80f240","hex_latitude":"05a12e40","is_valid_coordinates":true} 
[2026-07-15 14:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730785024001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155605170946048,"note":"Value kept but may cause issues"} 
[2026-07-15 14:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155184699567620096,"note":"Value kept but may cause issues"} 
[2026-07-15 14:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784104842000,"timestamp_ms":1784104842000,"timestamp_seconds":1784104842,"priority":1,"record_length":96,"hex_timestamp":"0000019f64ef7310"} 
[2026-07-15 14:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-15 14:11:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730785024001,"66":26158,"7":206,"85":14336,"24":0,"16":347155605170946048,"45":-9155184699567620096},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-07-15 14:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730785024001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:11:39] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-15 14:11:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155605170946048,"km_value":347155605170946.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155184699567620096,"description":"Unknown IO ID 45"} 
[2026-07-15 14:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730785024001,"power":26158,"unknown_7":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9155184699567620096}} 
[2026-07-15 14:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":132381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:11:39] local.INFO: GPS data processed {"connection_id":132381,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:11:39] local.INFO: Acknowledgment sent {"connection_id":132381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:11:59] local.INFO: TCP Data received {"connection_id":132578,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132578,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:11:59] local.INFO: Processing buffer {"connection_id":132578,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:11:59] local.INFO: IMEI packet received {"connection_id":132578,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 14:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":132578,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:12:00] local.INFO: TCP Data received {"connection_id":132578,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132578,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:12:00] local.INFO: Processing buffer {"connection_id":132578,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:12:00] local.INFO: IMEI packet received {"connection_id":132578,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":132578,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:12:01] local.INFO: TCP Data received {"connection_id":132577,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:12:01] local.INFO: Processing buffer {"connection_id":132577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:12:01] local.INFO: IMEI packet received {"connection_id":132577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":132577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:12:05] local.INFO: TCP Data received {"connection_id":132578,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132578,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:12:05] local.INFO: Processing buffer {"connection_id":132578,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:12:05] local.INFO: IMEI packet received {"connection_id":132578,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":132578,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:12:06] local.INFO: TCP Data received {"connection_id":132578,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64effbc8012d7c344005ceacb0000100581f..."} 
[2026-07-15 14:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64effbc8012d7c344005ceacb0000100581f..."} 
[2026-07-15 14:12:06] local.INFO: Processing buffer {"connection_id":132578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64effbc8012d7c344005ceacb0000100581f..."} 
[2026-07-15 14:12:06] local.INFO: Packet analysis {"connection_id":132578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64ef"} 
[2026-07-15 14:12:06] local.INFO: Extracted packet for processing {"connection_id":132578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64ef"} 
[2026-07-15 14:12:06] local.INFO: GPS Element Parsed {"raw_longitude":763114560,"raw_latitude":97430704,"longitude_deg":76.311456,"latitude_deg":9.7430704,"altitude":1,"angle":88,"satellites":31,"speed":0,"hex_longitude":"2d7c3440","hex_latitude":"05ceacb0","is_valid_coordinates":true} 
[2026-07-15 14: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-07-15 14:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730843136001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106461918461427712,"note":"Value kept but may cause issues"} 
[2026-07-15 14:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949848753178456064,"note":"Value kept but may cause issues"} 
[2026-07-15 14:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784104877000,"timestamp_ms":1784104877000,"timestamp_seconds":1784104877,"priority":1,"record_length":96,"hex_timestamp":"0000019f64effbc8"} 
[2026-07-15 14:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14: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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-07-15 14:12:06] 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-07-15 14: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-07-15 14:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730843136001,"66":13189,"235":206,"85":15104,"24":0,"16":106461918461427712,"45":8949848753178456064},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-07-15 14:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730843136001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:12:06] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-15 14:12:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106461918461427712,"km_value":106461918461427.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949848753178456064,"description":"Unknown IO ID 45"} 
[2026-07-15 14:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730843136001,"power":13189,"unknown_235":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8949848753178456064}} 
[2026-07-15 14:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":132578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491127,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:12:06] local.INFO: GPS data processed {"connection_id":132578,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:12:06] local.INFO: Acknowledgment sent {"connection_id":132578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:12:06] local.INFO: TCP Data received {"connection_id":132577,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:12:06] local.INFO: Processing buffer {"connection_id":132577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:12:06] local.INFO: IMEI packet received {"connection_id":132577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":132577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:12:07] local.INFO: TCP Data received {"connection_id":132577,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f64efc900012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64efc900012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:12:07] local.INFO: Processing buffer {"connection_id":132577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64efc900012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:12:07] local.INFO: Packet analysis {"connection_id":132577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64ef"} 
[2026-07-15 14:12:07] local.INFO: Extracted packet for processing {"connection_id":132577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64ef"} 
[2026-07-15 14:12:07] local.INFO: GPS Element Parsed {"raw_longitude":763424896,"raw_latitude":94449184,"longitude_deg":76.3424896,"latitude_deg":9.4449184,"altitude":10,"angle":256,"satellites":47,"speed":0,"hex_longitude":"2d80f080","hex_latitude":"05a12e20","is_valid_coordinates":true} 
[2026-07-15 14:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730839552001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155605170946048,"note":"Value kept but may cause issues"} 
[2026-07-15 14:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155184699567620096,"note":"Value kept but may cause issues"} 
[2026-07-15 14:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784104864000,"timestamp_ms":1784104864000,"timestamp_seconds":1784104864,"priority":1,"record_length":96,"hex_timestamp":"0000019f64efc900"} 
[2026-07-15 14:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-15 14:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:12:07] 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-07-15 14:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730839552001,"66":25875,"7":206,"85":14336,"24":0,"16":347155605170946048,"45":-9155184699567620096},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-07-15 14:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730839552001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:12:07] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-15 14:12:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155605170946048,"km_value":347155605170946.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155184699567620096,"description":"Unknown IO ID 45"} 
[2026-07-15 14:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730839552001,"power":25875,"unknown_7":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9155184699567620096}} 
[2026-07-15 14:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":132577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:12:07] local.INFO: GPS data processed {"connection_id":132577,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:12:07] local.INFO: Acknowledgment sent {"connection_id":132577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:12:38] local.INFO: TCP Data received {"connection_id":132578,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64f04dd0012d7c344005ceacb0000100581f..."} 
[2026-07-15 14:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64f04dd0012d7c344005ceacb0000100581f..."} 
[2026-07-15 14:12:38] local.INFO: Processing buffer {"connection_id":132578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64f04dd0012d7c344005ceacb0000100581f..."} 
[2026-07-15 14:12:38] local.INFO: Packet analysis {"connection_id":132578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64f0"} 
[2026-07-15 14:12:38] local.INFO: Extracted packet for processing {"connection_id":132578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64f0"} 
[2026-07-15 14:12:38] local.INFO: GPS Element Parsed {"raw_longitude":763114560,"raw_latitude":97430704,"longitude_deg":76.311456,"latitude_deg":9.7430704,"altitude":1,"angle":88,"satellites":31,"speed":0,"hex_longitude":"2d7c3440","hex_latitude":"05ceacb0","is_valid_coordinates":true} 
[2026-07-15 14: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-07-15 14:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730848512001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106461918461427712,"note":"Value kept but may cause issues"} 
[2026-07-15 14:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949848753178456064,"note":"Value kept but may cause issues"} 
[2026-07-15 14:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784104898000,"timestamp_ms":1784104898000,"timestamp_seconds":1784104898,"priority":1,"record_length":96,"hex_timestamp":"0000019f64f04dd0"} 
[2026-07-15 14:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-15 14:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14: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-07-15 14:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730848512001,"66":13091,"235":206,"85":15104,"24":0,"16":106461918461427712,"45":8949848753178456064},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-07-15 14:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730848512001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:12:38] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-15 14:12:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106461918461427712,"km_value":106461918461427.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949848753178456064,"description":"Unknown IO ID 45"} 
[2026-07-15 14:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730848512001,"power":13091,"unknown_235":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8949848753178456064}} 
[2026-07-15 14:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":132578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491129,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:12:38] local.INFO: GPS data processed {"connection_id":132578,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:12:38] local.INFO: Acknowledgment sent {"connection_id":132578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:12:38] local.INFO: TCP Data received {"connection_id":132577,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f64efe840012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64efe840012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:12:38] local.INFO: Processing buffer {"connection_id":132577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64efe840012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:12:38] local.INFO: Packet analysis {"connection_id":132577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64ef"} 
[2026-07-15 14:12:38] local.INFO: Extracted packet for processing {"connection_id":132577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64ef"} 
[2026-07-15 14:12:38] local.INFO: GPS Element Parsed {"raw_longitude":763424896,"raw_latitude":94449184,"longitude_deg":76.3424896,"latitude_deg":9.4449184,"altitude":10,"angle":256,"satellites":47,"speed":0,"hex_longitude":"2d80f080","hex_latitude":"05a12e20","is_valid_coordinates":true} 
[2026-07-15 14:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730845184001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155605170946048,"note":"Value kept but may cause issues"} 
[2026-07-15 14:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155677280776871936,"note":"Value kept but may cause issues"} 
[2026-07-15 14:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784104872000,"timestamp_ms":1784104872000,"timestamp_seconds":1784104872,"priority":1,"record_length":96,"hex_timestamp":"0000019f64efe840"} 
[2026-07-15 14:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-15 14:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14: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-07-15 14:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730845184001,"66":25897,"7":206,"85":14336,"24":0,"16":347155605170946048,"45":-9155677280776871936},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-07-15 14:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730845184001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:12:38] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-15 14:12:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155605170946048,"km_value":347155605170946.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155677280776871936,"description":"Unknown IO ID 45"} 
[2026-07-15 14:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730845184001,"power":25897,"unknown_7":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9155677280776871936}} 
[2026-07-15 14:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":132577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:12:38] local.INFO: GPS data processed {"connection_id":132577,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:12:38] local.INFO: Acknowledgment sent {"connection_id":132577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:12:59] local.INFO: TCP Data received {"connection_id":134779,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134779,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:12:59] local.INFO: Processing buffer {"connection_id":134779,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:12:59] local.INFO: IMEI packet received {"connection_id":134779,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 14:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":134779,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:13:01] local.INFO: TCP Data received {"connection_id":132383,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:13:01] local.INFO: Processing buffer {"connection_id":132383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:13:01] local.INFO: IMEI packet received {"connection_id":132383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":132383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:13:03] local.INFO: TCP Data received {"connection_id":134779,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134779,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:13:03] local.INFO: Processing buffer {"connection_id":134779,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:13:03] local.INFO: IMEI packet received {"connection_id":134779,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":134779,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:13:04] local.INFO: TCP Data received {"connection_id":134779,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134779,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:13:04] local.INFO: Processing buffer {"connection_id":134779,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:13:04] local.INFO: IMEI packet received {"connection_id":134779,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":134779,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:13:05] local.INFO: TCP Data received {"connection_id":134779,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64f09fd8012d7c344005ceacb0000100581f..."} 
[2026-07-15 14:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64f09fd8012d7c344005ceacb0000100581f..."} 
[2026-07-15 14:13:05] local.INFO: Processing buffer {"connection_id":134779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64f09fd8012d7c344005ceacb0000100581f..."} 
[2026-07-15 14:13:05] local.INFO: Packet analysis {"connection_id":134779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64f0"} 
[2026-07-15 14:13:05] local.INFO: Extracted packet for processing {"connection_id":134779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64f0"} 
[2026-07-15 14:13:05] local.INFO: GPS Element Parsed {"raw_longitude":763114560,"raw_latitude":97430704,"longitude_deg":76.311456,"latitude_deg":9.7430704,"altitude":1,"angle":88,"satellites":31,"speed":0,"hex_longitude":"2d7c3440","hex_latitude":"05ceacb0","is_valid_coordinates":true} 
[2026-07-15 14:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730853888001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106461918461427712,"note":"Value kept but may cause issues"} 
[2026-07-15 14:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949848753178456064,"note":"Value kept but may cause issues"} 
[2026-07-15 14:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784104919000,"timestamp_ms":1784104919000,"timestamp_seconds":1784104919,"priority":1,"record_length":96,"hex_timestamp":"0000019f64f09fd8"} 
[2026-07-15 14:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:13:05] 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-07-15 14:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-15 14:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":134779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":134779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":134779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730853888001,"66":13222,"73":206,"85":15104,"24":0,"16":106461918461427712,"45":8949848753178456064},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,85,24,16,45]} 
[2026-07-15 14:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730853888001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:13:05] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-15 14:13:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106461918461427712,"km_value":106461918461427.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949848753178456064,"description":"Unknown IO ID 45"} 
[2026-07-15 14:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730853888001,"power":13222,"unknown_73":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8949848753178456064}} 
[2026-07-15 14:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":134779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491131,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:13:05] local.INFO: GPS data processed {"connection_id":134779,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:13:05] local.INFO: Acknowledgment sent {"connection_id":134779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:13:06] local.INFO: TCP Data received {"connection_id":132383,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:13:06] local.INFO: Processing buffer {"connection_id":132383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:13:06] local.INFO: IMEI packet received {"connection_id":132383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":132383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:13:07] local.INFO: TCP Data received {"connection_id":132383,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f64efec28012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64efec28012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:13:07] local.INFO: Processing buffer {"connection_id":132383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64efec28012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:13:07] local.INFO: Packet analysis {"connection_id":132383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64ef"} 
[2026-07-15 14:13:07] local.INFO: Extracted packet for processing {"connection_id":132383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64ef"} 
[2026-07-15 14:13:07] local.INFO: GPS Element Parsed {"raw_longitude":763424896,"raw_latitude":94449184,"longitude_deg":76.3424896,"latitude_deg":9.4449184,"altitude":10,"angle":256,"satellites":47,"speed":0,"hex_longitude":"2d80f080","hex_latitude":"05a12e20","is_valid_coordinates":true} 
[2026-07-15 14:13:07] 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-07-15 14:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730847232001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155605170946048,"note":"Value kept but may cause issues"} 
[2026-07-15 14:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155677280776871936,"note":"Value kept but may cause issues"} 
[2026-07-15 14:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784104873000,"timestamp_ms":1784104873000,"timestamp_seconds":1784104873,"priority":1,"record_length":96,"hex_timestamp":"0000019f64efec28"} 
[2026-07-15 14:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-15 14:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:13:07] 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-07-15 14:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730847232001,"66":25897,"7":206,"85":14336,"24":0,"16":347155605170946048,"45":-9155677280776871936},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-07-15 14:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730847232001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:13:07] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-15 14:13:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155605170946048,"km_value":347155605170946.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155677280776871936,"description":"Unknown IO ID 45"} 
[2026-07-15 14:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730847232001,"power":25897,"unknown_7":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9155677280776871936}} 
[2026-07-15 14:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":132383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:13:07] local.INFO: GPS data processed {"connection_id":132383,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:13:07] local.INFO: Acknowledgment sent {"connection_id":132383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:13:10] local.INFO: TCP Data received {"connection_id":134779,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64f0f1e0012d7c344005ceacb00001005820..."} 
[2026-07-15 14:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64f0f1e0012d7c344005ceacb00001005820..."} 
[2026-07-15 14:13:10] local.INFO: Processing buffer {"connection_id":134779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64f0f1e0012d7c344005ceacb00001005820..."} 
[2026-07-15 14:13:10] local.INFO: Packet analysis {"connection_id":134779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64f0"} 
[2026-07-15 14:13:10] local.INFO: Extracted packet for processing {"connection_id":134779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64f0"} 
[2026-07-15 14:13:10] local.INFO: GPS Element Parsed {"raw_longitude":763114560,"raw_latitude":97430704,"longitude_deg":76.311456,"latitude_deg":9.7430704,"altitude":1,"angle":88,"satellites":32,"speed":0,"hex_longitude":"2d7c3440","hex_latitude":"05ceacb0","is_valid_coordinates":true} 
[2026-07-15 14:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730859264001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106461918461427712,"note":"Value kept but may cause issues"} 
[2026-07-15 14:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949848753178456064,"note":"Value kept but may cause issues"} 
[2026-07-15 14:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784104940000,"timestamp_ms":1784104940000,"timestamp_seconds":1784104940,"priority":1,"record_length":96,"hex_timestamp":"0000019f64f0f1e0"} 
[2026-07-15 14:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-15 14:13:10] 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-07-15 14:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":134779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":134779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":134779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730859264001,"66":13189,"73":206,"85":15104,"24":0,"16":106461918461427712,"45":8949848753178456064},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,85,24,16,45]} 
[2026-07-15 14:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730859264001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:13:10] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-15 14:13:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106461918461427712,"km_value":106461918461427.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949848753178456064,"description":"Unknown IO ID 45"} 
[2026-07-15 14:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730859264001,"power":13189,"unknown_73":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8949848753178456064}} 
[2026-07-15 14:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":134779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491133,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:13:10] local.INFO: GPS data processed {"connection_id":134779,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:13:10] local.INFO: Acknowledgment sent {"connection_id":134779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:13:38] local.INFO: TCP Data received {"connection_id":132383,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f64effbc8012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64effbc8012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:13:38] local.INFO: Processing buffer {"connection_id":132383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64effbc8012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:13:38] local.INFO: Packet analysis {"connection_id":132383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64ef"} 
[2026-07-15 14:13:38] local.INFO: Extracted packet for processing {"connection_id":132383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64ef"} 
[2026-07-15 14:13:38] local.INFO: GPS Element Parsed {"raw_longitude":763424896,"raw_latitude":94449184,"longitude_deg":76.3424896,"latitude_deg":9.4449184,"altitude":10,"angle":256,"satellites":47,"speed":0,"hex_longitude":"2d80f080","hex_latitude":"05a12e20","is_valid_coordinates":true} 
[2026-07-15 14:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730847488001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155605170946048,"note":"Value kept but may cause issues"} 
[2026-07-15 14:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155677280776871936,"note":"Value kept but may cause issues"} 
[2026-07-15 14:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784104877000,"timestamp_ms":1784104877000,"timestamp_seconds":1784104877,"priority":1,"record_length":96,"hex_timestamp":"0000019f64effbc8"} 
[2026-07-15 14:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-15 14:13:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14: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-07-15 14:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730847488001,"66":25843,"7":206,"85":14336,"24":0,"16":347155605170946048,"45":-9155677280776871936},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-07-15 14:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730847488001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:13:38] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-15 14:13:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155605170946048,"km_value":347155605170946.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155677280776871936,"description":"Unknown IO ID 45"} 
[2026-07-15 14:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730847488001,"power":25843,"unknown_7":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9155677280776871936}} 
[2026-07-15 14:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":132383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:13:38] local.INFO: GPS data processed {"connection_id":132383,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:13:38] local.INFO: Acknowledgment sent {"connection_id":132383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:13:41] local.INFO: TCP Data received {"connection_id":134779,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64f143e8012d7c344005ceacb00001005821..."} 
[2026-07-15 14:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64f143e8012d7c344005ceacb00001005821..."} 
[2026-07-15 14:13:41] local.INFO: Processing buffer {"connection_id":134779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64f143e8012d7c344005ceacb00001005821..."} 
[2026-07-15 14:13:41] local.INFO: Packet analysis {"connection_id":134779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64f1"} 
[2026-07-15 14:13:41] local.INFO: Extracted packet for processing {"connection_id":134779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64f1"} 
[2026-07-15 14:13:41] local.INFO: GPS Element Parsed {"raw_longitude":763114560,"raw_latitude":97430704,"longitude_deg":76.311456,"latitude_deg":9.7430704,"altitude":1,"angle":88,"satellites":33,"speed":0,"hex_longitude":"2d7c3440","hex_latitude":"05ceacb0","is_valid_coordinates":true} 
[2026-07-15 14:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730864640001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106461918461427712,"note":"Value kept but may cause issues"} 
[2026-07-15 14:13:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949848753178456064,"note":"Value kept but may cause issues"} 
[2026-07-15 14:13:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784104961000,"timestamp_ms":1784104961000,"timestamp_seconds":1784104961,"priority":1,"record_length":96,"hex_timestamp":"0000019f64f143e8"} 
[2026-07-15 14:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:13:41] 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-07-15 14:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-15 14:13:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":134779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":134779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":134779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:13:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730864640001,"66":12939,"73":206,"85":15104,"24":0,"16":106461918461427712,"45":8949848753178456064},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,85,24,16,45]} 
[2026-07-15 14:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730864640001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:13:41] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-15 14:13:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106461918461427712,"km_value":106461918461427.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:13:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949848753178456064,"description":"Unknown IO ID 45"} 
[2026-07-15 14:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730864640001,"power":12939,"unknown_73":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8949848753178456064}} 
[2026-07-15 14:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":134779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491135,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:13:41] local.INFO: GPS data processed {"connection_id":134779,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:13:41] local.INFO: Acknowledgment sent {"connection_id":134779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:14:02] local.INFO: TCP Data received {"connection_id":132384,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:14:02] local.INFO: Processing buffer {"connection_id":132384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:14:02] local.INFO: IMEI packet received {"connection_id":132384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":132384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:14:04] local.INFO: TCP Data received {"connection_id":134780,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134780,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:14:04] local.INFO: Processing buffer {"connection_id":134780,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:14:04] local.INFO: IMEI packet received {"connection_id":134780,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 14:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":134780,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:14:06] local.INFO: TCP Data received {"connection_id":134780,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134780,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:14:06] local.INFO: Processing buffer {"connection_id":134780,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:14:06] local.INFO: IMEI packet received {"connection_id":134780,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":134780,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:14:07] local.INFO: TCP Data received {"connection_id":134780,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64f195f0012d7c344005ceacb00001005822..."} 
[2026-07-15 14:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64f195f0012d7c344005ceacb00001005822..."} 
[2026-07-15 14:14:07] local.INFO: Processing buffer {"connection_id":134780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64f195f0012d7c344005ceacb00001005822..."} 
[2026-07-15 14:14:07] local.INFO: Packet analysis {"connection_id":134780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64f1"} 
[2026-07-15 14:14:07] local.INFO: Extracted packet for processing {"connection_id":134780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64f1"} 
[2026-07-15 14:14:07] local.INFO: GPS Element Parsed {"raw_longitude":763114560,"raw_latitude":97430704,"longitude_deg":76.311456,"latitude_deg":9.7430704,"altitude":1,"angle":88,"satellites":34,"speed":0,"hex_longitude":"2d7c3440","hex_latitude":"05ceacb0","is_valid_coordinates":true} 
[2026-07-15 14:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730870016001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106461918461427712,"note":"Value kept but may cause issues"} 
[2026-07-15 14:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949848753178456064,"note":"Value kept but may cause issues"} 
[2026-07-15 14:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784104982000,"timestamp_ms":1784104982000,"timestamp_seconds":1784104982,"priority":1,"record_length":96,"hex_timestamp":"0000019f64f195f0"} 
[2026-07-15 14:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 14:14: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-07-15 14:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730870016001,"66":13015,"73":206,"85":15104,"24":0,"16":106461918461427712,"45":8949848753178456064},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,85,24,16,45]} 
[2026-07-15 14:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730870016001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:14:07] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-15 14:14:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106461918461427712,"km_value":106461918461427.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949848753178456064,"description":"Unknown IO ID 45"} 
[2026-07-15 14:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730870016001,"power":13015,"unknown_73":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8949848753178456064}} 
[2026-07-15 14:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":134780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491136,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:14:07] local.INFO: GPS data processed {"connection_id":134780,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:14:07] local.INFO: Acknowledgment sent {"connection_id":134780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:14:08] local.INFO: TCP Data received {"connection_id":132384,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:14:08] local.INFO: Processing buffer {"connection_id":132384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:14:08] local.INFO: IMEI packet received {"connection_id":132384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":132384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:14:09] local.INFO: TCP Data received {"connection_id":132384,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f64effbc8012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64effbc8012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:14:09] local.INFO: Processing buffer {"connection_id":132384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64effbc8012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:14:09] local.INFO: Packet analysis {"connection_id":132384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64ef"} 
[2026-07-15 14:14:09] local.INFO: Extracted packet for processing {"connection_id":132384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64ef"} 
[2026-07-15 14:14:09] local.INFO: GPS Element Parsed {"raw_longitude":763424896,"raw_latitude":94449184,"longitude_deg":76.3424896,"latitude_deg":9.4449184,"altitude":10,"angle":256,"satellites":47,"speed":0,"hex_longitude":"2d80f080","hex_latitude":"05a12e20","is_valid_coordinates":true} 
[2026-07-15 14:14:09] 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-07-15 14:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730847488001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155605170946048,"note":"Value kept but may cause issues"} 
[2026-07-15 14:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155677280776871936,"note":"Value kept but may cause issues"} 
[2026-07-15 14:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784104877000,"timestamp_ms":1784104877000,"timestamp_seconds":1784104877,"priority":1,"record_length":96,"hex_timestamp":"0000019f64effbc8"} 
[2026-07-15 14:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-15 14:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14: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-07-15 14:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":132384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":132384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":132384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:14:09] 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-07-15 14:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730847488001,"66":25843,"7":206,"85":14336,"24":0,"16":347155605170946048,"45":-9155677280776871936},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-07-15 14:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730847488001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:14:09] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-15 14:14:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155605170946048,"km_value":347155605170946.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155677280776871936,"description":"Unknown IO ID 45"} 
[2026-07-15 14:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730847488001,"power":25843,"unknown_7":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9155677280776871936}} 
[2026-07-15 14:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":132384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:14:09] local.INFO: GPS data processed {"connection_id":132384,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:14:09] local.INFO: Acknowledgment sent {"connection_id":132384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:14:09] local.INFO: TCP Data received {"connection_id":134780,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64f1e7f8012d7c344005ceacb00001005820..."} 
[2026-07-15 14:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64f1e7f8012d7c344005ceacb00001005820..."} 
[2026-07-15 14:14:09] local.INFO: Processing buffer {"connection_id":134780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64f1e7f8012d7c344005ceacb00001005820..."} 
[2026-07-15 14:14:09] local.INFO: Packet analysis {"connection_id":134780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64f1"} 
[2026-07-15 14:14:09] local.INFO: Extracted packet for processing {"connection_id":134780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64f1"} 
[2026-07-15 14:14:09] local.INFO: GPS Element Parsed {"raw_longitude":763114560,"raw_latitude":97430704,"longitude_deg":76.311456,"latitude_deg":9.7430704,"altitude":1,"angle":88,"satellites":32,"speed":0,"hex_longitude":"2d7c3440","hex_latitude":"05ceacb0","is_valid_coordinates":true} 
[2026-07-15 14: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-07-15 14:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730875392001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106461918461427712,"note":"Value kept but may cause issues"} 
[2026-07-15 14:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949848753178456064,"note":"Value kept but may cause issues"} 
[2026-07-15 14:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784105003000,"timestamp_ms":1784105003000,"timestamp_seconds":1784105003,"priority":1,"record_length":96,"hex_timestamp":"0000019f64f1e7f8"} 
[2026-07-15 14:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-15 14:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14: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-07-15 14:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":134780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":134780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":134780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730875392001,"66":12765,"73":206,"85":15104,"24":0,"16":106461918461427712,"45":8949848753178456064},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,85,24,16,45]} 
[2026-07-15 14:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730875392001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:14:09] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-15 14:14:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106461918461427712,"km_value":106461918461427.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949848753178456064,"description":"Unknown IO ID 45"} 
[2026-07-15 14:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730875392001,"power":12765,"unknown_73":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8949848753178456064}} 
[2026-07-15 14:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":134780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491138,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:14:09] local.INFO: GPS data processed {"connection_id":134780,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:14:09] local.INFO: Acknowledgment sent {"connection_id":134780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:14:40] local.INFO: TCP Data received {"connection_id":132384,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f64effbc8012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64effbc8012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:14:40] local.INFO: Processing buffer {"connection_id":132384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64effbc8012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:14:40] local.INFO: Packet analysis {"connection_id":132384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64ef"} 
[2026-07-15 14:14:40] local.INFO: Extracted packet for processing {"connection_id":132384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64ef"} 
[2026-07-15 14:14:40] local.INFO: GPS Element Parsed {"raw_longitude":763424896,"raw_latitude":94449184,"longitude_deg":76.3424896,"latitude_deg":9.4449184,"altitude":10,"angle":256,"satellites":47,"speed":0,"hex_longitude":"2d80f080","hex_latitude":"05a12e20","is_valid_coordinates":true} 
[2026-07-15 14:14: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-07-15 14:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730847488001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155605170946048,"note":"Value kept but may cause issues"} 
[2026-07-15 14:14:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155677280776871936,"note":"Value kept but may cause issues"} 
[2026-07-15 14:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784104877000,"timestamp_ms":1784104877000,"timestamp_seconds":1784104877,"priority":1,"record_length":96,"hex_timestamp":"0000019f64effbc8"} 
[2026-07-15 14:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:14:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-15 14:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:14:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:14:40] 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-07-15 14:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730847488001,"66":25843,"7":206,"85":14336,"24":0,"16":347155605170946048,"45":-9155677280776871936},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-07-15 14:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730847488001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:14:40] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-15 14:14:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155605170946048,"km_value":347155605170946.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:14:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155677280776871936,"description":"Unknown IO ID 45"} 
[2026-07-15 14:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730847488001,"power":25843,"unknown_7":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9155677280776871936}} 
[2026-07-15 14:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":132384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:14:40] local.INFO: GPS data processed {"connection_id":132384,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:14:40] local.INFO: Acknowledgment sent {"connection_id":132384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:14:40] local.INFO: TCP Data received {"connection_id":134780,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64f23a00012d7c344005ceacb0000100581f..."} 
[2026-07-15 14:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64f23a00012d7c344005ceacb0000100581f..."} 
[2026-07-15 14:14:40] local.INFO: Processing buffer {"connection_id":134780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64f23a00012d7c344005ceacb0000100581f..."} 
[2026-07-15 14:14:40] local.INFO: Packet analysis {"connection_id":134780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64f2"} 
[2026-07-15 14:14:40] local.INFO: Extracted packet for processing {"connection_id":134780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64f2"} 
[2026-07-15 14:14:40] local.INFO: GPS Element Parsed {"raw_longitude":763114560,"raw_latitude":97430704,"longitude_deg":76.311456,"latitude_deg":9.7430704,"altitude":1,"angle":88,"satellites":31,"speed":0,"hex_longitude":"2d7c3440","hex_latitude":"05ceacb0","is_valid_coordinates":true} 
[2026-07-15 14:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730880768001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106461918461427712,"note":"Value kept but may cause issues"} 
[2026-07-15 14:14:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949848753178456064,"note":"Value kept but may cause issues"} 
[2026-07-15 14:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784105024000,"timestamp_ms":1784105024000,"timestamp_seconds":1784105024,"priority":1,"record_length":96,"hex_timestamp":"0000019f64f23a00"} 
[2026-07-15 14:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:14:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-15 14:14:40] 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-07-15 14:14:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":134780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":134780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":134780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:14:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730880768001,"66":13200,"73":206,"85":15104,"24":0,"16":106461918461427712,"45":8949848753178456064},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,85,24,16,45]} 
[2026-07-15 14:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730880768001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:14:41] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-15 14:14:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106461918461427712,"km_value":106461918461427.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949848753178456064,"description":"Unknown IO ID 45"} 
[2026-07-15 14:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730880768001,"power":13200,"unknown_73":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8949848753178456064}} 
[2026-07-15 14:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":134780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491140,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:14:41] local.INFO: GPS data processed {"connection_id":134780,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:14:41] local.INFO: Acknowledgment sent {"connection_id":134780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:14:56] local.INFO: TCP Data received {"connection_id":134781,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134781,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:14:56] local.INFO: Processing buffer {"connection_id":134781,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:14:56] local.INFO: IMEI packet received {"connection_id":134781,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 14:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":134781,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:14:59] local.INFO: TCP Data received {"connection_id":134781,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134781,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:14:59] local.INFO: Processing buffer {"connection_id":134781,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:14:59] local.INFO: IMEI packet received {"connection_id":134781,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":134781,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:15:04] local.INFO: TCP Data received {"connection_id":134781,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134781,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:15:04] local.INFO: Processing buffer {"connection_id":134781,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:15:04] local.INFO: IMEI packet received {"connection_id":134781,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":134781,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:15:05] local.INFO: TCP Data received {"connection_id":134781,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64f28c08012d7c344005ceacb00001005822..."} 
[2026-07-15 14:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64f28c08012d7c344005ceacb00001005822..."} 
[2026-07-15 14:15:05] local.INFO: Processing buffer {"connection_id":134781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64f28c08012d7c344005ceacb00001005822..."} 
[2026-07-15 14:15:05] local.INFO: Packet analysis {"connection_id":134781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64f2"} 
[2026-07-15 14:15:05] local.INFO: Extracted packet for processing {"connection_id":134781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64f2"} 
[2026-07-15 14:15:05] local.INFO: GPS Element Parsed {"raw_longitude":763114560,"raw_latitude":97430704,"longitude_deg":76.311456,"latitude_deg":9.7430704,"altitude":1,"angle":88,"satellites":34,"speed":0,"hex_longitude":"2d7c3440","hex_latitude":"05ceacb0","is_valid_coordinates":true} 
[2026-07-15 14:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730886144001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106461918461427712,"note":"Value kept but may cause issues"} 
[2026-07-15 14:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949848753178456064,"note":"Value kept but may cause issues"} 
[2026-07-15 14:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784105045000,"timestamp_ms":1784105045000,"timestamp_seconds":1784105045,"priority":1,"record_length":96,"hex_timestamp":"0000019f64f28c08"} 
[2026-07-15 14:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-07-15 14:15:05] 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-07-15 14:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":134781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":134781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":134781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730886144001,"66":13048,"73":206,"85":15104,"24":0,"16":106461918461427712,"45":8949848753178456064},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,85,24,16,45]} 
[2026-07-15 14:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730886144001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:15:05] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-15 14:15:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106461918461427712,"km_value":106461918461427.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949848753178456064,"description":"Unknown IO ID 45"} 
[2026-07-15 14:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730886144001,"power":13048,"unknown_73":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8949848753178456064}} 
[2026-07-15 14:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":134781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491141,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:15:05] local.INFO: GPS data processed {"connection_id":134781,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:15:05] local.INFO: Acknowledgment sent {"connection_id":134781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:15:08] local.INFO: TCP Data received {"connection_id":133425,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:15:08] local.INFO: Processing buffer {"connection_id":133425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:15:08] local.INFO: IMEI packet received {"connection_id":133425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":133425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:15:10] local.INFO: TCP Data received {"connection_id":133425,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:15:10] local.INFO: Processing buffer {"connection_id":133425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:15:10] local.INFO: IMEI packet received {"connection_id":133425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":133425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:15:12] local.INFO: TCP Data received {"connection_id":133425,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f64effbc8012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64effbc8012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:15:12] local.INFO: Processing buffer {"connection_id":133425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64effbc8012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:15:12] local.INFO: Packet analysis {"connection_id":133425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64ef"} 
[2026-07-15 14:15:12] local.INFO: Extracted packet for processing {"connection_id":133425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64ef"} 
[2026-07-15 14:15:12] local.INFO: GPS Element Parsed {"raw_longitude":763424896,"raw_latitude":94449184,"longitude_deg":76.3424896,"latitude_deg":9.4449184,"altitude":10,"angle":256,"satellites":47,"speed":0,"hex_longitude":"2d80f080","hex_latitude":"05a12e20","is_valid_coordinates":true} 
[2026-07-15 14:15: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-07-15 14:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730847488001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155605170946048,"note":"Value kept but may cause issues"} 
[2026-07-15 14:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155677280776871936,"note":"Value kept but may cause issues"} 
[2026-07-15 14:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784104877000,"timestamp_ms":1784104877000,"timestamp_seconds":1784104877,"priority":1,"record_length":96,"hex_timestamp":"0000019f64effbc8"} 
[2026-07-15 14:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-15 14:15:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":133425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":133425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":133425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:15:12] 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-07-15 14:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730847488001,"66":25843,"7":206,"85":14336,"24":0,"16":347155605170946048,"45":-9155677280776871936},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-07-15 14:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730847488001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:15:12] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-15 14:15:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155605170946048,"km_value":347155605170946.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155677280776871936,"description":"Unknown IO ID 45"} 
[2026-07-15 14:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730847488001,"power":25843,"unknown_7":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9155677280776871936}} 
[2026-07-15 14:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":133425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:15:12] local.INFO: GPS data processed {"connection_id":133425,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:15:12] local.INFO: Acknowledgment sent {"connection_id":133425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:15:16] local.INFO: TCP Data received {"connection_id":133425,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f64effbc8012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64effbc8012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:15:16] local.INFO: Processing buffer {"connection_id":133425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64effbc8012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:15:16] local.INFO: Packet analysis {"connection_id":133425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64ef"} 
[2026-07-15 14:15:16] local.INFO: Extracted packet for processing {"connection_id":133425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64ef"} 
[2026-07-15 14:15:16] local.INFO: GPS Element Parsed {"raw_longitude":763424896,"raw_latitude":94449184,"longitude_deg":76.3424896,"latitude_deg":9.4449184,"altitude":10,"angle":256,"satellites":47,"speed":0,"hex_longitude":"2d80f080","hex_latitude":"05a12e20","is_valid_coordinates":true} 
[2026-07-15 14:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730847488001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155605170946048,"note":"Value kept but may cause issues"} 
[2026-07-15 14:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155677280776871936,"note":"Value kept but may cause issues"} 
[2026-07-15 14:15:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784104877000,"timestamp_ms":1784104877000,"timestamp_seconds":1784104877,"priority":1,"record_length":96,"hex_timestamp":"0000019f64effbc8"} 
[2026-07-15 14:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-15 14:15:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:15:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":133425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":133425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":133425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730847488001,"66":25843,"7":206,"85":14336,"24":0,"16":347155605170946048,"45":-9155677280776871936},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-07-15 14:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730847488001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:15:16] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-15 14:15:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155605170946048,"km_value":347155605170946.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155677280776871936,"description":"Unknown IO ID 45"} 
[2026-07-15 14:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730847488001,"power":25843,"unknown_7":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9155677280776871936}} 
[2026-07-15 14:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":133425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:15:16] local.INFO: GPS data processed {"connection_id":133425,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:15:16] local.INFO: Acknowledgment sent {"connection_id":133425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:15:36] local.INFO: TCP Data received {"connection_id":134781,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64f2bed0012d7c360005ceace00005006324..."} 
[2026-07-15 14:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64f2bed0012d7c360005ceace00005006324..."} 
[2026-07-15 14:15:36] local.INFO: Processing buffer {"connection_id":134781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64f2bed0012d7c360005ceace00005006324..."} 
[2026-07-15 14:15:36] local.INFO: Packet analysis {"connection_id":134781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64f2"} 
[2026-07-15 14:15:36] local.INFO: Extracted packet for processing {"connection_id":134781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64f2"} 
[2026-07-15 14:15:36] local.INFO: GPS Element Parsed {"raw_longitude":763115008,"raw_latitude":97430752,"longitude_deg":76.3115008,"latitude_deg":9.7430752,"altitude":5,"angle":99,"satellites":36,"speed":3,"hex_longitude":"2d7c3600","hex_latitude":"05ceace0","is_valid_coordinates":true} 
[2026-07-15 14:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730891520001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106461939936264192,"note":"Value kept but may cause issues"} 
[2026-07-15 14:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949848753178456064,"note":"Value kept but may cause issues"} 
[2026-07-15 14:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784105058000,"timestamp_ms":1784105058000,"timestamp_seconds":1784105058,"priority":1,"record_length":96,"hex_timestamp":"0000019f64f2bed0"} 
[2026-07-15 14:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-15 14:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":134781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":134781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":134781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730891520001,"66":13319,"73":206,"85":15104,"24":3,"16":106461939936264192,"45":8949848753178456064},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,85,24,16,45]} 
[2026-07-15 14:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730891520001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:15:36] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-15 14:15:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106461939936264192,"km_value":106461939936264.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949848753178456064,"description":"Unknown IO ID 45"} 
[2026-07-15 14:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730891520001,"power":13319,"unknown_73":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8949848753178456064}} 
[2026-07-15 14:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":134781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491144,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:15:36] local.INFO: GPS data processed {"connection_id":134781,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:15:36] local.INFO: Acknowledgment sent {"connection_id":134781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:15:57] local.INFO: TCP Data received {"connection_id":134782,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134782,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:15:57] local.INFO: Processing buffer {"connection_id":134782,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:15:57] local.INFO: IMEI packet received {"connection_id":134782,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 14:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":134782,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:15:59] local.INFO: TCP Data received {"connection_id":134782,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134782,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:15:59] local.INFO: Processing buffer {"connection_id":134782,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:15:59] local.INFO: IMEI packet received {"connection_id":134782,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":134782,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:16:01] local.INFO: TCP Data received {"connection_id":133426,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:16:01] local.INFO: Processing buffer {"connection_id":133426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:16:01] local.INFO: IMEI packet received {"connection_id":133426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":133426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:16:04] local.INFO: TCP Data received {"connection_id":134782,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134782,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:16:04] local.INFO: Processing buffer {"connection_id":134782,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:16:04] local.INFO: IMEI packet received {"connection_id":134782,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":134782,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:16:05] local.INFO: TCP Data received {"connection_id":134782,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64f2ce70012d7c378005ceace00005005824..."} 
[2026-07-15 14:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64f2ce70012d7c378005ceace00005005824..."} 
[2026-07-15 14:16:05] local.INFO: Processing buffer {"connection_id":134782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64f2ce70012d7c378005ceace00005005824..."} 
[2026-07-15 14:16:05] local.INFO: Packet analysis {"connection_id":134782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64f2"} 
[2026-07-15 14:16:05] local.INFO: Extracted packet for processing {"connection_id":134782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64f2"} 
[2026-07-15 14:16:05] local.INFO: GPS Element Parsed {"raw_longitude":763115392,"raw_latitude":97430752,"longitude_deg":76.3115392,"latitude_deg":9.7430752,"altitude":5,"angle":88,"satellites":36,"speed":3,"hex_longitude":"2d7c3780","hex_latitude":"05ceace0","is_valid_coordinates":true} 
[2026-07-15 14:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730894848001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106461957116133376,"note":"Value kept but may cause issues"} 
[2026-07-15 14:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950341334387712000,"note":"Value kept but may cause issues"} 
[2026-07-15 14:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784105062000,"timestamp_ms":1784105062000,"timestamp_seconds":1784105062,"priority":1,"record_length":96,"hex_timestamp":"0000019f64f2ce70"} 
[2026-07-15 14:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-15 14:16:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 14:16:05] local.WARNING: Large IO value detected {"io_id":58,"raw_value":2365587456,"note":"Value kept but may cause issues"} 
[2026-07-15 14:16:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-15 14:16:05] local.WARNING: Large IO value detected {"io_id":240,"raw_value":-6928786731840552955,"note":"Value kept but may cause issues"} 
[2026-07-15 14:16:05] local.WARNING: Large IO value detected {"io_id":100,"raw_value":4053135361,"note":"Value kept but may cause issues"} 
[2026-07-15 14:16:05] local.WARNING: Large IO value detected {"io_id":206,"raw_value":-6003298298984128768,"note":"Value kept but may cause issues"} 
[2026-07-15 14:16:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2823356622,"corrected_to":0} 
[2026-07-15 14:16:05] local.WARNING: Large IO value detected {"io_id":67,"raw_value":3892391292,"note":"Value kept but may cause issues"} 
[2026-07-15 14:16:05] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2332085672,"note":"Value kept but may cause issues"} 
[2026-07-15 14:16:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3467423744,"note":"Value kept but may cause issues"} 
[2026-07-15 14:16:05] local.WARNING: Large IO value detected {"io_id":133,"raw_value":57887401725285691,"note":"Value kept but may cause issues"} 
[2026-07-15 14:16:05] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,73,85,24,241,157,16,58,159,140,45,64,172,1,34,10,66,31,231,240,221,227,100,206,4,113,205,67,52,176,33,239,50,2,122,5,133],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2823356622,"validated":0}]} 
[2026-07-15 14:16:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360396976459808768,"timestamp_seconds":360396976459808.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 14:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":134782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":134782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":134782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730894848001,"66":13091,"73":206,"85":15104,"24":3,"16":106461957116133376,"45":8950341334387712000},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,85,24,16,45]} 
[2026-07-15 14:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730894848001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:16:05] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-15 14:16:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106461957116133376,"km_value":106461957116133.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950341334387712000,"description":"Unknown IO ID 45"} 
[2026-07-15 14:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730894848001,"power":13091,"unknown_73":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8950341334387712000}} 
[2026-07-15 14:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":134782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491145,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:16:05] local.INFO: GPS data processed {"connection_id":134782,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:16:05] local.INFO: Acknowledgment sent {"connection_id":134782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:16:06] local.INFO: TCP Data received {"connection_id":133426,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:16:06] local.INFO: Processing buffer {"connection_id":133426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:16:06] local.INFO: IMEI packet received {"connection_id":133426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":133426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:16:06] local.INFO: TCP Data received {"connection_id":133426,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f64effbc8012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64effbc8012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:16:06] local.INFO: Processing buffer {"connection_id":133426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64effbc8012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:16:06] local.INFO: Packet analysis {"connection_id":133426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64ef"} 
[2026-07-15 14:16:06] local.INFO: Extracted packet for processing {"connection_id":133426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64ef"} 
[2026-07-15 14:16:06] local.INFO: GPS Element Parsed {"raw_longitude":763424896,"raw_latitude":94449184,"longitude_deg":76.3424896,"latitude_deg":9.4449184,"altitude":10,"angle":256,"satellites":47,"speed":0,"hex_longitude":"2d80f080","hex_latitude":"05a12e20","is_valid_coordinates":true} 
[2026-07-15 14:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730847488001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155605170946048,"note":"Value kept but may cause issues"} 
[2026-07-15 14:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155677280776871936,"note":"Value kept but may cause issues"} 
[2026-07-15 14:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784104877000,"timestamp_ms":1784104877000,"timestamp_seconds":1784104877,"priority":1,"record_length":96,"hex_timestamp":"0000019f64effbc8"} 
[2026-07-15 14:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-15 14:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14: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-07-15 14:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730847488001,"66":25843,"7":206,"85":14336,"24":0,"16":347155605170946048,"45":-9155677280776871936},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-07-15 14:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730847488001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:16:06] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-15 14:16:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155605170946048,"km_value":347155605170946.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155677280776871936,"description":"Unknown IO ID 45"} 
[2026-07-15 14:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730847488001,"power":25843,"unknown_7":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9155677280776871936}} 
[2026-07-15 14:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":133426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:16:06] local.INFO: GPS data processed {"connection_id":133426,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:16:06] local.INFO: Acknowledgment sent {"connection_id":133426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:16:36] local.INFO: TCP Data received {"connection_id":134782,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64f31c90012d7c3e0005ceadf80004005526..."} 
[2026-07-15 14:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64f31c90012d7c3e0005ceadf80004005526..."} 
[2026-07-15 14:16:36] local.INFO: Processing buffer {"connection_id":134782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64f31c90012d7c3e0005ceadf80004005526..."} 
[2026-07-15 14:16:36] local.INFO: Packet analysis {"connection_id":134782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64f3"} 
[2026-07-15 14:16:36] local.INFO: Extracted packet for processing {"connection_id":134782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64f3"} 
[2026-07-15 14:16:36] local.INFO: GPS Element Parsed {"raw_longitude":763117056,"raw_latitude":97431032,"longitude_deg":76.3117056,"latitude_deg":9.7431032,"altitude":4,"angle":85,"satellites":38,"speed":6,"hex_longitude":"2d7c3e00","hex_latitude":"05ceadf8","is_valid_coordinates":true} 
[2026-07-15 14:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730895872001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106462043015479296,"note":"Value kept but may cause issues"} 
[2026-07-15 14:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950763546852777984,"note":"Value kept but may cause issues"} 
[2026-07-15 14:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784105082000,"timestamp_ms":1784105082000,"timestamp_seconds":1784105082,"priority":1,"record_length":96,"hex_timestamp":"0000019f64f31c90"} 
[2026-07-15 14:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-15 14:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":134782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":134782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":134782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730895872001,"66":13352,"73":206,"85":15104,"24":6,"16":106462043015479296,"45":8950763546852777984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,85,24,16,45]} 
[2026-07-15 14:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730895872001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:16:36] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-15 14:16:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106462043015479296,"km_value":106462043015479.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950763546852777984,"description":"Unknown IO ID 45"} 
[2026-07-15 14:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730895872001,"power":13352,"unknown_73":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8950763546852777984}} 
[2026-07-15 14:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":134782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491147,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:16:36] local.INFO: GPS data processed {"connection_id":134782,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:16:36] local.INFO: Acknowledgment sent {"connection_id":134782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:16:37] local.INFO: TCP Data received {"connection_id":133426,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f64effbc8012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64effbc8012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:16:37] local.INFO: Processing buffer {"connection_id":133426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64effbc8012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:16:37] local.INFO: Packet analysis {"connection_id":133426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64ef"} 
[2026-07-15 14:16:37] local.INFO: Extracted packet for processing {"connection_id":133426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64ef"} 
[2026-07-15 14:16:37] local.INFO: GPS Element Parsed {"raw_longitude":763424896,"raw_latitude":94449184,"longitude_deg":76.3424896,"latitude_deg":9.4449184,"altitude":10,"angle":256,"satellites":47,"speed":0,"hex_longitude":"2d80f080","hex_latitude":"05a12e20","is_valid_coordinates":true} 
[2026-07-15 14:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730847488001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155605170946048,"note":"Value kept but may cause issues"} 
[2026-07-15 14:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155677280776871936,"note":"Value kept but may cause issues"} 
[2026-07-15 14:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784104877000,"timestamp_ms":1784104877000,"timestamp_seconds":1784104877,"priority":1,"record_length":96,"hex_timestamp":"0000019f64effbc8"} 
[2026-07-15 14:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-15 14:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14: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-07-15 14:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:16: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-07-15 14:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730847488001,"66":25843,"7":206,"85":14336,"24":0,"16":347155605170946048,"45":-9155677280776871936},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-07-15 14:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730847488001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:16:37] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-15 14:16:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155605170946048,"km_value":347155605170946.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155677280776871936,"description":"Unknown IO ID 45"} 
[2026-07-15 14:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730847488001,"power":25843,"unknown_7":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9155677280776871936}} 
[2026-07-15 14:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":133426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:16:37] local.INFO: GPS data processed {"connection_id":133426,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:16:37] local.INFO: Acknowledgment sent {"connection_id":133426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:16:55] local.INFO: TCP Data received {"connection_id":132386,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132386,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:16:55] local.INFO: Processing buffer {"connection_id":132386,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:16:55] local.INFO: IMEI packet received {"connection_id":132386,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 14:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":132386,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:16:57] local.INFO: TCP Data received {"connection_id":132580,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132580,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:16:57] local.INFO: Processing buffer {"connection_id":132580,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:16:57] local.INFO: IMEI packet received {"connection_id":132580,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 14:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":132580,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:16:59] local.INFO: TCP Data received {"connection_id":132580,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132580,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:16:59] local.INFO: Processing buffer {"connection_id":132580,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:16:59] local.INFO: IMEI packet received {"connection_id":132580,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":132580,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:17:01] local.INFO: TCP Data received {"connection_id":134783,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:17:01] local.INFO: Processing buffer {"connection_id":134783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:17:01] local.INFO: IMEI packet received {"connection_id":134783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":134783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:17:04] local.INFO: TCP Data received {"connection_id":132580,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132580,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:17:04] local.INFO: Processing buffer {"connection_id":132580,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:17:04] local.INFO: IMEI packet received {"connection_id":132580,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":132580,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:17:05] local.INFO: TCP Data received {"connection_id":132580,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64f4aee8012d7d1dc005ceaff80004005422..."} 
[2026-07-15 14:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64f4aee8012d7d1dc005ceaff80004005422..."} 
[2026-07-15 14:17:05] local.INFO: Processing buffer {"connection_id":132580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64f4aee8012d7d1dc005ceaff80004005422..."} 
[2026-07-15 14:17:05] local.INFO: Packet analysis {"connection_id":132580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64f4"} 
[2026-07-15 14:17:05] local.INFO: Extracted packet for processing {"connection_id":132580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64f4"} 
[2026-07-15 14:17:05] local.INFO: GPS Element Parsed {"raw_longitude":763174336,"raw_latitude":97431544,"longitude_deg":76.3174336,"latitude_deg":9.7431544,"altitude":4,"angle":84,"satellites":34,"speed":24,"hex_longitude":"2d7d1dc0","hex_latitude":"05ceaff8","is_valid_coordinates":true} 
[2026-07-15 14:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730926848001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106464817564352512,"note":"Value kept but may cause issues"} 
[2026-07-15 14:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014095416612866048,"note":"Value kept but may cause issues"} 
[2026-07-15 14:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784105185000,"timestamp_ms":1784105185000,"timestamp_seconds":1784105185,"priority":1,"record_length":96,"hex_timestamp":"0000019f64f4aee8"} 
[2026-07-15 14:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:17:05] 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-07-15 14:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-15 14:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132580,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132580,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730926848001,"66":13374,"73":206,"85":15104,"24":24,"16":106464817564352512,"45":9014095416612866048},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,85,24,16,45]} 
[2026-07-15 14:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730926848001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:17:05] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-15 14:17:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106464817564352512,"km_value":106464817564352.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014095416612866048,"description":"Unknown IO ID 45"} 
[2026-07-15 14:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730926848001,"power":13374,"unknown_73":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9014095416612866048}} 
[2026-07-15 14:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":132580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491149,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:17:05] local.INFO: GPS data processed {"connection_id":132580,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:17:05] local.INFO: Acknowledgment sent {"connection_id":132580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:17:06] local.INFO: TCP Data received {"connection_id":134783,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:17:06] local.INFO: Processing buffer {"connection_id":134783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:17:06] local.INFO: IMEI packet received {"connection_id":134783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":134783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:17:07] local.INFO: TCP Data received {"connection_id":134783,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f64f483f0012d80f08005a12e20000a010030..."} 
[2026-07-15 14:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64f483f0012d80f08005a12e20000a010030..."} 
[2026-07-15 14:17:07] local.INFO: Processing buffer {"connection_id":134783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64f483f0012d80f08005a12e20000a010030..."} 
[2026-07-15 14:17:07] local.INFO: Packet analysis {"connection_id":134783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64f4"} 
[2026-07-15 14:17:07] local.INFO: Extracted packet for processing {"connection_id":134783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64f4"} 
[2026-07-15 14:17:07] local.INFO: GPS Element Parsed {"raw_longitude":763424896,"raw_latitude":94449184,"longitude_deg":76.3424896,"latitude_deg":9.4449184,"altitude":10,"angle":256,"satellites":48,"speed":0,"hex_longitude":"2d80f080","hex_latitude":"05a12e20","is_valid_coordinates":true} 
[2026-07-15 14:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730848512001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155605170946048,"note":"Value kept but may cause issues"} 
[2026-07-15 14:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155677280776871936,"note":"Value kept but may cause issues"} 
[2026-07-15 14:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784105174000,"timestamp_ms":1784105174000,"timestamp_seconds":1784105174,"priority":1,"record_length":96,"hex_timestamp":"0000019f64f483f0"} 
[2026-07-15 14:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-15 14:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730848512001,"66":26115,"82":206,"85":14336,"24":0,"16":347155605170946048,"45":-9155677280776871936},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730848512001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:17:07] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:17:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155605170946048,"km_value":347155605170946.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155677280776871936,"description":"Unknown IO ID 45"} 
[2026-07-15 14:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730848512001,"power":26115,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9155677280776871936}} 
[2026-07-15 14:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":134783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:17:07] local.INFO: GPS data processed {"connection_id":134783,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:17:07] local.INFO: Acknowledgment sent {"connection_id":134783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:17:34] local.INFO: TCP Data received {"connection_id":133427,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133427,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:17:34] local.INFO: Processing buffer {"connection_id":133427,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:17:34] local.INFO: IMEI packet received {"connection_id":133427,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 14:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":133427,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:17:36] local.INFO: TCP Data received {"connection_id":132580,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64f4e598012d7d40c005ceb4900006005a21..."} 
[2026-07-15 14:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64f4e598012d7d40c005ceb4900006005a21..."} 
[2026-07-15 14:17:36] local.INFO: Processing buffer {"connection_id":132580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64f4e598012d7d40c005ceb4900006005a21..."} 
[2026-07-15 14:17:36] local.INFO: Packet analysis {"connection_id":132580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64f4"} 
[2026-07-15 14:17:36] local.INFO: Extracted packet for processing {"connection_id":132580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64f4"} 
[2026-07-15 14:17:36] local.INFO: GPS Element Parsed {"raw_longitude":763183296,"raw_latitude":97432720,"longitude_deg":76.3183296,"latitude_deg":9.743272,"altitude":6,"angle":90,"satellites":33,"speed":17,"hex_longitude":"2d7d40c0","hex_latitude":"05ceb490","is_valid_coordinates":true} 
[2026-07-15 14:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730927360001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106465251356049408,"note":"Value kept but may cause issues"} 
[2026-07-15 14:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015573160240609280,"note":"Value kept but may cause issues"} 
[2026-07-15 14:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784105199000,"timestamp_ms":1784105199000,"timestamp_seconds":1784105199,"priority":1,"record_length":96,"hex_timestamp":"0000019f64f4e598"} 
[2026-07-15 14:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-15 14:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132580,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132580,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730927360001,"66":13059,"235":206,"85":15104,"24":17,"16":106465251356049408,"45":9015573160240609280},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-07-15 14:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730927360001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:17:36] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-15 14:17:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106465251356049408,"km_value":106465251356049.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015573160240609280,"description":"Unknown IO ID 45"} 
[2026-07-15 14:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730927360001,"power":13059,"unknown_235":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":9015573160240609280}} 
[2026-07-15 14:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":132580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491151,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:17:36] local.INFO: GPS data processed {"connection_id":132580,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:17:36] local.INFO: Acknowledgment sent {"connection_id":132580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:17:40] local.INFO: TCP Data received {"connection_id":134783,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f64f483f0012d80f08005a12e20000a010030..."} 
[2026-07-15 14:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64f483f0012d80f08005a12e20000a010030..."} 
[2026-07-15 14:17:40] local.INFO: Processing buffer {"connection_id":134783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64f483f0012d80f08005a12e20000a010030..."} 
[2026-07-15 14:17:40] local.INFO: Packet analysis {"connection_id":134783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64f4"} 
[2026-07-15 14:17:40] local.INFO: Extracted packet for processing {"connection_id":134783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64f4"} 
[2026-07-15 14:17:40] local.INFO: GPS Element Parsed {"raw_longitude":763424896,"raw_latitude":94449184,"longitude_deg":76.3424896,"latitude_deg":9.4449184,"altitude":10,"angle":256,"satellites":48,"speed":0,"hex_longitude":"2d80f080","hex_latitude":"05a12e20","is_valid_coordinates":true} 
[2026-07-15 14:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730848512001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155605170946048,"note":"Value kept but may cause issues"} 
[2026-07-15 14:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155677280776871936,"note":"Value kept but may cause issues"} 
[2026-07-15 14:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784105174000,"timestamp_ms":1784105174000,"timestamp_seconds":1784105174,"priority":1,"record_length":96,"hex_timestamp":"0000019f64f483f0"} 
[2026-07-15 14:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:17:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-15 14:17:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:17:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":134783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":134783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":134783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:17:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730848512001,"66":26115,"82":206,"85":14336,"24":0,"16":347155605170946048,"45":-9155677280776871936},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730848512001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:17:40] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:17:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155605170946048,"km_value":347155605170946.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155677280776871936,"description":"Unknown IO ID 45"} 
[2026-07-15 14:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730848512001,"power":26115,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9155677280776871936}} 
[2026-07-15 14:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":134783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:17:40] local.INFO: GPS data processed {"connection_id":134783,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:17:40] local.INFO: Acknowledgment sent {"connection_id":134783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:18:04] local.INFO: TCP Data received {"connection_id":134784,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134784,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:18:04] local.INFO: Processing buffer {"connection_id":134784,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:18:04] local.INFO: IMEI packet received {"connection_id":134784,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 14:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":134784,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:18:06] local.INFO: TCP Data received {"connection_id":132387,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:18:06] local.INFO: Processing buffer {"connection_id":132387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:18:06] local.INFO: IMEI packet received {"connection_id":132387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":132387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:18:07] local.INFO: TCP Data received {"connection_id":134784,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134784,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:18:07] local.INFO: Processing buffer {"connection_id":134784,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:18:07] local.INFO: IMEI packet received {"connection_id":134784,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":134784,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:18:09] local.INFO: TCP Data received {"connection_id":134784,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134784,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:18:09] local.INFO: Processing buffer {"connection_id":134784,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:18:09] local.INFO: IMEI packet received {"connection_id":134784,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":134784,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:18:10] local.INFO: TCP Data received {"connection_id":134784,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64f5cff8012d7d4a0005cf70980005016624..."} 
[2026-07-15 14:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64f5cff8012d7d4a0005cf70980005016624..."} 
[2026-07-15 14:18:10] local.INFO: Processing buffer {"connection_id":134784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64f5cff8012d7d4a0005cf70980005016624..."} 
[2026-07-15 14:18:10] local.INFO: Packet analysis {"connection_id":134784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64f5"} 
[2026-07-15 14:18:10] local.INFO: Extracted packet for processing {"connection_id":134784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64f5"} 
[2026-07-15 14:18:10] local.INFO: GPS Element Parsed {"raw_longitude":763185664,"raw_latitude":97480856,"longitude_deg":76.3185664,"latitude_deg":9.7480856,"altitude":5,"angle":358,"satellites":36,"speed":55,"hex_longitude":"2d7d4a00","hex_latitude":"05cf7098","is_valid_coordinates":true} 
[2026-07-15 14:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730944512001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106467656537735168,"note":"Value kept but may cause issues"} 
[2026-07-15 14:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027606215505197056,"note":"Value kept but may cause issues"} 
[2026-07-15 14:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784105259000,"timestamp_ms":1784105259000,"timestamp_seconds":1784105259,"priority":1,"record_length":96,"hex_timestamp":"0000019f64f5cff8"} 
[2026-07-15 14:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-15 14:18:10] 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-07-15 14:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":134784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":134784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":134784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730944512001,"66":13319,"235":206,"85":15104,"24":55,"16":106467656537735168,"45":9027606215505197056},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-07-15 14:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730944512001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:18:10] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-15 14:18:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106467656537735168,"km_value":106467656537735.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027606215505197056,"description":"Unknown IO ID 45"} 
[2026-07-15 14:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730944512001,"power":13319,"unknown_235":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":9027606215505197056}} 
[2026-07-15 14:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":134784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491153,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:18:10] local.INFO: GPS data processed {"connection_id":134784,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:18:10] local.INFO: Acknowledgment sent {"connection_id":134784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:18:11] local.INFO: TCP Data received {"connection_id":132387,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:18:11] local.INFO: Processing buffer {"connection_id":132387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:18:11] local.INFO: IMEI packet received {"connection_id":132387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":132387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:18:12] local.INFO: TCP Data received {"connection_id":132387,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f64f483f0012d80f08005a12e20000a010030..."} 
[2026-07-15 14:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64f483f0012d80f08005a12e20000a010030..."} 
[2026-07-15 14:18:12] local.INFO: Processing buffer {"connection_id":132387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64f483f0012d80f08005a12e20000a010030..."} 
[2026-07-15 14:18:12] local.INFO: Packet analysis {"connection_id":132387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64f4"} 
[2026-07-15 14:18:12] local.INFO: Extracted packet for processing {"connection_id":132387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64f4"} 
[2026-07-15 14:18:12] local.INFO: GPS Element Parsed {"raw_longitude":763424896,"raw_latitude":94449184,"longitude_deg":76.3424896,"latitude_deg":9.4449184,"altitude":10,"angle":256,"satellites":48,"speed":0,"hex_longitude":"2d80f080","hex_latitude":"05a12e20","is_valid_coordinates":true} 
[2026-07-15 14:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730848512001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155605170946048,"note":"Value kept but may cause issues"} 
[2026-07-15 14:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155677280776871936,"note":"Value kept but may cause issues"} 
[2026-07-15 14:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784105174000,"timestamp_ms":1784105174000,"timestamp_seconds":1784105174,"priority":1,"record_length":96,"hex_timestamp":"0000019f64f483f0"} 
[2026-07-15 14:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-15 14:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730848512001,"66":26115,"82":206,"85":14336,"24":0,"16":347155605170946048,"45":-9155677280776871936},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730848512001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:18:12] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:18:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155605170946048,"km_value":347155605170946.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155677280776871936,"description":"Unknown IO ID 45"} 
[2026-07-15 14:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730848512001,"power":26115,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9155677280776871936}} 
[2026-07-15 14:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":132387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:18:12] local.INFO: GPS data processed {"connection_id":132387,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:18:12] local.INFO: Acknowledgment sent {"connection_id":132387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:18:41] local.INFO: TCP Data received {"connection_id":134784,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64f5eb50012d7d49c005cf97a00006000025..."} 
[2026-07-15 14:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64f5eb50012d7d49c005cf97a00006000025..."} 
[2026-07-15 14:18:41] local.INFO: Processing buffer {"connection_id":134784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64f5eb50012d7d49c005cf97a00006000025..."} 
[2026-07-15 14:18:41] local.INFO: Packet analysis {"connection_id":134784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64f5"} 
[2026-07-15 14:18:41] local.INFO: Extracted packet for processing {"connection_id":134784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64f5"} 
[2026-07-15 14:18:41] local.INFO: GPS Element Parsed {"raw_longitude":763185600,"raw_latitude":97490848,"longitude_deg":76.31856,"latitude_deg":9.7490848,"altitude":6,"angle":0,"satellites":37,"speed":57,"hex_longitude":"2d7d49c0","hex_latitude":"05cf97a0","is_valid_coordinates":true} 
[2026-07-15 14:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730946304001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106468141869039616,"note":"Value kept but may cause issues"} 
[2026-07-15 14:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028028427972679680,"note":"Value kept but may cause issues"} 
[2026-07-15 14:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784105266000,"timestamp_ms":1784105266000,"timestamp_seconds":1784105266,"priority":1,"record_length":96,"hex_timestamp":"0000019f64f5eb50"} 
[2026-07-15 14:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-15 14:18:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 14:18:41] local.WARNING: Large IO value detected {"io_id":62,"raw_value":2281701376,"note":"Value kept but may cause issues"} 
[2026-07-15 14:18:41] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-07-15 14:18:41] local.WARNING: Large IO value detected {"io_id":100,"raw_value":4116623361,"note":"Value kept but may cause issues"} 
[2026-07-15 14:18:41] local.WARNING: Large IO value detected {"io_id":206,"raw_value":-5291729536390519552,"note":"Value kept but may cause issues"} 
[2026-07-15 14:18:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2800419022,"corrected_to":0} 
[2026-07-15 14:18:41] local.WARNING: Large IO value detected {"io_id":70,"raw_value":3221606073,"note":"Value kept but may cause issues"} 
[2026-07-15 14:18:41] local.WARNING: Large IO value detected {"io_id":9,"raw_value":57885898486732091,"note":"Value kept but may cause issues"} 
[2026-07-15 14:18:41] local.WARNING: Large IO value detected {"io_id":245,"raw_value":349030266008158213,"note":"Value kept but may cause issues"} 
[2026-07-15 14:18:41] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,235,85,24,241,157,16,63,159,180,45,128,75,4,36,10,66,153,40,2,62,125,192,1,240,94,227,100,206,113,205,41,70,144,33,239,52,122,5,6,9,245],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2800419022,"validated":0}]} 
[2026-07-15 14:18:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360681749974810624,"timestamp_seconds":360681749974810.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 14:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":134784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":134784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":134784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730946304001,"66":13352,"235":206,"85":15104,"24":57,"16":106468141869039616,"45":9028028427972679680},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-07-15 14:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730946304001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:18:41] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-15 14:18:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106468141869039616,"km_value":106468141869039.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028028427972679680,"description":"Unknown IO ID 45"} 
[2026-07-15 14:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730946304001,"power":13352,"unknown_235":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":9028028427972679680}} 
[2026-07-15 14:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":134784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491155,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:18:42] local.INFO: GPS data processed {"connection_id":134784,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:18:42] local.INFO: Acknowledgment sent {"connection_id":134784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:18:43] local.INFO: TCP Data received {"connection_id":132387,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f64f483f0012d80f08005a12e20000a010030..."} 
[2026-07-15 14:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64f483f0012d80f08005a12e20000a010030..."} 
[2026-07-15 14:18:43] local.INFO: Processing buffer {"connection_id":132387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64f483f0012d80f08005a12e20000a010030..."} 
[2026-07-15 14:18:43] local.INFO: Packet analysis {"connection_id":132387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64f4"} 
[2026-07-15 14:18:43] local.INFO: Extracted packet for processing {"connection_id":132387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64f4"} 
[2026-07-15 14:18:43] local.INFO: GPS Element Parsed {"raw_longitude":763424896,"raw_latitude":94449184,"longitude_deg":76.3424896,"latitude_deg":9.4449184,"altitude":10,"angle":256,"satellites":48,"speed":0,"hex_longitude":"2d80f080","hex_latitude":"05a12e20","is_valid_coordinates":true} 
[2026-07-15 14:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730848512001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155605170946048,"note":"Value kept but may cause issues"} 
[2026-07-15 14:18:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155677280776871936,"note":"Value kept but may cause issues"} 
[2026-07-15 14:18:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784105174000,"timestamp_ms":1784105174000,"timestamp_seconds":1784105174,"priority":1,"record_length":96,"hex_timestamp":"0000019f64f483f0"} 
[2026-07-15 14:18:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:18:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-15 14:18:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:18:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:18:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":132387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":132387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":132387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:18:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730848512001,"66":26115,"82":206,"85":14336,"24":0,"16":347155605170946048,"45":-9155677280776871936},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730848512001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:18:43] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:18:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:18:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155605170946048,"km_value":347155605170946.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:18:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155677280776871936,"description":"Unknown IO ID 45"} 
[2026-07-15 14:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730848512001,"power":26115,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9155677280776871936}} 
[2026-07-15 14:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":132387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:18:43] local.INFO: GPS data processed {"connection_id":132387,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:18:43] local.INFO: Acknowledgment sent {"connection_id":132387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:19:18] local.INFO: TCP Data received {"connection_id":134786,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:19:18] local.INFO: Processing buffer {"connection_id":134786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:19:18] local.INFO: IMEI packet received {"connection_id":134786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":134786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:19:31] local.INFO: TCP Data received {"connection_id":134787,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:19:31] local.INFO: Processing buffer {"connection_id":134787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:19:31] local.INFO: IMEI packet received {"connection_id":134787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":134787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:19:34] local.INFO: TCP Data received {"connection_id":133429,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133429,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:19:34] local.INFO: Processing buffer {"connection_id":133429,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:19:34] local.INFO: IMEI packet received {"connection_id":133429,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 14:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":133429,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:19:36] local.INFO: TCP Data received {"connection_id":134787,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:19:36] local.INFO: Processing buffer {"connection_id":134787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:19:36] local.INFO: IMEI packet received {"connection_id":134787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":134787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:19:37] local.INFO: TCP Data received {"connection_id":134787,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f64f483f0012d80f08005a12e20000a010030..."} 
[2026-07-15 14:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64f483f0012d80f08005a12e20000a010030..."} 
[2026-07-15 14:19:37] local.INFO: Processing buffer {"connection_id":134787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64f483f0012d80f08005a12e20000a010030..."} 
[2026-07-15 14:19:37] local.INFO: Packet analysis {"connection_id":134787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64f4"} 
[2026-07-15 14:19:37] local.INFO: Extracted packet for processing {"connection_id":134787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64f4"} 
[2026-07-15 14:19:37] local.INFO: GPS Element Parsed {"raw_longitude":763424896,"raw_latitude":94449184,"longitude_deg":76.3424896,"latitude_deg":9.4449184,"altitude":10,"angle":256,"satellites":48,"speed":0,"hex_longitude":"2d80f080","hex_latitude":"05a12e20","is_valid_coordinates":true} 
[2026-07-15 14:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730848512001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155605170946048,"note":"Value kept but may cause issues"} 
[2026-07-15 14:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155677280776871936,"note":"Value kept but may cause issues"} 
[2026-07-15 14:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784105174000,"timestamp_ms":1784105174000,"timestamp_seconds":1784105174,"priority":1,"record_length":96,"hex_timestamp":"0000019f64f483f0"} 
[2026-07-15 14:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-15 14:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":134787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":134787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":134787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730848512001,"66":26115,"82":206,"85":14336,"24":0,"16":347155605170946048,"45":-9155677280776871936},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730848512001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:19:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:19:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155605170946048,"km_value":347155605170946.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155677280776871936,"description":"Unknown IO ID 45"} 
[2026-07-15 14:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730848512001,"power":26115,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9155677280776871936}} 
[2026-07-15 14:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":134787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:19:37] local.INFO: GPS data processed {"connection_id":134787,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:19:37] local.INFO: Acknowledgment sent {"connection_id":134787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:19:38] local.INFO: TCP Data received {"connection_id":133429,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133429,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:19:38] local.INFO: Processing buffer {"connection_id":133429,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:19:38] local.INFO: IMEI packet received {"connection_id":133429,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":133429,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:20:01] local.INFO: TCP Data received {"connection_id":132581,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:20:01] local.INFO: Processing buffer {"connection_id":132581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:20:01] local.INFO: IMEI packet received {"connection_id":132581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":132581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:20:04] local.INFO: TCP Data received {"connection_id":134788,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134788,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:20:04] local.INFO: Processing buffer {"connection_id":134788,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:20:04] local.INFO: IMEI packet received {"connection_id":134788,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 14:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":134788,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:20:05] local.INFO: TCP Data received {"connection_id":134788,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134788,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:20:05] local.INFO: Processing buffer {"connection_id":134788,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:20:05] local.INFO: IMEI packet received {"connection_id":134788,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":134788,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:20:08] local.INFO: TCP Data received {"connection_id":132581,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:20:08] local.INFO: Processing buffer {"connection_id":132581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:20:08] local.INFO: IMEI packet received {"connection_id":132581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":132581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:20:09] local.INFO: TCP Data received {"connection_id":132581,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f64f483f0012d80f08005a12e20000a010030..."} 
[2026-07-15 14:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64f483f0012d80f08005a12e20000a010030..."} 
[2026-07-15 14:20:09] local.INFO: Processing buffer {"connection_id":132581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64f483f0012d80f08005a12e20000a010030..."} 
[2026-07-15 14:20:09] local.INFO: Packet analysis {"connection_id":132581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64f4"} 
[2026-07-15 14:20:09] local.INFO: Extracted packet for processing {"connection_id":132581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64f4"} 
[2026-07-15 14:20:09] local.INFO: GPS Element Parsed {"raw_longitude":763424896,"raw_latitude":94449184,"longitude_deg":76.3424896,"latitude_deg":9.4449184,"altitude":10,"angle":256,"satellites":48,"speed":0,"hex_longitude":"2d80f080","hex_latitude":"05a12e20","is_valid_coordinates":true} 
[2026-07-15 14:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730848512001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155605170946048,"note":"Value kept but may cause issues"} 
[2026-07-15 14:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155677280776871936,"note":"Value kept but may cause issues"} 
[2026-07-15 14:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784105174000,"timestamp_ms":1784105174000,"timestamp_seconds":1784105174,"priority":1,"record_length":96,"hex_timestamp":"0000019f64f483f0"} 
[2026-07-15 14:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-15 14:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":132581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":132581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":132581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730848512001,"66":26115,"82":206,"85":14336,"24":0,"16":347155605170946048,"45":-9155677280776871936},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730848512001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:20:09] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:20:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155605170946048,"km_value":347155605170946.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155677280776871936,"description":"Unknown IO ID 45"} 
[2026-07-15 14:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730848512001,"power":26115,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9155677280776871936}} 
[2026-07-15 14:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":132581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:20:09] local.INFO: GPS data processed {"connection_id":132581,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:20:09] local.INFO: Acknowledgment sent {"connection_id":132581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:20:40] local.INFO: TCP Data received {"connection_id":132581,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f64f7c3f8012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64f7c3f8012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:20:40] local.INFO: Processing buffer {"connection_id":132581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64f7c3f8012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:20:40] local.INFO: Packet analysis {"connection_id":132581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64f7"} 
[2026-07-15 14:20:40] local.INFO: Extracted packet for processing {"connection_id":132581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64f7"} 
[2026-07-15 14:20:40] local.INFO: GPS Element Parsed {"raw_longitude":763424896,"raw_latitude":94449184,"longitude_deg":76.3424896,"latitude_deg":9.4449184,"altitude":10,"angle":256,"satellites":47,"speed":0,"hex_longitude":"2d80f080","hex_latitude":"05a12e20","is_valid_coordinates":true} 
[2026-07-15 14:20: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-07-15 14:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730924544001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155605170946048,"note":"Value kept but may cause issues"} 
[2026-07-15 14:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155677280776871936,"note":"Value kept but may cause issues"} 
[2026-07-15 14:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784105387000,"timestamp_ms":1784105387000,"timestamp_seconds":1784105387,"priority":1,"record_length":96,"hex_timestamp":"0000019f64f7c3f8"} 
[2026-07-15 14:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-15 14:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730924544001,"66":26115,"82":206,"85":14336,"24":0,"16":347155605170946048,"45":-9155677280776871936},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730924544001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:20:40] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:20:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155605170946048,"km_value":347155605170946.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155677280776871936,"description":"Unknown IO ID 45"} 
[2026-07-15 14:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730924544001,"power":26115,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9155677280776871936}} 
[2026-07-15 14:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":132581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:20:40] local.INFO: GPS data processed {"connection_id":132581,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:20:40] local.INFO: Acknowledgment sent {"connection_id":132581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:21:00] local.INFO: TCP Data received {"connection_id":133431,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:21:01] local.INFO: Processing buffer {"connection_id":133431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:21:01] local.INFO: IMEI packet received {"connection_id":133431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":133431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:21:06] local.INFO: TCP Data received {"connection_id":133431,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:21:06] local.INFO: Processing buffer {"connection_id":133431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:21:06] local.INFO: IMEI packet received {"connection_id":133431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":133431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:21:07] local.INFO: TCP Data received {"connection_id":133431,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f64f819e8012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64f819e8012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:21:07] local.INFO: Processing buffer {"connection_id":133431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64f819e8012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:21:07] local.INFO: Packet analysis {"connection_id":133431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64f8"} 
[2026-07-15 14:21:07] local.INFO: Extracted packet for processing {"connection_id":133431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64f8"} 
[2026-07-15 14:21:07] local.INFO: GPS Element Parsed {"raw_longitude":763424896,"raw_latitude":94449184,"longitude_deg":76.3424896,"latitude_deg":9.4449184,"altitude":10,"angle":256,"satellites":47,"speed":0,"hex_longitude":"2d80f080","hex_latitude":"05a12e20","is_valid_coordinates":true} 
[2026-07-15 14:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730979072001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155605170946048,"note":"Value kept but may cause issues"} 
[2026-07-15 14:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155677280776871936,"note":"Value kept but may cause issues"} 
[2026-07-15 14:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784105409000,"timestamp_ms":1784105409000,"timestamp_seconds":1784105409,"priority":1,"record_length":96,"hex_timestamp":"0000019f64f819e8"} 
[2026-07-15 14:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-15 14:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730979072001,"66":25875,"82":206,"85":14336,"24":0,"16":347155605170946048,"45":-9155677280776871936},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730979072001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:21:07] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:21:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155605170946048,"km_value":347155605170946.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155677280776871936,"description":"Unknown IO ID 45"} 
[2026-07-15 14:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730979072001,"power":25875,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9155677280776871936}} 
[2026-07-15 14:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":133431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:21:07] local.INFO: GPS data processed {"connection_id":133431,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:21:07] local.INFO: Acknowledgment sent {"connection_id":133431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:21:38] local.INFO: TCP Data received {"connection_id":133431,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f64f86bf0012d80f08005a12e20000a01002e..."} 
[2026-07-15 14:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64f86bf0012d80f08005a12e20000a01002e..."} 
[2026-07-15 14:21:38] local.INFO: Processing buffer {"connection_id":133431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64f86bf0012d80f08005a12e20000a01002e..."} 
[2026-07-15 14:21:38] local.INFO: Packet analysis {"connection_id":133431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64f8"} 
[2026-07-15 14:21:38] local.INFO: Extracted packet for processing {"connection_id":133431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64f8"} 
[2026-07-15 14:21:38] local.INFO: GPS Element Parsed {"raw_longitude":763424896,"raw_latitude":94449184,"longitude_deg":76.3424896,"latitude_deg":9.4449184,"altitude":10,"angle":256,"satellites":46,"speed":0,"hex_longitude":"2d80f080","hex_latitude":"05a12e20","is_valid_coordinates":true} 
[2026-07-15 14:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730984704001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155605170946048,"note":"Value kept but may cause issues"} 
[2026-07-15 14:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155677280776871936,"note":"Value kept but may cause issues"} 
[2026-07-15 14:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784105430000,"timestamp_ms":1784105430000,"timestamp_seconds":1784105430,"priority":1,"record_length":96,"hex_timestamp":"0000019f64f86bf0"} 
[2026-07-15 14:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-15 14:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730984704001,"66":25756,"82":206,"85":14336,"24":0,"16":347155605170946048,"45":-9155677280776871936},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730984704001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:21:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:21:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155605170946048,"km_value":347155605170946.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155677280776871936,"description":"Unknown IO ID 45"} 
[2026-07-15 14:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730984704001,"power":25756,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9155677280776871936}} 
[2026-07-15 14:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":133431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:21:38] local.INFO: GPS data processed {"connection_id":133431,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:21:38] local.INFO: Acknowledgment sent {"connection_id":133431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:22:01] local.INFO: TCP Data received {"connection_id":134790,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:22:01] local.INFO: Processing buffer {"connection_id":134790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:22:01] local.INFO: IMEI packet received {"connection_id":134790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":134790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:22:06] local.INFO: TCP Data received {"connection_id":134790,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:22:06] local.INFO: Processing buffer {"connection_id":134790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:22:06] local.INFO: IMEI packet received {"connection_id":134790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":134790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:22:07] local.INFO: TCP Data received {"connection_id":134790,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f64f8bdf8012d80f08005a12e20000a01002e..."} 
[2026-07-15 14:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64f8bdf8012d80f08005a12e20000a01002e..."} 
[2026-07-15 14:22:07] local.INFO: Processing buffer {"connection_id":134790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64f8bdf8012d80f08005a12e20000a01002e..."} 
[2026-07-15 14:22:07] local.INFO: Packet analysis {"connection_id":134790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64f8"} 
[2026-07-15 14:22:07] local.INFO: Extracted packet for processing {"connection_id":134790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64f8"} 
[2026-07-15 14:22:07] local.INFO: GPS Element Parsed {"raw_longitude":763424896,"raw_latitude":94449184,"longitude_deg":76.3424896,"latitude_deg":9.4449184,"altitude":10,"angle":256,"satellites":46,"speed":0,"hex_longitude":"2d80f080","hex_latitude":"05a12e20","is_valid_coordinates":true} 
[2026-07-15 14:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730990080001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155605170946048,"note":"Value kept but may cause issues"} 
[2026-07-15 14:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155677280776871936,"note":"Value kept but may cause issues"} 
[2026-07-15 14:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784105451000,"timestamp_ms":1784105451000,"timestamp_seconds":1784105451,"priority":1,"record_length":96,"hex_timestamp":"0000019f64f8bdf8"} 
[2026-07-15 14:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 14:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730990080001,"66":25712,"82":206,"85":14336,"24":0,"16":347155605170946048,"45":-9155677280776871936},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730990080001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:22:07] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:22:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155605170946048,"km_value":347155605170946.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155677280776871936,"description":"Unknown IO ID 45"} 
[2026-07-15 14:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730990080001,"power":25712,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9155677280776871936}} 
[2026-07-15 14:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":134790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:22:07] local.INFO: GPS data processed {"connection_id":134790,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:22:07] local.INFO: Acknowledgment sent {"connection_id":134790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:22:39] local.INFO: TCP Data received {"connection_id":134790,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f64f91000012d80f08005a12e20000a01002e..."} 
[2026-07-15 14:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64f91000012d80f08005a12e20000a01002e..."} 
[2026-07-15 14:22:39] local.INFO: Processing buffer {"connection_id":134790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64f91000012d80f08005a12e20000a01002e..."} 
[2026-07-15 14:22:39] local.INFO: Packet analysis {"connection_id":134790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64f9"} 
[2026-07-15 14:22:39] local.INFO: Extracted packet for processing {"connection_id":134790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64f9"} 
[2026-07-15 14:22:39] local.INFO: GPS Element Parsed {"raw_longitude":763424896,"raw_latitude":94449184,"longitude_deg":76.3424896,"latitude_deg":9.4449184,"altitude":10,"angle":256,"satellites":46,"speed":0,"hex_longitude":"2d80f080","hex_latitude":"05a12e20","is_valid_coordinates":true} 
[2026-07-15 14:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456730995456001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155605170946048,"note":"Value kept but may cause issues"} 
[2026-07-15 14:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155677280776871936,"note":"Value kept but may cause issues"} 
[2026-07-15 14:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784105472000,"timestamp_ms":1784105472000,"timestamp_seconds":1784105472,"priority":1,"record_length":96,"hex_timestamp":"0000019f64f91000"} 
[2026-07-15 14:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-07-15 14:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:22: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-07-15 14:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456730995456001,"66":25734,"82":206,"85":14336,"24":0,"16":347155605170946048,"45":-9155677280776871936},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456730995456001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:22:39] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:22:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155605170946048,"km_value":347155605170946.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155677280776871936,"description":"Unknown IO ID 45"} 
[2026-07-15 14:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456730995456001,"power":25734,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9155677280776871936}} 
[2026-07-15 14:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":134790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:22:39] local.INFO: GPS data processed {"connection_id":134790,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:22:39] local.INFO: Acknowledgment sent {"connection_id":134790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:22:55] local.INFO: TCP Data received {"connection_id":132390,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132390,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:22:55] local.INFO: Processing buffer {"connection_id":132390,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:22:55] local.INFO: IMEI packet received {"connection_id":132390,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 14:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":132390,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:23:06] local.INFO: TCP Data received {"connection_id":133432,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:23:06] local.INFO: Processing buffer {"connection_id":133432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:23:06] local.INFO: IMEI packet received {"connection_id":133432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":133432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:23:11] local.INFO: TCP Data received {"connection_id":133432,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:23:11] local.INFO: Processing buffer {"connection_id":133432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:23:11] local.INFO: IMEI packet received {"connection_id":133432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":133432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:23:12] local.INFO: TCP Data received {"connection_id":133432,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f64f96208012d80f08005a12e20000a01002d..."} 
[2026-07-15 14:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64f96208012d80f08005a12e20000a01002d..."} 
[2026-07-15 14:23:12] local.INFO: Processing buffer {"connection_id":133432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64f96208012d80f08005a12e20000a01002d..."} 
[2026-07-15 14:23:12] local.INFO: Packet analysis {"connection_id":133432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64f9"} 
[2026-07-15 14:23:12] local.INFO: Extracted packet for processing {"connection_id":133432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64f9"} 
[2026-07-15 14:23:12] local.INFO: GPS Element Parsed {"raw_longitude":763424896,"raw_latitude":94449184,"longitude_deg":76.3424896,"latitude_deg":9.4449184,"altitude":10,"angle":256,"satellites":45,"speed":0,"hex_longitude":"2d80f080","hex_latitude":"05a12e20","is_valid_coordinates":true} 
[2026-07-15 14: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-07-15 14:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731000832001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155605170946048,"note":"Value kept but may cause issues"} 
[2026-07-15 14:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155677280776871936,"note":"Value kept but may cause issues"} 
[2026-07-15 14:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784105493000,"timestamp_ms":1784105493000,"timestamp_seconds":1784105493,"priority":1,"record_length":96,"hex_timestamp":"0000019f64f96208"} 
[2026-07-15 14:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-15 14:23:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14: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-07-15 14:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":133432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":133432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":133432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731000832001,"66":25702,"82":206,"85":14336,"24":0,"16":347155605170946048,"45":-9155677280776871936},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731000832001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:23:12] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:23:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155605170946048,"km_value":347155605170946.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155677280776871936,"description":"Unknown IO ID 45"} 
[2026-07-15 14:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731000832001,"power":25702,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9155677280776871936}} 
[2026-07-15 14:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":133432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:23:12] local.INFO: GPS data processed {"connection_id":133432,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:23:12] local.INFO: Acknowledgment sent {"connection_id":133432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:23:14] local.INFO: TCP Data received {"connection_id":133432,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f64f9b410012d80f08005a12e20000a01002c..."} 
[2026-07-15 14:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64f9b410012d80f08005a12e20000a01002c..."} 
[2026-07-15 14:23:14] local.INFO: Processing buffer {"connection_id":133432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64f9b410012d80f08005a12e20000a01002c..."} 
[2026-07-15 14:23:14] local.INFO: Packet analysis {"connection_id":133432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64f9"} 
[2026-07-15 14:23:14] local.INFO: Extracted packet for processing {"connection_id":133432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64f9"} 
[2026-07-15 14:23:14] local.INFO: GPS Element Parsed {"raw_longitude":763424896,"raw_latitude":94449184,"longitude_deg":76.3424896,"latitude_deg":9.4449184,"altitude":10,"angle":256,"satellites":44,"speed":0,"hex_longitude":"2d80f080","hex_latitude":"05a12e20","is_valid_coordinates":true} 
[2026-07-15 14:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731006208001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155605170946048,"note":"Value kept but may cause issues"} 
[2026-07-15 14:23:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155677280776871936,"note":"Value kept but may cause issues"} 
[2026-07-15 14:23:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784105514000,"timestamp_ms":1784105514000,"timestamp_seconds":1784105514,"priority":1,"record_length":96,"hex_timestamp":"0000019f64f9b410"} 
[2026-07-15 14:23:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:23:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 14:23:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:23:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:23:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":133432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":133432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":133432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:23:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731006208001,"66":25712,"82":206,"85":14336,"24":0,"16":347155605170946048,"45":-9155677280776871936},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731006208001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:23:14] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:23:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155605170946048,"km_value":347155605170946.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:23:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155677280776871936,"description":"Unknown IO ID 45"} 
[2026-07-15 14:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731006208001,"power":25712,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9155677280776871936}} 
[2026-07-15 14:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":133432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:23:14] local.INFO: GPS data processed {"connection_id":133432,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:23:14] local.INFO: Acknowledgment sent {"connection_id":133432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:23:39] local.INFO: TCP Data received {"connection_id":132391,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132391,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:23:39] local.INFO: Processing buffer {"connection_id":132391,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:23:39] local.INFO: IMEI packet received {"connection_id":132391,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 14:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":132391,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:23:45] local.INFO: TCP Data received {"connection_id":133432,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f64fa0618012d80f08005a12e20000a01002c..."} 
[2026-07-15 14:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64fa0618012d80f08005a12e20000a01002c..."} 
[2026-07-15 14:23:45] local.INFO: Processing buffer {"connection_id":133432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64fa0618012d80f08005a12e20000a01002c..."} 
[2026-07-15 14:23:45] local.INFO: Packet analysis {"connection_id":133432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64fa"} 
[2026-07-15 14:23:45] local.INFO: Extracted packet for processing {"connection_id":133432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64fa"} 
[2026-07-15 14:23:45] local.INFO: GPS Element Parsed {"raw_longitude":763424896,"raw_latitude":94449184,"longitude_deg":76.3424896,"latitude_deg":9.4449184,"altitude":10,"angle":256,"satellites":44,"speed":0,"hex_longitude":"2d80f080","hex_latitude":"05a12e20","is_valid_coordinates":true} 
[2026-07-15 14:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731011584001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155605170946048,"note":"Value kept but may cause issues"} 
[2026-07-15 14:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155677280776871936,"note":"Value kept but may cause issues"} 
[2026-07-15 14:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784105535000,"timestamp_ms":1784105535000,"timestamp_seconds":1784105535,"priority":1,"record_length":96,"hex_timestamp":"0000019f64fa0618"} 
[2026-07-15 14:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-07-15 14:23:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:23:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":133432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":133432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":133432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731011584001,"66":25756,"82":206,"85":14336,"24":0,"16":347155605170946048,"45":-9155677280776871936},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731011584001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:23:45] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:23:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155605170946048,"km_value":347155605170946.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155677280776871936,"description":"Unknown IO ID 45"} 
[2026-07-15 14:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731011584001,"power":25756,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9155677280776871936}} 
[2026-07-15 14:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":133432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:23:45] local.INFO: GPS data processed {"connection_id":133432,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:23:45] local.INFO: Acknowledgment sent {"connection_id":133432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:24:03] local.INFO: TCP Data received {"connection_id":132585,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:24:03] local.INFO: Processing buffer {"connection_id":132585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:24:03] local.INFO: IMEI packet received {"connection_id":132585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":132585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:24:06] local.INFO: TCP Data received {"connection_id":132585,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:24:06] local.INFO: Processing buffer {"connection_id":132585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:24:06] local.INFO: IMEI packet received {"connection_id":132585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":132585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:24:07] local.INFO: TCP Data received {"connection_id":132585,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f64fa5820012d80f08005a12e20000a01002d..."} 
[2026-07-15 14:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64fa5820012d80f08005a12e20000a01002d..."} 
[2026-07-15 14:24:07] local.INFO: Processing buffer {"connection_id":132585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64fa5820012d80f08005a12e20000a01002d..."} 
[2026-07-15 14:24:07] local.INFO: Packet analysis {"connection_id":132585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64fa"} 
[2026-07-15 14:24:07] local.INFO: Extracted packet for processing {"connection_id":132585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64fa"} 
[2026-07-15 14:24:07] local.INFO: GPS Element Parsed {"raw_longitude":763424896,"raw_latitude":94449184,"longitude_deg":76.3424896,"latitude_deg":9.4449184,"altitude":10,"angle":256,"satellites":45,"speed":0,"hex_longitude":"2d80f080","hex_latitude":"05a12e20","is_valid_coordinates":true} 
[2026-07-15 14:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731016960001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155605170946048,"note":"Value kept but may cause issues"} 
[2026-07-15 14:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155677280776871936,"note":"Value kept but may cause issues"} 
[2026-07-15 14:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784105556000,"timestamp_ms":1784105556000,"timestamp_seconds":1784105556,"priority":1,"record_length":96,"hex_timestamp":"0000019f64fa5820"} 
[2026-07-15 14:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 14:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:24:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731016960001,"66":25702,"7":206,"85":14336,"24":0,"16":347155605170946048,"45":-9155677280776871936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-07-15 14:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731016960001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:24:07] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-15 14:24:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155605170946048,"km_value":347155605170946.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155677280776871936,"description":"Unknown IO ID 45"} 
[2026-07-15 14:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731016960001,"power":25702,"unknown_7":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9155677280776871936}} 
[2026-07-15 14:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":132585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:24:07] local.INFO: GPS data processed {"connection_id":132585,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:24:07] local.INFO: Acknowledgment sent {"connection_id":132585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:24:11] local.INFO: TCP Data received {"connection_id":132585,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f64fa8ae8012d80f08005a12e20000a01002e..."} 
[2026-07-15 14:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64fa8ae8012d80f08005a12e20000a01002e..."} 
[2026-07-15 14:24:11] local.INFO: Processing buffer {"connection_id":132585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64fa8ae8012d80f08005a12e20000a01002e..."} 
[2026-07-15 14:24:11] local.INFO: Packet analysis {"connection_id":132585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64fa"} 
[2026-07-15 14:24:11] local.INFO: Extracted packet for processing {"connection_id":132585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64fa"} 
[2026-07-15 14:24:11] local.INFO: GPS Element Parsed {"raw_longitude":763424896,"raw_latitude":94449184,"longitude_deg":76.3424896,"latitude_deg":9.4449184,"altitude":10,"angle":256,"satellites":46,"speed":0,"hex_longitude":"2d80f080","hex_latitude":"05a12e20","is_valid_coordinates":true} 
[2026-07-15 14:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731022336001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155605170946048,"note":"Value kept but may cause issues"} 
[2026-07-15 14:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155677280776871936,"note":"Value kept but may cause issues"} 
[2026-07-15 14:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784105569000,"timestamp_ms":1784105569000,"timestamp_seconds":1784105569,"priority":1,"record_length":96,"hex_timestamp":"0000019f64fa8ae8"} 
[2026-07-15 14:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 14:24:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:24:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731022336001,"66":25691,"7":206,"85":14336,"24":0,"16":347155605170946048,"45":-9155677280776871936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-07-15 14:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731022336001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:24:11] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-15 14:24:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155605170946048,"km_value":347155605170946.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155677280776871936,"description":"Unknown IO ID 45"} 
[2026-07-15 14:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731022336001,"power":25691,"unknown_7":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9155677280776871936}} 
[2026-07-15 14:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":132585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:24:11] local.INFO: GPS data processed {"connection_id":132585,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:24:11] local.INFO: Acknowledgment sent {"connection_id":132585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:24:45] local.INFO: TCP Data received {"connection_id":132585,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f64fbafe0012d80f08005a12e20000a01002d..."} 
[2026-07-15 14:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64fbafe0012d80f08005a12e20000a01002d..."} 
[2026-07-15 14:24:45] local.INFO: Processing buffer {"connection_id":132585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64fbafe0012d80f08005a12e20000a01002d..."} 
[2026-07-15 14:24:45] local.INFO: Packet analysis {"connection_id":132585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64fb"} 
[2026-07-15 14:24:45] local.INFO: Extracted packet for processing {"connection_id":132585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64fb"} 
[2026-07-15 14:24:45] local.INFO: GPS Element Parsed {"raw_longitude":763424896,"raw_latitude":94449184,"longitude_deg":76.3424896,"latitude_deg":9.4449184,"altitude":10,"angle":256,"satellites":45,"speed":0,"hex_longitude":"2d80f080","hex_latitude":"05a12e20","is_valid_coordinates":true} 
[2026-07-15 14:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731025664001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155605170946048,"note":"Value kept but may cause issues"} 
[2026-07-15 14:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155677280776871936,"note":"Value kept but may cause issues"} 
[2026-07-15 14:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784105644000,"timestamp_ms":1784105644000,"timestamp_seconds":1784105644,"priority":1,"record_length":96,"hex_timestamp":"0000019f64fbafe0"} 
[2026-07-15 14:24:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:24:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-15 14:24:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:24:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:24:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":132585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":132585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":132585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:24:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731025664001,"66":25952,"7":206,"85":14336,"24":0,"16":347155605170946048,"45":-9155677280776871936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-07-15 14:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731025664001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:24:45] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-15 14:24:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155605170946048,"km_value":347155605170946.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155677280776871936,"description":"Unknown IO ID 45"} 
[2026-07-15 14:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731025664001,"power":25952,"unknown_7":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9155677280776871936}} 
[2026-07-15 14:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":132585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:24:45] local.INFO: GPS data processed {"connection_id":132585,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:24:45] local.INFO: Acknowledgment sent {"connection_id":132585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:25:09] local.INFO: TCP Data received {"connection_id":132587,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132587,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:25:09] local.INFO: Processing buffer {"connection_id":132587,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:25:09] local.INFO: IMEI packet received {"connection_id":132587,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 14:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":132587,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:25:10] local.INFO: TCP Data received {"connection_id":132587,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64fb1f58012d7d388005d401f00016000313..."} 
[2026-07-15 14:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64fb1f58012d7d388005d401f00016000313..."} 
[2026-07-15 14:25:10] local.INFO: Processing buffer {"connection_id":132587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64fb1f58012d7d388005d401f00016000313..."} 
[2026-07-15 14:25:10] local.INFO: Packet analysis {"connection_id":132587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64fb"} 
[2026-07-15 14:25:10] local.INFO: Extracted packet for processing {"connection_id":132587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64fb"} 
[2026-07-15 14:25:10] local.INFO: GPS Element Parsed {"raw_longitude":763181184,"raw_latitude":97780208,"longitude_deg":76.3181184,"latitude_deg":9.7780208,"altitude":22,"angle":3,"satellites":19,"speed":22,"hex_longitude":"2d7d3880","hex_latitude":"05d401f0","is_valid_coordinates":true} 
[2026-07-15 14:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731031040001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106482263721508864,"note":"Value kept but may cause issues"} 
[2026-07-15 14:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022047084791900160,"note":"Value kept but may cause issues"} 
[2026-07-15 14:25:10] 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-07-15 14:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784105607000,"timestamp_ms":1784105607000,"timestamp_seconds":1784105607,"priority":1,"record_length":96,"hex_timestamp":"0000019f64fb1f58"} 
[2026-07-15 14:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:25:10] 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-07-15 14:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-15 14:25:10] 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-07-15 14:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":132587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":132587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":132587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731031040001,"66":13298,"81":206,"85":15104,"24":22,"16":106482263721508864,"45":9022047084791900160},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-15 14:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731031040001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:25:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-15 14:25:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106482263721508864,"km_value":106482263721508.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022047084791900160,"description":"Unknown IO ID 45"} 
[2026-07-15 14:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731031040001,"power":13298,"unknown_81":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9022047084791900160}} 
[2026-07-15 14:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":132587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491170,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:25:10] local.INFO: GPS data processed {"connection_id":132587,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:25:10] local.INFO: Acknowledgment sent {"connection_id":132587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:25:21] local.INFO: TCP Data received {"connection_id":134791,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:25:21] local.INFO: Processing buffer {"connection_id":134791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:25:21] local.INFO: IMEI packet received {"connection_id":134791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":134791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:25:27] local.INFO: TCP Data received {"connection_id":134791,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:25:27] local.INFO: Processing buffer {"connection_id":134791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:25:27] local.INFO: IMEI packet received {"connection_id":134791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":134791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:25:28] local.INFO: TCP Data received {"connection_id":134791,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f64fc1188012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64fc1188012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:25:28] local.INFO: Processing buffer {"connection_id":134791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64fc1188012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:25:28] local.INFO: Packet analysis {"connection_id":134791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64fc"} 
[2026-07-15 14:25:28] local.INFO: Extracted packet for processing {"connection_id":134791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64fc"} 
[2026-07-15 14:25:28] local.INFO: GPS Element Parsed {"raw_longitude":763424896,"raw_latitude":94449184,"longitude_deg":76.3424896,"latitude_deg":9.4449184,"altitude":10,"angle":256,"satellites":47,"speed":0,"hex_longitude":"2d80f080","hex_latitude":"05a12e20","is_valid_coordinates":true} 
[2026-07-15 14: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-07-15 14:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731044864001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155605170946048,"note":"Value kept but may cause issues"} 
[2026-07-15 14:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155677280776871936,"note":"Value kept but may cause issues"} 
[2026-07-15 14:25:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784105669000,"timestamp_ms":1784105669000,"timestamp_seconds":1784105669,"priority":1,"record_length":96,"hex_timestamp":"0000019f64fc1188"} 
[2026-07-15 14:25:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:25:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 14:25:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14: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-07-15 14:25:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":134791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":134791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":134791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:25: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-07-15 14:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731044864001,"66":25756,"82":206,"85":14336,"24":0,"16":347155605170946048,"45":-9155677280776871936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731044864001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:25:28] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:25:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155605170946048,"km_value":347155605170946.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155677280776871936,"description":"Unknown IO ID 45"} 
[2026-07-15 14:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731044864001,"power":25756,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9155677280776871936}} 
[2026-07-15 14:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":134791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:25:28] local.INFO: GPS data processed {"connection_id":134791,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:25:28] local.INFO: Acknowledgment sent {"connection_id":134791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:25:29] local.INFO: TCP Data received {"connection_id":134791,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f64fc6390012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64fc6390012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:25:29] local.INFO: Processing buffer {"connection_id":134791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64fc6390012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:25:29] local.INFO: Packet analysis {"connection_id":134791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64fc"} 
[2026-07-15 14:25:29] local.INFO: Extracted packet for processing {"connection_id":134791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64fc"} 
[2026-07-15 14:25:29] local.INFO: GPS Element Parsed {"raw_longitude":763424896,"raw_latitude":94449184,"longitude_deg":76.3424896,"latitude_deg":9.4449184,"altitude":10,"angle":256,"satellites":47,"speed":0,"hex_longitude":"2d80f080","hex_latitude":"05a12e20","is_valid_coordinates":true} 
[2026-07-15 14: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-07-15 14:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731051264001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155605170946048,"note":"Value kept but may cause issues"} 
[2026-07-15 14:25:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155677280776871936,"note":"Value kept but may cause issues"} 
[2026-07-15 14:25:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784105690000,"timestamp_ms":1784105690000,"timestamp_seconds":1784105690,"priority":1,"record_length":96,"hex_timestamp":"0000019f64fc6390"} 
[2026-07-15 14:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:25:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 14:25:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14: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-07-15 14:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":134791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":134791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":134791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:25: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-07-15 14:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731051264001,"66":25691,"185":206,"85":14336,"24":0,"16":347155605170946048,"45":-9155677280776871936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-15 14:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731051264001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:25:29] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-15 14:25:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155605170946048,"km_value":347155605170946.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:25:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155677280776871936,"description":"Unknown IO ID 45"} 
[2026-07-15 14:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731051264001,"power":25691,"unknown_185":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9155677280776871936}} 
[2026-07-15 14:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":134791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:25:29] local.INFO: GPS data processed {"connection_id":134791,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:25:29] local.INFO: Acknowledgment sent {"connection_id":134791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:25:41] local.INFO: TCP Data received {"connection_id":132587,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64fce860012d7d108005d5b2c8001a015111..."} 
[2026-07-15 14:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64fce860012d7d108005d5b2c8001a015111..."} 
[2026-07-15 14:25:41] local.INFO: Processing buffer {"connection_id":132587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64fce860012d7d108005d5b2c8001a015111..."} 
[2026-07-15 14:25:41] local.INFO: Packet analysis {"connection_id":132587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64fc"} 
[2026-07-15 14:25:41] local.INFO: Extracted packet for processing {"connection_id":132587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64fc"} 
[2026-07-15 14:25:41] local.INFO: GPS Element Parsed {"raw_longitude":763170944,"raw_latitude":97891016,"longitude_deg":76.3170944,"latitude_deg":9.7891016,"altitude":26,"angle":337,"satellites":17,"speed":56,"hex_longitude":"2d7d1080","hex_latitude":"05d5b2c8","is_valid_coordinates":true} 
[2026-07-15 14:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731063552001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106487701150105600,"note":"Value kept but may cause issues"} 
[2026-07-15 14:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015713897844199424,"note":"Value kept but may cause issues"} 
[2026-07-15 14:25:41] 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-07-15 14:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784105724000,"timestamp_ms":1784105724000,"timestamp_seconds":1784105724,"priority":1,"record_length":96,"hex_timestamp":"0000019f64fce860"} 
[2026-07-15 14:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-15 14:25:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731063552001,"66":13319,"254":206,"85":15104,"24":56,"16":106487701150105600,"45":9015713897844199424},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-07-15 14:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731063552001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:25:41] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-15 14:25:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106487701150105600,"km_value":106487701150105.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015713897844199424,"description":"Unknown IO ID 45"} 
[2026-07-15 14:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731063552001,"power":13319,"unknown_254":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":9015713897844199424}} 
[2026-07-15 14:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":132587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491173,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:25:41] local.INFO: GPS data processed {"connection_id":132587,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:25:41] local.INFO: Acknowledgment sent {"connection_id":132587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:26:01] local.INFO: TCP Data received {"connection_id":132392,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:26:01] local.INFO: Processing buffer {"connection_id":132392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:26:01] local.INFO: IMEI packet received {"connection_id":132392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":132392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:26:06] local.INFO: TCP Data received {"connection_id":132392,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:26:06] local.INFO: Processing buffer {"connection_id":132392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:26:06] local.INFO: IMEI packet received {"connection_id":132392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":132392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:26:07] local.INFO: TCP Data received {"connection_id":132392,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f64fcb598012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64fcb598012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:26:07] local.INFO: Processing buffer {"connection_id":132392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64fcb598012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:26:07] local.INFO: Packet analysis {"connection_id":132392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64fc"} 
[2026-07-15 14:26:07] local.INFO: Extracted packet for processing {"connection_id":132392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64fc"} 
[2026-07-15 14:26:07] local.INFO: GPS Element Parsed {"raw_longitude":763424896,"raw_latitude":94449184,"longitude_deg":76.3424896,"latitude_deg":9.4449184,"altitude":10,"angle":256,"satellites":47,"speed":0,"hex_longitude":"2d80f080","hex_latitude":"05a12e20","is_valid_coordinates":true} 
[2026-07-15 14:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731056640001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155605170946048,"note":"Value kept but may cause issues"} 
[2026-07-15 14:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155677280776871936,"note":"Value kept but may cause issues"} 
[2026-07-15 14:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784105711000,"timestamp_ms":1784105711000,"timestamp_seconds":1784105711,"priority":1,"record_length":96,"hex_timestamp":"0000019f64fcb598"} 
[2026-07-15 14:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-15 14:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:26:07] 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-07-15 14:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731056640001,"66":25712,"185":206,"85":14336,"24":0,"16":347155605170946048,"45":-9155677280776871936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-15 14:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731056640001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:26:07] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-15 14:26:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155605170946048,"km_value":347155605170946.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155677280776871936,"description":"Unknown IO ID 45"} 
[2026-07-15 14:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731056640001,"power":25712,"unknown_185":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9155677280776871936}} 
[2026-07-15 14:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":132392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:26:07] local.INFO: GPS data processed {"connection_id":132392,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:26:07] local.INFO: Acknowledgment sent {"connection_id":132392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:26:09] local.INFO: TCP Data received {"connection_id":133434,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133434,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:26:09] local.INFO: Processing buffer {"connection_id":133434,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:26:09] local.INFO: IMEI packet received {"connection_id":133434,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 14:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":133434,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:26:11] local.INFO: TCP Data received {"connection_id":133434,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133434,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:26:11] local.INFO: Processing buffer {"connection_id":133434,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:26:11] local.INFO: IMEI packet received {"connection_id":133434,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":133434,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:26:14] local.INFO: TCP Data received {"connection_id":133434,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133434,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:26:14] local.INFO: Processing buffer {"connection_id":133434,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:26:14] local.INFO: IMEI packet received {"connection_id":133434,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":133434,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:26:15] local.INFO: TCP Data received {"connection_id":133434,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64fcffd0012d7d028005d5d2c00017015212..."} 
[2026-07-15 14:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64fcffd0012d7d028005d5d2c00017015212..."} 
[2026-07-15 14:26:15] local.INFO: Processing buffer {"connection_id":133434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64fcffd0012d7d028005d5d2c00017015212..."} 
[2026-07-15 14:26:15] local.INFO: Packet analysis {"connection_id":133434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64fc"} 
[2026-07-15 14:26:15] local.INFO: Extracted packet for processing {"connection_id":133434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64fc"} 
[2026-07-15 14:26:15] local.INFO: GPS Element Parsed {"raw_longitude":763167360,"raw_latitude":97899200,"longitude_deg":76.316736,"latitude_deg":9.78992,"altitude":23,"angle":338,"satellites":18,"speed":58,"hex_longitude":"2d7d0280","hex_latitude":"05d5d2c0","is_valid_coordinates":true} 
[2026-07-15 14:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731065344001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106488130646835200,"note":"Value kept but may cause issues"} 
[2026-07-15 14:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011843616916817920,"note":"Value kept but may cause issues"} 
[2026-07-15 14:26:15] 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-07-15 14:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784105730000,"timestamp_ms":1784105730000,"timestamp_seconds":1784105730,"priority":1,"record_length":96,"hex_timestamp":"0000019f64fcffd0"} 
[2026-07-15 14:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-15 14:26:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 14:26:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2835218638,"corrected_to":0} 
[2026-07-15 14:26:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-07-15 14:26:15] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3238002688,"note":"Value kept but may cause issues"} 
[2026-07-15 14:26:15] local.WARNING: Large IO value detected {"io_id":100,"raw_value":4235919361,"note":"Value kept but may cause issues"} 
[2026-07-15 14:26:15] local.WARNING: Large IO value detected {"io_id":95,"raw_value":2818649469,"note":"Value kept but may cause issues"} 
[2026-07-15 14:26:15] local.WARNING: Large IO value detected {"io_id":39,"raw_value":3221607679,"note":"Value kept but may cause issues"} 
[2026-07-15 14:26:15] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3571185664,"note":"Value kept but may cause issues"} 
[2026-07-15 14:26:15] local.WARNING: Large IO value detected {"io_id":237,"raw_value":57911625340835131,"note":"Value kept but may cause issues"} 
[2026-07-15 14:26:15] local.WARNING: Large IO value detected {"io_id":252,"raw_value":2952110850626715653,"note":"Value kept but may cause issues"} 
[2026-07-15 14:26:15] local.WARNING: Large IO value detected {"io_id":212,"raw_value":-5354779858136198400,"note":"Value kept but may cause issues"} 
[2026-07-15 14:26:15] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,254,85,24,241,157,16,82,159,205,45,64,142,26,10,66,81,177,106,15,150,1,240,215,227,80,100,213,4,113,52,95,39,208,18,239,2,122,5,25,57,237,252,212],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2835218638,"validated":0}]} 
[2026-07-15 14:26:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1873868053422800896,"timestamp_seconds":1873868053422801.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 14:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":133434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":133434,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":133434,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731065344001,"66":13319,"253":206,"85":15104,"24":58,"16":106488130646835200,"45":9011843616916817920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-07-15 14:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731065344001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:26:15] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-07-15 14:26:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106488130646835200,"km_value":106488130646835.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011843616916817920,"description":"Unknown IO ID 45"} 
[2026-07-15 14:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731065344001,"power":13319,"unknown_253":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":9011843616916817920}} 
[2026-07-15 14:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":133434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491175,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:26:15] local.INFO: GPS data processed {"connection_id":133434,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:26:15] local.INFO: Acknowledgment sent {"connection_id":133434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:26:18] local.INFO: TCP Data received {"connection_id":133434,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64fd1740012d7cf84005d5f6100013015b13..."} 
[2026-07-15 14:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64fd1740012d7cf84005d5f6100013015b13..."} 
[2026-07-15 14:26:18] local.INFO: Processing buffer {"connection_id":133434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64fd1740012d7cf84005d5f6100013015b13..."} 
[2026-07-15 14:26:18] local.INFO: Packet analysis {"connection_id":133434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64fd"} 
[2026-07-15 14:26:18] local.INFO: Extracted packet for processing {"connection_id":133434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64fd"} 
[2026-07-15 14:26:18] local.INFO: GPS Element Parsed {"raw_longitude":763164736,"raw_latitude":97908240,"longitude_deg":76.3164736,"latitude_deg":9.790824,"altitude":19,"angle":347,"satellites":19,"speed":62,"hex_longitude":"2d7cf840","hex_latitude":"05d5f610","is_valid_coordinates":true} 
[2026-07-15 14: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-07-15 14:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731066880001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106488590208335872,"note":"Value kept but may cause issues"} 
[2026-07-15 14:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9007902967244963840,"note":"Value kept but may cause issues"} 
[2026-07-15 14:26:18] 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-07-15 14:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784105736000,"timestamp_ms":1784105736000,"timestamp_seconds":1784105736,"priority":1,"record_length":96,"hex_timestamp":"0000019f64fd1740"} 
[2026-07-15 14:26:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:26:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-15 14:26:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 14:26:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2835218638,"corrected_to":0} 
[2026-07-15 14:26:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-15 14:26:18] local.WARNING: Large IO value detected {"io_id":100,"raw_value":4237711361,"note":"Value kept but may cause issues"} 
[2026-07-15 14:26:18] local.WARNING: Large IO value detected {"io_id":40,"raw_value":2147865890,"note":"Value kept but may cause issues"} 
[2026-07-15 14:26:18] local.WARNING: Large IO value detected {"io_id":51,"raw_value":57911625340835131,"note":"Value kept but may cause issues"} 
[2026-07-15 14:26:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3573534720,"note":"Value kept but may cause issues"} 
[2026-07-15 14:26:18] local.WARNING: Large IO value detected {"io_id":252,"raw_value":4922435687601012741,"note":"Value kept but may cause issues"} 
[2026-07-15 14:26:18] local.WARNING: Large IO value detected {"io_id":212,"raw_value":-2596325077781704448,"note":"Value kept but may cause issues"} 
[2026-07-15 14:26:18] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,253,85,24,241,157,16,82,159,232,45,128,178,26,17,10,66,254,205,64,142,81,177,1,240,69,227,100,213,4,113,53,123,40,224,239,51,2,122,5,25,50,252,212],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2835218638,"validated":0}]} 
[2026-07-15 14:26:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1657696375115743232,"timestamp_seconds":1657696375115743.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 14:26:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":133434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":133434,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":133434,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:26:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731066880001,"66":13363,"253":206,"85":15104,"24":62,"16":106488590208335872,"45":9007902967244963840},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-07-15 14:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731066880001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:26:18] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-07-15 14:26:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106488590208335872,"km_value":106488590208335.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9007902967244963840,"description":"Unknown IO ID 45"} 
[2026-07-15 14:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731066880001,"power":13363,"unknown_253":206,"unknown_85":15104,"ignition":62,"odometer":null,"unknown_45":9007902967244963840}} 
[2026-07-15 14:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":133434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491176,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:26:18] local.INFO: GPS data processed {"connection_id":133434,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:26:18] local.INFO: Acknowledgment sent {"connection_id":133434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:26:38] local.INFO: TCP Data received {"connection_id":132392,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f64fd07a0012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64fd07a0012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:26:38] local.INFO: Processing buffer {"connection_id":132392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64fd07a0012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:26:38] local.INFO: Packet analysis {"connection_id":132392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64fd"} 
[2026-07-15 14:26:38] local.INFO: Extracted packet for processing {"connection_id":132392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64fd"} 
[2026-07-15 14:26:38] local.INFO: GPS Element Parsed {"raw_longitude":763424896,"raw_latitude":94449184,"longitude_deg":76.3424896,"latitude_deg":9.4449184,"altitude":10,"angle":256,"satellites":47,"speed":0,"hex_longitude":"2d80f080","hex_latitude":"05a12e20","is_valid_coordinates":true} 
[2026-07-15 14:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731062016001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155605170946048,"note":"Value kept but may cause issues"} 
[2026-07-15 14:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155677280776871936,"note":"Value kept but may cause issues"} 
[2026-07-15 14:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784105732000,"timestamp_ms":1784105732000,"timestamp_seconds":1784105732,"priority":1,"record_length":96,"hex_timestamp":"0000019f64fd07a0"} 
[2026-07-15 14:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-07-15 14:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:26:38] 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-07-15 14:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731062016001,"66":25712,"7":206,"85":14336,"24":0,"16":347155605170946048,"45":-9155677280776871936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-07-15 14:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731062016001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:26:38] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-15 14:26:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155605170946048,"km_value":347155605170946.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155677280776871936,"description":"Unknown IO ID 45"} 
[2026-07-15 14:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731062016001,"power":25712,"unknown_7":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9155677280776871936}} 
[2026-07-15 14:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":132392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:26:38] local.INFO: GPS data processed {"connection_id":132392,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:26:38] local.INFO: Acknowledgment sent {"connection_id":132392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:26:59] local.INFO: TCP Data received {"connection_id":132588,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132588,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:26:59] local.INFO: Processing buffer {"connection_id":132588,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:26:59] local.INFO: IMEI packet received {"connection_id":132588,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 14:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":132588,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:27:02] local.INFO: TCP Data received {"connection_id":132588,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132588,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:27:02] local.INFO: Processing buffer {"connection_id":132588,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:27:02] local.INFO: IMEI packet received {"connection_id":132588,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":132588,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:27:04] local.INFO: TCP Data received {"connection_id":132588,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132588,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:27:04] local.INFO: Processing buffer {"connection_id":132588,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:27:04] local.INFO: IMEI packet received {"connection_id":132588,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":132588,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:27:05] local.INFO: TCP Data received {"connection_id":132588,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64fd2eb0012d7cf2c005d619880010016114..."} 
[2026-07-15 14:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64fd2eb0012d7cf2c005d619880010016114..."} 
[2026-07-15 14:27:05] local.INFO: Processing buffer {"connection_id":132588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64fd2eb0012d7cf2c005d619880010016114..."} 
[2026-07-15 14:27:05] local.INFO: Packet analysis {"connection_id":132588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64fd"} 
[2026-07-15 14:27:05] local.INFO: Extracted packet for processing {"connection_id":132588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64fd"} 
[2026-07-15 14:27:05] local.INFO: GPS Element Parsed {"raw_longitude":763163328,"raw_latitude":97917320,"longitude_deg":76.3163328,"latitude_deg":9.791732,"altitude":16,"angle":353,"satellites":20,"speed":61,"hex_longitude":"2d7cf2c0","hex_latitude":"05d61988","is_valid_coordinates":true} 
[2026-07-15 14:27: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-07-15 14:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731068416001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106489032589967360,"note":"Value kept but may cause issues"} 
[2026-07-15 14:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9005017848735993856,"note":"Value kept but may cause issues"} 
[2026-07-15 14:27:05] 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-07-15 14:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784105742000,"timestamp_ms":1784105742000,"timestamp_seconds":1784105742,"priority":1,"record_length":96,"hex_timestamp":"0000019f64fd2eb0"} 
[2026-07-15 14:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-15 14:27:05] 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-07-15 14:27: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-07-15 14:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731068416001,"66":13135,"253":206,"85":15104,"24":61,"16":106489032589967360,"45":9005017848735993856},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-07-15 14:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731068416001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:27:05] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-07-15 14:27:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106489032589967360,"km_value":106489032589967.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9005017848735993856,"description":"Unknown IO ID 45"} 
[2026-07-15 14:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731068416001,"power":13135,"unknown_253":206,"unknown_85":15104,"ignition":61,"odometer":null,"unknown_45":9005017848735993856}} 
[2026-07-15 14:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":132588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491178,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:27:06] local.INFO: GPS data processed {"connection_id":132588,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:27:06] local.INFO: Acknowledgment sent {"connection_id":132588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:27:06] local.INFO: TCP Data received {"connection_id":132393,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:27:06] local.INFO: Processing buffer {"connection_id":132393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:27:06] local.INFO: IMEI packet received {"connection_id":132393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":132393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:27:11] local.INFO: TCP Data received {"connection_id":132393,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:27:11] local.INFO: Processing buffer {"connection_id":132393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:27:11] local.INFO: IMEI packet received {"connection_id":132393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":132393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:27:12] local.INFO: TCP Data received {"connection_id":132393,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f64fd59a8012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64fd59a8012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:27:12] local.INFO: Processing buffer {"connection_id":132393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64fd59a8012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:27:12] local.INFO: Packet analysis {"connection_id":132393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64fd"} 
[2026-07-15 14:27:12] local.INFO: Extracted packet for processing {"connection_id":132393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64fd"} 
[2026-07-15 14:27:12] local.INFO: GPS Element Parsed {"raw_longitude":763424896,"raw_latitude":94449184,"longitude_deg":76.3424896,"latitude_deg":9.4449184,"altitude":10,"angle":256,"satellites":47,"speed":0,"hex_longitude":"2d80f080","hex_latitude":"05a12e20","is_valid_coordinates":true} 
[2026-07-15 14:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731067392001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155605170946048,"note":"Value kept but may cause issues"} 
[2026-07-15 14:27:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155677280776871936,"note":"Value kept but may cause issues"} 
[2026-07-15 14:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784105753000,"timestamp_ms":1784105753000,"timestamp_seconds":1784105753,"priority":1,"record_length":96,"hex_timestamp":"0000019f64fd59a8"} 
[2026-07-15 14:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-07-15 14:27:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:27:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:27:12] 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-07-15 14:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731067392001,"66":25712,"7":206,"85":14336,"24":0,"16":347155605170946048,"45":-9155677280776871936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-07-15 14:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731067392001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:27:12] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-15 14:27:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155605170946048,"km_value":347155605170946.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155677280776871936,"description":"Unknown IO ID 45"} 
[2026-07-15 14:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731067392001,"power":25712,"unknown_7":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9155677280776871936}} 
[2026-07-15 14:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":132393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:27:12] local.INFO: GPS data processed {"connection_id":132393,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:27:12] local.INFO: Acknowledgment sent {"connection_id":132393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:27:13] local.INFO: TCP Data received {"connection_id":132393,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f64fdabb0012d80f08005a12e20000a010030..."} 
[2026-07-15 14:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64fdabb0012d80f08005a12e20000a010030..."} 
[2026-07-15 14:27:13] local.INFO: Processing buffer {"connection_id":132393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64fdabb0012d80f08005a12e20000a010030..."} 
[2026-07-15 14:27:13] local.INFO: Packet analysis {"connection_id":132393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64fd"} 
[2026-07-15 14:27:13] local.INFO: Extracted packet for processing {"connection_id":132393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64fd"} 
[2026-07-15 14:27:13] local.INFO: GPS Element Parsed {"raw_longitude":763424896,"raw_latitude":94449184,"longitude_deg":76.3424896,"latitude_deg":9.4449184,"altitude":10,"angle":256,"satellites":48,"speed":0,"hex_longitude":"2d80f080","hex_latitude":"05a12e20","is_valid_coordinates":true} 
[2026-07-15 14:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731072768001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155605170946048,"note":"Value kept but may cause issues"} 
[2026-07-15 14:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155677280776871936,"note":"Value kept but may cause issues"} 
[2026-07-15 14:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784105774000,"timestamp_ms":1784105774000,"timestamp_seconds":1784105774,"priority":1,"record_length":96,"hex_timestamp":"0000019f64fdabb0"} 
[2026-07-15 14:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:27:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-07-15 14:27:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:27:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:27:13] 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-07-15 14:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731072768001,"66":27865,"7":206,"85":14336,"24":0,"16":347155605170946048,"45":-9155677280776871936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-07-15 14:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731072768001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:27:13] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-15 14:27:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155605170946048,"km_value":347155605170946.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155677280776871936,"description":"Unknown IO ID 45"} 
[2026-07-15 14:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731072768001,"power":27865,"unknown_7":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9155677280776871936}} 
[2026-07-15 14:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":132393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:27:13] local.INFO: GPS data processed {"connection_id":132393,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:27:13] local.INFO: Acknowledgment sent {"connection_id":132393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:27:37] local.INFO: TCP Data received {"connection_id":132588,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64fe5f60012d7c9fc005d7b2980000016210..."} 
[2026-07-15 14:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64fe5f60012d7c9fc005d7b2980000016210..."} 
[2026-07-15 14:27:37] local.INFO: Processing buffer {"connection_id":132588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64fe5f60012d7c9fc005d7b2980000016210..."} 
[2026-07-15 14:27:37] local.INFO: Packet analysis {"connection_id":132588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64fe"} 
[2026-07-15 14:27:37] local.INFO: Extracted packet for processing {"connection_id":132588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64fe"} 
[2026-07-15 14:27:37] local.INFO: GPS Element Parsed {"raw_longitude":763142080,"raw_latitude":98022040,"longitude_deg":76.314208,"latitude_deg":9.802204,"altitude":0,"angle":354,"satellites":16,"speed":32,"hex_longitude":"2d7c9fc0","hex_latitude":"05d7b298","is_valid_coordinates":true} 
[2026-07-15 14:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731087872001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106494229500395520,"note":"Value kept but may cause issues"} 
[2026-07-15 14:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8981514688207497216,"note":"Value kept but may cause issues"} 
[2026-07-15 14:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784105820000,"timestamp_ms":1784105820000,"timestamp_seconds":1784105820,"priority":1,"record_length":96,"hex_timestamp":"0000019f64fe5f60"} 
[2026-07-15 14:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-15 14:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731087872001,"66":13059,"31":206,"85":15104,"24":32,"16":106494229500395520,"45":8981514688207497216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,85,24,16,45]} 
[2026-07-15 14:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731087872001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:27:37] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-15 14:27:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106494229500395520,"km_value":106494229500395.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8981514688207497216,"description":"Unknown IO ID 45"} 
[2026-07-15 14:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731087872001,"power":13059,"unknown_31":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8981514688207497216}} 
[2026-07-15 14:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":132588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491181,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:27:37] local.INFO: GPS data processed {"connection_id":132588,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:27:37] local.INFO: Acknowledgment sent {"connection_id":132588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:27:45] local.INFO: TCP Data received {"connection_id":132393,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f64fdfdb8012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64fdfdb8012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:27:45] local.INFO: Processing buffer {"connection_id":132393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64fdfdb8012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:27:45] local.INFO: Packet analysis {"connection_id":132393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64fd"} 
[2026-07-15 14:27:45] local.INFO: Extracted packet for processing {"connection_id":132393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64fd"} 
[2026-07-15 14:27:45] local.INFO: GPS Element Parsed {"raw_longitude":763424896,"raw_latitude":94449184,"longitude_deg":76.3424896,"latitude_deg":9.4449184,"altitude":10,"angle":256,"satellites":47,"speed":0,"hex_longitude":"2d80f080","hex_latitude":"05a12e20","is_valid_coordinates":true} 
[2026-07-15 14:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:27:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731078144001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:27:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155605170946048,"note":"Value kept but may cause issues"} 
[2026-07-15 14:27:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155677280776871936,"note":"Value kept but may cause issues"} 
[2026-07-15 14:27:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:27:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784105795000,"timestamp_ms":1784105795000,"timestamp_seconds":1784105795,"priority":1,"record_length":96,"hex_timestamp":"0000019f64fdfdb8"} 
[2026-07-15 14:27:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:27:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-15 14:27:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:27:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:27:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:27:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:27:45] local.INFO: Teltonika packet parsed successfully {"connection_id":132393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:27:45] local.INFO: Passing IMEI to GPS processor {"connection_id":132393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:27:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":132393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:27:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:27:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:27:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:27:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731078144001,"66":26984,"7":206,"85":14336,"24":0,"16":347155605170946048,"45":-9155677280776871936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-07-15 14:27:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:27:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:27:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731078144001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:27:45] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-15 14:27:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:27:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155605170946048,"km_value":347155605170946.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:27:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155677280776871936,"description":"Unknown IO ID 45"} 
[2026-07-15 14:27:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731078144001,"power":26984,"unknown_7":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9155677280776871936}} 
[2026-07-15 14:27:45] local.INFO: DEBUG: GPS processor result {"connection_id":132393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:27:45] local.INFO: GPS data processed {"connection_id":132393,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:27:45] local.INFO: Acknowledgment sent {"connection_id":132393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:27:59] local.INFO: TCP Data received {"connection_id":133436,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133436,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:27:59] local.INFO: Processing buffer {"connection_id":133436,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:27:59] local.INFO: IMEI packet received {"connection_id":133436,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 14:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":133436,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:27:59] local.INFO: TCP Data received {"connection_id":133436,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133436,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:27:59] local.INFO: Processing buffer {"connection_id":133436,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:27:59] local.INFO: IMEI packet received {"connection_id":133436,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":133436,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:28:01] local.INFO: TCP Data received {"connection_id":133435,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:28:01] local.INFO: Processing buffer {"connection_id":133435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:28:01] local.INFO: IMEI packet received {"connection_id":133435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":133435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:28:04] local.INFO: TCP Data received {"connection_id":133436,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133436,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:28:04] local.INFO: Processing buffer {"connection_id":133436,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:28:04] local.INFO: IMEI packet received {"connection_id":133436,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":133436,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:28:05] local.INFO: TCP Data received {"connection_id":133436,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64fea5b0012d7c9c0005d7d5580000016214..."} 
[2026-07-15 14:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64fea5b0012d7c9c0005d7d5580000016214..."} 
[2026-07-15 14:28:05] local.INFO: Processing buffer {"connection_id":133436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64fea5b0012d7c9c0005d7d5580000016214..."} 
[2026-07-15 14:28:05] local.INFO: Packet analysis {"connection_id":133436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64fe"} 
[2026-07-15 14:28:05] local.INFO: Extracted packet for processing {"connection_id":133436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64fe"} 
[2026-07-15 14:28:05] local.INFO: GPS Element Parsed {"raw_longitude":763141120,"raw_latitude":98030936,"longitude_deg":76.314112,"latitude_deg":9.8030936,"altitude":0,"angle":354,"satellites":20,"speed":27,"hex_longitude":"2d7c9c00","hex_latitude":"05d7d558","is_valid_coordinates":true} 
[2026-07-15 14:28: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-07-15 14:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731089920001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106494667587059712,"note":"Value kept but may cause issues"} 
[2026-07-15 14:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980107313326233600,"note":"Value kept but may cause issues"} 
[2026-07-15 14:28:05] 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-07-15 14:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784105838000,"timestamp_ms":1784105838000,"timestamp_seconds":1784105838,"priority":1,"record_length":96,"hex_timestamp":"0000019f64fea5b0"} 
[2026-07-15 14:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-15 14:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163734281639,"note":"Value kept but may cause issues"} 
[2026-07-15 14:28:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 14:28:05] local.WARNING: Large IO value detected {"io_id":30,"raw_value":58077557095399479,"note":"Value kept but may cause issues"} 
[2026-07-15 14:28:05] local.WARNING: Large IO value detected {"io_id":86,"raw_value":2936012800,"note":"Value kept but may cause issues"} 
[2026-07-15 14:28:05] local.WARNING: Large IO value detected {"io_id":100,"raw_value":4260239361,"note":"Value kept but may cause issues"} 
[2026-07-15 14:28:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2803761358,"corrected_to":0} 
[2026-07-15 14:28:05] local.WARNING: Large IO value detected {"io_id":210,"raw_value":3221302652,"note":"Value kept but may cause issues"} 
[2026-07-15 14:28:05] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":2147866367,"corrected_to":0} 
[2026-07-15 14:28:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3604670464,"note":"Value kept but may cause issues"} 
[2026-07-15 14:28:05] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,31,85,24,241,157,16,87,159,64,45,192,143,17,10,66,30,36,128,106,9,1,240,7,227,86,100,215,4,113,205,53,210,204,56,21,239,52,2,122,5,55],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2803761358,"validated":0},{"io_id":204,"original":2147866367,"validated":0}]} 
[2026-07-15 14:28:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":389295837806592,"timestamp_seconds":389295837806.592,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 14:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":133436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":133436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":133436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731089920001,"66":13363,"195":206,"85":15104,"24":27,"16":106494667587059712,"45":8980107313326233600},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-07-15 14:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731089920001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:28:05] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-15 14:28:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106494667587059712,"km_value":106494667587059.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980107313326233600,"description":"Unknown IO ID 45"} 
[2026-07-15 14:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731089920001,"power":13363,"unknown_195":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8980107313326233600}} 
[2026-07-15 14:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":133436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491183,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:28:05] local.INFO: GPS data processed {"connection_id":133436,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:28:05] local.INFO: Acknowledgment sent {"connection_id":133436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:28:07] local.INFO: TCP Data received {"connection_id":133435,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:28:07] local.INFO: Processing buffer {"connection_id":133435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:28:07] local.INFO: IMEI packet received {"connection_id":133435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":133435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:28:08] local.INFO: TCP Data received {"connection_id":133435,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f64fe4fc0012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64fe4fc0012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:28:08] local.INFO: Processing buffer {"connection_id":133435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64fe4fc0012d80f08005a12e20000a01002f..."} 
[2026-07-15 14:28:08] local.INFO: Packet analysis {"connection_id":133435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64fe"} 
[2026-07-15 14:28:08] local.INFO: Extracted packet for processing {"connection_id":133435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64fe"} 
[2026-07-15 14:28:08] local.INFO: GPS Element Parsed {"raw_longitude":763424896,"raw_latitude":94449184,"longitude_deg":76.3424896,"latitude_deg":9.4449184,"altitude":10,"angle":256,"satellites":47,"speed":0,"hex_longitude":"2d80f080","hex_latitude":"05a12e20","is_valid_coordinates":true} 
[2026-07-15 14: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-07-15 14:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731083520001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155605170946048,"note":"Value kept but may cause issues"} 
[2026-07-15 14:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155677280776871936,"note":"Value kept but may cause issues"} 
[2026-07-15 14:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784105816000,"timestamp_ms":1784105816000,"timestamp_seconds":1784105816,"priority":1,"record_length":96,"hex_timestamp":"0000019f64fe4fc0"} 
[2026-07-15 14:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14: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":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-15 14:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1659,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14: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-07-15 14:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":133435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":133435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":133435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:28:08] 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-07-15 14:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731083520001,"66":27919,"7":206,"85":14336,"24":0,"16":347155605170946048,"45":-9155677280776871936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-07-15 14:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731083520001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:28:08] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-15 14:28:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155605170946048,"km_value":347155605170946.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155677280776871936,"description":"Unknown IO ID 45"} 
[2026-07-15 14:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731083520001,"power":27919,"unknown_7":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9155677280776871936}} 
[2026-07-15 14:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":133435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:28:08] local.INFO: GPS data processed {"connection_id":133435,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:28:08] local.INFO: Acknowledgment sent {"connection_id":133435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:28:11] local.INFO: TCP Data received {"connection_id":133435,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f64fea1c8012d80f08005a12e20000a01002e..."} 
[2026-07-15 14:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64fea1c8012d80f08005a12e20000a01002e..."} 
[2026-07-15 14:28:11] local.INFO: Processing buffer {"connection_id":133435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64fea1c8012d80f08005a12e20000a01002e..."} 
[2026-07-15 14:28:11] local.INFO: Packet analysis {"connection_id":133435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64fe"} 
[2026-07-15 14:28:11] local.INFO: Extracted packet for processing {"connection_id":133435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64fe"} 
[2026-07-15 14:28:11] local.INFO: GPS Element Parsed {"raw_longitude":763424896,"raw_latitude":94449184,"longitude_deg":76.3424896,"latitude_deg":9.4449184,"altitude":10,"angle":256,"satellites":46,"speed":0,"hex_longitude":"2d80f080","hex_latitude":"05a12e20","is_valid_coordinates":true} 
[2026-07-15 14:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731088896001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155605170946048,"note":"Value kept but may cause issues"} 
[2026-07-15 14:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155677280776871936,"note":"Value kept but may cause issues"} 
[2026-07-15 14:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784105837000,"timestamp_ms":1784105837000,"timestamp_seconds":1784105837,"priority":1,"record_length":96,"hex_timestamp":"0000019f64fea1c8"} 
[2026-07-15 14:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 14:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":133435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":133435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":133435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:28:11] 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-07-15 14:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731088896001,"66":28093,"7":206,"85":14336,"24":0,"16":347155605170946048,"45":-9155677280776871936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-07-15 14:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731088896001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:28:11] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-15 14:28:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155605170946048,"km_value":347155605170946.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155677280776871936,"description":"Unknown IO ID 45"} 
[2026-07-15 14:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731088896001,"power":28093,"unknown_7":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9155677280776871936}} 
[2026-07-15 14:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":133435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:28:11] local.INFO: GPS data processed {"connection_id":133435,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:28:11] local.INFO: Acknowledgment sent {"connection_id":133435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:28:37] local.INFO: TCP Data received {"connection_id":133436,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64fed0a8012d7c98c005d7fbc00000016515..."} 
[2026-07-15 14:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64fed0a8012d7c98c005d7fbc00000016515..."} 
[2026-07-15 14:28:37] local.INFO: Processing buffer {"connection_id":133436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64fed0a8012d7c98c005d7fbc00000016515..."} 
[2026-07-15 14:28:37] local.INFO: Packet analysis {"connection_id":133436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64fe"} 
[2026-07-15 14:28:37] local.INFO: Extracted packet for processing {"connection_id":133436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64fe"} 
[2026-07-15 14:28:37] local.INFO: GPS Element Parsed {"raw_longitude":763140288,"raw_latitude":98040768,"longitude_deg":76.3140288,"latitude_deg":9.8040768,"altitude":0,"angle":357,"satellites":21,"speed":41,"hex_longitude":"2d7c98c0","hex_latitude":"05d7fbc0","is_valid_coordinates":true} 
[2026-07-15 14:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731094528001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106495144328429568,"note":"Value kept but may cause issues"} 
[2026-07-15 14:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8979051782165846016,"note":"Value kept but may cause issues"} 
[2026-07-15 14:28:37] 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-07-15 14:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784105849000,"timestamp_ms":1784105849000,"timestamp_seconds":1784105849,"priority":1,"record_length":96,"hex_timestamp":"0000019f64fed0a8"} 
[2026-07-15 14:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-15 14:28:37] 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-07-15 14:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731094528001,"66":13276,"195":206,"85":15104,"24":41,"16":106495144328429568,"45":8979051782165846016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-07-15 14:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731094528001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:28:37] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-15 14:28:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106495144328429568,"km_value":106495144328429.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8979051782165846016,"description":"Unknown IO ID 45"} 
[2026-07-15 14:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731094528001,"power":13276,"unknown_195":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8979051782165846016}} 
[2026-07-15 14:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":133436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491186,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:28:37] local.INFO: GPS data processed {"connection_id":133436,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:28:37] local.INFO: Acknowledgment sent {"connection_id":133436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:28:43] local.INFO: TCP Data received {"connection_id":133435,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f64fef3d0012d80f08005a12e20000a01002e..."} 
[2026-07-15 14:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64fef3d0012d80f08005a12e20000a01002e..."} 
[2026-07-15 14:28:43] local.INFO: Processing buffer {"connection_id":133435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64fef3d0012d80f08005a12e20000a01002e..."} 
[2026-07-15 14:28:43] local.INFO: Packet analysis {"connection_id":133435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64fe"} 
[2026-07-15 14:28:43] local.INFO: Extracted packet for processing {"connection_id":133435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64fe"} 
[2026-07-15 14:28:43] local.INFO: GPS Element Parsed {"raw_longitude":763424896,"raw_latitude":94449184,"longitude_deg":76.3424896,"latitude_deg":9.4449184,"altitude":10,"angle":256,"satellites":46,"speed":0,"hex_longitude":"2d80f080","hex_latitude":"05a12e20","is_valid_coordinates":true} 
[2026-07-15 14:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:28:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731094272001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:28:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155605170946048,"note":"Value kept but may cause issues"} 
[2026-07-15 14:28:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155677280776871936,"note":"Value kept but may cause issues"} 
[2026-07-15 14:28:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:28:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784105858000,"timestamp_ms":1784105858000,"timestamp_seconds":1784105858,"priority":1,"record_length":96,"hex_timestamp":"0000019f64fef3d0"} 
[2026-07-15 14:28:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:28:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-07-15 14:28:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:28:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:28:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:28:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:28:43] local.INFO: Teltonika packet parsed successfully {"connection_id":133435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:28:43] local.INFO: Passing IMEI to GPS processor {"connection_id":133435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:28:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":133435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:28:43] 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-07-15 14:28:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:28:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:28:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731094272001,"66":27843,"82":206,"85":14336,"24":0,"16":347155605170946048,"45":-9155677280776871936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:28:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:28:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:28:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731094272001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:28:43] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:28:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:28:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155605170946048,"km_value":347155605170946.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:28:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155677280776871936,"description":"Unknown IO ID 45"} 
[2026-07-15 14:28:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731094272001,"power":27843,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9155677280776871936}} 
[2026-07-15 14:28:43] local.INFO: DEBUG: GPS processor result {"connection_id":133435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:28:43] local.INFO: GPS data processed {"connection_id":133435,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:28:43] local.INFO: Acknowledgment sent {"connection_id":133435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:29:01] local.INFO: TCP Data received {"connection_id":134794,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:29:01] local.INFO: Processing buffer {"connection_id":134794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:29:01] local.INFO: IMEI packet received {"connection_id":134794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":134794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:29:04] local.INFO: TCP Data received {"connection_id":132395,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132395,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:29:04] local.INFO: Processing buffer {"connection_id":132395,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:29:04] local.INFO: IMEI packet received {"connection_id":132395,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 14:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":132395,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:29:04] local.INFO: TCP Data received {"connection_id":132394,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132394,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:29:04] local.INFO: Processing buffer {"connection_id":132394,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:29:04] local.INFO: IMEI packet received {"connection_id":132394,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 14:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":132394,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:29:06] local.INFO: TCP Data received {"connection_id":134794,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:29:06] local.INFO: Processing buffer {"connection_id":134794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:29:06] local.INFO: IMEI packet received {"connection_id":134794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":134794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:29:07] local.INFO: TCP Data received {"connection_id":134794,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f64ff0b40012d80ef0005a12db80012004431..."} 
[2026-07-15 14:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64ff0b40012d80ef0005a12db80012004431..."} 
[2026-07-15 14:29:07] local.INFO: Processing buffer {"connection_id":134794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64ff0b40012d80ef0005a12db80012004431..."} 
[2026-07-15 14:29:07] local.INFO: Packet analysis {"connection_id":134794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64ff"} 
[2026-07-15 14:29:07] local.INFO: Extracted packet for processing {"connection_id":134794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64ff"} 
[2026-07-15 14:29:07] local.INFO: GPS Element Parsed {"raw_longitude":763424512,"raw_latitude":94449080,"longitude_deg":76.3424512,"latitude_deg":9.444908,"altitude":18,"angle":68,"satellites":49,"speed":2,"hex_longitude":"2d80ef00","hex_latitude":"05a12db8","is_valid_coordinates":true} 
[2026-07-15 14:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731099648001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347155622350815232,"note":"Value kept but may cause issues"} 
[2026-07-15 14:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155677280776871936,"note":"Value kept but may cause issues"} 
[2026-07-15 14:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784105864000,"timestamp_ms":1784105864000,"timestamp_seconds":1784105864,"priority":1,"record_length":96,"hex_timestamp":"0000019f64ff0b40"} 
[2026-07-15 14:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-15 14:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:29:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:29:07] 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-07-15 14:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731099648001,"66":28017,"82":206,"85":14336,"24":2,"16":347155622350815232,"45":-9155677280776871936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731099648001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:29:07] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:29:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347155622350815232,"km_value":347155622350815.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155677280776871936,"description":"Unknown IO ID 45"} 
[2026-07-15 14:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731099648001,"power":28017,"unknown_82":206,"unknown_85":14336,"ignition":2,"odometer":null,"unknown_45":-9155677280776871936}} 
[2026-07-15 14:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":134794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:29:07] local.INFO: GPS data processed {"connection_id":134794,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:29:07] local.INFO: Acknowledgment sent {"connection_id":134794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:29:07] local.INFO: TCP Data received {"connection_id":132395,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132395,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:29:07] local.INFO: Processing buffer {"connection_id":132395,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:29:07] local.INFO: IMEI packet received {"connection_id":132395,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":132395,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:29:08] local.INFO: TCP Data received {"connection_id":132395,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f64feefe8012d7c97c005d81f600000016516..."} 
[2026-07-15 14:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64feefe8012d7c97c005d81f600000016516..."} 
[2026-07-15 14:29:08] local.INFO: Processing buffer {"connection_id":132395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64feefe8012d7c97c005d81f600000016516..."} 
[2026-07-15 14:29:08] local.INFO: Packet analysis {"connection_id":132395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64fe"} 
[2026-07-15 14:29:08] local.INFO: Extracted packet for processing {"connection_id":132395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64fe"} 
[2026-07-15 14:29:08] local.INFO: GPS Element Parsed {"raw_longitude":763140032,"raw_latitude":98049888,"longitude_deg":76.3140032,"latitude_deg":9.8049888,"altitude":0,"angle":357,"satellites":22,"speed":50,"hex_longitude":"2d7c97c0","hex_latitude":"05d81f60","is_valid_coordinates":true} 
[2026-07-15 14:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731097344001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106495586710061056,"note":"Value kept but may cause issues"} 
[2026-07-15 14:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8978136988494053376,"note":"Value kept but may cause issues"} 
[2026-07-15 14:29:08] 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-07-15 14:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784105857000,"timestamp_ms":1784105857000,"timestamp_seconds":1784105857,"priority":1,"record_length":96,"hex_timestamp":"0000019f64feefe8"} 
[2026-07-15 14:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-15 14:29:08] 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-07-15 14:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731097344001,"66":13124,"195":206,"85":15104,"24":50,"16":106495586710061056,"45":8978136988494053376},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-07-15 14:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731097344001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:29:08] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-15 14:29:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106495586710061056,"km_value":106495586710061.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8978136988494053376,"description":"Unknown IO ID 45"} 
[2026-07-15 14:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731097344001,"power":13124,"unknown_195":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8978136988494053376}} 
[2026-07-15 14:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":132395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491189,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:29:09] local.INFO: GPS data processed {"connection_id":132395,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:29:09] local.INFO: Acknowledgment sent {"connection_id":132395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:29:34] local.INFO: TCP Data received {"connection_id":134795,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134795,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:29:34] local.INFO: Processing buffer {"connection_id":134795,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:29:34] local.INFO: IMEI packet received {"connection_id":134795,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 14:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":134795,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:29:40] local.INFO: TCP Data received {"connection_id":132395,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f65008240012d7c6e0005d9f9c00006015c10..."} 
[2026-07-15 14:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65008240012d7c6e0005d9f9c00006015c10..."} 
[2026-07-15 14:29:40] local.INFO: Processing buffer {"connection_id":132395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65008240012d7c6e0005d9f9c00006015c10..."} 
[2026-07-15 14:29:40] local.INFO: Packet analysis {"connection_id":132395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6500"} 
[2026-07-15 14:29:40] local.INFO: Extracted packet for processing {"connection_id":132395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6500"} 
[2026-07-15 14:29:40] local.INFO: GPS Element Parsed {"raw_longitude":763129344,"raw_latitude":98171328,"longitude_deg":76.3129344,"latitude_deg":9.8171328,"altitude":6,"angle":348,"satellites":16,"speed":50,"hex_longitude":"2d7c6e00","hex_latitude":"05d9f9c0","is_valid_coordinates":true} 
[2026-07-15 14:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731123968001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106501505174994944,"note":"Value kept but may cause issues"} 
[2026-07-15 14:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8967863151875284992,"note":"Value kept but may cause issues"} 
[2026-07-15 14:29: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-07-15 14:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784105960000,"timestamp_ms":1784105960000,"timestamp_seconds":1784105960,"priority":1,"record_length":96,"hex_timestamp":"0000019f65008240"} 
[2026-07-15 14:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-15 14:29:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:29:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731123968001,"66":13352,"245":206,"85":15104,"24":50,"16":106501505174994944,"45":8967863151875284992},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-15 14:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731123968001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:29:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106501505174994944,"km_value":106501505174994.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8967863151875284992,"description":"Unknown IO ID 45"} 
[2026-07-15 14:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731123968001,"power":13352,"geofence_id":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8967863151875284992}} 
[2026-07-15 14:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":132395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491190,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:29:40] local.INFO: GPS data processed {"connection_id":132395,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:29:40] local.INFO: Acknowledgment sent {"connection_id":132395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:29:41] local.INFO: TCP Data received {"connection_id":134794,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f64ffe9e8012d80eb0005a17d00000b015c2f..."} 
[2026-07-15 14:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f64ffe9e8012d80eb0005a17d00000b015c2f..."} 
[2026-07-15 14:29:41] local.INFO: Processing buffer {"connection_id":134794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f64ffe9e8012d80eb0005a17d00000b015c2f..."} 
[2026-07-15 14:29:41] local.INFO: Packet analysis {"connection_id":134794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f64ff"} 
[2026-07-15 14:29:41] local.INFO: Extracted packet for processing {"connection_id":134794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f64ff"} 
[2026-07-15 14:29:41] local.INFO: GPS Element Parsed {"raw_longitude":763423488,"raw_latitude":94469376,"longitude_deg":76.3423488,"latitude_deg":9.4469376,"altitude":11,"angle":348,"satellites":47,"speed":44,"hex_longitude":"2d80eb00","hex_latitude":"05a17d00","is_valid_coordinates":true} 
[2026-07-15 14:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731113472001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347156721862443008,"note":"Value kept but may cause issues"} 
[2026-07-15 14:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155325437053212672,"note":"Value kept but may cause issues"} 
[2026-07-15 14:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784105921000,"timestamp_ms":1784105921000,"timestamp_seconds":1784105921,"priority":1,"record_length":96,"hex_timestamp":"0000019f64ffe9e8"} 
[2026-07-15 14:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 14:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":134794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":134794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":134794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:29:41] 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-07-15 14:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731113472001,"66":27800,"82":206,"85":14336,"24":44,"16":347156721862443008,"45":-9155325437053212672},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731113472001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:29:41] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:29:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347156721862443008,"km_value":347156721862443.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155325437053212672,"description":"Unknown IO ID 45"} 
[2026-07-15 14:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731113472001,"power":27800,"unknown_82":206,"unknown_85":14336,"ignition":44,"odometer":null,"unknown_45":-9155325437053212672}} 
[2026-07-15 14:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":134794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:29:41] local.INFO: GPS data processed {"connection_id":134794,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:29:41] local.INFO: Acknowledgment sent {"connection_id":134794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:29:59] local.INFO: TCP Data received {"connection_id":132589,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132589,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:29:59] local.INFO: Processing buffer {"connection_id":132589,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:29:59] local.INFO: IMEI packet received {"connection_id":132589,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 14:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":132589,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:30:01] local.INFO: TCP Data received {"connection_id":132590,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:30:01] local.INFO: Processing buffer {"connection_id":132590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:30:01] local.INFO: IMEI packet received {"connection_id":132590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":132590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:30:02] local.INFO: TCP Data received {"connection_id":132589,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132589,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:30:02] local.INFO: Processing buffer {"connection_id":132589,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:30:02] local.INFO: IMEI packet received {"connection_id":132589,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":132589,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:30:03] local.INFO: TCP Data received {"connection_id":132589,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f65009d98012d7c64c005da1f300005015a12..."} 
[2026-07-15 14:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65009d98012d7c64c005da1f300005015a12..."} 
[2026-07-15 14:30:03] local.INFO: Processing buffer {"connection_id":132589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65009d98012d7c64c005da1f300005015a12..."} 
[2026-07-15 14:30:03] local.INFO: Packet analysis {"connection_id":132589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6500"} 
[2026-07-15 14:30:03] local.INFO: Extracted packet for processing {"connection_id":132589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6500"} 
[2026-07-15 14:30:03] local.INFO: GPS Element Parsed {"raw_longitude":763126976,"raw_latitude":98180912,"longitude_deg":76.3126976,"latitude_deg":9.8180912,"altitude":5,"angle":346,"satellites":18,"speed":53,"hex_longitude":"2d7c64c0","hex_latitude":"05da1f30","is_valid_coordinates":true} 
[2026-07-15 14:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731125760001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106501981916364800,"note":"Value kept but may cause issues"} 
[2026-07-15 14:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8966103933273096192,"note":"Value kept but may cause issues"} 
[2026-07-15 14:30:03] 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-07-15 14:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784105967000,"timestamp_ms":1784105967000,"timestamp_seconds":1784105967,"priority":1,"record_length":96,"hex_timestamp":"0000019f65009d98"} 
[2026-07-15 14:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-15 14:30:03] 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-07-15 14:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":132589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":132589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":132589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731125760001,"66":13341,"245":206,"85":15104,"24":53,"16":106501981916364800,"45":8966103933273096192},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-15 14:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731125760001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:30:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106501981916364800,"km_value":106501981916364.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8966103933273096192,"description":"Unknown IO ID 45"} 
[2026-07-15 14:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731125760001,"power":13341,"geofence_id":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8966103933273096192}} 
[2026-07-15 14:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":132589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491192,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:30:03] local.INFO: GPS data processed {"connection_id":132589,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:30:03] local.INFO: Acknowledgment sent {"connection_id":132589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:30:06] local.INFO: TCP Data received {"connection_id":132590,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:30:06] local.INFO: Processing buffer {"connection_id":132590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:30:06] local.INFO: IMEI packet received {"connection_id":132590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":132590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:30:07] local.INFO: TCP Data received {"connection_id":132590,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f65000928012d80e3c005a1a0b80009015c30..."} 
[2026-07-15 14:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65000928012d80e3c005a1a0b80009015c30..."} 
[2026-07-15 14:30:07] local.INFO: Processing buffer {"connection_id":132590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65000928012d80e3c005a1a0b80009015c30..."} 
[2026-07-15 14:30:07] local.INFO: Packet analysis {"connection_id":132590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6500"} 
[2026-07-15 14:30:07] local.INFO: Extracted packet for processing {"connection_id":132590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6500"} 
[2026-07-15 14:30:07] local.INFO: GPS Element Parsed {"raw_longitude":763421632,"raw_latitude":94478520,"longitude_deg":76.3421632,"latitude_deg":9.447852,"altitude":9,"angle":348,"satellites":48,"speed":49,"hex_longitude":"2d80e3c0","hex_latitude":"05a1a0b8","is_valid_coordinates":true} 
[2026-07-15 14:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731115776001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347157172834009088,"note":"Value kept but may cause issues"} 
[2026-07-15 14:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9157225393143611392,"note":"Value kept but may cause issues"} 
[2026-07-15 14:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784105929000,"timestamp_ms":1784105929000,"timestamp_seconds":1784105929,"priority":1,"record_length":96,"hex_timestamp":"0000019f65000928"} 
[2026-07-15 14:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 14:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:30:07] 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-07-15 14:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731115776001,"66":27930,"82":206,"85":14336,"24":49,"16":347157172834009088,"45":-9157225393143611392},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731115776001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:30:07] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:30:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347157172834009088,"km_value":347157172834009.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9157225393143611392,"description":"Unknown IO ID 45"} 
[2026-07-15 14:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731115776001,"power":27930,"unknown_82":206,"unknown_85":14336,"ignition":49,"odometer":null,"unknown_45":-9157225393143611392}} 
[2026-07-15 14:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":132590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:30:07] local.INFO: GPS data processed {"connection_id":132590,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:30:07] local.INFO: Acknowledgment sent {"connection_id":132590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:30:34] local.INFO: TCP Data received {"connection_id":132589,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f6500b508012d7c5c4005da41200004015913..."} 
[2026-07-15 14:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6500b508012d7c5c4005da41200004015913..."} 
[2026-07-15 14:30:34] local.INFO: Processing buffer {"connection_id":132589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6500b508012d7c5c4005da41200004015913..."} 
[2026-07-15 14:30:34] local.INFO: Packet analysis {"connection_id":132589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6500"} 
[2026-07-15 14:30:34] local.INFO: Extracted packet for processing {"connection_id":132589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6500"} 
[2026-07-15 14:30:34] local.INFO: GPS Element Parsed {"raw_longitude":763124800,"raw_latitude":98189600,"longitude_deg":76.31248,"latitude_deg":9.81896,"altitude":4,"angle":345,"satellites":19,"speed":60,"hex_longitude":"2d7c5c40","hex_latitude":"05da4120","is_valid_coordinates":true} 
[2026-07-15 14:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731127552001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106502415708061696,"note":"Value kept but may cause issues"} 
[2026-07-15 14:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8963500289740976128,"note":"Value kept but may cause issues"} 
[2026-07-15 14:30: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-07-15 14:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784105973000,"timestamp_ms":1784105973000,"timestamp_seconds":1784105973,"priority":1,"record_length":96,"hex_timestamp":"0000019f6500b508"} 
[2026-07-15 14:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-15 14:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":132589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":132589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":132589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731127552001,"66":13254,"245":206,"85":15104,"24":60,"16":106502415708061696,"45":8963500289740976128},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-15 14:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731127552001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:30:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106502415708061696,"km_value":106502415708061.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8963500289740976128,"description":"Unknown IO ID 45"} 
[2026-07-15 14:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731127552001,"power":13254,"geofence_id":206,"unknown_85":15104,"ignition":60,"odometer":null,"unknown_45":8963500289740976128}} 
[2026-07-15 14:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":132589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491194,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:30:34] local.INFO: GPS data processed {"connection_id":132589,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:30:34] local.INFO: Acknowledgment sent {"connection_id":132589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:30:38] local.INFO: TCP Data received {"connection_id":132590,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f65002c50012d80dc8005a1c3a80006015c30..."} 
[2026-07-15 14:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65002c50012d80dc8005a1c3a80006015c30..."} 
[2026-07-15 14:30:38] local.INFO: Processing buffer {"connection_id":132590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65002c50012d80dc8005a1c3a80006015c30..."} 
[2026-07-15 14:30:38] local.INFO: Packet analysis {"connection_id":132590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6500"} 
[2026-07-15 14:30:38] local.INFO: Extracted packet for processing {"connection_id":132590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6500"} 
[2026-07-15 14:30:38] local.INFO: GPS Element Parsed {"raw_longitude":763419776,"raw_latitude":94487464,"longitude_deg":76.3419776,"latitude_deg":9.4487464,"altitude":6,"angle":348,"satellites":48,"speed":30,"hex_longitude":"2d80dc80","hex_latitude":"05a1c3a8","is_valid_coordinates":true} 
[2026-07-15 14:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731117824001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347157615215640576,"note":"Value kept but may cause issues"} 
[2026-07-15 14:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9159266086722422784,"note":"Value kept but may cause issues"} 
[2026-07-15 14:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784105938000,"timestamp_ms":1784105938000,"timestamp_seconds":1784105938,"priority":1,"record_length":96,"hex_timestamp":"0000019f65002c50"} 
[2026-07-15 14:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-15 14:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:30:38] 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-07-15 14:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731117824001,"66":27865,"82":206,"85":14336,"24":30,"16":347157615215640576,"45":-9159266086722422784},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731117824001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:30:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:30:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347157615215640576,"km_value":347157615215640.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9159266086722422784,"description":"Unknown IO ID 45"} 
[2026-07-15 14:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731117824001,"power":27865,"unknown_82":206,"unknown_85":14336,"ignition":30,"odometer":null,"unknown_45":-9159266086722422784}} 
[2026-07-15 14:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":132590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:30:38] local.INFO: GPS data processed {"connection_id":132590,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:30:38] local.INFO: Acknowledgment sent {"connection_id":132590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:30:59] local.INFO: TCP Data received {"connection_id":133438,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133438,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:30:59] local.INFO: Processing buffer {"connection_id":133438,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:30:59] local.INFO: IMEI packet received {"connection_id":133438,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 14:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":133438,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:30:59] local.INFO: TCP Data received {"connection_id":133438,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133438,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:30:59] local.INFO: Processing buffer {"connection_id":133438,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:30:59] local.INFO: IMEI packet received {"connection_id":133438,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":133438,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:31:01] local.INFO: TCP Data received {"connection_id":132591,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:31:01] local.INFO: Processing buffer {"connection_id":132591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:31:01] local.INFO: IMEI packet received {"connection_id":132591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":132591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:31:04] local.INFO: TCP Data received {"connection_id":133438,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133438,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:31:04] local.INFO: Processing buffer {"connection_id":133438,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:31:04] local.INFO: IMEI packet received {"connection_id":133438,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":133438,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:31:05] local.INFO: TCP Data received {"connection_id":133438,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f6501e9a0012d7c058005db74b00000004913..."} 
[2026-07-15 14:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6501e9a0012d7c058005db74b00000004913..."} 
[2026-07-15 14:31:05] local.INFO: Processing buffer {"connection_id":133438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6501e9a0012d7c058005db74b00000004913..."} 
[2026-07-15 14:31:05] local.INFO: Packet analysis {"connection_id":133438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6501"} 
[2026-07-15 14:31:05] local.INFO: Extracted packet for processing {"connection_id":133438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6501"} 
[2026-07-15 14:31:05] local.INFO: GPS Element Parsed {"raw_longitude":763102592,"raw_latitude":98268336,"longitude_deg":76.3102592,"latitude_deg":9.8268336,"altitude":0,"angle":73,"satellites":19,"speed":5,"hex_longitude":"2d7c0580","hex_latitude":"05db74b0","is_valid_coordinates":true} 
[2026-07-15 14:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731148800001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106506435797450752,"note":"Value kept but may cause issues"} 
[2026-07-15 14:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8935986110789883904,"note":"Value kept but may cause issues"} 
[2026-07-15 14:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784106052000,"timestamp_ms":1784106052000,"timestamp_seconds":1784106052,"priority":1,"record_length":96,"hex_timestamp":"0000019f6501e9a0"} 
[2026-07-15 14:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-15 14:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3242591731874530304,"note":"Value kept but may cause issues"} 
[2026-07-15 14:31:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 14:31:05] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-15 14:31:05] local.WARNING: Large IO value detected {"io_id":101,"raw_value":71846492863478080,"note":"Value kept but may cause issues"} 
[2026-07-15 14:31:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797273294,"corrected_to":0} 
[2026-07-15 14:31:05] local.WARNING: Large IO value detected {"io_id":69,"raw_value":2415996284,"note":"Value kept but may cause issues"} 
[2026-07-15 14:31:05] local.WARNING: Large IO value detected {"io_id":35,"raw_value":3221609198,"note":"Value kept but may cause issues"} 
[2026-07-15 14:31:05] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-8070224416262271403,"note":"Value kept but may cause issues"} 
[2026-07-15 14:31:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2690848000778873582,"note":"Value kept but may cause issues"} 
[2026-07-15 14:31:05] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755579829813489,"note":"Value kept but may cause issues"} 
[2026-07-15 14:31:05] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,187,85,24,241,157,16,99,159,221,45,64,116,18,10,66,171,87,19,98,139,1,240,133,227,101,219,4,113,205,40,69,35,176,239,51,2,122,5,42,59],"length":535,"final_offset":665,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2797273294,"validated":0}]} 
[2026-07-15 14:31:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":45152991510528,"timestamp_seconds":45152991510.528,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 14:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":133438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":133438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":133438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731148800001,"66":12515,"187":206,"85":15104,"24":5,"16":106506435797450752,"45":8935986110789883904},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-15 14:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731148800001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:31:05] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-15 14:31:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106506435797450752,"km_value":106506435797450.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8935986110789883904,"description":"Unknown IO ID 45"} 
[2026-07-15 14:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731148800001,"power":12515,"unknown_187":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8935986110789883904}} 
[2026-07-15 14:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":133438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491196,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:31:05] local.INFO: GPS data processed {"connection_id":133438,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:31:05] local.INFO: Acknowledgment sent {"connection_id":133438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:31:06] local.INFO: TCP Data received {"connection_id":132591,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:31:06] local.INFO: Processing buffer {"connection_id":132591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:31:06] local.INFO: IMEI packet received {"connection_id":132591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":132591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:31:07] local.INFO: TCP Data received {"connection_id":132591,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f65005b30012d80d5c005a1e8b80006015c30..."} 
[2026-07-15 14:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65005b30012d80d5c005a1e8b80006015c30..."} 
[2026-07-15 14:31:07] local.INFO: Processing buffer {"connection_id":132591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65005b30012d80d5c005a1e8b80006015c30..."} 
[2026-07-15 14:31:07] local.INFO: Packet analysis {"connection_id":132591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6500"} 
[2026-07-15 14:31:07] local.INFO: Extracted packet for processing {"connection_id":132591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6500"} 
[2026-07-15 14:31:07] local.INFO: GPS Element Parsed {"raw_longitude":763418048,"raw_latitude":94496952,"longitude_deg":76.3418048,"latitude_deg":9.4496952,"altitude":6,"angle":348,"satellites":48,"speed":35,"hex_longitude":"2d80d5c0","hex_latitude":"05a1e8b8","is_valid_coordinates":true} 
[2026-07-15 14:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731120128001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347158083367075840,"note":"Value kept but may cause issues"} 
[2026-07-15 14:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9161306780301285376,"note":"Value kept but may cause issues"} 
[2026-07-15 14:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784105950000,"timestamp_ms":1784105950000,"timestamp_seconds":1784105950,"priority":1,"record_length":96,"hex_timestamp":"0000019f65005b30"} 
[2026-07-15 14:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-15 14:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:31:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:31:07] 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-07-15 14:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731120128001,"66":27865,"81":206,"85":14336,"24":35,"16":347158083367075840,"45":-9161306780301285376},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-15 14:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731120128001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:31:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-15 14:31:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347158083367075840,"km_value":347158083367075.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9161306780301285376,"description":"Unknown IO ID 45"} 
[2026-07-15 14:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731120128001,"power":27865,"unknown_81":206,"unknown_85":14336,"ignition":35,"odometer":null,"unknown_45":-9161306780301285376}} 
[2026-07-15 14:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":132591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:31:07] local.INFO: GPS data processed {"connection_id":132591,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:31:07] local.INFO: Acknowledgment sent {"connection_id":132591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:31:36] local.INFO: TCP Data received {"connection_id":133438,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f6501ed88012d7c070005db73580000007013..."} 
[2026-07-15 14:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6501ed88012d7c070005db73580000007013..."} 
[2026-07-15 14:31:36] local.INFO: Processing buffer {"connection_id":133438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6501ed88012d7c070005db73580000007013..."} 
[2026-07-15 14:31:36] local.INFO: Packet analysis {"connection_id":133438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6501"} 
[2026-07-15 14:31:36] local.INFO: Extracted packet for processing {"connection_id":133438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6501"} 
[2026-07-15 14:31:36] local.INFO: GPS Element Parsed {"raw_longitude":763102976,"raw_latitude":98267992,"longitude_deg":76.3102976,"latitude_deg":9.8267992,"altitude":0,"angle":112,"satellites":19,"speed":5,"hex_longitude":"2d7c0700","hex_latitude":"05db7358","is_valid_coordinates":true} 
[2026-07-15 14: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-07-15 14:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731149312001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106506461567254528,"note":"Value kept but may cause issues"} 
[2026-07-15 14:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936689798231666688,"note":"Value kept but may cause issues"} 
[2026-07-15 14:31:36] 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-07-15 14:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784106053000,"timestamp_ms":1784106053000,"timestamp_seconds":1784106053,"priority":1,"record_length":96,"hex_timestamp":"0000019f6501ed88"} 
[2026-07-15 14:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-07-15 14:31:36] 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-07-15 14: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-07-15 14:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":133438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":133438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":133438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731149312001,"66":12515,"187":206,"85":15104,"24":5,"16":106506461567254528,"45":8936689798231666688},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-15 14:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731149312001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:31:36] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-15 14:31:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106506461567254528,"km_value":106506461567254.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936689798231666688,"description":"Unknown IO ID 45"} 
[2026-07-15 14:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731149312001,"power":12515,"unknown_187":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8936689798231666688}} 
[2026-07-15 14:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":133438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491198,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:31:36] local.INFO: GPS data processed {"connection_id":133438,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:31:36] local.INFO: Acknowledgment sent {"connection_id":133438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:31:38] local.INFO: TCP Data received {"connection_id":132591,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f6501b2f0012d80ba0005a2b8e00005009e2f..."} 
[2026-07-15 14:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6501b2f0012d80ba0005a2b8e00005009e2f..."} 
[2026-07-15 14:31:38] local.INFO: Processing buffer {"connection_id":132591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6501b2f0012d80ba0005a2b8e00005009e2f..."} 
[2026-07-15 14:31:38] local.INFO: Packet analysis {"connection_id":132591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6501"} 
[2026-07-15 14:31:38] local.INFO: Extracted packet for processing {"connection_id":132591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6501"} 
[2026-07-15 14:31:38] local.INFO: GPS Element Parsed {"raw_longitude":763410944,"raw_latitude":94550240,"longitude_deg":76.3410944,"latitude_deg":9.455024,"altitude":5,"angle":158,"satellites":47,"speed":10,"hex_longitude":"2d80ba00","hex_latitude":"05a2b8e0","is_valid_coordinates":true} 
[2026-07-15 14: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-07-15 14:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731145472001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347160806376341504,"note":"Value kept but may cause issues"} 
[2026-07-15 14:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9171158404470022144,"note":"Value kept but may cause issues"} 
[2026-07-15 14:31:38] 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-07-15 14:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784106038000,"timestamp_ms":1784106038000,"timestamp_seconds":1784106038,"priority":1,"record_length":96,"hex_timestamp":"0000019f6501b2f0"} 
[2026-07-15 14:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-15 14:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14: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-07-15 14:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:31:38] 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-07-15 14:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731145472001,"66":27995,"81":206,"85":14336,"24":10,"16":347160806376341504,"45":-9171158404470022144},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-15 14:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731145472001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:31:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-15 14:31:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347160806376341504,"km_value":347160806376341.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9171158404470022144,"description":"Unknown IO ID 45"} 
[2026-07-15 14:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731145472001,"power":27995,"unknown_81":206,"unknown_85":14336,"ignition":10,"odometer":null,"unknown_45":-9171158404470022144}} 
[2026-07-15 14:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":132591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:31:38] local.INFO: GPS data processed {"connection_id":132591,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:31:38] local.INFO: Acknowledgment sent {"connection_id":132591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:32:00] local.INFO: TCP Data received {"connection_id":132396,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132396,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:32:00] local.INFO: Processing buffer {"connection_id":132396,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:32:00] local.INFO: IMEI packet received {"connection_id":132396,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 14:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":132396,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:32:00] local.INFO: TCP Data received {"connection_id":132396,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132396,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:32:00] local.INFO: Processing buffer {"connection_id":132396,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:32:00] local.INFO: IMEI packet received {"connection_id":132396,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":132396,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:32:01] local.INFO: TCP Data received {"connection_id":132396,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132396,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:32:01] local.INFO: Processing buffer {"connection_id":132396,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:32:01] local.INFO: IMEI packet received {"connection_id":132396,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":132396,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:32:01] local.INFO: TCP Data received {"connection_id":133439,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:32:01] local.INFO: Processing buffer {"connection_id":133439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:32:01] local.INFO: IMEI packet received {"connection_id":133439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":133439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:32:04] local.INFO: TCP Data received {"connection_id":132396,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132396,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:32:04] local.INFO: Processing buffer {"connection_id":132396,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:32:04] local.INFO: IMEI packet received {"connection_id":132396,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":132396,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:32:05] local.INFO: TCP Data received {"connection_id":132396,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f65029580012d7c230005db1160000000521b..."} 
[2026-07-15 14:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65029580012d7c230005db1160000000521b..."} 
[2026-07-15 14:32:05] local.INFO: Processing buffer {"connection_id":132396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65029580012d7c230005db1160000000521b..."} 
[2026-07-15 14:32:05] local.INFO: Packet analysis {"connection_id":132396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6502"} 
[2026-07-15 14:32:05] local.INFO: Extracted packet for processing {"connection_id":132396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6502"} 
[2026-07-15 14:32:05] local.INFO: GPS Element Parsed {"raw_longitude":763110144,"raw_latitude":98242912,"longitude_deg":76.3110144,"latitude_deg":9.8242912,"altitude":0,"angle":82,"satellites":27,"speed":6,"hex_longitude":"2d7c2300","hex_latitude":"05db1160","is_valid_coordinates":true} 
[2026-07-15 14:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731160320001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106507754352410624,"note":"Value kept but may cause issues"} 
[2026-07-15 14:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944852572549769216,"note":"Value kept but may cause issues"} 
[2026-07-15 14:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784106096000,"timestamp_ms":1784106096000,"timestamp_seconds":1784106096,"priority":1,"record_length":96,"hex_timestamp":"0000019f65029580"} 
[2026-07-15 14:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-15 14:32:05] 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-07-15 14:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132396,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132396,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731160320001,"66":13406,"185":206,"85":15104,"24":6,"16":106507754352410624,"45":8944852572549769216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-15 14:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731160320001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:32:05] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-15 14:32:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106507754352410624,"km_value":106507754352410.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944852572549769216,"description":"Unknown IO ID 45"} 
[2026-07-15 14:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731160320001,"power":13406,"unknown_185":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8944852572549769216}} 
[2026-07-15 14:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":132396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491200,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:32:05] local.INFO: GPS data processed {"connection_id":132396,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:32:05] local.INFO: Acknowledgment sent {"connection_id":132396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:32:06] local.INFO: TCP Data received {"connection_id":133439,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:32:06] local.INFO: Processing buffer {"connection_id":133439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:32:06] local.INFO: IMEI packet received {"connection_id":133439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":133439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:32:07] local.INFO: TCP Data received {"connection_id":133439,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f6501b6d8012d80ba4005a2b7f8000500ab2f..."} 
[2026-07-15 14:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6501b6d8012d80ba4005a2b7f8000500ab2f..."} 
[2026-07-15 14:32:07] local.INFO: Processing buffer {"connection_id":133439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6501b6d8012d80ba4005a2b7f8000500ab2f..."} 
[2026-07-15 14:32:07] local.INFO: Packet analysis {"connection_id":133439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6501"} 
[2026-07-15 14:32:07] local.INFO: Extracted packet for processing {"connection_id":133439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6501"} 
[2026-07-15 14:32:07] local.INFO: GPS Element Parsed {"raw_longitude":763411008,"raw_latitude":94550008,"longitude_deg":76.3411008,"latitude_deg":9.4550008,"altitude":5,"angle":171,"satellites":47,"speed":8,"hex_longitude":"2d80ba40","hex_latitude":"05a2b7f8","is_valid_coordinates":true} 
[2026-07-15 14: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-07-15 14:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731145728001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347160819261243392,"note":"Value kept but may cause issues"} 
[2026-07-15 14:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9171017666981732352,"note":"Value kept but may cause issues"} 
[2026-07-15 14:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784106039000,"timestamp_ms":1784106039000,"timestamp_seconds":1784106039,"priority":1,"record_length":96,"hex_timestamp":"0000019f6501b6d8"} 
[2026-07-15 14:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-15 14:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14: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-07-15 14:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:32:07] 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-07-15 14:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731145728001,"66":27995,"81":206,"85":14336,"24":8,"16":347160819261243392,"45":-9171017666981732352},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-15 14:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731145728001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:32:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-15 14:32:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347160819261243392,"km_value":347160819261243.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9171017666981732352,"description":"Unknown IO ID 45"} 
[2026-07-15 14:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731145728001,"power":27995,"unknown_81":206,"unknown_85":14336,"ignition":8,"odometer":null,"unknown_45":-9171017666981732352}} 
[2026-07-15 14:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":133439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:32:07] local.INFO: GPS data processed {"connection_id":133439,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:32:07] local.INFO: Acknowledgment sent {"connection_id":133439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:32:36] local.INFO: TCP Data received {"connection_id":132396,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f65034930012d7c69c005db39c00000002823..."} 
[2026-07-15 14:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65034930012d7c69c005db39c00000002823..."} 
[2026-07-15 14:32:36] local.INFO: Processing buffer {"connection_id":132396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65034930012d7c69c005db39c00000002823..."} 
[2026-07-15 14:32:36] local.INFO: Packet analysis {"connection_id":132396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6503"} 
[2026-07-15 14:32:36] local.INFO: Extracted packet for processing {"connection_id":132396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6503"} 
[2026-07-15 14:32:36] local.INFO: GPS Element Parsed {"raw_longitude":763128256,"raw_latitude":98253248,"longitude_deg":76.3128256,"latitude_deg":9.8253248,"altitude":0,"angle":40,"satellites":35,"speed":15,"hex_longitude":"2d7c69c0","hex_latitude":"05db39c0","is_valid_coordinates":true} 
[2026-07-15 14:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731171328001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106508845274103808,"note":"Value kept but may cause issues"} 
[2026-07-15 14:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8964203977200967680,"note":"Value kept but may cause issues"} 
[2026-07-15 14:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784106142000,"timestamp_ms":1784106142000,"timestamp_seconds":1784106142,"priority":1,"record_length":96,"hex_timestamp":"0000019f65034930"} 
[2026-07-15 14:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-15 14:32:36] 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-07-15 14:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132396,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132396,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731171328001,"66":13319,"186":206,"85":15104,"24":15,"16":106508845274103808,"45":8964203977200967680},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-07-15 14:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731171328001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:32:36] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-15 14:32:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106508845274103808,"km_value":106508845274103.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8964203977200967680,"description":"Unknown IO ID 45"} 
[2026-07-15 14:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731171328001,"power":13319,"unknown_186":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8964203977200967680}} 
[2026-07-15 14:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":132396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491202,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:32:36] local.INFO: GPS data processed {"connection_id":132396,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:32:36] local.INFO: Acknowledgment sent {"connection_id":132396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:32:38] local.INFO: TCP Data received {"connection_id":133439,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f6501e1d0012d80bb8005a2b1c0000600a02f..."} 
[2026-07-15 14:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6501e1d0012d80bb8005a2b1c0000600a02f..."} 
[2026-07-15 14:32:38] local.INFO: Processing buffer {"connection_id":133439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6501e1d0012d80bb8005a2b1c0000600a02f..."} 
[2026-07-15 14:32:38] local.INFO: Packet analysis {"connection_id":133439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6501"} 
[2026-07-15 14:32:38] local.INFO: Extracted packet for processing {"connection_id":133439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6501"} 
[2026-07-15 14:32:38] local.INFO: GPS Element Parsed {"raw_longitude":763411328,"raw_latitude":94548416,"longitude_deg":76.3411328,"latitude_deg":9.4548416,"altitude":6,"angle":160,"satellites":47,"speed":5,"hex_longitude":"2d80bb80","hex_latitude":"05a2b1c0","is_valid_coordinates":true} 
[2026-07-15 14: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-07-15 14:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731145984001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347160896570654720,"note":"Value kept but may cause issues"} 
[2026-07-15 14:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9170947298237614080,"note":"Value kept but may cause issues"} 
[2026-07-15 14:32:38] 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-07-15 14:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784106050000,"timestamp_ms":1784106050000,"timestamp_seconds":1784106050,"priority":1,"record_length":96,"hex_timestamp":"0000019f6501e1d0"} 
[2026-07-15 14:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-15 14:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14: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-07-15 14:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:32:38] 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-07-15 14:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731145984001,"66":27908,"81":206,"85":14336,"24":5,"16":347160896570654720,"45":-9170947298237614080},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-15 14:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731145984001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:32:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-15 14:32:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347160896570654720,"km_value":347160896570654.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9170947298237614080,"description":"Unknown IO ID 45"} 
[2026-07-15 14:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731145984001,"power":27908,"unknown_81":206,"unknown_85":14336,"ignition":5,"odometer":null,"unknown_45":-9170947298237614080}} 
[2026-07-15 14:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":133439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:32:38] local.INFO: GPS data processed {"connection_id":133439,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:32:38] local.INFO: Acknowledgment sent {"connection_id":133439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:32:58] local.INFO: TCP Data received {"connection_id":132593,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132593,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:32:58] local.INFO: Processing buffer {"connection_id":132593,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:32:58] local.INFO: IMEI packet received {"connection_id":132593,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 14:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":132593,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:32:59] local.INFO: TCP Data received {"connection_id":132593,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132593,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:32:59] local.INFO: Processing buffer {"connection_id":132593,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:32:59] local.INFO: IMEI packet received {"connection_id":132593,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":132593,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:32:59] local.INFO: TCP Data received {"connection_id":132593,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132593,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:32:59] local.INFO: Processing buffer {"connection_id":132593,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:32:59] local.INFO: IMEI packet received {"connection_id":132593,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":132593,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:33:00] local.INFO: TCP Data received {"connection_id":132593,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132593,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:33:00] local.INFO: Processing buffer {"connection_id":132593,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:33:00] local.INFO: IMEI packet received {"connection_id":132593,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":132593,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:33:00] local.INFO: TCP Data received {"connection_id":132397,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:33:00] local.INFO: Processing buffer {"connection_id":132397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:33:00] local.INFO: IMEI packet received {"connection_id":132397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":132397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:33:06] local.INFO: TCP Data received {"connection_id":132397,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:33:06] local.INFO: Processing buffer {"connection_id":132397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:33:06] local.INFO: IMEI packet received {"connection_id":132397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":132397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:33:07] local.INFO: TCP Data received {"connection_id":132397,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f65022050012d80c2c005a28d58000600aa2f..."} 
[2026-07-15 14:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65022050012d80c2c005a28d58000600aa2f..."} 
[2026-07-15 14:33:07] local.INFO: Processing buffer {"connection_id":132397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65022050012d80c2c005a28d58000600aa2f..."} 
[2026-07-15 14:33:07] local.INFO: Packet analysis {"connection_id":132397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6502"} 
[2026-07-15 14:33:07] local.INFO: Extracted packet for processing {"connection_id":132397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6502"} 
[2026-07-15 14:33:07] local.INFO: GPS Element Parsed {"raw_longitude":763413184,"raw_latitude":94539096,"longitude_deg":76.3413184,"latitude_deg":9.4539096,"altitude":6,"angle":170,"satellites":47,"speed":35,"hex_longitude":"2d80c2c0","hex_latitude":"05a28d58","is_valid_coordinates":true} 
[2026-07-15 14:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731148800001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347161360427122688,"note":"Value kept but may cause issues"} 
[2026-07-15 14:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9170595454517133312,"note":"Value kept but may cause issues"} 
[2026-07-15 14:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784106066000,"timestamp_ms":1784106066000,"timestamp_seconds":1784106066,"priority":1,"record_length":96,"hex_timestamp":"0000019f65022050"} 
[2026-07-15 14:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 14:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:33:07] 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-07-15 14:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731148800001,"66":27930,"81":206,"85":14336,"24":35,"16":347161360427122688,"45":-9170595454517133312},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-15 14:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731148800001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:33:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-15 14:33:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347161360427122688,"km_value":347161360427122.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9170595454517133312,"description":"Unknown IO ID 45"} 
[2026-07-15 14:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731148800001,"power":27930,"unknown_81":206,"unknown_85":14336,"ignition":35,"odometer":null,"unknown_45":-9170595454517133312}} 
[2026-07-15 14:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":132397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:33:07] local.INFO: GPS data processed {"connection_id":132397,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:33:07] local.INFO: Acknowledgment sent {"connection_id":132397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:34:06] local.INFO: TCP Data received {"connection_id":132595,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:34:06] local.INFO: Processing buffer {"connection_id":132595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:34:06] local.INFO: IMEI packet received {"connection_id":132595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":132595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:34:07] local.INFO: TCP Data received {"connection_id":132595,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:34:07] local.INFO: Processing buffer {"connection_id":132595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:34:07] local.INFO: IMEI packet received {"connection_id":132595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":132595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:34:11] local.INFO: TCP Data received {"connection_id":132595,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:34:11] local.INFO: Processing buffer {"connection_id":132595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:34:11] local.INFO: IMEI packet received {"connection_id":132595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":132595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:34:21] local.INFO: TCP Data received {"connection_id":132595,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f6503e958012d810ec005a10468000800a732..."} 
[2026-07-15 14:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6503e958012d810ec005a10468000800a732..."} 
[2026-07-15 14:34:21] local.INFO: Processing buffer {"connection_id":132595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6503e958012d810ec005a10468000800a732..."} 
[2026-07-15 14:34:21] local.INFO: Packet analysis {"connection_id":132595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6503"} 
[2026-07-15 14:34:21] local.INFO: Extracted packet for processing {"connection_id":132595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6503"} 
[2026-07-15 14:34:21] local.INFO: GPS Element Parsed {"raw_longitude":763432640,"raw_latitude":94438504,"longitude_deg":76.343264,"latitude_deg":9.4438504,"altitude":8,"angle":167,"satellites":50,"speed":50,"hex_longitude":"2d810ec0","hex_latitude":"05a10468","is_valid_coordinates":true} 
[2026-07-15 14:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731181056001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347166325409316864,"note":"Value kept but may cause issues"} 
[2026-07-15 14:34:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9149203356313010176,"note":"Value kept but may cause issues"} 
[2026-07-15 14:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1784106183000,"timestamp_ms":1784106183000,"timestamp_seconds":1784106183,"priority":1,"record_length":96,"hex_timestamp":"0000019f6503e958"} 
[2026-07-15 14:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:34:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 14:34:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:34:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":132595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":132595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":132595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:34: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-07-15 14:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731181056001,"66":27865,"177":206,"85":14336,"24":50,"16":347166325409316864,"45":-9149203356313010176},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-07-15 14:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731181056001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:34:21] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-15 14:34:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347166325409316864,"km_value":347166325409316.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:34:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9149203356313010176,"description":"Unknown IO ID 45"} 
[2026-07-15 14:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731181056001,"power":27865,"unknown_177":206,"unknown_85":14336,"ignition":50,"odometer":null,"unknown_45":-9149203356313010176}} 
[2026-07-15 14:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":132595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:34:22] local.INFO: GPS data processed {"connection_id":132595,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:34:22] local.INFO: Acknowledgment sent {"connection_id":132595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:35:09] local.INFO: TCP Data received {"connection_id":132398,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132398,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:35:09] local.INFO: Processing buffer {"connection_id":132398,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:35:09] local.INFO: IMEI packet received {"connection_id":132398,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 14:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":132398,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:35:10] local.INFO: TCP Data received {"connection_id":132596,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:35:11] local.INFO: Processing buffer {"connection_id":132596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:35:11] local.INFO: IMEI packet received {"connection_id":132596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":132596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:35:16] local.INFO: TCP Data received {"connection_id":132596,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:35:16] local.INFO: Processing buffer {"connection_id":132596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:35:16] local.INFO: IMEI packet received {"connection_id":132596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":132596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:35:17] local.INFO: TCP Data received {"connection_id":132596,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f65049150012d81214005a083a80009014232..."} 
[2026-07-15 14:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65049150012d81214005a083a80009014232..."} 
[2026-07-15 14:35:17] local.INFO: Processing buffer {"connection_id":132596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65049150012d81214005a083a80009014232..."} 
[2026-07-15 14:35:17] local.INFO: Packet analysis {"connection_id":132596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6504"} 
[2026-07-15 14:35:17] local.INFO: Extracted packet for processing {"connection_id":132596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6504"} 
[2026-07-15 14:35:17] local.INFO: GPS Element Parsed {"raw_longitude":763437376,"raw_latitude":94405544,"longitude_deg":76.3437376,"latitude_deg":9.4405544,"altitude":9,"angle":322,"satellites":50,"speed":8,"hex_longitude":"2d812140","hex_latitude":"05a083a8","is_valid_coordinates":true} 
[2026-07-15 14: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-07-15 14:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731193600001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347168064871071744,"note":"Value kept but may cause issues"} 
[2026-07-15 14:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9141814638185093120,"note":"Value kept but may cause issues"} 
[2026-07-15 14:35:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784106226000,"timestamp_ms":1784106226000,"timestamp_seconds":1784106226,"priority":1,"record_length":96,"hex_timestamp":"0000019f65049150"} 
[2026-07-15 14:35:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:35:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-15 14:35:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14: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-07-15 14:35:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:35:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731193600001,"66":27767,"177":206,"85":14336,"24":8,"16":347168064871071744,"45":-9141814638185093120},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-07-15 14:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731193600001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:35:17] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-15 14:35:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347168064871071744,"km_value":347168064871071.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9141814638185093120,"description":"Unknown IO ID 45"} 
[2026-07-15 14:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731193600001,"power":27767,"unknown_177":206,"unknown_85":14336,"ignition":8,"odometer":null,"unknown_45":-9141814638185093120}} 
[2026-07-15 14:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":132596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:35:17] local.INFO: GPS data processed {"connection_id":132596,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:35:17] local.INFO: Acknowledgment sent {"connection_id":132596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:35:19] local.INFO: TCP Data received {"connection_id":132596,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f65049538012d8120c005a084580009015031..."} 
[2026-07-15 14:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65049538012d8120c005a084580009015031..."} 
[2026-07-15 14:35:19] local.INFO: Processing buffer {"connection_id":132596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65049538012d8120c005a084580009015031..."} 
[2026-07-15 14:35:19] local.INFO: Packet analysis {"connection_id":132596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6504"} 
[2026-07-15 14:35:19] local.INFO: Extracted packet for processing {"connection_id":132596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6504"} 
[2026-07-15 14:35:19] local.INFO: GPS Element Parsed {"raw_longitude":763437248,"raw_latitude":94405720,"longitude_deg":76.3437248,"latitude_deg":9.440572,"altitude":9,"angle":336,"satellites":49,"speed":6,"hex_longitude":"2d8120c0","hex_latitude":"05a08458","is_valid_coordinates":true} 
[2026-07-15 14: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-07-15 14:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731193856001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347168073461006336,"note":"Value kept but may cause issues"} 
[2026-07-15 14:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9141955375673399296,"note":"Value kept but may cause issues"} 
[2026-07-15 14:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784106227000,"timestamp_ms":1784106227000,"timestamp_seconds":1784106227,"priority":1,"record_length":96,"hex_timestamp":"0000019f65049538"} 
[2026-07-15 14:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:35:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 14:35:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14: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-07-15 14:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":132596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":132596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":132596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:35: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-07-15 14:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731193856001,"66":27767,"177":206,"85":14336,"24":6,"16":347168073461006336,"45":-9141955375673399296},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-07-15 14:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731193856001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:35:19] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-15 14:35:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347168073461006336,"km_value":347168073461006.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9141955375673399296,"description":"Unknown IO ID 45"} 
[2026-07-15 14:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731193856001,"power":27767,"unknown_177":206,"unknown_85":14336,"ignition":6,"odometer":null,"unknown_45":-9141955375673399296}} 
[2026-07-15 14:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":132596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:35:19] local.INFO: GPS data processed {"connection_id":132596,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:35:19] local.INFO: Acknowledgment sent {"connection_id":132596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:35:39] local.INFO: TCP Data received {"connection_id":133442,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133442,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:35:39] local.INFO: Processing buffer {"connection_id":133442,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:35:39] local.INFO: IMEI packet received {"connection_id":133442,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 14:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":133442,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:36:01] local.INFO: TCP Data received {"connection_id":134797,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:36:01] local.INFO: Processing buffer {"connection_id":134797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:36:01] local.INFO: IMEI packet received {"connection_id":134797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":134797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:36:06] local.INFO: TCP Data received {"connection_id":134797,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:36:06] local.INFO: Processing buffer {"connection_id":134797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:36:06] local.INFO: IMEI packet received {"connection_id":134797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":134797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:36:07] local.INFO: TCP Data received {"connection_id":134797,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f6504e740012d811ec005a088400009015031..."} 
[2026-07-15 14:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6504e740012d811ec005a088400009015031..."} 
[2026-07-15 14:36:07] local.INFO: Processing buffer {"connection_id":134797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6504e740012d811ec005a088400009015031..."} 
[2026-07-15 14:36:07] local.INFO: Packet analysis {"connection_id":134797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6504"} 
[2026-07-15 14:36:07] local.INFO: Extracted packet for processing {"connection_id":134797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6504"} 
[2026-07-15 14:36:07] local.INFO: GPS Element Parsed {"raw_longitude":763436736,"raw_latitude":94406720,"longitude_deg":76.3436736,"latitude_deg":9.440672,"altitude":9,"angle":336,"satellites":49,"speed":3,"hex_longitude":"2d811ec0","hex_latitude":"05a08840","is_valid_coordinates":true} 
[2026-07-15 14:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731194112001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347168133590548480,"note":"Value kept but may cause issues"} 
[2026-07-15 14:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9142096113161709568,"note":"Value kept but may cause issues"} 
[2026-07-15 14:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784106248000,"timestamp_ms":1784106248000,"timestamp_seconds":1784106248,"priority":1,"record_length":96,"hex_timestamp":"0000019f6504e740"} 
[2026-07-15 14:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 14:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:36:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731194112001,"66":28050,"185":206,"85":14336,"24":3,"16":347168133590548480,"45":-9142096113161709568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-15 14:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731194112001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:36:07] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-15 14:36:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347168133590548480,"km_value":347168133590548.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9142096113161709568,"description":"Unknown IO ID 45"} 
[2026-07-15 14:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731194112001,"power":28050,"unknown_185":206,"unknown_85":14336,"ignition":3,"odometer":null,"unknown_45":-9142096113161709568}} 
[2026-07-15 14:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":134797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:36:07] local.INFO: GPS data processed {"connection_id":134797,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:36:07] local.INFO: Acknowledgment sent {"connection_id":134797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:36:38] local.INFO: TCP Data received {"connection_id":134797,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f6504eb28012d811e4005a088a8000901352f..."} 
[2026-07-15 14:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6504eb28012d811e4005a088a8000901352f..."} 
[2026-07-15 14:36:38] local.INFO: Processing buffer {"connection_id":134797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6504eb28012d811e4005a088a8000901352f..."} 
[2026-07-15 14:36:38] local.INFO: Packet analysis {"connection_id":134797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6504"} 
[2026-07-15 14:36:38] local.INFO: Extracted packet for processing {"connection_id":134797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6504"} 
[2026-07-15 14:36:38] local.INFO: GPS Element Parsed {"raw_longitude":763436608,"raw_latitude":94406824,"longitude_deg":76.3436608,"latitude_deg":9.4406824,"altitude":9,"angle":309,"satellites":47,"speed":8,"hex_longitude":"2d811e40","hex_latitude":"05a088a8","is_valid_coordinates":true} 
[2026-07-15 14:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731199488001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347168142180483072,"note":"Value kept but may cause issues"} 
[2026-07-15 14:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9142659063114874880,"note":"Value kept but may cause issues"} 
[2026-07-15 14:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784106249000,"timestamp_ms":1784106249000,"timestamp_seconds":1784106249,"priority":1,"record_length":96,"hex_timestamp":"0000019f6504eb28"} 
[2026-07-15 14:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-15 14:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:36:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731199488001,"66":28050,"185":206,"85":14336,"24":8,"16":347168142180483072,"45":-9142659063114874880},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-15 14:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731199488001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:36:38] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-15 14:36:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347168142180483072,"km_value":347168142180483.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9142659063114874880,"description":"Unknown IO ID 45"} 
[2026-07-15 14:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731199488001,"power":28050,"unknown_185":206,"unknown_85":14336,"ignition":8,"odometer":null,"unknown_45":-9142659063114874880}} 
[2026-07-15 14:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":134797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:36:38] local.INFO: GPS data processed {"connection_id":134797,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:36:38] local.INFO: Acknowledgment sent {"connection_id":134797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:37:02] local.INFO: TCP Data received {"connection_id":134799,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:37:02] local.INFO: Processing buffer {"connection_id":134799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:37:02] local.INFO: IMEI packet received {"connection_id":134799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":134799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:37:06] local.INFO: TCP Data received {"connection_id":134799,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:37:06] local.INFO: Processing buffer {"connection_id":134799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:37:06] local.INFO: IMEI packet received {"connection_id":134799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":134799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:37:07] local.INFO: TCP Data received {"connection_id":134799,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f6504f2f8012d811cc005a08a78000901482f..."} 
[2026-07-15 14:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6504f2f8012d811cc005a08a78000901482f..."} 
[2026-07-15 14:37:07] local.INFO: Processing buffer {"connection_id":134799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6504f2f8012d811cc005a08a78000901482f..."} 
[2026-07-15 14:37:07] local.INFO: Packet analysis {"connection_id":134799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6504"} 
[2026-07-15 14:37:07] local.INFO: Extracted packet for processing {"connection_id":134799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6504"} 
[2026-07-15 14:37:07] local.INFO: GPS Element Parsed {"raw_longitude":763436224,"raw_latitude":94407288,"longitude_deg":76.3436224,"latitude_deg":9.4407288,"altitude":9,"angle":328,"satellites":47,"speed":14,"hex_longitude":"2d811cc0","hex_latitude":"05a08a78","is_valid_coordinates":true} 
[2026-07-15 14:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731199744001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347168172245254144,"note":"Value kept but may cause issues"} 
[2026-07-15 14:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9142799800603203584,"note":"Value kept but may cause issues"} 
[2026-07-15 14:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784106251000,"timestamp_ms":1784106251000,"timestamp_seconds":1784106251,"priority":1,"record_length":96,"hex_timestamp":"0000019f6504f2f8"} 
[2026-07-15 14:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-15 14:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:37:07] 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-07-15 14:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731199744001,"66":27876,"185":206,"85":14336,"24":14,"16":347168172245254144,"45":-9142799800603203584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-15 14:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731199744001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:37:07] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-15 14:37:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347168172245254144,"km_value":347168172245254.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9142799800603203584,"description":"Unknown IO ID 45"} 
[2026-07-15 14:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731199744001,"power":27876,"unknown_185":206,"unknown_85":14336,"ignition":14,"odometer":null,"unknown_45":-9142799800603203584}} 
[2026-07-15 14:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":134799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:37:07] local.INFO: GPS data processed {"connection_id":134799,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:37:07] local.INFO: Acknowledgment sent {"connection_id":134799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:37:38] local.INFO: TCP Data received {"connection_id":134799,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f6504f6e0012d811c0005a08c00000901592f..."} 
[2026-07-15 14:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6504f6e0012d811c0005a08c00000901592f..."} 
[2026-07-15 14:37:38] local.INFO: Processing buffer {"connection_id":134799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6504f6e0012d811c0005a08c00000901592f..."} 
[2026-07-15 14:37:38] local.INFO: Packet analysis {"connection_id":134799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6504"} 
[2026-07-15 14:37:38] local.INFO: Extracted packet for processing {"connection_id":134799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6504"} 
[2026-07-15 14:37:38] local.INFO: GPS Element Parsed {"raw_longitude":763436032,"raw_latitude":94407680,"longitude_deg":76.3436032,"latitude_deg":9.440768,"altitude":9,"angle":345,"satellites":47,"speed":18,"hex_longitude":"2d811c00","hex_latitude":"05a08c00","is_valid_coordinates":true} 
[2026-07-15 14:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731200256001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347168189425123328,"note":"Value kept but may cause issues"} 
[2026-07-15 14:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9143222013068150784,"note":"Value kept but may cause issues"} 
[2026-07-15 14:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784106252000,"timestamp_ms":1784106252000,"timestamp_seconds":1784106252,"priority":1,"record_length":96,"hex_timestamp":"0000019f6504f6e0"} 
[2026-07-15 14:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-15 14:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:37:38] 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-07-15 14:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731200256001,"66":27843,"185":206,"85":14336,"24":18,"16":347168189425123328,"45":-9143222013068150784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-15 14:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731200256001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:37:38] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-15 14:37:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347168189425123328,"km_value":347168189425123.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9143222013068150784,"description":"Unknown IO ID 45"} 
[2026-07-15 14:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731200256001,"power":27843,"unknown_185":206,"unknown_85":14336,"ignition":18,"odometer":null,"unknown_45":-9143222013068150784}} 
[2026-07-15 14:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":134799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:37:38] local.INFO: GPS data processed {"connection_id":134799,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:37:38] local.INFO: Acknowledgment sent {"connection_id":134799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:38:00] local.INFO: TCP Data received {"connection_id":132400,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:38:00] local.INFO: Processing buffer {"connection_id":132400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:38:00] local.INFO: IMEI packet received {"connection_id":132400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":132400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:38:04] local.INFO: TCP Data received {"connection_id":133443,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133443,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:38:04] local.INFO: Processing buffer {"connection_id":133443,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:38:04] local.INFO: IMEI packet received {"connection_id":133443,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 14:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":133443,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:38:05] local.INFO: TCP Data received {"connection_id":133443,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f65082b30012d7d278005dc7b380007000922..."} 
[2026-07-15 14:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65082b30012d7d278005dc7b380007000922..."} 
[2026-07-15 14:38:05] local.INFO: Processing buffer {"connection_id":133443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65082b30012d7d278005dc7b380007000922..."} 
[2026-07-15 14:38:05] local.INFO: Packet analysis {"connection_id":133443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6508"} 
[2026-07-15 14:38:05] local.INFO: Extracted packet for processing {"connection_id":133443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6508"} 
[2026-07-15 14:38:05] local.INFO: GPS Element Parsed {"raw_longitude":763176832,"raw_latitude":98335544,"longitude_deg":76.3176832,"latitude_deg":9.8335544,"altitude":7,"angle":9,"satellites":34,"speed":12,"hex_longitude":"2d7d2780","hex_latitude":"05dc7b38","is_valid_coordinates":true} 
[2026-07-15 14:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731254016001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106514901177991168,"note":"Value kept but may cause issues"} 
[2026-07-15 14:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018176804006535168,"note":"Value kept but may cause issues"} 
[2026-07-15 14:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784106462000,"timestamp_ms":1784106462000,"timestamp_seconds":1784106462,"priority":1,"record_length":96,"hex_timestamp":"0000019f65082b30"} 
[2026-07-15 14:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-15 14:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":133443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":133443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":133443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731254016001,"66":13319,"167":206,"85":15104,"24":12,"16":106514901177991168,"45":9018176804006535168},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-15 14:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731254016001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:38:05] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 14:38:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106514901177991168,"km_value":106514901177991.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018176804006535168,"description":"Unknown IO ID 45"} 
[2026-07-15 14:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731254016001,"power":13319,"unknown_167":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9018176804006535168}} 
[2026-07-15 14:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":133443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491212,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:38:05] local.INFO: GPS data processed {"connection_id":133443,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:38:05] local.INFO: Acknowledgment sent {"connection_id":133443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:38:06] local.INFO: TCP Data received {"connection_id":132400,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:38:06] local.INFO: Processing buffer {"connection_id":132400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:38:06] local.INFO: IMEI packet received {"connection_id":132400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":132400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:38:07] local.INFO: TCP Data received {"connection_id":132400,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f650525c0012d81158005a0af100009015b2d..."} 
[2026-07-15 14:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f650525c0012d81158005a0af100009015b2d..."} 
[2026-07-15 14:38:07] local.INFO: Processing buffer {"connection_id":132400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f650525c0012d81158005a0af100009015b2d..."} 
[2026-07-15 14:38:07] local.INFO: Packet analysis {"connection_id":132400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6505"} 
[2026-07-15 14:38:07] local.INFO: Extracted packet for processing {"connection_id":132400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6505"} 
[2026-07-15 14:38:07] local.INFO: GPS Element Parsed {"raw_longitude":763434368,"raw_latitude":94416656,"longitude_deg":76.3434368,"latitude_deg":9.4416656,"altitude":9,"angle":347,"satellites":45,"speed":35,"hex_longitude":"2d811580","hex_latitude":"05a0af10","is_valid_coordinates":true} 
[2026-07-15 14:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731200512001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347168631806754816,"note":"Value kept but may cause issues"} 
[2026-07-15 14:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9143433119300583424,"note":"Value kept but may cause issues"} 
[2026-07-15 14:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784106264000,"timestamp_ms":1784106264000,"timestamp_seconds":1784106264,"priority":1,"record_length":96,"hex_timestamp":"0000019f650525c0"} 
[2026-07-15 14:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-15 14:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731200512001,"66":27919,"185":206,"85":14336,"24":35,"16":347168631806754816,"45":-9143433119300583424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-15 14:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731200512001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:38:07] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-15 14:38:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347168631806754816,"km_value":347168631806754.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9143433119300583424,"description":"Unknown IO ID 45"} 
[2026-07-15 14:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731200512001,"power":27919,"unknown_185":206,"unknown_85":14336,"ignition":35,"odometer":null,"unknown_45":-9143433119300583424}} 
[2026-07-15 14:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":132400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:38:07] local.INFO: GPS data processed {"connection_id":132400,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:38:07] local.INFO: Acknowledgment sent {"connection_id":132400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:38:36] local.INFO: TCP Data received {"connection_id":133443,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f65083eb8012d7d288005dc80080007002021..."} 
[2026-07-15 14:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65083eb8012d7d288005dc80080007002021..."} 
[2026-07-15 14:38:36] local.INFO: Processing buffer {"connection_id":133443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65083eb8012d7d288005dc80080007002021..."} 
[2026-07-15 14:38:36] local.INFO: Packet analysis {"connection_id":133443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6508"} 
[2026-07-15 14:38:36] local.INFO: Extracted packet for processing {"connection_id":133443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6508"} 
[2026-07-15 14:38:36] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":98336776,"longitude_deg":76.3177088,"latitude_deg":9.8336776,"altitude":7,"angle":32,"satellites":33,"speed":9,"hex_longitude":"2d7d2880","hex_latitude":"05dc8008","is_valid_coordinates":true} 
[2026-07-15 14:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731254272001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106514965602500608,"note":"Value kept but may cause issues"} 
[2026-07-15 14:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018317541494962176,"note":"Value kept but may cause issues"} 
[2026-07-15 14:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784106467000,"timestamp_ms":1784106467000,"timestamp_seconds":1784106467,"priority":1,"record_length":96,"hex_timestamp":"0000019f65083eb8"} 
[2026-07-15 14:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-15 14:38:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 14:38:36] local.WARNING: Large IO value detected {"io_id":106,"raw_value":3003121664,"note":"Value kept but may cause issues"} 
[2026-07-15 14:38:36] local.WARNING: Large IO value detected {"io_id":7,"raw_value":-4487835733791932411,"note":"Value kept but may cause issues"} 
[2026-07-15 14:38:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-15 14:38:36] local.WARNING: Large IO value detected {"io_id":220,"raw_value":8083961348311097856,"note":"Value kept but may cause issues"} 
[2026-07-15 14:38:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930180302,"corrected_to":0} 
[2026-07-15 14:38:36] local.WARNING: Large IO value detected {"io_id":201,"raw_value":2281778557,"note":"Value kept but may cause issues"} 
[2026-07-15 14:38:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3698382848,"note":"Value kept but may cause issues"} 
[2026-07-15 14:38:36] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,167,85,24,241,157,16,106,159,39,45,122,7,33,10,66,35,128,121,6,31,64,1,240,133,227,101,220,4,113,205,9,201,88,34,239,52,2,5,3],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2930180302,"validated":0}]} 
[2026-07-15 14:38:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504413199899820032,"timestamp_seconds":504413199899820.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 14:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":133443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":133443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":133443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731254272001,"66":13015,"167":206,"85":15104,"24":9,"16":106514965602500608,"45":9018317541494962176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-15 14:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731254272001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:38:36] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 14:38:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106514965602500608,"km_value":106514965602500.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018317541494962176,"description":"Unknown IO ID 45"} 
[2026-07-15 14:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731254272001,"power":13015,"unknown_167":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9018317541494962176}} 
[2026-07-15 14:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":133443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491214,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:38:36] local.INFO: GPS data processed {"connection_id":133443,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:38:36] local.INFO: Acknowledgment sent {"connection_id":133443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:38:37] local.INFO: TCP Data received {"connection_id":132400,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f65056828012d810e0005a0d1f00007015b30..."} 
[2026-07-15 14:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65056828012d810e0005a0d1f00007015b30..."} 
[2026-07-15 14:38:37] local.INFO: Processing buffer {"connection_id":132400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65056828012d810e0005a0d1f00007015b30..."} 
[2026-07-15 14:38:37] local.INFO: Packet analysis {"connection_id":132400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6505"} 
[2026-07-15 14:38:37] local.INFO: Extracted packet for processing {"connection_id":132400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6505"} 
[2026-07-15 14:38:37] local.INFO: GPS Element Parsed {"raw_longitude":763432448,"raw_latitude":94425584,"longitude_deg":76.3432448,"latitude_deg":9.4425584,"altitude":7,"angle":347,"satellites":48,"speed":11,"hex_longitude":"2d810e00","hex_latitude":"05a0d1f0","is_valid_coordinates":true} 
[2026-07-15 14:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731203584001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169074188386304,"note":"Value kept but may cause issues"} 
[2026-07-15 14:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9145262706646904832,"note":"Value kept but may cause issues"} 
[2026-07-15 14:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784106281000,"timestamp_ms":1784106281000,"timestamp_seconds":1784106281,"priority":1,"record_length":96,"hex_timestamp":"0000019f65056828"} 
[2026-07-15 14:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 14:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731203584001,"66":27919,"82":206,"85":14336,"24":11,"16":347169074188386304,"45":-9145262706646904832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731203584001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:38:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:38:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169074188386304,"km_value":347169074188386.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9145262706646904832,"description":"Unknown IO ID 45"} 
[2026-07-15 14:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731203584001,"power":27919,"unknown_82":206,"unknown_85":14336,"ignition":11,"odometer":null,"unknown_45":-9145262706646904832}} 
[2026-07-15 14:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":132400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:38:37] local.INFO: GPS data processed {"connection_id":132400,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:38:37] local.INFO: Acknowledgment sent {"connection_id":132400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:38:59] local.INFO: TCP Data received {"connection_id":134800,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134800,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:38:59] local.INFO: Processing buffer {"connection_id":134800,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:38:59] local.INFO: IMEI packet received {"connection_id":134800,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 14:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":134800,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:39:04] local.INFO: TCP Data received {"connection_id":134800,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134800,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:39:04] local.INFO: Processing buffer {"connection_id":134800,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:39:04] local.INFO: IMEI packet received {"connection_id":134800,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":134800,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:39:05] local.INFO: TCP Data received {"connection_id":134800,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f650842a0012d7d294005dc80900007003021..."} 
[2026-07-15 14:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f650842a0012d7d294005dc80900007003021..."} 
[2026-07-15 14:39:05] local.INFO: Processing buffer {"connection_id":134800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f650842a0012d7d294005dc80900007003021..."} 
[2026-07-15 14:39:05] local.INFO: Packet analysis {"connection_id":134800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6508"} 
[2026-07-15 14:39:05] local.INFO: Extracted packet for processing {"connection_id":134800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6508"} 
[2026-07-15 14:39:05] local.INFO: GPS Element Parsed {"raw_longitude":763177280,"raw_latitude":98336912,"longitude_deg":76.317728,"latitude_deg":9.8336912,"altitude":7,"angle":48,"satellites":33,"speed":8,"hex_longitude":"2d7d2940","hex_latitude":"05dc8090","is_valid_coordinates":true} 
[2026-07-15 14:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731255552001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106514974192435200,"note":"Value kept but may cause issues"} 
[2026-07-15 14:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016471988224,"note":"Value kept but may cause issues"} 
[2026-07-15 14:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784106468000,"timestamp_ms":1784106468000,"timestamp_seconds":1784106468,"priority":1,"record_length":96,"hex_timestamp":"0000019f650842a0"} 
[2026-07-15 14:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-15 14:39:05] 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-07-15 14:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":134800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":134800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":134800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731255552001,"66":13015,"167":206,"85":15104,"24":8,"16":106514974192435200,"45":9018599016471988224},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-15 14:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731255552001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:39:05] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 14:39:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106514974192435200,"km_value":106514974192435.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016471988224,"description":"Unknown IO ID 45"} 
[2026-07-15 14:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731255552001,"power":13015,"unknown_167":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9018599016471988224}} 
[2026-07-15 14:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":134800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491216,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:39:05] local.INFO: GPS data processed {"connection_id":134800,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:39:05] local.INFO: Acknowledgment sent {"connection_id":134800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:39:05] local.INFO: TCP Data received {"connection_id":132401,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:39:05] local.INFO: Processing buffer {"connection_id":132401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:39:05] local.INFO: IMEI packet received {"connection_id":132401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":132401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:39:10] local.INFO: TCP Data received {"connection_id":132401,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:39:10] local.INFO: Processing buffer {"connection_id":132401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:39:10] local.INFO: IMEI packet received {"connection_id":132401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":132401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:39:11] local.INFO: TCP Data received {"connection_id":132401,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6505ba30012d81078005a0f1080009015c2f..."} 
[2026-07-15 14:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6505ba30012d81078005a0f1080009015c2f..."} 
[2026-07-15 14:39:11] local.INFO: Processing buffer {"connection_id":132401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6505ba30012d81078005a0f1080009015c2f..."} 
[2026-07-15 14:39:11] local.INFO: Packet analysis {"connection_id":132401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6505"} 
[2026-07-15 14:39:11] local.INFO: Extracted packet for processing {"connection_id":132401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6505"} 
[2026-07-15 14:39:11] local.INFO: GPS Element Parsed {"raw_longitude":763430784,"raw_latitude":94433544,"longitude_deg":76.3430784,"latitude_deg":9.4433544,"altitude":9,"angle":348,"satellites":47,"speed":24,"hex_longitude":"2d810780","hex_latitude":"05a0f108","is_valid_coordinates":true} 
[2026-07-15 14: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-07-15 14:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731207936001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 14:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9147373768969949184,"note":"Value kept but may cause issues"} 
[2026-07-15 14:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784106302000,"timestamp_ms":1784106302000,"timestamp_seconds":1784106302,"priority":1,"record_length":96,"hex_timestamp":"0000019f6505ba30"} 
[2026-07-15 14:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 14:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14: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-07-15 14:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731207936001,"66":27767,"82":206,"85":14336,"24":24,"16":347169473620344832,"45":-9147373768969949184},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731207936001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:39:11] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:39:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9147373768969949184,"description":"Unknown IO ID 45"} 
[2026-07-15 14:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731207936001,"power":27767,"unknown_82":206,"unknown_85":14336,"ignition":24,"odometer":null,"unknown_45":-9147373768969949184}} 
[2026-07-15 14:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":132401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:39:11] local.INFO: GPS data processed {"connection_id":132401,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:39:11] local.INFO: Acknowledgment sent {"connection_id":132401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:39:36] local.INFO: TCP Data received {"connection_id":134800,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f65084688012d7d29c005dc80d00007004422..."} 
[2026-07-15 14:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65084688012d7d29c005dc80d00007004422..."} 
[2026-07-15 14:39:36] local.INFO: Processing buffer {"connection_id":134800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65084688012d7d29c005dc80d00007004422..."} 
[2026-07-15 14:39:36] local.INFO: Packet analysis {"connection_id":134800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6508"} 
[2026-07-15 14:39:36] local.INFO: Extracted packet for processing {"connection_id":134800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6508"} 
[2026-07-15 14:39:36] local.INFO: GPS Element Parsed {"raw_longitude":763177408,"raw_latitude":98336976,"longitude_deg":76.3177408,"latitude_deg":9.8336976,"altitude":7,"angle":68,"satellites":34,"speed":6,"hex_longitude":"2d7d29c0","hex_latitude":"05dc80d0","is_valid_coordinates":true} 
[2026-07-15 14:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731255808001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106514982782369792,"note":"Value kept but may cause issues"} 
[2026-07-15 14:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018810122704556032,"note":"Value kept but may cause issues"} 
[2026-07-15 14:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784106469000,"timestamp_ms":1784106469000,"timestamp_seconds":1784106469,"priority":1,"record_length":96,"hex_timestamp":"0000019f65084688"} 
[2026-07-15 14:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-15 14:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":134800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":134800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":134800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731255808001,"66":12917,"167":206,"85":15104,"24":6,"16":106514982782369792,"45":9018810122704556032},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-15 14:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731255808001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:39:36] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 14:39:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106514982782369792,"km_value":106514982782369.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018810122704556032,"description":"Unknown IO ID 45"} 
[2026-07-15 14:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731255808001,"power":12917,"unknown_167":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9018810122704556032}} 
[2026-07-15 14:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":134800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491218,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:39:36] local.INFO: GPS data processed {"connection_id":134800,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:39:36] local.INFO: Acknowledgment sent {"connection_id":134800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:39:42] local.INFO: TCP Data received {"connection_id":132401,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6505ba30012d81078005a0f1080009015c2f..."} 
[2026-07-15 14:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6505ba30012d81078005a0f1080009015c2f..."} 
[2026-07-15 14:39:42] local.INFO: Processing buffer {"connection_id":132401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6505ba30012d81078005a0f1080009015c2f..."} 
[2026-07-15 14:39:42] local.INFO: Packet analysis {"connection_id":132401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6505"} 
[2026-07-15 14:39:42] local.INFO: Extracted packet for processing {"connection_id":132401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6505"} 
[2026-07-15 14:39:42] local.INFO: GPS Element Parsed {"raw_longitude":763430784,"raw_latitude":94433544,"longitude_deg":76.3430784,"latitude_deg":9.4433544,"altitude":9,"angle":348,"satellites":47,"speed":24,"hex_longitude":"2d810780","hex_latitude":"05a0f108","is_valid_coordinates":true} 
[2026-07-15 14:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731213312001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 14:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9149203356316530688,"note":"Value kept but may cause issues"} 
[2026-07-15 14:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784106302000,"timestamp_ms":1784106302000,"timestamp_seconds":1784106302,"priority":1,"record_length":96,"hex_timestamp":"0000019f6505ba30"} 
[2026-07-15 14:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 14:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731213312001,"66":27767,"82":206,"85":14336,"24":24,"16":347169473620344832,"45":-9149203356316530688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731213312001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:39:42] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:39:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9149203356316530688,"description":"Unknown IO ID 45"} 
[2026-07-15 14:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731213312001,"power":27767,"unknown_82":206,"unknown_85":14336,"ignition":24,"odometer":null,"unknown_45":-9149203356316530688}} 
[2026-07-15 14:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":132401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:39:42] local.INFO: GPS data processed {"connection_id":132401,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:39:42] local.INFO: Acknowledgment sent {"connection_id":132401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:40:00] local.INFO: TCP Data received {"connection_id":132403,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:40:00] local.INFO: Processing buffer {"connection_id":132403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:40:00] local.INFO: IMEI packet received {"connection_id":132403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":132403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:40:03] local.INFO: TCP Data received {"connection_id":133444,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133444,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:40:03] local.INFO: Processing buffer {"connection_id":133444,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:40:03] local.INFO: IMEI packet received {"connection_id":133444,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 14:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":133444,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:40:04] local.INFO: TCP Data received {"connection_id":133444,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133444,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:40:04] local.INFO: Processing buffer {"connection_id":133444,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:40:04] local.INFO: IMEI packet received {"connection_id":133444,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":133444,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:40:05] local.INFO: TCP Data received {"connection_id":132403,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:40:05] local.INFO: Processing buffer {"connection_id":132403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:40:05] local.INFO: IMEI packet received {"connection_id":132403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":132403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:40:06] local.INFO: TCP Data received {"connection_id":132403,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6505ba30012d81078005a0f1080009015c2f..."} 
[2026-07-15 14:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6505ba30012d81078005a0f1080009015c2f..."} 
[2026-07-15 14:40:06] local.INFO: Processing buffer {"connection_id":132403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6505ba30012d81078005a0f1080009015c2f..."} 
[2026-07-15 14:40:06] local.INFO: Packet analysis {"connection_id":132403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6505"} 
[2026-07-15 14:40:06] local.INFO: Extracted packet for processing {"connection_id":132403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6505"} 
[2026-07-15 14:40:06] local.INFO: GPS Element Parsed {"raw_longitude":763430784,"raw_latitude":94433544,"longitude_deg":76.3430784,"latitude_deg":9.4433544,"altitude":9,"angle":348,"satellites":47,"speed":24,"hex_longitude":"2d810780","hex_latitude":"05a0f108","is_valid_coordinates":true} 
[2026-07-15 14:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731213312001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 14:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9149203356316530688,"note":"Value kept but may cause issues"} 
[2026-07-15 14:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784106302000,"timestamp_ms":1784106302000,"timestamp_seconds":1784106302,"priority":1,"record_length":96,"hex_timestamp":"0000019f6505ba30"} 
[2026-07-15 14:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 14:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731213312001,"66":27767,"82":206,"85":14336,"24":24,"16":347169473620344832,"45":-9149203356316530688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731213312001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:40:06] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:40:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9149203356316530688,"description":"Unknown IO ID 45"} 
[2026-07-15 14:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731213312001,"power":27767,"unknown_82":206,"unknown_85":14336,"ignition":24,"odometer":null,"unknown_45":-9149203356316530688}} 
[2026-07-15 14:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":132403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:40:06] local.INFO: GPS data processed {"connection_id":132403,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:40:06] local.INFO: Acknowledgment sent {"connection_id":132403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:40:11] local.INFO: TCP Data received {"connection_id":133444,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133444,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:40:11] local.INFO: Processing buffer {"connection_id":133444,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:40:11] local.INFO: IMEI packet received {"connection_id":133444,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":133444,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:40:12] local.INFO: TCP Data received {"connection_id":133444,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f65089890012d7d2a0005dc81100007004424..."} 
[2026-07-15 14:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65089890012d7d2a0005dc81100007004424..."} 
[2026-07-15 14:40:12] local.INFO: Processing buffer {"connection_id":133444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65089890012d7d2a0005dc81100007004424..."} 
[2026-07-15 14:40:12] local.INFO: Packet analysis {"connection_id":133444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6508"} 
[2026-07-15 14:40:12] local.INFO: Extracted packet for processing {"connection_id":133444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6508"} 
[2026-07-15 14:40:12] local.INFO: GPS Element Parsed {"raw_longitude":763177472,"raw_latitude":98337040,"longitude_deg":76.3177472,"latitude_deg":9.833704,"altitude":7,"angle":68,"satellites":36,"speed":0,"hex_longitude":"2d7d2a00","hex_latitude":"05dc8110","is_valid_coordinates":true} 
[2026-07-15 14:40: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-07-15 14:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731256064001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106514991372304384,"note":"Value kept but may cause issues"} 
[2026-07-15 14:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018950860192927744,"note":"Value kept but may cause issues"} 
[2026-07-15 14:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784106490000,"timestamp_ms":1784106490000,"timestamp_seconds":1784106490,"priority":1,"record_length":96,"hex_timestamp":"0000019f65089890"} 
[2026-07-15 14:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:40: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":117,"data_length":795,"current_offset":136} 
[2026-07-15 14:40:12] 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-07-15 14:40: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-07-15 14:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":133444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":133444,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":133444,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731256064001,"66":12254,"167":206,"85":15104,"24":0,"16":106514991372304384,"45":9018950860192927744},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-15 14:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731256064001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:40:12] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 14:40:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106514991372304384,"km_value":106514991372304.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018950860192927744,"description":"Unknown IO ID 45"} 
[2026-07-15 14:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731256064001,"power":12254,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9018950860192927744}} 
[2026-07-15 14:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":133444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491221,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:40:12] local.INFO: GPS data processed {"connection_id":133444,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:40:12] local.INFO: Acknowledgment sent {"connection_id":133444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:40:37] local.INFO: TCP Data received {"connection_id":132403,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6505ba30012d81078005a0f1080009015c2f..."} 
[2026-07-15 14:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6505ba30012d81078005a0f1080009015c2f..."} 
[2026-07-15 14:40:37] local.INFO: Processing buffer {"connection_id":132403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6505ba30012d81078005a0f1080009015c2f..."} 
[2026-07-15 14:40:37] local.INFO: Packet analysis {"connection_id":132403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6505"} 
[2026-07-15 14:40:37] local.INFO: Extracted packet for processing {"connection_id":132403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6505"} 
[2026-07-15 14:40:37] local.INFO: GPS Element Parsed {"raw_longitude":763430784,"raw_latitude":94433544,"longitude_deg":76.3430784,"latitude_deg":9.4433544,"altitude":9,"angle":348,"satellites":47,"speed":24,"hex_longitude":"2d810780","hex_latitude":"05a0f108","is_valid_coordinates":true} 
[2026-07-15 14:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731213312001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 14:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9149203356316530688,"note":"Value kept but may cause issues"} 
[2026-07-15 14:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784106302000,"timestamp_ms":1784106302000,"timestamp_seconds":1784106302,"priority":1,"record_length":96,"hex_timestamp":"0000019f6505ba30"} 
[2026-07-15 14:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 14:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731213312001,"66":27767,"82":206,"85":14336,"24":24,"16":347169473620344832,"45":-9149203356316530688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731213312001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:40:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:40:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9149203356316530688,"description":"Unknown IO ID 45"} 
[2026-07-15 14:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731213312001,"power":27767,"unknown_82":206,"unknown_85":14336,"ignition":24,"odometer":null,"unknown_45":-9149203356316530688}} 
[2026-07-15 14:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":132403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:40:37] local.INFO: GPS data processed {"connection_id":132403,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:40:37] local.INFO: Acknowledgment sent {"connection_id":132403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:40:43] local.INFO: TCP Data received {"connection_id":133444,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f650ad6c8012d7d2b8005dc7fe00005011424..."} 
[2026-07-15 14:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f650ad6c8012d7d2b8005dc7fe00005011424..."} 
[2026-07-15 14:40:43] local.INFO: Processing buffer {"connection_id":133444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f650ad6c8012d7d2b8005dc7fe00005011424..."} 
[2026-07-15 14:40:43] local.INFO: Packet analysis {"connection_id":133444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f650a"} 
[2026-07-15 14:40:43] local.INFO: Extracted packet for processing {"connection_id":133444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f650a"} 
[2026-07-15 14:40:43] local.INFO: GPS Element Parsed {"raw_longitude":763177856,"raw_latitude":98336736,"longitude_deg":76.3177856,"latitude_deg":9.8336736,"altitude":5,"angle":276,"satellites":36,"speed":10,"hex_longitude":"2d7d2b80","hex_latitude":"05dc7fe0","is_valid_coordinates":true} 
[2026-07-15 14:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731296768001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106515455228772352,"note":"Value kept but may cause issues"} 
[2026-07-15 14:40:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022891509866856448,"note":"Value kept but may cause issues"} 
[2026-07-15 14:40:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784106637000,"timestamp_ms":1784106637000,"timestamp_seconds":1784106637,"priority":1,"record_length":96,"hex_timestamp":"0000019f650ad6c8"} 
[2026-07-15 14:40:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:40:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-15 14:40:43] 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-07-15 14:40:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:40:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":133444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":133444,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":133444,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:40:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731296768001,"66":13091,"167":206,"85":15104,"24":10,"16":106515455228772352,"45":9022891509866856448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-15 14:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731296768001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:40:43] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 14:40:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:40:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106515455228772352,"km_value":106515455228772.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:40:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022891509866856448,"description":"Unknown IO ID 45"} 
[2026-07-15 14:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731296768001,"power":13091,"unknown_167":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9022891509866856448}} 
[2026-07-15 14:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":133444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491223,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:40:43] local.INFO: GPS data processed {"connection_id":133444,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:40:43] local.INFO: Acknowledgment sent {"connection_id":133444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:40:56] local.INFO: TCP Data received {"connection_id":134801,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134801,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:40:56] local.INFO: Processing buffer {"connection_id":134801,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:40:56] local.INFO: IMEI packet received {"connection_id":134801,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 14:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":134801,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:40:59] local.INFO: TCP Data received {"connection_id":134801,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134801,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:40:59] local.INFO: Processing buffer {"connection_id":134801,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:40:59] local.INFO: IMEI packet received {"connection_id":134801,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":134801,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:41:00] local.INFO: TCP Data received {"connection_id":134802,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:41:00] local.INFO: Processing buffer {"connection_id":134802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:41:00] local.INFO: IMEI packet received {"connection_id":134802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":134802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:41:04] local.INFO: TCP Data received {"connection_id":134801,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134801,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:41:04] local.INFO: Processing buffer {"connection_id":134801,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:41:04] local.INFO: IMEI packet received {"connection_id":134801,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":134801,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:41:04] local.INFO: TCP Data received {"connection_id":133445,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133445,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:41:04] local.INFO: Processing buffer {"connection_id":133445,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:41:04] local.INFO: IMEI packet received {"connection_id":133445,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 14:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":133445,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:41:05] local.INFO: TCP Data received {"connection_id":134801,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f650ae280012d7d288005dc7fe80005010224..."} 
[2026-07-15 14:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f650ae280012d7d288005dc7fe80005010224..."} 
[2026-07-15 14:41:05] local.INFO: Processing buffer {"connection_id":134801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f650ae280012d7d288005dc7fe80005010224..."} 
[2026-07-15 14:41:05] local.INFO: Packet analysis {"connection_id":134801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f650a"} 
[2026-07-15 14:41:05] local.INFO: Extracted packet for processing {"connection_id":134801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f650a"} 
[2026-07-15 14:41:05] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":98336744,"longitude_deg":76.3177088,"latitude_deg":9.8336744,"altitude":5,"angle":258,"satellites":36,"speed":7,"hex_longitude":"2d7d2880","hex_latitude":"05dc7fe8","is_valid_coordinates":true} 
[2026-07-15 14: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-07-15 14:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731299072001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106515489588510720,"note":"Value kept but may cause issues"} 
[2026-07-15 14:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019443441402109952,"note":"Value kept but may cause issues"} 
[2026-07-15 14:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784106640000,"timestamp_ms":1784106640000,"timestamp_seconds":1784106640,"priority":1,"record_length":96,"hex_timestamp":"0000019f650ae280"} 
[2026-07-15 14:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-15 14:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14: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-07-15 14:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":134801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":134801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":134801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731299072001,"66":12950,"167":206,"85":15104,"24":7,"16":106515489588510720,"45":9019443441402109952},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-15 14:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731299072001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:41:05] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 14:41:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106515489588510720,"km_value":106515489588510.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019443441402109952,"description":"Unknown IO ID 45"} 
[2026-07-15 14:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731299072001,"power":12950,"unknown_167":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9019443441402109952}} 
[2026-07-15 14:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":134801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491224,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:41:05] local.INFO: GPS data processed {"connection_id":134801,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:41:05] local.INFO: Acknowledgment sent {"connection_id":134801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:41:05] local.INFO: TCP Data received {"connection_id":134802,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:41:05] local.INFO: Processing buffer {"connection_id":134802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:41:05] local.INFO: IMEI packet received {"connection_id":134802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":134802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:41:06] local.INFO: TCP Data received {"connection_id":134802,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f650a55e0012d80f68005a124c00007015d30..."} 
[2026-07-15 14:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f650a55e0012d80f68005a124c00007015d30..."} 
[2026-07-15 14:41:06] local.INFO: Processing buffer {"connection_id":134802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f650a55e0012d80f68005a124c00007015d30..."} 
[2026-07-15 14:41:06] local.INFO: Packet analysis {"connection_id":134802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f650a"} 
[2026-07-15 14:41:06] local.INFO: Extracted packet for processing {"connection_id":134802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f650a"} 
[2026-07-15 14:41:06] local.INFO: GPS Element Parsed {"raw_longitude":763426432,"raw_latitude":94446784,"longitude_deg":76.3426432,"latitude_deg":9.4446784,"altitude":7,"angle":349,"satellites":48,"speed":0,"hex_longitude":"2d80f680","hex_latitude":"05a124c0","is_valid_coordinates":true} 
[2026-07-15 14:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731213312001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 14:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9149203356316530688,"note":"Value kept but may cause issues"} 
[2026-07-15 14:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784106604000,"timestamp_ms":1784106604000,"timestamp_seconds":1784106604,"priority":1,"record_length":96,"hex_timestamp":"0000019f650a55e0"} 
[2026-07-15 14:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 14:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":134802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":134802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":134802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731213312001,"66":26267,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9149203356316530688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731213312001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:41:06] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:41:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9149203356316530688,"description":"Unknown IO ID 45"} 
[2026-07-15 14:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731213312001,"power":26267,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9149203356316530688}} 
[2026-07-15 14:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":134802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:41:06] local.INFO: GPS data processed {"connection_id":134802,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:41:06] local.INFO: Acknowledgment sent {"connection_id":134802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:41:36] local.INFO: TCP Data received {"connection_id":134801,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f650ae668012d7d284005dc7fb0000500ed24..."} 
[2026-07-15 14:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f650ae668012d7d284005dc7fb0000500ed24..."} 
[2026-07-15 14:41:36] local.INFO: Processing buffer {"connection_id":134801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f650ae668012d7d284005dc7fb0000500ed24..."} 
[2026-07-15 14:41:36] local.INFO: Packet analysis {"connection_id":134801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f650a"} 
[2026-07-15 14:41:36] local.INFO: Extracted packet for processing {"connection_id":134801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f650a"} 
[2026-07-15 14:41:36] local.INFO: GPS Element Parsed {"raw_longitude":763177024,"raw_latitude":98336688,"longitude_deg":76.3177024,"latitude_deg":9.8336688,"altitude":5,"angle":237,"satellites":36,"speed":5,"hex_longitude":"2d7d2840","hex_latitude":"05dc7fb0","is_valid_coordinates":true} 
[2026-07-15 14:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731299840001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106515498178445312,"note":"Value kept but may cause issues"} 
[2026-07-15 14:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016471980032,"note":"Value kept but may cause issues"} 
[2026-07-15 14:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784106641000,"timestamp_ms":1784106641000,"timestamp_seconds":1784106641,"priority":1,"record_length":96,"hex_timestamp":"0000019f650ae668"} 
[2026-07-15 14:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 14:41:36] 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-07-15 14:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":134801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":134801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":134801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731299840001,"66":12950,"167":206,"85":15104,"24":5,"16":106515498178445312,"45":9018599016471980032},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-15 14:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731299840001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:41:36] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 14:41:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106515498178445312,"km_value":106515498178445.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016471980032,"description":"Unknown IO ID 45"} 
[2026-07-15 14:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731299840001,"power":12950,"unknown_167":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9018599016471980032}} 
[2026-07-15 14:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":134801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491226,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:41:36] local.INFO: GPS data processed {"connection_id":134801,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:41:36] local.INFO: Acknowledgment sent {"connection_id":134801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:41:37] local.INFO: TCP Data received {"connection_id":134802,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f650a55e0012d80f68005a124c00007015d30..."} 
[2026-07-15 14:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f650a55e0012d80f68005a124c00007015d30..."} 
[2026-07-15 14:41:37] local.INFO: Processing buffer {"connection_id":134802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f650a55e0012d80f68005a124c00007015d30..."} 
[2026-07-15 14:41:37] local.INFO: Packet analysis {"connection_id":134802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f650a"} 
[2026-07-15 14:41:37] local.INFO: Extracted packet for processing {"connection_id":134802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f650a"} 
[2026-07-15 14:41:37] local.INFO: GPS Element Parsed {"raw_longitude":763426432,"raw_latitude":94446784,"longitude_deg":76.3426432,"latitude_deg":9.4446784,"altitude":7,"angle":349,"satellites":48,"speed":0,"hex_longitude":"2d80f680","hex_latitude":"05a124c0","is_valid_coordinates":true} 
[2026-07-15 14:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731213312001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 14:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9149203356316530688,"note":"Value kept but may cause issues"} 
[2026-07-15 14:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784106604000,"timestamp_ms":1784106604000,"timestamp_seconds":1784106604,"priority":1,"record_length":96,"hex_timestamp":"0000019f650a55e0"} 
[2026-07-15 14:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 14:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":134802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":134802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":134802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731213312001,"66":26267,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9149203356316530688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731213312001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:41:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:41:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9149203356316530688,"description":"Unknown IO ID 45"} 
[2026-07-15 14:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731213312001,"power":26267,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9149203356316530688}} 
[2026-07-15 14:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":134802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:41:37] local.INFO: GPS data processed {"connection_id":134802,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:41:37] local.INFO: Acknowledgment sent {"connection_id":134802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:41:39] local.INFO: TCP Data received {"connection_id":132404,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132404,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:41:39] local.INFO: Processing buffer {"connection_id":132404,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:41:39] local.INFO: IMEI packet received {"connection_id":132404,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 14:41:39] local.INFO: IMEI acknowledgment sent {"connection_id":132404,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:41:58] local.INFO: TCP Data received {"connection_id":133446,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133446,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:41:58] local.INFO: Processing buffer {"connection_id":133446,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:41:58] local.INFO: IMEI packet received {"connection_id":133446,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 14:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":133446,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:41:59] local.INFO: TCP Data received {"connection_id":133446,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133446,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:41:59] local.INFO: Processing buffer {"connection_id":133446,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:41:59] local.INFO: IMEI packet received {"connection_id":133446,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":133446,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:42:02] local.INFO: TCP Data received {"connection_id":132600,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:42:02] local.INFO: Processing buffer {"connection_id":132600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:42:02] local.INFO: IMEI packet received {"connection_id":132600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":132600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:42:04] local.INFO: TCP Data received {"connection_id":133446,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133446,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:42:04] local.INFO: Processing buffer {"connection_id":133446,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:42:04] local.INFO: IMEI packet received {"connection_id":133446,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":133446,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:42:05] local.INFO: TCP Data received {"connection_id":133446,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f650aea50012d7d27c005dc7f48000500d323..."} 
[2026-07-15 14:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f650aea50012d7d27c005dc7f48000500d323..."} 
[2026-07-15 14:42:05] local.INFO: Processing buffer {"connection_id":133446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f650aea50012d7d27c005dc7f48000500d323..."} 
[2026-07-15 14:42:05] local.INFO: Packet analysis {"connection_id":133446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f650a"} 
[2026-07-15 14:42:05] local.INFO: Extracted packet for processing {"connection_id":133446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f650a"} 
[2026-07-15 14:42:05] local.INFO: GPS Element Parsed {"raw_longitude":763176896,"raw_latitude":98336584,"longitude_deg":76.3176896,"latitude_deg":9.8336584,"altitude":5,"angle":211,"satellites":35,"speed":5,"hex_longitude":"2d7d27c0","hex_latitude":"05dc7f48","is_valid_coordinates":true} 
[2026-07-15 14: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-07-15 14:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731300096001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106515506768379904,"note":"Value kept but may cause issues"} 
[2026-07-15 14:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018528647727788032,"note":"Value kept but may cause issues"} 
[2026-07-15 14:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784106642000,"timestamp_ms":1784106642000,"timestamp_seconds":1784106642,"priority":1,"record_length":96,"hex_timestamp":"0000019f650aea50"} 
[2026-07-15 14:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 14:42: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-07-15 14: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-07-15 14:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":133446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":133446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":133446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731300096001,"66":12591,"167":206,"85":15104,"24":5,"16":106515506768379904,"45":9018528647727788032},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-15 14:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731300096001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:42:05] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 14:42:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106515506768379904,"km_value":106515506768379.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018528647727788032,"description":"Unknown IO ID 45"} 
[2026-07-15 14:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731300096001,"power":12591,"unknown_167":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9018528647727788032}} 
[2026-07-15 14:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":133446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491228,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:42:05] local.INFO: GPS data processed {"connection_id":133446,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:42:05] local.INFO: Acknowledgment sent {"connection_id":133446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:42:06] local.INFO: TCP Data received {"connection_id":132600,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:42:06] local.INFO: Processing buffer {"connection_id":132600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:42:06] local.INFO: IMEI packet received {"connection_id":132600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":132600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:42:07] local.INFO: TCP Data received {"connection_id":132600,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f650a55e0012d80f68005a124c00007015d30..."} 
[2026-07-15 14:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f650a55e0012d80f68005a124c00007015d30..."} 
[2026-07-15 14:42:07] local.INFO: Processing buffer {"connection_id":132600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f650a55e0012d80f68005a124c00007015d30..."} 
[2026-07-15 14:42:07] local.INFO: Packet analysis {"connection_id":132600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f650a"} 
[2026-07-15 14:42:07] local.INFO: Extracted packet for processing {"connection_id":132600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f650a"} 
[2026-07-15 14:42:07] local.INFO: GPS Element Parsed {"raw_longitude":763426432,"raw_latitude":94446784,"longitude_deg":76.3426432,"latitude_deg":9.4446784,"altitude":7,"angle":349,"satellites":48,"speed":0,"hex_longitude":"2d80f680","hex_latitude":"05a124c0","is_valid_coordinates":true} 
[2026-07-15 14:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731213312001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 14:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9149203356316530688,"note":"Value kept but may cause issues"} 
[2026-07-15 14:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784106604000,"timestamp_ms":1784106604000,"timestamp_seconds":1784106604,"priority":1,"record_length":96,"hex_timestamp":"0000019f650a55e0"} 
[2026-07-15 14:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:42:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 14:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:42:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731213312001,"66":26267,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9149203356316530688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731213312001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:42:07] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:42:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9149203356316530688,"description":"Unknown IO ID 45"} 
[2026-07-15 14:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731213312001,"power":26267,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9149203356316530688}} 
[2026-07-15 14:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":132600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:42:07] local.INFO: GPS data processed {"connection_id":132600,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:42:07] local.INFO: Acknowledgment sent {"connection_id":132600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:42:11] local.INFO: TCP Data received {"connection_id":132600,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f650a55e0012d80f68005a124c00007015d30..."} 
[2026-07-15 14:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f650a55e0012d80f68005a124c00007015d30..."} 
[2026-07-15 14:42:11] local.INFO: Processing buffer {"connection_id":132600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f650a55e0012d80f68005a124c00007015d30..."} 
[2026-07-15 14:42:11] local.INFO: Packet analysis {"connection_id":132600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f650a"} 
[2026-07-15 14:42:11] local.INFO: Extracted packet for processing {"connection_id":132600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f650a"} 
[2026-07-15 14:42:11] local.INFO: GPS Element Parsed {"raw_longitude":763426432,"raw_latitude":94446784,"longitude_deg":76.3426432,"latitude_deg":9.4446784,"altitude":7,"angle":349,"satellites":48,"speed":0,"hex_longitude":"2d80f680","hex_latitude":"05a124c0","is_valid_coordinates":true} 
[2026-07-15 14:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731213312001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 14:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9149203356316530688,"note":"Value kept but may cause issues"} 
[2026-07-15 14:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784106604000,"timestamp_ms":1784106604000,"timestamp_seconds":1784106604,"priority":1,"record_length":96,"hex_timestamp":"0000019f650a55e0"} 
[2026-07-15 14:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 14:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731213312001,"66":26267,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9149203356316530688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731213312001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:42:11] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:42:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9149203356316530688,"description":"Unknown IO ID 45"} 
[2026-07-15 14:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731213312001,"power":26267,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9149203356316530688}} 
[2026-07-15 14:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":132600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:42:11] local.INFO: GPS data processed {"connection_id":132600,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:42:11] local.INFO: Acknowledgment sent {"connection_id":132600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:42:36] local.INFO: TCP Data received {"connection_id":133446,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f650aee38012d7d27c005dc7ec0000500b523..."} 
[2026-07-15 14:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f650aee38012d7d27c005dc7ec0000500b523..."} 
[2026-07-15 14:42:37] local.INFO: Processing buffer {"connection_id":133446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f650aee38012d7d27c005dc7ec0000500b523..."} 
[2026-07-15 14:42:37] local.INFO: Packet analysis {"connection_id":133446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f650a"} 
[2026-07-15 14:42:37] local.INFO: Extracted packet for processing {"connection_id":133446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f650a"} 
[2026-07-15 14:42:37] local.INFO: GPS Element Parsed {"raw_longitude":763176896,"raw_latitude":98336448,"longitude_deg":76.3176896,"latitude_deg":9.8336448,"altitude":5,"angle":181,"satellites":35,"speed":5,"hex_longitude":"2d7d27c0","hex_latitude":"05dc7ec0","is_valid_coordinates":true} 
[2026-07-15 14: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-07-15 14:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731300352001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106515511063347200,"note":"Value kept but may cause issues"} 
[2026-07-15 14:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018387910239406080,"note":"Value kept but may cause issues"} 
[2026-07-15 14:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784106643000,"timestamp_ms":1784106643000,"timestamp_seconds":1784106643,"priority":1,"record_length":96,"hex_timestamp":"0000019f650aee38"} 
[2026-07-15 14:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 14:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731300352001,"66":13059,"167":206,"85":15104,"24":5,"16":106515511063347200,"45":9018387910239406080},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-15 14:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731300352001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:42:37] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 14:42:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106515511063347200,"km_value":106515511063347.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018387910239406080,"description":"Unknown IO ID 45"} 
[2026-07-15 14:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731300352001,"power":13059,"unknown_167":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9018387910239406080}} 
[2026-07-15 14:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":133446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491231,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:42:37] local.INFO: GPS data processed {"connection_id":133446,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:42:37] local.INFO: Acknowledgment sent {"connection_id":133446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:42:42] local.INFO: TCP Data received {"connection_id":132600,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f650a55e0012d80f68005a124c00007015d30..."} 
[2026-07-15 14:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f650a55e0012d80f68005a124c00007015d30..."} 
[2026-07-15 14:42:42] local.INFO: Processing buffer {"connection_id":132600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f650a55e0012d80f68005a124c00007015d30..."} 
[2026-07-15 14:42:42] local.INFO: Packet analysis {"connection_id":132600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f650a"} 
[2026-07-15 14:42:42] local.INFO: Extracted packet for processing {"connection_id":132600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f650a"} 
[2026-07-15 14:42:42] local.INFO: GPS Element Parsed {"raw_longitude":763426432,"raw_latitude":94446784,"longitude_deg":76.3426432,"latitude_deg":9.4446784,"altitude":7,"angle":349,"satellites":48,"speed":0,"hex_longitude":"2d80f680","hex_latitude":"05a124c0","is_valid_coordinates":true} 
[2026-07-15 14:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731213312001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 14:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9149203356316530688,"note":"Value kept but may cause issues"} 
[2026-07-15 14:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784106604000,"timestamp_ms":1784106604000,"timestamp_seconds":1784106604,"priority":1,"record_length":96,"hex_timestamp":"0000019f650a55e0"} 
[2026-07-15 14:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 14:42:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731213312001,"66":26267,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9149203356316530688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731213312001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:42:42] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:42:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9149203356316530688,"description":"Unknown IO ID 45"} 
[2026-07-15 14:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731213312001,"power":26267,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9149203356316530688}} 
[2026-07-15 14:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":132600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:42:42] local.INFO: GPS data processed {"connection_id":132600,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:42:42] local.INFO: Acknowledgment sent {"connection_id":132600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:43:00] local.INFO: TCP Data received {"connection_id":133447,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133447,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:43:00] local.INFO: Processing buffer {"connection_id":133447,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:43:00] local.INFO: IMEI packet received {"connection_id":133447,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 14:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":133447,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:43:00] local.INFO: TCP Data received {"connection_id":132405,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:43:00] local.INFO: Processing buffer {"connection_id":132405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:43:00] local.INFO: IMEI packet received {"connection_id":132405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":132405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:43:01] local.INFO: TCP Data received {"connection_id":133447,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133447,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:43:01] local.INFO: Processing buffer {"connection_id":133447,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:43:01] local.INFO: IMEI packet received {"connection_id":133447,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":133447,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:43:04] local.INFO: TCP Data received {"connection_id":133447,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133447,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:43:04] local.INFO: Processing buffer {"connection_id":133447,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:43:04] local.INFO: IMEI packet received {"connection_id":133447,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":133447,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:43:05] local.INFO: TCP Data received {"connection_id":133447,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f650b1d18012d7d284005dc7f580006000522..."} 
[2026-07-15 14:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f650b1d18012d7d284005dc7f580006000522..."} 
[2026-07-15 14:43:05] local.INFO: Processing buffer {"connection_id":133447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f650b1d18012d7d284005dc7f580006000522..."} 
[2026-07-15 14:43:05] local.INFO: Packet analysis {"connection_id":133447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f650b"} 
[2026-07-15 14:43:05] local.INFO: Extracted packet for processing {"connection_id":133447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f650b"} 
[2026-07-15 14:43:05] local.INFO: GPS Element Parsed {"raw_longitude":763177024,"raw_latitude":98336600,"longitude_deg":76.3177024,"latitude_deg":9.83366,"altitude":6,"angle":5,"satellites":34,"speed":1,"hex_longitude":"2d7d2840","hex_latitude":"05dc7f58","is_valid_coordinates":true} 
[2026-07-15 14:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731300608001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106515536833150976,"note":"Value kept but may cause issues"} 
[2026-07-15 14:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018387910239371264,"note":"Value kept but may cause issues"} 
[2026-07-15 14:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784106655000,"timestamp_ms":1784106655000,"timestamp_seconds":1784106655,"priority":1,"record_length":96,"hex_timestamp":"0000019f650b1d18"} 
[2026-07-15 14:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-15 14:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303166284418478,"note":"Value kept but may cause issues"} 
[2026-07-15 14:43:05] local.WARNING: Large IO value detected {"io_id":167,"raw_value":58077557095399430,"note":"Value kept but may cause issues"} 
[2026-07-15 14:43:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 14:43:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930180302,"corrected_to":0} 
[2026-07-15 14:43:05] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2684431741,"note":"Value kept but may cause issues"} 
[2026-07-15 14:43:05] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3221609600,"note":"Value kept but may cause issues"} 
[2026-07-15 14:43:05] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3321941422,"note":"Value kept but may cause issues"} 
[2026-07-15 14:43:05] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,167,85,24,241,157,16,107,159,234,45,192,127,5,35,10,66,230,64,36,226,128,1,240,150,227,101,220,4,113,205,179,55,239,51,2,122,6],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2930180302,"validated":0}]} 
[2026-07-15 14:43:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360487132118450176,"timestamp_seconds":360487132118450.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 14:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":133447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":133447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":133447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731300608001,"66":13243,"167":206,"85":15104,"24":1,"16":106515536833150976,"45":9018387910239371264},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-15 14:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731300608001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:43:05] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 14:43:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106515536833150976,"km_value":106515536833150.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018387910239371264,"description":"Unknown IO ID 45"} 
[2026-07-15 14:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731300608001,"power":13243,"unknown_167":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9018387910239371264}} 
[2026-07-15 14:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":133447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491233,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:43:05] local.INFO: GPS data processed {"connection_id":133447,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:43:05] local.INFO: Acknowledgment sent {"connection_id":133447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:43:05] local.INFO: TCP Data received {"connection_id":132405,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:43:05] local.INFO: Processing buffer {"connection_id":132405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:43:05] local.INFO: IMEI packet received {"connection_id":132405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":132405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:43:06] local.INFO: TCP Data received {"connection_id":132405,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f650a55e0012d80f68005a124c00007015d30..."} 
[2026-07-15 14:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f650a55e0012d80f68005a124c00007015d30..."} 
[2026-07-15 14:43:06] local.INFO: Processing buffer {"connection_id":132405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f650a55e0012d80f68005a124c00007015d30..."} 
[2026-07-15 14:43:06] local.INFO: Packet analysis {"connection_id":132405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f650a"} 
[2026-07-15 14:43:06] local.INFO: Extracted packet for processing {"connection_id":132405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f650a"} 
[2026-07-15 14:43:06] local.INFO: GPS Element Parsed {"raw_longitude":763426432,"raw_latitude":94446784,"longitude_deg":76.3426432,"latitude_deg":9.4446784,"altitude":7,"angle":349,"satellites":48,"speed":0,"hex_longitude":"2d80f680","hex_latitude":"05a124c0","is_valid_coordinates":true} 
[2026-07-15 14: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-07-15 14:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731213312001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 14:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9149203356316530688,"note":"Value kept but may cause issues"} 
[2026-07-15 14:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784106604000,"timestamp_ms":1784106604000,"timestamp_seconds":1784106604,"priority":1,"record_length":96,"hex_timestamp":"0000019f650a55e0"} 
[2026-07-15 14:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 14:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14: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-07-15 14:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731213312001,"66":26267,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9149203356316530688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731213312001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:43:06] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:43:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9149203356316530688,"description":"Unknown IO ID 45"} 
[2026-07-15 14:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731213312001,"power":26267,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9149203356316530688}} 
[2026-07-15 14:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":132405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:43:06] local.INFO: GPS data processed {"connection_id":132405,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:43:06] local.INFO: Acknowledgment sent {"connection_id":132405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:43:36] local.INFO: TCP Data received {"connection_id":133447,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f650b6b38012d7d290005dc81000005000825..."} 
[2026-07-15 14:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f650b6b38012d7d290005dc81000005000825..."} 
[2026-07-15 14:43:36] local.INFO: Processing buffer {"connection_id":133447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f650b6b38012d7d290005dc81000005000825..."} 
[2026-07-15 14:43:36] local.INFO: Packet analysis {"connection_id":133447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f650b"} 
[2026-07-15 14:43:36] local.INFO: Extracted packet for processing {"connection_id":133447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f650b"} 
[2026-07-15 14:43:36] local.INFO: GPS Element Parsed {"raw_longitude":763177216,"raw_latitude":98337024,"longitude_deg":76.3177216,"latitude_deg":9.8337024,"altitude":5,"angle":8,"satellites":37,"speed":0,"hex_longitude":"2d7d2900","hex_latitude":"05dc8100","is_valid_coordinates":true} 
[2026-07-15 14:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731303680001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106515562602954752,"note":"Value kept but may cause issues"} 
[2026-07-15 14:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018528647727765504,"note":"Value kept but may cause issues"} 
[2026-07-15 14:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784106675000,"timestamp_ms":1784106675000,"timestamp_seconds":1784106675,"priority":1,"record_length":96,"hex_timestamp":"0000019f650b6b38"} 
[2026-07-15 14:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-15 14:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":133447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":133447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":133447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731303680001,"66":13059,"167":206,"85":15104,"24":0,"16":106515562602954752,"45":9018528647727765504},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-15 14:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731303680001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:43:36] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 14:43:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106515562602954752,"km_value":106515562602954.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018528647727765504,"description":"Unknown IO ID 45"} 
[2026-07-15 14:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731303680001,"power":13059,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9018528647727765504}} 
[2026-07-15 14:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":133447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491235,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:43:36] local.INFO: GPS data processed {"connection_id":133447,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:43:36] local.INFO: Acknowledgment sent {"connection_id":133447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:43:37] local.INFO: TCP Data received {"connection_id":132405,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f650a55e0012d80f68005a124c00007015d30..."} 
[2026-07-15 14:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f650a55e0012d80f68005a124c00007015d30..."} 
[2026-07-15 14:43:37] local.INFO: Processing buffer {"connection_id":132405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f650a55e0012d80f68005a124c00007015d30..."} 
[2026-07-15 14:43:37] local.INFO: Packet analysis {"connection_id":132405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f650a"} 
[2026-07-15 14:43:37] local.INFO: Extracted packet for processing {"connection_id":132405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f650a"} 
[2026-07-15 14:43:37] local.INFO: GPS Element Parsed {"raw_longitude":763426432,"raw_latitude":94446784,"longitude_deg":76.3426432,"latitude_deg":9.4446784,"altitude":7,"angle":349,"satellites":48,"speed":0,"hex_longitude":"2d80f680","hex_latitude":"05a124c0","is_valid_coordinates":true} 
[2026-07-15 14: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-07-15 14:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731213312001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 14:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9149203356316530688,"note":"Value kept but may cause issues"} 
[2026-07-15 14:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784106604000,"timestamp_ms":1784106604000,"timestamp_seconds":1784106604,"priority":1,"record_length":96,"hex_timestamp":"0000019f650a55e0"} 
[2026-07-15 14:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 14:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14: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-07-15 14:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731213312001,"66":26267,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9149203356316530688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731213312001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:43:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:43:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9149203356316530688,"description":"Unknown IO ID 45"} 
[2026-07-15 14:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731213312001,"power":26267,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9149203356316530688}} 
[2026-07-15 14:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":132405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:43:38] local.INFO: GPS data processed {"connection_id":132405,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:43:38] local.INFO: Acknowledgment sent {"connection_id":132405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:44:00] local.INFO: TCP Data received {"connection_id":132601,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132601,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:44:00] local.INFO: Processing buffer {"connection_id":132601,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:44:00] local.INFO: IMEI packet received {"connection_id":132601,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 14:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":132601,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:44:01] local.INFO: TCP Data received {"connection_id":134805,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:44:01] local.INFO: Processing buffer {"connection_id":134805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:44:01] local.INFO: IMEI packet received {"connection_id":134805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":134805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:44:04] local.INFO: TCP Data received {"connection_id":132601,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132601,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:44:04] local.INFO: Processing buffer {"connection_id":132601,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:44:04] local.INFO: IMEI packet received {"connection_id":132601,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":132601,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:44:05] local.INFO: TCP Data received {"connection_id":132601,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f650dc0e0012d7d260005dc7918000300e726..."} 
[2026-07-15 14:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f650dc0e0012d7d260005dc7918000300e726..."} 
[2026-07-15 14:44:05] local.INFO: Processing buffer {"connection_id":132601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f650dc0e0012d7d260005dc7918000300e726..."} 
[2026-07-15 14:44:05] local.INFO: Packet analysis {"connection_id":132601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f650d"} 
[2026-07-15 14:44:05] local.INFO: Extracted packet for processing {"connection_id":132601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f650d"} 
[2026-07-15 14:44:05] local.INFO: GPS Element Parsed {"raw_longitude":763176448,"raw_latitude":98335000,"longitude_deg":76.3176448,"latitude_deg":9.8335,"altitude":3,"angle":231,"satellites":38,"speed":6,"hex_longitude":"2d7d2600","hex_latitude":"05dc7918","is_valid_coordinates":true} 
[2026-07-15 14:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731347712001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106515678567071744,"note":"Value kept but may cause issues"} 
[2026-07-15 14:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018036066518140928,"note":"Value kept but may cause issues"} 
[2026-07-15 14:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784106828000,"timestamp_ms":1784106828000,"timestamp_seconds":1784106828,"priority":1,"record_length":96,"hex_timestamp":"0000019f650dc0e0"} 
[2026-07-15 14:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-15 14:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731347712001,"66":13091,"167":206,"85":15104,"24":6,"16":106515678567071744,"45":9018036066518140928},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-15 14:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731347712001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:44:05] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 14:44:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106515678567071744,"km_value":106515678567071.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018036066518140928,"description":"Unknown IO ID 45"} 
[2026-07-15 14:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731347712001,"power":13091,"unknown_167":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9018036066518140928}} 
[2026-07-15 14:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":132601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491237,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:44:05] local.INFO: GPS data processed {"connection_id":132601,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:44:05] local.INFO: Acknowledgment sent {"connection_id":132601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:44:06] local.INFO: TCP Data received {"connection_id":134805,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:44:06] local.INFO: Processing buffer {"connection_id":134805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:44:06] local.INFO: IMEI packet received {"connection_id":134805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":134805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:44:07] local.INFO: TCP Data received {"connection_id":134805,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f650a55e0012d80f68005a124c00007015d30..."} 
[2026-07-15 14:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f650a55e0012d80f68005a124c00007015d30..."} 
[2026-07-15 14:44:07] local.INFO: Processing buffer {"connection_id":134805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f650a55e0012d80f68005a124c00007015d30..."} 
[2026-07-15 14:44:07] local.INFO: Packet analysis {"connection_id":134805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f650a"} 
[2026-07-15 14:44:07] local.INFO: Extracted packet for processing {"connection_id":134805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f650a"} 
[2026-07-15 14:44:07] local.INFO: GPS Element Parsed {"raw_longitude":763426432,"raw_latitude":94446784,"longitude_deg":76.3426432,"latitude_deg":9.4446784,"altitude":7,"angle":349,"satellites":48,"speed":0,"hex_longitude":"2d80f680","hex_latitude":"05a124c0","is_valid_coordinates":true} 
[2026-07-15 14: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-07-15 14:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731213312001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 14:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9149203356316530688,"note":"Value kept but may cause issues"} 
[2026-07-15 14:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784106604000,"timestamp_ms":1784106604000,"timestamp_seconds":1784106604,"priority":1,"record_length":96,"hex_timestamp":"0000019f650a55e0"} 
[2026-07-15 14:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 14:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14: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-07-15 14:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731213312001,"66":26267,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9149203356316530688},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731213312001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:44:07] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:44:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9149203356316530688,"description":"Unknown IO ID 45"} 
[2026-07-15 14:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731213312001,"power":26267,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9149203356316530688}} 
[2026-07-15 14:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":134805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:44:07] local.INFO: GPS data processed {"connection_id":134805,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:44:07] local.INFO: Acknowledgment sent {"connection_id":134805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:44:36] local.INFO: TCP Data received {"connection_id":132601,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f650dc4c8012d7d254005dc78b8000300f326..."} 
[2026-07-15 14:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f650dc4c8012d7d254005dc78b8000300f326..."} 
[2026-07-15 14:44:36] local.INFO: Processing buffer {"connection_id":132601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f650dc4c8012d7d254005dc78b8000300f326..."} 
[2026-07-15 14:44:36] local.INFO: Packet analysis {"connection_id":132601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f650d"} 
[2026-07-15 14:44:36] local.INFO: Extracted packet for processing {"connection_id":132601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f650d"} 
[2026-07-15 14:44:36] local.INFO: GPS Element Parsed {"raw_longitude":763176256,"raw_latitude":98334904,"longitude_deg":76.3176256,"latitude_deg":9.8334904,"altitude":3,"angle":243,"satellites":38,"speed":6,"hex_longitude":"2d7d2540","hex_latitude":"05dc78b8","is_valid_coordinates":true} 
[2026-07-15 14:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731347968001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106515687157006336,"note":"Value kept but may cause issues"} 
[2026-07-15 14:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017895329029756928,"note":"Value kept but may cause issues"} 
[2026-07-15 14:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784106829000,"timestamp_ms":1784106829000,"timestamp_seconds":1784106829,"priority":1,"record_length":96,"hex_timestamp":"0000019f650dc4c8"} 
[2026-07-15 14:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-15 14:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731347968001,"66":13091,"167":206,"85":15104,"24":6,"16":106515687157006336,"45":9017895329029756928},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-15 14:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731347968001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:44:36] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 14:44:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106515687157006336,"km_value":106515687157006.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017895329029756928,"description":"Unknown IO ID 45"} 
[2026-07-15 14:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731347968001,"power":13091,"unknown_167":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9017895329029756928}} 
[2026-07-15 14:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":132601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491239,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:44:36] local.INFO: GPS data processed {"connection_id":132601,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:44:36] local.INFO: Acknowledgment sent {"connection_id":132601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:44:38] local.INFO: TCP Data received {"connection_id":134805,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f650a55e0012d80f68005a124c00007015d30..."} 
[2026-07-15 14:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f650a55e0012d80f68005a124c00007015d30..."} 
[2026-07-15 14:44:38] local.INFO: Processing buffer {"connection_id":134805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f650a55e0012d80f68005a124c00007015d30..."} 
[2026-07-15 14:44:38] local.INFO: Packet analysis {"connection_id":134805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f650a"} 
[2026-07-15 14:44:38] local.INFO: Extracted packet for processing {"connection_id":134805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f650a"} 
[2026-07-15 14:44:38] local.INFO: GPS Element Parsed {"raw_longitude":763426432,"raw_latitude":94446784,"longitude_deg":76.3426432,"latitude_deg":9.4446784,"altitude":7,"angle":349,"satellites":48,"speed":0,"hex_longitude":"2d80f680","hex_latitude":"05a124c0","is_valid_coordinates":true} 
[2026-07-15 14: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-07-15 14:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731213312001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 14:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9149203356316530688,"note":"Value kept but may cause issues"} 
[2026-07-15 14:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784106604000,"timestamp_ms":1784106604000,"timestamp_seconds":1784106604,"priority":1,"record_length":96,"hex_timestamp":"0000019f650a55e0"} 
[2026-07-15 14:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 14:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14: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-07-15 14:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731213312001,"66":26267,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9149203356316530688},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731213312001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:44:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:44:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9149203356316530688,"description":"Unknown IO ID 45"} 
[2026-07-15 14:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731213312001,"power":26267,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9149203356316530688}} 
[2026-07-15 14:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":134805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:44:38] local.INFO: GPS data processed {"connection_id":134805,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:44:38] local.INFO: Acknowledgment sent {"connection_id":134805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:44:59] local.INFO: TCP Data received {"connection_id":132406,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132406,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:44:59] local.INFO: Processing buffer {"connection_id":132406,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:44:59] local.INFO: IMEI packet received {"connection_id":132406,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 14:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":132406,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:45:03] local.INFO: TCP Data received {"connection_id":132406,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132406,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:45:03] local.INFO: Processing buffer {"connection_id":132406,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:45:03] local.INFO: IMEI packet received {"connection_id":132406,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":132406,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:45:04] local.INFO: TCP Data received {"connection_id":132406,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f650dcc98012d7d23c005dc7828000300ff25..."} 
[2026-07-15 14:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f650dcc98012d7d23c005dc7828000300ff25..."} 
[2026-07-15 14:45:04] local.INFO: Processing buffer {"connection_id":132406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f650dcc98012d7d23c005dc7828000300ff25..."} 
[2026-07-15 14:45:04] local.INFO: Packet analysis {"connection_id":132406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f650d"} 
[2026-07-15 14:45:04] local.INFO: Extracted packet for processing {"connection_id":132406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f650d"} 
[2026-07-15 14:45:04] local.INFO: GPS Element Parsed {"raw_longitude":763175872,"raw_latitude":98334760,"longitude_deg":76.3175872,"latitude_deg":9.833476,"altitude":3,"angle":255,"satellites":37,"speed":7,"hex_longitude":"2d7d23c0","hex_latitude":"05dc7828","is_valid_coordinates":true} 
[2026-07-15 14: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-07-15 14:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731348224001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106515708631842816,"note":"Value kept but may cause issues"} 
[2026-07-15 14:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017684222797199360,"note":"Value kept but may cause issues"} 
[2026-07-15 14:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784106831000,"timestamp_ms":1784106831000,"timestamp_seconds":1784106831,"priority":1,"record_length":96,"hex_timestamp":"0000019f650dcc98"} 
[2026-07-15 14:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-15 14:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14: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-07-15 14:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":132406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":132406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":132406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731348224001,"66":13091,"167":206,"85":15104,"24":7,"16":106515708631842816,"45":9017684222797199360},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-15 14:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731348224001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:45:04] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 14:45:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106515708631842816,"km_value":106515708631842.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017684222797199360,"description":"Unknown IO ID 45"} 
[2026-07-15 14:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731348224001,"power":13091,"unknown_167":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9017684222797199360}} 
[2026-07-15 14:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":132406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491241,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:45:04] local.INFO: GPS data processed {"connection_id":132406,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:45:04] local.INFO: Acknowledgment sent {"connection_id":132406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:45:06] local.INFO: TCP Data received {"connection_id":132602,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:45:06] local.INFO: Processing buffer {"connection_id":132602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:45:06] local.INFO: IMEI packet received {"connection_id":132602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":132602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:45:11] local.INFO: TCP Data received {"connection_id":132602,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:45:11] local.INFO: Processing buffer {"connection_id":132602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:45:11] local.INFO: IMEI packet received {"connection_id":132602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":132602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:45:12] local.INFO: TCP Data received {"connection_id":132602,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f650a55e0012d80f68005a124c00007015d30..."} 
[2026-07-15 14:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f650a55e0012d80f68005a124c00007015d30..."} 
[2026-07-15 14:45:12] local.INFO: Processing buffer {"connection_id":132602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f650a55e0012d80f68005a124c00007015d30..."} 
[2026-07-15 14:45:12] local.INFO: Packet analysis {"connection_id":132602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f650a"} 
[2026-07-15 14:45:12] local.INFO: Extracted packet for processing {"connection_id":132602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f650a"} 
[2026-07-15 14:45:12] local.INFO: GPS Element Parsed {"raw_longitude":763426432,"raw_latitude":94446784,"longitude_deg":76.3426432,"latitude_deg":9.4446784,"altitude":7,"angle":349,"satellites":48,"speed":0,"hex_longitude":"2d80f680","hex_latitude":"05a124c0","is_valid_coordinates":true} 
[2026-07-15 14:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731213312001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 14:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9149203356316530688,"note":"Value kept but may cause issues"} 
[2026-07-15 14:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784106604000,"timestamp_ms":1784106604000,"timestamp_seconds":1784106604,"priority":1,"record_length":96,"hex_timestamp":"0000019f650a55e0"} 
[2026-07-15 14:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 14:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:45:12] 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-07-15 14:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731213312001,"66":26267,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9149203356316530688},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731213312001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:45:12] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:45:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9149203356316530688,"description":"Unknown IO ID 45"} 
[2026-07-15 14:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731213312001,"power":26267,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9149203356316530688}} 
[2026-07-15 14:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":132602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:45:12] local.INFO: GPS data processed {"connection_id":132602,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:45:12] local.INFO: Acknowledgment sent {"connection_id":132602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:45:16] local.INFO: TCP Data received {"connection_id":132602,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f650a55e0012d80f68005a124c00007015d30..."} 
[2026-07-15 14:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f650a55e0012d80f68005a124c00007015d30..."} 
[2026-07-15 14:45:16] local.INFO: Processing buffer {"connection_id":132602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f650a55e0012d80f68005a124c00007015d30..."} 
[2026-07-15 14:45:16] local.INFO: Packet analysis {"connection_id":132602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f650a"} 
[2026-07-15 14:45:16] local.INFO: Extracted packet for processing {"connection_id":132602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f650a"} 
[2026-07-15 14:45:16] local.INFO: GPS Element Parsed {"raw_longitude":763426432,"raw_latitude":94446784,"longitude_deg":76.3426432,"latitude_deg":9.4446784,"altitude":7,"angle":349,"satellites":48,"speed":0,"hex_longitude":"2d80f680","hex_latitude":"05a124c0","is_valid_coordinates":true} 
[2026-07-15 14:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731213312001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 14:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9149203356316530688,"note":"Value kept but may cause issues"} 
[2026-07-15 14:45:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784106604000,"timestamp_ms":1784106604000,"timestamp_seconds":1784106604,"priority":1,"record_length":96,"hex_timestamp":"0000019f650a55e0"} 
[2026-07-15 14:45:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:45:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 14:45:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:45:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:45:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:45:16] 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-07-15 14:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731213312001,"66":26267,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9149203356316530688},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731213312001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:45:16] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:45:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9149203356316530688,"description":"Unknown IO ID 45"} 
[2026-07-15 14:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731213312001,"power":26267,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9149203356316530688}} 
[2026-07-15 14:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":132602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:45:16] local.INFO: GPS data processed {"connection_id":132602,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:45:16] local.INFO: Acknowledgment sent {"connection_id":132602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:45:35] local.INFO: TCP Data received {"connection_id":132406,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f650ddc38012d7d20c005dc77a00003010a26..."} 
[2026-07-15 14:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f650ddc38012d7d20c005dc77a00003010a26..."} 
[2026-07-15 14:45:35] local.INFO: Processing buffer {"connection_id":132406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f650ddc38012d7d20c005dc77a00003010a26..."} 
[2026-07-15 14:45:35] local.INFO: Packet analysis {"connection_id":132406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f650d"} 
[2026-07-15 14:45:35] local.INFO: Extracted packet for processing {"connection_id":132406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f650d"} 
[2026-07-15 14:45:35] local.INFO: GPS Element Parsed {"raw_longitude":763175104,"raw_latitude":98334624,"longitude_deg":76.3175104,"latitude_deg":9.8334624,"altitude":3,"angle":266,"satellites":38,"speed":8,"hex_longitude":"2d7d20c0","hex_latitude":"05dc77a0","is_valid_coordinates":true} 
[2026-07-15 14:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731348736001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106515742991581184,"note":"Value kept but may cause issues"} 
[2026-07-15 14:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017262010332096512,"note":"Value kept but may cause issues"} 
[2026-07-15 14:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784106835000,"timestamp_ms":1784106835000,"timestamp_seconds":1784106835,"priority":1,"record_length":96,"hex_timestamp":"0000019f650ddc38"} 
[2026-07-15 14:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-15 14:45:35] 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-07-15 14:45:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731348736001,"66":13091,"167":206,"85":15104,"24":8,"16":106515742991581184,"45":9017262010332096512},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-15 14:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731348736001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:45:35] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 14:45:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106515742991581184,"km_value":106515742991581.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017262010332096512,"description":"Unknown IO ID 45"} 
[2026-07-15 14:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731348736001,"power":13091,"unknown_167":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9017262010332096512}} 
[2026-07-15 14:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":132406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491244,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:45:35] local.INFO: GPS data processed {"connection_id":132406,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:45:35] local.INFO: Acknowledgment sent {"connection_id":132406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:45:59] local.INFO: TCP Data received {"connection_id":133450,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133450,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:45:59] local.INFO: Processing buffer {"connection_id":133450,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:45:59] local.INFO: IMEI packet received {"connection_id":133450,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 14:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":133450,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:46:01] local.INFO: TCP Data received {"connection_id":133449,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:46:01] local.INFO: Processing buffer {"connection_id":133449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:46:01] local.INFO: IMEI packet received {"connection_id":133449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":133449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:46:04] local.INFO: TCP Data received {"connection_id":133450,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133450,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:46:04] local.INFO: Processing buffer {"connection_id":133450,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:46:04] local.INFO: IMEI packet received {"connection_id":133450,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":133450,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:46:04] local.INFO: TCP Data received {"connection_id":133450,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133450,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:46:04] local.INFO: Processing buffer {"connection_id":133450,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:46:04] local.INFO: IMEI packet received {"connection_id":133450,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":133450,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:46:05] local.INFO: TCP Data received {"connection_id":133450,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f650f5ef0012d7d130005dc2b680009009825..."} 
[2026-07-15 14:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f650f5ef0012d7d130005dc2b680009009825..."} 
[2026-07-15 14:46:05] local.INFO: Processing buffer {"connection_id":133450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f650f5ef0012d7d130005dc2b680009009825..."} 
[2026-07-15 14:46:05] local.INFO: Packet analysis {"connection_id":133450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f650f"} 
[2026-07-15 14:46:05] local.INFO: Extracted packet for processing {"connection_id":133450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f650f"} 
[2026-07-15 14:46:05] local.INFO: GPS Element Parsed {"raw_longitude":763171584,"raw_latitude":98315112,"longitude_deg":76.3171584,"latitude_deg":9.8315112,"altitude":9,"angle":152,"satellites":37,"speed":9,"hex_longitude":"2d7d1300","hex_latitude":"05dc2b68","is_valid_coordinates":true} 
[2026-07-15 14:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731372544001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106516962762293248,"note":"Value kept but may cause issues"} 
[2026-07-15 14:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012265829491171328,"note":"Value kept but may cause issues"} 
[2026-07-15 14:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784106934000,"timestamp_ms":1784106934000,"timestamp_seconds":1784106934,"priority":1,"record_length":96,"hex_timestamp":"0000019f650f5ef0"} 
[2026-07-15 14:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-15 14:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303166099869102,"note":"Value kept but may cause issues"} 
[2026-07-15 14:46:05] local.WARNING: Large IO value detected {"io_id":167,"raw_value":58077557095399431,"note":"Value kept but may cause issues"} 
[2026-07-15 14:46:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 14:46:05] local.WARNING: Large IO value detected {"io_id":6,"raw_value":2147867759,"note":"Value kept but may cause issues"} 
[2026-07-15 14:46:05] local.WARNING: Large IO value detected {"io_id":107,"raw_value":4026531840,"note":"Value kept but may cause issues"} 
[2026-07-15 14:46:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930180302,"corrected_to":0} 
[2026-07-15 14:46:05] local.WARNING: Large IO value detected {"io_id":116,"raw_value":2415996285,"note":"Value kept but may cause issues"} 
[2026-07-15 14:46:05] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3321941422,"note":"Value kept but may cause issues"} 
[2026-07-15 14:46:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3698356224,"note":"Value kept but may cause issues"} 
[2026-07-15 14:46:05] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,167,85,24,241,157,16,108,159,45,128,64,7,39,10,66,225,70,6,38,147,1,240,166,227,107,101,220,4,113,205,9,116,168,40,239,51,2,122,5,3],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2930180302,"validated":0}]} 
[2026-07-15 14:46:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648705426527289344,"timestamp_seconds":648705426527289.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 14:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":133450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":133450,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":133450,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731372544001,"66":13048,"167":206,"85":15104,"24":9,"16":106516962762293248,"45":9012265829491171328},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-15 14:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731372544001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:46:05] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 14:46:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106516962762293248,"km_value":106516962762293.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012265829491171328,"description":"Unknown IO ID 45"} 
[2026-07-15 14:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731372544001,"power":13048,"unknown_167":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9012265829491171328}} 
[2026-07-15 14:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":133450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491245,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:46:05] local.INFO: GPS data processed {"connection_id":133450,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:46:05] local.INFO: Acknowledgment sent {"connection_id":133450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:46:06] local.INFO: TCP Data received {"connection_id":133449,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:46:06] local.INFO: Processing buffer {"connection_id":133449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:46:06] local.INFO: IMEI packet received {"connection_id":133449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":133449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:46:08] local.INFO: TCP Data received {"connection_id":133449,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f650eeda8012d80f68005a124c00007015d2e..."} 
[2026-07-15 14:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f650eeda8012d80f68005a124c00007015d2e..."} 
[2026-07-15 14:46:08] local.INFO: Processing buffer {"connection_id":133449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f650eeda8012d80f68005a124c00007015d2e..."} 
[2026-07-15 14:46:08] local.INFO: Packet analysis {"connection_id":133449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f650e"} 
[2026-07-15 14:46:08] local.INFO: Extracted packet for processing {"connection_id":133449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f650e"} 
[2026-07-15 14:46:08] local.INFO: GPS Element Parsed {"raw_longitude":763426432,"raw_latitude":94446784,"longitude_deg":76.3426432,"latitude_deg":9.4446784,"altitude":7,"angle":349,"satellites":46,"speed":0,"hex_longitude":"2d80f680","hex_latitude":"05a124c0","is_valid_coordinates":true} 
[2026-07-15 14:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731290624001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 14:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9153988430917222400,"note":"Value kept but may cause issues"} 
[2026-07-15 14:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784106905000,"timestamp_ms":1784106905000,"timestamp_seconds":1784106905,"priority":1,"record_length":96,"hex_timestamp":"0000019f650eeda8"} 
[2026-07-15 14:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-15 14:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":133449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":133449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":133449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731290624001,"66":26147,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9153988430917222400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731290624001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:46:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:46:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9153988430917222400,"description":"Unknown IO ID 45"} 
[2026-07-15 14:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731290624001,"power":26147,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9153988430917222400}} 
[2026-07-15 14:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":133449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:46:08] local.INFO: GPS data processed {"connection_id":133449,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:46:08] local.INFO: Acknowledgment sent {"connection_id":133449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:46:10] local.INFO: TCP Data received {"connection_id":133450,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f650f62d8012d7d13c005dc2ad80009008325..."} 
[2026-07-15 14:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f650f62d8012d7d13c005dc2ad80009008325..."} 
[2026-07-15 14:46:10] local.INFO: Processing buffer {"connection_id":133450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f650f62d8012d7d13c005dc2ad80009008325..."} 
[2026-07-15 14:46:10] local.INFO: Packet analysis {"connection_id":133450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f650f"} 
[2026-07-15 14:46:10] local.INFO: Extracted packet for processing {"connection_id":133450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f650f"} 
[2026-07-15 14:46:10] local.INFO: GPS Element Parsed {"raw_longitude":763171776,"raw_latitude":98314968,"longitude_deg":76.3171776,"latitude_deg":9.8314968,"altitude":9,"angle":131,"satellites":37,"speed":5,"hex_longitude":"2d7d13c0","hex_latitude":"05dc2ad8","is_valid_coordinates":true} 
[2026-07-15 14:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731375104001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106516971352227840,"note":"Value kept but may cause issues"} 
[2026-07-15 14:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012547304467163136,"note":"Value kept but may cause issues"} 
[2026-07-15 14:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784106935000,"timestamp_ms":1784106935000,"timestamp_seconds":1784106935,"priority":1,"record_length":96,"hex_timestamp":"0000019f650f62d8"} 
[2026-07-15 14:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-15 14:46:10] 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-07-15 14:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":133450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":133450,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":133450,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731375104001,"66":13048,"167":206,"85":15104,"24":5,"16":106516971352227840,"45":9012547304467163136},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-15 14:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731375104001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:46:10] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 14:46:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106516971352227840,"km_value":106516971352227.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012547304467163136,"description":"Unknown IO ID 45"} 
[2026-07-15 14:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731375104001,"power":13048,"unknown_167":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9012547304467163136}} 
[2026-07-15 14:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":133450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491247,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:46:10] local.INFO: GPS data processed {"connection_id":133450,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:46:10] local.INFO: Acknowledgment sent {"connection_id":133450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:46:39] local.INFO: TCP Data received {"connection_id":133449,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f650eeda8012d80f68005a124c00007015d2e..."} 
[2026-07-15 14:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f650eeda8012d80f68005a124c00007015d2e..."} 
[2026-07-15 14:46:39] local.INFO: Processing buffer {"connection_id":133449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f650eeda8012d80f68005a124c00007015d2e..."} 
[2026-07-15 14:46:39] local.INFO: Packet analysis {"connection_id":133449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f650e"} 
[2026-07-15 14:46:39] local.INFO: Extracted packet for processing {"connection_id":133449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f650e"} 
[2026-07-15 14:46:39] local.INFO: GPS Element Parsed {"raw_longitude":763426432,"raw_latitude":94446784,"longitude_deg":76.3426432,"latitude_deg":9.4446784,"altitude":7,"angle":349,"satellites":46,"speed":0,"hex_longitude":"2d80f680","hex_latitude":"05a124c0","is_valid_coordinates":true} 
[2026-07-15 14:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731290624001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 14:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9153988430917222400,"note":"Value kept but may cause issues"} 
[2026-07-15 14:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784106905000,"timestamp_ms":1784106905000,"timestamp_seconds":1784106905,"priority":1,"record_length":96,"hex_timestamp":"0000019f650eeda8"} 
[2026-07-15 14:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-15 14:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:46: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-07-15 14:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731290624001,"66":26147,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9153988430917222400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731290624001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:46:39] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:46:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9153988430917222400,"description":"Unknown IO ID 45"} 
[2026-07-15 14:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731290624001,"power":26147,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9153988430917222400}} 
[2026-07-15 14:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":133449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:46:39] local.INFO: GPS data processed {"connection_id":133449,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:46:39] local.INFO: Acknowledgment sent {"connection_id":133449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:46:42] local.INFO: TCP Data received {"connection_id":133450,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f650f89e8012d7d180005dc2a68000a005d27..."} 
[2026-07-15 14:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f650f89e8012d7d180005dc2a68000a005d27..."} 
[2026-07-15 14:46:42] local.INFO: Processing buffer {"connection_id":133450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f650f89e8012d7d180005dc2a68000a005d27..."} 
[2026-07-15 14:46:42] local.INFO: Packet analysis {"connection_id":133450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f650f"} 
[2026-07-15 14:46:42] local.INFO: Extracted packet for processing {"connection_id":133450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f650f"} 
[2026-07-15 14:46:42] local.INFO: GPS Element Parsed {"raw_longitude":763172864,"raw_latitude":98314856,"longitude_deg":76.3172864,"latitude_deg":9.8314856,"altitude":10,"angle":93,"satellites":39,"speed":6,"hex_longitude":"2d7d1800","hex_latitude":"05dc2a68","is_valid_coordinates":true} 
[2026-07-15 14:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731375360001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106517022891835392,"note":"Value kept but may cause issues"} 
[2026-07-15 14:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012758410699659264,"note":"Value kept but may cause issues"} 
[2026-07-15 14:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784106945000,"timestamp_ms":1784106945000,"timestamp_seconds":1784106945,"priority":1,"record_length":96,"hex_timestamp":"0000019f650f89e8"} 
[2026-07-15 14:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-15 14:46:42] 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-07-15 14:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":133450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":133450,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":133450,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731375360001,"66":13254,"167":206,"85":15104,"24":6,"16":106517022891835392,"45":9012758410699659264},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-15 14:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731375360001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:46:42] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 14:46:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106517022891835392,"km_value":106517022891835.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012758410699659264,"description":"Unknown IO ID 45"} 
[2026-07-15 14:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731375360001,"power":13254,"unknown_167":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9012758410699659264}} 
[2026-07-15 14:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":133450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491249,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:46:42] local.INFO: GPS data processed {"connection_id":133450,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:46:42] local.INFO: Acknowledgment sent {"connection_id":133450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:46:59] local.INFO: TCP Data received {"connection_id":132604,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132604,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:46:59] local.INFO: Processing buffer {"connection_id":132604,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:46:59] local.INFO: IMEI packet received {"connection_id":132604,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 14:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":132604,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:47:01] local.INFO: TCP Data received {"connection_id":132605,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:47:01] local.INFO: Processing buffer {"connection_id":132605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:47:01] local.INFO: IMEI packet received {"connection_id":132605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":132605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:47:03] local.INFO: TCP Data received {"connection_id":132606,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132606,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:47:03] local.INFO: Processing buffer {"connection_id":132606,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:47:03] local.INFO: IMEI packet received {"connection_id":132606,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 14:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":132606,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:47:04] local.INFO: TCP Data received {"connection_id":132606,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132606,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:47:04] local.INFO: Processing buffer {"connection_id":132606,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:47:04] local.INFO: IMEI packet received {"connection_id":132606,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":132606,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:47:06] local.INFO: TCP Data received {"connection_id":132605,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:47:06] local.INFO: Processing buffer {"connection_id":132605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:47:06] local.INFO: IMEI packet received {"connection_id":132605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":132605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:47:07] local.INFO: TCP Data received {"connection_id":132605,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f650eeda8012d80f68005a124c00007015d2e..."} 
[2026-07-15 14:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f650eeda8012d80f68005a124c00007015d2e..."} 
[2026-07-15 14:47:07] local.INFO: Processing buffer {"connection_id":132605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f650eeda8012d80f68005a124c00007015d2e..."} 
[2026-07-15 14:47:07] local.INFO: Packet analysis {"connection_id":132605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f650e"} 
[2026-07-15 14:47:07] local.INFO: Extracted packet for processing {"connection_id":132605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f650e"} 
[2026-07-15 14:47:07] local.INFO: GPS Element Parsed {"raw_longitude":763426432,"raw_latitude":94446784,"longitude_deg":76.3426432,"latitude_deg":9.4446784,"altitude":7,"angle":349,"satellites":46,"speed":0,"hex_longitude":"2d80f680","hex_latitude":"05a124c0","is_valid_coordinates":true} 
[2026-07-15 14:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731290624001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 14:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9153988430917222400,"note":"Value kept but may cause issues"} 
[2026-07-15 14:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784106905000,"timestamp_ms":1784106905000,"timestamp_seconds":1784106905,"priority":1,"record_length":96,"hex_timestamp":"0000019f650eeda8"} 
[2026-07-15 14:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-15 14:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731290624001,"66":26147,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9153988430917222400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731290624001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:47:07] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:47:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9153988430917222400,"description":"Unknown IO ID 45"} 
[2026-07-15 14:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731290624001,"power":26147,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9153988430917222400}} 
[2026-07-15 14:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":132605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:47:07] local.INFO: GPS data processed {"connection_id":132605,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:47:07] local.INFO: Acknowledgment sent {"connection_id":132605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:47:09] local.INFO: TCP Data received {"connection_id":132606,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132606,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:47:09] local.INFO: Processing buffer {"connection_id":132606,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:47:09] local.INFO: IMEI packet received {"connection_id":132606,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":132606,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:47:12] local.INFO: TCP Data received {"connection_id":132606,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f650f95a0012d7d1a4005dc2a08000a006d27..."} 
[2026-07-15 14:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f650f95a0012d7d1a4005dc2a08000a006d27..."} 
[2026-07-15 14:47:12] local.INFO: Processing buffer {"connection_id":132606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f650f95a0012d7d1a4005dc2a08000a006d27..."} 
[2026-07-15 14:47:12] local.INFO: Packet analysis {"connection_id":132606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f650f"} 
[2026-07-15 14:47:12] local.INFO: Extracted packet for processing {"connection_id":132606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f650f"} 
[2026-07-15 14:47:12] local.INFO: GPS Element Parsed {"raw_longitude":763173440,"raw_latitude":98314760,"longitude_deg":76.317344,"latitude_deg":9.831476,"altitude":10,"angle":109,"satellites":39,"speed":10,"hex_longitude":"2d7d1a40","hex_latitude":"05dc2a08","is_valid_coordinates":true} 
[2026-07-15 14:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731377920001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106517052956606464,"note":"Value kept but may cause issues"} 
[2026-07-15 14:47:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013954679350650880,"note":"Value kept but may cause issues"} 
[2026-07-15 14:47:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784106948000,"timestamp_ms":1784106948000,"timestamp_seconds":1784106948,"priority":1,"record_length":96,"hex_timestamp":"0000019f650f95a0"} 
[2026-07-15 14:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:47:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-15 14:47:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:47:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731377920001,"66":13135,"167":206,"85":15104,"24":10,"16":106517052956606464,"45":9013954679350650880},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-15 14:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731377920001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:47:12] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 14:47:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106517052956606464,"km_value":106517052956606.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:47:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013954679350650880,"description":"Unknown IO ID 45"} 
[2026-07-15 14:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731377920001,"power":13135,"unknown_167":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9013954679350650880}} 
[2026-07-15 14:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":132606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491251,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:47:12] local.INFO: GPS data processed {"connection_id":132606,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:47:12] local.INFO: Acknowledgment sent {"connection_id":132606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:47:14] local.INFO: TCP Data received {"connection_id":132606,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f650f9988012d7d1b4005dc2978000a008927..."} 
[2026-07-15 14:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f650f9988012d7d1b4005dc2978000a008927..."} 
[2026-07-15 14:47:14] local.INFO: Processing buffer {"connection_id":132606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f650f9988012d7d1b4005dc2978000a008927..."} 
[2026-07-15 14:47:14] local.INFO: Packet analysis {"connection_id":132606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f650f"} 
[2026-07-15 14:47:14] local.INFO: Extracted packet for processing {"connection_id":132606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f650f"} 
[2026-07-15 14:47:14] local.INFO: GPS Element Parsed {"raw_longitude":763173696,"raw_latitude":98314616,"longitude_deg":76.3173696,"latitude_deg":9.8314616,"altitude":10,"angle":137,"satellites":39,"speed":11,"hex_longitude":"2d7d1b40","hex_latitude":"05dc2978","is_valid_coordinates":true} 
[2026-07-15 14:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731378688001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106517065841508352,"note":"Value kept but may cause issues"} 
[2026-07-15 14:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014587998048225280,"note":"Value kept but may cause issues"} 
[2026-07-15 14:47:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784106949000,"timestamp_ms":1784106949000,"timestamp_seconds":1784106949,"priority":1,"record_length":96,"hex_timestamp":"0000019f650f9988"} 
[2026-07-15 14:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:47:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-15 14:47:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:47:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":132606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":132606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":132606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:47:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731378688001,"66":13135,"167":206,"85":15104,"24":11,"16":106517065841508352,"45":9014587998048225280},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-15 14:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731378688001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:47:14] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 14:47:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106517065841508352,"km_value":106517065841508.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014587998048225280,"description":"Unknown IO ID 45"} 
[2026-07-15 14:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731378688001,"power":13135,"unknown_167":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9014587998048225280}} 
[2026-07-15 14:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":132606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491252,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:47:14] local.INFO: GPS data processed {"connection_id":132606,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:47:14] local.INFO: Acknowledgment sent {"connection_id":132606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:47:34] local.INFO: TCP Data received {"connection_id":134806,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134806,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:47:34] local.INFO: Processing buffer {"connection_id":134806,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:47:34] local.INFO: IMEI packet received {"connection_id":134806,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 14:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":134806,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:47:38] local.INFO: TCP Data received {"connection_id":132605,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f650eeda8012d80f68005a124c00007015d2e..."} 
[2026-07-15 14:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f650eeda8012d80f68005a124c00007015d2e..."} 
[2026-07-15 14:47:38] local.INFO: Processing buffer {"connection_id":132605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f650eeda8012d80f68005a124c00007015d2e..."} 
[2026-07-15 14:47:38] local.INFO: Packet analysis {"connection_id":132605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f650e"} 
[2026-07-15 14:47:38] local.INFO: Extracted packet for processing {"connection_id":132605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f650e"} 
[2026-07-15 14:47:38] local.INFO: GPS Element Parsed {"raw_longitude":763426432,"raw_latitude":94446784,"longitude_deg":76.3426432,"latitude_deg":9.4446784,"altitude":7,"angle":349,"satellites":46,"speed":0,"hex_longitude":"2d80f680","hex_latitude":"05a124c0","is_valid_coordinates":true} 
[2026-07-15 14:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731290624001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 14:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9153988430917222400,"note":"Value kept but may cause issues"} 
[2026-07-15 14:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784106905000,"timestamp_ms":1784106905000,"timestamp_seconds":1784106905,"priority":1,"record_length":96,"hex_timestamp":"0000019f650eeda8"} 
[2026-07-15 14:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-15 14:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731290624001,"66":26147,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9153988430917222400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731290624001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:47:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:47:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9153988430917222400,"description":"Unknown IO ID 45"} 
[2026-07-15 14:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731290624001,"power":26147,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9153988430917222400}} 
[2026-07-15 14:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":132605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:47:38] local.INFO: GPS data processed {"connection_id":132605,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:47:38] local.INFO: Acknowledgment sent {"connection_id":132605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:47:39] local.INFO: TCP Data received {"connection_id":134806,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134806,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:47:39] local.INFO: Processing buffer {"connection_id":134806,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:47:39] local.INFO: IMEI packet received {"connection_id":134806,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 14:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":134806,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:47:41] local.INFO: TCP Data received {"connection_id":134806,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f65009d98012d057ec006f97010001a016023..."} 
[2026-07-15 14:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65009d98012d057ec006f97010001a016023..."} 
[2026-07-15 14:47:41] local.INFO: Processing buffer {"connection_id":134806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65009d98012d057ec006f97010001a016023..."} 
[2026-07-15 14:47:41] local.INFO: Packet analysis {"connection_id":134806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6500"} 
[2026-07-15 14:47:41] local.INFO: Extracted packet for processing {"connection_id":134806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6500"} 
[2026-07-15 14:47:41] local.INFO: GPS Element Parsed {"raw_longitude":755334848,"raw_latitude":117010448,"longitude_deg":75.5334848,"latitude_deg":11.7010448,"altitude":26,"angle":352,"satellites":35,"speed":0,"hex_longitude":"2d057ec0","hex_latitude":"06f97010","is_valid_coordinates":true} 
[2026-07-15 14:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731050240001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":136612558814576640,"note":"Value kept but may cause issues"} 
[2026-07-15 14:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":396246428419086336,"note":"Value kept but may cause issues"} 
[2026-07-15 14:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784105967000,"timestamp_ms":1784105967000,"timestamp_seconds":1784105967,"priority":1,"record_length":96,"hex_timestamp":"0000019f65009d98"} 
[2026-07-15 14:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-15 14:47:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1464,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":134806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":134806,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 14:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":134806,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 14:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 14:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 14:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731050240001,"66":26789,"5":206,"94":11008,"24":0,"16":136612558814576640,"45":396246428419086336},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,94,24,16,45]} 
[2026-07-15 14:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 14:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 14:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731050240001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:47:41] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-07-15 14:47:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 14:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":136612558814576640,"km_value":136612558814576.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":396246428419086336,"description":"Unknown IO ID 45"} 
[2026-07-15 14:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731050240001,"power":26789,"unknown_5":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":396246428419086336}} 
[2026-07-15 14:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":134806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491254,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:47:41] local.INFO: GPS data processed {"connection_id":134806,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:47:41] local.INFO: Acknowledgment sent {"connection_id":134806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:47:58] local.INFO: TCP Data received {"connection_id":132607,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132607,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:47:58] local.INFO: Processing buffer {"connection_id":132607,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:47:58] local.INFO: IMEI packet received {"connection_id":132607,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 14:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":132607,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:47:59] local.INFO: TCP Data received {"connection_id":132607,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132607,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:47:59] local.INFO: Processing buffer {"connection_id":132607,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:47:59] local.INFO: IMEI packet received {"connection_id":132607,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":132607,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:48:01] local.INFO: TCP Data received {"connection_id":132608,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:48:01] local.INFO: Processing buffer {"connection_id":132608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:48:01] local.INFO: IMEI packet received {"connection_id":132608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":132608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:48:02] local.INFO: TCP Data received {"connection_id":132607,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132607,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:48:02] local.INFO: Processing buffer {"connection_id":132607,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:48:02] local.INFO: IMEI packet received {"connection_id":132607,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":132607,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:48:03] local.INFO: TCP Data received {"connection_id":132607,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f65114738012d7d2a0005dbb590000800d926..."} 
[2026-07-15 14:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65114738012d7d2a0005dbb590000800d926..."} 
[2026-07-15 14:48:03] local.INFO: Processing buffer {"connection_id":132607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65114738012d7d2a0005dbb590000800d926..."} 
[2026-07-15 14:48:03] local.INFO: Packet analysis {"connection_id":132607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6511"} 
[2026-07-15 14:48:03] local.INFO: Extracted packet for processing {"connection_id":132607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6511"} 
[2026-07-15 14:48:03] local.INFO: GPS Element Parsed {"raw_longitude":763177472,"raw_latitude":98284944,"longitude_deg":76.3177472,"latitude_deg":9.8284944,"altitude":8,"angle":217,"satellites":38,"speed":22,"hex_longitude":"2d7d2a00","hex_latitude":"05dbb590","is_valid_coordinates":true} 
[2026-07-15 14:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731406336001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106518551900192768,"note":"Value kept but may cause issues"} 
[2026-07-15 14:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019724916365936640,"note":"Value kept but may cause issues"} 
[2026-07-15 14:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784107059000,"timestamp_ms":1784107059000,"timestamp_seconds":1784107059,"priority":1,"record_length":96,"hex_timestamp":"0000019f65114738"} 
[2026-07-15 14:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-15 14:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":132607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":132607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":132607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731406336001,"66":13048,"186":206,"85":15104,"24":22,"16":106518551900192768,"45":9019724916365936640},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-07-15 14:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731406336001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:48:03] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-15 14:48:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106518551900192768,"km_value":106518551900192.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019724916365936640,"description":"Unknown IO ID 45"} 
[2026-07-15 14:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731406336001,"power":13048,"unknown_186":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9019724916365936640}} 
[2026-07-15 14:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":132607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491255,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:48:03] local.INFO: GPS data processed {"connection_id":132607,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:48:03] local.INFO: Acknowledgment sent {"connection_id":132607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:48:06] local.INFO: TCP Data received {"connection_id":132608,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:48:06] local.INFO: Processing buffer {"connection_id":132608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:48:06] local.INFO: IMEI packet received {"connection_id":132608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":132608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:48:07] local.INFO: TCP Data received {"connection_id":132608,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f650eeda8012d80f68005a124c00007015d2e..."} 
[2026-07-15 14:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f650eeda8012d80f68005a124c00007015d2e..."} 
[2026-07-15 14:48:07] local.INFO: Processing buffer {"connection_id":132608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f650eeda8012d80f68005a124c00007015d2e..."} 
[2026-07-15 14:48:07] local.INFO: Packet analysis {"connection_id":132608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f650e"} 
[2026-07-15 14:48:07] local.INFO: Extracted packet for processing {"connection_id":132608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f650e"} 
[2026-07-15 14:48:07] local.INFO: GPS Element Parsed {"raw_longitude":763426432,"raw_latitude":94446784,"longitude_deg":76.3426432,"latitude_deg":9.4446784,"altitude":7,"angle":349,"satellites":46,"speed":0,"hex_longitude":"2d80f680","hex_latitude":"05a124c0","is_valid_coordinates":true} 
[2026-07-15 14:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731290624001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 14:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9153988430917222400,"note":"Value kept but may cause issues"} 
[2026-07-15 14:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784106905000,"timestamp_ms":1784106905000,"timestamp_seconds":1784106905,"priority":1,"record_length":96,"hex_timestamp":"0000019f650eeda8"} 
[2026-07-15 14:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-15 14:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731290624001,"66":26147,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9153988430917222400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731290624001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:48:07] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:48:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9153988430917222400,"description":"Unknown IO ID 45"} 
[2026-07-15 14:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731290624001,"power":26147,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9153988430917222400}} 
[2026-07-15 14:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":132608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:48:07] local.INFO: GPS data processed {"connection_id":132608,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:48:07] local.INFO: Acknowledgment sent {"connection_id":132608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:48:24] local.INFO: TCP Data received {"connection_id":133451,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133451,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:48:24] local.INFO: Processing buffer {"connection_id":133451,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:48:24] local.INFO: IMEI packet received {"connection_id":133451,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 14:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":133451,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:48:34] local.INFO: TCP Data received {"connection_id":132607,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f6511d7c0012d7cf38005db88f8000800fa26..."} 
[2026-07-15 14:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6511d7c0012d7cf38005db88f8000800fa26..."} 
[2026-07-15 14:48:34] local.INFO: Processing buffer {"connection_id":132607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6511d7c0012d7cf38005db88f8000800fa26..."} 
[2026-07-15 14:48:34] local.INFO: Packet analysis {"connection_id":132607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6511"} 
[2026-07-15 14:48:34] local.INFO: Extracted packet for processing {"connection_id":132607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6511"} 
[2026-07-15 14:48:34] local.INFO: GPS Element Parsed {"raw_longitude":763163520,"raw_latitude":98273528,"longitude_deg":76.316352,"latitude_deg":9.8273528,"altitude":8,"angle":250,"satellites":38,"speed":23,"hex_longitude":"2d7cf380","hex_latitude":"05db88f8","is_valid_coordinates":true} 
[2026-07-15 14:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731416320001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106519599872212992,"note":"Value kept but may cause issues"} 
[2026-07-15 14:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004454898876123136,"note":"Value kept but may cause issues"} 
[2026-07-15 14:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784107096000,"timestamp_ms":1784107096000,"timestamp_seconds":1784107096,"priority":1,"record_length":96,"hex_timestamp":"0000019f6511d7c0"} 
[2026-07-15 14:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-15 14:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":132607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":132607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":132607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731416320001,"66":13102,"186":206,"85":15104,"24":23,"16":106519599872212992,"45":9004454898876123136},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-07-15 14:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731416320001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:48:34] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-15 14:48:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106519599872212992,"km_value":106519599872212.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004454898876123136,"description":"Unknown IO ID 45"} 
[2026-07-15 14:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731416320001,"power":13102,"unknown_186":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9004454898876123136}} 
[2026-07-15 14:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":132607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491257,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:48:34] local.INFO: GPS data processed {"connection_id":132607,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:48:34] local.INFO: Acknowledgment sent {"connection_id":132607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:48:38] local.INFO: TCP Data received {"connection_id":132608,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f650eeda8012d80f68005a124c00007015d2e..."} 
[2026-07-15 14:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f650eeda8012d80f68005a124c00007015d2e..."} 
[2026-07-15 14:48:38] local.INFO: Processing buffer {"connection_id":132608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f650eeda8012d80f68005a124c00007015d2e..."} 
[2026-07-15 14:48:38] local.INFO: Packet analysis {"connection_id":132608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f650e"} 
[2026-07-15 14:48:38] local.INFO: Extracted packet for processing {"connection_id":132608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f650e"} 
[2026-07-15 14:48:38] local.INFO: GPS Element Parsed {"raw_longitude":763426432,"raw_latitude":94446784,"longitude_deg":76.3426432,"latitude_deg":9.4446784,"altitude":7,"angle":349,"satellites":46,"speed":0,"hex_longitude":"2d80f680","hex_latitude":"05a124c0","is_valid_coordinates":true} 
[2026-07-15 14: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-07-15 14:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731290624001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 14:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9153988430917222400,"note":"Value kept but may cause issues"} 
[2026-07-15 14:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784106905000,"timestamp_ms":1784106905000,"timestamp_seconds":1784106905,"priority":1,"record_length":96,"hex_timestamp":"0000019f650eeda8"} 
[2026-07-15 14:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-15 14:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14: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-07-15 14:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731290624001,"66":26147,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9153988430917222400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731290624001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:48:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:48:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9153988430917222400,"description":"Unknown IO ID 45"} 
[2026-07-15 14:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731290624001,"power":26147,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9153988430917222400}} 
[2026-07-15 14:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":132608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:48:38] local.INFO: GPS data processed {"connection_id":132608,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:48:38] local.INFO: Acknowledgment sent {"connection_id":132608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:48:54] local.INFO: TCP Data received {"connection_id":134807,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134807,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:48:54] local.INFO: Processing buffer {"connection_id":134807,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:48:54] local.INFO: IMEI packet received {"connection_id":134807,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 14:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":134807,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:48:57] local.INFO: TCP Data received {"connection_id":132407,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132407,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:48:57] local.INFO: Processing buffer {"connection_id":132407,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:48:57] local.INFO: IMEI packet received {"connection_id":132407,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 14:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":132407,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:48:58] local.INFO: TCP Data received {"connection_id":132407,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132407,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:48:58] local.INFO: Processing buffer {"connection_id":132407,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:48:58] local.INFO: IMEI packet received {"connection_id":132407,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":132407,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:48:59] local.INFO: TCP Data received {"connection_id":132407,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132407,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:48:59] local.INFO: Processing buffer {"connection_id":132407,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:48:59] local.INFO: IMEI packet received {"connection_id":132407,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":132407,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:48:59] local.INFO: TCP Data received {"connection_id":132407,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132407,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:48:59] local.INFO: Processing buffer {"connection_id":132407,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:48:59] local.INFO: IMEI packet received {"connection_id":132407,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":132407,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:49:00] local.INFO: TCP Data received {"connection_id":132609,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:49:00] local.INFO: Processing buffer {"connection_id":132609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:49:00] local.INFO: IMEI packet received {"connection_id":132609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":132609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:49:07] local.INFO: TCP Data received {"connection_id":132609,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:49:07] local.INFO: Processing buffer {"connection_id":132609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:49:07] local.INFO: IMEI packet received {"connection_id":132609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":132609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:49:08] local.INFO: TCP Data received {"connection_id":132609,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f650eeda8012d80f68005a124c00007015d2e..."} 
[2026-07-15 14:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f650eeda8012d80f68005a124c00007015d2e..."} 
[2026-07-15 14:49:08] local.INFO: Processing buffer {"connection_id":132609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f650eeda8012d80f68005a124c00007015d2e..."} 
[2026-07-15 14:49:08] local.INFO: Packet analysis {"connection_id":132609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f650e"} 
[2026-07-15 14:49:08] local.INFO: Extracted packet for processing {"connection_id":132609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f650e"} 
[2026-07-15 14:49:08] local.INFO: GPS Element Parsed {"raw_longitude":763426432,"raw_latitude":94446784,"longitude_deg":76.3426432,"latitude_deg":9.4446784,"altitude":7,"angle":349,"satellites":46,"speed":0,"hex_longitude":"2d80f680","hex_latitude":"05a124c0","is_valid_coordinates":true} 
[2026-07-15 14:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731290624001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 14:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9153988430917222400,"note":"Value kept but may cause issues"} 
[2026-07-15 14:49:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784106905000,"timestamp_ms":1784106905000,"timestamp_seconds":1784106905,"priority":1,"record_length":96,"hex_timestamp":"0000019f650eeda8"} 
[2026-07-15 14:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-15 14:49:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:49:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:49:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731290624001,"66":26147,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9153988430917222400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731290624001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:49:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:49:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9153988430917222400,"description":"Unknown IO ID 45"} 
[2026-07-15 14:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731290624001,"power":26147,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9153988430917222400}} 
[2026-07-15 14:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":132609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:49:08] local.INFO: GPS data processed {"connection_id":132609,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:49:08] local.INFO: Acknowledgment sent {"connection_id":132609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:49:11] local.INFO: TCP Data received {"connection_id":132609,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f650eeda8012d80f68005a124c00007015d2e..."} 
[2026-07-15 14:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f650eeda8012d80f68005a124c00007015d2e..."} 
[2026-07-15 14:49:11] local.INFO: Processing buffer {"connection_id":132609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f650eeda8012d80f68005a124c00007015d2e..."} 
[2026-07-15 14:49:11] local.INFO: Packet analysis {"connection_id":132609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f650e"} 
[2026-07-15 14:49:11] local.INFO: Extracted packet for processing {"connection_id":132609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f650e"} 
[2026-07-15 14:49:11] local.INFO: GPS Element Parsed {"raw_longitude":763426432,"raw_latitude":94446784,"longitude_deg":76.3426432,"latitude_deg":9.4446784,"altitude":7,"angle":349,"satellites":46,"speed":0,"hex_longitude":"2d80f680","hex_latitude":"05a124c0","is_valid_coordinates":true} 
[2026-07-15 14: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-07-15 14:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731290624001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 14:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9153988430917222400,"note":"Value kept but may cause issues"} 
[2026-07-15 14:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784106905000,"timestamp_ms":1784106905000,"timestamp_seconds":1784106905,"priority":1,"record_length":96,"hex_timestamp":"0000019f650eeda8"} 
[2026-07-15 14:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-15 14:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14: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-07-15 14:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:49:11] 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-07-15 14:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731290624001,"66":26147,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9153988430917222400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731290624001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:49:11] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:49:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9153988430917222400,"description":"Unknown IO ID 45"} 
[2026-07-15 14:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731290624001,"power":26147,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9153988430917222400}} 
[2026-07-15 14:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":132609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:49:11] local.INFO: GPS data processed {"connection_id":132609,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:49:11] local.INFO: Acknowledgment sent {"connection_id":132609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:49:42] local.INFO: TCP Data received {"connection_id":132609,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f650eeda8012d80f68005a124c00007015d2e..."} 
[2026-07-15 14:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f650eeda8012d80f68005a124c00007015d2e..."} 
[2026-07-15 14:49:42] local.INFO: Processing buffer {"connection_id":132609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f650eeda8012d80f68005a124c00007015d2e..."} 
[2026-07-15 14:49:42] local.INFO: Packet analysis {"connection_id":132609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f650e"} 
[2026-07-15 14:49:42] local.INFO: Extracted packet for processing {"connection_id":132609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f650e"} 
[2026-07-15 14:49:42] local.INFO: GPS Element Parsed {"raw_longitude":763426432,"raw_latitude":94446784,"longitude_deg":76.3426432,"latitude_deg":9.4446784,"altitude":7,"angle":349,"satellites":46,"speed":0,"hex_longitude":"2d80f680","hex_latitude":"05a124c0","is_valid_coordinates":true} 
[2026-07-15 14: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-07-15 14:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731290624001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 14:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9153988430917222400,"note":"Value kept but may cause issues"} 
[2026-07-15 14:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784106905000,"timestamp_ms":1784106905000,"timestamp_seconds":1784106905,"priority":1,"record_length":96,"hex_timestamp":"0000019f650eeda8"} 
[2026-07-15 14:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-15 14:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14: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-07-15 14:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731290624001,"66":26147,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9153988430917222400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731290624001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:49:42] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:49:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9153988430917222400,"description":"Unknown IO ID 45"} 
[2026-07-15 14:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731290624001,"power":26147,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9153988430917222400}} 
[2026-07-15 14:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":132609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:49:42] local.INFO: GPS data processed {"connection_id":132609,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:49:42] local.INFO: Acknowledgment sent {"connection_id":132609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:50:00] local.INFO: TCP Data received {"connection_id":132408,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:50:00] local.INFO: Processing buffer {"connection_id":132408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:50:00] local.INFO: IMEI packet received {"connection_id":132408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":132408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:50:06] local.INFO: TCP Data received {"connection_id":132408,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:50:06] local.INFO: Processing buffer {"connection_id":132408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:50:06] local.INFO: IMEI packet received {"connection_id":132408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":132408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:50:07] local.INFO: TCP Data received {"connection_id":132408,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f650eeda8012d80f68005a124c00007015d2e..."} 
[2026-07-15 14:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f650eeda8012d80f68005a124c00007015d2e..."} 
[2026-07-15 14:50:07] local.INFO: Processing buffer {"connection_id":132408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f650eeda8012d80f68005a124c00007015d2e..."} 
[2026-07-15 14:50:07] local.INFO: Packet analysis {"connection_id":132408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f650e"} 
[2026-07-15 14:50:07] local.INFO: Extracted packet for processing {"connection_id":132408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f650e"} 
[2026-07-15 14:50:07] local.INFO: GPS Element Parsed {"raw_longitude":763426432,"raw_latitude":94446784,"longitude_deg":76.3426432,"latitude_deg":9.4446784,"altitude":7,"angle":349,"satellites":46,"speed":0,"hex_longitude":"2d80f680","hex_latitude":"05a124c0","is_valid_coordinates":true} 
[2026-07-15 14:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731290624001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 14:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9153988430917222400,"note":"Value kept but may cause issues"} 
[2026-07-15 14:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784106905000,"timestamp_ms":1784106905000,"timestamp_seconds":1784106905,"priority":1,"record_length":96,"hex_timestamp":"0000019f650eeda8"} 
[2026-07-15 14:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-15 14:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731290624001,"66":26147,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9153988430917222400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731290624001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:50:07] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:50:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9153988430917222400,"description":"Unknown IO ID 45"} 
[2026-07-15 14:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731290624001,"power":26147,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9153988430917222400}} 
[2026-07-15 14:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":132408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:50:07] local.INFO: GPS data processed {"connection_id":132408,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:50:07] local.INFO: Acknowledgment sent {"connection_id":132408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:50:38] local.INFO: TCP Data received {"connection_id":132408,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f650eeda8012d80f68005a124c00007015d2e..."} 
[2026-07-15 14:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f650eeda8012d80f68005a124c00007015d2e..."} 
[2026-07-15 14:50:38] local.INFO: Processing buffer {"connection_id":132408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f650eeda8012d80f68005a124c00007015d2e..."} 
[2026-07-15 14:50:38] local.INFO: Packet analysis {"connection_id":132408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f650e"} 
[2026-07-15 14:50:38] local.INFO: Extracted packet for processing {"connection_id":132408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f650e"} 
[2026-07-15 14:50:38] local.INFO: GPS Element Parsed {"raw_longitude":763426432,"raw_latitude":94446784,"longitude_deg":76.3426432,"latitude_deg":9.4446784,"altitude":7,"angle":349,"satellites":46,"speed":0,"hex_longitude":"2d80f680","hex_latitude":"05a124c0","is_valid_coordinates":true} 
[2026-07-15 14:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731290624001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 14:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9153988430917222400,"note":"Value kept but may cause issues"} 
[2026-07-15 14:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784106905000,"timestamp_ms":1784106905000,"timestamp_seconds":1784106905,"priority":1,"record_length":96,"hex_timestamp":"0000019f650eeda8"} 
[2026-07-15 14:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-15 14:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731290624001,"66":26147,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9153988430917222400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731290624001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:50:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:50:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9153988430917222400,"description":"Unknown IO ID 45"} 
[2026-07-15 14:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731290624001,"power":26147,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9153988430917222400}} 
[2026-07-15 14:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":132408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:50:38] local.INFO: GPS data processed {"connection_id":132408,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:50:38] local.INFO: Acknowledgment sent {"connection_id":132408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:51:00] local.INFO: TCP Data received {"connection_id":134809,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:51:00] local.INFO: Processing buffer {"connection_id":134809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:51:00] local.INFO: IMEI packet received {"connection_id":134809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":134809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:51:06] local.INFO: TCP Data received {"connection_id":134809,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:51:06] local.INFO: Processing buffer {"connection_id":134809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:51:06] local.INFO: IMEI packet received {"connection_id":134809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":134809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:51:07] local.INFO: TCP Data received {"connection_id":134809,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f65138570012d80f68005a124c00007015d30..."} 
[2026-07-15 14:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65138570012d80f68005a124c00007015d30..."} 
[2026-07-15 14:51:07] local.INFO: Processing buffer {"connection_id":134809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65138570012d80f68005a124c00007015d30..."} 
[2026-07-15 14:51:07] local.INFO: Packet analysis {"connection_id":134809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6513"} 
[2026-07-15 14:51:07] local.INFO: Extracted packet for processing {"connection_id":134809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6513"} 
[2026-07-15 14:51:07] local.INFO: GPS Element Parsed {"raw_longitude":763426432,"raw_latitude":94446784,"longitude_deg":76.3426432,"latitude_deg":9.4446784,"altitude":7,"angle":349,"satellites":48,"speed":0,"hex_longitude":"2d80f680","hex_latitude":"05a124c0","is_valid_coordinates":true} 
[2026-07-15 14:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731367680001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 14:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9153988430917222400,"note":"Value kept but may cause issues"} 
[2026-07-15 14:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784107206000,"timestamp_ms":1784107206000,"timestamp_seconds":1784107206,"priority":1,"record_length":96,"hex_timestamp":"0000019f65138570"} 
[2026-07-15 14:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-15 14:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731367680001,"66":26115,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9153988430917222400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731367680001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:51:07] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:51:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9153988430917222400,"description":"Unknown IO ID 45"} 
[2026-07-15 14:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731367680001,"power":26115,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9153988430917222400}} 
[2026-07-15 14:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":134809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:51:07] local.INFO: GPS data processed {"connection_id":134809,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:51:07] local.INFO: Acknowledgment sent {"connection_id":134809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:51:38] local.INFO: TCP Data received {"connection_id":134809,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f65138570012d80f68005a124c00007015d30..."} 
[2026-07-15 14:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65138570012d80f68005a124c00007015d30..."} 
[2026-07-15 14:51:38] local.INFO: Processing buffer {"connection_id":134809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65138570012d80f68005a124c00007015d30..."} 
[2026-07-15 14:51:38] local.INFO: Packet analysis {"connection_id":134809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6513"} 
[2026-07-15 14:51:38] local.INFO: Extracted packet for processing {"connection_id":134809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6513"} 
[2026-07-15 14:51:38] local.INFO: GPS Element Parsed {"raw_longitude":763426432,"raw_latitude":94446784,"longitude_deg":76.3426432,"latitude_deg":9.4446784,"altitude":7,"angle":349,"satellites":48,"speed":0,"hex_longitude":"2d80f680","hex_latitude":"05a124c0","is_valid_coordinates":true} 
[2026-07-15 14:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731367680001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 14:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9153988430917222400,"note":"Value kept but may cause issues"} 
[2026-07-15 14:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784107206000,"timestamp_ms":1784107206000,"timestamp_seconds":1784107206,"priority":1,"record_length":96,"hex_timestamp":"0000019f65138570"} 
[2026-07-15 14:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-15 14:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731367680001,"66":26115,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9153988430917222400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731367680001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:51:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:51:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9153988430917222400,"description":"Unknown IO ID 45"} 
[2026-07-15 14:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731367680001,"power":26115,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9153988430917222400}} 
[2026-07-15 14:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":134809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:51:38] local.INFO: GPS data processed {"connection_id":134809,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:51:38] local.INFO: Acknowledgment sent {"connection_id":134809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:52:06] local.INFO: TCP Data received {"connection_id":134810,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:52:06] local.INFO: Processing buffer {"connection_id":134810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:52:06] local.INFO: IMEI packet received {"connection_id":134810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":134810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:52:11] local.INFO: TCP Data received {"connection_id":134810,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:52:11] local.INFO: Processing buffer {"connection_id":134810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:52:11] local.INFO: IMEI packet received {"connection_id":134810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":134810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:52:12] local.INFO: TCP Data received {"connection_id":134810,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f65138570012d80f68005a124c00007015d30..."} 
[2026-07-15 14:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65138570012d80f68005a124c00007015d30..."} 
[2026-07-15 14:52:12] local.INFO: Processing buffer {"connection_id":134810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65138570012d80f68005a124c00007015d30..."} 
[2026-07-15 14:52:12] local.INFO: Packet analysis {"connection_id":134810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6513"} 
[2026-07-15 14:52:12] local.INFO: Extracted packet for processing {"connection_id":134810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6513"} 
[2026-07-15 14:52:12] local.INFO: GPS Element Parsed {"raw_longitude":763426432,"raw_latitude":94446784,"longitude_deg":76.3426432,"latitude_deg":9.4446784,"altitude":7,"angle":349,"satellites":48,"speed":0,"hex_longitude":"2d80f680","hex_latitude":"05a124c0","is_valid_coordinates":true} 
[2026-07-15 14:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731367680001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 14:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9153988430917222400,"note":"Value kept but may cause issues"} 
[2026-07-15 14:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784107206000,"timestamp_ms":1784107206000,"timestamp_seconds":1784107206,"priority":1,"record_length":96,"hex_timestamp":"0000019f65138570"} 
[2026-07-15 14:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-15 14:52:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":134810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":134810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":134810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:52:12] 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-07-15 14:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731367680001,"66":26115,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9153988430917222400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731367680001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:52:12] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:52:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9153988430917222400,"description":"Unknown IO ID 45"} 
[2026-07-15 14:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731367680001,"power":26115,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9153988430917222400}} 
[2026-07-15 14:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":134810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:52:12] local.INFO: GPS data processed {"connection_id":134810,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:52:12] local.INFO: Acknowledgment sent {"connection_id":134810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:52:16] local.INFO: TCP Data received {"connection_id":134810,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f65138570012d80f68005a124c00007015d30..."} 
[2026-07-15 14:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65138570012d80f68005a124c00007015d30..."} 
[2026-07-15 14:52:16] local.INFO: Processing buffer {"connection_id":134810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65138570012d80f68005a124c00007015d30..."} 
[2026-07-15 14:52:16] local.INFO: Packet analysis {"connection_id":134810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6513"} 
[2026-07-15 14:52:16] local.INFO: Extracted packet for processing {"connection_id":134810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6513"} 
[2026-07-15 14:52:16] local.INFO: GPS Element Parsed {"raw_longitude":763426432,"raw_latitude":94446784,"longitude_deg":76.3426432,"latitude_deg":9.4446784,"altitude":7,"angle":349,"satellites":48,"speed":0,"hex_longitude":"2d80f680","hex_latitude":"05a124c0","is_valid_coordinates":true} 
[2026-07-15 14:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731367680001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 14:52:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9153988430917222400,"note":"Value kept but may cause issues"} 
[2026-07-15 14:52:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784107206000,"timestamp_ms":1784107206000,"timestamp_seconds":1784107206,"priority":1,"record_length":96,"hex_timestamp":"0000019f65138570"} 
[2026-07-15 14:52:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:52:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-15 14:52:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:52:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:52:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":134810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":134810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":134810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:52:16] 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-07-15 14:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731367680001,"66":26115,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9153988430917222400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731367680001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:52:16] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:52:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:52:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9153988430917222400,"description":"Unknown IO ID 45"} 
[2026-07-15 14:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731367680001,"power":26115,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9153988430917222400}} 
[2026-07-15 14:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":134810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:52:16] local.INFO: GPS data processed {"connection_id":134810,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:52:16] local.INFO: Acknowledgment sent {"connection_id":134810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:53:01] local.INFO: TCP Data received {"connection_id":132410,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:53:01] local.INFO: Processing buffer {"connection_id":132410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:53:01] local.INFO: IMEI packet received {"connection_id":132410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":132410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:53:06] local.INFO: TCP Data received {"connection_id":132410,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:53:06] local.INFO: Processing buffer {"connection_id":132410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:53:06] local.INFO: IMEI packet received {"connection_id":132410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":132410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:53:07] local.INFO: TCP Data received {"connection_id":132410,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f65138570012d80f68005a124c00007015d30..."} 
[2026-07-15 14:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65138570012d80f68005a124c00007015d30..."} 
[2026-07-15 14:53:07] local.INFO: Processing buffer {"connection_id":132410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65138570012d80f68005a124c00007015d30..."} 
[2026-07-15 14:53:07] local.INFO: Packet analysis {"connection_id":132410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6513"} 
[2026-07-15 14:53:07] local.INFO: Extracted packet for processing {"connection_id":132410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6513"} 
[2026-07-15 14:53:07] local.INFO: GPS Element Parsed {"raw_longitude":763426432,"raw_latitude":94446784,"longitude_deg":76.3426432,"latitude_deg":9.4446784,"altitude":7,"angle":349,"satellites":48,"speed":0,"hex_longitude":"2d80f680","hex_latitude":"05a124c0","is_valid_coordinates":true} 
[2026-07-15 14:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731367680001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 14:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9153988430917222400,"note":"Value kept but may cause issues"} 
[2026-07-15 14:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784107206000,"timestamp_ms":1784107206000,"timestamp_seconds":1784107206,"priority":1,"record_length":96,"hex_timestamp":"0000019f65138570"} 
[2026-07-15 14:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-15 14:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731367680001,"66":26115,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9153988430917222400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731367680001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:53:07] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:53:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9153988430917222400,"description":"Unknown IO ID 45"} 
[2026-07-15 14:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731367680001,"power":26115,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9153988430917222400}} 
[2026-07-15 14:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":132410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:53:07] local.INFO: GPS data processed {"connection_id":132410,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:53:07] local.INFO: Acknowledgment sent {"connection_id":132410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:53:11] local.INFO: TCP Data received {"connection_id":132612,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 14:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 14:53:11] local.INFO: Processing buffer {"connection_id":132612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 14:53:11] local.INFO: IMEI packet received {"connection_id":132612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 14:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":132612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:53:12] local.INFO: TCP Data received {"connection_id":132612,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 14:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 14:53:12] local.INFO: Processing buffer {"connection_id":132612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 14:53:12] local.INFO: IMEI packet received {"connection_id":132612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 14:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":132612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:53:16] local.INFO: TCP Data received {"connection_id":132612,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 14:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 14:53:16] local.INFO: Processing buffer {"connection_id":132612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 14:53:16] local.INFO: IMEI packet received {"connection_id":132612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 14:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":132612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:53:17] local.INFO: TCP Data received {"connection_id":132612,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-07-15 14:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132612,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-07-15 14:53:17] local.INFO: Processing buffer {"connection_id":132612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-07-15 14:53:17] local.INFO: Packet analysis {"connection_id":132612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-15 14:53:17] local.INFO: Extracted packet for processing {"connection_id":132612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-15 14:53:17] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-15 14: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-07-15 14:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6081553432051712,"note":"Value kept but may cause issues"} 
[2026-07-15 14:53:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 14:53:17] 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-07-15 14:53:17] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-15 14:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132612,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132612,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-15 14:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132612,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-15 14:53:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-15 14:53:17] local.WARNING: DEBUG: No valid data to process  
[2026-07-15 14:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":132612,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-15 14:53:17] local.ERROR: GPS data processing failed {"connection_id":132612,"error":"No valid data to process"} 
[2026-07-15 14:53:17] local.INFO: Acknowledgment sent {"connection_id":132612,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-15 14:53:38] local.INFO: TCP Data received {"connection_id":132410,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f65138570012d80f68005a124c00007015d30..."} 
[2026-07-15 14:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65138570012d80f68005a124c00007015d30..."} 
[2026-07-15 14:53:38] local.INFO: Processing buffer {"connection_id":132410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65138570012d80f68005a124c00007015d30..."} 
[2026-07-15 14:53:38] local.INFO: Packet analysis {"connection_id":132410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6513"} 
[2026-07-15 14:53:38] local.INFO: Extracted packet for processing {"connection_id":132410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6513"} 
[2026-07-15 14:53:38] local.INFO: GPS Element Parsed {"raw_longitude":763426432,"raw_latitude":94446784,"longitude_deg":76.3426432,"latitude_deg":9.4446784,"altitude":7,"angle":349,"satellites":48,"speed":0,"hex_longitude":"2d80f680","hex_latitude":"05a124c0","is_valid_coordinates":true} 
[2026-07-15 14: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-07-15 14:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731367680001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 14:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9153988430917222400,"note":"Value kept but may cause issues"} 
[2026-07-15 14:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784107206000,"timestamp_ms":1784107206000,"timestamp_seconds":1784107206,"priority":1,"record_length":96,"hex_timestamp":"0000019f65138570"} 
[2026-07-15 14:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14: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":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-15 14:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14: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-07-15 14:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731367680001,"66":26115,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9153988430917222400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731367680001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:53:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:53:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9153988430917222400,"description":"Unknown IO ID 45"} 
[2026-07-15 14:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731367680001,"power":26115,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9153988430917222400}} 
[2026-07-15 14:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":132410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:53:38] local.INFO: GPS data processed {"connection_id":132410,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:53:38] local.INFO: Acknowledgment sent {"connection_id":132410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:53:48] local.INFO: TCP Data received {"connection_id":132612,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-07-15 14:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-07-15 14:53:48] local.INFO: Processing buffer {"connection_id":132612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-07-15 14:53:48] local.INFO: Packet analysis {"connection_id":132612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-15 14:53:48] local.INFO: Extracted packet for processing {"connection_id":132612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-15 14:53:48] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-15 14:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:53:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6081553432051712,"note":"Value kept but may cause issues"} 
[2026-07-15 14:53:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 14:53:48] 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-07-15 14:53:48] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:53:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-15 14:53:48] local.INFO: Teltonika packet parsed successfully {"connection_id":132612,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:53:48] local.INFO: Passing IMEI to GPS processor {"connection_id":132612,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-15 14:53:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":132612,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-15 14:53:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-15 14:53:48] local.WARNING: DEBUG: No valid data to process  
[2026-07-15 14:53:48] local.INFO: DEBUG: GPS processor result {"connection_id":132612,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-15 14:53:48] local.ERROR: GPS data processing failed {"connection_id":132612,"error":"No valid data to process"} 
[2026-07-15 14:53:48] local.INFO: Acknowledgment sent {"connection_id":132612,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-15 14:53:59] local.INFO: TCP Data received {"connection_id":132411,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132411,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:53:59] local.INFO: Processing buffer {"connection_id":132411,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:53:59] local.INFO: IMEI packet received {"connection_id":132411,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 14:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":132411,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:54:00] local.INFO: TCP Data received {"connection_id":132613,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:54:00] local.INFO: Processing buffer {"connection_id":132613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:54:00] local.INFO: IMEI packet received {"connection_id":132613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":132613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:54:06] local.INFO: TCP Data received {"connection_id":132613,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:54:06] local.INFO: Processing buffer {"connection_id":132613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:54:06] local.INFO: IMEI packet received {"connection_id":132613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":132613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:54:07] local.INFO: TCP Data received {"connection_id":132613,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f65138570012d80f68005a124c00007015d30..."} 
[2026-07-15 14:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65138570012d80f68005a124c00007015d30..."} 
[2026-07-15 14:54:07] local.INFO: Processing buffer {"connection_id":132613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65138570012d80f68005a124c00007015d30..."} 
[2026-07-15 14:54:07] local.INFO: Packet analysis {"connection_id":132613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6513"} 
[2026-07-15 14:54:07] local.INFO: Extracted packet for processing {"connection_id":132613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6513"} 
[2026-07-15 14:54:07] local.INFO: GPS Element Parsed {"raw_longitude":763426432,"raw_latitude":94446784,"longitude_deg":76.3426432,"latitude_deg":9.4446784,"altitude":7,"angle":349,"satellites":48,"speed":0,"hex_longitude":"2d80f680","hex_latitude":"05a124c0","is_valid_coordinates":true} 
[2026-07-15 14:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731367680001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 14:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9153988430917222400,"note":"Value kept but may cause issues"} 
[2026-07-15 14:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784107206000,"timestamp_ms":1784107206000,"timestamp_seconds":1784107206,"priority":1,"record_length":96,"hex_timestamp":"0000019f65138570"} 
[2026-07-15 14:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-15 14:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731367680001,"66":26115,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9153988430917222400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731367680001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:54:07] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:54:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9153988430917222400,"description":"Unknown IO ID 45"} 
[2026-07-15 14:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731367680001,"power":26115,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9153988430917222400}} 
[2026-07-15 14:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":132613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:54:07] local.INFO: GPS data processed {"connection_id":132613,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:54:07] local.INFO: Acknowledgment sent {"connection_id":132613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:54:20] local.INFO: TCP Data received {"connection_id":132612,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f6516fc280100000000000000000000000000..."} 
[2026-07-15 14:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6516fc280100000000000000000000000000..."} 
[2026-07-15 14:54:20] local.INFO: Processing buffer {"connection_id":132612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6516fc280100000000000000000000000000..."} 
[2026-07-15 14:54:20] local.INFO: Packet analysis {"connection_id":132612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6516"} 
[2026-07-15 14:54:20] local.INFO: Extracted packet for processing {"connection_id":132612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6516"} 
[2026-07-15 14:54:20] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-15 14: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-07-15 14:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6081553432051712,"note":"Value kept but may cause issues"} 
[2026-07-15 14:54:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 14:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1784107433000,"timestamp_ms":1784107433000,"timestamp_seconds":1784107433,"priority":1,"record_length":96,"hex_timestamp":"0000019f6516fc28"} 
[2026-07-15 14:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:54:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-15 14:54:20] 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-07-15 14: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-07-15 14:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":132612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":132612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 14:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":132612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 14:54:20] 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-07-15 14:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 14:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 14:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":132612,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 14:54:20] local.INFO: GPS data processed {"connection_id":132612,"processed":0,"errors":0,"total":1} 
[2026-07-15 14:54:20] local.INFO: Acknowledgment sent {"connection_id":132612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:54:34] local.INFO: TCP Data received {"connection_id":132614,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132614,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:54:34] local.INFO: Processing buffer {"connection_id":132614,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:54:34] local.INFO: IMEI packet received {"connection_id":132614,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 14:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":132614,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:54:38] local.INFO: TCP Data received {"connection_id":132613,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f65138570012d80f68005a124c00007015d30..."} 
[2026-07-15 14:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65138570012d80f68005a124c00007015d30..."} 
[2026-07-15 14:54:38] local.INFO: Processing buffer {"connection_id":132613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65138570012d80f68005a124c00007015d30..."} 
[2026-07-15 14:54:38] local.INFO: Packet analysis {"connection_id":132613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6513"} 
[2026-07-15 14:54:38] local.INFO: Extracted packet for processing {"connection_id":132613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6513"} 
[2026-07-15 14:54:38] local.INFO: GPS Element Parsed {"raw_longitude":763426432,"raw_latitude":94446784,"longitude_deg":76.3426432,"latitude_deg":9.4446784,"altitude":7,"angle":349,"satellites":48,"speed":0,"hex_longitude":"2d80f680","hex_latitude":"05a124c0","is_valid_coordinates":true} 
[2026-07-15 14: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-07-15 14:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731367680001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 14:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9153988430917222400,"note":"Value kept but may cause issues"} 
[2026-07-15 14:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784107206000,"timestamp_ms":1784107206000,"timestamp_seconds":1784107206,"priority":1,"record_length":96,"hex_timestamp":"0000019f65138570"} 
[2026-07-15 14:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14: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":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-15 14:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14: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-07-15 14:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731367680001,"66":26115,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9153988430917222400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731367680001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:54:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:54:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9153988430917222400,"description":"Unknown IO ID 45"} 
[2026-07-15 14:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731367680001,"power":26115,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9153988430917222400}} 
[2026-07-15 14:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":132613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:54:38] local.INFO: GPS data processed {"connection_id":132613,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:54:38] local.INFO: Acknowledgment sent {"connection_id":132613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:54:51] local.INFO: TCP Data received {"connection_id":132612,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f65174e300100000000000000000000000000..."} 
[2026-07-15 14:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65174e300100000000000000000000000000..."} 
[2026-07-15 14:54:51] local.INFO: Processing buffer {"connection_id":132612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65174e300100000000000000000000000000..."} 
[2026-07-15 14:54:51] local.INFO: Packet analysis {"connection_id":132612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6517"} 
[2026-07-15 14:54:51] local.INFO: Extracted packet for processing {"connection_id":132612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6517"} 
[2026-07-15 14:54: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-07-15 14: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-07-15 14:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6081553432051712,"note":"Value kept but may cause issues"} 
[2026-07-15 14:54:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 14:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784107454000,"timestamp_ms":1784107454000,"timestamp_seconds":1784107454,"priority":1,"record_length":96,"hex_timestamp":"0000019f65174e30"} 
[2026-07-15 14:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:54: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14: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":115,"data_length":795,"current_offset":136} 
[2026-07-15 14:54:51] 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-07-15 14: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-07-15 14:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":132612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":132612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 14:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":132612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 14:54:51] 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-07-15 14:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 14:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 14:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":132612,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 14:54:51] local.INFO: GPS data processed {"connection_id":132612,"processed":0,"errors":0,"total":1} 
[2026-07-15 14:54:51] local.INFO: Acknowledgment sent {"connection_id":132612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:55:00] local.INFO: TCP Data received {"connection_id":134812,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:55:00] local.INFO: Processing buffer {"connection_id":134812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:55:00] local.INFO: IMEI packet received {"connection_id":134812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":134812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:55:06] local.INFO: TCP Data received {"connection_id":134812,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:55:06] local.INFO: Processing buffer {"connection_id":134812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:55:06] local.INFO: IMEI packet received {"connection_id":134812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":134812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:55:07] local.INFO: TCP Data received {"connection_id":134812,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f65138570012d80f68005a124c00007015d30..."} 
[2026-07-15 14:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65138570012d80f68005a124c00007015d30..."} 
[2026-07-15 14:55:07] local.INFO: Processing buffer {"connection_id":134812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65138570012d80f68005a124c00007015d30..."} 
[2026-07-15 14:55:07] local.INFO: Packet analysis {"connection_id":134812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6513"} 
[2026-07-15 14:55:07] local.INFO: Extracted packet for processing {"connection_id":134812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6513"} 
[2026-07-15 14:55:07] local.INFO: GPS Element Parsed {"raw_longitude":763426432,"raw_latitude":94446784,"longitude_deg":76.3426432,"latitude_deg":9.4446784,"altitude":7,"angle":349,"satellites":48,"speed":0,"hex_longitude":"2d80f680","hex_latitude":"05a124c0","is_valid_coordinates":true} 
[2026-07-15 14:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731367680001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 14:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9153988430917222400,"note":"Value kept but may cause issues"} 
[2026-07-15 14:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784107206000,"timestamp_ms":1784107206000,"timestamp_seconds":1784107206,"priority":1,"record_length":96,"hex_timestamp":"0000019f65138570"} 
[2026-07-15 14:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-15 14:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731367680001,"66":26115,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9153988430917222400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731367680001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:55:07] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:55:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9153988430917222400,"description":"Unknown IO ID 45"} 
[2026-07-15 14:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731367680001,"power":26115,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9153988430917222400}} 
[2026-07-15 14:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":134812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:55:07] local.INFO: GPS data processed {"connection_id":134812,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:55:07] local.INFO: Acknowledgment sent {"connection_id":134812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:55:22] local.INFO: TCP Data received {"connection_id":132612,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f6517a0380100000000000000000000000000..."} 
[2026-07-15 14:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6517a0380100000000000000000000000000..."} 
[2026-07-15 14:55:22] local.INFO: Processing buffer {"connection_id":132612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6517a0380100000000000000000000000000..."} 
[2026-07-15 14:55:22] local.INFO: Packet analysis {"connection_id":132612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6517"} 
[2026-07-15 14:55:22] local.INFO: Extracted packet for processing {"connection_id":132612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6517"} 
[2026-07-15 14:55: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-07-15 14: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-07-15 14:55:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6081553432051712,"note":"Value kept but may cause issues"} 
[2026-07-15 14:55:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 14:55:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784107475000,"timestamp_ms":1784107475000,"timestamp_seconds":1784107475,"priority":1,"record_length":96,"hex_timestamp":"0000019f6517a038"} 
[2026-07-15 14:55:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:55:22] 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-07-15 14: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-15 14:55:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14: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-07-15 14:55:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:55:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":132612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":132612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 14:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":132612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 14:55:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:55:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 14:55:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 14:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":132612,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 14:55:22] local.INFO: GPS data processed {"connection_id":132612,"processed":0,"errors":0,"total":1} 
[2026-07-15 14:55:22] local.INFO: Acknowledgment sent {"connection_id":132612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:55:38] local.INFO: TCP Data received {"connection_id":134812,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f65138570012d80f68005a124c00007015d30..."} 
[2026-07-15 14:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65138570012d80f68005a124c00007015d30..."} 
[2026-07-15 14:55:38] local.INFO: Processing buffer {"connection_id":134812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65138570012d80f68005a124c00007015d30..."} 
[2026-07-15 14:55:38] local.INFO: Packet analysis {"connection_id":134812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6513"} 
[2026-07-15 14:55:38] local.INFO: Extracted packet for processing {"connection_id":134812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6513"} 
[2026-07-15 14:55:38] local.INFO: GPS Element Parsed {"raw_longitude":763426432,"raw_latitude":94446784,"longitude_deg":76.3426432,"latitude_deg":9.4446784,"altitude":7,"angle":349,"satellites":48,"speed":0,"hex_longitude":"2d80f680","hex_latitude":"05a124c0","is_valid_coordinates":true} 
[2026-07-15 14: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-07-15 14:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731367680001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 14:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9153988430917222400,"note":"Value kept but may cause issues"} 
[2026-07-15 14:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784107206000,"timestamp_ms":1784107206000,"timestamp_seconds":1784107206,"priority":1,"record_length":96,"hex_timestamp":"0000019f65138570"} 
[2026-07-15 14:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14: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":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-15 14:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14: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-07-15 14:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731367680001,"66":26115,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9153988430917222400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731367680001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:55:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:55:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9153988430917222400,"description":"Unknown IO ID 45"} 
[2026-07-15 14:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731367680001,"power":26115,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9153988430917222400}} 
[2026-07-15 14:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":134812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:55:38] local.INFO: GPS data processed {"connection_id":134812,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:55:38] local.INFO: Acknowledgment sent {"connection_id":134812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:55:53] local.INFO: TCP Data received {"connection_id":132612,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f6517f2400100000000000000000000000000..."} 
[2026-07-15 14:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6517f2400100000000000000000000000000..."} 
[2026-07-15 14:55:53] local.INFO: Processing buffer {"connection_id":132612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6517f2400100000000000000000000000000..."} 
[2026-07-15 14:55:53] local.INFO: Packet analysis {"connection_id":132612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6517"} 
[2026-07-15 14:55:53] local.INFO: Extracted packet for processing {"connection_id":132612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6517"} 
[2026-07-15 14:55: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-07-15 14:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6081553432051712,"note":"Value kept but may cause issues"} 
[2026-07-15 14:55:53] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 14:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784107496000,"timestamp_ms":1784107496000,"timestamp_seconds":1784107496,"priority":1,"record_length":96,"hex_timestamp":"0000019f6517f240"} 
[2026-07-15 14:55:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:55:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-07-15 14:55:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:55:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:55:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":132612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":132612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 14:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":132612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 14:55:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 14:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 14:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":132612,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 14:55:53] local.INFO: GPS data processed {"connection_id":132612,"processed":0,"errors":0,"total":1} 
[2026-07-15 14:55:53] local.INFO: Acknowledgment sent {"connection_id":132612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:56:06] local.INFO: TCP Data received {"connection_id":132412,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:56:06] local.INFO: Processing buffer {"connection_id":132412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:56:06] local.INFO: IMEI packet received {"connection_id":132412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":132412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:56:12] local.INFO: TCP Data received {"connection_id":132412,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:56:12] local.INFO: Processing buffer {"connection_id":132412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:56:12] local.INFO: IMEI packet received {"connection_id":132412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":132412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:56:13] local.INFO: TCP Data received {"connection_id":132412,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f65181d38012d80f68005a124c00007015d2f..."} 
[2026-07-15 14:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65181d38012d80f68005a124c00007015d2f..."} 
[2026-07-15 14:56:13] local.INFO: Processing buffer {"connection_id":132412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65181d38012d80f68005a124c00007015d2f..."} 
[2026-07-15 14:56:13] local.INFO: Packet analysis {"connection_id":132412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6518"} 
[2026-07-15 14:56:13] local.INFO: Extracted packet for processing {"connection_id":132412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6518"} 
[2026-07-15 14:56:13] local.INFO: GPS Element Parsed {"raw_longitude":763426432,"raw_latitude":94446784,"longitude_deg":76.3426432,"latitude_deg":9.4446784,"altitude":7,"angle":349,"satellites":47,"speed":0,"hex_longitude":"2d80f680","hex_latitude":"05a124c0","is_valid_coordinates":true} 
[2026-07-15 14:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731444736001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 14:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9153988430917222400,"note":"Value kept but may cause issues"} 
[2026-07-15 14:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784107507000,"timestamp_ms":1784107507000,"timestamp_seconds":1784107507,"priority":1,"record_length":96,"hex_timestamp":"0000019f65181d38"} 
[2026-07-15 14:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:56:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-15 14:56:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:56:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:56:13] 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-07-15 14:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731444736001,"66":26082,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9153988430917222400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731444736001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:56:13] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:56:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9153988430917222400,"description":"Unknown IO ID 45"} 
[2026-07-15 14:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731444736001,"power":26082,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9153988430917222400}} 
[2026-07-15 14:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":132412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:56:13] local.INFO: GPS data processed {"connection_id":132412,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:56:13] local.INFO: Acknowledgment sent {"connection_id":132412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:56:16] local.INFO: TCP Data received {"connection_id":132412,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f65181d38012d80f68005a124c00007015d2f..."} 
[2026-07-15 14:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65181d38012d80f68005a124c00007015d2f..."} 
[2026-07-15 14:56:16] local.INFO: Processing buffer {"connection_id":132412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65181d38012d80f68005a124c00007015d2f..."} 
[2026-07-15 14:56:16] local.INFO: Packet analysis {"connection_id":132412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6518"} 
[2026-07-15 14:56:16] local.INFO: Extracted packet for processing {"connection_id":132412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6518"} 
[2026-07-15 14:56:16] local.INFO: GPS Element Parsed {"raw_longitude":763426432,"raw_latitude":94446784,"longitude_deg":76.3426432,"latitude_deg":9.4446784,"altitude":7,"angle":349,"satellites":47,"speed":0,"hex_longitude":"2d80f680","hex_latitude":"05a124c0","is_valid_coordinates":true} 
[2026-07-15 14:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731444736001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 14:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9153988430917222400,"note":"Value kept but may cause issues"} 
[2026-07-15 14:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784107507000,"timestamp_ms":1784107507000,"timestamp_seconds":1784107507,"priority":1,"record_length":96,"hex_timestamp":"0000019f65181d38"} 
[2026-07-15 14:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:56:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-15 14:56:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:56:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:56:16] 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-07-15 14:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731444736001,"66":26082,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9153988430917222400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731444736001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:56:16] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:56:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9153988430917222400,"description":"Unknown IO ID 45"} 
[2026-07-15 14:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731444736001,"power":26082,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9153988430917222400}} 
[2026-07-15 14:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":132412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:56:16] local.INFO: GPS data processed {"connection_id":132412,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:56:16] local.INFO: Acknowledgment sent {"connection_id":132412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:56:23] local.INFO: TCP Data received {"connection_id":132612,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f651844480100000000000000000000000000..."} 
[2026-07-15 14:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f651844480100000000000000000000000000..."} 
[2026-07-15 14:56:23] local.INFO: Processing buffer {"connection_id":132612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f651844480100000000000000000000000000..."} 
[2026-07-15 14:56:23] local.INFO: Packet analysis {"connection_id":132612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6518"} 
[2026-07-15 14:56:23] local.INFO: Extracted packet for processing {"connection_id":132612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6518"} 
[2026-07-15 14:56:23] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-15 14: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-07-15 14:56:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6081553432051712,"note":"Value kept but may cause issues"} 
[2026-07-15 14:56:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 14:56:23] local.INFO: AVL Record Parsed {"raw_timestamp":1784107517000,"timestamp_ms":1784107517000,"timestamp_seconds":1784107517,"priority":1,"record_length":96,"hex_timestamp":"0000019f65184448"} 
[2026-07-15 14:56:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:56: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-15 14:56:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14: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-07-15 14:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":132612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":132612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 14:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":132612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 14:56:24] 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-07-15 14:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 14:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 14:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":132612,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 14:56:24] local.INFO: GPS data processed {"connection_id":132612,"processed":0,"errors":0,"total":1} 
[2026-07-15 14:56:24] local.INFO: Acknowledgment sent {"connection_id":132612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:56:54] local.INFO: TCP Data received {"connection_id":132612,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f651896500100000000000000000000000000..."} 
[2026-07-15 14:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f651896500100000000000000000000000000..."} 
[2026-07-15 14:56:54] local.INFO: Processing buffer {"connection_id":132612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f651896500100000000000000000000000000..."} 
[2026-07-15 14:56:54] local.INFO: Packet analysis {"connection_id":132612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6518"} 
[2026-07-15 14:56:54] local.INFO: Extracted packet for processing {"connection_id":132612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6518"} 
[2026-07-15 14:56: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-07-15 14: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-07-15 14:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6081553432051712,"note":"Value kept but may cause issues"} 
[2026-07-15 14:56:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 14:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784107538000,"timestamp_ms":1784107538000,"timestamp_seconds":1784107538,"priority":1,"record_length":96,"hex_timestamp":"0000019f65189650"} 
[2026-07-15 14:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:56:54] 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-07-15 14:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-15 14:56:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14: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-07-15 14:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":132612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":132612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 14:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":132612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 14:56:54] 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-07-15 14:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 14:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 14:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":132612,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 14:56:54] local.INFO: GPS data processed {"connection_id":132612,"processed":0,"errors":0,"total":1} 
[2026-07-15 14:56:54] local.INFO: Acknowledgment sent {"connection_id":132612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:56:59] local.INFO: TCP Data received {"connection_id":132413,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132413,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:56:59] local.INFO: Processing buffer {"connection_id":132413,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:56:59] local.INFO: IMEI packet received {"connection_id":132413,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 14:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":132413,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:57:01] local.INFO: TCP Data received {"connection_id":132414,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:57:01] local.INFO: Processing buffer {"connection_id":132414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:57:01] local.INFO: IMEI packet received {"connection_id":132414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":132414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:57:04] local.INFO: TCP Data received {"connection_id":132413,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132413,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:57:04] local.INFO: Processing buffer {"connection_id":132413,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:57:04] local.INFO: IMEI packet received {"connection_id":132413,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":132413,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:57:05] local.INFO: TCP Data received {"connection_id":132413,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f65150058012d7c1c4005db07800008015f25..."} 
[2026-07-15 14:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65150058012d7c1c4005db07800008015f25..."} 
[2026-07-15 14:57:05] local.INFO: Processing buffer {"connection_id":132413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65150058012d7c1c4005db07800008015f25..."} 
[2026-07-15 14:57:05] local.INFO: Packet analysis {"connection_id":132413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6515"} 
[2026-07-15 14:57:05] local.INFO: Extracted packet for processing {"connection_id":132413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6515"} 
[2026-07-15 14:57:05] local.INFO: GPS Element Parsed {"raw_longitude":763108416,"raw_latitude":98240384,"longitude_deg":76.3108416,"latitude_deg":9.8240384,"altitude":8,"angle":351,"satellites":37,"speed":4,"hex_longitude":"2d7c1c40","hex_latitude":"05db0780","is_valid_coordinates":true} 
[2026-07-15 14:57: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-07-15 14:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731468544001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106523448162910208,"note":"Value kept but may cause issues"} 
[2026-07-15 14:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8943374828921264128,"note":"Value kept but may cause issues"} 
[2026-07-15 14:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784107303000,"timestamp_ms":1784107303000,"timestamp_seconds":1784107303,"priority":1,"record_length":96,"hex_timestamp":"0000019f65150058"} 
[2026-07-15 14:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:57: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":215,"data_length":795,"current_offset":136} 
[2026-07-15 14:57:05] 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-07-15 14:57: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-07-15 14:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:57:05] 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-07-15 14:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731468544001,"66":12809,"187":206,"85":15104,"24":4,"16":106523448162910208,"45":8943374828921264128},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-15 14:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731468544001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:57:05] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-15 14:57:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106523448162910208,"km_value":106523448162910.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8943374828921264128,"description":"Unknown IO ID 45"} 
[2026-07-15 14:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731468544001,"power":12809,"unknown_187":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8943374828921264128}} 
[2026-07-15 14:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":132413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491276,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:57:05] local.INFO: GPS data processed {"connection_id":132413,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:57:05] local.INFO: Acknowledgment sent {"connection_id":132413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:57:05] local.INFO: TCP Data received {"connection_id":132414,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:57:05] local.INFO: Processing buffer {"connection_id":132414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:57:05] local.INFO: IMEI packet received {"connection_id":132414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":132414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:57:06] local.INFO: TCP Data received {"connection_id":132414,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f65181d38012d80f68005a124c00007015d2f..."} 
[2026-07-15 14:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65181d38012d80f68005a124c00007015d2f..."} 
[2026-07-15 14:57:06] local.INFO: Processing buffer {"connection_id":132414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65181d38012d80f68005a124c00007015d2f..."} 
[2026-07-15 14:57:06] local.INFO: Packet analysis {"connection_id":132414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6518"} 
[2026-07-15 14:57:06] local.INFO: Extracted packet for processing {"connection_id":132414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6518"} 
[2026-07-15 14:57:06] local.INFO: GPS Element Parsed {"raw_longitude":763426432,"raw_latitude":94446784,"longitude_deg":76.3426432,"latitude_deg":9.4446784,"altitude":7,"angle":349,"satellites":47,"speed":0,"hex_longitude":"2d80f680","hex_latitude":"05a124c0","is_valid_coordinates":true} 
[2026-07-15 14: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-07-15 14:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731444736001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 14:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9153988430917222400,"note":"Value kept but may cause issues"} 
[2026-07-15 14:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784107507000,"timestamp_ms":1784107507000,"timestamp_seconds":1784107507,"priority":1,"record_length":96,"hex_timestamp":"0000019f65181d38"} 
[2026-07-15 14:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-15 14:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14: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-07-15 14:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:57:06] 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-07-15 14:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731444736001,"66":26082,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9153988430917222400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731444736001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:57:06] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:57:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9153988430917222400,"description":"Unknown IO ID 45"} 
[2026-07-15 14:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731444736001,"power":26082,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9153988430917222400}} 
[2026-07-15 14:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":132414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:57:06] local.INFO: GPS data processed {"connection_id":132414,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:57:06] local.INFO: Acknowledgment sent {"connection_id":132414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:57:25] local.INFO: TCP Data received {"connection_id":132612,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f6519fdb0012d18d040072115f00036016407..."} 
[2026-07-15 14:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6519fdb0012d18d040072115f00036016407..."} 
[2026-07-15 14:57:25] local.INFO: Processing buffer {"connection_id":132612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6519fdb0012d18d040072115f00036016407..."} 
[2026-07-15 14:57:25] local.INFO: Packet analysis {"connection_id":132612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6519"} 
[2026-07-15 14:57:25] local.INFO: Extracted packet for processing {"connection_id":132612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6519"} 
[2026-07-15 14:57:25] local.INFO: GPS Element Parsed {"raw_longitude":756600896,"raw_latitude":119608816,"longitude_deg":75.6600896,"latitude_deg":11.9608816,"altitude":54,"angle":356,"satellites":7,"speed":32,"hex_longitude":"2d18d040","hex_latitude":"072115f0","is_valid_coordinates":true} 
[2026-07-15 14: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-07-15 14:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731552256001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6083941433868288,"note":"Value kept but may cause issues"} 
[2026-07-15 14:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788492032638552064,"note":"Value kept but may cause issues"} 
[2026-07-15 14:57:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784107630000,"timestamp_ms":1784107630000,"timestamp_seconds":1784107630,"priority":1,"record_length":96,"hex_timestamp":"0000019f6519fdb0"} 
[2026-07-15 14:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:57:25] 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-07-15 14: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-15 14:57:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14: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-07-15 14:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":132612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":132612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 14:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":132612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 14:57:25] 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-07-15 14:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 14:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 14:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731552256001,"66":14396,"103":206,"83":41984,"24":32,"16":6083941433868288,"45":1788492032638552064},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 14:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 14:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 14:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731552256001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:57:25] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 14:57:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 14:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6083941433868288,"km_value":6083941433868.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788492032638552064,"description":"Unknown IO ID 45"} 
[2026-07-15 14:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731552256001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1788492032638552064}} 
[2026-07-15 14:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":132612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:57:26] local.INFO: GPS data processed {"connection_id":132612,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:57:26] local.INFO: Acknowledgment sent {"connection_id":132612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:57:36] local.INFO: TCP Data received {"connection_id":132413,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f65150058012d7c1c4005db07800008015f25..."} 
[2026-07-15 14:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65150058012d7c1c4005db07800008015f25..."} 
[2026-07-15 14:57:36] local.INFO: Processing buffer {"connection_id":132413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65150058012d7c1c4005db07800008015f25..."} 
[2026-07-15 14:57:36] local.INFO: Packet analysis {"connection_id":132413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6515"} 
[2026-07-15 14:57:36] local.INFO: Extracted packet for processing {"connection_id":132413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6515"} 
[2026-07-15 14:57:36] local.INFO: GPS Element Parsed {"raw_longitude":763108416,"raw_latitude":98240384,"longitude_deg":76.3108416,"latitude_deg":9.8240384,"altitude":8,"angle":351,"satellites":37,"speed":4,"hex_longitude":"2d7c1c40","hex_latitude":"05db0780","is_valid_coordinates":true} 
[2026-07-15 14:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731469568001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106523448162910208,"note":"Value kept but may cause issues"} 
[2026-07-15 14:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8943093353944678400,"note":"Value kept but may cause issues"} 
[2026-07-15 14:57:36] 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-07-15 14:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784107303000,"timestamp_ms":1784107303000,"timestamp_seconds":1784107303,"priority":1,"record_length":96,"hex_timestamp":"0000019f65150058"} 
[2026-07-15 14:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 14:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-15 14:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720575940547052544,"note":"Value kept but may cause issues"} 
[2026-07-15 14:57:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 14:57:36] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-15 14:57:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2669306368799721947,"note":"Value kept but may cause issues"} 
[2026-07-15 14:57:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797273294,"corrected_to":0} 
[2026-07-15 14:57:36] local.WARNING: Large IO value detected {"io_id":101,"raw_value":1486917957811184640,"note":"Value kept but may cause issues"} 
[2026-07-15 14:57:36] local.WARNING: Large IO value detected {"io_id":218,"raw_value":4170711051,"note":"Value kept but may cause issues"} 
[2026-07-15 14:57:36] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2147867382,"note":"Value kept but may cause issues"} 
[2026-07-15 14:57:36] local.WARNING: Large IO value detected {"io_id":51,"raw_value":216398898099441237,"note":"Value kept but may cause issues"} 
[2026-07-15 14:57:36] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755442390860017,"note":"Value kept but may cause issues"} 
[2026-07-15 14:57:36] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,187,85,24,241,157,16,114,159,240,45,64,5,9,33,10,66,221,128,2,36,205,192,1,161,227,101,218,4,113,170,34,152,38,239,51,122,11,59,75],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2797273294,"validated":0}]} 
[2026-07-15 14:57:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576846839798824960,"timestamp_seconds":576846839798825.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 14:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:57:36] 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-07-15 14:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731469568001,"66":12809,"187":206,"85":15104,"24":4,"16":106523448162910208,"45":8943093353944678400},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-15 14:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731469568001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:57:36] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-15 14:57:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106523448162910208,"km_value":106523448162910.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8943093353944678400,"description":"Unknown IO ID 45"} 
[2026-07-15 14:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731469568001,"power":12809,"unknown_187":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8943093353944678400}} 
[2026-07-15 14:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":132413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491279,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:57:36] local.INFO: GPS data processed {"connection_id":132413,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:57:36] local.INFO: Acknowledgment sent {"connection_id":132413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:57:37] local.INFO: TCP Data received {"connection_id":132414,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f65181d38012d80f68005a124c00007015d2f..."} 
[2026-07-15 14:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65181d38012d80f68005a124c00007015d2f..."} 
[2026-07-15 14:57:37] local.INFO: Processing buffer {"connection_id":132414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65181d38012d80f68005a124c00007015d2f..."} 
[2026-07-15 14:57:37] local.INFO: Packet analysis {"connection_id":132414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6518"} 
[2026-07-15 14:57:37] local.INFO: Extracted packet for processing {"connection_id":132414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6518"} 
[2026-07-15 14:57:37] local.INFO: GPS Element Parsed {"raw_longitude":763426432,"raw_latitude":94446784,"longitude_deg":76.3426432,"latitude_deg":9.4446784,"altitude":7,"angle":349,"satellites":47,"speed":0,"hex_longitude":"2d80f680","hex_latitude":"05a124c0","is_valid_coordinates":true} 
[2026-07-15 14:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731444736001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 14:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9153988430917222400,"note":"Value kept but may cause issues"} 
[2026-07-15 14:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784107507000,"timestamp_ms":1784107507000,"timestamp_seconds":1784107507,"priority":1,"record_length":96,"hex_timestamp":"0000019f65181d38"} 
[2026-07-15 14:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-15 14:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731444736001,"66":26082,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9153988430917222400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731444736001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:57:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:57:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9153988430917222400,"description":"Unknown IO ID 45"} 
[2026-07-15 14:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731444736001,"power":26082,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9153988430917222400}} 
[2026-07-15 14:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":132414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:57:37] local.INFO: GPS data processed {"connection_id":132414,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:57:37] local.INFO: Acknowledgment sent {"connection_id":132414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:57:50] local.INFO: TCP Data received {"connection_id":132616,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 14:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 14:57:50] local.INFO: Processing buffer {"connection_id":132616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 14:57:50] local.INFO: IMEI packet received {"connection_id":132616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 14:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":132616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:57:56] local.INFO: TCP Data received {"connection_id":132616,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 14:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 14:57:56] local.INFO: Processing buffer {"connection_id":132616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 14:57:56] local.INFO: IMEI packet received {"connection_id":132616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 14:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":132616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:57:56] local.INFO: TCP Data received {"connection_id":132616,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f651a1cf0012d18cec0072129680036015007..."} 
[2026-07-15 14:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f651a1cf0012d18cec0072129680036015007..."} 
[2026-07-15 14:57:56] local.INFO: Processing buffer {"connection_id":132616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f651a1cf0012d18cec0072129680036015007..."} 
[2026-07-15 14:57:56] local.INFO: Packet analysis {"connection_id":132616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f651a"} 
[2026-07-15 14:57:56] local.INFO: Extracted packet for processing {"connection_id":132616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f651a"} 
[2026-07-15 14:57:56] local.INFO: GPS Element Parsed {"raw_longitude":756600512,"raw_latitude":119613800,"longitude_deg":75.6600512,"latitude_deg":11.96138,"altitude":54,"angle":336,"satellites":7,"speed":22,"hex_longitude":"2d18cec0","hex_latitude":"07212968","is_valid_coordinates":true} 
[2026-07-15 14: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-07-15 14:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731553280001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6084186247004160,"note":"Value kept but may cause issues"} 
[2026-07-15 14:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787999451430121472,"note":"Value kept but may cause issues"} 
[2026-07-15 14:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784107638000,"timestamp_ms":1784107638000,"timestamp_seconds":1784107638,"priority":1,"record_length":96,"hex_timestamp":"0000019f651a1cf0"} 
[2026-07-15 14:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:57:56] 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-07-15 14: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-15 14:57:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14: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-07-15 14:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 14:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 14:57:56] 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-07-15 14:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 14:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 14:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731553280001,"66":14374,"103":206,"83":41984,"24":22,"16":6084186247004160,"45":1787999451430121472},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 14:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 14:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 14:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731553280001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:57:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 14:57:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 14:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6084186247004160,"km_value":6084186247004.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787999451430121472,"description":"Unknown IO ID 45"} 
[2026-07-15 14:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731553280001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1787999451430121472}} 
[2026-07-15 14:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":132616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:57:56] local.INFO: GPS data processed {"connection_id":132616,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:57:56] local.INFO: Acknowledgment sent {"connection_id":132616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:57:59] local.INFO: TCP Data received {"connection_id":133453,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133453,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:57:59] local.INFO: Processing buffer {"connection_id":133453,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:57:59] local.INFO: IMEI packet received {"connection_id":133453,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 14:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":133453,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:58:01] local.INFO: TCP Data received {"connection_id":133454,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:58:01] local.INFO: Processing buffer {"connection_id":133454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:58:01] local.INFO: IMEI packet received {"connection_id":133454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":133454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:58:04] local.INFO: TCP Data received {"connection_id":133453,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133453,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:58:04] local.INFO: Processing buffer {"connection_id":133453,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 14:58:04] local.INFO: IMEI packet received {"connection_id":133453,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 14:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":133453,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:58:05] local.INFO: TCP Data received {"connection_id":133453,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f65150058012d7c1c4005db07800008015f25..."} 
[2026-07-15 14:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65150058012d7c1c4005db07800008015f25..."} 
[2026-07-15 14:58:05] local.INFO: Processing buffer {"connection_id":133453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65150058012d7c1c4005db07800008015f25..."} 
[2026-07-15 14:58:05] local.INFO: Packet analysis {"connection_id":133453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6515"} 
[2026-07-15 14:58:05] local.INFO: Extracted packet for processing {"connection_id":133453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6515"} 
[2026-07-15 14:58:05] local.INFO: GPS Element Parsed {"raw_longitude":763108416,"raw_latitude":98240384,"longitude_deg":76.3108416,"latitude_deg":9.8240384,"altitude":8,"angle":351,"satellites":37,"speed":4,"hex_longitude":"2d7c1c40","hex_latitude":"05db0780","is_valid_coordinates":true} 
[2026-07-15 14:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731469568001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106523448162910208,"note":"Value kept but may cause issues"} 
[2026-07-15 14:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8943093353944678400,"note":"Value kept but may cause issues"} 
[2026-07-15 14:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784107303000,"timestamp_ms":1784107303000,"timestamp_seconds":1784107303,"priority":1,"record_length":96,"hex_timestamp":"0000019f65150058"} 
[2026-07-15 14:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14: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":9,"data_length":795,"current_offset":136} 
[2026-07-15 14:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720575940547052544,"note":"Value kept but may cause issues"} 
[2026-07-15 14:58:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 14:58:05] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-15 14:58:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2669060078195097306,"note":"Value kept but may cause issues"} 
[2026-07-15 14:58:05] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3221609208,"note":"Value kept but may cause issues"} 
[2026-07-15 14:58:05] local.WARNING: Large IO value detected {"io_id":101,"raw_value":1488017469438960448,"note":"Value kept but may cause issues"} 
[2026-07-15 14:58:05] local.WARNING: Large IO value detected {"io_id":218,"raw_value":4290248715,"note":"Value kept but may cause issues"} 
[2026-07-15 14:58:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797273294,"corrected_to":0} 
[2026-07-15 14:58:05] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2701184422,"note":"Value kept but may cause issues"} 
[2026-07-15 14:58:05] local.WARNING: Large IO value detected {"io_id":51,"raw_value":216398898099441237,"note":"Value kept but may cause issues"} 
[2026-07-15 14:58:05] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755446685827313,"note":"Value kept but may cause issues"} 
[2026-07-15 14:58:05] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,187,85,24,241,157,16,114,159,45,64,7,8,37,10,66,240,5,9,33,221,128,1,227,101,218,4,113,205,178,152,239,50,2,122,11,51,59,78],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2797273294,"validated":0}]} 
[2026-07-15 14:58:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576846839798825199,"timestamp_seconds":576846839798825.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 14:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":133453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":133453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":133453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731469568001,"66":12809,"187":206,"85":15104,"24":4,"16":106523448162910208,"45":8943093353944678400},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-15 14:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731469568001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:58:05] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-15 14:58:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106523448162910208,"km_value":106523448162910.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8943093353944678400,"description":"Unknown IO ID 45"} 
[2026-07-15 14:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731469568001,"power":12809,"unknown_187":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8943093353944678400}} 
[2026-07-15 14:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":133453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491282,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:58:05] local.INFO: GPS data processed {"connection_id":133453,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:58:05] local.INFO: Acknowledgment sent {"connection_id":133453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:58:06] local.INFO: TCP Data received {"connection_id":133454,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:58:06] local.INFO: Processing buffer {"connection_id":133454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:58:06] local.INFO: IMEI packet received {"connection_id":133454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":133454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:58:06] local.INFO: TCP Data received {"connection_id":133454,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f65181d38012d80f68005a124c00007015d2f..."} 
[2026-07-15 14:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65181d38012d80f68005a124c00007015d2f..."} 
[2026-07-15 14:58:06] local.INFO: Processing buffer {"connection_id":133454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65181d38012d80f68005a124c00007015d2f..."} 
[2026-07-15 14:58:06] local.INFO: Packet analysis {"connection_id":133454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6518"} 
[2026-07-15 14:58:06] local.INFO: Extracted packet for processing {"connection_id":133454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6518"} 
[2026-07-15 14:58:06] local.INFO: GPS Element Parsed {"raw_longitude":763426432,"raw_latitude":94446784,"longitude_deg":76.3426432,"latitude_deg":9.4446784,"altitude":7,"angle":349,"satellites":47,"speed":0,"hex_longitude":"2d80f680","hex_latitude":"05a124c0","is_valid_coordinates":true} 
[2026-07-15 14: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-07-15 14:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731444736001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 14:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9153988430917222400,"note":"Value kept but may cause issues"} 
[2026-07-15 14:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784107507000,"timestamp_ms":1784107507000,"timestamp_seconds":1784107507,"priority":1,"record_length":96,"hex_timestamp":"0000019f65181d38"} 
[2026-07-15 14:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-15 14:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14: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-07-15 14:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:58:06] 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-07-15 14:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731444736001,"66":26082,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9153988430917222400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731444736001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:58:07] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:58:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9153988430917222400,"description":"Unknown IO ID 45"} 
[2026-07-15 14:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731444736001,"power":26082,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9153988430917222400}} 
[2026-07-15 14:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":133454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:58:07] local.INFO: GPS data processed {"connection_id":133454,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:58:07] local.INFO: Acknowledgment sent {"connection_id":133454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:58:27] local.INFO: TCP Data received {"connection_id":132616,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f651adc58012d185e40072180a8002f011d09..."} 
[2026-07-15 14:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f651adc58012d185e40072180a8002f011d09..."} 
[2026-07-15 14:58:27] local.INFO: Processing buffer {"connection_id":132616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f651adc58012d185e40072180a8002f011d09..."} 
[2026-07-15 14:58:27] local.INFO: Packet analysis {"connection_id":132616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f651a"} 
[2026-07-15 14:58:27] local.INFO: Extracted packet for processing {"connection_id":132616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f651a"} 
[2026-07-15 14:58:27] local.INFO: GPS Element Parsed {"raw_longitude":756571712,"raw_latitude":119636136,"longitude_deg":75.6571712,"latitude_deg":11.9636136,"altitude":47,"angle":285,"satellites":9,"speed":41,"hex_longitude":"2d185e40","hex_latitude":"072180a8","is_valid_coordinates":true} 
[2026-07-15 14: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-07-15 14:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731565824001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6086157636993024,"note":"Value kept but may cause issues"} 
[2026-07-15 14:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764214815905026048,"note":"Value kept but may cause issues"} 
[2026-07-15 14:58: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-07-15 14:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784107687000,"timestamp_ms":1784107687000,"timestamp_seconds":1784107687,"priority":1,"record_length":96,"hex_timestamp":"0000019f651adc58"} 
[2026-07-15 14:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:58:27] 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-07-15 14: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-15 14:58:27] 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-07-15 14: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-07-15 14:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":132616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":132616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 14:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":132616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 14:58: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-07-15 14:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 14:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 14:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731565824001,"66":14265,"106":206,"83":41984,"24":41,"16":6086157636993024,"45":1764214815905026048},"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-07-15 14:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 14:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 14:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731565824001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:58:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-15 14:58:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 14:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6086157636993024,"km_value":6086157636993.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764214815905026048,"description":"Unknown IO ID 45"} 
[2026-07-15 14:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731565824001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1764214815905026048}} 
[2026-07-15 14:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":132616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:58:27] local.INFO: GPS data processed {"connection_id":132616,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:58:27] local.INFO: Acknowledgment sent {"connection_id":132616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:58:36] local.INFO: TCP Data received {"connection_id":133453,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f65150828012d7c1cc005db07800008015f25..."} 
[2026-07-15 14:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65150828012d7c1cc005db07800008015f25..."} 
[2026-07-15 14:58:36] local.INFO: Processing buffer {"connection_id":133453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65150828012d7c1cc005db07800008015f25..."} 
[2026-07-15 14:58:36] local.INFO: Packet analysis {"connection_id":133453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6515"} 
[2026-07-15 14:58:36] local.INFO: Extracted packet for processing {"connection_id":133453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6515"} 
[2026-07-15 14:58:36] local.INFO: GPS Element Parsed {"raw_longitude":763108544,"raw_latitude":98240384,"longitude_deg":76.3108544,"latitude_deg":9.8240384,"altitude":8,"angle":351,"satellites":37,"speed":0,"hex_longitude":"2d7c1cc0","hex_latitude":"05db0780","is_valid_coordinates":true} 
[2026-07-15 14:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731469568001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106523448162910208,"note":"Value kept but may cause issues"} 
[2026-07-15 14:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8943093353944678400,"note":"Value kept but may cause issues"} 
[2026-07-15 14:58:36] 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-07-15 14:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784107305000,"timestamp_ms":1784107305000,"timestamp_seconds":1784107305,"priority":1,"record_length":96,"hex_timestamp":"0000019f65150828"} 
[2026-07-15 14:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-15 14:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":792633534584980480,"note":"Value kept but may cause issues"} 
[2026-07-15 14:58:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 14:58:36] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-15 14:58:36] local.WARNING: Large IO value detected {"io_id":101,"raw_value":1489116981066736256,"note":"Value kept but may cause issues"} 
[2026-07-15 14:58:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2415996284,"corrected_to":0} 
[2026-07-15 14:58:36] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3221609215,"note":"Value kept but may cause issues"} 
[2026-07-15 14:58:36] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-6845245317617496491,"note":"Value kept but may cause issues"} 
[2026-07-15 14:58:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2668778603218383578,"note":"Value kept but may cause issues"} 
[2026-07-15 14:58:36] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755438095892721,"note":"Value kept but may cause issues"} 
[2026-07-15 14:58:36] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,187,85,24,241,157,16,114,159,45,64,7,8,37,10,66,240,1,215,227,101,219,4,113,205,31,184,239,50,2,122,5,11,9,59,84],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2415996284,"validated":0}]} 
[2026-07-15 14:58:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576846839798825200,"timestamp_seconds":576846839798825.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 14:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":133453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":133453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":133453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 14:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 14:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 14:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731469568001,"66":12917,"187":206,"85":15104,"24":0,"16":106523448162910208,"45":8943093353944678400},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-15 14:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 14:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 14:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731469568001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:58:36] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-15 14:58:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 14:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106523448162910208,"km_value":106523448162910.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8943093353944678400,"description":"Unknown IO ID 45"} 
[2026-07-15 14:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731469568001,"power":12917,"unknown_187":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8943093353944678400}} 
[2026-07-15 14:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":133453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491285,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:58:36] local.INFO: GPS data processed {"connection_id":133453,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:58:36] local.INFO: Acknowledgment sent {"connection_id":133453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:58:38] local.INFO: TCP Data received {"connection_id":133454,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f65181d38012d80f68005a124c00007015d2f..."} 
[2026-07-15 14:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65181d38012d80f68005a124c00007015d2f..."} 
[2026-07-15 14:58:38] local.INFO: Processing buffer {"connection_id":133454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65181d38012d80f68005a124c00007015d2f..."} 
[2026-07-15 14:58:38] local.INFO: Packet analysis {"connection_id":133454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6518"} 
[2026-07-15 14:58:38] local.INFO: Extracted packet for processing {"connection_id":133454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6518"} 
[2026-07-15 14:58:38] local.INFO: GPS Element Parsed {"raw_longitude":763426432,"raw_latitude":94446784,"longitude_deg":76.3426432,"latitude_deg":9.4446784,"altitude":7,"angle":349,"satellites":47,"speed":0,"hex_longitude":"2d80f680","hex_latitude":"05a124c0","is_valid_coordinates":true} 
[2026-07-15 14: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-07-15 14:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731444736001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 14:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9153988430917222400,"note":"Value kept but may cause issues"} 
[2026-07-15 14:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784107507000,"timestamp_ms":1784107507000,"timestamp_seconds":1784107507,"priority":1,"record_length":96,"hex_timestamp":"0000019f65181d38"} 
[2026-07-15 14:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-15 14:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14: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-07-15 14:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731444736001,"66":26082,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9153988430917222400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731444736001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:58:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:58:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9153988430917222400,"description":"Unknown IO ID 45"} 
[2026-07-15 14:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731444736001,"power":26082,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9153988430917222400}} 
[2026-07-15 14:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":133454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:58:38] local.INFO: GPS data processed {"connection_id":133454,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:58:38] local.INFO: Acknowledgment sent {"connection_id":133454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:58:59] local.INFO: TCP Data received {"connection_id":132616,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f651b0368012d183c0007218ff00034012309..."} 
[2026-07-15 14:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f651b0368012d183c0007218ff00034012309..."} 
[2026-07-15 14:58:59] local.INFO: Processing buffer {"connection_id":132616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f651b0368012d183c0007218ff00034012309..."} 
[2026-07-15 14:58:59] local.INFO: Packet analysis {"connection_id":132616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f651b"} 
[2026-07-15 14:58:59] local.INFO: Extracted packet for processing {"connection_id":132616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f651b"} 
[2026-07-15 14:58:59] local.INFO: GPS Element Parsed {"raw_longitude":756562944,"raw_latitude":119640048,"longitude_deg":75.6562944,"latitude_deg":11.9640048,"altitude":52,"angle":291,"satellites":9,"speed":29,"hex_longitude":"2d183c00","hex_latitude":"07218ff0","is_valid_coordinates":true} 
[2026-07-15 14:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731567872001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6086612903526400,"note":"Value kept but may cause issues"} 
[2026-07-15 14:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755911304092100608,"note":"Value kept but may cause issues"} 
[2026-07-15 14:58:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784107697000,"timestamp_ms":1784107697000,"timestamp_seconds":1784107697,"priority":1,"record_length":96,"hex_timestamp":"0000019f651b0368"} 
[2026-07-15 14:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:58:59] 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-07-15 14:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-15 14:58:59] 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-07-15 14:58:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":132616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":132616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 14:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":132616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 14:58:59] 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-07-15 14:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 14:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 14:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731567872001,"66":14135,"106":206,"83":41984,"24":29,"16":6086612903526400,"45":1755911304092100608},"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-07-15 14:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 14:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 14:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731567872001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:58:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-15 14:58:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 14:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6086612903526400,"km_value":6086612903526.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755911304092100608,"description":"Unknown IO ID 45"} 
[2026-07-15 14:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731567872001,"power":14135,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1755911304092100608}} 
[2026-07-15 14:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":132616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:58:59] local.INFO: GPS data processed {"connection_id":132616,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:58:59] local.INFO: Acknowledgment sent {"connection_id":132616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:59:00] local.INFO: TCP Data received {"connection_id":132416,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:59:00] local.INFO: Processing buffer {"connection_id":132416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:59:00] local.INFO: IMEI packet received {"connection_id":132416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 14:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":132416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:59:06] local.INFO: TCP Data received {"connection_id":132416,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:59:06] local.INFO: Processing buffer {"connection_id":132416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 14:59:06] local.INFO: IMEI packet received {"connection_id":132416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 14:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":132416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:59:07] local.INFO: TCP Data received {"connection_id":132416,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f65181d38012d80f68005a124c00007015d2f..."} 
[2026-07-15 14:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65181d38012d80f68005a124c00007015d2f..."} 
[2026-07-15 14:59:07] local.INFO: Processing buffer {"connection_id":132416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65181d38012d80f68005a124c00007015d2f..."} 
[2026-07-15 14:59:07] local.INFO: Packet analysis {"connection_id":132416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6518"} 
[2026-07-15 14:59:07] local.INFO: Extracted packet for processing {"connection_id":132416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6518"} 
[2026-07-15 14:59:07] local.INFO: GPS Element Parsed {"raw_longitude":763426432,"raw_latitude":94446784,"longitude_deg":76.3426432,"latitude_deg":9.4446784,"altitude":7,"angle":349,"satellites":47,"speed":0,"hex_longitude":"2d80f680","hex_latitude":"05a124c0","is_valid_coordinates":true} 
[2026-07-15 14:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731444736001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 14:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9153988430917222400,"note":"Value kept but may cause issues"} 
[2026-07-15 14:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784107507000,"timestamp_ms":1784107507000,"timestamp_seconds":1784107507,"priority":1,"record_length":96,"hex_timestamp":"0000019f65181d38"} 
[2026-07-15 14:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-15 14:59:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:59:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731444736001,"66":26082,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9153988430917222400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731444736001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:59:07] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:59:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9153988430917222400,"description":"Unknown IO ID 45"} 
[2026-07-15 14:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731444736001,"power":26082,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9153988430917222400}} 
[2026-07-15 14:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":132416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:59:07] local.INFO: GPS data processed {"connection_id":132416,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:59:07] local.INFO: Acknowledgment sent {"connection_id":132416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:59:30] local.INFO: TCP Data received {"connection_id":132616,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f651b22a8012d182a40072199400038012f0b..."} 
[2026-07-15 14:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f651b22a8012d182a40072199400038012f0b..."} 
[2026-07-15 14:59:30] local.INFO: Processing buffer {"connection_id":132616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f651b22a8012d182a40072199400038012f0b..."} 
[2026-07-15 14:59:30] local.INFO: Packet analysis {"connection_id":132616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f651b"} 
[2026-07-15 14:59:30] local.INFO: Extracted packet for processing {"connection_id":132616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f651b"} 
[2026-07-15 14:59:30] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119642432,"longitude_deg":75.65584,"latitude_deg":11.9642432,"altitude":56,"angle":303,"satellites":11,"speed":22,"hex_longitude":"2d182a40","hex_latitude":"07219940","is_valid_coordinates":true} 
[2026-07-15 14: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-07-15 14:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731570432001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6086862011629568,"note":"Value kept but may cause issues"} 
[2026-07-15 14:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746270786140762112,"note":"Value kept but may cause issues"} 
[2026-07-15 14:59: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-07-15 14:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784107705000,"timestamp_ms":1784107705000,"timestamp_seconds":1784107705,"priority":1,"record_length":96,"hex_timestamp":"0000019f651b22a8"} 
[2026-07-15 14:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:59:30] 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-07-15 14: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-15 14:59:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14: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-07-15 14:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":132616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":132616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 14:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":132616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 14:59:30] 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-07-15 14:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 14:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 14:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731570432001,"66":14113,"106":206,"83":41984,"24":22,"16":6086862011629568,"45":1746270786140762112},"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-07-15 14:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 14:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 14:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731570432001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:59:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-15 14:59:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 14:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6086862011629568,"km_value":6086862011629.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746270786140762112,"description":"Unknown IO ID 45"} 
[2026-07-15 14:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731570432001,"power":14113,"unknown_106":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1746270786140762112}} 
[2026-07-15 14:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":132616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:59:30] local.INFO: GPS data processed {"connection_id":132616,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:59:30] local.INFO: Acknowledgment sent {"connection_id":132616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:59:38] local.INFO: TCP Data received {"connection_id":132416,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f65181d38012d80f68005a124c00007015d2f..."} 
[2026-07-15 14:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65181d38012d80f68005a124c00007015d2f..."} 
[2026-07-15 14:59:38] local.INFO: Processing buffer {"connection_id":132416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65181d38012d80f68005a124c00007015d2f..."} 
[2026-07-15 14:59:38] local.INFO: Packet analysis {"connection_id":132416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6518"} 
[2026-07-15 14:59:38] local.INFO: Extracted packet for processing {"connection_id":132416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6518"} 
[2026-07-15 14:59:38] local.INFO: GPS Element Parsed {"raw_longitude":763426432,"raw_latitude":94446784,"longitude_deg":76.3426432,"latitude_deg":9.4446784,"altitude":7,"angle":349,"satellites":47,"speed":0,"hex_longitude":"2d80f680","hex_latitude":"05a124c0","is_valid_coordinates":true} 
[2026-07-15 14: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-07-15 14:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731444736001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 14:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9153988430917222400,"note":"Value kept but may cause issues"} 
[2026-07-15 14:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784107507000,"timestamp_ms":1784107507000,"timestamp_seconds":1784107507,"priority":1,"record_length":96,"hex_timestamp":"0000019f65181d38"} 
[2026-07-15 14:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 14: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-15 14:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14: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-07-15 14:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 14:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 14:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 14:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 14:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731444736001,"66":26082,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9153988430917222400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 14:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 14:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 14:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731444736001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:59:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 14:59:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 14:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9153988430917222400,"description":"Unknown IO ID 45"} 
[2026-07-15 14:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731444736001,"power":26082,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9153988430917222400}} 
[2026-07-15 14:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":132416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:59:38] local.INFO: GPS data processed {"connection_id":132416,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:59:38] local.INFO: Acknowledgment sent {"connection_id":132416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 14:59:49] local.INFO: TCP Data received {"connection_id":134815,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134815,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:59:49] local.INFO: Processing buffer {"connection_id":134815,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 14:59:49] local.INFO: IMEI packet received {"connection_id":134815,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 14:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":134815,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:59:50] local.INFO: TCP Data received {"connection_id":133455,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 14:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133455,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 14:59:50] local.INFO: Processing buffer {"connection_id":133455,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 14:59:50] local.INFO: IMEI packet received {"connection_id":133455,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 14:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":133455,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 14:59:55] local.INFO: TCP Data received {"connection_id":133455,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 14:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133455,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 14:59:55] local.INFO: Processing buffer {"connection_id":133455,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 14:59:55] local.INFO: IMEI packet received {"connection_id":133455,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 14:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":133455,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 14:59:56] local.INFO: TCP Data received {"connection_id":133455,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f651b74b0012d18240007219eb8003b01340d..."} 
[2026-07-15 14:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f651b74b0012d18240007219eb8003b01340d..."} 
[2026-07-15 14:59:56] local.INFO: Processing buffer {"connection_id":133455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f651b74b0012d18240007219eb8003b01340d..."} 
[2026-07-15 14:59:56] local.INFO: Packet analysis {"connection_id":133455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f651b"} 
[2026-07-15 14:59:56] local.INFO: Extracted packet for processing {"connection_id":133455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f651b"} 
[2026-07-15 14:59:56] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119643832,"longitude_deg":75.65568,"latitude_deg":11.9643832,"altitude":59,"angle":308,"satellites":13,"speed":0,"hex_longitude":"2d182400","hex_latitude":"07219eb8","is_valid_coordinates":true} 
[2026-07-15 14:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 14:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731572480001,"note":"Value kept but may cause issues"} 
[2026-07-15 14:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6086969385811968,"note":"Value kept but may cause issues"} 
[2026-07-15 14:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605304758272,"note":"Value kept but may cause issues"} 
[2026-07-15 14:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 14:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784107726000,"timestamp_ms":1784107726000,"timestamp_seconds":1784107726,"priority":1,"record_length":96,"hex_timestamp":"0000019f651b74b0"} 
[2026-07-15 14:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 14:59:56] 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-07-15 14:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-15 14:59:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 14:59:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 14:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 14:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 14:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 14:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 14:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 14:59:56] 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-07-15 14:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 14:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 14:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731572480001,"66":14135,"105":206,"83":41984,"24":0,"16":6086969385811968,"45":1741274605304758272},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 14:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 14:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 14:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731572480001,"description":"Unknown IO ID 0"} 
[2026-07-15 14:59:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 14:59:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 14:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6086969385811968,"km_value":6086969385811.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 14:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605304758272,"description":"Unknown IO ID 45"} 
[2026-07-15 14:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731572480001,"power":14135,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741274605304758272}} 
[2026-07-15 14:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":133455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 14:59:56] local.INFO: GPS data processed {"connection_id":133455,"processed":1,"errors":0,"total":1} 
[2026-07-15 14:59:56] local.INFO: Acknowledgment sent {"connection_id":133455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:00:00] local.INFO: TCP Data received {"connection_id":132417,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:00:00] local.INFO: Processing buffer {"connection_id":132417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:00:00] local.INFO: IMEI packet received {"connection_id":132417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":132417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:00:06] local.INFO: TCP Data received {"connection_id":132417,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:00:06] local.INFO: Processing buffer {"connection_id":132417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:00:06] local.INFO: IMEI packet received {"connection_id":132417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":132417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:00:07] local.INFO: TCP Data received {"connection_id":132417,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f65181d38012d80f68005a124c00007015d2f..."} 
[2026-07-15 15:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65181d38012d80f68005a124c00007015d2f..."} 
[2026-07-15 15:00:07] local.INFO: Processing buffer {"connection_id":132417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65181d38012d80f68005a124c00007015d2f..."} 
[2026-07-15 15:00:07] local.INFO: Packet analysis {"connection_id":132417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6518"} 
[2026-07-15 15:00:07] local.INFO: Extracted packet for processing {"connection_id":132417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6518"} 
[2026-07-15 15:00:07] local.INFO: GPS Element Parsed {"raw_longitude":763426432,"raw_latitude":94446784,"longitude_deg":76.3426432,"latitude_deg":9.4446784,"altitude":7,"angle":349,"satellites":47,"speed":0,"hex_longitude":"2d80f680","hex_latitude":"05a124c0","is_valid_coordinates":true} 
[2026-07-15 15:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731444736001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 15:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9153988430917222400,"note":"Value kept but may cause issues"} 
[2026-07-15 15:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784107507000,"timestamp_ms":1784107507000,"timestamp_seconds":1784107507,"priority":1,"record_length":96,"hex_timestamp":"0000019f65181d38"} 
[2026-07-15 15:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-15 15:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731444736001,"66":26082,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9153988430917222400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731444736001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:00:07] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:00:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9153988430917222400,"description":"Unknown IO ID 45"} 
[2026-07-15 15:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731444736001,"power":26082,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9153988430917222400}} 
[2026-07-15 15:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":132417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:00:07] local.INFO: GPS data processed {"connection_id":132417,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:00:07] local.INFO: Acknowledgment sent {"connection_id":132417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:00:27] local.INFO: TCP Data received {"connection_id":133455,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f651c43b8012d1820000721b0c80047015f0f..."} 
[2026-07-15 15:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f651c43b8012d1820000721b0c80047015f0f..."} 
[2026-07-15 15:00:27] local.INFO: Processing buffer {"connection_id":133455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f651c43b8012d1820000721b0c80047015f0f..."} 
[2026-07-15 15:00:27] local.INFO: Packet analysis {"connection_id":133455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f651c"} 
[2026-07-15 15:00:27] local.INFO: Extracted packet for processing {"connection_id":133455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f651c"} 
[2026-07-15 15:00:27] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648456,"longitude_deg":75.6555776,"latitude_deg":11.9648456,"altitude":71,"angle":351,"satellites":15,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b0c8","is_valid_coordinates":true} 
[2026-07-15 15:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731586048001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087317278162944,"note":"Value kept but may cause issues"} 
[2026-07-15 15:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330515965952,"note":"Value kept but may cause issues"} 
[2026-07-15 15:00: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-07-15 15:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784107779000,"timestamp_ms":1784107779000,"timestamp_seconds":1784107779,"priority":1,"record_length":96,"hex_timestamp":"0000019f651c43b8"} 
[2026-07-15 15:00:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:00:27] 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-07-15 15:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-15 15:00:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:00:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:00:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":133455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":133455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":133455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:00: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-07-15 15:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731586048001,"66":14135,"105":206,"83":41984,"24":0,"16":6087317278162944,"45":1738741330515965952},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731586048001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:00:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:00:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087317278162944,"km_value":6087317278162.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330515965952,"description":"Unknown IO ID 45"} 
[2026-07-15 15:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731586048001,"power":14135,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330515965952}} 
[2026-07-15 15:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":133455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:00:27] local.INFO: GPS data processed {"connection_id":133455,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:00:27] local.INFO: Acknowledgment sent {"connection_id":133455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:00:34] local.INFO: TCP Data received {"connection_id":134816,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134816,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:00:34] local.INFO: Processing buffer {"connection_id":134816,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:00:34] local.INFO: IMEI packet received {"connection_id":134816,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 15:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":134816,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:00:38] local.INFO: TCP Data received {"connection_id":132417,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f65181d38012d80f68005a124c00007015d2f..."} 
[2026-07-15 15:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65181d38012d80f68005a124c00007015d2f..."} 
[2026-07-15 15:00:38] local.INFO: Processing buffer {"connection_id":132417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65181d38012d80f68005a124c00007015d2f..."} 
[2026-07-15 15:00:38] local.INFO: Packet analysis {"connection_id":132417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6518"} 
[2026-07-15 15:00:38] local.INFO: Extracted packet for processing {"connection_id":132417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6518"} 
[2026-07-15 15:00:38] local.INFO: GPS Element Parsed {"raw_longitude":763426432,"raw_latitude":94446784,"longitude_deg":76.3426432,"latitude_deg":9.4446784,"altitude":7,"angle":349,"satellites":47,"speed":0,"hex_longitude":"2d80f680","hex_latitude":"05a124c0","is_valid_coordinates":true} 
[2026-07-15 15:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731444736001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 15:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9153988430917222400,"note":"Value kept but may cause issues"} 
[2026-07-15 15:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784107507000,"timestamp_ms":1784107507000,"timestamp_seconds":1784107507,"priority":1,"record_length":96,"hex_timestamp":"0000019f65181d38"} 
[2026-07-15 15:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-15 15:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731444736001,"66":26082,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9153988430917222400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731444736001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:00:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:00:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9153988430917222400,"description":"Unknown IO ID 45"} 
[2026-07-15 15:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731444736001,"power":26082,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9153988430917222400}} 
[2026-07-15 15:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":132417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:00:38] local.INFO: GPS data processed {"connection_id":132417,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:00:38] local.INFO: Acknowledgment sent {"connection_id":132417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:00:54] local.INFO: TCP Data received {"connection_id":133456,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133456,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:00:54] local.INFO: Processing buffer {"connection_id":133456,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:00:54] local.INFO: IMEI packet received {"connection_id":133456,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 15:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":133456,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:00:56] local.INFO: TCP Data received {"connection_id":134817,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:00:56] local.INFO: Processing buffer {"connection_id":134817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:00:56] local.INFO: IMEI packet received {"connection_id":134817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 15:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":134817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:00:56] local.INFO: TCP Data received {"connection_id":133456,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133456,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:00:56] local.INFO: Processing buffer {"connection_id":133456,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:00:56] local.INFO: IMEI packet received {"connection_id":133456,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":133456,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:00:59] local.INFO: TCP Data received {"connection_id":133456,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133456,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:00:59] local.INFO: Processing buffer {"connection_id":133456,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:00:59] local.INFO: IMEI packet received {"connection_id":133456,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":133456,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:01:00] local.INFO: TCP Data received {"connection_id":133456,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f65150828012d7c1cc005db07800008015f25..."} 
[2026-07-15 15:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65150828012d7c1cc005db07800008015f25..."} 
[2026-07-15 15:01:00] local.INFO: Processing buffer {"connection_id":133456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65150828012d7c1cc005db07800008015f25..."} 
[2026-07-15 15:01:00] local.INFO: Packet analysis {"connection_id":133456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6515"} 
[2026-07-15 15:01:00] local.INFO: Extracted packet for processing {"connection_id":133456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6515"} 
[2026-07-15 15:01:00] local.INFO: GPS Element Parsed {"raw_longitude":763108544,"raw_latitude":98240384,"longitude_deg":76.3108544,"latitude_deg":9.8240384,"altitude":8,"angle":351,"satellites":37,"speed":0,"hex_longitude":"2d7c1cc0","hex_latitude":"05db0780","is_valid_coordinates":true} 
[2026-07-15 15:01:00] 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-07-15 15:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731470080001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106523448162910208,"note":"Value kept but may cause issues"} 
[2026-07-15 15:01:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8943234091433033728,"note":"Value kept but may cause issues"} 
[2026-07-15 15:01:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784107305000,"timestamp_ms":1784107305000,"timestamp_seconds":1784107305,"priority":1,"record_length":96,"hex_timestamp":"0000019f65150828"} 
[2026-07-15 15:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:01:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-15 15:01:00] 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-07-15 15:01:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":133456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":133456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":133456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:01:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731470080001,"66":12917,"187":206,"85":15104,"24":0,"16":106523448162910208,"45":8943234091433033728},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-15 15:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731470080001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:01:00] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-15 15:01:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 15:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106523448162910208,"km_value":106523448162910.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:01:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8943234091433033728,"description":"Unknown IO ID 45"} 
[2026-07-15 15:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731470080001,"power":12917,"unknown_187":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8943234091433033728}} 
[2026-07-15 15:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":133456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491295,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:01:00] local.INFO: GPS data processed {"connection_id":133456,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:01:00] local.INFO: Acknowledgment sent {"connection_id":133456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:01:00] local.INFO: TCP Data received {"connection_id":134817,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:01:00] local.INFO: Processing buffer {"connection_id":134817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:01:00] local.INFO: IMEI packet received {"connection_id":134817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":134817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:01:00] local.INFO: TCP Data received {"connection_id":132617,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:01:00] local.INFO: Processing buffer {"connection_id":132617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:01:00] local.INFO: IMEI packet received {"connection_id":132617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":132617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:01:01] local.INFO: TCP Data received {"connection_id":134817,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f651c95c0012d181fc00721b0500048015f10..."} 
[2026-07-15 15:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f651c95c0012d181fc00721b0500048015f10..."} 
[2026-07-15 15:01:01] local.INFO: Processing buffer {"connection_id":134817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f651c95c0012d181fc00721b0500048015f10..."} 
[2026-07-15 15:01:01] local.INFO: Packet analysis {"connection_id":134817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f651c"} 
[2026-07-15 15:01:01] local.INFO: Extracted packet for processing {"connection_id":134817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f651c"} 
[2026-07-15 15:01:01] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":16,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731591424001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:01:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795016192,"note":"Value kept but may cause issues"} 
[2026-07-15 15:01:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784107800000,"timestamp_ms":1784107800000,"timestamp_seconds":1784107800,"priority":1,"record_length":96,"hex_timestamp":"0000019f651c95c0"} 
[2026-07-15 15:01:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:01:01] 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-07-15 15:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-15 15:01:01] 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-07-15 15:01:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:01:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":134817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":134817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":134817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:01:01] 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-07-15 15:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731591424001,"66":13222,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738389486795016192},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731591424001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:01:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:01:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:01:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795016192,"description":"Unknown IO ID 45"} 
[2026-07-15 15:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731591424001,"power":13222,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795016192}} 
[2026-07-15 15:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":134817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:01:01] local.INFO: GPS data processed {"connection_id":134817,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:01:01] local.INFO: Acknowledgment sent {"connection_id":134817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:01:04] local.INFO: TCP Data received {"connection_id":134817,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f651ce7c8012d181fc00721b0500048015f16..."} 
[2026-07-15 15:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f651ce7c8012d181fc00721b0500048015f16..."} 
[2026-07-15 15:01:04] local.INFO: Processing buffer {"connection_id":134817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f651ce7c8012d181fc00721b0500048015f16..."} 
[2026-07-15 15:01:04] local.INFO: Packet analysis {"connection_id":134817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f651c"} 
[2026-07-15 15:01:04] local.INFO: Extracted packet for processing {"connection_id":134817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f651c"} 
[2026-07-15 15:01:04] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":22,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731596800001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:01: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-07-15 15:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784107821000,"timestamp_ms":1784107821000,"timestamp_seconds":1784107821,"priority":1,"record_length":96,"hex_timestamp":"0000019f651ce7c8"} 
[2026-07-15 15:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:01:04] 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-07-15 15:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-15 15:01:04] 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-07-15 15:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":134817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":134817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":134817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731596800001,"66":13167,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731596800001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:01:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:01:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731596800001,"power":13167,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":134817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:01:05] local.INFO: GPS data processed {"connection_id":134817,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:01:05] local.INFO: Acknowledgment sent {"connection_id":134817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:01:05] local.INFO: TCP Data received {"connection_id":132617,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:01:05] local.INFO: Processing buffer {"connection_id":132617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:01:05] local.INFO: IMEI packet received {"connection_id":132617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":132617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:01:06] local.INFO: TCP Data received {"connection_id":132617,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f651cb500012d80f68005a124c00007015d2b..."} 
[2026-07-15 15:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f651cb500012d80f68005a124c00007015d2b..."} 
[2026-07-15 15:01:06] local.INFO: Processing buffer {"connection_id":132617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f651cb500012d80f68005a124c00007015d2b..."} 
[2026-07-15 15:01:06] local.INFO: Packet analysis {"connection_id":132617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f651c"} 
[2026-07-15 15:01:06] local.INFO: Extracted packet for processing {"connection_id":132617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f651c"} 
[2026-07-15 15:01:06] local.INFO: GPS Element Parsed {"raw_longitude":763426432,"raw_latitude":94446784,"longitude_deg":76.3426432,"latitude_deg":9.4446784,"altitude":7,"angle":349,"satellites":43,"speed":0,"hex_longitude":"2d80f680","hex_latitude":"05a124c0","is_valid_coordinates":true} 
[2026-07-15 15:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731521792001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 15:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9153988430917222400,"note":"Value kept but may cause issues"} 
[2026-07-15 15:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784107808000,"timestamp_ms":1784107808000,"timestamp_seconds":1784107808,"priority":1,"record_length":96,"hex_timestamp":"0000019f651cb500"} 
[2026-07-15 15:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-15 15:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:01:06] 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-07-15 15:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731521792001,"66":26039,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9153988430917222400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731521792001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:01:06] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:01:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9153988430917222400,"description":"Unknown IO ID 45"} 
[2026-07-15 15:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731521792001,"power":26039,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9153988430917222400}} 
[2026-07-15 15:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":132617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:01:07] local.INFO: GPS data processed {"connection_id":132617,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:01:07] local.INFO: Acknowledgment sent {"connection_id":132617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:01:31] local.INFO: TCP Data received {"connection_id":133456,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f651c7298012d7c1bc005db07580008015f26..."} 
[2026-07-15 15:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f651c7298012d7c1bc005db07580008015f26..."} 
[2026-07-15 15:01:31] local.INFO: Processing buffer {"connection_id":133456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f651c7298012d7c1bc005db07580008015f26..."} 
[2026-07-15 15:01:31] local.INFO: Packet analysis {"connection_id":133456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f651c"} 
[2026-07-15 15:01:31] local.INFO: Extracted packet for processing {"connection_id":133456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f651c"} 
[2026-07-15 15:01:31] local.INFO: GPS Element Parsed {"raw_longitude":763108288,"raw_latitude":98240344,"longitude_deg":76.3108288,"latitude_deg":9.8240344,"altitude":8,"angle":351,"satellites":38,"speed":0,"hex_longitude":"2d7c1bc0","hex_latitude":"05db0758","is_valid_coordinates":true} 
[2026-07-15 15:01:31] 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-07-15 15:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731470080001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106523448162910208,"note":"Value kept but may cause issues"} 
[2026-07-15 15:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8943234091433033728,"note":"Value kept but may cause issues"} 
[2026-07-15 15:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784107791000,"timestamp_ms":1784107791000,"timestamp_seconds":1784107791,"priority":1,"record_length":96,"hex_timestamp":"0000019f651c7298"} 
[2026-07-15 15:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-15 15:01:31] 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-07-15 15:01:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":133456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":133456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":133456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731470080001,"66":2253,"186":206,"85":15104,"24":0,"16":106523448162910208,"45":8943234091433033728},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-07-15 15:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731470080001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:01:31] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-15 15:01:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 15:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106523448162910208,"km_value":106523448162910.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8943234091433033728,"description":"Unknown IO ID 45"} 
[2026-07-15 15:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731470080001,"power":2253,"unknown_186":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8943234091433033728}} 
[2026-07-15 15:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":133456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491299,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:01:31] local.INFO: GPS data processed {"connection_id":133456,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:01:31] local.INFO: Acknowledgment sent {"connection_id":133456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:01:36] local.INFO: TCP Data received {"connection_id":134817,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f651d39d0012d181fc00721b0500048015f19..."} 
[2026-07-15 15:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f651d39d0012d181fc00721b0500048015f19..."} 
[2026-07-15 15:01:36] local.INFO: Processing buffer {"connection_id":134817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f651d39d0012d181fc00721b0500048015f19..."} 
[2026-07-15 15:01:36] local.INFO: Packet analysis {"connection_id":134817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f651d"} 
[2026-07-15 15:01:36] local.INFO: Extracted packet for processing {"connection_id":134817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f651d"} 
[2026-07-15 15:01:36] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":25,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731602176001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784107842000,"timestamp_ms":1784107842000,"timestamp_seconds":1784107842,"priority":1,"record_length":96,"hex_timestamp":"0000019f651d39d0"} 
[2026-07-15 15:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-15 15:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":134817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":134817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":134817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:01:36] 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-07-15 15:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731602176001,"66":13135,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731602176001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:01:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:01:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731602176001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":134817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:01:36] local.INFO: GPS data processed {"connection_id":134817,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:01:36] local.INFO: Acknowledgment sent {"connection_id":134817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:01:38] local.INFO: TCP Data received {"connection_id":132617,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f651cb500012d80f68005a124c00007015d2b..."} 
[2026-07-15 15:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f651cb500012d80f68005a124c00007015d2b..."} 
[2026-07-15 15:01:38] local.INFO: Processing buffer {"connection_id":132617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f651cb500012d80f68005a124c00007015d2b..."} 
[2026-07-15 15:01:38] local.INFO: Packet analysis {"connection_id":132617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f651c"} 
[2026-07-15 15:01:38] local.INFO: Extracted packet for processing {"connection_id":132617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f651c"} 
[2026-07-15 15:01:38] local.INFO: GPS Element Parsed {"raw_longitude":763426432,"raw_latitude":94446784,"longitude_deg":76.3426432,"latitude_deg":9.4446784,"altitude":7,"angle":349,"satellites":43,"speed":0,"hex_longitude":"2d80f680","hex_latitude":"05a124c0","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731521792001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 15:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9153988430917222400,"note":"Value kept but may cause issues"} 
[2026-07-15 15:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784107808000,"timestamp_ms":1784107808000,"timestamp_seconds":1784107808,"priority":1,"record_length":96,"hex_timestamp":"0000019f651cb500"} 
[2026-07-15 15:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-15 15:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15: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-07-15 15:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731521792001,"66":26039,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9153988430917222400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731521792001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:01:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:01:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9153988430917222400,"description":"Unknown IO ID 45"} 
[2026-07-15 15:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731521792001,"power":26039,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9153988430917222400}} 
[2026-07-15 15:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":132617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:01:38] local.INFO: GPS data processed {"connection_id":132617,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:01:38] local.INFO: Acknowledgment sent {"connection_id":132617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:01:51] local.INFO: TCP Data received {"connection_id":132419,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132419,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:01:51] local.INFO: Processing buffer {"connection_id":132419,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:01:51] local.INFO: IMEI packet received {"connection_id":132419,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 15:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":132419,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:01:56] local.INFO: TCP Data received {"connection_id":132419,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132419,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:01:56] local.INFO: Processing buffer {"connection_id":132419,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:01:56] local.INFO: IMEI packet received {"connection_id":132419,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":132419,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:01:56] local.INFO: TCP Data received {"connection_id":132419,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f651d8bd8012d181fc00721b0500048015f19..."} 
[2026-07-15 15:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f651d8bd8012d181fc00721b0500048015f19..."} 
[2026-07-15 15:01:56] local.INFO: Processing buffer {"connection_id":132419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f651d8bd8012d181fc00721b0500048015f19..."} 
[2026-07-15 15:01:56] local.INFO: Packet analysis {"connection_id":132419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f651d"} 
[2026-07-15 15:01:56] local.INFO: Extracted packet for processing {"connection_id":132419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f651d"} 
[2026-07-15 15:01:56] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":25,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731607552001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:01:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784107863000,"timestamp_ms":1784107863000,"timestamp_seconds":1784107863,"priority":1,"record_length":96,"hex_timestamp":"0000019f651d8bd8"} 
[2026-07-15 15:01:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:01:56] 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-07-15 15: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-15 15:01:56] 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-07-15 15: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-07-15 15:01:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:01:56] 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-07-15 15:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731607552001,"66":13091,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731607552001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:01:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:01:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731607552001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":132419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:01:56] local.INFO: GPS data processed {"connection_id":132419,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:01:56] local.INFO: Acknowledgment sent {"connection_id":132419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:02:01] local.INFO: TCP Data received {"connection_id":133457,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:02:01] local.INFO: Processing buffer {"connection_id":133457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:02:01] local.INFO: IMEI packet received {"connection_id":133457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":133457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:02:03] local.INFO: TCP Data received {"connection_id":132420,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132420,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:02:03] local.INFO: Processing buffer {"connection_id":132420,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:02:03] local.INFO: IMEI packet received {"connection_id":132420,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 15:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":132420,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:02:04] local.INFO: TCP Data received {"connection_id":132420,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132420,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:02:04] local.INFO: Processing buffer {"connection_id":132420,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:02:04] local.INFO: IMEI packet received {"connection_id":132420,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":132420,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:02:06] local.INFO: TCP Data received {"connection_id":133457,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:02:06] local.INFO: Processing buffer {"connection_id":133457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:02:06] local.INFO: IMEI packet received {"connection_id":133457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":133457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:02:07] local.INFO: TCP Data received {"connection_id":133457,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f651cb500012d80f68005a124c00007015d2b..."} 
[2026-07-15 15:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f651cb500012d80f68005a124c00007015d2b..."} 
[2026-07-15 15:02:07] local.INFO: Processing buffer {"connection_id":133457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f651cb500012d80f68005a124c00007015d2b..."} 
[2026-07-15 15:02:07] local.INFO: Packet analysis {"connection_id":133457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f651c"} 
[2026-07-15 15:02:07] local.INFO: Extracted packet for processing {"connection_id":133457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f651c"} 
[2026-07-15 15:02:07] local.INFO: GPS Element Parsed {"raw_longitude":763426432,"raw_latitude":94446784,"longitude_deg":76.3426432,"latitude_deg":9.4446784,"altitude":7,"angle":349,"satellites":43,"speed":0,"hex_longitude":"2d80f680","hex_latitude":"05a124c0","is_valid_coordinates":true} 
[2026-07-15 15:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731521792001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 15:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9153988430917222400,"note":"Value kept but may cause issues"} 
[2026-07-15 15:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784107808000,"timestamp_ms":1784107808000,"timestamp_seconds":1784107808,"priority":1,"record_length":96,"hex_timestamp":"0000019f651cb500"} 
[2026-07-15 15:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-15 15:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731521792001,"66":26039,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9153988430917222400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731521792001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:02:07] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:02:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9153988430917222400,"description":"Unknown IO ID 45"} 
[2026-07-15 15:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731521792001,"power":26039,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9153988430917222400}} 
[2026-07-15 15:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":133457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:02:07] local.INFO: GPS data processed {"connection_id":133457,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:02:07] local.INFO: Acknowledgment sent {"connection_id":133457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:02:09] local.INFO: TCP Data received {"connection_id":132420,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132420,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:02:09] local.INFO: Processing buffer {"connection_id":132420,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:02:09] local.INFO: IMEI packet received {"connection_id":132420,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":132420,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:02:10] local.INFO: TCP Data received {"connection_id":132420,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f651e1878012d7c030005db67400000015c25..."} 
[2026-07-15 15:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f651e1878012d7c030005db67400000015c25..."} 
[2026-07-15 15:02:10] local.INFO: Processing buffer {"connection_id":132420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f651e1878012d7c030005db67400000015c25..."} 
[2026-07-15 15:02:10] local.INFO: Packet analysis {"connection_id":132420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f651e"} 
[2026-07-15 15:02:10] local.INFO: Extracted packet for processing {"connection_id":132420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f651e"} 
[2026-07-15 15:02:10] local.INFO: GPS Element Parsed {"raw_longitude":763101952,"raw_latitude":98264896,"longitude_deg":76.3101952,"latitude_deg":9.8264896,"altitude":0,"angle":348,"satellites":37,"speed":37,"hex_longitude":"2d7c0300","hex_latitude":"05db6740","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731618304001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106524697998393344,"note":"Value kept but may cause issues"} 
[2026-07-15 15:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938026804367816704,"note":"Value kept but may cause issues"} 
[2026-07-15 15:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784107899000,"timestamp_ms":1784107899000,"timestamp_seconds":1784107899,"priority":1,"record_length":96,"hex_timestamp":"0000019f651e1878"} 
[2026-07-15 15:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-15 15:02:10] local.WARNING: Large IO value detected {"io_id":24,"raw_value":3221609235,"note":"Value kept but may cause issues"} 
[2026-07-15 15:02:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 15:02:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788843,"note":"Value kept but may cause issues"} 
[2026-07-15 15:02:10] local.WARNING: Large IO value detected {"io_id":219,"raw_value":529172990598784512,"note":"Value kept but may cause issues"} 
[2026-07-15 15:02:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797207758,"corrected_to":0} 
[2026-07-15 15:02:10] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3707817382,"note":"Value kept but may cause issues"} 
[2026-07-15 15:02:10] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3674691584,"note":"Value kept but may cause issues"} 
[2026-07-15 15:02:10] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":57885688033334587,"corrected_to":0} 
[2026-07-15 15:02:10] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8257351211651153925,"note":"Value kept but may cause issues"} 
[2026-07-15 15:02:10] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,185,85,24,241,157,16,115,159,214,45,128,66,36,10,190,64,65,37,108,1,240,254,227,101,219,4,113,205,30,40,239,49,186,2,122,5,8,202,28],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2797207758,"validated":0},{"io_id":202,"original":57885688033334587,"validated":0}]} 
[2026-07-15 15:02:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":378395209236480,"timestamp_seconds":378395209236.48,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 15:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":132420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":132420,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":132420,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731618304001,"66":12982,"185":206,"85":15104,"24":37,"16":106524697998393344,"45":8938026804367816704},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-15 15:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731618304001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:02:10] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-15 15:02:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 15:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106524697998393344,"km_value":106524697998393.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938026804367816704,"description":"Unknown IO ID 45"} 
[2026-07-15 15:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731618304001,"power":12982,"unknown_185":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8938026804367816704}} 
[2026-07-15 15:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":132420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491304,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:02:10] local.INFO: GPS data processed {"connection_id":132420,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:02:10] local.INFO: Acknowledgment sent {"connection_id":132420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:02:27] local.INFO: TCP Data received {"connection_id":132419,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f651ddde0012d181fc00721b0500048015f1a..."} 
[2026-07-15 15:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f651ddde0012d181fc00721b0500048015f1a..."} 
[2026-07-15 15:02:27] local.INFO: Processing buffer {"connection_id":132419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f651ddde0012d181fc00721b0500048015f1a..."} 
[2026-07-15 15:02:27] local.INFO: Packet analysis {"connection_id":132419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f651d"} 
[2026-07-15 15:02:27] local.INFO: Extracted packet for processing {"connection_id":132419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f651d"} 
[2026-07-15 15:02:27] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":26,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 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-07-15 15:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731612928001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:02: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-07-15 15:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784107884000,"timestamp_ms":1784107884000,"timestamp_seconds":1784107884,"priority":1,"record_length":96,"hex_timestamp":"0000019f651ddde0"} 
[2026-07-15 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-07-15 15:02:27] 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-07-15 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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-15 15:02:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 15:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":132419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":132419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":132419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:02: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-07-15 15:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731612928001,"66":13048,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731612928001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:02:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:02:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731612928001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:02:28] local.INFO: DEBUG: GPS processor result {"connection_id":132419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:02:28] local.INFO: GPS data processed {"connection_id":132419,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:02:28] local.INFO: Acknowledgment sent {"connection_id":132419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:02:39] local.INFO: TCP Data received {"connection_id":133457,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f651cb500012d80f68005a124c00007015d2b..."} 
[2026-07-15 15:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f651cb500012d80f68005a124c00007015d2b..."} 
[2026-07-15 15:02:39] local.INFO: Processing buffer {"connection_id":133457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f651cb500012d80f68005a124c00007015d2b..."} 
[2026-07-15 15:02:39] local.INFO: Packet analysis {"connection_id":133457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f651c"} 
[2026-07-15 15:02:39] local.INFO: Extracted packet for processing {"connection_id":133457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f651c"} 
[2026-07-15 15:02:39] local.INFO: GPS Element Parsed {"raw_longitude":763426432,"raw_latitude":94446784,"longitude_deg":76.3426432,"latitude_deg":9.4446784,"altitude":7,"angle":349,"satellites":43,"speed":0,"hex_longitude":"2d80f680","hex_latitude":"05a124c0","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731521792001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 15:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9153988430917222400,"note":"Value kept but may cause issues"} 
[2026-07-15 15:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784107808000,"timestamp_ms":1784107808000,"timestamp_seconds":1784107808,"priority":1,"record_length":96,"hex_timestamp":"0000019f651cb500"} 
[2026-07-15 15:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:02:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-15 15:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15: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-07-15 15:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:02: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-07-15 15:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731521792001,"66":26039,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9153988430917222400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731521792001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:02:39] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:02:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9153988430917222400,"description":"Unknown IO ID 45"} 
[2026-07-15 15:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731521792001,"power":26039,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9153988430917222400}} 
[2026-07-15 15:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":133457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:02:39] local.INFO: GPS data processed {"connection_id":133457,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:02:39] local.INFO: Acknowledgment sent {"connection_id":133457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:02:40] local.INFO: TCP Data received {"connection_id":132420,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f651e3ba0012d7bfc0005db8d200000015e1b..."} 
[2026-07-15 15:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f651e3ba0012d7bfc0005db8d200000015e1b..."} 
[2026-07-15 15:02:40] local.INFO: Processing buffer {"connection_id":132420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f651e3ba0012d7bfc0005db8d200000015e1b..."} 
[2026-07-15 15:02:40] local.INFO: Packet analysis {"connection_id":132420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f651e"} 
[2026-07-15 15:02:40] local.INFO: Extracted packet for processing {"connection_id":132420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f651e"} 
[2026-07-15 15:02:40] local.INFO: GPS Element Parsed {"raw_longitude":763100160,"raw_latitude":98274592,"longitude_deg":76.310016,"latitude_deg":9.8274592,"altitude":0,"angle":350,"satellites":27,"speed":47,"hex_longitude":"2d7bfc00","hex_latitude":"05db8d20","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731622144001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106525179034730496,"note":"Value kept but may cause issues"} 
[2026-07-15 15:02:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8935986110789009408,"note":"Value kept but may cause issues"} 
[2026-07-15 15:02:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784107908000,"timestamp_ms":1784107908000,"timestamp_seconds":1784107908,"priority":1,"record_length":96,"hex_timestamp":"0000019f651e3ba0"} 
[2026-07-15 15:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:02:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-15 15:02:40] 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-07-15 15: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-07-15 15:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132420,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132420,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:02:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731622144001,"66":12961,"185":206,"85":15104,"24":47,"16":106525179034730496,"45":8935986110789009408},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-15 15:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731622144001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:02:40] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-15 15:02:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 15:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106525179034730496,"km_value":106525179034730.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:02:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8935986110789009408,"description":"Unknown IO ID 45"} 
[2026-07-15 15:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731622144001,"power":12961,"unknown_185":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":8935986110789009408}} 
[2026-07-15 15:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":132420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491307,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:02:41] local.INFO: GPS data processed {"connection_id":132420,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:02:41] local.INFO: Acknowledgment sent {"connection_id":132420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:02:50] local.INFO: TCP Data received {"connection_id":132421,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:02:50] local.INFO: Processing buffer {"connection_id":132421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:02:50] local.INFO: IMEI packet received {"connection_id":132421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 15:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":132421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:02:51] local.INFO: TCP Data received {"connection_id":132421,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:02:51] local.INFO: Processing buffer {"connection_id":132421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:02:51] local.INFO: IMEI packet received {"connection_id":132421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":132421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:02:56] local.INFO: TCP Data received {"connection_id":132421,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:02:56] local.INFO: Processing buffer {"connection_id":132421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:02:56] local.INFO: IMEI packet received {"connection_id":132421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":132421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:02:56] local.INFO: TCP Data received {"connection_id":132421,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f651e2fe8012d181fc00721b0500048015f1c..."} 
[2026-07-15 15:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f651e2fe8012d181fc00721b0500048015f1c..."} 
[2026-07-15 15:02:56] local.INFO: Processing buffer {"connection_id":132421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f651e2fe8012d181fc00721b0500048015f1c..."} 
[2026-07-15 15:02:56] local.INFO: Packet analysis {"connection_id":132421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f651e"} 
[2026-07-15 15:02:56] local.INFO: Extracted packet for processing {"connection_id":132421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f651e"} 
[2026-07-15 15:02:56] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":28,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731618304001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:02:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:02:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784107905000,"timestamp_ms":1784107905000,"timestamp_seconds":1784107905,"priority":1,"record_length":96,"hex_timestamp":"0000019f651e2fe8"} 
[2026-07-15 15:02:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:02:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-15 15:02: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-07-15 15:02:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:02:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:02:56] 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-07-15 15:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731618304001,"66":13015,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731618304001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:02:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:02:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:02:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731618304001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":132421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:02:56] local.INFO: GPS data processed {"connection_id":132421,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:02:56] local.INFO: Acknowledgment sent {"connection_id":132421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:02:57] local.INFO: TCP Data received {"connection_id":134818,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134818,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:02:57] local.INFO: Processing buffer {"connection_id":134818,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:02:57] local.INFO: IMEI packet received {"connection_id":134818,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 15:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":134818,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:02:59] local.INFO: TCP Data received {"connection_id":134818,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134818,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:02:59] local.INFO: Processing buffer {"connection_id":134818,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:02:59] local.INFO: IMEI packet received {"connection_id":134818,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":134818,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:03:01] local.INFO: TCP Data received {"connection_id":132620,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:03:01] local.INFO: Processing buffer {"connection_id":132620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:03:01] local.INFO: IMEI packet received {"connection_id":132620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":132620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:03:04] local.INFO: TCP Data received {"connection_id":134818,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134818,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:03:04] local.INFO: Processing buffer {"connection_id":134818,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:03:04] local.INFO: IMEI packet received {"connection_id":134818,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":134818,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:03:05] local.INFO: TCP Data received {"connection_id":134818,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f651e56f8012d7bf50005dbafc80000015b1d..."} 
[2026-07-15 15:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f651e56f8012d7bf50005dbafc80000015b1d..."} 
[2026-07-15 15:03:05] local.INFO: Processing buffer {"connection_id":134818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f651e56f8012d7bf50005dbafc80000015b1d..."} 
[2026-07-15 15:03:05] local.INFO: Packet analysis {"connection_id":134818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f651e"} 
[2026-07-15 15:03:05] local.INFO: Extracted packet for processing {"connection_id":134818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f651e"} 
[2026-07-15 15:03:05] local.INFO: GPS Element Parsed {"raw_longitude":763098368,"raw_latitude":98283464,"longitude_deg":76.3098368,"latitude_deg":9.8283464,"altitude":0,"angle":347,"satellites":29,"speed":51,"hex_longitude":"2d7bf500","hex_latitude":"05dbafc8","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731624448001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106525617121394688,"note":"Value kept but may cause issues"} 
[2026-07-15 15:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8934015785954516992,"note":"Value kept but may cause issues"} 
[2026-07-15 15:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784107915000,"timestamp_ms":1784107915000,"timestamp_seconds":1784107915,"priority":1,"record_length":96,"hex_timestamp":"0000019f651e56f8"} 
[2026-07-15 15:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-15 15:03:05] 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-07-15 15: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-07-15 15:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":134818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":134818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":134818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731624448001,"66":13276,"185":206,"85":15104,"24":51,"16":106525617121394688,"45":8934015785954516992},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-15 15:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731624448001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:03:05] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-15 15:03:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 15:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106525617121394688,"km_value":106525617121394.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8934015785954516992,"description":"Unknown IO ID 45"} 
[2026-07-15 15:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731624448001,"power":13276,"unknown_185":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8934015785954516992}} 
[2026-07-15 15:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":134818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491309,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:03:05] local.INFO: GPS data processed {"connection_id":134818,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:03:05] local.INFO: Acknowledgment sent {"connection_id":134818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:03:06] local.INFO: TCP Data received {"connection_id":132620,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:03:06] local.INFO: Processing buffer {"connection_id":132620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:03:06] local.INFO: IMEI packet received {"connection_id":132620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":132620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:03:07] local.INFO: TCP Data received {"connection_id":132620,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f651cb500012d80f68005a124c00007015d2b..."} 
[2026-07-15 15:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f651cb500012d80f68005a124c00007015d2b..."} 
[2026-07-15 15:03:07] local.INFO: Processing buffer {"connection_id":132620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f651cb500012d80f68005a124c00007015d2b..."} 
[2026-07-15 15:03:07] local.INFO: Packet analysis {"connection_id":132620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f651c"} 
[2026-07-15 15:03:07] local.INFO: Extracted packet for processing {"connection_id":132620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f651c"} 
[2026-07-15 15:03:07] local.INFO: GPS Element Parsed {"raw_longitude":763426432,"raw_latitude":94446784,"longitude_deg":76.3426432,"latitude_deg":9.4446784,"altitude":7,"angle":349,"satellites":43,"speed":0,"hex_longitude":"2d80f680","hex_latitude":"05a124c0","is_valid_coordinates":true} 
[2026-07-15 15:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731521792001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 15:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9153988430917222400,"note":"Value kept but may cause issues"} 
[2026-07-15 15:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784107808000,"timestamp_ms":1784107808000,"timestamp_seconds":1784107808,"priority":1,"record_length":96,"hex_timestamp":"0000019f651cb500"} 
[2026-07-15 15:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-15 15:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731521792001,"66":26039,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9153988430917222400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731521792001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:03:07] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:03:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9153988430917222400,"description":"Unknown IO ID 45"} 
[2026-07-15 15:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731521792001,"power":26039,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9153988430917222400}} 
[2026-07-15 15:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":132620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:03:07] local.INFO: GPS data processed {"connection_id":132620,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:03:07] local.INFO: Acknowledgment sent {"connection_id":132620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:03:27] local.INFO: TCP Data received {"connection_id":132421,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f651e81f0012d181fc00721b0500048015f1d..."} 
[2026-07-15 15:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f651e81f0012d181fc00721b0500048015f1d..."} 
[2026-07-15 15:03:27] local.INFO: Processing buffer {"connection_id":132421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f651e81f0012d181fc00721b0500048015f1d..."} 
[2026-07-15 15:03:27] local.INFO: Packet analysis {"connection_id":132421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f651e"} 
[2026-07-15 15:03:27] local.INFO: Extracted packet for processing {"connection_id":132421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f651e"} 
[2026-07-15 15:03:27] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":29,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731623680001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:03: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-07-15 15:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784107926000,"timestamp_ms":1784107926000,"timestamp_seconds":1784107926,"priority":1,"record_length":96,"hex_timestamp":"0000019f651e81f0"} 
[2026-07-15 15:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:03:27] 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-07-15 15: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-15 15:03:27] 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-07-15 15: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-07-15 15:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":132421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":132421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":132421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:03: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-07-15 15:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731623680001,"66":13004,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731623680001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:03:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:03:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731623680001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:03:28] local.INFO: DEBUG: GPS processor result {"connection_id":132421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:03:28] local.INFO: GPS data processed {"connection_id":132421,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:03:28] local.INFO: Acknowledgment sent {"connection_id":132421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:03:36] local.INFO: TCP Data received {"connection_id":134818,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f651e7250012d7bee4005dbd3580000015f20..."} 
[2026-07-15 15:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f651e7250012d7bee4005dbd3580000015f20..."} 
[2026-07-15 15:03:36] local.INFO: Processing buffer {"connection_id":134818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f651e7250012d7bee4005dbd3580000015f20..."} 
[2026-07-15 15:03:36] local.INFO: Packet analysis {"connection_id":134818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f651e"} 
[2026-07-15 15:03:36] local.INFO: Extracted packet for processing {"connection_id":134818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f651e"} 
[2026-07-15 15:03:36] local.INFO: GPS Element Parsed {"raw_longitude":763096640,"raw_latitude":98292568,"longitude_deg":76.309664,"latitude_deg":9.8292568,"altitude":0,"angle":351,"satellites":32,"speed":53,"hex_longitude":"2d7bee40","hex_latitude":"05dbd358","is_valid_coordinates":true} 
[2026-07-15 15:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731626240001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106526068092960768,"note":"Value kept but may cause issues"} 
[2026-07-15 15:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8932045461119813632,"note":"Value kept but may cause issues"} 
[2026-07-15 15:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784107922000,"timestamp_ms":1784107922000,"timestamp_seconds":1784107922,"priority":1,"record_length":96,"hex_timestamp":"0000019f651e7250"} 
[2026-07-15 15:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-15 15:03:36] 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-07-15 15:03:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":134818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":134818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":134818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731626240001,"66":12863,"185":206,"85":15104,"24":53,"16":106526068092960768,"45":8932045461119813632},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-15 15:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731626240001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:03:36] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-15 15:03:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 15:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106526068092960768,"km_value":106526068092960.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8932045461119813632,"description":"Unknown IO ID 45"} 
[2026-07-15 15:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731626240001,"power":12863,"unknown_185":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8932045461119813632}} 
[2026-07-15 15:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":134818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491312,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:03:36] local.INFO: GPS data processed {"connection_id":134818,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:03:36] local.INFO: Acknowledgment sent {"connection_id":134818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:03:37] local.INFO: TCP Data received {"connection_id":132620,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f651eef50012d80f68005a124c00007015d30..."} 
[2026-07-15 15:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f651eef50012d80f68005a124c00007015d30..."} 
[2026-07-15 15:03:37] local.INFO: Processing buffer {"connection_id":132620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f651eef50012d80f68005a124c00007015d30..."} 
[2026-07-15 15:03:37] local.INFO: Packet analysis {"connection_id":132620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f651e"} 
[2026-07-15 15:03:37] local.INFO: Extracted packet for processing {"connection_id":132620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f651e"} 
[2026-07-15 15:03:37] local.INFO: GPS Element Parsed {"raw_longitude":763426432,"raw_latitude":94446784,"longitude_deg":76.3426432,"latitude_deg":9.4446784,"altitude":7,"angle":349,"satellites":48,"speed":0,"hex_longitude":"2d80f680","hex_latitude":"05a124c0","is_valid_coordinates":true} 
[2026-07-15 15:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731598848001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 15:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9153988430917222400,"note":"Value kept but may cause issues"} 
[2026-07-15 15:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784107954000,"timestamp_ms":1784107954000,"timestamp_seconds":1784107954,"priority":1,"record_length":96,"hex_timestamp":"0000019f651eef50"} 
[2026-07-15 15:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-15 15:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731598848001,"66":26039,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9153988430917222400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731598848001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:03:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:03:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9153988430917222400,"description":"Unknown IO ID 45"} 
[2026-07-15 15:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731598848001,"power":26039,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9153988430917222400}} 
[2026-07-15 15:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":132620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:03:37] local.INFO: GPS data processed {"connection_id":132620,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:03:37] local.INFO: Acknowledgment sent {"connection_id":132620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:03:51] local.INFO: TCP Data received {"connection_id":134820,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:03:51] local.INFO: Processing buffer {"connection_id":134820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:03:51] local.INFO: IMEI packet received {"connection_id":134820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 15:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":134820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:03:52] local.INFO: TCP Data received {"connection_id":134820,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:03:52] local.INFO: Processing buffer {"connection_id":134820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:03:52] local.INFO: IMEI packet received {"connection_id":134820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":134820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:03:56] local.INFO: TCP Data received {"connection_id":134820,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:03:56] local.INFO: Processing buffer {"connection_id":134820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:03:56] local.INFO: IMEI packet received {"connection_id":134820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":134820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:03:56] local.INFO: TCP Data received {"connection_id":134820,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f651ed3f8012d181fc00721b0500048015f1e..."} 
[2026-07-15 15:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f651ed3f8012d181fc00721b0500048015f1e..."} 
[2026-07-15 15:03:56] local.INFO: Processing buffer {"connection_id":134820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f651ed3f8012d181fc00721b0500048015f1e..."} 
[2026-07-15 15:03:56] local.INFO: Packet analysis {"connection_id":134820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f651e"} 
[2026-07-15 15:03:56] local.INFO: Extracted packet for processing {"connection_id":134820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f651e"} 
[2026-07-15 15:03:56] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":30,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731629056001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:03:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:03:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784107947000,"timestamp_ms":1784107947000,"timestamp_seconds":1784107947,"priority":1,"record_length":96,"hex_timestamp":"0000019f651ed3f8"} 
[2026-07-15 15:03:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:03:56] 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-07-15 15:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-15 15:03:56] 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-07-15 15:03:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:03:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":134820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":134820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":134820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:03:56] 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-07-15 15:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731629056001,"66":12950,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731629056001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:03:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:03:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:03:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731629056001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":134820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:03:56] local.INFO: GPS data processed {"connection_id":134820,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:03:56] local.INFO: Acknowledgment sent {"connection_id":134820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:03:59] local.INFO: TCP Data received {"connection_id":134821,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134821,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:03:59] local.INFO: Processing buffer {"connection_id":134821,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:03:59] local.INFO: IMEI packet received {"connection_id":134821,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 15:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":134821,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:04:00] local.INFO: TCP Data received {"connection_id":132422,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:04:00] local.INFO: Processing buffer {"connection_id":132422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:04:00] local.INFO: IMEI packet received {"connection_id":132422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":132422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:04:04] local.INFO: TCP Data received {"connection_id":134821,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134821,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:04:04] local.INFO: Processing buffer {"connection_id":134821,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:04:04] local.INFO: IMEI packet received {"connection_id":134821,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":134821,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:04:05] local.INFO: TCP Data received {"connection_id":134821,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f651e8da8012d7be90005dbf958000001601d..."} 
[2026-07-15 15:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f651e8da8012d7be90005dbf958000001601d..."} 
[2026-07-15 15:04:05] local.INFO: Processing buffer {"connection_id":134821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f651e8da8012d7be90005dbf958000001601d..."} 
[2026-07-15 15:04:05] local.INFO: Packet analysis {"connection_id":134821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f651e"} 
[2026-07-15 15:04:05] local.INFO: Extracted packet for processing {"connection_id":134821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f651e"} 
[2026-07-15 15:04:05] local.INFO: GPS Element Parsed {"raw_longitude":763095296,"raw_latitude":98302296,"longitude_deg":76.3095296,"latitude_deg":9.8302296,"altitude":0,"angle":352,"satellites":29,"speed":56,"hex_longitude":"2d7be900","hex_latitude":"05dbf958","is_valid_coordinates":true} 
[2026-07-15 15:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731628032001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106526540539363328,"note":"Value kept but may cause issues"} 
[2026-07-15 15:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930145505029347328,"note":"Value kept but may cause issues"} 
[2026-07-15 15:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784107929000,"timestamp_ms":1784107929000,"timestamp_seconds":1784107929,"priority":1,"record_length":96,"hex_timestamp":"0000019f651e8da8"} 
[2026-07-15 15:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-15 15:04: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-07-15 15:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":134821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":134821,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":134821,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731628032001,"66":13319,"185":206,"85":15104,"24":56,"16":106526540539363328,"45":8930145505029347328},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-15 15:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731628032001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:04:05] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-15 15:04:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 15:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106526540539363328,"km_value":106526540539363.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930145505029347328,"description":"Unknown IO ID 45"} 
[2026-07-15 15:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731628032001,"power":13319,"unknown_185":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":8930145505029347328}} 
[2026-07-15 15:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":134821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491315,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:04:05] local.INFO: GPS data processed {"connection_id":134821,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:04:05] local.INFO: Acknowledgment sent {"connection_id":134821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:04:06] local.INFO: TCP Data received {"connection_id":132422,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:04:06] local.INFO: Processing buffer {"connection_id":132422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:04:06] local.INFO: IMEI packet received {"connection_id":132422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":132422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:04:07] local.INFO: TCP Data received {"connection_id":132422,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f651f02d8012d80f08005a12de0000701062f..."} 
[2026-07-15 15:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f651f02d8012d80f08005a12de0000701062f..."} 
[2026-07-15 15:04:07] local.INFO: Processing buffer {"connection_id":132422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f651f02d8012d80f08005a12de0000701062f..."} 
[2026-07-15 15:04:07] local.INFO: Packet analysis {"connection_id":132422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f651f"} 
[2026-07-15 15:04:07] local.INFO: Extracted packet for processing {"connection_id":132422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f651f"} 
[2026-07-15 15:04:07] local.INFO: GPS Element Parsed {"raw_longitude":763424896,"raw_latitude":94449120,"longitude_deg":76.3424896,"latitude_deg":9.444912,"altitude":7,"angle":262,"satellites":47,"speed":0,"hex_longitude":"2d80f080","hex_latitude":"05a12de0","is_valid_coordinates":true} 
[2026-07-15 15:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731636224001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 15:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9153988430917222400,"note":"Value kept but may cause issues"} 
[2026-07-15 15:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784107959000,"timestamp_ms":1784107959000,"timestamp_seconds":1784107959,"priority":1,"record_length":96,"hex_timestamp":"0000019f651f02d8"} 
[2026-07-15 15:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-15 15:04:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:04:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731636224001,"66":27745,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9153988430917222400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731636224001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:04:07] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:04:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9153988430917222400,"description":"Unknown IO ID 45"} 
[2026-07-15 15:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731636224001,"power":27745,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9153988430917222400}} 
[2026-07-15 15:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":132422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:04:07] local.INFO: GPS data processed {"connection_id":132422,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:04:07] local.INFO: Acknowledgment sent {"connection_id":132422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:04:27] local.INFO: TCP Data received {"connection_id":134820,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f651f2600012d181fc00721b0500048015f1e..."} 
[2026-07-15 15:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f651f2600012d181fc00721b0500048015f1e..."} 
[2026-07-15 15:04:27] local.INFO: Processing buffer {"connection_id":134820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f651f2600012d181fc00721b0500048015f1e..."} 
[2026-07-15 15:04:27] local.INFO: Packet analysis {"connection_id":134820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f651f"} 
[2026-07-15 15:04:27] local.INFO: Extracted packet for processing {"connection_id":134820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f651f"} 
[2026-07-15 15:04:27] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":30,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731634432001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:04: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-07-15 15:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784107968000,"timestamp_ms":1784107968000,"timestamp_seconds":1784107968,"priority":1,"record_length":96,"hex_timestamp":"0000019f651f2600"} 
[2026-07-15 15:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:04:27] 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-07-15 15:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 15:04:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:04:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":134820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":134820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":134820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:04:28] 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-07-15 15:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731634432001,"66":12939,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731634432001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:04:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:04:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731634432001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":134820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:04:28] local.INFO: GPS data processed {"connection_id":134820,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:04:28] local.INFO: Acknowledgment sent {"connection_id":134820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:04:36] local.INFO: TCP Data received {"connection_id":134821,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f65206e20012d7bdac005dd1f700000016026..."} 
[2026-07-15 15:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65206e20012d7bdac005dd1f700000016026..."} 
[2026-07-15 15:04:36] local.INFO: Processing buffer {"connection_id":134821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65206e20012d7bdac005dd1f700000016026..."} 
[2026-07-15 15:04:36] local.INFO: Packet analysis {"connection_id":134821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6520"} 
[2026-07-15 15:04:36] local.INFO: Extracted packet for processing {"connection_id":134821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6520"} 
[2026-07-15 15:04:36] local.INFO: GPS Element Parsed {"raw_longitude":763091648,"raw_latitude":98377584,"longitude_deg":76.3091648,"latitude_deg":9.8377584,"altitude":0,"angle":352,"satellites":38,"speed":31,"hex_longitude":"2d7bdac0","hex_latitude":"05dd1f70","is_valid_coordinates":true} 
[2026-07-15 15:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731656192001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106530208441434112,"note":"Value kept but may cause issues"} 
[2026-07-15 15:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925290061701328896,"note":"Value kept but may cause issues"} 
[2026-07-15 15:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784108052000,"timestamp_ms":1784108052000,"timestamp_seconds":1784108052,"priority":1,"record_length":96,"hex_timestamp":"0000019f65206e20"} 
[2026-07-15 15:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-15 15:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":134821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":134821,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":134821,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731656192001,"66":13254,"169":206,"85":15104,"24":31,"16":106530208441434112,"45":8925290061701328896},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-15 15:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731656192001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:04:36] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-15 15:04:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 15:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106530208441434112,"km_value":106530208441434.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925290061701328896,"description":"Unknown IO ID 45"} 
[2026-07-15 15:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731656192001,"power":13254,"unknown_169":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8925290061701328896}} 
[2026-07-15 15:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":134821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491318,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:04:36] local.INFO: GPS data processed {"connection_id":134821,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:04:36] local.INFO: Acknowledgment sent {"connection_id":134821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:04:38] local.INFO: TCP Data received {"connection_id":132422,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f651f54e0012d80f08005a12de0000701062d..."} 
[2026-07-15 15:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f651f54e0012d80f08005a12de0000701062d..."} 
[2026-07-15 15:04:38] local.INFO: Processing buffer {"connection_id":132422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f651f54e0012d80f08005a12de0000701062d..."} 
[2026-07-15 15:04:38] local.INFO: Packet analysis {"connection_id":132422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f651f"} 
[2026-07-15 15:04:38] local.INFO: Extracted packet for processing {"connection_id":132422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f651f"} 
[2026-07-15 15:04:38] local.INFO: GPS Element Parsed {"raw_longitude":763424896,"raw_latitude":94449120,"longitude_deg":76.3424896,"latitude_deg":9.444912,"altitude":7,"angle":262,"satellites":45,"speed":0,"hex_longitude":"2d80f080","hex_latitude":"05a12de0","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731637504001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 15:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155677280776888320,"note":"Value kept but may cause issues"} 
[2026-07-15 15:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784107980000,"timestamp_ms":1784107980000,"timestamp_seconds":1784107980,"priority":1,"record_length":96,"hex_timestamp":"0000019f651f54e0"} 
[2026-07-15 15:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-15 15:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15: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-07-15 15:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731637504001,"66":27767,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9155677280776888320},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731637504001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:04:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:04:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155677280776888320,"description":"Unknown IO ID 45"} 
[2026-07-15 15:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731637504001,"power":27767,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9155677280776888320}} 
[2026-07-15 15:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":132422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:04:38] local.INFO: GPS data processed {"connection_id":132422,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:04:38] local.INFO: Acknowledgment sent {"connection_id":132422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:04:50] local.INFO: TCP Data received {"connection_id":133458,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:04:50] local.INFO: Processing buffer {"connection_id":133458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:04:50] local.INFO: IMEI packet received {"connection_id":133458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 15:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":133458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:04:56] local.INFO: TCP Data received {"connection_id":133458,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:04:56] local.INFO: Processing buffer {"connection_id":133458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:04:56] local.INFO: IMEI packet received {"connection_id":133458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":133458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:04:57] local.INFO: TCP Data received {"connection_id":133458,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f651f7808012d181fc00721b0500048015f1e..."} 
[2026-07-15 15:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f651f7808012d181fc00721b0500048015f1e..."} 
[2026-07-15 15:04:57] local.INFO: Processing buffer {"connection_id":133458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f651f7808012d181fc00721b0500048015f1e..."} 
[2026-07-15 15:04:57] local.INFO: Packet analysis {"connection_id":133458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f651f"} 
[2026-07-15 15:04:57] local.INFO: Extracted packet for processing {"connection_id":133458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f651f"} 
[2026-07-15 15:04:57] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":30,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:04:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731639808001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:04:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:04:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:04:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:04:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784107989000,"timestamp_ms":1784107989000,"timestamp_seconds":1784107989,"priority":1,"record_length":96,"hex_timestamp":"0000019f651f7808"} 
[2026-07-15 15:04:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:04:57] 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-07-15 15: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 15:04:57] 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-07-15 15: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-07-15 15:04:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:04:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:04:57] local.INFO: Teltonika packet parsed successfully {"connection_id":133458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:04:57] local.INFO: Passing IMEI to GPS processor {"connection_id":133458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:04:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":133458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:04:57] 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-07-15 15:04:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:04:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:04:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731639808001,"66":12939,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:04:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:04:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:04:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731639808001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:04:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:04:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:04:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:04:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:04:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731639808001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":133458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:04:57] local.INFO: GPS data processed {"connection_id":133458,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:04:57] local.INFO: Acknowledgment sent {"connection_id":133458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:04:59] local.INFO: TCP Data received {"connection_id":132423,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132423,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:04:59] local.INFO: Processing buffer {"connection_id":132423,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:04:59] local.INFO: IMEI packet received {"connection_id":132423,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 15:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":132423,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:04:59] local.INFO: TCP Data received {"connection_id":132423,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132423,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:04:59] local.INFO: Processing buffer {"connection_id":132423,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:04:59] local.INFO: IMEI packet received {"connection_id":132423,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":132423,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:05:00] local.INFO: TCP Data received {"connection_id":134823,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:05:00] local.INFO: Processing buffer {"connection_id":134823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:05:00] local.INFO: IMEI packet received {"connection_id":134823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":134823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:05:02] local.INFO: TCP Data received {"connection_id":134823,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:05:02] local.INFO: Processing buffer {"connection_id":134823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:05:02] local.INFO: IMEI packet received {"connection_id":134823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":134823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:05:04] local.INFO: TCP Data received {"connection_id":132423,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132423,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:05:04] local.INFO: Processing buffer {"connection_id":132423,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:05:04] local.INFO: IMEI packet received {"connection_id":132423,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":132423,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:05:05] local.INFO: TCP Data received {"connection_id":132423,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f65209530012d7bd64005dd44000000016216..."} 
[2026-07-15 15:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65209530012d7bd64005dd44000000016216..."} 
[2026-07-15 15:05:05] local.INFO: Processing buffer {"connection_id":132423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65209530012d7bd64005dd44000000016216..."} 
[2026-07-15 15:05:05] local.INFO: Packet analysis {"connection_id":132423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6520"} 
[2026-07-15 15:05:05] local.INFO: Extracted packet for processing {"connection_id":132423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6520"} 
[2026-07-15 15:05:05] local.INFO: GPS Element Parsed {"raw_longitude":763090496,"raw_latitude":98386944,"longitude_deg":76.3090496,"latitude_deg":9.8386944,"altitude":0,"angle":354,"satellites":22,"speed":34,"hex_longitude":"2d7bd640","hex_latitude":"05dd4400","is_valid_coordinates":true} 
[2026-07-15 15:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731661312001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106530668002934784,"note":"Value kept but may cause issues"} 
[2026-07-15 15:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924656743005253632,"note":"Value kept but may cause issues"} 
[2026-07-15 15:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784108062000,"timestamp_ms":1784108062000,"timestamp_seconds":1784108062,"priority":1,"record_length":96,"hex_timestamp":"0000019f65209530"} 
[2026-07-15 15:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-15 15:05:05] 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-07-15 15:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731661312001,"66":13428,"169":206,"85":15104,"24":34,"16":106530668002934784,"45":8924656743005253632},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-15 15:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731661312001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:05:05] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-15 15:05:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 15:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106530668002934784,"km_value":106530668002934.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924656743005253632,"description":"Unknown IO ID 45"} 
[2026-07-15 15:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731661312001,"power":13428,"unknown_169":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8924656743005253632}} 
[2026-07-15 15:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":132423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491321,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:05:05] local.INFO: GPS data processed {"connection_id":132423,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:05:05] local.INFO: Acknowledgment sent {"connection_id":132423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:05:12] local.INFO: TCP Data received {"connection_id":134823,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:05:12] local.INFO: Processing buffer {"connection_id":134823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:05:12] local.INFO: IMEI packet received {"connection_id":134823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":134823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:05:16] local.INFO: TCP Data received {"connection_id":134823,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f651fa6e8012d80f08005a12de0000701062c..."} 
[2026-07-15 15:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f651fa6e8012d80f08005a12de0000701062c..."} 
[2026-07-15 15:05:16] local.INFO: Processing buffer {"connection_id":134823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f651fa6e8012d80f08005a12de0000701062c..."} 
[2026-07-15 15:05:16] local.INFO: Packet analysis {"connection_id":134823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f651f"} 
[2026-07-15 15:05:16] local.INFO: Extracted packet for processing {"connection_id":134823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f651f"} 
[2026-07-15 15:05:16] local.INFO: GPS Element Parsed {"raw_longitude":763424896,"raw_latitude":94449120,"longitude_deg":76.3424896,"latitude_deg":9.444912,"altitude":7,"angle":262,"satellites":44,"speed":0,"hex_longitude":"2d80f080","hex_latitude":"05a12de0","is_valid_coordinates":true} 
[2026-07-15 15:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731642880001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 15:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155677280776888320,"note":"Value kept but may cause issues"} 
[2026-07-15 15:05:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784108001000,"timestamp_ms":1784108001000,"timestamp_seconds":1784108001,"priority":1,"record_length":96,"hex_timestamp":"0000019f651fa6e8"} 
[2026-07-15 15:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:05:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 15:05:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:05:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":134823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":134823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":134823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:05:16] 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-07-15 15:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731642880001,"66":27865,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9155677280776888320},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731642880001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:05:16] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:05:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155677280776888320,"description":"Unknown IO ID 45"} 
[2026-07-15 15:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731642880001,"power":27865,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9155677280776888320}} 
[2026-07-15 15:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":134823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:05:16] local.INFO: GPS data processed {"connection_id":134823,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:05:16] local.INFO: Acknowledgment sent {"connection_id":134823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:05:28] local.INFO: TCP Data received {"connection_id":133458,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f651fca10012d181fc00721b0500048015f20..."} 
[2026-07-15 15:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f651fca10012d181fc00721b0500048015f20..."} 
[2026-07-15 15:05:28] local.INFO: Processing buffer {"connection_id":133458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f651fca10012d181fc00721b0500048015f20..."} 
[2026-07-15 15:05:28] local.INFO: Packet analysis {"connection_id":133458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f651f"} 
[2026-07-15 15:05:28] local.INFO: Extracted packet for processing {"connection_id":133458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f651f"} 
[2026-07-15 15:05:28] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":32,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731645184001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:05:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:05: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-07-15 15:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784108010000,"timestamp_ms":1784108010000,"timestamp_seconds":1784108010,"priority":1,"record_length":96,"hex_timestamp":"0000019f651fca10"} 
[2026-07-15 15:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:05:28] 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-07-15 15: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 15:05:28] 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-07-15 15:05:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":133458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":133458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":133458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:05:28] 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-07-15 15:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731645184001,"66":12917,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731645184001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:05:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:05:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731645184001,"power":12917,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":133458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:05:28] local.INFO: GPS data processed {"connection_id":133458,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:05:28] local.INFO: Acknowledgment sent {"connection_id":133458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:05:36] local.INFO: TCP Data received {"connection_id":132423,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f6520c028012d7bd30005dd6708000001601a..."} 
[2026-07-15 15:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6520c028012d7bd30005dd6708000001601a..."} 
[2026-07-15 15:05:36] local.INFO: Processing buffer {"connection_id":132423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6520c028012d7bd30005dd6708000001601a..."} 
[2026-07-15 15:05:36] local.INFO: Packet analysis {"connection_id":132423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6520"} 
[2026-07-15 15:05:36] local.INFO: Extracted packet for processing {"connection_id":132423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6520"} 
[2026-07-15 15:05:36] local.INFO: GPS Element Parsed {"raw_longitude":763089664,"raw_latitude":98395912,"longitude_deg":76.3089664,"latitude_deg":9.8395912,"altitude":0,"angle":352,"satellites":26,"speed":30,"hex_longitude":"2d7bd300","hex_latitude":"05dd6708","is_valid_coordinates":true} 
[2026-07-15 15:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731663872001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106531101794631680,"note":"Value kept but may cause issues"} 
[2026-07-15 15:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923390105612451840,"note":"Value kept but may cause issues"} 
[2026-07-15 15:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784108073000,"timestamp_ms":1784108073000,"timestamp_seconds":1784108073,"priority":1,"record_length":96,"hex_timestamp":"0000019f6520c028"} 
[2026-07-15 15:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-15 15:05:36] 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-07-15 15:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731663872001,"66":13135,"169":206,"85":15104,"24":30,"16":106531101794631680,"45":8923390105612451840},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-15 15:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731663872001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:05:36] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-15 15:05:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 15:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106531101794631680,"km_value":106531101794631.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923390105612451840,"description":"Unknown IO ID 45"} 
[2026-07-15 15:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731663872001,"power":13135,"unknown_169":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8923390105612451840}} 
[2026-07-15 15:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":132423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491324,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:05:36] local.INFO: GPS data processed {"connection_id":132423,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:05:36] local.INFO: Acknowledgment sent {"connection_id":132423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:05:56] local.INFO: TCP Data received {"connection_id":133459,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133459,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:05:56] local.INFO: Processing buffer {"connection_id":133459,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:05:56] local.INFO: IMEI packet received {"connection_id":133459,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 15:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":133459,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:05:59] local.INFO: TCP Data received {"connection_id":133459,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133459,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:05:59] local.INFO: Processing buffer {"connection_id":133459,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:05:59] local.INFO: IMEI packet received {"connection_id":133459,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":133459,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:05:59] local.INFO: TCP Data received {"connection_id":132425,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132425,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:05:59] local.INFO: Processing buffer {"connection_id":132425,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:05:59] local.INFO: IMEI packet received {"connection_id":132425,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 15:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":132425,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:05:59] local.INFO: TCP Data received {"connection_id":132424,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132424,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:05:59] local.INFO: Processing buffer {"connection_id":132424,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:05:59] local.INFO: IMEI packet received {"connection_id":132424,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 15:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":132424,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:05:59] local.INFO: TCP Data received {"connection_id":133459,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f65201c18012d181fc00721b0500048015f20..."} 
[2026-07-15 15:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65201c18012d181fc00721b0500048015f20..."} 
[2026-07-15 15:05:59] local.INFO: Processing buffer {"connection_id":133459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65201c18012d181fc00721b0500048015f20..."} 
[2026-07-15 15:05:59] local.INFO: Packet analysis {"connection_id":133459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6520"} 
[2026-07-15 15:05:59] local.INFO: Extracted packet for processing {"connection_id":133459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6520"} 
[2026-07-15 15:05:59] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":32,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731650560001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784108031000,"timestamp_ms":1784108031000,"timestamp_seconds":1784108031,"priority":1,"record_length":96,"hex_timestamp":"0000019f65201c18"} 
[2026-07-15 15:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:05:59] 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-07-15 15: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":117,"data_length":795,"current_offset":136} 
[2026-07-15 15:05:59] 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-07-15 15: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-07-15 15:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":133459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":133459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":133459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:05:59] 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-07-15 15:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731650560001,"66":12863,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731650560001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:05:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:05:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731650560001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":133459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:05:59] local.INFO: GPS data processed {"connection_id":133459,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:05:59] local.INFO: Acknowledgment sent {"connection_id":133459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:06:00] local.INFO: TCP Data received {"connection_id":133459,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f65206e20012d181fc00721b0500048015f20..."} 
[2026-07-15 15:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65206e20012d181fc00721b0500048015f20..."} 
[2026-07-15 15:06:00] local.INFO: Processing buffer {"connection_id":133459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65206e20012d181fc00721b0500048015f20..."} 
[2026-07-15 15:06:00] local.INFO: Packet analysis {"connection_id":133459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6520"} 
[2026-07-15 15:06:00] local.INFO: Extracted packet for processing {"connection_id":133459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6520"} 
[2026-07-15 15:06:00] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":32,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731655936001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:06:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784108052000,"timestamp_ms":1784108052000,"timestamp_seconds":1784108052,"priority":1,"record_length":96,"hex_timestamp":"0000019f65206e20"} 
[2026-07-15 15:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:06:00] 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-07-15 15:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-15 15:06:00] 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-07-15 15:06:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":133459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":133459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":133459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:06:00] 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-07-15 15:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731655936001,"66":12863,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731655936001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:06:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:06:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731655936001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":133459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:06:01] local.INFO: GPS data processed {"connection_id":133459,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:06:01] local.INFO: Acknowledgment sent {"connection_id":133459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:06:04] local.INFO: TCP Data received {"connection_id":132425,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132425,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:06:04] local.INFO: Processing buffer {"connection_id":132425,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:06:04] local.INFO: IMEI packet received {"connection_id":132425,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":132425,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:06:06] local.INFO: TCP Data received {"connection_id":132425,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f6520e738012d7bcd8005dd8bf8000001601f..."} 
[2026-07-15 15:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6520e738012d7bcd8005dd8bf8000001601f..."} 
[2026-07-15 15:06:06] local.INFO: Processing buffer {"connection_id":132425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6520e738012d7bcd8005dd8bf8000001601f..."} 
[2026-07-15 15:06:06] local.INFO: Packet analysis {"connection_id":132425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6520"} 
[2026-07-15 15:06:06] local.INFO: Extracted packet for processing {"connection_id":132425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6520"} 
[2026-07-15 15:06:06] local.INFO: GPS Element Parsed {"raw_longitude":763088256,"raw_latitude":98405368,"longitude_deg":76.3088256,"latitude_deg":9.8405368,"altitude":0,"angle":352,"satellites":31,"speed":33,"hex_longitude":"2d7bcd80","hex_latitude":"05dd8bf8","is_valid_coordinates":true} 
[2026-07-15 15:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731666688001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106531569946066944,"note":"Value kept but may cause issues"} 
[2026-07-15 15:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8922475311940438016,"note":"Value kept but may cause issues"} 
[2026-07-15 15:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784108083000,"timestamp_ms":1784108083000,"timestamp_seconds":1784108083,"priority":1,"record_length":96,"hex_timestamp":"0000019f6520e738"} 
[2026-07-15 15:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-15 15:06: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-07-15 15:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731666688001,"66":12961,"169":206,"85":15104,"24":33,"16":106531569946066944,"45":8922475311940438016},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-15 15:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731666688001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:06:06] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-15 15:06:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 15:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106531569946066944,"km_value":106531569946066.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8922475311940438016,"description":"Unknown IO ID 45"} 
[2026-07-15 15:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731666688001,"power":12961,"unknown_169":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8922475311940438016}} 
[2026-07-15 15:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":132425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491327,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:06:06] local.INFO: GPS data processed {"connection_id":132425,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:06:06] local.INFO: Acknowledgment sent {"connection_id":132425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:06:07] local.INFO: TCP Data received {"connection_id":132426,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:06:07] local.INFO: Processing buffer {"connection_id":132426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:06:07] local.INFO: IMEI packet received {"connection_id":132426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":132426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:06:11] local.INFO: TCP Data received {"connection_id":132426,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:06:11] local.INFO: Processing buffer {"connection_id":132426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:06:11] local.INFO: IMEI packet received {"connection_id":132426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":132426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:06:12] local.INFO: TCP Data received {"connection_id":132426,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f651ff8f0012d80f08005a12de0000701062e..."} 
[2026-07-15 15:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f651ff8f0012d80f08005a12de0000701062e..."} 
[2026-07-15 15:06:12] local.INFO: Processing buffer {"connection_id":132426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f651ff8f0012d80f08005a12de0000701062e..."} 
[2026-07-15 15:06:12] local.INFO: Packet analysis {"connection_id":132426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f651f"} 
[2026-07-15 15:06:12] local.INFO: Extracted packet for processing {"connection_id":132426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f651f"} 
[2026-07-15 15:06:12] local.INFO: GPS Element Parsed {"raw_longitude":763424896,"raw_latitude":94449120,"longitude_deg":76.3424896,"latitude_deg":9.444912,"altitude":7,"angle":262,"satellites":46,"speed":0,"hex_longitude":"2d80f080","hex_latitude":"05a12de0","is_valid_coordinates":true} 
[2026-07-15 15:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731648256001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 15:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155677280776888320,"note":"Value kept but may cause issues"} 
[2026-07-15 15:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784108022000,"timestamp_ms":1784108022000,"timestamp_seconds":1784108022,"priority":1,"record_length":96,"hex_timestamp":"0000019f651ff8f0"} 
[2026-07-15 15:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-15 15:06:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:06:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:06:12] 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-07-15 15:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731648256001,"66":27865,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9155677280776888320},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731648256001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:06:12] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:06:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155677280776888320,"description":"Unknown IO ID 45"} 
[2026-07-15 15:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731648256001,"power":27865,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9155677280776888320}} 
[2026-07-15 15:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":132426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:06:12] local.INFO: GPS data processed {"connection_id":132426,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:06:12] local.INFO: Acknowledgment sent {"connection_id":132426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:06:15] local.INFO: TCP Data received {"connection_id":132426,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f65204af8012d80f08005a12de0000701062c..."} 
[2026-07-15 15:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65204af8012d80f08005a12de0000701062c..."} 
[2026-07-15 15:06:15] local.INFO: Processing buffer {"connection_id":132426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65204af8012d80f08005a12de0000701062c..."} 
[2026-07-15 15:06:15] local.INFO: Packet analysis {"connection_id":132426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6520"} 
[2026-07-15 15:06:15] local.INFO: Extracted packet for processing {"connection_id":132426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6520"} 
[2026-07-15 15:06:15] local.INFO: GPS Element Parsed {"raw_longitude":763424896,"raw_latitude":94449120,"longitude_deg":76.3424896,"latitude_deg":9.444912,"altitude":7,"angle":262,"satellites":44,"speed":0,"hex_longitude":"2d80f080","hex_latitude":"05a12de0","is_valid_coordinates":true} 
[2026-07-15 15:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731653632001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 15:06:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155677280776888320,"note":"Value kept but may cause issues"} 
[2026-07-15 15:06:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784108043000,"timestamp_ms":1784108043000,"timestamp_seconds":1784108043,"priority":1,"record_length":96,"hex_timestamp":"0000019f65204af8"} 
[2026-07-15 15:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:06:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-15 15:06:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:06:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":132426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":132426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":132426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:06:15] 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-07-15 15:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731653632001,"66":27995,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9155677280776888320},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731653632001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:06:15] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:06:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:06:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155677280776888320,"description":"Unknown IO ID 45"} 
[2026-07-15 15:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731653632001,"power":27995,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9155677280776888320}} 
[2026-07-15 15:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":132426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:06:15] local.INFO: GPS data processed {"connection_id":132426,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:06:15] local.INFO: Acknowledgment sent {"connection_id":132426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:06:32] local.INFO: TCP Data received {"connection_id":133459,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f6520c028012d181fc00721b0500048015f20..."} 
[2026-07-15 15:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6520c028012d181fc00721b0500048015f20..."} 
[2026-07-15 15:06:32] local.INFO: Processing buffer {"connection_id":133459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6520c028012d181fc00721b0500048015f20..."} 
[2026-07-15 15:06:32] local.INFO: Packet analysis {"connection_id":133459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6520"} 
[2026-07-15 15:06:32] local.INFO: Extracted packet for processing {"connection_id":133459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6520"} 
[2026-07-15 15:06:32] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":32,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731661312001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784108073000,"timestamp_ms":1784108073000,"timestamp_seconds":1784108073,"priority":1,"record_length":96,"hex_timestamp":"0000019f6520c028"} 
[2026-07-15 15:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:06:32] 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-07-15 15:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-15 15:06:32] 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-07-15 15:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":133459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":133459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":133459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:06:32] 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-07-15 15:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731661312001,"66":12809,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731661312001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:06:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:06:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731661312001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":133459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:06:32] local.INFO: GPS data processed {"connection_id":133459,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:06:32] local.INFO: Acknowledgment sent {"connection_id":133459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:06:34] local.INFO: TCP Data received {"connection_id":134824,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134824,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:06:34] local.INFO: Processing buffer {"connection_id":134824,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:06:34] local.INFO: IMEI packet received {"connection_id":134824,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 15:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":134824,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:06:38] local.INFO: TCP Data received {"connection_id":132425,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f65225e38012d7b930005df2480000001611d..."} 
[2026-07-15 15:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65225e38012d7b930005df2480000001611d..."} 
[2026-07-15 15:06:38] local.INFO: Processing buffer {"connection_id":132425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65225e38012d7b930005df2480000001611d..."} 
[2026-07-15 15:06:38] local.INFO: Packet analysis {"connection_id":132425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6522"} 
[2026-07-15 15:06:38] local.INFO: Extracted packet for processing {"connection_id":132425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6522"} 
[2026-07-15 15:06:38] local.INFO: GPS Element Parsed {"raw_longitude":763073280,"raw_latitude":98509952,"longitude_deg":76.307328,"latitude_deg":9.8509952,"altitude":0,"angle":353,"satellites":29,"speed":48,"hex_longitude":"2d7b9300","hex_latitude":"05df2480","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731691264001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106536702431985664,"note":"Value kept but may cause issues"} 
[2026-07-15 15:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905094232155312128,"note":"Value kept but may cause issues"} 
[2026-07-15 15:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784108179000,"timestamp_ms":1784108179000,"timestamp_seconds":1784108179,"priority":1,"record_length":96,"hex_timestamp":"0000019f65225e38"} 
[2026-07-15 15:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-15 15:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15: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-07-15 15:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731691264001,"66":13124,"49":206,"85":15104,"24":48,"16":106536702431985664,"45":8905094232155312128},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-07-15 15:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731691264001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:06:38] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-15 15:06:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 15:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106536702431985664,"km_value":106536702431985.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905094232155312128,"description":"Unknown IO ID 45"} 
[2026-07-15 15:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731691264001,"power":13124,"unknown_49":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8905094232155312128}} 
[2026-07-15 15:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":132425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491331,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:06:38] local.INFO: GPS data processed {"connection_id":132425,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:06:38] local.INFO: Acknowledgment sent {"connection_id":132425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:06:51] local.INFO: TCP Data received {"connection_id":132621,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:06:51] local.INFO: Processing buffer {"connection_id":132621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:06:51] local.INFO: IMEI packet received {"connection_id":132621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 15:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":132621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:06:56] local.INFO: TCP Data received {"connection_id":132621,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:06:56] local.INFO: Processing buffer {"connection_id":132621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:06:56] local.INFO: IMEI packet received {"connection_id":132621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":132621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:06:56] local.INFO: TCP Data received {"connection_id":132621,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f65211230012d181fc00721b0500048015f20..."} 
[2026-07-15 15:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65211230012d181fc00721b0500048015f20..."} 
[2026-07-15 15:06:56] local.INFO: Processing buffer {"connection_id":132621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65211230012d181fc00721b0500048015f20..."} 
[2026-07-15 15:06:56] local.INFO: Packet analysis {"connection_id":132621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6521"} 
[2026-07-15 15:06:56] local.INFO: Extracted packet for processing {"connection_id":132621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6521"} 
[2026-07-15 15:06:56] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":32,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731666688001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:06:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:06:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784108094000,"timestamp_ms":1784108094000,"timestamp_seconds":1784108094,"priority":1,"record_length":96,"hex_timestamp":"0000019f65211230"} 
[2026-07-15 15:06:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:06:56] 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-07-15 15: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-15 15:06:56] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-15 15:06:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-15 15:06:56] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":4097,"corrected_to":0} 
[2026-07-15 15:06:56] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-15 15:06:56] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2198301980975701952,"note":"Value kept but may cause issues"} 
[2026-07-15 15:06:56] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2958032968,"note":"Value kept but may cause issues"} 
[2026-07-15 15:06:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-15 15:06:56] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3221692848,"note":"Value kept but may cause issues"} 
[2026-07-15 15:06:56] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-7637879111108473261,"note":"Value kept but may cause issues"} 
[2026-07-15 15:06:56] local.WARNING: Large IO value detected {"io_id":21,"raw_value":2690908160,"note":"Value kept but may cause issues"} 
[2026-07-15 15:06:56] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2427528161290968861,"note":"Value kept but may cause issues"} 
[2026-07-15 15:06:56] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-15 15:06:56] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,160,159,110,45,192,176,72,32,10,66,28,202,1,240,117,227,101,33,4,113,205,38,31,80,30,239,50,2,21,7,164,100],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":202,"original":4097,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-15 15:06:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188532836751114240,"timestamp_seconds":5188532836751114.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 15:06:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:06:56] 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-07-15 15:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731666688001,"66":12841,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731666688001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:06:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:06:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:06:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731666688001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":132621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:06:56] local.INFO: GPS data processed {"connection_id":132621,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:06:56] local.INFO: Acknowledgment sent {"connection_id":132621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:06:59] local.INFO: TCP Data received {"connection_id":132622,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132622,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:06:59] local.INFO: Processing buffer {"connection_id":132622,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:06:59] local.INFO: IMEI packet received {"connection_id":132622,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 15:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":132622,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:06:59] local.INFO: TCP Data received {"connection_id":132427,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:06:59] local.INFO: Processing buffer {"connection_id":132427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:06:59] local.INFO: IMEI packet received {"connection_id":132427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":132427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:07:00] local.INFO: TCP Data received {"connection_id":132427,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:07:00] local.INFO: Processing buffer {"connection_id":132427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:07:00] local.INFO: IMEI packet received {"connection_id":132427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":132427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:07:01] local.INFO: TCP Data received {"connection_id":132427,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:07:01] local.INFO: Processing buffer {"connection_id":132427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:07:01] local.INFO: IMEI packet received {"connection_id":132427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":132427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:07:03] local.INFO: TCP Data received {"connection_id":132427,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:07:03] local.INFO: Processing buffer {"connection_id":132427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:07:03] local.INFO: IMEI packet received {"connection_id":132427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":132427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:07:03] local.INFO: TCP Data received {"connection_id":132427,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f65209d00012d80f08005a12de0000701062e..."} 
[2026-07-15 15:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65209d00012d80f08005a12de0000701062e..."} 
[2026-07-15 15:07:03] local.INFO: Processing buffer {"connection_id":132427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65209d00012d80f08005a12de0000701062e..."} 
[2026-07-15 15:07:03] local.INFO: Packet analysis {"connection_id":132427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6520"} 
[2026-07-15 15:07:03] local.INFO: Extracted packet for processing {"connection_id":132427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6520"} 
[2026-07-15 15:07:03] local.INFO: GPS Element Parsed {"raw_longitude":763424896,"raw_latitude":94449120,"longitude_deg":76.3424896,"latitude_deg":9.444912,"altitude":7,"angle":262,"satellites":46,"speed":0,"hex_longitude":"2d80f080","hex_latitude":"05a12de0","is_valid_coordinates":true} 
[2026-07-15 15:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731659008001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169473620344832,"note":"Value kept but may cause issues"} 
[2026-07-15 15:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155677280776888320,"note":"Value kept but may cause issues"} 
[2026-07-15 15:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784108064000,"timestamp_ms":1784108064000,"timestamp_seconds":1784108064,"priority":1,"record_length":96,"hex_timestamp":"0000019f65209d00"} 
[2026-07-15 15:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-15 15:07:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:07:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":132427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":132427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":132427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731659008001,"66":27908,"82":206,"85":14336,"24":0,"16":347169473620344832,"45":-9155677280776888320},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731659008001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:07:03] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:07:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169473620344832,"km_value":347169473620344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155677280776888320,"description":"Unknown IO ID 45"} 
[2026-07-15 15:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731659008001,"power":27908,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9155677280776888320}} 
[2026-07-15 15:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":132427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:07:03] local.INFO: GPS data processed {"connection_id":132427,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:07:03] local.INFO: Acknowledgment sent {"connection_id":132427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:07:04] local.INFO: TCP Data received {"connection_id":132622,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132622,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:07:04] local.INFO: Processing buffer {"connection_id":132622,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:07:04] local.INFO: IMEI packet received {"connection_id":132622,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":132622,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:07:05] local.INFO: TCP Data received {"connection_id":132622,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f65227990012d7b8fc005df48680000016219..."} 
[2026-07-15 15:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65227990012d7b8fc005df48680000016219..."} 
[2026-07-15 15:07:05] local.INFO: Processing buffer {"connection_id":132622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65227990012d7b8fc005df48680000016219..."} 
[2026-07-15 15:07:05] local.INFO: Packet analysis {"connection_id":132622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6522"} 
[2026-07-15 15:07:05] local.INFO: Extracted packet for processing {"connection_id":132622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6522"} 
[2026-07-15 15:07:05] local.INFO: GPS Element Parsed {"raw_longitude":763072448,"raw_latitude":98519144,"longitude_deg":76.3072448,"latitude_deg":9.8519144,"altitude":0,"angle":354,"satellites":25,"speed":55,"hex_longitude":"2d7b8fc0","hex_latitude":"05df4868","is_valid_coordinates":true} 
[2026-07-15 15:07: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-07-15 15:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731693824001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106537149108584448,"note":"Value kept but may cause issues"} 
[2026-07-15 15:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8904460913460150272,"note":"Value kept but may cause issues"} 
[2026-07-15 15:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784108186000,"timestamp_ms":1784108186000,"timestamp_seconds":1784108186,"priority":1,"record_length":96,"hex_timestamp":"0000019f65227990"} 
[2026-07-15 15:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:07: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":68,"data_length":795,"current_offset":136} 
[2026-07-15 15:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:07: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-07-15 15:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731693824001,"66":13341,"49":206,"85":15104,"24":55,"16":106537149108584448,"45":8904460913460150272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-07-15 15:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731693824001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:07:05] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-15 15:07:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 15:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106537149108584448,"km_value":106537149108584.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8904460913460150272,"description":"Unknown IO ID 45"} 
[2026-07-15 15:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731693824001,"power":13341,"unknown_49":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":8904460913460150272}} 
[2026-07-15 15:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":132622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491334,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:07:05] local.INFO: GPS data processed {"connection_id":132622,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:07:05] local.INFO: Acknowledgment sent {"connection_id":132622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:07:27] local.INFO: TCP Data received {"connection_id":132621,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f65216050012d181fc00721b0500048015f21..."} 
[2026-07-15 15:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65216050012d181fc00721b0500048015f21..."} 
[2026-07-15 15:07:27] local.INFO: Processing buffer {"connection_id":132621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65216050012d181fc00721b0500048015f21..."} 
[2026-07-15 15:07:27] local.INFO: Packet analysis {"connection_id":132621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6521"} 
[2026-07-15 15:07:27] local.INFO: Extracted packet for processing {"connection_id":132621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6521"} 
[2026-07-15 15:07:27] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":33,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 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-07-15 15:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731672064001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:07: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-07-15 15:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784108114000,"timestamp_ms":1784108114000,"timestamp_seconds":1784108114,"priority":1,"record_length":96,"hex_timestamp":"0000019f65216050"} 
[2026-07-15 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-07-15 15:07:27] 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-07-15 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-15 15:07: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-07-15 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-07-15 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-07-15 15:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":132621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":132621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":132621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 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-07-15 15:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731672064001,"66":12819,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731672064001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:07:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:07:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731672064001,"power":12819,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":132621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:07:28] local.INFO: GPS data processed {"connection_id":132621,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:07:28] local.INFO: Acknowledgment sent {"connection_id":132621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:07:35] local.INFO: TCP Data received {"connection_id":132427,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f6522b040012d80f88005a135180007016632..."} 
[2026-07-15 15:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6522b040012d80f88005a135180007016632..."} 
[2026-07-15 15:07:35] local.INFO: Processing buffer {"connection_id":132427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6522b040012d80f88005a135180007016632..."} 
[2026-07-15 15:07:35] local.INFO: Packet analysis {"connection_id":132427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6522"} 
[2026-07-15 15:07:35] local.INFO: Extracted packet for processing {"connection_id":132427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6522"} 
[2026-07-15 15:07:35] local.INFO: GPS Element Parsed {"raw_longitude":763426944,"raw_latitude":94450968,"longitude_deg":76.3426944,"latitude_deg":9.4450968,"altitude":7,"angle":358,"satellites":50,"speed":5,"hex_longitude":"2d80f880","hex_latitude":"05a13518","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731698176001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169666893873152,"note":"Value kept but may cause issues"} 
[2026-07-15 15:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9153425480962791424,"note":"Value kept but may cause issues"} 
[2026-07-15 15:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784108200000,"timestamp_ms":1784108200000,"timestamp_seconds":1784108200,"priority":1,"record_length":96,"hex_timestamp":"0000019f6522b040"} 
[2026-07-15 15:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-15 15:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:07:35] 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-07-15 15:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731698176001,"66":28017,"82":206,"85":14336,"24":5,"16":347169666893873152,"45":-9153425480962791424},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731698176001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:07:35] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:07:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169666893873152,"km_value":347169666893873.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9153425480962791424,"description":"Unknown IO ID 45"} 
[2026-07-15 15:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731698176001,"power":28017,"unknown_82":206,"unknown_85":14336,"ignition":5,"odometer":null,"unknown_45":-9153425480962791424}} 
[2026-07-15 15:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":132427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:07:35] local.INFO: GPS data processed {"connection_id":132427,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:07:35] local.INFO: Acknowledgment sent {"connection_id":132427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:07:36] local.INFO: TCP Data received {"connection_id":132622,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f652294e8012d7b8b4005df6da00000015f1a..."} 
[2026-07-15 15:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652294e8012d7b8b4005df6da00000015f1a..."} 
[2026-07-15 15:07:36] local.INFO: Processing buffer {"connection_id":132622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652294e8012d7b8b4005df6da00000015f1a..."} 
[2026-07-15 15:07:36] local.INFO: Packet analysis {"connection_id":132622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6522"} 
[2026-07-15 15:07:36] local.INFO: Extracted packet for processing {"connection_id":132622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6522"} 
[2026-07-15 15:07:36] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":98528672,"longitude_deg":76.3071296,"latitude_deg":9.8528672,"altitude":0,"angle":351,"satellites":26,"speed":53,"hex_longitude":"2d7b8b40","hex_latitude":"05df6da0","is_valid_coordinates":true} 
[2026-07-15 15:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731695616001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106537617260019712,"note":"Value kept but may cause issues"} 
[2026-07-15 15:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8903546119788193792,"note":"Value kept but may cause issues"} 
[2026-07-15 15:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784108193000,"timestamp_ms":1784108193000,"timestamp_seconds":1784108193,"priority":1,"record_length":96,"hex_timestamp":"0000019f652294e8"} 
[2026-07-15 15:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-15 15:07:36] 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-07-15 15:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731695616001,"66":13374,"49":206,"85":15104,"24":53,"16":106537617260019712,"45":8903546119788193792},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-07-15 15:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731695616001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:07:36] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-15 15:07:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 15:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106537617260019712,"km_value":106537617260019.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8903546119788193792,"description":"Unknown IO ID 45"} 
[2026-07-15 15:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731695616001,"power":13374,"unknown_49":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8903546119788193792}} 
[2026-07-15 15:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":132622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491337,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:07:36] local.INFO: GPS data processed {"connection_id":132622,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:07:36] local.INFO: Acknowledgment sent {"connection_id":132622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:07:51] local.INFO: TCP Data received {"connection_id":134825,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:07:51] local.INFO: Processing buffer {"connection_id":134825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:07:51] local.INFO: IMEI packet received {"connection_id":134825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 15:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":134825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:07:56] local.INFO: TCP Data received {"connection_id":134825,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:07:56] local.INFO: Processing buffer {"connection_id":134825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:07:56] local.INFO: IMEI packet received {"connection_id":134825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":134825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:07:56] local.INFO: TCP Data received {"connection_id":134825,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f6521ae70012d181fc00721b0500048015f20..."} 
[2026-07-15 15:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6521ae70012d181fc00721b0500048015f20..."} 
[2026-07-15 15:07:56] local.INFO: Processing buffer {"connection_id":134825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6521ae70012d181fc00721b0500048015f20..."} 
[2026-07-15 15:07:56] local.INFO: Packet analysis {"connection_id":134825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6521"} 
[2026-07-15 15:07:56] local.INFO: Extracted packet for processing {"connection_id":134825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6521"} 
[2026-07-15 15:07:56] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":32,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731677184001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:07:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:07:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784108134000,"timestamp_ms":1784108134000,"timestamp_seconds":1784108134,"priority":1,"record_length":96,"hex_timestamp":"0000019f6521ae70"} 
[2026-07-15 15:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:07:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-15 15:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-07-15 15:07:56] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-15 15:07:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-15 15:07:56] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-15 15:07:56] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503692512591872,"note":"Value kept but may cause issues"} 
[2026-07-15 15:07:56] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2244481469342293952,"note":"Value kept but may cause issues"} 
[2026-07-15 15:07:56] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2958032968,"note":"Value kept but may cause issues"} 
[2026-07-15 15:07:56] local.WARNING: Large IO value detected {"io_id":113,"raw_value":1657588549962498304,"note":"Value kept but may cause issues"} 
[2026-07-15 15:07:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667660726741499928,"corrected_to":0} 
[2026-07-15 15:07:56] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":268512536,"corrected_to":0} 
[2026-07-15 15:07:56] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3221692848,"note":"Value kept but may cause issues"} 
[2026-07-15 15:07:56] local.WARNING: Large IO value detected {"io_id":80,"raw_value":20267706360004608,"note":"Value kept but may cause issues"} 
[2026-07-15 15:07:56] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72181941946810624,"note":"Value kept but may cause issues"} 
[2026-07-15 15:07:56] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-8430512645525680557,"note":"Value kept but may cause issues"} 
[2026-07-15 15:07:56] local.WARNING: Large IO value detected {"io_id":21,"raw_value":2690908160,"note":"Value kept but may cause issues"} 
[2026-07-15 15:07:56] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2427528161290968862,"note":"Value kept but may cause issues"} 
[2026-07-15 15:07:56] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-15 15:07:56] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195047680,"note":"Value kept but may cause issues"} 
[2026-07-15 15:07:56] local.WARNING: Large IO value detected {"io_id":248,"raw_value":84750492634653104,"note":"Value kept but may cause issues"} 
[2026-07-15 15:07:56] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,160,159,18,45,192,176,72,32,10,66,110,1,240,63,227,101,33,4,113,205,202,31,80,239,50,2,21,7,164,100,69,248],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":7667660726741499928,"validated":0},{"io_id":202,"original":268512536,"validated":0}]} 
[2026-07-15 15:07:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188532841046081536,"timestamp_seconds":5188532841046082.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 15:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":134825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":134825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":134825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:07:56] 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-07-15 15:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731677184001,"66":12722,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731677184001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:07:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:07:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:07:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731677184001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":134825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:07:56] local.INFO: GPS data processed {"connection_id":134825,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:07:56] local.INFO: Acknowledgment sent {"connection_id":134825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:07:59] local.INFO: TCP Data received {"connection_id":132624,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132624,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:07:59] local.INFO: Processing buffer {"connection_id":132624,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:07:59] local.INFO: IMEI packet received {"connection_id":132624,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 15:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":132624,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:08:00] local.INFO: TCP Data received {"connection_id":132623,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:08:00] local.INFO: Processing buffer {"connection_id":132623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:08:00] local.INFO: IMEI packet received {"connection_id":132623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":132623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:08:00] local.INFO: TCP Data received {"connection_id":132623,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:08:00] local.INFO: Processing buffer {"connection_id":132623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:08:00] local.INFO: IMEI packet received {"connection_id":132623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":132623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:08:01] local.INFO: TCP Data received {"connection_id":132624,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132624,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:08:01] local.INFO: Processing buffer {"connection_id":132624,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:08:01] local.INFO: IMEI packet received {"connection_id":132624,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":132624,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:08:05] local.INFO: TCP Data received {"connection_id":132624,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132624,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:08:05] local.INFO: Processing buffer {"connection_id":132624,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:08:05] local.INFO: IMEI packet received {"connection_id":132624,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":132624,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:08:06] local.INFO: TCP Data received {"connection_id":132623,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:08:06] local.INFO: Processing buffer {"connection_id":132623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:08:06] local.INFO: IMEI packet received {"connection_id":132623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":132623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:08:07] local.INFO: TCP Data received {"connection_id":132623,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f6522bfe0012d80f84005a13a480008015a30..."} 
[2026-07-15 15:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6522bfe0012d80f84005a13a480008015a30..."} 
[2026-07-15 15:08:07] local.INFO: Processing buffer {"connection_id":132623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6522bfe0012d80f84005a13a480008015a30..."} 
[2026-07-15 15:08:07] local.INFO: Packet analysis {"connection_id":132623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6522"} 
[2026-07-15 15:08:07] local.INFO: Extracted packet for processing {"connection_id":132623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6522"} 
[2026-07-15 15:08:07] local.INFO: GPS Element Parsed {"raw_longitude":763426880,"raw_latitude":94452296,"longitude_deg":76.342688,"latitude_deg":9.4452296,"altitude":8,"angle":346,"satellites":48,"speed":17,"hex_longitude":"2d80f840","hex_latitude":"05a13a48","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731699200001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347169731318382592,"note":"Value kept but may cause issues"} 
[2026-07-15 15:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9153425480962729984,"note":"Value kept but may cause issues"} 
[2026-07-15 15:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784108204000,"timestamp_ms":1784108204000,"timestamp_seconds":1784108204,"priority":1,"record_length":96,"hex_timestamp":"0000019f6522bfe0"} 
[2026-07-15 15:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15: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":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-15 15:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15: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-07-15 15:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731699200001,"66":27865,"82":206,"85":14336,"24":17,"16":347169731318382592,"45":-9153425480962729984},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731699200001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:08:07] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:08:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347169731318382592,"km_value":347169731318382.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9153425480962729984,"description":"Unknown IO ID 45"} 
[2026-07-15 15:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731699200001,"power":27865,"unknown_82":206,"unknown_85":14336,"ignition":17,"odometer":null,"unknown_45":-9153425480962729984}} 
[2026-07-15 15:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":132623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:08:07] local.INFO: GPS data processed {"connection_id":132623,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:08:07] local.INFO: Acknowledgment sent {"connection_id":132623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:08:08] local.INFO: TCP Data received {"connection_id":132624,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f6522b040012d7b858005df92080000015f1a..."} 
[2026-07-15 15:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6522b040012d7b858005df92080000015f1a..."} 
[2026-07-15 15:08:08] local.INFO: Processing buffer {"connection_id":132624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6522b040012d7b858005df92080000015f1a..."} 
[2026-07-15 15:08:08] local.INFO: Packet analysis {"connection_id":132624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6522"} 
[2026-07-15 15:08:08] local.INFO: Extracted packet for processing {"connection_id":132624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6522"} 
[2026-07-15 15:08:08] local.INFO: GPS Element Parsed {"raw_longitude":763069824,"raw_latitude":98537992,"longitude_deg":76.3069824,"latitude_deg":9.8537992,"altitude":0,"angle":351,"satellites":26,"speed":53,"hex_longitude":"2d7b8580","hex_latitude":"05df9208","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731697408001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106538072526553088,"note":"Value kept but may cause issues"} 
[2026-07-15 15:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482395435008,"note":"Value kept but may cause issues"} 
[2026-07-15 15:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784108200000,"timestamp_ms":1784108200000,"timestamp_seconds":1784108200,"priority":1,"record_length":96,"hex_timestamp":"0000019f6522b040"} 
[2026-07-15 15:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-15 15:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731697408001,"66":13200,"49":206,"85":15104,"24":53,"16":106538072526553088,"45":8902279482395435008},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-07-15 15:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731697408001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:08:08] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-15 15:08:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 15:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106538072526553088,"km_value":106538072526553.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482395435008,"description":"Unknown IO ID 45"} 
[2026-07-15 15:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731697408001,"power":13200,"unknown_49":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8902279482395435008}} 
[2026-07-15 15:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":132624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491340,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:08:08] local.INFO: GPS data processed {"connection_id":132624,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:08:08] local.INFO: Acknowledgment sent {"connection_id":132624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:08:27] local.INFO: TCP Data received {"connection_id":134825,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f65220078012d181fc00721b0500048015f21..."} 
[2026-07-15 15:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65220078012d181fc00721b0500048015f21..."} 
[2026-07-15 15:08:27] local.INFO: Processing buffer {"connection_id":134825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65220078012d181fc00721b0500048015f21..."} 
[2026-07-15 15:08:27] local.INFO: Packet analysis {"connection_id":134825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6522"} 
[2026-07-15 15:08:27] local.INFO: Extracted packet for processing {"connection_id":134825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6522"} 
[2026-07-15 15:08:27] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":33,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731682304001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:08: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-07-15 15:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784108155000,"timestamp_ms":1784108155000,"timestamp_seconds":1784108155,"priority":1,"record_length":96,"hex_timestamp":"0000019f65220078"} 
[2026-07-15 15:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:08:27] 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-07-15 15:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 15:08:27] 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-07-15 15:08:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":134825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":134825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":134825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:08: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-07-15 15:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731682304001,"66":12776,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731682304001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:08:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:08:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731682304001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":134825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:08:27] local.INFO: GPS data processed {"connection_id":134825,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:08:27] local.INFO: Acknowledgment sent {"connection_id":134825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:08:37] local.INFO: TCP Data received {"connection_id":132623,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f6522eec0012d80f0c005a15e600008015e2f..."} 
[2026-07-15 15:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6522eec0012d80f0c005a15e600008015e2f..."} 
[2026-07-15 15:08:37] local.INFO: Processing buffer {"connection_id":132623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6522eec0012d80f0c005a15e600008015e2f..."} 
[2026-07-15 15:08:37] local.INFO: Packet analysis {"connection_id":132623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6522"} 
[2026-07-15 15:08:37] local.INFO: Extracted packet for processing {"connection_id":132623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6522"} 
[2026-07-15 15:08:37] local.INFO: GPS Element Parsed {"raw_longitude":763424960,"raw_latitude":94461536,"longitude_deg":76.342496,"latitude_deg":9.4461536,"altitude":8,"angle":350,"satellites":47,"speed":42,"hex_longitude":"2d80f0c0","hex_latitude":"05a15e60","is_valid_coordinates":true} 
[2026-07-15 15:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731700224001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347170190879883264,"note":"Value kept but may cause issues"} 
[2026-07-15 15:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9153495849706567680,"note":"Value kept but may cause issues"} 
[2026-07-15 15:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784108216000,"timestamp_ms":1784108216000,"timestamp_seconds":1784108216,"priority":1,"record_length":96,"hex_timestamp":"0000019f6522eec0"} 
[2026-07-15 15:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-15 15:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731700224001,"66":27876,"82":206,"85":14336,"24":42,"16":347170190879883264,"45":-9153495849706567680},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731700224001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:08:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:08:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347170190879883264,"km_value":347170190879883.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9153495849706567680,"description":"Unknown IO ID 45"} 
[2026-07-15 15:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731700224001,"power":27876,"unknown_82":206,"unknown_85":14336,"ignition":42,"odometer":null,"unknown_45":-9153495849706567680}} 
[2026-07-15 15:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":132623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:08:37] local.INFO: GPS data processed {"connection_id":132623,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:08:37] local.INFO: Acknowledgment sent {"connection_id":132623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:08:39] local.INFO: TCP Data received {"connection_id":132624,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f6522cb98012d7b810005dfb4700000015f1b..."} 
[2026-07-15 15:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6522cb98012d7b810005dfb4700000015f1b..."} 
[2026-07-15 15:08:39] local.INFO: Processing buffer {"connection_id":132624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6522cb98012d7b810005dfb4700000015f1b..."} 
[2026-07-15 15:08:39] local.INFO: Packet analysis {"connection_id":132624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6522"} 
[2026-07-15 15:08:39] local.INFO: Extracted packet for processing {"connection_id":132624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6522"} 
[2026-07-15 15:08:39] local.INFO: GPS Element Parsed {"raw_longitude":763068672,"raw_latitude":98546800,"longitude_deg":76.3068672,"latitude_deg":9.85468,"altitude":0,"angle":351,"satellites":27,"speed":46,"hex_longitude":"2d7b8100","hex_latitude":"05dfb470","is_valid_coordinates":true} 
[2026-07-15 15:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731699200001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106538502023282688,"note":"Value kept but may cause issues"} 
[2026-07-15 15:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900661001281734656,"note":"Value kept but may cause issues"} 
[2026-07-15 15:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784108207000,"timestamp_ms":1784108207000,"timestamp_seconds":1784108207,"priority":1,"record_length":96,"hex_timestamp":"0000019f6522cb98"} 
[2026-07-15 15:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:08:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-07-15 15:08:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:08:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731699200001,"66":13102,"49":206,"85":15104,"24":46,"16":106538502023282688,"45":8900661001281734656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-07-15 15:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731699200001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:08:39] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-15 15:08:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 15:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106538502023282688,"km_value":106538502023282.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900661001281734656,"description":"Unknown IO ID 45"} 
[2026-07-15 15:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731699200001,"power":13102,"unknown_49":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8900661001281734656}} 
[2026-07-15 15:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":132624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491343,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:08:39] local.INFO: GPS data processed {"connection_id":132624,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:08:39] local.INFO: Acknowledgment sent {"connection_id":132624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:08:51] local.INFO: TCP Data received {"connection_id":132625,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:08:51] local.INFO: Processing buffer {"connection_id":132625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:08:51] local.INFO: IMEI packet received {"connection_id":132625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 15:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":132625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:08:56] local.INFO: TCP Data received {"connection_id":132625,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:08:56] local.INFO: Processing buffer {"connection_id":132625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:08:56] local.INFO: IMEI packet received {"connection_id":132625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":132625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:08:56] local.INFO: TCP Data received {"connection_id":132625,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f65224e98012d181fc00721b0500048015f21..."} 
[2026-07-15 15:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65224e98012d181fc00721b0500048015f21..."} 
[2026-07-15 15:08:56] local.INFO: Processing buffer {"connection_id":132625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65224e98012d181fc00721b0500048015f21..."} 
[2026-07-15 15:08:56] local.INFO: Packet analysis {"connection_id":132625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6522"} 
[2026-07-15 15:08:56] local.INFO: Extracted packet for processing {"connection_id":132625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6522"} 
[2026-07-15 15:08:56] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":33,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731687680001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:08:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784108175000,"timestamp_ms":1784108175000,"timestamp_seconds":1784108175,"priority":1,"record_length":96,"hex_timestamp":"0000019f65224e98"} 
[2026-07-15 15:08:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:08:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-15 15:08:56] 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-07-15 15: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-07-15 15:08:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:08:56] 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-07-15 15:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731687680001,"66":12765,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731687680001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:08:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:08:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731687680001,"power":12765,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":132625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:08:56] local.INFO: GPS data processed {"connection_id":132625,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:08:56] local.INFO: Acknowledgment sent {"connection_id":132625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:09:01] local.INFO: TCP Data received {"connection_id":133462,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:09:01] local.INFO: Processing buffer {"connection_id":133462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:09:01] local.INFO: IMEI packet received {"connection_id":133462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":133462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:09:04] local.INFO: TCP Data received {"connection_id":134826,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:09:04] local.INFO: Processing buffer {"connection_id":134826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:09:04] local.INFO: IMEI packet received {"connection_id":134826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 15:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":134826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:09:05] local.INFO: TCP Data received {"connection_id":134826,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:09:05] local.INFO: Processing buffer {"connection_id":134826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:09:05] local.INFO: IMEI packet received {"connection_id":134826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":134826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:09:06] local.INFO: TCP Data received {"connection_id":133462,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:09:06] local.INFO: Processing buffer {"connection_id":133462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:09:06] local.INFO: IMEI packet received {"connection_id":133462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":133462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:09:07] local.INFO: TCP Data received {"connection_id":133462,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f65230e00012d80ea0005a180b00008015c2f..."} 
[2026-07-15 15:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65230e00012d80ea0005a180b00008015c2f..."} 
[2026-07-15 15:09:07] local.INFO: Processing buffer {"connection_id":133462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65230e00012d80ea0005a180b00008015c2f..."} 
[2026-07-15 15:09:07] local.INFO: Packet analysis {"connection_id":133462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6523"} 
[2026-07-15 15:09:07] local.INFO: Extracted packet for processing {"connection_id":133462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6523"} 
[2026-07-15 15:09:07] local.INFO: GPS Element Parsed {"raw_longitude":763423232,"raw_latitude":94470320,"longitude_deg":76.3423232,"latitude_deg":9.447032,"altitude":8,"angle":348,"satellites":47,"speed":47,"hex_longitude":"2d80ea00","hex_latitude":"05a180b0","is_valid_coordinates":true} 
[2026-07-15 15:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731703296001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347170624671580160,"note":"Value kept but may cause issues"} 
[2026-07-15 15:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155606912029532160,"note":"Value kept but may cause issues"} 
[2026-07-15 15:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784108224000,"timestamp_ms":1784108224000,"timestamp_seconds":1784108224,"priority":1,"record_length":96,"hex_timestamp":"0000019f65230e00"} 
[2026-07-15 15:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-15 15:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731703296001,"66":27800,"82":206,"85":14336,"24":47,"16":347170624671580160,"45":-9155606912029532160},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731703296001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:09:07] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:09:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347170624671580160,"km_value":347170624671580.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155606912029532160,"description":"Unknown IO ID 45"} 
[2026-07-15 15:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731703296001,"power":27800,"unknown_82":206,"unknown_85":14336,"ignition":47,"odometer":null,"unknown_45":-9155606912029532160}} 
[2026-07-15 15:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":133462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:09:07] local.INFO: GPS data processed {"connection_id":133462,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:09:07] local.INFO: Acknowledgment sent {"connection_id":133462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:09:09] local.INFO: TCP Data received {"connection_id":134826,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:09:09] local.INFO: Processing buffer {"connection_id":134826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:09:09] local.INFO: IMEI packet received {"connection_id":134826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":134826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:09:10] local.INFO: TCP Data received {"connection_id":134826,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f652461d8012d7b468005e13ca00000015e18..."} 
[2026-07-15 15:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652461d8012d7b468005e13ca00000015e18..."} 
[2026-07-15 15:09:10] local.INFO: Processing buffer {"connection_id":134826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652461d8012d7b468005e13ca00000015e18..."} 
[2026-07-15 15:09:10] local.INFO: Packet analysis {"connection_id":134826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6524"} 
[2026-07-15 15:09:10] local.INFO: Extracted packet for processing {"connection_id":134826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6524"} 
[2026-07-15 15:09:10] local.INFO: GPS Element Parsed {"raw_longitude":763053696,"raw_latitude":98647200,"longitude_deg":76.3053696,"latitude_deg":9.86472,"altitude":0,"angle":350,"satellites":24,"speed":49,"hex_longitude":"2d7b4680","hex_latitude":"05e13ca0","is_valid_coordinates":true} 
[2026-07-15 15:09: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-07-15 15:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731725568001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106543432645738496,"note":"Value kept but may cause issues"} 
[2026-07-15 15:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884757665123096576,"note":"Value kept but may cause issues"} 
[2026-07-15 15:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784108311000,"timestamp_ms":1784108311000,"timestamp_seconds":1784108311,"priority":1,"record_length":96,"hex_timestamp":"0000019f652461d8"} 
[2026-07-15 15:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-07-15 15:09:10] 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-07-15 15:09: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-07-15 15:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":134826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":134826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":134826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731725568001,"66":12982,"170":206,"85":15104,"24":49,"16":106543432645738496,"45":8884757665123096576},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-07-15 15:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731725568001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:09:10] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-15 15:09:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 15:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106543432645738496,"km_value":106543432645738.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884757665123096576,"description":"Unknown IO ID 45"} 
[2026-07-15 15:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731725568001,"power":12982,"unknown_170":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8884757665123096576}} 
[2026-07-15 15:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":134826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491346,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:09:10] local.INFO: GPS data processed {"connection_id":134826,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:09:10] local.INFO: Acknowledgment sent {"connection_id":134826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:09:15] local.INFO: TCP Data received {"connection_id":134826,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f6524aff8012d7b410005e15a280000015f22..."} 
[2026-07-15 15:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6524aff8012d7b410005e15a280000015f22..."} 
[2026-07-15 15:09:15] local.INFO: Processing buffer {"connection_id":134826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6524aff8012d7b410005e15a280000015f22..."} 
[2026-07-15 15:09:15] local.INFO: Packet analysis {"connection_id":134826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6524"} 
[2026-07-15 15:09:15] local.INFO: Extracted packet for processing {"connection_id":134826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6524"} 
[2026-07-15 15:09:15] local.INFO: GPS Element Parsed {"raw_longitude":763052288,"raw_latitude":98654760,"longitude_deg":76.3052288,"latitude_deg":9.865476,"altitude":0,"angle":351,"satellites":34,"speed":17,"hex_longitude":"2d7b4100","hex_latitude":"05e15a28","is_valid_coordinates":true} 
[2026-07-15 15:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731727616001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106543814897827840,"note":"Value kept but may cause issues"} 
[2026-07-15 15:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882928077776920576,"note":"Value kept but may cause issues"} 
[2026-07-15 15:09:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784108331000,"timestamp_ms":1784108331000,"timestamp_seconds":1784108331,"priority":1,"record_length":96,"hex_timestamp":"0000019f6524aff8"} 
[2026-07-15 15:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:09:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-15 15:09:15] 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-07-15 15:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":134826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":134826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":134826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731727616001,"66":13091,"170":206,"85":15104,"24":17,"16":106543814897827840,"45":8882928077776920576},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-07-15 15:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731727616001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:09:15] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-15 15:09:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 15:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106543814897827840,"km_value":106543814897827.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882928077776920576,"description":"Unknown IO ID 45"} 
[2026-07-15 15:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731727616001,"power":13091,"unknown_170":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8882928077776920576}} 
[2026-07-15 15:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":134826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491347,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:09:15] local.INFO: GPS data processed {"connection_id":134826,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:09:15] local.INFO: Acknowledgment sent {"connection_id":134826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:09:28] local.INFO: TCP Data received {"connection_id":132625,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f65229cb8012d181fc00721b0500048015f21..."} 
[2026-07-15 15:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65229cb8012d181fc00721b0500048015f21..."} 
[2026-07-15 15:09:28] local.INFO: Processing buffer {"connection_id":132625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65229cb8012d181fc00721b0500048015f21..."} 
[2026-07-15 15:09:28] local.INFO: Packet analysis {"connection_id":132625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6522"} 
[2026-07-15 15:09:28] local.INFO: Extracted packet for processing {"connection_id":132625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6522"} 
[2026-07-15 15:09:28] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":33,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731692800001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:09:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:09: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-07-15 15:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784108195000,"timestamp_ms":1784108195000,"timestamp_seconds":1784108195,"priority":1,"record_length":96,"hex_timestamp":"0000019f65229cb8"} 
[2026-07-15 15:09:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:09:28] 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-07-15 15:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-15 15:09:28] 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-07-15 15:09:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:09:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:09:28] 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-07-15 15:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731692800001,"66":12743,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731692800001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:09:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:09:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:09:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731692800001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":132625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:09:28] local.INFO: GPS data processed {"connection_id":132625,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:09:28] local.INFO: Acknowledgment sent {"connection_id":132625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:09:38] local.INFO: TCP Data received {"connection_id":133462,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f65232958012d80e3c005a1a2c00008015d2f..."} 
[2026-07-15 15:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65232958012d80e3c005a1a2c00008015d2f..."} 
[2026-07-15 15:09:38] local.INFO: Processing buffer {"connection_id":133462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65232958012d80e3c005a1a2c00008015d2f..."} 
[2026-07-15 15:09:38] local.INFO: Packet analysis {"connection_id":133462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6523"} 
[2026-07-15 15:09:38] local.INFO: Extracted packet for processing {"connection_id":133462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6523"} 
[2026-07-15 15:09:38] local.INFO: GPS Element Parsed {"raw_longitude":763421632,"raw_latitude":94479040,"longitude_deg":76.3421632,"latitude_deg":9.447904,"altitude":8,"angle":349,"satellites":47,"speed":50,"hex_longitude":"2d80e3c0","hex_latitude":"05a1a2c0","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731705344001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347171054168309760,"note":"Value kept but may cause issues"} 
[2026-07-15 15:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9157506868120080384,"note":"Value kept but may cause issues"} 
[2026-07-15 15:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784108231000,"timestamp_ms":1784108231000,"timestamp_seconds":1784108231,"priority":1,"record_length":96,"hex_timestamp":"0000019f65232958"} 
[2026-07-15 15:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 15:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15: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-07-15 15:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731705344001,"66":27745,"82":206,"85":14336,"24":50,"16":347171054168309760,"45":-9157506868120080384},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731705344001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:09:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:09:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347171054168309760,"km_value":347171054168309.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9157506868120080384,"description":"Unknown IO ID 45"} 
[2026-07-15 15:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731705344001,"power":27745,"unknown_82":206,"unknown_85":14336,"ignition":50,"odometer":null,"unknown_45":-9157506868120080384}} 
[2026-07-15 15:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":133462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:09:38] local.INFO: GPS data processed {"connection_id":133462,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:09:38] local.INFO: Acknowledgment sent {"connection_id":133462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:09:49] local.INFO: TCP Data received {"connection_id":134827,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:09:49] local.INFO: Processing buffer {"connection_id":134827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:09:49] local.INFO: IMEI packet received {"connection_id":134827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 15:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":134827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:09:50] local.INFO: TCP Data received {"connection_id":134827,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:09:50] local.INFO: Processing buffer {"connection_id":134827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:09:50] local.INFO: IMEI packet received {"connection_id":134827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":134827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:09:56] local.INFO: TCP Data received {"connection_id":134827,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:09:56] local.INFO: Processing buffer {"connection_id":134827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:09:56] local.INFO: IMEI packet received {"connection_id":134827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":134827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:09:56] local.INFO: TCP Data received {"connection_id":133463,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133463,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:09:56] local.INFO: Processing buffer {"connection_id":133463,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:09:56] local.INFO: IMEI packet received {"connection_id":133463,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 15:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":133463,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:09:56] local.INFO: TCP Data received {"connection_id":134827,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f6522ead8012d181fc00721b0500048015f21..."} 
[2026-07-15 15:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6522ead8012d181fc00721b0500048015f21..."} 
[2026-07-15 15:09:56] local.INFO: Processing buffer {"connection_id":134827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6522ead8012d181fc00721b0500048015f21..."} 
[2026-07-15 15:09:56] local.INFO: Packet analysis {"connection_id":134827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6522"} 
[2026-07-15 15:09:56] local.INFO: Extracted packet for processing {"connection_id":134827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6522"} 
[2026-07-15 15:09:56] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":33,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731697920001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:09:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784108215000,"timestamp_ms":1784108215000,"timestamp_seconds":1784108215,"priority":1,"record_length":96,"hex_timestamp":"0000019f6522ead8"} 
[2026-07-15 15:09:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:09:56] 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-07-15 15: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-15 15:09:56] 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-07-15 15: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-07-15 15:09:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":134827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":134827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":134827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:09:56] 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-07-15 15:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731697920001,"66":12722,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731697920001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:09:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:09:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731697920001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":134827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:09:57] local.INFO: GPS data processed {"connection_id":134827,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:09:57] local.INFO: Acknowledgment sent {"connection_id":134827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:09:59] local.INFO: TCP Data received {"connection_id":133463,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133463,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:09:59] local.INFO: Processing buffer {"connection_id":133463,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:09:59] local.INFO: IMEI packet received {"connection_id":133463,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":133463,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:09:59] local.INFO: TCP Data received {"connection_id":132429,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:09:59] local.INFO: Processing buffer {"connection_id":132429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:09:59] local.INFO: IMEI packet received {"connection_id":132429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":132429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:10:00] local.INFO: TCP Data received {"connection_id":132429,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:10:00] local.INFO: Processing buffer {"connection_id":132429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:10:00] local.INFO: IMEI packet received {"connection_id":132429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":132429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:10:01] local.INFO: TCP Data received {"connection_id":132429,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:10:01] local.INFO: Processing buffer {"connection_id":132429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:10:01] local.INFO: IMEI packet received {"connection_id":132429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":132429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:10:02] local.INFO: TCP Data received {"connection_id":132429,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:10:02] local.INFO: Processing buffer {"connection_id":132429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:10:02] local.INFO: IMEI packet received {"connection_id":132429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":132429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:10:04] local.INFO: TCP Data received {"connection_id":133463,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133463,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:10:04] local.INFO: Processing buffer {"connection_id":133463,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:10:04] local.INFO: IMEI packet received {"connection_id":133463,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":133463,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:10:05] local.INFO: TCP Data received {"connection_id":133463,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f6524ded8012d7b3bc005e18038000001601f..."} 
[2026-07-15 15:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6524ded8012d7b3bc005e18038000001601f..."} 
[2026-07-15 15:10:05] local.INFO: Processing buffer {"connection_id":133463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6524ded8012d7b3bc005e18038000001601f..."} 
[2026-07-15 15:10:05] local.INFO: Packet analysis {"connection_id":133463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6524"} 
[2026-07-15 15:10:05] local.INFO: Extracted packet for processing {"connection_id":133463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6524"} 
[2026-07-15 15:10:05] local.INFO: GPS Element Parsed {"raw_longitude":763050944,"raw_latitude":98664504,"longitude_deg":76.3050944,"latitude_deg":9.8664504,"altitude":0,"angle":352,"satellites":31,"speed":43,"hex_longitude":"2d7b3bc0","hex_latitude":"05e18038","is_valid_coordinates":true} 
[2026-07-15 15:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731732736001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106544291639197696,"note":"Value kept but may cause issues"} 
[2026-07-15 15:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881379965406947328,"note":"Value kept but may cause issues"} 
[2026-07-15 15:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784108343000,"timestamp_ms":1784108343000,"timestamp_seconds":1784108343,"priority":1,"record_length":96,"hex_timestamp":"0000019f6524ded8"} 
[2026-07-15 15:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-15 15:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":133463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":133463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":133463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731732736001,"66":13222,"170":206,"85":15104,"24":43,"16":106544291639197696,"45":8881379965406947328},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-07-15 15:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731732736001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:10:05] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-15 15:10:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 15:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106544291639197696,"km_value":106544291639197.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881379965406947328,"description":"Unknown IO ID 45"} 
[2026-07-15 15:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731732736001,"power":13222,"unknown_170":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8881379965406947328}} 
[2026-07-15 15:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":133463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491351,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:10:05] local.INFO: GPS data processed {"connection_id":133463,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:10:05] local.INFO: Acknowledgment sent {"connection_id":133463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:10:28] local.INFO: TCP Data received {"connection_id":134827,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f652338f8012d181fc00721b0500048015f21..."} 
[2026-07-15 15:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652338f8012d181fc00721b0500048015f21..."} 
[2026-07-15 15:10:28] local.INFO: Processing buffer {"connection_id":134827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652338f8012d181fc00721b0500048015f21..."} 
[2026-07-15 15:10:28] local.INFO: Packet analysis {"connection_id":134827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6523"} 
[2026-07-15 15:10:28] local.INFO: Extracted packet for processing {"connection_id":134827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6523"} 
[2026-07-15 15:10:28] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":33,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731703040001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:10: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-07-15 15:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784108235000,"timestamp_ms":1784108235000,"timestamp_seconds":1784108235,"priority":1,"record_length":96,"hex_timestamp":"0000019f652338f8"} 
[2026-07-15 15:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:10:28] 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-07-15 15: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 15:10:28] 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-07-15 15: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-07-15 15:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":134827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":134827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":134827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:10:28] 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-07-15 15:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731703040001,"66":12667,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731703040001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:10:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:10:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731703040001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":134827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:10:28] local.INFO: GPS data processed {"connection_id":134827,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:10:28] local.INFO: Acknowledgment sent {"connection_id":134827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:10:37] local.INFO: TCP Data received {"connection_id":133463,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f652505e8012d7b38c005e1a4780000016520..."} 
[2026-07-15 15:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652505e8012d7b38c005e1a4780000016520..."} 
[2026-07-15 15:10:37] local.INFO: Processing buffer {"connection_id":133463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652505e8012d7b38c005e1a4780000016520..."} 
[2026-07-15 15:10:37] local.INFO: Packet analysis {"connection_id":133463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6525"} 
[2026-07-15 15:10:37] local.INFO: Extracted packet for processing {"connection_id":133463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6525"} 
[2026-07-15 15:10:37] local.INFO: GPS Element Parsed {"raw_longitude":763050176,"raw_latitude":98673784,"longitude_deg":76.3050176,"latitude_deg":9.8673784,"altitude":0,"angle":357,"satellites":32,"speed":26,"hex_longitude":"2d7b38c0","hex_latitude":"05e1a478","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731735808001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106544746905731072,"note":"Value kept but may cause issues"} 
[2026-07-15 15:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879902221781710848,"note":"Value kept but may cause issues"} 
[2026-07-15 15:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784108353000,"timestamp_ms":1784108353000,"timestamp_seconds":1784108353,"priority":1,"record_length":96,"hex_timestamp":"0000019f652505e8"} 
[2026-07-15 15:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-15 15:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15: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-07-15 15:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731735808001,"66":13059,"170":206,"85":15104,"24":26,"16":106544746905731072,"45":8879902221781710848},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-07-15 15:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731735808001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:10:37] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-15 15:10:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 15:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106544746905731072,"km_value":106544746905731.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879902221781710848,"description":"Unknown IO ID 45"} 
[2026-07-15 15:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731735808001,"power":13059,"unknown_170":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8879902221781710848}} 
[2026-07-15 15:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":133463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491353,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:10:37] local.INFO: GPS data processed {"connection_id":133463,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:10:37] local.INFO: Acknowledgment sent {"connection_id":133463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:10:50] local.INFO: TCP Data received {"connection_id":134828,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:10:50] local.INFO: Processing buffer {"connection_id":134828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:10:50] local.INFO: IMEI packet received {"connection_id":134828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 15:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":134828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:10:53] local.INFO: TCP Data received {"connection_id":134828,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:10:53] local.INFO: Processing buffer {"connection_id":134828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:10:53] local.INFO: IMEI packet received {"connection_id":134828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":134828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:10:56] local.INFO: TCP Data received {"connection_id":134828,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:10:56] local.INFO: Processing buffer {"connection_id":134828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:10:56] local.INFO: IMEI packet received {"connection_id":134828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":134828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:10:56] local.INFO: TCP Data received {"connection_id":134828,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f65238718012d181fc00721b0500048015f21..."} 
[2026-07-15 15:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65238718012d181fc00721b0500048015f21..."} 
[2026-07-15 15:10:56] local.INFO: Processing buffer {"connection_id":134828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65238718012d181fc00721b0500048015f21..."} 
[2026-07-15 15:10:56] local.INFO: Packet analysis {"connection_id":134828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6523"} 
[2026-07-15 15:10:56] local.INFO: Extracted packet for processing {"connection_id":134828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6523"} 
[2026-07-15 15:10:56] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":33,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731708160001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784108255000,"timestamp_ms":1784108255000,"timestamp_seconds":1784108255,"priority":1,"record_length":96,"hex_timestamp":"0000019f65238718"} 
[2026-07-15 15:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:10:56] 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-07-15 15: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-15 15:10:56] 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-07-15 15: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-07-15 15:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":134828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":134828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":134828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:10:56] 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-07-15 15:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731708160001,"66":12689,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731708160001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:10:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:10:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731708160001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":134828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:10:56] local.INFO: GPS data processed {"connection_id":134828,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:10:56] local.INFO: Acknowledgment sent {"connection_id":134828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:10:59] local.INFO: TCP Data received {"connection_id":132626,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132626,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:10:59] local.INFO: Processing buffer {"connection_id":132626,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:10:59] local.INFO: IMEI packet received {"connection_id":132626,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 15:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":132626,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:11:01] local.INFO: TCP Data received {"connection_id":132626,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132626,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:11:01] local.INFO: Processing buffer {"connection_id":132626,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:11:01] local.INFO: IMEI packet received {"connection_id":132626,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":132626,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:11:02] local.INFO: TCP Data received {"connection_id":132626,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f65253c98012d7b378005e1c840000001661f..."} 
[2026-07-15 15:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65253c98012d7b378005e1c840000001661f..."} 
[2026-07-15 15:11:02] local.INFO: Processing buffer {"connection_id":132626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65253c98012d7b378005e1c840000001661f..."} 
[2026-07-15 15:11:02] local.INFO: Packet analysis {"connection_id":132626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6525"} 
[2026-07-15 15:11:02] local.INFO: Extracted packet for processing {"connection_id":132626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6525"} 
[2026-07-15 15:11:02] local.INFO: GPS Element Parsed {"raw_longitude":763049856,"raw_latitude":98682944,"longitude_deg":76.3049856,"latitude_deg":9.8682944,"altitude":0,"angle":358,"satellites":31,"speed":24,"hex_longitude":"2d7b3780","hex_latitude":"05e1c840","is_valid_coordinates":true} 
[2026-07-15 15:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731738368001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106545189287362560,"note":"Value kept but may cause issues"} 
[2026-07-15 15:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879057796853954560,"note":"Value kept but may cause issues"} 
[2026-07-15 15:11:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784108367000,"timestamp_ms":1784108367000,"timestamp_seconds":1784108367,"priority":1,"record_length":96,"hex_timestamp":"0000019f65253c98"} 
[2026-07-15 15:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-15 15:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160630496598,"note":"Value kept but may cause issues"} 
[2026-07-15 15:11:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 15:11:02] local.WARNING: Large IO value detected {"io_id":132,"raw_value":2952790016,"note":"Value kept but may cause issues"} 
[2026-07-15 15:11:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2812936398,"corrected_to":0} 
[2026-07-15 15:11:02] local.WARNING: Large IO value detected {"io_id":84,"raw_value":2147868915,"note":"Value kept but may cause issues"} 
[2026-07-15 15:11:02] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2212036608,"note":"Value kept but may cause issues"} 
[2026-07-15 15:11:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3771813888,"note":"Value kept but may cause issues"} 
[2026-07-15 15:11:02] local.WARNING: Large IO value detected {"io_id":36,"raw_value":58077557095399464,"note":"Value kept but may cause issues"} 
[2026-07-15 15:11:02] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,170,85,24,241,157,16,133,159,222,45,192,128,31,10,66,175,90,34,97,1,240,182,227,132,101,225,4,113,205,47,84,30,239,50,2,122,5,40,36],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2812936398,"validated":0}]} 
[2026-07-15 15:11:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":392663091773440,"timestamp_seconds":392663091773.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 15:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":132626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":132626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":132626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731738368001,"66":13319,"169":206,"85":15104,"24":24,"16":106545189287362560,"45":8879057796853954560},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-15 15:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731738368001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:11:02] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-15 15:11:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 15:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106545189287362560,"km_value":106545189287362.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879057796853954560,"description":"Unknown IO ID 45"} 
[2026-07-15 15:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731738368001,"power":13319,"unknown_169":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8879057796853954560}} 
[2026-07-15 15:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":132626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491355,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:11:02] local.INFO: GPS data processed {"connection_id":132626,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:11:02] local.INFO: Acknowledgment sent {"connection_id":132626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:11:27] local.INFO: TCP Data received {"connection_id":134828,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f6523d920012d181fc00721b0500048015f22..."} 
[2026-07-15 15:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6523d920012d181fc00721b0500048015f22..."} 
[2026-07-15 15:11:27] local.INFO: Processing buffer {"connection_id":134828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6523d920012d181fc00721b0500048015f22..."} 
[2026-07-15 15:11:27] local.INFO: Packet analysis {"connection_id":134828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6523"} 
[2026-07-15 15:11:27] local.INFO: Extracted packet for processing {"connection_id":134828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6523"} 
[2026-07-15 15:11:27] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":34,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731713280001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:11: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-07-15 15:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784108276000,"timestamp_ms":1784108276000,"timestamp_seconds":1784108276,"priority":1,"record_length":96,"hex_timestamp":"0000019f6523d920"} 
[2026-07-15 15:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:11:27] 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-07-15 15: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-15 15:11:27] 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-07-15 15: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-07-15 15:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":134828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":134828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":134828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:11: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-07-15 15:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731713280001,"66":12689,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731713280001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:11:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:11:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731713280001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":134828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:11:28] local.INFO: GPS data processed {"connection_id":134828,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:11:28] local.INFO: Acknowledgment sent {"connection_id":134828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:11:33] local.INFO: TCP Data received {"connection_id":132626,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f65256b78012d7b340005e1ece00000015f1e..."} 
[2026-07-15 15:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65256b78012d7b340005e1ece00000015f1e..."} 
[2026-07-15 15:11:33] local.INFO: Processing buffer {"connection_id":132626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65256b78012d7b340005e1ece00000015f1e..."} 
[2026-07-15 15:11:33] local.INFO: Packet analysis {"connection_id":132626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6525"} 
[2026-07-15 15:11:33] local.INFO: Extracted packet for processing {"connection_id":132626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6525"} 
[2026-07-15 15:11:33] local.INFO: GPS Element Parsed {"raw_longitude":763048960,"raw_latitude":98692320,"longitude_deg":76.304896,"latitude_deg":9.869232,"altitude":0,"angle":351,"satellites":30,"speed":36,"hex_longitude":"2d7b3400","hex_latitude":"05e1ece0","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731741952001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106545648848863232,"note":"Value kept but may cause issues"} 
[2026-07-15 15:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878705953135411200,"note":"Value kept but may cause issues"} 
[2026-07-15 15:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784108379000,"timestamp_ms":1784108379000,"timestamp_seconds":1784108379,"priority":1,"record_length":96,"hex_timestamp":"0000019f65256b78"} 
[2026-07-15 15:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-15 15:11:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 15:11:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3774054400,"note":"Value kept but may cause issues"} 
[2026-07-15 15:11:33] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2550214011,"note":"Value kept but may cause issues"} 
[2026-07-15 15:11:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-07-15 15:11:33] local.WARNING: Large IO value detected {"io_id":35,"raw_value":-1675337766527008763,"note":"Value kept but may cause issues"} 
[2026-07-15 15:11:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2812936398,"corrected_to":0} 
[2026-07-15 15:11:33] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2415971751,"note":"Value kept but may cause issues"} 
[2026-07-15 15:11:33] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2218983424,"note":"Value kept but may cause issues"} 
[2026-07-15 15:11:33] local.WARNING: Large IO value detected {"io_id":41,"raw_value":57886718825485627,"note":"Value kept but may cause issues"} 
[2026-07-15 15:11:33] local.WARNING: Large IO value detected {"io_id":224,"raw_value":-3364188921622816000,"note":"Value kept but may cause issues"} 
[2026-07-15 15:11:33] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,169,85,24,241,157,16,134,159,5,45,192,164,32,10,66,170,133,222,128,31,175,1,240,35,227,101,225,4,113,205,49,77,88,26,239,51,2,122,41,224],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2812936398,"validated":0}]} 
[2026-07-15 15:11:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":393758308302848,"timestamp_seconds":393758308302.848,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 15:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":132626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":132626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":132626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731741952001,"66":13080,"169":206,"85":15104,"24":36,"16":106545648848863232,"45":8878705953135411200},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-15 15:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731741952001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:11:33] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-15 15:11:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 15:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106545648848863232,"km_value":106545648848863.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878705953135411200,"description":"Unknown IO ID 45"} 
[2026-07-15 15:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731741952001,"power":13080,"unknown_169":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8878705953135411200}} 
[2026-07-15 15:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":132626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491357,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:11:34] local.INFO: GPS data processed {"connection_id":132626,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:11:34] local.INFO: Acknowledgment sent {"connection_id":132626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:11:50] local.INFO: TCP Data received {"connection_id":132431,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:11:50] local.INFO: Processing buffer {"connection_id":132431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:11:50] local.INFO: IMEI packet received {"connection_id":132431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 15:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":132431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:11:56] local.INFO: TCP Data received {"connection_id":132431,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:11:56] local.INFO: Processing buffer {"connection_id":132431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:11:56] local.INFO: IMEI packet received {"connection_id":132431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":132431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:11:57] local.INFO: TCP Data received {"connection_id":132431,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f65242358012d181fc00721b0500048015f22..."} 
[2026-07-15 15:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65242358012d181fc00721b0500048015f22..."} 
[2026-07-15 15:11:57] local.INFO: Processing buffer {"connection_id":132431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65242358012d181fc00721b0500048015f22..."} 
[2026-07-15 15:11:57] local.INFO: Packet analysis {"connection_id":132431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6524"} 
[2026-07-15 15:11:57] local.INFO: Extracted packet for processing {"connection_id":132431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6524"} 
[2026-07-15 15:11:57] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":34,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15:11:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:11:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731718656001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:11:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:11:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:11:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:11:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784108295000,"timestamp_ms":1784108295000,"timestamp_seconds":1784108295,"priority":1,"record_length":96,"hex_timestamp":"0000019f65242358"} 
[2026-07-15 15:11:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:11:57] 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-07-15 15:11:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-15 15:11:57] 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-07-15 15:11:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:11:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:11:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:11:57] local.INFO: Teltonika packet parsed successfully {"connection_id":132431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:11:57] local.INFO: Passing IMEI to GPS processor {"connection_id":132431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:11:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":132431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:11:57] 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-07-15 15:11:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:11:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:11:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731718656001,"66":12667,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:11:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:11:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:11:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731718656001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:11:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:11:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:11:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:11:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:11:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731718656001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:11:57] local.INFO: DEBUG: GPS processor result {"connection_id":132431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:11:57] local.INFO: GPS data processed {"connection_id":132431,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:11:57] local.INFO: Acknowledgment sent {"connection_id":132431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:11:59] local.INFO: TCP Data received {"connection_id":132432,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132432,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:11:59] local.INFO: Processing buffer {"connection_id":132432,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:11:59] local.INFO: IMEI packet received {"connection_id":132432,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 15:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":132432,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:11:59] local.INFO: TCP Data received {"connection_id":132430,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132430,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:11:59] local.INFO: Processing buffer {"connection_id":132430,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:11:59] local.INFO: IMEI packet received {"connection_id":132430,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 15:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":132430,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:12:01] local.INFO: TCP Data received {"connection_id":132432,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132432,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:12:01] local.INFO: Processing buffer {"connection_id":132432,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:12:01] local.INFO: IMEI packet received {"connection_id":132432,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":132432,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:12:04] local.INFO: TCP Data received {"connection_id":132432,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132432,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:12:04] local.INFO: Processing buffer {"connection_id":132432,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:12:04] local.INFO: IMEI packet received {"connection_id":132432,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":132432,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:12:06] local.INFO: TCP Data received {"connection_id":132432,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f6525a9f8012d7b2ec005e210880000016120..."} 
[2026-07-15 15:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6525a9f8012d7b2ec005e210880000016120..."} 
[2026-07-15 15:12:06] local.INFO: Processing buffer {"connection_id":132432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6525a9f8012d7b2ec005e210880000016120..."} 
[2026-07-15 15:12:06] local.INFO: Packet analysis {"connection_id":132432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6525"} 
[2026-07-15 15:12:06] local.INFO: Extracted packet for processing {"connection_id":132432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6525"} 
[2026-07-15 15:12:06] local.INFO: GPS Element Parsed {"raw_longitude":763047616,"raw_latitude":98701448,"longitude_deg":76.3047616,"latitude_deg":9.8701448,"altitude":0,"angle":353,"satellites":32,"speed":17,"hex_longitude":"2d7b2ec0","hex_latitude":"05e21088","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731745024001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106546095525462016,"note":"Value kept but may cause issues"} 
[2026-07-15 15:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877720790719324160,"note":"Value kept but may cause issues"} 
[2026-07-15 15:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784108395000,"timestamp_ms":1784108395000,"timestamp_seconds":1784108395,"priority":1,"record_length":96,"hex_timestamp":"0000019f6525a9f8"} 
[2026-07-15 15:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-15 15:12:06] 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-07-15 15: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-07-15 15:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731745024001,"66":13091,"169":206,"85":15104,"24":17,"16":106546095525462016,"45":8877720790719324160},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-15 15:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731745024001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:12:06] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-15 15:12:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 15:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106546095525462016,"km_value":106546095525462.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877720790719324160,"description":"Unknown IO ID 45"} 
[2026-07-15 15:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731745024001,"power":13091,"unknown_169":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8877720790719324160}} 
[2026-07-15 15:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":132432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491359,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:12:06] local.INFO: GPS data processed {"connection_id":132432,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:12:06] local.INFO: Acknowledgment sent {"connection_id":132432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:12:28] local.INFO: TCP Data received {"connection_id":132431,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f65247178012d181fc00721b0500048015f22..."} 
[2026-07-15 15:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65247178012d181fc00721b0500048015f22..."} 
[2026-07-15 15:12:28] local.INFO: Processing buffer {"connection_id":132431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65247178012d181fc00721b0500048015f22..."} 
[2026-07-15 15:12:28] local.INFO: Packet analysis {"connection_id":132431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6524"} 
[2026-07-15 15:12:28] local.INFO: Extracted packet for processing {"connection_id":132431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6524"} 
[2026-07-15 15:12:28] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":34,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731723520001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:12: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-07-15 15:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784108315000,"timestamp_ms":1784108315000,"timestamp_seconds":1784108315,"priority":1,"record_length":96,"hex_timestamp":"0000019f65247178"} 
[2026-07-15 15:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:12:28] 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-07-15 15:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-15 15:12:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:12:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:12:28] 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-07-15 15:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731723520001,"66":12689,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731723520001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:12:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:12:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731723520001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":132431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:12:28] local.INFO: GPS data processed {"connection_id":132431,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:12:28] local.INFO: Acknowledgment sent {"connection_id":132431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:12:34] local.INFO: TCP Data received {"connection_id":134830,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134830,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:12:34] local.INFO: Processing buffer {"connection_id":134830,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:12:34] local.INFO: IMEI packet received {"connection_id":134830,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 15:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":134830,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:12:37] local.INFO: TCP Data received {"connection_id":132432,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f6527b568012d7af38005e383b00004014d2b..."} 
[2026-07-15 15:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6527b568012d7af38005e383b00004014d2b..."} 
[2026-07-15 15:12:37] local.INFO: Processing buffer {"connection_id":132432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6527b568012d7af38005e383b00004014d2b..."} 
[2026-07-15 15:12:37] local.INFO: Packet analysis {"connection_id":132432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6527"} 
[2026-07-15 15:12:37] local.INFO: Extracted packet for processing {"connection_id":132432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6527"} 
[2026-07-15 15:12:37] local.INFO: GPS Element Parsed {"raw_longitude":763032448,"raw_latitude":98796464,"longitude_deg":76.3032448,"latitude_deg":9.8796464,"altitude":4,"angle":333,"satellites":43,"speed":6,"hex_longitude":"2d7af380","hex_latitude":"05e383b0","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731781120001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106550777039814656,"note":"Value kept but may cause issues"} 
[2026-07-15 15:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8861324873351213056,"note":"Value kept but may cause issues"} 
[2026-07-15 15:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784108529000,"timestamp_ms":1784108529000,"timestamp_seconds":1784108529,"priority":1,"record_length":96,"hex_timestamp":"0000019f6527b568"} 
[2026-07-15 15:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-15 15:12:37] 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-07-15 15: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-07-15 15:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731781120001,"66":12765,"97":206,"85":15104,"24":6,"16":106550777039814656,"45":8861324873351213056},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 15:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731781120001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:12:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 15:12:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 15:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106550777039814656,"km_value":106550777039814.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8861324873351213056,"description":"Unknown IO ID 45"} 
[2026-07-15 15:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731781120001,"power":12765,"unknown_97":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8861324873351213056}} 
[2026-07-15 15:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":132432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491361,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:12:37] local.INFO: GPS data processed {"connection_id":132432,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:12:37] local.INFO: Acknowledgment sent {"connection_id":132432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:12:56] local.INFO: TCP Data received {"connection_id":132433,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:12:56] local.INFO: Processing buffer {"connection_id":132433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:12:56] local.INFO: IMEI packet received {"connection_id":132433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 15:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":132433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:12:58] local.INFO: TCP Data received {"connection_id":133466,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133466,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:12:58] local.INFO: Processing buffer {"connection_id":133466,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:12:58] local.INFO: IMEI packet received {"connection_id":133466,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 15:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":133466,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:12:59] local.INFO: TCP Data received {"connection_id":132433,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:12:59] local.INFO: Processing buffer {"connection_id":132433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:12:59] local.INFO: IMEI packet received {"connection_id":132433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":132433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:12:59] local.INFO: TCP Data received {"connection_id":132433,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f6524bbb0012d181fc00721b0500048015f22..."} 
[2026-07-15 15:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6524bbb0012d181fc00721b0500048015f22..."} 
[2026-07-15 15:12:59] local.INFO: Processing buffer {"connection_id":132433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6524bbb0012d181fc00721b0500048015f22..."} 
[2026-07-15 15:12:59] local.INFO: Packet analysis {"connection_id":132433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6524"} 
[2026-07-15 15:12:59] local.INFO: Extracted packet for processing {"connection_id":132433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6524"} 
[2026-07-15 15:12:59] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":34,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731728640001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784108334000,"timestamp_ms":1784108334000,"timestamp_seconds":1784108334,"priority":1,"record_length":96,"hex_timestamp":"0000019f6524bbb0"} 
[2026-07-15 15:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:12:59] 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-07-15 15:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-15 15:12:59] 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-07-15 15:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":132433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":132433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":132433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:12:59] 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-07-15 15:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731728640001,"66":12667,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731728640001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:12:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:12:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731728640001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":132433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491362,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:13:00] local.INFO: GPS data processed {"connection_id":132433,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:13:00] local.INFO: Acknowledgment sent {"connection_id":132433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:13:01] local.INFO: TCP Data received {"connection_id":132433,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f652509d0012d181fc00721b0500048015f22..."} 
[2026-07-15 15:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652509d0012d181fc00721b0500048015f22..."} 
[2026-07-15 15:13:01] local.INFO: Processing buffer {"connection_id":132433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652509d0012d181fc00721b0500048015f22..."} 
[2026-07-15 15:13:01] local.INFO: Packet analysis {"connection_id":132433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6525"} 
[2026-07-15 15:13:01] local.INFO: Extracted packet for processing {"connection_id":132433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6525"} 
[2026-07-15 15:13:01] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":34,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731733504001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:13: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-07-15 15:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784108354000,"timestamp_ms":1784108354000,"timestamp_seconds":1784108354,"priority":1,"record_length":96,"hex_timestamp":"0000019f652509d0"} 
[2026-07-15 15:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:13:01] 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-07-15 15:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-15 15:13:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:13: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-07-15 15:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":132433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":132433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":132433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:13:01] 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-07-15 15:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731733504001,"66":12667,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731733504001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:13:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:13:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731733504001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":132433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:13:01] local.INFO: GPS data processed {"connection_id":132433,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:13:01] local.INFO: Acknowledgment sent {"connection_id":132433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:13:20] local.INFO: TCP Data received {"connection_id":133466,"ip":"42.106.6.36","data_length":51,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-15 15:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133466,"packet_length":51,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-15 15:13:20] local.INFO: Processing buffer {"connection_id":133466,"buffer_length":51,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-15 15:13:20] local.INFO: IMEI packet received {"connection_id":133466,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":133466,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:13:26] local.INFO: TCP Data received {"connection_id":133466,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f6527bd38012d7af34005e384d80004015c2a..."} 
[2026-07-15 15:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6527bd38012d7af34005e384d80004015c2a..."} 
[2026-07-15 15:13:26] local.INFO: Processing buffer {"connection_id":133466,"buffer_length":829,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-15 15:13:26] local.INFO: IMEI packet received {"connection_id":133466,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":133466,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:13:32] local.INFO: TCP Data received {"connection_id":132433,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f65255408012d181fc00721b0500048015f23..."} 
[2026-07-15 15:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65255408012d181fc00721b0500048015f23..."} 
[2026-07-15 15:13:32] local.INFO: Processing buffer {"connection_id":132433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65255408012d181fc00721b0500048015f23..."} 
[2026-07-15 15:13:32] local.INFO: Packet analysis {"connection_id":132433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6525"} 
[2026-07-15 15:13:32] local.INFO: Extracted packet for processing {"connection_id":132433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6525"} 
[2026-07-15 15:13:32] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":35,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731738624001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784108373000,"timestamp_ms":1784108373000,"timestamp_seconds":1784108373,"priority":1,"record_length":96,"hex_timestamp":"0000019f65255408"} 
[2026-07-15 15:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:13:32] 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-07-15 15:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-15 15:13:32] 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-07-15 15:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":132433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":132433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":132433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:13:32] 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-07-15 15:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731738624001,"66":12645,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731738624001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:13:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:13:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731738624001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":132433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:13:32] local.INFO: GPS data processed {"connection_id":132433,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:13:32] local.INFO: Acknowledgment sent {"connection_id":132433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:13:51] local.INFO: TCP Data received {"connection_id":134831,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:13:51] local.INFO: Processing buffer {"connection_id":134831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:13:51] local.INFO: IMEI packet received {"connection_id":134831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 15:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":134831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:13:54] local.INFO: TCP Data received {"connection_id":133466,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f65280388012d7ae84005e3a6c8000601552c..."} 
[2026-07-15 15:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65280388012d7ae84005e3a6c8000601552c..."} 
[2026-07-15 15:13:54] local.INFO: Processing buffer {"connection_id":133466,"buffer_length":1607,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019f65..."} 
[2026-07-15 15:13:54] local.INFO: IMEI packet received {"connection_id":133466,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":133466,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:13:56] local.INFO: TCP Data received {"connection_id":134831,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:13:56] local.INFO: Processing buffer {"connection_id":134831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:13:56] local.INFO: IMEI packet received {"connection_id":134831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":134831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:13:56] local.INFO: TCP Data received {"connection_id":134831,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f65259e40012d181fc00721b0500048015f23..."} 
[2026-07-15 15:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65259e40012d181fc00721b0500048015f23..."} 
[2026-07-15 15:13:56] local.INFO: Processing buffer {"connection_id":134831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65259e40012d181fc00721b0500048015f23..."} 
[2026-07-15 15:13:56] local.INFO: Packet analysis {"connection_id":134831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6525"} 
[2026-07-15 15:13:56] local.INFO: Extracted packet for processing {"connection_id":134831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6525"} 
[2026-07-15 15:13:56] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":35,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731743488001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:13:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784108392000,"timestamp_ms":1784108392000,"timestamp_seconds":1784108392,"priority":1,"record_length":96,"hex_timestamp":"0000019f65259e40"} 
[2026-07-15 15:13:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:13:56] 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-07-15 15:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-15 15:13:56] 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-07-15 15:13:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:13:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":134831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":134831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":134831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:13:56] 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-07-15 15:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731743488001,"66":12645,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731743488001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:13:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:13:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731743488001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":134831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491365,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:13:56] local.INFO: GPS data processed {"connection_id":134831,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:13:56] local.INFO: Acknowledgment sent {"connection_id":134831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:14:00] local.INFO: TCP Data received {"connection_id":133466,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f65282e80012d7ade0005e3c8f80006015929..."} 
[2026-07-15 15:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65282e80012d7ade0005e3c8f80006015929..."} 
[2026-07-15 15:14:00] local.INFO: Processing buffer {"connection_id":133466,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a0000019f6527bd38012d7af34005e384d80004015c2a..."} 
[2026-07-15 15:14:00] local.INFO: Packet analysis {"connection_id":133466,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a0000019f6527"} 
[2026-07-15 15:14:00] local.INFO: Extracted packet for processing {"connection_id":133466,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f6527"} 
[2026-07-15 15:14:00] local.INFO: GPS Element Parsed {"raw_longitude":763032384,"raw_latitude":98796760,"longitude_deg":76.3032384,"latitude_deg":9.879676,"altitude":4,"angle":348,"satellites":42,"speed":8,"hex_longitude":"2d7af340","hex_latitude":"05e384d8","is_valid_coordinates":true} 
[2026-07-15 15:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731783424001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106550794219683840,"note":"Value kept but may cause issues"} 
[2026-07-15 15:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8859565654748147712,"note":"Value kept but may cause issues"} 
[2026-07-15 15:14:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784108531000,"timestamp_ms":1784108531000,"timestamp_seconds":1784108531,"priority":1,"record_length":96,"hex_timestamp":"0000019f6527bd38"} 
[2026-07-15 15:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-15 15:14:00] 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-07-15 15:14:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":133466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":133466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":133466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:14:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731783424001,"66":12939,"97":206,"85":15104,"24":8,"16":106550794219683840,"45":8859565654748147712},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 15:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731783424001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:14:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 15:14:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 15:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106550794219683840,"km_value":106550794219683.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8859565654748147712,"description":"Unknown IO ID 45"} 
[2026-07-15 15:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731783424001,"power":12939,"unknown_97":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8859565654748147712}} 
[2026-07-15 15:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":133466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491366,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:14:00] local.INFO: GPS data processed {"connection_id":133466,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:14:00] local.INFO: Acknowledgment sent {"connection_id":133466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:14:00] local.INFO: Packet analysis {"connection_id":133466,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f6528"} 
[2026-07-15 15:14:00] local.INFO: Extracted packet for processing {"connection_id":133466,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6528"} 
[2026-07-15 15:14:00] local.INFO: GPS Element Parsed {"raw_longitude":763029568,"raw_latitude":98805448,"longitude_deg":76.3029568,"latitude_deg":9.8805448,"altitude":6,"angle":341,"satellites":44,"speed":32,"hex_longitude":"2d7ae840","hex_latitude":"05e3a6c8","is_valid_coordinates":true} 
[2026-07-15 15:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731783936001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106551236601315328,"note":"Value kept but may cause issues"} 
[2026-07-15 15:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8859495286004045824,"note":"Value kept but may cause issues"} 
[2026-07-15 15:14:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784108549000,"timestamp_ms":1784108549000,"timestamp_seconds":1784108549,"priority":1,"record_length":96,"hex_timestamp":"0000019f65280388"} 
[2026-07-15 15:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 15:14:00] 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-07-15 15:14:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":133466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":133466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":133466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:14:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731783936001,"66":13091,"97":206,"85":15104,"24":32,"16":106551236601315328,"45":8859495286004045824},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 15:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731783936001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:14:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 15:14:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 15:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106551236601315328,"km_value":106551236601315.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8859495286004045824,"description":"Unknown IO ID 45"} 
[2026-07-15 15:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731783936001,"power":13091,"unknown_97":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8859495286004045824}} 
[2026-07-15 15:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":133466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491367,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:14:00] local.INFO: GPS data processed {"connection_id":133466,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:14:00] local.INFO: Acknowledgment sent {"connection_id":133466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:14:00] local.INFO: Packet analysis {"connection_id":133466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6528"} 
[2026-07-15 15:14:00] local.INFO: Extracted packet for processing {"connection_id":133466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6528"} 
[2026-07-15 15:14:00] local.INFO: GPS Element Parsed {"raw_longitude":763026944,"raw_latitude":98814200,"longitude_deg":76.3026944,"latitude_deg":9.88142,"altitude":6,"angle":345,"satellites":41,"speed":34,"hex_longitude":"2d7ade00","hex_latitude":"05e3c8f8","is_valid_coordinates":true} 
[2026-07-15 15:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731788544001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106551678982946816,"note":"Value kept but may cause issues"} 
[2026-07-15 15:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8856399061262452736,"note":"Value kept but may cause issues"} 
[2026-07-15 15:14:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784108560000,"timestamp_ms":1784108560000,"timestamp_seconds":1784108560,"priority":1,"record_length":96,"hex_timestamp":"0000019f65282e80"} 
[2026-07-15 15:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-15 15:14:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:14:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":133466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":133466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":133466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:14:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731788544001,"66":13189,"97":206,"85":15104,"24":34,"16":106551678982946816,"45":8856399061262452736},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 15:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731788544001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:14:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 15:14:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 15:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106551678982946816,"km_value":106551678982946.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8856399061262452736,"description":"Unknown IO ID 45"} 
[2026-07-15 15:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731788544001,"power":13189,"unknown_97":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8856399061262452736}} 
[2026-07-15 15:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":133466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491368,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:14:00] local.INFO: GPS data processed {"connection_id":133466,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:14:00] local.INFO: Acknowledgment sent {"connection_id":133466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:14:05] local.INFO: TCP Data received {"connection_id":134832,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134832,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:14:05] local.INFO: Processing buffer {"connection_id":134832,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:14:05] local.INFO: IMEI packet received {"connection_id":134832,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 15:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":134832,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:14:09] local.INFO: TCP Data received {"connection_id":134832,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134832,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:14:09] local.INFO: Processing buffer {"connection_id":134832,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:14:09] local.INFO: IMEI packet received {"connection_id":134832,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":134832,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:14:10] local.INFO: TCP Data received {"connection_id":134832,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f652851a8012d7ad54005e3ec700006015c2a..."} 
[2026-07-15 15:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652851a8012d7ad54005e3ec700006015c2a..."} 
[2026-07-15 15:14:10] local.INFO: Processing buffer {"connection_id":134832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652851a8012d7ad54005e3ec700006015c2a..."} 
[2026-07-15 15:14:10] local.INFO: Packet analysis {"connection_id":134832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6528"} 
[2026-07-15 15:14:10] local.INFO: Extracted packet for processing {"connection_id":134832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6528"} 
[2026-07-15 15:14:10] local.INFO: GPS Element Parsed {"raw_longitude":763024704,"raw_latitude":98823280,"longitude_deg":76.3024704,"latitude_deg":9.882328,"altitude":6,"angle":348,"satellites":42,"speed":43,"hex_longitude":"2d7ad540","hex_latitude":"05e3ec70","is_valid_coordinates":true} 
[2026-07-15 15:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731791360001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106552134249480192,"note":"Value kept but may cause issues"} 
[2026-07-15 15:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8853513942753409024,"note":"Value kept but may cause issues"} 
[2026-07-15 15:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784108569000,"timestamp_ms":1784108569000,"timestamp_seconds":1784108569,"priority":1,"record_length":96,"hex_timestamp":"0000019f652851a8"} 
[2026-07-15 15:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-15 15:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":134832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":134832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":134832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731791360001,"66":13189,"97":206,"85":15104,"24":43,"16":106552134249480192,"45":8853513942753409024},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 15:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731791360001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:14:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 15:14:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 15:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106552134249480192,"km_value":106552134249480.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8853513942753409024,"description":"Unknown IO ID 45"} 
[2026-07-15 15:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731791360001,"power":13189,"unknown_97":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8853513942753409024}} 
[2026-07-15 15:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":134832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491369,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:14:10] local.INFO: GPS data processed {"connection_id":134832,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:14:10] local.INFO: Acknowledgment sent {"connection_id":134832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:14:12] local.INFO: TCP Data received {"connection_id":134832,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f652870e8012d7acd0005e40cd8000601512b..."} 
[2026-07-15 15:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652870e8012d7acd0005e40cd8000601512b..."} 
[2026-07-15 15:14:12] local.INFO: Processing buffer {"connection_id":134832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652870e8012d7acd0005e40cd8000601512b..."} 
[2026-07-15 15:14:12] local.INFO: Packet analysis {"connection_id":134832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6528"} 
[2026-07-15 15:14:12] local.INFO: Extracted packet for processing {"connection_id":134832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6528"} 
[2026-07-15 15:14:12] local.INFO: GPS Element Parsed {"raw_longitude":763022592,"raw_latitude":98831576,"longitude_deg":76.3022592,"latitude_deg":9.8831576,"altitude":6,"angle":337,"satellites":43,"speed":39,"hex_longitude":"2d7acd00","hex_latitude":"05e40cd8","is_valid_coordinates":true} 
[2026-07-15 15:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731793664001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106552546566340608,"note":"Value kept but may cause issues"} 
[2026-07-15 15:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851051036709515264,"note":"Value kept but may cause issues"} 
[2026-07-15 15:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784108577000,"timestamp_ms":1784108577000,"timestamp_seconds":1784108577,"priority":1,"record_length":96,"hex_timestamp":"0000019f652870e8"} 
[2026-07-15 15:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15: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":133,"data_length":795,"current_offset":136} 
[2026-07-15 15:14:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15: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-07-15 15:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":134832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":134832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":134832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731793664001,"66":13015,"97":206,"85":15104,"24":39,"16":106552546566340608,"45":8851051036709515264},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 15:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731793664001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:14:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 15:14:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 15:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106552546566340608,"km_value":106552546566340.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851051036709515264,"description":"Unknown IO ID 45"} 
[2026-07-15 15:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731793664001,"power":13015,"unknown_97":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8851051036709515264}} 
[2026-07-15 15:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":134832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491370,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:14:12] local.INFO: GPS data processed {"connection_id":134832,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:14:12] local.INFO: Acknowledgment sent {"connection_id":134832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:14:28] local.INFO: TCP Data received {"connection_id":134831,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f6525e878012d181fc00721b0500048015f23..."} 
[2026-07-15 15:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6525e878012d181fc00721b0500048015f23..."} 
[2026-07-15 15:14:28] local.INFO: Processing buffer {"connection_id":134831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6525e878012d181fc00721b0500048015f23..."} 
[2026-07-15 15:14:28] local.INFO: Packet analysis {"connection_id":134831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6525"} 
[2026-07-15 15:14:28] local.INFO: Extracted packet for processing {"connection_id":134831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6525"} 
[2026-07-15 15:14:28] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":35,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731748352001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:14:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:14: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-07-15 15:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784108411000,"timestamp_ms":1784108411000,"timestamp_seconds":1784108411,"priority":1,"record_length":96,"hex_timestamp":"0000019f6525e878"} 
[2026-07-15 15:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:14:28] 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-07-15 15: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-15 15:14:28] 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-07-15 15: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-07-15 15:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":134831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":134831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":134831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:14:28] 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-07-15 15:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731748352001,"66":12635,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731748352001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:14:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:14:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:14:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731748352001,"power":12635,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":134831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:14:28] local.INFO: GPS data processed {"connection_id":134831,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:14:28] local.INFO: Acknowledgment sent {"connection_id":134831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:14:44] local.INFO: TCP Data received {"connection_id":134832,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f652878b8012d7ac94005e41348000601412d..."} 
[2026-07-15 15:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652878b8012d7ac94005e41348000601412d..."} 
[2026-07-15 15:14:44] local.INFO: Processing buffer {"connection_id":134832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652878b8012d7ac94005e41348000601412d..."} 
[2026-07-15 15:14:44] local.INFO: Packet analysis {"connection_id":134832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6528"} 
[2026-07-15 15:14:44] local.INFO: Extracted packet for processing {"connection_id":134832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6528"} 
[2026-07-15 15:14:44] local.INFO: GPS Element Parsed {"raw_longitude":763021632,"raw_latitude":98833224,"longitude_deg":76.3021632,"latitude_deg":9.8833224,"altitude":6,"angle":321,"satellites":45,"speed":39,"hex_longitude":"2d7ac940","hex_latitude":"05e41348","is_valid_coordinates":true} 
[2026-07-15 15:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731795712001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106552641055621120,"note":"Value kept but may cause issues"} 
[2026-07-15 15:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848728868153776128,"note":"Value kept but may cause issues"} 
[2026-07-15 15:14:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784108579000,"timestamp_ms":1784108579000,"timestamp_seconds":1784108579,"priority":1,"record_length":96,"hex_timestamp":"0000019f652878b8"} 
[2026-07-15 15:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:14:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-15 15:14:44] 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-07-15 15:14:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":134832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":134832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":134832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731795712001,"66":13276,"97":206,"85":15104,"24":39,"16":106552641055621120,"45":8848728868153776128},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 15:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731795712001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:14:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 15:14:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 15:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106552641055621120,"km_value":106552641055621.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848728868153776128,"description":"Unknown IO ID 45"} 
[2026-07-15 15:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731795712001,"power":13276,"unknown_97":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8848728868153776128}} 
[2026-07-15 15:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":134832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491372,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:14:44] local.INFO: GPS data processed {"connection_id":134832,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:14:44] local.INFO: Acknowledgment sent {"connection_id":134832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:14:51] local.INFO: TCP Data received {"connection_id":132434,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:14:51] local.INFO: Processing buffer {"connection_id":132434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:14:51] local.INFO: IMEI packet received {"connection_id":132434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 15:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":132434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:14:56] local.INFO: TCP Data received {"connection_id":132434,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:14:56] local.INFO: Processing buffer {"connection_id":132434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:14:56] local.INFO: IMEI packet received {"connection_id":132434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":132434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:14:56] local.INFO: TCP Data received {"connection_id":132434,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f652632b0012d181fc00721b0500048015f23..."} 
[2026-07-15 15:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652632b0012d181fc00721b0500048015f23..."} 
[2026-07-15 15:14:56] local.INFO: Processing buffer {"connection_id":132434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652632b0012d181fc00721b0500048015f23..."} 
[2026-07-15 15:14:56] local.INFO: Packet analysis {"connection_id":132434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6526"} 
[2026-07-15 15:14:56] local.INFO: Extracted packet for processing {"connection_id":132434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6526"} 
[2026-07-15 15:14:56] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":35,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731753216001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:14:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784108430000,"timestamp_ms":1784108430000,"timestamp_seconds":1784108430,"priority":1,"record_length":96,"hex_timestamp":"0000019f652632b0"} 
[2026-07-15 15:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:14:56] 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-07-15 15: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":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-15 15:14:56] 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-07-15 15: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-07-15 15:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:14:56] 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-07-15 15:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731753216001,"66":12558,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731753216001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:14:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:14:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731753216001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":132434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:14:56] local.INFO: GPS data processed {"connection_id":132434,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:14:56] local.INFO: Acknowledgment sent {"connection_id":132434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:15:05] local.INFO: TCP Data received {"connection_id":134835,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134835,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:15:05] local.INFO: Processing buffer {"connection_id":134835,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:15:05] local.INFO: IMEI packet received {"connection_id":134835,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 15:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":134835,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:15:06] local.INFO: TCP Data received {"connection_id":134834,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:15:06] local.INFO: Processing buffer {"connection_id":134834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:15:06] local.INFO: IMEI packet received {"connection_id":134834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":134834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:15:07] local.INFO: TCP Data received {"connection_id":134834,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f652845f0012d81208005a084900008013f33..."} 
[2026-07-15 15:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652845f0012d81208005a084900008013f33..."} 
[2026-07-15 15:15:07] local.INFO: Processing buffer {"connection_id":134834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652845f0012d81208005a084900008013f33..."} 
[2026-07-15 15:15:07] local.INFO: Packet analysis {"connection_id":134834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6528"} 
[2026-07-15 15:15:07] local.INFO: Extracted packet for processing {"connection_id":134834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6528"} 
[2026-07-15 15:15:07] local.INFO: GPS Element Parsed {"raw_longitude":763437184,"raw_latitude":94405776,"longitude_deg":76.3437184,"latitude_deg":9.4405776,"altitude":8,"angle":319,"satellites":51,"speed":11,"hex_longitude":"2d812080","hex_latitude":"05a08490","is_valid_coordinates":true} 
[2026-07-15 15:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731792640001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347181937615437824,"note":"Value kept but may cause issues"} 
[2026-07-15 15:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9141955375673391104,"note":"Value kept but may cause issues"} 
[2026-07-15 15:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784108566000,"timestamp_ms":1784108566000,"timestamp_seconds":1784108566,"priority":1,"record_length":96,"hex_timestamp":"0000019f652845f0"} 
[2026-07-15 15:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 15:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:15:07] 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-07-15 15:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731792640001,"66":27995,"177":206,"85":14336,"24":11,"16":347181937615437824,"45":-9141955375673391104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-07-15 15:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731792640001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:15:07] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-15 15:15:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347181937615437824,"km_value":347181937615437.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9141955375673391104,"description":"Unknown IO ID 45"} 
[2026-07-15 15:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731792640001,"power":27995,"unknown_177":206,"unknown_85":14336,"ignition":11,"odometer":null,"unknown_45":-9141955375673391104}} 
[2026-07-15 15:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":134834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:15:07] local.INFO: GPS data processed {"connection_id":134834,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:15:07] local.INFO: Acknowledgment sent {"connection_id":134834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:15:13] local.INFO: TCP Data received {"connection_id":134835,"ip":"42.106.6.36","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-15 15:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134835,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-15 15:15:13] local.INFO: Processing buffer {"connection_id":134835,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-15 15:15:13] local.INFO: IMEI packet received {"connection_id":134835,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":134835,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:15:13] local.INFO: TCP Data received {"connection_id":134835,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f65289be0012d7aad8005e42e88000501372c..."} 
[2026-07-15 15:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65289be0012d7aad8005e42e88000501372c..."} 
[2026-07-15 15:15:13] local.INFO: Processing buffer {"connection_id":134835,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019f65..."} 
[2026-07-15 15:15:13] local.INFO: IMEI packet received {"connection_id":134835,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":134835,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:15:20] local.INFO: TCP Data received {"connection_id":134835,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f6528bf08012d7a924005e445480004013529..."} 
[2026-07-15 15:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6528bf08012d7a924005e445480004013529..."} 
[2026-07-15 15:15:20] local.INFO: Processing buffer {"connection_id":134835,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f65289be0012d7aad8005e42e88000501372c..."} 
[2026-07-15 15:15:20] local.INFO: Packet analysis {"connection_id":134835,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f6528"} 
[2026-07-15 15:15:20] local.INFO: Extracted packet for processing {"connection_id":134835,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6528"} 
[2026-07-15 15:15:20] local.INFO: GPS Element Parsed {"raw_longitude":763014528,"raw_latitude":98840200,"longitude_deg":76.3014528,"latitude_deg":9.88402,"altitude":5,"angle":311,"satellites":44,"speed":43,"hex_longitude":"2d7aad80","hex_latitude":"05e42e88","is_valid_coordinates":true} 
[2026-07-15 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-07-15 15:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731796224001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106553117796990976,"note":"Value kept but may cause issues"} 
[2026-07-15 15:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847673336991533056,"note":"Value kept but may cause issues"} 
[2026-07-15 15:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1784108588000,"timestamp_ms":1784108588000,"timestamp_seconds":1784108588,"priority":1,"record_length":96,"hex_timestamp":"0000019f65289be0"} 
[2026-07-15 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-07-15 15:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-15 15:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 15:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":134835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":134835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":134835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:15:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731796224001,"66":13374,"97":206,"85":15104,"24":43,"16":106553117796990976,"45":8847673336991533056},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 15:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731796224001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:15:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 15:15:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 15:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106553117796990976,"km_value":106553117796990.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847673336991533056,"description":"Unknown IO ID 45"} 
[2026-07-15 15:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731796224001,"power":13374,"unknown_97":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8847673336991533056}} 
[2026-07-15 15:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":134835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491375,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:15:20] local.INFO: GPS data processed {"connection_id":134835,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:15:20] local.INFO: Acknowledgment sent {"connection_id":134835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:15:20] local.INFO: Packet analysis {"connection_id":134835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6528"} 
[2026-07-15 15:15:20] local.INFO: Extracted packet for processing {"connection_id":134835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6528"} 
[2026-07-15 15:15:20] local.INFO: GPS Element Parsed {"raw_longitude":763007552,"raw_latitude":98846024,"longitude_deg":76.3007552,"latitude_deg":9.8846024,"altitude":4,"angle":309,"satellites":41,"speed":34,"hex_longitude":"2d7a9240","hex_latitude":"05e44548","is_valid_coordinates":true} 
[2026-07-15 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-07-15 15:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731798528001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106553555883655168,"note":"Value kept but may cause issues"} 
[2026-07-15 15:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8839862406389598208,"note":"Value kept but may cause issues"} 
[2026-07-15 15:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1784108597000,"timestamp_ms":1784108597000,"timestamp_seconds":1784108597,"priority":1,"record_length":96,"hex_timestamp":"0000019f6528bf08"} 
[2026-07-15 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-07-15 15:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-15 15:15:20] 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-07-15 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-07-15 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-07-15 15:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":134835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":134835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":134835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:15:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731798528001,"66":12939,"97":206,"85":15104,"24":34,"16":106553555883655168,"45":8839862406389598208},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 15:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731798528001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:15:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 15:15:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 15:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106553555883655168,"km_value":106553555883655.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8839862406389598208,"description":"Unknown IO ID 45"} 
[2026-07-15 15:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731798528001,"power":12939,"unknown_97":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8839862406389598208}} 
[2026-07-15 15:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":134835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491376,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:15:20] local.INFO: GPS data processed {"connection_id":134835,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:15:20] local.INFO: Acknowledgment sent {"connection_id":134835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:15:27] local.INFO: TCP Data received {"connection_id":132434,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f65297a88012d181fc00721b0500048015f24..."} 
[2026-07-15 15:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65297a88012d181fc00721b0500048015f24..."} 
[2026-07-15 15:15:27] local.INFO: Processing buffer {"connection_id":132434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65297a88012d181fc00721b0500048015f24..."} 
[2026-07-15 15:15:27] local.INFO: Packet analysis {"connection_id":132434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6529"} 
[2026-07-15 15:15:27] local.INFO: Extracted packet for processing {"connection_id":132434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6529"} 
[2026-07-15 15:15:27] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":36,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731807744001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:15:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:15: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-07-15 15:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784108645000,"timestamp_ms":1784108645000,"timestamp_seconds":1784108645,"priority":1,"record_length":96,"hex_timestamp":"0000019f65297a88"} 
[2026-07-15 15:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:15:27] 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-07-15 15: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 15:15:27] 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-07-15 15: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-07-15 15:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":132434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":132434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":132434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:15: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-07-15 15:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731807744001,"66":12548,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731807744001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:15:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:15:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:15:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731807744001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":132434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:15:27] local.INFO: GPS data processed {"connection_id":132434,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:15:27] local.INFO: Acknowledgment sent {"connection_id":132434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:15:28] local.INFO: TCP Data received {"connection_id":134835,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f6528e618012d7a76c005e45b20000801342a..."} 
[2026-07-15 15:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6528e618012d7a76c005e45b20000801342a..."} 
[2026-07-15 15:15:28] local.INFO: Processing buffer {"connection_id":134835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6528e618012d7a76c005e45b20000801342a..."} 
[2026-07-15 15:15:28] local.INFO: Packet analysis {"connection_id":134835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6528"} 
[2026-07-15 15:15:28] local.INFO: Extracted packet for processing {"connection_id":134835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6528"} 
[2026-07-15 15:15:28] local.INFO: GPS Element Parsed {"raw_longitude":763000512,"raw_latitude":98851616,"longitude_deg":76.3000512,"latitude_deg":9.8851616,"altitude":8,"angle":308,"satellites":42,"speed":33,"hex_longitude":"2d7a76c0","hex_latitude":"05e45b20","is_valid_coordinates":true} 
[2026-07-15 15:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731800832001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106553989675352064,"note":"Value kept but may cause issues"} 
[2026-07-15 15:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8832192213275723776,"note":"Value kept but may cause issues"} 
[2026-07-15 15:15:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784108607000,"timestamp_ms":1784108607000,"timestamp_seconds":1784108607,"priority":1,"record_length":96,"hex_timestamp":"0000019f6528e618"} 
[2026-07-15 15:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:15:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 15:15:28] 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-07-15 15:15:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":134835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":134835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":134835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:15:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731800832001,"66":13004,"97":206,"85":15104,"24":33,"16":106553989675352064,"45":8832192213275723776},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 15:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731800832001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:15:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 15:15:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 15:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106553989675352064,"km_value":106553989675352.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8832192213275723776,"description":"Unknown IO ID 45"} 
[2026-07-15 15:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731800832001,"power":13004,"unknown_97":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8832192213275723776}} 
[2026-07-15 15:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":134835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491378,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:15:28] local.INFO: GPS data processed {"connection_id":134835,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:15:28] local.INFO: Acknowledgment sent {"connection_id":134835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:15:38] local.INFO: TCP Data received {"connection_id":134834,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f652849d8012d81200005a085880009014f33..."} 
[2026-07-15 15:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652849d8012d81200005a085880009014f33..."} 
[2026-07-15 15:15:38] local.INFO: Processing buffer {"connection_id":134834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652849d8012d81200005a085880009014f33..."} 
[2026-07-15 15:15:38] local.INFO: Packet analysis {"connection_id":134834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6528"} 
[2026-07-15 15:15:38] local.INFO: Extracted packet for processing {"connection_id":134834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6528"} 
[2026-07-15 15:15:38] local.INFO: GPS Element Parsed {"raw_longitude":763437056,"raw_latitude":94406024,"longitude_deg":76.3437056,"latitude_deg":9.4406024,"altitude":9,"angle":335,"satellites":51,"speed":10,"hex_longitude":"2d812000","hex_latitude":"05a08588","is_valid_coordinates":true} 
[2026-07-15 15:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731792896001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347181954795307008,"note":"Value kept but may cause issues"} 
[2026-07-15 15:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9142166481905872896,"note":"Value kept but may cause issues"} 
[2026-07-15 15:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784108567000,"timestamp_ms":1784108567000,"timestamp_seconds":1784108567,"priority":1,"record_length":96,"hex_timestamp":"0000019f652849d8"} 
[2026-07-15 15:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-15 15:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:15:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731792896001,"66":27995,"177":206,"85":14336,"24":10,"16":347181954795307008,"45":-9142166481905872896},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-07-15 15:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731792896001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:15:38] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-15 15:15:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347181954795307008,"km_value":347181954795307.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9142166481905872896,"description":"Unknown IO ID 45"} 
[2026-07-15 15:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731792896001,"power":27995,"unknown_177":206,"unknown_85":14336,"ignition":10,"odometer":null,"unknown_45":-9142166481905872896}} 
[2026-07-15 15:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":134834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:15:38] local.INFO: GPS data processed {"connection_id":134834,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:15:38] local.INFO: Acknowledgment sent {"connection_id":134834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:15:51] local.INFO: TCP Data received {"connection_id":132630,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:15:51] local.INFO: Processing buffer {"connection_id":132630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:15:51] local.INFO: IMEI packet received {"connection_id":132630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 15:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":132630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:15:56] local.INFO: TCP Data received {"connection_id":132630,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:15:56] local.INFO: Processing buffer {"connection_id":132630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:15:56] local.INFO: IMEI packet received {"connection_id":132630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":132630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:15:56] local.INFO: TCP Data received {"connection_id":132630,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f6529cc90012d181fc00721b0500048015f25..."} 
[2026-07-15 15:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6529cc90012d181fc00721b0500048015f25..."} 
[2026-07-15 15:15:56] local.INFO: Processing buffer {"connection_id":132630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6529cc90012d181fc00721b0500048015f25..."} 
[2026-07-15 15:15:56] local.INFO: Packet analysis {"connection_id":132630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6529"} 
[2026-07-15 15:15:56] local.INFO: Extracted packet for processing {"connection_id":132630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6529"} 
[2026-07-15 15:15:56] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":37,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731813120001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:15:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784108666000,"timestamp_ms":1784108666000,"timestamp_seconds":1784108666,"priority":1,"record_length":96,"hex_timestamp":"0000019f6529cc90"} 
[2026-07-15 15:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:15:56] 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-07-15 15: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 15:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-15 15:15:56] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-15 15:15:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-15 15:15:56] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184195588301,"note":"Value kept but may cause issues"} 
[2026-07-15 15:15:56] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2958032968,"note":"Value kept but may cause issues"} 
[2026-07-15 15:15:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-15 15:15:56] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3221692848,"note":"Value kept but may cause issues"} 
[2026-07-15 15:15:56] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993029994,"note":"Value kept but may cause issues"} 
[2026-07-15 15:15:56] local.WARNING: Large IO value detected {"io_id":21,"raw_value":2690908160,"note":"Value kept but may cause issues"} 
[2026-07-15 15:15:56] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-07-15 15:15:56] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,160,159,40,45,192,176,72,36,10,66,214,132,1,240,14,227,101,33,4,113,205,31,80,239,48,2,21,7,106],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-15 15:15:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188532853930983424,"timestamp_seconds":5188532853930983.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 15:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:15:56] 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-07-15 15:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731813120001,"66":12548,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731813120001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:15:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:15:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731813120001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":132630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:15:56] local.INFO: GPS data processed {"connection_id":132630,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:15:56] local.INFO: Acknowledgment sent {"connection_id":132630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:15:59] local.INFO: TCP Data received {"connection_id":132435,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132435,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:15:59] local.INFO: Processing buffer {"connection_id":132435,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:15:59] local.INFO: IMEI packet received {"connection_id":132435,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 15:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":132435,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:16:00] local.INFO: TCP Data received {"connection_id":132436,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:16:00] local.INFO: Processing buffer {"connection_id":132436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:16:00] local.INFO: IMEI packet received {"connection_id":132436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":132436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:16:04] local.INFO: TCP Data received {"connection_id":132435,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132435,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:16:04] local.INFO: Processing buffer {"connection_id":132435,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:16:04] local.INFO: IMEI packet received {"connection_id":132435,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":132435,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:16:05] local.INFO: TCP Data received {"connection_id":132435,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f652abad8012d79dbc005e585300007015b2c..."} 
[2026-07-15 15:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652abad8012d79dbc005e585300007015b2c..."} 
[2026-07-15 15:16:05] local.INFO: Processing buffer {"connection_id":132435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652abad8012d79dbc005e585300007015b2c..."} 
[2026-07-15 15:16:05] local.INFO: Packet analysis {"connection_id":132435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f652a"} 
[2026-07-15 15:16:05] local.INFO: Extracted packet for processing {"connection_id":132435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f652a"} 
[2026-07-15 15:16:05] local.INFO: GPS Element Parsed {"raw_longitude":762960832,"raw_latitude":98927920,"longitude_deg":76.2960832,"latitude_deg":9.892792,"altitude":7,"angle":347,"satellites":44,"speed":29,"hex_longitude":"2d79dbc0","hex_latitude":"05e58530","is_valid_coordinates":true} 
[2026-07-15 15:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731831040001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106558276052713472,"note":"Value kept but may cause issues"} 
[2026-07-15 15:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782793354881679360,"note":"Value kept but may cause issues"} 
[2026-07-15 15:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784108727000,"timestamp_ms":1784108727000,"timestamp_seconds":1784108727,"priority":1,"record_length":96,"hex_timestamp":"0000019f652abad8"} 
[2026-07-15 15:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-15 15:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-15 15:16:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 15:16:05] local.WARNING: Large IO value detected {"io_id":144,"raw_value":2550136832,"note":"Value kept but may cause issues"} 
[2026-07-15 15:16:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3277022113795700896,"note":"Value kept but may cause issues"} 
[2026-07-15 15:16:05] local.WARNING: Large IO value detected {"io_id":228,"raw_value":-7658371131962414080,"note":"Value kept but may cause issues"} 
[2026-07-15 15:16:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1478951118,"corrected_to":0} 
[2026-07-15 15:16:05] local.WARNING: Large IO value detected {"io_id":30,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-15 15:16:05] local.WARNING: Large IO value detected {"io_id":192,"raw_value":3623955834,"note":"Value kept but may cause issues"} 
[2026-07-15 15:16:05] local.WARNING: Large IO value detected {"io_id":19,"raw_value":2147869904,"note":"Value kept but may cause issues"} 
[2026-07-15 15:16:05] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040088,"note":"Value kept but may cause issues"} 
[2026-07-15 15:16:05] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2416443392,"note":"Value kept but may cause issues"} 
[2026-07-15 15:16:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3836925952,"note":"Value kept but may cause issues"} 
[2026-07-15 15:16:05] local.WARNING: Large IO value detected {"io_id":68,"raw_value":57799294766176054,"note":"Value kept but may cause issues"} 
[2026-07-15 15:16:05] local.WARNING: Large IO value detected {"io_id":41,"raw_value":6296033573899862021,"note":"Value kept but may cause issues"} 
[2026-07-15 15:16:05] local.WARNING: Large IO value detected {"io_id":88,"raw_value":2810473041442641920,"note":"Value kept but may cause issues"} 
[2026-07-15 15:16:05] local.WARNING: Large IO value detected {"io_id":89,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-15 15:16:05] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,145,87,24,241,157,16,159,97,45,64,9,42,10,66,46,128,29,7,44,39,144,255,1,240,227,101,228,4,113,205,30,192,19,232,239,51,2,122,5,8,26,68,41,88,89],"length":626,"final_offset":756,"validated_count":46,"validation_warnings":[{"io_id":205,"original":1478951118,"validated":0}]} 
[2026-07-15 15:16:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648901152483508224,"timestamp_seconds":648901152483508.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 15:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731831040001,"66":13222,"145":206,"87":12288,"24":29,"16":106558276052713472,"45":8782793354881679360},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-07-15 15:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731831040001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:16:05] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-15 15:16:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-15 15:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106558276052713472,"km_value":106558276052713.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782793354881679360,"description":"Unknown IO ID 45"} 
[2026-07-15 15:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731831040001,"power":13222,"unknown_145":206,"unknown_87":12288,"ignition":29,"odometer":null,"unknown_45":8782793354881679360}} 
[2026-07-15 15:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":132435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491381,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:16:05] local.INFO: GPS data processed {"connection_id":132435,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:16:05] local.INFO: Acknowledgment sent {"connection_id":132435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:16:07] local.INFO: TCP Data received {"connection_id":132436,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:16:07] local.INFO: Processing buffer {"connection_id":132436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:16:07] local.INFO: IMEI packet received {"connection_id":132436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":132436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:16:08] local.INFO: TCP Data received {"connection_id":132436,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f65289be0012d811f0005a087e80009015732..."} 
[2026-07-15 15:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65289be0012d811f0005a087e80009015732..."} 
[2026-07-15 15:16:08] local.INFO: Processing buffer {"connection_id":132436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65289be0012d811f0005a087e80009015732..."} 
[2026-07-15 15:16:08] local.INFO: Packet analysis {"connection_id":132436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6528"} 
[2026-07-15 15:16:08] local.INFO: Extracted packet for processing {"connection_id":132436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6528"} 
[2026-07-15 15:16:08] local.INFO: GPS Element Parsed {"raw_longitude":763436800,"raw_latitude":94406632,"longitude_deg":76.34368,"latitude_deg":9.4406632,"altitude":9,"angle":343,"satellites":50,"speed":0,"hex_longitude":"2d811f00","hex_latitude":"05a087e8","is_valid_coordinates":true} 
[2026-07-15 15:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731793152001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347181989155045376,"note":"Value kept but may cause issues"} 
[2026-07-15 15:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9142307219394164736,"note":"Value kept but may cause issues"} 
[2026-07-15 15:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784108588000,"timestamp_ms":1784108588000,"timestamp_seconds":1784108588,"priority":1,"record_length":96,"hex_timestamp":"0000019f65289be0"} 
[2026-07-15 15:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-15 15:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15: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-07-15 15:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731793152001,"66":27821,"185":206,"85":14336,"24":0,"16":347181989155045376,"45":-9142307219394164736},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-15 15:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731793152001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:16:08] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-15 15:16:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347181989155045376,"km_value":347181989155045.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9142307219394164736,"description":"Unknown IO ID 45"} 
[2026-07-15 15:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731793152001,"power":27821,"unknown_185":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9142307219394164736}} 
[2026-07-15 15:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":132436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:16:08] local.INFO: GPS data processed {"connection_id":132436,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:16:08] local.INFO: Acknowledgment sent {"connection_id":132436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:16:28] local.INFO: TCP Data received {"connection_id":132630,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f652a1e98012d181fc00721b0500048015f24..."} 
[2026-07-15 15:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652a1e98012d181fc00721b0500048015f24..."} 
[2026-07-15 15:16:28] local.INFO: Processing buffer {"connection_id":132630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652a1e98012d181fc00721b0500048015f24..."} 
[2026-07-15 15:16:28] local.INFO: Packet analysis {"connection_id":132630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f652a"} 
[2026-07-15 15:16:28] local.INFO: Extracted packet for processing {"connection_id":132630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f652a"} 
[2026-07-15 15:16:28] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":36,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731818496001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:16:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:16: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-07-15 15:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784108687000,"timestamp_ms":1784108687000,"timestamp_seconds":1784108687,"priority":1,"record_length":96,"hex_timestamp":"0000019f652a1e98"} 
[2026-07-15 15:16:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:16:28] 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-07-15 15: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 15:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-15 15:16:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-15 15:16:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-15 15:16:28] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184195588301,"note":"Value kept but may cause issues"} 
[2026-07-15 15:16:28] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2958032968,"note":"Value kept but may cause issues"} 
[2026-07-15 15:16:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-15 15:16:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3221692848,"note":"Value kept but may cause issues"} 
[2026-07-15 15:16:28] local.WARNING: Large IO value detected {"io_id":21,"raw_value":2690908160,"note":"Value kept but may cause issues"} 
[2026-07-15 15:16:28] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-07-15 15:16:28] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,160,159,122,45,192,176,72,36,10,66,40,214,1,240,216,227,101,33,4,113,205,58,31,80,239,49,2,21,7,106],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-15 15:16:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188532858225950720,"timestamp_seconds":5188532858225951.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 15:16:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:16:28] 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-07-15 15:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:16:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731818496001,"66":12526,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:16:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:16:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:16:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731818496001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:16:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:16:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:16:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:16:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:16:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731818496001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:16:28] local.INFO: DEBUG: GPS processor result {"connection_id":132630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:16:28] local.INFO: GPS data processed {"connection_id":132630,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:16:28] local.INFO: Acknowledgment sent {"connection_id":132630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:16:36] local.INFO: TCP Data received {"connection_id":132435,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f652ae9b8012d79d48005e5a930000401642b..."} 
[2026-07-15 15:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652ae9b8012d79d48005e5a930000401642b..."} 
[2026-07-15 15:16:36] local.INFO: Processing buffer {"connection_id":132435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652ae9b8012d79d48005e5a930000401642b..."} 
[2026-07-15 15:16:36] local.INFO: Packet analysis {"connection_id":132435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f652a"} 
[2026-07-15 15:16:36] local.INFO: Extracted packet for processing {"connection_id":132435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f652a"} 
[2026-07-15 15:16:36] local.INFO: GPS Element Parsed {"raw_longitude":762958976,"raw_latitude":98937136,"longitude_deg":76.2958976,"latitude_deg":9.8937136,"altitude":4,"angle":356,"satellites":43,"speed":35,"hex_longitude":"2d79d480","hex_latitude":"05e5a930","is_valid_coordinates":true} 
[2026-07-15 15:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731834112001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106558731319246848,"note":"Value kept but may cause issues"} 
[2026-07-15 15:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8780823030046994432,"note":"Value kept but may cause issues"} 
[2026-07-15 15:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784108739000,"timestamp_ms":1784108739000,"timestamp_seconds":1784108739,"priority":1,"record_length":96,"hex_timestamp":"0000019f652ae9b8"} 
[2026-07-15 15:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-15 15:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731834112001,"66":13243,"157":206,"87":12288,"24":35,"16":106558731319246848,"45":8780823030046994432},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-15 15:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731834112001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:16:36] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-15 15:16:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-15 15:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106558731319246848,"km_value":106558731319246.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8780823030046994432,"description":"Unknown IO ID 45"} 
[2026-07-15 15:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731834112001,"power":13243,"unknown_157":206,"unknown_87":12288,"ignition":35,"odometer":null,"unknown_45":8780823030046994432}} 
[2026-07-15 15:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":132435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491384,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:16:36] local.INFO: GPS data processed {"connection_id":132435,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:16:36] local.INFO: Acknowledgment sent {"connection_id":132435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:16:38] local.INFO: TCP Data received {"connection_id":132436,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f6528bb20012d811e4005a089600009013532..."} 
[2026-07-15 15:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6528bb20012d811e4005a089600009013532..."} 
[2026-07-15 15:16:38] local.INFO: Processing buffer {"connection_id":132436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6528bb20012d811e4005a089600009013532..."} 
[2026-07-15 15:16:38] local.INFO: Packet analysis {"connection_id":132436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6528"} 
[2026-07-15 15:16:38] local.INFO: Extracted packet for processing {"connection_id":132436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6528"} 
[2026-07-15 15:16:38] local.INFO: GPS Element Parsed {"raw_longitude":763436608,"raw_latitude":94407008,"longitude_deg":76.3436608,"latitude_deg":9.4407008,"altitude":9,"angle":309,"satellites":50,"speed":8,"hex_longitude":"2d811e40","hex_latitude":"05a08960","is_valid_coordinates":true} 
[2026-07-15 15:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731798528001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347182010629881856,"note":"Value kept but may cause issues"} 
[2026-07-15 15:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9142588694370719744,"note":"Value kept but may cause issues"} 
[2026-07-15 15:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784108596000,"timestamp_ms":1784108596000,"timestamp_seconds":1784108596,"priority":1,"record_length":96,"hex_timestamp":"0000019f6528bb20"} 
[2026-07-15 15:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 15:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731798528001,"66":27865,"185":206,"85":14336,"24":8,"16":347182010629881856,"45":-9142588694370719744},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-15 15:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731798528001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:16:38] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-15 15:16:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347182010629881856,"km_value":347182010629881.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9142588694370719744,"description":"Unknown IO ID 45"} 
[2026-07-15 15:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731798528001,"power":27865,"unknown_185":206,"unknown_85":14336,"ignition":8,"odometer":null,"unknown_45":-9142588694370719744}} 
[2026-07-15 15:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":132436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:16:38] local.INFO: GPS data processed {"connection_id":132436,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:16:38] local.INFO: Acknowledgment sent {"connection_id":132436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:16:49] local.INFO: TCP Data received {"connection_id":134836,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:16:49] local.INFO: Processing buffer {"connection_id":134836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:16:49] local.INFO: IMEI packet received {"connection_id":134836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 15:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":134836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:16:50] local.INFO: TCP Data received {"connection_id":134836,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:16:50] local.INFO: Processing buffer {"connection_id":134836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:16:50] local.INFO: IMEI packet received {"connection_id":134836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":134836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:16:56] local.INFO: TCP Data received {"connection_id":134836,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:16:56] local.INFO: Processing buffer {"connection_id":134836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:16:56] local.INFO: IMEI packet received {"connection_id":134836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":134836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:16:56] local.INFO: TCP Data received {"connection_id":134836,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f652a7488012d181fc00721b0500048015f24..."} 
[2026-07-15 15:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652a7488012d181fc00721b0500048015f24..."} 
[2026-07-15 15:16:56] local.INFO: Processing buffer {"connection_id":134836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652a7488012d181fc00721b0500048015f24..."} 
[2026-07-15 15:16:56] local.INFO: Packet analysis {"connection_id":134836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f652a"} 
[2026-07-15 15:16:56] local.INFO: Extracted packet for processing {"connection_id":134836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f652a"} 
[2026-07-15 15:16:56] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":36,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731823872001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:16:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784108709000,"timestamp_ms":1784108709000,"timestamp_seconds":1784108709,"priority":1,"record_length":96,"hex_timestamp":"0000019f652a7488"} 
[2026-07-15 15:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:16:56] 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-07-15 15:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 15:16:56] 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-07-15 15:16:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":134836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":134836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":134836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:16:56] 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-07-15 15:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731823872001,"66":12537,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731823872001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:16:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:16:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731823872001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":134836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:16:56] local.INFO: GPS data processed {"connection_id":134836,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:16:56] local.INFO: Acknowledgment sent {"connection_id":134836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:16:59] local.INFO: TCP Data received {"connection_id":133469,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133469,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:16:59] local.INFO: Processing buffer {"connection_id":133469,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:16:59] local.INFO: IMEI packet received {"connection_id":133469,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 15:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":133469,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:17:00] local.INFO: TCP Data received {"connection_id":133470,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:17:00] local.INFO: Processing buffer {"connection_id":133470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:17:00] local.INFO: IMEI packet received {"connection_id":133470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":133470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:17:01] local.INFO: TCP Data received {"connection_id":133469,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133469,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:17:01] local.INFO: Processing buffer {"connection_id":133469,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:17:01] local.INFO: IMEI packet received {"connection_id":133469,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":133469,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:17:04] local.INFO: TCP Data received {"connection_id":133469,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133469,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:17:04] local.INFO: Processing buffer {"connection_id":133469,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:17:04] local.INFO: IMEI packet received {"connection_id":133469,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":133469,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:17:05] local.INFO: TCP Data received {"connection_id":133469,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f652af570012d79d4c005e5b360000300062a..."} 
[2026-07-15 15:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652af570012d79d4c005e5b360000300062a..."} 
[2026-07-15 15:17:05] local.INFO: Processing buffer {"connection_id":133469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652af570012d79d4c005e5b360000300062a..."} 
[2026-07-15 15:17:05] local.INFO: Packet analysis {"connection_id":133469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f652a"} 
[2026-07-15 15:17:05] local.INFO: Extracted packet for processing {"connection_id":133469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f652a"} 
[2026-07-15 15:17:05] local.INFO: GPS Element Parsed {"raw_longitude":762959040,"raw_latitude":98939744,"longitude_deg":76.295904,"latitude_deg":9.8939744,"altitude":3,"angle":6,"satellites":42,"speed":34,"hex_longitude":"2d79d4c0","hex_latitude":"05e5b360","is_valid_coordinates":true} 
[2026-07-15 15:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731837184001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106558860168265728,"note":"Value kept but may cause issues"} 
[2026-07-15 15:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778782336468201472,"note":"Value kept but may cause issues"} 
[2026-07-15 15:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784108742000,"timestamp_ms":1784108742000,"timestamp_seconds":1784108742,"priority":1,"record_length":96,"hex_timestamp":"0000019f652af570"} 
[2026-07-15 15:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-15 15:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":133469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":133469,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":133469,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731837184001,"66":12939,"157":206,"87":12288,"24":34,"16":106558860168265728,"45":8778782336468201472},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-15 15:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731837184001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:17:05] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-15 15:17:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-15 15:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106558860168265728,"km_value":106558860168265.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778782336468201472,"description":"Unknown IO ID 45"} 
[2026-07-15 15:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731837184001,"power":12939,"unknown_157":206,"unknown_87":12288,"ignition":34,"odometer":null,"unknown_45":8778782336468201472}} 
[2026-07-15 15:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":133469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491387,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:17:05] local.INFO: GPS data processed {"connection_id":133469,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:17:05] local.INFO: Acknowledgment sent {"connection_id":133469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:17:08] local.INFO: TCP Data received {"connection_id":133470,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:17:08] local.INFO: Processing buffer {"connection_id":133470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:17:08] local.INFO: IMEI packet received {"connection_id":133470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":133470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:17:09] local.INFO: TCP Data received {"connection_id":133470,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f6528bf08012d811d4005a08a100009014031..."} 
[2026-07-15 15:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6528bf08012d811d4005a08a100009014031..."} 
[2026-07-15 15:17:09] local.INFO: Processing buffer {"connection_id":133470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6528bf08012d811d4005a08a100009014031..."} 
[2026-07-15 15:17:09] local.INFO: Packet analysis {"connection_id":133470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6528"} 
[2026-07-15 15:17:09] local.INFO: Extracted packet for processing {"connection_id":133470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6528"} 
[2026-07-15 15:17:09] local.INFO: GPS Element Parsed {"raw_longitude":763436352,"raw_latitude":94407184,"longitude_deg":76.3436352,"latitude_deg":9.4407184,"altitude":9,"angle":320,"satellites":49,"speed":12,"hex_longitude":"2d811d40","hex_latitude":"05a08a10","is_valid_coordinates":true} 
[2026-07-15 15:17: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-07-15 15:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731800576001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347182023514783744,"note":"Value kept but may cause issues"} 
[2026-07-15 15:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9142799800603156480,"note":"Value kept but may cause issues"} 
[2026-07-15 15:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784108597000,"timestamp_ms":1784108597000,"timestamp_seconds":1784108597,"priority":1,"record_length":96,"hex_timestamp":"0000019f6528bf08"} 
[2026-07-15 15:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-15 15:17:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:17: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-07-15 15:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":133470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":133470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":133470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:17:09] 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-07-15 15:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731800576001,"66":27865,"185":206,"85":14336,"24":12,"16":347182023514783744,"45":-9142799800603156480},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-15 15:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731800576001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:17:09] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-15 15:17:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347182023514783744,"km_value":347182023514783.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9142799800603156480,"description":"Unknown IO ID 45"} 
[2026-07-15 15:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731800576001,"power":27865,"unknown_185":206,"unknown_85":14336,"ignition":12,"odometer":null,"unknown_45":-9142799800603156480}} 
[2026-07-15 15:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":133470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:17:09] local.INFO: GPS data processed {"connection_id":133470,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:17:09] local.INFO: Acknowledgment sent {"connection_id":133470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:17:27] local.INFO: TCP Data received {"connection_id":134836,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f652ac690012d181fc00721b0500048015f25..."} 
[2026-07-15 15:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652ac690012d181fc00721b0500048015f25..."} 
[2026-07-15 15:17:27] local.INFO: Processing buffer {"connection_id":134836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652ac690012d181fc00721b0500048015f25..."} 
[2026-07-15 15:17:27] local.INFO: Packet analysis {"connection_id":134836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f652a"} 
[2026-07-15 15:17:27] local.INFO: Extracted packet for processing {"connection_id":134836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f652a"} 
[2026-07-15 15:17:27] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":37,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731829504001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:17: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-07-15 15:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784108730000,"timestamp_ms":1784108730000,"timestamp_seconds":1784108730,"priority":1,"record_length":96,"hex_timestamp":"0000019f652ac690"} 
[2026-07-15 15:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:17:27] 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-07-15 15:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 15:17:27] 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-07-15 15:17:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":134836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":134836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":134836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:17: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-07-15 15:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731829504001,"66":12537,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731829504001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:17:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:17:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731829504001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":134836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:17:28] local.INFO: GPS data processed {"connection_id":134836,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:17:28] local.INFO: Acknowledgment sent {"connection_id":134836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:17:36] local.INFO: TCP Data received {"connection_id":133469,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f652b2838012d79dac005e5d758000500002a..."} 
[2026-07-15 15:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652b2838012d79dac005e5d758000500002a..."} 
[2026-07-15 15:17:36] local.INFO: Processing buffer {"connection_id":133469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652b2838012d79dac005e5d758000500002a..."} 
[2026-07-15 15:17:36] local.INFO: Packet analysis {"connection_id":133469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f652b"} 
[2026-07-15 15:17:36] local.INFO: Extracted packet for processing {"connection_id":133469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f652b"} 
[2026-07-15 15:17:36] local.INFO: GPS Element Parsed {"raw_longitude":762960576,"raw_latitude":98948952,"longitude_deg":76.2960576,"latitude_deg":9.8948952,"altitude":5,"angle":0,"satellites":42,"speed":28,"hex_longitude":"2d79dac0","hex_latitude":"05e5d758","is_valid_coordinates":true} 
[2026-07-15 15:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731837952001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106559311139831808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778852705213046784,"note":"Value kept but may cause issues"} 
[2026-07-15 15:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784108755000,"timestamp_ms":1784108755000,"timestamp_seconds":1784108755,"priority":1,"record_length":96,"hex_timestamp":"0000019f652b2838"} 
[2026-07-15 15:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 15:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":133469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":133469,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":133469,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731837952001,"66":13276,"157":206,"87":12288,"24":28,"16":106559311139831808,"45":8778852705213046784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-15 15:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731837952001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:17:36] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-15 15:17:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-15 15:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106559311139831808,"km_value":106559311139831.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778852705213046784,"description":"Unknown IO ID 45"} 
[2026-07-15 15:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731837952001,"power":13276,"unknown_157":206,"unknown_87":12288,"ignition":28,"odometer":null,"unknown_45":8778852705213046784}} 
[2026-07-15 15:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":133469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491390,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:17:36] local.INFO: GPS data processed {"connection_id":133469,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:17:36] local.INFO: Acknowledgment sent {"connection_id":133469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:17:40] local.INFO: TCP Data received {"connection_id":133470,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f6528c2f0012d811cc005a08b400009014d32..."} 
[2026-07-15 15:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6528c2f0012d811cc005a08b400009014d32..."} 
[2026-07-15 15:17:40] local.INFO: Processing buffer {"connection_id":133470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6528c2f0012d811cc005a08b400009014d32..."} 
[2026-07-15 15:17:40] local.INFO: Packet analysis {"connection_id":133470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6528"} 
[2026-07-15 15:17:40] local.INFO: Extracted packet for processing {"connection_id":133470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6528"} 
[2026-07-15 15:17:40] local.INFO: GPS Element Parsed {"raw_longitude":763436224,"raw_latitude":94407488,"longitude_deg":76.3436224,"latitude_deg":9.4407488,"altitude":9,"angle":333,"satellites":50,"speed":15,"hex_longitude":"2d811cc0","hex_latitude":"05a08b40","is_valid_coordinates":true} 
[2026-07-15 15:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731800832001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347182040694652928,"note":"Value kept but may cause issues"} 
[2026-07-15 15:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9143081275579822080,"note":"Value kept but may cause issues"} 
[2026-07-15 15:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784108598000,"timestamp_ms":1784108598000,"timestamp_seconds":1784108598,"priority":1,"record_length":96,"hex_timestamp":"0000019f6528c2f0"} 
[2026-07-15 15:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:17:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-15 15:17:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:17:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":133470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":133470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":133470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:17:40] 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-07-15 15:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731800832001,"66":27908,"185":206,"85":14336,"24":15,"16":347182040694652928,"45":-9143081275579822080},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-15 15:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731800832001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:17:40] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-15 15:17:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347182040694652928,"km_value":347182040694652.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9143081275579822080,"description":"Unknown IO ID 45"} 
[2026-07-15 15:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731800832001,"power":27908,"unknown_185":206,"unknown_85":14336,"ignition":15,"odometer":null,"unknown_45":-9143081275579822080}} 
[2026-07-15 15:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":133470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:17:40] local.INFO: GPS data processed {"connection_id":133470,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:17:40] local.INFO: Acknowledgment sent {"connection_id":133470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:17:49] local.INFO: TCP Data received {"connection_id":134837,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134837,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:17:49] local.INFO: Processing buffer {"connection_id":134837,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:17:49] local.INFO: IMEI packet received {"connection_id":134837,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 15:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":134837,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:17:50] local.INFO: TCP Data received {"connection_id":133471,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133471,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:17:50] local.INFO: Processing buffer {"connection_id":133471,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:17:50] local.INFO: IMEI packet received {"connection_id":133471,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 15:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":133471,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:17:53] local.INFO: TCP Data received {"connection_id":133471,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133471,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:17:53] local.INFO: Processing buffer {"connection_id":133471,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:17:53] local.INFO: IMEI packet received {"connection_id":133471,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":133471,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:17:56] local.INFO: TCP Data received {"connection_id":133471,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133471,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:17:56] local.INFO: Processing buffer {"connection_id":133471,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:17:56] local.INFO: IMEI packet received {"connection_id":133471,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":133471,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:17:56] local.INFO: TCP Data received {"connection_id":133471,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f652b1898012d181fc00721b0500048015f25..."} 
[2026-07-15 15:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652b1898012d181fc00721b0500048015f25..."} 
[2026-07-15 15:17:56] local.INFO: Processing buffer {"connection_id":133471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652b1898012d181fc00721b0500048015f25..."} 
[2026-07-15 15:17:56] local.INFO: Packet analysis {"connection_id":133471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f652b"} 
[2026-07-15 15:17:56] local.INFO: Extracted packet for processing {"connection_id":133471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f652b"} 
[2026-07-15 15:17:56] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":37,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731834880001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:17:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784108751000,"timestamp_ms":1784108751000,"timestamp_seconds":1784108751,"priority":1,"record_length":96,"hex_timestamp":"0000019f652b1898"} 
[2026-07-15 15:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:17:56] 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-07-15 15:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 15:17:56] 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-07-15 15:17:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:17:56] 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-07-15 15:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731834880001,"66":12526,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731834880001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:17:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:17:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731834880001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":133471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:17:56] local.INFO: GPS data processed {"connection_id":133471,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:17:56] local.INFO: Acknowledgment sent {"connection_id":133471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:18:00] local.INFO: TCP Data received {"connection_id":132631,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:18:00] local.INFO: Processing buffer {"connection_id":132631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:18:00] local.INFO: IMEI packet received {"connection_id":132631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":132631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:18:04] local.INFO: TCP Data received {"connection_id":134838,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134838,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:18:04] local.INFO: Processing buffer {"connection_id":134838,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:18:04] local.INFO: IMEI packet received {"connection_id":134838,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 15:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":134838,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:18:04] local.INFO: TCP Data received {"connection_id":134838,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134838,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:18:04] local.INFO: Processing buffer {"connection_id":134838,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:18:04] local.INFO: IMEI packet received {"connection_id":134838,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":134838,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:18:06] local.INFO: TCP Data received {"connection_id":132631,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:18:06] local.INFO: Processing buffer {"connection_id":132631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:18:06] local.INFO: IMEI packet received {"connection_id":132631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":132631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:18:07] local.INFO: TCP Data received {"connection_id":132631,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f6528c6d8012d811c0005a08cc80009015b32..."} 
[2026-07-15 15:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6528c6d8012d811c0005a08cc80009015b32..."} 
[2026-07-15 15:18:07] local.INFO: Processing buffer {"connection_id":132631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6528c6d8012d811c0005a08cc80009015b32..."} 
[2026-07-15 15:18:07] local.INFO: Packet analysis {"connection_id":132631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6528"} 
[2026-07-15 15:18:07] local.INFO: Extracted packet for processing {"connection_id":132631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6528"} 
[2026-07-15 15:18:07] local.INFO: GPS Element Parsed {"raw_longitude":763436032,"raw_latitude":94407880,"longitude_deg":76.3436032,"latitude_deg":9.440788,"altitude":9,"angle":347,"satellites":50,"speed":17,"hex_longitude":"2d811c00","hex_latitude":"05a08cc8","is_valid_coordinates":true} 
[2026-07-15 15:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731801088001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347182057874522112,"note":"Value kept but may cause issues"} 
[2026-07-15 15:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9143222013068099584,"note":"Value kept but may cause issues"} 
[2026-07-15 15:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784108599000,"timestamp_ms":1784108599000,"timestamp_seconds":1784108599,"priority":1,"record_length":96,"hex_timestamp":"0000019f6528c6d8"} 
[2026-07-15 15:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 15:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731801088001,"66":27908,"185":206,"85":14336,"24":17,"16":347182057874522112,"45":-9143222013068099584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-15 15:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731801088001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:18:07] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-15 15:18:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347182057874522112,"km_value":347182057874522.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9143222013068099584,"description":"Unknown IO ID 45"} 
[2026-07-15 15:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731801088001,"power":27908,"unknown_185":206,"unknown_85":14336,"ignition":17,"odometer":null,"unknown_45":-9143222013068099584}} 
[2026-07-15 15:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":132631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:18:07] local.INFO: GPS data processed {"connection_id":132631,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:18:07] local.INFO: Acknowledgment sent {"connection_id":132631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:18:09] local.INFO: TCP Data received {"connection_id":134838,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134838,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:18:09] local.INFO: Processing buffer {"connection_id":134838,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:18:09] local.INFO: IMEI packet received {"connection_id":134838,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":134838,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:18:10] local.INFO: TCP Data received {"connection_id":134838,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f652b4778012d79d98005e5ec580005015d2b..."} 
[2026-07-15 15:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652b4778012d79d98005e5ec580005015d2b..."} 
[2026-07-15 15:18:10] local.INFO: Processing buffer {"connection_id":134838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652b4778012d79d98005e5ec580005015d2b..."} 
[2026-07-15 15:18:10] local.INFO: Packet analysis {"connection_id":134838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f652b"} 
[2026-07-15 15:18:10] local.INFO: Extracted packet for processing {"connection_id":134838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f652b"} 
[2026-07-15 15:18:10] local.INFO: GPS Element Parsed {"raw_longitude":762960256,"raw_latitude":98954328,"longitude_deg":76.2960256,"latitude_deg":9.8954328,"altitude":5,"angle":349,"satellites":43,"speed":25,"hex_longitude":"2d79d980","hex_latitude":"05e5ec58","is_valid_coordinates":true} 
[2026-07-15 15:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731841280001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106559573132836864,"note":"Value kept but may cause issues"} 
[2026-07-15 15:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8780541555075667968,"note":"Value kept but may cause issues"} 
[2026-07-15 15:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784108763000,"timestamp_ms":1784108763000,"timestamp_seconds":1784108763,"priority":1,"record_length":96,"hex_timestamp":"0000019f652b4778"} 
[2026-07-15 15:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-15 15:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":134838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":134838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":134838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731841280001,"66":13222,"182":206,"87":13824,"24":25,"16":106559573132836864,"45":8780541555075667968},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-15 15:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731841280001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:18:10] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 15:18:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 15:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106559573132836864,"km_value":106559573132836.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8780541555075667968,"description":"Unknown IO ID 45"} 
[2026-07-15 15:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731841280001,"power":13222,"unknown_182":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8780541555075667968}} 
[2026-07-15 15:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":134838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491394,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:18:10] local.INFO: GPS data processed {"connection_id":134838,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:18:10] local.INFO: Acknowledgment sent {"connection_id":134838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:18:15] local.INFO: TCP Data received {"connection_id":134838,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f652b9598012d79d3c005e60b08000501592a..."} 
[2026-07-15 15:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652b9598012d79d3c005e60b08000501592a..."} 
[2026-07-15 15:18:15] local.INFO: Processing buffer {"connection_id":134838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652b9598012d79d3c005e60b08000501592a..."} 
[2026-07-15 15:18:15] local.INFO: Packet analysis {"connection_id":134838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f652b"} 
[2026-07-15 15:18:15] local.INFO: Extracted packet for processing {"connection_id":134838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f652b"} 
[2026-07-15 15:18:15] local.INFO: GPS Element Parsed {"raw_longitude":762958784,"raw_latitude":98962184,"longitude_deg":76.2958784,"latitude_deg":9.8962184,"altitude":5,"angle":345,"satellites":42,"speed":26,"hex_longitude":"2d79d3c0","hex_latitude":"05e60b08","is_valid_coordinates":true} 
[2026-07-15 15:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731843328001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106559963974860800,"note":"Value kept but may cause issues"} 
[2026-07-15 15:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8780189711356155904,"note":"Value kept but may cause issues"} 
[2026-07-15 15:18:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784108783000,"timestamp_ms":1784108783000,"timestamp_seconds":1784108783,"priority":1,"record_length":96,"hex_timestamp":"0000019f652b9598"} 
[2026-07-15 15:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:18:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-15 15:18:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":134838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":134838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":134838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:18:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731843328001,"66":13341,"182":206,"87":13824,"24":26,"16":106559963974860800,"45":8780189711356155904},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-15 15:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731843328001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:18:15] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 15:18:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 15:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106559963974860800,"km_value":106559963974860.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8780189711356155904,"description":"Unknown IO ID 45"} 
[2026-07-15 15:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731843328001,"power":13341,"unknown_182":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8780189711356155904}} 
[2026-07-15 15:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":134838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491395,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:18:15] local.INFO: GPS data processed {"connection_id":134838,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:18:15] local.INFO: Acknowledgment sent {"connection_id":134838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:18:27] local.INFO: TCP Data received {"connection_id":133471,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f652b6aa0012d181fc00721b0500048015f25..."} 
[2026-07-15 15:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652b6aa0012d181fc00721b0500048015f25..."} 
[2026-07-15 15:18:27] local.INFO: Processing buffer {"connection_id":133471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652b6aa0012d181fc00721b0500048015f25..."} 
[2026-07-15 15:18:27] local.INFO: Packet analysis {"connection_id":133471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f652b"} 
[2026-07-15 15:18:27] local.INFO: Extracted packet for processing {"connection_id":133471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f652b"} 
[2026-07-15 15:18:27] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":37,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731840256001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:18: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-07-15 15:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784108772000,"timestamp_ms":1784108772000,"timestamp_seconds":1784108772,"priority":1,"record_length":96,"hex_timestamp":"0000019f652b6aa0"} 
[2026-07-15 15:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:18:27] 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-07-15 15:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 15:18:27] 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-07-15 15:18:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":133471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":133471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":133471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:18: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-07-15 15:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731840256001,"66":12461,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731840256001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:18:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:18:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731840256001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":133471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:18:28] local.INFO: GPS data processed {"connection_id":133471,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:18:28] local.INFO: Acknowledgment sent {"connection_id":133471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:18:34] local.INFO: TCP Data received {"connection_id":132437,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132437,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:18:34] local.INFO: Processing buffer {"connection_id":132437,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:18:34] local.INFO: IMEI packet received {"connection_id":132437,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 15:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":132437,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:18:38] local.INFO: TCP Data received {"connection_id":132631,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f6528f9a0012d81150005a0b170000a015d31..."} 
[2026-07-15 15:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6528f9a0012d81150005a0b170000a015d31..."} 
[2026-07-15 15:18:38] local.INFO: Processing buffer {"connection_id":132631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6528f9a0012d81150005a0b170000a015d31..."} 
[2026-07-15 15:18:38] local.INFO: Packet analysis {"connection_id":132631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6528"} 
[2026-07-15 15:18:38] local.INFO: Extracted packet for processing {"connection_id":132631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6528"} 
[2026-07-15 15:18:38] local.INFO: GPS Element Parsed {"raw_longitude":763434240,"raw_latitude":94417264,"longitude_deg":76.343424,"latitude_deg":9.4417264,"altitude":10,"angle":349,"satellites":49,"speed":32,"hex_longitude":"2d811500","hex_latitude":"05a0b170","is_valid_coordinates":true} 
[2026-07-15 15:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731801344001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347182521730990080,"note":"Value kept but may cause issues"} 
[2026-07-15 15:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9143433119300532224,"note":"Value kept but may cause issues"} 
[2026-07-15 15:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784108612000,"timestamp_ms":1784108612000,"timestamp_seconds":1784108612,"priority":1,"record_length":96,"hex_timestamp":"0000019f6528f9a0"} 
[2026-07-15 15:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 15:18:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:18:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731801344001,"66":27745,"82":206,"85":14336,"24":32,"16":347182521730990080,"45":-9143433119300532224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731801344001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:18:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:18:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347182521730990080,"km_value":347182521730990.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9143433119300532224,"description":"Unknown IO ID 45"} 
[2026-07-15 15:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731801344001,"power":27745,"unknown_82":206,"unknown_85":14336,"ignition":32,"odometer":null,"unknown_45":-9143433119300532224}} 
[2026-07-15 15:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":132631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:18:38] local.INFO: GPS data processed {"connection_id":132631,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:18:38] local.INFO: Acknowledgment sent {"connection_id":132631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:18:56] local.INFO: TCP Data received {"connection_id":134839,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:18:56] local.INFO: Processing buffer {"connection_id":134839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:18:56] local.INFO: IMEI packet received {"connection_id":134839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 15:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":134839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:18:56] local.INFO: TCP Data received {"connection_id":134839,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:18:56] local.INFO: Processing buffer {"connection_id":134839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:18:56] local.INFO: IMEI packet received {"connection_id":134839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":134839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:19:00] local.INFO: TCP Data received {"connection_id":132632,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132632,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:19:00] local.INFO: Processing buffer {"connection_id":132632,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:19:00] local.INFO: IMEI packet received {"connection_id":132632,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 15:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":132632,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:19:00] local.INFO: TCP Data received {"connection_id":134839,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:19:00] local.INFO: Processing buffer {"connection_id":134839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:19:00] local.INFO: IMEI packet received {"connection_id":134839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":134839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:19:00] local.INFO: TCP Data received {"connection_id":134840,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:19:00] local.INFO: Processing buffer {"connection_id":134840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:19:00] local.INFO: IMEI packet received {"connection_id":134840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":134840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:19:01] local.INFO: TCP Data received {"connection_id":134839,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f652bb8c0012d181fc00721b0500048015f25..."} 
[2026-07-15 15:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652bb8c0012d181fc00721b0500048015f25..."} 
[2026-07-15 15:19:01] local.INFO: Processing buffer {"connection_id":134839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652bb8c0012d181fc00721b0500048015f25..."} 
[2026-07-15 15:19:01] local.INFO: Packet analysis {"connection_id":134839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f652b"} 
[2026-07-15 15:19:01] local.INFO: Extracted packet for processing {"connection_id":134839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f652b"} 
[2026-07-15 15:19:01] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":37,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731845632001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:19: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-07-15 15:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784108792000,"timestamp_ms":1784108792000,"timestamp_seconds":1784108792,"priority":1,"record_length":96,"hex_timestamp":"0000019f652bb8c0"} 
[2026-07-15 15:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:19:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 15:19:01] 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-07-15 15:19:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":134839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":134839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":134839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:19:01] 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-07-15 15:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731845632001,"66":12526,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731845632001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:19:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:19:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731845632001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":134839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:19:01] local.INFO: GPS data processed {"connection_id":134839,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:19:01] local.INFO: Acknowledgment sent {"connection_id":134839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:19:05] local.INFO: TCP Data received {"connection_id":132632,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132632,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:19:05] local.INFO: Processing buffer {"connection_id":132632,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:19:05] local.INFO: IMEI packet received {"connection_id":132632,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":132632,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:19:06] local.INFO: TCP Data received {"connection_id":132632,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f652bc478012d79cc4005e62d580004015722..."} 
[2026-07-15 15:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652bc478012d79cc4005e62d580004015722..."} 
[2026-07-15 15:19:06] local.INFO: Processing buffer {"connection_id":132632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652bc478012d79cc4005e62d580004015722..."} 
[2026-07-15 15:19:06] local.INFO: Packet analysis {"connection_id":132632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f652b"} 
[2026-07-15 15:19:06] local.INFO: Extracted packet for processing {"connection_id":132632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f652b"} 
[2026-07-15 15:19:06] local.INFO: GPS Element Parsed {"raw_longitude":762956864,"raw_latitude":98970968,"longitude_deg":76.2956864,"latitude_deg":9.8970968,"altitude":4,"angle":343,"satellites":34,"speed":28,"hex_longitude":"2d79cc40","hex_latitude":"05e62d58","is_valid_coordinates":true} 
[2026-07-15 15:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731848448001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106560397766557696,"note":"Value kept but may cause issues"} 
[2026-07-15 15:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778571230242080768,"note":"Value kept but may cause issues"} 
[2026-07-15 15:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784108795000,"timestamp_ms":1784108795000,"timestamp_seconds":1784108795,"priority":1,"record_length":96,"hex_timestamp":"0000019f652bc478"} 
[2026-07-15 15:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-15 15:19:06] 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-07-15 15:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731848448001,"66":13341,"182":206,"87":13824,"24":28,"16":106560397766557696,"45":8778571230242080768},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-15 15:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731848448001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:19:06] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 15:19:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 15:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106560397766557696,"km_value":106560397766557.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778571230242080768,"description":"Unknown IO ID 45"} 
[2026-07-15 15:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731848448001,"power":13341,"unknown_182":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8778571230242080768}} 
[2026-07-15 15:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":132632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491399,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:19:06] local.INFO: GPS data processed {"connection_id":132632,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:19:06] local.INFO: Acknowledgment sent {"connection_id":132632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:19:07] local.INFO: TCP Data received {"connection_id":134840,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:19:07] local.INFO: Processing buffer {"connection_id":134840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:19:07] local.INFO: IMEI packet received {"connection_id":134840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":134840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:19:08] local.INFO: TCP Data received {"connection_id":134840,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f65292880012d810d4005a0d6000009015c30..."} 
[2026-07-15 15:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65292880012d810d4005a0d6000009015c30..."} 
[2026-07-15 15:19:08] local.INFO: Processing buffer {"connection_id":134840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65292880012d810d4005a0d6000009015c30..."} 
[2026-07-15 15:19:08] local.INFO: Packet analysis {"connection_id":134840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6529"} 
[2026-07-15 15:19:08] local.INFO: Extracted packet for processing {"connection_id":134840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6529"} 
[2026-07-15 15:19:08] local.INFO: GPS Element Parsed {"raw_longitude":763432256,"raw_latitude":94426624,"longitude_deg":76.3432256,"latitude_deg":9.4426624,"altitude":9,"angle":348,"satellites":48,"speed":33,"hex_longitude":"2d810d40","hex_latitude":"05a0d600","is_valid_coordinates":true} 
[2026-07-15 15:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731804672001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347182985587458048,"note":"Value kept but may cause issues"} 
[2026-07-15 15:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9145403444135104512,"note":"Value kept but may cause issues"} 
[2026-07-15 15:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784108624000,"timestamp_ms":1784108624000,"timestamp_seconds":1784108624,"priority":1,"record_length":96,"hex_timestamp":"0000019f65292880"} 
[2026-07-15 15:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-15 15:19:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731804672001,"66":28050,"82":206,"85":14336,"24":33,"16":347182985587458048,"45":-9145403444135104512},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731804672001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:19:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:19:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347182985587458048,"km_value":347182985587458.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9145403444135104512,"description":"Unknown IO ID 45"} 
[2026-07-15 15:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731804672001,"power":28050,"unknown_82":206,"unknown_85":14336,"ignition":33,"odometer":null,"unknown_45":-9145403444135104512}} 
[2026-07-15 15:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":134840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:19:08] local.INFO: GPS data processed {"connection_id":134840,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:19:08] local.INFO: Acknowledgment sent {"connection_id":134840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:19:10] local.INFO: TCP Data received {"connection_id":132632,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f652bf358012d79c44005e64f800003016028..."} 
[2026-07-15 15:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652bf358012d79c44005e64f800003016028..."} 
[2026-07-15 15:19:10] local.INFO: Processing buffer {"connection_id":132632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652bf358012d79c44005e64f800003016028..."} 
[2026-07-15 15:19:10] local.INFO: Packet analysis {"connection_id":132632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f652b"} 
[2026-07-15 15:19:10] local.INFO: Extracted packet for processing {"connection_id":132632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f652b"} 
[2026-07-15 15:19:10] local.INFO: GPS Element Parsed {"raw_longitude":762954816,"raw_latitude":98979712,"longitude_deg":76.2954816,"latitude_deg":9.8979712,"altitude":3,"angle":352,"satellites":40,"speed":31,"hex_longitude":"2d79c440","hex_latitude":"05e64f80","is_valid_coordinates":true} 
[2026-07-15 15:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731851520001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106560835853221888,"note":"Value kept but may cause issues"} 
[2026-07-15 15:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8776460167918999552,"note":"Value kept but may cause issues"} 
[2026-07-15 15:19:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784108807000,"timestamp_ms":1784108807000,"timestamp_seconds":1784108807,"priority":1,"record_length":96,"hex_timestamp":"0000019f652bf358"} 
[2026-07-15 15:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:19:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-15 15:19:10] 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-07-15 15:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":132632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":132632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":132632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731851520001,"66":13363,"182":206,"87":13824,"24":31,"16":106560835853221888,"45":8776460167918999552},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-15 15:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731851520001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:19:10] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 15:19:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 15:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106560835853221888,"km_value":106560835853221.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8776460167918999552,"description":"Unknown IO ID 45"} 
[2026-07-15 15:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731851520001,"power":13363,"unknown_182":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8776460167918999552}} 
[2026-07-15 15:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":132632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491401,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:19:10] local.INFO: GPS data processed {"connection_id":132632,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:19:10] local.INFO: Acknowledgment sent {"connection_id":132632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:19:32] local.INFO: TCP Data received {"connection_id":134839,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f652c0ac8012d181fc00721b0500048015f26..."} 
[2026-07-15 15:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652c0ac8012d181fc00721b0500048015f26..."} 
[2026-07-15 15:19:32] local.INFO: Processing buffer {"connection_id":134839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652c0ac8012d181fc00721b0500048015f26..."} 
[2026-07-15 15:19:32] local.INFO: Packet analysis {"connection_id":134839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f652c"} 
[2026-07-15 15:19:32] local.INFO: Extracted packet for processing {"connection_id":134839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f652c"} 
[2026-07-15 15:19:32] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":38,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731850752001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784108813000,"timestamp_ms":1784108813000,"timestamp_seconds":1784108813,"priority":1,"record_length":96,"hex_timestamp":"0000019f652c0ac8"} 
[2026-07-15 15:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:19:32] 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-07-15 15:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 15:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":134839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":134839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":134839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:19:32] 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-07-15 15:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731850752001,"66":12504,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731850752001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:19:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:19:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731850752001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":134839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:19:32] local.INFO: GPS data processed {"connection_id":134839,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:19:32] local.INFO: Acknowledgment sent {"connection_id":134839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:19:39] local.INFO: TCP Data received {"connection_id":134840,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f65295378012d81060005a0fa900008015d2c..."} 
[2026-07-15 15:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65295378012d81060005a0fa900008015d2c..."} 
[2026-07-15 15:19:39] local.INFO: Processing buffer {"connection_id":134840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65295378012d81060005a0fa900008015d2c..."} 
[2026-07-15 15:19:39] local.INFO: Packet analysis {"connection_id":134840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6529"} 
[2026-07-15 15:19:39] local.INFO: Extracted packet for processing {"connection_id":134840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6529"} 
[2026-07-15 15:19:39] local.INFO: GPS Element Parsed {"raw_longitude":763430400,"raw_latitude":94435984,"longitude_deg":76.34304,"latitude_deg":9.4435984,"altitude":8,"angle":349,"satellites":44,"speed":35,"hex_longitude":"2d810600","hex_latitude":"05a0fa90","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731807744001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347183449443926016,"note":"Value kept but may cause issues"} 
[2026-07-15 15:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9147584875202215936,"note":"Value kept but may cause issues"} 
[2026-07-15 15:19:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784108635000,"timestamp_ms":1784108635000,"timestamp_seconds":1784108635,"priority":1,"record_length":96,"hex_timestamp":"0000019f65295378"} 
[2026-07-15 15:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:19:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-15 15:19:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15: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-07-15 15:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:19:39] 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-07-15 15:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731807744001,"66":27832,"82":206,"85":14336,"24":35,"16":347183449443926016,"45":-9147584875202215936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731807744001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:19:39] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:19:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347183449443926016,"km_value":347183449443926.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9147584875202215936,"description":"Unknown IO ID 45"} 
[2026-07-15 15:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731807744001,"power":27832,"unknown_82":206,"unknown_85":14336,"ignition":35,"odometer":null,"unknown_45":-9147584875202215936}} 
[2026-07-15 15:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":134840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:19:39] local.INFO: GPS data processed {"connection_id":134840,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:19:39] local.INFO: Acknowledgment sent {"connection_id":134840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:19:41] local.INFO: TCP Data received {"connection_id":132632,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f652c2620012d79bf0005e672380001016228..."} 
[2026-07-15 15:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652c2620012d79bf0005e672380001016228..."} 
[2026-07-15 15:19:41] local.INFO: Processing buffer {"connection_id":132632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652c2620012d79bf0005e672380001016228..."} 
[2026-07-15 15:19:41] local.INFO: Packet analysis {"connection_id":132632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f652c"} 
[2026-07-15 15:19:41] local.INFO: Extracted packet for processing {"connection_id":132632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f652c"} 
[2026-07-15 15:19:41] local.INFO: GPS Element Parsed {"raw_longitude":762953472,"raw_latitude":98988600,"longitude_deg":76.2953472,"latitude_deg":9.89886,"altitude":1,"angle":354,"satellites":40,"speed":24,"hex_longitude":"2d79bf00","hex_latitude":"05e67238","is_valid_coordinates":true} 
[2026-07-15 15:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731854592001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106561269644918784,"note":"Value kept but may cause issues"} 
[2026-07-15 15:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8774208368107552768,"note":"Value kept but may cause issues"} 
[2026-07-15 15:19:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784108820000,"timestamp_ms":1784108820000,"timestamp_seconds":1784108820,"priority":1,"record_length":96,"hex_timestamp":"0000019f652c2620"} 
[2026-07-15 15:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-15 15:19:41] 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-07-15 15:19:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731854592001,"66":13319,"182":206,"87":13824,"24":24,"16":106561269644918784,"45":8774208368107552768},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-15 15:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731854592001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:19:41] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 15:19:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 15:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106561269644918784,"km_value":106561269644918.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8774208368107552768,"description":"Unknown IO ID 45"} 
[2026-07-15 15:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731854592001,"power":13319,"unknown_182":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8774208368107552768}} 
[2026-07-15 15:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":132632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491404,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:19:41] local.INFO: GPS data processed {"connection_id":132632,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:19:41] local.INFO: Acknowledgment sent {"connection_id":132632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:19:50] local.INFO: TCP Data received {"connection_id":132438,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:19:50] local.INFO: Processing buffer {"connection_id":132438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:19:50] local.INFO: IMEI packet received {"connection_id":132438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 15:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":132438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:19:56] local.INFO: TCP Data received {"connection_id":132438,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:19:56] local.INFO: Processing buffer {"connection_id":132438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:19:56] local.INFO: IMEI packet received {"connection_id":132438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":132438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:19:56] local.INFO: TCP Data received {"connection_id":132438,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f652c5cd0012d181fc00721b0500048015f26..."} 
[2026-07-15 15:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652c5cd0012d181fc00721b0500048015f26..."} 
[2026-07-15 15:19:56] local.INFO: Processing buffer {"connection_id":132438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652c5cd0012d181fc00721b0500048015f26..."} 
[2026-07-15 15:19:56] local.INFO: Packet analysis {"connection_id":132438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f652c"} 
[2026-07-15 15:19:56] local.INFO: Extracted packet for processing {"connection_id":132438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f652c"} 
[2026-07-15 15:19:56] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":38,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731856128001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:19:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784108834000,"timestamp_ms":1784108834000,"timestamp_seconds":1784108834,"priority":1,"record_length":96,"hex_timestamp":"0000019f652c5cd0"} 
[2026-07-15 15:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:19:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 15:19:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15: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-07-15 15:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:19:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731856128001,"66":12461,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731856128001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:19:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:19:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731856128001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":132438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:19:56] local.INFO: GPS data processed {"connection_id":132438,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:19:56] local.INFO: Acknowledgment sent {"connection_id":132438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:19:59] local.INFO: TCP Data received {"connection_id":134842,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134842,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:19:59] local.INFO: Processing buffer {"connection_id":134842,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:19:59] local.INFO: IMEI packet received {"connection_id":134842,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 15:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":134842,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:20:02] local.INFO: TCP Data received {"connection_id":134842,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134842,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:20:02] local.INFO: Processing buffer {"connection_id":134842,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:20:02] local.INFO: IMEI packet received {"connection_id":134842,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":134842,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:20:04] local.INFO: TCP Data received {"connection_id":134842,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134842,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:20:04] local.INFO: Processing buffer {"connection_id":134842,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:20:04] local.INFO: IMEI packet received {"connection_id":134842,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":134842,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:20:05] local.INFO: TCP Data received {"connection_id":134842,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f652e8b68012d79b74005e7a7b0000e015b2b..."} 
[2026-07-15 15:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652e8b68012d79b74005e7a7b0000e015b2b..."} 
[2026-07-15 15:20:05] local.INFO: Processing buffer {"connection_id":134842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652e8b68012d79b74005e7a7b0000e015b2b..."} 
[2026-07-15 15:20:05] local.INFO: Packet analysis {"connection_id":134842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f652e"} 
[2026-07-15 15:20:05] local.INFO: Extracted packet for processing {"connection_id":134842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f652e"} 
[2026-07-15 15:20:05] local.INFO: GPS Element Parsed {"raw_longitude":762951488,"raw_latitude":99067824,"longitude_deg":76.2951488,"latitude_deg":9.9067824,"altitude":14,"angle":347,"satellites":43,"speed":15,"hex_longitude":"2d79b740","hex_latitude":"05e7a7b0","is_valid_coordinates":true} 
[2026-07-15 15:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731896320001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106565130820517888,"note":"Value kept but may cause issues"} 
[2026-07-15 15:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770478824687988736,"note":"Value kept but may cause issues"} 
[2026-07-15 15:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784108977000,"timestamp_ms":1784108977000,"timestamp_seconds":1784108977,"priority":1,"record_length":96,"hex_timestamp":"0000019f652e8b68"} 
[2026-07-15 15:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-15 15:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":134842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":134842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":134842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731896320001,"66":13352,"202":206,"87":13824,"24":15,"16":106565130820517888,"45":8770478824687988736},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-15 15:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731896320001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:20:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 15:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106565130820517888,"km_value":106565130820517.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770478824687988736,"description":"Unknown IO ID 45"} 
[2026-07-15 15:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731896320001,"power":13352,"mcc":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8770478824687988736}} 
[2026-07-15 15:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":134842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491406,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:20:05] local.INFO: GPS data processed {"connection_id":134842,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:20:05] local.INFO: Acknowledgment sent {"connection_id":134842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:20:06] local.INFO: TCP Data received {"connection_id":132633,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:20:06] local.INFO: Processing buffer {"connection_id":132633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:20:06] local.INFO: IMEI packet received {"connection_id":132633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":132633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:20:10] local.INFO: TCP Data received {"connection_id":134842,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f652e9720012d79b6c005e7ab70000d00002c..."} 
[2026-07-15 15:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652e9720012d79b6c005e7ab70000d00002c..."} 
[2026-07-15 15:20:10] local.INFO: Processing buffer {"connection_id":134842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652e9720012d79b6c005e7ab70000d00002c..."} 
[2026-07-15 15:20:10] local.INFO: Packet analysis {"connection_id":134842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f652e"} 
[2026-07-15 15:20:10] local.INFO: Extracted packet for processing {"connection_id":134842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f652e"} 
[2026-07-15 15:20:10] local.INFO: GPS Element Parsed {"raw_longitude":762951360,"raw_latitude":99068784,"longitude_deg":76.295136,"latitude_deg":9.9068784,"altitude":13,"angle":0,"satellites":44,"speed":9,"hex_longitude":"2d79b6c0","hex_latitude":"05e7ab70","is_valid_coordinates":true} 
[2026-07-15 15:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731898112001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106565178065158144,"note":"Value kept but may cause issues"} 
[2026-07-15 15:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770549193432870912,"note":"Value kept but may cause issues"} 
[2026-07-15 15:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784108980000,"timestamp_ms":1784108980000,"timestamp_seconds":1784108980,"priority":1,"record_length":96,"hex_timestamp":"0000019f652e9720"} 
[2026-07-15 15:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-15 15:20:10] 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-07-15 15:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":134842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":134842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":134842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731898112001,"66":12645,"202":206,"87":13824,"24":9,"16":106565178065158144,"45":8770549193432870912},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-15 15:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731898112001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:20:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 15:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106565178065158144,"km_value":106565178065158.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770549193432870912,"description":"Unknown IO ID 45"} 
[2026-07-15 15:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731898112001,"power":12645,"mcc":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8770549193432870912}} 
[2026-07-15 15:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":134842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491407,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:20:10] local.INFO: GPS data processed {"connection_id":134842,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:20:10] local.INFO: Acknowledgment sent {"connection_id":134842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:20:11] local.INFO: TCP Data received {"connection_id":132633,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:20:11] local.INFO: Processing buffer {"connection_id":132633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:20:11] local.INFO: IMEI packet received {"connection_id":132633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":132633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:20:11] local.INFO: TCP Data received {"connection_id":132633,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f65295b48012d81048005a101800009015d2b..."} 
[2026-07-15 15:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65295b48012d81048005a101800009015d2b..."} 
[2026-07-15 15:20:12] local.INFO: Processing buffer {"connection_id":132633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65295b48012d81048005a101800009015d2b..."} 
[2026-07-15 15:20:12] local.INFO: Packet analysis {"connection_id":132633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6529"} 
[2026-07-15 15:20:12] local.INFO: Extracted packet for processing {"connection_id":132633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6529"} 
[2026-07-15 15:20:12] local.INFO: GPS Element Parsed {"raw_longitude":763430016,"raw_latitude":94437760,"longitude_deg":76.3430016,"latitude_deg":9.443776,"altitude":9,"angle":349,"satellites":43,"speed":35,"hex_longitude":"2d810480","hex_latitude":"05a10180","is_valid_coordinates":true} 
[2026-07-15 15:20: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-07-15 15:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731810560001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347183535343271936,"note":"Value kept but may cause issues"} 
[2026-07-15 15:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9149625568780972032,"note":"Value kept but may cause issues"} 
[2026-07-15 15:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784108637000,"timestamp_ms":1784108637000,"timestamp_seconds":1784108637,"priority":1,"record_length":96,"hex_timestamp":"0000019f65295b48"} 
[2026-07-15 15:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-15 15:20:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:20:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:20:12] 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-07-15 15:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731810560001,"66":27908,"82":206,"85":14336,"24":35,"16":347183535343271936,"45":-9149625568780972032},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731810560001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:20:12] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:20:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347183535343271936,"km_value":347183535343271.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9149625568780972032,"description":"Unknown IO ID 45"} 
[2026-07-15 15:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731810560001,"power":27908,"unknown_82":206,"unknown_85":14336,"ignition":35,"odometer":null,"unknown_45":-9149625568780972032}} 
[2026-07-15 15:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":132633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:20:12] local.INFO: GPS data processed {"connection_id":132633,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:20:12] local.INFO: Acknowledgment sent {"connection_id":132633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:20:28] local.INFO: TCP Data received {"connection_id":132438,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f652caed8012d181fc00721b0500048015f26..."} 
[2026-07-15 15:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652caed8012d181fc00721b0500048015f26..."} 
[2026-07-15 15:20:28] local.INFO: Processing buffer {"connection_id":132438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652caed8012d181fc00721b0500048015f26..."} 
[2026-07-15 15:20:28] local.INFO: Packet analysis {"connection_id":132438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f652c"} 
[2026-07-15 15:20:28] local.INFO: Extracted packet for processing {"connection_id":132438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f652c"} 
[2026-07-15 15:20:28] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":38,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731861504001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:20: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-07-15 15:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784108855000,"timestamp_ms":1784108855000,"timestamp_seconds":1784108855,"priority":1,"record_length":96,"hex_timestamp":"0000019f652caed8"} 
[2026-07-15 15:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:20: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-07-15 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 15:20: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-07-15 15: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-07-15 15:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:20:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731861504001,"66":12526,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731861504001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:20:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:20:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731861504001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":132438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:20:28] local.INFO: GPS data processed {"connection_id":132438,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:20:28] local.INFO: Acknowledgment sent {"connection_id":132438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:20:41] local.INFO: TCP Data received {"connection_id":134842,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f652ee540012d79b68005e7b580000900032c..."} 
[2026-07-15 15:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652ee540012d79b68005e7b580000900032c..."} 
[2026-07-15 15:20:41] local.INFO: Processing buffer {"connection_id":134842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652ee540012d79b68005e7b580000900032c..."} 
[2026-07-15 15:20:41] local.INFO: Packet analysis {"connection_id":134842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f652e"} 
[2026-07-15 15:20:41] local.INFO: Extracted packet for processing {"connection_id":134842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f652e"} 
[2026-07-15 15:20:41] local.INFO: GPS Element Parsed {"raw_longitude":762951296,"raw_latitude":99071360,"longitude_deg":76.2951296,"latitude_deg":9.907136,"altitude":9,"angle":3,"satellites":44,"speed":3,"hex_longitude":"2d79b680","hex_latitude":"05e7b580","is_valid_coordinates":true} 
[2026-07-15 15:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731898880001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106565306914177024,"note":"Value kept but may cause issues"} 
[2026-07-15 15:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770408455944761344,"note":"Value kept but may cause issues"} 
[2026-07-15 15:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784109000000,"timestamp_ms":1784109000000,"timestamp_seconds":1784109000,"priority":1,"record_length":96,"hex_timestamp":"0000019f652ee540"} 
[2026-07-15 15:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-15 15:20:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:20: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-07-15 15:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":134842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":134842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":134842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731898880001,"66":12950,"202":206,"87":13824,"24":3,"16":106565306914177024,"45":8770408455944761344},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-15 15:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731898880001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:20:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 15:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106565306914177024,"km_value":106565306914177.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770408455944761344,"description":"Unknown IO ID 45"} 
[2026-07-15 15:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731898880001,"power":12950,"mcc":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8770408455944761344}} 
[2026-07-15 15:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":134842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491410,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:20:41] local.INFO: GPS data processed {"connection_id":134842,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:20:41] local.INFO: Acknowledgment sent {"connection_id":134842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:20:42] local.INFO: TCP Data received {"connection_id":132633,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f652df6f8012d80f54005a12a580009015b31..."} 
[2026-07-15 15:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652df6f8012d80f54005a12a580009015b31..."} 
[2026-07-15 15:20:42] local.INFO: Processing buffer {"connection_id":132633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652df6f8012d80f54005a12a580009015b31..."} 
[2026-07-15 15:20:42] local.INFO: Packet analysis {"connection_id":132633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f652d"} 
[2026-07-15 15:20:42] local.INFO: Extracted packet for processing {"connection_id":132633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f652d"} 
[2026-07-15 15:20:42] local.INFO: GPS Element Parsed {"raw_longitude":763426112,"raw_latitude":94448216,"longitude_deg":76.3426112,"latitude_deg":9.4448216,"altitude":9,"angle":347,"satellites":49,"speed":0,"hex_longitude":"2d80f540","hex_latitude":"05a12a58","is_valid_coordinates":true} 
[2026-07-15 15:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731811072001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347183535343271936,"note":"Value kept but may cause issues"} 
[2026-07-15 15:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9150047781245583360,"note":"Value kept but may cause issues"} 
[2026-07-15 15:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784108939000,"timestamp_ms":1784108939000,"timestamp_seconds":1784108939,"priority":1,"record_length":96,"hex_timestamp":"0000019f652df6f8"} 
[2026-07-15 15:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 15:20:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731811072001,"66":26267,"82":206,"85":14336,"24":0,"16":347183535343271936,"45":-9150047781245583360},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731811072001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:20:42] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:20:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347183535343271936,"km_value":347183535343271.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9150047781245583360,"description":"Unknown IO ID 45"} 
[2026-07-15 15:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731811072001,"power":26267,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9150047781245583360}} 
[2026-07-15 15:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":132633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:20:42] local.INFO: GPS data processed {"connection_id":132633,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:20:42] local.INFO: Acknowledgment sent {"connection_id":132633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:20:50] local.INFO: TCP Data received {"connection_id":133473,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133473,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:20:50] local.INFO: Processing buffer {"connection_id":133473,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:20:50] local.INFO: IMEI packet received {"connection_id":133473,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 15:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":133473,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:20:56] local.INFO: TCP Data received {"connection_id":133473,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133473,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:20:56] local.INFO: Processing buffer {"connection_id":133473,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:20:56] local.INFO: IMEI packet received {"connection_id":133473,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":133473,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:20:56] local.INFO: TCP Data received {"connection_id":133473,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f652d00e0012d181fc00721b0500048015f26..."} 
[2026-07-15 15:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652d00e0012d181fc00721b0500048015f26..."} 
[2026-07-15 15:20:56] local.INFO: Processing buffer {"connection_id":133473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652d00e0012d181fc00721b0500048015f26..."} 
[2026-07-15 15:20:56] local.INFO: Packet analysis {"connection_id":133473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f652d"} 
[2026-07-15 15:20:56] local.INFO: Extracted packet for processing {"connection_id":133473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f652d"} 
[2026-07-15 15:20:56] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":38,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731866880001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:20:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784108876000,"timestamp_ms":1784108876000,"timestamp_seconds":1784108876,"priority":1,"record_length":96,"hex_timestamp":"0000019f652d00e0"} 
[2026-07-15 15:20:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:20:56] 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-07-15 15:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 15:20:56] 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-07-15 15:20:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:20:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731866880001,"66":12504,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731866880001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:20:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:20:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731866880001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":133473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:20:56] local.INFO: GPS data processed {"connection_id":133473,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:20:56] local.INFO: Acknowledgment sent {"connection_id":133473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:20:59] local.INFO: TCP Data received {"connection_id":132440,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132440,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:20:59] local.INFO: Processing buffer {"connection_id":132440,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:20:59] local.INFO: IMEI packet received {"connection_id":132440,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 15:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":132440,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:21:00] local.INFO: TCP Data received {"connection_id":132441,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:21:00] local.INFO: Processing buffer {"connection_id":132441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:21:00] local.INFO: IMEI packet received {"connection_id":132441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":132441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:21:04] local.INFO: TCP Data received {"connection_id":132440,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132440,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:21:04] local.INFO: Processing buffer {"connection_id":132440,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:21:04] local.INFO: IMEI packet received {"connection_id":132440,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":132440,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:21:05] local.INFO: TCP Data received {"connection_id":132440,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f652f3748012d79b68005e7b638000800032b..."} 
[2026-07-15 15:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652f3748012d79b68005e7b638000800032b..."} 
[2026-07-15 15:21:05] local.INFO: Processing buffer {"connection_id":132440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652f3748012d79b68005e7b638000800032b..."} 
[2026-07-15 15:21:05] local.INFO: Packet analysis {"connection_id":132440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f652f"} 
[2026-07-15 15:21:05] local.INFO: Extracted packet for processing {"connection_id":132440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f652f"} 
[2026-07-15 15:21:05] local.INFO: GPS Element Parsed {"raw_longitude":762951296,"raw_latitude":99071544,"longitude_deg":76.2951296,"latitude_deg":9.9071544,"altitude":8,"angle":3,"satellites":43,"speed":0,"hex_longitude":"2d79b680","hex_latitude":"05e7b638","is_valid_coordinates":true} 
[2026-07-15 15:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731904000001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106565315504111616,"note":"Value kept but may cause issues"} 
[2026-07-15 15:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770338087201243136,"note":"Value kept but may cause issues"} 
[2026-07-15 15:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784109021000,"timestamp_ms":1784109021000,"timestamp_seconds":1784109021,"priority":1,"record_length":96,"hex_timestamp":"0000019f652f3748"} 
[2026-07-15 15:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 15:21: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-07-15 15:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731904000001,"66":13059,"202":206,"87":13824,"24":0,"16":106565315504111616,"45":8770338087201243136},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-15 15:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731904000001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:21:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 15:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106565315504111616,"km_value":106565315504111.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770338087201243136,"description":"Unknown IO ID 45"} 
[2026-07-15 15:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731904000001,"power":13059,"mcc":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8770338087201243136}} 
[2026-07-15 15:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":132440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491413,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:21:05] local.INFO: GPS data processed {"connection_id":132440,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:21:05] local.INFO: Acknowledgment sent {"connection_id":132440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:21:06] local.INFO: TCP Data received {"connection_id":132441,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:21:06] local.INFO: Processing buffer {"connection_id":132441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:21:06] local.INFO: IMEI packet received {"connection_id":132441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":132441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:21:06] local.INFO: TCP Data received {"connection_id":132441,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f652df6f8012d80f54005a12a580009015b31..."} 
[2026-07-15 15:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652df6f8012d80f54005a12a580009015b31..."} 
[2026-07-15 15:21:06] local.INFO: Processing buffer {"connection_id":132441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652df6f8012d80f54005a12a580009015b31..."} 
[2026-07-15 15:21:06] local.INFO: Packet analysis {"connection_id":132441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f652d"} 
[2026-07-15 15:21:06] local.INFO: Extracted packet for processing {"connection_id":132441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f652d"} 
[2026-07-15 15:21:06] local.INFO: GPS Element Parsed {"raw_longitude":763426112,"raw_latitude":94448216,"longitude_deg":76.3426112,"latitude_deg":9.4448216,"altitude":9,"angle":347,"satellites":49,"speed":0,"hex_longitude":"2d80f540","hex_latitude":"05a12a58","is_valid_coordinates":true} 
[2026-07-15 15:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731811072001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347183535343271936,"note":"Value kept but may cause issues"} 
[2026-07-15 15:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9150047781245583360,"note":"Value kept but may cause issues"} 
[2026-07-15 15:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784108939000,"timestamp_ms":1784108939000,"timestamp_seconds":1784108939,"priority":1,"record_length":96,"hex_timestamp":"0000019f652df6f8"} 
[2026-07-15 15:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 15:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:21:06] 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-07-15 15:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731811072001,"66":26267,"82":206,"85":14336,"24":0,"16":347183535343271936,"45":-9150047781245583360},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731811072001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:21:06] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:21:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347183535343271936,"km_value":347183535343271.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9150047781245583360,"description":"Unknown IO ID 45"} 
[2026-07-15 15:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731811072001,"power":26267,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9150047781245583360}} 
[2026-07-15 15:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":132441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:21:07] local.INFO: GPS data processed {"connection_id":132441,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:21:07] local.INFO: Acknowledgment sent {"connection_id":132441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:21:27] local.INFO: TCP Data received {"connection_id":133473,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f652d52e8012d181fc00721b0500048015f26..."} 
[2026-07-15 15:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652d52e8012d181fc00721b0500048015f26..."} 
[2026-07-15 15:21:27] local.INFO: Processing buffer {"connection_id":133473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652d52e8012d181fc00721b0500048015f26..."} 
[2026-07-15 15:21:27] local.INFO: Packet analysis {"connection_id":133473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f652d"} 
[2026-07-15 15:21:27] local.INFO: Extracted packet for processing {"connection_id":133473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f652d"} 
[2026-07-15 15:21:27] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":38,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731872256001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:21:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:21: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-07-15 15:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784108897000,"timestamp_ms":1784108897000,"timestamp_seconds":1784108897,"priority":1,"record_length":96,"hex_timestamp":"0000019f652d52e8"} 
[2026-07-15 15:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:21:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 15:21:27] 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-07-15 15: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-07-15 15:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":133473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":133473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":133473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:21:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731872256001,"66":12504,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731872256001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:21:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:21:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:21:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731872256001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":133473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:21:27] local.INFO: GPS data processed {"connection_id":133473,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:21:27] local.INFO: Acknowledgment sent {"connection_id":133473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:21:36] local.INFO: TCP Data received {"connection_id":132440,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f652f3b30012d79b68005e7b638000800032b..."} 
[2026-07-15 15:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652f3b30012d79b68005e7b638000800032b..."} 
[2026-07-15 15:21:36] local.INFO: Processing buffer {"connection_id":132440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652f3b30012d79b68005e7b638000800032b..."} 
[2026-07-15 15:21:36] local.INFO: Packet analysis {"connection_id":132440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f652f"} 
[2026-07-15 15:21:36] local.INFO: Extracted packet for processing {"connection_id":132440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f652f"} 
[2026-07-15 15:21:36] local.INFO: GPS Element Parsed {"raw_longitude":762951296,"raw_latitude":99071544,"longitude_deg":76.2951296,"latitude_deg":9.9071544,"altitude":8,"angle":3,"satellites":43,"speed":0,"hex_longitude":"2d79b680","hex_latitude":"05e7b638","is_valid_coordinates":true} 
[2026-07-15 15:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731909376001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106565315504111616,"note":"Value kept but may cause issues"} 
[2026-07-15 15:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770338087201290240,"note":"Value kept but may cause issues"} 
[2026-07-15 15:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784109022000,"timestamp_ms":1784109022000,"timestamp_seconds":1784109022,"priority":1,"record_length":96,"hex_timestamp":"0000019f652f3b30"} 
[2026-07-15 15:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-15 15:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162274663730,"note":"Value kept but may cause issues"} 
[2026-07-15 15:21:36] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":13522742,"corrected_to":0} 
[2026-07-15 15:21:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 15:21:36] local.WARNING: Large IO value detected {"io_id":181,"raw_value":58079734643818511,"note":"Value kept but may cause issues"} 
[2026-07-15 15:21:36] local.WARNING: Large IO value detected {"io_id":231,"raw_value":2632974350,"note":"Value kept but may cause issues"} 
[2026-07-15 15:21:36] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2549415936,"note":"Value kept but may cause issues"} 
[2026-07-15 15:21:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3881867264,"note":"Value kept but may cause issues"} 
[2026-07-15 15:21:36] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,202,87,24,241,157,16,152,159,229,45,128,181,9,44,10,66,151,192,171,13,139,64,1,240,40,227,101,231,4,113,205,30,120,43,239,51,2,122,5,8,15],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":202,"original":13522742,"validated":0}]} 
[2026-07-15 15:21:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576464235521900544,"timestamp_seconds":576464235521900.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 15:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731909376001,"66":12874,"202":206,"87":13824,"24":0,"16":106565315504111616,"45":8770338087201290240},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-15 15:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731909376001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:21:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 15:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106565315504111616,"km_value":106565315504111.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770338087201290240,"description":"Unknown IO ID 45"} 
[2026-07-15 15:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731909376001,"power":12874,"mcc":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8770338087201290240}} 
[2026-07-15 15:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":132440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491416,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:21:36] local.INFO: GPS data processed {"connection_id":132440,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:21:36] local.INFO: Acknowledgment sent {"connection_id":132440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:21:38] local.INFO: TCP Data received {"connection_id":132441,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f652df6f8012d80f54005a12a580009015b31..."} 
[2026-07-15 15:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652df6f8012d80f54005a12a580009015b31..."} 
[2026-07-15 15:21:38] local.INFO: Processing buffer {"connection_id":132441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652df6f8012d80f54005a12a580009015b31..."} 
[2026-07-15 15:21:38] local.INFO: Packet analysis {"connection_id":132441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f652d"} 
[2026-07-15 15:21:38] local.INFO: Extracted packet for processing {"connection_id":132441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f652d"} 
[2026-07-15 15:21:38] local.INFO: GPS Element Parsed {"raw_longitude":763426112,"raw_latitude":94448216,"longitude_deg":76.3426112,"latitude_deg":9.4448216,"altitude":9,"angle":347,"satellites":49,"speed":0,"hex_longitude":"2d80f540","hex_latitude":"05a12a58","is_valid_coordinates":true} 
[2026-07-15 15:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731811072001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347183535343271936,"note":"Value kept but may cause issues"} 
[2026-07-15 15:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9150047781245583360,"note":"Value kept but may cause issues"} 
[2026-07-15 15:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784108939000,"timestamp_ms":1784108939000,"timestamp_seconds":1784108939,"priority":1,"record_length":96,"hex_timestamp":"0000019f652df6f8"} 
[2026-07-15 15:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 15:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731811072001,"66":26267,"82":206,"85":14336,"24":0,"16":347183535343271936,"45":-9150047781245583360},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731811072001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:21:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:21:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347183535343271936,"km_value":347183535343271.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9150047781245583360,"description":"Unknown IO ID 45"} 
[2026-07-15 15:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731811072001,"power":26267,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9150047781245583360}} 
[2026-07-15 15:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":132441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:21:38] local.INFO: GPS data processed {"connection_id":132441,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:21:38] local.INFO: Acknowledgment sent {"connection_id":132441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:21:56] local.INFO: TCP Data received {"connection_id":132634,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:21:56] local.INFO: Processing buffer {"connection_id":132634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:21:56] local.INFO: IMEI packet received {"connection_id":132634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 15:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":132634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:21:59] local.INFO: TCP Data received {"connection_id":134843,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134843,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:21:59] local.INFO: Processing buffer {"connection_id":134843,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:21:59] local.INFO: IMEI packet received {"connection_id":134843,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 15:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":134843,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:22:00] local.INFO: TCP Data received {"connection_id":132634,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:22:00] local.INFO: Processing buffer {"connection_id":132634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:22:00] local.INFO: IMEI packet received {"connection_id":132634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":132634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:22:00] local.INFO: TCP Data received {"connection_id":134844,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:22:00] local.INFO: Processing buffer {"connection_id":134844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:22:00] local.INFO: IMEI packet received {"connection_id":134844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":134844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:22:01] local.INFO: TCP Data received {"connection_id":132634,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f652da4f0012d181fc00721b0500048015f26..."} 
[2026-07-15 15:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652da4f0012d181fc00721b0500048015f26..."} 
[2026-07-15 15:22:01] local.INFO: Processing buffer {"connection_id":132634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652da4f0012d181fc00721b0500048015f26..."} 
[2026-07-15 15:22:01] local.INFO: Packet analysis {"connection_id":132634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f652d"} 
[2026-07-15 15:22:01] local.INFO: Extracted packet for processing {"connection_id":132634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f652d"} 
[2026-07-15 15:22:01] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":38,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731877632001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:22:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:22: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-07-15 15:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784108918000,"timestamp_ms":1784108918000,"timestamp_seconds":1784108918,"priority":1,"record_length":96,"hex_timestamp":"0000019f652da4f0"} 
[2026-07-15 15:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:22:01] 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-07-15 15:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 15:22:01] 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-07-15 15:22: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-07-15 15:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":132634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":132634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":132634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:22:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731877632001,"66":12504,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731877632001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:22:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:22:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:22:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731877632001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":132634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:22:01] local.INFO: GPS data processed {"connection_id":132634,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:22:01] local.INFO: Acknowledgment sent {"connection_id":132634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:22:04] local.INFO: TCP Data received {"connection_id":134843,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134843,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:22:04] local.INFO: Processing buffer {"connection_id":134843,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:22:04] local.INFO: IMEI packet received {"connection_id":134843,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":134843,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:22:05] local.INFO: TCP Data received {"connection_id":134843,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f652f3b30012d79b68005e7b638000800032b..."} 
[2026-07-15 15:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652f3b30012d79b68005e7b638000800032b..."} 
[2026-07-15 15:22:05] local.INFO: Processing buffer {"connection_id":134843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652f3b30012d79b68005e7b638000800032b..."} 
[2026-07-15 15:22:05] local.INFO: Packet analysis {"connection_id":134843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f652f"} 
[2026-07-15 15:22:05] local.INFO: Extracted packet for processing {"connection_id":134843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f652f"} 
[2026-07-15 15:22:05] local.INFO: GPS Element Parsed {"raw_longitude":762951296,"raw_latitude":99071544,"longitude_deg":76.2951296,"latitude_deg":9.9071544,"altitude":8,"angle":3,"satellites":43,"speed":0,"hex_longitude":"2d79b680","hex_latitude":"05e7b638","is_valid_coordinates":true} 
[2026-07-15 15:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731909632001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106565315504111616,"note":"Value kept but may cause issues"} 
[2026-07-15 15:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770338087201290240,"note":"Value kept but may cause issues"} 
[2026-07-15 15:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784109022000,"timestamp_ms":1784109022000,"timestamp_seconds":1784109022,"priority":1,"record_length":96,"hex_timestamp":"0000019f652f3b30"} 
[2026-07-15 15:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-07-15 15:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":134843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":134843,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":134843,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731909632001,"66":12874,"202":206,"87":13824,"24":0,"16":106565315504111616,"45":8770338087201290240},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-15 15:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731909632001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:22:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 15:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106565315504111616,"km_value":106565315504111.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770338087201290240,"description":"Unknown IO ID 45"} 
[2026-07-15 15:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731909632001,"power":12874,"mcc":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8770338087201290240}} 
[2026-07-15 15:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":134843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491419,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:22:05] local.INFO: GPS data processed {"connection_id":134843,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:22:05] local.INFO: Acknowledgment sent {"connection_id":134843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:22:05] local.INFO: TCP Data received {"connection_id":132634,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f652df6f8012d181fc00721b0500048015f25..."} 
[2026-07-15 15:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652df6f8012d181fc00721b0500048015f25..."} 
[2026-07-15 15:22:05] local.INFO: Processing buffer {"connection_id":132634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652df6f8012d181fc00721b0500048015f25..."} 
[2026-07-15 15:22:05] local.INFO: Packet analysis {"connection_id":132634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f652d"} 
[2026-07-15 15:22:05] local.INFO: Extracted packet for processing {"connection_id":132634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f652d"} 
[2026-07-15 15:22:05] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":37,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731883008001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:22: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-07-15 15:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784108939000,"timestamp_ms":1784108939000,"timestamp_seconds":1784108939,"priority":1,"record_length":96,"hex_timestamp":"0000019f652df6f8"} 
[2026-07-15 15:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:22:05] 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-07-15 15:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 15:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731883008001,"66":12504,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731883008001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:22:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:22:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731883008001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":132634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:22:05] local.INFO: GPS data processed {"connection_id":132634,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:22:05] local.INFO: Acknowledgment sent {"connection_id":132634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:22:06] local.INFO: TCP Data received {"connection_id":134844,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:22:06] local.INFO: Processing buffer {"connection_id":134844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:22:06] local.INFO: IMEI packet received {"connection_id":134844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":134844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:22:07] local.INFO: TCP Data received {"connection_id":134844,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f652df6f8012d80f54005a12a580009015b31..."} 
[2026-07-15 15:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652df6f8012d80f54005a12a580009015b31..."} 
[2026-07-15 15:22:07] local.INFO: Processing buffer {"connection_id":134844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652df6f8012d80f54005a12a580009015b31..."} 
[2026-07-15 15:22:07] local.INFO: Packet analysis {"connection_id":134844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f652d"} 
[2026-07-15 15:22:07] local.INFO: Extracted packet for processing {"connection_id":134844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f652d"} 
[2026-07-15 15:22:07] local.INFO: GPS Element Parsed {"raw_longitude":763426112,"raw_latitude":94448216,"longitude_deg":76.3426112,"latitude_deg":9.4448216,"altitude":9,"angle":347,"satellites":49,"speed":0,"hex_longitude":"2d80f540","hex_latitude":"05a12a58","is_valid_coordinates":true} 
[2026-07-15 15:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731811072001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347183535343271936,"note":"Value kept but may cause issues"} 
[2026-07-15 15:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9150047781245583360,"note":"Value kept but may cause issues"} 
[2026-07-15 15:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784108939000,"timestamp_ms":1784108939000,"timestamp_seconds":1784108939,"priority":1,"record_length":96,"hex_timestamp":"0000019f652df6f8"} 
[2026-07-15 15:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 15:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731811072001,"66":26267,"82":206,"85":14336,"24":0,"16":347183535343271936,"45":-9150047781245583360},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731811072001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:22:07] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:22:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347183535343271936,"km_value":347183535343271.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9150047781245583360,"description":"Unknown IO ID 45"} 
[2026-07-15 15:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731811072001,"power":26267,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9150047781245583360}} 
[2026-07-15 15:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":134844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:22:07] local.INFO: GPS data processed {"connection_id":134844,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:22:07] local.INFO: Acknowledgment sent {"connection_id":134844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:22:36] local.INFO: TCP Data received {"connection_id":134843,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f652f3b30012d79b68005e7b638000800032b..."} 
[2026-07-15 15:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652f3b30012d79b68005e7b638000800032b..."} 
[2026-07-15 15:22:36] local.INFO: Processing buffer {"connection_id":134843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652f3b30012d79b68005e7b638000800032b..."} 
[2026-07-15 15:22:36] local.INFO: Packet analysis {"connection_id":134843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f652f"} 
[2026-07-15 15:22:36] local.INFO: Extracted packet for processing {"connection_id":134843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f652f"} 
[2026-07-15 15:22:36] local.INFO: GPS Element Parsed {"raw_longitude":762951296,"raw_latitude":99071544,"longitude_deg":76.2951296,"latitude_deg":9.9071544,"altitude":8,"angle":3,"satellites":43,"speed":0,"hex_longitude":"2d79b680","hex_latitude":"05e7b638","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731909632001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106565315504111616,"note":"Value kept but may cause issues"} 
[2026-07-15 15:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770338087201290240,"note":"Value kept but may cause issues"} 
[2026-07-15 15:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784109022000,"timestamp_ms":1784109022000,"timestamp_seconds":1784109022,"priority":1,"record_length":96,"hex_timestamp":"0000019f652f3b30"} 
[2026-07-15 15:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-07-15 15:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15: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-07-15 15:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":134843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":134843,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":134843,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731909632001,"66":12874,"202":206,"87":13824,"24":0,"16":106565315504111616,"45":8770338087201290240},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-15 15:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731909632001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:22:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 15:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106565315504111616,"km_value":106565315504111.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770338087201290240,"description":"Unknown IO ID 45"} 
[2026-07-15 15:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731909632001,"power":12874,"mcc":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8770338087201290240}} 
[2026-07-15 15:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":134843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491422,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:22:36] local.INFO: GPS data processed {"connection_id":134843,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:22:36] local.INFO: Acknowledgment sent {"connection_id":134843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:22:38] local.INFO: TCP Data received {"connection_id":134844,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f652df6f8012d80f54005a12a580009015b31..."} 
[2026-07-15 15:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652df6f8012d80f54005a12a580009015b31..."} 
[2026-07-15 15:22:38] local.INFO: Processing buffer {"connection_id":134844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652df6f8012d80f54005a12a580009015b31..."} 
[2026-07-15 15:22:38] local.INFO: Packet analysis {"connection_id":134844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f652d"} 
[2026-07-15 15:22:38] local.INFO: Extracted packet for processing {"connection_id":134844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f652d"} 
[2026-07-15 15:22:38] local.INFO: GPS Element Parsed {"raw_longitude":763426112,"raw_latitude":94448216,"longitude_deg":76.3426112,"latitude_deg":9.4448216,"altitude":9,"angle":347,"satellites":49,"speed":0,"hex_longitude":"2d80f540","hex_latitude":"05a12a58","is_valid_coordinates":true} 
[2026-07-15 15:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731811072001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347183535343271936,"note":"Value kept but may cause issues"} 
[2026-07-15 15:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9150047781245583360,"note":"Value kept but may cause issues"} 
[2026-07-15 15:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784108939000,"timestamp_ms":1784108939000,"timestamp_seconds":1784108939,"priority":1,"record_length":96,"hex_timestamp":"0000019f652df6f8"} 
[2026-07-15 15:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 15:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731811072001,"66":26267,"82":206,"85":14336,"24":0,"16":347183535343271936,"45":-9150047781245583360},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731811072001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:22:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:22:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347183535343271936,"km_value":347183535343271.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9150047781245583360,"description":"Unknown IO ID 45"} 
[2026-07-15 15:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731811072001,"power":26267,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9150047781245583360}} 
[2026-07-15 15:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":134844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:22:38] local.INFO: GPS data processed {"connection_id":134844,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:22:38] local.INFO: Acknowledgment sent {"connection_id":134844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:22:46] local.INFO: TCP Data received {"connection_id":132635,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:22:46] local.INFO: Processing buffer {"connection_id":132635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:22:46] local.INFO: IMEI packet received {"connection_id":132635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 15:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":132635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:22:51] local.INFO: TCP Data received {"connection_id":132635,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:22:51] local.INFO: Processing buffer {"connection_id":132635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:22:51] local.INFO: IMEI packet received {"connection_id":132635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":132635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:22:56] local.INFO: TCP Data received {"connection_id":132635,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:22:56] local.INFO: Processing buffer {"connection_id":132635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:22:56] local.INFO: IMEI packet received {"connection_id":132635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":132635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:22:56] local.INFO: TCP Data received {"connection_id":132635,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f652e4900012d181fc00721b0500048015f26..."} 
[2026-07-15 15:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652e4900012d181fc00721b0500048015f26..."} 
[2026-07-15 15:22:56] local.INFO: Processing buffer {"connection_id":132635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652e4900012d181fc00721b0500048015f26..."} 
[2026-07-15 15:22:56] local.INFO: Packet analysis {"connection_id":132635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f652e"} 
[2026-07-15 15:22:56] local.INFO: Extracted packet for processing {"connection_id":132635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f652e"} 
[2026-07-15 15:22:56] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":38,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731888384001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:22:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:22:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784108960000,"timestamp_ms":1784108960000,"timestamp_seconds":1784108960,"priority":1,"record_length":96,"hex_timestamp":"0000019f652e4900"} 
[2026-07-15 15:22:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:22:56] 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-07-15 15:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 15:22:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:22:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:22:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:22:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731888384001,"66":12461,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731888384001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:22:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:22:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:22:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731888384001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:22:56] local.INFO: DEBUG: GPS processor result {"connection_id":132635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:22:56] local.INFO: GPS data processed {"connection_id":132635,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:22:56] local.INFO: Acknowledgment sent {"connection_id":132635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:23:00] local.INFO: TCP Data received {"connection_id":133476,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:23:00] local.INFO: Processing buffer {"connection_id":133476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:23:00] local.INFO: IMEI packet received {"connection_id":133476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":133476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:23:04] local.INFO: TCP Data received {"connection_id":134845,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134845,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:23:04] local.INFO: Processing buffer {"connection_id":134845,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:23:04] local.INFO: IMEI packet received {"connection_id":134845,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 15:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":134845,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:23:05] local.INFO: TCP Data received {"connection_id":133476,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:23:05] local.INFO: Processing buffer {"connection_id":133476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:23:05] local.INFO: IMEI packet received {"connection_id":133476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":133476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:23:06] local.INFO: TCP Data received {"connection_id":133476,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f652df6f8012d80f54005a12a580009015b31..."} 
[2026-07-15 15:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652df6f8012d80f54005a12a580009015b31..."} 
[2026-07-15 15:23:06] local.INFO: Processing buffer {"connection_id":133476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652df6f8012d80f54005a12a580009015b31..."} 
[2026-07-15 15:23:06] local.INFO: Packet analysis {"connection_id":133476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f652d"} 
[2026-07-15 15:23:06] local.INFO: Extracted packet for processing {"connection_id":133476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f652d"} 
[2026-07-15 15:23:06] local.INFO: GPS Element Parsed {"raw_longitude":763426112,"raw_latitude":94448216,"longitude_deg":76.3426112,"latitude_deg":9.4448216,"altitude":9,"angle":347,"satellites":49,"speed":0,"hex_longitude":"2d80f540","hex_latitude":"05a12a58","is_valid_coordinates":true} 
[2026-07-15 15:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731811072001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347183535343271936,"note":"Value kept but may cause issues"} 
[2026-07-15 15:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9150047781245583360,"note":"Value kept but may cause issues"} 
[2026-07-15 15:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784108939000,"timestamp_ms":1784108939000,"timestamp_seconds":1784108939,"priority":1,"record_length":96,"hex_timestamp":"0000019f652df6f8"} 
[2026-07-15 15:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 15:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731811072001,"66":26267,"82":206,"85":14336,"24":0,"16":347183535343271936,"45":-9150047781245583360},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731811072001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:23:06] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:23:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347183535343271936,"km_value":347183535343271.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9150047781245583360,"description":"Unknown IO ID 45"} 
[2026-07-15 15:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731811072001,"power":26267,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9150047781245583360}} 
[2026-07-15 15:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":133476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:23:06] local.INFO: GPS data processed {"connection_id":133476,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:23:06] local.INFO: Acknowledgment sent {"connection_id":133476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:23:09] local.INFO: TCP Data received {"connection_id":134845,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134845,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:23:09] local.INFO: Processing buffer {"connection_id":134845,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:23:09] local.INFO: IMEI packet received {"connection_id":134845,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":134845,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:23:10] local.INFO: TCP Data received {"connection_id":134845,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f652f3b30012d79b68005e7b638000800032b..."} 
[2026-07-15 15:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652f3b30012d79b68005e7b638000800032b..."} 
[2026-07-15 15:23:10] local.INFO: Processing buffer {"connection_id":134845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652f3b30012d79b68005e7b638000800032b..."} 
[2026-07-15 15:23:10] local.INFO: Packet analysis {"connection_id":134845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f652f"} 
[2026-07-15 15:23:10] local.INFO: Extracted packet for processing {"connection_id":134845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f652f"} 
[2026-07-15 15:23:10] local.INFO: GPS Element Parsed {"raw_longitude":762951296,"raw_latitude":99071544,"longitude_deg":76.2951296,"latitude_deg":9.9071544,"altitude":8,"angle":3,"satellites":43,"speed":0,"hex_longitude":"2d79b680","hex_latitude":"05e7b638","is_valid_coordinates":true} 
[2026-07-15 15:23:10] 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-07-15 15:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731909632001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106565315504111616,"note":"Value kept but may cause issues"} 
[2026-07-15 15:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770338087201290240,"note":"Value kept but may cause issues"} 
[2026-07-15 15:23:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784109022000,"timestamp_ms":1784109022000,"timestamp_seconds":1784109022,"priority":1,"record_length":96,"hex_timestamp":"0000019f652f3b30"} 
[2026-07-15 15:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-07-15 15:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:23:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":134845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":134845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":134845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731909632001,"66":12874,"202":206,"87":13824,"24":0,"16":106565315504111616,"45":8770338087201290240},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-15 15:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731909632001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:23:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 15:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106565315504111616,"km_value":106565315504111.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770338087201290240,"description":"Unknown IO ID 45"} 
[2026-07-15 15:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731909632001,"power":12874,"mcc":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8770338087201290240}} 
[2026-07-15 15:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":134845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491426,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:23:10] local.INFO: GPS data processed {"connection_id":134845,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:23:10] local.INFO: Acknowledgment sent {"connection_id":134845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:23:27] local.INFO: TCP Data received {"connection_id":132635,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f652e9b08012d181fc00721b0500048015f27..."} 
[2026-07-15 15:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652e9b08012d181fc00721b0500048015f27..."} 
[2026-07-15 15:23:27] local.INFO: Processing buffer {"connection_id":132635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652e9b08012d181fc00721b0500048015f27..."} 
[2026-07-15 15:23:27] local.INFO: Packet analysis {"connection_id":132635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f652e"} 
[2026-07-15 15:23:27] local.INFO: Extracted packet for processing {"connection_id":132635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f652e"} 
[2026-07-15 15:23:27] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":39,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731893760001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:23: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-07-15 15:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784108981000,"timestamp_ms":1784108981000,"timestamp_seconds":1784108981,"priority":1,"record_length":96,"hex_timestamp":"0000019f652e9b08"} 
[2026-07-15 15:23:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:23:27] 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-07-15 15:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 15:23:27] 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-07-15 15:23:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:23:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":132635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":132635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":132635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731893760001,"66":12504,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731893760001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:23:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:23:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731893760001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":132635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:23:28] local.INFO: GPS data processed {"connection_id":132635,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:23:28] local.INFO: Acknowledgment sent {"connection_id":132635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:23:37] local.INFO: TCP Data received {"connection_id":133476,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f652df6f8012d80f54005a12a580009015b31..."} 
[2026-07-15 15:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652df6f8012d80f54005a12a580009015b31..."} 
[2026-07-15 15:23:37] local.INFO: Processing buffer {"connection_id":133476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652df6f8012d80f54005a12a580009015b31..."} 
[2026-07-15 15:23:37] local.INFO: Packet analysis {"connection_id":133476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f652d"} 
[2026-07-15 15:23:37] local.INFO: Extracted packet for processing {"connection_id":133476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f652d"} 
[2026-07-15 15:23:37] local.INFO: GPS Element Parsed {"raw_longitude":763426112,"raw_latitude":94448216,"longitude_deg":76.3426112,"latitude_deg":9.4448216,"altitude":9,"angle":347,"satellites":49,"speed":0,"hex_longitude":"2d80f540","hex_latitude":"05a12a58","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731811072001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347183535343271936,"note":"Value kept but may cause issues"} 
[2026-07-15 15:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9150047781245583360,"note":"Value kept but may cause issues"} 
[2026-07-15 15:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784108939000,"timestamp_ms":1784108939000,"timestamp_seconds":1784108939,"priority":1,"record_length":96,"hex_timestamp":"0000019f652df6f8"} 
[2026-07-15 15:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 15:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15: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-07-15 15:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731811072001,"66":26267,"82":206,"85":14336,"24":0,"16":347183535343271936,"45":-9150047781245583360},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731811072001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:23:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:23:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347183535343271936,"km_value":347183535343271.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9150047781245583360,"description":"Unknown IO ID 45"} 
[2026-07-15 15:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731811072001,"power":26267,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9150047781245583360}} 
[2026-07-15 15:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":133476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:23:37] local.INFO: GPS data processed {"connection_id":133476,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:23:37] local.INFO: Acknowledgment sent {"connection_id":133476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:23:41] local.INFO: TCP Data received {"connection_id":134845,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f652f3b30012d79b68005e7b638000800032b..."} 
[2026-07-15 15:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652f3b30012d79b68005e7b638000800032b..."} 
[2026-07-15 15:23:41] local.INFO: Processing buffer {"connection_id":134845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652f3b30012d79b68005e7b638000800032b..."} 
[2026-07-15 15:23:41] local.INFO: Packet analysis {"connection_id":134845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f652f"} 
[2026-07-15 15:23:41] local.INFO: Extracted packet for processing {"connection_id":134845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f652f"} 
[2026-07-15 15:23:41] local.INFO: GPS Element Parsed {"raw_longitude":762951296,"raw_latitude":99071544,"longitude_deg":76.2951296,"latitude_deg":9.9071544,"altitude":8,"angle":3,"satellites":43,"speed":0,"hex_longitude":"2d79b680","hex_latitude":"05e7b638","is_valid_coordinates":true} 
[2026-07-15 15:23: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-07-15 15:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731909632001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106565315504111616,"note":"Value kept but may cause issues"} 
[2026-07-15 15:23:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770338087201290240,"note":"Value kept but may cause issues"} 
[2026-07-15 15:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784109022000,"timestamp_ms":1784109022000,"timestamp_seconds":1784109022,"priority":1,"record_length":96,"hex_timestamp":"0000019f652f3b30"} 
[2026-07-15 15:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:23: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":74,"data_length":795,"current_offset":136} 
[2026-07-15 15:23:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:23: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-07-15 15:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":134845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":134845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":134845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731909632001,"66":12874,"202":206,"87":13824,"24":0,"16":106565315504111616,"45":8770338087201290240},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-15 15:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731909632001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:23:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 15:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106565315504111616,"km_value":106565315504111.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770338087201290240,"description":"Unknown IO ID 45"} 
[2026-07-15 15:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731909632001,"power":12874,"mcc":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8770338087201290240}} 
[2026-07-15 15:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":134845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491429,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:23:41] local.INFO: GPS data processed {"connection_id":134845,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:23:41] local.INFO: Acknowledgment sent {"connection_id":134845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:23:49] local.INFO: TCP Data received {"connection_id":132442,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132442,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:23:49] local.INFO: Processing buffer {"connection_id":132442,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:23:49] local.INFO: IMEI packet received {"connection_id":132442,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 15:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":132442,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:23:50] local.INFO: TCP Data received {"connection_id":134846,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:23:50] local.INFO: Processing buffer {"connection_id":134846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:23:50] local.INFO: IMEI packet received {"connection_id":134846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 15:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":134846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:23:50] local.INFO: TCP Data received {"connection_id":134846,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:23:50] local.INFO: Processing buffer {"connection_id":134846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:23:50] local.INFO: IMEI packet received {"connection_id":134846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":134846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:23:56] local.INFO: TCP Data received {"connection_id":134846,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:23:56] local.INFO: Processing buffer {"connection_id":134846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:23:56] local.INFO: IMEI packet received {"connection_id":134846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":134846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:23:57] local.INFO: TCP Data received {"connection_id":134846,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f652eed10012d181fc00721b0500048015f27..."} 
[2026-07-15 15:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652eed10012d181fc00721b0500048015f27..."} 
[2026-07-15 15:23:57] local.INFO: Processing buffer {"connection_id":134846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652eed10012d181fc00721b0500048015f27..."} 
[2026-07-15 15:23:57] local.INFO: Packet analysis {"connection_id":134846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f652e"} 
[2026-07-15 15:23:57] local.INFO: Extracted packet for processing {"connection_id":134846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f652e"} 
[2026-07-15 15:23:57] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":39,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:23:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731899136001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:23:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:23:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:23:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:23:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784109002000,"timestamp_ms":1784109002000,"timestamp_seconds":1784109002,"priority":1,"record_length":96,"hex_timestamp":"0000019f652eed10"} 
[2026-07-15 15:23:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:23:57] 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-07-15 15: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 15:23:57] 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-07-15 15: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-07-15 15:23:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:23:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:23:57] local.INFO: Teltonika packet parsed successfully {"connection_id":134846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:23:57] local.INFO: Passing IMEI to GPS processor {"connection_id":134846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:23:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":134846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:23:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:23:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:23:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:23:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731899136001,"66":12461,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:23:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:23:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:23:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731899136001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:23:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:23:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:23:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:23:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:23:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731899136001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:23:57] local.INFO: DEBUG: GPS processor result {"connection_id":134846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:23:57] local.INFO: GPS data processed {"connection_id":134846,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:23:57] local.INFO: Acknowledgment sent {"connection_id":134846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:23:59] local.INFO: TCP Data received {"connection_id":132443,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132443,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:23:59] local.INFO: Processing buffer {"connection_id":132443,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:23:59] local.INFO: IMEI packet received {"connection_id":132443,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 15:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":132443,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:24:04] local.INFO: TCP Data received {"connection_id":132443,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132443,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:24:04] local.INFO: Processing buffer {"connection_id":132443,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:24:04] local.INFO: IMEI packet received {"connection_id":132443,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":132443,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:24:05] local.INFO: TCP Data received {"connection_id":132443,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f652f3b30012d79b68005e7b638000800032b..."} 
[2026-07-15 15:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652f3b30012d79b68005e7b638000800032b..."} 
[2026-07-15 15:24:05] local.INFO: Processing buffer {"connection_id":132443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652f3b30012d79b68005e7b638000800032b..."} 
[2026-07-15 15:24:05] local.INFO: Packet analysis {"connection_id":132443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f652f"} 
[2026-07-15 15:24:05] local.INFO: Extracted packet for processing {"connection_id":132443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f652f"} 
[2026-07-15 15:24:05] local.INFO: GPS Element Parsed {"raw_longitude":762951296,"raw_latitude":99071544,"longitude_deg":76.2951296,"latitude_deg":9.9071544,"altitude":8,"angle":3,"satellites":43,"speed":0,"hex_longitude":"2d79b680","hex_latitude":"05e7b638","is_valid_coordinates":true} 
[2026-07-15 15:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731909632001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106565315504111616,"note":"Value kept but may cause issues"} 
[2026-07-15 15:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770338087201290240,"note":"Value kept but may cause issues"} 
[2026-07-15 15:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784109022000,"timestamp_ms":1784109022000,"timestamp_seconds":1784109022,"priority":1,"record_length":96,"hex_timestamp":"0000019f652f3b30"} 
[2026-07-15 15:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15: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":74,"data_length":795,"current_offset":136} 
[2026-07-15 15:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15: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-07-15 15:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731909632001,"66":12874,"202":206,"87":13824,"24":0,"16":106565315504111616,"45":8770338087201290240},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-15 15:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731909632001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:24:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 15:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106565315504111616,"km_value":106565315504111.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770338087201290240,"description":"Unknown IO ID 45"} 
[2026-07-15 15:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731909632001,"power":12874,"mcc":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8770338087201290240}} 
[2026-07-15 15:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":132443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491431,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:24:05] local.INFO: GPS data processed {"connection_id":132443,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:24:05] local.INFO: Acknowledgment sent {"connection_id":132443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:24:06] local.INFO: TCP Data received {"connection_id":132444,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:24:06] local.INFO: Processing buffer {"connection_id":132444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:24:06] local.INFO: IMEI packet received {"connection_id":132444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":132444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:24:11] local.INFO: TCP Data received {"connection_id":132444,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:24:11] local.INFO: Processing buffer {"connection_id":132444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:24:11] local.INFO: IMEI packet received {"connection_id":132444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":132444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:24:12] local.INFO: TCP Data received {"connection_id":132444,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f652df6f8012d80f54005a12a580009015b31..."} 
[2026-07-15 15:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652df6f8012d80f54005a12a580009015b31..."} 
[2026-07-15 15:24:12] local.INFO: Processing buffer {"connection_id":132444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652df6f8012d80f54005a12a580009015b31..."} 
[2026-07-15 15:24:12] local.INFO: Packet analysis {"connection_id":132444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f652d"} 
[2026-07-15 15:24:12] local.INFO: Extracted packet for processing {"connection_id":132444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f652d"} 
[2026-07-15 15:24:12] local.INFO: GPS Element Parsed {"raw_longitude":763426112,"raw_latitude":94448216,"longitude_deg":76.3426112,"latitude_deg":9.4448216,"altitude":9,"angle":347,"satellites":49,"speed":0,"hex_longitude":"2d80f540","hex_latitude":"05a12a58","is_valid_coordinates":true} 
[2026-07-15 15:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731811072001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347183535343271936,"note":"Value kept but may cause issues"} 
[2026-07-15 15:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9150047781245583360,"note":"Value kept but may cause issues"} 
[2026-07-15 15:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784108939000,"timestamp_ms":1784108939000,"timestamp_seconds":1784108939,"priority":1,"record_length":96,"hex_timestamp":"0000019f652df6f8"} 
[2026-07-15 15:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 15:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:24:12] 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-07-15 15:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731811072001,"66":26267,"82":206,"85":14336,"24":0,"16":347183535343271936,"45":-9150047781245583360},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731811072001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:24:12] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:24:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347183535343271936,"km_value":347183535343271.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9150047781245583360,"description":"Unknown IO ID 45"} 
[2026-07-15 15:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731811072001,"power":26267,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9150047781245583360}} 
[2026-07-15 15:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":132444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:24:12] local.INFO: GPS data processed {"connection_id":132444,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:24:12] local.INFO: Acknowledgment sent {"connection_id":132444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:24:28] local.INFO: TCP Data received {"connection_id":134846,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f652f4300012d181fc00721b0500048015f27..."} 
[2026-07-15 15:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652f4300012d181fc00721b0500048015f27..."} 
[2026-07-15 15:24:28] local.INFO: Processing buffer {"connection_id":134846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652f4300012d181fc00721b0500048015f27..."} 
[2026-07-15 15:24:28] local.INFO: Packet analysis {"connection_id":134846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f652f"} 
[2026-07-15 15:24:28] local.INFO: Extracted packet for processing {"connection_id":134846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f652f"} 
[2026-07-15 15:24:28] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":39,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731904512001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:24:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:24: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-07-15 15:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784109024000,"timestamp_ms":1784109024000,"timestamp_seconds":1784109024,"priority":1,"record_length":96,"hex_timestamp":"0000019f652f4300"} 
[2026-07-15 15:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:24:28] 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-07-15 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 15:24: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-07-15 15: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-07-15 15:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":134846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":134846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":134846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:24:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731904512001,"66":12428,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731904512001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:24:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:24:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:24:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731904512001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:24:28] local.INFO: DEBUG: GPS processor result {"connection_id":134846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:24:28] local.INFO: GPS data processed {"connection_id":134846,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:24:28] local.INFO: Acknowledgment sent {"connection_id":134846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:24:34] local.INFO: TCP Data received {"connection_id":132636,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132636,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:24:34] local.INFO: Processing buffer {"connection_id":132636,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:24:34] local.INFO: IMEI packet received {"connection_id":132636,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 15:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":132636,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:24:36] local.INFO: TCP Data received {"connection_id":132443,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f652f3b30012d79b68005e7b638000800032b..."} 
[2026-07-15 15:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652f3b30012d79b68005e7b638000800032b..."} 
[2026-07-15 15:24:36] local.INFO: Processing buffer {"connection_id":132443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652f3b30012d79b68005e7b638000800032b..."} 
[2026-07-15 15:24:36] local.INFO: Packet analysis {"connection_id":132443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f652f"} 
[2026-07-15 15:24:36] local.INFO: Extracted packet for processing {"connection_id":132443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f652f"} 
[2026-07-15 15:24:36] local.INFO: GPS Element Parsed {"raw_longitude":762951296,"raw_latitude":99071544,"longitude_deg":76.2951296,"latitude_deg":9.9071544,"altitude":8,"angle":3,"satellites":43,"speed":0,"hex_longitude":"2d79b680","hex_latitude":"05e7b638","is_valid_coordinates":true} 
[2026-07-15 15:24: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-07-15 15:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731909632001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106565315504111616,"note":"Value kept but may cause issues"} 
[2026-07-15 15:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770338087201290240,"note":"Value kept but may cause issues"} 
[2026-07-15 15:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784109022000,"timestamp_ms":1784109022000,"timestamp_seconds":1784109022,"priority":1,"record_length":96,"hex_timestamp":"0000019f652f3b30"} 
[2026-07-15 15:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-07-15 15:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731909632001,"66":12874,"202":206,"87":13824,"24":0,"16":106565315504111616,"45":8770338087201290240},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-15 15:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731909632001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:24:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 15:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106565315504111616,"km_value":106565315504111.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770338087201290240,"description":"Unknown IO ID 45"} 
[2026-07-15 15:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731909632001,"power":12874,"mcc":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8770338087201290240}} 
[2026-07-15 15:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":132443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491434,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:24:36] local.INFO: GPS data processed {"connection_id":132443,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:24:36] local.INFO: Acknowledgment sent {"connection_id":132443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:24:42] local.INFO: TCP Data received {"connection_id":132444,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f65328ec0012d80f54005a12a580009015b33..."} 
[2026-07-15 15:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65328ec0012d80f54005a12a580009015b33..."} 
[2026-07-15 15:24:42] local.INFO: Processing buffer {"connection_id":132444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65328ec0012d80f54005a12a580009015b33..."} 
[2026-07-15 15:24:42] local.INFO: Packet analysis {"connection_id":132444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6532"} 
[2026-07-15 15:24:42] local.INFO: Extracted packet for processing {"connection_id":132444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6532"} 
[2026-07-15 15:24:42] local.INFO: GPS Element Parsed {"raw_longitude":763426112,"raw_latitude":94448216,"longitude_deg":76.3426112,"latitude_deg":9.4448216,"altitude":9,"angle":347,"satellites":51,"speed":0,"hex_longitude":"2d80f540","hex_latitude":"05a12a58","is_valid_coordinates":true} 
[2026-07-15 15:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731888384001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347183535343271936,"note":"Value kept but may cause issues"} 
[2026-07-15 15:24:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9154340274637744128,"note":"Value kept but may cause issues"} 
[2026-07-15 15:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784109240000,"timestamp_ms":1784109240000,"timestamp_seconds":1784109240,"priority":1,"record_length":96,"hex_timestamp":"0000019f65328ec0"} 
[2026-07-15 15:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:24:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-15 15:24:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731888384001,"66":26136,"82":206,"85":14336,"24":0,"16":347183535343271936,"45":-9154340274637744128},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731888384001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:24:42] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:24:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347183535343271936,"km_value":347183535343271.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:24:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9154340274637744128,"description":"Unknown IO ID 45"} 
[2026-07-15 15:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731888384001,"power":26136,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9154340274637744128}} 
[2026-07-15 15:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":132444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:24:42] local.INFO: GPS data processed {"connection_id":132444,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:24:42] local.INFO: Acknowledgment sent {"connection_id":132444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:24:51] local.INFO: TCP Data received {"connection_id":134847,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:24:51] local.INFO: Processing buffer {"connection_id":134847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:24:51] local.INFO: IMEI packet received {"connection_id":134847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 15:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":134847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:24:53] local.INFO: TCP Data received {"connection_id":134847,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:24:53] local.INFO: Processing buffer {"connection_id":134847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:24:53] local.INFO: IMEI packet received {"connection_id":134847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":134847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:24:56] local.INFO: TCP Data received {"connection_id":134847,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:24:56] local.INFO: Processing buffer {"connection_id":134847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:24:56] local.INFO: IMEI packet received {"connection_id":134847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":134847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:24:56] local.INFO: TCP Data received {"connection_id":134847,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f652f9508012d181fc00721b0500048015f27..."} 
[2026-07-15 15:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652f9508012d181fc00721b0500048015f27..."} 
[2026-07-15 15:24:56] local.INFO: Processing buffer {"connection_id":134847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652f9508012d181fc00721b0500048015f27..."} 
[2026-07-15 15:24:56] local.INFO: Packet analysis {"connection_id":134847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f652f"} 
[2026-07-15 15:24:56] local.INFO: Extracted packet for processing {"connection_id":134847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f652f"} 
[2026-07-15 15:24:56] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":39,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731910144001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784109045000,"timestamp_ms":1784109045000,"timestamp_seconds":1784109045,"priority":1,"record_length":96,"hex_timestamp":"0000019f652f9508"} 
[2026-07-15 15:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:24: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-07-15 15:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-15 15:24:56] 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-07-15 15:24:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":134847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":134847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":134847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731910144001,"66":12461,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731910144001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:24:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:24:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731910144001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":134847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:24:56] local.INFO: GPS data processed {"connection_id":134847,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:24:56] local.INFO: Acknowledgment sent {"connection_id":134847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:24:59] local.INFO: TCP Data received {"connection_id":134848,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134848,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:24:59] local.INFO: Processing buffer {"connection_id":134848,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:24:59] local.INFO: IMEI packet received {"connection_id":134848,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 15:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":134848,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:25:00] local.INFO: TCP Data received {"connection_id":134847,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f652fe328012d181fc00721b0500048015f27..."} 
[2026-07-15 15:25:00] local.INFO: TCP Data received {"connection_id":132445,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652fe328012d181fc00721b0500048015f27..."} 
[2026-07-15 15:25:00] local.INFO: Processing buffer {"connection_id":134847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652fe328012d181fc00721b0500048015f27..."} 
[2026-07-15 15:25:00] local.INFO: Packet analysis {"connection_id":134847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f652f"} 
[2026-07-15 15:25:00] local.INFO: Extracted packet for processing {"connection_id":134847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f652f"} 
[2026-07-15 15:25:00] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":39,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731915520001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:25:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784109065000,"timestamp_ms":1784109065000,"timestamp_seconds":1784109065,"priority":1,"record_length":96,"hex_timestamp":"0000019f652fe328"} 
[2026-07-15 15:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:25:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 15:25:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:25:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:25:00] local.INFO: Processing buffer {"connection_id":132445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:25:00] local.INFO: IMEI packet received {"connection_id":132445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":132445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":134847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":134847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":134847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:25:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731915520001,"66":12461,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731915520001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:25:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:25:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731915520001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":134847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:25:01] local.INFO: GPS data processed {"connection_id":134847,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:25:01] local.INFO: Acknowledgment sent {"connection_id":134847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:25:04] local.INFO: TCP Data received {"connection_id":134848,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134848,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:25:04] local.INFO: Processing buffer {"connection_id":134848,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:25:04] local.INFO: IMEI packet received {"connection_id":134848,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":134848,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:25:05] local.INFO: TCP Data received {"connection_id":134848,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f652f3b30012d79b68005e7b638000800032b..."} 
[2026-07-15 15:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f652f3b30012d79b68005e7b638000800032b..."} 
[2026-07-15 15:25:05] local.INFO: Processing buffer {"connection_id":134848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f652f3b30012d79b68005e7b638000800032b..."} 
[2026-07-15 15:25:05] local.INFO: Packet analysis {"connection_id":134848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f652f"} 
[2026-07-15 15:25:05] local.INFO: Extracted packet for processing {"connection_id":134848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f652f"} 
[2026-07-15 15:25:05] local.INFO: GPS Element Parsed {"raw_longitude":762951296,"raw_latitude":99071544,"longitude_deg":76.2951296,"latitude_deg":9.9071544,"altitude":8,"angle":3,"satellites":43,"speed":0,"hex_longitude":"2d79b680","hex_latitude":"05e7b638","is_valid_coordinates":true} 
[2026-07-15 15:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731909632001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106565315504111616,"note":"Value kept but may cause issues"} 
[2026-07-15 15:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770338087201290240,"note":"Value kept but may cause issues"} 
[2026-07-15 15:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784109022000,"timestamp_ms":1784109022000,"timestamp_seconds":1784109022,"priority":1,"record_length":96,"hex_timestamp":"0000019f652f3b30"} 
[2026-07-15 15:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-07-15 15:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":134848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":134848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":134848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731909632001,"66":12874,"202":206,"87":13824,"24":0,"16":106565315504111616,"45":8770338087201290240},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-15 15:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731909632001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:25:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 15:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106565315504111616,"km_value":106565315504111.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770338087201290240,"description":"Unknown IO ID 45"} 
[2026-07-15 15:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731909632001,"power":12874,"mcc":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8770338087201290240}} 
[2026-07-15 15:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":134848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491438,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:25:05] local.INFO: GPS data processed {"connection_id":134848,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:25:05] local.INFO: Acknowledgment sent {"connection_id":134848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:25:06] local.INFO: TCP Data received {"connection_id":132445,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:25:06] local.INFO: Processing buffer {"connection_id":132445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:25:06] local.INFO: IMEI packet received {"connection_id":132445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":132445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:25:07] local.INFO: TCP Data received {"connection_id":132445,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65328ec0012d80f54005a12a580009015b33..."} 
[2026-07-15 15:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65328ec0012d80f54005a12a580009015b33..."} 
[2026-07-15 15:25:07] local.INFO: Processing buffer {"connection_id":132445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65328ec0012d80f54005a12a580009015b33..."} 
[2026-07-15 15:25:07] local.INFO: Packet analysis {"connection_id":132445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6532"} 
[2026-07-15 15:25:07] local.INFO: Extracted packet for processing {"connection_id":132445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6532"} 
[2026-07-15 15:25:07] local.INFO: GPS Element Parsed {"raw_longitude":763426112,"raw_latitude":94448216,"longitude_deg":76.3426112,"latitude_deg":9.4448216,"altitude":9,"angle":347,"satellites":51,"speed":0,"hex_longitude":"2d80f540","hex_latitude":"05a12a58","is_valid_coordinates":true} 
[2026-07-15 15:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731888384001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347183535343271936,"note":"Value kept but may cause issues"} 
[2026-07-15 15:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9154340274637744128,"note":"Value kept but may cause issues"} 
[2026-07-15 15:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784109240000,"timestamp_ms":1784109240000,"timestamp_seconds":1784109240,"priority":1,"record_length":96,"hex_timestamp":"0000019f65328ec0"} 
[2026-07-15 15:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-15 15:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:25:07] 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-07-15 15:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731888384001,"66":26136,"82":206,"85":14336,"24":0,"16":347183535343271936,"45":-9154340274637744128},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731888384001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:25:07] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:25:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347183535343271936,"km_value":347183535343271.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9154340274637744128,"description":"Unknown IO ID 45"} 
[2026-07-15 15:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731888384001,"power":26136,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9154340274637744128}} 
[2026-07-15 15:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":132445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:25:07] local.INFO: GPS data processed {"connection_id":132445,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:25:07] local.INFO: Acknowledgment sent {"connection_id":132445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:25:31] local.INFO: TCP Data received {"connection_id":134847,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f65303530012d181fc00721b0500048015f27..."} 
[2026-07-15 15:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65303530012d181fc00721b0500048015f27..."} 
[2026-07-15 15:25:31] local.INFO: Processing buffer {"connection_id":134847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65303530012d181fc00721b0500048015f27..."} 
[2026-07-15 15:25:31] local.INFO: Packet analysis {"connection_id":134847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6530"} 
[2026-07-15 15:25:31] local.INFO: Extracted packet for processing {"connection_id":134847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6530"} 
[2026-07-15 15:25:31] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":39,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731920640001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784109086000,"timestamp_ms":1784109086000,"timestamp_seconds":1784109086,"priority":1,"record_length":96,"hex_timestamp":"0000019f65303530"} 
[2026-07-15 15:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:25:31] 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-07-15 15:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 15:25:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:25:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":134847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":134847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":134847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731920640001,"66":12504,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731920640001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:25:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:25:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731920640001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":134847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491440,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:25:32] local.INFO: GPS data processed {"connection_id":134847,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:25:32] local.INFO: Acknowledgment sent {"connection_id":134847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:25:38] local.INFO: TCP Data received {"connection_id":132445,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65328ec0012d80f54005a12a580009015b33..."} 
[2026-07-15 15:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65328ec0012d80f54005a12a580009015b33..."} 
[2026-07-15 15:25:38] local.INFO: Processing buffer {"connection_id":132445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65328ec0012d80f54005a12a580009015b33..."} 
[2026-07-15 15:25:38] local.INFO: Packet analysis {"connection_id":132445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6532"} 
[2026-07-15 15:25:38] local.INFO: Extracted packet for processing {"connection_id":132445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6532"} 
[2026-07-15 15:25:38] local.INFO: GPS Element Parsed {"raw_longitude":763426112,"raw_latitude":94448216,"longitude_deg":76.3426112,"latitude_deg":9.4448216,"altitude":9,"angle":347,"satellites":51,"speed":0,"hex_longitude":"2d80f540","hex_latitude":"05a12a58","is_valid_coordinates":true} 
[2026-07-15 15:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731888384001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347183535343271936,"note":"Value kept but may cause issues"} 
[2026-07-15 15:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9154340274637744128,"note":"Value kept but may cause issues"} 
[2026-07-15 15:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784109240000,"timestamp_ms":1784109240000,"timestamp_seconds":1784109240,"priority":1,"record_length":96,"hex_timestamp":"0000019f65328ec0"} 
[2026-07-15 15:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-15 15:25:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:25:38] 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-07-15 15:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731888384001,"66":26136,"82":206,"85":14336,"24":0,"16":347183535343271936,"45":-9154340274637744128},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731888384001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:25:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:25:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347183535343271936,"km_value":347183535343271.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9154340274637744128,"description":"Unknown IO ID 45"} 
[2026-07-15 15:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731888384001,"power":26136,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9154340274637744128}} 
[2026-07-15 15:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":132445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:25:38] local.INFO: GPS data processed {"connection_id":132445,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:25:38] local.INFO: Acknowledgment sent {"connection_id":132445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:25:50] local.INFO: TCP Data received {"connection_id":132637,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:25:50] local.INFO: Processing buffer {"connection_id":132637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:25:50] local.INFO: IMEI packet received {"connection_id":132637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 15:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":132637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:25:56] local.INFO: TCP Data received {"connection_id":132637,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:25:56] local.INFO: Processing buffer {"connection_id":132637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:25:56] local.INFO: IMEI packet received {"connection_id":132637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":132637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:25:56] local.INFO: TCP Data received {"connection_id":132637,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f65308738012d181fc00721b0500048015f27..."} 
[2026-07-15 15:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65308738012d181fc00721b0500048015f27..."} 
[2026-07-15 15:25:56] local.INFO: Processing buffer {"connection_id":132637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65308738012d181fc00721b0500048015f27..."} 
[2026-07-15 15:25:56] local.INFO: Packet analysis {"connection_id":132637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6530"} 
[2026-07-15 15:25:56] local.INFO: Extracted packet for processing {"connection_id":132637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6530"} 
[2026-07-15 15:25:56] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":39,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731926016001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:25:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784109107000,"timestamp_ms":1784109107000,"timestamp_seconds":1784109107,"priority":1,"record_length":96,"hex_timestamp":"0000019f65308738"} 
[2026-07-15 15:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:25: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-07-15 15: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 15:25:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15: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-07-15 15:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731926016001,"66":12461,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731926016001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:25:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:25:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731926016001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":132637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:25:56] local.INFO: GPS data processed {"connection_id":132637,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:25:56] local.INFO: Acknowledgment sent {"connection_id":132637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:26:00] local.INFO: TCP Data received {"connection_id":134850,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:26:00] local.INFO: Processing buffer {"connection_id":134850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:26:00] local.INFO: IMEI packet received {"connection_id":134850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":134850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:26:06] local.INFO: TCP Data received {"connection_id":134850,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:26:06] local.INFO: Processing buffer {"connection_id":134850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:26:06] local.INFO: IMEI packet received {"connection_id":134850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":134850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:26:07] local.INFO: TCP Data received {"connection_id":134850,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f65328ec0012d80f54005a12a580009015b33..."} 
[2026-07-15 15:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65328ec0012d80f54005a12a580009015b33..."} 
[2026-07-15 15:26:07] local.INFO: Processing buffer {"connection_id":134850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65328ec0012d80f54005a12a580009015b33..."} 
[2026-07-15 15:26:07] local.INFO: Packet analysis {"connection_id":134850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6532"} 
[2026-07-15 15:26:07] local.INFO: Extracted packet for processing {"connection_id":134850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6532"} 
[2026-07-15 15:26:07] local.INFO: GPS Element Parsed {"raw_longitude":763426112,"raw_latitude":94448216,"longitude_deg":76.3426112,"latitude_deg":9.4448216,"altitude":9,"angle":347,"satellites":51,"speed":0,"hex_longitude":"2d80f540","hex_latitude":"05a12a58","is_valid_coordinates":true} 
[2026-07-15 15:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731888384001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347183535343271936,"note":"Value kept but may cause issues"} 
[2026-07-15 15:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9154340274637744128,"note":"Value kept but may cause issues"} 
[2026-07-15 15:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784109240000,"timestamp_ms":1784109240000,"timestamp_seconds":1784109240,"priority":1,"record_length":96,"hex_timestamp":"0000019f65328ec0"} 
[2026-07-15 15:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-15 15:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731888384001,"66":26136,"82":206,"85":14336,"24":0,"16":347183535343271936,"45":-9154340274637744128},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731888384001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:26:07] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:26:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347183535343271936,"km_value":347183535343271.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9154340274637744128,"description":"Unknown IO ID 45"} 
[2026-07-15 15:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731888384001,"power":26136,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9154340274637744128}} 
[2026-07-15 15:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":134850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:26:07] local.INFO: GPS data processed {"connection_id":134850,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:26:07] local.INFO: Acknowledgment sent {"connection_id":134850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:26:27] local.INFO: TCP Data received {"connection_id":132637,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f6530d940012d181fc00721b0500048015f28..."} 
[2026-07-15 15:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6530d940012d181fc00721b0500048015f28..."} 
[2026-07-15 15:26:27] local.INFO: Processing buffer {"connection_id":132637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6530d940012d181fc00721b0500048015f28..."} 
[2026-07-15 15:26:27] local.INFO: Packet analysis {"connection_id":132637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6530"} 
[2026-07-15 15:26:27] local.INFO: Extracted packet for processing {"connection_id":132637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6530"} 
[2026-07-15 15:26:27] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":40,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731931392001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:26: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-07-15 15:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784109128000,"timestamp_ms":1784109128000,"timestamp_seconds":1784109128,"priority":1,"record_length":96,"hex_timestamp":"0000019f6530d940"} 
[2026-07-15 15:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:26:27] 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-07-15 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 15:26:27] 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-07-15 15: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-07-15 15:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":132637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":132637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":132637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731931392001,"66":12461,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731931392001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:26:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:26:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731931392001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":132637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:26:28] local.INFO: GPS data processed {"connection_id":132637,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:26:28] local.INFO: Acknowledgment sent {"connection_id":132637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:26:38] local.INFO: TCP Data received {"connection_id":134850,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f65328ec0012d80f54005a12a580009015b33..."} 
[2026-07-15 15:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65328ec0012d80f54005a12a580009015b33..."} 
[2026-07-15 15:26:38] local.INFO: Processing buffer {"connection_id":134850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65328ec0012d80f54005a12a580009015b33..."} 
[2026-07-15 15:26:38] local.INFO: Packet analysis {"connection_id":134850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6532"} 
[2026-07-15 15:26:38] local.INFO: Extracted packet for processing {"connection_id":134850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6532"} 
[2026-07-15 15:26:38] local.INFO: GPS Element Parsed {"raw_longitude":763426112,"raw_latitude":94448216,"longitude_deg":76.3426112,"latitude_deg":9.4448216,"altitude":9,"angle":347,"satellites":51,"speed":0,"hex_longitude":"2d80f540","hex_latitude":"05a12a58","is_valid_coordinates":true} 
[2026-07-15 15:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731888384001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347183535343271936,"note":"Value kept but may cause issues"} 
[2026-07-15 15:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9154340274637744128,"note":"Value kept but may cause issues"} 
[2026-07-15 15:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784109240000,"timestamp_ms":1784109240000,"timestamp_seconds":1784109240,"priority":1,"record_length":96,"hex_timestamp":"0000019f65328ec0"} 
[2026-07-15 15:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-15 15:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731888384001,"66":26136,"82":206,"85":14336,"24":0,"16":347183535343271936,"45":-9154340274637744128},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731888384001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:26:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:26:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347183535343271936,"km_value":347183535343271.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9154340274637744128,"description":"Unknown IO ID 45"} 
[2026-07-15 15:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731888384001,"power":26136,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9154340274637744128}} 
[2026-07-15 15:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":134850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:26:38] local.INFO: GPS data processed {"connection_id":134850,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:26:38] local.INFO: Acknowledgment sent {"connection_id":134850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:26:50] local.INFO: TCP Data received {"connection_id":134852,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:26:50] local.INFO: Processing buffer {"connection_id":134852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:26:50] local.INFO: IMEI packet received {"connection_id":134852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 15:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":134852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:26:56] local.INFO: TCP Data received {"connection_id":134852,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:26:56] local.INFO: Processing buffer {"connection_id":134852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:26:56] local.INFO: IMEI packet received {"connection_id":134852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":134852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:26:56] local.INFO: TCP Data received {"connection_id":134852,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f65312b48012d181fc00721b0500048015f28..."} 
[2026-07-15 15:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65312b48012d181fc00721b0500048015f28..."} 
[2026-07-15 15:26:56] local.INFO: Processing buffer {"connection_id":134852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65312b48012d181fc00721b0500048015f28..."} 
[2026-07-15 15:26:56] local.INFO: Packet analysis {"connection_id":134852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6531"} 
[2026-07-15 15:26:56] local.INFO: Extracted packet for processing {"connection_id":134852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6531"} 
[2026-07-15 15:26:56] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648336,"longitude_deg":75.6555712,"latitude_deg":11.9648336,"altitude":72,"angle":351,"satellites":40,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731936768001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087325868097536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784109149000,"timestamp_ms":1784109149000,"timestamp_seconds":1784109149,"priority":1,"record_length":96,"hex_timestamp":"0000019f65312b48"} 
[2026-07-15 15:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:26:56] 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-07-15 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 15:26:56] 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-07-15 15: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-07-15 15:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":134852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":134852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":134852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731936768001,"66":12461,"105":206,"83":41984,"24":0,"16":6087325868097536,"45":1738319118050807808},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731936768001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:26:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:26:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087325868097536,"km_value":6087325868097.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731936768001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":134852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:26:56] local.INFO: GPS data processed {"connection_id":134852,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:26:56] local.INFO: Acknowledgment sent {"connection_id":134852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:27:06] local.INFO: TCP Data received {"connection_id":133479,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:27:06] local.INFO: Processing buffer {"connection_id":133479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:27:06] local.INFO: IMEI packet received {"connection_id":133479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":133479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:27:11] local.INFO: TCP Data received {"connection_id":133479,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:27:11] local.INFO: Processing buffer {"connection_id":133479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:27:11] local.INFO: IMEI packet received {"connection_id":133479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":133479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:27:12] local.INFO: TCP Data received {"connection_id":133479,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f65328ec0012d80f54005a12a580009015b33..."} 
[2026-07-15 15:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65328ec0012d80f54005a12a580009015b33..."} 
[2026-07-15 15:27:12] local.INFO: Processing buffer {"connection_id":133479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65328ec0012d80f54005a12a580009015b33..."} 
[2026-07-15 15:27:12] local.INFO: Packet analysis {"connection_id":133479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6532"} 
[2026-07-15 15:27:12] local.INFO: Extracted packet for processing {"connection_id":133479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6532"} 
[2026-07-15 15:27:12] local.INFO: GPS Element Parsed {"raw_longitude":763426112,"raw_latitude":94448216,"longitude_deg":76.3426112,"latitude_deg":9.4448216,"altitude":9,"angle":347,"satellites":51,"speed":0,"hex_longitude":"2d80f540","hex_latitude":"05a12a58","is_valid_coordinates":true} 
[2026-07-15 15:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731888384001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347183535343271936,"note":"Value kept but may cause issues"} 
[2026-07-15 15:27:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9154340274637744128,"note":"Value kept but may cause issues"} 
[2026-07-15 15:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784109240000,"timestamp_ms":1784109240000,"timestamp_seconds":1784109240,"priority":1,"record_length":96,"hex_timestamp":"0000019f65328ec0"} 
[2026-07-15 15:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-15 15:27:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:27:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":133479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":133479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":133479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:27:12] 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-07-15 15:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731888384001,"66":26136,"82":206,"85":14336,"24":0,"16":347183535343271936,"45":-9154340274637744128},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731888384001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:27:12] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:27:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347183535343271936,"km_value":347183535343271.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9154340274637744128,"description":"Unknown IO ID 45"} 
[2026-07-15 15:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731888384001,"power":26136,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9154340274637744128}} 
[2026-07-15 15:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":133479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:27:12] local.INFO: GPS data processed {"connection_id":133479,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:27:12] local.INFO: Acknowledgment sent {"connection_id":133479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:27:16] local.INFO: TCP Data received {"connection_id":133479,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f65328ec0012d80f54005a12a580009015b33..."} 
[2026-07-15 15:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65328ec0012d80f54005a12a580009015b33..."} 
[2026-07-15 15:27:16] local.INFO: Processing buffer {"connection_id":133479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65328ec0012d80f54005a12a580009015b33..."} 
[2026-07-15 15:27:16] local.INFO: Packet analysis {"connection_id":133479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6532"} 
[2026-07-15 15:27:16] local.INFO: Extracted packet for processing {"connection_id":133479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6532"} 
[2026-07-15 15:27:16] local.INFO: GPS Element Parsed {"raw_longitude":763426112,"raw_latitude":94448216,"longitude_deg":76.3426112,"latitude_deg":9.4448216,"altitude":9,"angle":347,"satellites":51,"speed":0,"hex_longitude":"2d80f540","hex_latitude":"05a12a58","is_valid_coordinates":true} 
[2026-07-15 15:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731888384001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347183535343271936,"note":"Value kept but may cause issues"} 
[2026-07-15 15:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9154340274637744128,"note":"Value kept but may cause issues"} 
[2026-07-15 15:27:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784109240000,"timestamp_ms":1784109240000,"timestamp_seconds":1784109240,"priority":1,"record_length":96,"hex_timestamp":"0000019f65328ec0"} 
[2026-07-15 15:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:27:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-15 15:27:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:27:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":133479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":133479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":133479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731888384001,"66":26136,"82":206,"85":14336,"24":0,"16":347183535343271936,"45":-9154340274637744128},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731888384001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:27:16] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:27:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347183535343271936,"km_value":347183535343271.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9154340274637744128,"description":"Unknown IO ID 45"} 
[2026-07-15 15:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731888384001,"power":26136,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9154340274637744128}} 
[2026-07-15 15:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":133479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:27:16] local.INFO: GPS data processed {"connection_id":133479,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:27:16] local.INFO: Acknowledgment sent {"connection_id":133479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:27:28] local.INFO: TCP Data received {"connection_id":134852,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f65347320012d181dc00721ad50004e00d128..."} 
[2026-07-15 15:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65347320012d181dc00721ad50004e00d128..."} 
[2026-07-15 15:27:28] local.INFO: Processing buffer {"connection_id":134852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65347320012d181dc00721ad50004e00d128..."} 
[2026-07-15 15:27:28] local.INFO: Packet analysis {"connection_id":134852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6534"} 
[2026-07-15 15:27:28] local.INFO: Extracted packet for processing {"connection_id":134852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6534"} 
[2026-07-15 15:27:28] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647568,"longitude_deg":75.65552,"latitude_deg":11.9647568,"altitude":78,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ad50","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:27:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731995904001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:27:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087373112737792,"note":"Value kept but may cause issues"} 
[2026-07-15 15:27:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050807808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:27:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:27:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784109364000,"timestamp_ms":1784109364000,"timestamp_seconds":1784109364,"priority":1,"record_length":96,"hex_timestamp":"0000019f65347320"} 
[2026-07-15 15:27:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:27: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-07-15 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-15 15:27:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15: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-07-15 15:27:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:27:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:27:28] local.INFO: Teltonika packet parsed successfully {"connection_id":134852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:27:28] local.INFO: Passing IMEI to GPS processor {"connection_id":134852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:27:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":134852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:27:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:27:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:27:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:27:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731995904001,"66":12428,"105":206,"83":41984,"24":0,"16":6087373112737792,"45":1738319118050807808},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:27:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:27:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:27:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731995904001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:27:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:27:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:27:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087373112737792,"km_value":6087373112737.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:27:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050807808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:27:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731995904001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050807808}} 
[2026-07-15 15:27:28] local.INFO: DEBUG: GPS processor result {"connection_id":134852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491449,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:27:28] local.INFO: GPS data processed {"connection_id":134852,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:27:28] local.INFO: Acknowledgment sent {"connection_id":134852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:27:56] local.INFO: TCP Data received {"connection_id":134853,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:27:56] local.INFO: Processing buffer {"connection_id":134853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:27:56] local.INFO: IMEI packet received {"connection_id":134853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 15:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":134853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:28:01] local.INFO: TCP Data received {"connection_id":134853,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:28:01] local.INFO: Processing buffer {"connection_id":134853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:28:01] local.INFO: IMEI packet received {"connection_id":134853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":134853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:28:01] local.INFO: TCP Data received {"connection_id":134854,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:28:01] local.INFO: Processing buffer {"connection_id":134854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:28:01] local.INFO: IMEI packet received {"connection_id":134854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":134854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:28:01] local.INFO: TCP Data received {"connection_id":134853,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f6534c528012d181dc00721ad68004d00d128..."} 
[2026-07-15 15:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6534c528012d181dc00721ad68004d00d128..."} 
[2026-07-15 15:28:01] local.INFO: Processing buffer {"connection_id":134853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6534c528012d181dc00721ad68004d00d128..."} 
[2026-07-15 15:28:01] local.INFO: Packet analysis {"connection_id":134853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6534"} 
[2026-07-15 15:28:01] local.INFO: Extracted packet for processing {"connection_id":134853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6534"} 
[2026-07-15 15:28:01] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647592,"longitude_deg":75.65552,"latitude_deg":11.9647592,"altitude":77,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ad68","is_valid_coordinates":true} 
[2026-07-15 15:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731997184001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087373112737792,"note":"Value kept but may cause issues"} 
[2026-07-15 15:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097189888,"note":"Value kept but may cause issues"} 
[2026-07-15 15:28: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-07-15 15:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784109385000,"timestamp_ms":1784109385000,"timestamp_seconds":1784109385,"priority":1,"record_length":96,"hex_timestamp":"0000019f6534c528"} 
[2026-07-15 15:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:28:01] 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-07-15 15:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-15 15:28:01] 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-07-15 15:28:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":134853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":134853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":134853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731997184001,"66":12385,"105":206,"83":41984,"24":0,"16":6087373112737792,"45":1737756168097189888},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731997184001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:28:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:28:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087373112737792,"km_value":6087373112737.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097189888,"description":"Unknown IO ID 45"} 
[2026-07-15 15:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731997184001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097189888}} 
[2026-07-15 15:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":134853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:28:01] local.INFO: GPS data processed {"connection_id":134853,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:28:01] local.INFO: Acknowledgment sent {"connection_id":134853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:28:06] local.INFO: TCP Data received {"connection_id":134853,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f65351730012d181dc00721ad68004d00d129..."} 
[2026-07-15 15:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65351730012d181dc00721ad68004d00d129..."} 
[2026-07-15 15:28:06] local.INFO: Processing buffer {"connection_id":134853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65351730012d181dc00721ad68004d00d129..."} 
[2026-07-15 15:28:06] local.INFO: Packet analysis {"connection_id":134853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6535"} 
[2026-07-15 15:28:06] local.INFO: Extracted packet for processing {"connection_id":134853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6535"} 
[2026-07-15 15:28:06] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647592,"longitude_deg":75.65552,"latitude_deg":11.9647592,"altitude":77,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ad68","is_valid_coordinates":true} 
[2026-07-15 15:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732002560001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087373112737792,"note":"Value kept but may cause issues"} 
[2026-07-15 15:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097196032,"note":"Value kept but may cause issues"} 
[2026-07-15 15:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784109406000,"timestamp_ms":1784109406000,"timestamp_seconds":1784109406,"priority":1,"record_length":96,"hex_timestamp":"0000019f65351730"} 
[2026-07-15 15:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:28:06] 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-07-15 15:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-15 15:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":134853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":134853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":134853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732002560001,"66":12037,"105":206,"83":41984,"24":0,"16":6087373112737792,"45":1737756168097196032},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732002560001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:28:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:28:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087373112737792,"km_value":6087373112737.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097196032,"description":"Unknown IO ID 45"} 
[2026-07-15 15:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732002560001,"power":12037,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097196032}} 
[2026-07-15 15:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":134853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:28:06] local.INFO: GPS data processed {"connection_id":134853,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:28:06] local.INFO: Acknowledgment sent {"connection_id":134853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:28:08] local.INFO: TCP Data received {"connection_id":134854,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:28:08] local.INFO: Processing buffer {"connection_id":134854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:28:08] local.INFO: IMEI packet received {"connection_id":134854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":134854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:28:09] local.INFO: TCP Data received {"connection_id":134854,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f65328ec0012d80f54005a12a580009015b33..."} 
[2026-07-15 15:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65328ec0012d80f54005a12a580009015b33..."} 
[2026-07-15 15:28:09] local.INFO: Processing buffer {"connection_id":134854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65328ec0012d80f54005a12a580009015b33..."} 
[2026-07-15 15:28:09] local.INFO: Packet analysis {"connection_id":134854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6532"} 
[2026-07-15 15:28:09] local.INFO: Extracted packet for processing {"connection_id":134854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6532"} 
[2026-07-15 15:28:09] local.INFO: GPS Element Parsed {"raw_longitude":763426112,"raw_latitude":94448216,"longitude_deg":76.3426112,"latitude_deg":9.4448216,"altitude":9,"angle":347,"satellites":51,"speed":0,"hex_longitude":"2d80f540","hex_latitude":"05a12a58","is_valid_coordinates":true} 
[2026-07-15 15:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731888384001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347183535343271936,"note":"Value kept but may cause issues"} 
[2026-07-15 15:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9154340274637744128,"note":"Value kept but may cause issues"} 
[2026-07-15 15:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784109240000,"timestamp_ms":1784109240000,"timestamp_seconds":1784109240,"priority":1,"record_length":96,"hex_timestamp":"0000019f65328ec0"} 
[2026-07-15 15:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-15 15:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":134854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":134854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":134854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731888384001,"66":26136,"82":206,"85":14336,"24":0,"16":347183535343271936,"45":-9154340274637744128},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731888384001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:28:09] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:28:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347183535343271936,"km_value":347183535343271.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9154340274637744128,"description":"Unknown IO ID 45"} 
[2026-07-15 15:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731888384001,"power":26136,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9154340274637744128}} 
[2026-07-15 15:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":134854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:28:09] local.INFO: GPS data processed {"connection_id":134854,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:28:09] local.INFO: Acknowledgment sent {"connection_id":134854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:28:11] local.INFO: TCP Data received {"connection_id":134854,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f65328ec0012d80f54005a12a580009015b33..."} 
[2026-07-15 15:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65328ec0012d80f54005a12a580009015b33..."} 
[2026-07-15 15:28:11] local.INFO: Processing buffer {"connection_id":134854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65328ec0012d80f54005a12a580009015b33..."} 
[2026-07-15 15:28:11] local.INFO: Packet analysis {"connection_id":134854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6532"} 
[2026-07-15 15:28:11] local.INFO: Extracted packet for processing {"connection_id":134854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6532"} 
[2026-07-15 15:28:11] local.INFO: GPS Element Parsed {"raw_longitude":763426112,"raw_latitude":94448216,"longitude_deg":76.3426112,"latitude_deg":9.4448216,"altitude":9,"angle":347,"satellites":51,"speed":0,"hex_longitude":"2d80f540","hex_latitude":"05a12a58","is_valid_coordinates":true} 
[2026-07-15 15:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731888384001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347183535343271936,"note":"Value kept but may cause issues"} 
[2026-07-15 15:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9154340274637744128,"note":"Value kept but may cause issues"} 
[2026-07-15 15:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784109240000,"timestamp_ms":1784109240000,"timestamp_seconds":1784109240,"priority":1,"record_length":96,"hex_timestamp":"0000019f65328ec0"} 
[2026-07-15 15:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-15 15:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":134854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":134854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":134854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:28:11] 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-07-15 15:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731888384001,"66":26136,"82":206,"85":14336,"24":0,"16":347183535343271936,"45":-9154340274637744128},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731888384001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:28:11] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:28:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347183535343271936,"km_value":347183535343271.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9154340274637744128,"description":"Unknown IO ID 45"} 
[2026-07-15 15:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731888384001,"power":26136,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9154340274637744128}} 
[2026-07-15 15:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":134854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:28:11] local.INFO: GPS data processed {"connection_id":134854,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:28:11] local.INFO: Acknowledgment sent {"connection_id":134854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:28:42] local.INFO: TCP Data received {"connection_id":134854,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f65328ec0012d80f54005a12a580009015b33..."} 
[2026-07-15 15:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65328ec0012d80f54005a12a580009015b33..."} 
[2026-07-15 15:28:42] local.INFO: Processing buffer {"connection_id":134854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65328ec0012d80f54005a12a580009015b33..."} 
[2026-07-15 15:28:42] local.INFO: Packet analysis {"connection_id":134854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6532"} 
[2026-07-15 15:28:42] local.INFO: Extracted packet for processing {"connection_id":134854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6532"} 
[2026-07-15 15:28:42] local.INFO: GPS Element Parsed {"raw_longitude":763426112,"raw_latitude":94448216,"longitude_deg":76.3426112,"latitude_deg":9.4448216,"altitude":9,"angle":347,"satellites":51,"speed":0,"hex_longitude":"2d80f540","hex_latitude":"05a12a58","is_valid_coordinates":true} 
[2026-07-15 15:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731888384001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347183535343271936,"note":"Value kept but may cause issues"} 
[2026-07-15 15:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9154340274637744128,"note":"Value kept but may cause issues"} 
[2026-07-15 15:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784109240000,"timestamp_ms":1784109240000,"timestamp_seconds":1784109240,"priority":1,"record_length":96,"hex_timestamp":"0000019f65328ec0"} 
[2026-07-15 15:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-15 15:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":134854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":134854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":134854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:28:42] 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-07-15 15:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731888384001,"66":26136,"82":206,"85":14336,"24":0,"16":347183535343271936,"45":-9154340274637744128},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731888384001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:28:42] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:28:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347183535343271936,"km_value":347183535343271.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9154340274637744128,"description":"Unknown IO ID 45"} 
[2026-07-15 15:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731888384001,"power":26136,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9154340274637744128}} 
[2026-07-15 15:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":134854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:28:42] local.INFO: GPS data processed {"connection_id":134854,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:28:42] local.INFO: Acknowledgment sent {"connection_id":134854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:28:49] local.INFO: TCP Data received {"connection_id":132638,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132638,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:28:49] local.INFO: Processing buffer {"connection_id":132638,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:28:49] local.INFO: IMEI packet received {"connection_id":132638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 15:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":132638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:28:50] local.INFO: TCP Data received {"connection_id":132638,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132638,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:28:50] local.INFO: Processing buffer {"connection_id":132638,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:28:50] local.INFO: IMEI packet received {"connection_id":132638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":132638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:28:56] local.INFO: TCP Data received {"connection_id":132638,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132638,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:28:56] local.INFO: Processing buffer {"connection_id":132638,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:28:56] local.INFO: IMEI packet received {"connection_id":132638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":132638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:28:56] local.INFO: TCP Data received {"connection_id":132638,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f65356938012d181dc00721ad68004d00d129..."} 
[2026-07-15 15:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65356938012d181dc00721ad68004d00d129..."} 
[2026-07-15 15:28:56] local.INFO: Processing buffer {"connection_id":132638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65356938012d181dc00721ad68004d00d129..."} 
[2026-07-15 15:28:56] local.INFO: Packet analysis {"connection_id":132638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6535"} 
[2026-07-15 15:28:56] local.INFO: Extracted packet for processing {"connection_id":132638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6535"} 
[2026-07-15 15:28:56] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647592,"longitude_deg":75.65552,"latitude_deg":11.9647592,"altitude":77,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ad68","is_valid_coordinates":true} 
[2026-07-15 15:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732007936001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087373112737792,"note":"Value kept but may cause issues"} 
[2026-07-15 15:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097196032,"note":"Value kept but may cause issues"} 
[2026-07-15 15:28:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784109427000,"timestamp_ms":1784109427000,"timestamp_seconds":1784109427,"priority":1,"record_length":96,"hex_timestamp":"0000019f65356938"} 
[2026-07-15 15:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:28: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-07-15 15:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-15 15:28:56] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-15 15:28:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-15 15:28:56] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2958032968,"note":"Value kept but may cause issues"} 
[2026-07-15 15:28:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667660726741499928,"corrected_to":0} 
[2026-07-15 15:28:56] local.WARNING: Large IO value detected {"io_id":187,"raw_value":2281778456,"note":"Value kept but may cause issues"} 
[2026-07-15 15:28:56] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3221692848,"note":"Value kept but may cause issues"} 
[2026-07-15 15:28:56] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182062205894912,"note":"Value kept but may cause issues"} 
[2026-07-15 15:28:56] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2902510954,"note":"Value kept but may cause issues"} 
[2026-07-15 15:28:56] local.WARNING: Large IO value detected {"io_id":21,"raw_value":2690908160,"note":"Value kept but may cause issues"} 
[2026-07-15 15:28:56] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2427528161290968872,"note":"Value kept but may cause issues"} 
[2026-07-15 15:28:56] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194911232,"note":"Value kept but may cause issues"} 
[2026-07-15 15:28:56] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,160,159,197,45,192,173,77,40,10,66,115,78,95,1,240,97,227,101,33,4,113,205,187,31,80,41,239,48,2,21,7,69],"length":484,"final_offset":614,"validated_count":39,"validation_warnings":[{"io_id":205,"original":7667660726741499928,"validated":0}]} 
[2026-07-15 15:28:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548664714944315392,"timestamp_seconds":5548664714944315.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 15:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732007936001,"66":12341,"105":206,"83":41984,"24":0,"16":6087373112737792,"45":1737756168097196032},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732007936001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:28:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:28:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087373112737792,"km_value":6087373112737.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097196032,"description":"Unknown IO ID 45"} 
[2026-07-15 15:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732007936001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097196032}} 
[2026-07-15 15:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":132638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:28:56] local.INFO: GPS data processed {"connection_id":132638,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:28:56] local.INFO: Acknowledgment sent {"connection_id":132638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:29:00] local.INFO: TCP Data received {"connection_id":132447,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:29:00] local.INFO: Processing buffer {"connection_id":132447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:29:00] local.INFO: IMEI packet received {"connection_id":132447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":132447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:29:05] local.INFO: TCP Data received {"connection_id":132447,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:29:05] local.INFO: Processing buffer {"connection_id":132447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:29:05] local.INFO: IMEI packet received {"connection_id":132447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":132447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:29:06] local.INFO: TCP Data received {"connection_id":132447,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f65328ec0012d80f54005a12a580009015b33..."} 
[2026-07-15 15:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65328ec0012d80f54005a12a580009015b33..."} 
[2026-07-15 15:29:06] local.INFO: Processing buffer {"connection_id":132447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65328ec0012d80f54005a12a580009015b33..."} 
[2026-07-15 15:29:06] local.INFO: Packet analysis {"connection_id":132447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6532"} 
[2026-07-15 15:29:06] local.INFO: Extracted packet for processing {"connection_id":132447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6532"} 
[2026-07-15 15:29:06] local.INFO: GPS Element Parsed {"raw_longitude":763426112,"raw_latitude":94448216,"longitude_deg":76.3426112,"latitude_deg":9.4448216,"altitude":9,"angle":347,"satellites":51,"speed":0,"hex_longitude":"2d80f540","hex_latitude":"05a12a58","is_valid_coordinates":true} 
[2026-07-15 15:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731888384001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347183535343271936,"note":"Value kept but may cause issues"} 
[2026-07-15 15:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9154340274637744128,"note":"Value kept but may cause issues"} 
[2026-07-15 15:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784109240000,"timestamp_ms":1784109240000,"timestamp_seconds":1784109240,"priority":1,"record_length":96,"hex_timestamp":"0000019f65328ec0"} 
[2026-07-15 15:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-15 15:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:29:06] 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-07-15 15:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731888384001,"66":26136,"82":206,"85":14336,"24":0,"16":347183535343271936,"45":-9154340274637744128},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731888384001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:29:06] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:29:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347183535343271936,"km_value":347183535343271.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9154340274637744128,"description":"Unknown IO ID 45"} 
[2026-07-15 15:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731888384001,"power":26136,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9154340274637744128}} 
[2026-07-15 15:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":132447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:29:06] local.INFO: GPS data processed {"connection_id":132447,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:29:06] local.INFO: Acknowledgment sent {"connection_id":132447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:29:27] local.INFO: TCP Data received {"connection_id":132638,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f6535bb40012d181dc00721ad68004d00d128..."} 
[2026-07-15 15:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6535bb40012d181dc00721ad68004d00d128..."} 
[2026-07-15 15:29:27] local.INFO: Processing buffer {"connection_id":132638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6535bb40012d181dc00721ad68004d00d128..."} 
[2026-07-15 15:29:27] local.INFO: Packet analysis {"connection_id":132638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6535"} 
[2026-07-15 15:29:27] local.INFO: Extracted packet for processing {"connection_id":132638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6535"} 
[2026-07-15 15:29:27] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647592,"longitude_deg":75.65552,"latitude_deg":11.9647592,"altitude":77,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ad68","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732013312001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087373112737792,"note":"Value kept but may cause issues"} 
[2026-07-15 15:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097196032,"note":"Value kept but may cause issues"} 
[2026-07-15 15:29: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-07-15 15:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784109448000,"timestamp_ms":1784109448000,"timestamp_seconds":1784109448,"priority":1,"record_length":96,"hex_timestamp":"0000019f6535bb40"} 
[2026-07-15 15:29:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:29:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-15 15:29:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15: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-07-15 15:29:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":132638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":132638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":132638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732013312001,"66":12319,"105":206,"83":41984,"24":0,"16":6087373112737792,"45":1737756168097196032},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732013312001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:29:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:29:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087373112737792,"km_value":6087373112737.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097196032,"description":"Unknown IO ID 45"} 
[2026-07-15 15:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732013312001,"power":12319,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097196032}} 
[2026-07-15 15:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":132638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:29:28] local.INFO: GPS data processed {"connection_id":132638,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:29:28] local.INFO: Acknowledgment sent {"connection_id":132638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:29:35] local.INFO: TCP Data received {"connection_id":134855,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134855,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:29:35] local.INFO: Processing buffer {"connection_id":134855,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:29:35] local.INFO: IMEI packet received {"connection_id":134855,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 15:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":134855,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:29:37] local.INFO: TCP Data received {"connection_id":134855,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134855,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:29:37] local.INFO: Processing buffer {"connection_id":134855,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:29:37] local.INFO: IMEI packet received {"connection_id":134855,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 15:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":134855,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:29:38] local.INFO: TCP Data received {"connection_id":132447,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f65328ec0012d80f54005a12a580009015b33..."} 
[2026-07-15 15:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65328ec0012d80f54005a12a580009015b33..."} 
[2026-07-15 15:29:38] local.INFO: Processing buffer {"connection_id":132447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65328ec0012d80f54005a12a580009015b33..."} 
[2026-07-15 15:29:38] local.INFO: Packet analysis {"connection_id":132447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6532"} 
[2026-07-15 15:29:38] local.INFO: Extracted packet for processing {"connection_id":132447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6532"} 
[2026-07-15 15:29:38] local.INFO: GPS Element Parsed {"raw_longitude":763426112,"raw_latitude":94448216,"longitude_deg":76.3426112,"latitude_deg":9.4448216,"altitude":9,"angle":347,"satellites":51,"speed":0,"hex_longitude":"2d80f540","hex_latitude":"05a12a58","is_valid_coordinates":true} 
[2026-07-15 15:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731888384001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347183535343271936,"note":"Value kept but may cause issues"} 
[2026-07-15 15:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9154340274637744128,"note":"Value kept but may cause issues"} 
[2026-07-15 15:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784109240000,"timestamp_ms":1784109240000,"timestamp_seconds":1784109240,"priority":1,"record_length":96,"hex_timestamp":"0000019f65328ec0"} 
[2026-07-15 15:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-15 15:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731888384001,"66":26136,"82":206,"85":14336,"24":0,"16":347183535343271936,"45":-9154340274637744128},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731888384001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:29:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:29:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347183535343271936,"km_value":347183535343271.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9154340274637744128,"description":"Unknown IO ID 45"} 
[2026-07-15 15:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731888384001,"power":26136,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9154340274637744128}} 
[2026-07-15 15:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":132447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:29:38] local.INFO: GPS data processed {"connection_id":132447,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:29:38] local.INFO: Acknowledgment sent {"connection_id":132447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:29:40] local.INFO: TCP Data received {"connection_id":134855,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000000000001e4600100000000000000000000000000..."} 
[2026-07-15 15:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134855,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001e4600100000000000000000000000000..."} 
[2026-07-15 15:29:40] local.INFO: Processing buffer {"connection_id":134855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001e4600100000000000000000000000000..."} 
[2026-07-15 15:29:40] local.INFO: Packet analysis {"connection_id":134855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-15 15:29:40] local.INFO: Extracted packet for processing {"connection_id":134855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-15 15:29: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-07-15 15:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24652403609436160,"note":"Value kept but may cause issues"} 
[2026-07-15 15:29:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 15:29:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":124000,"timestamp_seconds":124,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 15:29:40] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-15 15:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":134855,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":134855,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-15 15:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":134855,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-15 15:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-15 15:29:40] local.WARNING: DEBUG: No valid data to process  
[2026-07-15 15:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":134855,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-15 15:29:40] local.ERROR: GPS data processing failed {"connection_id":134855,"error":"No valid data to process"} 
[2026-07-15 15:29:40] local.INFO: Acknowledgment sent {"connection_id":134855,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-15 15:29:44] local.INFO: TCP Data received {"connection_id":134855,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000000000001e4600100000000000000000000000000..."} 
[2026-07-15 15:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134855,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001e4600100000000000000000000000000..."} 
[2026-07-15 15:29:44] local.INFO: Processing buffer {"connection_id":134855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001e4600100000000000000000000000000..."} 
[2026-07-15 15:29:44] local.INFO: Packet analysis {"connection_id":134855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-15 15:29:44] local.INFO: Extracted packet for processing {"connection_id":134855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-15 15:29:44] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-15 15:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24652403609436160,"note":"Value kept but may cause issues"} 
[2026-07-15 15:29:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 15:29:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":124000,"timestamp_seconds":124,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 15:29:44] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-15 15:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":134855,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":134855,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-15 15:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":134855,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-15 15:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-15 15:29:44] local.WARNING: DEBUG: No valid data to process  
[2026-07-15 15:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":134855,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-15 15:29:44] local.ERROR: GPS data processing failed {"connection_id":134855,"error":"No valid data to process"} 
[2026-07-15 15:29:44] local.INFO: Acknowledgment sent {"connection_id":134855,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-15 15:29:51] local.INFO: TCP Data received {"connection_id":133481,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:29:51] local.INFO: Processing buffer {"connection_id":133481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:29:51] local.INFO: IMEI packet received {"connection_id":133481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 15:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":133481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:29:51] local.INFO: TCP Data received {"connection_id":133481,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:29:51] local.INFO: Processing buffer {"connection_id":133481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:29:51] local.INFO: IMEI packet received {"connection_id":133481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":133481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:29:56] local.INFO: TCP Data received {"connection_id":133481,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:29:56] local.INFO: Processing buffer {"connection_id":133481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:29:56] local.INFO: IMEI packet received {"connection_id":133481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":133481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:29:56] local.INFO: TCP Data received {"connection_id":133481,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f65360d48012d181dc00721ad68004d00d129..."} 
[2026-07-15 15:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65360d48012d181dc00721ad68004d00d129..."} 
[2026-07-15 15:29:56] local.INFO: Processing buffer {"connection_id":133481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65360d48012d181dc00721ad68004d00d129..."} 
[2026-07-15 15:29:56] local.INFO: Packet analysis {"connection_id":133481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6536"} 
[2026-07-15 15:29:56] local.INFO: Extracted packet for processing {"connection_id":133481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6536"} 
[2026-07-15 15:29:56] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647592,"longitude_deg":75.65552,"latitude_deg":11.9647592,"altitude":77,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ad68","is_valid_coordinates":true} 
[2026-07-15 15:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732018688001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087373112737792,"note":"Value kept but may cause issues"} 
[2026-07-15 15:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097196032,"note":"Value kept but may cause issues"} 
[2026-07-15 15:29:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784109469000,"timestamp_ms":1784109469000,"timestamp_seconds":1784109469,"priority":1,"record_length":96,"hex_timestamp":"0000019f65360d48"} 
[2026-07-15 15:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:29: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-07-15 15:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-15 15:29:56] 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-07-15 15:29:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732018688001,"66":12363,"105":206,"83":41984,"24":0,"16":6087373112737792,"45":1737756168097196032},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732018688001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:29:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:29:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087373112737792,"km_value":6087373112737.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097196032,"description":"Unknown IO ID 45"} 
[2026-07-15 15:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732018688001,"power":12363,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097196032}} 
[2026-07-15 15:29:57] local.INFO: DEBUG: GPS processor result {"connection_id":133481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:29:57] local.INFO: GPS data processed {"connection_id":133481,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:29:57] local.INFO: Acknowledgment sent {"connection_id":133481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:29:59] local.INFO: TCP Data received {"connection_id":134856,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134856,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:29:59] local.INFO: Processing buffer {"connection_id":134856,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:29:59] local.INFO: IMEI packet received {"connection_id":134856,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 15:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":134856,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:30:00] local.INFO: TCP Data received {"connection_id":134857,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:30:00] local.INFO: Processing buffer {"connection_id":134857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:30:00] local.INFO: IMEI packet received {"connection_id":134857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":134857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:30:06] local.INFO: TCP Data received {"connection_id":134857,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:30:06] local.INFO: Processing buffer {"connection_id":134857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:30:06] local.INFO: IMEI packet received {"connection_id":134857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":134857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:30:07] local.INFO: TCP Data received {"connection_id":134857,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f65372688012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65372688012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:30:07] local.INFO: Processing buffer {"connection_id":134857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65372688012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:30:07] local.INFO: Packet analysis {"connection_id":134857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6537"} 
[2026-07-15 15:30:07] local.INFO: Extracted packet for processing {"connection_id":134857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6537"} 
[2026-07-15 15:30:07] local.INFO: GPS Element Parsed {"raw_longitude":763426112,"raw_latitude":94448216,"longitude_deg":76.3426112,"latitude_deg":9.4448216,"altitude":9,"angle":347,"satellites":46,"speed":0,"hex_longitude":"2d80f540","hex_latitude":"05a12a58","is_valid_coordinates":true} 
[2026-07-15 15:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731965440001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347183535343271936,"note":"Value kept but may cause issues"} 
[2026-07-15 15:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9154340274637744128,"note":"Value kept but may cause issues"} 
[2026-07-15 15:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784109541000,"timestamp_ms":1784109541000,"timestamp_seconds":1784109541,"priority":1,"record_length":96,"hex_timestamp":"0000019f65372688"} 
[2026-07-15 15:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-15 15:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731965440001,"66":26006,"82":206,"85":14336,"24":0,"16":347183535343271936,"45":-9154340274637744128},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731965440001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:30:07] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:30:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347183535343271936,"km_value":347183535343271.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9154340274637744128,"description":"Unknown IO ID 45"} 
[2026-07-15 15:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731965440001,"power":26006,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9154340274637744128}} 
[2026-07-15 15:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":134857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:30:07] local.INFO: GPS data processed {"connection_id":134857,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:30:07] local.INFO: Acknowledgment sent {"connection_id":134857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:30:24] local.INFO: TCP Data received {"connection_id":134855,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a00000000000236680100000000000000000000000000..."} 
[2026-07-15 15:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134855,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000236680100000000000000000000000000..."} 
[2026-07-15 15:30:24] local.INFO: Processing buffer {"connection_id":134855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000236680100000000000000000000000000..."} 
[2026-07-15 15:30:24] local.INFO: Packet analysis {"connection_id":134855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-07-15 15:30:24] local.INFO: Extracted packet for processing {"connection_id":134855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-07-15 15:30: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-07-15 15: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-07-15 15:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24652403609436160,"note":"Value kept but may cause issues"} 
[2026-07-15 15:30:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 15:30:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":145000,"timestamp_seconds":145,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 15:30:24] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-15 15:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":134855,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":134855,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-15 15:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":134855,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-15 15:30:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-15 15:30:25] local.WARNING: DEBUG: No valid data to process  
[2026-07-15 15:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":134855,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-15 15:30:25] local.ERROR: GPS data processing failed {"connection_id":134855,"error":"No valid data to process"} 
[2026-07-15 15:30:25] local.INFO: Acknowledgment sent {"connection_id":134855,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-15 15:30:28] local.INFO: TCP Data received {"connection_id":133481,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f65365f50012d181dc00721ad68004d00d129..."} 
[2026-07-15 15:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65365f50012d181dc00721ad68004d00d129..."} 
[2026-07-15 15:30:28] local.INFO: Processing buffer {"connection_id":133481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65365f50012d181dc00721ad68004d00d129..."} 
[2026-07-15 15:30:28] local.INFO: Packet analysis {"connection_id":133481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6536"} 
[2026-07-15 15:30:28] local.INFO: Extracted packet for processing {"connection_id":133481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6536"} 
[2026-07-15 15:30:28] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647592,"longitude_deg":75.65552,"latitude_deg":11.9647592,"altitude":77,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ad68","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732024064001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087373112737792,"note":"Value kept but may cause issues"} 
[2026-07-15 15:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097196032,"note":"Value kept but may cause issues"} 
[2026-07-15 15:30: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-07-15 15:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784109490000,"timestamp_ms":1784109490000,"timestamp_seconds":1784109490,"priority":1,"record_length":96,"hex_timestamp":"0000019f65365f50"} 
[2026-07-15 15:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:30: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-07-15 15: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-15 15:30:28] 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-07-15 15: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-07-15 15:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":133481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":133481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":133481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732024064001,"66":12341,"105":206,"83":41984,"24":0,"16":6087373112737792,"45":1737756168097196032},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732024064001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:30:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:30:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087373112737792,"km_value":6087373112737.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097196032,"description":"Unknown IO ID 45"} 
[2026-07-15 15:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732024064001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097196032}} 
[2026-07-15 15:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":133481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:30:28] local.INFO: GPS data processed {"connection_id":133481,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:30:28] local.INFO: Acknowledgment sent {"connection_id":133481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:30:34] local.INFO: TCP Data received {"connection_id":134858,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134858,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:30:34] local.INFO: Processing buffer {"connection_id":134858,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:30:34] local.INFO: IMEI packet received {"connection_id":134858,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 15:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":134858,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:30:38] local.INFO: TCP Data received {"connection_id":134857,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f65372688012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65372688012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:30:38] local.INFO: Processing buffer {"connection_id":134857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65372688012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:30:38] local.INFO: Packet analysis {"connection_id":134857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6537"} 
[2026-07-15 15:30:38] local.INFO: Extracted packet for processing {"connection_id":134857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6537"} 
[2026-07-15 15:30:38] local.INFO: GPS Element Parsed {"raw_longitude":763426112,"raw_latitude":94448216,"longitude_deg":76.3426112,"latitude_deg":9.4448216,"altitude":9,"angle":347,"satellites":46,"speed":0,"hex_longitude":"2d80f540","hex_latitude":"05a12a58","is_valid_coordinates":true} 
[2026-07-15 15:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731965440001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347183535343271936,"note":"Value kept but may cause issues"} 
[2026-07-15 15:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9154340274637744128,"note":"Value kept but may cause issues"} 
[2026-07-15 15:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784109541000,"timestamp_ms":1784109541000,"timestamp_seconds":1784109541,"priority":1,"record_length":96,"hex_timestamp":"0000019f65372688"} 
[2026-07-15 15:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-15 15:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731965440001,"66":26006,"82":206,"85":14336,"24":0,"16":347183535343271936,"45":-9154340274637744128},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731965440001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:30:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:30:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347183535343271936,"km_value":347183535343271.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9154340274637744128,"description":"Unknown IO ID 45"} 
[2026-07-15 15:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731965440001,"power":26006,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9154340274637744128}} 
[2026-07-15 15:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":134857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:30:38] local.INFO: GPS data processed {"connection_id":134857,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:30:38] local.INFO: Acknowledgment sent {"connection_id":134857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:30:50] local.INFO: TCP Data received {"connection_id":132448,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:30:50] local.INFO: Processing buffer {"connection_id":132448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:30:50] local.INFO: IMEI packet received {"connection_id":132448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 15:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":132448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:30:54] local.INFO: TCP Data received {"connection_id":132448,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:30:54] local.INFO: Processing buffer {"connection_id":132448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:30:54] local.INFO: IMEI packet received {"connection_id":132448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":132448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:30:55] local.INFO: TCP Data received {"connection_id":132448,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f6536b158012d181dc00721ad68004d00d129..."} 
[2026-07-15 15:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6536b158012d181dc00721ad68004d00d129..."} 
[2026-07-15 15:30:55] local.INFO: Processing buffer {"connection_id":132448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6536b158012d181dc00721ad68004d00d129..."} 
[2026-07-15 15:30:55] local.INFO: Packet analysis {"connection_id":132448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6536"} 
[2026-07-15 15:30:55] local.INFO: Extracted packet for processing {"connection_id":132448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6536"} 
[2026-07-15 15:30:55] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647592,"longitude_deg":75.65552,"latitude_deg":11.9647592,"altitude":77,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ad68","is_valid_coordinates":true} 
[2026-07-15 15:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732029440001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087373112737792,"note":"Value kept but may cause issues"} 
[2026-07-15 15:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097196032,"note":"Value kept but may cause issues"} 
[2026-07-15 15:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784109511000,"timestamp_ms":1784109511000,"timestamp_seconds":1784109511,"priority":1,"record_length":96,"hex_timestamp":"0000019f6536b158"} 
[2026-07-15 15:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:30: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-07-15 15:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-15 15:30:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:30:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":132448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":132448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":132448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732029440001,"66":12374,"105":206,"83":41984,"24":0,"16":6087373112737792,"45":1737756168097196032},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732029440001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:30:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:30:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087373112737792,"km_value":6087373112737.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097196032,"description":"Unknown IO ID 45"} 
[2026-07-15 15:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732029440001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097196032}} 
[2026-07-15 15:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":132448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491463,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:30:55] local.INFO: GPS data processed {"connection_id":132448,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:30:55] local.INFO: Acknowledgment sent {"connection_id":132448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:30:58] local.INFO: TCP Data received {"connection_id":134855,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f653834100100000000000000000000000000..."} 
[2026-07-15 15:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f653834100100000000000000000000000000..."} 
[2026-07-15 15:30:58] local.INFO: Processing buffer {"connection_id":134855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f653834100100000000000000000000000000..."} 
[2026-07-15 15:30:58] local.INFO: Packet analysis {"connection_id":134855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6538"} 
[2026-07-15 15:30:58] local.INFO: Extracted packet for processing {"connection_id":134855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6538"} 
[2026-07-15 15:30:58] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-15 15:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24652403609436160,"note":"Value kept but may cause issues"} 
[2026-07-15 15:30:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 15:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784109610000,"timestamp_ms":1784109610000,"timestamp_seconds":1784109610,"priority":1,"record_length":96,"hex_timestamp":"0000019f65383410"} 
[2026-07-15 15:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:30:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5120,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-15 15:30:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:30:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":134855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":134855,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":134855,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:30:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 15:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 15:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":134855,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 15:30:58] local.INFO: GPS data processed {"connection_id":134855,"processed":0,"errors":0,"total":1} 
[2026-07-15 15:30:58] local.INFO: Acknowledgment sent {"connection_id":134855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:31:06] local.INFO: TCP Data received {"connection_id":133482,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:31:06] local.INFO: Processing buffer {"connection_id":133482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:31:06] local.INFO: IMEI packet received {"connection_id":133482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":133482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:31:11] local.INFO: TCP Data received {"connection_id":133482,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:31:11] local.INFO: Processing buffer {"connection_id":133482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:31:11] local.INFO: IMEI packet received {"connection_id":133482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":133482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:31:11] local.INFO: TCP Data received {"connection_id":133482,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f65372688012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65372688012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:31:11] local.INFO: Processing buffer {"connection_id":133482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65372688012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:31:11] local.INFO: Packet analysis {"connection_id":133482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6537"} 
[2026-07-15 15:31:11] local.INFO: Extracted packet for processing {"connection_id":133482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6537"} 
[2026-07-15 15:31:11] local.INFO: GPS Element Parsed {"raw_longitude":763426112,"raw_latitude":94448216,"longitude_deg":76.3426112,"latitude_deg":9.4448216,"altitude":9,"angle":347,"satellites":46,"speed":0,"hex_longitude":"2d80f540","hex_latitude":"05a12a58","is_valid_coordinates":true} 
[2026-07-15 15:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731965440001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347183535343271936,"note":"Value kept but may cause issues"} 
[2026-07-15 15:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9154340274637744128,"note":"Value kept but may cause issues"} 
[2026-07-15 15:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784109541000,"timestamp_ms":1784109541000,"timestamp_seconds":1784109541,"priority":1,"record_length":96,"hex_timestamp":"0000019f65372688"} 
[2026-07-15 15:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-15 15:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":133482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":133482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":133482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:31:11] 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-07-15 15:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731965440001,"66":26006,"82":206,"85":14336,"24":0,"16":347183535343271936,"45":-9154340274637744128},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731965440001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:31:11] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:31:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347183535343271936,"km_value":347183535343271.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9154340274637744128,"description":"Unknown IO ID 45"} 
[2026-07-15 15:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731965440001,"power":26006,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9154340274637744128}} 
[2026-07-15 15:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":133482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:31:11] local.INFO: GPS data processed {"connection_id":133482,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:31:11] local.INFO: Acknowledgment sent {"connection_id":133482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:31:16] local.INFO: TCP Data received {"connection_id":133482,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f65372688012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65372688012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:31:16] local.INFO: Processing buffer {"connection_id":133482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65372688012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:31:16] local.INFO: Packet analysis {"connection_id":133482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6537"} 
[2026-07-15 15:31:16] local.INFO: Extracted packet for processing {"connection_id":133482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6537"} 
[2026-07-15 15:31:16] local.INFO: GPS Element Parsed {"raw_longitude":763426112,"raw_latitude":94448216,"longitude_deg":76.3426112,"latitude_deg":9.4448216,"altitude":9,"angle":347,"satellites":46,"speed":0,"hex_longitude":"2d80f540","hex_latitude":"05a12a58","is_valid_coordinates":true} 
[2026-07-15 15:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731965440001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347183535343271936,"note":"Value kept but may cause issues"} 
[2026-07-15 15:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9154340274637744128,"note":"Value kept but may cause issues"} 
[2026-07-15 15:31:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784109541000,"timestamp_ms":1784109541000,"timestamp_seconds":1784109541,"priority":1,"record_length":96,"hex_timestamp":"0000019f65372688"} 
[2026-07-15 15:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:31:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-15 15:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:31:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":133482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":133482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":133482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:31:16] 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-07-15 15:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731965440001,"66":26006,"82":206,"85":14336,"24":0,"16":347183535343271936,"45":-9154340274637744128},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731965440001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:31:16] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:31:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347183535343271936,"km_value":347183535343271.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9154340274637744128,"description":"Unknown IO ID 45"} 
[2026-07-15 15:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731965440001,"power":26006,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9154340274637744128}} 
[2026-07-15 15:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":133482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:31:16] local.INFO: GPS data processed {"connection_id":133482,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:31:16] local.INFO: Acknowledgment sent {"connection_id":133482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:31:26] local.INFO: TCP Data received {"connection_id":132448,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e010000019f65370360012d181dc00721ad68004d00d12a..."} 
[2026-07-15 15:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132448,"packet_length":93,"packet_hex":"00000000000000518e010000019f65370360012d181dc00721ad68004d00d12a..."} 
[2026-07-15 15:31:26] local.INFO: Processing buffer {"connection_id":132448,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f65370360012d181dc00721ad68004d00d12a..."} 
[2026-07-15 15:31:26] local.INFO: Packet analysis {"connection_id":132448,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f6537"} 
[2026-07-15 15:31:26] local.INFO: Extracted packet for processing {"connection_id":132448,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f6537"} 
[2026-07-15 15:31:26] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647592,"longitude_deg":75.65552,"latitude_deg":11.9647592,"altitude":77,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ad68","is_valid_coordinates":true} 
[2026-07-15 15: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":93,"current_offset":40} 
[2026-07-15 15:31:26] 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-07-15 15:31:26] 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-07-15 15:31:26] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:31:26] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-15 15:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":132448,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-15 15:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":132448,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-15 15:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":132448,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-15 15:31:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-15 15:31:26] local.WARNING: DEBUG: No valid data to process  
[2026-07-15 15:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":132448,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-15 15:31:26] local.ERROR: GPS data processing failed {"connection_id":132448,"error":"No valid data to process"} 
[2026-07-15 15:31:26] local.INFO: Acknowledgment sent {"connection_id":132448,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-15 15:31:31] local.INFO: TCP Data received {"connection_id":134855,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f653886180100000000000000000000000000..."} 
[2026-07-15 15:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f653886180100000000000000000000000000..."} 
[2026-07-15 15:31:31] local.INFO: Processing buffer {"connection_id":134855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f653886180100000000000000000000000000..."} 
[2026-07-15 15:31:31] local.INFO: Packet analysis {"connection_id":134855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6538"} 
[2026-07-15 15:31:31] local.INFO: Extracted packet for processing {"connection_id":134855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6538"} 
[2026-07-15 15:31:31] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-15 15:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24652403609436160,"note":"Value kept but may cause issues"} 
[2026-07-15 15:31:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 15:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784109631000,"timestamp_ms":1784109631000,"timestamp_seconds":1784109631,"priority":1,"record_length":96,"hex_timestamp":"0000019f65388618"} 
[2026-07-15 15:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-15 15:31:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":134855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":134855,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":134855,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 15:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 15:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":134855,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 15:31:31] local.INFO: GPS data processed {"connection_id":134855,"processed":0,"errors":0,"total":1} 
[2026-07-15 15:31:31] local.INFO: Acknowledgment sent {"connection_id":134855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:31:50] local.INFO: TCP Data received {"connection_id":132450,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132450,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:31:50] local.INFO: Processing buffer {"connection_id":132450,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:31:50] local.INFO: IMEI packet received {"connection_id":132450,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 15:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":132450,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:31:56] local.INFO: TCP Data received {"connection_id":132450,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132450,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:31:56] local.INFO: Processing buffer {"connection_id":132450,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:31:56] local.INFO: IMEI packet received {"connection_id":132450,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":132450,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:31:56] local.INFO: TCP Data received {"connection_id":132450,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f65375568012d181dc00721ad68004d00d129..."} 
[2026-07-15 15:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65375568012d181dc00721ad68004d00d129..."} 
[2026-07-15 15:31:56] local.INFO: Processing buffer {"connection_id":132450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65375568012d181dc00721ad68004d00d129..."} 
[2026-07-15 15:31:56] local.INFO: Packet analysis {"connection_id":132450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6537"} 
[2026-07-15 15:31:56] local.INFO: Extracted packet for processing {"connection_id":132450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6537"} 
[2026-07-15 15:31:56] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647592,"longitude_deg":75.65552,"latitude_deg":11.9647592,"altitude":77,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ad68","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732040192001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087373112737792,"note":"Value kept but may cause issues"} 
[2026-07-15 15:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097196032,"note":"Value kept but may cause issues"} 
[2026-07-15 15:31:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784109553000,"timestamp_ms":1784109553000,"timestamp_seconds":1784109553,"priority":1,"record_length":96,"hex_timestamp":"0000019f65375568"} 
[2026-07-15 15:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:31: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-07-15 15:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-15 15:31:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15: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-07-15 15:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:31:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732040192001,"66":12374,"105":206,"83":41984,"24":0,"16":6087373112737792,"45":1737756168097196032},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732040192001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:31:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:31:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087373112737792,"km_value":6087373112737.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097196032,"description":"Unknown IO ID 45"} 
[2026-07-15 15:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732040192001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097196032}} 
[2026-07-15 15:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":132450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:31:57] local.INFO: GPS data processed {"connection_id":132450,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:31:57] local.INFO: Acknowledgment sent {"connection_id":132450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:32:01] local.INFO: TCP Data received {"connection_id":134859,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:32:01] local.INFO: Processing buffer {"connection_id":134859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:32:01] local.INFO: IMEI packet received {"connection_id":134859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":134859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:32:06] local.INFO: TCP Data received {"connection_id":134859,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:32:06] local.INFO: Processing buffer {"connection_id":134859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:32:06] local.INFO: IMEI packet received {"connection_id":134859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":134859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:32:07] local.INFO: TCP Data received {"connection_id":134859,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f65372688012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65372688012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:32:07] local.INFO: Processing buffer {"connection_id":134859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65372688012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:32:07] local.INFO: Packet analysis {"connection_id":134859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6537"} 
[2026-07-15 15:32:07] local.INFO: Extracted packet for processing {"connection_id":134859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6537"} 
[2026-07-15 15:32:07] local.INFO: GPS Element Parsed {"raw_longitude":763426112,"raw_latitude":94448216,"longitude_deg":76.3426112,"latitude_deg":9.4448216,"altitude":9,"angle":347,"satellites":46,"speed":0,"hex_longitude":"2d80f540","hex_latitude":"05a12a58","is_valid_coordinates":true} 
[2026-07-15 15:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731965440001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347183535343271936,"note":"Value kept but may cause issues"} 
[2026-07-15 15:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9154340274637744128,"note":"Value kept but may cause issues"} 
[2026-07-15 15:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784109541000,"timestamp_ms":1784109541000,"timestamp_seconds":1784109541,"priority":1,"record_length":96,"hex_timestamp":"0000019f65372688"} 
[2026-07-15 15:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-15 15:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731965440001,"66":26006,"82":206,"85":14336,"24":0,"16":347183535343271936,"45":-9154340274637744128},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731965440001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:32:07] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:32:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347183535343271936,"km_value":347183535343271.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9154340274637744128,"description":"Unknown IO ID 45"} 
[2026-07-15 15:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731965440001,"power":26006,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9154340274637744128}} 
[2026-07-15 15:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":134859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:32:07] local.INFO: GPS data processed {"connection_id":134859,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:32:07] local.INFO: Acknowledgment sent {"connection_id":134859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:32:16] local.INFO: TCP Data received {"connection_id":134855,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f6538d8200100000000000000000000000000..."} 
[2026-07-15 15:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6538d8200100000000000000000000000000..."} 
[2026-07-15 15:32:16] local.INFO: Processing buffer {"connection_id":134855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6538d8200100000000000000000000000000..."} 
[2026-07-15 15:32:16] local.INFO: Packet analysis {"connection_id":134855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6538"} 
[2026-07-15 15:32:16] local.INFO: Extracted packet for processing {"connection_id":134855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6538"} 
[2026-07-15 15:32: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-07-15 15:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24652403609436160,"note":"Value kept but may cause issues"} 
[2026-07-15 15:32:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,37,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 15:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784109652000,"timestamp_ms":1784109652000,"timestamp_seconds":1784109652,"priority":1,"record_length":96,"hex_timestamp":"0000019f6538d820"} 
[2026-07-15 15:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:32:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 15:32:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:32:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":134855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":134855,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":134855,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:32:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 15:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 15:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":134855,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 15:32:16] local.INFO: GPS data processed {"connection_id":134855,"processed":0,"errors":0,"total":1} 
[2026-07-15 15:32:16] local.INFO: Acknowledgment sent {"connection_id":134855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:32:28] local.INFO: TCP Data received {"connection_id":132450,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f6537a770012d181dc00721ad68004d00d12a..."} 
[2026-07-15 15:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6537a770012d181dc00721ad68004d00d12a..."} 
[2026-07-15 15:32:28] local.INFO: Processing buffer {"connection_id":132450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6537a770012d181dc00721ad68004d00d12a..."} 
[2026-07-15 15:32:28] local.INFO: Packet analysis {"connection_id":132450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6537"} 
[2026-07-15 15:32:28] local.INFO: Extracted packet for processing {"connection_id":132450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6537"} 
[2026-07-15 15:32:28] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647592,"longitude_deg":75.65552,"latitude_deg":11.9647592,"altitude":77,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ad68","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732045568001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087373112737792,"note":"Value kept but may cause issues"} 
[2026-07-15 15:32:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097196032,"note":"Value kept but may cause issues"} 
[2026-07-15 15:32:28] 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-07-15 15:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784109574000,"timestamp_ms":1784109574000,"timestamp_seconds":1784109574,"priority":1,"record_length":96,"hex_timestamp":"0000019f6537a770"} 
[2026-07-15 15:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:32: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-07-15 15: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-15 15:32:28] 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-07-15 15: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-07-15 15:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732045568001,"66":12341,"107":206,"83":41984,"24":0,"16":6087373112737792,"45":1737756168097196032},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-15 15:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732045568001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:32:28] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-15 15:32:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087373112737792,"km_value":6087373112737.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097196032,"description":"Unknown IO ID 45"} 
[2026-07-15 15:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732045568001,"power":12341,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097196032}} 
[2026-07-15 15:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":132450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:32:28] local.INFO: GPS data processed {"connection_id":132450,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:32:28] local.INFO: Acknowledgment sent {"connection_id":132450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:32:38] local.INFO: TCP Data received {"connection_id":134859,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f65372688012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65372688012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:32:38] local.INFO: Processing buffer {"connection_id":134859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65372688012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:32:38] local.INFO: Packet analysis {"connection_id":134859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6537"} 
[2026-07-15 15:32:38] local.INFO: Extracted packet for processing {"connection_id":134859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6537"} 
[2026-07-15 15:32:38] local.INFO: GPS Element Parsed {"raw_longitude":763426112,"raw_latitude":94448216,"longitude_deg":76.3426112,"latitude_deg":9.4448216,"altitude":9,"angle":347,"satellites":46,"speed":0,"hex_longitude":"2d80f540","hex_latitude":"05a12a58","is_valid_coordinates":true} 
[2026-07-15 15:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731965440001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347183535343271936,"note":"Value kept but may cause issues"} 
[2026-07-15 15:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9154340274637744128,"note":"Value kept but may cause issues"} 
[2026-07-15 15:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784109541000,"timestamp_ms":1784109541000,"timestamp_seconds":1784109541,"priority":1,"record_length":96,"hex_timestamp":"0000019f65372688"} 
[2026-07-15 15:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-15 15:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731965440001,"66":26006,"82":206,"85":14336,"24":0,"16":347183535343271936,"45":-9154340274637744128},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731965440001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:32:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:32:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347183535343271936,"km_value":347183535343271.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9154340274637744128,"description":"Unknown IO ID 45"} 
[2026-07-15 15:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731965440001,"power":26006,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9154340274637744128}} 
[2026-07-15 15:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":134859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:32:38] local.INFO: GPS data processed {"connection_id":134859,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:32:38] local.INFO: Acknowledgment sent {"connection_id":134859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:32:50] local.INFO: TCP Data received {"connection_id":132639,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:32:50] local.INFO: Processing buffer {"connection_id":132639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:32:50] local.INFO: IMEI packet received {"connection_id":132639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 15:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":132639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:32:52] local.INFO: TCP Data received {"connection_id":134861,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134861,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:32:52] local.INFO: Processing buffer {"connection_id":134861,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:32:52] local.INFO: IMEI packet received {"connection_id":134861,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 15:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":134861,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:32:55] local.INFO: TCP Data received {"connection_id":132639,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:32:55] local.INFO: Processing buffer {"connection_id":132639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:32:55] local.INFO: IMEI packet received {"connection_id":132639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":132639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:32:56] local.INFO: TCP Data received {"connection_id":132639,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f6537f978012d181dc00721ad68004d00d12a..."} 
[2026-07-15 15:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6537f978012d181dc00721ad68004d00d12a..."} 
[2026-07-15 15:32:56] local.INFO: Processing buffer {"connection_id":132639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6537f978012d181dc00721ad68004d00d12a..."} 
[2026-07-15 15:32:56] local.INFO: Packet analysis {"connection_id":132639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6537"} 
[2026-07-15 15:32:56] local.INFO: Extracted packet for processing {"connection_id":132639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6537"} 
[2026-07-15 15:32:56] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647592,"longitude_deg":75.65552,"latitude_deg":11.9647592,"altitude":77,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ad68","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732050944001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087373112737792,"note":"Value kept but may cause issues"} 
[2026-07-15 15:32:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097196032,"note":"Value kept but may cause issues"} 
[2026-07-15 15:32:56] 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-07-15 15:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784109595000,"timestamp_ms":1784109595000,"timestamp_seconds":1784109595,"priority":1,"record_length":96,"hex_timestamp":"0000019f6537f978"} 
[2026-07-15 15:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:32: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-07-15 15: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-15 15:32:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15: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-07-15 15:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:32:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732050944001,"66":12341,"107":206,"83":41984,"24":0,"16":6087373112737792,"45":1737756168097196032},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-15 15:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732050944001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:32:56] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-15 15:32:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087373112737792,"km_value":6087373112737.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:32:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097196032,"description":"Unknown IO ID 45"} 
[2026-07-15 15:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732050944001,"power":12341,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097196032}} 
[2026-07-15 15:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":132639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:32:56] local.INFO: GPS data processed {"connection_id":132639,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:32:56] local.INFO: Acknowledgment sent {"connection_id":132639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:32:57] local.INFO: TCP Data received {"connection_id":134861,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134861,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:32:57] local.INFO: Processing buffer {"connection_id":134861,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:32:57] local.INFO: IMEI packet received {"connection_id":134861,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 15:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":134861,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:32:58] local.INFO: TCP Data received {"connection_id":134861,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f65392a280100000000000000000000000000..."} 
[2026-07-15 15:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65392a280100000000000000000000000000..."} 
[2026-07-15 15:32:58] local.INFO: Processing buffer {"connection_id":134861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65392a280100000000000000000000000000..."} 
[2026-07-15 15:32:58] local.INFO: Packet analysis {"connection_id":134861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6539"} 
[2026-07-15 15:32:58] local.INFO: Extracted packet for processing {"connection_id":134861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6539"} 
[2026-07-15 15:32:58] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-15 15:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:32:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24652403609436160,"note":"Value kept but may cause issues"} 
[2026-07-15 15:32:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,37,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 15:32:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784109673000,"timestamp_ms":1784109673000,"timestamp_seconds":1784109673,"priority":1,"record_length":96,"hex_timestamp":"0000019f65392a28"} 
[2026-07-15 15:32:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:32:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-07-15 15:32:58] 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-07-15 15:32:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:32:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:32:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:32:58] local.INFO: Teltonika packet parsed successfully {"connection_id":134861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:32:58] local.INFO: Passing IMEI to GPS processor {"connection_id":134861,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:32:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":134861,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:32:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:32:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 15:32:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 15:32:58] local.INFO: DEBUG: GPS processor result {"connection_id":134861,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 15:32:58] local.INFO: GPS data processed {"connection_id":134861,"processed":0,"errors":0,"total":1} 
[2026-07-15 15:32:58] local.INFO: Acknowledgment sent {"connection_id":134861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:33:00] local.INFO: TCP Data received {"connection_id":132640,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:33:00] local.INFO: Processing buffer {"connection_id":132640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:33:00] local.INFO: IMEI packet received {"connection_id":132640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":132640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:33:06] local.INFO: TCP Data received {"connection_id":132640,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:33:06] local.INFO: Processing buffer {"connection_id":132640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:33:06] local.INFO: IMEI packet received {"connection_id":132640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":132640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:33:12] local.INFO: TCP Data received {"connection_id":132640,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f65372688012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65372688012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:33:12] local.INFO: Processing buffer {"connection_id":132640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65372688012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:33:12] local.INFO: Packet analysis {"connection_id":132640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6537"} 
[2026-07-15 15:33:12] local.INFO: Extracted packet for processing {"connection_id":132640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6537"} 
[2026-07-15 15:33:12] local.INFO: GPS Element Parsed {"raw_longitude":763426112,"raw_latitude":94448216,"longitude_deg":76.3426112,"latitude_deg":9.4448216,"altitude":9,"angle":347,"satellites":46,"speed":0,"hex_longitude":"2d80f540","hex_latitude":"05a12a58","is_valid_coordinates":true} 
[2026-07-15 15:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731965440001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347183535343271936,"note":"Value kept but may cause issues"} 
[2026-07-15 15:33:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9154340274637744128,"note":"Value kept but may cause issues"} 
[2026-07-15 15:33:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784109541000,"timestamp_ms":1784109541000,"timestamp_seconds":1784109541,"priority":1,"record_length":96,"hex_timestamp":"0000019f65372688"} 
[2026-07-15 15:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-15 15:33:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:33:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:33:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731965440001,"66":26006,"82":206,"85":14336,"24":0,"16":347183535343271936,"45":-9154340274637744128},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731965440001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:33:12] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:33:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347183535343271936,"km_value":347183535343271.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:33:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9154340274637744128,"description":"Unknown IO ID 45"} 
[2026-07-15 15:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731965440001,"power":26006,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9154340274637744128}} 
[2026-07-15 15:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":132640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:33:12] local.INFO: GPS data processed {"connection_id":132640,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:33:12] local.INFO: Acknowledgment sent {"connection_id":132640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:33:27] local.INFO: TCP Data received {"connection_id":132639,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f65384f68012d181dc00721ad68004d00d12a..."} 
[2026-07-15 15:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65384f68012d181dc00721ad68004d00d12a..."} 
[2026-07-15 15:33:27] local.INFO: Processing buffer {"connection_id":132639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65384f68012d181dc00721ad68004d00d12a..."} 
[2026-07-15 15:33:27] local.INFO: Packet analysis {"connection_id":132639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6538"} 
[2026-07-15 15:33:27] local.INFO: Extracted packet for processing {"connection_id":132639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6538"} 
[2026-07-15 15:33:27] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647592,"longitude_deg":75.65552,"latitude_deg":11.9647592,"altitude":77,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ad68","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732056320001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087373112737792,"note":"Value kept but may cause issues"} 
[2026-07-15 15:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097196032,"note":"Value kept but may cause issues"} 
[2026-07-15 15:33:27] 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-07-15 15:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784109617000,"timestamp_ms":1784109617000,"timestamp_seconds":1784109617,"priority":1,"record_length":96,"hex_timestamp":"0000019f65384f68"} 
[2026-07-15 15:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:33:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-15 15:33:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15: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-07-15 15:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":132639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":132639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":132639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732056320001,"66":12341,"107":206,"83":41984,"24":0,"16":6087373112737792,"45":1737756168097196032},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-15 15:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732056320001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:33:27] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-15 15:33:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087373112737792,"km_value":6087373112737.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097196032,"description":"Unknown IO ID 45"} 
[2026-07-15 15:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732056320001,"power":12341,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097196032}} 
[2026-07-15 15:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":132639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:33:27] local.INFO: GPS data processed {"connection_id":132639,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:33:27] local.INFO: Acknowledgment sent {"connection_id":132639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:33:29] local.INFO: TCP Data received {"connection_id":134861,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f65397c300100000000000000000000000000..."} 
[2026-07-15 15:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65397c300100000000000000000000000000..."} 
[2026-07-15 15:33:29] local.INFO: Processing buffer {"connection_id":134861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65397c300100000000000000000000000000..."} 
[2026-07-15 15:33:29] local.INFO: Packet analysis {"connection_id":134861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6539"} 
[2026-07-15 15:33:29] local.INFO: Extracted packet for processing {"connection_id":134861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6539"} 
[2026-07-15 15:33:29] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-15 15:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:33:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24652403609436160,"note":"Value kept but may cause issues"} 
[2026-07-15 15:33:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 15:33:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784109694000,"timestamp_ms":1784109694000,"timestamp_seconds":1784109694,"priority":1,"record_length":96,"hex_timestamp":"0000019f65397c30"} 
[2026-07-15 15:33:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:33:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-15 15:33: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-07-15 15:33:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:33:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:33:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:33:29] local.INFO: Teltonika packet parsed successfully {"connection_id":134861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:33:29] local.INFO: Passing IMEI to GPS processor {"connection_id":134861,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:33:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":134861,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:33:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:33:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 15:33:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 15:33:29] local.INFO: DEBUG: GPS processor result {"connection_id":134861,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 15:33:29] local.INFO: GPS data processed {"connection_id":134861,"processed":0,"errors":0,"total":1} 
[2026-07-15 15:33:29] local.INFO: Acknowledgment sent {"connection_id":134861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:33:43] local.INFO: TCP Data received {"connection_id":132640,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f65372688012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65372688012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:33:43] local.INFO: Processing buffer {"connection_id":132640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65372688012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:33:43] local.INFO: Packet analysis {"connection_id":132640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6537"} 
[2026-07-15 15:33:43] local.INFO: Extracted packet for processing {"connection_id":132640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6537"} 
[2026-07-15 15:33:43] local.INFO: GPS Element Parsed {"raw_longitude":763426112,"raw_latitude":94448216,"longitude_deg":76.3426112,"latitude_deg":9.4448216,"altitude":9,"angle":347,"satellites":46,"speed":0,"hex_longitude":"2d80f540","hex_latitude":"05a12a58","is_valid_coordinates":true} 
[2026-07-15 15:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731965440001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347183535343271936,"note":"Value kept but may cause issues"} 
[2026-07-15 15:33:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9154340274637744128,"note":"Value kept but may cause issues"} 
[2026-07-15 15:33:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784109541000,"timestamp_ms":1784109541000,"timestamp_seconds":1784109541,"priority":1,"record_length":96,"hex_timestamp":"0000019f65372688"} 
[2026-07-15 15:33:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:33:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-15 15:33:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:33:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:33:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":132640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":132640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":132640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:33:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731965440001,"66":26006,"82":206,"85":14336,"24":0,"16":347183535343271936,"45":-9154340274637744128},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731965440001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:33:43] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:33:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:33:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347183535343271936,"km_value":347183535343271.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:33:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9154340274637744128,"description":"Unknown IO ID 45"} 
[2026-07-15 15:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731965440001,"power":26006,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9154340274637744128}} 
[2026-07-15 15:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":132640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:33:43] local.INFO: GPS data processed {"connection_id":132640,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:33:43] local.INFO: Acknowledgment sent {"connection_id":132640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:33:56] local.INFO: TCP Data received {"connection_id":132641,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:33:56] local.INFO: Processing buffer {"connection_id":132641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:33:56] local.INFO: IMEI packet received {"connection_id":132641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 15:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":132641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:34:00] local.INFO: TCP Data received {"connection_id":134861,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f6539ce380100000000000000000000000000..."} 
[2026-07-15 15:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6539ce380100000000000000000000000000..."} 
[2026-07-15 15:34:00] local.INFO: Processing buffer {"connection_id":134861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6539ce380100000000000000000000000000..."} 
[2026-07-15 15:34:00] local.INFO: Packet analysis {"connection_id":134861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6539"} 
[2026-07-15 15:34:00] local.INFO: Extracted packet for processing {"connection_id":134861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6539"} 
[2026-07-15 15:34: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-07-15 15:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24652403609436160,"note":"Value kept but may cause issues"} 
[2026-07-15 15:34:00] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,229,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 15:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784109715000,"timestamp_ms":1784109715000,"timestamp_seconds":1784109715,"priority":1,"record_length":96,"hex_timestamp":"0000019f6539ce38"} 
[2026-07-15 15:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-15 15:34:00] 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-07-15 15:34:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":134861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":134861,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":134861,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 15:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 15:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":134861,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-15 15:34:00] local.INFO: GPS data processed {"connection_id":134861,"processed":0,"errors":0,"total":1} 
[2026-07-15 15:34:00] local.INFO: Acknowledgment sent {"connection_id":134861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:34:00] local.INFO: TCP Data received {"connection_id":132451,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:34:00] local.INFO: Processing buffer {"connection_id":132451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:34:00] local.INFO: IMEI packet received {"connection_id":132451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":132451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:34:01] local.INFO: TCP Data received {"connection_id":132641,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:34:01] local.INFO: Processing buffer {"connection_id":132641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:34:01] local.INFO: IMEI packet received {"connection_id":132641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":132641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:34:01] local.INFO: TCP Data received {"connection_id":132641,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f65389d88012d181dc00721ad68004d00d129..."} 
[2026-07-15 15:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65389d88012d181dc00721ad68004d00d129..."} 
[2026-07-15 15:34:01] local.INFO: Processing buffer {"connection_id":132641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65389d88012d181dc00721ad68004d00d129..."} 
[2026-07-15 15:34:01] local.INFO: Packet analysis {"connection_id":132641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6538"} 
[2026-07-15 15:34:01] local.INFO: Extracted packet for processing {"connection_id":132641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6538"} 
[2026-07-15 15:34:01] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647592,"longitude_deg":75.65552,"latitude_deg":11.9647592,"altitude":77,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ad68","is_valid_coordinates":true} 
[2026-07-15 15:34:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732061952001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087373112737792,"note":"Value kept but may cause issues"} 
[2026-07-15 15:34:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097196032,"note":"Value kept but may cause issues"} 
[2026-07-15 15:34: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-07-15 15:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784109637000,"timestamp_ms":1784109637000,"timestamp_seconds":1784109637,"priority":1,"record_length":96,"hex_timestamp":"0000019f65389d88"} 
[2026-07-15 15:34:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:34:01] 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-07-15 15:34:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-15 15:34:01] 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-07-15 15:34:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:34:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":132641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":132641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":132641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:34:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732061952001,"66":12341,"105":206,"83":41984,"24":0,"16":6087373112737792,"45":1737756168097196032},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732061952001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:34:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:34:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087373112737792,"km_value":6087373112737.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:34:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097196032,"description":"Unknown IO ID 45"} 
[2026-07-15 15:34:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732061952001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097196032}} 
[2026-07-15 15:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":132641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:34:01] local.INFO: GPS data processed {"connection_id":132641,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:34:01] local.INFO: Acknowledgment sent {"connection_id":132641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:34:03] local.INFO: TCP Data received {"connection_id":132641,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f6538ef90012d181dc00721ad68004d00d129..."} 
[2026-07-15 15:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6538ef90012d181dc00721ad68004d00d129..."} 
[2026-07-15 15:34:03] local.INFO: Processing buffer {"connection_id":132641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6538ef90012d181dc00721ad68004d00d129..."} 
[2026-07-15 15:34:03] local.INFO: Packet analysis {"connection_id":132641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6538"} 
[2026-07-15 15:34:03] local.INFO: Extracted packet for processing {"connection_id":132641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6538"} 
[2026-07-15 15:34:03] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647592,"longitude_deg":75.65552,"latitude_deg":11.9647592,"altitude":77,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ad68","is_valid_coordinates":true} 
[2026-07-15 15:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732067072001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087373112737792,"note":"Value kept but may cause issues"} 
[2026-07-15 15:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097196032,"note":"Value kept but may cause issues"} 
[2026-07-15 15:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784109658000,"timestamp_ms":1784109658000,"timestamp_seconds":1784109658,"priority":1,"record_length":96,"hex_timestamp":"0000019f6538ef90"} 
[2026-07-15 15:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:34:03] 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-07-15 15:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-15 15:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":132641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":132641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":132641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732067072001,"66":12319,"105":206,"83":41984,"24":0,"16":6087373112737792,"45":1737756168097196032},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732067072001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:34:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:34:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087373112737792,"km_value":6087373112737.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097196032,"description":"Unknown IO ID 45"} 
[2026-07-15 15:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732067072001,"power":12319,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097196032}} 
[2026-07-15 15:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":132641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:34:04] local.INFO: GPS data processed {"connection_id":132641,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:34:04] local.INFO: Acknowledgment sent {"connection_id":132641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:34:06] local.INFO: TCP Data received {"connection_id":132451,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:34:06] local.INFO: Processing buffer {"connection_id":132451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:34:06] local.INFO: IMEI packet received {"connection_id":132451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":132451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:34:07] local.INFO: TCP Data received {"connection_id":132451,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f65372688012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65372688012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:34:07] local.INFO: Processing buffer {"connection_id":132451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65372688012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:34:07] local.INFO: Packet analysis {"connection_id":132451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6537"} 
[2026-07-15 15:34:07] local.INFO: Extracted packet for processing {"connection_id":132451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6537"} 
[2026-07-15 15:34:07] local.INFO: GPS Element Parsed {"raw_longitude":763426112,"raw_latitude":94448216,"longitude_deg":76.3426112,"latitude_deg":9.4448216,"altitude":9,"angle":347,"satellites":46,"speed":0,"hex_longitude":"2d80f540","hex_latitude":"05a12a58","is_valid_coordinates":true} 
[2026-07-15 15:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731965440001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347183535343271936,"note":"Value kept but may cause issues"} 
[2026-07-15 15:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9154340274637744128,"note":"Value kept but may cause issues"} 
[2026-07-15 15:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784109541000,"timestamp_ms":1784109541000,"timestamp_seconds":1784109541,"priority":1,"record_length":96,"hex_timestamp":"0000019f65372688"} 
[2026-07-15 15:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-15 15:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:34:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731965440001,"66":26006,"82":206,"85":14336,"24":0,"16":347183535343271936,"45":-9154340274637744128},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731965440001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:34:07] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:34:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347183535343271936,"km_value":347183535343271.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9154340274637744128,"description":"Unknown IO ID 45"} 
[2026-07-15 15:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731965440001,"power":26006,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9154340274637744128}} 
[2026-07-15 15:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":132451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:34:07] local.INFO: GPS data processed {"connection_id":132451,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:34:07] local.INFO: Acknowledgment sent {"connection_id":132451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:34:14] local.INFO: TCP Data received {"connection_id":132452,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132452,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:34:14] local.INFO: Processing buffer {"connection_id":132452,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:34:14] local.INFO: IMEI packet received {"connection_id":132452,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 15:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":132452,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:34:15] local.INFO: TCP Data received {"connection_id":132452,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132452,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:34:15] local.INFO: Processing buffer {"connection_id":132452,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:34:15] local.INFO: IMEI packet received {"connection_id":132452,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":132452,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:34:15] local.INFO: TCP Data received {"connection_id":132452,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132452,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:34:15] local.INFO: Processing buffer {"connection_id":132452,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:34:15] local.INFO: IMEI packet received {"connection_id":132452,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":132452,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:34:16] local.INFO: TCP Data received {"connection_id":132452,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132452,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:34:16] local.INFO: Processing buffer {"connection_id":132452,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:34:16] local.INFO: IMEI packet received {"connection_id":132452,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":132452,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:34:31] local.INFO: TCP Data received {"connection_id":134861,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f653c0c70012d0b60c0070435e8000d008107..."} 
[2026-07-15 15:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f653c0c70012d0b60c0070435e8000d008107..."} 
[2026-07-15 15:34:31] local.INFO: Processing buffer {"connection_id":134861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f653c0c70012d0b60c0070435e8000d008107..."} 
[2026-07-15 15:34:31] local.INFO: Packet analysis {"connection_id":134861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f653c"} 
[2026-07-15 15:34:31] local.INFO: Extracted packet for processing {"connection_id":134861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f653c"} 
[2026-07-15 15:34:31] local.INFO: GPS Element Parsed {"raw_longitude":755720384,"raw_latitude":117716456,"longitude_deg":75.5720384,"latitude_deg":11.7716456,"altitude":13,"angle":129,"satellites":7,"speed":7,"hex_longitude":"2d0b60c0","hex_latitude":"070435e8","is_valid_coordinates":true} 
[2026-07-15 15:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732124416001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24652949070282752,"note":"Value kept but may cause issues"} 
[2026-07-15 15:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":819655162316867584,"note":"Value kept but may cause issues"} 
[2026-07-15 15:34:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784109862000,"timestamp_ms":1784109862000,"timestamp_seconds":1784109862,"priority":1,"record_length":96,"hex_timestamp":"0000019f653c0c70"} 
[2026-07-15 15:34:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:34:31] 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-07-15 15:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-15 15:34:31] 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-07-15 15:34:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:34:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":134861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":134861,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":134861,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 15:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 15:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732124416001,"66":14559,"96":206,"94":10240,"24":7,"16":24652949070282752,"45":819655162316867584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-15 15:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 15:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 15:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732124416001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:34:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-15 15:34:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 15:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24652949070282752,"km_value":24652949070282.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":819655162316867584,"description":"Unknown IO ID 45"} 
[2026-07-15 15:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732124416001,"power":14559,"unknown_96":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":819655162316867584}} 
[2026-07-15 15:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":134861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491477,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:34:31] local.INFO: GPS data processed {"connection_id":134861,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:34:31] local.INFO: Acknowledgment sent {"connection_id":134861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:34:34] local.INFO: TCP Data received {"connection_id":132641,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f65394198012d181dc00721ad68004d00d129..."} 
[2026-07-15 15:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65394198012d181dc00721ad68004d00d129..."} 
[2026-07-15 15:34:34] local.INFO: Processing buffer {"connection_id":132641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65394198012d181dc00721ad68004d00d129..."} 
[2026-07-15 15:34:34] local.INFO: Packet analysis {"connection_id":132641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6539"} 
[2026-07-15 15:34:34] local.INFO: Extracted packet for processing {"connection_id":132641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6539"} 
[2026-07-15 15:34:34] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647592,"longitude_deg":75.65552,"latitude_deg":11.9647592,"altitude":77,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ad68","is_valid_coordinates":true} 
[2026-07-15 15:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732072448001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087373112737792,"note":"Value kept but may cause issues"} 
[2026-07-15 15:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097196032,"note":"Value kept but may cause issues"} 
[2026-07-15 15:34: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-07-15 15:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784109679000,"timestamp_ms":1784109679000,"timestamp_seconds":1784109679,"priority":1,"record_length":96,"hex_timestamp":"0000019f65394198"} 
[2026-07-15 15:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:34: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-07-15 15:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-15 15:34:34] 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-07-15 15:34:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":132641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":132641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":132641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732072448001,"66":12287,"105":206,"83":41984,"24":0,"16":6087373112737792,"45":1737756168097196032},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732072448001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:34:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:34:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087373112737792,"km_value":6087373112737.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097196032,"description":"Unknown IO ID 45"} 
[2026-07-15 15:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732072448001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097196032}} 
[2026-07-15 15:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":132641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:34:35] local.INFO: GPS data processed {"connection_id":132641,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:34:35] local.INFO: Acknowledgment sent {"connection_id":132641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:34:38] local.INFO: TCP Data received {"connection_id":132451,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f65372688012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65372688012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:34:38] local.INFO: Processing buffer {"connection_id":132451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65372688012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:34:38] local.INFO: Packet analysis {"connection_id":132451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6537"} 
[2026-07-15 15:34:38] local.INFO: Extracted packet for processing {"connection_id":132451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6537"} 
[2026-07-15 15:34:38] local.INFO: GPS Element Parsed {"raw_longitude":763426112,"raw_latitude":94448216,"longitude_deg":76.3426112,"latitude_deg":9.4448216,"altitude":9,"angle":347,"satellites":46,"speed":0,"hex_longitude":"2d80f540","hex_latitude":"05a12a58","is_valid_coordinates":true} 
[2026-07-15 15:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456731965440001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347183535343271936,"note":"Value kept but may cause issues"} 
[2026-07-15 15:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9154340274637744128,"note":"Value kept but may cause issues"} 
[2026-07-15 15:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784109541000,"timestamp_ms":1784109541000,"timestamp_seconds":1784109541,"priority":1,"record_length":96,"hex_timestamp":"0000019f65372688"} 
[2026-07-15 15:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-15 15:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456731965440001,"66":26006,"82":206,"85":14336,"24":0,"16":347183535343271936,"45":-9154340274637744128},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456731965440001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:34:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:34:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347183535343271936,"km_value":347183535343271.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9154340274637744128,"description":"Unknown IO ID 45"} 
[2026-07-15 15:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456731965440001,"power":26006,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9154340274637744128}} 
[2026-07-15 15:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":132451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:34:38] local.INFO: GPS data processed {"connection_id":132451,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:34:38] local.INFO: Acknowledgment sent {"connection_id":132451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:34:50] local.INFO: TCP Data received {"connection_id":133485,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:34:50] local.INFO: Processing buffer {"connection_id":133485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:34:50] local.INFO: IMEI packet received {"connection_id":133485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 15:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":133485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:34:56] local.INFO: TCP Data received {"connection_id":133485,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:34:56] local.INFO: Processing buffer {"connection_id":133485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:34:56] local.INFO: IMEI packet received {"connection_id":133485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":133485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:34:56] local.INFO: TCP Data received {"connection_id":133485,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f653993a0012d181dc00721ad68004d00d128..."} 
[2026-07-15 15:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f653993a0012d181dc00721ad68004d00d128..."} 
[2026-07-15 15:34:56] local.INFO: Processing buffer {"connection_id":133485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f653993a0012d181dc00721ad68004d00d128..."} 
[2026-07-15 15:34:56] local.INFO: Packet analysis {"connection_id":133485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6539"} 
[2026-07-15 15:34:56] local.INFO: Extracted packet for processing {"connection_id":133485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6539"} 
[2026-07-15 15:34:56] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647592,"longitude_deg":75.65552,"latitude_deg":11.9647592,"altitude":77,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ad68","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732077824001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087373112737792,"note":"Value kept but may cause issues"} 
[2026-07-15 15:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097196032,"note":"Value kept but may cause issues"} 
[2026-07-15 15:34:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784109700000,"timestamp_ms":1784109700000,"timestamp_seconds":1784109700,"priority":1,"record_length":96,"hex_timestamp":"0000019f653993a0"} 
[2026-07-15 15:34:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:34: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-07-15 15: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-15 15:34:56] 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-07-15 15: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-07-15 15:34:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732077824001,"66":12341,"105":206,"83":41984,"24":0,"16":6087373112737792,"45":1737756168097196032},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732077824001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:34:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:34:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087373112737792,"km_value":6087373112737.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097196032,"description":"Unknown IO ID 45"} 
[2026-07-15 15:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732077824001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097196032}} 
[2026-07-15 15:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":133485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:34:56] local.INFO: GPS data processed {"connection_id":133485,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:34:56] local.INFO: Acknowledgment sent {"connection_id":133485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:35:00] local.INFO: TCP Data received {"connection_id":133486,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:35:00] local.INFO: Processing buffer {"connection_id":133486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:35:00] local.INFO: IMEI packet received {"connection_id":133486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":133486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:35:02] local.INFO: TCP Data received {"connection_id":134861,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f653c1058012d0b6140070435c8000d009807..."} 
[2026-07-15 15:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f653c1058012d0b6140070435c8000d009807..."} 
[2026-07-15 15:35:02] local.INFO: Processing buffer {"connection_id":134861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f653c1058012d0b6140070435c8000d009807..."} 
[2026-07-15 15:35:02] local.INFO: Packet analysis {"connection_id":134861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f653c"} 
[2026-07-15 15:35:02] local.INFO: Extracted packet for processing {"connection_id":134861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f653c"} 
[2026-07-15 15:35:02] local.INFO: GPS Element Parsed {"raw_longitude":755720512,"raw_latitude":117716424,"longitude_deg":75.5720512,"latitude_deg":11.7716424,"altitude":13,"angle":152,"satellites":7,"speed":5,"hex_longitude":"2d0b6140","hex_latitude":"070435c8","is_valid_coordinates":true} 
[2026-07-15 15:35: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-07-15 15:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732124672001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24652957660217344,"note":"Value kept but may cause issues"} 
[2026-07-15 15:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":819866268549376000,"note":"Value kept but may cause issues"} 
[2026-07-15 15:35:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784109863000,"timestamp_ms":1784109863000,"timestamp_seconds":1784109863,"priority":1,"record_length":96,"hex_timestamp":"0000019f653c1058"} 
[2026-07-15 15:35:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:35:02] 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-07-15 15:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-15 15:35:02] 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-07-15 15:35: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-07-15 15:35:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":134861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":134861,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":134861,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:35:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 15:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 15:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732124672001,"66":14559,"96":206,"94":10240,"24":5,"16":24652957660217344,"45":819866268549376000},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-15 15:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 15:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 15:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732124672001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:35:02] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-15 15:35:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 15:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24652957660217344,"km_value":24652957660217.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":819866268549376000,"description":"Unknown IO ID 45"} 
[2026-07-15 15:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732124672001,"power":14559,"unknown_96":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":819866268549376000}} 
[2026-07-15 15:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":134861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491481,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:35:02] local.INFO: GPS data processed {"connection_id":134861,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:35:02] local.INFO: Acknowledgment sent {"connection_id":134861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:35:06] local.INFO: TCP Data received {"connection_id":133486,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:35:06] local.INFO: Processing buffer {"connection_id":133486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:35:06] local.INFO: IMEI packet received {"connection_id":133486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":133486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:35:07] local.INFO: TCP Data received {"connection_id":133486,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f653bbe50012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f653bbe50012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:35:07] local.INFO: Processing buffer {"connection_id":133486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f653bbe50012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:35:07] local.INFO: Packet analysis {"connection_id":133486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f653b"} 
[2026-07-15 15:35:07] local.INFO: Extracted packet for processing {"connection_id":133486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f653b"} 
[2026-07-15 15:35:07] local.INFO: GPS Element Parsed {"raw_longitude":763426112,"raw_latitude":94448216,"longitude_deg":76.3426112,"latitude_deg":9.4448216,"altitude":9,"angle":347,"satellites":46,"speed":0,"hex_longitude":"2d80f540","hex_latitude":"05a12a58","is_valid_coordinates":true} 
[2026-07-15 15:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732042496001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347183535343271936,"note":"Value kept but may cause issues"} 
[2026-07-15 15:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9154340274637744128,"note":"Value kept but may cause issues"} 
[2026-07-15 15:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784109842000,"timestamp_ms":1784109842000,"timestamp_seconds":1784109842,"priority":1,"record_length":96,"hex_timestamp":"0000019f653bbe50"} 
[2026-07-15 15:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 15:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:35:07] 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-07-15 15:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732042496001,"66":25995,"82":206,"85":14336,"24":0,"16":347183535343271936,"45":-9154340274637744128},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732042496001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:35:07] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:35:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347183535343271936,"km_value":347183535343271.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9154340274637744128,"description":"Unknown IO ID 45"} 
[2026-07-15 15:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732042496001,"power":25995,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9154340274637744128}} 
[2026-07-15 15:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":133486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:35:07] local.INFO: GPS data processed {"connection_id":133486,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:35:07] local.INFO: Acknowledgment sent {"connection_id":133486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:35:27] local.INFO: TCP Data received {"connection_id":133485,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f6539e5a8012d181dc00721ad68004d00d127..."} 
[2026-07-15 15:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6539e5a8012d181dc00721ad68004d00d127..."} 
[2026-07-15 15:35:27] local.INFO: Processing buffer {"connection_id":133485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6539e5a8012d181dc00721ad68004d00d127..."} 
[2026-07-15 15:35:27] local.INFO: Packet analysis {"connection_id":133485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6539"} 
[2026-07-15 15:35:27] local.INFO: Extracted packet for processing {"connection_id":133485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6539"} 
[2026-07-15 15:35:27] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647592,"longitude_deg":75.65552,"latitude_deg":11.9647592,"altitude":77,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ad68","is_valid_coordinates":true} 
[2026-07-15 15:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732083200001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087373112737792,"note":"Value kept but may cause issues"} 
[2026-07-15 15:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097196032,"note":"Value kept but may cause issues"} 
[2026-07-15 15:35: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-07-15 15:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784109721000,"timestamp_ms":1784109721000,"timestamp_seconds":1784109721,"priority":1,"record_length":96,"hex_timestamp":"0000019f6539e5a8"} 
[2026-07-15 15:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:35:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-15 15:35:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:35:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":133485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":133485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":133485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:35:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732083200001,"66":12341,"105":206,"83":41984,"24":0,"16":6087373112737792,"45":1737756168097196032},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732083200001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:35:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:35:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087373112737792,"km_value":6087373112737.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097196032,"description":"Unknown IO ID 45"} 
[2026-07-15 15:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732083200001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097196032}} 
[2026-07-15 15:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":133485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:35:28] local.INFO: GPS data processed {"connection_id":133485,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:35:28] local.INFO: Acknowledgment sent {"connection_id":133485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:35:33] local.INFO: TCP Data received {"connection_id":134861,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f653c1440012d0b618007043578000d00aa07..."} 
[2026-07-15 15:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f653c1440012d0b618007043578000d00aa07..."} 
[2026-07-15 15:35:33] local.INFO: Processing buffer {"connection_id":134861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f653c1440012d0b618007043578000d00aa07..."} 
[2026-07-15 15:35:33] local.INFO: Packet analysis {"connection_id":134861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f653c"} 
[2026-07-15 15:35:33] local.INFO: Extracted packet for processing {"connection_id":134861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f653c"} 
[2026-07-15 15:35:33] local.INFO: GPS Element Parsed {"raw_longitude":755720576,"raw_latitude":117716344,"longitude_deg":75.5720576,"latitude_deg":11.7716344,"altitude":13,"angle":170,"satellites":7,"speed":5,"hex_longitude":"2d0b6180","hex_latitude":"07043578","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732124928001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24652961955184640,"note":"Value kept but may cause issues"} 
[2026-07-15 15:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":820007006037723136,"note":"Value kept but may cause issues"} 
[2026-07-15 15:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784109864000,"timestamp_ms":1784109864000,"timestamp_seconds":1784109864,"priority":1,"record_length":96,"hex_timestamp":"0000019f653c1440"} 
[2026-07-15 15:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-15 15:35:33] 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-07-15 15: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-07-15 15:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":134861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":134861,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":134861,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 15:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 15:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732124928001,"66":14515,"96":206,"94":10240,"24":5,"16":24652961955184640,"45":820007006037723136},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-15 15:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 15:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 15:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732124928001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:35:33] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-15 15:35:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 15:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24652961955184640,"km_value":24652961955184.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":820007006037723136,"description":"Unknown IO ID 45"} 
[2026-07-15 15:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732124928001,"power":14515,"unknown_96":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":820007006037723136}} 
[2026-07-15 15:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":134861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491484,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:35:33] local.INFO: GPS data processed {"connection_id":134861,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:35:33] local.INFO: Acknowledgment sent {"connection_id":134861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:35:38] local.INFO: TCP Data received {"connection_id":133486,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f653bbe50012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f653bbe50012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:35:38] local.INFO: Processing buffer {"connection_id":133486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f653bbe50012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:35:38] local.INFO: Packet analysis {"connection_id":133486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f653b"} 
[2026-07-15 15:35:38] local.INFO: Extracted packet for processing {"connection_id":133486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f653b"} 
[2026-07-15 15:35:38] local.INFO: GPS Element Parsed {"raw_longitude":763426112,"raw_latitude":94448216,"longitude_deg":76.3426112,"latitude_deg":9.4448216,"altitude":9,"angle":347,"satellites":46,"speed":0,"hex_longitude":"2d80f540","hex_latitude":"05a12a58","is_valid_coordinates":true} 
[2026-07-15 15:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732042496001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347183535343271936,"note":"Value kept but may cause issues"} 
[2026-07-15 15:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9154340274637744128,"note":"Value kept but may cause issues"} 
[2026-07-15 15:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784109842000,"timestamp_ms":1784109842000,"timestamp_seconds":1784109842,"priority":1,"record_length":96,"hex_timestamp":"0000019f653bbe50"} 
[2026-07-15 15:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 15:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:35:38] 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-07-15 15:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732042496001,"66":25995,"82":206,"85":14336,"24":0,"16":347183535343271936,"45":-9154340274637744128},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732042496001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:35:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:35:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347183535343271936,"km_value":347183535343271.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9154340274637744128,"description":"Unknown IO ID 45"} 
[2026-07-15 15:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732042496001,"power":25995,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9154340274637744128}} 
[2026-07-15 15:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":133486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:35:38] local.INFO: GPS data processed {"connection_id":133486,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:35:38] local.INFO: Acknowledgment sent {"connection_id":133486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:35:48] local.INFO: TCP Data received {"connection_id":134863,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:35:48] local.INFO: Processing buffer {"connection_id":134863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:35:48] local.INFO: IMEI packet received {"connection_id":134863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 15:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":134863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:35:51] local.INFO: TCP Data received {"connection_id":134863,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:35:51] local.INFO: Processing buffer {"connection_id":134863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:35:51] local.INFO: IMEI packet received {"connection_id":134863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":134863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:35:55] local.INFO: TCP Data received {"connection_id":134863,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:35:55] local.INFO: Processing buffer {"connection_id":134863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:35:55] local.INFO: IMEI packet received {"connection_id":134863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":134863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:35:56] local.INFO: TCP Data received {"connection_id":134863,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f653a37b0012d181dc00721ad68004d00d129..."} 
[2026-07-15 15:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f653a37b0012d181dc00721ad68004d00d129..."} 
[2026-07-15 15:35:56] local.INFO: Processing buffer {"connection_id":134863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f653a37b0012d181dc00721ad68004d00d129..."} 
[2026-07-15 15:35:56] local.INFO: Packet analysis {"connection_id":134863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f653a"} 
[2026-07-15 15:35:56] local.INFO: Extracted packet for processing {"connection_id":134863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f653a"} 
[2026-07-15 15:35:56] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647592,"longitude_deg":75.65552,"latitude_deg":11.9647592,"altitude":77,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ad68","is_valid_coordinates":true} 
[2026-07-15 15:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732088576001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087373112737792,"note":"Value kept but may cause issues"} 
[2026-07-15 15:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097196032,"note":"Value kept but may cause issues"} 
[2026-07-15 15:35:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784109742000,"timestamp_ms":1784109742000,"timestamp_seconds":1784109742,"priority":1,"record_length":96,"hex_timestamp":"0000019f653a37b0"} 
[2026-07-15 15:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:35: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-07-15 15:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-15 15:35:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:35:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":134863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":134863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":134863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732088576001,"66":12341,"105":206,"83":41984,"24":0,"16":6087373112737792,"45":1737756168097196032},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732088576001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:35:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:35:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087373112737792,"km_value":6087373112737.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097196032,"description":"Unknown IO ID 45"} 
[2026-07-15 15:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732088576001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097196032}} 
[2026-07-15 15:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":134863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:35:56] local.INFO: GPS data processed {"connection_id":134863,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:35:56] local.INFO: Acknowledgment sent {"connection_id":134863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:36:04] local.INFO: TCP Data received {"connection_id":132642,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132642,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:36:04] local.INFO: Processing buffer {"connection_id":132642,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:36:04] local.INFO: IMEI packet received {"connection_id":132642,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 15:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":132642,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:36:04] local.INFO: TCP Data received {"connection_id":134861,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f653c6260012d0b66c007042390000c00b107..."} 
[2026-07-15 15:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f653c6260012d0b66c007042390000c00b107..."} 
[2026-07-15 15:36:04] local.INFO: Processing buffer {"connection_id":134861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f653c6260012d0b66c007042390000c00b107..."} 
[2026-07-15 15:36:04] local.INFO: Packet analysis {"connection_id":134861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f653c"} 
[2026-07-15 15:36:04] local.INFO: Extracted packet for processing {"connection_id":134861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f653c"} 
[2026-07-15 15:36:04] local.INFO: GPS Element Parsed {"raw_longitude":755721920,"raw_latitude":117711760,"longitude_deg":75.572192,"latitude_deg":11.771176,"altitude":12,"angle":177,"satellites":7,"speed":0,"hex_longitude":"2d0b66c0","hex_latitude":"07042390","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732125184001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24653198178385920,"note":"Value kept but may cause issues"} 
[2026-07-15 15:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":820077374781880320,"note":"Value kept but may cause issues"} 
[2026-07-15 15:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784109884000,"timestamp_ms":1784109884000,"timestamp_seconds":1784109884,"priority":1,"record_length":96,"hex_timestamp":"0000019f653c6260"} 
[2026-07-15 15:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:36:04] 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-07-15 15: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-15 15:36:04] 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-07-15 15: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-07-15 15:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":134861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":134861,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":134861,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 15:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 15:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732125184001,"66":14537,"96":206,"94":10240,"24":0,"16":24653198178385920,"45":820077374781880320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-15 15:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 15:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 15:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732125184001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:36:04] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-15 15:36:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 15:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24653198178385920,"km_value":24653198178385.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":820077374781880320,"description":"Unknown IO ID 45"} 
[2026-07-15 15:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732125184001,"power":14537,"unknown_96":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":820077374781880320}} 
[2026-07-15 15:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":134861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491487,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:36:05] local.INFO: GPS data processed {"connection_id":134861,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:36:05] local.INFO: Acknowledgment sent {"connection_id":134861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:36:06] local.INFO: TCP Data received {"connection_id":132643,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:36:06] local.INFO: Processing buffer {"connection_id":132643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:36:06] local.INFO: IMEI packet received {"connection_id":132643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":132643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:36:11] local.INFO: TCP Data received {"connection_id":132643,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:36:11] local.INFO: Processing buffer {"connection_id":132643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:36:11] local.INFO: IMEI packet received {"connection_id":132643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":132643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:36:11] local.INFO: TCP Data received {"connection_id":132643,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f653bbe50012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f653bbe50012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:36:11] local.INFO: Processing buffer {"connection_id":132643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f653bbe50012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:36:11] local.INFO: Packet analysis {"connection_id":132643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f653b"} 
[2026-07-15 15:36:11] local.INFO: Extracted packet for processing {"connection_id":132643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f653b"} 
[2026-07-15 15:36:11] local.INFO: GPS Element Parsed {"raw_longitude":763426112,"raw_latitude":94448216,"longitude_deg":76.3426112,"latitude_deg":9.4448216,"altitude":9,"angle":347,"satellites":46,"speed":0,"hex_longitude":"2d80f540","hex_latitude":"05a12a58","is_valid_coordinates":true} 
[2026-07-15 15:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732042496001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347183535343271936,"note":"Value kept but may cause issues"} 
[2026-07-15 15:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9154340274637744128,"note":"Value kept but may cause issues"} 
[2026-07-15 15:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784109842000,"timestamp_ms":1784109842000,"timestamp_seconds":1784109842,"priority":1,"record_length":96,"hex_timestamp":"0000019f653bbe50"} 
[2026-07-15 15:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 15:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:36:11] 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-07-15 15:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732042496001,"66":25995,"82":206,"85":14336,"24":0,"16":347183535343271936,"45":-9154340274637744128},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732042496001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:36:11] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:36:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347183535343271936,"km_value":347183535343271.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9154340274637744128,"description":"Unknown IO ID 45"} 
[2026-07-15 15:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732042496001,"power":25995,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9154340274637744128}} 
[2026-07-15 15:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":132643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:36:11] local.INFO: GPS data processed {"connection_id":132643,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:36:11] local.INFO: Acknowledgment sent {"connection_id":132643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:36:16] local.INFO: TCP Data received {"connection_id":132643,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f653bbe50012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f653bbe50012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:36:16] local.INFO: Processing buffer {"connection_id":132643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f653bbe50012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:36:16] local.INFO: Packet analysis {"connection_id":132643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f653b"} 
[2026-07-15 15:36:16] local.INFO: Extracted packet for processing {"connection_id":132643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f653b"} 
[2026-07-15 15:36:16] local.INFO: GPS Element Parsed {"raw_longitude":763426112,"raw_latitude":94448216,"longitude_deg":76.3426112,"latitude_deg":9.4448216,"altitude":9,"angle":347,"satellites":46,"speed":0,"hex_longitude":"2d80f540","hex_latitude":"05a12a58","is_valid_coordinates":true} 
[2026-07-15 15:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732042496001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347183535343271936,"note":"Value kept but may cause issues"} 
[2026-07-15 15:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9154340274637744128,"note":"Value kept but may cause issues"} 
[2026-07-15 15:36:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784109842000,"timestamp_ms":1784109842000,"timestamp_seconds":1784109842,"priority":1,"record_length":96,"hex_timestamp":"0000019f653bbe50"} 
[2026-07-15 15:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 15:36:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:36:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:36:16] 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-07-15 15:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732042496001,"66":25995,"82":206,"85":14336,"24":0,"16":347183535343271936,"45":-9154340274637744128},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732042496001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:36:16] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:36:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347183535343271936,"km_value":347183535343271.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9154340274637744128,"description":"Unknown IO ID 45"} 
[2026-07-15 15:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732042496001,"power":25995,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9154340274637744128}} 
[2026-07-15 15:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":132643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:36:16] local.INFO: GPS data processed {"connection_id":132643,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:36:16] local.INFO: Acknowledgment sent {"connection_id":132643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:36:27] local.INFO: TCP Data received {"connection_id":134863,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f653a89b8012d181dc00721ad68004d00d129..."} 
[2026-07-15 15:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f653a89b8012d181dc00721ad68004d00d129..."} 
[2026-07-15 15:36:27] local.INFO: Processing buffer {"connection_id":134863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f653a89b8012d181dc00721ad68004d00d129..."} 
[2026-07-15 15:36:27] local.INFO: Packet analysis {"connection_id":134863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f653a"} 
[2026-07-15 15:36:27] local.INFO: Extracted packet for processing {"connection_id":134863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f653a"} 
[2026-07-15 15:36:27] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647592,"longitude_deg":75.65552,"latitude_deg":11.9647592,"altitude":77,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ad68","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732093952001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087373112737792,"note":"Value kept but may cause issues"} 
[2026-07-15 15:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097196032,"note":"Value kept but may cause issues"} 
[2026-07-15 15:36: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-07-15 15:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784109763000,"timestamp_ms":1784109763000,"timestamp_seconds":1784109763,"priority":1,"record_length":96,"hex_timestamp":"0000019f653a89b8"} 
[2026-07-15 15:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:36:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-15 15:36:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15: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-07-15 15:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":134863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":134863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":134863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732093952001,"66":12341,"105":206,"83":41984,"24":0,"16":6087373112737792,"45":1737756168097196032},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732093952001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:36:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:36:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087373112737792,"km_value":6087373112737.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097196032,"description":"Unknown IO ID 45"} 
[2026-07-15 15:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732093952001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097196032}} 
[2026-07-15 15:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":134863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:36:28] local.INFO: GPS data processed {"connection_id":134863,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:36:28] local.INFO: Acknowledgment sent {"connection_id":134863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:36:32] local.INFO: TCP Data received {"connection_id":133487,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133487,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:36:32] local.INFO: Processing buffer {"connection_id":133487,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:36:32] local.INFO: IMEI packet received {"connection_id":133487,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 15:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":133487,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:36:36] local.INFO: TCP Data received {"connection_id":134861,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f653e0c28012d0b8b800703c470000000b109..."} 
[2026-07-15 15:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f653e0c28012d0b8b800703c470000000b109..."} 
[2026-07-15 15:36:36] local.INFO: Processing buffer {"connection_id":134861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f653e0c28012d0b8b800703c470000000b109..."} 
[2026-07-15 15:36:36] local.INFO: Packet analysis {"connection_id":134861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f653e"} 
[2026-07-15 15:36:36] local.INFO: Extracted packet for processing {"connection_id":134861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f653e"} 
[2026-07-15 15:36:36] local.INFO: GPS Element Parsed {"raw_longitude":755731328,"raw_latitude":117687408,"longitude_deg":75.5731328,"latitude_deg":11.7687408,"altitude":0,"angle":177,"satellites":9,"speed":17,"hex_longitude":"2d0b8b80","hex_latitude":"0703c470","is_valid_coordinates":true} 
[2026-07-15 15:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732153088001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24654761546481664,"note":"Value kept but may cause issues"} 
[2026-07-15 15:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":832884486217086976,"note":"Value kept but may cause issues"} 
[2026-07-15 15:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784109993000,"timestamp_ms":1784109993000,"timestamp_seconds":1784109993,"priority":1,"record_length":96,"hex_timestamp":"0000019f653e0c28"} 
[2026-07-15 15:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:36: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-07-15 15:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-15 15:36:36] 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-07-15 15:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":134861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":134861,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":134861,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 15:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 15:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732153088001,"66":13820,"96":206,"94":10240,"24":17,"16":24654761546481664,"45":832884486217086976},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-15 15:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 15:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 15:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732153088001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:36:36] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-15 15:36:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 15:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24654761546481664,"km_value":24654761546481.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":832884486217086976,"description":"Unknown IO ID 45"} 
[2026-07-15 15:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732153088001,"power":13820,"unknown_96":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":832884486217086976}} 
[2026-07-15 15:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":134861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491491,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:36:36] local.INFO: GPS data processed {"connection_id":134861,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:36:36] local.INFO: Acknowledgment sent {"connection_id":134861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:36:50] local.INFO: TCP Data received {"connection_id":133488,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:36:50] local.INFO: Processing buffer {"connection_id":133488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:36:50] local.INFO: IMEI packet received {"connection_id":133488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 15:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":133488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:36:51] local.INFO: TCP Data received {"connection_id":132453,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132453,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:36:51] local.INFO: Processing buffer {"connection_id":132453,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:36:51] local.INFO: IMEI packet received {"connection_id":132453,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 15:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":132453,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:36:51] local.INFO: TCP Data received {"connection_id":133488,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:36:51] local.INFO: Processing buffer {"connection_id":133488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:36:51] local.INFO: IMEI packet received {"connection_id":133488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":133488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:36:52] local.INFO: TCP Data received {"connection_id":132453,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132453,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:36:52] local.INFO: Processing buffer {"connection_id":132453,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:36:52] local.INFO: IMEI packet received {"connection_id":132453,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 15:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":132453,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:36:52] local.INFO: TCP Data received {"connection_id":133488,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:36:52] local.INFO: Processing buffer {"connection_id":133488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:36:52] local.INFO: IMEI packet received {"connection_id":133488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":133488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:36:55] local.INFO: TCP Data received {"connection_id":133488,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:36:55] local.INFO: Processing buffer {"connection_id":133488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:36:55] local.INFO: IMEI packet received {"connection_id":133488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":133488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:36:56] local.INFO: TCP Data received {"connection_id":133488,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f653adbc0012d181dc00721ad68004d00d129..."} 
[2026-07-15 15:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f653adbc0012d181dc00721ad68004d00d129..."} 
[2026-07-15 15:36:56] local.INFO: Processing buffer {"connection_id":133488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f653adbc0012d181dc00721ad68004d00d129..."} 
[2026-07-15 15:36:56] local.INFO: Packet analysis {"connection_id":133488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f653a"} 
[2026-07-15 15:36:56] local.INFO: Extracted packet for processing {"connection_id":133488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f653a"} 
[2026-07-15 15:36:56] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647592,"longitude_deg":75.65552,"latitude_deg":11.9647592,"altitude":77,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ad68","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732099328001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087373112737792,"note":"Value kept but may cause issues"} 
[2026-07-15 15:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097196032,"note":"Value kept but may cause issues"} 
[2026-07-15 15:36:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784109784000,"timestamp_ms":1784109784000,"timestamp_seconds":1784109784,"priority":1,"record_length":96,"hex_timestamp":"0000019f653adbc0"} 
[2026-07-15 15:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:36: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-07-15 15: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-15 15:36:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15: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-07-15 15:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732099328001,"66":12341,"105":206,"83":41984,"24":0,"16":6087373112737792,"45":1737756168097196032},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732099328001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:36:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:36:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087373112737792,"km_value":6087373112737.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097196032,"description":"Unknown IO ID 45"} 
[2026-07-15 15:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732099328001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097196032}} 
[2026-07-15 15:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":133488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:36:56] local.INFO: GPS data processed {"connection_id":133488,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:36:56] local.INFO: Acknowledgment sent {"connection_id":133488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:37:01] local.INFO: TCP Data received {"connection_id":132454,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:37:01] local.INFO: Processing buffer {"connection_id":132454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:37:01] local.INFO: IMEI packet received {"connection_id":132454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":132454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:37:07] local.INFO: TCP Data received {"connection_id":132454,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:37:07] local.INFO: Processing buffer {"connection_id":132454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:37:07] local.INFO: IMEI packet received {"connection_id":132454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":132454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:37:09] local.INFO: TCP Data received {"connection_id":132454,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f653bbe50012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f653bbe50012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:37:09] local.INFO: Processing buffer {"connection_id":132454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f653bbe50012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:37:09] local.INFO: Packet analysis {"connection_id":132454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f653b"} 
[2026-07-15 15:37:09] local.INFO: Extracted packet for processing {"connection_id":132454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f653b"} 
[2026-07-15 15:37:09] local.INFO: GPS Element Parsed {"raw_longitude":763426112,"raw_latitude":94448216,"longitude_deg":76.3426112,"latitude_deg":9.4448216,"altitude":9,"angle":347,"satellites":46,"speed":0,"hex_longitude":"2d80f540","hex_latitude":"05a12a58","is_valid_coordinates":true} 
[2026-07-15 15:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732042496001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347183535343271936,"note":"Value kept but may cause issues"} 
[2026-07-15 15:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9154340274637744128,"note":"Value kept but may cause issues"} 
[2026-07-15 15:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784109842000,"timestamp_ms":1784109842000,"timestamp_seconds":1784109842,"priority":1,"record_length":96,"hex_timestamp":"0000019f653bbe50"} 
[2026-07-15 15:37:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:37:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 15:37:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:37:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:37:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":132454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":132454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":132454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:37:09] 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-07-15 15:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732042496001,"66":25995,"82":206,"85":14336,"24":0,"16":347183535343271936,"45":-9154340274637744128},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732042496001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:37:09] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:37:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347183535343271936,"km_value":347183535343271.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9154340274637744128,"description":"Unknown IO ID 45"} 
[2026-07-15 15:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732042496001,"power":25995,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9154340274637744128}} 
[2026-07-15 15:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":132454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:37:09] local.INFO: GPS data processed {"connection_id":132454,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:37:09] local.INFO: Acknowledgment sent {"connection_id":132454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:37:24] local.INFO: TCP Data received {"connection_id":132453,"ip":"42.106.6.23","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-15 15:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132453,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-15 15:37:24] local.INFO: Processing buffer {"connection_id":132453,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-15 15:37:24] local.INFO: IMEI packet received {"connection_id":132453,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 15:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":132453,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:37:26] local.INFO: TCP Data received {"connection_id":132453,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f653e0c28012d0b8b800703c470000000b109..."} 
[2026-07-15 15:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f653e0c28012d0b8b800703c470000000b109..."} 
[2026-07-15 15:37:26] local.INFO: Processing buffer {"connection_id":132453,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a0000019f65..."} 
[2026-07-15 15:37:26] local.INFO: IMEI packet received {"connection_id":132453,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 15:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":132453,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:37:27] local.INFO: TCP Data received {"connection_id":133488,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f653ddd48012d181e400721a8700048008e2b..."} 
[2026-07-15 15:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f653ddd48012d181e400721a8700048008e2b..."} 
[2026-07-15 15:37:27] local.INFO: Processing buffer {"connection_id":133488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f653ddd48012d181e400721a8700048008e2b..."} 
[2026-07-15 15:37:27] local.INFO: Packet analysis {"connection_id":133488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f653d"} 
[2026-07-15 15:37:27] local.INFO: Extracted packet for processing {"connection_id":133488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f653d"} 
[2026-07-15 15:37:27] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119646320,"longitude_deg":75.6555328,"latitude_deg":11.964632,"altitude":72,"angle":142,"satellites":43,"speed":11,"hex_longitude":"2d181e40","hex_latitude":"0721a870","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732154368001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087441832214528,"note":"Value kept but may cause issues"} 
[2026-07-15 15:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864478720,"note":"Value kept but may cause issues"} 
[2026-07-15 15:37: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-07-15 15:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784109981000,"timestamp_ms":1784109981000,"timestamp_seconds":1784109981,"priority":1,"record_length":96,"hex_timestamp":"0000019f653ddd48"} 
[2026-07-15 15:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:37:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-15 15:37:27] 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-07-15 15: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-07-15 15:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":133488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":133488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":133488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732154368001,"66":14113,"105":206,"83":41984,"24":11,"16":6087441832214528,"45":1737545061864478720},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732154368001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:37:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:37:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087441832214528,"km_value":6087441832214.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864478720,"description":"Unknown IO ID 45"} 
[2026-07-15 15:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732154368001,"power":14113,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1737545061864478720}} 
[2026-07-15 15:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":133488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:37:27] local.INFO: GPS data processed {"connection_id":133488,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:37:27] local.INFO: Acknowledgment sent {"connection_id":133488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:37:40] local.INFO: TCP Data received {"connection_id":132454,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f653bbe50012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f653bbe50012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:37:40] local.INFO: Processing buffer {"connection_id":132454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f653bbe50012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:37:40] local.INFO: Packet analysis {"connection_id":132454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f653b"} 
[2026-07-15 15:37:40] local.INFO: Extracted packet for processing {"connection_id":132454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f653b"} 
[2026-07-15 15:37:40] local.INFO: GPS Element Parsed {"raw_longitude":763426112,"raw_latitude":94448216,"longitude_deg":76.3426112,"latitude_deg":9.4448216,"altitude":9,"angle":347,"satellites":46,"speed":0,"hex_longitude":"2d80f540","hex_latitude":"05a12a58","is_valid_coordinates":true} 
[2026-07-15 15:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732042496001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347183535343271936,"note":"Value kept but may cause issues"} 
[2026-07-15 15:37:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9154340274637744128,"note":"Value kept but may cause issues"} 
[2026-07-15 15:37:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784109842000,"timestamp_ms":1784109842000,"timestamp_seconds":1784109842,"priority":1,"record_length":96,"hex_timestamp":"0000019f653bbe50"} 
[2026-07-15 15:37:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:37:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 15:37:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:37:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:37:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:37:40] 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-07-15 15:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732042496001,"66":25995,"82":206,"85":14336,"24":0,"16":347183535343271936,"45":-9154340274637744128},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732042496001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:37:40] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:37:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347183535343271936,"km_value":347183535343271.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:37:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9154340274637744128,"description":"Unknown IO ID 45"} 
[2026-07-15 15:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732042496001,"power":25995,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9154340274637744128}} 
[2026-07-15 15:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":132454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:37:40] local.INFO: GPS data processed {"connection_id":132454,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:37:40] local.INFO: Acknowledgment sent {"connection_id":132454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:37:51] local.INFO: TCP Data received {"connection_id":133489,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:37:51] local.INFO: Processing buffer {"connection_id":133489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:37:51] local.INFO: IMEI packet received {"connection_id":133489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 15:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":133489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:37:52] local.INFO: TCP Data received {"connection_id":133489,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:37:52] local.INFO: Processing buffer {"connection_id":133489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:37:52] local.INFO: IMEI packet received {"connection_id":133489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":133489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:37:54] local.INFO: TCP Data received {"connection_id":132453,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f653ecb90012d0b7d800703a0f80004011d0a..."} 
[2026-07-15 15:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f653ecb90012d0b7d800703a0f80004011d0a..."} 
[2026-07-15 15:37:54] local.INFO: Processing buffer {"connection_id":132453,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f653e0c28012d0b8b800703c470000000b109..."} 
[2026-07-15 15:37:54] local.INFO: Packet analysis {"connection_id":132453,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f653e"} 
[2026-07-15 15:37:54] local.INFO: Extracted packet for processing {"connection_id":132453,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f653e"} 
[2026-07-15 15:37:54] local.INFO: GPS Element Parsed {"raw_longitude":755731328,"raw_latitude":117687408,"longitude_deg":75.5731328,"latitude_deg":11.7687408,"altitude":0,"angle":177,"satellites":9,"speed":17,"hex_longitude":"2d0b8b80","hex_latitude":"0703c470","is_valid_coordinates":true} 
[2026-07-15 15:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732158208001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24654761546481664,"note":"Value kept but may cause issues"} 
[2026-07-15 15:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":831899323796320256,"note":"Value kept but may cause issues"} 
[2026-07-15 15:37:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784109993000,"timestamp_ms":1784109993000,"timestamp_seconds":1784109993,"priority":1,"record_length":96,"hex_timestamp":"0000019f653e0c28"} 
[2026-07-15 15:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:37:54] 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-07-15 15:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-07-15 15:37:54] 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-07-15 15:37:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":132453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":132453,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":132453,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:37:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 15:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 15:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732158208001,"66":13820,"96":206,"94":10240,"24":17,"16":24654761546481664,"45":831899323796320256},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-15 15:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 15:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 15:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732158208001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:37:54] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-15 15:37:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 15:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24654761546481664,"km_value":24654761546481.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":831899323796320256,"description":"Unknown IO ID 45"} 
[2026-07-15 15:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732158208001,"power":13820,"unknown_96":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":831899323796320256}} 
[2026-07-15 15:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":132453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491496,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:37:55] local.INFO: GPS data processed {"connection_id":132453,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:37:55] local.INFO: Acknowledgment sent {"connection_id":132453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:37:55] local.INFO: Packet analysis {"connection_id":132453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f653e"} 
[2026-07-15 15:37:55] local.INFO: Extracted packet for processing {"connection_id":132453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f653e"} 
[2026-07-15 15:37:55] local.INFO: GPS Element Parsed {"raw_longitude":755727744,"raw_latitude":117678328,"longitude_deg":75.5727744,"latitude_deg":11.7678328,"altitude":4,"angle":285,"satellites":10,"speed":14,"hex_longitude":"2d0b7d80","hex_latitude":"0703a0f8","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732167168001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24655491690921984,"note":"Value kept but may cause issues"} 
[2026-07-15 15:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":833940017375303680,"note":"Value kept but may cause issues"} 
[2026-07-15 15:37:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 15:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784110042000,"timestamp_ms":1784110042000,"timestamp_seconds":1784110042,"priority":1,"record_length":96,"hex_timestamp":"0000019f653ecb90"} 
[2026-07-15 15:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:37:55] 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-07-15 15: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-15 15:37:55] 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-07-15 15: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-07-15 15:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":132453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":132453,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":132453,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 15:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 15:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732167168001,"66":14309,"16":24655491690921984,"94":11008,"24":14,"45":833940017375303680},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-15 15:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 15:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 15:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732167168001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24655491690921984,"km_value":24655491690921.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:37:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 15:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":833940017375303680,"description":"Unknown IO ID 45"} 
[2026-07-15 15:37:55] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456732167168001,"power":14309,"odometer":null,"unknown_94":11008,"ignition":14,"unknown_45":833940017375303680}} 
[2026-07-15 15:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":132453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491497,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:37:55] local.INFO: GPS data processed {"connection_id":132453,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:37:55] local.INFO: Acknowledgment sent {"connection_id":132453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:37:56] local.INFO: TCP Data received {"connection_id":133489,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:37:56] local.INFO: Processing buffer {"connection_id":133489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:37:56] local.INFO: IMEI packet received {"connection_id":133489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":133489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:37:57] local.INFO: TCP Data received {"connection_id":132645,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132645,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:37:57] local.INFO: Processing buffer {"connection_id":132645,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:37:57] local.INFO: IMEI packet received {"connection_id":132645,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 15:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":132645,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:37:57] local.INFO: TCP Data received {"connection_id":133489,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f653de900012d1820400721a650004800832b..."} 
[2026-07-15 15:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f653de900012d1820400721a650004800832b..."} 
[2026-07-15 15:37:57] local.INFO: Processing buffer {"connection_id":133489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f653de900012d1820400721a650004800832b..."} 
[2026-07-15 15:37:57] local.INFO: Packet analysis {"connection_id":133489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f653d"} 
[2026-07-15 15:37:57] local.INFO: Extracted packet for processing {"connection_id":133489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f653d"} 
[2026-07-15 15:37:57] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119645776,"longitude_deg":75.655584,"latitude_deg":11.9645776,"altitude":72,"angle":131,"satellites":43,"speed":8,"hex_longitude":"2d182040","hex_latitude":"0721a650","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732155136001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:37:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087480486920192,"note":"Value kept but may cause issues"} 
[2026-07-15 15:37:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585225728,"note":"Value kept but may cause issues"} 
[2026-07-15 15:37:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:37:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784109984000,"timestamp_ms":1784109984000,"timestamp_seconds":1784109984,"priority":1,"record_length":96,"hex_timestamp":"0000019f653de900"} 
[2026-07-15 15:37:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15: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-07-15 15: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-15 15:37:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15: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-07-15 15:37:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:37:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:37:57] local.INFO: Teltonika packet parsed successfully {"connection_id":133489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:37:57] local.INFO: Passing IMEI to GPS processor {"connection_id":133489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:37:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":133489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:37:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:37:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:37:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:37:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732155136001,"66":13993,"105":206,"83":41984,"24":8,"16":6087480486920192,"45":1737896905585225728},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:37:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:37:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:37:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732155136001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:37:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:37:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:37:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087480486920192,"km_value":6087480486920.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:37:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585225728,"description":"Unknown IO ID 45"} 
[2026-07-15 15:37:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732155136001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1737896905585225728}} 
[2026-07-15 15:37:57] local.INFO: DEBUG: GPS processor result {"connection_id":133489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:37:57] local.INFO: GPS data processed {"connection_id":133489,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:37:57] local.INFO: Acknowledgment sent {"connection_id":133489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:37:57] local.INFO: TCP Data received {"connection_id":132645,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132645,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:37:57] local.INFO: Processing buffer {"connection_id":132645,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:37:57] local.INFO: IMEI packet received {"connection_id":132645,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 15:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":132645,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:38:00] local.INFO: TCP Data received {"connection_id":132645,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132645,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:38:00] local.INFO: Processing buffer {"connection_id":132645,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:38:00] local.INFO: IMEI packet received {"connection_id":132645,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 15:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":132645,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:38:00] local.INFO: TCP Data received {"connection_id":133490,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:38:00] local.INFO: Processing buffer {"connection_id":133490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:38:00] local.INFO: IMEI packet received {"connection_id":133490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":133490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:38:01] local.INFO: TCP Data received {"connection_id":132645,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132645,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:38:01] local.INFO: Processing buffer {"connection_id":132645,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:38:01] local.INFO: IMEI packet received {"connection_id":132645,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 15:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":132645,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:38:06] local.INFO: TCP Data received {"connection_id":133490,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:38:06] local.INFO: Processing buffer {"connection_id":133490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:38:06] local.INFO: IMEI packet received {"connection_id":133490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":133490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:38:07] local.INFO: TCP Data received {"connection_id":133490,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f653bbe50012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f653bbe50012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:38:07] local.INFO: Processing buffer {"connection_id":133490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f653bbe50012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:38:07] local.INFO: Packet analysis {"connection_id":133490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f653b"} 
[2026-07-15 15:38:07] local.INFO: Extracted packet for processing {"connection_id":133490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f653b"} 
[2026-07-15 15:38:07] local.INFO: GPS Element Parsed {"raw_longitude":763426112,"raw_latitude":94448216,"longitude_deg":76.3426112,"latitude_deg":9.4448216,"altitude":9,"angle":347,"satellites":46,"speed":0,"hex_longitude":"2d80f540","hex_latitude":"05a12a58","is_valid_coordinates":true} 
[2026-07-15 15:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732042496001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347183535343271936,"note":"Value kept but may cause issues"} 
[2026-07-15 15:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9154340274637744128,"note":"Value kept but may cause issues"} 
[2026-07-15 15:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784109842000,"timestamp_ms":1784109842000,"timestamp_seconds":1784109842,"priority":1,"record_length":96,"hex_timestamp":"0000019f653bbe50"} 
[2026-07-15 15:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 15:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:38:07] 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-07-15 15:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732042496001,"66":25995,"82":206,"85":14336,"24":0,"16":347183535343271936,"45":-9154340274637744128},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732042496001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:38:07] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:38:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347183535343271936,"km_value":347183535343271.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9154340274637744128,"description":"Unknown IO ID 45"} 
[2026-07-15 15:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732042496001,"power":25995,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9154340274637744128}} 
[2026-07-15 15:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":133490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:38:07] local.INFO: GPS data processed {"connection_id":133490,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:38:07] local.INFO: Acknowledgment sent {"connection_id":133490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:38:28] local.INFO: TCP Data received {"connection_id":133489,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f653e1fb0012d183200072197f0004d00752b..."} 
[2026-07-15 15:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f653e1fb0012d183200072197f0004d00752b..."} 
[2026-07-15 15:38:28] local.INFO: Processing buffer {"connection_id":133489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f653e1fb0012d183200072197f0004d00752b..."} 
[2026-07-15 15:38:28] local.INFO: Packet analysis {"connection_id":133489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f653e"} 
[2026-07-15 15:38:28] local.INFO: Extracted packet for processing {"connection_id":133489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f653e"} 
[2026-07-15 15:38:28] local.INFO: GPS Element Parsed {"raw_longitude":756560384,"raw_latitude":119642096,"longitude_deg":75.6560384,"latitude_deg":11.9642096,"altitude":77,"angle":117,"satellites":43,"speed":26,"hex_longitude":"2d183200","hex_latitude":"072197f0","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732155904001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6087759659794432,"note":"Value kept but may cause issues"} 
[2026-07-15 15:38:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855538507776,"note":"Value kept but may cause issues"} 
[2026-07-15 15:38: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-07-15 15:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784109998000,"timestamp_ms":1784109998000,"timestamp_seconds":1784109998,"priority":1,"record_length":96,"hex_timestamp":"0000019f653e1fb0"} 
[2026-07-15 15:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:38: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-07-15 15:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-15 15:38:28] 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-07-15 15: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-07-15 15:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":133489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":133489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":133489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:38:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732155904001,"66":14189,"105":206,"83":41984,"24":26,"16":6087759659794432,"45":1738459855538507776},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 15:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732155904001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:38:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 15:38:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6087759659794432,"km_value":6087759659794.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855538507776,"description":"Unknown IO ID 45"} 
[2026-07-15 15:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732155904001,"power":14189,"unknown_105":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1738459855538507776}} 
[2026-07-15 15:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":133489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:38:28] local.INFO: GPS data processed {"connection_id":133489,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:38:28] local.INFO: Acknowledgment sent {"connection_id":133489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:38:38] local.INFO: TCP Data received {"connection_id":133490,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f653bbe50012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f653bbe50012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:38:38] local.INFO: Processing buffer {"connection_id":133490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f653bbe50012d80f54005a12a580009015b2e..."} 
[2026-07-15 15:38:38] local.INFO: Packet analysis {"connection_id":133490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f653b"} 
[2026-07-15 15:38:38] local.INFO: Extracted packet for processing {"connection_id":133490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f653b"} 
[2026-07-15 15:38:38] local.INFO: GPS Element Parsed {"raw_longitude":763426112,"raw_latitude":94448216,"longitude_deg":76.3426112,"latitude_deg":9.4448216,"altitude":9,"angle":347,"satellites":46,"speed":0,"hex_longitude":"2d80f540","hex_latitude":"05a12a58","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732042496001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347183535343271936,"note":"Value kept but may cause issues"} 
[2026-07-15 15:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9154340274637744128,"note":"Value kept but may cause issues"} 
[2026-07-15 15:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784109842000,"timestamp_ms":1784109842000,"timestamp_seconds":1784109842,"priority":1,"record_length":96,"hex_timestamp":"0000019f653bbe50"} 
[2026-07-15 15:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 15:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15: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-07-15 15:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732042496001,"66":25995,"82":206,"85":14336,"24":0,"16":347183535343271936,"45":-9154340274637744128},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732042496001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:38:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:38:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347183535343271936,"km_value":347183535343271.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9154340274637744128,"description":"Unknown IO ID 45"} 
[2026-07-15 15:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732042496001,"power":25995,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9154340274637744128}} 
[2026-07-15 15:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":133490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:38:38] local.INFO: GPS data processed {"connection_id":133490,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:38:38] local.INFO: Acknowledgment sent {"connection_id":133490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:38:50] local.INFO: TCP Data received {"connection_id":132646,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:38:50] local.INFO: Processing buffer {"connection_id":132646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:38:50] local.INFO: IMEI packet received {"connection_id":132646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 15:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":132646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:38:54] local.INFO: TCP Data received {"connection_id":132646,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:38:54] local.INFO: Processing buffer {"connection_id":132646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:38:54] local.INFO: IMEI packet received {"connection_id":132646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":132646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:38:55] local.INFO: TCP Data received {"connection_id":132646,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:38:55] local.INFO: Processing buffer {"connection_id":132646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:38:55] local.INFO: IMEI packet received {"connection_id":132646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":132646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:38:56] local.INFO: TCP Data received {"connection_id":132646,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f653f67d0012d18cdc0072130f0004200912a..."} 
[2026-07-15 15:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f653f67d0012d18cdc0072130f0004200912a..."} 
[2026-07-15 15:38:56] local.INFO: Processing buffer {"connection_id":132646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f653f67d0012d18cdc0072130f0004200912a..."} 
[2026-07-15 15:38:56] local.INFO: Packet analysis {"connection_id":132646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f653f"} 
[2026-07-15 15:38:56] local.INFO: Extracted packet for processing {"connection_id":132646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f653f"} 
[2026-07-15 15:38:56] local.INFO: GPS Element Parsed {"raw_longitude":756600256,"raw_latitude":119615728,"longitude_deg":75.6600256,"latitude_deg":11.9615728,"altitude":66,"angle":145,"satellites":42,"speed":30,"hex_longitude":"2d18cdc0","hex_latitude":"072130f0","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732179968001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6090276510629888,"note":"Value kept but may cause issues"} 
[2026-07-15 15:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785536545386338304,"note":"Value kept but may cause issues"} 
[2026-07-15 15:38:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784110082000,"timestamp_ms":1784110082000,"timestamp_seconds":1784110082,"priority":1,"record_length":96,"hex_timestamp":"0000019f653f67d0"} 
[2026-07-15 15:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:38: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-07-15 15: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":224,"data_length":795,"current_offset":136} 
[2026-07-15 15:38: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-07-15 15: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-07-15 15:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732179968001,"66":14080,"106":206,"83":41984,"24":30,"16":6090276510629888,"45":1785536545386338304},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-15 15:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732179968001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:38:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-15 15:38:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6090276510629888,"km_value":6090276510629.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785536545386338304,"description":"Unknown IO ID 45"} 
[2026-07-15 15:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732179968001,"power":14080,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1785536545386338304}} 
[2026-07-15 15:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":132646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:38:56] local.INFO: GPS data processed {"connection_id":132646,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:38:56] local.INFO: Acknowledgment sent {"connection_id":132646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:38:57] local.INFO: TCP Data received {"connection_id":132646,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f653f7388012d18d200072129280041009e29..."} 
[2026-07-15 15:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f653f7388012d18d200072129280041009e29..."} 
[2026-07-15 15:38:57] local.INFO: Processing buffer {"connection_id":132646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f653f7388012d18d200072129280041009e29..."} 
[2026-07-15 15:38:57] local.INFO: Packet analysis {"connection_id":132646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f653f"} 
[2026-07-15 15:38:57] local.INFO: Extracted packet for processing {"connection_id":132646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f653f"} 
[2026-07-15 15:38:57] local.INFO: GPS Element Parsed {"raw_longitude":756601344,"raw_latitude":119613736,"longitude_deg":75.6601344,"latitude_deg":11.9613736,"altitude":65,"angle":158,"satellites":41,"speed":29,"hex_longitude":"2d18d200","hex_latitude":"07212928","is_valid_coordinates":true} 
[2026-07-15 15:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732180992001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6090383884812288,"note":"Value kept but may cause issues"} 
[2026-07-15 15:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787295763990114304,"note":"Value kept but may cause issues"} 
[2026-07-15 15:38: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-07-15 15:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784110085000,"timestamp_ms":1784110085000,"timestamp_seconds":1784110085,"priority":1,"record_length":96,"hex_timestamp":"0000019f653f7388"} 
[2026-07-15 15:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:38: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-07-15 15:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-15 15:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446303232,"note":"Value kept but may cause issues"} 
[2026-07-15 15:38:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-15 15:38:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-15 15:38:57] local.WARNING: Large IO value detected {"io_id":162,"raw_value":2818572288,"note":"Value kept but may cause issues"} 
[2026-07-15 15:38:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-07-15 15:38:57] local.WARNING: Large IO value detected {"io_id":171,"raw_value":3221692786,"note":"Value kept but may cause issues"} 
[2026-07-15 15:38:57] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3758148970,"note":"Value kept but may cause issues"} 
[2026-07-15 15:38:57] local.WARNING: Large IO value detected {"io_id":21,"raw_value":2721579008,"note":"Value kept but may cause issues"} 
[2026-07-15 15:38:57] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,106,83,24,241,157,16,163,159,88,45,128,59,67,42,10,66,162,64,77,69,41,56,1,240,218,227,101,33,4,113,205,27,6,171,216,239,54,2,21,7,76,25],"length":479,"final_offset":609,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-07-15 15:38:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755960816079863808,"timestamp_seconds":4755960816079864.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 15:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":132646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":132646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":132646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:38:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732180992001,"66":13906,"106":206,"83":41984,"24":29,"16":6090383884812288,"45":1787295763990114304},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-15 15:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732180992001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:38:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-15 15:38:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6090383884812288,"km_value":6090383884812.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787295763990114304,"description":"Unknown IO ID 45"} 
[2026-07-15 15:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732180992001,"power":13906,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1787295763990114304}} 
[2026-07-15 15:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":132646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:38:58] local.INFO: GPS data processed {"connection_id":132646,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:38:58] local.INFO: Acknowledgment sent {"connection_id":132646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:39:00] local.INFO: TCP Data received {"connection_id":132456,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:39:00] local.INFO: Processing buffer {"connection_id":132456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:39:00] local.INFO: IMEI packet received {"connection_id":132456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":132456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:39:05] local.INFO: TCP Data received {"connection_id":132456,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:39:05] local.INFO: Processing buffer {"connection_id":132456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:39:05] local.INFO: IMEI packet received {"connection_id":132456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":132456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:39:05] local.INFO: TCP Data received {"connection_id":132456,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f653fc590012d80f54005a12a580009015b2d..."} 
[2026-07-15 15:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f653fc590012d80f54005a12a580009015b2d..."} 
[2026-07-15 15:39:05] local.INFO: Processing buffer {"connection_id":132456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f653fc590012d80f54005a12a580009015b2d..."} 
[2026-07-15 15:39:05] local.INFO: Packet analysis {"connection_id":132456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f653f"} 
[2026-07-15 15:39:05] local.INFO: Extracted packet for processing {"connection_id":132456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f653f"} 
[2026-07-15 15:39:05] local.INFO: GPS Element Parsed {"raw_longitude":763426112,"raw_latitude":94448216,"longitude_deg":76.3426112,"latitude_deg":9.4448216,"altitude":9,"angle":347,"satellites":45,"speed":0,"hex_longitude":"2d80f540","hex_latitude":"05a12a58","is_valid_coordinates":true} 
[2026-07-15 15:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732119552001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347183535343271936,"note":"Value kept but may cause issues"} 
[2026-07-15 15:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9154340274637744128,"note":"Value kept but may cause issues"} 
[2026-07-15 15:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784110106000,"timestamp_ms":1784110106000,"timestamp_seconds":1784110106,"priority":1,"record_length":96,"hex_timestamp":"0000019f653fc590"} 
[2026-07-15 15:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 15:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 15:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:39:05] 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-07-15 15:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732119552001,"66":26006,"82":206,"85":14336,"24":0,"16":347183535343271936,"45":-9154340274637744128},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732119552001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:39:05] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:39:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347183535343271936,"km_value":347183535343271.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9154340274637744128,"description":"Unknown IO ID 45"} 
[2026-07-15 15:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732119552001,"power":26006,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9154340274637744128}} 
[2026-07-15 15:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":132456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:39:05] local.INFO: GPS data processed {"connection_id":132456,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:39:05] local.INFO: Acknowledgment sent {"connection_id":132456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:39:29] local.INFO: TCP Data received {"connection_id":132646,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f65400fc8012d18c9000720f2b8003800a127..."} 
[2026-07-15 15:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65400fc8012d18c9000720f2b8003800a127..."} 
[2026-07-15 15:39:29] local.INFO: Processing buffer {"connection_id":132646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65400fc8012d18c9000720f2b8003800a127..."} 
[2026-07-15 15:39:29] local.INFO: Packet analysis {"connection_id":132646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6540"} 
[2026-07-15 15:39:29] local.INFO: Extracted packet for processing {"connection_id":132646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6540"} 
[2026-07-15 15:39:29] local.INFO: GPS Element Parsed {"raw_longitude":756599040,"raw_latitude":119599800,"longitude_deg":75.659904,"latitude_deg":11.95998,"altitude":56,"angle":161,"satellites":39,"speed":13,"hex_longitude":"2d18c900","hex_latitude":"0720f2b8","is_valid_coordinates":true} 
[2026-07-15 15:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732191744001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6091178453762048,"note":"Value kept but may cause issues"} 
[2026-07-15 15:39:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785888389102563328,"note":"Value kept but may cause issues"} 
[2026-07-15 15:39: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-07-15 15:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784110125000,"timestamp_ms":1784110125000,"timestamp_seconds":1784110125,"priority":1,"record_length":96,"hex_timestamp":"0000019f65400fc8"} 
[2026-07-15 15:39:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:39: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-07-15 15:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-15 15:39:29] 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-07-15 15:39:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:39:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":132646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":132646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":132646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:39:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732191744001,"66":14265,"106":206,"83":41984,"24":13,"16":6091178453762048,"45":1785888389102563328},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-15 15:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732191744001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:39:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-15 15:39:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6091178453762048,"km_value":6091178453762.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:39:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785888389102563328,"description":"Unknown IO ID 45"} 
[2026-07-15 15:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732191744001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1785888389102563328}} 
[2026-07-15 15:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":132646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:39:29] local.INFO: GPS data processed {"connection_id":132646,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:39:29] local.INFO: Acknowledgment sent {"connection_id":132646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:39:37] local.INFO: TCP Data received {"connection_id":132456,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f653fd148012d80f04005a12e40000901002c..."} 
[2026-07-15 15:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f653fd148012d80f04005a12e40000901002c..."} 
[2026-07-15 15:39:37] local.INFO: Processing buffer {"connection_id":132456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f653fd148012d80f04005a12e40000901002c..."} 
[2026-07-15 15:39:37] local.INFO: Packet analysis {"connection_id":132456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f653f"} 
[2026-07-15 15:39:37] local.INFO: Extracted packet for processing {"connection_id":132456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f653f"} 
[2026-07-15 15:39:37] local.INFO: GPS Element Parsed {"raw_longitude":763424832,"raw_latitude":94449216,"longitude_deg":76.3424832,"latitude_deg":9.4449216,"altitude":9,"angle":256,"satellites":44,"speed":0,"hex_longitude":"2d80f040","hex_latitude":"05a12e40","is_valid_coordinates":true} 
[2026-07-15 15:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732187136001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347183535343271936,"note":"Value kept but may cause issues"} 
[2026-07-15 15:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9154340274637744128,"note":"Value kept but may cause issues"} 
[2026-07-15 15:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784110109000,"timestamp_ms":1784110109000,"timestamp_seconds":1784110109,"priority":1,"record_length":96,"hex_timestamp":"0000019f653fd148"} 
[2026-07-15 15:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 15:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:39:37] 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-07-15 15:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732187136001,"66":20483,"82":206,"85":14336,"24":0,"16":347183535343271936,"45":-9154340274637744128},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732187136001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:39:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:39:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347183535343271936,"km_value":347183535343271.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9154340274637744128,"description":"Unknown IO ID 45"} 
[2026-07-15 15:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732187136001,"power":20483,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9154340274637744128}} 
[2026-07-15 15:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":132456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:39:37] local.INFO: GPS data processed {"connection_id":132456,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:39:37] local.INFO: Acknowledgment sent {"connection_id":132456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:39:41] local.INFO: TCP Data received {"connection_id":132457,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132457,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:39:41] local.INFO: Processing buffer {"connection_id":132457,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:39:41] local.INFO: IMEI packet received {"connection_id":132457,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 15:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":132457,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:39:42] local.INFO: TCP Data received {"connection_id":132457,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132457,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:39:42] local.INFO: Processing buffer {"connection_id":132457,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:39:42] local.INFO: IMEI packet received {"connection_id":132457,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":132457,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:39:50] local.INFO: TCP Data received {"connection_id":133491,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:39:50] local.INFO: Processing buffer {"connection_id":133491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:39:50] local.INFO: IMEI packet received {"connection_id":133491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 15:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":133491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:39:56] local.INFO: TCP Data received {"connection_id":133491,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:39:56] local.INFO: Processing buffer {"connection_id":133491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:39:56] local.INFO: IMEI packet received {"connection_id":133491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":133491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:39:57] local.INFO: TCP Data received {"connection_id":133491,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f65401798012d18c9400720f040003700b828..."} 
[2026-07-15 15:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65401798012d18c9400720f040003700b828..."} 
[2026-07-15 15:39:57] local.INFO: Processing buffer {"connection_id":133491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65401798012d18c9400720f040003700b828..."} 
[2026-07-15 15:39:57] local.INFO: Packet analysis {"connection_id":133491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6540"} 
[2026-07-15 15:39:57] local.INFO: Extracted packet for processing {"connection_id":133491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6540"} 
[2026-07-15 15:39:57] local.INFO: GPS Element Parsed {"raw_longitude":756599104,"raw_latitude":119599168,"longitude_deg":75.6599104,"latitude_deg":11.9599168,"altitude":55,"angle":184,"satellites":40,"speed":12,"hex_longitude":"2d18c940","hex_latitude":"0720f040","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732192000001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:39:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6091208518533120,"note":"Value kept but may cause issues"} 
[2026-07-15 15:39:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785958757846661120,"note":"Value kept but may cause issues"} 
[2026-07-15 15:39: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-07-15 15:39:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784110127000,"timestamp_ms":1784110127000,"timestamp_seconds":1784110127,"priority":1,"record_length":96,"hex_timestamp":"0000019f65401798"} 
[2026-07-15 15:39:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:39: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-07-15 15: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-15 15:39:57] 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-07-15 15: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-07-15 15:39:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:39:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:39:57] local.INFO: Teltonika packet parsed successfully {"connection_id":133491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:39:57] local.INFO: Passing IMEI to GPS processor {"connection_id":133491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:39:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":133491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:39:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:39:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:39:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:39:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732192000001,"66":14233,"106":206,"83":41984,"24":12,"16":6091208518533120,"45":1785958757846661120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-15 15:39:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:39:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:39:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732192000001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:39:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-15 15:39:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:39:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6091208518533120,"km_value":6091208518533.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:39:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785958757846661120,"description":"Unknown IO ID 45"} 
[2026-07-15 15:39:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732192000001,"power":14233,"unknown_106":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1785958757846661120}} 
[2026-07-15 15:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":133491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:39:57] local.INFO: GPS data processed {"connection_id":133491,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:39:57] local.INFO: Acknowledgment sent {"connection_id":133491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:40:06] local.INFO: TCP Data received {"connection_id":134866,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:40:06] local.INFO: Processing buffer {"connection_id":134866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:40:06] local.INFO: IMEI packet received {"connection_id":134866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":134866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:40:11] local.INFO: TCP Data received {"connection_id":134866,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:40:11] local.INFO: Processing buffer {"connection_id":134866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:40:11] local.INFO: IMEI packet received {"connection_id":134866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":134866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:40:11] local.INFO: TCP Data received {"connection_id":134866,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f65402350012d80f04005a12e40000901002e..."} 
[2026-07-15 15:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65402350012d80f04005a12e40000901002e..."} 
[2026-07-15 15:40:11] local.INFO: Processing buffer {"connection_id":134866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65402350012d80f04005a12e40000901002e..."} 
[2026-07-15 15:40:11] local.INFO: Packet analysis {"connection_id":134866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6540"} 
[2026-07-15 15:40:11] local.INFO: Extracted packet for processing {"connection_id":134866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6540"} 
[2026-07-15 15:40:11] local.INFO: GPS Element Parsed {"raw_longitude":763424832,"raw_latitude":94449216,"longitude_deg":76.3424832,"latitude_deg":9.4449216,"altitude":9,"angle":256,"satellites":46,"speed":0,"hex_longitude":"2d80f040","hex_latitude":"05a12e40","is_valid_coordinates":true} 
[2026-07-15 15:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732187904001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347183535343271936,"note":"Value kept but may cause issues"} 
[2026-07-15 15:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155747649521041408,"note":"Value kept but may cause issues"} 
[2026-07-15 15:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784110130000,"timestamp_ms":1784110130000,"timestamp_seconds":1784110130,"priority":1,"record_length":96,"hex_timestamp":"0000019f65402350"} 
[2026-07-15 15:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":80,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-15 15:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2377900603419395072,"note":"Value kept but may cause issues"} 
[2026-07-15 15:40:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432132,"note":"Value kept but may cause issues"} 
[2026-07-15 15:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2163556357,"note":"Value kept but may cause issues"} 
[2026-07-15 15:40:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":2674207016,"note":"Value kept but may cause issues"} 
[2026-07-15 15:40:11] local.WARNING: Large IO value detected {"io_id":4,"raw_value":3513876992,"note":"Value kept but may cause issues"} 
[2026-07-15 15:40:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2857500878,"corrected_to":0} 
[2026-07-15 15:40:11] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":4160826752,"corrected_to":0} 
[2026-07-15 15:40:11] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182251184455936,"note":"Value kept but may cause issues"} 
[2026-07-15 15:40:11] local.WARNING: Large IO value detected {"io_id":102,"raw_value":2600521130,"note":"Value kept but may cause issues"} 
[2026-07-15 15:40:11] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2701230080,"note":"Value kept but may cause issues"} 
[2026-07-15 15:40:11] local.WARNING: Large IO value detected {"io_id":250,"raw_value":2415921153,"note":"Value kept but may cause issues"} 
[2026-07-15 15:40:11] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993198916096,"note":"Value kept but may cause issues"} 
[2026-07-15 15:40:11] local.INFO: IO Element Parsed {"io_data_count":47,"io_data_keys":[0,82,85,24,241,157,16,113,159,197,45,64,42,9,10,66,190,46,38,240,150,227,101,161,1,4,205,246,245,88,49,239,102,2,209,5,35,206,41,129,250,93,96,69,170,56,128],"length":631,"final_offset":761,"validated_count":47,"validation_warnings":[{"io_id":205,"original":2857500878,"validated":0},{"io_id":246,"original":4160826752,"validated":0}]} 
[2026-07-15 15:40:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648800010296623104,"timestamp_seconds":648800010296623.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 15:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":134866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":134866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":134866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:40:11] 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-07-15 15:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732187904001,"66":27843,"82":206,"85":14336,"24":0,"16":347183535343271936,"45":-9155747649521041408},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732187904001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:40:11] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:40:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347183535343271936,"km_value":347183535343271.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155747649521041408,"description":"Unknown IO ID 45"} 
[2026-07-15 15:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732187904001,"power":27843,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9155747649521041408}} 
[2026-07-15 15:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":134866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:40:12] local.INFO: GPS data processed {"connection_id":134866,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:40:12] local.INFO: Acknowledgment sent {"connection_id":134866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:40:16] local.INFO: TCP Data received {"connection_id":134866,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f65407558012d80f04005a12e40000901002b..."} 
[2026-07-15 15:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65407558012d80f04005a12e40000901002b..."} 
[2026-07-15 15:40:16] local.INFO: Processing buffer {"connection_id":134866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65407558012d80f04005a12e40000901002b..."} 
[2026-07-15 15:40:16] local.INFO: Packet analysis {"connection_id":134866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6540"} 
[2026-07-15 15:40:16] local.INFO: Extracted packet for processing {"connection_id":134866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6540"} 
[2026-07-15 15:40:16] local.INFO: GPS Element Parsed {"raw_longitude":763424832,"raw_latitude":94449216,"longitude_deg":76.3424832,"latitude_deg":9.4449216,"altitude":9,"angle":256,"satellites":43,"speed":0,"hex_longitude":"2d80f040","hex_latitude":"05a12e40","is_valid_coordinates":true} 
[2026-07-15 15:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732193280001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347183535343271936,"note":"Value kept but may cause issues"} 
[2026-07-15 15:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155747649521041408,"note":"Value kept but may cause issues"} 
[2026-07-15 15:40:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784110151000,"timestamp_ms":1784110151000,"timestamp_seconds":1784110151,"priority":1,"record_length":96,"hex_timestamp":"0000019f65407558"} 
[2026-07-15 15:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-15 15:40:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":134866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":134866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":134866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732193280001,"66":27626,"82":206,"85":14336,"24":0,"16":347183535343271936,"45":-9155747649521041408},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732193280001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:40:16] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:40:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347183535343271936,"km_value":347183535343271.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155747649521041408,"description":"Unknown IO ID 45"} 
[2026-07-15 15:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732193280001,"power":27626,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9155747649521041408}} 
[2026-07-15 15:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":134866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:40:16] local.INFO: GPS data processed {"connection_id":134866,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:40:16] local.INFO: Acknowledgment sent {"connection_id":134866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:40:28] local.INFO: TCP Data received {"connection_id":133491,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f65401b80012d18c9000720ef08003700cd28..."} 
[2026-07-15 15:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65401b80012d18c9000720ef08003700cd28..."} 
[2026-07-15 15:40:28] local.INFO: Processing buffer {"connection_id":133491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65401b80012d18c9000720ef08003700cd28..."} 
[2026-07-15 15:40:28] local.INFO: Packet analysis {"connection_id":133491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6540"} 
[2026-07-15 15:40:28] local.INFO: Extracted packet for processing {"connection_id":133491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6540"} 
[2026-07-15 15:40:28] local.INFO: GPS Element Parsed {"raw_longitude":756599040,"raw_latitude":119598856,"longitude_deg":75.659904,"latitude_deg":11.9598856,"altitude":55,"angle":205,"satellites":40,"speed":12,"hex_longitude":"2d18c900","hex_latitude":"0720ef08","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732192512001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6091221403435008,"note":"Value kept but may cause issues"} 
[2026-07-15 15:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786029126590676992,"note":"Value kept but may cause issues"} 
[2026-07-15 15:40: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-07-15 15:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784110128000,"timestamp_ms":1784110128000,"timestamp_seconds":1784110128,"priority":1,"record_length":96,"hex_timestamp":"0000019f65401b80"} 
[2026-07-15 15:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:40:28] 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-07-15 15: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-15 15:40:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15: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-07-15 15:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":133491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":133491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":133491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732192512001,"66":14233,"106":206,"83":41984,"24":12,"16":6091221403435008,"45":1786029126590676992},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-15 15:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732192512001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:40:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-15 15:40:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6091221403435008,"km_value":6091221403435.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786029126590676992,"description":"Unknown IO ID 45"} 
[2026-07-15 15:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732192512001,"power":14233,"unknown_106":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1786029126590676992}} 
[2026-07-15 15:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":133491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:40:28] local.INFO: GPS data processed {"connection_id":133491,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:40:28] local.INFO: Acknowledgment sent {"connection_id":133491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:40:51] local.INFO: TCP Data received {"connection_id":133494,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:40:51] local.INFO: Processing buffer {"connection_id":133494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:40:51] local.INFO: IMEI packet received {"connection_id":133494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 15:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":133494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:40:55] local.INFO: TCP Data received {"connection_id":133494,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:40:55] local.INFO: Processing buffer {"connection_id":133494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:40:55] local.INFO: IMEI packet received {"connection_id":133494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":133494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:41:00] local.INFO: TCP Data received {"connection_id":133494,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:41:00] local.INFO: Processing buffer {"connection_id":133494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:41:00] local.INFO: IMEI packet received {"connection_id":133494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":133494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:41:00] local.INFO: TCP Data received {"connection_id":133494,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f65411580012d18bd8007208ab80026009c26..."} 
[2026-07-15 15:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65411580012d18bd8007208ab80026009c26..."} 
[2026-07-15 15:41:00] local.INFO: Processing buffer {"connection_id":133494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65411580012d18bd8007208ab80026009c26..."} 
[2026-07-15 15:41:00] local.INFO: Packet analysis {"connection_id":133494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6541"} 
[2026-07-15 15:41:00] local.INFO: Extracted packet for processing {"connection_id":133494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6541"} 
[2026-07-15 15:41:00] local.INFO: GPS Element Parsed {"raw_longitude":756596096,"raw_latitude":119573176,"longitude_deg":75.6596096,"latitude_deg":11.9573176,"altitude":38,"angle":156,"satellites":38,"speed":10,"hex_longitude":"2d18bd80","hex_latitude":"07208ab8","is_valid_coordinates":true} 
[2026-07-15 15:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732208384001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6092552843296768,"note":"Value kept but may cause issues"} 
[2026-07-15 15:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1782369951886952448,"note":"Value kept but may cause issues"} 
[2026-07-15 15:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784110192000,"timestamp_ms":1784110192000,"timestamp_seconds":1784110192,"priority":1,"record_length":96,"hex_timestamp":"0000019f65411580"} 
[2026-07-15 15:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:41:00] 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-07-15 15:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-15 15:41:00] 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-07-15 15:41:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":133494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":133494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":133494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:41:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732208384001,"66":14233,"103":206,"83":41984,"24":10,"16":6092552843296768,"45":1782369951886952448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 15:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732208384001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:41:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 15:41:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6092552843296768,"km_value":6092552843296.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1782369951886952448,"description":"Unknown IO ID 45"} 
[2026-07-15 15:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732208384001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1782369951886952448}} 
[2026-07-15 15:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":133494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491511,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:41:00] local.INFO: GPS data processed {"connection_id":133494,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:41:00] local.INFO: Acknowledgment sent {"connection_id":133494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:41:01] local.INFO: TCP Data received {"connection_id":133494,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f654138a8012d18c080072083300024008a27..."} 
[2026-07-15 15:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f654138a8012d18c080072083300024008a27..."} 
[2026-07-15 15:41:01] local.INFO: Processing buffer {"connection_id":133494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f654138a8012d18c080072083300024008a27..."} 
[2026-07-15 15:41:01] local.INFO: Packet analysis {"connection_id":133494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6541"} 
[2026-07-15 15:41:01] local.INFO: Extracted packet for processing {"connection_id":133494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6541"} 
[2026-07-15 15:41:01] local.INFO: GPS Element Parsed {"raw_longitude":756596864,"raw_latitude":119571248,"longitude_deg":75.6596864,"latitude_deg":11.9571248,"altitude":36,"angle":138,"satellites":39,"speed":8,"hex_longitude":"2d18c080","hex_latitude":"07208330","is_valid_coordinates":true} 
[2026-07-15 15:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732209152001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6092651627544576,"note":"Value kept but may cause issues"} 
[2026-07-15 15:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1782721795607672832,"note":"Value kept but may cause issues"} 
[2026-07-15 15:41:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784110201000,"timestamp_ms":1784110201000,"timestamp_seconds":1784110201,"priority":1,"record_length":96,"hex_timestamp":"0000019f654138a8"} 
[2026-07-15 15:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:41:01] 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-07-15 15:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-15 15:41:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:41:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":133494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":133494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":133494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:41:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732209152001,"66":14243,"103":206,"83":41984,"24":8,"16":6092651627544576,"45":1782721795607672832},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 15:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732209152001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:41:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 15:41:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6092651627544576,"km_value":6092651627544.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1782721795607672832,"description":"Unknown IO ID 45"} 
[2026-07-15 15:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732209152001,"power":14243,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1782721795607672832}} 
[2026-07-15 15:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":133494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:41:01] local.INFO: GPS data processed {"connection_id":133494,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:41:01] local.INFO: Acknowledgment sent {"connection_id":133494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:41:02] local.INFO: TCP Data received {"connection_id":132459,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:41:02] local.INFO: Processing buffer {"connection_id":132459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:41:02] local.INFO: IMEI packet received {"connection_id":132459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":132459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:41:06] local.INFO: TCP Data received {"connection_id":132459,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:41:06] local.INFO: Processing buffer {"connection_id":132459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:41:06] local.INFO: IMEI packet received {"connection_id":132459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":132459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:41:06] local.INFO: TCP Data received {"connection_id":132459,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f65408cc8012d80f04005a12ec8000d004c2a..."} 
[2026-07-15 15:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65408cc8012d80f04005a12ec8000d004c2a..."} 
[2026-07-15 15:41:06] local.INFO: Processing buffer {"connection_id":132459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65408cc8012d80f04005a12ec8000d004c2a..."} 
[2026-07-15 15:41:06] local.INFO: Packet analysis {"connection_id":132459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6540"} 
[2026-07-15 15:41:06] local.INFO: Extracted packet for processing {"connection_id":132459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6540"} 
[2026-07-15 15:41:06] local.INFO: GPS Element Parsed {"raw_longitude":763424832,"raw_latitude":94449352,"longitude_deg":76.3424832,"latitude_deg":9.4449352,"altitude":13,"angle":76,"satellites":42,"speed":2,"hex_longitude":"2d80f040","hex_latitude":"05a12ec8","is_valid_coordinates":true} 
[2026-07-15 15:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732198656001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347183543933206528,"note":"Value kept but may cause issues"} 
[2026-07-15 15:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155747649521041408,"note":"Value kept but may cause issues"} 
[2026-07-15 15:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784110157000,"timestamp_ms":1784110157000,"timestamp_seconds":1784110157,"priority":1,"record_length":96,"hex_timestamp":"0000019f65408cc8"} 
[2026-07-15 15:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-15 15:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:41:06] 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-07-15 15:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732198656001,"66":27843,"82":206,"85":14336,"24":2,"16":347183543933206528,"45":-9155747649521041408},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-15 15:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732198656001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:41:06] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-15 15:41:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347183543933206528,"km_value":347183543933206.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155747649521041408,"description":"Unknown IO ID 45"} 
[2026-07-15 15:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732198656001,"power":27843,"unknown_82":206,"unknown_85":14336,"ignition":2,"odometer":null,"unknown_45":-9155747649521041408}} 
[2026-07-15 15:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":132459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:41:06] local.INFO: GPS data processed {"connection_id":132459,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:41:06] local.INFO: Acknowledgment sent {"connection_id":132459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:41:33] local.INFO: TCP Data received {"connection_id":133494,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f65415018012d18c44007207e800024009d27..."} 
[2026-07-15 15:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65415018012d18c44007207e800024009d27..."} 
[2026-07-15 15:41:33] local.INFO: Processing buffer {"connection_id":133494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65415018012d18c44007207e800024009d27..."} 
[2026-07-15 15:41:33] local.INFO: Packet analysis {"connection_id":133494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6541"} 
[2026-07-15 15:41:33] local.INFO: Extracted packet for processing {"connection_id":133494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6541"} 
[2026-07-15 15:41:33] local.INFO: GPS Element Parsed {"raw_longitude":756597824,"raw_latitude":119570048,"longitude_deg":75.6597824,"latitude_deg":11.9570048,"altitude":36,"angle":157,"satellites":39,"speed":11,"hex_longitude":"2d18c440","hex_latitude":"07207e80","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732211456001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6092728936955904,"note":"Value kept but may cause issues"} 
[2026-07-15 15:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783566220537311232,"note":"Value kept but may cause issues"} 
[2026-07-15 15:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784110207000,"timestamp_ms":1784110207000,"timestamp_seconds":1784110207,"priority":1,"record_length":96,"hex_timestamp":"0000019f65415018"} 
[2026-07-15 15:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-15 15:41: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-07-15 15: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-07-15 15:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":133494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":133494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":133494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732211456001,"66":14157,"103":206,"83":41984,"24":11,"16":6092728936955904,"45":1783566220537311232},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 15:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732211456001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:41:33] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 15:41:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6092728936955904,"km_value":6092728936955.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783566220537311232,"description":"Unknown IO ID 45"} 
[2026-07-15 15:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732211456001,"power":14157,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1783566220537311232}} 
[2026-07-15 15:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":133494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:41:33] local.INFO: GPS data processed {"connection_id":133494,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:41:33] local.INFO: Acknowledgment sent {"connection_id":133494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:41:38] local.INFO: TCP Data received {"connection_id":132649,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132649,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:41:38] local.INFO: Processing buffer {"connection_id":132649,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:41:38] local.INFO: IMEI packet received {"connection_id":132649,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 15:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":132649,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:41:38] local.INFO: TCP Data received {"connection_id":132459,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f6541c930012d80d58005a1e9700005015c2e..."} 
[2026-07-15 15:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6541c930012d80d58005a1e9700005015c2e..."} 
[2026-07-15 15:41:38] local.INFO: Processing buffer {"connection_id":132459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6541c930012d80d58005a1e9700005015c2e..."} 
[2026-07-15 15:41:38] local.INFO: Packet analysis {"connection_id":132459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6541"} 
[2026-07-15 15:41:38] local.INFO: Extracted packet for processing {"connection_id":132459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6541"} 
[2026-07-15 15:41:38] local.INFO: GPS Element Parsed {"raw_longitude":763417984,"raw_latitude":94497136,"longitude_deg":76.3417984,"latitude_deg":9.4497136,"altitude":5,"angle":348,"satellites":46,"speed":48,"hex_longitude":"2d80d580","hex_latitude":"05a1e970","is_valid_coordinates":true} 
[2026-07-15 15:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732218880001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347185992064565248,"note":"Value kept but may cause issues"} 
[2026-07-15 15:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9161447517789423616,"note":"Value kept but may cause issues"} 
[2026-07-15 15:41:38] 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-07-15 15:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784110238000,"timestamp_ms":1784110238000,"timestamp_seconds":1784110238,"priority":1,"record_length":96,"hex_timestamp":"0000019f6541c930"} 
[2026-07-15 15:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 15:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732218880001,"66":27865,"81":206,"85":14336,"24":48,"16":347185992064565248,"45":-9161447517789423616},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-15 15:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732218880001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:41:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-15 15:41:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347185992064565248,"km_value":347185992064565.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9161447517789423616,"description":"Unknown IO ID 45"} 
[2026-07-15 15:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732218880001,"power":27865,"unknown_81":206,"unknown_85":14336,"ignition":48,"odometer":null,"unknown_45":-9161447517789423616}} 
[2026-07-15 15:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":132459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:41:38] local.INFO: GPS data processed {"connection_id":132459,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:41:38] local.INFO: Acknowledgment sent {"connection_id":132459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:41:47] local.INFO: TCP Data received {"connection_id":132650,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:41:47] local.INFO: Processing buffer {"connection_id":132650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:41:47] local.INFO: IMEI packet received {"connection_id":132650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 15:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":132650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:41:48] local.INFO: TCP Data received {"connection_id":132650,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:41:48] local.INFO: Processing buffer {"connection_id":132650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:41:48] local.INFO: IMEI packet received {"connection_id":132650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":132650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:41:50] local.INFO: TCP Data received {"connection_id":132650,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:41:50] local.INFO: Processing buffer {"connection_id":132650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:41:50] local.INFO: IMEI packet received {"connection_id":132650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":132650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:41:56] local.INFO: TCP Data received {"connection_id":132650,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:41:56] local.INFO: Processing buffer {"connection_id":132650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:41:56] local.INFO: IMEI packet received {"connection_id":132650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":132650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:41:57] local.INFO: TCP Data received {"connection_id":132650,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f6541f040012d18dc0007205750002800b127..."} 
[2026-07-15 15:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6541f040012d18dc0007205750002800b127..."} 
[2026-07-15 15:41:57] local.INFO: Processing buffer {"connection_id":132650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6541f040012d18dc0007205750002800b127..."} 
[2026-07-15 15:41:57] local.INFO: Packet analysis {"connection_id":132650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6541"} 
[2026-07-15 15:41:57] local.INFO: Extracted packet for processing {"connection_id":132650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6541"} 
[2026-07-15 15:41:57] local.INFO: GPS Element Parsed {"raw_longitude":756603904,"raw_latitude":119560016,"longitude_deg":75.6603904,"latitude_deg":11.9560016,"altitude":40,"angle":177,"satellites":39,"speed":11,"hex_longitude":"2d18dc00","hex_latitude":"07205750","is_valid_coordinates":true} 
[2026-07-15 15:41:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732223232001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6093330232377344,"note":"Value kept but may cause issues"} 
[2026-07-15 15:41:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791236413649876992,"note":"Value kept but may cause issues"} 
[2026-07-15 15:41:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784110248000,"timestamp_ms":1784110248000,"timestamp_seconds":1784110248,"priority":1,"record_length":96,"hex_timestamp":"0000019f6541f040"} 
[2026-07-15 15:41:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:41:57] 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-07-15 15:41:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-07-15 15:41:57] 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-07-15 15:41:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:41:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":132650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":132650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":132650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:41:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732223232001,"66":13863,"103":206,"83":41984,"24":11,"16":6093330232377344,"45":1791236413649876992},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 15:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732223232001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:41:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 15:41:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6093330232377344,"km_value":6093330232377.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:41:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791236413649876992,"description":"Unknown IO ID 45"} 
[2026-07-15 15:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732223232001,"power":13863,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1791236413649876992}} 
[2026-07-15 15:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":132650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:41:57] local.INFO: GPS data processed {"connection_id":132650,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:41:57] local.INFO: Acknowledgment sent {"connection_id":132650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:42:01] local.INFO: TCP Data received {"connection_id":132650,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f65424248012d18dcc007203740002500bf27..."} 
[2026-07-15 15:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65424248012d18dcc007203740002500bf27..."} 
[2026-07-15 15:42:01] local.INFO: Processing buffer {"connection_id":132650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65424248012d18dcc007203740002500bf27..."} 
[2026-07-15 15:42:01] local.INFO: Packet analysis {"connection_id":132650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6542"} 
[2026-07-15 15:42:01] local.INFO: Extracted packet for processing {"connection_id":132650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6542"} 
[2026-07-15 15:42:01] local.INFO: GPS Element Parsed {"raw_longitude":756604096,"raw_latitude":119551808,"longitude_deg":75.6604096,"latitude_deg":11.9551808,"altitude":37,"angle":191,"satellites":39,"speed":12,"hex_longitude":"2d18dcc0","hex_latitude":"07203740","is_valid_coordinates":true} 
[2026-07-15 15:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732223488001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6093729664335872,"note":"Value kept but may cause issues"} 
[2026-07-15 15:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791306782393978880,"note":"Value kept but may cause issues"} 
[2026-07-15 15:42:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784110269000,"timestamp_ms":1784110269000,"timestamp_seconds":1784110269,"priority":1,"record_length":96,"hex_timestamp":"0000019f65424248"} 
[2026-07-15 15:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:42:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-07-15 15:42:01] 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-07-15 15:42:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":132650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":132650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":132650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:42:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732223488001,"66":13939,"103":206,"83":41984,"24":12,"16":6093729664335872,"45":1791306782393978880},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 15:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732223488001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:42:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 15:42:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6093729664335872,"km_value":6093729664335.872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791306782393978880,"description":"Unknown IO ID 45"} 
[2026-07-15 15:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732223488001,"power":13939,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1791306782393978880}} 
[2026-07-15 15:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":132650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:42:01] local.INFO: GPS data processed {"connection_id":132650,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:42:01] local.INFO: Acknowledgment sent {"connection_id":132650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:42:32] local.INFO: TCP Data received {"connection_id":132650,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f65424248012d18dcc007203740002500bf27..."} 
[2026-07-15 15:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65424248012d18dcc007203740002500bf27..."} 
[2026-07-15 15:42:32] local.INFO: Processing buffer {"connection_id":132650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65424248012d18dcc007203740002500bf27..."} 
[2026-07-15 15:42:32] local.INFO: Packet analysis {"connection_id":132650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6542"} 
[2026-07-15 15:42:32] local.INFO: Extracted packet for processing {"connection_id":132650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6542"} 
[2026-07-15 15:42:32] local.INFO: GPS Element Parsed {"raw_longitude":756604096,"raw_latitude":119551808,"longitude_deg":75.6604096,"latitude_deg":11.9551808,"altitude":37,"angle":191,"satellites":39,"speed":12,"hex_longitude":"2d18dcc0","hex_latitude":"07203740","is_valid_coordinates":true} 
[2026-07-15 15:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732228864001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6093729664335872,"note":"Value kept but may cause issues"} 
[2026-07-15 15:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791517888624410624,"note":"Value kept but may cause issues"} 
[2026-07-15 15:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784110269000,"timestamp_ms":1784110269000,"timestamp_seconds":1784110269,"priority":1,"record_length":96,"hex_timestamp":"0000019f65424248"} 
[2026-07-15 15:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:42:32] 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-07-15 15:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-07-15 15:42:32] 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-07-15 15:42:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":132650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":132650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":132650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732228864001,"66":13939,"103":206,"83":41984,"24":12,"16":6093729664335872,"45":1791517888624410624},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 15:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732228864001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:42:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 15:42:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6093729664335872,"km_value":6093729664335.872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791517888624410624,"description":"Unknown IO ID 45"} 
[2026-07-15 15:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732228864001,"power":13939,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1791517888624410624}} 
[2026-07-15 15:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":132650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:42:32] local.INFO: GPS data processed {"connection_id":132650,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:42:32] local.INFO: Acknowledgment sent {"connection_id":132650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:42:50] local.INFO: TCP Data received {"connection_id":134868,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:42:50] local.INFO: Processing buffer {"connection_id":134868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:42:50] local.INFO: IMEI packet received {"connection_id":134868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":134868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:42:51] local.INFO: TCP Data received {"connection_id":133496,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:42:51] local.INFO: Processing buffer {"connection_id":133496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:42:51] local.INFO: IMEI packet received {"connection_id":133496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 15:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":133496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:42:51] local.INFO: TCP Data received {"connection_id":134868,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:42:51] local.INFO: Processing buffer {"connection_id":134868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:42:51] local.INFO: IMEI packet received {"connection_id":134868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":134868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:42:56] local.INFO: TCP Data received {"connection_id":133496,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:42:56] local.INFO: Processing buffer {"connection_id":133496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:42:56] local.INFO: IMEI packet received {"connection_id":133496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":133496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:42:56] local.INFO: TCP Data received {"connection_id":134868,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:42:56] local.INFO: Processing buffer {"connection_id":134868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:42:56] local.INFO: IMEI packet received {"connection_id":134868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":134868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:42:56] local.INFO: TCP Data received {"connection_id":133496,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f65429450012d18da0007201cb0002600c529..."} 
[2026-07-15 15:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65429450012d18da0007201cb0002600c529..."} 
[2026-07-15 15:42:56] local.INFO: Processing buffer {"connection_id":133496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65429450012d18da0007201cb0002600c529..."} 
[2026-07-15 15:42:56] local.INFO: Packet analysis {"connection_id":133496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6542"} 
[2026-07-15 15:42:56] local.INFO: Extracted packet for processing {"connection_id":133496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6542"} 
[2026-07-15 15:42:56] local.INFO: GPS Element Parsed {"raw_longitude":756603392,"raw_latitude":119545008,"longitude_deg":75.6603392,"latitude_deg":11.9545008,"altitude":38,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2d18da00","hex_latitude":"07201cb0","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732228864001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6094064671784960,"note":"Value kept but may cause issues"} 
[2026-07-15 15:42:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791517888624410624,"note":"Value kept but may cause issues"} 
[2026-07-15 15:42:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784110290000,"timestamp_ms":1784110290000,"timestamp_seconds":1784110290,"priority":1,"record_length":96,"hex_timestamp":"0000019f65429450"} 
[2026-07-15 15:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:42: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-07-15 15: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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-07-15 15:42:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15: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-07-15 15:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:42:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732228864001,"66":14396,"102":206,"83":41984,"24":0,"16":6094064671784960,"45":1791517888624410624},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-15 15:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732228864001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:42:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-15 15:42:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6094064671784960,"km_value":6094064671784.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:42:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791517888624410624,"description":"Unknown IO ID 45"} 
[2026-07-15 15:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732228864001,"power":14396,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1791517888624410624}} 
[2026-07-15 15:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":133496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:42:56] local.INFO: GPS data processed {"connection_id":133496,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:42:56] local.INFO: Acknowledgment sent {"connection_id":133496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:42:56] local.INFO: TCP Data received {"connection_id":134868,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f65431150012d80964005a369600008015d2e..."} 
[2026-07-15 15:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65431150012d80964005a369600008015d2e..."} 
[2026-07-15 15:42:56] local.INFO: Processing buffer {"connection_id":134868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65431150012d80964005a369600008015d2e..."} 
[2026-07-15 15:42:56] local.INFO: Packet analysis {"connection_id":134868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6543"} 
[2026-07-15 15:42:56] local.INFO: Extracted packet for processing {"connection_id":134868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6543"} 
[2026-07-15 15:42:56] local.INFO: GPS Element Parsed {"raw_longitude":763401792,"raw_latitude":94595424,"longitude_deg":76.3401792,"latitude_deg":9.4595424,"altitude":8,"angle":349,"satellites":46,"speed":60,"hex_longitude":"2d809640","hex_latitude":"05a36960","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732240896001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347190828197740544,"note":"Value kept but may cause issues"} 
[2026-07-15 15:42:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9179321178785441792,"note":"Value kept but may cause issues"} 
[2026-07-15 15:42: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-07-15 15:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784110322000,"timestamp_ms":1784110322000,"timestamp_seconds":1784110322,"priority":1,"record_length":96,"hex_timestamp":"0000019f65431150"} 
[2026-07-15 15:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:42:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-15 15:42:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15: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-07-15 15:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":134868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":134868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":134868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:42: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-07-15 15:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732240896001,"66":27865,"53":206,"85":14336,"24":60,"16":347190828197740544,"45":-9179321178785441792},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-15 15:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732240896001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:42:56] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-15 15:42:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347190828197740544,"km_value":347190828197740.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:42:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9179321178785441792,"description":"Unknown IO ID 45"} 
[2026-07-15 15:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732240896001,"power":27865,"unknown_53":206,"unknown_85":14336,"ignition":60,"odometer":null,"unknown_45":-9179321178785441792}} 
[2026-07-15 15:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":134868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:42:57] local.INFO: GPS data processed {"connection_id":134868,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:42:57] local.INFO: Acknowledgment sent {"connection_id":134868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:43:02] local.INFO: TCP Data received {"connection_id":132460,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132460,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:43:02] local.INFO: Processing buffer {"connection_id":132460,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:43:02] local.INFO: IMEI packet received {"connection_id":132460,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 15:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":132460,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:43:02] local.INFO: TCP Data received {"connection_id":132460,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f65430980012d0bf98007035da0001c00720a..."} 
[2026-07-15 15:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65430980012d0bf98007035da0001c00720a..."} 
[2026-07-15 15:43:02] local.INFO: Processing buffer {"connection_id":132460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65430980012d0bf98007035da0001c00720a..."} 
[2026-07-15 15:43:02] local.INFO: Packet analysis {"connection_id":132460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6543"} 
[2026-07-15 15:43:02] local.INFO: Extracted packet for processing {"connection_id":132460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6543"} 
[2026-07-15 15:43:02] local.INFO: GPS Element Parsed {"raw_longitude":755759488,"raw_latitude":117661088,"longitude_deg":75.5759488,"latitude_deg":11.7661088,"altitude":28,"angle":114,"satellites":10,"speed":14,"hex_longitude":"2d0bf980","hex_latitude":"07035da0","is_valid_coordinates":true} 
[2026-07-15 15:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732239872001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24660207565012992,"note":"Value kept but may cause issues"} 
[2026-07-15 15:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":857583915414372352,"note":"Value kept but may cause issues"} 
[2026-07-15 15:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784110320000,"timestamp_ms":1784110320000,"timestamp_seconds":1784110320,"priority":1,"record_length":96,"hex_timestamp":"0000019f65430980"} 
[2026-07-15 15:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-15 15:43:02] 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-07-15 15:43:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":132460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":132460,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":132460,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 15:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 15:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732239872001,"66":14439,"37":206,"94":11008,"24":14,"16":24660207565012992,"45":857583915414372352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-15 15:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 15:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 15:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732239872001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:43:02] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-15 15:43:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 15:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24660207565012992,"km_value":24660207565012.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":857583915414372352,"description":"Unknown IO ID 45"} 
[2026-07-15 15:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732239872001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":857583915414372352}} 
[2026-07-15 15:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":132460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491521,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:43:02] local.INFO: GPS data processed {"connection_id":132460,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:43:02] local.INFO: Acknowledgment sent {"connection_id":132460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:43:27] local.INFO: TCP Data received {"connection_id":133496,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f65439620012d18d640071fd6180030009b29..."} 
[2026-07-15 15:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65439620012d18d640071fd6180030009b29..."} 
[2026-07-15 15:43:27] local.INFO: Processing buffer {"connection_id":133496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65439620012d18d640071fd6180030009b29..."} 
[2026-07-15 15:43:27] local.INFO: Packet analysis {"connection_id":133496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6543"} 
[2026-07-15 15:43:27] local.INFO: Extracted packet for processing {"connection_id":133496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6543"} 
[2026-07-15 15:43:27] local.INFO: GPS Element Parsed {"raw_longitude":756602432,"raw_latitude":119526936,"longitude_deg":75.6602432,"latitude_deg":11.9526936,"altitude":48,"angle":155,"satellites":41,"speed":15,"hex_longitude":"2d18d640","hex_latitude":"071fd618","is_valid_coordinates":true} 
[2026-07-15 15:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732250624001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6095026744459264,"note":"Value kept but may cause issues"} 
[2026-07-15 15:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789406826292883456,"note":"Value kept but may cause issues"} 
[2026-07-15 15:43:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784110356000,"timestamp_ms":1784110356000,"timestamp_seconds":1784110356,"priority":1,"record_length":96,"hex_timestamp":"0000019f65439620"} 
[2026-07-15 15:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:43: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-07-15 15:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-15 15:43:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:43:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":133496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":133496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":133496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:43:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732250624001,"66":13993,"102":206,"83":41984,"24":15,"16":6095026744459264,"45":1789406826292883456},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-15 15:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732250624001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:43:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-15 15:43:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6095026744459264,"km_value":6095026744459.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789406826292883456,"description":"Unknown IO ID 45"} 
[2026-07-15 15:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732250624001,"power":13993,"unknown_102":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1789406826292883456}} 
[2026-07-15 15:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":133496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:43:27] local.INFO: GPS data processed {"connection_id":133496,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:43:27] local.INFO: Acknowledgment sent {"connection_id":133496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:43:34] local.INFO: TCP Data received {"connection_id":132460,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f654451a0012d0c1d00070350b0001d00220d..."} 
[2026-07-15 15:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f654451a0012d0c1d00070350b0001d00220d..."} 
[2026-07-15 15:43:34] local.INFO: Processing buffer {"connection_id":132460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f654451a0012d0c1d00070350b0001d00220d..."} 
[2026-07-15 15:43:34] local.INFO: Packet analysis {"connection_id":132460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6544"} 
[2026-07-15 15:43:34] local.INFO: Extracted packet for processing {"connection_id":132460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6544"} 
[2026-07-15 15:43:34] local.INFO: GPS Element Parsed {"raw_longitude":755768576,"raw_latitude":117657776,"longitude_deg":75.5768576,"latitude_deg":11.7657776,"altitude":29,"angle":34,"satellites":13,"speed":10,"hex_longitude":"2d0c1d00","hex_latitude":"070350b0","is_valid_coordinates":true} 
[2026-07-15 15:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732263168001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24661070853439488,"note":"Value kept but may cause issues"} 
[2026-07-15 15:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":872713195411724288,"note":"Value kept but may cause issues"} 
[2026-07-15 15:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784110404000,"timestamp_ms":1784110404000,"timestamp_seconds":1784110404,"priority":1,"record_length":96,"hex_timestamp":"0000019f654451a0"} 
[2026-07-15 15:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-15 15:43:34] 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-07-15 15:43:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":132460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":132460,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":132460,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 15:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 15:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732263168001,"66":14428,"37":206,"94":11008,"24":10,"16":24661070853439488,"45":872713195411724288},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-15 15:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 15:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 15:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732263168001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:43:34] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-15 15:43:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 15:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24661070853439488,"km_value":24661070853439.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":872713195411724288,"description":"Unknown IO ID 45"} 
[2026-07-15 15:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732263168001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":872713195411724288}} 
[2026-07-15 15:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":132460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491523,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:43:34] local.INFO: GPS data processed {"connection_id":132460,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:43:34] local.INFO: Acknowledgment sent {"connection_id":132460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:43:51] local.INFO: TCP Data received {"connection_id":132652,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:43:51] local.INFO: Processing buffer {"connection_id":132652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:43:51] local.INFO: IMEI packet received {"connection_id":132652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 15:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":132652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:43:51] local.INFO: TCP Data received {"connection_id":132652,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:43:51] local.INFO: Processing buffer {"connection_id":132652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:43:51] local.INFO: IMEI packet received {"connection_id":132652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":132652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:43:52] local.INFO: TCP Data received {"connection_id":132652,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:43:52] local.INFO: Processing buffer {"connection_id":132652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:43:52] local.INFO: IMEI packet received {"connection_id":132652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":132652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:43:52] local.INFO: TCP Data received {"connection_id":133497,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133497,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:43:52] local.INFO: Processing buffer {"connection_id":133497,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:43:52] local.INFO: IMEI packet received {"connection_id":133497,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 15:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":133497,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:43:52] local.INFO: TCP Data received {"connection_id":132652,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:43:52] local.INFO: Processing buffer {"connection_id":132652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:43:52] local.INFO: IMEI packet received {"connection_id":132652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":132652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:43:57] local.INFO: TCP Data received {"connection_id":133497,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133497,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:43:57] local.INFO: Processing buffer {"connection_id":133497,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:43:57] local.INFO: IMEI packet received {"connection_id":133497,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 15:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":133497,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:43:57] local.INFO: TCP Data received {"connection_id":133497,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f65445588012d0c1dc007035168001d00300d..."} 
[2026-07-15 15:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65445588012d0c1dc007035168001d00300d..."} 
[2026-07-15 15:43:57] local.INFO: Processing buffer {"connection_id":133497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65445588012d0c1dc007035168001d00300d..."} 
[2026-07-15 15:43:57] local.INFO: Packet analysis {"connection_id":133497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6544"} 
[2026-07-15 15:43:57] local.INFO: Extracted packet for processing {"connection_id":133497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6544"} 
[2026-07-15 15:43:57] local.INFO: GPS Element Parsed {"raw_longitude":755768768,"raw_latitude":117657960,"longitude_deg":75.5768768,"latitude_deg":11.765796,"altitude":29,"angle":48,"satellites":13,"speed":11,"hex_longitude":"2d0c1dc0","hex_latitude":"07035168","is_valid_coordinates":true} 
[2026-07-15 15:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:43:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732263424001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:43:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24661079443374080,"note":"Value kept but may cause issues"} 
[2026-07-15 15:43:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":872853932900134912,"note":"Value kept but may cause issues"} 
[2026-07-15 15:43:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:43:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784110405000,"timestamp_ms":1784110405000,"timestamp_seconds":1784110405,"priority":1,"record_length":96,"hex_timestamp":"0000019f65445588"} 
[2026-07-15 15:43:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:43:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-15 15:43:57] 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-07-15 15:43:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:43:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:43:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:43:57] local.INFO: Teltonika packet parsed successfully {"connection_id":133497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:43:57] local.INFO: Passing IMEI to GPS processor {"connection_id":133497,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:43:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":133497,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:43:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:43:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 15:43:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 15:43:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732263424001,"66":14428,"37":206,"94":11008,"24":11,"16":24661079443374080,"45":872853932900134912},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-15 15:43:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 15:43:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 15:43:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732263424001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:43:57] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-15 15:43:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 15:43:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24661079443374080,"km_value":24661079443374.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:43:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":872853932900134912,"description":"Unknown IO ID 45"} 
[2026-07-15 15:43:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732263424001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":872853932900134912}} 
[2026-07-15 15:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":133497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491524,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:43:57] local.INFO: GPS data processed {"connection_id":133497,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:43:57] local.INFO: Acknowledgment sent {"connection_id":133497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:44:19] local.INFO: TCP Data received {"connection_id":134868,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f654328c0012d80910005a38c280008015f2e..."} 
[2026-07-15 15:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f654328c0012d80910005a38c280008015f2e..."} 
[2026-07-15 15:44:19] local.INFO: Processing buffer {"connection_id":134868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f654328c0012d80910005a38c280008015f2e..."} 
[2026-07-15 15:44:19] local.INFO: Packet analysis {"connection_id":134868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6543"} 
[2026-07-15 15:44:19] local.INFO: Extracted packet for processing {"connection_id":134868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6543"} 
[2026-07-15 15:44:19] local.INFO: GPS Element Parsed {"raw_longitude":763400448,"raw_latitude":94604328,"longitude_deg":76.3400448,"latitude_deg":9.4604328,"altitude":8,"angle":351,"satellites":46,"speed":60,"hex_longitude":"2d809100","hex_latitude":"05a38c28","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:44:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732242432001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:44:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347191261989437440,"note":"Value kept but may cause issues"} 
[2026-07-15 15:44:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9181080397387571200,"note":"Value kept but may cause issues"} 
[2026-07-15 15:44:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:44:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784110328000,"timestamp_ms":1784110328000,"timestamp_seconds":1784110328,"priority":1,"record_length":96,"hex_timestamp":"0000019f654328c0"} 
[2026-07-15 15:44:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:44:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-15 15:44:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15: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-07-15 15:44:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:44:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:44:19] local.INFO: Teltonika packet parsed successfully {"connection_id":134868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:44:19] local.INFO: Passing IMEI to GPS processor {"connection_id":134868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:44:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":134868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:44: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-07-15 15:44:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:44:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:44:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732242432001,"66":27876,"53":206,"85":14336,"24":60,"16":347191261989437440,"45":-9181080397387571200},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-15 15:44:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:44:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:44:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732242432001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:44:19] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-15 15:44:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:44:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347191261989437440,"km_value":347191261989437.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:44:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9181080397387571200,"description":"Unknown IO ID 45"} 
[2026-07-15 15:44:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732242432001,"power":27876,"unknown_53":206,"unknown_85":14336,"ignition":60,"odometer":null,"unknown_45":-9181080397387571200}} 
[2026-07-15 15:44:19] local.INFO: DEBUG: GPS processor result {"connection_id":134868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:44:19] local.INFO: GPS data processed {"connection_id":134868,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:44:19] local.INFO: Acknowledgment sent {"connection_id":134868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:44:25] local.INFO: TCP Data received {"connection_id":133498,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:44:25] local.INFO: Processing buffer {"connection_id":133498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:44:25] local.INFO: IMEI packet received {"connection_id":133498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":133498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:44:28] local.INFO: TCP Data received {"connection_id":133497,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f65445970012d0c1ec007035218001d003d0d..."} 
[2026-07-15 15:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65445970012d0c1ec007035218001d003d0d..."} 
[2026-07-15 15:44:28] local.INFO: Processing buffer {"connection_id":133497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65445970012d0c1ec007035218001d003d0d..."} 
[2026-07-15 15:44:28] local.INFO: Packet analysis {"connection_id":133497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6544"} 
[2026-07-15 15:44:28] local.INFO: Extracted packet for processing {"connection_id":133497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6544"} 
[2026-07-15 15:44:28] local.INFO: GPS Element Parsed {"raw_longitude":755769024,"raw_latitude":117658136,"longitude_deg":75.5769024,"latitude_deg":11.7658136,"altitude":29,"angle":61,"satellites":13,"speed":12,"hex_longitude":"2d0c1ec0","hex_latitude":"07035218","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732263680001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24661096623243264,"note":"Value kept but may cause issues"} 
[2026-07-15 15:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":873065039132715008,"note":"Value kept but may cause issues"} 
[2026-07-15 15:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784110406000,"timestamp_ms":1784110406000,"timestamp_seconds":1784110406,"priority":1,"record_length":96,"hex_timestamp":"0000019f65445970"} 
[2026-07-15 15:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:44:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-15 15:44: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-07-15 15: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-07-15 15:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":133497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":133497,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":133497,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 15:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 15:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732263680001,"66":14439,"37":206,"94":11008,"24":12,"16":24661096623243264,"45":873065039132715008},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-15 15:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 15:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 15:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732263680001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:44:28] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-15 15:44:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 15:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24661096623243264,"km_value":24661096623243.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":873065039132715008,"description":"Unknown IO ID 45"} 
[2026-07-15 15:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732263680001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":873065039132715008}} 
[2026-07-15 15:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":133497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491526,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:44:28] local.INFO: GPS data processed {"connection_id":133497,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:44:28] local.INFO: Acknowledgment sent {"connection_id":133497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:44:30] local.INFO: TCP Data received {"connection_id":133498,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:44:30] local.INFO: Processing buffer {"connection_id":133498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:44:30] local.INFO: IMEI packet received {"connection_id":133498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":133498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:44:31] local.INFO: TCP Data received {"connection_id":133498,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f65434030012d808b8005a3aed80008015f2e..."} 
[2026-07-15 15:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65434030012d808b8005a3aed80008015f2e..."} 
[2026-07-15 15:44:31] local.INFO: Processing buffer {"connection_id":133498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65434030012d808b8005a3aed80008015f2e..."} 
[2026-07-15 15:44:31] local.INFO: Packet analysis {"connection_id":133498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6543"} 
[2026-07-15 15:44:31] local.INFO: Extracted packet for processing {"connection_id":133498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6543"} 
[2026-07-15 15:44:31] local.INFO: GPS Element Parsed {"raw_longitude":763399040,"raw_latitude":94613208,"longitude_deg":76.339904,"latitude_deg":9.4613208,"altitude":8,"angle":351,"satellites":46,"speed":59,"hex_longitude":"2d808b80","hex_latitude":"05a3aed8","is_valid_coordinates":true} 
[2026-07-15 15:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732243968001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347191700076101632,"note":"Value kept but may cause issues"} 
[2026-07-15 15:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9182558141013022720,"note":"Value kept but may cause issues"} 
[2026-07-15 15:44: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-07-15 15:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784110334000,"timestamp_ms":1784110334000,"timestamp_seconds":1784110334,"priority":1,"record_length":96,"hex_timestamp":"0000019f65434030"} 
[2026-07-15 15:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-15 15:44:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:44:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":133498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":133498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":133498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:44: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-07-15 15:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732243968001,"66":27832,"53":206,"85":14336,"24":59,"16":347191700076101632,"45":-9182558141013022720},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-15 15:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732243968001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:44:31] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-15 15:44:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347191700076101632,"km_value":347191700076101.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9182558141013022720,"description":"Unknown IO ID 45"} 
[2026-07-15 15:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732243968001,"power":27832,"unknown_53":206,"unknown_85":14336,"ignition":59,"odometer":null,"unknown_45":-9182558141013022720}} 
[2026-07-15 15:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":133498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:44:31] local.INFO: GPS data processed {"connection_id":133498,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:44:31] local.INFO: Acknowledgment sent {"connection_id":133498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:44:52] local.INFO: TCP Data received {"connection_id":133500,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133500,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:44:52] local.INFO: Processing buffer {"connection_id":133500,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:44:52] local.INFO: IMEI packet received {"connection_id":133500,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 15:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":133500,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:44:57] local.INFO: TCP Data received {"connection_id":133500,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133500,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:44:57] local.INFO: Processing buffer {"connection_id":133500,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:44:57] local.INFO: IMEI packet received {"connection_id":133500,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 15:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":133500,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:44:58] local.INFO: TCP Data received {"connection_id":133500,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f65456310012d0c60c007036ec8002100360d..."} 
[2026-07-15 15:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65456310012d0c60c007036ec8002100360d..."} 
[2026-07-15 15:44:58] local.INFO: Processing buffer {"connection_id":133500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65456310012d0c60c007036ec8002100360d..."} 
[2026-07-15 15:44:58] local.INFO: Packet analysis {"connection_id":133500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6545"} 
[2026-07-15 15:44:58] local.INFO: Extracted packet for processing {"connection_id":133500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6545"} 
[2026-07-15 15:44:58] local.INFO: GPS Element Parsed {"raw_longitude":755785920,"raw_latitude":117665480,"longitude_deg":75.578592,"latitude_deg":11.766548,"altitude":33,"angle":54,"satellites":13,"speed":12,"hex_longitude":"2d0c60c0","hex_latitude":"07036ec8","is_valid_coordinates":true} 
[2026-07-15 15:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732280576001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24662024336179200,"note":"Value kept but may cause issues"} 
[2026-07-15 15:44:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":890727593923121152,"note":"Value kept but may cause issues"} 
[2026-07-15 15:44:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784110474000,"timestamp_ms":1784110474000,"timestamp_seconds":1784110474,"priority":1,"record_length":96,"hex_timestamp":"0000019f65456310"} 
[2026-07-15 15:44:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:44:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-15 15:44:58] 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-07-15 15:44:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:44:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":133500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":133500,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":133500,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:44:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 15:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 15:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732280576001,"66":14396,"37":206,"94":11008,"24":12,"16":24662024336179200,"45":890727593923121152},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-15 15:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 15:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 15:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732280576001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:44:58] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-15 15:44:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 15:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24662024336179200,"km_value":24662024336179.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:44:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":890727593923121152,"description":"Unknown IO ID 45"} 
[2026-07-15 15:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732280576001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":890727593923121152}} 
[2026-07-15 15:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":133500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491528,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:44:58] local.INFO: GPS data processed {"connection_id":133500,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:44:58] local.INFO: Acknowledgment sent {"connection_id":133500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:45:01] local.INFO: TCP Data received {"connection_id":132654,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:45:01] local.INFO: Processing buffer {"connection_id":132654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:45:01] local.INFO: IMEI packet received {"connection_id":132654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":132654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:45:06] local.INFO: TCP Data received {"connection_id":132654,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:45:06] local.INFO: Processing buffer {"connection_id":132654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:45:06] local.INFO: IMEI packet received {"connection_id":132654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":132654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:45:07] local.INFO: TCP Data received {"connection_id":132654,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f6544a3a8012d801f0005a4fbd8000701402c..."} 
[2026-07-15 15:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6544a3a8012d801f0005a4fbd8000701402c..."} 
[2026-07-15 15:45:07] local.INFO: Processing buffer {"connection_id":132654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6544a3a8012d801f0005a4fbd8000701402c..."} 
[2026-07-15 15:45:07] local.INFO: Packet analysis {"connection_id":132654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6544"} 
[2026-07-15 15:45:07] local.INFO: Extracted packet for processing {"connection_id":132654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6544"} 
[2026-07-15 15:45:07] local.INFO: GPS Element Parsed {"raw_longitude":763371264,"raw_latitude":94698456,"longitude_deg":76.3371264,"latitude_deg":9.4698456,"altitude":7,"angle":320,"satellites":44,"speed":40,"hex_longitude":"2d801f00","hex_latitude":"05a4fbd8","is_valid_coordinates":true} 
[2026-07-15 15:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732266240001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347196115302481920,"note":"Value kept but may cause issues"} 
[2026-07-15 15:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9208735313824866304,"note":"Value kept but may cause issues"} 
[2026-07-15 15:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784110425000,"timestamp_ms":1784110425000,"timestamp_seconds":1784110425,"priority":1,"record_length":96,"hex_timestamp":"0000019f6544a3a8"} 
[2026-07-15 15:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 15:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:45:07] 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-07-15 15:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732266240001,"66":27767,"32":206,"85":14336,"24":40,"16":347196115302481920,"45":-9208735313824866304},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,85,24,16,45]} 
[2026-07-15 15:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732266240001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:45:07] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-15 15:45:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347196115302481920,"km_value":347196115302481.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9208735313824866304,"description":"Unknown IO ID 45"} 
[2026-07-15 15:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732266240001,"power":27767,"unknown_32":206,"unknown_85":14336,"ignition":40,"odometer":null,"unknown_45":-9208735313824866304}} 
[2026-07-15 15:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":132654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:45:07] local.INFO: GPS data processed {"connection_id":132654,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:45:07] local.INFO: Acknowledgment sent {"connection_id":132654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:45:29] local.INFO: TCP Data received {"connection_id":133500,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f654566f8012d0c614007036f900021001e0d..."} 
[2026-07-15 15:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f654566f8012d0c614007036f900021001e0d..."} 
[2026-07-15 15:45:29] local.INFO: Processing buffer {"connection_id":133500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f654566f8012d0c614007036f900021001e0d..."} 
[2026-07-15 15:45:29] local.INFO: Packet analysis {"connection_id":133500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6545"} 
[2026-07-15 15:45:29] local.INFO: Extracted packet for processing {"connection_id":133500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6545"} 
[2026-07-15 15:45:29] local.INFO: GPS Element Parsed {"raw_longitude":755786048,"raw_latitude":117665680,"longitude_deg":75.5786048,"latitude_deg":11.766568,"altitude":33,"angle":30,"satellites":13,"speed":9,"hex_longitude":"2d0c6140","hex_latitude":"07036f90","is_valid_coordinates":true} 
[2026-07-15 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-07-15 15:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732281344001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24662032926113792,"note":"Value kept but may cause issues"} 
[2026-07-15 15:45:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":891923862574254080,"note":"Value kept but may cause issues"} 
[2026-07-15 15:45:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784110475000,"timestamp_ms":1784110475000,"timestamp_seconds":1784110475,"priority":1,"record_length":96,"hex_timestamp":"0000019f654566f8"} 
[2026-07-15 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-07-15 15:45:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-15 15:45: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-07-15 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-07-15 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-07-15 15:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":133500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":133500,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":133500,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:45:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 15:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 15:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732281344001,"66":14396,"37":206,"94":11008,"24":9,"16":24662032926113792,"45":891923862574254080},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-15 15:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 15:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 15:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732281344001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:45:29] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-15 15:45:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 15:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24662032926113792,"km_value":24662032926113.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:45:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":891923862574254080,"description":"Unknown IO ID 45"} 
[2026-07-15 15:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732281344001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":891923862574254080}} 
[2026-07-15 15:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":133500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491530,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:45:29] local.INFO: GPS data processed {"connection_id":133500,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:45:29] local.INFO: Acknowledgment sent {"connection_id":133500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:45:39] local.INFO: TCP Data received {"connection_id":132654,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f6544c6d0012d80058005a51608000701382e..."} 
[2026-07-15 15:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6544c6d0012d80058005a51608000701382e..."} 
[2026-07-15 15:45:39] local.INFO: Processing buffer {"connection_id":132654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6544c6d0012d80058005a51608000701382e..."} 
[2026-07-15 15:45:39] local.INFO: Packet analysis {"connection_id":132654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6544"} 
[2026-07-15 15:45:39] local.INFO: Extracted packet for processing {"connection_id":132654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6544"} 
[2026-07-15 15:45:39] local.INFO: GPS Element Parsed {"raw_longitude":763364736,"raw_latitude":94705160,"longitude_deg":76.3364736,"latitude_deg":9.470516,"altitude":7,"angle":312,"satellites":46,"speed":40,"hex_longitude":"2d800580","hex_latitude":"05a51608","is_valid_coordinates":true} 
[2026-07-15 15:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732268800001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347196570569015296,"note":"Value kept but may cause issues"} 
[2026-07-15 15:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9214646288333940736,"note":"Value kept but may cause issues"} 
[2026-07-15 15:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784110434000,"timestamp_ms":1784110434000,"timestamp_seconds":1784110434,"priority":1,"record_length":96,"hex_timestamp":"0000019f6544c6d0"} 
[2026-07-15 15:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:45:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 15:45:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:45:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:45:39] 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-07-15 15:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732268800001,"66":27843,"32":206,"85":14336,"24":40,"16":347196570569015296,"45":-9214646288333940736},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,85,24,16,45]} 
[2026-07-15 15:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732268800001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:45:39] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-15 15:45:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347196570569015296,"km_value":347196570569015.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9214646288333940736,"description":"Unknown IO ID 45"} 
[2026-07-15 15:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732268800001,"power":27843,"unknown_32":206,"unknown_85":14336,"ignition":40,"odometer":null,"unknown_45":-9214646288333940736}} 
[2026-07-15 15:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":132654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:45:39] local.INFO: GPS data processed {"connection_id":132654,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:45:39] local.INFO: Acknowledgment sent {"connection_id":132654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:45:43] local.INFO: TCP Data received {"connection_id":134869,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134869,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:45:43] local.INFO: Processing buffer {"connection_id":134869,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:45:43] local.INFO: IMEI packet received {"connection_id":134869,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 15:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":134869,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:45:51] local.INFO: TCP Data received {"connection_id":133502,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133502,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:45:51] local.INFO: Processing buffer {"connection_id":133502,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:45:51] local.INFO: IMEI packet received {"connection_id":133502,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 15:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":133502,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:45:52] local.INFO: TCP Data received {"connection_id":133502,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133502,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:45:52] local.INFO: Processing buffer {"connection_id":133502,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:45:52] local.INFO: IMEI packet received {"connection_id":133502,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 15:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":133502,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:45:55] local.INFO: TCP Data received {"connection_id":133502,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133502,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:45:55] local.INFO: Processing buffer {"connection_id":133502,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:45:55] local.INFO: IMEI packet received {"connection_id":133502,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 15:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":133502,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:45:57] local.INFO: TCP Data received {"connection_id":133502,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133502,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:45:57] local.INFO: Processing buffer {"connection_id":133502,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:45:57] local.INFO: IMEI packet received {"connection_id":133502,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 15:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":133502,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:45:57] local.INFO: TCP Data received {"connection_id":133502,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f65456ae0012d0c618007037060002100090d..."} 
[2026-07-15 15:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65456ae0012d0c618007037060002100090d..."} 
[2026-07-15 15:45:57] local.INFO: Processing buffer {"connection_id":133502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65456ae0012d0c618007037060002100090d..."} 
[2026-07-15 15:45:57] local.INFO: Packet analysis {"connection_id":133502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6545"} 
[2026-07-15 15:45:57] local.INFO: Extracted packet for processing {"connection_id":133502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6545"} 
[2026-07-15 15:45:57] local.INFO: GPS Element Parsed {"raw_longitude":755786112,"raw_latitude":117665888,"longitude_deg":75.5786112,"latitude_deg":11.7665888,"altitude":33,"angle":9,"satellites":13,"speed":7,"hex_longitude":"2d0c6180","hex_latitude":"07037060","is_valid_coordinates":true} 
[2026-07-15 15:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:45:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732281600001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:45:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24662045811015680,"note":"Value kept but may cause issues"} 
[2026-07-15 15:45:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892064600062660608,"note":"Value kept but may cause issues"} 
[2026-07-15 15:45:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:45:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784110476000,"timestamp_ms":1784110476000,"timestamp_seconds":1784110476,"priority":1,"record_length":96,"hex_timestamp":"0000019f65456ae0"} 
[2026-07-15 15:45:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:45:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-15 15:45:57] 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-07-15 15:45:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:45:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:45:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:45:57] local.INFO: Teltonika packet parsed successfully {"connection_id":133502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:45:57] local.INFO: Passing IMEI to GPS processor {"connection_id":133502,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:45:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":133502,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:45:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:45:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 15:45:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 15:45:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732281600001,"66":14580,"37":206,"94":11008,"24":7,"16":24662045811015680,"45":892064600062660608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-15 15:45:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 15:45:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 15:45:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732281600001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:45:57] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-15 15:45:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 15:45:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24662045811015680,"km_value":24662045811015.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:45:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":892064600062660608,"description":"Unknown IO ID 45"} 
[2026-07-15 15:45:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732281600001,"power":14580,"unknown_37":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":892064600062660608}} 
[2026-07-15 15:45:57] local.INFO: DEBUG: GPS processor result {"connection_id":133502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491532,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:45:57] local.INFO: GPS data processed {"connection_id":133502,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:45:57] local.INFO: Acknowledgment sent {"connection_id":133502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:46:02] local.INFO: TCP Data received {"connection_id":133502,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f65458638012d0c6240070375500020015f0d..."} 
[2026-07-15 15:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65458638012d0c6240070375500020015f0d..."} 
[2026-07-15 15:46:02] local.INFO: Processing buffer {"connection_id":133502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65458638012d0c6240070375500020015f0d..."} 
[2026-07-15 15:46:02] local.INFO: Packet analysis {"connection_id":133502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6545"} 
[2026-07-15 15:46:02] local.INFO: Extracted packet for processing {"connection_id":133502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6545"} 
[2026-07-15 15:46:02] local.INFO: GPS Element Parsed {"raw_longitude":755786304,"raw_latitude":117667152,"longitude_deg":75.5786304,"latitude_deg":11.7667152,"altitude":32,"angle":351,"satellites":13,"speed":6,"hex_longitude":"2d0c6240","hex_latitude":"07037550","is_valid_coordinates":true} 
[2026-07-15 15:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732281856001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24662105940557824,"note":"Value kept but may cause issues"} 
[2026-07-15 15:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892134968806891520,"note":"Value kept but may cause issues"} 
[2026-07-15 15:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784110483000,"timestamp_ms":1784110483000,"timestamp_seconds":1784110483,"priority":1,"record_length":96,"hex_timestamp":"0000019f65458638"} 
[2026-07-15 15:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-07-15 15:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:46:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":133502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":133502,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":133502,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 15:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 15:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732281856001,"66":14537,"37":206,"94":11008,"24":6,"16":24662105940557824,"45":892134968806891520},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-15 15:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 15:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 15:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732281856001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:46:02] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-15 15:46:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 15:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24662105940557824,"km_value":24662105940557.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":892134968806891520,"description":"Unknown IO ID 45"} 
[2026-07-15 15:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732281856001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":892134968806891520}} 
[2026-07-15 15:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":133502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491533,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:46:02] local.INFO: GPS data processed {"connection_id":133502,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:46:02] local.INFO: Acknowledgment sent {"connection_id":133502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:46:14] local.INFO: TCP Data received {"connection_id":134870,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134870,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:46:14] local.INFO: Processing buffer {"connection_id":134870,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:46:14] local.INFO: IMEI packet received {"connection_id":134870,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 15:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":134870,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:46:15] local.INFO: TCP Data received {"connection_id":134870,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134870,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:46:15] local.INFO: Processing buffer {"connection_id":134870,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:46:15] local.INFO: IMEI packet received {"connection_id":134870,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":134870,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:46:19] local.INFO: TCP Data received {"connection_id":134870,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134870,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:46:19] local.INFO: Processing buffer {"connection_id":134870,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:46:19] local.INFO: IMEI packet received {"connection_id":134870,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":134870,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:46:20] local.INFO: TCP Data received {"connection_id":134870,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f65460338012d79868005e872a8000a00a229..."} 
[2026-07-15 15:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65460338012d79868005e872a8000a00a229..."} 
[2026-07-15 15:46:20] local.INFO: Processing buffer {"connection_id":134870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65460338012d79868005e872a8000a00a229..."} 
[2026-07-15 15:46:20] local.INFO: Packet analysis {"connection_id":134870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6546"} 
[2026-07-15 15:46:20] local.INFO: Extracted packet for processing {"connection_id":134870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6546"} 
[2026-07-15 15:46:20] local.INFO: GPS Element Parsed {"raw_longitude":762939008,"raw_latitude":99119784,"longitude_deg":76.2939008,"latitude_deg":9.9119784,"altitude":10,"angle":162,"satellites":41,"speed":20,"hex_longitude":"2d798680","hex_latitude":"05e872a8","is_valid_coordinates":true} 
[2026-07-15 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-07-15 15:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732290816001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106581052264284160,"note":"Value kept but may cause issues"} 
[2026-07-15 15:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8755912494657667072,"note":"Value kept but may cause issues"} 
[2026-07-15 15:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1784110515000,"timestamp_ms":1784110515000,"timestamp_seconds":1784110515,"priority":1,"record_length":96,"hex_timestamp":"0000019f65460338"} 
[2026-07-15 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-07-15 15:46:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-15 15:46:20] 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-07-15 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-07-15 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-07-15 15:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":134870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":134870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":134870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732290816001,"66":13048,"203":206,"87":13824,"24":20,"16":106581052264284160,"45":8755912494657667072},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-07-15 15:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732290816001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:46:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 15:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106581052264284160,"km_value":106581052264284.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8755912494657667072,"description":"Unknown IO ID 45"} 
[2026-07-15 15:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732290816001,"power":13048,"mnc":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8755912494657667072}} 
[2026-07-15 15:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":134870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491534,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:46:20] local.INFO: GPS data processed {"connection_id":134870,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:46:20] local.INFO: Acknowledgment sent {"connection_id":134870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:46:21] local.INFO: TCP Data received {"connection_id":134871,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:46:21] local.INFO: Processing buffer {"connection_id":134871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:46:21] local.INFO: IMEI packet received {"connection_id":134871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":134871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:46:21] local.INFO: TCP Data received {"connection_id":134871,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:46:21] local.INFO: Processing buffer {"connection_id":134871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:46:21] local.INFO: IMEI packet received {"connection_id":134871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":134871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:46:22] local.INFO: TCP Data received {"connection_id":134871,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f65461e90012d7eae0005a5cdb00009012c30..."} 
[2026-07-15 15:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65461e90012d7eae0005a5cdb00009012c30..."} 
[2026-07-15 15:46:22] local.INFO: Processing buffer {"connection_id":134871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65461e90012d7eae0005a5cdb00009012c30..."} 
[2026-07-15 15:46:22] local.INFO: Packet analysis {"connection_id":134871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6546"} 
[2026-07-15 15:46:22] local.INFO: Extracted packet for processing {"connection_id":134871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6546"} 
[2026-07-15 15:46:22] local.INFO: GPS Element Parsed {"raw_longitude":763276800,"raw_latitude":94752176,"longitude_deg":76.32768,"latitude_deg":9.4752176,"altitude":9,"angle":300,"satellites":48,"speed":57,"hex_longitude":"2d7eae00","hex_latitude":"05a5cdb0","is_valid_coordinates":true} 
[2026-07-15 15:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732291840001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347201372342452224,"note":"Value kept but may cause issues"} 
[2026-07-15 15:46:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9138225880655110144,"note":"Value kept but may cause issues"} 
[2026-07-15 15:46:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784110522000,"timestamp_ms":1784110522000,"timestamp_seconds":1784110522,"priority":1,"record_length":96,"hex_timestamp":"0000019f65461e90"} 
[2026-07-15 15:46:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:46:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-15 15:46:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:46:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:46:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":134871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":134871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":134871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:46: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-07-15 15:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732291840001,"66":27919,"32":206,"85":14336,"24":57,"16":347201372342452224,"45":9138225880655110144},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,85,24,16,45]} 
[2026-07-15 15:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732291840001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:46:22] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-15 15:46:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347201372342452224,"km_value":347201372342452.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:46:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9138225880655110144,"description":"Unknown IO ID 45"} 
[2026-07-15 15:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732291840001,"power":27919,"unknown_32":206,"unknown_85":14336,"ignition":57,"odometer":null,"unknown_45":9138225880655110144}} 
[2026-07-15 15:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":134871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:46:22] local.INFO: GPS data processed {"connection_id":134871,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:46:22] local.INFO: Acknowledgment sent {"connection_id":134871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:46:34] local.INFO: TCP Data received {"connection_id":133502,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f6546c688012d0c6d000703dee8001d01270e..."} 
[2026-07-15 15:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6546c688012d0c6d000703dee8001d01270e..."} 
[2026-07-15 15:46:34] local.INFO: Processing buffer {"connection_id":133502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6546c688012d0c6d000703dee8001d01270e..."} 
[2026-07-15 15:46:34] local.INFO: Packet analysis {"connection_id":133502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6546"} 
[2026-07-15 15:46:34] local.INFO: Extracted packet for processing {"connection_id":133502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6546"} 
[2026-07-15 15:46:34] local.INFO: GPS Element Parsed {"raw_longitude":755789056,"raw_latitude":117694184,"longitude_deg":75.5789056,"latitude_deg":11.7694184,"altitude":29,"angle":295,"satellites":14,"speed":9,"hex_longitude":"2d0c6d00","hex_latitude":"0703dee8","is_valid_coordinates":true} 
[2026-07-15 15:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732304384001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24663454560288768,"note":"Value kept but may cause issues"} 
[2026-07-15 15:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895583037278801920,"note":"Value kept but may cause issues"} 
[2026-07-15 15:46:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 15:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784110565000,"timestamp_ms":1784110565000,"timestamp_seconds":1784110565,"priority":1,"record_length":96,"hex_timestamp":"0000019f6546c688"} 
[2026-07-15 15:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-15 15:46:34] 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-07-15 15:46:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":133502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":133502,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":133502,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 15:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 15:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732304384001,"66":14548,"16":24663454560288768,"94":11008,"24":9,"45":895583037278801920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-15 15:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 15:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 15:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732304384001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24663454560288768,"km_value":24663454560288.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:46:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 15:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":895583037278801920,"description":"Unknown IO ID 45"} 
[2026-07-15 15:46:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456732304384001,"power":14548,"odometer":null,"unknown_94":11008,"ignition":9,"unknown_45":895583037278801920}} 
[2026-07-15 15:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":133502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491536,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:46:34] local.INFO: GPS data processed {"connection_id":133502,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:46:34] local.INFO: Acknowledgment sent {"connection_id":133502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:46:52] local.INFO: TCP Data received {"connection_id":132462,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132462,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:46:52] local.INFO: Processing buffer {"connection_id":132462,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:46:52] local.INFO: IMEI packet received {"connection_id":132462,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 15:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":132462,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:46:57] local.INFO: TCP Data received {"connection_id":132462,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132462,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:46:57] local.INFO: Processing buffer {"connection_id":132462,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:46:57] local.INFO: IMEI packet received {"connection_id":132462,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 15:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":132462,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:46:58] local.INFO: TCP Data received {"connection_id":132462,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f6546ca70012d0c6c000703df38001d01130e..."} 
[2026-07-15 15:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6546ca70012d0c6c000703df38001d01130e..."} 
[2026-07-15 15:46:58] local.INFO: Processing buffer {"connection_id":132462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6546ca70012d0c6c000703df38001d01130e..."} 
[2026-07-15 15:46:58] local.INFO: Packet analysis {"connection_id":132462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6546"} 
[2026-07-15 15:46:58] local.INFO: Extracted packet for processing {"connection_id":132462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6546"} 
[2026-07-15 15:46:58] local.INFO: GPS Element Parsed {"raw_longitude":755788800,"raw_latitude":117694264,"longitude_deg":75.57888,"latitude_deg":11.7694264,"altitude":29,"angle":275,"satellites":14,"speed":11,"hex_longitude":"2d0c6c00","hex_latitude":"0703df38","is_valid_coordinates":true} 
[2026-07-15 15:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732304640001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24663463150223360,"note":"Value kept but may cause issues"} 
[2026-07-15 15:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895371931046307840,"note":"Value kept but may cause issues"} 
[2026-07-15 15:46:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 15:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784110566000,"timestamp_ms":1784110566000,"timestamp_seconds":1784110566,"priority":1,"record_length":96,"hex_timestamp":"0000019f6546ca70"} 
[2026-07-15 15:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:46:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-15 15:46:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:46:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":132462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":132462,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":132462,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:46:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 15:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 15:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732304640001,"66":14439,"16":24663463150223360,"94":11008,"24":11,"45":895371931046307840},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-15 15:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 15:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 15:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732304640001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24663463150223360,"km_value":24663463150223.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:46:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 15:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":895371931046307840,"description":"Unknown IO ID 45"} 
[2026-07-15 15:46:58] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456732304640001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":11,"unknown_45":895371931046307840}} 
[2026-07-15 15:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":132462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491537,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:46:58] local.INFO: GPS data processed {"connection_id":132462,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:46:58] local.INFO: Acknowledgment sent {"connection_id":132462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:47:04] local.INFO: TCP Data received {"connection_id":132463,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132463,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:47:04] local.INFO: Processing buffer {"connection_id":132463,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:47:04] local.INFO: IMEI packet received {"connection_id":132463,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 15:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":132463,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:47:09] local.INFO: TCP Data received {"connection_id":134872,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134872,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:47:09] local.INFO: Processing buffer {"connection_id":134872,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:47:09] local.INFO: IMEI packet received {"connection_id":134872,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 15:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":134872,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:47:09] local.INFO: TCP Data received {"connection_id":132463,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132463,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:47:09] local.INFO: Processing buffer {"connection_id":132463,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:47:09] local.INFO: IMEI packet received {"connection_id":132463,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":132463,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:47:10] local.INFO: TCP Data received {"connection_id":132463,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f65463600012d7991c005e84fa8000900a227..."} 
[2026-07-15 15:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65463600012d7991c005e84fa8000900a227..."} 
[2026-07-15 15:47:10] local.INFO: Processing buffer {"connection_id":132463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65463600012d7991c005e84fa8000900a227..."} 
[2026-07-15 15:47:10] local.INFO: Packet analysis {"connection_id":132463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6546"} 
[2026-07-15 15:47:10] local.INFO: Extracted packet for processing {"connection_id":132463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6546"} 
[2026-07-15 15:47:10] local.INFO: GPS Element Parsed {"raw_longitude":762941888,"raw_latitude":99110824,"longitude_deg":76.2941888,"latitude_deg":9.9110824,"altitude":9,"angle":162,"satellites":39,"speed":33,"hex_longitude":"2d7991c0","hex_latitude":"05e84fa8","is_valid_coordinates":true} 
[2026-07-15 15:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732291840001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106581507530817536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8756827288331528192,"note":"Value kept but may cause issues"} 
[2026-07-15 15:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784110528000,"timestamp_ms":1784110528000,"timestamp_seconds":1784110528,"priority":1,"record_length":96,"hex_timestamp":"0000019f65463600"} 
[2026-07-15 15:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-15 15:47:10] 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-07-15 15:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":132463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":132463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":132463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732291840001,"66":13015,"203":206,"87":13824,"24":33,"16":106581507530817536,"45":8756827288331528192},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-07-15 15:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732291840001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:47:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 15:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106581507530817536,"km_value":106581507530817.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8756827288331528192,"description":"Unknown IO ID 45"} 
[2026-07-15 15:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732291840001,"power":13015,"mnc":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8756827288331528192}} 
[2026-07-15 15:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":132463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491538,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:47:10] local.INFO: GPS data processed {"connection_id":132463,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:47:10] local.INFO: Acknowledgment sent {"connection_id":132463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:47:11] local.INFO: TCP Data received {"connection_id":132463,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f65466cb0012d799c4005e82d20000900a629..."} 
[2026-07-15 15:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65466cb0012d799c4005e82d20000900a629..."} 
[2026-07-15 15:47:11] local.INFO: Processing buffer {"connection_id":132463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65466cb0012d799c4005e82d20000900a629..."} 
[2026-07-15 15:47:11] local.INFO: Packet analysis {"connection_id":132463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6546"} 
[2026-07-15 15:47:11] local.INFO: Extracted packet for processing {"connection_id":132463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6546"} 
[2026-07-15 15:47:11] local.INFO: GPS Element Parsed {"raw_longitude":762944576,"raw_latitude":99101984,"longitude_deg":76.2944576,"latitude_deg":9.9101984,"altitude":9,"angle":166,"satellites":41,"speed":27,"hex_longitude":"2d799c40","hex_latitude":"05e82d20","is_valid_coordinates":true} 
[2026-07-15 15:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732295168001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106581954207416320,"note":"Value kept but may cause issues"} 
[2026-07-15 15:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8759993881817229312,"note":"Value kept but may cause issues"} 
[2026-07-15 15:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784110542000,"timestamp_ms":1784110542000,"timestamp_seconds":1784110542,"priority":1,"record_length":96,"hex_timestamp":"0000019f65466cb0"} 
[2026-07-15 15:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-15 15:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732295168001,"66":12939,"202":206,"87":13824,"24":27,"16":106581954207416320,"45":8759993881817229312},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-15 15:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732295168001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:47:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 15:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106581954207416320,"km_value":106581954207416.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8759993881817229312,"description":"Unknown IO ID 45"} 
[2026-07-15 15:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732295168001,"power":12939,"mcc":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8759993881817229312}} 
[2026-07-15 15:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":132463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491539,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:47:11] local.INFO: GPS data processed {"connection_id":132463,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:47:11] local.INFO: Acknowledgment sent {"connection_id":132463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:47:29] local.INFO: TCP Data received {"connection_id":132462,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f65470cd8012d0c56000703e0d0001b011f0e..."} 
[2026-07-15 15:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65470cd8012d0c56000703e0d0001b011f0e..."} 
[2026-07-15 15:47:29] local.INFO: Processing buffer {"connection_id":132462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65470cd8012d0c56000703e0d0001b011f0e..."} 
[2026-07-15 15:47:29] local.INFO: Packet analysis {"connection_id":132462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6547"} 
[2026-07-15 15:47:29] local.INFO: Extracted packet for processing {"connection_id":132462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6547"} 
[2026-07-15 15:47:29] local.INFO: GPS Element Parsed {"raw_longitude":755783168,"raw_latitude":117694672,"longitude_deg":75.5783168,"latitude_deg":11.7694672,"altitude":27,"angle":287,"satellites":14,"speed":6,"hex_longitude":"2d0c5600","hex_latitude":"0703e0d0","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732304896001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24663733733163008,"note":"Value kept but may cause issues"} 
[2026-07-15 15:47:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895090456069617664,"note":"Value kept but may cause issues"} 
[2026-07-15 15:47:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 15:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784110583000,"timestamp_ms":1784110583000,"timestamp_seconds":1784110583,"priority":1,"record_length":96,"hex_timestamp":"0000019f65470cd8"} 
[2026-07-15 15:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:47:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 15:47:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15: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-07-15 15:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":132462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":132462,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":132462,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:47:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 15:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 15:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732304896001,"66":14559,"16":24663733733163008,"94":11008,"24":6,"45":895090456069617664},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-15 15:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 15:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 15:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732304896001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24663733733163008,"km_value":24663733733163.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:47:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 15:47:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":895090456069617664,"description":"Unknown IO ID 45"} 
[2026-07-15 15:47:29] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456732304896001,"power":14559,"odometer":null,"unknown_94":11008,"ignition":6,"unknown_45":895090456069617664}} 
[2026-07-15 15:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":132462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491540,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:47:29] local.INFO: GPS data processed {"connection_id":132462,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:47:29] local.INFO: Acknowledgment sent {"connection_id":132462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:47:38] local.INFO: TCP Data received {"connection_id":134873,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134873,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:47:38] local.INFO: Processing buffer {"connection_id":134873,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:47:38] local.INFO: IMEI packet received {"connection_id":134873,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 15:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":134873,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:47:42] local.INFO: TCP Data received {"connection_id":132463,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f654693c0012d79a48005e814c80008009a28..."} 
[2026-07-15 15:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f654693c0012d79a48005e814c80008009a28..."} 
[2026-07-15 15:47:42] local.INFO: Processing buffer {"connection_id":132463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f654693c0012d79a48005e814c80008009a28..."} 
[2026-07-15 15:47:42] local.INFO: Packet analysis {"connection_id":132463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6546"} 
[2026-07-15 15:47:42] local.INFO: Extracted packet for processing {"connection_id":132463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6546"} 
[2026-07-15 15:47:42] local.INFO: GPS Element Parsed {"raw_longitude":762946688,"raw_latitude":99095752,"longitude_deg":76.2946688,"latitude_deg":9.9095752,"altitude":8,"angle":154,"satellites":40,"speed":26,"hex_longitude":"2d79a480","hex_latitude":"05e814c8","is_valid_coordinates":true} 
[2026-07-15 15:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732298752001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106582276329963520,"note":"Value kept but may cause issues"} 
[2026-07-15 15:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8762949369070428160,"note":"Value kept but may cause issues"} 
[2026-07-15 15:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784110552000,"timestamp_ms":1784110552000,"timestamp_seconds":1784110552,"priority":1,"record_length":96,"hex_timestamp":"0000019f654693c0"} 
[2026-07-15 15:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 15:47: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-07-15 15:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732298752001,"66":13276,"202":206,"87":13824,"24":26,"16":106582276329963520,"45":8762949369070428160},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-15 15:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732298752001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:47:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 15:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106582276329963520,"km_value":106582276329963.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8762949369070428160,"description":"Unknown IO ID 45"} 
[2026-07-15 15:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732298752001,"power":13276,"mcc":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8762949369070428160}} 
[2026-07-15 15:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":132463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491541,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:47:42] local.INFO: GPS data processed {"connection_id":132463,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:47:42] local.INFO: Acknowledgment sent {"connection_id":132463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:47:56] local.INFO: TCP Data received {"connection_id":133504,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133504,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:47:56] local.INFO: Processing buffer {"connection_id":133504,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:47:56] local.INFO: IMEI packet received {"connection_id":133504,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 15:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":133504,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:47:57] local.INFO: TCP Data received {"connection_id":133504,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133504,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:47:57] local.INFO: Processing buffer {"connection_id":133504,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:47:57] local.INFO: IMEI packet received {"connection_id":133504,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 15:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":133504,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:47:59] local.INFO: TCP Data received {"connection_id":133503,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133503,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:47:59] local.INFO: Processing buffer {"connection_id":133503,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:47:59] local.INFO: IMEI packet received {"connection_id":133503,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 15:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":133503,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:48:02] local.INFO: TCP Data received {"connection_id":133504,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133504,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:48:02] local.INFO: Processing buffer {"connection_id":133504,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:48:02] local.INFO: IMEI packet received {"connection_id":133504,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 15:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":133504,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:48:03] local.INFO: TCP Data received {"connection_id":133504,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f65481a60012d0cb80007046458001900080e..."} 
[2026-07-15 15:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65481a60012d0cb80007046458001900080e..."} 
[2026-07-15 15:48:03] local.INFO: Processing buffer {"connection_id":133504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65481a60012d0cb80007046458001900080e..."} 
[2026-07-15 15:48:03] local.INFO: Packet analysis {"connection_id":133504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6548"} 
[2026-07-15 15:48:03] local.INFO: Extracted packet for processing {"connection_id":133504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6548"} 
[2026-07-15 15:48:03] local.INFO: GPS Element Parsed {"raw_longitude":755808256,"raw_latitude":117728344,"longitude_deg":75.5808256,"latitude_deg":11.7728344,"altitude":25,"angle":8,"satellites":14,"speed":39,"hex_longitude":"2d0cb800","hex_latitude":"07046458","is_valid_coordinates":true} 
[2026-07-15 15:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732325632001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24665859741974528,"note":"Value kept but may cause issues"} 
[2026-07-15 15:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":915145548167671808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:48:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 15:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784110652000,"timestamp_ms":1784110652000,"timestamp_seconds":1784110652,"priority":1,"record_length":96,"hex_timestamp":"0000019f65481a60"} 
[2026-07-15 15:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-15 15:48:03] 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-07-15 15:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":133504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":133504,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":133504,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 15:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 15:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732325632001,"66":14439,"16":24665859741974528,"94":11008,"24":39,"45":915145548167671808},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-15 15:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 15:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 15:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732325632001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24665859741974528,"km_value":24665859741974.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:48:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 15:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":915145548167671808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:48:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456732325632001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":39,"unknown_45":915145548167671808}} 
[2026-07-15 15:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":133504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491542,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:48:03] local.INFO: GPS data processed {"connection_id":133504,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:48:03] local.INFO: Acknowledgment sent {"connection_id":133504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:48:04] local.INFO: TCP Data received {"connection_id":132657,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:48:04] local.INFO: Processing buffer {"connection_id":132657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:48:04] local.INFO: IMEI packet received {"connection_id":132657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":132657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:48:04] local.INFO: TCP Data received {"connection_id":133503,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133503,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:48:04] local.INFO: Processing buffer {"connection_id":133503,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:48:04] local.INFO: IMEI packet received {"connection_id":133503,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":133503,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:48:05] local.INFO: TCP Data received {"connection_id":133503,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f6546b6e8012d79af4005e7ff48000800a828..."} 
[2026-07-15 15:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6546b6e8012d79af4005e7ff48000800a828..."} 
[2026-07-15 15:48:05] local.INFO: Processing buffer {"connection_id":133503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6546b6e8012d79af4005e7ff48000800a828..."} 
[2026-07-15 15:48:05] local.INFO: Packet analysis {"connection_id":133503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6546"} 
[2026-07-15 15:48:05] local.INFO: Extracted packet for processing {"connection_id":133503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6546"} 
[2026-07-15 15:48:05] local.INFO: GPS Element Parsed {"raw_longitude":762949440,"raw_latitude":99090248,"longitude_deg":76.294944,"latitude_deg":9.9090248,"altitude":8,"angle":168,"satellites":40,"speed":26,"hex_longitude":"2d79af40","hex_latitude":"05e7ff48","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732301312001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106582572682706944,"note":"Value kept but may cause issues"} 
[2026-07-15 15:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8765271537626695680,"note":"Value kept but may cause issues"} 
[2026-07-15 15:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784110561000,"timestamp_ms":1784110561000,"timestamp_seconds":1784110561,"priority":1,"record_length":96,"hex_timestamp":"0000019f6546b6e8"} 
[2026-07-15 15:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-15 15:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15: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-07-15 15:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":133503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":133503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":133503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732301312001,"66":13319,"202":206,"87":13824,"24":26,"16":106582572682706944,"45":8765271537626695680},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-15 15:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732301312001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:48:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 15:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106582572682706944,"km_value":106582572682706.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8765271537626695680,"description":"Unknown IO ID 45"} 
[2026-07-15 15:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732301312001,"power":13319,"mcc":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8765271537626695680}} 
[2026-07-15 15:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":133503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491543,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:48:05] local.INFO: GPS data processed {"connection_id":133503,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:48:05] local.INFO: Acknowledgment sent {"connection_id":133503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:48:06] local.INFO: TCP Data received {"connection_id":132657,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:48:06] local.INFO: Processing buffer {"connection_id":132657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:48:06] local.INFO: IMEI packet received {"connection_id":132657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":132657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:48:33] local.INFO: TCP Data received {"connection_id":132657,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:48:33] local.INFO: Processing buffer {"connection_id":132657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:48:33] local.INFO: IMEI packet received {"connection_id":132657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":132657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:48:34] local.INFO: TCP Data received {"connection_id":133504,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f654831d0012d0cba8007047c18001901620e..."} 
[2026-07-15 15:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f654831d0012d0cba8007047c18001901620e..."} 
[2026-07-15 15:48:34] local.INFO: Processing buffer {"connection_id":133504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f654831d0012d0cba8007047c18001901620e..."} 
[2026-07-15 15:48:34] local.INFO: Packet analysis {"connection_id":133504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6548"} 
[2026-07-15 15:48:34] local.INFO: Extracted packet for processing {"connection_id":133504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6548"} 
[2026-07-15 15:48:34] local.INFO: GPS Element Parsed {"raw_longitude":755808896,"raw_latitude":117734424,"longitude_deg":75.5808896,"latitude_deg":11.7734424,"altitude":25,"angle":354,"satellites":14,"speed":40,"hex_longitude":"2d0cba80","hex_latitude":"07047c18","is_valid_coordinates":true} 
[2026-07-15 15:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732326912001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24666156094717952,"note":"Value kept but may cause issues"} 
[2026-07-15 15:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916482554308352000,"note":"Value kept but may cause issues"} 
[2026-07-15 15:48:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 15:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784110658000,"timestamp_ms":1784110658000,"timestamp_seconds":1784110658,"priority":1,"record_length":96,"hex_timestamp":"0000019f654831d0"} 
[2026-07-15 15:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 15:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":133504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":133504,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":133504,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 15:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 15:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732326912001,"66":14211,"16":24666156094717952,"94":11008,"24":40,"45":916482554308352000},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-15 15:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 15:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 15:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732326912001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24666156094717952,"km_value":24666156094717.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:48:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 15:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":916482554308352000,"description":"Unknown IO ID 45"} 
[2026-07-15 15:48:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456732326912001,"power":14211,"odometer":null,"unknown_94":11008,"ignition":40,"unknown_45":916482554308352000}} 
[2026-07-15 15:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":133504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491544,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:48:34] local.INFO: GPS data processed {"connection_id":133504,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:48:34] local.INFO: Acknowledgment sent {"connection_id":133504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:48:35] local.INFO: TCP Data received {"connection_id":132657,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f65472c18012d7db7c005a6c9b0000f015831..."} 
[2026-07-15 15:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65472c18012d7db7c005a6c9b0000f015831..."} 
[2026-07-15 15:48:35] local.INFO: Processing buffer {"connection_id":132657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65472c18012d7db7c005a6c9b0000f015831..."} 
[2026-07-15 15:48:35] local.INFO: Packet analysis {"connection_id":132657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6547"} 
[2026-07-15 15:48:35] local.INFO: Extracted packet for processing {"connection_id":132657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6547"} 
[2026-07-15 15:48:35] local.INFO: GPS Element Parsed {"raw_longitude":763213760,"raw_latitude":94816688,"longitude_deg":76.321376,"latitude_deg":9.4816688,"altitude":15,"angle":344,"satellites":49,"speed":57,"hex_longitude":"2d7db7c0","hex_latitude":"05a6c9b0","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732309760001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347205929302753280,"note":"Value kept but may cause issues"} 
[2026-07-15 15:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9061453580772847616,"note":"Value kept but may cause issues"} 
[2026-07-15 15:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784110591000,"timestamp_ms":1784110591000,"timestamp_seconds":1784110591,"priority":1,"record_length":96,"hex_timestamp":"0000019f65472c18"} 
[2026-07-15 15:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 15:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15: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-07-15 15:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732309760001,"66":27865,"63":206,"85":14336,"24":57,"16":347205929302753280,"45":9061453580772847616},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-15 15:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732309760001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:48:35] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-15 15:48:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347205929302753280,"km_value":347205929302753.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9061453580772847616,"description":"Unknown IO ID 45"} 
[2026-07-15 15:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732309760001,"power":27865,"unknown_63":206,"unknown_85":14336,"ignition":57,"odometer":null,"unknown_45":9061453580772847616}} 
[2026-07-15 15:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":132657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:48:35] local.INFO: GPS data processed {"connection_id":132657,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:48:35] local.INFO: Acknowledgment sent {"connection_id":132657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:48:36] local.INFO: TCP Data received {"connection_id":133503,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f6546c2a0012d79af8005e7f760000700b328..."} 
[2026-07-15 15:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6546c2a0012d79af8005e7f760000700b328..."} 
[2026-07-15 15:48:36] local.INFO: Processing buffer {"connection_id":133503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6546c2a0012d79af8005e7f760000700b328..."} 
[2026-07-15 15:48:36] local.INFO: Packet analysis {"connection_id":133503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6546"} 
[2026-07-15 15:48:36] local.INFO: Extracted packet for processing {"connection_id":133503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6546"} 
[2026-07-15 15:48:36] local.INFO: GPS Element Parsed {"raw_longitude":762949504,"raw_latitude":99088224,"longitude_deg":76.2949504,"latitude_deg":9.9088224,"altitude":7,"angle":179,"satellites":40,"speed":26,"hex_longitude":"2d79af80","hex_latitude":"05e7f760","is_valid_coordinates":true} 
[2026-07-15 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-07-15 15:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732303616001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106582671466954752,"note":"Value kept but may cause issues"} 
[2026-07-15 15:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8768297393624926208,"note":"Value kept but may cause issues"} 
[2026-07-15 15:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784110564000,"timestamp_ms":1784110564000,"timestamp_seconds":1784110564,"priority":1,"record_length":96,"hex_timestamp":"0000019f6546c2a0"} 
[2026-07-15 15:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-15 15:48:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 15:48:36] local.WARNING: Large IO value detected {"io_id":9,"raw_value":57752720140818230,"note":"Value kept but may cause issues"} 
[2026-07-15 15:48:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-07-15 15:48:36] local.WARNING: Large IO value detected {"io_id":232,"raw_value":-8754997645532059392,"note":"Value kept but may cause issues"} 
[2026-07-15 15:48:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":768278734,"corrected_to":0} 
[2026-07-15 15:48:36] local.WARNING: Large IO value detected {"io_id":243,"raw_value":2550214009,"note":"Value kept but may cause issues"} 
[2026-07-15 15:48:36] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13522742,"corrected_to":0} 
[2026-07-15 15:48:36] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2798714880,"note":"Value kept but may cause issues"} 
[2026-07-15 15:48:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3900981248,"note":"Value kept but may cause issues"} 
[2026-07-15 15:48:36] local.WARNING: Large IO value detected {"io_id":69,"raw_value":-5397562858580033531,"note":"Value kept but may cause issues"} 
[2026-07-15 15:48:36] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,202,87,24,241,157,16,168,159,147,45,128,20,8,40,10,66,108,64,9,41,167,54,192,1,240,215,227,101,232,4,113,205,243,131,239,50,203,2,122,5,7,69],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":768278734,"validated":0},{"io_id":203,"original":13522742,"validated":0}]} 
[2026-07-15 15:48:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576645642057285632,"timestamp_seconds":576645642057285.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 15:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":133503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":133503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":133503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732303616001,"66":13243,"202":206,"87":13824,"24":26,"16":106582671466954752,"45":8768297393624926208},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-15 15:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732303616001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:48:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 15:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106582671466954752,"km_value":106582671466954.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8768297393624926208,"description":"Unknown IO ID 45"} 
[2026-07-15 15:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732303616001,"power":13243,"mcc":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8768297393624926208}} 
[2026-07-15 15:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":133503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491546,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:48:36] local.INFO: GPS data processed {"connection_id":133503,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:48:36] local.INFO: Acknowledgment sent {"connection_id":133503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:48:52] local.INFO: TCP Data received {"connection_id":132466,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132466,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:48:52] local.INFO: Processing buffer {"connection_id":132466,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:48:52] local.INFO: IMEI packet received {"connection_id":132466,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 15:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":132466,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:48:56] local.INFO: TCP Data received {"connection_id":132465,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:48:56] local.INFO: Processing buffer {"connection_id":132465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:48:56] local.INFO: IMEI packet received {"connection_id":132465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 15:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":132465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:48:57] local.INFO: TCP Data received {"connection_id":132466,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132466,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:48:57] local.INFO: Processing buffer {"connection_id":132466,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:48:57] local.INFO: IMEI packet received {"connection_id":132466,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 15:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":132466,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:48:58] local.INFO: TCP Data received {"connection_id":132466,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f65483d88012d0cb80007048760001a01570e..."} 
[2026-07-15 15:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65483d88012d0cb80007048760001a01570e..."} 
[2026-07-15 15:48:58] local.INFO: Processing buffer {"connection_id":132466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65483d88012d0cb80007048760001a01570e..."} 
[2026-07-15 15:48:58] local.INFO: Packet analysis {"connection_id":132466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6548"} 
[2026-07-15 15:48:58] local.INFO: Extracted packet for processing {"connection_id":132466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6548"} 
[2026-07-15 15:48:58] local.INFO: GPS Element Parsed {"raw_longitude":755808256,"raw_latitude":117737312,"longitude_deg":75.5808256,"latitude_deg":11.7737312,"altitude":26,"angle":343,"satellites":14,"speed":36,"hex_longitude":"2d0cb800","hex_latitude":"07048760","is_valid_coordinates":true} 
[2026-07-15 15:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732328448001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24666302123606016,"note":"Value kept but may cause issues"} 
[2026-07-15 15:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":917186241751685120,"note":"Value kept but may cause issues"} 
[2026-07-15 15:48:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 15:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784110661000,"timestamp_ms":1784110661000,"timestamp_seconds":1784110661,"priority":1,"record_length":96,"hex_timestamp":"0000019f65483d88"} 
[2026-07-15 15:48:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:48:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-15 15:48:58] 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-07-15 15:48:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:48:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":132466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":132466,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":132466,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:48:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 15:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 15:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732328448001,"66":14537,"16":24666302123606016,"94":11008,"24":36,"45":917186241751685120},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-15 15:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 15:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 15:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732328448001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24666302123606016,"km_value":24666302123606.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:48:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 15:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":917186241751685120,"description":"Unknown IO ID 45"} 
[2026-07-15 15:48:58] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456732328448001,"power":14537,"odometer":null,"unknown_94":11008,"ignition":36,"unknown_45":917186241751685120}} 
[2026-07-15 15:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":132466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491547,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:48:58] local.INFO: GPS data processed {"connection_id":132466,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:48:58] local.INFO: Acknowledgment sent {"connection_id":132466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:48:59] local.INFO: TCP Data received {"connection_id":132467,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132467,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:48:59] local.INFO: Processing buffer {"connection_id":132467,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:48:59] local.INFO: IMEI packet received {"connection_id":132467,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 15:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":132467,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:49:00] local.INFO: TCP Data received {"connection_id":132465,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:49:00] local.INFO: Processing buffer {"connection_id":132465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:49:00] local.INFO: IMEI packet received {"connection_id":132465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":132465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:49:00] local.INFO: TCP Data received {"connection_id":132465,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f6548b6a0012d18b30007209030003200d825..."} 
[2026-07-15 15:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6548b6a0012d18b30007209030003200d825..."} 
[2026-07-15 15:49:00] local.INFO: Processing buffer {"connection_id":132465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6548b6a0012d18b30007209030003200d825..."} 
[2026-07-15 15:49:00] local.INFO: Packet analysis {"connection_id":132465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6548"} 
[2026-07-15 15:49:00] local.INFO: Extracted packet for processing {"connection_id":132465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6548"} 
[2026-07-15 15:49:00] local.INFO: GPS Element Parsed {"raw_longitude":756593408,"raw_latitude":119574576,"longitude_deg":75.6593408,"latitude_deg":11.9574576,"altitude":50,"angle":216,"satellites":37,"speed":9,"hex_longitude":"2d18b300","hex_latitude":"07209030","is_valid_coordinates":true} 
[2026-07-15 15:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732336896001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6099768388354048,"note":"Value kept but may cause issues"} 
[2026-07-15 15:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779977414585137152,"note":"Value kept but may cause issues"} 
[2026-07-15 15:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784110692000,"timestamp_ms":1784110692000,"timestamp_seconds":1784110692,"priority":1,"record_length":96,"hex_timestamp":"0000019f6548b6a0"} 
[2026-07-15 15:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:49:00] 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-07-15 15:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-15 15:49:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:49:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":132465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":132465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":132465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732336896001,"66":14363,"102":206,"83":41984,"24":9,"16":6099768388354048,"45":1779977414585137152},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-15 15:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732336896001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:49:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-15 15:49:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6099768388354048,"km_value":6099768388354.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779977414585137152,"description":"Unknown IO ID 45"} 
[2026-07-15 15:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732336896001,"power":14363,"unknown_102":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1779977414585137152}} 
[2026-07-15 15:49:00] local.INFO: TCP Data received {"connection_id":134874,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":132465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:49:00] local.INFO: GPS data processed {"connection_id":132465,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:49:00] local.INFO: Acknowledgment sent {"connection_id":132465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:49:00] local.INFO: Processing buffer {"connection_id":134874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:49:00] local.INFO: IMEI packet received {"connection_id":134874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":134874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:49:01] local.INFO: TCP Data received {"connection_id":132465,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f6548be70012d18b1c007208e08003100cb24..."} 
[2026-07-15 15:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6548be70012d18b1c007208e08003100cb24..."} 
[2026-07-15 15:49:01] local.INFO: Processing buffer {"connection_id":132465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6548be70012d18b1c007208e08003100cb24..."} 
[2026-07-15 15:49:01] local.INFO: Packet analysis {"connection_id":132465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6548"} 
[2026-07-15 15:49:01] local.INFO: Extracted packet for processing {"connection_id":132465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6548"} 
[2026-07-15 15:49:01] local.INFO: GPS Element Parsed {"raw_longitude":756593088,"raw_latitude":119574024,"longitude_deg":75.6593088,"latitude_deg":11.9574024,"altitude":49,"angle":203,"satellites":36,"speed":15,"hex_longitude":"2d18b1c0","hex_latitude":"07208e08","is_valid_coordinates":true} 
[2026-07-15 15:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732337152001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6099798453125120,"note":"Value kept but may cause issues"} 
[2026-07-15 15:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779766308352569344,"note":"Value kept but may cause issues"} 
[2026-07-15 15:49:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784110694000,"timestamp_ms":1784110694000,"timestamp_seconds":1784110694,"priority":1,"record_length":96,"hex_timestamp":"0000019f6548be70"} 
[2026-07-15 15:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:49:01] 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-07-15 15:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-15 15:49:01] 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-07-15 15:49:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":132465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":132465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":132465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732337152001,"66":14374,"102":206,"83":41984,"24":15,"16":6099798453125120,"45":1779766308352569344},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-15 15:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732337152001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:49:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-15 15:49:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6099798453125120,"km_value":6099798453125.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779766308352569344,"description":"Unknown IO ID 45"} 
[2026-07-15 15:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732337152001,"power":14374,"unknown_102":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1779766308352569344}} 
[2026-07-15 15:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":132465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:49:01] local.INFO: GPS data processed {"connection_id":132465,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:49:01] local.INFO: Acknowledgment sent {"connection_id":132465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:49:02] local.INFO: TCP Data received {"connection_id":134874,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:49:02] local.INFO: Processing buffer {"connection_id":134874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:49:02] local.INFO: IMEI packet received {"connection_id":134874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":134874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:49:04] local.INFO: TCP Data received {"connection_id":132467,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132467,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:49:04] local.INFO: Processing buffer {"connection_id":132467,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:49:04] local.INFO: IMEI packet received {"connection_id":132467,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":132467,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:49:05] local.INFO: TCP Data received {"connection_id":132467,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f6546e9b0012d79b0c005e7ddf8000900a62a..."} 
[2026-07-15 15:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6546e9b0012d79b0c005e7ddf8000900a62a..."} 
[2026-07-15 15:49:05] local.INFO: Processing buffer {"connection_id":132467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6546e9b0012d79b0c005e7ddf8000900a62a..."} 
[2026-07-15 15:49:05] local.INFO: Packet analysis {"connection_id":132467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6546"} 
[2026-07-15 15:49:05] local.INFO: Extracted packet for processing {"connection_id":132467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6546"} 
[2026-07-15 15:49:05] local.INFO: GPS Element Parsed {"raw_longitude":762949824,"raw_latitude":99081720,"longitude_deg":76.2949824,"latitude_deg":9.908172,"altitude":9,"angle":166,"satellites":42,"speed":21,"hex_longitude":"2d79b0c0","hex_latitude":"05e7ddf8","is_valid_coordinates":true} 
[2026-07-15 15:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732304384001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106582989294534656,"note":"Value kept but may cause issues"} 
[2026-07-15 15:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8768367762368585728,"note":"Value kept but may cause issues"} 
[2026-07-15 15:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784110574000,"timestamp_ms":1784110574000,"timestamp_seconds":1784110574,"priority":1,"record_length":96,"hex_timestamp":"0000019f6546e9b0"} 
[2026-07-15 15:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-15 15:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132467,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132467,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732304384001,"66":13222,"201":206,"87":13824,"24":21,"16":106582989294534656,"45":8768367762368585728},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-15 15:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732304384001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:49:05] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-15 15:49:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 15:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106582989294534656,"km_value":106582989294534.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8768367762368585728,"description":"Unknown IO ID 45"} 
[2026-07-15 15:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732304384001,"power":13222,"unknown_201":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8768367762368585728}} 
[2026-07-15 15:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":132467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491550,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:49:05] local.INFO: GPS data processed {"connection_id":132467,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:49:05] local.INFO: Acknowledgment sent {"connection_id":132467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:49:06] local.INFO: TCP Data received {"connection_id":134874,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:49:06] local.INFO: Processing buffer {"connection_id":134874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:49:06] local.INFO: IMEI packet received {"connection_id":134874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":134874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:49:06] local.INFO: TCP Data received {"connection_id":134874,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f654858e0012d7d550005a862c00010015b2f..."} 
[2026-07-15 15:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f654858e0012d7d550005a862c00010015b2f..."} 
[2026-07-15 15:49:06] local.INFO: Processing buffer {"connection_id":134874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f654858e0012d7d550005a862c00010015b2f..."} 
[2026-07-15 15:49:06] local.INFO: Packet analysis {"connection_id":134874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6548"} 
[2026-07-15 15:49:06] local.INFO: Extracted packet for processing {"connection_id":134874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6548"} 
[2026-07-15 15:49:06] local.INFO: GPS Element Parsed {"raw_longitude":763188480,"raw_latitude":94921408,"longitude_deg":76.318848,"latitude_deg":9.4921408,"altitude":16,"angle":347,"satellites":47,"speed":56,"hex_longitude":"2d7d5500","hex_latitude":"05a862c0","is_valid_coordinates":true} 
[2026-07-15 15:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732329216001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347211151982985216,"note":"Value kept but may cause issues"} 
[2026-07-15 15:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9033587558105069568,"note":"Value kept but may cause issues"} 
[2026-07-15 15:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784110668000,"timestamp_ms":1784110668000,"timestamp_seconds":1784110668,"priority":1,"record_length":96,"hex_timestamp":"0000019f654858e0"} 
[2026-07-15 15:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-15 15:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":134874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":134874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":134874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:49:06] 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-07-15 15:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732329216001,"66":27865,"63":206,"85":14336,"24":56,"16":347211151982985216,"45":9033587558105069568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-15 15:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732329216001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:49:06] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-15 15:49:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347211151982985216,"km_value":347211151982985.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9033587558105069568,"description":"Unknown IO ID 45"} 
[2026-07-15 15:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732329216001,"power":27865,"unknown_63":206,"unknown_85":14336,"ignition":56,"odometer":null,"unknown_45":9033587558105069568}} 
[2026-07-15 15:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":134874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:49:07] local.INFO: GPS data processed {"connection_id":134874,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:49:07] local.INFO: Acknowledgment sent {"connection_id":134874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:49:29] local.INFO: TCP Data received {"connection_id":132466,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f6549a8d0012d0c75c00704d4c8001a010f0d..."} 
[2026-07-15 15:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6549a8d0012d0c75c00704d4c8001a010f0d..."} 
[2026-07-15 15:49:29] local.INFO: Processing buffer {"connection_id":132466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6549a8d0012d0c75c00704d4c8001a010f0d..."} 
[2026-07-15 15:49:29] local.INFO: Packet analysis {"connection_id":132466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6549"} 
[2026-07-15 15:49:29] local.INFO: Extracted packet for processing {"connection_id":132466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6549"} 
[2026-07-15 15:49:29] local.INFO: GPS Element Parsed {"raw_longitude":755791296,"raw_latitude":117757128,"longitude_deg":75.5791296,"latitude_deg":11.7757128,"altitude":26,"angle":271,"satellites":13,"speed":40,"hex_longitude":"2d0c75c0","hex_latitude":"0704d4c8","is_valid_coordinates":true} 
[2026-07-15 15:49: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-07-15 15:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732352000001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24667655038304256,"note":"Value kept but may cause issues"} 
[2026-07-15 15:49:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":901916224270827520,"note":"Value kept but may cause issues"} 
[2026-07-15 15:49:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784110754000,"timestamp_ms":1784110754000,"timestamp_seconds":1784110754,"priority":1,"record_length":96,"hex_timestamp":"0000019f6549a8d0"} 
[2026-07-15 15:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:49:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-15 15:49:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:49: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-07-15 15:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":132466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":132466,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":132466,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:49:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 15:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 15:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732352000001,"66":14537,"95":206,"94":10240,"24":40,"16":24667655038304256,"45":901916224270827520},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-15 15:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 15:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 15:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732352000001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:49:29] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-15 15:49:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 15:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24667655038304256,"km_value":24667655038304.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:49:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":901916224270827520,"description":"Unknown IO ID 45"} 
[2026-07-15 15:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732352000001,"power":14537,"unknown_95":206,"unknown_94":10240,"ignition":40,"odometer":null,"unknown_45":901916224270827520}} 
[2026-07-15 15:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":132466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491552,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:49:29] local.INFO: GPS data processed {"connection_id":132466,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:49:29] local.INFO: Acknowledgment sent {"connection_id":132466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:49:32] local.INFO: TCP Data received {"connection_id":132465,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f65494b10012d1895c00720b1e00030014928..."} 
[2026-07-15 15:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65494b10012d1895c00720b1e00030014928..."} 
[2026-07-15 15:49:32] local.INFO: Processing buffer {"connection_id":132465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65494b10012d1895c00720b1e00030014928..."} 
[2026-07-15 15:49:32] local.INFO: Packet analysis {"connection_id":132465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6549"} 
[2026-07-15 15:49:32] local.INFO: Extracted packet for processing {"connection_id":132465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6549"} 
[2026-07-15 15:49:32] local.INFO: GPS Element Parsed {"raw_longitude":756585920,"raw_latitude":119583200,"longitude_deg":75.658592,"latitude_deg":11.95832,"altitude":48,"angle":329,"satellites":40,"speed":23,"hex_longitude":"2d1895c0","hex_latitude":"0720b1e0","is_valid_coordinates":true} 
[2026-07-15 15:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732345088001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6100670331486208,"note":"Value kept but may cause issues"} 
[2026-07-15 15:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772940540168452096,"note":"Value kept but may cause issues"} 
[2026-07-15 15:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784110730000,"timestamp_ms":1784110730000,"timestamp_seconds":1784110730,"priority":1,"record_length":96,"hex_timestamp":"0000019f65494b10"} 
[2026-07-15 15:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-15 15:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:49:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":132465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":132465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":132465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732345088001,"66":14070,"102":206,"83":41984,"24":23,"16":6100670331486208,"45":1772940540168452096},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-15 15:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732345088001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:49:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-15 15:49:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6100670331486208,"km_value":6100670331486.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772940540168452096,"description":"Unknown IO ID 45"} 
[2026-07-15 15:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732345088001,"power":14070,"unknown_102":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1772940540168452096}} 
[2026-07-15 15:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":132465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:49:32] local.INFO: GPS data processed {"connection_id":132465,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:49:32] local.INFO: Acknowledgment sent {"connection_id":132465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:49:36] local.INFO: TCP Data received {"connection_id":132467,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f65494728012d79b6c005e7bb30000601612a..."} 
[2026-07-15 15:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65494728012d79b6c005e7bb30000601612a..."} 
[2026-07-15 15:49:36] local.INFO: Processing buffer {"connection_id":132467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65494728012d79b6c005e7bb30000601612a..."} 
[2026-07-15 15:49:36] local.INFO: Packet analysis {"connection_id":132467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6549"} 
[2026-07-15 15:49:36] local.INFO: Extracted packet for processing {"connection_id":132467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6549"} 
[2026-07-15 15:49:36] local.INFO: GPS Element Parsed {"raw_longitude":762951360,"raw_latitude":99072816,"longitude_deg":76.295136,"latitude_deg":9.9072816,"altitude":6,"angle":353,"satellites":42,"speed":0,"hex_longitude":"2d79b6c0","hex_latitude":"05e7bb30","is_valid_coordinates":true} 
[2026-07-15 15:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732341248001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106583994316881920,"note":"Value kept but may cause issues"} 
[2026-07-15 15:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770408455945793536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784110729000,"timestamp_ms":1784110729000,"timestamp_seconds":1784110729,"priority":1,"record_length":96,"hex_timestamp":"0000019f65494728"} 
[2026-07-15 15:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-15 15:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132467,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132467,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732341248001,"66":12863,"202":206,"87":13824,"24":0,"16":106583994316881920,"45":8770408455945793536},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-15 15:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732341248001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:49:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 15:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106583994316881920,"km_value":106583994316881.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770408455945793536,"description":"Unknown IO ID 45"} 
[2026-07-15 15:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732341248001,"power":12863,"mcc":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8770408455945793536}} 
[2026-07-15 15:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":132467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491554,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:49:36] local.INFO: GPS data processed {"connection_id":132467,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:49:36] local.INFO: Acknowledgment sent {"connection_id":132467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:49:48] local.INFO: TCP Data received {"connection_id":132658,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:49:48] local.INFO: Processing buffer {"connection_id":132658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:49:48] local.INFO: IMEI packet received {"connection_id":132658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 15:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":132658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:49:49] local.INFO: TCP Data received {"connection_id":132658,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:49:49] local.INFO: Processing buffer {"connection_id":132658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:49:49] local.INFO: IMEI packet received {"connection_id":132658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":132658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:49:50] local.INFO: TCP Data received {"connection_id":132658,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:49:50] local.INFO: Processing buffer {"connection_id":132658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:49:50] local.INFO: IMEI packet received {"connection_id":132658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":132658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:49:51] local.INFO: TCP Data received {"connection_id":132658,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:49:51] local.INFO: Processing buffer {"connection_id":132658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:49:51] local.INFO: IMEI packet received {"connection_id":132658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":132658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:49:51] local.INFO: TCP Data received {"connection_id":134874,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f65487438012d7d4c4005a889e80010015c2f..."} 
[2026-07-15 15:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65487438012d7d4c4005a889e80010015c2f..."} 
[2026-07-15 15:49:51] local.INFO: Processing buffer {"connection_id":134874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65487438012d7d4c4005a889e80010015c2f..."} 
[2026-07-15 15:49:51] local.INFO: Packet analysis {"connection_id":134874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6548"} 
[2026-07-15 15:49:51] local.INFO: Extracted packet for processing {"connection_id":134874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6548"} 
[2026-07-15 15:49:51] local.INFO: GPS Element Parsed {"raw_longitude":763186240,"raw_latitude":94931432,"longitude_deg":76.318624,"latitude_deg":9.4931432,"altitude":16,"angle":348,"satellites":47,"speed":59,"hex_longitude":"2d7d4c40","hex_latitude":"05a889e8","is_valid_coordinates":true} 
[2026-07-15 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-07-15 15:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732331008001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347211650199191552,"note":"Value kept but may cause issues"} 
[2026-07-15 15:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9031124652061278208,"note":"Value kept but may cause issues"} 
[2026-07-15 15:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784110675000,"timestamp_ms":1784110675000,"timestamp_seconds":1784110675,"priority":1,"record_length":96,"hex_timestamp":"0000019f65487438"} 
[2026-07-15 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-07-15 15:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-15 15:49:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 15:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":134874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":134874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":134874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:49: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-07-15 15:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732331008001,"66":27919,"63":206,"85":14336,"24":59,"16":347211650199191552,"45":9031124652061278208},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-15 15:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732331008001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:49:51] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-15 15:49:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347211650199191552,"km_value":347211650199191.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9031124652061278208,"description":"Unknown IO ID 45"} 
[2026-07-15 15:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732331008001,"power":27919,"unknown_63":206,"unknown_85":14336,"ignition":59,"odometer":null,"unknown_45":9031124652061278208}} 
[2026-07-15 15:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":134874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:49:51] local.INFO: GPS data processed {"connection_id":134874,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:49:51] local.INFO: Acknowledgment sent {"connection_id":134874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:49:57] local.INFO: TCP Data received {"connection_id":132470,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132470,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:49:57] local.INFO: Processing buffer {"connection_id":132470,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:49:57] local.INFO: IMEI packet received {"connection_id":132470,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 15:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":132470,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:49:59] local.INFO: TCP Data received {"connection_id":132469,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132469,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:49:59] local.INFO: Processing buffer {"connection_id":132469,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:49:59] local.INFO: IMEI packet received {"connection_id":132469,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 15:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":132469,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:50:00] local.INFO: TCP Data received {"connection_id":132470,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132470,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:50:00] local.INFO: Processing buffer {"connection_id":132470,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:50:00] local.INFO: IMEI packet received {"connection_id":132470,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 15:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":132470,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:50:00] local.INFO: TCP Data received {"connection_id":133506,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:50:00] local.INFO: Processing buffer {"connection_id":133506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:50:00] local.INFO: IMEI packet received {"connection_id":133506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":133506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:50:03] local.INFO: TCP Data received {"connection_id":132470,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132470,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:50:03] local.INFO: Processing buffer {"connection_id":132470,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:50:03] local.INFO: IMEI packet received {"connection_id":132470,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 15:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":132470,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:50:03] local.INFO: TCP Data received {"connection_id":132470,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f6549bc58012d0c60800704d3c0001901010d..."} 
[2026-07-15 15:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6549bc58012d0c60800704d3c0001901010d..."} 
[2026-07-15 15:50:03] local.INFO: Processing buffer {"connection_id":132470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6549bc58012d0c60800704d3c0001901010d..."} 
[2026-07-15 15:50:03] local.INFO: Packet analysis {"connection_id":132470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6549"} 
[2026-07-15 15:50:03] local.INFO: Extracted packet for processing {"connection_id":132470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6549"} 
[2026-07-15 15:50:03] local.INFO: GPS Element Parsed {"raw_longitude":755785856,"raw_latitude":117756864,"longitude_deg":75.5785856,"latitude_deg":11.7756864,"altitude":25,"angle":257,"satellites":13,"speed":42,"hex_longitude":"2d0c6080","hex_latitude":"0704d3c0","is_valid_coordinates":true} 
[2026-07-15 15:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732353024001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24667917031309312,"note":"Value kept but may cause issues"} 
[2026-07-15 15:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897834837108639744,"note":"Value kept but may cause issues"} 
[2026-07-15 15:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784110759000,"timestamp_ms":1784110759000,"timestamp_seconds":1784110759,"priority":1,"record_length":96,"hex_timestamp":"0000019f6549bc58"} 
[2026-07-15 15:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-15 15:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":132470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":132470,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":132470,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 15:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 15:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732353024001,"66":14439,"95":206,"94":10240,"24":42,"16":24667917031309312,"45":897834837108639744},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-15 15:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 15:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 15:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732353024001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:50:03] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-15 15:50:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 15:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24667917031309312,"km_value":24667917031309.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":897834837108639744,"description":"Unknown IO ID 45"} 
[2026-07-15 15:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732353024001,"power":14439,"unknown_95":206,"unknown_94":10240,"ignition":42,"odometer":null,"unknown_45":897834837108639744}} 
[2026-07-15 15:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":132470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491556,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:50:03] local.INFO: GPS data processed {"connection_id":132470,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:50:03] local.INFO: Acknowledgment sent {"connection_id":132470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:50:04] local.INFO: TCP Data received {"connection_id":132469,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132469,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:50:04] local.INFO: Processing buffer {"connection_id":132469,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:50:04] local.INFO: IMEI packet received {"connection_id":132469,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":132469,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:50:05] local.INFO: TCP Data received {"connection_id":132469,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f65499930012d79b6c005e7bb30000601612a..."} 
[2026-07-15 15:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65499930012d79b6c005e7bb30000601612a..."} 
[2026-07-15 15:50:05] local.INFO: Processing buffer {"connection_id":132469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65499930012d79b6c005e7bb30000601612a..."} 
[2026-07-15 15:50:05] local.INFO: Packet analysis {"connection_id":132469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6549"} 
[2026-07-15 15:50:05] local.INFO: Extracted packet for processing {"connection_id":132469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6549"} 
[2026-07-15 15:50:05] local.INFO: GPS Element Parsed {"raw_longitude":762951360,"raw_latitude":99072816,"longitude_deg":76.295136,"latitude_deg":9.9072816,"altitude":6,"angle":353,"satellites":42,"speed":0,"hex_longitude":"2d79b6c0","hex_latitude":"05e7bb30","is_valid_coordinates":true} 
[2026-07-15 15:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732346624001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106583994316881920,"note":"Value kept but may cause issues"} 
[2026-07-15 15:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770408455945793536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784110750000,"timestamp_ms":1784110750000,"timestamp_seconds":1784110750,"priority":1,"record_length":96,"hex_timestamp":"0000019f65499930"} 
[2026-07-15 15:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-15 15:50: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-07-15 15: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-07-15 15:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132469,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132469,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732346624001,"66":12809,"202":206,"87":13824,"24":0,"16":106583994316881920,"45":8770408455945793536},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-15 15:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732346624001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:50:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 15:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106583994316881920,"km_value":106583994316881.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770408455945793536,"description":"Unknown IO ID 45"} 
[2026-07-15 15:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732346624001,"power":12809,"mcc":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8770408455945793536}} 
[2026-07-15 15:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":132469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491557,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:50:05] local.INFO: GPS data processed {"connection_id":132469,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:50:05] local.INFO: Acknowledgment sent {"connection_id":132469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:50:06] local.INFO: TCP Data received {"connection_id":133506,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:50:06] local.INFO: Processing buffer {"connection_id":133506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:50:06] local.INFO: IMEI packet received {"connection_id":133506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":133506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:50:07] local.INFO: TCP Data received {"connection_id":133506,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f65488f90012d7d450005a8af900010015d2c..."} 
[2026-07-15 15:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65488f90012d7d450005a8af900010015d2c..."} 
[2026-07-15 15:50:07] local.INFO: Processing buffer {"connection_id":133506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65488f90012d7d450005a8af900010015d2c..."} 
[2026-07-15 15:50:07] local.INFO: Packet analysis {"connection_id":133506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6548"} 
[2026-07-15 15:50:07] local.INFO: Extracted packet for processing {"connection_id":133506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6548"} 
[2026-07-15 15:50:07] local.INFO: GPS Element Parsed {"raw_longitude":763184384,"raw_latitude":94941072,"longitude_deg":76.3184384,"latitude_deg":9.4941072,"altitude":16,"angle":349,"satellites":44,"speed":54,"hex_longitude":"2d7d4500","hex_latitude":"05a8af90","is_valid_coordinates":true} 
[2026-07-15 15:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732332800001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347212126940561408,"note":"Value kept but may cause issues"} 
[2026-07-15 15:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028661746017626112,"note":"Value kept but may cause issues"} 
[2026-07-15 15:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784110682000,"timestamp_ms":1784110682000,"timestamp_seconds":1784110682,"priority":1,"record_length":96,"hex_timestamp":"0000019f65488f90"} 
[2026-07-15 15:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 15:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:50:07] 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-07-15 15:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732332800001,"66":27876,"63":206,"85":14336,"24":54,"16":347212126940561408,"45":9028661746017626112},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-15 15:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732332800001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:50:07] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-15 15:50:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347212126940561408,"km_value":347212126940561.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028661746017626112,"description":"Unknown IO ID 45"} 
[2026-07-15 15:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732332800001,"power":27876,"unknown_63":206,"unknown_85":14336,"ignition":54,"odometer":null,"unknown_45":9028661746017626112}} 
[2026-07-15 15:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":133506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:50:07] local.INFO: GPS data processed {"connection_id":133506,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:50:07] local.INFO: Acknowledgment sent {"connection_id":133506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:50:35] local.INFO: TCP Data received {"connection_id":132470,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f654ac210012d0b7b000704c0d8001b01440c..."} 
[2026-07-15 15:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f654ac210012d0b7b000704c0d8001b01440c..."} 
[2026-07-15 15:50:35] local.INFO: Processing buffer {"connection_id":132470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f654ac210012d0b7b000704c0d8001b01440c..."} 
[2026-07-15 15:50:35] local.INFO: Packet analysis {"connection_id":132470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f654a"} 
[2026-07-15 15:50:35] local.INFO: Extracted packet for processing {"connection_id":132470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f654a"} 
[2026-07-15 15:50:35] local.INFO: GPS Element Parsed {"raw_longitude":755727104,"raw_latitude":117752024,"longitude_deg":75.5727104,"latitude_deg":11.7752024,"altitude":27,"angle":324,"satellites":12,"speed":21,"hex_longitude":"2d0b7b00","hex_latitude":"0704c0d8","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732370944001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24670807544299520,"note":"Value kept but may cause issues"} 
[2026-07-15 15:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":827888305394497536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784110826000,"timestamp_ms":1784110826000,"timestamp_seconds":1784110826,"priority":1,"record_length":96,"hex_timestamp":"0000019f654ac210"} 
[2026-07-15 15:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-15 15:50:35] 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-07-15 15: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-07-15 15:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132470,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132470,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 15:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 15:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732370944001,"66":14537,"96":206,"94":10240,"24":21,"16":24670807544299520,"45":827888305394497536},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-15 15:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 15:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 15:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732370944001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:50:35] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-15 15:50:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 15:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24670807544299520,"km_value":24670807544299.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":827888305394497536,"description":"Unknown IO ID 45"} 
[2026-07-15 15:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732370944001,"power":14537,"unknown_96":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":827888305394497536}} 
[2026-07-15 15:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":132470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491559,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:50:35] local.INFO: GPS data processed {"connection_id":132470,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:50:35] local.INFO: Acknowledgment sent {"connection_id":132470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:50:36] local.INFO: TCP Data received {"connection_id":132469,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f6549eb38012d79b6c005e7bb300006016127..."} 
[2026-07-15 15:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6549eb38012d79b6c005e7bb300006016127..."} 
[2026-07-15 15:50:36] local.INFO: Processing buffer {"connection_id":132469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6549eb38012d79b6c005e7bb300006016127..."} 
[2026-07-15 15:50:36] local.INFO: Packet analysis {"connection_id":132469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6549"} 
[2026-07-15 15:50:36] local.INFO: Extracted packet for processing {"connection_id":132469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6549"} 
[2026-07-15 15:50:36] local.INFO: GPS Element Parsed {"raw_longitude":762951360,"raw_latitude":99072816,"longitude_deg":76.295136,"latitude_deg":9.9072816,"altitude":6,"angle":353,"satellites":39,"speed":0,"hex_longitude":"2d79b6c0","hex_latitude":"05e7bb30","is_valid_coordinates":true} 
[2026-07-15 15:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732352000001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106583994316881920,"note":"Value kept but may cause issues"} 
[2026-07-15 15:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770408455945793536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784110771000,"timestamp_ms":1784110771000,"timestamp_seconds":1784110771,"priority":1,"record_length":96,"hex_timestamp":"0000019f6549eb38"} 
[2026-07-15 15:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-15 15:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":792633534584980480,"note":"Value kept but may cause issues"} 
[2026-07-15 15:50:36] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":13522742,"corrected_to":0} 
[2026-07-15 15:50:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 15:50:36] local.WARNING: Large IO value detected {"io_id":169,"raw_value":2483027968,"note":"Value kept but may cause issues"} 
[2026-07-15 15:50:36] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-15 15:50:36] local.WARNING: Large IO value detected {"io_id":101,"raw_value":5173580445743954112,"note":"Value kept but may cause issues"} 
[2026-07-15 15:50:36] local.WARNING: Large IO value detected {"io_id":231,"raw_value":3140485126,"note":"Value kept but may cause issues"} 
[2026-07-15 15:50:36] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2844721152,"note":"Value kept but may cause issues"} 
[2026-07-15 15:50:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1753122911842901464,"note":"Value kept but may cause issues"} 
[2026-07-15 15:50:36] local.WARNING: Large IO value detected {"io_id":50,"raw_value":7638330435717615191,"note":"Value kept but may cause issues"} 
[2026-07-15 15:50:36] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755433800925425,"note":"Value kept but may cause issues"} 
[2026-07-15 15:50:36] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,202,87,24,241,157,16,169,159,71,45,192,187,6,42,10,66,245,40,163,1,240,9,227,101,231,4,113,205,255,183,184,239,49,2,122,5,7,8,50,54,137],"length":535,"final_offset":665,"validated_count":42,"validation_warnings":[{"io_id":202,"original":13522742,"validated":0}]} 
[2026-07-15 15:50:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432733872220798976,"timestamp_seconds":432733872220799.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 15:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132469,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132469,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732352000001,"66":12939,"202":206,"87":13824,"24":0,"16":106583994316881920,"45":8770408455945793536},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-15 15:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732352000001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:50:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 15:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106583994316881920,"km_value":106583994316881.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770408455945793536,"description":"Unknown IO ID 45"} 
[2026-07-15 15:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732352000001,"power":12939,"mcc":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8770408455945793536}} 
[2026-07-15 15:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":132469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491560,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:50:36] local.INFO: GPS data processed {"connection_id":132469,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:50:36] local.INFO: Acknowledgment sent {"connection_id":132469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:50:38] local.INFO: TCP Data received {"connection_id":133506,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f654a1e00012d7dda0005aa69980009002131..."} 
[2026-07-15 15:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f654a1e00012d7dda0005aa69980009002131..."} 
[2026-07-15 15:50:38] local.INFO: Processing buffer {"connection_id":133506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f654a1e00012d7dda0005aa69980009002131..."} 
[2026-07-15 15:50:38] local.INFO: Packet analysis {"connection_id":133506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f654a"} 
[2026-07-15 15:50:38] local.INFO: Extracted packet for processing {"connection_id":133506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f654a"} 
[2026-07-15 15:50:38] local.INFO: GPS Element Parsed {"raw_longitude":763222528,"raw_latitude":95054232,"longitude_deg":76.3222528,"latitude_deg":9.5054232,"altitude":9,"angle":33,"satellites":49,"speed":51,"hex_longitude":"2d7dda00","hex_latitude":"05aa6998","is_valid_coordinates":true} 
[2026-07-15 15:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732358656001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347218234384056320,"note":"Value kept but may cause issues"} 
[2026-07-15 15:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9062720218229010432,"note":"Value kept but may cause issues"} 
[2026-07-15 15:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784110784000,"timestamp_ms":1784110784000,"timestamp_seconds":1784110784,"priority":1,"record_length":96,"hex_timestamp":"0000019f654a1e00"} 
[2026-07-15 15:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 15:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732358656001,"66":27930,"127":206,"85":14336,"24":51,"16":347218234384056320,"45":9062720218229010432},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-07-15 15:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732358656001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:50:38] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-07-15 15:50:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347218234384056320,"km_value":347218234384056.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9062720218229010432,"description":"Unknown IO ID 45"} 
[2026-07-15 15:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732358656001,"power":27930,"unknown_127":206,"unknown_85":14336,"ignition":51,"odometer":null,"unknown_45":9062720218229010432}} 
[2026-07-15 15:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":133506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:50:38] local.INFO: GPS data processed {"connection_id":133506,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:50:38] local.INFO: Acknowledgment sent {"connection_id":133506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:50:57] local.INFO: TCP Data received {"connection_id":132472,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132472,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:50:57] local.INFO: Processing buffer {"connection_id":132472,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:50:57] local.INFO: IMEI packet received {"connection_id":132472,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 15:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":132472,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:50:59] local.INFO: TCP Data received {"connection_id":132660,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132660,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:50:59] local.INFO: Processing buffer {"connection_id":132660,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:50:59] local.INFO: IMEI packet received {"connection_id":132660,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 15:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":132660,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:51:01] local.INFO: TCP Data received {"connection_id":134875,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:51:01] local.INFO: Processing buffer {"connection_id":134875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:51:01] local.INFO: IMEI packet received {"connection_id":134875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":134875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:51:02] local.INFO: TCP Data received {"connection_id":134875,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:51:02] local.INFO: Processing buffer {"connection_id":134875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:51:02] local.INFO: IMEI packet received {"connection_id":134875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":134875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:51:03] local.INFO: TCP Data received {"connection_id":132472,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132472,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:51:03] local.INFO: Processing buffer {"connection_id":132472,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:51:03] local.INFO: IMEI packet received {"connection_id":132472,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 15:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":132472,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:51:04] local.INFO: TCP Data received {"connection_id":132472,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f654acdc8012d0b78800704c548001c01310e..."} 
[2026-07-15 15:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f654acdc8012d0b78800704c548001c01310e..."} 
[2026-07-15 15:51:04] local.INFO: Processing buffer {"connection_id":132472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f654acdc8012d0b78800704c548001c01310e..."} 
[2026-07-15 15:51:04] local.INFO: Packet analysis {"connection_id":132472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f654a"} 
[2026-07-15 15:51:04] local.INFO: Extracted packet for processing {"connection_id":132472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f654a"} 
[2026-07-15 15:51:04] local.INFO: GPS Element Parsed {"raw_longitude":755726464,"raw_latitude":117753160,"longitude_deg":75.5726464,"latitude_deg":11.775316,"altitude":28,"angle":305,"satellites":14,"speed":13,"hex_longitude":"2d0b7880","hex_latitude":"0704c548","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732371456001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24670867673841664,"note":"Value kept but may cause issues"} 
[2026-07-15 15:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":827254986697136128,"note":"Value kept but may cause issues"} 
[2026-07-15 15:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784110829000,"timestamp_ms":1784110829000,"timestamp_seconds":1784110829,"priority":1,"record_length":96,"hex_timestamp":"0000019f654acdc8"} 
[2026-07-15 15:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-15 15:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15: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-07-15 15:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":132472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":132472,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":132472,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 15:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 15:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732371456001,"66":14515,"96":206,"94":10240,"24":13,"16":24670867673841664,"45":827254986697136128},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-15 15:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 15:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 15:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732371456001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:51:04] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-15 15:51:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 15:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24670867673841664,"km_value":24670867673841.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":827254986697136128,"description":"Unknown IO ID 45"} 
[2026-07-15 15:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732371456001,"power":14515,"unknown_96":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":827254986697136128}} 
[2026-07-15 15:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":132472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491562,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:51:04] local.INFO: GPS data processed {"connection_id":132472,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:51:04] local.INFO: Acknowledgment sent {"connection_id":132472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:51:04] local.INFO: TCP Data received {"connection_id":132660,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132660,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:51:04] local.INFO: Processing buffer {"connection_id":132660,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:51:04] local.INFO: IMEI packet received {"connection_id":132660,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":132660,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:51:05] local.INFO: TCP Data received {"connection_id":132660,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f654a3d40012d79b6c005e7bb30000601612a..."} 
[2026-07-15 15:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f654a3d40012d79b6c005e7bb30000601612a..."} 
[2026-07-15 15:51:05] local.INFO: Processing buffer {"connection_id":132660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f654a3d40012d79b6c005e7bb30000601612a..."} 
[2026-07-15 15:51:05] local.INFO: Packet analysis {"connection_id":132660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f654a"} 
[2026-07-15 15:51:05] local.INFO: Extracted packet for processing {"connection_id":132660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f654a"} 
[2026-07-15 15:51:05] local.INFO: GPS Element Parsed {"raw_longitude":762951360,"raw_latitude":99072816,"longitude_deg":76.295136,"latitude_deg":9.9072816,"altitude":6,"angle":353,"satellites":42,"speed":0,"hex_longitude":"2d79b6c0","hex_latitude":"05e7bb30","is_valid_coordinates":true} 
[2026-07-15 15:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732357376001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106583994316881920,"note":"Value kept but may cause issues"} 
[2026-07-15 15:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770408455945793536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784110792000,"timestamp_ms":1784110792000,"timestamp_seconds":1784110792,"priority":1,"record_length":96,"hex_timestamp":"0000019f654a3d40"} 
[2026-07-15 15:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 15:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732357376001,"66":12809,"202":206,"87":13824,"24":0,"16":106583994316881920,"45":8770408455945793536},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-15 15:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732357376001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:51:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 15:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106583994316881920,"km_value":106583994316881.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770408455945793536,"description":"Unknown IO ID 45"} 
[2026-07-15 15:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732357376001,"power":12809,"mcc":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8770408455945793536}} 
[2026-07-15 15:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":132660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491563,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:51:05] local.INFO: GPS data processed {"connection_id":132660,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:51:05] local.INFO: Acknowledgment sent {"connection_id":132660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:51:06] local.INFO: TCP Data received {"connection_id":134875,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:51:06] local.INFO: Processing buffer {"connection_id":134875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:51:06] local.INFO: IMEI packet received {"connection_id":134875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":134875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:51:07] local.INFO: TCP Data received {"connection_id":134875,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f654a3958012d7dedc005aa88f00007002032..."} 
[2026-07-15 15:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f654a3958012d7dedc005aa88f00007002032..."} 
[2026-07-15 15:51:07] local.INFO: Processing buffer {"connection_id":134875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f654a3958012d7dedc005aa88f00007002032..."} 
[2026-07-15 15:51:07] local.INFO: Packet analysis {"connection_id":134875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f654a"} 
[2026-07-15 15:51:07] local.INFO: Extracted packet for processing {"connection_id":134875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f654a"} 
[2026-07-15 15:51:07] local.INFO: GPS Element Parsed {"raw_longitude":763227584,"raw_latitude":95062256,"longitude_deg":76.3227584,"latitude_deg":9.5062256,"altitude":7,"angle":32,"satellites":50,"speed":54,"hex_longitude":"2d7dedc0","hex_latitude":"05aa88f0","is_valid_coordinates":true} 
[2026-07-15 15:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732360704001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347218693945556992,"note":"Value kept but may cause issues"} 
[2026-07-15 15:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068560823997798400,"note":"Value kept but may cause issues"} 
[2026-07-15 15:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784110791000,"timestamp_ms":1784110791000,"timestamp_seconds":1784110791,"priority":1,"record_length":96,"hex_timestamp":"0000019f654a3958"} 
[2026-07-15 15:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-15 15:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:51:07] 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-07-15 15:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732360704001,"66":27908,"125":206,"85":14336,"24":54,"16":347218693945556992,"45":9068560823997798400},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,85,24,16,45]} 
[2026-07-15 15:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732360704001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:51:07] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-07-15 15:51:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347218693945556992,"km_value":347218693945557.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068560823997798400,"description":"Unknown IO ID 45"} 
[2026-07-15 15:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732360704001,"power":27908,"unknown_125":206,"unknown_85":14336,"ignition":54,"odometer":null,"unknown_45":9068560823997798400}} 
[2026-07-15 15:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":134875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:51:07] local.INFO: GPS data processed {"connection_id":134875,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:51:07] local.INFO: Acknowledgment sent {"connection_id":134875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:51:35] local.INFO: TCP Data received {"connection_id":132472,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f654ad1b0012d0b77000704c5b0001c011c0e..."} 
[2026-07-15 15:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f654ad1b0012d0b77000704c5b0001c011c0e..."} 
[2026-07-15 15:51:35] local.INFO: Processing buffer {"connection_id":132472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f654ad1b0012d0b77000704c5b0001c011c0e..."} 
[2026-07-15 15:51:35] local.INFO: Packet analysis {"connection_id":132472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f654a"} 
[2026-07-15 15:51:35] local.INFO: Extracted packet for processing {"connection_id":132472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f654a"} 
[2026-07-15 15:51:35] local.INFO: GPS Element Parsed {"raw_longitude":755726080,"raw_latitude":117753264,"longitude_deg":75.572608,"latitude_deg":11.7753264,"altitude":28,"angle":284,"satellites":14,"speed":14,"hex_longitude":"2d0b7700","hex_latitude":"0704c5b0","is_valid_coordinates":true} 
[2026-07-15 15:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732372224001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24670889148678144,"note":"Value kept but may cause issues"} 
[2026-07-15 15:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":826551299255650304,"note":"Value kept but may cause issues"} 
[2026-07-15 15:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784110830000,"timestamp_ms":1784110830000,"timestamp_seconds":1784110830,"priority":1,"record_length":96,"hex_timestamp":"0000019f654ad1b0"} 
[2026-07-15 15:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-15 15:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:51:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132472,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132472,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 15:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 15:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732372224001,"66":14515,"96":206,"94":10240,"24":14,"16":24670889148678144,"45":826551299255650304},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-15 15:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 15:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 15:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732372224001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:51:35] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-15 15:51:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 15:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24670889148678144,"km_value":24670889148678.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":826551299255650304,"description":"Unknown IO ID 45"} 
[2026-07-15 15:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732372224001,"power":14515,"unknown_96":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":826551299255650304}} 
[2026-07-15 15:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":132472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491565,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:51:35] local.INFO: GPS data processed {"connection_id":132472,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:51:35] local.INFO: Acknowledgment sent {"connection_id":132472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:51:36] local.INFO: TCP Data received {"connection_id":132660,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f654a73f0012d79b74005e7bc900006001129..."} 
[2026-07-15 15:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f654a73f0012d79b74005e7bc900006001129..."} 
[2026-07-15 15:51:36] local.INFO: Processing buffer {"connection_id":132660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f654a73f0012d79b74005e7bc900006001129..."} 
[2026-07-15 15:51:36] local.INFO: Packet analysis {"connection_id":132660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f654a"} 
[2026-07-15 15:51:36] local.INFO: Extracted packet for processing {"connection_id":132660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f654a"} 
[2026-07-15 15:51:36] local.INFO: GPS Element Parsed {"raw_longitude":762951488,"raw_latitude":99073168,"longitude_deg":76.2951488,"latitude_deg":9.9073168,"altitude":6,"angle":17,"satellites":41,"speed":3,"hex_longitude":"2d79b740","hex_latitude":"05e7bc90","is_valid_coordinates":true} 
[2026-07-15 15:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732362752001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106584011496751104,"note":"Value kept but may cause issues"} 
[2026-07-15 15:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770408455945793536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784110806000,"timestamp_ms":1784110806000,"timestamp_seconds":1784110806,"priority":1,"record_length":96,"hex_timestamp":"0000019f654a73f0"} 
[2026-07-15 15:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-15 15:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":360287970357412864,"note":"Value kept but may cause issues"} 
[2026-07-15 15:51:36] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":13522742,"corrected_to":0} 
[2026-07-15 15:51:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 15:51:36] local.WARNING: Large IO value detected {"io_id":169,"raw_value":2483027968,"note":"Value kept but may cause issues"} 
[2026-07-15 15:51:36] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-15 15:51:36] local.WARNING: Large IO value detected {"io_id":101,"raw_value":5187874096905041664,"note":"Value kept but may cause issues"} 
[2026-07-15 15:51:36] local.WARNING: Large IO value detected {"io_id":231,"raw_value":3140485126,"note":"Value kept but may cause issues"} 
[2026-07-15 15:51:36] local.WARNING: Large IO value detected {"io_id":182,"raw_value":3221612475,"note":"Value kept but may cause issues"} 
[2026-07-15 15:51:36] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-6052612431488692649,"note":"Value kept but may cause issues"} 
[2026-07-15 15:51:36] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2845048832,"note":"Value kept but may cause issues"} 
[2026-07-15 15:51:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1749164670016462550,"note":"Value kept but may cause issues"} 
[2026-07-15 15:51:36] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-15 15:51:36] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,202,87,24,241,157,16,169,159,235,45,192,187,6,39,10,66,153,42,71,1,240,63,227,101,231,4,113,205,163,182,48,41,239,50,2,122,5,54,148],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":202,"original":13522742,"validated":0}]} 
[2026-07-15 15:51:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432733872220798976,"timestamp_seconds":432733872220799.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 15:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732362752001,"66":13059,"202":206,"87":13824,"24":3,"16":106584011496751104,"45":8770408455945793536},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-15 15:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732362752001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:51:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 15:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106584011496751104,"km_value":106584011496751.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770408455945793536,"description":"Unknown IO ID 45"} 
[2026-07-15 15:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732362752001,"power":13059,"mcc":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8770408455945793536}} 
[2026-07-15 15:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":132660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491566,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:51:36] local.INFO: GPS data processed {"connection_id":132660,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:51:36] local.INFO: Acknowledgment sent {"connection_id":132660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:51:38] local.INFO: TCP Data received {"connection_id":134875,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f654a54b0012d7e01c005aaa9780006001f32..."} 
[2026-07-15 15:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f654a54b0012d7e01c005aaa9780006001f32..."} 
[2026-07-15 15:51:38] local.INFO: Processing buffer {"connection_id":134875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f654a54b0012d7e01c005aaa9780006001f32..."} 
[2026-07-15 15:51:38] local.INFO: Packet analysis {"connection_id":134875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f654a"} 
[2026-07-15 15:51:38] local.INFO: Extracted packet for processing {"connection_id":134875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f654a"} 
[2026-07-15 15:51:38] local.INFO: GPS Element Parsed {"raw_longitude":763232704,"raw_latitude":95070584,"longitude_deg":76.3232704,"latitude_deg":9.5070584,"altitude":6,"angle":31,"satellites":50,"speed":52,"hex_longitude":"2d7e01c0","hex_latitude":"05aaa978","is_valid_coordinates":true} 
[2026-07-15 15:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732362496001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347219166391959552,"note":"Value kept but may cause issues"} 
[2026-07-15 15:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9074119954789888000,"note":"Value kept but may cause issues"} 
[2026-07-15 15:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784110798000,"timestamp_ms":1784110798000,"timestamp_seconds":1784110798,"priority":1,"record_length":96,"hex_timestamp":"0000019f654a54b0"} 
[2026-07-15 15:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 15:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732362496001,"66":27887,"125":206,"85":14336,"24":52,"16":347219166391959552,"45":9074119954789888000},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,85,24,16,45]} 
[2026-07-15 15:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732362496001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:51:38] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-07-15 15:51:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347219166391959552,"km_value":347219166391959.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9074119954789888000,"description":"Unknown IO ID 45"} 
[2026-07-15 15:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732362496001,"power":27887,"unknown_125":206,"unknown_85":14336,"ignition":52,"odometer":null,"unknown_45":9074119954789888000}} 
[2026-07-15 15:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":134875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:51:38] local.INFO: GPS data processed {"connection_id":134875,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:51:38] local.INFO: Acknowledgment sent {"connection_id":134875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:51:52] local.INFO: TCP Data received {"connection_id":132475,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132475,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:51:52] local.INFO: Processing buffer {"connection_id":132475,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:51:52] local.INFO: IMEI packet received {"connection_id":132475,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 15:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":132475,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:51:53] local.INFO: TCP Data received {"connection_id":132475,"ip":"42.106.6.23","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-15 15:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132475,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-15 15:51:53] local.INFO: Processing buffer {"connection_id":132475,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-15 15:51:53] local.INFO: IMEI packet received {"connection_id":132475,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 15:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":132475,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:51:54] local.INFO: TCP Data received {"connection_id":132475,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132475,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:51:54] local.INFO: Processing buffer {"connection_id":132475,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-15 15:51:54] local.INFO: IMEI packet received {"connection_id":132475,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 15:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":132475,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:51:58] local.INFO: TCP Data received {"connection_id":134876,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134876,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:51:58] local.INFO: Processing buffer {"connection_id":134876,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:51:58] local.INFO: IMEI packet received {"connection_id":134876,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 15:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":134876,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:51:59] local.INFO: TCP Data received {"connection_id":134876,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134876,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:51:59] local.INFO: Processing buffer {"connection_id":134876,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:51:59] local.INFO: IMEI packet received {"connection_id":134876,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":134876,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:52:00] local.INFO: TCP Data received {"connection_id":134876,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134876,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:52:00] local.INFO: Processing buffer {"connection_id":134876,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:52:00] local.INFO: IMEI packet received {"connection_id":134876,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":134876,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:52:04] local.INFO: TCP Data received {"connection_id":134876,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134876,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:52:04] local.INFO: Processing buffer {"connection_id":134876,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:52:04] local.INFO: IMEI packet received {"connection_id":134876,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":134876,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:52:05] local.INFO: TCP Data received {"connection_id":134876,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f654c19d0012d79b08005e7dcc00008007b23..."} 
[2026-07-15 15:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f654c19d0012d79b08005e7dcc00008007b23..."} 
[2026-07-15 15:52:05] local.INFO: Processing buffer {"connection_id":134876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f654c19d0012d79b08005e7dcc00008007b23..."} 
[2026-07-15 15:52:05] local.INFO: Packet analysis {"connection_id":134876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f654c"} 
[2026-07-15 15:52:05] local.INFO: Extracted packet for processing {"connection_id":134876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f654c"} 
[2026-07-15 15:52:05] local.INFO: GPS Element Parsed {"raw_longitude":762949760,"raw_latitude":99081408,"longitude_deg":76.294976,"latitude_deg":9.9081408,"altitude":8,"angle":123,"satellites":35,"speed":2,"hex_longitude":"2d79b080","hex_latitude":"05e7dcc0","is_valid_coordinates":true} 
[2026-07-15 15:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732393216001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106584518302892032,"note":"Value kept but may cause issues"} 
[2026-07-15 15:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8768297393622712320,"note":"Value kept but may cause issues"} 
[2026-07-15 15:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784110914000,"timestamp_ms":1784110914000,"timestamp_seconds":1784110914,"priority":1,"record_length":96,"hex_timestamp":"0000019f654c19d0"} 
[2026-07-15 15:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-15 15:52:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 15:52:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-15 15:52:05] local.WARNING: Large IO value detected {"io_id":231,"raw_value":-2402670375408883200,"note":"Value kept but may cause issues"} 
[2026-07-15 15:52:05] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3053505807,"note":"Value kept but may cause issues"} 
[2026-07-15 15:52:05] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2852651008,"note":"Value kept but may cause issues"} 
[2026-07-15 15:52:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3890114560,"note":"Value kept but may cause issues"} 
[2026-07-15 15:52:05] local.WARNING: Large IO value detected {"io_id":133,"raw_value":57719726202050358,"note":"Value kept but may cause issues"} 
[2026-07-15 15:52:05] local.WARNING: Large IO value detected {"io_id":74,"raw_value":-3618641005765525499,"note":"Value kept but may cause issues"} 
[2026-07-15 15:52:05] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,201,87,24,241,157,16,170,159,188,45,64,221,8,34,10,66,106,37,27,1,240,79,227,101,231,4,113,205,175,42,239,50,2,122,5,7,133,74],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[]} 
[2026-07-15 15:52:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576710483176849408,"timestamp_seconds":576710483176849.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 15:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":134876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":134876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":134876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732393216001,"66":12722,"201":206,"87":13824,"24":2,"16":106584518302892032,"45":8768297393622712320},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-15 15:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732393216001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:52:05] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-15 15:52:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 15:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106584518302892032,"km_value":106584518302892.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8768297393622712320,"description":"Unknown IO ID 45"} 
[2026-07-15 15:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732393216001,"power":12722,"unknown_201":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8768297393622712320}} 
[2026-07-15 15:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":134876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491568,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:52:05] local.INFO: GPS data processed {"connection_id":134876,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:52:05] local.INFO: Acknowledgment sent {"connection_id":134876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:52:06] local.INFO: TCP Data received {"connection_id":134877,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:52:06] local.INFO: Processing buffer {"connection_id":134877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:52:06] local.INFO: IMEI packet received {"connection_id":134877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":134877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:52:11] local.INFO: TCP Data received {"connection_id":134877,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:52:11] local.INFO: Processing buffer {"connection_id":134877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:52:11] local.INFO: IMEI packet received {"connection_id":134877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":134877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:52:12] local.INFO: TCP Data received {"connection_id":134877,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f654a73f0012d7e170005aaca800006002030..."} 
[2026-07-15 15:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f654a73f0012d7e170005aaca800006002030..."} 
[2026-07-15 15:52:12] local.INFO: Processing buffer {"connection_id":134877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f654a73f0012d7e170005aaca800006002030..."} 
[2026-07-15 15:52:12] local.INFO: Packet analysis {"connection_id":134877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f654a"} 
[2026-07-15 15:52:12] local.INFO: Extracted packet for processing {"connection_id":134877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f654a"} 
[2026-07-15 15:52:12] local.INFO: GPS Element Parsed {"raw_longitude":763238144,"raw_latitude":95079040,"longitude_deg":76.3238144,"latitude_deg":9.507904,"altitude":6,"angle":32,"satellites":48,"speed":46,"hex_longitude":"2d7e1700","hex_latitude":"05aaca80","is_valid_coordinates":true} 
[2026-07-15 15:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732364288001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347219651723264000,"note":"Value kept but may cause issues"} 
[2026-07-15 15:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079749454326233088,"note":"Value kept but may cause issues"} 
[2026-07-15 15:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784110806000,"timestamp_ms":1784110806000,"timestamp_seconds":1784110806,"priority":1,"record_length":96,"hex_timestamp":"0000019f654a73f0"} 
[2026-07-15 15:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-15 15:52:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":134877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":134877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":134877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:52:12] 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-07-15 15:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732364288001,"66":27713,"125":206,"85":14336,"24":46,"16":347219651723264000,"45":9079749454326233088},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,85,24,16,45]} 
[2026-07-15 15:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732364288001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:52:12] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-07-15 15:52:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347219651723264000,"km_value":347219651723264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079749454326233088,"description":"Unknown IO ID 45"} 
[2026-07-15 15:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732364288001,"power":27713,"unknown_125":206,"unknown_85":14336,"ignition":46,"odometer":null,"unknown_45":9079749454326233088}} 
[2026-07-15 15:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":134877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:52:12] local.INFO: GPS data processed {"connection_id":134877,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:52:12] local.INFO: Acknowledgment sent {"connection_id":134877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:52:12] local.INFO: TCP Data received {"connection_id":134877,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f654a8b60012d7e240005aae2180006001431..."} 
[2026-07-15 15:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f654a8b60012d7e240005aae2180006001431..."} 
[2026-07-15 15:52:12] local.INFO: Processing buffer {"connection_id":134877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f654a8b60012d7e240005aae2180006001431..."} 
[2026-07-15 15:52:12] local.INFO: Packet analysis {"connection_id":134877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f654a"} 
[2026-07-15 15:52:12] local.INFO: Extracted packet for processing {"connection_id":134877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f654a"} 
[2026-07-15 15:52:12] local.INFO: GPS Element Parsed {"raw_longitude":763241472,"raw_latitude":95085080,"longitude_deg":76.3241472,"latitude_deg":9.508508,"altitude":6,"angle":20,"satellites":49,"speed":43,"hex_longitude":"2d7e2400","hex_latitude":"05aae218","is_valid_coordinates":true} 
[2026-07-15 15:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732366336001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347219986730713088,"note":"Value kept but may cause issues"} 
[2026-07-15 15:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085730797583499264,"note":"Value kept but may cause issues"} 
[2026-07-15 15:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784110812000,"timestamp_ms":1784110812000,"timestamp_seconds":1784110812,"priority":1,"record_length":96,"hex_timestamp":"0000019f654a8b60"} 
[2026-07-15 15:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-15 15:52:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":134877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":134877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":134877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:52:12] 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-07-15 15:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732366336001,"66":27919,"125":206,"85":14336,"24":43,"16":347219986730713088,"45":9085730797583499264},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,85,24,16,45]} 
[2026-07-15 15:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732366336001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:52:12] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-07-15 15:52:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347219986730713088,"km_value":347219986730713.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085730797583499264,"description":"Unknown IO ID 45"} 
[2026-07-15 15:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732366336001,"power":27919,"unknown_125":206,"unknown_85":14336,"ignition":43,"odometer":null,"unknown_45":9085730797583499264}} 
[2026-07-15 15:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":134877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:52:12] local.INFO: GPS data processed {"connection_id":134877,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:52:12] local.INFO: Acknowledgment sent {"connection_id":134877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:52:37] local.INFO: TCP Data received {"connection_id":134876,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f654c1db8012d79b0c005e7dc800008008823..."} 
[2026-07-15 15:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f654c1db8012d79b0c005e7dc800008008823..."} 
[2026-07-15 15:52:37] local.INFO: Processing buffer {"connection_id":134876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f654c1db8012d79b0c005e7dc800008008823..."} 
[2026-07-15 15:52:37] local.INFO: Packet analysis {"connection_id":134876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f654c"} 
[2026-07-15 15:52:37] local.INFO: Extracted packet for processing {"connection_id":134876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f654c"} 
[2026-07-15 15:52:37] local.INFO: GPS Element Parsed {"raw_longitude":762949824,"raw_latitude":99081344,"longitude_deg":76.2949824,"latitude_deg":9.9081344,"altitude":8,"angle":136,"satellites":35,"speed":3,"hex_longitude":"2d79b0c0","hex_latitude":"05e7dc80","is_valid_coordinates":true} 
[2026-07-15 15:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732393984001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106584522597859328,"note":"Value kept but may cause issues"} 
[2026-07-15 15:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8768649237343551488,"note":"Value kept but may cause issues"} 
[2026-07-15 15:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784110915000,"timestamp_ms":1784110915000,"timestamp_seconds":1784110915,"priority":1,"record_length":96,"hex_timestamp":"0000019f654c1db8"} 
[2026-07-15 15:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 15:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":134876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":134876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":134876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732393984001,"66":12722,"201":206,"87":13824,"24":3,"16":106584522597859328,"45":8768649237343551488},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-15 15:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732393984001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:52:37] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-15 15:52:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 15:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106584522597859328,"km_value":106584522597859.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8768649237343551488,"description":"Unknown IO ID 45"} 
[2026-07-15 15:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732393984001,"power":12722,"unknown_201":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8768649237343551488}} 
[2026-07-15 15:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":134876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491571,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:52:37] local.INFO: GPS data processed {"connection_id":134876,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:52:37] local.INFO: Acknowledgment sent {"connection_id":134876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:52:59] local.INFO: TCP Data received {"connection_id":132476,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132476,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:52:59] local.INFO: Processing buffer {"connection_id":132476,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:52:59] local.INFO: IMEI packet received {"connection_id":132476,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 15:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":132476,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:52:59] local.INFO: TCP Data received {"connection_id":132661,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132661,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:52:59] local.INFO: Processing buffer {"connection_id":132661,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:52:59] local.INFO: IMEI packet received {"connection_id":132661,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 15:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":132661,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:53:03] local.INFO: TCP Data received {"connection_id":134877,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f654bcbb0012d7ea78005abdf100005000b2f..."} 
[2026-07-15 15:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f654bcbb0012d7ea78005abdf100005000b2f..."} 
[2026-07-15 15:53:03] local.INFO: Processing buffer {"connection_id":134877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f654bcbb0012d7ea78005abdf100005000b2f..."} 
[2026-07-15 15:53:03] local.INFO: Packet analysis {"connection_id":134877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f654b"} 
[2026-07-15 15:53:03] local.INFO: Extracted packet for processing {"connection_id":134877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f654b"} 
[2026-07-15 15:53:03] local.INFO: GPS Element Parsed {"raw_longitude":763275136,"raw_latitude":95149840,"longitude_deg":76.3275136,"latitude_deg":9.514984,"altitude":5,"angle":11,"satellites":47,"speed":6,"hex_longitude":"2d7ea780","hex_latitude":"05abdf10","is_valid_coordinates":true} 
[2026-07-15 15:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732384256001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347223581618339840,"note":"Value kept but may cause issues"} 
[2026-07-15 15:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126826144200165376,"note":"Value kept but may cause issues"} 
[2026-07-15 15:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784110894000,"timestamp_ms":1784110894000,"timestamp_seconds":1784110894,"priority":1,"record_length":96,"hex_timestamp":"0000019f654bcbb0"} 
[2026-07-15 15:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-15 15:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":134877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":134877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":134877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732384256001,"66":27767,"40":206,"85":14336,"24":6,"16":347223581618339840,"45":9126826144200165376},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,85,24,16,45]} 
[2026-07-15 15:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732384256001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:53:03] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-15 15:53:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347223581618339840,"km_value":347223581618339.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126826144200165376,"description":"Unknown IO ID 45"} 
[2026-07-15 15:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732384256001,"power":27767,"unknown_40":206,"unknown_85":14336,"ignition":6,"odometer":null,"unknown_45":9126826144200165376}} 
[2026-07-15 15:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":134877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:53:03] local.INFO: GPS data processed {"connection_id":134877,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:53:03] local.INFO: Acknowledgment sent {"connection_id":134877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:53:04] local.INFO: TCP Data received {"connection_id":132476,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132476,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:53:04] local.INFO: Processing buffer {"connection_id":132476,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:53:04] local.INFO: IMEI packet received {"connection_id":132476,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":132476,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:53:04] local.INFO: TCP Data received {"connection_id":132476,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f654c2588012d79b14005e7db800008009825..."} 
[2026-07-15 15:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f654c2588012d79b14005e7db800008009825..."} 
[2026-07-15 15:53:04] local.INFO: Processing buffer {"connection_id":132476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f654c2588012d79b14005e7db800008009825..."} 
[2026-07-15 15:53:04] local.INFO: Packet analysis {"connection_id":132476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f654c"} 
[2026-07-15 15:53:04] local.INFO: Extracted packet for processing {"connection_id":132476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f654c"} 
[2026-07-15 15:53:04] local.INFO: GPS Element Parsed {"raw_longitude":762949952,"raw_latitude":99081088,"longitude_deg":76.2949952,"latitude_deg":9.9081088,"altitude":8,"angle":152,"satellites":37,"speed":5,"hex_longitude":"2d79b140","hex_latitude":"05e7db80","is_valid_coordinates":true} 
[2026-07-15 15:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732394240001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106584535482761216,"note":"Value kept but may cause issues"} 
[2026-07-15 15:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8768719606087712768,"note":"Value kept but may cause issues"} 
[2026-07-15 15:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784110917000,"timestamp_ms":1784110917000,"timestamp_seconds":1784110917,"priority":1,"record_length":96,"hex_timestamp":"0000019f654c2588"} 
[2026-07-15 15:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 15:53: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-07-15 15:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":132476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":132476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":132476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732394240001,"66":13428,"201":206,"87":13824,"24":5,"16":106584535482761216,"45":8768719606087712768},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-15 15:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732394240001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:53:04] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-15 15:53:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 15:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106584535482761216,"km_value":106584535482761.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8768719606087712768,"description":"Unknown IO ID 45"} 
[2026-07-15 15:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732394240001,"power":13428,"unknown_201":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8768719606087712768}} 
[2026-07-15 15:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":132476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491573,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:53:05] local.INFO: GPS data processed {"connection_id":132476,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:53:05] local.INFO: Acknowledgment sent {"connection_id":132476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:53:09] local.INFO: TCP Data received {"connection_id":134878,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:53:09] local.INFO: Processing buffer {"connection_id":134878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:53:09] local.INFO: IMEI packet received {"connection_id":134878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":134878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:53:10] local.INFO: TCP Data received {"connection_id":134878,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:53:11] local.INFO: Processing buffer {"connection_id":134878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:53:11] local.INFO: IMEI packet received {"connection_id":134878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":134878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:53:15] local.INFO: TCP Data received {"connection_id":134878,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:53:15] local.INFO: Processing buffer {"connection_id":134878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:53:15] local.INFO: IMEI packet received {"connection_id":134878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":134878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:53:16] local.INFO: TCP Data received {"connection_id":134878,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f654bdb50012d7ea7c005abe260000400002e..."} 
[2026-07-15 15:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f654bdb50012d7ea7c005abe260000400002e..."} 
[2026-07-15 15:53:16] local.INFO: Processing buffer {"connection_id":134878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f654bdb50012d7ea7c005abe260000400002e..."} 
[2026-07-15 15:53:16] local.INFO: Packet analysis {"connection_id":134878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f654b"} 
[2026-07-15 15:53:16] local.INFO: Extracted packet for processing {"connection_id":134878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f654b"} 
[2026-07-15 15:53:16] local.INFO: GPS Element Parsed {"raw_longitude":763275200,"raw_latitude":95150688,"longitude_deg":76.32752,"latitude_deg":9.5150688,"altitude":4,"angle":0,"satellites":46,"speed":9,"hex_longitude":"2d7ea7c0","hex_latitude":"05abe260","is_valid_coordinates":true} 
[2026-07-15 15:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732388864001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347223624568012800,"note":"Value kept but may cause issues"} 
[2026-07-15 15:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126403931736313856,"note":"Value kept but may cause issues"} 
[2026-07-15 15:53:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784110898000,"timestamp_ms":1784110898000,"timestamp_seconds":1784110898,"priority":1,"record_length":96,"hex_timestamp":"0000019f654bdb50"} 
[2026-07-15 15:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:53:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 15:53:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:53:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":134878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":134878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":134878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732388864001,"66":27930,"40":206,"85":14336,"24":9,"16":347223624568012800,"45":9126403931736313856},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,85,24,16,45]} 
[2026-07-15 15:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732388864001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:53:16] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-15 15:53:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347223624568012800,"km_value":347223624568012.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126403931736313856,"description":"Unknown IO ID 45"} 
[2026-07-15 15:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732388864001,"power":27930,"unknown_40":206,"unknown_85":14336,"ignition":9,"odometer":null,"unknown_45":9126403931736313856}} 
[2026-07-15 15:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":134878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:53:16] local.INFO: GPS data processed {"connection_id":134878,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:53:16] local.INFO: Acknowledgment sent {"connection_id":134878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:53:36] local.INFO: TCP Data received {"connection_id":132476,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f654c2d58012d79b20005e7d9d8000800a528..."} 
[2026-07-15 15:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f654c2d58012d79b20005e7d9d8000800a528..."} 
[2026-07-15 15:53:36] local.INFO: Processing buffer {"connection_id":132476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f654c2d58012d79b20005e7d9d8000800a528..."} 
[2026-07-15 15:53:36] local.INFO: Packet analysis {"connection_id":132476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f654c"} 
[2026-07-15 15:53:36] local.INFO: Extracted packet for processing {"connection_id":132476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f654c"} 
[2026-07-15 15:53:36] local.INFO: GPS Element Parsed {"raw_longitude":762950144,"raw_latitude":99080664,"longitude_deg":76.2950144,"latitude_deg":9.9080664,"altitude":8,"angle":165,"satellites":40,"speed":10,"hex_longitude":"2d79b200","hex_latitude":"05e7d9d8","is_valid_coordinates":true} 
[2026-07-15 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-07-15 15:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732394752001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106584556957597696,"note":"Value kept but may cause issues"} 
[2026-07-15 15:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8768860343576002560,"note":"Value kept but may cause issues"} 
[2026-07-15 15:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784110919000,"timestamp_ms":1784110919000,"timestamp_seconds":1784110919,"priority":1,"record_length":96,"hex_timestamp":"0000019f654c2d58"} 
[2026-07-15 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-07-15 15:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-15 15:53:36] 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-07-15 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-07-15 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-07-15 15:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732394752001,"66":13080,"201":206,"87":13824,"24":10,"16":106584556957597696,"45":8768860343576002560},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-15 15:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732394752001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:53:36] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-15 15:53:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 15:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106584556957597696,"km_value":106584556957597.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8768860343576002560,"description":"Unknown IO ID 45"} 
[2026-07-15 15:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732394752001,"power":13080,"unknown_201":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8768860343576002560}} 
[2026-07-15 15:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":132476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491575,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:53:36] local.INFO: GPS data processed {"connection_id":132476,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:53:36] local.INFO: Acknowledgment sent {"connection_id":132476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:53:39] local.INFO: TCP Data received {"connection_id":132477,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132477,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:53:39] local.INFO: Processing buffer {"connection_id":132477,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:53:39] local.INFO: IMEI packet received {"connection_id":132477,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 15:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":132477,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:53:59] local.INFO: TCP Data received {"connection_id":132478,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132478,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:53:59] local.INFO: Processing buffer {"connection_id":132478,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:53:59] local.INFO: IMEI packet received {"connection_id":132478,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 15:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":132478,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:54:01] local.INFO: TCP Data received {"connection_id":133507,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:54:01] local.INFO: Processing buffer {"connection_id":133507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:54:01] local.INFO: IMEI packet received {"connection_id":133507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":133507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:54:04] local.INFO: TCP Data received {"connection_id":132478,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132478,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:54:04] local.INFO: Processing buffer {"connection_id":132478,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:54:04] local.INFO: IMEI packet received {"connection_id":132478,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":132478,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:54:05] local.INFO: TCP Data received {"connection_id":132478,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f654c73a8012d79b9c005e7b640000800ae2a..."} 
[2026-07-15 15:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f654c73a8012d79b9c005e7b640000800ae2a..."} 
[2026-07-15 15:54:05] local.INFO: Processing buffer {"connection_id":132478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f654c73a8012d79b9c005e7b640000800ae2a..."} 
[2026-07-15 15:54:05] local.INFO: Packet analysis {"connection_id":132478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f654c"} 
[2026-07-15 15:54:05] local.INFO: Extracted packet for processing {"connection_id":132478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f654c"} 
[2026-07-15 15:54:05] local.INFO: GPS Element Parsed {"raw_longitude":762952128,"raw_latitude":99071552,"longitude_deg":76.2952128,"latitude_deg":9.9071552,"altitude":8,"angle":174,"satellites":42,"speed":23,"hex_longitude":"2d79b9c0","hex_latitude":"05e7b640","is_valid_coordinates":true} 
[2026-07-15 15:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732395264001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106585012224131072,"note":"Value kept but may cause issues"} 
[2026-07-15 15:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8769071449808427008,"note":"Value kept but may cause issues"} 
[2026-07-15 15:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784110937000,"timestamp_ms":1784110937000,"timestamp_seconds":1784110937,"priority":1,"record_length":96,"hex_timestamp":"0000019f654c73a8"} 
[2026-07-15 15:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-15 15:54:05] 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-07-15 15:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732395264001,"66":13254,"201":206,"87":13824,"24":23,"16":106585012224131072,"45":8769071449808427008},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-15 15:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732395264001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:54:05] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-15 15:54:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 15:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106585012224131072,"km_value":106585012224131.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8769071449808427008,"description":"Unknown IO ID 45"} 
[2026-07-15 15:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732395264001,"power":13254,"unknown_201":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8769071449808427008}} 
[2026-07-15 15:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":132478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491576,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:54:05] local.INFO: GPS data processed {"connection_id":132478,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:54:05] local.INFO: Acknowledgment sent {"connection_id":132478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:54:06] local.INFO: TCP Data received {"connection_id":133507,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:54:06] local.INFO: Processing buffer {"connection_id":133507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:54:06] local.INFO: IMEI packet received {"connection_id":133507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":133507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:54:07] local.INFO: TCP Data received {"connection_id":133507,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f654c2d58012d7eaa4005abfcc80007000231..."} 
[2026-07-15 15:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f654c2d58012d7eaa4005abfcc80007000231..."} 
[2026-07-15 15:54:07] local.INFO: Processing buffer {"connection_id":133507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f654c2d58012d7eaa4005abfcc80007000231..."} 
[2026-07-15 15:54:07] local.INFO: Packet analysis {"connection_id":133507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f654c"} 
[2026-07-15 15:54:07] local.INFO: Extracted packet for processing {"connection_id":133507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f654c"} 
[2026-07-15 15:54:07] local.INFO: GPS Element Parsed {"raw_longitude":763275840,"raw_latitude":95157448,"longitude_deg":76.327584,"latitude_deg":9.5157448,"altitude":7,"angle":2,"satellites":49,"speed":25,"hex_longitude":"2d7eaa40","hex_latitude":"05abfcc8","is_valid_coordinates":true} 
[2026-07-15 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-07-15 15:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732389888001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347223955280494592,"note":"Value kept but may cause issues"} 
[2026-07-15 15:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126474300480708608,"note":"Value kept but may cause issues"} 
[2026-07-15 15:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784110919000,"timestamp_ms":1784110919000,"timestamp_seconds":1784110919,"priority":1,"record_length":96,"hex_timestamp":"0000019f654c2d58"} 
[2026-07-15 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-07-15 15:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-15 15:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 15:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:54:07] 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-07-15 15:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732389888001,"66":27800,"40":206,"85":14336,"24":25,"16":347223955280494592,"45":9126474300480708608},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,85,24,16,45]} 
[2026-07-15 15:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732389888001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:54:07] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-15 15:54:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347223955280494592,"km_value":347223955280494.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126474300480708608,"description":"Unknown IO ID 45"} 
[2026-07-15 15:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732389888001,"power":27800,"unknown_40":206,"unknown_85":14336,"ignition":25,"odometer":null,"unknown_45":9126474300480708608}} 
[2026-07-15 15:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":133507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:54:07] local.INFO: GPS data processed {"connection_id":133507,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:54:07] local.INFO: Acknowledgment sent {"connection_id":133507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:54:36] local.INFO: TCP Data received {"connection_id":132478,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f654ca670012d79b9c005e79388000700b529..."} 
[2026-07-15 15:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f654ca670012d79b9c005e79388000700b529..."} 
[2026-07-15 15:54:36] local.INFO: Processing buffer {"connection_id":132478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f654ca670012d79b9c005e79388000700b529..."} 
[2026-07-15 15:54:36] local.INFO: Packet analysis {"connection_id":132478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f654c"} 
[2026-07-15 15:54:36] local.INFO: Extracted packet for processing {"connection_id":132478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f654c"} 
[2026-07-15 15:54:36] local.INFO: GPS Element Parsed {"raw_longitude":762952128,"raw_latitude":99062664,"longitude_deg":76.2952128,"latitude_deg":9.9062664,"altitude":7,"angle":181,"satellites":41,"speed":27,"hex_longitude":"2d79b9c0","hex_latitude":"05e79388","is_valid_coordinates":true} 
[2026-07-15 15:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732399872001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106585441720860672,"note":"Value kept but may cause issues"} 
[2026-07-15 15:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771252880875601920,"note":"Value kept but may cause issues"} 
[2026-07-15 15:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784110950000,"timestamp_ms":1784110950000,"timestamp_seconds":1784110950,"priority":1,"record_length":96,"hex_timestamp":"0000019f654ca670"} 
[2026-07-15 15:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-15 15:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732399872001,"66":13102,"201":206,"87":13824,"24":27,"16":106585441720860672,"45":8771252880875601920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-15 15:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732399872001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:54:36] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-15 15:54:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 15:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106585441720860672,"km_value":106585441720860.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771252880875601920,"description":"Unknown IO ID 45"} 
[2026-07-15 15:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732399872001,"power":13102,"unknown_201":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8771252880875601920}} 
[2026-07-15 15:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":132478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491578,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:54:36] local.INFO: GPS data processed {"connection_id":132478,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:54:36] local.INFO: Acknowledgment sent {"connection_id":132478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:54:40] local.INFO: TCP Data received {"connection_id":133507,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f654c73a8012d7eab0005ac20980004000031..."} 
[2026-07-15 15:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f654c73a8012d7eab0005ac20980004000031..."} 
[2026-07-15 15:54:40] local.INFO: Processing buffer {"connection_id":133507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f654c73a8012d7eab0005ac20980004000031..."} 
[2026-07-15 15:54:40] local.INFO: Packet analysis {"connection_id":133507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f654c"} 
[2026-07-15 15:54:40] local.INFO: Extracted packet for processing {"connection_id":133507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f654c"} 
[2026-07-15 15:54:40] local.INFO: GPS Element Parsed {"raw_longitude":763276032,"raw_latitude":95166616,"longitude_deg":76.3276032,"latitude_deg":9.5166616,"altitude":4,"angle":0,"satellites":49,"speed":19,"hex_longitude":"2d7eab00","hex_latitude":"05ac2098","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732395264001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347224401957093376,"note":"Value kept but may cause issues"} 
[2026-07-15 15:54:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127177987924215808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:54:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784110937000,"timestamp_ms":1784110937000,"timestamp_seconds":1784110937,"priority":1,"record_length":96,"hex_timestamp":"0000019f654c73a8"} 
[2026-07-15 15:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:54:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 15:54:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:54: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-07-15 15:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":133507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":133507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":133507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:54:40] 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-07-15 15:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732395264001,"66":27865,"40":206,"85":14336,"24":19,"16":347224401957093376,"45":9127177987924215808},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,85,24,16,45]} 
[2026-07-15 15:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732395264001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:54:40] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-15 15:54:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347224401957093376,"km_value":347224401957093.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:54:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127177987924215808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732395264001,"power":27865,"unknown_40":206,"unknown_85":14336,"ignition":19,"odometer":null,"unknown_45":9127177987924215808}} 
[2026-07-15 15:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":133507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:54:40] local.INFO: GPS data processed {"connection_id":133507,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:54:40] local.INFO: Acknowledgment sent {"connection_id":133507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:54:51] local.INFO: TCP Data received {"connection_id":132665,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:54:51] local.INFO: Processing buffer {"connection_id":132665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:54:51] local.INFO: IMEI packet received {"connection_id":132665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 15:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":132665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:54:55] local.INFO: TCP Data received {"connection_id":132665,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:54:55] local.INFO: Processing buffer {"connection_id":132665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:54:55] local.INFO: IMEI packet received {"connection_id":132665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":132665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:54:56] local.INFO: TCP Data received {"connection_id":132665,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f654da070012d18dd800720f878003c008429..."} 
[2026-07-15 15:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f654da070012d18dd800720f878003c008429..."} 
[2026-07-15 15:54:56] local.INFO: Processing buffer {"connection_id":132665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f654da070012d18dd800720f878003c008429..."} 
[2026-07-15 15:54:56] local.INFO: Packet analysis {"connection_id":132665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f654d"} 
[2026-07-15 15:54:56] local.INFO: Extracted packet for processing {"connection_id":132665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f654d"} 
[2026-07-15 15:54:56] local.INFO: GPS Element Parsed {"raw_longitude":756604288,"raw_latitude":119601272,"longitude_deg":75.6604288,"latitude_deg":11.9601272,"altitude":60,"angle":132,"satellites":41,"speed":40,"hex_longitude":"2d18dd80","hex_latitude":"0720f878","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732419072001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6108405567586304,"note":"Value kept but may cause issues"} 
[2026-07-15 15:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790321619986448384,"note":"Value kept but may cause issues"} 
[2026-07-15 15:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784111014000,"timestamp_ms":1784111014000,"timestamp_seconds":1784111014,"priority":1,"record_length":96,"hex_timestamp":"0000019f654da070"} 
[2026-07-15 15:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-15 15:54:56] 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-07-15 15: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-07-15 15:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732419072001,"66":14157,"103":206,"83":41984,"24":40,"16":6108405567586304,"45":1790321619986448384},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 15:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732419072001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:54:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 15:54:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6108405567586304,"km_value":6108405567586.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790321619986448384,"description":"Unknown IO ID 45"} 
[2026-07-15 15:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732419072001,"power":14157,"unknown_103":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1790321619986448384}} 
[2026-07-15 15:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":132665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491580,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:54:56] local.INFO: GPS data processed {"connection_id":132665,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:54:56] local.INFO: Acknowledgment sent {"connection_id":132665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:55:01] local.INFO: TCP Data received {"connection_id":133509,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:55:01] local.INFO: Processing buffer {"connection_id":133509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:55:01] local.INFO: IMEI packet received {"connection_id":133509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":133509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:55:02] local.INFO: TCP Data received {"connection_id":132480,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132480,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:55:02] local.INFO: Processing buffer {"connection_id":132480,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:55:02] local.INFO: IMEI packet received {"connection_id":132480,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 15:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":132480,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:55:04] local.INFO: TCP Data received {"connection_id":132480,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132480,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:55:04] local.INFO: Processing buffer {"connection_id":132480,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:55:04] local.INFO: IMEI packet received {"connection_id":132480,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":132480,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:55:06] local.INFO: TCP Data received {"connection_id":133509,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:55:06] local.INFO: Processing buffer {"connection_id":133509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:55:06] local.INFO: IMEI packet received {"connection_id":133509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":133509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:55:07] local.INFO: TCP Data received {"connection_id":133509,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f654caa58012d7eab8005ac43700006016630..."} 
[2026-07-15 15:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f654caa58012d7eab8005ac43700006016630..."} 
[2026-07-15 15:55:07] local.INFO: Processing buffer {"connection_id":133509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f654caa58012d7eab8005ac43700006016630..."} 
[2026-07-15 15:55:07] local.INFO: Packet analysis {"connection_id":133509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f654c"} 
[2026-07-15 15:55:07] local.INFO: Extracted packet for processing {"connection_id":133509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f654c"} 
[2026-07-15 15:55:07] local.INFO: GPS Element Parsed {"raw_longitude":763276160,"raw_latitude":95175536,"longitude_deg":76.327616,"latitude_deg":9.5175536,"altitude":6,"angle":358,"satellites":48,"speed":24,"hex_longitude":"2d7eab80","hex_latitude":"05ac4370","is_valid_coordinates":true} 
[2026-07-15 15:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732399872001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347224835748790272,"note":"Value kept but may cause issues"} 
[2026-07-15 15:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127389094159095808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784110951000,"timestamp_ms":1784110951000,"timestamp_seconds":1784110951,"priority":1,"record_length":96,"hex_timestamp":"0000019f654caa58"} 
[2026-07-15 15:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-15 15:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:55:07] 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-07-15 15:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732399872001,"66":27615,"170":206,"85":14336,"24":24,"16":347224835748790272,"45":9127389094159095808},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-07-15 15:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732399872001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:55:07] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-15 15:55:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347224835748790272,"km_value":347224835748790.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127389094159095808,"description":"Unknown IO ID 45"} 
[2026-07-15 15:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732399872001,"power":27615,"unknown_170":206,"unknown_85":14336,"ignition":24,"odometer":null,"unknown_45":9127389094159095808}} 
[2026-07-15 15:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":133509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:55:07] local.INFO: GPS data processed {"connection_id":133509,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:55:07] local.INFO: Acknowledgment sent {"connection_id":133509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:55:09] local.INFO: TCP Data received {"connection_id":132480,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132480,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:55:09] local.INFO: Processing buffer {"connection_id":132480,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:55:09] local.INFO: IMEI packet received {"connection_id":132480,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":132480,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:55:10] local.INFO: TCP Data received {"connection_id":132480,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f654cd938012d79b70005e770e8000600ba22..."} 
[2026-07-15 15:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f654cd938012d79b70005e770e8000600ba22..."} 
[2026-07-15 15:55:10] local.INFO: Processing buffer {"connection_id":132480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f654cd938012d79b70005e770e8000600ba22..."} 
[2026-07-15 15:55:10] local.INFO: Packet analysis {"connection_id":132480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f654c"} 
[2026-07-15 15:55:10] local.INFO: Extracted packet for processing {"connection_id":132480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f654c"} 
[2026-07-15 15:55:10] local.INFO: GPS Element Parsed {"raw_longitude":762951424,"raw_latitude":99053800,"longitude_deg":76.2951424,"latitude_deg":9.90538,"altitude":6,"angle":186,"satellites":34,"speed":27,"hex_longitude":"2d79b700","hex_latitude":"05e770e8","is_valid_coordinates":true} 
[2026-07-15 15:55: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-07-15 15:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732403200001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106585875512557568,"note":"Value kept but may cause issues"} 
[2026-07-15 15:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771252880873326592,"note":"Value kept but may cause issues"} 
[2026-07-15 15:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784110963000,"timestamp_ms":1784110963000,"timestamp_seconds":1784110963,"priority":1,"record_length":96,"hex_timestamp":"0000019f654cd938"} 
[2026-07-15 15:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-15 15:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:55: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-07-15 15:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":132480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":132480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":132480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732403200001,"66":13059,"202":206,"87":13824,"24":27,"16":106585875512557568,"45":8771252880873326592},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-15 15:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732403200001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:55:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 15:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106585875512557568,"km_value":106585875512557.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771252880873326592,"description":"Unknown IO ID 45"} 
[2026-07-15 15:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732403200001,"power":13059,"mcc":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8771252880873326592}} 
[2026-07-15 15:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":132480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491582,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:55:10] local.INFO: GPS data processed {"connection_id":132480,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:55:10] local.INFO: Acknowledgment sent {"connection_id":132480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:55:15] local.INFO: TCP Data received {"connection_id":132480,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f654d0fe8012d79b44005e74dd0000500b727..."} 
[2026-07-15 15:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f654d0fe8012d79b44005e74dd0000500b727..."} 
[2026-07-15 15:55:15] local.INFO: Processing buffer {"connection_id":132480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f654d0fe8012d79b44005e74dd0000500b727..."} 
[2026-07-15 15:55:15] local.INFO: Packet analysis {"connection_id":132480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f654d"} 
[2026-07-15 15:55:15] local.INFO: Extracted packet for processing {"connection_id":132480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f654d"} 
[2026-07-15 15:55:15] local.INFO: GPS Element Parsed {"raw_longitude":762950720,"raw_latitude":99044816,"longitude_deg":76.295072,"latitude_deg":9.9044816,"altitude":5,"angle":183,"satellites":39,"speed":23,"hex_longitude":"2d79b440","hex_latitude":"05e74dd0","is_valid_coordinates":true} 
[2026-07-15 15:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732406528001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106586313599221760,"note":"Value kept but may cause issues"} 
[2026-07-15 15:55:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770478824685103104,"note":"Value kept but may cause issues"} 
[2026-07-15 15:55:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784110977000,"timestamp_ms":1784110977000,"timestamp_seconds":1784110977,"priority":1,"record_length":96,"hex_timestamp":"0000019f654d0fe8"} 
[2026-07-15 15:55:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:55:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-15 15:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303157358939407,"note":"Value kept but may cause issues"} 
[2026-07-15 15:55:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 15:55:15] local.WARNING: Large IO value detected {"io_id":201,"raw_value":58079734643818498,"note":"Value kept but may cause issues"} 
[2026-07-15 15:55:15] local.WARNING: Large IO value detected {"io_id":231,"raw_value":3682598920,"note":"Value kept but may cause issues"} 
[2026-07-15 15:55:15] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3890003968,"note":"Value kept but may cause issues"} 
[2026-07-15 15:55:15] local.WARNING: Large IO value detected {"io_id":29,"raw_value":3087084921,"note":"Value kept but may cause issues"} 
[2026-07-15 15:55:15] local.WARNING: Large IO value detected {"io_id":176,"raw_value":3221612508,"note":"Value kept but may cause issues"} 
[2026-07-15 15:55:15] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986396943,"note":"Value kept but may cause issues"} 
[2026-07-15 15:55:15] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2853109760,"note":"Value kept but may cause issues"} 
[2026-07-15 15:55:15] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,202,87,24,241,157,16,171,159,166,45,192,147,7,41,10,66,201,170,115,182,8,42,1,240,227,101,231,4,113,205,5,29,176,128,35,239,49,2,122],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[]} 
[2026-07-15 15:55:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432550219420991488,"timestamp_seconds":432550219420991.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 15:55:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":132480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":132480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":132480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732406528001,"66":13254,"202":206,"87":13824,"24":23,"16":106586313599221760,"45":8770478824685103104},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-15 15:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732406528001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:55:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 15:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106586313599221760,"km_value":106586313599221.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:55:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770478824685103104,"description":"Unknown IO ID 45"} 
[2026-07-15 15:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732406528001,"power":13254,"mcc":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8770478824685103104}} 
[2026-07-15 15:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":132480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491583,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:55:15] local.INFO: GPS data processed {"connection_id":132480,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:55:15] local.INFO: Acknowledgment sent {"connection_id":132480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:55:27] local.INFO: TCP Data received {"connection_id":132665,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f654dac28012d18e5c00720efc0003c009229..."} 
[2026-07-15 15:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f654dac28012d18e5c00720efc0003c009229..."} 
[2026-07-15 15:55:27] local.INFO: Processing buffer {"connection_id":132665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f654dac28012d18e5c00720efc0003c009229..."} 
[2026-07-15 15:55:27] local.INFO: Packet analysis {"connection_id":132665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f654d"} 
[2026-07-15 15:55:27] local.INFO: Extracted packet for processing {"connection_id":132665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f654d"} 
[2026-07-15 15:55:27] local.INFO: GPS Element Parsed {"raw_longitude":756606400,"raw_latitude":119599040,"longitude_deg":75.66064,"latitude_deg":11.959904,"altitude":60,"angle":146,"satellites":41,"speed":39,"hex_longitude":"2d18e5c0","hex_latitude":"0720efc0","is_valid_coordinates":true} 
[2026-07-15 15:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732419584001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6108551596474368,"note":"Value kept but may cause issues"} 
[2026-07-15 15:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791728994869606400,"note":"Value kept but may cause issues"} 
[2026-07-15 15:55:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784111017000,"timestamp_ms":1784111017000,"timestamp_seconds":1784111017,"priority":1,"record_length":96,"hex_timestamp":"0000019f654dac28"} 
[2026-07-15 15:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:55: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-07-15 15:55:27] local.INFO: IO Element 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-07-15 15:55:27] 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-07-15 15:55: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-07-15 15:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":132665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":132665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":132665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732419584001,"66":14265,"103":206,"83":41984,"24":39,"16":6108551596474368,"45":1791728994869606400},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 15:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732419584001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:55:27] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 15:55:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6108551596474368,"km_value":6108551596474.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791728994869606400,"description":"Unknown IO ID 45"} 
[2026-07-15 15:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732419584001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1791728994869606400}} 
[2026-07-15 15:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":132665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:55:27] local.INFO: GPS data processed {"connection_id":132665,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:55:27] local.INFO: Acknowledgment sent {"connection_id":132665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:55:38] local.INFO: TCP Data received {"connection_id":133509,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f654e9a70012d7ea48005ad0ba0000f016530..."} 
[2026-07-15 15:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f654e9a70012d7ea48005ad0ba0000f016530..."} 
[2026-07-15 15:55:38] local.INFO: Processing buffer {"connection_id":133509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f654e9a70012d7ea48005ad0ba0000f016530..."} 
[2026-07-15 15:55:38] local.INFO: Packet analysis {"connection_id":133509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f654e"} 
[2026-07-15 15:55:38] local.INFO: Extracted packet for processing {"connection_id":133509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f654e"} 
[2026-07-15 15:55:38] local.INFO: GPS Element Parsed {"raw_longitude":763274368,"raw_latitude":95226784,"longitude_deg":76.3274368,"latitude_deg":9.5226784,"altitude":15,"angle":357,"satellites":48,"speed":31,"hex_longitude":"2d7ea480","hex_latitude":"05ad0ba0","is_valid_coordinates":true} 
[2026-07-15 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-07-15 15:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732430592001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347227331124789248,"note":"Value kept but may cause issues"} 
[2026-07-15 15:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125981719288680448,"note":"Value kept but may cause issues"} 
[2026-07-15 15:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784111078000,"timestamp_ms":1784111078000,"timestamp_seconds":1784111078,"priority":1,"record_length":96,"hex_timestamp":"0000019f654e9a70"} 
[2026-07-15 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-07-15 15:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 15:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 15:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 15:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 15:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 15:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732430592001,"66":27800,"168":206,"85":14336,"24":31,"16":347227331124789248,"45":9125981719288680448},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-15 15:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 15:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 15:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732430592001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:55:38] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-15 15:55:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-15 15:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347227331124789248,"km_value":347227331124789.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125981719288680448,"description":"Unknown IO ID 45"} 
[2026-07-15 15:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732430592001,"power":27800,"unknown_168":206,"unknown_85":14336,"ignition":31,"odometer":null,"unknown_45":9125981719288680448}} 
[2026-07-15 15:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":133509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:55:38] local.INFO: GPS data processed {"connection_id":133509,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:55:38] local.INFO: Acknowledgment sent {"connection_id":133509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:55:53] local.INFO: TCP Data received {"connection_id":133510,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:55:53] local.INFO: Processing buffer {"connection_id":133510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:55:53] local.INFO: IMEI packet received {"connection_id":133510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 15:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":133510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:55:55] local.INFO: TCP Data received {"connection_id":133510,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:55:55] local.INFO: Processing buffer {"connection_id":133510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:55:55] local.INFO: IMEI packet received {"connection_id":133510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":133510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:55:59] local.INFO: TCP Data received {"connection_id":132666,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132666,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:55:59] local.INFO: Processing buffer {"connection_id":132666,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:55:59] local.INFO: IMEI packet received {"connection_id":132666,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 15:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":132666,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:56:00] local.INFO: TCP Data received {"connection_id":133510,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:56:00] local.INFO: Processing buffer {"connection_id":133510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:56:00] local.INFO: IMEI packet received {"connection_id":133510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":133510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:56:01] local.INFO: TCP Data received {"connection_id":132666,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132666,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:56:01] local.INFO: Processing buffer {"connection_id":132666,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:56:01] local.INFO: IMEI packet received {"connection_id":132666,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":132666,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:56:01] local.INFO: TCP Data received {"connection_id":133510,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f654ec180012d1993c00720b428003a010d2a..."} 
[2026-07-15 15:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f654ec180012d1993c00720b428003a010d2a..."} 
[2026-07-15 15:56:01] local.INFO: Processing buffer {"connection_id":133510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f654ec180012d1993c00720b428003a010d2a..."} 
[2026-07-15 15:56:01] local.INFO: Packet analysis {"connection_id":133510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f654e"} 
[2026-07-15 15:56:01] local.INFO: Extracted packet for processing {"connection_id":133510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f654e"} 
[2026-07-15 15:56:01] local.INFO: GPS Element Parsed {"raw_longitude":756650944,"raw_latitude":119583784,"longitude_deg":75.6650944,"latitude_deg":11.9583784,"altitude":58,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d1993c0","hex_latitude":"0720b428","is_valid_coordinates":true} 
[2026-07-15 15:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732437248001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6110986842931200,"note":"Value kept but may cause issues"} 
[2026-07-15 15:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1842816703138129920,"note":"Value kept but may cause issues"} 
[2026-07-15 15:56:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784111088000,"timestamp_ms":1784111088000,"timestamp_seconds":1784111088,"priority":1,"record_length":96,"hex_timestamp":"0000019f654ec180"} 
[2026-07-15 15:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:56:01] 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-07-15 15:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-15 15:56:01] 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-07-15 15:56:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":133510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":133510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":133510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:56:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732437248001,"66":12798,"103":206,"83":41984,"24":0,"16":6110986842931200,"45":1842816703138129920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 15:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732437248001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:56:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 15:56:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6110986842931200,"km_value":6110986842931.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1842816703138129920,"description":"Unknown IO ID 45"} 
[2026-07-15 15:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732437248001,"power":12798,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1842816703138129920}} 
[2026-07-15 15:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":133510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:56:01] local.INFO: GPS data processed {"connection_id":133510,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:56:01] local.INFO: Acknowledgment sent {"connection_id":133510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:56:02] local.INFO: TCP Data received {"connection_id":132666,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f654d5e08012d79b3c005e73320000400b525..."} 
[2026-07-15 15:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f654d5e08012d79b3c005e73320000400b525..."} 
[2026-07-15 15:56:02] local.INFO: Processing buffer {"connection_id":132666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f654d5e08012d79b3c005e73320000400b525..."} 
[2026-07-15 15:56:02] local.INFO: Packet analysis {"connection_id":132666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f654d"} 
[2026-07-15 15:56:02] local.INFO: Extracted packet for processing {"connection_id":132666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f654d"} 
[2026-07-15 15:56:02] local.INFO: GPS Element Parsed {"raw_longitude":762950592,"raw_latitude":99037984,"longitude_deg":76.2950592,"latitude_deg":9.9037984,"altitude":4,"angle":181,"satellites":37,"speed":0,"hex_longitude":"2d79b3c0","hex_latitude":"05e73320","is_valid_coordinates":true} 
[2026-07-15 15:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732410112001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106586644311703552,"note":"Value kept but may cause issues"} 
[2026-07-15 15:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8769704768496848896,"note":"Value kept but may cause issues"} 
[2026-07-15 15:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784110997000,"timestamp_ms":1784110997000,"timestamp_seconds":1784110997,"priority":1,"record_length":96,"hex_timestamp":"0000019f654d5e08"} 
[2026-07-15 15:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-15 15:56:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:56:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":132666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":132666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":132666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732410112001,"66":12613,"202":206,"87":13824,"24":0,"16":106586644311703552,"45":8769704768496848896},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-15 15:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732410112001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:56:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 15:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106586644311703552,"km_value":106586644311703.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8769704768496848896,"description":"Unknown IO ID 45"} 
[2026-07-15 15:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732410112001,"power":12613,"mcc":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8769704768496848896}} 
[2026-07-15 15:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":132666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491587,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:56:02] local.INFO: GPS data processed {"connection_id":132666,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:56:02] local.INFO: Acknowledgment sent {"connection_id":132666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:56:04] local.INFO: TCP Data received {"connection_id":134880,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:56:04] local.INFO: Processing buffer {"connection_id":134880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:56:04] local.INFO: IMEI packet received {"connection_id":134880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 15:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":134880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:56:06] local.INFO: TCP Data received {"connection_id":133510,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f654ed508012d1992800720b470003a013929..."} 
[2026-07-15 15:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f654ed508012d1992800720b470003a013929..."} 
[2026-07-15 15:56:06] local.INFO: Processing buffer {"connection_id":133510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f654ed508012d1992800720b470003a013929..."} 
[2026-07-15 15:56:06] local.INFO: Packet analysis {"connection_id":133510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f654e"} 
[2026-07-15 15:56:06] local.INFO: Extracted packet for processing {"connection_id":133510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f654e"} 
[2026-07-15 15:56:06] local.INFO: GPS Element Parsed {"raw_longitude":756650624,"raw_latitude":119583856,"longitude_deg":75.6650624,"latitude_deg":11.9583856,"altitude":58,"angle":313,"satellites":41,"speed":3,"hex_longitude":"2d199280","hex_latitude":"0720b470","is_valid_coordinates":true} 
[2026-07-15 15:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732438528001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6111004022800384,"note":"Value kept but may cause issues"} 
[2026-07-15 15:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1843027809370646528,"note":"Value kept but may cause issues"} 
[2026-07-15 15:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784111093000,"timestamp_ms":1784111093000,"timestamp_seconds":1784111093,"priority":1,"record_length":96,"hex_timestamp":"0000019f654ed508"} 
[2026-07-15 15:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:56: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-07-15 15:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-15 15:56:06] 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-07-15 15:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 15:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 15:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 15:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732438528001,"66":12689,"103":206,"83":41984,"24":3,"16":6111004022800384,"45":1843027809370646528},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 15:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 15:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 15:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732438528001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:56:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 15:56:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 15:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6111004022800384,"km_value":6111004022800.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1843027809370646528,"description":"Unknown IO ID 45"} 
[2026-07-15 15:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732438528001,"power":12689,"unknown_103":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1843027809370646528}} 
[2026-07-15 15:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":133510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:56:06] local.INFO: GPS data processed {"connection_id":133510,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:56:06] local.INFO: Acknowledgment sent {"connection_id":133510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:56:10] local.INFO: TCP Data received {"connection_id":134880,"ip":"42.106.6.36","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-15 15:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134880,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-15 15:56:10] local.INFO: Processing buffer {"connection_id":134880,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-15 15:56:10] local.INFO: IMEI packet received {"connection_id":134880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":134880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:56:10] local.INFO: TCP Data received {"connection_id":134880,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 15:56:10] local.INFO: Processing buffer {"connection_id":134880,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-15 15:56:10] local.INFO: IMEI packet received {"connection_id":134880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 15:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":134880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:56:33] local.INFO: TCP Data received {"connection_id":132666,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f655030b0012d79d88005e5fd98000400a727..."} 
[2026-07-15 15:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f655030b0012d79d88005e5fd98000400a727..."} 
[2026-07-15 15:56:33] local.INFO: Processing buffer {"connection_id":132666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f655030b0012d79d88005e5fd98000400a727..."} 
[2026-07-15 15:56:33] local.INFO: Packet analysis {"connection_id":132666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6550"} 
[2026-07-15 15:56:33] local.INFO: Extracted packet for processing {"connection_id":132666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6550"} 
[2026-07-15 15:56:33] local.INFO: GPS Element Parsed {"raw_longitude":762960000,"raw_latitude":98958744,"longitude_deg":76.296,"latitude_deg":9.8958744,"altitude":4,"angle":167,"satellites":39,"speed":38,"hex_longitude":"2d79d880","hex_latitude":"05e5fd98","is_valid_coordinates":true} 
[2026-07-15 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-07-15 15:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732460032001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106590539847041024,"note":"Value kept but may cause issues"} 
[2026-07-15 15:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8777726805313458176,"note":"Value kept but may cause issues"} 
[2026-07-15 15:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784111182000,"timestamp_ms":1784111182000,"timestamp_seconds":1784111182,"priority":1,"record_length":96,"hex_timestamp":"0000019f655030b0"} 
[2026-07-15 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-07-15 15:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-15 15:56:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 15:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":132666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":132666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":132666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732460032001,"66":13243,"182":206,"87":13824,"24":38,"16":106590539847041024,"45":8777726805313458176},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-15 15:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732460032001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:56:33] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 15:56:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 15:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106590539847041024,"km_value":106590539847041.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8777726805313458176,"description":"Unknown IO ID 45"} 
[2026-07-15 15:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732460032001,"power":13243,"unknown_182":206,"unknown_87":13824,"ignition":38,"odometer":null,"unknown_45":8777726805313458176}} 
[2026-07-15 15:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":132666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491589,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:56:33] local.INFO: GPS data processed {"connection_id":132666,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:56:33] local.INFO: Acknowledgment sent {"connection_id":132666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:56:46] local.INFO: TCP Data received {"connection_id":134881,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:56:46] local.INFO: Processing buffer {"connection_id":134881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:56:46] local.INFO: IMEI packet received {"connection_id":134881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 15:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":134881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:56:47] local.INFO: TCP Data received {"connection_id":134881,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:56:47] local.INFO: Processing buffer {"connection_id":134881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:56:47] local.INFO: IMEI packet received {"connection_id":134881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":134881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:56:48] local.INFO: TCP Data received {"connection_id":134881,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:56:48] local.INFO: Processing buffer {"connection_id":134881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:56:48] local.INFO: IMEI packet received {"connection_id":134881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":134881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:56:49] local.INFO: TCP Data received {"connection_id":134881,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:56:49] local.INFO: Processing buffer {"connection_id":134881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 15:56:49] local.INFO: IMEI packet received {"connection_id":134881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 15:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":134881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:56:55] local.INFO: TCP Data received {"connection_id":132484,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132484,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:56:55] local.INFO: Processing buffer {"connection_id":132484,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:56:55] local.INFO: IMEI packet received {"connection_id":132484,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 15:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":132484,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:56:57] local.INFO: TCP Data received {"connection_id":132484,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132484,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:56:57] local.INFO: Processing buffer {"connection_id":132484,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:56:57] local.INFO: IMEI packet received {"connection_id":132484,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 15:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":132484,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:57:02] local.INFO: TCP Data received {"connection_id":132484,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132484,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:57:02] local.INFO: Processing buffer {"connection_id":132484,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:57:02] local.INFO: IMEI packet received {"connection_id":132484,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 15:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":132484,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:57:03] local.INFO: TCP Data received {"connection_id":132484,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f654fd2f0012d0a81c00705aa100018014414..."} 
[2026-07-15 15:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f654fd2f0012d0a81c00705aa100018014414..."} 
[2026-07-15 15:57:03] local.INFO: Processing buffer {"connection_id":132484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f654fd2f0012d0a81c00705aa100018014414..."} 
[2026-07-15 15:57:03] local.INFO: Packet analysis {"connection_id":132484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f654f"} 
[2026-07-15 15:57:03] local.INFO: Extracted packet for processing {"connection_id":132484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f654f"} 
[2026-07-15 15:57:03] local.INFO: GPS Element Parsed {"raw_longitude":755663296,"raw_latitude":117811728,"longitude_deg":75.5663296,"latitude_deg":11.7811728,"altitude":24,"angle":324,"satellites":20,"speed":12,"hex_longitude":"2d0a81c0","hex_latitude":"0705aa10","is_valid_coordinates":true} 
[2026-07-15 15:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732456192001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24676940757598208,"note":"Value kept but may cause issues"} 
[2026-07-15 15:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757238086255593472,"note":"Value kept but may cause issues"} 
[2026-07-15 15:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784111158000,"timestamp_ms":1784111158000,"timestamp_seconds":1784111158,"priority":1,"record_length":96,"hex_timestamp":"0000019f654fd2f0"} 
[2026-07-15 15:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 15:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:57:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":132484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":132484,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":132484,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 15:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 15:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732456192001,"66":14580,"153":206,"94":10240,"24":12,"16":24676940757598208,"45":757238086255593472},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-15 15:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 15:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 15:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732456192001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:57:03] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-15 15:57:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 15:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24676940757598208,"km_value":24676940757598.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":757238086255593472,"description":"Unknown IO ID 45"} 
[2026-07-15 15:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732456192001,"power":14580,"unknown_153":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":757238086255593472}} 
[2026-07-15 15:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":132484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491590,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:57:03] local.INFO: GPS data processed {"connection_id":132484,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:57:03] local.INFO: Acknowledgment sent {"connection_id":132484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:57:33] local.INFO: TCP Data received {"connection_id":132484,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f654fe290012d0a7f000705af900018015114..."} 
[2026-07-15 15:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f654fe290012d0a7f000705af900018015114..."} 
[2026-07-15 15:57:33] local.INFO: Processing buffer {"connection_id":132484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f654fe290012d0a7f000705af900018015114..."} 
[2026-07-15 15:57:33] local.INFO: Packet analysis {"connection_id":132484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f654f"} 
[2026-07-15 15:57:33] local.INFO: Extracted packet for processing {"connection_id":132484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f654f"} 
[2026-07-15 15:57:33] local.INFO: GPS Element Parsed {"raw_longitude":755662592,"raw_latitude":117813136,"longitude_deg":75.5662592,"latitude_deg":11.7813136,"altitude":24,"angle":337,"satellites":20,"speed":19,"hex_longitude":"2d0a7f00","hex_latitude":"0705af90","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732456448001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24677018067009536,"note":"Value kept but may cause issues"} 
[2026-07-15 15:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757097348767289344,"note":"Value kept but may cause issues"} 
[2026-07-15 15:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784111162000,"timestamp_ms":1784111162000,"timestamp_seconds":1784111162,"priority":1,"record_length":96,"hex_timestamp":"0000019f654fe290"} 
[2026-07-15 15:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15: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":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-07-15 15:57:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15: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-07-15 15:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":132484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":132484,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":132484,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 15:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 15:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732456448001,"66":14439,"153":206,"94":10240,"24":19,"16":24677018067009536,"45":757097348767289344},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-15 15:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 15:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 15:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732456448001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:57:33] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-15 15:57:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 15:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24677018067009536,"km_value":24677018067009.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":757097348767289344,"description":"Unknown IO ID 45"} 
[2026-07-15 15:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732456448001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":757097348767289344}} 
[2026-07-15 15:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":132484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491591,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:57:34] local.INFO: GPS data processed {"connection_id":132484,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:57:34] local.INFO: Acknowledgment sent {"connection_id":132484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:57:52] local.INFO: TCP Data received {"connection_id":134884,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134884,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:57:52] local.INFO: Processing buffer {"connection_id":134884,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:57:52] local.INFO: IMEI packet received {"connection_id":134884,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 15:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":134884,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:57:57] local.INFO: TCP Data received {"connection_id":134884,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134884,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:57:57] local.INFO: Processing buffer {"connection_id":134884,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:57:57] local.INFO: IMEI packet received {"connection_id":134884,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 15:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":134884,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:57:58] local.INFO: TCP Data received {"connection_id":134884,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f655005b8012d0a76400705c2f80016015d12..."} 
[2026-07-15 15:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f655005b8012d0a76400705c2f80016015d12..."} 
[2026-07-15 15:57:58] local.INFO: Processing buffer {"connection_id":134884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f655005b8012d0a76400705c2f80016015d12..."} 
[2026-07-15 15:57:58] local.INFO: Packet analysis {"connection_id":134884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6550"} 
[2026-07-15 15:57:58] local.INFO: Extracted packet for processing {"connection_id":134884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6550"} 
[2026-07-15 15:57:58] local.INFO: GPS Element Parsed {"raw_longitude":755660352,"raw_latitude":117818104,"longitude_deg":75.5660352,"latitude_deg":11.7818104,"altitude":22,"angle":349,"satellites":18,"speed":19,"hex_longitude":"2d0a7640","hex_latitude":"0705c2f8","is_valid_coordinates":true} 
[2026-07-15 15:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732457472001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24677284354981888,"note":"Value kept but may cause issues"} 
[2026-07-15 15:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":756323292581695488,"note":"Value kept but may cause issues"} 
[2026-07-15 15:57:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784111171000,"timestamp_ms":1784111171000,"timestamp_seconds":1784111171,"priority":1,"record_length":96,"hex_timestamp":"0000019f655005b8"} 
[2026-07-15 15:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:57:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 15:57:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:57:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":134884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":134884,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":134884,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:57:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 15:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 15:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732457472001,"66":14450,"153":206,"94":10240,"24":19,"16":24677284354981888,"45":756323292581695488},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-15 15:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 15:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 15:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732457472001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:57:58] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-15 15:57:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 15:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24677284354981888,"km_value":24677284354981.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":756323292581695488,"description":"Unknown IO ID 45"} 
[2026-07-15 15:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732457472001,"power":14450,"unknown_153":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":756323292581695488}} 
[2026-07-15 15:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":134884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491592,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:57:58] local.INFO: GPS data processed {"connection_id":134884,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:57:58] local.INFO: Acknowledgment sent {"connection_id":134884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:58:05] local.INFO: TCP Data received {"connection_id":133511,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133511,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:58:05] local.INFO: Processing buffer {"connection_id":133511,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:58:05] local.INFO: IMEI packet received {"connection_id":133511,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 15:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":133511,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:58:09] local.INFO: TCP Data received {"connection_id":133511,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133511,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:58:09] local.INFO: Processing buffer {"connection_id":133511,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:58:09] local.INFO: IMEI packet received {"connection_id":133511,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":133511,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:58:14] local.INFO: TCP Data received {"connection_id":133511,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133511,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:58:14] local.INFO: Processing buffer {"connection_id":133511,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:58:14] local.INFO: IMEI packet received {"connection_id":133511,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":133511,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:58:16] local.INFO: TCP Data received {"connection_id":133511,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f655053d8012d79dd4005e5da70000500b224..."} 
[2026-07-15 15:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f655053d8012d79dd4005e5da70000500b224..."} 
[2026-07-15 15:58:16] local.INFO: Processing buffer {"connection_id":133511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f655053d8012d79dd4005e5da70000500b224..."} 
[2026-07-15 15:58:16] local.INFO: Packet analysis {"connection_id":133511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6550"} 
[2026-07-15 15:58:16] local.INFO: Extracted packet for processing {"connection_id":133511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6550"} 
[2026-07-15 15:58:16] local.INFO: GPS Element Parsed {"raw_longitude":762961216,"raw_latitude":98949744,"longitude_deg":76.2961216,"latitude_deg":9.8949744,"altitude":5,"angle":178,"satellites":36,"speed":36,"hex_longitude":"2d79dd40","hex_latitude":"05e5da70","is_valid_coordinates":true} 
[2026-07-15 15:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732462592001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106590982228672512,"note":"Value kept but may cause issues"} 
[2026-07-15 15:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779908236380575744,"note":"Value kept but may cause issues"} 
[2026-07-15 15:58:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784111191000,"timestamp_ms":1784111191000,"timestamp_seconds":1784111191,"priority":1,"record_length":96,"hex_timestamp":"0000019f655053d8"} 
[2026-07-15 15:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:58:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-15 15:58:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:58:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":133511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":133511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":133511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:58:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732462592001,"66":13330,"182":206,"87":13824,"24":36,"16":106590982228672512,"45":8779908236380575744},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-15 15:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732462592001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:58:16] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 15:58:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 15:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106590982228672512,"km_value":106590982228672.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779908236380575744,"description":"Unknown IO ID 45"} 
[2026-07-15 15:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732462592001,"power":13330,"unknown_182":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8779908236380575744}} 
[2026-07-15 15:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":133511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491593,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:58:16] local.INFO: GPS data processed {"connection_id":133511,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:58:16] local.INFO: Acknowledgment sent {"connection_id":133511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:58:19] local.INFO: TCP Data received {"connection_id":133511,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f655053d8012d79dd4005e5da70000500b224..."} 
[2026-07-15 15:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f655053d8012d79dd4005e5da70000500b224..."} 
[2026-07-15 15:58:19] local.INFO: Processing buffer {"connection_id":133511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f655053d8012d79dd4005e5da70000500b224..."} 
[2026-07-15 15:58:19] local.INFO: Packet analysis {"connection_id":133511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6550"} 
[2026-07-15 15:58:19] local.INFO: Extracted packet for processing {"connection_id":133511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6550"} 
[2026-07-15 15:58:19] local.INFO: GPS Element Parsed {"raw_longitude":762961216,"raw_latitude":98949744,"longitude_deg":76.2961216,"latitude_deg":9.8949744,"altitude":5,"angle":178,"satellites":36,"speed":36,"hex_longitude":"2d79dd40","hex_latitude":"05e5da70","is_valid_coordinates":true} 
[2026-07-15 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-07-15 15:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732464896001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106590982228672512,"note":"Value kept but may cause issues"} 
[2026-07-15 15:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8781245242517647360,"note":"Value kept but may cause issues"} 
[2026-07-15 15:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784111191000,"timestamp_ms":1784111191000,"timestamp_seconds":1784111191,"priority":1,"record_length":96,"hex_timestamp":"0000019f655053d8"} 
[2026-07-15 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-07-15 15:58:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-15 15:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-15 15:58:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 15:58:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3865659392,"note":"Value kept but may cause issues"} 
[2026-07-15 15:58:19] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3221302649,"note":"Value kept but may cause issues"} 
[2026-07-15 15:58:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3276863234365615216,"note":"Value kept but may cause issues"} 
[2026-07-15 15:58:19] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3019898880,"note":"Value kept but may cause issues"} 
[2026-07-15 15:58:19] local.WARNING: Large IO value detected {"io_id":230,"raw_value":7658371196419055872,"note":"Value kept but may cause issues"} 
[2026-07-15 15:58:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":850854094,"corrected_to":0} 
[2026-07-15 15:58:19] local.WARNING: Large IO value detected {"io_id":198,"raw_value":3221612100,"note":"Value kept but may cause issues"} 
[2026-07-15 15:58:19] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2931032064,"note":"Value kept but may cause issues"} 
[2026-07-15 15:58:19] local.WARNING: Large IO value detected {"io_id":46,"raw_value":57758131799611190,"note":"Value kept but may cause issues"} 
[2026-07-15 15:58:19] local.WARNING: Large IO value detected {"io_id":79,"raw_value":4503600922198425605,"note":"Value kept but may cause issues"} 
[2026-07-15 15:58:19] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-5259977490805286912,"note":"Value kept but may cause issues"} 
[2026-07-15 15:58:19] local.WARNING: Large IO value detected {"io_id":95,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-15 15:58:19] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,182,87,24,241,157,16,175,159,48,45,128,253,4,39,10,66,9,192,34,5,37,183,218,1,240,29,227,174,101,230,113,205,27,198,176,239,52,2,122,7,3,46,79,50,95],"length":626,"final_offset":756,"validated_count":46,"validation_warnings":[{"io_id":205,"original":850854094,"validated":0}]} 
[2026-07-15 15:58:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360483837880565760,"timestamp_seconds":360483837880565.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 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-07-15 15:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":133511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":133511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":133511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:58:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732464896001,"66":13330,"182":206,"87":13824,"24":36,"16":106590982228672512,"45":8781245242517647360},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-15 15:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732464896001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:58:19] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 15:58:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 15:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106590982228672512,"km_value":106590982228672.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8781245242517647360,"description":"Unknown IO ID 45"} 
[2026-07-15 15:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732464896001,"power":13330,"unknown_182":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8781245242517647360}} 
[2026-07-15 15:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":133511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491594,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:58:19] local.INFO: GPS data processed {"connection_id":133511,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:58:19] local.INFO: Acknowledgment sent {"connection_id":133511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:58:28] local.INFO: TCP Data received {"connection_id":134884,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f6551f1e8012d0a83400705a980001700c415..."} 
[2026-07-15 15:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6551f1e8012d0a83400705a980001700c415..."} 
[2026-07-15 15:58:28] local.INFO: Processing buffer {"connection_id":134884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6551f1e8012d0a83400705a980001700c415..."} 
[2026-07-15 15:58:28] local.INFO: Packet analysis {"connection_id":134884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6551"} 
[2026-07-15 15:58:28] local.INFO: Extracted packet for processing {"connection_id":134884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6551"} 
[2026-07-15 15:58:28] local.INFO: GPS Element Parsed {"raw_longitude":755663680,"raw_latitude":117811584,"longitude_deg":75.566368,"latitude_deg":11.7811584,"altitude":23,"angle":196,"satellites":21,"speed":9,"hex_longitude":"2d0a8340","hex_latitude":"0705a980","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732488960001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24678443996151808,"note":"Value kept but may cause issues"} 
[2026-07-15 15:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":754634442722250752,"note":"Value kept but may cause issues"} 
[2026-07-15 15:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784111297000,"timestamp_ms":1784111297000,"timestamp_seconds":1784111297,"priority":1,"record_length":96,"hex_timestamp":"0000019f6551f1e8"} 
[2026-07-15 15:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:58:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-15 15:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751536044,"note":"Value kept but may cause issues"} 
[2026-07-15 15:58:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-15 15:58:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":8142515848080261143,"note":"Value kept but may cause issues"} 
[2026-07-15 15:58:28] local.WARNING: Large IO value detected {"io_id":1,"raw_value":4185251454480547850,"note":"Value kept but may cause issues"} 
[2026-07-15 15:58:28] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-15 15:58:28] local.WARNING: Large IO value detected {"io_id":55,"raw_value":-1945329194191761826,"note":"Value kept but may cause issues"} 
[2026-07-15 15:58:28] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3740794902,"note":"Value kept but may cause issues"} 
[2026-07-15 15:58:28] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638805163403161,"note":"Value kept but may cause issues"} 
[2026-07-15 15:58:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1738080462,"corrected_to":0} 
[2026-07-15 15:58:28] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-15 15:58:28] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2550213898,"note":"Value kept but may cause issues"} 
[2026-07-15 15:58:28] local.WARNING: Large IO value detected {"io_id":112,"raw_value":2147943902,"note":"Value kept but may cause issues"} 
[2026-07-15 15:58:28] local.WARNING: Large IO value detected {"io_id":87,"raw_value":2889744384,"note":"Value kept but may cause issues"} 
[2026-07-15 15:58:28] local.WARNING: Large IO value detected {"io_id":40,"raw_value":6755425210990833,"note":"Value kept but may cause issues"} 
[2026-07-15 15:58:28] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,153,94,24,241,157,16,172,159,116,45,64,221,22,21,10,66,109,223,81,1,240,55,227,101,5,4,113,205,2,46,112,224,239,56,87,7,8,40],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1738080462,"validated":0}]} 
[2026-07-15 15:58:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1657497380688756736,"timestamp_seconds":1657497380688756.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 15:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":134884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":134884,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":134884,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:58:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 15:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 15:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732488960001,"66":14396,"153":206,"94":10240,"24":9,"16":24678443996151808,"45":754634442722250752},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-15 15:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 15:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 15:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732488960001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:58:28] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-15 15:58:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 15:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24678443996151808,"km_value":24678443996151.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":754634442722250752,"description":"Unknown IO ID 45"} 
[2026-07-15 15:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732488960001,"power":14396,"unknown_153":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":754634442722250752}} 
[2026-07-15 15:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":134884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491595,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:58:29] local.INFO: GPS data processed {"connection_id":134884,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:58:29] local.INFO: Acknowledgment sent {"connection_id":134884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:58:52] local.INFO: TCP Data received {"connection_id":132670,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132670,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:58:52] local.INFO: Processing buffer {"connection_id":132670,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:58:52] local.INFO: IMEI packet received {"connection_id":132670,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 15:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":132670,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:58:56] local.INFO: TCP Data received {"connection_id":132670,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132670,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:58:56] local.INFO: Processing buffer {"connection_id":132670,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:58:56] local.INFO: IMEI packet received {"connection_id":132670,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 15:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":132670,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:59:02] local.INFO: TCP Data received {"connection_id":132670,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f6551f5d0012d0a83000705a898001700d214..."} 
[2026-07-15 15:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6551f5d0012d0a83000705a898001700d214..."} 
[2026-07-15 15:59:02] local.INFO: Processing buffer {"connection_id":132670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6551f5d0012d0a83000705a898001700d214..."} 
[2026-07-15 15:59:02] local.INFO: Packet analysis {"connection_id":132670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6551"} 
[2026-07-15 15:59:02] local.INFO: Extracted packet for processing {"connection_id":132670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6551"} 
[2026-07-15 15:59:02] local.INFO: GPS Element Parsed {"raw_longitude":755663616,"raw_latitude":117811352,"longitude_deg":75.5663616,"latitude_deg":11.7811352,"altitude":23,"angle":210,"satellites":20,"speed":10,"hex_longitude":"2d0a8300","hex_latitude":"0705a898","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732492032001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24678456881053696,"note":"Value kept but may cause issues"} 
[2026-07-15 15:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757519561232318464,"note":"Value kept but may cause issues"} 
[2026-07-15 15:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784111298000,"timestamp_ms":1784111298000,"timestamp_seconds":1784111298,"priority":1,"record_length":96,"hex_timestamp":"0000019f6551f5d0"} 
[2026-07-15 15:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:59:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-15 15:59:02] 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-07-15 15: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-07-15 15:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":132670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":132670,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":132670,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 15:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 15:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732492032001,"66":14439,"153":206,"94":10240,"24":10,"16":24678456881053696,"45":757519561232318464},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-15 15:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 15:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 15:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732492032001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:59:02] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-15 15:59:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 15:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24678456881053696,"km_value":24678456881053.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":757519561232318464,"description":"Unknown IO ID 45"} 
[2026-07-15 15:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732492032001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":757519561232318464}} 
[2026-07-15 15:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":132670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491596,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:59:02] local.INFO: GPS data processed {"connection_id":132670,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:59:02] local.INFO: Acknowledgment sent {"connection_id":132670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:59:03] local.INFO: TCP Data received {"connection_id":132670,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f6551fda0012d0a81800705a6a0001700df15..."} 
[2026-07-15 15:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6551fda0012d0a81800705a6a0001700df15..."} 
[2026-07-15 15:59:03] local.INFO: Processing buffer {"connection_id":132670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6551fda0012d0a81800705a6a0001700df15..."} 
[2026-07-15 15:59:03] local.INFO: Packet analysis {"connection_id":132670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6551"} 
[2026-07-15 15:59:03] local.INFO: Extracted packet for processing {"connection_id":132670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6551"} 
[2026-07-15 15:59:03] local.INFO: GPS Element Parsed {"raw_longitude":755663232,"raw_latitude":117810848,"longitude_deg":75.5663232,"latitude_deg":11.7810848,"altitude":23,"angle":223,"satellites":21,"speed":15,"hex_longitude":"2d0a8180","hex_latitude":"0705a6a0","is_valid_coordinates":true} 
[2026-07-15 15:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732492288001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24678486945824768,"note":"Value kept but may cause issues"} 
[2026-07-15 15:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757449192488081408,"note":"Value kept but may cause issues"} 
[2026-07-15 15:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784111300000,"timestamp_ms":1784111300000,"timestamp_seconds":1784111300,"priority":1,"record_length":96,"hex_timestamp":"0000019f6551fda0"} 
[2026-07-15 15:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 15:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 15:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 15:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":132670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":132670,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":132670,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 15:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 15:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732492288001,"66":14407,"153":206,"94":10240,"24":15,"16":24678486945824768,"45":757449192488081408},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-15 15:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 15:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 15:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732492288001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:59:03] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-15 15:59:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 15:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24678486945824768,"km_value":24678486945824.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":757449192488081408,"description":"Unknown IO ID 45"} 
[2026-07-15 15:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732492288001,"power":14407,"unknown_153":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":757449192488081408}} 
[2026-07-15 15:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":132670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491597,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:59:03] local.INFO: GPS data processed {"connection_id":132670,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:59:03] local.INFO: Acknowledgment sent {"connection_id":132670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:59:09] local.INFO: TCP Data received {"connection_id":132668,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132668,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:59:09] local.INFO: Processing buffer {"connection_id":132668,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:59:09] local.INFO: IMEI packet received {"connection_id":132668,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 15:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":132668,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:59:34] local.INFO: TCP Data received {"connection_id":134886,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134886,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:59:34] local.INFO: Processing buffer {"connection_id":134886,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:59:34] local.INFO: IMEI packet received {"connection_id":134886,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 15:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":134886,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:59:34] local.INFO: TCP Data received {"connection_id":134885,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134885,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:59:34] local.INFO: Processing buffer {"connection_id":134885,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 15:59:34] local.INFO: IMEI packet received {"connection_id":134885,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 15:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":134885,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:59:34] local.INFO: TCP Data received {"connection_id":132670,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f65522c80012d0a700007059088001400d416..."} 
[2026-07-15 15:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65522c80012d0a700007059088001400d416..."} 
[2026-07-15 15:59:34] local.INFO: Processing buffer {"connection_id":132670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65522c80012d0a700007059088001400d416..."} 
[2026-07-15 15:59:34] local.INFO: Packet analysis {"connection_id":132670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6552"} 
[2026-07-15 15:59:34] local.INFO: Extracted packet for processing {"connection_id":132670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6552"} 
[2026-07-15 15:59:34] local.INFO: GPS Element Parsed {"raw_longitude":755658752,"raw_latitude":117805192,"longitude_deg":75.5658752,"latitude_deg":11.7805192,"altitude":20,"angle":212,"satellites":22,"speed":19,"hex_longitude":"2d0a7000","hex_latitude":"07059088","is_valid_coordinates":true} 
[2026-07-15 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-07-15 15:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732492800001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24678834838175744,"note":"Value kept but may cause issues"} 
[2026-07-15 15:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757026980022886400,"note":"Value kept but may cause issues"} 
[2026-07-15 15:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784111312000,"timestamp_ms":1784111312000,"timestamp_seconds":1784111312,"priority":1,"record_length":96,"hex_timestamp":"0000019f65522c80"} 
[2026-07-15 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-07-15 15:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-15 15:59:34] 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-07-15 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-07-15 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-07-15 15:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":132670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":132670,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":132670,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 15:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 15:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732492800001,"66":14537,"153":206,"94":10240,"24":19,"16":24678834838175744,"45":757026980022886400},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-15 15:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 15:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 15:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732492800001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:59:35] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-15 15:59:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 15:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24678834838175744,"km_value":24678834838175.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":757026980022886400,"description":"Unknown IO ID 45"} 
[2026-07-15 15:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732492800001,"power":14537,"unknown_153":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":757026980022886400}} 
[2026-07-15 15:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":132670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491598,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:59:35] local.INFO: GPS data processed {"connection_id":132670,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:59:35] local.INFO: Acknowledgment sent {"connection_id":132670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:59:39] local.INFO: TCP Data received {"connection_id":134886,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134886,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:59:39] local.INFO: Processing buffer {"connection_id":134886,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 15:59:39] local.INFO: IMEI packet received {"connection_id":134886,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 15:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":134886,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:59:41] local.INFO: TCP Data received {"connection_id":134886,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f65525b60012d7a294005e4b2d80002009227..."} 
[2026-07-15 15:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65525b60012d7a294005e4b2d80002009227..."} 
[2026-07-15 15:59:41] local.INFO: Processing buffer {"connection_id":134886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65525b60012d7a294005e4b2d80002009227..."} 
[2026-07-15 15:59:41] local.INFO: Packet analysis {"connection_id":134886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6552"} 
[2026-07-15 15:59:41] local.INFO: Extracted packet for processing {"connection_id":134886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6552"} 
[2026-07-15 15:59:41] local.INFO: GPS Element Parsed {"raw_longitude":762980672,"raw_latitude":98874072,"longitude_deg":76.2980672,"latitude_deg":9.8874072,"altitude":2,"angle":146,"satellites":39,"speed":38,"hex_longitude":"2d7a2940","hex_latitude":"05e4b2d8","is_valid_coordinates":true} 
[2026-07-15 15:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 15:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732496384001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106594873469042688,"note":"Value kept but may cause issues"} 
[2026-07-15 15:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797007841196027904,"note":"Value kept but may cause issues"} 
[2026-07-15 15:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784111324000,"timestamp_ms":1784111324000,"timestamp_seconds":1784111324,"priority":1,"record_length":96,"hex_timestamp":"0000019f65525b60"} 
[2026-07-15 15:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-15 15:59:41] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-15 15:59:41] local.WARNING: Large IO value detected {"io_id":229,"raw_value":-8646911254475625984,"note":"Value kept but may cause issues"} 
[2026-07-15 15:59:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1398407374,"corrected_to":0} 
[2026-07-15 15:59:41] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3221611842,"note":"Value kept but may cause issues"} 
[2026-07-15 15:59:41] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2980904960,"note":"Value kept but may cause issues"} 
[2026-07-15 15:59:41] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3848667136,"note":"Value kept but may cause issues"} 
[2026-07-15 15:59:41] local.WARNING: Large IO value detected {"io_id":220,"raw_value":57762418176972592,"note":"Value kept but may cause issues"} 
[2026-07-15 15:59:41] local.WARNING: Large IO value detected {"io_id":80,"raw_value":-5368289460995948539,"note":"Value kept but may cause issues"} 
[2026-07-15 15:59:41] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,145,87,24,241,157,16,179,159,9,45,238,4,42,10,66,178,191,64,248,6,39,113,192,1,240,227,101,229,205,22,11,235,176,43,239,52,2,122,5,8,33,220,80],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1398407374,"validated":0}]} 
[2026-07-15 15:59:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216332395985960960,"timestamp_seconds":216332395985960.97,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 15:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":134886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":134886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":134886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 15:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 15:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 15:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732496384001,"66":13319,"182":206,"87":13824,"24":38,"16":106594873469042688,"45":8797007841196027904},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-15 15:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 15:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 15:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732496384001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:59:41] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 15:59:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 15:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106594873469042688,"km_value":106594873469042.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797007841196027904,"description":"Unknown IO ID 45"} 
[2026-07-15 15:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732496384001,"power":13319,"unknown_182":206,"unknown_87":13824,"ignition":38,"odometer":null,"unknown_45":8797007841196027904}} 
[2026-07-15 15:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":134886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491599,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:59:41] local.INFO: GPS data processed {"connection_id":134886,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:59:41] local.INFO: Acknowledgment sent {"connection_id":134886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 15:59:50] local.INFO: TCP Data received {"connection_id":132486,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132486,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:59:50] local.INFO: Processing buffer {"connection_id":132486,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:59:50] local.INFO: IMEI packet received {"connection_id":132486,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 15:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":132486,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 15:59:52] local.INFO: TCP Data received {"connection_id":132486,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132486,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:59:52] local.INFO: Processing buffer {"connection_id":132486,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:59:52] local.INFO: IMEI packet received {"connection_id":132486,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 15:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":132486,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:59:57] local.INFO: TCP Data received {"connection_id":132486,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132486,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:59:57] local.INFO: Processing buffer {"connection_id":132486,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 15:59:57] local.INFO: IMEI packet received {"connection_id":132486,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 15:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":132486,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 15:59:58] local.INFO: TCP Data received {"connection_id":132486,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f65534d90012d0a4840070587500010012719..."} 
[2026-07-15 15:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65534d90012d0a4840070587500010012719..."} 
[2026-07-15 15:59:58] local.INFO: Processing buffer {"connection_id":132486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65534d90012d0a4840070587500010012719..."} 
[2026-07-15 15:59:58] local.INFO: Packet analysis {"connection_id":132486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6553"} 
[2026-07-15 15:59:58] local.INFO: Extracted packet for processing {"connection_id":132486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6553"} 
[2026-07-15 15:59:58] local.INFO: GPS Element Parsed {"raw_longitude":755648576,"raw_latitude":117802832,"longitude_deg":75.5648576,"latitude_deg":11.7802832,"altitude":16,"angle":295,"satellites":25,"speed":9,"hex_longitude":"2d0a4840","hex_latitude":"07058750","is_valid_coordinates":true} 
[2026-07-15 15: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-07-15 15:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732514560001,"note":"Value kept but may cause issues"} 
[2026-07-15 15:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24679509148041216,"note":"Value kept but may cause issues"} 
[2026-07-15 15:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":741194012580820992,"note":"Value kept but may cause issues"} 
[2026-07-15 15:59:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 15:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784111386000,"timestamp_ms":1784111386000,"timestamp_seconds":1784111386,"priority":1,"record_length":96,"hex_timestamp":"0000019f65534d90"} 
[2026-07-15 15:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 15:59:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 15: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-15 15:59:58] 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-07-15 15: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-07-15 15:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 15:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 15:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":132486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 15:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":132486,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":132486,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 15:59:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 15:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 15:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 15:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732514560001,"66":14439,"177":206,"94":10240,"24":9,"16":24679509148041216,"45":741194012580820992},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-15 15:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 15:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 15:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732514560001,"description":"Unknown IO ID 0"} 
[2026-07-15 15:59:58] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-15 15:59:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 15:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24679509148041216,"km_value":24679509148041.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 15:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":741194012580820992,"description":"Unknown IO ID 45"} 
[2026-07-15 15:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732514560001,"power":14439,"unknown_177":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":741194012580820992}} 
[2026-07-15 15:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":132486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491600,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 15:59:58] local.INFO: GPS data processed {"connection_id":132486,"processed":1,"errors":0,"total":1} 
[2026-07-15 15:59:58] local.INFO: Acknowledgment sent {"connection_id":132486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:00:11] local.INFO: TCP Data received {"connection_id":133514,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133514,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:00:11] local.INFO: Processing buffer {"connection_id":133514,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:00:11] local.INFO: IMEI packet received {"connection_id":133514,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 16:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":133514,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:00:11] local.INFO: TCP Data received {"connection_id":133514,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133514,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:00:11] local.INFO: Processing buffer {"connection_id":133514,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:00:11] local.INFO: IMEI packet received {"connection_id":133514,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":133514,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:00:13] local.INFO: TCP Data received {"connection_id":133514,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f65533df0012d7a320005e45b30001100f325..."} 
[2026-07-15 16:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65533df0012d7a320005e45b30001100f325..."} 
[2026-07-15 16:00:13] local.INFO: Processing buffer {"connection_id":133514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65533df0012d7a320005e45b30001100f325..."} 
[2026-07-15 16:00:13] local.INFO: Packet analysis {"connection_id":133514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6553"} 
[2026-07-15 16:00:13] local.INFO: Extracted packet for processing {"connection_id":133514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6553"} 
[2026-07-15 16:00:13] local.INFO: GPS Element Parsed {"raw_longitude":762982912,"raw_latitude":98851632,"longitude_deg":76.2982912,"latitude_deg":9.8851632,"altitude":17,"angle":243,"satellites":37,"speed":13,"hex_longitude":"2d7a3200","hex_latitude":"05e45b30","is_valid_coordinates":true} 
[2026-07-15 16:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732513280001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106596638700601344,"note":"Value kept but may cause issues"} 
[2026-07-15 16:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805874302954772480,"note":"Value kept but may cause issues"} 
[2026-07-15 16:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784111382000,"timestamp_ms":1784111382000,"timestamp_seconds":1784111382,"priority":1,"record_length":96,"hex_timestamp":"0000019f65533df0"} 
[2026-07-15 16:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:00:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-15 16:00: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-07-15 16:00:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":133514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":133514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":133514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732513280001,"66":13363,"157":206,"87":12288,"24":13,"16":106596638700601344,"45":8805874302954772480},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-15 16:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732513280001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:00:13] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-15 16:00:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-15 16:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106596638700601344,"km_value":106596638700601.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805874302954772480,"description":"Unknown IO ID 45"} 
[2026-07-15 16:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732513280001,"power":13363,"unknown_157":206,"unknown_87":12288,"ignition":13,"odometer":null,"unknown_45":8805874302954772480}} 
[2026-07-15 16:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":133514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491601,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:00:13] local.INFO: GPS data processed {"connection_id":133514,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:00:13] local.INFO: Acknowledgment sent {"connection_id":133514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:00:14] local.INFO: TCP Data received {"connection_id":133514,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f655341d8012d7a310005e45a58001100e225..."} 
[2026-07-15 16:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f655341d8012d7a310005e45a58001100e225..."} 
[2026-07-15 16:00:14] local.INFO: Processing buffer {"connection_id":133514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f655341d8012d7a310005e45a58001100e225..."} 
[2026-07-15 16:00:14] local.INFO: Packet analysis {"connection_id":133514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6553"} 
[2026-07-15 16:00:14] local.INFO: Extracted packet for processing {"connection_id":133514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6553"} 
[2026-07-15 16:00:14] local.INFO: GPS Element Parsed {"raw_longitude":762982656,"raw_latitude":98851416,"longitude_deg":76.2982656,"latitude_deg":9.8851416,"altitude":17,"angle":226,"satellites":37,"speed":11,"hex_longitude":"2d7a3100","hex_latitude":"05e45a58","is_valid_coordinates":true} 
[2026-07-15 16:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732513792001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106596655880470528,"note":"Value kept but may cause issues"} 
[2026-07-15 16:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805100246768758784,"note":"Value kept but may cause issues"} 
[2026-07-15 16:00:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784111383000,"timestamp_ms":1784111383000,"timestamp_seconds":1784111383,"priority":1,"record_length":96,"hex_timestamp":"0000019f655341d8"} 
[2026-07-15 16:00:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:00:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-15 16:00:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:00:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:00:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":133514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":133514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":133514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:00:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732513792001,"66":13363,"157":206,"87":12288,"24":11,"16":106596655880470528,"45":8805100246768758784},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-15 16:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732513792001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:00:14] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-15 16:00:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-15 16:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106596655880470528,"km_value":106596655880470.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805100246768758784,"description":"Unknown IO ID 45"} 
[2026-07-15 16:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732513792001,"power":13363,"unknown_157":206,"unknown_87":12288,"ignition":11,"odometer":null,"unknown_45":8805100246768758784}} 
[2026-07-15 16:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":133514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491602,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:00:14] local.INFO: GPS data processed {"connection_id":133514,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:00:14] local.INFO: Acknowledgment sent {"connection_id":133514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:00:29] local.INFO: TCP Data received {"connection_id":132486,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f65535178012d0a4700070587880010011019..."} 
[2026-07-15 16:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65535178012d0a4700070587880010011019..."} 
[2026-07-15 16:00:29] local.INFO: Processing buffer {"connection_id":132486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65535178012d0a4700070587880010011019..."} 
[2026-07-15 16:00:29] local.INFO: Packet analysis {"connection_id":132486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6553"} 
[2026-07-15 16:00:29] local.INFO: Extracted packet for processing {"connection_id":132486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6553"} 
[2026-07-15 16:00:29] local.INFO: GPS Element Parsed {"raw_longitude":755648256,"raw_latitude":117802888,"longitude_deg":75.5648256,"latitude_deg":11.7802888,"altitude":16,"angle":272,"satellites":25,"speed":8,"hex_longitude":"2d0a4700","hex_latitude":"07058788","is_valid_coordinates":true} 
[2026-07-15 16:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732514816001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24679522032943104,"note":"Value kept but may cause issues"} 
[2026-07-15 16:00:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":740912537604149248,"note":"Value kept but may cause issues"} 
[2026-07-15 16:00:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784111387000,"timestamp_ms":1784111387000,"timestamp_seconds":1784111387,"priority":1,"record_length":96,"hex_timestamp":"0000019f65535178"} 
[2026-07-15 16:00:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:00:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 16:00:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:00:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:00:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":132486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":132486,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":132486,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:00:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732514816001,"66":14439,"177":206,"94":10240,"24":8,"16":24679522032943104,"45":740912537604149248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-15 16:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732514816001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:00:29] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-15 16:00:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 16:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24679522032943104,"km_value":24679522032943.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:00:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":740912537604149248,"description":"Unknown IO ID 45"} 
[2026-07-15 16:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732514816001,"power":14439,"unknown_177":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":740912537604149248}} 
[2026-07-15 16:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":132486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491603,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:00:29] local.INFO: GPS data processed {"connection_id":132486,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:00:29] local.INFO: Acknowledgment sent {"connection_id":132486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:00:52] local.INFO: TCP Data received {"connection_id":132672,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132672,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:00:52] local.INFO: Processing buffer {"connection_id":132672,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:00:52] local.INFO: IMEI packet received {"connection_id":132672,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 16:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":132672,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:00:57] local.INFO: TCP Data received {"connection_id":132672,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132672,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:00:57] local.INFO: Processing buffer {"connection_id":132672,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:00:57] local.INFO: IMEI packet received {"connection_id":132672,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 16:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":132672,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:00:58] local.INFO: TCP Data received {"connection_id":132672,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f65535560012d0a4640070587680010010119..."} 
[2026-07-15 16:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65535560012d0a4640070587680010010119..."} 
[2026-07-15 16:00:58] local.INFO: Processing buffer {"connection_id":132672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65535560012d0a4640070587680010010119..."} 
[2026-07-15 16:00:58] local.INFO: Packet analysis {"connection_id":132672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6553"} 
[2026-07-15 16:00:58] local.INFO: Extracted packet for processing {"connection_id":132672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6553"} 
[2026-07-15 16:00:58] local.INFO: GPS Element Parsed {"raw_longitude":755648064,"raw_latitude":117802856,"longitude_deg":75.5648064,"latitude_deg":11.7802856,"altitude":16,"angle":257,"satellites":25,"speed":9,"hex_longitude":"2d0a4640","hex_latitude":"07058768","is_valid_coordinates":true} 
[2026-07-15 16:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732515072001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24679534917844992,"note":"Value kept but may cause issues"} 
[2026-07-15 16:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":740560693883275264,"note":"Value kept but may cause issues"} 
[2026-07-15 16:00:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784111388000,"timestamp_ms":1784111388000,"timestamp_seconds":1784111388,"priority":1,"record_length":96,"hex_timestamp":"0000019f65535560"} 
[2026-07-15 16:00:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 16:00:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:00:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:00:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":132672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":132672,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":132672,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:00:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732515072001,"66":14363,"177":206,"94":10240,"24":9,"16":24679534917844992,"45":740560693883275264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-15 16:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732515072001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:00:58] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-15 16:00:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 16:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24679534917844992,"km_value":24679534917844.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":740560693883275264,"description":"Unknown IO ID 45"} 
[2026-07-15 16:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732515072001,"power":14363,"unknown_177":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":740560693883275264}} 
[2026-07-15 16:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":132672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491604,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:00:58] local.INFO: GPS data processed {"connection_id":132672,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:00:58] local.INFO: Acknowledgment sent {"connection_id":132672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:00:59] local.INFO: TCP Data received {"connection_id":134887,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134887,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:00:59] local.INFO: Processing buffer {"connection_id":134887,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:00:59] local.INFO: IMEI packet received {"connection_id":134887,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 16:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":134887,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:01:04] local.INFO: TCP Data received {"connection_id":134887,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134887,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:01:04] local.INFO: Processing buffer {"connection_id":134887,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:01:04] local.INFO: IMEI packet received {"connection_id":134887,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":134887,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:01:05] local.INFO: TCP Data received {"connection_id":134887,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f6553de18012d7a428005e432a80000011029..."} 
[2026-07-15 16:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6553de18012d7a428005e432a80000011029..."} 
[2026-07-15 16:01:05] local.INFO: Processing buffer {"connection_id":134887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6553de18012d7a428005e432a80000011029..."} 
[2026-07-15 16:01:05] local.INFO: Packet analysis {"connection_id":134887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6553"} 
[2026-07-15 16:01:05] local.INFO: Extracted packet for processing {"connection_id":134887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6553"} 
[2026-07-15 16:01:05] local.INFO: GPS Element Parsed {"raw_longitude":762987136,"raw_latitude":98841256,"longitude_deg":76.2987136,"latitude_deg":9.8841256,"altitude":0,"angle":272,"satellites":41,"speed":6,"hex_longitude":"2d7a4280","hex_latitude":"05e432a8","is_valid_coordinates":true} 
[2026-07-15 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-07-15 16:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732524032001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106597235701055488,"note":"Value kept but may cause issues"} 
[2026-07-15 16:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809885321370200064,"note":"Value kept but may cause issues"} 
[2026-07-15 16:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784111423000,"timestamp_ms":1784111423000,"timestamp_seconds":1784111423,"priority":1,"record_length":96,"hex_timestamp":"0000019f6553de18"} 
[2026-07-15 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-07-15 16:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":248,"data_length":795,"current_offset":136} 
[2026-07-15 16:01: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-07-15 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-07-15 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-07-15 16:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":134887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":134887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":134887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732524032001,"66":13048,"97":206,"85":15104,"24":6,"16":106597235701055488,"45":8809885321370200064},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 16:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732524032001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:01:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 16:01:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 16:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106597235701055488,"km_value":106597235701055.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809885321370200064,"description":"Unknown IO ID 45"} 
[2026-07-15 16:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732524032001,"power":13048,"unknown_97":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8809885321370200064}} 
[2026-07-15 16:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":134887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491605,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:01:06] local.INFO: GPS data processed {"connection_id":134887,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:01:06] local.INFO: Acknowledgment sent {"connection_id":134887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:01:11] local.INFO: TCP Data received {"connection_id":132674,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:01:11] local.INFO: Processing buffer {"connection_id":132674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:01:11] local.INFO: IMEI packet received {"connection_id":132674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":132674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:01:12] local.INFO: TCP Data received {"connection_id":132674,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f65537c70012d7f5b0005afb9000004004c30..."} 
[2026-07-15 16:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65537c70012d7f5b0005afb9000004004c30..."} 
[2026-07-15 16:01:12] local.INFO: Processing buffer {"connection_id":132674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65537c70012d7f5b0005afb9000004004c30..."} 
[2026-07-15 16:01:12] local.INFO: Packet analysis {"connection_id":132674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6553"} 
[2026-07-15 16:01:12] local.INFO: Extracted packet for processing {"connection_id":132674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6553"} 
[2026-07-15 16:01:12] local.INFO: GPS Element Parsed {"raw_longitude":763321088,"raw_latitude":95402240,"longitude_deg":76.3321088,"latitude_deg":9.540224,"altitude":4,"angle":76,"satellites":48,"speed":15,"hex_longitude":"2d7f5b00","hex_latitude":"05afb900","is_valid_coordinates":true} 
[2026-07-15 16:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732517120001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347238850227077120,"note":"Value kept but may cause issues"} 
[2026-07-15 16:01:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9175873158957819904,"note":"Value kept but may cause issues"} 
[2026-07-15 16:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784111398000,"timestamp_ms":1784111398000,"timestamp_seconds":1784111398,"priority":1,"record_length":96,"hex_timestamp":"0000019f65537c70"} 
[2026-07-15 16:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:01:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 16:01:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:01:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:01:12] 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-07-15 16:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732517120001,"66":27745,"250":206,"85":12544,"24":15,"16":347238850227077120,"45":9175873158957819904},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732517120001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:01:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:01:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347238850227077120,"km_value":347238850227077.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:01:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9175873158957819904,"description":"Unknown IO ID 45"} 
[2026-07-15 16:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732517120001,"power":27745,"unknown_250":206,"unknown_85":12544,"ignition":15,"odometer":null,"unknown_45":9175873158957819904}} 
[2026-07-15 16:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":132674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:01:12] local.INFO: GPS data processed {"connection_id":132674,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:01:12] local.INFO: Acknowledgment sent {"connection_id":132674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:01:29] local.INFO: TCP Data received {"connection_id":132672,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f6554c878012d0a4f0007057b180012007e19..."} 
[2026-07-15 16:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6554c878012d0a4f0007057b180012007e19..."} 
[2026-07-15 16:01:29] local.INFO: Processing buffer {"connection_id":132672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6554c878012d0a4f0007057b180012007e19..."} 
[2026-07-15 16:01:29] local.INFO: Packet analysis {"connection_id":132672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6554"} 
[2026-07-15 16:01:29] local.INFO: Extracted packet for processing {"connection_id":132672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6554"} 
[2026-07-15 16:01:29] local.INFO: GPS Element Parsed {"raw_longitude":755650304,"raw_latitude":117799704,"longitude_deg":75.5650304,"latitude_deg":11.7799704,"altitude":18,"angle":126,"satellites":25,"speed":13,"hex_longitude":"2d0a4f00","hex_latitude":"07057b18","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732539392001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24680230702546944,"note":"Value kept but may cause issues"} 
[2026-07-15 16:01:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":742601387463665664,"note":"Value kept but may cause issues"} 
[2026-07-15 16:01:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784111483000,"timestamp_ms":1784111483000,"timestamp_seconds":1784111483,"priority":1,"record_length":96,"hex_timestamp":"0000019f6554c878"} 
[2026-07-15 16:01:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:01:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-15 16:01:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16: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-07-15 16:01:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":132672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":132672,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":132672,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:01:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732539392001,"66":14407,"177":206,"94":10240,"24":13,"16":24680230702546944,"45":742601387463665664},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-15 16:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732539392001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:01:29] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-15 16:01:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 16:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24680230702546944,"km_value":24680230702546.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:01:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":742601387463665664,"description":"Unknown IO ID 45"} 
[2026-07-15 16:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732539392001,"power":14407,"unknown_177":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":742601387463665664}} 
[2026-07-15 16:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":132672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491607,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:01:29] local.INFO: GPS data processed {"connection_id":132672,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:01:29] local.INFO: Acknowledgment sent {"connection_id":132672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:01:37] local.INFO: TCP Data received {"connection_id":134887,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f65540cf8012d7a448005e432f80000005b29..."} 
[2026-07-15 16:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65540cf8012d7a448005e432f80000005b29..."} 
[2026-07-15 16:01:37] local.INFO: Processing buffer {"connection_id":134887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65540cf8012d7a448005e432f80000005b29..."} 
[2026-07-15 16:01:37] local.INFO: Packet analysis {"connection_id":134887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6554"} 
[2026-07-15 16:01:37] local.INFO: Extracted packet for processing {"connection_id":134887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6554"} 
[2026-07-15 16:01:37] local.INFO: GPS Element Parsed {"raw_longitude":762987648,"raw_latitude":98841336,"longitude_deg":76.2987648,"latitude_deg":9.8841336,"altitude":0,"angle":91,"satellites":41,"speed":3,"hex_longitude":"2d7a4480","hex_latitude":"05e432f8","is_valid_coordinates":true} 
[2026-07-15 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-07-15 16:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732524288001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106597287240663040,"note":"Value kept but may cause issues"} 
[2026-07-15 16:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809744583881828352,"note":"Value kept but may cause issues"} 
[2026-07-15 16:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784111435000,"timestamp_ms":1784111435000,"timestamp_seconds":1784111435,"priority":1,"record_length":96,"hex_timestamp":"0000019f65540cf8"} 
[2026-07-15 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-07-15 16:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":248,"data_length":795,"current_offset":136} 
[2026-07-15 16:01:37] 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-07-15 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-07-15 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-07-15 16:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":134887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":134887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":134887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732524288001,"66":12993,"97":206,"85":15104,"24":3,"16":106597287240663040,"45":8809744583881828352},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 16:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732524288001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:01:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 16:01:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 16:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106597287240663040,"km_value":106597287240663.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809744583881828352,"description":"Unknown IO ID 45"} 
[2026-07-15 16:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732524288001,"power":12993,"unknown_97":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8809744583881828352}} 
[2026-07-15 16:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":134887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491608,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:01:37] local.INFO: GPS data processed {"connection_id":134887,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:01:37] local.INFO: Acknowledgment sent {"connection_id":134887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:01:42] local.INFO: TCP Data received {"connection_id":132674,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f65538c10012d7f634005afba500004005830..."} 
[2026-07-15 16:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65538c10012d7f634005afba500004005830..."} 
[2026-07-15 16:01:42] local.INFO: Processing buffer {"connection_id":132674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65538c10012d7f634005afba500004005830..."} 
[2026-07-15 16:01:42] local.INFO: Packet analysis {"connection_id":132674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6553"} 
[2026-07-15 16:01:42] local.INFO: Extracted packet for processing {"connection_id":132674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6553"} 
[2026-07-15 16:01:42] local.INFO: GPS Element Parsed {"raw_longitude":763323200,"raw_latitude":95402576,"longitude_deg":76.33232,"latitude_deg":9.5402576,"altitude":4,"angle":88,"satellites":48,"speed":26,"hex_longitude":"2d7f6340","hex_latitude":"05afba50","is_valid_coordinates":true} 
[2026-07-15 16:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732517888001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347238953306292224,"note":"Value kept but may cause issues"} 
[2026-07-15 16:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9176928690120491008,"note":"Value kept but may cause issues"} 
[2026-07-15 16:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784111402000,"timestamp_ms":1784111402000,"timestamp_seconds":1784111402,"priority":1,"record_length":96,"hex_timestamp":"0000019f65538c10"} 
[2026-07-15 16:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-15 16:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732517888001,"66":27658,"250":206,"85":12544,"24":26,"16":347238953306292224,"45":9176928690120491008},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732517888001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:01:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:01:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347238953306292224,"km_value":347238953306292.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9176928690120491008,"description":"Unknown IO ID 45"} 
[2026-07-15 16:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732517888001,"power":27658,"unknown_250":206,"unknown_85":12544,"ignition":26,"odometer":null,"unknown_45":9176928690120491008}} 
[2026-07-15 16:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":132674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:01:42] local.INFO: GPS data processed {"connection_id":132674,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:01:42] local.INFO: Acknowledgment sent {"connection_id":132674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:01:50] local.INFO: TCP Data received {"connection_id":133515,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:01:50] local.INFO: Processing buffer {"connection_id":133515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:01:50] local.INFO: IMEI packet received {"connection_id":133515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":133515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:01:51] local.INFO: TCP Data received {"connection_id":133516,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133516,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:01:51] local.INFO: Processing buffer {"connection_id":133516,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:01:51] local.INFO: IMEI packet received {"connection_id":133516,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 16:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":133516,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:01:51] local.INFO: TCP Data received {"connection_id":133515,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:01:51] local.INFO: Processing buffer {"connection_id":133515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:01:51] local.INFO: IMEI packet received {"connection_id":133515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":133515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:01:52] local.INFO: TCP Data received {"connection_id":133516,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133516,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:01:52] local.INFO: Processing buffer {"connection_id":133516,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:01:52] local.INFO: IMEI packet received {"connection_id":133516,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 16:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":133516,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:01:52] local.INFO: TCP Data received {"connection_id":133515,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f655495b0012d181e400721aae00049001a28..."} 
[2026-07-15 16:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f655495b0012d181e400721aae00049001a28..."} 
[2026-07-15 16:01:52] local.INFO: Processing buffer {"connection_id":133515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f655495b0012d181e400721aae00049001a28..."} 
[2026-07-15 16:01:52] local.INFO: Packet analysis {"connection_id":133515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6554"} 
[2026-07-15 16:01:52] local.INFO: Extracted packet for processing {"connection_id":133515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6554"} 
[2026-07-15 16:01:52] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119646944,"longitude_deg":75.6555328,"latitude_deg":11.9646944,"altitude":73,"angle":26,"satellites":40,"speed":14,"hex_longitude":"2d181e40","hex_latitude":"0721aae0","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732536064001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6117399229104128,"note":"Value kept but may cause issues"} 
[2026-07-15 16:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841132032,"note":"Value kept but may cause issues"} 
[2026-07-15 16:01: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-07-15 16:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1784111470000,"timestamp_ms":1784111470000,"timestamp_seconds":1784111470,"priority":1,"record_length":96,"hex_timestamp":"0000019f655495b0"} 
[2026-07-15 16:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:01: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-07-15 16: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-15 16:01:52] 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-07-15 16: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-07-15 16:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":133515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":133515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":133515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732536064001,"66":13928,"105":206,"83":41984,"24":14,"16":6117399229104128,"45":1737826536841132032},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732536064001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:01:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:01:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6117399229104128,"km_value":6117399229104.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841132032,"description":"Unknown IO ID 45"} 
[2026-07-15 16:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732536064001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1737826536841132032}} 
[2026-07-15 16:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":133515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:01:52] local.INFO: GPS data processed {"connection_id":133515,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:01:52] local.INFO: Acknowledgment sent {"connection_id":133515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:01:52] local.INFO: TCP Data received {"connection_id":133516,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133516,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:01:52] local.INFO: Processing buffer {"connection_id":133516,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:01:52] local.INFO: IMEI packet received {"connection_id":133516,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 16:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":133516,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:01:53] local.INFO: TCP Data received {"connection_id":133516,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133516,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:01:53] local.INFO: Processing buffer {"connection_id":133516,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:01:53] local.INFO: IMEI packet received {"connection_id":133516,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 16:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":133516,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:02:01] local.INFO: TCP Data received {"connection_id":133517,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:02:01] local.INFO: Processing buffer {"connection_id":133517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:02:01] local.INFO: IMEI packet received {"connection_id":133517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":133517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:02:06] local.INFO: TCP Data received {"connection_id":133517,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:02:06] local.INFO: Processing buffer {"connection_id":133517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:02:06] local.INFO: IMEI packet received {"connection_id":133517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":133517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:02:06] local.INFO: TCP Data received {"connection_id":133517,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f6553b708012d7f86c005afb7d00006005830..."} 
[2026-07-15 16:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6553b708012d7f86c005afb7d00006005830..."} 
[2026-07-15 16:02:06] local.INFO: Processing buffer {"connection_id":133517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6553b708012d7f86c005afb7d00006005830..."} 
[2026-07-15 16:02:06] local.INFO: Packet analysis {"connection_id":133517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6553"} 
[2026-07-15 16:02:06] local.INFO: Extracted packet for processing {"connection_id":133517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6553"} 
[2026-07-15 16:02:06] local.INFO: GPS Element Parsed {"raw_longitude":763332288,"raw_latitude":95401936,"longitude_deg":76.3332288,"latitude_deg":9.5401936,"altitude":6,"angle":88,"satellites":48,"speed":33,"hex_longitude":"2d7f86c0","hex_latitude":"05afb7d0","is_valid_coordinates":true} 
[2026-07-15 16:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732518912001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239391392956416,"note":"Value kept but may cause issues"} 
[2026-07-15 16:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9179250858678439936,"note":"Value kept but may cause issues"} 
[2026-07-15 16:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784111413000,"timestamp_ms":1784111413000,"timestamp_seconds":1784111413,"priority":1,"record_length":96,"hex_timestamp":"0000019f6553b708"} 
[2026-07-15 16:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-15 16:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732518912001,"66":28028,"250":206,"85":12544,"24":33,"16":347239391392956416,"45":9179250858678439936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732518912001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:02:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:02:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239391392956416,"km_value":347239391392956.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9179250858678439936,"description":"Unknown IO ID 45"} 
[2026-07-15 16:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732518912001,"power":28028,"unknown_250":206,"unknown_85":12544,"ignition":33,"odometer":null,"unknown_45":9179250858678439936}} 
[2026-07-15 16:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":133517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:02:07] local.INFO: GPS data processed {"connection_id":133517,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:02:07] local.INFO: Acknowledgment sent {"connection_id":133517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:02:23] local.INFO: TCP Data received {"connection_id":133515,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f65549998012d181f400721ac280049002828..."} 
[2026-07-15 16:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65549998012d181f400721ac280049002828..."} 
[2026-07-15 16:02:23] local.INFO: Processing buffer {"connection_id":133515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65549998012d181f400721ac280049002828..."} 
[2026-07-15 16:02:23] local.INFO: Packet analysis {"connection_id":133515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6554"} 
[2026-07-15 16:02:23] local.INFO: Extracted packet for processing {"connection_id":133515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6554"} 
[2026-07-15 16:02:23] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119647272,"longitude_deg":75.6555584,"latitude_deg":11.9647272,"altitude":73,"angle":40,"satellites":40,"speed":15,"hex_longitude":"2d181f40","hex_latitude":"0721ac28","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732536320001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6117420703940608,"note":"Value kept but may cause issues"} 
[2026-07-15 16:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585385472,"note":"Value kept but may cause issues"} 
[2026-07-15 16:02: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-07-15 16:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1784111471000,"timestamp_ms":1784111471000,"timestamp_seconds":1784111471,"priority":1,"record_length":96,"hex_timestamp":"0000019f65549998"} 
[2026-07-15 16:02:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:02:23] 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-07-15 16: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-15 16:02: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-07-15 16: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-07-15 16:02:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":133515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":133515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":133515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:02:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732536320001,"66":14298,"105":206,"83":41984,"24":15,"16":6117420703940608,"45":1737896905585385472},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732536320001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:02:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:02:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6117420703940608,"km_value":6117420703940.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585385472,"description":"Unknown IO ID 45"} 
[2026-07-15 16:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732536320001,"power":14298,"unknown_105":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1737896905585385472}} 
[2026-07-15 16:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":133515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:02:23] local.INFO: GPS data processed {"connection_id":133515,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:02:23] local.INFO: Acknowledgment sent {"connection_id":133515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:02:38] local.INFO: TCP Data received {"connection_id":133517,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f6553da30012d7f9f0005afb9500005003330..."} 
[2026-07-15 16:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6553da30012d7f9f0005afb9500005003330..."} 
[2026-07-15 16:02:38] local.INFO: Processing buffer {"connection_id":133517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6553da30012d7f9f0005afb9500005003330..."} 
[2026-07-15 16:02:38] local.INFO: Packet analysis {"connection_id":133517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6553"} 
[2026-07-15 16:02:38] local.INFO: Extracted packet for processing {"connection_id":133517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6553"} 
[2026-07-15 16:02:38] local.INFO: GPS Element Parsed {"raw_longitude":763338496,"raw_latitude":95402320,"longitude_deg":76.3338496,"latitude_deg":9.540232,"altitude":5,"angle":51,"satellites":48,"speed":15,"hex_longitude":"2d7f9f00","hex_latitude":"05afb950","is_valid_coordinates":true} 
[2026-07-15 16:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732521728001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239687745699840,"note":"Value kept but may cause issues"} 
[2026-07-15 16:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189243220351504384,"note":"Value kept but may cause issues"} 
[2026-07-15 16:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784111422000,"timestamp_ms":1784111422000,"timestamp_seconds":1784111422,"priority":1,"record_length":96,"hex_timestamp":"0000019f6553da30"} 
[2026-07-15 16:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-15 16:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732521728001,"66":27908,"250":206,"85":12544,"24":15,"16":347239687745699840,"45":9189243220351504384},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732521728001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:02:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:02:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239687745699840,"km_value":347239687745699.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189243220351504384,"description":"Unknown IO ID 45"} 
[2026-07-15 16:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732521728001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":15,"odometer":null,"unknown_45":9189243220351504384}} 
[2026-07-15 16:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":133517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:02:38] local.INFO: GPS data processed {"connection_id":133517,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:02:38] local.INFO: Acknowledgment sent {"connection_id":133517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:02:39] local.INFO: TCP Data received {"connection_id":133518,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133518,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:02:39] local.INFO: Processing buffer {"connection_id":133518,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:02:39] local.INFO: IMEI packet received {"connection_id":133518,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 16:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":133518,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:02:40] local.INFO: TCP Data received {"connection_id":133518,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133518,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:02:40] local.INFO: Processing buffer {"connection_id":133518,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:02:40] local.INFO: IMEI packet received {"connection_id":133518,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":133518,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:02:50] local.INFO: TCP Data received {"connection_id":132488,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:02:50] local.INFO: Processing buffer {"connection_id":132488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:02:50] local.INFO: IMEI packet received {"connection_id":132488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":132488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:02:51] local.INFO: TCP Data received {"connection_id":132488,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:02:51] local.INFO: Processing buffer {"connection_id":132488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:02:51] local.INFO: IMEI packet received {"connection_id":132488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":132488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:02:54] local.INFO: TCP Data received {"connection_id":132488,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:02:54] local.INFO: Processing buffer {"connection_id":132488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:02:54] local.INFO: IMEI packet received {"connection_id":132488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":132488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:02:55] local.INFO: TCP Data received {"connection_id":132488,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f6554a168012d1821400721af480049001b26..."} 
[2026-07-15 16:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6554a168012d1821400721af480049001b26..."} 
[2026-07-15 16:02:55] local.INFO: Processing buffer {"connection_id":132488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6554a168012d1821400721af480049001b26..."} 
[2026-07-15 16:02:55] local.INFO: Packet analysis {"connection_id":132488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6554"} 
[2026-07-15 16:02:55] local.INFO: Extracted packet for processing {"connection_id":132488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6554"} 
[2026-07-15 16:02:55] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119648072,"longitude_deg":75.6556096,"latitude_deg":11.9648072,"altitude":73,"angle":27,"satellites":38,"speed":20,"hex_longitude":"2d182140","hex_latitude":"0721af48","is_valid_coordinates":true} 
[2026-07-15 16:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732536576001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6117463653613568,"note":"Value kept but may cause issues"} 
[2026-07-15 16:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562180096,"note":"Value kept but may cause issues"} 
[2026-07-15 16:02:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784111473000,"timestamp_ms":1784111473000,"timestamp_seconds":1784111473,"priority":1,"record_length":96,"hex_timestamp":"0000019f6554a168"} 
[2026-07-15 16:02:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:02:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-15 16:02:55] 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-07-15 16:02:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:02:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":132488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":132488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":132488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:02:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732536576001,"66":14374,"105":206,"83":41984,"24":20,"16":6117463653613568,"45":1738178380562180096},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732536576001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:02:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:02:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6117463653613568,"km_value":6117463653613.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562180096,"description":"Unknown IO ID 45"} 
[2026-07-15 16:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732536576001,"power":14374,"unknown_105":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1738178380562180096}} 
[2026-07-15 16:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":132488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:02:55] local.INFO: GPS data processed {"connection_id":132488,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:02:55] local.INFO: Acknowledgment sent {"connection_id":132488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:03:00] local.INFO: TCP Data received {"connection_id":134889,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:03:00] local.INFO: Processing buffer {"connection_id":134889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:03:00] local.INFO: IMEI packet received {"connection_id":134889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":134889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:03:06] local.INFO: TCP Data received {"connection_id":134889,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:03:06] local.INFO: Processing buffer {"connection_id":134889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:03:06] local.INFO: IMEI packet received {"connection_id":134889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":134889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:03:06] local.INFO: TCP Data received {"connection_id":134889,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f6553de18012d7f9fc005afba48000500152f..."} 
[2026-07-15 16:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6553de18012d7f9fc005afba48000500152f..."} 
[2026-07-15 16:03:06] local.INFO: Processing buffer {"connection_id":134889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6553de18012d7f9fc005afba48000500152f..."} 
[2026-07-15 16:03:06] local.INFO: Packet analysis {"connection_id":134889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6553"} 
[2026-07-15 16:03:06] local.INFO: Extracted packet for processing {"connection_id":134889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6553"} 
[2026-07-15 16:03:06] local.INFO: GPS Element Parsed {"raw_longitude":763338688,"raw_latitude":95402568,"longitude_deg":76.3338688,"latitude_deg":9.5402568,"altitude":5,"angle":21,"satellites":47,"speed":10,"hex_longitude":"2d7f9fc0","hex_latitude":"05afba48","is_valid_coordinates":true} 
[2026-07-15 16:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732524032001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239704925569024,"note":"Value kept but may cause issues"} 
[2026-07-15 16:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196068988536836096,"note":"Value kept but may cause issues"} 
[2026-07-15 16:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784111423000,"timestamp_ms":1784111423000,"timestamp_seconds":1784111423,"priority":1,"record_length":96,"hex_timestamp":"0000019f6553de18"} 
[2026-07-15 16:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 16:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":134889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":134889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":134889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732524032001,"66":27908,"250":206,"85":12544,"24":10,"16":347239704925569024,"45":9196068988536836096},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732524032001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:03:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:03:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239704925569024,"km_value":347239704925569.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196068988536836096,"description":"Unknown IO ID 45"} 
[2026-07-15 16:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732524032001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":10,"odometer":null,"unknown_45":9196068988536836096}} 
[2026-07-15 16:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":134889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:03:06] local.INFO: GPS data processed {"connection_id":134889,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:03:06] local.INFO: Acknowledgment sent {"connection_id":134889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:03:09] local.INFO: TCP Data received {"connection_id":132676,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132676,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:03:09] local.INFO: Processing buffer {"connection_id":132676,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:03:09] local.INFO: IMEI packet received {"connection_id":132676,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 16:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":132676,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:03:14] local.INFO: TCP Data received {"connection_id":132676,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132676,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:03:14] local.INFO: Processing buffer {"connection_id":132676,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:03:14] local.INFO: IMEI packet received {"connection_id":132676,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":132676,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:03:16] local.INFO: TCP Data received {"connection_id":132676,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f6554d818012d7a330005e45af80006004b29..."} 
[2026-07-15 16:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6554d818012d7a330005e45af80006004b29..."} 
[2026-07-15 16:03:16] local.INFO: Processing buffer {"connection_id":132676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6554d818012d7a330005e45af80006004b29..."} 
[2026-07-15 16:03:16] local.INFO: Packet analysis {"connection_id":132676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6554"} 
[2026-07-15 16:03:16] local.INFO: Extracted packet for processing {"connection_id":132676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6554"} 
[2026-07-15 16:03:16] local.INFO: GPS Element Parsed {"raw_longitude":762983168,"raw_latitude":98851576,"longitude_deg":76.2983168,"latitude_deg":9.8851576,"altitude":6,"angle":75,"satellites":41,"speed":16,"hex_longitude":"2d7a3300","hex_latitude":"05e45af8","is_valid_coordinates":true} 
[2026-07-15 16:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732540416001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106597884241117184,"note":"Value kept but may cause issues"} 
[2026-07-15 16:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804959509280356352,"note":"Value kept but may cause issues"} 
[2026-07-15 16:03:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784111487000,"timestamp_ms":1784111487000,"timestamp_seconds":1784111487,"priority":1,"record_length":96,"hex_timestamp":"0000019f6554d818"} 
[2026-07-15 16:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-15 16:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:03:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732540416001,"66":13276,"97":206,"85":15104,"24":16,"16":106597884241117184,"45":8804959509280356352},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 16:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732540416001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:03:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 16:03:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 16:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106597884241117184,"km_value":106597884241117.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804959509280356352,"description":"Unknown IO ID 45"} 
[2026-07-15 16:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732540416001,"power":13276,"unknown_97":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8804959509280356352}} 
[2026-07-15 16:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":132676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491616,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:03:16] local.INFO: GPS data processed {"connection_id":132676,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:03:16] local.INFO: Acknowledgment sent {"connection_id":132676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:03:26] local.INFO: TCP Data received {"connection_id":132488,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f6555aef0012d186dc007220ae00058003027..."} 
[2026-07-15 16:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6555aef0012d186dc007220ae00058003027..."} 
[2026-07-15 16:03:26] local.INFO: Processing buffer {"connection_id":132488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6555aef0012d186dc007220ae00058003027..."} 
[2026-07-15 16:03:26] local.INFO: Packet analysis {"connection_id":132488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6555"} 
[2026-07-15 16:03:26] local.INFO: Extracted packet for processing {"connection_id":132488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6555"} 
[2026-07-15 16:03:26] local.INFO: GPS Element Parsed {"raw_longitude":756575680,"raw_latitude":119671520,"longitude_deg":75.657568,"latitude_deg":11.967152,"altitude":88,"angle":48,"satellites":39,"speed":3,"hex_longitude":"2d186dc0","hex_latitude":"07220ae0","is_valid_coordinates":true} 
[2026-07-15 16:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:03:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732554496001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:03:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6119074266349568,"note":"Value kept but may cause issues"} 
[2026-07-15 16:03:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760274166240153600,"note":"Value kept but may cause issues"} 
[2026-07-15 16:03:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:03:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784111542000,"timestamp_ms":1784111542000,"timestamp_seconds":1784111542,"priority":1,"record_length":96,"hex_timestamp":"0000019f6555aef0"} 
[2026-07-15 16:03:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:03:26] 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-07-15 16:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-15 16:03:26] 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-07-15 16:03:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:03:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:03:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:03:26] local.INFO: Teltonika packet parsed successfully {"connection_id":132488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:03:26] local.INFO: Passing IMEI to GPS processor {"connection_id":132488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:03:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":132488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:03:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:03:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:03:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:03:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732554496001,"66":12645,"105":206,"83":41984,"24":3,"16":6119074266349568,"45":1760274166240153600},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:03:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:03:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:03:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732554496001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:03:26] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:03:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:03:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6119074266349568,"km_value":6119074266349.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:03:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760274166240153600,"description":"Unknown IO ID 45"} 
[2026-07-15 16:03:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732554496001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1760274166240153600}} 
[2026-07-15 16:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":132488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491617,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:03:26] local.INFO: GPS data processed {"connection_id":132488,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:03:26] local.INFO: Acknowledgment sent {"connection_id":132488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:03:37] local.INFO: TCP Data received {"connection_id":134889,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f6553e200012d7fa00005afbb10000500072f..."} 
[2026-07-15 16:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6553e200012d7fa00005afbb10000500072f..."} 
[2026-07-15 16:03:37] local.INFO: Processing buffer {"connection_id":134889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6553e200012d7fa00005afbb10000500072f..."} 
[2026-07-15 16:03:37] local.INFO: Packet analysis {"connection_id":134889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6553"} 
[2026-07-15 16:03:37] local.INFO: Extracted packet for processing {"connection_id":134889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6553"} 
[2026-07-15 16:03:37] local.INFO: GPS Element Parsed {"raw_longitude":763338752,"raw_latitude":95402768,"longitude_deg":76.3338752,"latitude_deg":9.5402768,"altitude":5,"angle":7,"satellites":47,"speed":6,"hex_longitude":"2d7fa000","hex_latitude":"05afbb10","is_valid_coordinates":true} 
[2026-07-15 16:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732524288001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239713515503616,"note":"Value kept but may cause issues"} 
[2026-07-15 16:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196280094769432576,"note":"Value kept but may cause issues"} 
[2026-07-15 16:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784111424000,"timestamp_ms":1784111424000,"timestamp_seconds":1784111424,"priority":1,"record_length":96,"hex_timestamp":"0000019f6553e200"} 
[2026-07-15 16:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 16:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":134889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":134889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":134889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732524288001,"66":27821,"250":206,"85":12544,"24":6,"16":347239713515503616,"45":9196280094769432576},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732524288001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:03:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:03:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239713515503616,"km_value":347239713515503.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196280094769432576,"description":"Unknown IO ID 45"} 
[2026-07-15 16:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732524288001,"power":27821,"unknown_250":206,"unknown_85":12544,"ignition":6,"odometer":null,"unknown_45":9196280094769432576}} 
[2026-07-15 16:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":134889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:03:38] local.INFO: GPS data processed {"connection_id":134889,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:03:38] local.INFO: Acknowledgment sent {"connection_id":134889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:03:50] local.INFO: TCP Data received {"connection_id":132490,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:03:50] local.INFO: Processing buffer {"connection_id":132490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:03:50] local.INFO: IMEI packet received {"connection_id":132490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":132490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:03:55] local.INFO: TCP Data received {"connection_id":132490,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:03:55] local.INFO: Processing buffer {"connection_id":132490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:03:55] local.INFO: IMEI packet received {"connection_id":132490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":132490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:03:56] local.INFO: TCP Data received {"connection_id":132490,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f6555b2d8012d186e0007220af80059005827..."} 
[2026-07-15 16:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6555b2d8012d186e0007220af80059005827..."} 
[2026-07-15 16:03:56] local.INFO: Processing buffer {"connection_id":132490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6555b2d8012d186e0007220af80059005827..."} 
[2026-07-15 16:03:56] local.INFO: Packet analysis {"connection_id":132490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6555"} 
[2026-07-15 16:03:56] local.INFO: Extracted packet for processing {"connection_id":132490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6555"} 
[2026-07-15 16:03:56] local.INFO: GPS Element Parsed {"raw_longitude":756575744,"raw_latitude":119671544,"longitude_deg":75.6575744,"latitude_deg":11.9671544,"altitude":89,"angle":88,"satellites":39,"speed":0,"hex_longitude":"2d186e00","hex_latitude":"07220af8","is_valid_coordinates":true} 
[2026-07-15 16:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732554752001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6119078561316864,"note":"Value kept but may cause issues"} 
[2026-07-15 16:03:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760274166240174080,"note":"Value kept but may cause issues"} 
[2026-07-15 16:03:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784111543000,"timestamp_ms":1784111543000,"timestamp_seconds":1784111543,"priority":1,"record_length":96,"hex_timestamp":"0000019f6555b2d8"} 
[2026-07-15 16:03:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:03:56] 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-07-15 16:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-15 16:03:56] 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-07-15 16:03:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:03:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732554752001,"66":12558,"105":206,"83":41984,"24":0,"16":6119078561316864,"45":1760274166240174080},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732554752001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:03:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:03:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6119078561316864,"km_value":6119078561316.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:03:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760274166240174080,"description":"Unknown IO ID 45"} 
[2026-07-15 16:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732554752001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1760274166240174080}} 
[2026-07-15 16:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":132490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:03:56] local.INFO: GPS data processed {"connection_id":132490,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:03:56] local.INFO: Acknowledgment sent {"connection_id":132490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:04:00] local.INFO: TCP Data received {"connection_id":133520,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:04:00] local.INFO: Processing buffer {"connection_id":133520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:04:00] local.INFO: IMEI packet received {"connection_id":133520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":133520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:04:03] local.INFO: TCP Data received {"connection_id":133519,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133519,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:04:03] local.INFO: Processing buffer {"connection_id":133519,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:04:03] local.INFO: IMEI packet received {"connection_id":133519,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 16:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":133519,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:04:04] local.INFO: TCP Data received {"connection_id":133519,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133519,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:04:04] local.INFO: Processing buffer {"connection_id":133519,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:04:04] local.INFO: IMEI packet received {"connection_id":133519,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":133519,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:04:06] local.INFO: TCP Data received {"connection_id":133520,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:04:06] local.INFO: Processing buffer {"connection_id":133520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:04:06] local.INFO: IMEI packet received {"connection_id":133520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":133520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:04:06] local.INFO: TCP Data received {"connection_id":133520,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f65543408012d7fa08005afbbb00005000730..."} 
[2026-07-15 16:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65543408012d7fa08005afbbb00005000730..."} 
[2026-07-15 16:04:06] local.INFO: Processing buffer {"connection_id":133520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65543408012d7fa08005afbbb00005000730..."} 
[2026-07-15 16:04:06] local.INFO: Packet analysis {"connection_id":133520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6554"} 
[2026-07-15 16:04:06] local.INFO: Extracted packet for processing {"connection_id":133520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6554"} 
[2026-07-15 16:04:06] local.INFO: GPS Element Parsed {"raw_longitude":763338880,"raw_latitude":95402928,"longitude_deg":76.333888,"latitude_deg":9.5402928,"altitude":5,"angle":7,"satellites":48,"speed":0,"hex_longitude":"2d7fa080","hex_latitude":"05afbbb0","is_valid_coordinates":true} 
[2026-07-15 16:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732524544001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239726400405504,"note":"Value kept but may cause issues"} 
[2026-07-15 16:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196350463513661440,"note":"Value kept but may cause issues"} 
[2026-07-15 16:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784111445000,"timestamp_ms":1784111445000,"timestamp_seconds":1784111445,"priority":1,"record_length":96,"hex_timestamp":"0000019f65543408"} 
[2026-07-15 16:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 16:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732524544001,"66":27995,"250":206,"85":12544,"24":0,"16":347239726400405504,"45":9196350463513661440},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732524544001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:04:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:04:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239726400405504,"km_value":347239726400405.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196350463513661440,"description":"Unknown IO ID 45"} 
[2026-07-15 16:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732524544001,"power":27995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196350463513661440}} 
[2026-07-15 16:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":133520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:04:06] local.INFO: GPS data processed {"connection_id":133520,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:04:06] local.INFO: Acknowledgment sent {"connection_id":133520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:04:08] local.INFO: TCP Data received {"connection_id":133519,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133519,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:04:08] local.INFO: Processing buffer {"connection_id":133519,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:04:08] local.INFO: IMEI packet received {"connection_id":133519,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":133519,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:04:09] local.INFO: TCP Data received {"connection_id":133519,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f65567a10012d7ace4005e411180006009c2b..."} 
[2026-07-15 16:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65567a10012d7ace4005e411180006009c2b..."} 
[2026-07-15 16:04:09] local.INFO: Processing buffer {"connection_id":133519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65567a10012d7ace4005e411180006009c2b..."} 
[2026-07-15 16:04:09] local.INFO: Packet analysis {"connection_id":133519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6556"} 
[2026-07-15 16:04:09] local.INFO: Extracted packet for processing {"connection_id":133519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6556"} 
[2026-07-15 16:04:09] local.INFO: GPS Element Parsed {"raw_longitude":763022912,"raw_latitude":98832664,"longitude_deg":76.3022912,"latitude_deg":9.8832664,"altitude":6,"angle":156,"satellites":43,"speed":4,"hex_longitude":"2d7ace40","hex_latitude":"05e41118","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732564224001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106600233588228096,"note":"Value kept but may cause issues"} 
[2026-07-15 16:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849010343130853376,"note":"Value kept but may cause issues"} 
[2026-07-15 16:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784111594000,"timestamp_ms":1784111594000,"timestamp_seconds":1784111594,"priority":1,"record_length":96,"hex_timestamp":"0000019f65567a10"} 
[2026-07-15 16:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-15 16:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16: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-07-15 16:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":133519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":133519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":133519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732564224001,"66":13341,"97":206,"85":15104,"24":4,"16":106600233588228096,"45":8849010343130853376},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 16:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732564224001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:04:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 16:04:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 16:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106600233588228096,"km_value":106600233588228.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849010343130853376,"description":"Unknown IO ID 45"} 
[2026-07-15 16:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732564224001,"power":13341,"unknown_97":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8849010343130853376}} 
[2026-07-15 16:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":133519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491621,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:04:09] local.INFO: GPS data processed {"connection_id":133519,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:04:09] local.INFO: Acknowledgment sent {"connection_id":133519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:04:27] local.INFO: TCP Data received {"connection_id":132490,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f655604e0012d186dc007220af80058005829..."} 
[2026-07-15 16:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f655604e0012d186dc007220af80058005829..."} 
[2026-07-15 16:04:27] local.INFO: Processing buffer {"connection_id":132490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f655604e0012d186dc007220af80058005829..."} 
[2026-07-15 16:04:27] local.INFO: Packet analysis {"connection_id":132490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6556"} 
[2026-07-15 16:04:27] local.INFO: Extracted packet for processing {"connection_id":132490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6556"} 
[2026-07-15 16:04:27] local.INFO: GPS Element Parsed {"raw_longitude":756575680,"raw_latitude":119671544,"longitude_deg":75.657568,"latitude_deg":11.9671544,"altitude":88,"angle":88,"satellites":41,"speed":0,"hex_longitude":"2d186dc0","hex_latitude":"07220af8","is_valid_coordinates":true} 
[2026-07-15 16:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732555008001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6119082856284160,"note":"Value kept but may cause issues"} 
[2026-07-15 16:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760344534984357888,"note":"Value kept but may cause issues"} 
[2026-07-15 16:04: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-07-15 16:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784111564000,"timestamp_ms":1784111564000,"timestamp_seconds":1784111564,"priority":1,"record_length":96,"hex_timestamp":"0000019f655604e0"} 
[2026-07-15 16:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:04:27] 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-07-15 16:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-15 16:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-07-15 16:04:27] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-15 16:04:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-15 16:04:27] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249469726813978776,"note":"Value kept but may cause issues"} 
[2026-07-15 16:04:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-15 16:04:27] local.WARNING: Large IO value detected {"io_id":139,"raw_value":3355520280,"note":"Value kept but may cause issues"} 
[2026-07-15 16:04:27] local.WARNING: Large IO value detected {"io_id":112,"raw_value":2147951107,"note":"Value kept but may cause issues"} 
[2026-07-15 16:04:27] local.WARNING: Large IO value detected {"io_id":21,"raw_value":3173777408,"note":"Value kept but may cause issues"} 
[2026-07-15 16:04:27] local.WARNING: Large IO value detected {"io_id":5,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-15 16:04:27] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-07-15 16:04:27] local.WARNING: Large IO value detected {"io_id":60,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-15 16:04:27] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304408305666,"note":"Value kept but may cause issues"} 
[2026-07-15 16:04:27] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,105,83,24,241,157,16,189,159,174,45,192,10,88,39,66,171,167,128,1,240,14,227,101,34,4,113,205,12,139,112,37,239,49,2,21,7,84,5,106,60,206],"length":575,"final_offset":705,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-15 16:04:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6413222793902555136,"timestamp_seconds":6413222793902555.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 16:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":132490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":132490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":132490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:04:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732555008001,"66":12428,"105":206,"83":41984,"24":0,"16":6119082856284160,"45":1760344534984357888},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732555008001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:04:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:04:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6119082856284160,"km_value":6119082856284.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760344534984357888,"description":"Unknown IO ID 45"} 
[2026-07-15 16:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732555008001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1760344534984357888}} 
[2026-07-15 16:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":132490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:04:27] local.INFO: GPS data processed {"connection_id":132490,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:04:27] local.INFO: Acknowledgment sent {"connection_id":132490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:04:37] local.INFO: TCP Data received {"connection_id":133520,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f65545348012d7fa20005afbef80005000231..."} 
[2026-07-15 16:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65545348012d7fa20005afbef80005000231..."} 
[2026-07-15 16:04:37] local.INFO: Processing buffer {"connection_id":133520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65545348012d7fa20005afbef80005000231..."} 
[2026-07-15 16:04:37] local.INFO: Packet analysis {"connection_id":133520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6554"} 
[2026-07-15 16:04:37] local.INFO: Extracted packet for processing {"connection_id":133520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6554"} 
[2026-07-15 16:04:37] local.INFO: GPS Element Parsed {"raw_longitude":763339264,"raw_latitude":95403768,"longitude_deg":76.3339264,"latitude_deg":9.5403768,"altitude":5,"angle":2,"satellites":49,"speed":7,"hex_longitude":"2d7fa200","hex_latitude":"05afbef8","is_valid_coordinates":true} 
[2026-07-15 16:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732529920001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196491201002057728,"note":"Value kept but may cause issues"} 
[2026-07-15 16:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784111453000,"timestamp_ms":1784111453000,"timestamp_seconds":1784111453,"priority":1,"record_length":96,"hex_timestamp":"0000019f65545348"} 
[2026-07-15 16:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-15 16:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732529920001,"66":27865,"250":206,"85":12544,"24":7,"16":347239773645045760,"45":9196491201002057728},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732529920001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:04:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:04:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196491201002057728,"description":"Unknown IO ID 45"} 
[2026-07-15 16:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732529920001,"power":27865,"unknown_250":206,"unknown_85":12544,"ignition":7,"odometer":null,"unknown_45":9196491201002057728}} 
[2026-07-15 16:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":133520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:04:37] local.INFO: GPS data processed {"connection_id":133520,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:04:37] local.INFO: Acknowledgment sent {"connection_id":133520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:04:41] local.INFO: TCP Data received {"connection_id":133519,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f65569568012d7ad0c005e40a08000600a92c..."} 
[2026-07-15 16:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65569568012d7ad0c005e40a08000600a92c..."} 
[2026-07-15 16:04:41] local.INFO: Processing buffer {"connection_id":133519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65569568012d7ad0c005e40a08000600a92c..."} 
[2026-07-15 16:04:41] local.INFO: Packet analysis {"connection_id":133519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6556"} 
[2026-07-15 16:04:41] local.INFO: Extracted packet for processing {"connection_id":133519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6556"} 
[2026-07-15 16:04:41] local.INFO: GPS Element Parsed {"raw_longitude":763023552,"raw_latitude":98830856,"longitude_deg":76.3023552,"latitude_deg":9.8830856,"altitude":6,"angle":169,"satellites":44,"speed":11,"hex_longitude":"2d7ad0c0","hex_latitude":"05e40a08","is_valid_coordinates":true} 
[2026-07-15 16:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732568064001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106600328077508608,"note":"Value kept but may cause issues"} 
[2026-07-15 16:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849080711874942976,"note":"Value kept but may cause issues"} 
[2026-07-15 16:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784111601000,"timestamp_ms":1784111601000,"timestamp_seconds":1784111601,"priority":1,"record_length":96,"hex_timestamp":"0000019f65569568"} 
[2026-07-15 16:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-15 16:04:41] 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-07-15 16:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":133519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":133519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":133519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732568064001,"66":13276,"97":206,"85":15104,"24":11,"16":106600328077508608,"45":8849080711874942976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 16:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732568064001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:04:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 16:04:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 16:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106600328077508608,"km_value":106600328077508.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849080711874942976,"description":"Unknown IO ID 45"} 
[2026-07-15 16:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732568064001,"power":13276,"unknown_97":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8849080711874942976}} 
[2026-07-15 16:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":133519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491624,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:04:41] local.INFO: GPS data processed {"connection_id":133519,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:04:41] local.INFO: Acknowledgment sent {"connection_id":133519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:04:49] local.INFO: TCP Data received {"connection_id":132679,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132679,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:04:49] local.INFO: Processing buffer {"connection_id":132679,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:04:49] local.INFO: IMEI packet received {"connection_id":132679,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 16:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":132679,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:04:51] local.INFO: TCP Data received {"connection_id":133521,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:04:51] local.INFO: Processing buffer {"connection_id":133521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:04:51] local.INFO: IMEI packet received {"connection_id":133521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":133521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:04:55] local.INFO: TCP Data received {"connection_id":133521,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:04:55] local.INFO: Processing buffer {"connection_id":133521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:04:55] local.INFO: IMEI packet received {"connection_id":133521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":133521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:04:56] local.INFO: TCP Data received {"connection_id":133521,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f655656e8012d186dc007220af8005800582a..."} 
[2026-07-15 16:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f655656e8012d186dc007220af8005800582a..."} 
[2026-07-15 16:04:56] local.INFO: Processing buffer {"connection_id":133521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f655656e8012d186dc007220af8005800582a..."} 
[2026-07-15 16:04:56] local.INFO: Packet analysis {"connection_id":133521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6556"} 
[2026-07-15 16:04:56] local.INFO: Extracted packet for processing {"connection_id":133521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6556"} 
[2026-07-15 16:04:56] local.INFO: GPS Element Parsed {"raw_longitude":756575680,"raw_latitude":119671544,"longitude_deg":75.657568,"latitude_deg":11.9671544,"altitude":88,"angle":88,"satellites":42,"speed":0,"hex_longitude":"2d186dc0","hex_latitude":"07220af8","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732560384001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6119082856284160,"note":"Value kept but may cause issues"} 
[2026-07-15 16:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760274166240180224,"note":"Value kept but may cause issues"} 
[2026-07-15 16:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784111585000,"timestamp_ms":1784111585000,"timestamp_seconds":1784111585,"priority":1,"record_length":96,"hex_timestamp":"0000019f655656e8"} 
[2026-07-15 16:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:04:56] 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-07-15 16: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-15 16:04:56] 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-07-15 16: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-07-15 16:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732560384001,"66":12232,"105":206,"83":41984,"24":0,"16":6119082856284160,"45":1760274166240180224},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732560384001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:04:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:04:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6119082856284160,"km_value":6119082856284.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760274166240180224,"description":"Unknown IO ID 45"} 
[2026-07-15 16:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732560384001,"power":12232,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1760274166240180224}} 
[2026-07-15 16:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":133521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:04:56] local.INFO: GPS data processed {"connection_id":133521,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:04:56] local.INFO: Acknowledgment sent {"connection_id":133521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:04:59] local.INFO: TCP Data received {"connection_id":132491,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132491,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:04:59] local.INFO: Processing buffer {"connection_id":132491,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:04:59] local.INFO: IMEI packet received {"connection_id":132491,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 16:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":132491,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:05:00] local.INFO: TCP Data received {"connection_id":132492,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:05:00] local.INFO: Processing buffer {"connection_id":132492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:05:00] local.INFO: IMEI packet received {"connection_id":132492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":132492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:05:04] local.INFO: TCP Data received {"connection_id":132491,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132491,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:05:04] local.INFO: Processing buffer {"connection_id":132491,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:05:04] local.INFO: IMEI packet received {"connection_id":132491,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":132491,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:05:05] local.INFO: TCP Data received {"connection_id":132491,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f6556e388012d7ad80005e3e9b0000600a728..."} 
[2026-07-15 16:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6556e388012d7ad80005e3e9b0000600a728..."} 
[2026-07-15 16:05:05] local.INFO: Processing buffer {"connection_id":132491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6556e388012d7ad80005e3e9b0000600a728..."} 
[2026-07-15 16:05:05] local.INFO: Packet analysis {"connection_id":132491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6556"} 
[2026-07-15 16:05:05] local.INFO: Extracted packet for processing {"connection_id":132491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6556"} 
[2026-07-15 16:05:05] local.INFO: GPS Element Parsed {"raw_longitude":763025408,"raw_latitude":98822576,"longitude_deg":76.3025408,"latitude_deg":9.8822576,"altitude":6,"angle":167,"satellites":40,"speed":8,"hex_longitude":"2d7ad800","hex_latitude":"05e3e9b0","is_valid_coordinates":true} 
[2026-07-15 16:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732569856001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106600740394369024,"note":"Value kept but may cause issues"} 
[2026-07-15 16:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849784399316256768,"note":"Value kept but may cause issues"} 
[2026-07-15 16:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784111621000,"timestamp_ms":1784111621000,"timestamp_seconds":1784111621,"priority":1,"record_length":96,"hex_timestamp":"0000019f6556e388"} 
[2026-07-15 16:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-15 16:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732569856001,"66":13178,"97":206,"85":15104,"24":8,"16":106600740394369024,"45":8849784399316256768},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 16:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732569856001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:05:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 16:05:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 16:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106600740394369024,"km_value":106600740394369.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849784399316256768,"description":"Unknown IO ID 45"} 
[2026-07-15 16:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732569856001,"power":13178,"unknown_97":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8849784399316256768}} 
[2026-07-15 16:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":132491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491626,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:05:05] local.INFO: GPS data processed {"connection_id":132491,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:05:05] local.INFO: Acknowledgment sent {"connection_id":132491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:05:06] local.INFO: TCP Data received {"connection_id":132492,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:05:06] local.INFO: Processing buffer {"connection_id":132492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:05:06] local.INFO: IMEI packet received {"connection_id":132492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":132492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:05:06] local.INFO: TCP Data received {"connection_id":132492,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f65545348012d7fa20005afbef80005000231..."} 
[2026-07-15 16:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65545348012d7fa20005afbef80005000231..."} 
[2026-07-15 16:05:06] local.INFO: Processing buffer {"connection_id":132492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65545348012d7fa20005afbef80005000231..."} 
[2026-07-15 16:05:06] local.INFO: Packet analysis {"connection_id":132492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6554"} 
[2026-07-15 16:05:06] local.INFO: Extracted packet for processing {"connection_id":132492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6554"} 
[2026-07-15 16:05:06] local.INFO: GPS Element Parsed {"raw_longitude":763339264,"raw_latitude":95403768,"longitude_deg":76.3339264,"latitude_deg":9.5403768,"altitude":5,"angle":2,"satellites":49,"speed":7,"hex_longitude":"2d7fa200","hex_latitude":"05afbef8","is_valid_coordinates":true} 
[2026-07-15 16:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732529920001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196491201002057728,"note":"Value kept but may cause issues"} 
[2026-07-15 16:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784111453000,"timestamp_ms":1784111453000,"timestamp_seconds":1784111453,"priority":1,"record_length":96,"hex_timestamp":"0000019f65545348"} 
[2026-07-15 16:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-15 16:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732529920001,"66":27865,"250":206,"85":12544,"24":7,"16":347239773645045760,"45":9196491201002057728},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732529920001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:05:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:05:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196491201002057728,"description":"Unknown IO ID 45"} 
[2026-07-15 16:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732529920001,"power":27865,"unknown_250":206,"unknown_85":12544,"ignition":7,"odometer":null,"unknown_45":9196491201002057728}} 
[2026-07-15 16:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":132492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:05:06] local.INFO: GPS data processed {"connection_id":132492,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:05:06] local.INFO: Acknowledgment sent {"connection_id":132492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:05:27] local.INFO: TCP Data received {"connection_id":133521,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f6556a8f0012d186dc007220af80058005829..."} 
[2026-07-15 16:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6556a8f0012d186dc007220af80058005829..."} 
[2026-07-15 16:05:27] local.INFO: Processing buffer {"connection_id":133521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6556a8f0012d186dc007220af80058005829..."} 
[2026-07-15 16:05:27] local.INFO: Packet analysis {"connection_id":133521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6556"} 
[2026-07-15 16:05:27] local.INFO: Extracted packet for processing {"connection_id":133521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6556"} 
[2026-07-15 16:05:27] local.INFO: GPS Element Parsed {"raw_longitude":756575680,"raw_latitude":119671544,"longitude_deg":75.657568,"latitude_deg":11.9671544,"altitude":88,"angle":88,"satellites":41,"speed":0,"hex_longitude":"2d186dc0","hex_latitude":"07220af8","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732565760001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6119082856284160,"note":"Value kept but may cause issues"} 
[2026-07-15 16:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760274166240180224,"note":"Value kept but may cause issues"} 
[2026-07-15 16:05: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-07-15 16:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784111606000,"timestamp_ms":1784111606000,"timestamp_seconds":1784111606,"priority":1,"record_length":96,"hex_timestamp":"0000019f6556a8f0"} 
[2026-07-15 16:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:05:27] 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-07-15 16: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-15 16:05:27] 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-07-15 16: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-07-15 16:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":133521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":133521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":133521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:05:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732565760001,"66":12232,"105":206,"83":41984,"24":0,"16":6119082856284160,"45":1760274166240180224},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732565760001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:05:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:05:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6119082856284160,"km_value":6119082856284.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760274166240180224,"description":"Unknown IO ID 45"} 
[2026-07-15 16:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732565760001,"power":12232,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1760274166240180224}} 
[2026-07-15 16:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":133521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:05:27] local.INFO: GPS data processed {"connection_id":133521,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:05:27] local.INFO: Acknowledgment sent {"connection_id":133521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:05:34] local.INFO: TCP Data received {"connection_id":134890,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134890,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:05:34] local.INFO: Processing buffer {"connection_id":134890,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:05:34] local.INFO: IMEI packet received {"connection_id":134890,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 16:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":134890,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:05:36] local.INFO: TCP Data received {"connection_id":132491,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f65584700012d7aaf0005e3db90000600ff24..."} 
[2026-07-15 16:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65584700012d7aaf0005e3db90000600ff24..."} 
[2026-07-15 16:05:36] local.INFO: Processing buffer {"connection_id":132491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65584700012d7aaf0005e3db90000600ff24..."} 
[2026-07-15 16:05:36] local.INFO: Packet analysis {"connection_id":132491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6558"} 
[2026-07-15 16:05:36] local.INFO: Extracted packet for processing {"connection_id":132491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6558"} 
[2026-07-15 16:05:36] local.INFO: GPS Element Parsed {"raw_longitude":763014912,"raw_latitude":98818960,"longitude_deg":76.3014912,"latitude_deg":9.881896,"altitude":6,"angle":255,"satellites":36,"speed":7,"hex_longitude":"2d7aaf00","hex_latitude":"05e3db90","is_valid_coordinates":true} 
[2026-07-15 16:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732597504001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106601333099855872,"note":"Value kept but may cause issues"} 
[2026-07-15 16:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8840777200058583040,"note":"Value kept but may cause issues"} 
[2026-07-15 16:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784111712000,"timestamp_ms":1784111712000,"timestamp_seconds":1784111712,"priority":1,"record_length":96,"hex_timestamp":"0000019f65584700"} 
[2026-07-15 16:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-15 16:05: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-07-15 16:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732597504001,"66":13298,"97":206,"85":15104,"24":7,"16":106601333099855872,"45":8840777200058583040},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 16:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732597504001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:05:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 16:05:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 16:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106601333099855872,"km_value":106601333099855.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8840777200058583040,"description":"Unknown IO ID 45"} 
[2026-07-15 16:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732597504001,"power":13298,"unknown_97":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8840777200058583040}} 
[2026-07-15 16:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":132491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491629,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:05:36] local.INFO: GPS data processed {"connection_id":132491,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:05:36] local.INFO: Acknowledgment sent {"connection_id":132491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:05:37] local.INFO: TCP Data received {"connection_id":132492,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f65545348012d7fa20005afbef80005000231..."} 
[2026-07-15 16:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65545348012d7fa20005afbef80005000231..."} 
[2026-07-15 16:05:37] local.INFO: Processing buffer {"connection_id":132492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65545348012d7fa20005afbef80005000231..."} 
[2026-07-15 16:05:37] local.INFO: Packet analysis {"connection_id":132492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6554"} 
[2026-07-15 16:05:37] local.INFO: Extracted packet for processing {"connection_id":132492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6554"} 
[2026-07-15 16:05:37] local.INFO: GPS Element Parsed {"raw_longitude":763339264,"raw_latitude":95403768,"longitude_deg":76.3339264,"latitude_deg":9.5403768,"altitude":5,"angle":2,"satellites":49,"speed":7,"hex_longitude":"2d7fa200","hex_latitude":"05afbef8","is_valid_coordinates":true} 
[2026-07-15 16:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732529920001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196491201002057728,"note":"Value kept but may cause issues"} 
[2026-07-15 16:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784111453000,"timestamp_ms":1784111453000,"timestamp_seconds":1784111453,"priority":1,"record_length":96,"hex_timestamp":"0000019f65545348"} 
[2026-07-15 16:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-15 16:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732529920001,"66":27865,"250":206,"85":12544,"24":7,"16":347239773645045760,"45":9196491201002057728},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732529920001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:05:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:05:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196491201002057728,"description":"Unknown IO ID 45"} 
[2026-07-15 16:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732529920001,"power":27865,"unknown_250":206,"unknown_85":12544,"ignition":7,"odometer":null,"unknown_45":9196491201002057728}} 
[2026-07-15 16:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":132492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:05:37] local.INFO: GPS data processed {"connection_id":132492,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:05:37] local.INFO: Acknowledgment sent {"connection_id":132492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:05:50] local.INFO: TCP Data received {"connection_id":134892,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:05:50] local.INFO: Processing buffer {"connection_id":134892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:05:50] local.INFO: IMEI packet received {"connection_id":134892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":134892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:05:55] local.INFO: TCP Data received {"connection_id":134892,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:05:55] local.INFO: Processing buffer {"connection_id":134892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:05:55] local.INFO: IMEI packet received {"connection_id":134892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":134892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:05:56] local.INFO: TCP Data received {"connection_id":134892,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f6556faf8012d186dc007220af80058005829..."} 
[2026-07-15 16:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6556faf8012d186dc007220af80058005829..."} 
[2026-07-15 16:05:56] local.INFO: Processing buffer {"connection_id":134892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6556faf8012d186dc007220af80058005829..."} 
[2026-07-15 16:05:56] local.INFO: Packet analysis {"connection_id":134892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6556"} 
[2026-07-15 16:05:56] local.INFO: Extracted packet for processing {"connection_id":134892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6556"} 
[2026-07-15 16:05:56] local.INFO: GPS Element Parsed {"raw_longitude":756575680,"raw_latitude":119671544,"longitude_deg":75.657568,"latitude_deg":11.9671544,"altitude":88,"angle":88,"satellites":41,"speed":0,"hex_longitude":"2d186dc0","hex_latitude":"07220af8","is_valid_coordinates":true} 
[2026-07-15 16:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732571136001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6119082856284160,"note":"Value kept but may cause issues"} 
[2026-07-15 16:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760274166240180224,"note":"Value kept but may cause issues"} 
[2026-07-15 16:05:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784111627000,"timestamp_ms":1784111627000,"timestamp_seconds":1784111627,"priority":1,"record_length":96,"hex_timestamp":"0000019f6556faf8"} 
[2026-07-15 16:05:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:05:56] 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-07-15 16:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-15 16:05:56] 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-07-15 16:05:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:05:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":134892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":134892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":134892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732571136001,"66":12385,"105":206,"83":41984,"24":0,"16":6119082856284160,"45":1760274166240180224},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732571136001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:05:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:05:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6119082856284160,"km_value":6119082856284.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760274166240180224,"description":"Unknown IO ID 45"} 
[2026-07-15 16:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732571136001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1760274166240180224}} 
[2026-07-15 16:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":134892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491631,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:05:56] local.INFO: GPS data processed {"connection_id":134892,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:05:56] local.INFO: Acknowledgment sent {"connection_id":134892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:05:59] local.INFO: TCP Data received {"connection_id":132493,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132493,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:05:59] local.INFO: Processing buffer {"connection_id":132493,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:05:59] local.INFO: IMEI packet received {"connection_id":132493,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 16:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":132493,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:05:59] local.INFO: TCP Data received {"connection_id":132493,"ip":"42.106.6.41","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-15 16:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132493,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-15 16:05:59] local.INFO: Processing buffer {"connection_id":132493,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-15 16:05:59] local.INFO: IMEI packet received {"connection_id":132493,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":132493,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:06:04] local.INFO: TCP Data received {"connection_id":132493,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132493,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:06:04] local.INFO: Processing buffer {"connection_id":132493,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-15 16:06:04] local.INFO: IMEI packet received {"connection_id":132493,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":132493,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:06:06] local.INFO: TCP Data received {"connection_id":134893,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:06:06] local.INFO: Processing buffer {"connection_id":134893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:06:06] local.INFO: IMEI packet received {"connection_id":134893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":134893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:06:06] local.INFO: TCP Data received {"connection_id":132493,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f65584ed0012d7aad8005e3db900006011128..."} 
[2026-07-15 16:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65584ed0012d7aad8005e3db900006011128..."} 
[2026-07-15 16:06:06] local.INFO: Processing buffer {"connection_id":132493,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019f65..."} 
[2026-07-15 16:06:06] local.INFO: IMEI packet received {"connection_id":132493,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":132493,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:06:10] local.INFO: TCP Data received {"connection_id":132493,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f65589cf0012d7aa24005e3db500007010c25..."} 
[2026-07-15 16:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65589cf0012d7aa24005e3db500007010c25..."} 
[2026-07-15 16:06:10] local.INFO: Processing buffer {"connection_id":132493,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f65584ed0012d7aad8005e3db900006011128..."} 
[2026-07-15 16:06:10] local.INFO: Packet analysis {"connection_id":132493,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f6558"} 
[2026-07-15 16:06:10] local.INFO: Extracted packet for processing {"connection_id":132493,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6558"} 
[2026-07-15 16:06:10] local.INFO: GPS Element Parsed {"raw_longitude":763014528,"raw_latitude":98818960,"longitude_deg":76.3014528,"latitude_deg":9.881896,"altitude":6,"angle":273,"satellites":40,"speed":8,"hex_longitude":"2d7aad80","hex_latitude":"05e3db90","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732598272001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106601350279725056,"note":"Value kept but may cause issues"} 
[2026-07-15 16:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8840284618849226752,"note":"Value kept but may cause issues"} 
[2026-07-15 16:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784111714000,"timestamp_ms":1784111714000,"timestamp_seconds":1784111714,"priority":1,"record_length":96,"hex_timestamp":"0000019f65584ed0"} 
[2026-07-15 16:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-07-15 16:06:10] 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-07-15 16: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-07-15 16:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":132493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":132493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":132493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732598272001,"66":13319,"97":206,"85":15104,"24":8,"16":106601350279725056,"45":8840284618849226752},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 16:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732598272001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:06:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 16:06:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 16:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106601350279725056,"km_value":106601350279725.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8840284618849226752,"description":"Unknown IO ID 45"} 
[2026-07-15 16:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732598272001,"power":13319,"unknown_97":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8840284618849226752}} 
[2026-07-15 16:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":132493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491632,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:06:10] local.INFO: GPS data processed {"connection_id":132493,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:06:10] local.INFO: Acknowledgment sent {"connection_id":132493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:06:10] local.INFO: Packet analysis {"connection_id":132493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6558"} 
[2026-07-15 16:06:10] local.INFO: Extracted packet for processing {"connection_id":132493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6558"} 
[2026-07-15 16:06:10] local.INFO: GPS Element Parsed {"raw_longitude":763011648,"raw_latitude":98818896,"longitude_deg":76.3011648,"latitude_deg":9.8818896,"altitude":7,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d7aa240","hex_latitude":"05e3db50","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732598784001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106601492013645824,"note":"Value kept but may cause issues"} 
[2026-07-15 16:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8839862406384160768,"note":"Value kept but may cause issues"} 
[2026-07-15 16:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784111734000,"timestamp_ms":1784111734000,"timestamp_seconds":1784111734,"priority":1,"record_length":96,"hex_timestamp":"0000019f65589cf0"} 
[2026-07-15 16:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-15 16:06:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 16:06:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-07-15 16:06:10] local.WARNING: Large IO value detected {"io_id":227,"raw_value":-2008605408020061184,"note":"Value kept but may cause issues"} 
[2026-07-15 16:06:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-07-15 16:06:10] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3823308800,"note":"Value kept but may cause issues"} 
[2026-07-15 16:06:10] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":1074127843,"corrected_to":0} 
[2026-07-15 16:06:10] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607154086,"note":"Value kept but may cause issues"} 
[2026-07-15 16:06:10] local.WARNING: Large IO value detected {"io_id":122,"raw_value":3103981568,"note":"Value kept but may cause issues"} 
[2026-07-15 16:06:10] local.WARNING: Large IO value detected {"io_id":106,"raw_value":57885305781245243,"note":"Value kept but may cause issues"} 
[2026-07-15 16:06:10] local.WARNING: Large IO value detected {"io_id":87,"raw_value":8363185802873012229,"note":"Value kept but may cause issues"} 
[2026-07-15 16:06:10] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,97,85,24,241,157,16,185,159,71,45,219,6,36,10,66,59,192,221,51,128,1,240,198,227,101,4,113,205,5,225,203,80,35,239,50,2,122,106,87],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0},{"io_id":203,"original":1074127843,"validated":0}]} 
[2026-07-15 16:06:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432645902701166592,"timestamp_seconds":432645902701166.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 16:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":132493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":132493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":132493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732598784001,"66":13135,"97":206,"85":15104,"24":0,"16":106601492013645824,"45":8839862406384160768},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 16:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732598784001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:06:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 16:06:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 16:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106601492013645824,"km_value":106601492013645.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8839862406384160768,"description":"Unknown IO ID 45"} 
[2026-07-15 16:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732598784001,"power":13135,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8839862406384160768}} 
[2026-07-15 16:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":132493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491633,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:06:10] local.INFO: GPS data processed {"connection_id":132493,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:06:10] local.INFO: Acknowledgment sent {"connection_id":132493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:06:11] local.INFO: TCP Data received {"connection_id":134893,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:06:11] local.INFO: Processing buffer {"connection_id":134893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:06:11] local.INFO: IMEI packet received {"connection_id":134893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":134893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:06:14] local.INFO: TCP Data received {"connection_id":134893,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f65545348012d7fa20005afbef80005000231..."} 
[2026-07-15 16:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65545348012d7fa20005afbef80005000231..."} 
[2026-07-15 16:06:14] local.INFO: Processing buffer {"connection_id":134893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65545348012d7fa20005afbef80005000231..."} 
[2026-07-15 16:06:14] local.INFO: Packet analysis {"connection_id":134893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6554"} 
[2026-07-15 16:06:14] local.INFO: Extracted packet for processing {"connection_id":134893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6554"} 
[2026-07-15 16:06:14] local.INFO: GPS Element Parsed {"raw_longitude":763339264,"raw_latitude":95403768,"longitude_deg":76.3339264,"latitude_deg":9.5403768,"altitude":5,"angle":2,"satellites":49,"speed":7,"hex_longitude":"2d7fa200","hex_latitude":"05afbef8","is_valid_coordinates":true} 
[2026-07-15 16:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732529920001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196491201002057728,"note":"Value kept but may cause issues"} 
[2026-07-15 16:06:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784111453000,"timestamp_ms":1784111453000,"timestamp_seconds":1784111453,"priority":1,"record_length":96,"hex_timestamp":"0000019f65545348"} 
[2026-07-15 16:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:06:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-15 16:06:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:06:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":134893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":134893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":134893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:06:14] 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-07-15 16:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732529920001,"66":27865,"250":206,"85":12544,"24":7,"16":347239773645045760,"45":9196491201002057728},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732529920001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:06:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:06:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196491201002057728,"description":"Unknown IO ID 45"} 
[2026-07-15 16:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732529920001,"power":27865,"unknown_250":206,"unknown_85":12544,"ignition":7,"odometer":null,"unknown_45":9196491201002057728}} 
[2026-07-15 16:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":134893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:06:14] local.INFO: GPS data processed {"connection_id":134893,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:06:14] local.INFO: Acknowledgment sent {"connection_id":134893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:06:16] local.INFO: TCP Data received {"connection_id":134893,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f65545348012d7fa20005afbef80005000231..."} 
[2026-07-15 16:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65545348012d7fa20005afbef80005000231..."} 
[2026-07-15 16:06:16] local.INFO: Processing buffer {"connection_id":134893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65545348012d7fa20005afbef80005000231..."} 
[2026-07-15 16:06:16] local.INFO: Packet analysis {"connection_id":134893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6554"} 
[2026-07-15 16:06:16] local.INFO: Extracted packet for processing {"connection_id":134893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6554"} 
[2026-07-15 16:06:16] local.INFO: GPS Element Parsed {"raw_longitude":763339264,"raw_latitude":95403768,"longitude_deg":76.3339264,"latitude_deg":9.5403768,"altitude":5,"angle":2,"satellites":49,"speed":7,"hex_longitude":"2d7fa200","hex_latitude":"05afbef8","is_valid_coordinates":true} 
[2026-07-15 16:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732529920001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196491201002057728,"note":"Value kept but may cause issues"} 
[2026-07-15 16:06:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784111453000,"timestamp_ms":1784111453000,"timestamp_seconds":1784111453,"priority":1,"record_length":96,"hex_timestamp":"0000019f65545348"} 
[2026-07-15 16:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:06:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-15 16:06:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:06:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":134893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":134893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":134893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732529920001,"66":27865,"250":206,"85":12544,"24":7,"16":347239773645045760,"45":9196491201002057728},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732529920001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:06:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:06:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196491201002057728,"description":"Unknown IO ID 45"} 
[2026-07-15 16:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732529920001,"power":27865,"unknown_250":206,"unknown_85":12544,"ignition":7,"odometer":null,"unknown_45":9196491201002057728}} 
[2026-07-15 16:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":134893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:06:16] local.INFO: GPS data processed {"connection_id":134893,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:06:16] local.INFO: Acknowledgment sent {"connection_id":134893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:06:27] local.INFO: TCP Data received {"connection_id":134892,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f65574d00012d186dc007220af80058005829..."} 
[2026-07-15 16:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65574d00012d186dc007220af80058005829..."} 
[2026-07-15 16:06:27] local.INFO: Processing buffer {"connection_id":134892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65574d00012d186dc007220af80058005829..."} 
[2026-07-15 16:06:27] local.INFO: Packet analysis {"connection_id":134892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6557"} 
[2026-07-15 16:06:27] local.INFO: Extracted packet for processing {"connection_id":134892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6557"} 
[2026-07-15 16:06:27] local.INFO: GPS Element Parsed {"raw_longitude":756575680,"raw_latitude":119671544,"longitude_deg":75.657568,"latitude_deg":11.9671544,"altitude":88,"angle":88,"satellites":41,"speed":0,"hex_longitude":"2d186dc0","hex_latitude":"07220af8","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732576512001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6119082856284160,"note":"Value kept but may cause issues"} 
[2026-07-15 16:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760274166240180224,"note":"Value kept but may cause issues"} 
[2026-07-15 16:06: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-07-15 16:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784111648000,"timestamp_ms":1784111648000,"timestamp_seconds":1784111648,"priority":1,"record_length":96,"hex_timestamp":"0000019f65574d00"} 
[2026-07-15 16:06:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:06:27] 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-07-15 16: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-15 16:06:27] 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-07-15 16: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-07-15 16:06:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":134892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":134892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":134892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:06:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732576512001,"66":12406,"105":206,"83":41984,"24":0,"16":6119082856284160,"45":1760274166240180224},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732576512001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:06:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:06:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6119082856284160,"km_value":6119082856284.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760274166240180224,"description":"Unknown IO ID 45"} 
[2026-07-15 16:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732576512001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1760274166240180224}} 
[2026-07-15 16:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":134892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:06:27] local.INFO: GPS data processed {"connection_id":134892,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:06:27] local.INFO: Acknowledgment sent {"connection_id":134892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:06:42] local.INFO: TCP Data received {"connection_id":132493,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f6558e340012d7a91c005e3da480008010024..."} 
[2026-07-15 16:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6558e340012d7a91c005e3da480008010024..."} 
[2026-07-15 16:06:42] local.INFO: Processing buffer {"connection_id":132493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6558e340012d7a91c005e3da480008010024..."} 
[2026-07-15 16:06:42] local.INFO: Packet analysis {"connection_id":132493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6558"} 
[2026-07-15 16:06:42] local.INFO: Extracted packet for processing {"connection_id":132493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6558"} 
[2026-07-15 16:06:42] local.INFO: GPS Element Parsed {"raw_longitude":763007424,"raw_latitude":98818632,"longitude_deg":76.3007424,"latitude_deg":9.8818632,"altitude":8,"angle":256,"satellites":36,"speed":9,"hex_longitude":"2d7a91c0","hex_latitude":"05e3da48","is_valid_coordinates":true} 
[2026-07-15 16:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732603904001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106601693877108736,"note":"Value kept but may cause issues"} 
[2026-07-15 16:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836695812896149504,"note":"Value kept but may cause issues"} 
[2026-07-15 16:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784111752000,"timestamp_ms":1784111752000,"timestamp_seconds":1784111752,"priority":1,"record_length":96,"hex_timestamp":"0000019f6558e340"} 
[2026-07-15 16:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:06:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-15 16:06:42] 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-07-15 16:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732603904001,"66":13341,"97":206,"85":15104,"24":9,"16":106601693877108736,"45":8836695812896149504},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 16:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732603904001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:06:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 16:06:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 16:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106601693877108736,"km_value":106601693877108.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836695812896149504,"description":"Unknown IO ID 45"} 
[2026-07-15 16:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732603904001,"power":13341,"unknown_97":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8836695812896149504}} 
[2026-07-15 16:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":132493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491637,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:06:42] local.INFO: GPS data processed {"connection_id":132493,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:06:42] local.INFO: Acknowledgment sent {"connection_id":132493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:06:50] local.INFO: TCP Data received {"connection_id":132682,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:06:50] local.INFO: Processing buffer {"connection_id":132682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:06:50] local.INFO: IMEI packet received {"connection_id":132682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":132682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:06:53] local.INFO: TCP Data received {"connection_id":132682,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:06:53] local.INFO: Processing buffer {"connection_id":132682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:06:53] local.INFO: IMEI packet received {"connection_id":132682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":132682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:06:55] local.INFO: TCP Data received {"connection_id":132681,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132681,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:06:55] local.INFO: Processing buffer {"connection_id":132681,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:06:55] local.INFO: IMEI packet received {"connection_id":132681,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 16:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":132681,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:06:55] local.INFO: TCP Data received {"connection_id":132682,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:06:55] local.INFO: Processing buffer {"connection_id":132682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:06:55] local.INFO: IMEI packet received {"connection_id":132682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":132682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:06:56] local.INFO: TCP Data received {"connection_id":132682,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f65579f08012d186dc007220af80058005823..."} 
[2026-07-15 16:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65579f08012d186dc007220af80058005823..."} 
[2026-07-15 16:06:56] local.INFO: Processing buffer {"connection_id":132682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65579f08012d186dc007220af80058005823..."} 
[2026-07-15 16:06:56] local.INFO: Packet analysis {"connection_id":132682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6557"} 
[2026-07-15 16:06:56] local.INFO: Extracted packet for processing {"connection_id":132682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6557"} 
[2026-07-15 16:06:56] local.INFO: GPS Element Parsed {"raw_longitude":756575680,"raw_latitude":119671544,"longitude_deg":75.657568,"latitude_deg":11.9671544,"altitude":88,"angle":88,"satellites":35,"speed":0,"hex_longitude":"2d186dc0","hex_latitude":"07220af8","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732581888001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6119082856284160,"note":"Value kept but may cause issues"} 
[2026-07-15 16:06:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760274166240180224,"note":"Value kept but may cause issues"} 
[2026-07-15 16:06:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784111669000,"timestamp_ms":1784111669000,"timestamp_seconds":1784111669,"priority":1,"record_length":96,"hex_timestamp":"0000019f65579f08"} 
[2026-07-15 16:06:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:06:56] 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-07-15 16: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 16:06:56] 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-07-15 16: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-07-15 16:06:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:06:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732581888001,"66":12428,"105":206,"83":41984,"24":0,"16":6119082856284160,"45":1760274166240180224},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732581888001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:06:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:06:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6119082856284160,"km_value":6119082856284.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:06:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760274166240180224,"description":"Unknown IO ID 45"} 
[2026-07-15 16:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732581888001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1760274166240180224}} 
[2026-07-15 16:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":132682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491638,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:06:56] local.INFO: GPS data processed {"connection_id":132682,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:06:56] local.INFO: Acknowledgment sent {"connection_id":132682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:06:57] local.INFO: TCP Data received {"connection_id":132681,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132681,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:06:57] local.INFO: Processing buffer {"connection_id":132681,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:06:57] local.INFO: IMEI packet received {"connection_id":132681,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 16:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":132681,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:06:57] local.INFO: TCP Data received {"connection_id":132681,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f65595c58012d0c67400704d680001400521a..."} 
[2026-07-15 16:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65595c58012d0c67400704d680001400521a..."} 
[2026-07-15 16:06:57] local.INFO: Processing buffer {"connection_id":132681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65595c58012d0c67400704d680001400521a..."} 
[2026-07-15 16:06:57] local.INFO: Packet analysis {"connection_id":132681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6559"} 
[2026-07-15 16:06:57] local.INFO: Extracted packet for processing {"connection_id":132681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6559"} 
[2026-07-15 16:06:57] local.INFO: GPS Element Parsed {"raw_longitude":755787584,"raw_latitude":117757568,"longitude_deg":75.5787584,"latitude_deg":11.7757568,"altitude":20,"angle":82,"satellites":26,"speed":40,"hex_longitude":"2d0c6740","hex_latitude":"0704d680","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732614912001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24689675335630848,"note":"Value kept but may cause issues"} 
[2026-07-15 16:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888194319156092928,"note":"Value kept but may cause issues"} 
[2026-07-15 16:06:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784111783000,"timestamp_ms":1784111783000,"timestamp_seconds":1784111783,"priority":1,"record_length":96,"hex_timestamp":"0000019f65595c58"} 
[2026-07-15 16:06:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:06:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-15 16:06:57] 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-07-15 16:06:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:06:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":132681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":132681,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":132681,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:06:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732614912001,"66":14450,"95":206,"94":10240,"24":40,"16":24689675335630848,"45":888194319156092928},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-15 16:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732614912001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:06:57] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-15 16:06:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 16:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24689675335630848,"km_value":24689675335630.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:06:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":888194319156092928,"description":"Unknown IO ID 45"} 
[2026-07-15 16:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732614912001,"power":14450,"unknown_95":206,"unknown_94":10240,"ignition":40,"odometer":null,"unknown_45":888194319156092928}} 
[2026-07-15 16:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":132681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491639,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:06:58] local.INFO: GPS data processed {"connection_id":132681,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:06:58] local.INFO: Acknowledgment sent {"connection_id":132681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:06:59] local.INFO: TCP Data received {"connection_id":132683,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132683,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:06:59] local.INFO: Processing buffer {"connection_id":132683,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:06:59] local.INFO: IMEI packet received {"connection_id":132683,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 16:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":132683,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:07:01] local.INFO: TCP Data received {"connection_id":132494,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:07:01] local.INFO: Processing buffer {"connection_id":132494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:07:01] local.INFO: IMEI packet received {"connection_id":132494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":132494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:07:02] local.INFO: TCP Data received {"connection_id":132681,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f655977b0012d0c80000704d6500014005d1a..."} 
[2026-07-15 16:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f655977b0012d0c80000704d6500014005d1a..."} 
[2026-07-15 16:07:02] local.INFO: Processing buffer {"connection_id":132681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f655977b0012d0c80000704d6500014005d1a..."} 
[2026-07-15 16:07:02] local.INFO: Packet analysis {"connection_id":132681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6559"} 
[2026-07-15 16:07:02] local.INFO: Extracted packet for processing {"connection_id":132681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6559"} 
[2026-07-15 16:07:02] local.INFO: GPS Element Parsed {"raw_longitude":755793920,"raw_latitude":117757520,"longitude_deg":75.579392,"latitude_deg":11.775752,"altitude":20,"angle":93,"satellites":26,"speed":21,"hex_longitude":"2d0c8000","hex_latitude":"0704d650","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732616448001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24689975983341568,"note":"Value kept but may cause issues"} 
[2026-07-15 16:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":893753449946447872,"note":"Value kept but may cause issues"} 
[2026-07-15 16:07:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784111790000,"timestamp_ms":1784111790000,"timestamp_seconds":1784111790,"priority":1,"record_length":96,"hex_timestamp":"0000019f655977b0"} 
[2026-07-15 16:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:07:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-15 16:07:02] 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-07-15 16: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-07-15 16:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":132681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":132681,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":132681,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732616448001,"66":14559,"95":206,"94":10240,"24":21,"16":24689975983341568,"45":893753449946447872},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-15 16:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732616448001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:07:02] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-15 16:07:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 16:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24689975983341568,"km_value":24689975983341.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":893753449946447872,"description":"Unknown IO ID 45"} 
[2026-07-15 16:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732616448001,"power":14559,"unknown_95":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":893753449946447872}} 
[2026-07-15 16:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":132681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491640,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:07:02] local.INFO: GPS data processed {"connection_id":132681,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:07:02] local.INFO: Acknowledgment sent {"connection_id":132681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:07:04] local.INFO: TCP Data received {"connection_id":132683,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132683,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:07:04] local.INFO: Processing buffer {"connection_id":132683,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:07:04] local.INFO: IMEI packet received {"connection_id":132683,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":132683,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:07:06] local.INFO: TCP Data received {"connection_id":132494,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:07:06] local.INFO: Processing buffer {"connection_id":132494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:07:06] local.INFO: IMEI packet received {"connection_id":132494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":132494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:07:06] local.INFO: TCP Data received {"connection_id":132683,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f6558f6c8012d7a8d4005e3d8f8000700ef24..."} 
[2026-07-15 16:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6558f6c8012d7a8d4005e3d8f8000700ef24..."} 
[2026-07-15 16:07:06] local.INFO: Processing buffer {"connection_id":132683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6558f6c8012d7a8d4005e3d8f8000700ef24..."} 
[2026-07-15 16:07:06] local.INFO: Packet analysis {"connection_id":132683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6558"} 
[2026-07-15 16:07:06] local.INFO: Extracted packet for processing {"connection_id":132683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6558"} 
[2026-07-15 16:07:06] local.INFO: GPS Element Parsed {"raw_longitude":763006272,"raw_latitude":98818296,"longitude_deg":76.3006272,"latitude_deg":9.8818296,"altitude":7,"angle":239,"satellites":36,"speed":2,"hex_longitude":"2d7a8d40","hex_latitude":"05e3d8f8","is_valid_coordinates":true} 
[2026-07-15 16:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732608512001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106601749711683584,"note":"Value kept but may cause issues"} 
[2026-07-15 16:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8832051475780356096,"note":"Value kept but may cause issues"} 
[2026-07-15 16:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784111757000,"timestamp_ms":1784111757000,"timestamp_seconds":1784111757,"priority":1,"record_length":96,"hex_timestamp":"0000019f6558f6c8"} 
[2026-07-15 16:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-15 16:07:06] 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-07-15 16:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132683,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132683,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732608512001,"66":13135,"97":206,"85":15104,"24":2,"16":106601749711683584,"45":8832051475780356096},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 16:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732608512001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:07:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 16:07:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 16:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106601749711683584,"km_value":106601749711683.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8832051475780356096,"description":"Unknown IO ID 45"} 
[2026-07-15 16:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732608512001,"power":13135,"unknown_97":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8832051475780356096}} 
[2026-07-15 16:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":132683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491641,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:07:06] local.INFO: GPS data processed {"connection_id":132683,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:07:06] local.INFO: Acknowledgment sent {"connection_id":132683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:07:06] local.INFO: TCP Data received {"connection_id":132494,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f6558fe98012d7f9b8005afd770000800062a..."} 
[2026-07-15 16:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6558fe98012d7f9b8005afd770000800062a..."} 
[2026-07-15 16:07:06] local.INFO: Processing buffer {"connection_id":132494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6558fe98012d7f9b8005afd770000800062a..."} 
[2026-07-15 16:07:06] local.INFO: Packet analysis {"connection_id":132494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6558"} 
[2026-07-15 16:07:06] local.INFO: Extracted packet for processing {"connection_id":132494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6558"} 
[2026-07-15 16:07:06] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":8,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732531968001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196913413467338752,"note":"Value kept but may cause issues"} 
[2026-07-15 16:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784111759000,"timestamp_ms":1784111759000,"timestamp_seconds":1784111759,"priority":1,"record_length":96,"hex_timestamp":"0000019f6558fe98"} 
[2026-07-15 16:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-15 16:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:07:06] 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-07-15 16:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732531968001,"66":26267,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9196913413467338752},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732531968001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:07:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:07:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196913413467338752,"description":"Unknown IO ID 45"} 
[2026-07-15 16:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732531968001,"power":26267,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196913413467338752}} 
[2026-07-15 16:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":132494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:07:06] local.INFO: GPS data processed {"connection_id":132494,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:07:06] local.INFO: Acknowledgment sent {"connection_id":132494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:07:27] local.INFO: TCP Data received {"connection_id":132682,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f6557f110012d186dc007220af80058005822..."} 
[2026-07-15 16:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6557f110012d186dc007220af80058005822..."} 
[2026-07-15 16:07:27] local.INFO: Processing buffer {"connection_id":132682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6557f110012d186dc007220af80058005822..."} 
[2026-07-15 16:07:27] local.INFO: Packet analysis {"connection_id":132682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6557"} 
[2026-07-15 16:07:27] local.INFO: Extracted packet for processing {"connection_id":132682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6557"} 
[2026-07-15 16:07:27] local.INFO: GPS Element Parsed {"raw_longitude":756575680,"raw_latitude":119671544,"longitude_deg":75.657568,"latitude_deg":11.9671544,"altitude":88,"angle":88,"satellites":34,"speed":0,"hex_longitude":"2d186dc0","hex_latitude":"07220af8","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732587264001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6119082856284160,"note":"Value kept but may cause issues"} 
[2026-07-15 16:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760274166240180224,"note":"Value kept but may cause issues"} 
[2026-07-15 16:07: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-07-15 16:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784111690000,"timestamp_ms":1784111690000,"timestamp_seconds":1784111690,"priority":1,"record_length":96,"hex_timestamp":"0000019f6557f110"} 
[2026-07-15 16:07:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:07:27] 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-07-15 16: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-15 16:07:27] 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-07-15 16: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-07-15 16:07:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":132682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":132682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":132682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:07:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732587264001,"66":12461,"105":206,"83":41984,"24":0,"16":6119082856284160,"45":1760274166240180224},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732587264001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:07:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:07:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6119082856284160,"km_value":6119082856284.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760274166240180224,"description":"Unknown IO ID 45"} 
[2026-07-15 16:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732587264001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1760274166240180224}} 
[2026-07-15 16:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":132682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:07:27] local.INFO: GPS data processed {"connection_id":132682,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:07:27] local.INFO: Acknowledgment sent {"connection_id":132682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:07:33] local.INFO: TCP Data received {"connection_id":132681,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f65599308012d0c8b800704d3c00017006d1a..."} 
[2026-07-15 16:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65599308012d0c8b800704d3c00017006d1a..."} 
[2026-07-15 16:07:33] local.INFO: Processing buffer {"connection_id":132681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65599308012d0c8b800704d3c00017006d1a..."} 
[2026-07-15 16:07:33] local.INFO: Packet analysis {"connection_id":132681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6559"} 
[2026-07-15 16:07:33] local.INFO: Extracted packet for processing {"connection_id":132681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6559"} 
[2026-07-15 16:07:33] local.INFO: GPS Element Parsed {"raw_longitude":755796864,"raw_latitude":117756864,"longitude_deg":75.5796864,"latitude_deg":11.7756864,"altitude":23,"angle":109,"satellites":26,"speed":7,"hex_longitude":"2d0c8b80","hex_latitude":"0704d3c0","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732618240001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24690122012229632,"note":"Value kept but may cause issues"} 
[2026-07-15 16:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":900719955620024320,"note":"Value kept but may cause issues"} 
[2026-07-15 16:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784111797000,"timestamp_ms":1784111797000,"timestamp_seconds":1784111797,"priority":1,"record_length":96,"hex_timestamp":"0000019f65599308"} 
[2026-07-15 16:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-15 16:07:33] 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-07-15 16: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-07-15 16:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":132681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":132681,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":132681,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732618240001,"66":14450,"95":206,"94":10240,"24":7,"16":24690122012229632,"45":900719955620024320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-15 16:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732618240001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:07:33] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-15 16:07:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 16:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24690122012229632,"km_value":24690122012229.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":900719955620024320,"description":"Unknown IO ID 45"} 
[2026-07-15 16:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732618240001,"power":14450,"unknown_95":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":900719955620024320}} 
[2026-07-15 16:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":132681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491644,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:07:34] local.INFO: GPS data processed {"connection_id":132681,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:07:34] local.INFO: Acknowledgment sent {"connection_id":132681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:07:37] local.INFO: TCP Data received {"connection_id":132494,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f6558fe98012d7f9b8005afd770000800062a..."} 
[2026-07-15 16:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6558fe98012d7f9b8005afd770000800062a..."} 
[2026-07-15 16:07:37] local.INFO: Processing buffer {"connection_id":132494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6558fe98012d7f9b8005afd770000800062a..."} 
[2026-07-15 16:07:37] local.INFO: Packet analysis {"connection_id":132494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6558"} 
[2026-07-15 16:07:37] local.INFO: Extracted packet for processing {"connection_id":132494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6558"} 
[2026-07-15 16:07:37] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":8,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732531968001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196913413467338752,"note":"Value kept but may cause issues"} 
[2026-07-15 16:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784111759000,"timestamp_ms":1784111759000,"timestamp_seconds":1784111759,"priority":1,"record_length":96,"hex_timestamp":"0000019f6558fe98"} 
[2026-07-15 16:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-15 16:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16: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-07-15 16:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:07:37] 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-07-15 16:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732531968001,"66":26267,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9196913413467338752},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732531968001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:07:37] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:07:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196913413467338752,"description":"Unknown IO ID 45"} 
[2026-07-15 16:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732531968001,"power":26267,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196913413467338752}} 
[2026-07-15 16:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":132494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:07:37] local.INFO: GPS data processed {"connection_id":132494,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:07:37] local.INFO: Acknowledgment sent {"connection_id":132494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:07:38] local.INFO: TCP Data received {"connection_id":132683,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f6558fab0012d7a8d4005e3d8b8000700e025..."} 
[2026-07-15 16:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6558fab0012d7a8d4005e3d8b8000700e025..."} 
[2026-07-15 16:07:38] local.INFO: Processing buffer {"connection_id":132683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6558fab0012d7a8d4005e3d8b8000700e025..."} 
[2026-07-15 16:07:38] local.INFO: Packet analysis {"connection_id":132683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6558"} 
[2026-07-15 16:07:38] local.INFO: Extracted packet for processing {"connection_id":132683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6558"} 
[2026-07-15 16:07:38] local.INFO: GPS Element Parsed {"raw_longitude":763006272,"raw_latitude":98818232,"longitude_deg":76.3006272,"latitude_deg":9.8818232,"altitude":7,"angle":224,"satellites":37,"speed":0,"hex_longitude":"2d7a8d40","hex_latitude":"05e3d8b8","is_valid_coordinates":true} 
[2026-07-15 16:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732609792001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106601754006650880,"note":"Value kept but may cause issues"} 
[2026-07-15 16:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8830784838385072128,"note":"Value kept but may cause issues"} 
[2026-07-15 16:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784111758000,"timestamp_ms":1784111758000,"timestamp_seconds":1784111758,"priority":1,"record_length":96,"hex_timestamp":"0000019f6558fab0"} 
[2026-07-15 16:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-15 16:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132683,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132683,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732609792001,"66":13015,"97":206,"85":15104,"24":0,"16":106601754006650880,"45":8830784838385072128},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 16:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732609792001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:07:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 16:07:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 16:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106601754006650880,"km_value":106601754006650.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8830784838385072128,"description":"Unknown IO ID 45"} 
[2026-07-15 16:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732609792001,"power":13015,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8830784838385072128}} 
[2026-07-15 16:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":132683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491646,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:07:38] local.INFO: GPS data processed {"connection_id":132683,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:07:38] local.INFO: Acknowledgment sent {"connection_id":132683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:07:52] local.INFO: TCP Data received {"connection_id":133525,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133525,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:07:52] local.INFO: Processing buffer {"connection_id":133525,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:07:52] local.INFO: IMEI packet received {"connection_id":133525,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 16:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":133525,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:07:56] local.INFO: TCP Data received {"connection_id":133524,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:07:56] local.INFO: Processing buffer {"connection_id":133524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:07:56] local.INFO: IMEI packet received {"connection_id":133524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":133524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:07:56] local.INFO: TCP Data received {"connection_id":133524,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:07:56] local.INFO: Processing buffer {"connection_id":133524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:07:56] local.INFO: IMEI packet received {"connection_id":133524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":133524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:07:59] local.INFO: TCP Data received {"connection_id":132495,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132495,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:07:59] local.INFO: Processing buffer {"connection_id":132495,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:07:59] local.INFO: IMEI packet received {"connection_id":132495,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 16:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":132495,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:08:00] local.INFO: TCP Data received {"connection_id":133525,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133525,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:08:00] local.INFO: Processing buffer {"connection_id":133525,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:08:00] local.INFO: IMEI packet received {"connection_id":133525,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 16:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":133525,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:08:00] local.INFO: TCP Data received {"connection_id":133524,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:08:00] local.INFO: Processing buffer {"connection_id":133524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:08:00] local.INFO: IMEI packet received {"connection_id":133524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":133524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:08:01] local.INFO: TCP Data received {"connection_id":134895,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:08:01] local.INFO: Processing buffer {"connection_id":134895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:08:01] local.INFO: IMEI packet received {"connection_id":134895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":134895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:08:01] local.INFO: TCP Data received {"connection_id":133525,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f6559c1e8012d0c8c800704d5680018016719..."} 
[2026-07-15 16:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6559c1e8012d0c8c800704d5680018016719..."} 
[2026-07-15 16:08:01] local.INFO: Processing buffer {"connection_id":133525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6559c1e8012d0c8c800704d5680018016719..."} 
[2026-07-15 16:08:01] local.INFO: Packet analysis {"connection_id":133525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6559"} 
[2026-07-15 16:08:01] local.INFO: Extracted packet for processing {"connection_id":133525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6559"} 
[2026-07-15 16:08:01] local.INFO: GPS Element Parsed {"raw_longitude":755797120,"raw_latitude":117757288,"longitude_deg":75.579712,"latitude_deg":11.7757288,"altitude":24,"angle":359,"satellites":25,"speed":4,"hex_longitude":"2d0c8c80","hex_latitude":"0704d568","is_valid_coordinates":true} 
[2026-07-15 16:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732620032001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24690152077000704,"note":"Value kept but may cause issues"} 
[2026-07-15 16:08:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":903956917852028928,"note":"Value kept but may cause issues"} 
[2026-07-15 16:08:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784111809000,"timestamp_ms":1784111809000,"timestamp_seconds":1784111809,"priority":1,"record_length":96,"hex_timestamp":"0000019f6559c1e8"} 
[2026-07-15 16:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:08:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-15 16:08:01] 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-07-15 16:08:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":133525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":133525,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":133525,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:08:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732620032001,"66":14396,"95":206,"94":10240,"24":4,"16":24690152077000704,"45":903956917852028928},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-15 16:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732620032001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:08:01] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-15 16:08:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 16:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24690152077000704,"km_value":24690152077000.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:08:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":903956917852028928,"description":"Unknown IO ID 45"} 
[2026-07-15 16:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732620032001,"power":14396,"unknown_95":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":903956917852028928}} 
[2026-07-15 16:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":133525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491647,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:08:01] local.INFO: GPS data processed {"connection_id":133525,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:08:01] local.INFO: Acknowledgment sent {"connection_id":133525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:08:01] local.INFO: TCP Data received {"connection_id":133524,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f65584318012d186dc007220af80058005827..."} 
[2026-07-15 16:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65584318012d186dc007220af80058005827..."} 
[2026-07-15 16:08:01] local.INFO: Processing buffer {"connection_id":133524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65584318012d186dc007220af80058005827..."} 
[2026-07-15 16:08:01] local.INFO: Packet analysis {"connection_id":133524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6558"} 
[2026-07-15 16:08:01] local.INFO: Extracted packet for processing {"connection_id":133524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6558"} 
[2026-07-15 16:08:01] local.INFO: GPS Element Parsed {"raw_longitude":756575680,"raw_latitude":119671544,"longitude_deg":75.657568,"latitude_deg":11.9671544,"altitude":88,"angle":88,"satellites":39,"speed":0,"hex_longitude":"2d186dc0","hex_latitude":"07220af8","is_valid_coordinates":true} 
[2026-07-15 16:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732592640001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6119082856284160,"note":"Value kept but may cause issues"} 
[2026-07-15 16:08:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760274166240180224,"note":"Value kept but may cause issues"} 
[2026-07-15 16:08: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-07-15 16:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784111711000,"timestamp_ms":1784111711000,"timestamp_seconds":1784111711,"priority":1,"record_length":96,"hex_timestamp":"0000019f65584318"} 
[2026-07-15 16:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:08: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-07-15 16:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 16:08:01] 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-07-15 16:08:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":133524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":133524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":133524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:08:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732592640001,"66":12428,"105":206,"83":41984,"24":0,"16":6119082856284160,"45":1760274166240180224},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732592640001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:08:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:08:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6119082856284160,"km_value":6119082856284.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:08:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760274166240180224,"description":"Unknown IO ID 45"} 
[2026-07-15 16:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732592640001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1760274166240180224}} 
[2026-07-15 16:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":133524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:08:01] local.INFO: GPS data processed {"connection_id":133524,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:08:01] local.INFO: Acknowledgment sent {"connection_id":133524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:08:04] local.INFO: TCP Data received {"connection_id":132495,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132495,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:08:04] local.INFO: Processing buffer {"connection_id":132495,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:08:04] local.INFO: IMEI packet received {"connection_id":132495,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":132495,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:08:05] local.INFO: TCP Data received {"connection_id":132495,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132495,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:08:05] local.INFO: Processing buffer {"connection_id":132495,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:08:05] local.INFO: IMEI packet received {"connection_id":132495,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":132495,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:08:06] local.INFO: TCP Data received {"connection_id":132495,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f65593548012d7a8c8005e3d800000700f923..."} 
[2026-07-15 16:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65593548012d7a8c8005e3d800000700f923..."} 
[2026-07-15 16:08:06] local.INFO: Processing buffer {"connection_id":132495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65593548012d7a8c8005e3d800000700f923..."} 
[2026-07-15 16:08:06] local.INFO: Packet analysis {"connection_id":132495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6559"} 
[2026-07-15 16:08:06] local.INFO: Extracted packet for processing {"connection_id":132495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6559"} 
[2026-07-15 16:08:06] local.INFO: GPS Element Parsed {"raw_longitude":763006080,"raw_latitude":98818048,"longitude_deg":76.300608,"latitude_deg":9.8818048,"altitude":7,"angle":249,"satellites":35,"speed":2,"hex_longitude":"2d7a8c80","hex_latitude":"05e3d800","is_valid_coordinates":true} 
[2026-07-15 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-07-15 16:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732610048001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106601771186520064,"note":"Value kept but may cause issues"} 
[2026-07-15 16:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8830784838385055744,"note":"Value kept but may cause issues"} 
[2026-07-15 16:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784111773000,"timestamp_ms":1784111773000,"timestamp_seconds":1784111773,"priority":1,"record_length":96,"hex_timestamp":"0000019f65593548"} 
[2026-07-15 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-07-15 16:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-15 16:08: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-07-15 16:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 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-07-15 16:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732610048001,"66":13243,"97":206,"85":15104,"24":2,"16":106601771186520064,"45":8830784838385055744},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 16:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732610048001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:08:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 16:08:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 16:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106601771186520064,"km_value":106601771186520.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8830784838385055744,"description":"Unknown IO ID 45"} 
[2026-07-15 16:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732610048001,"power":13243,"unknown_97":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8830784838385055744}} 
[2026-07-15 16:08:06] local.INFO: TCP Data received {"connection_id":134895,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:08:06] local.INFO: Processing buffer {"connection_id":134895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:08:06] local.INFO: IMEI packet received {"connection_id":134895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":134895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":132495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491649,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:08:06] local.INFO: GPS data processed {"connection_id":132495,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:08:06] local.INFO: Acknowledgment sent {"connection_id":132495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:08:06] local.INFO: TCP Data received {"connection_id":133524,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f65589520012d186dc007220af80058005825..."} 
[2026-07-15 16:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65589520012d186dc007220af80058005825..."} 
[2026-07-15 16:08:06] local.INFO: Processing buffer {"connection_id":133524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65589520012d186dc007220af80058005825..."} 
[2026-07-15 16:08:06] local.INFO: Packet analysis {"connection_id":133524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6558"} 
[2026-07-15 16:08:06] local.INFO: Extracted packet for processing {"connection_id":133524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6558"} 
[2026-07-15 16:08:06] local.INFO: GPS Element Parsed {"raw_longitude":756575680,"raw_latitude":119671544,"longitude_deg":75.657568,"latitude_deg":11.9671544,"altitude":88,"angle":88,"satellites":37,"speed":0,"hex_longitude":"2d186dc0","hex_latitude":"07220af8","is_valid_coordinates":true} 
[2026-07-15 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-07-15 16:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732598016001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6119082856284160,"note":"Value kept but may cause issues"} 
[2026-07-15 16:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760274166240180224,"note":"Value kept but may cause issues"} 
[2026-07-15 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-07-15 16:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784111732000,"timestamp_ms":1784111732000,"timestamp_seconds":1784111732,"priority":1,"record_length":96,"hex_timestamp":"0000019f65589520"} 
[2026-07-15 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-07-15 16:08:06] 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-07-15 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-15 16:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 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-07-15 16:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732598016001,"66":12504,"105":206,"83":41984,"24":0,"16":6119082856284160,"45":1760274166240180224},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732598016001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:08:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:08:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6119082856284160,"km_value":6119082856284.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760274166240180224,"description":"Unknown IO ID 45"} 
[2026-07-15 16:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732598016001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1760274166240180224}} 
[2026-07-15 16:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":133524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:08:06] local.INFO: GPS data processed {"connection_id":133524,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:08:06] local.INFO: Acknowledgment sent {"connection_id":133524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:08:06] local.INFO: TCP Data received {"connection_id":134895,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f6558fe98012d7f9b8005afd770000800062a..."} 
[2026-07-15 16:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6558fe98012d7f9b8005afd770000800062a..."} 
[2026-07-15 16:08:06] local.INFO: Processing buffer {"connection_id":134895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6558fe98012d7f9b8005afd770000800062a..."} 
[2026-07-15 16:08:06] local.INFO: Packet analysis {"connection_id":134895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6558"} 
[2026-07-15 16:08:06] local.INFO: Extracted packet for processing {"connection_id":134895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6558"} 
[2026-07-15 16:08:06] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":8,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 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-07-15 16:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732531968001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196913413467338752,"note":"Value kept but may cause issues"} 
[2026-07-15 16:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784111759000,"timestamp_ms":1784111759000,"timestamp_seconds":1784111759,"priority":1,"record_length":96,"hex_timestamp":"0000019f6558fe98"} 
[2026-07-15 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-07-15 16:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-15 16:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 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-07-15 16:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":134895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":134895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":134895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732531968001,"66":26267,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9196913413467338752},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732531968001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:08:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:08:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196913413467338752,"description":"Unknown IO ID 45"} 
[2026-07-15 16:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732531968001,"power":26267,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196913413467338752}} 
[2026-07-15 16:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":134895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:08:06] local.INFO: GPS data processed {"connection_id":134895,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:08:06] local.INFO: Acknowledgment sent {"connection_id":134895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:08:10] local.INFO: TCP Data received {"connection_id":132495,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f65595c58012d7a828005e3d4280007010524..."} 
[2026-07-15 16:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65595c58012d7a828005e3d4280007010524..."} 
[2026-07-15 16:08:10] local.INFO: Processing buffer {"connection_id":132495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65595c58012d7a828005e3d4280007010524..."} 
[2026-07-15 16:08:10] local.INFO: Packet analysis {"connection_id":132495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6559"} 
[2026-07-15 16:08:10] local.INFO: Extracted packet for processing {"connection_id":132495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6559"} 
[2026-07-15 16:08:10] local.INFO: GPS Element Parsed {"raw_longitude":763003520,"raw_latitude":98817064,"longitude_deg":76.300352,"latitude_deg":9.8817064,"altitude":7,"angle":261,"satellites":36,"speed":10,"hex_longitude":"2d7a8280","hex_latitude":"05e3d428","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732613888001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106601900035538944,"note":"Value kept but may cause issues"} 
[2026-07-15 16:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8830573732152475648,"note":"Value kept but may cause issues"} 
[2026-07-15 16:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784111783000,"timestamp_ms":1784111783000,"timestamp_seconds":1784111783,"priority":1,"record_length":96,"hex_timestamp":"0000019f65595c58"} 
[2026-07-15 16:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-15 16:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":132495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":132495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":132495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732613888001,"66":13319,"97":206,"85":15104,"24":10,"16":106601900035538944,"45":8830573732152475648},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 16:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732613888001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:08:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 16:08:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 16:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106601900035538944,"km_value":106601900035538.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8830573732152475648,"description":"Unknown IO ID 45"} 
[2026-07-15 16:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732613888001,"power":13319,"unknown_97":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8830573732152475648}} 
[2026-07-15 16:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":132495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491652,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:08:10] local.INFO: GPS data processed {"connection_id":132495,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:08:10] local.INFO: Acknowledgment sent {"connection_id":132495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:08:32] local.INFO: TCP Data received {"connection_id":133525,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f655b2560012d0c5e4007053a90002101551a..."} 
[2026-07-15 16:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f655b2560012d0c5e4007053a90002101551a..."} 
[2026-07-15 16:08:32] local.INFO: Processing buffer {"connection_id":133525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f655b2560012d0c5e4007053a90002101551a..."} 
[2026-07-15 16:08:32] local.INFO: Packet analysis {"connection_id":133525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f655b"} 
[2026-07-15 16:08:32] local.INFO: Extracted packet for processing {"connection_id":133525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f655b"} 
[2026-07-15 16:08:32] local.INFO: GPS Element Parsed {"raw_longitude":755785280,"raw_latitude":117783184,"longitude_deg":75.578528,"latitude_deg":11.7783184,"altitude":33,"angle":341,"satellites":26,"speed":35,"hex_longitude":"2d0c5e40","hex_latitude":"07053a90","is_valid_coordinates":true} 
[2026-07-15 16:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732642560001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24691590891044864,"note":"Value kept but may cause issues"} 
[2026-07-15 16:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":893049762508873728,"note":"Value kept but may cause issues"} 
[2026-07-15 16:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784111900000,"timestamp_ms":1784111900000,"timestamp_seconds":1784111900,"priority":1,"record_length":96,"hex_timestamp":"0000019f655b2560"} 
[2026-07-15 16:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-15 16:08:32] 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-07-15 16:08:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":133525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":133525,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":133525,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732642560001,"66":14548,"95":206,"94":10240,"24":35,"16":24691590891044864,"45":893049762508873728},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-15 16:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732642560001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:08:32] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-15 16:08:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 16:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24691590891044864,"km_value":24691590891044.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":893049762508873728,"description":"Unknown IO ID 45"} 
[2026-07-15 16:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732642560001,"power":14548,"unknown_95":206,"unknown_94":10240,"ignition":35,"odometer":null,"unknown_45":893049762508873728}} 
[2026-07-15 16:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":133525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491653,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:08:33] local.INFO: GPS data processed {"connection_id":133525,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:08:33] local.INFO: Acknowledgment sent {"connection_id":133525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:08:37] local.INFO: TCP Data received {"connection_id":134895,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f6558fe98012d7f9b8005afd770000800062a..."} 
[2026-07-15 16:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6558fe98012d7f9b8005afd770000800062a..."} 
[2026-07-15 16:08:37] local.INFO: Processing buffer {"connection_id":134895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6558fe98012d7f9b8005afd770000800062a..."} 
[2026-07-15 16:08:37] local.INFO: Packet analysis {"connection_id":134895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6558"} 
[2026-07-15 16:08:37] local.INFO: Extracted packet for processing {"connection_id":134895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6558"} 
[2026-07-15 16:08:37] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":8,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732531968001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196913413467338752,"note":"Value kept but may cause issues"} 
[2026-07-15 16:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784111759000,"timestamp_ms":1784111759000,"timestamp_seconds":1784111759,"priority":1,"record_length":96,"hex_timestamp":"0000019f6558fe98"} 
[2026-07-15 16:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-15 16:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":134895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":134895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":134895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732531968001,"66":26267,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9196913413467338752},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732531968001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:08:37] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:08:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196913413467338752,"description":"Unknown IO ID 45"} 
[2026-07-15 16:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732531968001,"power":26267,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196913413467338752}} 
[2026-07-15 16:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":134895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:08:37] local.INFO: GPS data processed {"connection_id":134895,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:08:37] local.INFO: Acknowledgment sent {"connection_id":134895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:08:41] local.INFO: TCP Data received {"connection_id":132495,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f655b15c0012d7a818005e3d3400006005125..."} 
[2026-07-15 16:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f655b15c0012d7a818005e3d3400006005125..."} 
[2026-07-15 16:08:41] local.INFO: Processing buffer {"connection_id":132495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f655b15c0012d7a818005e3d3400006005125..."} 
[2026-07-15 16:08:41] local.INFO: Packet analysis {"connection_id":132495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f655b"} 
[2026-07-15 16:08:41] local.INFO: Extracted packet for processing {"connection_id":132495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f655b"} 
[2026-07-15 16:08:41] local.INFO: GPS Element Parsed {"raw_longitude":763003264,"raw_latitude":98816832,"longitude_deg":76.3003264,"latitude_deg":9.8816832,"altitude":6,"angle":81,"satellites":37,"speed":9,"hex_longitude":"2d7a8180","hex_latitude":"05e3d340","is_valid_coordinates":true} 
[2026-07-15 16:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732644608001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106602093309067264,"note":"Value kept but may cause issues"} 
[2026-07-15 16:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8826914557454931968,"note":"Value kept but may cause issues"} 
[2026-07-15 16:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784111896000,"timestamp_ms":1784111896000,"timestamp_seconds":1784111896,"priority":1,"record_length":96,"hex_timestamp":"0000019f655b15c0"} 
[2026-07-15 16:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-15 16:08:41] 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-07-15 16:08: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-07-15 16:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732644608001,"66":13048,"97":206,"85":15104,"24":9,"16":106602093309067264,"45":8826914557454931968},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 16:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732644608001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:08:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 16:08:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 16:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106602093309067264,"km_value":106602093309067.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8826914557454931968,"description":"Unknown IO ID 45"} 
[2026-07-15 16:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732644608001,"power":13048,"unknown_97":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8826914557454931968}} 
[2026-07-15 16:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":132495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491655,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:08:42] local.INFO: GPS data processed {"connection_id":132495,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:08:42] local.INFO: Acknowledgment sent {"connection_id":132495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:08:50] local.INFO: TCP Data received {"connection_id":133526,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:08:50] local.INFO: Processing buffer {"connection_id":133526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:08:50] local.INFO: IMEI packet received {"connection_id":133526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":133526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:08:55] local.INFO: TCP Data received {"connection_id":133526,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:08:55] local.INFO: Processing buffer {"connection_id":133526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:08:55] local.INFO: IMEI packet received {"connection_id":133526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":133526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:08:56] local.INFO: TCP Data received {"connection_id":133526,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f6558e728012d186dc007220af80058005828..."} 
[2026-07-15 16:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6558e728012d186dc007220af80058005828..."} 
[2026-07-15 16:08:56] local.INFO: Processing buffer {"connection_id":133526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6558e728012d186dc007220af80058005828..."} 
[2026-07-15 16:08:56] local.INFO: Packet analysis {"connection_id":133526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6558"} 
[2026-07-15 16:08:56] local.INFO: Extracted packet for processing {"connection_id":133526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6558"} 
[2026-07-15 16:08:56] local.INFO: GPS Element Parsed {"raw_longitude":756575680,"raw_latitude":119671544,"longitude_deg":75.657568,"latitude_deg":11.9671544,"altitude":88,"angle":88,"satellites":40,"speed":0,"hex_longitude":"2d186dc0","hex_latitude":"07220af8","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732603392001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6119082856284160,"note":"Value kept but may cause issues"} 
[2026-07-15 16:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760274166240180224,"note":"Value kept but may cause issues"} 
[2026-07-15 16:08:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784111753000,"timestamp_ms":1784111753000,"timestamp_seconds":1784111753,"priority":1,"record_length":96,"hex_timestamp":"0000019f6558e728"} 
[2026-07-15 16:08:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:08: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-07-15 16: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 16:08:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16: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-07-15 16:08:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732603392001,"66":12504,"105":206,"83":41984,"24":0,"16":6119082856284160,"45":1760274166240180224},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732603392001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:08:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:08:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6119082856284160,"km_value":6119082856284.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760274166240180224,"description":"Unknown IO ID 45"} 
[2026-07-15 16:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732603392001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1760274166240180224}} 
[2026-07-15 16:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":133526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:08:56] local.INFO: GPS data processed {"connection_id":133526,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:08:56] local.INFO: Acknowledgment sent {"connection_id":133526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:08:57] local.INFO: TCP Data received {"connection_id":132684,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132684,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:08:57] local.INFO: Processing buffer {"connection_id":132684,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:08:57] local.INFO: IMEI packet received {"connection_id":132684,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 16:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":132684,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:08:59] local.INFO: TCP Data received {"connection_id":132684,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132684,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:08:59] local.INFO: Processing buffer {"connection_id":132684,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:08:59] local.INFO: IMEI packet received {"connection_id":132684,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 16:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":132684,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:09:00] local.INFO: TCP Data received {"connection_id":132684,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f655b2560012d0c5e4007053a90002101551a..."} 
[2026-07-15 16:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f655b2560012d0c5e4007053a90002101551a..."} 
[2026-07-15 16:09:00] local.INFO: Processing buffer {"connection_id":132684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f655b2560012d0c5e4007053a90002101551a..."} 
[2026-07-15 16:09:00] local.INFO: Packet analysis {"connection_id":132684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f655b"} 
[2026-07-15 16:09:00] local.INFO: Extracted packet for processing {"connection_id":132684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f655b"} 
[2026-07-15 16:09:00] local.INFO: GPS Element Parsed {"raw_longitude":755785280,"raw_latitude":117783184,"longitude_deg":75.578528,"latitude_deg":11.7783184,"altitude":33,"angle":341,"satellites":26,"speed":35,"hex_longitude":"2d0c5e40","hex_latitude":"07053a90","is_valid_coordinates":true} 
[2026-07-15 16:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732646400001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24691590891044864,"note":"Value kept but may cause issues"} 
[2026-07-15 16:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":891220175162609664,"note":"Value kept but may cause issues"} 
[2026-07-15 16:09:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784111900000,"timestamp_ms":1784111900000,"timestamp_seconds":1784111900,"priority":1,"record_length":96,"hex_timestamp":"0000019f655b2560"} 
[2026-07-15 16:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-15 16:09:00] 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-07-15 16:09:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":132684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":132684,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":132684,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732646400001,"66":14548,"95":206,"94":10240,"24":35,"16":24691590891044864,"45":891220175162609664},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-15 16:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732646400001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:09:00] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-15 16:09:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 16:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24691590891044864,"km_value":24691590891044.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":891220175162609664,"description":"Unknown IO ID 45"} 
[2026-07-15 16:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732646400001,"power":14548,"unknown_95":206,"unknown_94":10240,"ignition":35,"odometer":null,"unknown_45":891220175162609664}} 
[2026-07-15 16:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":132684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491657,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:09:00] local.INFO: GPS data processed {"connection_id":132684,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:09:00] local.INFO: Acknowledgment sent {"connection_id":132684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:09:00] local.INFO: TCP Data received {"connection_id":132685,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:09:00] local.INFO: Processing buffer {"connection_id":132685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:09:00] local.INFO: IMEI packet received {"connection_id":132685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":132685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:09:02] local.INFO: TCP Data received {"connection_id":132684,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f655b44a0012d0c504007055738001e01491a..."} 
[2026-07-15 16:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f655b44a0012d0c504007055738001e01491a..."} 
[2026-07-15 16:09:02] local.INFO: Processing buffer {"connection_id":132684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f655b44a0012d0c504007055738001e01491a..."} 
[2026-07-15 16:09:02] local.INFO: Packet analysis {"connection_id":132684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f655b"} 
[2026-07-15 16:09:02] local.INFO: Extracted packet for processing {"connection_id":132684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f655b"} 
[2026-07-15 16:09:02] local.INFO: GPS Element Parsed {"raw_longitude":755781696,"raw_latitude":117790520,"longitude_deg":75.5781696,"latitude_deg":11.779052,"altitude":30,"angle":329,"satellites":26,"speed":44,"hex_longitude":"2d0c5040","hex_latitude":"07055738","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732646400001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24691986028036096,"note":"Value kept but may cause issues"} 
[2026-07-15 16:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":891220175162609664,"note":"Value kept but may cause issues"} 
[2026-07-15 16:09:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784111908000,"timestamp_ms":1784111908000,"timestamp_seconds":1784111908,"priority":1,"record_length":96,"hex_timestamp":"0000019f655b44a0"} 
[2026-07-15 16:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:09:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-15 16:09:02] 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-07-15 16:09:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":132684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":132684,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":132684,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732646400001,"66":14428,"95":206,"94":10240,"24":44,"16":24691986028036096,"45":891220175162609664},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-15 16:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732646400001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:09:02] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-15 16:09:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 16:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24691986028036096,"km_value":24691986028036.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":891220175162609664,"description":"Unknown IO ID 45"} 
[2026-07-15 16:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732646400001,"power":14428,"unknown_95":206,"unknown_94":10240,"ignition":44,"odometer":null,"unknown_45":891220175162609664}} 
[2026-07-15 16:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":132684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491658,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:09:02] local.INFO: GPS data processed {"connection_id":132684,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:09:02] local.INFO: Acknowledgment sent {"connection_id":132684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:09:04] local.INFO: TCP Data received {"connection_id":134896,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134896,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:09:04] local.INFO: Processing buffer {"connection_id":134896,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:09:04] local.INFO: IMEI packet received {"connection_id":134896,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 16:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":134896,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:09:06] local.INFO: TCP Data received {"connection_id":132685,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:09:06] local.INFO: Processing buffer {"connection_id":132685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:09:06] local.INFO: IMEI packet received {"connection_id":132685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":132685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:09:06] local.INFO: TCP Data received {"connection_id":132685,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f6558fe98012d7f9b8005afd770000800062a..."} 
[2026-07-15 16:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6558fe98012d7f9b8005afd770000800062a..."} 
[2026-07-15 16:09:06] local.INFO: Processing buffer {"connection_id":132685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6558fe98012d7f9b8005afd770000800062a..."} 
[2026-07-15 16:09:06] local.INFO: Packet analysis {"connection_id":132685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6558"} 
[2026-07-15 16:09:06] local.INFO: Extracted packet for processing {"connection_id":132685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6558"} 
[2026-07-15 16:09:06] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":8,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732531968001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196913413467338752,"note":"Value kept but may cause issues"} 
[2026-07-15 16:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784111759000,"timestamp_ms":1784111759000,"timestamp_seconds":1784111759,"priority":1,"record_length":96,"hex_timestamp":"0000019f6558fe98"} 
[2026-07-15 16:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-15 16:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732531968001,"66":26267,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9196913413467338752},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732531968001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:09:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:09:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196913413467338752,"description":"Unknown IO ID 45"} 
[2026-07-15 16:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732531968001,"power":26267,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196913413467338752}} 
[2026-07-15 16:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":132685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:09:06] local.INFO: GPS data processed {"connection_id":132685,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:09:06] local.INFO: Acknowledgment sent {"connection_id":132685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:09:07] local.INFO: TCP Data received {"connection_id":134896,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134896,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:09:07] local.INFO: Processing buffer {"connection_id":134896,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:09:07] local.INFO: IMEI packet received {"connection_id":134896,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":134896,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:09:10] local.INFO: TCP Data received {"connection_id":134896,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f655b2178012d7a840005e3d3f0000700452b..."} 
[2026-07-15 16:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f655b2178012d7a840005e3d3f0000700452b..."} 
[2026-07-15 16:09:10] local.INFO: Processing buffer {"connection_id":134896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f655b2178012d7a840005e3d3f0000700452b..."} 
[2026-07-15 16:09:10] local.INFO: Packet analysis {"connection_id":134896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f655b"} 
[2026-07-15 16:09:10] local.INFO: Extracted packet for processing {"connection_id":134896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f655b"} 
[2026-07-15 16:09:10] local.INFO: GPS Element Parsed {"raw_longitude":763003904,"raw_latitude":98817008,"longitude_deg":76.3003904,"latitude_deg":9.8817008,"altitude":7,"angle":69,"satellites":43,"speed":9,"hex_longitude":"2d7a8400","hex_latitude":"05e3d3f0","is_valid_coordinates":true} 
[2026-07-15 16:09: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-07-15 16:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732645376001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106602123373838336,"note":"Value kept but may cause issues"} 
[2026-07-15 16:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8827477507408347136,"note":"Value kept but may cause issues"} 
[2026-07-15 16:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784111899000,"timestamp_ms":1784111899000,"timestamp_seconds":1784111899,"priority":1,"record_length":96,"hex_timestamp":"0000019f655b2178"} 
[2026-07-15 16:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-15 16:09:10] 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-07-15 16:09: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-07-15 16:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":134896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":134896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":134896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732645376001,"66":12993,"97":206,"85":15104,"24":9,"16":106602123373838336,"45":8827477507408347136},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 16:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732645376001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:09:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 16:09:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 16:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106602123373838336,"km_value":106602123373838.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8827477507408347136,"description":"Unknown IO ID 45"} 
[2026-07-15 16:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732645376001,"power":12993,"unknown_97":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8827477507408347136}} 
[2026-07-15 16:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":134896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491660,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:09:10] local.INFO: GPS data processed {"connection_id":134896,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:09:10] local.INFO: Acknowledgment sent {"connection_id":134896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:09:13] local.INFO: TCP Data received {"connection_id":134896,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f655b44a0012d7a900005e3d818000700502b..."} 
[2026-07-15 16:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f655b44a0012d7a900005e3d818000700502b..."} 
[2026-07-15 16:09:13] local.INFO: Processing buffer {"connection_id":134896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f655b44a0012d7a900005e3d818000700502b..."} 
[2026-07-15 16:09:13] local.INFO: Packet analysis {"connection_id":134896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f655b"} 
[2026-07-15 16:09:13] local.INFO: Extracted packet for processing {"connection_id":134896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f655b"} 
[2026-07-15 16:09:13] local.INFO: GPS Element Parsed {"raw_longitude":763006976,"raw_latitude":98818072,"longitude_deg":76.3006976,"latitude_deg":9.8818072,"altitude":7,"angle":80,"satellites":43,"speed":18,"hex_longitude":"2d7a9000","hex_latitude":"05e3d818","is_valid_coordinates":true} 
[2026-07-15 16:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732646144001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106602282287628288,"note":"Value kept but may cause issues"} 
[2026-07-15 16:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8828181194850168832,"note":"Value kept but may cause issues"} 
[2026-07-15 16:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784111908000,"timestamp_ms":1784111908000,"timestamp_seconds":1784111908,"priority":1,"record_length":96,"hex_timestamp":"0000019f655b44a0"} 
[2026-07-15 16:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:09:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-15 16:09:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:09:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":134896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":134896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":134896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732646144001,"66":13015,"97":206,"85":15104,"24":18,"16":106602282287628288,"45":8828181194850168832},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 16:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732646144001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:09:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 16:09:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 16:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106602282287628288,"km_value":106602282287628.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8828181194850168832,"description":"Unknown IO ID 45"} 
[2026-07-15 16:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732646144001,"power":13015,"unknown_97":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8828181194850168832}} 
[2026-07-15 16:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":134896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491661,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:09:13] local.INFO: GPS data processed {"connection_id":134896,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:09:13] local.INFO: Acknowledgment sent {"connection_id":134896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:09:27] local.INFO: TCP Data received {"connection_id":133526,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f65593930012d186dc007220af8005800582a..."} 
[2026-07-15 16:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65593930012d186dc007220af8005800582a..."} 
[2026-07-15 16:09:27] local.INFO: Processing buffer {"connection_id":133526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65593930012d186dc007220af8005800582a..."} 
[2026-07-15 16:09:27] local.INFO: Packet analysis {"connection_id":133526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6559"} 
[2026-07-15 16:09:27] local.INFO: Extracted packet for processing {"connection_id":133526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6559"} 
[2026-07-15 16:09:27] local.INFO: GPS Element Parsed {"raw_longitude":756575680,"raw_latitude":119671544,"longitude_deg":75.657568,"latitude_deg":11.9671544,"altitude":88,"angle":88,"satellites":42,"speed":0,"hex_longitude":"2d186dc0","hex_latitude":"07220af8","is_valid_coordinates":true} 
[2026-07-15 16:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732608768001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6119082856284160,"note":"Value kept but may cause issues"} 
[2026-07-15 16:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760274166240180224,"note":"Value kept but may cause issues"} 
[2026-07-15 16:09: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-07-15 16:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784111774000,"timestamp_ms":1784111774000,"timestamp_seconds":1784111774,"priority":1,"record_length":96,"hex_timestamp":"0000019f65593930"} 
[2026-07-15 16:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:09: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-07-15 16:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 16:09:27] 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-07-15 16:09:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":133526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":133526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":133526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732608768001,"66":12428,"105":206,"83":41984,"24":0,"16":6119082856284160,"45":1760274166240180224},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732608768001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:09:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:09:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6119082856284160,"km_value":6119082856284.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760274166240180224,"description":"Unknown IO ID 45"} 
[2026-07-15 16:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732608768001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1760274166240180224}} 
[2026-07-15 16:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":133526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:09:27] local.INFO: GPS data processed {"connection_id":133526,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:09:27] local.INFO: Acknowledgment sent {"connection_id":133526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:09:33] local.INFO: TCP Data received {"connection_id":132684,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f655b67c8012d0c3e80070576b00017014a1a..."} 
[2026-07-15 16:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f655b67c8012d0c3e80070576b00017014a1a..."} 
[2026-07-15 16:09:33] local.INFO: Processing buffer {"connection_id":132684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f655b67c8012d0c3e80070576b00017014a1a..."} 
[2026-07-15 16:09:33] local.INFO: Packet analysis {"connection_id":132684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f655b"} 
[2026-07-15 16:09:33] local.INFO: Extracted packet for processing {"connection_id":132684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f655b"} 
[2026-07-15 16:09:33] local.INFO: GPS Element Parsed {"raw_longitude":755777152,"raw_latitude":117798576,"longitude_deg":75.5777152,"latitude_deg":11.7798576,"altitude":23,"angle":330,"satellites":26,"speed":25,"hex_longitude":"2d0c3e80","hex_latitude":"070576b0","is_valid_coordinates":true} 
[2026-07-15 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-07-15 16:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732648448001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24692432704634880,"note":"Value kept but may cause issues"} 
[2026-07-15 16:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887279525490538496,"note":"Value kept but may cause issues"} 
[2026-07-15 16:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784111917000,"timestamp_ms":1784111917000,"timestamp_seconds":1784111917,"priority":1,"record_length":96,"hex_timestamp":"0000019f655b67c8"} 
[2026-07-15 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-07-15 16:09:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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-07-15 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-07-15 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-07-15 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-07-15 16:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":132684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":132684,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":132684,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732648448001,"66":14548,"164":206,"94":10240,"24":25,"16":24692432704634880,"45":887279525490538496},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-07-15 16:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732648448001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:09:33] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-15 16:09:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 16:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24692432704634880,"km_value":24692432704634.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":887279525490538496,"description":"Unknown IO ID 45"} 
[2026-07-15 16:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732648448001,"power":14548,"unknown_164":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":887279525490538496}} 
[2026-07-15 16:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":132684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491663,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:09:33] local.INFO: GPS data processed {"connection_id":132684,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:09:33] local.INFO: Acknowledgment sent {"connection_id":132684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:09:37] local.INFO: TCP Data received {"connection_id":132685,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f6558fe98012d7f9b8005afd770000800062a..."} 
[2026-07-15 16:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6558fe98012d7f9b8005afd770000800062a..."} 
[2026-07-15 16:09:37] local.INFO: Processing buffer {"connection_id":132685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6558fe98012d7f9b8005afd770000800062a..."} 
[2026-07-15 16:09:37] local.INFO: Packet analysis {"connection_id":132685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6558"} 
[2026-07-15 16:09:37] local.INFO: Extracted packet for processing {"connection_id":132685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6558"} 
[2026-07-15 16:09:37] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":8,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732531968001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196913413467338752,"note":"Value kept but may cause issues"} 
[2026-07-15 16:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784111759000,"timestamp_ms":1784111759000,"timestamp_seconds":1784111759,"priority":1,"record_length":96,"hex_timestamp":"0000019f6558fe98"} 
[2026-07-15 16:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-15 16:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16: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-07-15 16:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732531968001,"66":26267,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9196913413467338752},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732531968001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:09:37] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:09:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196913413467338752,"description":"Unknown IO ID 45"} 
[2026-07-15 16:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732531968001,"power":26267,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196913413467338752}} 
[2026-07-15 16:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":132685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:09:37] local.INFO: GPS data processed {"connection_id":132685,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:09:37] local.INFO: Acknowledgment sent {"connection_id":132685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:09:44] local.INFO: TCP Data received {"connection_id":134896,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f655b7380012d7aa34005e3da980007005b2a..."} 
[2026-07-15 16:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f655b7380012d7aa34005e3da980007005b2a..."} 
[2026-07-15 16:09:44] local.INFO: Processing buffer {"connection_id":134896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f655b7380012d7aa34005e3da980007005b2a..."} 
[2026-07-15 16:09:44] local.INFO: Packet analysis {"connection_id":134896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f655b"} 
[2026-07-15 16:09:44] local.INFO: Extracted packet for processing {"connection_id":134896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f655b"} 
[2026-07-15 16:09:44] local.INFO: GPS Element Parsed {"raw_longitude":763011904,"raw_latitude":98818712,"longitude_deg":76.3011904,"latitude_deg":9.8818712,"altitude":7,"angle":91,"satellites":42,"speed":15,"hex_longitude":"2d7aa340","hex_latitude":"05e3da98","is_valid_coordinates":true} 
[2026-07-15 16:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732648448001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106602518510829568,"note":"Value kept but may cause issues"} 
[2026-07-15 16:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8831558894570969088,"note":"Value kept but may cause issues"} 
[2026-07-15 16:09:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784111920000,"timestamp_ms":1784111920000,"timestamp_seconds":1784111920,"priority":1,"record_length":96,"hex_timestamp":"0000019f655b7380"} 
[2026-07-15 16:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:09:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-15 16:09:44] 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-07-15 16:09:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":134896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":134896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":134896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732648448001,"66":13319,"97":206,"85":15104,"24":15,"16":106602518510829568,"45":8831558894570969088},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 16:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732648448001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:09:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 16:09:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 16:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106602518510829568,"km_value":106602518510829.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:09:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8831558894570969088,"description":"Unknown IO ID 45"} 
[2026-07-15 16:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732648448001,"power":13319,"unknown_97":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8831558894570969088}} 
[2026-07-15 16:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":134896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491665,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:09:44] local.INFO: GPS data processed {"connection_id":134896,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:09:44] local.INFO: Acknowledgment sent {"connection_id":134896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:09:50] local.INFO: TCP Data received {"connection_id":132497,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132497,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:09:50] local.INFO: Processing buffer {"connection_id":132497,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:09:50] local.INFO: IMEI packet received {"connection_id":132497,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":132497,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:09:55] local.INFO: TCP Data received {"connection_id":132687,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:09:55] local.INFO: Processing buffer {"connection_id":132687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:09:55] local.INFO: IMEI packet received {"connection_id":132687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 16:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":132687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:09:55] local.INFO: TCP Data received {"connection_id":132497,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132497,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:09:55] local.INFO: Processing buffer {"connection_id":132497,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:09:55] local.INFO: IMEI packet received {"connection_id":132497,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":132497,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:09:56] local.INFO: TCP Data received {"connection_id":132497,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f65598b38012d186dc007220af80058005829..."} 
[2026-07-15 16:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65598b38012d186dc007220af80058005829..."} 
[2026-07-15 16:09:56] local.INFO: Processing buffer {"connection_id":132497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65598b38012d186dc007220af80058005829..."} 
[2026-07-15 16:09:56] local.INFO: Packet analysis {"connection_id":132497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6559"} 
[2026-07-15 16:09:56] local.INFO: Extracted packet for processing {"connection_id":132497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6559"} 
[2026-07-15 16:09:56] local.INFO: GPS Element Parsed {"raw_longitude":756575680,"raw_latitude":119671544,"longitude_deg":75.657568,"latitude_deg":11.9671544,"altitude":88,"angle":88,"satellites":41,"speed":0,"hex_longitude":"2d186dc0","hex_latitude":"07220af8","is_valid_coordinates":true} 
[2026-07-15 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-07-15 16:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732614144001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6119082856284160,"note":"Value kept but may cause issues"} 
[2026-07-15 16:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760274166240180224,"note":"Value kept but may cause issues"} 
[2026-07-15 16:09:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784111795000,"timestamp_ms":1784111795000,"timestamp_seconds":1784111795,"priority":1,"record_length":96,"hex_timestamp":"0000019f65598b38"} 
[2026-07-15 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-07-15 16:09: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-07-15 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-15 16:09:56] 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-07-15 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-07-15 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-07-15 16:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:09:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732614144001,"66":12461,"105":206,"83":41984,"24":0,"16":6119082856284160,"45":1760274166240180224},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732614144001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:09:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:09:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6119082856284160,"km_value":6119082856284.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760274166240180224,"description":"Unknown IO ID 45"} 
[2026-07-15 16:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732614144001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1760274166240180224}} 
[2026-07-15 16:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":132497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:09:56] local.INFO: GPS data processed {"connection_id":132497,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:09:56] local.INFO: Acknowledgment sent {"connection_id":132497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:09:57] local.INFO: TCP Data received {"connection_id":132687,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:09:57] local.INFO: Processing buffer {"connection_id":132687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:09:57] local.INFO: IMEI packet received {"connection_id":132687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":132687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:09:59] local.INFO: TCP Data received {"connection_id":132687,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:09:59] local.INFO: Processing buffer {"connection_id":132687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:09:59] local.INFO: IMEI packet received {"connection_id":132687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":132687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:10:04] local.INFO: TCP Data received {"connection_id":132687,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:10:04] local.INFO: Processing buffer {"connection_id":132687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:10:04] local.INFO: IMEI packet received {"connection_id":132687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":132687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:10:06] local.INFO: TCP Data received {"connection_id":133527,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:10:06] local.INFO: Processing buffer {"connection_id":133527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:10:06] local.INFO: IMEI packet received {"connection_id":133527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":133527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:10:06] local.INFO: TCP Data received {"connection_id":132687,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f655b92c0012d7aad4005e3da400006004f2a..."} 
[2026-07-15 16:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f655b92c0012d7aad4005e3da400006004f2a..."} 
[2026-07-15 16:10:06] local.INFO: Processing buffer {"connection_id":132687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f655b92c0012d7aad4005e3da400006004f2a..."} 
[2026-07-15 16:10:06] local.INFO: Packet analysis {"connection_id":132687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f655b"} 
[2026-07-15 16:10:06] local.INFO: Extracted packet for processing {"connection_id":132687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f655b"} 
[2026-07-15 16:10:06] local.INFO: GPS Element Parsed {"raw_longitude":763014464,"raw_latitude":98818624,"longitude_deg":76.3014464,"latitude_deg":9.8818624,"altitude":6,"angle":79,"satellites":42,"speed":8,"hex_longitude":"2d7aad40","hex_latitude":"05e3da40","is_valid_coordinates":true} 
[2026-07-15 16:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732651520001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106602638769913856,"note":"Value kept but may cause issues"} 
[2026-07-15 16:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836977287872813056,"note":"Value kept but may cause issues"} 
[2026-07-15 16:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784111928000,"timestamp_ms":1784111928000,"timestamp_seconds":1784111928,"priority":1,"record_length":96,"hex_timestamp":"0000019f655b92c0"} 
[2026-07-15 16:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-15 16:10:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 16:10:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-07-15 16:10:06] local.WARNING: Large IO value detected {"io_id":227,"raw_value":-3208814704432174336,"note":"Value kept but may cause issues"} 
[2026-07-15 16:10:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-07-15 16:10:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3822342144,"note":"Value kept but may cause issues"} 
[2026-07-15 16:10:06] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070502,"note":"Value kept but may cause issues"} 
[2026-07-15 16:10:06] local.WARNING: Large IO value detected {"io_id":122,"raw_value":3120758784,"note":"Value kept but may cause issues"} 
[2026-07-15 16:10:06] local.WARNING: Large IO value detected {"io_id":150,"raw_value":57885305781245243,"note":"Value kept but may cause issues"} 
[2026-07-15 16:10:06] local.WARNING: Large IO value detected {"io_id":90,"raw_value":-8002895242997153787,"note":"Value kept but may cause issues"} 
[2026-07-15 16:10:06] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,97,85,24,241,157,16,186,159,68,45,216,7,43,10,66,33,211,21,128,1,240,248,227,101,4,113,205,5,6,127,144,40,239,51,2,122,150,90],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-07-15 16:10:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504503394213232640,"timestamp_seconds":504503394213232.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 16:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732651520001,"66":13015,"97":206,"85":15104,"24":8,"16":106602638769913856,"45":8836977287872813056},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 16:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732651520001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:10:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 16:10:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 16:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106602638769913856,"km_value":106602638769913.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836977287872813056,"description":"Unknown IO ID 45"} 
[2026-07-15 16:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732651520001,"power":13015,"unknown_97":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8836977287872813056}} 
[2026-07-15 16:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":132687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491667,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:10:06] local.INFO: GPS data processed {"connection_id":132687,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:10:06] local.INFO: Acknowledgment sent {"connection_id":132687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:10:11] local.INFO: TCP Data received {"connection_id":133527,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:10:11] local.INFO: Processing buffer {"connection_id":133527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:10:11] local.INFO: IMEI packet received {"connection_id":133527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":133527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:10:11] local.INFO: TCP Data received {"connection_id":133527,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f6558fe98012d7f9b8005afd770000800062a..."} 
[2026-07-15 16:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6558fe98012d7f9b8005afd770000800062a..."} 
[2026-07-15 16:10:11] local.INFO: Processing buffer {"connection_id":133527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6558fe98012d7f9b8005afd770000800062a..."} 
[2026-07-15 16:10:11] local.INFO: Packet analysis {"connection_id":133527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6558"} 
[2026-07-15 16:10:11] local.INFO: Extracted packet for processing {"connection_id":133527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6558"} 
[2026-07-15 16:10:11] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":8,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732531968001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196913413467338752,"note":"Value kept but may cause issues"} 
[2026-07-15 16:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784111759000,"timestamp_ms":1784111759000,"timestamp_seconds":1784111759,"priority":1,"record_length":96,"hex_timestamp":"0000019f6558fe98"} 
[2026-07-15 16:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-15 16:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":133527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":133527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":133527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732531968001,"66":26267,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9196913413467338752},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732531968001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:10:11] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:10:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196913413467338752,"description":"Unknown IO ID 45"} 
[2026-07-15 16:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732531968001,"power":26267,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196913413467338752}} 
[2026-07-15 16:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":133527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:10:11] local.INFO: GPS data processed {"connection_id":133527,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:10:11] local.INFO: Acknowledgment sent {"connection_id":133527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:10:16] local.INFO: TCP Data received {"connection_id":133527,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f6558fe98012d7f9b8005afd770000800062a..."} 
[2026-07-15 16:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6558fe98012d7f9b8005afd770000800062a..."} 
[2026-07-15 16:10:16] local.INFO: Processing buffer {"connection_id":133527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6558fe98012d7f9b8005afd770000800062a..."} 
[2026-07-15 16:10:16] local.INFO: Packet analysis {"connection_id":133527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6558"} 
[2026-07-15 16:10:16] local.INFO: Extracted packet for processing {"connection_id":133527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6558"} 
[2026-07-15 16:10:16] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":8,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732531968001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196913413467338752,"note":"Value kept but may cause issues"} 
[2026-07-15 16:10:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784111759000,"timestamp_ms":1784111759000,"timestamp_seconds":1784111759,"priority":1,"record_length":96,"hex_timestamp":"0000019f6558fe98"} 
[2026-07-15 16:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-15 16:10:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":133527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":133527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":133527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732531968001,"66":26267,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9196913413467338752},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732531968001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:10:16] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:10:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196913413467338752,"description":"Unknown IO ID 45"} 
[2026-07-15 16:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732531968001,"power":26267,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196913413467338752}} 
[2026-07-15 16:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":133527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:10:16] local.INFO: GPS data processed {"connection_id":133527,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:10:16] local.INFO: Acknowledgment sent {"connection_id":133527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:10:27] local.INFO: TCP Data received {"connection_id":132497,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f6559dd40012d186dc007220af80058005828..."} 
[2026-07-15 16:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6559dd40012d186dc007220af80058005828..."} 
[2026-07-15 16:10:27] local.INFO: Processing buffer {"connection_id":132497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6559dd40012d186dc007220af80058005828..."} 
[2026-07-15 16:10:27] local.INFO: Packet analysis {"connection_id":132497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6559"} 
[2026-07-15 16:10:27] local.INFO: Extracted packet for processing {"connection_id":132497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6559"} 
[2026-07-15 16:10:27] local.INFO: GPS Element Parsed {"raw_longitude":756575680,"raw_latitude":119671544,"longitude_deg":75.657568,"latitude_deg":11.9671544,"altitude":88,"angle":88,"satellites":40,"speed":0,"hex_longitude":"2d186dc0","hex_latitude":"07220af8","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732619520001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6119082856284160,"note":"Value kept but may cause issues"} 
[2026-07-15 16:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760274166240180224,"note":"Value kept but may cause issues"} 
[2026-07-15 16:10: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-07-15 16:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784111816000,"timestamp_ms":1784111816000,"timestamp_seconds":1784111816,"priority":1,"record_length":96,"hex_timestamp":"0000019f6559dd40"} 
[2026-07-15 16:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:10:27] 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-07-15 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 16:10:27] 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-07-15 16: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-07-15 16:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":132497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":132497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":132497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:10:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732619520001,"66":12504,"105":206,"83":41984,"24":0,"16":6119082856284160,"45":1760274166240180224},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732619520001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:10:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:10:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6119082856284160,"km_value":6119082856284.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760274166240180224,"description":"Unknown IO ID 45"} 
[2026-07-15 16:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732619520001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1760274166240180224}} 
[2026-07-15 16:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":132497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:10:27] local.INFO: GPS data processed {"connection_id":132497,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:10:27] local.INFO: Acknowledgment sent {"connection_id":132497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:10:28] local.INFO: TCP Data received {"connection_id":134897,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134897,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:10:28] local.INFO: Processing buffer {"connection_id":134897,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:10:28] local.INFO: IMEI packet received {"connection_id":134897,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 16:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":134897,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:10:38] local.INFO: TCP Data received {"connection_id":132687,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f655cd310012d7ae2c005e3be50000800a424..."} 
[2026-07-15 16:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f655cd310012d7ae2c005e3be50000800a424..."} 
[2026-07-15 16:10:38] local.INFO: Processing buffer {"connection_id":132687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f655cd310012d7ae2c005e3be50000800a424..."} 
[2026-07-15 16:10:38] local.INFO: Packet analysis {"connection_id":132687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f655c"} 
[2026-07-15 16:10:38] local.INFO: Extracted packet for processing {"connection_id":132687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f655c"} 
[2026-07-15 16:10:38] local.INFO: GPS Element Parsed {"raw_longitude":763028160,"raw_latitude":98811472,"longitude_deg":76.302816,"latitude_deg":9.8811472,"altitude":8,"angle":164,"satellites":36,"speed":20,"hex_longitude":"2d7ae2c0","hex_latitude":"05e3be50","is_valid_coordinates":true} 
[2026-07-15 16:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732670976001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106603673857032192,"note":"Value kept but may cause issues"} 
[2026-07-15 16:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8852106567871444992,"note":"Value kept but may cause issues"} 
[2026-07-15 16:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784112010000,"timestamp_ms":1784112010000,"timestamp_seconds":1784112010,"priority":1,"record_length":96,"hex_timestamp":"0000019f655cd310"} 
[2026-07-15 16:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-15 16:10:38] 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-07-15 16:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732670976001,"66":12743,"97":206,"85":15104,"24":20,"16":106603673857032192,"45":8852106567871444992},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 16:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732670976001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:10:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 16:10:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 16:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106603673857032192,"km_value":106603673857032.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8852106567871444992,"description":"Unknown IO ID 45"} 
[2026-07-15 16:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732670976001,"power":12743,"unknown_97":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8852106567871444992}} 
[2026-07-15 16:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":132687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491671,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:10:38] local.INFO: GPS data processed {"connection_id":132687,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:10:38] local.INFO: Acknowledgment sent {"connection_id":132687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:10:51] local.INFO: TCP Data received {"connection_id":132498,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:10:51] local.INFO: Processing buffer {"connection_id":132498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:10:51] local.INFO: IMEI packet received {"connection_id":132498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":132498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:10:55] local.INFO: TCP Data received {"connection_id":132498,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:10:55] local.INFO: Processing buffer {"connection_id":132498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:10:55] local.INFO: IMEI packet received {"connection_id":132498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":132498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:10:56] local.INFO: TCP Data received {"connection_id":132498,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f655a2f48012d186dc007220af8005800582a..."} 
[2026-07-15 16:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f655a2f48012d186dc007220af8005800582a..."} 
[2026-07-15 16:10:56] local.INFO: Processing buffer {"connection_id":132498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f655a2f48012d186dc007220af8005800582a..."} 
[2026-07-15 16:10:56] local.INFO: Packet analysis {"connection_id":132498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f655a"} 
[2026-07-15 16:10:56] local.INFO: Extracted packet for processing {"connection_id":132498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f655a"} 
[2026-07-15 16:10:56] local.INFO: GPS Element Parsed {"raw_longitude":756575680,"raw_latitude":119671544,"longitude_deg":75.657568,"latitude_deg":11.9671544,"altitude":88,"angle":88,"satellites":42,"speed":0,"hex_longitude":"2d186dc0","hex_latitude":"07220af8","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732624896001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6119082856284160,"note":"Value kept but may cause issues"} 
[2026-07-15 16:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760274166240180224,"note":"Value kept but may cause issues"} 
[2026-07-15 16:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784111837000,"timestamp_ms":1784111837000,"timestamp_seconds":1784111837,"priority":1,"record_length":96,"hex_timestamp":"0000019f655a2f48"} 
[2026-07-15 16:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:10: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-07-15 16:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 16:10:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16: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-07-15 16:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732624896001,"66":12504,"105":206,"83":41984,"24":0,"16":6119082856284160,"45":1760274166240180224},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732624896001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:10:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:10:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6119082856284160,"km_value":6119082856284.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760274166240180224,"description":"Unknown IO ID 45"} 
[2026-07-15 16:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732624896001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1760274166240180224}} 
[2026-07-15 16:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":132498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:10:56] local.INFO: GPS data processed {"connection_id":132498,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:10:56] local.INFO: Acknowledgment sent {"connection_id":132498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:10:59] local.INFO: TCP Data received {"connection_id":132499,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132499,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:10:59] local.INFO: Processing buffer {"connection_id":132499,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:10:59] local.INFO: IMEI packet received {"connection_id":132499,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 16:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":132499,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:11:00] local.INFO: TCP Data received {"connection_id":132499,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132499,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:11:00] local.INFO: Processing buffer {"connection_id":132499,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:11:00] local.INFO: IMEI packet received {"connection_id":132499,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":132499,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:11:00] local.INFO: TCP Data received {"connection_id":134898,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:11:00] local.INFO: Processing buffer {"connection_id":134898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:11:00] local.INFO: IMEI packet received {"connection_id":134898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":134898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:11:04] local.INFO: TCP Data received {"connection_id":132499,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132499,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:11:04] local.INFO: Processing buffer {"connection_id":132499,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:11:04] local.INFO: IMEI packet received {"connection_id":132499,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":132499,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:11:04] local.INFO: TCP Data received {"connection_id":132688,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132688,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:11:04] local.INFO: Processing buffer {"connection_id":132688,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:11:04] local.INFO: IMEI packet received {"connection_id":132688,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 16:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":132688,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:11:05] local.INFO: TCP Data received {"connection_id":132499,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f655ce698012d7ae50005e3b8580008009628..."} 
[2026-07-15 16:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f655ce698012d7ae50005e3b8580008009628..."} 
[2026-07-15 16:11:05] local.INFO: Processing buffer {"connection_id":132499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f655ce698012d7ae50005e3b8580008009628..."} 
[2026-07-15 16:11:05] local.INFO: Packet analysis {"connection_id":132499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f655c"} 
[2026-07-15 16:11:05] local.INFO: Extracted packet for processing {"connection_id":132499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f655c"} 
[2026-07-15 16:11:05] local.INFO: GPS Element Parsed {"raw_longitude":763028736,"raw_latitude":98809944,"longitude_deg":76.3028736,"latitude_deg":9.8809944,"altitude":8,"angle":150,"satellites":40,"speed":6,"hex_longitude":"2d7ae500","hex_latitude":"05e3b858","is_valid_coordinates":true} 
[2026-07-15 16:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732674560001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106603751166443520,"note":"Value kept but may cause issues"} 
[2026-07-15 16:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8854850948892086272,"note":"Value kept but may cause issues"} 
[2026-07-15 16:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784112015000,"timestamp_ms":1784112015000,"timestamp_seconds":1784112015,"priority":1,"record_length":96,"hex_timestamp":"0000019f655ce698"} 
[2026-07-15 16:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-15 16:11:05] 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-07-15 16:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132499,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132499,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732674560001,"66":13059,"97":206,"85":15104,"24":6,"16":106603751166443520,"45":8854850948892086272},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 16:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732674560001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:11:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 16:11:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 16:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106603751166443520,"km_value":106603751166443.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8854850948892086272,"description":"Unknown IO ID 45"} 
[2026-07-15 16:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732674560001,"power":13059,"unknown_97":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8854850948892086272}} 
[2026-07-15 16:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":132499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491673,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:11:05] local.INFO: GPS data processed {"connection_id":132499,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:11:05] local.INFO: Acknowledgment sent {"connection_id":132499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:11:06] local.INFO: TCP Data received {"connection_id":134898,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:11:06] local.INFO: Processing buffer {"connection_id":134898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:11:06] local.INFO: IMEI packet received {"connection_id":134898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":134898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:11:06] local.INFO: TCP Data received {"connection_id":134898,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f6558fe98012d7f9b8005afd770000800062a..."} 
[2026-07-15 16:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6558fe98012d7f9b8005afd770000800062a..."} 
[2026-07-15 16:11:06] local.INFO: Processing buffer {"connection_id":134898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6558fe98012d7f9b8005afd770000800062a..."} 
[2026-07-15 16:11:06] local.INFO: Packet analysis {"connection_id":134898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6558"} 
[2026-07-15 16:11:06] local.INFO: Extracted packet for processing {"connection_id":134898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6558"} 
[2026-07-15 16:11:06] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":8,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732531968001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196913413467338752,"note":"Value kept but may cause issues"} 
[2026-07-15 16:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784111759000,"timestamp_ms":1784111759000,"timestamp_seconds":1784111759,"priority":1,"record_length":96,"hex_timestamp":"0000019f6558fe98"} 
[2026-07-15 16:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-15 16:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":134898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":134898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":134898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732531968001,"66":26267,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9196913413467338752},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732531968001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:11:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:11:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196913413467338752,"description":"Unknown IO ID 45"} 
[2026-07-15 16:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732531968001,"power":26267,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196913413467338752}} 
[2026-07-15 16:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":134898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:11:06] local.INFO: GPS data processed {"connection_id":134898,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:11:06] local.INFO: Acknowledgment sent {"connection_id":134898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:11:10] local.INFO: TCP Data received {"connection_id":132499,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f655d2ce8012d7ae6c005e3b450000500ab29..."} 
[2026-07-15 16:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f655d2ce8012d7ae6c005e3b450000500ab29..."} 
[2026-07-15 16:11:10] local.INFO: Processing buffer {"connection_id":132499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f655d2ce8012d7ae6c005e3b450000500ab29..."} 
[2026-07-15 16:11:10] local.INFO: Packet analysis {"connection_id":132499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f655d"} 
[2026-07-15 16:11:10] local.INFO: Extracted packet for processing {"connection_id":132499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f655d"} 
[2026-07-15 16:11:10] local.INFO: GPS Element Parsed {"raw_longitude":763029184,"raw_latitude":98808912,"longitude_deg":76.3029184,"latitude_deg":9.8808912,"altitude":5,"angle":171,"satellites":41,"speed":5,"hex_longitude":"2d7ae6c0","hex_latitude":"05e3b450","is_valid_coordinates":true} 
[2026-07-15 16:11: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-07-15 16:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732675840001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106603807001018368,"note":"Value kept but may cause issues"} 
[2026-07-15 16:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8855484267589294080,"note":"Value kept but may cause issues"} 
[2026-07-15 16:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784112033000,"timestamp_ms":1784112033000,"timestamp_seconds":1784112033,"priority":1,"record_length":96,"hex_timestamp":"0000019f655d2ce8"} 
[2026-07-15 16:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-15 16:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162274663846,"note":"Value kept but may cause issues"} 
[2026-07-15 16:11:10] local.WARNING: Large IO value detected {"io_id":97,"raw_value":58077557095399426,"note":"Value kept but may cause issues"} 
[2026-07-15 16:11:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 16:11:10] local.WARNING: Large IO value detected {"io_id":227,"raw_value":3830448132,"note":"Value kept but may cause issues"} 
[2026-07-15 16:11:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-07-15 16:11:10] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3892391290,"note":"Value kept but may cause issues"} 
[2026-07-15 16:11:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2147869665,"corrected_to":0} 
[2026-07-15 16:11:10] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137392038,"note":"Value kept but may cause issues"} 
[2026-07-15 16:11:10] local.WARNING: Large IO value detected {"io_id":122,"raw_value":3134980096,"note":"Value kept but may cause issues"} 
[2026-07-15 16:11:10] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,97,85,24,241,157,16,187,159,211,45,192,190,8,36,10,66,156,225,5,43,148,128,1,240,7,227,101,4,113,205,6,50,200,34,239,51,2,122],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0},{"io_id":200,"original":2147869665,"validated":0}]} 
[2026-07-15 16:11:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576625850846674944,"timestamp_seconds":576625850846675.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 16:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":132499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":132499,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":132499,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732675840001,"66":13102,"97":206,"85":15104,"24":5,"16":106603807001018368,"45":8855484267589294080},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 16:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732675840001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:11:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 16:11:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 16:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106603807001018368,"km_value":106603807001018.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8855484267589294080,"description":"Unknown IO ID 45"} 
[2026-07-15 16:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732675840001,"power":13102,"unknown_97":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8855484267589294080}} 
[2026-07-15 16:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":132499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491675,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:11:10] local.INFO: GPS data processed {"connection_id":132499,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:11:10] local.INFO: Acknowledgment sent {"connection_id":132499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:11:27] local.INFO: TCP Data received {"connection_id":132498,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f655a8150012d186dc007220af80058005829..."} 
[2026-07-15 16:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f655a8150012d186dc007220af80058005829..."} 
[2026-07-15 16:11:27] local.INFO: Processing buffer {"connection_id":132498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f655a8150012d186dc007220af80058005829..."} 
[2026-07-15 16:11:27] local.INFO: Packet analysis {"connection_id":132498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f655a"} 
[2026-07-15 16:11:27] local.INFO: Extracted packet for processing {"connection_id":132498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f655a"} 
[2026-07-15 16:11:27] local.INFO: GPS Element Parsed {"raw_longitude":756575680,"raw_latitude":119671544,"longitude_deg":75.657568,"latitude_deg":11.9671544,"altitude":88,"angle":88,"satellites":41,"speed":0,"hex_longitude":"2d186dc0","hex_latitude":"07220af8","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732630272001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6119082856284160,"note":"Value kept but may cause issues"} 
[2026-07-15 16:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760274166240180224,"note":"Value kept but may cause issues"} 
[2026-07-15 16:11: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-07-15 16:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784111858000,"timestamp_ms":1784111858000,"timestamp_seconds":1784111858,"priority":1,"record_length":96,"hex_timestamp":"0000019f655a8150"} 
[2026-07-15 16:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:11:27] 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-07-15 16:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 16:11:27] 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-07-15 16: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-07-15 16:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":132498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":132498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":132498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732630272001,"66":12504,"105":206,"83":41984,"24":0,"16":6119082856284160,"45":1760274166240180224},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732630272001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:11:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:11:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6119082856284160,"km_value":6119082856284.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760274166240180224,"description":"Unknown IO ID 45"} 
[2026-07-15 16:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732630272001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1760274166240180224}} 
[2026-07-15 16:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":132498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:11:27] local.INFO: GPS data processed {"connection_id":132498,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:11:27] local.INFO: Acknowledgment sent {"connection_id":132498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:11:34] local.INFO: TCP Data received {"connection_id":132689,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132689,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:11:34] local.INFO: Processing buffer {"connection_id":132689,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:11:34] local.INFO: IMEI packet received {"connection_id":132689,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 16:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":132689,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:11:37] local.INFO: TCP Data received {"connection_id":134898,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f6558fe98012d7f9b8005afd770000800062a..."} 
[2026-07-15 16:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6558fe98012d7f9b8005afd770000800062a..."} 
[2026-07-15 16:11:37] local.INFO: Processing buffer {"connection_id":134898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6558fe98012d7f9b8005afd770000800062a..."} 
[2026-07-15 16:11:37] local.INFO: Packet analysis {"connection_id":134898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6558"} 
[2026-07-15 16:11:37] local.INFO: Extracted packet for processing {"connection_id":134898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6558"} 
[2026-07-15 16:11:37] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":8,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732531968001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196913413467338752,"note":"Value kept but may cause issues"} 
[2026-07-15 16:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784111759000,"timestamp_ms":1784111759000,"timestamp_seconds":1784111759,"priority":1,"record_length":96,"hex_timestamp":"0000019f6558fe98"} 
[2026-07-15 16:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-15 16:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":134898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":134898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":134898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732531968001,"66":26267,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9196913413467338752},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732531968001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:11:37] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:11:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196913413467338752,"description":"Unknown IO ID 45"} 
[2026-07-15 16:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732531968001,"power":26267,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196913413467338752}} 
[2026-07-15 16:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":134898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:11:37] local.INFO: GPS data processed {"connection_id":134898,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:11:37] local.INFO: Acknowledgment sent {"connection_id":134898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:11:42] local.INFO: TCP Data received {"connection_id":132499,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f655d4c28012d7ae90005e3ab380006009f2b..."} 
[2026-07-15 16:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f655d4c28012d7ae90005e3ab380006009f2b..."} 
[2026-07-15 16:11:42] local.INFO: Processing buffer {"connection_id":132499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f655d4c28012d7ae90005e3ab380006009f2b..."} 
[2026-07-15 16:11:42] local.INFO: Packet analysis {"connection_id":132499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f655d"} 
[2026-07-15 16:11:42] local.INFO: Extracted packet for processing {"connection_id":132499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f655d"} 
[2026-07-15 16:11:42] local.INFO: GPS Element Parsed {"raw_longitude":763029760,"raw_latitude":98806584,"longitude_deg":76.302976,"latitude_deg":9.8806584,"altitude":6,"angle":159,"satellites":43,"speed":20,"hex_longitude":"2d7ae900","hex_latitude":"05e3ab38","is_valid_coordinates":true} 
[2026-07-15 16:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732680448001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106603927260102656,"note":"Value kept but may cause issues"} 
[2026-07-15 16:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8855976848798273536,"note":"Value kept but may cause issues"} 
[2026-07-15 16:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784112041000,"timestamp_ms":1784112041000,"timestamp_seconds":1784112041,"priority":1,"record_length":96,"hex_timestamp":"0000019f655d4c28"} 
[2026-07-15 16:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-15 16:11:42] 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-07-15 16:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132499,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132499,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732680448001,"66":13243,"97":206,"85":15104,"24":20,"16":106603927260102656,"45":8855976848798273536},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 16:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732680448001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:11:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 16:11:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 16:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106603927260102656,"km_value":106603927260102.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8855976848798273536,"description":"Unknown IO ID 45"} 
[2026-07-15 16:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732680448001,"power":13243,"unknown_97":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8855976848798273536}} 
[2026-07-15 16:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":132499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491678,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:11:42] local.INFO: GPS data processed {"connection_id":132499,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:11:42] local.INFO: Acknowledgment sent {"connection_id":132499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:11:42] local.INFO: TCP Data received {"connection_id":134897,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134897,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:11:42] local.INFO: Processing buffer {"connection_id":134897,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:11:42] local.INFO: IMEI packet received {"connection_id":134897,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 16:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":134897,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:11:43] local.INFO: TCP Data received {"connection_id":134897,"ip":"42.106.6.23","data_length":812,"data_hex":"000f383632353637303732353733323130000000000000030f8e0a0000019f65..."} 
[2026-07-15 16:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134897,"packet_length":812,"packet_hex":"000f383632353637303732353733323130000000000000030f8e0a0000019f65..."} 
[2026-07-15 16:11:43] local.INFO: Processing buffer {"connection_id":134897,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a0000019f65..."} 
[2026-07-15 16:11:43] local.INFO: IMEI packet received {"connection_id":134897,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 16:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":134897,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:11:50] local.INFO: TCP Data received {"connection_id":132500,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:11:50] local.INFO: Processing buffer {"connection_id":132500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:11:50] local.INFO: IMEI packet received {"connection_id":132500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":132500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:11:55] local.INFO: TCP Data received {"connection_id":132500,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:11:55] local.INFO: Processing buffer {"connection_id":132500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:11:55] local.INFO: IMEI packet received {"connection_id":132500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":132500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:11:56] local.INFO: TCP Data received {"connection_id":132500,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f655ad358012d186dc007220af80058005829..."} 
[2026-07-15 16:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f655ad358012d186dc007220af80058005829..."} 
[2026-07-15 16:11:56] local.INFO: Processing buffer {"connection_id":132500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f655ad358012d186dc007220af80058005829..."} 
[2026-07-15 16:11:56] local.INFO: Packet analysis {"connection_id":132500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f655a"} 
[2026-07-15 16:11:56] local.INFO: Extracted packet for processing {"connection_id":132500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f655a"} 
[2026-07-15 16:11:56] local.INFO: GPS Element Parsed {"raw_longitude":756575680,"raw_latitude":119671544,"longitude_deg":75.657568,"latitude_deg":11.9671544,"altitude":88,"angle":88,"satellites":41,"speed":0,"hex_longitude":"2d186dc0","hex_latitude":"07220af8","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732635648001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6119082856284160,"note":"Value kept but may cause issues"} 
[2026-07-15 16:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760274166240180224,"note":"Value kept but may cause issues"} 
[2026-07-15 16:11:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784111879000,"timestamp_ms":1784111879000,"timestamp_seconds":1784111879,"priority":1,"record_length":96,"hex_timestamp":"0000019f655ad358"} 
[2026-07-15 16:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:11: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-07-15 16: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 16:11:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16: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-07-15 16:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:11:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732635648001,"66":12439,"105":206,"83":41984,"24":0,"16":6119082856284160,"45":1760274166240180224},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732635648001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:11:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:11:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6119082856284160,"km_value":6119082856284.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760274166240180224,"description":"Unknown IO ID 45"} 
[2026-07-15 16:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732635648001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1760274166240180224}} 
[2026-07-15 16:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":132500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:11:56] local.INFO: GPS data processed {"connection_id":132500,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:11:56] local.INFO: Acknowledgment sent {"connection_id":132500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:11:57] local.INFO: TCP Data received {"connection_id":132690,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132690,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:11:57] local.INFO: Processing buffer {"connection_id":132690,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:11:57] local.INFO: IMEI packet received {"connection_id":132690,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 16:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":132690,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:12:00] local.INFO: TCP Data received {"connection_id":132690,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132690,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:12:00] local.INFO: Processing buffer {"connection_id":132690,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:12:00] local.INFO: IMEI packet received {"connection_id":132690,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":132690,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:12:01] local.INFO: TCP Data received {"connection_id":132501,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132501,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:12:01] local.INFO: Processing buffer {"connection_id":132501,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:12:01] local.INFO: IMEI packet received {"connection_id":132501,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 16:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":132501,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:12:01] local.INFO: TCP Data received {"connection_id":132691,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:12:01] local.INFO: Processing buffer {"connection_id":132691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:12:01] local.INFO: IMEI packet received {"connection_id":132691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":132691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:12:02] local.INFO: TCP Data received {"connection_id":132501,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132501,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:12:02] local.INFO: Processing buffer {"connection_id":132501,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:12:02] local.INFO: IMEI packet received {"connection_id":132501,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 16:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":132501,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:12:03] local.INFO: TCP Data received {"connection_id":132501,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132501,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:12:03] local.INFO: Processing buffer {"connection_id":132501,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:12:03] local.INFO: IMEI packet received {"connection_id":132501,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 16:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":132501,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:12:04] local.INFO: TCP Data received {"connection_id":132501,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132501,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:12:04] local.INFO: Processing buffer {"connection_id":132501,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:12:04] local.INFO: IMEI packet received {"connection_id":132501,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 16:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":132501,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:12:04] local.INFO: TCP Data received {"connection_id":132690,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132690,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:12:04] local.INFO: Processing buffer {"connection_id":132690,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:12:04] local.INFO: IMEI packet received {"connection_id":132690,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":132690,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:12:05] local.INFO: TCP Data received {"connection_id":132690,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f655d9278012d7af44005e38a48000700a02b..."} 
[2026-07-15 16:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f655d9278012d7af44005e38a48000700a02b..."} 
[2026-07-15 16:12:05] local.INFO: Processing buffer {"connection_id":132690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f655d9278012d7af44005e38a48000700a02b..."} 
[2026-07-15 16:12:05] local.INFO: Packet analysis {"connection_id":132690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f655d"} 
[2026-07-15 16:12:05] local.INFO: Extracted packet for processing {"connection_id":132690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f655d"} 
[2026-07-15 16:12:05] local.INFO: GPS Element Parsed {"raw_longitude":763032640,"raw_latitude":98798152,"longitude_deg":76.303264,"latitude_deg":9.8798152,"altitude":7,"angle":160,"satellites":43,"speed":19,"hex_longitude":"2d7af440","hex_latitude":"05e38a48","is_valid_coordinates":true} 
[2026-07-15 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-07-15 16:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732682496001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106604356756832256,"note":"Value kept but may cause issues"} 
[2026-07-15 16:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8856610167495276544,"note":"Value kept but may cause issues"} 
[2026-07-15 16:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784112059000,"timestamp_ms":1784112059000,"timestamp_seconds":1784112059,"priority":1,"record_length":96,"hex_timestamp":"0000019f655d9278"} 
[2026-07-15 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-07-15 16:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-15 16:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 16:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732682496001,"66":13189,"97":206,"85":15104,"24":19,"16":106604356756832256,"45":8856610167495276544},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 16:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732682496001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:12:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 16:12:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 16:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106604356756832256,"km_value":106604356756832.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8856610167495276544,"description":"Unknown IO ID 45"} 
[2026-07-15 16:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732682496001,"power":13189,"unknown_97":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8856610167495276544}} 
[2026-07-15 16:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":132690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491680,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:12:05] local.INFO: GPS data processed {"connection_id":132690,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:12:05] local.INFO: Acknowledgment sent {"connection_id":132690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:12:06] local.INFO: TCP Data received {"connection_id":132691,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:12:06] local.INFO: Processing buffer {"connection_id":132691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:12:06] local.INFO: IMEI packet received {"connection_id":132691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":132691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:12:07] local.INFO: TCP Data received {"connection_id":132691,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f655d9660012d7f9b8005afd7700008000631..."} 
[2026-07-15 16:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f655d9660012d7f9b8005afd7700008000631..."} 
[2026-07-15 16:12:07] local.INFO: Processing buffer {"connection_id":132691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f655d9660012d7f9b8005afd7700008000631..."} 
[2026-07-15 16:12:07] local.INFO: Packet analysis {"connection_id":132691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f655d"} 
[2026-07-15 16:12:07] local.INFO: Extracted packet for processing {"connection_id":132691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f655d"} 
[2026-07-15 16:12:07] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":8,"angle":6,"satellites":49,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732610304001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784112060000,"timestamp_ms":1784112060000,"timestamp_seconds":1784112060,"priority":1,"record_length":96,"hex_timestamp":"0000019f655d9660"} 
[2026-07-15 16:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-15 16:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732610304001,"66":26082,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732610304001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:12:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:12:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732610304001,"power":26082,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":132691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:12:07] local.INFO: GPS data processed {"connection_id":132691,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:12:07] local.INFO: Acknowledgment sent {"connection_id":132691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:12:28] local.INFO: TCP Data received {"connection_id":132500,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f655b2560012d186dc007220af80058005827..."} 
[2026-07-15 16:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f655b2560012d186dc007220af80058005827..."} 
[2026-07-15 16:12:28] local.INFO: Processing buffer {"connection_id":132500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f655b2560012d186dc007220af80058005827..."} 
[2026-07-15 16:12:28] local.INFO: Packet analysis {"connection_id":132500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f655b"} 
[2026-07-15 16:12:28] local.INFO: Extracted packet for processing {"connection_id":132500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f655b"} 
[2026-07-15 16:12:28] local.INFO: GPS Element Parsed {"raw_longitude":756575680,"raw_latitude":119671544,"longitude_deg":75.657568,"latitude_deg":11.9671544,"altitude":88,"angle":88,"satellites":39,"speed":0,"hex_longitude":"2d186dc0","hex_latitude":"07220af8","is_valid_coordinates":true} 
[2026-07-15 16:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732641024001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6119082856284160,"note":"Value kept but may cause issues"} 
[2026-07-15 16:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760274166240180224,"note":"Value kept but may cause issues"} 
[2026-07-15 16:12: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-07-15 16:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784111900000,"timestamp_ms":1784111900000,"timestamp_seconds":1784111900,"priority":1,"record_length":96,"hex_timestamp":"0000019f655b2560"} 
[2026-07-15 16:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:12: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-07-15 16:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-15 16:12:28] 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-07-15 16:12:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:12:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732641024001,"66":12439,"105":206,"83":41984,"24":0,"16":6119082856284160,"45":1760274166240180224},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732641024001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:12:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:12:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6119082856284160,"km_value":6119082856284.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760274166240180224,"description":"Unknown IO ID 45"} 
[2026-07-15 16:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732641024001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1760274166240180224}} 
[2026-07-15 16:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":132500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:12:28] local.INFO: GPS data processed {"connection_id":132500,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:12:28] local.INFO: Acknowledgment sent {"connection_id":132500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:12:37] local.INFO: TCP Data received {"connection_id":132690,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f655dd0f8012d7af88005e37bd0000600942c..."} 
[2026-07-15 16:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f655dd0f8012d7af88005e37bd0000600942c..."} 
[2026-07-15 16:12:37] local.INFO: Processing buffer {"connection_id":132690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f655dd0f8012d7af88005e37bd0000600942c..."} 
[2026-07-15 16:12:37] local.INFO: Packet analysis {"connection_id":132690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f655d"} 
[2026-07-15 16:12:37] local.INFO: Extracted packet for processing {"connection_id":132690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f655d"} 
[2026-07-15 16:12:37] local.INFO: GPS Element Parsed {"raw_longitude":763033728,"raw_latitude":98794448,"longitude_deg":76.3033728,"latitude_deg":9.8794448,"altitude":6,"angle":148,"satellites":44,"speed":5,"hex_longitude":"2d7af880","hex_latitude":"05e37bd0","is_valid_coordinates":true} 
[2026-07-15 16:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732687104001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106604545735393280,"note":"Value kept but may cause issues"} 
[2026-07-15 16:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8859776760981112832,"note":"Value kept but may cause issues"} 
[2026-07-15 16:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784112075000,"timestamp_ms":1784112075000,"timestamp_seconds":1784112075,"priority":1,"record_length":96,"hex_timestamp":"0000019f655dd0f8"} 
[2026-07-15 16:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-15 16:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732687104001,"66":12461,"97":206,"85":15104,"24":5,"16":106604545735393280,"45":8859776760981112832},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 16:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732687104001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:12:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 16:12:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 16:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106604545735393280,"km_value":106604545735393.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8859776760981112832,"description":"Unknown IO ID 45"} 
[2026-07-15 16:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732687104001,"power":12461,"unknown_97":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8859776760981112832}} 
[2026-07-15 16:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":132690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491683,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:12:37] local.INFO: GPS data processed {"connection_id":132690,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:12:37] local.INFO: Acknowledgment sent {"connection_id":132690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:12:38] local.INFO: TCP Data received {"connection_id":132691,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f655d9660012d7f9b8005afd7700008000631..."} 
[2026-07-15 16:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f655d9660012d7f9b8005afd7700008000631..."} 
[2026-07-15 16:12:38] local.INFO: Processing buffer {"connection_id":132691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f655d9660012d7f9b8005afd7700008000631..."} 
[2026-07-15 16:12:38] local.INFO: Packet analysis {"connection_id":132691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f655d"} 
[2026-07-15 16:12:38] local.INFO: Extracted packet for processing {"connection_id":132691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f655d"} 
[2026-07-15 16:12:38] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":8,"angle":6,"satellites":49,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 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-07-15 16:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732610304001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784112060000,"timestamp_ms":1784112060000,"timestamp_seconds":1784112060,"priority":1,"record_length":96,"hex_timestamp":"0000019f655d9660"} 
[2026-07-15 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-07-15 16:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-15 16:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 16:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732610304001,"66":26082,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732610304001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:12:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:12:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732610304001,"power":26082,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":132691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:12:38] local.INFO: GPS data processed {"connection_id":132691,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:12:38] local.INFO: Acknowledgment sent {"connection_id":132691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:12:50] local.INFO: TCP Data received {"connection_id":133528,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:12:50] local.INFO: Processing buffer {"connection_id":133528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:12:50] local.INFO: IMEI packet received {"connection_id":133528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":133528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:12:55] local.INFO: TCP Data received {"connection_id":133528,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:12:55] local.INFO: Processing buffer {"connection_id":133528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:12:55] local.INFO: IMEI packet received {"connection_id":133528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":133528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:12:56] local.INFO: TCP Data received {"connection_id":133528,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f655b7768012d186dc007220af80058005827..."} 
[2026-07-15 16:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f655b7768012d186dc007220af80058005827..."} 
[2026-07-15 16:12:56] local.INFO: Processing buffer {"connection_id":133528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f655b7768012d186dc007220af80058005827..."} 
[2026-07-15 16:12:56] local.INFO: Packet analysis {"connection_id":133528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f655b"} 
[2026-07-15 16:12:56] local.INFO: Extracted packet for processing {"connection_id":133528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f655b"} 
[2026-07-15 16:12:56] local.INFO: GPS Element Parsed {"raw_longitude":756575680,"raw_latitude":119671544,"longitude_deg":75.657568,"latitude_deg":11.9671544,"altitude":88,"angle":88,"satellites":39,"speed":0,"hex_longitude":"2d186dc0","hex_latitude":"07220af8","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732646400001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6119082856284160,"note":"Value kept but may cause issues"} 
[2026-07-15 16:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760274166240180224,"note":"Value kept but may cause issues"} 
[2026-07-15 16:12:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784111921000,"timestamp_ms":1784111921000,"timestamp_seconds":1784111921,"priority":1,"record_length":96,"hex_timestamp":"0000019f655b7768"} 
[2026-07-15 16:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:12:57] 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-07-15 16:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-15 16:12:57] 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-07-15 16:12:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":133528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":133528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":133528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:12:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732646400001,"66":12461,"105":206,"83":41984,"24":0,"16":6119082856284160,"45":1760274166240180224},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732646400001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:12:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:12:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6119082856284160,"km_value":6119082856284.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760274166240180224,"description":"Unknown IO ID 45"} 
[2026-07-15 16:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732646400001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1760274166240180224}} 
[2026-07-15 16:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":133528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:12:57] local.INFO: GPS data processed {"connection_id":133528,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:12:57] local.INFO: Acknowledgment sent {"connection_id":133528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:12:59] local.INFO: TCP Data received {"connection_id":132503,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132503,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:12:59] local.INFO: Processing buffer {"connection_id":132503,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:12:59] local.INFO: IMEI packet received {"connection_id":132503,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 16:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":132503,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:13:01] local.INFO: TCP Data received {"connection_id":132692,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:13:01] local.INFO: Processing buffer {"connection_id":132692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:13:01] local.INFO: IMEI packet received {"connection_id":132692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":132692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:13:04] local.INFO: TCP Data received {"connection_id":132503,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132503,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:13:04] local.INFO: Processing buffer {"connection_id":132503,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:13:04] local.INFO: IMEI packet received {"connection_id":132503,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":132503,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:13:05] local.INFO: TCP Data received {"connection_id":132503,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f655e1f18012d7af9c005e379f8000600942b..."} 
[2026-07-15 16:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f655e1f18012d7af9c005e379f8000600942b..."} 
[2026-07-15 16:13:05] local.INFO: Processing buffer {"connection_id":132503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f655e1f18012d7af9c005e379f8000600942b..."} 
[2026-07-15 16:13:05] local.INFO: Packet analysis {"connection_id":132503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f655e"} 
[2026-07-15 16:13:05] local.INFO: Extracted packet for processing {"connection_id":132503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f655e"} 
[2026-07-15 16:13:05] local.INFO: GPS Element Parsed {"raw_longitude":763034048,"raw_latitude":98793976,"longitude_deg":76.3034048,"latitude_deg":9.8793976,"altitude":6,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7af9c0","hex_latitude":"05e379f8","is_valid_coordinates":true} 
[2026-07-15 16:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732691200001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106604584390098944,"note":"Value kept but may cause issues"} 
[2026-07-15 16:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8860973029631184896,"note":"Value kept but may cause issues"} 
[2026-07-15 16:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784112095000,"timestamp_ms":1784112095000,"timestamp_seconds":1784112095,"priority":1,"record_length":96,"hex_timestamp":"0000019f655e1f18"} 
[2026-07-15 16:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 16:13:05] 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-07-15 16:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732691200001,"66":12722,"97":206,"85":15104,"24":0,"16":106604584390098944,"45":8860973029631184896},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 16:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732691200001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:13:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 16:13:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 16:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106604584390098944,"km_value":106604584390098.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8860973029631184896,"description":"Unknown IO ID 45"} 
[2026-07-15 16:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732691200001,"power":12722,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8860973029631184896}} 
[2026-07-15 16:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":132503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491686,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:13:05] local.INFO: GPS data processed {"connection_id":132503,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:13:05] local.INFO: Acknowledgment sent {"connection_id":132503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:13:06] local.INFO: TCP Data received {"connection_id":132692,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:13:06] local.INFO: Processing buffer {"connection_id":132692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:13:06] local.INFO: IMEI packet received {"connection_id":132692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":132692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:13:06] local.INFO: TCP Data received {"connection_id":132692,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f655d9660012d7f9b8005afd7700008000631..."} 
[2026-07-15 16:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f655d9660012d7f9b8005afd7700008000631..."} 
[2026-07-15 16:13:06] local.INFO: Processing buffer {"connection_id":132692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f655d9660012d7f9b8005afd7700008000631..."} 
[2026-07-15 16:13:06] local.INFO: Packet analysis {"connection_id":132692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f655d"} 
[2026-07-15 16:13:06] local.INFO: Extracted packet for processing {"connection_id":132692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f655d"} 
[2026-07-15 16:13:06] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":8,"angle":6,"satellites":49,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 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-07-15 16:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732610304001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784112060000,"timestamp_ms":1784112060000,"timestamp_seconds":1784112060,"priority":1,"record_length":96,"hex_timestamp":"0000019f655d9660"} 
[2026-07-15 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-07-15 16:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-15 16:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 16:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732610304001,"66":26082,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732610304001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:13:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:13:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732610304001,"power":26082,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":132692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:13:06] local.INFO: GPS data processed {"connection_id":132692,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:13:06] local.INFO: Acknowledgment sent {"connection_id":132692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:13:28] local.INFO: TCP Data received {"connection_id":133528,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f655bc970012d186dc007220af80058005829..."} 
[2026-07-15 16:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f655bc970012d186dc007220af80058005829..."} 
[2026-07-15 16:13:28] local.INFO: Processing buffer {"connection_id":133528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f655bc970012d186dc007220af80058005829..."} 
[2026-07-15 16:13:28] local.INFO: Packet analysis {"connection_id":133528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f655b"} 
[2026-07-15 16:13:28] local.INFO: Extracted packet for processing {"connection_id":133528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f655b"} 
[2026-07-15 16:13:28] local.INFO: GPS Element Parsed {"raw_longitude":756575680,"raw_latitude":119671544,"longitude_deg":75.657568,"latitude_deg":11.9671544,"altitude":88,"angle":88,"satellites":41,"speed":0,"hex_longitude":"2d186dc0","hex_latitude":"07220af8","is_valid_coordinates":true} 
[2026-07-15 16:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732651776001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6119082856284160,"note":"Value kept but may cause issues"} 
[2026-07-15 16:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760274166240180224,"note":"Value kept but may cause issues"} 
[2026-07-15 16:13: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-07-15 16:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784111942000,"timestamp_ms":1784111942000,"timestamp_seconds":1784111942,"priority":1,"record_length":96,"hex_timestamp":"0000019f655bc970"} 
[2026-07-15 16:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:13:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 16:13: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-07-15 16:13:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":133528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":133528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":133528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732651776001,"66":12461,"105":206,"83":41984,"24":0,"16":6119082856284160,"45":1760274166240180224},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732651776001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:13:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:13:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6119082856284160,"km_value":6119082856284.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760274166240180224,"description":"Unknown IO ID 45"} 
[2026-07-15 16:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732651776001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1760274166240180224}} 
[2026-07-15 16:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":133528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:13:28] local.INFO: GPS data processed {"connection_id":133528,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:13:28] local.INFO: Acknowledgment sent {"connection_id":133528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:13:37] local.INFO: TCP Data received {"connection_id":132503,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f655e7120012d7af9c005e379f8000600942c..."} 
[2026-07-15 16:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f655e7120012d7af9c005e379f8000600942c..."} 
[2026-07-15 16:13:37] local.INFO: Processing buffer {"connection_id":132503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f655e7120012d7af9c005e379f8000600942c..."} 
[2026-07-15 16:13:37] local.INFO: Packet analysis {"connection_id":132503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f655e"} 
[2026-07-15 16:13:37] local.INFO: Extracted packet for processing {"connection_id":132503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f655e"} 
[2026-07-15 16:13:37] local.INFO: GPS Element Parsed {"raw_longitude":763034048,"raw_latitude":98793976,"longitude_deg":76.3034048,"latitude_deg":9.8793976,"altitude":6,"angle":148,"satellites":44,"speed":0,"hex_longitude":"2d7af9c0","hex_latitude":"05e379f8","is_valid_coordinates":true} 
[2026-07-15 16:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732696320001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106604584390098944,"note":"Value kept but may cause issues"} 
[2026-07-15 16:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8861324873351952384,"note":"Value kept but may cause issues"} 
[2026-07-15 16:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784112116000,"timestamp_ms":1784112116000,"timestamp_seconds":1784112116,"priority":1,"record_length":96,"hex_timestamp":"0000019f655e7120"} 
[2026-07-15 16:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 16:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732696320001,"66":13276,"97":206,"85":15104,"24":0,"16":106604584390098944,"45":8861324873351952384},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 16:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732696320001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:13:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 16:13:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 16:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106604584390098944,"km_value":106604584390098.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8861324873351952384,"description":"Unknown IO ID 45"} 
[2026-07-15 16:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732696320001,"power":13276,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8861324873351952384}} 
[2026-07-15 16:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":132503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491689,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:13:37] local.INFO: GPS data processed {"connection_id":132503,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:13:37] local.INFO: Acknowledgment sent {"connection_id":132503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:13:37] local.INFO: TCP Data received {"connection_id":132692,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f655d9660012d7f9b8005afd7700008000631..."} 
[2026-07-15 16:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f655d9660012d7f9b8005afd7700008000631..."} 
[2026-07-15 16:13:37] local.INFO: Processing buffer {"connection_id":132692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f655d9660012d7f9b8005afd7700008000631..."} 
[2026-07-15 16:13:37] local.INFO: Packet analysis {"connection_id":132692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f655d"} 
[2026-07-15 16:13:37] local.INFO: Extracted packet for processing {"connection_id":132692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f655d"} 
[2026-07-15 16:13:37] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":8,"angle":6,"satellites":49,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732610304001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784112060000,"timestamp_ms":1784112060000,"timestamp_seconds":1784112060,"priority":1,"record_length":96,"hex_timestamp":"0000019f655d9660"} 
[2026-07-15 16:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-15 16:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732610304001,"66":26082,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732610304001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:13:37] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:13:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732610304001,"power":26082,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":132692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:13:37] local.INFO: GPS data processed {"connection_id":132692,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:13:37] local.INFO: Acknowledgment sent {"connection_id":132692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:13:52] local.INFO: TCP Data received {"connection_id":132504,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:13:52] local.INFO: Processing buffer {"connection_id":132504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:13:52] local.INFO: IMEI packet received {"connection_id":132504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":132504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:13:55] local.INFO: TCP Data received {"connection_id":132504,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:13:55] local.INFO: Processing buffer {"connection_id":132504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:13:55] local.INFO: IMEI packet received {"connection_id":132504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":132504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:14:00] local.INFO: TCP Data received {"connection_id":132505,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132505,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:14:00] local.INFO: Processing buffer {"connection_id":132505,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:14:00] local.INFO: IMEI packet received {"connection_id":132505,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 16:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":132505,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:14:00] local.INFO: TCP Data received {"connection_id":132506,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:14:00] local.INFO: Processing buffer {"connection_id":132506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:14:00] local.INFO: IMEI packet received {"connection_id":132506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":132506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:14:00] local.INFO: TCP Data received {"connection_id":132504,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:14:00] local.INFO: Processing buffer {"connection_id":132504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:14:00] local.INFO: IMEI packet received {"connection_id":132504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":132504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:14:01] local.INFO: TCP Data received {"connection_id":132504,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f655c1b78012d186dc007220af80058005828..."} 
[2026-07-15 16:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f655c1b78012d186dc007220af80058005828..."} 
[2026-07-15 16:14:01] local.INFO: Processing buffer {"connection_id":132504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f655c1b78012d186dc007220af80058005828..."} 
[2026-07-15 16:14:01] local.INFO: Packet analysis {"connection_id":132504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f655c"} 
[2026-07-15 16:14:01] local.INFO: Extracted packet for processing {"connection_id":132504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f655c"} 
[2026-07-15 16:14:01] local.INFO: GPS Element Parsed {"raw_longitude":756575680,"raw_latitude":119671544,"longitude_deg":75.657568,"latitude_deg":11.9671544,"altitude":88,"angle":88,"satellites":40,"speed":0,"hex_longitude":"2d186dc0","hex_latitude":"07220af8","is_valid_coordinates":true} 
[2026-07-15 16:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732657152001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6119082856284160,"note":"Value kept but may cause issues"} 
[2026-07-15 16:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760274166240180224,"note":"Value kept but may cause issues"} 
[2026-07-15 16:14: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-07-15 16:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784111963000,"timestamp_ms":1784111963000,"timestamp_seconds":1784111963,"priority":1,"record_length":96,"hex_timestamp":"0000019f655c1b78"} 
[2026-07-15 16:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:14:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 16:14:01] 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-07-15 16:14:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":132504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":132504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":132504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:14:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732657152001,"66":12461,"105":206,"83":41984,"24":0,"16":6119082856284160,"45":1760274166240180224},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732657152001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:14:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:14:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6119082856284160,"km_value":6119082856284.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760274166240180224,"description":"Unknown IO ID 45"} 
[2026-07-15 16:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732657152001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1760274166240180224}} 
[2026-07-15 16:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":132504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:14:01] local.INFO: GPS data processed {"connection_id":132504,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:14:01] local.INFO: Acknowledgment sent {"connection_id":132504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:14:04] local.INFO: TCP Data received {"connection_id":132505,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132505,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:14:04] local.INFO: Processing buffer {"connection_id":132505,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:14:04] local.INFO: IMEI packet received {"connection_id":132505,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":132505,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:14:05] local.INFO: TCP Data received {"connection_id":132505,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f65600760012d7b0d8005e32b78000500cc2a..."} 
[2026-07-15 16:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65600760012d7b0d8005e32b78000500cc2a..."} 
[2026-07-15 16:14:05] local.INFO: Processing buffer {"connection_id":132505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65600760012d7b0d8005e32b78000500cc2a..."} 
[2026-07-15 16:14:05] local.INFO: Packet analysis {"connection_id":132505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6560"} 
[2026-07-15 16:14:05] local.INFO: Extracted packet for processing {"connection_id":132505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6560"} 
[2026-07-15 16:14:05] local.INFO: GPS Element Parsed {"raw_longitude":763039104,"raw_latitude":98773880,"longitude_deg":76.3039104,"latitude_deg":9.877388,"altitude":5,"angle":204,"satellites":42,"speed":9,"hex_longitude":"2d7b0d80","hex_latitude":"05e32b78","is_valid_coordinates":true} 
[2026-07-15 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-07-15 16:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732727296001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106605628067151872,"note":"Value kept but may cause issues"} 
[2026-07-15 16:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866954372881315840,"note":"Value kept but may cause issues"} 
[2026-07-15 16:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784112220000,"timestamp_ms":1784112220000,"timestamp_seconds":1784112220,"priority":1,"record_length":96,"hex_timestamp":"0000019f65600760"} 
[2026-07-15 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-07-15 16:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-15 16:14:05] 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-07-15 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-07-15 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-07-15 16:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732727296001,"66":12961,"97":206,"85":15104,"24":9,"16":106605628067151872,"45":8866954372881315840},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 16:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732727296001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:14:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 16:14:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 16:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106605628067151872,"km_value":106605628067151.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866954372881315840,"description":"Unknown IO ID 45"} 
[2026-07-15 16:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732727296001,"power":12961,"unknown_97":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8866954372881315840}} 
[2026-07-15 16:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":132505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491692,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:14:06] local.INFO: GPS data processed {"connection_id":132505,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:14:06] local.INFO: Acknowledgment sent {"connection_id":132505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:14:06] local.INFO: TCP Data received {"connection_id":132506,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:14:06] local.INFO: Processing buffer {"connection_id":132506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:14:06] local.INFO: IMEI packet received {"connection_id":132506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":132506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:14:06] local.INFO: TCP Data received {"connection_id":132504,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f655c6d80012d186dc007220af80058005828..."} 
[2026-07-15 16:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f655c6d80012d186dc007220af80058005828..."} 
[2026-07-15 16:14:06] local.INFO: Processing buffer {"connection_id":132504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f655c6d80012d186dc007220af80058005828..."} 
[2026-07-15 16:14:06] local.INFO: Packet analysis {"connection_id":132504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f655c"} 
[2026-07-15 16:14:06] local.INFO: Extracted packet for processing {"connection_id":132504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f655c"} 
[2026-07-15 16:14:06] local.INFO: GPS Element Parsed {"raw_longitude":756575680,"raw_latitude":119671544,"longitude_deg":75.657568,"latitude_deg":11.9671544,"altitude":88,"angle":88,"satellites":40,"speed":0,"hex_longitude":"2d186dc0","hex_latitude":"07220af8","is_valid_coordinates":true} 
[2026-07-15 16:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732662528001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6119082856284160,"note":"Value kept but may cause issues"} 
[2026-07-15 16:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760274166240180224,"note":"Value kept but may cause issues"} 
[2026-07-15 16:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784111984000,"timestamp_ms":1784111984000,"timestamp_seconds":1784111984,"priority":1,"record_length":96,"hex_timestamp":"0000019f655c6d80"} 
[2026-07-15 16:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:14:06] 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-07-15 16:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 16:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732662528001,"66":12428,"105":206,"83":41984,"24":0,"16":6119082856284160,"45":1760274166240180224},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732662528001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:14:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:14:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6119082856284160,"km_value":6119082856284.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760274166240180224,"description":"Unknown IO ID 45"} 
[2026-07-15 16:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732662528001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1760274166240180224}} 
[2026-07-15 16:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":132504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:14:06] local.INFO: GPS data processed {"connection_id":132504,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:14:06] local.INFO: Acknowledgment sent {"connection_id":132504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:14:06] local.INFO: TCP Data received {"connection_id":132506,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f655d9660012d7f9b8005afd7700008000631..."} 
[2026-07-15 16:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f655d9660012d7f9b8005afd7700008000631..."} 
[2026-07-15 16:14:06] local.INFO: Processing buffer {"connection_id":132506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f655d9660012d7f9b8005afd7700008000631..."} 
[2026-07-15 16:14:06] local.INFO: Packet analysis {"connection_id":132506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f655d"} 
[2026-07-15 16:14:06] local.INFO: Extracted packet for processing {"connection_id":132506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f655d"} 
[2026-07-15 16:14:06] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":8,"angle":6,"satellites":49,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732610304001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784112060000,"timestamp_ms":1784112060000,"timestamp_seconds":1784112060,"priority":1,"record_length":96,"hex_timestamp":"0000019f655d9660"} 
[2026-07-15 16:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-15 16:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732610304001,"66":26082,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732610304001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:14:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:14:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732610304001,"power":26082,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":132506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:14:06] local.INFO: GPS data processed {"connection_id":132506,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:14:06] local.INFO: Acknowledgment sent {"connection_id":132506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:14:37] local.INFO: TCP Data received {"connection_id":132505,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f65600b48012d7b0d4005e32af0000500e02b..."} 
[2026-07-15 16:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65600b48012d7b0d4005e32af0000500e02b..."} 
[2026-07-15 16:14:37] local.INFO: Processing buffer {"connection_id":132505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65600b48012d7b0d4005e32af0000500e02b..."} 
[2026-07-15 16:14:37] local.INFO: Packet analysis {"connection_id":132505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6560"} 
[2026-07-15 16:14:37] local.INFO: Extracted packet for processing {"connection_id":132505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6560"} 
[2026-07-15 16:14:37] local.INFO: GPS Element Parsed {"raw_longitude":763039040,"raw_latitude":98773744,"longitude_deg":76.303904,"latitude_deg":9.8773744,"altitude":5,"angle":224,"satellites":43,"speed":5,"hex_longitude":"2d7b0d40","hex_latitude":"05e32af0","is_valid_coordinates":true} 
[2026-07-15 16:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732728320001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106605632362119168,"note":"Value kept but may cause issues"} 
[2026-07-15 16:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866884004136843264,"note":"Value kept but may cause issues"} 
[2026-07-15 16:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784112221000,"timestamp_ms":1784112221000,"timestamp_seconds":1784112221,"priority":1,"record_length":96,"hex_timestamp":"0000019f65600b48"} 
[2026-07-15 16:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-15 16:14:37] 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-07-15 16:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732728320001,"66":13059,"97":206,"85":15104,"24":5,"16":106605632362119168,"45":8866884004136843264},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 16:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732728320001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:14:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 16:14:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 16:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106605632362119168,"km_value":106605632362119.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866884004136843264,"description":"Unknown IO ID 45"} 
[2026-07-15 16:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732728320001,"power":13059,"unknown_97":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8866884004136843264}} 
[2026-07-15 16:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":132505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491695,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:14:37] local.INFO: GPS data processed {"connection_id":132505,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:14:37] local.INFO: Acknowledgment sent {"connection_id":132505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:14:37] local.INFO: TCP Data received {"connection_id":132506,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f655d9660012d7f9b8005afd7700008000631..."} 
[2026-07-15 16:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f655d9660012d7f9b8005afd7700008000631..."} 
[2026-07-15 16:14:37] local.INFO: Processing buffer {"connection_id":132506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f655d9660012d7f9b8005afd7700008000631..."} 
[2026-07-15 16:14:37] local.INFO: Packet analysis {"connection_id":132506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f655d"} 
[2026-07-15 16:14:37] local.INFO: Extracted packet for processing {"connection_id":132506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f655d"} 
[2026-07-15 16:14:37] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":8,"angle":6,"satellites":49,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732610304001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784112060000,"timestamp_ms":1784112060000,"timestamp_seconds":1784112060,"priority":1,"record_length":96,"hex_timestamp":"0000019f655d9660"} 
[2026-07-15 16:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-15 16:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732610304001,"66":26082,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732610304001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:14:37] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:14:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732610304001,"power":26082,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":132506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:14:38] local.INFO: GPS data processed {"connection_id":132506,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:14:38] local.INFO: Acknowledgment sent {"connection_id":132506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:14:50] local.INFO: TCP Data received {"connection_id":132507,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:14:50] local.INFO: Processing buffer {"connection_id":132507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:14:50] local.INFO: IMEI packet received {"connection_id":132507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":132507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:14:56] local.INFO: TCP Data received {"connection_id":132507,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:14:56] local.INFO: Processing buffer {"connection_id":132507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:14:56] local.INFO: IMEI packet received {"connection_id":132507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":132507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:14:56] local.INFO: TCP Data received {"connection_id":132507,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f655cbf88012d186dc007220af80058005828..."} 
[2026-07-15 16:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f655cbf88012d186dc007220af80058005828..."} 
[2026-07-15 16:14:56] local.INFO: Processing buffer {"connection_id":132507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f655cbf88012d186dc007220af80058005828..."} 
[2026-07-15 16:14:56] local.INFO: Packet analysis {"connection_id":132507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f655c"} 
[2026-07-15 16:14:56] local.INFO: Extracted packet for processing {"connection_id":132507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f655c"} 
[2026-07-15 16:14:56] local.INFO: GPS Element Parsed {"raw_longitude":756575680,"raw_latitude":119671544,"longitude_deg":75.657568,"latitude_deg":11.9671544,"altitude":88,"angle":88,"satellites":40,"speed":0,"hex_longitude":"2d186dc0","hex_latitude":"07220af8","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732667904001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6119082856284160,"note":"Value kept but may cause issues"} 
[2026-07-15 16:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760274166240180224,"note":"Value kept but may cause issues"} 
[2026-07-15 16:14:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784112005000,"timestamp_ms":1784112005000,"timestamp_seconds":1784112005,"priority":1,"record_length":96,"hex_timestamp":"0000019f655cbf88"} 
[2026-07-15 16:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:14: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-07-15 16: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-15 16:14:56] 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-07-15 16: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-07-15 16:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:14:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732667904001,"66":12504,"105":206,"83":41984,"24":0,"16":6119082856284160,"45":1760274166240180224},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732667904001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:14:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:14:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6119082856284160,"km_value":6119082856284.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760274166240180224,"description":"Unknown IO ID 45"} 
[2026-07-15 16:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732667904001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1760274166240180224}} 
[2026-07-15 16:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":132507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491697,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:14:56] local.INFO: GPS data processed {"connection_id":132507,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:14:56] local.INFO: Acknowledgment sent {"connection_id":132507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:14:59] local.INFO: TCP Data received {"connection_id":132508,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132508,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:14:59] local.INFO: Processing buffer {"connection_id":132508,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:14:59] local.INFO: IMEI packet received {"connection_id":132508,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 16:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":132508,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:15:02] local.INFO: TCP Data received {"connection_id":132508,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132508,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:15:02] local.INFO: Processing buffer {"connection_id":132508,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:15:02] local.INFO: IMEI packet received {"connection_id":132508,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":132508,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:15:04] local.INFO: TCP Data received {"connection_id":132508,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132508,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:15:04] local.INFO: Processing buffer {"connection_id":132508,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:15:04] local.INFO: IMEI packet received {"connection_id":132508,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":132508,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:15:05] local.INFO: TCP Data received {"connection_id":132508,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f65601ae8012d7b0b0005e32a580006010c29..."} 
[2026-07-15 16:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65601ae8012d7b0b0005e32a580006010c29..."} 
[2026-07-15 16:15:05] local.INFO: Processing buffer {"connection_id":132508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65601ae8012d7b0b0005e32a580006010c29..."} 
[2026-07-15 16:15:05] local.INFO: Packet analysis {"connection_id":132508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6560"} 
[2026-07-15 16:15:05] local.INFO: Extracted packet for processing {"connection_id":132508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6560"} 
[2026-07-15 16:15:05] local.INFO: GPS Element Parsed {"raw_longitude":763038464,"raw_latitude":98773592,"longitude_deg":76.3038464,"latitude_deg":9.8773592,"altitude":6,"angle":268,"satellites":41,"speed":5,"hex_longitude":"2d7b0b00","hex_latitude":"05e32a58","is_valid_coordinates":true} 
[2026-07-15 16:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732728576001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106605662426890240,"note":"Value kept but may cause issues"} 
[2026-07-15 16:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866813635392630784,"note":"Value kept but may cause issues"} 
[2026-07-15 16:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784112225000,"timestamp_ms":1784112225000,"timestamp_seconds":1784112225,"priority":1,"record_length":96,"hex_timestamp":"0000019f65601ae8"} 
[2026-07-15 16:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-15 16:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303166099869094,"note":"Value kept but may cause issues"} 
[2026-07-15 16:15:05] local.WARNING: Large IO value detected {"io_id":97,"raw_value":58077557095399430,"note":"Value kept but may cause issues"} 
[2026-07-15 16:15:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 16:15:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3812466688,"note":"Value kept but may cause issues"} 
[2026-07-15 16:15:05] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":49153,"corrected_to":0} 
[2026-07-15 16:15:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-07-15 16:15:05] local.WARNING: Large IO value detected {"io_id":165,"raw_value":3087084923,"note":"Value kept but may cause issues"} 
[2026-07-15 16:15:05] local.WARNING: Large IO value detected {"io_id":14,"raw_value":3221611324,"note":"Value kept but may cause issues"} 
[2026-07-15 16:15:05] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2701184422,"note":"Value kept but may cause issues"} 
[2026-07-15 16:15:05] local.WARNING: Large IO value detected {"io_id":122,"raw_value":3171745792,"note":"Value kept but may cause issues"} 
[2026-07-15 16:15:05] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,97,85,24,241,157,16,189,159,7,45,128,43,5,42,10,66,247,192,47,40,220,64,1,240,3,227,101,4,113,205,9,165,14,88,37,239,50,2,122,6],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":247,"original":49153,"validated":0},{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-07-15 16:15:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360534445478182912,"timestamp_seconds":360534445478182.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 16:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732728576001,"66":12385,"97":206,"85":15104,"24":5,"16":106605662426890240,"45":8866813635392630784},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 16:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732728576001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:15:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 16:15:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 16:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106605662426890240,"km_value":106605662426890.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866813635392630784,"description":"Unknown IO ID 45"} 
[2026-07-15 16:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732728576001,"power":12385,"unknown_97":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8866813635392630784}} 
[2026-07-15 16:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":132508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491698,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:15:05] local.INFO: GPS data processed {"connection_id":132508,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:15:05] local.INFO: Acknowledgment sent {"connection_id":132508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:15:06] local.INFO: TCP Data received {"connection_id":134899,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:15:06] local.INFO: Processing buffer {"connection_id":134899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:15:06] local.INFO: IMEI packet received {"connection_id":134899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":134899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:15:11] local.INFO: TCP Data received {"connection_id":134899,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:15:11] local.INFO: Processing buffer {"connection_id":134899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:15:11] local.INFO: IMEI packet received {"connection_id":134899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":134899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:15:11] local.INFO: TCP Data received {"connection_id":134899,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f655d9660012d7f9b8005afd7700008000631..."} 
[2026-07-15 16:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f655d9660012d7f9b8005afd7700008000631..."} 
[2026-07-15 16:15:11] local.INFO: Processing buffer {"connection_id":134899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f655d9660012d7f9b8005afd7700008000631..."} 
[2026-07-15 16:15:11] local.INFO: Packet analysis {"connection_id":134899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f655d"} 
[2026-07-15 16:15:11] local.INFO: Extracted packet for processing {"connection_id":134899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f655d"} 
[2026-07-15 16:15:11] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":8,"angle":6,"satellites":49,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732610304001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784112060000,"timestamp_ms":1784112060000,"timestamp_seconds":1784112060,"priority":1,"record_length":96,"hex_timestamp":"0000019f655d9660"} 
[2026-07-15 16:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-15 16:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":134899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":134899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":134899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732610304001,"66":26082,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732610304001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:15:11] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:15:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732610304001,"power":26082,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":134899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:15:11] local.INFO: GPS data processed {"connection_id":134899,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:15:11] local.INFO: Acknowledgment sent {"connection_id":134899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:15:16] local.INFO: TCP Data received {"connection_id":134899,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f655d9660012d7f9b8005afd7700008000631..."} 
[2026-07-15 16:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f655d9660012d7f9b8005afd7700008000631..."} 
[2026-07-15 16:15:16] local.INFO: Processing buffer {"connection_id":134899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f655d9660012d7f9b8005afd7700008000631..."} 
[2026-07-15 16:15:16] local.INFO: Packet analysis {"connection_id":134899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f655d"} 
[2026-07-15 16:15:16] local.INFO: Extracted packet for processing {"connection_id":134899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f655d"} 
[2026-07-15 16:15:16] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":8,"angle":6,"satellites":49,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732610304001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:15:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784112060000,"timestamp_ms":1784112060000,"timestamp_seconds":1784112060,"priority":1,"record_length":96,"hex_timestamp":"0000019f655d9660"} 
[2026-07-15 16:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-15 16:15:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:15:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":134899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":134899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":134899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732610304001,"66":26082,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732610304001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:15:16] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:15:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732610304001,"power":26082,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":134899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:15:16] local.INFO: GPS data processed {"connection_id":134899,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:15:16] local.INFO: Acknowledgment sent {"connection_id":134899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:15:28] local.INFO: TCP Data received {"connection_id":132507,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f656045e0012d186dc007220af80058005829..."} 
[2026-07-15 16:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656045e0012d186dc007220af80058005829..."} 
[2026-07-15 16:15:28] local.INFO: Processing buffer {"connection_id":132507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656045e0012d186dc007220af80058005829..."} 
[2026-07-15 16:15:28] local.INFO: Packet analysis {"connection_id":132507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6560"} 
[2026-07-15 16:15:28] local.INFO: Extracted packet for processing {"connection_id":132507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6560"} 
[2026-07-15 16:15:28] local.INFO: GPS Element Parsed {"raw_longitude":756575680,"raw_latitude":119671544,"longitude_deg":75.657568,"latitude_deg":11.9671544,"altitude":88,"angle":88,"satellites":41,"speed":0,"hex_longitude":"2d186dc0","hex_latitude":"07220af8","is_valid_coordinates":true} 
[2026-07-15 16:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732727040001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6119082856284160,"note":"Value kept but may cause issues"} 
[2026-07-15 16:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760274166240180224,"note":"Value kept but may cause issues"} 
[2026-07-15 16:15: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-07-15 16:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784112236000,"timestamp_ms":1784112236000,"timestamp_seconds":1784112236,"priority":1,"record_length":96,"hex_timestamp":"0000019f656045e0"} 
[2026-07-15 16:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:15:28] 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-07-15 16:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 16:15:28] 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-07-15 16:15:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:15:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732727040001,"66":12504,"105":206,"83":41984,"24":0,"16":6119082856284160,"45":1760274166240180224},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732727040001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:15:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:15:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6119082856284160,"km_value":6119082856284.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760274166240180224,"description":"Unknown IO ID 45"} 
[2026-07-15 16:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732727040001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1760274166240180224}} 
[2026-07-15 16:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":132507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491701,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:15:28] local.INFO: GPS data processed {"connection_id":132507,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:15:28] local.INFO: Acknowledgment sent {"connection_id":132507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:15:37] local.INFO: TCP Data received {"connection_id":132508,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f656191e8012d7ad40005e3f3b00008015b2c..."} 
[2026-07-15 16:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656191e8012d7ad40005e3f3b00008015b2c..."} 
[2026-07-15 16:15:37] local.INFO: Processing buffer {"connection_id":132508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656191e8012d7ad40005e3f3b00008015b2c..."} 
[2026-07-15 16:15:37] local.INFO: Packet analysis {"connection_id":132508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6561"} 
[2026-07-15 16:15:37] local.INFO: Extracted packet for processing {"connection_id":132508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6561"} 
[2026-07-15 16:15:37] local.INFO: GPS Element Parsed {"raw_longitude":763024384,"raw_latitude":98825136,"longitude_deg":76.3024384,"latitude_deg":9.8825136,"altitude":8,"angle":347,"satellites":44,"speed":42,"hex_longitude":"2d7ad400","hex_latitude":"05e3f3b0","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732751872001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106608282356940800,"note":"Value kept but may cause issues"} 
[2026-07-15 16:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8853091730288746496,"note":"Value kept but may cause issues"} 
[2026-07-15 16:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784112321000,"timestamp_ms":1784112321000,"timestamp_seconds":1784112321,"priority":1,"record_length":96,"hex_timestamp":"0000019f656191e8"} 
[2026-07-15 16:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-07-15 16:15:37] 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-07-15 16: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-07-15 16:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732751872001,"66":13254,"97":206,"85":15104,"24":42,"16":106608282356940800,"45":8853091730288746496},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 16:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732751872001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:15:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 16:15:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 16:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106608282356940800,"km_value":106608282356940.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8853091730288746496,"description":"Unknown IO ID 45"} 
[2026-07-15 16:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732751872001,"power":13254,"unknown_97":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8853091730288746496}} 
[2026-07-15 16:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":132508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491702,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:15:37] local.INFO: GPS data processed {"connection_id":132508,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:15:37] local.INFO: Acknowledgment sent {"connection_id":132508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:15:50] local.INFO: TCP Data received {"connection_id":133533,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:15:50] local.INFO: Processing buffer {"connection_id":133533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:15:50] local.INFO: IMEI packet received {"connection_id":133533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":133533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:15:55] local.INFO: TCP Data received {"connection_id":133533,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:15:55] local.INFO: Processing buffer {"connection_id":133533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:15:55] local.INFO: IMEI packet received {"connection_id":133533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":133533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:15:56] local.INFO: TCP Data received {"connection_id":133533,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f656097e8012d186dc007220af80058005826..."} 
[2026-07-15 16:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656097e8012d186dc007220af80058005826..."} 
[2026-07-15 16:15:56] local.INFO: Processing buffer {"connection_id":133533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656097e8012d186dc007220af80058005826..."} 
[2026-07-15 16:15:56] local.INFO: Packet analysis {"connection_id":133533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6560"} 
[2026-07-15 16:15:56] local.INFO: Extracted packet for processing {"connection_id":133533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6560"} 
[2026-07-15 16:15:56] local.INFO: GPS Element Parsed {"raw_longitude":756575680,"raw_latitude":119671544,"longitude_deg":75.657568,"latitude_deg":11.9671544,"altitude":88,"angle":88,"satellites":38,"speed":0,"hex_longitude":"2d186dc0","hex_latitude":"07220af8","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732732416001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6119082856284160,"note":"Value kept but may cause issues"} 
[2026-07-15 16:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760274166240180224,"note":"Value kept but may cause issues"} 
[2026-07-15 16:15:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784112257000,"timestamp_ms":1784112257000,"timestamp_seconds":1784112257,"priority":1,"record_length":96,"hex_timestamp":"0000019f656097e8"} 
[2026-07-15 16:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:15: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-07-15 16: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 16:15:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16: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-07-15 16:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732732416001,"66":12461,"105":206,"83":41984,"24":0,"16":6119082856284160,"45":1760274166240180224},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732732416001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:15:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:15:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6119082856284160,"km_value":6119082856284.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760274166240180224,"description":"Unknown IO ID 45"} 
[2026-07-15 16:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732732416001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1760274166240180224}} 
[2026-07-15 16:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":133533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491703,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:15:56] local.INFO: GPS data processed {"connection_id":133533,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:15:56] local.INFO: Acknowledgment sent {"connection_id":133533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:16:01] local.INFO: TCP Data received {"connection_id":133534,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:16:01] local.INFO: Processing buffer {"connection_id":133534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:16:01] local.INFO: IMEI packet received {"connection_id":133534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":133534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:16:05] local.INFO: TCP Data received {"connection_id":134900,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134900,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:16:05] local.INFO: Processing buffer {"connection_id":134900,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:16:05] local.INFO: IMEI packet received {"connection_id":134900,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 16:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":134900,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:16:06] local.INFO: TCP Data received {"connection_id":133534,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:16:06] local.INFO: Processing buffer {"connection_id":133534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:16:06] local.INFO: IMEI packet received {"connection_id":133534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":133534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:16:06] local.INFO: TCP Data received {"connection_id":133534,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f655d9660012d7f9b8005afd7700008000631..."} 
[2026-07-15 16:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f655d9660012d7f9b8005afd7700008000631..."} 
[2026-07-15 16:16:06] local.INFO: Processing buffer {"connection_id":133534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f655d9660012d7f9b8005afd7700008000631..."} 
[2026-07-15 16:16:06] local.INFO: Packet analysis {"connection_id":133534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f655d"} 
[2026-07-15 16:16:06] local.INFO: Extracted packet for processing {"connection_id":133534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f655d"} 
[2026-07-15 16:16:06] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":8,"angle":6,"satellites":49,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732610304001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784112060000,"timestamp_ms":1784112060000,"timestamp_seconds":1784112060,"priority":1,"record_length":96,"hex_timestamp":"0000019f655d9660"} 
[2026-07-15 16:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-15 16:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16: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-07-15 16:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732610304001,"66":26082,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732610304001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:16:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:16:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732610304001,"power":26082,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":133534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:16:06] local.INFO: GPS data processed {"connection_id":133534,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:16:06] local.INFO: Acknowledgment sent {"connection_id":133534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:16:27] local.INFO: TCP Data received {"connection_id":133533,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f6560e9f0012d186dc007220af80058005824..."} 
[2026-07-15 16:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6560e9f0012d186dc007220af80058005824..."} 
[2026-07-15 16:16:27] local.INFO: Processing buffer {"connection_id":133533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6560e9f0012d186dc007220af80058005824..."} 
[2026-07-15 16:16:27] local.INFO: Packet analysis {"connection_id":133533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6560"} 
[2026-07-15 16:16:27] local.INFO: Extracted packet for processing {"connection_id":133533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6560"} 
[2026-07-15 16:16:27] local.INFO: GPS Element Parsed {"raw_longitude":756575680,"raw_latitude":119671544,"longitude_deg":75.657568,"latitude_deg":11.9671544,"altitude":88,"angle":88,"satellites":36,"speed":0,"hex_longitude":"2d186dc0","hex_latitude":"07220af8","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732737792001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6119082856284160,"note":"Value kept but may cause issues"} 
[2026-07-15 16:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760274166240180224,"note":"Value kept but may cause issues"} 
[2026-07-15 16:16: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-07-15 16:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784112278000,"timestamp_ms":1784112278000,"timestamp_seconds":1784112278,"priority":1,"record_length":96,"hex_timestamp":"0000019f6560e9f0"} 
[2026-07-15 16:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:16:27] 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-07-15 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 16:16:27] 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-07-15 16: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-07-15 16:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":133533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":133533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":133533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732737792001,"66":12461,"105":206,"83":41984,"24":0,"16":6119082856284160,"45":1760274166240180224},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732737792001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:16:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:16:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6119082856284160,"km_value":6119082856284.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760274166240180224,"description":"Unknown IO ID 45"} 
[2026-07-15 16:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732737792001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1760274166240180224}} 
[2026-07-15 16:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":133533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:16:27] local.INFO: GPS data processed {"connection_id":133533,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:16:27] local.INFO: Acknowledgment sent {"connection_id":133533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:16:34] local.INFO: TCP Data received {"connection_id":134900,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134900,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:16:34] local.INFO: Processing buffer {"connection_id":134900,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:16:34] local.INFO: IMEI packet received {"connection_id":134900,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":134900,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:16:37] local.INFO: TCP Data received {"connection_id":133534,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f655d9660012d7f9b8005afd7700008000631..."} 
[2026-07-15 16:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f655d9660012d7f9b8005afd7700008000631..."} 
[2026-07-15 16:16:37] local.INFO: Processing buffer {"connection_id":133534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f655d9660012d7f9b8005afd7700008000631..."} 
[2026-07-15 16:16:37] local.INFO: Packet analysis {"connection_id":133534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f655d"} 
[2026-07-15 16:16:37] local.INFO: Extracted packet for processing {"connection_id":133534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f655d"} 
[2026-07-15 16:16:37] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":8,"angle":6,"satellites":49,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732610304001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784112060000,"timestamp_ms":1784112060000,"timestamp_seconds":1784112060,"priority":1,"record_length":96,"hex_timestamp":"0000019f655d9660"} 
[2026-07-15 16:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-15 16:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16: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-07-15 16:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732610304001,"66":26082,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732610304001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:16:37] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:16:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732610304001,"power":26082,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":133534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:16:37] local.INFO: GPS data processed {"connection_id":133534,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:16:37] local.INFO: Acknowledgment sent {"connection_id":133534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:16:51] local.INFO: TCP Data received {"connection_id":132510,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:16:51] local.INFO: Processing buffer {"connection_id":132510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:16:51] local.INFO: IMEI packet received {"connection_id":132510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":132510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:16:55] local.INFO: TCP Data received {"connection_id":132510,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:16:55] local.INFO: Processing buffer {"connection_id":132510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:16:55] local.INFO: IMEI packet received {"connection_id":132510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":132510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:16:56] local.INFO: TCP Data received {"connection_id":132510,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f65613bf8012d186dc007220af80058005827..."} 
[2026-07-15 16:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65613bf8012d186dc007220af80058005827..."} 
[2026-07-15 16:16:56] local.INFO: Processing buffer {"connection_id":132510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65613bf8012d186dc007220af80058005827..."} 
[2026-07-15 16:16:56] local.INFO: Packet analysis {"connection_id":132510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6561"} 
[2026-07-15 16:16:56] local.INFO: Extracted packet for processing {"connection_id":132510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6561"} 
[2026-07-15 16:16:56] local.INFO: GPS Element Parsed {"raw_longitude":756575680,"raw_latitude":119671544,"longitude_deg":75.657568,"latitude_deg":11.9671544,"altitude":88,"angle":88,"satellites":39,"speed":0,"hex_longitude":"2d186dc0","hex_latitude":"07220af8","is_valid_coordinates":true} 
[2026-07-15 16:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732743168001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6119082856284160,"note":"Value kept but may cause issues"} 
[2026-07-15 16:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760274166240180224,"note":"Value kept but may cause issues"} 
[2026-07-15 16:16:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784112299000,"timestamp_ms":1784112299000,"timestamp_seconds":1784112299,"priority":1,"record_length":96,"hex_timestamp":"0000019f65613bf8"} 
[2026-07-15 16:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:16: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-07-15 16:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 16:16:56] 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-07-15 16:16:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:16:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732743168001,"66":12385,"105":206,"83":41984,"24":0,"16":6119082856284160,"45":1760274166240180224},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732743168001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:16:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:16:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6119082856284160,"km_value":6119082856284.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760274166240180224,"description":"Unknown IO ID 45"} 
[2026-07-15 16:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732743168001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1760274166240180224}} 
[2026-07-15 16:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":132510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:16:56] local.INFO: GPS data processed {"connection_id":132510,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:16:56] local.INFO: Acknowledgment sent {"connection_id":132510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:17:00] local.INFO: TCP Data received {"connection_id":132512,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132512,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:17:00] local.INFO: Processing buffer {"connection_id":132512,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:17:00] local.INFO: IMEI packet received {"connection_id":132512,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 16:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":132512,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:17:01] local.INFO: TCP Data received {"connection_id":132695,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:17:01] local.INFO: Processing buffer {"connection_id":132695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:17:01] local.INFO: IMEI packet received {"connection_id":132695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":132695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:17:02] local.INFO: TCP Data received {"connection_id":132512,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132512,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:17:02] local.INFO: Processing buffer {"connection_id":132512,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:17:02] local.INFO: IMEI packet received {"connection_id":132512,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":132512,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:17:04] local.INFO: TCP Data received {"connection_id":132509,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132509,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:17:04] local.INFO: Processing buffer {"connection_id":132509,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:17:04] local.INFO: IMEI packet received {"connection_id":132509,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 16:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":132509,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:17:06] local.INFO: TCP Data received {"connection_id":132695,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:17:06] local.INFO: Processing buffer {"connection_id":132695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:17:06] local.INFO: IMEI packet received {"connection_id":132695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":132695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:17:06] local.INFO: TCP Data received {"connection_id":132695,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f65622e28012d7f9b8005afd770000800062d..."} 
[2026-07-15 16:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65622e28012d7f9b8005afd770000800062d..."} 
[2026-07-15 16:17:06] local.INFO: Processing buffer {"connection_id":132695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65622e28012d7f9b8005afd770000800062d..."} 
[2026-07-15 16:17:06] local.INFO: Packet analysis {"connection_id":132695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6562"} 
[2026-07-15 16:17:06] local.INFO: Extracted packet for processing {"connection_id":132695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6562"} 
[2026-07-15 16:17:06] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":8,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732687360001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784112361000,"timestamp_ms":1784112361000,"timestamp_seconds":1784112361,"priority":1,"record_length":96,"hex_timestamp":"0000019f65622e28"} 
[2026-07-15 16:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-15 16:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732687360001,"66":26039,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732687360001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:17:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:17:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732687360001,"power":26039,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":132695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:17:06] local.INFO: GPS data processed {"connection_id":132695,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:17:06] local.INFO: Acknowledgment sent {"connection_id":132695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:17:07] local.INFO: TCP Data received {"connection_id":132511,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132511,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:17:07] local.INFO: Processing buffer {"connection_id":132511,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:17:07] local.INFO: IMEI packet received {"connection_id":132511,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 16:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":132511,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:17:08] local.INFO: TCP Data received {"connection_id":132511,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f6562ca68012d0cec400705c668001100111b..."} 
[2026-07-15 16:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6562ca68012d0cec400705c668001100111b..."} 
[2026-07-15 16:17:08] local.INFO: Processing buffer {"connection_id":132511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6562ca68012d0cec400705c668001100111b..."} 
[2026-07-15 16:17:08] local.INFO: Packet analysis {"connection_id":132511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6562"} 
[2026-07-15 16:17:08] local.INFO: Extracted packet for processing {"connection_id":132511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6562"} 
[2026-07-15 16:17:08] local.INFO: GPS Element Parsed {"raw_longitude":755821632,"raw_latitude":117818984,"longitude_deg":75.5821632,"latitude_deg":11.7818984,"altitude":17,"angle":17,"satellites":27,"speed":14,"hex_longitude":"2d0cec40","hex_latitude":"0705c668","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732774400001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24699278882504704,"note":"Value kept but may cause issues"} 
[2026-07-15 16:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":931048884376240128,"note":"Value kept but may cause issues"} 
[2026-07-15 16:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784112401000,"timestamp_ms":1784112401000,"timestamp_seconds":1784112401,"priority":1,"record_length":96,"hex_timestamp":"0000019f6562ca68"} 
[2026-07-15 16:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-15 16:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16: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-07-15 16:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132511,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132511,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732774400001,"66":14363,"220":206,"94":10240,"24":14,"16":24699278882504704,"45":931048884376240128},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-07-15 16:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732774400001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:17:08] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-15 16:17:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 16:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24699278882504704,"km_value":24699278882504.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":931048884376240128,"description":"Unknown IO ID 45"} 
[2026-07-15 16:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732774400001,"power":14363,"unknown_220":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":931048884376240128}} 
[2026-07-15 16:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":132511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491709,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:17:08] local.INFO: GPS data processed {"connection_id":132511,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:17:08] local.INFO: Acknowledgment sent {"connection_id":132511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:17:27] local.INFO: TCP Data received {"connection_id":132510,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f65618e00012d186dc007220af80058005823..."} 
[2026-07-15 16:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65618e00012d186dc007220af80058005823..."} 
[2026-07-15 16:17:27] local.INFO: Processing buffer {"connection_id":132510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65618e00012d186dc007220af80058005823..."} 
[2026-07-15 16:17:27] local.INFO: Packet analysis {"connection_id":132510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6561"} 
[2026-07-15 16:17:27] local.INFO: Extracted packet for processing {"connection_id":132510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6561"} 
[2026-07-15 16:17:27] local.INFO: GPS Element Parsed {"raw_longitude":756575680,"raw_latitude":119671544,"longitude_deg":75.657568,"latitude_deg":11.9671544,"altitude":88,"angle":88,"satellites":35,"speed":0,"hex_longitude":"2d186dc0","hex_latitude":"07220af8","is_valid_coordinates":true} 
[2026-07-15 16:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732748544001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6119082856284160,"note":"Value kept but may cause issues"} 
[2026-07-15 16:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760274166240180224,"note":"Value kept but may cause issues"} 
[2026-07-15 16:17: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-07-15 16:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784112320000,"timestamp_ms":1784112320000,"timestamp_seconds":1784112320,"priority":1,"record_length":96,"hex_timestamp":"0000019f65618e00"} 
[2026-07-15 16:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:17:27] 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-07-15 16:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-15 16:17:27] 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-07-15 16:17:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":132510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":132510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":132510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732748544001,"66":12428,"105":206,"83":41984,"24":0,"16":6119082856284160,"45":1760274166240180224},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732748544001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:17:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:17:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6119082856284160,"km_value":6119082856284.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760274166240180224,"description":"Unknown IO ID 45"} 
[2026-07-15 16:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732748544001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1760274166240180224}} 
[2026-07-15 16:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":132510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491710,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:17:27] local.INFO: GPS data processed {"connection_id":132510,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:17:27] local.INFO: Acknowledgment sent {"connection_id":132510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:17:34] local.INFO: TCP Data received {"connection_id":133535,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133535,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:17:34] local.INFO: Processing buffer {"connection_id":133535,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:17:34] local.INFO: IMEI packet received {"connection_id":133535,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 16:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":133535,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:17:38] local.INFO: TCP Data received {"connection_id":132695,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f65622e28012d7f9b8005afd770000800062d..."} 
[2026-07-15 16:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65622e28012d7f9b8005afd770000800062d..."} 
[2026-07-15 16:17:38] local.INFO: Processing buffer {"connection_id":132695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65622e28012d7f9b8005afd770000800062d..."} 
[2026-07-15 16:17:38] local.INFO: Packet analysis {"connection_id":132695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6562"} 
[2026-07-15 16:17:38] local.INFO: Extracted packet for processing {"connection_id":132695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6562"} 
[2026-07-15 16:17:38] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":8,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732687360001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784112361000,"timestamp_ms":1784112361000,"timestamp_seconds":1784112361,"priority":1,"record_length":96,"hex_timestamp":"0000019f65622e28"} 
[2026-07-15 16:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-15 16:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732687360001,"66":26039,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732687360001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:17:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:17:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732687360001,"power":26039,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":132695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:17:38] local.INFO: GPS data processed {"connection_id":132695,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:17:38] local.INFO: Acknowledgment sent {"connection_id":132695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:17:50] local.INFO: TCP Data received {"connection_id":132696,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:17:50] local.INFO: Processing buffer {"connection_id":132696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:17:50] local.INFO: IMEI packet received {"connection_id":132696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":132696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:17:52] local.INFO: TCP Data received {"connection_id":134901,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134901,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:17:52] local.INFO: Processing buffer {"connection_id":134901,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:17:52] local.INFO: IMEI packet received {"connection_id":134901,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 16:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":134901,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:17:53] local.INFO: TCP Data received {"connection_id":134901,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134901,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:17:53] local.INFO: Processing buffer {"connection_id":134901,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:17:53] local.INFO: IMEI packet received {"connection_id":134901,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 16:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":134901,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:17:55] local.INFO: TCP Data received {"connection_id":132696,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:17:55] local.INFO: Processing buffer {"connection_id":132696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:17:55] local.INFO: IMEI packet received {"connection_id":132696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":132696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:17:56] local.INFO: TCP Data received {"connection_id":132696,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f65632c10012d1854400721f898005700f127..."} 
[2026-07-15 16:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65632c10012d1854400721f898005700f127..."} 
[2026-07-15 16:17:56] local.INFO: Processing buffer {"connection_id":132696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65632c10012d1854400721f898005700f127..."} 
[2026-07-15 16:17:56] local.INFO: Packet analysis {"connection_id":132696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6563"} 
[2026-07-15 16:17:56] local.INFO: Extracted packet for processing {"connection_id":132696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6563"} 
[2026-07-15 16:17:56] local.INFO: GPS Element Parsed {"raw_longitude":756569152,"raw_latitude":119666840,"longitude_deg":75.6569152,"latitude_deg":11.966684,"altitude":87,"angle":241,"satellites":39,"speed":15,"hex_longitude":"2d185440","hex_latitude":"0721f898","is_valid_coordinates":true} 
[2026-07-15 16:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732777472001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6119576777523200,"note":"Value kept but may cause issues"} 
[2026-07-15 16:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1758444578890725376,"note":"Value kept but may cause issues"} 
[2026-07-15 16:17:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784112426000,"timestamp_ms":1784112426000,"timestamp_seconds":1784112426,"priority":1,"record_length":96,"hex_timestamp":"0000019f65632c10"} 
[2026-07-15 16:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:17: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-07-15 16:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-15 16:17: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-07-15 16:17:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732777472001,"66":13820,"105":206,"83":41984,"24":15,"16":6119576777523200,"45":1758444578890725376},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732777472001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:17:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:17:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6119576777523200,"km_value":6119576777523.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1758444578890725376,"description":"Unknown IO ID 45"} 
[2026-07-15 16:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732777472001,"power":13820,"unknown_105":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1758444578890725376}} 
[2026-07-15 16:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":132696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491712,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:17:56] local.INFO: GPS data processed {"connection_id":132696,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:17:56] local.INFO: Acknowledgment sent {"connection_id":132696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:17:57] local.INFO: TCP Data received {"connection_id":134901,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134901,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:17:57] local.INFO: Processing buffer {"connection_id":134901,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:17:57] local.INFO: IMEI packet received {"connection_id":134901,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 16:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":134901,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:17:58] local.INFO: TCP Data received {"connection_id":134901,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f65637260012d0d3ac00705d438001100a01b..."} 
[2026-07-15 16:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65637260012d0d3ac00705d438001100a01b..."} 
[2026-07-15 16:17:58] local.INFO: Processing buffer {"connection_id":134901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65637260012d0d3ac00705d438001100a01b..."} 
[2026-07-15 16:17:58] local.INFO: Packet analysis {"connection_id":134901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6563"} 
[2026-07-15 16:17:58] local.INFO: Extracted packet for processing {"connection_id":134901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6563"} 
[2026-07-15 16:17:58] local.INFO: GPS Element Parsed {"raw_longitude":755841728,"raw_latitude":117822520,"longitude_deg":75.5841728,"latitude_deg":11.782252,"altitude":17,"angle":160,"satellites":27,"speed":6,"hex_longitude":"2d0d3ac0","hex_latitude":"0705d438","is_valid_coordinates":true} 
[2026-07-15 16:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732785152001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24700408458903552,"note":"Value kept but may cause issues"} 
[2026-07-15 16:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953074301304920064,"note":"Value kept but may cause issues"} 
[2026-07-15 16:17:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784112444000,"timestamp_ms":1784112444000,"timestamp_seconds":1784112444,"priority":1,"record_length":96,"hex_timestamp":"0000019f65637260"} 
[2026-07-15 16:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:17:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-07-15 16:17:58] 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-07-15 16:17:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":134901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":134901,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":134901,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:17:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732785152001,"66":14439,"167":206,"94":11008,"24":6,"16":24700408458903552,"45":953074301304920064},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-15 16:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732785152001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:17:58] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 16:17:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 16:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24700408458903552,"km_value":24700408458903.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":953074301304920064,"description":"Unknown IO ID 45"} 
[2026-07-15 16:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732785152001,"power":14439,"unknown_167":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":953074301304920064}} 
[2026-07-15 16:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":134901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491713,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:17:58] local.INFO: GPS data processed {"connection_id":134901,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:17:58] local.INFO: Acknowledgment sent {"connection_id":134901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:18:01] local.INFO: TCP Data received {"connection_id":134902,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:18:01] local.INFO: Processing buffer {"connection_id":134902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:18:01] local.INFO: IMEI packet received {"connection_id":134902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":134902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:18:06] local.INFO: TCP Data received {"connection_id":134902,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:18:06] local.INFO: Processing buffer {"connection_id":134902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:18:06] local.INFO: IMEI packet received {"connection_id":134902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":134902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:18:06] local.INFO: TCP Data received {"connection_id":134902,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f65622e28012d7f9b8005afd770000800062d..."} 
[2026-07-15 16:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65622e28012d7f9b8005afd770000800062d..."} 
[2026-07-15 16:18:06] local.INFO: Processing buffer {"connection_id":134902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65622e28012d7f9b8005afd770000800062d..."} 
[2026-07-15 16:18:06] local.INFO: Packet analysis {"connection_id":134902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6562"} 
[2026-07-15 16:18:06] local.INFO: Extracted packet for processing {"connection_id":134902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6562"} 
[2026-07-15 16:18:06] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":8,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732687360001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784112361000,"timestamp_ms":1784112361000,"timestamp_seconds":1784112361,"priority":1,"record_length":96,"hex_timestamp":"0000019f65622e28"} 
[2026-07-15 16:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-15 16:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16: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-07-15 16:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":134902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":134902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":134902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732687360001,"66":26039,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732687360001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:18:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:18:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732687360001,"power":26039,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":134902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:18:06] local.INFO: GPS data processed {"connection_id":134902,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:18:06] local.INFO: Acknowledgment sent {"connection_id":134902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:18:27] local.INFO: TCP Data received {"connection_id":132696,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f65632ff8012d1853000721f7b8005700e529..."} 
[2026-07-15 16:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65632ff8012d1853000721f7b8005700e529..."} 
[2026-07-15 16:18:27] local.INFO: Processing buffer {"connection_id":132696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65632ff8012d1853000721f7b8005700e529..."} 
[2026-07-15 16:18:27] local.INFO: Packet analysis {"connection_id":132696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6563"} 
[2026-07-15 16:18:27] local.INFO: Extracted packet for processing {"connection_id":132696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6563"} 
[2026-07-15 16:18:27] local.INFO: GPS Element Parsed {"raw_longitude":756568832,"raw_latitude":119666616,"longitude_deg":75.6568832,"latitude_deg":11.9666616,"altitude":87,"angle":229,"satellites":41,"speed":16,"hex_longitude":"2d185300","hex_latitude":"0721f7b8","is_valid_coordinates":true} 
[2026-07-15 16:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732781056001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6119593957392384,"note":"Value kept but may cause issues"} 
[2026-07-15 16:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753096554332854272,"note":"Value kept but may cause issues"} 
[2026-07-15 16:18: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-07-15 16:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784112427000,"timestamp_ms":1784112427000,"timestamp_seconds":1784112427,"priority":1,"record_length":96,"hex_timestamp":"0000019f65632ff8"} 
[2026-07-15 16:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:18:27] 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-07-15 16:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-07-15 16:18:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:18:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":132696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":132696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":132696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732781056001,"66":13820,"105":206,"83":41984,"24":16,"16":6119593957392384,"45":1753096554332854272},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732781056001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:18:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:18:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6119593957392384,"km_value":6119593957392.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753096554332854272,"description":"Unknown IO ID 45"} 
[2026-07-15 16:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732781056001,"power":13820,"unknown_105":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1753096554332854272}} 
[2026-07-15 16:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":132696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491715,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:18:27] local.INFO: GPS data processed {"connection_id":132696,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:18:27] local.INFO: Acknowledgment sent {"connection_id":132696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:18:29] local.INFO: TCP Data received {"connection_id":134901,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f65637a30012d0d3b400705d308001100b11b..."} 
[2026-07-15 16:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65637a30012d0d3b400705d308001100b11b..."} 
[2026-07-15 16:18:29] local.INFO: Processing buffer {"connection_id":134901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65637a30012d0d3b400705d308001100b11b..."} 
[2026-07-15 16:18:29] local.INFO: Packet analysis {"connection_id":134901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6563"} 
[2026-07-15 16:18:29] local.INFO: Extracted packet for processing {"connection_id":134901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6563"} 
[2026-07-15 16:18:29] local.INFO: GPS Element Parsed {"raw_longitude":755841856,"raw_latitude":117822216,"longitude_deg":75.5841856,"latitude_deg":11.7822216,"altitude":17,"angle":177,"satellites":27,"speed":7,"hex_longitude":"2d0d3b40","hex_latitude":"0705d308","is_valid_coordinates":true} 
[2026-07-15 16:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732785664001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24700421343805440,"note":"Value kept but may cause issues"} 
[2026-07-15 16:18:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953285407537379328,"note":"Value kept but may cause issues"} 
[2026-07-15 16:18:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784112446000,"timestamp_ms":1784112446000,"timestamp_seconds":1784112446,"priority":1,"record_length":96,"hex_timestamp":"0000019f65637a30"} 
[2026-07-15 16:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:18:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 16:18:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16: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-07-15 16:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":134901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":134901,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":134901,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:18:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732785664001,"66":14374,"167":206,"94":11008,"24":7,"16":24700421343805440,"45":953285407537379328},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-15 16:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732785664001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:18:29] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 16:18:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-15 16:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24700421343805440,"km_value":24700421343805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:18:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":953285407537379328,"description":"Unknown IO ID 45"} 
[2026-07-15 16:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732785664001,"power":14374,"unknown_167":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":953285407537379328}} 
[2026-07-15 16:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":134901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491716,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:18:29] local.INFO: GPS data processed {"connection_id":134901,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:18:29] local.INFO: Acknowledgment sent {"connection_id":134901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:18:37] local.INFO: TCP Data received {"connection_id":134902,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f65622e28012d7f9b8005afd770000800062d..."} 
[2026-07-15 16:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65622e28012d7f9b8005afd770000800062d..."} 
[2026-07-15 16:18:37] local.INFO: Processing buffer {"connection_id":134902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65622e28012d7f9b8005afd770000800062d..."} 
[2026-07-15 16:18:37] local.INFO: Packet analysis {"connection_id":134902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6562"} 
[2026-07-15 16:18:37] local.INFO: Extracted packet for processing {"connection_id":134902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6562"} 
[2026-07-15 16:18:37] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":8,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732687360001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784112361000,"timestamp_ms":1784112361000,"timestamp_seconds":1784112361,"priority":1,"record_length":96,"hex_timestamp":"0000019f65622e28"} 
[2026-07-15 16:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-15 16:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":134902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":134902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":134902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732687360001,"66":26039,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732687360001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:18:37] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:18:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732687360001,"power":26039,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":134902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:18:37] local.INFO: GPS data processed {"connection_id":134902,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:18:37] local.INFO: Acknowledgment sent {"connection_id":134902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:18:54] local.INFO: TCP Data received {"connection_id":134904,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:18:54] local.INFO: Processing buffer {"connection_id":134904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:18:54] local.INFO: IMEI packet received {"connection_id":134904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":134904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:18:54] local.INFO: TCP Data received {"connection_id":133536,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133536,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:18:54] local.INFO: Processing buffer {"connection_id":133536,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:18:54] local.INFO: IMEI packet received {"connection_id":133536,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 16:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":133536,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:18:54] local.INFO: TCP Data received {"connection_id":133536,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133536,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:18:54] local.INFO: Processing buffer {"connection_id":133536,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:18:54] local.INFO: IMEI packet received {"connection_id":133536,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 16:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":133536,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:18:55] local.INFO: TCP Data received {"connection_id":133536,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133536,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:18:55] local.INFO: Processing buffer {"connection_id":133536,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:18:55] local.INFO: IMEI packet received {"connection_id":133536,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 16:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":133536,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:18:55] local.INFO: TCP Data received {"connection_id":134904,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:18:55] local.INFO: Processing buffer {"connection_id":134904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:18:55] local.INFO: IMEI packet received {"connection_id":134904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":134904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:18:56] local.INFO: TCP Data received {"connection_id":133536,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133536,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:18:56] local.INFO: Processing buffer {"connection_id":133536,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:18:56] local.INFO: IMEI packet received {"connection_id":133536,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 16:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":133536,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:19:00] local.INFO: TCP Data received {"connection_id":132514,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:19:00] local.INFO: Processing buffer {"connection_id":132514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:19:00] local.INFO: IMEI packet received {"connection_id":132514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":132514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:19:00] local.INFO: TCP Data received {"connection_id":134904,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:19:00] local.INFO: Processing buffer {"connection_id":134904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:19:00] local.INFO: IMEI packet received {"connection_id":134904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":134904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:19:01] local.INFO: TCP Data received {"connection_id":134904,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f65633f98012d184dc00721f168005500da2b..."} 
[2026-07-15 16:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65633f98012d184dc00721f168005500da2b..."} 
[2026-07-15 16:19:01] local.INFO: Processing buffer {"connection_id":134904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65633f98012d184dc00721f168005500da2b..."} 
[2026-07-15 16:19:01] local.INFO: Packet analysis {"connection_id":134904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6563"} 
[2026-07-15 16:19:01] local.INFO: Extracted packet for processing {"connection_id":134904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6563"} 
[2026-07-15 16:19:01] local.INFO: GPS Element Parsed {"raw_longitude":756567488,"raw_latitude":119665000,"longitude_deg":75.6567488,"latitude_deg":11.9665,"altitude":85,"angle":218,"satellites":43,"speed":27,"hex_longitude":"2d184dc0","hex_latitude":"0721f168","is_valid_coordinates":true} 
[2026-07-15 16:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732781312001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6119697036607488,"note":"Value kept but may cause issues"} 
[2026-07-15 16:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1752744710611908608,"note":"Value kept but may cause issues"} 
[2026-07-15 16:19: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-07-15 16:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784112431000,"timestamp_ms":1784112431000,"timestamp_seconds":1784112431,"priority":1,"record_length":96,"hex_timestamp":"0000019f65633f98"} 
[2026-07-15 16:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:19:01] 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-07-15 16:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-07-15 16:19:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:19:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":134904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":134904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":134904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:19:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732781312001,"66":14135,"105":206,"83":41984,"24":27,"16":6119697036607488,"45":1752744710611908608},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732781312001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:19:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:19:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6119697036607488,"km_value":6119697036607.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1752744710611908608,"description":"Unknown IO ID 45"} 
[2026-07-15 16:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732781312001,"power":14135,"unknown_105":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1752744710611908608}} 
[2026-07-15 16:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":134904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:19:01] local.INFO: GPS data processed {"connection_id":134904,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:19:01] local.INFO: Acknowledgment sent {"connection_id":134904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:19:04] local.INFO: TCP Data received {"connection_id":134904,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f65636e78012d1838400721d248004e00d728..."} 
[2026-07-15 16:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65636e78012d1838400721d248004e00d728..."} 
[2026-07-15 16:19:04] local.INFO: Processing buffer {"connection_id":134904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65636e78012d1838400721d248004e00d728..."} 
[2026-07-15 16:19:04] local.INFO: Packet analysis {"connection_id":134904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6563"} 
[2026-07-15 16:19:04] local.INFO: Extracted packet for processing {"connection_id":134904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6563"} 
[2026-07-15 16:19:04] local.INFO: GPS Element Parsed {"raw_longitude":756561984,"raw_latitude":119657032,"longitude_deg":75.6561984,"latitude_deg":11.9657032,"altitude":78,"angle":215,"satellites":40,"speed":32,"hex_longitude":"2d183840","hex_latitude":"0721d248","is_valid_coordinates":true} 
[2026-07-15 16:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732782336001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6120165188042752,"note":"Value kept but may cause issues"} 
[2026-07-15 16:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1751266966983763968,"note":"Value kept but may cause issues"} 
[2026-07-15 16:19: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-07-15 16:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784112443000,"timestamp_ms":1784112443000,"timestamp_seconds":1784112443,"priority":1,"record_length":96,"hex_timestamp":"0000019f65636e78"} 
[2026-07-15 16:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:19:04] 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-07-15 16:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-15 16:19:04] 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-07-15 16:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":134904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":134904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":134904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732782336001,"66":14157,"105":206,"83":41984,"24":32,"16":6120165188042752,"45":1751266966983763968},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732782336001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:19:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:19:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6120165188042752,"km_value":6120165188042.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1751266966983763968,"description":"Unknown IO ID 45"} 
[2026-07-15 16:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732782336001,"power":14157,"unknown_105":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1751266966983763968}} 
[2026-07-15 16:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":134904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491719,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:19:04] local.INFO: GPS data processed {"connection_id":134904,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:19:04] local.INFO: Acknowledgment sent {"connection_id":134904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:19:06] local.INFO: TCP Data received {"connection_id":132514,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:19:06] local.INFO: Processing buffer {"connection_id":132514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:19:06] local.INFO: IMEI packet received {"connection_id":132514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":132514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:19:06] local.INFO: TCP Data received {"connection_id":132514,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f65622e28012d7f9b8005afd770000800062d..."} 
[2026-07-15 16:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65622e28012d7f9b8005afd770000800062d..."} 
[2026-07-15 16:19:06] local.INFO: Processing buffer {"connection_id":132514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65622e28012d7f9b8005afd770000800062d..."} 
[2026-07-15 16:19:06] local.INFO: Packet analysis {"connection_id":132514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6562"} 
[2026-07-15 16:19:06] local.INFO: Extracted packet for processing {"connection_id":132514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6562"} 
[2026-07-15 16:19:06] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":8,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732687360001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784112361000,"timestamp_ms":1784112361000,"timestamp_seconds":1784112361,"priority":1,"record_length":96,"hex_timestamp":"0000019f65622e28"} 
[2026-07-15 16:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-15 16:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732687360001,"66":26039,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732687360001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:19:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:19:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732687360001,"power":26039,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":132514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:19:06] local.INFO: GPS data processed {"connection_id":132514,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:19:06] local.INFO: Acknowledgment sent {"connection_id":132514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:19:35] local.INFO: TCP Data received {"connection_id":134904,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f656460a8012d187700072181b0004a004f2c..."} 
[2026-07-15 16:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656460a8012d187700072181b0004a004f2c..."} 
[2026-07-15 16:19:35] local.INFO: Processing buffer {"connection_id":134904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656460a8012d187700072181b0004a004f2c..."} 
[2026-07-15 16:19:35] local.INFO: Packet analysis {"connection_id":134904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6564"} 
[2026-07-15 16:19:35] local.INFO: Extracted packet for processing {"connection_id":134904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6564"} 
[2026-07-15 16:19:35] local.INFO: GPS Element Parsed {"raw_longitude":756578048,"raw_latitude":119636400,"longitude_deg":75.6578048,"latitude_deg":11.96364,"altitude":74,"angle":79,"satellites":44,"speed":8,"hex_longitude":"2d187700","hex_latitude":"072181b0","is_valid_coordinates":true} 
[2026-07-15 16:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732798720001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6121981959208960,"note":"Value kept but may cause issues"} 
[2026-07-15 16:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1758303841394231296,"note":"Value kept but may cause issues"} 
[2026-07-15 16:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784112505000,"timestamp_ms":1784112505000,"timestamp_seconds":1784112505,"priority":1,"record_length":96,"hex_timestamp":"0000019f656460a8"} 
[2026-07-15 16:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-15 16:19:35] 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-07-15 16:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":134904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":134904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":134904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732798720001,"66":13135,"105":206,"83":41984,"24":8,"16":6121981959208960,"45":1758303841394231296},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732798720001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:19:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:19:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6121981959208960,"km_value":6121981959208.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1758303841394231296,"description":"Unknown IO ID 45"} 
[2026-07-15 16:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732798720001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1758303841394231296}} 
[2026-07-15 16:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":134904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:19:35] local.INFO: GPS data processed {"connection_id":134904,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:19:35] local.INFO: Acknowledgment sent {"connection_id":134904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:19:37] local.INFO: TCP Data received {"connection_id":132514,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f65622e28012d7f9b8005afd770000800062d..."} 
[2026-07-15 16:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65622e28012d7f9b8005afd770000800062d..."} 
[2026-07-15 16:19:37] local.INFO: Processing buffer {"connection_id":132514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65622e28012d7f9b8005afd770000800062d..."} 
[2026-07-15 16:19:37] local.INFO: Packet analysis {"connection_id":132514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6562"} 
[2026-07-15 16:19:37] local.INFO: Extracted packet for processing {"connection_id":132514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6562"} 
[2026-07-15 16:19:37] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":8,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732687360001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784112361000,"timestamp_ms":1784112361000,"timestamp_seconds":1784112361,"priority":1,"record_length":96,"hex_timestamp":"0000019f65622e28"} 
[2026-07-15 16:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-15 16:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732687360001,"66":26039,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732687360001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:19:37] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:19:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732687360001,"power":26039,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":132514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:19:37] local.INFO: GPS data processed {"connection_id":132514,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:19:37] local.INFO: Acknowledgment sent {"connection_id":132514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:19:47] local.INFO: TCP Data received {"connection_id":133538,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133538,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:19:47] local.INFO: Processing buffer {"connection_id":133538,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:19:47] local.INFO: IMEI packet received {"connection_id":133538,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":133538,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:19:50] local.INFO: TCP Data received {"connection_id":133538,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133538,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:19:50] local.INFO: Processing buffer {"connection_id":133538,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:19:50] local.INFO: IMEI packet received {"connection_id":133538,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":133538,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:19:55] local.INFO: TCP Data received {"connection_id":133538,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133538,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:19:55] local.INFO: Processing buffer {"connection_id":133538,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:19:55] local.INFO: IMEI packet received {"connection_id":133538,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":133538,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:19:56] local.INFO: TCP Data received {"connection_id":133538,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f65646878012d18788007218228004b00412c..."} 
[2026-07-15 16:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65646878012d18788007218228004b00412c..."} 
[2026-07-15 16:19:57] local.INFO: Processing buffer {"connection_id":133538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65646878012d18788007218228004b00412c..."} 
[2026-07-15 16:19:57] local.INFO: Packet analysis {"connection_id":133538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6564"} 
[2026-07-15 16:19:57] local.INFO: Extracted packet for processing {"connection_id":133538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6564"} 
[2026-07-15 16:19:57] local.INFO: GPS Element Parsed {"raw_longitude":756578432,"raw_latitude":119636520,"longitude_deg":75.6578432,"latitude_deg":11.963652,"altitude":75,"angle":65,"satellites":44,"speed":8,"hex_longitude":"2d187880","hex_latitude":"07218228","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732801280001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6122003434045440,"note":"Value kept but may cause issues"} 
[2026-07-15 16:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762877809765756928,"note":"Value kept but may cause issues"} 
[2026-07-15 16:19:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784112507000,"timestamp_ms":1784112507000,"timestamp_seconds":1784112507,"priority":1,"record_length":96,"hex_timestamp":"0000019f65646878"} 
[2026-07-15 16:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:19:57] 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-07-15 16: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-15 16:19:57] 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-07-15 16: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-07-15 16:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":133538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":133538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":133538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:19:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732801280001,"66":13222,"105":206,"83":41984,"24":8,"16":6122003434045440,"45":1762877809765756928},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732801280001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:19:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:19:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6122003434045440,"km_value":6122003434045.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762877809765756928,"description":"Unknown IO ID 45"} 
[2026-07-15 16:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732801280001,"power":13222,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1762877809765756928}} 
[2026-07-15 16:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":133538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:19:57] local.INFO: GPS data processed {"connection_id":133538,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:19:57] local.INFO: Acknowledgment sent {"connection_id":133538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:20:06] local.INFO: TCP Data received {"connection_id":134906,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:20:06] local.INFO: Processing buffer {"connection_id":134906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:20:06] local.INFO: IMEI packet received {"connection_id":134906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":134906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:20:11] local.INFO: TCP Data received {"connection_id":134906,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:20:11] local.INFO: Processing buffer {"connection_id":134906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:20:11] local.INFO: IMEI packet received {"connection_id":134906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":134906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:20:12] local.INFO: TCP Data received {"connection_id":134906,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65622e28012d7f9b8005afd770000800062d..."} 
[2026-07-15 16:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65622e28012d7f9b8005afd770000800062d..."} 
[2026-07-15 16:20:12] local.INFO: Processing buffer {"connection_id":134906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65622e28012d7f9b8005afd770000800062d..."} 
[2026-07-15 16:20:12] local.INFO: Packet analysis {"connection_id":134906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6562"} 
[2026-07-15 16:20:12] local.INFO: Extracted packet for processing {"connection_id":134906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6562"} 
[2026-07-15 16:20:12] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":8,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732687360001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784112361000,"timestamp_ms":1784112361000,"timestamp_seconds":1784112361,"priority":1,"record_length":96,"hex_timestamp":"0000019f65622e28"} 
[2026-07-15 16:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-15 16:20:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:20:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":134906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":134906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":134906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:20:12] 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-07-15 16:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732687360001,"66":26039,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732687360001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:20:12] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:20:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732687360001,"power":26039,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":134906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:20:12] local.INFO: GPS data processed {"connection_id":134906,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:20:12] local.INFO: Acknowledgment sent {"connection_id":134906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:20:16] local.INFO: TCP Data received {"connection_id":134906,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65622e28012d7f9b8005afd770000800062d..."} 
[2026-07-15 16:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65622e28012d7f9b8005afd770000800062d..."} 
[2026-07-15 16:20:16] local.INFO: Processing buffer {"connection_id":134906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65622e28012d7f9b8005afd770000800062d..."} 
[2026-07-15 16:20:16] local.INFO: Packet analysis {"connection_id":134906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6562"} 
[2026-07-15 16:20:16] local.INFO: Extracted packet for processing {"connection_id":134906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6562"} 
[2026-07-15 16:20:16] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":8,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732687360001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:20:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784112361000,"timestamp_ms":1784112361000,"timestamp_seconds":1784112361,"priority":1,"record_length":96,"hex_timestamp":"0000019f65622e28"} 
[2026-07-15 16:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-15 16:20:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:20:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":134906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":134906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":134906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732687360001,"66":26039,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732687360001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:20:16] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:20:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732687360001,"power":26039,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":134906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:20:16] local.INFO: GPS data processed {"connection_id":134906,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:20:16] local.INFO: Acknowledgment sent {"connection_id":134906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:20:27] local.INFO: TCP Data received {"connection_id":133538,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f6564ba80012d187a4007218298004b004b2e..."} 
[2026-07-15 16:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6564ba80012d187a4007218298004b004b2e..."} 
[2026-07-15 16:20:27] local.INFO: Processing buffer {"connection_id":133538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6564ba80012d187a4007218298004b004b2e..."} 
[2026-07-15 16:20:27] local.INFO: Packet analysis {"connection_id":133538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6564"} 
[2026-07-15 16:20:27] local.INFO: Extracted packet for processing {"connection_id":133538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6564"} 
[2026-07-15 16:20:27] local.INFO: GPS Element Parsed {"raw_longitude":756578880,"raw_latitude":119636632,"longitude_deg":75.657888,"latitude_deg":11.9636632,"altitude":75,"angle":75,"satellites":46,"speed":0,"hex_longitude":"2d187a40","hex_latitude":"07218298","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732801792001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6122024908881920,"note":"Value kept but may cause issues"} 
[2026-07-15 16:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763300022230853632,"note":"Value kept but may cause issues"} 
[2026-07-15 16:20:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784112528000,"timestamp_ms":1784112528000,"timestamp_seconds":1784112528,"priority":1,"record_length":96,"hex_timestamp":"0000019f6564ba80"} 
[2026-07-15 16:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:20:27] 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-07-15 16: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-15 16:20:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16: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-07-15 16:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":133538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":133538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":133538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732801792001,"66":13102,"105":206,"83":41984,"24":0,"16":6122024908881920,"45":1763300022230853632},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732801792001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:20:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:20:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6122024908881920,"km_value":6122024908881.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763300022230853632,"description":"Unknown IO ID 45"} 
[2026-07-15 16:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732801792001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1763300022230853632}} 
[2026-07-15 16:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":133538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:20:27] local.INFO: GPS data processed {"connection_id":133538,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:20:27] local.INFO: Acknowledgment sent {"connection_id":133538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:20:50] local.INFO: TCP Data received {"connection_id":132698,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:20:50] local.INFO: Processing buffer {"connection_id":132698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:20:50] local.INFO: IMEI packet received {"connection_id":132698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":132698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:20:51] local.INFO: TCP Data received {"connection_id":132698,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:20:51] local.INFO: Processing buffer {"connection_id":132698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:20:51] local.INFO: IMEI packet received {"connection_id":132698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":132698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:20:55] local.INFO: TCP Data received {"connection_id":132698,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:20:55] local.INFO: Processing buffer {"connection_id":132698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:20:55] local.INFO: IMEI packet received {"connection_id":132698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":132698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:20:56] local.INFO: TCP Data received {"connection_id":132698,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f65650c88012d187a4007218298004b004b2c..."} 
[2026-07-15 16:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65650c88012d187a4007218298004b004b2c..."} 
[2026-07-15 16:20:56] local.INFO: Processing buffer {"connection_id":132698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65650c88012d187a4007218298004b004b2c..."} 
[2026-07-15 16:20:56] local.INFO: Packet analysis {"connection_id":132698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6565"} 
[2026-07-15 16:20:56] local.INFO: Extracted packet for processing {"connection_id":132698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6565"} 
[2026-07-15 16:20:56] local.INFO: GPS Element Parsed {"raw_longitude":756578880,"raw_latitude":119636632,"longitude_deg":75.657888,"latitude_deg":11.9636632,"altitude":75,"angle":75,"satellites":44,"speed":0,"hex_longitude":"2d187a40","hex_latitude":"07218298","is_valid_coordinates":true} 
[2026-07-15 16:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732807168001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6122024908881920,"note":"Value kept but may cause issues"} 
[2026-07-15 16:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763792603440125952,"note":"Value kept but may cause issues"} 
[2026-07-15 16:20:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784112549000,"timestamp_ms":1784112549000,"timestamp_seconds":1784112549,"priority":1,"record_length":96,"hex_timestamp":"0000019f65650c88"} 
[2026-07-15 16:20:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:20: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-07-15 16:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-15 16:20:56] 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-07-15 16:20:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:20:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732807168001,"66":12950,"105":206,"83":41984,"24":0,"16":6122024908881920,"45":1763792603440125952},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732807168001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:20:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:20:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6122024908881920,"km_value":6122024908881.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763792603440125952,"description":"Unknown IO ID 45"} 
[2026-07-15 16:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732807168001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1763792603440125952}} 
[2026-07-15 16:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":132698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491727,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:20:56] local.INFO: GPS data processed {"connection_id":132698,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:20:56] local.INFO: Acknowledgment sent {"connection_id":132698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:21:01] local.INFO: TCP Data received {"connection_id":134908,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:21:01] local.INFO: Processing buffer {"connection_id":134908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:21:01] local.INFO: IMEI packet received {"connection_id":134908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":134908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:21:06] local.INFO: TCP Data received {"connection_id":134908,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:21:06] local.INFO: Processing buffer {"connection_id":134908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:21:06] local.INFO: IMEI packet received {"connection_id":134908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":134908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:21:07] local.INFO: TCP Data received {"connection_id":134908,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f65622e28012d7f9b8005afd770000800062d..."} 
[2026-07-15 16:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65622e28012d7f9b8005afd770000800062d..."} 
[2026-07-15 16:21:07] local.INFO: Processing buffer {"connection_id":134908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65622e28012d7f9b8005afd770000800062d..."} 
[2026-07-15 16:21:07] local.INFO: Packet analysis {"connection_id":134908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6562"} 
[2026-07-15 16:21:07] local.INFO: Extracted packet for processing {"connection_id":134908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6562"} 
[2026-07-15 16:21:07] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":8,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732687360001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784112361000,"timestamp_ms":1784112361000,"timestamp_seconds":1784112361,"priority":1,"record_length":96,"hex_timestamp":"0000019f65622e28"} 
[2026-07-15 16:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-15 16:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732687360001,"66":26039,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732687360001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:21:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:21:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732687360001,"power":26039,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":134908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:21:07] local.INFO: GPS data processed {"connection_id":134908,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:21:07] local.INFO: Acknowledgment sent {"connection_id":134908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:21:27] local.INFO: TCP Data received {"connection_id":132698,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f65655e90012d187a4007218298004b004b2a..."} 
[2026-07-15 16:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65655e90012d187a4007218298004b004b2a..."} 
[2026-07-15 16:21:27] local.INFO: Processing buffer {"connection_id":132698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65655e90012d187a4007218298004b004b2a..."} 
[2026-07-15 16:21:27] local.INFO: Packet analysis {"connection_id":132698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6565"} 
[2026-07-15 16:21:27] local.INFO: Extracted packet for processing {"connection_id":132698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6565"} 
[2026-07-15 16:21:27] local.INFO: GPS Element Parsed {"raw_longitude":756578880,"raw_latitude":119636632,"longitude_deg":75.657888,"latitude_deg":11.9636632,"altitude":75,"angle":75,"satellites":42,"speed":0,"hex_longitude":"2d187a40","hex_latitude":"07218298","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732812544001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6122024908881920,"note":"Value kept but may cause issues"} 
[2026-07-15 16:21:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763792603440125952,"note":"Value kept but may cause issues"} 
[2026-07-15 16:21: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-07-15 16:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784112570000,"timestamp_ms":1784112570000,"timestamp_seconds":1784112570,"priority":1,"record_length":96,"hex_timestamp":"0000019f65655e90"} 
[2026-07-15 16:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:21:27] 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-07-15 16: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 16:21:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16: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-07-15 16:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":132698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":132698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":132698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:21:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732812544001,"66":12961,"105":206,"83":41984,"24":0,"16":6122024908881920,"45":1763792603440125952},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732812544001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:21:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:21:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6122024908881920,"km_value":6122024908881.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:21:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763792603440125952,"description":"Unknown IO ID 45"} 
[2026-07-15 16:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732812544001,"power":12961,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1763792603440125952}} 
[2026-07-15 16:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":132698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:21:27] local.INFO: GPS data processed {"connection_id":132698,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:21:27] local.INFO: Acknowledgment sent {"connection_id":132698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:21:40] local.INFO: TCP Data received {"connection_id":134908,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f65622e28012d7f9b8005afd770000800062d..."} 
[2026-07-15 16:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65622e28012d7f9b8005afd770000800062d..."} 
[2026-07-15 16:21:40] local.INFO: Processing buffer {"connection_id":134908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65622e28012d7f9b8005afd770000800062d..."} 
[2026-07-15 16:21:40] local.INFO: Packet analysis {"connection_id":134908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6562"} 
[2026-07-15 16:21:40] local.INFO: Extracted packet for processing {"connection_id":134908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6562"} 
[2026-07-15 16:21:40] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":8,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732687360001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784112361000,"timestamp_ms":1784112361000,"timestamp_seconds":1784112361,"priority":1,"record_length":96,"hex_timestamp":"0000019f65622e28"} 
[2026-07-15 16:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-15 16:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16: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-07-15 16:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":134908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":134908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":134908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732687360001,"66":26039,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732687360001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:21:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:21:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732687360001,"power":26039,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":134908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:21:40] local.INFO: GPS data processed {"connection_id":134908,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:21:40] local.INFO: Acknowledgment sent {"connection_id":134908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:21:51] local.INFO: TCP Data received {"connection_id":132701,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:21:51] local.INFO: Processing buffer {"connection_id":132701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:21:51] local.INFO: IMEI packet received {"connection_id":132701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":132701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:21:51] local.INFO: TCP Data received {"connection_id":132701,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:21:51] local.INFO: Processing buffer {"connection_id":132701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:21:51] local.INFO: IMEI packet received {"connection_id":132701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":132701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:21:52] local.INFO: TCP Data received {"connection_id":132701,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:21:52] local.INFO: Processing buffer {"connection_id":132701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:21:52] local.INFO: IMEI packet received {"connection_id":132701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":132701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:21:53] local.INFO: TCP Data received {"connection_id":132701,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f6566d590012d18c80007213b480045009e28..."} 
[2026-07-15 16:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6566d590012d18c80007213b480045009e28..."} 
[2026-07-15 16:21:53] local.INFO: Processing buffer {"connection_id":132701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6566d590012d18c80007213b480045009e28..."} 
[2026-07-15 16:21:53] local.INFO: Packet analysis {"connection_id":132701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6566"} 
[2026-07-15 16:21:53] local.INFO: Extracted packet for processing {"connection_id":132701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6566"} 
[2026-07-15 16:21:53] local.INFO: GPS Element Parsed {"raw_longitude":756598784,"raw_latitude":119618376,"longitude_deg":75.6598784,"latitude_deg":11.9618376,"altitude":69,"angle":158,"satellites":40,"speed":37,"hex_longitude":"2d18c800","hex_latitude":"07213b48","is_valid_coordinates":true} 
[2026-07-15 16:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732841472001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6123455132991488,"note":"Value kept but may cause issues"} 
[2026-07-15 16:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785043964178083840,"note":"Value kept but may cause issues"} 
[2026-07-15 16:21:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784112666000,"timestamp_ms":1784112666000,"timestamp_seconds":1784112666,"priority":1,"record_length":96,"hex_timestamp":"0000019f6566d590"} 
[2026-07-15 16:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:21:53] 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-07-15 16:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-15 16:21:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":132701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":132701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":132701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:21:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732841472001,"66":14233,"103":206,"83":41984,"24":37,"16":6123455132991488,"45":1785043964178083840},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 16:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732841472001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:21:53] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 16:21:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6123455132991488,"km_value":6123455132991.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785043964178083840,"description":"Unknown IO ID 45"} 
[2026-07-15 16:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732841472001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1785043964178083840}} 
[2026-07-15 16:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":132701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:21:53] local.INFO: GPS data processed {"connection_id":132701,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:21:53] local.INFO: Acknowledgment sent {"connection_id":132701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:22:00] local.INFO: TCP Data received {"connection_id":133540,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:22:00] local.INFO: Processing buffer {"connection_id":133540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:22:00] local.INFO: IMEI packet received {"connection_id":133540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":133540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:22:04] local.INFO: TCP Data received {"connection_id":132702,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132702,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:22:04] local.INFO: Processing buffer {"connection_id":132702,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:22:04] local.INFO: IMEI packet received {"connection_id":132702,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 16:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":132702,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:22:05] local.INFO: TCP Data received {"connection_id":132702,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f65654ef0012d79d64005e5c2c8000800042c..."} 
[2026-07-15 16:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65654ef0012d79d64005e5c2c8000800042c..."} 
[2026-07-15 16:22:05] local.INFO: Processing buffer {"connection_id":132702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65654ef0012d79d64005e5c2c8000800042c..."} 
[2026-07-15 16:22:05] local.INFO: Packet analysis {"connection_id":132702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6565"} 
[2026-07-15 16:22:05] local.INFO: Extracted packet for processing {"connection_id":132702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6565"} 
[2026-07-15 16:22:05] local.INFO: GPS Element Parsed {"raw_longitude":762959424,"raw_latitude":98943688,"longitude_deg":76.2959424,"latitude_deg":9.8943688,"altitude":8,"angle":4,"satellites":44,"speed":3,"hex_longitude":"2d79d640","hex_latitude":"05e5c2c8","is_valid_coordinates":true} 
[2026-07-15 16:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732811520001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106615162894548992,"note":"Value kept but may cause issues"} 
[2026-07-15 16:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779345286423384064,"note":"Value kept but may cause issues"} 
[2026-07-15 16:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784112566000,"timestamp_ms":1784112566000,"timestamp_seconds":1784112566,"priority":1,"record_length":96,"hex_timestamp":"0000019f65654ef0"} 
[2026-07-15 16:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-15 16:22:05] 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-07-15 16:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732811520001,"66":13319,"182":206,"87":13824,"24":3,"16":106615162894548992,"45":8779345286423384064},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-15 16:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732811520001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:22:05] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 16:22:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 16:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106615162894548992,"km_value":106615162894548.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779345286423384064,"description":"Unknown IO ID 45"} 
[2026-07-15 16:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732811520001,"power":13319,"unknown_182":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8779345286423384064}} 
[2026-07-15 16:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":132702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491732,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:22:05] local.INFO: GPS data processed {"connection_id":132702,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:22:05] local.INFO: Acknowledgment sent {"connection_id":132702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:22:06] local.INFO: TCP Data received {"connection_id":133540,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:22:06] local.INFO: Processing buffer {"connection_id":133540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:22:06] local.INFO: IMEI packet received {"connection_id":133540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":133540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:22:06] local.INFO: TCP Data received {"connection_id":133540,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f6566c5f0012d7f9b8005afd770000c000630..."} 
[2026-07-15 16:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6566c5f0012d7f9b8005afd770000c000630..."} 
[2026-07-15 16:22:06] local.INFO: Processing buffer {"connection_id":133540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6566c5f0012d7f9b8005afd770000c000630..."} 
[2026-07-15 16:22:06] local.INFO: Packet analysis {"connection_id":133540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6566"} 
[2026-07-15 16:22:06] local.INFO: Extracted packet for processing {"connection_id":133540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6566"} 
[2026-07-15 16:22:06] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":12,"angle":6,"satellites":48,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 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-07-15 16:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732764416001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784112662000,"timestamp_ms":1784112662000,"timestamp_seconds":1784112662,"priority":1,"record_length":96,"hex_timestamp":"0000019f6566c5f0"} 
[2026-07-15 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-07-15 16:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-15 16:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 16:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732764416001,"66":25995,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732764416001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:22:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:22:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732764416001,"power":25995,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":133540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:22:06] local.INFO: GPS data processed {"connection_id":133540,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:22:06] local.INFO: Acknowledgment sent {"connection_id":133540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:22:24] local.INFO: TCP Data received {"connection_id":132701,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f6566dd60012d18cb80072134d80044009228..."} 
[2026-07-15 16:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6566dd60012d18cb80072134d80044009228..."} 
[2026-07-15 16:22:24] local.INFO: Processing buffer {"connection_id":132701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6566dd60012d18cb80072134d80044009228..."} 
[2026-07-15 16:22:24] local.INFO: Packet analysis {"connection_id":132701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6566"} 
[2026-07-15 16:22:24] local.INFO: Extracted packet for processing {"connection_id":132701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6566"} 
[2026-07-15 16:22:24] local.INFO: GPS Element Parsed {"raw_longitude":756599680,"raw_latitude":119616728,"longitude_deg":75.659968,"latitude_deg":11.9616728,"altitude":68,"angle":146,"satellites":40,"speed":36,"hex_longitude":"2d18cb80","hex_latitude":"072134d8","is_valid_coordinates":true} 
[2026-07-15 16:22:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732842496001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6123545327304704,"note":"Value kept but may cause issues"} 
[2026-07-15 16:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785677282874705920,"note":"Value kept but may cause issues"} 
[2026-07-15 16:22:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1784112668000,"timestamp_ms":1784112668000,"timestamp_seconds":1784112668,"priority":1,"record_length":96,"hex_timestamp":"0000019f6566dd60"} 
[2026-07-15 16:22:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:22: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-07-15 16:22:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-15 16:22:24] 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-07-15 16:22:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:22:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":132701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":132701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":132701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:22:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732842496001,"66":13243,"103":206,"83":41984,"24":36,"16":6123545327304704,"45":1785677282874705920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 16:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732842496001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:22:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 16:22:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6123545327304704,"km_value":6123545327304.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785677282874705920,"description":"Unknown IO ID 45"} 
[2026-07-15 16:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732842496001,"power":13243,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1785677282874705920}} 
[2026-07-15 16:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":132701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:22:24] local.INFO: GPS data processed {"connection_id":132701,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:22:24] local.INFO: Acknowledgment sent {"connection_id":132701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:22:36] local.INFO: TCP Data received {"connection_id":132702,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f656552d8012d79d70005e5c278000800892c..."} 
[2026-07-15 16:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656552d8012d79d70005e5c278000800892c..."} 
[2026-07-15 16:22:36] local.INFO: Processing buffer {"connection_id":132702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656552d8012d79d70005e5c278000800892c..."} 
[2026-07-15 16:22:36] local.INFO: Packet analysis {"connection_id":132702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6565"} 
[2026-07-15 16:22:36] local.INFO: Extracted packet for processing {"connection_id":132702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6565"} 
[2026-07-15 16:22:36] local.INFO: GPS Element Parsed {"raw_longitude":762959616,"raw_latitude":98943608,"longitude_deg":76.2959616,"latitude_deg":9.8943608,"altitude":8,"angle":137,"satellites":44,"speed":7,"hex_longitude":"2d79d700","hex_latitude":"05e5c278","is_valid_coordinates":true} 
[2026-07-15 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-07-15 16:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732816896001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106615171484483584,"note":"Value kept but may cause issues"} 
[2026-07-15 16:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779274917679122432,"note":"Value kept but may cause issues"} 
[2026-07-15 16:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784112567000,"timestamp_ms":1784112567000,"timestamp_seconds":1784112567,"priority":1,"record_length":96,"hex_timestamp":"0000019f656552d8"} 
[2026-07-15 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-07-15 16:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-15 16:22:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 16:22:36] local.WARNING: Large IO value detected {"io_id":197,"raw_value":3003121664,"note":"Value kept but may cause issues"} 
[2026-07-15 16:22:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3848058880,"note":"Value kept but may cause issues"} 
[2026-07-15 16:22:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-15 16:22:36] local.WARNING: Large IO value detected {"io_id":229,"raw_value":4132052696789953536,"note":"Value kept but may cause issues"} 
[2026-07-15 16:22:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1787887822,"corrected_to":0} 
[2026-07-15 16:22:36] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3321941354,"note":"Value kept but may cause issues"} 
[2026-07-15 16:22:36] local.WARNING: Large IO value detected {"io_id":122,"raw_value":3307143168,"note":"Value kept but may cause issues"} 
[2026-07-15 16:22:36] local.WARNING: Large IO value detected {"io_id":166,"raw_value":57762418176972592,"note":"Value kept but may cause issues"} 
[2026-07-15 16:22:36] local.WARNING: Large IO value detected {"io_id":99,"raw_value":-5420080856709758971,"note":"Value kept but may cause issues"} 
[2026-07-15 16:22:36] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,182,87,24,241,157,16,197,159,252,45,128,196,9,43,10,66,170,192,193,5,40,92,1,240,46,227,101,229,4,113,205,30,22,220,48,44,239,51,145,2,122,8,29,166,99],"length":527,"final_offset":657,"validated_count":46,"validation_warnings":[{"io_id":205,"original":1787887822,"validated":0}]} 
[2026-07-15 16:22:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576465339328692224,"timestamp_seconds":576465339328692.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 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-07-15 16:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732816896001,"66":13319,"182":206,"87":13824,"24":7,"16":106615171484483584,"45":8779274917679122432},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-15 16:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732816896001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:22:36] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 16:22:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 16:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106615171484483584,"km_value":106615171484483.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779274917679122432,"description":"Unknown IO ID 45"} 
[2026-07-15 16:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732816896001,"power":13319,"unknown_182":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8779274917679122432}} 
[2026-07-15 16:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":132702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491735,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:22:36] local.INFO: GPS data processed {"connection_id":132702,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:22:36] local.INFO: Acknowledgment sent {"connection_id":132702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:22:38] local.INFO: TCP Data received {"connection_id":133540,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f6566c5f0012d7f9b8005afd770000c000630..."} 
[2026-07-15 16:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6566c5f0012d7f9b8005afd770000c000630..."} 
[2026-07-15 16:22:38] local.INFO: Processing buffer {"connection_id":133540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6566c5f0012d7f9b8005afd770000c000630..."} 
[2026-07-15 16:22:38] local.INFO: Packet analysis {"connection_id":133540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6566"} 
[2026-07-15 16:22:38] local.INFO: Extracted packet for processing {"connection_id":133540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6566"} 
[2026-07-15 16:22:38] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":12,"angle":6,"satellites":48,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732764416001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784112662000,"timestamp_ms":1784112662000,"timestamp_seconds":1784112662,"priority":1,"record_length":96,"hex_timestamp":"0000019f6566c5f0"} 
[2026-07-15 16:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-15 16:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732764416001,"66":25995,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732764416001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:22:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:22:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732764416001,"power":25995,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":133540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:22:38] local.INFO: GPS data processed {"connection_id":133540,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:22:38] local.INFO: Acknowledgment sent {"connection_id":133540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:22:49] local.INFO: TCP Data received {"connection_id":132517,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132517,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:22:49] local.INFO: Processing buffer {"connection_id":132517,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:22:49] local.INFO: IMEI packet received {"connection_id":132517,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 16:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":132517,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:22:50] local.INFO: TCP Data received {"connection_id":132518,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:22:50] local.INFO: Processing buffer {"connection_id":132518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:22:50] local.INFO: IMEI packet received {"connection_id":132518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":132518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:22:52] local.INFO: TCP Data received {"connection_id":132518,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:22:52] local.INFO: Processing buffer {"connection_id":132518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:22:52] local.INFO: IMEI packet received {"connection_id":132518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":132518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:22:55] local.INFO: TCP Data received {"connection_id":132518,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:22:55] local.INFO: Processing buffer {"connection_id":132518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:22:55] local.INFO: IMEI packet received {"connection_id":132518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":132518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:22:56] local.INFO: TCP Data received {"connection_id":132518,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f6567a498012d1952000720ab200028006226..."} 
[2026-07-15 16:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6567a498012d1952000720ab200028006226..."} 
[2026-07-15 16:22:56] local.INFO: Processing buffer {"connection_id":132518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6567a498012d1952000720ab200028006226..."} 
[2026-07-15 16:22:56] local.INFO: Packet analysis {"connection_id":132518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6567"} 
[2026-07-15 16:22:56] local.INFO: Extracted packet for processing {"connection_id":132518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6567"} 
[2026-07-15 16:22:56] local.INFO: GPS Element Parsed {"raw_longitude":756634112,"raw_latitude":119581472,"longitude_deg":75.6634112,"latitude_deg":11.9581472,"altitude":40,"angle":98,"satellites":38,"speed":39,"hex_longitude":"2d195200","hex_latitude":"0720ab20","is_valid_coordinates":true} 
[2026-07-15 16:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732856064001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6126113717747712,"note":"Value kept but may cause issues"} 
[2026-07-15 16:22:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824520829651329024,"note":"Value kept but may cause issues"} 
[2026-07-15 16:22:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784112719000,"timestamp_ms":1784112719000,"timestamp_seconds":1784112719,"priority":1,"record_length":96,"hex_timestamp":"0000019f6567a498"} 
[2026-07-15 16:22:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:22: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-07-15 16:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-15 16:22:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:22:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:22:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:22:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732856064001,"66":13993,"103":206,"83":41984,"24":39,"16":6126113717747712,"45":1824520829651329024},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 16:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732856064001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:22:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 16:22:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6126113717747712,"km_value":6126113717747.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:22:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824520829651329024,"description":"Unknown IO ID 45"} 
[2026-07-15 16:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732856064001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1824520829651329024}} 
[2026-07-15 16:22:56] local.INFO: DEBUG: GPS processor result {"connection_id":132518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:22:56] local.INFO: GPS data processed {"connection_id":132518,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:22:56] local.INFO: Acknowledgment sent {"connection_id":132518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:22:57] local.INFO: TCP Data received {"connection_id":132518,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f6567b438012d1961800720aad00025005525..."} 
[2026-07-15 16:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6567b438012d1961800720aad00025005525..."} 
[2026-07-15 16:22:57] local.INFO: Processing buffer {"connection_id":132518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6567b438012d1961800720aad00025005525..."} 
[2026-07-15 16:22:57] local.INFO: Packet analysis {"connection_id":132518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6567"} 
[2026-07-15 16:22:57] local.INFO: Extracted packet for processing {"connection_id":132518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6567"} 
[2026-07-15 16:22:57] local.INFO: GPS Element Parsed {"raw_longitude":756638080,"raw_latitude":119581392,"longitude_deg":75.663808,"latitude_deg":11.9581392,"altitude":37,"angle":85,"satellites":37,"speed":44,"hex_longitude":"2d196180","hex_latitude":"0720aad0","is_valid_coordinates":true} 
[2026-07-15 16:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732856064001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6126302696308736,"note":"Value kept but may cause issues"} 
[2026-07-15 16:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824520829651329024,"note":"Value kept but may cause issues"} 
[2026-07-15 16:22:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784112723000,"timestamp_ms":1784112723000,"timestamp_seconds":1784112723,"priority":1,"record_length":96,"hex_timestamp":"0000019f6567b438"} 
[2026-07-15 16:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:22:57] 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-07-15 16:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-15 16:22:57] 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-07-15 16:22:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":132518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":132518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":132518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:22:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732856064001,"66":14048,"103":206,"83":41984,"24":44,"16":6126302696308736,"45":1824520829651329024},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 16:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732856064001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:22:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 16:22:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6126302696308736,"km_value":6126302696308.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824520829651329024,"description":"Unknown IO ID 45"} 
[2026-07-15 16:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732856064001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1824520829651329024}} 
[2026-07-15 16:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":132518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:22:57] local.INFO: GPS data processed {"connection_id":132518,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:22:57] local.INFO: Acknowledgment sent {"connection_id":132518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:22:59] local.INFO: TCP Data received {"connection_id":133541,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133541,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:22:59] local.INFO: Processing buffer {"connection_id":133541,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:22:59] local.INFO: IMEI packet received {"connection_id":133541,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 16:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":133541,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:23:00] local.INFO: TCP Data received {"connection_id":132703,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:23:00] local.INFO: Processing buffer {"connection_id":132703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:23:00] local.INFO: IMEI packet received {"connection_id":132703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":132703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:23:04] local.INFO: TCP Data received {"connection_id":133541,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133541,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:23:04] local.INFO: Processing buffer {"connection_id":133541,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:23:04] local.INFO: IMEI packet received {"connection_id":133541,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":133541,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:23:05] local.INFO: TCP Data received {"connection_id":133541,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f656556c0012d79d74005e5c1b8000800a22c..."} 
[2026-07-15 16:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656556c0012d79d74005e5c1b8000800a22c..."} 
[2026-07-15 16:23:05] local.INFO: Processing buffer {"connection_id":133541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656556c0012d79d74005e5c1b8000800a22c..."} 
[2026-07-15 16:23:05] local.INFO: Packet analysis {"connection_id":133541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6565"} 
[2026-07-15 16:23:05] local.INFO: Extracted packet for processing {"connection_id":133541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6565"} 
[2026-07-15 16:23:05] local.INFO: GPS Element Parsed {"raw_longitude":762959680,"raw_latitude":98943416,"longitude_deg":76.295968,"latitude_deg":9.8943416,"altitude":8,"angle":162,"satellites":44,"speed":10,"hex_longitude":"2d79d740","hex_latitude":"05e5c1b8","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732817152001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106615180074418176,"note":"Value kept but may cause issues"} 
[2026-07-15 16:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779486023911634944,"note":"Value kept but may cause issues"} 
[2026-07-15 16:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784112568000,"timestamp_ms":1784112568000,"timestamp_seconds":1784112568,"priority":1,"record_length":96,"hex_timestamp":"0000019f656556c0"} 
[2026-07-15 16:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-15 16:23:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 16:23:05] local.WARNING: Large IO value detected {"io_id":197,"raw_value":3741319168,"note":"Value kept but may cause issues"} 
[2026-07-15 16:23:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-15 16:23:05] local.WARNING: Large IO value detected {"io_id":229,"raw_value":6681090081586686976,"note":"Value kept but may cause issues"} 
[2026-07-15 16:23:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1787887822,"corrected_to":0} 
[2026-07-15 16:23:05] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607154026,"note":"Value kept but may cause issues"} 
[2026-07-15 16:23:05] local.WARNING: Large IO value detected {"io_id":122,"raw_value":3313893376,"note":"Value kept but may cause issues"} 
[2026-07-15 16:23:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3850383360,"note":"Value kept but may cause issues"} 
[2026-07-15 16:23:05] local.WARNING: Large IO value detected {"io_id":198,"raw_value":57819541242009392,"note":"Value kept but may cause issues"} 
[2026-07-15 16:23:05] local.WARNING: Large IO value detected {"io_id":99,"raw_value":-1760906159471722491,"note":"Value kept but may cause issues"} 
[2026-07-15 16:23:05] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,182,87,24,241,157,16,197,159,78,45,64,194,8,44,10,66,252,128,196,9,43,170,192,1,240,254,227,101,229,4,113,205,29,73,213,40,239,50,145,2,122,5,198,99],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1787887822,"validated":0}]} 
[2026-07-15 16:23:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576611574375448576,"timestamp_seconds":576611574375448.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 16:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":133541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":133541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":133541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732817152001,"66":13222,"182":206,"87":13824,"24":10,"16":106615180074418176,"45":8779486023911634944},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-15 16:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732817152001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:23:05] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 16:23:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 16:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106615180074418176,"km_value":106615180074418.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779486023911634944,"description":"Unknown IO ID 45"} 
[2026-07-15 16:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732817152001,"power":13222,"unknown_182":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8779486023911634944}} 
[2026-07-15 16:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":133541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491739,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:23:05] local.INFO: GPS data processed {"connection_id":133541,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:23:05] local.INFO: Acknowledgment sent {"connection_id":133541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:23:06] local.INFO: TCP Data received {"connection_id":132703,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:23:06] local.INFO: Processing buffer {"connection_id":132703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:23:06] local.INFO: IMEI packet received {"connection_id":132703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":132703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:23:06] local.INFO: TCP Data received {"connection_id":132703,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f6566c5f0012d7f9b8005afd770000c000630..."} 
[2026-07-15 16:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6566c5f0012d7f9b8005afd770000c000630..."} 
[2026-07-15 16:23:06] local.INFO: Processing buffer {"connection_id":132703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6566c5f0012d7f9b8005afd770000c000630..."} 
[2026-07-15 16:23:06] local.INFO: Packet analysis {"connection_id":132703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6566"} 
[2026-07-15 16:23:06] local.INFO: Extracted packet for processing {"connection_id":132703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6566"} 
[2026-07-15 16:23:06] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":12,"angle":6,"satellites":48,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732764416001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784112662000,"timestamp_ms":1784112662000,"timestamp_seconds":1784112662,"priority":1,"record_length":96,"hex_timestamp":"0000019f6566c5f0"} 
[2026-07-15 16:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-15 16:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732764416001,"66":25995,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732764416001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:23:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:23:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732764416001,"power":25995,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":132703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:23:06] local.INFO: GPS data processed {"connection_id":132703,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:23:06] local.INFO: Acknowledgment sent {"connection_id":132703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:23:28] local.INFO: TCP Data received {"connection_id":132518,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f6567c7c0012d1976400720aed80020004727..."} 
[2026-07-15 16:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6567c7c0012d1976400720aed80020004727..."} 
[2026-07-15 16:23:28] local.INFO: Processing buffer {"connection_id":132518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6567c7c0012d1976400720aed80020004727..."} 
[2026-07-15 16:23:28] local.INFO: Packet analysis {"connection_id":132518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6567"} 
[2026-07-15 16:23:28] local.INFO: Extracted packet for processing {"connection_id":132518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6567"} 
[2026-07-15 16:23:28] local.INFO: GPS Element Parsed {"raw_longitude":756643392,"raw_latitude":119582424,"longitude_deg":75.6643392,"latitude_deg":11.9582424,"altitude":32,"angle":71,"satellites":39,"speed":42,"hex_longitude":"2d197640","hex_latitude":"0720aed8","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732857088001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6126560394346496,"note":"Value kept but may cause issues"} 
[2026-07-15 16:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828883691790323712,"note":"Value kept but may cause issues"} 
[2026-07-15 16:23:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784112728000,"timestamp_ms":1784112728000,"timestamp_seconds":1784112728,"priority":1,"record_length":96,"hex_timestamp":"0000019f6567c7c0"} 
[2026-07-15 16:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:23:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-15 16:23:28] 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-07-15 16: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-07-15 16:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:23:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732857088001,"66":13928,"103":206,"83":41984,"24":42,"16":6126560394346496,"45":1828883691790323712},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 16:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732857088001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:23:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 16:23:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6126560394346496,"km_value":6126560394346.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828883691790323712,"description":"Unknown IO ID 45"} 
[2026-07-15 16:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732857088001,"power":13928,"unknown_103":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1828883691790323712}} 
[2026-07-15 16:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":132518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:23:29] local.INFO: GPS data processed {"connection_id":132518,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:23:29] local.INFO: Acknowledgment sent {"connection_id":132518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:23:34] local.INFO: TCP Data received {"connection_id":134909,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134909,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:23:34] local.INFO: Processing buffer {"connection_id":134909,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:23:34] local.INFO: IMEI packet received {"connection_id":134909,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 16:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":134909,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:23:36] local.INFO: TCP Data received {"connection_id":133541,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f65655aa8012d79d78005e5c0d8000800af2c..."} 
[2026-07-15 16:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65655aa8012d79d78005e5c0d8000800af2c..."} 
[2026-07-15 16:23:36] local.INFO: Processing buffer {"connection_id":133541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65655aa8012d79d78005e5c0d8000800af2c..."} 
[2026-07-15 16:23:36] local.INFO: Packet analysis {"connection_id":133541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6565"} 
[2026-07-15 16:23:36] local.INFO: Extracted packet for processing {"connection_id":133541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6565"} 
[2026-07-15 16:23:36] local.INFO: GPS Element Parsed {"raw_longitude":762959744,"raw_latitude":98943192,"longitude_deg":76.2959744,"latitude_deg":9.8943192,"altitude":8,"angle":175,"satellites":44,"speed":8,"hex_longitude":"2d79d780","hex_latitude":"05e5c0d8","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732817408001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106615188664352768,"note":"Value kept but may cause issues"} 
[2026-07-15 16:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779556392655763456,"note":"Value kept but may cause issues"} 
[2026-07-15 16:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784112569000,"timestamp_ms":1784112569000,"timestamp_seconds":1784112569,"priority":1,"record_length":96,"hex_timestamp":"0000019f65655aa8"} 
[2026-07-15 16:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-15 16:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16: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-07-15 16:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":133541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":133541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":133541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732817408001,"66":13222,"182":206,"87":13824,"24":8,"16":106615188664352768,"45":8779556392655763456},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-15 16:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732817408001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:23:36] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 16:23:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 16:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106615188664352768,"km_value":106615188664352.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779556392655763456,"description":"Unknown IO ID 45"} 
[2026-07-15 16:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732817408001,"power":13222,"unknown_182":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8779556392655763456}} 
[2026-07-15 16:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":133541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491742,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:23:36] local.INFO: GPS data processed {"connection_id":133541,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:23:36] local.INFO: Acknowledgment sent {"connection_id":133541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:23:40] local.INFO: TCP Data received {"connection_id":132703,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f6566c5f0012d7f9b8005afd770000c000630..."} 
[2026-07-15 16:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6566c5f0012d7f9b8005afd770000c000630..."} 
[2026-07-15 16:23:40] local.INFO: Processing buffer {"connection_id":132703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6566c5f0012d7f9b8005afd770000c000630..."} 
[2026-07-15 16:23:40] local.INFO: Packet analysis {"connection_id":132703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6566"} 
[2026-07-15 16:23:40] local.INFO: Extracted packet for processing {"connection_id":132703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6566"} 
[2026-07-15 16:23:40] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":12,"angle":6,"satellites":48,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 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-07-15 16:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732764416001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:23:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:23:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784112662000,"timestamp_ms":1784112662000,"timestamp_seconds":1784112662,"priority":1,"record_length":96,"hex_timestamp":"0000019f6566c5f0"} 
[2026-07-15 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-07-15 16:23:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-15 16:23:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 16:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:23:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732764416001,"66":25995,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732764416001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:23:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:23:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:23:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732764416001,"power":25995,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":132703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:23:40] local.INFO: GPS data processed {"connection_id":132703,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:23:40] local.INFO: Acknowledgment sent {"connection_id":132703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:23:49] local.INFO: TCP Data received {"connection_id":134910,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:23:49] local.INFO: Processing buffer {"connection_id":134910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:23:49] local.INFO: IMEI packet received {"connection_id":134910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":134910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:23:50] local.INFO: TCP Data received {"connection_id":134910,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:23:50] local.INFO: Processing buffer {"connection_id":134910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:23:50] local.INFO: IMEI packet received {"connection_id":134910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":134910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:23:51] local.INFO: TCP Data received {"connection_id":134910,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:23:51] local.INFO: Processing buffer {"connection_id":134910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:23:51] local.INFO: IMEI packet received {"connection_id":134910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":134910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:23:52] local.INFO: TCP Data received {"connection_id":134910,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:23:52] local.INFO: Processing buffer {"connection_id":134910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:23:52] local.INFO: IMEI packet received {"connection_id":134910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":134910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:23:57] local.INFO: TCP Data received {"connection_id":132520,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132520,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:23:57] local.INFO: Processing buffer {"connection_id":132520,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:23:57] local.INFO: IMEI packet received {"connection_id":132520,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 16:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":132520,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:23:58] local.INFO: TCP Data received {"connection_id":132520,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f6568b608012d0dcc800706f4680021000d1e..."} 
[2026-07-15 16:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6568b608012d0dcc800706f4680021000d1e..."} 
[2026-07-15 16:23:58] local.INFO: Processing buffer {"connection_id":132520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6568b608012d0dcc800706f4680021000d1e..."} 
[2026-07-15 16:23:58] local.INFO: Packet analysis {"connection_id":132520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6568"} 
[2026-07-15 16:23:58] local.INFO: Extracted packet for processing {"connection_id":132520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6568"} 
[2026-07-15 16:23:58] local.INFO: GPS Element Parsed {"raw_longitude":755879040,"raw_latitude":117896296,"longitude_deg":75.587904,"latitude_deg":11.7896296,"altitude":33,"angle":13,"satellites":30,"speed":16,"hex_longitude":"2d0dcc80","hex_latitude":"0706f468","is_valid_coordinates":true} 
[2026-07-15 16:23: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-07-15 16:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732873216001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24706382758412288,"note":"Value kept but may cause issues"} 
[2026-07-15 16:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":994169647923142656,"note":"Value kept but may cause issues"} 
[2026-07-15 16:23:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784112789000,"timestamp_ms":1784112789000,"timestamp_seconds":1784112789,"priority":1,"record_length":96,"hex_timestamp":"0000019f6568b608"} 
[2026-07-15 16:23:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:23:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-15 16:23:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16: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-07-15 16:23:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":132520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":132520,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":132520,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:23:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732873216001,"66":14450,"219":206,"94":10240,"24":16,"16":24706382758412288,"45":994169647923142656},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-15 16:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732873216001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:23:58] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-15 16:23:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 16:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24706382758412288,"km_value":24706382758412.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":994169647923142656,"description":"Unknown IO ID 45"} 
[2026-07-15 16:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732873216001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":994169647923142656}} 
[2026-07-15 16:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":132520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491744,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:23:58] local.INFO: GPS data processed {"connection_id":132520,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:23:58] local.INFO: Acknowledgment sent {"connection_id":132520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:23:59] local.INFO: TCP Data received {"connection_id":133542,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133542,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:23:59] local.INFO: Processing buffer {"connection_id":133542,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:23:59] local.INFO: IMEI packet received {"connection_id":133542,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 16:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":133542,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:24:04] local.INFO: TCP Data received {"connection_id":133542,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133542,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:24:04] local.INFO: Processing buffer {"connection_id":133542,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:24:04] local.INFO: IMEI packet received {"connection_id":133542,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":133542,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:24:05] local.INFO: TCP Data received {"connection_id":133542,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f6565a8c8012d79d80005e5bbb8000900aa2c..."} 
[2026-07-15 16:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6565a8c8012d79d80005e5bbb8000900aa2c..."} 
[2026-07-15 16:24:05] local.INFO: Processing buffer {"connection_id":133542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6565a8c8012d79d80005e5bbb8000900aa2c..."} 
[2026-07-15 16:24:05] local.INFO: Packet analysis {"connection_id":133542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6565"} 
[2026-07-15 16:24:05] local.INFO: Extracted packet for processing {"connection_id":133542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6565"} 
[2026-07-15 16:24:05] local.INFO: GPS Element Parsed {"raw_longitude":762959872,"raw_latitude":98941880,"longitude_deg":76.2959872,"latitude_deg":9.894188,"altitude":9,"angle":170,"satellites":44,"speed":0,"hex_longitude":"2d79d800","hex_latitude":"05e5bbb8","is_valid_coordinates":true} 
[2026-07-15 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-07-15 16:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732817664001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106615261678796800,"note":"Value kept but may cause issues"} 
[2026-07-15 16:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779626761399883776,"note":"Value kept but may cause issues"} 
[2026-07-15 16:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784112589000,"timestamp_ms":1784112589000,"timestamp_seconds":1784112589,"priority":1,"record_length":96,"hex_timestamp":"0000019f6565a8c8"} 
[2026-07-15 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-07-15 16:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-15 16:24:05] 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-07-15 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-07-15 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-07-15 16:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":133542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":133542,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":133542,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732817664001,"66":13059,"182":206,"87":13824,"24":0,"16":106615261678796800,"45":8779626761399883776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-15 16:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732817664001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:24:05] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 16:24:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 16:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106615261678796800,"km_value":106615261678796.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779626761399883776,"description":"Unknown IO ID 45"} 
[2026-07-15 16:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732817664001,"power":13059,"unknown_182":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8779626761399883776}} 
[2026-07-15 16:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":133542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491745,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:24:05] local.INFO: GPS data processed {"connection_id":133542,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:24:05] local.INFO: Acknowledgment sent {"connection_id":133542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:24:06] local.INFO: TCP Data received {"connection_id":132521,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:24:06] local.INFO: Processing buffer {"connection_id":132521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:24:06] local.INFO: IMEI packet received {"connection_id":132521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":132521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:24:11] local.INFO: TCP Data received {"connection_id":132521,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:24:11] local.INFO: Processing buffer {"connection_id":132521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:24:11] local.INFO: IMEI packet received {"connection_id":132521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":132521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:24:11] local.INFO: TCP Data received {"connection_id":132521,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f6566c5f0012d7f9b8005afd770000c000630..."} 
[2026-07-15 16:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6566c5f0012d7f9b8005afd770000c000630..."} 
[2026-07-15 16:24:11] local.INFO: Processing buffer {"connection_id":132521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6566c5f0012d7f9b8005afd770000c000630..."} 
[2026-07-15 16:24:11] local.INFO: Packet analysis {"connection_id":132521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6566"} 
[2026-07-15 16:24:11] local.INFO: Extracted packet for processing {"connection_id":132521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6566"} 
[2026-07-15 16:24:11] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":12,"angle":6,"satellites":48,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732764416001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784112662000,"timestamp_ms":1784112662000,"timestamp_seconds":1784112662,"priority":1,"record_length":96,"hex_timestamp":"0000019f6566c5f0"} 
[2026-07-15 16:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-15 16:24:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:24:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732764416001,"66":25995,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732764416001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:24:11] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:24:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732764416001,"power":25995,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":132521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:24:12] local.INFO: GPS data processed {"connection_id":132521,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:24:12] local.INFO: Acknowledgment sent {"connection_id":132521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:24:16] local.INFO: TCP Data received {"connection_id":132521,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f6566c5f0012d7f9b8005afd770000c000630..."} 
[2026-07-15 16:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6566c5f0012d7f9b8005afd770000c000630..."} 
[2026-07-15 16:24:16] local.INFO: Processing buffer {"connection_id":132521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6566c5f0012d7f9b8005afd770000c000630..."} 
[2026-07-15 16:24:16] local.INFO: Packet analysis {"connection_id":132521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6566"} 
[2026-07-15 16:24:16] local.INFO: Extracted packet for processing {"connection_id":132521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6566"} 
[2026-07-15 16:24:16] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":12,"angle":6,"satellites":48,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732764416001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:24:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784112662000,"timestamp_ms":1784112662000,"timestamp_seconds":1784112662,"priority":1,"record_length":96,"hex_timestamp":"0000019f6566c5f0"} 
[2026-07-15 16:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-15 16:24:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:24:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732764416001,"66":25995,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732764416001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:24:16] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:24:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732764416001,"power":25995,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":132521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:24:16] local.INFO: GPS data processed {"connection_id":132521,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:24:16] local.INFO: Acknowledgment sent {"connection_id":132521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:24:29] local.INFO: TCP Data received {"connection_id":132520,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f6568c1c0012d0dce400706f940002100221f..."} 
[2026-07-15 16:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6568c1c0012d0dce400706f940002100221f..."} 
[2026-07-15 16:24:29] local.INFO: Processing buffer {"connection_id":132520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6568c1c0012d0dce400706f940002100221f..."} 
[2026-07-15 16:24:29] local.INFO: Packet analysis {"connection_id":132520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6568"} 
[2026-07-15 16:24:29] local.INFO: Extracted packet for processing {"connection_id":132520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6568"} 
[2026-07-15 16:24:29] local.INFO: GPS Element Parsed {"raw_longitude":755879488,"raw_latitude":117897536,"longitude_deg":75.5879488,"latitude_deg":11.7897536,"altitude":33,"angle":34,"satellites":31,"speed":18,"hex_longitude":"2d0dce40","hex_latitude":"0706f940","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732873984001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24706447182921728,"note":"Value kept but may cause issues"} 
[2026-07-15 16:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":994310385411844096,"note":"Value kept but may cause issues"} 
[2026-07-15 16:24:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784112792000,"timestamp_ms":1784112792000,"timestamp_seconds":1784112792,"priority":1,"record_length":96,"hex_timestamp":"0000019f6568c1c0"} 
[2026-07-15 16:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:24:29] 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-07-15 16: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-15 16:24:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16: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-07-15 16:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":132520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":132520,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":132520,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:24:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732873984001,"66":14450,"219":206,"94":10240,"24":18,"16":24706447182921728,"45":994310385411844096},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-15 16:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732873984001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:24:29] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-15 16:24:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 16:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24706447182921728,"km_value":24706447182921.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":994310385411844096,"description":"Unknown IO ID 45"} 
[2026-07-15 16:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732873984001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":994310385411844096}} 
[2026-07-15 16:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":132520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491748,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:24:29] local.INFO: GPS data processed {"connection_id":132520,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:24:29] local.INFO: Acknowledgment sent {"connection_id":132520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:24:36] local.INFO: TCP Data received {"connection_id":133542,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f6565a8c8012d79d80005e5bbb8000900aa2c..."} 
[2026-07-15 16:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6565a8c8012d79d80005e5bbb8000900aa2c..."} 
[2026-07-15 16:24:36] local.INFO: Processing buffer {"connection_id":133542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6565a8c8012d79d80005e5bbb8000900aa2c..."} 
[2026-07-15 16:24:36] local.INFO: Packet analysis {"connection_id":133542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6565"} 
[2026-07-15 16:24:36] local.INFO: Extracted packet for processing {"connection_id":133542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6565"} 
[2026-07-15 16:24:36] local.INFO: GPS Element Parsed {"raw_longitude":762959872,"raw_latitude":98941880,"longitude_deg":76.2959872,"latitude_deg":9.894188,"altitude":9,"angle":170,"satellites":44,"speed":0,"hex_longitude":"2d79d800","hex_latitude":"05e5bbb8","is_valid_coordinates":true} 
[2026-07-15 16:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732822784001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106615261678796800,"note":"Value kept but may cause issues"} 
[2026-07-15 16:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779767498887903232,"note":"Value kept but may cause issues"} 
[2026-07-15 16:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784112589000,"timestamp_ms":1784112589000,"timestamp_seconds":1784112589,"priority":1,"record_length":96,"hex_timestamp":"0000019f6565a8c8"} 
[2026-07-15 16:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-15 16:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303158634007858,"note":"Value kept but may cause issues"} 
[2026-07-15 16:24:36] local.WARNING: Large IO value detected {"io_id":182,"raw_value":58079734643818496,"note":"Value kept but may cause issues"} 
[2026-07-15 16:24:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 16:24:36] local.WARNING: Large IO value detected {"io_id":197,"raw_value":4009754624,"note":"Value kept but may cause issues"} 
[2026-07-15 16:24:36] local.WARNING: Large IO value detected {"io_id":229,"raw_value":3267887112,"note":"Value kept but may cause issues"} 
[2026-07-15 16:24:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":850788558,"corrected_to":0} 
[2026-07-15 16:24:36] local.WARNING: Large IO value detected {"io_id":252,"raw_value":3892391289,"note":"Value kept but may cause issues"} 
[2026-07-15 16:24:36] local.WARNING: Large IO value detected {"io_id":214,"raw_value":2147870148,"note":"Value kept but may cause issues"} 
[2026-07-15 16:24:36] local.WARNING: Large IO value detected {"io_id":122,"raw_value":3320250368,"note":"Value kept but may cause issues"} 
[2026-07-15 16:24:36] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,182,87,24,241,157,16,198,159,90,45,128,192,8,44,10,66,197,86,64,193,82,1,240,7,227,101,229,4,113,205,3,252,214,43,239,50,2,122,5],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":850788558,"validated":0}]} 
[2026-07-15 16:24:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648705452296634368,"timestamp_seconds":648705452296634.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 16:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":133542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":133542,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":133542,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732822784001,"66":12874,"182":206,"87":13824,"24":0,"16":106615261678796800,"45":8779767498887903232},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-15 16:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732822784001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:24:36] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 16:24:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 16:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106615261678796800,"km_value":106615261678796.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779767498887903232,"description":"Unknown IO ID 45"} 
[2026-07-15 16:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732822784001,"power":12874,"unknown_182":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8779767498887903232}} 
[2026-07-15 16:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":133542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491749,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:24:36] local.INFO: GPS data processed {"connection_id":133542,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:24:36] local.INFO: Acknowledgment sent {"connection_id":133542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:24:53] local.INFO: TCP Data received {"connection_id":133543,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133543,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:24:53] local.INFO: Processing buffer {"connection_id":133543,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:24:53] local.INFO: IMEI packet received {"connection_id":133543,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 16:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":133543,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:24:56] local.INFO: TCP Data received {"connection_id":133543,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133543,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:24:56] local.INFO: Processing buffer {"connection_id":133543,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:24:56] local.INFO: IMEI packet received {"connection_id":133543,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 16:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":133543,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:24:57] local.INFO: TCP Data received {"connection_id":133543,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f6568c5a8012d0dcf400706fa600021002e1f..."} 
[2026-07-15 16:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6568c5a8012d0dcf400706fa600021002e1f..."} 
[2026-07-15 16:24:57] local.INFO: Processing buffer {"connection_id":133543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6568c5a8012d0dcf400706fa600021002e1f..."} 
[2026-07-15 16:24:57] local.INFO: Packet analysis {"connection_id":133543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6568"} 
[2026-07-15 16:24:57] local.INFO: Extracted packet for processing {"connection_id":133543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6568"} 
[2026-07-15 16:24:57] local.INFO: GPS Element Parsed {"raw_longitude":755879744,"raw_latitude":117897824,"longitude_deg":75.5879744,"latitude_deg":11.7897824,"altitude":33,"angle":46,"satellites":31,"speed":15,"hex_longitude":"2d0dcf40","hex_latitude":"0706fa60","is_valid_coordinates":true} 
[2026-07-15 16:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732874752001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24706464362790912,"note":"Value kept but may cause issues"} 
[2026-07-15 16:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":994802966621405184,"note":"Value kept but may cause issues"} 
[2026-07-15 16:24:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784112793000,"timestamp_ms":1784112793000,"timestamp_seconds":1784112793,"priority":1,"record_length":96,"hex_timestamp":"0000019f6568c5a8"} 
[2026-07-15 16:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:24:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-15 16:24:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:24:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":133543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":133543,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":133543,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:24:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732874752001,"66":14439,"219":206,"94":10240,"24":15,"16":24706464362790912,"45":994802966621405184},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-15 16:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732874752001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:24:57] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-15 16:24:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 16:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24706464362790912,"km_value":24706464362790.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":994802966621405184,"description":"Unknown IO ID 45"} 
[2026-07-15 16:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732874752001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":994802966621405184}} 
[2026-07-15 16:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":133543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491750,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:24:57] local.INFO: GPS data processed {"connection_id":133543,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:24:57] local.INFO: Acknowledgment sent {"connection_id":133543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:25:01] local.INFO: TCP Data received {"connection_id":134911,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:25:01] local.INFO: Processing buffer {"connection_id":134911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:25:01] local.INFO: IMEI packet received {"connection_id":134911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":134911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:25:04] local.INFO: TCP Data received {"connection_id":132525,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132525,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:25:04] local.INFO: Processing buffer {"connection_id":132525,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:25:04] local.INFO: IMEI packet received {"connection_id":132525,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 16:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":132525,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:25:06] local.INFO: TCP Data received {"connection_id":134911,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:25:06] local.INFO: Processing buffer {"connection_id":134911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:25:06] local.INFO: IMEI packet received {"connection_id":134911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":134911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:25:07] local.INFO: TCP Data received {"connection_id":134911,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f6566c5f0012d7f9b8005afd770000c000630..."} 
[2026-07-15 16:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6566c5f0012d7f9b8005afd770000c000630..."} 
[2026-07-15 16:25:07] local.INFO: Processing buffer {"connection_id":134911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6566c5f0012d7f9b8005afd770000c000630..."} 
[2026-07-15 16:25:07] local.INFO: Packet analysis {"connection_id":134911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6566"} 
[2026-07-15 16:25:07] local.INFO: Extracted packet for processing {"connection_id":134911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6566"} 
[2026-07-15 16:25:07] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":12,"angle":6,"satellites":48,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732764416001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784112662000,"timestamp_ms":1784112662000,"timestamp_seconds":1784112662,"priority":1,"record_length":96,"hex_timestamp":"0000019f6566c5f0"} 
[2026-07-15 16:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-15 16:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732764416001,"66":25995,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732764416001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:25:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:25:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732764416001,"power":25995,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":134911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:25:07] local.INFO: GPS data processed {"connection_id":134911,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:25:07] local.INFO: Acknowledgment sent {"connection_id":134911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:25:09] local.INFO: TCP Data received {"connection_id":132525,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132525,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:25:09] local.INFO: Processing buffer {"connection_id":132525,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:25:09] local.INFO: IMEI packet received {"connection_id":132525,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":132525,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:25:10] local.INFO: TCP Data received {"connection_id":132525,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f6565a8c8012d79d80005e5bbb8000900aa2c..."} 
[2026-07-15 16:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6565a8c8012d79d80005e5bbb8000900aa2c..."} 
[2026-07-15 16:25:10] local.INFO: Processing buffer {"connection_id":132525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6565a8c8012d79d80005e5bbb8000900aa2c..."} 
[2026-07-15 16:25:10] local.INFO: Packet analysis {"connection_id":132525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6565"} 
[2026-07-15 16:25:10] local.INFO: Extracted packet for processing {"connection_id":132525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6565"} 
[2026-07-15 16:25:10] local.INFO: GPS Element Parsed {"raw_longitude":762959872,"raw_latitude":98941880,"longitude_deg":76.2959872,"latitude_deg":9.894188,"altitude":9,"angle":170,"satellites":44,"speed":0,"hex_longitude":"2d79d800","hex_latitude":"05e5bbb8","is_valid_coordinates":true} 
[2026-07-15 16:25:10] 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-07-15 16:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732822784001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106615261678796800,"note":"Value kept but may cause issues"} 
[2026-07-15 16:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779767498887903232,"note":"Value kept but may cause issues"} 
[2026-07-15 16:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784112589000,"timestamp_ms":1784112589000,"timestamp_seconds":1784112589,"priority":1,"record_length":96,"hex_timestamp":"0000019f6565a8c8"} 
[2026-07-15 16:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-07-15 16:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":132525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":132525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":132525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732822784001,"66":12874,"182":206,"87":13824,"24":0,"16":106615261678796800,"45":8779767498887903232},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-15 16:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732822784001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:25:10] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 16:25:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 16:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106615261678796800,"km_value":106615261678796.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779767498887903232,"description":"Unknown IO ID 45"} 
[2026-07-15 16:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732822784001,"power":12874,"unknown_182":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8779767498887903232}} 
[2026-07-15 16:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":132525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491752,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:25:10] local.INFO: GPS data processed {"connection_id":132525,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:25:10] local.INFO: Acknowledgment sent {"connection_id":132525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:25:28] local.INFO: TCP Data received {"connection_id":133543,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f656a7740012d0dfe40070707e0002200fb20..."} 
[2026-07-15 16:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656a7740012d0dfe40070707e0002200fb20..."} 
[2026-07-15 16:25:28] local.INFO: Processing buffer {"connection_id":133543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656a7740012d0dfe40070707e0002200fb20..."} 
[2026-07-15 16:25:28] local.INFO: Packet analysis {"connection_id":133543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656a"} 
[2026-07-15 16:25:28] local.INFO: Extracted packet for processing {"connection_id":133543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656a"} 
[2026-07-15 16:25:28] local.INFO: GPS Element Parsed {"raw_longitude":755891776,"raw_latitude":117901280,"longitude_deg":75.5891776,"latitude_deg":11.790128,"altitude":34,"angle":251,"satellites":32,"speed":1,"hex_longitude":"2d0dfe40","hex_latitude":"070707e0","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732900864001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24707168737427456,"note":"Value kept but may cause issues"} 
[2026-07-15 16:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1008876715457878016,"note":"Value kept but may cause issues"} 
[2026-07-15 16:25:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784112904000,"timestamp_ms":1784112904000,"timestamp_seconds":1784112904,"priority":1,"record_length":96,"hex_timestamp":"0000019f656a7740"} 
[2026-07-15 16:25:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:25:28] 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-07-15 16: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":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-15 16:25:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16: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-07-15 16:25:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":133543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":133543,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":133543,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:25:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732900864001,"66":14559,"219":206,"94":10240,"24":1,"16":24707168737427456,"45":1008876715457878016},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-15 16:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732900864001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:25:28] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-15 16:25:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 16:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24707168737427456,"km_value":24707168737427.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1008876715457878016,"description":"Unknown IO ID 45"} 
[2026-07-15 16:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732900864001,"power":14559,"unknown_219":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":1008876715457878016}} 
[2026-07-15 16:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":133543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491753,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:25:28] local.INFO: GPS data processed {"connection_id":133543,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:25:28] local.INFO: Acknowledgment sent {"connection_id":133543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:25:40] local.INFO: TCP Data received {"connection_id":134911,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f6566c5f0012d7f9b8005afd770000c000630..."} 
[2026-07-15 16:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6566c5f0012d7f9b8005afd770000c000630..."} 
[2026-07-15 16:25:40] local.INFO: Processing buffer {"connection_id":134911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6566c5f0012d7f9b8005afd770000c000630..."} 
[2026-07-15 16:25:40] local.INFO: Packet analysis {"connection_id":134911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6566"} 
[2026-07-15 16:25:40] local.INFO: Extracted packet for processing {"connection_id":134911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6566"} 
[2026-07-15 16:25:40] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":12,"angle":6,"satellites":48,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:25:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732764416001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:25:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:25:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:25:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:25:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784112662000,"timestamp_ms":1784112662000,"timestamp_seconds":1784112662,"priority":1,"record_length":96,"hex_timestamp":"0000019f6566c5f0"} 
[2026-07-15 16:25:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:25:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-15 16:25:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:25:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:25:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:25:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:25:40] local.INFO: Teltonika packet parsed successfully {"connection_id":134911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:25:40] local.INFO: Passing IMEI to GPS processor {"connection_id":134911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:25:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":134911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:25:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:25:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:25:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:25:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732764416001,"66":25995,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:25:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:25:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:25:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732764416001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:25:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:25:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:25:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:25:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:25:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732764416001,"power":25995,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":134911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:25:40] local.INFO: GPS data processed {"connection_id":134911,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:25:40] local.INFO: Acknowledgment sent {"connection_id":134911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:25:41] local.INFO: TCP Data received {"connection_id":132525,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f6565b480012d79d80005e5bbb8000900aa2c..."} 
[2026-07-15 16:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6565b480012d79d80005e5bbb8000900aa2c..."} 
[2026-07-15 16:25:41] local.INFO: Processing buffer {"connection_id":132525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6565b480012d79d80005e5bbb8000900aa2c..."} 
[2026-07-15 16:25:41] local.INFO: Packet analysis {"connection_id":132525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6565"} 
[2026-07-15 16:25:41] local.INFO: Extracted packet for processing {"connection_id":132525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6565"} 
[2026-07-15 16:25:41] local.INFO: GPS Element Parsed {"raw_longitude":762959872,"raw_latitude":98941880,"longitude_deg":76.2959872,"latitude_deg":9.894188,"altitude":9,"angle":170,"satellites":44,"speed":0,"hex_longitude":"2d79d800","hex_latitude":"05e5bbb8","is_valid_coordinates":true} 
[2026-07-15 16:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732822784001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106615261678796800,"note":"Value kept but may cause issues"} 
[2026-07-15 16:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779767498887903232,"note":"Value kept but may cause issues"} 
[2026-07-15 16:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784112592000,"timestamp_ms":1784112592000,"timestamp_seconds":1784112592,"priority":1,"record_length":96,"hex_timestamp":"0000019f6565b480"} 
[2026-07-15 16:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-07-15 16:25:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732822784001,"66":12613,"182":206,"87":13824,"24":0,"16":106615261678796800,"45":8779767498887903232},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-15 16:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732822784001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:25:41] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 16:25:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 16:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106615261678796800,"km_value":106615261678796.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779767498887903232,"description":"Unknown IO ID 45"} 
[2026-07-15 16:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732822784001,"power":12613,"unknown_182":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8779767498887903232}} 
[2026-07-15 16:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":132525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491755,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:25:41] local.INFO: GPS data processed {"connection_id":132525,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:25:41] local.INFO: Acknowledgment sent {"connection_id":132525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:25:51] local.INFO: TCP Data received {"connection_id":132705,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132705,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:25:51] local.INFO: Processing buffer {"connection_id":132705,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:25:51] local.INFO: IMEI packet received {"connection_id":132705,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 16:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":132705,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:25:57] local.INFO: TCP Data received {"connection_id":132705,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132705,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:25:57] local.INFO: Processing buffer {"connection_id":132705,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:25:57] local.INFO: IMEI packet received {"connection_id":132705,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 16:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":132705,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:25:57] local.INFO: TCP Data received {"connection_id":132705,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f656a7f10012d0dfe00070707c8002200ed20..."} 
[2026-07-15 16:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656a7f10012d0dfe00070707c8002200ed20..."} 
[2026-07-15 16:25:57] local.INFO: Processing buffer {"connection_id":132705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656a7f10012d0dfe00070707c8002200ed20..."} 
[2026-07-15 16:25:57] local.INFO: Packet analysis {"connection_id":132705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656a"} 
[2026-07-15 16:25:57] local.INFO: Extracted packet for processing {"connection_id":132705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656a"} 
[2026-07-15 16:25:57] local.INFO: GPS Element Parsed {"raw_longitude":755891712,"raw_latitude":117901256,"longitude_deg":75.5891712,"latitude_deg":11.7901256,"altitude":34,"angle":237,"satellites":32,"speed":1,"hex_longitude":"2d0dfe00","hex_latitude":"070707c8","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:25:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732903424001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:25:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24707173032394752,"note":"Value kept but may cause issues"} 
[2026-07-15 16:25:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1008313765504475136,"note":"Value kept but may cause issues"} 
[2026-07-15 16:25:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:25:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784112906000,"timestamp_ms":1784112906000,"timestamp_seconds":1784112906,"priority":1,"record_length":96,"hex_timestamp":"0000019f656a7f10"} 
[2026-07-15 16:25:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:25:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-15 16:25:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16: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-07-15 16:25:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:25:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:25:57] local.INFO: Teltonika packet parsed successfully {"connection_id":132705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:25:57] local.INFO: Passing IMEI to GPS processor {"connection_id":132705,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:25:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":132705,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:25:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:25:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:25:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:25:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732903424001,"66":14309,"219":206,"94":10240,"24":1,"16":24707173032394752,"45":1008313765504475136},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-15 16:25:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:25:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:25:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732903424001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:25:57] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-15 16:25:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 16:25:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24707173032394752,"km_value":24707173032394.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:25:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1008313765504475136,"description":"Unknown IO ID 45"} 
[2026-07-15 16:25:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732903424001,"power":14309,"unknown_219":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":1008313765504475136}} 
[2026-07-15 16:25:57] local.INFO: DEBUG: GPS processor result {"connection_id":132705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491756,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:25:57] local.INFO: GPS data processed {"connection_id":132705,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:25:57] local.INFO: Acknowledgment sent {"connection_id":132705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:25:59] local.INFO: TCP Data received {"connection_id":133545,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133545,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:25:59] local.INFO: Processing buffer {"connection_id":133545,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:25:59] local.INFO: IMEI packet received {"connection_id":133545,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 16:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":133545,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:26:01] local.INFO: TCP Data received {"connection_id":133546,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:26:01] local.INFO: Processing buffer {"connection_id":133546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:26:01] local.INFO: IMEI packet received {"connection_id":133546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":133546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:26:04] local.INFO: TCP Data received {"connection_id":133545,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133545,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:26:04] local.INFO: Processing buffer {"connection_id":133545,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:26:04] local.INFO: IMEI packet received {"connection_id":133545,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":133545,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:26:05] local.INFO: TCP Data received {"connection_id":133545,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f6565b480012d79d80005e5bbb8000900aa2c..."} 
[2026-07-15 16:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6565b480012d79d80005e5bbb8000900aa2c..."} 
[2026-07-15 16:26:05] local.INFO: Processing buffer {"connection_id":133545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6565b480012d79d80005e5bbb8000900aa2c..."} 
[2026-07-15 16:26:05] local.INFO: Packet analysis {"connection_id":133545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6565"} 
[2026-07-15 16:26:05] local.INFO: Extracted packet for processing {"connection_id":133545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6565"} 
[2026-07-15 16:26:05] local.INFO: GPS Element Parsed {"raw_longitude":762959872,"raw_latitude":98941880,"longitude_deg":76.2959872,"latitude_deg":9.894188,"altitude":9,"angle":170,"satellites":44,"speed":0,"hex_longitude":"2d79d800","hex_latitude":"05e5bbb8","is_valid_coordinates":true} 
[2026-07-15 16:26:05] 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-07-15 16:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732823552001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106615261678796800,"note":"Value kept but may cause issues"} 
[2026-07-15 16:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779767498887903232,"note":"Value kept but may cause issues"} 
[2026-07-15 16:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784112592000,"timestamp_ms":1784112592000,"timestamp_seconds":1784112592,"priority":1,"record_length":96,"hex_timestamp":"0000019f6565b480"} 
[2026-07-15 16:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-15 16:26: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-07-15 16:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":133545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":133545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":133545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732823552001,"66":12613,"182":206,"87":13824,"24":0,"16":106615261678796800,"45":8779767498887903232},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-15 16:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732823552001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:26:05] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 16:26:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 16:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106615261678796800,"km_value":106615261678796.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779767498887903232,"description":"Unknown IO ID 45"} 
[2026-07-15 16:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732823552001,"power":12613,"unknown_182":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8779767498887903232}} 
[2026-07-15 16:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":133545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491757,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:26:05] local.INFO: GPS data processed {"connection_id":133545,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:26:05] local.INFO: Acknowledgment sent {"connection_id":133545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:26:06] local.INFO: TCP Data received {"connection_id":133546,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:26:06] local.INFO: Processing buffer {"connection_id":133546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:26:06] local.INFO: IMEI packet received {"connection_id":133546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":133546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:26:06] local.INFO: TCP Data received {"connection_id":133546,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f6566c5f0012d7f9b8005afd770000c000630..."} 
[2026-07-15 16:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6566c5f0012d7f9b8005afd770000c000630..."} 
[2026-07-15 16:26:06] local.INFO: Processing buffer {"connection_id":133546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6566c5f0012d7f9b8005afd770000c000630..."} 
[2026-07-15 16:26:06] local.INFO: Packet analysis {"connection_id":133546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6566"} 
[2026-07-15 16:26:06] local.INFO: Extracted packet for processing {"connection_id":133546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6566"} 
[2026-07-15 16:26:06] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":12,"angle":6,"satellites":48,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732764416001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784112662000,"timestamp_ms":1784112662000,"timestamp_seconds":1784112662,"priority":1,"record_length":96,"hex_timestamp":"0000019f6566c5f0"} 
[2026-07-15 16:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-15 16:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732764416001,"66":25995,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732764416001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:26:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:26:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732764416001,"power":25995,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":133546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:26:06] local.INFO: GPS data processed {"connection_id":133546,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:26:06] local.INFO: Acknowledgment sent {"connection_id":133546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:26:28] local.INFO: TCP Data received {"connection_id":132705,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f656a82f8012d0dfe00070707e80022010c20..."} 
[2026-07-15 16:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656a82f8012d0dfe00070707e80022010c20..."} 
[2026-07-15 16:26:28] local.INFO: Processing buffer {"connection_id":132705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656a82f8012d0dfe00070707e80022010c20..."} 
[2026-07-15 16:26:28] local.INFO: Packet analysis {"connection_id":132705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656a"} 
[2026-07-15 16:26:28] local.INFO: Extracted packet for processing {"connection_id":132705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656a"} 
[2026-07-15 16:26:28] local.INFO: GPS Element Parsed {"raw_longitude":755891712,"raw_latitude":117901288,"longitude_deg":75.5891712,"latitude_deg":11.7901288,"altitude":34,"angle":268,"satellites":32,"speed":0,"hex_longitude":"2d0dfe00","hex_latitude":"070707e8","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732903936001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24707173032394752,"note":"Value kept but may cause issues"} 
[2026-07-15 16:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1008243396760291328,"note":"Value kept but may cause issues"} 
[2026-07-15 16:26:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784112907000,"timestamp_ms":1784112907000,"timestamp_seconds":1784112907,"priority":1,"record_length":96,"hex_timestamp":"0000019f656a82f8"} 
[2026-07-15 16:26:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:26:28] 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-07-15 16: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":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-15 16:26:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16: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-07-15 16:26:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132705,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132705,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:26:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732903936001,"66":14309,"219":206,"94":10240,"24":0,"16":24707173032394752,"45":1008243396760291328},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-15 16:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732903936001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:26:28] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-15 16:26:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 16:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24707173032394752,"km_value":24707173032394.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1008243396760291328,"description":"Unknown IO ID 45"} 
[2026-07-15 16:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732903936001,"power":14309,"unknown_219":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":1008243396760291328}} 
[2026-07-15 16:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":132705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491759,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:26:29] local.INFO: GPS data processed {"connection_id":132705,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:26:29] local.INFO: Acknowledgment sent {"connection_id":132705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:26:36] local.INFO: TCP Data received {"connection_id":133545,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f656a4c48012d79d64005e5bbc8000900aa29..."} 
[2026-07-15 16:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656a4c48012d79d64005e5bbc8000900aa29..."} 
[2026-07-15 16:26:36] local.INFO: Processing buffer {"connection_id":133545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656a4c48012d79d64005e5bbc8000900aa29..."} 
[2026-07-15 16:26:36] local.INFO: Packet analysis {"connection_id":133545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656a"} 
[2026-07-15 16:26:36] local.INFO: Extracted packet for processing {"connection_id":133545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656a"} 
[2026-07-15 16:26:36] local.INFO: GPS Element Parsed {"raw_longitude":762959424,"raw_latitude":98941896,"longitude_deg":76.2959424,"latitude_deg":9.8941896,"altitude":9,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d79d640","hex_latitude":"05e5bbc8","is_valid_coordinates":true} 
[2026-07-15 16:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732823552001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106615261678796800,"note":"Value kept but may cause issues"} 
[2026-07-15 16:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779767498887903232,"note":"Value kept but may cause issues"} 
[2026-07-15 16:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784112893000,"timestamp_ms":1784112893000,"timestamp_seconds":1784112893,"priority":1,"record_length":96,"hex_timestamp":"0000019f656a4c48"} 
[2026-07-15 16:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-15 16:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":133545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":133545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":133545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732823552001,"66":2264,"182":206,"87":13824,"24":0,"16":106615261678796800,"45":8779767498887903232},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-15 16:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732823552001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:26:36] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 16:26:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 16:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106615261678796800,"km_value":106615261678796.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779767498887903232,"description":"Unknown IO ID 45"} 
[2026-07-15 16:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732823552001,"power":2264,"unknown_182":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8779767498887903232}} 
[2026-07-15 16:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":133545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491760,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:26:36] local.INFO: GPS data processed {"connection_id":133545,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:26:36] local.INFO: Acknowledgment sent {"connection_id":133545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:26:38] local.INFO: TCP Data received {"connection_id":133546,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f6566c5f0012d7f9b8005afd770000c000630..."} 
[2026-07-15 16:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6566c5f0012d7f9b8005afd770000c000630..."} 
[2026-07-15 16:26:38] local.INFO: Processing buffer {"connection_id":133546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6566c5f0012d7f9b8005afd770000c000630..."} 
[2026-07-15 16:26:38] local.INFO: Packet analysis {"connection_id":133546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6566"} 
[2026-07-15 16:26:38] local.INFO: Extracted packet for processing {"connection_id":133546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6566"} 
[2026-07-15 16:26:38] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":12,"angle":6,"satellites":48,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732764416001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784112662000,"timestamp_ms":1784112662000,"timestamp_seconds":1784112662,"priority":1,"record_length":96,"hex_timestamp":"0000019f6566c5f0"} 
[2026-07-15 16:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-15 16:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732764416001,"66":25995,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732764416001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:26:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:26:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732764416001,"power":25995,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":133546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:26:38] local.INFO: GPS data processed {"connection_id":133546,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:26:38] local.INFO: Acknowledgment sent {"connection_id":133546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:26:51] local.INFO: TCP Data received {"connection_id":132527,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132527,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:26:51] local.INFO: Processing buffer {"connection_id":132527,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:26:51] local.INFO: IMEI packet received {"connection_id":132527,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 16:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":132527,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:26:53] local.INFO: TCP Data received {"connection_id":132527,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132527,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:26:53] local.INFO: Processing buffer {"connection_id":132527,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:26:53] local.INFO: IMEI packet received {"connection_id":132527,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 16:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":132527,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:26:57] local.INFO: TCP Data received {"connection_id":132527,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132527,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:26:57] local.INFO: Processing buffer {"connection_id":132527,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:26:57] local.INFO: IMEI packet received {"connection_id":132527,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 16:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":132527,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:26:58] local.INFO: TCP Data received {"connection_id":132527,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f656ad118012d0dfdc0070707e80022010920..."} 
[2026-07-15 16:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656ad118012d0dfdc0070707e80022010920..."} 
[2026-07-15 16:26:58] local.INFO: Processing buffer {"connection_id":132527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656ad118012d0dfdc0070707e80022010920..."} 
[2026-07-15 16:26:58] local.INFO: Packet analysis {"connection_id":132527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656a"} 
[2026-07-15 16:26:58] local.INFO: Extracted packet for processing {"connection_id":132527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656a"} 
[2026-07-15 16:26:58] local.INFO: GPS Element Parsed {"raw_longitude":755891648,"raw_latitude":117901288,"longitude_deg":75.5891648,"latitude_deg":11.7901288,"altitude":34,"angle":265,"satellites":32,"speed":0,"hex_longitude":"2d0dfdc0","hex_latitude":"070707e8","is_valid_coordinates":true} 
[2026-07-15 16:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732904192001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24707177327362048,"note":"Value kept but may cause issues"} 
[2026-07-15 16:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1008243396760299520,"note":"Value kept but may cause issues"} 
[2026-07-15 16:26:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784112927000,"timestamp_ms":1784112927000,"timestamp_seconds":1784112927,"priority":1,"record_length":96,"hex_timestamp":"0000019f656ad118"} 
[2026-07-15 16:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:26:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-15 16:26:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:26:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":132527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":132527,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":132527,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:26:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732904192001,"66":14439,"219":206,"94":10240,"24":0,"16":24707177327362048,"45":1008243396760299520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-15 16:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732904192001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:26:58] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-15 16:26:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 16:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24707177327362048,"km_value":24707177327362.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1008243396760299520,"description":"Unknown IO ID 45"} 
[2026-07-15 16:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732904192001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":1008243396760299520}} 
[2026-07-15 16:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":132527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491762,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:26:58] local.INFO: GPS data processed {"connection_id":132527,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:26:58] local.INFO: Acknowledgment sent {"connection_id":132527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:27:00] local.INFO: TCP Data received {"connection_id":132707,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132707,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:27:00] local.INFO: Processing buffer {"connection_id":132707,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:27:00] local.INFO: IMEI packet received {"connection_id":132707,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 16:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":132707,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:27:00] local.INFO: TCP Data received {"connection_id":132708,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:27:00] local.INFO: Processing buffer {"connection_id":132708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:27:00] local.INFO: IMEI packet received {"connection_id":132708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":132708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:27:04] local.INFO: TCP Data received {"connection_id":132707,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132707,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:27:04] local.INFO: Processing buffer {"connection_id":132707,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:27:04] local.INFO: IMEI packet received {"connection_id":132707,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":132707,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:27:05] local.INFO: TCP Data received {"connection_id":132707,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f656a4c48012d79d64005e5bbc8000900aa29..."} 
[2026-07-15 16:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656a4c48012d79d64005e5bbc8000900aa29..."} 
[2026-07-15 16:27:05] local.INFO: Processing buffer {"connection_id":132707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656a4c48012d79d64005e5bbc8000900aa29..."} 
[2026-07-15 16:27:05] local.INFO: Packet analysis {"connection_id":132707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656a"} 
[2026-07-15 16:27:05] local.INFO: Extracted packet for processing {"connection_id":132707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656a"} 
[2026-07-15 16:27:05] local.INFO: GPS Element Parsed {"raw_longitude":762959424,"raw_latitude":98941896,"longitude_deg":76.2959424,"latitude_deg":9.8941896,"altitude":9,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d79d640","hex_latitude":"05e5bbc8","is_valid_coordinates":true} 
[2026-07-15 16:27: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-07-15 16:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732823552001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106615261678796800,"note":"Value kept but may cause issues"} 
[2026-07-15 16:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779767498887903232,"note":"Value kept but may cause issues"} 
[2026-07-15 16:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784112893000,"timestamp_ms":1784112893000,"timestamp_seconds":1784112893,"priority":1,"record_length":96,"hex_timestamp":"0000019f656a4c48"} 
[2026-07-15 16:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:27: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-07-15 16:27: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-07-15 16:27: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-07-15 16:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732823552001,"66":2264,"182":206,"87":13824,"24":0,"16":106615261678796800,"45":8779767498887903232},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-15 16:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732823552001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:27:05] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 16:27:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 16:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106615261678796800,"km_value":106615261678796.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779767498887903232,"description":"Unknown IO ID 45"} 
[2026-07-15 16:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732823552001,"power":2264,"unknown_182":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8779767498887903232}} 
[2026-07-15 16:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":132707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491763,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:27:05] local.INFO: GPS data processed {"connection_id":132707,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:27:05] local.INFO: Acknowledgment sent {"connection_id":132707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:27:06] local.INFO: TCP Data received {"connection_id":132708,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:27:06] local.INFO: Processing buffer {"connection_id":132708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:27:06] local.INFO: IMEI packet received {"connection_id":132708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":132708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:27:06] local.INFO: TCP Data received {"connection_id":132708,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f656b59d0012d7f9b8005afd770000000062f..."} 
[2026-07-15 16:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656b59d0012d7f9b8005afd770000000062f..."} 
[2026-07-15 16:27:06] local.INFO: Processing buffer {"connection_id":132708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656b59d0012d7f9b8005afd770000000062f..."} 
[2026-07-15 16:27:06] local.INFO: Packet analysis {"connection_id":132708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656b"} 
[2026-07-15 16:27:06] local.INFO: Extracted packet for processing {"connection_id":132708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656b"} 
[2026-07-15 16:27:06] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":0,"angle":6,"satellites":47,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732841472001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784112962000,"timestamp_ms":1784112962000,"timestamp_seconds":1784112962,"priority":1,"record_length":96,"hex_timestamp":"0000019f656b59d0"} 
[2026-07-15 16:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 16:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:27:06] 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-07-15 16:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732841472001,"66":25995,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732841472001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:27:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:27:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732841472001,"power":25995,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":132708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:27:06] local.INFO: GPS data processed {"connection_id":132708,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:27:06] local.INFO: Acknowledgment sent {"connection_id":132708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:27:29] local.INFO: TCP Data received {"connection_id":132527,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f656b2320012d0dfdc0070707e80022010920..."} 
[2026-07-15 16:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656b2320012d0dfdc0070707e80022010920..."} 
[2026-07-15 16:27:29] local.INFO: Processing buffer {"connection_id":132527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656b2320012d0dfdc0070707e80022010920..."} 
[2026-07-15 16:27:29] local.INFO: Packet analysis {"connection_id":132527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656b"} 
[2026-07-15 16:27:29] local.INFO: Extracted packet for processing {"connection_id":132527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656b"} 
[2026-07-15 16:27:29] local.INFO: GPS Element Parsed {"raw_longitude":755891648,"raw_latitude":117901288,"longitude_deg":75.5891648,"latitude_deg":11.7901288,"altitude":34,"angle":265,"satellites":32,"speed":0,"hex_longitude":"2d0dfdc0","hex_latitude":"070707e8","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732909312001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24707177327362048,"note":"Value kept but may cause issues"} 
[2026-07-15 16:27:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1008173028016121856,"note":"Value kept but may cause issues"} 
[2026-07-15 16:27:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784112948000,"timestamp_ms":1784112948000,"timestamp_seconds":1784112948,"priority":1,"record_length":96,"hex_timestamp":"0000019f656b2320"} 
[2026-07-15 16:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:27:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16: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":103,"data_length":795,"current_offset":136} 
[2026-07-15 16:27:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16: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-07-15 16:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":132527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":132527,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":132527,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:27:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732909312001,"66":14461,"219":206,"94":10240,"24":0,"16":24707177327362048,"45":1008173028016121856},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-15 16:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732909312001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:27:29] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-15 16:27:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 16:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24707177327362048,"km_value":24707177327362.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:27:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1008173028016121856,"description":"Unknown IO ID 45"} 
[2026-07-15 16:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732909312001,"power":14461,"unknown_219":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":1008173028016121856}} 
[2026-07-15 16:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":132527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491765,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:27:29] local.INFO: GPS data processed {"connection_id":132527,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:27:29] local.INFO: Acknowledgment sent {"connection_id":132527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:27:36] local.INFO: TCP Data received {"connection_id":132707,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f656a4c48012d79d64005e5bbc8000900aa29..."} 
[2026-07-15 16:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656a4c48012d79d64005e5bbc8000900aa29..."} 
[2026-07-15 16:27:36] local.INFO: Processing buffer {"connection_id":132707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656a4c48012d79d64005e5bbc8000900aa29..."} 
[2026-07-15 16:27:36] local.INFO: Packet analysis {"connection_id":132707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656a"} 
[2026-07-15 16:27:36] local.INFO: Extracted packet for processing {"connection_id":132707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656a"} 
[2026-07-15 16:27:36] local.INFO: GPS Element Parsed {"raw_longitude":762959424,"raw_latitude":98941896,"longitude_deg":76.2959424,"latitude_deg":9.8941896,"altitude":9,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d79d640","hex_latitude":"05e5bbc8","is_valid_coordinates":true} 
[2026-07-15 16:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732823552001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106615261678796800,"note":"Value kept but may cause issues"} 
[2026-07-15 16:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779767498887903232,"note":"Value kept but may cause issues"} 
[2026-07-15 16:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784112893000,"timestamp_ms":1784112893000,"timestamp_seconds":1784112893,"priority":1,"record_length":96,"hex_timestamp":"0000019f656a4c48"} 
[2026-07-15 16:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-15 16:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732823552001,"66":2264,"182":206,"87":13824,"24":0,"16":106615261678796800,"45":8779767498887903232},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-15 16:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732823552001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:27:36] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 16:27:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 16:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106615261678796800,"km_value":106615261678796.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779767498887903232,"description":"Unknown IO ID 45"} 
[2026-07-15 16:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732823552001,"power":2264,"unknown_182":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8779767498887903232}} 
[2026-07-15 16:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":132707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491766,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:27:36] local.INFO: GPS data processed {"connection_id":132707,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:27:36] local.INFO: Acknowledgment sent {"connection_id":132707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:27:38] local.INFO: TCP Data received {"connection_id":132708,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f656b59d0012d7f9b8005afd770000000062f..."} 
[2026-07-15 16:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656b59d0012d7f9b8005afd770000000062f..."} 
[2026-07-15 16:27:38] local.INFO: Processing buffer {"connection_id":132708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656b59d0012d7f9b8005afd770000000062f..."} 
[2026-07-15 16:27:38] local.INFO: Packet analysis {"connection_id":132708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656b"} 
[2026-07-15 16:27:38] local.INFO: Extracted packet for processing {"connection_id":132708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656b"} 
[2026-07-15 16:27:38] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":0,"angle":6,"satellites":47,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732841472001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784112962000,"timestamp_ms":1784112962000,"timestamp_seconds":1784112962,"priority":1,"record_length":96,"hex_timestamp":"0000019f656b59d0"} 
[2026-07-15 16:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 16:27:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732841472001,"66":25995,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732841472001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:27:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:27:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732841472001,"power":25995,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":132708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:27:38] local.INFO: GPS data processed {"connection_id":132708,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:27:38] local.INFO: Acknowledgment sent {"connection_id":132708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:27:56] local.INFO: TCP Data received {"connection_id":134912,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134912,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:27:56] local.INFO: Processing buffer {"connection_id":134912,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:27:56] local.INFO: IMEI packet received {"connection_id":134912,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 16:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":134912,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:27:57] local.INFO: TCP Data received {"connection_id":134912,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134912,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:27:57] local.INFO: Processing buffer {"connection_id":134912,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:27:57] local.INFO: IMEI packet received {"connection_id":134912,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 16:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":134912,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:27:59] local.INFO: TCP Data received {"connection_id":134913,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134913,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:27:59] local.INFO: Processing buffer {"connection_id":134913,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:27:59] local.INFO: IMEI packet received {"connection_id":134913,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 16:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":134913,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:28:00] local.INFO: TCP Data received {"connection_id":132528,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:28:00] local.INFO: Processing buffer {"connection_id":132528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:28:00] local.INFO: IMEI packet received {"connection_id":132528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":132528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:28:02] local.INFO: TCP Data received {"connection_id":134912,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134912,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:28:02] local.INFO: Processing buffer {"connection_id":134912,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:28:02] local.INFO: IMEI packet received {"connection_id":134912,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 16:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":134912,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:28:02] local.INFO: TCP Data received {"connection_id":134912,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f656b7528012d0dfdc0070707e80022010921..."} 
[2026-07-15 16:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656b7528012d0dfdc0070707e80022010921..."} 
[2026-07-15 16:28:02] local.INFO: Processing buffer {"connection_id":134912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656b7528012d0dfdc0070707e80022010921..."} 
[2026-07-15 16:28:02] local.INFO: Packet analysis {"connection_id":134912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656b"} 
[2026-07-15 16:28:02] local.INFO: Extracted packet for processing {"connection_id":134912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656b"} 
[2026-07-15 16:28:02] local.INFO: GPS Element Parsed {"raw_longitude":755891648,"raw_latitude":117901288,"longitude_deg":75.5891648,"latitude_deg":11.7901288,"altitude":34,"angle":265,"satellites":33,"speed":0,"hex_longitude":"2d0dfdc0","hex_latitude":"070707e8","is_valid_coordinates":true} 
[2026-07-15 16:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732914688001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24707177327362048,"note":"Value kept but may cause issues"} 
[2026-07-15 16:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1008173028016121856,"note":"Value kept but may cause issues"} 
[2026-07-15 16:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784112969000,"timestamp_ms":1784112969000,"timestamp_seconds":1784112969,"priority":1,"record_length":96,"hex_timestamp":"0000019f656b7528"} 
[2026-07-15 16:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:28:02] 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-07-15 16:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-15 16:28:02] 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-07-15 16:28:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":134912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":134912,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":134912,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732914688001,"66":14515,"219":206,"94":10240,"24":0,"16":24707177327362048,"45":1008173028016121856},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-15 16:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732914688001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:28:02] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-15 16:28:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 16:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24707177327362048,"km_value":24707177327362.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1008173028016121856,"description":"Unknown IO ID 45"} 
[2026-07-15 16:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732914688001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":1008173028016121856}} 
[2026-07-15 16:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":134912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491768,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:28:03] local.INFO: GPS data processed {"connection_id":134912,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:28:03] local.INFO: Acknowledgment sent {"connection_id":134912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:28:04] local.INFO: TCP Data received {"connection_id":134913,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134913,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:28:04] local.INFO: Processing buffer {"connection_id":134913,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:28:04] local.INFO: IMEI packet received {"connection_id":134913,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":134913,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:28:05] local.INFO: TCP Data received {"connection_id":134913,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f656a4c48012d79d64005e5bbc8000900aa29..."} 
[2026-07-15 16:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656a4c48012d79d64005e5bbc8000900aa29..."} 
[2026-07-15 16:28:05] local.INFO: Processing buffer {"connection_id":134913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656a4c48012d79d64005e5bbc8000900aa29..."} 
[2026-07-15 16:28:05] local.INFO: Packet analysis {"connection_id":134913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656a"} 
[2026-07-15 16:28:05] local.INFO: Extracted packet for processing {"connection_id":134913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656a"} 
[2026-07-15 16:28:05] local.INFO: GPS Element Parsed {"raw_longitude":762959424,"raw_latitude":98941896,"longitude_deg":76.2959424,"latitude_deg":9.8941896,"altitude":9,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d79d640","hex_latitude":"05e5bbc8","is_valid_coordinates":true} 
[2026-07-15 16:28: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-07-15 16:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732823552001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106615261678796800,"note":"Value kept but may cause issues"} 
[2026-07-15 16:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779767498887903232,"note":"Value kept but may cause issues"} 
[2026-07-15 16:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784112893000,"timestamp_ms":1784112893000,"timestamp_seconds":1784112893,"priority":1,"record_length":96,"hex_timestamp":"0000019f656a4c48"} 
[2026-07-15 16:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-15 16:28: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-07-15 16:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":134913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":134913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":134913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732823552001,"66":2264,"182":206,"87":13824,"24":0,"16":106615261678796800,"45":8779767498887903232},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-15 16:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732823552001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:28:05] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 16:28:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 16:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106615261678796800,"km_value":106615261678796.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779767498887903232,"description":"Unknown IO ID 45"} 
[2026-07-15 16:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732823552001,"power":2264,"unknown_182":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8779767498887903232}} 
[2026-07-15 16:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":134913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491769,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:28:05] local.INFO: GPS data processed {"connection_id":134913,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:28:05] local.INFO: Acknowledgment sent {"connection_id":134913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:28:06] local.INFO: TCP Data received {"connection_id":132528,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:28:06] local.INFO: Processing buffer {"connection_id":132528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:28:06] local.INFO: IMEI packet received {"connection_id":132528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":132528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:28:06] local.INFO: TCP Data received {"connection_id":132528,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f656b59d0012d7f9b8005afd770000000062f..."} 
[2026-07-15 16:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656b59d0012d7f9b8005afd770000000062f..."} 
[2026-07-15 16:28:06] local.INFO: Processing buffer {"connection_id":132528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656b59d0012d7f9b8005afd770000000062f..."} 
[2026-07-15 16:28:06] local.INFO: Packet analysis {"connection_id":132528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656b"} 
[2026-07-15 16:28:06] local.INFO: Extracted packet for processing {"connection_id":132528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656b"} 
[2026-07-15 16:28:06] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":0,"angle":6,"satellites":47,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732841472001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784112962000,"timestamp_ms":1784112962000,"timestamp_seconds":1784112962,"priority":1,"record_length":96,"hex_timestamp":"0000019f656b59d0"} 
[2026-07-15 16:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 16:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:28:06] 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-07-15 16:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732841472001,"66":25995,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732841472001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:28:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:28:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732841472001,"power":25995,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":132528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:28:06] local.INFO: GPS data processed {"connection_id":132528,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:28:06] local.INFO: Acknowledgment sent {"connection_id":132528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:28:07] local.INFO: TCP Data received {"connection_id":134912,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f656bc730012d0dfdc0070707e80022010921..."} 
[2026-07-15 16:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656bc730012d0dfdc0070707e80022010921..."} 
[2026-07-15 16:28:07] local.INFO: Processing buffer {"connection_id":134912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656bc730012d0dfdc0070707e80022010921..."} 
[2026-07-15 16:28:07] local.INFO: Packet analysis {"connection_id":134912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656b"} 
[2026-07-15 16:28:07] local.INFO: Extracted packet for processing {"connection_id":134912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656b"} 
[2026-07-15 16:28:07] local.INFO: GPS Element Parsed {"raw_longitude":755891648,"raw_latitude":117901288,"longitude_deg":75.5891648,"latitude_deg":11.7901288,"altitude":34,"angle":265,"satellites":33,"speed":0,"hex_longitude":"2d0dfdc0","hex_latitude":"070707e8","is_valid_coordinates":true} 
[2026-07-15 16:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732920064001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24707177327362048,"note":"Value kept but may cause issues"} 
[2026-07-15 16:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1008173028016121856,"note":"Value kept but may cause issues"} 
[2026-07-15 16:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784112990000,"timestamp_ms":1784112990000,"timestamp_seconds":1784112990,"priority":1,"record_length":96,"hex_timestamp":"0000019f656bc730"} 
[2026-07-15 16:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-15 16:28: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-07-15 16:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134912,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134912,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732920064001,"66":14537,"219":206,"94":10240,"24":0,"16":24707177327362048,"45":1008173028016121856},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-15 16:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732920064001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:28:07] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-15 16:28:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 16:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24707177327362048,"km_value":24707177327362.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1008173028016121856,"description":"Unknown IO ID 45"} 
[2026-07-15 16:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732920064001,"power":14537,"unknown_219":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":1008173028016121856}} 
[2026-07-15 16:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":134912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491771,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:28:07] local.INFO: GPS data processed {"connection_id":134912,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:28:07] local.INFO: Acknowledgment sent {"connection_id":134912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:28:36] local.INFO: TCP Data received {"connection_id":134913,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f656a4c48012d79d64005e5bbc8000900aa29..."} 
[2026-07-15 16:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656a4c48012d79d64005e5bbc8000900aa29..."} 
[2026-07-15 16:28:36] local.INFO: Processing buffer {"connection_id":134913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656a4c48012d79d64005e5bbc8000900aa29..."} 
[2026-07-15 16:28:36] local.INFO: Packet analysis {"connection_id":134913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656a"} 
[2026-07-15 16:28:36] local.INFO: Extracted packet for processing {"connection_id":134913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656a"} 
[2026-07-15 16:28:36] local.INFO: GPS Element Parsed {"raw_longitude":762959424,"raw_latitude":98941896,"longitude_deg":76.2959424,"latitude_deg":9.8941896,"altitude":9,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d79d640","hex_latitude":"05e5bbc8","is_valid_coordinates":true} 
[2026-07-15 16:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732823552001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106615261678796800,"note":"Value kept but may cause issues"} 
[2026-07-15 16:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779767498887903232,"note":"Value kept but may cause issues"} 
[2026-07-15 16:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784112893000,"timestamp_ms":1784112893000,"timestamp_seconds":1784112893,"priority":1,"record_length":96,"hex_timestamp":"0000019f656a4c48"} 
[2026-07-15 16:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-15 16:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":134913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":134913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":134913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:28:36] 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-07-15 16:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732823552001,"66":2264,"182":206,"87":13824,"24":0,"16":106615261678796800,"45":8779767498887903232},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-15 16:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732823552001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:28:36] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 16:28:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 16:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106615261678796800,"km_value":106615261678796.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779767498887903232,"description":"Unknown IO ID 45"} 
[2026-07-15 16:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732823552001,"power":2264,"unknown_182":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8779767498887903232}} 
[2026-07-15 16:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":134913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491772,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:28:36] local.INFO: GPS data processed {"connection_id":134913,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:28:36] local.INFO: Acknowledgment sent {"connection_id":134913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:28:37] local.INFO: TCP Data received {"connection_id":132528,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f656b59d0012d7f9b8005afd770000000062f..."} 
[2026-07-15 16:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656b59d0012d7f9b8005afd770000000062f..."} 
[2026-07-15 16:28:37] local.INFO: Processing buffer {"connection_id":132528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656b59d0012d7f9b8005afd770000000062f..."} 
[2026-07-15 16:28:37] local.INFO: Packet analysis {"connection_id":132528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656b"} 
[2026-07-15 16:28:37] local.INFO: Extracted packet for processing {"connection_id":132528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656b"} 
[2026-07-15 16:28:37] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":0,"angle":6,"satellites":47,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732841472001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784112962000,"timestamp_ms":1784112962000,"timestamp_seconds":1784112962,"priority":1,"record_length":96,"hex_timestamp":"0000019f656b59d0"} 
[2026-07-15 16:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 16:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732841472001,"66":25995,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732841472001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:28:37] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:28:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732841472001,"power":25995,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":132528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:28:37] local.INFO: GPS data processed {"connection_id":132528,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:28:37] local.INFO: Acknowledgment sent {"connection_id":132528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:28:49] local.INFO: TCP Data received {"connection_id":133550,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133550,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:28:49] local.INFO: Processing buffer {"connection_id":133550,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:28:49] local.INFO: IMEI packet received {"connection_id":133550,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 16:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":133550,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:28:52] local.INFO: TCP Data received {"connection_id":133550,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133550,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:28:52] local.INFO: Processing buffer {"connection_id":133550,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:28:52] local.INFO: IMEI packet received {"connection_id":133550,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 16:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":133550,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:28:55] local.INFO: TCP Data received {"connection_id":133549,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:28:55] local.INFO: Processing buffer {"connection_id":133549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:28:55] local.INFO: IMEI packet received {"connection_id":133549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":133549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:28:56] local.INFO: TCP Data received {"connection_id":133549,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f656c1938012d183840072194b8004b012b2b..."} 
[2026-07-15 16:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656c1938012d183840072194b8004b012b2b..."} 
[2026-07-15 16:28:56] local.INFO: Processing buffer {"connection_id":133549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656c1938012d183840072194b8004b012b2b..."} 
[2026-07-15 16:28:56] local.INFO: Packet analysis {"connection_id":133549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656c"} 
[2026-07-15 16:28:56] local.INFO: Extracted packet for processing {"connection_id":133549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656c"} 
[2026-07-15 16:28:56] local.INFO: GPS Element Parsed {"raw_longitude":756561984,"raw_latitude":119641272,"longitude_deg":75.6561984,"latitude_deg":11.9641272,"altitude":75,"angle":299,"satellites":43,"speed":0,"hex_longitude":"2d183840","hex_latitude":"072194b8","is_valid_coordinates":true} 
[2026-07-15 16:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732925440001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6132848226467840,"note":"Value kept but may cause issues"} 
[2026-07-15 16:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1745918942420129792,"note":"Value kept but may cause issues"} 
[2026-07-15 16:28:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784113011000,"timestamp_ms":1784113011000,"timestamp_seconds":1784113011,"priority":1,"record_length":96,"hex_timestamp":"0000019f656c1938"} 
[2026-07-15 16:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:28:56] 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-07-15 16:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-15 16:28:56] 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-07-15 16:28:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:28:56] 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-07-15 16:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732925440001,"66":14374,"105":206,"83":41984,"24":0,"16":6132848226467840,"45":1745918942420129792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732925440001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:28:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:28:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6132848226467840,"km_value":6132848226467.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1745918942420129792,"description":"Unknown IO ID 45"} 
[2026-07-15 16:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732925440001,"power":14374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1745918942420129792}} 
[2026-07-15 16:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":133549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:28:56] local.INFO: GPS data processed {"connection_id":133549,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:28:56] local.INFO: Acknowledgment sent {"connection_id":133549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:28:57] local.INFO: TCP Data received {"connection_id":133550,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133550,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:28:57] local.INFO: Processing buffer {"connection_id":133550,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:28:57] local.INFO: IMEI packet received {"connection_id":133550,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 16:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":133550,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:28:58] local.INFO: TCP Data received {"connection_id":133550,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f656c1938012d0df980070707800022010820..."} 
[2026-07-15 16:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656c1938012d0df980070707800022010820..."} 
[2026-07-15 16:28:58] local.INFO: Processing buffer {"connection_id":133550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656c1938012d0df980070707800022010820..."} 
[2026-07-15 16:28:58] local.INFO: Packet analysis {"connection_id":133550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656c"} 
[2026-07-15 16:28:58] local.INFO: Extracted packet for processing {"connection_id":133550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656c"} 
[2026-07-15 16:28:58] local.INFO: GPS Element Parsed {"raw_longitude":755890560,"raw_latitude":117901184,"longitude_deg":75.589056,"latitude_deg":11.7901184,"altitude":34,"angle":264,"satellites":32,"speed":0,"hex_longitude":"2d0df980","hex_latitude":"07070780","is_valid_coordinates":true} 
[2026-07-15 16:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732925440001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24707228866969600,"note":"Value kept but may cause issues"} 
[2026-07-15 16:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1008173028016121856,"note":"Value kept but may cause issues"} 
[2026-07-15 16:28:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784113011000,"timestamp_ms":1784113011000,"timestamp_seconds":1784113011,"priority":1,"record_length":96,"hex_timestamp":"0000019f656c1938"} 
[2026-07-15 16:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-15 16:28:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:28:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":133550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":133550,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":133550,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:28:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732925440001,"66":14515,"219":206,"94":10240,"24":0,"16":24707228866969600,"45":1008173028016121856},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-15 16:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732925440001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:28:58] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-15 16:28:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 16:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24707228866969600,"km_value":24707228866969.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1008173028016121856,"description":"Unknown IO ID 45"} 
[2026-07-15 16:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732925440001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":1008173028016121856}} 
[2026-07-15 16:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":133550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491775,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:28:58] local.INFO: GPS data processed {"connection_id":133550,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:28:58] local.INFO: Acknowledgment sent {"connection_id":133550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:29:04] local.INFO: TCP Data received {"connection_id":132709,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132709,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:29:04] local.INFO: Processing buffer {"connection_id":132709,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:29:04] local.INFO: IMEI packet received {"connection_id":132709,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 16:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":132709,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:29:04] local.INFO: TCP Data received {"connection_id":132529,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132529,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:29:04] local.INFO: Processing buffer {"connection_id":132529,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:29:04] local.INFO: IMEI packet received {"connection_id":132529,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 16:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":132529,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:29:06] local.INFO: TCP Data received {"connection_id":132710,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:29:06] local.INFO: Processing buffer {"connection_id":132710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:29:06] local.INFO: IMEI packet received {"connection_id":132710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":132710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:29:09] local.INFO: TCP Data received {"connection_id":132709,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132709,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:29:09] local.INFO: Processing buffer {"connection_id":132709,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:29:09] local.INFO: IMEI packet received {"connection_id":132709,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":132709,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:29:10] local.INFO: TCP Data received {"connection_id":132709,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f656a4c48012d79d64005e5bbc8000900aa29..."} 
[2026-07-15 16:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656a4c48012d79d64005e5bbc8000900aa29..."} 
[2026-07-15 16:29:10] local.INFO: Processing buffer {"connection_id":132709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656a4c48012d79d64005e5bbc8000900aa29..."} 
[2026-07-15 16:29:10] local.INFO: Packet analysis {"connection_id":132709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656a"} 
[2026-07-15 16:29:10] local.INFO: Extracted packet for processing {"connection_id":132709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656a"} 
[2026-07-15 16:29:10] local.INFO: GPS Element Parsed {"raw_longitude":762959424,"raw_latitude":98941896,"longitude_deg":76.2959424,"latitude_deg":9.8941896,"altitude":9,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d79d640","hex_latitude":"05e5bbc8","is_valid_coordinates":true} 
[2026-07-15 16:29: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-07-15 16:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732823552001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106615261678796800,"note":"Value kept but may cause issues"} 
[2026-07-15 16:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779767498887903232,"note":"Value kept but may cause issues"} 
[2026-07-15 16:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784112893000,"timestamp_ms":1784112893000,"timestamp_seconds":1784112893,"priority":1,"record_length":96,"hex_timestamp":"0000019f656a4c48"} 
[2026-07-15 16:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:29: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":69,"data_length":795,"current_offset":136} 
[2026-07-15 16:29:10] 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-07-15 16:29: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-07-15 16:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":132709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":132709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":132709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732823552001,"66":2264,"182":206,"87":13824,"24":0,"16":106615261678796800,"45":8779767498887903232},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-15 16:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732823552001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:29:10] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 16:29:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 16:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106615261678796800,"km_value":106615261678796.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779767498887903232,"description":"Unknown IO ID 45"} 
[2026-07-15 16:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732823552001,"power":2264,"unknown_182":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8779767498887903232}} 
[2026-07-15 16:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":132709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491776,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:29:10] local.INFO: GPS data processed {"connection_id":132709,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:29:10] local.INFO: Acknowledgment sent {"connection_id":132709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:29:11] local.INFO: TCP Data received {"connection_id":132710,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:29:11] local.INFO: Processing buffer {"connection_id":132710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:29:11] local.INFO: IMEI packet received {"connection_id":132710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":132710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:29:11] local.INFO: TCP Data received {"connection_id":132710,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f656b59d0012d7f9b8005afd770000000062f..."} 
[2026-07-15 16:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656b59d0012d7f9b8005afd770000000062f..."} 
[2026-07-15 16:29:11] local.INFO: Processing buffer {"connection_id":132710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656b59d0012d7f9b8005afd770000000062f..."} 
[2026-07-15 16:29:11] local.INFO: Packet analysis {"connection_id":132710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656b"} 
[2026-07-15 16:29:11] local.INFO: Extracted packet for processing {"connection_id":132710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656b"} 
[2026-07-15 16:29:11] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":0,"angle":6,"satellites":47,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732841472001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784112962000,"timestamp_ms":1784112962000,"timestamp_seconds":1784112962,"priority":1,"record_length":96,"hex_timestamp":"0000019f656b59d0"} 
[2026-07-15 16:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 16:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16: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-07-15 16:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:29:11] 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-07-15 16:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732841472001,"66":25995,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732841472001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:29:11] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:29:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732841472001,"power":25995,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":132710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:29:11] local.INFO: GPS data processed {"connection_id":132710,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:29:11] local.INFO: Acknowledgment sent {"connection_id":132710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:29:14] local.INFO: TCP Data received {"connection_id":132709,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f656a4c48012d79d64005e5bbc8000900aa29..."} 
[2026-07-15 16:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656a4c48012d79d64005e5bbc8000900aa29..."} 
[2026-07-15 16:29:14] local.INFO: Processing buffer {"connection_id":132709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656a4c48012d79d64005e5bbc8000900aa29..."} 
[2026-07-15 16:29:14] local.INFO: Packet analysis {"connection_id":132709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656a"} 
[2026-07-15 16:29:14] local.INFO: Extracted packet for processing {"connection_id":132709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656a"} 
[2026-07-15 16:29:14] local.INFO: GPS Element Parsed {"raw_longitude":762959424,"raw_latitude":98941896,"longitude_deg":76.2959424,"latitude_deg":9.8941896,"altitude":9,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d79d640","hex_latitude":"05e5bbc8","is_valid_coordinates":true} 
[2026-07-15 16:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732823552001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106615261678796800,"note":"Value kept but may cause issues"} 
[2026-07-15 16:29:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779767498887903232,"note":"Value kept but may cause issues"} 
[2026-07-15 16:29:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784112893000,"timestamp_ms":1784112893000,"timestamp_seconds":1784112893,"priority":1,"record_length":96,"hex_timestamp":"0000019f656a4c48"} 
[2026-07-15 16:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:29:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-15 16:29:14] 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-07-15 16:29:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":132709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":132709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":132709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:29:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732823552001,"66":2264,"182":206,"87":13824,"24":0,"16":106615261678796800,"45":8779767498887903232},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-15 16:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732823552001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:29:14] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 16:29:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 16:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106615261678796800,"km_value":106615261678796.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:29:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779767498887903232,"description":"Unknown IO ID 45"} 
[2026-07-15 16:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732823552001,"power":2264,"unknown_182":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8779767498887903232}} 
[2026-07-15 16:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":132709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491778,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:29:14] local.INFO: GPS data processed {"connection_id":132709,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:29:14] local.INFO: Acknowledgment sent {"connection_id":132709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:29:27] local.INFO: TCP Data received {"connection_id":133549,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f656c3878012d18324007219768004b01172e..."} 
[2026-07-15 16:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656c3878012d18324007219768004b01172e..."} 
[2026-07-15 16:29:27] local.INFO: Processing buffer {"connection_id":133549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656c3878012d18324007219768004b01172e..."} 
[2026-07-15 16:29:27] local.INFO: Packet analysis {"connection_id":133549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656c"} 
[2026-07-15 16:29:27] local.INFO: Extracted packet for processing {"connection_id":133549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656c"} 
[2026-07-15 16:29:27] local.INFO: GPS Element Parsed {"raw_longitude":756560448,"raw_latitude":119641960,"longitude_deg":75.6560448,"latitude_deg":11.964196,"altitude":75,"angle":279,"satellites":46,"speed":8,"hex_longitude":"2d183240","hex_latitude":"07219768","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732930816001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6132925535879168,"note":"Value kept but may cause issues"} 
[2026-07-15 16:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1745215254978410496,"note":"Value kept but may cause issues"} 
[2026-07-15 16:29: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-07-15 16:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784113019000,"timestamp_ms":1784113019000,"timestamp_seconds":1784113019,"priority":1,"record_length":96,"hex_timestamp":"0000019f656c3878"} 
[2026-07-15 16:29:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:29:27] 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-07-15 16: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-15 16:29: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-07-15 16: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-07-15 16:29:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":133549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":133549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":133549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:29: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-07-15 16:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732930816001,"66":14341,"105":206,"83":41984,"24":8,"16":6132925535879168,"45":1745215254978410496},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732930816001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:29:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:29:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6132925535879168,"km_value":6132925535879.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1745215254978410496,"description":"Unknown IO ID 45"} 
[2026-07-15 16:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732930816001,"power":14341,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1745215254978410496}} 
[2026-07-15 16:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":133549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:29:27] local.INFO: GPS data processed {"connection_id":133549,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:29:27] local.INFO: Acknowledgment sent {"connection_id":133549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:29:29] local.INFO: TCP Data received {"connection_id":133550,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f656e4000012d0e3cc00706fdd0002700c021..."} 
[2026-07-15 16:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656e4000012d0e3cc00706fdd0002700c021..."} 
[2026-07-15 16:29:29] local.INFO: Processing buffer {"connection_id":133550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656e4000012d0e3cc00706fdd0002700c021..."} 
[2026-07-15 16:29:29] local.INFO: Packet analysis {"connection_id":133550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656e"} 
[2026-07-15 16:29:29] local.INFO: Extracted packet for processing {"connection_id":133550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656e"} 
[2026-07-15 16:29:29] local.INFO: GPS Element Parsed {"raw_longitude":755907776,"raw_latitude":117898704,"longitude_deg":75.5907776,"latitude_deg":11.7898704,"altitude":39,"angle":192,"satellites":33,"speed":9,"hex_longitude":"2d0e3cc0","hex_latitude":"0706fdd0","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732966144001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24708122220167168,"note":"Value kept but may cause issues"} 
[2026-07-15 16:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025905951548393472,"note":"Value kept but may cause issues"} 
[2026-07-15 16:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784113152000,"timestamp_ms":1784113152000,"timestamp_seconds":1784113152,"priority":1,"record_length":96,"hex_timestamp":"0000019f656e4000"} 
[2026-07-15 16:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:29:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-07-15 16:29: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-07-15 16: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-07-15 16:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":133550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":133550,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":133550,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:29:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732966144001,"66":14450,"219":206,"94":10240,"24":9,"16":24708122220167168,"45":1025905951548393472},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-15 16:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732966144001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:29:29] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-15 16:29:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 16:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24708122220167168,"km_value":24708122220167.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025905951548393472,"description":"Unknown IO ID 45"} 
[2026-07-15 16:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732966144001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":1025905951548393472}} 
[2026-07-15 16:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":133550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491780,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:29:29] local.INFO: GPS data processed {"connection_id":133550,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:29:29] local.INFO: Acknowledgment sent {"connection_id":133550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:29:34] local.INFO: TCP Data received {"connection_id":133551,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133551,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:29:34] local.INFO: Processing buffer {"connection_id":133551,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:29:34] local.INFO: IMEI packet received {"connection_id":133551,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 16:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":133551,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:29:45] local.INFO: TCP Data received {"connection_id":132710,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f656b59d0012d7f9b8005afd770000000062f..."} 
[2026-07-15 16:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656b59d0012d7f9b8005afd770000000062f..."} 
[2026-07-15 16:29:45] local.INFO: Processing buffer {"connection_id":132710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656b59d0012d7f9b8005afd770000000062f..."} 
[2026-07-15 16:29:45] local.INFO: Packet analysis {"connection_id":132710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656b"} 
[2026-07-15 16:29:45] local.INFO: Extracted packet for processing {"connection_id":132710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656b"} 
[2026-07-15 16:29:45] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":0,"angle":6,"satellites":47,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732841472001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784112962000,"timestamp_ms":1784112962000,"timestamp_seconds":1784112962,"priority":1,"record_length":96,"hex_timestamp":"0000019f656b59d0"} 
[2026-07-15 16:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:29:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 16:29:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:29:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":132710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":132710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":132710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732841472001,"66":25995,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732841472001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:29:45] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:29:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732841472001,"power":25995,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":132710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:29:45] local.INFO: GPS data processed {"connection_id":132710,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:29:45] local.INFO: Acknowledgment sent {"connection_id":132710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:29:50] local.INFO: TCP Data received {"connection_id":132530,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132530,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:29:50] local.INFO: Processing buffer {"connection_id":132530,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:29:50] local.INFO: IMEI packet received {"connection_id":132530,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 16:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":132530,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:29:50] local.INFO: TCP Data received {"connection_id":133552,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:29:50] local.INFO: Processing buffer {"connection_id":133552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:29:50] local.INFO: IMEI packet received {"connection_id":133552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":133552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:29:51] local.INFO: TCP Data received {"connection_id":133552,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:29:51] local.INFO: Processing buffer {"connection_id":133552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:29:51] local.INFO: IMEI packet received {"connection_id":133552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":133552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:29:52] local.INFO: TCP Data received {"connection_id":132530,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132530,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:29:52] local.INFO: Processing buffer {"connection_id":132530,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:29:52] local.INFO: IMEI packet received {"connection_id":132530,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 16:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":132530,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:29:55] local.INFO: TCP Data received {"connection_id":133552,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:29:55] local.INFO: Processing buffer {"connection_id":133552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:29:55] local.INFO: IMEI packet received {"connection_id":133552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":133552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:29:57] local.INFO: TCP Data received {"connection_id":132530,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132530,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:29:57] local.INFO: Processing buffer {"connection_id":132530,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:29:57] local.INFO: IMEI packet received {"connection_id":132530,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 16:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":132530,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:29:57] local.INFO: TCP Data received {"connection_id":133552,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f656de240012d1823000721b538004900d02b..."} 
[2026-07-15 16:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656de240012d1823000721b538004900d02b..."} 
[2026-07-15 16:29:57] local.INFO: Processing buffer {"connection_id":133552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656de240012d1823000721b538004900d02b..."} 
[2026-07-15 16:29:57] local.INFO: Packet analysis {"connection_id":133552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656d"} 
[2026-07-15 16:29:57] local.INFO: Extracted packet for processing {"connection_id":133552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656d"} 
[2026-07-15 16:29:57] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649592,"longitude_deg":75.6556544,"latitude_deg":11.9649592,"altitude":73,"angle":208,"satellites":43,"speed":7,"hex_longitude":"2d182300","hex_latitude":"0721b538","is_valid_coordinates":true} 
[2026-07-15 16:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:29:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732960000001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:29:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6133569780973568,"note":"Value kept but may cause issues"} 
[2026-07-15 16:29:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213911040,"note":"Value kept but may cause issues"} 
[2026-07-15 16:29:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:29:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784113128000,"timestamp_ms":1784113128000,"timestamp_seconds":1784113128,"priority":1,"record_length":96,"hex_timestamp":"0000019f656de240"} 
[2026-07-15 16:29:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:29:57] 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-07-15 16:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-15 16:29:57] 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-07-15 16:29:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:29:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:29:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:29:57] local.INFO: Teltonika packet parsed successfully {"connection_id":133552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:29:57] local.INFO: Passing IMEI to GPS processor {"connection_id":133552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:29:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":133552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:29:57] 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-07-15 16:29:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:29:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:29:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732960000001,"66":13091,"105":206,"83":41984,"24":7,"16":6133569780973568,"45":1739374649213911040},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:29:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:29:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:29:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732960000001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:29:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:29:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:29:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6133569780973568,"km_value":6133569780973.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:29:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213911040,"description":"Unknown IO ID 45"} 
[2026-07-15 16:29:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732960000001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1739374649213911040}} 
[2026-07-15 16:29:57] local.INFO: DEBUG: GPS processor result {"connection_id":133552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491782,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:29:57] local.INFO: GPS data processed {"connection_id":133552,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:29:57] local.INFO: Acknowledgment sent {"connection_id":133552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:29:57] local.INFO: TCP Data received {"connection_id":132530,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f656e4bb8012d0e3cc00706fb40002700b420..."} 
[2026-07-15 16:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656e4bb8012d0e3cc00706fb40002700b420..."} 
[2026-07-15 16:29:57] local.INFO: Processing buffer {"connection_id":132530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656e4bb8012d0e3cc00706fb40002700b420..."} 
[2026-07-15 16:29:57] local.INFO: Packet analysis {"connection_id":132530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656e"} 
[2026-07-15 16:29:57] local.INFO: Extracted packet for processing {"connection_id":132530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656e"} 
[2026-07-15 16:29:57] local.INFO: GPS Element Parsed {"raw_longitude":755907776,"raw_latitude":117898048,"longitude_deg":75.5907776,"latitude_deg":11.7898048,"altitude":39,"angle":180,"satellites":32,"speed":8,"hex_longitude":"2d0e3cc0","hex_latitude":"0706fb40","is_valid_coordinates":true} 
[2026-07-15 16:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:29:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732966912001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:29:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24708152284938240,"note":"Value kept but may cause issues"} 
[2026-07-15 16:29:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025905951548231680,"note":"Value kept but may cause issues"} 
[2026-07-15 16:29:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:29:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784113155000,"timestamp_ms":1784113155000,"timestamp_seconds":1784113155,"priority":1,"record_length":96,"hex_timestamp":"0000019f656e4bb8"} 
[2026-07-15 16:29:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:29:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-15 16:29:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:29:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:29:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:29:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:29:57] local.INFO: Teltonika packet parsed successfully {"connection_id":132530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:29:57] local.INFO: Passing IMEI to GPS processor {"connection_id":132530,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:29:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":132530,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:29:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:29:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:29:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:29:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732966912001,"66":14439,"219":206,"94":10240,"24":8,"16":24708152284938240,"45":1025905951548231680},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-15 16:29:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:29:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:29:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732966912001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:29:57] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-15 16:29:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 16:29:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24708152284938240,"km_value":24708152284938.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:29:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025905951548231680,"description":"Unknown IO ID 45"} 
[2026-07-15 16:29:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732966912001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":1025905951548231680}} 
[2026-07-15 16:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":132530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491783,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:29:58] local.INFO: GPS data processed {"connection_id":132530,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:29:58] local.INFO: Acknowledgment sent {"connection_id":132530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:29:59] local.INFO: TCP Data received {"connection_id":132711,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132711,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:29:59] local.INFO: Processing buffer {"connection_id":132711,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:29:59] local.INFO: IMEI packet received {"connection_id":132711,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 16:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":132711,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:30:01] local.INFO: TCP Data received {"connection_id":132712,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:30:01] local.INFO: Processing buffer {"connection_id":132712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:30:01] local.INFO: IMEI packet received {"connection_id":132712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":132712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:30:04] local.INFO: TCP Data received {"connection_id":132711,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132711,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:30:04] local.INFO: Processing buffer {"connection_id":132711,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:30:04] local.INFO: IMEI packet received {"connection_id":132711,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":132711,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:30:05] local.INFO: TCP Data received {"connection_id":132711,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f656ee410012d79d64005e5bbc8000900aa2a..."} 
[2026-07-15 16:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656ee410012d79d64005e5bbc8000900aa2a..."} 
[2026-07-15 16:30:05] local.INFO: Processing buffer {"connection_id":132711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656ee410012d79d64005e5bbc8000900aa2a..."} 
[2026-07-15 16:30:05] local.INFO: Packet analysis {"connection_id":132711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656e"} 
[2026-07-15 16:30:05] local.INFO: Extracted packet for processing {"connection_id":132711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656e"} 
[2026-07-15 16:30:05] local.INFO: GPS Element Parsed {"raw_longitude":762959424,"raw_latitude":98941896,"longitude_deg":76.2959424,"latitude_deg":9.8941896,"altitude":9,"angle":170,"satellites":42,"speed":0,"hex_longitude":"2d79d640","hex_latitude":"05e5bbc8","is_valid_coordinates":true} 
[2026-07-15 16:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732900608001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106615261678796800,"note":"Value kept but may cause issues"} 
[2026-07-15 16:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779274917678663680,"note":"Value kept but may cause issues"} 
[2026-07-15 16:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784113194000,"timestamp_ms":1784113194000,"timestamp_seconds":1784113194,"priority":1,"record_length":96,"hex_timestamp":"0000019f656ee410"} 
[2026-07-15 16:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 16:30:05] 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-07-15 16:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732900608001,"66":2242,"182":206,"87":13824,"24":0,"16":106615261678796800,"45":8779274917678663680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-15 16:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732900608001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:30:05] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 16:30:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 16:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106615261678796800,"km_value":106615261678796.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779274917678663680,"description":"Unknown IO ID 45"} 
[2026-07-15 16:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732900608001,"power":2242,"unknown_182":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8779274917678663680}} 
[2026-07-15 16:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":132711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491784,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:30:05] local.INFO: GPS data processed {"connection_id":132711,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:30:05] local.INFO: Acknowledgment sent {"connection_id":132711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:30:06] local.INFO: TCP Data received {"connection_id":132712,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:30:06] local.INFO: Processing buffer {"connection_id":132712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:30:06] local.INFO: IMEI packet received {"connection_id":132712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":132712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:30:07] local.INFO: TCP Data received {"connection_id":132712,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f656b59d0012d7f9b8005afd770000000062f..."} 
[2026-07-15 16:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656b59d0012d7f9b8005afd770000000062f..."} 
[2026-07-15 16:30:07] local.INFO: Processing buffer {"connection_id":132712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656b59d0012d7f9b8005afd770000000062f..."} 
[2026-07-15 16:30:07] local.INFO: Packet analysis {"connection_id":132712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656b"} 
[2026-07-15 16:30:07] local.INFO: Extracted packet for processing {"connection_id":132712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656b"} 
[2026-07-15 16:30:07] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":0,"angle":6,"satellites":47,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732841472001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784112962000,"timestamp_ms":1784112962000,"timestamp_seconds":1784112962,"priority":1,"record_length":96,"hex_timestamp":"0000019f656b59d0"} 
[2026-07-15 16:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 16:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16: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-07-15 16:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732841472001,"66":25995,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732841472001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:30:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:30:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732841472001,"power":25995,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":132712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:30:07] local.INFO: GPS data processed {"connection_id":132712,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:30:07] local.INFO: Acknowledgment sent {"connection_id":132712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:30:28] local.INFO: TCP Data received {"connection_id":133552,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f656dea10012d1822400721b420004a00dd2a..."} 
[2026-07-15 16:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656dea10012d1822400721b420004a00dd2a..."} 
[2026-07-15 16:30:28] local.INFO: Processing buffer {"connection_id":133552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656dea10012d1822400721b420004a00dd2a..."} 
[2026-07-15 16:30:28] local.INFO: Packet analysis {"connection_id":133552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656d"} 
[2026-07-15 16:30:28] local.INFO: Extracted packet for processing {"connection_id":133552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656d"} 
[2026-07-15 16:30:28] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649312,"longitude_deg":75.6556352,"latitude_deg":11.9649312,"altitude":74,"angle":221,"satellites":42,"speed":6,"hex_longitude":"2d182240","hex_latitude":"0721b420","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732960768001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6133591255810048,"note":"Value kept but may cause issues"} 
[2026-07-15 16:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725438976,"note":"Value kept but may cause issues"} 
[2026-07-15 16:30: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-07-15 16:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784113130000,"timestamp_ms":1784113130000,"timestamp_seconds":1784113130,"priority":1,"record_length":96,"hex_timestamp":"0000019f656dea10"} 
[2026-07-15 16:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:30: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-07-15 16: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-15 16:30:28] 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-07-15 16: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-07-15 16:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":133552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":133552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":133552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:30:28] 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-07-15 16:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732960768001,"66":13059,"105":206,"83":41984,"24":6,"16":6133591255810048,"45":1739233911725438976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732960768001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:30:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:30:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6133591255810048,"km_value":6133591255810.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725438976,"description":"Unknown IO ID 45"} 
[2026-07-15 16:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732960768001,"power":13059,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739233911725438976}} 
[2026-07-15 16:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":133552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:30:28] local.INFO: GPS data processed {"connection_id":133552,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:30:28] local.INFO: Acknowledgment sent {"connection_id":133552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:30:29] local.INFO: TCP Data received {"connection_id":132530,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f656e6710012d0e3d000706fa880026000b21..."} 
[2026-07-15 16:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656e6710012d0e3d000706fa880026000b21..."} 
[2026-07-15 16:30:29] local.INFO: Processing buffer {"connection_id":132530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656e6710012d0e3d000706fa880026000b21..."} 
[2026-07-15 16:30:29] local.INFO: Packet analysis {"connection_id":132530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656e"} 
[2026-07-15 16:30:29] local.INFO: Extracted packet for processing {"connection_id":132530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656e"} 
[2026-07-15 16:30:29] local.INFO: GPS Element Parsed {"raw_longitude":755907840,"raw_latitude":117897864,"longitude_deg":75.590784,"latitude_deg":11.7897864,"altitude":38,"angle":11,"satellites":33,"speed":1,"hex_longitude":"2d0e3d00","hex_latitude":"0706fa88","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732967680001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24708169464807424,"note":"Value kept but may cause issues"} 
[2026-07-15 16:30:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025905951548063744,"note":"Value kept but may cause issues"} 
[2026-07-15 16:30:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784113162000,"timestamp_ms":1784113162000,"timestamp_seconds":1784113162,"priority":1,"record_length":96,"hex_timestamp":"0000019f656e6710"} 
[2026-07-15 16:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:30:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 16:30:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16: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-07-15 16:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":132530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":132530,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":132530,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:30:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732967680001,"66":14537,"219":206,"94":10240,"24":1,"16":24708169464807424,"45":1025905951548063744},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-15 16:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732967680001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:30:29] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-15 16:30:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 16:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24708169464807424,"km_value":24708169464807.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:30:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025905951548063744,"description":"Unknown IO ID 45"} 
[2026-07-15 16:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732967680001,"power":14537,"unknown_219":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":1025905951548063744}} 
[2026-07-15 16:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":132530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491787,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:30:29] local.INFO: GPS data processed {"connection_id":132530,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:30:29] local.INFO: Acknowledgment sent {"connection_id":132530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:30:36] local.INFO: TCP Data received {"connection_id":132711,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f656ee410012d79d64005e5bbc8000900aa2a..."} 
[2026-07-15 16:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656ee410012d79d64005e5bbc8000900aa2a..."} 
[2026-07-15 16:30:36] local.INFO: Processing buffer {"connection_id":132711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656ee410012d79d64005e5bbc8000900aa2a..."} 
[2026-07-15 16:30:36] local.INFO: Packet analysis {"connection_id":132711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656e"} 
[2026-07-15 16:30:36] local.INFO: Extracted packet for processing {"connection_id":132711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656e"} 
[2026-07-15 16:30:36] local.INFO: GPS Element Parsed {"raw_longitude":762959424,"raw_latitude":98941896,"longitude_deg":76.2959424,"latitude_deg":9.8941896,"altitude":9,"angle":170,"satellites":42,"speed":0,"hex_longitude":"2d79d640","hex_latitude":"05e5bbc8","is_valid_coordinates":true} 
[2026-07-15 16:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732900608001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106615261678796800,"note":"Value kept but may cause issues"} 
[2026-07-15 16:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779274917678663680,"note":"Value kept but may cause issues"} 
[2026-07-15 16:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784113194000,"timestamp_ms":1784113194000,"timestamp_seconds":1784113194,"priority":1,"record_length":96,"hex_timestamp":"0000019f656ee410"} 
[2026-07-15 16:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 16:30:36] 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-07-15 16:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:30:36] 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-07-15 16:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732900608001,"66":2242,"182":206,"87":13824,"24":0,"16":106615261678796800,"45":8779274917678663680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-15 16:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732900608001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:30:36] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 16:30:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 16:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106615261678796800,"km_value":106615261678796.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779274917678663680,"description":"Unknown IO ID 45"} 
[2026-07-15 16:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732900608001,"power":2242,"unknown_182":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8779274917678663680}} 
[2026-07-15 16:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":132711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491788,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:30:36] local.INFO: GPS data processed {"connection_id":132711,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:30:36] local.INFO: Acknowledgment sent {"connection_id":132711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:30:40] local.INFO: TCP Data received {"connection_id":132712,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f656b59d0012d7f9b8005afd770000000062f..."} 
[2026-07-15 16:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656b59d0012d7f9b8005afd770000000062f..."} 
[2026-07-15 16:30:40] local.INFO: Processing buffer {"connection_id":132712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656b59d0012d7f9b8005afd770000000062f..."} 
[2026-07-15 16:30:40] local.INFO: Packet analysis {"connection_id":132712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656b"} 
[2026-07-15 16:30:40] local.INFO: Extracted packet for processing {"connection_id":132712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656b"} 
[2026-07-15 16:30:40] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":0,"angle":6,"satellites":47,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732841472001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784112962000,"timestamp_ms":1784112962000,"timestamp_seconds":1784112962,"priority":1,"record_length":96,"hex_timestamp":"0000019f656b59d0"} 
[2026-07-15 16:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 16:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:30:40] 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-07-15 16:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732841472001,"66":25995,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732841472001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:30:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:30:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732841472001,"power":25995,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":132712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:30:40] local.INFO: GPS data processed {"connection_id":132712,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:30:40] local.INFO: Acknowledgment sent {"connection_id":132712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:30:51] local.INFO: TCP Data received {"connection_id":134915,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:30:51] local.INFO: Processing buffer {"connection_id":134915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:30:51] local.INFO: IMEI packet received {"connection_id":134915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":134915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:30:52] local.INFO: TCP Data received {"connection_id":133553,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133553,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:30:52] local.INFO: Processing buffer {"connection_id":133553,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:30:52] local.INFO: IMEI packet received {"connection_id":133553,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 16:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":133553,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:30:54] local.INFO: TCP Data received {"connection_id":134915,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:30:54] local.INFO: Processing buffer {"connection_id":134915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:30:54] local.INFO: IMEI packet received {"connection_id":134915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":134915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:30:55] local.INFO: TCP Data received {"connection_id":134915,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f656df1e0012d1821800721b320004a00d12a..."} 
[2026-07-15 16:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656df1e0012d1821800721b320004a00d12a..."} 
[2026-07-15 16:30:55] local.INFO: Processing buffer {"connection_id":134915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656df1e0012d1821800721b320004a00d12a..."} 
[2026-07-15 16:30:55] local.INFO: Packet analysis {"connection_id":134915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656d"} 
[2026-07-15 16:30:55] local.INFO: Extracted packet for processing {"connection_id":134915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656d"} 
[2026-07-15 16:30:55] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649056,"longitude_deg":75.655616,"latitude_deg":11.9649056,"altitude":74,"angle":209,"satellites":42,"speed":6,"hex_longitude":"2d182180","hex_latitude":"0721b320","is_valid_coordinates":true} 
[2026-07-15 16:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732961280001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6133604140711936,"note":"Value kept but may cause issues"} 
[2026-07-15 16:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492834304,"note":"Value kept but may cause issues"} 
[2026-07-15 16:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784113132000,"timestamp_ms":1784113132000,"timestamp_seconds":1784113132,"priority":1,"record_length":96,"hex_timestamp":"0000019f656df1e0"} 
[2026-07-15 16:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:30: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-07-15 16:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-15 16:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163734281578,"note":"Value kept but may cause issues"} 
[2026-07-15 16:30:55] local.WARNING: Large IO value detected {"io_id":105,"raw_value":58075809043709959,"note":"Value kept but may cause issues"} 
[2026-07-15 16:30:55] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-15 16:30:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-15 16:30:55] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":1660944384,"corrected_to":0} 
[2026-07-15 16:30:55] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3079143498,"note":"Value kept but may cause issues"} 
[2026-07-15 16:30:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-15 16:30:55] local.WARNING: Large IO value detected {"io_id":120,"raw_value":3355520280,"note":"Value kept but may cause issues"} 
[2026-07-15 16:30:55] local.WARNING: Large IO value detected {"io_id":21,"raw_value":3392602112,"note":"Value kept but may cause issues"} 
[2026-07-15 16:30:55] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,202,159,226,45,181,73,43,10,66,214,128,183,42,1,240,35,227,101,33,4,113,205,120,29,176,239,51,2,21,7,74],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":202,"original":1660944384,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-15 16:30:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332505131265425408,"timestamp_seconds":5332505131265425.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 16:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":134915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":134915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":134915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732961280001,"66":13102,"105":206,"83":41984,"24":6,"16":6133604140711936,"45":1739022805492834304},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732961280001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:30:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:30:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6133604140711936,"km_value":6133604140711.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492834304,"description":"Unknown IO ID 45"} 
[2026-07-15 16:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732961280001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739022805492834304}} 
[2026-07-15 16:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":134915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:30:55] local.INFO: GPS data processed {"connection_id":134915,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:30:55] local.INFO: Acknowledgment sent {"connection_id":134915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:30:57] local.INFO: TCP Data received {"connection_id":133553,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133553,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:30:57] local.INFO: Processing buffer {"connection_id":133553,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:30:57] local.INFO: IMEI packet received {"connection_id":133553,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 16:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":133553,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:30:58] local.INFO: TCP Data received {"connection_id":133553,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f656ea978012d0e3e000706fe700024016721..."} 
[2026-07-15 16:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656ea978012d0e3e000706fe700024016721..."} 
[2026-07-15 16:30:58] local.INFO: Processing buffer {"connection_id":133553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656ea978012d0e3e000706fe700024016721..."} 
[2026-07-15 16:30:58] local.INFO: Packet analysis {"connection_id":133553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656e"} 
[2026-07-15 16:30:58] local.INFO: Extracted packet for processing {"connection_id":133553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656e"} 
[2026-07-15 16:30:58] local.INFO: GPS Element Parsed {"raw_longitude":755908096,"raw_latitude":117898864,"longitude_deg":75.5908096,"latitude_deg":11.7898864,"altitude":36,"angle":359,"satellites":33,"speed":2,"hex_longitude":"2d0e3e00","hex_latitude":"0706fe70","is_valid_coordinates":true} 
[2026-07-15 16:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732969472001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24708225299382272,"note":"Value kept but may cause issues"} 
[2026-07-15 16:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025976320292194304,"note":"Value kept but may cause issues"} 
[2026-07-15 16:30:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784113179000,"timestamp_ms":1784113179000,"timestamp_seconds":1784113179,"priority":1,"record_length":96,"hex_timestamp":"0000019f656ea978"} 
[2026-07-15 16:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:30:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-15 16:30:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:30:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":133553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":133553,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":133553,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:30:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732969472001,"66":14450,"219":206,"94":10240,"24":2,"16":24708225299382272,"45":1025976320292194304},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-15 16:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732969472001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:30:58] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-15 16:30:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 16:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24708225299382272,"km_value":24708225299382.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025976320292194304,"description":"Unknown IO ID 45"} 
[2026-07-15 16:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732969472001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":1025976320292194304}} 
[2026-07-15 16:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":133553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491791,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:30:58] local.INFO: GPS data processed {"connection_id":133553,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:30:58] local.INFO: Acknowledgment sent {"connection_id":133553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:30:59] local.INFO: TCP Data received {"connection_id":133554,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133554,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:30:59] local.INFO: Processing buffer {"connection_id":133554,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:30:59] local.INFO: IMEI packet received {"connection_id":133554,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 16:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":133554,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:31:00] local.INFO: TCP Data received {"connection_id":132531,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:31:00] local.INFO: Processing buffer {"connection_id":132531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:31:00] local.INFO: IMEI packet received {"connection_id":132531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":132531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:31:04] local.INFO: TCP Data received {"connection_id":133554,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133554,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:31:04] local.INFO: Processing buffer {"connection_id":133554,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:31:04] local.INFO: IMEI packet received {"connection_id":133554,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":133554,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:31:05] local.INFO: TCP Data received {"connection_id":133554,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f656ee410012d79d64005e5bbc8000900aa2a..."} 
[2026-07-15 16:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656ee410012d79d64005e5bbc8000900aa2a..."} 
[2026-07-15 16:31:05] local.INFO: Processing buffer {"connection_id":133554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656ee410012d79d64005e5bbc8000900aa2a..."} 
[2026-07-15 16:31:05] local.INFO: Packet analysis {"connection_id":133554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656e"} 
[2026-07-15 16:31:05] local.INFO: Extracted packet for processing {"connection_id":133554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656e"} 
[2026-07-15 16:31:05] local.INFO: GPS Element Parsed {"raw_longitude":762959424,"raw_latitude":98941896,"longitude_deg":76.2959424,"latitude_deg":9.8941896,"altitude":9,"angle":170,"satellites":42,"speed":0,"hex_longitude":"2d79d640","hex_latitude":"05e5bbc8","is_valid_coordinates":true} 
[2026-07-15 16:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732900608001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106615261678796800,"note":"Value kept but may cause issues"} 
[2026-07-15 16:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779274917678663680,"note":"Value kept but may cause issues"} 
[2026-07-15 16:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784113194000,"timestamp_ms":1784113194000,"timestamp_seconds":1784113194,"priority":1,"record_length":96,"hex_timestamp":"0000019f656ee410"} 
[2026-07-15 16:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 16:31:05] 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-07-15 16:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":133554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":133554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":133554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732900608001,"66":2242,"182":206,"87":13824,"24":0,"16":106615261678796800,"45":8779274917678663680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-15 16:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732900608001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:31:05] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 16:31:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 16:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106615261678796800,"km_value":106615261678796.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779274917678663680,"description":"Unknown IO ID 45"} 
[2026-07-15 16:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732900608001,"power":2242,"unknown_182":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8779274917678663680}} 
[2026-07-15 16:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":133554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491792,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:31:05] local.INFO: GPS data processed {"connection_id":133554,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:31:05] local.INFO: Acknowledgment sent {"connection_id":133554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:31:06] local.INFO: TCP Data received {"connection_id":132531,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:31:06] local.INFO: Processing buffer {"connection_id":132531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:31:06] local.INFO: IMEI packet received {"connection_id":132531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":132531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:31:06] local.INFO: TCP Data received {"connection_id":132531,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f656b59d0012d7f9b8005afd770000000062f..."} 
[2026-07-15 16:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656b59d0012d7f9b8005afd770000000062f..."} 
[2026-07-15 16:31:06] local.INFO: Processing buffer {"connection_id":132531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656b59d0012d7f9b8005afd770000000062f..."} 
[2026-07-15 16:31:06] local.INFO: Packet analysis {"connection_id":132531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656b"} 
[2026-07-15 16:31:06] local.INFO: Extracted packet for processing {"connection_id":132531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656b"} 
[2026-07-15 16:31:06] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":0,"angle":6,"satellites":47,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732841472001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784112962000,"timestamp_ms":1784112962000,"timestamp_seconds":1784112962,"priority":1,"record_length":96,"hex_timestamp":"0000019f656b59d0"} 
[2026-07-15 16:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 16:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:31:06] 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-07-15 16:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732841472001,"66":25995,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732841472001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:31:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:31:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732841472001,"power":25995,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":132531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:31:07] local.INFO: GPS data processed {"connection_id":132531,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:31:07] local.INFO: Acknowledgment sent {"connection_id":132531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:31:26] local.INFO: TCP Data received {"connection_id":134915,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f656e43e8012d1820400721b230004a00d02c..."} 
[2026-07-15 16:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656e43e8012d1820400721b230004a00d02c..."} 
[2026-07-15 16:31:26] local.INFO: Processing buffer {"connection_id":134915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656e43e8012d1820400721b230004a00d02c..."} 
[2026-07-15 16:31:26] local.INFO: Packet analysis {"connection_id":134915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656e"} 
[2026-07-15 16:31:26] local.INFO: Extracted packet for processing {"connection_id":134915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656e"} 
[2026-07-15 16:31:26] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648816,"longitude_deg":75.655584,"latitude_deg":11.9648816,"altitude":74,"angle":208,"satellites":44,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b230","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732961792001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6133625615548416,"note":"Value kept but may cause issues"} 
[2026-07-15 16:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260235776,"note":"Value kept but may cause issues"} 
[2026-07-15 16:31:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784113153000,"timestamp_ms":1784113153000,"timestamp_seconds":1784113153,"priority":1,"record_length":96,"hex_timestamp":"0000019f656e43e8"} 
[2026-07-15 16:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:31:26] 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-07-15 16: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-15 16:31:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16: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-07-15 16:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":134915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":134915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":134915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:31:26] 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-07-15 16:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732961792001,"66":13015,"105":206,"83":41984,"24":0,"16":6133625615548416,"45":1738811699260235776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732961792001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:31:26] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:31:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6133625615548416,"km_value":6133625615548.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260235776,"description":"Unknown IO ID 45"} 
[2026-07-15 16:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732961792001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260235776}} 
[2026-07-15 16:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":134915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:31:26] local.INFO: GPS data processed {"connection_id":134915,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:31:26] local.INFO: Acknowledgment sent {"connection_id":134915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:31:28] local.INFO: TCP Data received {"connection_id":133553,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f65702c30012d0e3100070683f0002100f721..."} 
[2026-07-15 16:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65702c30012d0e3100070683f0002100f721..."} 
[2026-07-15 16:31:28] local.INFO: Processing buffer {"connection_id":133553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65702c30012d0e3100070683f0002100f721..."} 
[2026-07-15 16:31:28] local.INFO: Packet analysis {"connection_id":133553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6570"} 
[2026-07-15 16:31:28] local.INFO: Extracted packet for processing {"connection_id":133553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6570"} 
[2026-07-15 16:31:28] local.INFO: GPS Element Parsed {"raw_longitude":755904768,"raw_latitude":117867504,"longitude_deg":75.5904768,"latitude_deg":11.7867504,"altitude":33,"angle":247,"satellites":33,"speed":9,"hex_longitude":"2d0e3100","hex_latitude":"070683f0","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:31:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732997888001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:31:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24709797257412608,"note":"Value kept but may cause issues"} 
[2026-07-15 16:31:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1023443045494239232,"note":"Value kept but may cause issues"} 
[2026-07-15 16:31:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:31:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784113278000,"timestamp_ms":1784113278000,"timestamp_seconds":1784113278,"priority":1,"record_length":96,"hex_timestamp":"0000019f65702c30"} 
[2026-07-15 16:31:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:31:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-15 16:31:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16: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-07-15 16:31:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:31:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:31:28] local.INFO: Teltonika packet parsed successfully {"connection_id":133553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:31:28] local.INFO: Passing IMEI to GPS processor {"connection_id":133553,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:31:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":133553,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:31:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:31:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:31:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:31:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732997888001,"66":14515,"219":206,"94":10240,"24":9,"16":24709797257412608,"45":1023443045494239232},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-15 16:31:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:31:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:31:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732997888001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:31:28] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-15 16:31:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 16:31:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24709797257412608,"km_value":24709797257412.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:31:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1023443045494239232,"description":"Unknown IO ID 45"} 
[2026-07-15 16:31:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732997888001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":1023443045494239232}} 
[2026-07-15 16:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":133553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491795,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:31:29] local.INFO: GPS data processed {"connection_id":133553,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:31:29] local.INFO: Acknowledgment sent {"connection_id":133553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:31:36] local.INFO: TCP Data received {"connection_id":133554,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f656ee410012d79d64005e5bbc8000900aa2a..."} 
[2026-07-15 16:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656ee410012d79d64005e5bbc8000900aa2a..."} 
[2026-07-15 16:31:36] local.INFO: Processing buffer {"connection_id":133554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656ee410012d79d64005e5bbc8000900aa2a..."} 
[2026-07-15 16:31:36] local.INFO: Packet analysis {"connection_id":133554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656e"} 
[2026-07-15 16:31:36] local.INFO: Extracted packet for processing {"connection_id":133554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656e"} 
[2026-07-15 16:31:36] local.INFO: GPS Element Parsed {"raw_longitude":762959424,"raw_latitude":98941896,"longitude_deg":76.2959424,"latitude_deg":9.8941896,"altitude":9,"angle":170,"satellites":42,"speed":0,"hex_longitude":"2d79d640","hex_latitude":"05e5bbc8","is_valid_coordinates":true} 
[2026-07-15 16:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732900608001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106615261678796800,"note":"Value kept but may cause issues"} 
[2026-07-15 16:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779274917678663680,"note":"Value kept but may cause issues"} 
[2026-07-15 16:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784113194000,"timestamp_ms":1784113194000,"timestamp_seconds":1784113194,"priority":1,"record_length":96,"hex_timestamp":"0000019f656ee410"} 
[2026-07-15 16:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 16:31:36] 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-07-15 16:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":133554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":133554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":133554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:31:36] 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-07-15 16:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732900608001,"66":2242,"182":206,"87":13824,"24":0,"16":106615261678796800,"45":8779274917678663680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-15 16:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732900608001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:31:36] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 16:31:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 16:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106615261678796800,"km_value":106615261678796.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779274917678663680,"description":"Unknown IO ID 45"} 
[2026-07-15 16:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732900608001,"power":2242,"unknown_182":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8779274917678663680}} 
[2026-07-15 16:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":133554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491796,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:31:36] local.INFO: GPS data processed {"connection_id":133554,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:31:36] local.INFO: Acknowledgment sent {"connection_id":133554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:31:38] local.INFO: TCP Data received {"connection_id":132531,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f656b59d0012d7f9b8005afd770000000062f..."} 
[2026-07-15 16:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656b59d0012d7f9b8005afd770000000062f..."} 
[2026-07-15 16:31:38] local.INFO: Processing buffer {"connection_id":132531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656b59d0012d7f9b8005afd770000000062f..."} 
[2026-07-15 16:31:38] local.INFO: Packet analysis {"connection_id":132531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656b"} 
[2026-07-15 16:31:38] local.INFO: Extracted packet for processing {"connection_id":132531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656b"} 
[2026-07-15 16:31:38] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":0,"angle":6,"satellites":47,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 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-07-15 16:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732841472001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784112962000,"timestamp_ms":1784112962000,"timestamp_seconds":1784112962,"priority":1,"record_length":96,"hex_timestamp":"0000019f656b59d0"} 
[2026-07-15 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-07-15 16:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 16:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 16:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732841472001,"66":25995,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732841472001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:31:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:31:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732841472001,"power":25995,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":132531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:31:38] local.INFO: GPS data processed {"connection_id":132531,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:31:38] local.INFO: Acknowledgment sent {"connection_id":132531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:31:51] local.INFO: TCP Data received {"connection_id":132713,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:31:51] local.INFO: Processing buffer {"connection_id":132713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:31:51] local.INFO: IMEI packet received {"connection_id":132713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":132713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:31:52] local.INFO: TCP Data received {"connection_id":132714,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132714,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:31:52] local.INFO: Processing buffer {"connection_id":132714,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:31:52] local.INFO: IMEI packet received {"connection_id":132714,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 16:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":132714,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:31:55] local.INFO: TCP Data received {"connection_id":132713,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:31:55] local.INFO: Processing buffer {"connection_id":132713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:31:55] local.INFO: IMEI packet received {"connection_id":132713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":132713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:31:56] local.INFO: TCP Data received {"connection_id":132713,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f656e95f0012d1820400721b230004a00d02b..."} 
[2026-07-15 16:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656e95f0012d1820400721b230004a00d02b..."} 
[2026-07-15 16:31:56] local.INFO: Processing buffer {"connection_id":132713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656e95f0012d1820400721b230004a00d02b..."} 
[2026-07-15 16:31:56] local.INFO: Packet analysis {"connection_id":132713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656e"} 
[2026-07-15 16:31:56] local.INFO: Extracted packet for processing {"connection_id":132713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656e"} 
[2026-07-15 16:31:56] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648816,"longitude_deg":75.655584,"latitude_deg":11.9648816,"altitude":74,"angle":208,"satellites":43,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b230","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732967168001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6133625615548416,"note":"Value kept but may cause issues"} 
[2026-07-15 16:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539286016,"note":"Value kept but may cause issues"} 
[2026-07-15 16:31:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784113174000,"timestamp_ms":1784113174000,"timestamp_seconds":1784113174,"priority":1,"record_length":96,"hex_timestamp":"0000019f656e95f0"} 
[2026-07-15 16:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:31:56] 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-07-15 16: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-15 16:31:56] 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-07-15 16: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-07-15 16:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:31:56] 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-07-15 16:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732967168001,"66":13037,"105":206,"83":41984,"24":0,"16":6133625615548416,"45":1738459855539286016},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732967168001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:31:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:31:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6133625615548416,"km_value":6133625615548.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539286016,"description":"Unknown IO ID 45"} 
[2026-07-15 16:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732967168001,"power":13037,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539286016}} 
[2026-07-15 16:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":132713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:31:56] local.INFO: GPS data processed {"connection_id":132713,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:31:56] local.INFO: Acknowledgment sent {"connection_id":132713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:31:57] local.INFO: TCP Data received {"connection_id":132714,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132714,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:31:57] local.INFO: Processing buffer {"connection_id":132714,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:31:57] local.INFO: IMEI packet received {"connection_id":132714,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 16:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":132714,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:31:57] local.INFO: TCP Data received {"connection_id":132714,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f657043a0012d0e2c40070682280020010421..."} 
[2026-07-15 16:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f657043a0012d0e2c40070682280020010421..."} 
[2026-07-15 16:31:57] local.INFO: Processing buffer {"connection_id":132714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f657043a0012d0e2c40070682280020010421..."} 
[2026-07-15 16:31:57] local.INFO: Packet analysis {"connection_id":132714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6570"} 
[2026-07-15 16:31:57] local.INFO: Extracted packet for processing {"connection_id":132714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6570"} 
[2026-07-15 16:31:57] local.INFO: GPS Element Parsed {"raw_longitude":755903552,"raw_latitude":117867048,"longitude_deg":75.5903552,"latitude_deg":11.7867048,"altitude":32,"angle":260,"satellites":33,"speed":9,"hex_longitude":"2d0e2c40","hex_latitude":"07068228","is_valid_coordinates":true} 
[2026-07-15 16:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732999168001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24709861681922048,"note":"Value kept but may cause issues"} 
[2026-07-15 16:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022598620563894272,"note":"Value kept but may cause issues"} 
[2026-07-15 16:31:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784113284000,"timestamp_ms":1784113284000,"timestamp_seconds":1784113284,"priority":1,"record_length":96,"hex_timestamp":"0000019f657043a0"} 
[2026-07-15 16:31:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:31:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-15 16:31:57] 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-07-15 16:31:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:31:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":132714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":132714,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":132714,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:31:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732999168001,"66":14548,"219":206,"94":10240,"24":9,"16":24709861681922048,"45":1022598620563894272},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-15 16:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732999168001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:31:57] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-15 16:31:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 16:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24709861681922048,"km_value":24709861681922.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022598620563894272,"description":"Unknown IO ID 45"} 
[2026-07-15 16:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732999168001,"power":14548,"unknown_219":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":1022598620563894272}} 
[2026-07-15 16:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":132714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491799,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:31:57] local.INFO: GPS data processed {"connection_id":132714,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:31:57] local.INFO: Acknowledgment sent {"connection_id":132714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:31:59] local.INFO: TCP Data received {"connection_id":132533,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132533,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:31:59] local.INFO: Processing buffer {"connection_id":132533,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:31:59] local.INFO: IMEI packet received {"connection_id":132533,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 16:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":132533,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:32:04] local.INFO: TCP Data received {"connection_id":132533,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132533,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:32:04] local.INFO: Processing buffer {"connection_id":132533,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:32:04] local.INFO: IMEI packet received {"connection_id":132533,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":132533,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:32:05] local.INFO: TCP Data received {"connection_id":132533,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f656ee410012d79d64005e5bbc8000900aa2a..."} 
[2026-07-15 16:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656ee410012d79d64005e5bbc8000900aa2a..."} 
[2026-07-15 16:32:05] local.INFO: Processing buffer {"connection_id":132533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656ee410012d79d64005e5bbc8000900aa2a..."} 
[2026-07-15 16:32:05] local.INFO: Packet analysis {"connection_id":132533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656e"} 
[2026-07-15 16:32:05] local.INFO: Extracted packet for processing {"connection_id":132533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656e"} 
[2026-07-15 16:32:05] local.INFO: GPS Element Parsed {"raw_longitude":762959424,"raw_latitude":98941896,"longitude_deg":76.2959424,"latitude_deg":9.8941896,"altitude":9,"angle":170,"satellites":42,"speed":0,"hex_longitude":"2d79d640","hex_latitude":"05e5bbc8","is_valid_coordinates":true} 
[2026-07-15 16:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732900608001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106615261678796800,"note":"Value kept but may cause issues"} 
[2026-07-15 16:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779274917678663680,"note":"Value kept but may cause issues"} 
[2026-07-15 16:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784113194000,"timestamp_ms":1784113194000,"timestamp_seconds":1784113194,"priority":1,"record_length":96,"hex_timestamp":"0000019f656ee410"} 
[2026-07-15 16:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 16:32:05] 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-07-15 16:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132533,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132533,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732900608001,"66":2242,"182":206,"87":13824,"24":0,"16":106615261678796800,"45":8779274917678663680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-15 16:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732900608001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:32:05] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 16:32:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 16:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106615261678796800,"km_value":106615261678796.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779274917678663680,"description":"Unknown IO ID 45"} 
[2026-07-15 16:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732900608001,"power":2242,"unknown_182":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8779274917678663680}} 
[2026-07-15 16:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":132533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491800,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:32:05] local.INFO: GPS data processed {"connection_id":132533,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:32:05] local.INFO: Acknowledgment sent {"connection_id":132533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:32:06] local.INFO: TCP Data received {"connection_id":133555,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:32:06] local.INFO: Processing buffer {"connection_id":133555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:32:06] local.INFO: IMEI packet received {"connection_id":133555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":133555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:32:11] local.INFO: TCP Data received {"connection_id":133555,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:32:11] local.INFO: Processing buffer {"connection_id":133555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:32:11] local.INFO: IMEI packet received {"connection_id":133555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":133555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:32:11] local.INFO: TCP Data received {"connection_id":133555,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f656ff198012d7f9b8005afd770000000062c..."} 
[2026-07-15 16:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656ff198012d7f9b8005afd770000000062c..."} 
[2026-07-15 16:32:11] local.INFO: Processing buffer {"connection_id":133555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656ff198012d7f9b8005afd770000000062c..."} 
[2026-07-15 16:32:11] local.INFO: Packet analysis {"connection_id":133555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656f"} 
[2026-07-15 16:32:11] local.INFO: Extracted packet for processing {"connection_id":133555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656f"} 
[2026-07-15 16:32:11] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":0,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732918272001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784113263000,"timestamp_ms":1784113263000,"timestamp_seconds":1784113263,"priority":1,"record_length":96,"hex_timestamp":"0000019f656ff198"} 
[2026-07-15 16:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 16:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":133555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":133555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":133555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:32:11] 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-07-15 16:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732918272001,"66":25973,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732918272001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:32:11] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:32:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732918272001,"power":25973,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":133555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:32:11] local.INFO: GPS data processed {"connection_id":133555,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:32:11] local.INFO: Acknowledgment sent {"connection_id":133555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:32:16] local.INFO: TCP Data received {"connection_id":133555,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f656ff198012d7f9b8005afd770000000062c..."} 
[2026-07-15 16:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656ff198012d7f9b8005afd770000000062c..."} 
[2026-07-15 16:32:16] local.INFO: Processing buffer {"connection_id":133555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656ff198012d7f9b8005afd770000000062c..."} 
[2026-07-15 16:32:16] local.INFO: Packet analysis {"connection_id":133555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656f"} 
[2026-07-15 16:32:16] local.INFO: Extracted packet for processing {"connection_id":133555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656f"} 
[2026-07-15 16:32:16] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":0,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732918272001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:32:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784113263000,"timestamp_ms":1784113263000,"timestamp_seconds":1784113263,"priority":1,"record_length":96,"hex_timestamp":"0000019f656ff198"} 
[2026-07-15 16:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:32:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 16:32:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:32:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":133555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":133555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":133555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:32:16] 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-07-15 16:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732918272001,"66":25973,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732918272001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:32:16] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:32:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732918272001,"power":25973,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":133555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:32:16] local.INFO: GPS data processed {"connection_id":133555,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:32:16] local.INFO: Acknowledgment sent {"connection_id":133555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:32:27] local.INFO: TCP Data received {"connection_id":132713,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f656ee7f8012d1820400721b230004a00d02c..."} 
[2026-07-15 16:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656ee7f8012d1820400721b230004a00d02c..."} 
[2026-07-15 16:32:27] local.INFO: Processing buffer {"connection_id":132713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656ee7f8012d1820400721b230004a00d02c..."} 
[2026-07-15 16:32:27] local.INFO: Packet analysis {"connection_id":132713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656e"} 
[2026-07-15 16:32:27] local.INFO: Extracted packet for processing {"connection_id":132713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656e"} 
[2026-07-15 16:32:27] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648816,"longitude_deg":75.655584,"latitude_deg":11.9648816,"altitude":74,"angle":208,"satellites":44,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b230","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732972544001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6133625615548416,"note":"Value kept but may cause issues"} 
[2026-07-15 16:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539286016,"note":"Value kept but may cause issues"} 
[2026-07-15 16:32: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-07-15 16:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784113195000,"timestamp_ms":1784113195000,"timestamp_seconds":1784113195,"priority":1,"record_length":96,"hex_timestamp":"0000019f656ee7f8"} 
[2026-07-15 16:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:32:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-15 16:32:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16: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-07-15 16:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":132713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":132713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":132713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:32: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-07-15 16:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732972544001,"66":13004,"105":206,"83":41984,"24":0,"16":6133625615548416,"45":1738459855539286016},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732972544001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:32:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:32:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6133625615548416,"km_value":6133625615548.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539286016,"description":"Unknown IO ID 45"} 
[2026-07-15 16:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732972544001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539286016}} 
[2026-07-15 16:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":132713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491803,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:32:27] local.INFO: GPS data processed {"connection_id":132713,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:32:27] local.INFO: Acknowledgment sent {"connection_id":132713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:32:28] local.INFO: TCP Data received {"connection_id":132714,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f65704788012d0e2b40070682100020011221..."} 
[2026-07-15 16:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65704788012d0e2b40070682100020011221..."} 
[2026-07-15 16:32:28] local.INFO: Processing buffer {"connection_id":132714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65704788012d0e2b40070682100020011221..."} 
[2026-07-15 16:32:28] local.INFO: Packet analysis {"connection_id":132714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6570"} 
[2026-07-15 16:32:28] local.INFO: Extracted packet for processing {"connection_id":132714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6570"} 
[2026-07-15 16:32:28] local.INFO: GPS Element Parsed {"raw_longitude":755903296,"raw_latitude":117867024,"longitude_deg":75.5903296,"latitude_deg":11.7867024,"altitude":32,"angle":274,"satellites":33,"speed":8,"hex_longitude":"2d0e2b40","hex_latitude":"07068210","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733000704001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24709870271856640,"note":"Value kept but may cause issues"} 
[2026-07-15 16:32:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1021261614424401920,"note":"Value kept but may cause issues"} 
[2026-07-15 16:32:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784113285000,"timestamp_ms":1784113285000,"timestamp_seconds":1784113285,"priority":1,"record_length":96,"hex_timestamp":"0000019f65704788"} 
[2026-07-15 16:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:32:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-15 16:32:28] 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-07-15 16: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-07-15 16:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132714,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132714,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733000704001,"66":14559,"219":206,"94":10240,"24":8,"16":24709870271856640,"45":1021261614424401920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-15 16:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733000704001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:32:28] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-15 16:32:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 16:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24709870271856640,"km_value":24709870271856.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1021261614424401920,"description":"Unknown IO ID 45"} 
[2026-07-15 16:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733000704001,"power":14559,"unknown_219":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":1021261614424401920}} 
[2026-07-15 16:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":132714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491804,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:32:28] local.INFO: GPS data processed {"connection_id":132714,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:32:28] local.INFO: Acknowledgment sent {"connection_id":132714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:32:36] local.INFO: TCP Data received {"connection_id":132533,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f656ee410012d79d64005e5bbc8000900aa2a..."} 
[2026-07-15 16:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656ee410012d79d64005e5bbc8000900aa2a..."} 
[2026-07-15 16:32:36] local.INFO: Processing buffer {"connection_id":132533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656ee410012d79d64005e5bbc8000900aa2a..."} 
[2026-07-15 16:32:36] local.INFO: Packet analysis {"connection_id":132533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656e"} 
[2026-07-15 16:32:36] local.INFO: Extracted packet for processing {"connection_id":132533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656e"} 
[2026-07-15 16:32:36] local.INFO: GPS Element Parsed {"raw_longitude":762959424,"raw_latitude":98941896,"longitude_deg":76.2959424,"latitude_deg":9.8941896,"altitude":9,"angle":170,"satellites":42,"speed":0,"hex_longitude":"2d79d640","hex_latitude":"05e5bbc8","is_valid_coordinates":true} 
[2026-07-15 16:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732900608001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106615261678796800,"note":"Value kept but may cause issues"} 
[2026-07-15 16:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779274917678663680,"note":"Value kept but may cause issues"} 
[2026-07-15 16:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784113194000,"timestamp_ms":1784113194000,"timestamp_seconds":1784113194,"priority":1,"record_length":96,"hex_timestamp":"0000019f656ee410"} 
[2026-07-15 16:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 16:32:36] 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-07-15 16:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132533,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132533,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:32:36] 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-07-15 16:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732900608001,"66":2242,"182":206,"87":13824,"24":0,"16":106615261678796800,"45":8779274917678663680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-15 16:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732900608001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:32:36] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 16:32:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 16:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106615261678796800,"km_value":106615261678796.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779274917678663680,"description":"Unknown IO ID 45"} 
[2026-07-15 16:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732900608001,"power":2242,"unknown_182":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8779274917678663680}} 
[2026-07-15 16:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":132533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491805,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:32:36] local.INFO: GPS data processed {"connection_id":132533,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:32:36] local.INFO: Acknowledgment sent {"connection_id":132533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:32:50] local.INFO: TCP Data received {"connection_id":132534,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:32:50] local.INFO: Processing buffer {"connection_id":132534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:32:50] local.INFO: IMEI packet received {"connection_id":132534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":132534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:32:51] local.INFO: TCP Data received {"connection_id":133557,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133557,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:32:52] local.INFO: Processing buffer {"connection_id":133557,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:32:52] local.INFO: IMEI packet received {"connection_id":133557,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 16:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":133557,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:32:53] local.INFO: TCP Data received {"connection_id":133557,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133557,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:32:53] local.INFO: Processing buffer {"connection_id":133557,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:32:53] local.INFO: IMEI packet received {"connection_id":133557,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 16:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":133557,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:32:54] local.INFO: TCP Data received {"connection_id":133557,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133557,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:32:54] local.INFO: Processing buffer {"connection_id":133557,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:32:54] local.INFO: IMEI packet received {"connection_id":133557,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 16:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":133557,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:32:55] local.INFO: TCP Data received {"connection_id":132534,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:32:55] local.INFO: Processing buffer {"connection_id":132534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:32:55] local.INFO: IMEI packet received {"connection_id":132534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":132534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:32:56] local.INFO: TCP Data received {"connection_id":133557,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133557,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:32:56] local.INFO: Processing buffer {"connection_id":133557,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:32:56] local.INFO: IMEI packet received {"connection_id":133557,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 16:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":133557,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:32:56] local.INFO: TCP Data received {"connection_id":132534,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f656f3a00012d1820400721b230004a00d02b..."} 
[2026-07-15 16:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656f3a00012d1820400721b230004a00d02b..."} 
[2026-07-15 16:32:56] local.INFO: Processing buffer {"connection_id":132534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656f3a00012d1820400721b230004a00d02b..."} 
[2026-07-15 16:32:56] local.INFO: Packet analysis {"connection_id":132534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656f"} 
[2026-07-15 16:32:56] local.INFO: Extracted packet for processing {"connection_id":132534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656f"} 
[2026-07-15 16:32:56] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648816,"longitude_deg":75.655584,"latitude_deg":11.9648816,"altitude":74,"angle":208,"satellites":43,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b230","is_valid_coordinates":true} 
[2026-07-15 16:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732977920001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6133625615548416,"note":"Value kept but may cause issues"} 
[2026-07-15 16:32:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539286016,"note":"Value kept but may cause issues"} 
[2026-07-15 16:32:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784113216000,"timestamp_ms":1784113216000,"timestamp_seconds":1784113216,"priority":1,"record_length":96,"hex_timestamp":"0000019f656f3a00"} 
[2026-07-15 16:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:32:56] 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-07-15 16:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-15 16:32:56] 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-07-15 16:32:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:32:56] 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-07-15 16:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732977920001,"66":12982,"105":206,"83":41984,"24":0,"16":6133625615548416,"45":1738459855539286016},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732977920001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:32:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:32:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6133625615548416,"km_value":6133625615548.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:32:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539286016,"description":"Unknown IO ID 45"} 
[2026-07-15 16:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732977920001,"power":12982,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539286016}} 
[2026-07-15 16:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":132534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:32:56] local.INFO: GPS data processed {"connection_id":132534,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:32:56] local.INFO: Acknowledgment sent {"connection_id":132534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:32:56] local.INFO: TCP Data received {"connection_id":133557,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f65717c20012d0e0240070690880023001121..."} 
[2026-07-15 16:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65717c20012d0e0240070690880023001121..."} 
[2026-07-15 16:32:56] local.INFO: Processing buffer {"connection_id":133557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65717c20012d0e0240070690880023001121..."} 
[2026-07-15 16:32:56] local.INFO: Packet analysis {"connection_id":133557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6571"} 
[2026-07-15 16:32:56] local.INFO: Extracted packet for processing {"connection_id":133557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6571"} 
[2026-07-15 16:32:56] local.INFO: GPS Element Parsed {"raw_longitude":755892800,"raw_latitude":117870728,"longitude_deg":75.58928,"latitude_deg":11.7870728,"altitude":35,"angle":17,"satellites":33,"speed":10,"hex_longitude":"2d0e0240","hex_latitude":"07069088","is_valid_coordinates":true} 
[2026-07-15 16:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733020928001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24710471567278080,"note":"Value kept but may cause issues"} 
[2026-07-15 16:32:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009439665403430912,"note":"Value kept but may cause issues"} 
[2026-07-15 16:32:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784113364000,"timestamp_ms":1784113364000,"timestamp_seconds":1784113364,"priority":1,"record_length":96,"hex_timestamp":"0000019f65717c20"} 
[2026-07-15 16:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:32:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-15 16:32:56] 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-07-15 16:32:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133557,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133557,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:32:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733020928001,"66":14515,"219":206,"94":10240,"24":10,"16":24710471567278080,"45":1009439665403430912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-15 16:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733020928001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:32:56] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-15 16:32:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 16:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24710471567278080,"km_value":24710471567278.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:32:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009439665403430912,"description":"Unknown IO ID 45"} 
[2026-07-15 16:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733020928001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":1009439665403430912}} 
[2026-07-15 16:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":133557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491807,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:32:57] local.INFO: GPS data processed {"connection_id":133557,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:32:57] local.INFO: Acknowledgment sent {"connection_id":133557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:32:59] local.INFO: TCP Data received {"connection_id":132536,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132536,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:32:59] local.INFO: Processing buffer {"connection_id":132536,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:32:59] local.INFO: IMEI packet received {"connection_id":132536,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 16:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":132536,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:33:01] local.INFO: TCP Data received {"connection_id":132535,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:33:01] local.INFO: Processing buffer {"connection_id":132535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:33:01] local.INFO: IMEI packet received {"connection_id":132535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":132535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:33:04] local.INFO: TCP Data received {"connection_id":132536,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132536,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:33:04] local.INFO: Processing buffer {"connection_id":132536,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:33:04] local.INFO: IMEI packet received {"connection_id":132536,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":132536,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:33:05] local.INFO: TCP Data received {"connection_id":132536,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f656ee410012d79d64005e5bbc8000900aa2a..."} 
[2026-07-15 16:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656ee410012d79d64005e5bbc8000900aa2a..."} 
[2026-07-15 16:33:05] local.INFO: Processing buffer {"connection_id":132536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656ee410012d79d64005e5bbc8000900aa2a..."} 
[2026-07-15 16:33:05] local.INFO: Packet analysis {"connection_id":132536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656e"} 
[2026-07-15 16:33:05] local.INFO: Extracted packet for processing {"connection_id":132536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656e"} 
[2026-07-15 16:33:05] local.INFO: GPS Element Parsed {"raw_longitude":762959424,"raw_latitude":98941896,"longitude_deg":76.2959424,"latitude_deg":9.8941896,"altitude":9,"angle":170,"satellites":42,"speed":0,"hex_longitude":"2d79d640","hex_latitude":"05e5bbc8","is_valid_coordinates":true} 
[2026-07-15 16:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732900608001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106615261678796800,"note":"Value kept but may cause issues"} 
[2026-07-15 16:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779274917678663680,"note":"Value kept but may cause issues"} 
[2026-07-15 16:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784113194000,"timestamp_ms":1784113194000,"timestamp_seconds":1784113194,"priority":1,"record_length":96,"hex_timestamp":"0000019f656ee410"} 
[2026-07-15 16:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 16:33:05] 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-07-15 16:33: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-07-15 16:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732900608001,"66":2242,"182":206,"87":13824,"24":0,"16":106615261678796800,"45":8779274917678663680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-15 16:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732900608001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:33:05] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 16:33:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 16:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106615261678796800,"km_value":106615261678796.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779274917678663680,"description":"Unknown IO ID 45"} 
[2026-07-15 16:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732900608001,"power":2242,"unknown_182":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8779274917678663680}} 
[2026-07-15 16:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":132536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491808,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:33:05] local.INFO: GPS data processed {"connection_id":132536,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:33:05] local.INFO: Acknowledgment sent {"connection_id":132536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:33:06] local.INFO: TCP Data received {"connection_id":132535,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:33:06] local.INFO: Processing buffer {"connection_id":132535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:33:06] local.INFO: IMEI packet received {"connection_id":132535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":132535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:33:07] local.INFO: TCP Data received {"connection_id":132535,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f656ff198012d7f9b8005afd770000000062c..."} 
[2026-07-15 16:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656ff198012d7f9b8005afd770000000062c..."} 
[2026-07-15 16:33:07] local.INFO: Processing buffer {"connection_id":132535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656ff198012d7f9b8005afd770000000062c..."} 
[2026-07-15 16:33:07] local.INFO: Packet analysis {"connection_id":132535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656f"} 
[2026-07-15 16:33:07] local.INFO: Extracted packet for processing {"connection_id":132535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656f"} 
[2026-07-15 16:33:07] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":0,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732918272001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784113263000,"timestamp_ms":1784113263000,"timestamp_seconds":1784113263,"priority":1,"record_length":96,"hex_timestamp":"0000019f656ff198"} 
[2026-07-15 16:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 16:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732918272001,"66":25973,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732918272001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:33:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:33:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732918272001,"power":25973,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":132535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:33:07] local.INFO: GPS data processed {"connection_id":132535,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:33:07] local.INFO: Acknowledgment sent {"connection_id":132535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:33:27] local.INFO: TCP Data received {"connection_id":132534,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f65717c20012d1821800721af08004c00442b..."} 
[2026-07-15 16:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65717c20012d1821800721af08004c00442b..."} 
[2026-07-15 16:33:27] local.INFO: Processing buffer {"connection_id":132534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65717c20012d1821800721af08004c00442b..."} 
[2026-07-15 16:33:27] local.INFO: Packet analysis {"connection_id":132534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6571"} 
[2026-07-15 16:33:27] local.INFO: Extracted packet for processing {"connection_id":132534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6571"} 
[2026-07-15 16:33:27] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119648008,"longitude_deg":75.655616,"latitude_deg":11.9648008,"altitude":76,"angle":68,"satellites":43,"speed":5,"hex_longitude":"2d182180","hex_latitude":"0721af08","is_valid_coordinates":true} 
[2026-07-15 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-07-15 16:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733020928001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6133685745090560,"note":"Value kept but may cause issues"} 
[2026-07-15 16:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771603968,"note":"Value kept but may cause issues"} 
[2026-07-15 16:33: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-07-15 16:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784113364000,"timestamp_ms":1784113364000,"timestamp_seconds":1784113364,"priority":1,"record_length":96,"hex_timestamp":"0000019f65717c20"} 
[2026-07-15 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-07-15 16:33:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-15 16:33:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 16:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":132534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":132534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":132534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:33: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-07-15 16:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733020928001,"66":14211,"105":206,"83":41984,"24":5,"16":6133685745090560,"45":1738670961771603968},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733020928001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:33:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:33:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6133685745090560,"km_value":6133685745090.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771603968,"description":"Unknown IO ID 45"} 
[2026-07-15 16:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733020928001,"power":14211,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1738670961771603968}} 
[2026-07-15 16:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":132534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491810,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:33:28] local.INFO: GPS data processed {"connection_id":132534,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:33:28] local.INFO: Acknowledgment sent {"connection_id":132534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:33:28] local.INFO: TCP Data received {"connection_id":133557,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f65718008012d0e02c0070691400024003120..."} 
[2026-07-15 16:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65718008012d0e02c0070691400024003120..."} 
[2026-07-15 16:33:28] local.INFO: Processing buffer {"connection_id":133557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65718008012d0e02c0070691400024003120..."} 
[2026-07-15 16:33:28] local.INFO: Packet analysis {"connection_id":133557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6571"} 
[2026-07-15 16:33:28] local.INFO: Extracted packet for processing {"connection_id":133557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6571"} 
[2026-07-15 16:33:28] local.INFO: GPS Element Parsed {"raw_longitude":755892928,"raw_latitude":117870912,"longitude_deg":75.5892928,"latitude_deg":11.7870912,"altitude":36,"angle":49,"satellites":32,"speed":8,"hex_longitude":"2d0e02c0","hex_latitude":"07069140","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733021184001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24710480157212672,"note":"Value kept but may cause issues"} 
[2026-07-15 16:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009439665403496448,"note":"Value kept but may cause issues"} 
[2026-07-15 16:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784113365000,"timestamp_ms":1784113365000,"timestamp_seconds":1784113365,"priority":1,"record_length":96,"hex_timestamp":"0000019f65718008"} 
[2026-07-15 16:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-15 16:33:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16: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-07-15 16:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":133557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":133557,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":133557,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733021184001,"66":14515,"219":206,"94":10240,"24":8,"16":24710480157212672,"45":1009439665403496448},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-15 16:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733021184001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:33:28] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-15 16:33:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 16:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24710480157212672,"km_value":24710480157212.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009439665403496448,"description":"Unknown IO ID 45"} 
[2026-07-15 16:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733021184001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":1009439665403496448}} 
[2026-07-15 16:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":133557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491811,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:33:28] local.INFO: GPS data processed {"connection_id":133557,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:33:28] local.INFO: Acknowledgment sent {"connection_id":133557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:33:36] local.INFO: TCP Data received {"connection_id":132536,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f656ee410012d79d64005e5bbc8000900aa2a..."} 
[2026-07-15 16:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656ee410012d79d64005e5bbc8000900aa2a..."} 
[2026-07-15 16:33:36] local.INFO: Processing buffer {"connection_id":132536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656ee410012d79d64005e5bbc8000900aa2a..."} 
[2026-07-15 16:33:36] local.INFO: Packet analysis {"connection_id":132536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656e"} 
[2026-07-15 16:33:36] local.INFO: Extracted packet for processing {"connection_id":132536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656e"} 
[2026-07-15 16:33:36] local.INFO: GPS Element Parsed {"raw_longitude":762959424,"raw_latitude":98941896,"longitude_deg":76.2959424,"latitude_deg":9.8941896,"altitude":9,"angle":170,"satellites":42,"speed":0,"hex_longitude":"2d79d640","hex_latitude":"05e5bbc8","is_valid_coordinates":true} 
[2026-07-15 16:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732900608001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106615261678796800,"note":"Value kept but may cause issues"} 
[2026-07-15 16:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779274917678663680,"note":"Value kept but may cause issues"} 
[2026-07-15 16:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784113194000,"timestamp_ms":1784113194000,"timestamp_seconds":1784113194,"priority":1,"record_length":96,"hex_timestamp":"0000019f656ee410"} 
[2026-07-15 16:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 16:33:36] 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-07-15 16:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:33:36] 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-07-15 16:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732900608001,"66":2242,"182":206,"87":13824,"24":0,"16":106615261678796800,"45":8779274917678663680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-15 16:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732900608001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:33:36] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 16:33:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 16:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106615261678796800,"km_value":106615261678796.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779274917678663680,"description":"Unknown IO ID 45"} 
[2026-07-15 16:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732900608001,"power":2242,"unknown_182":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8779274917678663680}} 
[2026-07-15 16:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":132536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491812,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:33:36] local.INFO: GPS data processed {"connection_id":132536,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:33:36] local.INFO: Acknowledgment sent {"connection_id":132536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:33:38] local.INFO: TCP Data received {"connection_id":132535,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f656ff198012d7f9b8005afd770000000062c..."} 
[2026-07-15 16:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656ff198012d7f9b8005afd770000000062c..."} 
[2026-07-15 16:33:38] local.INFO: Processing buffer {"connection_id":132535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656ff198012d7f9b8005afd770000000062c..."} 
[2026-07-15 16:33:38] local.INFO: Packet analysis {"connection_id":132535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656f"} 
[2026-07-15 16:33:38] local.INFO: Extracted packet for processing {"connection_id":132535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656f"} 
[2026-07-15 16:33:38] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":0,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 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-07-15 16:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732918272001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784113263000,"timestamp_ms":1784113263000,"timestamp_seconds":1784113263,"priority":1,"record_length":96,"hex_timestamp":"0000019f656ff198"} 
[2026-07-15 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-07-15 16:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 16:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16: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-07-15 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-07-15 16:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732918272001,"66":25973,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732918272001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:33:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:33:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732918272001,"power":25973,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":132535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:33:38] local.INFO: GPS data processed {"connection_id":132535,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:33:38] local.INFO: Acknowledgment sent {"connection_id":132535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:33:50] local.INFO: TCP Data received {"connection_id":133558,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:33:50] local.INFO: Processing buffer {"connection_id":133558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:33:50] local.INFO: IMEI packet received {"connection_id":133558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":133558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:33:51] local.INFO: TCP Data received {"connection_id":133558,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:33:51] local.INFO: Processing buffer {"connection_id":133558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:33:51] local.INFO: IMEI packet received {"connection_id":133558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":133558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:33:52] local.INFO: TCP Data received {"connection_id":133559,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133559,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:33:52] local.INFO: Processing buffer {"connection_id":133559,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:33:52] local.INFO: IMEI packet received {"connection_id":133559,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 16:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":133559,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:33:54] local.INFO: TCP Data received {"connection_id":133558,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:33:54] local.INFO: Processing buffer {"connection_id":133558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:33:54] local.INFO: IMEI packet received {"connection_id":133558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":133558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:33:55] local.INFO: TCP Data received {"connection_id":133558,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:33:55] local.INFO: Processing buffer {"connection_id":133558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:33:55] local.INFO: IMEI packet received {"connection_id":133558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":133558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:33:56] local.INFO: TCP Data received {"connection_id":133558,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f65718008012d1821c00721af40004c00342b..."} 
[2026-07-15 16:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65718008012d1821c00721af40004c00342b..."} 
[2026-07-15 16:33:56] local.INFO: Processing buffer {"connection_id":133558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65718008012d1821c00721af40004c00342b..."} 
[2026-07-15 16:33:56] local.INFO: Packet analysis {"connection_id":133558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6571"} 
[2026-07-15 16:33:56] local.INFO: Extracted packet for processing {"connection_id":133558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6571"} 
[2026-07-15 16:33:56] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119648064,"longitude_deg":75.6556224,"latitude_deg":11.9648064,"altitude":76,"angle":52,"satellites":43,"speed":4,"hex_longitude":"2d1821c0","hex_latitude":"0721af40","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733021184001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6133690040057856,"note":"Value kept but may cause issues"} 
[2026-07-15 16:33:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699259967488,"note":"Value kept but may cause issues"} 
[2026-07-15 16:33:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784113365000,"timestamp_ms":1784113365000,"timestamp_seconds":1784113365,"priority":1,"record_length":96,"hex_timestamp":"0000019f65718008"} 
[2026-07-15 16:33:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:33:56] 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-07-15 16: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-15 16:33:56] 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-07-15 16: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-07-15 16:33:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:33:56] 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-07-15 16:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733021184001,"66":14211,"105":206,"83":41984,"24":4,"16":6133690040057856,"45":1738811699259967488},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733021184001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:33:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:33:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6133690040057856,"km_value":6133690040057.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:33:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699259967488,"description":"Unknown IO ID 45"} 
[2026-07-15 16:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733021184001,"power":14211,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1738811699259967488}} 
[2026-07-15 16:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":133558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:33:56] local.INFO: GPS data processed {"connection_id":133558,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:33:56] local.INFO: Acknowledgment sent {"connection_id":133558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:33:57] local.INFO: TCP Data received {"connection_id":133559,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133559,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:33:57] local.INFO: Processing buffer {"connection_id":133559,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:33:57] local.INFO: IMEI packet received {"connection_id":133559,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 16:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":133559,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:33:57] local.INFO: TCP Data received {"connection_id":133559,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f657237a0012d0e2fc0070683b80027002d20..."} 
[2026-07-15 16:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f657237a0012d0e2fc0070683b80027002d20..."} 
[2026-07-15 16:33:57] local.INFO: Processing buffer {"connection_id":133559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f657237a0012d0e2fc0070683b80027002d20..."} 
[2026-07-15 16:33:57] local.INFO: Packet analysis {"connection_id":133559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6572"} 
[2026-07-15 16:33:57] local.INFO: Extracted packet for processing {"connection_id":133559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6572"} 
[2026-07-15 16:33:57] local.INFO: GPS Element Parsed {"raw_longitude":755904448,"raw_latitude":117867448,"longitude_deg":75.5904448,"latitude_deg":11.7867448,"altitude":39,"angle":45,"satellites":32,"speed":13,"hex_longitude":"2d0e2fc0","hex_latitude":"070683b8","is_valid_coordinates":true} 
[2026-07-15 16:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733033216001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24711115812372480,"note":"Value kept but may cause issues"} 
[2026-07-15 16:33:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1021894933122054144,"note":"Value kept but may cause issues"} 
[2026-07-15 16:33:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784113412000,"timestamp_ms":1784113412000,"timestamp_seconds":1784113412,"priority":1,"record_length":96,"hex_timestamp":"0000019f657237a0"} 
[2026-07-15 16:33:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:33:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 16:33:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:33:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:33:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":133559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":133559,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":133559,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:33:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733033216001,"66":14494,"219":206,"94":10240,"24":13,"16":24711115812372480,"45":1021894933122054144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-15 16:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733033216001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:33:57] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-15 16:33:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 16:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24711115812372480,"km_value":24711115812372.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:33:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1021894933122054144,"description":"Unknown IO ID 45"} 
[2026-07-15 16:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733033216001,"power":14494,"unknown_219":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":1021894933122054144}} 
[2026-07-15 16:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":133559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491815,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:33:57] local.INFO: GPS data processed {"connection_id":133559,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:33:57] local.INFO: Acknowledgment sent {"connection_id":133559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:34:01] local.INFO: TCP Data received {"connection_id":132716,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:34:01] local.INFO: Processing buffer {"connection_id":132716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:34:01] local.INFO: IMEI packet received {"connection_id":132716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":132716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:34:04] local.INFO: TCP Data received {"connection_id":132717,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132717,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:34:04] local.INFO: Processing buffer {"connection_id":132717,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:34:04] local.INFO: IMEI packet received {"connection_id":132717,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 16:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":132717,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:34:06] local.INFO: TCP Data received {"connection_id":132716,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:34:06] local.INFO: Processing buffer {"connection_id":132716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:34:06] local.INFO: IMEI packet received {"connection_id":132716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":132716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:34:07] local.INFO: TCP Data received {"connection_id":132716,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f656ff198012d7f9b8005afd770000000062c..."} 
[2026-07-15 16:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656ff198012d7f9b8005afd770000000062c..."} 
[2026-07-15 16:34:07] local.INFO: Processing buffer {"connection_id":132716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656ff198012d7f9b8005afd770000000062c..."} 
[2026-07-15 16:34:07] local.INFO: Packet analysis {"connection_id":132716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656f"} 
[2026-07-15 16:34:07] local.INFO: Extracted packet for processing {"connection_id":132716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656f"} 
[2026-07-15 16:34:07] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":0,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732918272001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784113263000,"timestamp_ms":1784113263000,"timestamp_seconds":1784113263,"priority":1,"record_length":96,"hex_timestamp":"0000019f656ff198"} 
[2026-07-15 16:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 16:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:34:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732918272001,"66":25973,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732918272001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:34:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:34:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732918272001,"power":25973,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":132716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:34:07] local.INFO: GPS data processed {"connection_id":132716,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:34:07] local.INFO: Acknowledgment sent {"connection_id":132716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:34:09] local.INFO: TCP Data received {"connection_id":132717,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132717,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:34:09] local.INFO: Processing buffer {"connection_id":132717,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:34:09] local.INFO: IMEI packet received {"connection_id":132717,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":132717,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:34:11] local.INFO: TCP Data received {"connection_id":132717,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f656ee410012d79d64005e5bbc8000900aa2a..."} 
[2026-07-15 16:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656ee410012d79d64005e5bbc8000900aa2a..."} 
[2026-07-15 16:34:11] local.INFO: Processing buffer {"connection_id":132717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656ee410012d79d64005e5bbc8000900aa2a..."} 
[2026-07-15 16:34:11] local.INFO: Packet analysis {"connection_id":132717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656e"} 
[2026-07-15 16:34:11] local.INFO: Extracted packet for processing {"connection_id":132717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656e"} 
[2026-07-15 16:34:11] local.INFO: GPS Element Parsed {"raw_longitude":762959424,"raw_latitude":98941896,"longitude_deg":76.2959424,"latitude_deg":9.8941896,"altitude":9,"angle":170,"satellites":42,"speed":0,"hex_longitude":"2d79d640","hex_latitude":"05e5bbc8","is_valid_coordinates":true} 
[2026-07-15 16:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732900608001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106615261678796800,"note":"Value kept but may cause issues"} 
[2026-07-15 16:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779274917678663680,"note":"Value kept but may cause issues"} 
[2026-07-15 16:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784113194000,"timestamp_ms":1784113194000,"timestamp_seconds":1784113194,"priority":1,"record_length":96,"hex_timestamp":"0000019f656ee410"} 
[2026-07-15 16:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 16:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2182,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:34:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732900608001,"66":2242,"182":206,"87":13824,"24":0,"16":106615261678796800,"45":8779274917678663680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-15 16:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732900608001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:34:11] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 16:34:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 16:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106615261678796800,"km_value":106615261678796.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779274917678663680,"description":"Unknown IO ID 45"} 
[2026-07-15 16:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732900608001,"power":2242,"unknown_182":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8779274917678663680}} 
[2026-07-15 16:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":132717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491817,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:34:11] local.INFO: GPS data processed {"connection_id":132717,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:34:11] local.INFO: Acknowledgment sent {"connection_id":132717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:34:15] local.INFO: TCP Data received {"connection_id":132717,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f656ee410012d79d64005e5bbc8000900aa2a..."} 
[2026-07-15 16:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656ee410012d79d64005e5bbc8000900aa2a..."} 
[2026-07-15 16:34:15] local.INFO: Processing buffer {"connection_id":132717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656ee410012d79d64005e5bbc8000900aa2a..."} 
[2026-07-15 16:34:15] local.INFO: Packet analysis {"connection_id":132717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656e"} 
[2026-07-15 16:34:15] local.INFO: Extracted packet for processing {"connection_id":132717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656e"} 
[2026-07-15 16:34:15] local.INFO: GPS Element Parsed {"raw_longitude":762959424,"raw_latitude":98941896,"longitude_deg":76.2959424,"latitude_deg":9.8941896,"altitude":9,"angle":170,"satellites":42,"speed":0,"hex_longitude":"2d79d640","hex_latitude":"05e5bbc8","is_valid_coordinates":true} 
[2026-07-15 16:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732900608001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106615261678796800,"note":"Value kept but may cause issues"} 
[2026-07-15 16:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779274917678663680,"note":"Value kept but may cause issues"} 
[2026-07-15 16:34:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784113194000,"timestamp_ms":1784113194000,"timestamp_seconds":1784113194,"priority":1,"record_length":96,"hex_timestamp":"0000019f656ee410"} 
[2026-07-15 16:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:34:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 16:34:15] 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-07-15 16:34:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":132717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":132717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":132717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:34:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732900608001,"66":2242,"182":206,"87":13824,"24":0,"16":106615261678796800,"45":8779274917678663680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-15 16:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732900608001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:34:15] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 16:34:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 16:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106615261678796800,"km_value":106615261678796.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779274917678663680,"description":"Unknown IO ID 45"} 
[2026-07-15 16:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732900608001,"power":2242,"unknown_182":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8779274917678663680}} 
[2026-07-15 16:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":132717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491818,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:34:15] local.INFO: GPS data processed {"connection_id":132717,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:34:15] local.INFO: Acknowledgment sent {"connection_id":132717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:34:27] local.INFO: TCP Data received {"connection_id":133558,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f657183f0012d1822400721af60004c00212b..."} 
[2026-07-15 16:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f657183f0012d1822400721af60004c00212b..."} 
[2026-07-15 16:34:27] local.INFO: Processing buffer {"connection_id":133558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f657183f0012d1822400721af60004c00212b..."} 
[2026-07-15 16:34:27] local.INFO: Packet analysis {"connection_id":133558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6571"} 
[2026-07-15 16:34:27] local.INFO: Extracted packet for processing {"connection_id":133558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6571"} 
[2026-07-15 16:34:27] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119648096,"longitude_deg":75.6556352,"latitude_deg":11.9648096,"altitude":76,"angle":33,"satellites":43,"speed":1,"hex_longitude":"2d182240","hex_latitude":"0721af60","is_valid_coordinates":true} 
[2026-07-15 16:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733021440001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6133694335025152,"note":"Value kept but may cause issues"} 
[2026-07-15 16:34:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004159488,"note":"Value kept but may cause issues"} 
[2026-07-15 16:34: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-07-15 16:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784113366000,"timestamp_ms":1784113366000,"timestamp_seconds":1784113366,"priority":1,"record_length":96,"hex_timestamp":"0000019f657183f0"} 
[2026-07-15 16:34:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:34:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-15 16:34:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:34:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:34:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":133558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":133558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":133558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:34: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-07-15 16:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733021440001,"66":14211,"105":206,"83":41984,"24":1,"16":6133694335025152,"45":1738882068004159488},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733021440001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:34:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:34:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6133694335025152,"km_value":6133694335025.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:34:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004159488,"description":"Unknown IO ID 45"} 
[2026-07-15 16:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733021440001,"power":14211,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1738882068004159488}} 
[2026-07-15 16:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":133558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491819,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:34:27] local.INFO: GPS data processed {"connection_id":133558,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:34:27] local.INFO: Acknowledgment sent {"connection_id":133558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:34:28] local.INFO: TCP Data received {"connection_id":133559,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f65723b88012d0e3080070684a80027002020..."} 
[2026-07-15 16:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65723b88012d0e3080070684a80027002020..."} 
[2026-07-15 16:34:28] local.INFO: Processing buffer {"connection_id":133559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65723b88012d0e3080070684a80027002020..."} 
[2026-07-15 16:34:28] local.INFO: Packet analysis {"connection_id":133559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6572"} 
[2026-07-15 16:34:28] local.INFO: Extracted packet for processing {"connection_id":133559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6572"} 
[2026-07-15 16:34:28] local.INFO: GPS Element Parsed {"raw_longitude":755904640,"raw_latitude":117867688,"longitude_deg":75.590464,"latitude_deg":11.7867688,"altitude":39,"angle":32,"satellites":32,"speed":11,"hex_longitude":"2d0e3080","hex_latitude":"070684a8","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733033472001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24711132992241664,"note":"Value kept but may cause issues"} 
[2026-07-15 16:34:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022246776842991616,"note":"Value kept but may cause issues"} 
[2026-07-15 16:34:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784113413000,"timestamp_ms":1784113413000,"timestamp_seconds":1784113413,"priority":1,"record_length":96,"hex_timestamp":"0000019f65723b88"} 
[2026-07-15 16:34:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:34:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16: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":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-15 16:34:28] 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-07-15 16: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-07-15 16:34:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:34:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":133559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":133559,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":133559,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:34:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733033472001,"66":14494,"219":206,"94":10240,"24":11,"16":24711132992241664,"45":1022246776842991616},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-15 16:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733033472001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:34:28] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-15 16:34:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 16:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24711132992241664,"km_value":24711132992241.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:34:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022246776842991616,"description":"Unknown IO ID 45"} 
[2026-07-15 16:34:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733033472001,"power":14494,"unknown_219":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":1022246776842991616}} 
[2026-07-15 16:34:28] local.INFO: DEBUG: GPS processor result {"connection_id":133559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491820,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:34:28] local.INFO: GPS data processed {"connection_id":133559,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:34:28] local.INFO: Acknowledgment sent {"connection_id":133559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:34:38] local.INFO: TCP Data received {"connection_id":132716,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f656ff198012d7f9b8005afd770000000062c..."} 
[2026-07-15 16:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656ff198012d7f9b8005afd770000000062c..."} 
[2026-07-15 16:34:38] local.INFO: Processing buffer {"connection_id":132716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656ff198012d7f9b8005afd770000000062c..."} 
[2026-07-15 16:34:38] local.INFO: Packet analysis {"connection_id":132716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656f"} 
[2026-07-15 16:34:38] local.INFO: Extracted packet for processing {"connection_id":132716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656f"} 
[2026-07-15 16:34:38] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":0,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732918272001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784113263000,"timestamp_ms":1784113263000,"timestamp_seconds":1784113263,"priority":1,"record_length":96,"hex_timestamp":"0000019f656ff198"} 
[2026-07-15 16:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 16:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16: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-07-15 16:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732918272001,"66":25973,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732918272001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:34:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:34:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732918272001,"power":25973,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":132716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:34:38] local.INFO: GPS data processed {"connection_id":132716,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:34:38] local.INFO: Acknowledgment sent {"connection_id":132716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:34:49] local.INFO: TCP Data received {"connection_id":133560,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133560,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:34:49] local.INFO: Processing buffer {"connection_id":133560,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:34:49] local.INFO: IMEI packet received {"connection_id":133560,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 16:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":133560,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:34:51] local.INFO: TCP Data received {"connection_id":132537,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132537,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:34:51] local.INFO: Processing buffer {"connection_id":132537,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:34:51] local.INFO: IMEI packet received {"connection_id":132537,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 16:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":132537,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:34:55] local.INFO: TCP Data received {"connection_id":133561,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:34:55] local.INFO: Processing buffer {"connection_id":133561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:34:55] local.INFO: IMEI packet received {"connection_id":133561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":133561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:34:56] local.INFO: TCP Data received {"connection_id":133561,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:34:56] local.INFO: Processing buffer {"connection_id":133561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:34:56] local.INFO: IMEI packet received {"connection_id":133561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":133561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:34:57] local.INFO: TCP Data received {"connection_id":132537,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132537,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:34:57] local.INFO: Processing buffer {"connection_id":132537,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:34:57] local.INFO: IMEI packet received {"connection_id":132537,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 16:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":132537,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:34:57] local.INFO: TCP Data received {"connection_id":132537,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f65724358012d0e3140070686c00028000e20..."} 
[2026-07-15 16:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65724358012d0e3140070686c00028000e20..."} 
[2026-07-15 16:34:57] local.INFO: Processing buffer {"connection_id":132537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65724358012d0e3140070686c00028000e20..."} 
[2026-07-15 16:34:57] local.INFO: Packet analysis {"connection_id":132537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6572"} 
[2026-07-15 16:34:57] local.INFO: Extracted packet for processing {"connection_id":132537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6572"} 
[2026-07-15 16:34:57] local.INFO: GPS Element Parsed {"raw_longitude":755904832,"raw_latitude":117868224,"longitude_deg":75.5904832,"latitude_deg":11.7868224,"altitude":40,"angle":14,"satellites":32,"speed":12,"hex_longitude":"2d0e3140","hex_latitude":"070686c0","is_valid_coordinates":true} 
[2026-07-15 16:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733033728001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24711158762045440,"note":"Value kept but may cause issues"} 
[2026-07-15 16:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022457883075586048,"note":"Value kept but may cause issues"} 
[2026-07-15 16:34:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784113415000,"timestamp_ms":1784113415000,"timestamp_seconds":1784113415,"priority":1,"record_length":96,"hex_timestamp":"0000019f65724358"} 
[2026-07-15 16:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:34:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-15 16:34:57] 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-07-15 16:34:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":132537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":132537,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":132537,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:34:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733033728001,"66":14450,"219":206,"94":10240,"24":12,"16":24711158762045440,"45":1022457883075586048},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-15 16:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733033728001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:34:57] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-15 16:34:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 16:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24711158762045440,"km_value":24711158762045.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022457883075586048,"description":"Unknown IO ID 45"} 
[2026-07-15 16:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733033728001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":1022457883075586048}} 
[2026-07-15 16:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":132537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491822,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:34:58] local.INFO: GPS data processed {"connection_id":132537,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:34:58] local.INFO: Acknowledgment sent {"connection_id":132537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:35:00] local.INFO: TCP Data received {"connection_id":134916,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:35:00] local.INFO: Processing buffer {"connection_id":134916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:35:00] local.INFO: IMEI packet received {"connection_id":134916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":134916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:35:01] local.INFO: TCP Data received {"connection_id":133561,"ip":"42.106.6.22","data_length":812,"data_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019f65..."} 
[2026-07-15 16:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133561,"packet_length":812,"packet_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019f65..."} 
[2026-07-15 16:35:01] local.INFO: Processing buffer {"connection_id":133561,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019f65..."} 
[2026-07-15 16:35:01] local.INFO: IMEI packet received {"connection_id":133561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":133561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:35:05] local.INFO: TCP Data received {"connection_id":132538,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132538,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:35:05] local.INFO: Processing buffer {"connection_id":132538,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:35:05] local.INFO: IMEI packet received {"connection_id":132538,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 16:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":132538,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:35:07] local.INFO: TCP Data received {"connection_id":134916,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:35:07] local.INFO: Processing buffer {"connection_id":134916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:35:07] local.INFO: IMEI packet received {"connection_id":134916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":134916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:35:07] local.INFO: TCP Data received {"connection_id":134916,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f656ff198012d7f9b8005afd770000000062c..."} 
[2026-07-15 16:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656ff198012d7f9b8005afd770000000062c..."} 
[2026-07-15 16:35:08] local.INFO: Processing buffer {"connection_id":134916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656ff198012d7f9b8005afd770000000062c..."} 
[2026-07-15 16:35:08] local.INFO: Packet analysis {"connection_id":134916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656f"} 
[2026-07-15 16:35:08] local.INFO: Extracted packet for processing {"connection_id":134916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656f"} 
[2026-07-15 16:35:08] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":0,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732918272001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784113263000,"timestamp_ms":1784113263000,"timestamp_seconds":1784113263,"priority":1,"record_length":96,"hex_timestamp":"0000019f656ff198"} 
[2026-07-15 16:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:35:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 16:35:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:35:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":134916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":134916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":134916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732918272001,"66":25973,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732918272001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:35:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:35:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732918272001,"power":25973,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":134916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:35:08] local.INFO: GPS data processed {"connection_id":134916,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:35:08] local.INFO: Acknowledgment sent {"connection_id":134916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:35:09] local.INFO: TCP Data received {"connection_id":132538,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132538,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:35:09] local.INFO: Processing buffer {"connection_id":132538,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:35:09] local.INFO: IMEI packet received {"connection_id":132538,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":132538,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:35:19] local.INFO: TCP Data received {"connection_id":132538,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132538,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:35:19] local.INFO: Processing buffer {"connection_id":132538,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:35:19] local.INFO: IMEI packet received {"connection_id":132538,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":132538,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:35:21] local.INFO: TCP Data received {"connection_id":132538,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f6572d7c8012d79d64005e5bbc8000900aa2b..."} 
[2026-07-15 16:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6572d7c8012d79d64005e5bbc8000900aa2b..."} 
[2026-07-15 16:35:21] local.INFO: Processing buffer {"connection_id":132538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6572d7c8012d79d64005e5bbc8000900aa2b..."} 
[2026-07-15 16:35:21] local.INFO: Packet analysis {"connection_id":132538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6572"} 
[2026-07-15 16:35:21] local.INFO: Extracted packet for processing {"connection_id":132538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6572"} 
[2026-07-15 16:35:21] local.INFO: GPS Element Parsed {"raw_longitude":762959424,"raw_latitude":98941896,"longitude_deg":76.2959424,"latitude_deg":9.8941896,"altitude":9,"angle":170,"satellites":43,"speed":0,"hex_longitude":"2d79d640","hex_latitude":"05e5bbc8","is_valid_coordinates":true} 
[2026-07-15 16:35:21] 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-07-15 16:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732977664001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106615261678796800,"note":"Value kept but may cause issues"} 
[2026-07-15 16:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779274917678663680,"note":"Value kept but may cause issues"} 
[2026-07-15 16:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1784113453000,"timestamp_ms":1784113453000,"timestamp_seconds":1784113453,"priority":1,"record_length":96,"hex_timestamp":"0000019f6572d7c8"} 
[2026-07-15 16:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:35:21] 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-07-15 16:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-15 16:35:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16: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-07-15 16:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":132538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":132538,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":132538,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:35: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-07-15 16:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732977664001,"66":2253,"182":206,"87":13824,"24":0,"16":106615261678796800,"45":8779274917678663680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-15 16:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732977664001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:35:21] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 16:35:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 16:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106615261678796800,"km_value":106615261678796.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779274917678663680,"description":"Unknown IO ID 45"} 
[2026-07-15 16:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732977664001,"power":2253,"unknown_182":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8779274917678663680}} 
[2026-07-15 16:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":132538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491824,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:35:21] local.INFO: GPS data processed {"connection_id":132538,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:35:21] local.INFO: Acknowledgment sent {"connection_id":132538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:35:28] local.INFO: TCP Data received {"connection_id":132537,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f6573a6d0012d0e3840070704000026011920..."} 
[2026-07-15 16:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6573a6d0012d0e3840070704000026011920..."} 
[2026-07-15 16:35:28] local.INFO: Processing buffer {"connection_id":132537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6573a6d0012d0e3840070704000026011920..."} 
[2026-07-15 16:35:28] local.INFO: Packet analysis {"connection_id":132537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6573"} 
[2026-07-15 16:35:28] local.INFO: Extracted packet for processing {"connection_id":132537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6573"} 
[2026-07-15 16:35:28] local.INFO: GPS Element Parsed {"raw_longitude":755906624,"raw_latitude":117900288,"longitude_deg":75.5906624,"latitude_deg":11.7900288,"altitude":38,"angle":281,"satellites":32,"speed":12,"hex_longitude":"2d0e3840","hex_latitude":"07070400","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733057024001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24712769374781440,"note":"Value kept but may cause issues"} 
[2026-07-15 16:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025131895362637824,"note":"Value kept but may cause issues"} 
[2026-07-15 16:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784113506000,"timestamp_ms":1784113506000,"timestamp_seconds":1784113506,"priority":1,"record_length":96,"hex_timestamp":"0000019f6573a6d0"} 
[2026-07-15 16:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:35:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-15 16:35:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16: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-07-15 16:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132537,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132537,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733057024001,"66":14450,"219":206,"94":10240,"24":12,"16":24712769374781440,"45":1025131895362637824},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-15 16:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733057024001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:35:28] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-15 16:35:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 16:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24712769374781440,"km_value":24712769374781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025131895362637824,"description":"Unknown IO ID 45"} 
[2026-07-15 16:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733057024001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":1025131895362637824}} 
[2026-07-15 16:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":132537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491825,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:35:29] local.INFO: GPS data processed {"connection_id":132537,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:35:29] local.INFO: Acknowledgment sent {"connection_id":132537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:35:30] local.INFO: TCP Data received {"connection_id":133561,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6571d9e0012d1822400721b020004b015528..."} 
[2026-07-15 16:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6571d9e0012d1822400721b020004b015528..."} 
[2026-07-15 16:35:30] local.INFO: Processing buffer {"connection_id":133561,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f6571d5f8012d1822400721af70004c002128..."} 
[2026-07-15 16:35:30] local.INFO: Packet analysis {"connection_id":133561,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f6571"} 
[2026-07-15 16:35:30] local.INFO: Extracted packet for processing {"connection_id":133561,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6571"} 
[2026-07-15 16:35:30] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119648112,"longitude_deg":75.6556352,"latitude_deg":11.9648112,"altitude":76,"angle":33,"satellites":40,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721af70","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733021696001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6133694335025152,"note":"Value kept but may cause issues"} 
[2026-07-15 16:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492523008,"note":"Value kept but may cause issues"} 
[2026-07-15 16:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784113387000,"timestamp_ms":1784113387000,"timestamp_seconds":1784113387,"priority":1,"record_length":96,"hex_timestamp":"0000019f6571d5f8"} 
[2026-07-15 16:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:35:30] 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-07-15 16: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-15 16:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16: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-07-15 16:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":133561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":133561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":133561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:35:30] 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-07-15 16:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733021696001,"66":14135,"105":206,"83":41984,"24":0,"16":6133694335025152,"45":1739022805492523008},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733021696001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:35:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:35:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6133694335025152,"km_value":6133694335025.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492523008,"description":"Unknown IO ID 45"} 
[2026-07-15 16:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733021696001,"power":14135,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492523008}} 
[2026-07-15 16:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":133561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:35:30] local.INFO: GPS data processed {"connection_id":133561,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:35:30] local.INFO: Acknowledgment sent {"connection_id":133561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:35:30] local.INFO: Packet analysis {"connection_id":133561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6571"} 
[2026-07-15 16:35:30] local.INFO: Extracted packet for processing {"connection_id":133561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6571"} 
[2026-07-15 16:35:30] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119648288,"longitude_deg":75.6556352,"latitude_deg":11.9648288,"altitude":75,"angle":341,"satellites":40,"speed":1,"hex_longitude":"2d182240","hex_latitude":"0721b020","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733027072001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6133702924959744,"note":"Value kept but may cause issues"} 
[2026-07-15 16:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492527104,"note":"Value kept but may cause issues"} 
[2026-07-15 16:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784113388000,"timestamp_ms":1784113388000,"timestamp_seconds":1784113388,"priority":1,"record_length":96,"hex_timestamp":"0000019f6571d9e0"} 
[2026-07-15 16:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:35:30] 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-07-15 16: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-15 16:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16: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-07-15 16:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":133561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":133561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":133561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:35:30] 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-07-15 16:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733027072001,"66":14135,"105":206,"83":41984,"24":1,"16":6133702924959744,"45":1739022805492527104},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733027072001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:35:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:35:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6133702924959744,"km_value":6133702924959.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492527104,"description":"Unknown IO ID 45"} 
[2026-07-15 16:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733027072001,"power":14135,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1739022805492527104}} 
[2026-07-15 16:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":133561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:35:31] local.INFO: GPS data processed {"connection_id":133561,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:35:31] local.INFO: Acknowledgment sent {"connection_id":133561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:35:34] local.INFO: TCP Data received {"connection_id":134917,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134917,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:35:34] local.INFO: Processing buffer {"connection_id":134917,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:35:34] local.INFO: IMEI packet received {"connection_id":134917,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 16:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":134917,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:35:34] local.INFO: TCP Data received {"connection_id":133561,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6571e598012d1821c00721b0c0004b016228..."} 
[2026-07-15 16:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6571e598012d1821c00721b0c0004b016228..."} 
[2026-07-15 16:35:34] local.INFO: Processing buffer {"connection_id":133561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6571e598012d1821c00721b0c0004b016228..."} 
[2026-07-15 16:35:34] local.INFO: Packet analysis {"connection_id":133561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6571"} 
[2026-07-15 16:35:34] local.INFO: Extracted packet for processing {"connection_id":133561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6571"} 
[2026-07-15 16:35:34] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119648448,"longitude_deg":75.6556224,"latitude_deg":11.9648448,"altitude":75,"angle":354,"satellites":40,"speed":3,"hex_longitude":"2d1821c0","hex_latitude":"0721b0c0","is_valid_coordinates":true} 
[2026-07-15 16:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733027328001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6133715809861632,"note":"Value kept but may cause issues"} 
[2026-07-15 16:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492572160,"note":"Value kept but may cause issues"} 
[2026-07-15 16:35: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-07-15 16:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784113391000,"timestamp_ms":1784113391000,"timestamp_seconds":1784113391,"priority":1,"record_length":96,"hex_timestamp":"0000019f6571e598"} 
[2026-07-15 16:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:35:34] 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-07-15 16:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-15 16:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:35:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":133561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":133561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":133561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:35:34] 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-07-15 16:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733027328001,"66":14189,"105":206,"83":41984,"24":3,"16":6133715809861632,"45":1739022805492572160},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733027328001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:35:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:35:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6133715809861632,"km_value":6133715809861.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492572160,"description":"Unknown IO ID 45"} 
[2026-07-15 16:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733027328001,"power":14189,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1739022805492572160}} 
[2026-07-15 16:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":133561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491828,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:35:35] local.INFO: GPS data processed {"connection_id":133561,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:35:35] local.INFO: Acknowledgment sent {"connection_id":133561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:35:39] local.INFO: TCP Data received {"connection_id":134916,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f656ff198012d7f9b8005afd770000000062c..."} 
[2026-07-15 16:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656ff198012d7f9b8005afd770000000062c..."} 
[2026-07-15 16:35:39] local.INFO: Processing buffer {"connection_id":134916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656ff198012d7f9b8005afd770000000062c..."} 
[2026-07-15 16:35:39] local.INFO: Packet analysis {"connection_id":134916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656f"} 
[2026-07-15 16:35:39] local.INFO: Extracted packet for processing {"connection_id":134916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656f"} 
[2026-07-15 16:35:39] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":0,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732918272001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784113263000,"timestamp_ms":1784113263000,"timestamp_seconds":1784113263,"priority":1,"record_length":96,"hex_timestamp":"0000019f656ff198"} 
[2026-07-15 16:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:35:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 16:35:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:35:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":134916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":134916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":134916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:35:39] 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-07-15 16:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732918272001,"66":25973,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732918272001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:35:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:35:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732918272001,"power":25973,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":134916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:35:39] local.INFO: GPS data processed {"connection_id":134916,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:35:39] local.INFO: Acknowledgment sent {"connection_id":134916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:35:54] local.INFO: TCP Data received {"connection_id":133562,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133562,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:35:54] local.INFO: Processing buffer {"connection_id":133562,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:35:54] local.INFO: IMEI packet received {"connection_id":133562,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 16:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":133562,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:35:57] local.INFO: TCP Data received {"connection_id":133562,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133562,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:35:57] local.INFO: Processing buffer {"connection_id":133562,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:35:57] local.INFO: IMEI packet received {"connection_id":133562,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 16:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":133562,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:35:59] local.INFO: TCP Data received {"connection_id":133563,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133563,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:35:59] local.INFO: Processing buffer {"connection_id":133563,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:35:59] local.INFO: IMEI packet received {"connection_id":133563,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 16:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":133563,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:36:00] local.INFO: TCP Data received {"connection_id":132539,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:36:00] local.INFO: Processing buffer {"connection_id":132539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:36:00] local.INFO: IMEI packet received {"connection_id":132539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":132539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:36:01] local.INFO: TCP Data received {"connection_id":133562,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133562,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:36:01] local.INFO: Processing buffer {"connection_id":133562,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:36:01] local.INFO: IMEI packet received {"connection_id":133562,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 16:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":133562,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:36:02] local.INFO: TCP Data received {"connection_id":133562,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f6573b670012d0e3140070704480026010b21..."} 
[2026-07-15 16:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6573b670012d0e3140070704480026010b21..."} 
[2026-07-15 16:36:02] local.INFO: Processing buffer {"connection_id":133562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6573b670012d0e3140070704480026010b21..."} 
[2026-07-15 16:36:02] local.INFO: Packet analysis {"connection_id":133562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6573"} 
[2026-07-15 16:36:02] local.INFO: Extracted packet for processing {"connection_id":133562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6573"} 
[2026-07-15 16:36:02] local.INFO: GPS Element Parsed {"raw_longitude":755904832,"raw_latitude":117900360,"longitude_deg":75.5904832,"latitude_deg":11.790036,"altitude":38,"angle":267,"satellites":33,"speed":20,"hex_longitude":"2d0e3140","hex_latitude":"07070448","is_valid_coordinates":true} 
[2026-07-15 16:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733057536001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24712850979160064,"note":"Value kept but may cause issues"} 
[2026-07-15 16:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1024639314153439232,"note":"Value kept but may cause issues"} 
[2026-07-15 16:36:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784113510000,"timestamp_ms":1784113510000,"timestamp_seconds":1784113510,"priority":1,"record_length":96,"hex_timestamp":"0000019f6573b670"} 
[2026-07-15 16:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:36:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-15 16:36:02] 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-07-15 16:36:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":133562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":133562,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":133562,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733057536001,"66":14537,"219":206,"94":10240,"24":20,"16":24712850979160064,"45":1024639314153439232},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-15 16:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733057536001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:36:02] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-15 16:36:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 16:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24712850979160064,"km_value":24712850979160.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1024639314153439232,"description":"Unknown IO ID 45"} 
[2026-07-15 16:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733057536001,"power":14537,"unknown_219":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":1024639314153439232}} 
[2026-07-15 16:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":133562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491830,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:36:02] local.INFO: GPS data processed {"connection_id":133562,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:36:02] local.INFO: Acknowledgment sent {"connection_id":133562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:36:03] local.INFO: TCP Data received {"connection_id":133563,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133563,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:36:03] local.INFO: Processing buffer {"connection_id":133563,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:36:03] local.INFO: IMEI packet received {"connection_id":133563,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":133563,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:36:04] local.INFO: TCP Data received {"connection_id":133563,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133563,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:36:04] local.INFO: Processing buffer {"connection_id":133563,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:36:04] local.INFO: IMEI packet received {"connection_id":133563,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":133563,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:36:06] local.INFO: TCP Data received {"connection_id":132539,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:36:06] local.INFO: Processing buffer {"connection_id":132539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:36:06] local.INFO: IMEI packet received {"connection_id":132539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":132539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:36:06] local.INFO: TCP Data received {"connection_id":133563,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f6573fcc0012d79f54005e51688000600a72c..."} 
[2026-07-15 16:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6573fcc0012d79f54005e51688000600a72c..."} 
[2026-07-15 16:36:06] local.INFO: Processing buffer {"connection_id":133563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6573fcc0012d79f54005e51688000600a72c..."} 
[2026-07-15 16:36:06] local.INFO: Packet analysis {"connection_id":133563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6573"} 
[2026-07-15 16:36:06] local.INFO: Extracted packet for processing {"connection_id":133563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6573"} 
[2026-07-15 16:36:06] local.INFO: GPS Element Parsed {"raw_longitude":762967360,"raw_latitude":98899592,"longitude_deg":76.296736,"latitude_deg":9.8899592,"altitude":6,"angle":167,"satellites":44,"speed":28,"hex_longitude":"2d79f540","hex_latitude":"05e51688","is_valid_coordinates":true} 
[2026-07-15 16:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733059584001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106617357622837248,"note":"Value kept but may cause issues"} 
[2026-07-15 16:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8785889579622760448,"note":"Value kept but may cause issues"} 
[2026-07-15 16:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784113528000,"timestamp_ms":1784113528000,"timestamp_seconds":1784113528,"priority":1,"record_length":96,"hex_timestamp":"0000019f6573fcc0"} 
[2026-07-15 16:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-15 16:36: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-07-15 16:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:36:06] 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-07-15 16:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733059584001,"66":13254,"182":206,"87":13824,"24":28,"16":106617357622837248,"45":8785889579622760448},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-15 16:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733059584001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:36:06] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 16:36:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 16:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106617357622837248,"km_value":106617357622837.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8785889579622760448,"description":"Unknown IO ID 45"} 
[2026-07-15 16:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733059584001,"power":13254,"unknown_182":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8785889579622760448}} 
[2026-07-15 16:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":133563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491831,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:36:06] local.INFO: GPS data processed {"connection_id":133563,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:36:06] local.INFO: Acknowledgment sent {"connection_id":133563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:36:06] local.INFO: TCP Data received {"connection_id":132539,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f656ff198012d7f9b8005afd770000000062c..."} 
[2026-07-15 16:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656ff198012d7f9b8005afd770000000062c..."} 
[2026-07-15 16:36:06] local.INFO: Processing buffer {"connection_id":132539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656ff198012d7f9b8005afd770000000062c..."} 
[2026-07-15 16:36:06] local.INFO: Packet analysis {"connection_id":132539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656f"} 
[2026-07-15 16:36:06] local.INFO: Extracted packet for processing {"connection_id":132539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656f"} 
[2026-07-15 16:36:06] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":0,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732918272001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784113263000,"timestamp_ms":1784113263000,"timestamp_seconds":1784113263,"priority":1,"record_length":96,"hex_timestamp":"0000019f656ff198"} 
[2026-07-15 16:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 16:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732918272001,"66":25973,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732918272001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:36:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:36:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732918272001,"power":25973,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":132539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:36:06] local.INFO: GPS data processed {"connection_id":132539,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:36:06] local.INFO: Acknowledgment sent {"connection_id":132539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:36:07] local.INFO: TCP Data received {"connection_id":133562,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f6573f4f0012d0e13c0070702780024011a21..."} 
[2026-07-15 16:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6573f4f0012d0e13c0070702780024011a21..."} 
[2026-07-15 16:36:07] local.INFO: Processing buffer {"connection_id":133562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6573f4f0012d0e13c0070702780024011a21..."} 
[2026-07-15 16:36:07] local.INFO: Packet analysis {"connection_id":133562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6573"} 
[2026-07-15 16:36:07] local.INFO: Extracted packet for processing {"connection_id":133562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6573"} 
[2026-07-15 16:36:07] local.INFO: GPS Element Parsed {"raw_longitude":755897280,"raw_latitude":117899896,"longitude_deg":75.589728,"latitude_deg":11.7899896,"altitude":36,"angle":282,"satellites":33,"speed":25,"hex_longitude":"2d0e13c0","hex_latitude":"07070278","is_valid_coordinates":true} 
[2026-07-15 16:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733058560001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24713211756412928,"note":"Value kept but may cause issues"} 
[2026-07-15 16:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022668989316483072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784113526000,"timestamp_ms":1784113526000,"timestamp_seconds":1784113526,"priority":1,"record_length":96,"hex_timestamp":"0000019f6573f4f0"} 
[2026-07-15 16:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-15 16:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:36:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133562,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133562,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733058560001,"66":14515,"219":206,"94":10240,"24":25,"16":24713211756412928,"45":1022668989316483072},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-15 16:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733058560001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:36:07] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-15 16:36:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 16:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24713211756412928,"km_value":24713211756412.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022668989316483072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733058560001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":1022668989316483072}} 
[2026-07-15 16:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":133562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491833,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:36:07] local.INFO: GPS data processed {"connection_id":133562,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:36:07] local.INFO: Acknowledgment sent {"connection_id":133562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:36:12] local.INFO: TCP Data received {"connection_id":133563,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f657423d0012d79fe8005e4f260000500992c..."} 
[2026-07-15 16:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f657423d0012d79fe8005e4f260000500992c..."} 
[2026-07-15 16:36:12] local.INFO: Processing buffer {"connection_id":133563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f657423d0012d79fe8005e4f260000500992c..."} 
[2026-07-15 16:36:12] local.INFO: Packet analysis {"connection_id":133563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6574"} 
[2026-07-15 16:36:12] local.INFO: Extracted packet for processing {"connection_id":133563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6574"} 
[2026-07-15 16:36:12] local.INFO: GPS Element Parsed {"raw_longitude":762969728,"raw_latitude":98890336,"longitude_deg":76.2969728,"latitude_deg":9.8890336,"altitude":5,"angle":153,"satellites":44,"speed":44,"hex_longitude":"2d79fe80","hex_latitude":"05e4f260","is_valid_coordinates":true} 
[2026-07-15 16:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733063168001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106617821479305216,"note":"Value kept but may cause issues"} 
[2026-07-15 16:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788000641945864192,"note":"Value kept but may cause issues"} 
[2026-07-15 16:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784113538000,"timestamp_ms":1784113538000,"timestamp_seconds":1784113538,"priority":1,"record_length":96,"hex_timestamp":"0000019f657423d0"} 
[2026-07-15 16:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:36:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-15 16:36:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:36:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":133563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":133563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":133563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733063168001,"66":13276,"39":206,"87":13824,"24":44,"16":106617821479305216,"45":8788000641945864192},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-15 16:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733063168001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:36:12] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-15 16:36:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 16:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106617821479305216,"km_value":106617821479305.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788000641945864192,"description":"Unknown IO ID 45"} 
[2026-07-15 16:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733063168001,"power":13276,"unknown_39":206,"unknown_87":13824,"ignition":44,"odometer":null,"unknown_45":8788000641945864192}} 
[2026-07-15 16:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":133563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491834,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:36:12] local.INFO: GPS data processed {"connection_id":133563,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:36:12] local.INFO: Acknowledgment sent {"connection_id":133563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:36:25] local.INFO: TCP Data received {"connection_id":134918,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:36:25] local.INFO: Processing buffer {"connection_id":134918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:36:25] local.INFO: IMEI packet received {"connection_id":134918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":134918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:36:26] local.INFO: TCP Data received {"connection_id":134918,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:36:26] local.INFO: Processing buffer {"connection_id":134918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:36:26] local.INFO: IMEI packet received {"connection_id":134918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":134918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:36:35] local.INFO: TCP Data received {"connection_id":134918,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:36:35] local.INFO: Processing buffer {"connection_id":134918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:36:35] local.INFO: IMEI packet received {"connection_id":134918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":134918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:36:37] local.INFO: TCP Data received {"connection_id":132539,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f656ff198012d7f9b8005afd770000000062c..."} 
[2026-07-15 16:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f656ff198012d7f9b8005afd770000000062c..."} 
[2026-07-15 16:36:37] local.INFO: Processing buffer {"connection_id":132539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f656ff198012d7f9b8005afd770000000062c..."} 
[2026-07-15 16:36:37] local.INFO: Packet analysis {"connection_id":132539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f656f"} 
[2026-07-15 16:36:37] local.INFO: Extracted packet for processing {"connection_id":132539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f656f"} 
[2026-07-15 16:36:37] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":0,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732918272001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784113263000,"timestamp_ms":1784113263000,"timestamp_seconds":1784113263,"priority":1,"record_length":96,"hex_timestamp":"0000019f656ff198"} 
[2026-07-15 16:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 16:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732918272001,"66":25973,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732918272001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:36:37] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:36:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732918272001,"power":25973,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":132539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:36:37] local.INFO: GPS data processed {"connection_id":132539,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:36:37] local.INFO: Acknowledgment sent {"connection_id":132539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:36:44] local.INFO: TCP Data received {"connection_id":133563,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f657423d0012d79fe8005e4f260000500992c..."} 
[2026-07-15 16:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f657423d0012d79fe8005e4f260000500992c..."} 
[2026-07-15 16:36:44] local.INFO: Processing buffer {"connection_id":133563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f657423d0012d79fe8005e4f260000500992c..."} 
[2026-07-15 16:36:44] local.INFO: Packet analysis {"connection_id":133563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6574"} 
[2026-07-15 16:36:44] local.INFO: Extracted packet for processing {"connection_id":133563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6574"} 
[2026-07-15 16:36:44] local.INFO: GPS Element Parsed {"raw_longitude":762969728,"raw_latitude":98890336,"longitude_deg":76.2969728,"latitude_deg":9.8890336,"altitude":5,"angle":153,"satellites":44,"speed":44,"hex_longitude":"2d79fe80","hex_latitude":"05e4f260","is_valid_coordinates":true} 
[2026-07-15 16:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733065728001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106617821479305216,"note":"Value kept but may cause issues"} 
[2026-07-15 16:36:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8790604285478068224,"note":"Value kept but may cause issues"} 
[2026-07-15 16:36:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784113538000,"timestamp_ms":1784113538000,"timestamp_seconds":1784113538,"priority":1,"record_length":96,"hex_timestamp":"0000019f657423d0"} 
[2026-07-15 16:36:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:36:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-15 16:36:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:36:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:36:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":133563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":133563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":133563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:36:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733065728001,"66":13276,"39":206,"87":13824,"24":44,"16":106617821479305216,"45":8790604285478068224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-15 16:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733065728001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:36:44] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-15 16:36:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 16:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106617821479305216,"km_value":106617821479305.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:36:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8790604285478068224,"description":"Unknown IO ID 45"} 
[2026-07-15 16:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733065728001,"power":13276,"unknown_39":206,"unknown_87":13824,"ignition":44,"odometer":null,"unknown_45":8790604285478068224}} 
[2026-07-15 16:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":133563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491836,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:36:44] local.INFO: GPS data processed {"connection_id":133563,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:36:44] local.INFO: Acknowledgment sent {"connection_id":133563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:36:52] local.INFO: TCP Data received {"connection_id":134919,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134919,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:36:52] local.INFO: Processing buffer {"connection_id":134919,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:36:52] local.INFO: IMEI packet received {"connection_id":134919,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 16:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":134919,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:36:56] local.INFO: TCP Data received {"connection_id":134920,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:36:56] local.INFO: Processing buffer {"connection_id":134920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:36:56] local.INFO: IMEI packet received {"connection_id":134920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":134920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:36:56] local.INFO: TCP Data received {"connection_id":134920,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:36:56] local.INFO: Processing buffer {"connection_id":134920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:36:56] local.INFO: IMEI packet received {"connection_id":134920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":134920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:36:57] local.INFO: TCP Data received {"connection_id":134919,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134919,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:36:57] local.INFO: Processing buffer {"connection_id":134919,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:36:57] local.INFO: IMEI packet received {"connection_id":134919,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 16:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":134919,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:36:57] local.INFO: TCP Data received {"connection_id":134920,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f65740c60012d18edc00722f9c0005c006128..."} 
[2026-07-15 16:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65740c60012d18edc00722f9c0005c006128..."} 
[2026-07-15 16:36:57] local.INFO: Processing buffer {"connection_id":134920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65740c60012d18edc00722f9c0005c006128..."} 
[2026-07-15 16:36:57] local.INFO: Packet analysis {"connection_id":134920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6574"} 
[2026-07-15 16:36:57] local.INFO: Extracted packet for processing {"connection_id":134920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6574"} 
[2026-07-15 16:36:57] local.INFO: GPS Element Parsed {"raw_longitude":756608448,"raw_latitude":119732672,"longitude_deg":75.6608448,"latitude_deg":11.9732672,"altitude":92,"angle":97,"satellites":40,"speed":35,"hex_longitude":"2d18edc0","hex_latitude":"0722f9c0","is_valid_coordinates":true} 
[2026-07-15 16:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:36:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733062144001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:36:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6139093108916224,"note":"Value kept but may cause issues"} 
[2026-07-15 16:36:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788843876392663040,"note":"Value kept but may cause issues"} 
[2026-07-15 16:36:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:36:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784113532000,"timestamp_ms":1784113532000,"timestamp_seconds":1784113532,"priority":1,"record_length":96,"hex_timestamp":"0000019f65740c60"} 
[2026-07-15 16:36:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:36:57] 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-07-15 16:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-15 16:36: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-07-15 16:36:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:36:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:36:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:36:57] local.INFO: Teltonika packet parsed successfully {"connection_id":134920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:36:57] local.INFO: Passing IMEI to GPS processor {"connection_id":134920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:36:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":134920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:36:57] 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-07-15 16:36:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:36:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:36:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733062144001,"66":14211,"176":206,"83":42752,"24":35,"16":6139093108916224,"45":1788843876392663040},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-15 16:36:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:36:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:36:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733062144001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:36:57] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-15 16:36:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-15 16:36:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6139093108916224,"km_value":6139093108916.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:36:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788843876392663040,"description":"Unknown IO ID 45"} 
[2026-07-15 16:36:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733062144001,"power":14211,"unknown_176":206,"unknown_83":42752,"ignition":35,"odometer":null,"unknown_45":1788843876392663040}} 
[2026-07-15 16:36:57] local.INFO: DEBUG: GPS processor result {"connection_id":134920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:36:57] local.INFO: GPS data processed {"connection_id":134920,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:36:57] local.INFO: Acknowledgment sent {"connection_id":134920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:36:57] local.INFO: TCP Data received {"connection_id":134919,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f65750660012d0da9800706efd00022011921..."} 
[2026-07-15 16:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65750660012d0da9800706efd00022011921..."} 
[2026-07-15 16:36:57] local.INFO: Processing buffer {"connection_id":134919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65750660012d0da9800706efd00022011921..."} 
[2026-07-15 16:36:57] local.INFO: Packet analysis {"connection_id":134919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6575"} 
[2026-07-15 16:36:57] local.INFO: Extracted packet for processing {"connection_id":134919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6575"} 
[2026-07-15 16:36:57] local.INFO: GPS Element Parsed {"raw_longitude":755870080,"raw_latitude":117895120,"longitude_deg":75.587008,"latitude_deg":11.789512,"altitude":34,"angle":281,"satellites":33,"speed":25,"hex_longitude":"2d0da980","hex_latitude":"0706efd0","is_valid_coordinates":true} 
[2026-07-15 16:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:36:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733076992001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:36:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24714586145947648,"note":"Value kept but may cause issues"} 
[2026-07-15 16:36:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":993677066714226688,"note":"Value kept but may cause issues"} 
[2026-07-15 16:36:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:36:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784113596000,"timestamp_ms":1784113596000,"timestamp_seconds":1784113596,"priority":1,"record_length":96,"hex_timestamp":"0000019f65750660"} 
[2026-07-15 16:36:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:36:57] 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-07-15 16:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-15 16:36: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-07-15 16:36:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:36:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:36:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:36:57] local.INFO: Teltonika packet parsed successfully {"connection_id":134919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:36:57] local.INFO: Passing IMEI to GPS processor {"connection_id":134919,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:36:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":134919,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:36:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:36:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:36:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:36:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733076992001,"66":14298,"219":206,"94":10240,"24":25,"16":24714586145947648,"45":993677066714226688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-15 16:36:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:36:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:36:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733076992001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:36:57] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-15 16:36:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 16:36:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24714586145947648,"km_value":24714586145947.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:36:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":993677066714226688,"description":"Unknown IO ID 45"} 
[2026-07-15 16:36:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733076992001,"power":14298,"unknown_219":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":993677066714226688}} 
[2026-07-15 16:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":134919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491838,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:36:58] local.INFO: GPS data processed {"connection_id":134919,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:36:58] local.INFO: Acknowledgment sent {"connection_id":134919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:37:00] local.INFO: TCP Data received {"connection_id":134920,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f65741430012d18f4800722fa20005b004b28..."} 
[2026-07-15 16:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65741430012d18f4800722fa20005b004b28..."} 
[2026-07-15 16:37:00] local.INFO: Processing buffer {"connection_id":134920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65741430012d18f4800722fa20005b004b28..."} 
[2026-07-15 16:37:00] local.INFO: Packet analysis {"connection_id":134920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6574"} 
[2026-07-15 16:37:00] local.INFO: Extracted packet for processing {"connection_id":134920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6574"} 
[2026-07-15 16:37:00] local.INFO: GPS Element Parsed {"raw_longitude":756610176,"raw_latitude":119732768,"longitude_deg":75.6610176,"latitude_deg":11.9732768,"altitude":91,"angle":75,"satellites":40,"speed":34,"hex_longitude":"2d18f480","hex_latitude":"0722fa20","is_valid_coordinates":true} 
[2026-07-15 16:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733064192001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6139179008262144,"note":"Value kept but may cause issues"} 
[2026-07-15 16:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1796302963274792960,"note":"Value kept but may cause issues"} 
[2026-07-15 16:37:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784113534000,"timestamp_ms":1784113534000,"timestamp_seconds":1784113534,"priority":1,"record_length":96,"hex_timestamp":"0000019f65741430"} 
[2026-07-15 16:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:37:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-15 16:37:00] 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-07-15 16:37:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":134920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":134920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":134920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:37:00] 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-07-15 16:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733064192001,"66":14352,"176":206,"83":42752,"24":34,"16":6139179008262144,"45":1796302963274792960},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-15 16:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733064192001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:37:00] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-15 16:37:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-15 16:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6139179008262144,"km_value":6139179008262.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1796302963274792960,"description":"Unknown IO ID 45"} 
[2026-07-15 16:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733064192001,"power":14352,"unknown_176":206,"unknown_83":42752,"ignition":34,"odometer":null,"unknown_45":1796302963274792960}} 
[2026-07-15 16:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":134920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:37:00] local.INFO: GPS data processed {"connection_id":134920,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:37:00] local.INFO: Acknowledgment sent {"connection_id":134920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:37:06] local.INFO: TCP Data received {"connection_id":134921,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:37:06] local.INFO: Processing buffer {"connection_id":134921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:37:06] local.INFO: IMEI packet received {"connection_id":134921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":134921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:37:07] local.INFO: TCP Data received {"connection_id":134921,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:37:07] local.INFO: Processing buffer {"connection_id":134921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:37:07] local.INFO: IMEI packet received {"connection_id":134921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":134921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:37:17] local.INFO: TCP Data received {"connection_id":134921,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f65748960012d7f9b8005afd770000000062c..."} 
[2026-07-15 16:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65748960012d7f9b8005afd770000000062c..."} 
[2026-07-15 16:37:17] local.INFO: Processing buffer {"connection_id":134921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65748960012d7f9b8005afd770000000062c..."} 
[2026-07-15 16:37:17] local.INFO: Packet analysis {"connection_id":134921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6574"} 
[2026-07-15 16:37:17] local.INFO: Extracted packet for processing {"connection_id":134921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6574"} 
[2026-07-15 16:37:17] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":0,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456732995328001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784113564000,"timestamp_ms":1784113564000,"timestamp_seconds":1784113564,"priority":1,"record_length":96,"hex_timestamp":"0000019f65748960"} 
[2026-07-15 16:37:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-15 16:37:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16: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-07-15 16:37:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":134921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":134921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":134921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456732995328001,"66":25995,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456732995328001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:37:17] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:37:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456732995328001,"power":25995,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":134921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:37:17] local.INFO: GPS data processed {"connection_id":134921,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:37:17] local.INFO: Acknowledgment sent {"connection_id":134921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:37:18] local.INFO: TCP Data received {"connection_id":134921,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f65749130012d7f9b8005afd770000000062c..."} 
[2026-07-15 16:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65749130012d7f9b8005afd770000000062c..."} 
[2026-07-15 16:37:18] local.INFO: Processing buffer {"connection_id":134921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65749130012d7f9b8005afd770000000062c..."} 
[2026-07-15 16:37:18] local.INFO: Packet analysis {"connection_id":134921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6574"} 
[2026-07-15 16:37:18] local.INFO: Extracted packet for processing {"connection_id":134921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6574"} 
[2026-07-15 16:37:18] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95410032,"longitude_deg":76.33376,"latitude_deg":9.5410032,"altitude":0,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afd770","is_valid_coordinates":true} 
[2026-07-15 16:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:37:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733072384001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:37:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:37:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:37:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:37:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784113566000,"timestamp_ms":1784113566000,"timestamp_seconds":1784113566,"priority":1,"record_length":96,"hex_timestamp":"0000019f65749130"} 
[2026-07-15 16:37:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:37:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 16:37:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16: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-07-15 16:37:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:37:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":134921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":134921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":134921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:37:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:37:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:37:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:37:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733072384001,"66":25973,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:37:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:37:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:37:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733072384001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:37:18] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:37:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:37:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:37:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:37:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733072384001,"power":25973,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:37:18] local.INFO: DEBUG: GPS processor result {"connection_id":134921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:37:18] local.INFO: GPS data processed {"connection_id":134921,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:37:18] local.INFO: Acknowledgment sent {"connection_id":134921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:37:26] local.INFO: TCP Data received {"connection_id":132541,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132541,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:37:26] local.INFO: Processing buffer {"connection_id":132541,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:37:26] local.INFO: IMEI packet received {"connection_id":132541,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 16:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":132541,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:37:28] local.INFO: TCP Data received {"connection_id":134919,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f65750a48012d0da7000706f0b00022012621..."} 
[2026-07-15 16:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65750a48012d0da7000706f0b00022012621..."} 
[2026-07-15 16:37:28] local.INFO: Processing buffer {"connection_id":134919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65750a48012d0da7000706f0b00022012621..."} 
[2026-07-15 16:37:28] local.INFO: Packet analysis {"connection_id":134919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6575"} 
[2026-07-15 16:37:28] local.INFO: Extracted packet for processing {"connection_id":134919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6575"} 
[2026-07-15 16:37:28] local.INFO: GPS Element Parsed {"raw_longitude":755869440,"raw_latitude":117895344,"longitude_deg":75.586944,"latitude_deg":11.7895344,"altitude":34,"angle":294,"satellites":33,"speed":25,"hex_longitude":"2d0da700","hex_latitude":"0706f0b0","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733080576001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24714616210718720,"note":"Value kept but may cause issues"} 
[2026-07-15 16:37:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":984458761226670080,"note":"Value kept but may cause issues"} 
[2026-07-15 16:37:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784113597000,"timestamp_ms":1784113597000,"timestamp_seconds":1784113597,"priority":1,"record_length":96,"hex_timestamp":"0000019f65750a48"} 
[2026-07-15 16:37:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:37:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-15 16:37:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16: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-07-15 16:37:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":134919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":134919,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":134919,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:37:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733080576001,"66":14298,"219":206,"94":10240,"24":25,"16":24714616210718720,"45":984458761226670080},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-15 16:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733080576001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:37:28] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-15 16:37:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 16:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24714616210718720,"km_value":24714616210718.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:37:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":984458761226670080,"description":"Unknown IO ID 45"} 
[2026-07-15 16:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733080576001,"power":14298,"unknown_219":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":984458761226670080}} 
[2026-07-15 16:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":134919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491842,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:37:29] local.INFO: GPS data processed {"connection_id":134919,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:37:29] local.INFO: Acknowledgment sent {"connection_id":134919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:37:31] local.INFO: TCP Data received {"connection_id":134920,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f65750e30012d19c6000723a3900031005129..."} 
[2026-07-15 16:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65750e30012d19c6000723a3900031005129..."} 
[2026-07-15 16:37:31] local.INFO: Processing buffer {"connection_id":134920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65750e30012d19c6000723a3900031005129..."} 
[2026-07-15 16:37:31] local.INFO: Packet analysis {"connection_id":134920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6575"} 
[2026-07-15 16:37:31] local.INFO: Extracted packet for processing {"connection_id":134920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6575"} 
[2026-07-15 16:37:31] local.INFO: GPS Element Parsed {"raw_longitude":756663808,"raw_latitude":119776144,"longitude_deg":75.6663808,"latitude_deg":11.9776144,"altitude":49,"angle":81,"satellites":41,"speed":51,"hex_longitude":"2d19c600","hex_latitude":"0723a390","is_valid_coordinates":true} 
[2026-07-15 16:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733079040001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6142670816673792,"note":"Value kept but may cause issues"} 
[2026-07-15 16:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846124034163382272,"note":"Value kept but may cause issues"} 
[2026-07-15 16:37:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784113598000,"timestamp_ms":1784113598000,"timestamp_seconds":1784113598,"priority":1,"record_length":96,"hex_timestamp":"0000019f65750e30"} 
[2026-07-15 16:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:37:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-15 16:37:31] 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-07-15 16:37:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":134920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":134920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":134920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:37:31] 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-07-15 16:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733079040001,"66":14265,"42":206,"83":42752,"24":51,"16":6142670816673792,"45":1846124034163382272},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-15 16:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733079040001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:37:31] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-15 16:37:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-15 16:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6142670816673792,"km_value":6142670816673.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846124034163382272,"description":"Unknown IO ID 45"} 
[2026-07-15 16:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733079040001,"power":14265,"unknown_42":206,"unknown_83":42752,"ignition":51,"odometer":null,"unknown_45":1846124034163382272}} 
[2026-07-15 16:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":134920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:37:31] local.INFO: GPS data processed {"connection_id":134920,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:37:31] local.INFO: Acknowledgment sent {"connection_id":134920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:37:34] local.INFO: TCP Data received {"connection_id":132542,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132542,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:37:34] local.INFO: Processing buffer {"connection_id":132542,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:37:34] local.INFO: IMEI packet received {"connection_id":132542,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 16:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":132542,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:37:35] local.INFO: TCP Data received {"connection_id":132542,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132542,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:37:35] local.INFO: Processing buffer {"connection_id":132542,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:37:35] local.INFO: IMEI packet received {"connection_id":132542,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":132542,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:37:39] local.INFO: TCP Data received {"connection_id":132542,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132542,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:37:39] local.INFO: Processing buffer {"connection_id":132542,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:37:39] local.INFO: IMEI packet received {"connection_id":132542,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":132542,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:37:40] local.INFO: TCP Data received {"connection_id":132542,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f657596e8012d7a21c005e46a58000d015e28..."} 
[2026-07-15 16:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f657596e8012d7a21c005e46a58000d015e28..."} 
[2026-07-15 16:37:40] local.INFO: Processing buffer {"connection_id":132542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f657596e8012d7a21c005e46a58000d015e28..."} 
[2026-07-15 16:37:40] local.INFO: Packet analysis {"connection_id":132542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6575"} 
[2026-07-15 16:37:40] local.INFO: Extracted packet for processing {"connection_id":132542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6575"} 
[2026-07-15 16:37:40] local.INFO: GPS Element Parsed {"raw_longitude":762978752,"raw_latitude":98855512,"longitude_deg":76.2978752,"latitude_deg":9.8855512,"altitude":13,"angle":350,"satellites":40,"speed":9,"hex_longitude":"2d7a21c0","hex_latitude":"05e46a58","is_valid_coordinates":true} 
[2026-07-15 16:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733089792001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106620802186608640,"note":"Value kept but may cause issues"} 
[2026-07-15 16:37:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800596647142328320,"note":"Value kept but may cause issues"} 
[2026-07-15 16:37:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784113633000,"timestamp_ms":1784113633000,"timestamp_seconds":1784113633,"priority":1,"record_length":96,"hex_timestamp":"0000019f657596e8"} 
[2026-07-15 16:37:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:37:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-15 16:37:40] 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-07-15 16:37:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:37:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132542,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132542,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:37:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733089792001,"66":13048,"39":206,"87":13824,"24":9,"16":106620802186608640,"45":8800596647142328320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-15 16:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733089792001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:37:40] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-15 16:37:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 16:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106620802186608640,"km_value":106620802186608.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:37:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800596647142328320,"description":"Unknown IO ID 45"} 
[2026-07-15 16:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733089792001,"power":13048,"unknown_39":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8800596647142328320}} 
[2026-07-15 16:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":132542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491844,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:37:40] local.INFO: GPS data processed {"connection_id":132542,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:37:40] local.INFO: Acknowledgment sent {"connection_id":132542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:37:50] local.INFO: TCP Data received {"connection_id":132543,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:37:50] local.INFO: Processing buffer {"connection_id":132543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:37:50] local.INFO: IMEI packet received {"connection_id":132543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":132543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:37:52] local.INFO: TCP Data received {"connection_id":133565,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133565,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:37:52] local.INFO: Processing buffer {"connection_id":133565,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:37:52] local.INFO: IMEI packet received {"connection_id":133565,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 16:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":133565,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:37:55] local.INFO: TCP Data received {"connection_id":132543,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:37:55] local.INFO: Processing buffer {"connection_id":132543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:37:55] local.INFO: IMEI packet received {"connection_id":132543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":132543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:37:56] local.INFO: TCP Data received {"connection_id":132543,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f65752988012d19eb000723a828002e005329..."} 
[2026-07-15 16:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65752988012d19eb000723a828002e005329..."} 
[2026-07-15 16:37:56] local.INFO: Processing buffer {"connection_id":132543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65752988012d19eb000723a828002e005329..."} 
[2026-07-15 16:37:56] local.INFO: Packet analysis {"connection_id":132543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6575"} 
[2026-07-15 16:37:56] local.INFO: Extracted packet for processing {"connection_id":132543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6575"} 
[2026-07-15 16:37:56] local.INFO: GPS Element Parsed {"raw_longitude":756673280,"raw_latitude":119777320,"longitude_deg":75.667328,"latitude_deg":11.977732,"altitude":46,"angle":83,"satellites":41,"speed":54,"hex_longitude":"2d19eb00","hex_latitude":"0723a828","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733081088001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6143121788239872,"note":"Value kept but may cause issues"} 
[2026-07-15 16:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857171926999601152,"note":"Value kept but may cause issues"} 
[2026-07-15 16:37:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784113605000,"timestamp_ms":1784113605000,"timestamp_seconds":1784113605,"priority":1,"record_length":96,"hex_timestamp":"0000019f65752988"} 
[2026-07-15 16:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:37:56] 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-07-15 16: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-15 16:37:56] 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-07-15 16: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-07-15 16:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:37:56] 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-07-15 16:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733081088001,"66":14298,"43":206,"83":42752,"24":54,"16":6143121788239872,"45":1857171926999601152},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-15 16:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733081088001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:37:56] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-15 16:37:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-15 16:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6143121788239872,"km_value":6143121788239.872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857171926999601152,"description":"Unknown IO ID 45"} 
[2026-07-15 16:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733081088001,"power":14298,"unknown_43":206,"unknown_83":42752,"ignition":54,"odometer":null,"unknown_45":1857171926999601152}} 
[2026-07-15 16:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":132543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:37:56] local.INFO: GPS data processed {"connection_id":132543,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:37:56] local.INFO: Acknowledgment sent {"connection_id":132543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:37:57] local.INFO: TCP Data received {"connection_id":133565,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133565,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:37:57] local.INFO: Processing buffer {"connection_id":133565,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:37:57] local.INFO: IMEI packet received {"connection_id":133565,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 16:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":133565,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:37:58] local.INFO: TCP Data received {"connection_id":133565,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f6575e8f0012d0d2f80070716d00020011e1f..."} 
[2026-07-15 16:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6575e8f0012d0d2f80070716d00020011e1f..."} 
[2026-07-15 16:37:58] local.INFO: Processing buffer {"connection_id":133565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6575e8f0012d0d2f80070716d00020011e1f..."} 
[2026-07-15 16:37:58] local.INFO: Packet analysis {"connection_id":133565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6575"} 
[2026-07-15 16:37:58] local.INFO: Extracted packet for processing {"connection_id":133565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6575"} 
[2026-07-15 16:37:58] local.INFO: GPS Element Parsed {"raw_longitude":755838848,"raw_latitude":117905104,"longitude_deg":75.5838848,"latitude_deg":11.7905104,"altitude":32,"angle":286,"satellites":31,"speed":12,"hex_longitude":"2d0d2f80","hex_latitude":"070716d0","is_valid_coordinates":true} 
[2026-07-15 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-07-15 16:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733093888001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24716183873781760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953074301325961216,"note":"Value kept but may cause issues"} 
[2026-07-15 16:37:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784113654000,"timestamp_ms":1784113654000,"timestamp_seconds":1784113654,"priority":1,"record_length":96,"hex_timestamp":"0000019f6575e8f0"} 
[2026-07-15 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-07-15 16:37:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-15 16:37:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 16:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":133565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":133565,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":133565,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:37:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733093888001,"66":14439,"221":206,"94":10240,"24":12,"16":24716183873781760,"45":953074301325961216},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-07-15 16:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733093888001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:37:58] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-15 16:37:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 16:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24716183873781760,"km_value":24716183873781.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":953074301325961216,"description":"Unknown IO ID 45"} 
[2026-07-15 16:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733093888001,"power":14439,"unknown_221":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":953074301325961216}} 
[2026-07-15 16:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":133565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491846,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:37:58] local.INFO: GPS data processed {"connection_id":133565,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:37:58] local.INFO: Acknowledgment sent {"connection_id":133565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:38:01] local.INFO: TCP Data received {"connection_id":133566,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:38:01] local.INFO: Processing buffer {"connection_id":133566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:38:01] local.INFO: IMEI packet received {"connection_id":133566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":133566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:38:06] local.INFO: TCP Data received {"connection_id":133566,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:38:06] local.INFO: Processing buffer {"connection_id":133566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:38:06] local.INFO: IMEI packet received {"connection_id":133566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":133566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:38:07] local.INFO: TCP Data received {"connection_id":133566,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f65749900012d7f934005afdaf0000000682d..."} 
[2026-07-15 16:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65749900012d7f934005afdaf0000000682d..."} 
[2026-07-15 16:38:07] local.INFO: Processing buffer {"connection_id":133566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65749900012d7f934005afdaf0000000682d..."} 
[2026-07-15 16:38:07] local.INFO: Packet analysis {"connection_id":133566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6574"} 
[2026-07-15 16:38:07] local.INFO: Extracted packet for processing {"connection_id":133566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6574"} 
[2026-07-15 16:38:07] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410928,"longitude_deg":76.3335488,"latitude_deg":9.5410928,"altitude":0,"angle":104,"satellites":45,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-15 16:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733072896001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120323072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784113568000,"timestamp_ms":1784113568000,"timestamp_seconds":1784113568,"priority":1,"record_length":96,"hex_timestamp":"0000019f65749900"} 
[2026-07-15 16:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-15 16:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733072896001,"66":25778,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9195083826120323072},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733072896001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:38:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:38:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120323072,"description":"Unknown IO ID 45"} 
[2026-07-15 16:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733072896001,"power":25778,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826120323072}} 
[2026-07-15 16:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":133566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:38:07] local.INFO: GPS data processed {"connection_id":133566,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:38:07] local.INFO: Acknowledgment sent {"connection_id":133566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:38:09] local.INFO: TCP Data received {"connection_id":134922,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134922,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:38:09] local.INFO: Processing buffer {"connection_id":134922,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:38:09] local.INFO: IMEI packet received {"connection_id":134922,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 16:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":134922,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:38:14] local.INFO: TCP Data received {"connection_id":134922,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134922,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:38:14] local.INFO: Processing buffer {"connection_id":134922,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:38:14] local.INFO: IMEI packet received {"connection_id":134922,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":134922,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:38:15] local.INFO: TCP Data received {"connection_id":134922,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f65759ad0012d7a218005e46b38000e000127..."} 
[2026-07-15 16:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65759ad0012d7a218005e46b38000e000127..."} 
[2026-07-15 16:38:15] local.INFO: Processing buffer {"connection_id":134922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65759ad0012d7a218005e46b38000e000127..."} 
[2026-07-15 16:38:15] local.INFO: Packet analysis {"connection_id":134922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6575"} 
[2026-07-15 16:38:15] local.INFO: Extracted packet for processing {"connection_id":134922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6575"} 
[2026-07-15 16:38:15] local.INFO: GPS Element Parsed {"raw_longitude":762978688,"raw_latitude":98855736,"longitude_deg":76.2978688,"latitude_deg":9.8855736,"altitude":14,"angle":1,"satellites":39,"speed":7,"hex_longitude":"2d7a2180","hex_latitude":"05e46b38","is_valid_coordinates":true} 
[2026-07-15 16:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733090048001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106620815071510528,"note":"Value kept but may cause issues"} 
[2026-07-15 16:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800526278398203904,"note":"Value kept but may cause issues"} 
[2026-07-15 16:38:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784113634000,"timestamp_ms":1784113634000,"timestamp_seconds":1784113634,"priority":1,"record_length":96,"hex_timestamp":"0000019f65759ad0"} 
[2026-07-15 16:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:38:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-15 16:38:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:38:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":134922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":134922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":134922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733090048001,"66":12961,"39":206,"87":13824,"24":7,"16":106620815071510528,"45":8800526278398203904},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-15 16:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733090048001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:38:15] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-15 16:38:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 16:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106620815071510528,"km_value":106620815071510.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800526278398203904,"description":"Unknown IO ID 45"} 
[2026-07-15 16:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733090048001,"power":12961,"unknown_39":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8800526278398203904}} 
[2026-07-15 16:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":134922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491848,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:38:15] local.INFO: GPS data processed {"connection_id":134922,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:38:15] local.INFO: Acknowledgment sent {"connection_id":134922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:38:29] local.INFO: TCP Data received {"connection_id":133565,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f6576a858012d0ce240070751d0002700c520..."} 
[2026-07-15 16:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6576a858012d0ce240070751d0002700c520..."} 
[2026-07-15 16:38:29] local.INFO: Processing buffer {"connection_id":133565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6576a858012d0ce240070751d0002700c520..."} 
[2026-07-15 16:38:29] local.INFO: Packet analysis {"connection_id":133565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6576"} 
[2026-07-15 16:38:29] local.INFO: Extracted packet for processing {"connection_id":133565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6576"} 
[2026-07-15 16:38:29] local.INFO: GPS Element Parsed {"raw_longitude":755819072,"raw_latitude":117920208,"longitude_deg":75.5819072,"latitude_deg":11.7920208,"altitude":39,"angle":197,"satellites":32,"speed":20,"hex_longitude":"2d0ce240","hex_latitude":"070751d0","is_valid_coordinates":true} 
[2026-07-15 16:38:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:38:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733107712001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:38:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24717674227433472,"note":"Value kept but may cause issues"} 
[2026-07-15 16:38:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":928656347100329984,"note":"Value kept but may cause issues"} 
[2026-07-15 16:38:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:38:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784113703000,"timestamp_ms":1784113703000,"timestamp_seconds":1784113703,"priority":1,"record_length":96,"hex_timestamp":"0000019f6576a858"} 
[2026-07-15 16:38:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:38:29] 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-07-15 16:38:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-15 16:38:29] 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-07-15 16:38:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:38:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:38:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:38:29] local.INFO: Teltonika packet parsed successfully {"connection_id":133565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:38:29] local.INFO: Passing IMEI to GPS processor {"connection_id":133565,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:38:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":133565,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:38:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:38:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:38:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:38:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733107712001,"66":14428,"221":206,"94":10240,"24":20,"16":24717674227433472,"45":928656347100329984},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-07-15 16:38:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:38:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:38:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733107712001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:38:29] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-15 16:38:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 16:38:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24717674227433472,"km_value":24717674227433.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:38:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":928656347100329984,"description":"Unknown IO ID 45"} 
[2026-07-15 16:38:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733107712001,"power":14428,"unknown_221":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":928656347100329984}} 
[2026-07-15 16:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":133565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491849,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:38:29] local.INFO: GPS data processed {"connection_id":133565,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:38:29] local.INFO: Acknowledgment sent {"connection_id":133565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:38:30] local.INFO: TCP Data received {"connection_id":132543,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f657544e0012d1a0fc00723ad08002c004c29..."} 
[2026-07-15 16:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f657544e0012d1a0fc00723ad08002c004c29..."} 
[2026-07-15 16:38:30] local.INFO: Processing buffer {"connection_id":132543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f657544e0012d1a0fc00723ad08002c004c29..."} 
[2026-07-15 16:38:30] local.INFO: Packet analysis {"connection_id":132543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6575"} 
[2026-07-15 16:38:30] local.INFO: Extracted packet for processing {"connection_id":132543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6575"} 
[2026-07-15 16:38:30] local.INFO: GPS Element Parsed {"raw_longitude":756682688,"raw_latitude":119778568,"longitude_deg":75.6682688,"latitude_deg":11.9778568,"altitude":44,"angle":76,"satellites":41,"speed":50,"hex_longitude":"2d1a0fc0","hex_latitude":"0723ad08","is_valid_coordinates":true} 
[2026-07-15 16:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733082880001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6143572759805952,"note":"Value kept but may cause issues"} 
[2026-07-15 16:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1867586501138196480,"note":"Value kept but may cause issues"} 
[2026-07-15 16:38:30] 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-07-15 16:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784113612000,"timestamp_ms":1784113612000,"timestamp_seconds":1784113612,"priority":1,"record_length":96,"hex_timestamp":"0000019f657544e0"} 
[2026-07-15 16:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-15 16:38:30] 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-07-15 16:38:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":132543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":132543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":132543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:38:30] 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-07-15 16:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733082880001,"66":14298,"43":206,"83":42752,"24":50,"16":6143572759805952,"45":1867586501138196480},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-15 16:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733082880001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:38:30] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-15 16:38:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-15 16:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6143572759805952,"km_value":6143572759805.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1867586501138196480,"description":"Unknown IO ID 45"} 
[2026-07-15 16:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733082880001,"power":14298,"unknown_43":206,"unknown_83":42752,"ignition":50,"odometer":null,"unknown_45":1867586501138196480}} 
[2026-07-15 16:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":132543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491850,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:38:30] local.INFO: GPS data processed {"connection_id":132543,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:38:30] local.INFO: Acknowledgment sent {"connection_id":132543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:38:39] local.INFO: TCP Data received {"connection_id":133566,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f6574eb08012d7f934005afdaf0000000682f..."} 
[2026-07-15 16:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6574eb08012d7f934005afdaf0000000682f..."} 
[2026-07-15 16:38:39] local.INFO: Processing buffer {"connection_id":133566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6574eb08012d7f934005afdaf0000000682f..."} 
[2026-07-15 16:38:39] local.INFO: Packet analysis {"connection_id":133566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6574"} 
[2026-07-15 16:38:39] local.INFO: Extracted packet for processing {"connection_id":133566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6574"} 
[2026-07-15 16:38:39] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410928,"longitude_deg":76.3335488,"latitude_deg":9.5410928,"altitude":0,"angle":104,"satellites":47,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-15 16:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733073408001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562689536,"note":"Value kept but may cause issues"} 
[2026-07-15 16:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784113589000,"timestamp_ms":1784113589000,"timestamp_seconds":1784113589,"priority":1,"record_length":96,"hex_timestamp":"0000019f6574eb08"} 
[2026-07-15 16:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 16:38:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:38:39] 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-07-15 16:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733073408001,"66":27615,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9192761657562689536},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733073408001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:38:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:38:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562689536,"description":"Unknown IO ID 45"} 
[2026-07-15 16:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733073408001,"power":27615,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562689536}} 
[2026-07-15 16:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":133566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:38:39] local.INFO: GPS data processed {"connection_id":133566,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:38:39] local.INFO: Acknowledgment sent {"connection_id":133566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:38:49] local.INFO: TCP Data received {"connection_id":132720,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132720,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:38:49] local.INFO: Processing buffer {"connection_id":132720,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:38:49] local.INFO: IMEI packet received {"connection_id":132720,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 16:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":132720,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:38:50] local.INFO: TCP Data received {"connection_id":132719,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:38:50] local.INFO: Processing buffer {"connection_id":132719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:38:50] local.INFO: IMEI packet received {"connection_id":132719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":132719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:38:51] local.INFO: TCP Data received {"connection_id":132719,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:38:51] local.INFO: Processing buffer {"connection_id":132719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:38:51] local.INFO: IMEI packet received {"connection_id":132719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":132719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:38:52] local.INFO: TCP Data received {"connection_id":132720,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132720,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:38:52] local.INFO: Processing buffer {"connection_id":132720,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:38:52] local.INFO: IMEI packet received {"connection_id":132720,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 16:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":132720,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:38:55] local.INFO: TCP Data received {"connection_id":132719,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:38:55] local.INFO: Processing buffer {"connection_id":132719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:38:55] local.INFO: IMEI packet received {"connection_id":132719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":132719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:38:56] local.INFO: TCP Data received {"connection_id":132719,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f65755480012d1a21000723b368002b003e29..."} 
[2026-07-15 16:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65755480012d1a21000723b368002b003e29..."} 
[2026-07-15 16:38:56] local.INFO: Processing buffer {"connection_id":132719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65755480012d1a21000723b368002b003e29..."} 
[2026-07-15 16:38:56] local.INFO: Packet analysis {"connection_id":132719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6575"} 
[2026-07-15 16:38:56] local.INFO: Extracted packet for processing {"connection_id":132719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6575"} 
[2026-07-15 16:38:56] local.INFO: GPS Element Parsed {"raw_longitude":756687104,"raw_latitude":119780200,"longitude_deg":75.6687104,"latitude_deg":11.97802,"altitude":43,"angle":62,"satellites":41,"speed":39,"hex_longitude":"2d1a2100","hex_latitude":"0723b368","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733084672001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6143796098105344,"note":"Value kept but may cause issues"} 
[2026-07-15 16:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1877930706532632576,"note":"Value kept but may cause issues"} 
[2026-07-15 16:38:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784113616000,"timestamp_ms":1784113616000,"timestamp_seconds":1784113616,"priority":1,"record_length":96,"hex_timestamp":"0000019f65755480"} 
[2026-07-15 16:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:38:56] 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-07-15 16: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-15 16:38:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16: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-07-15 16:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:38:56] 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-07-15 16:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733084672001,"66":14276,"43":206,"83":42752,"24":39,"16":6143796098105344,"45":1877930706532632576},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-15 16:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733084672001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:38:56] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-15 16:38:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-15 16:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6143796098105344,"km_value":6143796098105.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1877930706532632576,"description":"Unknown IO ID 45"} 
[2026-07-15 16:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733084672001,"power":14276,"unknown_43":206,"unknown_83":42752,"ignition":39,"odometer":null,"unknown_45":1877930706532632576}} 
[2026-07-15 16:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":132719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:38:56] local.INFO: GPS data processed {"connection_id":132719,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:38:56] local.INFO: Acknowledgment sent {"connection_id":132719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:38:57] local.INFO: TCP Data received {"connection_id":132720,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132720,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:38:57] local.INFO: Processing buffer {"connection_id":132720,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:38:57] local.INFO: IMEI packet received {"connection_id":132720,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 16:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":132720,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:38:58] local.INFO: TCP Data received {"connection_id":132720,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f6576b028012d0ce08007074e88002600e120..."} 
[2026-07-15 16:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6576b028012d0ce08007074e88002600e120..."} 
[2026-07-15 16:38:58] local.INFO: Processing buffer {"connection_id":132720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6576b028012d0ce08007074e88002600e120..."} 
[2026-07-15 16:38:58] local.INFO: Packet analysis {"connection_id":132720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6576"} 
[2026-07-15 16:38:58] local.INFO: Extracted packet for processing {"connection_id":132720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6576"} 
[2026-07-15 16:38:58] local.INFO: GPS Element Parsed {"raw_longitude":755818624,"raw_latitude":117919368,"longitude_deg":75.5818624,"latitude_deg":11.7919368,"altitude":38,"angle":225,"satellites":32,"speed":17,"hex_longitude":"2d0ce080","hex_latitude":"07074e88","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733107968001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24717721472073728,"note":"Value kept but may cause issues"} 
[2026-07-15 16:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":928374872123494400,"note":"Value kept but may cause issues"} 
[2026-07-15 16:38:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784113705000,"timestamp_ms":1784113705000,"timestamp_seconds":1784113705,"priority":1,"record_length":96,"hex_timestamp":"0000019f6576b028"} 
[2026-07-15 16:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:38:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-15 16:38: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-07-15 16: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-07-15 16:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":132720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":132720,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":132720,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:38:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733107968001,"66":14428,"221":206,"94":10240,"24":17,"16":24717721472073728,"45":928374872123494400},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-07-15 16:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733107968001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:38:58] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-15 16:38:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 16:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24717721472073728,"km_value":24717721472073.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":928374872123494400,"description":"Unknown IO ID 45"} 
[2026-07-15 16:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733107968001,"power":14428,"unknown_221":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":928374872123494400}} 
[2026-07-15 16:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":132720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491853,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:38:58] local.INFO: GPS data processed {"connection_id":132720,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:38:58] local.INFO: Acknowledgment sent {"connection_id":132720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:39:01] local.INFO: TCP Data received {"connection_id":132544,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:39:01] local.INFO: Processing buffer {"connection_id":132544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:39:01] local.INFO: IMEI packet received {"connection_id":132544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":132544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:39:04] local.INFO: TCP Data received {"connection_id":132545,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132545,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:39:04] local.INFO: Processing buffer {"connection_id":132545,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:39:04] local.INFO: IMEI packet received {"connection_id":132545,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 16:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":132545,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:39:06] local.INFO: TCP Data received {"connection_id":132544,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:39:06] local.INFO: Processing buffer {"connection_id":132544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:39:06] local.INFO: IMEI packet received {"connection_id":132544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":132544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:39:07] local.INFO: TCP Data received {"connection_id":132544,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f6574faa8012d7f934005afdaf0000000682f..."} 
[2026-07-15 16:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6574faa8012d7f934005afdaf0000000682f..."} 
[2026-07-15 16:39:07] local.INFO: Processing buffer {"connection_id":132544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6574faa8012d7f934005afdaf0000000682f..."} 
[2026-07-15 16:39:07] local.INFO: Packet analysis {"connection_id":132544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6574"} 
[2026-07-15 16:39:07] local.INFO: Extracted packet for processing {"connection_id":132544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6574"} 
[2026-07-15 16:39:07] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410928,"longitude_deg":76.3335488,"latitude_deg":9.5410928,"altitude":0,"angle":104,"satellites":47,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-15 16:39:07] 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-07-15 16:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733078784001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562689536,"note":"Value kept but may cause issues"} 
[2026-07-15 16:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784113593000,"timestamp_ms":1784113593000,"timestamp_seconds":1784113593,"priority":1,"record_length":96,"hex_timestamp":"0000019f6574faa8"} 
[2026-07-15 16:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-15 16:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733078784001,"66":27865,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9192761657562689536},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733078784001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:39:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:39:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562689536,"description":"Unknown IO ID 45"} 
[2026-07-15 16:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733078784001,"power":27865,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562689536}} 
[2026-07-15 16:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":132544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:39:07] local.INFO: GPS data processed {"connection_id":132544,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:39:07] local.INFO: Acknowledgment sent {"connection_id":132544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:39:09] local.INFO: TCP Data received {"connection_id":132545,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132545,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:39:09] local.INFO: Processing buffer {"connection_id":132545,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:39:09] local.INFO: IMEI packet received {"connection_id":132545,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":132545,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:39:10] local.INFO: TCP Data received {"connection_id":132545,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f65766208012d7a1a8005e46788000600012a..."} 
[2026-07-15 16:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65766208012d7a1a8005e46788000600012a..."} 
[2026-07-15 16:39:10] local.INFO: Processing buffer {"connection_id":132545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65766208012d7a1a8005e46788000600012a..."} 
[2026-07-15 16:39:10] local.INFO: Packet analysis {"connection_id":132545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6576"} 
[2026-07-15 16:39:10] local.INFO: Extracted packet for processing {"connection_id":132545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6576"} 
[2026-07-15 16:39:10] local.INFO: GPS Element Parsed {"raw_longitude":762976896,"raw_latitude":98854792,"longitude_deg":76.2976896,"latitude_deg":9.8854792,"altitude":6,"angle":1,"satellites":42,"speed":0,"hex_longitude":"2d7a1a80","hex_latitude":"05e46788","is_valid_coordinates":true} 
[2026-07-15 16:39:10] 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-07-15 16:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733103360001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106620939625562112,"note":"Value kept but may cause issues"} 
[2026-07-15 16:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798485584816867328,"note":"Value kept but may cause issues"} 
[2026-07-15 16:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784113685000,"timestamp_ms":1784113685000,"timestamp_seconds":1784113685,"priority":1,"record_length":96,"hex_timestamp":"0000019f65766208"} 
[2026-07-15 16:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":18,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-07-15 16:39: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-07-15 16:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":132545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":132545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":132545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733103360001,"66":4797,"97":206,"85":15104,"24":0,"16":106620939625562112,"45":8798485584816867328},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 16:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733103360001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:39:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 16:39:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 16:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106620939625562112,"km_value":106620939625562.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798485584816867328,"description":"Unknown IO ID 45"} 
[2026-07-15 16:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733103360001,"power":4797,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8798485584816867328}} 
[2026-07-15 16:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":132545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491855,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:39:10] local.INFO: GPS data processed {"connection_id":132545,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:39:10] local.INFO: Acknowledgment sent {"connection_id":132545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:39:28] local.INFO: TCP Data received {"connection_id":132719,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f65756bf0012d1a31c00723bf50002d003029..."} 
[2026-07-15 16:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65756bf0012d1a31c00723bf50002d003029..."} 
[2026-07-15 16:39:28] local.INFO: Processing buffer {"connection_id":132719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65756bf0012d1a31c00723bf50002d003029..."} 
[2026-07-15 16:39:28] local.INFO: Packet analysis {"connection_id":132719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6575"} 
[2026-07-15 16:39:28] local.INFO: Extracted packet for processing {"connection_id":132719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6575"} 
[2026-07-15 16:39:28] local.INFO: GPS Element Parsed {"raw_longitude":756691392,"raw_latitude":119783248,"longitude_deg":75.6691392,"latitude_deg":11.9783248,"altitude":45,"angle":48,"satellites":41,"speed":34,"hex_longitude":"2d1a31c0","hex_latitude":"0723bf50","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733085696001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6144049501175808,"note":"Value kept but may cause issues"} 
[2026-07-15 16:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1882786149881309184,"note":"Value kept but may cause issues"} 
[2026-07-15 16:39:28] 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-07-15 16:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784113622000,"timestamp_ms":1784113622000,"timestamp_seconds":1784113622,"priority":1,"record_length":96,"hex_timestamp":"0000019f65756bf0"} 
[2026-07-15 16:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16: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":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-15 16:39:28] 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-07-15 16: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-07-15 16:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:39:28] 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-07-15 16:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733085696001,"66":14276,"43":206,"83":42752,"24":34,"16":6144049501175808,"45":1882786149881309184},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-15 16:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733085696001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:39:28] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-15 16:39:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-15 16:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6144049501175808,"km_value":6144049501175.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1882786149881309184,"description":"Unknown IO ID 45"} 
[2026-07-15 16:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733085696001,"power":14276,"unknown_43":206,"unknown_83":42752,"ignition":34,"odometer":null,"unknown_45":1882786149881309184}} 
[2026-07-15 16:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":132719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:39:28] local.INFO: GPS data processed {"connection_id":132719,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:39:28] local.INFO: Acknowledgment sent {"connection_id":132719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:39:29] local.INFO: TCP Data received {"connection_id":132720,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f6576b410012d0cdf4007074da0002500f320..."} 
[2026-07-15 16:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6576b410012d0cdf4007074da0002500f320..."} 
[2026-07-15 16:39:29] local.INFO: Processing buffer {"connection_id":132720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6576b410012d0cdf4007074da0002500f320..."} 
[2026-07-15 16:39:29] local.INFO: Packet analysis {"connection_id":132720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6576"} 
[2026-07-15 16:39:29] local.INFO: Extracted packet for processing {"connection_id":132720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6576"} 
[2026-07-15 16:39:29] local.INFO: GPS Element Parsed {"raw_longitude":755818304,"raw_latitude":117919136,"longitude_deg":75.5818304,"latitude_deg":11.7919136,"altitude":37,"angle":243,"satellites":32,"speed":16,"hex_longitude":"2d0cdf40","hex_latitude":"07074da0","is_valid_coordinates":true} 
[2026-07-15 16:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733108480001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24717738651942912,"note":"Value kept but may cause issues"} 
[2026-07-15 16:39:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":927882290914035712,"note":"Value kept but may cause issues"} 
[2026-07-15 16:39:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784113706000,"timestamp_ms":1784113706000,"timestamp_seconds":1784113706,"priority":1,"record_length":96,"hex_timestamp":"0000019f6576b410"} 
[2026-07-15 16:39:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:39:29] 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-07-15 16:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-15 16:39:29] 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-07-15 16:39:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:39:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":132720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":132720,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":132720,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:39:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733108480001,"66":14396,"221":206,"94":10240,"24":16,"16":24717738651942912,"45":927882290914035712},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-07-15 16:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733108480001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:39:29] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-15 16:39:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 16:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24717738651942912,"km_value":24717738651942.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:39:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":927882290914035712,"description":"Unknown IO ID 45"} 
[2026-07-15 16:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733108480001,"power":14396,"unknown_221":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":927882290914035712}} 
[2026-07-15 16:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":132720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491857,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:39:29] local.INFO: GPS data processed {"connection_id":132720,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:39:29] local.INFO: Acknowledgment sent {"connection_id":132720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:39:38] local.INFO: TCP Data received {"connection_id":132544,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f6574faa8012d7f934005afdaf0000000682f..."} 
[2026-07-15 16:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6574faa8012d7f934005afdaf0000000682f..."} 
[2026-07-15 16:39:38] local.INFO: Processing buffer {"connection_id":132544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6574faa8012d7f934005afdaf0000000682f..."} 
[2026-07-15 16:39:38] local.INFO: Packet analysis {"connection_id":132544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6574"} 
[2026-07-15 16:39:38] local.INFO: Extracted packet for processing {"connection_id":132544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6574"} 
[2026-07-15 16:39:38] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410928,"longitude_deg":76.3335488,"latitude_deg":9.5410928,"altitude":0,"angle":104,"satellites":47,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-15 16:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733078784001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562689536,"note":"Value kept but may cause issues"} 
[2026-07-15 16:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784113593000,"timestamp_ms":1784113593000,"timestamp_seconds":1784113593,"priority":1,"record_length":96,"hex_timestamp":"0000019f6574faa8"} 
[2026-07-15 16:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-15 16:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733078784001,"66":27865,"199":206,"85":12544,"24":0,"16":347239773645045760,"45":9192761657562689536},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-15 16:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733078784001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:39:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-15 16:39:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562689536,"description":"Unknown IO ID 45"} 
[2026-07-15 16:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733078784001,"power":27865,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562689536}} 
[2026-07-15 16:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":132544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:39:38] local.INFO: GPS data processed {"connection_id":132544,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:39:38] local.INFO: Acknowledgment sent {"connection_id":132544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:39:40] local.INFO: TCP Data received {"connection_id":132545,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f65766208012d7a1a8005e46788000600012a..."} 
[2026-07-15 16:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65766208012d7a1a8005e46788000600012a..."} 
[2026-07-15 16:39:40] local.INFO: Processing buffer {"connection_id":132545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65766208012d7a1a8005e46788000600012a..."} 
[2026-07-15 16:39:40] local.INFO: Packet analysis {"connection_id":132545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6576"} 
[2026-07-15 16:39:40] local.INFO: Extracted packet for processing {"connection_id":132545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6576"} 
[2026-07-15 16:39:40] local.INFO: GPS Element Parsed {"raw_longitude":762976896,"raw_latitude":98854792,"longitude_deg":76.2976896,"latitude_deg":9.8854792,"altitude":6,"angle":1,"satellites":42,"speed":0,"hex_longitude":"2d7a1a80","hex_latitude":"05e46788","is_valid_coordinates":true} 
[2026-07-15 16:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733103360001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106620939625562112,"note":"Value kept but may cause issues"} 
[2026-07-15 16:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798485584816867328,"note":"Value kept but may cause issues"} 
[2026-07-15 16:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784113685000,"timestamp_ms":1784113685000,"timestamp_seconds":1784113685,"priority":1,"record_length":96,"hex_timestamp":"0000019f65766208"} 
[2026-07-15 16:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":18,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-07-15 16:39: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-07-15 16:39:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733103360001,"66":4797,"97":206,"85":15104,"24":0,"16":106620939625562112,"45":8798485584816867328},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 16:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733103360001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:39:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 16:39:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 16:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106620939625562112,"km_value":106620939625562.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798485584816867328,"description":"Unknown IO ID 45"} 
[2026-07-15 16:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733103360001,"power":4797,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8798485584816867328}} 
[2026-07-15 16:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":132545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491859,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:39:40] local.INFO: GPS data processed {"connection_id":132545,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:39:40] local.INFO: Acknowledgment sent {"connection_id":132545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:39:50] local.INFO: TCP Data received {"connection_id":133569,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133569,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:39:50] local.INFO: Processing buffer {"connection_id":133569,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:39:50] local.INFO: IMEI packet received {"connection_id":133569,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 16:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":133569,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:39:50] local.INFO: TCP Data received {"connection_id":133568,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:39:50] local.INFO: Processing buffer {"connection_id":133568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:39:50] local.INFO: IMEI packet received {"connection_id":133568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":133568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:39:51] local.INFO: TCP Data received {"connection_id":133569,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133569,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:39:51] local.INFO: Processing buffer {"connection_id":133569,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:39:51] local.INFO: IMEI packet received {"connection_id":133569,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 16:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":133569,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:39:52] local.INFO: TCP Data received {"connection_id":133569,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133569,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:39:52] local.INFO: Processing buffer {"connection_id":133569,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:39:52] local.INFO: IMEI packet received {"connection_id":133569,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 16:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":133569,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:39:52] local.INFO: TCP Data received {"connection_id":133569,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133569,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:39:52] local.INFO: Processing buffer {"connection_id":133569,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:39:52] local.INFO: IMEI packet received {"connection_id":133569,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 16:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":133569,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:39:54] local.INFO: TCP Data received {"connection_id":134923,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134923,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:39:54] local.INFO: Processing buffer {"connection_id":134923,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:39:54] local.INFO: IMEI packet received {"connection_id":134923,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 16:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":134923,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:39:54] local.INFO: TCP Data received {"connection_id":133568,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:39:54] local.INFO: Processing buffer {"connection_id":133568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:39:54] local.INFO: IMEI packet received {"connection_id":133568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":133568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:39:55] local.INFO: TCP Data received {"connection_id":133568,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:39:55] local.INFO: Processing buffer {"connection_id":133568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:39:55] local.INFO: IMEI packet received {"connection_id":133568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":133568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:39:56] local.INFO: TCP Data received {"connection_id":133568,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f65757f78012d1a3dc00723cca8002d002328..."} 
[2026-07-15 16:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65757f78012d1a3dc00723cca8002d002328..."} 
[2026-07-15 16:39:56] local.INFO: Processing buffer {"connection_id":133568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65757f78012d1a3dc00723cca8002d002328..."} 
[2026-07-15 16:39:56] local.INFO: Packet analysis {"connection_id":133568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6575"} 
[2026-07-15 16:39:56] local.INFO: Extracted packet for processing {"connection_id":133568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6575"} 
[2026-07-15 16:39:56] local.INFO: GPS Element Parsed {"raw_longitude":756694464,"raw_latitude":119786664,"longitude_deg":75.6694464,"latitude_deg":11.9786664,"altitude":45,"angle":35,"satellites":40,"speed":34,"hex_longitude":"2d1a3dc0","hex_latitude":"0723cca8","is_valid_coordinates":true} 
[2026-07-15 16:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733087232001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6144268544507904,"note":"Value kept but may cause issues"} 
[2026-07-15 16:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1887500855741992960,"note":"Value kept but may cause issues"} 
[2026-07-15 16:39:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784113627000,"timestamp_ms":1784113627000,"timestamp_seconds":1784113627,"priority":1,"record_length":96,"hex_timestamp":"0000019f65757f78"} 
[2026-07-15 16:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:39: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-07-15 16:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-15 16:39:56] 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-07-15 16:39:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:39:56] 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-07-15 16:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733087232001,"66":13928,"43":206,"83":42752,"24":34,"16":6144268544507904,"45":1887500855741992960},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-15 16:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733087232001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:39:56] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-15 16:39:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-15 16:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6144268544507904,"km_value":6144268544507.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1887500855741992960,"description":"Unknown IO ID 45"} 
[2026-07-15 16:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733087232001,"power":13928,"unknown_43":206,"unknown_83":42752,"ignition":34,"odometer":null,"unknown_45":1887500855741992960}} 
[2026-07-15 16:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":133568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:39:56] local.INFO: GPS data processed {"connection_id":133568,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:39:56] local.INFO: Acknowledgment sent {"connection_id":133568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:39:59] local.INFO: TCP Data received {"connection_id":134923,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134923,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:39:59] local.INFO: Processing buffer {"connection_id":134923,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:39:59] local.INFO: IMEI packet received {"connection_id":134923,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":134923,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:40:00] local.INFO: TCP Data received {"connection_id":134923,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f65766208012d7a1a8005e46788000600012a..."} 
[2026-07-15 16:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65766208012d7a1a8005e46788000600012a..."} 
[2026-07-15 16:40:00] local.INFO: Processing buffer {"connection_id":134923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65766208012d7a1a8005e46788000600012a..."} 
[2026-07-15 16:40:00] local.INFO: Packet analysis {"connection_id":134923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6576"} 
[2026-07-15 16:40:00] local.INFO: Extracted packet for processing {"connection_id":134923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6576"} 
[2026-07-15 16:40:00] local.INFO: GPS Element Parsed {"raw_longitude":762976896,"raw_latitude":98854792,"longitude_deg":76.2976896,"latitude_deg":9.8854792,"altitude":6,"angle":1,"satellites":42,"speed":0,"hex_longitude":"2d7a1a80","hex_latitude":"05e46788","is_valid_coordinates":true} 
[2026-07-15 16:40:00] 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-07-15 16:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733103360001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106620939625562112,"note":"Value kept but may cause issues"} 
[2026-07-15 16:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798485584816867328,"note":"Value kept but may cause issues"} 
[2026-07-15 16:40:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784113685000,"timestamp_ms":1784113685000,"timestamp_seconds":1784113685,"priority":1,"record_length":96,"hex_timestamp":"0000019f65766208"} 
[2026-07-15 16:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:40:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":18,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-07-15 16:40:00] 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-07-15 16:40:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":134923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":134923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":134923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:40:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733103360001,"66":4797,"97":206,"85":15104,"24":0,"16":106620939625562112,"45":8798485584816867328},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 16:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733103360001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:40:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 16:40:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 16:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106620939625562112,"km_value":106620939625562.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798485584816867328,"description":"Unknown IO ID 45"} 
[2026-07-15 16:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733103360001,"power":4797,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8798485584816867328}} 
[2026-07-15 16:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":134923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491861,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:40:00] local.INFO: GPS data processed {"connection_id":134923,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:40:00] local.INFO: Acknowledgment sent {"connection_id":134923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:40:01] local.INFO: TCP Data received {"connection_id":133568,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6575a688012d1a52000723ebb8002d002029..."} 
[2026-07-15 16:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6575a688012d1a52000723ebb8002d002029..."} 
[2026-07-15 16:40:01] local.INFO: Processing buffer {"connection_id":133568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6575a688012d1a52000723ebb8002d002029..."} 
[2026-07-15 16:40:01] local.INFO: Packet analysis {"connection_id":133568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6575"} 
[2026-07-15 16:40:01] local.INFO: Extracted packet for processing {"connection_id":133568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6575"} 
[2026-07-15 16:40:01] local.INFO: GPS Element Parsed {"raw_longitude":756699648,"raw_latitude":119794616,"longitude_deg":75.6699648,"latitude_deg":11.9794616,"altitude":45,"angle":32,"satellites":41,"speed":40,"hex_longitude":"2d1a5200","hex_latitude":"0723ebb8","is_valid_coordinates":true} 
[2026-07-15 16:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733088512001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6144728106008576,"note":"Value kept but may cause issues"} 
[2026-07-15 16:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890878555463395328,"note":"Value kept but may cause issues"} 
[2026-07-15 16:40:01] 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-07-15 16:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784113637000,"timestamp_ms":1784113637000,"timestamp_seconds":1784113637,"priority":1,"record_length":96,"hex_timestamp":"0000019f6575a688"} 
[2026-07-15 16:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:40:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-15 16:40: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-07-15 16:40:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":133568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":133568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":133568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:40:01] 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-07-15 16:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733088512001,"66":13135,"43":206,"83":42752,"24":40,"16":6144728106008576,"45":1890878555463395328},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-15 16:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733088512001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:40:01] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-15 16:40:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-15 16:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6144728106008576,"km_value":6144728106008.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890878555463395328,"description":"Unknown IO ID 45"} 
[2026-07-15 16:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733088512001,"power":13135,"unknown_43":206,"unknown_83":42752,"ignition":40,"odometer":null,"unknown_45":1890878555463395328}} 
[2026-07-15 16:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":133568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:40:01] local.INFO: GPS data processed {"connection_id":133568,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:40:01] local.INFO: Acknowledgment sent {"connection_id":133568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:40:06] local.INFO: TCP Data received {"connection_id":132722,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:40:06] local.INFO: Processing buffer {"connection_id":132722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:40:06] local.INFO: IMEI packet received {"connection_id":132722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":132722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:40:10] local.INFO: TCP Data received {"connection_id":132722,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:40:10] local.INFO: Processing buffer {"connection_id":132722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:40:10] local.INFO: IMEI packet received {"connection_id":132722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":132722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:40:11] local.INFO: TCP Data received {"connection_id":132722,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f65775ff0012d7f91c005afdb18000000682f..."} 
[2026-07-15 16:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65775ff0012d7f91c005afdb18000000682f..."} 
[2026-07-15 16:40:12] local.INFO: Processing buffer {"connection_id":132722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65775ff0012d7f91c005afdb18000000682f..."} 
[2026-07-15 16:40:12] local.INFO: Packet analysis {"connection_id":132722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6577"} 
[2026-07-15 16:40:12] local.INFO: Extracted packet for processing {"connection_id":132722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6577"} 
[2026-07-15 16:40:12] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410968,"longitude_deg":76.3335104,"latitude_deg":9.5410968,"altitude":0,"angle":104,"satellites":47,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afdb18","is_valid_coordinates":true} 
[2026-07-15 16:40: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-07-15 16:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733079808001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562689536,"note":"Value kept but may cause issues"} 
[2026-07-15 16:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784113750000,"timestamp_ms":1784113750000,"timestamp_seconds":1784113750,"priority":1,"record_length":96,"hex_timestamp":"0000019f65775ff0"} 
[2026-07-15 16:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-15 16:40:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:40: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-07-15 16:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733079808001,"66":26039,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9192761657562689536},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733079808001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:40:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:40:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562689536,"description":"Unknown IO ID 45"} 
[2026-07-15 16:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733079808001,"power":26039,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562689536}} 
[2026-07-15 16:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":132722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:40:12] local.INFO: GPS data processed {"connection_id":132722,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:40:12] local.INFO: Acknowledgment sent {"connection_id":132722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:40:31] local.INFO: TCP Data received {"connection_id":134923,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f65766208012d7a1a8005e46788000600012a..."} 
[2026-07-15 16:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65766208012d7a1a8005e46788000600012a..."} 
[2026-07-15 16:40:31] local.INFO: Processing buffer {"connection_id":134923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65766208012d7a1a8005e46788000600012a..."} 
[2026-07-15 16:40:31] local.INFO: Packet analysis {"connection_id":134923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6576"} 
[2026-07-15 16:40:31] local.INFO: Extracted packet for processing {"connection_id":134923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6576"} 
[2026-07-15 16:40:31] local.INFO: GPS Element Parsed {"raw_longitude":762976896,"raw_latitude":98854792,"longitude_deg":76.2976896,"latitude_deg":9.8854792,"altitude":6,"angle":1,"satellites":42,"speed":0,"hex_longitude":"2d7a1a80","hex_latitude":"05e46788","is_valid_coordinates":true} 
[2026-07-15 16:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733103360001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106620939625562112,"note":"Value kept but may cause issues"} 
[2026-07-15 16:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798485584816867328,"note":"Value kept but may cause issues"} 
[2026-07-15 16:40:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784113685000,"timestamp_ms":1784113685000,"timestamp_seconds":1784113685,"priority":1,"record_length":96,"hex_timestamp":"0000019f65766208"} 
[2026-07-15 16:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16: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":18,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-07-15 16:40:31] 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-07-15 16: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-07-15 16:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":134923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":134923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":134923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733103360001,"66":4797,"97":206,"85":15104,"24":0,"16":106620939625562112,"45":8798485584816867328},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 16:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733103360001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:40:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 16:40:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 16:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106620939625562112,"km_value":106620939625562.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798485584816867328,"description":"Unknown IO ID 45"} 
[2026-07-15 16:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733103360001,"power":4797,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8798485584816867328}} 
[2026-07-15 16:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":134923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491864,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:40:31] local.INFO: GPS data processed {"connection_id":134923,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:40:31] local.INFO: Acknowledgment sent {"connection_id":134923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:40:32] local.INFO: TCP Data received {"connection_id":133568,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6575cd98012d1a640007240248002c002d2c..."} 
[2026-07-15 16:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6575cd98012d1a640007240248002c002d2c..."} 
[2026-07-15 16:40:32] local.INFO: Processing buffer {"connection_id":133568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6575cd98012d1a640007240248002c002d2c..."} 
[2026-07-15 16:40:32] local.INFO: Packet analysis {"connection_id":133568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6575"} 
[2026-07-15 16:40:32] local.INFO: Extracted packet for processing {"connection_id":133568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6575"} 
[2026-07-15 16:40:32] local.INFO: GPS Element Parsed {"raw_longitude":756704256,"raw_latitude":119800392,"longitude_deg":75.6704256,"latitude_deg":11.9800392,"altitude":44,"angle":45,"satellites":44,"speed":25,"hex_longitude":"2d1a6400","hex_latitude":"07240248","is_valid_coordinates":true} 
[2026-07-15 16:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733091072001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6145084588294144,"note":"Value kept but may cause issues"} 
[2026-07-15 16:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1896578423743821824,"note":"Value kept but may cause issues"} 
[2026-07-15 16:40:32] 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-07-15 16:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784113647000,"timestamp_ms":1784113647000,"timestamp_seconds":1784113647,"priority":1,"record_length":96,"hex_timestamp":"0000019f6575cd98"} 
[2026-07-15 16:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:40:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-15 16:40:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":133568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":133568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":133568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:40:32] 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-07-15 16:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733091072001,"66":12972,"43":206,"83":42752,"24":25,"16":6145084588294144,"45":1896578423743821824},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-15 16:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733091072001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:40:32] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-15 16:40:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-15 16:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6145084588294144,"km_value":6145084588294.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1896578423743821824,"description":"Unknown IO ID 45"} 
[2026-07-15 16:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733091072001,"power":12972,"unknown_43":206,"unknown_83":42752,"ignition":25,"odometer":null,"unknown_45":1896578423743821824}} 
[2026-07-15 16:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":133568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:40:32] local.INFO: GPS data processed {"connection_id":133568,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:40:32] local.INFO: Acknowledgment sent {"connection_id":133568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:40:42] local.INFO: TCP Data received {"connection_id":132722,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f65776f90012d7f934005afdaf0000000682f..."} 
[2026-07-15 16:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65776f90012d7f934005afdaf0000000682f..."} 
[2026-07-15 16:40:42] local.INFO: Processing buffer {"connection_id":132722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65776f90012d7f934005afdaf0000000682f..."} 
[2026-07-15 16:40:42] local.INFO: Packet analysis {"connection_id":132722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6577"} 
[2026-07-15 16:40:42] local.INFO: Extracted packet for processing {"connection_id":132722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6577"} 
[2026-07-15 16:40:42] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410928,"longitude_deg":76.3335488,"latitude_deg":9.5410928,"altitude":0,"angle":104,"satellites":47,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-15 16:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733120000001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097633792,"note":"Value kept but may cause issues"} 
[2026-07-15 16:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784113754000,"timestamp_ms":1784113754000,"timestamp_seconds":1784113754,"priority":1,"record_length":96,"hex_timestamp":"0000019f65776f90"} 
[2026-07-15 16:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:40:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-15 16:40:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733120000001,"66":25995,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9192339445097633792},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733120000001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:40:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:40:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097633792,"description":"Unknown IO ID 45"} 
[2026-07-15 16:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733120000001,"power":25995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097633792}} 
[2026-07-15 16:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":132722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:40:42] local.INFO: GPS data processed {"connection_id":132722,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:40:42] local.INFO: Acknowledgment sent {"connection_id":132722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:40:50] local.INFO: TCP Data received {"connection_id":133570,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:40:50] local.INFO: Processing buffer {"connection_id":133570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:40:50] local.INFO: IMEI packet received {"connection_id":133570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":133570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:40:55] local.INFO: TCP Data received {"connection_id":133570,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:40:55] local.INFO: Processing buffer {"connection_id":133570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:40:55] local.INFO: IMEI packet received {"connection_id":133570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":133570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:40:56] local.INFO: TCP Data received {"connection_id":133570,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6575e120012d1a6cc0072409a0002d00382b..."} 
[2026-07-15 16:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6575e120012d1a6cc0072409a0002d00382b..."} 
[2026-07-15 16:40:56] local.INFO: Processing buffer {"connection_id":133570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6575e120012d1a6cc0072409a0002d00382b..."} 
[2026-07-15 16:40:56] local.INFO: Packet analysis {"connection_id":133570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6575"} 
[2026-07-15 16:40:56] local.INFO: Extracted packet for processing {"connection_id":133570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6575"} 
[2026-07-15 16:40:56] local.INFO: GPS Element Parsed {"raw_longitude":756706496,"raw_latitude":119802272,"longitude_deg":75.6706496,"latitude_deg":11.9802272,"altitude":45,"angle":56,"satellites":43,"speed":20,"hex_longitude":"2d1a6cc0","hex_latitude":"072409a0","is_valid_coordinates":true} 
[2026-07-15 16:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733093632001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6145222027247616,"note":"Value kept but may cause issues"} 
[2026-07-15 16:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1901644973326092288,"note":"Value kept but may cause issues"} 
[2026-07-15 16:40:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784113652000,"timestamp_ms":1784113652000,"timestamp_seconds":1784113652,"priority":1,"record_length":96,"hex_timestamp":"0000019f6575e120"} 
[2026-07-15 16:40:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:40:56] 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-07-15 16:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-15 16:40:56] 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-07-15 16:40:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:40:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:40:56] 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-07-15 16:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733093632001,"66":12939,"43":206,"83":42752,"24":20,"16":6145222027247616,"45":1901644973326092288},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-15 16:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733093632001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:40:56] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-15 16:40:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-15 16:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6145222027247616,"km_value":6145222027247.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1901644973326092288,"description":"Unknown IO ID 45"} 
[2026-07-15 16:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733093632001,"power":12939,"unknown_43":206,"unknown_83":42752,"ignition":20,"odometer":null,"unknown_45":1901644973326092288}} 
[2026-07-15 16:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":133570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:40:56] local.INFO: GPS data processed {"connection_id":133570,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:40:56] local.INFO: Acknowledgment sent {"connection_id":133570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:40:59] local.INFO: TCP Data received {"connection_id":134924,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134924,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:40:59] local.INFO: Processing buffer {"connection_id":134924,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:40:59] local.INFO: IMEI packet received {"connection_id":134924,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 16:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":134924,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:41:00] local.INFO: TCP Data received {"connection_id":134925,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:41:00] local.INFO: Processing buffer {"connection_id":134925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:41:00] local.INFO: IMEI packet received {"connection_id":134925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":134925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:41:04] local.INFO: TCP Data received {"connection_id":134924,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134924,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:41:04] local.INFO: Processing buffer {"connection_id":134924,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:41:04] local.INFO: IMEI packet received {"connection_id":134924,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":134924,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:41:04] local.INFO: TCP Data received {"connection_id":132546,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132546,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:41:04] local.INFO: Processing buffer {"connection_id":132546,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:41:04] local.INFO: IMEI packet received {"connection_id":132546,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 16:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":132546,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:41:05] local.INFO: TCP Data received {"connection_id":134924,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f65766208012d7a1a8005e46788000600012a..."} 
[2026-07-15 16:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65766208012d7a1a8005e46788000600012a..."} 
[2026-07-15 16:41:05] local.INFO: Processing buffer {"connection_id":134924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65766208012d7a1a8005e46788000600012a..."} 
[2026-07-15 16:41:05] local.INFO: Packet analysis {"connection_id":134924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6576"} 
[2026-07-15 16:41:05] local.INFO: Extracted packet for processing {"connection_id":134924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6576"} 
[2026-07-15 16:41:05] local.INFO: GPS Element Parsed {"raw_longitude":762976896,"raw_latitude":98854792,"longitude_deg":76.2976896,"latitude_deg":9.8854792,"altitude":6,"angle":1,"satellites":42,"speed":0,"hex_longitude":"2d7a1a80","hex_latitude":"05e46788","is_valid_coordinates":true} 
[2026-07-15 16:41:05] 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-07-15 16:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733103360001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106620939625562112,"note":"Value kept but may cause issues"} 
[2026-07-15 16:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798485584816867328,"note":"Value kept but may cause issues"} 
[2026-07-15 16:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784113685000,"timestamp_ms":1784113685000,"timestamp_seconds":1784113685,"priority":1,"record_length":96,"hex_timestamp":"0000019f65766208"} 
[2026-07-15 16:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16: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":18,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-07-15 16:41:05] 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-07-15 16: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-07-15 16:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":134924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":134924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":134924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733103360001,"66":4797,"97":206,"85":15104,"24":0,"16":106620939625562112,"45":8798485584816867328},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 16:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733103360001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:41:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 16:41:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 16:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106620939625562112,"km_value":106620939625562.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798485584816867328,"description":"Unknown IO ID 45"} 
[2026-07-15 16:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733103360001,"power":4797,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8798485584816867328}} 
[2026-07-15 16:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":134924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491868,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:41:05] local.INFO: GPS data processed {"connection_id":134924,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:41:05] local.INFO: Acknowledgment sent {"connection_id":134924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:41:05] local.INFO: TCP Data received {"connection_id":134925,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:41:05] local.INFO: Processing buffer {"connection_id":134925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:41:05] local.INFO: IMEI packet received {"connection_id":134925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":134925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:41:06] local.INFO: TCP Data received {"connection_id":134925,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f65776f90012d7f934005afdaf0000000682f..."} 
[2026-07-15 16:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65776f90012d7f934005afdaf0000000682f..."} 
[2026-07-15 16:41:06] local.INFO: Processing buffer {"connection_id":134925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65776f90012d7f934005afdaf0000000682f..."} 
[2026-07-15 16:41:06] local.INFO: Packet analysis {"connection_id":134925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6577"} 
[2026-07-15 16:41:06] local.INFO: Extracted packet for processing {"connection_id":134925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6577"} 
[2026-07-15 16:41:07] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410928,"longitude_deg":76.3335488,"latitude_deg":9.5410928,"altitude":0,"angle":104,"satellites":47,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-15 16:41:07] 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-07-15 16:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733120000001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097633792,"note":"Value kept but may cause issues"} 
[2026-07-15 16:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784113754000,"timestamp_ms":1784113754000,"timestamp_seconds":1784113754,"priority":1,"record_length":96,"hex_timestamp":"0000019f65776f90"} 
[2026-07-15 16:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-15 16:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733120000001,"66":25995,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9192339445097633792},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733120000001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:41:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:41:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097633792,"description":"Unknown IO ID 45"} 
[2026-07-15 16:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733120000001,"power":25995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097633792}} 
[2026-07-15 16:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":134925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:41:07] local.INFO: GPS data processed {"connection_id":134925,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:41:07] local.INFO: Acknowledgment sent {"connection_id":134925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:41:27] local.INFO: TCP Data received {"connection_id":133570,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f65762770012d1a86c0072418b8002d00232b..."} 
[2026-07-15 16:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65762770012d1a86c0072418b8002d00232b..."} 
[2026-07-15 16:41:27] local.INFO: Processing buffer {"connection_id":133570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65762770012d1a86c0072418b8002d00232b..."} 
[2026-07-15 16:41:27] local.INFO: Packet analysis {"connection_id":133570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6576"} 
[2026-07-15 16:41:27] local.INFO: Extracted packet for processing {"connection_id":133570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6576"} 
[2026-07-15 16:41:27] local.INFO: GPS Element Parsed {"raw_longitude":756713152,"raw_latitude":119806136,"longitude_deg":75.6713152,"latitude_deg":11.9806136,"altitude":45,"angle":35,"satellites":43,"speed":8,"hex_longitude":"2d1a86c0","hex_latitude":"072418b8","is_valid_coordinates":true} 
[2026-07-15 16:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733094912001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6145591394435072,"note":"Value kept but may cause issues"} 
[2026-07-15 16:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904107879372791808,"note":"Value kept but may cause issues"} 
[2026-07-15 16:41:27] 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-07-15 16:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784113670000,"timestamp_ms":1784113670000,"timestamp_seconds":1784113670,"priority":1,"record_length":96,"hex_timestamp":"0000019f65762770"} 
[2026-07-15 16:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:41:27] 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-07-15 16:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 16:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:41:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":133570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":133570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":133570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:41: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-07-15 16:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733094912001,"66":12863,"43":206,"83":42752,"24":8,"16":6145591394435072,"45":1904107879372791808},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-15 16:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733094912001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:41:27] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-15 16:41:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-15 16:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6145591394435072,"km_value":6145591394435.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904107879372791808,"description":"Unknown IO ID 45"} 
[2026-07-15 16:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733094912001,"power":12863,"unknown_43":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1904107879372791808}} 
[2026-07-15 16:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":133570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:41:27] local.INFO: GPS data processed {"connection_id":133570,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:41:27] local.INFO: Acknowledgment sent {"connection_id":133570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:41:34] local.INFO: TCP Data received {"connection_id":132723,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132723,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:41:34] local.INFO: Processing buffer {"connection_id":132723,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:41:34] local.INFO: IMEI packet received {"connection_id":132723,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 16:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":132723,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:41:36] local.INFO: TCP Data received {"connection_id":134924,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f65766208012d7a1a8005e46788000600012a..."} 
[2026-07-15 16:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65766208012d7a1a8005e46788000600012a..."} 
[2026-07-15 16:41:36] local.INFO: Processing buffer {"connection_id":134924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65766208012d7a1a8005e46788000600012a..."} 
[2026-07-15 16:41:36] local.INFO: Packet analysis {"connection_id":134924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6576"} 
[2026-07-15 16:41:36] local.INFO: Extracted packet for processing {"connection_id":134924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6576"} 
[2026-07-15 16:41:36] local.INFO: GPS Element Parsed {"raw_longitude":762976896,"raw_latitude":98854792,"longitude_deg":76.2976896,"latitude_deg":9.8854792,"altitude":6,"angle":1,"satellites":42,"speed":0,"hex_longitude":"2d7a1a80","hex_latitude":"05e46788","is_valid_coordinates":true} 
[2026-07-15 16:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733103360001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106620939625562112,"note":"Value kept but may cause issues"} 
[2026-07-15 16:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798485584816867328,"note":"Value kept but may cause issues"} 
[2026-07-15 16:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784113685000,"timestamp_ms":1784113685000,"timestamp_seconds":1784113685,"priority":1,"record_length":96,"hex_timestamp":"0000019f65766208"} 
[2026-07-15 16:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":18,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-07-15 16:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":134924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":134924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":134924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733103360001,"66":4797,"97":206,"85":15104,"24":0,"16":106620939625562112,"45":8798485584816867328},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 16:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733103360001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:41:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 16:41:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 16:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106620939625562112,"km_value":106620939625562.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798485584816867328,"description":"Unknown IO ID 45"} 
[2026-07-15 16:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733103360001,"power":4797,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8798485584816867328}} 
[2026-07-15 16:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":134924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491871,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:41:36] local.INFO: GPS data processed {"connection_id":134924,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:41:36] local.INFO: Acknowledgment sent {"connection_id":134924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:41:38] local.INFO: TCP Data received {"connection_id":134925,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f65776f90012d7f934005afdaf0000000682f..."} 
[2026-07-15 16:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65776f90012d7f934005afdaf0000000682f..."} 
[2026-07-15 16:41:38] local.INFO: Processing buffer {"connection_id":134925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65776f90012d7f934005afdaf0000000682f..."} 
[2026-07-15 16:41:38] local.INFO: Packet analysis {"connection_id":134925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6577"} 
[2026-07-15 16:41:38] local.INFO: Extracted packet for processing {"connection_id":134925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6577"} 
[2026-07-15 16:41:38] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410928,"longitude_deg":76.3335488,"latitude_deg":9.5410928,"altitude":0,"angle":104,"satellites":47,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-15 16:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733120000001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097633792,"note":"Value kept but may cause issues"} 
[2026-07-15 16:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784113754000,"timestamp_ms":1784113754000,"timestamp_seconds":1784113754,"priority":1,"record_length":96,"hex_timestamp":"0000019f65776f90"} 
[2026-07-15 16:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-15 16:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733120000001,"66":25995,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9192339445097633792},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733120000001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:41:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:41:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097633792,"description":"Unknown IO ID 45"} 
[2026-07-15 16:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733120000001,"power":25995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097633792}} 
[2026-07-15 16:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":134925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:41:38] local.INFO: GPS data processed {"connection_id":134925,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:41:38] local.INFO: Acknowledgment sent {"connection_id":134925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:41:50] local.INFO: TCP Data received {"connection_id":134926,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:41:50] local.INFO: Processing buffer {"connection_id":134926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:41:50] local.INFO: IMEI packet received {"connection_id":134926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":134926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:41:55] local.INFO: TCP Data received {"connection_id":134926,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:41:55] local.INFO: Processing buffer {"connection_id":134926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:41:55] local.INFO: IMEI packet received {"connection_id":134926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":134926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:41:56] local.INFO: TCP Data received {"connection_id":134926,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f65762b58012d1a878007241940002d00312b..."} 
[2026-07-15 16:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65762b58012d1a878007241940002d00312b..."} 
[2026-07-15 16:41:56] local.INFO: Processing buffer {"connection_id":134926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65762b58012d1a878007241940002d00312b..."} 
[2026-07-15 16:41:56] local.INFO: Packet analysis {"connection_id":134926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6576"} 
[2026-07-15 16:41:56] local.INFO: Extracted packet for processing {"connection_id":134926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6576"} 
[2026-07-15 16:41:56] local.INFO: GPS Element Parsed {"raw_longitude":756713344,"raw_latitude":119806272,"longitude_deg":75.6713344,"latitude_deg":11.9806272,"altitude":45,"angle":49,"satellites":43,"speed":7,"hex_longitude":"2d1a8780","hex_latitude":"07241940","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733099520001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6145599984369664,"note":"Value kept but may cause issues"} 
[2026-07-15 16:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1911426228768258048,"note":"Value kept but may cause issues"} 
[2026-07-15 16:41:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784113671000,"timestamp_ms":1784113671000,"timestamp_seconds":1784113671,"priority":1,"record_length":96,"hex_timestamp":"0000019f65762b58"} 
[2026-07-15 16:41:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:41:56] 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-07-15 16: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-15 16:41:56] 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-07-15 16: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-07-15 16:41:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":134926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":134926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":134926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:41:56] 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-07-15 16:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733099520001,"66":12841,"43":206,"83":42752,"24":7,"16":6145599984369664,"45":1911426228768258048},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-15 16:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733099520001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:41:56] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-15 16:41:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-15 16:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6145599984369664,"km_value":6145599984369.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1911426228768258048,"description":"Unknown IO ID 45"} 
[2026-07-15 16:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733099520001,"power":12841,"unknown_43":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1911426228768258048}} 
[2026-07-15 16:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":134926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:41:56] local.INFO: GPS data processed {"connection_id":134926,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:41:56] local.INFO: Acknowledgment sent {"connection_id":134926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:41:59] local.INFO: TCP Data received {"connection_id":132724,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132724,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:41:59] local.INFO: Processing buffer {"connection_id":132724,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:41:59] local.INFO: IMEI packet received {"connection_id":132724,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 16:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":132724,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:42:00] local.INFO: TCP Data received {"connection_id":134927,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:42:00] local.INFO: Processing buffer {"connection_id":134927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:42:00] local.INFO: IMEI packet received {"connection_id":134927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":134927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:42:04] local.INFO: TCP Data received {"connection_id":132724,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132724,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:42:04] local.INFO: Processing buffer {"connection_id":132724,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:42:04] local.INFO: IMEI packet received {"connection_id":132724,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":132724,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:42:05] local.INFO: TCP Data received {"connection_id":134927,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:42:05] local.INFO: Processing buffer {"connection_id":134927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:42:05] local.INFO: IMEI packet received {"connection_id":134927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":134927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:42:06] local.INFO: TCP Data received {"connection_id":132724,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f65766208012d7a1a8005e46788000600012a..."} 
[2026-07-15 16:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65766208012d7a1a8005e46788000600012a..."} 
[2026-07-15 16:42:06] local.INFO: Processing buffer {"connection_id":132724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65766208012d7a1a8005e46788000600012a..."} 
[2026-07-15 16:42:06] local.INFO: Packet analysis {"connection_id":132724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6576"} 
[2026-07-15 16:42:06] local.INFO: Extracted packet for processing {"connection_id":132724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6576"} 
[2026-07-15 16:42:06] local.INFO: GPS Element Parsed {"raw_longitude":762976896,"raw_latitude":98854792,"longitude_deg":76.2976896,"latitude_deg":9.8854792,"altitude":6,"angle":1,"satellites":42,"speed":0,"hex_longitude":"2d7a1a80","hex_latitude":"05e46788","is_valid_coordinates":true} 
[2026-07-15 16:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733103360001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106620939625562112,"note":"Value kept but may cause issues"} 
[2026-07-15 16:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798485584816867328,"note":"Value kept but may cause issues"} 
[2026-07-15 16:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784113685000,"timestamp_ms":1784113685000,"timestamp_seconds":1784113685,"priority":1,"record_length":96,"hex_timestamp":"0000019f65766208"} 
[2026-07-15 16:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":18,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-07-15 16:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733103360001,"66":4797,"97":206,"85":15104,"24":0,"16":106620939625562112,"45":8798485584816867328},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 16:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733103360001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:42:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 16:42:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 16:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106620939625562112,"km_value":106620939625562.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798485584816867328,"description":"Unknown IO ID 45"} 
[2026-07-15 16:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733103360001,"power":4797,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8798485584816867328}} 
[2026-07-15 16:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":132724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491874,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:42:06] local.INFO: GPS data processed {"connection_id":132724,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:42:06] local.INFO: Acknowledgment sent {"connection_id":132724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:42:06] local.INFO: TCP Data received {"connection_id":134927,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f65776f90012d7f934005afdaf0000000682f..."} 
[2026-07-15 16:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65776f90012d7f934005afdaf0000000682f..."} 
[2026-07-15 16:42:06] local.INFO: Processing buffer {"connection_id":134927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65776f90012d7f934005afdaf0000000682f..."} 
[2026-07-15 16:42:06] local.INFO: Packet analysis {"connection_id":134927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6577"} 
[2026-07-15 16:42:06] local.INFO: Extracted packet for processing {"connection_id":134927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6577"} 
[2026-07-15 16:42:06] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410928,"longitude_deg":76.3335488,"latitude_deg":9.5410928,"altitude":0,"angle":104,"satellites":47,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-15 16:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733120000001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097633792,"note":"Value kept but may cause issues"} 
[2026-07-15 16:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784113754000,"timestamp_ms":1784113754000,"timestamp_seconds":1784113754,"priority":1,"record_length":96,"hex_timestamp":"0000019f65776f90"} 
[2026-07-15 16:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-15 16:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":134927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":134927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":134927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733120000001,"66":25995,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9192339445097633792},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733120000001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:42:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:42:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097633792,"description":"Unknown IO ID 45"} 
[2026-07-15 16:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733120000001,"power":25995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097633792}} 
[2026-07-15 16:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":134927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:42:06] local.INFO: GPS data processed {"connection_id":134927,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:42:06] local.INFO: Acknowledgment sent {"connection_id":134927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:42:27] local.INFO: TCP Data received {"connection_id":134926,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f65767d60012d1a884007241978002d00312b..."} 
[2026-07-15 16:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65767d60012d1a884007241978002d00312b..."} 
[2026-07-15 16:42:27] local.INFO: Processing buffer {"connection_id":134926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65767d60012d1a884007241978002d00312b..."} 
[2026-07-15 16:42:27] local.INFO: Packet analysis {"connection_id":134926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6576"} 
[2026-07-15 16:42:27] local.INFO: Extracted packet for processing {"connection_id":134926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6576"} 
[2026-07-15 16:42:27] local.INFO: GPS Element Parsed {"raw_longitude":756713536,"raw_latitude":119806328,"longitude_deg":75.6713536,"latitude_deg":11.9806328,"altitude":45,"angle":49,"satellites":43,"speed":0,"hex_longitude":"2d1a8840","hex_latitude":"07241978","is_valid_coordinates":true} 
[2026-07-15 16:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733099776001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6145612869271552,"note":"Value kept but may cause issues"} 
[2026-07-15 16:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1911637335000825856,"note":"Value kept but may cause issues"} 
[2026-07-15 16:42:27] 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-07-15 16:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784113692000,"timestamp_ms":1784113692000,"timestamp_seconds":1784113692,"priority":1,"record_length":96,"hex_timestamp":"0000019f65767d60"} 
[2026-07-15 16:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:42:27] 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-07-15 16:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-15 16:42: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-07-15 16:42:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":134926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":134926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":134926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:42: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-07-15 16:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733099776001,"66":12798,"43":206,"83":42752,"24":0,"16":6145612869271552,"45":1911637335000825856},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-15 16:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733099776001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:42:27] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-15 16:42:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-15 16:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6145612869271552,"km_value":6145612869271.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1911637335000825856,"description":"Unknown IO ID 45"} 
[2026-07-15 16:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733099776001,"power":12798,"unknown_43":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1911637335000825856}} 
[2026-07-15 16:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":134926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:42:28] local.INFO: GPS data processed {"connection_id":134926,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:42:28] local.INFO: Acknowledgment sent {"connection_id":134926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:42:37] local.INFO: TCP Data received {"connection_id":134927,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f65776f90012d7f934005afdaf0000000682f..."} 
[2026-07-15 16:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65776f90012d7f934005afdaf0000000682f..."} 
[2026-07-15 16:42:37] local.INFO: Processing buffer {"connection_id":134927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65776f90012d7f934005afdaf0000000682f..."} 
[2026-07-15 16:42:37] local.INFO: Packet analysis {"connection_id":134927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6577"} 
[2026-07-15 16:42:37] local.INFO: Extracted packet for processing {"connection_id":134927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6577"} 
[2026-07-15 16:42:37] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410928,"longitude_deg":76.3335488,"latitude_deg":9.5410928,"altitude":0,"angle":104,"satellites":47,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-15 16:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733120000001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097633792,"note":"Value kept but may cause issues"} 
[2026-07-15 16:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784113754000,"timestamp_ms":1784113754000,"timestamp_seconds":1784113754,"priority":1,"record_length":96,"hex_timestamp":"0000019f65776f90"} 
[2026-07-15 16:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-15 16:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":134927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":134927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":134927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733120000001,"66":25995,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9192339445097633792},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733120000001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:42:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:42:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097633792,"description":"Unknown IO ID 45"} 
[2026-07-15 16:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733120000001,"power":25995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097633792}} 
[2026-07-15 16:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":134927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:42:37] local.INFO: GPS data processed {"connection_id":134927,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:42:37] local.INFO: Acknowledgment sent {"connection_id":134927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:42:38] local.INFO: TCP Data received {"connection_id":132724,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f65766208012d7a1a8005e46788000600012a..."} 
[2026-07-15 16:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65766208012d7a1a8005e46788000600012a..."} 
[2026-07-15 16:42:38] local.INFO: Processing buffer {"connection_id":132724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65766208012d7a1a8005e46788000600012a..."} 
[2026-07-15 16:42:38] local.INFO: Packet analysis {"connection_id":132724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6576"} 
[2026-07-15 16:42:38] local.INFO: Extracted packet for processing {"connection_id":132724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6576"} 
[2026-07-15 16:42:38] local.INFO: GPS Element Parsed {"raw_longitude":762976896,"raw_latitude":98854792,"longitude_deg":76.2976896,"latitude_deg":9.8854792,"altitude":6,"angle":1,"satellites":42,"speed":0,"hex_longitude":"2d7a1a80","hex_latitude":"05e46788","is_valid_coordinates":true} 
[2026-07-15 16:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733103360001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106620939625562112,"note":"Value kept but may cause issues"} 
[2026-07-15 16:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798485584816867328,"note":"Value kept but may cause issues"} 
[2026-07-15 16:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784113685000,"timestamp_ms":1784113685000,"timestamp_seconds":1784113685,"priority":1,"record_length":96,"hex_timestamp":"0000019f65766208"} 
[2026-07-15 16:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":18,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-07-15 16:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:42:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733103360001,"66":4797,"97":206,"85":15104,"24":0,"16":106620939625562112,"45":8798485584816867328},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 16:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733103360001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:42:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 16:42:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 16:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106620939625562112,"km_value":106620939625562.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798485584816867328,"description":"Unknown IO ID 45"} 
[2026-07-15 16:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733103360001,"power":4797,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8798485584816867328}} 
[2026-07-15 16:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":132724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491878,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:42:38] local.INFO: GPS data processed {"connection_id":132724,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:42:38] local.INFO: Acknowledgment sent {"connection_id":132724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:42:50] local.INFO: TCP Data received {"connection_id":132547,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:42:50] local.INFO: Processing buffer {"connection_id":132547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:42:50] local.INFO: IMEI packet received {"connection_id":132547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":132547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:42:55] local.INFO: TCP Data received {"connection_id":132547,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:42:55] local.INFO: Processing buffer {"connection_id":132547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:42:55] local.INFO: IMEI packet received {"connection_id":132547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":132547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:42:56] local.INFO: TCP Data received {"connection_id":132547,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6576cf68012d1a884007241978002d00312a..."} 
[2026-07-15 16:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6576cf68012d1a884007241978002d00312a..."} 
[2026-07-15 16:42:56] local.INFO: Processing buffer {"connection_id":132547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6576cf68012d1a884007241978002d00312a..."} 
[2026-07-15 16:42:56] local.INFO: Packet analysis {"connection_id":132547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6576"} 
[2026-07-15 16:42:56] local.INFO: Extracted packet for processing {"connection_id":132547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6576"} 
[2026-07-15 16:42:56] local.INFO: GPS Element Parsed {"raw_longitude":756713536,"raw_latitude":119806328,"longitude_deg":75.6713536,"latitude_deg":11.9806328,"altitude":45,"angle":49,"satellites":42,"speed":0,"hex_longitude":"2d1a8840","hex_latitude":"07241978","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733105152001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6145612869271552,"note":"Value kept but may cause issues"} 
[2026-07-15 16:42:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1911848441233373184,"note":"Value kept but may cause issues"} 
[2026-07-15 16:42:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784113713000,"timestamp_ms":1784113713000,"timestamp_seconds":1784113713,"priority":1,"record_length":96,"hex_timestamp":"0000019f6576cf68"} 
[2026-07-15 16:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:42: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-07-15 16: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-15 16:42:56] 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-07-15 16: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-07-15 16:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:42:56] 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-07-15 16:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733105152001,"66":12798,"43":206,"83":42752,"24":0,"16":6145612869271552,"45":1911848441233373184},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-15 16:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733105152001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:42:56] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-15 16:42:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-15 16:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6145612869271552,"km_value":6145612869271.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:42:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1911848441233373184,"description":"Unknown IO ID 45"} 
[2026-07-15 16:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733105152001,"power":12798,"unknown_43":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1911848441233373184}} 
[2026-07-15 16:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":132547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:42:56] local.INFO: GPS data processed {"connection_id":132547,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:42:56] local.INFO: Acknowledgment sent {"connection_id":132547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:43:00] local.INFO: TCP Data received {"connection_id":132726,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:43:00] local.INFO: Processing buffer {"connection_id":132726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:43:00] local.INFO: IMEI packet received {"connection_id":132726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":132726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:43:04] local.INFO: TCP Data received {"connection_id":132548,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132548,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:43:04] local.INFO: Processing buffer {"connection_id":132548,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:43:04] local.INFO: IMEI packet received {"connection_id":132548,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 16:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":132548,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:43:05] local.INFO: TCP Data received {"connection_id":132726,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:43:05] local.INFO: Processing buffer {"connection_id":132726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:43:05] local.INFO: IMEI packet received {"connection_id":132726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":132726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:43:06] local.INFO: TCP Data received {"connection_id":132726,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f65776f90012d7f934005afdaf0000000682f..."} 
[2026-07-15 16:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65776f90012d7f934005afdaf0000000682f..."} 
[2026-07-15 16:43:06] local.INFO: Processing buffer {"connection_id":132726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65776f90012d7f934005afdaf0000000682f..."} 
[2026-07-15 16:43:06] local.INFO: Packet analysis {"connection_id":132726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6577"} 
[2026-07-15 16:43:06] local.INFO: Extracted packet for processing {"connection_id":132726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6577"} 
[2026-07-15 16:43:06] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410928,"longitude_deg":76.3335488,"latitude_deg":9.5410928,"altitude":0,"angle":104,"satellites":47,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-15 16:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733120000001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097633792,"note":"Value kept but may cause issues"} 
[2026-07-15 16:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784113754000,"timestamp_ms":1784113754000,"timestamp_seconds":1784113754,"priority":1,"record_length":96,"hex_timestamp":"0000019f65776f90"} 
[2026-07-15 16:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-15 16:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16: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-07-15 16:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733120000001,"66":25995,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9192339445097633792},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733120000001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:43:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:43:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097633792,"description":"Unknown IO ID 45"} 
[2026-07-15 16:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733120000001,"power":25995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097633792}} 
[2026-07-15 16:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":132726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:43:06] local.INFO: GPS data processed {"connection_id":132726,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:43:06] local.INFO: Acknowledgment sent {"connection_id":132726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:43:27] local.INFO: TCP Data received {"connection_id":132547,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f657a7118012d1a89c0072417f0002d00cb2c..."} 
[2026-07-15 16:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f657a7118012d1a89c0072417f0002d00cb2c..."} 
[2026-07-15 16:43:27] local.INFO: Processing buffer {"connection_id":132547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f657a7118012d1a89c0072417f0002d00cb2c..."} 
[2026-07-15 16:43:27] local.INFO: Packet analysis {"connection_id":132547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f657a"} 
[2026-07-15 16:43:27] local.INFO: Extracted packet for processing {"connection_id":132547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f657a"} 
[2026-07-15 16:43:27] local.INFO: GPS Element Parsed {"raw_longitude":756713920,"raw_latitude":119805936,"longitude_deg":75.671392,"latitude_deg":11.9805936,"altitude":45,"angle":203,"satellites":44,"speed":5,"hex_longitude":"2d1a89c0","hex_latitude":"072417f0","is_valid_coordinates":true} 
[2026-07-15 16:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733171200001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6145647229009920,"note":"Value kept but may cause issues"} 
[2026-07-15 16:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912411391186716672,"note":"Value kept but may cause issues"} 
[2026-07-15 16:43:27] 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-07-15 16:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784113951000,"timestamp_ms":1784113951000,"timestamp_seconds":1784113951,"priority":1,"record_length":96,"hex_timestamp":"0000019f657a7118"} 
[2026-07-15 16:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:43:27] 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-07-15 16:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-15 16:43:27] 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-07-15 16:43:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":132547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":132547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":132547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:43: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-07-15 16:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733171200001,"66":14048,"43":206,"83":42752,"24":5,"16":6145647229009920,"45":1912411391186716672},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-15 16:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733171200001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:43:27] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-15 16:43:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-15 16:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6145647229009920,"km_value":6145647229009.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912411391186716672,"description":"Unknown IO ID 45"} 
[2026-07-15 16:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733171200001,"power":14048,"unknown_43":206,"unknown_83":42752,"ignition":5,"odometer":null,"unknown_45":1912411391186716672}} 
[2026-07-15 16:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":132547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491881,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:43:28] local.INFO: GPS data processed {"connection_id":132547,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:43:28] local.INFO: Acknowledgment sent {"connection_id":132547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:43:37] local.INFO: TCP Data received {"connection_id":132726,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f65776f90012d7f934005afdaf0000000682f..."} 
[2026-07-15 16:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65776f90012d7f934005afdaf0000000682f..."} 
[2026-07-15 16:43:37] local.INFO: Processing buffer {"connection_id":132726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65776f90012d7f934005afdaf0000000682f..."} 
[2026-07-15 16:43:37] local.INFO: Packet analysis {"connection_id":132726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6577"} 
[2026-07-15 16:43:37] local.INFO: Extracted packet for processing {"connection_id":132726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6577"} 
[2026-07-15 16:43:37] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410928,"longitude_deg":76.3335488,"latitude_deg":9.5410928,"altitude":0,"angle":104,"satellites":47,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-15 16:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733120000001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097633792,"note":"Value kept but may cause issues"} 
[2026-07-15 16:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784113754000,"timestamp_ms":1784113754000,"timestamp_seconds":1784113754,"priority":1,"record_length":96,"hex_timestamp":"0000019f65776f90"} 
[2026-07-15 16:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-15 16:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16: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-07-15 16:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733120000001,"66":25995,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9192339445097633792},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733120000001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:43:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:43:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097633792,"description":"Unknown IO ID 45"} 
[2026-07-15 16:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733120000001,"power":25995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097633792}} 
[2026-07-15 16:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":132726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:43:37] local.INFO: GPS data processed {"connection_id":132726,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:43:37] local.INFO: Acknowledgment sent {"connection_id":132726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:43:53] local.INFO: TCP Data received {"connection_id":134930,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:43:53] local.INFO: Processing buffer {"connection_id":134930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:43:53] local.INFO: IMEI packet received {"connection_id":134930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":134930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:43:55] local.INFO: TCP Data received {"connection_id":134930,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:43:55] local.INFO: Processing buffer {"connection_id":134930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:43:55] local.INFO: IMEI packet received {"connection_id":134930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":134930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:44:00] local.INFO: TCP Data received {"connection_id":134930,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:44:00] local.INFO: Processing buffer {"connection_id":134930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:44:00] local.INFO: IMEI packet received {"connection_id":134930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":134930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:44:01] local.INFO: TCP Data received {"connection_id":134930,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f657a7500012d1a898007241780002d00e52c..."} 
[2026-07-15 16:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f657a7500012d1a898007241780002d00e52c..."} 
[2026-07-15 16:44:01] local.INFO: Processing buffer {"connection_id":134930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f657a7500012d1a898007241780002d00e52c..."} 
[2026-07-15 16:44:01] local.INFO: Packet analysis {"connection_id":134930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f657a"} 
[2026-07-15 16:44:01] local.INFO: Extracted packet for processing {"connection_id":134930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f657a"} 
[2026-07-15 16:44:01] local.INFO: GPS Element Parsed {"raw_longitude":756713856,"raw_latitude":119805824,"longitude_deg":75.6713856,"latitude_deg":11.9805824,"altitude":45,"angle":229,"satellites":44,"speed":10,"hex_longitude":"2d1a8980","hex_latitude":"07241780","is_valid_coordinates":true} 
[2026-07-15 16:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733171456001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6145655818944512,"note":"Value kept but may cause issues"} 
[2026-07-15 16:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912270653698338816,"note":"Value kept but may cause issues"} 
[2026-07-15 16:44:01] 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-07-15 16:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784113952000,"timestamp_ms":1784113952000,"timestamp_seconds":1784113952,"priority":1,"record_length":96,"hex_timestamp":"0000019f657a7500"} 
[2026-07-15 16:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-15 16:44:01] 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-07-15 16:44:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":134930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":134930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":134930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:44:01] 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-07-15 16:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733171456001,"66":14048,"43":206,"83":42752,"24":10,"16":6145655818944512,"45":1912270653698338816},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-15 16:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733171456001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:44:01] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-15 16:44:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-15 16:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6145655818944512,"km_value":6145655818944.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912270653698338816,"description":"Unknown IO ID 45"} 
[2026-07-15 16:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733171456001,"power":14048,"unknown_43":206,"unknown_83":42752,"ignition":10,"odometer":null,"unknown_45":1912270653698338816}} 
[2026-07-15 16:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":134930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491883,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:44:01] local.INFO: GPS data processed {"connection_id":134930,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:44:01] local.INFO: Acknowledgment sent {"connection_id":134930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:44:06] local.INFO: TCP Data received {"connection_id":134931,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:44:06] local.INFO: Processing buffer {"connection_id":134931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:44:06] local.INFO: IMEI packet received {"connection_id":134931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":134931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:44:06] local.INFO: TCP Data received {"connection_id":134930,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f657a78e8012d1a88c007241700002d00f52b..."} 
[2026-07-15 16:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f657a78e8012d1a88c007241700002d00f52b..."} 
[2026-07-15 16:44:06] local.INFO: Processing buffer {"connection_id":134930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f657a78e8012d1a88c007241700002d00f52b..."} 
[2026-07-15 16:44:06] local.INFO: Packet analysis {"connection_id":134930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f657a"} 
[2026-07-15 16:44:06] local.INFO: Extracted packet for processing {"connection_id":134930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f657a"} 
[2026-07-15 16:44:06] local.INFO: GPS Element Parsed {"raw_longitude":756713664,"raw_latitude":119805696,"longitude_deg":75.6713664,"latitude_deg":11.9805696,"altitude":45,"angle":245,"satellites":43,"speed":10,"hex_longitude":"2d1a88c0","hex_latitude":"07241700","is_valid_coordinates":true} 
[2026-07-15 16:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733171712001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6145668703846400,"note":"Value kept but may cause issues"} 
[2026-07-15 16:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912200284954132480,"note":"Value kept but may cause issues"} 
[2026-07-15 16:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784113953000,"timestamp_ms":1784113953000,"timestamp_seconds":1784113953,"priority":1,"record_length":96,"hex_timestamp":"0000019f657a78e8"} 
[2026-07-15 16:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-15 16:44:06] 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-07-15 16:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":134930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":134930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":134930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733171712001,"66":14113,"43":206,"83":42752,"24":10,"16":6145668703846400,"45":1912200284954132480},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-15 16:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733171712001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:44:06] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-15 16:44:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-15 16:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6145668703846400,"km_value":6145668703846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912200284954132480,"description":"Unknown IO ID 45"} 
[2026-07-15 16:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733171712001,"power":14113,"unknown_43":206,"unknown_83":42752,"ignition":10,"odometer":null,"unknown_45":1912200284954132480}} 
[2026-07-15 16:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":134930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:44:06] local.INFO: GPS data processed {"connection_id":134930,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:44:06] local.INFO: Acknowledgment sent {"connection_id":134930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:44:10] local.INFO: TCP Data received {"connection_id":134931,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:44:10] local.INFO: Processing buffer {"connection_id":134931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:44:10] local.INFO: IMEI packet received {"connection_id":134931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":134931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:44:11] local.INFO: TCP Data received {"connection_id":134931,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f65776f90012d7f934005afdaf0000000682f..."} 
[2026-07-15 16:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65776f90012d7f934005afdaf0000000682f..."} 
[2026-07-15 16:44:11] local.INFO: Processing buffer {"connection_id":134931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65776f90012d7f934005afdaf0000000682f..."} 
[2026-07-15 16:44:11] local.INFO: Packet analysis {"connection_id":134931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6577"} 
[2026-07-15 16:44:11] local.INFO: Extracted packet for processing {"connection_id":134931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6577"} 
[2026-07-15 16:44:11] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410928,"longitude_deg":76.3335488,"latitude_deg":9.5410928,"altitude":0,"angle":104,"satellites":47,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-15 16:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733120000001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097633792,"note":"Value kept but may cause issues"} 
[2026-07-15 16:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784113754000,"timestamp_ms":1784113754000,"timestamp_seconds":1784113754,"priority":1,"record_length":96,"hex_timestamp":"0000019f65776f90"} 
[2026-07-15 16:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-15 16:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":134931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":134931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":134931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733120000001,"66":25995,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9192339445097633792},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733120000001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:44:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:44:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097633792,"description":"Unknown IO ID 45"} 
[2026-07-15 16:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733120000001,"power":25995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097633792}} 
[2026-07-15 16:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":134931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:44:11] local.INFO: GPS data processed {"connection_id":134931,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:44:11] local.INFO: Acknowledgment sent {"connection_id":134931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:44:16] local.INFO: TCP Data received {"connection_id":134931,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f65776f90012d7f934005afdaf0000000682f..."} 
[2026-07-15 16:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65776f90012d7f934005afdaf0000000682f..."} 
[2026-07-15 16:44:16] local.INFO: Processing buffer {"connection_id":134931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65776f90012d7f934005afdaf0000000682f..."} 
[2026-07-15 16:44:16] local.INFO: Packet analysis {"connection_id":134931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6577"} 
[2026-07-15 16:44:16] local.INFO: Extracted packet for processing {"connection_id":134931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6577"} 
[2026-07-15 16:44:16] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410928,"longitude_deg":76.3335488,"latitude_deg":9.5410928,"altitude":0,"angle":104,"satellites":47,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-15 16:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733120000001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097633792,"note":"Value kept but may cause issues"} 
[2026-07-15 16:44:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784113754000,"timestamp_ms":1784113754000,"timestamp_seconds":1784113754,"priority":1,"record_length":96,"hex_timestamp":"0000019f65776f90"} 
[2026-07-15 16:44:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:44:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-15 16:44:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16: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-07-15 16:44:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":134931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":134931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":134931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:44:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733120000001,"66":25995,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9192339445097633792},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733120000001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:44:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:44:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097633792,"description":"Unknown IO ID 45"} 
[2026-07-15 16:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733120000001,"power":25995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097633792}} 
[2026-07-15 16:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":134931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:44:16] local.INFO: GPS data processed {"connection_id":134931,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:44:16] local.INFO: Acknowledgment sent {"connection_id":134931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:44:47] local.INFO: TCP Data received {"connection_id":132549,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:44:47] local.INFO: Processing buffer {"connection_id":132549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:44:47] local.INFO: IMEI packet received {"connection_id":132549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":132549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:44:50] local.INFO: TCP Data received {"connection_id":132549,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:44:50] local.INFO: Processing buffer {"connection_id":132549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:44:50] local.INFO: IMEI packet received {"connection_id":132549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":132549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:44:55] local.INFO: TCP Data received {"connection_id":132549,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:44:55] local.INFO: Processing buffer {"connection_id":132549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:44:55] local.INFO: IMEI packet received {"connection_id":132549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":132549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:44:55] local.INFO: TCP Data received {"connection_id":132549,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:44:55] local.INFO: Processing buffer {"connection_id":132549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:44:55] local.INFO: IMEI packet received {"connection_id":132549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":132549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:44:56] local.INFO: TCP Data received {"connection_id":132728,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:44:56] local.INFO: Processing buffer {"connection_id":132728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:44:56] local.INFO: IMEI packet received {"connection_id":132728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":132728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:44:56] local.INFO: TCP Data received {"connection_id":132549,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f657acaf0012d1a8400072414b0003000f42c..."} 
[2026-07-15 16:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f657acaf0012d1a8400072414b0003000f42c..."} 
[2026-07-15 16:44:56] local.INFO: Processing buffer {"connection_id":132549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f657acaf0012d1a8400072414b0003000f42c..."} 
[2026-07-15 16:44:56] local.INFO: Packet analysis {"connection_id":132549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f657a"} 
[2026-07-15 16:44:56] local.INFO: Extracted packet for processing {"connection_id":132549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f657a"} 
[2026-07-15 16:44:56] local.INFO: GPS Element Parsed {"raw_longitude":756712448,"raw_latitude":119805104,"longitude_deg":75.6712448,"latitude_deg":11.9805104,"altitude":48,"angle":244,"satellites":44,"speed":0,"hex_longitude":"2d1a8400","hex_latitude":"072414b0","is_valid_coordinates":true} 
[2026-07-15 16:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733171968001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6145741718290432,"note":"Value kept but may cause issues"} 
[2026-07-15 16:44:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1911989178721566720,"note":"Value kept but may cause issues"} 
[2026-07-15 16:44:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784113974000,"timestamp_ms":1784113974000,"timestamp_seconds":1784113974,"priority":1,"record_length":96,"hex_timestamp":"0000019f657acaf0"} 
[2026-07-15 16:44:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:44: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-07-15 16:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-15 16:44:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:44:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:44:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:44:56] 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-07-15 16:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733171968001,"66":14243,"43":206,"83":42752,"24":0,"16":6145741718290432,"45":1911989178721566720},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-15 16:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733171968001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:44:56] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-15 16:44:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-15 16:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6145741718290432,"km_value":6145741718290.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:44:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1911989178721566720,"description":"Unknown IO ID 45"} 
[2026-07-15 16:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733171968001,"power":14243,"unknown_43":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1911989178721566720}} 
[2026-07-15 16:44:57] local.INFO: DEBUG: GPS processor result {"connection_id":132549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491887,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:44:57] local.INFO: GPS data processed {"connection_id":132549,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:44:57] local.INFO: Acknowledgment sent {"connection_id":132549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:44:57] local.INFO: TCP Data received {"connection_id":134932,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134932,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:44:57] local.INFO: Processing buffer {"connection_id":134932,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:44:57] local.INFO: IMEI packet received {"connection_id":134932,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 16:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":134932,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:44:58] local.INFO: TCP Data received {"connection_id":134932,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f657ade78012d0af04007066e60000b00a920..."} 
[2026-07-15 16:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f657ade78012d0af04007066e60000b00a920..."} 
[2026-07-15 16:44:58] local.INFO: Processing buffer {"connection_id":134932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f657ade78012d0af04007066e60000b00a920..."} 
[2026-07-15 16:44:58] local.INFO: Packet analysis {"connection_id":134932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f657a"} 
[2026-07-15 16:44:58] local.INFO: Extracted packet for processing {"connection_id":134932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f657a"} 
[2026-07-15 16:44:58] local.INFO: GPS Element Parsed {"raw_longitude":755691584,"raw_latitude":117861984,"longitude_deg":75.5691584,"latitude_deg":11.7861984,"altitude":11,"angle":169,"satellites":32,"speed":8,"hex_longitude":"2d0af040","hex_latitude":"07066e60","is_valid_coordinates":true} 
[2026-07-15 16:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733178368001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24726079478431744,"note":"Value kept but may cause issues"} 
[2026-07-15 16:44:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":788200333706733568,"note":"Value kept but may cause issues"} 
[2026-07-15 16:44:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784113979000,"timestamp_ms":1784113979000,"timestamp_seconds":1784113979,"priority":1,"record_length":96,"hex_timestamp":"0000019f657ade78"} 
[2026-07-15 16:44:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:44:58] 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-07-15 16:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-15 16:44:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:44:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:44:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":134932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":134932,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":134932,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:44:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733178368001,"66":14559,"163":206,"94":10240,"24":8,"16":24726079478431744,"45":788200333706733568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-07-15 16:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733178368001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:44:58] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-15 16:44:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 16:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24726079478431744,"km_value":24726079478431.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:44:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":788200333706733568,"description":"Unknown IO ID 45"} 
[2026-07-15 16:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733178368001,"power":14559,"unknown_163":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":788200333706733568}} 
[2026-07-15 16:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":134932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491888,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:44:58] local.INFO: GPS data processed {"connection_id":134932,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:44:58] local.INFO: Acknowledgment sent {"connection_id":134932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:45:01] local.INFO: TCP Data received {"connection_id":132728,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:45:01] local.INFO: Processing buffer {"connection_id":132728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:45:01] local.INFO: IMEI packet received {"connection_id":132728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":132728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:45:06] local.INFO: TCP Data received {"connection_id":132728,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:45:06] local.INFO: Processing buffer {"connection_id":132728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:45:06] local.INFO: IMEI packet received {"connection_id":132728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":132728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:45:07] local.INFO: TCP Data received {"connection_id":132728,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f657c1310012d7f91c005afdb18000200682f..."} 
[2026-07-15 16:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f657c1310012d7f91c005afdb18000200682f..."} 
[2026-07-15 16:45:07] local.INFO: Processing buffer {"connection_id":132728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f657c1310012d7f91c005afdb18000200682f..."} 
[2026-07-15 16:45:07] local.INFO: Packet analysis {"connection_id":132728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f657c"} 
[2026-07-15 16:45:07] local.INFO: Extracted packet for processing {"connection_id":132728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f657c"} 
[2026-07-15 16:45:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410968,"longitude_deg":76.3335104,"latitude_deg":9.5410968,"altitude":2,"angle":104,"satellites":47,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afdb18","is_valid_coordinates":true} 
[2026-07-15 16:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733121024001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562689536,"note":"Value kept but may cause issues"} 
[2026-07-15 16:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784114058000,"timestamp_ms":1784114058000,"timestamp_seconds":1784114058,"priority":1,"record_length":96,"hex_timestamp":"0000019f657c1310"} 
[2026-07-15 16:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 16:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:45:07] 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-07-15 16:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733121024001,"66":25973,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9192761657562689536},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733121024001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:45:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:45:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562689536,"description":"Unknown IO ID 45"} 
[2026-07-15 16:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733121024001,"power":25973,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562689536}} 
[2026-07-15 16:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":132728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:45:07] local.INFO: GPS data processed {"connection_id":132728,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:45:07] local.INFO: Acknowledgment sent {"connection_id":132728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:45:10] local.INFO: TCP Data received {"connection_id":132549,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f657b1cf8012d1a7ac007240fa8003000ef2c..."} 
[2026-07-15 16:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f657b1cf8012d1a7ac007240fa8003000ef2c..."} 
[2026-07-15 16:45:10] local.INFO: Processing buffer {"connection_id":132549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f657b1cf8012d1a7ac007240fa8003000ef2c..."} 
[2026-07-15 16:45:10] local.INFO: Packet analysis {"connection_id":132549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f657b"} 
[2026-07-15 16:45:10] local.INFO: Extracted packet for processing {"connection_id":132549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f657b"} 
[2026-07-15 16:45:10] local.INFO: GPS Element Parsed {"raw_longitude":756710080,"raw_latitude":119803816,"longitude_deg":75.671008,"latitude_deg":11.9803816,"altitude":48,"angle":239,"satellites":44,"speed":16,"hex_longitude":"2d1a7ac0","hex_latitude":"07240fa8","is_valid_coordinates":true} 
[2026-07-15 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-07-15 16:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733177344001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6145874862276608,"note":"Value kept but may cause issues"} 
[2026-07-15 16:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1910652172582039552,"note":"Value kept but may cause issues"} 
[2026-07-15 16:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784113995000,"timestamp_ms":1784113995000,"timestamp_seconds":1784113995,"priority":1,"record_length":96,"hex_timestamp":"0000019f657b1cf8"} 
[2026-07-15 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-07-15 16:45:10] 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-07-15 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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-15 16:45:10] 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-07-15 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-07-15 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-07-15 16:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":132549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":132549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":132549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:45:10] 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-07-15 16:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733177344001,"66":14233,"43":206,"83":42752,"24":16,"16":6145874862276608,"45":1910652172582039552},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-15 16:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733177344001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:45:10] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-15 16:45:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-15 16:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6145874862276608,"km_value":6145874862276.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1910652172582039552,"description":"Unknown IO ID 45"} 
[2026-07-15 16:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733177344001,"power":14233,"unknown_43":206,"unknown_83":42752,"ignition":16,"odometer":null,"unknown_45":1910652172582039552}} 
[2026-07-15 16:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":132549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:45:10] local.INFO: GPS data processed {"connection_id":132549,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:45:10] local.INFO: Acknowledgment sent {"connection_id":132549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:45:29] local.INFO: TCP Data received {"connection_id":134932,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f657ca780012d0b544007060bf80013001220..."} 
[2026-07-15 16:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f657ca780012d0b544007060bf80013001220..."} 
[2026-07-15 16:45:29] local.INFO: Processing buffer {"connection_id":134932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f657ca780012d0b544007060bf80013001220..."} 
[2026-07-15 16:45:29] local.INFO: Packet analysis {"connection_id":134932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f657c"} 
[2026-07-15 16:45:29] local.INFO: Extracted packet for processing {"connection_id":134932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f657c"} 
[2026-07-15 16:45:29] local.INFO: GPS Element Parsed {"raw_longitude":755717184,"raw_latitude":117836792,"longitude_deg":75.5717184,"latitude_deg":11.7836792,"altitude":19,"angle":18,"satellites":32,"speed":0,"hex_longitude":"2d0b5440","hex_latitude":"07060bf8","is_valid_coordinates":true} 
[2026-07-15 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-07-15 16:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733203456001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24728119587897344,"note":"Value kept but may cause issues"} 
[2026-07-15 16:45:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815855250161655808,"note":"Value kept but may cause issues"} 
[2026-07-15 16:45:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784114096000,"timestamp_ms":1784114096000,"timestamp_seconds":1784114096,"priority":1,"record_length":96,"hex_timestamp":"0000019f657ca780"} 
[2026-07-15 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-07-15 16:45:29] 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-07-15 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 16:45:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 16:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":134932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":134932,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":134932,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:45:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733203456001,"66":14450,"165":206,"94":10240,"24":0,"16":24728119587897344,"45":815855250161655808},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-15 16:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733203456001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:45:29] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-15 16:45:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 16:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24728119587897344,"km_value":24728119587897.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:45:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":815855250161655808,"description":"Unknown IO ID 45"} 
[2026-07-15 16:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733203456001,"power":14450,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":815855250161655808}} 
[2026-07-15 16:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":134932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491891,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:45:29] local.INFO: GPS data processed {"connection_id":134932,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:45:29] local.INFO: Acknowledgment sent {"connection_id":134932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:45:38] local.INFO: TCP Data received {"connection_id":132728,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f657c1310012d7f91c005afdb18000200682f..."} 
[2026-07-15 16:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f657c1310012d7f91c005afdb18000200682f..."} 
[2026-07-15 16:45:38] local.INFO: Processing buffer {"connection_id":132728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f657c1310012d7f91c005afdb18000200682f..."} 
[2026-07-15 16:45:38] local.INFO: Packet analysis {"connection_id":132728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f657c"} 
[2026-07-15 16:45:38] local.INFO: Extracted packet for processing {"connection_id":132728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f657c"} 
[2026-07-15 16:45:38] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410968,"longitude_deg":76.3335104,"latitude_deg":9.5410968,"altitude":2,"angle":104,"satellites":47,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afdb18","is_valid_coordinates":true} 
[2026-07-15 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-07-15 16:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733121024001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562689536,"note":"Value kept but may cause issues"} 
[2026-07-15 16:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784114058000,"timestamp_ms":1784114058000,"timestamp_seconds":1784114058,"priority":1,"record_length":96,"hex_timestamp":"0000019f657c1310"} 
[2026-07-15 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-07-15 16:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 16:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 16:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:45:38] 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-07-15 16:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733121024001,"66":25973,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9192761657562689536},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733121024001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:45:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:45:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562689536,"description":"Unknown IO ID 45"} 
[2026-07-15 16:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733121024001,"power":25973,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562689536}} 
[2026-07-15 16:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":132728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:45:38] local.INFO: GPS data processed {"connection_id":132728,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:45:38] local.INFO: Acknowledgment sent {"connection_id":132728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:45:51] local.INFO: TCP Data received {"connection_id":132551,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132551,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:45:51] local.INFO: Processing buffer {"connection_id":132551,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:45:51] local.INFO: IMEI packet received {"connection_id":132551,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 16:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":132551,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:45:52] local.INFO: TCP Data received {"connection_id":132551,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132551,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:45:52] local.INFO: Processing buffer {"connection_id":132551,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:45:52] local.INFO: IMEI packet received {"connection_id":132551,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 16:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":132551,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:45:52] local.INFO: TCP Data received {"connection_id":132551,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132551,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:45:52] local.INFO: Processing buffer {"connection_id":132551,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:45:52] local.INFO: IMEI packet received {"connection_id":132551,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 16:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":132551,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:45:55] local.INFO: TCP Data received {"connection_id":132551,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132551,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:45:55] local.INFO: Processing buffer {"connection_id":132551,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:45:55] local.INFO: IMEI packet received {"connection_id":132551,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 16:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":132551,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:45:56] local.INFO: TCP Data received {"connection_id":132551,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f657cbb08012d0b544007060b60001200d01f..."} 
[2026-07-15 16:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f657cbb08012d0b544007060b60001200d01f..."} 
[2026-07-15 16:45:56] local.INFO: Processing buffer {"connection_id":132551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f657cbb08012d0b544007060b60001200d01f..."} 
[2026-07-15 16:45:56] local.INFO: Packet analysis {"connection_id":132551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f657c"} 
[2026-07-15 16:45:56] local.INFO: Extracted packet for processing {"connection_id":132551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f657c"} 
[2026-07-15 16:45:56] local.INFO: GPS Element Parsed {"raw_longitude":755717184,"raw_latitude":117836640,"longitude_deg":75.5717184,"latitude_deg":11.783664,"altitude":18,"angle":208,"satellites":31,"speed":2,"hex_longitude":"2d0b5440","hex_latitude":"07060b60","is_valid_coordinates":true} 
[2026-07-15 16:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733208576001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24728128177831936,"note":"Value kept but may cause issues"} 
[2026-07-15 16:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816347831371298816,"note":"Value kept but may cause issues"} 
[2026-07-15 16:45:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784114101000,"timestamp_ms":1784114101000,"timestamp_seconds":1784114101,"priority":1,"record_length":96,"hex_timestamp":"0000019f657cbb08"} 
[2026-07-15 16:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:45:56] 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-07-15 16:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-15 16:45:56] 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-07-15 16:45:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132551,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132551,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733208576001,"66":14537,"165":206,"94":10240,"24":2,"16":24728128177831936,"45":816347831371298816},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-15 16:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733208576001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:45:56] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-15 16:45:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 16:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24728128177831936,"km_value":24728128177831.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":816347831371298816,"description":"Unknown IO ID 45"} 
[2026-07-15 16:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733208576001,"power":14537,"unknown_165":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":816347831371298816}} 
[2026-07-15 16:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":132551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491893,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:45:56] local.INFO: GPS data processed {"connection_id":132551,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:45:56] local.INFO: Acknowledgment sent {"connection_id":132551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:45:56] local.INFO: TCP Data received {"connection_id":132552,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:45:56] local.INFO: Processing buffer {"connection_id":132552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:45:56] local.INFO: IMEI packet received {"connection_id":132552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":132552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:46:00] local.INFO: TCP Data received {"connection_id":133574,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:46:00] local.INFO: Processing buffer {"connection_id":133574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:46:00] local.INFO: IMEI packet received {"connection_id":133574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":133574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:46:06] local.INFO: TCP Data received {"connection_id":133574,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:46:06] local.INFO: Processing buffer {"connection_id":133574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:46:06] local.INFO: IMEI packet received {"connection_id":133574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":133574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:46:06] local.INFO: TCP Data received {"connection_id":132552,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:46:06] local.INFO: Processing buffer {"connection_id":132552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:46:06] local.INFO: IMEI packet received {"connection_id":132552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":132552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:46:06] local.INFO: TCP Data received {"connection_id":133574,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f657c1310012d7f91c005afdb18000200682f..."} 
[2026-07-15 16:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f657c1310012d7f91c005afdb18000200682f..."} 
[2026-07-15 16:46:06] local.INFO: Processing buffer {"connection_id":133574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f657c1310012d7f91c005afdb18000200682f..."} 
[2026-07-15 16:46:06] local.INFO: Packet analysis {"connection_id":133574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f657c"} 
[2026-07-15 16:46:06] local.INFO: Extracted packet for processing {"connection_id":133574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f657c"} 
[2026-07-15 16:46:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410968,"longitude_deg":76.3335104,"latitude_deg":9.5410968,"altitude":2,"angle":104,"satellites":47,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afdb18","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733121024001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562689536,"note":"Value kept but may cause issues"} 
[2026-07-15 16:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784114058000,"timestamp_ms":1784114058000,"timestamp_seconds":1784114058,"priority":1,"record_length":96,"hex_timestamp":"0000019f657c1310"} 
[2026-07-15 16:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 16:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16: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-07-15 16:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:46:06] 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-07-15 16:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733121024001,"66":25973,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9192761657562689536},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733121024001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:46:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:46:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562689536,"description":"Unknown IO ID 45"} 
[2026-07-15 16:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733121024001,"power":25973,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562689536}} 
[2026-07-15 16:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":133574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:46:06] local.INFO: GPS data processed {"connection_id":133574,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:46:06] local.INFO: Acknowledgment sent {"connection_id":133574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:46:22] local.INFO: TCP Data received {"connection_id":132552,"ip":"42.106.6.22","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-15 16:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132552,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-15 16:46:22] local.INFO: Processing buffer {"connection_id":132552,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-15 16:46:22] local.INFO: IMEI packet received {"connection_id":132552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":132552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:46:23] local.INFO: TCP Data received {"connection_id":132552,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f657caf50012d19828007239778004100fb28..."} 
[2026-07-15 16:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f657caf50012d19828007239778004100fb28..."} 
[2026-07-15 16:46:23] local.INFO: Processing buffer {"connection_id":132552,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019f65..."} 
[2026-07-15 16:46:23] local.INFO: IMEI packet received {"connection_id":132552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":132552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:46:23] local.INFO: TCP Data received {"connection_id":132552,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f657cbef0012d1975c007239190004400ee28..."} 
[2026-07-15 16:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f657cbef0012d1975c007239190004400ee28..."} 
[2026-07-15 16:46:23] local.INFO: Processing buffer {"connection_id":132552,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f657caf50012d19828007239778004100fb28..."} 
[2026-07-15 16:46:23] local.INFO: Packet analysis {"connection_id":132552,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f657c"} 
[2026-07-15 16:46:23] local.INFO: Extracted packet for processing {"connection_id":132552,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f657c"} 
[2026-07-15 16:46:23] local.INFO: GPS Element Parsed {"raw_longitude":756646528,"raw_latitude":119773048,"longitude_deg":75.6646528,"latitude_deg":11.9773048,"altitude":65,"angle":251,"satellites":40,"speed":34,"hex_longitude":"2d198280","hex_latitude":"07239778","is_valid_coordinates":true} 
[2026-07-15 16:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733207040001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6149461159968768,"note":"Value kept but may cause issues"} 
[2026-07-15 16:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845490715465629696,"note":"Value kept but may cause issues"} 
[2026-07-15 16:46:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1784114098000,"timestamp_ms":1784114098000,"timestamp_seconds":1784114098,"priority":1,"record_length":96,"hex_timestamp":"0000019f657caf50"} 
[2026-07-15 16:46:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:46: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-07-15 16:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-15 16:46:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:46:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:46:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":132552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":132552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":132552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:46: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-07-15 16:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733207040001,"66":14070,"186":206,"83":42752,"24":34,"16":6149461159968768,"45":1845490715465629696},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-07-15 16:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733207040001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:46:23] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-15 16:46:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-15 16:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6149461159968768,"km_value":6149461159968.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845490715465629696,"description":"Unknown IO ID 45"} 
[2026-07-15 16:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733207040001,"power":14070,"unknown_186":206,"unknown_83":42752,"ignition":34,"odometer":null,"unknown_45":1845490715465629696}} 
[2026-07-15 16:46:23] local.INFO: DEBUG: GPS processor result {"connection_id":132552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:46:23] local.INFO: GPS data processed {"connection_id":132552,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:46:23] local.INFO: Acknowledgment sent {"connection_id":132552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:46:23] local.INFO: Packet analysis {"connection_id":132552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f657c"} 
[2026-07-15 16:46:23] local.INFO: Extracted packet for processing {"connection_id":132552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f657c"} 
[2026-07-15 16:46:23] local.INFO: GPS Element Parsed {"raw_longitude":756643264,"raw_latitude":119771536,"longitude_deg":75.6643264,"latitude_deg":11.9771536,"altitude":68,"angle":238,"satellites":40,"speed":34,"hex_longitude":"2d1975c0","hex_latitude":"07239190","is_valid_coordinates":true} 
[2026-07-15 16:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733209088001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6149632958660608,"note":"Value kept but may cause issues"} 
[2026-07-15 16:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838172366070839296,"note":"Value kept but may cause issues"} 
[2026-07-15 16:46:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1784114102000,"timestamp_ms":1784114102000,"timestamp_seconds":1784114102,"priority":1,"record_length":96,"hex_timestamp":"0000019f657cbef0"} 
[2026-07-15 16:46:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:46:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-15 16:46: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-07-15 16:46:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:46:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":132552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":132552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":132552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:46: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-07-15 16:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733209088001,"66":13961,"186":206,"83":42752,"24":34,"16":6149632958660608,"45":1838172366070839296},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-07-15 16:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733209088001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:46:23] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-15 16:46:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-15 16:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6149632958660608,"km_value":6149632958660.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838172366070839296,"description":"Unknown IO ID 45"} 
[2026-07-15 16:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733209088001,"power":13961,"unknown_186":206,"unknown_83":42752,"ignition":34,"odometer":null,"unknown_45":1838172366070839296}} 
[2026-07-15 16:46:23] local.INFO: DEBUG: GPS processor result {"connection_id":132552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:46:23] local.INFO: GPS data processed {"connection_id":132552,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:46:23] local.INFO: Acknowledgment sent {"connection_id":132552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:46:24] local.INFO: TCP Data received {"connection_id":132552,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f657ccaa8012d196e0007238b20004500df28..."} 
[2026-07-15 16:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f657ccaa8012d196e0007238b20004500df28..."} 
[2026-07-15 16:46:24] local.INFO: Processing buffer {"connection_id":132552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f657ccaa8012d196e0007238b20004500df28..."} 
[2026-07-15 16:46:24] local.INFO: Packet analysis {"connection_id":132552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f657c"} 
[2026-07-15 16:46:24] local.INFO: Extracted packet for processing {"connection_id":132552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f657c"} 
[2026-07-15 16:46:24] local.INFO: GPS Element Parsed {"raw_longitude":756641280,"raw_latitude":119769888,"longitude_deg":75.664128,"latitude_deg":11.9769888,"altitude":69,"angle":223,"satellites":40,"speed":35,"hex_longitude":"2d196e00","hex_latitude":"07238b20","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733210112001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6149753217744896,"note":"Value kept but may cause issues"} 
[2026-07-15 16:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834583560117391360,"note":"Value kept but may cause issues"} 
[2026-07-15 16:46:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1784114105000,"timestamp_ms":1784114105000,"timestamp_seconds":1784114105,"priority":1,"record_length":96,"hex_timestamp":"0000019f657ccaa8"} 
[2026-07-15 16:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:46:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-15 16:46: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-07-15 16: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-07-15 16:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":132552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":132552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":132552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:46:24] 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-07-15 16:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733210112001,"66":13972,"186":206,"83":42752,"24":35,"16":6149753217744896,"45":1834583560117391360},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-07-15 16:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733210112001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:46:24] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-15 16:46:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-15 16:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6149753217744896,"km_value":6149753217744.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834583560117391360,"description":"Unknown IO ID 45"} 
[2026-07-15 16:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733210112001,"power":13972,"unknown_186":206,"unknown_83":42752,"ignition":35,"odometer":null,"unknown_45":1834583560117391360}} 
[2026-07-15 16:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":132552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:46:24] local.INFO: GPS data processed {"connection_id":132552,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:46:24] local.INFO: Acknowledgment sent {"connection_id":132552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:46:27] local.INFO: TCP Data received {"connection_id":132551,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f657cfd70012d0b520007060670001200c51f..."} 
[2026-07-15 16:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f657cfd70012d0b520007060670001200c51f..."} 
[2026-07-15 16:46:27] local.INFO: Processing buffer {"connection_id":132551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f657cfd70012d0b520007060670001200c51f..."} 
[2026-07-15 16:46:27] local.INFO: Packet analysis {"connection_id":132551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f657c"} 
[2026-07-15 16:46:27] local.INFO: Extracted packet for processing {"connection_id":132551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f657c"} 
[2026-07-15 16:46:27] local.INFO: GPS Element Parsed {"raw_longitude":755716608,"raw_latitude":117835376,"longitude_deg":75.5716608,"latitude_deg":11.7835376,"altitude":18,"angle":197,"satellites":31,"speed":3,"hex_longitude":"2d0b5200","hex_latitude":"07060670","is_valid_coordinates":true} 
[2026-07-15 16:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733209856001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24728201192275968,"note":"Value kept but may cause issues"} 
[2026-07-15 16:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816347831371259904,"note":"Value kept but may cause issues"} 
[2026-07-15 16:46:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784114118000,"timestamp_ms":1784114118000,"timestamp_seconds":1784114118,"priority":1,"record_length":96,"hex_timestamp":"0000019f657cfd70"} 
[2026-07-15 16:46:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:46:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-15 16:46:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:46:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:46:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":132551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":132551,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":132551,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-15 16:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-15 16:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-15 16:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733209856001,"66":14374,"165":206,"94":10240,"24":3,"16":24728201192275968,"45":816347831371259904},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-15 16:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-15 16:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-15 16:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733209856001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:46:27] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-15 16:46:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-15 16:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24728201192275968,"km_value":24728201192275.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":816347831371259904,"description":"Unknown IO ID 45"} 
[2026-07-15 16:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733209856001,"power":14374,"unknown_165":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":816347831371259904}} 
[2026-07-15 16:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":132551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491898,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:46:27] local.INFO: GPS data processed {"connection_id":132551,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:46:27] local.INFO: Acknowledgment sent {"connection_id":132551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:46:38] local.INFO: TCP Data received {"connection_id":133574,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f657c1310012d7f91c005afdb18000200682f..."} 
[2026-07-15 16:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f657c1310012d7f91c005afdb18000200682f..."} 
[2026-07-15 16:46:38] local.INFO: Processing buffer {"connection_id":133574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f657c1310012d7f91c005afdb18000200682f..."} 
[2026-07-15 16:46:38] local.INFO: Packet analysis {"connection_id":133574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f657c"} 
[2026-07-15 16:46:38] local.INFO: Extracted packet for processing {"connection_id":133574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f657c"} 
[2026-07-15 16:46:38] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410968,"longitude_deg":76.3335104,"latitude_deg":9.5410968,"altitude":2,"angle":104,"satellites":47,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afdb18","is_valid_coordinates":true} 
[2026-07-15 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-07-15 16:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733121024001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562689536,"note":"Value kept but may cause issues"} 
[2026-07-15 16:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784114058000,"timestamp_ms":1784114058000,"timestamp_seconds":1784114058,"priority":1,"record_length":96,"hex_timestamp":"0000019f657c1310"} 
[2026-07-15 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-07-15 16:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 16:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 16:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:46:38] 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-07-15 16:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733121024001,"66":25973,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9192761657562689536},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733121024001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:46:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:46:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562689536,"description":"Unknown IO ID 45"} 
[2026-07-15 16:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733121024001,"power":25973,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562689536}} 
[2026-07-15 16:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":133574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:46:38] local.INFO: GPS data processed {"connection_id":133574,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:46:38] local.INFO: Acknowledgment sent {"connection_id":133574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:46:53] local.INFO: TCP Data received {"connection_id":134933,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134933,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:46:53] local.INFO: Processing buffer {"connection_id":134933,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:46:53] local.INFO: IMEI packet received {"connection_id":134933,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 16:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":134933,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:47:00] local.INFO: TCP Data received {"connection_id":132729,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:47:00] local.INFO: Processing buffer {"connection_id":132729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:47:00] local.INFO: IMEI packet received {"connection_id":132729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":132729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:47:04] local.INFO: TCP Data received {"connection_id":133575,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133575,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:47:04] local.INFO: Processing buffer {"connection_id":133575,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:47:04] local.INFO: IMEI packet received {"connection_id":133575,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 16:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":133575,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:47:06] local.INFO: TCP Data received {"connection_id":132729,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:47:06] local.INFO: Processing buffer {"connection_id":132729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:47:06] local.INFO: IMEI packet received {"connection_id":132729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":132729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:47:06] local.INFO: TCP Data received {"connection_id":132729,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f657c1310012d7f91c005afdb18000200682f..."} 
[2026-07-15 16:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f657c1310012d7f91c005afdb18000200682f..."} 
[2026-07-15 16:47:06] local.INFO: Processing buffer {"connection_id":132729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f657c1310012d7f91c005afdb18000200682f..."} 
[2026-07-15 16:47:06] local.INFO: Packet analysis {"connection_id":132729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f657c"} 
[2026-07-15 16:47:06] local.INFO: Extracted packet for processing {"connection_id":132729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f657c"} 
[2026-07-15 16:47:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410968,"longitude_deg":76.3335104,"latitude_deg":9.5410968,"altitude":2,"angle":104,"satellites":47,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afdb18","is_valid_coordinates":true} 
[2026-07-15 16:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733121024001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562689536,"note":"Value kept but may cause issues"} 
[2026-07-15 16:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784114058000,"timestamp_ms":1784114058000,"timestamp_seconds":1784114058,"priority":1,"record_length":96,"hex_timestamp":"0000019f657c1310"} 
[2026-07-15 16:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 16:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:47:06] 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-07-15 16:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733121024001,"66":25973,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9192761657562689536},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733121024001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:47:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:47:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562689536,"description":"Unknown IO ID 45"} 
[2026-07-15 16:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733121024001,"power":25973,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562689536}} 
[2026-07-15 16:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":132729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:47:06] local.INFO: GPS data processed {"connection_id":132729,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:47:06] local.INFO: Acknowledgment sent {"connection_id":132729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:47:19] local.INFO: TCP Data received {"connection_id":134934,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134934,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:47:19] local.INFO: Processing buffer {"connection_id":134934,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:47:19] local.INFO: IMEI packet received {"connection_id":134934,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":134934,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:47:20] local.INFO: TCP Data received {"connection_id":134934,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134934,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:47:20] local.INFO: Processing buffer {"connection_id":134934,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:47:20] local.INFO: IMEI packet received {"connection_id":134934,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":134934,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:47:25] local.INFO: TCP Data received {"connection_id":134934,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134934,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:47:25] local.INFO: Processing buffer {"connection_id":134934,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:47:25] local.INFO: IMEI packet received {"connection_id":134934,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":134934,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:47:26] local.INFO: TCP Data received {"connection_id":134934,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f657ddc18012d18cc00072303800061011627..."} 
[2026-07-15 16:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f657ddc18012d18cc00072303800061011627..."} 
[2026-07-15 16:47:26] local.INFO: Processing buffer {"connection_id":134934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f657ddc18012d18cc00072303800061011627..."} 
[2026-07-15 16:47:26] local.INFO: Packet analysis {"connection_id":134934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f657d"} 
[2026-07-15 16:47:26] local.INFO: Extracted packet for processing {"connection_id":134934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f657d"} 
[2026-07-15 16:47:26] local.INFO: GPS Element Parsed {"raw_longitude":756599808,"raw_latitude":119735168,"longitude_deg":75.6599808,"latitude_deg":11.9735168,"altitude":97,"angle":278,"satellites":39,"speed":33,"hex_longitude":"2d18cc00","hex_latitude":"07230380","is_valid_coordinates":true} 
[2026-07-15 16:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733227008001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6152665205571584,"note":"Value kept but may cause issues"} 
[2026-07-15 16:47:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1793066001042626560,"note":"Value kept but may cause issues"} 
[2026-07-15 16:47:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784114175000,"timestamp_ms":1784114175000,"timestamp_seconds":1784114175,"priority":1,"record_length":96,"hex_timestamp":"0000019f657ddc18"} 
[2026-07-15 16:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:47:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-15 16:47:26] 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-07-15 16:47:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":134934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":134934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":134934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:47:26] 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-07-15 16:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733227008001,"66":13993,"137":206,"83":42752,"24":33,"16":6152665205571584,"45":1793066001042626560},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-07-15 16:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733227008001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:47:26] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-15 16:47:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-15 16:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6152665205571584,"km_value":6152665205571.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:47:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1793066001042626560,"description":"Unknown IO ID 45"} 
[2026-07-15 16:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733227008001,"power":13993,"unknown_137":206,"unknown_83":42752,"ignition":33,"odometer":null,"unknown_45":1793066001042626560}} 
[2026-07-15 16:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":134934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:47:26] local.INFO: GPS data processed {"connection_id":134934,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:47:26] local.INFO: Acknowledgment sent {"connection_id":134934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:47:34] local.INFO: TCP Data received {"connection_id":132730,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132730,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:47:34] local.INFO: Processing buffer {"connection_id":132730,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:47:34] local.INFO: IMEI packet received {"connection_id":132730,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 16:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":132730,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:47:38] local.INFO: TCP Data received {"connection_id":132729,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f657c1310012d7f91c005afdb18000200682f..."} 
[2026-07-15 16:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f657c1310012d7f91c005afdb18000200682f..."} 
[2026-07-15 16:47:38] local.INFO: Processing buffer {"connection_id":132729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f657c1310012d7f91c005afdb18000200682f..."} 
[2026-07-15 16:47:38] local.INFO: Packet analysis {"connection_id":132729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f657c"} 
[2026-07-15 16:47:38] local.INFO: Extracted packet for processing {"connection_id":132729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f657c"} 
[2026-07-15 16:47:38] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410968,"longitude_deg":76.3335104,"latitude_deg":9.5410968,"altitude":2,"angle":104,"satellites":47,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afdb18","is_valid_coordinates":true} 
[2026-07-15 16:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733121024001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562689536,"note":"Value kept but may cause issues"} 
[2026-07-15 16:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784114058000,"timestamp_ms":1784114058000,"timestamp_seconds":1784114058,"priority":1,"record_length":96,"hex_timestamp":"0000019f657c1310"} 
[2026-07-15 16:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 16:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:47:38] 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-07-15 16:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733121024001,"66":25973,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9192761657562689536},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733121024001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:47:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:47:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562689536,"description":"Unknown IO ID 45"} 
[2026-07-15 16:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733121024001,"power":25973,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562689536}} 
[2026-07-15 16:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":132729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:47:38] local.INFO: GPS data processed {"connection_id":132729,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:47:38] local.INFO: Acknowledgment sent {"connection_id":132729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:47:54] local.INFO: TCP Data received {"connection_id":132553,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:47:54] local.INFO: Processing buffer {"connection_id":132553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:47:54] local.INFO: IMEI packet received {"connection_id":132553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":132553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:47:54] local.INFO: TCP Data received {"connection_id":132731,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132731,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:47:54] local.INFO: Processing buffer {"connection_id":132731,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:47:54] local.INFO: IMEI packet received {"connection_id":132731,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 16:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":132731,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:47:55] local.INFO: TCP Data received {"connection_id":132553,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:47:55] local.INFO: Processing buffer {"connection_id":132553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:47:55] local.INFO: IMEI packet received {"connection_id":132553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":132553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:47:59] local.INFO: TCP Data received {"connection_id":132731,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132731,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:47:59] local.INFO: Processing buffer {"connection_id":132731,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:47:59] local.INFO: IMEI packet received {"connection_id":132731,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":132731,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:48:00] local.INFO: TCP Data received {"connection_id":132554,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:48:00] local.INFO: Processing buffer {"connection_id":132554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:48:00] local.INFO: IMEI packet received {"connection_id":132554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":132554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:48:00] local.INFO: TCP Data received {"connection_id":132553,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:48:00] local.INFO: Processing buffer {"connection_id":132553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:48:00] local.INFO: IMEI packet received {"connection_id":132553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":132553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:48:01] local.INFO: TCP Data received {"connection_id":132731,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f657aee18012d7a1a4005e46780000600012a..."} 
[2026-07-15 16:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f657aee18012d7a1a4005e46780000600012a..."} 
[2026-07-15 16:48:01] local.INFO: Processing buffer {"connection_id":132731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f657aee18012d7a1a4005e46780000600012a..."} 
[2026-07-15 16:48:01] local.INFO: Packet analysis {"connection_id":132731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f657a"} 
[2026-07-15 16:48:01] local.INFO: Extracted packet for processing {"connection_id":132731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f657a"} 
[2026-07-15 16:48:01] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98854784,"longitude_deg":76.2976832,"latitude_deg":9.8854784,"altitude":6,"angle":1,"satellites":42,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e46780","is_valid_coordinates":true} 
[2026-07-15 16:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733103360001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106620939625562112,"note":"Value kept but may cause issues"} 
[2026-07-15 16:48:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798485584816867328,"note":"Value kept but may cause issues"} 
[2026-07-15 16:48:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784113983000,"timestamp_ms":1784113983000,"timestamp_seconds":1784113983,"priority":1,"record_length":96,"hex_timestamp":"0000019f657aee18"} 
[2026-07-15 16:48:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:48:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":18,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-07-15 16:48:01] 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-07-15 16:48:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:48:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":132731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":132731,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":132731,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:48:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733103360001,"66":2253,"145":206,"87":12288,"24":0,"16":106620939625562112,"45":8798485584816867328},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-07-15 16:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733103360001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:48:01] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-15 16:48:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-15 16:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106620939625562112,"km_value":106620939625562.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:48:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798485584816867328,"description":"Unknown IO ID 45"} 
[2026-07-15 16:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733103360001,"power":2253,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798485584816867328}} 
[2026-07-15 16:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":132731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491903,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:48:01] local.INFO: GPS data processed {"connection_id":132731,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:48:01] local.INFO: Acknowledgment sent {"connection_id":132731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:48:01] local.INFO: TCP Data received {"connection_id":132553,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f657de3e8012d18c580072303400061010227..."} 
[2026-07-15 16:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f657de3e8012d18c580072303400061010227..."} 
[2026-07-15 16:48:01] local.INFO: Processing buffer {"connection_id":132553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f657de3e8012d18c580072303400061010227..."} 
[2026-07-15 16:48:01] local.INFO: Packet analysis {"connection_id":132553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f657d"} 
[2026-07-15 16:48:01] local.INFO: Extracted packet for processing {"connection_id":132553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f657d"} 
[2026-07-15 16:48:01] local.INFO: GPS Element Parsed {"raw_longitude":756598144,"raw_latitude":119735104,"longitude_deg":75.6598144,"latitude_deg":11.9735104,"altitude":97,"angle":258,"satellites":39,"speed":33,"hex_longitude":"2d18c580","hex_latitude":"07230340","is_valid_coordinates":true} 
[2026-07-15 16:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733228800001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6152742514982912,"note":"Value kept but may cause issues"} 
[2026-07-15 16:48:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786803182811447296,"note":"Value kept but may cause issues"} 
[2026-07-15 16:48:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784114177000,"timestamp_ms":1784114177000,"timestamp_seconds":1784114177,"priority":1,"record_length":96,"hex_timestamp":"0000019f657de3e8"} 
[2026-07-15 16:48:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:48:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-15 16:48:01] 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-07-15 16:48:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:48:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":132553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":132553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":132553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:48:01] 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-07-15 16:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733228800001,"66":13993,"137":206,"83":42752,"24":33,"16":6152742514982912,"45":1786803182811447296},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-07-15 16:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733228800001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:48:01] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-15 16:48:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-15 16:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6152742514982912,"km_value":6152742514982.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:48:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786803182811447296,"description":"Unknown IO ID 45"} 
[2026-07-15 16:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733228800001,"power":13993,"unknown_137":206,"unknown_83":42752,"ignition":33,"odometer":null,"unknown_45":1786803182811447296}} 
[2026-07-15 16:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":132553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:48:01] local.INFO: GPS data processed {"connection_id":132553,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:48:01] local.INFO: Acknowledgment sent {"connection_id":132553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:48:02] local.INFO: TCP Data received {"connection_id":132553,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f657debb8012d18bf80072300d0006100ed24..."} 
[2026-07-15 16:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f657debb8012d18bf80072300d0006100ed24..."} 
[2026-07-15 16:48:02] local.INFO: Processing buffer {"connection_id":132553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f657debb8012d18bf80072300d0006100ed24..."} 
[2026-07-15 16:48:02] local.INFO: Packet analysis {"connection_id":132553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f657d"} 
[2026-07-15 16:48:02] local.INFO: Extracted packet for processing {"connection_id":132553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f657d"} 
[2026-07-15 16:48:02] local.INFO: GPS Element Parsed {"raw_longitude":756596608,"raw_latitude":119734480,"longitude_deg":75.6596608,"latitude_deg":11.973448,"altitude":97,"angle":237,"satellites":36,"speed":32,"hex_longitude":"2d18bf80","hex_latitude":"072300d0","is_valid_coordinates":true} 
[2026-07-15 16:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733229312001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6152824119361536,"note":"Value kept but may cause issues"} 
[2026-07-15 16:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784973595462811648,"note":"Value kept but may cause issues"} 
[2026-07-15 16:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784114179000,"timestamp_ms":1784114179000,"timestamp_seconds":1784114179,"priority":1,"record_length":96,"hex_timestamp":"0000019f657debb8"} 
[2026-07-15 16:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:48:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-15 16:48:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:48:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":132553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":132553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":132553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:48:02] 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-07-15 16:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733229312001,"66":13993,"137":206,"83":42752,"24":32,"16":6152824119361536,"45":1784973595462811648},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-07-15 16:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733229312001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:48:02] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-15 16:48:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-15 16:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6152824119361536,"km_value":6152824119361.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784973595462811648,"description":"Unknown IO ID 45"} 
[2026-07-15 16:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733229312001,"power":13993,"unknown_137":206,"unknown_83":42752,"ignition":32,"odometer":null,"unknown_45":1784973595462811648}} 
[2026-07-15 16:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":132553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:48:03] local.INFO: GPS data processed {"connection_id":132553,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:48:03] local.INFO: Acknowledgment sent {"connection_id":132553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:48:06] local.INFO: TCP Data received {"connection_id":132554,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:48:06] local.INFO: Processing buffer {"connection_id":132554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:48:06] local.INFO: IMEI packet received {"connection_id":132554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":132554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:48:06] local.INFO: TCP Data received {"connection_id":132554,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f657c1310012d7f91c005afdb18000200682f..."} 
[2026-07-15 16:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f657c1310012d7f91c005afdb18000200682f..."} 
[2026-07-15 16:48:06] local.INFO: Processing buffer {"connection_id":132554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f657c1310012d7f91c005afdb18000200682f..."} 
[2026-07-15 16:48:06] local.INFO: Packet analysis {"connection_id":132554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f657c"} 
[2026-07-15 16:48:06] local.INFO: Extracted packet for processing {"connection_id":132554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f657c"} 
[2026-07-15 16:48:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410968,"longitude_deg":76.3335104,"latitude_deg":9.5410968,"altitude":2,"angle":104,"satellites":47,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afdb18","is_valid_coordinates":true} 
[2026-07-15 16:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733121024001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562689536,"note":"Value kept but may cause issues"} 
[2026-07-15 16:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784114058000,"timestamp_ms":1784114058000,"timestamp_seconds":1784114058,"priority":1,"record_length":96,"hex_timestamp":"0000019f657c1310"} 
[2026-07-15 16:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 16:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:48:06] 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-07-15 16:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733121024001,"66":25973,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9192761657562689536},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733121024001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:48:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:48:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562689536,"description":"Unknown IO ID 45"} 
[2026-07-15 16:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733121024001,"power":25973,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562689536}} 
[2026-07-15 16:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":132554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:48:06] local.INFO: GPS data processed {"connection_id":132554,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:48:06] local.INFO: Acknowledgment sent {"connection_id":132554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:48:34] local.INFO: TCP Data received {"connection_id":132731,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f657aee18012d7a1a4005e46780000600012a..."} 
[2026-07-15 16:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f657aee18012d7a1a4005e46780000600012a..."} 
[2026-07-15 16:48:34] local.INFO: Processing buffer {"connection_id":132731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f657aee18012d7a1a4005e46780000600012a..."} 
[2026-07-15 16:48:34] local.INFO: Packet analysis {"connection_id":132731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f657a"} 
[2026-07-15 16:48:34] local.INFO: Extracted packet for processing {"connection_id":132731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f657a"} 
[2026-07-15 16:48:34] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98854784,"longitude_deg":76.2976832,"latitude_deg":9.8854784,"altitude":6,"angle":1,"satellites":42,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e46780","is_valid_coordinates":true} 
[2026-07-15 16:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733103360001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106620939625562112,"note":"Value kept but may cause issues"} 
[2026-07-15 16:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798485584816867328,"note":"Value kept but may cause issues"} 
[2026-07-15 16:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784113983000,"timestamp_ms":1784113983000,"timestamp_seconds":1784113983,"priority":1,"record_length":96,"hex_timestamp":"0000019f657aee18"} 
[2026-07-15 16:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":18,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-07-15 16:48:34] 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-07-15 16:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":132731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":132731,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":132731,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:48:34] 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-07-15 16:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733103360001,"66":2253,"145":206,"87":12288,"24":0,"16":106620939625562112,"45":8798485584816867328},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-07-15 16:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733103360001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:48:34] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-15 16:48:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-15 16:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106620939625562112,"km_value":106620939625562.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798485584816867328,"description":"Unknown IO ID 45"} 
[2026-07-15 16:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733103360001,"power":2253,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798485584816867328}} 
[2026-07-15 16:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":132731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491907,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:48:34] local.INFO: GPS data processed {"connection_id":132731,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:48:34] local.INFO: Acknowledgment sent {"connection_id":132731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:48:34] local.INFO: TCP Data received {"connection_id":132553,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f657f0cc8012d18664007221570005100d52a..."} 
[2026-07-15 16:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f657f0cc8012d18664007221570005100d52a..."} 
[2026-07-15 16:48:34] local.INFO: Processing buffer {"connection_id":132553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f657f0cc8012d18664007221570005100d52a..."} 
[2026-07-15 16:48:34] local.INFO: Packet analysis {"connection_id":132553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f657f"} 
[2026-07-15 16:48:34] local.INFO: Extracted packet for processing {"connection_id":132553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f657f"} 
[2026-07-15 16:48:34] local.INFO: GPS Element Parsed {"raw_longitude":756573760,"raw_latitude":119674224,"longitude_deg":75.657376,"latitude_deg":11.9674224,"altitude":81,"angle":213,"satellites":42,"speed":40,"hex_longitude":"2d186640","hex_latitude":"07221570","is_valid_coordinates":true} 
[2026-07-15 16:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733246464001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6156062524702720,"note":"Value kept but may cause issues"} 
[2026-07-15 16:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764144447172722688,"note":"Value kept but may cause issues"} 
[2026-07-15 16:48: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-07-15 16:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784114253000,"timestamp_ms":1784114253000,"timestamp_seconds":1784114253,"priority":1,"record_length":96,"hex_timestamp":"0000019f657f0cc8"} 
[2026-07-15 16:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:48: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-07-15 16:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-15 16:48: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-07-15 16:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":132553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":132553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":132553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:48:34] 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-07-15 16:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733246464001,"66":14233,"105":206,"83":41984,"24":40,"16":6156062524702720,"45":1764144447172722688},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733246464001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:48:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:48:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6156062524702720,"km_value":6156062524702.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764144447172722688,"description":"Unknown IO ID 45"} 
[2026-07-15 16:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733246464001,"power":14233,"unknown_105":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1764144447172722688}} 
[2026-07-15 16:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":132553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:48:34] local.INFO: GPS data processed {"connection_id":132553,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:48:34] local.INFO: Acknowledgment sent {"connection_id":132553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:48:37] local.INFO: TCP Data received {"connection_id":132554,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f657c1310012d7f91c005afdb18000200682f..."} 
[2026-07-15 16:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f657c1310012d7f91c005afdb18000200682f..."} 
[2026-07-15 16:48:37] local.INFO: Processing buffer {"connection_id":132554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f657c1310012d7f91c005afdb18000200682f..."} 
[2026-07-15 16:48:37] local.INFO: Packet analysis {"connection_id":132554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f657c"} 
[2026-07-15 16:48:37] local.INFO: Extracted packet for processing {"connection_id":132554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f657c"} 
[2026-07-15 16:48:37] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410968,"longitude_deg":76.3335104,"latitude_deg":9.5410968,"altitude":2,"angle":104,"satellites":47,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afdb18","is_valid_coordinates":true} 
[2026-07-15 16:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733121024001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562689536,"note":"Value kept but may cause issues"} 
[2026-07-15 16:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784114058000,"timestamp_ms":1784114058000,"timestamp_seconds":1784114058,"priority":1,"record_length":96,"hex_timestamp":"0000019f657c1310"} 
[2026-07-15 16:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 16:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:48:37] 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-07-15 16:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733121024001,"66":25973,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9192761657562689536},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733121024001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:48:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:48:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562689536,"description":"Unknown IO ID 45"} 
[2026-07-15 16:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733121024001,"power":25973,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562689536}} 
[2026-07-15 16:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":132554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:48:37] local.INFO: GPS data processed {"connection_id":132554,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:48:37] local.INFO: Acknowledgment sent {"connection_id":132554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:48:50] local.INFO: TCP Data received {"connection_id":134935,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:48:50] local.INFO: Processing buffer {"connection_id":134935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:48:50] local.INFO: IMEI packet received {"connection_id":134935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":134935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:48:51] local.INFO: TCP Data received {"connection_id":134935,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:48:51] local.INFO: Processing buffer {"connection_id":134935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:48:51] local.INFO: IMEI packet received {"connection_id":134935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":134935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:48:51] local.INFO: TCP Data received {"connection_id":134935,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:48:51] local.INFO: Processing buffer {"connection_id":134935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:48:51] local.INFO: IMEI packet received {"connection_id":134935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":134935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:48:52] local.INFO: TCP Data received {"connection_id":134935,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f657f33d8012d1850400721f580004d00d62a..."} 
[2026-07-15 16:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f657f33d8012d1850400721f580004d00d62a..."} 
[2026-07-15 16:48:52] local.INFO: Processing buffer {"connection_id":134935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f657f33d8012d1850400721f580004d00d62a..."} 
[2026-07-15 16:48:52] local.INFO: Packet analysis {"connection_id":134935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f657f"} 
[2026-07-15 16:48:52] local.INFO: Extracted packet for processing {"connection_id":134935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f657f"} 
[2026-07-15 16:48:52] local.INFO: GPS Element Parsed {"raw_longitude":756568128,"raw_latitude":119666048,"longitude_deg":75.6568128,"latitude_deg":11.9666048,"altitude":77,"angle":214,"satellites":42,"speed":39,"hex_longitude":"2d185040","hex_latitude":"0721f580","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733248768001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6156539266072576,"note":"Value kept but may cause issues"} 
[2026-07-15 16:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1758163103915536384,"note":"Value kept but may cause issues"} 
[2026-07-15 16:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1784114263000,"timestamp_ms":1784114263000,"timestamp_seconds":1784114263,"priority":1,"record_length":96,"hex_timestamp":"0000019f657f33d8"} 
[2026-07-15 16:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:48:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-15 16:48:52] 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-07-15 16: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-07-15 16:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":134935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":134935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":134935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:48:52] 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-07-15 16:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733248768001,"66":14265,"105":206,"83":41984,"24":39,"16":6156539266072576,"45":1758163103915536384},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733248768001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:48:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:48:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6156539266072576,"km_value":6156539266072.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1758163103915536384,"description":"Unknown IO ID 45"} 
[2026-07-15 16:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733248768001,"power":14265,"unknown_105":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1758163103915536384}} 
[2026-07-15 16:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":134935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:48:52] local.INFO: GPS data processed {"connection_id":134935,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:48:52] local.INFO: Acknowledgment sent {"connection_id":134935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:48:52] local.INFO: TCP Data received {"connection_id":134935,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f657f5700012d183cc00721d828004a00d52a..."} 
[2026-07-15 16:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f657f5700012d183cc00721d828004a00d52a..."} 
[2026-07-15 16:48:52] local.INFO: Processing buffer {"connection_id":134935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f657f5700012d183cc00721d828004a00d52a..."} 
[2026-07-15 16:48:52] local.INFO: Packet analysis {"connection_id":134935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f657f"} 
[2026-07-15 16:48:52] local.INFO: Extracted packet for processing {"connection_id":134935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f657f"} 
[2026-07-15 16:48:52] local.INFO: GPS Element Parsed {"raw_longitude":756563136,"raw_latitude":119658536,"longitude_deg":75.6563136,"latitude_deg":11.9658536,"altitude":74,"angle":213,"satellites":42,"speed":39,"hex_longitude":"2d183cc0","hex_latitude":"0721d828","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733251328001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6156977352736768,"note":"Value kept but may cause issues"} 
[2026-07-15 16:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1751970654425808896,"note":"Value kept but may cause issues"} 
[2026-07-15 16:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1784114272000,"timestamp_ms":1784114272000,"timestamp_seconds":1784114272,"priority":1,"record_length":96,"hex_timestamp":"0000019f657f5700"} 
[2026-07-15 16:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:48:52] 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-07-15 16: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-15 16:48:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16: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-07-15 16:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":134935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":134935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":134935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:48:52] 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-07-15 16:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733251328001,"66":14233,"105":206,"83":41984,"24":39,"16":6156977352736768,"45":1751970654425808896},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733251328001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:48:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:48:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6156977352736768,"km_value":6156977352736.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1751970654425808896,"description":"Unknown IO ID 45"} 
[2026-07-15 16:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733251328001,"power":14233,"unknown_105":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1751970654425808896}} 
[2026-07-15 16:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":134935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:48:53] local.INFO: GPS data processed {"connection_id":134935,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:48:53] local.INFO: Acknowledgment sent {"connection_id":134935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:48:59] local.INFO: TCP Data received {"connection_id":133576,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133576,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:48:59] local.INFO: Processing buffer {"connection_id":133576,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:48:59] local.INFO: IMEI packet received {"connection_id":133576,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 16:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":133576,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:49:04] local.INFO: TCP Data received {"connection_id":133576,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133576,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:49:04] local.INFO: Processing buffer {"connection_id":133576,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:49:04] local.INFO: IMEI packet received {"connection_id":133576,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":133576,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:49:05] local.INFO: TCP Data received {"connection_id":133576,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f657aee18012d7a1a4005e46780000600012a..."} 
[2026-07-15 16:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f657aee18012d7a1a4005e46780000600012a..."} 
[2026-07-15 16:49:05] local.INFO: Processing buffer {"connection_id":133576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f657aee18012d7a1a4005e46780000600012a..."} 
[2026-07-15 16:49:05] local.INFO: Packet analysis {"connection_id":133576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f657a"} 
[2026-07-15 16:49:05] local.INFO: Extracted packet for processing {"connection_id":133576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f657a"} 
[2026-07-15 16:49:05] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98854784,"longitude_deg":76.2976832,"latitude_deg":9.8854784,"altitude":6,"angle":1,"satellites":42,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e46780","is_valid_coordinates":true} 
[2026-07-15 16:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733103360001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106620939625562112,"note":"Value kept but may cause issues"} 
[2026-07-15 16:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798485584816867328,"note":"Value kept but may cause issues"} 
[2026-07-15 16:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784113983000,"timestamp_ms":1784113983000,"timestamp_seconds":1784113983,"priority":1,"record_length":96,"hex_timestamp":"0000019f657aee18"} 
[2026-07-15 16:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":18,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-07-15 16:49:05] 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-07-15 16:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":133576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":133576,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":133576,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:49:05] 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-07-15 16:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733103360001,"66":2253,"145":206,"87":12288,"24":0,"16":106620939625562112,"45":8798485584816867328},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-07-15 16:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733103360001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:49:05] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-15 16:49:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-15 16:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106620939625562112,"km_value":106620939625562.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798485584816867328,"description":"Unknown IO ID 45"} 
[2026-07-15 16:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733103360001,"power":2253,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798485584816867328}} 
[2026-07-15 16:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":133576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491912,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:49:05] local.INFO: GPS data processed {"connection_id":133576,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:49:05] local.INFO: Acknowledgment sent {"connection_id":133576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:49:06] local.INFO: TCP Data received {"connection_id":133577,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:49:06] local.INFO: Processing buffer {"connection_id":133577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:49:06] local.INFO: IMEI packet received {"connection_id":133577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":133577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:49:11] local.INFO: TCP Data received {"connection_id":133577,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:49:11] local.INFO: Processing buffer {"connection_id":133577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:49:11] local.INFO: IMEI packet received {"connection_id":133577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":133577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:49:12] local.INFO: TCP Data received {"connection_id":133577,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f657c1310012d7f91c005afdb18000200682f..."} 
[2026-07-15 16:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f657c1310012d7f91c005afdb18000200682f..."} 
[2026-07-15 16:49:12] local.INFO: Processing buffer {"connection_id":133577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f657c1310012d7f91c005afdb18000200682f..."} 
[2026-07-15 16:49:12] local.INFO: Packet analysis {"connection_id":133577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f657c"} 
[2026-07-15 16:49:12] local.INFO: Extracted packet for processing {"connection_id":133577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f657c"} 
[2026-07-15 16:49:12] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410968,"longitude_deg":76.3335104,"latitude_deg":9.5410968,"altitude":2,"angle":104,"satellites":47,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afdb18","is_valid_coordinates":true} 
[2026-07-15 16:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733121024001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562689536,"note":"Value kept but may cause issues"} 
[2026-07-15 16:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784114058000,"timestamp_ms":1784114058000,"timestamp_seconds":1784114058,"priority":1,"record_length":96,"hex_timestamp":"0000019f657c1310"} 
[2026-07-15 16:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 16:49:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:49:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":133577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":133577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":133577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:49:12] 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-07-15 16:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733121024001,"66":25973,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9192761657562689536},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733121024001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:49:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:49:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562689536,"description":"Unknown IO ID 45"} 
[2026-07-15 16:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733121024001,"power":25973,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562689536}} 
[2026-07-15 16:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":133577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:49:12] local.INFO: GPS data processed {"connection_id":133577,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:49:12] local.INFO: Acknowledgment sent {"connection_id":133577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:49:16] local.INFO: TCP Data received {"connection_id":133577,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f657c1310012d7f91c005afdb18000200682f..."} 
[2026-07-15 16:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f657c1310012d7f91c005afdb18000200682f..."} 
[2026-07-15 16:49:16] local.INFO: Processing buffer {"connection_id":133577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f657c1310012d7f91c005afdb18000200682f..."} 
[2026-07-15 16:49:16] local.INFO: Packet analysis {"connection_id":133577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f657c"} 
[2026-07-15 16:49:16] local.INFO: Extracted packet for processing {"connection_id":133577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f657c"} 
[2026-07-15 16:49:16] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410968,"longitude_deg":76.3335104,"latitude_deg":9.5410968,"altitude":2,"angle":104,"satellites":47,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afdb18","is_valid_coordinates":true} 
[2026-07-15 16:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733121024001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562689536,"note":"Value kept but may cause issues"} 
[2026-07-15 16:49:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784114058000,"timestamp_ms":1784114058000,"timestamp_seconds":1784114058,"priority":1,"record_length":96,"hex_timestamp":"0000019f657c1310"} 
[2026-07-15 16:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:49:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 16:49:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:49:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":133577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":133577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":133577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:49:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733121024001,"66":25973,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9192761657562689536},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733121024001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:49:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:49:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:49:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562689536,"description":"Unknown IO ID 45"} 
[2026-07-15 16:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733121024001,"power":25973,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562689536}} 
[2026-07-15 16:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":133577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:49:16] local.INFO: GPS data processed {"connection_id":133577,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:49:16] local.INFO: Acknowledgment sent {"connection_id":133577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:49:24] local.INFO: TCP Data received {"connection_id":134935,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f657f7e10012d1827c00721b918004800d52a..."} 
[2026-07-15 16:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f657f7e10012d1827c00721b918004800d52a..."} 
[2026-07-15 16:49:24] local.INFO: Processing buffer {"connection_id":134935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f657f7e10012d1827c00721b918004800d52a..."} 
[2026-07-15 16:49:24] local.INFO: Packet analysis {"connection_id":134935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f657f"} 
[2026-07-15 16:49:24] local.INFO: Extracted packet for processing {"connection_id":134935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f657f"} 
[2026-07-15 16:49:24] local.INFO: GPS Element Parsed {"raw_longitude":756557760,"raw_latitude":119650584,"longitude_deg":75.655776,"latitude_deg":11.9650584,"altitude":72,"angle":213,"satellites":42,"speed":32,"hex_longitude":"2d1827c0","hex_latitude":"0721b918","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:49:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733253632001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:49:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6157436914237440,"note":"Value kept but may cause issues"} 
[2026-07-15 16:49:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746481892378028032,"note":"Value kept but may cause issues"} 
[2026-07-15 16:49:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:49:24] local.INFO: AVL Record Parsed {"raw_timestamp":1784114282000,"timestamp_ms":1784114282000,"timestamp_seconds":1784114282,"priority":1,"record_length":96,"hex_timestamp":"0000019f657f7e10"} 
[2026-07-15 16:49:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:49:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-15 16:49:24] 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-07-15 16: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-07-15 16:49:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:49:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:49:24] local.INFO: Teltonika packet parsed successfully {"connection_id":134935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:49:24] local.INFO: Passing IMEI to GPS processor {"connection_id":134935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:49:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":134935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:49:24] 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-07-15 16:49:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:49:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:49:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733253632001,"66":14243,"105":206,"83":41984,"24":32,"16":6157436914237440,"45":1746481892378028032},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:49:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:49:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:49:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733253632001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:49:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:49:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:49:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6157436914237440,"km_value":6157436914237.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:49:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746481892378028032,"description":"Unknown IO ID 45"} 
[2026-07-15 16:49:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733253632001,"power":14243,"unknown_105":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1746481892378028032}} 
[2026-07-15 16:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":134935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:49:24] local.INFO: GPS data processed {"connection_id":134935,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:49:24] local.INFO: Acknowledgment sent {"connection_id":134935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:49:37] local.INFO: TCP Data received {"connection_id":133576,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f657aee18012d7a1a4005e46780000600012a..."} 
[2026-07-15 16:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f657aee18012d7a1a4005e46780000600012a..."} 
[2026-07-15 16:49:37] local.INFO: Processing buffer {"connection_id":133576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f657aee18012d7a1a4005e46780000600012a..."} 
[2026-07-15 16:49:37] local.INFO: Packet analysis {"connection_id":133576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f657a"} 
[2026-07-15 16:49:37] local.INFO: Extracted packet for processing {"connection_id":133576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f657a"} 
[2026-07-15 16:49:37] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98854784,"longitude_deg":76.2976832,"latitude_deg":9.8854784,"altitude":6,"angle":1,"satellites":42,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e46780","is_valid_coordinates":true} 
[2026-07-15 16:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733103360001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106620939625562112,"note":"Value kept but may cause issues"} 
[2026-07-15 16:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798485584816867328,"note":"Value kept but may cause issues"} 
[2026-07-15 16:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784113983000,"timestamp_ms":1784113983000,"timestamp_seconds":1784113983,"priority":1,"record_length":96,"hex_timestamp":"0000019f657aee18"} 
[2026-07-15 16:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":18,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-07-15 16:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133576,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133576,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:49:37] 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-07-15 16:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733103360001,"66":2253,"145":206,"87":12288,"24":0,"16":106620939625562112,"45":8798485584816867328},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-07-15 16:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733103360001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:49:37] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-15 16:49:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-15 16:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106620939625562112,"km_value":106620939625562.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798485584816867328,"description":"Unknown IO ID 45"} 
[2026-07-15 16:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733103360001,"power":2253,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798485584816867328}} 
[2026-07-15 16:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":133576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491916,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:49:37] local.INFO: GPS data processed {"connection_id":133576,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:49:37] local.INFO: Acknowledgment sent {"connection_id":133576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:49:50] local.INFO: TCP Data received {"connection_id":132733,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:49:50] local.INFO: Processing buffer {"connection_id":132733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:49:50] local.INFO: IMEI packet received {"connection_id":132733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":132733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:49:55] local.INFO: TCP Data received {"connection_id":132733,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:49:55] local.INFO: Processing buffer {"connection_id":132733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:49:55] local.INFO: IMEI packet received {"connection_id":132733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":132733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:49:56] local.INFO: TCP Data received {"connection_id":132733,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f657fa520012d181e800721a938004600bc2a..."} 
[2026-07-15 16:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f657fa520012d181e800721a938004600bc2a..."} 
[2026-07-15 16:49:56] local.INFO: Processing buffer {"connection_id":132733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f657fa520012d181e800721a938004600bc2a..."} 
[2026-07-15 16:49:56] local.INFO: Packet analysis {"connection_id":132733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f657f"} 
[2026-07-15 16:49:56] local.INFO: Extracted packet for processing {"connection_id":132733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f657f"} 
[2026-07-15 16:49:56] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119646520,"longitude_deg":75.6555392,"latitude_deg":11.964652,"altitude":70,"angle":188,"satellites":42,"speed":10,"hex_longitude":"2d181e80","hex_latitude":"0721a938","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733256192001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6157664547504128,"note":"Value kept but may cause issues"} 
[2026-07-15 16:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740570917865068544,"note":"Value kept but may cause issues"} 
[2026-07-15 16:49:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784114292000,"timestamp_ms":1784114292000,"timestamp_seconds":1784114292,"priority":1,"record_length":96,"hex_timestamp":"0000019f657fa520"} 
[2026-07-15 16:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:49:56] 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-07-15 16: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-15 16:49:56] 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-07-15 16: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-07-15 16:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:49:56] 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-07-15 16:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733256192001,"66":14233,"105":206,"83":41984,"24":10,"16":6157664547504128,"45":1740570917865068544},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 16:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733256192001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:49:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 16:49:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6157664547504128,"km_value":6157664547504.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740570917865068544,"description":"Unknown IO ID 45"} 
[2026-07-15 16:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733256192001,"power":14233,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1740570917865068544}} 
[2026-07-15 16:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":132733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:49:56] local.INFO: GPS data processed {"connection_id":132733,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:49:56] local.INFO: Acknowledgment sent {"connection_id":132733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:49:57] local.INFO: TCP Data received {"connection_id":134938,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:49:57] local.INFO: Processing buffer {"connection_id":134938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:49:57] local.INFO: IMEI packet received {"connection_id":134938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":134938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:50:00] local.INFO: TCP Data received {"connection_id":134937,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134937,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:50:00] local.INFO: Processing buffer {"connection_id":134937,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:50:00] local.INFO: IMEI packet received {"connection_id":134937,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 16:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":134937,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:50:01] local.INFO: TCP Data received {"connection_id":134938,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:50:01] local.INFO: Processing buffer {"connection_id":134938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:50:01] local.INFO: IMEI packet received {"connection_id":134938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":134938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:50:04] local.INFO: TCP Data received {"connection_id":134937,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134937,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:50:04] local.INFO: Processing buffer {"connection_id":134937,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:50:04] local.INFO: IMEI packet received {"connection_id":134937,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":134937,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:50:06] local.INFO: TCP Data received {"connection_id":134938,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:50:06] local.INFO: Processing buffer {"connection_id":134938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:50:06] local.INFO: IMEI packet received {"connection_id":134938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":134938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:50:06] local.INFO: TCP Data received {"connection_id":134937,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f657aee18012d7a1a4005e46780000600012a..."} 
[2026-07-15 16:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f657aee18012d7a1a4005e46780000600012a..."} 
[2026-07-15 16:50:06] local.INFO: Processing buffer {"connection_id":134937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f657aee18012d7a1a4005e46780000600012a..."} 
[2026-07-15 16:50:06] local.INFO: Packet analysis {"connection_id":134937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f657a"} 
[2026-07-15 16:50:06] local.INFO: Extracted packet for processing {"connection_id":134937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f657a"} 
[2026-07-15 16:50:06] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98854784,"longitude_deg":76.2976832,"latitude_deg":9.8854784,"altitude":6,"angle":1,"satellites":42,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e46780","is_valid_coordinates":true} 
[2026-07-15 16:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733103360001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106620939625562112,"note":"Value kept but may cause issues"} 
[2026-07-15 16:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798485584816867328,"note":"Value kept but may cause issues"} 
[2026-07-15 16:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784113983000,"timestamp_ms":1784113983000,"timestamp_seconds":1784113983,"priority":1,"record_length":96,"hex_timestamp":"0000019f657aee18"} 
[2026-07-15 16:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":18,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-07-15 16:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":134937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":134937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":134937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:50:06] 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-07-15 16:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733103360001,"66":2253,"145":206,"87":12288,"24":0,"16":106620939625562112,"45":8798485584816867328},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-07-15 16:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733103360001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:50:06] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-15 16:50:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-15 16:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106620939625562112,"km_value":106620939625562.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798485584816867328,"description":"Unknown IO ID 45"} 
[2026-07-15 16:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733103360001,"power":2253,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798485584816867328}} 
[2026-07-15 16:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":134937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491918,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:50:06] local.INFO: GPS data processed {"connection_id":134937,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:50:06] local.INFO: Acknowledgment sent {"connection_id":134937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:50:07] local.INFO: TCP Data received {"connection_id":134938,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f6580aec0012d7f91c005afdb18000200682e..."} 
[2026-07-15 16:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6580aec0012d7f91c005afdb18000200682e..."} 
[2026-07-15 16:50:07] local.INFO: Processing buffer {"connection_id":134938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6580aec0012d7f91c005afdb18000200682e..."} 
[2026-07-15 16:50:07] local.INFO: Packet analysis {"connection_id":134938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6580"} 
[2026-07-15 16:50:07] local.INFO: Extracted packet for processing {"connection_id":134938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6580"} 
[2026-07-15 16:50:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410968,"longitude_deg":76.3335104,"latitude_deg":9.5410968,"altitude":2,"angle":104,"satellites":46,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afdb18","is_valid_coordinates":true} 
[2026-07-15 16:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733198848001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097633792,"note":"Value kept but may cause issues"} 
[2026-07-15 16:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784114360000,"timestamp_ms":1784114360000,"timestamp_seconds":1784114360,"priority":1,"record_length":96,"hex_timestamp":"0000019f6580aec0"} 
[2026-07-15 16:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-15 16:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:50:07] 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-07-15 16:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733198848001,"66":25875,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9192339445097633792},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733198848001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:50:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:50:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097633792,"description":"Unknown IO ID 45"} 
[2026-07-15 16:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733198848001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097633792}} 
[2026-07-15 16:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":134938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:50:07] local.INFO: GPS data processed {"connection_id":134938,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:50:07] local.INFO: Acknowledgment sent {"connection_id":134938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:50:27] local.INFO: TCP Data received {"connection_id":132733,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f65811450012d18c2c0072153280049009b28..."} 
[2026-07-15 16:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65811450012d18c2c0072153280049009b28..."} 
[2026-07-15 16:50:27] local.INFO: Processing buffer {"connection_id":132733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65811450012d18c2c0072153280049009b28..."} 
[2026-07-15 16:50:27] local.INFO: Packet analysis {"connection_id":132733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6581"} 
[2026-07-15 16:50:27] local.INFO: Extracted packet for processing {"connection_id":132733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6581"} 
[2026-07-15 16:50:27] local.INFO: GPS Element Parsed {"raw_longitude":756597440,"raw_latitude":119624488,"longitude_deg":75.659744,"latitude_deg":11.9624488,"altitude":73,"angle":155,"satellites":40,"speed":35,"hex_longitude":"2d18c2c0","hex_latitude":"07215328","is_valid_coordinates":true} 
[2026-07-15 16:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733280000001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6160052549320704,"note":"Value kept but may cause issues"} 
[2026-07-15 16:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778499670972065792,"note":"Value kept but may cause issues"} 
[2026-07-15 16:50: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-07-15 16:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784114386000,"timestamp_ms":1784114386000,"timestamp_seconds":1784114386,"priority":1,"record_length":96,"hex_timestamp":"0000019f65811450"} 
[2026-07-15 16:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:50: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-07-15 16:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-15 16:50:27] 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-07-15 16:50:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":132733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":132733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":132733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:50: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-07-15 16:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733280000001,"66":14135,"106":206,"83":41984,"24":35,"16":6160052549320704,"45":1778499670972065792},"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-07-15 16:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733280000001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:50:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-15 16:50:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6160052549320704,"km_value":6160052549320.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778499670972065792,"description":"Unknown IO ID 45"} 
[2026-07-15 16:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733280000001,"power":14135,"unknown_106":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1778499670972065792}} 
[2026-07-15 16:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":132733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:50:27] local.INFO: GPS data processed {"connection_id":132733,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:50:27] local.INFO: Acknowledgment sent {"connection_id":132733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:50:38] local.INFO: TCP Data received {"connection_id":134938,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f6580aec0012d7f91c005afdb18000200682e..."} 
[2026-07-15 16:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6580aec0012d7f91c005afdb18000200682e..."} 
[2026-07-15 16:50:38] local.INFO: Processing buffer {"connection_id":134938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6580aec0012d7f91c005afdb18000200682e..."} 
[2026-07-15 16:50:38] local.INFO: Packet analysis {"connection_id":134938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6580"} 
[2026-07-15 16:50:38] local.INFO: Extracted packet for processing {"connection_id":134938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6580"} 
[2026-07-15 16:50:38] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410968,"longitude_deg":76.3335104,"latitude_deg":9.5410968,"altitude":2,"angle":104,"satellites":46,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afdb18","is_valid_coordinates":true} 
[2026-07-15 16:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733198848001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097633792,"note":"Value kept but may cause issues"} 
[2026-07-15 16:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784114360000,"timestamp_ms":1784114360000,"timestamp_seconds":1784114360,"priority":1,"record_length":96,"hex_timestamp":"0000019f6580aec0"} 
[2026-07-15 16:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-15 16:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:50:38] 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-07-15 16:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733198848001,"66":25875,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9192339445097633792},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733198848001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:50:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:50:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097633792,"description":"Unknown IO ID 45"} 
[2026-07-15 16:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733198848001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097633792}} 
[2026-07-15 16:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":134938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:50:38] local.INFO: GPS data processed {"connection_id":134938,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:50:38] local.INFO: Acknowledgment sent {"connection_id":134938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:50:38] local.INFO: TCP Data received {"connection_id":134937,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f657aee18012d7a1a4005e46780000600012a..."} 
[2026-07-15 16:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f657aee18012d7a1a4005e46780000600012a..."} 
[2026-07-15 16:50:38] local.INFO: Processing buffer {"connection_id":134937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f657aee18012d7a1a4005e46780000600012a..."} 
[2026-07-15 16:50:38] local.INFO: Packet analysis {"connection_id":134937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f657a"} 
[2026-07-15 16:50:38] local.INFO: Extracted packet for processing {"connection_id":134937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f657a"} 
[2026-07-15 16:50:38] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98854784,"longitude_deg":76.2976832,"latitude_deg":9.8854784,"altitude":6,"angle":1,"satellites":42,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e46780","is_valid_coordinates":true} 
[2026-07-15 16:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733103360001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106620939625562112,"note":"Value kept but may cause issues"} 
[2026-07-15 16:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798485584816867328,"note":"Value kept but may cause issues"} 
[2026-07-15 16:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784113983000,"timestamp_ms":1784113983000,"timestamp_seconds":1784113983,"priority":1,"record_length":96,"hex_timestamp":"0000019f657aee18"} 
[2026-07-15 16:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":18,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-07-15 16:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 16:50:38] 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-07-15 16:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 16:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 16:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733103360001,"66":2253,"145":206,"87":12288,"24":0,"16":106620939625562112,"45":8798485584816867328},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-07-15 16:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 16:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 16:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733103360001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:50:38] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-15 16:50:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-15 16:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106620939625562112,"km_value":106620939625562.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798485584816867328,"description":"Unknown IO ID 45"} 
[2026-07-15 16:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733103360001,"power":2253,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798485584816867328}} 
[2026-07-15 16:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":134937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491922,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:50:38] local.INFO: GPS data processed {"connection_id":134937,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:50:38] local.INFO: Acknowledgment sent {"connection_id":134937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:50:50] local.INFO: TCP Data received {"connection_id":133578,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:50:50] local.INFO: Processing buffer {"connection_id":133578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:50:50] local.INFO: IMEI packet received {"connection_id":133578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":133578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:50:55] local.INFO: TCP Data received {"connection_id":133578,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:50:55] local.INFO: Processing buffer {"connection_id":133578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:50:55] local.INFO: IMEI packet received {"connection_id":133578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":133578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:50:56] local.INFO: TCP Data received {"connection_id":133578,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f65811450012d18c2c0072153280049009b28..."} 
[2026-07-15 16:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65811450012d18c2c0072153280049009b28..."} 
[2026-07-15 16:50:56] local.INFO: Processing buffer {"connection_id":133578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65811450012d18c2c0072153280049009b28..."} 
[2026-07-15 16:50:56] local.INFO: Packet analysis {"connection_id":133578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6581"} 
[2026-07-15 16:50:56] local.INFO: Extracted packet for processing {"connection_id":133578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6581"} 
[2026-07-15 16:50:56] local.INFO: GPS Element Parsed {"raw_longitude":756597440,"raw_latitude":119624488,"longitude_deg":75.659744,"latitude_deg":11.9624488,"altitude":73,"angle":155,"satellites":40,"speed":35,"hex_longitude":"2d18c2c0","hex_latitude":"07215328","is_valid_coordinates":true} 
[2026-07-15 16:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733282816001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6160052549320704,"note":"Value kept but may cause issues"} 
[2026-07-15 16:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784199539248539648,"note":"Value kept but may cause issues"} 
[2026-07-15 16:50:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784114386000,"timestamp_ms":1784114386000,"timestamp_seconds":1784114386,"priority":1,"record_length":96,"hex_timestamp":"0000019f65811450"} 
[2026-07-15 16:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:50:56] 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-07-15 16:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-15 16:50:56] 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-07-15 16:50:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:50:56] 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-07-15 16:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733282816001,"66":14135,"106":206,"83":41984,"24":35,"16":6160052549320704,"45":1784199539248539648},"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-07-15 16:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733282816001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:50:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-15 16:50:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6160052549320704,"km_value":6160052549320.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784199539248539648,"description":"Unknown IO ID 45"} 
[2026-07-15 16:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733282816001,"power":14135,"unknown_106":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1784199539248539648}} 
[2026-07-15 16:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":133578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491923,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:50:56] local.INFO: GPS data processed {"connection_id":133578,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:50:56] local.INFO: Acknowledgment sent {"connection_id":133578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:50:59] local.INFO: TCP Data received {"connection_id":134939,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134939,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:50:59] local.INFO: Processing buffer {"connection_id":134939,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:50:59] local.INFO: IMEI packet received {"connection_id":134939,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 16:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":134939,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:51:00] local.INFO: TCP Data received {"connection_id":133579,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:51:00] local.INFO: Processing buffer {"connection_id":133579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:51:00] local.INFO: IMEI packet received {"connection_id":133579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":133579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:51:04] local.INFO: TCP Data received {"connection_id":134939,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134939,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:51:04] local.INFO: Processing buffer {"connection_id":134939,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 16:51:04] local.INFO: IMEI packet received {"connection_id":134939,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 16:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":134939,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:51:06] local.INFO: TCP Data received {"connection_id":133579,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:51:06] local.INFO: Processing buffer {"connection_id":133579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:51:06] local.INFO: IMEI packet received {"connection_id":133579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":133579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:51:07] local.INFO: TCP Data received {"connection_id":133579,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f6580aec0012d7f91c005afdb18000200682e..."} 
[2026-07-15 16:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6580aec0012d7f91c005afdb18000200682e..."} 
[2026-07-15 16:51:07] local.INFO: Processing buffer {"connection_id":133579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6580aec0012d7f91c005afdb18000200682e..."} 
[2026-07-15 16:51:07] local.INFO: Packet analysis {"connection_id":133579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6580"} 
[2026-07-15 16:51:07] local.INFO: Extracted packet for processing {"connection_id":133579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6580"} 
[2026-07-15 16:51:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410968,"longitude_deg":76.3335104,"latitude_deg":9.5410968,"altitude":2,"angle":104,"satellites":46,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afdb18","is_valid_coordinates":true} 
[2026-07-15 16:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733198848001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097633792,"note":"Value kept but may cause issues"} 
[2026-07-15 16:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784114360000,"timestamp_ms":1784114360000,"timestamp_seconds":1784114360,"priority":1,"record_length":96,"hex_timestamp":"0000019f6580aec0"} 
[2026-07-15 16:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-15 16:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:51:07] 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-07-15 16:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733198848001,"66":25875,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9192339445097633792},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733198848001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:51:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:51:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097633792,"description":"Unknown IO ID 45"} 
[2026-07-15 16:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733198848001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097633792}} 
[2026-07-15 16:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":133579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:51:07] local.INFO: GPS data processed {"connection_id":133579,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:51:07] local.INFO: Acknowledgment sent {"connection_id":133579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:51:27] local.INFO: TCP Data received {"connection_id":133578,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f65811c20012d18c48007214c48004800ac27..."} 
[2026-07-15 16:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65811c20012d18c48007214c48004800ac27..."} 
[2026-07-15 16:51:27] local.INFO: Processing buffer {"connection_id":133578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65811c20012d18c48007214c48004800ac27..."} 
[2026-07-15 16:51:27] local.INFO: Packet analysis {"connection_id":133578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6581"} 
[2026-07-15 16:51:27] local.INFO: Extracted packet for processing {"connection_id":133578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6581"} 
[2026-07-15 16:51:27] local.INFO: GPS Element Parsed {"raw_longitude":756597888,"raw_latitude":119622728,"longitude_deg":75.6597888,"latitude_deg":11.9622728,"altitude":72,"angle":172,"satellites":39,"speed":36,"hex_longitude":"2d18c480","hex_latitude":"07214c48","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733282816001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6160138448666624,"note":"Value kept but may cause issues"} 
[2026-07-15 16:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784199539248539648,"note":"Value kept but may cause issues"} 
[2026-07-15 16:51: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-07-15 16:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784114388000,"timestamp_ms":1784114388000,"timestamp_seconds":1784114388,"priority":1,"record_length":96,"hex_timestamp":"0000019f65811c20"} 
[2026-07-15 16:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:51: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-07-15 16: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-15 16:51:27] 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-07-15 16: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-07-15 16:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":133578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":133578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":133578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:51: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-07-15 16:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733282816001,"66":14102,"106":206,"83":41984,"24":36,"16":6160138448666624,"45":1784199539248539648},"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-07-15 16:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733282816001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:51:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-15 16:51:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6160138448666624,"km_value":6160138448666.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784199539248539648,"description":"Unknown IO ID 45"} 
[2026-07-15 16:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733282816001,"power":14102,"unknown_106":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1784199539248539648}} 
[2026-07-15 16:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":133578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491925,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:51:27] local.INFO: GPS data processed {"connection_id":133578,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:51:27] local.INFO: Acknowledgment sent {"connection_id":133578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:51:39] local.INFO: TCP Data received {"connection_id":133579,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f6580aec0012d7f91c005afdb18000200682e..."} 
[2026-07-15 16:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6580aec0012d7f91c005afdb18000200682e..."} 
[2026-07-15 16:51:39] local.INFO: Processing buffer {"connection_id":133579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6580aec0012d7f91c005afdb18000200682e..."} 
[2026-07-15 16:51:39] local.INFO: Packet analysis {"connection_id":133579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6580"} 
[2026-07-15 16:51:39] local.INFO: Extracted packet for processing {"connection_id":133579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6580"} 
[2026-07-15 16:51:39] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410968,"longitude_deg":76.3335104,"latitude_deg":9.5410968,"altitude":2,"angle":104,"satellites":46,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afdb18","is_valid_coordinates":true} 
[2026-07-15 16:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733198848001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097633792,"note":"Value kept but may cause issues"} 
[2026-07-15 16:51:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784114360000,"timestamp_ms":1784114360000,"timestamp_seconds":1784114360,"priority":1,"record_length":96,"hex_timestamp":"0000019f6580aec0"} 
[2026-07-15 16:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:51:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-15 16:51:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:51:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:51:39] 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-07-15 16:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733198848001,"66":25875,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9192339445097633792},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733198848001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:51:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:51:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097633792,"description":"Unknown IO ID 45"} 
[2026-07-15 16:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733198848001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097633792}} 
[2026-07-15 16:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":133579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:51:39] local.INFO: GPS data processed {"connection_id":133579,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:51:39] local.INFO: Acknowledgment sent {"connection_id":133579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:51:50] local.INFO: TCP Data received {"connection_id":132557,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:51:50] local.INFO: Processing buffer {"connection_id":132557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:51:50] local.INFO: IMEI packet received {"connection_id":132557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":132557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:51:55] local.INFO: TCP Data received {"connection_id":132557,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:51:55] local.INFO: Processing buffer {"connection_id":132557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:51:55] local.INFO: IMEI packet received {"connection_id":132557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":132557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:51:56] local.INFO: TCP Data received {"connection_id":132557,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f65812fa8012d18c74007213a980046009e24..."} 
[2026-07-15 16:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65812fa8012d18c74007213a980046009e24..."} 
[2026-07-15 16:51:56] local.INFO: Processing buffer {"connection_id":132557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65812fa8012d18c74007213a980046009e24..."} 
[2026-07-15 16:51:56] local.INFO: Packet analysis {"connection_id":132557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6581"} 
[2026-07-15 16:51:56] local.INFO: Extracted packet for processing {"connection_id":132557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6581"} 
[2026-07-15 16:51:56] local.INFO: GPS Element Parsed {"raw_longitude":756598592,"raw_latitude":119618200,"longitude_deg":75.6598592,"latitude_deg":11.96182,"altitude":70,"angle":158,"satellites":36,"speed":34,"hex_longitude":"2d18c740","hex_latitude":"07213a98","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733283328001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6160361786966016,"note":"Value kept but may cause issues"} 
[2026-07-15 16:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784692120457332736,"note":"Value kept but may cause issues"} 
[2026-07-15 16:51:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784114393000,"timestamp_ms":1784114393000,"timestamp_seconds":1784114393,"priority":1,"record_length":96,"hex_timestamp":"0000019f65812fa8"} 
[2026-07-15 16:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:51:56] 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-07-15 16: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-15 16:51:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16: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-07-15 16:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:51:56] 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-07-15 16:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733283328001,"66":14243,"106":206,"83":41984,"24":34,"16":6160361786966016,"45":1784692120457332736},"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-07-15 16:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733283328001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:51:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-15 16:51:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6160361786966016,"km_value":6160361786966.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784692120457332736,"description":"Unknown IO ID 45"} 
[2026-07-15 16:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733283328001,"power":14243,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1784692120457332736}} 
[2026-07-15 16:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":132557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:51:56] local.INFO: GPS data processed {"connection_id":132557,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:51:56] local.INFO: Acknowledgment sent {"connection_id":132557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:52:00] local.INFO: TCP Data received {"connection_id":132734,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:52:00] local.INFO: Processing buffer {"connection_id":132734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:52:00] local.INFO: IMEI packet received {"connection_id":132734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":132734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:52:06] local.INFO: TCP Data received {"connection_id":132734,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:52:06] local.INFO: Processing buffer {"connection_id":132734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:52:06] local.INFO: IMEI packet received {"connection_id":132734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":132734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:52:07] local.INFO: TCP Data received {"connection_id":132734,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f6580aec0012d7f91c005afdb18000200682e..."} 
[2026-07-15 16:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6580aec0012d7f91c005afdb18000200682e..."} 
[2026-07-15 16:52:07] local.INFO: Processing buffer {"connection_id":132734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6580aec0012d7f91c005afdb18000200682e..."} 
[2026-07-15 16:52:07] local.INFO: Packet analysis {"connection_id":132734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6580"} 
[2026-07-15 16:52:07] local.INFO: Extracted packet for processing {"connection_id":132734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6580"} 
[2026-07-15 16:52:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410968,"longitude_deg":76.3335104,"latitude_deg":9.5410968,"altitude":2,"angle":104,"satellites":46,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afdb18","is_valid_coordinates":true} 
[2026-07-15 16:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733198848001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097633792,"note":"Value kept but may cause issues"} 
[2026-07-15 16:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784114360000,"timestamp_ms":1784114360000,"timestamp_seconds":1784114360,"priority":1,"record_length":96,"hex_timestamp":"0000019f6580aec0"} 
[2026-07-15 16:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-15 16:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:52:07] 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-07-15 16:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733198848001,"66":25875,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9192339445097633792},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733198848001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:52:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:52:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097633792,"description":"Unknown IO ID 45"} 
[2026-07-15 16:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733198848001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097633792}} 
[2026-07-15 16:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":132734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:52:07] local.INFO: GPS data processed {"connection_id":132734,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:52:07] local.INFO: Acknowledgment sent {"connection_id":132734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:52:27] local.INFO: TCP Data received {"connection_id":132557,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f65822d90012d1939400720b640002c007a28..."} 
[2026-07-15 16:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65822d90012d1939400720b640002c007a28..."} 
[2026-07-15 16:52:27] local.INFO: Processing buffer {"connection_id":132557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65822d90012d1939400720b640002c007a28..."} 
[2026-07-15 16:52:27] local.INFO: Packet analysis {"connection_id":132557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6582"} 
[2026-07-15 16:52:27] local.INFO: Extracted packet for processing {"connection_id":132557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6582"} 
[2026-07-15 16:52:27] local.INFO: GPS Element Parsed {"raw_longitude":756627776,"raw_latitude":119584320,"longitude_deg":75.6627776,"latitude_deg":11.958432,"altitude":44,"angle":122,"satellites":40,"speed":16,"hex_longitude":"2d193940","hex_latitude":"0720b640","is_valid_coordinates":true} 
[2026-07-15 16:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733298944001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6162689659240448,"note":"Value kept but may cause issues"} 
[2026-07-15 16:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1809532287142989824,"note":"Value kept but may cause issues"} 
[2026-07-15 16:52:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784114458000,"timestamp_ms":1784114458000,"timestamp_seconds":1784114458,"priority":1,"record_length":96,"hex_timestamp":"0000019f65822d90"} 
[2026-07-15 16:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:52: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-07-15 16:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-15 16:52:27] 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-07-15 16:52:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":132557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":132557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":132557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:52: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-07-15 16:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733298944001,"66":13961,"103":206,"83":41984,"24":16,"16":6162689659240448,"45":1809532287142989824},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 16:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733298944001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:52:27] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 16:52:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6162689659240448,"km_value":6162689659240.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1809532287142989824,"description":"Unknown IO ID 45"} 
[2026-07-15 16:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733298944001,"power":13961,"unknown_103":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1809532287142989824}} 
[2026-07-15 16:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":132557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:52:27] local.INFO: GPS data processed {"connection_id":132557,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:52:27] local.INFO: Acknowledgment sent {"connection_id":132557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:52:38] local.INFO: TCP Data received {"connection_id":132734,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f6580aec0012d7f91c005afdb18000200682e..."} 
[2026-07-15 16:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6580aec0012d7f91c005afdb18000200682e..."} 
[2026-07-15 16:52:38] local.INFO: Processing buffer {"connection_id":132734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6580aec0012d7f91c005afdb18000200682e..."} 
[2026-07-15 16:52:38] local.INFO: Packet analysis {"connection_id":132734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6580"} 
[2026-07-15 16:52:38] local.INFO: Extracted packet for processing {"connection_id":132734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6580"} 
[2026-07-15 16:52:38] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410968,"longitude_deg":76.3335104,"latitude_deg":9.5410968,"altitude":2,"angle":104,"satellites":46,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afdb18","is_valid_coordinates":true} 
[2026-07-15 16:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733198848001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097633792,"note":"Value kept but may cause issues"} 
[2026-07-15 16:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784114360000,"timestamp_ms":1784114360000,"timestamp_seconds":1784114360,"priority":1,"record_length":96,"hex_timestamp":"0000019f6580aec0"} 
[2026-07-15 16:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-15 16:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:52:38] 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-07-15 16:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733198848001,"66":25875,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9192339445097633792},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733198848001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:52:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:52:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097633792,"description":"Unknown IO ID 45"} 
[2026-07-15 16:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733198848001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097633792}} 
[2026-07-15 16:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":132734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:52:38] local.INFO: GPS data processed {"connection_id":132734,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:52:38] local.INFO: Acknowledgment sent {"connection_id":132734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:52:50] local.INFO: TCP Data received {"connection_id":132558,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:52:50] local.INFO: Processing buffer {"connection_id":132558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:52:50] local.INFO: IMEI packet received {"connection_id":132558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":132558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:52:55] local.INFO: TCP Data received {"connection_id":132558,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:52:55] local.INFO: Processing buffer {"connection_id":132558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:52:55] local.INFO: IMEI packet received {"connection_id":132558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":132558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:52:56] local.INFO: TCP Data received {"connection_id":132558,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f65827f98012d193b800720b500002d007826..."} 
[2026-07-15 16:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65827f98012d193b800720b500002d007826..."} 
[2026-07-15 16:52:56] local.INFO: Processing buffer {"connection_id":132558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65827f98012d193b800720b500002d007826..."} 
[2026-07-15 16:52:56] local.INFO: Packet analysis {"connection_id":132558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6582"} 
[2026-07-15 16:52:56] local.INFO: Extracted packet for processing {"connection_id":132558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6582"} 
[2026-07-15 16:52:56] local.INFO: GPS Element Parsed {"raw_longitude":756628352,"raw_latitude":119584000,"longitude_deg":75.6628352,"latitude_deg":11.9584,"altitude":45,"angle":120,"satellites":38,"speed":0,"hex_longitude":"2d193b80","hex_latitude":"0720b500","is_valid_coordinates":true} 
[2026-07-15 16:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733301248001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6162724018978816,"note":"Value kept but may cause issues"} 
[2026-07-15 16:52:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1817554323978469376,"note":"Value kept but may cause issues"} 
[2026-07-15 16:52:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784114479000,"timestamp_ms":1784114479000,"timestamp_seconds":1784114479,"priority":1,"record_length":96,"hex_timestamp":"0000019f65827f98"} 
[2026-07-15 16:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:52:56] 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-07-15 16:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-15 16:52:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:52:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:52:56] 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-07-15 16:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733301248001,"66":12885,"103":206,"83":41984,"24":0,"16":6162724018978816,"45":1817554323978469376},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 16:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733301248001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:52:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 16:52:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6162724018978816,"km_value":6162724018978.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:52:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1817554323978469376,"description":"Unknown IO ID 45"} 
[2026-07-15 16:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733301248001,"power":12885,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1817554323978469376}} 
[2026-07-15 16:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":132558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491931,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:52:56] local.INFO: GPS data processed {"connection_id":132558,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:52:56] local.INFO: Acknowledgment sent {"connection_id":132558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:53:04] local.INFO: TCP Data received {"connection_id":132735,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132735,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:53:04] local.INFO: Processing buffer {"connection_id":132735,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:53:04] local.INFO: IMEI packet received {"connection_id":132735,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 16:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":132735,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:53:06] local.INFO: TCP Data received {"connection_id":133580,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:53:06] local.INFO: Processing buffer {"connection_id":133580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:53:06] local.INFO: IMEI packet received {"connection_id":133580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":133580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:53:11] local.INFO: TCP Data received {"connection_id":133580,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:53:11] local.INFO: Processing buffer {"connection_id":133580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:53:11] local.INFO: IMEI packet received {"connection_id":133580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":133580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:53:11] local.INFO: TCP Data received {"connection_id":133580,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f6580aec0012d7f91c005afdb18000200682e..."} 
[2026-07-15 16:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6580aec0012d7f91c005afdb18000200682e..."} 
[2026-07-15 16:53:11] local.INFO: Processing buffer {"connection_id":133580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6580aec0012d7f91c005afdb18000200682e..."} 
[2026-07-15 16:53:11] local.INFO: Packet analysis {"connection_id":133580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6580"} 
[2026-07-15 16:53:11] local.INFO: Extracted packet for processing {"connection_id":133580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6580"} 
[2026-07-15 16:53:11] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410968,"longitude_deg":76.3335104,"latitude_deg":9.5410968,"altitude":2,"angle":104,"satellites":46,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afdb18","is_valid_coordinates":true} 
[2026-07-15 16:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733198848001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097633792,"note":"Value kept but may cause issues"} 
[2026-07-15 16:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784114360000,"timestamp_ms":1784114360000,"timestamp_seconds":1784114360,"priority":1,"record_length":96,"hex_timestamp":"0000019f6580aec0"} 
[2026-07-15 16:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-15 16:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":133580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":133580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":133580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:53:11] 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-07-15 16:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733198848001,"66":25875,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9192339445097633792},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733198848001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:53:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:53:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097633792,"description":"Unknown IO ID 45"} 
[2026-07-15 16:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733198848001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097633792}} 
[2026-07-15 16:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":133580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:53:11] local.INFO: GPS data processed {"connection_id":133580,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:53:11] local.INFO: Acknowledgment sent {"connection_id":133580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:53:16] local.INFO: TCP Data received {"connection_id":133580,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f6580aec0012d7f91c005afdb18000200682e..."} 
[2026-07-15 16:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6580aec0012d7f91c005afdb18000200682e..."} 
[2026-07-15 16:53:16] local.INFO: Processing buffer {"connection_id":133580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6580aec0012d7f91c005afdb18000200682e..."} 
[2026-07-15 16:53:16] local.INFO: Packet analysis {"connection_id":133580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6580"} 
[2026-07-15 16:53:16] local.INFO: Extracted packet for processing {"connection_id":133580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6580"} 
[2026-07-15 16:53:16] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410968,"longitude_deg":76.3335104,"latitude_deg":9.5410968,"altitude":2,"angle":104,"satellites":46,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afdb18","is_valid_coordinates":true} 
[2026-07-15 16:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733198848001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097633792,"note":"Value kept but may cause issues"} 
[2026-07-15 16:53:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784114360000,"timestamp_ms":1784114360000,"timestamp_seconds":1784114360,"priority":1,"record_length":96,"hex_timestamp":"0000019f6580aec0"} 
[2026-07-15 16:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:53:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-15 16:53:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:53:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":133580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":133580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":133580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733198848001,"66":25875,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9192339445097633792},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733198848001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:53:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:53:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097633792,"description":"Unknown IO ID 45"} 
[2026-07-15 16:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733198848001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097633792}} 
[2026-07-15 16:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":133580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:53:16] local.INFO: GPS data processed {"connection_id":133580,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:53:16] local.INFO: Acknowledgment sent {"connection_id":133580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:53:27] local.INFO: TCP Data received {"connection_id":132558,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6582d1a0012d193b800720b500002d007824..."} 
[2026-07-15 16:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6582d1a0012d193b800720b500002d007824..."} 
[2026-07-15 16:53:27] local.INFO: Processing buffer {"connection_id":132558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6582d1a0012d193b800720b500002d007824..."} 
[2026-07-15 16:53:27] local.INFO: Packet analysis {"connection_id":132558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6582"} 
[2026-07-15 16:53:27] local.INFO: Extracted packet for processing {"connection_id":132558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6582"} 
[2026-07-15 16:53:27] local.INFO: GPS Element Parsed {"raw_longitude":756628352,"raw_latitude":119584000,"longitude_deg":75.6628352,"latitude_deg":11.9584,"altitude":45,"angle":120,"satellites":36,"speed":0,"hex_longitude":"2d193b80","hex_latitude":"0720b500","is_valid_coordinates":true} 
[2026-07-15 16:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733306624001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6162724018978816,"note":"Value kept but may cause issues"} 
[2026-07-15 16:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818187642675986432,"note":"Value kept but may cause issues"} 
[2026-07-15 16:53:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784114500000,"timestamp_ms":1784114500000,"timestamp_seconds":1784114500,"priority":1,"record_length":96,"hex_timestamp":"0000019f6582d1a0"} 
[2026-07-15 16:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:53: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-07-15 16:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-15 16:53:27] 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-07-15 16:53:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":132558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":132558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":132558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:53: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-07-15 16:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733306624001,"66":13928,"103":206,"83":41984,"24":0,"16":6162724018978816,"45":1818187642675986432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 16:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733306624001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:53:27] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 16:53:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6162724018978816,"km_value":6162724018978.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818187642675986432,"description":"Unknown IO ID 45"} 
[2026-07-15 16:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733306624001,"power":13928,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818187642675986432}} 
[2026-07-15 16:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":132558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:53:27] local.INFO: GPS data processed {"connection_id":132558,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:53:27] local.INFO: Acknowledgment sent {"connection_id":132558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:53:34] local.INFO: TCP Data received {"connection_id":134941,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134941,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:53:34] local.INFO: Processing buffer {"connection_id":134941,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:53:34] local.INFO: IMEI packet received {"connection_id":134941,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 16:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":134941,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:53:50] local.INFO: TCP Data received {"connection_id":134942,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:53:50] local.INFO: Processing buffer {"connection_id":134942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:53:50] local.INFO: IMEI packet received {"connection_id":134942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":134942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:53:51] local.INFO: TCP Data received {"connection_id":134942,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:53:51] local.INFO: Processing buffer {"connection_id":134942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:53:51] local.INFO: IMEI packet received {"connection_id":134942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":134942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:53:55] local.INFO: TCP Data received {"connection_id":134942,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:53:55] local.INFO: Processing buffer {"connection_id":134942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:53:55] local.INFO: IMEI packet received {"connection_id":134942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":134942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:53:56] local.INFO: TCP Data received {"connection_id":134942,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f658419c0012d18ef800720de88003901452c..."} 
[2026-07-15 16:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f658419c0012d18ef800720de88003901452c..."} 
[2026-07-15 16:53:56] local.INFO: Processing buffer {"connection_id":134942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f658419c0012d18ef800720de88003901452c..."} 
[2026-07-15 16:53:56] local.INFO: Packet analysis {"connection_id":134942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6584"} 
[2026-07-15 16:53:56] local.INFO: Extracted packet for processing {"connection_id":134942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6584"} 
[2026-07-15 16:53:56] local.INFO: GPS Element Parsed {"raw_longitude":756608896,"raw_latitude":119594632,"longitude_deg":75.6608896,"latitude_deg":11.9594632,"altitude":57,"angle":325,"satellites":44,"speed":33,"hex_longitude":"2d18ef80","hex_latitude":"0720de88","is_valid_coordinates":true} 
[2026-07-15 16:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733332992001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6163853595377664,"note":"Value kept but may cause issues"} 
[2026-07-15 16:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1797991813099390976,"note":"Value kept but may cause issues"} 
[2026-07-15 16:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784114584000,"timestamp_ms":1784114584000,"timestamp_seconds":1784114584,"priority":1,"record_length":96,"hex_timestamp":"0000019f658419c0"} 
[2026-07-15 16:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:53:56] 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-07-15 16:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-15 16:53:56] 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-07-15 16:53:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":134942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":134942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":134942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:53:56] 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-07-15 16:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733332992001,"66":14233,"103":206,"83":41984,"24":33,"16":6163853595377664,"45":1797991813099390976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 16:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733332992001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:53:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 16:53:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6163853595377664,"km_value":6163853595377.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1797991813099390976,"description":"Unknown IO ID 45"} 
[2026-07-15 16:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733332992001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1797991813099390976}} 
[2026-07-15 16:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":134942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:53:56] local.INFO: GPS data processed {"connection_id":134942,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:53:56] local.INFO: Acknowledgment sent {"connection_id":134942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:54:01] local.INFO: TCP Data received {"connection_id":132736,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:54:01] local.INFO: Processing buffer {"connection_id":132736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:54:01] local.INFO: IMEI packet received {"connection_id":132736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":132736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:54:06] local.INFO: TCP Data received {"connection_id":132736,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:54:06] local.INFO: Processing buffer {"connection_id":132736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:54:06] local.INFO: IMEI packet received {"connection_id":132736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":132736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:54:06] local.INFO: TCP Data received {"connection_id":132736,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f6580aec0012d7f91c005afdb18000200682e..."} 
[2026-07-15 16:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6580aec0012d7f91c005afdb18000200682e..."} 
[2026-07-15 16:54:06] local.INFO: Processing buffer {"connection_id":132736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6580aec0012d7f91c005afdb18000200682e..."} 
[2026-07-15 16:54:06] local.INFO: Packet analysis {"connection_id":132736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6580"} 
[2026-07-15 16:54:06] local.INFO: Extracted packet for processing {"connection_id":132736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6580"} 
[2026-07-15 16:54:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410968,"longitude_deg":76.3335104,"latitude_deg":9.5410968,"altitude":2,"angle":104,"satellites":46,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afdb18","is_valid_coordinates":true} 
[2026-07-15 16:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733198848001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097633792,"note":"Value kept but may cause issues"} 
[2026-07-15 16:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784114360000,"timestamp_ms":1784114360000,"timestamp_seconds":1784114360,"priority":1,"record_length":96,"hex_timestamp":"0000019f6580aec0"} 
[2026-07-15 16:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-15 16:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:54:06] 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-07-15 16:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733198848001,"66":25875,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9192339445097633792},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733198848001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:54:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:54:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097633792,"description":"Unknown IO ID 45"} 
[2026-07-15 16:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733198848001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097633792}} 
[2026-07-15 16:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":132736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:54:06] local.INFO: GPS data processed {"connection_id":132736,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:54:06] local.INFO: Acknowledgment sent {"connection_id":132736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:54:27] local.INFO: TCP Data received {"connection_id":134942,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f65843ce8012d18df000720f6a8003d01392c..."} 
[2026-07-15 16:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65843ce8012d18df000720f6a8003d01392c..."} 
[2026-07-15 16:54:27] local.INFO: Processing buffer {"connection_id":134942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65843ce8012d18df000720f6a8003d01392c..."} 
[2026-07-15 16:54:27] local.INFO: Packet analysis {"connection_id":134942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6584"} 
[2026-07-15 16:54:27] local.INFO: Extracted packet for processing {"connection_id":134942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6584"} 
[2026-07-15 16:54:27] local.INFO: GPS Element Parsed {"raw_longitude":756604672,"raw_latitude":119600808,"longitude_deg":75.6604672,"latitude_deg":11.9600808,"altitude":61,"angle":313,"satellites":44,"speed":33,"hex_longitude":"2d18df00","hex_latitude":"0720f6a8","is_valid_coordinates":true} 
[2026-07-15 16:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733333504001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6164214372630528,"note":"Value kept but may cause issues"} 
[2026-07-15 16:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1796795544448698368,"note":"Value kept but may cause issues"} 
[2026-07-15 16:54:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784114593000,"timestamp_ms":1784114593000,"timestamp_seconds":1784114593,"priority":1,"record_length":96,"hex_timestamp":"0000019f65843ce8"} 
[2026-07-15 16:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:54: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-07-15 16:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-15 16:54:27] 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-07-15 16:54:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":134942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":134942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":134942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:54: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-07-15 16:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733333504001,"66":12950,"103":206,"83":41984,"24":33,"16":6164214372630528,"45":1796795544448698368},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 16:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733333504001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:54:27] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 16:54:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6164214372630528,"km_value":6164214372630.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1796795544448698368,"description":"Unknown IO ID 45"} 
[2026-07-15 16:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733333504001,"power":12950,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1796795544448698368}} 
[2026-07-15 16:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":134942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:54:27] local.INFO: GPS data processed {"connection_id":134942,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:54:27] local.INFO: Acknowledgment sent {"connection_id":134942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:54:38] local.INFO: TCP Data received {"connection_id":132736,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f6580aec0012d7f91c005afdb18000200682e..."} 
[2026-07-15 16:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6580aec0012d7f91c005afdb18000200682e..."} 
[2026-07-15 16:54:38] local.INFO: Processing buffer {"connection_id":132736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6580aec0012d7f91c005afdb18000200682e..."} 
[2026-07-15 16:54:38] local.INFO: Packet analysis {"connection_id":132736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6580"} 
[2026-07-15 16:54:38] local.INFO: Extracted packet for processing {"connection_id":132736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6580"} 
[2026-07-15 16:54:38] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410968,"longitude_deg":76.3335104,"latitude_deg":9.5410968,"altitude":2,"angle":104,"satellites":46,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afdb18","is_valid_coordinates":true} 
[2026-07-15 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-07-15 16:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733198848001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097633792,"note":"Value kept but may cause issues"} 
[2026-07-15 16:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784114360000,"timestamp_ms":1784114360000,"timestamp_seconds":1784114360,"priority":1,"record_length":96,"hex_timestamp":"0000019f6580aec0"} 
[2026-07-15 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-07-15 16:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-15 16:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 16:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:54:38] 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-07-15 16:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733198848001,"66":25875,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9192339445097633792},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733198848001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:54:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:54:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097633792,"description":"Unknown IO ID 45"} 
[2026-07-15 16:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733198848001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097633792}} 
[2026-07-15 16:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":132736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:54:38] local.INFO: GPS data processed {"connection_id":132736,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:54:38] local.INFO: Acknowledgment sent {"connection_id":132736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:54:51] local.INFO: TCP Data received {"connection_id":134943,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:54:51] local.INFO: Processing buffer {"connection_id":134943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:54:51] local.INFO: IMEI packet received {"connection_id":134943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":134943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:54:55] local.INFO: TCP Data received {"connection_id":134943,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:54:55] local.INFO: Processing buffer {"connection_id":134943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:54:55] local.INFO: IMEI packet received {"connection_id":134943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":134943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:54:58] local.INFO: TCP Data received {"connection_id":132738,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:54:58] local.INFO: Processing buffer {"connection_id":132738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:54:58] local.INFO: IMEI packet received {"connection_id":132738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":132738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:55:00] local.INFO: TCP Data received {"connection_id":132738,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:55:00] local.INFO: Processing buffer {"connection_id":132738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:55:00] local.INFO: IMEI packet received {"connection_id":132738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":132738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:55:00] local.INFO: TCP Data received {"connection_id":134943,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:55:00] local.INFO: Processing buffer {"connection_id":134943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:55:00] local.INFO: IMEI packet received {"connection_id":134943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":134943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:55:01] local.INFO: TCP Data received {"connection_id":134943,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6584cd70012d18b680072165780049000b2b..."} 
[2026-07-15 16:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6584cd70012d18b680072165780049000b2b..."} 
[2026-07-15 16:55:01] local.INFO: Processing buffer {"connection_id":134943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6584cd70012d18b680072165780049000b2b..."} 
[2026-07-15 16:55:01] local.INFO: Packet analysis {"connection_id":134943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6584"} 
[2026-07-15 16:55:01] local.INFO: Extracted packet for processing {"connection_id":134943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6584"} 
[2026-07-15 16:55:01] local.INFO: GPS Element Parsed {"raw_longitude":756594304,"raw_latitude":119629176,"longitude_deg":75.6594304,"latitude_deg":11.9629176,"altitude":73,"angle":11,"satellites":43,"speed":7,"hex_longitude":"2d18b680","hex_latitude":"07216578","is_valid_coordinates":true} 
[2026-07-15 16:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733345024001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6165721906151424,"note":"Value kept but may cause issues"} 
[2026-07-15 16:55:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1780751470784978944,"note":"Value kept but may cause issues"} 
[2026-07-15 16:55:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784114630000,"timestamp_ms":1784114630000,"timestamp_seconds":1784114630,"priority":1,"record_length":96,"hex_timestamp":"0000019f6584cd70"} 
[2026-07-15 16:55:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:55:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-07-15 16:55:01] 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-07-15 16:55:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:55:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":134943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":134943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":134943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:55:01] 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-07-15 16:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733345024001,"66":11808,"103":206,"83":41984,"24":7,"16":6165721906151424,"45":1780751470784978944},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 16:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733345024001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:55:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 16:55:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6165721906151424,"km_value":6165721906151.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:55:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1780751470784978944,"description":"Unknown IO ID 45"} 
[2026-07-15 16:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733345024001,"power":11808,"unknown_103":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1780751470784978944}} 
[2026-07-15 16:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":134943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491939,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:55:01] local.INFO: GPS data processed {"connection_id":134943,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:55:01] local.INFO: Acknowledgment sent {"connection_id":134943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:55:06] local.INFO: TCP Data received {"connection_id":132738,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:55:06] local.INFO: Processing buffer {"connection_id":132738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:55:06] local.INFO: IMEI packet received {"connection_id":132738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":132738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:55:06] local.INFO: TCP Data received {"connection_id":134943,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6584d158012d18b6c0072165f8004a00232b..."} 
[2026-07-15 16:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6584d158012d18b6c0072165f8004a00232b..."} 
[2026-07-15 16:55:06] local.INFO: Processing buffer {"connection_id":134943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6584d158012d18b6c0072165f8004a00232b..."} 
[2026-07-15 16:55:06] local.INFO: Packet analysis {"connection_id":134943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6584"} 
[2026-07-15 16:55:06] local.INFO: Extracted packet for processing {"connection_id":134943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6584"} 
[2026-07-15 16:55:06] local.INFO: GPS Element Parsed {"raw_longitude":756594368,"raw_latitude":119629304,"longitude_deg":75.6594368,"latitude_deg":11.9629304,"altitude":74,"angle":35,"satellites":43,"speed":6,"hex_longitude":"2d18b6c0","hex_latitude":"072165f8","is_valid_coordinates":true} 
[2026-07-15 16:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733345280001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6165730496086016,"note":"Value kept but may cause issues"} 
[2026-07-15 16:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1780751470785034240,"note":"Value kept but may cause issues"} 
[2026-07-15 16:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784114631000,"timestamp_ms":1784114631000,"timestamp_seconds":1784114631,"priority":1,"record_length":96,"hex_timestamp":"0000019f6584d158"} 
[2026-07-15 16:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-07-15 16:55:06] 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-07-15 16:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":134943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":134943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":134943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733345280001,"66":12950,"103":206,"83":41984,"24":6,"16":6165730496086016,"45":1780751470785034240},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 16:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733345280001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:55:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 16:55:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6165730496086016,"km_value":6165730496086.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1780751470785034240,"description":"Unknown IO ID 45"} 
[2026-07-15 16:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733345280001,"power":12950,"unknown_103":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1780751470785034240}} 
[2026-07-15 16:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":134943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:55:06] local.INFO: GPS data processed {"connection_id":134943,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:55:06] local.INFO: Acknowledgment sent {"connection_id":134943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:55:06] local.INFO: TCP Data received {"connection_id":132738,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f658542a0012d7f91c005afdb180002006831..."} 
[2026-07-15 16:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f658542a0012d7f91c005afdb180002006831..."} 
[2026-07-15 16:55:06] local.INFO: Processing buffer {"connection_id":132738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f658542a0012d7f91c005afdb180002006831..."} 
[2026-07-15 16:55:06] local.INFO: Packet analysis {"connection_id":132738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6585"} 
[2026-07-15 16:55:06] local.INFO: Extracted packet for processing {"connection_id":132738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6585"} 
[2026-07-15 16:55:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410968,"longitude_deg":76.3335104,"latitude_deg":9.5410968,"altitude":2,"angle":104,"satellites":49,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afdb18","is_valid_coordinates":true} 
[2026-07-15 16:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733276160001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097633792,"note":"Value kept but may cause issues"} 
[2026-07-15 16:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784114660000,"timestamp_ms":1784114660000,"timestamp_seconds":1784114660,"priority":1,"record_length":96,"hex_timestamp":"0000019f658542a0"} 
[2026-07-15 16:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-15 16:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:55:06] 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-07-15 16:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733276160001,"66":25941,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9192339445097633792},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733276160001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:55:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:55:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097633792,"description":"Unknown IO ID 45"} 
[2026-07-15 16:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733276160001,"power":25941,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097633792}} 
[2026-07-15 16:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":132738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:55:06] local.INFO: GPS data processed {"connection_id":132738,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:55:06] local.INFO: Acknowledgment sent {"connection_id":132738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:55:37] local.INFO: TCP Data received {"connection_id":132738,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f658542a0012d7f91c005afdb180002006831..."} 
[2026-07-15 16:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f658542a0012d7f91c005afdb180002006831..."} 
[2026-07-15 16:55:37] local.INFO: Processing buffer {"connection_id":132738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f658542a0012d7f91c005afdb180002006831..."} 
[2026-07-15 16:55:37] local.INFO: Packet analysis {"connection_id":132738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6585"} 
[2026-07-15 16:55:37] local.INFO: Extracted packet for processing {"connection_id":132738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6585"} 
[2026-07-15 16:55:37] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410968,"longitude_deg":76.3335104,"latitude_deg":9.5410968,"altitude":2,"angle":104,"satellites":49,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afdb18","is_valid_coordinates":true} 
[2026-07-15 16:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733276160001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097633792,"note":"Value kept but may cause issues"} 
[2026-07-15 16:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784114660000,"timestamp_ms":1784114660000,"timestamp_seconds":1784114660,"priority":1,"record_length":96,"hex_timestamp":"0000019f658542a0"} 
[2026-07-15 16:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-15 16:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:55:37] 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-07-15 16:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733276160001,"66":25941,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9192339445097633792},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733276160001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:55:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:55:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097633792,"description":"Unknown IO ID 45"} 
[2026-07-15 16:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733276160001,"power":25941,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097633792}} 
[2026-07-15 16:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":132738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:55:37] local.INFO: GPS data processed {"connection_id":132738,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:55:37] local.INFO: Acknowledgment sent {"connection_id":132738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:55:50] local.INFO: TCP Data received {"connection_id":133582,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:55:50] local.INFO: Processing buffer {"connection_id":133582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:55:50] local.INFO: IMEI packet received {"connection_id":133582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":133582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:55:55] local.INFO: TCP Data received {"connection_id":133582,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:55:55] local.INFO: Processing buffer {"connection_id":133582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:55:55] local.INFO: IMEI packet received {"connection_id":133582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":133582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:55:55] local.INFO: TCP Data received {"connection_id":133582,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6584d540012d18b74007216650004a003a2b..."} 
[2026-07-15 16:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6584d540012d18b74007216650004a003a2b..."} 
[2026-07-15 16:55:55] local.INFO: Processing buffer {"connection_id":133582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6584d540012d18b74007216650004a003a2b..."} 
[2026-07-15 16:55:55] local.INFO: Packet analysis {"connection_id":133582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6584"} 
[2026-07-15 16:55:55] local.INFO: Extracted packet for processing {"connection_id":133582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6584"} 
[2026-07-15 16:55:55] local.INFO: GPS Element Parsed {"raw_longitude":756594496,"raw_latitude":119629392,"longitude_deg":75.6594496,"latitude_deg":11.9629392,"altitude":74,"angle":58,"satellites":43,"speed":5,"hex_longitude":"2d18b740","hex_latitude":"07216650","is_valid_coordinates":true} 
[2026-07-15 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-07-15 16:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733345536001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6165734791053312,"note":"Value kept but may cause issues"} 
[2026-07-15 16:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1780821839529244672,"note":"Value kept but may cause issues"} 
[2026-07-15 16:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784114632000,"timestamp_ms":1784114632000,"timestamp_seconds":1784114632,"priority":1,"record_length":96,"hex_timestamp":"0000019f6584d540"} 
[2026-07-15 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-07-15 16:55:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 16:55:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 16:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":133582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":133582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":133582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733345536001,"66":12950,"103":206,"83":41984,"24":5,"16":6165734791053312,"45":1780821839529244672},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 16:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733345536001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:55:55] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 16:55:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6165734791053312,"km_value":6165734791053.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1780821839529244672,"description":"Unknown IO ID 45"} 
[2026-07-15 16:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733345536001,"power":12950,"unknown_103":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1780821839529244672}} 
[2026-07-15 16:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":133582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:55:55] local.INFO: GPS data processed {"connection_id":133582,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:55:55] local.INFO: Acknowledgment sent {"connection_id":133582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:56:00] local.INFO: TCP Data received {"connection_id":132561,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:56:00] local.INFO: Processing buffer {"connection_id":132561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:56:00] local.INFO: IMEI packet received {"connection_id":132561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":132561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:56:06] local.INFO: TCP Data received {"connection_id":132561,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:56:06] local.INFO: Processing buffer {"connection_id":132561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:56:06] local.INFO: IMEI packet received {"connection_id":132561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":132561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:56:06] local.INFO: TCP Data received {"connection_id":132561,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f658542a0012d7f91c005afdb180002006831..."} 
[2026-07-15 16:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f658542a0012d7f91c005afdb180002006831..."} 
[2026-07-15 16:56:06] local.INFO: Processing buffer {"connection_id":132561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f658542a0012d7f91c005afdb180002006831..."} 
[2026-07-15 16:56:06] local.INFO: Packet analysis {"connection_id":132561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6585"} 
[2026-07-15 16:56:06] local.INFO: Extracted packet for processing {"connection_id":132561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6585"} 
[2026-07-15 16:56:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410968,"longitude_deg":76.3335104,"latitude_deg":9.5410968,"altitude":2,"angle":104,"satellites":49,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afdb18","is_valid_coordinates":true} 
[2026-07-15 16:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733276160001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097633792,"note":"Value kept but may cause issues"} 
[2026-07-15 16:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784114660000,"timestamp_ms":1784114660000,"timestamp_seconds":1784114660,"priority":1,"record_length":96,"hex_timestamp":"0000019f658542a0"} 
[2026-07-15 16:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-15 16:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:56:06] 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-07-15 16:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733276160001,"66":25941,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9192339445097633792},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733276160001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:56:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:56:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097633792,"description":"Unknown IO ID 45"} 
[2026-07-15 16:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733276160001,"power":25941,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097633792}} 
[2026-07-15 16:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":132561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:56:06] local.INFO: GPS data processed {"connection_id":132561,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:56:06] local.INFO: Acknowledgment sent {"connection_id":132561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:56:08] local.INFO: TCP Data received {"connection_id":133583,"ip":"117.225.144.152","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133583,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:56:08] local.INFO: Processing buffer {"connection_id":133583,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:56:08] local.INFO: IMEI packet received {"connection_id":133583,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-15 16:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":133583,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:56:09] local.INFO: TCP Data received {"connection_id":133583,"ip":"117.225.144.152","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133583,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:56:09] local.INFO: Processing buffer {"connection_id":133583,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:56:09] local.INFO: IMEI packet received {"connection_id":133583,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 16:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":133583,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:56:10] local.INFO: TCP Data received {"connection_id":133583,"ip":"117.225.144.152","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133583,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:56:10] local.INFO: Processing buffer {"connection_id":133583,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:56:10] local.INFO: IMEI packet received {"connection_id":133583,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 16:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":133583,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:56:12] local.INFO: TCP Data received {"connection_id":133583,"ip":"117.225.144.152","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133583,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:56:12] local.INFO: Processing buffer {"connection_id":133583,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-15 16:56:12] local.INFO: IMEI packet received {"connection_id":133583,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-15 16:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":133583,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:56:26] local.INFO: TCP Data received {"connection_id":133582,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f65852748012d18b780072166700049003a2b..."} 
[2026-07-15 16:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65852748012d18b780072166700049003a2b..."} 
[2026-07-15 16:56:26] local.INFO: Processing buffer {"connection_id":133582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65852748012d18b780072166700049003a2b..."} 
[2026-07-15 16:56:26] local.INFO: Packet analysis {"connection_id":133582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6585"} 
[2026-07-15 16:56:26] local.INFO: Extracted packet for processing {"connection_id":133582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6585"} 
[2026-07-15 16:56:26] local.INFO: GPS Element Parsed {"raw_longitude":756594560,"raw_latitude":119629424,"longitude_deg":75.659456,"latitude_deg":11.9629424,"altitude":73,"angle":58,"satellites":43,"speed":0,"hex_longitude":"2d18b780","hex_latitude":"07216670","is_valid_coordinates":true} 
[2026-07-15 16:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733345792001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6165743380987904,"note":"Value kept but may cause issues"} 
[2026-07-15 16:56:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1780962577017622528,"note":"Value kept but may cause issues"} 
[2026-07-15 16:56:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784114653000,"timestamp_ms":1784114653000,"timestamp_seconds":1784114653,"priority":1,"record_length":96,"hex_timestamp":"0000019f65852748"} 
[2026-07-15 16:56:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:56:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 16:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 16:56:26] 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-07-15 16:56:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:56:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":133582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":133582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":133582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:56:26] 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-07-15 16:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733345792001,"66":12504,"103":206,"83":41984,"24":0,"16":6165743380987904,"45":1780962577017622528},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 16:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733345792001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:56:26] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 16:56:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6165743380987904,"km_value":6165743380987.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:56:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1780962577017622528,"description":"Unknown IO ID 45"} 
[2026-07-15 16:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733345792001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1780962577017622528}} 
[2026-07-15 16:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":133582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:56:26] local.INFO: GPS data processed {"connection_id":133582,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:56:26] local.INFO: Acknowledgment sent {"connection_id":133582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:56:37] local.INFO: TCP Data received {"connection_id":132561,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f658542a0012d7f91c005afdb180002006831..."} 
[2026-07-15 16:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f658542a0012d7f91c005afdb180002006831..."} 
[2026-07-15 16:56:37] local.INFO: Processing buffer {"connection_id":132561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f658542a0012d7f91c005afdb180002006831..."} 
[2026-07-15 16:56:37] local.INFO: Packet analysis {"connection_id":132561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6585"} 
[2026-07-15 16:56:37] local.INFO: Extracted packet for processing {"connection_id":132561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6585"} 
[2026-07-15 16:56:37] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410968,"longitude_deg":76.3335104,"latitude_deg":9.5410968,"altitude":2,"angle":104,"satellites":49,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afdb18","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733276160001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097633792,"note":"Value kept but may cause issues"} 
[2026-07-15 16:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784114660000,"timestamp_ms":1784114660000,"timestamp_seconds":1784114660,"priority":1,"record_length":96,"hex_timestamp":"0000019f658542a0"} 
[2026-07-15 16:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-15 16:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:56:37] 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-07-15 16:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733276160001,"66":25941,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9192339445097633792},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733276160001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:56:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:56:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097633792,"description":"Unknown IO ID 45"} 
[2026-07-15 16:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733276160001,"power":25941,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097633792}} 
[2026-07-15 16:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":132561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:56:37] local.INFO: GPS data processed {"connection_id":132561,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:56:37] local.INFO: Acknowledgment sent {"connection_id":132561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:56:50] local.INFO: TCP Data received {"connection_id":132563,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:56:50] local.INFO: Processing buffer {"connection_id":132563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:56:50] local.INFO: IMEI packet received {"connection_id":132563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":132563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:56:51] local.INFO: TCP Data received {"connection_id":132563,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:56:51] local.INFO: Processing buffer {"connection_id":132563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:56:51] local.INFO: IMEI packet received {"connection_id":132563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":132563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:56:54] local.INFO: TCP Data received {"connection_id":132563,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:56:54] local.INFO: Processing buffer {"connection_id":132563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:56:54] local.INFO: IMEI packet received {"connection_id":132563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":132563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:56:54] local.INFO: TCP Data received {"connection_id":132563,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f65857950012d18b780072166700049003a2a..."} 
[2026-07-15 16:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65857950012d18b780072166700049003a2a..."} 
[2026-07-15 16:56:54] local.INFO: Processing buffer {"connection_id":132563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65857950012d18b780072166700049003a2a..."} 
[2026-07-15 16:56:54] local.INFO: Packet analysis {"connection_id":132563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6585"} 
[2026-07-15 16:56:54] local.INFO: Extracted packet for processing {"connection_id":132563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6585"} 
[2026-07-15 16:56:54] local.INFO: GPS Element Parsed {"raw_longitude":756594560,"raw_latitude":119629424,"longitude_deg":75.659456,"latitude_deg":11.9629424,"altitude":73,"angle":58,"satellites":42,"speed":0,"hex_longitude":"2d18b780","hex_latitude":"07216670","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733351168001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6165743380987904,"note":"Value kept but may cause issues"} 
[2026-07-15 16:56:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1781032945761808384,"note":"Value kept but may cause issues"} 
[2026-07-15 16:56:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784114674000,"timestamp_ms":1784114674000,"timestamp_seconds":1784114674,"priority":1,"record_length":96,"hex_timestamp":"0000019f65857950"} 
[2026-07-15 16:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:56: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-07-15 16: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 16:56:54] 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-07-15 16: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-07-15 16:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":132563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":132563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":132563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:56:54] 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-07-15 16:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733351168001,"66":12254,"103":206,"83":41984,"24":0,"16":6165743380987904,"45":1781032945761808384},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 16:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733351168001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:56:54] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 16:56:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6165743380987904,"km_value":6165743380987.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1781032945761808384,"description":"Unknown IO ID 45"} 
[2026-07-15 16:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733351168001,"power":12254,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1781032945761808384}} 
[2026-07-15 16:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":132563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:56:54] local.INFO: GPS data processed {"connection_id":132563,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:56:54] local.INFO: Acknowledgment sent {"connection_id":132563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:57:06] local.INFO: TCP Data received {"connection_id":134944,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:57:06] local.INFO: Processing buffer {"connection_id":134944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:57:06] local.INFO: IMEI packet received {"connection_id":134944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":134944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:57:14] local.INFO: TCP Data received {"connection_id":134944,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:57:14] local.INFO: Processing buffer {"connection_id":134944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:57:14] local.INFO: IMEI packet received {"connection_id":134944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":134944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:57:15] local.INFO: TCP Data received {"connection_id":134944,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f658542a0012d7f91c005afdb180002006831..."} 
[2026-07-15 16:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f658542a0012d7f91c005afdb180002006831..."} 
[2026-07-15 16:57:15] local.INFO: Processing buffer {"connection_id":134944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f658542a0012d7f91c005afdb180002006831..."} 
[2026-07-15 16:57:15] local.INFO: Packet analysis {"connection_id":134944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6585"} 
[2026-07-15 16:57:15] local.INFO: Extracted packet for processing {"connection_id":134944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6585"} 
[2026-07-15 16:57:15] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410968,"longitude_deg":76.3335104,"latitude_deg":9.5410968,"altitude":2,"angle":104,"satellites":49,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afdb18","is_valid_coordinates":true} 
[2026-07-15 16:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733276160001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097633792,"note":"Value kept but may cause issues"} 
[2026-07-15 16:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784114660000,"timestamp_ms":1784114660000,"timestamp_seconds":1784114660,"priority":1,"record_length":96,"hex_timestamp":"0000019f658542a0"} 
[2026-07-15 16:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-15 16:57:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:57:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":134944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":134944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":134944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733276160001,"66":25941,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9192339445097633792},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733276160001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:57:15] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:57:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097633792,"description":"Unknown IO ID 45"} 
[2026-07-15 16:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733276160001,"power":25941,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097633792}} 
[2026-07-15 16:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":134944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:57:15] local.INFO: GPS data processed {"connection_id":134944,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:57:15] local.INFO: Acknowledgment sent {"connection_id":134944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:57:16] local.INFO: TCP Data received {"connection_id":134944,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f658542a0012d7f91c005afdb180002006831..."} 
[2026-07-15 16:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f658542a0012d7f91c005afdb180002006831..."} 
[2026-07-15 16:57:16] local.INFO: Processing buffer {"connection_id":134944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f658542a0012d7f91c005afdb180002006831..."} 
[2026-07-15 16:57:16] local.INFO: Packet analysis {"connection_id":134944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6585"} 
[2026-07-15 16:57:16] local.INFO: Extracted packet for processing {"connection_id":134944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6585"} 
[2026-07-15 16:57:16] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410968,"longitude_deg":76.3335104,"latitude_deg":9.5410968,"altitude":2,"angle":104,"satellites":49,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afdb18","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733276160001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097633792,"note":"Value kept but may cause issues"} 
[2026-07-15 16:57:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784114660000,"timestamp_ms":1784114660000,"timestamp_seconds":1784114660,"priority":1,"record_length":96,"hex_timestamp":"0000019f658542a0"} 
[2026-07-15 16:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:57:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-15 16:57:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16: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-07-15 16:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":134944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":134944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":134944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:57:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733276160001,"66":25941,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9192339445097633792},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733276160001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:57:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:57:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097633792,"description":"Unknown IO ID 45"} 
[2026-07-15 16:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733276160001,"power":25941,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097633792}} 
[2026-07-15 16:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":134944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:57:16] local.INFO: GPS data processed {"connection_id":134944,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:57:16] local.INFO: Acknowledgment sent {"connection_id":134944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:57:25] local.INFO: TCP Data received {"connection_id":132563,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f65873e70012d18f3c00720db80003f008c28..."} 
[2026-07-15 16:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65873e70012d18f3c00720db80003f008c28..."} 
[2026-07-15 16:57:25] local.INFO: Processing buffer {"connection_id":132563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65873e70012d18f3c00720db80003f008c28..."} 
[2026-07-15 16:57:25] local.INFO: Packet analysis {"connection_id":132563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6587"} 
[2026-07-15 16:57:25] local.INFO: Extracted packet for processing {"connection_id":132563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6587"} 
[2026-07-15 16:57:25] local.INFO: GPS Element Parsed {"raw_longitude":756609984,"raw_latitude":119593856,"longitude_deg":75.6609984,"latitude_deg":11.9593856,"altitude":63,"angle":140,"satellites":40,"speed":30,"hex_longitude":"2d18f3c0","hex_latitude":"0720db80","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733384704001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6167693296140288,"note":"Value kept but may cause issues"} 
[2026-07-15 16:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795177063333400576,"note":"Value kept but may cause issues"} 
[2026-07-15 16:57:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784114790000,"timestamp_ms":1784114790000,"timestamp_seconds":1784114790,"priority":1,"record_length":96,"hex_timestamp":"0000019f65873e70"} 
[2026-07-15 16:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:57:25] 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-07-15 16: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 16:57:25] 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-07-15 16: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-07-15 16:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":132563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":132563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":132563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 16:57:25] 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-07-15 16:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 16:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 16:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733384704001,"66":12689,"103":206,"83":41984,"24":30,"16":6167693296140288,"45":1795177063333400576},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 16:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 16:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 16:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733384704001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:57:25] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 16:57:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 16:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6167693296140288,"km_value":6167693296140.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795177063333400576,"description":"Unknown IO ID 45"} 
[2026-07-15 16:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733384704001,"power":12689,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1795177063333400576}} 
[2026-07-15 16:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":132563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:57:26] local.INFO: GPS data processed {"connection_id":132563,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:57:26] local.INFO: Acknowledgment sent {"connection_id":132563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:57:49] local.INFO: TCP Data received {"connection_id":133585,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:57:49] local.INFO: Processing buffer {"connection_id":133585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:57:49] local.INFO: IMEI packet received {"connection_id":133585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 16:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":133585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:57:50] local.INFO: TCP Data received {"connection_id":133585,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:57:50] local.INFO: Processing buffer {"connection_id":133585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:57:50] local.INFO: IMEI packet received {"connection_id":133585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":133585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:57:51] local.INFO: TCP Data received {"connection_id":133585,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:57:51] local.INFO: Processing buffer {"connection_id":133585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:57:51] local.INFO: IMEI packet received {"connection_id":133585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":133585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:57:52] local.INFO: TCP Data received {"connection_id":133585,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:57:52] local.INFO: Processing buffer {"connection_id":133585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 16:57:52] local.INFO: IMEI packet received {"connection_id":133585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 16:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":133585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:58:01] local.INFO: TCP Data received {"connection_id":132740,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:58:01] local.INFO: Processing buffer {"connection_id":132740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:58:01] local.INFO: IMEI packet received {"connection_id":132740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":132740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:58:07] local.INFO: TCP Data received {"connection_id":132740,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:58:07] local.INFO: Processing buffer {"connection_id":132740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:58:07] local.INFO: IMEI packet received {"connection_id":132740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":132740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:58:07] local.INFO: TCP Data received {"connection_id":132740,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f658542a0012d7f91c005afdb180002006831..."} 
[2026-07-15 16:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f658542a0012d7f91c005afdb180002006831..."} 
[2026-07-15 16:58:07] local.INFO: Processing buffer {"connection_id":132740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f658542a0012d7f91c005afdb180002006831..."} 
[2026-07-15 16:58:07] local.INFO: Packet analysis {"connection_id":132740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6585"} 
[2026-07-15 16:58:07] local.INFO: Extracted packet for processing {"connection_id":132740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6585"} 
[2026-07-15 16:58:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410968,"longitude_deg":76.3335104,"latitude_deg":9.5410968,"altitude":2,"angle":104,"satellites":49,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afdb18","is_valid_coordinates":true} 
[2026-07-15 16:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733276160001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097633792,"note":"Value kept but may cause issues"} 
[2026-07-15 16:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784114660000,"timestamp_ms":1784114660000,"timestamp_seconds":1784114660,"priority":1,"record_length":96,"hex_timestamp":"0000019f658542a0"} 
[2026-07-15 16:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:58:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-15 16:58:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:58:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:58:07] 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-07-15 16:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733276160001,"66":25941,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9192339445097633792},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733276160001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:58:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:58:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097633792,"description":"Unknown IO ID 45"} 
[2026-07-15 16:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733276160001,"power":25941,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097633792}} 
[2026-07-15 16:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":132740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:58:07] local.INFO: GPS data processed {"connection_id":132740,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:58:07] local.INFO: Acknowledgment sent {"connection_id":132740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:58:39] local.INFO: TCP Data received {"connection_id":132740,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f658542a0012d7f91c005afdb180002006831..."} 
[2026-07-15 16:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f658542a0012d7f91c005afdb180002006831..."} 
[2026-07-15 16:58:39] local.INFO: Processing buffer {"connection_id":132740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f658542a0012d7f91c005afdb180002006831..."} 
[2026-07-15 16:58:39] local.INFO: Packet analysis {"connection_id":132740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6585"} 
[2026-07-15 16:58:39] local.INFO: Extracted packet for processing {"connection_id":132740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6585"} 
[2026-07-15 16:58:39] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410968,"longitude_deg":76.3335104,"latitude_deg":9.5410968,"altitude":2,"angle":104,"satellites":49,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afdb18","is_valid_coordinates":true} 
[2026-07-15 16: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-07-15 16:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733276160001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097633792,"note":"Value kept but may cause issues"} 
[2026-07-15 16:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784114660000,"timestamp_ms":1784114660000,"timestamp_seconds":1784114660,"priority":1,"record_length":96,"hex_timestamp":"0000019f658542a0"} 
[2026-07-15 16:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-15 16:58:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16: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-07-15 16:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733276160001,"66":25941,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9192339445097633792},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733276160001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:58:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:58:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097633792,"description":"Unknown IO ID 45"} 
[2026-07-15 16:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733276160001,"power":25941,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097633792}} 
[2026-07-15 16:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":132740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:58:39] local.INFO: GPS data processed {"connection_id":132740,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:58:39] local.INFO: Acknowledgment sent {"connection_id":132740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:58:59] local.INFO: TCP Data received {"connection_id":132564,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132564,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:58:59] local.INFO: Processing buffer {"connection_id":132564,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:58:59] local.INFO: IMEI packet received {"connection_id":132564,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 16:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":132564,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:59:00] local.INFO: TCP Data received {"connection_id":132565,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:59:00] local.INFO: Processing buffer {"connection_id":132565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:59:00] local.INFO: IMEI packet received {"connection_id":132565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 16:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":132565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:59:06] local.INFO: TCP Data received {"connection_id":132565,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:59:06] local.INFO: Processing buffer {"connection_id":132565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 16:59:06] local.INFO: IMEI packet received {"connection_id":132565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 16:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":132565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 16:59:06] local.INFO: TCP Data received {"connection_id":132565,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f658542a0012d7f91c005afdb180002006831..."} 
[2026-07-15 16:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f658542a0012d7f91c005afdb180002006831..."} 
[2026-07-15 16:59:06] local.INFO: Processing buffer {"connection_id":132565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f658542a0012d7f91c005afdb180002006831..."} 
[2026-07-15 16:59:06] local.INFO: Packet analysis {"connection_id":132565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6585"} 
[2026-07-15 16:59:06] local.INFO: Extracted packet for processing {"connection_id":132565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6585"} 
[2026-07-15 16:59:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410968,"longitude_deg":76.3335104,"latitude_deg":9.5410968,"altitude":2,"angle":104,"satellites":49,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afdb18","is_valid_coordinates":true} 
[2026-07-15 16:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733276160001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097633792,"note":"Value kept but may cause issues"} 
[2026-07-15 16:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784114660000,"timestamp_ms":1784114660000,"timestamp_seconds":1784114660,"priority":1,"record_length":96,"hex_timestamp":"0000019f658542a0"} 
[2026-07-15 16:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-15 16:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733276160001,"66":25941,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9192339445097633792},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733276160001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:59:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:59:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097633792,"description":"Unknown IO ID 45"} 
[2026-07-15 16:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733276160001,"power":25941,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097633792}} 
[2026-07-15 16:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":132565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:59:06] local.INFO: GPS data processed {"connection_id":132565,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:59:06] local.INFO: Acknowledgment sent {"connection_id":132565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 16:59:35] local.INFO: TCP Data received {"connection_id":133587,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133587,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:59:35] local.INFO: Processing buffer {"connection_id":133587,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 16:59:35] local.INFO: IMEI packet received {"connection_id":133587,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 16:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":133587,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 16:59:38] local.INFO: TCP Data received {"connection_id":132565,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f658542a0012d7f91c005afdb180002006831..."} 
[2026-07-15 16:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f658542a0012d7f91c005afdb180002006831..."} 
[2026-07-15 16:59:38] local.INFO: Processing buffer {"connection_id":132565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f658542a0012d7f91c005afdb180002006831..."} 
[2026-07-15 16:59:38] local.INFO: Packet analysis {"connection_id":132565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6585"} 
[2026-07-15 16:59:38] local.INFO: Extracted packet for processing {"connection_id":132565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6585"} 
[2026-07-15 16:59:38] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410968,"longitude_deg":76.3335104,"latitude_deg":9.5410968,"altitude":2,"angle":104,"satellites":49,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afdb18","is_valid_coordinates":true} 
[2026-07-15 16:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 16:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733276160001,"note":"Value kept but may cause issues"} 
[2026-07-15 16:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 16:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097633792,"note":"Value kept but may cause issues"} 
[2026-07-15 16:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 16:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784114660000,"timestamp_ms":1784114660000,"timestamp_seconds":1784114660,"priority":1,"record_length":96,"hex_timestamp":"0000019f658542a0"} 
[2026-07-15 16:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 16:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 16:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-15 16:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 16:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 16:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 16:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 16:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 16:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 16:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 16:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 16:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 16:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733276160001,"66":25941,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9192339445097633792},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 16:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 16:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 16:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733276160001,"description":"Unknown IO ID 0"} 
[2026-07-15 16:59:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 16:59:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 16:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 16:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097633792,"description":"Unknown IO ID 45"} 
[2026-07-15 16:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733276160001,"power":25941,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097633792}} 
[2026-07-15 16:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":132565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 16:59:38] local.INFO: GPS data processed {"connection_id":132565,"processed":1,"errors":0,"total":1} 
[2026-07-15 16:59:38] local.INFO: Acknowledgment sent {"connection_id":132565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:00:00] local.INFO: TCP Data received {"connection_id":132566,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:00:00] local.INFO: Processing buffer {"connection_id":132566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:00:00] local.INFO: IMEI packet received {"connection_id":132566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":132566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:00:06] local.INFO: TCP Data received {"connection_id":132566,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:00:06] local.INFO: Processing buffer {"connection_id":132566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:00:06] local.INFO: IMEI packet received {"connection_id":132566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":132566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:00:06] local.INFO: TCP Data received {"connection_id":132566,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f6589da68012d7f91c005afdb18000200682e..."} 
[2026-07-15 17:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6589da68012d7f91c005afdb18000200682e..."} 
[2026-07-15 17:00:06] local.INFO: Processing buffer {"connection_id":132566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6589da68012d7f91c005afdb18000200682e..."} 
[2026-07-15 17:00:06] local.INFO: Packet analysis {"connection_id":132566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6589"} 
[2026-07-15 17:00:06] local.INFO: Extracted packet for processing {"connection_id":132566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6589"} 
[2026-07-15 17:00:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410968,"longitude_deg":76.3335104,"latitude_deg":9.5410968,"altitude":2,"angle":104,"satellites":46,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afdb18","is_valid_coordinates":true} 
[2026-07-15 17:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733352960001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097633792,"note":"Value kept but may cause issues"} 
[2026-07-15 17:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784114961000,"timestamp_ms":1784114961000,"timestamp_seconds":1784114961,"priority":1,"record_length":96,"hex_timestamp":"0000019f6589da68"} 
[2026-07-15 17:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 17:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-15 17:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:00:06] 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-07-15 17:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733352960001,"66":25908,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9192339445097633792},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733352960001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:00:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:00:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097633792,"description":"Unknown IO ID 45"} 
[2026-07-15 17:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733352960001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097633792}} 
[2026-07-15 17:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":132566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:00:06] local.INFO: GPS data processed {"connection_id":132566,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:00:06] local.INFO: Acknowledgment sent {"connection_id":132566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:00:37] local.INFO: TCP Data received {"connection_id":132566,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f6589da68012d7f91c005afdb18000200682e..."} 
[2026-07-15 17:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6589da68012d7f91c005afdb18000200682e..."} 
[2026-07-15 17:00:37] local.INFO: Processing buffer {"connection_id":132566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6589da68012d7f91c005afdb18000200682e..."} 
[2026-07-15 17:00:37] local.INFO: Packet analysis {"connection_id":132566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6589"} 
[2026-07-15 17:00:37] local.INFO: Extracted packet for processing {"connection_id":132566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6589"} 
[2026-07-15 17:00:37] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410968,"longitude_deg":76.3335104,"latitude_deg":9.5410968,"altitude":2,"angle":104,"satellites":46,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afdb18","is_valid_coordinates":true} 
[2026-07-15 17:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733352960001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097633792,"note":"Value kept but may cause issues"} 
[2026-07-15 17:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784114961000,"timestamp_ms":1784114961000,"timestamp_seconds":1784114961,"priority":1,"record_length":96,"hex_timestamp":"0000019f6589da68"} 
[2026-07-15 17:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 17:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-15 17:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733352960001,"66":25908,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9192339445097633792},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733352960001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:00:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:00:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097633792,"description":"Unknown IO ID 45"} 
[2026-07-15 17:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733352960001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097633792}} 
[2026-07-15 17:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":132566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:00:37] local.INFO: GPS data processed {"connection_id":132566,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:00:37] local.INFO: Acknowledgment sent {"connection_id":132566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:01:01] local.INFO: TCP Data received {"connection_id":132568,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:01:01] local.INFO: Processing buffer {"connection_id":132568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:01:01] local.INFO: IMEI packet received {"connection_id":132568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":132568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:01:03] local.INFO: TCP Data received {"connection_id":132568,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:01:03] local.INFO: Processing buffer {"connection_id":132568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:01:03] local.INFO: IMEI packet received {"connection_id":132568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":132568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:01:04] local.INFO: TCP Data received {"connection_id":132568,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f658ad468012d7f91c005afdb18000200682f..."} 
[2026-07-15 17:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f658ad468012d7f91c005afdb18000200682f..."} 
[2026-07-15 17:01:04] local.INFO: Processing buffer {"connection_id":132568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f658ad468012d7f91c005afdb18000200682f..."} 
[2026-07-15 17:01:04] local.INFO: Packet analysis {"connection_id":132568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f658a"} 
[2026-07-15 17:01:04] local.INFO: Extracted packet for processing {"connection_id":132568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f658a"} 
[2026-07-15 17:01:04] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410968,"longitude_deg":76.3335104,"latitude_deg":9.5410968,"altitude":2,"angle":104,"satellites":47,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afdb18","is_valid_coordinates":true} 
[2026-07-15 17:01: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-07-15 17:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733430016001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097633792,"note":"Value kept but may cause issues"} 
[2026-07-15 17:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784115025000,"timestamp_ms":1784115025000,"timestamp_seconds":1784115025,"priority":1,"record_length":96,"hex_timestamp":"0000019f658ad468"} 
[2026-07-15 17:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 17:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-15 17:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":132568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":132568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":132568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733430016001,"66":25875,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9192339445097633792},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733430016001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:01:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:01:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097633792,"description":"Unknown IO ID 45"} 
[2026-07-15 17:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733430016001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097633792}} 
[2026-07-15 17:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":132568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:01:04] local.INFO: GPS data processed {"connection_id":132568,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:01:04] local.INFO: Acknowledgment sent {"connection_id":132568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:01:35] local.INFO: TCP Data received {"connection_id":132568,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f658b2e40012d7f974005afda600002006c2f..."} 
[2026-07-15 17:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f658b2e40012d7f974005afda600002006c2f..."} 
[2026-07-15 17:01:35] local.INFO: Processing buffer {"connection_id":132568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f658b2e40012d7f974005afda600002006c2f..."} 
[2026-07-15 17:01:35] local.INFO: Packet analysis {"connection_id":132568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f658b"} 
[2026-07-15 17:01:35] local.INFO: Extracted packet for processing {"connection_id":132568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f658b"} 
[2026-07-15 17:01:35] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":47,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733446400001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097633792,"note":"Value kept but may cause issues"} 
[2026-07-15 17:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784115048000,"timestamp_ms":1784115048000,"timestamp_seconds":1784115048,"priority":1,"record_length":96,"hex_timestamp":"0000019f658b2e40"} 
[2026-07-15 17:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-15 17:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17: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-07-15 17:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:01:35] 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-07-15 17:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733446400001,"66":27604,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9192339445097633792},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733446400001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:01:35] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:01:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097633792,"description":"Unknown IO ID 45"} 
[2026-07-15 17:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733446400001,"power":27604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097633792}} 
[2026-07-15 17:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":132568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:01:35] local.INFO: GPS data processed {"connection_id":132568,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:01:35] local.INFO: Acknowledgment sent {"connection_id":132568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:02:00] local.INFO: TCP Data received {"connection_id":133588,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:02:00] local.INFO: Processing buffer {"connection_id":133588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:02:00] local.INFO: IMEI packet received {"connection_id":133588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":133588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:02:05] local.INFO: TCP Data received {"connection_id":133588,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:02:05] local.INFO: Processing buffer {"connection_id":133588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:02:05] local.INFO: IMEI packet received {"connection_id":133588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":133588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:02:06] local.INFO: TCP Data received {"connection_id":133588,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f658b8048012d7f974005afda600002006c2c..."} 
[2026-07-15 17:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f658b8048012d7f974005afda600002006c2c..."} 
[2026-07-15 17:02:06] local.INFO: Processing buffer {"connection_id":133588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f658b8048012d7f974005afda600002006c2c..."} 
[2026-07-15 17:02:06] local.INFO: Packet analysis {"connection_id":133588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f658b"} 
[2026-07-15 17:02:06] local.INFO: Extracted packet for processing {"connection_id":133588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f658b"} 
[2026-07-15 17:02:06] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733452288001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784115069000,"timestamp_ms":1784115069000,"timestamp_seconds":1784115069,"priority":1,"record_length":96,"hex_timestamp":"0000019f658b8048"} 
[2026-07-15 17:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-15 17:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:02:06] 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-07-15 17:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733452288001,"66":27745,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733452288001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:02:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:02:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733452288001,"power":27745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":133588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:02:06] local.INFO: GPS data processed {"connection_id":133588,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:02:06] local.INFO: Acknowledgment sent {"connection_id":133588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:02:38] local.INFO: TCP Data received {"connection_id":133588,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f658bd250012d7f974005afda600002006c2e..."} 
[2026-07-15 17:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f658bd250012d7f974005afda600002006c2e..."} 
[2026-07-15 17:02:38] local.INFO: Processing buffer {"connection_id":133588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f658bd250012d7f974005afda600002006c2e..."} 
[2026-07-15 17:02:38] local.INFO: Packet analysis {"connection_id":133588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f658b"} 
[2026-07-15 17:02:38] local.INFO: Extracted packet for processing {"connection_id":133588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f658b"} 
[2026-07-15 17:02:38] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":46,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733457664001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784115090000,"timestamp_ms":1784115090000,"timestamp_seconds":1784115090,"priority":1,"record_length":96,"hex_timestamp":"0000019f658bd250"} 
[2026-07-15 17:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-15 17:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:02:38] 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-07-15 17:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733457664001,"66":27800,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733457664001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:02:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:02:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733457664001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":133588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:02:38] local.INFO: GPS data processed {"connection_id":133588,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:02:38] local.INFO: Acknowledgment sent {"connection_id":133588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:02:55] local.INFO: TCP Data received {"connection_id":134947,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:02:55] local.INFO: Processing buffer {"connection_id":134947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:02:55] local.INFO: IMEI packet received {"connection_id":134947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 17:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":134947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:02:56] local.INFO: TCP Data received {"connection_id":134947,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f658bde08012d1985400720b3080036010125..."} 
[2026-07-15 17:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f658bde08012d1985400720b3080036010125..."} 
[2026-07-15 17:02:56] local.INFO: Processing buffer {"connection_id":134947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f658bde08012d1985400720b3080036010125..."} 
[2026-07-15 17:02:56] local.INFO: Packet analysis {"connection_id":134947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f658b"} 
[2026-07-15 17:02:56] local.INFO: Extracted packet for processing {"connection_id":134947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f658b"} 
[2026-07-15 17:02:56] local.INFO: GPS Element Parsed {"raw_longitude":756647232,"raw_latitude":119583496,"longitude_deg":75.6647232,"latitude_deg":11.9583496,"altitude":54,"angle":257,"satellites":37,"speed":13,"hex_longitude":"2d198540","hex_latitude":"0720b308","is_valid_coordinates":true} 
[2026-07-15 17:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733463296001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6171309658603520,"note":"Value kept but may cause issues"} 
[2026-07-15 17:02:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839650109650055168,"note":"Value kept but may cause issues"} 
[2026-07-15 17:02:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784115093000,"timestamp_ms":1784115093000,"timestamp_seconds":1784115093,"priority":1,"record_length":96,"hex_timestamp":"0000019f658bde08"} 
[2026-07-15 17:02:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:02:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-15 17:02:56] 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-07-15 17:02:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:02:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":134947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":134947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":134947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:02:56] 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-07-15 17:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733463296001,"66":14243,"103":206,"83":41984,"24":13,"16":6171309658603520,"45":1839650109650055168},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 17:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733463296001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:02:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 17:02:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 17:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6171309658603520,"km_value":6171309658603.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:02:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839650109650055168,"description":"Unknown IO ID 45"} 
[2026-07-15 17:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733463296001,"power":14243,"unknown_103":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1839650109650055168}} 
[2026-07-15 17:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":134947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:02:56] local.INFO: GPS data processed {"connection_id":134947,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:02:56] local.INFO: Acknowledgment sent {"connection_id":134947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:03:00] local.INFO: TCP Data received {"connection_id":132570,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:03:00] local.INFO: Processing buffer {"connection_id":132570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:03:00] local.INFO: IMEI packet received {"connection_id":132570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":132570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:03:05] local.INFO: TCP Data received {"connection_id":132570,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:03:05] local.INFO: Processing buffer {"connection_id":132570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:03:05] local.INFO: IMEI packet received {"connection_id":132570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":132570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:03:06] local.INFO: TCP Data received {"connection_id":132570,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f658c2458012d7f974005afda600002006c2e..."} 
[2026-07-15 17:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f658c2458012d7f974005afda600002006c2e..."} 
[2026-07-15 17:03:06] local.INFO: Processing buffer {"connection_id":132570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f658c2458012d7f974005afda600002006c2e..."} 
[2026-07-15 17:03:06] local.INFO: Packet analysis {"connection_id":132570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f658c"} 
[2026-07-15 17:03:06] local.INFO: Extracted packet for processing {"connection_id":132570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f658c"} 
[2026-07-15 17:03:06] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":46,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733463040001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784115111000,"timestamp_ms":1784115111000,"timestamp_seconds":1784115111,"priority":1,"record_length":96,"hex_timestamp":"0000019f658c2458"} 
[2026-07-15 17:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 17:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:03:06] 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-07-15 17:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733463040001,"66":27800,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733463040001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:03:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:03:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733463040001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":132570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:03:06] local.INFO: GPS data processed {"connection_id":132570,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:03:06] local.INFO: Acknowledgment sent {"connection_id":132570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:03:27] local.INFO: TCP Data received {"connection_id":134947,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f658c10d0012d1961000720ab280033010b22..."} 
[2026-07-15 17:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f658c10d0012d1961000720ab280033010b22..."} 
[2026-07-15 17:03:27] local.INFO: Processing buffer {"connection_id":134947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f658c10d0012d1961000720ab280033010b22..."} 
[2026-07-15 17:03:27] local.INFO: Packet analysis {"connection_id":134947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f658c"} 
[2026-07-15 17:03:27] local.INFO: Extracted packet for processing {"connection_id":134947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f658c"} 
[2026-07-15 17:03:27] local.INFO: GPS Element Parsed {"raw_longitude":756637952,"raw_latitude":119581480,"longitude_deg":75.6637952,"latitude_deg":11.958148,"altitude":51,"angle":267,"satellites":34,"speed":37,"hex_longitude":"2d196100","hex_latitude":"0720ab28","is_valid_coordinates":true} 
[2026-07-15 17: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-07-15 17:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733463808001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6171764925136896,"note":"Value kept but may cause issues"} 
[2026-07-15 17:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838946422208268288,"note":"Value kept but may cause issues"} 
[2026-07-15 17:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784115106000,"timestamp_ms":1784115106000,"timestamp_seconds":1784115106,"priority":1,"record_length":96,"hex_timestamp":"0000019f658c10d0"} 
[2026-07-15 17:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-15 17:03:27] 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-07-15 17: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-07-15 17:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":134947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":134947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":134947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:03: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-07-15 17:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733463808001,"66":14298,"103":206,"83":41984,"24":37,"16":6171764925136896,"45":1838946422208268288},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 17:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733463808001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:03:27] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 17:03:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 17:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6171764925136896,"km_value":6171764925136.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838946422208268288,"description":"Unknown IO ID 45"} 
[2026-07-15 17:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733463808001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1838946422208268288}} 
[2026-07-15 17:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":134947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:03:27] local.INFO: GPS data processed {"connection_id":134947,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:03:27] local.INFO: Acknowledgment sent {"connection_id":134947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:03:37] local.INFO: TCP Data received {"connection_id":132570,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f658c7660012d7f974005afda600002006c30..."} 
[2026-07-15 17:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f658c7660012d7f974005afda600002006c30..."} 
[2026-07-15 17:03:37] local.INFO: Processing buffer {"connection_id":132570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f658c7660012d7f974005afda600002006c30..."} 
[2026-07-15 17:03:37] local.INFO: Packet analysis {"connection_id":132570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f658c"} 
[2026-07-15 17:03:37] local.INFO: Extracted packet for processing {"connection_id":132570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f658c"} 
[2026-07-15 17:03:37] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":48,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733468416001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784115132000,"timestamp_ms":1784115132000,"timestamp_seconds":1784115132,"priority":1,"record_length":96,"hex_timestamp":"0000019f658c7660"} 
[2026-07-15 17:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 17:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:03:37] 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-07-15 17:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733468416001,"66":27832,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733468416001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:03:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:03:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733468416001,"power":27832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":132570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:03:37] local.INFO: GPS data processed {"connection_id":132570,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:03:37] local.INFO: Acknowledgment sent {"connection_id":132570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:03:51] local.INFO: TCP Data received {"connection_id":132571,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:03:51] local.INFO: Processing buffer {"connection_id":132571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:03:51] local.INFO: IMEI packet received {"connection_id":132571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 17:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":132571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:03:54] local.INFO: TCP Data received {"connection_id":132571,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:03:54] local.INFO: Processing buffer {"connection_id":132571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:03:54] local.INFO: IMEI packet received {"connection_id":132571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":132571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:03:55] local.INFO: TCP Data received {"connection_id":132571,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f658d0ad0012d18d04007212a40004101542a..."} 
[2026-07-15 17:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f658d0ad0012d18d04007212a40004101542a..."} 
[2026-07-15 17:03:56] local.INFO: Processing buffer {"connection_id":132571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f658d0ad0012d18d04007212a40004101542a..."} 
[2026-07-15 17:03:56] local.INFO: Packet analysis {"connection_id":132571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f658d"} 
[2026-07-15 17:03:56] local.INFO: Extracted packet for processing {"connection_id":132571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f658d"} 
[2026-07-15 17:03:56] local.INFO: GPS Element Parsed {"raw_longitude":756600896,"raw_latitude":119614016,"longitude_deg":75.6600896,"latitude_deg":11.9614016,"altitude":65,"angle":340,"satellites":42,"speed":31,"hex_longitude":"2d18d040","hex_latitude":"07212a40","is_valid_coordinates":true} 
[2026-07-15 17:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733481728001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6174380560220160,"note":"Value kept but may cause issues"} 
[2026-07-15 17:03:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788140188918421504,"note":"Value kept but may cause issues"} 
[2026-07-15 17:03:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784115170000,"timestamp_ms":1784115170000,"timestamp_seconds":1784115170,"priority":1,"record_length":96,"hex_timestamp":"0000019f658d0ad0"} 
[2026-07-15 17:03:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:03:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-15 17:03:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:03:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:03:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:03:56] 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-07-15 17:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733481728001,"66":13896,"103":206,"83":41984,"24":31,"16":6174380560220160,"45":1788140188918421504},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 17:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733481728001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:03:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 17:03:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 17:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6174380560220160,"km_value":6174380560220.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:03:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788140188918421504,"description":"Unknown IO ID 45"} 
[2026-07-15 17:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733481728001,"power":13896,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1788140188918421504}} 
[2026-07-15 17:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":132571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:03:56] local.INFO: GPS data processed {"connection_id":132571,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:03:56] local.INFO: Acknowledgment sent {"connection_id":132571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:04:00] local.INFO: TCP Data received {"connection_id":133590,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:04:00] local.INFO: Processing buffer {"connection_id":133590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:04:00] local.INFO: IMEI packet received {"connection_id":133590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":133590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:04:06] local.INFO: TCP Data received {"connection_id":133590,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:04:06] local.INFO: Processing buffer {"connection_id":133590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:04:06] local.INFO: IMEI packet received {"connection_id":133590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":133590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:04:07] local.INFO: TCP Data received {"connection_id":133590,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f658cc868012d7f974005afda600002006c31..."} 
[2026-07-15 17:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f658cc868012d7f974005afda600002006c31..."} 
[2026-07-15 17:04:07] local.INFO: Processing buffer {"connection_id":133590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f658cc868012d7f974005afda600002006c31..."} 
[2026-07-15 17:04:07] local.INFO: Packet analysis {"connection_id":133590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f658c"} 
[2026-07-15 17:04:07] local.INFO: Extracted packet for processing {"connection_id":133590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f658c"} 
[2026-07-15 17:04:07] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":49,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733473792001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784115153000,"timestamp_ms":1784115153000,"timestamp_seconds":1784115153,"priority":1,"record_length":96,"hex_timestamp":"0000019f658cc868"} 
[2026-07-15 17:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-15 17:04:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:04:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:04:07] 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-07-15 17:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733473792001,"66":27821,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733473792001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:04:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:04:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733473792001,"power":27821,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":133590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:04:07] local.INFO: GPS data processed {"connection_id":133590,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:04:07] local.INFO: Acknowledgment sent {"connection_id":133590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:04:27] local.INFO: TCP Data received {"connection_id":132571,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f658d12a0012d18cd4007212fc00041014428..."} 
[2026-07-15 17:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f658d12a0012d18cd4007212fc00041014428..."} 
[2026-07-15 17:04:27] local.INFO: Processing buffer {"connection_id":132571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f658d12a0012d18cd4007212fc00041014428..."} 
[2026-07-15 17:04:27] local.INFO: Packet analysis {"connection_id":132571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f658d"} 
[2026-07-15 17:04:27] local.INFO: Extracted packet for processing {"connection_id":132571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f658d"} 
[2026-07-15 17:04:27] local.INFO: GPS Element Parsed {"raw_longitude":756600128,"raw_latitude":119615424,"longitude_deg":75.6600128,"latitude_deg":11.9615424,"altitude":65,"angle":324,"satellites":40,"speed":31,"hex_longitude":"2d18cd40","hex_latitude":"07212fc0","is_valid_coordinates":true} 
[2026-07-15 17:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733483520001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6174457869631488,"note":"Value kept but may cause issues"} 
[2026-07-15 17:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787999451431452672,"note":"Value kept but may cause issues"} 
[2026-07-15 17:04:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784115172000,"timestamp_ms":1784115172000,"timestamp_seconds":1784115172,"priority":1,"record_length":96,"hex_timestamp":"0000019f658d12a0"} 
[2026-07-15 17:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:04:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-07-15 17:04:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1116,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:04:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":132571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":132571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":132571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:04: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-07-15 17:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733483520001,"66":13961,"103":206,"83":41984,"24":31,"16":6174457869631488,"45":1787999451431452672},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 17:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733483520001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:04:27] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 17:04:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 17:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6174457869631488,"km_value":6174457869631.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787999451431452672,"description":"Unknown IO ID 45"} 
[2026-07-15 17:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733483520001,"power":13961,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1787999451431452672}} 
[2026-07-15 17:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":132571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:04:27] local.INFO: GPS data processed {"connection_id":132571,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:04:27] local.INFO: Acknowledgment sent {"connection_id":132571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:04:38] local.INFO: TCP Data received {"connection_id":133590,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f658d1a70012d7f974005afda600002006c31..."} 
[2026-07-15 17:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f658d1a70012d7f974005afda600002006c31..."} 
[2026-07-15 17:04:38] local.INFO: Processing buffer {"connection_id":133590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f658d1a70012d7f974005afda600002006c31..."} 
[2026-07-15 17:04:38] local.INFO: Packet analysis {"connection_id":133590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f658d"} 
[2026-07-15 17:04:38] local.INFO: Extracted packet for processing {"connection_id":133590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f658d"} 
[2026-07-15 17:04:38] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":49,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 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-07-15 17:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733479168001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784115174000,"timestamp_ms":1784115174000,"timestamp_seconds":1784115174,"priority":1,"record_length":96,"hex_timestamp":"0000019f658d1a70"} 
[2026-07-15 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-07-15 17:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 17:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 17:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:04:38] 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-07-15 17:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733479168001,"66":28050,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733479168001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:04:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:04:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733479168001,"power":28050,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":133590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:04:38] local.INFO: GPS data processed {"connection_id":133590,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:04:38] local.INFO: Acknowledgment sent {"connection_id":133590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:04:50] local.INFO: TCP Data received {"connection_id":133591,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:04:50] local.INFO: Processing buffer {"connection_id":133591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:04:50] local.INFO: IMEI packet received {"connection_id":133591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 17:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":133591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:04:53] local.INFO: TCP Data received {"connection_id":133591,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:04:53] local.INFO: Processing buffer {"connection_id":133591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:04:53] local.INFO: IMEI packet received {"connection_id":133591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":133591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:04:55] local.INFO: TCP Data received {"connection_id":133591,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:04:55] local.INFO: Processing buffer {"connection_id":133591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:04:55] local.INFO: IMEI packet received {"connection_id":133591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":133591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:04:56] local.INFO: TCP Data received {"connection_id":133591,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f658d2628012d18c4c007213e080043015629..."} 
[2026-07-15 17:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f658d2628012d18c4c007213e080043015629..."} 
[2026-07-15 17:04:56] local.INFO: Processing buffer {"connection_id":133591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f658d2628012d18c4c007213e080043015629..."} 
[2026-07-15 17:04:56] local.INFO: Packet analysis {"connection_id":133591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f658d"} 
[2026-07-15 17:04:56] local.INFO: Extracted packet for processing {"connection_id":133591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f658d"} 
[2026-07-15 17:04:56] local.INFO: GPS Element Parsed {"raw_longitude":756597952,"raw_latitude":119619080,"longitude_deg":75.6597952,"latitude_deg":11.961908,"altitude":67,"angle":342,"satellites":41,"speed":35,"hex_longitude":"2d18c4c0","hex_latitude":"07213e08","is_valid_coordinates":true} 
[2026-07-15 17:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733484032001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6174664028061696,"note":"Value kept but may cause issues"} 
[2026-07-15 17:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787155026501681152,"note":"Value kept but may cause issues"} 
[2026-07-15 17:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784115177000,"timestamp_ms":1784115177000,"timestamp_seconds":1784115177,"priority":1,"record_length":96,"hex_timestamp":"0000019f658d2628"} 
[2026-07-15 17:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:04:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-15 17:04:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:04:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:04:56] 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-07-15 17:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733484032001,"66":13972,"106":206,"83":41984,"24":35,"16":6174664028061696,"45":1787155026501681152},"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-07-15 17:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733484032001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:04:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-15 17:04:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 17:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6174664028061696,"km_value":6174664028061.696,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787155026501681152,"description":"Unknown IO ID 45"} 
[2026-07-15 17:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733484032001,"power":13972,"unknown_106":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1787155026501681152}} 
[2026-07-15 17:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":133591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:04:56] local.INFO: GPS data processed {"connection_id":133591,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:04:56] local.INFO: Acknowledgment sent {"connection_id":133591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:05:01] local.INFO: TCP Data received {"connection_id":134948,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:05:01] local.INFO: Processing buffer {"connection_id":134948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:05:01] local.INFO: IMEI packet received {"connection_id":134948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":134948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:05:04] local.INFO: TCP Data received {"connection_id":132743,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132743,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:05:04] local.INFO: Processing buffer {"connection_id":132743,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:05:04] local.INFO: IMEI packet received {"connection_id":132743,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 17:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":132743,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:05:05] local.INFO: TCP Data received {"connection_id":134948,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:05:05] local.INFO: Processing buffer {"connection_id":134948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:05:05] local.INFO: IMEI packet received {"connection_id":134948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":134948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:05:06] local.INFO: TCP Data received {"connection_id":134948,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f658d6c78012d7f974005afda600002006c31..."} 
[2026-07-15 17:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f658d6c78012d7f974005afda600002006c31..."} 
[2026-07-15 17:05:06] local.INFO: Processing buffer {"connection_id":134948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f658d6c78012d7f974005afda600002006c31..."} 
[2026-07-15 17:05:06] local.INFO: Packet analysis {"connection_id":134948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f658d"} 
[2026-07-15 17:05:06] local.INFO: Extracted packet for processing {"connection_id":134948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f658d"} 
[2026-07-15 17:05:06] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":49,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733484544001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784115195000,"timestamp_ms":1784115195000,"timestamp_seconds":1784115195,"priority":1,"record_length":96,"hex_timestamp":"0000019f658d6c78"} 
[2026-07-15 17:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-15 17:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":134948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":134948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":134948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:05:06] 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-07-15 17:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733484544001,"66":28006,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733484544001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:05:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:05:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733484544001,"power":28006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":134948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:05:06] local.INFO: GPS data processed {"connection_id":134948,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:05:06] local.INFO: Acknowledgment sent {"connection_id":134948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:05:11] local.INFO: TCP Data received {"connection_id":134948,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f658dbe80012d7f974005afda600002006c2f..."} 
[2026-07-15 17:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f658dbe80012d7f974005afda600002006c2f..."} 
[2026-07-15 17:05:11] local.INFO: Processing buffer {"connection_id":134948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f658dbe80012d7f974005afda600002006c2f..."} 
[2026-07-15 17:05:11] local.INFO: Packet analysis {"connection_id":134948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f658d"} 
[2026-07-15 17:05:11] local.INFO: Extracted packet for processing {"connection_id":134948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f658d"} 
[2026-07-15 17:05:11] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":47,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17: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-07-15 17:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733489920001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784115216000,"timestamp_ms":1784115216000,"timestamp_seconds":1784115216,"priority":1,"record_length":96,"hex_timestamp":"0000019f658dbe80"} 
[2026-07-15 17:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 17:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17: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-07-15 17:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":134948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":134948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":134948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:05:11] 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-07-15 17:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733489920001,"66":27876,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733489920001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:05:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:05:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733489920001,"power":27876,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":134948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:05:11] local.INFO: GPS data processed {"connection_id":134948,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:05:11] local.INFO: Acknowledgment sent {"connection_id":134948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:05:27] local.INFO: TCP Data received {"connection_id":133591,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f658d2df8012d18c400072145300044016529..."} 
[2026-07-15 17:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f658d2df8012d18c400072145300044016529..."} 
[2026-07-15 17:05:27] local.INFO: Processing buffer {"connection_id":133591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f658d2df8012d18c400072145300044016529..."} 
[2026-07-15 17:05:27] local.INFO: Packet analysis {"connection_id":133591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f658d"} 
[2026-07-15 17:05:27] local.INFO: Extracted packet for processing {"connection_id":133591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f658d"} 
[2026-07-15 17:05:27] local.INFO: GPS Element Parsed {"raw_longitude":756597760,"raw_latitude":119620912,"longitude_deg":75.659776,"latitude_deg":11.9620912,"altitude":68,"angle":357,"satellites":41,"speed":37,"hex_longitude":"2d18c400","hex_latitude":"07214530","is_valid_coordinates":true} 
[2026-07-15 17: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-07-15 17:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733485312001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6174754222374912,"note":"Value kept but may cause issues"} 
[2026-07-15 17:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784762489200576512,"note":"Value kept but may cause issues"} 
[2026-07-15 17:05: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-07-15 17:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784115179000,"timestamp_ms":1784115179000,"timestamp_seconds":1784115179,"priority":1,"record_length":96,"hex_timestamp":"0000019f658d2df8"} 
[2026-07-15 17:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:05:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-15 17:05:27] 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-07-15 17: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-07-15 17:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":133591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":133591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":133591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:05: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-07-15 17:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733485312001,"66":13906,"106":206,"83":41984,"24":37,"16":6174754222374912,"45":1784762489200576512},"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-07-15 17:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733485312001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:05:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-15 17:05:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 17:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6174754222374912,"km_value":6174754222374.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784762489200576512,"description":"Unknown IO ID 45"} 
[2026-07-15 17:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733485312001,"power":13906,"unknown_106":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1784762489200576512}} 
[2026-07-15 17:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":133591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:05:27] local.INFO: GPS data processed {"connection_id":133591,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:05:27] local.INFO: Acknowledgment sent {"connection_id":133591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:05:34] local.INFO: TCP Data received {"connection_id":133592,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133592,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:05:34] local.INFO: Processing buffer {"connection_id":133592,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:05:34] local.INFO: IMEI packet received {"connection_id":133592,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 17:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":133592,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:05:42] local.INFO: TCP Data received {"connection_id":134948,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f658e1088012d7f974005afda600002006c32..."} 
[2026-07-15 17:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f658e1088012d7f974005afda600002006c32..."} 
[2026-07-15 17:05:42] local.INFO: Processing buffer {"connection_id":134948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f658e1088012d7f974005afda600002006c32..."} 
[2026-07-15 17:05:42] local.INFO: Packet analysis {"connection_id":134948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f658e"} 
[2026-07-15 17:05:42] local.INFO: Extracted packet for processing {"connection_id":134948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f658e"} 
[2026-07-15 17:05:42] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":50,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733495296001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784115237000,"timestamp_ms":1784115237000,"timestamp_seconds":1784115237,"priority":1,"record_length":96,"hex_timestamp":"0000019f658e1088"} 
[2026-07-15 17:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:05:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-15 17:05:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":134948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":134948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":134948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:05:42] 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-07-15 17:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733495296001,"66":27908,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733495296001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:05:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:05:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733495296001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":134948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:05:42] local.INFO: GPS data processed {"connection_id":134948,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:05:42] local.INFO: Acknowledgment sent {"connection_id":134948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:05:53] local.INFO: TCP Data received {"connection_id":134949,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:05:53] local.INFO: Processing buffer {"connection_id":134949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:05:53] local.INFO: IMEI packet received {"connection_id":134949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 17:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":134949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:05:54] local.INFO: TCP Data received {"connection_id":134949,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:05:54] local.INFO: Processing buffer {"connection_id":134949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:05:54] local.INFO: IMEI packet received {"connection_id":134949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":134949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:05:55] local.INFO: TCP Data received {"connection_id":134949,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:05:55] local.INFO: Processing buffer {"connection_id":134949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:05:55] local.INFO: IMEI packet received {"connection_id":134949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":134949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:06:00] local.INFO: TCP Data received {"connection_id":134949,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:06:00] local.INFO: Processing buffer {"connection_id":134949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:06:00] local.INFO: IMEI packet received {"connection_id":134949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":134949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:06:01] local.INFO: TCP Data received {"connection_id":133593,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:06:01] local.INFO: Processing buffer {"connection_id":133593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:06:01] local.INFO: IMEI packet received {"connection_id":133593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":133593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:06:01] local.INFO: TCP Data received {"connection_id":134949,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f658ea8e0012d181e000721a5b00049013125..."} 
[2026-07-15 17:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f658ea8e0012d181e000721a5b00049013125..."} 
[2026-07-15 17:06:01] local.INFO: Processing buffer {"connection_id":134949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f658ea8e0012d181e000721a5b00049013125..."} 
[2026-07-15 17:06:01] local.INFO: Packet analysis {"connection_id":134949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f658e"} 
[2026-07-15 17:06:01] local.INFO: Extracted packet for processing {"connection_id":134949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f658e"} 
[2026-07-15 17:06:01] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119645616,"longitude_deg":75.6555264,"latitude_deg":11.9645616,"altitude":73,"angle":305,"satellites":37,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721a5b0","is_valid_coordinates":true} 
[2026-07-15 17:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733505280001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6177283958112256,"note":"Value kept but may cause issues"} 
[2026-07-15 17:06:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536840867840,"note":"Value kept but may cause issues"} 
[2026-07-15 17:06: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-07-15 17:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784115276000,"timestamp_ms":1784115276000,"timestamp_seconds":1784115276,"priority":1,"record_length":96,"hex_timestamp":"0000019f658ea8e0"} 
[2026-07-15 17:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:06:01] 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-07-15 17:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-15 17:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733140992,"note":"Value kept but may cause issues"} 
[2026-07-15 17:06:01] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-15 17:06:01] local.WARNING: Large IO value detected {"io_id":24,"raw_value":-4737778968180555707,"note":"Value kept but may cause issues"} 
[2026-07-15 17:06:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-15 17:06:01] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637074291583594,"note":"Value kept but may cause issues"} 
[2026-07-15 17:06:01] local.WARNING: Large IO value detected {"io_id":40,"raw_value":21393408866130176,"note":"Value kept but may cause issues"} 
[2026-07-15 17:06:01] local.WARNING: Large IO value detected {"io_id":1,"raw_value":4767341830872236042,"note":"Value kept but may cause issues"} 
[2026-07-15 17:06:01] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-15 17:06:01] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503693857259520,"note":"Value kept but may cause issues"} 
[2026-07-15 17:06:01] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2376536065,"note":"Value kept but may cause issues"} 
[2026-07-15 17:06:01] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2184183878,"note":"Value kept but may cause issues"} 
[2026-07-15 17:06:01] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5044295469745111296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:06:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-07-15 17:06:01] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2298531178,"note":"Value kept but may cause issues"} 
[2026-07-15 17:06:01] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-15 17:06:01] local.WARNING: Large IO value detected {"io_id":21,"raw_value":4042850304,"note":"Value kept but may cause issues"} 
[2026-07-15 17:06:01] local.WARNING: Large IO value detected {"io_id":96,"raw_value":84751090708849011,"note":"Value kept but may cause issues"} 
[2026-07-15 17:06:01] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,105,83,24,241,157,16,242,159,4,45,64,153,72,40,10,66,233,145,71,39,190,1,240,169,227,101,33,113,205,132,56,36,239,54,106,2,21,7,76,26,206,96],"length":628,"final_offset":758,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-07-15 17:06:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260539883318935552,"timestamp_seconds":5260539883318936.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 17:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":134949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":134949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":134949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:06:01] 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-07-15 17:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733505280001,"66":13993,"105":206,"83":41984,"24":0,"16":6177283958112256,"45":1737826536840867840},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 17:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733505280001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:06:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 17:06:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 17:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6177283958112256,"km_value":6177283958112.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:06:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536840867840,"description":"Unknown IO ID 45"} 
[2026-07-15 17:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733505280001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536840867840}} 
[2026-07-15 17:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":134949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491974,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:06:01] local.INFO: GPS data processed {"connection_id":134949,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:06:01] local.INFO: Acknowledgment sent {"connection_id":134949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:06:05] local.INFO: TCP Data received {"connection_id":133593,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:06:05] local.INFO: Processing buffer {"connection_id":133593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:06:05] local.INFO: IMEI packet received {"connection_id":133593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":133593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:06:06] local.INFO: TCP Data received {"connection_id":134949,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f658efae8012d181d000721a7080046013128..."} 
[2026-07-15 17:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f658efae8012d181d000721a7080046013128..."} 
[2026-07-15 17:06:06] local.INFO: Processing buffer {"connection_id":134949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f658efae8012d181d000721a7080046013128..."} 
[2026-07-15 17:06:06] local.INFO: Packet analysis {"connection_id":134949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f658e"} 
[2026-07-15 17:06:06] local.INFO: Extracted packet for processing {"connection_id":134949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f658e"} 
[2026-07-15 17:06:06] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119645960,"longitude_deg":75.6555008,"latitude_deg":11.964596,"altitude":70,"angle":305,"satellites":40,"speed":3,"hex_longitude":"2d181d00","hex_latitude":"0721a708","is_valid_coordinates":true} 
[2026-07-15 17:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733510656001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6177305432948736,"note":"Value kept but may cause issues"} 
[2026-07-15 17:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536840867840,"note":"Value kept but may cause issues"} 
[2026-07-15 17:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784115297000,"timestamp_ms":1784115297000,"timestamp_seconds":1784115297,"priority":1,"record_length":96,"hex_timestamp":"0000019f658efae8"} 
[2026-07-15 17:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:06: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-07-15 17:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-15 17:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":134949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":134949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":134949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733510656001,"66":14363,"105":206,"83":41984,"24":3,"16":6177305432948736,"45":1737826536840867840},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 17:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733510656001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:06:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 17:06:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 17:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6177305432948736,"km_value":6177305432948.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536840867840,"description":"Unknown IO ID 45"} 
[2026-07-15 17:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733510656001,"power":14363,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1737826536840867840}} 
[2026-07-15 17:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":134949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:06:06] local.INFO: GPS data processed {"connection_id":134949,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:06:06] local.INFO: Acknowledgment sent {"connection_id":134949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:06:06] local.INFO: TCP Data received {"connection_id":133593,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f658e2be0012d7f974005afda600002006c33..."} 
[2026-07-15 17:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f658e2be0012d7f974005afda600002006c33..."} 
[2026-07-15 17:06:06] local.INFO: Processing buffer {"connection_id":133593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f658e2be0012d7f974005afda600002006c33..."} 
[2026-07-15 17:06:06] local.INFO: Packet analysis {"connection_id":133593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f658e"} 
[2026-07-15 17:06:06] local.INFO: Extracted packet for processing {"connection_id":133593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f658e"} 
[2026-07-15 17:06:06] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":51,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733500672001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784115244000,"timestamp_ms":1784115244000,"timestamp_seconds":1784115244,"priority":1,"record_length":96,"hex_timestamp":"0000019f658e2be0"} 
[2026-07-15 17:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 17:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:06:06] 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-07-15 17:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733500672001,"66":27908,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733500672001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:06:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:06:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733500672001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":133593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:06:06] local.INFO: GPS data processed {"connection_id":133593,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:06:06] local.INFO: Acknowledgment sent {"connection_id":133593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:06:37] local.INFO: TCP Data received {"connection_id":133593,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f658e2be0012d7f974005afda600002006c33..."} 
[2026-07-15 17:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f658e2be0012d7f974005afda600002006c33..."} 
[2026-07-15 17:06:37] local.INFO: Processing buffer {"connection_id":133593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f658e2be0012d7f974005afda600002006c33..."} 
[2026-07-15 17:06:37] local.INFO: Packet analysis {"connection_id":133593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f658e"} 
[2026-07-15 17:06:37] local.INFO: Extracted packet for processing {"connection_id":133593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f658e"} 
[2026-07-15 17:06:37] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":51,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733500672001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784115244000,"timestamp_ms":1784115244000,"timestamp_seconds":1784115244,"priority":1,"record_length":96,"hex_timestamp":"0000019f658e2be0"} 
[2026-07-15 17:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 17:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733500672001,"66":27908,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733500672001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:06:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:06:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733500672001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":133593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:06:37] local.INFO: GPS data processed {"connection_id":133593,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:06:37] local.INFO: Acknowledgment sent {"connection_id":133593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:06:50] local.INFO: TCP Data received {"connection_id":134950,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:06:50] local.INFO: Processing buffer {"connection_id":134950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:06:50] local.INFO: IMEI packet received {"connection_id":134950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 17:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":134950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:06:55] local.INFO: TCP Data received {"connection_id":134950,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:06:55] local.INFO: Processing buffer {"connection_id":134950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:06:55] local.INFO: IMEI packet received {"connection_id":134950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":134950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:06:56] local.INFO: TCP Data received {"connection_id":134950,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f658f06a0012d181c800721a8480046015928..."} 
[2026-07-15 17:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f658f06a0012d181c800721a8480046015928..."} 
[2026-07-15 17:06:56] local.INFO: Processing buffer {"connection_id":134950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f658f06a0012d181c800721a8480046015928..."} 
[2026-07-15 17:06:56] local.INFO: Packet analysis {"connection_id":134950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f658f"} 
[2026-07-15 17:06:56] local.INFO: Extracted packet for processing {"connection_id":134950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f658f"} 
[2026-07-15 17:06:56] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119646280,"longitude_deg":75.655488,"latitude_deg":11.964628,"altitude":70,"angle":345,"satellites":40,"speed":6,"hex_longitude":"2d181c80","hex_latitude":"0721a848","is_valid_coordinates":true} 
[2026-07-15 17: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-07-15 17:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733516032001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6177322612817920,"note":"Value kept but may cause issues"} 
[2026-07-15 17:06:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864245248,"note":"Value kept but may cause issues"} 
[2026-07-15 17:06:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784115300000,"timestamp_ms":1784115300000,"timestamp_seconds":1784115300,"priority":1,"record_length":96,"hex_timestamp":"0000019f658f06a0"} 
[2026-07-15 17:06:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:06:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-15 17:06:56] 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-07-15 17: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-07-15 17:06:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":134950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":134950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":134950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:06:56] 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-07-15 17:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733516032001,"66":13559,"105":206,"83":41984,"24":6,"16":6177322612817920,"45":1737545061864245248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 17:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733516032001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:06:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 17:06:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 17:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6177322612817920,"km_value":6177322612817.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:06:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864245248,"description":"Unknown IO ID 45"} 
[2026-07-15 17:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733516032001,"power":13559,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1737545061864245248}} 
[2026-07-15 17:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":134950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:06:56] local.INFO: GPS data processed {"connection_id":134950,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:06:56] local.INFO: Acknowledgment sent {"connection_id":134950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:07:00] local.INFO: TCP Data received {"connection_id":134951,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:07:00] local.INFO: Processing buffer {"connection_id":134951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:07:00] local.INFO: IMEI packet received {"connection_id":134951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":134951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:07:05] local.INFO: TCP Data received {"connection_id":134951,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:07:05] local.INFO: Processing buffer {"connection_id":134951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:07:05] local.INFO: IMEI packet received {"connection_id":134951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":134951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:07:06] local.INFO: TCP Data received {"connection_id":134951,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f658e2be0012d7f974005afda600002006c33..."} 
[2026-07-15 17:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f658e2be0012d7f974005afda600002006c33..."} 
[2026-07-15 17:07:06] local.INFO: Processing buffer {"connection_id":134951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f658e2be0012d7f974005afda600002006c33..."} 
[2026-07-15 17:07:06] local.INFO: Packet analysis {"connection_id":134951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f658e"} 
[2026-07-15 17:07:06] local.INFO: Extracted packet for processing {"connection_id":134951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f658e"} 
[2026-07-15 17:07:06] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":51,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733500672001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784115244000,"timestamp_ms":1784115244000,"timestamp_seconds":1784115244,"priority":1,"record_length":96,"hex_timestamp":"0000019f658e2be0"} 
[2026-07-15 17:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 17:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":134951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":134951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":134951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733500672001,"66":27908,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733500672001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:07:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:07:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733500672001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":134951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:07:06] local.INFO: GPS data processed {"connection_id":134951,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:07:06] local.INFO: Acknowledgment sent {"connection_id":134951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:07:27] local.INFO: TCP Data received {"connection_id":134950,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f658f1258012d181c400721a9f80046000c2a..."} 
[2026-07-15 17:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f658f1258012d181c400721a9f80046000c2a..."} 
[2026-07-15 17:07:27] local.INFO: Processing buffer {"connection_id":134950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f658f1258012d181c400721a9f80046000c2a..."} 
[2026-07-15 17:07:27] local.INFO: Packet analysis {"connection_id":134950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f658f"} 
[2026-07-15 17:07:27] local.INFO: Extracted packet for processing {"connection_id":134950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f658f"} 
[2026-07-15 17:07:27] local.INFO: GPS Element Parsed {"raw_longitude":756554816,"raw_latitude":119646712,"longitude_deg":75.6554816,"latitude_deg":11.9646712,"altitude":70,"angle":12,"satellites":42,"speed":6,"hex_longitude":"2d181c40","hex_latitude":"0721a9f8","is_valid_coordinates":true} 
[2026-07-15 17: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-07-15 17:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733516800001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6177348382621696,"note":"Value kept but may cause issues"} 
[2026-07-15 17:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375971840,"note":"Value kept but may cause issues"} 
[2026-07-15 17:07: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-07-15 17:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784115303000,"timestamp_ms":1784115303000,"timestamp_seconds":1784115303,"priority":1,"record_length":96,"hex_timestamp":"0000019f658f1258"} 
[2026-07-15 17:07:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:07:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-15 17:07:27] 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-07-15 17: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-07-15 17:07:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":134950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":134950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":134950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:07: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-07-15 17:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733516800001,"66":13080,"105":206,"83":41984,"24":6,"16":6177348382621696,"45":1737404324375971840},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 17:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733516800001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:07:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 17:07:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 17:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6177348382621696,"km_value":6177348382621.696,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375971840,"description":"Unknown IO ID 45"} 
[2026-07-15 17:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733516800001,"power":13080,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1737404324375971840}} 
[2026-07-15 17:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":134950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:07:27] local.INFO: GPS data processed {"connection_id":134950,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:07:27] local.INFO: Acknowledgment sent {"connection_id":134950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:07:37] local.INFO: TCP Data received {"connection_id":134951,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f658e2be0012d7f974005afda600002006c33..."} 
[2026-07-15 17:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f658e2be0012d7f974005afda600002006c33..."} 
[2026-07-15 17:07:37] local.INFO: Processing buffer {"connection_id":134951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f658e2be0012d7f974005afda600002006c33..."} 
[2026-07-15 17:07:37] local.INFO: Packet analysis {"connection_id":134951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f658e"} 
[2026-07-15 17:07:37] local.INFO: Extracted packet for processing {"connection_id":134951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f658e"} 
[2026-07-15 17:07:37] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":51,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733500672001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784115244000,"timestamp_ms":1784115244000,"timestamp_seconds":1784115244,"priority":1,"record_length":96,"hex_timestamp":"0000019f658e2be0"} 
[2026-07-15 17:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 17:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17: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-07-15 17:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":134951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":134951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":134951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733500672001,"66":27908,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733500672001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:07:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:07:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733500672001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":134951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:07:37] local.INFO: GPS data processed {"connection_id":134951,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:07:37] local.INFO: Acknowledgment sent {"connection_id":134951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:07:50] local.INFO: TCP Data received {"connection_id":134952,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:07:50] local.INFO: Processing buffer {"connection_id":134952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:07:50] local.INFO: IMEI packet received {"connection_id":134952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 17:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":134952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:07:55] local.INFO: TCP Data received {"connection_id":134952,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:07:55] local.INFO: Processing buffer {"connection_id":134952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:07:55] local.INFO: IMEI packet received {"connection_id":134952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":134952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:07:56] local.INFO: TCP Data received {"connection_id":134952,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f658f1640012d181c800721aaa0004600212a..."} 
[2026-07-15 17:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f658f1640012d181c800721aaa0004600212a..."} 
[2026-07-15 17:07:56] local.INFO: Processing buffer {"connection_id":134952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f658f1640012d181c800721aaa0004600212a..."} 
[2026-07-15 17:07:56] local.INFO: Packet analysis {"connection_id":134952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f658f"} 
[2026-07-15 17:07:56] local.INFO: Extracted packet for processing {"connection_id":134952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f658f"} 
[2026-07-15 17:07:56] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119646880,"longitude_deg":75.655488,"latitude_deg":11.964688,"altitude":70,"angle":33,"satellites":42,"speed":8,"hex_longitude":"2d181c80","hex_latitude":"0721aaa0","is_valid_coordinates":true} 
[2026-07-15 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-07-15 17:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733517568001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6177356972556288,"note":"Value kept but may cause issues"} 
[2026-07-15 17:07:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737333955631904768,"note":"Value kept but may cause issues"} 
[2026-07-15 17:07:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784115304000,"timestamp_ms":1784115304000,"timestamp_seconds":1784115304,"priority":1,"record_length":96,"hex_timestamp":"0000019f658f1640"} 
[2026-07-15 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-07-15 17:07:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-15 17:07:56] 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-07-15 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-07-15 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-07-15 17:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":134952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":134952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":134952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:07:56] 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-07-15 17:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733517568001,"66":13080,"105":206,"83":41984,"24":8,"16":6177356972556288,"45":1737333955631904768},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 17:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733517568001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:07:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 17:07:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 17:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6177356972556288,"km_value":6177356972556.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:07:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737333955631904768,"description":"Unknown IO ID 45"} 
[2026-07-15 17:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733517568001,"power":13080,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1737333955631904768}} 
[2026-07-15 17:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":134952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:07:56] local.INFO: GPS data processed {"connection_id":134952,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:07:56] local.INFO: Acknowledgment sent {"connection_id":134952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:08:00] local.INFO: TCP Data received {"connection_id":133595,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:08:00] local.INFO: Processing buffer {"connection_id":133595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:08:00] local.INFO: IMEI packet received {"connection_id":133595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":133595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:08:05] local.INFO: TCP Data received {"connection_id":133595,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:08:05] local.INFO: Processing buffer {"connection_id":133595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:08:05] local.INFO: IMEI packet received {"connection_id":133595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":133595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:08:06] local.INFO: TCP Data received {"connection_id":133595,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f658e2be0012d7f974005afda600002006c33..."} 
[2026-07-15 17:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f658e2be0012d7f974005afda600002006c33..."} 
[2026-07-15 17:08:06] local.INFO: Processing buffer {"connection_id":133595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f658e2be0012d7f974005afda600002006c33..."} 
[2026-07-15 17:08:06] local.INFO: Packet analysis {"connection_id":133595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f658e"} 
[2026-07-15 17:08:06] local.INFO: Extracted packet for processing {"connection_id":133595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f658e"} 
[2026-07-15 17:08:06] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":51,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733500672001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784115244000,"timestamp_ms":1784115244000,"timestamp_seconds":1784115244,"priority":1,"record_length":96,"hex_timestamp":"0000019f658e2be0"} 
[2026-07-15 17:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 17:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733500672001,"66":27908,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733500672001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:08:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:08:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733500672001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":133595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:08:06] local.INFO: GPS data processed {"connection_id":133595,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:08:06] local.INFO: Acknowledgment sent {"connection_id":133595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:08:27] local.INFO: TCP Data received {"connection_id":134952,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f658f4138012d1824c00721b7080049000b28..."} 
[2026-07-15 17:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f658f4138012d1824c00721b7080049000b28..."} 
[2026-07-15 17:08:27] local.INFO: Processing buffer {"connection_id":134952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f658f4138012d1824c00721b7080049000b28..."} 
[2026-07-15 17:08:27] local.INFO: Packet analysis {"connection_id":134952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f658f"} 
[2026-07-15 17:08:27] local.INFO: Extracted packet for processing {"connection_id":134952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f658f"} 
[2026-07-15 17:08:27] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650056,"longitude_deg":75.6556992,"latitude_deg":11.9650056,"altitude":73,"angle":11,"satellites":40,"speed":9,"hex_longitude":"2d1824c0","hex_latitude":"0721b708","is_valid_coordinates":true} 
[2026-07-15 17:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733517824001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6177541656150016,"note":"Value kept but may cause issues"} 
[2026-07-15 17:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324376125440,"note":"Value kept but may cause issues"} 
[2026-07-15 17:08: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-07-15 17:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784115315000,"timestamp_ms":1784115315000,"timestamp_seconds":1784115315,"priority":1,"record_length":96,"hex_timestamp":"0000019f658f4138"} 
[2026-07-15 17:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:08:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-15 17:08:27] 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-07-15 17:08:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":134952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":134952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":134952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:08: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-07-15 17:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733517824001,"66":13167,"105":206,"83":41984,"24":9,"16":6177541656150016,"45":1737404324376125440},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 17:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733517824001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:08:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 17:08:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 17:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6177541656150016,"km_value":6177541656150.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324376125440,"description":"Unknown IO ID 45"} 
[2026-07-15 17:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733517824001,"power":13167,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1737404324376125440}} 
[2026-07-15 17:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":134952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:08:27] local.INFO: GPS data processed {"connection_id":134952,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:08:27] local.INFO: Acknowledgment sent {"connection_id":134952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:08:38] local.INFO: TCP Data received {"connection_id":133595,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f658e2be0012d7f974005afda600002006c33..."} 
[2026-07-15 17:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f658e2be0012d7f974005afda600002006c33..."} 
[2026-07-15 17:08:38] local.INFO: Processing buffer {"connection_id":133595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f658e2be0012d7f974005afda600002006c33..."} 
[2026-07-15 17:08:38] local.INFO: Packet analysis {"connection_id":133595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f658e"} 
[2026-07-15 17:08:38] local.INFO: Extracted packet for processing {"connection_id":133595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f658e"} 
[2026-07-15 17:08:38] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":51,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733500672001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784115244000,"timestamp_ms":1784115244000,"timestamp_seconds":1784115244,"priority":1,"record_length":96,"hex_timestamp":"0000019f658e2be0"} 
[2026-07-15 17:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 17:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733500672001,"66":27908,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733500672001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:08:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:08:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733500672001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":133595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:08:38] local.INFO: GPS data processed {"connection_id":133595,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:08:38] local.INFO: Acknowledgment sent {"connection_id":133595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:08:50] local.INFO: TCP Data received {"connection_id":132745,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:08:50] local.INFO: Processing buffer {"connection_id":132745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:08:50] local.INFO: IMEI packet received {"connection_id":132745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 17:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":132745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:08:55] local.INFO: TCP Data received {"connection_id":132745,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:08:55] local.INFO: Processing buffer {"connection_id":132745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:08:55] local.INFO: IMEI packet received {"connection_id":132745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":132745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:08:56] local.INFO: TCP Data received {"connection_id":132745,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f658f4520012d1824800721b7c8004901482a..."} 
[2026-07-15 17:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f658f4520012d1824800721b7c8004901482a..."} 
[2026-07-15 17:08:56] local.INFO: Processing buffer {"connection_id":132745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f658f4520012d1824800721b7c8004901482a..."} 
[2026-07-15 17:08:56] local.INFO: Packet analysis {"connection_id":132745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f658f"} 
[2026-07-15 17:08:56] local.INFO: Extracted packet for processing {"connection_id":132745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f658f"} 
[2026-07-15 17:08:56] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650248,"longitude_deg":75.6556928,"latitude_deg":11.9650248,"altitude":73,"angle":328,"satellites":42,"speed":6,"hex_longitude":"2d182480","hex_latitude":"0721b7c8","is_valid_coordinates":true} 
[2026-07-15 17: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-07-15 17:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733520640001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6177554541051904,"note":"Value kept but may cause issues"} 
[2026-07-15 17:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934801408,"note":"Value kept but may cause issues"} 
[2026-07-15 17:08:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784115316000,"timestamp_ms":1784115316000,"timestamp_seconds":1784115316,"priority":1,"record_length":96,"hex_timestamp":"0000019f658f4520"} 
[2026-07-15 17:08:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:08:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-15 17:08:56] 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-07-15 17: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-07-15 17:08:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:08:56] 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-07-15 17:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733520640001,"66":13167,"105":206,"83":41984,"24":6,"16":6177554541051904,"45":1739726492934801408},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 17:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733520640001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:08:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 17:08:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 17:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6177554541051904,"km_value":6177554541051.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934801408,"description":"Unknown IO ID 45"} 
[2026-07-15 17:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733520640001,"power":13167,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739726492934801408}} 
[2026-07-15 17:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":132745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:08:56] local.INFO: GPS data processed {"connection_id":132745,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:08:56] local.INFO: Acknowledgment sent {"connection_id":132745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:09:00] local.INFO: TCP Data received {"connection_id":134954,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:09:00] local.INFO: Processing buffer {"connection_id":134954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:09:00] local.INFO: IMEI packet received {"connection_id":134954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":134954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:09:05] local.INFO: TCP Data received {"connection_id":134954,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:09:05] local.INFO: Processing buffer {"connection_id":134954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:09:05] local.INFO: IMEI packet received {"connection_id":134954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":134954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:09:06] local.INFO: TCP Data received {"connection_id":134954,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f658e2be0012d7f974005afda600002006c33..."} 
[2026-07-15 17:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f658e2be0012d7f974005afda600002006c33..."} 
[2026-07-15 17:09:06] local.INFO: Processing buffer {"connection_id":134954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f658e2be0012d7f974005afda600002006c33..."} 
[2026-07-15 17:09:06] local.INFO: Packet analysis {"connection_id":134954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f658e"} 
[2026-07-15 17:09:06] local.INFO: Extracted packet for processing {"connection_id":134954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f658e"} 
[2026-07-15 17:09:06] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":51,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733500672001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784115244000,"timestamp_ms":1784115244000,"timestamp_seconds":1784115244,"priority":1,"record_length":96,"hex_timestamp":"0000019f658e2be0"} 
[2026-07-15 17:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 17:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":134954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":134954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":134954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733500672001,"66":27908,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733500672001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:09:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:09:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733500672001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":134954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:09:06] local.INFO: GPS data processed {"connection_id":134954,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:09:06] local.INFO: Acknowledgment sent {"connection_id":134954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:09:27] local.INFO: TCP Data received {"connection_id":132745,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f658f9728012d1823400721b570004901482a..."} 
[2026-07-15 17:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f658f9728012d1823400721b570004901482a..."} 
[2026-07-15 17:09:27] local.INFO: Processing buffer {"connection_id":132745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f658f9728012d1823400721b570004901482a..."} 
[2026-07-15 17:09:27] local.INFO: Packet analysis {"connection_id":132745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f658f"} 
[2026-07-15 17:09:27] local.INFO: Extracted packet for processing {"connection_id":132745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f658f"} 
[2026-07-15 17:09:27] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649648,"longitude_deg":75.6556608,"latitude_deg":11.9649648,"altitude":73,"angle":328,"satellites":42,"speed":3,"hex_longitude":"2d182340","hex_latitude":"0721b570","is_valid_coordinates":true} 
[2026-07-15 17:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733520896001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6177631850463232,"note":"Value kept but may cause issues"} 
[2026-07-15 17:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190672896,"note":"Value kept but may cause issues"} 
[2026-07-15 17:09: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-07-15 17:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784115337000,"timestamp_ms":1784115337000,"timestamp_seconds":1784115337,"priority":1,"record_length":96,"hex_timestamp":"0000019f658f9728"} 
[2026-07-15 17:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:09:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-15 17:09:27] 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-07-15 17:09:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":132745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":132745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":132745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:09: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-07-15 17:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733520896001,"66":13080,"105":206,"83":41984,"24":3,"16":6177631850463232,"45":1739656124190672896},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 17:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733520896001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:09:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 17:09:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 17:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6177631850463232,"km_value":6177631850463.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190672896,"description":"Unknown IO ID 45"} 
[2026-07-15 17:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733520896001,"power":13080,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1739656124190672896}} 
[2026-07-15 17:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":132745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491988,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:09:27] local.INFO: GPS data processed {"connection_id":132745,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:09:27] local.INFO: Acknowledgment sent {"connection_id":132745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:09:38] local.INFO: TCP Data received {"connection_id":134954,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f658e2be0012d7f974005afda600002006c33..."} 
[2026-07-15 17:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f658e2be0012d7f974005afda600002006c33..."} 
[2026-07-15 17:09:38] local.INFO: Processing buffer {"connection_id":134954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f658e2be0012d7f974005afda600002006c33..."} 
[2026-07-15 17:09:38] local.INFO: Packet analysis {"connection_id":134954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f658e"} 
[2026-07-15 17:09:38] local.INFO: Extracted packet for processing {"connection_id":134954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f658e"} 
[2026-07-15 17:09:38] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":51,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733500672001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784115244000,"timestamp_ms":1784115244000,"timestamp_seconds":1784115244,"priority":1,"record_length":96,"hex_timestamp":"0000019f658e2be0"} 
[2026-07-15 17:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 17:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733500672001,"66":27908,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733500672001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:09:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:09:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733500672001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":134954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:09:38] local.INFO: GPS data processed {"connection_id":134954,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:09:38] local.INFO: Acknowledgment sent {"connection_id":134954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:09:50] local.INFO: TCP Data received {"connection_id":133596,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:09:50] local.INFO: Processing buffer {"connection_id":133596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:09:50] local.INFO: IMEI packet received {"connection_id":133596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 17:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":133596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:09:55] local.INFO: TCP Data received {"connection_id":133596,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:09:55] local.INFO: Processing buffer {"connection_id":133596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:09:55] local.INFO: IMEI packet received {"connection_id":133596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":133596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:09:56] local.INFO: TCP Data received {"connection_id":133596,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f658fe930012d1822c00721b488004a014829..."} 
[2026-07-15 17:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f658fe930012d1822c00721b488004a014829..."} 
[2026-07-15 17:09:56] local.INFO: Processing buffer {"connection_id":133596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f658fe930012d1822c00721b488004a014829..."} 
[2026-07-15 17:09:56] local.INFO: Packet analysis {"connection_id":133596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f658f"} 
[2026-07-15 17:09:56] local.INFO: Extracted packet for processing {"connection_id":133596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f658f"} 
[2026-07-15 17:09:56] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649416,"longitude_deg":75.655648,"latitude_deg":11.9649416,"altitude":74,"angle":328,"satellites":41,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-07-15 17: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-07-15 17:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733526272001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6177644735365120,"note":"Value kept but may cause issues"} 
[2026-07-15 17:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469630976,"note":"Value kept but may cause issues"} 
[2026-07-15 17:09:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784115358000,"timestamp_ms":1784115358000,"timestamp_seconds":1784115358,"priority":1,"record_length":96,"hex_timestamp":"0000019f658fe930"} 
[2026-07-15 17:09:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:09:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-15 17:09:56] 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-07-15 17: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-07-15 17:09:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:09:56] 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-07-15 17:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733526272001,"66":12722,"105":206,"83":41984,"24":0,"16":6177644735365120,"45":1739304280469630976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 17:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733526272001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:09:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 17:09:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 17:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6177644735365120,"km_value":6177644735365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469630976,"description":"Unknown IO ID 45"} 
[2026-07-15 17:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733526272001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469630976}} 
[2026-07-15 17:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":133596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:09:56] local.INFO: GPS data processed {"connection_id":133596,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:09:56] local.INFO: Acknowledgment sent {"connection_id":133596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:10:00] local.INFO: TCP Data received {"connection_id":132572,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:10:00] local.INFO: Processing buffer {"connection_id":132572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:10:00] local.INFO: IMEI packet received {"connection_id":132572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":132572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:10:05] local.INFO: TCP Data received {"connection_id":132572,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:10:05] local.INFO: Processing buffer {"connection_id":132572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:10:05] local.INFO: IMEI packet received {"connection_id":132572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":132572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:10:06] local.INFO: TCP Data received {"connection_id":132572,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f6592cf60012d7f97c005afda580002006c32..."} 
[2026-07-15 17:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6592cf60012d7f97c005afda580002006c32..."} 
[2026-07-15 17:10:06] local.INFO: Processing buffer {"connection_id":132572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6592cf60012d7f97c005afda580002006c32..."} 
[2026-07-15 17:10:06] local.INFO: Packet analysis {"connection_id":132572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6592"} 
[2026-07-15 17:10:06] local.INFO: Extracted packet for processing {"connection_id":132572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6592"} 
[2026-07-15 17:10:06] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":50,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 17:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733502464001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784115548000,"timestamp_ms":1784115548000,"timestamp_seconds":1784115548,"priority":1,"record_length":96,"hex_timestamp":"0000019f6592cf60"} 
[2026-07-15 17:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 17:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 17:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733502464001,"66":26267,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733502464001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:10:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:10:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733502464001,"power":26267,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":132572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:10:06] local.INFO: GPS data processed {"connection_id":132572,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:10:06] local.INFO: Acknowledgment sent {"connection_id":132572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:10:27] local.INFO: TCP Data received {"connection_id":133596,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f65903b38012d1822c00721b488004a014828..."} 
[2026-07-15 17:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65903b38012d1822c00721b488004a014828..."} 
[2026-07-15 17:10:27] local.INFO: Processing buffer {"connection_id":133596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65903b38012d1822c00721b488004a014828..."} 
[2026-07-15 17:10:27] local.INFO: Packet analysis {"connection_id":133596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6590"} 
[2026-07-15 17:10:27] local.INFO: Extracted packet for processing {"connection_id":133596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6590"} 
[2026-07-15 17:10:27] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649416,"longitude_deg":75.655648,"latitude_deg":11.9649416,"altitude":74,"angle":328,"satellites":40,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-07-15 17: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-07-15 17:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733531648001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6177644735365120,"note":"Value kept but may cause issues"} 
[2026-07-15 17:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981216256,"note":"Value kept but may cause issues"} 
[2026-07-15 17:10: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-07-15 17:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784115379000,"timestamp_ms":1784115379000,"timestamp_seconds":1784115379,"priority":1,"record_length":96,"hex_timestamp":"0000019f65903b38"} 
[2026-07-15 17:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:10:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 17:10:27] 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-07-15 17: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-07-15 17:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":133596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":133596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":133596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:10: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-07-15 17:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733531648001,"66":13015,"105":206,"83":41984,"24":0,"16":6177644735365120,"45":1739163542981216256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 17:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733531648001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:10:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 17:10:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 17:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6177644735365120,"km_value":6177644735365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981216256,"description":"Unknown IO ID 45"} 
[2026-07-15 17:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733531648001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981216256}} 
[2026-07-15 17:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":133596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:10:27] local.INFO: GPS data processed {"connection_id":133596,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:10:27] local.INFO: Acknowledgment sent {"connection_id":133596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:10:38] local.INFO: TCP Data received {"connection_id":132572,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f6592cf60012d7f97c005afda580002006c32..."} 
[2026-07-15 17:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6592cf60012d7f97c005afda580002006c32..."} 
[2026-07-15 17:10:38] local.INFO: Processing buffer {"connection_id":132572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6592cf60012d7f97c005afda580002006c32..."} 
[2026-07-15 17:10:38] local.INFO: Packet analysis {"connection_id":132572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6592"} 
[2026-07-15 17:10:38] local.INFO: Extracted packet for processing {"connection_id":132572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6592"} 
[2026-07-15 17:10:38] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":50,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 17:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733502464001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784115548000,"timestamp_ms":1784115548000,"timestamp_seconds":1784115548,"priority":1,"record_length":96,"hex_timestamp":"0000019f6592cf60"} 
[2026-07-15 17:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 17:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 17:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733502464001,"66":26267,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733502464001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:10:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:10:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733502464001,"power":26267,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":132572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:10:38] local.INFO: GPS data processed {"connection_id":132572,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:10:38] local.INFO: Acknowledgment sent {"connection_id":132572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:10:50] local.INFO: TCP Data received {"connection_id":133598,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:10:50] local.INFO: Processing buffer {"connection_id":133598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:10:50] local.INFO: IMEI packet received {"connection_id":133598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 17:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":133598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:10:55] local.INFO: TCP Data received {"connection_id":133598,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:10:55] local.INFO: Processing buffer {"connection_id":133598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:10:55] local.INFO: IMEI packet received {"connection_id":133598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":133598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:10:56] local.INFO: TCP Data received {"connection_id":133598,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f65908d40012d1822c00721b488004a014827..."} 
[2026-07-15 17:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65908d40012d1822c00721b488004a014827..."} 
[2026-07-15 17:10:56] local.INFO: Processing buffer {"connection_id":133598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65908d40012d1822c00721b488004a014827..."} 
[2026-07-15 17:10:56] local.INFO: Packet analysis {"connection_id":133598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6590"} 
[2026-07-15 17:10:56] local.INFO: Extracted packet for processing {"connection_id":133598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6590"} 
[2026-07-15 17:10:56] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649416,"longitude_deg":75.655648,"latitude_deg":11.9649416,"altitude":74,"angle":328,"satellites":39,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-07-15 17: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-07-15 17:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733537024001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6177644735365120,"note":"Value kept but may cause issues"} 
[2026-07-15 17:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981216256,"note":"Value kept but may cause issues"} 
[2026-07-15 17:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784115400000,"timestamp_ms":1784115400000,"timestamp_seconds":1784115400,"priority":1,"record_length":96,"hex_timestamp":"0000019f65908d40"} 
[2026-07-15 17:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:10:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-15 17:10:56] 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-07-15 17: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-07-15 17:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:10:56] 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-07-15 17:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733537024001,"66":13015,"105":206,"83":41984,"24":0,"16":6177644735365120,"45":1739163542981216256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 17:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733537024001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:10:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 17:10:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 17:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6177644735365120,"km_value":6177644735365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981216256,"description":"Unknown IO ID 45"} 
[2026-07-15 17:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733537024001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981216256}} 
[2026-07-15 17:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":133598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:10:56] local.INFO: GPS data processed {"connection_id":133598,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:10:56] local.INFO: Acknowledgment sent {"connection_id":133598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:11:01] local.INFO: TCP Data received {"connection_id":134955,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:11:01] local.INFO: Processing buffer {"connection_id":134955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:11:01] local.INFO: IMEI packet received {"connection_id":134955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":134955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:11:04] local.INFO: TCP Data received {"connection_id":133597,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133597,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:11:04] local.INFO: Processing buffer {"connection_id":133597,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:11:04] local.INFO: IMEI packet received {"connection_id":133597,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 17:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":133597,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:11:06] local.INFO: TCP Data received {"connection_id":134955,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:11:06] local.INFO: Processing buffer {"connection_id":134955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:11:06] local.INFO: IMEI packet received {"connection_id":134955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":134955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:11:06] local.INFO: TCP Data received {"connection_id":134955,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f6592cf60012d7f97c005afda580002006c32..."} 
[2026-07-15 17:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6592cf60012d7f97c005afda580002006c32..."} 
[2026-07-15 17:11:06] local.INFO: Processing buffer {"connection_id":134955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6592cf60012d7f97c005afda580002006c32..."} 
[2026-07-15 17:11:06] local.INFO: Packet analysis {"connection_id":134955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6592"} 
[2026-07-15 17:11:06] local.INFO: Extracted packet for processing {"connection_id":134955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6592"} 
[2026-07-15 17:11:06] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":50,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 17:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733502464001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784115548000,"timestamp_ms":1784115548000,"timestamp_seconds":1784115548,"priority":1,"record_length":96,"hex_timestamp":"0000019f6592cf60"} 
[2026-07-15 17:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 17:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 17:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":134955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":134955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":134955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733502464001,"66":26267,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733502464001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:11:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:11:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733502464001,"power":26267,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":134955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:11:06] local.INFO: GPS data processed {"connection_id":134955,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:11:06] local.INFO: Acknowledgment sent {"connection_id":134955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:11:27] local.INFO: TCP Data received {"connection_id":133598,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6590df48012d1822c00721b488004a01482b..."} 
[2026-07-15 17:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6590df48012d1822c00721b488004a01482b..."} 
[2026-07-15 17:11:27] local.INFO: Processing buffer {"connection_id":133598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6590df48012d1822c00721b488004a01482b..."} 
[2026-07-15 17:11:27] local.INFO: Packet analysis {"connection_id":133598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6590"} 
[2026-07-15 17:11:27] local.INFO: Extracted packet for processing {"connection_id":133598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6590"} 
[2026-07-15 17:11:27] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649416,"longitude_deg":75.655648,"latitude_deg":11.9649416,"altitude":74,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-07-15 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-07-15 17:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733542400001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6177644735365120,"note":"Value kept but may cause issues"} 
[2026-07-15 17:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981216256,"note":"Value kept but may cause issues"} 
[2026-07-15 17:11: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-07-15 17:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784115421000,"timestamp_ms":1784115421000,"timestamp_seconds":1784115421,"priority":1,"record_length":96,"hex_timestamp":"0000019f6590df48"} 
[2026-07-15 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-07-15 17:11:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-15 17:11:27] 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-07-15 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-07-15 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-07-15 17:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":133598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":133598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":133598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:11: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-07-15 17:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733542400001,"66":12950,"105":206,"83":41984,"24":0,"16":6177644735365120,"45":1739163542981216256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 17:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733542400001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:11:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 17:11:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 17:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6177644735365120,"km_value":6177644735365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981216256,"description":"Unknown IO ID 45"} 
[2026-07-15 17:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733542400001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981216256}} 
[2026-07-15 17:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":133598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:11:27] local.INFO: GPS data processed {"connection_id":133598,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:11:27] local.INFO: Acknowledgment sent {"connection_id":133598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:11:34] local.INFO: TCP Data received {"connection_id":132573,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132573,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:11:34] local.INFO: Processing buffer {"connection_id":132573,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:11:34] local.INFO: IMEI packet received {"connection_id":132573,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 17:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":132573,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:11:38] local.INFO: TCP Data received {"connection_id":134955,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f6592cf60012d7f97c005afda580002006c32..."} 
[2026-07-15 17:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6592cf60012d7f97c005afda580002006c32..."} 
[2026-07-15 17:11:38] local.INFO: Processing buffer {"connection_id":134955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6592cf60012d7f97c005afda580002006c32..."} 
[2026-07-15 17:11:38] local.INFO: Packet analysis {"connection_id":134955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6592"} 
[2026-07-15 17:11:38] local.INFO: Extracted packet for processing {"connection_id":134955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6592"} 
[2026-07-15 17:11:38] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":50,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 17:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733502464001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784115548000,"timestamp_ms":1784115548000,"timestamp_seconds":1784115548,"priority":1,"record_length":96,"hex_timestamp":"0000019f6592cf60"} 
[2026-07-15 17:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 17:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 17:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733502464001,"66":26267,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733502464001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:11:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:11:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733502464001,"power":26267,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":134955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:11:38] local.INFO: GPS data processed {"connection_id":134955,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:11:38] local.INFO: Acknowledgment sent {"connection_id":134955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:11:50] local.INFO: TCP Data received {"connection_id":132574,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:11:50] local.INFO: Processing buffer {"connection_id":132574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:11:50] local.INFO: IMEI packet received {"connection_id":132574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 17:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":132574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:11:51] local.INFO: TCP Data received {"connection_id":132574,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:11:51] local.INFO: Processing buffer {"connection_id":132574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:11:51] local.INFO: IMEI packet received {"connection_id":132574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":132574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:11:55] local.INFO: TCP Data received {"connection_id":132574,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:11:55] local.INFO: Processing buffer {"connection_id":132574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:11:55] local.INFO: IMEI packet received {"connection_id":132574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":132574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:11:56] local.INFO: TCP Data received {"connection_id":132574,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f65913150012d1822c00721b488004a01482a..."} 
[2026-07-15 17:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65913150012d1822c00721b488004a01482a..."} 
[2026-07-15 17:11:56] local.INFO: Processing buffer {"connection_id":132574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65913150012d1822c00721b488004a01482a..."} 
[2026-07-15 17:11:56] local.INFO: Packet analysis {"connection_id":132574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6591"} 
[2026-07-15 17:11:56] local.INFO: Extracted packet for processing {"connection_id":132574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6591"} 
[2026-07-15 17:11:56] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649416,"longitude_deg":75.655648,"latitude_deg":11.9649416,"altitude":74,"angle":328,"satellites":42,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-07-15 17: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-07-15 17:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733547776001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6177644735365120,"note":"Value kept but may cause issues"} 
[2026-07-15 17:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981216256,"note":"Value kept but may cause issues"} 
[2026-07-15 17:11:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784115442000,"timestamp_ms":1784115442000,"timestamp_seconds":1784115442,"priority":1,"record_length":96,"hex_timestamp":"0000019f65913150"} 
[2026-07-15 17:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:11:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 17:11:56] 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-07-15 17: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-07-15 17:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:11:56] 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-07-15 17:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733547776001,"66":12972,"105":206,"83":41984,"24":0,"16":6177644735365120,"45":1739163542981216256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 17:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733547776001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:11:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 17:11:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 17:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6177644735365120,"km_value":6177644735365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981216256,"description":"Unknown IO ID 45"} 
[2026-07-15 17:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733547776001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981216256}} 
[2026-07-15 17:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":132574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:11:56] local.INFO: GPS data processed {"connection_id":132574,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:11:56] local.INFO: Acknowledgment sent {"connection_id":132574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:12:00] local.INFO: TCP Data received {"connection_id":134956,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:12:00] local.INFO: Processing buffer {"connection_id":134956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:12:00] local.INFO: IMEI packet received {"connection_id":134956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":134956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:12:06] local.INFO: TCP Data received {"connection_id":134956,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:12:06] local.INFO: Processing buffer {"connection_id":134956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:12:06] local.INFO: IMEI packet received {"connection_id":134956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":134956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:12:06] local.INFO: TCP Data received {"connection_id":134956,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f6592cf60012d7f97c005afda580002006c32..."} 
[2026-07-15 17:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6592cf60012d7f97c005afda580002006c32..."} 
[2026-07-15 17:12:06] local.INFO: Processing buffer {"connection_id":134956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6592cf60012d7f97c005afda580002006c32..."} 
[2026-07-15 17:12:06] local.INFO: Packet analysis {"connection_id":134956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6592"} 
[2026-07-15 17:12:06] local.INFO: Extracted packet for processing {"connection_id":134956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6592"} 
[2026-07-15 17:12:06] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":50,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 17: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-07-15 17:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733502464001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784115548000,"timestamp_ms":1784115548000,"timestamp_seconds":1784115548,"priority":1,"record_length":96,"hex_timestamp":"0000019f6592cf60"} 
[2026-07-15 17:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 17:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17: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-07-15 17:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":134956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":134956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":134956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:12:06] 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-07-15 17:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733502464001,"66":26267,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733502464001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:12:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:12:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733502464001,"power":26267,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":134956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:12:06] local.INFO: GPS data processed {"connection_id":134956,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:12:06] local.INFO: Acknowledgment sent {"connection_id":134956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:12:27] local.INFO: TCP Data received {"connection_id":132574,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f65918358012d1822c00721b488004a014829..."} 
[2026-07-15 17:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65918358012d1822c00721b488004a014829..."} 
[2026-07-15 17:12:27] local.INFO: Processing buffer {"connection_id":132574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65918358012d1822c00721b488004a014829..."} 
[2026-07-15 17:12:27] local.INFO: Packet analysis {"connection_id":132574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6591"} 
[2026-07-15 17:12:27] local.INFO: Extracted packet for processing {"connection_id":132574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6591"} 
[2026-07-15 17:12:27] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649416,"longitude_deg":75.655648,"latitude_deg":11.9649416,"altitude":74,"angle":328,"satellites":41,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-07-15 17:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733553152001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6177644735365120,"note":"Value kept but may cause issues"} 
[2026-07-15 17:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981216256,"note":"Value kept but may cause issues"} 
[2026-07-15 17:12: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-07-15 17:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784115463000,"timestamp_ms":1784115463000,"timestamp_seconds":1784115463,"priority":1,"record_length":96,"hex_timestamp":"0000019f65918358"} 
[2026-07-15 17:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:12:27] 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-07-15 17:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-15 17:12:27] 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-07-15 17:12:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":132574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":132574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":132574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:12: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-07-15 17:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733553152001,"66":12950,"105":206,"83":41984,"24":0,"16":6177644735365120,"45":1739163542981216256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 17:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733553152001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:12:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 17:12:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 17:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6177644735365120,"km_value":6177644735365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981216256,"description":"Unknown IO ID 45"} 
[2026-07-15 17:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733553152001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981216256}} 
[2026-07-15 17:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":132574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:12:27] local.INFO: GPS data processed {"connection_id":132574,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:12:27] local.INFO: Acknowledgment sent {"connection_id":132574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:12:37] local.INFO: TCP Data received {"connection_id":134956,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f6592cf60012d7f97c005afda580002006c32..."} 
[2026-07-15 17:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6592cf60012d7f97c005afda580002006c32..."} 
[2026-07-15 17:12:37] local.INFO: Processing buffer {"connection_id":134956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6592cf60012d7f97c005afda580002006c32..."} 
[2026-07-15 17:12:37] local.INFO: Packet analysis {"connection_id":134956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6592"} 
[2026-07-15 17:12:37] local.INFO: Extracted packet for processing {"connection_id":134956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6592"} 
[2026-07-15 17:12:37] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":50,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 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-07-15 17:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733502464001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784115548000,"timestamp_ms":1784115548000,"timestamp_seconds":1784115548,"priority":1,"record_length":96,"hex_timestamp":"0000019f6592cf60"} 
[2026-07-15 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-07-15 17:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 17:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 17:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":134956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":134956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":134956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:12:37] 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-07-15 17:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733502464001,"66":26267,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733502464001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:12:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:12:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733502464001,"power":26267,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":134956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:12:37] local.INFO: GPS data processed {"connection_id":134956,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:12:37] local.INFO: Acknowledgment sent {"connection_id":134956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:12:54] local.INFO: TCP Data received {"connection_id":132747,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:12:54] local.INFO: Processing buffer {"connection_id":132747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:12:54] local.INFO: IMEI packet received {"connection_id":132747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 17:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":132747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:12:55] local.INFO: TCP Data received {"connection_id":132747,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:12:55] local.INFO: Processing buffer {"connection_id":132747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:12:55] local.INFO: IMEI packet received {"connection_id":132747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":132747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:13:00] local.INFO: TCP Data received {"connection_id":132748,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:13:00] local.INFO: Processing buffer {"connection_id":132748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:13:00] local.INFO: IMEI packet received {"connection_id":132748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":132748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:13:00] local.INFO: TCP Data received {"connection_id":132747,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:13:00] local.INFO: Processing buffer {"connection_id":132747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:13:00] local.INFO: IMEI packet received {"connection_id":132747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":132747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:13:01] local.INFO: TCP Data received {"connection_id":132747,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f659509b0012d1822c00721b488004a01482b..."} 
[2026-07-15 17:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f659509b0012d1822c00721b488004a01482b..."} 
[2026-07-15 17:13:01] local.INFO: Processing buffer {"connection_id":132747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f659509b0012d1822c00721b488004a01482b..."} 
[2026-07-15 17:13:01] local.INFO: Packet analysis {"connection_id":132747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6595"} 
[2026-07-15 17:13:01] local.INFO: Extracted packet for processing {"connection_id":132747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6595"} 
[2026-07-15 17:13:01] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649416,"longitude_deg":75.655648,"latitude_deg":11.9649416,"altitude":74,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-07-15 17:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733612288001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6177644735365120,"note":"Value kept but may cause issues"} 
[2026-07-15 17:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981216256,"note":"Value kept but may cause issues"} 
[2026-07-15 17:13: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-07-15 17:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784115694000,"timestamp_ms":1784115694000,"timestamp_seconds":1784115694,"priority":1,"record_length":96,"hex_timestamp":"0000019f659509b0"} 
[2026-07-15 17:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:13:01] 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-07-15 17:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 17:13:01] 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-07-15 17:13: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-07-15 17:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":132747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":132747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":132747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:13:01] 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-07-15 17:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733612288001,"66":12743,"105":206,"83":41984,"24":0,"16":6177644735365120,"45":1739163542981216256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 17:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733612288001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:13:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 17:13:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 17:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6177644735365120,"km_value":6177644735365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981216256,"description":"Unknown IO ID 45"} 
[2026-07-15 17:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733612288001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981216256}} 
[2026-07-15 17:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":132747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:13:01] local.INFO: GPS data processed {"connection_id":132747,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:13:01] local.INFO: Acknowledgment sent {"connection_id":132747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:13:06] local.INFO: TCP Data received {"connection_id":132748,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:13:06] local.INFO: Processing buffer {"connection_id":132748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:13:06] local.INFO: IMEI packet received {"connection_id":132748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":132748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:13:06] local.INFO: TCP Data received {"connection_id":132748,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f6592cf60012d7f97c005afda580002006c32..."} 
[2026-07-15 17:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6592cf60012d7f97c005afda580002006c32..."} 
[2026-07-15 17:13:06] local.INFO: Processing buffer {"connection_id":132748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6592cf60012d7f97c005afda580002006c32..."} 
[2026-07-15 17:13:06] local.INFO: Packet analysis {"connection_id":132748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6592"} 
[2026-07-15 17:13:06] local.INFO: Extracted packet for processing {"connection_id":132748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6592"} 
[2026-07-15 17:13:06] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":50,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 17: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-07-15 17:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733502464001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784115548000,"timestamp_ms":1784115548000,"timestamp_seconds":1784115548,"priority":1,"record_length":96,"hex_timestamp":"0000019f6592cf60"} 
[2026-07-15 17:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 17:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17: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-07-15 17:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733502464001,"66":26267,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733502464001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:13:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:13:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733502464001,"power":26267,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":132748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:13:06] local.INFO: GPS data processed {"connection_id":132748,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:13:06] local.INFO: Acknowledgment sent {"connection_id":132748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:13:33] local.INFO: TCP Data received {"connection_id":132747,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f65955bb8012d1822c00721b488004a01482c..."} 
[2026-07-15 17:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65955bb8012d1822c00721b488004a01482c..."} 
[2026-07-15 17:13:33] local.INFO: Processing buffer {"connection_id":132747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65955bb8012d1822c00721b488004a01482c..."} 
[2026-07-15 17:13:33] local.INFO: Packet analysis {"connection_id":132747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6595"} 
[2026-07-15 17:13:33] local.INFO: Extracted packet for processing {"connection_id":132747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6595"} 
[2026-07-15 17:13:33] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649416,"longitude_deg":75.655648,"latitude_deg":11.9649416,"altitude":74,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-07-15 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-07-15 17:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733617664001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6177644735365120,"note":"Value kept but may cause issues"} 
[2026-07-15 17:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981216256,"note":"Value kept but may cause issues"} 
[2026-07-15 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-07-15 17:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784115715000,"timestamp_ms":1784115715000,"timestamp_seconds":1784115715,"priority":1,"record_length":96,"hex_timestamp":"0000019f65955bb8"} 
[2026-07-15 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-07-15 17:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":199,"data_length":795,"current_offset":136} 
[2026-07-15 17:13: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-07-15 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-07-15 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-07-15 17:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":132747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":132747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":132747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:13:33] 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-07-15 17:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733617664001,"66":12722,"105":206,"83":41984,"24":0,"16":6177644735365120,"45":1739163542981216256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 17:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733617664001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:13:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 17:13:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 17:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6177644735365120,"km_value":6177644735365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981216256,"description":"Unknown IO ID 45"} 
[2026-07-15 17:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733617664001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981216256}} 
[2026-07-15 17:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":132747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:13:33] local.INFO: GPS data processed {"connection_id":132747,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:13:33] local.INFO: Acknowledgment sent {"connection_id":132747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:13:38] local.INFO: TCP Data received {"connection_id":132748,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f6592cf60012d7f97c005afda580002006c32..."} 
[2026-07-15 17:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6592cf60012d7f97c005afda580002006c32..."} 
[2026-07-15 17:13:38] local.INFO: Processing buffer {"connection_id":132748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6592cf60012d7f97c005afda580002006c32..."} 
[2026-07-15 17:13:38] local.INFO: Packet analysis {"connection_id":132748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6592"} 
[2026-07-15 17:13:38] local.INFO: Extracted packet for processing {"connection_id":132748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6592"} 
[2026-07-15 17:13:38] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":50,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 17: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-07-15 17:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733502464001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784115548000,"timestamp_ms":1784115548000,"timestamp_seconds":1784115548,"priority":1,"record_length":96,"hex_timestamp":"0000019f6592cf60"} 
[2026-07-15 17:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 17:13:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17: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-07-15 17:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733502464001,"66":26267,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733502464001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:13:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:13:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733502464001,"power":26267,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":132748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:13:38] local.INFO: GPS data processed {"connection_id":132748,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:13:38] local.INFO: Acknowledgment sent {"connection_id":132748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:13:50] local.INFO: TCP Data received {"connection_id":134958,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:13:50] local.INFO: Processing buffer {"connection_id":134958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:13:50] local.INFO: IMEI packet received {"connection_id":134958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 17:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":134958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:13:55] local.INFO: TCP Data received {"connection_id":134958,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:13:55] local.INFO: Processing buffer {"connection_id":134958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:13:55] local.INFO: IMEI packet received {"connection_id":134958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":134958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:13:56] local.INFO: TCP Data received {"connection_id":134958,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6595adc0012d1822c00721b488004a01482c..."} 
[2026-07-15 17:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6595adc0012d1822c00721b488004a01482c..."} 
[2026-07-15 17:13:56] local.INFO: Processing buffer {"connection_id":134958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6595adc0012d1822c00721b488004a01482c..."} 
[2026-07-15 17:13:56] local.INFO: Packet analysis {"connection_id":134958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6595"} 
[2026-07-15 17:13:56] local.INFO: Extracted packet for processing {"connection_id":134958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6595"} 
[2026-07-15 17:13:56] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649416,"longitude_deg":75.655648,"latitude_deg":11.9649416,"altitude":74,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-07-15 17:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733623040001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6177644735365120,"note":"Value kept but may cause issues"} 
[2026-07-15 17:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981216256,"note":"Value kept but may cause issues"} 
[2026-07-15 17:13:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784115736000,"timestamp_ms":1784115736000,"timestamp_seconds":1784115736,"priority":1,"record_length":96,"hex_timestamp":"0000019f6595adc0"} 
[2026-07-15 17:13:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:13:56] 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-07-15 17:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 17:13:56] 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-07-15 17:13:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:13:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":134958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":134958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":134958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:13:56] 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-07-15 17:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733623040001,"66":12722,"105":206,"83":41984,"24":0,"16":6177644735365120,"45":1739163542981216256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 17:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733623040001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:13:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 17:13:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 17:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6177644735365120,"km_value":6177644735365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981216256,"description":"Unknown IO ID 45"} 
[2026-07-15 17:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733623040001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981216256}} 
[2026-07-15 17:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":134958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:13:56] local.INFO: GPS data processed {"connection_id":134958,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:13:56] local.INFO: Acknowledgment sent {"connection_id":134958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:14:00] local.INFO: TCP Data received {"connection_id":132575,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:14:00] local.INFO: Processing buffer {"connection_id":132575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:14:00] local.INFO: IMEI packet received {"connection_id":132575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":132575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:14:06] local.INFO: TCP Data received {"connection_id":132575,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:14:06] local.INFO: Processing buffer {"connection_id":132575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:14:06] local.INFO: IMEI packet received {"connection_id":132575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":132575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:14:06] local.INFO: TCP Data received {"connection_id":132575,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f6592cf60012d7f97c005afda580002006c32..."} 
[2026-07-15 17:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6592cf60012d7f97c005afda580002006c32..."} 
[2026-07-15 17:14:06] local.INFO: Processing buffer {"connection_id":132575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6592cf60012d7f97c005afda580002006c32..."} 
[2026-07-15 17:14:06] local.INFO: Packet analysis {"connection_id":132575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6592"} 
[2026-07-15 17:14:06] local.INFO: Extracted packet for processing {"connection_id":132575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6592"} 
[2026-07-15 17:14:06] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":50,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 17:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733502464001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784115548000,"timestamp_ms":1784115548000,"timestamp_seconds":1784115548,"priority":1,"record_length":96,"hex_timestamp":"0000019f6592cf60"} 
[2026-07-15 17:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 17:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 17:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:14:06] 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-07-15 17:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733502464001,"66":26267,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733502464001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:14:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:14:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733502464001,"power":26267,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":132575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:14:07] local.INFO: GPS data processed {"connection_id":132575,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:14:07] local.INFO: Acknowledgment sent {"connection_id":132575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:14:27] local.INFO: TCP Data received {"connection_id":134958,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6595ffc8012d1822c00721b488004a01482c..."} 
[2026-07-15 17:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6595ffc8012d1822c00721b488004a01482c..."} 
[2026-07-15 17:14:27] local.INFO: Processing buffer {"connection_id":134958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6595ffc8012d1822c00721b488004a01482c..."} 
[2026-07-15 17:14:27] local.INFO: Packet analysis {"connection_id":134958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6595"} 
[2026-07-15 17:14:27] local.INFO: Extracted packet for processing {"connection_id":134958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6595"} 
[2026-07-15 17:14:27] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649416,"longitude_deg":75.655648,"latitude_deg":11.9649416,"altitude":74,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-07-15 17:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733628416001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6177644735365120,"note":"Value kept but may cause issues"} 
[2026-07-15 17:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981216256,"note":"Value kept but may cause issues"} 
[2026-07-15 17:14: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-07-15 17:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784115757000,"timestamp_ms":1784115757000,"timestamp_seconds":1784115757,"priority":1,"record_length":96,"hex_timestamp":"0000019f6595ffc8"} 
[2026-07-15 17:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:14:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 17:14:27] 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-07-15 17:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":134958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":134958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":134958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:14: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-07-15 17:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733628416001,"66":12667,"105":206,"83":41984,"24":0,"16":6177644735365120,"45":1739163542981216256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 17:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733628416001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:14:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 17:14:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 17:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6177644735365120,"km_value":6177644735365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981216256,"description":"Unknown IO ID 45"} 
[2026-07-15 17:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733628416001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981216256}} 
[2026-07-15 17:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":134958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:14:27] local.INFO: GPS data processed {"connection_id":134958,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:14:27] local.INFO: Acknowledgment sent {"connection_id":134958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:14:38] local.INFO: TCP Data received {"connection_id":132575,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f6592cf60012d7f97c005afda580002006c32..."} 
[2026-07-15 17:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6592cf60012d7f97c005afda580002006c32..."} 
[2026-07-15 17:14:38] local.INFO: Processing buffer {"connection_id":132575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6592cf60012d7f97c005afda580002006c32..."} 
[2026-07-15 17:14:38] local.INFO: Packet analysis {"connection_id":132575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6592"} 
[2026-07-15 17:14:38] local.INFO: Extracted packet for processing {"connection_id":132575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6592"} 
[2026-07-15 17:14:38] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":50,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 17:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733502464001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784115548000,"timestamp_ms":1784115548000,"timestamp_seconds":1784115548,"priority":1,"record_length":96,"hex_timestamp":"0000019f6592cf60"} 
[2026-07-15 17:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 17:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 17:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733502464001,"66":26267,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733502464001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:14:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:14:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733502464001,"power":26267,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":132575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:14:38] local.INFO: GPS data processed {"connection_id":132575,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:14:38] local.INFO: Acknowledgment sent {"connection_id":132575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:14:50] local.INFO: TCP Data received {"connection_id":132750,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:14:50] local.INFO: Processing buffer {"connection_id":132750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:14:50] local.INFO: IMEI packet received {"connection_id":132750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 17:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":132750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:14:55] local.INFO: TCP Data received {"connection_id":132750,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:14:55] local.INFO: Processing buffer {"connection_id":132750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:14:55] local.INFO: IMEI packet received {"connection_id":132750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":132750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:14:56] local.INFO: TCP Data received {"connection_id":132750,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f659651d0012d1822c00721b488004a01482c..."} 
[2026-07-15 17:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f659651d0012d1822c00721b488004a01482c..."} 
[2026-07-15 17:14:56] local.INFO: Processing buffer {"connection_id":132750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f659651d0012d1822c00721b488004a01482c..."} 
[2026-07-15 17:14:56] local.INFO: Packet analysis {"connection_id":132750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6596"} 
[2026-07-15 17:14:56] local.INFO: Extracted packet for processing {"connection_id":132750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6596"} 
[2026-07-15 17:14:56] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649416,"longitude_deg":75.655648,"latitude_deg":11.9649416,"altitude":74,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-07-15 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-07-15 17:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733633792001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6177644735365120,"note":"Value kept but may cause issues"} 
[2026-07-15 17:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981216256,"note":"Value kept but may cause issues"} 
[2026-07-15 17:14:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784115778000,"timestamp_ms":1784115778000,"timestamp_seconds":1784115778,"priority":1,"record_length":96,"hex_timestamp":"0000019f659651d0"} 
[2026-07-15 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-07-15 17:14:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-15 17:14:56] 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-07-15 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-07-15 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-07-15 17:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:14:56] 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-07-15 17:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733633792001,"66":12667,"105":206,"83":41984,"24":0,"16":6177644735365120,"45":1739163542981216256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 17:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733633792001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:14:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 17:14:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 17:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6177644735365120,"km_value":6177644735365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981216256,"description":"Unknown IO ID 45"} 
[2026-07-15 17:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733633792001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981216256}} 
[2026-07-15 17:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":132750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:14:56] local.INFO: GPS data processed {"connection_id":132750,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:14:56] local.INFO: Acknowledgment sent {"connection_id":132750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:15:06] local.INFO: TCP Data received {"connection_id":132576,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:15:06] local.INFO: Processing buffer {"connection_id":132576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:15:06] local.INFO: IMEI packet received {"connection_id":132576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":132576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:15:10] local.INFO: TCP Data received {"connection_id":132576,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:15:10] local.INFO: Processing buffer {"connection_id":132576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:15:10] local.INFO: IMEI packet received {"connection_id":132576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":132576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:15:11] local.INFO: TCP Data received {"connection_id":132576,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f65976728012d7f974005afda580002006c31..."} 
[2026-07-15 17:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65976728012d7f974005afda580002006c31..."} 
[2026-07-15 17:15:11] local.INFO: Processing buffer {"connection_id":132576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65976728012d7f974005afda580002006c31..."} 
[2026-07-15 17:15:11] local.INFO: Packet analysis {"connection_id":132576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6597"} 
[2026-07-15 17:15:11] local.INFO: Extracted packet for processing {"connection_id":132576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6597"} 
[2026-07-15 17:15:11] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410776,"longitude_deg":76.3336512,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":49,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 17:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733580288001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 17:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784115849000,"timestamp_ms":1784115849000,"timestamp_seconds":1784115849,"priority":1,"record_length":96,"hex_timestamp":"0000019f65976728"} 
[2026-07-15 17:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 17:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-15 17:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733580288001,"66":26006,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733580288001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:15:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:15:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 17:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733580288001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 17:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":132576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:15:11] local.INFO: GPS data processed {"connection_id":132576,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:15:11] local.INFO: Acknowledgment sent {"connection_id":132576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:15:16] local.INFO: TCP Data received {"connection_id":132576,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f65976728012d7f974005afda580002006c31..."} 
[2026-07-15 17:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65976728012d7f974005afda580002006c31..."} 
[2026-07-15 17:15:16] local.INFO: Processing buffer {"connection_id":132576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65976728012d7f974005afda580002006c31..."} 
[2026-07-15 17:15:16] local.INFO: Packet analysis {"connection_id":132576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6597"} 
[2026-07-15 17:15:16] local.INFO: Extracted packet for processing {"connection_id":132576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6597"} 
[2026-07-15 17:15:16] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410776,"longitude_deg":76.3336512,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":49,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 17:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733580288001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 17:15:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784115849000,"timestamp_ms":1784115849000,"timestamp_seconds":1784115849,"priority":1,"record_length":96,"hex_timestamp":"0000019f65976728"} 
[2026-07-15 17:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 17:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-15 17:15:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:15:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733580288001,"66":26006,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733580288001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:15:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:15:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 17:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733580288001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 17:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":132576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:15:16] local.INFO: GPS data processed {"connection_id":132576,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:15:16] local.INFO: Acknowledgment sent {"connection_id":132576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:15:27] local.INFO: TCP Data received {"connection_id":132750,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6596a3d8012d1822c00721b488004a01482a..."} 
[2026-07-15 17:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6596a3d8012d1822c00721b488004a01482a..."} 
[2026-07-15 17:15:27] local.INFO: Processing buffer {"connection_id":132750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6596a3d8012d1822c00721b488004a01482a..."} 
[2026-07-15 17:15:27] local.INFO: Packet analysis {"connection_id":132750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6596"} 
[2026-07-15 17:15:27] local.INFO: Extracted packet for processing {"connection_id":132750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6596"} 
[2026-07-15 17:15:27] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649416,"longitude_deg":75.655648,"latitude_deg":11.9649416,"altitude":74,"angle":328,"satellites":42,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-07-15 17: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-07-15 17:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733639168001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6177644735365120,"note":"Value kept but may cause issues"} 
[2026-07-15 17:15:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981216256,"note":"Value kept but may cause issues"} 
[2026-07-15 17:15: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-07-15 17:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784115799000,"timestamp_ms":1784115799000,"timestamp_seconds":1784115799,"priority":1,"record_length":96,"hex_timestamp":"0000019f6596a3d8"} 
[2026-07-15 17:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:15:27] 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-07-15 17: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-15 17:15:27] 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-07-15 17: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-07-15 17:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":132750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":132750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":132750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:15: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-07-15 17:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733639168001,"66":12580,"105":206,"83":41984,"24":0,"16":6177644735365120,"45":1739163542981216256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 17:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733639168001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:15:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 17:15:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 17:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6177644735365120,"km_value":6177644735365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:15:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981216256,"description":"Unknown IO ID 45"} 
[2026-07-15 17:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733639168001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981216256}} 
[2026-07-15 17:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":132750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:15:27] local.INFO: GPS data processed {"connection_id":132750,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:15:27] local.INFO: Acknowledgment sent {"connection_id":132750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:15:51] local.INFO: TCP Data received {"connection_id":134959,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:15:51] local.INFO: Processing buffer {"connection_id":134959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:15:51] local.INFO: IMEI packet received {"connection_id":134959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 17:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":134959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:15:55] local.INFO: TCP Data received {"connection_id":134959,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:15:55] local.INFO: Processing buffer {"connection_id":134959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:15:55] local.INFO: IMEI packet received {"connection_id":134959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":134959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:15:56] local.INFO: TCP Data received {"connection_id":134959,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6596f5e0012d1822c00721b488004a01482a..."} 
[2026-07-15 17:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6596f5e0012d1822c00721b488004a01482a..."} 
[2026-07-15 17:15:56] local.INFO: Processing buffer {"connection_id":134959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6596f5e0012d1822c00721b488004a01482a..."} 
[2026-07-15 17:15:56] local.INFO: Packet analysis {"connection_id":134959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6596"} 
[2026-07-15 17:15:56] local.INFO: Extracted packet for processing {"connection_id":134959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6596"} 
[2026-07-15 17:15:56] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649416,"longitude_deg":75.655648,"latitude_deg":11.9649416,"altitude":74,"angle":328,"satellites":42,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-07-15 17: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-07-15 17:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733644544001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6177644735365120,"note":"Value kept but may cause issues"} 
[2026-07-15 17:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981216256,"note":"Value kept but may cause issues"} 
[2026-07-15 17:15:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784115820000,"timestamp_ms":1784115820000,"timestamp_seconds":1784115820,"priority":1,"record_length":96,"hex_timestamp":"0000019f6596f5e0"} 
[2026-07-15 17:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:15:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-15 17:15:56] 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-07-15 17: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-07-15 17:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":134959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":134959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":134959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:15:56] 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-07-15 17:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733644544001,"66":12667,"105":206,"83":41984,"24":0,"16":6177644735365120,"45":1739163542981216256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 17:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733644544001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:15:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 17:15:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 17:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6177644735365120,"km_value":6177644735365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981216256,"description":"Unknown IO ID 45"} 
[2026-07-15 17:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733644544001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981216256}} 
[2026-07-15 17:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":134959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:15:56] local.INFO: GPS data processed {"connection_id":134959,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:15:56] local.INFO: Acknowledgment sent {"connection_id":134959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:16:06] local.INFO: TCP Data received {"connection_id":133601,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:16:06] local.INFO: Processing buffer {"connection_id":133601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:16:06] local.INFO: IMEI packet received {"connection_id":133601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":133601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:16:11] local.INFO: TCP Data received {"connection_id":133601,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:16:11] local.INFO: Processing buffer {"connection_id":133601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:16:11] local.INFO: IMEI packet received {"connection_id":133601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":133601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:16:11] local.INFO: TCP Data received {"connection_id":133601,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f65976728012d7f974005afda580002006c31..."} 
[2026-07-15 17:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65976728012d7f974005afda580002006c31..."} 
[2026-07-15 17:16:11] local.INFO: Processing buffer {"connection_id":133601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65976728012d7f974005afda580002006c31..."} 
[2026-07-15 17:16:11] local.INFO: Packet analysis {"connection_id":133601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6597"} 
[2026-07-15 17:16:11] local.INFO: Extracted packet for processing {"connection_id":133601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6597"} 
[2026-07-15 17:16:11] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410776,"longitude_deg":76.3336512,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":49,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 17:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733580288001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 17:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784115849000,"timestamp_ms":1784115849000,"timestamp_seconds":1784115849,"priority":1,"record_length":96,"hex_timestamp":"0000019f65976728"} 
[2026-07-15 17:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 17:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-15 17:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":133601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":133601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":133601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:16:11] 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-07-15 17:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733580288001,"66":26006,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733580288001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:16:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:16:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 17:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733580288001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 17:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":133601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:16:11] local.INFO: GPS data processed {"connection_id":133601,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:16:11] local.INFO: Acknowledgment sent {"connection_id":133601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:16:16] local.INFO: TCP Data received {"connection_id":133601,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f65976728012d7f974005afda580002006c31..."} 
[2026-07-15 17:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65976728012d7f974005afda580002006c31..."} 
[2026-07-15 17:16:16] local.INFO: Processing buffer {"connection_id":133601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65976728012d7f974005afda580002006c31..."} 
[2026-07-15 17:16:16] local.INFO: Packet analysis {"connection_id":133601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6597"} 
[2026-07-15 17:16:16] local.INFO: Extracted packet for processing {"connection_id":133601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6597"} 
[2026-07-15 17:16:16] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410776,"longitude_deg":76.3336512,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":49,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 17:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733580288001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 17:16:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784115849000,"timestamp_ms":1784115849000,"timestamp_seconds":1784115849,"priority":1,"record_length":96,"hex_timestamp":"0000019f65976728"} 
[2026-07-15 17:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:16:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 17:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-15 17:16:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:16:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":133601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":133601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":133601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:16:16] 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-07-15 17:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733580288001,"66":26006,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733580288001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:16:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:16:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 17:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733580288001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 17:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":133601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:16:16] local.INFO: GPS data processed {"connection_id":133601,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:16:16] local.INFO: Acknowledgment sent {"connection_id":133601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:16:27] local.INFO: TCP Data received {"connection_id":134959,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f659747e8012d1822c00721b488004a01482b..."} 
[2026-07-15 17:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f659747e8012d1822c00721b488004a01482b..."} 
[2026-07-15 17:16:27] local.INFO: Processing buffer {"connection_id":134959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f659747e8012d1822c00721b488004a01482b..."} 
[2026-07-15 17:16:27] local.INFO: Packet analysis {"connection_id":134959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6597"} 
[2026-07-15 17:16:27] local.INFO: Extracted packet for processing {"connection_id":134959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6597"} 
[2026-07-15 17:16:27] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649416,"longitude_deg":75.655648,"latitude_deg":11.9649416,"altitude":74,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-07-15 17: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-07-15 17:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733649920001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6177644735365120,"note":"Value kept but may cause issues"} 
[2026-07-15 17:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981216256,"note":"Value kept but may cause issues"} 
[2026-07-15 17:16: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-07-15 17:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784115841000,"timestamp_ms":1784115841000,"timestamp_seconds":1784115841,"priority":1,"record_length":96,"hex_timestamp":"0000019f659747e8"} 
[2026-07-15 17:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:16:27] 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-07-15 17: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-15 17:16:27] 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-07-15 17: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-07-15 17:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":134959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":134959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":134959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:16: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-07-15 17:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733649920001,"66":12667,"105":206,"83":41984,"24":0,"16":6177644735365120,"45":1739163542981216256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 17:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733649920001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:16:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 17:16:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 17:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6177644735365120,"km_value":6177644735365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981216256,"description":"Unknown IO ID 45"} 
[2026-07-15 17:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733649920001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981216256}} 
[2026-07-15 17:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":134959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:16:27] local.INFO: GPS data processed {"connection_id":134959,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:16:27] local.INFO: Acknowledgment sent {"connection_id":134959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:16:50] local.INFO: TCP Data received {"connection_id":133602,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:16:50] local.INFO: Processing buffer {"connection_id":133602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:16:50] local.INFO: IMEI packet received {"connection_id":133602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 17:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":133602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:16:55] local.INFO: TCP Data received {"connection_id":133602,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:16:55] local.INFO: Processing buffer {"connection_id":133602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:16:55] local.INFO: IMEI packet received {"connection_id":133602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":133602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:16:56] local.INFO: TCP Data received {"connection_id":133602,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f659799f0012d1822c00721b488004a01482b..."} 
[2026-07-15 17:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f659799f0012d1822c00721b488004a01482b..."} 
[2026-07-15 17:16:56] local.INFO: Processing buffer {"connection_id":133602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f659799f0012d1822c00721b488004a01482b..."} 
[2026-07-15 17:16:56] local.INFO: Packet analysis {"connection_id":133602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6597"} 
[2026-07-15 17:16:56] local.INFO: Extracted packet for processing {"connection_id":133602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6597"} 
[2026-07-15 17:16:56] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649416,"longitude_deg":75.655648,"latitude_deg":11.9649416,"altitude":74,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-07-15 17:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733655296001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6177644735365120,"note":"Value kept but may cause issues"} 
[2026-07-15 17:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981216256,"note":"Value kept but may cause issues"} 
[2026-07-15 17:16:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784115862000,"timestamp_ms":1784115862000,"timestamp_seconds":1784115862,"priority":1,"record_length":96,"hex_timestamp":"0000019f659799f0"} 
[2026-07-15 17:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:16:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-15 17:16:56] 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-07-15 17:16:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:16:56] 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-07-15 17:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733655296001,"66":12613,"105":206,"83":41984,"24":0,"16":6177644735365120,"45":1739163542981216256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 17:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733655296001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:16:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 17:16:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 17:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6177644735365120,"km_value":6177644735365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981216256,"description":"Unknown IO ID 45"} 
[2026-07-15 17:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733655296001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981216256}} 
[2026-07-15 17:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":133602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:16:56] local.INFO: GPS data processed {"connection_id":133602,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:16:56] local.INFO: Acknowledgment sent {"connection_id":133602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:16:59] local.INFO: TCP Data received {"connection_id":132577,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132577,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:16:59] local.INFO: Processing buffer {"connection_id":132577,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:16:59] local.INFO: IMEI packet received {"connection_id":132577,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 17:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":132577,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:17:00] local.INFO: TCP Data received {"connection_id":134960,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:17:01] local.INFO: Processing buffer {"connection_id":134960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:17:01] local.INFO: IMEI packet received {"connection_id":134960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":134960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:17:06] local.INFO: TCP Data received {"connection_id":134960,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:17:06] local.INFO: Processing buffer {"connection_id":134960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:17:06] local.INFO: IMEI packet received {"connection_id":134960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":134960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:17:07] local.INFO: TCP Data received {"connection_id":134960,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f65976728012d7f974005afda580002006c31..."} 
[2026-07-15 17:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65976728012d7f974005afda580002006c31..."} 
[2026-07-15 17:17:07] local.INFO: Processing buffer {"connection_id":134960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65976728012d7f974005afda580002006c31..."} 
[2026-07-15 17:17:07] local.INFO: Packet analysis {"connection_id":134960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6597"} 
[2026-07-15 17:17:07] local.INFO: Extracted packet for processing {"connection_id":134960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6597"} 
[2026-07-15 17:17:07] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410776,"longitude_deg":76.3336512,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":49,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 17:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733580288001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 17:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784115849000,"timestamp_ms":1784115849000,"timestamp_seconds":1784115849,"priority":1,"record_length":96,"hex_timestamp":"0000019f65976728"} 
[2026-07-15 17:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 17:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-15 17:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733580288001,"66":26006,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733580288001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:17:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:17:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 17:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733580288001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 17:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":134960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:17:07] local.INFO: GPS data processed {"connection_id":134960,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:17:07] local.INFO: Acknowledgment sent {"connection_id":134960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:17:27] local.INFO: TCP Data received {"connection_id":133602,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6597ebf8012d1822c00721b488004a01482b..."} 
[2026-07-15 17:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6597ebf8012d1822c00721b488004a01482b..."} 
[2026-07-15 17:17:27] local.INFO: Processing buffer {"connection_id":133602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6597ebf8012d1822c00721b488004a01482b..."} 
[2026-07-15 17:17:27] local.INFO: Packet analysis {"connection_id":133602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6597"} 
[2026-07-15 17:17:27] local.INFO: Extracted packet for processing {"connection_id":133602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6597"} 
[2026-07-15 17:17:27] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649416,"longitude_deg":75.655648,"latitude_deg":11.9649416,"altitude":74,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-07-15 17:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733660672001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6177644735365120,"note":"Value kept but may cause issues"} 
[2026-07-15 17:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981216256,"note":"Value kept but may cause issues"} 
[2026-07-15 17:17: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-07-15 17:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784115883000,"timestamp_ms":1784115883000,"timestamp_seconds":1784115883,"priority":1,"record_length":96,"hex_timestamp":"0000019f6597ebf8"} 
[2026-07-15 17:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-15 17:17:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:17:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":133602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":133602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":133602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:17: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-07-15 17:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733660672001,"66":12667,"105":206,"83":41984,"24":0,"16":6177644735365120,"45":1739163542981216256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 17:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733660672001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:17:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 17:17:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 17:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6177644735365120,"km_value":6177644735365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981216256,"description":"Unknown IO ID 45"} 
[2026-07-15 17:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733660672001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981216256}} 
[2026-07-15 17:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":133602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:17:27] local.INFO: GPS data processed {"connection_id":133602,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:17:27] local.INFO: Acknowledgment sent {"connection_id":133602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:17:34] local.INFO: TCP Data received {"connection_id":133603,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133603,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:17:34] local.INFO: Processing buffer {"connection_id":133603,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:17:34] local.INFO: IMEI packet received {"connection_id":133603,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 17:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":133603,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:17:38] local.INFO: TCP Data received {"connection_id":134960,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6599a178012d7f97c005afda580002006c31..."} 
[2026-07-15 17:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6599a178012d7f97c005afda580002006c31..."} 
[2026-07-15 17:17:38] local.INFO: Processing buffer {"connection_id":134960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6599a178012d7f97c005afda580002006c31..."} 
[2026-07-15 17:17:38] local.INFO: Packet analysis {"connection_id":134960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6599"} 
[2026-07-15 17:17:38] local.INFO: Extracted packet for processing {"connection_id":134960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6599"} 
[2026-07-15 17:17:38] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":49,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 17:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733657344001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469493248,"note":"Value kept but may cause issues"} 
[2026-07-15 17:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784115995000,"timestamp_ms":1784115995000,"timestamp_seconds":1784115995,"priority":1,"record_length":96,"hex_timestamp":"0000019f6599a178"} 
[2026-07-15 17:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 17:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 17:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733657344001,"66":26039,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469493248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733657344001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:17:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:17:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469493248,"description":"Unknown IO ID 45"} 
[2026-07-15 17:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733657344001,"power":26039,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469493248}} 
[2026-07-15 17:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":134960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:17:38] local.INFO: GPS data processed {"connection_id":134960,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:17:38] local.INFO: Acknowledgment sent {"connection_id":134960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:17:50] local.INFO: TCP Data received {"connection_id":134961,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:17:50] local.INFO: Processing buffer {"connection_id":134961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:17:50] local.INFO: IMEI packet received {"connection_id":134961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 17:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":134961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:17:55] local.INFO: TCP Data received {"connection_id":134961,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:17:55] local.INFO: Processing buffer {"connection_id":134961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:17:55] local.INFO: IMEI packet received {"connection_id":134961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":134961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:17:56] local.INFO: TCP Data received {"connection_id":134961,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f65983e00012d1822c00721b488004a01482b..."} 
[2026-07-15 17:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65983e00012d1822c00721b488004a01482b..."} 
[2026-07-15 17:17:56] local.INFO: Processing buffer {"connection_id":134961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65983e00012d1822c00721b488004a01482b..."} 
[2026-07-15 17:17:56] local.INFO: Packet analysis {"connection_id":134961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6598"} 
[2026-07-15 17:17:56] local.INFO: Extracted packet for processing {"connection_id":134961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6598"} 
[2026-07-15 17:17:56] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649416,"longitude_deg":75.655648,"latitude_deg":11.9649416,"altitude":74,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-07-15 17:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733666048001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6177644735365120,"note":"Value kept but may cause issues"} 
[2026-07-15 17:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981216256,"note":"Value kept but may cause issues"} 
[2026-07-15 17:17:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784115904000,"timestamp_ms":1784115904000,"timestamp_seconds":1784115904,"priority":1,"record_length":96,"hex_timestamp":"0000019f65983e00"} 
[2026-07-15 17:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:17:56] 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-07-15 17:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-15 17:17:56] 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-07-15 17:17:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":134961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":134961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":134961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:17:56] 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-07-15 17:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733666048001,"66":12613,"105":206,"83":41984,"24":0,"16":6177644735365120,"45":1739163542981216256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 17:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733666048001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:17:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 17:17:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 17:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6177644735365120,"km_value":6177644735365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981216256,"description":"Unknown IO ID 45"} 
[2026-07-15 17:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733666048001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981216256}} 
[2026-07-15 17:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":134961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492022,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:17:56] local.INFO: GPS data processed {"connection_id":134961,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:17:56] local.INFO: Acknowledgment sent {"connection_id":134961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:18:00] local.INFO: TCP Data received {"connection_id":132751,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:18:00] local.INFO: Processing buffer {"connection_id":132751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:18:00] local.INFO: IMEI packet received {"connection_id":132751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":132751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:18:06] local.INFO: TCP Data received {"connection_id":132751,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:18:06] local.INFO: Processing buffer {"connection_id":132751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:18:06] local.INFO: IMEI packet received {"connection_id":132751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":132751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:18:07] local.INFO: TCP Data received {"connection_id":132751,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f6599fb50012d7f974005afda600002006c31..."} 
[2026-07-15 17:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6599fb50012d7f974005afda600002006c31..."} 
[2026-07-15 17:18:07] local.INFO: Processing buffer {"connection_id":132751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6599fb50012d7f974005afda600002006c31..."} 
[2026-07-15 17:18:07] local.INFO: Packet analysis {"connection_id":132751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6599"} 
[2026-07-15 17:18:07] local.INFO: Extracted packet for processing {"connection_id":132751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6599"} 
[2026-07-15 17:18:07] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":49,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733694720001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 17:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784116018000,"timestamp_ms":1784116018000,"timestamp_seconds":1784116018,"priority":1,"record_length":96,"hex_timestamp":"0000019f6599fb50"} 
[2026-07-15 17:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-15 17:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733694720001,"66":27800,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733694720001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:18:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:18:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 17:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733694720001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 17:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":132751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:18:07] local.INFO: GPS data processed {"connection_id":132751,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:18:07] local.INFO: Acknowledgment sent {"connection_id":132751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:18:27] local.INFO: TCP Data received {"connection_id":134961,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f65989008012d1822c00721b488004a01482c..."} 
[2026-07-15 17:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65989008012d1822c00721b488004a01482c..."} 
[2026-07-15 17:18:27] local.INFO: Processing buffer {"connection_id":134961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65989008012d1822c00721b488004a01482c..."} 
[2026-07-15 17:18:27] local.INFO: Packet analysis {"connection_id":134961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6598"} 
[2026-07-15 17:18:27] local.INFO: Extracted packet for processing {"connection_id":134961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6598"} 
[2026-07-15 17:18:27] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649416,"longitude_deg":75.655648,"latitude_deg":11.9649416,"altitude":74,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-07-15 17:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733671424001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6177644735365120,"note":"Value kept but may cause issues"} 
[2026-07-15 17:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981216256,"note":"Value kept but may cause issues"} 
[2026-07-15 17:18: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-07-15 17:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784115925000,"timestamp_ms":1784115925000,"timestamp_seconds":1784115925,"priority":1,"record_length":96,"hex_timestamp":"0000019f65989008"} 
[2026-07-15 17:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:18:27] 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-07-15 17:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-15 17:18:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:18:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":134961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":134961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":134961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:18: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-07-15 17:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733671424001,"66":12613,"105":206,"83":41984,"24":0,"16":6177644735365120,"45":1739163542981216256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 17:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733671424001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:18:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 17:18:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 17:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6177644735365120,"km_value":6177644735365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981216256,"description":"Unknown IO ID 45"} 
[2026-07-15 17:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733671424001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981216256}} 
[2026-07-15 17:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":134961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:18:27] local.INFO: GPS data processed {"connection_id":134961,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:18:27] local.INFO: Acknowledgment sent {"connection_id":134961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:18:37] local.INFO: TCP Data received {"connection_id":132751,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f659a4d58012d7f974005afda600002006c30..."} 
[2026-07-15 17:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f659a4d58012d7f974005afda600002006c30..."} 
[2026-07-15 17:18:37] local.INFO: Processing buffer {"connection_id":132751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f659a4d58012d7f974005afda600002006c30..."} 
[2026-07-15 17:18:37] local.INFO: Packet analysis {"connection_id":132751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f659a"} 
[2026-07-15 17:18:37] local.INFO: Extracted packet for processing {"connection_id":132751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f659a"} 
[2026-07-15 17:18:37] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":48,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733700608001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784116039000,"timestamp_ms":1784116039000,"timestamp_seconds":1784116039,"priority":1,"record_length":96,"hex_timestamp":"0000019f659a4d58"} 
[2026-07-15 17:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 17:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733700608001,"66":27604,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733700608001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:18:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:18:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733700608001,"power":27604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":132751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:18:37] local.INFO: GPS data processed {"connection_id":132751,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:18:37] local.INFO: Acknowledgment sent {"connection_id":132751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:18:55] local.INFO: TCP Data received {"connection_id":134962,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:18:55] local.INFO: Processing buffer {"connection_id":134962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:18:55] local.INFO: IMEI packet received {"connection_id":134962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 17:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":134962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:19:00] local.INFO: TCP Data received {"connection_id":134962,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:19:00] local.INFO: Processing buffer {"connection_id":134962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:19:00] local.INFO: IMEI packet received {"connection_id":134962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":134962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:19:00] local.INFO: TCP Data received {"connection_id":134963,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:19:00] local.INFO: Processing buffer {"connection_id":134963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:19:00] local.INFO: IMEI packet received {"connection_id":134963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":134963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:19:01] local.INFO: TCP Data received {"connection_id":134963,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:19:01] local.INFO: Processing buffer {"connection_id":134963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:19:01] local.INFO: IMEI packet received {"connection_id":134963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":134963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:19:01] local.INFO: TCP Data received {"connection_id":134962,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6598e210012d1822c00721b488004a01482c..."} 
[2026-07-15 17:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6598e210012d1822c00721b488004a01482c..."} 
[2026-07-15 17:19:01] local.INFO: Processing buffer {"connection_id":134962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6598e210012d1822c00721b488004a01482c..."} 
[2026-07-15 17:19:01] local.INFO: Packet analysis {"connection_id":134962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6598"} 
[2026-07-15 17:19:01] local.INFO: Extracted packet for processing {"connection_id":134962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6598"} 
[2026-07-15 17:19:01] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649416,"longitude_deg":75.655648,"latitude_deg":11.9649416,"altitude":74,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-07-15 17:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733676800001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6177644735365120,"note":"Value kept but may cause issues"} 
[2026-07-15 17:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981216256,"note":"Value kept but may cause issues"} 
[2026-07-15 17:19: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-07-15 17:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784115946000,"timestamp_ms":1784115946000,"timestamp_seconds":1784115946,"priority":1,"record_length":96,"hex_timestamp":"0000019f6598e210"} 
[2026-07-15 17:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:19:01] 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-07-15 17:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-15 17:19:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:19:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":134962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":134962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":134962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:19:01] 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-07-15 17:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733676800001,"66":12602,"105":206,"83":41984,"24":0,"16":6177644735365120,"45":1739163542981216256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 17:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733676800001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:19:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 17:19:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 17:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6177644735365120,"km_value":6177644735365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981216256,"description":"Unknown IO ID 45"} 
[2026-07-15 17:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733676800001,"power":12602,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981216256}} 
[2026-07-15 17:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":134962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:19:01] local.INFO: GPS data processed {"connection_id":134962,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:19:01] local.INFO: Acknowledgment sent {"connection_id":134962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:19:05] local.INFO: TCP Data received {"connection_id":134962,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f65993418012d1822c00721b488004a01482c..."} 
[2026-07-15 17:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65993418012d1822c00721b488004a01482c..."} 
[2026-07-15 17:19:05] local.INFO: Processing buffer {"connection_id":134962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65993418012d1822c00721b488004a01482c..."} 
[2026-07-15 17:19:05] local.INFO: Packet analysis {"connection_id":134962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6599"} 
[2026-07-15 17:19:05] local.INFO: Extracted packet for processing {"connection_id":134962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6599"} 
[2026-07-15 17:19:05] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649416,"longitude_deg":75.655648,"latitude_deg":11.9649416,"altitude":74,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-07-15 17:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733682176001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6177644735365120,"note":"Value kept but may cause issues"} 
[2026-07-15 17:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981216256,"note":"Value kept but may cause issues"} 
[2026-07-15 17:19: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-07-15 17:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784115967000,"timestamp_ms":1784115967000,"timestamp_seconds":1784115967,"priority":1,"record_length":96,"hex_timestamp":"0000019f65993418"} 
[2026-07-15 17:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-15 17:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":134962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":134962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":134962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:19:05] 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-07-15 17:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733682176001,"66":12558,"105":206,"83":41984,"24":0,"16":6177644735365120,"45":1739163542981216256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 17:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733682176001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:19:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 17:19:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 17:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6177644735365120,"km_value":6177644735365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981216256,"description":"Unknown IO ID 45"} 
[2026-07-15 17:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733682176001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981216256}} 
[2026-07-15 17:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":134962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:19:05] local.INFO: GPS data processed {"connection_id":134962,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:19:05] local.INFO: Acknowledgment sent {"connection_id":134962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:19:05] local.INFO: TCP Data received {"connection_id":134963,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:19:05] local.INFO: Processing buffer {"connection_id":134963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:19:05] local.INFO: IMEI packet received {"connection_id":134963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":134963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:19:06] local.INFO: TCP Data received {"connection_id":134963,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f659a9f60012d7f974005afda600002006c31..."} 
[2026-07-15 17:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f659a9f60012d7f974005afda600002006c31..."} 
[2026-07-15 17:19:06] local.INFO: Processing buffer {"connection_id":134963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f659a9f60012d7f974005afda600002006c31..."} 
[2026-07-15 17:19:06] local.INFO: Packet analysis {"connection_id":134963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f659a"} 
[2026-07-15 17:19:06] local.INFO: Extracted packet for processing {"connection_id":134963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f659a"} 
[2026-07-15 17:19:06] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":49,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733705984001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784116060000,"timestamp_ms":1784116060000,"timestamp_seconds":1784116060,"priority":1,"record_length":96,"hex_timestamp":"0000019f659a9f60"} 
[2026-07-15 17:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-15 17:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":134963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":134963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":134963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733705984001,"66":27821,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733705984001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:19:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:19:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733705984001,"power":27821,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":134963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:19:06] local.INFO: GPS data processed {"connection_id":134963,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:19:06] local.INFO: Acknowledgment sent {"connection_id":134963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:19:37] local.INFO: TCP Data received {"connection_id":134963,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f659af168012d7f974005afda600002006c31..."} 
[2026-07-15 17:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f659af168012d7f974005afda600002006c31..."} 
[2026-07-15 17:19:37] local.INFO: Processing buffer {"connection_id":134963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f659af168012d7f974005afda600002006c31..."} 
[2026-07-15 17:19:37] local.INFO: Packet analysis {"connection_id":134963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f659a"} 
[2026-07-15 17:19:37] local.INFO: Extracted packet for processing {"connection_id":134963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f659a"} 
[2026-07-15 17:19:37] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":49,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733711360001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784116081000,"timestamp_ms":1784116081000,"timestamp_seconds":1784116081,"priority":1,"record_length":96,"hex_timestamp":"0000019f659af168"} 
[2026-07-15 17:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 17:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":134963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":134963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":134963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733711360001,"66":27767,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733711360001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:19:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:19:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733711360001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":134963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:19:37] local.INFO: GPS data processed {"connection_id":134963,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:19:37] local.INFO: Acknowledgment sent {"connection_id":134963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:19:50] local.INFO: TCP Data received {"connection_id":133606,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:19:50] local.INFO: Processing buffer {"connection_id":133606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:19:50] local.INFO: IMEI packet received {"connection_id":133606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 17:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":133606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:19:55] local.INFO: TCP Data received {"connection_id":133606,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:19:55] local.INFO: Processing buffer {"connection_id":133606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:19:55] local.INFO: IMEI packet received {"connection_id":133606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":133606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:19:56] local.INFO: TCP Data received {"connection_id":133606,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f65998620012d1822c00721b488004a01482c..."} 
[2026-07-15 17:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65998620012d1822c00721b488004a01482c..."} 
[2026-07-15 17:19:56] local.INFO: Processing buffer {"connection_id":133606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65998620012d1822c00721b488004a01482c..."} 
[2026-07-15 17:19:56] local.INFO: Packet analysis {"connection_id":133606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6599"} 
[2026-07-15 17:19:56] local.INFO: Extracted packet for processing {"connection_id":133606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6599"} 
[2026-07-15 17:19:56] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649416,"longitude_deg":75.655648,"latitude_deg":11.9649416,"altitude":74,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-07-15 17: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-07-15 17:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733687552001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6177644735365120,"note":"Value kept but may cause issues"} 
[2026-07-15 17:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981216256,"note":"Value kept but may cause issues"} 
[2026-07-15 17:19:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784115988000,"timestamp_ms":1784115988000,"timestamp_seconds":1784115988,"priority":1,"record_length":96,"hex_timestamp":"0000019f65998620"} 
[2026-07-15 17:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:19:56] 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-07-15 17: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-15 17:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-07-15 17:19:56] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-15 17:19:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-15 17:19:56] local.WARNING: Large IO value detected {"io_id":242,"raw_value":2298478592,"note":"Value kept but may cause issues"} 
[2026-07-15 17:19:56] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249385339296527496,"note":"Value kept but may cause issues"} 
[2026-07-15 17:19:56] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2548824065,"note":"Value kept but may cause issues"} 
[2026-07-15 17:19:56] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3028811850,"note":"Value kept but may cause issues"} 
[2026-07-15 17:19:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-15 17:19:56] local.WARNING: Large IO value detected {"io_id":153,"raw_value":4026608920,"note":"Value kept but may cause issues"} 
[2026-07-15 17:19:56] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3221692852,"note":"Value kept but may cause issues"} 
[2026-07-15 17:19:56] local.WARNING: Large IO value detected {"io_id":21,"raw_value":4069064704,"note":"Value kept but may cause issues"} 
[2026-07-15 17:19:56] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-07-15 17:19:56] local.WARNING: Large IO value detected {"io_id":71,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-15 17:19:56] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-07-15 17:19:56] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,242,159,226,45,192,180,74,44,10,66,144,62,1,240,69,227,101,33,4,113,205,153,34,136,43,239,49,2,21,7,106,71,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-15 17:19:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332622787599138816,"timestamp_seconds":5332622787599139.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 17:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:19:56] 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-07-15 17:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733687552001,"66":12558,"105":206,"83":41984,"24":0,"16":6177644735365120,"45":1739163542981216256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 17:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733687552001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:19:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 17:19:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 17:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6177644735365120,"km_value":6177644735365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981216256,"description":"Unknown IO ID 45"} 
[2026-07-15 17:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733687552001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981216256}} 
[2026-07-15 17:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":133606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:19:56] local.INFO: GPS data processed {"connection_id":133606,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:19:56] local.INFO: Acknowledgment sent {"connection_id":133606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:20:00] local.INFO: TCP Data received {"connection_id":132752,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:20:00] local.INFO: Processing buffer {"connection_id":132752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:20:00] local.INFO: IMEI packet received {"connection_id":132752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":132752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:20:03] local.INFO: TCP Data received {"connection_id":132752,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:20:03] local.INFO: Processing buffer {"connection_id":132752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:20:03] local.INFO: IMEI packet received {"connection_id":132752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":132752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:20:05] local.INFO: TCP Data received {"connection_id":132752,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:20:05] local.INFO: Processing buffer {"connection_id":132752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:20:05] local.INFO: IMEI packet received {"connection_id":132752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":132752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:20:06] local.INFO: TCP Data received {"connection_id":132752,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f659b4370012d7f974005afda600002006c30..."} 
[2026-07-15 17:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f659b4370012d7f974005afda600002006c30..."} 
[2026-07-15 17:20:06] local.INFO: Processing buffer {"connection_id":132752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f659b4370012d7f974005afda600002006c30..."} 
[2026-07-15 17:20:06] local.INFO: Packet analysis {"connection_id":132752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f659b"} 
[2026-07-15 17:20:06] local.INFO: Extracted packet for processing {"connection_id":132752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f659b"} 
[2026-07-15 17:20:06] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":48,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733716736001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784116102000,"timestamp_ms":1784116102000,"timestamp_seconds":1784116102,"priority":1,"record_length":96,"hex_timestamp":"0000019f659b4370"} 
[2026-07-15 17:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 17:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733716736001,"66":27865,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733716736001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:20:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:20:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733716736001,"power":27865,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":132752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:20:06] local.INFO: GPS data processed {"connection_id":132752,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:20:06] local.INFO: Acknowledgment sent {"connection_id":132752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:20:11] local.INFO: TCP Data received {"connection_id":132752,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f659b9578012d7f974005afda600002006c31..."} 
[2026-07-15 17:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f659b9578012d7f974005afda600002006c31..."} 
[2026-07-15 17:20:11] local.INFO: Processing buffer {"connection_id":132752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f659b9578012d7f974005afda600002006c31..."} 
[2026-07-15 17:20:11] local.INFO: Packet analysis {"connection_id":132752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f659b"} 
[2026-07-15 17:20:11] local.INFO: Extracted packet for processing {"connection_id":132752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f659b"} 
[2026-07-15 17:20:11] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":49,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733722112001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784116123000,"timestamp_ms":1784116123000,"timestamp_seconds":1784116123,"priority":1,"record_length":96,"hex_timestamp":"0000019f659b9578"} 
[2026-07-15 17:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-15 17:20:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733722112001,"66":28028,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733722112001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:20:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:20:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733722112001,"power":28028,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":132752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:20:11] local.INFO: GPS data processed {"connection_id":132752,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:20:11] local.INFO: Acknowledgment sent {"connection_id":132752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:20:27] local.INFO: TCP Data received {"connection_id":133606,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6599d828012d1822c00721b488004a01482b..."} 
[2026-07-15 17:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6599d828012d1822c00721b488004a01482b..."} 
[2026-07-15 17:20:27] local.INFO: Processing buffer {"connection_id":133606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6599d828012d1822c00721b488004a01482b..."} 
[2026-07-15 17:20:27] local.INFO: Packet analysis {"connection_id":133606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6599"} 
[2026-07-15 17:20:27] local.INFO: Extracted packet for processing {"connection_id":133606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6599"} 
[2026-07-15 17:20:27] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649416,"longitude_deg":75.655648,"latitude_deg":11.9649416,"altitude":74,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-07-15 17: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-07-15 17:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733692928001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6177644735365120,"note":"Value kept but may cause issues"} 
[2026-07-15 17:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981216256,"note":"Value kept but may cause issues"} 
[2026-07-15 17:20:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784116009000,"timestamp_ms":1784116009000,"timestamp_seconds":1784116009,"priority":1,"record_length":96,"hex_timestamp":"0000019f6599d828"} 
[2026-07-15 17:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:20:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-15 17:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-07-15 17:20:27] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-15 17:20:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-15 17:20:27] local.WARNING: Large IO value detected {"io_id":242,"raw_value":2298478592,"note":"Value kept but may cause issues"} 
[2026-07-15 17:20:27] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249385339296527496,"note":"Value kept but may cause issues"} 
[2026-07-15 17:20:27] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2554200065,"note":"Value kept but may cause issues"} 
[2026-07-15 17:20:27] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3028811850,"note":"Value kept but may cause issues"} 
[2026-07-15 17:20:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-15 17:20:27] local.WARNING: Large IO value detected {"io_id":235,"raw_value":4160826648,"note":"Value kept but may cause issues"} 
[2026-07-15 17:20:27] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3221692852,"note":"Value kept but may cause issues"} 
[2026-07-15 17:20:27] local.WARNING: Large IO value detected {"io_id":21,"raw_value":4069064704,"note":"Value kept but may cause issues"} 
[2026-07-15 17:20:27] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-07-15 17:20:27] local.WARNING: Large IO value detected {"io_id":70,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-15 17:20:27] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-07-15 17:20:27] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,242,159,52,45,192,180,74,44,10,66,226,144,1,240,69,227,101,33,4,113,205,235,34,136,43,239,49,2,21,7,106,70,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-15 17:20:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332622787599138816,"timestamp_seconds":5332622787599139.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 17:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":133606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":133606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":133606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:20: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-07-15 17:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733692928001,"66":12548,"105":206,"83":41984,"24":0,"16":6177644735365120,"45":1739163542981216256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 17:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733692928001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:20:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 17:20:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 17:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6177644735365120,"km_value":6177644735365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981216256,"description":"Unknown IO ID 45"} 
[2026-07-15 17:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733692928001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981216256}} 
[2026-07-15 17:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":133606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:20:28] local.INFO: GPS data processed {"connection_id":133606,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:20:28] local.INFO: Acknowledgment sent {"connection_id":133606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:20:42] local.INFO: TCP Data received {"connection_id":132752,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f659be780012d7f974005afda600002006c31..."} 
[2026-07-15 17:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f659be780012d7f974005afda600002006c31..."} 
[2026-07-15 17:20:42] local.INFO: Processing buffer {"connection_id":132752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f659be780012d7f974005afda600002006c31..."} 
[2026-07-15 17:20:42] local.INFO: Packet analysis {"connection_id":132752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f659b"} 
[2026-07-15 17:20:42] local.INFO: Extracted packet for processing {"connection_id":132752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f659b"} 
[2026-07-15 17:20:42] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":49,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733727488001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784116144000,"timestamp_ms":1784116144000,"timestamp_seconds":1784116144,"priority":1,"record_length":96,"hex_timestamp":"0000019f659be780"} 
[2026-07-15 17:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-15 17:20:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733727488001,"66":27767,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733727488001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:20:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:20:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733727488001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":132752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:20:42] local.INFO: GPS data processed {"connection_id":132752,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:20:42] local.INFO: Acknowledgment sent {"connection_id":132752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:20:50] local.INFO: TCP Data received {"connection_id":133607,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:20:50] local.INFO: Processing buffer {"connection_id":133607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:20:50] local.INFO: IMEI packet received {"connection_id":133607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 17:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":133607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:20:50] local.INFO: TCP Data received {"connection_id":133607,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:20:50] local.INFO: Processing buffer {"connection_id":133607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:20:50] local.INFO: IMEI packet received {"connection_id":133607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":133607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:20:54] local.INFO: TCP Data received {"connection_id":134965,"ip":"117.224.43.111","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134965,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:20:54] local.INFO: Processing buffer {"connection_id":134965,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:20:54] local.INFO: IMEI packet received {"connection_id":134965,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 17:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":134965,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:20:55] local.INFO: TCP Data received {"connection_id":133607,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:20:55] local.INFO: Processing buffer {"connection_id":133607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:20:55] local.INFO: IMEI packet received {"connection_id":133607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":133607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:20:56] local.INFO: TCP Data received {"connection_id":133607,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f659a2a30012d1822c00721b488004a01482c..."} 
[2026-07-15 17:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f659a2a30012d1822c00721b488004a01482c..."} 
[2026-07-15 17:20:56] local.INFO: Processing buffer {"connection_id":133607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f659a2a30012d1822c00721b488004a01482c..."} 
[2026-07-15 17:20:56] local.INFO: Packet analysis {"connection_id":133607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f659a"} 
[2026-07-15 17:20:56] local.INFO: Extracted packet for processing {"connection_id":133607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f659a"} 
[2026-07-15 17:20:56] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649416,"longitude_deg":75.655648,"latitude_deg":11.9649416,"altitude":74,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-07-15 17:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733698304001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6177644735365120,"note":"Value kept but may cause issues"} 
[2026-07-15 17:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981216256,"note":"Value kept but may cause issues"} 
[2026-07-15 17:20:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784116030000,"timestamp_ms":1784116030000,"timestamp_seconds":1784116030,"priority":1,"record_length":96,"hex_timestamp":"0000019f659a2a30"} 
[2026-07-15 17:20:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:20:56] 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-07-15 17:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 17:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-15 17:20:56] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-15 17:20:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-15 17:20:56] local.WARNING: Large IO value detected {"io_id":242,"raw_value":2298478592,"note":"Value kept but may cause issues"} 
[2026-07-15 17:20:56] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184204828877,"note":"Value kept but may cause issues"} 
[2026-07-15 17:20:56] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2559576065,"note":"Value kept but may cause issues"} 
[2026-07-15 17:20:56] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3028811850,"note":"Value kept but may cause issues"} 
[2026-07-15 17:20:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-15 17:20:56] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3221692852,"note":"Value kept but may cause issues"} 
[2026-07-15 17:20:56] local.WARNING: Large IO value detected {"io_id":21,"raw_value":4069064704,"note":"Value kept but may cause issues"} 
[2026-07-15 17:20:56] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-07-15 17:20:56] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,242,159,134,45,192,180,74,44,10,66,52,226,1,240,58,227,101,33,4,113,205,62,34,136,43,239,49,2,21,7,106],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-15 17:20:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332622783304171520,"timestamp_seconds":5332622783304172.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 17:20:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:20:56] 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-07-15 17:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733698304001,"66":12537,"105":206,"83":41984,"24":0,"16":6177644735365120,"45":1739163542981216256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 17:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733698304001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:20:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 17:20:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 17:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6177644735365120,"km_value":6177644735365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981216256,"description":"Unknown IO ID 45"} 
[2026-07-15 17:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733698304001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981216256}} 
[2026-07-15 17:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":133607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:20:56] local.INFO: GPS data processed {"connection_id":133607,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:20:56] local.INFO: Acknowledgment sent {"connection_id":133607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:21:00] local.INFO: TCP Data received {"connection_id":134965,"ip":"117.224.43.111","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134965,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:21:00] local.INFO: Processing buffer {"connection_id":134965,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:21:00] local.INFO: IMEI packet received {"connection_id":134965,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 17:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":134965,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:21:00] local.INFO: TCP Data received {"connection_id":132753,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:21:00] local.INFO: Processing buffer {"connection_id":132753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:21:00] local.INFO: IMEI packet received {"connection_id":132753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":132753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:21:01] local.INFO: TCP Data received {"connection_id":134965,"ip":"117.224.43.111","data_length":795,"data_hex":"000000000000030f8e0a0000019f659c7fd8012d7b140005e30470000000ac23..."} 
[2026-07-15 17:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f659c7fd8012d7b140005e30470000000ac23..."} 
[2026-07-15 17:21:01] local.INFO: Processing buffer {"connection_id":134965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f659c7fd8012d7b140005e30470000000ac23..."} 
[2026-07-15 17:21:01] local.INFO: Packet analysis {"connection_id":134965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f659c"} 
[2026-07-15 17:21:01] local.INFO: Extracted packet for processing {"connection_id":134965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f659c"} 
[2026-07-15 17:21:01] local.INFO: GPS Element Parsed {"raw_longitude":763040768,"raw_latitude":98763888,"longitude_deg":76.3040768,"latitude_deg":9.8763888,"altitude":0,"angle":172,"satellites":35,"speed":19,"hex_longitude":"2d7b1400","hex_latitude":"05e30470","is_valid_coordinates":true} 
[2026-07-15 17:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733737728001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106627132968402944,"note":"Value kept but may cause issues"} 
[2026-07-15 17:21:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867024741624940544,"note":"Value kept but may cause issues"} 
[2026-07-15 17:21:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784116183000,"timestamp_ms":1784116183000,"timestamp_seconds":1784116183,"priority":1,"record_length":96,"hex_timestamp":"0000019f659c7fd8"} 
[2026-07-15 17:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:21:01] 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-07-15 17:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-15 17:21:01] 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-07-15 17:21:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":134965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":134965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":134965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:21:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.43.111","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733737728001,"66":13037,"220":206,"19":45824,"24":19,"16":106627132968402944,"45":8867024741624940544},"client_ip":"117.224.43.111","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,19,24,16,45]} 
[2026-07-15 17:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733737728001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:21:01] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-15 17:21:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-07-15 17:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106627132968402944,"km_value":106627132968402.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:21:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867024741624940544,"description":"Unknown IO ID 45"} 
[2026-07-15 17:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733737728001,"power":13037,"unknown_220":206,"unknown_19":45824,"ignition":19,"odometer":null,"unknown_45":8867024741624940544}} 
[2026-07-15 17:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":134965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492036,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:21:01] local.INFO: GPS data processed {"connection_id":134965,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:21:01] local.INFO: Acknowledgment sent {"connection_id":134965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:21:06] local.INFO: TCP Data received {"connection_id":132753,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:21:06] local.INFO: Processing buffer {"connection_id":132753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:21:06] local.INFO: IMEI packet received {"connection_id":132753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":132753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:21:07] local.INFO: TCP Data received {"connection_id":132753,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f659c3988012d7f974005afda600002006c31..."} 
[2026-07-15 17:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f659c3988012d7f974005afda600002006c31..."} 
[2026-07-15 17:21:07] local.INFO: Processing buffer {"connection_id":132753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f659c3988012d7f974005afda600002006c31..."} 
[2026-07-15 17:21:07] local.INFO: Packet analysis {"connection_id":132753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f659c"} 
[2026-07-15 17:21:07] local.INFO: Extracted packet for processing {"connection_id":132753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f659c"} 
[2026-07-15 17:21:07] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":49,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733732864001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784116165000,"timestamp_ms":1784116165000,"timestamp_seconds":1784116165,"priority":1,"record_length":96,"hex_timestamp":"0000019f659c3988"} 
[2026-07-15 17:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 17:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:21:07] 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-07-15 17:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733732864001,"66":27843,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733732864001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:21:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:21:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733732864001,"power":27843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":132753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:21:07] local.INFO: GPS data processed {"connection_id":132753,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:21:07] local.INFO: Acknowledgment sent {"connection_id":132753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:21:27] local.INFO: TCP Data received {"connection_id":133607,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f659a5cf8012d1821800721b460004500d72c..."} 
[2026-07-15 17:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f659a5cf8012d1821800721b460004500d72c..."} 
[2026-07-15 17:21:27] local.INFO: Processing buffer {"connection_id":133607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f659a5cf8012d1821800721b460004500d72c..."} 
[2026-07-15 17:21:27] local.INFO: Packet analysis {"connection_id":133607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f659a"} 
[2026-07-15 17:21:27] local.INFO: Extracted packet for processing {"connection_id":133607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f659a"} 
[2026-07-15 17:21:27] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649376,"longitude_deg":75.655616,"latitude_deg":11.9649376,"altitude":69,"angle":215,"satellites":44,"speed":1,"hex_longitude":"2d182180","hex_latitude":"0721b460","is_valid_coordinates":true} 
[2026-07-15 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-07-15 17:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733703680001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6177661915234304,"note":"Value kept but may cause issues"} 
[2026-07-15 17:21:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981216256,"note":"Value kept but may cause issues"} 
[2026-07-15 17:21: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-07-15 17:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784116043000,"timestamp_ms":1784116043000,"timestamp_seconds":1784116043,"priority":1,"record_length":96,"hex_timestamp":"0000019f659a5cf8"} 
[2026-07-15 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-07-15 17:21:27] 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-07-15 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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 17:21:27] 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-07-15 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-07-15 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-07-15 17:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":133607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":133607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":133607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:21: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-07-15 17:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733703680001,"66":12526,"105":206,"83":41984,"24":1,"16":6177661915234304,"45":1739163542981216256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 17:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733703680001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:21:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 17:21:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 17:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6177661915234304,"km_value":6177661915234.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:21:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981216256,"description":"Unknown IO ID 45"} 
[2026-07-15 17:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733703680001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1739163542981216256}} 
[2026-07-15 17:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":133607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:21:27] local.INFO: GPS data processed {"connection_id":133607,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:21:27] local.INFO: Acknowledgment sent {"connection_id":133607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:21:33] local.INFO: TCP Data received {"connection_id":134965,"ip":"117.224.43.111","data_length":795,"data_hex":"000000000000030f8e0a0000019f659cbe58012d7b1ac005e2dfd8000000aa1d..."} 
[2026-07-15 17:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f659cbe58012d7b1ac005e2dfd8000000aa1d..."} 
[2026-07-15 17:21:33] local.INFO: Processing buffer {"connection_id":134965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f659cbe58012d7b1ac005e2dfd8000000aa1d..."} 
[2026-07-15 17:21:33] local.INFO: Packet analysis {"connection_id":134965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f659c"} 
[2026-07-15 17:21:33] local.INFO: Extracted packet for processing {"connection_id":134965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f659c"} 
[2026-07-15 17:21:33] local.INFO: GPS Element Parsed {"raw_longitude":763042496,"raw_latitude":98754520,"longitude_deg":76.3042496,"latitude_deg":9.875452,"altitude":0,"angle":170,"satellites":29,"speed":32,"hex_longitude":"2d7b1ac0","hex_latitude":"05e2dfd8","is_valid_coordinates":true} 
[2026-07-15 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-07-15 17:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733742848001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106627596824870912,"note":"Value kept but may cause issues"} 
[2026-07-15 17:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868713591482904576,"note":"Value kept but may cause issues"} 
[2026-07-15 17:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784116199000,"timestamp_ms":1784116199000,"timestamp_seconds":1784116199,"priority":1,"record_length":96,"hex_timestamp":"0000019f659cbe58"} 
[2026-07-15 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-07-15 17:21: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-07-15 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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-15 17:21:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 17:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":134965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":134965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":134965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.43.111","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733742848001,"66":13319,"220":206,"19":45824,"24":32,"16":106627596824870912,"45":8868713591482904576},"client_ip":"117.224.43.111","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,19,24,16,45]} 
[2026-07-15 17:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733742848001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:21:33] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-15 17:21:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-07-15 17:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106627596824870912,"km_value":106627596824870.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868713591482904576,"description":"Unknown IO ID 45"} 
[2026-07-15 17:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733742848001,"power":13319,"unknown_220":206,"unknown_19":45824,"ignition":32,"odometer":null,"unknown_45":8868713591482904576}} 
[2026-07-15 17:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":134965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492039,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:21:33] local.INFO: GPS data processed {"connection_id":134965,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:21:33] local.INFO: Acknowledgment sent {"connection_id":134965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:21:38] local.INFO: TCP Data received {"connection_id":132753,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f659c8b90012d7f974005afda600002006c31..."} 
[2026-07-15 17:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f659c8b90012d7f974005afda600002006c31..."} 
[2026-07-15 17:21:38] local.INFO: Processing buffer {"connection_id":132753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f659c8b90012d7f974005afda600002006c31..."} 
[2026-07-15 17:21:38] local.INFO: Packet analysis {"connection_id":132753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f659c"} 
[2026-07-15 17:21:38] local.INFO: Extracted packet for processing {"connection_id":132753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f659c"} 
[2026-07-15 17:21:38] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":49,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733738240001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784116186000,"timestamp_ms":1784116186000,"timestamp_seconds":1784116186,"priority":1,"record_length":96,"hex_timestamp":"0000019f659c8b90"} 
[2026-07-15 17:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-15 17:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:21:38] 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-07-15 17:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733738240001,"66":27908,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733738240001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:21:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:21:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733738240001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":132753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:21:38] local.INFO: GPS data processed {"connection_id":132753,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:21:38] local.INFO: Acknowledgment sent {"connection_id":132753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:21:50] local.INFO: TCP Data received {"connection_id":132755,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:21:50] local.INFO: Processing buffer {"connection_id":132755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:21:50] local.INFO: IMEI packet received {"connection_id":132755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 17:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":132755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:21:53] local.INFO: TCP Data received {"connection_id":132755,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:21:53] local.INFO: Processing buffer {"connection_id":132755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:21:53] local.INFO: IMEI packet received {"connection_id":132755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":132755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:21:55] local.INFO: TCP Data received {"connection_id":132755,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:21:55] local.INFO: Processing buffer {"connection_id":132755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:21:55] local.INFO: IMEI packet received {"connection_id":132755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":132755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:21:56] local.INFO: TCP Data received {"connection_id":132755,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f659aaf00012d1820000721b340004500d62b..."} 
[2026-07-15 17:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f659aaf00012d1820000721b340004500d62b..."} 
[2026-07-15 17:21:56] local.INFO: Processing buffer {"connection_id":132755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f659aaf00012d1820000721b340004500d62b..."} 
[2026-07-15 17:21:56] local.INFO: Packet analysis {"connection_id":132755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f659a"} 
[2026-07-15 17:21:56] local.INFO: Extracted packet for processing {"connection_id":132755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f659a"} 
[2026-07-15 17:21:56] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119649088,"longitude_deg":75.6555776,"latitude_deg":11.9649088,"altitude":69,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b340","is_valid_coordinates":true} 
[2026-07-15 17:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733707008001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6177687685038080,"note":"Value kept but may cause issues"} 
[2026-07-15 17:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260317696,"note":"Value kept but may cause issues"} 
[2026-07-15 17:21:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784116064000,"timestamp_ms":1784116064000,"timestamp_seconds":1784116064,"priority":1,"record_length":96,"hex_timestamp":"0000019f659aaf00"} 
[2026-07-15 17:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:21:56] 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-07-15 17:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 17:21:56] 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-07-15 17:21:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:21:56] 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-07-15 17:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733707008001,"66":12504,"105":206,"83":41984,"24":0,"16":6177687685038080,"45":1738811699260317696},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 17:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733707008001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:21:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 17:21:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 17:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6177687685038080,"km_value":6177687685038.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260317696,"description":"Unknown IO ID 45"} 
[2026-07-15 17:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733707008001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260317696}} 
[2026-07-15 17:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":132755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:21:56] local.INFO: GPS data processed {"connection_id":132755,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:21:56] local.INFO: Acknowledgment sent {"connection_id":132755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:22:01] local.INFO: TCP Data received {"connection_id":132755,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f659b0108012d1820000721b340004500d62b..."} 
[2026-07-15 17:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f659b0108012d1820000721b340004500d62b..."} 
[2026-07-15 17:22:01] local.INFO: Processing buffer {"connection_id":132755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f659b0108012d1820000721b340004500d62b..."} 
[2026-07-15 17:22:01] local.INFO: Packet analysis {"connection_id":132755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f659b"} 
[2026-07-15 17:22:01] local.INFO: Extracted packet for processing {"connection_id":132755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f659b"} 
[2026-07-15 17:22:01] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119649088,"longitude_deg":75.6555776,"latitude_deg":11.9649088,"altitude":69,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b340","is_valid_coordinates":true} 
[2026-07-15 17:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733712384001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6177687685038080,"note":"Value kept but may cause issues"} 
[2026-07-15 17:22:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795177984,"note":"Value kept but may cause issues"} 
[2026-07-15 17:22: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-07-15 17:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784116085000,"timestamp_ms":1784116085000,"timestamp_seconds":1784116085,"priority":1,"record_length":96,"hex_timestamp":"0000019f659b0108"} 
[2026-07-15 17:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:22:01] 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-07-15 17:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 17:22:01] 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-07-15 17:22: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-07-15 17:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":132755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":132755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":132755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:22:01] 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-07-15 17:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733712384001,"66":12504,"105":206,"83":41984,"24":0,"16":6177687685038080,"45":1738389486795177984},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 17:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733712384001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:22:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 17:22:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 17:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6177687685038080,"km_value":6177687685038.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:22:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795177984,"description":"Unknown IO ID 45"} 
[2026-07-15 17:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733712384001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795177984}} 
[2026-07-15 17:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":132755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:22:01] local.INFO: GPS data processed {"connection_id":132755,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:22:01] local.INFO: Acknowledgment sent {"connection_id":132755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:22:04] local.INFO: TCP Data received {"connection_id":133609,"ip":"117.224.43.111","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133609,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:22:04] local.INFO: Processing buffer {"connection_id":133609,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:22:04] local.INFO: IMEI packet received {"connection_id":133609,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 17:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":133609,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:22:06] local.INFO: TCP Data received {"connection_id":133608,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:22:06] local.INFO: Processing buffer {"connection_id":133608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:22:06] local.INFO: IMEI packet received {"connection_id":133608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":133608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:22:07] local.INFO: TCP Data received {"connection_id":133609,"ip":"117.224.43.111","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133609,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:22:07] local.INFO: Processing buffer {"connection_id":133609,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:22:07] local.INFO: IMEI packet received {"connection_id":133609,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 17:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":133609,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:22:09] local.INFO: TCP Data received {"connection_id":133609,"ip":"117.224.43.111","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133609,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:22:09] local.INFO: Processing buffer {"connection_id":133609,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:22:09] local.INFO: IMEI packet received {"connection_id":133609,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 17:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":133609,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:22:10] local.INFO: TCP Data received {"connection_id":133609,"ip":"117.224.43.111","data_length":795,"data_hex":"000000000000030f8e0a0000019f659ce568012d7b204005e2bd80000000aa20..."} 
[2026-07-15 17:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f659ce568012d7b204005e2bd80000000aa20..."} 
[2026-07-15 17:22:10] local.INFO: Processing buffer {"connection_id":133609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f659ce568012d7b204005e2bd80000000aa20..."} 
[2026-07-15 17:22:10] local.INFO: Packet analysis {"connection_id":133609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f659c"} 
[2026-07-15 17:22:10] local.INFO: Extracted packet for processing {"connection_id":133609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f659c"} 
[2026-07-15 17:22:10] local.INFO: GPS Element Parsed {"raw_longitude":763043904,"raw_latitude":98745728,"longitude_deg":76.3043904,"latitude_deg":9.8745728,"altitude":0,"angle":170,"satellites":32,"speed":34,"hex_longitude":"2d7b2040","hex_latitude":"05e2bd80","is_valid_coordinates":true} 
[2026-07-15 17:22: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-07-15 17:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733746944001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106628030616567808,"note":"Value kept but may cause issues"} 
[2026-07-15 17:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870613547573303296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784116209000,"timestamp_ms":1784116209000,"timestamp_seconds":1784116209,"priority":1,"record_length":96,"hex_timestamp":"0000019f659ce568"} 
[2026-07-15 17:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:22: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-07-15 17:22:10] local.WARNING: Large IO value detected {"io_id":19,"raw_value":3003127808,"note":"Value kept but may cause issues"} 
[2026-07-15 17:22:10] local.WARNING: Large IO value detected {"io_id":227,"raw_value":-4318952016867809280,"note":"Value kept but may cause issues"} 
[2026-07-15 17:22:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-15 17:22:10] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2611544065,"note":"Value kept but may cause issues"} 
[2026-07-15 17:22:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2732392654,"corrected_to":0} 
[2026-07-15 17:22:10] local.WARNING: Large IO value detected {"io_id":86,"raw_value":4160826746,"note":"Value kept but may cause issues"} 
[2026-07-15 17:22:10] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":2147869571,"corrected_to":0} 
[2026-07-15 17:22:10] local.WARNING: Large IO value detected {"io_id":122,"raw_value":3478454272,"note":"Value kept but may cause issues"} 
[2026-07-15 17:22:10] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3819046912,"note":"Value kept but may cause issues"} 
[2026-07-15 17:22:10] local.WARNING: Large IO value detected {"io_id":144,"raw_value":57885305781245243,"note":"Value kept but may cause issues"} 
[2026-07-15 17:22:10] local.WARNING: Large IO value detected {"io_id":154,"raw_value":-5273713868804145147,"note":"Value kept but may cause issues"} 
[2026-07-15 17:22:10] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,220,19,24,241,158,16,209,159,127,45,4,35,10,66,208,49,39,3,219,227,192,1,240,133,101,113,205,28,86,246,48,34,239,51,97,2,122,5,9,23,144,154],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2732392654,"validated":0},{"io_id":246,"original":2147869571,"validated":0}]} 
[2026-07-15 17:22:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":187041532870656,"timestamp_seconds":187041532870.656,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 17:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":133609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":133609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":133609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.43.111","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733746944001,"66":13352,"220":206,"19":45824,"24":34,"16":106628030616567808,"45":8870613547573303296},"client_ip":"117.224.43.111","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,19,24,16,45]} 
[2026-07-15 17:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733746944001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:22:10] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-15 17:22:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-07-15 17:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106628030616567808,"km_value":106628030616567.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870613547573303296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733746944001,"power":13352,"unknown_220":206,"unknown_19":45824,"ignition":34,"odometer":null,"unknown_45":8870613547573303296}} 
[2026-07-15 17:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":133609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492043,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:22:10] local.INFO: GPS data processed {"connection_id":133609,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:22:10] local.INFO: Acknowledgment sent {"connection_id":133609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:22:10] local.INFO: TCP Data received {"connection_id":133608,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:22:10] local.INFO: Processing buffer {"connection_id":133608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:22:10] local.INFO: IMEI packet received {"connection_id":133608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":133608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:22:10] local.INFO: TCP Data received {"connection_id":133608,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f659cbe58012d7f974005afda600002006c30..."} 
[2026-07-15 17:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f659cbe58012d7f974005afda600002006c30..."} 
[2026-07-15 17:22:10] local.INFO: Processing buffer {"connection_id":133608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f659cbe58012d7f974005afda600002006c30..."} 
[2026-07-15 17:22:10] local.INFO: Packet analysis {"connection_id":133608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f659c"} 
[2026-07-15 17:22:10] local.INFO: Extracted packet for processing {"connection_id":133608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f659c"} 
[2026-07-15 17:22:10] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":48,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:22:10] 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-07-15 17:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733743616001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784116199000,"timestamp_ms":1784116199000,"timestamp_seconds":1784116199,"priority":1,"record_length":96,"hex_timestamp":"0000019f659cbe58"} 
[2026-07-15 17:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 17:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:22: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-07-15 17:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":133608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":133608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":133608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:22:10] 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-07-15 17:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733743616001,"66":28006,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733743616001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:22:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:22:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733743616001,"power":28006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":133608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:22:10] local.INFO: GPS data processed {"connection_id":133608,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:22:10] local.INFO: Acknowledgment sent {"connection_id":133608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:22:11] local.INFO: TCP Data received {"connection_id":133608,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f659cca10012d7f974005afda600002006c32..."} 
[2026-07-15 17:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f659cca10012d7f974005afda600002006c32..."} 
[2026-07-15 17:22:11] local.INFO: Processing buffer {"connection_id":133608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f659cca10012d7f974005afda600002006c32..."} 
[2026-07-15 17:22:11] local.INFO: Packet analysis {"connection_id":133608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f659c"} 
[2026-07-15 17:22:11] local.INFO: Extracted packet for processing {"connection_id":133608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f659c"} 
[2026-07-15 17:22:11] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":50,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733746944001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784116202000,"timestamp_ms":1784116202000,"timestamp_seconds":1784116202,"priority":1,"record_length":96,"hex_timestamp":"0000019f659cca10"} 
[2026-07-15 17:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 17: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 17:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17: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-07-15 17:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":133608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":133608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":133608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:22:11] 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-07-15 17:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733746944001,"66":27213,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733746944001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:22:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:22:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733746944001,"power":27213,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":133608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:22:11] local.INFO: GPS data processed {"connection_id":133608,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:22:11] local.INFO: Acknowledgment sent {"connection_id":133608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:22:15] local.INFO: TCP Data received {"connection_id":133609,"ip":"117.224.43.111","data_length":795,"data_hex":"000000000000030f8e0a0000019f659d1060012d7b258005e29a30000000ad20..."} 
[2026-07-15 17:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f659d1060012d7b258005e29a30000000ad20..."} 
[2026-07-15 17:22:15] local.INFO: Processing buffer {"connection_id":133609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f659d1060012d7b258005e29a30000000ad20..."} 
[2026-07-15 17:22:15] local.INFO: Packet analysis {"connection_id":133609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f659d"} 
[2026-07-15 17:22:15] local.INFO: Extracted packet for processing {"connection_id":133609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f659d"} 
[2026-07-15 17:22:15] local.INFO: GPS Element Parsed {"raw_longitude":763045248,"raw_latitude":98736688,"longitude_deg":76.3045248,"latitude_deg":9.8736688,"altitude":0,"angle":173,"satellites":32,"speed":26,"hex_longitude":"2d7b2580","hex_latitude":"05e29a30","is_valid_coordinates":true} 
[2026-07-15 17:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733749504001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106628472998199296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:22:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872161659942961152,"note":"Value kept but may cause issues"} 
[2026-07-15 17:22:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784116220000,"timestamp_ms":1784116220000,"timestamp_seconds":1784116220,"priority":1,"record_length":96,"hex_timestamp":"0000019f659d1060"} 
[2026-07-15 17:22:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:22:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-15 17:22:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:22:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:22:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":133609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":133609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":133609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:22:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.43.111","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733749504001,"66":13363,"220":206,"19":45824,"24":26,"16":106628472998199296,"45":8872161659942961152},"client_ip":"117.224.43.111","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,19,24,16,45]} 
[2026-07-15 17:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733749504001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:22:15] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-15 17:22:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-07-15 17:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106628472998199296,"km_value":106628472998199.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:22:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872161659942961152,"description":"Unknown IO ID 45"} 
[2026-07-15 17:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733749504001,"power":13363,"unknown_220":206,"unknown_19":45824,"ignition":26,"odometer":null,"unknown_45":8872161659942961152}} 
[2026-07-15 17:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":133609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492046,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:22:15] local.INFO: GPS data processed {"connection_id":133609,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:22:15] local.INFO: Acknowledgment sent {"connection_id":133609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:22:32] local.INFO: TCP Data received {"connection_id":132755,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f659b5310012d1820000721b340004500d62c..."} 
[2026-07-15 17:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f659b5310012d1820000721b340004500d62c..."} 
[2026-07-15 17:22:32] local.INFO: Processing buffer {"connection_id":132755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f659b5310012d1820000721b340004500d62c..."} 
[2026-07-15 17:22:32] local.INFO: Packet analysis {"connection_id":132755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f659b"} 
[2026-07-15 17:22:32] local.INFO: Extracted packet for processing {"connection_id":132755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f659b"} 
[2026-07-15 17:22:32] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119649088,"longitude_deg":75.6555776,"latitude_deg":11.9649088,"altitude":69,"angle":214,"satellites":44,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b340","is_valid_coordinates":true} 
[2026-07-15 17:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733717760001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6177687685038080,"note":"Value kept but may cause issues"} 
[2026-07-15 17:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795177984,"note":"Value kept but may cause issues"} 
[2026-07-15 17:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784116106000,"timestamp_ms":1784116106000,"timestamp_seconds":1784116106,"priority":1,"record_length":96,"hex_timestamp":"0000019f659b5310"} 
[2026-07-15 17:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:22:32] 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-07-15 17:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 17:22:32] 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-07-15 17:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":132755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":132755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":132755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:22:32] 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-07-15 17:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733717760001,"66":12504,"105":206,"83":41984,"24":0,"16":6177687685038080,"45":1738389486795177984},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 17:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733717760001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:22:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 17:22:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 17:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6177687685038080,"km_value":6177687685038.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795177984,"description":"Unknown IO ID 45"} 
[2026-07-15 17:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733717760001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795177984}} 
[2026-07-15 17:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":132755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492047,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:22:32] local.INFO: GPS data processed {"connection_id":132755,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:22:32] local.INFO: Acknowledgment sent {"connection_id":132755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:22:43] local.INFO: TCP Data received {"connection_id":133608,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f659d2fa0012d7f974005afda600002006c30..."} 
[2026-07-15 17:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f659d2fa0012d7f974005afda600002006c30..."} 
[2026-07-15 17:22:43] local.INFO: Processing buffer {"connection_id":133608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f659d2fa0012d7f974005afda600002006c30..."} 
[2026-07-15 17:22:43] local.INFO: Packet analysis {"connection_id":133608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f659d"} 
[2026-07-15 17:22:43] local.INFO: Extracted packet for processing {"connection_id":133608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f659d"} 
[2026-07-15 17:22:43] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":48,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733747712001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784116228000,"timestamp_ms":1784116228000,"timestamp_seconds":1784116228,"priority":1,"record_length":96,"hex_timestamp":"0000019f659d2fa0"} 
[2026-07-15 17:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:22:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-15 17:22:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:22:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":133608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":133608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":133608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:22:43] 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-07-15 17:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733747712001,"66":26713,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733747712001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:22:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:22:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733747712001,"power":26713,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":133608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:22:43] local.INFO: GPS data processed {"connection_id":133608,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:22:43] local.INFO: Acknowledgment sent {"connection_id":133608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:22:49] local.INFO: TCP Data received {"connection_id":132578,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:22:49] local.INFO: Processing buffer {"connection_id":132578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:22:49] local.INFO: IMEI packet received {"connection_id":132578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 17:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":132578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:22:50] local.INFO: TCP Data received {"connection_id":132578,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:22:50] local.INFO: Processing buffer {"connection_id":132578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:22:50] local.INFO: IMEI packet received {"connection_id":132578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":132578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:22:51] local.INFO: TCP Data received {"connection_id":132578,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:22:51] local.INFO: Processing buffer {"connection_id":132578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:22:51] local.INFO: IMEI packet received {"connection_id":132578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":132578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:22:52] local.INFO: TCP Data received {"connection_id":132578,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:22:52] local.INFO: Processing buffer {"connection_id":132578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:22:52] local.INFO: IMEI packet received {"connection_id":132578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":132578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:22:59] local.INFO: TCP Data received {"connection_id":134967,"ip":"117.224.43.111","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134967,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:22:59] local.INFO: Processing buffer {"connection_id":134967,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:22:59] local.INFO: IMEI packet received {"connection_id":134967,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 17:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":134967,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:22:59] local.INFO: TCP Data received {"connection_id":133610,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133610,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:22:59] local.INFO: Processing buffer {"connection_id":133610,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:22:59] local.INFO: IMEI packet received {"connection_id":133610,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 17:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":133610,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:23:00] local.INFO: TCP Data received {"connection_id":134966,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:23:00] local.INFO: Processing buffer {"connection_id":134966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:23:00] local.INFO: IMEI packet received {"connection_id":134966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":134966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:23:05] local.INFO: TCP Data received {"connection_id":134967,"ip":"117.224.43.111","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134967,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:23:05] local.INFO: Processing buffer {"connection_id":134967,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:23:05] local.INFO: IMEI packet received {"connection_id":134967,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 17:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":134967,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:23:05] local.INFO: TCP Data received {"connection_id":134966,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:23:05] local.INFO: Processing buffer {"connection_id":134966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:23:05] local.INFO: IMEI packet received {"connection_id":134966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":134966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:23:06] local.INFO: TCP Data received {"connection_id":134966,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f659d81a8012d7f974005afda600002006c2f..."} 
[2026-07-15 17:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f659d81a8012d7f974005afda600002006c2f..."} 
[2026-07-15 17:23:06] local.INFO: Processing buffer {"connection_id":134966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f659d81a8012d7f974005afda600002006c2f..."} 
[2026-07-15 17:23:06] local.INFO: Packet analysis {"connection_id":134966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f659d"} 
[2026-07-15 17:23:06] local.INFO: Extracted packet for processing {"connection_id":134966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f659d"} 
[2026-07-15 17:23:06] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":47,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733754368001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784116249000,"timestamp_ms":1784116249000,"timestamp_seconds":1784116249,"priority":1,"record_length":96,"hex_timestamp":"0000019f659d81a8"} 
[2026-07-15 17:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":89,"data_length":795,"current_offset":136} 
[2026-07-15 17:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1519,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":134966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":134966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":134966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:23:06] 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-07-15 17:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733754368001,"66":26517,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733754368001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:23:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:23:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733754368001,"power":26517,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":134966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:23:06] local.INFO: GPS data processed {"connection_id":134966,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:23:06] local.INFO: Acknowledgment sent {"connection_id":134966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:23:06] local.INFO: TCP Data received {"connection_id":134967,"ip":"117.224.43.111","data_length":795,"data_hex":"000000000000030f8e0a0000019f659f0460012d7b43c005e1aec00000005728..."} 
[2026-07-15 17:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f659f0460012d7b43c005e1aec00000005728..."} 
[2026-07-15 17:23:06] local.INFO: Processing buffer {"connection_id":134967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f659f0460012d7b43c005e1aec00000005728..."} 
[2026-07-15 17:23:06] local.INFO: Packet analysis {"connection_id":134967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f659f"} 
[2026-07-15 17:23:06] local.INFO: Extracted packet for processing {"connection_id":134967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f659f"} 
[2026-07-15 17:23:06] local.INFO: GPS Element Parsed {"raw_longitude":763052992,"raw_latitude":98676416,"longitude_deg":76.3052992,"latitude_deg":9.8676416,"altitude":0,"angle":87,"satellites":40,"speed":4,"hex_longitude":"2d7b43c0","hex_latitude":"05e1aec0","is_valid_coordinates":true} 
[2026-07-15 17:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733784576001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106631458000470016,"note":"Value kept but may cause issues"} 
[2026-07-15 17:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881942915365910528,"note":"Value kept but may cause issues"} 
[2026-07-15 17:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784116348000,"timestamp_ms":1784116348000,"timestamp_seconds":1784116348,"priority":1,"record_length":96,"hex_timestamp":"0000019f659f0460"} 
[2026-07-15 17:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-15 17:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":134967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":134967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":134967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.43.111","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733784576001,"66":13048,"47":206,"19":45824,"24":4,"16":106631458000470016,"45":8881942915365910528},"client_ip":"117.224.43.111","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,19,24,16,45]} 
[2026-07-15 17:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733784576001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:23:06] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-15 17:23:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-07-15 17:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106631458000470016,"km_value":106631458000470.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881942915365910528,"description":"Unknown IO ID 45"} 
[2026-07-15 17:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733784576001,"power":13048,"unknown_47":206,"unknown_19":45824,"ignition":4,"odometer":null,"unknown_45":8881942915365910528}} 
[2026-07-15 17:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":134967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492050,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:23:06] local.INFO: GPS data processed {"connection_id":134967,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:23:06] local.INFO: Acknowledgment sent {"connection_id":134967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:23:34] local.INFO: TCP Data received {"connection_id":132756,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132756,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:23:34] local.INFO: Processing buffer {"connection_id":132756,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:23:34] local.INFO: IMEI packet received {"connection_id":132756,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 17:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":132756,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:23:37] local.INFO: TCP Data received {"connection_id":134966,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f659dd3b0012d7f974005afda600002006c31..."} 
[2026-07-15 17:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f659dd3b0012d7f974005afda600002006c31..."} 
[2026-07-15 17:23:37] local.INFO: Processing buffer {"connection_id":134966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f659dd3b0012d7f974005afda600002006c31..."} 
[2026-07-15 17:23:37] local.INFO: Packet analysis {"connection_id":134966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f659d"} 
[2026-07-15 17:23:37] local.INFO: Extracted packet for processing {"connection_id":134966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f659d"} 
[2026-07-15 17:23:37] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":49,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17: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-07-15 17:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733759744001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784116270000,"timestamp_ms":1784116270000,"timestamp_seconds":1784116270,"priority":1,"record_length":96,"hex_timestamp":"0000019f659dd3b0"} 
[2026-07-15 17:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17: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":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-07-15 17:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17: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-07-15 17:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":134966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":134966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":134966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:23:37] 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-07-15 17:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733759744001,"66":26256,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733759744001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:23:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:23:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733759744001,"power":26256,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":134966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:23:38] local.INFO: GPS data processed {"connection_id":134966,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:23:38] local.INFO: Acknowledgment sent {"connection_id":134966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:23:38] local.INFO: TCP Data received {"connection_id":134967,"ip":"117.224.43.111","data_length":795,"data_hex":"000000000000030f8e0a0000019f659f1400012d7b460005e1af180000004a2a..."} 
[2026-07-15 17:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f659f1400012d7b460005e1af180000004a2a..."} 
[2026-07-15 17:23:38] local.INFO: Processing buffer {"connection_id":134967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f659f1400012d7b460005e1af180000004a2a..."} 
[2026-07-15 17:23:38] local.INFO: Packet analysis {"connection_id":134967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f659f"} 
[2026-07-15 17:23:38] local.INFO: Extracted packet for processing {"connection_id":134967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f659f"} 
[2026-07-15 17:23:38] local.INFO: GPS Element Parsed {"raw_longitude":763053568,"raw_latitude":98676504,"longitude_deg":76.3053568,"latitude_deg":9.8676504,"altitude":0,"angle":74,"satellites":42,"speed":5,"hex_longitude":"2d7b4600","hex_latitude":"05e1af18","is_valid_coordinates":true} 
[2026-07-15 17:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733785088001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106631488065241088,"note":"Value kept but may cause issues"} 
[2026-07-15 17:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882154021598445568,"note":"Value kept but may cause issues"} 
[2026-07-15 17:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784116352000,"timestamp_ms":1784116352000,"timestamp_seconds":1784116352,"priority":1,"record_length":96,"hex_timestamp":"0000019f659f1400"} 
[2026-07-15 17:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-15 17:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17: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-07-15 17:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.43.111","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733785088001,"66":12961,"47":206,"19":45824,"24":5,"16":106631488065241088,"45":8882154021598445568},"client_ip":"117.224.43.111","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,19,24,16,45]} 
[2026-07-15 17:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733785088001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:23:38] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-15 17:23:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-07-15 17:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106631488065241088,"km_value":106631488065241.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882154021598445568,"description":"Unknown IO ID 45"} 
[2026-07-15 17:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733785088001,"power":12961,"unknown_47":206,"unknown_19":45824,"ignition":5,"odometer":null,"unknown_45":8882154021598445568}} 
[2026-07-15 17:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":134967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492052,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:23:38] local.INFO: GPS data processed {"connection_id":134967,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:23:38] local.INFO: Acknowledgment sent {"connection_id":134967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:23:59] local.INFO: TCP Data received {"connection_id":132581,"ip":"117.224.43.111","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132581,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:23:59] local.INFO: Processing buffer {"connection_id":132581,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:23:59] local.INFO: IMEI packet received {"connection_id":132581,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 17:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":132581,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:24:01] local.INFO: TCP Data received {"connection_id":132580,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:24:01] local.INFO: Processing buffer {"connection_id":132580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:24:01] local.INFO: IMEI packet received {"connection_id":132580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":132580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:24:05] local.INFO: TCP Data received {"connection_id":132581,"ip":"117.224.43.111","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132581,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:24:05] local.INFO: Processing buffer {"connection_id":132581,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:24:05] local.INFO: IMEI packet received {"connection_id":132581,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 17:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":132581,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:24:06] local.INFO: TCP Data received {"connection_id":132580,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:24:06] local.INFO: Processing buffer {"connection_id":132580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:24:06] local.INFO: IMEI packet received {"connection_id":132580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":132580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:24:06] local.INFO: TCP Data received {"connection_id":132581,"ip":"117.224.43.111","data_length":795,"data_hex":"000000000000030f8e0a0000019f659f3b10012d7b554005e1b2700000005627..."} 
[2026-07-15 17:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f659f3b10012d7b554005e1b2700000005627..."} 
[2026-07-15 17:24:06] local.INFO: Processing buffer {"connection_id":132581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f659f3b10012d7b554005e1b2700000005627..."} 
[2026-07-15 17:24:06] local.INFO: Packet analysis {"connection_id":132581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f659f"} 
[2026-07-15 17:24:06] local.INFO: Extracted packet for processing {"connection_id":132581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f659f"} 
[2026-07-15 17:24:06] local.INFO: GPS Element Parsed {"raw_longitude":763057472,"raw_latitude":98677360,"longitude_deg":76.3057472,"latitude_deg":9.867736,"altitude":0,"angle":86,"satellites":39,"speed":19,"hex_longitude":"2d7b5540","hex_latitude":"05e1b270","is_valid_coordinates":true} 
[2026-07-15 17:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733786112001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106631681338769408,"note":"Value kept but may cause issues"} 
[2026-07-15 17:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882787340296067072,"note":"Value kept but may cause issues"} 
[2026-07-15 17:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784116362000,"timestamp_ms":1784116362000,"timestamp_seconds":1784116362,"priority":1,"record_length":96,"hex_timestamp":"0000019f659f3b10"} 
[2026-07-15 17:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-15 17:24:06] 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-07-15 17:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.43.111","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733786112001,"66":13341,"47":206,"19":45824,"24":19,"16":106631681338769408,"45":8882787340296067072},"client_ip":"117.224.43.111","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,19,24,16,45]} 
[2026-07-15 17:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733786112001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:24:06] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-15 17:24:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-07-15 17:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106631681338769408,"km_value":106631681338769.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882787340296067072,"description":"Unknown IO ID 45"} 
[2026-07-15 17:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733786112001,"power":13341,"unknown_47":206,"unknown_19":45824,"ignition":19,"odometer":null,"unknown_45":8882787340296067072}} 
[2026-07-15 17:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":132581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492053,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:24:06] local.INFO: GPS data processed {"connection_id":132581,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:24:06] local.INFO: Acknowledgment sent {"connection_id":132581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:24:06] local.INFO: TCP Data received {"connection_id":132580,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f659e25b8012d7f974005afda600002006c33..."} 
[2026-07-15 17:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f659e25b8012d7f974005afda600002006c33..."} 
[2026-07-15 17:24:06] local.INFO: Processing buffer {"connection_id":132580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f659e25b8012d7f974005afda600002006c33..."} 
[2026-07-15 17:24:06] local.INFO: Packet analysis {"connection_id":132580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f659e"} 
[2026-07-15 17:24:06] local.INFO: Extracted packet for processing {"connection_id":132580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f659e"} 
[2026-07-15 17:24:06] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":51,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733765120001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784116291000,"timestamp_ms":1784116291000,"timestamp_seconds":1784116291,"priority":1,"record_length":96,"hex_timestamp":"0000019f659e25b8"} 
[2026-07-15 17:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-07-15 17:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2004,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:24:06] 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-07-15 17:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733765120001,"66":26136,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733765120001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:24:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:24:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733765120001,"power":26136,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":132580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:24:06] local.INFO: GPS data processed {"connection_id":132580,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:24:06] local.INFO: Acknowledgment sent {"connection_id":132580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:24:37] local.INFO: TCP Data received {"connection_id":132581,"ip":"117.224.43.111","data_length":795,"data_hex":"000000000000030f8e0a0000019f659f8930012d7b6e0005e1b4d8000100572b..."} 
[2026-07-15 17:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f659f8930012d7b6e0005e1b4d8000100572b..."} 
[2026-07-15 17:24:37] local.INFO: Processing buffer {"connection_id":132581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f659f8930012d7b6e0005e1b4d8000100572b..."} 
[2026-07-15 17:24:37] local.INFO: Packet analysis {"connection_id":132581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f659f"} 
[2026-07-15 17:24:37] local.INFO: Extracted packet for processing {"connection_id":132581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f659f"} 
[2026-07-15 17:24:37] local.INFO: GPS Element Parsed {"raw_longitude":763063808,"raw_latitude":98677976,"longitude_deg":76.3063808,"latitude_deg":9.8677976,"altitude":1,"angle":87,"satellites":43,"speed":4,"hex_longitude":"2d7b6e00","hex_latitude":"05e1b4d8","is_valid_coordinates":true} 
[2026-07-15 17:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733788672001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106631981986480128,"note":"Value kept but may cause issues"} 
[2026-07-15 17:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887079833691123712,"note":"Value kept but may cause issues"} 
[2026-07-15 17:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784116382000,"timestamp_ms":1784116382000,"timestamp_seconds":1784116382,"priority":1,"record_length":96,"hex_timestamp":"0000019f659f8930"} 
[2026-07-15 17:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-15 17:24:37] 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-07-15 17:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.43.111","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733788672001,"66":13254,"47":206,"19":45824,"24":4,"16":106631981986480128,"45":8887079833691123712},"client_ip":"117.224.43.111","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,19,24,16,45]} 
[2026-07-15 17:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733788672001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:24:37] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-15 17:24:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-07-15 17:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106631981986480128,"km_value":106631981986480.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887079833691123712,"description":"Unknown IO ID 45"} 
[2026-07-15 17:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733788672001,"power":13254,"unknown_47":206,"unknown_19":45824,"ignition":4,"odometer":null,"unknown_45":8887079833691123712}} 
[2026-07-15 17:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":132581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492055,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:24:37] local.INFO: GPS data processed {"connection_id":132581,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:24:37] local.INFO: Acknowledgment sent {"connection_id":132581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:24:37] local.INFO: TCP Data received {"connection_id":132580,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f659e77c0012d7f974005afda600002006c32..."} 
[2026-07-15 17:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f659e77c0012d7f974005afda600002006c32..."} 
[2026-07-15 17:24:37] local.INFO: Processing buffer {"connection_id":132580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f659e77c0012d7f974005afda600002006c32..."} 
[2026-07-15 17:24:37] local.INFO: Packet analysis {"connection_id":132580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f659e"} 
[2026-07-15 17:24:37] local.INFO: Extracted packet for processing {"connection_id":132580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f659e"} 
[2026-07-15 17:24:37] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":50,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733770496001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784116312000,"timestamp_ms":1784116312000,"timestamp_seconds":1784116312,"priority":1,"record_length":96,"hex_timestamp":"0000019f659e77c0"} 
[2026-07-15 17:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-15 17:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:24:37] 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-07-15 17:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733770496001,"66":26039,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733770496001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:24:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:24:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733770496001,"power":26039,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":132580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:24:37] local.INFO: GPS data processed {"connection_id":132580,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:24:37] local.INFO: Acknowledgment sent {"connection_id":132580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:25:00] local.INFO: TCP Data received {"connection_id":132584,"ip":"117.224.43.111","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:25:00] local.INFO: Processing buffer {"connection_id":132584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:25:00] local.INFO: IMEI packet received {"connection_id":132584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 17:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":132584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:25:00] local.INFO: TCP Data received {"connection_id":134968,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:25:00] local.INFO: Processing buffer {"connection_id":134968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:25:00] local.INFO: IMEI packet received {"connection_id":134968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":134968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:25:02] local.INFO: TCP Data received {"connection_id":132584,"ip":"117.224.43.111","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:25:02] local.INFO: Processing buffer {"connection_id":132584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:25:02] local.INFO: IMEI packet received {"connection_id":132584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 17:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":132584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:25:04] local.INFO: TCP Data received {"connection_id":132584,"ip":"117.224.43.111","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:25:04] local.INFO: Processing buffer {"connection_id":132584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:25:04] local.INFO: IMEI packet received {"connection_id":132584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 17:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":132584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:25:04] local.INFO: TCP Data received {"connection_id":132584,"ip":"117.224.43.111","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:25:04] local.INFO: Processing buffer {"connection_id":132584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:25:04] local.INFO: IMEI packet received {"connection_id":132584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 17:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":132584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:25:06] local.INFO: TCP Data received {"connection_id":134968,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:25:06] local.INFO: Processing buffer {"connection_id":134968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:25:06] local.INFO: IMEI packet received {"connection_id":134968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":134968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:25:06] local.INFO: TCP Data received {"connection_id":134968,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f659ec9c8012d7f974005afda600002006c32..."} 
[2026-07-15 17:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f659ec9c8012d7f974005afda600002006c32..."} 
[2026-07-15 17:25:06] local.INFO: Processing buffer {"connection_id":134968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f659ec9c8012d7f974005afda600002006c32..."} 
[2026-07-15 17:25:06] local.INFO: Packet analysis {"connection_id":134968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f659e"} 
[2026-07-15 17:25:06] local.INFO: Extracted packet for processing {"connection_id":134968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f659e"} 
[2026-07-15 17:25:06] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":50,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733775872001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784116333000,"timestamp_ms":1784116333000,"timestamp_seconds":1784116333,"priority":1,"record_length":96,"hex_timestamp":"0000019f659ec9c8"} 
[2026-07-15 17:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-15 17:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":134968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":134968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":134968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:25:06] 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-07-15 17:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733775872001,"66":25908,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733775872001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:25:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:25:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733775872001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":134968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:25:06] local.INFO: GPS data processed {"connection_id":134968,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:25:06] local.INFO: Acknowledgment sent {"connection_id":134968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:25:37] local.INFO: TCP Data received {"connection_id":134968,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f659f1bd0012d7f974005afda600002006c31..."} 
[2026-07-15 17:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f659f1bd0012d7f974005afda600002006c31..."} 
[2026-07-15 17:25:37] local.INFO: Processing buffer {"connection_id":134968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f659f1bd0012d7f974005afda600002006c31..."} 
[2026-07-15 17:25:37] local.INFO: Packet analysis {"connection_id":134968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f659f"} 
[2026-07-15 17:25:37] local.INFO: Extracted packet for processing {"connection_id":134968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f659f"} 
[2026-07-15 17:25:37] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":49,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733781248001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784116354000,"timestamp_ms":1784116354000,"timestamp_seconds":1784116354,"priority":1,"record_length":96,"hex_timestamp":"0000019f659f1bd0"} 
[2026-07-15 17:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-15 17:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":134968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":134968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":134968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:25:37] 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-07-15 17:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733781248001,"66":25875,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733781248001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:25:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:25:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733781248001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":134968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:25:37] local.INFO: GPS data processed {"connection_id":134968,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:25:37] local.INFO: Acknowledgment sent {"connection_id":134968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:26:00] local.INFO: TCP Data received {"connection_id":132758,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:26:00] local.INFO: Processing buffer {"connection_id":132758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:26:00] local.INFO: IMEI packet received {"connection_id":132758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":132758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:26:01] local.INFO: TCP Data received {"connection_id":132758,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:26:01] local.INFO: Processing buffer {"connection_id":132758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:26:01] local.INFO: IMEI packet received {"connection_id":132758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":132758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:26:05] local.INFO: TCP Data received {"connection_id":132758,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:26:05] local.INFO: Processing buffer {"connection_id":132758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:26:05] local.INFO: IMEI packet received {"connection_id":132758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":132758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:26:06] local.INFO: TCP Data received {"connection_id":132758,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f659f6dd8012d7f974005afda600002006c2f..."} 
[2026-07-15 17:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f659f6dd8012d7f974005afda600002006c2f..."} 
[2026-07-15 17:26:06] local.INFO: Processing buffer {"connection_id":132758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f659f6dd8012d7f974005afda600002006c2f..."} 
[2026-07-15 17:26:06] local.INFO: Packet analysis {"connection_id":132758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f659f"} 
[2026-07-15 17:26:06] local.INFO: Extracted packet for processing {"connection_id":132758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f659f"} 
[2026-07-15 17:26:06] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":47,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733786624001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784116375000,"timestamp_ms":1784116375000,"timestamp_seconds":1784116375,"priority":1,"record_length":96,"hex_timestamp":"0000019f659f6dd8"} 
[2026-07-15 17:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-15 17:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:26:06] 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-07-15 17:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733786624001,"66":25756,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733786624001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:26:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:26:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733786624001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":132758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:26:06] local.INFO: GPS data processed {"connection_id":132758,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:26:06] local.INFO: Acknowledgment sent {"connection_id":132758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:26:37] local.INFO: TCP Data received {"connection_id":132758,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f659fbfe0012d7f974005afda600002006c31..."} 
[2026-07-15 17:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f659fbfe0012d7f974005afda600002006c31..."} 
[2026-07-15 17:26:37] local.INFO: Processing buffer {"connection_id":132758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f659fbfe0012d7f974005afda600002006c31..."} 
[2026-07-15 17:26:37] local.INFO: Packet analysis {"connection_id":132758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f659f"} 
[2026-07-15 17:26:37] local.INFO: Extracted packet for processing {"connection_id":132758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f659f"} 
[2026-07-15 17:26:37] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":49,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733792000001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784116396000,"timestamp_ms":1784116396000,"timestamp_seconds":1784116396,"priority":1,"record_length":96,"hex_timestamp":"0000019f659fbfe0"} 
[2026-07-15 17:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 17:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:26:37] 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-07-15 17:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733792000001,"66":25702,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733792000001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:26:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:26:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733792000001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":132758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:26:37] local.INFO: GPS data processed {"connection_id":132758,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:26:37] local.INFO: Acknowledgment sent {"connection_id":132758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:27:03] local.INFO: TCP Data received {"connection_id":132587,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:27:03] local.INFO: Processing buffer {"connection_id":132587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:27:03] local.INFO: IMEI packet received {"connection_id":132587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":132587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:27:05] local.INFO: TCP Data received {"connection_id":132587,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:27:05] local.INFO: Processing buffer {"connection_id":132587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:27:05] local.INFO: IMEI packet received {"connection_id":132587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":132587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:27:10] local.INFO: TCP Data received {"connection_id":132587,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:27:10] local.INFO: Processing buffer {"connection_id":132587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:27:10] local.INFO: IMEI packet received {"connection_id":132587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":132587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:27:11] local.INFO: TCP Data received {"connection_id":132587,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f65a011e8012d7f974005afda600002006c30..."} 
[2026-07-15 17:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65a011e8012d7f974005afda600002006c30..."} 
[2026-07-15 17:27:11] local.INFO: Processing buffer {"connection_id":132587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65a011e8012d7f974005afda600002006c30..."} 
[2026-07-15 17:27:11] local.INFO: Packet analysis {"connection_id":132587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65a0"} 
[2026-07-15 17:27:11] local.INFO: Extracted packet for processing {"connection_id":132587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65a0"} 
[2026-07-15 17:27:11] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":48,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733797376001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784116417000,"timestamp_ms":1784116417000,"timestamp_seconds":1784116417,"priority":1,"record_length":96,"hex_timestamp":"0000019f65a011e8"} 
[2026-07-15 17:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 17:27:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:27: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-07-15 17:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:27:11] 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-07-15 17:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733797376001,"66":25582,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733797376001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:27:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:27:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733797376001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":132587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:27:11] local.INFO: GPS data processed {"connection_id":132587,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:27:11] local.INFO: Acknowledgment sent {"connection_id":132587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:27:42] local.INFO: TCP Data received {"connection_id":132587,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f65a063f0012d7f974005afda600002006c2e..."} 
[2026-07-15 17:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65a063f0012d7f974005afda600002006c2e..."} 
[2026-07-15 17:27:42] local.INFO: Processing buffer {"connection_id":132587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65a063f0012d7f974005afda600002006c2e..."} 
[2026-07-15 17:27:42] local.INFO: Packet analysis {"connection_id":132587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65a0"} 
[2026-07-15 17:27:42] local.INFO: Extracted packet for processing {"connection_id":132587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65a0"} 
[2026-07-15 17:27:42] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":46,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733802752001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784116438000,"timestamp_ms":1784116438000,"timestamp_seconds":1784116438,"priority":1,"record_length":96,"hex_timestamp":"0000019f65a063f0"} 
[2026-07-15 17:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 17:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:27:42] 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-07-15 17:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733802752001,"66":25441,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733802752001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:27:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:27:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733802752001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":132587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:27:42] local.INFO: GPS data processed {"connection_id":132587,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:27:42] local.INFO: Acknowledgment sent {"connection_id":132587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:27:55] local.INFO: TCP Data received {"connection_id":134969,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:27:55] local.INFO: Processing buffer {"connection_id":134969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:27:55] local.INFO: IMEI packet received {"connection_id":134969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 17:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":134969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:27:57] local.INFO: TCP Data received {"connection_id":134969,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f65a29a58012d18fe0007214a600040012b2a..."} 
[2026-07-15 17:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65a29a58012d18fe0007214a600040012b2a..."} 
[2026-07-15 17:27:57] local.INFO: Processing buffer {"connection_id":134969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65a29a58012d18fe0007214a600040012b2a..."} 
[2026-07-15 17:27:57] local.INFO: Packet analysis {"connection_id":134969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65a2"} 
[2026-07-15 17:27:57] local.INFO: Extracted packet for processing {"connection_id":134969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65a2"} 
[2026-07-15 17:27:57] local.INFO: GPS Element Parsed {"raw_longitude":756612608,"raw_latitude":119622240,"longitude_deg":75.6612608,"latitude_deg":11.962224,"altitude":64,"angle":299,"satellites":42,"speed":10,"hex_longitude":"2d18fe00","hex_latitude":"07214a60","is_valid_coordinates":true} 
[2026-07-15 17: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-07-15 17:27:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733844992001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:27:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6181682004623360,"note":"Value kept but may cause issues"} 
[2026-07-15 17:27:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1801088037850556416,"note":"Value kept but may cause issues"} 
[2026-07-15 17:27:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:27:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784116583000,"timestamp_ms":1784116583000,"timestamp_seconds":1784116583,"priority":1,"record_length":96,"hex_timestamp":"0000019f65a29a58"} 
[2026-07-15 17:27:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:27:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-15 17:27:57] 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-07-15 17: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-07-15 17:27:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:27:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:27:57] local.INFO: Teltonika packet parsed successfully {"connection_id":134969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:27:57] local.INFO: Passing IMEI to GPS processor {"connection_id":134969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:27:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":134969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:27:57] 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-07-15 17:27:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:27:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:27:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733844992001,"66":12591,"103":206,"83":41984,"24":10,"16":6181682004623360,"45":1801088037850556416},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-15 17:27:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:27:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:27:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733844992001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:27:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-15 17:27:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 17:27:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6181682004623360,"km_value":6181682004623.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:27:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1801088037850556416,"description":"Unknown IO ID 45"} 
[2026-07-15 17:27:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733844992001,"power":12591,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1801088037850556416}} 
[2026-07-15 17:27:57] local.INFO: DEBUG: GPS processor result {"connection_id":134969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:27:57] local.INFO: GPS data processed {"connection_id":134969,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:27:57] local.INFO: Acknowledgment sent {"connection_id":134969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:28:00] local.INFO: TCP Data received {"connection_id":134970,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:28:00] local.INFO: Processing buffer {"connection_id":134970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:28:00] local.INFO: IMEI packet received {"connection_id":134970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":134970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:28:05] local.INFO: TCP Data received {"connection_id":134970,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:28:05] local.INFO: Processing buffer {"connection_id":134970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:28:05] local.INFO: IMEI packet received {"connection_id":134970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":134970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:28:06] local.INFO: TCP Data received {"connection_id":134970,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f65a0b5f8012d7f974005afda600002006c31..."} 
[2026-07-15 17:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65a0b5f8012d7f974005afda600002006c31..."} 
[2026-07-15 17:28:06] local.INFO: Processing buffer {"connection_id":134970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65a0b5f8012d7f974005afda600002006c31..."} 
[2026-07-15 17:28:06] local.INFO: Packet analysis {"connection_id":134970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65a0"} 
[2026-07-15 17:28:06] local.INFO: Extracted packet for processing {"connection_id":134970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65a0"} 
[2026-07-15 17:28:06] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":49,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733808128001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784116459000,"timestamp_ms":1784116459000,"timestamp_seconds":1784116459,"priority":1,"record_length":96,"hex_timestamp":"0000019f65a0b5f8"} 
[2026-07-15 17:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-15 17:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":134970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":134970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":134970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:28:06] 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-07-15 17:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733808128001,"66":25538,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733808128001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:28:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:28:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733808128001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":134970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:28:06] local.INFO: GPS data processed {"connection_id":134970,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:28:06] local.INFO: Acknowledgment sent {"connection_id":134970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:28:28] local.INFO: TCP Data received {"connection_id":134969,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f65a3c720012d1874c007218148004801092b..."} 
[2026-07-15 17:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65a3c720012d1874c007218148004801092b..."} 
[2026-07-15 17:28:28] local.INFO: Processing buffer {"connection_id":134969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65a3c720012d1874c007218148004801092b..."} 
[2026-07-15 17:28:28] local.INFO: Packet analysis {"connection_id":134969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65a3"} 
[2026-07-15 17:28:28] local.INFO: Extracted packet for processing {"connection_id":134969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65a3"} 
[2026-07-15 17:28:28] local.INFO: GPS Element Parsed {"raw_longitude":756577472,"raw_latitude":119636296,"longitude_deg":75.6577472,"latitude_deg":11.9636296,"altitude":72,"angle":265,"satellites":43,"speed":38,"hex_longitude":"2d1874c0","hex_latitude":"07218148","is_valid_coordinates":true} 
[2026-07-15 17:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733863936001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6183610444939264,"note":"Value kept but may cause issues"} 
[2026-07-15 17:28:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766255509486260224,"note":"Value kept but may cause issues"} 
[2026-07-15 17:28: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-07-15 17:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784116660000,"timestamp_ms":1784116660000,"timestamp_seconds":1784116660,"priority":1,"record_length":96,"hex_timestamp":"0000019f65a3c720"} 
[2026-07-15 17:28:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:28:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-07-15 17:28: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-07-15 17:28:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:28:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":134969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":134969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":134969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:28:28] 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-07-15 17:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733863936001,"66":13972,"105":206,"83":41984,"24":38,"16":6183610444939264,"45":1766255509486260224},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 17:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733863936001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:28:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 17:28:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 17:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6183610444939264,"km_value":6183610444939.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:28:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766255509486260224,"description":"Unknown IO ID 45"} 
[2026-07-15 17:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733863936001,"power":13972,"unknown_105":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1766255509486260224}} 
[2026-07-15 17:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":134969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:28:28] local.INFO: GPS data processed {"connection_id":134969,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:28:28] local.INFO: Acknowledgment sent {"connection_id":134969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:28:37] local.INFO: TCP Data received {"connection_id":134970,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f65a10800012d7f974005afda600002006c31..."} 
[2026-07-15 17:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65a10800012d7f974005afda600002006c31..."} 
[2026-07-15 17:28:37] local.INFO: Processing buffer {"connection_id":134970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65a10800012d7f974005afda600002006c31..."} 
[2026-07-15 17:28:37] local.INFO: Packet analysis {"connection_id":134970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65a1"} 
[2026-07-15 17:28:37] local.INFO: Extracted packet for processing {"connection_id":134970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65a1"} 
[2026-07-15 17:28:37] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":49,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733813504001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784116480000,"timestamp_ms":1784116480000,"timestamp_seconds":1784116480,"priority":1,"record_length":96,"hex_timestamp":"0000019f65a10800"} 
[2026-07-15 17:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-15 17:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":134970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":134970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":134970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:28:37] 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-07-15 17:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733813504001,"66":25495,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733813504001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:28:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:28:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733813504001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":134970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:28:37] local.INFO: GPS data processed {"connection_id":134970,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:28:37] local.INFO: Acknowledgment sent {"connection_id":134970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:28:50] local.INFO: TCP Data received {"connection_id":132588,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:28:50] local.INFO: Processing buffer {"connection_id":132588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:28:50] local.INFO: IMEI packet received {"connection_id":132588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 17:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":132588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:28:53] local.INFO: TCP Data received {"connection_id":132588,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:28:53] local.INFO: Processing buffer {"connection_id":132588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:28:53] local.INFO: IMEI packet received {"connection_id":132588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":132588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:28:54] local.INFO: TCP Data received {"connection_id":132588,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:28:54] local.INFO: Processing buffer {"connection_id":132588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:28:54] local.INFO: IMEI packet received {"connection_id":132588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":132588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:28:55] local.INFO: TCP Data received {"connection_id":132588,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f65a3d6c0012d186500072181a00048011c2b..."} 
[2026-07-15 17:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65a3d6c0012d186500072181a00048011c2b..."} 
[2026-07-15 17:28:55] local.INFO: Processing buffer {"connection_id":132588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65a3d6c0012d186500072181a00048011c2b..."} 
[2026-07-15 17:28:55] local.INFO: Packet analysis {"connection_id":132588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65a3"} 
[2026-07-15 17:28:55] local.INFO: Extracted packet for processing {"connection_id":132588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65a3"} 
[2026-07-15 17:28:55] local.INFO: GPS Element Parsed {"raw_longitude":756573440,"raw_latitude":119636384,"longitude_deg":75.657344,"latitude_deg":11.9636384,"altitude":72,"angle":284,"satellites":43,"speed":40,"hex_longitude":"2d186500","hex_latitude":"072181a0","is_valid_coordinates":true} 
[2026-07-15 17:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733864960001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6183803718467584,"note":"Value kept but may cause issues"} 
[2026-07-15 17:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762244491068131328,"note":"Value kept but may cause issues"} 
[2026-07-15 17:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784116664000,"timestamp_ms":1784116664000,"timestamp_seconds":1784116664,"priority":1,"record_length":96,"hex_timestamp":"0000019f65a3d6c0"} 
[2026-07-15 17:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:28:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-15 17:28:55] 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-07-15 17:28:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":132588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":132588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":132588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733864960001,"66":13689,"105":206,"83":41984,"24":40,"16":6183803718467584,"45":1762244491068131328},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 17:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733864960001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:28:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 17:28:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 17:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6183803718467584,"km_value":6183803718467.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762244491068131328,"description":"Unknown IO ID 45"} 
[2026-07-15 17:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733864960001,"power":13689,"unknown_105":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1762244491068131328}} 
[2026-07-15 17:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":132588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:28:55] local.INFO: GPS data processed {"connection_id":132588,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:28:55] local.INFO: Acknowledgment sent {"connection_id":132588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:28:55] local.INFO: TCP Data received {"connection_id":132588,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f65a3e278012d185940072186380049012828..."} 
[2026-07-15 17:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65a3e278012d185940072186380049012828..."} 
[2026-07-15 17:28:55] local.INFO: Processing buffer {"connection_id":132588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65a3e278012d185940072186380049012828..."} 
[2026-07-15 17:28:55] local.INFO: Packet analysis {"connection_id":132588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65a3"} 
[2026-07-15 17:28:55] local.INFO: Extracted packet for processing {"connection_id":132588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65a3"} 
[2026-07-15 17:28:55] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119637560,"longitude_deg":75.6570432,"latitude_deg":11.963756,"altitude":73,"angle":296,"satellites":40,"speed":41,"hex_longitude":"2d185940","hex_latitude":"07218638","is_valid_coordinates":true} 
[2026-07-15 17:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733865984001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6183958337290240,"note":"Value kept but may cause issues"} 
[2026-07-15 17:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757811260184961024,"note":"Value kept but may cause issues"} 
[2026-07-15 17:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784116667000,"timestamp_ms":1784116667000,"timestamp_seconds":1784116667,"priority":1,"record_length":96,"hex_timestamp":"0000019f65a3e278"} 
[2026-07-15 17:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:28:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-07-15 17:28:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:28:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":132588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":132588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":132588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733865984001,"66":13906,"105":206,"83":41984,"24":41,"16":6183958337290240,"45":1757811260184961024},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 17:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733865984001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:28:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 17:28:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 17:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6183958337290240,"km_value":6183958337290.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757811260184961024,"description":"Unknown IO ID 45"} 
[2026-07-15 17:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733865984001,"power":13906,"unknown_105":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1757811260184961024}} 
[2026-07-15 17:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":132588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:28:55] local.INFO: GPS data processed {"connection_id":132588,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:28:55] local.INFO: Acknowledgment sent {"connection_id":132588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:28:59] local.INFO: TCP Data received {"connection_id":133614,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133614,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:28:59] local.INFO: Processing buffer {"connection_id":133614,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:28:59] local.INFO: IMEI packet received {"connection_id":133614,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 17:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":133614,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:29:00] local.INFO: TCP Data received {"connection_id":132760,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:29:00] local.INFO: Processing buffer {"connection_id":132760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:29:00] local.INFO: IMEI packet received {"connection_id":132760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":132760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:29:05] local.INFO: TCP Data received {"connection_id":132760,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:29:05] local.INFO: Processing buffer {"connection_id":132760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:29:05] local.INFO: IMEI packet received {"connection_id":132760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":132760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:29:06] local.INFO: TCP Data received {"connection_id":132760,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f65a15a08012d7f974005afda600002006c30..."} 
[2026-07-15 17:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65a15a08012d7f974005afda600002006c30..."} 
[2026-07-15 17:29:06] local.INFO: Processing buffer {"connection_id":132760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65a15a08012d7f974005afda600002006c30..."} 
[2026-07-15 17:29:06] local.INFO: Packet analysis {"connection_id":132760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65a1"} 
[2026-07-15 17:29:06] local.INFO: Extracted packet for processing {"connection_id":132760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65a1"} 
[2026-07-15 17:29:06] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":48,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733818880001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784116501000,"timestamp_ms":1784116501000,"timestamp_seconds":1784116501,"priority":1,"record_length":96,"hex_timestamp":"0000019f65a15a08"} 
[2026-07-15 17:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-15 17:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:29:06] 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-07-15 17:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733818880001,"66":25462,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733818880001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:29:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:29:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733818880001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":132760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:29:06] local.INFO: GPS data processed {"connection_id":132760,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:29:06] local.INFO: Acknowledgment sent {"connection_id":132760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:29:26] local.INFO: TCP Data received {"connection_id":132588,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f65a40d70012d18374007219500004a012028..."} 
[2026-07-15 17:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65a40d70012d18374007219500004a012028..."} 
[2026-07-15 17:29:26] local.INFO: Processing buffer {"connection_id":132588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65a40d70012d18374007219500004a012028..."} 
[2026-07-15 17:29:26] local.INFO: Packet analysis {"connection_id":132588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65a4"} 
[2026-07-15 17:29:26] local.INFO: Extracted packet for processing {"connection_id":132588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65a4"} 
[2026-07-15 17:29:26] local.INFO: GPS Element Parsed {"raw_longitude":756561728,"raw_latitude":119641344,"longitude_deg":75.6561728,"latitude_deg":11.9641344,"altitude":74,"angle":288,"satellites":40,"speed":27,"hex_longitude":"2d183740","hex_latitude":"07219500","is_valid_coordinates":true} 
[2026-07-15 17:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733866752001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6184409308856320,"note":"Value kept but may cause issues"} 
[2026-07-15 17:29:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929208911872,"note":"Value kept but may cause issues"} 
[2026-07-15 17:29:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784116678000,"timestamp_ms":1784116678000,"timestamp_seconds":1784116678,"priority":1,"record_length":96,"hex_timestamp":"0000019f65a40d70"} 
[2026-07-15 17:29:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:29:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-07-15 17:29:26] 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-07-15 17:29:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:29:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":132588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":132588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":132588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:29:26] 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-07-15 17:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733866752001,"66":13928,"105":206,"83":41984,"24":27,"16":6184409308856320,"45":1754503929208911872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 17:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:29:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:29:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733866752001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:29:26] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 17:29:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 17:29:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6184409308856320,"km_value":6184409308856.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:29:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929208911872,"description":"Unknown IO ID 45"} 
[2026-07-15 17:29:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733866752001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1754503929208911872}} 
[2026-07-15 17:29:26] local.INFO: DEBUG: GPS processor result {"connection_id":132588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:29:26] local.INFO: GPS data processed {"connection_id":132588,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:29:26] local.INFO: Acknowledgment sent {"connection_id":132588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:29:34] local.INFO: TCP Data received {"connection_id":134971,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134971,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:29:34] local.INFO: Processing buffer {"connection_id":134971,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:29:34] local.INFO: IMEI packet received {"connection_id":134971,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 17:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":134971,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:29:37] local.INFO: TCP Data received {"connection_id":132760,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f65a1ac10012d7f974005afda600002006c2f..."} 
[2026-07-15 17:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65a1ac10012d7f974005afda600002006c2f..."} 
[2026-07-15 17:29:37] local.INFO: Processing buffer {"connection_id":132760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65a1ac10012d7f974005afda600002006c2f..."} 
[2026-07-15 17:29:37] local.INFO: Packet analysis {"connection_id":132760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65a1"} 
[2026-07-15 17:29:37] local.INFO: Extracted packet for processing {"connection_id":132760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65a1"} 
[2026-07-15 17:29:37] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":47,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 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-07-15 17:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733824256001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784116522000,"timestamp_ms":1784116522000,"timestamp_seconds":1784116522,"priority":1,"record_length":96,"hex_timestamp":"0000019f65a1ac10"} 
[2026-07-15 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-07-15 17:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 17:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 17:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:29:37] 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-07-15 17:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733824256001,"66":25495,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733824256001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:29:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:29:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733824256001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":132760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:29:37] local.INFO: GPS data processed {"connection_id":132760,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:29:37] local.INFO: Acknowledgment sent {"connection_id":132760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:29:50] local.INFO: TCP Data received {"connection_id":132761,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:29:50] local.INFO: Processing buffer {"connection_id":132761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:29:50] local.INFO: IMEI packet received {"connection_id":132761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 17:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":132761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:29:54] local.INFO: TCP Data received {"connection_id":132761,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:29:54] local.INFO: Processing buffer {"connection_id":132761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:29:54] local.INFO: IMEI packet received {"connection_id":132761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":132761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:29:55] local.INFO: TCP Data received {"connection_id":132761,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f65a41928012d182fc007219838004a012d28..."} 
[2026-07-15 17:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65a41928012d182fc007219838004a012d28..."} 
[2026-07-15 17:29:55] local.INFO: Processing buffer {"connection_id":132761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65a41928012d182fc007219838004a012d28..."} 
[2026-07-15 17:29:55] local.INFO: Packet analysis {"connection_id":132761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65a4"} 
[2026-07-15 17:29:55] local.INFO: Extracted packet for processing {"connection_id":132761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65a4"} 
[2026-07-15 17:29:55] local.INFO: GPS Element Parsed {"raw_longitude":756559808,"raw_latitude":119642168,"longitude_deg":75.6559808,"latitude_deg":11.9642168,"altitude":74,"angle":301,"satellites":40,"speed":27,"hex_longitude":"2d182fc0","hex_latitude":"07219838","is_valid_coordinates":true} 
[2026-07-15 17:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733869568001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6184508093104128,"note":"Value kept but may cause issues"} 
[2026-07-15 17:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744933780001718272,"note":"Value kept but may cause issues"} 
[2026-07-15 17:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784116681000,"timestamp_ms":1784116681000,"timestamp_seconds":1784116681,"priority":1,"record_length":96,"hex_timestamp":"0000019f65a41928"} 
[2026-07-15 17:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:29:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-15 17:29:55] 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-07-15 17:29:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":132761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":132761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":132761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733869568001,"66":13961,"105":206,"83":41984,"24":27,"16":6184508093104128,"45":1744933780001718272},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-15 17:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733869568001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:29:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-15 17:29:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-15 17:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6184508093104128,"km_value":6184508093104.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744933780001718272,"description":"Unknown IO ID 45"} 
[2026-07-15 17:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733869568001,"power":13961,"unknown_105":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1744933780001718272}} 
[2026-07-15 17:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":132761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492072,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:29:55] local.INFO: GPS data processed {"connection_id":132761,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:29:55] local.INFO: Acknowledgment sent {"connection_id":132761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:30:00] local.INFO: TCP Data received {"connection_id":132589,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:30:00] local.INFO: Processing buffer {"connection_id":132589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:30:00] local.INFO: IMEI packet received {"connection_id":132589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":132589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:30:06] local.INFO: TCP Data received {"connection_id":132589,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:30:06] local.INFO: Processing buffer {"connection_id":132589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:30:06] local.INFO: IMEI packet received {"connection_id":132589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":132589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:30:06] local.INFO: TCP Data received {"connection_id":132589,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f65a1fe18012d7f974005afda600002006c2f..."} 
[2026-07-15 17:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65a1fe18012d7f974005afda600002006c2f..."} 
[2026-07-15 17:30:06] local.INFO: Processing buffer {"connection_id":132589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65a1fe18012d7f974005afda600002006c2f..."} 
[2026-07-15 17:30:06] local.INFO: Packet analysis {"connection_id":132589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65a1"} 
[2026-07-15 17:30:06] local.INFO: Extracted packet for processing {"connection_id":132589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65a1"} 
[2026-07-15 17:30:06] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":47,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733829632001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784116543000,"timestamp_ms":1784116543000,"timestamp_seconds":1784116543,"priority":1,"record_length":96,"hex_timestamp":"0000019f65a1fe18"} 
[2026-07-15 17:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-15 17:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:30:06] 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-07-15 17:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733829632001,"66":25473,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733829632001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:30:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:30:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733829632001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":132589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:30:06] local.INFO: GPS data processed {"connection_id":132589,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:30:06] local.INFO: Acknowledgment sent {"connection_id":132589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:30:37] local.INFO: TCP Data received {"connection_id":132589,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f65a25020012d7f974005afda600002006c2f..."} 
[2026-07-15 17:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65a25020012d7f974005afda600002006c2f..."} 
[2026-07-15 17:30:37] local.INFO: Processing buffer {"connection_id":132589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65a25020012d7f974005afda600002006c2f..."} 
[2026-07-15 17:30:37] local.INFO: Packet analysis {"connection_id":132589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65a2"} 
[2026-07-15 17:30:37] local.INFO: Extracted packet for processing {"connection_id":132589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65a2"} 
[2026-07-15 17:30:37] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":47,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 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-07-15 17:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733835008001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784116564000,"timestamp_ms":1784116564000,"timestamp_seconds":1784116564,"priority":1,"record_length":96,"hex_timestamp":"0000019f65a25020"} 
[2026-07-15 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-07-15 17:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 17:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 17:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:30:37] 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-07-15 17:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733835008001,"66":25473,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733835008001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:30:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:30:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733835008001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":132589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:30:37] local.INFO: GPS data processed {"connection_id":132589,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:30:37] local.INFO: Acknowledgment sent {"connection_id":132589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:31:05] local.INFO: TCP Data received {"connection_id":133616,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:31:06] local.INFO: Processing buffer {"connection_id":133616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:31:06] local.INFO: IMEI packet received {"connection_id":133616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":133616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:31:10] local.INFO: TCP Data received {"connection_id":133616,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:31:10] local.INFO: Processing buffer {"connection_id":133616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:31:10] local.INFO: IMEI packet received {"connection_id":133616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":133616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:31:12] local.INFO: TCP Data received {"connection_id":133616,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f65a2a228012d7f974005afda600002006c30..."} 
[2026-07-15 17:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65a2a228012d7f974005afda600002006c30..."} 
[2026-07-15 17:31:12] local.INFO: Processing buffer {"connection_id":133616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65a2a228012d7f974005afda600002006c30..."} 
[2026-07-15 17:31:12] local.INFO: Packet analysis {"connection_id":133616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65a2"} 
[2026-07-15 17:31:12] local.INFO: Extracted packet for processing {"connection_id":133616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65a2"} 
[2026-07-15 17:31:12] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":48,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733840384001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784116585000,"timestamp_ms":1784116585000,"timestamp_seconds":1784116585,"priority":1,"record_length":96,"hex_timestamp":"0000019f65a2a228"} 
[2026-07-15 17:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 17:31:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:31:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":133616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":133616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":133616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:31:12] 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-07-15 17:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733840384001,"66":25473,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733840384001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:31:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:31:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733840384001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":133616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:31:12] local.INFO: GPS data processed {"connection_id":133616,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:31:12] local.INFO: Acknowledgment sent {"connection_id":133616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:31:43] local.INFO: TCP Data received {"connection_id":133616,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f65a62880012d7f974005afda600002006c2e..."} 
[2026-07-15 17:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65a62880012d7f974005afda600002006c2e..."} 
[2026-07-15 17:31:43] local.INFO: Processing buffer {"connection_id":133616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65a62880012d7f974005afda600002006c2e..."} 
[2026-07-15 17:31:43] local.INFO: Packet analysis {"connection_id":133616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65a6"} 
[2026-07-15 17:31:43] local.INFO: Extracted packet for processing {"connection_id":133616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65a6"} 
[2026-07-15 17:31:43] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":46,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733899520001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:31:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784116816000,"timestamp_ms":1784116816000,"timestamp_seconds":1784116816,"priority":1,"record_length":96,"hex_timestamp":"0000019f65a62880"} 
[2026-07-15 17:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:31:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 17:31:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:31:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":133616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":133616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":133616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:31:43] 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-07-15 17:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733899520001,"66":25473,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733899520001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:31:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:31:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733899520001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":133616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:31:43] local.INFO: GPS data processed {"connection_id":133616,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:31:43] local.INFO: Acknowledgment sent {"connection_id":133616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:32:00] local.INFO: TCP Data received {"connection_id":132590,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:32:00] local.INFO: Processing buffer {"connection_id":132590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:32:00] local.INFO: IMEI packet received {"connection_id":132590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":132590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:32:06] local.INFO: TCP Data received {"connection_id":132590,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:32:06] local.INFO: Processing buffer {"connection_id":132590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:32:06] local.INFO: IMEI packet received {"connection_id":132590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":132590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:32:06] local.INFO: TCP Data received {"connection_id":132590,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f65a67a88012d7f974005afda600002006c2e..."} 
[2026-07-15 17:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65a67a88012d7f974005afda600002006c2e..."} 
[2026-07-15 17:32:06] local.INFO: Processing buffer {"connection_id":132590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65a67a88012d7f974005afda600002006c2e..."} 
[2026-07-15 17:32:06] local.INFO: Packet analysis {"connection_id":132590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65a6"} 
[2026-07-15 17:32:06] local.INFO: Extracted packet for processing {"connection_id":132590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65a6"} 
[2026-07-15 17:32:06] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":46,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733904896001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784116837000,"timestamp_ms":1784116837000,"timestamp_seconds":1784116837,"priority":1,"record_length":96,"hex_timestamp":"0000019f65a67a88"} 
[2026-07-15 17:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 17:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:32:06] 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-07-15 17:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733904896001,"66":25397,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733904896001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:32:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:32:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733904896001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":132590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:32:06] local.INFO: GPS data processed {"connection_id":132590,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:32:06] local.INFO: Acknowledgment sent {"connection_id":132590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:32:38] local.INFO: TCP Data received {"connection_id":132590,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f65a6cc90012d7f974005afda600002006c2e..."} 
[2026-07-15 17:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65a6cc90012d7f974005afda600002006c2e..."} 
[2026-07-15 17:32:38] local.INFO: Processing buffer {"connection_id":132590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65a6cc90012d7f974005afda600002006c2e..."} 
[2026-07-15 17:32:38] local.INFO: Packet analysis {"connection_id":132590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65a6"} 
[2026-07-15 17:32:38] local.INFO: Extracted packet for processing {"connection_id":132590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65a6"} 
[2026-07-15 17:32:38] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":46,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17: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-07-15 17:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733910272001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784116858000,"timestamp_ms":1784116858000,"timestamp_seconds":1784116858,"priority":1,"record_length":96,"hex_timestamp":"0000019f65a6cc90"} 
[2026-07-15 17:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-15 17:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17: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-07-15 17:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:32:38] 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-07-15 17:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733910272001,"66":25321,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733910272001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:32:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:32:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733910272001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":132590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:32:38] local.INFO: GPS data processed {"connection_id":132590,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:32:38] local.INFO: Acknowledgment sent {"connection_id":132590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:32:59] local.INFO: TCP Data received {"connection_id":132765,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132765,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:32:59] local.INFO: Processing buffer {"connection_id":132765,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:32:59] local.INFO: IMEI packet received {"connection_id":132765,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 17:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":132765,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:33:00] local.INFO: TCP Data received {"connection_id":132764,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:33:00] local.INFO: Processing buffer {"connection_id":132764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:33:00] local.INFO: IMEI packet received {"connection_id":132764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":132764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:33:01] local.INFO: TCP Data received {"connection_id":132764,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:33:01] local.INFO: Processing buffer {"connection_id":132764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:33:01] local.INFO: IMEI packet received {"connection_id":132764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":132764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:33:04] local.INFO: TCP Data received {"connection_id":132765,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132765,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:33:04] local.INFO: Processing buffer {"connection_id":132765,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:33:04] local.INFO: IMEI packet received {"connection_id":132765,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 17:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":132765,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:33:05] local.INFO: TCP Data received {"connection_id":132765,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65a862d0012d7ec9c005def038000d009a27..."} 
[2026-07-15 17:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65a862d0012d7ec9c005def038000d009a27..."} 
[2026-07-15 17:33:05] local.INFO: Processing buffer {"connection_id":132765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65a862d0012d7ec9c005def038000d009a27..."} 
[2026-07-15 17:33:05] local.INFO: Packet analysis {"connection_id":132765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65a8"} 
[2026-07-15 17:33:05] local.INFO: Extracted packet for processing {"connection_id":132765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65a8"} 
[2026-07-15 17:33:05] local.INFO: GPS Element Parsed {"raw_longitude":763283904,"raw_latitude":98496568,"longitude_deg":76.3283904,"latitude_deg":9.8496568,"altitude":13,"angle":154,"satellites":39,"speed":32,"hex_longitude":"2d7ec9c0","hex_latitude":"05def038","is_valid_coordinates":true} 
[2026-07-15 17:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733940480001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106651734541074432,"note":"Value kept but may cause issues"} 
[2026-07-15 17:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9132596382081771520,"note":"Value kept but may cause issues"} 
[2026-07-15 17:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784116962000,"timestamp_ms":1784116962000,"timestamp_seconds":1784116962,"priority":1,"record_length":96,"hex_timestamp":"0000019f65a862d0"} 
[2026-07-15 17:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-15 17:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303161368694179,"note":"Value kept but may cause issues"} 
[2026-07-15 17:33:05] local.WARNING: Large IO value detected {"io_id":19,"raw_value":3003127808,"note":"Value kept but may cause issues"} 
[2026-07-15 17:33:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3753025536,"note":"Value kept but may cause issues"} 
[2026-07-15 17:33:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":58005504724041762,"note":"Value kept but may cause issues"} 
[2026-07-15 17:33:05] local.WARNING: Large IO value detected {"io_id":229,"raw_value":3925868544,"note":"Value kept but may cause issues"} 
[2026-07-15 17:33:05] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2810200065,"note":"Value kept but may cause issues"} 
[2026-07-15 17:33:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2737569998,"corrected_to":0} 
[2026-07-15 17:33:05] local.WARNING: Large IO value detected {"io_id":122,"raw_value":3844079616,"note":"Value kept but may cause issues"} 
[2026-07-15 17:33:05] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,24,241,16,230,159,249,45,192,19,6,39,10,66,210,47,5,40,44,167,1,240,79,229,101,223,4,113,205,37,93,120,33,239,51,2,122,34],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2737569998,"validated":0}]} 
[2026-07-15 17:33:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008958225230987264,"timestamp_seconds":1008958225230987.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 17:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733940480001,"66":12972,"206":206,"85":15104,"24":32,"16":106651734541074432,"45":9132596382081771520},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-07-15 17:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733940480001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:33:05] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-07-15 17:33:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 17:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106651734541074432,"km_value":106651734541074.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9132596382081771520,"description":"Unknown IO ID 45"} 
[2026-07-15 17:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733940480001,"power":12972,"unknown_206":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9132596382081771520}} 
[2026-07-15 17:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":132765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492079,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:33:05] local.INFO: GPS data processed {"connection_id":132765,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:33:05] local.INFO: Acknowledgment sent {"connection_id":132765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:33:05] local.INFO: TCP Data received {"connection_id":132764,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:33:05] local.INFO: Processing buffer {"connection_id":132764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:33:05] local.INFO: IMEI packet received {"connection_id":132764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":132764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:33:06] local.INFO: TCP Data received {"connection_id":132764,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f65a71e98012d7f974005afda600002006c2d..."} 
[2026-07-15 17:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65a71e98012d7f974005afda600002006c2d..."} 
[2026-07-15 17:33:06] local.INFO: Processing buffer {"connection_id":132764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65a71e98012d7f974005afda600002006c2d..."} 
[2026-07-15 17:33:06] local.INFO: Packet analysis {"connection_id":132764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65a7"} 
[2026-07-15 17:33:06] local.INFO: Extracted packet for processing {"connection_id":132764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65a7"} 
[2026-07-15 17:33:06] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":45,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733915648001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784116879000,"timestamp_ms":1784116879000,"timestamp_seconds":1784116879,"priority":1,"record_length":96,"hex_timestamp":"0000019f65a71e98"} 
[2026-07-15 17:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-15 17:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:33:06] 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-07-15 17:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733915648001,"66":25419,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733915648001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:33:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:33:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733915648001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":132764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:33:06] local.INFO: GPS data processed {"connection_id":132764,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:33:06] local.INFO: Acknowledgment sent {"connection_id":132764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:33:36] local.INFO: TCP Data received {"connection_id":132765,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65a86e88012d7eccc005dee6e0000c00a625..."} 
[2026-07-15 17:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65a86e88012d7eccc005dee6e0000c00a625..."} 
[2026-07-15 17:33:36] local.INFO: Processing buffer {"connection_id":132765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65a86e88012d7eccc005dee6e0000c00a625..."} 
[2026-07-15 17:33:36] local.INFO: Packet analysis {"connection_id":132765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65a8"} 
[2026-07-15 17:33:36] local.INFO: Extracted packet for processing {"connection_id":132765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65a8"} 
[2026-07-15 17:33:36] local.INFO: GPS Element Parsed {"raw_longitude":763284672,"raw_latitude":98494176,"longitude_deg":76.3284672,"latitude_deg":9.8494176,"altitude":12,"angle":166,"satellites":37,"speed":32,"hex_longitude":"2d7eccc0","hex_latitude":"05dee6e0","is_valid_coordinates":true} 
[2026-07-15 17:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733942272001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106651854800158720,"note":"Value kept but may cause issues"} 
[2026-07-15 17:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9136044450545416192,"note":"Value kept but may cause issues"} 
[2026-07-15 17:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784116965000,"timestamp_ms":1784116965000,"timestamp_seconds":1784116965,"priority":1,"record_length":96,"hex_timestamp":"0000019f65a86e88"} 
[2026-07-15 17:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-15 17:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733942272001,"66":13091,"206":206,"85":15104,"24":32,"16":106651854800158720,"45":9136044450545416192},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-07-15 17:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733942272001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:33:36] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-07-15 17:33:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 17:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106651854800158720,"km_value":106651854800158.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9136044450545416192,"description":"Unknown IO ID 45"} 
[2026-07-15 17:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733942272001,"power":13091,"unknown_206":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9136044450545416192}} 
[2026-07-15 17:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":132765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492081,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:33:36] local.INFO: GPS data processed {"connection_id":132765,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:33:36] local.INFO: Acknowledgment sent {"connection_id":132765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:33:37] local.INFO: TCP Data received {"connection_id":132764,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f65a770a0012d7f974005afda600002006c2b..."} 
[2026-07-15 17:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65a770a0012d7f974005afda600002006c2b..."} 
[2026-07-15 17:33:37] local.INFO: Processing buffer {"connection_id":132764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65a770a0012d7f974005afda600002006c2b..."} 
[2026-07-15 17:33:37] local.INFO: Packet analysis {"connection_id":132764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65a7"} 
[2026-07-15 17:33:37] local.INFO: Extracted packet for processing {"connection_id":132764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65a7"} 
[2026-07-15 17:33:37] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733921024001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784116900000,"timestamp_ms":1784116900000,"timestamp_seconds":1784116900,"priority":1,"record_length":96,"hex_timestamp":"0000019f65a770a0"} 
[2026-07-15 17:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-15 17:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:33:37] 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-07-15 17:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733921024001,"66":25430,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733921024001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:33:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:33:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733921024001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":132764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:33:37] local.INFO: GPS data processed {"connection_id":132764,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:33:37] local.INFO: Acknowledgment sent {"connection_id":132764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:34:00] local.INFO: TCP Data received {"connection_id":134972,"ip":"117.224.84.119","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134972,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:34:00] local.INFO: Processing buffer {"connection_id":134972,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:34:00] local.INFO: IMEI packet received {"connection_id":134972,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 17:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":134972,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:34:00] local.INFO: TCP Data received {"connection_id":132766,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:34:00] local.INFO: Processing buffer {"connection_id":132766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:34:00] local.INFO: IMEI packet received {"connection_id":132766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":132766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:34:03] local.INFO: TCP Data received {"connection_id":134973,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134973,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:34:03] local.INFO: Processing buffer {"connection_id":134973,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:34:03] local.INFO: IMEI packet received {"connection_id":134973,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 17:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":134973,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:34:03] local.INFO: TCP Data received {"connection_id":132766,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:34:03] local.INFO: Processing buffer {"connection_id":132766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:34:03] local.INFO: IMEI packet received {"connection_id":132766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":132766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:34:04] local.INFO: TCP Data received {"connection_id":134973,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134973,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:34:04] local.INFO: Processing buffer {"connection_id":134973,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:34:04] local.INFO: IMEI packet received {"connection_id":134973,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 17:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":134973,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:34:05] local.INFO: TCP Data received {"connection_id":132766,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:34:05] local.INFO: Processing buffer {"connection_id":132766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:34:05] local.INFO: IMEI packet received {"connection_id":132766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":132766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:34:05] local.INFO: TCP Data received {"connection_id":134972,"ip":"117.224.84.119","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134972,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:34:05] local.INFO: Processing buffer {"connection_id":134972,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:34:05] local.INFO: IMEI packet received {"connection_id":134972,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":134972,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:34:06] local.INFO: TCP Data received {"connection_id":132766,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f65a7c2a8012d7f974005afda600002006c2c..."} 
[2026-07-15 17:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65a7c2a8012d7f974005afda600002006c2c..."} 
[2026-07-15 17:34:06] local.INFO: Processing buffer {"connection_id":132766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65a7c2a8012d7f974005afda600002006c2c..."} 
[2026-07-15 17:34:06] local.INFO: Packet analysis {"connection_id":132766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65a7"} 
[2026-07-15 17:34:06] local.INFO: Extracted packet for processing {"connection_id":132766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65a7"} 
[2026-07-15 17:34:06] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733926400001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784116921000,"timestamp_ms":1784116921000,"timestamp_seconds":1784116921,"priority":1,"record_length":96,"hex_timestamp":"0000019f65a7c2a8"} 
[2026-07-15 17:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-15 17:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:34:06] 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-07-15 17:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733926400001,"66":25430,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733926400001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:34:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:34:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733926400001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":132766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:34:06] local.INFO: GPS data processed {"connection_id":132766,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:34:06] local.INFO: Acknowledgment sent {"connection_id":132766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:34:06] local.INFO: TCP Data received {"connection_id":134972,"ip":"117.224.84.119","data_length":795,"data_hex":"000000000000030f8e0a0000019f65a7b6f0012d1a15400723ae080028004b29..."} 
[2026-07-15 17:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65a7b6f0012d1a15400723ae080028004b29..."} 
[2026-07-15 17:34:06] local.INFO: Processing buffer {"connection_id":134972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65a7b6f0012d1a15400723ae080028004b29..."} 
[2026-07-15 17:34:06] local.INFO: Packet analysis {"connection_id":134972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65a7"} 
[2026-07-15 17:34:06] local.INFO: Extracted packet for processing {"connection_id":134972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65a7"} 
[2026-07-15 17:34:06] local.INFO: GPS Element Parsed {"raw_longitude":756684096,"raw_latitude":119778824,"longitude_deg":75.6684096,"latitude_deg":11.9778824,"altitude":40,"angle":75,"satellites":41,"speed":22,"hex_longitude":"2d1a1540","hex_latitude":"0723ae08","is_valid_coordinates":true} 
[2026-07-15 17:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733927936001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6194833194483712,"note":"Value kept but may cause issues"} 
[2026-07-15 17:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1869275350998448128,"note":"Value kept but may cause issues"} 
[2026-07-15 17:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784116918000,"timestamp_ms":1784116918000,"timestamp_seconds":1784116918,"priority":1,"record_length":96,"hex_timestamp":"0000019f65a7b6f0"} 
[2026-07-15 17:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-15 17:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":134972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":134972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":134972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.84.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733927936001,"66":13972,"42":206,"83":42752,"24":22,"16":6194833194483712,"45":1869275350998448128},"client_ip":"117.224.84.119","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-15 17:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733927936001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:34:06] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-15 17:34:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-15 17:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6194833194483712,"km_value":6194833194483.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1869275350998448128,"description":"Unknown IO ID 45"} 
[2026-07-15 17:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733927936001,"power":13972,"unknown_42":206,"unknown_83":42752,"ignition":22,"odometer":null,"unknown_45":1869275350998448128}} 
[2026-07-15 17:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":134972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:34:06] local.INFO: GPS data processed {"connection_id":134972,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:34:06] local.INFO: Acknowledgment sent {"connection_id":134972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:34:09] local.INFO: TCP Data received {"connection_id":134973,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134973,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:34:09] local.INFO: Processing buffer {"connection_id":134973,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:34:09] local.INFO: IMEI packet received {"connection_id":134973,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 17:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":134973,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:34:10] local.INFO: TCP Data received {"connection_id":134973,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65a891b0012d7ed14005dec6e8000a00b125..."} 
[2026-07-15 17:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65a891b0012d7ed14005dec6e8000a00b125..."} 
[2026-07-15 17:34:10] local.INFO: Processing buffer {"connection_id":134973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65a891b0012d7ed14005dec6e8000a00b125..."} 
[2026-07-15 17:34:10] local.INFO: Packet analysis {"connection_id":134973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65a8"} 
[2026-07-15 17:34:10] local.INFO: Extracted packet for processing {"connection_id":134973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65a8"} 
[2026-07-15 17:34:10] local.INFO: GPS Element Parsed {"raw_longitude":763285824,"raw_latitude":98485992,"longitude_deg":76.3285824,"latitude_deg":9.8485992,"altitude":10,"angle":177,"satellites":37,"speed":38,"hex_longitude":"2d7ed140","hex_latitude":"05dec6e8","is_valid_coordinates":true} 
[2026-07-15 17:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733943040001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106652254232117248,"note":"Value kept but may cause issues"} 
[2026-07-15 17:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9136888875474935808,"note":"Value kept but may cause issues"} 
[2026-07-15 17:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784116974000,"timestamp_ms":1784116974000,"timestamp_seconds":1784116974,"priority":1,"record_length":96,"hex_timestamp":"0000019f65a891b0"} 
[2026-07-15 17:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-15 17:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:34: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-07-15 17:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":134973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":134973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":134973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733943040001,"66":12526,"206":206,"85":15104,"24":38,"16":106652254232117248,"45":9136888875474935808},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-07-15 17:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733943040001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:34:10] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-07-15 17:34:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 17:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106652254232117248,"km_value":106652254232117.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9136888875474935808,"description":"Unknown IO ID 45"} 
[2026-07-15 17:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733943040001,"power":12526,"unknown_206":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9136888875474935808}} 
[2026-07-15 17:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":134973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492085,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:34:10] local.INFO: GPS data processed {"connection_id":134973,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:34:10] local.INFO: Acknowledgment sent {"connection_id":134973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:34:14] local.INFO: TCP Data received {"connection_id":134973,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65a8b4d8012d7ed5c005dea3a0000900a627..."} 
[2026-07-15 17:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65a8b4d8012d7ed5c005dea3a0000900a627..."} 
[2026-07-15 17:34:14] local.INFO: Processing buffer {"connection_id":134973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65a8b4d8012d7ed5c005dea3a0000900a627..."} 
[2026-07-15 17:34:14] local.INFO: Packet analysis {"connection_id":134973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65a8"} 
[2026-07-15 17:34:14] local.INFO: Extracted packet for processing {"connection_id":134973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65a8"} 
[2026-07-15 17:34:14] local.INFO: GPS Element Parsed {"raw_longitude":763286976,"raw_latitude":98476960,"longitude_deg":76.3286976,"latitude_deg":9.847696,"altitude":9,"angle":166,"satellites":39,"speed":40,"hex_longitude":"2d7ed5c0","hex_latitude":"05dea3a0","is_valid_coordinates":true} 
[2026-07-15 17:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:34:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733945344001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:34:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106652696613748736,"note":"Value kept but may cause issues"} 
[2026-07-15 17:34:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9138155512868038656,"note":"Value kept but may cause issues"} 
[2026-07-15 17:34:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:34:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784116983000,"timestamp_ms":1784116983000,"timestamp_seconds":1784116983,"priority":1,"record_length":96,"hex_timestamp":"0000019f65a8b4d8"} 
[2026-07-15 17:34:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:34:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 17:34:14] 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-07-15 17:34:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:34:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:34:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:34:14] local.INFO: Teltonika packet parsed successfully {"connection_id":134973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:34:14] local.INFO: Passing IMEI to GPS processor {"connection_id":134973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:34:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":134973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:34:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:34:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:34:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:34:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733945344001,"66":12841,"206":206,"85":15104,"24":40,"16":106652696613748736,"45":9138155512868038656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-07-15 17:34:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:34:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:34:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733945344001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:34:14] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-07-15 17:34:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 17:34:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106652696613748736,"km_value":106652696613748.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:34:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9138155512868038656,"description":"Unknown IO ID 45"} 
[2026-07-15 17:34:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733945344001,"power":12841,"unknown_206":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9138155512868038656}} 
[2026-07-15 17:34:14] local.INFO: DEBUG: GPS processor result {"connection_id":134973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492086,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:34:14] local.INFO: GPS data processed {"connection_id":134973,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:34:14] local.INFO: Acknowledgment sent {"connection_id":134973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:34:37] local.INFO: TCP Data received {"connection_id":132766,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f65a814b0012d7f974005afda600002006c2c..."} 
[2026-07-15 17:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65a814b0012d7f974005afda600002006c2c..."} 
[2026-07-15 17:34:37] local.INFO: Processing buffer {"connection_id":132766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65a814b0012d7f974005afda600002006c2c..."} 
[2026-07-15 17:34:37] local.INFO: Packet analysis {"connection_id":132766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65a8"} 
[2026-07-15 17:34:37] local.INFO: Extracted packet for processing {"connection_id":132766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65a8"} 
[2026-07-15 17:34:37] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733931776001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784116942000,"timestamp_ms":1784116942000,"timestamp_seconds":1784116942,"priority":1,"record_length":96,"hex_timestamp":"0000019f65a814b0"} 
[2026-07-15 17:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-15 17:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:34:37] 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-07-15 17:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733931776001,"66":25430,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733931776001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:34:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:34:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733931776001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":132766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:34:37] local.INFO: GPS data processed {"connection_id":132766,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:34:37] local.INFO: Acknowledgment sent {"connection_id":132766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:34:50] local.INFO: TCP Data received {"connection_id":132767,"ip":"117.224.84.119","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:34:50] local.INFO: Processing buffer {"connection_id":132767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:34:50] local.INFO: IMEI packet received {"connection_id":132767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 17:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":132767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:34:55] local.INFO: TCP Data received {"connection_id":132767,"ip":"117.224.84.119","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:34:55] local.INFO: Processing buffer {"connection_id":132767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:34:55] local.INFO: IMEI packet received {"connection_id":132767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":132767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:34:58] local.INFO: TCP Data received {"connection_id":132767,"ip":"117.224.84.119","data_length":795,"data_hex":"000000000000030f8e0a0000019f65a7ca78012d1a21400723b2900029003d2a..."} 
[2026-07-15 17:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65a7ca78012d1a21400723b2900029003d2a..."} 
[2026-07-15 17:34:58] local.INFO: Processing buffer {"connection_id":132767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65a7ca78012d1a21400723b2900029003d2a..."} 
[2026-07-15 17:34:58] local.INFO: Packet analysis {"connection_id":132767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65a7"} 
[2026-07-15 17:34:58] local.INFO: Extracted packet for processing {"connection_id":132767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65a7"} 
[2026-07-15 17:34:58] local.INFO: GPS Element Parsed {"raw_longitude":756687168,"raw_latitude":119779984,"longitude_deg":75.6687168,"latitude_deg":11.9779984,"altitude":41,"angle":61,"satellites":42,"speed":31,"hex_longitude":"2d1a2140","hex_latitude":"0723b290","is_valid_coordinates":true} 
[2026-07-15 17: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-07-15 17:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733931008001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6194992108273664,"note":"Value kept but may cause issues"} 
[2026-07-15 17:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1879478818904606720,"note":"Value kept but may cause issues"} 
[2026-07-15 17:34:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784116923000,"timestamp_ms":1784116923000,"timestamp_seconds":1784116923,"priority":1,"record_length":96,"hex_timestamp":"0000019f65a7ca78"} 
[2026-07-15 17:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:34:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-15 17:34:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17: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-07-15 17:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":132767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":132767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":132767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:34:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.84.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733931008001,"66":13972,"42":206,"83":42752,"24":31,"16":6194992108273664,"45":1879478818904606720},"client_ip":"117.224.84.119","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-15 17:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733931008001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:34:58] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-15 17:34:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-15 17:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6194992108273664,"km_value":6194992108273.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1879478818904606720,"description":"Unknown IO ID 45"} 
[2026-07-15 17:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733931008001,"power":13972,"unknown_42":206,"unknown_83":42752,"ignition":31,"odometer":null,"unknown_45":1879478818904606720}} 
[2026-07-15 17:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":132767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:34:58] local.INFO: GPS data processed {"connection_id":132767,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:34:58] local.INFO: Acknowledgment sent {"connection_id":132767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:34:59] local.INFO: TCP Data received {"connection_id":133618,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133618,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:34:59] local.INFO: Processing buffer {"connection_id":133618,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:34:59] local.INFO: IMEI packet received {"connection_id":133618,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 17:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":133618,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:35:00] local.INFO: TCP Data received {"connection_id":134974,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:35:00] local.INFO: Processing buffer {"connection_id":134974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:35:00] local.INFO: IMEI packet received {"connection_id":134974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":134974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:35:04] local.INFO: TCP Data received {"connection_id":134975,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134975,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:35:04] local.INFO: Processing buffer {"connection_id":134975,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:35:04] local.INFO: IMEI packet received {"connection_id":134975,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 17:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":134975,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:35:05] local.INFO: TCP Data received {"connection_id":134975,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134975,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:35:05] local.INFO: Processing buffer {"connection_id":134975,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:35:05] local.INFO: IMEI packet received {"connection_id":134975,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 17:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":134975,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:35:05] local.INFO: TCP Data received {"connection_id":134974,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:35:05] local.INFO: Processing buffer {"connection_id":134974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:35:05] local.INFO: IMEI packet received {"connection_id":134974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":134974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:35:06] local.INFO: TCP Data received {"connection_id":134974,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f65a866b8012d7f974005afda600002006c2d..."} 
[2026-07-15 17:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65a866b8012d7f974005afda600002006c2d..."} 
[2026-07-15 17:35:06] local.INFO: Processing buffer {"connection_id":134974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65a866b8012d7f974005afda600002006c2d..."} 
[2026-07-15 17:35:06] local.INFO: Packet analysis {"connection_id":134974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65a8"} 
[2026-07-15 17:35:06] local.INFO: Extracted packet for processing {"connection_id":134974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65a8"} 
[2026-07-15 17:35:06] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":45,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733937152001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784116963000,"timestamp_ms":1784116963000,"timestamp_seconds":1784116963,"priority":1,"record_length":96,"hex_timestamp":"0000019f65a866b8"} 
[2026-07-15 17:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-15 17:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":134974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":134974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":134974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:35:06] 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-07-15 17:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733937152001,"66":25441,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733937152001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:35:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:35:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733937152001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":134974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:35:06] local.INFO: GPS data processed {"connection_id":134974,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:35:06] local.INFO: Acknowledgment sent {"connection_id":134974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:35:08] local.INFO: TCP Data received {"connection_id":134975,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134975,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:35:08] local.INFO: Processing buffer {"connection_id":134975,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:35:08] local.INFO: IMEI packet received {"connection_id":134975,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 17:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":134975,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:35:09] local.INFO: TCP Data received {"connection_id":134975,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134975,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:35:09] local.INFO: Processing buffer {"connection_id":134975,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:35:09] local.INFO: IMEI packet received {"connection_id":134975,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 17:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":134975,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:35:09] local.INFO: TCP Data received {"connection_id":134975,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65aa3790012d7f3ec005dd7788000200a927..."} 
[2026-07-15 17:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65aa3790012d7f3ec005dd7788000200a927..."} 
[2026-07-15 17:35:09] local.INFO: Processing buffer {"connection_id":134975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65aa3790012d7f3ec005dd7788000200a927..."} 
[2026-07-15 17:35:09] local.INFO: Packet analysis {"connection_id":134975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65aa"} 
[2026-07-15 17:35:09] local.INFO: Extracted packet for processing {"connection_id":134975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65aa"} 
[2026-07-15 17:35:09] local.INFO: GPS Element Parsed {"raw_longitude":763313856,"raw_latitude":98400136,"longitude_deg":76.3313856,"latitude_deg":9.8400136,"altitude":2,"angle":169,"satellites":39,"speed":49,"hex_longitude":"2d7f3ec0","hex_latitude":"05dd7788","is_valid_coordinates":true} 
[2026-07-15 17:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733971456001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106656690933334016,"note":"Value kept but may cause issues"} 
[2026-07-15 17:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168695547820980224,"note":"Value kept but may cause issues"} 
[2026-07-15 17:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784117082000,"timestamp_ms":1784117082000,"timestamp_seconds":1784117082,"priority":1,"record_length":96,"hex_timestamp":"0000019f65aa3790"} 
[2026-07-15 17:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-15 17:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":134975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":134975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":134975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733971456001,"66":13091,"101":206,"85":15104,"24":49,"16":106656690933334016,"45":9168695547820980224},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,45]} 
[2026-07-15 17:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733971456001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:35:09] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-15 17:35:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 17:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106656690933334016,"km_value":106656690933334.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168695547820980224,"description":"Unknown IO ID 45"} 
[2026-07-15 17:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733971456001,"power":13091,"unknown_101":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":9168695547820980224}} 
[2026-07-15 17:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":134975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492090,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:35:09] local.INFO: GPS data processed {"connection_id":134975,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:35:09] local.INFO: Acknowledgment sent {"connection_id":134975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:35:15] local.INFO: TCP Data received {"connection_id":134975,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65aa52e8012d7f470005dd55c8000100a828..."} 
[2026-07-15 17:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65aa52e8012d7f470005dd55c8000100a828..."} 
[2026-07-15 17:35:15] local.INFO: Processing buffer {"connection_id":134975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65aa52e8012d7f470005dd55c8000100a828..."} 
[2026-07-15 17:35:15] local.INFO: Packet analysis {"connection_id":134975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65aa"} 
[2026-07-15 17:35:15] local.INFO: Extracted packet for processing {"connection_id":134975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65aa"} 
[2026-07-15 17:35:15] local.INFO: GPS Element Parsed {"raw_longitude":763315968,"raw_latitude":98391496,"longitude_deg":76.3315968,"latitude_deg":9.8391496,"altitude":1,"angle":168,"satellites":40,"speed":49,"hex_longitude":"2d7f4700","hex_latitude":"05dd55c8","is_valid_coordinates":true} 
[2026-07-15 17:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733972992001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106657124725030912,"note":"Value kept but may cause issues"} 
[2026-07-15 17:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168977022795876352,"note":"Value kept but may cause issues"} 
[2026-07-15 17:35:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784117089000,"timestamp_ms":1784117089000,"timestamp_seconds":1784117089,"priority":1,"record_length":96,"hex_timestamp":"0000019f65aa52e8"} 
[2026-07-15 17:35:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:35:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-15 17:35:15] 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-07-15 17:35:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:35:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":134975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":134975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":134975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:35:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733972992001,"66":13091,"101":206,"85":15104,"24":49,"16":106657124725030912,"45":9168977022795876352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,45]} 
[2026-07-15 17:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733972992001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:35:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-15 17:35:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 17:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106657124725030912,"km_value":106657124725030.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168977022795876352,"description":"Unknown IO ID 45"} 
[2026-07-15 17:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733972992001,"power":13091,"unknown_101":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":9168977022795876352}} 
[2026-07-15 17:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":134975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492091,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:35:15] local.INFO: GPS data processed {"connection_id":134975,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:35:15] local.INFO: Acknowledgment sent {"connection_id":134975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:35:30] local.INFO: TCP Data received {"connection_id":132767,"ip":"117.224.84.119","data_length":795,"data_hex":"000000000000030f8e0a0000019f65aa2fc0012d1acc40072438200026003c27..."} 
[2026-07-15 17:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65aa2fc0012d1acc40072438200026003c27..."} 
[2026-07-15 17:35:30] local.INFO: Processing buffer {"connection_id":132767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65aa2fc0012d1acc40072438200026003c27..."} 
[2026-07-15 17:35:30] local.INFO: Packet analysis {"connection_id":132767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65aa"} 
[2026-07-15 17:35:30] local.INFO: Extracted packet for processing {"connection_id":132767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65aa"} 
[2026-07-15 17:35:30] local.INFO: GPS Element Parsed {"raw_longitude":756730944,"raw_latitude":119814176,"longitude_deg":75.6730944,"latitude_deg":11.9814176,"altitude":38,"angle":60,"satellites":39,"speed":41,"hex_longitude":"2d1acc40","hex_latitude":"07243820","is_valid_coordinates":true} 
[2026-07-15 17: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-07-15 17:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733970432001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6197740887343104,"note":"Value kept but may cause issues"} 
[2026-07-15 17:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1921911171651819520,"note":"Value kept but may cause issues"} 
[2026-07-15 17:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784117080000,"timestamp_ms":1784117080000,"timestamp_seconds":1784117080,"priority":1,"record_length":96,"hex_timestamp":"0000019f65aa2fc0"} 
[2026-07-15 17:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:35:30] 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-07-15 17: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-15 17:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6969206816,"note":"Value kept but may cause issues"} 
[2026-07-15 17:35:30] local.WARNING: Large IO value detected {"io_id":3,"raw_value":2483027968,"note":"Value kept but may cause issues"} 
[2026-07-15 17:35:30] local.WARNING: Large IO value detected {"io_id":104,"raw_value":84752903185048554,"note":"Value kept but may cause issues"} 
[2026-07-15 17:35:30] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2836824065,"note":"Value kept but may cause issues"} 
[2026-07-15 17:35:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3882877134,"corrected_to":0} 
[2026-07-15 17:35:30] local.WARNING: Large IO value detected {"io_id":176,"raw_value":4026608922,"note":"Value kept but may cause issues"} 
[2026-07-15 17:35:30] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2332085555,"note":"Value kept but may cause issues"} 
[2026-07-15 17:35:30] local.WARNING: Large IO value detected {"io_id":184,"raw_value":12103566386797824,"note":"Value kept but may cause issues"} 
[2026-07-15 17:35:30] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,111,28,24,241,158,16,4,159,233,45,38,42,10,66,3,151,11,41,40,112,104,128,1,240,55,101,36,113,205,176,103,88,239,50,97,2,22,7,5,206,184],"length":529,"final_offset":659,"validated_count":42,"validation_warnings":[{"io_id":205,"original":3882877134,"validated":0}]} 
[2026-07-15 17:35:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2594143921616257024,"timestamp_seconds":2594143921616257.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 17:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":132767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":132767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":132767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:35:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.84.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733970432001,"66":13961,"111":206,"28":31744,"24":41,"16":6197740887343104,"45":1921911171651819520},"client_ip":"117.224.84.119","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-07-15 17:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733970432001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:35:30] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-15 17:35:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 17:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6197740887343104,"km_value":6197740887343.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1921911171651819520,"description":"Unknown IO ID 45"} 
[2026-07-15 17:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733970432001,"power":13961,"unknown_111":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":1921911171651819520}} 
[2026-07-15 17:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":132767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:35:30] local.INFO: GPS data processed {"connection_id":132767,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:35:30] local.INFO: Acknowledgment sent {"connection_id":132767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:35:34] local.INFO: TCP Data received {"connection_id":132768,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132768,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:35:34] local.INFO: Processing buffer {"connection_id":132768,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:35:34] local.INFO: IMEI packet received {"connection_id":132768,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 17:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":132768,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:35:37] local.INFO: TCP Data received {"connection_id":134974,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f65a8b8c0012d7f974005afda600002006c2d..."} 
[2026-07-15 17:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65a8b8c0012d7f974005afda600002006c2d..."} 
[2026-07-15 17:35:37] local.INFO: Processing buffer {"connection_id":134974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65a8b8c0012d7f974005afda600002006c2d..."} 
[2026-07-15 17:35:37] local.INFO: Packet analysis {"connection_id":134974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65a8"} 
[2026-07-15 17:35:37] local.INFO: Extracted packet for processing {"connection_id":134974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65a8"} 
[2026-07-15 17:35:37] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":45,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733942528001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784116984000,"timestamp_ms":1784116984000,"timestamp_seconds":1784116984,"priority":1,"record_length":96,"hex_timestamp":"0000019f65a8b8c0"} 
[2026-07-15 17:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-15 17:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":134974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":134974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":134974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:35:37] 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-07-15 17:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733942528001,"66":25462,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733942528001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:35:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:35:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733942528001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":134974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:35:37] local.INFO: GPS data processed {"connection_id":134974,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:35:37] local.INFO: Acknowledgment sent {"connection_id":134974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:35:50] local.INFO: TCP Data received {"connection_id":132591,"ip":"117.224.84.119","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:35:50] local.INFO: Processing buffer {"connection_id":132591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:35:50] local.INFO: IMEI packet received {"connection_id":132591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 17:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":132591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:35:55] local.INFO: TCP Data received {"connection_id":132591,"ip":"117.224.84.119","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:35:55] local.INFO: Processing buffer {"connection_id":132591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:35:55] local.INFO: IMEI packet received {"connection_id":132591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":132591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:35:56] local.INFO: TCP Data received {"connection_id":132591,"ip":"117.224.84.119","data_length":795,"data_hex":"000000000000030f8e0a0000019f65aa3f60012d1ad980072441800027002e25..."} 
[2026-07-15 17:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65aa3f60012d1ad980072441800027002e25..."} 
[2026-07-15 17:35:56] local.INFO: Processing buffer {"connection_id":132591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65aa3f60012d1ad980072441800027002e25..."} 
[2026-07-15 17:35:56] local.INFO: Packet analysis {"connection_id":132591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65aa"} 
[2026-07-15 17:35:56] local.INFO: Extracted packet for processing {"connection_id":132591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65aa"} 
[2026-07-15 17:35:56] local.INFO: GPS Element Parsed {"raw_longitude":756734336,"raw_latitude":119816576,"longitude_deg":75.6734336,"latitude_deg":11.9816576,"altitude":39,"angle":46,"satellites":37,"speed":38,"hex_longitude":"2d1ad980","hex_latitude":"07244180","is_valid_coordinates":true} 
[2026-07-15 17:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733972480001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6197938455838720,"note":"Value kept but may cause issues"} 
[2026-07-15 17:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1930988739651706880,"note":"Value kept but may cause issues"} 
[2026-07-15 17:35:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784117084000,"timestamp_ms":1784117084000,"timestamp_seconds":1784117084,"priority":1,"record_length":96,"hex_timestamp":"0000019f65aa3f60"} 
[2026-07-15 17:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:35:56] 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-07-15 17:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-15 17:35:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:35:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.84.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733972480001,"66":14341,"111":206,"28":31744,"24":38,"16":6197938455838720,"45":1930988739651706880},"client_ip":"117.224.84.119","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-07-15 17:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733972480001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:35:56] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-15 17:35:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 17:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6197938455838720,"km_value":6197938455838.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1930988739651706880,"description":"Unknown IO ID 45"} 
[2026-07-15 17:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733972480001,"power":14341,"unknown_111":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1930988739651706880}} 
[2026-07-15 17:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":132591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:35:56] local.INFO: GPS data processed {"connection_id":132591,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:35:56] local.INFO: Acknowledgment sent {"connection_id":132591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:36:05] local.INFO: TCP Data received {"connection_id":132592,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:36:05] local.INFO: Processing buffer {"connection_id":132592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:36:05] local.INFO: IMEI packet received {"connection_id":132592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":132592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:36:10] local.INFO: TCP Data received {"connection_id":132592,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:36:10] local.INFO: Processing buffer {"connection_id":132592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:36:10] local.INFO: IMEI packet received {"connection_id":132592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":132592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:36:10] local.INFO: TCP Data received {"connection_id":132592,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f65a90ac8012d7f974005afda600002006c2d..."} 
[2026-07-15 17:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65a90ac8012d7f974005afda600002006c2d..."} 
[2026-07-15 17:36:10] local.INFO: Processing buffer {"connection_id":132592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65a90ac8012d7f974005afda600002006c2d..."} 
[2026-07-15 17:36:10] local.INFO: Packet analysis {"connection_id":132592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65a9"} 
[2026-07-15 17:36:10] local.INFO: Extracted packet for processing {"connection_id":132592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65a9"} 
[2026-07-15 17:36:10] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":45,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:36: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-07-15 17:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733947904001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784117005000,"timestamp_ms":1784117005000,"timestamp_seconds":1784117005,"priority":1,"record_length":96,"hex_timestamp":"0000019f65a90ac8"} 
[2026-07-15 17:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 17:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:36: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-07-15 17:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":132592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":132592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":132592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:36:10] 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-07-15 17:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733947904001,"66":25451,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733947904001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:36:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:36:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733947904001,"power":25451,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":132592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:36:10] local.INFO: GPS data processed {"connection_id":132592,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:36:10] local.INFO: Acknowledgment sent {"connection_id":132592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:36:11] local.INFO: TCP Data received {"connection_id":132592,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f65a95cd0012d7f974005afda600002006c2c..."} 
[2026-07-15 17:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65a95cd0012d7f974005afda600002006c2c..."} 
[2026-07-15 17:36:11] local.INFO: Processing buffer {"connection_id":132592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65a95cd0012d7f974005afda600002006c2c..."} 
[2026-07-15 17:36:11] local.INFO: Packet analysis {"connection_id":132592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65a9"} 
[2026-07-15 17:36:11] local.INFO: Extracted packet for processing {"connection_id":132592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65a9"} 
[2026-07-15 17:36:11] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733953280001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784117026000,"timestamp_ms":1784117026000,"timestamp_seconds":1784117026,"priority":1,"record_length":96,"hex_timestamp":"0000019f65a95cd0"} 
[2026-07-15 17:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-15 17:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:36:11] 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-07-15 17:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733953280001,"66":25462,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733953280001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:36:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:36:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733953280001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":132592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:36:11] local.INFO: GPS data processed {"connection_id":132592,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:36:11] local.INFO: Acknowledgment sent {"connection_id":132592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:36:14] local.INFO: TCP Data received {"connection_id":132769,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132769,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:36:14] local.INFO: Processing buffer {"connection_id":132769,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:36:14] local.INFO: IMEI packet received {"connection_id":132769,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 17:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":132769,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:36:14] local.INFO: TCP Data received {"connection_id":132769,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132769,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:36:14] local.INFO: Processing buffer {"connection_id":132769,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:36:14] local.INFO: IMEI packet received {"connection_id":132769,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 17:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":132769,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:36:19] local.INFO: TCP Data received {"connection_id":132769,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132769,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:36:19] local.INFO: Processing buffer {"connection_id":132769,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:36:19] local.INFO: IMEI packet received {"connection_id":132769,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 17:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":132769,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:36:20] local.INFO: TCP Data received {"connection_id":132769,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ab3960012d7fa14005dc7e680000007b22..."} 
[2026-07-15 17:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ab3960012d7fa14005dc7e680000007b22..."} 
[2026-07-15 17:36:20] local.INFO: Processing buffer {"connection_id":132769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ab3960012d7fa14005dc7e680000007b22..."} 
[2026-07-15 17:36:20] local.INFO: Packet analysis {"connection_id":132769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ab"} 
[2026-07-15 17:36:20] local.INFO: Extracted packet for processing {"connection_id":132769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ab"} 
[2026-07-15 17:36:20] local.INFO: GPS Element Parsed {"raw_longitude":763339072,"raw_latitude":98336360,"longitude_deg":76.3339072,"latitude_deg":9.833636,"altitude":0,"angle":123,"satellites":34,"speed":17,"hex_longitude":"2d7fa140","hex_latitude":"05dc7e68","is_valid_coordinates":true} 
[2026-07-15 17: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-07-15 17:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733989632001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106660066777628672,"note":"Value kept but may cause issues"} 
[2026-07-15 17:36:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196280095520544768,"note":"Value kept but may cause issues"} 
[2026-07-15 17:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1784117148000,"timestamp_ms":1784117148000,"timestamp_seconds":1784117148,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ab3960"} 
[2026-07-15 17:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:36:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-15 17:36:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17: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-07-15 17:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":132769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":132769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":132769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:36:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733989632001,"66":13037,"155":206,"85":15104,"24":17,"16":106660066777628672,"45":9196280095520544768},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-15 17:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733989632001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:36:20] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-15 17:36:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 17:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106660066777628672,"km_value":106660066777628.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:36:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196280095520544768,"description":"Unknown IO ID 45"} 
[2026-07-15 17:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733989632001,"power":13037,"unknown_155":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":9196280095520544768}} 
[2026-07-15 17:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":132769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492097,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:36:20] local.INFO: GPS data processed {"connection_id":132769,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:36:20] local.INFO: Acknowledgment sent {"connection_id":132769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:36:25] local.INFO: TCP Data received {"connection_id":132769,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ab3d48012d7fa30005dc7dd00000006c23..."} 
[2026-07-15 17:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ab3d48012d7fa30005dc7dd00000006c23..."} 
[2026-07-15 17:36:25] local.INFO: Processing buffer {"connection_id":132769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ab3d48012d7fa30005dc7dd00000006c23..."} 
[2026-07-15 17:36:25] local.INFO: Packet analysis {"connection_id":132769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ab"} 
[2026-07-15 17:36:25] local.INFO: Extracted packet for processing {"connection_id":132769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ab"} 
[2026-07-15 17:36:25] local.INFO: GPS Element Parsed {"raw_longitude":763339520,"raw_latitude":98336208,"longitude_deg":76.333952,"latitude_deg":9.8336208,"altitude":0,"angle":108,"satellites":35,"speed":19,"hex_longitude":"2d7fa300","hex_latitude":"05dc7dd0","is_valid_coordinates":true} 
[2026-07-15 17:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733989888001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106660088252465152,"note":"Value kept but may cause issues"} 
[2026-07-15 17:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196702307985549312,"note":"Value kept but may cause issues"} 
[2026-07-15 17:36:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784117149000,"timestamp_ms":1784117149000,"timestamp_seconds":1784117149,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ab3d48"} 
[2026-07-15 17:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:36:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-15 17:36:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:36:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":132769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":132769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":132769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:36:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733989888001,"66":13037,"155":206,"85":15104,"24":19,"16":106660088252465152,"45":9196702307985549312},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-15 17:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733989888001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:36:25] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-15 17:36:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 17:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106660088252465152,"km_value":106660088252465.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196702307985549312,"description":"Unknown IO ID 45"} 
[2026-07-15 17:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733989888001,"power":13037,"unknown_155":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":9196702307985549312}} 
[2026-07-15 17:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":132769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492098,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:36:25] local.INFO: GPS data processed {"connection_id":132769,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:36:25] local.INFO: Acknowledgment sent {"connection_id":132769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:36:28] local.INFO: TCP Data received {"connection_id":132591,"ip":"117.224.84.119","data_length":795,"data_hex":"000000000000030f8e0a0000019f65aa4b18012d1ae08007244a900026001e22..."} 
[2026-07-15 17:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65aa4b18012d1ae08007244a900026001e22..."} 
[2026-07-15 17:36:28] local.INFO: Processing buffer {"connection_id":132591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65aa4b18012d1ae08007244a900026001e22..."} 
[2026-07-15 17:36:28] local.INFO: Packet analysis {"connection_id":132591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65aa"} 
[2026-07-15 17:36:28] local.INFO: Extracted packet for processing {"connection_id":132591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65aa"} 
[2026-07-15 17:36:28] local.INFO: GPS Element Parsed {"raw_longitude":756736128,"raw_latitude":119818896,"longitude_deg":75.6736128,"latitude_deg":11.9818896,"altitude":38,"angle":30,"satellites":34,"speed":41,"hex_longitude":"2d1ae080","hex_latitude":"07244a90","is_valid_coordinates":true} 
[2026-07-15 17:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733973504001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6198080189759488,"note":"Value kept but may cause issues"} 
[2026-07-15 17:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934718283093737472,"note":"Value kept but may cause issues"} 
[2026-07-15 17:36:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784117087000,"timestamp_ms":1784117087000,"timestamp_seconds":1784117087,"priority":1,"record_length":96,"hex_timestamp":"0000019f65aa4b18"} 
[2026-07-15 17:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:36:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-15 17:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6969206960,"note":"Value kept but may cause issues"} 
[2026-07-15 17:36:28] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503694176681984,"note":"Value kept but may cause issues"} 
[2026-07-15 17:36:28] local.WARNING: Large IO value detected {"io_id":240,"raw_value":84752997674329096,"note":"Value kept but may cause issues"} 
[2026-07-15 17:36:28] local.WARNING: Large IO value detected {"io_id":3,"raw_value":4244635648,"note":"Value kept but may cause issues"} 
[2026-07-15 17:36:28] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2845272065,"note":"Value kept but may cause issues"} 
[2026-07-15 17:36:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3882877134,"corrected_to":0} 
[2026-07-15 17:36:28] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2281778458,"note":"Value kept but may cause issues"} 
[2026-07-15 17:36:28] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2147951625,"note":"Value kept but may cause issues"} 
[2026-07-15 17:36:28] local.WARNING: Large IO value detected {"io_id":88,"raw_value":12103583583436800,"note":"Value kept but may cause issues"} 
[2026-07-15 17:36:28] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,111,28,24,241,158,16,4,159,47,45,64,56,38,39,10,66,41,36,233,1,240,3,101,113,205,7,104,103,80,239,55,112,2,22,43,206,88],"length":529,"final_offset":659,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3882877134,"validated":0}]} 
[2026-07-15 17:36:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2810296903930347520,"timestamp_seconds":2810296903930347.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 17:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.84.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733973504001,"66":13939,"111":206,"28":31744,"24":41,"16":6198080189759488,"45":1934718283093737472},"client_ip":"117.224.84.119","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-07-15 17:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733973504001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:36:28] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-15 17:36:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 17:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6198080189759488,"km_value":6198080189759.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934718283093737472,"description":"Unknown IO ID 45"} 
[2026-07-15 17:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733973504001,"power":13939,"unknown_111":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":1934718283093737472}} 
[2026-07-15 17:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":132591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:36:28] local.INFO: GPS data processed {"connection_id":132591,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:36:28] local.INFO: Acknowledgment sent {"connection_id":132591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:36:42] local.INFO: TCP Data received {"connection_id":132592,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f65a9aed8012d7f974005afda600002006c2c..."} 
[2026-07-15 17:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65a9aed8012d7f974005afda600002006c2c..."} 
[2026-07-15 17:36:42] local.INFO: Processing buffer {"connection_id":132592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65a9aed8012d7f974005afda600002006c2c..."} 
[2026-07-15 17:36:42] local.INFO: Packet analysis {"connection_id":132592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65a9"} 
[2026-07-15 17:36:42] local.INFO: Extracted packet for processing {"connection_id":132592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65a9"} 
[2026-07-15 17:36:42] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733958656001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:36:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784117047000,"timestamp_ms":1784117047000,"timestamp_seconds":1784117047,"priority":1,"record_length":96,"hex_timestamp":"0000019f65a9aed8"} 
[2026-07-15 17:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 17:36:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:36:42] 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-07-15 17:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733958656001,"66":25473,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733958656001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:36:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:36:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733958656001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":132592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:36:42] local.INFO: GPS data processed {"connection_id":132592,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:36:42] local.INFO: Acknowledgment sent {"connection_id":132592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:36:56] local.INFO: TCP Data received {"connection_id":134977,"ip":"117.224.84.119","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:36:56] local.INFO: Processing buffer {"connection_id":134977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:36:56] local.INFO: IMEI packet received {"connection_id":134977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 17:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":134977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:36:56] local.INFO: TCP Data received {"connection_id":134977,"ip":"117.224.84.119","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:36:56] local.INFO: Processing buffer {"connection_id":134977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:36:56] local.INFO: IMEI packet received {"connection_id":134977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":134977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:36:59] local.INFO: TCP Data received {"connection_id":132770,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132770,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:36:59] local.INFO: Processing buffer {"connection_id":132770,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:36:59] local.INFO: IMEI packet received {"connection_id":132770,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 17:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":132770,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:37:00] local.INFO: TCP Data received {"connection_id":132770,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132770,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:37:00] local.INFO: Processing buffer {"connection_id":132770,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:37:00] local.INFO: IMEI packet received {"connection_id":132770,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 17:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":132770,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:37:00] local.INFO: TCP Data received {"connection_id":134977,"ip":"117.224.84.119","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:37:00] local.INFO: Processing buffer {"connection_id":134977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:37:00] local.INFO: IMEI packet received {"connection_id":134977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":134977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:37:00] local.INFO: TCP Data received {"connection_id":132770,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ac1bf0012d806d4005dca5680007008927..."} 
[2026-07-15 17:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ac1bf0012d806d4005dca5680007008927..."} 
[2026-07-15 17:37:00] local.INFO: Processing buffer {"connection_id":132770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ac1bf0012d806d4005dca5680007008927..."} 
[2026-07-15 17:37:00] local.INFO: Packet analysis {"connection_id":132770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ac"} 
[2026-07-15 17:37:00] local.INFO: Extracted packet for processing {"connection_id":132770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ac"} 
[2026-07-15 17:37:00] local.INFO: GPS Element Parsed {"raw_longitude":763391296,"raw_latitude":98346344,"longitude_deg":76.3391296,"latitude_deg":9.8346344,"altitude":7,"angle":137,"satellites":39,"speed":22,"hex_longitude":"2d806d40","hex_latitude":"05dca568","is_valid_coordinates":true} 
[2026-07-15 17:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734004224001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106662639463038976,"note":"Value kept but may cause issues"} 
[2026-07-15 17:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9193606032890783744,"note":"Value kept but may cause issues"} 
[2026-07-15 17:37:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784117206000,"timestamp_ms":1784117206000,"timestamp_seconds":1784117206,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ac1bf0"} 
[2026-07-15 17:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:37:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-15 17:37:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:37:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":132770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":132770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":132770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:37:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734004224001,"66":13037,"251":206,"85":15104,"24":22,"16":106662639463038976,"45":-9193606032890783744},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-15 17:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734004224001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:37:00] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-15 17:37:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 17:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106662639463038976,"km_value":106662639463038.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9193606032890783744,"description":"Unknown IO ID 45"} 
[2026-07-15 17:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734004224001,"power":13037,"unknown_251":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9193606032890783744}} 
[2026-07-15 17:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":132770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492101,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:37:00] local.INFO: GPS data processed {"connection_id":132770,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:37:00] local.INFO: Acknowledgment sent {"connection_id":132770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:37:00] local.INFO: TCP Data received {"connection_id":134978,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:37:00] local.INFO: Processing buffer {"connection_id":134978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:37:00] local.INFO: IMEI packet received {"connection_id":134978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":134978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:37:01] local.INFO: TCP Data received {"connection_id":134977,"ip":"117.224.84.119","data_length":795,"data_hex":"000000000000030f8e0a0000019f65aa6e40012d1af3c0072469e00023002528..."} 
[2026-07-15 17:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65aa6e40012d1af3c0072469e00023002528..."} 
[2026-07-15 17:37:01] local.INFO: Processing buffer {"connection_id":134977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65aa6e40012d1af3c0072469e00023002528..."} 
[2026-07-15 17:37:01] local.INFO: Packet analysis {"connection_id":134977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65aa"} 
[2026-07-15 17:37:01] local.INFO: Extracted packet for processing {"connection_id":134977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65aa"} 
[2026-07-15 17:37:01] local.INFO: GPS Element Parsed {"raw_longitude":756741056,"raw_latitude":119826912,"longitude_deg":75.6741056,"latitude_deg":11.9826912,"altitude":35,"angle":37,"satellites":40,"speed":34,"hex_longitude":"2d1af3c0","hex_latitude":"072469e0","is_valid_coordinates":true} 
[2026-07-15 17:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733974272001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6198531161325568,"note":"Value kept but may cause issues"} 
[2026-07-15 17:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936688607931305984,"note":"Value kept but may cause issues"} 
[2026-07-15 17:37:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784117096000,"timestamp_ms":1784117096000,"timestamp_seconds":1784117096,"priority":1,"record_length":96,"hex_timestamp":"0000019f65aa6e40"} 
[2026-07-15 17:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:37:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-07-15 17:37:01] 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-07-15 17:37:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":134977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":134977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":134977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.84.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733974272001,"66":13972,"111":206,"28":31744,"24":34,"16":6198531161325568,"45":1936688607931305984},"client_ip":"117.224.84.119","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-07-15 17:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733974272001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:37:01] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-15 17:37:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 17:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6198531161325568,"km_value":6198531161325.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936688607931305984,"description":"Unknown IO ID 45"} 
[2026-07-15 17:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733974272001,"power":13972,"unknown_111":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1936688607931305984}} 
[2026-07-15 17:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":134977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:37:01] local.INFO: GPS data processed {"connection_id":134977,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:37:01] local.INFO: Acknowledgment sent {"connection_id":134977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:37:04] local.INFO: TCP Data received {"connection_id":132770,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ac23c0012d806fc005dca1700007009a27..."} 
[2026-07-15 17:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ac23c0012d806fc005dca1700007009a27..."} 
[2026-07-15 17:37:04] local.INFO: Processing buffer {"connection_id":132770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ac23c0012d806fc005dca1700007009a27..."} 
[2026-07-15 17:37:04] local.INFO: Packet analysis {"connection_id":132770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ac"} 
[2026-07-15 17:37:04] local.INFO: Extracted packet for processing {"connection_id":132770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ac"} 
[2026-07-15 17:37:04] local.INFO: GPS Element Parsed {"raw_longitude":763391936,"raw_latitude":98345328,"longitude_deg":76.3391936,"latitude_deg":9.8345328,"altitude":7,"angle":154,"satellites":39,"speed":25,"hex_longitude":"2d806fc0","hex_latitude":"05dca170","is_valid_coordinates":true} 
[2026-07-15 17:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734004736001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106662699592581120,"note":"Value kept but may cause issues"} 
[2026-07-15 17:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9192620870472472576,"note":"Value kept but may cause issues"} 
[2026-07-15 17:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784117208000,"timestamp_ms":1784117208000,"timestamp_seconds":1784117208,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ac23c0"} 
[2026-07-15 17:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-15 17:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:37:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":132770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":132770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":132770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734004736001,"66":12961,"251":206,"85":15104,"24":25,"16":106662699592581120,"45":-9192620870472472576},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-15 17:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734004736001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:37:04] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-15 17:37:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 17:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106662699592581120,"km_value":106662699592581.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9192620870472472576,"description":"Unknown IO ID 45"} 
[2026-07-15 17:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734004736001,"power":12961,"unknown_251":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9192620870472472576}} 
[2026-07-15 17:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":132770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492103,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:37:04] local.INFO: GPS data processed {"connection_id":132770,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:37:04] local.INFO: Acknowledgment sent {"connection_id":132770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:37:06] local.INFO: TCP Data received {"connection_id":134978,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:37:06] local.INFO: Processing buffer {"connection_id":134978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:37:06] local.INFO: IMEI packet received {"connection_id":134978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":134978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:37:06] local.INFO: TCP Data received {"connection_id":134977,"ip":"117.224.84.119","data_length":795,"data_hex":"000000000000030f8e0a0000019f65aaa108012d1b0c00072482f80020002e28..."} 
[2026-07-15 17:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65aaa108012d1b0c00072482f80020002e28..."} 
[2026-07-15 17:37:06] local.INFO: Processing buffer {"connection_id":134977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65aaa108012d1b0c00072482f80020002e28..."} 
[2026-07-15 17:37:06] local.INFO: Packet analysis {"connection_id":134977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65aa"} 
[2026-07-15 17:37:06] local.INFO: Extracted packet for processing {"connection_id":134977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65aa"} 
[2026-07-15 17:37:06] local.INFO: GPS Element Parsed {"raw_longitude":756747264,"raw_latitude":119833336,"longitude_deg":75.6747264,"latitude_deg":11.9833336,"altitude":32,"angle":46,"satellites":40,"speed":37,"hex_longitude":"2d1b0c00","hex_latitude":"072482f8","is_valid_coordinates":true} 
[2026-07-15 17:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733976576001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6198964953022464,"note":"Value kept but may cause issues"} 
[2026-07-15 17:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1942107001235038208,"note":"Value kept but may cause issues"} 
[2026-07-15 17:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784117109000,"timestamp_ms":1784117109000,"timestamp_seconds":1784117109,"priority":1,"record_length":96,"hex_timestamp":"0000019f65aaa108"} 
[2026-07-15 17:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-15 17:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":134977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":134977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":134977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.84.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733976576001,"66":13993,"91":206,"28":31744,"24":37,"16":6198964953022464,"45":1942107001235038208},"client_ip":"117.224.84.119","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-07-15 17:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733976576001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:37:06] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-15 17:37:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 17:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6198964953022464,"km_value":6198964953022.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1942107001235038208,"description":"Unknown IO ID 45"} 
[2026-07-15 17:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733976576001,"power":13993,"unknown_91":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1942107001235038208}} 
[2026-07-15 17:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":134977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:37:06] local.INFO: GPS data processed {"connection_id":134977,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:37:06] local.INFO: Acknowledgment sent {"connection_id":134977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:37:07] local.INFO: TCP Data received {"connection_id":134978,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f65aa00e0012d7f974005afda600002006c2c..."} 
[2026-07-15 17:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65aa00e0012d7f974005afda600002006c2c..."} 
[2026-07-15 17:37:07] local.INFO: Processing buffer {"connection_id":134978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65aa00e0012d7f974005afda600002006c2c..."} 
[2026-07-15 17:37:07] local.INFO: Packet analysis {"connection_id":134978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65aa"} 
[2026-07-15 17:37:07] local.INFO: Extracted packet for processing {"connection_id":134978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65aa"} 
[2026-07-15 17:37:07] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733964032001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784117068000,"timestamp_ms":1784117068000,"timestamp_seconds":1784117068,"priority":1,"record_length":96,"hex_timestamp":"0000019f65aa00e0"} 
[2026-07-15 17:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 17:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:37:07] 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-07-15 17:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733964032001,"66":25473,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733964032001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:37:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:37:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733964032001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":134978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:37:07] local.INFO: GPS data processed {"connection_id":134978,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:37:07] local.INFO: Acknowledgment sent {"connection_id":134978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:37:11] local.INFO: TCP Data received {"connection_id":134978,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f65aa52e8012d7f974005afda600002006c2a..."} 
[2026-07-15 17:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65aa52e8012d7f974005afda600002006c2a..."} 
[2026-07-15 17:37:11] local.INFO: Processing buffer {"connection_id":134978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65aa52e8012d7f974005afda600002006c2a..."} 
[2026-07-15 17:37:11] local.INFO: Packet analysis {"connection_id":134978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65aa"} 
[2026-07-15 17:37:11] local.INFO: Extracted packet for processing {"connection_id":134978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65aa"} 
[2026-07-15 17:37:11] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733969408001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784117089000,"timestamp_ms":1784117089000,"timestamp_seconds":1784117089,"priority":1,"record_length":96,"hex_timestamp":"0000019f65aa52e8"} 
[2026-07-15 17:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 17:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":134978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":134978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":134978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:37:11] 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-07-15 17:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733969408001,"66":27767,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733969408001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:37:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:37:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733969408001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":134978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:37:11] local.INFO: GPS data processed {"connection_id":134978,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:37:11] local.INFO: Acknowledgment sent {"connection_id":134978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:37:43] local.INFO: TCP Data received {"connection_id":134978,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f65aaa4f0012d7f974005afda600002006c2d..."} 
[2026-07-15 17:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65aaa4f0012d7f974005afda600002006c2d..."} 
[2026-07-15 17:37:43] local.INFO: Processing buffer {"connection_id":134978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65aaa4f0012d7f974005afda600002006c2d..."} 
[2026-07-15 17:37:43] local.INFO: Packet analysis {"connection_id":134978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65aa"} 
[2026-07-15 17:37:43] local.INFO: Extracted packet for processing {"connection_id":134978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65aa"} 
[2026-07-15 17:37:43] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":45,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733974784001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:37:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784117110000,"timestamp_ms":1784117110000,"timestamp_seconds":1784117110,"priority":1,"record_length":96,"hex_timestamp":"0000019f65aaa4f0"} 
[2026-07-15 17:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:37:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 17:37:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:37:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":134978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":134978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":134978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:37:43] 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-07-15 17:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733974784001,"66":27843,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733974784001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:37:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:37:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733974784001,"power":27843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":134978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:37:43] local.INFO: GPS data processed {"connection_id":134978,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:37:43] local.INFO: Acknowledgment sent {"connection_id":134978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:37:47] local.INFO: TCP Data received {"connection_id":132770,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ac4ad0012d80794005dc8720000600a527..."} 
[2026-07-15 17:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ac4ad0012d80794005dc8720000600a527..."} 
[2026-07-15 17:37:47] local.INFO: Processing buffer {"connection_id":132770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ac4ad0012d80794005dc8720000600a527..."} 
[2026-07-15 17:37:47] local.INFO: Packet analysis {"connection_id":132770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ac"} 
[2026-07-15 17:37:47] local.INFO: Extracted packet for processing {"connection_id":132770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ac"} 
[2026-07-15 17:37:47] local.INFO: GPS Element Parsed {"raw_longitude":763394368,"raw_latitude":98338592,"longitude_deg":76.3394368,"latitude_deg":9.8338592,"altitude":6,"angle":165,"satellites":39,"speed":27,"hex_longitude":"2d807940","hex_latitude":"05dc8720","is_valid_coordinates":true} 
[2026-07-15 17: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-07-15 17:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734005248001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106663047484932096,"note":"Value kept but may cause issues"} 
[2026-07-15 17:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9191917183030956032,"note":"Value kept but may cause issues"} 
[2026-07-15 17:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784117218000,"timestamp_ms":1784117218000,"timestamp_seconds":1784117218,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ac4ad0"} 
[2026-07-15 17:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-15 17:37:47] 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-07-15 17: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-07-15 17:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":132770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":132770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":132770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734005248001,"66":12906,"251":206,"85":15104,"24":27,"16":106663047484932096,"45":-9191917183030956032},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-15 17:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734005248001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:37:47] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-15 17:37:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 17:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106663047484932096,"km_value":106663047484932.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9191917183030956032,"description":"Unknown IO ID 45"} 
[2026-07-15 17:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734005248001,"power":12906,"unknown_251":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9191917183030956032}} 
[2026-07-15 17:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":132770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492108,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:37:47] local.INFO: GPS data processed {"connection_id":132770,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:37:47] local.INFO: Acknowledgment sent {"connection_id":132770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:37:51] local.INFO: TCP Data received {"connection_id":132771,"ip":"117.224.84.119","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:37:51] local.INFO: Processing buffer {"connection_id":132771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:37:51] local.INFO: IMEI packet received {"connection_id":132771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 17:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":132771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:37:53] local.INFO: TCP Data received {"connection_id":132771,"ip":"117.224.84.119","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:37:53] local.INFO: Processing buffer {"connection_id":132771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:37:53] local.INFO: IMEI packet received {"connection_id":132771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":132771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:37:54] local.INFO: TCP Data received {"connection_id":132771,"ip":"117.224.84.119","data_length":795,"data_hex":"000000000000030f8e0a0000019f65aac818012d1b27c0072499e0002100382a..."} 
[2026-07-15 17:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65aac818012d1b27c0072499e0002100382a..."} 
[2026-07-15 17:37:54] local.INFO: Processing buffer {"connection_id":132771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65aac818012d1b27c0072499e0002100382a..."} 
[2026-07-15 17:37:54] local.INFO: Packet analysis {"connection_id":132771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65aa"} 
[2026-07-15 17:37:54] local.INFO: Extracted packet for processing {"connection_id":132771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65aa"} 
[2026-07-15 17:37:54] local.INFO: GPS Element Parsed {"raw_longitude":756754368,"raw_latitude":119839200,"longitude_deg":75.6754368,"latitude_deg":11.98392,"altitude":33,"angle":56,"satellites":42,"speed":28,"hex_longitude":"2d1b27c0","hex_latitude":"072499e0","is_valid_coordinates":true} 
[2026-07-15 17:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733979904001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6199403039686656,"note":"Value kept but may cause issues"} 
[2026-07-15 17:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1948932769421916160,"note":"Value kept but may cause issues"} 
[2026-07-15 17:37:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784117119000,"timestamp_ms":1784117119000,"timestamp_seconds":1784117119,"priority":1,"record_length":96,"hex_timestamp":"0000019f65aac818"} 
[2026-07-15 17:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:37: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-07-15 17:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-15 17:37:54] 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-07-15 17:37:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":132771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":132771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":132771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:37:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.84.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733979904001,"66":12602,"91":206,"28":31744,"24":28,"16":6199403039686656,"45":1948932769421916160},"client_ip":"117.224.84.119","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-07-15 17:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733979904001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:37:54] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-15 17:37:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 17:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6199403039686656,"km_value":6199403039686.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1948932769421916160,"description":"Unknown IO ID 45"} 
[2026-07-15 17:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733979904001,"power":12602,"unknown_91":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1948932769421916160}} 
[2026-07-15 17:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":132771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:37:54] local.INFO: GPS data processed {"connection_id":132771,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:37:54] local.INFO: Acknowledgment sent {"connection_id":132771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:37:56] local.INFO: TCP Data received {"connection_id":132771,"ip":"117.224.84.119","data_length":795,"data_hex":"000000000000030f8e0a0000019f65aaef28012d1b46000724af28002100342a..."} 
[2026-07-15 17:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65aaef28012d1b46000724af28002100342a..."} 
[2026-07-15 17:37:56] local.INFO: Processing buffer {"connection_id":132771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65aaef28012d1b46000724af28002100342a..."} 
[2026-07-15 17:37:56] local.INFO: Packet analysis {"connection_id":132771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65aa"} 
[2026-07-15 17:37:56] local.INFO: Extracted packet for processing {"connection_id":132771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65aa"} 
[2026-07-15 17:37:56] local.INFO: GPS Element Parsed {"raw_longitude":756762112,"raw_latitude":119844648,"longitude_deg":75.6762112,"latitude_deg":11.9844648,"altitude":33,"angle":52,"satellites":42,"speed":40,"hex_longitude":"2d1b4600","hex_latitude":"0724af28","is_valid_coordinates":true} 
[2026-07-15 17: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-07-15 17:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733982464001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6199854011252736,"note":"Value kept but may cause issues"} 
[2026-07-15 17:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1956743700027138048,"note":"Value kept but may cause issues"} 
[2026-07-15 17:37:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784117129000,"timestamp_ms":1784117129000,"timestamp_seconds":1784117129,"priority":1,"record_length":96,"hex_timestamp":"0000019f65aaef28"} 
[2026-07-15 17:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:37:56] 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-07-15 17: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-15 17:37:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17: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-07-15 17:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.84.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733982464001,"66":14167,"91":206,"28":31744,"24":40,"16":6199854011252736,"45":1956743700027138048},"client_ip":"117.224.84.119","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-07-15 17:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733982464001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:37:56] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-15 17:37:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 17:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6199854011252736,"km_value":6199854011252.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1956743700027138048,"description":"Unknown IO ID 45"} 
[2026-07-15 17:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733982464001,"power":14167,"unknown_91":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1956743700027138048}} 
[2026-07-15 17:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":132771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:37:56] local.INFO: GPS data processed {"connection_id":132771,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:37:56] local.INFO: Acknowledgment sent {"connection_id":132771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:37:58] local.INFO: TCP Data received {"connection_id":134979,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134979,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:37:58] local.INFO: Processing buffer {"connection_id":134979,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:37:58] local.INFO: IMEI packet received {"connection_id":134979,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 17:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":134979,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:37:59] local.INFO: TCP Data received {"connection_id":134979,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134979,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:37:59] local.INFO: Processing buffer {"connection_id":134979,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:37:59] local.INFO: IMEI packet received {"connection_id":134979,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 17:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":134979,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:38:00] local.INFO: TCP Data received {"connection_id":133620,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:38:00] local.INFO: Processing buffer {"connection_id":133620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:38:00] local.INFO: IMEI packet received {"connection_id":133620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":133620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:38:01] local.INFO: TCP Data received {"connection_id":134979,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134979,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:38:01] local.INFO: Processing buffer {"connection_id":134979,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:38:01] local.INFO: IMEI packet received {"connection_id":134979,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 17:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":134979,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:38:02] local.INFO: TCP Data received {"connection_id":134979,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ac75c8012d80864005dc62c00007009b26..."} 
[2026-07-15 17:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ac75c8012d80864005dc62c00007009b26..."} 
[2026-07-15 17:38:02] local.INFO: Processing buffer {"connection_id":134979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ac75c8012d80864005dc62c00007009b26..."} 
[2026-07-15 17:38:02] local.INFO: Packet analysis {"connection_id":134979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ac"} 
[2026-07-15 17:38:02] local.INFO: Extracted packet for processing {"connection_id":134979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ac"} 
[2026-07-15 17:38:02] local.INFO: GPS Element Parsed {"raw_longitude":763397696,"raw_latitude":98329280,"longitude_deg":76.3397696,"latitude_deg":9.832928,"altitude":7,"angle":155,"satellites":38,"speed":42,"hex_longitude":"2d808640","hex_latitude":"05dc62c0","is_valid_coordinates":true} 
[2026-07-15 17:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734007808001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106663524226301952,"note":"Value kept but may cause issues"} 
[2026-07-15 17:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9189243170753929216,"note":"Value kept but may cause issues"} 
[2026-07-15 17:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784117229000,"timestamp_ms":1784117229000,"timestamp_seconds":1784117229,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ac75c8"} 
[2026-07-15 17:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-15 17:38:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:38:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":134979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":134979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":134979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734007808001,"66":12765,"251":206,"85":15104,"24":42,"16":106663524226301952,"45":-9189243170753929216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-15 17:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734007808001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:38:02] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-15 17:38:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 17:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106663524226301952,"km_value":106663524226301.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9189243170753929216,"description":"Unknown IO ID 45"} 
[2026-07-15 17:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734007808001,"power":12765,"unknown_251":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":-9189243170753929216}} 
[2026-07-15 17:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":134979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492111,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:38:02] local.INFO: GPS data processed {"connection_id":134979,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:38:02] local.INFO: Acknowledgment sent {"connection_id":134979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:38:05] local.INFO: TCP Data received {"connection_id":133620,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:38:05] local.INFO: Processing buffer {"connection_id":133620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:38:05] local.INFO: IMEI packet received {"connection_id":133620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":133620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:38:06] local.INFO: TCP Data received {"connection_id":133620,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f65aaf6f8012d7f974005afda600002006c2e..."} 
[2026-07-15 17:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65aaf6f8012d7f974005afda600002006c2e..."} 
[2026-07-15 17:38:06] local.INFO: Processing buffer {"connection_id":133620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65aaf6f8012d7f974005afda600002006c2e..."} 
[2026-07-15 17:38:06] local.INFO: Packet analysis {"connection_id":133620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65aa"} 
[2026-07-15 17:38:06] local.INFO: Extracted packet for processing {"connection_id":133620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65aa"} 
[2026-07-15 17:38:06] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":46,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733980160001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784117131000,"timestamp_ms":1784117131000,"timestamp_seconds":1784117131,"priority":1,"record_length":96,"hex_timestamp":"0000019f65aaf6f8"} 
[2026-07-15 17:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-15 17:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:38:06] 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-07-15 17:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733980160001,"66":27843,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733980160001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:38:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:38:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733980160001,"power":27843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":133620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:38:06] local.INFO: GPS data processed {"connection_id":133620,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:38:06] local.INFO: Acknowledgment sent {"connection_id":133620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:38:27] local.INFO: TCP Data received {"connection_id":132771,"ip":"117.224.84.119","data_length":795,"data_hex":"000000000000030f8e0a0000019f65aafec8012d1b51400724b978002100252c..."} 
[2026-07-15 17:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65aafec8012d1b51400724b978002100252c..."} 
[2026-07-15 17:38:27] local.INFO: Processing buffer {"connection_id":132771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65aafec8012d1b51400724b978002100252c..."} 
[2026-07-15 17:38:27] local.INFO: Packet analysis {"connection_id":132771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65aa"} 
[2026-07-15 17:38:27] local.INFO: Extracted packet for processing {"connection_id":132771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65aa"} 
[2026-07-15 17:38:27] local.INFO: GPS Element Parsed {"raw_longitude":756764992,"raw_latitude":119847288,"longitude_deg":75.6764992,"latitude_deg":11.9847288,"altitude":33,"angle":37,"satellites":44,"speed":36,"hex_longitude":"2d1b5140","hex_latitude":"0724b978","is_valid_coordinates":true} 
[2026-07-15 17: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-07-15 17:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733985024001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6200042989813760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965258318074030080,"note":"Value kept but may cause issues"} 
[2026-07-15 17:38:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784117133000,"timestamp_ms":1784117133000,"timestamp_seconds":1784117133,"priority":1,"record_length":96,"hex_timestamp":"0000019f65aafec8"} 
[2026-07-15 17:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:38:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17: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":55,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-07-15 17:38:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1256,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17: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-07-15 17:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":132771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":132771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":132771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.84.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733985024001,"66":14352,"91":206,"28":31744,"24":36,"16":6200042989813760,"45":1965258318074030080},"client_ip":"117.224.84.119","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-07-15 17:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733985024001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:38:27] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-15 17:38:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 17:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6200042989813760,"km_value":6200042989813.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965258318074030080,"description":"Unknown IO ID 45"} 
[2026-07-15 17:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733985024001,"power":14352,"unknown_91":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1965258318074030080}} 
[2026-07-15 17:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":132771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:38:27] local.INFO: GPS data processed {"connection_id":132771,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:38:27] local.INFO: Acknowledgment sent {"connection_id":132771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:38:33] local.INFO: TCP Data received {"connection_id":134979,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ac9508012d80990005dc42100008009a26..."} 
[2026-07-15 17:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ac9508012d80990005dc42100008009a26..."} 
[2026-07-15 17:38:33] local.INFO: Processing buffer {"connection_id":134979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ac9508012d80990005dc42100008009a26..."} 
[2026-07-15 17:38:33] local.INFO: Packet analysis {"connection_id":134979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ac"} 
[2026-07-15 17:38:33] local.INFO: Extracted packet for processing {"connection_id":134979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ac"} 
[2026-07-15 17:38:33] local.INFO: GPS Element Parsed {"raw_longitude":763402496,"raw_latitude":98320912,"longitude_deg":76.3402496,"latitude_deg":9.8320912,"altitude":8,"angle":154,"satellites":38,"speed":48,"hex_longitude":"2d809900","hex_latitude":"05dc4210","is_valid_coordinates":true} 
[2026-07-15 17: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-07-15 17:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734010624001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106663992377737216,"note":"Value kept but may cause issues"} 
[2026-07-15 17:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9185583996059074560,"note":"Value kept but may cause issues"} 
[2026-07-15 17:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784117237000,"timestamp_ms":1784117237000,"timestamp_seconds":1784117237,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ac9508"} 
[2026-07-15 17:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:38:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-15 17:38: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-07-15 17: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-07-15 17:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":134979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":134979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":134979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734010624001,"66":12950,"251":206,"85":15104,"24":48,"16":106663992377737216,"45":-9185583996059074560},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-15 17:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734010624001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:38:33] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-15 17:38:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 17:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106663992377737216,"km_value":106663992377737.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9185583996059074560,"description":"Unknown IO ID 45"} 
[2026-07-15 17:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734010624001,"power":12950,"unknown_251":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":-9185583996059074560}} 
[2026-07-15 17:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":134979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492114,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:38:33] local.INFO: GPS data processed {"connection_id":134979,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:38:33] local.INFO: Acknowledgment sent {"connection_id":134979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:38:37] local.INFO: TCP Data received {"connection_id":133620,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ab4900012d7f974005afda600002006c2e..."} 
[2026-07-15 17:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ab4900012d7f974005afda600002006c2e..."} 
[2026-07-15 17:38:37] local.INFO: Processing buffer {"connection_id":133620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ab4900012d7f974005afda600002006c2e..."} 
[2026-07-15 17:38:37] local.INFO: Packet analysis {"connection_id":133620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ab"} 
[2026-07-15 17:38:37] local.INFO: Extracted packet for processing {"connection_id":133620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ab"} 
[2026-07-15 17:38:37] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":46,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733985536001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784117152000,"timestamp_ms":1784117152000,"timestamp_seconds":1784117152,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ab4900"} 
[2026-07-15 17:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-15 17:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:38:37] 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-07-15 17:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733985536001,"66":27832,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733985536001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:38:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:38:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733985536001,"power":27832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":133620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:38:37] local.INFO: GPS data processed {"connection_id":133620,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:38:37] local.INFO: Acknowledgment sent {"connection_id":133620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:38:50] local.INFO: TCP Data received {"connection_id":134981,"ip":"117.224.84.119","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:38:50] local.INFO: Processing buffer {"connection_id":134981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:38:50] local.INFO: IMEI packet received {"connection_id":134981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 17:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":134981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:38:54] local.INFO: TCP Data received {"connection_id":134981,"ip":"117.224.84.119","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:38:54] local.INFO: Processing buffer {"connection_id":134981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:38:54] local.INFO: IMEI packet received {"connection_id":134981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":134981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:38:56] local.INFO: TCP Data received {"connection_id":134981,"ip":"117.224.84.119","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ab0a80012d1b56000724c2a8002100182c..."} 
[2026-07-15 17:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ab0a80012d1b56000724c2a8002100182c..."} 
[2026-07-15 17:38:56] local.INFO: Processing buffer {"connection_id":134981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ab0a80012d1b56000724c2a8002100182c..."} 
[2026-07-15 17:38:56] local.INFO: Packet analysis {"connection_id":134981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ab"} 
[2026-07-15 17:38:56] local.INFO: Extracted packet for processing {"connection_id":134981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ab"} 
[2026-07-15 17:38:56] local.INFO: GPS Element Parsed {"raw_longitude":756766208,"raw_latitude":119849640,"longitude_deg":75.6766208,"latitude_deg":11.984964,"altitude":33,"angle":24,"satellites":44,"speed":34,"hex_longitude":"2d1b5600","hex_latitude":"0724c2a8","is_valid_coordinates":true} 
[2026-07-15 17:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733986048001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6200171838832640,"note":"Value kept but may cause issues"} 
[2026-07-15 17:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968424911562700800,"note":"Value kept but may cause issues"} 
[2026-07-15 17:38:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784117136000,"timestamp_ms":1784117136000,"timestamp_seconds":1784117136,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ab0a80"} 
[2026-07-15 17:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:38:56] 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-07-15 17:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-15 17:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733141760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:38:56] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503694200406016,"note":"Value kept but may cause issues"} 
[2026-07-15 17:38:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":6145,"corrected_to":0} 
[2026-07-15 17:38:56] local.WARNING: Large IO value detected {"io_id":192,"raw_value":84753432539767864,"note":"Value kept but may cause issues"} 
[2026-07-15 17:38:56] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-15 17:38:56] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3976200192,"note":"Value kept but may cause issues"} 
[2026-07-15 17:38:56] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2859352065,"note":"Value kept but may cause issues"} 
[2026-07-15 17:38:56] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637310514816879,"note":"Value kept but may cause issues"} 
[2026-07-15 17:38:56] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5260468251858895104,"note":"Value kept but may cause issues"} 
[2026-07-15 17:38:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3882811598,"corrected_to":0} 
[2026-07-15 17:38:56] local.WARNING: Large IO value detected {"io_id":224,"raw_value":2147951690,"note":"Value kept but may cause issues"} 
[2026-07-15 17:38:56] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-07-15 17:38:56] local.WARNING: Large IO value detected {"io_id":32,"raw_value":10696307467364608,"note":"Value kept but may cause issues"} 
[2026-07-15 17:38:56] local.WARNING: Large IO value detected {"io_id":26,"raw_value":-6052830047292096476,"note":"Value kept but may cause issues"} 
[2026-07-15 17:38:56] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,91,28,24,241,158,16,6,159,239,45,175,33,42,10,66,200,192,153,161,1,240,169,5,101,36,4,113,205,34,75,224,144,54,111,2,22,7,39,38,206,32,26],"length":628,"final_offset":758,"validated_count":43,"validation_warnings":[{"io_id":200,"original":6145,"validated":0},{"io_id":205,"original":3882811598,"validated":0}]} 
[2026-07-15 17:38:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2377941474162769920,"timestamp_seconds":2377941474162770.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 17:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":134981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":134981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":134981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.84.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733986048001,"66":13254,"91":206,"28":31744,"24":34,"16":6200171838832640,"45":1968424911562700800},"client_ip":"117.224.84.119","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-07-15 17:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733986048001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:38:56] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-15 17:38:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 17:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6200171838832640,"km_value":6200171838832.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968424911562700800,"description":"Unknown IO ID 45"} 
[2026-07-15 17:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733986048001,"power":13254,"unknown_91":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1968424911562700800}} 
[2026-07-15 17:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":134981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:38:56] local.INFO: GPS data processed {"connection_id":134981,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:38:56] local.INFO: Acknowledgment sent {"connection_id":134981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:38:59] local.INFO: TCP Data received {"connection_id":132772,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132772,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:38:59] local.INFO: Processing buffer {"connection_id":132772,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:38:59] local.INFO: IMEI packet received {"connection_id":132772,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 17:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":132772,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:39:00] local.INFO: TCP Data received {"connection_id":133621,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:39:00] local.INFO: Processing buffer {"connection_id":133621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:39:00] local.INFO: IMEI packet received {"connection_id":133621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":133621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:39:01] local.INFO: TCP Data received {"connection_id":132772,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132772,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:39:01] local.INFO: Processing buffer {"connection_id":132772,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:39:01] local.INFO: IMEI packet received {"connection_id":132772,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 17:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":132772,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:39:04] local.INFO: TCP Data received {"connection_id":132772,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132772,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:39:04] local.INFO: Processing buffer {"connection_id":132772,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:39:04] local.INFO: IMEI packet received {"connection_id":132772,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 17:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":132772,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:39:05] local.INFO: TCP Data received {"connection_id":132772,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65add170012d81460005daf3700006008925..."} 
[2026-07-15 17:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65add170012d81460005daf3700006008925..."} 
[2026-07-15 17:39:05] local.INFO: Processing buffer {"connection_id":132772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65add170012d81460005daf3700006008925..."} 
[2026-07-15 17:39:05] local.INFO: Packet analysis {"connection_id":132772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ad"} 
[2026-07-15 17:39:05] local.INFO: Extracted packet for processing {"connection_id":132772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ad"} 
[2026-07-15 17:39:05] local.INFO: GPS Element Parsed {"raw_longitude":763446784,"raw_latitude":98235248,"longitude_deg":76.3446784,"latitude_deg":9.8235248,"altitude":6,"angle":137,"satellites":37,"speed":32,"hex_longitude":"2d814600","hex_latitude":"05daf370","is_valid_coordinates":true} 
[2026-07-15 17:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734032896001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106668691071959040,"note":"Value kept but may cause issues"} 
[2026-07-15 17:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9132948175438010368,"note":"Value kept but may cause issues"} 
[2026-07-15 17:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784117318000,"timestamp_ms":1784117318000,"timestamp_seconds":1784117318,"priority":1,"record_length":96,"hex_timestamp":"0000019f65add170"} 
[2026-07-15 17:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-15 17:39:05] 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-07-15 17:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734032896001,"66":13048,"154":206,"85":15104,"24":32,"16":106668691071959040,"45":-9132948175438010368},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-07-15 17:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734032896001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:39:05] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-15 17:39:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 17:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106668691071959040,"km_value":106668691071959.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9132948175438010368,"description":"Unknown IO ID 45"} 
[2026-07-15 17:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734032896001,"power":13048,"unknown_154":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9132948175438010368}} 
[2026-07-15 17:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":132772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492117,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:39:05] local.INFO: GPS data processed {"connection_id":132772,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:39:05] local.INFO: Acknowledgment sent {"connection_id":132772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:39:05] local.INFO: TCP Data received {"connection_id":133621,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:39:05] local.INFO: Processing buffer {"connection_id":133621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:39:05] local.INFO: IMEI packet received {"connection_id":133621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":133621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:39:06] local.INFO: TCP Data received {"connection_id":133621,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ab9b08012d7f974005afda600002006c2c..."} 
[2026-07-15 17:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ab9b08012d7f974005afda600002006c2c..."} 
[2026-07-15 17:39:06] local.INFO: Processing buffer {"connection_id":133621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ab9b08012d7f974005afda600002006c2c..."} 
[2026-07-15 17:39:06] local.INFO: Packet analysis {"connection_id":133621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ab"} 
[2026-07-15 17:39:06] local.INFO: Extracted packet for processing {"connection_id":133621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ab"} 
[2026-07-15 17:39:06] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733990912001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784117173000,"timestamp_ms":1784117173000,"timestamp_seconds":1784117173,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ab9b08"} 
[2026-07-15 17:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-15 17:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:39:06] 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-07-15 17:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733990912001,"66":27821,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733990912001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:39:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:39:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733990912001,"power":27821,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":133621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:39:06] local.INFO: GPS data processed {"connection_id":133621,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:39:06] local.INFO: Acknowledgment sent {"connection_id":133621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:39:11] local.INFO: TCP Data received {"connection_id":132772,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65add940012d8149c005daee200006009b24..."} 
[2026-07-15 17:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65add940012d8149c005daee200006009b24..."} 
[2026-07-15 17:39:11] local.INFO: Processing buffer {"connection_id":132772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65add940012d8149c005daee200006009b24..."} 
[2026-07-15 17:39:11] local.INFO: Packet analysis {"connection_id":132772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ad"} 
[2026-07-15 17:39:11] local.INFO: Extracted packet for processing {"connection_id":132772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ad"} 
[2026-07-15 17:39:11] local.INFO: GPS Element Parsed {"raw_longitude":763447744,"raw_latitude":98233888,"longitude_deg":76.3447744,"latitude_deg":9.8233888,"altitude":6,"angle":155,"satellites":36,"speed":32,"hex_longitude":"2d8149c0","hex_latitude":"05daee20","is_valid_coordinates":true} 
[2026-07-15 17:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734033408001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106668772676337664,"note":"Value kept but may cause issues"} 
[2026-07-15 17:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9131611169298878464,"note":"Value kept but may cause issues"} 
[2026-07-15 17:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784117320000,"timestamp_ms":1784117320000,"timestamp_seconds":1784117320,"priority":1,"record_length":96,"hex_timestamp":"0000019f65add940"} 
[2026-07-15 17:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-15 17:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734033408001,"66":12972,"154":206,"85":15104,"24":32,"16":106668772676337664,"45":-9131611169298878464},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-07-15 17:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734033408001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:39:11] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-15 17:39:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 17:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106668772676337664,"km_value":106668772676337.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9131611169298878464,"description":"Unknown IO ID 45"} 
[2026-07-15 17:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734033408001,"power":12972,"unknown_154":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9131611169298878464}} 
[2026-07-15 17:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":132772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492119,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:39:11] local.INFO: GPS data processed {"connection_id":132772,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:39:11] local.INFO: Acknowledgment sent {"connection_id":132772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:39:27] local.INFO: TCP Data received {"connection_id":134981,"ip":"117.224.84.119","data_length":795,"data_hex":"000000000000030f8e0a0000019f65add558012d1b6d80072576500028001029..."} 
[2026-07-15 17:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65add558012d1b6d80072576500028001029..."} 
[2026-07-15 17:39:27] local.INFO: Processing buffer {"connection_id":134981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65add558012d1b6d80072576500028001029..."} 
[2026-07-15 17:39:27] local.INFO: Packet analysis {"connection_id":134981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ad"} 
[2026-07-15 17:39:27] local.INFO: Extracted packet for processing {"connection_id":134981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ad"} 
[2026-07-15 17:39:27] local.INFO: GPS Element Parsed {"raw_longitude":756772224,"raw_latitude":119895632,"longitude_deg":75.6772224,"latitude_deg":11.9895632,"altitude":40,"angle":16,"satellites":41,"speed":11,"hex_longitude":"2d1b6d80","hex_latitude":"07257650","is_valid_coordinates":true} 
[2026-07-15 17:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734032640001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6202473941303296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1976165473434267648,"note":"Value kept but may cause issues"} 
[2026-07-15 17:39:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784117319000,"timestamp_ms":1784117319000,"timestamp_seconds":1784117319,"priority":1,"record_length":96,"hex_timestamp":"0000019f65add558"} 
[2026-07-15 17:39:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:39:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-07-15 17:39:27] 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-07-15 17:39:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:39:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":134981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":134981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":134981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.84.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734032640001,"66":13135,"92":206,"28":31744,"24":11,"16":6202473941303296,"45":1976165473434267648},"client_ip":"117.224.84.119","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-15 17:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734032640001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:39:27] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-15 17:39:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 17:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6202473941303296,"km_value":6202473941303.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1976165473434267648,"description":"Unknown IO ID 45"} 
[2026-07-15 17:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734032640001,"power":13135,"unknown_92":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1976165473434267648}} 
[2026-07-15 17:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":134981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:39:27] local.INFO: GPS data processed {"connection_id":134981,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:39:27] local.INFO: Acknowledgment sent {"connection_id":134981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:39:37] local.INFO: TCP Data received {"connection_id":133621,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f65abed10012d7f974005afda600002006c2e..."} 
[2026-07-15 17:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65abed10012d7f974005afda600002006c2e..."} 
[2026-07-15 17:39:37] local.INFO: Processing buffer {"connection_id":133621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65abed10012d7f974005afda600002006c2e..."} 
[2026-07-15 17:39:37] local.INFO: Packet analysis {"connection_id":133621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ab"} 
[2026-07-15 17:39:37] local.INFO: Extracted packet for processing {"connection_id":133621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ab"} 
[2026-07-15 17:39:37] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":46,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456733996288001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784117194000,"timestamp_ms":1784117194000,"timestamp_seconds":1784117194,"priority":1,"record_length":96,"hex_timestamp":"0000019f65abed10"} 
[2026-07-15 17:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 17:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:39:37] 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-07-15 17:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456733996288001,"66":27767,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456733996288001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:39:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:39:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456733996288001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":133621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:39:37] local.INFO: GPS data processed {"connection_id":133621,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:39:37] local.INFO: Acknowledgment sent {"connection_id":133621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:39:42] local.INFO: TCP Data received {"connection_id":132772,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ade110012d814b4005dae728000600a922..."} 
[2026-07-15 17:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ade110012d814b4005dae728000600a922..."} 
[2026-07-15 17:39:42] local.INFO: Processing buffer {"connection_id":132772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ade110012d814b4005dae728000600a922..."} 
[2026-07-15 17:39:42] local.INFO: Packet analysis {"connection_id":132772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ad"} 
[2026-07-15 17:39:42] local.INFO: Extracted packet for processing {"connection_id":132772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ad"} 
[2026-07-15 17:39:42] local.INFO: GPS Element Parsed {"raw_longitude":763448128,"raw_latitude":98232104,"longitude_deg":76.3448128,"latitude_deg":9.8232104,"altitude":6,"angle":169,"satellites":34,"speed":38,"hex_longitude":"2d814b40","hex_latitude":"05dae728","is_valid_coordinates":true} 
[2026-07-15 17:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734033920001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106668858575683584,"note":"Value kept but may cause issues"} 
[2026-07-15 17:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9130555638136561664,"note":"Value kept but may cause issues"} 
[2026-07-15 17:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784117322000,"timestamp_ms":1784117322000,"timestamp_seconds":1784117322,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ade110"} 
[2026-07-15 17:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-15 17:39:42] 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-07-15 17:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734033920001,"66":13037,"154":206,"85":15104,"24":38,"16":106668858575683584,"45":-9130555638136561664},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-07-15 17:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734033920001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:39:42] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-15 17:39:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 17:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106668858575683584,"km_value":106668858575683.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9130555638136561664,"description":"Unknown IO ID 45"} 
[2026-07-15 17:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734033920001,"power":13037,"unknown_154":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9130555638136561664}} 
[2026-07-15 17:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":132772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492122,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:39:42] local.INFO: GPS data processed {"connection_id":132772,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:39:42] local.INFO: Acknowledgment sent {"connection_id":132772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:39:50] local.INFO: TCP Data received {"connection_id":133622,"ip":"117.224.84.119","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:39:50] local.INFO: Processing buffer {"connection_id":133622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:39:50] local.INFO: IMEI packet received {"connection_id":133622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 17:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":133622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:39:55] local.INFO: TCP Data received {"connection_id":133622,"ip":"117.224.84.119","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:39:55] local.INFO: Processing buffer {"connection_id":133622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:39:55] local.INFO: IMEI packet received {"connection_id":133622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":133622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:39:57] local.INFO: TCP Data received {"connection_id":133622,"ip":"117.224.84.119","data_length":795,"data_hex":"000000000000030f8e0a0000019f65addd28012d1b6e40072578580029001e2b..."} 
[2026-07-15 17:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65addd28012d1b6e40072578580029001e2b..."} 
[2026-07-15 17:39:57] local.INFO: Processing buffer {"connection_id":133622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65addd28012d1b6e40072578580029001e2b..."} 
[2026-07-15 17:39:57] local.INFO: Packet analysis {"connection_id":133622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ad"} 
[2026-07-15 17:39:57] local.INFO: Extracted packet for processing {"connection_id":133622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ad"} 
[2026-07-15 17:39:57] local.INFO: GPS Element Parsed {"raw_longitude":756772416,"raw_latitude":119896152,"longitude_deg":75.6772416,"latitude_deg":11.9896152,"altitude":41,"angle":30,"satellites":43,"speed":9,"hex_longitude":"2d1b6e40","hex_latitude":"07257858","is_valid_coordinates":true} 
[2026-07-15 17: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-07-15 17:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734033664001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:39:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6202499711107072,"note":"Value kept but may cause issues"} 
[2026-07-15 17:39:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1976376579667152896,"note":"Value kept but may cause issues"} 
[2026-07-15 17:39:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:39:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784117321000,"timestamp_ms":1784117321000,"timestamp_seconds":1784117321,"priority":1,"record_length":96,"hex_timestamp":"0000019f65addd28"} 
[2026-07-15 17:39:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:39:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-15 17:39:57] 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-07-15 17: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-07-15 17:39:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:39:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:39:57] local.INFO: Teltonika packet parsed successfully {"connection_id":133622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:39:57] local.INFO: Passing IMEI to GPS processor {"connection_id":133622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:39:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":133622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:39:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.84.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:39:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:39:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:39:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734033664001,"66":13015,"92":206,"28":31744,"24":9,"16":6202499711107072,"45":1976376579667152896},"client_ip":"117.224.84.119","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-15 17:39:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:39:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:39:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734033664001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:39:57] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-15 17:39:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 17:39:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6202499711107072,"km_value":6202499711107.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:39:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1976376579667152896,"description":"Unknown IO ID 45"} 
[2026-07-15 17:39:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734033664001,"power":13015,"unknown_92":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1976376579667152896}} 
[2026-07-15 17:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":133622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:39:57] local.INFO: GPS data processed {"connection_id":133622,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:39:57] local.INFO: Acknowledgment sent {"connection_id":133622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:39:59] local.INFO: TCP Data received {"connection_id":134982,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134982,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:39:59] local.INFO: Processing buffer {"connection_id":134982,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:39:59] local.INFO: IMEI packet received {"connection_id":134982,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 17:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":134982,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:40:00] local.INFO: TCP Data received {"connection_id":134982,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134982,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:40:00] local.INFO: Processing buffer {"connection_id":134982,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:40:00] local.INFO: IMEI packet received {"connection_id":134982,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 17:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":134982,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:40:00] local.INFO: TCP Data received {"connection_id":132773,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:40:00] local.INFO: Processing buffer {"connection_id":132773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:40:00] local.INFO: IMEI packet received {"connection_id":132773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":132773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:40:02] local.INFO: TCP Data received {"connection_id":134982,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134982,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:40:02] local.INFO: Processing buffer {"connection_id":134982,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:40:02] local.INFO: IMEI packet received {"connection_id":134982,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 17:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":134982,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:40:03] local.INFO: TCP Data received {"connection_id":134982,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65aef280012d82054005da8a680007004927..."} 
[2026-07-15 17:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65aef280012d82054005da8a680007004927..."} 
[2026-07-15 17:40:03] local.INFO: Processing buffer {"connection_id":134982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65aef280012d82054005da8a680007004927..."} 
[2026-07-15 17:40:03] local.INFO: Packet analysis {"connection_id":134982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ae"} 
[2026-07-15 17:40:03] local.INFO: Extracted packet for processing {"connection_id":134982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ae"} 
[2026-07-15 17:40:03] local.INFO: GPS Element Parsed {"raw_longitude":763495744,"raw_latitude":98208360,"longitude_deg":76.3495744,"latitude_deg":9.820836,"altitude":7,"angle":73,"satellites":39,"speed":40,"hex_longitude":"2d820540","hex_latitude":"05da8a68","is_valid_coordinates":true} 
[2026-07-15 17:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734050304001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106672131340763136,"note":"Value kept but may cause issues"} 
[2026-07-15 17:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9087349229218695168,"note":"Value kept but may cause issues"} 
[2026-07-15 17:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784117392000,"timestamp_ms":1784117392000,"timestamp_seconds":1784117392,"priority":1,"record_length":96,"hex_timestamp":"0000019f65aef280"} 
[2026-07-15 17:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 17:40:03] 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-07-15 17:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":134982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":134982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":134982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734050304001,"66":12667,"153":206,"85":15104,"24":40,"16":106672131340763136,"45":-9087349229218695168},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-07-15 17:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734050304001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:40:03] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-15 17:40:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 17:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106672131340763136,"km_value":106672131340763.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9087349229218695168,"description":"Unknown IO ID 45"} 
[2026-07-15 17:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734050304001,"power":12667,"unknown_153":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":-9087349229218695168}} 
[2026-07-15 17:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":134982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492124,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:40:03] local.INFO: GPS data processed {"connection_id":134982,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:40:03] local.INFO: Acknowledgment sent {"connection_id":134982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:40:05] local.INFO: TCP Data received {"connection_id":132773,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:40:05] local.INFO: Processing buffer {"connection_id":132773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:40:05] local.INFO: IMEI packet received {"connection_id":132773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":132773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:40:06] local.INFO: TCP Data received {"connection_id":132773,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ac3f18012d7f974005afda600002006c2d..."} 
[2026-07-15 17:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ac3f18012d7f974005afda600002006c2d..."} 
[2026-07-15 17:40:06] local.INFO: Processing buffer {"connection_id":132773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ac3f18012d7f974005afda600002006c2d..."} 
[2026-07-15 17:40:06] local.INFO: Packet analysis {"connection_id":132773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ac"} 
[2026-07-15 17:40:06] local.INFO: Extracted packet for processing {"connection_id":132773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ac"} 
[2026-07-15 17:40:06] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":45,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17: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-07-15 17:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734001664001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784117215000,"timestamp_ms":1784117215000,"timestamp_seconds":1784117215,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ac3f18"} 
[2026-07-15 17:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 17:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:40:06] 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-07-15 17:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734001664001,"66":27821,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734001664001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:40:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:40:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734001664001,"power":27821,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":132773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:40:06] local.INFO: GPS data processed {"connection_id":132773,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:40:06] local.INFO: Acknowledgment sent {"connection_id":132773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:40:28] local.INFO: TCP Data received {"connection_id":133622,"ip":"117.224.84.119","data_length":795,"data_hex":"000000000000030f8e0a0000019f65adecc8012d1b6f8007257b280029000c2b..."} 
[2026-07-15 17:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65adecc8012d1b6f8007257b280029000c2b..."} 
[2026-07-15 17:40:28] local.INFO: Processing buffer {"connection_id":133622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65adecc8012d1b6f8007257b280029000c2b..."} 
[2026-07-15 17:40:28] local.INFO: Packet analysis {"connection_id":133622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ad"} 
[2026-07-15 17:40:28] local.INFO: Extracted packet for processing {"connection_id":133622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ad"} 
[2026-07-15 17:40:28] local.INFO: GPS Element Parsed {"raw_longitude":756772736,"raw_latitude":119896872,"longitude_deg":75.6772736,"latitude_deg":11.9896872,"altitude":41,"angle":12,"satellites":43,"speed":5,"hex_longitude":"2d1b6f80","hex_latitude":"07257b28","is_valid_coordinates":true} 
[2026-07-15 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-07-15 17:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734034176001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6202538365812736,"note":"Value kept but may cause issues"} 
[2026-07-15 17:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1976587685899819008,"note":"Value kept but may cause issues"} 
[2026-07-15 17:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784117325000,"timestamp_ms":1784117325000,"timestamp_seconds":1784117325,"priority":1,"record_length":96,"hex_timestamp":"0000019f65adecc8"} 
[2026-07-15 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-07-15 17:40:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-15 17:40:28] 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-07-15 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-07-15 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-07-15 17:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":133622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":133622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":133622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.84.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734034176001,"66":13091,"92":206,"28":31744,"24":5,"16":6202538365812736,"45":1976587685899819008},"client_ip":"117.224.84.119","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-15 17:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734034176001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:40:28] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-15 17:40:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 17:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6202538365812736,"km_value":6202538365812.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1976587685899819008,"description":"Unknown IO ID 45"} 
[2026-07-15 17:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734034176001,"power":13091,"unknown_92":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1976587685899819008}} 
[2026-07-15 17:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":133622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:40:28] local.INFO: GPS data processed {"connection_id":133622,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:40:28] local.INFO: Acknowledgment sent {"connection_id":133622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:40:34] local.INFO: TCP Data received {"connection_id":134982,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65af09f0012d8218c005da8f100008005a27..."} 
[2026-07-15 17:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65af09f0012d8218c005da8f100008005a27..."} 
[2026-07-15 17:40:34] local.INFO: Processing buffer {"connection_id":134982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65af09f0012d8218c005da8f100008005a27..."} 
[2026-07-15 17:40:34] local.INFO: Packet analysis {"connection_id":134982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65af"} 
[2026-07-15 17:40:34] local.INFO: Extracted packet for processing {"connection_id":134982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65af"} 
[2026-07-15 17:40:34] local.INFO: GPS Element Parsed {"raw_longitude":763500736,"raw_latitude":98209552,"longitude_deg":76.3500736,"latitude_deg":9.8209552,"altitude":8,"angle":90,"satellites":39,"speed":23,"hex_longitude":"2d8218c0","hex_latitude":"05da8f10","is_valid_coordinates":true} 
[2026-07-15 17:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734052352001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106672376153899008,"note":"Value kept but may cause issues"} 
[2026-07-15 17:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9077779080009848832,"note":"Value kept but may cause issues"} 
[2026-07-15 17:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784117398000,"timestamp_ms":1784117398000,"timestamp_seconds":1784117398,"priority":1,"record_length":96,"hex_timestamp":"0000019f65af09f0"} 
[2026-07-15 17:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-15 17:40:34] 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-07-15 17:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":134982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":134982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":134982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734052352001,"66":12504,"153":206,"85":15104,"24":23,"16":106672376153899008,"45":-9077779080009848832},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-07-15 17:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734052352001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:40:34] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-15 17:40:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 17:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106672376153899008,"km_value":106672376153899.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9077779080009848832,"description":"Unknown IO ID 45"} 
[2026-07-15 17:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734052352001,"power":12504,"unknown_153":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9077779080009848832}} 
[2026-07-15 17:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":134982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492127,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:40:34] local.INFO: GPS data processed {"connection_id":134982,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:40:34] local.INFO: Acknowledgment sent {"connection_id":134982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:40:43] local.INFO: TCP Data received {"connection_id":132773,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ac9120012d7f974005afda600002006c2e..."} 
[2026-07-15 17:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ac9120012d7f974005afda600002006c2e..."} 
[2026-07-15 17:40:43] local.INFO: Processing buffer {"connection_id":132773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ac9120012d7f974005afda600002006c2e..."} 
[2026-07-15 17:40:43] local.INFO: Packet analysis {"connection_id":132773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ac"} 
[2026-07-15 17:40:43] local.INFO: Extracted packet for processing {"connection_id":132773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ac"} 
[2026-07-15 17:40:43] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":46,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734007040001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:40:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:40:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784117236000,"timestamp_ms":1784117236000,"timestamp_seconds":1784117236,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ac9120"} 
[2026-07-15 17:40:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:40:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 17:40:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:40:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:40:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":132773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":132773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":132773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:40:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734007040001,"66":27876,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734007040001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:40:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:40:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:40:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:40:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734007040001,"power":27876,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":132773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:40:43] local.INFO: GPS data processed {"connection_id":132773,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:40:43] local.INFO: Acknowledgment sent {"connection_id":132773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:40:50] local.INFO: TCP Data received {"connection_id":132595,"ip":"117.224.84.119","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:40:50] local.INFO: Processing buffer {"connection_id":132595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:40:50] local.INFO: IMEI packet received {"connection_id":132595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 17:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":132595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:40:55] local.INFO: TCP Data received {"connection_id":132595,"ip":"117.224.84.119","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:40:55] local.INFO: Processing buffer {"connection_id":132595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:40:55] local.INFO: IMEI packet received {"connection_id":132595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":132595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:40:57] local.INFO: TCP Data received {"connection_id":132595,"ip":"117.224.84.119","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ae3ed0012d1b708007257c90002c000c2b..."} 
[2026-07-15 17:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ae3ed0012d1b708007257c90002c000c2b..."} 
[2026-07-15 17:40:57] local.INFO: Processing buffer {"connection_id":132595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ae3ed0012d1b708007257c90002c000c2b..."} 
[2026-07-15 17:40:57] local.INFO: Packet analysis {"connection_id":132595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ae"} 
[2026-07-15 17:40:57] local.INFO: Extracted packet for processing {"connection_id":132595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ae"} 
[2026-07-15 17:40:57] local.INFO: GPS Element Parsed {"raw_longitude":756772992,"raw_latitude":119897232,"longitude_deg":75.6772992,"latitude_deg":11.9897232,"altitude":44,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d1b7080","hex_latitude":"07257c90","is_valid_coordinates":true} 
[2026-07-15 17: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-07-15 17:40:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734035200001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:40:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6202615675224064,"note":"Value kept but may cause issues"} 
[2026-07-15 17:40:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1976939529620891648,"note":"Value kept but may cause issues"} 
[2026-07-15 17:40:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:40:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784117346000,"timestamp_ms":1784117346000,"timestamp_seconds":1784117346,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ae3ed0"} 
[2026-07-15 17:40:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:40:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-15 17:40: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-07-15 17: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-07-15 17:40:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:40:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:40:57] local.INFO: Teltonika packet parsed successfully {"connection_id":132595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:40:57] local.INFO: Passing IMEI to GPS processor {"connection_id":132595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:40:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":132595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:40:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.84.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:40:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:40:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:40:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734035200001,"66":13080,"92":206,"28":31744,"24":0,"16":6202615675224064,"45":1976939529620891648},"client_ip":"117.224.84.119","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-15 17:40:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734035200001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:40:57] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-15 17:40:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 17:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6202615675224064,"km_value":6202615675224.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:40:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1976939529620891648,"description":"Unknown IO ID 45"} 
[2026-07-15 17:40:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734035200001,"power":13080,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1976939529620891648}} 
[2026-07-15 17:40:57] local.INFO: DEBUG: GPS processor result {"connection_id":132595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:40:57] local.INFO: GPS data processed {"connection_id":132595,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:40:57] local.INFO: Acknowledgment sent {"connection_id":132595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:40:59] local.INFO: TCP Data received {"connection_id":132774,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132774,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:40:59] local.INFO: Processing buffer {"connection_id":132774,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:40:59] local.INFO: IMEI packet received {"connection_id":132774,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 17:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":132774,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:40:59] local.INFO: TCP Data received {"connection_id":132594,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132594,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:40:59] local.INFO: Processing buffer {"connection_id":132594,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:40:59] local.INFO: IMEI packet received {"connection_id":132594,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 17:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":132594,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:41:03] local.INFO: TCP Data received {"connection_id":132774,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132774,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:41:03] local.INFO: Processing buffer {"connection_id":132774,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:41:03] local.INFO: IMEI packet received {"connection_id":132774,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 17:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":132774,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:41:04] local.INFO: TCP Data received {"connection_id":132774,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65af11c0012d821d0005da8e400009007327..."} 
[2026-07-15 17:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65af11c0012d821d0005da8e400009007327..."} 
[2026-07-15 17:41:04] local.INFO: Processing buffer {"connection_id":132774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65af11c0012d821d0005da8e400009007327..."} 
[2026-07-15 17:41:04] local.INFO: Packet analysis {"connection_id":132774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65af"} 
[2026-07-15 17:41:04] local.INFO: Extracted packet for processing {"connection_id":132774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65af"} 
[2026-07-15 17:41:04] local.INFO: GPS Element Parsed {"raw_longitude":763501824,"raw_latitude":98209344,"longitude_deg":76.3501824,"latitude_deg":9.8209344,"altitude":9,"angle":115,"satellites":39,"speed":21,"hex_longitude":"2d821d00","hex_latitude":"05da8e40","is_valid_coordinates":true} 
[2026-07-15 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-07-15 17:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734053888001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106672431988473856,"note":"Value kept but may cause issues"} 
[2026-07-15 17:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9072290317963685888,"note":"Value kept but may cause issues"} 
[2026-07-15 17:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784117400000,"timestamp_ms":1784117400000,"timestamp_seconds":1784117400,"priority":1,"record_length":96,"hex_timestamp":"0000019f65af11c0"} 
[2026-07-15 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-07-15 17:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 17:41:04] 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-07-15 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-07-15 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-07-15 17:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":132774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":132774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":132774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734053888001,"66":12939,"153":206,"85":15104,"24":21,"16":106672431988473856,"45":-9072290317963685888},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-07-15 17:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734053888001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:41:04] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-15 17:41:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 17:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106672431988473856,"km_value":106672431988473.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9072290317963685888,"description":"Unknown IO ID 45"} 
[2026-07-15 17:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734053888001,"power":12939,"unknown_153":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9072290317963685888}} 
[2026-07-15 17:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":132774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492130,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:41:04] local.INFO: GPS data processed {"connection_id":132774,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:41:04] local.INFO: Acknowledgment sent {"connection_id":132774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:41:05] local.INFO: TCP Data received {"connection_id":133623,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:41:05] local.INFO: Processing buffer {"connection_id":133623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:41:05] local.INFO: IMEI packet received {"connection_id":133623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":133623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:41:10] local.INFO: TCP Data received {"connection_id":133623,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:41:10] local.INFO: Processing buffer {"connection_id":133623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:41:10] local.INFO: IMEI packet received {"connection_id":133623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":133623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:41:11] local.INFO: TCP Data received {"connection_id":133623,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ace328012d7f974005afda600002006c2c..."} 
[2026-07-15 17:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ace328012d7f974005afda600002006c2c..."} 
[2026-07-15 17:41:11] local.INFO: Processing buffer {"connection_id":133623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ace328012d7f974005afda600002006c2c..."} 
[2026-07-15 17:41:11] local.INFO: Packet analysis {"connection_id":133623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ac"} 
[2026-07-15 17:41:11] local.INFO: Extracted packet for processing {"connection_id":133623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ac"} 
[2026-07-15 17:41:11] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734012416001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784117257000,"timestamp_ms":1784117257000,"timestamp_seconds":1784117257,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ace328"} 
[2026-07-15 17:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-15 17:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:41:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":133623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":133623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":133623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:41:11] 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-07-15 17:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734012416001,"66":27463,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734012416001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:41:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:41:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734012416001,"power":27463,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":133623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:41:11] local.INFO: GPS data processed {"connection_id":133623,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:41:11] local.INFO: Acknowledgment sent {"connection_id":133623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:41:15] local.INFO: TCP Data received {"connection_id":133623,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ace710012d7f974005afda600002006c2c..."} 
[2026-07-15 17:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ace710012d7f974005afda600002006c2c..."} 
[2026-07-15 17:41:15] local.INFO: Processing buffer {"connection_id":133623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ace710012d7f974005afda600002006c2c..."} 
[2026-07-15 17:41:15] local.INFO: Packet analysis {"connection_id":133623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ac"} 
[2026-07-15 17:41:15] local.INFO: Extracted packet for processing {"connection_id":133623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ac"} 
[2026-07-15 17:41:15] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734017792001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784117258000,"timestamp_ms":1784117258000,"timestamp_seconds":1784117258,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ace710"} 
[2026-07-15 17:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-15 17:41:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:41:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":133623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":133623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":133623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734017792001,"66":27463,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734017792001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:41:15] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:41:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734017792001,"power":27463,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":133623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:41:15] local.INFO: GPS data processed {"connection_id":133623,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:41:15] local.INFO: Acknowledgment sent {"connection_id":133623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:41:28] local.INFO: TCP Data received {"connection_id":132595,"ip":"117.224.84.119","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ae90d8012d1b708007257c90002c000c29..."} 
[2026-07-15 17:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ae90d8012d1b708007257c90002c000c29..."} 
[2026-07-15 17:41:28] local.INFO: Processing buffer {"connection_id":132595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ae90d8012d1b708007257c90002c000c29..."} 
[2026-07-15 17:41:28] local.INFO: Packet analysis {"connection_id":132595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ae"} 
[2026-07-15 17:41:28] local.INFO: Extracted packet for processing {"connection_id":132595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ae"} 
[2026-07-15 17:41:28] local.INFO: GPS Element Parsed {"raw_longitude":756772992,"raw_latitude":119897232,"longitude_deg":75.6772992,"latitude_deg":11.9897232,"altitude":44,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d1b7080","hex_latitude":"07257c90","is_valid_coordinates":true} 
[2026-07-15 17:41: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-07-15 17:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734040576001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6202615675224064,"note":"Value kept but may cause issues"} 
[2026-07-15 17:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977221004597694464,"note":"Value kept but may cause issues"} 
[2026-07-15 17:41:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784117367000,"timestamp_ms":1784117367000,"timestamp_seconds":1784117367,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ae90d8"} 
[2026-07-15 17:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:41:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-15 17:41:28] 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-07-15 17:41: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-07-15 17:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.84.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734040576001,"66":13091,"92":206,"28":31744,"24":0,"16":6202615675224064,"45":1977221004597694464},"client_ip":"117.224.84.119","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-15 17:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734040576001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:41:28] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-15 17:41:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 17:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6202615675224064,"km_value":6202615675224.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977221004597694464,"description":"Unknown IO ID 45"} 
[2026-07-15 17:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734040576001,"power":13091,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977221004597694464}} 
[2026-07-15 17:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":132595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:41:28] local.INFO: GPS data processed {"connection_id":132595,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:41:28] local.INFO: Acknowledgment sent {"connection_id":132595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:41:34] local.INFO: TCP Data received {"connection_id":133624,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133624,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:41:34] local.INFO: Processing buffer {"connection_id":133624,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:41:34] local.INFO: IMEI packet received {"connection_id":133624,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 17:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":133624,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:41:35] local.INFO: TCP Data received {"connection_id":132774,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65af15a8012d821ec005da8d180009008227..."} 
[2026-07-15 17:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65af15a8012d821ec005da8d180009008227..."} 
[2026-07-15 17:41:35] local.INFO: Processing buffer {"connection_id":132774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65af15a8012d821ec005da8d180009008227..."} 
[2026-07-15 17:41:35] local.INFO: Packet analysis {"connection_id":132774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65af"} 
[2026-07-15 17:41:35] local.INFO: Extracted packet for processing {"connection_id":132774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65af"} 
[2026-07-15 17:41:35] local.INFO: GPS Element Parsed {"raw_longitude":763502272,"raw_latitude":98209048,"longitude_deg":76.3502272,"latitude_deg":9.8209048,"altitude":9,"angle":130,"satellites":39,"speed":20,"hex_longitude":"2d821ec0","hex_latitude":"05da8d18","is_valid_coordinates":true} 
[2026-07-15 17:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734054400001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106672457758277632,"note":"Value kept but may cause issues"} 
[2026-07-15 17:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9071094049312718848,"note":"Value kept but may cause issues"} 
[2026-07-15 17:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784117401000,"timestamp_ms":1784117401000,"timestamp_seconds":1784117401,"priority":1,"record_length":96,"hex_timestamp":"0000019f65af15a8"} 
[2026-07-15 17:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 17:41:35] 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-07-15 17:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734054400001,"66":12765,"153":206,"85":15104,"24":20,"16":106672457758277632,"45":-9071094049312718848},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-07-15 17:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734054400001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:41:35] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-15 17:41:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 17:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106672457758277632,"km_value":106672457758277.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9071094049312718848,"description":"Unknown IO ID 45"} 
[2026-07-15 17:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734054400001,"power":12765,"unknown_153":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9071094049312718848}} 
[2026-07-15 17:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":132774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492134,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:41:35] local.INFO: GPS data processed {"connection_id":132774,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:41:35] local.INFO: Acknowledgment sent {"connection_id":132774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:41:55] local.INFO: TCP Data received {"connection_id":134983,"ip":"117.224.84.119","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:41:55] local.INFO: Processing buffer {"connection_id":134983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:41:55] local.INFO: IMEI packet received {"connection_id":134983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 17:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":134983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:41:59] local.INFO: TCP Data received {"connection_id":132775,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:41:59] local.INFO: Processing buffer {"connection_id":132775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:41:59] local.INFO: IMEI packet received {"connection_id":132775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 17:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":132775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:42:00] local.INFO: TCP Data received {"connection_id":133625,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:42:00] local.INFO: Processing buffer {"connection_id":133625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:42:00] local.INFO: IMEI packet received {"connection_id":133625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":133625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:42:04] local.INFO: TCP Data received {"connection_id":132775,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:42:04] local.INFO: Processing buffer {"connection_id":132775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:42:04] local.INFO: IMEI packet received {"connection_id":132775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 17:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":132775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:42:05] local.INFO: TCP Data received {"connection_id":132775,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b07538012d8259c005d98628000800a527..."} 
[2026-07-15 17:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b07538012d8259c005d98628000800a527..."} 
[2026-07-15 17:42:05] local.INFO: Processing buffer {"connection_id":132775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b07538012d8259c005d98628000800a527..."} 
[2026-07-15 17:42:05] local.INFO: Packet analysis {"connection_id":132775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b0"} 
[2026-07-15 17:42:05] local.INFO: Extracted packet for processing {"connection_id":132775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b0"} 
[2026-07-15 17:42:05] local.INFO: GPS Element Parsed {"raw_longitude":763517376,"raw_latitude":98141736,"longitude_deg":76.3517376,"latitude_deg":9.8141736,"altitude":8,"angle":165,"satellites":39,"speed":42,"hex_longitude":"2d8259c0","hex_latitude":"05d98628","is_valid_coordinates":true} 
[2026-07-15 17: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-07-15 17:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734075392001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106675816422703104,"note":"Value kept but may cause issues"} 
[2026-07-15 17:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9056035138073747456,"note":"Value kept but may cause issues"} 
[2026-07-15 17:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784117491000,"timestamp_ms":1784117491000,"timestamp_seconds":1784117491,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b07538"} 
[2026-07-15 17:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-15 17:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17: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-07-15 17:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734075392001,"66":12722,"71":206,"85":15104,"24":42,"16":106675816422703104,"45":-9056035138073747456},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-15 17:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734075392001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:42:05] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-15 17:42:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 17:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106675816422703104,"km_value":106675816422703.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9056035138073747456,"description":"Unknown IO ID 45"} 
[2026-07-15 17:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734075392001,"power":12722,"unknown_71":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":-9056035138073747456}} 
[2026-07-15 17:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":132775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492135,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:42:05] local.INFO: GPS data processed {"connection_id":132775,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:42:05] local.INFO: Acknowledgment sent {"connection_id":132775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:42:05] local.INFO: TCP Data received {"connection_id":133625,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:42:05] local.INFO: Processing buffer {"connection_id":133625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:42:05] local.INFO: IMEI packet received {"connection_id":133625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":133625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:42:06] local.INFO: TCP Data received {"connection_id":133625,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f65aceee0012d7f974005afda600002006c2c..."} 
[2026-07-15 17:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65aceee0012d7f974005afda600002006c2c..."} 
[2026-07-15 17:42:06] local.INFO: Processing buffer {"connection_id":133625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65aceee0012d7f974005afda600002006c2c..."} 
[2026-07-15 17:42:06] local.INFO: Packet analysis {"connection_id":133625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ac"} 
[2026-07-15 17:42:06] local.INFO: Extracted packet for processing {"connection_id":133625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ac"} 
[2026-07-15 17:42:06] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734018048001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784117260000,"timestamp_ms":1784117260000,"timestamp_seconds":1784117260,"priority":1,"record_length":96,"hex_timestamp":"0000019f65aceee0"} 
[2026-07-15 17:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 17:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-15 17:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:42:06] 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-07-15 17:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734018048001,"66":27974,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734018048001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:42:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:42:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734018048001,"power":27974,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":133625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:42:06] local.INFO: GPS data processed {"connection_id":133625,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:42:06] local.INFO: Acknowledgment sent {"connection_id":133625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:42:23] local.INFO: TCP Data received {"connection_id":134983,"ip":"117.224.84.119","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:42:23] local.INFO: Processing buffer {"connection_id":134983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:42:23] local.INFO: IMEI packet received {"connection_id":134983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":134983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:42:23] local.INFO: TCP Data received {"connection_id":134983,"ip":"117.224.84.119","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-15 17:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134983,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-15 17:42:23] local.INFO: Processing buffer {"connection_id":134983,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-15 17:42:23] local.INFO: IMEI packet received {"connection_id":134983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":134983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:42:36] local.INFO: TCP Data received {"connection_id":132775,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b09478012d8262c005d963c8000700a326..."} 
[2026-07-15 17:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b09478012d8262c005d963c8000700a326..."} 
[2026-07-15 17:42:36] local.INFO: Processing buffer {"connection_id":132775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b09478012d8262c005d963c8000700a326..."} 
[2026-07-15 17:42:36] local.INFO: Packet analysis {"connection_id":132775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b0"} 
[2026-07-15 17:42:36] local.INFO: Extracted packet for processing {"connection_id":132775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b0"} 
[2026-07-15 17:42:36] local.INFO: GPS Element Parsed {"raw_longitude":763519680,"raw_latitude":98132936,"longitude_deg":76.351968,"latitude_deg":9.8132936,"altitude":7,"angle":163,"satellites":38,"speed":44,"hex_longitude":"2d8262c0","hex_latitude":"05d963c8","is_valid_coordinates":true} 
[2026-07-15 17:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734077696001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106676254509367296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9053994444494854144,"note":"Value kept but may cause issues"} 
[2026-07-15 17:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784117499000,"timestamp_ms":1784117499000,"timestamp_seconds":1784117499,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b09478"} 
[2026-07-15 17:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 17:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734077696001,"66":12645,"71":206,"85":15104,"24":44,"16":106676254509367296,"45":-9053994444494854144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-15 17:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734077696001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:42:36] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-15 17:42:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 17:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106676254509367296,"km_value":106676254509367.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9053994444494854144,"description":"Unknown IO ID 45"} 
[2026-07-15 17:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734077696001,"power":12645,"unknown_71":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":-9053994444494854144}} 
[2026-07-15 17:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":132775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492137,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:42:37] local.INFO: GPS data processed {"connection_id":132775,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:42:37] local.INFO: Acknowledgment sent {"connection_id":132775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:42:37] local.INFO: TCP Data received {"connection_id":133625,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f65acf6b0012d7f974005afda600002006c2c..."} 
[2026-07-15 17:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65acf6b0012d7f974005afda600002006c2c..."} 
[2026-07-15 17:42:37] local.INFO: Processing buffer {"connection_id":133625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65acf6b0012d7f974005afda600002006c2c..."} 
[2026-07-15 17:42:37] local.INFO: Packet analysis {"connection_id":133625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ac"} 
[2026-07-15 17:42:37] local.INFO: Extracted packet for processing {"connection_id":133625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ac"} 
[2026-07-15 17:42:37] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734018560001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784117262000,"timestamp_ms":1784117262000,"timestamp_seconds":1784117262,"priority":1,"record_length":96,"hex_timestamp":"0000019f65acf6b0"} 
[2026-07-15 17:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-15 17:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734018560001,"66":27158,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734018560001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:42:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:42:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734018560001,"power":27158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":133625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:42:37] local.INFO: GPS data processed {"connection_id":133625,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:42:37] local.INFO: Acknowledgment sent {"connection_id":133625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:43:00] local.INFO: TCP Data received {"connection_id":132597,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132597,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:43:00] local.INFO: Processing buffer {"connection_id":132597,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:43:00] local.INFO: IMEI packet received {"connection_id":132597,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 17:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":132597,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:43:00] local.INFO: TCP Data received {"connection_id":134984,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:43:00] local.INFO: Processing buffer {"connection_id":134984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:43:00] local.INFO: IMEI packet received {"connection_id":134984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":134984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:43:04] local.INFO: TCP Data received {"connection_id":132597,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132597,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:43:04] local.INFO: Processing buffer {"connection_id":132597,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:43:04] local.INFO: IMEI packet received {"connection_id":132597,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 17:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":132597,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:43:05] local.INFO: TCP Data received {"connection_id":134984,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:43:05] local.INFO: Processing buffer {"connection_id":134984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:43:05] local.INFO: IMEI packet received {"connection_id":134984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":134984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:43:06] local.INFO: TCP Data received {"connection_id":132597,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132597,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:43:06] local.INFO: Processing buffer {"connection_id":132597,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:43:06] local.INFO: IMEI packet received {"connection_id":132597,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 17:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":132597,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:43:06] local.INFO: TCP Data received {"connection_id":134984,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f65acf6b0012d7f974005afda600002006c2c..."} 
[2026-07-15 17:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65acf6b0012d7f974005afda600002006c2c..."} 
[2026-07-15 17:43:06] local.INFO: Processing buffer {"connection_id":134984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65acf6b0012d7f974005afda600002006c2c..."} 
[2026-07-15 17:43:06] local.INFO: Packet analysis {"connection_id":134984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ac"} 
[2026-07-15 17:43:06] local.INFO: Extracted packet for processing {"connection_id":134984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ac"} 
[2026-07-15 17:43:06] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734018560001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784117262000,"timestamp_ms":1784117262000,"timestamp_seconds":1784117262,"priority":1,"record_length":96,"hex_timestamp":"0000019f65acf6b0"} 
[2026-07-15 17:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-15 17:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":134984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":134984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":134984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:43:06] 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-07-15 17:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734018560001,"66":27158,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734018560001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:43:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:43:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734018560001,"power":27158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":134984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:43:06] local.INFO: GPS data processed {"connection_id":134984,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:43:06] local.INFO: Acknowledgment sent {"connection_id":134984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:43:07] local.INFO: TCP Data received {"connection_id":132597,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b0b3b8012d826f4005d942400006009f24..."} 
[2026-07-15 17:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b0b3b8012d826f4005d942400006009f24..."} 
[2026-07-15 17:43:07] local.INFO: Processing buffer {"connection_id":132597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b0b3b8012d826f4005d942400006009f24..."} 
[2026-07-15 17:43:07] local.INFO: Packet analysis {"connection_id":132597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b0"} 
[2026-07-15 17:43:07] local.INFO: Extracted packet for processing {"connection_id":132597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b0"} 
[2026-07-15 17:43:07] local.INFO: GPS Element Parsed {"raw_longitude":763522880,"raw_latitude":98124352,"longitude_deg":76.352288,"latitude_deg":9.8124352,"altitude":6,"angle":159,"satellites":36,"speed":45,"hex_longitude":"2d826f40","hex_latitude":"05d94240","is_valid_coordinates":true} 
[2026-07-15 17:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734079744001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106676701185966080,"note":"Value kept but may cause issues"} 
[2026-07-15 17:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9051461169706711040,"note":"Value kept but may cause issues"} 
[2026-07-15 17:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784117507000,"timestamp_ms":1784117507000,"timestamp_seconds":1784117507,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b0b3b8"} 
[2026-07-15 17:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-15 17:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734079744001,"66":12722,"71":206,"85":15104,"24":45,"16":106676701185966080,"45":-9051461169706711040},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-15 17:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734079744001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:43:07] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-15 17:43:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 17:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106676701185966080,"km_value":106676701185966.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9051461169706711040,"description":"Unknown IO ID 45"} 
[2026-07-15 17:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734079744001,"power":12722,"unknown_71":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":-9051461169706711040}} 
[2026-07-15 17:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":132597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492140,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:43:07] local.INFO: GPS data processed {"connection_id":132597,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:43:07] local.INFO: Acknowledgment sent {"connection_id":132597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:43:09] local.INFO: TCP Data received {"connection_id":132597,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b0d2f8012d827b8005d920b0000600a427..."} 
[2026-07-15 17:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b0d2f8012d827b8005d920b0000600a427..."} 
[2026-07-15 17:43:09] local.INFO: Processing buffer {"connection_id":132597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b0d2f8012d827b8005d920b0000600a427..."} 
[2026-07-15 17:43:09] local.INFO: Packet analysis {"connection_id":132597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b0"} 
[2026-07-15 17:43:09] local.INFO: Extracted packet for processing {"connection_id":132597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b0"} 
[2026-07-15 17:43:09] local.INFO: GPS Element Parsed {"raw_longitude":763526016,"raw_latitude":98115760,"longitude_deg":76.3526016,"latitude_deg":9.811576,"altitude":6,"angle":164,"satellites":39,"speed":41,"hex_longitude":"2d827b80","hex_latitude":"05d920b0","is_valid_coordinates":true} 
[2026-07-15 17:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734081792001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106677143567597568,"note":"Value kept but may cause issues"} 
[2026-07-15 17:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9047942732500025344,"note":"Value kept but may cause issues"} 
[2026-07-15 17:43:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784117515000,"timestamp_ms":1784117515000,"timestamp_seconds":1784117515,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b0d2f8"} 
[2026-07-15 17:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 17:43: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-07-15 17: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-07-15 17:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":132597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":132597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":132597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:43:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734081792001,"66":12906,"70":206,"85":15104,"24":41,"16":106677143567597568,"45":-9047942732500025344},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,85,24,16,45]} 
[2026-07-15 17:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734081792001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:43:09] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-15 17:43:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 17:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106677143567597568,"km_value":106677143567597.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9047942732500025344,"description":"Unknown IO ID 45"} 
[2026-07-15 17:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734081792001,"power":12906,"unknown_70":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":-9047942732500025344}} 
[2026-07-15 17:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":132597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492141,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:43:09] local.INFO: GPS data processed {"connection_id":132597,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:43:09] local.INFO: Acknowledgment sent {"connection_id":132597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:43:37] local.INFO: TCP Data received {"connection_id":134984,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b1a200012d7f97c005afda580002006c2e..."} 
[2026-07-15 17:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b1a200012d7f97c005afda580002006c2e..."} 
[2026-07-15 17:43:37] local.INFO: Processing buffer {"connection_id":134984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b1a200012d7f97c005afda580002006c2e..."} 
[2026-07-15 17:43:37] local.INFO: Packet analysis {"connection_id":134984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b1"} 
[2026-07-15 17:43:37] local.INFO: Extracted packet for processing {"connection_id":134984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b1"} 
[2026-07-15 17:43:37] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":46,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 17: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-07-15 17:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734019072001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784117568000,"timestamp_ms":1784117568000,"timestamp_seconds":1784117568,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b1a200"} 
[2026-07-15 17:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 17: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":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-15 17:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17: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-07-15 17:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":134984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":134984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":134984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734019072001,"66":26169,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734019072001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:43:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:43:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734019072001,"power":26169,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":134984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:43:37] local.INFO: GPS data processed {"connection_id":134984,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:43:37] local.INFO: Acknowledgment sent {"connection_id":134984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:43:41] local.INFO: TCP Data received {"connection_id":132597,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b0ee50012d82808005d90bd8000600b028..."} 
[2026-07-15 17:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b0ee50012d82808005d90bd8000600b028..."} 
[2026-07-15 17:43:41] local.INFO: Processing buffer {"connection_id":132597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b0ee50012d82808005d90bd8000600b028..."} 
[2026-07-15 17:43:41] local.INFO: Packet analysis {"connection_id":132597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b0"} 
[2026-07-15 17:43:41] local.INFO: Extracted packet for processing {"connection_id":132597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b0"} 
[2026-07-15 17:43:41] local.INFO: GPS Element Parsed {"raw_longitude":763527296,"raw_latitude":98110424,"longitude_deg":76.3527296,"latitude_deg":9.8110424,"altitude":6,"angle":176,"satellites":40,"speed":24,"hex_longitude":"2d828080","hex_latitude":"05d90bd8","is_valid_coordinates":true} 
[2026-07-15 17:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734083840001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106677409855569920,"note":"Value kept but may cause issues"} 
[2026-07-15 17:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9044494664037519360,"note":"Value kept but may cause issues"} 
[2026-07-15 17:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784117522000,"timestamp_ms":1784117522000,"timestamp_seconds":1784117522,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b0ee50"} 
[2026-07-15 17:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-15 17:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734083840001,"66":12939,"70":206,"85":15104,"24":24,"16":106677409855569920,"45":-9044494664037519360},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,85,24,16,45]} 
[2026-07-15 17:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734083840001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:43:41] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-15 17:43:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 17:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106677409855569920,"km_value":106677409855569.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9044494664037519360,"description":"Unknown IO ID 45"} 
[2026-07-15 17:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734083840001,"power":12939,"unknown_70":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9044494664037519360}} 
[2026-07-15 17:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":132597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492143,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:43:41] local.INFO: GPS data processed {"connection_id":132597,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:43:41] local.INFO: Acknowledgment sent {"connection_id":132597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:43:59] local.INFO: TCP Data received {"connection_id":133627,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133627,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:43:59] local.INFO: Processing buffer {"connection_id":133627,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:43:59] local.INFO: IMEI packet received {"connection_id":133627,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 17:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":133627,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:44:00] local.INFO: TCP Data received {"connection_id":132777,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:44:00] local.INFO: Processing buffer {"connection_id":132777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:44:00] local.INFO: IMEI packet received {"connection_id":132777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":132777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:44:04] local.INFO: TCP Data received {"connection_id":133627,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133627,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:44:04] local.INFO: Processing buffer {"connection_id":133627,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:44:04] local.INFO: IMEI packet received {"connection_id":133627,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 17:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":133627,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:44:05] local.INFO: TCP Data received {"connection_id":133627,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b101d8012d8281c005d90240000600a028..."} 
[2026-07-15 17:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b101d8012d8281c005d90240000600a028..."} 
[2026-07-15 17:44:05] local.INFO: Processing buffer {"connection_id":133627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b101d8012d8281c005d90240000600a028..."} 
[2026-07-15 17:44:05] local.INFO: Packet analysis {"connection_id":133627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b1"} 
[2026-07-15 17:44:05] local.INFO: Extracted packet for processing {"connection_id":133627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b1"} 
[2026-07-15 17:44:05] local.INFO: GPS Element Parsed {"raw_longitude":763527616,"raw_latitude":98107968,"longitude_deg":76.3527616,"latitude_deg":9.8107968,"altitude":6,"angle":160,"satellites":40,"speed":14,"hex_longitude":"2d8281c0","hex_latitude":"05d90240","is_valid_coordinates":true} 
[2026-07-15 17:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734085632001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106677530114654208,"note":"Value kept but may cause issues"} 
[2026-07-15 17:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9043087289155332096,"note":"Value kept but may cause issues"} 
[2026-07-15 17:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784117527000,"timestamp_ms":1784117527000,"timestamp_seconds":1784117527,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b101d8"} 
[2026-07-15 17:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 17:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":133627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":133627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":133627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734085632001,"66":12885,"70":206,"85":15104,"24":14,"16":106677530114654208,"45":-9043087289155332096},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,85,24,16,45]} 
[2026-07-15 17:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734085632001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:44:05] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-15 17:44:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 17:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106677530114654208,"km_value":106677530114654.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9043087289155332096,"description":"Unknown IO ID 45"} 
[2026-07-15 17:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734085632001,"power":12885,"unknown_70":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":-9043087289155332096}} 
[2026-07-15 17:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":133627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492144,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:44:05] local.INFO: GPS data processed {"connection_id":133627,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:44:05] local.INFO: Acknowledgment sent {"connection_id":133627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:44:06] local.INFO: TCP Data received {"connection_id":132777,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:44:06] local.INFO: Processing buffer {"connection_id":132777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:44:06] local.INFO: IMEI packet received {"connection_id":132777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":132777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:44:06] local.INFO: TCP Data received {"connection_id":132777,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b1a200012d7f97c005afda580002006c2e..."} 
[2026-07-15 17:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b1a200012d7f97c005afda580002006c2e..."} 
[2026-07-15 17:44:06] local.INFO: Processing buffer {"connection_id":132777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b1a200012d7f97c005afda580002006c2e..."} 
[2026-07-15 17:44:06] local.INFO: Packet analysis {"connection_id":132777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b1"} 
[2026-07-15 17:44:06] local.INFO: Extracted packet for processing {"connection_id":132777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b1"} 
[2026-07-15 17:44:06] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":46,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 17:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734019072001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784117568000,"timestamp_ms":1784117568000,"timestamp_seconds":1784117568,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b1a200"} 
[2026-07-15 17:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 17:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-15 17:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:44:06] 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-07-15 17:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734019072001,"66":26169,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734019072001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:44:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:44:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734019072001,"power":26169,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":132777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:44:06] local.INFO: GPS data processed {"connection_id":132777,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:44:06] local.INFO: Acknowledgment sent {"connection_id":132777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:44:36] local.INFO: TCP Data received {"connection_id":133627,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b128e8012d82824005d8fd58000700b928..."} 
[2026-07-15 17:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b128e8012d82824005d8fd58000700b928..."} 
[2026-07-15 17:44:36] local.INFO: Processing buffer {"connection_id":133627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b128e8012d82824005d8fd58000700b928..."} 
[2026-07-15 17:44:36] local.INFO: Packet analysis {"connection_id":133627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b1"} 
[2026-07-15 17:44:36] local.INFO: Extracted packet for processing {"connection_id":133627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b1"} 
[2026-07-15 17:44:36] local.INFO: GPS Element Parsed {"raw_longitude":763527744,"raw_latitude":98106712,"longitude_deg":76.3527744,"latitude_deg":9.8106712,"altitude":7,"angle":185,"satellites":40,"speed":11,"hex_longitude":"2d828240","hex_latitude":"05d8fd58","is_valid_coordinates":true} 
[2026-07-15 17:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734086912001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106677590244196352,"note":"Value kept but may cause issues"} 
[2026-07-15 17:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042735445435072512,"note":"Value kept but may cause issues"} 
[2026-07-15 17:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784117537000,"timestamp_ms":1784117537000,"timestamp_seconds":1784117537,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b128e8"} 
[2026-07-15 17:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-15 17:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":133627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":133627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":133627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734086912001,"66":12852,"49":206,"85":15104,"24":11,"16":106677590244196352,"45":-9042735445435072512},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-07-15 17:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734086912001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:44:36] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-15 17:44:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 17:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106677590244196352,"km_value":106677590244196.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042735445435072512,"description":"Unknown IO ID 45"} 
[2026-07-15 17:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734086912001,"power":12852,"unknown_49":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-9042735445435072512}} 
[2026-07-15 17:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":133627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492146,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:44:37] local.INFO: GPS data processed {"connection_id":133627,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:44:37] local.INFO: Acknowledgment sent {"connection_id":133627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:44:37] local.INFO: TCP Data received {"connection_id":132777,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b1a200012d7f97c005afda580002006c2e..."} 
[2026-07-15 17:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b1a200012d7f97c005afda580002006c2e..."} 
[2026-07-15 17:44:37] local.INFO: Processing buffer {"connection_id":132777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b1a200012d7f97c005afda580002006c2e..."} 
[2026-07-15 17:44:37] local.INFO: Packet analysis {"connection_id":132777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b1"} 
[2026-07-15 17:44:37] local.INFO: Extracted packet for processing {"connection_id":132777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b1"} 
[2026-07-15 17:44:37] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":46,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 17:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734019072001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784117568000,"timestamp_ms":1784117568000,"timestamp_seconds":1784117568,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b1a200"} 
[2026-07-15 17:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 17:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-15 17:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734019072001,"66":26169,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734019072001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:44:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:44:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734019072001,"power":26169,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":132777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:44:37] local.INFO: GPS data processed {"connection_id":132777,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:44:37] local.INFO: Acknowledgment sent {"connection_id":132777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:44:58] local.INFO: TCP Data received {"connection_id":134986,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134986,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:44:58] local.INFO: Processing buffer {"connection_id":134986,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:44:58] local.INFO: IMEI packet received {"connection_id":134986,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 17:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":134986,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:44:59] local.INFO: TCP Data received {"connection_id":134986,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134986,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:44:59] local.INFO: Processing buffer {"connection_id":134986,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:44:59] local.INFO: IMEI packet received {"connection_id":134986,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 17:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":134986,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:45:00] local.INFO: TCP Data received {"connection_id":132599,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:45:00] local.INFO: Processing buffer {"connection_id":132599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:45:00] local.INFO: IMEI packet received {"connection_id":132599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":132599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:45:04] local.INFO: TCP Data received {"connection_id":134986,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134986,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:45:04] local.INFO: Processing buffer {"connection_id":134986,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:45:04] local.INFO: IMEI packet received {"connection_id":134986,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 17:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":134986,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:45:05] local.INFO: TCP Data received {"connection_id":134986,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b324b8012d82a08005d7f9b0000b00b327..."} 
[2026-07-15 17:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b324b8012d82a08005d7f9b0000b00b327..."} 
[2026-07-15 17:45:05] local.INFO: Processing buffer {"connection_id":134986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b324b8012d82a08005d7f9b0000b00b327..."} 
[2026-07-15 17:45:05] local.INFO: Packet analysis {"connection_id":134986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b3"} 
[2026-07-15 17:45:05] local.INFO: Extracted packet for processing {"connection_id":134986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b3"} 
[2026-07-15 17:45:05] local.INFO: GPS Element Parsed {"raw_longitude":763535488,"raw_latitude":98040240,"longitude_deg":76.3535488,"latitude_deg":9.804024,"altitude":11,"angle":179,"satellites":39,"speed":34,"hex_longitude":"2d82a080","hex_latitude":"05d7f9b0","is_valid_coordinates":true} 
[2026-07-15 17:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734119936001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106680875894177792,"note":"Value kept but may cause issues"} 
[2026-07-15 17:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034361564892876800,"note":"Value kept but may cause issues"} 
[2026-07-15 17:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784117667000,"timestamp_ms":1784117667000,"timestamp_seconds":1784117667,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b324b8"} 
[2026-07-15 17:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-15 17:45: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-07-15 17:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":134986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":134986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":134986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734119936001,"66":13091,"47":206,"85":15104,"24":34,"16":106680875894177792,"45":-9034361564892876800},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-07-15 17:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734119936001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:45:05] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-15 17:45:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 17:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106680875894177792,"km_value":106680875894177.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034361564892876800,"description":"Unknown IO ID 45"} 
[2026-07-15 17:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734119936001,"power":13091,"unknown_47":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9034361564892876800}} 
[2026-07-15 17:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":134986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492148,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:45:05] local.INFO: GPS data processed {"connection_id":134986,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:45:05] local.INFO: Acknowledgment sent {"connection_id":134986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:45:05] local.INFO: TCP Data received {"connection_id":132599,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:45:05] local.INFO: Processing buffer {"connection_id":132599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:45:05] local.INFO: IMEI packet received {"connection_id":132599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":132599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:45:06] local.INFO: TCP Data received {"connection_id":132599,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b1a200012d7f97c005afda580002006c2e..."} 
[2026-07-15 17:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b1a200012d7f97c005afda580002006c2e..."} 
[2026-07-15 17:45:06] local.INFO: Processing buffer {"connection_id":132599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b1a200012d7f97c005afda580002006c2e..."} 
[2026-07-15 17:45:06] local.INFO: Packet analysis {"connection_id":132599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b1"} 
[2026-07-15 17:45:06] local.INFO: Extracted packet for processing {"connection_id":132599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b1"} 
[2026-07-15 17:45:06] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":46,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 17:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734019072001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784117568000,"timestamp_ms":1784117568000,"timestamp_seconds":1784117568,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b1a200"} 
[2026-07-15 17:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 17:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-15 17:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:45:06] 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-07-15 17:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734019072001,"66":26169,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734019072001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:45:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:45:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734019072001,"power":26169,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":132599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:45:06] local.INFO: GPS data processed {"connection_id":132599,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:45:06] local.INFO: Acknowledgment sent {"connection_id":132599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:45:36] local.INFO: TCP Data received {"connection_id":134986,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b35780012d82a18005d7d698000900b429..."} 
[2026-07-15 17:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b35780012d82a18005d7d698000900b429..."} 
[2026-07-15 17:45:36] local.INFO: Processing buffer {"connection_id":134986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b35780012d82a18005d7d698000900b429..."} 
[2026-07-15 17:45:36] local.INFO: Packet analysis {"connection_id":134986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b3"} 
[2026-07-15 17:45:36] local.INFO: Extracted packet for processing {"connection_id":134986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b3"} 
[2026-07-15 17:45:36] local.INFO: GPS Element Parsed {"raw_longitude":763535744,"raw_latitude":98031256,"longitude_deg":76.3535744,"latitude_deg":9.8031256,"altitude":9,"angle":180,"satellites":41,"speed":12,"hex_longitude":"2d82a180","hex_latitude":"05d7d698","is_valid_coordinates":true} 
[2026-07-15 17:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734122752001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106681313980841984,"note":"Value kept but may cause issues"} 
[2026-07-15 17:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034080089918558208,"note":"Value kept but may cause issues"} 
[2026-07-15 17:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784117680000,"timestamp_ms":1784117680000,"timestamp_seconds":1784117680,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b35780"} 
[2026-07-15 17:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-15 17:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":134986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":134986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":134986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734122752001,"66":12667,"47":206,"85":15104,"24":12,"16":106681313980841984,"45":-9034080089918558208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-07-15 17:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734122752001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:45:36] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-15 17:45:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 17:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106681313980841984,"km_value":106681313980841.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034080089918558208,"description":"Unknown IO ID 45"} 
[2026-07-15 17:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734122752001,"power":12667,"unknown_47":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-9034080089918558208}} 
[2026-07-15 17:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":134986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492150,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:45:36] local.INFO: GPS data processed {"connection_id":134986,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:45:36] local.INFO: Acknowledgment sent {"connection_id":134986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:45:37] local.INFO: TCP Data received {"connection_id":132599,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b1a200012d7f97c005afda580002006c2e..."} 
[2026-07-15 17:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b1a200012d7f97c005afda580002006c2e..."} 
[2026-07-15 17:45:37] local.INFO: Processing buffer {"connection_id":132599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b1a200012d7f97c005afda580002006c2e..."} 
[2026-07-15 17:45:37] local.INFO: Packet analysis {"connection_id":132599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b1"} 
[2026-07-15 17:45:37] local.INFO: Extracted packet for processing {"connection_id":132599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b1"} 
[2026-07-15 17:45:37] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":46,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 17:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734019072001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784117568000,"timestamp_ms":1784117568000,"timestamp_seconds":1784117568,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b1a200"} 
[2026-07-15 17:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 17:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-15 17:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734019072001,"66":26169,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734019072001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:45:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:45:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734019072001,"power":26169,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":132599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:45:37] local.INFO: GPS data processed {"connection_id":132599,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:45:37] local.INFO: Acknowledgment sent {"connection_id":132599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:45:58] local.INFO: TCP Data received {"connection_id":133629,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133629,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:45:58] local.INFO: Processing buffer {"connection_id":133629,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:45:58] local.INFO: IMEI packet received {"connection_id":133629,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 17:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":133629,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:45:59] local.INFO: TCP Data received {"connection_id":133629,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133629,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:45:59] local.INFO: Processing buffer {"connection_id":133629,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:45:59] local.INFO: IMEI packet received {"connection_id":133629,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 17:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":133629,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:46:04] local.INFO: TCP Data received {"connection_id":133629,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133629,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:46:04] local.INFO: Processing buffer {"connection_id":133629,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:46:04] local.INFO: IMEI packet received {"connection_id":133629,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 17:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":133629,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:46:05] local.INFO: TCP Data received {"connection_id":133629,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b39600012d82a3c005d7b130000900b029..."} 
[2026-07-15 17:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b39600012d82a3c005d7b130000900b029..."} 
[2026-07-15 17:46:05] local.INFO: Processing buffer {"connection_id":133629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b39600012d82a3c005d7b130000900b029..."} 
[2026-07-15 17:46:05] local.INFO: Packet analysis {"connection_id":133629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b3"} 
[2026-07-15 17:46:05] local.INFO: Extracted packet for processing {"connection_id":133629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b3"} 
[2026-07-15 17:46:05] local.INFO: GPS Element Parsed {"raw_longitude":763536320,"raw_latitude":98021680,"longitude_deg":76.353632,"latitude_deg":9.802168,"altitude":9,"angle":176,"satellites":41,"speed":33,"hex_longitude":"2d82a3c0","hex_latitude":"05d7b130","is_valid_coordinates":true} 
[2026-07-15 17:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734126080001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106681777837309952,"note":"Value kept but may cause issues"} 
[2026-07-15 17:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033798614944147456,"note":"Value kept but may cause issues"} 
[2026-07-15 17:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784117696000,"timestamp_ms":1784117696000,"timestamp_seconds":1784117696,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b39600"} 
[2026-07-15 17:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-15 17:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":133629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":133629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":133629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734126080001,"66":13102,"48":206,"85":15104,"24":33,"16":106681777837309952,"45":-9033798614944147456},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,85,24,16,45]} 
[2026-07-15 17:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734126080001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:46:05] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-07-15 17:46:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 17:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106681777837309952,"km_value":106681777837309.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033798614944147456,"description":"Unknown IO ID 45"} 
[2026-07-15 17:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734126080001,"power":13102,"unknown_48":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9033798614944147456}} 
[2026-07-15 17:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":133629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492152,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:46:05] local.INFO: GPS data processed {"connection_id":133629,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:46:05] local.INFO: Acknowledgment sent {"connection_id":133629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:46:05] local.INFO: TCP Data received {"connection_id":133630,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:46:05] local.INFO: Processing buffer {"connection_id":133630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:46:05] local.INFO: IMEI packet received {"connection_id":133630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":133630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:46:10] local.INFO: TCP Data received {"connection_id":133630,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:46:10] local.INFO: Processing buffer {"connection_id":133630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:46:10] local.INFO: IMEI packet received {"connection_id":133630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":133630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:46:11] local.INFO: TCP Data received {"connection_id":133630,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b1a200012d7f97c005afda580002006c2e..."} 
[2026-07-15 17:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b1a200012d7f97c005afda580002006c2e..."} 
[2026-07-15 17:46:11] local.INFO: Processing buffer {"connection_id":133630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b1a200012d7f97c005afda580002006c2e..."} 
[2026-07-15 17:46:11] local.INFO: Packet analysis {"connection_id":133630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b1"} 
[2026-07-15 17:46:11] local.INFO: Extracted packet for processing {"connection_id":133630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b1"} 
[2026-07-15 17:46:11] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":46,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 17:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734019072001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784117568000,"timestamp_ms":1784117568000,"timestamp_seconds":1784117568,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b1a200"} 
[2026-07-15 17:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 17:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-15 17:46:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":133630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":133630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":133630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:46:11] 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-07-15 17:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734019072001,"66":26169,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734019072001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:46:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:46:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734019072001,"power":26169,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":133630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:46:11] local.INFO: GPS data processed {"connection_id":133630,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:46:11] local.INFO: Acknowledgment sent {"connection_id":133630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:46:36] local.INFO: TCP Data received {"connection_id":133629,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b3c0f8012d82a60005d78d38000500b126..."} 
[2026-07-15 17:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b3c0f8012d82a60005d78d38000500b126..."} 
[2026-07-15 17:46:36] local.INFO: Processing buffer {"connection_id":133629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b3c0f8012d82a60005d78d38000500b126..."} 
[2026-07-15 17:46:36] local.INFO: Packet analysis {"connection_id":133629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b3"} 
[2026-07-15 17:46:36] local.INFO: Extracted packet for processing {"connection_id":133629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b3"} 
[2026-07-15 17:46:36] local.INFO: GPS Element Parsed {"raw_longitude":763536896,"raw_latitude":98012472,"longitude_deg":76.3536896,"latitude_deg":9.8012472,"altitude":5,"angle":177,"satellites":38,"speed":29,"hex_longitude":"2d82a600","hex_latitude":"05d78d38","is_valid_coordinates":true} 
[2026-07-15 17: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-07-15 17:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734130176001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106682224513908736,"note":"Value kept but may cause issues"} 
[2026-07-15 17:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033165296248999936,"note":"Value kept but may cause issues"} 
[2026-07-15 17:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784117707000,"timestamp_ms":1784117707000,"timestamp_seconds":1784117707,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b3c0f8"} 
[2026-07-15 17:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-15 17:46: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-07-15 17: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-07-15 17:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":133629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":133629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":133629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734130176001,"66":13059,"48":206,"85":15104,"24":29,"16":106682224513908736,"45":-9033165296248999936},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,85,24,16,45]} 
[2026-07-15 17:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734130176001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:46:36] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-07-15 17:46:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 17:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106682224513908736,"km_value":106682224513908.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033165296248999936,"description":"Unknown IO ID 45"} 
[2026-07-15 17:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734130176001,"power":13059,"unknown_48":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9033165296248999936}} 
[2026-07-15 17:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":133629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492154,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:46:36] local.INFO: GPS data processed {"connection_id":133629,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:46:36] local.INFO: Acknowledgment sent {"connection_id":133629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:46:43] local.INFO: TCP Data received {"connection_id":133630,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b1a200012d7f97c005afda580002006c2e..."} 
[2026-07-15 17:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b1a200012d7f97c005afda580002006c2e..."} 
[2026-07-15 17:46:43] local.INFO: Processing buffer {"connection_id":133630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b1a200012d7f97c005afda580002006c2e..."} 
[2026-07-15 17:46:43] local.INFO: Packet analysis {"connection_id":133630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b1"} 
[2026-07-15 17:46:43] local.INFO: Extracted packet for processing {"connection_id":133630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b1"} 
[2026-07-15 17:46:43] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":46,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 17:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:46:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734019072001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:46:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:46:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:46:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:46:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784117568000,"timestamp_ms":1784117568000,"timestamp_seconds":1784117568,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b1a200"} 
[2026-07-15 17:46:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:46:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 17:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-15 17:46:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:46:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:46:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:46:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:46:43] local.INFO: Teltonika packet parsed successfully {"connection_id":133630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:46:43] local.INFO: Passing IMEI to GPS processor {"connection_id":133630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:46:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":133630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:46:43] 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-07-15 17:46:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:46:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:46:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734019072001,"66":26169,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:46:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:46:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:46:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734019072001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:46:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:46:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:46:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:46:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:46:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734019072001,"power":26169,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:46:43] local.INFO: DEBUG: GPS processor result {"connection_id":133630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:46:43] local.INFO: GPS data processed {"connection_id":133630,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:46:43] local.INFO: Acknowledgment sent {"connection_id":133630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:46:58] local.INFO: TCP Data received {"connection_id":134988,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134988,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:46:58] local.INFO: Processing buffer {"connection_id":134988,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:46:58] local.INFO: IMEI packet received {"connection_id":134988,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 17:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":134988,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:46:59] local.INFO: TCP Data received {"connection_id":134988,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134988,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:46:59] local.INFO: Processing buffer {"connection_id":134988,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:46:59] local.INFO: IMEI packet received {"connection_id":134988,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 17:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":134988,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:47:00] local.INFO: TCP Data received {"connection_id":134988,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134988,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:47:00] local.INFO: Processing buffer {"connection_id":134988,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:47:00] local.INFO: IMEI packet received {"connection_id":134988,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 17:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":134988,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:47:00] local.INFO: TCP Data received {"connection_id":134989,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:47:00] local.INFO: Processing buffer {"connection_id":134989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:47:00] local.INFO: IMEI packet received {"connection_id":134989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":134989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:47:04] local.INFO: TCP Data received {"connection_id":134987,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134987,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:47:04] local.INFO: Processing buffer {"connection_id":134987,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:47:04] local.INFO: IMEI packet received {"connection_id":134987,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 17:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":134987,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:47:04] local.INFO: TCP Data received {"connection_id":134988,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134988,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:47:04] local.INFO: Processing buffer {"connection_id":134988,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:47:04] local.INFO: IMEI packet received {"connection_id":134988,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 17:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":134988,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:47:05] local.INFO: TCP Data received {"connection_id":134988,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b3efd8012d82a8c005d768a0000400af26..."} 
[2026-07-15 17:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b3efd8012d82a8c005d768a0000400af26..."} 
[2026-07-15 17:47:05] local.INFO: Processing buffer {"connection_id":134988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b3efd8012d82a8c005d768a0000400af26..."} 
[2026-07-15 17:47:05] local.INFO: Packet analysis {"connection_id":134988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b3"} 
[2026-07-15 17:47:05] local.INFO: Extracted packet for processing {"connection_id":134988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b3"} 
[2026-07-15 17:47:05] local.INFO: GPS Element Parsed {"raw_longitude":763537600,"raw_latitude":98003104,"longitude_deg":76.35376,"latitude_deg":9.8003104,"altitude":4,"angle":175,"satellites":38,"speed":31,"hex_longitude":"2d82a8c0","hex_latitude":"05d768a0","is_valid_coordinates":true} 
[2026-07-15 17:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734132992001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106682679780442112,"note":"Value kept but may cause issues"} 
[2026-07-15 17:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9032531977553758208,"note":"Value kept but may cause issues"} 
[2026-07-15 17:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784117719000,"timestamp_ms":1784117719000,"timestamp_seconds":1784117719,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b3efd8"} 
[2026-07-15 17:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-15 17:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303150782270814,"note":"Value kept but may cause issues"} 
[2026-07-15 17:47:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 17:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2191491077,"note":"Value kept but may cause issues"} 
[2026-07-15 17:47:05] local.WARNING: Large IO value detected {"io_id":47,"raw_value":58077557095399443,"note":"Value kept but may cause issues"} 
[2026-07-15 17:47:05] local.WARNING: Large IO value detected {"io_id":101,"raw_value":3002712065,"note":"Value kept but may cause issues"} 
[2026-07-15 17:47:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1580138702,"corrected_to":0} 
[2026-07-15 17:47:05] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2147866689,"note":"Value kept but may cause issues"} 
[2026-07-15 17:47:05] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3707817310,"note":"Value kept but may cause issues"} 
[2026-07-15 17:47:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3628421120,"note":"Value kept but may cause issues"} 
[2026-07-15 17:47:05] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,48,85,24,241,157,16,2,159,150,45,192,177,9,41,10,66,87,128,214,47,36,1,240,35,227,101,216,4,113,205,34,195,158,37,239,49,123,5,12,19],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1580138702,"validated":0}]} 
[2026-07-15 17:47:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360482746958413824,"timestamp_seconds":360482746958413.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 17:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":134988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":134988,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":134988,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734132992001,"66":12906,"155":206,"85":15104,"24":31,"16":106682679780442112,"45":-9032531977553758208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-15 17:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734132992001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:47:05] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-15 17:47:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 17:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106682679780442112,"km_value":106682679780442.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9032531977553758208,"description":"Unknown IO ID 45"} 
[2026-07-15 17:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734132992001,"power":12906,"unknown_155":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9032531977553758208}} 
[2026-07-15 17:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":134988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492156,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:47:05] local.INFO: GPS data processed {"connection_id":134988,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:47:05] local.INFO: Acknowledgment sent {"connection_id":134988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:47:05] local.INFO: TCP Data received {"connection_id":134989,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:47:05] local.INFO: Processing buffer {"connection_id":134989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:47:05] local.INFO: IMEI packet received {"connection_id":134989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":134989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:47:06] local.INFO: TCP Data received {"connection_id":134989,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b1a200012d7f97c005afda580002006c2e..."} 
[2026-07-15 17:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b1a200012d7f97c005afda580002006c2e..."} 
[2026-07-15 17:47:06] local.INFO: Processing buffer {"connection_id":134989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b1a200012d7f97c005afda580002006c2e..."} 
[2026-07-15 17:47:06] local.INFO: Packet analysis {"connection_id":134989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b1"} 
[2026-07-15 17:47:06] local.INFO: Extracted packet for processing {"connection_id":134989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b1"} 
[2026-07-15 17:47:06] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":46,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 17:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734019072001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784117568000,"timestamp_ms":1784117568000,"timestamp_seconds":1784117568,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b1a200"} 
[2026-07-15 17:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 17:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-15 17:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":134989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":134989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":134989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:47:06] 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-07-15 17:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734019072001,"66":26169,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734019072001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:47:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:47:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734019072001,"power":26169,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":134989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:47:06] local.INFO: GPS data processed {"connection_id":134989,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:47:06] local.INFO: Acknowledgment sent {"connection_id":134989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:47:25] local.INFO: TCP Data received {"connection_id":132601,"ip":"117.224.84.119","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:47:25] local.INFO: Processing buffer {"connection_id":132601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:47:25] local.INFO: IMEI packet received {"connection_id":132601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 17:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":132601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:47:26] local.INFO: TCP Data received {"connection_id":132601,"ip":"117.224.84.119","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b21730012d1b708007257c90002c000c2b..."} 
[2026-07-15 17:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b21730012d1b708007257c90002c000c2b..."} 
[2026-07-15 17:47:26] local.INFO: Processing buffer {"connection_id":132601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b21730012d1b708007257c90002c000c2b..."} 
[2026-07-15 17:47:26] local.INFO: Packet analysis {"connection_id":132601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b2"} 
[2026-07-15 17:47:26] local.INFO: Extracted packet for processing {"connection_id":132601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b2"} 
[2026-07-15 17:47:26] local.INFO: GPS Element Parsed {"raw_longitude":756772992,"raw_latitude":119897232,"longitude_deg":75.6772992,"latitude_deg":11.9897232,"altitude":44,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d1b7080","hex_latitude":"07257c90","is_valid_coordinates":true} 
[2026-07-15 17: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-07-15 17:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734099712001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6202615675224064,"note":"Value kept but may cause issues"} 
[2026-07-15 17:47:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977221004597694464,"note":"Value kept but may cause issues"} 
[2026-07-15 17:47:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784117598000,"timestamp_ms":1784117598000,"timestamp_seconds":1784117598,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b21730"} 
[2026-07-15 17:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:47:26] 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-07-15 17: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-15 17:47:26] 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-07-15 17: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-07-15 17:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":132601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":132601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":132601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:47:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.84.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734099712001,"66":12809,"92":206,"28":31744,"24":0,"16":6202615675224064,"45":1977221004597694464},"client_ip":"117.224.84.119","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-15 17:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734099712001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:47:26] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-15 17:47:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 17:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6202615675224064,"km_value":6202615675224.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:47:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977221004597694464,"description":"Unknown IO ID 45"} 
[2026-07-15 17:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734099712001,"power":12809,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977221004597694464}} 
[2026-07-15 17:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":132601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:47:26] local.INFO: GPS data processed {"connection_id":132601,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:47:26] local.INFO: Acknowledgment sent {"connection_id":132601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:47:34] local.INFO: TCP Data received {"connection_id":134990,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134990,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:47:34] local.INFO: Processing buffer {"connection_id":134990,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:47:34] local.INFO: IMEI packet received {"connection_id":134990,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 17:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":134990,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:47:36] local.INFO: TCP Data received {"connection_id":134988,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b595b8012d82d14005d68400000200bd27..."} 
[2026-07-15 17:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b595b8012d82d14005d68400000200bd27..."} 
[2026-07-15 17:47:36] local.INFO: Processing buffer {"connection_id":134988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b595b8012d82d14005d68400000200bd27..."} 
[2026-07-15 17:47:36] local.INFO: Packet analysis {"connection_id":134988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b5"} 
[2026-07-15 17:47:36] local.INFO: Extracted packet for processing {"connection_id":134988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b5"} 
[2026-07-15 17:47:36] local.INFO: GPS Element Parsed {"raw_longitude":763547968,"raw_latitude":97944576,"longitude_deg":76.3547968,"latitude_deg":9.7944576,"altitude":2,"angle":189,"satellites":39,"speed":8,"hex_longitude":"2d82d140","hex_latitude":"05d68400","is_valid_coordinates":true} 
[2026-07-15 17:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734163456001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106685673372647424,"note":"Value kept but may cause issues"} 
[2026-07-15 17:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9020358184828348416,"note":"Value kept but may cause issues"} 
[2026-07-15 17:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784117827000,"timestamp_ms":1784117827000,"timestamp_seconds":1784117827,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b595b8"} 
[2026-07-15 17:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-15 17:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:47:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":134988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":134988,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":134988,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734163456001,"66":12645,"156":206,"85":15104,"24":8,"16":106685673372647424,"45":-9020358184828348416},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-15 17:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734163456001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:47:36] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-15 17:47:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 17:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106685673372647424,"km_value":106685673372647.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9020358184828348416,"description":"Unknown IO ID 45"} 
[2026-07-15 17:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734163456001,"power":12645,"unknown_156":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-9020358184828348416}} 
[2026-07-15 17:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":134988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492159,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:47:36] local.INFO: GPS data processed {"connection_id":134988,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:47:36] local.INFO: Acknowledgment sent {"connection_id":134988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:47:37] local.INFO: TCP Data received {"connection_id":134989,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b1a200012d7f97c005afda580002006c2e..."} 
[2026-07-15 17:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b1a200012d7f97c005afda580002006c2e..."} 
[2026-07-15 17:47:37] local.INFO: Processing buffer {"connection_id":134989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b1a200012d7f97c005afda580002006c2e..."} 
[2026-07-15 17:47:37] local.INFO: Packet analysis {"connection_id":134989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b1"} 
[2026-07-15 17:47:37] local.INFO: Extracted packet for processing {"connection_id":134989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b1"} 
[2026-07-15 17:47:37] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":46,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 17:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734019072001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784117568000,"timestamp_ms":1784117568000,"timestamp_seconds":1784117568,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b1a200"} 
[2026-07-15 17:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 17:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-15 17:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":134989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":134989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":134989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:47:37] 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-07-15 17:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734019072001,"66":26169,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734019072001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:47:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:47:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734019072001,"power":26169,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":134989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:47:38] local.INFO: GPS data processed {"connection_id":134989,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:47:38] local.INFO: Acknowledgment sent {"connection_id":134989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:47:50] local.INFO: TCP Data received {"connection_id":132779,"ip":"117.224.84.119","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:47:50] local.INFO: Processing buffer {"connection_id":132779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:47:50] local.INFO: IMEI packet received {"connection_id":132779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 17:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":132779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:47:55] local.INFO: TCP Data received {"connection_id":132779,"ip":"117.224.84.119","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:47:55] local.INFO: Processing buffer {"connection_id":132779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:47:55] local.INFO: IMEI packet received {"connection_id":132779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":132779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:47:56] local.INFO: TCP Data received {"connection_id":132779,"ip":"117.224.84.119","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b26938012d1b708007257c90002c000c2a..."} 
[2026-07-15 17:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b26938012d1b708007257c90002c000c2a..."} 
[2026-07-15 17:47:56] local.INFO: Processing buffer {"connection_id":132779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b26938012d1b708007257c90002c000c2a..."} 
[2026-07-15 17:47:56] local.INFO: Packet analysis {"connection_id":132779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b2"} 
[2026-07-15 17:47:56] local.INFO: Extracted packet for processing {"connection_id":132779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b2"} 
[2026-07-15 17:47:56] local.INFO: GPS Element Parsed {"raw_longitude":756772992,"raw_latitude":119897232,"longitude_deg":75.6772992,"latitude_deg":11.9897232,"altitude":44,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d1b7080","hex_latitude":"07257c90","is_valid_coordinates":true} 
[2026-07-15 17:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734105088001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6202615675224064,"note":"Value kept but may cause issues"} 
[2026-07-15 17:47:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977221004597694464,"note":"Value kept but may cause issues"} 
[2026-07-15 17:47:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784117619000,"timestamp_ms":1784117619000,"timestamp_seconds":1784117619,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b26938"} 
[2026-07-15 17:47:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:47:56] 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-07-15 17:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-15 17:47:56] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-15 17:47:56] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-15 17:47:56] local.WARNING: Large IO value detected {"io_id":101,"raw_value":-5775593838167232384,"note":"Value kept but may cause issues"} 
[2026-07-15 17:47:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3881566414,"corrected_to":0} 
[2026-07-15 17:47:56] local.WARNING: Large IO value detected {"io_id":112,"raw_value":2147951996,"note":"Value kept but may cause issues"} 
[2026-07-15 17:47:56] local.WARNING: Large IO value detected {"io_id":50,"raw_value":8430964896002264604,"note":"Value kept but may cause issues"} 
[2026-07-15 17:47:56] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2701192206928055339,"note":"Value kept but may cause issues"} 
[2026-07-15 17:47:56] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,92,28,24,241,158,16,9,159,197,45,128,124,44,43,10,66,115,33,1,240,52,101,37,4,113,205,125,112,144,42,239,50,2,22,7,63],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3881566414,"validated":0}]} 
[2026-07-15 17:47:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3170547516491956224,"timestamp_seconds":3170547516491956.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 17:47:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:47:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.84.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734105088001,"66":12798,"92":206,"28":31744,"24":0,"16":6202615675224064,"45":1977221004597694464},"client_ip":"117.224.84.119","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-15 17:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734105088001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:47:56] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-15 17:47:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 17:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6202615675224064,"km_value":6202615675224.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:47:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977221004597694464,"description":"Unknown IO ID 45"} 
[2026-07-15 17:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734105088001,"power":12798,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977221004597694464}} 
[2026-07-15 17:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":132779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492161,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:47:56] local.INFO: GPS data processed {"connection_id":132779,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:47:56] local.INFO: Acknowledgment sent {"connection_id":132779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:47:59] local.INFO: TCP Data received {"connection_id":133631,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133631,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:47:59] local.INFO: Processing buffer {"connection_id":133631,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:47:59] local.INFO: IMEI packet received {"connection_id":133631,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 17:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":133631,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:48:00] local.INFO: TCP Data received {"connection_id":133631,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133631,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:48:00] local.INFO: Processing buffer {"connection_id":133631,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:48:00] local.INFO: IMEI packet received {"connection_id":133631,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 17:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":133631,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:48:00] local.INFO: TCP Data received {"connection_id":134991,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:48:00] local.INFO: Processing buffer {"connection_id":134991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:48:00] local.INFO: IMEI packet received {"connection_id":134991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":134991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:48:05] local.INFO: TCP Data received {"connection_id":134991,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:48:05] local.INFO: Processing buffer {"connection_id":134991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:48:05] local.INFO: IMEI packet received {"connection_id":134991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":134991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:48:06] local.INFO: TCP Data received {"connection_id":133631,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133631,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:48:06] local.INFO: Processing buffer {"connection_id":133631,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:48:06] local.INFO: IMEI packet received {"connection_id":133631,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 17:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":133631,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:48:06] local.INFO: TCP Data received {"connection_id":134991,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b1a200012d7f97c005afda580002006c2e..."} 
[2026-07-15 17:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b1a200012d7f97c005afda580002006c2e..."} 
[2026-07-15 17:48:06] local.INFO: Processing buffer {"connection_id":134991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b1a200012d7f97c005afda580002006c2e..."} 
[2026-07-15 17:48:06] local.INFO: Packet analysis {"connection_id":134991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b1"} 
[2026-07-15 17:48:06] local.INFO: Extracted packet for processing {"connection_id":134991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b1"} 
[2026-07-15 17:48:06] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":46,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 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-07-15 17:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734019072001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784117568000,"timestamp_ms":1784117568000,"timestamp_seconds":1784117568,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b1a200"} 
[2026-07-15 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-07-15 17:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 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":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-15 17:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 17:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":134991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":134991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":134991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:48:06] 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-07-15 17:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734019072001,"66":26169,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734019072001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:48:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:48:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734019072001,"power":26169,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":134991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:48:06] local.INFO: GPS data processed {"connection_id":134991,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:48:06] local.INFO: Acknowledgment sent {"connection_id":134991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:48:07] local.INFO: TCP Data received {"connection_id":133631,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b5e3d8012d82ce0005d67118000000c227..."} 
[2026-07-15 17:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b5e3d8012d82ce0005d67118000000c227..."} 
[2026-07-15 17:48:07] local.INFO: Processing buffer {"connection_id":133631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b5e3d8012d82ce0005d67118000000c227..."} 
[2026-07-15 17:48:07] local.INFO: Packet analysis {"connection_id":133631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b5"} 
[2026-07-15 17:48:07] local.INFO: Extracted packet for processing {"connection_id":133631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b5"} 
[2026-07-15 17:48:07] local.INFO: GPS Element Parsed {"raw_longitude":763547136,"raw_latitude":97939736,"longitude_deg":76.3547136,"latitude_deg":9.7939736,"altitude":0,"angle":194,"satellites":39,"speed":26,"hex_longitude":"2d82ce00","hex_latitude":"05d67118","is_valid_coordinates":true} 
[2026-07-15 17:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734163712001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106685918185783296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9020358184828403712,"note":"Value kept but may cause issues"} 
[2026-07-15 17:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784117847000,"timestamp_ms":1784117847000,"timestamp_seconds":1784117847,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b5e3d8"} 
[2026-07-15 17:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-15 17:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133631,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133631,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734163712001,"66":12765,"156":206,"85":15104,"24":26,"16":106685918185783296,"45":-9020358184828403712},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-15 17:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734163712001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:48:07] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-15 17:48:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 17:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106685918185783296,"km_value":106685918185783.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9020358184828403712,"description":"Unknown IO ID 45"} 
[2026-07-15 17:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734163712001,"power":12765,"unknown_156":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9020358184828403712}} 
[2026-07-15 17:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":133631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492163,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:48:07] local.INFO: GPS data processed {"connection_id":133631,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:48:07] local.INFO: Acknowledgment sent {"connection_id":133631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:48:28] local.INFO: TCP Data received {"connection_id":132779,"ip":"117.224.84.119","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b2bb40012d1b708007257c90002c000c2e..."} 
[2026-07-15 17:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b2bb40012d1b708007257c90002c000c2e..."} 
[2026-07-15 17:48:28] local.INFO: Processing buffer {"connection_id":132779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b2bb40012d1b708007257c90002c000c2e..."} 
[2026-07-15 17:48:28] local.INFO: Packet analysis {"connection_id":132779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b2"} 
[2026-07-15 17:48:28] local.INFO: Extracted packet for processing {"connection_id":132779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b2"} 
[2026-07-15 17:48:28] local.INFO: GPS Element Parsed {"raw_longitude":756772992,"raw_latitude":119897232,"longitude_deg":75.6772992,"latitude_deg":11.9897232,"altitude":44,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d1b7080","hex_latitude":"07257c90","is_valid_coordinates":true} 
[2026-07-15 17: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-07-15 17:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734110464001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6202615675224064,"note":"Value kept but may cause issues"} 
[2026-07-15 17:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977221004597694464,"note":"Value kept but may cause issues"} 
[2026-07-15 17:48:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784117640000,"timestamp_ms":1784117640000,"timestamp_seconds":1784117640,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b2bb40"} 
[2026-07-15 17:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:48:28] 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-07-15 17: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-15 17:48:28] 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-07-15 17: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-07-15 17:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.84.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734110464001,"66":12341,"92":206,"28":31744,"24":0,"16":6202615675224064,"45":1977221004597694464},"client_ip":"117.224.84.119","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-15 17:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734110464001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:48:28] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-15 17:48:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 17:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6202615675224064,"km_value":6202615675224.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:48:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977221004597694464,"description":"Unknown IO ID 45"} 
[2026-07-15 17:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734110464001,"power":12341,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977221004597694464}} 
[2026-07-15 17:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":132779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:48:28] local.INFO: GPS data processed {"connection_id":132779,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:48:28] local.INFO: Acknowledgment sent {"connection_id":132779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:48:37] local.INFO: TCP Data received {"connection_id":134991,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b639c8012d7f97c005afda580002006c2d..."} 
[2026-07-15 17:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b639c8012d7f97c005afda580002006c2d..."} 
[2026-07-15 17:48:37] local.INFO: Processing buffer {"connection_id":134991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b639c8012d7f97c005afda580002006c2d..."} 
[2026-07-15 17:48:37] local.INFO: Packet analysis {"connection_id":134991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b6"} 
[2026-07-15 17:48:37] local.INFO: Extracted packet for processing {"connection_id":134991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b6"} 
[2026-07-15 17:48:37] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":45,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 17:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734097408001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 17:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784117869000,"timestamp_ms":1784117869000,"timestamp_seconds":1784117869,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b639c8"} 
[2026-07-15 17:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 17:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-07-15 17:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":134991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":134991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":134991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:48:37] 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-07-15 17:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734097408001,"66":26006,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734097408001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:48:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:48:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 17:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734097408001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 17:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":134991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:48:37] local.INFO: GPS data processed {"connection_id":134991,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:48:37] local.INFO: Acknowledgment sent {"connection_id":134991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:48:38] local.INFO: TCP Data received {"connection_id":133631,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b6bab0012d82a14005d5f8f0000300e526..."} 
[2026-07-15 17:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b6bab0012d82a14005d5f8f0000300e526..."} 
[2026-07-15 17:48:38] local.INFO: Processing buffer {"connection_id":133631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b6bab0012d82a14005d5f8f0000300e526..."} 
[2026-07-15 17:48:38] local.INFO: Packet analysis {"connection_id":133631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b6"} 
[2026-07-15 17:48:38] local.INFO: Extracted packet for processing {"connection_id":133631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b6"} 
[2026-07-15 17:48:38] local.INFO: GPS Element Parsed {"raw_longitude":763535680,"raw_latitude":97908976,"longitude_deg":76.353568,"latitude_deg":9.7908976,"altitude":3,"angle":229,"satellites":38,"speed":14,"hex_longitude":"2d82a140","hex_latitude":"05d5f8f0","is_valid_coordinates":true} 
[2026-07-15 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-07-15 17:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734182656001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106687623287799808,"note":"Value kept but may cause issues"} 
[2026-07-15 17:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033587508742854656,"note":"Value kept but may cause issues"} 
[2026-07-15 17:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784117902000,"timestamp_ms":1784117902000,"timestamp_seconds":1784117902,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b6bab0"} 
[2026-07-15 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-07-15 17:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-15 17:48:38] 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-07-15 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-07-15 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-07-15 17:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133631,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133631,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734182656001,"66":12885,"156":206,"85":15104,"24":14,"16":106687623287799808,"45":-9033587508742854656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-15 17:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734182656001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:48:38] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-15 17:48:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 17:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106687623287799808,"km_value":106687623287799.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033587508742854656,"description":"Unknown IO ID 45"} 
[2026-07-15 17:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734182656001,"power":12885,"unknown_156":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":-9033587508742854656}} 
[2026-07-15 17:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":133631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492166,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:48:39] local.INFO: GPS data processed {"connection_id":133631,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:48:39] local.INFO: Acknowledgment sent {"connection_id":133631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:48:50] local.INFO: TCP Data received {"connection_id":133632,"ip":"117.224.84.119","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:48:50] local.INFO: Processing buffer {"connection_id":133632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:48:50] local.INFO: IMEI packet received {"connection_id":133632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 17:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":133632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:48:51] local.INFO: TCP Data received {"connection_id":133632,"ip":"117.224.84.119","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:48:51] local.INFO: Processing buffer {"connection_id":133632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:48:51] local.INFO: IMEI packet received {"connection_id":133632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":133632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:48:56] local.INFO: TCP Data received {"connection_id":133632,"ip":"117.224.84.119","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:48:56] local.INFO: Processing buffer {"connection_id":133632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:48:56] local.INFO: IMEI packet received {"connection_id":133632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":133632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:48:57] local.INFO: TCP Data received {"connection_id":133632,"ip":"117.224.84.119","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b30d48012d1b708007257c90002c000c2d..."} 
[2026-07-15 17:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b30d48012d1b708007257c90002c000c2d..."} 
[2026-07-15 17:48:57] local.INFO: Processing buffer {"connection_id":133632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b30d48012d1b708007257c90002c000c2d..."} 
[2026-07-15 17:48:57] local.INFO: Packet analysis {"connection_id":133632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b3"} 
[2026-07-15 17:48:57] local.INFO: Extracted packet for processing {"connection_id":133632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b3"} 
[2026-07-15 17:48:57] local.INFO: GPS Element Parsed {"raw_longitude":756772992,"raw_latitude":119897232,"longitude_deg":75.6772992,"latitude_deg":11.9897232,"altitude":44,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d1b7080","hex_latitude":"07257c90","is_valid_coordinates":true} 
[2026-07-15 17:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734115840001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6202615675224064,"note":"Value kept but may cause issues"} 
[2026-07-15 17:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977221004597694464,"note":"Value kept but may cause issues"} 
[2026-07-15 17:48:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784117661000,"timestamp_ms":1784117661000,"timestamp_seconds":1784117661,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b30d48"} 
[2026-07-15 17:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:48:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-15 17:48:57] 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-07-15 17:48:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":133632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":133632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":133632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:48:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.84.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734115840001,"66":12722,"92":206,"28":31744,"24":0,"16":6202615675224064,"45":1977221004597694464},"client_ip":"117.224.84.119","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-15 17:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734115840001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:48:57] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-15 17:48:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 17:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6202615675224064,"km_value":6202615675224.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977221004597694464,"description":"Unknown IO ID 45"} 
[2026-07-15 17:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734115840001,"power":12722,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977221004597694464}} 
[2026-07-15 17:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":133632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:48:57] local.INFO: GPS data processed {"connection_id":133632,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:48:57] local.INFO: Acknowledgment sent {"connection_id":133632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:49:00] local.INFO: TCP Data received {"connection_id":134993,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:49:00] local.INFO: Processing buffer {"connection_id":134993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:49:00] local.INFO: IMEI packet received {"connection_id":134993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":134993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:49:04] local.INFO: TCP Data received {"connection_id":132780,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132780,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:49:04] local.INFO: Processing buffer {"connection_id":132780,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:49:04] local.INFO: IMEI packet received {"connection_id":132780,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 17:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":132780,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:49:05] local.INFO: TCP Data received {"connection_id":132780,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132780,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:49:05] local.INFO: Processing buffer {"connection_id":132780,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:49:05] local.INFO: IMEI packet received {"connection_id":132780,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 17:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":132780,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:49:06] local.INFO: TCP Data received {"connection_id":134993,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:49:06] local.INFO: Processing buffer {"connection_id":134993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:49:06] local.INFO: IMEI packet received {"connection_id":134993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":134993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:49:06] local.INFO: TCP Data received {"connection_id":132780,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132780,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:49:06] local.INFO: Processing buffer {"connection_id":132780,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:49:06] local.INFO: IMEI packet received {"connection_id":132780,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 17:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":132780,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:49:07] local.INFO: TCP Data received {"connection_id":132780,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b6be98012d829fc005d5f858000200f826..."} 
[2026-07-15 17:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b6be98012d829fc005d5f858000200f826..."} 
[2026-07-15 17:49:07] local.INFO: Processing buffer {"connection_id":132780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b6be98012d829fc005d5f858000200f826..."} 
[2026-07-15 17:49:07] local.INFO: Packet analysis {"connection_id":132780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b6"} 
[2026-07-15 17:49:07] local.INFO: Extracted packet for processing {"connection_id":132780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b6"} 
[2026-07-15 17:49:07] local.INFO: GPS Element Parsed {"raw_longitude":763535296,"raw_latitude":97908824,"longitude_deg":76.3535296,"latitude_deg":9.7908824,"altitude":2,"angle":248,"satellites":38,"speed":17,"hex_longitude":"2d829fc0","hex_latitude":"05d5f858","is_valid_coordinates":true} 
[2026-07-15 17:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734182912001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106687640467668992,"note":"Value kept but may cause issues"} 
[2026-07-15 17:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033868983719628800,"note":"Value kept but may cause issues"} 
[2026-07-15 17:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784117903000,"timestamp_ms":1784117903000,"timestamp_seconds":1784117903,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b6be98"} 
[2026-07-15 17:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-15 17:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734182912001,"66":13037,"156":206,"85":15104,"24":17,"16":106687640467668992,"45":-9033868983719628800},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-15 17:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734182912001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:49:07] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-15 17:49:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 17:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106687640467668992,"km_value":106687640467668.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033868983719628800,"description":"Unknown IO ID 45"} 
[2026-07-15 17:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734182912001,"power":13037,"unknown_156":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-9033868983719628800}} 
[2026-07-15 17:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":132780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492168,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:49:07] local.INFO: GPS data processed {"connection_id":132780,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:49:07] local.INFO: Acknowledgment sent {"connection_id":132780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:49:07] local.INFO: TCP Data received {"connection_id":134993,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b639c8012d7f97c005afda580002006c2d..."} 
[2026-07-15 17:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b639c8012d7f97c005afda580002006c2d..."} 
[2026-07-15 17:49:07] local.INFO: Processing buffer {"connection_id":134993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b639c8012d7f97c005afda580002006c2d..."} 
[2026-07-15 17:49:07] local.INFO: Packet analysis {"connection_id":134993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b6"} 
[2026-07-15 17:49:07] local.INFO: Extracted packet for processing {"connection_id":134993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b6"} 
[2026-07-15 17:49:07] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":45,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 17:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734097408001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 17:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784117869000,"timestamp_ms":1784117869000,"timestamp_seconds":1784117869,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b639c8"} 
[2026-07-15 17:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 17:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-07-15 17:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":134993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":134993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":134993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:49:07] 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-07-15 17:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734097408001,"66":26006,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734097408001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:49:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:49:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 17:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734097408001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 17:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":134993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:49:07] local.INFO: GPS data processed {"connection_id":134993,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:49:07] local.INFO: Acknowledgment sent {"connection_id":134993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:49:13] local.INFO: TCP Data received {"connection_id":132780,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b6d608012d82944005d5f5f00002010626..."} 
[2026-07-15 17:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b6d608012d82944005d5f5f00002010626..."} 
[2026-07-15 17:49:13] local.INFO: Processing buffer {"connection_id":132780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b6d608012d82944005d5f5f00002010626..."} 
[2026-07-15 17:49:13] local.INFO: Packet analysis {"connection_id":132780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b6"} 
[2026-07-15 17:49:13] local.INFO: Extracted packet for processing {"connection_id":132780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b6"} 
[2026-07-15 17:49:13] local.INFO: GPS Element Parsed {"raw_longitude":763532352,"raw_latitude":97908208,"longitude_deg":76.3532352,"latitude_deg":9.7908208,"altitude":2,"angle":262,"satellites":38,"speed":16,"hex_longitude":"2d829440","hex_latitude":"05d5f5f0","is_valid_coordinates":true} 
[2026-07-15 17:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734183168001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106687786496557056,"note":"Value kept but may cause issues"} 
[2026-07-15 17:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034291196184733696,"note":"Value kept but may cause issues"} 
[2026-07-15 17:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784117909000,"timestamp_ms":1784117909000,"timestamp_seconds":1784117909,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b6d608"} 
[2026-07-15 17:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:49:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-15 17:49:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:49:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734183168001,"66":13091,"156":206,"85":15104,"24":16,"16":106687786496557056,"45":-9034291196184733696},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-15 17:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734183168001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:49:13] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-15 17:49:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 17:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106687786496557056,"km_value":106687786496557.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034291196184733696,"description":"Unknown IO ID 45"} 
[2026-07-15 17:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734183168001,"power":13091,"unknown_156":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":-9034291196184733696}} 
[2026-07-15 17:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":132780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492170,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:49:13] local.INFO: GPS data processed {"connection_id":132780,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:49:13] local.INFO: Acknowledgment sent {"connection_id":132780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:49:29] local.INFO: TCP Data received {"connection_id":133632,"ip":"117.224.84.119","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b35f50012d1b708007257c90002c000c2b..."} 
[2026-07-15 17:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b35f50012d1b708007257c90002c000c2b..."} 
[2026-07-15 17:49:29] local.INFO: Processing buffer {"connection_id":133632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b35f50012d1b708007257c90002c000c2b..."} 
[2026-07-15 17:49:29] local.INFO: Packet analysis {"connection_id":133632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b3"} 
[2026-07-15 17:49:29] local.INFO: Extracted packet for processing {"connection_id":133632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b3"} 
[2026-07-15 17:49:29] local.INFO: GPS Element Parsed {"raw_longitude":756772992,"raw_latitude":119897232,"longitude_deg":75.6772992,"latitude_deg":11.9897232,"altitude":44,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d1b7080","hex_latitude":"07257c90","is_valid_coordinates":true} 
[2026-07-15 17:49: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-07-15 17:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734121216001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6202615675224064,"note":"Value kept but may cause issues"} 
[2026-07-15 17:49:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977221004597694464,"note":"Value kept but may cause issues"} 
[2026-07-15 17:49:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784117682000,"timestamp_ms":1784117682000,"timestamp_seconds":1784117682,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b35f50"} 
[2026-07-15 17:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:49:29] 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-07-15 17:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 17:49:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:49: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-07-15 17:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":133632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":133632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":133632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:49:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.84.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734121216001,"66":12711,"92":206,"28":31744,"24":0,"16":6202615675224064,"45":1977221004597694464},"client_ip":"117.224.84.119","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-15 17:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734121216001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:49:29] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-15 17:49:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 17:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6202615675224064,"km_value":6202615675224.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:49:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977221004597694464,"description":"Unknown IO ID 45"} 
[2026-07-15 17:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734121216001,"power":12711,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977221004597694464}} 
[2026-07-15 17:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":133632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:49:29] local.INFO: GPS data processed {"connection_id":133632,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:49:29] local.INFO: Acknowledgment sent {"connection_id":133632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:49:38] local.INFO: TCP Data received {"connection_id":134993,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b71870012d7f97c005afda580002006c2d..."} 
[2026-07-15 17:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b71870012d7f97c005afda580002006c2d..."} 
[2026-07-15 17:49:38] local.INFO: Processing buffer {"connection_id":134993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b71870012d7f97c005afda580002006c2d..."} 
[2026-07-15 17:49:38] local.INFO: Packet analysis {"connection_id":134993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 17:49:38] local.INFO: Extracted packet for processing {"connection_id":134993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 17:49:38] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":45,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 17:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734174464001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 17:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784117926000,"timestamp_ms":1784117926000,"timestamp_seconds":1784117926,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b71870"} 
[2026-07-15 17:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 17:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 17:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734174464001,"66":26006,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734174464001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:49:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:49:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 17:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734174464001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 17:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":134993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:49:38] local.INFO: GPS data processed {"connection_id":134993,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:49:38] local.INFO: Acknowledgment sent {"connection_id":134993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:49:44] local.INFO: TCP Data received {"connection_id":132780,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b7e390012d81fe0005d5d0d80000012a24..."} 
[2026-07-15 17:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b7e390012d81fe0005d5d0d80000012a24..."} 
[2026-07-15 17:49:44] local.INFO: Processing buffer {"connection_id":132780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b7e390012d81fe0005d5d0d80000012a24..."} 
[2026-07-15 17:49:44] local.INFO: Packet analysis {"connection_id":132780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 17:49:44] local.INFO: Extracted packet for processing {"connection_id":132780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 17:49:44] local.INFO: GPS Element Parsed {"raw_longitude":763493888,"raw_latitude":97898712,"longitude_deg":76.3493888,"latitude_deg":9.7898712,"altitude":0,"angle":298,"satellites":36,"speed":15,"hex_longitude":"2d81fe00","hex_latitude":"05d5d0d8","is_valid_coordinates":true} 
[2026-07-15 17:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734202112001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106689976929878016,"note":"Value kept but may cause issues"} 
[2026-07-15 17:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9079397561205254144,"note":"Value kept but may cause issues"} 
[2026-07-15 17:49:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784117978000,"timestamp_ms":1784117978000,"timestamp_seconds":1784117978,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b7e390"} 
[2026-07-15 17:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:49:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-15 17:49:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:49:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":132780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":132780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":132780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734202112001,"66":12982,"157":206,"85":15104,"24":15,"16":106689976929878016,"45":-9079397561205254144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-07-15 17:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734202112001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:49:44] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-15 17:49:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 17:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106689976929878016,"km_value":106689976929878.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9079397561205254144,"description":"Unknown IO ID 45"} 
[2026-07-15 17:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734202112001,"power":12982,"unknown_157":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":-9079397561205254144}} 
[2026-07-15 17:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":132780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492173,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:49:44] local.INFO: GPS data processed {"connection_id":132780,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:49:44] local.INFO: Acknowledgment sent {"connection_id":132780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:49:54] local.INFO: TCP Data received {"connection_id":132782,"ip":"117.224.84.119","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:49:54] local.INFO: Processing buffer {"connection_id":132782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:49:54] local.INFO: IMEI packet received {"connection_id":132782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 17:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":132782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:49:55] local.INFO: TCP Data received {"connection_id":132782,"ip":"117.224.84.119","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:49:55] local.INFO: Processing buffer {"connection_id":132782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:49:55] local.INFO: IMEI packet received {"connection_id":132782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":132782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:49:59] local.INFO: TCP Data received {"connection_id":134994,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134994,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:49:59] local.INFO: Processing buffer {"connection_id":134994,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:49:59] local.INFO: IMEI packet received {"connection_id":134994,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 17:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":134994,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:50:00] local.INFO: TCP Data received {"connection_id":132782,"ip":"117.224.84.119","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:50:00] local.INFO: Processing buffer {"connection_id":132782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:50:00] local.INFO: IMEI packet received {"connection_id":132782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":132782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:50:02] local.INFO: TCP Data received {"connection_id":132782,"ip":"117.224.84.119","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b6e5a8012d1b708007257c90002c000c2c..."} 
[2026-07-15 17:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b6e5a8012d1b708007257c90002c000c2c..."} 
[2026-07-15 17:50:02] local.INFO: Processing buffer {"connection_id":132782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b6e5a8012d1b708007257c90002c000c2c..."} 
[2026-07-15 17:50:02] local.INFO: Packet analysis {"connection_id":132782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b6"} 
[2026-07-15 17:50:02] local.INFO: Extracted packet for processing {"connection_id":132782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b6"} 
[2026-07-15 17:50:02] local.INFO: GPS Element Parsed {"raw_longitude":756772992,"raw_latitude":119897232,"longitude_deg":75.6772992,"latitude_deg":11.9897232,"altitude":44,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d1b7080","hex_latitude":"07257c90","is_valid_coordinates":true} 
[2026-07-15 17:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734180352001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6202615675224064,"note":"Value kept but may cause issues"} 
[2026-07-15 17:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977221004597694464,"note":"Value kept but may cause issues"} 
[2026-07-15 17:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784117913000,"timestamp_ms":1784117913000,"timestamp_seconds":1784117913,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b6e5a8"} 
[2026-07-15 17:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:50:02] 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-07-15 17:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 17:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-15 17:50:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199127245,"note":"Value kept but may cause issues"} 
[2026-07-15 17:50:02] local.WARNING: Large IO value detected {"io_id":101,"raw_value":3041624065,"note":"Value kept but may cause issues"} 
[2026-07-15 17:50:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3881566414,"corrected_to":0} 
[2026-07-15 17:50:02] local.WARNING: Large IO value detected {"io_id":112,"raw_value":2147951996,"note":"Value kept but may cause issues"} 
[2026-07-15 17:50:02] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2902511079,"note":"Value kept but may cause issues"} 
[2026-07-15 17:50:02] local.WARNING: Large IO value detected {"io_id":231,"raw_value":6629525273224157184,"note":"Value kept but may cause issues"} 
[2026-07-15 17:50:02] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,92,28,24,241,158,16,9,159,65,45,128,124,44,10,66,239,43,157,1,240,69,101,37,4,113,205,249,112,144,48,2,22,7,231],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3881566414,"validated":0}]} 
[2026-07-15 17:50:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3170547516491956224,"timestamp_seconds":3170547516491956.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 17:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":132782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":132782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":132782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.84.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734180352001,"66":12548,"92":206,"28":31744,"24":0,"16":6202615675224064,"45":1977221004597694464},"client_ip":"117.224.84.119","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-15 17:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734180352001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:50:02] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-15 17:50:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 17:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6202615675224064,"km_value":6202615675224.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977221004597694464,"description":"Unknown IO ID 45"} 
[2026-07-15 17:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734180352001,"power":12548,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977221004597694464}} 
[2026-07-15 17:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":132782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:50:02] local.INFO: GPS data processed {"connection_id":132782,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:50:02] local.INFO: Acknowledgment sent {"connection_id":132782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:50:03] local.INFO: TCP Data received {"connection_id":132783,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:50:03] local.INFO: Processing buffer {"connection_id":132783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:50:03] local.INFO: IMEI packet received {"connection_id":132783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":132783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:50:04] local.INFO: TCP Data received {"connection_id":134994,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134994,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:50:04] local.INFO: Processing buffer {"connection_id":134994,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:50:04] local.INFO: IMEI packet received {"connection_id":134994,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 17:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":134994,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:50:05] local.INFO: TCP Data received {"connection_id":134994,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b7e778012d81fc0005d5d1000000011725..."} 
[2026-07-15 17:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b7e778012d81fc0005d5d1000000011725..."} 
[2026-07-15 17:50:05] local.INFO: Processing buffer {"connection_id":134994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b7e778012d81fc0005d5d1000000011725..."} 
[2026-07-15 17:50:05] local.INFO: Packet analysis {"connection_id":134994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 17:50:05] local.INFO: Extracted packet for processing {"connection_id":134994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 17:50:05] local.INFO: GPS Element Parsed {"raw_longitude":763493376,"raw_latitude":97898752,"longitude_deg":76.3493376,"latitude_deg":9.7898752,"altitude":0,"angle":279,"satellites":37,"speed":17,"hex_longitude":"2d81fc00","hex_latitude":"05d5d100","is_valid_coordinates":true} 
[2026-07-15 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-07-15 17:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734202368001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106690002699681792,"note":"Value kept but may cause issues"} 
[2026-07-15 17:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9079819773670270976,"note":"Value kept but may cause issues"} 
[2026-07-15 17:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784117979000,"timestamp_ms":1784117979000,"timestamp_seconds":1784117979,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b7e778"} 
[2026-07-15 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-07-15 17:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-15 17:50:05] 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-07-15 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-07-15 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-07-15 17:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":134994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":134994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":134994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734202368001,"66":12982,"157":206,"85":15104,"24":17,"16":106690002699681792,"45":-9079819773670270976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-07-15 17:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734202368001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:50:05] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-15 17:50:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 17:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106690002699681792,"km_value":106690002699681.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9079819773670270976,"description":"Unknown IO ID 45"} 
[2026-07-15 17:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734202368001,"power":12982,"unknown_157":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-9079819773670270976}} 
[2026-07-15 17:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":134994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492175,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:50:05] local.INFO: GPS data processed {"connection_id":134994,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:50:05] local.INFO: Acknowledgment sent {"connection_id":134994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:50:05] local.INFO: TCP Data received {"connection_id":132783,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:50:05] local.INFO: Processing buffer {"connection_id":132783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:50:05] local.INFO: IMEI packet received {"connection_id":132783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":132783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:50:06] local.INFO: TCP Data received {"connection_id":132782,"ip":"117.224.84.119","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b737b0012d1b708007257c90002c000c2d..."} 
[2026-07-15 17:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b737b0012d1b708007257c90002c000c2d..."} 
[2026-07-15 17:50:06] local.INFO: Processing buffer {"connection_id":132782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b737b0012d1b708007257c90002c000c2d..."} 
[2026-07-15 17:50:06] local.INFO: Packet analysis {"connection_id":132782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 17:50:06] local.INFO: Extracted packet for processing {"connection_id":132782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 17:50:06] local.INFO: GPS Element Parsed {"raw_longitude":756772992,"raw_latitude":119897232,"longitude_deg":75.6772992,"latitude_deg":11.9897232,"altitude":44,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d1b7080","hex_latitude":"07257c90","is_valid_coordinates":true} 
[2026-07-15 17:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734185728001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6202615675224064,"note":"Value kept but may cause issues"} 
[2026-07-15 17:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977221004597694464,"note":"Value kept but may cause issues"} 
[2026-07-15 17:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784117934000,"timestamp_ms":1784117934000,"timestamp_seconds":1784117934,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b737b0"} 
[2026-07-15 17:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 17:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-15 17:50:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184191328461,"note":"Value kept but may cause issues"} 
[2026-07-15 17:50:06] local.WARNING: Large IO value detected {"io_id":101,"raw_value":3047000065,"note":"Value kept but may cause issues"} 
[2026-07-15 17:50:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3881566414,"corrected_to":0} 
[2026-07-15 17:50:06] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2147560731,"note":"Value kept but may cause issues"} 
[2026-07-15 17:50:06] local.WARNING: Large IO value detected {"io_id":112,"raw_value":2147951996,"note":"Value kept but may cause issues"} 
[2026-07-15 17:50:06] local.WARNING: Large IO value detected {"io_id":231,"raw_value":6629525273224157184,"note":"Value kept but may cause issues"} 
[2026-07-15 17:50:06] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,92,28,24,241,158,16,9,159,147,45,128,124,44,43,10,66,65,239,1,240,14,101,37,4,113,205,75,112,144,42,2,22,7,231],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3881566414,"validated":0}]} 
[2026-07-15 17:50:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3170547520786923520,"timestamp_seconds":3170547520786923.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 17:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.84.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734185728001,"66":12939,"92":206,"28":31744,"24":0,"16":6202615675224064,"45":1977221004597694464},"client_ip":"117.224.84.119","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-15 17:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734185728001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:50:06] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-15 17:50:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 17:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6202615675224064,"km_value":6202615675224.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977221004597694464,"description":"Unknown IO ID 45"} 
[2026-07-15 17:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734185728001,"power":12939,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977221004597694464}} 
[2026-07-15 17:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":132782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492176,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:50:06] local.INFO: GPS data processed {"connection_id":132782,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:50:06] local.INFO: Acknowledgment sent {"connection_id":132782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:50:06] local.INFO: TCP Data received {"connection_id":132783,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b733c8012d7f974005afda600002006c2d..."} 
[2026-07-15 17:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b733c8012d7f974005afda600002006c2d..."} 
[2026-07-15 17:50:06] local.INFO: Processing buffer {"connection_id":132783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b733c8012d7f974005afda600002006c2d..."} 
[2026-07-15 17:50:06] local.INFO: Packet analysis {"connection_id":132783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 17:50:06] local.INFO: Extracted packet for processing {"connection_id":132783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 17:50:06] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":45,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734189056001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 17:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784117933000,"timestamp_ms":1784117933000,"timestamp_seconds":1784117933,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b733c8"} 
[2026-07-15 17:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 17:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:50:06] 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-07-15 17:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734189056001,"66":25843,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734189056001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:50:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:50:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 17:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734189056001,"power":25843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 17:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":132783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:50:06] local.INFO: GPS data processed {"connection_id":132783,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:50:06] local.INFO: Acknowledgment sent {"connection_id":132783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:50:11] local.INFO: TCP Data received {"connection_id":132783,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b733c8012d7f974005afda600002006c2d..."} 
[2026-07-15 17:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b733c8012d7f974005afda600002006c2d..."} 
[2026-07-15 17:50:11] local.INFO: Processing buffer {"connection_id":132783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b733c8012d7f974005afda600002006c2d..."} 
[2026-07-15 17:50:11] local.INFO: Packet analysis {"connection_id":132783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 17:50:11] local.INFO: Extracted packet for processing {"connection_id":132783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 17:50:11] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":45,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734189056001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 17:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784117933000,"timestamp_ms":1784117933000,"timestamp_seconds":1784117933,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b733c8"} 
[2026-07-15 17:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:50:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:50: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 17:50:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:50: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-07-15 17:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:50:11] 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-07-15 17:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734189056001,"66":25843,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734189056001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:50:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:50:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 17:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734189056001,"power":25843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 17:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":132783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:50:11] local.INFO: GPS data processed {"connection_id":132783,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:50:11] local.INFO: Acknowledgment sent {"connection_id":132783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:50:42] local.INFO: TCP Data received {"connection_id":132783,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b733c8012d7f974005afda600002006c2d..."} 
[2026-07-15 17:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b733c8012d7f974005afda600002006c2d..."} 
[2026-07-15 17:50:42] local.INFO: Processing buffer {"connection_id":132783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b733c8012d7f974005afda600002006c2d..."} 
[2026-07-15 17:50:42] local.INFO: Packet analysis {"connection_id":132783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 17:50:42] local.INFO: Extracted packet for processing {"connection_id":132783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 17:50:42] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":45,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734189056001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 17:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784117933000,"timestamp_ms":1784117933000,"timestamp_seconds":1784117933,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b733c8"} 
[2026-07-15 17:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 17:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734189056001,"66":25843,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734189056001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:50:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:50:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 17:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734189056001,"power":25843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 17:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":132783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:50:42] local.INFO: GPS data processed {"connection_id":132783,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:50:42] local.INFO: Acknowledgment sent {"connection_id":132783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:50:43] local.INFO: TCP Data received {"connection_id":134994,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b7eb60012d81f94005d5d0980000010b25..."} 
[2026-07-15 17:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b7eb60012d81f94005d5d0980000010b25..."} 
[2026-07-15 17:50:43] local.INFO: Processing buffer {"connection_id":134994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b7eb60012d81f94005d5d0980000010b25..."} 
[2026-07-15 17:50:43] local.INFO: Packet analysis {"connection_id":134994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 17:50:43] local.INFO: Extracted packet for processing {"connection_id":134994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 17:50:43] local.INFO: GPS Element Parsed {"raw_longitude":763492672,"raw_latitude":97898648,"longitude_deg":76.3492672,"latitude_deg":9.7898648,"altitude":0,"angle":267,"satellites":37,"speed":23,"hex_longitude":"2d81f940","hex_latitude":"05d5d098","is_valid_coordinates":true} 
[2026-07-15 17:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734202624001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106690037059420160,"note":"Value kept but may cause issues"} 
[2026-07-15 17:50:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9080382723623682048,"note":"Value kept but may cause issues"} 
[2026-07-15 17:50:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784117980000,"timestamp_ms":1784117980000,"timestamp_seconds":1784117980,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b7eb60"} 
[2026-07-15 17:50:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:50:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-15 17:50:43] 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-07-15 17:50:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:50:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":134994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":134994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":134994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:50:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734202624001,"66":12982,"157":206,"85":15104,"24":23,"16":106690037059420160,"45":-9080382723623682048},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-07-15 17:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734202624001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:50:43] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-15 17:50:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 17:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106690037059420160,"km_value":106690037059420.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:50:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9080382723623682048,"description":"Unknown IO ID 45"} 
[2026-07-15 17:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734202624001,"power":12982,"unknown_157":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9080382723623682048}} 
[2026-07-15 17:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":134994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492180,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:50:43] local.INFO: GPS data processed {"connection_id":134994,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:50:43] local.INFO: Acknowledgment sent {"connection_id":134994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:50:59] local.INFO: TCP Data received {"connection_id":132602,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132602,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:50:59] local.INFO: Processing buffer {"connection_id":132602,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:50:59] local.INFO: IMEI packet received {"connection_id":132602,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 17:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":132602,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:51:00] local.INFO: TCP Data received {"connection_id":132602,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132602,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:51:00] local.INFO: Processing buffer {"connection_id":132602,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:51:00] local.INFO: IMEI packet received {"connection_id":132602,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 17:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":132602,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:51:00] local.INFO: TCP Data received {"connection_id":132603,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:51:00] local.INFO: Processing buffer {"connection_id":132603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:51:00] local.INFO: IMEI packet received {"connection_id":132603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":132603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:51:04] local.INFO: TCP Data received {"connection_id":132602,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132602,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:51:04] local.INFO: Processing buffer {"connection_id":132602,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:51:04] local.INFO: IMEI packet received {"connection_id":132602,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 17:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":132602,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:51:05] local.INFO: TCP Data received {"connection_id":132602,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b8d5c0012d81b20005d530a8000400b727..."} 
[2026-07-15 17:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b8d5c0012d81b20005d530a8000400b727..."} 
[2026-07-15 17:51:05] local.INFO: Processing buffer {"connection_id":132602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b8d5c0012d81b20005d530a8000400b727..."} 
[2026-07-15 17:51:05] local.INFO: Packet analysis {"connection_id":132602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b8"} 
[2026-07-15 17:51:05] local.INFO: Extracted packet for processing {"connection_id":132602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b8"} 
[2026-07-15 17:51:05] local.INFO: GPS Element Parsed {"raw_longitude":763474432,"raw_latitude":97857704,"longitude_deg":76.3474432,"latitude_deg":9.7857704,"altitude":4,"angle":183,"satellites":39,"speed":30,"hex_longitude":"2d81b200","hex_latitude":"05d530a8","is_valid_coordinates":true} 
[2026-07-15 17:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734217984001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106692738593849344,"note":"Value kept but may cause issues"} 
[2026-07-15 17:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9101141503166402560,"note":"Value kept but may cause issues"} 
[2026-07-15 17:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784118040000,"timestamp_ms":1784118040000,"timestamp_seconds":1784118040,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b8d5c0"} 
[2026-07-15 17:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-15 17:51:05] 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-07-15 17:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734217984001,"66":12982,"165":206,"85":15104,"24":30,"16":106692738593849344,"45":-9101141503166402560},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-07-15 17:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734217984001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:51:05] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-15 17:51:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 17:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106692738593849344,"km_value":106692738593849.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9101141503166402560,"description":"Unknown IO ID 45"} 
[2026-07-15 17:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734217984001,"power":12982,"unknown_165":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9101141503166402560}} 
[2026-07-15 17:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":132602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492181,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:51:05] local.INFO: GPS data processed {"connection_id":132602,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:51:05] local.INFO: Acknowledgment sent {"connection_id":132602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:51:05] local.INFO: TCP Data received {"connection_id":132603,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:51:05] local.INFO: Processing buffer {"connection_id":132603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:51:05] local.INFO: IMEI packet received {"connection_id":132603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":132603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:51:06] local.INFO: TCP Data received {"connection_id":132603,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b733c8012d7f974005afda600002006c2d..."} 
[2026-07-15 17:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b733c8012d7f974005afda600002006c2d..."} 
[2026-07-15 17:51:06] local.INFO: Processing buffer {"connection_id":132603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b733c8012d7f974005afda600002006c2d..."} 
[2026-07-15 17:51:06] local.INFO: Packet analysis {"connection_id":132603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 17:51:06] local.INFO: Extracted packet for processing {"connection_id":132603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 17:51:06] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":45,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734189056001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 17:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784117933000,"timestamp_ms":1784117933000,"timestamp_seconds":1784117933,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b733c8"} 
[2026-07-15 17:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 17:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:51:06] 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-07-15 17:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734189056001,"66":25843,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734189056001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:51:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:51:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 17:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734189056001,"power":25843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 17:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":132603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:51:06] local.INFO: GPS data processed {"connection_id":132603,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:51:06] local.INFO: Acknowledgment sent {"connection_id":132603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:51:37] local.INFO: TCP Data received {"connection_id":132603,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b733c8012d7f974005afda600002006c2d..."} 
[2026-07-15 17:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b733c8012d7f974005afda600002006c2d..."} 
[2026-07-15 17:51:37] local.INFO: Processing buffer {"connection_id":132603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b733c8012d7f974005afda600002006c2d..."} 
[2026-07-15 17:51:37] local.INFO: Packet analysis {"connection_id":132603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 17:51:37] local.INFO: Extracted packet for processing {"connection_id":132603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 17:51:37] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":45,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734189056001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 17:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784117933000,"timestamp_ms":1784117933000,"timestamp_seconds":1784117933,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b733c8"} 
[2026-07-15 17:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 17:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17: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-07-15 17:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:51:37] 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-07-15 17:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734189056001,"66":25843,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734189056001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:51:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:51:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 17:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734189056001,"power":25843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 17:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":132603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:51:37] local.INFO: GPS data processed {"connection_id":132603,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:51:37] local.INFO: Acknowledgment sent {"connection_id":132603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:51:38] local.INFO: TCP Data received {"connection_id":132602,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b8fcd0012d81b64005d50a38000500ab25..."} 
[2026-07-15 17:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b8fcd0012d81b64005d50a38000500ab25..."} 
[2026-07-15 17:51:38] local.INFO: Processing buffer {"connection_id":132602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b8fcd0012d81b64005d50a38000500ab25..."} 
[2026-07-15 17:51:38] local.INFO: Packet analysis {"connection_id":132602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b8"} 
[2026-07-15 17:51:38] local.INFO: Extracted packet for processing {"connection_id":132602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b8"} 
[2026-07-15 17:51:38] local.INFO: GPS Element Parsed {"raw_longitude":763475520,"raw_latitude":97847864,"longitude_deg":76.347552,"latitude_deg":9.7847864,"altitude":5,"angle":171,"satellites":37,"speed":44,"hex_longitude":"2d81b640","hex_latitude":"05d50a38","is_valid_coordinates":true} 
[2026-07-15 17:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734218240001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106693219630186496,"note":"Value kept but may cause issues"} 
[2026-07-15 17:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9101211871910778880,"note":"Value kept but may cause issues"} 
[2026-07-15 17:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784118050000,"timestamp_ms":1784118050000,"timestamp_seconds":1784118050,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b8fcd0"} 
[2026-07-15 17:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-15 17:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734218240001,"66":13254,"165":206,"85":15104,"24":44,"16":106693219630186496,"45":-9101211871910778880},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-07-15 17:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734218240001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:51:38] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-15 17:51:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 17:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106693219630186496,"km_value":106693219630186.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9101211871910778880,"description":"Unknown IO ID 45"} 
[2026-07-15 17:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734218240001,"power":13254,"unknown_165":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":-9101211871910778880}} 
[2026-07-15 17:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":132602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492184,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:51:38] local.INFO: GPS data processed {"connection_id":132602,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:51:38] local.INFO: Acknowledgment sent {"connection_id":132602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:51:59] local.INFO: TCP Data received {"connection_id":133633,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133633,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:51:59] local.INFO: Processing buffer {"connection_id":133633,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:51:59] local.INFO: IMEI packet received {"connection_id":133633,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 17:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":133633,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:52:00] local.INFO: TCP Data received {"connection_id":134995,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:52:00] local.INFO: Processing buffer {"connection_id":134995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:52:00] local.INFO: IMEI packet received {"connection_id":134995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":134995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:52:02] local.INFO: TCP Data received {"connection_id":133633,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133633,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:52:02] local.INFO: Processing buffer {"connection_id":133633,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:52:02] local.INFO: IMEI packet received {"connection_id":133633,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 17:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":133633,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:52:03] local.INFO: TCP Data received {"connection_id":133633,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b9b850012d819c8005d4afb8000800d926..."} 
[2026-07-15 17:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b9b850012d819c8005d4afb8000800d926..."} 
[2026-07-15 17:52:03] local.INFO: Processing buffer {"connection_id":133633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b9b850012d819c8005d4afb8000800d926..."} 
[2026-07-15 17:52:03] local.INFO: Packet analysis {"connection_id":133633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b9"} 
[2026-07-15 17:52:03] local.INFO: Extracted packet for processing {"connection_id":133633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b9"} 
[2026-07-15 17:52:03] local.INFO: GPS Element Parsed {"raw_longitude":763468928,"raw_latitude":97824696,"longitude_deg":76.3468928,"latitude_deg":9.7824696,"altitude":8,"angle":217,"satellites":38,"speed":22,"hex_longitude":"2d819c80","hex_latitude":"05d4afb8","is_valid_coordinates":true} 
[2026-07-15 17:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734232832001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106694705688870912,"note":"Value kept but may cause issues"} 
[2026-07-15 17:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9106841371453327360,"note":"Value kept but may cause issues"} 
[2026-07-15 17:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784118098000,"timestamp_ms":1784118098000,"timestamp_seconds":1784118098,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b9b850"} 
[2026-07-15 17:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-15 17:52:03] 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-07-15 17:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":133633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":133633,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":133633,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734232832001,"66":13091,"165":206,"85":15104,"24":22,"16":106694705688870912,"45":-9106841371453327360},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-07-15 17:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734232832001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:52:03] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-15 17:52:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 17:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106694705688870912,"km_value":106694705688870.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9106841371453327360,"description":"Unknown IO ID 45"} 
[2026-07-15 17:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734232832001,"power":13091,"unknown_165":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9106841371453327360}} 
[2026-07-15 17:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":133633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492185,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:52:03] local.INFO: GPS data processed {"connection_id":133633,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:52:03] local.INFO: Acknowledgment sent {"connection_id":133633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:52:05] local.INFO: TCP Data received {"connection_id":134995,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:52:05] local.INFO: Processing buffer {"connection_id":134995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:52:05] local.INFO: IMEI packet received {"connection_id":134995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":134995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:52:06] local.INFO: TCP Data received {"connection_id":134995,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b733c8012d7f974005afda600002006c2d..."} 
[2026-07-15 17:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b733c8012d7f974005afda600002006c2d..."} 
[2026-07-15 17:52:06] local.INFO: Processing buffer {"connection_id":134995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b733c8012d7f974005afda600002006c2d..."} 
[2026-07-15 17:52:06] local.INFO: Packet analysis {"connection_id":134995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 17:52:06] local.INFO: Extracted packet for processing {"connection_id":134995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 17:52:06] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":45,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734189056001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 17:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784117933000,"timestamp_ms":1784117933000,"timestamp_seconds":1784117933,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b733c8"} 
[2026-07-15 17:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 17:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":134995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":134995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":134995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734189056001,"66":25843,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734189056001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:52:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:52:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 17:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734189056001,"power":25843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 17:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":134995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:52:06] local.INFO: GPS data processed {"connection_id":134995,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:52:06] local.INFO: Acknowledgment sent {"connection_id":134995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:52:33] local.INFO: TCP Data received {"connection_id":133633,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ba6c00012d81aa8005d3f990000600b927..."} 
[2026-07-15 17:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ba6c00012d81aa8005d3f990000600b927..."} 
[2026-07-15 17:52:33] local.INFO: Processing buffer {"connection_id":133633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ba6c00012d81aa8005d3f990000600b927..."} 
[2026-07-15 17:52:33] local.INFO: Packet analysis {"connection_id":133633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ba"} 
[2026-07-15 17:52:33] local.INFO: Extracted packet for processing {"connection_id":133633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ba"} 
[2026-07-15 17:52:33] local.INFO: GPS Element Parsed {"raw_longitude":763472512,"raw_latitude":97778064,"longitude_deg":76.3472512,"latitude_deg":9.7778064,"altitude":6,"angle":185,"satellites":39,"speed":33,"hex_longitude":"2d81aa80","hex_latitude":"05d3f990","is_valid_coordinates":true} 
[2026-07-15 17: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-07-15 17:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734243840001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106697007791341568,"note":"Value kept but may cause issues"} 
[2026-07-15 17:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9103674777976446976,"note":"Value kept but may cause issues"} 
[2026-07-15 17:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784118144000,"timestamp_ms":1784118144000,"timestamp_seconds":1784118144,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ba6c00"} 
[2026-07-15 17:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-15 17:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17: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-07-15 17:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":133633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":133633,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":133633,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734243840001,"66":12939,"165":206,"85":15104,"24":33,"16":106697007791341568,"45":-9103674777976446976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-07-15 17:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734243840001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:52:33] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-15 17:52:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 17:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106697007791341568,"km_value":106697007791341.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9103674777976446976,"description":"Unknown IO ID 45"} 
[2026-07-15 17:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734243840001,"power":12939,"unknown_165":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9103674777976446976}} 
[2026-07-15 17:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":133633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492187,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:52:33] local.INFO: GPS data processed {"connection_id":133633,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:52:33] local.INFO: Acknowledgment sent {"connection_id":133633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:52:38] local.INFO: TCP Data received {"connection_id":134995,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b733c8012d7f974005afda600002006c2d..."} 
[2026-07-15 17:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b733c8012d7f974005afda600002006c2d..."} 
[2026-07-15 17:52:38] local.INFO: Processing buffer {"connection_id":134995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b733c8012d7f974005afda600002006c2d..."} 
[2026-07-15 17:52:38] local.INFO: Packet analysis {"connection_id":134995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 17:52:38] local.INFO: Extracted packet for processing {"connection_id":134995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 17:52:38] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":45,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734189056001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 17:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784117933000,"timestamp_ms":1784117933000,"timestamp_seconds":1784117933,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b733c8"} 
[2026-07-15 17:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 17:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":134995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":134995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":134995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734189056001,"66":25843,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734189056001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:52:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:52:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 17:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734189056001,"power":25843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 17:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":134995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:52:38] local.INFO: GPS data processed {"connection_id":134995,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:52:38] local.INFO: Acknowledgment sent {"connection_id":134995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:52:59] local.INFO: TCP Data received {"connection_id":132605,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132605,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:52:59] local.INFO: Processing buffer {"connection_id":132605,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:52:59] local.INFO: IMEI packet received {"connection_id":132605,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 17:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":132605,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:52:59] local.INFO: TCP Data received {"connection_id":132604,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132604,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:52:59] local.INFO: Processing buffer {"connection_id":132604,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:52:59] local.INFO: IMEI packet received {"connection_id":132604,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 17:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":132604,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:52:59] local.INFO: TCP Data received {"connection_id":132605,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132605,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:52:59] local.INFO: Processing buffer {"connection_id":132605,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:52:59] local.INFO: IMEI packet received {"connection_id":132605,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 17:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":132605,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:53:00] local.INFO: TCP Data received {"connection_id":132605,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132605,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:53:00] local.INFO: Processing buffer {"connection_id":132605,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:53:00] local.INFO: IMEI packet received {"connection_id":132605,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 17:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":132605,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:53:01] local.INFO: TCP Data received {"connection_id":132605,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132605,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:53:01] local.INFO: Processing buffer {"connection_id":132605,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:53:01] local.INFO: IMEI packet received {"connection_id":132605,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 17:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":132605,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:53:05] local.INFO: TCP Data received {"connection_id":132606,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:53:05] local.INFO: Processing buffer {"connection_id":132606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:53:05] local.INFO: IMEI packet received {"connection_id":132606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":132606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:53:10] local.INFO: TCP Data received {"connection_id":132606,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:53:10] local.INFO: Processing buffer {"connection_id":132606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:53:10] local.INFO: IMEI packet received {"connection_id":132606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":132606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:53:12] local.INFO: TCP Data received {"connection_id":132606,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b733c8012d7f974005afda600002006c2d..."} 
[2026-07-15 17:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b733c8012d7f974005afda600002006c2d..."} 
[2026-07-15 17:53:12] local.INFO: Processing buffer {"connection_id":132606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b733c8012d7f974005afda600002006c2d..."} 
[2026-07-15 17:53:12] local.INFO: Packet analysis {"connection_id":132606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 17:53:12] local.INFO: Extracted packet for processing {"connection_id":132606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 17:53:12] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":45,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:53: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-07-15 17:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734189056001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 17:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784117933000,"timestamp_ms":1784117933000,"timestamp_seconds":1784117933,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b733c8"} 
[2026-07-15 17:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 17:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734189056001,"66":25843,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734189056001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:53:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:53:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 17:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734189056001,"power":25843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 17:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":132606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:53:12] local.INFO: GPS data processed {"connection_id":132606,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:53:12] local.INFO: Acknowledgment sent {"connection_id":132606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:53:16] local.INFO: TCP Data received {"connection_id":132606,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b733c8012d7f974005afda600002006c2d..."} 
[2026-07-15 17:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b733c8012d7f974005afda600002006c2d..."} 
[2026-07-15 17:53:16] local.INFO: Processing buffer {"connection_id":132606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b733c8012d7f974005afda600002006c2d..."} 
[2026-07-15 17:53:16] local.INFO: Packet analysis {"connection_id":132606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 17:53:16] local.INFO: Extracted packet for processing {"connection_id":132606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 17:53:16] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":45,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734189056001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 17:53:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784117933000,"timestamp_ms":1784117933000,"timestamp_seconds":1784117933,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b733c8"} 
[2026-07-15 17:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:53:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 17:53:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:53:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734189056001,"66":25843,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734189056001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:53:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:53:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 17:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734189056001,"power":25843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 17:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":132606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:53:16] local.INFO: GPS data processed {"connection_id":132606,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:53:16] local.INFO: Acknowledgment sent {"connection_id":132606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:53:34] local.INFO: TCP Data received {"connection_id":133634,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133634,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:53:34] local.INFO: Processing buffer {"connection_id":133634,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:53:34] local.INFO: IMEI packet received {"connection_id":133634,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 17:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":133634,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:54:00] local.INFO: TCP Data received {"connection_id":132607,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:54:00] local.INFO: Processing buffer {"connection_id":132607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:54:00] local.INFO: IMEI packet received {"connection_id":132607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":132607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:54:06] local.INFO: TCP Data received {"connection_id":132607,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:54:06] local.INFO: Processing buffer {"connection_id":132607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:54:06] local.INFO: IMEI packet received {"connection_id":132607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":132607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:54:06] local.INFO: TCP Data received {"connection_id":132607,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b733c8012d7f974005afda600002006c2d..."} 
[2026-07-15 17:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b733c8012d7f974005afda600002006c2d..."} 
[2026-07-15 17:54:06] local.INFO: Processing buffer {"connection_id":132607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b733c8012d7f974005afda600002006c2d..."} 
[2026-07-15 17:54:06] local.INFO: Packet analysis {"connection_id":132607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 17:54:06] local.INFO: Extracted packet for processing {"connection_id":132607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 17:54:06] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":45,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 17:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734189056001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 17:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784117933000,"timestamp_ms":1784117933000,"timestamp_seconds":1784117933,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b733c8"} 
[2026-07-15 17:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 17:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734189056001,"66":25843,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734189056001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:54:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:54:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 17:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734189056001,"power":25843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 17:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":132607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:54:06] local.INFO: GPS data processed {"connection_id":132607,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:54:06] local.INFO: Acknowledgment sent {"connection_id":132607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:54:37] local.INFO: TCP Data received {"connection_id":132607,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f65bbdb30012d7f97c005afda580002006c2f..."} 
[2026-07-15 17:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65bbdb30012d7f97c005afda580002006c2f..."} 
[2026-07-15 17:54:37] local.INFO: Processing buffer {"connection_id":132607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65bbdb30012d7f97c005afda580002006c2f..."} 
[2026-07-15 17:54:37] local.INFO: Packet analysis {"connection_id":132607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65bb"} 
[2026-07-15 17:54:37] local.INFO: Extracted packet for processing {"connection_id":132607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65bb"} 
[2026-07-15 17:54:37] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":47,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 17:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734190848001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784118238000,"timestamp_ms":1784118238000,"timestamp_seconds":1784118238,"priority":1,"record_length":96,"hex_timestamp":"0000019f65bbdb30"} 
[2026-07-15 17:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 17:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-15 17:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734190848001,"66":25952,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734190848001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:54:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:54:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734190848001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":132607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:54:37] local.INFO: GPS data processed {"connection_id":132607,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:54:37] local.INFO: Acknowledgment sent {"connection_id":132607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:55:00] local.INFO: TCP Data received {"connection_id":133636,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:55:00] local.INFO: Processing buffer {"connection_id":133636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:55:00] local.INFO: IMEI packet received {"connection_id":133636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":133636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:55:05] local.INFO: TCP Data received {"connection_id":133636,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:55:05] local.INFO: Processing buffer {"connection_id":133636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:55:05] local.INFO: IMEI packet received {"connection_id":133636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":133636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:55:06] local.INFO: TCP Data received {"connection_id":133636,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f65bbdb30012d7f97c005afda580002006c2f..."} 
[2026-07-15 17:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65bbdb30012d7f97c005afda580002006c2f..."} 
[2026-07-15 17:55:06] local.INFO: Processing buffer {"connection_id":133636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65bbdb30012d7f97c005afda580002006c2f..."} 
[2026-07-15 17:55:06] local.INFO: Packet analysis {"connection_id":133636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65bb"} 
[2026-07-15 17:55:06] local.INFO: Extracted packet for processing {"connection_id":133636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65bb"} 
[2026-07-15 17:55:06] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":47,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 17:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734190848001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784118238000,"timestamp_ms":1784118238000,"timestamp_seconds":1784118238,"priority":1,"record_length":96,"hex_timestamp":"0000019f65bbdb30"} 
[2026-07-15 17:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 17:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-15 17:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734190848001,"66":25952,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734190848001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:55:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:55:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734190848001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":133636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:55:06] local.INFO: GPS data processed {"connection_id":133636,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:55:06] local.INFO: Acknowledgment sent {"connection_id":133636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:55:30] local.INFO: TCP Data received {"connection_id":134996,"ip":"117.224.64.252","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":134996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:55:30] local.INFO: Processing buffer {"connection_id":134996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:55:30] local.INFO: IMEI packet received {"connection_id":134996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 17:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":134996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:55:37] local.INFO: TCP Data received {"connection_id":133636,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f65bbdb30012d7f97c005afda580002006c2f..."} 
[2026-07-15 17:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65bbdb30012d7f97c005afda580002006c2f..."} 
[2026-07-15 17:55:37] local.INFO: Processing buffer {"connection_id":133636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65bbdb30012d7f97c005afda580002006c2f..."} 
[2026-07-15 17:55:37] local.INFO: Packet analysis {"connection_id":133636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65bb"} 
[2026-07-15 17:55:37] local.INFO: Extracted packet for processing {"connection_id":133636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65bb"} 
[2026-07-15 17:55:37] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":47,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 17:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734190848001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784118238000,"timestamp_ms":1784118238000,"timestamp_seconds":1784118238,"priority":1,"record_length":96,"hex_timestamp":"0000019f65bbdb30"} 
[2026-07-15 17:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 17:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-15 17:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734190848001,"66":25952,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734190848001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:55:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:55:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734190848001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":133636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:55:37] local.INFO: GPS data processed {"connection_id":133636,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:55:37] local.INFO: Acknowledgment sent {"connection_id":133636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:56:00] local.INFO: TCP Data received {"connection_id":132787,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:56:00] local.INFO: Processing buffer {"connection_id":132787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:56:00] local.INFO: IMEI packet received {"connection_id":132787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":132787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:56:05] local.INFO: TCP Data received {"connection_id":132788,"ip":"117.224.64.252","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:56:05] local.INFO: Processing buffer {"connection_id":132788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:56:05] local.INFO: IMEI packet received {"connection_id":132788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 17:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":132788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:56:07] local.INFO: TCP Data received {"connection_id":132787,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:56:07] local.INFO: Processing buffer {"connection_id":132787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:56:07] local.INFO: IMEI packet received {"connection_id":132787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":132787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:56:08] local.INFO: TCP Data received {"connection_id":132787,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f65bbdb30012d7f97c005afda580002006c2f..."} 
[2026-07-15 17:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65bbdb30012d7f97c005afda580002006c2f..."} 
[2026-07-15 17:56:08] local.INFO: Processing buffer {"connection_id":132787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65bbdb30012d7f97c005afda580002006c2f..."} 
[2026-07-15 17:56:08] local.INFO: Packet analysis {"connection_id":132787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65bb"} 
[2026-07-15 17:56:08] local.INFO: Extracted packet for processing {"connection_id":132787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65bb"} 
[2026-07-15 17:56:08] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":47,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 17:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734190848001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784118238000,"timestamp_ms":1784118238000,"timestamp_seconds":1784118238,"priority":1,"record_length":96,"hex_timestamp":"0000019f65bbdb30"} 
[2026-07-15 17:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 17:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-15 17:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:56:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734190848001,"66":25952,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734190848001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:56:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:56:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734190848001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":132787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:56:08] local.INFO: GPS data processed {"connection_id":132787,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:56:08] local.INFO: Acknowledgment sent {"connection_id":132787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:56:10] local.INFO: TCP Data received {"connection_id":132788,"ip":"117.224.64.252","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:56:10] local.INFO: Processing buffer {"connection_id":132788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:56:10] local.INFO: IMEI packet received {"connection_id":132788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":132788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:56:12] local.INFO: TCP Data received {"connection_id":132788,"ip":"117.224.64.252","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b789b8012d1b708007257c90002c000c29..."} 
[2026-07-15 17:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b789b8012d1b708007257c90002c000c29..."} 
[2026-07-15 17:56:12] local.INFO: Processing buffer {"connection_id":132788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b789b8012d1b708007257c90002c000c29..."} 
[2026-07-15 17:56:12] local.INFO: Packet analysis {"connection_id":132788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 17:56:12] local.INFO: Extracted packet for processing {"connection_id":132788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 17:56:12] local.INFO: GPS Element Parsed {"raw_longitude":756772992,"raw_latitude":119897232,"longitude_deg":75.6772992,"latitude_deg":11.9897232,"altitude":44,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d1b7080","hex_latitude":"07257c90","is_valid_coordinates":true} 
[2026-07-15 17:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734191104001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6202615675224064,"note":"Value kept but may cause issues"} 
[2026-07-15 17:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977221004597694464,"note":"Value kept but may cause issues"} 
[2026-07-15 17:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784117955000,"timestamp_ms":1784117955000,"timestamp_seconds":1784117955,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b789b8"} 
[2026-07-15 17:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:56:12] 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-07-15 17:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 17:56: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-07-15 17:56:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.64.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734191104001,"66":14102,"92":206,"28":31744,"24":0,"16":6202615675224064,"45":1977221004597694464},"client_ip":"117.224.64.252","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-15 17:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734191104001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:56:12] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-15 17:56:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 17:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6202615675224064,"km_value":6202615675224.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977221004597694464,"description":"Unknown IO ID 45"} 
[2026-07-15 17:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734191104001,"power":14102,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977221004597694464}} 
[2026-07-15 17:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":132788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:56:12] local.INFO: GPS data processed {"connection_id":132788,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:56:12] local.INFO: Acknowledgment sent {"connection_id":132788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:56:16] local.INFO: TCP Data received {"connection_id":132788,"ip":"117.224.64.252","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b7d7d8012d1b708007257c90002c000c2f..."} 
[2026-07-15 17:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b7d7d8012d1b708007257c90002c000c2f..."} 
[2026-07-15 17:56:16] local.INFO: Processing buffer {"connection_id":132788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b7d7d8012d1b708007257c90002c000c2f..."} 
[2026-07-15 17:56:16] local.INFO: Packet analysis {"connection_id":132788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 17:56:16] local.INFO: Extracted packet for processing {"connection_id":132788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 17:56:16] local.INFO: GPS Element Parsed {"raw_longitude":756772992,"raw_latitude":119897232,"longitude_deg":75.6772992,"latitude_deg":11.9897232,"altitude":44,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d1b7080","hex_latitude":"07257c90","is_valid_coordinates":true} 
[2026-07-15 17:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734196480001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6202615675224064,"note":"Value kept but may cause issues"} 
[2026-07-15 17:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977221004597694464,"note":"Value kept but may cause issues"} 
[2026-07-15 17:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784117975000,"timestamp_ms":1784117975000,"timestamp_seconds":1784117975,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b7d7d8"} 
[2026-07-15 17:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:56:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-15 17:56:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:56:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.64.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734196480001,"66":5014,"92":206,"28":31744,"24":0,"16":6202615675224064,"45":1977221004597694464},"client_ip":"117.224.64.252","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-15 17:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734196480001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:56:16] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-15 17:56:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 17:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6202615675224064,"km_value":6202615675224.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977221004597694464,"description":"Unknown IO ID 45"} 
[2026-07-15 17:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734196480001,"power":5014,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977221004597694464}} 
[2026-07-15 17:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":132788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:56:16] local.INFO: GPS data processed {"connection_id":132788,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:56:16] local.INFO: Acknowledgment sent {"connection_id":132788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:56:39] local.INFO: TCP Data received {"connection_id":132787,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f65bbdb30012d7f97c005afda580002006c2f..."} 
[2026-07-15 17:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65bbdb30012d7f97c005afda580002006c2f..."} 
[2026-07-15 17:56:39] local.INFO: Processing buffer {"connection_id":132787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65bbdb30012d7f97c005afda580002006c2f..."} 
[2026-07-15 17:56:39] local.INFO: Packet analysis {"connection_id":132787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65bb"} 
[2026-07-15 17:56:39] local.INFO: Extracted packet for processing {"connection_id":132787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65bb"} 
[2026-07-15 17:56:39] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":47,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 17:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734190848001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784118238000,"timestamp_ms":1784118238000,"timestamp_seconds":1784118238,"priority":1,"record_length":96,"hex_timestamp":"0000019f65bbdb30"} 
[2026-07-15 17:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 17:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-15 17:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:56:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734190848001,"66":25952,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734190848001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:56:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:56:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734190848001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":132787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:56:39] local.INFO: GPS data processed {"connection_id":132787,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:56:39] local.INFO: Acknowledgment sent {"connection_id":132787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:56:50] local.INFO: TCP Data received {"connection_id":132609,"ip":"117.224.64.252","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:56:50] local.INFO: Processing buffer {"connection_id":132609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:56:50] local.INFO: IMEI packet received {"connection_id":132609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 17:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":132609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:56:55] local.INFO: TCP Data received {"connection_id":132609,"ip":"117.224.64.252","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:56:55] local.INFO: Processing buffer {"connection_id":132609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:56:55] local.INFO: IMEI packet received {"connection_id":132609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":132609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:56:57] local.INFO: TCP Data received {"connection_id":132609,"ip":"117.224.64.252","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b7d7d8012d1b708007257c90002c000c2f..."} 
[2026-07-15 17:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b7d7d8012d1b708007257c90002c000c2f..."} 
[2026-07-15 17:56:57] local.INFO: Processing buffer {"connection_id":132609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b7d7d8012d1b708007257c90002c000c2f..."} 
[2026-07-15 17:56:57] local.INFO: Packet analysis {"connection_id":132609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 17:56:57] local.INFO: Extracted packet for processing {"connection_id":132609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 17:56:57] local.INFO: GPS Element Parsed {"raw_longitude":756772992,"raw_latitude":119897232,"longitude_deg":75.6772992,"latitude_deg":11.9897232,"altitude":44,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d1b7080","hex_latitude":"07257c90","is_valid_coordinates":true} 
[2026-07-15 17:56:57] 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-07-15 17:56:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734201600001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:56:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6202615675224064,"note":"Value kept but may cause issues"} 
[2026-07-15 17:56:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977221004597694464,"note":"Value kept but may cause issues"} 
[2026-07-15 17:56:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:56:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784117975000,"timestamp_ms":1784117975000,"timestamp_seconds":1784117975,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b7d7d8"} 
[2026-07-15 17:56:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:56:57] 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-07-15 17:56:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":19,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 17:56:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1643,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:56:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:56:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:56:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:56:57] local.INFO: Teltonika packet parsed successfully {"connection_id":132609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:56:57] local.INFO: Passing IMEI to GPS processor {"connection_id":132609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:56:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":132609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:56:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.64.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:56:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:56:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:56:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734201600001,"66":5014,"92":206,"28":31744,"24":0,"16":6202615675224064,"45":1977221004597694464},"client_ip":"117.224.64.252","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-15 17:56:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:56:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:56:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734201600001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:56:57] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-15 17:56:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 17:56:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6202615675224064,"km_value":6202615675224.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:56:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977221004597694464,"description":"Unknown IO ID 45"} 
[2026-07-15 17:56:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734201600001,"power":5014,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977221004597694464}} 
[2026-07-15 17:56:57] local.INFO: DEBUG: GPS processor result {"connection_id":132609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:56:57] local.INFO: GPS data processed {"connection_id":132609,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:56:57] local.INFO: Acknowledgment sent {"connection_id":132609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:57:00] local.INFO: TCP Data received {"connection_id":133639,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:57:00] local.INFO: Processing buffer {"connection_id":133639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:57:00] local.INFO: IMEI packet received {"connection_id":133639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":133639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:57:05] local.INFO: TCP Data received {"connection_id":133639,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:57:05] local.INFO: Processing buffer {"connection_id":133639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:57:05] local.INFO: IMEI packet received {"connection_id":133639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":133639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:57:07] local.INFO: TCP Data received {"connection_id":133639,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f65bbdb30012d7f97c005afda580002006c2f..."} 
[2026-07-15 17:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65bbdb30012d7f97c005afda580002006c2f..."} 
[2026-07-15 17:57:07] local.INFO: Processing buffer {"connection_id":133639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65bbdb30012d7f97c005afda580002006c2f..."} 
[2026-07-15 17:57:07] local.INFO: Packet analysis {"connection_id":133639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65bb"} 
[2026-07-15 17:57:07] local.INFO: Extracted packet for processing {"connection_id":133639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65bb"} 
[2026-07-15 17:57:07] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":47,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 17:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734190848001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784118238000,"timestamp_ms":1784118238000,"timestamp_seconds":1784118238,"priority":1,"record_length":96,"hex_timestamp":"0000019f65bbdb30"} 
[2026-07-15 17:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 17:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-15 17:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:57:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734190848001,"66":25952,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734190848001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:57:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:57:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734190848001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":133639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:57:07] local.INFO: GPS data processed {"connection_id":133639,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:57:07] local.INFO: Acknowledgment sent {"connection_id":133639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:57:31] local.INFO: TCP Data received {"connection_id":132609,"ip":"117.224.64.252","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b7d7d8012d1b708007257c90002c000c2f..."} 
[2026-07-15 17:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b7d7d8012d1b708007257c90002c000c2f..."} 
[2026-07-15 17:57:31] local.INFO: Processing buffer {"connection_id":132609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b7d7d8012d1b708007257c90002c000c2f..."} 
[2026-07-15 17:57:31] local.INFO: Packet analysis {"connection_id":132609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 17:57:31] local.INFO: Extracted packet for processing {"connection_id":132609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 17:57:31] local.INFO: GPS Element Parsed {"raw_longitude":756772992,"raw_latitude":119897232,"longitude_deg":75.6772992,"latitude_deg":11.9897232,"altitude":44,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d1b7080","hex_latitude":"07257c90","is_valid_coordinates":true} 
[2026-07-15 17:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734201600001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6202615675224064,"note":"Value kept but may cause issues"} 
[2026-07-15 17:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977221004597694464,"note":"Value kept but may cause issues"} 
[2026-07-15 17:57:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784117975000,"timestamp_ms":1784117975000,"timestamp_seconds":1784117975,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b7d7d8"} 
[2026-07-15 17:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:57:31] 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-07-15 17: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":19,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 17:57:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1643,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17: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-07-15 17:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":132609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":132609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":132609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.64.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734201600001,"66":5014,"92":206,"28":31744,"24":0,"16":6202615675224064,"45":1977221004597694464},"client_ip":"117.224.64.252","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-15 17:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734201600001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:57:31] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-15 17:57:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 17:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6202615675224064,"km_value":6202615675224.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977221004597694464,"description":"Unknown IO ID 45"} 
[2026-07-15 17:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734201600001,"power":5014,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977221004597694464}} 
[2026-07-15 17:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":132609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:57:31] local.INFO: GPS data processed {"connection_id":132609,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:57:31] local.INFO: Acknowledgment sent {"connection_id":132609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:57:39] local.INFO: TCP Data received {"connection_id":133639,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f65bbdb30012d7f97c005afda580002006c2f..."} 
[2026-07-15 17:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65bbdb30012d7f97c005afda580002006c2f..."} 
[2026-07-15 17:57:39] local.INFO: Processing buffer {"connection_id":133639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65bbdb30012d7f97c005afda580002006c2f..."} 
[2026-07-15 17:57:39] local.INFO: Packet analysis {"connection_id":133639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65bb"} 
[2026-07-15 17:57:39] local.INFO: Extracted packet for processing {"connection_id":133639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65bb"} 
[2026-07-15 17:57:39] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":47,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 17:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734190848001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784118238000,"timestamp_ms":1784118238000,"timestamp_seconds":1784118238,"priority":1,"record_length":96,"hex_timestamp":"0000019f65bbdb30"} 
[2026-07-15 17:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:57:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 17:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-15 17:57:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:57:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734190848001,"66":25952,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734190848001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:57:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:57:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734190848001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":133639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:57:39] local.INFO: GPS data processed {"connection_id":133639,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:57:39] local.INFO: Acknowledgment sent {"connection_id":133639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:57:45] local.INFO: TCP Data received {"connection_id":135000,"ip":"117.224.64.252","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:57:45] local.INFO: Processing buffer {"connection_id":135000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:57:45] local.INFO: IMEI packet received {"connection_id":135000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 17:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":135000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:57:50] local.INFO: TCP Data received {"connection_id":135000,"ip":"117.224.64.252","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:57:50] local.INFO: Processing buffer {"connection_id":135000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:57:50] local.INFO: IMEI packet received {"connection_id":135000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":135000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:57:52] local.INFO: TCP Data received {"connection_id":135000,"ip":"117.224.64.252","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b7dbc0012d1b708007257c90002c000c2f..."} 
[2026-07-15 17:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b7dbc0012d1b708007257c90002c000c2f..."} 
[2026-07-15 17:57:52] local.INFO: Processing buffer {"connection_id":135000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b7dbc0012d1b708007257c90002c000c2f..."} 
[2026-07-15 17:57:52] local.INFO: Packet analysis {"connection_id":135000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 17:57:52] local.INFO: Extracted packet for processing {"connection_id":135000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 17:57:52] local.INFO: GPS Element Parsed {"raw_longitude":756772992,"raw_latitude":119897232,"longitude_deg":75.6772992,"latitude_deg":11.9897232,"altitude":44,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d1b7080","hex_latitude":"07257c90","is_valid_coordinates":true} 
[2026-07-15 17: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-07-15 17:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734201600001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6202615675224064,"note":"Value kept but may cause issues"} 
[2026-07-15 17:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977221004597694464,"note":"Value kept but may cause issues"} 
[2026-07-15 17:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1784117976000,"timestamp_ms":1784117976000,"timestamp_seconds":1784117976,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b7dbc0"} 
[2026-07-15 17:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:57: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-07-15 17: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":19,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 17:57:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1643,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17: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-07-15 17:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":135000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":135000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":135000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:57:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.64.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734201600001,"66":5014,"92":206,"28":31744,"24":0,"16":6202615675224064,"45":1977221004597694464},"client_ip":"117.224.64.252","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-15 17:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734201600001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:57:52] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-15 17:57:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 17:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6202615675224064,"km_value":6202615675224.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977221004597694464,"description":"Unknown IO ID 45"} 
[2026-07-15 17:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734201600001,"power":5014,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977221004597694464}} 
[2026-07-15 17:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":135000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:57:52] local.INFO: GPS data processed {"connection_id":135000,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:57:52] local.INFO: Acknowledgment sent {"connection_id":135000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:58:04] local.INFO: TCP Data received {"connection_id":132610,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132610,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:58:04] local.INFO: Processing buffer {"connection_id":132610,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:58:04] local.INFO: IMEI packet received {"connection_id":132610,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 17:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":132610,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:58:05] local.INFO: TCP Data received {"connection_id":132610,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65bdf258012d82948005d27520001400ac27..."} 
[2026-07-15 17:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65bdf258012d82948005d27520001400ac27..."} 
[2026-07-15 17:58:05] local.INFO: Processing buffer {"connection_id":132610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65bdf258012d82948005d27520001400ac27..."} 
[2026-07-15 17:58:05] local.INFO: Packet analysis {"connection_id":132610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65bd"} 
[2026-07-15 17:58:05] local.INFO: Extracted packet for processing {"connection_id":132610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65bd"} 
[2026-07-15 17:58:05] local.INFO: GPS Element Parsed {"raw_longitude":763532416,"raw_latitude":97678624,"longitude_deg":76.3532416,"latitude_deg":9.7678624,"altitude":20,"angle":172,"satellites":39,"speed":25,"hex_longitude":"2d829480","hex_latitude":"05d27520","is_valid_coordinates":true} 
[2026-07-15 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-07-15 17:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734299904001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106704339300515840,"note":"Value kept but may cause issues"} 
[2026-07-15 17:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9038654058380339200,"note":"Value kept but may cause issues"} 
[2026-07-15 17:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784118375000,"timestamp_ms":1784118375000,"timestamp_seconds":1784118375,"priority":1,"record_length":96,"hex_timestamp":"0000019f65bdf258"} 
[2026-07-15 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-07-15 17:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-15 17:58:05] 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-07-15 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-07-15 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-07-15 17:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734299904001,"66":12906,"68":206,"85":15104,"24":25,"16":106704339300515840,"45":-9038654058380339200},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-07-15 17:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734299904001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:58:05] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-07-15 17:58:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 17:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106704339300515840,"km_value":106704339300515.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9038654058380339200,"description":"Unknown IO ID 45"} 
[2026-07-15 17:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734299904001,"power":12906,"unknown_68":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9038654058380339200}} 
[2026-07-15 17:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":132610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492204,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:58:05] local.INFO: GPS data processed {"connection_id":132610,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:58:05] local.INFO: Acknowledgment sent {"connection_id":132610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:58:05] local.INFO: TCP Data received {"connection_id":132611,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:58:05] local.INFO: Processing buffer {"connection_id":132611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:58:05] local.INFO: IMEI packet received {"connection_id":132611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":132611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:58:10] local.INFO: TCP Data received {"connection_id":132611,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:58:10] local.INFO: Processing buffer {"connection_id":132611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:58:10] local.INFO: IMEI packet received {"connection_id":132611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":132611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:58:13] local.INFO: TCP Data received {"connection_id":132611,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f65bbdb30012d7f97c005afda580002006c2f..."} 
[2026-07-15 17:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65bbdb30012d7f97c005afda580002006c2f..."} 
[2026-07-15 17:58:13] local.INFO: Processing buffer {"connection_id":132611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65bbdb30012d7f97c005afda580002006c2f..."} 
[2026-07-15 17:58:13] local.INFO: Packet analysis {"connection_id":132611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65bb"} 
[2026-07-15 17:58:13] local.INFO: Extracted packet for processing {"connection_id":132611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65bb"} 
[2026-07-15 17:58:13] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":47,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 17: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-07-15 17:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734190848001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784118238000,"timestamp_ms":1784118238000,"timestamp_seconds":1784118238,"priority":1,"record_length":96,"hex_timestamp":"0000019f65bbdb30"} 
[2026-07-15 17:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:58:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 17: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-15 17:58:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:58:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734190848001,"66":25952,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734190848001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:58:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:58:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734190848001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":132611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:58:13] local.INFO: GPS data processed {"connection_id":132611,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:58:13] local.INFO: Acknowledgment sent {"connection_id":132611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:58:16] local.INFO: TCP Data received {"connection_id":132611,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f65bbdb30012d7f97c005afda580002006c2f..."} 
[2026-07-15 17:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65bbdb30012d7f97c005afda580002006c2f..."} 
[2026-07-15 17:58:16] local.INFO: Processing buffer {"connection_id":132611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65bbdb30012d7f97c005afda580002006c2f..."} 
[2026-07-15 17:58:16] local.INFO: Packet analysis {"connection_id":132611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65bb"} 
[2026-07-15 17:58:16] local.INFO: Extracted packet for processing {"connection_id":132611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65bb"} 
[2026-07-15 17:58:16] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":47,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 17:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734190848001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:58:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784118238000,"timestamp_ms":1784118238000,"timestamp_seconds":1784118238,"priority":1,"record_length":96,"hex_timestamp":"0000019f65bbdb30"} 
[2026-07-15 17:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:58:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 17:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-15 17:58:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:58:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:58:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734190848001,"66":25952,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734190848001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:58:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:58:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734190848001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":132611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:58:16] local.INFO: GPS data processed {"connection_id":132611,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:58:16] local.INFO: Acknowledgment sent {"connection_id":132611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:58:36] local.INFO: TCP Data received {"connection_id":132610,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65be2908012d82984005d25248001100af27..."} 
[2026-07-15 17:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65be2908012d82984005d25248001100af27..."} 
[2026-07-15 17:58:36] local.INFO: Processing buffer {"connection_id":132610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65be2908012d82984005d25248001100af27..."} 
[2026-07-15 17:58:36] local.INFO: Packet analysis {"connection_id":132610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65be"} 
[2026-07-15 17:58:36] local.INFO: Extracted packet for processing {"connection_id":132610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65be"} 
[2026-07-15 17:58:36] local.INFO: GPS Element Parsed {"raw_longitude":763533376,"raw_latitude":97669704,"longitude_deg":76.3533376,"latitude_deg":9.7669704,"altitude":17,"angle":175,"satellites":39,"speed":27,"hex_longitude":"2d829840","hex_latitude":"05d25248","is_valid_coordinates":true} 
[2026-07-15 17:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734304000001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106704777387180032,"note":"Value kept but may cause issues"} 
[2026-07-15 17:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037457789731659776,"note":"Value kept but may cause issues"} 
[2026-07-15 17:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784118389000,"timestamp_ms":1784118389000,"timestamp_seconds":1784118389,"priority":1,"record_length":96,"hex_timestamp":"0000019f65be2908"} 
[2026-07-15 17:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 17:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-15 17:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 17:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 17:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 17:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734304000001,"66":12526,"68":206,"85":15104,"24":27,"16":106704777387180032,"45":-9037457789731659776},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-07-15 17:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 17:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 17:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734304000001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:58:36] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-07-15 17:58:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 17:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106704777387180032,"km_value":106704777387180.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037457789731659776,"description":"Unknown IO ID 45"} 
[2026-07-15 17:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734304000001,"power":12526,"unknown_68":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9037457789731659776}} 
[2026-07-15 17:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":132610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492207,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:58:36] local.INFO: GPS data processed {"connection_id":132610,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:58:36] local.INFO: Acknowledgment sent {"connection_id":132610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:58:59] local.INFO: TCP Data received {"connection_id":132791,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132791,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:58:59] local.INFO: Processing buffer {"connection_id":132791,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:58:59] local.INFO: IMEI packet received {"connection_id":132791,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 17:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":132791,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:58:59] local.INFO: TCP Data received {"connection_id":133640,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133640,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:58:59] local.INFO: Processing buffer {"connection_id":133640,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:58:59] local.INFO: IMEI packet received {"connection_id":133640,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 17:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":133640,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:58:59] local.INFO: TCP Data received {"connection_id":132791,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132791,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:58:59] local.INFO: Processing buffer {"connection_id":132791,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:58:59] local.INFO: IMEI packet received {"connection_id":132791,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 17:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":132791,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:59:00] local.INFO: TCP Data received {"connection_id":132790,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:59:00] local.INFO: Processing buffer {"connection_id":132790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:59:00] local.INFO: IMEI packet received {"connection_id":132790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 17:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":132790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:59:03] local.INFO: TCP Data received {"connection_id":132791,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132791,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:59:03] local.INFO: Processing buffer {"connection_id":132791,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:59:03] local.INFO: IMEI packet received {"connection_id":132791,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 17:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":132791,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:59:03] local.INFO: TCP Data received {"connection_id":132791,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132791,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:59:03] local.INFO: Processing buffer {"connection_id":132791,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 17:59:03] local.INFO: IMEI packet received {"connection_id":132791,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 17:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":132791,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:59:05] local.INFO: TCP Data received {"connection_id":135001,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:59:05] local.INFO: Processing buffer {"connection_id":135001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:59:05] local.INFO: IMEI packet received {"connection_id":135001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 17:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":135001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:59:05] local.INFO: TCP Data received {"connection_id":132790,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:59:05] local.INFO: Processing buffer {"connection_id":132790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 17:59:05] local.INFO: IMEI packet received {"connection_id":132790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 17:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":132790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:59:06] local.INFO: TCP Data received {"connection_id":132790,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f65bbdb30012d7f97c005afda580002006c2f..."} 
[2026-07-15 17:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65bbdb30012d7f97c005afda580002006c2f..."} 
[2026-07-15 17:59:06] local.INFO: Processing buffer {"connection_id":132790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65bbdb30012d7f97c005afda580002006c2f..."} 
[2026-07-15 17:59:06] local.INFO: Packet analysis {"connection_id":132790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65bb"} 
[2026-07-15 17:59:06] local.INFO: Extracted packet for processing {"connection_id":132790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65bb"} 
[2026-07-15 17:59:06] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":47,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 17:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734190848001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784118238000,"timestamp_ms":1784118238000,"timestamp_seconds":1784118238,"priority":1,"record_length":96,"hex_timestamp":"0000019f65bbdb30"} 
[2026-07-15 17:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 17:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-15 17:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734190848001,"66":25952,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734190848001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:59:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:59:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734190848001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":132790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:59:06] local.INFO: GPS data processed {"connection_id":132790,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:59:06] local.INFO: Acknowledgment sent {"connection_id":132790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:59:10] local.INFO: TCP Data received {"connection_id":135001,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:59:10] local.INFO: Processing buffer {"connection_id":135001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:59:10] local.INFO: IMEI packet received {"connection_id":135001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":135001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:59:12] local.INFO: TCP Data received {"connection_id":135001,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b7dbc0012d1b708007257c90002c000c2f..."} 
[2026-07-15 17:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b7dbc0012d1b708007257c90002c000c2f..."} 
[2026-07-15 17:59:12] local.INFO: Processing buffer {"connection_id":135001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b7dbc0012d1b708007257c90002c000c2f..."} 
[2026-07-15 17:59:12] local.INFO: Packet analysis {"connection_id":135001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 17:59:12] local.INFO: Extracted packet for processing {"connection_id":135001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 17:59:12] local.INFO: GPS Element Parsed {"raw_longitude":756772992,"raw_latitude":119897232,"longitude_deg":75.6772992,"latitude_deg":11.9897232,"altitude":44,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d1b7080","hex_latitude":"07257c90","is_valid_coordinates":true} 
[2026-07-15 17:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 17:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734201600001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6202615675224064,"note":"Value kept but may cause issues"} 
[2026-07-15 17:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977221004597694464,"note":"Value kept but may cause issues"} 
[2026-07-15 17:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784117976000,"timestamp_ms":1784117976000,"timestamp_seconds":1784117976,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b7dbc0"} 
[2026-07-15 17:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:59:12] 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-07-15 17:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":19,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 17:59:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1643,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17:59:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 17:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":135001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":135001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":135001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734201600001,"66":5014,"92":206,"28":31744,"24":0,"16":6202615675224064,"45":1977221004597694464},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-15 17:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734201600001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:59:12] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-15 17:59:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 17:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6202615675224064,"km_value":6202615675224.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977221004597694464,"description":"Unknown IO ID 45"} 
[2026-07-15 17:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734201600001,"power":5014,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977221004597694464}} 
[2026-07-15 17:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":135001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:59:12] local.INFO: GPS data processed {"connection_id":135001,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:59:12] local.INFO: Acknowledgment sent {"connection_id":135001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:59:34] local.INFO: TCP Data received {"connection_id":135002,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135002,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:59:34] local.INFO: Processing buffer {"connection_id":135002,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 17:59:34] local.INFO: IMEI packet received {"connection_id":135002,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 17:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":135002,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:59:38] local.INFO: TCP Data received {"connection_id":132790,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f65bbdb30012d7f97c005afda580002006c2f..."} 
[2026-07-15 17:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65bbdb30012d7f97c005afda580002006c2f..."} 
[2026-07-15 17:59:38] local.INFO: Processing buffer {"connection_id":132790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65bbdb30012d7f97c005afda580002006c2f..."} 
[2026-07-15 17:59:38] local.INFO: Packet analysis {"connection_id":132790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65bb"} 
[2026-07-15 17:59:38] local.INFO: Extracted packet for processing {"connection_id":132790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65bb"} 
[2026-07-15 17:59:38] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":47,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 17: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-07-15 17:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734190848001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 17:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 17:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784118238000,"timestamp_ms":1784118238000,"timestamp_seconds":1784118238,"priority":1,"record_length":96,"hex_timestamp":"0000019f65bbdb30"} 
[2026-07-15 17:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 17:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-15 17:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17: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-07-15 17:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 17:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 17:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 17:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734190848001,"66":25952,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 17:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 17:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 17:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734190848001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:59:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 17:59:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 17:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 17:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734190848001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 17:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":132790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:59:38] local.INFO: GPS data processed {"connection_id":132790,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:59:38] local.INFO: Acknowledgment sent {"connection_id":132790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 17:59:51] local.INFO: TCP Data received {"connection_id":133641,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:59:51] local.INFO: Processing buffer {"connection_id":133641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:59:51] local.INFO: IMEI packet received {"connection_id":133641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 17:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":133641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 17:59:55] local.INFO: TCP Data received {"connection_id":133641,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:59:55] local.INFO: Processing buffer {"connection_id":133641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 17:59:55] local.INFO: IMEI packet received {"connection_id":133641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 17:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":133641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 17:59:57] local.INFO: TCP Data received {"connection_id":133641,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b7dbc0012d1b708007257c90002c000c2f..."} 
[2026-07-15 17:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b7dbc0012d1b708007257c90002c000c2f..."} 
[2026-07-15 17:59:57] local.INFO: Processing buffer {"connection_id":133641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b7dbc0012d1b708007257c90002c000c2f..."} 
[2026-07-15 17:59:57] local.INFO: Packet analysis {"connection_id":133641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 17:59:57] local.INFO: Extracted packet for processing {"connection_id":133641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 17:59:57] local.INFO: GPS Element Parsed {"raw_longitude":756772992,"raw_latitude":119897232,"longitude_deg":75.6772992,"latitude_deg":11.9897232,"altitude":44,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d1b7080","hex_latitude":"07257c90","is_valid_coordinates":true} 
[2026-07-15 17: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-07-15 17:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734201600001,"note":"Value kept but may cause issues"} 
[2026-07-15 17:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6202615675224064,"note":"Value kept but may cause issues"} 
[2026-07-15 17:59:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977221004597694464,"note":"Value kept but may cause issues"} 
[2026-07-15 17:59:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 17:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784117976000,"timestamp_ms":1784117976000,"timestamp_seconds":1784117976,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b7dbc0"} 
[2026-07-15 17:59:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 17:59:57] 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-07-15 17: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":19,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 17:59:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1643,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 17: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-07-15 17:59:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 17:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 17:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":133641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 17:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":133641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":133641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 17:59:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 17:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 17:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 17:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734201600001,"66":5014,"92":206,"28":31744,"24":0,"16":6202615675224064,"45":1977221004597694464},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-15 17:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 17:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 17:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734201600001,"description":"Unknown IO ID 0"} 
[2026-07-15 17:59:57] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-15 17:59:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 17:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6202615675224064,"km_value":6202615675224.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 17:59:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977221004597694464,"description":"Unknown IO ID 45"} 
[2026-07-15 17:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734201600001,"power":5014,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977221004597694464}} 
[2026-07-15 17:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":133641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 17:59:57] local.INFO: GPS data processed {"connection_id":133641,"processed":1,"errors":0,"total":1} 
[2026-07-15 17:59:57] local.INFO: Acknowledgment sent {"connection_id":133641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:00:00] local.INFO: TCP Data received {"connection_id":133642,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:00:00] local.INFO: Processing buffer {"connection_id":133642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:00:00] local.INFO: IMEI packet received {"connection_id":133642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":133642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:00:05] local.INFO: TCP Data received {"connection_id":133642,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:00:05] local.INFO: Processing buffer {"connection_id":133642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:00:05] local.INFO: IMEI packet received {"connection_id":133642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":133642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:00:06] local.INFO: TCP Data received {"connection_id":133642,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c072f8012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c072f8012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:00:06] local.INFO: Processing buffer {"connection_id":133642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c072f8012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:00:06] local.INFO: Packet analysis {"connection_id":133642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c0"} 
[2026-07-15 18:00:06] local.INFO: Extracted packet for processing {"connection_id":133642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c0"} 
[2026-07-15 18:00:06] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734268928001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784118539000,"timestamp_ms":1784118539000,"timestamp_seconds":1784118539,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c072f8"} 
[2026-07-15 18:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 18:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734268928001,"66":25908,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734268928001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:00:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:00:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734268928001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":133642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:00:06] local.INFO: GPS data processed {"connection_id":133642,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:00:06] local.INFO: Acknowledgment sent {"connection_id":133642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:00:28] local.INFO: TCP Data received {"connection_id":133641,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b7dbc0012d1b708007257c90002c000c2f..."} 
[2026-07-15 18:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b7dbc0012d1b708007257c90002c000c2f..."} 
[2026-07-15 18:00:28] local.INFO: Processing buffer {"connection_id":133641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b7dbc0012d1b708007257c90002c000c2f..."} 
[2026-07-15 18:00:28] local.INFO: Packet analysis {"connection_id":133641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 18:00:28] local.INFO: Extracted packet for processing {"connection_id":133641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 18:00:28] local.INFO: GPS Element Parsed {"raw_longitude":756772992,"raw_latitude":119897232,"longitude_deg":75.6772992,"latitude_deg":11.9897232,"altitude":44,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d1b7080","hex_latitude":"07257c90","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734201600001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6202615675224064,"note":"Value kept but may cause issues"} 
[2026-07-15 18:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977221004597694464,"note":"Value kept but may cause issues"} 
[2026-07-15 18:00:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784117976000,"timestamp_ms":1784117976000,"timestamp_seconds":1784117976,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b7dbc0"} 
[2026-07-15 18:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:00:28] 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-07-15 18: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":19,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 18:00:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1643,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18: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-07-15 18:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":133641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":133641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":133641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:00:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734201600001,"66":5014,"92":206,"28":31744,"24":0,"16":6202615675224064,"45":1977221004597694464},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-15 18:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734201600001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:00:28] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-15 18:00:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6202615675224064,"km_value":6202615675224.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977221004597694464,"description":"Unknown IO ID 45"} 
[2026-07-15 18:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734201600001,"power":5014,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977221004597694464}} 
[2026-07-15 18:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":133641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492213,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:00:29] local.INFO: GPS data processed {"connection_id":133641,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:00:29] local.INFO: Acknowledgment sent {"connection_id":133641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:00:37] local.INFO: TCP Data received {"connection_id":133642,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c072f8012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c072f8012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:00:37] local.INFO: Processing buffer {"connection_id":133642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c072f8012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:00:37] local.INFO: Packet analysis {"connection_id":133642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c0"} 
[2026-07-15 18:00:37] local.INFO: Extracted packet for processing {"connection_id":133642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c0"} 
[2026-07-15 18:00:37] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734268928001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784118539000,"timestamp_ms":1784118539000,"timestamp_seconds":1784118539,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c072f8"} 
[2026-07-15 18:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 18:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734268928001,"66":25908,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734268928001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:00:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:00:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734268928001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":133642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:00:37] local.INFO: GPS data processed {"connection_id":133642,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:00:37] local.INFO: Acknowledgment sent {"connection_id":133642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:00:50] local.INFO: TCP Data received {"connection_id":133644,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:00:50] local.INFO: Processing buffer {"connection_id":133644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:00:50] local.INFO: IMEI packet received {"connection_id":133644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":133644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:00:55] local.INFO: TCP Data received {"connection_id":133644,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:00:55] local.INFO: Processing buffer {"connection_id":133644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:00:55] local.INFO: IMEI packet received {"connection_id":133644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":133644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:00:57] local.INFO: TCP Data received {"connection_id":133644,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b7dbc0012d1b708007257c90002c000c2f..."} 
[2026-07-15 18:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b7dbc0012d1b708007257c90002c000c2f..."} 
[2026-07-15 18:00:57] local.INFO: Processing buffer {"connection_id":133644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b7dbc0012d1b708007257c90002c000c2f..."} 
[2026-07-15 18:00:57] local.INFO: Packet analysis {"connection_id":133644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 18:00:57] local.INFO: Extracted packet for processing {"connection_id":133644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 18:00:57] local.INFO: GPS Element Parsed {"raw_longitude":756772992,"raw_latitude":119897232,"longitude_deg":75.6772992,"latitude_deg":11.9897232,"altitude":44,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d1b7080","hex_latitude":"07257c90","is_valid_coordinates":true} 
[2026-07-15 18:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:00:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734201600001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:00:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6202615675224064,"note":"Value kept but may cause issues"} 
[2026-07-15 18:00:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977221004597694464,"note":"Value kept but may cause issues"} 
[2026-07-15 18:00:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:00:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784117976000,"timestamp_ms":1784117976000,"timestamp_seconds":1784117976,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b7dbc0"} 
[2026-07-15 18:00:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:00:57] 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-07-15 18:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":19,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 18:00:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1643,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:00:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:00:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:00:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:00:57] local.INFO: Teltonika packet parsed successfully {"connection_id":133644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:00:57] local.INFO: Passing IMEI to GPS processor {"connection_id":133644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:00:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":133644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:00:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:00:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:00:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:00:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734201600001,"66":5014,"92":206,"28":31744,"24":0,"16":6202615675224064,"45":1977221004597694464},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-15 18:00:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:00:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:00:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734201600001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:00:57] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-15 18:00:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:00:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6202615675224064,"km_value":6202615675224.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:00:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977221004597694464,"description":"Unknown IO ID 45"} 
[2026-07-15 18:00:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734201600001,"power":5014,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977221004597694464}} 
[2026-07-15 18:00:57] local.INFO: DEBUG: GPS processor result {"connection_id":133644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:00:57] local.INFO: GPS data processed {"connection_id":133644,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:00:57] local.INFO: Acknowledgment sent {"connection_id":133644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:01:00] local.INFO: TCP Data received {"connection_id":135005,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:01:00] local.INFO: Processing buffer {"connection_id":135005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:01:00] local.INFO: IMEI packet received {"connection_id":135005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":135005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:01:05] local.INFO: TCP Data received {"connection_id":135005,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:01:05] local.INFO: Processing buffer {"connection_id":135005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:01:05] local.INFO: IMEI packet received {"connection_id":135005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":135005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:01:06] local.INFO: TCP Data received {"connection_id":135005,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c072f8012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c072f8012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:01:06] local.INFO: Processing buffer {"connection_id":135005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c072f8012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:01:06] local.INFO: Packet analysis {"connection_id":135005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c0"} 
[2026-07-15 18:01:06] local.INFO: Extracted packet for processing {"connection_id":135005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c0"} 
[2026-07-15 18:01:06] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734268928001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784118539000,"timestamp_ms":1784118539000,"timestamp_seconds":1784118539,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c072f8"} 
[2026-07-15 18:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 18:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734268928001,"66":25908,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734268928001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:01:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:01:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734268928001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":135005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:01:06] local.INFO: GPS data processed {"connection_id":135005,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:01:06] local.INFO: Acknowledgment sent {"connection_id":135005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:01:28] local.INFO: TCP Data received {"connection_id":133644,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b7dbc0012d1b708007257c90002c000c2f..."} 
[2026-07-15 18:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b7dbc0012d1b708007257c90002c000c2f..."} 
[2026-07-15 18:01:28] local.INFO: Processing buffer {"connection_id":133644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b7dbc0012d1b708007257c90002c000c2f..."} 
[2026-07-15 18:01:28] local.INFO: Packet analysis {"connection_id":133644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 18:01:28] local.INFO: Extracted packet for processing {"connection_id":133644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 18:01:28] local.INFO: GPS Element Parsed {"raw_longitude":756772992,"raw_latitude":119897232,"longitude_deg":75.6772992,"latitude_deg":11.9897232,"altitude":44,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d1b7080","hex_latitude":"07257c90","is_valid_coordinates":true} 
[2026-07-15 18:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734201600001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6202615675224064,"note":"Value kept but may cause issues"} 
[2026-07-15 18:01:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977221004597694464,"note":"Value kept but may cause issues"} 
[2026-07-15 18:01:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784117976000,"timestamp_ms":1784117976000,"timestamp_seconds":1784117976,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b7dbc0"} 
[2026-07-15 18:01:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:01:28] 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-07-15 18:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":19,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 18:01:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1643,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:01:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:01:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":133644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":133644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":133644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:01:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734201600001,"66":5014,"92":206,"28":31744,"24":0,"16":6202615675224064,"45":1977221004597694464},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-15 18:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734201600001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:01:28] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-15 18:01:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6202615675224064,"km_value":6202615675224.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977221004597694464,"description":"Unknown IO ID 45"} 
[2026-07-15 18:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734201600001,"power":5014,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977221004597694464}} 
[2026-07-15 18:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":133644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:01:28] local.INFO: GPS data processed {"connection_id":133644,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:01:28] local.INFO: Acknowledgment sent {"connection_id":133644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:01:50] local.INFO: TCP Data received {"connection_id":132612,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:01:50] local.INFO: Processing buffer {"connection_id":132612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:01:50] local.INFO: IMEI packet received {"connection_id":132612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":132612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:01:55] local.INFO: TCP Data received {"connection_id":132612,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:01:55] local.INFO: Processing buffer {"connection_id":132612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:01:55] local.INFO: IMEI packet received {"connection_id":132612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":132612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:01:55] local.INFO: TCP Data received {"connection_id":132792,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:01:55] local.INFO: Processing buffer {"connection_id":132792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:01:55] local.INFO: IMEI packet received {"connection_id":132792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":132792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:01:57] local.INFO: TCP Data received {"connection_id":132612,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65b7dbc0012d1b708007257c90002c000c2f..."} 
[2026-07-15 18:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65b7dbc0012d1b708007257c90002c000c2f..."} 
[2026-07-15 18:01:57] local.INFO: Processing buffer {"connection_id":132612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65b7dbc0012d1b708007257c90002c000c2f..."} 
[2026-07-15 18:01:57] local.INFO: Packet analysis {"connection_id":132612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 18:01:57] local.INFO: Extracted packet for processing {"connection_id":132612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65b7"} 
[2026-07-15 18:01:57] local.INFO: GPS Element Parsed {"raw_longitude":756772992,"raw_latitude":119897232,"longitude_deg":75.6772992,"latitude_deg":11.9897232,"altitude":44,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d1b7080","hex_latitude":"07257c90","is_valid_coordinates":true} 
[2026-07-15 18:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734201600001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:01:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6202615675224064,"note":"Value kept but may cause issues"} 
[2026-07-15 18:01:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977221004597694464,"note":"Value kept but may cause issues"} 
[2026-07-15 18:01:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:01:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784117976000,"timestamp_ms":1784117976000,"timestamp_seconds":1784117976,"priority":1,"record_length":96,"hex_timestamp":"0000019f65b7dbc0"} 
[2026-07-15 18:01:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:01:57] 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-07-15 18:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":19,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 18:01:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1643,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:01:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:01:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:01:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:01:57] local.INFO: Teltonika packet parsed successfully {"connection_id":132612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:01:57] local.INFO: Passing IMEI to GPS processor {"connection_id":132612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:01:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":132612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:01:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:01:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:01:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:01:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734201600001,"66":5014,"92":206,"28":31744,"24":0,"16":6202615675224064,"45":1977221004597694464},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-15 18:01:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:01:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:01:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734201600001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:01:57] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-15 18:01:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:01:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6202615675224064,"km_value":6202615675224.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:01:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977221004597694464,"description":"Unknown IO ID 45"} 
[2026-07-15 18:01:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734201600001,"power":5014,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977221004597694464}} 
[2026-07-15 18:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":132612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:01:57] local.INFO: GPS data processed {"connection_id":132612,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:01:57] local.INFO: Acknowledgment sent {"connection_id":132612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:02:00] local.INFO: TCP Data received {"connection_id":132792,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:02:00] local.INFO: Processing buffer {"connection_id":132792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:02:00] local.INFO: IMEI packet received {"connection_id":132792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":132792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:02:01] local.INFO: TCP Data received {"connection_id":132792,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c072f8012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c072f8012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:02:01] local.INFO: Processing buffer {"connection_id":132792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c072f8012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:02:01] local.INFO: Packet analysis {"connection_id":132792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c0"} 
[2026-07-15 18:02:01] local.INFO: Extracted packet for processing {"connection_id":132792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c0"} 
[2026-07-15 18:02:01] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734268928001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:02:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:02:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784118539000,"timestamp_ms":1784118539000,"timestamp_seconds":1784118539,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c072f8"} 
[2026-07-15 18:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:02:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 18:02:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:02:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":132792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":132792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":132792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:02:01] 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-07-15 18:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734268928001,"66":25908,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734268928001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:02:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:02:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:02:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734268928001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":132792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:02:01] local.INFO: GPS data processed {"connection_id":132792,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:02:01] local.INFO: Acknowledgment sent {"connection_id":132792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:02:07] local.INFO: TCP Data received {"connection_id":132792,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c072f8012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c072f8012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:02:07] local.INFO: Processing buffer {"connection_id":132792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c072f8012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:02:07] local.INFO: Packet analysis {"connection_id":132792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c0"} 
[2026-07-15 18:02:07] local.INFO: Extracted packet for processing {"connection_id":132792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c0"} 
[2026-07-15 18:02:07] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734268928001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784118539000,"timestamp_ms":1784118539000,"timestamp_seconds":1784118539,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c072f8"} 
[2026-07-15 18:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 18:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:02:07] 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-07-15 18:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734268928001,"66":25908,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734268928001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:02:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:02:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734268928001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":132792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:02:07] local.INFO: GPS data processed {"connection_id":132792,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:02:07] local.INFO: Acknowledgment sent {"connection_id":132792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:02:28] local.INFO: TCP Data received {"connection_id":132612,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c30720012d1b7480072589680028000c2e..."} 
[2026-07-15 18:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c30720012d1b7480072589680028000c2e..."} 
[2026-07-15 18:02:28] local.INFO: Processing buffer {"connection_id":132612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c30720012d1b7480072589680028000c2e..."} 
[2026-07-15 18:02:28] local.INFO: Packet analysis {"connection_id":132612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c3"} 
[2026-07-15 18:02:28] local.INFO: Extracted packet for processing {"connection_id":132612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c3"} 
[2026-07-15 18:02:28] local.INFO: GPS Element Parsed {"raw_longitude":756774016,"raw_latitude":119900520,"longitude_deg":75.6774016,"latitude_deg":11.990052,"altitude":40,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d1b7480","hex_latitude":"07258968","is_valid_coordinates":true} 
[2026-07-15 18:02:28] 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-07-15 18:02:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734201856001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:02:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6202615675224064,"note":"Value kept but may cause issues"} 
[2026-07-15 18:02:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977221004597694464,"note":"Value kept but may cause issues"} 
[2026-07-15 18:02:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:02:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784118708000,"timestamp_ms":1784118708000,"timestamp_seconds":1784118708,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c30720"} 
[2026-07-15 18:02:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:02:28] 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-07-15 18:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":19,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 18:02:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1643,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:02:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:02:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:02:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:02:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:02:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:02:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:02:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:02:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:02:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:02:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734201856001,"66":2166,"92":206,"28":31744,"24":0,"16":6202615675224064,"45":1977221004597694464},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-15 18:02:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:02:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:02:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734201856001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:02:28] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-15 18:02:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:02:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6202615675224064,"km_value":6202615675224.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:02:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977221004597694464,"description":"Unknown IO ID 45"} 
[2026-07-15 18:02:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734201856001,"power":2166,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977221004597694464}} 
[2026-07-15 18:02:28] local.INFO: DEBUG: GPS processor result {"connection_id":132612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:02:28] local.INFO: GPS data processed {"connection_id":132612,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:02:28] local.INFO: Acknowledgment sent {"connection_id":132612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:02:39] local.INFO: TCP Data received {"connection_id":132792,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c072f8012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c072f8012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:02:39] local.INFO: Processing buffer {"connection_id":132792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c072f8012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:02:39] local.INFO: Packet analysis {"connection_id":132792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c0"} 
[2026-07-15 18:02:39] local.INFO: Extracted packet for processing {"connection_id":132792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c0"} 
[2026-07-15 18:02:39] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734268928001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784118539000,"timestamp_ms":1784118539000,"timestamp_seconds":1784118539,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c072f8"} 
[2026-07-15 18:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:02:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 18:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18: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-07-15 18:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:02: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-07-15 18:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734268928001,"66":25908,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734268928001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:02:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:02:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734268928001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":132792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:02:39] local.INFO: GPS data processed {"connection_id":132792,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:02:39] local.INFO: Acknowledgment sent {"connection_id":132792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:02:51] local.INFO: TCP Data received {"connection_id":132614,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:02:51] local.INFO: Processing buffer {"connection_id":132614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:02:51] local.INFO: IMEI packet received {"connection_id":132614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":132614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:02:55] local.INFO: TCP Data received {"connection_id":132614,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:02:55] local.INFO: Processing buffer {"connection_id":132614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:02:55] local.INFO: IMEI packet received {"connection_id":132614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":132614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:03:00] local.INFO: TCP Data received {"connection_id":132614,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:03:00] local.INFO: Processing buffer {"connection_id":132614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:03:00] local.INFO: IMEI packet received {"connection_id":132614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":132614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:03:00] local.INFO: TCP Data received {"connection_id":133646,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:03:00] local.INFO: Processing buffer {"connection_id":133646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:03:00] local.INFO: IMEI packet received {"connection_id":133646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":133646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:03:02] local.INFO: TCP Data received {"connection_id":132614,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c30720012d1b7480072589680028000c2e..."} 
[2026-07-15 18:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c30720012d1b7480072589680028000c2e..."} 
[2026-07-15 18:03:02] local.INFO: Processing buffer {"connection_id":132614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c30720012d1b7480072589680028000c2e..."} 
[2026-07-15 18:03:02] local.INFO: Packet analysis {"connection_id":132614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c3"} 
[2026-07-15 18:03:02] local.INFO: Extracted packet for processing {"connection_id":132614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c3"} 
[2026-07-15 18:03:02] local.INFO: GPS Element Parsed {"raw_longitude":756774016,"raw_latitude":119900520,"longitude_deg":75.6774016,"latitude_deg":11.990052,"altitude":40,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d1b7480","hex_latitude":"07258968","is_valid_coordinates":true} 
[2026-07-15 18:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734389248001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6202615675224064,"note":"Value kept but may cause issues"} 
[2026-07-15 18:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978346904505378816,"note":"Value kept but may cause issues"} 
[2026-07-15 18:03:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784118708000,"timestamp_ms":1784118708000,"timestamp_seconds":1784118708,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c30720"} 
[2026-07-15 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-07-15 18:03:02] 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-07-15 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 18:03: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-07-15 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-07-15 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-07-15 18:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":132614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":132614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":132614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734389248001,"66":2166,"92":206,"28":31744,"24":0,"16":6202615675224064,"45":1978346904505378816},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-15 18:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734389248001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:03:02] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-15 18:03:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6202615675224064,"km_value":6202615675224.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978346904505378816,"description":"Unknown IO ID 45"} 
[2026-07-15 18:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734389248001,"power":2166,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1978346904505378816}} 
[2026-07-15 18:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":132614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:03:02] local.INFO: GPS data processed {"connection_id":132614,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:03:02] local.INFO: Acknowledgment sent {"connection_id":132614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:03:05] local.INFO: TCP Data received {"connection_id":133646,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:03:05] local.INFO: Processing buffer {"connection_id":133646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:03:05] local.INFO: IMEI packet received {"connection_id":133646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":133646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:03:06] local.INFO: TCP Data received {"connection_id":133646,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c072f8012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c072f8012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:03:06] local.INFO: Processing buffer {"connection_id":133646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c072f8012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:03:06] local.INFO: Packet analysis {"connection_id":133646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c0"} 
[2026-07-15 18:03:06] local.INFO: Extracted packet for processing {"connection_id":133646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c0"} 
[2026-07-15 18:03:06] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734268928001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784118539000,"timestamp_ms":1784118539000,"timestamp_seconds":1784118539,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c072f8"} 
[2026-07-15 18:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 18:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:03:06] 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-07-15 18:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734268928001,"66":25908,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734268928001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:03:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:03:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734268928001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":133646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:03:06] local.INFO: GPS data processed {"connection_id":133646,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:03:06] local.INFO: Acknowledgment sent {"connection_id":133646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:03:06] local.INFO: TCP Data received {"connection_id":132614,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c30720012d1b7480072589680028000c2e..."} 
[2026-07-15 18:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c30720012d1b7480072589680028000c2e..."} 
[2026-07-15 18:03:06] local.INFO: Processing buffer {"connection_id":132614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c30720012d1b7480072589680028000c2e..."} 
[2026-07-15 18:03:06] local.INFO: Packet analysis {"connection_id":132614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c3"} 
[2026-07-15 18:03:06] local.INFO: Extracted packet for processing {"connection_id":132614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c3"} 
[2026-07-15 18:03:06] local.INFO: GPS Element Parsed {"raw_longitude":756774016,"raw_latitude":119900520,"longitude_deg":75.6774016,"latitude_deg":11.990052,"altitude":40,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d1b7480","hex_latitude":"07258968","is_valid_coordinates":true} 
[2026-07-15 18:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734389248001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6202615675224064,"note":"Value kept but may cause issues"} 
[2026-07-15 18:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978346904505378816,"note":"Value kept but may cause issues"} 
[2026-07-15 18:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784118708000,"timestamp_ms":1784118708000,"timestamp_seconds":1784118708,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c30720"} 
[2026-07-15 18:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 18:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734389248001,"66":2166,"92":206,"28":31744,"24":0,"16":6202615675224064,"45":1978346904505378816},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-15 18:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734389248001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:03:06] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-15 18:03:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6202615675224064,"km_value":6202615675224.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978346904505378816,"description":"Unknown IO ID 45"} 
[2026-07-15 18:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734389248001,"power":2166,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1978346904505378816}} 
[2026-07-15 18:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":132614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:03:06] local.INFO: GPS data processed {"connection_id":132614,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:03:06] local.INFO: Acknowledgment sent {"connection_id":132614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:03:37] local.INFO: TCP Data received {"connection_id":133646,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c072f8012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c072f8012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:03:37] local.INFO: Processing buffer {"connection_id":133646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c072f8012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:03:37] local.INFO: Packet analysis {"connection_id":133646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c0"} 
[2026-07-15 18:03:37] local.INFO: Extracted packet for processing {"connection_id":133646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c0"} 
[2026-07-15 18:03:37] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734268928001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784118539000,"timestamp_ms":1784118539000,"timestamp_seconds":1784118539,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c072f8"} 
[2026-07-15 18:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 18:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734268928001,"66":25908,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734268928001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:03:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:03:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734268928001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":133646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:03:37] local.INFO: GPS data processed {"connection_id":133646,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:03:37] local.INFO: Acknowledgment sent {"connection_id":133646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:03:49] local.INFO: TCP Data received {"connection_id":132794,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:03:49] local.INFO: Processing buffer {"connection_id":132794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:03:49] local.INFO: IMEI packet received {"connection_id":132794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":132794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:03:50] local.INFO: TCP Data received {"connection_id":132794,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:03:50] local.INFO: Processing buffer {"connection_id":132794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:03:50] local.INFO: IMEI packet received {"connection_id":132794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":132794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:03:55] local.INFO: TCP Data received {"connection_id":132794,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:03:55] local.INFO: Processing buffer {"connection_id":132794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:03:55] local.INFO: IMEI packet received {"connection_id":132794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":132794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:03:57] local.INFO: TCP Data received {"connection_id":132794,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c368c8012d1b774007258a00002800062d..."} 
[2026-07-15 18:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c368c8012d1b774007258a00002800062d..."} 
[2026-07-15 18:03:57] local.INFO: Processing buffer {"connection_id":132794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c368c8012d1b774007258a00002800062d..."} 
[2026-07-15 18:03:57] local.INFO: Packet analysis {"connection_id":132794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c3"} 
[2026-07-15 18:03:57] local.INFO: Extracted packet for processing {"connection_id":132794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c3"} 
[2026-07-15 18:03:57] local.INFO: GPS Element Parsed {"raw_longitude":756774720,"raw_latitude":119900672,"longitude_deg":75.677472,"latitude_deg":11.9900672,"altitude":40,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d1b7740","hex_latitude":"07258a00","is_valid_coordinates":true} 
[2026-07-15 18:03: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-07-15 18:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734389248001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:03:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6202615675224064,"note":"Value kept but may cause issues"} 
[2026-07-15 18:03:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978346904505378816,"note":"Value kept but may cause issues"} 
[2026-07-15 18:03:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:03:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784118733000,"timestamp_ms":1784118733000,"timestamp_seconds":1784118733,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c368c8"} 
[2026-07-15 18:03:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:03:57] 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-07-15 18:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 18:03:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:03: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-07-15 18:03:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:03:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:03:57] local.INFO: Teltonika packet parsed successfully {"connection_id":132794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:03:57] local.INFO: Passing IMEI to GPS processor {"connection_id":132794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:03:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":132794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:03:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:03:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:03:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:03:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734389248001,"66":14135,"92":206,"28":31744,"24":0,"16":6202615675224064,"45":1978346904505378816},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-15 18:03:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:03:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:03:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734389248001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:03:57] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-15 18:03:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:03:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6202615675224064,"km_value":6202615675224.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:03:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978346904505378816,"description":"Unknown IO ID 45"} 
[2026-07-15 18:03:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734389248001,"power":14135,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1978346904505378816}} 
[2026-07-15 18:03:57] local.INFO: DEBUG: GPS processor result {"connection_id":132794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:03:57] local.INFO: GPS data processed {"connection_id":132794,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:03:57] local.INFO: Acknowledgment sent {"connection_id":132794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:04:00] local.INFO: TCP Data received {"connection_id":132615,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:04:00] local.INFO: Processing buffer {"connection_id":132615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:04:00] local.INFO: IMEI packet received {"connection_id":132615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":132615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:04:04] local.INFO: TCP Data received {"connection_id":133648,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133648,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:04:04] local.INFO: Processing buffer {"connection_id":133648,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:04:04] local.INFO: IMEI packet received {"connection_id":133648,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 18:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":133648,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:04:05] local.INFO: TCP Data received {"connection_id":133648,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c48dc0012d81120005d1e7980005000926..."} 
[2026-07-15 18:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c48dc0012d81120005d1e7980005000926..."} 
[2026-07-15 18:04:05] local.INFO: Processing buffer {"connection_id":133648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c48dc0012d81120005d1e7980005000926..."} 
[2026-07-15 18:04:05] local.INFO: Packet analysis {"connection_id":133648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c4"} 
[2026-07-15 18:04:05] local.INFO: Extracted packet for processing {"connection_id":133648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c4"} 
[2026-07-15 18:04:05] local.INFO: GPS Element Parsed {"raw_longitude":763433472,"raw_latitude":97642392,"longitude_deg":76.3433472,"latitude_deg":9.7642392,"altitude":5,"angle":9,"satellites":38,"speed":35,"hex_longitude":"2d811200","hex_latitude":"05d1e798","is_valid_coordinates":true} 
[2026-07-15 18:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734413824001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106717791138086912,"note":"Value kept but may cause issues"} 
[2026-07-15 18:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9146599711961360384,"note":"Value kept but may cause issues"} 
[2026-07-15 18:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784118808000,"timestamp_ms":1784118808000,"timestamp_seconds":1784118808,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c48dc0"} 
[2026-07-15 18:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-15 18:04:05] 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-07-15 18:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":133648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":133648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":133648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 18:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 18:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734413824001,"66":12885,"65":206,"85":15104,"24":35,"16":106717791138086912,"45":-9146599711961360384},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-07-15 18:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 18:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 18:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734413824001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:04:05] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-07-15 18:04:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 18:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106717791138086912,"km_value":106717791138086.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9146599711961360384,"description":"Unknown IO ID 45"} 
[2026-07-15 18:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734413824001,"power":12885,"unknown_65":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9146599711961360384}} 
[2026-07-15 18:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":133648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492228,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:04:05] local.INFO: GPS data processed {"connection_id":133648,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:04:05] local.INFO: Acknowledgment sent {"connection_id":133648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:04:05] local.INFO: TCP Data received {"connection_id":132615,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:04:05] local.INFO: Processing buffer {"connection_id":132615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:04:05] local.INFO: IMEI packet received {"connection_id":132615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":132615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:04:06] local.INFO: TCP Data received {"connection_id":132615,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c072f8012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c072f8012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:04:06] local.INFO: Processing buffer {"connection_id":132615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c072f8012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:04:06] local.INFO: Packet analysis {"connection_id":132615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c0"} 
[2026-07-15 18:04:06] local.INFO: Extracted packet for processing {"connection_id":132615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c0"} 
[2026-07-15 18:04:06] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734268928001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784118539000,"timestamp_ms":1784118539000,"timestamp_seconds":1784118539,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c072f8"} 
[2026-07-15 18:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 18:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:04:06] 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-07-15 18:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734268928001,"66":25908,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734268928001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:04:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:04:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734268928001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":132615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:04:06] local.INFO: GPS data processed {"connection_id":132615,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:04:06] local.INFO: Acknowledgment sent {"connection_id":132615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:04:29] local.INFO: TCP Data received {"connection_id":132794,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c3bad0012d1b774007258a00002800062f..."} 
[2026-07-15 18:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c3bad0012d1b774007258a00002800062f..."} 
[2026-07-15 18:04:29] local.INFO: Processing buffer {"connection_id":132794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c3bad0012d1b774007258a00002800062f..."} 
[2026-07-15 18:04:29] local.INFO: Packet analysis {"connection_id":132794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c3"} 
[2026-07-15 18:04:29] local.INFO: Extracted packet for processing {"connection_id":132794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c3"} 
[2026-07-15 18:04:29] local.INFO: GPS Element Parsed {"raw_longitude":756774720,"raw_latitude":119900672,"longitude_deg":75.677472,"latitude_deg":11.9900672,"altitude":40,"angle":6,"satellites":47,"speed":0,"hex_longitude":"2d1b7740","hex_latitude":"07258a00","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734395648001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6202615675224064,"note":"Value kept but may cause issues"} 
[2026-07-15 18:04:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979120960691372032,"note":"Value kept but may cause issues"} 
[2026-07-15 18:04:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784118754000,"timestamp_ms":1784118754000,"timestamp_seconds":1784118754,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c3bad0"} 
[2026-07-15 18:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:04:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-15 18:04:29] 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-07-15 18: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-07-15 18:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":132794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":132794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":132794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:04:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734395648001,"66":14233,"92":206,"28":31744,"24":0,"16":6202615675224064,"45":1979120960691372032},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-15 18:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734395648001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:04:29] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-15 18:04:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6202615675224064,"km_value":6202615675224.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:04:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979120960691372032,"description":"Unknown IO ID 45"} 
[2026-07-15 18:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734395648001,"power":14233,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979120960691372032}} 
[2026-07-15 18:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":132794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492230,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:04:29] local.INFO: GPS data processed {"connection_id":132794,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:04:29] local.INFO: Acknowledgment sent {"connection_id":132794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:04:36] local.INFO: TCP Data received {"connection_id":133648,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c4b0e8012d81160005d207b00006016627..."} 
[2026-07-15 18:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c4b0e8012d81160005d207b00006016627..."} 
[2026-07-15 18:04:36] local.INFO: Processing buffer {"connection_id":133648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c4b0e8012d81160005d207b00006016627..."} 
[2026-07-15 18:04:36] local.INFO: Packet analysis {"connection_id":133648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c4"} 
[2026-07-15 18:04:36] local.INFO: Extracted packet for processing {"connection_id":133648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c4"} 
[2026-07-15 18:04:36] local.INFO: GPS Element Parsed {"raw_longitude":763434496,"raw_latitude":97650608,"longitude_deg":76.3434496,"latitude_deg":9.7650608,"altitude":6,"angle":358,"satellites":39,"speed":33,"hex_longitude":"2d811600","hex_latitude":"05d207b0","is_valid_coordinates":true} 
[2026-07-15 18:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734414848001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106718190570045440,"note":"Value kept but may cause issues"} 
[2026-07-15 18:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9146247868239603712,"note":"Value kept but may cause issues"} 
[2026-07-15 18:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784118817000,"timestamp_ms":1784118817000,"timestamp_seconds":1784118817,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c4b0e8"} 
[2026-07-15 18:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-15 18:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":133648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":133648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":133648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 18:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 18:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734414848001,"66":13037,"65":206,"85":15104,"24":33,"16":106718190570045440,"45":-9146247868239603712},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-07-15 18:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 18:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 18:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734414848001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:04:36] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-07-15 18:04:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 18:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106718190570045440,"km_value":106718190570045.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9146247868239603712,"description":"Unknown IO ID 45"} 
[2026-07-15 18:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734414848001,"power":13037,"unknown_65":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9146247868239603712}} 
[2026-07-15 18:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":133648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492231,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:04:36] local.INFO: GPS data processed {"connection_id":133648,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:04:36] local.INFO: Acknowledgment sent {"connection_id":133648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:04:37] local.INFO: TCP Data received {"connection_id":132615,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c072f8012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c072f8012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:04:37] local.INFO: Processing buffer {"connection_id":132615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c072f8012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:04:37] local.INFO: Packet analysis {"connection_id":132615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c0"} 
[2026-07-15 18:04:37] local.INFO: Extracted packet for processing {"connection_id":132615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c0"} 
[2026-07-15 18:04:37] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734268928001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784118539000,"timestamp_ms":1784118539000,"timestamp_seconds":1784118539,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c072f8"} 
[2026-07-15 18:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 18:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734268928001,"66":25908,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734268928001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:04:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:04:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734268928001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":132615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:04:37] local.INFO: GPS data processed {"connection_id":132615,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:04:37] local.INFO: Acknowledgment sent {"connection_id":132615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:04:50] local.INFO: TCP Data received {"connection_id":132616,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:04:50] local.INFO: Processing buffer {"connection_id":132616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:04:50] local.INFO: IMEI packet received {"connection_id":132616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":132616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:04:52] local.INFO: TCP Data received {"connection_id":132616,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:04:52] local.INFO: Processing buffer {"connection_id":132616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:04:52] local.INFO: IMEI packet received {"connection_id":132616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":132616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:04:56] local.INFO: TCP Data received {"connection_id":132616,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:04:56] local.INFO: Processing buffer {"connection_id":132616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:04:56] local.INFO: IMEI packet received {"connection_id":132616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":132616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:04:57] local.INFO: TCP Data received {"connection_id":132616,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c4ff08012d1b5c00072516c0002400bf28..."} 
[2026-07-15 18:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c4ff08012d1b5c00072516c0002400bf28..."} 
[2026-07-15 18:04:57] local.INFO: Processing buffer {"connection_id":132616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c4ff08012d1b5c00072516c0002400bf28..."} 
[2026-07-15 18:04:57] local.INFO: Packet analysis {"connection_id":132616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c4"} 
[2026-07-15 18:04:57] local.INFO: Extracted packet for processing {"connection_id":132616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c4"} 
[2026-07-15 18:04:57] local.INFO: GPS Element Parsed {"raw_longitude":756767744,"raw_latitude":119871168,"longitude_deg":75.6767744,"latitude_deg":11.9871168,"altitude":36,"angle":191,"satellites":40,"speed":37,"hex_longitude":"2d1b5c00","hex_latitude":"072516c0","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:04:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734418688001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:04:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6204170453385216,"note":"Value kept but may cause issues"} 
[2026-07-15 18:04:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973843304872740864,"note":"Value kept but may cause issues"} 
[2026-07-15 18:04:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:04:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784118837000,"timestamp_ms":1784118837000,"timestamp_seconds":1784118837,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c4ff08"} 
[2026-07-15 18:04:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:04: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-07-15 18: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-15 18:04:57] 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-07-15 18: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-07-15 18:04:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:04:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:04:57] local.INFO: Teltonika packet parsed successfully {"connection_id":132616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:04:57] local.INFO: Passing IMEI to GPS processor {"connection_id":132616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:04:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":132616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:04:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:04:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:04:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:04:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734418688001,"66":14298,"91":206,"28":31744,"24":37,"16":6204170453385216,"45":1973843304872740864},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-07-15 18:04:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:04:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:04:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734418688001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:04:57] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-15 18:04:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:04:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6204170453385216,"km_value":6204170453385.216,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:04:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973843304872740864,"description":"Unknown IO ID 45"} 
[2026-07-15 18:04:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734418688001,"power":14298,"unknown_91":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1973843304872740864}} 
[2026-07-15 18:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":132616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:04:57] local.INFO: GPS data processed {"connection_id":132616,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:04:57] local.INFO: Acknowledgment sent {"connection_id":132616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:04:59] local.INFO: TCP Data received {"connection_id":132795,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132795,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:04:59] local.INFO: Processing buffer {"connection_id":132795,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:04:59] local.INFO: IMEI packet received {"connection_id":132795,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 18:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":132795,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:05:00] local.INFO: TCP Data received {"connection_id":132795,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132795,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:05:00] local.INFO: Processing buffer {"connection_id":132795,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:05:00] local.INFO: IMEI packet received {"connection_id":132795,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 18:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":132795,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:05:00] local.INFO: TCP Data received {"connection_id":135008,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:05:00] local.INFO: Processing buffer {"connection_id":135008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:05:00] local.INFO: IMEI packet received {"connection_id":135008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":135008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:05:01] local.INFO: TCP Data received {"connection_id":135007,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135007,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:05:01] local.INFO: Processing buffer {"connection_id":135007,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:05:01] local.INFO: IMEI packet received {"connection_id":135007,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 18:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":135007,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:05:04] local.INFO: TCP Data received {"connection_id":132795,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132795,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:05:04] local.INFO: Processing buffer {"connection_id":132795,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:05:04] local.INFO: IMEI packet received {"connection_id":132795,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 18:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":132795,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:05:05] local.INFO: TCP Data received {"connection_id":132795,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c5c258012d81124005d26c40000101172a..."} 
[2026-07-15 18:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c5c258012d81124005d26c40000101172a..."} 
[2026-07-15 18:05:05] local.INFO: Processing buffer {"connection_id":132795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c5c258012d81124005d26c40000101172a..."} 
[2026-07-15 18:05:05] local.INFO: Packet analysis {"connection_id":132795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c5"} 
[2026-07-15 18:05:05] local.INFO: Extracted packet for processing {"connection_id":132795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c5"} 
[2026-07-15 18:05:05] local.INFO: GPS Element Parsed {"raw_longitude":763433536,"raw_latitude":97676352,"longitude_deg":76.3433536,"latitude_deg":9.7676352,"altitude":1,"angle":279,"satellites":42,"speed":22,"hex_longitude":"2d811240","hex_latitude":"05d26c40","is_valid_coordinates":true} 
[2026-07-15 18:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734434816001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106719522009907200,"note":"Value kept but may cause issues"} 
[2026-07-15 18:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9145544180789155840,"note":"Value kept but may cause issues"} 
[2026-07-15 18:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784118887000,"timestamp_ms":1784118887000,"timestamp_seconds":1784118887,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c5c258"} 
[2026-07-15 18:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-07-15 18:05:05] 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-07-15 18:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 18:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 18:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734434816001,"66":13037,"208":206,"85":15104,"24":22,"16":106719522009907200,"45":-9145544180789155840},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-15 18:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 18:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 18:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734434816001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:05:05] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-15 18:05:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 18:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106719522009907200,"km_value":106719522009907.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9145544180789155840,"description":"Unknown IO ID 45"} 
[2026-07-15 18:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734434816001,"power":13037,"unknown_208":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9145544180789155840}} 
[2026-07-15 18:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":132795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492234,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:05:05] local.INFO: GPS data processed {"connection_id":132795,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:05:05] local.INFO: Acknowledgment sent {"connection_id":132795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:05:05] local.INFO: TCP Data received {"connection_id":135008,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:05:05] local.INFO: Processing buffer {"connection_id":135008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:05:05] local.INFO: IMEI packet received {"connection_id":135008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":135008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:05:06] local.INFO: TCP Data received {"connection_id":135008,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c50ac0012d7f97c005afda580002006c28..."} 
[2026-07-15 18:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c50ac0012d7f97c005afda580002006c28..."} 
[2026-07-15 18:05:06] local.INFO: Processing buffer {"connection_id":135008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c50ac0012d7f97c005afda580002006c28..."} 
[2026-07-15 18:05:06] local.INFO: Packet analysis {"connection_id":135008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c5"} 
[2026-07-15 18:05:06] local.INFO: Extracted packet for processing {"connection_id":135008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c5"} 
[2026-07-15 18:05:06] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734345984001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784118840000,"timestamp_ms":1784118840000,"timestamp_seconds":1784118840,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c50ac0"} 
[2026-07-15 18:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-15 18:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:05:06] 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-07-15 18:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734345984001,"66":25875,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734345984001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:05:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:05:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734345984001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":135008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:05:06] local.INFO: GPS data processed {"connection_id":135008,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:05:06] local.INFO: Acknowledgment sent {"connection_id":135008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:05:29] local.INFO: TCP Data received {"connection_id":132616,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c51a60012d1b58400724ff38002300b227..."} 
[2026-07-15 18:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c51a60012d1b58400724ff38002300b227..."} 
[2026-07-15 18:05:29] local.INFO: Processing buffer {"connection_id":132616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c51a60012d1b58400724ff38002300b227..."} 
[2026-07-15 18:05:29] local.INFO: Packet analysis {"connection_id":132616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c5"} 
[2026-07-15 18:05:29] local.INFO: Extracted packet for processing {"connection_id":132616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c5"} 
[2026-07-15 18:05:29] local.INFO: GPS Element Parsed {"raw_longitude":756766784,"raw_latitude":119865144,"longitude_deg":75.6766784,"latitude_deg":11.9865144,"altitude":35,"angle":178,"satellites":39,"speed":29,"hex_longitude":"2d1b5840","hex_latitude":"0724ff38","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734422272001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6204466806128640,"note":"Value kept but may cause issues"} 
[2026-07-15 18:05:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971450767568453632,"note":"Value kept but may cause issues"} 
[2026-07-15 18:05:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784118844000,"timestamp_ms":1784118844000,"timestamp_seconds":1784118844,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c51a60"} 
[2026-07-15 18:05:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:05: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-07-15 18: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-15 18:05:29] 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-07-15 18: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-07-15 18:05:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":132616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":132616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":132616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:05:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734422272001,"66":14341,"91":206,"28":31744,"24":29,"16":6204466806128640,"45":1971450767568453632},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-07-15 18:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734422272001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:05:29] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-15 18:05:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6204466806128640,"km_value":6204466806128.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:05:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971450767568453632,"description":"Unknown IO ID 45"} 
[2026-07-15 18:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734422272001,"power":14341,"unknown_91":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1971450767568453632}} 
[2026-07-15 18:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":132616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:05:29] local.INFO: GPS data processed {"connection_id":132616,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:05:29] local.INFO: Acknowledgment sent {"connection_id":132616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:05:34] local.INFO: TCP Data received {"connection_id":132796,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132796,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:05:34] local.INFO: Processing buffer {"connection_id":132796,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:05:34] local.INFO: IMEI packet received {"connection_id":132796,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 18:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":132796,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:05:36] local.INFO: TCP Data received {"connection_id":132795,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c66e38012d80cd0005d2b5c80000012a29..."} 
[2026-07-15 18:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c66e38012d80cd0005d2b5c80000012a29..."} 
[2026-07-15 18:05:36] local.INFO: Processing buffer {"connection_id":132795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c66e38012d80cd0005d2b5c80000012a29..."} 
[2026-07-15 18:05:36] local.INFO: Packet analysis {"connection_id":132795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c6"} 
[2026-07-15 18:05:36] local.INFO: Extracted packet for processing {"connection_id":132795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c6"} 
[2026-07-15 18:05:36] local.INFO: GPS Element Parsed {"raw_longitude":763415808,"raw_latitude":97695176,"longitude_deg":76.3415808,"latitude_deg":9.7695176,"altitude":0,"angle":298,"satellites":41,"speed":19,"hex_longitude":"2d80cd00","hex_latitude":"05d2b5c8","is_valid_coordinates":true} 
[2026-07-15 18:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734444032001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106720982298787840,"note":"Value kept but may cause issues"} 
[2026-07-15 18:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9158703135945820160,"note":"Value kept but may cause issues"} 
[2026-07-15 18:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784118931000,"timestamp_ms":1784118931000,"timestamp_seconds":1784118931,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c66e38"} 
[2026-07-15 18:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-15 18:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 18:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 18:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734444032001,"66":12906,"208":206,"85":15104,"24":19,"16":106720982298787840,"45":-9158703135945820160},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-15 18:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 18:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 18:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734444032001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:05:36] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-15 18:05:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 18:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106720982298787840,"km_value":106720982298787.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9158703135945820160,"description":"Unknown IO ID 45"} 
[2026-07-15 18:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734444032001,"power":12906,"unknown_208":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":-9158703135945820160}} 
[2026-07-15 18:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":132795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492237,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:05:36] local.INFO: GPS data processed {"connection_id":132795,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:05:36] local.INFO: Acknowledgment sent {"connection_id":132795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:05:37] local.INFO: TCP Data received {"connection_id":135008,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c50ac0012d7f97c005afda580002006c28..."} 
[2026-07-15 18:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c50ac0012d7f97c005afda580002006c28..."} 
[2026-07-15 18:05:37] local.INFO: Processing buffer {"connection_id":135008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c50ac0012d7f97c005afda580002006c28..."} 
[2026-07-15 18:05:37] local.INFO: Packet analysis {"connection_id":135008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c5"} 
[2026-07-15 18:05:37] local.INFO: Extracted packet for processing {"connection_id":135008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c5"} 
[2026-07-15 18:05:37] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734345984001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784118840000,"timestamp_ms":1784118840000,"timestamp_seconds":1784118840,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c50ac0"} 
[2026-07-15 18:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-15 18:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":135008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":135008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":135008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734345984001,"66":25875,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734345984001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:05:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:05:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734345984001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":135008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:05:37] local.INFO: GPS data processed {"connection_id":135008,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:05:37] local.INFO: Acknowledgment sent {"connection_id":135008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:05:50] local.INFO: TCP Data received {"connection_id":133649,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:05:50] local.INFO: Processing buffer {"connection_id":133649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:05:50] local.INFO: IMEI packet received {"connection_id":133649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":133649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:05:55] local.INFO: TCP Data received {"connection_id":133649,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:05:55] local.INFO: Processing buffer {"connection_id":133649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:05:55] local.INFO: IMEI packet received {"connection_id":133649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":133649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:05:57] local.INFO: TCP Data received {"connection_id":133649,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c54170012d1b5c000724dbf8002300b528..."} 
[2026-07-15 18:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c54170012d1b5c000724dbf8002300b528..."} 
[2026-07-15 18:05:57] local.INFO: Processing buffer {"connection_id":133649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c54170012d1b5c000724dbf8002300b528..."} 
[2026-07-15 18:05:57] local.INFO: Packet analysis {"connection_id":133649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c5"} 
[2026-07-15 18:05:57] local.INFO: Extracted packet for processing {"connection_id":133649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c5"} 
[2026-07-15 18:05:57] local.INFO: GPS Element Parsed {"raw_longitude":756767744,"raw_latitude":119856120,"longitude_deg":75.6767744,"latitude_deg":11.985612,"altitude":35,"angle":181,"satellites":40,"speed":40,"hex_longitude":"2d1b5c00","hex_latitude":"0724dbf8","is_valid_coordinates":true} 
[2026-07-15 18:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734424064001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6204904892792832,"note":"Value kept but may cause issues"} 
[2026-07-15 18:05:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970395236404246528,"note":"Value kept but may cause issues"} 
[2026-07-15 18:05:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784118854000,"timestamp_ms":1784118854000,"timestamp_seconds":1784118854,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c54170"} 
[2026-07-15 18:05:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:05: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-07-15 18:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-15 18:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6969213921,"note":"Value kept but may cause issues"} 
[2026-07-15 18:05:57] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503694272823296,"note":"Value kept but may cause issues"} 
[2026-07-15 18:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3221302555,"note":"Value kept but may cause issues"} 
[2026-07-15 18:05:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":22529,"corrected_to":0} 
[2026-07-15 18:05:57] local.WARNING: Large IO value detected {"io_id":101,"raw_value":3293272065,"note":"Value kept but may cause issues"} 
[2026-07-15 18:05:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3881500878,"corrected_to":0} 
[2026-07-15 18:05:57] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2298531303,"note":"Value kept but may cause issues"} 
[2026-07-15 18:05:57] local.WARNING: Large IO value detected {"io_id":224,"raw_value":84754170200401291,"note":"Value kept but may cause issues"} 
[2026-07-15 18:05:57] local.WARNING: Large IO value detected {"io_id":88,"raw_value":10978323760941568,"note":"Value kept but may cause issues"} 
[2026-07-15 18:05:57] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,91,28,24,241,158,16,10,159,255,45,22,36,40,66,200,128,57,35,42,141,192,1,240,185,101,37,4,113,205,7,111,216,46,239,54,2,39,15,206,224,88],"length":529,"final_offset":659,"validated_count":42,"validation_warnings":[{"io_id":200,"original":22529,"validated":0},{"io_id":205,"original":3881500878,"validated":0}]} 
[2026-07-15 18:05:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2522211671902846976,"timestamp_seconds":2522211671902847.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 18:05:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":133649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":133649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":133649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:05:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734424064001,"66":14070,"91":206,"28":31744,"24":40,"16":6204904892792832,"45":1970395236404246528},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-07-15 18:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734424064001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:05:57] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-15 18:05:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6204904892792832,"km_value":6204904892792.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:05:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970395236404246528,"description":"Unknown IO ID 45"} 
[2026-07-15 18:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734424064001,"power":14070,"unknown_91":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1970395236404246528}} 
[2026-07-15 18:05:57] local.INFO: DEBUG: GPS processor result {"connection_id":133649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:05:57] local.INFO: GPS data processed {"connection_id":133649,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:05:57] local.INFO: Acknowledgment sent {"connection_id":133649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:06:00] local.INFO: TCP Data received {"connection_id":135010,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:06:00] local.INFO: Processing buffer {"connection_id":135010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:06:00] local.INFO: IMEI packet received {"connection_id":135010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":135010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:06:03] local.INFO: TCP Data received {"connection_id":135009,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135009,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:06:03] local.INFO: Processing buffer {"connection_id":135009,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:06:03] local.INFO: IMEI packet received {"connection_id":135009,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 18:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":135009,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:06:04] local.INFO: TCP Data received {"connection_id":135009,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135009,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:06:04] local.INFO: Processing buffer {"connection_id":135009,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:06:04] local.INFO: IMEI packet received {"connection_id":135009,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 18:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":135009,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:06:05] local.INFO: TCP Data received {"connection_id":135010,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:06:05] local.INFO: Processing buffer {"connection_id":135010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:06:05] local.INFO: IMEI packet received {"connection_id":135010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":135010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:06:06] local.INFO: TCP Data received {"connection_id":135010,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c50ac0012d7f97c005afda580002006c28..."} 
[2026-07-15 18:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c50ac0012d7f97c005afda580002006c28..."} 
[2026-07-15 18:06:06] local.INFO: Processing buffer {"connection_id":135010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c50ac0012d7f97c005afda580002006c28..."} 
[2026-07-15 18:06:06] local.INFO: Packet analysis {"connection_id":135010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c5"} 
[2026-07-15 18:06:06] local.INFO: Extracted packet for processing {"connection_id":135010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c5"} 
[2026-07-15 18:06:06] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734345984001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784118840000,"timestamp_ms":1784118840000,"timestamp_seconds":1784118840,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c50ac0"} 
[2026-07-15 18:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-15 18:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:06:06] 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-07-15 18:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734345984001,"66":25875,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734345984001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:06:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:06:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734345984001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":135010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:06:06] local.INFO: GPS data processed {"connection_id":135010,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:06:06] local.INFO: Acknowledgment sent {"connection_id":135010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:06:08] local.INFO: TCP Data received {"connection_id":135009,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135009,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:06:08] local.INFO: Processing buffer {"connection_id":135009,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:06:08] local.INFO: IMEI packet received {"connection_id":135009,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 18:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":135009,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:06:09] local.INFO: TCP Data received {"connection_id":135009,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c67220012d80cb8005d2b7500000013b2a..."} 
[2026-07-15 18:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c67220012d80cb8005d2b7500000013b2a..."} 
[2026-07-15 18:06:09] local.INFO: Processing buffer {"connection_id":135009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c67220012d80cb8005d2b7500000013b2a..."} 
[2026-07-15 18:06:09] local.INFO: Packet analysis {"connection_id":135009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c6"} 
[2026-07-15 18:06:09] local.INFO: Extracted packet for processing {"connection_id":135009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c6"} 
[2026-07-15 18:06:09] local.INFO: GPS Element Parsed {"raw_longitude":763415424,"raw_latitude":97695568,"longitude_deg":76.3415424,"latitude_deg":9.7695568,"altitude":0,"angle":315,"satellites":42,"speed":20,"hex_longitude":"2d80cb80","hex_latitude":"05d2b750","is_valid_coordinates":true} 
[2026-07-15 18:06: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-07-15 18:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734446336001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106721008068591616,"note":"Value kept but may cause issues"} 
[2026-07-15 18:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9165669641619126272,"note":"Value kept but may cause issues"} 
[2026-07-15 18:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784118932000,"timestamp_ms":1784118932000,"timestamp_seconds":1784118932,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c67220"} 
[2026-07-15 18:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-15 18:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:06: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-07-15 18:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":135009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":135009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":135009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 18:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 18:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734446336001,"66":12841,"208":206,"85":15104,"24":20,"16":106721008068591616,"45":-9165669641619126272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-15 18:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 18:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 18:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734446336001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:06:09] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-15 18:06:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 18:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106721008068591616,"km_value":106721008068591.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9165669641619126272,"description":"Unknown IO ID 45"} 
[2026-07-15 18:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734446336001,"power":12841,"unknown_208":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9165669641619126272}} 
[2026-07-15 18:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":135009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492241,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:06:09] local.INFO: GPS data processed {"connection_id":135009,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:06:09] local.INFO: Acknowledgment sent {"connection_id":135009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:06:09] local.INFO: TCP Data received {"connection_id":135009,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c67608012d80cb4005d2b9a80000015228..."} 
[2026-07-15 18:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c67608012d80cb4005d2b9a80000015228..."} 
[2026-07-15 18:06:09] local.INFO: Processing buffer {"connection_id":135009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c67608012d80cb4005d2b9a80000015228..."} 
[2026-07-15 18:06:09] local.INFO: Packet analysis {"connection_id":135009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c6"} 
[2026-07-15 18:06:09] local.INFO: Extracted packet for processing {"connection_id":135009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c6"} 
[2026-07-15 18:06:09] local.INFO: GPS Element Parsed {"raw_longitude":763415360,"raw_latitude":97696168,"longitude_deg":76.341536,"latitude_deg":9.7696168,"altitude":0,"angle":338,"satellites":40,"speed":21,"hex_longitude":"2d80cb40","hex_latitude":"05d2b9a8","is_valid_coordinates":true} 
[2026-07-15 18:06: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-07-15 18:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734446592001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106721038133362688,"note":"Value kept but may cause issues"} 
[2026-07-15 18:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9166091854084091904,"note":"Value kept but may cause issues"} 
[2026-07-15 18:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784118933000,"timestamp_ms":1784118933000,"timestamp_seconds":1784118933,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c67608"} 
[2026-07-15 18:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:06: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":41,"data_length":795,"current_offset":136} 
[2026-07-15 18:06:09] 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-07-15 18:06: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-07-15 18:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":135009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":135009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":135009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 18:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 18:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734446592001,"66":12841,"208":206,"85":15104,"24":21,"16":106721038133362688,"45":-9166091854084091904},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-15 18:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 18:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 18:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734446592001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:06:09] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-15 18:06:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 18:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106721038133362688,"km_value":106721038133362.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9166091854084091904,"description":"Unknown IO ID 45"} 
[2026-07-15 18:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734446592001,"power":12841,"unknown_208":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9166091854084091904}} 
[2026-07-15 18:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":135009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492242,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:06:09] local.INFO: GPS data processed {"connection_id":135009,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:06:09] local.INFO: Acknowledgment sent {"connection_id":135009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:06:29] local.INFO: TCP Data received {"connection_id":133649,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c66280012d1ac880072433a8002b00f329..."} 
[2026-07-15 18:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c66280012d1ac880072433a8002b00f329..."} 
[2026-07-15 18:06:29] local.INFO: Processing buffer {"connection_id":133649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c66280012d1ac880072433a8002b00f329..."} 
[2026-07-15 18:06:29] local.INFO: Packet analysis {"connection_id":133649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c6"} 
[2026-07-15 18:06:29] local.INFO: Extracted packet for processing {"connection_id":133649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c6"} 
[2026-07-15 18:06:29] local.INFO: GPS Element Parsed {"raw_longitude":756729984,"raw_latitude":119813032,"longitude_deg":75.6729984,"latitude_deg":11.9813032,"altitude":43,"angle":243,"satellites":41,"speed":40,"hex_longitude":"2d1ac880","hex_latitude":"072433a8","is_valid_coordinates":true} 
[2026-07-15 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-07-15 18:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734444544001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6207752456110080,"note":"Value kept but may cause issues"} 
[2026-07-15 18:06:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1933522014442309632,"note":"Value kept but may cause issues"} 
[2026-07-15 18:06:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784118928000,"timestamp_ms":1784118928000,"timestamp_seconds":1784118928,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c66280"} 
[2026-07-15 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-07-15 18:06: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-07-15 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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-15 18:06:29] 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-07-15 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-07-15 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-07-15 18:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":133649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":133649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":133649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:06:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734444544001,"66":14243,"112":206,"28":31744,"24":40,"16":6207752456110080,"45":1933522014442309632},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-15 18:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734444544001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:06:29] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-15 18:06:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6207752456110080,"km_value":6207752456110.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:06:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1933522014442309632,"description":"Unknown IO ID 45"} 
[2026-07-15 18:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734444544001,"power":14243,"unknown_112":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1933522014442309632}} 
[2026-07-15 18:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":133649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492243,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:06:29] local.INFO: GPS data processed {"connection_id":133649,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:06:29] local.INFO: Acknowledgment sent {"connection_id":133649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:06:37] local.INFO: TCP Data received {"connection_id":135010,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c50ac0012d7f97c005afda580002006c28..."} 
[2026-07-15 18:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c50ac0012d7f97c005afda580002006c28..."} 
[2026-07-15 18:06:37] local.INFO: Processing buffer {"connection_id":135010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c50ac0012d7f97c005afda580002006c28..."} 
[2026-07-15 18:06:37] local.INFO: Packet analysis {"connection_id":135010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c5"} 
[2026-07-15 18:06:37] local.INFO: Extracted packet for processing {"connection_id":135010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c5"} 
[2026-07-15 18:06:37] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734345984001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784118840000,"timestamp_ms":1784118840000,"timestamp_seconds":1784118840,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c50ac0"} 
[2026-07-15 18:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-15 18:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":135010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":135010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":135010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734345984001,"66":25875,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734345984001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:06:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:06:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734345984001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":135010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:06:37] local.INFO: GPS data processed {"connection_id":135010,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:06:37] local.INFO: Acknowledgment sent {"connection_id":135010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:06:41] local.INFO: TCP Data received {"connection_id":135009,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c725d0012d80a64005d31700000500092a..."} 
[2026-07-15 18:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c725d0012d80a64005d31700000500092a..."} 
[2026-07-15 18:06:41] local.INFO: Processing buffer {"connection_id":135009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c725d0012d80a64005d31700000500092a..."} 
[2026-07-15 18:06:41] local.INFO: Packet analysis {"connection_id":135009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c7"} 
[2026-07-15 18:06:41] local.INFO: Extracted packet for processing {"connection_id":135009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c7"} 
[2026-07-15 18:06:41] local.INFO: GPS Element Parsed {"raw_longitude":763405888,"raw_latitude":97720064,"longitude_deg":76.3405888,"latitude_deg":9.7720064,"altitude":5,"angle":9,"satellites":42,"speed":33,"hex_longitude":"2d80a640","hex_latitude":"05d31700","is_valid_coordinates":true} 
[2026-07-15 18:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734456576001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106722545666883584,"note":"Value kept but may cause issues"} 
[2026-07-15 18:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9177069378170972160,"note":"Value kept but may cause issues"} 
[2026-07-15 18:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784118978000,"timestamp_ms":1784118978000,"timestamp_seconds":1784118978,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c725d0"} 
[2026-07-15 18:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-15 18:06:41] 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-07-15 18:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":135009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":135009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":135009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 18:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 18:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734456576001,"66":13059,"208":206,"85":15104,"24":33,"16":106722545666883584,"45":-9177069378170972160},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-15 18:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 18:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 18:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734456576001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:06:41] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-15 18:06:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 18:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106722545666883584,"km_value":106722545666883.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9177069378170972160,"description":"Unknown IO ID 45"} 
[2026-07-15 18:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734456576001,"power":13059,"unknown_208":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9177069378170972160}} 
[2026-07-15 18:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":135009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492245,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:06:41] local.INFO: GPS data processed {"connection_id":135009,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:06:41] local.INFO: Acknowledgment sent {"connection_id":135009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:06:50] local.INFO: TCP Data received {"connection_id":132798,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:06:50] local.INFO: Processing buffer {"connection_id":132798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:06:50] local.INFO: IMEI packet received {"connection_id":132798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":132798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:06:55] local.INFO: TCP Data received {"connection_id":132617,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:06:55] local.INFO: Processing buffer {"connection_id":132617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:06:55] local.INFO: IMEI packet received {"connection_id":132617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 18:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":132617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:06:55] local.INFO: TCP Data received {"connection_id":132798,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:06:55] local.INFO: Processing buffer {"connection_id":132798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:06:55] local.INFO: IMEI packet received {"connection_id":132798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":132798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:06:56] local.INFO: TCP Data received {"connection_id":132617,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:06:56] local.INFO: Processing buffer {"connection_id":132617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:06:56] local.INFO: IMEI packet received {"connection_id":132617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 18:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":132617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:06:58] local.INFO: TCP Data received {"connection_id":132798,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c681c0012d1aa80007242468002900f62d..."} 
[2026-07-15 18:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c681c0012d1aa80007242468002900f62d..."} 
[2026-07-15 18:06:58] local.INFO: Processing buffer {"connection_id":132798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c681c0012d1aa80007242468002900f62d..."} 
[2026-07-15 18:06:58] local.INFO: Packet analysis {"connection_id":132798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c6"} 
[2026-07-15 18:06:58] local.INFO: Extracted packet for processing {"connection_id":132798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c6"} 
[2026-07-15 18:06:58] local.INFO: GPS Element Parsed {"raw_longitude":756721664,"raw_latitude":119809128,"longitude_deg":75.6721664,"latitude_deg":11.9809128,"altitude":41,"angle":246,"satellites":45,"speed":46,"hex_longitude":"2d1aa800","hex_latitude":"07242468","is_valid_coordinates":true} 
[2026-07-15 18:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734445568001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6208190542774272,"note":"Value kept but may cause issues"} 
[2026-07-15 18:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929933208488749056,"note":"Value kept but may cause issues"} 
[2026-07-15 18:06:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784118936000,"timestamp_ms":1784118936000,"timestamp_seconds":1784118936,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c681c0"} 
[2026-07-15 18:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:06:58] 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-07-15 18:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-15 18:06:58] 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-07-15 18:06:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":132798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":132798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":132798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:06:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734445568001,"66":14363,"112":206,"28":31744,"24":46,"16":6208190542774272,"45":1929933208488749056},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-15 18:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734445568001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:06:58] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-15 18:06:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6208190542774272,"km_value":6208190542774.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929933208488749056,"description":"Unknown IO ID 45"} 
[2026-07-15 18:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734445568001,"power":14363,"unknown_112":206,"unknown_28":31744,"ignition":46,"odometer":null,"unknown_45":1929933208488749056}} 
[2026-07-15 18:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":132798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:06:58] local.INFO: GPS data processed {"connection_id":132798,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:06:58] local.INFO: Acknowledgment sent {"connection_id":132798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:06:59] local.INFO: TCP Data received {"connection_id":132617,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:06:59] local.INFO: Processing buffer {"connection_id":132617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:06:59] local.INFO: IMEI packet received {"connection_id":132617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 18:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":132617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:07:04] local.INFO: TCP Data received {"connection_id":132617,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:07:04] local.INFO: Processing buffer {"connection_id":132617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:07:04] local.INFO: IMEI packet received {"connection_id":132617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 18:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":132617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:07:05] local.INFO: TCP Data received {"connection_id":132617,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c748f8012d80aa8005d334300005016727..."} 
[2026-07-15 18:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c748f8012d80aa8005d334300005016727..."} 
[2026-07-15 18:07:05] local.INFO: Processing buffer {"connection_id":132617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c748f8012d80aa8005d334300005016727..."} 
[2026-07-15 18:07:05] local.INFO: Packet analysis {"connection_id":132617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c7"} 
[2026-07-15 18:07:05] local.INFO: Extracted packet for processing {"connection_id":132617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c7"} 
[2026-07-15 18:07:05] local.INFO: GPS Element Parsed {"raw_longitude":763406976,"raw_latitude":97727536,"longitude_deg":76.3406976,"latitude_deg":9.7727536,"altitude":5,"angle":359,"satellites":39,"speed":33,"hex_longitude":"2d80aa80","hex_latitude":"05d33430","is_valid_coordinates":true} 
[2026-07-15 18:07: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-07-15 18:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734458368001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106722915034071040,"note":"Value kept but may cause issues"} 
[2026-07-15 18:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176576796960292864,"note":"Value kept but may cause issues"} 
[2026-07-15 18:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784118987000,"timestamp_ms":1784118987000,"timestamp_seconds":1784118987,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c748f8"} 
[2026-07-15 18:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:07: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":3,"data_length":795,"current_offset":136} 
[2026-07-15 18:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303158080359799,"note":"Value kept but may cause issues"} 
[2026-07-15 18:07:05] local.WARNING: Large IO value detected {"io_id":208,"raw_value":58077557095399446,"note":"Value kept but may cause issues"} 
[2026-07-15 18:07:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 18:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2158362629,"note":"Value kept but may cause issues"} 
[2026-07-15 18:07:05] local.WARNING: Large IO value detected {"io_id":101,"raw_value":3338584065,"note":"Value kept but may cause issues"} 
[2026-07-15 18:07:05] local.WARNING: Large IO value detected {"io_id":210,"raw_value":4206886914,"note":"Value kept but may cause issues"} 
[2026-07-15 18:07:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2010120398,"corrected_to":0} 
[2026-07-15 18:07:05] local.WARNING: Large IO value detected {"io_id":250,"raw_value":3623955840,"note":"Value kept but may cause issues"} 
[2026-07-15 18:07:05] local.WARNING: Large IO value detected {"io_id":167,"raw_value":2147865337,"note":"Value kept but may cause issues"} 
[2026-07-15 18:07:05] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3707817335,"note":"Value kept but may cause issues"} 
[2026-07-15 18:07:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3539529728,"note":"Value kept but may cause issues"} 
[2026-07-15 18:07:05] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,208,85,24,241,157,16,39,159,10,45,128,1,2,41,66,6,64,254,192,240,238,227,101,210,4,113,205,19,250,167,144,40,239,49,123,5,22],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2010120398,"validated":0}]} 
[2026-07-15 18:07:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360298046185078784,"timestamp_seconds":360298046185078.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 18:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 18:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 18:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734458368001,"66":12972,"208":206,"85":15104,"24":33,"16":106722915034071040,"45":-9176576796960292864},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-15 18:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 18:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 18:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734458368001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:07:05] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-15 18:07:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 18:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106722915034071040,"km_value":106722915034071.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176576796960292864,"description":"Unknown IO ID 45"} 
[2026-07-15 18:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734458368001,"power":12972,"unknown_208":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9176576796960292864}} 
[2026-07-15 18:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":132617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492247,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:07:05] local.INFO: GPS data processed {"connection_id":132617,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:07:05] local.INFO: Acknowledgment sent {"connection_id":132617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:07:05] local.INFO: TCP Data received {"connection_id":132799,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:07:05] local.INFO: Processing buffer {"connection_id":132799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:07:05] local.INFO: IMEI packet received {"connection_id":132799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":132799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:07:09] local.INFO: TCP Data received {"connection_id":132617,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c773f0012d80ab0005d358900002000128..."} 
[2026-07-15 18:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c773f0012d80ab0005d358900002000128..."} 
[2026-07-15 18:07:09] local.INFO: Processing buffer {"connection_id":132617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c773f0012d80ab0005d358900002000128..."} 
[2026-07-15 18:07:09] local.INFO: Packet analysis {"connection_id":132617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c7"} 
[2026-07-15 18:07:09] local.INFO: Extracted packet for processing {"connection_id":132617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c7"} 
[2026-07-15 18:07:09] local.INFO: GPS Element Parsed {"raw_longitude":763407104,"raw_latitude":97736848,"longitude_deg":76.3407104,"latitude_deg":9.7736848,"altitude":2,"angle":1,"satellites":40,"speed":30,"hex_longitude":"2d80ab00","hex_latitude":"05d35890","is_valid_coordinates":true} 
[2026-07-15 18:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734460672001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106723366005637120,"note":"Value kept but may cause issues"} 
[2026-07-15 18:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9175380528307359744,"note":"Value kept but may cause issues"} 
[2026-07-15 18:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784118998000,"timestamp_ms":1784118998000,"timestamp_seconds":1784118998,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c773f0"} 
[2026-07-15 18:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-15 18:07: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-07-15 18:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":132617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":132617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":132617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 18:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 18:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734460672001,"66":13048,"207":206,"85":15104,"24":30,"16":106723366005637120,"45":-9175380528307359744},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-15 18:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 18:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 18:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734460672001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:07:09] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-15 18:07:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 18:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106723366005637120,"km_value":106723366005637.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9175380528307359744,"description":"Unknown IO ID 45"} 
[2026-07-15 18:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734460672001,"power":13048,"unknown_207":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9175380528307359744}} 
[2026-07-15 18:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":132617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492248,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:07:09] local.INFO: GPS data processed {"connection_id":132617,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:07:09] local.INFO: Acknowledgment sent {"connection_id":132617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:07:10] local.INFO: TCP Data received {"connection_id":132799,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:07:10] local.INFO: Processing buffer {"connection_id":132799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:07:10] local.INFO: IMEI packet received {"connection_id":132799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":132799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:07:11] local.INFO: TCP Data received {"connection_id":132799,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c50ac0012d7f97c005afda580002006c28..."} 
[2026-07-15 18:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c50ac0012d7f97c005afda580002006c28..."} 
[2026-07-15 18:07:11] local.INFO: Processing buffer {"connection_id":132799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c50ac0012d7f97c005afda580002006c28..."} 
[2026-07-15 18:07:11] local.INFO: Packet analysis {"connection_id":132799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c5"} 
[2026-07-15 18:07:11] local.INFO: Extracted packet for processing {"connection_id":132799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c5"} 
[2026-07-15 18:07:11] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18:07: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-07-15 18:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734345984001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784118840000,"timestamp_ms":1784118840000,"timestamp_seconds":1784118840,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c50ac0"} 
[2026-07-15 18:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:07: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-15 18:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:07: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-07-15 18:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:07:11] 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-07-15 18:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734345984001,"66":25875,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734345984001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:07:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:07:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734345984001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":132799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:07:11] local.INFO: GPS data processed {"connection_id":132799,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:07:11] local.INFO: Acknowledgment sent {"connection_id":132799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:07:16] local.INFO: TCP Data received {"connection_id":132799,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c50ac0012d7f97c005afda580002006c28..."} 
[2026-07-15 18:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c50ac0012d7f97c005afda580002006c28..."} 
[2026-07-15 18:07:16] local.INFO: Processing buffer {"connection_id":132799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c50ac0012d7f97c005afda580002006c28..."} 
[2026-07-15 18:07:16] local.INFO: Packet analysis {"connection_id":132799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c5"} 
[2026-07-15 18:07:16] local.INFO: Extracted packet for processing {"connection_id":132799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c5"} 
[2026-07-15 18:07:16] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734345984001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:07:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784118840000,"timestamp_ms":1784118840000,"timestamp_seconds":1784118840,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c50ac0"} 
[2026-07-15 18:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:07:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-15 18:07:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:07:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:07:16] 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-07-15 18:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734345984001,"66":25875,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734345984001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:07:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:07:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734345984001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":132799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:07:16] local.INFO: GPS data processed {"connection_id":132799,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:07:16] local.INFO: Acknowledgment sent {"connection_id":132799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:07:29] local.INFO: TCP Data received {"connection_id":132798,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c6a4e8012d1a848007241428002900f32d..."} 
[2026-07-15 18:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c6a4e8012d1a848007241428002900f32d..."} 
[2026-07-15 18:07:29] local.INFO: Processing buffer {"connection_id":132798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c6a4e8012d1a848007241428002900f32d..."} 
[2026-07-15 18:07:29] local.INFO: Packet analysis {"connection_id":132798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c6"} 
[2026-07-15 18:07:29] local.INFO: Extracted packet for processing {"connection_id":132798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c6"} 
[2026-07-15 18:07:29] local.INFO: GPS Element Parsed {"raw_longitude":756712576,"raw_latitude":119804968,"longitude_deg":75.6712576,"latitude_deg":11.9804968,"altitude":41,"angle":243,"satellites":45,"speed":40,"hex_longitude":"2d1a8480","hex_latitude":"07241428","is_valid_coordinates":true} 
[2026-07-15 18:07: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-07-15 18:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734447616001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6208662989176832,"note":"Value kept but may cause issues"} 
[2026-07-15 18:07:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1920785271744653312,"note":"Value kept but may cause issues"} 
[2026-07-15 18:07:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784118945000,"timestamp_ms":1784118945000,"timestamp_seconds":1784118945,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c6a4e8"} 
[2026-07-15 18:07:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:07: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-07-15 18:07: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-07-15 18:07: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-07-15 18:07: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-07-15 18:07:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":132798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":132798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":132798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:07:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734447616001,"66":14363,"112":206,"28":31744,"24":40,"16":6208662989176832,"45":1920785271744653312},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-15 18:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734447616001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:07:29] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-15 18:07:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6208662989176832,"km_value":6208662989176.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:07:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1920785271744653312,"description":"Unknown IO ID 45"} 
[2026-07-15 18:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734447616001,"power":14363,"unknown_112":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1920785271744653312}} 
[2026-07-15 18:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":132798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:07:29] local.INFO: GPS data processed {"connection_id":132798,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:07:29] local.INFO: Acknowledgment sent {"connection_id":132798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:07:40] local.INFO: TCP Data received {"connection_id":132617,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c7a6b8012d80ad0005d36d600004015828..."} 
[2026-07-15 18:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c7a6b8012d80ad0005d36d600004015828..."} 
[2026-07-15 18:07:40] local.INFO: Processing buffer {"connection_id":132617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c7a6b8012d80ad0005d36d600004015828..."} 
[2026-07-15 18:07:40] local.INFO: Packet analysis {"connection_id":132617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c7"} 
[2026-07-15 18:07:40] local.INFO: Extracted packet for processing {"connection_id":132617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c7"} 
[2026-07-15 18:07:40] local.INFO: GPS Element Parsed {"raw_longitude":763407616,"raw_latitude":97742176,"longitude_deg":76.3407616,"latitude_deg":9.7742176,"altitude":4,"angle":344,"satellites":40,"speed":7,"hex_longitude":"2d80ad00","hex_latitude":"05d36d60","is_valid_coordinates":true} 
[2026-07-15 18:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734463488001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106723627998642176,"note":"Value kept but may cause issues"} 
[2026-07-15 18:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9175239790816620544,"note":"Value kept but may cause issues"} 
[2026-07-15 18:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784119011000,"timestamp_ms":1784119011000,"timestamp_seconds":1784119011,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c7a6b8"} 
[2026-07-15 18:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-15 18:07:40] 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-07-15 18: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-07-15 18:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 18:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 18:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734463488001,"66":12645,"207":206,"85":15104,"24":7,"16":106723627998642176,"45":-9175239790816620544},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-15 18:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 18:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 18:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734463488001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:07:40] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-15 18:07:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 18:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106723627998642176,"km_value":106723627998642.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9175239790816620544,"description":"Unknown IO ID 45"} 
[2026-07-15 18:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734463488001,"power":12645,"unknown_207":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9175239790816620544}} 
[2026-07-15 18:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":132617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492252,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:07:40] local.INFO: GPS data processed {"connection_id":132617,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:07:40] local.INFO: Acknowledgment sent {"connection_id":132617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:07:59] local.INFO: TCP Data received {"connection_id":132800,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132800,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:07:59] local.INFO: Processing buffer {"connection_id":132800,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:07:59] local.INFO: IMEI packet received {"connection_id":132800,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 18:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":132800,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:08:00] local.INFO: TCP Data received {"connection_id":132802,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:08:00] local.INFO: Processing buffer {"connection_id":132802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:08:00] local.INFO: IMEI packet received {"connection_id":132802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":132802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:08:00] local.INFO: TCP Data received {"connection_id":132801,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:08:00] local.INFO: Processing buffer {"connection_id":132801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:08:00] local.INFO: IMEI packet received {"connection_id":132801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":132801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:08:02] local.INFO: TCP Data received {"connection_id":132800,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132800,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:08:02] local.INFO: Processing buffer {"connection_id":132800,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:08:02] local.INFO: IMEI packet received {"connection_id":132800,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 18:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":132800,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:08:03] local.INFO: TCP Data received {"connection_id":132800,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c87d90012d80370005d393000008013e26..."} 
[2026-07-15 18:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c87d90012d80370005d393000008013e26..."} 
[2026-07-15 18:08:03] local.INFO: Processing buffer {"connection_id":132800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c87d90012d80370005d393000008013e26..."} 
[2026-07-15 18:08:03] local.INFO: Packet analysis {"connection_id":132800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c8"} 
[2026-07-15 18:08:03] local.INFO: Extracted packet for processing {"connection_id":132800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c8"} 
[2026-07-15 18:08:03] local.INFO: GPS Element Parsed {"raw_longitude":763377408,"raw_latitude":97751808,"longitude_deg":76.3377408,"latitude_deg":9.7751808,"altitude":8,"angle":318,"satellites":38,"speed":20,"hex_longitude":"2d803700","hex_latitude":"05d39300","is_valid_coordinates":true} 
[2026-07-15 18:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734479872001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106725238611378176,"note":"Value kept but may cause issues"} 
[2026-07-15 18:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9206764988204939264,"note":"Value kept but may cause issues"} 
[2026-07-15 18:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784119066000,"timestamp_ms":1784119066000,"timestamp_seconds":1784119066,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c87d90"} 
[2026-07-15 18:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-15 18:08:03] 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-07-15 18:08:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":132800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":132800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":132800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 18:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 18:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734479872001,"66":12841,"167":206,"85":15104,"24":20,"16":106725238611378176,"45":-9206764988204939264},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-15 18:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 18:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 18:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734479872001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:08:03] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 18:08:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 18:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106725238611378176,"km_value":106725238611378.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9206764988204939264,"description":"Unknown IO ID 45"} 
[2026-07-15 18:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734479872001,"power":12841,"unknown_167":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9206764988204939264}} 
[2026-07-15 18:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":132800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492253,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:08:03] local.INFO: GPS data processed {"connection_id":132800,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:08:03] local.INFO: Acknowledgment sent {"connection_id":132800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:08:05] local.INFO: TCP Data received {"connection_id":132801,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:08:05] local.INFO: Processing buffer {"connection_id":132801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:08:05] local.INFO: IMEI packet received {"connection_id":132801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":132801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:08:06] local.INFO: TCP Data received {"connection_id":132801,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c50ac0012d7f97c005afda580002006c28..."} 
[2026-07-15 18:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c50ac0012d7f97c005afda580002006c28..."} 
[2026-07-15 18:08:06] local.INFO: Processing buffer {"connection_id":132801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c50ac0012d7f97c005afda580002006c28..."} 
[2026-07-15 18:08:06] local.INFO: Packet analysis {"connection_id":132801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c5"} 
[2026-07-15 18:08:06] local.INFO: Extracted packet for processing {"connection_id":132801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c5"} 
[2026-07-15 18:08:06] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734345984001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784118840000,"timestamp_ms":1784118840000,"timestamp_seconds":1784118840,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c50ac0"} 
[2026-07-15 18:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-15 18:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:08:06] 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-07-15 18:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734345984001,"66":25875,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734345984001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:08:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:08:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734345984001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":132801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:08:06] local.INFO: GPS data processed {"connection_id":132801,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:08:06] local.INFO: Acknowledgment sent {"connection_id":132801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:08:06] local.INFO: TCP Data received {"connection_id":132802,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:08:06] local.INFO: Processing buffer {"connection_id":132802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:08:06] local.INFO: IMEI packet received {"connection_id":132802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":132802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:08:13] local.INFO: TCP Data received {"connection_id":132802,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c7d1b0012d1982c007239758004100fb28..."} 
[2026-07-15 18:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c7d1b0012d1982c007239758004100fb28..."} 
[2026-07-15 18:08:13] local.INFO: Processing buffer {"connection_id":132802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c7d1b0012d1982c007239758004100fb28..."} 
[2026-07-15 18:08:13] local.INFO: Packet analysis {"connection_id":132802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c7"} 
[2026-07-15 18:08:13] local.INFO: Extracted packet for processing {"connection_id":132802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c7"} 
[2026-07-15 18:08:13] local.INFO: GPS Element Parsed {"raw_longitude":756646592,"raw_latitude":119773016,"longitude_deg":75.6646592,"latitude_deg":11.9773016,"altitude":65,"angle":251,"satellites":40,"speed":37,"hex_longitude":"2d1982c0","hex_latitude":"07239758","is_valid_coordinates":true} 
[2026-07-15 18:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734468096001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6212378135887872,"note":"Value kept but may cause issues"} 
[2026-07-15 18:08:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844435184302905344,"note":"Value kept but may cause issues"} 
[2026-07-15 18:08:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784119022000,"timestamp_ms":1784119022000,"timestamp_seconds":1784119022,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c7d1b0"} 
[2026-07-15 18:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:08:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-15 18:08:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:08:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:08:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734468096001,"66":14080,"112":206,"28":31744,"24":37,"16":6212378135887872,"45":1844435184302905344},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-15 18:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734468096001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:08:13] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-15 18:08:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6212378135887872,"km_value":6212378135887.872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:08:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844435184302905344,"description":"Unknown IO ID 45"} 
[2026-07-15 18:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734468096001,"power":14080,"unknown_112":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1844435184302905344}} 
[2026-07-15 18:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":132802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:08:13] local.INFO: GPS data processed {"connection_id":132802,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:08:13] local.INFO: Acknowledgment sent {"connection_id":132802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:08:34] local.INFO: TCP Data received {"connection_id":132800,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c88178012d80358005d394080008012f27..."} 
[2026-07-15 18:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c88178012d80358005d394080008012f27..."} 
[2026-07-15 18:08:34] local.INFO: Processing buffer {"connection_id":132800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c88178012d80358005d394080008012f27..."} 
[2026-07-15 18:08:34] local.INFO: Packet analysis {"connection_id":132800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c8"} 
[2026-07-15 18:08:34] local.INFO: Extracted packet for processing {"connection_id":132800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c8"} 
[2026-07-15 18:08:34] local.INFO: GPS Element Parsed {"raw_longitude":763377024,"raw_latitude":97752072,"longitude_deg":76.3377024,"latitude_deg":9.7752072,"altitude":8,"angle":303,"satellites":39,"speed":19,"hex_longitude":"2d803580","hex_latitude":"05d39408","is_valid_coordinates":true} 
[2026-07-15 18:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734480896001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106725260086214656,"note":"Value kept but may cause issues"} 
[2026-07-15 18:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9207890888111226880,"note":"Value kept but may cause issues"} 
[2026-07-15 18:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784119067000,"timestamp_ms":1784119067000,"timestamp_seconds":1784119067,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c88178"} 
[2026-07-15 18:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:08:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-15 18:08:34] 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-07-15 18:08:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":132800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":132800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":132800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 18:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 18:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734480896001,"66":12743,"167":206,"85":15104,"24":19,"16":106725260086214656,"45":-9207890888111226880},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-15 18:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 18:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 18:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734480896001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:08:34] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 18:08:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 18:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106725260086214656,"km_value":106725260086214.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9207890888111226880,"description":"Unknown IO ID 45"} 
[2026-07-15 18:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734480896001,"power":12743,"unknown_167":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":-9207890888111226880}} 
[2026-07-15 18:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":132800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492256,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:08:34] local.INFO: GPS data processed {"connection_id":132800,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:08:34] local.INFO: Acknowledgment sent {"connection_id":132800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:08:37] local.INFO: TCP Data received {"connection_id":132801,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c50ac0012d7f97c005afda580002006c28..."} 
[2026-07-15 18:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c50ac0012d7f97c005afda580002006c28..."} 
[2026-07-15 18:08:37] local.INFO: Processing buffer {"connection_id":132801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c50ac0012d7f97c005afda580002006c28..."} 
[2026-07-15 18:08:37] local.INFO: Packet analysis {"connection_id":132801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c5"} 
[2026-07-15 18:08:37] local.INFO: Extracted packet for processing {"connection_id":132801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c5"} 
[2026-07-15 18:08:37] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734345984001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784118840000,"timestamp_ms":1784118840000,"timestamp_seconds":1784118840,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c50ac0"} 
[2026-07-15 18:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-15 18:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734345984001,"66":25875,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734345984001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:08:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:08:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734345984001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":132801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:08:37] local.INFO: GPS data processed {"connection_id":132801,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:08:37] local.INFO: Acknowledgment sent {"connection_id":132801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:08:54] local.INFO: TCP Data received {"connection_id":135011,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:08:54] local.INFO: Processing buffer {"connection_id":135011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:08:54] local.INFO: IMEI packet received {"connection_id":135011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":135011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:08:55] local.INFO: TCP Data received {"connection_id":135011,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:08:55] local.INFO: Processing buffer {"connection_id":135011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:08:55] local.INFO: IMEI packet received {"connection_id":135011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":135011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:08:56] local.INFO: TCP Data received {"connection_id":135011,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:08:56] local.INFO: Processing buffer {"connection_id":135011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:08:56] local.INFO: IMEI packet received {"connection_id":135011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":135011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:08:57] local.INFO: TCP Data received {"connection_id":135011,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:08:57] local.INFO: Processing buffer {"connection_id":135011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:08:57] local.INFO: IMEI packet received {"connection_id":135011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":135011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:08:58] local.INFO: TCP Data received {"connection_id":135011,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c8cf98012d18e9400722f6e8005c011d29..."} 
[2026-07-15 18:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c8cf98012d18e9400722f6e8005c011d29..."} 
[2026-07-15 18:08:58] local.INFO: Processing buffer {"connection_id":135011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c8cf98012d18e9400722f6e8005c011d29..."} 
[2026-07-15 18:08:58] local.INFO: Packet analysis {"connection_id":135011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c8"} 
[2026-07-15 18:08:58] local.INFO: Extracted packet for processing {"connection_id":135011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c8"} 
[2026-07-15 18:08:58] local.INFO: GPS Element Parsed {"raw_longitude":756607296,"raw_latitude":119731944,"longitude_deg":75.6607296,"latitude_deg":11.9731944,"altitude":92,"angle":285,"satellites":41,"speed":38,"hex_longitude":"2d18e940","hex_latitude":"0722f6e8","is_valid_coordinates":true} 
[2026-07-15 18:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734485760001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6215195634434048,"note":"Value kept but may cause issues"} 
[2026-07-15 18:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1797147388204668928,"note":"Value kept but may cause issues"} 
[2026-07-15 18:08:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784119087000,"timestamp_ms":1784119087000,"timestamp_seconds":1784119087,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c8cf98"} 
[2026-07-15 18:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:08:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-15 18:08:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:08:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:08:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":135011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":135011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":135011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:08:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734485760001,"66":14004,"112":206,"28":31744,"24":38,"16":6215195634434048,"45":1797147388204668928},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-15 18:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734485760001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:08:58] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-15 18:08:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6215195634434048,"km_value":6215195634434.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1797147388204668928,"description":"Unknown IO ID 45"} 
[2026-07-15 18:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734485760001,"power":14004,"unknown_112":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1797147388204668928}} 
[2026-07-15 18:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":135011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:08:58] local.INFO: GPS data processed {"connection_id":135011,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:08:58] local.INFO: Acknowledgment sent {"connection_id":135011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:08:59] local.INFO: TCP Data received {"connection_id":132618,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132618,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:08:59] local.INFO: Processing buffer {"connection_id":132618,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:08:59] local.INFO: IMEI packet received {"connection_id":132618,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 18:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":132618,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:09:00] local.INFO: TCP Data received {"connection_id":135011,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c8f2c0012d18c90007230388006101122c..."} 
[2026-07-15 18:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c8f2c0012d18c90007230388006101122c..."} 
[2026-07-15 18:09:00] local.INFO: Processing buffer {"connection_id":135011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c8f2c0012d18c90007230388006101122c..."} 
[2026-07-15 18:09:00] local.INFO: Packet analysis {"connection_id":135011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c8"} 
[2026-07-15 18:09:00] local.INFO: Extracted packet for processing {"connection_id":135011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c8"} 
[2026-07-15 18:09:00] local.INFO: GPS Element Parsed {"raw_longitude":756599040,"raw_latitude":119735176,"longitude_deg":75.659904,"latitude_deg":11.9735176,"altitude":97,"angle":274,"satellites":44,"speed":35,"hex_longitude":"2d18c900","hex_latitude":"07230388","is_valid_coordinates":true} 
[2026-07-15 18:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734486272001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6215620836196352,"note":"Value kept but may cause issues"} 
[2026-07-15 18:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795036325879408640,"note":"Value kept but may cause issues"} 
[2026-07-15 18:09:00] 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-07-15 18:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784119096000,"timestamp_ms":1784119096000,"timestamp_seconds":1784119096,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c8f2c0"} 
[2026-07-15 18:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-15 18:09:00] 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-07-15 18:09:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":135011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":135011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":135011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734486272001,"66":13863,"120":206,"28":31744,"24":35,"16":6215620836196352,"45":1795036325879408640},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734486272001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:09:00] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:09:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6215620836196352,"km_value":6215620836196.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795036325879408640,"description":"Unknown IO ID 45"} 
[2026-07-15 18:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734486272001,"power":13863,"unknown_120":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1795036325879408640}} 
[2026-07-15 18:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":135011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:09:00] local.INFO: GPS data processed {"connection_id":135011,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:09:00] local.INFO: Acknowledgment sent {"connection_id":135011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:09:00] local.INFO: TCP Data received {"connection_id":132619,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:09:00] local.INFO: Processing buffer {"connection_id":132619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:09:00] local.INFO: IMEI packet received {"connection_id":132619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":132619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:09:04] local.INFO: TCP Data received {"connection_id":132618,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132618,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:09:04] local.INFO: Processing buffer {"connection_id":132618,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:09:04] local.INFO: IMEI packet received {"connection_id":132618,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 18:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":132618,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:09:04] local.INFO: TCP Data received {"connection_id":132618,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c88560012d80334005d394d00008012027..."} 
[2026-07-15 18:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c88560012d80334005d394d00008012027..."} 
[2026-07-15 18:09:04] local.INFO: Processing buffer {"connection_id":132618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c88560012d80334005d394d00008012027..."} 
[2026-07-15 18:09:04] local.INFO: Packet analysis {"connection_id":132618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c8"} 
[2026-07-15 18:09:04] local.INFO: Extracted packet for processing {"connection_id":132618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c8"} 
[2026-07-15 18:09:04] local.INFO: GPS Element Parsed {"raw_longitude":763376448,"raw_latitude":97752272,"longitude_deg":76.3376448,"latitude_deg":9.7752272,"altitude":8,"angle":288,"satellites":39,"speed":20,"hex_longitude":"2d803340","hex_latitude":"05d394d0","is_valid_coordinates":true} 
[2026-07-15 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-07-15 18:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734481152001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106725285856018432,"note":"Value kept but may cause issues"} 
[2026-07-15 18:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9208313100576225280,"note":"Value kept but may cause issues"} 
[2026-07-15 18:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784119068000,"timestamp_ms":1784119068000,"timestamp_seconds":1784119068,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c88560"} 
[2026-07-15 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-07-15 18:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-15 18:09:04] 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-07-15 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-07-15 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-07-15 18:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":132618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":132618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":132618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 18:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 18:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734481152001,"66":12743,"167":206,"85":15104,"24":20,"16":106725285856018432,"45":-9208313100576225280},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-15 18:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 18:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 18:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734481152001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:09:04] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 18:09:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 18:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106725285856018432,"km_value":106725285856018.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9208313100576225280,"description":"Unknown IO ID 45"} 
[2026-07-15 18:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734481152001,"power":12743,"unknown_167":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9208313100576225280}} 
[2026-07-15 18:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":132618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492260,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:09:05] local.INFO: GPS data processed {"connection_id":132618,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:09:05] local.INFO: Acknowledgment sent {"connection_id":132618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:09:05] local.INFO: TCP Data received {"connection_id":132619,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:09:05] local.INFO: Processing buffer {"connection_id":132619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:09:05] local.INFO: IMEI packet received {"connection_id":132619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":132619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:09:06] local.INFO: TCP Data received {"connection_id":132619,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c50ac0012d7f97c005afda580002006c28..."} 
[2026-07-15 18:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c50ac0012d7f97c005afda580002006c28..."} 
[2026-07-15 18:09:06] local.INFO: Processing buffer {"connection_id":132619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c50ac0012d7f97c005afda580002006c28..."} 
[2026-07-15 18:09:06] local.INFO: Packet analysis {"connection_id":132619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c5"} 
[2026-07-15 18:09:06] local.INFO: Extracted packet for processing {"connection_id":132619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c5"} 
[2026-07-15 18:09:06] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734345984001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784118840000,"timestamp_ms":1784118840000,"timestamp_seconds":1784118840,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c50ac0"} 
[2026-07-15 18:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-15 18:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:09:06] 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-07-15 18:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734345984001,"66":25875,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734345984001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:09:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:09:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734345984001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":132619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:09:06] local.INFO: GPS data processed {"connection_id":132619,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:09:06] local.INFO: Acknowledgment sent {"connection_id":132619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:09:32] local.INFO: TCP Data received {"connection_id":135011,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c8fa90012d18c240072302a8006200fe2c..."} 
[2026-07-15 18:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c8fa90012d18c240072302a8006200fe2c..."} 
[2026-07-15 18:09:32] local.INFO: Processing buffer {"connection_id":135011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c8fa90012d18c240072302a8006200fe2c..."} 
[2026-07-15 18:09:32] local.INFO: Packet analysis {"connection_id":135011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c8"} 
[2026-07-15 18:09:32] local.INFO: Extracted packet for processing {"connection_id":135011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c8"} 
[2026-07-15 18:09:32] local.INFO: GPS Element Parsed {"raw_longitude":756597312,"raw_latitude":119734952,"longitude_deg":75.6597312,"latitude_deg":11.9734952,"altitude":98,"angle":254,"satellites":44,"speed":33,"hex_longitude":"2d18c240","hex_latitude":"072302a8","is_valid_coordinates":true} 
[2026-07-15 18:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734488576001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6215702440574976,"note":"Value kept but may cause issues"} 
[2026-07-15 18:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785958757881317376,"note":"Value kept but may cause issues"} 
[2026-07-15 18:09:32] 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-07-15 18:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784119098000,"timestamp_ms":1784119098000,"timestamp_seconds":1784119098,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c8fa90"} 
[2026-07-15 18:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:09:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-07-15 18:09:32] 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-07-15 18:09:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":135011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":135011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":135011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734488576001,"66":14048,"120":206,"28":31744,"24":33,"16":6215702440574976,"45":1785958757881317376},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734488576001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:09:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:09:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6215702440574976,"km_value":6215702440574.976,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785958757881317376,"description":"Unknown IO ID 45"} 
[2026-07-15 18:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734488576001,"power":14048,"unknown_120":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1785958757881317376}} 
[2026-07-15 18:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":135011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:09:32] local.INFO: GPS data processed {"connection_id":135011,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:09:32] local.INFO: Acknowledgment sent {"connection_id":135011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:09:36] local.INFO: TCP Data received {"connection_id":132618,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c88d30012d802e8005d395500008011027..."} 
[2026-07-15 18:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c88d30012d802e8005d395500008011027..."} 
[2026-07-15 18:09:36] local.INFO: Processing buffer {"connection_id":132618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c88d30012d802e8005d395500008011027..."} 
[2026-07-15 18:09:36] local.INFO: Packet analysis {"connection_id":132618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c8"} 
[2026-07-15 18:09:36] local.INFO: Extracted packet for processing {"connection_id":132618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c8"} 
[2026-07-15 18:09:36] local.INFO: GPS Element Parsed {"raw_longitude":763375232,"raw_latitude":97752400,"longitude_deg":76.3375232,"latitude_deg":9.77524,"altitude":8,"angle":272,"satellites":39,"speed":27,"hex_longitude":"2d802e80","hex_latitude":"05d39550","is_valid_coordinates":true} 
[2026-07-15 18:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734481408001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106725345985560576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9208946419273773056,"note":"Value kept but may cause issues"} 
[2026-07-15 18:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784119070000,"timestamp_ms":1784119070000,"timestamp_seconds":1784119070,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c88d30"} 
[2026-07-15 18:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-15 18:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 18:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 18:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734481408001,"66":13080,"167":206,"85":15104,"24":27,"16":106725345985560576,"45":-9208946419273773056},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-15 18:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 18:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 18:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734481408001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:09:36] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 18:09:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 18:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106725345985560576,"km_value":106725345985560.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9208946419273773056,"description":"Unknown IO ID 45"} 
[2026-07-15 18:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734481408001,"power":13080,"unknown_167":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9208946419273773056}} 
[2026-07-15 18:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":132618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492263,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:09:36] local.INFO: GPS data processed {"connection_id":132618,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:09:36] local.INFO: Acknowledgment sent {"connection_id":132618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:09:37] local.INFO: TCP Data received {"connection_id":132619,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c50ac0012d7f97c005afda580002006c28..."} 
[2026-07-15 18:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c50ac0012d7f97c005afda580002006c28..."} 
[2026-07-15 18:09:37] local.INFO: Processing buffer {"connection_id":132619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c50ac0012d7f97c005afda580002006c28..."} 
[2026-07-15 18:09:37] local.INFO: Packet analysis {"connection_id":132619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c5"} 
[2026-07-15 18:09:37] local.INFO: Extracted packet for processing {"connection_id":132619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c5"} 
[2026-07-15 18:09:37] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734345984001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784118840000,"timestamp_ms":1784118840000,"timestamp_seconds":1784118840,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c50ac0"} 
[2026-07-15 18:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-15 18:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18: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-07-15 18:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734345984001,"66":25875,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734345984001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:09:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:09:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734345984001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":132619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:09:37] local.INFO: GPS data processed {"connection_id":132619,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:09:37] local.INFO: Acknowledgment sent {"connection_id":132619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:09:50] local.INFO: TCP Data received {"connection_id":133653,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:09:50] local.INFO: Processing buffer {"connection_id":133653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:09:50] local.INFO: IMEI packet received {"connection_id":133653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":133653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:09:55] local.INFO: TCP Data received {"connection_id":133653,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:09:55] local.INFO: Processing buffer {"connection_id":133653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:09:55] local.INFO: IMEI packet received {"connection_id":133653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":133653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:09:57] local.INFO: TCP Data received {"connection_id":133653,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c8fe78012d18bf4007230118006200f32b..."} 
[2026-07-15 18:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c8fe78012d18bf4007230118006200f32b..."} 
[2026-07-15 18:09:57] local.INFO: Processing buffer {"connection_id":133653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c8fe78012d18bf4007230118006200f32b..."} 
[2026-07-15 18:09:57] local.INFO: Packet analysis {"connection_id":133653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c8"} 
[2026-07-15 18:09:57] local.INFO: Extracted packet for processing {"connection_id":133653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c8"} 
[2026-07-15 18:09:57] local.INFO: GPS Element Parsed {"raw_longitude":756596544,"raw_latitude":119734552,"longitude_deg":75.6596544,"latitude_deg":11.9734552,"altitude":98,"angle":243,"satellites":43,"speed":34,"hex_longitude":"2d18bf40","hex_latitude":"07230118","is_valid_coordinates":true} 
[2026-07-15 18:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734489088001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6215745390247936,"note":"Value kept but may cause issues"} 
[2026-07-15 18:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784058801788463104,"note":"Value kept but may cause issues"} 
[2026-07-15 18:09:57] 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-07-15 18:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784119099000,"timestamp_ms":1784119099000,"timestamp_seconds":1784119099,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c8fe78"} 
[2026-07-15 18:09:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:09:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-15 18:09:57] 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-07-15 18:09:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:09:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":133653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":133653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":133653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:09:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734489088001,"66":14048,"120":206,"28":31744,"24":34,"16":6215745390247936,"45":1784058801788463104},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734489088001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:09:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:09:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6215745390247936,"km_value":6215745390247.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784058801788463104,"description":"Unknown IO ID 45"} 
[2026-07-15 18:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734489088001,"power":14048,"unknown_120":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1784058801788463104}} 
[2026-07-15 18:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":133653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:09:57] local.INFO: GPS data processed {"connection_id":133653,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:09:57] local.INFO: Acknowledgment sent {"connection_id":133653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:09:59] local.INFO: TCP Data received {"connection_id":132803,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132803,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:09:59] local.INFO: Processing buffer {"connection_id":132803,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:09:59] local.INFO: IMEI packet received {"connection_id":132803,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 18:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":132803,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:10:00] local.INFO: TCP Data received {"connection_id":132620,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:10:00] local.INFO: Processing buffer {"connection_id":132620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:10:00] local.INFO: IMEI packet received {"connection_id":132620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":132620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:10:00] local.INFO: TCP Data received {"connection_id":132803,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132803,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:10:00] local.INFO: Processing buffer {"connection_id":132803,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:10:00] local.INFO: IMEI packet received {"connection_id":132803,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 18:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":132803,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:10:04] local.INFO: TCP Data received {"connection_id":132803,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132803,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:10:04] local.INFO: Processing buffer {"connection_id":132803,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:10:04] local.INFO: IMEI packet received {"connection_id":132803,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 18:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":132803,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:10:05] local.INFO: TCP Data received {"connection_id":132803,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ca1f88012d7f0cc005d335f8000100df2b..."} 
[2026-07-15 18:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ca1f88012d7f0cc005d335f8000100df2b..."} 
[2026-07-15 18:10:05] local.INFO: Processing buffer {"connection_id":132803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ca1f88012d7f0cc005d335f8000100df2b..."} 
[2026-07-15 18:10:05] local.INFO: Packet analysis {"connection_id":132803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ca"} 
[2026-07-15 18:10:05] local.INFO: Extracted packet for processing {"connection_id":132803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ca"} 
[2026-07-15 18:10:05] local.INFO: GPS Element Parsed {"raw_longitude":763301056,"raw_latitude":97727992,"longitude_deg":76.3301056,"latitude_deg":9.7727992,"altitude":1,"angle":223,"satellites":43,"speed":20,"hex_longitude":"2d7f0cc0","hex_latitude":"05d335f8","is_valid_coordinates":true} 
[2026-07-15 18:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734505984001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106729400434688000,"note":"Value kept but may cause issues"} 
[2026-07-15 18:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9161025354533521408,"note":"Value kept but may cause issues"} 
[2026-07-15 18:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784119173000,"timestamp_ms":1784119173000,"timestamp_seconds":1784119173,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ca1f88"} 
[2026-07-15 18:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-15 18:10:05] 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-07-15 18:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 18:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 18:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734505984001,"66":12917,"167":206,"85":15104,"24":20,"16":106729400434688000,"45":9161025354533521408},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-15 18:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 18:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 18:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734505984001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:10:05] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 18:10:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 18:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106729400434688000,"km_value":106729400434688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9161025354533521408,"description":"Unknown IO ID 45"} 
[2026-07-15 18:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734505984001,"power":12917,"unknown_167":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9161025354533521408}} 
[2026-07-15 18:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":132803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492266,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:10:05] local.INFO: GPS data processed {"connection_id":132803,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:10:05] local.INFO: Acknowledgment sent {"connection_id":132803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:10:05] local.INFO: TCP Data received {"connection_id":132620,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:10:05] local.INFO: Processing buffer {"connection_id":132620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:10:05] local.INFO: IMEI packet received {"connection_id":132620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":132620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:10:06] local.INFO: TCP Data received {"connection_id":132620,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c9a288012d7f97c005afda580002006c2d..."} 
[2026-07-15 18:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c9a288012d7f97c005afda580002006c2d..."} 
[2026-07-15 18:10:06] local.INFO: Processing buffer {"connection_id":132620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c9a288012d7f97c005afda580002006c2d..."} 
[2026-07-15 18:10:06] local.INFO: Packet analysis {"connection_id":132620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c9"} 
[2026-07-15 18:10:06] local.INFO: Extracted packet for processing {"connection_id":132620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c9"} 
[2026-07-15 18:10:06] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":45,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734423040001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784119141000,"timestamp_ms":1784119141000,"timestamp_seconds":1784119141,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c9a288"} 
[2026-07-15 18:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-15 18:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:10:06] 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-07-15 18:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734423040001,"66":25854,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734423040001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:10:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:10:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734423040001,"power":25854,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":132620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:10:06] local.INFO: GPS data processed {"connection_id":132620,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:10:06] local.INFO: Acknowledgment sent {"connection_id":132620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:10:28] local.INFO: TCP Data received {"connection_id":133653,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ca0430012d18774007222f08005a00d72a..."} 
[2026-07-15 18:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ca0430012d18774007222f08005a00d72a..."} 
[2026-07-15 18:10:28] local.INFO: Processing buffer {"connection_id":133653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ca0430012d18774007222f08005a00d72a..."} 
[2026-07-15 18:10:28] local.INFO: Packet analysis {"connection_id":133653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ca"} 
[2026-07-15 18:10:28] local.INFO: Extracted packet for processing {"connection_id":133653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ca"} 
[2026-07-15 18:10:28] local.INFO: GPS Element Parsed {"raw_longitude":756578112,"raw_latitude":119680776,"longitude_deg":75.6578112,"latitude_deg":11.9680776,"altitude":90,"angle":215,"satellites":42,"speed":44,"hex_longitude":"2d187740","hex_latitude":"07222f08","is_valid_coordinates":true} 
[2026-07-15 18:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734504448001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6218605838467072,"note":"Value kept but may cause issues"} 
[2026-07-15 18:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1768577678057449472,"note":"Value kept but may cause issues"} 
[2026-07-15 18:10: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-07-15 18:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784119166000,"timestamp_ms":1784119166000,"timestamp_seconds":1784119166,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ca0430"} 
[2026-07-15 18:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:10:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-15 18:10:28] 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-07-15 18:10:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":133653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":133653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":133653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:10:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734504448001,"66":14048,"120":206,"28":31744,"24":44,"16":6218605838467072,"45":1768577678057449472},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734504448001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:10:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:10:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6218605838467072,"km_value":6218605838467.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1768577678057449472,"description":"Unknown IO ID 45"} 
[2026-07-15 18:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734504448001,"power":14048,"unknown_120":206,"unknown_28":31744,"ignition":44,"odometer":null,"unknown_45":1768577678057449472}} 
[2026-07-15 18:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":133653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:10:28] local.INFO: GPS data processed {"connection_id":133653,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:10:28] local.INFO: Acknowledgment sent {"connection_id":133653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:10:36] local.INFO: TCP Data received {"connection_id":132803,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ca3ae0012d7f068005d330f0000000eb2b..."} 
[2026-07-15 18:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ca3ae0012d7f068005d330f0000000eb2b..."} 
[2026-07-15 18:10:36] local.INFO: Processing buffer {"connection_id":132803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ca3ae0012d7f068005d330f0000000eb2b..."} 
[2026-07-15 18:10:36] local.INFO: Packet analysis {"connection_id":132803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ca"} 
[2026-07-15 18:10:36] local.INFO: Extracted packet for processing {"connection_id":132803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ca"} 
[2026-07-15 18:10:36] local.INFO: GPS Element Parsed {"raw_longitude":763299456,"raw_latitude":97726704,"longitude_deg":76.3299456,"latitude_deg":9.7726704,"altitude":0,"angle":235,"satellites":43,"speed":7,"hex_longitude":"2d7f0680","hex_latitude":"05d330f0","is_valid_coordinates":true} 
[2026-07-15 18:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734508288001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106729499218935808,"note":"Value kept but may cause issues"} 
[2026-07-15 18:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9154903273788274688,"note":"Value kept but may cause issues"} 
[2026-07-15 18:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784119180000,"timestamp_ms":1784119180000,"timestamp_seconds":1784119180,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ca3ae0"} 
[2026-07-15 18:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-15 18:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 18:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 18:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734508288001,"66":12743,"167":206,"85":15104,"24":7,"16":106729499218935808,"45":9154903273788274688},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-15 18:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 18:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 18:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734508288001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:10:36] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 18:10:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 18:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106729499218935808,"km_value":106729499218935.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9154903273788274688,"description":"Unknown IO ID 45"} 
[2026-07-15 18:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734508288001,"power":12743,"unknown_167":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9154903273788274688}} 
[2026-07-15 18:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":132803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492269,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:10:36] local.INFO: GPS data processed {"connection_id":132803,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:10:36] local.INFO: Acknowledgment sent {"connection_id":132803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:10:37] local.INFO: TCP Data received {"connection_id":132620,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c9a288012d7f97c005afda580002006c2d..."} 
[2026-07-15 18:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c9a288012d7f97c005afda580002006c2d..."} 
[2026-07-15 18:10:37] local.INFO: Processing buffer {"connection_id":132620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c9a288012d7f97c005afda580002006c2d..."} 
[2026-07-15 18:10:37] local.INFO: Packet analysis {"connection_id":132620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c9"} 
[2026-07-15 18:10:37] local.INFO: Extracted packet for processing {"connection_id":132620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c9"} 
[2026-07-15 18:10:37] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":45,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 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-07-15 18:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734423040001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784119141000,"timestamp_ms":1784119141000,"timestamp_seconds":1784119141,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c9a288"} 
[2026-07-15 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-07-15 18:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-15 18:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 18:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734423040001,"66":25854,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734423040001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:10:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:10:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734423040001,"power":25854,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":132620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:10:37] local.INFO: GPS data processed {"connection_id":132620,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:10:37] local.INFO: Acknowledgment sent {"connection_id":132620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:10:50] local.INFO: TCP Data received {"connection_id":132804,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:10:50] local.INFO: Processing buffer {"connection_id":132804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:10:50] local.INFO: IMEI packet received {"connection_id":132804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":132804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:10:55] local.INFO: TCP Data received {"connection_id":132804,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:10:55] local.INFO: Processing buffer {"connection_id":132804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:10:55] local.INFO: IMEI packet received {"connection_id":132804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":132804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:10:57] local.INFO: TCP Data received {"connection_id":132804,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ca2370012d1862c0072210b0005300d52b..."} 
[2026-07-15 18:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ca2370012d1862c0072210b0005300d52b..."} 
[2026-07-15 18:10:57] local.INFO: Processing buffer {"connection_id":132804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ca2370012d1862c0072210b0005300d52b..."} 
[2026-07-15 18:10:57] local.INFO: Packet analysis {"connection_id":132804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ca"} 
[2026-07-15 18:10:57] local.INFO: Extracted packet for processing {"connection_id":132804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ca"} 
[2026-07-15 18:10:57] local.INFO: GPS Element Parsed {"raw_longitude":756572864,"raw_latitude":119673008,"longitude_deg":75.6572864,"latitude_deg":11.9673008,"altitude":83,"angle":213,"satellites":43,"speed":44,"hex_longitude":"2d1862c0","hex_latitude":"072210b0","is_valid_coordinates":true} 
[2026-07-15 18:10:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:10:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734506496001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:10:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6219061105000448,"note":"Value kept but may cause issues"} 
[2026-07-15 18:10:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762948178521294848,"note":"Value kept but may cause issues"} 
[2026-07-15 18:10:57] 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-07-15 18:10:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784119174000,"timestamp_ms":1784119174000,"timestamp_seconds":1784119174,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ca2370"} 
[2026-07-15 18:10:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:10:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:10:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-15 18:10:57] 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-07-15 18:10:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:10:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:10:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:10:57] local.INFO: Teltonika packet parsed successfully {"connection_id":132804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:10:57] local.INFO: Passing IMEI to GPS processor {"connection_id":132804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:10:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":132804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:10:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:10:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:10:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:10:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734506496001,"66":13537,"120":206,"28":31744,"24":44,"16":6219061105000448,"45":1762948178521294848},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:10:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:10:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:10:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734506496001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:10:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:10:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:10:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6219061105000448,"km_value":6219061105000.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:10:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762948178521294848,"description":"Unknown IO ID 45"} 
[2026-07-15 18:10:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734506496001,"power":13537,"unknown_120":206,"unknown_28":31744,"ignition":44,"odometer":null,"unknown_45":1762948178521294848}} 
[2026-07-15 18:10:57] local.INFO: DEBUG: GPS processor result {"connection_id":132804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:10:57] local.INFO: GPS data processed {"connection_id":132804,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:10:57] local.INFO: Acknowledgment sent {"connection_id":132804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:10:59] local.INFO: TCP Data received {"connection_id":132621,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132621,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:10:59] local.INFO: Processing buffer {"connection_id":132621,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:10:59] local.INFO: IMEI packet received {"connection_id":132621,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 18:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":132621,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:11:00] local.INFO: TCP Data received {"connection_id":133654,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:11:00] local.INFO: Processing buffer {"connection_id":133654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:11:00] local.INFO: IMEI packet received {"connection_id":133654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":133654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:11:04] local.INFO: TCP Data received {"connection_id":132622,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132622,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:11:04] local.INFO: Processing buffer {"connection_id":132622,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:11:04] local.INFO: IMEI packet received {"connection_id":132622,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 18:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":132622,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:11:05] local.INFO: TCP Data received {"connection_id":133654,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:11:05] local.INFO: Processing buffer {"connection_id":133654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:11:05] local.INFO: IMEI packet received {"connection_id":133654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":133654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:11:06] local.INFO: TCP Data received {"connection_id":133654,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c9a288012d7f97c005afda580002006c2d..."} 
[2026-07-15 18:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c9a288012d7f97c005afda580002006c2d..."} 
[2026-07-15 18:11:06] local.INFO: Processing buffer {"connection_id":133654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c9a288012d7f97c005afda580002006c2d..."} 
[2026-07-15 18:11:06] local.INFO: Packet analysis {"connection_id":133654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c9"} 
[2026-07-15 18:11:06] local.INFO: Extracted packet for processing {"connection_id":133654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c9"} 
[2026-07-15 18:11:06] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":45,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734423040001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784119141000,"timestamp_ms":1784119141000,"timestamp_seconds":1784119141,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c9a288"} 
[2026-07-15 18:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-15 18:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:11:06] 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-07-15 18:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734423040001,"66":25854,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734423040001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:11:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:11:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734423040001,"power":25854,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":133654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:11:06] local.INFO: GPS data processed {"connection_id":133654,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:11:06] local.INFO: Acknowledgment sent {"connection_id":133654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:11:09] local.INFO: TCP Data received {"connection_id":132622,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132622,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:11:09] local.INFO: Processing buffer {"connection_id":132622,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:11:09] local.INFO: IMEI packet received {"connection_id":132622,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 18:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":132622,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:11:10] local.INFO: TCP Data received {"connection_id":132622,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ca42b0012d7f058005d33068000000f82c..."} 
[2026-07-15 18:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ca42b0012d7f058005d33068000000f82c..."} 
[2026-07-15 18:11:10] local.INFO: Processing buffer {"connection_id":132622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ca42b0012d7f058005d33068000000f82c..."} 
[2026-07-15 18:11:10] local.INFO: Packet analysis {"connection_id":132622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ca"} 
[2026-07-15 18:11:10] local.INFO: Extracted packet for processing {"connection_id":132622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ca"} 
[2026-07-15 18:11:10] local.INFO: GPS Element Parsed {"raw_longitude":763299200,"raw_latitude":97726568,"longitude_deg":76.32992,"latitude_deg":9.7726568,"altitude":0,"angle":248,"satellites":44,"speed":6,"hex_longitude":"2d7f0580","hex_latitude":"05d33068","is_valid_coordinates":true} 
[2026-07-15 18:11: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-07-15 18:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734510080001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106729516398804992,"note":"Value kept but may cause issues"} 
[2026-07-15 18:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9153144055183503360,"note":"Value kept but may cause issues"} 
[2026-07-15 18:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784119182000,"timestamp_ms":1784119182000,"timestamp_seconds":1784119182,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ca42b0"} 
[2026-07-15 18:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:11: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":199,"data_length":795,"current_offset":136} 
[2026-07-15 18:11:10] 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-07-15 18:11: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-07-15 18:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":132622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":132622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":132622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 18:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 18:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734510080001,"66":12613,"167":206,"85":15104,"24":6,"16":106729516398804992,"45":9153144055183503360},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-15 18:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 18:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 18:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734510080001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:11:10] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 18:11:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 18:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106729516398804992,"km_value":106729516398804.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9153144055183503360,"description":"Unknown IO ID 45"} 
[2026-07-15 18:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734510080001,"power":12613,"unknown_167":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9153144055183503360}} 
[2026-07-15 18:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":132622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492273,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:11:10] local.INFO: GPS data processed {"connection_id":132622,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:11:10] local.INFO: Acknowledgment sent {"connection_id":132622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:11:29] local.INFO: TCP Data received {"connection_id":132804,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ca4698012d184d000721f098004e00d62a..."} 
[2026-07-15 18:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ca4698012d184d000721f098004e00d62a..."} 
[2026-07-15 18:11:29] local.INFO: Processing buffer {"connection_id":132804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ca4698012d184d000721f098004e00d62a..."} 
[2026-07-15 18:11:29] local.INFO: Packet analysis {"connection_id":132804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ca"} 
[2026-07-15 18:11:29] local.INFO: Extracted packet for processing {"connection_id":132804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ca"} 
[2026-07-15 18:11:29] local.INFO: GPS Element Parsed {"raw_longitude":756567296,"raw_latitude":119664792,"longitude_deg":75.6567296,"latitude_deg":11.9664792,"altitude":78,"angle":214,"satellites":42,"speed":40,"hex_longitude":"2d184d00","hex_latitude":"0721f098","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:11:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734508544001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:11:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6219537846370304,"note":"Value kept but may cause issues"} 
[2026-07-15 18:11:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757177941496737792,"note":"Value kept but may cause issues"} 
[2026-07-15 18:11:29] 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-07-15 18:11:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784119183000,"timestamp_ms":1784119183000,"timestamp_seconds":1784119183,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ca4698"} 
[2026-07-15 18:11:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:11:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-07-15 18:11:29] 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-07-15 18: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-07-15 18:11:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:11:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:11:29] local.INFO: Teltonika packet parsed successfully {"connection_id":132804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:11:29] local.INFO: Passing IMEI to GPS processor {"connection_id":132804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:11:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":132804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:11:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:11:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:11:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:11:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734508544001,"66":13200,"120":206,"28":31744,"24":40,"16":6219537846370304,"45":1757177941496737792},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:11:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:11:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:11:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734508544001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:11:29] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:11:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:11:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6219537846370304,"km_value":6219537846370.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:11:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757177941496737792,"description":"Unknown IO ID 45"} 
[2026-07-15 18:11:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734508544001,"power":13200,"unknown_120":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1757177941496737792}} 
[2026-07-15 18:11:29] local.INFO: DEBUG: GPS processor result {"connection_id":132804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:11:29] local.INFO: GPS data processed {"connection_id":132804,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:11:29] local.INFO: Acknowledgment sent {"connection_id":132804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:11:34] local.INFO: TCP Data received {"connection_id":135012,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135012,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:11:34] local.INFO: Processing buffer {"connection_id":135012,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:11:34] local.INFO: IMEI packet received {"connection_id":135012,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 18:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":135012,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:11:37] local.INFO: TCP Data received {"connection_id":133654,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c9a288012d7f97c005afda580002006c2d..."} 
[2026-07-15 18:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c9a288012d7f97c005afda580002006c2d..."} 
[2026-07-15 18:11:37] local.INFO: Processing buffer {"connection_id":133654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c9a288012d7f97c005afda580002006c2d..."} 
[2026-07-15 18:11:37] local.INFO: Packet analysis {"connection_id":133654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c9"} 
[2026-07-15 18:11:37] local.INFO: Extracted packet for processing {"connection_id":133654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c9"} 
[2026-07-15 18:11:37] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":45,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734423040001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784119141000,"timestamp_ms":1784119141000,"timestamp_seconds":1784119141,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c9a288"} 
[2026-07-15 18:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-15 18:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734423040001,"66":25854,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734423040001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:11:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:11:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734423040001,"power":25854,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":133654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:11:37] local.INFO: GPS data processed {"connection_id":133654,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:11:37] local.INFO: Acknowledgment sent {"connection_id":133654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:11:41] local.INFO: TCP Data received {"connection_id":132622,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ca7190012d7eff8005d32ff0000001152c..."} 
[2026-07-15 18:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ca7190012d7eff8005d32ff0000001152c..."} 
[2026-07-15 18:11:41] local.INFO: Processing buffer {"connection_id":132622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ca7190012d7eff8005d32ff0000001152c..."} 
[2026-07-15 18:11:41] local.INFO: Packet analysis {"connection_id":132622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ca"} 
[2026-07-15 18:11:41] local.INFO: Extracted packet for processing {"connection_id":132622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ca"} 
[2026-07-15 18:11:41] local.INFO: GPS Element Parsed {"raw_longitude":763297664,"raw_latitude":97726448,"longitude_deg":76.3297664,"latitude_deg":9.7726448,"altitude":0,"angle":277,"satellites":44,"speed":6,"hex_longitude":"2d7eff80","hex_latitude":"05d32ff0","is_valid_coordinates":true} 
[2026-07-15 18:11: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-07-15 18:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734510592001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106729589413249024,"note":"Value kept but may cause issues"} 
[2026-07-15 18:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9152862580206757888,"note":"Value kept but may cause issues"} 
[2026-07-15 18:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784119194000,"timestamp_ms":1784119194000,"timestamp_seconds":1784119194,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ca7190"} 
[2026-07-15 18:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-15 18:11:41] 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-07-15 18:11: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-07-15 18:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 18:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 18:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734510592001,"66":12645,"167":206,"85":15104,"24":6,"16":106729589413249024,"45":9152862580206757888},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-15 18:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 18:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 18:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734510592001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:11:41] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 18:11:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 18:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106729589413249024,"km_value":106729589413249.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9152862580206757888,"description":"Unknown IO ID 45"} 
[2026-07-15 18:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734510592001,"power":12645,"unknown_167":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9152862580206757888}} 
[2026-07-15 18:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":132622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492276,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:11:41] local.INFO: GPS data processed {"connection_id":132622,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:11:41] local.INFO: Acknowledgment sent {"connection_id":132622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:11:50] local.INFO: TCP Data received {"connection_id":133655,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:11:50] local.INFO: Processing buffer {"connection_id":133655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:11:50] local.INFO: IMEI packet received {"connection_id":133655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":133655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:11:55] local.INFO: TCP Data received {"connection_id":133655,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:11:55] local.INFO: Processing buffer {"connection_id":133655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:11:55] local.INFO: IMEI packet received {"connection_id":133655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":133655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:11:57] local.INFO: TCP Data received {"connection_id":133655,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ca6da8012d1838400721d1c8004900d62c..."} 
[2026-07-15 18:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ca6da8012d1838400721d1c8004900d62c..."} 
[2026-07-15 18:11:57] local.INFO: Processing buffer {"connection_id":133655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ca6da8012d1838400721d1c8004900d62c..."} 
[2026-07-15 18:11:57] local.INFO: Packet analysis {"connection_id":133655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ca"} 
[2026-07-15 18:11:57] local.INFO: Extracted packet for processing {"connection_id":133655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ca"} 
[2026-07-15 18:11:57] local.INFO: GPS Element Parsed {"raw_longitude":756561984,"raw_latitude":119656904,"longitude_deg":75.6561984,"latitude_deg":11.9656904,"altitude":73,"angle":214,"satellites":44,"speed":35,"hex_longitude":"2d183840","hex_latitude":"0721d1c8","is_valid_coordinates":true} 
[2026-07-15 18:11:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:11:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734510848001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:11:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6219997407870976,"note":"Value kept but may cause issues"} 
[2026-07-15 18:11:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1751055860751177728,"note":"Value kept but may cause issues"} 
[2026-07-15 18:11:57] 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-07-15 18:11:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784119193000,"timestamp_ms":1784119193000,"timestamp_seconds":1784119193,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ca6da8"} 
[2026-07-15 18:11:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:11:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:11:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-07-15 18:11:57] 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-07-15 18:11:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:11:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:11:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:11:57] local.INFO: Teltonika packet parsed successfully {"connection_id":133655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:11:57] local.INFO: Passing IMEI to GPS processor {"connection_id":133655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:11:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":133655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:11:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:11:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:11:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:11:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734510848001,"66":13167,"120":206,"28":31744,"24":35,"16":6219997407870976,"45":1751055860751177728},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:11:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:11:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:11:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734510848001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:11:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:11:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:11:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6219997407870976,"km_value":6219997407870.976,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:11:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1751055860751177728,"description":"Unknown IO ID 45"} 
[2026-07-15 18:11:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734510848001,"power":13167,"unknown_120":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1751055860751177728}} 
[2026-07-15 18:11:57] local.INFO: DEBUG: GPS processor result {"connection_id":133655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:11:57] local.INFO: GPS data processed {"connection_id":133655,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:11:57] local.INFO: Acknowledgment sent {"connection_id":133655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:11:59] local.INFO: TCP Data received {"connection_id":132623,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132623,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:11:59] local.INFO: Processing buffer {"connection_id":132623,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:11:59] local.INFO: IMEI packet received {"connection_id":132623,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 18:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":132623,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:12:00] local.INFO: TCP Data received {"connection_id":132624,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:12:00] local.INFO: Processing buffer {"connection_id":132624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:12:00] local.INFO: IMEI packet received {"connection_id":132624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":132624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:12:04] local.INFO: TCP Data received {"connection_id":132623,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132623,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:12:04] local.INFO: Processing buffer {"connection_id":132623,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:12:04] local.INFO: IMEI packet received {"connection_id":132623,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 18:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":132623,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:12:05] local.INFO: TCP Data received {"connection_id":132623,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ca7d48012d7efcc005d32ff8000001042b..."} 
[2026-07-15 18:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ca7d48012d7efcc005d32ff8000001042b..."} 
[2026-07-15 18:12:05] local.INFO: Processing buffer {"connection_id":132623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ca7d48012d7efcc005d32ff8000001042b..."} 
[2026-07-15 18:12:05] local.INFO: Packet analysis {"connection_id":132623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ca"} 
[2026-07-15 18:12:05] local.INFO: Extracted packet for processing {"connection_id":132623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ca"} 
[2026-07-15 18:12:05] local.INFO: GPS Element Parsed {"raw_longitude":763296960,"raw_latitude":97726456,"longitude_deg":76.329696,"latitude_deg":9.7726456,"altitude":0,"angle":260,"satellites":43,"speed":9,"hex_longitude":"2d7efcc0","hex_latitude":"05d32ff8","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734513664001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106729623772987392,"note":"Value kept but may cause issues"} 
[2026-07-15 18:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9151173730346463232,"note":"Value kept but may cause issues"} 
[2026-07-15 18:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784119197000,"timestamp_ms":1784119197000,"timestamp_seconds":1784119197,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ca7d48"} 
[2026-07-15 18:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-15 18:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18: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-07-15 18:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 18:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 18:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734513664001,"66":13048,"167":206,"85":15104,"24":9,"16":106729623772987392,"45":9151173730346463232},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-15 18:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 18:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 18:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734513664001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:12:05] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-15 18:12:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 18:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106729623772987392,"km_value":106729623772987.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9151173730346463232,"description":"Unknown IO ID 45"} 
[2026-07-15 18:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734513664001,"power":13048,"unknown_167":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9151173730346463232}} 
[2026-07-15 18:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":132623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492278,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:12:05] local.INFO: GPS data processed {"connection_id":132623,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:12:05] local.INFO: Acknowledgment sent {"connection_id":132623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:12:05] local.INFO: TCP Data received {"connection_id":132624,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:12:05] local.INFO: Processing buffer {"connection_id":132624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:12:05] local.INFO: IMEI packet received {"connection_id":132624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":132624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:12:06] local.INFO: TCP Data received {"connection_id":132624,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c9a288012d7f97c005afda580002006c2d..."} 
[2026-07-15 18:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c9a288012d7f97c005afda580002006c2d..."} 
[2026-07-15 18:12:06] local.INFO: Processing buffer {"connection_id":132624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c9a288012d7f97c005afda580002006c2d..."} 
[2026-07-15 18:12:06] local.INFO: Packet analysis {"connection_id":132624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c9"} 
[2026-07-15 18:12:06] local.INFO: Extracted packet for processing {"connection_id":132624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c9"} 
[2026-07-15 18:12:06] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":45,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734423040001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784119141000,"timestamp_ms":1784119141000,"timestamp_seconds":1784119141,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c9a288"} 
[2026-07-15 18:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-15 18:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18: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-07-15 18:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:12:06] 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-07-15 18:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734423040001,"66":25854,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734423040001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:12:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:12:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734423040001,"power":25854,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":132624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:12:06] local.INFO: GPS data processed {"connection_id":132624,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:12:06] local.INFO: Acknowledgment sent {"connection_id":132624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:12:30] local.INFO: TCP Data received {"connection_id":133655,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ca94b8012d1828c00721b930004600c82c..."} 
[2026-07-15 18:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ca94b8012d1828c00721b930004600c82c..."} 
[2026-07-15 18:12:30] local.INFO: Processing buffer {"connection_id":133655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ca94b8012d1828c00721b930004600c82c..."} 
[2026-07-15 18:12:30] local.INFO: Packet analysis {"connection_id":133655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ca"} 
[2026-07-15 18:12:30] local.INFO: Extracted packet for processing {"connection_id":133655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ca"} 
[2026-07-15 18:12:30] local.INFO: GPS Element Parsed {"raw_longitude":756558016,"raw_latitude":119650608,"longitude_deg":75.6558016,"latitude_deg":11.9650608,"altitude":70,"angle":200,"satellites":44,"speed":16,"hex_longitude":"2d1828c0","hex_latitude":"0721b930","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734513408001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6220353890156544,"note":"Value kept but may cause issues"} 
[2026-07-15 18:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1745215254982412288,"note":"Value kept but may cause issues"} 
[2026-07-15 18:12:30] 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-07-15 18:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784119203000,"timestamp_ms":1784119203000,"timestamp_seconds":1784119203,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ca94b8"} 
[2026-07-15 18:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:12: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-07-15 18: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-15 18:12:30] 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-07-15 18: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-07-15 18:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":133655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":133655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":133655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:12:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734513408001,"66":13156,"120":206,"28":31744,"24":16,"16":6220353890156544,"45":1745215254982412288},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734513408001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:12:30] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:12:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6220353890156544,"km_value":6220353890156.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1745215254982412288,"description":"Unknown IO ID 45"} 
[2026-07-15 18:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734513408001,"power":13156,"unknown_120":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1745215254982412288}} 
[2026-07-15 18:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":133655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:12:30] local.INFO: GPS data processed {"connection_id":133655,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:12:30] local.INFO: Acknowledgment sent {"connection_id":133655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:12:36] local.INFO: TCP Data received {"connection_id":132623,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f65cc9c40012d7e594005d35310000801302a..."} 
[2026-07-15 18:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65cc9c40012d7e594005d35310000801302a..."} 
[2026-07-15 18:12:36] local.INFO: Processing buffer {"connection_id":132623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65cc9c40012d7e594005d35310000801302a..."} 
[2026-07-15 18:12:36] local.INFO: Packet analysis {"connection_id":132623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65cc"} 
[2026-07-15 18:12:36] local.INFO: Extracted packet for processing {"connection_id":132623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65cc"} 
[2026-07-15 18:12:36] local.INFO: GPS Element Parsed {"raw_longitude":763255104,"raw_latitude":97735440,"longitude_deg":76.3255104,"latitude_deg":9.773544,"altitude":8,"angle":304,"satellites":42,"speed":15,"hex_longitude":"2d7e5940","hex_latitude":"05d35310","is_valid_coordinates":true} 
[2026-07-15 18:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734549248001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106732617365192704,"note":"Value kept but may cause issues"} 
[2026-07-15 18:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9105434046633072640,"note":"Value kept but may cause issues"} 
[2026-07-15 18:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784119336000,"timestamp_ms":1784119336000,"timestamp_seconds":1784119336,"priority":1,"record_length":96,"hex_timestamp":"0000019f65cc9c40"} 
[2026-07-15 18:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-07-15 18:12:36] 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-07-15 18:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 18:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 18:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734549248001,"66":12298,"109":206,"85":15104,"24":15,"16":106732617365192704,"45":9105434046633072640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-15 18:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 18:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 18:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734549248001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:12:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-15 18:12:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 18:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106732617365192704,"km_value":106732617365192.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9105434046633072640,"description":"Unknown IO ID 45"} 
[2026-07-15 18:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734549248001,"power":12298,"unknown_109":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":9105434046633072640}} 
[2026-07-15 18:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":132623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492281,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:12:36] local.INFO: GPS data processed {"connection_id":132623,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:12:36] local.INFO: Acknowledgment sent {"connection_id":132623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:12:37] local.INFO: TCP Data received {"connection_id":132624,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c9a288012d7f97c005afda580002006c2d..."} 
[2026-07-15 18:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c9a288012d7f97c005afda580002006c2d..."} 
[2026-07-15 18:12:37] local.INFO: Processing buffer {"connection_id":132624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c9a288012d7f97c005afda580002006c2d..."} 
[2026-07-15 18:12:37] local.INFO: Packet analysis {"connection_id":132624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c9"} 
[2026-07-15 18:12:37] local.INFO: Extracted packet for processing {"connection_id":132624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c9"} 
[2026-07-15 18:12:37] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":45,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734423040001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784119141000,"timestamp_ms":1784119141000,"timestamp_seconds":1784119141,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c9a288"} 
[2026-07-15 18:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-15 18:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18: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-07-15 18:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734423040001,"66":25854,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734423040001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:12:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:12:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734423040001,"power":25854,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":132624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:12:37] local.INFO: GPS data processed {"connection_id":132624,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:12:37] local.INFO: Acknowledgment sent {"connection_id":132624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:12:50] local.INFO: TCP Data received {"connection_id":132805,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:12:50] local.INFO: Processing buffer {"connection_id":132805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:12:50] local.INFO: IMEI packet received {"connection_id":132805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":132805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:12:51] local.INFO: TCP Data received {"connection_id":132805,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:12:51] local.INFO: Processing buffer {"connection_id":132805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:12:51] local.INFO: IMEI packet received {"connection_id":132805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":132805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:12:55] local.INFO: TCP Data received {"connection_id":132805,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:12:55] local.INFO: Processing buffer {"connection_id":132805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:12:55] local.INFO: IMEI packet received {"connection_id":132805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":132805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:12:56] local.INFO: TCP Data received {"connection_id":132805,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65caa458012d1827400721b560004600d72d..."} 
[2026-07-15 18:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65caa458012d1827400721b560004600d72d..."} 
[2026-07-15 18:12:56] local.INFO: Processing buffer {"connection_id":132805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65caa458012d1827400721b560004600d72d..."} 
[2026-07-15 18:12:56] local.INFO: Packet analysis {"connection_id":132805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ca"} 
[2026-07-15 18:12:56] local.INFO: Extracted packet for processing {"connection_id":132805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ca"} 
[2026-07-15 18:12:56] local.INFO: GPS Element Parsed {"raw_longitude":756557632,"raw_latitude":119649632,"longitude_deg":75.6557632,"latitude_deg":11.9649632,"altitude":70,"angle":215,"satellites":45,"speed":6,"hex_longitude":"2d182740","hex_latitude":"0721b560","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734515968001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6220405429764096,"note":"Value kept but may cause issues"} 
[2026-07-15 18:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740852392841785344,"note":"Value kept but may cause issues"} 
[2026-07-15 18:12: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-07-15 18:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784119207000,"timestamp_ms":1784119207000,"timestamp_seconds":1784119207,"priority":1,"record_length":96,"hex_timestamp":"0000019f65caa458"} 
[2026-07-15 18:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:12:56] 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-07-15 18: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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-07-15 18:12:56] 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-07-15 18: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-07-15 18:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:12:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734515968001,"66":12711,"120":206,"28":31744,"24":6,"16":6220405429764096,"45":1740852392841785344},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734515968001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:12:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:12:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6220405429764096,"km_value":6220405429764.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740852392841785344,"description":"Unknown IO ID 45"} 
[2026-07-15 18:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734515968001,"power":12711,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1740852392841785344}} 
[2026-07-15 18:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":132805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:12:56] local.INFO: GPS data processed {"connection_id":132805,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:12:56] local.INFO: Acknowledgment sent {"connection_id":132805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:12:59] local.INFO: TCP Data received {"connection_id":135014,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135014,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:12:59] local.INFO: Processing buffer {"connection_id":135014,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:12:59] local.INFO: IMEI packet received {"connection_id":135014,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 18:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":135014,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:12:59] local.INFO: TCP Data received {"connection_id":135014,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135014,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:12:59] local.INFO: Processing buffer {"connection_id":135014,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:12:59] local.INFO: IMEI packet received {"connection_id":135014,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 18:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":135014,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:13:00] local.INFO: TCP Data received {"connection_id":135014,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135014,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:13:00] local.INFO: Processing buffer {"connection_id":135014,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:13:00] local.INFO: IMEI packet received {"connection_id":135014,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 18:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":135014,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:13:00] local.INFO: TCP Data received {"connection_id":132806,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:13:00] local.INFO: Processing buffer {"connection_id":132806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:13:00] local.INFO: IMEI packet received {"connection_id":132806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":132806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:13:01] local.INFO: TCP Data received {"connection_id":135014,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135014,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:13:01] local.INFO: Processing buffer {"connection_id":135014,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:13:01] local.INFO: IMEI packet received {"connection_id":135014,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 18:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":135014,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:13:05] local.INFO: TCP Data received {"connection_id":132806,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:13:05] local.INFO: Processing buffer {"connection_id":132806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:13:05] local.INFO: IMEI packet received {"connection_id":132806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":132806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:13:06] local.INFO: TCP Data received {"connection_id":132806,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c9a288012d7f97c005afda580002006c2d..."} 
[2026-07-15 18:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c9a288012d7f97c005afda580002006c2d..."} 
[2026-07-15 18:13:06] local.INFO: Processing buffer {"connection_id":132806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c9a288012d7f97c005afda580002006c2d..."} 
[2026-07-15 18:13:06] local.INFO: Packet analysis {"connection_id":132806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c9"} 
[2026-07-15 18:13:06] local.INFO: Extracted packet for processing {"connection_id":132806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c9"} 
[2026-07-15 18:13:06] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":45,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734423040001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784119141000,"timestamp_ms":1784119141000,"timestamp_seconds":1784119141,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c9a288"} 
[2026-07-15 18:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-15 18:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:13:06] 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-07-15 18:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734423040001,"66":25854,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734423040001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:13:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:13:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734423040001,"power":25854,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":132806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:13:06] local.INFO: GPS data processed {"connection_id":132806,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:13:06] local.INFO: Acknowledgment sent {"connection_id":132806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:13:27] local.INFO: TCP Data received {"connection_id":132805,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65caf660012d1826800721b480004700d729..."} 
[2026-07-15 18:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65caf660012d1826800721b480004700d729..."} 
[2026-07-15 18:13:27] local.INFO: Processing buffer {"connection_id":132805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65caf660012d1826800721b480004700d729..."} 
[2026-07-15 18:13:27] local.INFO: Packet analysis {"connection_id":132805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ca"} 
[2026-07-15 18:13:27] local.INFO: Extracted packet for processing {"connection_id":132805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ca"} 
[2026-07-15 18:13:27] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119649408,"longitude_deg":75.655744,"latitude_deg":11.9649408,"altitude":71,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721b480","is_valid_coordinates":true} 
[2026-07-15 18:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734516992001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6220426904600576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740430180376469504,"note":"Value kept but may cause issues"} 
[2026-07-15 18:13:27] 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-07-15 18:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784119228000,"timestamp_ms":1784119228000,"timestamp_seconds":1784119228,"priority":1,"record_length":96,"hex_timestamp":"0000019f65caf660"} 
[2026-07-15 18:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:13:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-15 18:13:27] 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-07-15 18:13:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":132805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":132805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":132805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734516992001,"66":13102,"120":206,"28":31744,"24":0,"16":6220426904600576,"45":1740430180376469504},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734516992001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:13:27] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:13:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6220426904600576,"km_value":6220426904600.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740430180376469504,"description":"Unknown IO ID 45"} 
[2026-07-15 18:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734516992001,"power":13102,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740430180376469504}} 
[2026-07-15 18:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":132805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:13:28] local.INFO: GPS data processed {"connection_id":132805,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:13:28] local.INFO: Acknowledgment sent {"connection_id":132805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:13:37] local.INFO: TCP Data received {"connection_id":132806,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f65c9a288012d7f97c005afda580002006c2d..."} 
[2026-07-15 18:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65c9a288012d7f97c005afda580002006c2d..."} 
[2026-07-15 18:13:37] local.INFO: Processing buffer {"connection_id":132806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65c9a288012d7f97c005afda580002006c2d..."} 
[2026-07-15 18:13:37] local.INFO: Packet analysis {"connection_id":132806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65c9"} 
[2026-07-15 18:13:37] local.INFO: Extracted packet for processing {"connection_id":132806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65c9"} 
[2026-07-15 18:13:37] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":45,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734423040001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784119141000,"timestamp_ms":1784119141000,"timestamp_seconds":1784119141,"priority":1,"record_length":96,"hex_timestamp":"0000019f65c9a288"} 
[2026-07-15 18:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-15 18:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734423040001,"66":25854,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734423040001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:13:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:13:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734423040001,"power":25854,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":132806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:13:37] local.INFO: GPS data processed {"connection_id":132806,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:13:37] local.INFO: Acknowledgment sent {"connection_id":132806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:13:55] local.INFO: TCP Data received {"connection_id":135015,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:13:55] local.INFO: Processing buffer {"connection_id":135015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:13:55] local.INFO: IMEI packet received {"connection_id":135015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":135015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:13:55] local.INFO: TCP Data received {"connection_id":135015,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:13:55] local.INFO: Processing buffer {"connection_id":135015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:13:55] local.INFO: IMEI packet received {"connection_id":135015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":135015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:14:00] local.INFO: TCP Data received {"connection_id":135015,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:14:00] local.INFO: Processing buffer {"connection_id":135015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:14:00] local.INFO: IMEI packet received {"connection_id":135015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":135015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:14:02] local.INFO: TCP Data received {"connection_id":135015,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65cb4868012d1826800721b480004700d72a..."} 
[2026-07-15 18:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65cb4868012d1826800721b480004700d72a..."} 
[2026-07-15 18:14:02] local.INFO: Processing buffer {"connection_id":135015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65cb4868012d1826800721b480004700d72a..."} 
[2026-07-15 18:14:02] local.INFO: Packet analysis {"connection_id":135015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65cb"} 
[2026-07-15 18:14:02] local.INFO: Extracted packet for processing {"connection_id":135015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65cb"} 
[2026-07-15 18:14:02] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119649408,"longitude_deg":75.655744,"latitude_deg":11.9649408,"altitude":71,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721b480","is_valid_coordinates":true} 
[2026-07-15 18:14: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-07-15 18:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734522368001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6220426904600576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074143879168,"note":"Value kept but may cause issues"} 
[2026-07-15 18:14:02] 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-07-15 18:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784119249000,"timestamp_ms":1784119249000,"timestamp_seconds":1784119249,"priority":1,"record_length":96,"hex_timestamp":"0000019f65cb4868"} 
[2026-07-15 18:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-15 18:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:14: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-07-15 18:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":135015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":135015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":135015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734522368001,"66":13048,"120":206,"28":31744,"24":0,"16":6220426904600576,"45":1740219074143879168},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734522368001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:14:02] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:14:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6220426904600576,"km_value":6220426904600.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074143879168,"description":"Unknown IO ID 45"} 
[2026-07-15 18:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734522368001,"power":13048,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740219074143879168}} 
[2026-07-15 18:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":135015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:14:02] local.INFO: GPS data processed {"connection_id":135015,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:14:02] local.INFO: Acknowledgment sent {"connection_id":135015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:14:06] local.INFO: TCP Data received {"connection_id":135015,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65cb9a70012d1826800721b480004700d72b..."} 
[2026-07-15 18:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65cb9a70012d1826800721b480004700d72b..."} 
[2026-07-15 18:14:06] local.INFO: Processing buffer {"connection_id":135015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65cb9a70012d1826800721b480004700d72b..."} 
[2026-07-15 18:14:06] local.INFO: Packet analysis {"connection_id":135015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65cb"} 
[2026-07-15 18:14:06] local.INFO: Extracted packet for processing {"connection_id":135015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65cb"} 
[2026-07-15 18:14:06] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119649408,"longitude_deg":75.655744,"latitude_deg":11.9649408,"altitude":71,"angle":215,"satellites":43,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721b480","is_valid_coordinates":true} 
[2026-07-15 18:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734527744001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6220426904600576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074143879168,"note":"Value kept but may cause issues"} 
[2026-07-15 18:14:06] 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-07-15 18:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784119270000,"timestamp_ms":1784119270000,"timestamp_seconds":1784119270,"priority":1,"record_length":96,"hex_timestamp":"0000019f65cb9a70"} 
[2026-07-15 18:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-15 18:14:06] 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-07-15 18:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734527744001,"66":13015,"120":206,"28":31744,"24":0,"16":6220426904600576,"45":1740219074143879168},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734527744001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:14:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:14:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6220426904600576,"km_value":6220426904600.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074143879168,"description":"Unknown IO ID 45"} 
[2026-07-15 18:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734527744001,"power":13015,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740219074143879168}} 
[2026-07-15 18:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":135015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:14:06] local.INFO: GPS data processed {"connection_id":135015,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:14:06] local.INFO: Acknowledgment sent {"connection_id":135015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:14:50] local.INFO: TCP Data received {"connection_id":132807,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:14:50] local.INFO: Processing buffer {"connection_id":132807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:14:50] local.INFO: IMEI packet received {"connection_id":132807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":132807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:14:55] local.INFO: TCP Data received {"connection_id":132807,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:14:55] local.INFO: Processing buffer {"connection_id":132807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:14:55] local.INFO: IMEI packet received {"connection_id":132807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":132807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:14:57] local.INFO: TCP Data received {"connection_id":132807,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65cbec78012d1826800721b480004700d72c..."} 
[2026-07-15 18:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65cbec78012d1826800721b480004700d72c..."} 
[2026-07-15 18:14:57] local.INFO: Processing buffer {"connection_id":132807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65cbec78012d1826800721b480004700d72c..."} 
[2026-07-15 18:14:57] local.INFO: Packet analysis {"connection_id":132807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65cb"} 
[2026-07-15 18:14:57] local.INFO: Extracted packet for processing {"connection_id":132807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65cb"} 
[2026-07-15 18:14:57] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119649408,"longitude_deg":75.655744,"latitude_deg":11.9649408,"altitude":71,"angle":215,"satellites":44,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721b480","is_valid_coordinates":true} 
[2026-07-15 18:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:14:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734533120001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:14:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6220426904600576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:14:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074143879168,"note":"Value kept but may cause issues"} 
[2026-07-15 18:14:57] 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-07-15 18:14:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784119291000,"timestamp_ms":1784119291000,"timestamp_seconds":1784119291,"priority":1,"record_length":96,"hex_timestamp":"0000019f65cbec78"} 
[2026-07-15 18:14:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:14:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-15 18:14:57] 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-07-15 18:14: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-07-15 18:14:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:14:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:14:57] local.INFO: Teltonika packet parsed successfully {"connection_id":132807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:14:57] local.INFO: Passing IMEI to GPS processor {"connection_id":132807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:14:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":132807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:14:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:14:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:14:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:14:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734533120001,"66":13004,"120":206,"28":31744,"24":0,"16":6220426904600576,"45":1740219074143879168},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:14:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:14:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:14:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734533120001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:14:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:14:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:14:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6220426904600576,"km_value":6220426904600.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:14:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074143879168,"description":"Unknown IO ID 45"} 
[2026-07-15 18:14:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734533120001,"power":13004,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740219074143879168}} 
[2026-07-15 18:14:57] local.INFO: DEBUG: GPS processor result {"connection_id":132807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:14:57] local.INFO: GPS data processed {"connection_id":132807,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:14:57] local.INFO: Acknowledgment sent {"connection_id":132807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:15:15] local.INFO: TCP Data received {"connection_id":132809,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:15:15] local.INFO: Processing buffer {"connection_id":132809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:15:15] local.INFO: IMEI packet received {"connection_id":132809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":132809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:15:20] local.INFO: TCP Data received {"connection_id":132809,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:15:20] local.INFO: Processing buffer {"connection_id":132809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:15:20] local.INFO: IMEI packet received {"connection_id":132809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":132809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:15:21] local.INFO: TCP Data received {"connection_id":132809,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ce3a50012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ce3a50012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:15:21] local.INFO: Processing buffer {"connection_id":132809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ce3a50012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:15:21] local.INFO: Packet analysis {"connection_id":132809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ce"} 
[2026-07-15 18:15:21] local.INFO: Extracted packet for processing {"connection_id":132809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ce"} 
[2026-07-15 18:15:21] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734500096001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1784119442000,"timestamp_ms":1784119442000,"timestamp_seconds":1784119442,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ce3a50"} 
[2026-07-15 18:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-15 18:15:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18: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-07-15 18:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":132809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":132809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":132809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:15: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-07-15 18:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734500096001,"66":25854,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734500096001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:15:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:15:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734500096001,"power":25854,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":132809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:15:21] local.INFO: GPS data processed {"connection_id":132809,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:15:21] local.INFO: Acknowledgment sent {"connection_id":132809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:15:28] local.INFO: TCP Data received {"connection_id":132807,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65cc3e80012d1826800721b480004700d729..."} 
[2026-07-15 18:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65cc3e80012d1826800721b480004700d729..."} 
[2026-07-15 18:15:28] local.INFO: Processing buffer {"connection_id":132807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65cc3e80012d1826800721b480004700d729..."} 
[2026-07-15 18:15:28] local.INFO: Packet analysis {"connection_id":132807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65cc"} 
[2026-07-15 18:15:28] local.INFO: Extracted packet for processing {"connection_id":132807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65cc"} 
[2026-07-15 18:15:28] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119649408,"longitude_deg":75.655744,"latitude_deg":11.9649408,"altitude":71,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721b480","is_valid_coordinates":true} 
[2026-07-15 18:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734538496001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6220426904600576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074143879168,"note":"Value kept but may cause issues"} 
[2026-07-15 18:15: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-07-15 18:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784119312000,"timestamp_ms":1784119312000,"timestamp_seconds":1784119312,"priority":1,"record_length":96,"hex_timestamp":"0000019f65cc3e80"} 
[2026-07-15 18:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:15:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-15 18:15:28] 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-07-15 18:15:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:15:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734538496001,"66":13004,"120":206,"28":31744,"24":0,"16":6220426904600576,"45":1740219074143879168},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734538496001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:15:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:15:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6220426904600576,"km_value":6220426904600.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074143879168,"description":"Unknown IO ID 45"} 
[2026-07-15 18:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734538496001,"power":13004,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740219074143879168}} 
[2026-07-15 18:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":132807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:15:28] local.INFO: GPS data processed {"connection_id":132807,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:15:28] local.INFO: Acknowledgment sent {"connection_id":132807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:15:50] local.INFO: TCP Data received {"connection_id":133658,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:15:50] local.INFO: Processing buffer {"connection_id":133658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:15:50] local.INFO: IMEI packet received {"connection_id":133658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":133658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:15:55] local.INFO: TCP Data received {"connection_id":133658,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:15:55] local.INFO: Processing buffer {"connection_id":133658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:15:55] local.INFO: IMEI packet received {"connection_id":133658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":133658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:15:57] local.INFO: TCP Data received {"connection_id":133658,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65cc9088012d1826800721b480004700d72c..."} 
[2026-07-15 18:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65cc9088012d1826800721b480004700d72c..."} 
[2026-07-15 18:15:57] local.INFO: Processing buffer {"connection_id":133658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65cc9088012d1826800721b480004700d72c..."} 
[2026-07-15 18:15:57] local.INFO: Packet analysis {"connection_id":133658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65cc"} 
[2026-07-15 18:15:57] local.INFO: Extracted packet for processing {"connection_id":133658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65cc"} 
[2026-07-15 18:15:57] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119649408,"longitude_deg":75.655744,"latitude_deg":11.9649408,"altitude":71,"angle":215,"satellites":44,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721b480","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:15:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734543872001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:15:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6220426904600576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:15:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074143879168,"note":"Value kept but may cause issues"} 
[2026-07-15 18:15:57] 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-07-15 18:15:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784119333000,"timestamp_ms":1784119333000,"timestamp_seconds":1784119333,"priority":1,"record_length":96,"hex_timestamp":"0000019f65cc9088"} 
[2026-07-15 18:15:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:15:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-15 18:15:57] 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-07-15 18: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-07-15 18:15:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:15:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:15:57] local.INFO: Teltonika packet parsed successfully {"connection_id":133658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:15:57] local.INFO: Passing IMEI to GPS processor {"connection_id":133658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:15:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":133658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:15:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:15:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:15:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:15:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734543872001,"66":12950,"120":206,"28":31744,"24":0,"16":6220426904600576,"45":1740219074143879168},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:15:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:15:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:15:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734543872001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:15:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:15:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:15:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6220426904600576,"km_value":6220426904600.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:15:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074143879168,"description":"Unknown IO ID 45"} 
[2026-07-15 18:15:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734543872001,"power":12950,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740219074143879168}} 
[2026-07-15 18:15:57] local.INFO: DEBUG: GPS processor result {"connection_id":133658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492292,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:15:57] local.INFO: GPS data processed {"connection_id":133658,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:15:57] local.INFO: Acknowledgment sent {"connection_id":133658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:16:05] local.INFO: TCP Data received {"connection_id":132810,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:16:05] local.INFO: Processing buffer {"connection_id":132810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:16:05] local.INFO: IMEI packet received {"connection_id":132810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":132810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:16:10] local.INFO: TCP Data received {"connection_id":132810,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:16:10] local.INFO: Processing buffer {"connection_id":132810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:16:10] local.INFO: IMEI packet received {"connection_id":132810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":132810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:16:11] local.INFO: TCP Data received {"connection_id":132810,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ce3a50012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ce3a50012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:16:11] local.INFO: Processing buffer {"connection_id":132810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ce3a50012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:16:11] local.INFO: Packet analysis {"connection_id":132810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ce"} 
[2026-07-15 18:16:11] local.INFO: Extracted packet for processing {"connection_id":132810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ce"} 
[2026-07-15 18:16:11] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734500096001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784119442000,"timestamp_ms":1784119442000,"timestamp_seconds":1784119442,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ce3a50"} 
[2026-07-15 18:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-15 18:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:16:11] 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-07-15 18:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734500096001,"66":25854,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734500096001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:16:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:16:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734500096001,"power":25854,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":132810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:16:11] local.INFO: GPS data processed {"connection_id":132810,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:16:11] local.INFO: Acknowledgment sent {"connection_id":132810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:16:16] local.INFO: TCP Data received {"connection_id":132810,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ce3a50012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ce3a50012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:16:16] local.INFO: Processing buffer {"connection_id":132810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ce3a50012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:16:16] local.INFO: Packet analysis {"connection_id":132810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ce"} 
[2026-07-15 18:16:16] local.INFO: Extracted packet for processing {"connection_id":132810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ce"} 
[2026-07-15 18:16:16] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734500096001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:16:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784119442000,"timestamp_ms":1784119442000,"timestamp_seconds":1784119442,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ce3a50"} 
[2026-07-15 18:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:16:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-15 18:16:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:16:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:16:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734500096001,"66":25854,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734500096001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:16:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:16:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734500096001,"power":25854,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":132810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:16:16] local.INFO: GPS data processed {"connection_id":132810,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:16:16] local.INFO: Acknowledgment sent {"connection_id":132810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:16:28] local.INFO: TCP Data received {"connection_id":133658,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65cce290012d1826800721b480004700d72d..."} 
[2026-07-15 18:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65cce290012d1826800721b480004700d72d..."} 
[2026-07-15 18:16:28] local.INFO: Processing buffer {"connection_id":133658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65cce290012d1826800721b480004700d72d..."} 
[2026-07-15 18:16:28] local.INFO: Packet analysis {"connection_id":133658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65cc"} 
[2026-07-15 18:16:28] local.INFO: Extracted packet for processing {"connection_id":133658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65cc"} 
[2026-07-15 18:16:28] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119649408,"longitude_deg":75.655744,"latitude_deg":11.9649408,"altitude":71,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721b480","is_valid_coordinates":true} 
[2026-07-15 18:16:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734549248001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6220426904600576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:16:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074143879168,"note":"Value kept but may cause issues"} 
[2026-07-15 18:16: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-07-15 18:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784119354000,"timestamp_ms":1784119354000,"timestamp_seconds":1784119354,"priority":1,"record_length":96,"hex_timestamp":"0000019f65cce290"} 
[2026-07-15 18:16:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:16:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:16:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 18:16:28] 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-07-15 18:16:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:16:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":133658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":133658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":133658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:16:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:16:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734549248001,"66":12950,"120":206,"28":31744,"24":0,"16":6220426904600576,"45":1740219074143879168},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:16:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:16:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:16:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734549248001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:16:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:16:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:16:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6220426904600576,"km_value":6220426904600.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:16:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074143879168,"description":"Unknown IO ID 45"} 
[2026-07-15 18:16:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734549248001,"power":12950,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740219074143879168}} 
[2026-07-15 18:16:28] local.INFO: DEBUG: GPS processor result {"connection_id":133658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:16:28] local.INFO: GPS data processed {"connection_id":133658,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:16:28] local.INFO: Acknowledgment sent {"connection_id":133658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:16:50] local.INFO: TCP Data received {"connection_id":133659,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:16:50] local.INFO: Processing buffer {"connection_id":133659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:16:50] local.INFO: IMEI packet received {"connection_id":133659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":133659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:16:55] local.INFO: TCP Data received {"connection_id":133659,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:16:55] local.INFO: Processing buffer {"connection_id":133659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:16:55] local.INFO: IMEI packet received {"connection_id":133659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":133659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:16:57] local.INFO: TCP Data received {"connection_id":133659,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65cd3498012d1826800721b480004700d72c..."} 
[2026-07-15 18:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65cd3498012d1826800721b480004700d72c..."} 
[2026-07-15 18:16:57] local.INFO: Processing buffer {"connection_id":133659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65cd3498012d1826800721b480004700d72c..."} 
[2026-07-15 18:16:57] local.INFO: Packet analysis {"connection_id":133659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65cd"} 
[2026-07-15 18:16:57] local.INFO: Extracted packet for processing {"connection_id":133659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65cd"} 
[2026-07-15 18:16:57] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119649408,"longitude_deg":75.655744,"latitude_deg":11.9649408,"altitude":71,"angle":215,"satellites":44,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721b480","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:16:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734554624001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:16:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6220426904600576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:16:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074143879168,"note":"Value kept but may cause issues"} 
[2026-07-15 18:16:57] 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-07-15 18:16:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784119375000,"timestamp_ms":1784119375000,"timestamp_seconds":1784119375,"priority":1,"record_length":96,"hex_timestamp":"0000019f65cd3498"} 
[2026-07-15 18:16:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:16:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 18:16:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18: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-07-15 18:16:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:16:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:16:57] local.INFO: Teltonika packet parsed successfully {"connection_id":133659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:16:57] local.INFO: Passing IMEI to GPS processor {"connection_id":133659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:16:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":133659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:16:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:16:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:16:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:16:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734554624001,"66":12917,"120":206,"28":31744,"24":0,"16":6220426904600576,"45":1740219074143879168},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:16:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:16:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:16:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734554624001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:16:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:16:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:16:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6220426904600576,"km_value":6220426904600.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:16:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074143879168,"description":"Unknown IO ID 45"} 
[2026-07-15 18:16:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734554624001,"power":12917,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740219074143879168}} 
[2026-07-15 18:16:57] local.INFO: DEBUG: GPS processor result {"connection_id":133659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:16:57] local.INFO: GPS data processed {"connection_id":133659,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:16:57] local.INFO: Acknowledgment sent {"connection_id":133659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:16:59] local.INFO: TCP Data received {"connection_id":132626,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132626,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:16:59] local.INFO: Processing buffer {"connection_id":132626,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:16:59] local.INFO: IMEI packet received {"connection_id":132626,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 18:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":132626,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:17:20] local.INFO: TCP Data received {"connection_id":135018,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:17:20] local.INFO: Processing buffer {"connection_id":135018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:17:20] local.INFO: IMEI packet received {"connection_id":135018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":135018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:17:25] local.INFO: TCP Data received {"connection_id":135018,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:17:25] local.INFO: Processing buffer {"connection_id":135018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:17:25] local.INFO: IMEI packet received {"connection_id":135018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":135018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:17:27] local.INFO: TCP Data received {"connection_id":135018,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ce3a50012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ce3a50012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:17:27] local.INFO: Processing buffer {"connection_id":135018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ce3a50012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:17:27] local.INFO: Packet analysis {"connection_id":135018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ce"} 
[2026-07-15 18:17:27] local.INFO: Extracted packet for processing {"connection_id":135018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ce"} 
[2026-07-15 18:17:27] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734500096001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:17:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784119442000,"timestamp_ms":1784119442000,"timestamp_seconds":1784119442,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ce3a50"} 
[2026-07-15 18:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-15 18:17:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:17:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":135018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":135018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":135018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:17: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-07-15 18:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734500096001,"66":25854,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734500096001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:17:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:17:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734500096001,"power":25854,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":135018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:17:27] local.INFO: GPS data processed {"connection_id":135018,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:17:27] local.INFO: Acknowledgment sent {"connection_id":135018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:17:28] local.INFO: TCP Data received {"connection_id":133659,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65cd86a0012d1826800721b480004700d72f..."} 
[2026-07-15 18:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65cd86a0012d1826800721b480004700d72f..."} 
[2026-07-15 18:17:28] local.INFO: Processing buffer {"connection_id":133659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65cd86a0012d1826800721b480004700d72f..."} 
[2026-07-15 18:17:28] local.INFO: Packet analysis {"connection_id":133659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65cd"} 
[2026-07-15 18:17:28] local.INFO: Extracted packet for processing {"connection_id":133659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65cd"} 
[2026-07-15 18:17:28] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119649408,"longitude_deg":75.655744,"latitude_deg":11.9649408,"altitude":71,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721b480","is_valid_coordinates":true} 
[2026-07-15 18:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734560000001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6220426904600576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:17:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074143879168,"note":"Value kept but may cause issues"} 
[2026-07-15 18:17: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-07-15 18:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784119396000,"timestamp_ms":1784119396000,"timestamp_seconds":1784119396,"priority":1,"record_length":96,"hex_timestamp":"0000019f65cd86a0"} 
[2026-07-15 18:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:17:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-15 18:17:28] 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-07-15 18:17:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":133659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":133659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":133659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:17:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734560000001,"66":12863,"120":206,"28":31744,"24":0,"16":6220426904600576,"45":1740219074143879168},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734560000001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:17:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:17:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6220426904600576,"km_value":6220426904600.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:17:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074143879168,"description":"Unknown IO ID 45"} 
[2026-07-15 18:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734560000001,"power":12863,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740219074143879168}} 
[2026-07-15 18:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":133659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:17:28] local.INFO: GPS data processed {"connection_id":133659,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:17:28] local.INFO: Acknowledgment sent {"connection_id":133659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:17:34] local.INFO: TCP Data received {"connection_id":132628,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132628,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:17:34] local.INFO: Processing buffer {"connection_id":132628,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:17:34] local.INFO: IMEI packet received {"connection_id":132628,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 18:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":132628,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:17:50] local.INFO: TCP Data received {"connection_id":132629,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:17:50] local.INFO: Processing buffer {"connection_id":132629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:17:50] local.INFO: IMEI packet received {"connection_id":132629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":132629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:17:55] local.INFO: TCP Data received {"connection_id":132629,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:17:55] local.INFO: Processing buffer {"connection_id":132629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:17:55] local.INFO: IMEI packet received {"connection_id":132629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":132629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:17:57] local.INFO: TCP Data received {"connection_id":132629,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65cdd8a8012d1826800721b480004700d72c..."} 
[2026-07-15 18:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65cdd8a8012d1826800721b480004700d72c..."} 
[2026-07-15 18:17:57] local.INFO: Processing buffer {"connection_id":132629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65cdd8a8012d1826800721b480004700d72c..."} 
[2026-07-15 18:17:57] local.INFO: Packet analysis {"connection_id":132629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65cd"} 
[2026-07-15 18:17:57] local.INFO: Extracted packet for processing {"connection_id":132629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65cd"} 
[2026-07-15 18:17:57] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119649408,"longitude_deg":75.655744,"latitude_deg":11.9649408,"altitude":71,"angle":215,"satellites":44,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721b480","is_valid_coordinates":true} 
[2026-07-15 18:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734565376001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:17:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6220426904600576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:17:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074143879168,"note":"Value kept but may cause issues"} 
[2026-07-15 18:17:57] 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-07-15 18:17:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784119417000,"timestamp_ms":1784119417000,"timestamp_seconds":1784119417,"priority":1,"record_length":96,"hex_timestamp":"0000019f65cdd8a8"} 
[2026-07-15 18:17:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:17:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-15 18:17:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:17:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:17:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:17:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:17:57] local.INFO: Teltonika packet parsed successfully {"connection_id":132629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:17:57] local.INFO: Passing IMEI to GPS processor {"connection_id":132629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:17:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":132629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:17:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:17:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:17:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:17:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734565376001,"66":12885,"120":206,"28":31744,"24":0,"16":6220426904600576,"45":1740219074143879168},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:17:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:17:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:17:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734565376001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:17:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:17:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:17:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6220426904600576,"km_value":6220426904600.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:17:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074143879168,"description":"Unknown IO ID 45"} 
[2026-07-15 18:17:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734565376001,"power":12885,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740219074143879168}} 
[2026-07-15 18:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":132629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:17:57] local.INFO: GPS data processed {"connection_id":132629,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:17:57] local.INFO: Acknowledgment sent {"connection_id":132629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:18:00] local.INFO: TCP Data received {"connection_id":135019,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:18:00] local.INFO: Processing buffer {"connection_id":135019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:18:00] local.INFO: IMEI packet received {"connection_id":135019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":135019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:18:04] local.INFO: TCP Data received {"connection_id":133660,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133660,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:18:04] local.INFO: Processing buffer {"connection_id":133660,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:18:04] local.INFO: IMEI packet received {"connection_id":133660,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 18:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":133660,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:18:05] local.INFO: TCP Data received {"connection_id":135019,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:18:05] local.INFO: Processing buffer {"connection_id":135019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:18:05] local.INFO: IMEI packet received {"connection_id":135019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":135019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:18:06] local.INFO: TCP Data received {"connection_id":135019,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ce3a50012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ce3a50012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:18:06] local.INFO: Processing buffer {"connection_id":135019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ce3a50012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:18:06] local.INFO: Packet analysis {"connection_id":135019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ce"} 
[2026-07-15 18:18:06] local.INFO: Extracted packet for processing {"connection_id":135019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ce"} 
[2026-07-15 18:18:06] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 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-07-15 18:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734500096001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784119442000,"timestamp_ms":1784119442000,"timestamp_seconds":1784119442,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ce3a50"} 
[2026-07-15 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-07-15 18:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-15 18:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 18:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:18:06] 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-07-15 18:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734500096001,"66":25854,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734500096001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:18:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:18:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734500096001,"power":25854,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":135019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:18:06] local.INFO: GPS data processed {"connection_id":135019,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:18:06] local.INFO: Acknowledgment sent {"connection_id":135019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:18:09] local.INFO: TCP Data received {"connection_id":133660,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133660,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:18:09] local.INFO: Processing buffer {"connection_id":133660,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:18:09] local.INFO: IMEI packet received {"connection_id":133660,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 18:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":133660,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:18:10] local.INFO: TCP Data received {"connection_id":133660,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ceea18012d7e370005d34c780004003e2b..."} 
[2026-07-15 18:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ceea18012d7e370005d34c780004003e2b..."} 
[2026-07-15 18:18:10] local.INFO: Processing buffer {"connection_id":133660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ceea18012d7e370005d34c780004003e2b..."} 
[2026-07-15 18:18:10] local.INFO: Packet analysis {"connection_id":133660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ce"} 
[2026-07-15 18:18:10] local.INFO: Extracted packet for processing {"connection_id":133660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ce"} 
[2026-07-15 18:18:10] local.INFO: GPS Element Parsed {"raw_longitude":763246336,"raw_latitude":97733752,"longitude_deg":76.3246336,"latitude_deg":9.7733752,"altitude":4,"angle":62,"satellites":43,"speed":0,"hex_longitude":"2d7e3700","hex_latitude":"05d34c78","is_valid_coordinates":true} 
[2026-07-15 18:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734583296001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106733360394534912,"note":"Value kept but may cause issues"} 
[2026-07-15 18:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094737997517846528,"note":"Value kept but may cause issues"} 
[2026-07-15 18:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784119487000,"timestamp_ms":1784119487000,"timestamp_seconds":1784119487,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ceea18"} 
[2026-07-15 18:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-15 18:18:10] 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-07-15 18:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":133660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":133660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":133660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 18:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 18:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734583296001,"66":12689,"109":206,"85":15104,"24":0,"16":106733360394534912,"45":9094737997517846528},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-15 18:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 18:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 18:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734583296001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:18:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-15 18:18:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 18:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106733360394534912,"km_value":106733360394534.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094737997517846528,"description":"Unknown IO ID 45"} 
[2026-07-15 18:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734583296001,"power":12689,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094737997517846528}} 
[2026-07-15 18:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":133660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492301,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:18:10] local.INFO: GPS data processed {"connection_id":133660,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:18:10] local.INFO: Acknowledgment sent {"connection_id":133660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:18:28] local.INFO: TCP Data received {"connection_id":132629,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ce2ab0012d1826800721b480004700d72b..."} 
[2026-07-15 18:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ce2ab0012d1826800721b480004700d72b..."} 
[2026-07-15 18:18:28] local.INFO: Processing buffer {"connection_id":132629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ce2ab0012d1826800721b480004700d72b..."} 
[2026-07-15 18:18:28] local.INFO: Packet analysis {"connection_id":132629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ce"} 
[2026-07-15 18:18:28] local.INFO: Extracted packet for processing {"connection_id":132629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ce"} 
[2026-07-15 18:18:28] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119649408,"longitude_deg":75.655744,"latitude_deg":11.9649408,"altitude":71,"angle":215,"satellites":43,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721b480","is_valid_coordinates":true} 
[2026-07-15 18:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734570752001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6220426904600576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074143879168,"note":"Value kept but may cause issues"} 
[2026-07-15 18:18: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-07-15 18:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784119438000,"timestamp_ms":1784119438000,"timestamp_seconds":1784119438,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ce2ab0"} 
[2026-07-15 18:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:18:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-15 18:18:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:18:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:18:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734570752001,"66":12852,"120":206,"28":31744,"24":0,"16":6220426904600576,"45":1740219074143879168},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734570752001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:18:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:18:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6220426904600576,"km_value":6220426904600.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074143879168,"description":"Unknown IO ID 45"} 
[2026-07-15 18:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734570752001,"power":12852,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740219074143879168}} 
[2026-07-15 18:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":132629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:18:28] local.INFO: GPS data processed {"connection_id":132629,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:18:28] local.INFO: Acknowledgment sent {"connection_id":132629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:18:37] local.INFO: TCP Data received {"connection_id":135019,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ce3a50012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ce3a50012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:18:37] local.INFO: Processing buffer {"connection_id":135019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ce3a50012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:18:37] local.INFO: Packet analysis {"connection_id":135019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ce"} 
[2026-07-15 18:18:37] local.INFO: Extracted packet for processing {"connection_id":135019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ce"} 
[2026-07-15 18:18:37] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734500096001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784119442000,"timestamp_ms":1784119442000,"timestamp_seconds":1784119442,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ce3a50"} 
[2026-07-15 18:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-15 18:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":135019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":135019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":135019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734500096001,"66":25854,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734500096001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:18:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:18:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734500096001,"power":25854,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":135019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:18:37] local.INFO: GPS data processed {"connection_id":135019,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:18:37] local.INFO: Acknowledgment sent {"connection_id":135019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:18:40] local.INFO: TCP Data received {"connection_id":133660,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f65cf3c20012d7e370005d34c780004003e2b..."} 
[2026-07-15 18:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65cf3c20012d7e370005d34c780004003e2b..."} 
[2026-07-15 18:18:40] local.INFO: Processing buffer {"connection_id":133660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65cf3c20012d7e370005d34c780004003e2b..."} 
[2026-07-15 18:18:40] local.INFO: Packet analysis {"connection_id":133660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65cf"} 
[2026-07-15 18:18:40] local.INFO: Extracted packet for processing {"connection_id":133660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65cf"} 
[2026-07-15 18:18:40] local.INFO: GPS Element Parsed {"raw_longitude":763246336,"raw_latitude":97733752,"longitude_deg":76.3246336,"latitude_deg":9.7733752,"altitude":4,"angle":62,"satellites":43,"speed":0,"hex_longitude":"2d7e3700","hex_latitude":"05d34c78","is_valid_coordinates":true} 
[2026-07-15 18:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734588672001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106733360394534912,"note":"Value kept but may cause issues"} 
[2026-07-15 18:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094737997517846528,"note":"Value kept but may cause issues"} 
[2026-07-15 18:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784119508000,"timestamp_ms":1784119508000,"timestamp_seconds":1784119508,"priority":1,"record_length":96,"hex_timestamp":"0000019f65cf3c20"} 
[2026-07-15 18:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:18:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-15 18:18:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:18:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":133660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":133660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":133660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 18:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 18:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734588672001,"66":12906,"109":206,"85":15104,"24":0,"16":106733360394534912,"45":9094737997517846528},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-15 18:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 18:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 18:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734588672001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:18:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-15 18:18:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 18:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106733360394534912,"km_value":106733360394534.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094737997517846528,"description":"Unknown IO ID 45"} 
[2026-07-15 18:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734588672001,"power":12906,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094737997517846528}} 
[2026-07-15 18:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":133660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492304,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:18:40] local.INFO: GPS data processed {"connection_id":133660,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:18:40] local.INFO: Acknowledgment sent {"connection_id":133660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:18:50] local.INFO: TCP Data received {"connection_id":132630,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:18:50] local.INFO: Processing buffer {"connection_id":132630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:18:50] local.INFO: IMEI packet received {"connection_id":132630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":132630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:18:55] local.INFO: TCP Data received {"connection_id":132630,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:18:55] local.INFO: Processing buffer {"connection_id":132630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:18:55] local.INFO: IMEI packet received {"connection_id":132630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":132630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:18:57] local.INFO: TCP Data received {"connection_id":132630,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d1b108012d1826800721b480004700d72b..."} 
[2026-07-15 18:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d1b108012d1826800721b480004700d72b..."} 
[2026-07-15 18:18:57] local.INFO: Processing buffer {"connection_id":132630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d1b108012d1826800721b480004700d72b..."} 
[2026-07-15 18:18:57] local.INFO: Packet analysis {"connection_id":132630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d1"} 
[2026-07-15 18:18:57] local.INFO: Extracted packet for processing {"connection_id":132630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d1"} 
[2026-07-15 18:18:57] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119649408,"longitude_deg":75.655744,"latitude_deg":11.9649408,"altitude":71,"angle":215,"satellites":43,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721b480","is_valid_coordinates":true} 
[2026-07-15 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-07-15 18:18:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734629888001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:18:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6220426904600576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:18:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074143879168,"note":"Value kept but may cause issues"} 
[2026-07-15 18:18:57] 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-07-15 18:18:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784119669000,"timestamp_ms":1784119669000,"timestamp_seconds":1784119669,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d1b108"} 
[2026-07-15 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-07-15 18:18:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-15 18:18:57] 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-07-15 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-07-15 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-07-15 18:18:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:18:57] local.INFO: Teltonika packet parsed successfully {"connection_id":132630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:18:57] local.INFO: Passing IMEI to GPS processor {"connection_id":132630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:18:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":132630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:18:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:18:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:18:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:18:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734629888001,"66":14102,"120":206,"28":31744,"24":0,"16":6220426904600576,"45":1740219074143879168},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:18:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:18:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:18:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734629888001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:18:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:18:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:18:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6220426904600576,"km_value":6220426904600.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:18:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074143879168,"description":"Unknown IO ID 45"} 
[2026-07-15 18:18:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734629888001,"power":14102,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740219074143879168}} 
[2026-07-15 18:18:57] local.INFO: DEBUG: GPS processor result {"connection_id":132630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:18:57] local.INFO: GPS data processed {"connection_id":132630,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:18:57] local.INFO: Acknowledgment sent {"connection_id":132630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:19:00] local.INFO: TCP Data received {"connection_id":135020,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:19:00] local.INFO: Processing buffer {"connection_id":135020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:19:00] local.INFO: IMEI packet received {"connection_id":135020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":135020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:19:04] local.INFO: TCP Data received {"connection_id":133661,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133661,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:19:04] local.INFO: Processing buffer {"connection_id":133661,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:19:04] local.INFO: IMEI packet received {"connection_id":133661,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 18:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":133661,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:19:05] local.INFO: TCP Data received {"connection_id":133661,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133661,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:19:05] local.INFO: Processing buffer {"connection_id":133661,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:19:05] local.INFO: IMEI packet received {"connection_id":133661,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 18:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":133661,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:19:05] local.INFO: TCP Data received {"connection_id":135020,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:19:05] local.INFO: Processing buffer {"connection_id":135020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:19:05] local.INFO: IMEI packet received {"connection_id":135020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":135020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:19:06] local.INFO: TCP Data received {"connection_id":135020,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ce3a50012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ce3a50012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:19:06] local.INFO: Processing buffer {"connection_id":135020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ce3a50012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:19:06] local.INFO: Packet analysis {"connection_id":135020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ce"} 
[2026-07-15 18:19:06] local.INFO: Extracted packet for processing {"connection_id":135020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ce"} 
[2026-07-15 18:19:06] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734500096001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784119442000,"timestamp_ms":1784119442000,"timestamp_seconds":1784119442,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ce3a50"} 
[2026-07-15 18:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-15 18:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:19:06] 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-07-15 18:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734500096001,"66":25854,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734500096001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:19:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:19:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734500096001,"power":25854,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":135020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:19:06] local.INFO: GPS data processed {"connection_id":135020,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:19:06] local.INFO: Acknowledgment sent {"connection_id":135020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:19:28] local.INFO: TCP Data received {"connection_id":132630,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d1bcc0012d1825c00721b3a8004800e32b..."} 
[2026-07-15 18:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d1bcc0012d1825c00721b3a8004800e32b..."} 
[2026-07-15 18:19:28] local.INFO: Processing buffer {"connection_id":132630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d1bcc0012d1825c00721b3a8004800e32b..."} 
[2026-07-15 18:19:28] local.INFO: Packet analysis {"connection_id":132630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d1"} 
[2026-07-15 18:19:28] local.INFO: Extracted packet for processing {"connection_id":132630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d1"} 
[2026-07-15 18:19:28] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119649192,"longitude_deg":75.6557248,"latitude_deg":11.9649192,"altitude":72,"angle":227,"satellites":43,"speed":5,"hex_longitude":"2d1825c0","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734635264001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6220439789502464,"note":"Value kept but may cause issues"} 
[2026-07-15 18:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074143879168,"note":"Value kept but may cause issues"} 
[2026-07-15 18:19: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-07-15 18:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784119672000,"timestamp_ms":1784119672000,"timestamp_seconds":1784119672,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d1bcc0"} 
[2026-07-15 18:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:19:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-15 18:19:28] 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-07-15 18: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-07-15 18:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734635264001,"66":14265,"120":206,"28":31744,"24":5,"16":6220439789502464,"45":1740219074143879168},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734635264001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:19:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:19:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6220439789502464,"km_value":6220439789502.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074143879168,"description":"Unknown IO ID 45"} 
[2026-07-15 18:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734635264001,"power":14265,"unknown_120":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1740219074143879168}} 
[2026-07-15 18:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":132630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:19:28] local.INFO: GPS data processed {"connection_id":132630,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:19:28] local.INFO: Acknowledgment sent {"connection_id":132630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:19:37] local.INFO: TCP Data received {"connection_id":135020,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ce3a50012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ce3a50012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:19:37] local.INFO: Processing buffer {"connection_id":135020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ce3a50012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:19:37] local.INFO: Packet analysis {"connection_id":135020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ce"} 
[2026-07-15 18:19:37] local.INFO: Extracted packet for processing {"connection_id":135020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ce"} 
[2026-07-15 18:19:37] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734500096001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784119442000,"timestamp_ms":1784119442000,"timestamp_seconds":1784119442,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ce3a50"} 
[2026-07-15 18:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-15 18:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":135020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":135020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":135020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734500096001,"66":25854,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734500096001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:19:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:19:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734500096001,"power":25854,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":135020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:19:37] local.INFO: GPS data processed {"connection_id":135020,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:19:37] local.INFO: Acknowledgment sent {"connection_id":135020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:19:50] local.INFO: TCP Data received {"connection_id":132813,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:19:50] local.INFO: Processing buffer {"connection_id":132813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:19:50] local.INFO: IMEI packet received {"connection_id":132813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":132813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:19:53] local.INFO: TCP Data received {"connection_id":132813,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:19:53] local.INFO: Processing buffer {"connection_id":132813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:19:53] local.INFO: IMEI packet received {"connection_id":132813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":132813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:19:54] local.INFO: TCP Data received {"connection_id":132813,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:19:54] local.INFO: Processing buffer {"connection_id":132813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:19:54] local.INFO: IMEI packet received {"connection_id":132813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":132813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:19:55] local.INFO: TCP Data received {"connection_id":132813,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:19:55] local.INFO: Processing buffer {"connection_id":132813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:19:55] local.INFO: IMEI packet received {"connection_id":132813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":132813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:19:56] local.INFO: TCP Data received {"connection_id":132813,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d2a720012d188d0007217ee0004d00712c..."} 
[2026-07-15 18:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d2a720012d188d0007217ee0004d00712c..."} 
[2026-07-15 18:19:56] local.INFO: Processing buffer {"connection_id":132813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d2a720012d188d0007217ee0004d00712c..."} 
[2026-07-15 18:19:56] local.INFO: Packet analysis {"connection_id":132813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d2"} 
[2026-07-15 18:19:56] local.INFO: Extracted packet for processing {"connection_id":132813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d2"} 
[2026-07-15 18:19:56] local.INFO: GPS Element Parsed {"raw_longitude":756583680,"raw_latitude":119635680,"longitude_deg":75.658368,"latitude_deg":11.963568,"altitude":77,"angle":113,"satellites":44,"speed":34,"hex_longitude":"2d188d00","hex_latitude":"07217ee0","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734650624001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6222089056944128,"note":"Value kept but may cause issues"} 
[2026-07-15 18:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766325878230464512,"note":"Value kept but may cause issues"} 
[2026-07-15 18:19: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-07-15 18:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784119732000,"timestamp_ms":1784119732000,"timestamp_seconds":1784119732,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d2a720"} 
[2026-07-15 18:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:19:56] 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-07-15 18: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-15 18:19:56] 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-07-15 18: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-07-15 18:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:19:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734650624001,"66":13678,"121":206,"28":31744,"24":34,"16":6222089056944128,"45":1766325878230464512},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 18:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734650624001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:19:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 18:19:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6222089056944128,"km_value":6222089056944.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766325878230464512,"description":"Unknown IO ID 45"} 
[2026-07-15 18:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734650624001,"power":13678,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1766325878230464512}} 
[2026-07-15 18:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":132813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492309,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:19:56] local.INFO: GPS data processed {"connection_id":132813,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:19:56] local.INFO: Acknowledgment sent {"connection_id":132813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:20:00] local.INFO: TCP Data received {"connection_id":132631,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:20:00] local.INFO: Processing buffer {"connection_id":132631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:20:00] local.INFO: IMEI packet received {"connection_id":132631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":132631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:20:05] local.INFO: TCP Data received {"connection_id":132631,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:20:05] local.INFO: Processing buffer {"connection_id":132631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:20:05] local.INFO: IMEI packet received {"connection_id":132631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":132631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:20:06] local.INFO: TCP Data received {"connection_id":132631,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d2d218012d7f97c005afda580002006c2c..."} 
[2026-07-15 18:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d2d218012d7f97c005afda580002006c2c..."} 
[2026-07-15 18:20:06] local.INFO: Processing buffer {"connection_id":132631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d2d218012d7f97c005afda580002006c2c..."} 
[2026-07-15 18:20:06] local.INFO: Packet analysis {"connection_id":132631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d2"} 
[2026-07-15 18:20:06] local.INFO: Extracted packet for processing {"connection_id":132631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d2"} 
[2026-07-15 18:20:06] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734577152001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784119743000,"timestamp_ms":1784119743000,"timestamp_seconds":1784119743,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d2d218"} 
[2026-07-15 18:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-15 18:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:20:06] 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-07-15 18:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734577152001,"66":25832,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734577152001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:20:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:20:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734577152001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":132631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:20:06] local.INFO: GPS data processed {"connection_id":132631,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:20:06] local.INFO: Acknowledgment sent {"connection_id":132631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:20:27] local.INFO: TCP Data received {"connection_id":132813,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d362a0012d18dfc007214ce8004500832b..."} 
[2026-07-15 18:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d362a0012d18dfc007214ce8004500832b..."} 
[2026-07-15 18:20:27] local.INFO: Processing buffer {"connection_id":132813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d362a0012d18dfc007214ce8004500832b..."} 
[2026-07-15 18:20:27] local.INFO: Packet analysis {"connection_id":132813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d3"} 
[2026-07-15 18:20:27] local.INFO: Extracted packet for processing {"connection_id":132813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d3"} 
[2026-07-15 18:20:27] local.INFO: GPS Element Parsed {"raw_longitude":756604864,"raw_latitude":119622888,"longitude_deg":75.6604864,"latitude_deg":11.9622888,"altitude":69,"angle":131,"satellites":43,"speed":6,"hex_longitude":"2d18dfc0","hex_latitude":"07214ce8","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734663424001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6223356072296448,"note":"Value kept but may cause issues"} 
[2026-07-15 18:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792151207340240896,"note":"Value kept but may cause issues"} 
[2026-07-15 18: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-07-15 18:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784119780000,"timestamp_ms":1784119780000,"timestamp_seconds":1784119780,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d362a0"} 
[2026-07-15 18:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:20:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-15 18:20:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18: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-07-15 18:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":132813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":132813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":132813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734663424001,"66":14428,"121":206,"28":31744,"24":6,"16":6223356072296448,"45":1792151207340240896},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 18:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734663424001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:20:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 18:20:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6223356072296448,"km_value":6223356072296.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792151207340240896,"description":"Unknown IO ID 45"} 
[2026-07-15 18:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734663424001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1792151207340240896}} 
[2026-07-15 18:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":132813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:20:28] local.INFO: GPS data processed {"connection_id":132813,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:20:28] local.INFO: Acknowledgment sent {"connection_id":132813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:20:37] local.INFO: TCP Data received {"connection_id":132631,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d2d218012d7f97c005afda580002006c2c..."} 
[2026-07-15 18:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d2d218012d7f97c005afda580002006c2c..."} 
[2026-07-15 18:20:37] local.INFO: Processing buffer {"connection_id":132631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d2d218012d7f97c005afda580002006c2c..."} 
[2026-07-15 18:20:37] local.INFO: Packet analysis {"connection_id":132631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d2"} 
[2026-07-15 18:20:37] local.INFO: Extracted packet for processing {"connection_id":132631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d2"} 
[2026-07-15 18:20:37] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734577152001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784119743000,"timestamp_ms":1784119743000,"timestamp_seconds":1784119743,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d2d218"} 
[2026-07-15 18:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-15 18:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734577152001,"66":25832,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734577152001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:20:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:20:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734577152001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":132631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:20:37] local.INFO: GPS data processed {"connection_id":132631,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:20:37] local.INFO: Acknowledgment sent {"connection_id":132631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:20:55] local.INFO: TCP Data received {"connection_id":132632,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:20:55] local.INFO: Processing buffer {"connection_id":132632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:20:55] local.INFO: IMEI packet received {"connection_id":132632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":132632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:21:00] local.INFO: TCP Data received {"connection_id":135022,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:21:00] local.INFO: Processing buffer {"connection_id":135022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:21:00] local.INFO: IMEI packet received {"connection_id":135022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":135022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:21:01] local.INFO: TCP Data received {"connection_id":132632,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:21:01] local.INFO: Processing buffer {"connection_id":132632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:21:01] local.INFO: IMEI packet received {"connection_id":132632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":132632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:21:02] local.INFO: TCP Data received {"connection_id":132632,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d36a70012d18e0c007214c50004500682b..."} 
[2026-07-15 18:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d36a70012d18e0c007214c50004500682b..."} 
[2026-07-15 18:21:02] local.INFO: Processing buffer {"connection_id":132632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d36a70012d18e0c007214c50004500682b..."} 
[2026-07-15 18:21:02] local.INFO: Packet analysis {"connection_id":132632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d3"} 
[2026-07-15 18:21:02] local.INFO: Extracted packet for processing {"connection_id":132632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d3"} 
[2026-07-15 18:21:02] local.INFO: GPS Element Parsed {"raw_longitude":756605120,"raw_latitude":119622736,"longitude_deg":75.660512,"latitude_deg":11.9622736,"altitude":69,"angle":104,"satellites":43,"speed":6,"hex_longitude":"2d18e0c0","hex_latitude":"07214c50","is_valid_coordinates":true} 
[2026-07-15 18:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734663680001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6223373252165632,"note":"Value kept but may cause issues"} 
[2026-07-15 18:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792362313572739072,"note":"Value kept but may cause issues"} 
[2026-07-15 18:21:02] 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-07-15 18:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784119782000,"timestamp_ms":1784119782000,"timestamp_seconds":1784119782,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d36a70"} 
[2026-07-15 18:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:21:02] 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-07-15 18:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-15 18:21:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:21:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":132632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":132632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":132632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734663680001,"66":13580,"121":206,"28":31744,"24":6,"16":6223373252165632,"45":1792362313572739072},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 18:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734663680001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:21:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 18:21:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6223373252165632,"km_value":6223373252165.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792362313572739072,"description":"Unknown IO ID 45"} 
[2026-07-15 18:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734663680001,"power":13580,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1792362313572739072}} 
[2026-07-15 18:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":132632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492313,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:21:02] local.INFO: GPS data processed {"connection_id":132632,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:21:02] local.INFO: Acknowledgment sent {"connection_id":132632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:21:04] local.INFO: TCP Data received {"connection_id":132632,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d36e58012d18e1c007214c480045005a2b..."} 
[2026-07-15 18:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d36e58012d18e1c007214c480045005a2b..."} 
[2026-07-15 18:21:04] local.INFO: Processing buffer {"connection_id":132632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d36e58012d18e1c007214c480045005a2b..."} 
[2026-07-15 18:21:04] local.INFO: Packet analysis {"connection_id":132632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d3"} 
[2026-07-15 18:21:04] local.INFO: Extracted packet for processing {"connection_id":132632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d3"} 
[2026-07-15 18:21:04] local.INFO: GPS Element Parsed {"raw_longitude":756605376,"raw_latitude":119622728,"longitude_deg":75.6605376,"latitude_deg":11.9622728,"altitude":69,"angle":90,"satellites":43,"speed":9,"hex_longitude":"2d18e1c0","hex_latitude":"07214c48","is_valid_coordinates":true} 
[2026-07-15 18:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734664192001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6223381842100224,"note":"Value kept but may cause issues"} 
[2026-07-15 18:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792643788549410816,"note":"Value kept but may cause issues"} 
[2026-07-15 18:21:04] 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-07-15 18:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784119783000,"timestamp_ms":1784119783000,"timestamp_seconds":1784119783,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d36e58"} 
[2026-07-15 18:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-15 18:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867791387,"note":"Value kept but may cause issues"} 
[2026-07-15 18:21:04] local.WARNING: Large IO value detected {"io_id":24,"raw_value":-4233375810012053434,"note":"Value kept but may cause issues"} 
[2026-07-15 18:21:04] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-15 18:21:04] local.WARNING: Large IO value detected {"io_id":101,"raw_value":3545432065,"note":"Value kept but may cause issues"} 
[2026-07-15 18:21:04] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637357759457145,"note":"Value kept but may cause issues"} 
[2026-07-15 18:21:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-15 18:21:04] local.WARNING: Large IO value detected {"io_id":221,"raw_value":2147950929,"note":"Value kept but may cause issues"} 
[2026-07-15 18:21:04] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3875589607,"note":"Value kept but may cause issues"} 
[2026-07-15 18:21:04] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-07-15 18:21:04] local.WARNING: Large IO value detected {"io_id":55,"raw_value":-2737962179390026212,"note":"Value kept but may cause issues"} 
[2026-07-15 18:21:04] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755442390860017,"note":"Value kept but may cause issues"} 
[2026-07-15 18:21:04] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,121,28,24,241,158,16,159,98,45,192,76,69,43,10,66,94,77,68,86,128,1,240,60,101,33,4,113,205,12,79,221,120,239,51,2,22,7,13,55,124],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-15 18:21:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4972088522510303232,"timestamp_seconds":4972088522510303.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 18:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":132632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":132632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":132632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734664192001,"66":14363,"121":206,"28":31744,"24":9,"16":6223381842100224,"45":1792643788549410816},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 18:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734664192001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:21:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 18:21:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6223381842100224,"km_value":6223381842100.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792643788549410816,"description":"Unknown IO ID 45"} 
[2026-07-15 18:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734664192001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1792643788549410816}} 
[2026-07-15 18:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":132632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:21:04] local.INFO: GPS data processed {"connection_id":132632,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:21:04] local.INFO: Acknowledgment sent {"connection_id":132632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:21:05] local.INFO: TCP Data received {"connection_id":135022,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:21:05] local.INFO: Processing buffer {"connection_id":135022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:21:05] local.INFO: IMEI packet received {"connection_id":135022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":135022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:21:06] local.INFO: TCP Data received {"connection_id":135022,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d2d218012d7f97c005afda580002006c2c..."} 
[2026-07-15 18:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d2d218012d7f97c005afda580002006c2c..."} 
[2026-07-15 18:21:06] local.INFO: Processing buffer {"connection_id":135022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d2d218012d7f97c005afda580002006c2c..."} 
[2026-07-15 18:21:06] local.INFO: Packet analysis {"connection_id":135022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d2"} 
[2026-07-15 18:21:06] local.INFO: Extracted packet for processing {"connection_id":135022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d2"} 
[2026-07-15 18:21:06] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734577152001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784119743000,"timestamp_ms":1784119743000,"timestamp_seconds":1784119743,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d2d218"} 
[2026-07-15 18:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-15 18:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:21:06] 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-07-15 18:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734577152001,"66":25832,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734577152001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:21:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:21:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734577152001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":135022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:21:06] local.INFO: GPS data processed {"connection_id":135022,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:21:06] local.INFO: Acknowledgment sent {"connection_id":135022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:21:35] local.INFO: TCP Data received {"connection_id":132632,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d429d8012d190ec007213c900042004d2c..."} 
[2026-07-15 18:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d429d8012d190ec007213c900042004d2c..."} 
[2026-07-15 18:21:35] local.INFO: Processing buffer {"connection_id":132632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d429d8012d190ec007213c900042004d2c..."} 
[2026-07-15 18:21:35] local.INFO: Packet analysis {"connection_id":132632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d4"} 
[2026-07-15 18:21:35] local.INFO: Extracted packet for processing {"connection_id":132632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d4"} 
[2026-07-15 18:21:35] local.INFO: GPS Element Parsed {"raw_longitude":756616896,"raw_latitude":119618704,"longitude_deg":75.6616896,"latitude_deg":11.9618704,"altitude":66,"angle":77,"satellites":44,"speed":10,"hex_longitude":"2d190ec0","hex_latitude":"07213c90","is_valid_coordinates":true} 
[2026-07-15 18:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734675968001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6224034677129216,"note":"Value kept but may cause issues"} 
[2026-07-15 18:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1804395368826015744,"note":"Value kept but may cause issues"} 
[2026-07-15 18:21:35] 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-07-15 18:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784119831000,"timestamp_ms":1784119831000,"timestamp_seconds":1784119831,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d429d8"} 
[2026-07-15 18:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-15 18:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:21:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734675968001,"66":13396,"121":206,"28":31744,"24":10,"16":6224034677129216,"45":1804395368826015744},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 18:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734675968001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:21:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 18:21:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6224034677129216,"km_value":6224034677129.216,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1804395368826015744,"description":"Unknown IO ID 45"} 
[2026-07-15 18:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734675968001,"power":13396,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1804395368826015744}} 
[2026-07-15 18:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":132632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:21:35] local.INFO: GPS data processed {"connection_id":132632,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:21:35] local.INFO: Acknowledgment sent {"connection_id":132632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:21:37] local.INFO: TCP Data received {"connection_id":135022,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d2d218012d7f97c005afda580002006c2c..."} 
[2026-07-15 18:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d2d218012d7f97c005afda580002006c2c..."} 
[2026-07-15 18:21:37] local.INFO: Processing buffer {"connection_id":135022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d2d218012d7f97c005afda580002006c2c..."} 
[2026-07-15 18:21:37] local.INFO: Packet analysis {"connection_id":135022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d2"} 
[2026-07-15 18:21:37] local.INFO: Extracted packet for processing {"connection_id":135022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d2"} 
[2026-07-15 18:21:37] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734577152001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784119743000,"timestamp_ms":1784119743000,"timestamp_seconds":1784119743,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d2d218"} 
[2026-07-15 18:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-15 18:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":135022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":135022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":135022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734577152001,"66":25832,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734577152001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:21:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:21:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734577152001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":135022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:21:37] local.INFO: GPS data processed {"connection_id":135022,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:21:37] local.INFO: Acknowledgment sent {"connection_id":135022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:21:50] local.INFO: TCP Data received {"connection_id":133663,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:21:50] local.INFO: Processing buffer {"connection_id":133663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:21:50] local.INFO: IMEI packet received {"connection_id":133663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":133663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:21:53] local.INFO: TCP Data received {"connection_id":133663,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:21:53] local.INFO: Processing buffer {"connection_id":133663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:21:53] local.INFO: IMEI packet received {"connection_id":133663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":133663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:21:55] local.INFO: TCP Data received {"connection_id":133663,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d431a8012d19108007213cf00041003c2c..."} 
[2026-07-15 18:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d431a8012d19108007213cf00041003c2c..."} 
[2026-07-15 18:21:55] local.INFO: Processing buffer {"connection_id":133663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d431a8012d19108007213cf00041003c2c..."} 
[2026-07-15 18:21:55] local.INFO: Packet analysis {"connection_id":133663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d4"} 
[2026-07-15 18:21:55] local.INFO: Extracted packet for processing {"connection_id":133663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d4"} 
[2026-07-15 18:21:55] local.INFO: GPS Element Parsed {"raw_longitude":756617344,"raw_latitude":119618800,"longitude_deg":75.6617344,"latitude_deg":11.96188,"altitude":65,"angle":60,"satellites":44,"speed":6,"hex_longitude":"2d191080","hex_latitude":"07213cf0","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734676736001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6224060446932992,"note":"Value kept but may cause issues"} 
[2026-07-15 18:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805591637477068800,"note":"Value kept but may cause issues"} 
[2026-07-15 18:21: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-07-15 18:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784119833000,"timestamp_ms":1784119833000,"timestamp_seconds":1784119833,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d431a8"} 
[2026-07-15 18:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:21:55] 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-07-15 18: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-15 18:21:55] 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-07-15 18: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-07-15 18:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":133663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":133663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":133663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734676736001,"66":14298,"121":206,"28":31744,"24":6,"16":6224060446932992,"45":1805591637477068800},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 18:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734676736001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:21:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 18:21:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6224060446932992,"km_value":6224060446932.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805591637477068800,"description":"Unknown IO ID 45"} 
[2026-07-15 18:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734676736001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1805591637477068800}} 
[2026-07-15 18:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":133663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492318,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:21:55] local.INFO: GPS data processed {"connection_id":133663,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:21:55] local.INFO: Acknowledgment sent {"connection_id":133663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:22:00] local.INFO: TCP Data received {"connection_id":133664,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:22:00] local.INFO: Processing buffer {"connection_id":133664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:22:00] local.INFO: IMEI packet received {"connection_id":133664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":133664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:22:05] local.INFO: TCP Data received {"connection_id":133664,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:22:05] local.INFO: Processing buffer {"connection_id":133664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:22:05] local.INFO: IMEI packet received {"connection_id":133664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":133664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:22:06] local.INFO: TCP Data received {"connection_id":133664,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d2d218012d7f97c005afda580002006c2c..."} 
[2026-07-15 18:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d2d218012d7f97c005afda580002006c2c..."} 
[2026-07-15 18:22:06] local.INFO: Processing buffer {"connection_id":133664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d2d218012d7f97c005afda580002006c2c..."} 
[2026-07-15 18:22:06] local.INFO: Packet analysis {"connection_id":133664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d2"} 
[2026-07-15 18:22:06] local.INFO: Extracted packet for processing {"connection_id":133664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d2"} 
[2026-07-15 18:22:06] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734577152001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784119743000,"timestamp_ms":1784119743000,"timestamp_seconds":1784119743,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d2d218"} 
[2026-07-15 18:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-15 18:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:22:06] 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-07-15 18:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734577152001,"66":25832,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734577152001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:22:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:22:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734577152001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":133664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:22:06] local.INFO: GPS data processed {"connection_id":133664,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:22:06] local.INFO: Acknowledgment sent {"connection_id":133664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:22:30] local.INFO: TCP Data received {"connection_id":133663,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d483b0012d19118007213ee00040003c28..."} 
[2026-07-15 18:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d483b0012d19118007213ee00040003c28..."} 
[2026-07-15 18:22:30] local.INFO: Processing buffer {"connection_id":133663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d483b0012d19118007213ee00040003c28..."} 
[2026-07-15 18:22:30] local.INFO: Packet analysis {"connection_id":133663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d4"} 
[2026-07-15 18:22:30] local.INFO: Extracted packet for processing {"connection_id":133663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d4"} 
[2026-07-15 18:22:30] local.INFO: GPS Element Parsed {"raw_longitude":756617600,"raw_latitude":119619296,"longitude_deg":75.66176,"latitude_deg":11.9619296,"altitude":64,"angle":60,"satellites":40,"speed":0,"hex_longitude":"2d191180","hex_latitude":"07213ee0","is_valid_coordinates":true} 
[2026-07-15 18:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734677248001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6224090511704064,"note":"Value kept but may cause issues"} 
[2026-07-15 18:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1806084218686337024,"note":"Value kept but may cause issues"} 
[2026-07-15 18:22: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-07-15 18:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784119854000,"timestamp_ms":1784119854000,"timestamp_seconds":1784119854,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d483b0"} 
[2026-07-15 18:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:22:30] 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-07-15 18:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-15 18:22:30] 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-07-15 18:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":133663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":133663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":133663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734677248001,"66":14070,"121":206,"28":31744,"24":0,"16":6224090511704064,"45":1806084218686337024},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 18:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734677248001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:22:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 18:22:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6224090511704064,"km_value":6224090511704.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1806084218686337024,"description":"Unknown IO ID 45"} 
[2026-07-15 18:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734677248001,"power":14070,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1806084218686337024}} 
[2026-07-15 18:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":133663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:22:30] local.INFO: GPS data processed {"connection_id":133663,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:22:30] local.INFO: Acknowledgment sent {"connection_id":133663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:22:37] local.INFO: TCP Data received {"connection_id":133664,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d2d218012d7f97c005afda580002006c2c..."} 
[2026-07-15 18:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d2d218012d7f97c005afda580002006c2c..."} 
[2026-07-15 18:22:37] local.INFO: Processing buffer {"connection_id":133664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d2d218012d7f97c005afda580002006c2c..."} 
[2026-07-15 18:22:37] local.INFO: Packet analysis {"connection_id":133664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d2"} 
[2026-07-15 18:22:37] local.INFO: Extracted packet for processing {"connection_id":133664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d2"} 
[2026-07-15 18:22:37] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734577152001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784119743000,"timestamp_ms":1784119743000,"timestamp_seconds":1784119743,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d2d218"} 
[2026-07-15 18:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-15 18:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18: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-07-15 18:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734577152001,"66":25832,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734577152001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:22:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:22:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734577152001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":133664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:22:37] local.INFO: GPS data processed {"connection_id":133664,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:22:37] local.INFO: Acknowledgment sent {"connection_id":133664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:22:48] local.INFO: TCP Data received {"connection_id":133665,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:22:48] local.INFO: Processing buffer {"connection_id":133665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:22:48] local.INFO: IMEI packet received {"connection_id":133665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":133665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:22:50] local.INFO: TCP Data received {"connection_id":133665,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:22:50] local.INFO: Processing buffer {"connection_id":133665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:22:50] local.INFO: IMEI packet received {"connection_id":133665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":133665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:22:51] local.INFO: TCP Data received {"connection_id":133665,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:22:51] local.INFO: Processing buffer {"connection_id":133665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:22:51] local.INFO: IMEI packet received {"connection_id":133665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":133665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:22:56] local.INFO: TCP Data received {"connection_id":133665,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:22:56] local.INFO: Processing buffer {"connection_id":133665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:22:56] local.INFO: IMEI packet received {"connection_id":133665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":133665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:22:57] local.INFO: TCP Data received {"connection_id":133665,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d4d5b8012d19118007213ee00040003c29..."} 
[2026-07-15 18:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d4d5b8012d19118007213ee00040003c29..."} 
[2026-07-15 18:22:57] local.INFO: Processing buffer {"connection_id":133665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d4d5b8012d19118007213ee00040003c29..."} 
[2026-07-15 18:22:57] local.INFO: Packet analysis {"connection_id":133665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d4"} 
[2026-07-15 18:22:57] local.INFO: Extracted packet for processing {"connection_id":133665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d4"} 
[2026-07-15 18:22:57] local.INFO: GPS Element Parsed {"raw_longitude":756617600,"raw_latitude":119619296,"longitude_deg":75.66176,"latitude_deg":11.9619296,"altitude":64,"angle":60,"satellites":41,"speed":0,"hex_longitude":"2d191180","hex_latitude":"07213ee0","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734682624001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6224090511704064,"note":"Value kept but may cause issues"} 
[2026-07-15 18:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1806365693663174656,"note":"Value kept but may cause issues"} 
[2026-07-15 18:22: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-07-15 18:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784119875000,"timestamp_ms":1784119875000,"timestamp_seconds":1784119875,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d4d5b8"} 
[2026-07-15 18:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:22:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-15 18:22:57] 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-07-15 18: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-07-15 18:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":133665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":133665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":133665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:22:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734682624001,"66":14428,"121":206,"28":31744,"24":0,"16":6224090511704064,"45":1806365693663174656},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 18:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734682624001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:22:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 18:22:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6224090511704064,"km_value":6224090511704.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1806365693663174656,"description":"Unknown IO ID 45"} 
[2026-07-15 18:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734682624001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1806365693663174656}} 
[2026-07-15 18:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":133665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:22:57] local.INFO: GPS data processed {"connection_id":133665,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:22:57] local.INFO: Acknowledgment sent {"connection_id":133665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:23:02] local.INFO: TCP Data received {"connection_id":132814,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132814,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:23:02] local.INFO: Processing buffer {"connection_id":132814,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:23:02] local.INFO: IMEI packet received {"connection_id":132814,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 18:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":132814,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:23:05] local.INFO: TCP Data received {"connection_id":135024,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:23:05] local.INFO: Processing buffer {"connection_id":135024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:23:05] local.INFO: IMEI packet received {"connection_id":135024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":135024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:23:10] local.INFO: TCP Data received {"connection_id":135024,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:23:10] local.INFO: Processing buffer {"connection_id":135024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:23:10] local.INFO: IMEI packet received {"connection_id":135024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":135024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:23:11] local.INFO: TCP Data received {"connection_id":135024,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d2d218012d7f97c005afda580002006c2c..."} 
[2026-07-15 18:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d2d218012d7f97c005afda580002006c2c..."} 
[2026-07-15 18:23:11] local.INFO: Processing buffer {"connection_id":135024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d2d218012d7f97c005afda580002006c2c..."} 
[2026-07-15 18:23:11] local.INFO: Packet analysis {"connection_id":135024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d2"} 
[2026-07-15 18:23:11] local.INFO: Extracted packet for processing {"connection_id":135024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d2"} 
[2026-07-15 18:23:11] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734577152001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784119743000,"timestamp_ms":1784119743000,"timestamp_seconds":1784119743,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d2d218"} 
[2026-07-15 18:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-15 18:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":135024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":135024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":135024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:23:11] 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-07-15 18:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734577152001,"66":25832,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734577152001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:23:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:23:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734577152001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":135024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:23:11] local.INFO: GPS data processed {"connection_id":135024,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:23:11] local.INFO: Acknowledgment sent {"connection_id":135024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:23:29] local.INFO: TCP Data received {"connection_id":133665,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d50498012d19120007213df00040009729..."} 
[2026-07-15 18:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d50498012d19120007213df00040009729..."} 
[2026-07-15 18:23:29] local.INFO: Processing buffer {"connection_id":133665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d50498012d19120007213df00040009729..."} 
[2026-07-15 18:23:29] local.INFO: Packet analysis {"connection_id":133665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d5"} 
[2026-07-15 18:23:29] local.INFO: Extracted packet for processing {"connection_id":133665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d5"} 
[2026-07-15 18:23:29] local.INFO: GPS Element Parsed {"raw_longitude":756617728,"raw_latitude":119619056,"longitude_deg":75.6617728,"latitude_deg":11.9619056,"altitude":64,"angle":151,"satellites":41,"speed":2,"hex_longitude":"2d191200","hex_latitude":"07213df0","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734688000001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6224103396605952,"note":"Value kept but may cause issues"} 
[2026-07-15 18:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1806365693663174656,"note":"Value kept but may cause issues"} 
[2026-07-15 18:23: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-07-15 18:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784119887000,"timestamp_ms":1784119887000,"timestamp_seconds":1784119887,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d50498"} 
[2026-07-15 18:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:23:29] 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-07-15 18: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-15 18:23:29] 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-07-15 18: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-07-15 18:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":133665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":133665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":133665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:23:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734688000001,"66":14363,"121":206,"28":31744,"24":2,"16":6224103396605952,"45":1806365693663174656},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 18:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734688000001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:23:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 18:23:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6224103396605952,"km_value":6224103396605.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1806365693663174656,"description":"Unknown IO ID 45"} 
[2026-07-15 18:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734688000001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1806365693663174656}} 
[2026-07-15 18:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":133665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:23:29] local.INFO: GPS data processed {"connection_id":133665,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:23:29] local.INFO: Acknowledgment sent {"connection_id":133665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:23:32] local.INFO: TCP Data received {"connection_id":133666,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133666,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:23:32] local.INFO: Processing buffer {"connection_id":133666,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:23:32] local.INFO: IMEI packet received {"connection_id":133666,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 18:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":133666,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:23:42] local.INFO: TCP Data received {"connection_id":135024,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d2d218012d7f97c005afda580002006c2c..."} 
[2026-07-15 18:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d2d218012d7f97c005afda580002006c2c..."} 
[2026-07-15 18:23:42] local.INFO: Processing buffer {"connection_id":135024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d2d218012d7f97c005afda580002006c2c..."} 
[2026-07-15 18:23:42] local.INFO: Packet analysis {"connection_id":135024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d2"} 
[2026-07-15 18:23:42] local.INFO: Extracted packet for processing {"connection_id":135024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d2"} 
[2026-07-15 18:23:42] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734577152001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784119743000,"timestamp_ms":1784119743000,"timestamp_seconds":1784119743,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d2d218"} 
[2026-07-15 18:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-15 18:23:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":135024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":135024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":135024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:23:42] 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-07-15 18:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734577152001,"66":25832,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734577152001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:23:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:23:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734577152001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":135024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:23:42] local.INFO: GPS data processed {"connection_id":135024,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:23:42] local.INFO: Acknowledgment sent {"connection_id":135024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:23:49] local.INFO: TCP Data received {"connection_id":132815,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:23:49] local.INFO: Processing buffer {"connection_id":132815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:23:49] local.INFO: IMEI packet received {"connection_id":132815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":132815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:23:50] local.INFO: TCP Data received {"connection_id":132815,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:23:50] local.INFO: Processing buffer {"connection_id":132815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:23:50] local.INFO: IMEI packet received {"connection_id":132815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":132815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:23:55] local.INFO: TCP Data received {"connection_id":132815,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:23:55] local.INFO: Processing buffer {"connection_id":132815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:23:55] local.INFO: IMEI packet received {"connection_id":132815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":132815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:23:56] local.INFO: TCP Data received {"connection_id":132815,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d648d0012d18e68007214c580047010b28..."} 
[2026-07-15 18:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d648d0012d18e68007214c580047010b28..."} 
[2026-07-15 18:23:56] local.INFO: Processing buffer {"connection_id":132815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d648d0012d18e68007214c580047010b28..."} 
[2026-07-15 18:23:56] local.INFO: Packet analysis {"connection_id":132815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d6"} 
[2026-07-15 18:23:56] local.INFO: Extracted packet for processing {"connection_id":132815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d6"} 
[2026-07-15 18:23:56] local.INFO: GPS Element Parsed {"raw_longitude":756606592,"raw_latitude":119622744,"longitude_deg":75.6606592,"latitude_deg":11.9622744,"altitude":71,"angle":267,"satellites":40,"speed":0,"hex_longitude":"2d18e680","hex_latitude":"07214c58","is_valid_coordinates":true} 
[2026-07-15 18:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734706944001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6224756231634944,"note":"Value kept but may cause issues"} 
[2026-07-15 18:23:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795177063339821056,"note":"Value kept but may cause issues"} 
[2026-07-15 18:23: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-07-15 18:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784119970000,"timestamp_ms":1784119970000,"timestamp_seconds":1784119970,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d648d0"} 
[2026-07-15 18:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:23:56] 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-07-15 18:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-15 18:23: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-07-15 18: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-07-15 18:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:23:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734706944001,"66":14396,"121":206,"28":31744,"24":0,"16":6224756231634944,"45":1795177063339821056},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 18:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734706944001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:23:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 18:23:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6224756231634944,"km_value":6224756231634.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:23:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795177063339821056,"description":"Unknown IO ID 45"} 
[2026-07-15 18:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734706944001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1795177063339821056}} 
[2026-07-15 18:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":132815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:23:56] local.INFO: GPS data processed {"connection_id":132815,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:23:56] local.INFO: Acknowledgment sent {"connection_id":132815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:24:00] local.INFO: TCP Data received {"connection_id":132816,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:24:00] local.INFO: Processing buffer {"connection_id":132816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:24:00] local.INFO: IMEI packet received {"connection_id":132816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":132816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:24:04] local.INFO: TCP Data received {"connection_id":132817,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132817,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:24:04] local.INFO: Processing buffer {"connection_id":132817,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:24:04] local.INFO: IMEI packet received {"connection_id":132817,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 18:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":132817,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:24:05] local.INFO: TCP Data received {"connection_id":132816,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:24:05] local.INFO: Processing buffer {"connection_id":132816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:24:05] local.INFO: IMEI packet received {"connection_id":132816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":132816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:24:06] local.INFO: TCP Data received {"connection_id":132816,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d2d218012d7f97c005afda580002006c2c..."} 
[2026-07-15 18:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d2d218012d7f97c005afda580002006c2c..."} 
[2026-07-15 18:24:06] local.INFO: Processing buffer {"connection_id":132816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d2d218012d7f97c005afda580002006c2c..."} 
[2026-07-15 18:24:06] local.INFO: Packet analysis {"connection_id":132816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d2"} 
[2026-07-15 18:24:06] local.INFO: Extracted packet for processing {"connection_id":132816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d2"} 
[2026-07-15 18:24:06] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734577152001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784119743000,"timestamp_ms":1784119743000,"timestamp_seconds":1784119743,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d2d218"} 
[2026-07-15 18:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-15 18:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:24:06] 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-07-15 18:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734577152001,"66":25832,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734577152001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:24:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:24:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734577152001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":132816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:24:06] local.INFO: GPS data processed {"connection_id":132816,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:24:06] local.INFO: Acknowledgment sent {"connection_id":132816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:24:09] local.INFO: TCP Data received {"connection_id":132817,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132817,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:24:09] local.INFO: Processing buffer {"connection_id":132817,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:24:09] local.INFO: IMEI packet received {"connection_id":132817,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 18:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":132817,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:24:10] local.INFO: TCP Data received {"connection_id":132817,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d08440012d7e370005d34c780004003e2b..."} 
[2026-07-15 18:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d08440012d7e370005d34c780004003e2b..."} 
[2026-07-15 18:24:10] local.INFO: Processing buffer {"connection_id":132817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d08440012d7e370005d34c780004003e2b..."} 
[2026-07-15 18:24:10] local.INFO: Packet analysis {"connection_id":132817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d0"} 
[2026-07-15 18:24:10] local.INFO: Extracted packet for processing {"connection_id":132817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d0"} 
[2026-07-15 18:24:10] local.INFO: GPS Element Parsed {"raw_longitude":763246336,"raw_latitude":97733752,"longitude_deg":76.3246336,"latitude_deg":9.7733752,"altitude":4,"angle":62,"satellites":43,"speed":0,"hex_longitude":"2d7e3700","hex_latitude":"05d34c78","is_valid_coordinates":true} 
[2026-07-15 18:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734610176001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106733360394534912,"note":"Value kept but may cause issues"} 
[2026-07-15 18:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094737997517846528,"note":"Value kept but may cause issues"} 
[2026-07-15 18:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784119592000,"timestamp_ms":1784119592000,"timestamp_seconds":1784119592,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d08440"} 
[2026-07-15 18:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-15 18:24:10] 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-07-15 18:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":132817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":132817,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":132817,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 18:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 18:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734610176001,"66":12852,"109":206,"85":15104,"24":0,"16":106733360394534912,"45":9094737997517846528},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-15 18:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 18:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 18:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734610176001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:24:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-15 18:24:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 18:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106733360394534912,"km_value":106733360394534.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094737997517846528,"description":"Unknown IO ID 45"} 
[2026-07-15 18:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734610176001,"power":12852,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094737997517846528}} 
[2026-07-15 18:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":132817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492328,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:24:10] local.INFO: GPS data processed {"connection_id":132817,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:24:10] local.INFO: Acknowledgment sent {"connection_id":132817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:24:27] local.INFO: TCP Data received {"connection_id":132815,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d66bf8012d18e34007214c580047011f2a..."} 
[2026-07-15 18:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d66bf8012d18e34007214c580047011f2a..."} 
[2026-07-15 18:24:27] local.INFO: Processing buffer {"connection_id":132815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d66bf8012d18e34007214c580047011f2a..."} 
[2026-07-15 18:24:27] local.INFO: Packet analysis {"connection_id":132815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d6"} 
[2026-07-15 18:24:27] local.INFO: Extracted packet for processing {"connection_id":132815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d6"} 
[2026-07-15 18:24:27] local.INFO: GPS Element Parsed {"raw_longitude":756605760,"raw_latitude":119622744,"longitude_deg":75.660576,"latitude_deg":11.9622744,"altitude":71,"angle":287,"satellites":42,"speed":6,"hex_longitude":"2d18e340","hex_latitude":"07214c58","is_valid_coordinates":true} 
[2026-07-15 18:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734712320001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6224794886340608,"note":"Value kept but may cause issues"} 
[2026-07-15 18:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1794262269665499136,"note":"Value kept but may cause issues"} 
[2026-07-15 18:24: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-07-15 18:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784119979000,"timestamp_ms":1784119979000,"timestamp_seconds":1784119979,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d66bf8"} 
[2026-07-15 18:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:24:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-15 18:24:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":132815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":132815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":132815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734712320001,"66":14396,"121":206,"28":31744,"24":6,"16":6224794886340608,"45":1794262269665499136},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 18:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734712320001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:24:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 18:24:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6224794886340608,"km_value":6224794886340.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:24:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1794262269665499136,"description":"Unknown IO ID 45"} 
[2026-07-15 18:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734712320001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1794262269665499136}} 
[2026-07-15 18:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":132815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:24:27] local.INFO: GPS data processed {"connection_id":132815,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:24:27] local.INFO: Acknowledgment sent {"connection_id":132815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:24:37] local.INFO: TCP Data received {"connection_id":132816,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d2d218012d7f97c005afda580002006c2c..."} 
[2026-07-15 18:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d2d218012d7f97c005afda580002006c2c..."} 
[2026-07-15 18:24:37] local.INFO: Processing buffer {"connection_id":132816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d2d218012d7f97c005afda580002006c2c..."} 
[2026-07-15 18:24:37] local.INFO: Packet analysis {"connection_id":132816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d2"} 
[2026-07-15 18:24:37] local.INFO: Extracted packet for processing {"connection_id":132816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d2"} 
[2026-07-15 18:24:37] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734577152001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784119743000,"timestamp_ms":1784119743000,"timestamp_seconds":1784119743,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d2d218"} 
[2026-07-15 18:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-15 18:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:24:37] 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-07-15 18:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734577152001,"66":25832,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734577152001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:24:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:24:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734577152001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":132816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:24:37] local.INFO: GPS data processed {"connection_id":132816,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:24:37] local.INFO: Acknowledgment sent {"connection_id":132816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:24:41] local.INFO: TCP Data received {"connection_id":132817,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d0d648012d7e370005d34c780004003e2b..."} 
[2026-07-15 18:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d0d648012d7e370005d34c780004003e2b..."} 
[2026-07-15 18:24:41] local.INFO: Processing buffer {"connection_id":132817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d0d648012d7e370005d34c780004003e2b..."} 
[2026-07-15 18:24:41] local.INFO: Packet analysis {"connection_id":132817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d0"} 
[2026-07-15 18:24:41] local.INFO: Extracted packet for processing {"connection_id":132817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d0"} 
[2026-07-15 18:24:41] local.INFO: GPS Element Parsed {"raw_longitude":763246336,"raw_latitude":97733752,"longitude_deg":76.3246336,"latitude_deg":9.7733752,"altitude":4,"angle":62,"satellites":43,"speed":0,"hex_longitude":"2d7e3700","hex_latitude":"05d34c78","is_valid_coordinates":true} 
[2026-07-15 18:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734615552001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106733360394534912,"note":"Value kept but may cause issues"} 
[2026-07-15 18:24:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094737997517846528,"note":"Value kept but may cause issues"} 
[2026-07-15 18:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784119613000,"timestamp_ms":1784119613000,"timestamp_seconds":1784119613,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d0d648"} 
[2026-07-15 18:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-15 18:24:41] 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-07-15 18:24:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132817,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132817,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:24:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 18:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 18:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734615552001,"66":13222,"109":206,"85":15104,"24":0,"16":106733360394534912,"45":9094737997517846528},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-15 18:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 18:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 18:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734615552001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:24:41] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-15 18:24:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 18:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106733360394534912,"km_value":106733360394534.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:24:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094737997517846528,"description":"Unknown IO ID 45"} 
[2026-07-15 18:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734615552001,"power":13222,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094737997517846528}} 
[2026-07-15 18:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":132817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492331,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:24:41] local.INFO: GPS data processed {"connection_id":132817,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:24:41] local.INFO: Acknowledgment sent {"connection_id":132817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:24:50] local.INFO: TCP Data received {"connection_id":133668,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:24:50] local.INFO: Processing buffer {"connection_id":133668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:24:50] local.INFO: IMEI packet received {"connection_id":133668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":133668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:24:55] local.INFO: TCP Data received {"connection_id":133668,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:24:55] local.INFO: Processing buffer {"connection_id":133668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:24:55] local.INFO: IMEI packet received {"connection_id":133668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":133668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:24:57] local.INFO: TCP Data received {"connection_id":133668,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d71fa8012d18a54007217450004c01232c..."} 
[2026-07-15 18:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d71fa8012d18a54007217450004c01232c..."} 
[2026-07-15 18:24:57] local.INFO: Processing buffer {"connection_id":133668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d71fa8012d18a54007217450004c01232c..."} 
[2026-07-15 18:24:57] local.INFO: Packet analysis {"connection_id":133668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d7"} 
[2026-07-15 18:24:57] local.INFO: Extracted packet for processing {"connection_id":133668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d7"} 
[2026-07-15 18:24:57] local.INFO: GPS Element Parsed {"raw_longitude":756589888,"raw_latitude":119632976,"longitude_deg":75.6589888,"latitude_deg":11.9632976,"altitude":76,"angle":291,"satellites":44,"speed":29,"hex_longitude":"2d18a540","hex_latitude":"07217450","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734725888001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6225774138884096,"note":"Value kept but may cause issues"} 
[2026-07-15 18:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777303402321149952,"note":"Value kept but may cause issues"} 
[2026-07-15 18:24: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-07-15 18:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784120025000,"timestamp_ms":1784120025000,"timestamp_seconds":1784120025,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d71fa8"} 
[2026-07-15 18:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:24:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18: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":115,"data_length":795,"current_offset":136} 
[2026-07-15 18:24:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18: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-07-15 18:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":133668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":133668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":133668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:24:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734725888001,"66":13330,"121":206,"28":31744,"24":29,"16":6225774138884096,"45":1777303402321149952},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 18:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734725888001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:24:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 18:24:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6225774138884096,"km_value":6225774138884.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777303402321149952,"description":"Unknown IO ID 45"} 
[2026-07-15 18:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734725888001,"power":13330,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1777303402321149952}} 
[2026-07-15 18:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":133668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:24:57] local.INFO: GPS data processed {"connection_id":133668,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:24:57] local.INFO: Acknowledgment sent {"connection_id":133668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:24:59] local.INFO: TCP Data received {"connection_id":133669,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133669,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:24:59] local.INFO: Processing buffer {"connection_id":133669,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:24:59] local.INFO: IMEI packet received {"connection_id":133669,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 18:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":133669,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:25:00] local.INFO: TCP Data received {"connection_id":135026,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:25:00] local.INFO: Processing buffer {"connection_id":135026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:25:00] local.INFO: IMEI packet received {"connection_id":135026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":135026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:25:05] local.INFO: TCP Data received {"connection_id":133669,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133669,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:25:05] local.INFO: Processing buffer {"connection_id":133669,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:25:05] local.INFO: IMEI packet received {"connection_id":133669,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 18:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":133669,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:25:05] local.INFO: TCP Data received {"connection_id":135026,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:25:05] local.INFO: Processing buffer {"connection_id":135026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:25:05] local.INFO: IMEI packet received {"connection_id":135026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":135026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:25:06] local.INFO: TCP Data received {"connection_id":135026,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d769e0012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d769e0012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:25:06] local.INFO: Processing buffer {"connection_id":135026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d769e0012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:25:06] local.INFO: Packet analysis {"connection_id":135026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d7"} 
[2026-07-15 18:25:06] local.INFO: Extracted packet for processing {"connection_id":135026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d7"} 
[2026-07-15 18:25:06] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734654208001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784120044000,"timestamp_ms":1784120044000,"timestamp_seconds":1784120044,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d769e0"} 
[2026-07-15 18:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-15 18:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:25:06] 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-07-15 18:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734654208001,"66":25843,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734654208001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:25:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:25:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734654208001,"power":25843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":135026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:25:06] local.INFO: GPS data processed {"connection_id":135026,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:25:06] local.INFO: Acknowledgment sent {"connection_id":135026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:25:06] local.INFO: TCP Data received {"connection_id":133669,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d12850012d7e370005d34c780004003e2a..."} 
[2026-07-15 18:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d12850012d7e370005d34c780004003e2a..."} 
[2026-07-15 18:25:06] local.INFO: Processing buffer {"connection_id":133669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d12850012d7e370005d34c780004003e2a..."} 
[2026-07-15 18:25:06] local.INFO: Packet analysis {"connection_id":133669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d1"} 
[2026-07-15 18:25:06] local.INFO: Extracted packet for processing {"connection_id":133669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d1"} 
[2026-07-15 18:25:06] local.INFO: GPS Element Parsed {"raw_longitude":763246336,"raw_latitude":97733752,"longitude_deg":76.3246336,"latitude_deg":9.7733752,"altitude":4,"angle":62,"satellites":42,"speed":0,"hex_longitude":"2d7e3700","hex_latitude":"05d34c78","is_valid_coordinates":true} 
[2026-07-15 18:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734620928001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106733360394534912,"note":"Value kept but may cause issues"} 
[2026-07-15 18:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094737997517846528,"note":"Value kept but may cause issues"} 
[2026-07-15 18:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784119634000,"timestamp_ms":1784119634000,"timestamp_seconds":1784119634,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d12850"} 
[2026-07-15 18:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-15 18:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 18:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 18:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734620928001,"66":13254,"109":206,"85":15104,"24":0,"16":106733360394534912,"45":9094737997517846528},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-15 18:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 18:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 18:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734620928001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:25:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-15 18:25:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 18:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106733360394534912,"km_value":106733360394534.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094737997517846528,"description":"Unknown IO ID 45"} 
[2026-07-15 18:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734620928001,"power":13254,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094737997517846528}} 
[2026-07-15 18:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":133669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492334,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:25:06] local.INFO: GPS data processed {"connection_id":133669,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:25:06] local.INFO: Acknowledgment sent {"connection_id":133669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:25:28] local.INFO: TCP Data received {"connection_id":133668,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d74aa0012d18814007218100004c01152a..."} 
[2026-07-15 18:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d74aa0012d18814007218100004c01152a..."} 
[2026-07-15 18:25:28] local.INFO: Processing buffer {"connection_id":133668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d74aa0012d18814007218100004c01152a..."} 
[2026-07-15 18:25:28] local.INFO: Packet analysis {"connection_id":133668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d7"} 
[2026-07-15 18:25:28] local.INFO: Extracted packet for processing {"connection_id":133668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d7"} 
[2026-07-15 18:25:28] local.INFO: GPS Element Parsed {"raw_longitude":756580672,"raw_latitude":119636224,"longitude_deg":75.6580672,"latitude_deg":11.9636224,"altitude":76,"angle":277,"satellites":42,"speed":35,"hex_longitude":"2d188140","hex_latitude":"07218100","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734726400001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6226242290319360,"note":"Value kept but may cause issues"} 
[2026-07-15 18:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775896027437748224,"note":"Value kept but may cause issues"} 
[2026-07-15 18:25: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-07-15 18:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784120036000,"timestamp_ms":1784120036000,"timestamp_seconds":1784120036,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d74aa0"} 
[2026-07-15 18:25:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:25:28] 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-07-15 18: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-15 18:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-15 18:25:28] local.WARNING: Large IO value detected {"io_id":29,"raw_value":3506438144,"note":"Value kept but may cause issues"} 
[2026-07-15 18:25:28] local.WARNING: Large IO value detected {"io_id":217,"raw_value":2147950930,"note":"Value kept but may cause issues"} 
[2026-07-15 18:25:28] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249591497726710120,"note":"Value kept but may cause issues"} 
[2026-07-15 18:25:28] local.WARNING: Large IO value detected {"io_id":101,"raw_value":3604056065,"note":"Value kept but may cause issues"} 
[2026-07-15 18:25:28] local.WARNING: Large IO value detected {"io_id":33,"raw_value":5917730219622279424,"note":"Value kept but may cause issues"} 
[2026-07-15 18:25:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-15 18:25:28] local.WARNING: Large IO value detected {"io_id":154,"raw_value":3623955736,"note":"Value kept but may cause issues"} 
[2026-07-15 18:25:28] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3019951591,"note":"Value kept but may cause issues"} 
[2026-07-15 18:25:28] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":57956877116251260,"corrected_to":0} 
[2026-07-15 18:25:28] local.WARNING: Large IO value detected {"io_id":214,"raw_value":-8133499633828823033,"note":"Value kept but may cause issues"} 
[2026-07-15 18:25:28] local.WARNING: Large IO value detected {"io_id":11,"raw_value":563985040580120,"note":"Value kept but may cause issues"} 
[2026-07-15 18:25:28] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-07-15 18:25:28] local.WARNING: Large IO value detected {"io_id":74,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-15 18:25:28] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,121,28,24,241,158,16,30,159,23,45,64,114,75,44,10,66,225,86,73,29,217,192,1,240,224,101,33,4,113,205,154,128,43,239,54,2,22,7,72,12,246,214,11,231,74],"length":626,"final_offset":756,"validated_count":46,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0},{"io_id":246,"original":57956877116251260,"validated":0}]} 
[2026-07-15 18:25:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476697293746667520,"timestamp_seconds":5476697293746668.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 18:25:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":133668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":133668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":133668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:25:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734726400001,"66":14080,"121":206,"28":31744,"24":35,"16":6226242290319360,"45":1775896027437748224},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 18:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734726400001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:25:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 18:25:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6226242290319360,"km_value":6226242290319.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775896027437748224,"description":"Unknown IO ID 45"} 
[2026-07-15 18:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734726400001,"power":14080,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1775896027437748224}} 
[2026-07-15 18:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":133668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:25:28] local.INFO: GPS data processed {"connection_id":133668,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:25:28] local.INFO: Acknowledgment sent {"connection_id":133668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:25:37] local.INFO: TCP Data received {"connection_id":135026,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d769e0012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d769e0012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:25:37] local.INFO: Processing buffer {"connection_id":135026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d769e0012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:25:37] local.INFO: Packet analysis {"connection_id":135026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d7"} 
[2026-07-15 18:25:37] local.INFO: Extracted packet for processing {"connection_id":135026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d7"} 
[2026-07-15 18:25:37] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734654208001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784120044000,"timestamp_ms":1784120044000,"timestamp_seconds":1784120044,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d769e0"} 
[2026-07-15 18:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-15 18:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":135026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":135026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":135026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:25:37] 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-07-15 18:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734654208001,"66":25843,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734654208001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:25:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:25:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734654208001,"power":25843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":135026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:25:37] local.INFO: GPS data processed {"connection_id":135026,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:25:37] local.INFO: Acknowledgment sent {"connection_id":135026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:25:37] local.INFO: TCP Data received {"connection_id":133669,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d17a58012d7e370005d34c780004003e2a..."} 
[2026-07-15 18:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d17a58012d7e370005d34c780004003e2a..."} 
[2026-07-15 18:25:37] local.INFO: Processing buffer {"connection_id":133669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d17a58012d7e370005d34c780004003e2a..."} 
[2026-07-15 18:25:37] local.INFO: Packet analysis {"connection_id":133669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d1"} 
[2026-07-15 18:25:37] local.INFO: Extracted packet for processing {"connection_id":133669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d1"} 
[2026-07-15 18:25:37] local.INFO: GPS Element Parsed {"raw_longitude":763246336,"raw_latitude":97733752,"longitude_deg":76.3246336,"latitude_deg":9.7733752,"altitude":4,"angle":62,"satellites":42,"speed":0,"hex_longitude":"2d7e3700","hex_latitude":"05d34c78","is_valid_coordinates":true} 
[2026-07-15 18:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734626304001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106733360394534912,"note":"Value kept but may cause issues"} 
[2026-07-15 18:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094737997517846528,"note":"Value kept but may cause issues"} 
[2026-07-15 18:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784119655000,"timestamp_ms":1784119655000,"timestamp_seconds":1784119655,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d17a58"} 
[2026-07-15 18:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-15 18:25:37] 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-07-15 18:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 18:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 18:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734626304001,"66":13135,"109":206,"85":15104,"24":0,"16":106733360394534912,"45":9094737997517846528},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-15 18:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 18:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 18:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734626304001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:25:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-15 18:25:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 18:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106733360394534912,"km_value":106733360394534.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094737997517846528,"description":"Unknown IO ID 45"} 
[2026-07-15 18:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734626304001,"power":13135,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094737997517846528}} 
[2026-07-15 18:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":133669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492337,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:25:38] local.INFO: GPS data processed {"connection_id":133669,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:25:38] local.INFO: Acknowledgment sent {"connection_id":133669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:25:50] local.INFO: TCP Data received {"connection_id":132633,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:25:50] local.INFO: Processing buffer {"connection_id":132633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:25:50] local.INFO: IMEI packet received {"connection_id":132633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":132633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:25:52] local.INFO: TCP Data received {"connection_id":132633,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:25:52] local.INFO: Processing buffer {"connection_id":132633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:25:52] local.INFO: IMEI packet received {"connection_id":132633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":132633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:25:53] local.INFO: TCP Data received {"connection_id":132633,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:25:53] local.INFO: Processing buffer {"connection_id":132633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:25:53] local.INFO: IMEI packet received {"connection_id":132633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":132633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:25:55] local.INFO: TCP Data received {"connection_id":132633,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:25:55] local.INFO: Processing buffer {"connection_id":132633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:25:55] local.INFO: IMEI packet received {"connection_id":132633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":132633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:25:56] local.INFO: TCP Data received {"connection_id":132633,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d74aa0012d18814007218100004c01152a..."} 
[2026-07-15 18:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d74aa0012d18814007218100004c01152a..."} 
[2026-07-15 18:25:56] local.INFO: Processing buffer {"connection_id":132633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d74aa0012d18814007218100004c01152a..."} 
[2026-07-15 18:25:56] local.INFO: Packet analysis {"connection_id":132633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d7"} 
[2026-07-15 18:25:56] local.INFO: Extracted packet for processing {"connection_id":132633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d7"} 
[2026-07-15 18:25:56] local.INFO: GPS Element Parsed {"raw_longitude":756580672,"raw_latitude":119636224,"longitude_deg":75.6580672,"latitude_deg":11.9636224,"altitude":76,"angle":277,"satellites":42,"speed":35,"hex_longitude":"2d188140","hex_latitude":"07218100","is_valid_coordinates":true} 
[2026-07-15 18:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734729216001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6226242290319360,"note":"Value kept but may cause issues"} 
[2026-07-15 18:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1765762928276996096,"note":"Value kept but may cause issues"} 
[2026-07-15 18:25: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-07-15 18:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784120036000,"timestamp_ms":1784120036000,"timestamp_seconds":1784120036,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d74aa0"} 
[2026-07-15 18:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:25:56] 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-07-15 18:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-15 18:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-07-15 18:25:56] local.WARNING: Large IO value detected {"io_id":29,"raw_value":3690987520,"note":"Value kept but may cause issues"} 
[2026-07-15 18:25:56] local.WARNING: Large IO value detected {"io_id":101,"raw_value":3604568065,"note":"Value kept but may cause issues"} 
[2026-07-15 18:25:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-15 18:25:56] local.WARNING: Large IO value detected {"io_id":209,"raw_value":2281778456,"note":"Value kept but may cause issues"} 
[2026-07-15 18:25:56] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2835402215,"note":"Value kept but may cause issues"} 
[2026-07-15 18:25:56] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,121,28,24,241,158,16,30,159,31,45,64,116,76,44,10,66,23,114,75,225,1,240,111,29,101,33,4,113,205,209,197,88,239,54,2,22,7,72,12],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-15 18:25:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476681891994337280,"timestamp_seconds":5476681891994337.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 18:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734729216001,"66":14080,"121":206,"28":31744,"24":35,"16":6226242290319360,"45":1765762928276996096},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 18:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734729216001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:25:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 18:25:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6226242290319360,"km_value":6226242290319.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1765762928276996096,"description":"Unknown IO ID 45"} 
[2026-07-15 18:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734729216001,"power":14080,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1765762928276996096}} 
[2026-07-15 18:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":132633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:25:56] local.INFO: GPS data processed {"connection_id":132633,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:25:56] local.INFO: Acknowledgment sent {"connection_id":132633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:25:59] local.INFO: TCP Data received {"connection_id":132634,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132634,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:25:59] local.INFO: Processing buffer {"connection_id":132634,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:25:59] local.INFO: IMEI packet received {"connection_id":132634,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 18:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":132634,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:26:00] local.INFO: TCP Data received {"connection_id":132635,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:26:00] local.INFO: Processing buffer {"connection_id":132635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:26:00] local.INFO: IMEI packet received {"connection_id":132635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":132635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:26:05] local.INFO: TCP Data received {"connection_id":132634,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132634,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:26:05] local.INFO: Processing buffer {"connection_id":132634,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:26:05] local.INFO: IMEI packet received {"connection_id":132634,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 18:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":132634,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:26:05] local.INFO: TCP Data received {"connection_id":132635,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:26:05] local.INFO: Processing buffer {"connection_id":132635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:26:05] local.INFO: IMEI packet received {"connection_id":132635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":132635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:26:06] local.INFO: TCP Data received {"connection_id":132634,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d1cc60012d7e370005d34c780004003e2b..."} 
[2026-07-15 18:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d1cc60012d7e370005d34c780004003e2b..."} 
[2026-07-15 18:26:06] local.INFO: Processing buffer {"connection_id":132634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d1cc60012d7e370005d34c780004003e2b..."} 
[2026-07-15 18:26:06] local.INFO: Packet analysis {"connection_id":132634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d1"} 
[2026-07-15 18:26:06] local.INFO: Extracted packet for processing {"connection_id":132634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d1"} 
[2026-07-15 18:26:06] local.INFO: GPS Element Parsed {"raw_longitude":763246336,"raw_latitude":97733752,"longitude_deg":76.3246336,"latitude_deg":9.7733752,"altitude":4,"angle":62,"satellites":43,"speed":0,"hex_longitude":"2d7e3700","hex_latitude":"05d34c78","is_valid_coordinates":true} 
[2026-07-15 18:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734631680001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106733360394534912,"note":"Value kept but may cause issues"} 
[2026-07-15 18:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094737997517846528,"note":"Value kept but may cause issues"} 
[2026-07-15 18:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784119676000,"timestamp_ms":1784119676000,"timestamp_seconds":1784119676,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d1cc60"} 
[2026-07-15 18:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-15 18:26: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-07-15 18:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 18:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 18:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734631680001,"66":13319,"109":206,"85":15104,"24":0,"16":106733360394534912,"45":9094737997517846528},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-15 18:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 18:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 18:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734631680001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:26:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-15 18:26:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 18:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106733360394534912,"km_value":106733360394534.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094737997517846528,"description":"Unknown IO ID 45"} 
[2026-07-15 18:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734631680001,"power":13319,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094737997517846528}} 
[2026-07-15 18:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":132634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492339,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:26:06] local.INFO: GPS data processed {"connection_id":132634,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:26:06] local.INFO: Acknowledgment sent {"connection_id":132634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:26:06] local.INFO: TCP Data received {"connection_id":132635,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d769e0012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d769e0012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:26:06] local.INFO: Processing buffer {"connection_id":132635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d769e0012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:26:06] local.INFO: Packet analysis {"connection_id":132635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d7"} 
[2026-07-15 18:26:06] local.INFO: Extracted packet for processing {"connection_id":132635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d7"} 
[2026-07-15 18:26:06] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734654208001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784120044000,"timestamp_ms":1784120044000,"timestamp_seconds":1784120044,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d769e0"} 
[2026-07-15 18:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-15 18:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:26:06] 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-07-15 18:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734654208001,"66":25843,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734654208001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:26:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:26:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734654208001,"power":25843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":132635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:26:06] local.INFO: GPS data processed {"connection_id":132635,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:26:06] local.INFO: Acknowledgment sent {"connection_id":132635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:26:28] local.INFO: TCP Data received {"connection_id":132633,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d75658012d18770007218148004d010828..."} 
[2026-07-15 18:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d75658012d18770007218148004d010828..."} 
[2026-07-15 18:26:28] local.INFO: Processing buffer {"connection_id":132633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d75658012d18770007218148004d010828..."} 
[2026-07-15 18:26:28] local.INFO: Packet analysis {"connection_id":132633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d7"} 
[2026-07-15 18:26:28] local.INFO: Extracted packet for processing {"connection_id":132633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d7"} 
[2026-07-15 18:26:28] local.INFO: GPS Element Parsed {"raw_longitude":756578048,"raw_latitude":119636296,"longitude_deg":75.6578048,"latitude_deg":11.9636296,"altitude":77,"angle":264,"satellites":40,"speed":33,"hex_longitude":"2d187700","hex_latitude":"07218148","is_valid_coordinates":true} 
[2026-07-15 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-07-15 18:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734729216001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6226366844370944,"note":"Value kept but may cause issues"} 
[2026-07-15 18:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1765762928276996096,"note":"Value kept but may cause issues"} 
[2026-07-15 18:26: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-07-15 18:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784120039000,"timestamp_ms":1784120039000,"timestamp_seconds":1784120039,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d75658"} 
[2026-07-15 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-07-15 18:26:28] 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-07-15 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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-15 18:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-07-15 18:26:28] local.WARNING: Large IO value detected {"io_id":101,"raw_value":3605080065,"note":"Value kept but may cause issues"} 
[2026-07-15 18:26:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-15 18:26:28] local.WARNING: Large IO value detected {"io_id":194,"raw_value":3221692756,"note":"Value kept but may cause issues"} 
[2026-07-15 18:26:28] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3758149095,"note":"Value kept but may cause issues"} 
[2026-07-15 18:26:28] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,121,28,24,241,158,16,30,159,74,45,64,129,76,42,10,66,31,116,44,23,1,240,115,101,33,4,113,205,17,217,194,136,239,54,2,22,7,73],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-15 18:26:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476681891994337280,"timestamp_seconds":5476681891994337.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 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-07-15 18:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:26:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734729216001,"66":13993,"121":206,"28":31744,"24":33,"16":6226366844370944,"45":1765762928276996096},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 18:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734729216001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:26:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 18:26:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6226366844370944,"km_value":6226366844370.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1765762928276996096,"description":"Unknown IO ID 45"} 
[2026-07-15 18:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734729216001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1765762928276996096}} 
[2026-07-15 18:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":132633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:26:28] local.INFO: GPS data processed {"connection_id":132633,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:26:28] local.INFO: Acknowledgment sent {"connection_id":132633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:26:37] local.INFO: TCP Data received {"connection_id":132635,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d769e0012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d769e0012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:26:37] local.INFO: Processing buffer {"connection_id":132635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d769e0012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:26:37] local.INFO: Packet analysis {"connection_id":132635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d7"} 
[2026-07-15 18:26:37] local.INFO: Extracted packet for processing {"connection_id":132635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d7"} 
[2026-07-15 18:26:37] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734654208001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784120044000,"timestamp_ms":1784120044000,"timestamp_seconds":1784120044,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d769e0"} 
[2026-07-15 18:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-15 18:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:26:37] 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-07-15 18:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734654208001,"66":25843,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734654208001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:26:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:26:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734654208001,"power":25843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":132635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:26:37] local.INFO: GPS data processed {"connection_id":132635,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:26:37] local.INFO: Acknowledgment sent {"connection_id":132635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:26:38] local.INFO: TCP Data received {"connection_id":132634,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d21e68012d7e370005d34c780004003e29..."} 
[2026-07-15 18:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d21e68012d7e370005d34c780004003e29..."} 
[2026-07-15 18:26:38] local.INFO: Processing buffer {"connection_id":132634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d21e68012d7e370005d34c780004003e29..."} 
[2026-07-15 18:26:38] local.INFO: Packet analysis {"connection_id":132634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d2"} 
[2026-07-15 18:26:38] local.INFO: Extracted packet for processing {"connection_id":132634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d2"} 
[2026-07-15 18:26:38] local.INFO: GPS Element Parsed {"raw_longitude":763246336,"raw_latitude":97733752,"longitude_deg":76.3246336,"latitude_deg":9.7733752,"altitude":4,"angle":62,"satellites":41,"speed":0,"hex_longitude":"2d7e3700","hex_latitude":"05d34c78","is_valid_coordinates":true} 
[2026-07-15 18:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734637056001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106733360394534912,"note":"Value kept but may cause issues"} 
[2026-07-15 18:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094737997517846528,"note":"Value kept but may cause issues"} 
[2026-07-15 18:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784119697000,"timestamp_ms":1784119697000,"timestamp_seconds":1784119697,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d21e68"} 
[2026-07-15 18:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-15 18:26:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-15 18:26:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-07-15 18:26:38] local.WARNING: Large IO value detected {"io_id":101,"raw_value":3498328065,"note":"Value kept but may cause issues"} 
[2026-07-15 18:26:38] local.WARNING: Large IO value detected {"io_id":211,"raw_value":5510154161271745024,"note":"Value kept but may cause issues"} 
[2026-07-15 18:26:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-07-15 18:26:38] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545004032,"note":"Value kept but may cause issues"} 
[2026-07-15 18:26:38] local.WARNING: Large IO value detected {"io_id":63,"raw_value":57787500785980731,"note":"Value kept but may cause issues"} 
[2026-07-15 18:26:38] local.WARNING: Large IO value detected {"io_id":207,"raw_value":-8203305426352668667,"note":"Value kept but may cause issues"} 
[2026-07-15 18:26:38] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,109,85,24,241,157,16,49,159,122,45,76,4,42,10,66,40,214,1,240,166,227,101,211,113,205,50,55,120,43,239,2,123,5,63,207],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-07-15 18:26:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288298730556227584,"timestamp_seconds":288298730556227.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 18:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 18:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 18:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734637056001,"66":13341,"109":206,"85":15104,"24":0,"16":106733360394534912,"45":9094737997517846528},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-15 18:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 18:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 18:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734637056001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:26:38] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-15 18:26:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 18:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106733360394534912,"km_value":106733360394534.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094737997517846528,"description":"Unknown IO ID 45"} 
[2026-07-15 18:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734637056001,"power":13341,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094737997517846528}} 
[2026-07-15 18:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":132634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492343,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:26:38] local.INFO: GPS data processed {"connection_id":132634,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:26:38] local.INFO: Acknowledgment sent {"connection_id":132634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:26:55] local.INFO: TCP Data received {"connection_id":132818,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:26:55] local.INFO: Processing buffer {"connection_id":132818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:26:55] local.INFO: IMEI packet received {"connection_id":132818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":132818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:27:00] local.INFO: TCP Data received {"connection_id":132819,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:27:00] local.INFO: Processing buffer {"connection_id":132819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:27:00] local.INFO: IMEI packet received {"connection_id":132819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":132819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:27:00] local.INFO: TCP Data received {"connection_id":132818,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:27:00] local.INFO: Processing buffer {"connection_id":132818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:27:00] local.INFO: IMEI packet received {"connection_id":132818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":132818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:27:01] local.INFO: TCP Data received {"connection_id":132818,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d769e0012d186740072180d8004d011529..."} 
[2026-07-15 18:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d769e0012d186740072180d8004d011529..."} 
[2026-07-15 18:27:01] local.INFO: Processing buffer {"connection_id":132818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d769e0012d186740072180d8004d011529..."} 
[2026-07-15 18:27:01] local.INFO: Packet analysis {"connection_id":132818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d7"} 
[2026-07-15 18:27:01] local.INFO: Extracted packet for processing {"connection_id":132818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d7"} 
[2026-07-15 18:27:01] local.INFO: GPS Element Parsed {"raw_longitude":756574016,"raw_latitude":119636184,"longitude_deg":75.6574016,"latitude_deg":11.9636184,"altitude":77,"angle":277,"satellites":41,"speed":31,"hex_longitude":"2d186740","hex_latitude":"072180d8","is_valid_coordinates":true} 
[2026-07-15 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-07-15 18:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734729984001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6226555822931968,"note":"Value kept but may cause issues"} 
[2026-07-15 18:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762877809765730304,"note":"Value kept but may cause issues"} 
[2026-07-15 18:27:01] 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-07-15 18:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784120044000,"timestamp_ms":1784120044000,"timestamp_seconds":1784120044,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d769e0"} 
[2026-07-15 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-07-15 18:27:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":169,"data_length":795,"current_offset":136} 
[2026-07-15 18:27:01] 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-07-15 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-07-15 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-07-15 18:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":132818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":132818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":132818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734729984001,"66":14070,"121":206,"28":31744,"24":31,"16":6226555822931968,"45":1762877809765730304},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 18:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734729984001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:27:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 18:27:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6226555822931968,"km_value":6226555822931.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762877809765730304,"description":"Unknown IO ID 45"} 
[2026-07-15 18:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734729984001,"power":14070,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1762877809765730304}} 
[2026-07-15 18:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":132818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:27:01] local.INFO: GPS data processed {"connection_id":132818,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:27:01] local.INFO: Acknowledgment sent {"connection_id":132818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:27:02] local.INFO: TCP Data received {"connection_id":132818,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d771b0012d1860c007218280004d012129..."} 
[2026-07-15 18:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d771b0012d1860c007218280004d012129..."} 
[2026-07-15 18:27:02] local.INFO: Processing buffer {"connection_id":132818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d771b0012d1860c007218280004d012129..."} 
[2026-07-15 18:27:02] local.INFO: Packet analysis {"connection_id":132818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d7"} 
[2026-07-15 18:27:02] local.INFO: Extracted packet for processing {"connection_id":132818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d7"} 
[2026-07-15 18:27:02] local.INFO: GPS Element Parsed {"raw_longitude":756572352,"raw_latitude":119636608,"longitude_deg":75.6572352,"latitude_deg":11.9636608,"altitude":77,"angle":289,"satellites":41,"speed":34,"hex_longitude":"2d1860c0","hex_latitude":"07218280","is_valid_coordinates":true} 
[2026-07-15 18:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734731264001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6226641722277888,"note":"Value kept but may cause issues"} 
[2026-07-15 18:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1758444578882508800,"note":"Value kept but may cause issues"} 
[2026-07-15 18:27:02] 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-07-15 18:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784120046000,"timestamp_ms":1784120046000,"timestamp_seconds":1784120046,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d771b0"} 
[2026-07-15 18:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:27:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-15 18:27:02] 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-07-15 18:27:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":132818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":132818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":132818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734731264001,"66":14363,"121":206,"28":31744,"24":34,"16":6226641722277888,"45":1758444578882508800},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 18:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734731264001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:27:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 18:27:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6226641722277888,"km_value":6226641722277.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1758444578882508800,"description":"Unknown IO ID 45"} 
[2026-07-15 18:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734731264001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1758444578882508800}} 
[2026-07-15 18:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":132818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:27:03] local.INFO: GPS data processed {"connection_id":132818,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:27:03] local.INFO: Acknowledgment sent {"connection_id":132818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:27:04] local.INFO: TCP Data received {"connection_id":135029,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135029,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:27:04] local.INFO: Processing buffer {"connection_id":135029,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:27:04] local.INFO: IMEI packet received {"connection_id":135029,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 18:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":135029,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:27:05] local.INFO: TCP Data received {"connection_id":132819,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:27:05] local.INFO: Processing buffer {"connection_id":132819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:27:05] local.INFO: IMEI packet received {"connection_id":132819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":132819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:27:06] local.INFO: TCP Data received {"connection_id":132819,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d769e0012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d769e0012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:27:06] local.INFO: Processing buffer {"connection_id":132819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d769e0012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:27:06] local.INFO: Packet analysis {"connection_id":132819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d7"} 
[2026-07-15 18:27:06] local.INFO: Extracted packet for processing {"connection_id":132819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d7"} 
[2026-07-15 18:27:06] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734654208001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784120044000,"timestamp_ms":1784120044000,"timestamp_seconds":1784120044,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d769e0"} 
[2026-07-15 18:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-15 18:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:27:06] 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-07-15 18:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734654208001,"66":25843,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734654208001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:27:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:27:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734654208001,"power":25843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":132819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:27:06] local.INFO: GPS data processed {"connection_id":132819,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:27:06] local.INFO: Acknowledgment sent {"connection_id":132819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:27:09] local.INFO: TCP Data received {"connection_id":135029,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135029,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:27:09] local.INFO: Processing buffer {"connection_id":135029,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:27:09] local.INFO: IMEI packet received {"connection_id":135029,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 18:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":135029,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:27:10] local.INFO: TCP Data received {"connection_id":135029,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d25900012d7e370005d34c780004003e28..."} 
[2026-07-15 18:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d25900012d7e370005d34c780004003e28..."} 
[2026-07-15 18:27:10] local.INFO: Processing buffer {"connection_id":135029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d25900012d7e370005d34c780004003e28..."} 
[2026-07-15 18:27:10] local.INFO: Packet analysis {"connection_id":135029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d2"} 
[2026-07-15 18:27:10] local.INFO: Extracted packet for processing {"connection_id":135029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d2"} 
[2026-07-15 18:27:10] local.INFO: GPS Element Parsed {"raw_longitude":763246336,"raw_latitude":97733752,"longitude_deg":76.3246336,"latitude_deg":9.7733752,"altitude":4,"angle":62,"satellites":40,"speed":0,"hex_longitude":"2d7e3700","hex_latitude":"05d34c78","is_valid_coordinates":true} 
[2026-07-15 18:27:10] 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-07-15 18:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734642432001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106733360394534912,"note":"Value kept but may cause issues"} 
[2026-07-15 18:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094737997517846528,"note":"Value kept but may cause issues"} 
[2026-07-15 18:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784119712000,"timestamp_ms":1784119712000,"timestamp_seconds":1784119712,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d25900"} 
[2026-07-15 18:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:27: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":29,"data_length":795,"current_offset":136} 
[2026-07-15 18:27:10] 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-07-15 18:27: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-07-15 18:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":135029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":135029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":135029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 18:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 18:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734642432001,"66":13243,"109":206,"85":15104,"24":0,"16":106733360394534912,"45":9094737997517846528},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-15 18:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 18:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 18:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734642432001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:27:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-15 18:27:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 18:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106733360394534912,"km_value":106733360394534.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094737997517846528,"description":"Unknown IO ID 45"} 
[2026-07-15 18:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734642432001,"power":13243,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094737997517846528}} 
[2026-07-15 18:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":135029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492347,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:27:10] local.INFO: GPS data processed {"connection_id":135029,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:27:10] local.INFO: Acknowledgment sent {"connection_id":135029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:27:15] local.INFO: TCP Data received {"connection_id":135029,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d25900012d7e370005d34c780004003e28..."} 
[2026-07-15 18:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d25900012d7e370005d34c780004003e28..."} 
[2026-07-15 18:27:15] local.INFO: Processing buffer {"connection_id":135029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d25900012d7e370005d34c780004003e28..."} 
[2026-07-15 18:27:15] local.INFO: Packet analysis {"connection_id":135029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d2"} 
[2026-07-15 18:27:15] local.INFO: Extracted packet for processing {"connection_id":135029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d2"} 
[2026-07-15 18:27:15] local.INFO: GPS Element Parsed {"raw_longitude":763246336,"raw_latitude":97733752,"longitude_deg":76.3246336,"latitude_deg":9.7733752,"altitude":4,"angle":62,"satellites":40,"speed":0,"hex_longitude":"2d7e3700","hex_latitude":"05d34c78","is_valid_coordinates":true} 
[2026-07-15 18:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734646272001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106733360394534912,"note":"Value kept but may cause issues"} 
[2026-07-15 18:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094737997517846528,"note":"Value kept but may cause issues"} 
[2026-07-15 18:27:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784119712000,"timestamp_ms":1784119712000,"timestamp_seconds":1784119712,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d25900"} 
[2026-07-15 18:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:27:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-15 18:27:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:27:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":135029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":135029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":135029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 18:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 18:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734646272001,"66":13243,"109":206,"85":15104,"24":0,"16":106733360394534912,"45":9094737997517846528},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-15 18:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 18:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 18:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734646272001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:27:15] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-15 18:27:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 18:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106733360394534912,"km_value":106733360394534.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094737997517846528,"description":"Unknown IO ID 45"} 
[2026-07-15 18:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734646272001,"power":13243,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094737997517846528}} 
[2026-07-15 18:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":135029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492348,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:27:15] local.INFO: GPS data processed {"connection_id":135029,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:27:15] local.INFO: Acknowledgment sent {"connection_id":135029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:27:34] local.INFO: TCP Data received {"connection_id":132818,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d7a090012d184000072191a0004f01262a..."} 
[2026-07-15 18:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d7a090012d184000072191a0004f01262a..."} 
[2026-07-15 18:27:34] local.INFO: Processing buffer {"connection_id":132818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d7a090012d184000072191a0004f01262a..."} 
[2026-07-15 18:27:34] local.INFO: Packet analysis {"connection_id":132818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d7"} 
[2026-07-15 18:27:34] local.INFO: Extracted packet for processing {"connection_id":132818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d7"} 
[2026-07-15 18:27:34] local.INFO: GPS Element Parsed {"raw_longitude":756563968,"raw_latitude":119640480,"longitude_deg":75.6563968,"latitude_deg":11.964048,"altitude":79,"angle":294,"satellites":42,"speed":17,"hex_longitude":"2d184000","hex_latitude":"072191a0","is_valid_coordinates":true} 
[2026-07-15 18:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734731776001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227079808942080,"note":"Value kept but may cause issues"} 
[2026-07-15 18:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1756614991533998080,"note":"Value kept but may cause issues"} 
[2026-07-15 18:27:34] 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-07-15 18:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784120058000,"timestamp_ms":1784120058000,"timestamp_seconds":1784120058,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d7a090"} 
[2026-07-15 18:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:27:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-15 18:27:34] 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-07-15 18:27:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":132818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":132818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":132818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734731776001,"66":14048,"120":206,"28":31744,"24":17,"16":6227079808942080,"45":1756614991533998080},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734731776001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:27:34] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:27:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227079808942080,"km_value":6227079808942.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1756614991533998080,"description":"Unknown IO ID 45"} 
[2026-07-15 18:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734731776001,"power":14048,"unknown_120":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1756614991533998080}} 
[2026-07-15 18:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":132818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:27:34] local.INFO: GPS data processed {"connection_id":132818,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:27:34] local.INFO: Acknowledgment sent {"connection_id":132818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:27:37] local.INFO: TCP Data received {"connection_id":132819,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d769e0012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d769e0012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:27:37] local.INFO: Processing buffer {"connection_id":132819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d769e0012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:27:37] local.INFO: Packet analysis {"connection_id":132819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d7"} 
[2026-07-15 18:27:37] local.INFO: Extracted packet for processing {"connection_id":132819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d7"} 
[2026-07-15 18:27:37] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734654208001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784120044000,"timestamp_ms":1784120044000,"timestamp_seconds":1784120044,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d769e0"} 
[2026-07-15 18:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-15 18:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:27:37] 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-07-15 18:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734654208001,"66":25843,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734654208001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:27:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:27:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734654208001,"power":25843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":132819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:27:37] local.INFO: GPS data processed {"connection_id":132819,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:27:37] local.INFO: Acknowledgment sent {"connection_id":132819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:27:50] local.INFO: TCP Data received {"connection_id":133671,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133671,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:27:50] local.INFO: Processing buffer {"connection_id":133671,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:27:50] local.INFO: IMEI packet received {"connection_id":133671,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":133671,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:27:55] local.INFO: TCP Data received {"connection_id":133671,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133671,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:27:55] local.INFO: Processing buffer {"connection_id":133671,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:27:55] local.INFO: IMEI packet received {"connection_id":133671,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":133671,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:27:57] local.INFO: TCP Data received {"connection_id":133671,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d7df10012d182d4007219a28004d01332c..."} 
[2026-07-15 18:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d7df10012d182d4007219a28004d01332c..."} 
[2026-07-15 18:27:57] local.INFO: Processing buffer {"connection_id":133671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d7df10012d182d4007219a28004d01332c..."} 
[2026-07-15 18:27:57] local.INFO: Packet analysis {"connection_id":133671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d7"} 
[2026-07-15 18:27:57] local.INFO: Extracted packet for processing {"connection_id":133671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d7"} 
[2026-07-15 18:27:57] local.INFO: GPS Element Parsed {"raw_longitude":756559168,"raw_latitude":119642664,"longitude_deg":75.6559168,"latitude_deg":11.9642664,"altitude":77,"angle":307,"satellites":44,"speed":10,"hex_longitude":"2d182d40","hex_latitude":"07219a28","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:27:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734734848001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:27:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227333212012544,"note":"Value kept but may cause issues"} 
[2026-07-15 18:27:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747396686047715328,"note":"Value kept but may cause issues"} 
[2026-07-15 18:27:57] 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-07-15 18:27:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784120074000,"timestamp_ms":1784120074000,"timestamp_seconds":1784120074,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d7df10"} 
[2026-07-15 18:27:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:27:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-15 18:27:57] 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-07-15 18: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-07-15 18:27:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:27:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:27:57] local.INFO: Teltonika packet parsed successfully {"connection_id":133671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:27:57] local.INFO: Passing IMEI to GPS processor {"connection_id":133671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:27:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":133671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:27:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:27:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:27:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:27:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734734848001,"66":14483,"120":206,"28":31744,"24":10,"16":6227333212012544,"45":1747396686047715328},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:27:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:27:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:27:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734734848001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:27:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:27:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:27:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227333212012544,"km_value":6227333212012.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:27:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747396686047715328,"description":"Unknown IO ID 45"} 
[2026-07-15 18:27:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734734848001,"power":14483,"unknown_120":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1747396686047715328}} 
[2026-07-15 18:27:57] local.INFO: DEBUG: GPS processor result {"connection_id":133671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:27:57] local.INFO: GPS data processed {"connection_id":133671,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:27:57] local.INFO: Acknowledgment sent {"connection_id":133671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:27:59] local.INFO: TCP Data received {"connection_id":133672,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133672,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:27:59] local.INFO: Processing buffer {"connection_id":133672,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:27:59] local.INFO: IMEI packet received {"connection_id":133672,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 18:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":133672,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:28:04] local.INFO: TCP Data received {"connection_id":133672,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133672,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:28:04] local.INFO: Processing buffer {"connection_id":133672,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:28:04] local.INFO: IMEI packet received {"connection_id":133672,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 18:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":133672,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:28:05] local.INFO: TCP Data received {"connection_id":133672,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d2d600012d7e364005d34c780004003e2b..."} 
[2026-07-15 18:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d2d600012d7e364005d34c780004003e2b..."} 
[2026-07-15 18:28:05] local.INFO: Processing buffer {"connection_id":133672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d2d600012d7e364005d34c780004003e2b..."} 
[2026-07-15 18:28:05] local.INFO: Packet analysis {"connection_id":133672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d2"} 
[2026-07-15 18:28:05] local.INFO: Extracted packet for processing {"connection_id":133672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d2"} 
[2026-07-15 18:28:05] local.INFO: GPS Element Parsed {"raw_longitude":763246144,"raw_latitude":97733752,"longitude_deg":76.3246144,"latitude_deg":9.7733752,"altitude":4,"angle":62,"satellites":43,"speed":0,"hex_longitude":"2d7e3640","hex_latitude":"05d34c78","is_valid_coordinates":true} 
[2026-07-15 18:28:05] 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-07-15 18:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734646272001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106733360394534912,"note":"Value kept but may cause issues"} 
[2026-07-15 18:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094737997517846528,"note":"Value kept but may cause issues"} 
[2026-07-15 18:28:05] 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-07-15 18:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784119744000,"timestamp_ms":1784119744000,"timestamp_seconds":1784119744,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d2d600"} 
[2026-07-15 18:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-15 18:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":133672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":133672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":133672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 18:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 18:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734646272001,"66":12678,"116":206,"85":15104,"24":0,"16":106733360394534912,"45":9094737997517846528},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-15 18:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 18:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 18:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734646272001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:28:05] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-15 18:28:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 18:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106733360394534912,"km_value":106733360394534.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094737997517846528,"description":"Unknown IO ID 45"} 
[2026-07-15 18:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734646272001,"power":12678,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094737997517846528}} 
[2026-07-15 18:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":133672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492352,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:28:05] local.INFO: GPS data processed {"connection_id":133672,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:28:05] local.INFO: Acknowledgment sent {"connection_id":133672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:28:06] local.INFO: TCP Data received {"connection_id":133673,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:28:06] local.INFO: Processing buffer {"connection_id":133673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:28:06] local.INFO: IMEI packet received {"connection_id":133673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":133673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:28:10] local.INFO: TCP Data received {"connection_id":133673,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:28:10] local.INFO: Processing buffer {"connection_id":133673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:28:10] local.INFO: IMEI packet received {"connection_id":133673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":133673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:28:12] local.INFO: TCP Data received {"connection_id":133673,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d769e0012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d769e0012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:28:12] local.INFO: Processing buffer {"connection_id":133673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d769e0012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:28:12] local.INFO: Packet analysis {"connection_id":133673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d7"} 
[2026-07-15 18:28:12] local.INFO: Extracted packet for processing {"connection_id":133673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d7"} 
[2026-07-15 18:28:12] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734654208001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784120044000,"timestamp_ms":1784120044000,"timestamp_seconds":1784120044,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d769e0"} 
[2026-07-15 18:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-15 18:28:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":133673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":133673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":133673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:28:12] 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-07-15 18:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734654208001,"66":25843,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734654208001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:28:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:28:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734654208001,"power":25843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":133673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:28:12] local.INFO: GPS data processed {"connection_id":133673,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:28:12] local.INFO: Acknowledgment sent {"connection_id":133673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:28:16] local.INFO: TCP Data received {"connection_id":133673,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d769e0012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d769e0012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:28:16] local.INFO: Processing buffer {"connection_id":133673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d769e0012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:28:16] local.INFO: Packet analysis {"connection_id":133673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d7"} 
[2026-07-15 18:28:16] local.INFO: Extracted packet for processing {"connection_id":133673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d7"} 
[2026-07-15 18:28:16] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734654208001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:28:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784120044000,"timestamp_ms":1784120044000,"timestamp_seconds":1784120044,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d769e0"} 
[2026-07-15 18:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:28:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-15 18:28:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:28:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":133673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":133673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":133673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734654208001,"66":25843,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734654208001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:28:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:28:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734654208001,"power":25843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":133673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:28:16] local.INFO: GPS data processed {"connection_id":133673,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:28:16] local.INFO: Acknowledgment sent {"connection_id":133673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:28:28] local.INFO: TCP Data received {"connection_id":133671,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65da2900012d1822c00721b548004a00d12c..."} 
[2026-07-15 18:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65da2900012d1822c00721b548004a00d12c..."} 
[2026-07-15 18:28:28] local.INFO: Processing buffer {"connection_id":133671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65da2900012d1822c00721b548004a00d12c..."} 
[2026-07-15 18:28:28] local.INFO: Packet analysis {"connection_id":133671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65da"} 
[2026-07-15 18:28:28] local.INFO: Extracted packet for processing {"connection_id":133671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65da"} 
[2026-07-15 18:28:28] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649608,"longitude_deg":75.655648,"latitude_deg":11.9649608,"altitude":74,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b548","is_valid_coordinates":true} 
[2026-07-15 18:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734771968001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227865787957248,"note":"Value kept but may cause issues"} 
[2026-07-15 18:28:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981265408,"note":"Value kept but may cause issues"} 
[2026-07-15 18:28: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-07-15 18:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784120224000,"timestamp_ms":1784120224000,"timestamp_seconds":1784120224,"priority":1,"record_length":96,"hex_timestamp":"0000019f65da2900"} 
[2026-07-15 18:28:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:28:28] 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-07-15 18:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 18:28:28] 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-07-15 18:28:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:28:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":133671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":133671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":133671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:28:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734771968001,"66":12428,"120":206,"28":31744,"24":0,"16":6227865787957248,"45":1739163542981265408},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734771968001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:28:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:28:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227865787957248,"km_value":6227865787957.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:28:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981265408,"description":"Unknown IO ID 45"} 
[2026-07-15 18:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734771968001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981265408}} 
[2026-07-15 18:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":133671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:28:28] local.INFO: GPS data processed {"connection_id":133671,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:28:28] local.INFO: Acknowledgment sent {"connection_id":133671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:28:37] local.INFO: TCP Data received {"connection_id":133672,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d2d600012d7e364005d34c780004003e2b..."} 
[2026-07-15 18:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d2d600012d7e364005d34c780004003e2b..."} 
[2026-07-15 18:28:37] local.INFO: Processing buffer {"connection_id":133672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d2d600012d7e364005d34c780004003e2b..."} 
[2026-07-15 18:28:37] local.INFO: Packet analysis {"connection_id":133672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d2"} 
[2026-07-15 18:28:37] local.INFO: Extracted packet for processing {"connection_id":133672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d2"} 
[2026-07-15 18:28:37] local.INFO: GPS Element Parsed {"raw_longitude":763246144,"raw_latitude":97733752,"longitude_deg":76.3246144,"latitude_deg":9.7733752,"altitude":4,"angle":62,"satellites":43,"speed":0,"hex_longitude":"2d7e3640","hex_latitude":"05d34c78","is_valid_coordinates":true} 
[2026-07-15 18:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734654464001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106733360394534912,"note":"Value kept but may cause issues"} 
[2026-07-15 18:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094526891285313536,"note":"Value kept but may cause issues"} 
[2026-07-15 18:28:37] 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-07-15 18:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784119744000,"timestamp_ms":1784119744000,"timestamp_seconds":1784119744,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d2d600"} 
[2026-07-15 18:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-15 18:28:37] 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-07-15 18:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 18:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 18:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734654464001,"66":12678,"116":206,"85":15104,"24":0,"16":106733360394534912,"45":9094526891285313536},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-15 18:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 18:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 18:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734654464001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:28:37] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-15 18:28:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 18:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106733360394534912,"km_value":106733360394534.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094526891285313536,"description":"Unknown IO ID 45"} 
[2026-07-15 18:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734654464001,"power":12678,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094526891285313536}} 
[2026-07-15 18:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":133672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492356,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:28:37] local.INFO: GPS data processed {"connection_id":133672,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:28:37] local.INFO: Acknowledgment sent {"connection_id":133672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:28:50] local.INFO: TCP Data received {"connection_id":133674,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:28:50] local.INFO: Processing buffer {"connection_id":133674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:28:50] local.INFO: IMEI packet received {"connection_id":133674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":133674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:28:55] local.INFO: TCP Data received {"connection_id":133674,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:28:55] local.INFO: Processing buffer {"connection_id":133674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:28:55] local.INFO: IMEI packet received {"connection_id":133674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":133674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:28:57] local.INFO: TCP Data received {"connection_id":133674,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65da7b08012d1822c00721b548004a00d12d..."} 
[2026-07-15 18:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65da7b08012d1822c00721b548004a00d12d..."} 
[2026-07-15 18:28:57] local.INFO: Processing buffer {"connection_id":133674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65da7b08012d1822c00721b548004a00d12d..."} 
[2026-07-15 18:28:57] local.INFO: Packet analysis {"connection_id":133674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65da"} 
[2026-07-15 18:28:57] local.INFO: Extracted packet for processing {"connection_id":133674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65da"} 
[2026-07-15 18:28:57] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649608,"longitude_deg":75.655648,"latitude_deg":11.9649608,"altitude":74,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b548","is_valid_coordinates":true} 
[2026-07-15 18:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:28:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734777344001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:28:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227865787957248,"note":"Value kept but may cause issues"} 
[2026-07-15 18:28:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981265408,"note":"Value kept but may cause issues"} 
[2026-07-15 18:28:57] 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-07-15 18:28:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784120245000,"timestamp_ms":1784120245000,"timestamp_seconds":1784120245,"priority":1,"record_length":96,"hex_timestamp":"0000019f65da7b08"} 
[2026-07-15 18:28:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:28:57] 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-07-15 18:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-15 18:28:57] 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-07-15 18:28:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:28:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:28:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:28:57] local.INFO: Teltonika packet parsed successfully {"connection_id":133674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:28:57] local.INFO: Passing IMEI to GPS processor {"connection_id":133674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:28:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":133674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:28:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:28:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:28:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:28:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734777344001,"66":13004,"120":206,"28":31744,"24":0,"16":6227865787957248,"45":1739163542981265408},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:28:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:28:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:28:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734777344001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:28:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:28:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:28:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227865787957248,"km_value":6227865787957.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:28:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981265408,"description":"Unknown IO ID 45"} 
[2026-07-15 18:28:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734777344001,"power":13004,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981265408}} 
[2026-07-15 18:28:57] local.INFO: DEBUG: GPS processor result {"connection_id":133674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:28:57] local.INFO: GPS data processed {"connection_id":133674,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:28:57] local.INFO: Acknowledgment sent {"connection_id":133674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:28:59] local.INFO: TCP Data received {"connection_id":132636,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132636,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:28:59] local.INFO: Processing buffer {"connection_id":132636,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:28:59] local.INFO: IMEI packet received {"connection_id":132636,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 18:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":132636,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:28:59] local.INFO: TCP Data received {"connection_id":135031,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135031,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:28:59] local.INFO: Processing buffer {"connection_id":135031,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:28:59] local.INFO: IMEI packet received {"connection_id":135031,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 18:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":135031,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:29:00] local.INFO: TCP Data received {"connection_id":135030,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:29:00] local.INFO: Processing buffer {"connection_id":135030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:29:00] local.INFO: IMEI packet received {"connection_id":135030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":135030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:29:04] local.INFO: TCP Data received {"connection_id":135031,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135031,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:29:04] local.INFO: Processing buffer {"connection_id":135031,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:29:04] local.INFO: IMEI packet received {"connection_id":135031,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-15 18:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":135031,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:29:05] local.INFO: TCP Data received {"connection_id":135031,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f65dbbb58012d7e388005d34c780004003e2b..."} 
[2026-07-15 18:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65dbbb58012d7e388005d34c780004003e2b..."} 
[2026-07-15 18:29:05] local.INFO: Processing buffer {"connection_id":135031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65dbbb58012d7e388005d34c780004003e2b..."} 
[2026-07-15 18:29:05] local.INFO: Packet analysis {"connection_id":135031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65db"} 
[2026-07-15 18:29:05] local.INFO: Extracted packet for processing {"connection_id":135031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65db"} 
[2026-07-15 18:29:05] local.INFO: GPS Element Parsed {"raw_longitude":763246720,"raw_latitude":97733752,"longitude_deg":76.324672,"latitude_deg":9.7733752,"altitude":4,"angle":62,"satellites":43,"speed":0,"hex_longitude":"2d7e3880","hex_latitude":"05d34c78","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734654464001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106733360394534912,"note":"Value kept but may cause issues"} 
[2026-07-15 18:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094526891285313536,"note":"Value kept but may cause issues"} 
[2026-07-15 18:29:05] 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-07-15 18:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784120327000,"timestamp_ms":1784120327000,"timestamp_seconds":1784120327,"priority":1,"record_length":96,"hex_timestamp":"0000019f65dbbb58"} 
[2026-07-15 18:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-15 18:29:05] 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-07-15 18: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-07-15 18:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":135031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":135031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":135031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 18:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 18:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734654464001,"66":2253,"110":206,"85":15104,"24":0,"16":106733360394534912,"45":9094526891285313536},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-07-15 18:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 18:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 18:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734654464001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:29:05] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-15 18:29:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 18:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106733360394534912,"km_value":106733360394534.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094526891285313536,"description":"Unknown IO ID 45"} 
[2026-07-15 18:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734654464001,"power":2253,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094526891285313536}} 
[2026-07-15 18:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":135031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492358,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:29:05] local.INFO: GPS data processed {"connection_id":135031,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:29:05] local.INFO: Acknowledgment sent {"connection_id":135031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:29:05] local.INFO: TCP Data received {"connection_id":135030,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:29:05] local.INFO: Processing buffer {"connection_id":135030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:29:05] local.INFO: IMEI packet received {"connection_id":135030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":135030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:29:06] local.INFO: TCP Data received {"connection_id":135030,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65d769e0012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65d769e0012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:29:06] local.INFO: Processing buffer {"connection_id":135030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65d769e0012d7f97c005afda580002006c2b..."} 
[2026-07-15 18:29:06] local.INFO: Packet analysis {"connection_id":135030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65d7"} 
[2026-07-15 18:29:06] local.INFO: Extracted packet for processing {"connection_id":135030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65d7"} 
[2026-07-15 18:29:06] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734654208001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784120044000,"timestamp_ms":1784120044000,"timestamp_seconds":1784120044,"priority":1,"record_length":96,"hex_timestamp":"0000019f65d769e0"} 
[2026-07-15 18:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-15 18:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:29:06] 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-07-15 18:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734654208001,"66":25843,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734654208001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:29:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:29:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734654208001,"power":25843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":135030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:29:06] local.INFO: GPS data processed {"connection_id":135030,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:29:06] local.INFO: Acknowledgment sent {"connection_id":135030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:29:28] local.INFO: TCP Data received {"connection_id":133674,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65dacd10012d1822c00721b548004a00d12c..."} 
[2026-07-15 18:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65dacd10012d1822c00721b548004a00d12c..."} 
[2026-07-15 18:29:28] local.INFO: Processing buffer {"connection_id":133674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65dacd10012d1822c00721b548004a00d12c..."} 
[2026-07-15 18:29:28] local.INFO: Packet analysis {"connection_id":133674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65da"} 
[2026-07-15 18:29:28] local.INFO: Extracted packet for processing {"connection_id":133674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65da"} 
[2026-07-15 18:29:28] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649608,"longitude_deg":75.655648,"latitude_deg":11.9649608,"altitude":74,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b548","is_valid_coordinates":true} 
[2026-07-15 18:29: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-07-15 18:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734782720001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227865787957248,"note":"Value kept but may cause issues"} 
[2026-07-15 18:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981265408,"note":"Value kept but may cause issues"} 
[2026-07-15 18:29: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-07-15 18:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784120266000,"timestamp_ms":1784120266000,"timestamp_seconds":1784120266,"priority":1,"record_length":96,"hex_timestamp":"0000019f65dacd10"} 
[2026-07-15 18:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:29:28] 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-07-15 18:29: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":204,"data_length":795,"current_offset":136} 
[2026-07-15 18:29:28] 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-07-15 18:29: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-07-15 18:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":133674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":133674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":133674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:29:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734782720001,"66":13004,"120":206,"28":31744,"24":0,"16":6227865787957248,"45":1739163542981265408},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734782720001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:29:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:29:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227865787957248,"km_value":6227865787957.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981265408,"description":"Unknown IO ID 45"} 
[2026-07-15 18:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734782720001,"power":13004,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981265408}} 
[2026-07-15 18:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":133674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:29:28] local.INFO: GPS data processed {"connection_id":133674,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:29:28] local.INFO: Acknowledgment sent {"connection_id":133674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:29:34] local.INFO: TCP Data received {"connection_id":132637,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132637,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:29:34] local.INFO: Processing buffer {"connection_id":132637,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:29:34] local.INFO: IMEI packet received {"connection_id":132637,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 18:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":132637,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:29:36] local.INFO: TCP Data received {"connection_id":135031,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f65dbbb58012d7e388005d34c780004003e2b..."} 
[2026-07-15 18:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65dbbb58012d7e388005d34c780004003e2b..."} 
[2026-07-15 18:29:36] local.INFO: Processing buffer {"connection_id":135031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65dbbb58012d7e388005d34c780004003e2b..."} 
[2026-07-15 18:29:36] local.INFO: Packet analysis {"connection_id":135031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65db"} 
[2026-07-15 18:29:36] local.INFO: Extracted packet for processing {"connection_id":135031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65db"} 
[2026-07-15 18:29:36] local.INFO: GPS Element Parsed {"raw_longitude":763246720,"raw_latitude":97733752,"longitude_deg":76.324672,"latitude_deg":9.7733752,"altitude":4,"angle":62,"satellites":43,"speed":0,"hex_longitude":"2d7e3880","hex_latitude":"05d34c78","is_valid_coordinates":true} 
[2026-07-15 18:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734654464001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106733360394534912,"note":"Value kept but may cause issues"} 
[2026-07-15 18:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094526891285313536,"note":"Value kept but may cause issues"} 
[2026-07-15 18:29:36] 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-07-15 18:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784120327000,"timestamp_ms":1784120327000,"timestamp_seconds":1784120327,"priority":1,"record_length":96,"hex_timestamp":"0000019f65dbbb58"} 
[2026-07-15 18:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-15 18:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":135031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":135031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":135031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-15 18:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-15 18:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-15 18:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734654464001,"66":2253,"110":206,"85":15104,"24":0,"16":106733360394534912,"45":9094526891285313536},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-07-15 18:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-15 18:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-15 18:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734654464001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:29:36] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-15 18:29:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 18:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106733360394534912,"km_value":106733360394534.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094526891285313536,"description":"Unknown IO ID 45"} 
[2026-07-15 18:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734654464001,"power":2253,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094526891285313536}} 
[2026-07-15 18:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":135031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492361,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:29:36] local.INFO: GPS data processed {"connection_id":135031,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:29:36] local.INFO: Acknowledgment sent {"connection_id":135031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:29:37] local.INFO: TCP Data received {"connection_id":135030,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65dbb388012d7f97c005afda580002006c2d..."} 
[2026-07-15 18:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65dbb388012d7f97c005afda580002006c2d..."} 
[2026-07-15 18:29:37] local.INFO: Processing buffer {"connection_id":135030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65dbb388012d7f97c005afda580002006c2d..."} 
[2026-07-15 18:29:37] local.INFO: Packet analysis {"connection_id":135030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65db"} 
[2026-07-15 18:29:37] local.INFO: Extracted packet for processing {"connection_id":135030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65db"} 
[2026-07-15 18:29:37] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410776,"longitude_deg":76.333664,"latitude_deg":9.5410776,"altitude":2,"angle":108,"satellites":45,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afda58","is_valid_coordinates":true} 
[2026-07-15 18:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734731264001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784120325000,"timestamp_ms":1784120325000,"timestamp_seconds":1784120325,"priority":1,"record_length":96,"hex_timestamp":"0000019f65dbb388"} 
[2026-07-15 18:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 18:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-15 18:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18: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-07-15 18:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":135030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":135030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":135030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:29:37] 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-07-15 18:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734731264001,"66":25843,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734731264001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:29:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:29:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734731264001,"power":25843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":135030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:29:37] local.INFO: GPS data processed {"connection_id":135030,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:29:37] local.INFO: Acknowledgment sent {"connection_id":135030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:29:48] local.INFO: TCP Data received {"connection_id":133675,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:29:48] local.INFO: Processing buffer {"connection_id":133675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:29:48] local.INFO: IMEI packet received {"connection_id":133675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":133675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:29:50] local.INFO: TCP Data received {"connection_id":133675,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:29:50] local.INFO: Processing buffer {"connection_id":133675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:29:50] local.INFO: IMEI packet received {"connection_id":133675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":133675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:29:55] local.INFO: TCP Data received {"connection_id":133675,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:29:55] local.INFO: Processing buffer {"connection_id":133675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:29:55] local.INFO: IMEI packet received {"connection_id":133675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":133675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:29:56] local.INFO: TCP Data received {"connection_id":133675,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65db1f18012d1822c00721b548004a00d12c..."} 
[2026-07-15 18:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65db1f18012d1822c00721b548004a00d12c..."} 
[2026-07-15 18:29:56] local.INFO: Processing buffer {"connection_id":133675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65db1f18012d1822c00721b548004a00d12c..."} 
[2026-07-15 18:29:56] local.INFO: Packet analysis {"connection_id":133675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65db"} 
[2026-07-15 18:29:56] local.INFO: Extracted packet for processing {"connection_id":133675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65db"} 
[2026-07-15 18:29:56] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649608,"longitude_deg":75.655648,"latitude_deg":11.9649608,"altitude":74,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b548","is_valid_coordinates":true} 
[2026-07-15 18:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734788096001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227865787957248,"note":"Value kept but may cause issues"} 
[2026-07-15 18:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981265408,"note":"Value kept but may cause issues"} 
[2026-07-15 18:29: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-07-15 18:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784120287000,"timestamp_ms":1784120287000,"timestamp_seconds":1784120287,"priority":1,"record_length":96,"hex_timestamp":"0000019f65db1f18"} 
[2026-07-15 18:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:29:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-15 18:29:56] 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-07-15 18:29:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734788096001,"66":12928,"120":206,"28":31744,"24":0,"16":6227865787957248,"45":1739163542981265408},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734788096001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:29:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:29:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227865787957248,"km_value":6227865787957.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981265408,"description":"Unknown IO ID 45"} 
[2026-07-15 18:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734788096001,"power":12928,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981265408}} 
[2026-07-15 18:29:57] local.INFO: DEBUG: GPS processor result {"connection_id":133675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:29:57] local.INFO: GPS data processed {"connection_id":133675,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:29:57] local.INFO: Acknowledgment sent {"connection_id":133675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:30:00] local.INFO: TCP Data received {"connection_id":135032,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:30:00] local.INFO: Processing buffer {"connection_id":135032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:30:00] local.INFO: IMEI packet received {"connection_id":135032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":135032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:30:05] local.INFO: TCP Data received {"connection_id":135032,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:30:05] local.INFO: Processing buffer {"connection_id":135032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:30:05] local.INFO: IMEI packet received {"connection_id":135032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":135032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:30:07] local.INFO: TCP Data received {"connection_id":135032,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65dc0d60012d7f974005afda600002006c2b..."} 
[2026-07-15 18:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65dc0d60012d7f974005afda600002006c2b..."} 
[2026-07-15 18:30:07] local.INFO: Processing buffer {"connection_id":135032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65dc0d60012d7f974005afda600002006c2b..."} 
[2026-07-15 18:30:07] local.INFO: Packet analysis {"connection_id":135032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65dc"} 
[2026-07-15 18:30:07] local.INFO: Extracted packet for processing {"connection_id":135032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65dc"} 
[2026-07-15 18:30:07] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 18:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734803200001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957848576,"note":"Value kept but may cause issues"} 
[2026-07-15 18:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784120348000,"timestamp_ms":1784120348000,"timestamp_seconds":1784120348,"priority":1,"record_length":96,"hex_timestamp":"0000019f65dc0d60"} 
[2026-07-15 18:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-15 18:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":135032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":135032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":135032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734803200001,"66":27908,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9194028294957848576},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734803200001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:30:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:30:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957848576,"description":"Unknown IO ID 45"} 
[2026-07-15 18:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734803200001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957848576}} 
[2026-07-15 18:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":135032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:30:07] local.INFO: GPS data processed {"connection_id":135032,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:30:07] local.INFO: Acknowledgment sent {"connection_id":135032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:30:28] local.INFO: TCP Data received {"connection_id":133675,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65db7120012d1822c00721b548004a00d12c..."} 
[2026-07-15 18:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65db7120012d1822c00721b548004a00d12c..."} 
[2026-07-15 18:30:28] local.INFO: Processing buffer {"connection_id":133675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65db7120012d1822c00721b548004a00d12c..."} 
[2026-07-15 18:30:28] local.INFO: Packet analysis {"connection_id":133675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65db"} 
[2026-07-15 18:30:28] local.INFO: Extracted packet for processing {"connection_id":133675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65db"} 
[2026-07-15 18:30:28] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649608,"longitude_deg":75.655648,"latitude_deg":11.9649608,"altitude":74,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b548","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734793472001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227865787957248,"note":"Value kept but may cause issues"} 
[2026-07-15 18:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981265408,"note":"Value kept but may cause issues"} 
[2026-07-15 18:30: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-07-15 18:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784120308000,"timestamp_ms":1784120308000,"timestamp_seconds":1784120308,"priority":1,"record_length":96,"hex_timestamp":"0000019f65db7120"} 
[2026-07-15 18:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:30:28] 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-07-15 18: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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-07-15 18:30:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18: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-07-15 18:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":133675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":133675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":133675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734793472001,"66":12950,"120":206,"28":31744,"24":0,"16":6227865787957248,"45":1739163542981265408},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734793472001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:30:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:30:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227865787957248,"km_value":6227865787957.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981265408,"description":"Unknown IO ID 45"} 
[2026-07-15 18:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734793472001,"power":12950,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981265408}} 
[2026-07-15 18:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":133675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492365,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:30:28] local.INFO: GPS data processed {"connection_id":133675,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:30:28] local.INFO: Acknowledgment sent {"connection_id":133675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:30:40] local.INFO: TCP Data received {"connection_id":135032,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65dc5f68012d7f974005afda600002006c29..."} 
[2026-07-15 18:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65dc5f68012d7f974005afda600002006c29..."} 
[2026-07-15 18:30:40] local.INFO: Processing buffer {"connection_id":135032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65dc5f68012d7f974005afda600002006c29..."} 
[2026-07-15 18:30:40] local.INFO: Packet analysis {"connection_id":135032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65dc"} 
[2026-07-15 18:30:40] local.INFO: Extracted packet for processing {"connection_id":135032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65dc"} 
[2026-07-15 18:30:40] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 18:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734809088001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 18:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784120369000,"timestamp_ms":1784120369000,"timestamp_seconds":1784120369,"priority":1,"record_length":96,"hex_timestamp":"0000019f65dc5f68"} 
[2026-07-15 18:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 18:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":135032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":135032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":135032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:30:40] 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-07-15 18:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734809088001,"66":27745,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734809088001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:30:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:30:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 18:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734809088001,"power":27745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 18:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":135032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:30:40] local.INFO: GPS data processed {"connection_id":135032,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:30:40] local.INFO: Acknowledgment sent {"connection_id":135032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:30:50] local.INFO: TCP Data received {"connection_id":132639,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:30:50] local.INFO: Processing buffer {"connection_id":132639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:30:50] local.INFO: IMEI packet received {"connection_id":132639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":132639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:30:51] local.INFO: TCP Data received {"connection_id":132639,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:30:51] local.INFO: Processing buffer {"connection_id":132639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:30:51] local.INFO: IMEI packet received {"connection_id":132639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":132639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:30:55] local.INFO: TCP Data received {"connection_id":132639,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:30:55] local.INFO: Processing buffer {"connection_id":132639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:30:55] local.INFO: IMEI packet received {"connection_id":132639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":132639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:30:56] local.INFO: TCP Data received {"connection_id":132639,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65dbc328012d1822c00721b548004a00d12b..."} 
[2026-07-15 18:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65dbc328012d1822c00721b548004a00d12b..."} 
[2026-07-15 18:30:56] local.INFO: Processing buffer {"connection_id":132639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65dbc328012d1822c00721b548004a00d12b..."} 
[2026-07-15 18:30:56] local.INFO: Packet analysis {"connection_id":132639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65db"} 
[2026-07-15 18:30:56] local.INFO: Extracted packet for processing {"connection_id":132639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65db"} 
[2026-07-15 18:30:56] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649608,"longitude_deg":75.655648,"latitude_deg":11.9649608,"altitude":74,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b548","is_valid_coordinates":true} 
[2026-07-15 18:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734798848001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227865787957248,"note":"Value kept but may cause issues"} 
[2026-07-15 18:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981265408,"note":"Value kept but may cause issues"} 
[2026-07-15 18:30: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-07-15 18:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784120329000,"timestamp_ms":1784120329000,"timestamp_seconds":1784120329,"priority":1,"record_length":96,"hex_timestamp":"0000019f65dbc328"} 
[2026-07-15 18:30:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:30:56] 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-07-15 18:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 18:30:56] 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-07-15 18:30:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:30:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734798848001,"66":12939,"120":206,"28":31744,"24":0,"16":6227865787957248,"45":1739163542981265408},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734798848001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:30:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:30:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227865787957248,"km_value":6227865787957.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981265408,"description":"Unknown IO ID 45"} 
[2026-07-15 18:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734798848001,"power":12939,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981265408}} 
[2026-07-15 18:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":132639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:30:57] local.INFO: GPS data processed {"connection_id":132639,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:30:57] local.INFO: Acknowledgment sent {"connection_id":132639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:31:00] local.INFO: TCP Data received {"connection_id":132640,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:31:00] local.INFO: Processing buffer {"connection_id":132640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:31:00] local.INFO: IMEI packet received {"connection_id":132640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":132640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:31:05] local.INFO: TCP Data received {"connection_id":132640,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:31:05] local.INFO: Processing buffer {"connection_id":132640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:31:05] local.INFO: IMEI packet received {"connection_id":132640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":132640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:31:06] local.INFO: TCP Data received {"connection_id":132640,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65dcb170012d7f974005afda600002006c2c..."} 
[2026-07-15 18:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65dcb170012d7f974005afda600002006c2c..."} 
[2026-07-15 18:31:06] local.INFO: Processing buffer {"connection_id":132640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65dcb170012d7f974005afda600002006c2c..."} 
[2026-07-15 18:31:06] local.INFO: Packet analysis {"connection_id":132640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65dc"} 
[2026-07-15 18:31:06] local.INFO: Extracted packet for processing {"connection_id":132640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65dc"} 
[2026-07-15 18:31:06] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 18:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734814464001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 18:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784120390000,"timestamp_ms":1784120390000,"timestamp_seconds":1784120390,"priority":1,"record_length":96,"hex_timestamp":"0000019f65dcb170"} 
[2026-07-15 18:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-15 18:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:31:06] 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-07-15 18:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734814464001,"66":27919,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734814464001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:31:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:31:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 18:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734814464001,"power":27919,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 18:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":132640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:31:06] local.INFO: GPS data processed {"connection_id":132640,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:31:06] local.INFO: Acknowledgment sent {"connection_id":132640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:31:28] local.INFO: TCP Data received {"connection_id":132639,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65dc1530012d1822c00721b548004a00d12c..."} 
[2026-07-15 18:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65dc1530012d1822c00721b548004a00d12c..."} 
[2026-07-15 18:31:28] local.INFO: Processing buffer {"connection_id":132639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65dc1530012d1822c00721b548004a00d12c..."} 
[2026-07-15 18:31:28] local.INFO: Packet analysis {"connection_id":132639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65dc"} 
[2026-07-15 18:31:28] local.INFO: Extracted packet for processing {"connection_id":132639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65dc"} 
[2026-07-15 18:31:28] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649608,"longitude_deg":75.655648,"latitude_deg":11.9649608,"altitude":74,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b548","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:31:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734804224001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:31:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227865787957248,"note":"Value kept but may cause issues"} 
[2026-07-15 18:31:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981265408,"note":"Value kept but may cause issues"} 
[2026-07-15 18:31: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-07-15 18:31:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784120350000,"timestamp_ms":1784120350000,"timestamp_seconds":1784120350,"priority":1,"record_length":96,"hex_timestamp":"0000019f65dc1530"} 
[2026-07-15 18:31:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:31:28] 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-07-15 18: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 18:31:28] 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-07-15 18: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-07-15 18:31:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:31:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:31:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:31:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:31:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:31:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:31:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:31:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:31:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734804224001,"66":12113,"120":206,"28":31744,"24":0,"16":6227865787957248,"45":1739163542981265408},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:31:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:31:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:31:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734804224001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:31:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:31:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:31:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227865787957248,"km_value":6227865787957.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:31:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981265408,"description":"Unknown IO ID 45"} 
[2026-07-15 18:31:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734804224001,"power":12113,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981265408}} 
[2026-07-15 18:31:28] local.INFO: DEBUG: GPS processor result {"connection_id":132639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:31:28] local.INFO: GPS data processed {"connection_id":132639,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:31:28] local.INFO: Acknowledgment sent {"connection_id":132639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:31:37] local.INFO: TCP Data received {"connection_id":132640,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65dd0378012d7f974005afda600002006c2d..."} 
[2026-07-15 18:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65dd0378012d7f974005afda600002006c2d..."} 
[2026-07-15 18:31:37] local.INFO: Processing buffer {"connection_id":132640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65dd0378012d7f974005afda600002006c2d..."} 
[2026-07-15 18:31:37] local.INFO: Packet analysis {"connection_id":132640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65dd"} 
[2026-07-15 18:31:37] local.INFO: Extracted packet for processing {"connection_id":132640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65dd"} 
[2026-07-15 18:31:37] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":45,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 18:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734819840001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 18:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784120411000,"timestamp_ms":1784120411000,"timestamp_seconds":1784120411,"priority":1,"record_length":96,"hex_timestamp":"0000019f65dd0378"} 
[2026-07-15 18:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 18:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:31:37] 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-07-15 18:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734819840001,"66":27876,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734819840001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:31:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:31:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 18:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734819840001,"power":27876,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 18:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":132640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:31:37] local.INFO: GPS data processed {"connection_id":132640,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:31:37] local.INFO: Acknowledgment sent {"connection_id":132640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:31:50] local.INFO: TCP Data received {"connection_id":132821,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:31:50] local.INFO: Processing buffer {"connection_id":132821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:31:50] local.INFO: IMEI packet received {"connection_id":132821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":132821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:31:54] local.INFO: TCP Data received {"connection_id":132821,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:31:54] local.INFO: Processing buffer {"connection_id":132821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:31:54] local.INFO: IMEI packet received {"connection_id":132821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":132821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:31:55] local.INFO: TCP Data received {"connection_id":132821,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65dc6738012d1820400721b3b8004b00d12d..."} 
[2026-07-15 18:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65dc6738012d1820400721b3b8004b00d12d..."} 
[2026-07-15 18:31:55] local.INFO: Processing buffer {"connection_id":132821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65dc6738012d1820400721b3b8004b00d12d..."} 
[2026-07-15 18:31:55] local.INFO: Packet analysis {"connection_id":132821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65dc"} 
[2026-07-15 18:31:55] local.INFO: Extracted packet for processing {"connection_id":132821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65dc"} 
[2026-07-15 18:31:55] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649208,"longitude_deg":75.655584,"latitude_deg":11.9649208,"altitude":75,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-07-15 18:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734809600001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227921622532096,"note":"Value kept but may cause issues"} 
[2026-07-15 18:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981265408,"note":"Value kept but may cause issues"} 
[2026-07-15 18:31: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-07-15 18:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784120371000,"timestamp_ms":1784120371000,"timestamp_seconds":1784120371,"priority":1,"record_length":96,"hex_timestamp":"0000019f65dc6738"} 
[2026-07-15 18:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:31:55] 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-07-15 18:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-07-15 18:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:31:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":132821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":132821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":132821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734809600001,"66":12841,"120":206,"28":31744,"24":0,"16":6227921622532096,"45":1739163542981265408},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734809600001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:31:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:31:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227921622532096,"km_value":6227921622532.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981265408,"description":"Unknown IO ID 45"} 
[2026-07-15 18:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734809600001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981265408}} 
[2026-07-15 18:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":132821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:31:55] local.INFO: GPS data processed {"connection_id":132821,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:31:55] local.INFO: Acknowledgment sent {"connection_id":132821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:32:05] local.INFO: TCP Data received {"connection_id":135034,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:32:05] local.INFO: Processing buffer {"connection_id":135034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:32:05] local.INFO: IMEI packet received {"connection_id":135034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":135034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:32:10] local.INFO: TCP Data received {"connection_id":135034,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:32:10] local.INFO: Processing buffer {"connection_id":135034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:32:10] local.INFO: IMEI packet received {"connection_id":135034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":135034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:32:11] local.INFO: TCP Data received {"connection_id":135034,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65dd5580012d7f974005afda600002006c2b..."} 
[2026-07-15 18:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65dd5580012d7f974005afda600002006c2b..."} 
[2026-07-15 18:32:11] local.INFO: Processing buffer {"connection_id":135034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65dd5580012d7f974005afda600002006c2b..."} 
[2026-07-15 18:32:11] local.INFO: Packet analysis {"connection_id":135034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65dd"} 
[2026-07-15 18:32:11] local.INFO: Extracted packet for processing {"connection_id":135034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65dd"} 
[2026-07-15 18:32:11] local.INFO: GPS Element Parsed {"raw_longitude":763336512,"raw_latitude":95410784,"longitude_deg":76.3336512,"latitude_deg":9.5410784,"altitude":2,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d7f9740","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-07-15 18:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734825216001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239773645045760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 18:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784120432000,"timestamp_ms":1784120432000,"timestamp_seconds":1784120432,"priority":1,"record_length":96,"hex_timestamp":"0000019f65dd5580"} 
[2026-07-15 18:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-15 18:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":135034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":135034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":135034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:32:11] 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-07-15 18:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734825216001,"66":28028,"250":206,"85":12544,"24":0,"16":347239773645045760,"45":9193887557469495296},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734825216001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:32:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:32:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239773645045760,"km_value":347239773645045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 18:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734825216001,"power":28028,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 18:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":135034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:32:11] local.INFO: GPS data processed {"connection_id":135034,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:32:11] local.INFO: Acknowledgment sent {"connection_id":135034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:32:16] local.INFO: TCP Data received {"connection_id":135034,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65dd97e8012d7f980005afd900000c005c2c..."} 
[2026-07-15 18:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65dd97e8012d7f980005afd900000c005c2c..."} 
[2026-07-15 18:32:16] local.INFO: Processing buffer {"connection_id":135034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65dd97e8012d7f980005afd900000c005c2c..."} 
[2026-07-15 18:32:16] local.INFO: Packet analysis {"connection_id":135034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65dd"} 
[2026-07-15 18:32:16] local.INFO: Extracted packet for processing {"connection_id":135034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65dd"} 
[2026-07-15 18:32:16] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410432,"longitude_deg":76.3336704,"latitude_deg":9.5410432,"altitude":12,"angle":92,"satellites":44,"speed":4,"hex_longitude":"2d7f9800","hex_latitude":"05afd900","is_valid_coordinates":true} 
[2026-07-15 18:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734830592001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239790824914944,"note":"Value kept but may cause issues"} 
[2026-07-15 18:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469495296,"note":"Value kept but may cause issues"} 
[2026-07-15 18:32:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784120449000,"timestamp_ms":1784120449000,"timestamp_seconds":1784120449,"priority":1,"record_length":96,"hex_timestamp":"0000019f65dd97e8"} 
[2026-07-15 18:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:32:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-15 18:32:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:32:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":135034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":135034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":135034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:32:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734830592001,"66":27930,"250":206,"85":12544,"24":4,"16":347239790824914944,"45":9193887557469495296},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734830592001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:32:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:32:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239790824914944,"km_value":347239790824914.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469495296,"description":"Unknown IO ID 45"} 
[2026-07-15 18:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734830592001,"power":27930,"unknown_250":206,"unknown_85":12544,"ignition":4,"odometer":null,"unknown_45":9193887557469495296}} 
[2026-07-15 18:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":135034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:32:16] local.INFO: GPS data processed {"connection_id":135034,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:32:16] local.INFO: Acknowledgment sent {"connection_id":135034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:32:27] local.INFO: TCP Data received {"connection_id":132821,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65dcb940012d1820400721b3b8004b00d12c..."} 
[2026-07-15 18:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65dcb940012d1820400721b3b8004b00d12c..."} 
[2026-07-15 18:32:27] local.INFO: Processing buffer {"connection_id":132821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65dcb940012d1820400721b3b8004b00d12c..."} 
[2026-07-15 18:32:27] local.INFO: Packet analysis {"connection_id":132821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65dc"} 
[2026-07-15 18:32:27] local.INFO: Extracted packet for processing {"connection_id":132821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65dc"} 
[2026-07-15 18:32:27] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649208,"longitude_deg":75.655584,"latitude_deg":11.9649208,"altitude":75,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734814976001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227921622532096,"note":"Value kept but may cause issues"} 
[2026-07-15 18:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539386368,"note":"Value kept but may cause issues"} 
[2026-07-15 18:32:27] 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-07-15 18:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784120392000,"timestamp_ms":1784120392000,"timestamp_seconds":1784120392,"priority":1,"record_length":96,"hex_timestamp":"0000019f65dcb940"} 
[2026-07-15 18:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:32:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-15 18:32: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-07-15 18: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-07-15 18:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":132821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":132821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":132821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734814976001,"66":12841,"120":206,"28":31744,"24":0,"16":6227921622532096,"45":1738459855539386368},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734814976001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:32:27] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:32:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227921622532096,"km_value":6227921622532.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539386368,"description":"Unknown IO ID 45"} 
[2026-07-15 18:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734814976001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539386368}} 
[2026-07-15 18:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":132821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:32:27] local.INFO: GPS data processed {"connection_id":132821,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:32:27] local.INFO: Acknowledgment sent {"connection_id":132821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:32:55] local.INFO: TCP Data received {"connection_id":135036,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:32:55] local.INFO: Processing buffer {"connection_id":135036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:32:55] local.INFO: IMEI packet received {"connection_id":135036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":135036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:32:57] local.INFO: TCP Data received {"connection_id":135036,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:32:57] local.INFO: Processing buffer {"connection_id":135036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:32:57] local.INFO: IMEI packet received {"connection_id":135036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":135036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:32:58] local.INFO: TCP Data received {"connection_id":135036,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65dd0b48012d1820400721b3b8004b00d12b..."} 
[2026-07-15 18:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65dd0b48012d1820400721b3b8004b00d12b..."} 
[2026-07-15 18:32:58] local.INFO: Processing buffer {"connection_id":135036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65dd0b48012d1820400721b3b8004b00d12b..."} 
[2026-07-15 18:32:58] local.INFO: Packet analysis {"connection_id":135036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65dd"} 
[2026-07-15 18:32:58] local.INFO: Extracted packet for processing {"connection_id":135036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65dd"} 
[2026-07-15 18:32:58] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649208,"longitude_deg":75.655584,"latitude_deg":11.9649208,"altitude":75,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-07-15 18:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:32:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734820352001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:32:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227921622532096,"note":"Value kept but may cause issues"} 
[2026-07-15 18:32:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539386368,"note":"Value kept but may cause issues"} 
[2026-07-15 18:32:58] 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-07-15 18:32:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784120413000,"timestamp_ms":1784120413000,"timestamp_seconds":1784120413,"priority":1,"record_length":96,"hex_timestamp":"0000019f65dd0b48"} 
[2026-07-15 18:32:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:32:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-15 18:32:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:32:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:32:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:32:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:32:58] local.INFO: Teltonika packet parsed successfully {"connection_id":135036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:32:58] local.INFO: Passing IMEI to GPS processor {"connection_id":135036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:32:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":135036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:32:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:32:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:32:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:32:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734820352001,"66":12841,"120":206,"28":31744,"24":0,"16":6227921622532096,"45":1738459855539386368},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:32:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:32:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:32:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734820352001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:32:58] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:32:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:32:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227921622532096,"km_value":6227921622532.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:32:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539386368,"description":"Unknown IO ID 45"} 
[2026-07-15 18:32:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734820352001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539386368}} 
[2026-07-15 18:32:58] local.INFO: DEBUG: GPS processor result {"connection_id":135036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:32:58] local.INFO: GPS data processed {"connection_id":135036,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:32:58] local.INFO: Acknowledgment sent {"connection_id":135036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:33:00] local.INFO: TCP Data received {"connection_id":135036,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65dd5d50012d1820400721b3b8004b00d12a..."} 
[2026-07-15 18:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65dd5d50012d1820400721b3b8004b00d12a..."} 
[2026-07-15 18:33:00] local.INFO: Processing buffer {"connection_id":135036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65dd5d50012d1820400721b3b8004b00d12a..."} 
[2026-07-15 18:33:00] local.INFO: Packet analysis {"connection_id":135036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65dd"} 
[2026-07-15 18:33:00] local.INFO: Extracted packet for processing {"connection_id":135036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65dd"} 
[2026-07-15 18:33:00] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649208,"longitude_deg":75.655584,"latitude_deg":11.9649208,"altitude":75,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-07-15 18:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734825728001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227921622532096,"note":"Value kept but may cause issues"} 
[2026-07-15 18:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539386368,"note":"Value kept but may cause issues"} 
[2026-07-15 18:33:00] 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-07-15 18:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784120434000,"timestamp_ms":1784120434000,"timestamp_seconds":1784120434,"priority":1,"record_length":96,"hex_timestamp":"0000019f65dd5d50"} 
[2026-07-15 18:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-15 18:33:00] 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-07-15 18:33:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":135036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":135036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":135036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734825728001,"66":12809,"120":206,"28":31744,"24":0,"16":6227921622532096,"45":1738459855539386368},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734825728001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:33:00] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:33:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227921622532096,"km_value":6227921622532.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539386368,"description":"Unknown IO ID 45"} 
[2026-07-15 18:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734825728001,"power":12809,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539386368}} 
[2026-07-15 18:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":135036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:33:00] local.INFO: GPS data processed {"connection_id":135036,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:33:00] local.INFO: Acknowledgment sent {"connection_id":135036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:33:00] local.INFO: TCP Data received {"connection_id":132641,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:33:00] local.INFO: Processing buffer {"connection_id":132641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:33:00] local.INFO: IMEI packet received {"connection_id":132641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":132641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:33:03] local.INFO: TCP Data received {"connection_id":132641,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:33:03] local.INFO: Processing buffer {"connection_id":132641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:33:03] local.INFO: IMEI packet received {"connection_id":132641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":132641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:33:04] local.INFO: TCP Data received {"connection_id":132641,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65dde9f0012d7fa00005afd810000b00672d..."} 
[2026-07-15 18:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65dde9f0012d7fa00005afd810000b00672d..."} 
[2026-07-15 18:33:04] local.INFO: Processing buffer {"connection_id":132641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65dde9f0012d7fa00005afd810000b00672d..."} 
[2026-07-15 18:33:04] local.INFO: Packet analysis {"connection_id":132641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65dd"} 
[2026-07-15 18:33:04] local.INFO: Extracted packet for processing {"connection_id":132641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65dd"} 
[2026-07-15 18:33:04] local.INFO: GPS Element Parsed {"raw_longitude":763338752,"raw_latitude":95410192,"longitude_deg":76.3338752,"latitude_deg":9.5410192,"altitude":11,"angle":103,"satellites":45,"speed":3,"hex_longitude":"2d7fa000","hex_latitude":"05afd810","is_valid_coordinates":true} 
[2026-07-15 18:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734834944001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239893904130048,"note":"Value kept but may cause issues"} 
[2026-07-15 18:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701938176,"note":"Value kept but may cause issues"} 
[2026-07-15 18:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784120470000,"timestamp_ms":1784120470000,"timestamp_seconds":1784120470,"priority":1,"record_length":96,"hex_timestamp":"0000019f65dde9f0"} 
[2026-07-15 18:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-15 18:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":132641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":132641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":132641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734834944001,"66":27865,"250":206,"85":12544,"24":3,"16":347239893904130048,"45":9194098663701938176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734834944001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:33:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:33:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239893904130048,"km_value":347239893904130.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701938176,"description":"Unknown IO ID 45"} 
[2026-07-15 18:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734834944001,"power":27865,"unknown_250":206,"unknown_85":12544,"ignition":3,"odometer":null,"unknown_45":9194098663701938176}} 
[2026-07-15 18:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":132641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:33:04] local.INFO: GPS data processed {"connection_id":132641,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:33:04] local.INFO: Acknowledgment sent {"connection_id":132641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:33:32] local.INFO: TCP Data received {"connection_id":135036,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ddaf58012d1820400721b3b8004b00d12c..."} 
[2026-07-15 18:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ddaf58012d1820400721b3b8004b00d12c..."} 
[2026-07-15 18:33:32] local.INFO: Processing buffer {"connection_id":135036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ddaf58012d1820400721b3b8004b00d12c..."} 
[2026-07-15 18:33:32] local.INFO: Packet analysis {"connection_id":135036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65dd"} 
[2026-07-15 18:33:32] local.INFO: Extracted packet for processing {"connection_id":135036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65dd"} 
[2026-07-15 18:33:32] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649208,"longitude_deg":75.655584,"latitude_deg":11.9649208,"altitude":75,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-07-15 18:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734831104001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227921622532096,"note":"Value kept but may cause issues"} 
[2026-07-15 18:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539386368,"note":"Value kept but may cause issues"} 
[2026-07-15 18:33:32] 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-07-15 18:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784120455000,"timestamp_ms":1784120455000,"timestamp_seconds":1784120455,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ddaf58"} 
[2026-07-15 18:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:33: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-07-15 18:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-15 18:33:32] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-15 18:33:32] local.WARNING: Large IO value detected {"io_id":101,"raw_value":-2657378861794712896,"note":"Value kept but may cause issues"} 
[2026-07-15 18:33:32] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3041394762,"note":"Value kept but may cause issues"} 
[2026-07-15 18:33:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-15 18:33:32] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3221692853,"note":"Value kept but may cause issues"} 
[2026-07-15 18:33:32] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-7637878573985903076,"note":"Value kept but may cause issues"} 
[2026-07-15 18:33:32] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2428926740115018028,"note":"Value kept but may cause issues"} 
[2026-07-15 18:33:32] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-15 18:33:32] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,120,28,24,241,158,16,32,159,11,45,64,179,75,43,10,66,185,44,103,1,240,41,101,33,4,113,205,195,34,72,239,50,2,22,7,74,124,54],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-15 18:33:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404549531163426816,"timestamp_seconds":5404549531163427.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 18:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":135036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":135036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":135036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734831104001,"66":12819,"120":206,"28":31744,"24":0,"16":6227921622532096,"45":1738459855539386368},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734831104001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:33:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:33:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227921622532096,"km_value":6227921622532.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539386368,"description":"Unknown IO ID 45"} 
[2026-07-15 18:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734831104001,"power":12819,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539386368}} 
[2026-07-15 18:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":135036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492378,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:33:32] local.INFO: GPS data processed {"connection_id":135036,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:33:32] local.INFO: Acknowledgment sent {"connection_id":135036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:33:35] local.INFO: TCP Data received {"connection_id":132641,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ddf990012d7fa20005afd7b0000b005c2d..."} 
[2026-07-15 18:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ddf990012d7fa20005afd7b0000b005c2d..."} 
[2026-07-15 18:33:35] local.INFO: Processing buffer {"connection_id":132641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ddf990012d7fa20005afd7b0000b005c2d..."} 
[2026-07-15 18:33:35] local.INFO: Packet analysis {"connection_id":132641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65dd"} 
[2026-07-15 18:33:35] local.INFO: Extracted packet for processing {"connection_id":132641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65dd"} 
[2026-07-15 18:33:35] local.INFO: GPS Element Parsed {"raw_longitude":763339264,"raw_latitude":95410096,"longitude_deg":76.3339264,"latitude_deg":9.5410096,"altitude":11,"angle":92,"satellites":45,"speed":3,"hex_longitude":"2d7fa200","hex_latitude":"05afd7b0","is_valid_coordinates":true} 
[2026-07-15 18:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734840320001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239915378966528,"note":"Value kept but may cause issues"} 
[2026-07-15 18:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196350463515561984,"note":"Value kept but may cause issues"} 
[2026-07-15 18:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784120474000,"timestamp_ms":1784120474000,"timestamp_seconds":1784120474,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ddf990"} 
[2026-07-15 18:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-15 18:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:33:35] 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-07-15 18:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734840320001,"66":27789,"250":206,"85":12544,"24":3,"16":347239915378966528,"45":9196350463515561984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734840320001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:33:35] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:33:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239915378966528,"km_value":347239915378966.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196350463515561984,"description":"Unknown IO ID 45"} 
[2026-07-15 18:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734840320001,"power":27789,"unknown_250":206,"unknown_85":12544,"ignition":3,"odometer":null,"unknown_45":9196350463515561984}} 
[2026-07-15 18:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":132641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:33:35] local.INFO: GPS data processed {"connection_id":132641,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:33:35] local.INFO: Acknowledgment sent {"connection_id":132641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:33:50] local.INFO: TCP Data received {"connection_id":132822,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:33:50] local.INFO: Processing buffer {"connection_id":132822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:33:50] local.INFO: IMEI packet received {"connection_id":132822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":132822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:33:55] local.INFO: TCP Data received {"connection_id":132822,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:33:55] local.INFO: Processing buffer {"connection_id":132822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:33:55] local.INFO: IMEI packet received {"connection_id":132822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":132822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:33:56] local.INFO: TCP Data received {"connection_id":132822,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65de0160012d1820400721b3b8004b00d12b..."} 
[2026-07-15 18:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65de0160012d1820400721b3b8004b00d12b..."} 
[2026-07-15 18:33:56] local.INFO: Processing buffer {"connection_id":132822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65de0160012d1820400721b3b8004b00d12b..."} 
[2026-07-15 18:33:56] local.INFO: Packet analysis {"connection_id":132822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65de"} 
[2026-07-15 18:33:56] local.INFO: Extracted packet for processing {"connection_id":132822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65de"} 
[2026-07-15 18:33:56] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649208,"longitude_deg":75.655584,"latitude_deg":11.9649208,"altitude":75,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734836480001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227921622532096,"note":"Value kept but may cause issues"} 
[2026-07-15 18:33:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539386368,"note":"Value kept but may cause issues"} 
[2026-07-15 18:33: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-07-15 18:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784120476000,"timestamp_ms":1784120476000,"timestamp_seconds":1784120476,"priority":1,"record_length":96,"hex_timestamp":"0000019f65de0160"} 
[2026-07-15 18:33:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:33:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-15 18:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-07-15 18:33:56] local.WARNING: Large IO value detected {"io_id":24,"raw_value":84750505519554997,"note":"Value kept but may cause issues"} 
[2026-07-15 18:33:56] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-15 18:33:56] local.WARNING: Large IO value detected {"io_id":101,"raw_value":-2634289117611416896,"note":"Value kept but may cause issues"} 
[2026-07-15 18:33:56] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3015180363,"note":"Value kept but may cause issues"} 
[2026-07-15 18:33:56] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5332525845896823040,"note":"Value kept but may cause issues"} 
[2026-07-15 18:33:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767661968501768168,"corrected_to":0} 
[2026-07-15 18:33:56] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3221692853,"note":"Value kept but may cause issues"} 
[2026-07-15 18:33:56] local.WARNING: Large IO value detected {"io_id":72,"raw_value":20830046662950912,"note":"Value kept but may cause issues"} 
[2026-07-15 18:33:56] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182156695175424,"note":"Value kept but may cause issues"} 
[2026-07-15 18:33:56] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2428926740115018028,"note":"Value kept but may cause issues"} 
[2026-07-15 18:33:56] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-8430512108403110372,"note":"Value kept but may cause issues"} 
[2026-07-15 18:33:56] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-15 18:33:56] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195050496,"note":"Value kept but may cause issues"} 
[2026-07-15 18:33:56] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,120,28,24,241,158,16,32,159,93,45,64,179,75,42,10,66,11,43,185,1,240,41,101,33,4,113,205,21,34,72,44,239,47,2,22,7,74,50,124,54,69],"length":625,"final_offset":755,"validated_count":42,"validation_warnings":[{"io_id":205,"original":-1767661968501768168,"validated":0}]} 
[2026-07-15 18:33:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404549539753361408,"timestamp_seconds":5404549539753361.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 18:33:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734836480001,"66":12765,"120":206,"28":31744,"24":0,"16":6227921622532096,"45":1738459855539386368},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734836480001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:33:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:33:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227921622532096,"km_value":6227921622532.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:33:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539386368,"description":"Unknown IO ID 45"} 
[2026-07-15 18:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734836480001,"power":12765,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539386368}} 
[2026-07-15 18:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":132822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:33:57] local.INFO: GPS data processed {"connection_id":132822,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:33:57] local.INFO: Acknowledgment sent {"connection_id":132822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:34:00] local.INFO: TCP Data received {"connection_id":135037,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:34:00] local.INFO: Processing buffer {"connection_id":135037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:34:00] local.INFO: IMEI packet received {"connection_id":135037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":135037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:34:05] local.INFO: TCP Data received {"connection_id":135037,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:34:05] local.INFO: Processing buffer {"connection_id":135037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:34:05] local.INFO: IMEI packet received {"connection_id":135037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":135037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:34:06] local.INFO: TCP Data received {"connection_id":135037,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65de14e8012d7fa28005afd708000a00d12d..."} 
[2026-07-15 18:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65de14e8012d7fa28005afd708000a00d12d..."} 
[2026-07-15 18:34:06] local.INFO: Processing buffer {"connection_id":135037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65de14e8012d7fa28005afd708000a00d12d..."} 
[2026-07-15 18:34:06] local.INFO: Packet analysis {"connection_id":135037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65de"} 
[2026-07-15 18:34:06] local.INFO: Extracted packet for processing {"connection_id":135037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65de"} 
[2026-07-15 18:34:06] local.INFO: GPS Element Parsed {"raw_longitude":763339392,"raw_latitude":95409928,"longitude_deg":76.3339392,"latitude_deg":9.5409928,"altitude":10,"angle":209,"satellites":45,"speed":4,"hex_longitude":"2d7fa280","hex_latitude":"05afd708","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734841344001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239932558835712,"note":"Value kept but may cause issues"} 
[2026-07-15 18:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196913413468958720,"note":"Value kept but may cause issues"} 
[2026-07-15 18:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784120481000,"timestamp_ms":1784120481000,"timestamp_seconds":1784120481,"priority":1,"record_length":96,"hex_timestamp":"0000019f65de14e8"} 
[2026-07-15 18:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-15 18:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18: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-07-15 18:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:34:06] 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-07-15 18:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734841344001,"66":27865,"250":206,"85":12544,"24":4,"16":347239932558835712,"45":9196913413468958720},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734841344001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:34:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:34:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239932558835712,"km_value":347239932558835.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196913413468958720,"description":"Unknown IO ID 45"} 
[2026-07-15 18:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734841344001,"power":27865,"unknown_250":206,"unknown_85":12544,"ignition":4,"odometer":null,"unknown_45":9196913413468958720}} 
[2026-07-15 18:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":135037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:34:06] local.INFO: GPS data processed {"connection_id":135037,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:34:06] local.INFO: Acknowledgment sent {"connection_id":135037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:34:28] local.INFO: TCP Data received {"connection_id":132822,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65de5368012d1820400721b3b8004b00d12b..."} 
[2026-07-15 18:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65de5368012d1820400721b3b8004b00d12b..."} 
[2026-07-15 18:34:28] local.INFO: Processing buffer {"connection_id":132822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65de5368012d1820400721b3b8004b00d12b..."} 
[2026-07-15 18:34:28] local.INFO: Packet analysis {"connection_id":132822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65de"} 
[2026-07-15 18:34:28] local.INFO: Extracted packet for processing {"connection_id":132822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65de"} 
[2026-07-15 18:34:28] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649208,"longitude_deg":75.655584,"latitude_deg":11.9649208,"altitude":75,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734841856001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227921622532096,"note":"Value kept but may cause issues"} 
[2026-07-15 18:34:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539386368,"note":"Value kept but may cause issues"} 
[2026-07-15 18:34: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-07-15 18:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784120497000,"timestamp_ms":1784120497000,"timestamp_seconds":1784120497,"priority":1,"record_length":96,"hex_timestamp":"0000019f65de5368"} 
[2026-07-15 18:34:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:34:28] 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-07-15 18: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-15 18:34:28] 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-07-15 18: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-07-15 18:34:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:34:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:34:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734841856001,"66":12798,"120":206,"28":31744,"24":0,"16":6227921622532096,"45":1738459855539386368},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734841856001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:34:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:34:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227921622532096,"km_value":6227921622532.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:34:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539386368,"description":"Unknown IO ID 45"} 
[2026-07-15 18:34:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734841856001,"power":12798,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539386368}} 
[2026-07-15 18:34:28] local.INFO: DEBUG: GPS processor result {"connection_id":132822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:34:28] local.INFO: GPS data processed {"connection_id":132822,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:34:28] local.INFO: Acknowledgment sent {"connection_id":132822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:34:37] local.INFO: TCP Data received {"connection_id":135037,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65de18d0012d7fa28005afd678000a00b72d..."} 
[2026-07-15 18:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65de18d0012d7fa28005afd678000a00b72d..."} 
[2026-07-15 18:34:37] local.INFO: Processing buffer {"connection_id":135037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65de18d0012d7fa28005afd678000a00b72d..."} 
[2026-07-15 18:34:37] local.INFO: Packet analysis {"connection_id":135037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65de"} 
[2026-07-15 18:34:37] local.INFO: Extracted packet for processing {"connection_id":135037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65de"} 
[2026-07-15 18:34:37] local.INFO: GPS Element Parsed {"raw_longitude":763339392,"raw_latitude":95409784,"longitude_deg":76.3339392,"latitude_deg":9.5409784,"altitude":10,"angle":183,"satellites":45,"speed":6,"hex_longitude":"2d7fa280","hex_latitude":"05afd678","is_valid_coordinates":true} 
[2026-07-15 18:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734843136001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347239941148770304,"note":"Value kept but may cause issues"} 
[2026-07-15 18:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197054150957271040,"note":"Value kept but may cause issues"} 
[2026-07-15 18:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784120482000,"timestamp_ms":1784120482000,"timestamp_seconds":1784120482,"priority":1,"record_length":96,"hex_timestamp":"0000019f65de18d0"} 
[2026-07-15 18:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-15 18:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":135037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":135037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":135037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:34:37] 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-07-15 18:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734843136001,"66":27865,"250":206,"85":12544,"24":6,"16":347239941148770304,"45":9197054150957271040},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734843136001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:34:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:34:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347239941148770304,"km_value":347239941148770.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197054150957271040,"description":"Unknown IO ID 45"} 
[2026-07-15 18:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734843136001,"power":27865,"unknown_250":206,"unknown_85":12544,"ignition":6,"odometer":null,"unknown_45":9197054150957271040}} 
[2026-07-15 18:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":135037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:34:37] local.INFO: GPS data processed {"connection_id":135037,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:34:37] local.INFO: Acknowledgment sent {"connection_id":135037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:34:50] local.INFO: TCP Data received {"connection_id":132643,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:34:50] local.INFO: Processing buffer {"connection_id":132643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:34:50] local.INFO: IMEI packet received {"connection_id":132643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":132643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:34:54] local.INFO: TCP Data received {"connection_id":135038,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135038,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:34:54] local.INFO: Processing buffer {"connection_id":135038,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:34:54] local.INFO: IMEI packet received {"connection_id":135038,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 18:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":135038,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:34:55] local.INFO: TCP Data received {"connection_id":132643,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:34:55] local.INFO: Processing buffer {"connection_id":132643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:34:55] local.INFO: IMEI packet received {"connection_id":132643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":132643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:34:57] local.INFO: TCP Data received {"connection_id":132643,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65dea570012d1820400721b3b8004b00d12a..."} 
[2026-07-15 18:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65dea570012d1820400721b3b8004b00d12a..."} 
[2026-07-15 18:34:57] local.INFO: Processing buffer {"connection_id":132643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65dea570012d1820400721b3b8004b00d12a..."} 
[2026-07-15 18:34:57] local.INFO: Packet analysis {"connection_id":132643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65de"} 
[2026-07-15 18:34:57] local.INFO: Extracted packet for processing {"connection_id":132643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65de"} 
[2026-07-15 18:34:57] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649208,"longitude_deg":75.655584,"latitude_deg":11.9649208,"altitude":75,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-07-15 18:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734847232001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227921622532096,"note":"Value kept but may cause issues"} 
[2026-07-15 18:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539386368,"note":"Value kept but may cause issues"} 
[2026-07-15 18:34:57] 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-07-15 18:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784120518000,"timestamp_ms":1784120518000,"timestamp_seconds":1784120518,"priority":1,"record_length":96,"hex_timestamp":"0000019f65dea570"} 
[2026-07-15 18:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:34:57] 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-07-15 18:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-15 18:34:57] 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-07-15 18:34:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":132643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":132643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":132643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:34:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734847232001,"66":12776,"120":206,"28":31744,"24":0,"16":6227921622532096,"45":1738459855539386368},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734847232001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:34:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:34:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227921622532096,"km_value":6227921622532.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539386368,"description":"Unknown IO ID 45"} 
[2026-07-15 18:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734847232001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539386368}} 
[2026-07-15 18:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":132643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:34:57] local.INFO: GPS data processed {"connection_id":132643,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:34:57] local.INFO: Acknowledgment sent {"connection_id":132643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:35:00] local.INFO: TCP Data received {"connection_id":135039,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:35:00] local.INFO: Processing buffer {"connection_id":135039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:35:00] local.INFO: IMEI packet received {"connection_id":135039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":135039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:35:05] local.INFO: TCP Data received {"connection_id":135039,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:35:05] local.INFO: Processing buffer {"connection_id":135039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:35:05] local.INFO: IMEI packet received {"connection_id":135039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":135039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:35:06] local.INFO: TCP Data received {"connection_id":135039,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65de6ad8012d7fa2c005afd050000a00b62d..."} 
[2026-07-15 18:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65de6ad8012d7fa2c005afd050000a00b62d..."} 
[2026-07-15 18:35:06] local.INFO: Processing buffer {"connection_id":135039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65de6ad8012d7fa2c005afd050000a00b62d..."} 
[2026-07-15 18:35:06] local.INFO: Packet analysis {"connection_id":135039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65de"} 
[2026-07-15 18:35:06] local.INFO: Extracted packet for processing {"connection_id":135039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65de"} 
[2026-07-15 18:35:06] local.INFO: GPS Element Parsed {"raw_longitude":763339456,"raw_latitude":95408208,"longitude_deg":76.3339456,"latitude_deg":9.5408208,"altitude":10,"angle":182,"satellites":45,"speed":0,"hex_longitude":"2d7fa2c0","hex_latitude":"05afd050","is_valid_coordinates":true} 
[2026-07-15 18:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734843392001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347240018458181632,"note":"Value kept but may cause issues"} 
[2026-07-15 18:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197054150957234176,"note":"Value kept but may cause issues"} 
[2026-07-15 18:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784120503000,"timestamp_ms":1784120503000,"timestamp_seconds":1784120503,"priority":1,"record_length":96,"hex_timestamp":"0000019f65de6ad8"} 
[2026-07-15 18:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-15 18:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:35:06] 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-07-15 18:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734843392001,"66":27832,"250":206,"85":12544,"24":0,"16":347240018458181632,"45":9197054150957234176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734843392001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:35:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:35:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347240018458181632,"km_value":347240018458181.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197054150957234176,"description":"Unknown IO ID 45"} 
[2026-07-15 18:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734843392001,"power":27832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197054150957234176}} 
[2026-07-15 18:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":135039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:35:06] local.INFO: GPS data processed {"connection_id":135039,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:35:06] local.INFO: Acknowledgment sent {"connection_id":135039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:35:29] local.INFO: TCP Data received {"connection_id":132643,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65def778012d1820400721b3b8004b00d12b..."} 
[2026-07-15 18:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65def778012d1820400721b3b8004b00d12b..."} 
[2026-07-15 18:35:29] local.INFO: Processing buffer {"connection_id":132643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65def778012d1820400721b3b8004b00d12b..."} 
[2026-07-15 18:35:29] local.INFO: Packet analysis {"connection_id":132643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65de"} 
[2026-07-15 18:35:29] local.INFO: Extracted packet for processing {"connection_id":132643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65de"} 
[2026-07-15 18:35:29] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649208,"longitude_deg":75.655584,"latitude_deg":11.9649208,"altitude":75,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-07-15 18:35:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:35:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734852608001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:35:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227921622532096,"note":"Value kept but may cause issues"} 
[2026-07-15 18:35:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539386368,"note":"Value kept but may cause issues"} 
[2026-07-15 18:35:29] 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-07-15 18:35:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784120539000,"timestamp_ms":1784120539000,"timestamp_seconds":1784120539,"priority":1,"record_length":96,"hex_timestamp":"0000019f65def778"} 
[2026-07-15 18:35:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:35:29] 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-07-15 18:35:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-15 18:35:29] 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-07-15 18:35:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:35:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:35:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:35:29] local.INFO: Teltonika packet parsed successfully {"connection_id":132643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:35:29] local.INFO: Passing IMEI to GPS processor {"connection_id":132643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:35:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":132643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:35:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:35:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:35:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:35:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734852608001,"66":12722,"120":206,"28":31744,"24":0,"16":6227921622532096,"45":1738459855539386368},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:35:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:35:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:35:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734852608001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:35:29] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:35:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:35:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227921622532096,"km_value":6227921622532.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:35:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539386368,"description":"Unknown IO ID 45"} 
[2026-07-15 18:35:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734852608001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539386368}} 
[2026-07-15 18:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":132643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:35:29] local.INFO: GPS data processed {"connection_id":132643,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:35:29] local.INFO: Acknowledgment sent {"connection_id":132643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:35:38] local.INFO: TCP Data received {"connection_id":135039,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65e15108012d7f9c8005afb7980009010e2e..."} 
[2026-07-15 18:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65e15108012d7f9c8005afb7980009010e2e..."} 
[2026-07-15 18:35:38] local.INFO: Processing buffer {"connection_id":135039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65e15108012d7f9c8005afb7980009010e2e..."} 
[2026-07-15 18:35:38] local.INFO: Packet analysis {"connection_id":135039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65e1"} 
[2026-07-15 18:35:38] local.INFO: Extracted packet for processing {"connection_id":135039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65e1"} 
[2026-07-15 18:35:38] local.INFO: GPS Element Parsed {"raw_longitude":763337856,"raw_latitude":95401880,"longitude_deg":76.3337856,"latitude_deg":9.540188,"altitude":9,"angle":270,"satellites":46,"speed":12,"hex_longitude":"2d7f9c80","hex_latitude":"05afb798","is_valid_coordinates":true} 
[2026-07-15 18:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734897152001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347240362055565312,"note":"Value kept but may cause issues"} 
[2026-07-15 18:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195646776071663616,"note":"Value kept but may cause issues"} 
[2026-07-15 18:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784120693000,"timestamp_ms":1784120693000,"timestamp_seconds":1784120693,"priority":1,"record_length":96,"hex_timestamp":"0000019f65e15108"} 
[2026-07-15 18:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 18:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":135039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":135039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":135039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734897152001,"66":27800,"250":206,"85":12544,"24":12,"16":347240362055565312,"45":9195646776071663616},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734897152001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:35:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:35:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347240362055565312,"km_value":347240362055565.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195646776071663616,"description":"Unknown IO ID 45"} 
[2026-07-15 18:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734897152001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":12,"odometer":null,"unknown_45":9195646776071663616}} 
[2026-07-15 18:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":135039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:35:38] local.INFO: GPS data processed {"connection_id":135039,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:35:38] local.INFO: Acknowledgment sent {"connection_id":135039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:35:39] local.INFO: TCP Data received {"connection_id":133677,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133677,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:35:39] local.INFO: Processing buffer {"connection_id":133677,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:35:39] local.INFO: IMEI packet received {"connection_id":133677,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 18:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":133677,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:35:50] local.INFO: TCP Data received {"connection_id":135040,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:35:50] local.INFO: Processing buffer {"connection_id":135040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:35:50] local.INFO: IMEI packet received {"connection_id":135040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":135040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:35:55] local.INFO: TCP Data received {"connection_id":135040,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:35:55] local.INFO: Processing buffer {"connection_id":135040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:35:55] local.INFO: IMEI packet received {"connection_id":135040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":135040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:35:57] local.INFO: TCP Data received {"connection_id":135040,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65df4980012d1820400721b3b8004b00d129..."} 
[2026-07-15 18:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65df4980012d1820400721b3b8004b00d129..."} 
[2026-07-15 18:35:57] local.INFO: Processing buffer {"connection_id":135040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65df4980012d1820400721b3b8004b00d129..."} 
[2026-07-15 18:35:57] local.INFO: Packet analysis {"connection_id":135040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65df"} 
[2026-07-15 18:35:57] local.INFO: Extracted packet for processing {"connection_id":135040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65df"} 
[2026-07-15 18:35:57] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649208,"longitude_deg":75.655584,"latitude_deg":11.9649208,"altitude":75,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-07-15 18:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:35:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734857984001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:35:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227921622532096,"note":"Value kept but may cause issues"} 
[2026-07-15 18:35:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539386368,"note":"Value kept but may cause issues"} 
[2026-07-15 18:35:57] 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-07-15 18:35:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784120560000,"timestamp_ms":1784120560000,"timestamp_seconds":1784120560,"priority":1,"record_length":96,"hex_timestamp":"0000019f65df4980"} 
[2026-07-15 18:35:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:35:57] 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-07-15 18:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 18:35:57] 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-07-15 18:35:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:35:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:35:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:35:57] local.INFO: Teltonika packet parsed successfully {"connection_id":135040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:35:57] local.INFO: Passing IMEI to GPS processor {"connection_id":135040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:35:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":135040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:35:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:35:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:35:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:35:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734857984001,"66":12765,"120":206,"28":31744,"24":0,"16":6227921622532096,"45":1738459855539386368},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:35:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:35:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:35:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734857984001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:35:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:35:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:35:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227921622532096,"km_value":6227921622532.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:35:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539386368,"description":"Unknown IO ID 45"} 
[2026-07-15 18:35:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734857984001,"power":12765,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539386368}} 
[2026-07-15 18:35:57] local.INFO: DEBUG: GPS processor result {"connection_id":135040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:35:57] local.INFO: GPS data processed {"connection_id":135040,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:35:57] local.INFO: Acknowledgment sent {"connection_id":135040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:36:00] local.INFO: TCP Data received {"connection_id":132644,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:36:00] local.INFO: Processing buffer {"connection_id":132644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:36:00] local.INFO: IMEI packet received {"connection_id":132644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":132644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:36:00] local.INFO: TCP Data received {"connection_id":132644,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:36:00] local.INFO: Processing buffer {"connection_id":132644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:36:00] local.INFO: IMEI packet received {"connection_id":132644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":132644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:36:05] local.INFO: TCP Data received {"connection_id":132644,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:36:05] local.INFO: Processing buffer {"connection_id":132644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:36:05] local.INFO: IMEI packet received {"connection_id":132644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":132644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:36:06] local.INFO: TCP Data received {"connection_id":132644,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65e154f0012d7f9b0005afb7d80008011b2e..."} 
[2026-07-15 18:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65e154f0012d7f9b0005afb7d80008011b2e..."} 
[2026-07-15 18:36:06] local.INFO: Processing buffer {"connection_id":132644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65e154f0012d7f9b0005afb7d80008011b2e..."} 
[2026-07-15 18:36:06] local.INFO: Packet analysis {"connection_id":132644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65e1"} 
[2026-07-15 18:36:06] local.INFO: Extracted packet for processing {"connection_id":132644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65e1"} 
[2026-07-15 18:36:06] local.INFO: GPS Element Parsed {"raw_longitude":763337472,"raw_latitude":95401944,"longitude_deg":76.3337472,"latitude_deg":9.5401944,"altitude":8,"angle":283,"satellites":46,"speed":15,"hex_longitude":"2d7f9b00","hex_latitude":"05afb7d8","is_valid_coordinates":true} 
[2026-07-15 18:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734897408001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347240379235434496,"note":"Value kept but may cause issues"} 
[2026-07-15 18:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195365301094946816,"note":"Value kept but may cause issues"} 
[2026-07-15 18:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784120694000,"timestamp_ms":1784120694000,"timestamp_seconds":1784120694,"priority":1,"record_length":96,"hex_timestamp":"0000019f65e154f0"} 
[2026-07-15 18:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 18:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:36:06] 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-07-15 18:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734897408001,"66":27800,"250":206,"85":12544,"24":15,"16":347240379235434496,"45":9195365301094946816},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734897408001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:36:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:36:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347240379235434496,"km_value":347240379235434.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195365301094946816,"description":"Unknown IO ID 45"} 
[2026-07-15 18:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734897408001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":15,"odometer":null,"unknown_45":9195365301094946816}} 
[2026-07-15 18:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":132644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:36:06] local.INFO: GPS data processed {"connection_id":132644,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:36:06] local.INFO: Acknowledgment sent {"connection_id":132644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:36:28] local.INFO: TCP Data received {"connection_id":135040,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65df9b88012d1820400721b3b8004b00d12d..."} 
[2026-07-15 18:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65df9b88012d1820400721b3b8004b00d12d..."} 
[2026-07-15 18:36:28] local.INFO: Processing buffer {"connection_id":135040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65df9b88012d1820400721b3b8004b00d12d..."} 
[2026-07-15 18:36:28] local.INFO: Packet analysis {"connection_id":135040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65df"} 
[2026-07-15 18:36:28] local.INFO: Extracted packet for processing {"connection_id":135040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65df"} 
[2026-07-15 18:36:28] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649208,"longitude_deg":75.655584,"latitude_deg":11.9649208,"altitude":75,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734863360001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227921622532096,"note":"Value kept but may cause issues"} 
[2026-07-15 18:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539386368,"note":"Value kept but may cause issues"} 
[2026-07-15 18:36: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-07-15 18:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784120581000,"timestamp_ms":1784120581000,"timestamp_seconds":1784120581,"priority":1,"record_length":96,"hex_timestamp":"0000019f65df9b88"} 
[2026-07-15 18:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:36:28] 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-07-15 18: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-15 18:36:28] 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-07-15 18: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-07-15 18:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":135040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":135040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":135040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734863360001,"66":11874,"120":206,"28":31744,"24":0,"16":6227921622532096,"45":1738459855539386368},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734863360001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:36:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:36:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227921622532096,"km_value":6227921622532.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539386368,"description":"Unknown IO ID 45"} 
[2026-07-15 18:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734863360001,"power":11874,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539386368}} 
[2026-07-15 18:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":135040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:36:28] local.INFO: GPS data processed {"connection_id":135040,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:36:28] local.INFO: Acknowledgment sent {"connection_id":135040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:36:37] local.INFO: TCP Data received {"connection_id":132644,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65e158d8012d7f998005afb8180008010e2d..."} 
[2026-07-15 18:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65e158d8012d7f998005afb8180008010e2d..."} 
[2026-07-15 18:36:37] local.INFO: Processing buffer {"connection_id":132644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65e158d8012d7f998005afb8180008010e2d..."} 
[2026-07-15 18:36:37] local.INFO: Packet analysis {"connection_id":132644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65e1"} 
[2026-07-15 18:36:37] local.INFO: Extracted packet for processing {"connection_id":132644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65e1"} 
[2026-07-15 18:36:37] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95402008,"longitude_deg":76.3337088,"latitude_deg":9.5402008,"altitude":8,"angle":270,"satellites":45,"speed":14,"hex_longitude":"2d7f9980","hex_latitude":"05afb818","is_valid_coordinates":true} 
[2026-07-15 18:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734897664001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347240396415303680,"note":"Value kept but may cause issues"} 
[2026-07-15 18:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194943088629897216,"note":"Value kept but may cause issues"} 
[2026-07-15 18:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784120695000,"timestamp_ms":1784120695000,"timestamp_seconds":1784120695,"priority":1,"record_length":96,"hex_timestamp":"0000019f65e158d8"} 
[2026-07-15 18:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 18:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:36:37] 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-07-15 18:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734897664001,"66":27821,"250":206,"85":12544,"24":14,"16":347240396415303680,"45":9194943088629897216},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734897664001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:36:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:36:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347240396415303680,"km_value":347240396415303.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194943088629897216,"description":"Unknown IO ID 45"} 
[2026-07-15 18:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734897664001,"power":27821,"unknown_250":206,"unknown_85":12544,"ignition":14,"odometer":null,"unknown_45":9194943088629897216}} 
[2026-07-15 18:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":132644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:36:37] local.INFO: GPS data processed {"connection_id":132644,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:36:37] local.INFO: Acknowledgment sent {"connection_id":132644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:36:50] local.INFO: TCP Data received {"connection_id":132824,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:36:50] local.INFO: Processing buffer {"connection_id":132824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:36:50] local.INFO: IMEI packet received {"connection_id":132824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":132824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:36:55] local.INFO: TCP Data received {"connection_id":132824,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:36:55] local.INFO: Processing buffer {"connection_id":132824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:36:55] local.INFO: IMEI packet received {"connection_id":132824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":132824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:36:57] local.INFO: TCP Data received {"connection_id":132824,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65dfed90012d1820400721b3b8004b00d12a..."} 
[2026-07-15 18:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65dfed90012d1820400721b3b8004b00d12a..."} 
[2026-07-15 18:36:57] local.INFO: Processing buffer {"connection_id":132824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65dfed90012d1820400721b3b8004b00d12a..."} 
[2026-07-15 18:36:57] local.INFO: Packet analysis {"connection_id":132824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65df"} 
[2026-07-15 18:36:57] local.INFO: Extracted packet for processing {"connection_id":132824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65df"} 
[2026-07-15 18:36:57] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649208,"longitude_deg":75.655584,"latitude_deg":11.9649208,"altitude":75,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-07-15 18:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:36:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734868736001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:36:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227921622532096,"note":"Value kept but may cause issues"} 
[2026-07-15 18:36:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539386368,"note":"Value kept but may cause issues"} 
[2026-07-15 18:36:57] 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-07-15 18:36:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784120602000,"timestamp_ms":1784120602000,"timestamp_seconds":1784120602,"priority":1,"record_length":96,"hex_timestamp":"0000019f65dfed90"} 
[2026-07-15 18:36:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:36:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-15 18:36:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1310,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:36:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:36:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:36:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:36:57] local.INFO: Teltonika packet parsed successfully {"connection_id":132824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:36:57] local.INFO: Passing IMEI to GPS processor {"connection_id":132824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:36:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":132824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:36:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:36:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:36:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:36:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734868736001,"66":12711,"120":206,"28":31744,"24":0,"16":6227921622532096,"45":1738459855539386368},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:36:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:36:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:36:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734868736001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:36:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:36:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:36:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227921622532096,"km_value":6227921622532.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:36:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539386368,"description":"Unknown IO ID 45"} 
[2026-07-15 18:36:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734868736001,"power":12711,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539386368}} 
[2026-07-15 18:36:57] local.INFO: DEBUG: GPS processor result {"connection_id":132824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:36:57] local.INFO: GPS data processed {"connection_id":132824,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:36:57] local.INFO: Acknowledgment sent {"connection_id":132824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:37:00] local.INFO: TCP Data received {"connection_id":133678,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:37:00] local.INFO: Processing buffer {"connection_id":133678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:37:00] local.INFO: IMEI packet received {"connection_id":133678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":133678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:37:04] local.INFO: TCP Data received {"connection_id":133678,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:37:04] local.INFO: Processing buffer {"connection_id":133678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:37:04] local.INFO: IMEI packet received {"connection_id":133678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":133678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:37:05] local.INFO: TCP Data received {"connection_id":133678,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:37:05] local.INFO: Processing buffer {"connection_id":133678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:37:05] local.INFO: IMEI packet received {"connection_id":133678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":133678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:37:06] local.INFO: TCP Data received {"connection_id":133678,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65e1a6f8012d7f750005afb8c0000801142d..."} 
[2026-07-15 18:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65e1a6f8012d7f750005afb8c0000801142d..."} 
[2026-07-15 18:37:06] local.INFO: Processing buffer {"connection_id":133678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65e1a6f8012d7f750005afb8c0000801142d..."} 
[2026-07-15 18:37:06] local.INFO: Packet analysis {"connection_id":133678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65e1"} 
[2026-07-15 18:37:06] local.INFO: Extracted packet for processing {"connection_id":133678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65e1"} 
[2026-07-15 18:37:06] local.INFO: GPS Element Parsed {"raw_longitude":763327744,"raw_latitude":95402176,"longitude_deg":76.3327744,"latitude_deg":9.5402176,"altitude":8,"angle":276,"satellites":45,"speed":29,"hex_longitude":"2d7f7500","hex_latitude":"05afb8c0","is_valid_coordinates":true} 
[2026-07-15 18:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734897920001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347240847386869760,"note":"Value kept but may cause issues"} 
[2026-07-15 18:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876164847616,"note":"Value kept but may cause issues"} 
[2026-07-15 18:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784120715000,"timestamp_ms":1784120715000,"timestamp_seconds":1784120715,"priority":1,"record_length":96,"hex_timestamp":"0000019f65e1a6f8"} 
[2026-07-15 18:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 18:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:37:06] 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-07-15 18:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734897920001,"66":27767,"250":206,"85":12544,"24":29,"16":347240847386869760,"45":9194520876164847616},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-15 18:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734897920001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:37:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-15 18:37:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347240847386869760,"km_value":347240847386869.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876164847616,"description":"Unknown IO ID 45"} 
[2026-07-15 18:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734897920001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":29,"odometer":null,"unknown_45":9194520876164847616}} 
[2026-07-15 18:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":133678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:37:06] local.INFO: GPS data processed {"connection_id":133678,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:37:06] local.INFO: Acknowledgment sent {"connection_id":133678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:37:29] local.INFO: TCP Data received {"connection_id":132824,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65e03f98012d1820400721b3b8004b00d12b..."} 
[2026-07-15 18:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65e03f98012d1820400721b3b8004b00d12b..."} 
[2026-07-15 18:37:29] local.INFO: Processing buffer {"connection_id":132824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65e03f98012d1820400721b3b8004b00d12b..."} 
[2026-07-15 18:37:29] local.INFO: Packet analysis {"connection_id":132824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65e0"} 
[2026-07-15 18:37:29] local.INFO: Extracted packet for processing {"connection_id":132824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65e0"} 
[2026-07-15 18:37:29] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649208,"longitude_deg":75.655584,"latitude_deg":11.9649208,"altitude":75,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734874112001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227921622532096,"note":"Value kept but may cause issues"} 
[2026-07-15 18:37:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539386368,"note":"Value kept but may cause issues"} 
[2026-07-15 18:37:29] 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-07-15 18:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784120623000,"timestamp_ms":1784120623000,"timestamp_seconds":1784120623,"priority":1,"record_length":96,"hex_timestamp":"0000019f65e03f98"} 
[2026-07-15 18:37:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:37:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-15 18:37:29] 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-07-15 18: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-07-15 18:37:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":132824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":132824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":132824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:37:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734874112001,"66":12645,"120":206,"28":31744,"24":0,"16":6227921622532096,"45":1738459855539386368},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734874112001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:37:29] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:37:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227921622532096,"km_value":6227921622532.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:37:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539386368,"description":"Unknown IO ID 45"} 
[2026-07-15 18:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734874112001,"power":12645,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539386368}} 
[2026-07-15 18:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":132824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:37:29] local.INFO: GPS data processed {"connection_id":132824,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:37:29] local.INFO: Acknowledgment sent {"connection_id":132824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:37:36] local.INFO: TCP Data received {"connection_id":133678,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65e30a70012d7f1cc005af73c80007012a2d..."} 
[2026-07-15 18:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65e30a70012d7f1cc005af73c80007012a2d..."} 
[2026-07-15 18:37:36] local.INFO: Processing buffer {"connection_id":133678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65e30a70012d7f1cc005af73c80007012a2d..."} 
[2026-07-15 18:37:36] local.INFO: Packet analysis {"connection_id":133678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65e3"} 
[2026-07-15 18:37:36] local.INFO: Extracted packet for processing {"connection_id":133678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65e3"} 
[2026-07-15 18:37:36] local.INFO: GPS Element Parsed {"raw_longitude":763305152,"raw_latitude":95384520,"longitude_deg":76.3305152,"latitude_deg":9.538452,"altitude":7,"angle":298,"satellites":45,"speed":32,"hex_longitude":"2d7f1cc0","hex_latitude":"05af73c8","is_valid_coordinates":true} 
[2026-07-15 18:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734925824001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347243274043392000,"note":"Value kept but may cause issues"} 
[2026-07-15 18:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9160814247699025920,"note":"Value kept but may cause issues"} 
[2026-07-15 18:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784120806000,"timestamp_ms":1784120806000,"timestamp_seconds":1784120806,"priority":1,"record_length":96,"hex_timestamp":"0000019f65e30a70"} 
[2026-07-15 18:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 18:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":133678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":133678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":133678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734925824001,"66":27800,"28":206,"85":12544,"24":32,"16":347243274043392000,"45":9160814247699025920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-15 18:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734925824001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:37:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-15 18:37:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347243274043392000,"km_value":347243274043392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9160814247699025920,"description":"Unknown IO ID 45"} 
[2026-07-15 18:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734925824001,"power":27800,"unknown_28":206,"unknown_85":12544,"ignition":32,"odometer":null,"unknown_45":9160814247699025920}} 
[2026-07-15 18:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":133678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:37:37] local.INFO: GPS data processed {"connection_id":133678,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:37:37] local.INFO: Acknowledgment sent {"connection_id":133678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:37:51] local.INFO: TCP Data received {"connection_id":132646,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:37:51] local.INFO: Processing buffer {"connection_id":132646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:37:51] local.INFO: IMEI packet received {"connection_id":132646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":132646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:37:55] local.INFO: TCP Data received {"connection_id":132646,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:37:55] local.INFO: Processing buffer {"connection_id":132646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:37:55] local.INFO: IMEI packet received {"connection_id":132646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":132646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:38:00] local.INFO: TCP Data received {"connection_id":132646,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:38:00] local.INFO: Processing buffer {"connection_id":132646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:38:00] local.INFO: IMEI packet received {"connection_id":132646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":132646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:38:01] local.INFO: TCP Data received {"connection_id":132646,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65e091a0012d1820400721b3b8004b00d12c..."} 
[2026-07-15 18:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65e091a0012d1820400721b3b8004b00d12c..."} 
[2026-07-15 18:38:01] local.INFO: Processing buffer {"connection_id":132646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65e091a0012d1820400721b3b8004b00d12c..."} 
[2026-07-15 18:38:01] local.INFO: Packet analysis {"connection_id":132646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65e0"} 
[2026-07-15 18:38:01] local.INFO: Extracted packet for processing {"connection_id":132646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65e0"} 
[2026-07-15 18:38:01] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649208,"longitude_deg":75.655584,"latitude_deg":11.9649208,"altitude":75,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-07-15 18:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734879488001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227921622532096,"note":"Value kept but may cause issues"} 
[2026-07-15 18:38:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539386368,"note":"Value kept but may cause issues"} 
[2026-07-15 18:38:01] 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-07-15 18:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784120644000,"timestamp_ms":1784120644000,"timestamp_seconds":1784120644,"priority":1,"record_length":96,"hex_timestamp":"0000019f65e091a0"} 
[2026-07-15 18:38:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:38:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-15 18:38:01] 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-07-15 18:38:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:38:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":132646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":132646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":132646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:38:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734879488001,"66":12678,"120":206,"28":31744,"24":0,"16":6227921622532096,"45":1738459855539386368},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734879488001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:38:01] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:38:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227921622532096,"km_value":6227921622532.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:38:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539386368,"description":"Unknown IO ID 45"} 
[2026-07-15 18:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734879488001,"power":12678,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539386368}} 
[2026-07-15 18:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":132646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:38:01] local.INFO: GPS data processed {"connection_id":132646,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:38:01] local.INFO: Acknowledgment sent {"connection_id":132646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:38:03] local.INFO: TCP Data received {"connection_id":133679,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:38:03] local.INFO: Processing buffer {"connection_id":133679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:38:03] local.INFO: IMEI packet received {"connection_id":133679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":133679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:38:05] local.INFO: TCP Data received {"connection_id":133679,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:38:05] local.INFO: Processing buffer {"connection_id":133679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:38:05] local.INFO: IMEI packet received {"connection_id":133679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":133679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:38:06] local.INFO: TCP Data received {"connection_id":132646,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65e0e3a8012d1820400721b3b8004b00d12b..."} 
[2026-07-15 18:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65e0e3a8012d1820400721b3b8004b00d12b..."} 
[2026-07-15 18:38:06] local.INFO: Processing buffer {"connection_id":132646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65e0e3a8012d1820400721b3b8004b00d12b..."} 
[2026-07-15 18:38:06] local.INFO: Packet analysis {"connection_id":132646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65e0"} 
[2026-07-15 18:38:06] local.INFO: Extracted packet for processing {"connection_id":132646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65e0"} 
[2026-07-15 18:38:06] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649208,"longitude_deg":75.655584,"latitude_deg":11.9649208,"altitude":75,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-07-15 18:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734884864001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227921622532096,"note":"Value kept but may cause issues"} 
[2026-07-15 18:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539386368,"note":"Value kept but may cause issues"} 
[2026-07-15 18:38:06] 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-07-15 18:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784120665000,"timestamp_ms":1784120665000,"timestamp_seconds":1784120665,"priority":1,"record_length":96,"hex_timestamp":"0000019f65e0e3a8"} 
[2026-07-15 18:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-15 18:38:06] 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-07-15 18:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734884864001,"66":12602,"120":206,"28":31744,"24":0,"16":6227921622532096,"45":1738459855539386368},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734884864001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:38:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:38:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227921622532096,"km_value":6227921622532.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539386368,"description":"Unknown IO ID 45"} 
[2026-07-15 18:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734884864001,"power":12602,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539386368}} 
[2026-07-15 18:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":132646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:38:06] local.INFO: GPS data processed {"connection_id":132646,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:38:06] local.INFO: Acknowledgment sent {"connection_id":132646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:38:06] local.INFO: TCP Data received {"connection_id":133679,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:38:06] local.INFO: Processing buffer {"connection_id":133679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:38:06] local.INFO: IMEI packet received {"connection_id":133679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":133679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:38:07] local.INFO: TCP Data received {"connection_id":133679,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65e31628012d7f144005af77080007011a2d..."} 
[2026-07-15 18:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65e31628012d7f144005af77080007011a2d..."} 
[2026-07-15 18:38:07] local.INFO: Processing buffer {"connection_id":133679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65e31628012d7f144005af77080007011a2d..."} 
[2026-07-15 18:38:07] local.INFO: Packet analysis {"connection_id":133679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65e3"} 
[2026-07-15 18:38:07] local.INFO: Extracted packet for processing {"connection_id":133679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65e3"} 
[2026-07-15 18:38:07] local.INFO: GPS Element Parsed {"raw_longitude":763302976,"raw_latitude":95385352,"longitude_deg":76.3302976,"latitude_deg":9.5385352,"altitude":7,"angle":282,"satellites":45,"speed":27,"hex_longitude":"2d7f1440","hex_latitude":"05af7708","is_valid_coordinates":true} 
[2026-07-15 18:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734926336001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347243385712541696,"note":"Value kept but may cause issues"} 
[2026-07-15 18:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9159406872815716352,"note":"Value kept but may cause issues"} 
[2026-07-15 18:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784120809000,"timestamp_ms":1784120809000,"timestamp_seconds":1784120809,"priority":1,"record_length":96,"hex_timestamp":"0000019f65e31628"} 
[2026-07-15 18:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 18:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734926336001,"66":27865,"28":206,"85":12544,"24":27,"16":347243385712541696,"45":9159406872815716352},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-15 18:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734926336001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:38:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-15 18:38:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347243385712541696,"km_value":347243385712541.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9159406872815716352,"description":"Unknown IO ID 45"} 
[2026-07-15 18:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734926336001,"power":27865,"unknown_28":206,"unknown_85":12544,"ignition":27,"odometer":null,"unknown_45":9159406872815716352}} 
[2026-07-15 18:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":133679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:38:07] local.INFO: GPS data processed {"connection_id":133679,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:38:07] local.INFO: Acknowledgment sent {"connection_id":133679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:38:38] local.INFO: TCP Data received {"connection_id":133679,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65e33568012d7f04c005af79e80008010d2d..."} 
[2026-07-15 18:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65e33568012d7f04c005af79e80008010d2d..."} 
[2026-07-15 18:38:38] local.INFO: Processing buffer {"connection_id":133679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65e33568012d7f04c005af79e80008010d2d..."} 
[2026-07-15 18:38:38] local.INFO: Packet analysis {"connection_id":133679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65e3"} 
[2026-07-15 18:38:38] local.INFO: Extracted packet for processing {"connection_id":133679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65e3"} 
[2026-07-15 18:38:38] local.INFO: GPS Element Parsed {"raw_longitude":763299008,"raw_latitude":95386088,"longitude_deg":76.3299008,"latitude_deg":9.5386088,"altitude":8,"angle":269,"satellites":45,"speed":23,"hex_longitude":"2d7f04c0","hex_latitude":"05af79e8","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734927104001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347243578986070016,"note":"Value kept but may cause issues"} 
[2026-07-15 18:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9157014335513888768,"note":"Value kept but may cause issues"} 
[2026-07-15 18:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784120817000,"timestamp_ms":1784120817000,"timestamp_seconds":1784120817,"priority":1,"record_length":96,"hex_timestamp":"0000019f65e33568"} 
[2026-07-15 18:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-15 18:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18: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-07-15 18:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734927104001,"66":27843,"28":206,"85":12544,"24":23,"16":347243578986070016,"45":9157014335513888768},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-15 18:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734927104001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:38:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-15 18:38:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347243578986070016,"km_value":347243578986070.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9157014335513888768,"description":"Unknown IO ID 45"} 
[2026-07-15 18:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734927104001,"power":27843,"unknown_28":206,"unknown_85":12544,"ignition":23,"odometer":null,"unknown_45":9157014335513888768}} 
[2026-07-15 18:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":133679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:38:38] local.INFO: GPS data processed {"connection_id":133679,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:38:38] local.INFO: Acknowledgment sent {"connection_id":133679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:38:50] local.INFO: TCP Data received {"connection_id":132647,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:38:50] local.INFO: Processing buffer {"connection_id":132647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:38:50] local.INFO: IMEI packet received {"connection_id":132647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":132647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:38:55] local.INFO: TCP Data received {"connection_id":132647,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:38:55] local.INFO: Processing buffer {"connection_id":132647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:38:55] local.INFO: IMEI packet received {"connection_id":132647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":132647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:38:56] local.INFO: TCP Data received {"connection_id":132647,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65e135b0012d1820400721b3b8004b00d129..."} 
[2026-07-15 18:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65e135b0012d1820400721b3b8004b00d129..."} 
[2026-07-15 18:38:56] local.INFO: Processing buffer {"connection_id":132647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65e135b0012d1820400721b3b8004b00d129..."} 
[2026-07-15 18:38:56] local.INFO: Packet analysis {"connection_id":132647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65e1"} 
[2026-07-15 18:38:56] local.INFO: Extracted packet for processing {"connection_id":132647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65e1"} 
[2026-07-15 18:38:56] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649208,"longitude_deg":75.655584,"latitude_deg":11.9649208,"altitude":75,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-07-15 18:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734890240001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227921622532096,"note":"Value kept but may cause issues"} 
[2026-07-15 18:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539386368,"note":"Value kept but may cause issues"} 
[2026-07-15 18:38: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-07-15 18:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784120686000,"timestamp_ms":1784120686000,"timestamp_seconds":1784120686,"priority":1,"record_length":96,"hex_timestamp":"0000019f65e135b0"} 
[2026-07-15 18:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:38:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-15 18:38:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:38:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734890240001,"66":12667,"120":206,"28":31744,"24":0,"16":6227921622532096,"45":1738459855539386368},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734890240001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:38:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:38:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227921622532096,"km_value":6227921622532.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539386368,"description":"Unknown IO ID 45"} 
[2026-07-15 18:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734890240001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539386368}} 
[2026-07-15 18:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":132647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:38:56] local.INFO: GPS data processed {"connection_id":132647,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:38:56] local.INFO: Acknowledgment sent {"connection_id":132647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:38:57] local.INFO: TCP Data received {"connection_id":132648,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:38:57] local.INFO: Processing buffer {"connection_id":132648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:38:57] local.INFO: IMEI packet received {"connection_id":132648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":132648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:38:58] local.INFO: TCP Data received {"connection_id":132648,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:38:58] local.INFO: Processing buffer {"connection_id":132648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:38:58] local.INFO: IMEI packet received {"connection_id":132648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":132648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:39:00] local.INFO: TCP Data received {"connection_id":132648,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:39:00] local.INFO: Processing buffer {"connection_id":132648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:39:00] local.INFO: IMEI packet received {"connection_id":132648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":132648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:39:05] local.INFO: TCP Data received {"connection_id":132648,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:39:05] local.INFO: Processing buffer {"connection_id":132648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:39:05] local.INFO: IMEI packet received {"connection_id":132648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":132648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:39:06] local.INFO: TCP Data received {"connection_id":132648,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65e36830012d7ee14005af7b40000801122d..."} 
[2026-07-15 18:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65e36830012d7ee14005af7b40000801122d..."} 
[2026-07-15 18:39:06] local.INFO: Processing buffer {"connection_id":132648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65e36830012d7ee14005af7b40000801122d..."} 
[2026-07-15 18:39:06] local.INFO: Packet analysis {"connection_id":132648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65e3"} 
[2026-07-15 18:39:06] local.INFO: Extracted packet for processing {"connection_id":132648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65e3"} 
[2026-07-15 18:39:06] local.INFO: GPS Element Parsed {"raw_longitude":763289920,"raw_latitude":95386432,"longitude_deg":76.328992,"latitude_deg":9.5386432,"altitude":8,"angle":274,"satellites":45,"speed":26,"hex_longitude":"2d7ee140","hex_latitude":"05af7b40","is_valid_coordinates":true} 
[2026-07-15 18:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734929152001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347244012777766912,"note":"Value kept but may cause issues"} 
[2026-07-15 18:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9152651473375062016,"note":"Value kept but may cause issues"} 
[2026-07-15 18:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784120830000,"timestamp_ms":1784120830000,"timestamp_seconds":1784120830,"priority":1,"record_length":96,"hex_timestamp":"0000019f65e36830"} 
[2026-07-15 18:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-15 18:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:39:06] 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-07-15 18:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734929152001,"66":27626,"27":206,"85":12544,"24":26,"16":347244012777766912,"45":9152651473375062016},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 18:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734929152001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:39:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 18:39:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347244012777766912,"km_value":347244012777766.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9152651473375062016,"description":"Unknown IO ID 45"} 
[2026-07-15 18:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734929152001,"power":27626,"unknown_27":206,"unknown_85":12544,"ignition":26,"odometer":null,"unknown_45":9152651473375062016}} 
[2026-07-15 18:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":132648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:39:06] local.INFO: GPS data processed {"connection_id":132648,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:39:06] local.INFO: Acknowledgment sent {"connection_id":132648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:39:28] local.INFO: TCP Data received {"connection_id":132647,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65e187b8012d1820400721b3b8004b00d12c..."} 
[2026-07-15 18:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65e187b8012d1820400721b3b8004b00d12c..."} 
[2026-07-15 18:39:28] local.INFO: Processing buffer {"connection_id":132647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65e187b8012d1820400721b3b8004b00d12c..."} 
[2026-07-15 18:39:28] local.INFO: Packet analysis {"connection_id":132647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65e1"} 
[2026-07-15 18:39:28] local.INFO: Extracted packet for processing {"connection_id":132647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65e1"} 
[2026-07-15 18:39:28] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649208,"longitude_deg":75.655584,"latitude_deg":11.9649208,"altitude":75,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734895616001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227921622532096,"note":"Value kept but may cause issues"} 
[2026-07-15 18:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539386368,"note":"Value kept but may cause issues"} 
[2026-07-15 18:39: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-07-15 18:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784120707000,"timestamp_ms":1784120707000,"timestamp_seconds":1784120707,"priority":1,"record_length":96,"hex_timestamp":"0000019f65e187b8"} 
[2026-07-15 18:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-15 18:39:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18: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-07-15 18:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734895616001,"66":12461,"120":206,"28":31744,"24":0,"16":6227921622532096,"45":1738459855539386368},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734895616001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:39:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:39:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227921622532096,"km_value":6227921622532.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539386368,"description":"Unknown IO ID 45"} 
[2026-07-15 18:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734895616001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539386368}} 
[2026-07-15 18:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":132647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:39:28] local.INFO: GPS data processed {"connection_id":132647,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:39:28] local.INFO: Acknowledgment sent {"connection_id":132647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:39:37] local.INFO: TCP Data received {"connection_id":132648,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65e3a2c8012d7ebe0005af7b600009010a2d..."} 
[2026-07-15 18:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65e3a2c8012d7ebe0005af7b600009010a2d..."} 
[2026-07-15 18:39:37] local.INFO: Processing buffer {"connection_id":132648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65e3a2c8012d7ebe0005af7b600009010a2d..."} 
[2026-07-15 18:39:37] local.INFO: Packet analysis {"connection_id":132648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65e3"} 
[2026-07-15 18:39:37] local.INFO: Extracted packet for processing {"connection_id":132648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65e3"} 
[2026-07-15 18:39:37] local.INFO: GPS Element Parsed {"raw_longitude":763280896,"raw_latitude":95386464,"longitude_deg":76.3280896,"latitude_deg":9.5386464,"altitude":9,"angle":266,"satellites":45,"speed":12,"hex_longitude":"2d7ebe00","hex_latitude":"05af7b60","is_valid_coordinates":true} 
[2026-07-15 18:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734932480001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347244446569463808,"note":"Value kept but may cause issues"} 
[2026-07-15 18:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9142659111701921792,"note":"Value kept but may cause issues"} 
[2026-07-15 18:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784120845000,"timestamp_ms":1784120845000,"timestamp_seconds":1784120845,"priority":1,"record_length":96,"hex_timestamp":"0000019f65e3a2c8"} 
[2026-07-15 18:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-15 18:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:39:37] 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-07-15 18:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734932480001,"66":27604,"27":206,"85":12544,"24":12,"16":347244446569463808,"45":9142659111701921792},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-15 18:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734932480001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:39:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-15 18:39:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347244446569463808,"km_value":347244446569463.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9142659111701921792,"description":"Unknown IO ID 45"} 
[2026-07-15 18:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734932480001,"power":27604,"unknown_27":206,"unknown_85":12544,"ignition":12,"odometer":null,"unknown_45":9142659111701921792}} 
[2026-07-15 18:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":132648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:39:37] local.INFO: GPS data processed {"connection_id":132648,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:39:37] local.INFO: Acknowledgment sent {"connection_id":132648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:39:51] local.INFO: TCP Data received {"connection_id":135041,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:39:51] local.INFO: Processing buffer {"connection_id":135041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:39:51] local.INFO: IMEI packet received {"connection_id":135041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":135041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:39:55] local.INFO: TCP Data received {"connection_id":135041,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:39:55] local.INFO: Processing buffer {"connection_id":135041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:39:55] local.INFO: IMEI packet received {"connection_id":135041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":135041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:39:56] local.INFO: TCP Data received {"connection_id":135041,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65e1d9c0012d1820400721b3b8004b00d128..."} 
[2026-07-15 18:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65e1d9c0012d1820400721b3b8004b00d128..."} 
[2026-07-15 18:39:56] local.INFO: Processing buffer {"connection_id":135041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65e1d9c0012d1820400721b3b8004b00d128..."} 
[2026-07-15 18:39:56] local.INFO: Packet analysis {"connection_id":135041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65e1"} 
[2026-07-15 18:39:56] local.INFO: Extracted packet for processing {"connection_id":135041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65e1"} 
[2026-07-15 18:39:56] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649208,"longitude_deg":75.655584,"latitude_deg":11.9649208,"altitude":75,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-07-15 18:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734900992001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227921622532096,"note":"Value kept but may cause issues"} 
[2026-07-15 18:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539386368,"note":"Value kept but may cause issues"} 
[2026-07-15 18:39: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-07-15 18:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784120728000,"timestamp_ms":1784120728000,"timestamp_seconds":1784120728,"priority":1,"record_length":96,"hex_timestamp":"0000019f65e1d9c0"} 
[2026-07-15 18:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:39:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 18:39:56] 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-07-15 18:39:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":135041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":135041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":135041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:39:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734900992001,"66":12591,"120":206,"28":31744,"24":0,"16":6227921622532096,"45":1738459855539386368},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734900992001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:39:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:39:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227921622532096,"km_value":6227921622532.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539386368,"description":"Unknown IO ID 45"} 
[2026-07-15 18:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734900992001,"power":12591,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539386368}} 
[2026-07-15 18:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":135041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:39:57] local.INFO: GPS data processed {"connection_id":135041,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:39:57] local.INFO: Acknowledgment sent {"connection_id":135041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:40:00] local.INFO: TCP Data received {"connection_id":133680,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:40:00] local.INFO: Processing buffer {"connection_id":133680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:40:00] local.INFO: IMEI packet received {"connection_id":133680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":133680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:40:03] local.INFO: TCP Data received {"connection_id":133680,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:40:03] local.INFO: Processing buffer {"connection_id":133680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:40:03] local.INFO: IMEI packet received {"connection_id":133680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":133680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:40:05] local.INFO: TCP Data received {"connection_id":133680,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:40:05] local.INFO: Processing buffer {"connection_id":133680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:40:05] local.INFO: IMEI packet received {"connection_id":133680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":133680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:40:06] local.INFO: TCP Data received {"connection_id":133680,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65e50e10012d7e974005afe508000900022b..."} 
[2026-07-15 18:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65e50e10012d7e974005afe508000900022b..."} 
[2026-07-15 18:40:06] local.INFO: Processing buffer {"connection_id":133680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65e50e10012d7e974005afe508000900022b..."} 
[2026-07-15 18:40:06] local.INFO: Packet analysis {"connection_id":133680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65e5"} 
[2026-07-15 18:40:06] local.INFO: Extracted packet for processing {"connection_id":133680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65e5"} 
[2026-07-15 18:40:06] local.INFO: GPS Element Parsed {"raw_longitude":763270976,"raw_latitude":95413512,"longitude_deg":76.3270976,"latitude_deg":9.5413512,"altitude":9,"angle":2,"satellites":43,"speed":39,"hex_longitude":"2d7e9740","hex_latitude":"05afe508","is_valid_coordinates":true} 
[2026-07-15 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-07-15 18:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734957568001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347246396484616192,"note":"Value kept but may cause issues"} 
[2026-07-15 18:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9121196644732252160,"note":"Value kept but may cause issues"} 
[2026-07-15 18:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784120938000,"timestamp_ms":1784120938000,"timestamp_seconds":1784120938,"priority":1,"record_length":96,"hex_timestamp":"0000019f65e50e10"} 
[2026-07-15 18:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 18:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:40:06] 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-07-15 18:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734957568001,"66":27800,"92":206,"85":12544,"24":39,"16":347246396484616192,"45":9121196644732252160},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-07-15 18:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734957568001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:40:06] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-15 18:40:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347246396484616192,"km_value":347246396484616.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9121196644732252160,"description":"Unknown IO ID 45"} 
[2026-07-15 18:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734957568001,"power":27800,"unknown_92":206,"unknown_85":12544,"ignition":39,"odometer":null,"unknown_45":9121196644732252160}} 
[2026-07-15 18:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":133680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:40:06] local.INFO: GPS data processed {"connection_id":133680,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:40:06] local.INFO: Acknowledgment sent {"connection_id":133680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:40:11] local.INFO: TCP Data received {"connection_id":133680,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65e53138012d7e990005b009b0000800022e..."} 
[2026-07-15 18:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65e53138012d7e990005b009b0000800022e..."} 
[2026-07-15 18:40:11] local.INFO: Processing buffer {"connection_id":133680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65e53138012d7e990005b009b0000800022e..."} 
[2026-07-15 18:40:11] local.INFO: Packet analysis {"connection_id":133680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65e5"} 
[2026-07-15 18:40:11] local.INFO: Extracted packet for processing {"connection_id":133680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65e5"} 
[2026-07-15 18:40:11] local.INFO: GPS Element Parsed {"raw_longitude":763271424,"raw_latitude":95422896,"longitude_deg":76.3271424,"latitude_deg":9.5422896,"altitude":8,"angle":2,"satellites":46,"speed":42,"hex_longitude":"2d7e9900","hex_latitude":"05b009b0","is_valid_coordinates":true} 
[2026-07-15 18:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734960128001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347246851751149568,"note":"Value kept but may cause issues"} 
[2026-07-15 18:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9121829963432265728,"note":"Value kept but may cause issues"} 
[2026-07-15 18:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784120947000,"timestamp_ms":1784120947000,"timestamp_seconds":1784120947,"priority":1,"record_length":96,"hex_timestamp":"0000019f65e53138"} 
[2026-07-15 18:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 18:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:40:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":133680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":133680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":133680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:40:11] 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-07-15 18:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734960128001,"66":27865,"92":206,"85":12544,"24":42,"16":347246851751149568,"45":9121829963432265728},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-07-15 18:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734960128001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:40:11] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-15 18:40:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347246851751149568,"km_value":347246851751149.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9121829963432265728,"description":"Unknown IO ID 45"} 
[2026-07-15 18:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734960128001,"power":27865,"unknown_92":206,"unknown_85":12544,"ignition":42,"odometer":null,"unknown_45":9121829963432265728}} 
[2026-07-15 18:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":133680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:40:11] local.INFO: GPS data processed {"connection_id":133680,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:40:11] local.INFO: Acknowledgment sent {"connection_id":133680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:40:28] local.INFO: TCP Data received {"connection_id":135041,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65e22bc8012d1820400721b3b8004b00d129..."} 
[2026-07-15 18:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65e22bc8012d1820400721b3b8004b00d129..."} 
[2026-07-15 18:40:28] local.INFO: Processing buffer {"connection_id":135041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65e22bc8012d1820400721b3b8004b00d129..."} 
[2026-07-15 18:40:28] local.INFO: Packet analysis {"connection_id":135041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65e2"} 
[2026-07-15 18:40:28] local.INFO: Extracted packet for processing {"connection_id":135041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65e2"} 
[2026-07-15 18:40:28] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649208,"longitude_deg":75.655584,"latitude_deg":11.9649208,"altitude":75,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734906368001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227921622532096,"note":"Value kept but may cause issues"} 
[2026-07-15 18:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539386368,"note":"Value kept but may cause issues"} 
[2026-07-15 18:40: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-07-15 18:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784120749000,"timestamp_ms":1784120749000,"timestamp_seconds":1784120749,"priority":1,"record_length":96,"hex_timestamp":"0000019f65e22bc8"} 
[2026-07-15 18:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:40:28] 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-07-15 18: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 18:40:28] 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-07-15 18: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-07-15 18:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":135041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":135041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":135041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734906368001,"66":12558,"120":206,"28":31744,"24":0,"16":6227921622532096,"45":1738459855539386368},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734906368001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:40:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:40:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227921622532096,"km_value":6227921622532.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539386368,"description":"Unknown IO ID 45"} 
[2026-07-15 18:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734906368001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539386368}} 
[2026-07-15 18:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":135041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:40:28] local.INFO: GPS data processed {"connection_id":135041,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:40:28] local.INFO: Acknowledgment sent {"connection_id":135041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:40:41] local.INFO: TCP Data received {"connection_id":133680,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65e55460012d7e99c005b030c8000700012d..."} 
[2026-07-15 18:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65e55460012d7e99c005b030c8000700012d..."} 
[2026-07-15 18:40:41] local.INFO: Processing buffer {"connection_id":133680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65e55460012d7e99c005b030c8000700012d..."} 
[2026-07-15 18:40:41] local.INFO: Packet analysis {"connection_id":133680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65e5"} 
[2026-07-15 18:40:41] local.INFO: Extracted packet for processing {"connection_id":133680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65e5"} 
[2026-07-15 18:40:41] local.INFO: GPS Element Parsed {"raw_longitude":763271616,"raw_latitude":95432904,"longitude_deg":76.3271616,"latitude_deg":9.5432904,"altitude":7,"angle":1,"satellites":45,"speed":45,"hex_longitude":"2d7e99c0","hex_latitude":"05b030c8","is_valid_coordinates":true} 
[2026-07-15 18:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734962432001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347247337082454016,"note":"Value kept but may cause issues"} 
[2026-07-15 18:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9122322544643911680,"note":"Value kept but may cause issues"} 
[2026-07-15 18:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784120956000,"timestamp_ms":1784120956000,"timestamp_seconds":1784120956,"priority":1,"record_length":96,"hex_timestamp":"0000019f65e55460"} 
[2026-07-15 18:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-15 18:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":133680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":133680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":133680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:40:41] 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-07-15 18:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734962432001,"66":27974,"92":206,"85":12544,"24":45,"16":347247337082454016,"45":9122322544643911680},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-07-15 18:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734962432001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:40:41] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-15 18:40:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347247337082454016,"km_value":347247337082454.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9122322544643911680,"description":"Unknown IO ID 45"} 
[2026-07-15 18:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734962432001,"power":27974,"unknown_92":206,"unknown_85":12544,"ignition":45,"odometer":null,"unknown_45":9122322544643911680}} 
[2026-07-15 18:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":133680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:40:41] local.INFO: GPS data processed {"connection_id":133680,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:40:41] local.INFO: Acknowledgment sent {"connection_id":133680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:40:50] local.INFO: TCP Data received {"connection_id":132829,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:40:50] local.INFO: Processing buffer {"connection_id":132829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:40:50] local.INFO: IMEI packet received {"connection_id":132829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":132829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:40:55] local.INFO: TCP Data received {"connection_id":132829,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:40:55] local.INFO: Processing buffer {"connection_id":132829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:40:55] local.INFO: IMEI packet received {"connection_id":132829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":132829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:40:56] local.INFO: TCP Data received {"connection_id":132829,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65e27dd0012d1820400721b3b8004b00d12b..."} 
[2026-07-15 18:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65e27dd0012d1820400721b3b8004b00d12b..."} 
[2026-07-15 18:40:56] local.INFO: Processing buffer {"connection_id":132829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65e27dd0012d1820400721b3b8004b00d12b..."} 
[2026-07-15 18:40:56] local.INFO: Packet analysis {"connection_id":132829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65e2"} 
[2026-07-15 18:40:56] local.INFO: Extracted packet for processing {"connection_id":132829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65e2"} 
[2026-07-15 18:40:56] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649208,"longitude_deg":75.655584,"latitude_deg":11.9649208,"altitude":75,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-07-15 18:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734911744001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227921622532096,"note":"Value kept but may cause issues"} 
[2026-07-15 18:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539386368,"note":"Value kept but may cause issues"} 
[2026-07-15 18:40: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-07-15 18:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784120770000,"timestamp_ms":1784120770000,"timestamp_seconds":1784120770,"priority":1,"record_length":96,"hex_timestamp":"0000019f65e27dd0"} 
[2026-07-15 18:40:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:40:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-15 18:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-07-15 18:40:56] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249382590517457848,"note":"Value kept but may cause issues"} 
[2026-07-15 18:40:56] local.WARNING: Large IO value detected {"io_id":101,"raw_value":3773016065,"note":"Value kept but may cause issues"} 
[2026-07-15 18:40:56] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3015180363,"note":"Value kept but may cause issues"} 
[2026-07-15 18:40:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-15 18:40:56] local.WARNING: Large IO value detected {"io_id":145,"raw_value":2684431640,"note":"Value kept but may cause issues"} 
[2026-07-15 18:40:56] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2248199655,"note":"Value kept but may cause issues"} 
[2026-07-15 18:40:56] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-07-15 18:40:56] local.WARNING: Large IO value detected {"io_id":76,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-15 18:40:56] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-07-15 18:40:56] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,120,28,24,241,158,16,32,159,217,45,64,179,75,40,10,66,135,44,53,1,240,123,101,33,4,113,205,145,184,239,49,2,22,7,231,76,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-15 18:40:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404549526868459520,"timestamp_seconds":5404549526868460.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 18:40:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734911744001,"66":12558,"120":206,"28":31744,"24":0,"16":6227921622532096,"45":1738459855539386368},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734911744001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:40:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:40:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227921622532096,"km_value":6227921622532.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539386368,"description":"Unknown IO ID 45"} 
[2026-07-15 18:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734911744001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539386368}} 
[2026-07-15 18:40:57] local.INFO: DEBUG: GPS processor result {"connection_id":132829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:40:57] local.INFO: GPS data processed {"connection_id":132829,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:40:57] local.INFO: Acknowledgment sent {"connection_id":132829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:40:59] local.INFO: TCP Data received {"connection_id":132828,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132828,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:40:59] local.INFO: Processing buffer {"connection_id":132828,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:40:59] local.INFO: IMEI packet received {"connection_id":132828,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 18:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":132828,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:41:00] local.INFO: TCP Data received {"connection_id":132830,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:41:00] local.INFO: Processing buffer {"connection_id":132830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:41:00] local.INFO: IMEI packet received {"connection_id":132830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":132830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:41:02] local.INFO: TCP Data received {"connection_id":132830,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:41:02] local.INFO: Processing buffer {"connection_id":132830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:41:02] local.INFO: IMEI packet received {"connection_id":132830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":132830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:41:05] local.INFO: TCP Data received {"connection_id":132830,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:41:05] local.INFO: Processing buffer {"connection_id":132830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:41:05] local.INFO: IMEI packet received {"connection_id":132830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":132830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:41:06] local.INFO: TCP Data received {"connection_id":132830,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65e573a0012d7e9b0005b055d0000700012e..."} 
[2026-07-15 18:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65e573a0012d7e9b0005b055d0000700012e..."} 
[2026-07-15 18:41:06] local.INFO: Processing buffer {"connection_id":132830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65e573a0012d7e9b0005b055d0000700012e..."} 
[2026-07-15 18:41:06] local.INFO: Packet analysis {"connection_id":132830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65e5"} 
[2026-07-15 18:41:06] local.INFO: Extracted packet for processing {"connection_id":132830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65e5"} 
[2026-07-15 18:41:06] local.INFO: GPS Element Parsed {"raw_longitude":763271936,"raw_latitude":95442384,"longitude_deg":76.3271936,"latitude_deg":9.5442384,"altitude":7,"angle":1,"satellites":46,"speed":48,"hex_longitude":"2d7e9b00","hex_latitude":"05b055d0","is_valid_coordinates":true} 
[2026-07-15 18:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734964736001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347247796643954688,"note":"Value kept but may cause issues"} 
[2026-07-15 18:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9122533650879006720,"note":"Value kept but may cause issues"} 
[2026-07-15 18:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784120964000,"timestamp_ms":1784120964000,"timestamp_seconds":1784120964,"priority":1,"record_length":96,"hex_timestamp":"0000019f65e573a0"} 
[2026-07-15 18:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-15 18:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:41:06] 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-07-15 18:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734964736001,"66":27876,"92":206,"85":12544,"24":48,"16":347247796643954688,"45":9122533650879006720},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-07-15 18:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734964736001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:41:06] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-15 18:41:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347247796643954688,"km_value":347247796643954.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9122533650879006720,"description":"Unknown IO ID 45"} 
[2026-07-15 18:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734964736001,"power":27876,"unknown_92":206,"unknown_85":12544,"ignition":48,"odometer":null,"unknown_45":9122533650879006720}} 
[2026-07-15 18:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":132830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:41:06] local.INFO: GPS data processed {"connection_id":132830,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:41:06] local.INFO: Acknowledgment sent {"connection_id":132830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:41:28] local.INFO: TCP Data received {"connection_id":132829,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65e60428012d1820400721b3b8004b00d129..."} 
[2026-07-15 18:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65e60428012d1820400721b3b8004b00d129..."} 
[2026-07-15 18:41:28] local.INFO: Processing buffer {"connection_id":132829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65e60428012d1820400721b3b8004b00d129..."} 
[2026-07-15 18:41:28] local.INFO: Packet analysis {"connection_id":132829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65e6"} 
[2026-07-15 18:41:28] local.INFO: Extracted packet for processing {"connection_id":132829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65e6"} 
[2026-07-15 18:41:28] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649208,"longitude_deg":75.655584,"latitude_deg":11.9649208,"altitude":75,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-07-15 18:41: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-07-15 18:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734970880001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227921622532096,"note":"Value kept but may cause issues"} 
[2026-07-15 18:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539386368,"note":"Value kept but may cause issues"} 
[2026-07-15 18:41: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-07-15 18:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784121001000,"timestamp_ms":1784121001000,"timestamp_seconds":1784121001,"priority":1,"record_length":96,"hex_timestamp":"0000019f65e60428"} 
[2026-07-15 18:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:41:28] 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-07-15 18:41: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-07-15 18:41: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-07-15 18:41: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-07-15 18:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734970880001,"66":12461,"120":206,"28":31744,"24":0,"16":6227921622532096,"45":1738459855539386368},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734970880001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:41:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:41:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227921622532096,"km_value":6227921622532.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539386368,"description":"Unknown IO ID 45"} 
[2026-07-15 18:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734970880001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539386368}} 
[2026-07-15 18:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":132829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:41:28] local.INFO: GPS data processed {"connection_id":132829,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:41:28] local.INFO: Acknowledgment sent {"connection_id":132829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:41:36] local.INFO: TCP Data received {"connection_id":135042,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135042,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:41:36] local.INFO: Processing buffer {"connection_id":135042,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:41:36] local.INFO: IMEI packet received {"connection_id":135042,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 18:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":135042,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:41:38] local.INFO: TCP Data received {"connection_id":132830,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65e592e0012d7e9b8005b07b88000700002e..."} 
[2026-07-15 18:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65e592e0012d7e9b8005b07b88000700002e..."} 
[2026-07-15 18:41:38] local.INFO: Processing buffer {"connection_id":132830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65e592e0012d7e9b8005b07b88000700002e..."} 
[2026-07-15 18:41:38] local.INFO: Packet analysis {"connection_id":132830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65e5"} 
[2026-07-15 18:41:38] local.INFO: Extracted packet for processing {"connection_id":132830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65e5"} 
[2026-07-15 18:41:38] local.INFO: GPS Element Parsed {"raw_longitude":763272064,"raw_latitude":95452040,"longitude_deg":76.3272064,"latitude_deg":9.545204,"altitude":7,"angle":0,"satellites":46,"speed":45,"hex_longitude":"2d7e9b80","hex_latitude":"05b07b88","is_valid_coordinates":true} 
[2026-07-15 18:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734966784001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347248264795389952,"note":"Value kept but may cause issues"} 
[2026-07-15 18:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9122885494602321920,"note":"Value kept but may cause issues"} 
[2026-07-15 18:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784120972000,"timestamp_ms":1784120972000,"timestamp_seconds":1784120972,"priority":1,"record_length":96,"hex_timestamp":"0000019f65e592e0"} 
[2026-07-15 18:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-15 18:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734966784001,"66":27843,"92":206,"85":12544,"24":45,"16":347248264795389952,"45":9122885494602321920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-07-15 18:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734966784001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:41:38] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-15 18:41:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347248264795389952,"km_value":347248264795389.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9122885494602321920,"description":"Unknown IO ID 45"} 
[2026-07-15 18:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734966784001,"power":27843,"unknown_92":206,"unknown_85":12544,"ignition":45,"odometer":null,"unknown_45":9122885494602321920}} 
[2026-07-15 18:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":132830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:41:38] local.INFO: GPS data processed {"connection_id":132830,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:41:38] local.INFO: Acknowledgment sent {"connection_id":132830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:41:50] local.INFO: TCP Data received {"connection_id":132649,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:41:50] local.INFO: Processing buffer {"connection_id":132649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:41:50] local.INFO: IMEI packet received {"connection_id":132649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":132649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:41:55] local.INFO: TCP Data received {"connection_id":132649,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:41:55] local.INFO: Processing buffer {"connection_id":132649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:41:55] local.INFO: IMEI packet received {"connection_id":132649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":132649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:41:56] local.INFO: TCP Data received {"connection_id":132649,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65e65630012d1820400721b3b8004b00d129..."} 
[2026-07-15 18:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65e65630012d1820400721b3b8004b00d129..."} 
[2026-07-15 18:41:56] local.INFO: Processing buffer {"connection_id":132649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65e65630012d1820400721b3b8004b00d129..."} 
[2026-07-15 18:41:56] local.INFO: Packet analysis {"connection_id":132649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65e6"} 
[2026-07-15 18:41:56] local.INFO: Extracted packet for processing {"connection_id":132649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65e6"} 
[2026-07-15 18:41:56] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649208,"longitude_deg":75.655584,"latitude_deg":11.9649208,"altitude":75,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-07-15 18:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734976256001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227921622532096,"note":"Value kept but may cause issues"} 
[2026-07-15 18:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539386368,"note":"Value kept but may cause issues"} 
[2026-07-15 18:41: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-07-15 18:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784121022000,"timestamp_ms":1784121022000,"timestamp_seconds":1784121022,"priority":1,"record_length":96,"hex_timestamp":"0000019f65e65630"} 
[2026-07-15 18:41:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:41:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 18:41:56] 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-07-15 18:41:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:41:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:41:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734976256001,"66":12406,"120":206,"28":31744,"24":0,"16":6227921622532096,"45":1738459855539386368},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734976256001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:41:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:41:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227921622532096,"km_value":6227921622532.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539386368,"description":"Unknown IO ID 45"} 
[2026-07-15 18:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734976256001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539386368}} 
[2026-07-15 18:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":132649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:41:57] local.INFO: GPS data processed {"connection_id":132649,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:41:57] local.INFO: Acknowledgment sent {"connection_id":132649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:42:00] local.INFO: TCP Data received {"connection_id":133681,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:42:00] local.INFO: Processing buffer {"connection_id":133681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:42:00] local.INFO: IMEI packet received {"connection_id":133681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":133681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:42:01] local.INFO: TCP Data received {"connection_id":133681,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:42:01] local.INFO: Processing buffer {"connection_id":133681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:42:01] local.INFO: IMEI packet received {"connection_id":133681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":133681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:42:05] local.INFO: TCP Data received {"connection_id":133681,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:42:05] local.INFO: Processing buffer {"connection_id":133681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:42:05] local.INFO: IMEI packet received {"connection_id":133681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":133681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:42:06] local.INFO: TCP Data received {"connection_id":133681,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65e6d718012d7eaf4005b1e9b0000700052d..."} 
[2026-07-15 18:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65e6d718012d7eaf4005b1e9b0000700052d..."} 
[2026-07-15 18:42:06] local.INFO: Processing buffer {"connection_id":133681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65e6d718012d7eaf4005b1e9b0000700052d..."} 
[2026-07-15 18:42:06] local.INFO: Packet analysis {"connection_id":133681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65e6"} 
[2026-07-15 18:42:06] local.INFO: Extracted packet for processing {"connection_id":133681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65e6"} 
[2026-07-15 18:42:06] local.INFO: GPS Element Parsed {"raw_longitude":763277120,"raw_latitude":95545776,"longitude_deg":76.327712,"latitude_deg":9.5545776,"altitude":7,"angle":5,"satellites":45,"speed":54,"hex_longitude":"2d7eaf40","hex_latitude":"05b1e9b0","is_valid_coordinates":true} 
[2026-07-15 18:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734988288001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347252821755691008,"note":"Value kept but may cause issues"} 
[2026-07-15 18:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127529831742074880,"note":"Value kept but may cause issues"} 
[2026-07-15 18:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784121055000,"timestamp_ms":1784121055000,"timestamp_seconds":1784121055,"priority":1,"record_length":96,"hex_timestamp":"0000019f65e6d718"} 
[2026-07-15 18:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 18:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:42:06] 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-07-15 18:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734988288001,"66":27604,"93":206,"85":12544,"24":54,"16":347252821755691008,"45":9127529831742074880},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-07-15 18:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734988288001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:42:06] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-07-15 18:42:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347252821755691008,"km_value":347252821755691.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127529831742074880,"description":"Unknown IO ID 45"} 
[2026-07-15 18:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734988288001,"power":27604,"unknown_93":206,"unknown_85":12544,"ignition":54,"odometer":null,"unknown_45":9127529831742074880}} 
[2026-07-15 18:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":133681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:42:06] local.INFO: GPS data processed {"connection_id":133681,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:42:06] local.INFO: Acknowledgment sent {"connection_id":133681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:42:28] local.INFO: TCP Data received {"connection_id":132649,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65e6a838012d181e400721b050004e00c72c..."} 
[2026-07-15 18:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65e6a838012d181e400721b050004e00c72c..."} 
[2026-07-15 18:42:28] local.INFO: Processing buffer {"connection_id":132649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65e6a838012d181e400721b050004e00c72c..."} 
[2026-07-15 18:42:28] local.INFO: Packet analysis {"connection_id":132649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65e6"} 
[2026-07-15 18:42:28] local.INFO: Extracted packet for processing {"connection_id":132649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65e6"} 
[2026-07-15 18:42:28] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648336,"longitude_deg":75.6555328,"latitude_deg":11.9648336,"altitude":78,"angle":199,"satellites":44,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734981632001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227977457106944,"note":"Value kept but may cause issues"} 
[2026-07-15 18:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539386368,"note":"Value kept but may cause issues"} 
[2026-07-15 18:42: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-07-15 18:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784121043000,"timestamp_ms":1784121043000,"timestamp_seconds":1784121043,"priority":1,"record_length":96,"hex_timestamp":"0000019f65e6a838"} 
[2026-07-15 18:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:42:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 18:42:28] 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-07-15 18: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-07-15 18:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734981632001,"66":12406,"120":206,"28":31744,"24":0,"16":6227977457106944,"45":1738459855539386368},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734981632001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:42:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:42:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227977457106944,"km_value":6227977457106.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539386368,"description":"Unknown IO ID 45"} 
[2026-07-15 18:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734981632001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539386368}} 
[2026-07-15 18:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":132649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:42:28] local.INFO: GPS data processed {"connection_id":132649,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:42:28] local.INFO: Acknowledgment sent {"connection_id":132649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:42:37] local.INFO: TCP Data received {"connection_id":133681,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65e6f270012d7eb34005b20e90000700052e..."} 
[2026-07-15 18:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65e6f270012d7eb34005b20e90000700052e..."} 
[2026-07-15 18:42:37] local.INFO: Processing buffer {"connection_id":133681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65e6f270012d7eb34005b20e90000700052e..."} 
[2026-07-15 18:42:37] local.INFO: Packet analysis {"connection_id":133681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65e6"} 
[2026-07-15 18:42:37] local.INFO: Extracted packet for processing {"connection_id":133681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65e6"} 
[2026-07-15 18:42:37] local.INFO: GPS Element Parsed {"raw_longitude":763278144,"raw_latitude":95555216,"longitude_deg":76.3278144,"latitude_deg":9.5555216,"altitude":7,"angle":5,"satellites":46,"speed":54,"hex_longitude":"2d7eb340","hex_latitude":"05b20e90","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734990080001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347253281317191680,"note":"Value kept but may cause issues"} 
[2026-07-15 18:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128585362907181056,"note":"Value kept but may cause issues"} 
[2026-07-15 18:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784121062000,"timestamp_ms":1784121062000,"timestamp_seconds":1784121062,"priority":1,"record_length":96,"hex_timestamp":"0000019f65e6f270"} 
[2026-07-15 18:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-15 18:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:42:37] 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-07-15 18:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734990080001,"66":27800,"58":206,"85":12544,"24":54,"16":347253281317191680,"45":9128585362907181056},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,85,24,16,45]} 
[2026-07-15 18:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734990080001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:42:37] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-15 18:42:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347253281317191680,"km_value":347253281317191.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128585362907181056,"description":"Unknown IO ID 45"} 
[2026-07-15 18:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734990080001,"power":27800,"unknown_58":206,"unknown_85":12544,"ignition":54,"odometer":null,"unknown_45":9128585362907181056}} 
[2026-07-15 18:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":133681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:42:37] local.INFO: GPS data processed {"connection_id":133681,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:42:37] local.INFO: Acknowledgment sent {"connection_id":133681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:42:50] local.INFO: TCP Data received {"connection_id":132832,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:42:50] local.INFO: Processing buffer {"connection_id":132832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:42:50] local.INFO: IMEI packet received {"connection_id":132832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":132832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:42:55] local.INFO: TCP Data received {"connection_id":132832,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:42:55] local.INFO: Processing buffer {"connection_id":132832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:42:55] local.INFO: IMEI packet received {"connection_id":132832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":132832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:42:56] local.INFO: TCP Data received {"connection_id":132832,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65e6fa40012d181e400721b050004e00c72b..."} 
[2026-07-15 18:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65e6fa40012d181e400721b050004e00c72b..."} 
[2026-07-15 18:42:56] local.INFO: Processing buffer {"connection_id":132832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65e6fa40012d181e400721b050004e00c72b..."} 
[2026-07-15 18:42:56] local.INFO: Packet analysis {"connection_id":132832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65e6"} 
[2026-07-15 18:42:56] local.INFO: Extracted packet for processing {"connection_id":132832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65e6"} 
[2026-07-15 18:42:56] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648336,"longitude_deg":75.6555328,"latitude_deg":11.9648336,"altitude":78,"angle":199,"satellites":43,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 18:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734987008001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227977457106944,"note":"Value kept but may cause issues"} 
[2026-07-15 18:42:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585741824,"note":"Value kept but may cause issues"} 
[2026-07-15 18:42: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-07-15 18:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784121064000,"timestamp_ms":1784121064000,"timestamp_seconds":1784121064,"priority":1,"record_length":96,"hex_timestamp":"0000019f65e6fa40"} 
[2026-07-15 18:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:42:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 18:42:56] 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-07-15 18:42:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:42:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734987008001,"66":12461,"120":206,"28":31744,"24":0,"16":6227977457106944,"45":1737896905585741824},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734987008001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:42:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:42:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227977457106944,"km_value":6227977457106.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:42:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585741824,"description":"Unknown IO ID 45"} 
[2026-07-15 18:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734987008001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585741824}} 
[2026-07-15 18:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":132832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:42:57] local.INFO: GPS data processed {"connection_id":132832,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:42:57] local.INFO: Acknowledgment sent {"connection_id":132832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:43:00] local.INFO: TCP Data received {"connection_id":135043,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:43:00] local.INFO: Processing buffer {"connection_id":135043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:43:00] local.INFO: IMEI packet received {"connection_id":135043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":135043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:43:05] local.INFO: TCP Data received {"connection_id":135043,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:43:05] local.INFO: Processing buffer {"connection_id":135043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:43:05] local.INFO: IMEI packet received {"connection_id":135043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":135043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:43:07] local.INFO: TCP Data received {"connection_id":135043,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65e70dc8012d7eb70005b23390000700052e..."} 
[2026-07-15 18:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65e70dc8012d7eb70005b23390000700052e..."} 
[2026-07-15 18:43:07] local.INFO: Processing buffer {"connection_id":135043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65e70dc8012d7eb70005b23390000700052e..."} 
[2026-07-15 18:43:07] local.INFO: Packet analysis {"connection_id":135043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65e7"} 
[2026-07-15 18:43:07] local.INFO: Extracted packet for processing {"connection_id":135043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65e7"} 
[2026-07-15 18:43:07] local.INFO: GPS Element Parsed {"raw_longitude":763279104,"raw_latitude":95564688,"longitude_deg":76.3279104,"latitude_deg":9.5564688,"altitude":7,"angle":5,"satellites":46,"speed":53,"hex_longitude":"2d7eb700","hex_latitude":"05b23390","is_valid_coordinates":true} 
[2026-07-15 18:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734991872001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347253740878692352,"note":"Value kept but may cause issues"} 
[2026-07-15 18:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129711262816440320,"note":"Value kept but may cause issues"} 
[2026-07-15 18:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784121069000,"timestamp_ms":1784121069000,"timestamp_seconds":1784121069,"priority":1,"record_length":96,"hex_timestamp":"0000019f65e70dc8"} 
[2026-07-15 18:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 18:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":135043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":135043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":135043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734991872001,"66":27789,"58":206,"85":12544,"24":53,"16":347253740878692352,"45":9129711262816440320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,85,24,16,45]} 
[2026-07-15 18:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734991872001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:43:07] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-15 18:43:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347253740878692352,"km_value":347253740878692.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129711262816440320,"description":"Unknown IO ID 45"} 
[2026-07-15 18:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734991872001,"power":27789,"unknown_58":206,"unknown_85":12544,"ignition":53,"odometer":null,"unknown_45":9129711262816440320}} 
[2026-07-15 18:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":135043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:43:07] local.INFO: GPS data processed {"connection_id":135043,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:43:07] local.INFO: Acknowledgment sent {"connection_id":135043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:43:28] local.INFO: TCP Data received {"connection_id":132832,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65e74c48012d181e400721b050004e00c72c..."} 
[2026-07-15 18:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65e74c48012d181e400721b050004e00c72c..."} 
[2026-07-15 18:43:28] local.INFO: Processing buffer {"connection_id":132832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65e74c48012d181e400721b050004e00c72c..."} 
[2026-07-15 18:43:28] local.INFO: Packet analysis {"connection_id":132832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65e7"} 
[2026-07-15 18:43:28] local.INFO: Extracted packet for processing {"connection_id":132832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65e7"} 
[2026-07-15 18:43:28] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648336,"longitude_deg":75.6555328,"latitude_deg":11.9648336,"altitude":78,"angle":199,"satellites":44,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 18:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734992384001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227977457106944,"note":"Value kept but may cause issues"} 
[2026-07-15 18:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585741824,"note":"Value kept but may cause issues"} 
[2026-07-15 18:43: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-07-15 18:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784121085000,"timestamp_ms":1784121085000,"timestamp_seconds":1784121085,"priority":1,"record_length":96,"hex_timestamp":"0000019f65e74c48"} 
[2026-07-15 18:43:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:43:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 18:43: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-07-15 18:43:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:43:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:43:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734992384001,"66":12461,"120":206,"28":31744,"24":0,"16":6227977457106944,"45":1737896905585741824},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734992384001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:43:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:43:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227977457106944,"km_value":6227977457106.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585741824,"description":"Unknown IO ID 45"} 
[2026-07-15 18:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734992384001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585741824}} 
[2026-07-15 18:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":132832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:43:28] local.INFO: GPS data processed {"connection_id":132832,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:43:28] local.INFO: Acknowledgment sent {"connection_id":132832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:43:34] local.INFO: TCP Data received {"connection_id":132650,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132650,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:43:34] local.INFO: Processing buffer {"connection_id":132650,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-15 18:43:34] local.INFO: IMEI packet received {"connection_id":132650,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-15 18:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":132650,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:43:38] local.INFO: TCP Data received {"connection_id":135043,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65e861a0012d7eb1c005b3ec88000901662e..."} 
[2026-07-15 18:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65e861a0012d7eb1c005b3ec88000901662e..."} 
[2026-07-15 18:43:38] local.INFO: Processing buffer {"connection_id":135043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65e861a0012d7eb1c005b3ec88000901662e..."} 
[2026-07-15 18:43:38] local.INFO: Packet analysis {"connection_id":135043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65e8"} 
[2026-07-15 18:43:38] local.INFO: Extracted packet for processing {"connection_id":135043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65e8"} 
[2026-07-15 18:43:38] local.INFO: GPS Element Parsed {"raw_longitude":763277760,"raw_latitude":95677576,"longitude_deg":76.327776,"latitude_deg":9.5677576,"altitude":9,"angle":358,"satellites":46,"speed":48,"hex_longitude":"2d7eb1c0","hex_latitude":"05b3ec88","is_valid_coordinates":true} 
[2026-07-15 18:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735013888001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347259216961994752,"note":"Value kept but may cause issues"} 
[2026-07-15 18:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129711262845323264,"note":"Value kept but may cause issues"} 
[2026-07-15 18:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784121156000,"timestamp_ms":1784121156000,"timestamp_seconds":1784121156,"priority":1,"record_length":96,"hex_timestamp":"0000019f65e861a0"} 
[2026-07-15 18:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 18:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":135043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":135043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":135043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735013888001,"66":27876,"57":206,"85":12544,"24":48,"16":347259216961994752,"45":9129711262845323264},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,85,24,16,45]} 
[2026-07-15 18:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735013888001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:43:38] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-07-15 18:43:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347259216961994752,"km_value":347259216961994.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129711262845323264,"description":"Unknown IO ID 45"} 
[2026-07-15 18:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735013888001,"power":27876,"unknown_57":206,"unknown_85":12544,"ignition":48,"odometer":null,"unknown_45":9129711262845323264}} 
[2026-07-15 18:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":135043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:43:38] local.INFO: GPS data processed {"connection_id":135043,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:43:38] local.INFO: Acknowledgment sent {"connection_id":135043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:43:55] local.INFO: TCP Data received {"connection_id":132651,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132651,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:43:55] local.INFO: Processing buffer {"connection_id":132651,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:43:55] local.INFO: IMEI packet received {"connection_id":132651,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":132651,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:44:00] local.INFO: TCP Data received {"connection_id":132651,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132651,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:44:00] local.INFO: Processing buffer {"connection_id":132651,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:44:00] local.INFO: IMEI packet received {"connection_id":132651,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":132651,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:44:00] local.INFO: TCP Data received {"connection_id":132652,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:44:00] local.INFO: Processing buffer {"connection_id":132652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:44:00] local.INFO: IMEI packet received {"connection_id":132652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":132652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:44:00] local.INFO: TCP Data received {"connection_id":132652,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:44:00] local.INFO: Processing buffer {"connection_id":132652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:44:00] local.INFO: IMEI packet received {"connection_id":132652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":132652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:44:01] local.INFO: TCP Data received {"connection_id":132651,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65e79e50012d181e400721b050004e00c72b..."} 
[2026-07-15 18:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65e79e50012d181e400721b050004e00c72b..."} 
[2026-07-15 18:44:01] local.INFO: Processing buffer {"connection_id":132651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65e79e50012d181e400721b050004e00c72b..."} 
[2026-07-15 18:44:01] local.INFO: Packet analysis {"connection_id":132651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65e7"} 
[2026-07-15 18:44:01] local.INFO: Extracted packet for processing {"connection_id":132651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65e7"} 
[2026-07-15 18:44:01] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648336,"longitude_deg":75.6555328,"latitude_deg":11.9648336,"altitude":78,"angle":199,"satellites":43,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 18:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456734997760001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227977457106944,"note":"Value kept but may cause issues"} 
[2026-07-15 18:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585741824,"note":"Value kept but may cause issues"} 
[2026-07-15 18:44:01] 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-07-15 18:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784121106000,"timestamp_ms":1784121106000,"timestamp_seconds":1784121106,"priority":1,"record_length":96,"hex_timestamp":"0000019f65e79e50"} 
[2026-07-15 18:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 18:44:01] 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-07-15 18:44:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":132651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":132651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":132651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456734997760001,"66":12428,"120":206,"28":31744,"24":0,"16":6227977457106944,"45":1737896905585741824},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456734997760001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:44:01] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:44:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227977457106944,"km_value":6227977457106.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585741824,"description":"Unknown IO ID 45"} 
[2026-07-15 18:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456734997760001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585741824}} 
[2026-07-15 18:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":132651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:44:01] local.INFO: GPS data processed {"connection_id":132651,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:44:01] local.INFO: Acknowledgment sent {"connection_id":132651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:44:05] local.INFO: TCP Data received {"connection_id":132652,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:44:05] local.INFO: Processing buffer {"connection_id":132652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:44:05] local.INFO: IMEI packet received {"connection_id":132652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":132652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:44:06] local.INFO: TCP Data received {"connection_id":132651,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65e7f058012d181e400721b050004e00c729..."} 
[2026-07-15 18:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65e7f058012d181e400721b050004e00c729..."} 
[2026-07-15 18:44:06] local.INFO: Processing buffer {"connection_id":132651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65e7f058012d181e400721b050004e00c729..."} 
[2026-07-15 18:44:06] local.INFO: Packet analysis {"connection_id":132651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65e7"} 
[2026-07-15 18:44:06] local.INFO: Extracted packet for processing {"connection_id":132651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65e7"} 
[2026-07-15 18:44:06] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648336,"longitude_deg":75.6555328,"latitude_deg":11.9648336,"altitude":78,"angle":199,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 18:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735003136001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227977457106944,"note":"Value kept but may cause issues"} 
[2026-07-15 18:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585741824,"note":"Value kept but may cause issues"} 
[2026-07-15 18:44:06] 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-07-15 18:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784121127000,"timestamp_ms":1784121127000,"timestamp_seconds":1784121127,"priority":1,"record_length":96,"hex_timestamp":"0000019f65e7f058"} 
[2026-07-15 18:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-15 18:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735003136001,"66":12461,"120":206,"28":31744,"24":0,"16":6227977457106944,"45":1737896905585741824},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735003136001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:44:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:44:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227977457106944,"km_value":6227977457106.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585741824,"description":"Unknown IO ID 45"} 
[2026-07-15 18:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735003136001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585741824}} 
[2026-07-15 18:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":132651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:44:06] local.INFO: GPS data processed {"connection_id":132651,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:44:06] local.INFO: Acknowledgment sent {"connection_id":132651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:44:06] local.INFO: TCP Data received {"connection_id":132652,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65e880e0012d7eb08005b41298000901662e..."} 
[2026-07-15 18:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65e880e0012d7eb08005b41298000901662e..."} 
[2026-07-15 18:44:06] local.INFO: Processing buffer {"connection_id":132652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65e880e0012d7eb08005b41298000901662e..."} 
[2026-07-15 18:44:06] local.INFO: Packet analysis {"connection_id":132652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65e8"} 
[2026-07-15 18:44:06] local.INFO: Extracted packet for processing {"connection_id":132652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65e8"} 
[2026-07-15 18:44:06] local.INFO: GPS Element Parsed {"raw_longitude":763277440,"raw_latitude":95687320,"longitude_deg":76.327744,"latitude_deg":9.568732,"altitude":9,"angle":358,"satellites":46,"speed":48,"hex_longitude":"2d7eb080","hex_latitude":"05b41298","is_valid_coordinates":true} 
[2026-07-15 18:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735015936001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347259689408397312,"note":"Value kept but may cause issues"} 
[2026-07-15 18:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129289050382698496,"note":"Value kept but may cause issues"} 
[2026-07-15 18:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784121164000,"timestamp_ms":1784121164000,"timestamp_seconds":1784121164,"priority":1,"record_length":96,"hex_timestamp":"0000019f65e880e0"} 
[2026-07-15 18:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-15 18:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:44:06] 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-07-15 18:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735015936001,"66":27919,"59":206,"85":12544,"24":48,"16":347259689408397312,"45":9129289050382698496},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-07-15 18:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735015936001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:44:06] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-07-15 18:44:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347259689408397312,"km_value":347259689408397.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129289050382698496,"description":"Unknown IO ID 45"} 
[2026-07-15 18:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735015936001,"power":27919,"unknown_59":206,"unknown_85":12544,"ignition":48,"odometer":null,"unknown_45":9129289050382698496}} 
[2026-07-15 18:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":132652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:44:06] local.INFO: GPS data processed {"connection_id":132652,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:44:06] local.INFO: Acknowledgment sent {"connection_id":132652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:44:37] local.INFO: TCP Data received {"connection_id":132652,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65e8a020012d7eaec005b43700000b01642d..."} 
[2026-07-15 18:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65e8a020012d7eaec005b43700000b01642d..."} 
[2026-07-15 18:44:37] local.INFO: Processing buffer {"connection_id":132652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65e8a020012d7eaec005b43700000b01642d..."} 
[2026-07-15 18:44:37] local.INFO: Packet analysis {"connection_id":132652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65e8"} 
[2026-07-15 18:44:37] local.INFO: Extracted packet for processing {"connection_id":132652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65e8"} 
[2026-07-15 18:44:37] local.INFO: GPS Element Parsed {"raw_longitude":763276992,"raw_latitude":95696640,"longitude_deg":76.3276992,"latitude_deg":9.569664,"altitude":11,"angle":356,"satellites":45,"speed":44,"hex_longitude":"2d7eaec0","hex_latitude":"05b43700","is_valid_coordinates":true} 
[2026-07-15 18:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735017984001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347260144674930688,"note":"Value kept but may cause issues"} 
[2026-07-15 18:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128937206664304640,"note":"Value kept but may cause issues"} 
[2026-07-15 18:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784121172000,"timestamp_ms":1784121172000,"timestamp_seconds":1784121172,"priority":1,"record_length":96,"hex_timestamp":"0000019f65e8a020"} 
[2026-07-15 18:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 18:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:44:37] 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-07-15 18:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735017984001,"66":27995,"59":206,"85":12544,"24":44,"16":347260144674930688,"45":9128937206664304640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-07-15 18:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735017984001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:44:37] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-07-15 18:44:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347260144674930688,"km_value":347260144674930.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128937206664304640,"description":"Unknown IO ID 45"} 
[2026-07-15 18:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735017984001,"power":27995,"unknown_59":206,"unknown_85":12544,"ignition":44,"odometer":null,"unknown_45":9128937206664304640}} 
[2026-07-15 18:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":132652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:44:37] local.INFO: GPS data processed {"connection_id":132652,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:44:37] local.INFO: Acknowledgment sent {"connection_id":132652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:44:50] local.INFO: TCP Data received {"connection_id":135046,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:44:50] local.INFO: Processing buffer {"connection_id":135046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:44:50] local.INFO: IMEI packet received {"connection_id":135046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":135046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:44:51] local.INFO: TCP Data received {"connection_id":135046,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:44:51] local.INFO: Processing buffer {"connection_id":135046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:44:51] local.INFO: IMEI packet received {"connection_id":135046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":135046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:44:55] local.INFO: TCP Data received {"connection_id":135046,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:44:55] local.INFO: Processing buffer {"connection_id":135046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:44:55] local.INFO: IMEI packet received {"connection_id":135046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":135046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:44:57] local.INFO: TCP Data received {"connection_id":135046,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65e84260012d181e400721b050004e00c729..."} 
[2026-07-15 18:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65e84260012d181e400721b050004e00c729..."} 
[2026-07-15 18:44:57] local.INFO: Processing buffer {"connection_id":135046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65e84260012d181e400721b050004e00c729..."} 
[2026-07-15 18:44:57] local.INFO: Packet analysis {"connection_id":135046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65e8"} 
[2026-07-15 18:44:57] local.INFO: Extracted packet for processing {"connection_id":135046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65e8"} 
[2026-07-15 18:44:57] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648336,"longitude_deg":75.6555328,"latitude_deg":11.9648336,"altitude":78,"angle":199,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:44:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735008512001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:44:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227977457106944,"note":"Value kept but may cause issues"} 
[2026-07-15 18:44:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585741824,"note":"Value kept but may cause issues"} 
[2026-07-15 18:44:57] 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-07-15 18:44:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784121148000,"timestamp_ms":1784121148000,"timestamp_seconds":1784121148,"priority":1,"record_length":96,"hex_timestamp":"0000019f65e84260"} 
[2026-07-15 18:44:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:44:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 18:44:57] 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-07-15 18: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-07-15 18:44:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:44:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:44:57] local.INFO: Teltonika packet parsed successfully {"connection_id":135046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:44:57] local.INFO: Passing IMEI to GPS processor {"connection_id":135046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:44:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":135046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:44:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:44:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:44:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:44:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735008512001,"66":12461,"120":206,"28":31744,"24":0,"16":6227977457106944,"45":1737896905585741824},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:44:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:44:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:44:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735008512001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:44:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:44:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:44:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227977457106944,"km_value":6227977457106.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:44:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585741824,"description":"Unknown IO ID 45"} 
[2026-07-15 18:44:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735008512001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585741824}} 
[2026-07-15 18:44:57] local.INFO: DEBUG: GPS processor result {"connection_id":135046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:44:57] local.INFO: GPS data processed {"connection_id":135046,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:44:57] local.INFO: Acknowledgment sent {"connection_id":135046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:45:00] local.INFO: TCP Data received {"connection_id":135046,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65e89468012d181e400721b050004e00c72a..."} 
[2026-07-15 18:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65e89468012d181e400721b050004e00c72a..."} 
[2026-07-15 18:45:00] local.INFO: Processing buffer {"connection_id":135046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65e89468012d181e400721b050004e00c72a..."} 
[2026-07-15 18:45:00] local.INFO: Packet analysis {"connection_id":135046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65e8"} 
[2026-07-15 18:45:00] local.INFO: Extracted packet for processing {"connection_id":135046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65e8"} 
[2026-07-15 18:45:00] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648336,"longitude_deg":75.6555328,"latitude_deg":11.9648336,"altitude":78,"angle":199,"satellites":42,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 18:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735013888001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227977457106944,"note":"Value kept but may cause issues"} 
[2026-07-15 18:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585741824,"note":"Value kept but may cause issues"} 
[2026-07-15 18:45:00] 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-07-15 18:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784121169000,"timestamp_ms":1784121169000,"timestamp_seconds":1784121169,"priority":1,"record_length":96,"hex_timestamp":"0000019f65e89468"} 
[2026-07-15 18:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:45:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 18:45:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:45:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":135046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":135046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":135046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735013888001,"66":12461,"120":206,"28":31744,"24":0,"16":6227977457106944,"45":1737896905585741824},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735013888001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:45:00] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:45:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227977457106944,"km_value":6227977457106.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585741824,"description":"Unknown IO ID 45"} 
[2026-07-15 18:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735013888001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585741824}} 
[2026-07-15 18:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":135046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:45:00] local.INFO: GPS data processed {"connection_id":135046,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:45:00] local.INFO: Acknowledgment sent {"connection_id":135046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:45:05] local.INFO: TCP Data received {"connection_id":132833,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:45:05] local.INFO: Processing buffer {"connection_id":132833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:45:05] local.INFO: IMEI packet received {"connection_id":132833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":132833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:45:06] local.INFO: TCP Data received {"connection_id":132833,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:45:06] local.INFO: Processing buffer {"connection_id":132833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:45:06] local.INFO: IMEI packet received {"connection_id":132833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":132833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:45:07] local.INFO: TCP Data received {"connection_id":132833,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65e8bf60012d7ead0005b45ad8000c01642e..."} 
[2026-07-15 18:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65e8bf60012d7ead0005b45ad8000c01642e..."} 
[2026-07-15 18:45:07] local.INFO: Processing buffer {"connection_id":132833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65e8bf60012d7ead0005b45ad8000c01642e..."} 
[2026-07-15 18:45:07] local.INFO: Packet analysis {"connection_id":132833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65e8"} 
[2026-07-15 18:45:07] local.INFO: Extracted packet for processing {"connection_id":132833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65e8"} 
[2026-07-15 18:45:07] local.INFO: GPS Element Parsed {"raw_longitude":763276544,"raw_latitude":95705816,"longitude_deg":76.3276544,"latitude_deg":9.5705816,"altitude":12,"angle":356,"satellites":46,"speed":45,"hex_longitude":"2d7ead00","hex_latitude":"05b45ad8","is_valid_coordinates":true} 
[2026-07-15 18:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735020032001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347260591351529472,"note":"Value kept but may cause issues"} 
[2026-07-15 18:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128444625457446912,"note":"Value kept but may cause issues"} 
[2026-07-15 18:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784121180000,"timestamp_ms":1784121180000,"timestamp_seconds":1784121180,"priority":1,"record_length":96,"hex_timestamp":"0000019f65e8bf60"} 
[2026-07-15 18:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-15 18:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735020032001,"66":28028,"59":206,"85":12544,"24":45,"16":347260591351529472,"45":9128444625457446912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-07-15 18:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735020032001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:45:07] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-07-15 18:45:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347260591351529472,"km_value":347260591351529.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128444625457446912,"description":"Unknown IO ID 45"} 
[2026-07-15 18:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735020032001,"power":28028,"unknown_59":206,"unknown_85":12544,"ignition":45,"odometer":null,"unknown_45":9128444625457446912}} 
[2026-07-15 18:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":132833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:45:07] local.INFO: GPS data processed {"connection_id":132833,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:45:07] local.INFO: Acknowledgment sent {"connection_id":132833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:45:11] local.INFO: TCP Data received {"connection_id":132833,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65e8dea0012d7eaa8005b47ff0000a01642d..."} 
[2026-07-15 18:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65e8dea0012d7eaa8005b47ff0000a01642d..."} 
[2026-07-15 18:45:11] local.INFO: Processing buffer {"connection_id":132833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65e8dea0012d7eaa8005b47ff0000a01642d..."} 
[2026-07-15 18:45:11] local.INFO: Packet analysis {"connection_id":132833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65e8"} 
[2026-07-15 18:45:11] local.INFO: Extracted packet for processing {"connection_id":132833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65e8"} 
[2026-07-15 18:45:11] local.INFO: GPS Element Parsed {"raw_longitude":763275904,"raw_latitude":95715312,"longitude_deg":76.3275904,"latitude_deg":9.5715312,"altitude":10,"angle":356,"satellites":45,"speed":51,"hex_longitude":"2d7eaa80","hex_latitude":"05b47ff0","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735022080001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347261050913030144,"note":"Value kept but may cause issues"} 
[2026-07-15 18:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127952044250552320,"note":"Value kept but may cause issues"} 
[2026-07-15 18:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784121188000,"timestamp_ms":1784121188000,"timestamp_seconds":1784121188,"priority":1,"record_length":96,"hex_timestamp":"0000019f65e8dea0"} 
[2026-07-15 18:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:45:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-15 18:45:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:45:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:45:11] 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-07-15 18:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735022080001,"66":28017,"59":206,"85":12544,"24":51,"16":347261050913030144,"45":9127952044250552320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-07-15 18:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735022080001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:45:11] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-07-15 18:45:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347261050913030144,"km_value":347261050913030.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127952044250552320,"description":"Unknown IO ID 45"} 
[2026-07-15 18:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735022080001,"power":28017,"unknown_59":206,"unknown_85":12544,"ignition":51,"odometer":null,"unknown_45":9127952044250552320}} 
[2026-07-15 18:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":132833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:45:11] local.INFO: GPS data processed {"connection_id":132833,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:45:11] local.INFO: Acknowledgment sent {"connection_id":132833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:45:32] local.INFO: TCP Data received {"connection_id":135046,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65e8e670012d181e400721b050004e00c72a..."} 
[2026-07-15 18:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65e8e670012d181e400721b050004e00c72a..."} 
[2026-07-15 18:45:32] local.INFO: Processing buffer {"connection_id":135046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65e8e670012d181e400721b050004e00c72a..."} 
[2026-07-15 18:45:32] local.INFO: Packet analysis {"connection_id":135046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65e8"} 
[2026-07-15 18:45:32] local.INFO: Extracted packet for processing {"connection_id":135046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65e8"} 
[2026-07-15 18:45:32] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648336,"longitude_deg":75.6555328,"latitude_deg":11.9648336,"altitude":78,"angle":199,"satellites":42,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 18:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735019264001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227977457106944,"note":"Value kept but may cause issues"} 
[2026-07-15 18:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585741824,"note":"Value kept but may cause issues"} 
[2026-07-15 18:45:32] 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-07-15 18:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784121190000,"timestamp_ms":1784121190000,"timestamp_seconds":1784121190,"priority":1,"record_length":96,"hex_timestamp":"0000019f65e8e670"} 
[2026-07-15 18:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 18:45: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-07-15 18:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":135046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":135046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":135046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735019264001,"66":12461,"120":206,"28":31744,"24":0,"16":6227977457106944,"45":1737896905585741824},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735019264001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:45:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:45:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227977457106944,"km_value":6227977457106.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585741824,"description":"Unknown IO ID 45"} 
[2026-07-15 18:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735019264001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585741824}} 
[2026-07-15 18:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":135046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:45:32] local.INFO: GPS data processed {"connection_id":135046,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:45:32] local.INFO: Acknowledgment sent {"connection_id":135046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:45:42] local.INFO: TCP Data received {"connection_id":132833,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65e8f9f8012d7ea84005b4a650000801642e..."} 
[2026-07-15 18:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65e8f9f8012d7ea84005b4a650000801642e..."} 
[2026-07-15 18:45:42] local.INFO: Processing buffer {"connection_id":132833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65e8f9f8012d7ea84005b4a650000801642e..."} 
[2026-07-15 18:45:42] local.INFO: Packet analysis {"connection_id":132833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65e8"} 
[2026-07-15 18:45:42] local.INFO: Extracted packet for processing {"connection_id":132833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65e8"} 
[2026-07-15 18:45:42] local.INFO: GPS Element Parsed {"raw_longitude":763275328,"raw_latitude":95725136,"longitude_deg":76.3275328,"latitude_deg":9.5725136,"altitude":8,"angle":356,"satellites":46,"speed":58,"hex_longitude":"2d7ea840","hex_latitude":"05b4a650","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735024128001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347261527654400000,"note":"Value kept but may cause issues"} 
[2026-07-15 18:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127248356811206656,"note":"Value kept but may cause issues"} 
[2026-07-15 18:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784121195000,"timestamp_ms":1784121195000,"timestamp_seconds":1784121195,"priority":1,"record_length":96,"hex_timestamp":"0000019f65e8f9f8"} 
[2026-07-15 18:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18: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":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-15 18:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18: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-07-15 18:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:45:42] 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-07-15 18:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735024128001,"66":28006,"122":206,"85":12544,"24":58,"16":347261527654400000,"45":9127248356811206656},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-07-15 18:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735024128001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:45:42] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-15 18:45:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347261527654400000,"km_value":347261527654400,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127248356811206656,"description":"Unknown IO ID 45"} 
[2026-07-15 18:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735024128001,"power":28006,"unknown_122":206,"unknown_85":12544,"ignition":58,"odometer":null,"unknown_45":9127248356811206656}} 
[2026-07-15 18:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":132833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:45:42] local.INFO: GPS data processed {"connection_id":132833,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:45:42] local.INFO: Acknowledgment sent {"connection_id":132833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:45:51] local.INFO: TCP Data received {"connection_id":132653,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:45:51] local.INFO: Processing buffer {"connection_id":132653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:45:51] local.INFO: IMEI packet received {"connection_id":132653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":132653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:45:55] local.INFO: TCP Data received {"connection_id":132653,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:45:55] local.INFO: Processing buffer {"connection_id":132653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:45:55] local.INFO: IMEI packet received {"connection_id":132653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":132653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:45:56] local.INFO: TCP Data received {"connection_id":132653,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65e93878012d181e400721b050004e00c72b..."} 
[2026-07-15 18:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65e93878012d181e400721b050004e00c72b..."} 
[2026-07-15 18:45:56] local.INFO: Processing buffer {"connection_id":132653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65e93878012d181e400721b050004e00c72b..."} 
[2026-07-15 18:45:56] local.INFO: Packet analysis {"connection_id":132653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65e9"} 
[2026-07-15 18:45:56] local.INFO: Extracted packet for processing {"connection_id":132653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65e9"} 
[2026-07-15 18:45:56] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648336,"longitude_deg":75.6555328,"latitude_deg":11.9648336,"altitude":78,"angle":199,"satellites":43,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735024640001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227977457106944,"note":"Value kept but may cause issues"} 
[2026-07-15 18:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585741824,"note":"Value kept but may cause issues"} 
[2026-07-15 18: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-07-15 18:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784121211000,"timestamp_ms":1784121211000,"timestamp_seconds":1784121211,"priority":1,"record_length":96,"hex_timestamp":"0000019f65e93878"} 
[2026-07-15 18:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:45:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 18:45:56] 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-07-15 18: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-07-15 18:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735024640001,"66":12428,"120":206,"28":31744,"24":0,"16":6227977457106944,"45":1737896905585741824},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735024640001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:45:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:45:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227977457106944,"km_value":6227977457106.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585741824,"description":"Unknown IO ID 45"} 
[2026-07-15 18:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735024640001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585741824}} 
[2026-07-15 18:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":132653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:45:56] local.INFO: GPS data processed {"connection_id":132653,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:45:56] local.INFO: Acknowledgment sent {"connection_id":132653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:45:59] local.INFO: TCP Data received {"connection_id":135048,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:45:59] local.INFO: Processing buffer {"connection_id":135048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:45:59] local.INFO: IMEI packet received {"connection_id":135048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":135048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:46:00] local.INFO: TCP Data received {"connection_id":135048,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:46:00] local.INFO: Processing buffer {"connection_id":135048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:46:00] local.INFO: IMEI packet received {"connection_id":135048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":135048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:46:05] local.INFO: TCP Data received {"connection_id":135048,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:46:05] local.INFO: Processing buffer {"connection_id":135048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:46:05] local.INFO: IMEI packet received {"connection_id":135048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":135048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:46:06] local.INFO: TCP Data received {"connection_id":135048,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ea9420012d7ea58005b60b48000801632f..."} 
[2026-07-15 18:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ea9420012d7ea58005b60b48000801632f..."} 
[2026-07-15 18:46:06] local.INFO: Processing buffer {"connection_id":135048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ea9420012d7ea58005b60b48000801632f..."} 
[2026-07-15 18:46:06] local.INFO: Packet analysis {"connection_id":135048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ea"} 
[2026-07-15 18:46:06] local.INFO: Extracted packet for processing {"connection_id":135048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ea"} 
[2026-07-15 18:46:06] local.INFO: GPS Element Parsed {"raw_longitude":763274624,"raw_latitude":95816520,"longitude_deg":76.3274624,"latitude_deg":9.581652,"altitude":8,"angle":355,"satellites":47,"speed":31,"hex_longitude":"2d7ea580","hex_latitude":"05b60b48","is_valid_coordinates":true} 
[2026-07-15 18:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735049984001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347265981535485952,"note":"Value kept but may cause issues"} 
[2026-07-15 18:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127670569300344832,"note":"Value kept but may cause issues"} 
[2026-07-15 18:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784121300000,"timestamp_ms":1784121300000,"timestamp_seconds":1784121300,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ea9420"} 
[2026-07-15 18:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-15 18:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:46:06] 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-07-15 18:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735049984001,"66":27843,"122":206,"85":12544,"24":31,"16":347265981535485952,"45":9127670569300344832},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-07-15 18:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735049984001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:46:06] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-15 18:46:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347265981535485952,"km_value":347265981535485.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127670569300344832,"description":"Unknown IO ID 45"} 
[2026-07-15 18:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735049984001,"power":27843,"unknown_122":206,"unknown_85":12544,"ignition":31,"odometer":null,"unknown_45":9127670569300344832}} 
[2026-07-15 18:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":135048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:46:06] local.INFO: GPS data processed {"connection_id":135048,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:46:06] local.INFO: Acknowledgment sent {"connection_id":135048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:46:28] local.INFO: TCP Data received {"connection_id":132653,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65e98a80012d181e400721b050004e00c729..."} 
[2026-07-15 18:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65e98a80012d181e400721b050004e00c729..."} 
[2026-07-15 18:46:28] local.INFO: Processing buffer {"connection_id":132653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65e98a80012d181e400721b050004e00c729..."} 
[2026-07-15 18:46:28] local.INFO: Packet analysis {"connection_id":132653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65e9"} 
[2026-07-15 18:46:28] local.INFO: Extracted packet for processing {"connection_id":132653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65e9"} 
[2026-07-15 18:46:28] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648336,"longitude_deg":75.6555328,"latitude_deg":11.9648336,"altitude":78,"angle":199,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735030016001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227977457106944,"note":"Value kept but may cause issues"} 
[2026-07-15 18:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585741824,"note":"Value kept but may cause issues"} 
[2026-07-15 18:46: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-07-15 18:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784121232000,"timestamp_ms":1784121232000,"timestamp_seconds":1784121232,"priority":1,"record_length":96,"hex_timestamp":"0000019f65e98a80"} 
[2026-07-15 18:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:46:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-15 18:46:28] 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-07-15 18: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-07-15 18:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735030016001,"66":12428,"120":206,"28":31744,"24":0,"16":6227977457106944,"45":1737896905585741824},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735030016001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:46:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:46:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227977457106944,"km_value":6227977457106.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585741824,"description":"Unknown IO ID 45"} 
[2026-07-15 18:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735030016001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585741824}} 
[2026-07-15 18:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":132653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:46:28] local.INFO: GPS data processed {"connection_id":132653,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:46:28] local.INFO: Acknowledgment sent {"connection_id":132653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:46:37] local.INFO: TCP Data received {"connection_id":135048,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65eabf18012d7ea40005b630f8000900012f..."} 
[2026-07-15 18:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65eabf18012d7ea40005b630f8000900012f..."} 
[2026-07-15 18:46:37] local.INFO: Processing buffer {"connection_id":135048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65eabf18012d7ea40005b630f8000900012f..."} 
[2026-07-15 18:46:37] local.INFO: Packet analysis {"connection_id":135048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ea"} 
[2026-07-15 18:46:37] local.INFO: Extracted packet for processing {"connection_id":135048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ea"} 
[2026-07-15 18:46:37] local.INFO: GPS Element Parsed {"raw_longitude":763274240,"raw_latitude":95826168,"longitude_deg":76.327424,"latitude_deg":9.5826168,"altitude":9,"angle":1,"satellites":47,"speed":34,"hex_longitude":"2d7ea400","hex_latitude":"05b630f8","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735052800001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347266449686921216,"note":"Value kept but may cause issues"} 
[2026-07-15 18:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125840981953562624,"note":"Value kept but may cause issues"} 
[2026-07-15 18:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784121311000,"timestamp_ms":1784121311000,"timestamp_seconds":1784121311,"priority":1,"record_length":96,"hex_timestamp":"0000019f65eabf18"} 
[2026-07-15 18:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-15 18:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18: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-07-15 18:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":135048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":135048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":135048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:46:37] 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-07-15 18:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735052800001,"66":27908,"122":206,"85":12544,"24":34,"16":347266449686921216,"45":9125840981953562624},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-07-15 18:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735052800001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:46:37] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-15 18:46:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347266449686921216,"km_value":347266449686921.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125840981953562624,"description":"Unknown IO ID 45"} 
[2026-07-15 18:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735052800001,"power":27908,"unknown_122":206,"unknown_85":12544,"ignition":34,"odometer":null,"unknown_45":9125840981953562624}} 
[2026-07-15 18:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":135048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:46:37] local.INFO: GPS data processed {"connection_id":135048,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:46:37] local.INFO: Acknowledgment sent {"connection_id":135048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:46:50] local.INFO: TCP Data received {"connection_id":132835,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:46:50] local.INFO: Processing buffer {"connection_id":132835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:46:50] local.INFO: IMEI packet received {"connection_id":132835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":132835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:46:54] local.INFO: TCP Data received {"connection_id":132834,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132834,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:46:54] local.INFO: Processing buffer {"connection_id":132834,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:46:54] local.INFO: IMEI packet received {"connection_id":132834,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 18:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":132834,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:46:55] local.INFO: TCP Data received {"connection_id":132835,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:46:55] local.INFO: Processing buffer {"connection_id":132835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:46:55] local.INFO: IMEI packet received {"connection_id":132835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":132835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:46:56] local.INFO: TCP Data received {"connection_id":132835,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65e9dc88012d181e400721b050004e00c729..."} 
[2026-07-15 18:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65e9dc88012d181e400721b050004e00c729..."} 
[2026-07-15 18:46:56] local.INFO: Processing buffer {"connection_id":132835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65e9dc88012d181e400721b050004e00c729..."} 
[2026-07-15 18:46:56] local.INFO: Packet analysis {"connection_id":132835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65e9"} 
[2026-07-15 18:46:56] local.INFO: Extracted packet for processing {"connection_id":132835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65e9"} 
[2026-07-15 18:46:56] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648336,"longitude_deg":75.6555328,"latitude_deg":11.9648336,"altitude":78,"angle":199,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735035392001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227977457106944,"note":"Value kept but may cause issues"} 
[2026-07-15 18:46:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585741824,"note":"Value kept but may cause issues"} 
[2026-07-15 18:46: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-07-15 18:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784121253000,"timestamp_ms":1784121253000,"timestamp_seconds":1784121253,"priority":1,"record_length":96,"hex_timestamp":"0000019f65e9dc88"} 
[2026-07-15 18:46:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:46:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-15 18:46:56] 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-07-15 18: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-07-15 18:46:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:46:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735035392001,"66":12406,"120":206,"28":31744,"24":0,"16":6227977457106944,"45":1737896905585741824},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735035392001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:46:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:46:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227977457106944,"km_value":6227977457106.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585741824,"description":"Unknown IO ID 45"} 
[2026-07-15 18:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735035392001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585741824}} 
[2026-07-15 18:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":132835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492435,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:46:56] local.INFO: GPS data processed {"connection_id":132835,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:46:56] local.INFO: Acknowledgment sent {"connection_id":132835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:47:00] local.INFO: TCP Data received {"connection_id":133682,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:47:00] local.INFO: Processing buffer {"connection_id":133682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:47:00] local.INFO: IMEI packet received {"connection_id":133682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":133682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:47:04] local.INFO: TCP Data received {"connection_id":133682,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:47:04] local.INFO: Processing buffer {"connection_id":133682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:47:04] local.INFO: IMEI packet received {"connection_id":133682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":133682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:47:04] local.INFO: TCP Data received {"connection_id":133682,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65eae628012d7ea4c005b653a0000801672d..."} 
[2026-07-15 18:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65eae628012d7ea4c005b653a0000801672d..."} 
[2026-07-15 18:47:04] local.INFO: Processing buffer {"connection_id":133682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65eae628012d7ea4c005b653a0000801672d..."} 
[2026-07-15 18:47:04] local.INFO: Packet analysis {"connection_id":133682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ea"} 
[2026-07-15 18:47:04] local.INFO: Extracted packet for processing {"connection_id":133682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ea"} 
[2026-07-15 18:47:04] local.INFO: GPS Element Parsed {"raw_longitude":763274432,"raw_latitude":95835040,"longitude_deg":76.3274432,"latitude_deg":9.583504,"altitude":8,"angle":359,"satellites":45,"speed":34,"hex_longitude":"2d7ea4c0","hex_latitude":"05b653a0","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735055616001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347266879183650816,"note":"Value kept but may cause issues"} 
[2026-07-15 18:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125418769490966528,"note":"Value kept but may cause issues"} 
[2026-07-15 18:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784121321000,"timestamp_ms":1784121321000,"timestamp_seconds":1784121321,"priority":1,"record_length":96,"hex_timestamp":"0000019f65eae628"} 
[2026-07-15 18:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 18:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18: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-07-15 18:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":133682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":133682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":133682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735055616001,"66":27745,"122":206,"85":12544,"24":34,"16":347266879183650816,"45":9125418769490966528},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-07-15 18:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735055616001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:47:04] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-15 18:47:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347266879183650816,"km_value":347266879183650.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125418769490966528,"description":"Unknown IO ID 45"} 
[2026-07-15 18:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735055616001,"power":27745,"unknown_122":206,"unknown_85":12544,"ignition":34,"odometer":null,"unknown_45":9125418769490966528}} 
[2026-07-15 18:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":133682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:47:04] local.INFO: GPS data processed {"connection_id":133682,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:47:04] local.INFO: Acknowledgment sent {"connection_id":133682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:47:28] local.INFO: TCP Data received {"connection_id":132835,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ea2e90012d181e400721b050004e00c72b..."} 
[2026-07-15 18:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ea2e90012d181e400721b050004e00c72b..."} 
[2026-07-15 18:47:28] local.INFO: Processing buffer {"connection_id":132835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ea2e90012d181e400721b050004e00c72b..."} 
[2026-07-15 18:47:28] local.INFO: Packet analysis {"connection_id":132835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ea"} 
[2026-07-15 18:47:28] local.INFO: Extracted packet for processing {"connection_id":132835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ea"} 
[2026-07-15 18:47:28] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648336,"longitude_deg":75.6555328,"latitude_deg":11.9648336,"altitude":78,"angle":199,"satellites":43,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 18:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735040768001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227977457106944,"note":"Value kept but may cause issues"} 
[2026-07-15 18:47:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585741824,"note":"Value kept but may cause issues"} 
[2026-07-15 18:47: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-07-15 18:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784121274000,"timestamp_ms":1784121274000,"timestamp_seconds":1784121274,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ea2e90"} 
[2026-07-15 18:47:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:47:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 18:47:28] 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-07-15 18:47:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:47:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:47:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735040768001,"66":12428,"120":206,"28":31744,"24":0,"16":6227977457106944,"45":1737896905585741824},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735040768001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:47:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:47:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227977457106944,"km_value":6227977457106.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:47:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585741824,"description":"Unknown IO ID 45"} 
[2026-07-15 18:47:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735040768001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585741824}} 
[2026-07-15 18:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":132835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:47:28] local.INFO: GPS data processed {"connection_id":132835,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:47:28] local.INFO: Acknowledgment sent {"connection_id":132835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:47:35] local.INFO: TCP Data received {"connection_id":133682,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65eb1508012d7ea4c005b67920000800002e..."} 
[2026-07-15 18:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65eb1508012d7ea4c005b67920000800002e..."} 
[2026-07-15 18:47:35] local.INFO: Processing buffer {"connection_id":133682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65eb1508012d7ea4c005b67920000800002e..."} 
[2026-07-15 18:47:35] local.INFO: Packet analysis {"connection_id":133682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65eb"} 
[2026-07-15 18:47:35] local.INFO: Extracted packet for processing {"connection_id":133682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65eb"} 
[2026-07-15 18:47:35] local.INFO: GPS Element Parsed {"raw_longitude":763274432,"raw_latitude":95844640,"longitude_deg":76.3274432,"latitude_deg":9.584464,"altitude":8,"angle":0,"satellites":46,"speed":35,"hex_longitude":"2d7ea4c0","hex_latitude":"05b67920","is_valid_coordinates":true} 
[2026-07-15 18:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735058176001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347267347335086080,"note":"Value kept but may cause issues"} 
[2026-07-15 18:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125629875725770752,"note":"Value kept but may cause issues"} 
[2026-07-15 18:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784121333000,"timestamp_ms":1784121333000,"timestamp_seconds":1784121333,"priority":1,"record_length":96,"hex_timestamp":"0000019f65eb1508"} 
[2026-07-15 18:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-15 18:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":133682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":133682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":133682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:47:35] 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-07-15 18:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735058176001,"66":27876,"122":206,"85":12544,"24":35,"16":347267347335086080,"45":9125629875725770752},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-07-15 18:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735058176001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:47:35] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-15 18:47:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347267347335086080,"km_value":347267347335086.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125629875725770752,"description":"Unknown IO ID 45"} 
[2026-07-15 18:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735058176001,"power":27876,"unknown_122":206,"unknown_85":12544,"ignition":35,"odometer":null,"unknown_45":9125629875725770752}} 
[2026-07-15 18:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":133682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:47:35] local.INFO: GPS data processed {"connection_id":133682,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:47:35] local.INFO: Acknowledgment sent {"connection_id":133682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:47:39] local.INFO: TCP Data received {"connection_id":135049,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135049,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:47:39] local.INFO: Processing buffer {"connection_id":135049,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:47:39] local.INFO: IMEI packet received {"connection_id":135049,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 18:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":135049,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:47:50] local.INFO: TCP Data received {"connection_id":133683,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:47:50] local.INFO: Processing buffer {"connection_id":133683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:47:50] local.INFO: IMEI packet received {"connection_id":133683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":133683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:47:55] local.INFO: TCP Data received {"connection_id":133683,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:47:55] local.INFO: Processing buffer {"connection_id":133683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:47:55] local.INFO: IMEI packet received {"connection_id":133683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":133683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:47:57] local.INFO: TCP Data received {"connection_id":133683,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ea8098012d181e400721b050004e00c729..."} 
[2026-07-15 18:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ea8098012d181e400721b050004e00c729..."} 
[2026-07-15 18:47:57] local.INFO: Processing buffer {"connection_id":133683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ea8098012d181e400721b050004e00c729..."} 
[2026-07-15 18:47:57] local.INFO: Packet analysis {"connection_id":133683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ea"} 
[2026-07-15 18:47:57] local.INFO: Extracted packet for processing {"connection_id":133683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ea"} 
[2026-07-15 18:47:57] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648336,"longitude_deg":75.6555328,"latitude_deg":11.9648336,"altitude":78,"angle":199,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:47:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735046144001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227977457106944,"note":"Value kept but may cause issues"} 
[2026-07-15 18:47:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585741824,"note":"Value kept but may cause issues"} 
[2026-07-15 18:47:57] 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-07-15 18:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784121295000,"timestamp_ms":1784121295000,"timestamp_seconds":1784121295,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ea8098"} 
[2026-07-15 18:47:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:47:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-15 18:47:57] 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-07-15 18: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-07-15 18:47:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":133683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":133683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":133683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:47:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735046144001,"66":12254,"120":206,"28":31744,"24":0,"16":6227977457106944,"45":1737896905585741824},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735046144001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:47:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:47:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227977457106944,"km_value":6227977457106.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:47:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585741824,"description":"Unknown IO ID 45"} 
[2026-07-15 18:47:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735046144001,"power":12254,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585741824}} 
[2026-07-15 18:47:57] local.INFO: DEBUG: GPS processor result {"connection_id":133683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:47:57] local.INFO: GPS data processed {"connection_id":133683,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:47:57] local.INFO: Acknowledgment sent {"connection_id":133683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:48:00] local.INFO: TCP Data received {"connection_id":135050,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:48:00] local.INFO: Processing buffer {"connection_id":135050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:48:00] local.INFO: IMEI packet received {"connection_id":135050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":135050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:48:05] local.INFO: TCP Data received {"connection_id":135050,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:48:05] local.INFO: Processing buffer {"connection_id":135050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:48:05] local.INFO: IMEI packet received {"connection_id":135050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":135050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:48:06] local.INFO: TCP Data received {"connection_id":135050,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65eb3c18012d7ea58005b69d68000800022e..."} 
[2026-07-15 18:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65eb3c18012d7ea58005b69d68000800022e..."} 
[2026-07-15 18:48:06] local.INFO: Processing buffer {"connection_id":135050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65eb3c18012d7ea58005b69d68000800022e..."} 
[2026-07-15 18:48:06] local.INFO: Packet analysis {"connection_id":135050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65eb"} 
[2026-07-15 18:48:06] local.INFO: Extracted packet for processing {"connection_id":135050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65eb"} 
[2026-07-15 18:48:06] local.INFO: GPS Element Parsed {"raw_longitude":763274624,"raw_latitude":95853928,"longitude_deg":76.3274624,"latitude_deg":9.5853928,"altitude":8,"angle":2,"satellites":46,"speed":33,"hex_longitude":"2d7ea580","hex_latitude":"05b69d68","is_valid_coordinates":true} 
[2026-07-15 18:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735061248001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347267794011684864,"note":"Value kept but may cause issues"} 
[2026-07-15 18:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125629875728228352,"note":"Value kept but may cause issues"} 
[2026-07-15 18:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784121343000,"timestamp_ms":1784121343000,"timestamp_seconds":1784121343,"priority":1,"record_length":96,"hex_timestamp":"0000019f65eb3c18"} 
[2026-07-15 18:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-15 18:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:48:06] 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-07-15 18:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735061248001,"66":27908,"122":206,"85":12544,"24":33,"16":347267794011684864,"45":9125629875728228352},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-07-15 18:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735061248001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:48:06] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-15 18:48:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347267794011684864,"km_value":347267794011684.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125629875728228352,"description":"Unknown IO ID 45"} 
[2026-07-15 18:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735061248001,"power":27908,"unknown_122":206,"unknown_85":12544,"ignition":33,"odometer":null,"unknown_45":9125629875728228352}} 
[2026-07-15 18:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":135050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:48:06] local.INFO: GPS data processed {"connection_id":135050,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:48:06] local.INFO: Acknowledgment sent {"connection_id":135050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:48:28] local.INFO: TCP Data received {"connection_id":133683,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ead2a0012d181e400721b050004e00c72a..."} 
[2026-07-15 18:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ead2a0012d181e400721b050004e00c72a..."} 
[2026-07-15 18:48:28] local.INFO: Processing buffer {"connection_id":133683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ead2a0012d181e400721b050004e00c72a..."} 
[2026-07-15 18:48:28] local.INFO: Packet analysis {"connection_id":133683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ea"} 
[2026-07-15 18:48:28] local.INFO: Extracted packet for processing {"connection_id":133683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ea"} 
[2026-07-15 18:48:28] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648336,"longitude_deg":75.6555328,"latitude_deg":11.9648336,"altitude":78,"angle":199,"satellites":42,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735051520001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227977457106944,"note":"Value kept but may cause issues"} 
[2026-07-15 18:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585741824,"note":"Value kept but may cause issues"} 
[2026-07-15 18:48: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-07-15 18:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784121316000,"timestamp_ms":1784121316000,"timestamp_seconds":1784121316,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ead2a0"} 
[2026-07-15 18:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:48:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-15 18:48: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-07-15 18: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-07-15 18:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":133683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":133683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":133683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735051520001,"66":12374,"120":206,"28":31744,"24":0,"16":6227977457106944,"45":1737896905585741824},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735051520001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:48:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:48:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227977457106944,"km_value":6227977457106.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:48:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585741824,"description":"Unknown IO ID 45"} 
[2026-07-15 18:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735051520001,"power":12374,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585741824}} 
[2026-07-15 18:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":133683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:48:28] local.INFO: GPS data processed {"connection_id":133683,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:48:28] local.INFO: Acknowledgment sent {"connection_id":133683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:48:37] local.INFO: TCP Data received {"connection_id":135050,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ed18a8012d7ebbc005b89980000a00052d..."} 
[2026-07-15 18:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ed18a8012d7ebbc005b89980000a00052d..."} 
[2026-07-15 18:48:37] local.INFO: Processing buffer {"connection_id":135050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ed18a8012d7ebbc005b89980000a00052d..."} 
[2026-07-15 18:48:37] local.INFO: Packet analysis {"connection_id":135050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ed"} 
[2026-07-15 18:48:37] local.INFO: Extracted packet for processing {"connection_id":135050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ed"} 
[2026-07-15 18:48:37] local.INFO: GPS Element Parsed {"raw_longitude":763280320,"raw_latitude":95984000,"longitude_deg":76.328032,"latitude_deg":9.5984,"altitude":10,"angle":5,"satellites":45,"speed":51,"hex_longitude":"2d7ebbc0","hex_latitude":"05b89980","is_valid_coordinates":true} 
[2026-07-15 18:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735092992001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347274111908577280,"note":"Value kept but may cause issues"} 
[2026-07-15 18:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131118637807247360,"note":"Value kept but may cause issues"} 
[2026-07-15 18:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784121465000,"timestamp_ms":1784121465000,"timestamp_seconds":1784121465,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ed18a8"} 
[2026-07-15 18:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-15 18:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":135050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":135050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":135050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:48:37] 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-07-15 18:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735092992001,"66":27745,"120":206,"85":12544,"24":51,"16":347274111908577280,"45":9131118637807247360},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-07-15 18:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735092992001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:48:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:48:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347274111908577280,"km_value":347274111908577.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131118637807247360,"description":"Unknown IO ID 45"} 
[2026-07-15 18:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735092992001,"power":27745,"unknown_120":206,"unknown_85":12544,"ignition":51,"odometer":null,"unknown_45":9131118637807247360}} 
[2026-07-15 18:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":135050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:48:37] local.INFO: GPS data processed {"connection_id":135050,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:48:37] local.INFO: Acknowledgment sent {"connection_id":135050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:48:55] local.INFO: TCP Data received {"connection_id":135051,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:48:55] local.INFO: Processing buffer {"connection_id":135051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:48:55] local.INFO: IMEI packet received {"connection_id":135051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":135051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:49:00] local.INFO: TCP Data received {"connection_id":135051,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:49:00] local.INFO: Processing buffer {"connection_id":135051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:49:00] local.INFO: IMEI packet received {"connection_id":135051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":135051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:49:00] local.INFO: TCP Data received {"connection_id":132655,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:49:00] local.INFO: Processing buffer {"connection_id":132655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:49:00] local.INFO: IMEI packet received {"connection_id":132655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":132655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:49:00] local.INFO: TCP Data received {"connection_id":132655,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:49:00] local.INFO: Processing buffer {"connection_id":132655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:49:00] local.INFO: IMEI packet received {"connection_id":132655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":132655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:49:01] local.INFO: TCP Data received {"connection_id":135051,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65eb24a8012d181e400721b050004e00c729..."} 
[2026-07-15 18:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65eb24a8012d181e400721b050004e00c729..."} 
[2026-07-15 18:49:01] local.INFO: Processing buffer {"connection_id":135051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65eb24a8012d181e400721b050004e00c729..."} 
[2026-07-15 18:49:01] local.INFO: Packet analysis {"connection_id":135051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65eb"} 
[2026-07-15 18:49:01] local.INFO: Extracted packet for processing {"connection_id":135051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65eb"} 
[2026-07-15 18:49:01] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648336,"longitude_deg":75.6555328,"latitude_deg":11.9648336,"altitude":78,"angle":199,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 18:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735056896001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227977457106944,"note":"Value kept but may cause issues"} 
[2026-07-15 18:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585741824,"note":"Value kept but may cause issues"} 
[2026-07-15 18:49:01] 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-07-15 18:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784121337000,"timestamp_ms":1784121337000,"timestamp_seconds":1784121337,"priority":1,"record_length":96,"hex_timestamp":"0000019f65eb24a8"} 
[2026-07-15 18:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:49:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-15 18:49:01] 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-07-15 18:49:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":135051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":135051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":135051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735056896001,"66":12428,"120":206,"28":31744,"24":0,"16":6227977457106944,"45":1737896905585741824},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735056896001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:49:01] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:49:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227977457106944,"km_value":6227977457106.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585741824,"description":"Unknown IO ID 45"} 
[2026-07-15 18:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735056896001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585741824}} 
[2026-07-15 18:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":135051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492443,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:49:01] local.INFO: GPS data processed {"connection_id":135051,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:49:01] local.INFO: Acknowledgment sent {"connection_id":135051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:49:04] local.INFO: TCP Data received {"connection_id":135051,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65eb76b0012d181e400721b050004e00c72a..."} 
[2026-07-15 18:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65eb76b0012d181e400721b050004e00c72a..."} 
[2026-07-15 18:49:04] local.INFO: Processing buffer {"connection_id":135051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65eb76b0012d181e400721b050004e00c72a..."} 
[2026-07-15 18:49:04] local.INFO: Packet analysis {"connection_id":135051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65eb"} 
[2026-07-15 18:49:04] local.INFO: Extracted packet for processing {"connection_id":135051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65eb"} 
[2026-07-15 18:49:04] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648336,"longitude_deg":75.6555328,"latitude_deg":11.9648336,"altitude":78,"angle":199,"satellites":42,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 18:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735062272001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227977457106944,"note":"Value kept but may cause issues"} 
[2026-07-15 18:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585741824,"note":"Value kept but may cause issues"} 
[2026-07-15 18:49:04] 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-07-15 18:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784121358000,"timestamp_ms":1784121358000,"timestamp_seconds":1784121358,"priority":1,"record_length":96,"hex_timestamp":"0000019f65eb76b0"} 
[2026-07-15 18:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-15 18:49:04] 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-07-15 18:49:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":135051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":135051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":135051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735062272001,"66":12428,"120":206,"28":31744,"24":0,"16":6227977457106944,"45":1737896905585741824},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735062272001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:49:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:49:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227977457106944,"km_value":6227977457106.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585741824,"description":"Unknown IO ID 45"} 
[2026-07-15 18:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735062272001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585741824}} 
[2026-07-15 18:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":135051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:49:04] local.INFO: GPS data processed {"connection_id":135051,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:49:04] local.INFO: Acknowledgment sent {"connection_id":135051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:49:05] local.INFO: TCP Data received {"connection_id":132655,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:49:05] local.INFO: Processing buffer {"connection_id":132655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:49:05] local.INFO: IMEI packet received {"connection_id":132655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":132655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:49:06] local.INFO: TCP Data received {"connection_id":132655,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ed3400012d7ebfc005b8bf50000a00062e..."} 
[2026-07-15 18:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ed3400012d7ebfc005b8bf50000a00062e..."} 
[2026-07-15 18:49:06] local.INFO: Processing buffer {"connection_id":132655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ed3400012d7ebfc005b8bf50000a00062e..."} 
[2026-07-15 18:49:06] local.INFO: Packet analysis {"connection_id":132655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ed"} 
[2026-07-15 18:49:06] local.INFO: Extracted packet for processing {"connection_id":132655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ed"} 
[2026-07-15 18:49:06] local.INFO: GPS Element Parsed {"raw_longitude":763281344,"raw_latitude":95993680,"longitude_deg":76.3281344,"latitude_deg":9.599368,"altitude":10,"angle":6,"satellites":46,"speed":58,"hex_longitude":"2d7ebfc0","hex_latitude":"05b8bf50","is_valid_coordinates":true} 
[2026-07-15 18:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735095040001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347274584354979840,"note":"Value kept but may cause issues"} 
[2026-07-15 18:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9132103800228249600,"note":"Value kept but may cause issues"} 
[2026-07-15 18:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784121472000,"timestamp_ms":1784121472000,"timestamp_seconds":1784121472,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ed3400"} 
[2026-07-15 18:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-15 18:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:49:06] 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-07-15 18:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735095040001,"66":27767,"127":206,"85":12544,"24":58,"16":347274584354979840,"45":9132103800228249600},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-07-15 18:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735095040001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:49:06] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-07-15 18:49:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347274584354979840,"km_value":347274584354979.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9132103800228249600,"description":"Unknown IO ID 45"} 
[2026-07-15 18:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735095040001,"power":27767,"unknown_127":206,"unknown_85":12544,"ignition":58,"odometer":null,"unknown_45":9132103800228249600}} 
[2026-07-15 18:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":132655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:49:06] local.INFO: GPS data processed {"connection_id":132655,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:49:06] local.INFO: Acknowledgment sent {"connection_id":132655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:49:35] local.INFO: TCP Data received {"connection_id":135051,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ebc8b8012d181e400721b050004e00c729..."} 
[2026-07-15 18:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ebc8b8012d181e400721b050004e00c729..."} 
[2026-07-15 18:49:35] local.INFO: Processing buffer {"connection_id":135051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ebc8b8012d181e400721b050004e00c729..."} 
[2026-07-15 18:49:35] local.INFO: Packet analysis {"connection_id":135051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65eb"} 
[2026-07-15 18:49:35] local.INFO: Extracted packet for processing {"connection_id":135051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65eb"} 
[2026-07-15 18:49:35] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648336,"longitude_deg":75.6555328,"latitude_deg":11.9648336,"altitude":78,"angle":199,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 18:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735067648001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227977457106944,"note":"Value kept but may cause issues"} 
[2026-07-15 18:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585741824,"note":"Value kept but may cause issues"} 
[2026-07-15 18:49:35] 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-07-15 18:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784121379000,"timestamp_ms":1784121379000,"timestamp_seconds":1784121379,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ebc8b8"} 
[2026-07-15 18:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-15 18:49:35] 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-07-15 18:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":135051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":135051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":135051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735067648001,"66":11874,"120":206,"28":31744,"24":0,"16":6227977457106944,"45":1737896905585741824},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735067648001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:49:35] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:49:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227977457106944,"km_value":6227977457106.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585741824,"description":"Unknown IO ID 45"} 
[2026-07-15 18:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735067648001,"power":11874,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585741824}} 
[2026-07-15 18:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":135051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:49:35] local.INFO: GPS data processed {"connection_id":135051,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:49:35] local.INFO: Acknowledgment sent {"connection_id":135051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:49:37] local.INFO: TCP Data received {"connection_id":132655,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ed4b70012d7ec44005b8e290000a00072e..."} 
[2026-07-15 18:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ed4b70012d7ec44005b8e290000a00072e..."} 
[2026-07-15 18:49:37] local.INFO: Processing buffer {"connection_id":132655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ed4b70012d7ec44005b8e290000a00072e..."} 
[2026-07-15 18:49:37] local.INFO: Packet analysis {"connection_id":132655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ed"} 
[2026-07-15 18:49:37] local.INFO: Extracted packet for processing {"connection_id":132655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ed"} 
[2026-07-15 18:49:37] local.INFO: GPS Element Parsed {"raw_longitude":763282496,"raw_latitude":96002704,"longitude_deg":76.3282496,"latitude_deg":9.6002704,"altitude":10,"angle":7,"satellites":46,"speed":61,"hex_longitude":"2d7ec440","hex_latitude":"05b8e290","is_valid_coordinates":true} 
[2026-07-15 18:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735096832001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347275026736611328,"note":"Value kept but may cause issues"} 
[2026-07-15 18:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9133229700137570304,"note":"Value kept but may cause issues"} 
[2026-07-15 18:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784121478000,"timestamp_ms":1784121478000,"timestamp_seconds":1784121478,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ed4b70"} 
[2026-07-15 18:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 18:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:49:37] 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-07-15 18:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735096832001,"66":27800,"127":206,"85":12544,"24":61,"16":347275026736611328,"45":9133229700137570304},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-07-15 18:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735096832001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:49:37] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-07-15 18:49:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347275026736611328,"km_value":347275026736611.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9133229700137570304,"description":"Unknown IO ID 45"} 
[2026-07-15 18:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735096832001,"power":27800,"unknown_127":206,"unknown_85":12544,"ignition":61,"odometer":null,"unknown_45":9133229700137570304}} 
[2026-07-15 18:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":132655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:49:37] local.INFO: GPS data processed {"connection_id":132655,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:49:37] local.INFO: Acknowledgment sent {"connection_id":132655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:49:50] local.INFO: TCP Data received {"connection_id":132836,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:49:50] local.INFO: Processing buffer {"connection_id":132836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:49:50] local.INFO: IMEI packet received {"connection_id":132836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":132836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:49:55] local.INFO: TCP Data received {"connection_id":132836,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:49:55] local.INFO: Processing buffer {"connection_id":132836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:49:55] local.INFO: IMEI packet received {"connection_id":132836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":132836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:49:56] local.INFO: TCP Data received {"connection_id":132836,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ec1ac0012d181e400721b050004e00c729..."} 
[2026-07-15 18:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ec1ac0012d181e400721b050004e00c729..."} 
[2026-07-15 18:49:56] local.INFO: Processing buffer {"connection_id":132836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ec1ac0012d181e400721b050004e00c729..."} 
[2026-07-15 18:49:56] local.INFO: Packet analysis {"connection_id":132836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ec"} 
[2026-07-15 18:49:56] local.INFO: Extracted packet for processing {"connection_id":132836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ec"} 
[2026-07-15 18:49:56] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648336,"longitude_deg":75.6555328,"latitude_deg":11.9648336,"altitude":78,"angle":199,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735073024001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227977457106944,"note":"Value kept but may cause issues"} 
[2026-07-15 18:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585741824,"note":"Value kept but may cause issues"} 
[2026-07-15 18:49: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-07-15 18:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784121400000,"timestamp_ms":1784121400000,"timestamp_seconds":1784121400,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ec1ac0"} 
[2026-07-15 18:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:49:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18: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":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-15 18:49:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1310,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18: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-07-15 18:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735073024001,"66":12406,"120":206,"28":31744,"24":0,"16":6227977457106944,"45":1737896905585741824},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735073024001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:49:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:49:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227977457106944,"km_value":6227977457106.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585741824,"description":"Unknown IO ID 45"} 
[2026-07-15 18:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735073024001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585741824}} 
[2026-07-15 18:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":132836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:49:57] local.INFO: GPS data processed {"connection_id":132836,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:49:57] local.INFO: Acknowledgment sent {"connection_id":132836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:50:00] local.INFO: TCP Data received {"connection_id":132656,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:50:00] local.INFO: Processing buffer {"connection_id":132656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:50:00] local.INFO: IMEI packet received {"connection_id":132656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":132656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:50:05] local.INFO: TCP Data received {"connection_id":132656,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:50:05] local.INFO: Processing buffer {"connection_id":132656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:50:05] local.INFO: IMEI packet received {"connection_id":132656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":132656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:50:06] local.INFO: TCP Data received {"connection_id":132656,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ed66c8012d7ec94005b909d0000a00062e..."} 
[2026-07-15 18:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ed66c8012d7ec94005b909d0000a00062e..."} 
[2026-07-15 18:50:06] local.INFO: Processing buffer {"connection_id":132656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ed66c8012d7ec94005b909d0000a00062e..."} 
[2026-07-15 18:50:06] local.INFO: Packet analysis {"connection_id":132656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ed"} 
[2026-07-15 18:50:06] local.INFO: Extracted packet for processing {"connection_id":132656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ed"} 
[2026-07-15 18:50:06] local.INFO: GPS Element Parsed {"raw_longitude":763283776,"raw_latitude":96012752,"longitude_deg":76.3283776,"latitude_deg":9.6012752,"altitude":10,"angle":6,"satellites":46,"speed":54,"hex_longitude":"2d7ec940","hex_latitude":"05b909d0","is_valid_coordinates":true} 
[2026-07-15 18:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735098368001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347275516362883072,"note":"Value kept but may cause issues"} 
[2026-07-15 18:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9134496337535078400,"note":"Value kept but may cause issues"} 
[2026-07-15 18:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784121485000,"timestamp_ms":1784121485000,"timestamp_seconds":1784121485,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ed66c8"} 
[2026-07-15 18:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 18:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:50:06] 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-07-15 18:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735098368001,"66":27745,"127":206,"85":12544,"24":54,"16":347275516362883072,"45":9134496337535078400},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-07-15 18:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735098368001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:50:06] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-07-15 18:50:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347275516362883072,"km_value":347275516362883.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9134496337535078400,"description":"Unknown IO ID 45"} 
[2026-07-15 18:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735098368001,"power":27745,"unknown_127":206,"unknown_85":12544,"ignition":54,"odometer":null,"unknown_45":9134496337535078400}} 
[2026-07-15 18:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":132656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:50:06] local.INFO: GPS data processed {"connection_id":132656,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:50:06] local.INFO: Acknowledgment sent {"connection_id":132656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:50:28] local.INFO: TCP Data received {"connection_id":132836,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ec6cc8012d181e400721b050004e00c728..."} 
[2026-07-15 18:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ec6cc8012d181e400721b050004e00c728..."} 
[2026-07-15 18:50:28] local.INFO: Processing buffer {"connection_id":132836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ec6cc8012d181e400721b050004e00c728..."} 
[2026-07-15 18:50:28] local.INFO: Packet analysis {"connection_id":132836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ec"} 
[2026-07-15 18:50:28] local.INFO: Extracted packet for processing {"connection_id":132836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ec"} 
[2026-07-15 18:50:28] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648336,"longitude_deg":75.6555328,"latitude_deg":11.9648336,"altitude":78,"angle":199,"satellites":40,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 18:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735078400001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227977457106944,"note":"Value kept but may cause issues"} 
[2026-07-15 18:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585741824,"note":"Value kept but may cause issues"} 
[2026-07-15 18:50: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-07-15 18:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784121421000,"timestamp_ms":1784121421000,"timestamp_seconds":1784121421,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ec6cc8"} 
[2026-07-15 18:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:50:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 18:50:28] 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-07-15 18:50:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735078400001,"66":12287,"120":206,"28":31744,"24":0,"16":6227977457106944,"45":1737896905585741824},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735078400001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:50:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:50:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227977457106944,"km_value":6227977457106.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585741824,"description":"Unknown IO ID 45"} 
[2026-07-15 18:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735078400001,"power":12287,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585741824}} 
[2026-07-15 18:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":132836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:50:28] local.INFO: GPS data processed {"connection_id":132836,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:50:28] local.INFO: Acknowledgment sent {"connection_id":132836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:50:37] local.INFO: TCP Data received {"connection_id":132656,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ed8220012d7ecc8005b92d38000a00032a..."} 
[2026-07-15 18:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ed8220012d7ecc8005b92d38000a00032a..."} 
[2026-07-15 18:50:37] local.INFO: Processing buffer {"connection_id":132656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ed8220012d7ecc8005b92d38000a00032a..."} 
[2026-07-15 18:50:37] local.INFO: Packet analysis {"connection_id":132656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ed"} 
[2026-07-15 18:50:37] local.INFO: Extracted packet for processing {"connection_id":132656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ed"} 
[2026-07-15 18:50:37] local.INFO: GPS Element Parsed {"raw_longitude":763284608,"raw_latitude":96021816,"longitude_deg":76.3284608,"latitude_deg":9.6021816,"altitude":10,"angle":3,"satellites":42,"speed":46,"hex_longitude":"2d7ecc80","hex_latitude":"05b92d38","is_valid_coordinates":true} 
[2026-07-15 18:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735100160001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347275958744514560,"note":"Value kept but may cause issues"} 
[2026-07-15 18:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9135903712421203968,"note":"Value kept but may cause issues"} 
[2026-07-15 18:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784121492000,"timestamp_ms":1784121492000,"timestamp_seconds":1784121492,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ed8220"} 
[2026-07-15 18:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-15 18:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:50:37] 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-07-15 18:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735100160001,"66":27800,"127":206,"85":12544,"24":46,"16":347275958744514560,"45":9135903712421203968},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-07-15 18:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735100160001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:50:37] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-07-15 18:50:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347275958744514560,"km_value":347275958744514.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9135903712421203968,"description":"Unknown IO ID 45"} 
[2026-07-15 18:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735100160001,"power":27800,"unknown_127":206,"unknown_85":12544,"ignition":46,"odometer":null,"unknown_45":9135903712421203968}} 
[2026-07-15 18:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":132656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:50:37] local.INFO: GPS data processed {"connection_id":132656,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:50:37] local.INFO: Acknowledgment sent {"connection_id":132656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:50:48] local.INFO: TCP Data received {"connection_id":132657,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:50:48] local.INFO: Processing buffer {"connection_id":132657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:50:48] local.INFO: IMEI packet received {"connection_id":132657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":132657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:50:50] local.INFO: TCP Data received {"connection_id":132657,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:50:50] local.INFO: Processing buffer {"connection_id":132657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:50:50] local.INFO: IMEI packet received {"connection_id":132657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":132657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:50:55] local.INFO: TCP Data received {"connection_id":132657,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:50:55] local.INFO: Processing buffer {"connection_id":132657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:50:55] local.INFO: IMEI packet received {"connection_id":132657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":132657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:50:56] local.INFO: TCP Data received {"connection_id":132657,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ecbed0012d181e400721b050004e00c72a..."} 
[2026-07-15 18:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ecbed0012d181e400721b050004e00c72a..."} 
[2026-07-15 18:50:56] local.INFO: Processing buffer {"connection_id":132657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ecbed0012d181e400721b050004e00c72a..."} 
[2026-07-15 18:50:56] local.INFO: Packet analysis {"connection_id":132657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ec"} 
[2026-07-15 18:50:56] local.INFO: Extracted packet for processing {"connection_id":132657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ec"} 
[2026-07-15 18:50:56] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648336,"longitude_deg":75.6555328,"latitude_deg":11.9648336,"altitude":78,"angle":199,"satellites":42,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735083776001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227977457106944,"note":"Value kept but may cause issues"} 
[2026-07-15 18:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585741824,"note":"Value kept but may cause issues"} 
[2026-07-15 18:50: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-07-15 18:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784121442000,"timestamp_ms":1784121442000,"timestamp_seconds":1784121442,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ecbed0"} 
[2026-07-15 18:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:50:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-15 18:50:56] 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-07-15 18: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-07-15 18:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735083776001,"66":11961,"120":206,"28":31744,"24":0,"16":6227977457106944,"45":1737896905585741824},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735083776001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:50:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:50:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227977457106944,"km_value":6227977457106.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585741824,"description":"Unknown IO ID 45"} 
[2026-07-15 18:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735083776001,"power":11961,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585741824}} 
[2026-07-15 18:50:57] local.INFO: DEBUG: GPS processor result {"connection_id":132657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:50:57] local.INFO: GPS data processed {"connection_id":132657,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:50:57] local.INFO: Acknowledgment sent {"connection_id":132657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:51:03] local.INFO: TCP Data received {"connection_id":132837,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:51:03] local.INFO: Processing buffer {"connection_id":132837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:51:03] local.INFO: IMEI packet received {"connection_id":132837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":132837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:51:05] local.INFO: TCP Data received {"connection_id":132837,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:51:05] local.INFO: Processing buffer {"connection_id":132837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:51:05] local.INFO: IMEI packet received {"connection_id":132837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":132837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:51:10] local.INFO: TCP Data received {"connection_id":132837,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:51:10] local.INFO: Processing buffer {"connection_id":132837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:51:10] local.INFO: IMEI packet received {"connection_id":132837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":132837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:51:11] local.INFO: TCP Data received {"connection_id":132837,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ef1090012d7f03c005ba94b0000800082c..."} 
[2026-07-15 18:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ef1090012d7f03c005ba94b0000800082c..."} 
[2026-07-15 18:51:11] local.INFO: Processing buffer {"connection_id":132837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ef1090012d7f03c005ba94b0000800082c..."} 
[2026-07-15 18:51:11] local.INFO: Packet analysis {"connection_id":132837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ef"} 
[2026-07-15 18:51:11] local.INFO: Extracted packet for processing {"connection_id":132837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ef"} 
[2026-07-15 18:51:11] local.INFO: GPS Element Parsed {"raw_longitude":763298752,"raw_latitude":96113840,"longitude_deg":76.3298752,"latitude_deg":9.611384,"altitude":8,"angle":8,"satellites":44,"speed":43,"hex_longitude":"2d7f03c0","hex_latitude":"05ba94b0","is_valid_coordinates":true} 
[2026-07-15 18:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735125760001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347280477050109952,"note":"Value kept but may cause issues"} 
[2026-07-15 18:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9150892254954553344,"note":"Value kept but may cause issues"} 
[2026-07-15 18:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784121594000,"timestamp_ms":1784121594000,"timestamp_seconds":1784121594,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ef1090"} 
[2026-07-15 18:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 18:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:51:11] 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-07-15 18:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735125760001,"66":27626,"120":206,"85":12544,"24":43,"16":347280477050109952,"45":9150892254954553344},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-07-15 18:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735125760001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:51:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:51:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347280477050109952,"km_value":347280477050109.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9150892254954553344,"description":"Unknown IO ID 45"} 
[2026-07-15 18:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735125760001,"power":27626,"unknown_120":206,"unknown_85":12544,"ignition":43,"odometer":null,"unknown_45":9150892254954553344}} 
[2026-07-15 18:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":132837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:51:11] local.INFO: GPS data processed {"connection_id":132837,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:51:11] local.INFO: Acknowledgment sent {"connection_id":132837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:51:12] local.INFO: TCP Data received {"connection_id":132837,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ef3f70012d7f094005bab878000800082c..."} 
[2026-07-15 18:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ef3f70012d7f094005bab878000800082c..."} 
[2026-07-15 18:51:12] local.INFO: Processing buffer {"connection_id":132837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ef3f70012d7f094005bab878000800082c..."} 
[2026-07-15 18:51:12] local.INFO: Packet analysis {"connection_id":132837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ef"} 
[2026-07-15 18:51:12] local.INFO: Extracted packet for processing {"connection_id":132837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ef"} 
[2026-07-15 18:51:12] local.INFO: GPS Element Parsed {"raw_longitude":763300160,"raw_latitude":96123000,"longitude_deg":76.330016,"latitude_deg":9.6123,"altitude":8,"angle":8,"satellites":44,"speed":27,"hex_longitude":"2d7f0940","hex_latitude":"05bab878","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735128064001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347280928021676032,"note":"Value kept but may cause issues"} 
[2026-07-15 18:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9152369998584655872,"note":"Value kept but may cause issues"} 
[2026-07-15 18:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784121606000,"timestamp_ms":1784121606000,"timestamp_seconds":1784121606,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ef3f70"} 
[2026-07-15 18:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-15 18:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18: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-07-15 18:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:51:12] 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-07-15 18:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735128064001,"66":27800,"120":206,"85":12544,"24":27,"16":347280928021676032,"45":9152369998584655872},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-07-15 18:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735128064001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:51:12] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:51:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347280928021676032,"km_value":347280928021676.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9152369998584655872,"description":"Unknown IO ID 45"} 
[2026-07-15 18:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735128064001,"power":27800,"unknown_120":206,"unknown_85":12544,"ignition":27,"odometer":null,"unknown_45":9152369998584655872}} 
[2026-07-15 18:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":132837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:51:12] local.INFO: GPS data processed {"connection_id":132837,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:51:12] local.INFO: Acknowledgment sent {"connection_id":132837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:51:28] local.INFO: TCP Data received {"connection_id":132657,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ed10d8012d181e400721b050004e00c72a..."} 
[2026-07-15 18:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ed10d8012d181e400721b050004e00c72a..."} 
[2026-07-15 18:51:28] local.INFO: Processing buffer {"connection_id":132657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ed10d8012d181e400721b050004e00c72a..."} 
[2026-07-15 18:51:28] local.INFO: Packet analysis {"connection_id":132657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ed"} 
[2026-07-15 18:51:28] local.INFO: Extracted packet for processing {"connection_id":132657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ed"} 
[2026-07-15 18:51:28] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648336,"longitude_deg":75.6555328,"latitude_deg":11.9648336,"altitude":78,"angle":199,"satellites":42,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735089152001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227977457106944,"note":"Value kept but may cause issues"} 
[2026-07-15 18:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585741824,"note":"Value kept but may cause issues"} 
[2026-07-15 18:51: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-07-15 18:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784121463000,"timestamp_ms":1784121463000,"timestamp_seconds":1784121463,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ed10d8"} 
[2026-07-15 18:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:51:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18: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":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-15 18:51:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2093,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18: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-07-15 18:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:51:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735089152001,"66":12428,"120":206,"28":31744,"24":0,"16":6227977457106944,"45":1737896905585741824},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735089152001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:51:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:51:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227977457106944,"km_value":6227977457106.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585741824,"description":"Unknown IO ID 45"} 
[2026-07-15 18:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735089152001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585741824}} 
[2026-07-15 18:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":132657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:51:28] local.INFO: GPS data processed {"connection_id":132657,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:51:28] local.INFO: Acknowledgment sent {"connection_id":132657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:51:42] local.INFO: TCP Data received {"connection_id":132837,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ef6680012d7f0f8005badb580008000a29..."} 
[2026-07-15 18:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ef6680012d7f0f8005badb580008000a29..."} 
[2026-07-15 18:51:42] local.INFO: Processing buffer {"connection_id":132837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ef6680012d7f0f8005badb580008000a29..."} 
[2026-07-15 18:51:42] local.INFO: Packet analysis {"connection_id":132837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ef"} 
[2026-07-15 18:51:42] local.INFO: Extracted packet for processing {"connection_id":132837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ef"} 
[2026-07-15 18:51:42] local.INFO: GPS Element Parsed {"raw_longitude":763301760,"raw_latitude":96131928,"longitude_deg":76.330176,"latitude_deg":9.6131928,"altitude":8,"angle":10,"satellites":41,"speed":42,"hex_longitude":"2d7f0f80","hex_latitude":"05badb58","is_valid_coordinates":true} 
[2026-07-15 18:51: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-07-15 18:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735131136001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347281366108340224,"note":"Value kept but may cause issues"} 
[2026-07-15 18:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9153918110958909440,"note":"Value kept but may cause issues"} 
[2026-07-15 18:51:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784121616000,"timestamp_ms":1784121616000,"timestamp_seconds":1784121616,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ef6680"} 
[2026-07-15 18:51:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:51:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 18:51:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:51:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:51:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":132837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":132837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":132837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:51:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735131136001,"66":27571,"120":206,"85":12544,"24":42,"16":347281366108340224,"45":9153918110958909440},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-07-15 18:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735131136001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:51:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:51:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347281366108340224,"km_value":347281366108340.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:51:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9153918110958909440,"description":"Unknown IO ID 45"} 
[2026-07-15 18:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735131136001,"power":27571,"unknown_120":206,"unknown_85":12544,"ignition":42,"odometer":null,"unknown_45":9153918110958909440}} 
[2026-07-15 18:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":132837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:51:43] local.INFO: GPS data processed {"connection_id":132837,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:51:43] local.INFO: Acknowledgment sent {"connection_id":132837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:51:50] local.INFO: TCP Data received {"connection_id":135053,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:51:50] local.INFO: Processing buffer {"connection_id":135053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:51:50] local.INFO: IMEI packet received {"connection_id":135053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":135053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:51:51] local.INFO: TCP Data received {"connection_id":135053,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:51:51] local.INFO: Processing buffer {"connection_id":135053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:51:51] local.INFO: IMEI packet received {"connection_id":135053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":135053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:51:55] local.INFO: TCP Data received {"connection_id":135053,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:51:55] local.INFO: Processing buffer {"connection_id":135053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:51:55] local.INFO: IMEI packet received {"connection_id":135053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":135053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:51:57] local.INFO: TCP Data received {"connection_id":135053,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ed62e0012d181e400721b050004e00c72a..."} 
[2026-07-15 18:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ed62e0012d181e400721b050004e00c72a..."} 
[2026-07-15 18:51:57] local.INFO: Processing buffer {"connection_id":135053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ed62e0012d181e400721b050004e00c72a..."} 
[2026-07-15 18:51:57] local.INFO: Packet analysis {"connection_id":135053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ed"} 
[2026-07-15 18:51:57] local.INFO: Extracted packet for processing {"connection_id":135053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ed"} 
[2026-07-15 18:51:57] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648336,"longitude_deg":75.6555328,"latitude_deg":11.9648336,"altitude":78,"angle":199,"satellites":42,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 18:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:51:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735094528001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:51:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227977457106944,"note":"Value kept but may cause issues"} 
[2026-07-15 18:51:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585741824,"note":"Value kept but may cause issues"} 
[2026-07-15 18:51:57] 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-07-15 18:51:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784121484000,"timestamp_ms":1784121484000,"timestamp_seconds":1784121484,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ed62e0"} 
[2026-07-15 18:51:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:51:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-15 18:51:57] 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-07-15 18:51:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:51:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:51:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:51:57] local.INFO: Teltonika packet parsed successfully {"connection_id":135053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:51:57] local.INFO: Passing IMEI to GPS processor {"connection_id":135053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:51:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":135053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:51:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:51:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:51:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:51:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735094528001,"66":12341,"120":206,"28":31744,"24":0,"16":6227977457106944,"45":1737896905585741824},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:51:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:51:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:51:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735094528001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:51:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:51:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:51:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227977457106944,"km_value":6227977457106.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:51:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585741824,"description":"Unknown IO ID 45"} 
[2026-07-15 18:51:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735094528001,"power":12341,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585741824}} 
[2026-07-15 18:51:57] local.INFO: DEBUG: GPS processor result {"connection_id":135053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:51:57] local.INFO: GPS data processed {"connection_id":135053,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:51:57] local.INFO: Acknowledgment sent {"connection_id":135053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:51:59] local.INFO: TCP Data received {"connection_id":132659,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:51:59] local.INFO: Processing buffer {"connection_id":132659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:51:59] local.INFO: IMEI packet received {"connection_id":132659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":132659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:52:00] local.INFO: TCP Data received {"connection_id":132659,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:52:00] local.INFO: Processing buffer {"connection_id":132659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:52:00] local.INFO: IMEI packet received {"connection_id":132659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":132659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:52:05] local.INFO: TCP Data received {"connection_id":132659,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:52:05] local.INFO: Processing buffer {"connection_id":132659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:52:05] local.INFO: IMEI packet received {"connection_id":132659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":132659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:52:06] local.INFO: TCP Data received {"connection_id":132659,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ef89a8012d7f160005bb0170000900092a..."} 
[2026-07-15 18:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ef89a8012d7f160005bb0170000900092a..."} 
[2026-07-15 18:52:06] local.INFO: Processing buffer {"connection_id":132659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ef89a8012d7f160005bb0170000900092a..."} 
[2026-07-15 18:52:06] local.INFO: Packet analysis {"connection_id":132659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ef"} 
[2026-07-15 18:52:06] local.INFO: Extracted packet for processing {"connection_id":132659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ef"} 
[2026-07-15 18:52:06] local.INFO: GPS Element Parsed {"raw_longitude":763303424,"raw_latitude":96141680,"longitude_deg":76.3303424,"latitude_deg":9.614168,"altitude":9,"angle":9,"satellites":42,"speed":45,"hex_longitude":"2d7f1600","hex_latitude":"05bb0170","is_valid_coordinates":true} 
[2026-07-15 18:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735133696001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347281847144677376,"note":"Value kept but may cause issues"} 
[2026-07-15 18:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9155677329565636608,"note":"Value kept but may cause issues"} 
[2026-07-15 18:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784121625000,"timestamp_ms":1784121625000,"timestamp_seconds":1784121625,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ef89a8"} 
[2026-07-15 18:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-15 18:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:52:06] 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-07-15 18:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735133696001,"66":27745,"120":206,"85":12544,"24":45,"16":347281847144677376,"45":9155677329565636608},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-07-15 18:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735133696001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:52:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:52:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347281847144677376,"km_value":347281847144677.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9155677329565636608,"description":"Unknown IO ID 45"} 
[2026-07-15 18:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735133696001,"power":27745,"unknown_120":206,"unknown_85":12544,"ignition":45,"odometer":null,"unknown_45":9155677329565636608}} 
[2026-07-15 18:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":132659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:52:06] local.INFO: GPS data processed {"connection_id":132659,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:52:06] local.INFO: Acknowledgment sent {"connection_id":132659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:52:29] local.INFO: TCP Data received {"connection_id":135053,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65edb4e8012d181e400721b050004e00c72b..."} 
[2026-07-15 18:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65edb4e8012d181e400721b050004e00c72b..."} 
[2026-07-15 18:52:29] local.INFO: Processing buffer {"connection_id":135053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65edb4e8012d181e400721b050004e00c72b..."} 
[2026-07-15 18:52:29] local.INFO: Packet analysis {"connection_id":135053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ed"} 
[2026-07-15 18:52:29] local.INFO: Extracted packet for processing {"connection_id":135053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ed"} 
[2026-07-15 18:52:29] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648336,"longitude_deg":75.6555328,"latitude_deg":11.9648336,"altitude":78,"angle":199,"satellites":43,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 18:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:52:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735099904001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:52:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227977457106944,"note":"Value kept but may cause issues"} 
[2026-07-15 18:52:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585741824,"note":"Value kept but may cause issues"} 
[2026-07-15 18:52:29] 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-07-15 18:52:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784121505000,"timestamp_ms":1784121505000,"timestamp_seconds":1784121505,"priority":1,"record_length":96,"hex_timestamp":"0000019f65edb4e8"} 
[2026-07-15 18:52:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:52:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-15 18:52:29] 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-07-15 18:52:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:52:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:52:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:52:29] local.INFO: Teltonika packet parsed successfully {"connection_id":135053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:52:29] local.INFO: Passing IMEI to GPS processor {"connection_id":135053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:52:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":135053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:52:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:52:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:52:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:52:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735099904001,"66":12298,"120":206,"28":31744,"24":0,"16":6227977457106944,"45":1737896905585741824},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:52:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:52:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:52:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735099904001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:52:29] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:52:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:52:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227977457106944,"km_value":6227977457106.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:52:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585741824,"description":"Unknown IO ID 45"} 
[2026-07-15 18:52:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735099904001,"power":12298,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585741824}} 
[2026-07-15 18:52:29] local.INFO: DEBUG: GPS processor result {"connection_id":135053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:52:29] local.INFO: GPS data processed {"connection_id":135053,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:52:29] local.INFO: Acknowledgment sent {"connection_id":135053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:52:37] local.INFO: TCP Data received {"connection_id":132659,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65efa8e8012d7f1bc005bb25b0000900072a..."} 
[2026-07-15 18:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65efa8e8012d7f1bc005bb25b0000900072a..."} 
[2026-07-15 18:52:37] local.INFO: Processing buffer {"connection_id":132659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65efa8e8012d7f1bc005bb25b0000900072a..."} 
[2026-07-15 18:52:37] local.INFO: Packet analysis {"connection_id":132659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ef"} 
[2026-07-15 18:52:37] local.INFO: Extracted packet for processing {"connection_id":132659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ef"} 
[2026-07-15 18:52:37] local.INFO: GPS Element Parsed {"raw_longitude":763304896,"raw_latitude":96150960,"longitude_deg":76.3304896,"latitude_deg":9.615096,"altitude":9,"angle":7,"satellites":42,"speed":44,"hex_longitude":"2d7f1bc0","hex_latitude":"05bb25b0","is_valid_coordinates":true} 
[2026-07-15 18:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735136000001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347282302411210752,"note":"Value kept but may cause issues"} 
[2026-07-15 18:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9157506916916752384,"note":"Value kept but may cause issues"} 
[2026-07-15 18:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784121633000,"timestamp_ms":1784121633000,"timestamp_seconds":1784121633,"priority":1,"record_length":96,"hex_timestamp":"0000019f65efa8e8"} 
[2026-07-15 18:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-15 18:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:52:37] 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-07-15 18:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735136000001,"66":27767,"120":206,"85":12544,"24":44,"16":347282302411210752,"45":9157506916916752384},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-07-15 18:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735136000001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:52:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:52:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347282302411210752,"km_value":347282302411210.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9157506916916752384,"description":"Unknown IO ID 45"} 
[2026-07-15 18:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735136000001,"power":27767,"unknown_120":206,"unknown_85":12544,"ignition":44,"odometer":null,"unknown_45":9157506916916752384}} 
[2026-07-15 18:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":132659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:52:37] local.INFO: GPS data processed {"connection_id":132659,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:52:37] local.INFO: Acknowledgment sent {"connection_id":132659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:52:50] local.INFO: TCP Data received {"connection_id":133685,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:52:50] local.INFO: Processing buffer {"connection_id":133685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:52:50] local.INFO: IMEI packet received {"connection_id":133685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":133685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:52:54] local.INFO: TCP Data received {"connection_id":132660,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132660,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:52:54] local.INFO: Processing buffer {"connection_id":132660,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:52:54] local.INFO: IMEI packet received {"connection_id":132660,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 18:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":132660,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:52:55] local.INFO: TCP Data received {"connection_id":133685,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:52:55] local.INFO: Processing buffer {"connection_id":133685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:52:55] local.INFO: IMEI packet received {"connection_id":133685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":133685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:52:55] local.INFO: TCP Data received {"connection_id":133685,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:52:55] local.INFO: Processing buffer {"connection_id":133685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:52:55] local.INFO: IMEI packet received {"connection_id":133685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":133685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:52:56] local.INFO: TCP Data received {"connection_id":133685,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ee06f0012d181e400721b050004e00c727..."} 
[2026-07-15 18:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ee06f0012d181e400721b050004e00c727..."} 
[2026-07-15 18:52:56] local.INFO: Processing buffer {"connection_id":133685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ee06f0012d181e400721b050004e00c727..."} 
[2026-07-15 18:52:56] local.INFO: Packet analysis {"connection_id":133685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ee"} 
[2026-07-15 18:52:56] local.INFO: Extracted packet for processing {"connection_id":133685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ee"} 
[2026-07-15 18:52:56] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648336,"longitude_deg":75.6555328,"latitude_deg":11.9648336,"altitude":78,"angle":199,"satellites":39,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 18:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735105280001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227977457106944,"note":"Value kept but may cause issues"} 
[2026-07-15 18:52:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585741824,"note":"Value kept but may cause issues"} 
[2026-07-15 18:52: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-07-15 18:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784121526000,"timestamp_ms":1784121526000,"timestamp_seconds":1784121526,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ee06f0"} 
[2026-07-15 18:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:52:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-15 18:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-15 18:52:56] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-07-15 18:52:56] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452310,"note":"Value kept but may cause issues"} 
[2026-07-15 18:52:56] local.WARNING: Large IO value detected {"io_id":32,"raw_value":5764607523034234881,"note":"Value kept but may cause issues"} 
[2026-07-15 18:52:56] local.WARNING: Large IO value detected {"io_id":159,"raw_value":7344094115663779870,"note":"Value kept but may cause issues"} 
[2026-07-15 18:52:56] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513885690145931463,"note":"Value kept but may cause issues"} 
[2026-07-15 18:52:56] local.WARNING: Large IO value detected {"io_id":78,"raw_value":56058600342159360,"note":"Value kept but may cause issues"} 
[2026-07-15 18:52:56] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-07-15 18:52:56] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3342234757814026446,"note":"Value kept but may cause issues"} 
[2026-07-15 18:52:56] local.WARNING: Large IO value detected {"io_id":101,"raw_value":3966552065,"note":"Value kept but may cause issues"} 
[2026-07-15 18:52:56] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2958032974,"note":"Value kept but may cause issues"} 
[2026-07-15 18:52:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-15 18:52:56] local.WARNING: Large IO value detected {"io_id":26,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-07-15 18:52:56] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,120,28,24,241,158,16,32,159,98,45,64,176,78,42,10,66,190,1,240,185,101,33,4,113,205,26,30,80,41,239,48,2,22,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-15 18:52:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620711322455900160,"timestamp_seconds":5620711322455900.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 18:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:52:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735105280001,"66":12374,"120":206,"28":31744,"24":0,"16":6227977457106944,"45":1737896905585741824},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735105280001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:52:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:52:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227977457106944,"km_value":6227977457106.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:52:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585741824,"description":"Unknown IO ID 45"} 
[2026-07-15 18:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735105280001,"power":12374,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585741824}} 
[2026-07-15 18:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":133685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:52:56] local.INFO: GPS data processed {"connection_id":133685,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:52:56] local.INFO: Acknowledgment sent {"connection_id":133685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:53:00] local.INFO: TCP Data received {"connection_id":133685,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ee58f8012d181e400721b050004e00c726..."} 
[2026-07-15 18:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ee58f8012d181e400721b050004e00c726..."} 
[2026-07-15 18:53:00] local.INFO: Processing buffer {"connection_id":133685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ee58f8012d181e400721b050004e00c726..."} 
[2026-07-15 18:53:00] local.INFO: Packet analysis {"connection_id":133685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ee"} 
[2026-07-15 18:53:00] local.INFO: Extracted packet for processing {"connection_id":133685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ee"} 
[2026-07-15 18:53:00] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648336,"longitude_deg":75.6555328,"latitude_deg":11.9648336,"altitude":78,"angle":199,"satellites":38,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 18:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735110656001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227977457106944,"note":"Value kept but may cause issues"} 
[2026-07-15 18:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585741824,"note":"Value kept but may cause issues"} 
[2026-07-15 18:53:00] 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-07-15 18:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784121547000,"timestamp_ms":1784121547000,"timestamp_seconds":1784121547,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ee58f8"} 
[2026-07-15 18:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-15 18:53:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:53:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":133685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":133685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":133685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:53:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735110656001,"66":12406,"120":206,"28":31744,"24":0,"16":6227977457106944,"45":1737896905585741824},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735110656001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:53:00] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:53:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227977457106944,"km_value":6227977457106.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585741824,"description":"Unknown IO ID 45"} 
[2026-07-15 18:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735110656001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585741824}} 
[2026-07-15 18:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":133685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:53:00] local.INFO: GPS data processed {"connection_id":133685,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:53:00] local.INFO: Acknowledgment sent {"connection_id":133685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:53:00] local.INFO: TCP Data received {"connection_id":133686,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:53:00] local.INFO: Processing buffer {"connection_id":133686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:53:00] local.INFO: IMEI packet received {"connection_id":133686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":133686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:53:01] local.INFO: TCP Data received {"connection_id":133686,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:53:01] local.INFO: Processing buffer {"connection_id":133686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:53:01] local.INFO: IMEI packet received {"connection_id":133686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":133686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:53:05] local.INFO: TCP Data received {"connection_id":133686,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:53:05] local.INFO: Processing buffer {"connection_id":133686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:53:05] local.INFO: IMEI packet received {"connection_id":133686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":133686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:53:06] local.INFO: TCP Data received {"connection_id":133686,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65f0ed20012d7f5c4005bc83b0000a01672d..."} 
[2026-07-15 18:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65f0ed20012d7f5c4005bc83b0000a01672d..."} 
[2026-07-15 18:53:06] local.INFO: Processing buffer {"connection_id":133686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65f0ed20012d7f5c4005bc83b0000a01672d..."} 
[2026-07-15 18:53:06] local.INFO: Packet analysis {"connection_id":133686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65f0"} 
[2026-07-15 18:53:06] local.INFO: Extracted packet for processing {"connection_id":133686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65f0"} 
[2026-07-15 18:53:06] local.INFO: GPS Element Parsed {"raw_longitude":763321408,"raw_latitude":96240560,"longitude_deg":76.3321408,"latitude_deg":9.624056,"altitude":10,"angle":359,"satellites":45,"speed":34,"hex_longitude":"2d7f5c40","hex_latitude":"05bc83b0","is_valid_coordinates":true} 
[2026-07-15 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-07-15 18:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735157504001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347286730522492928,"note":"Value kept but may cause issues"} 
[2026-07-15 18:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9176084265403002880,"note":"Value kept but may cause issues"} 
[2026-07-15 18:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784121716000,"timestamp_ms":1784121716000,"timestamp_seconds":1784121716,"priority":1,"record_length":96,"hex_timestamp":"0000019f65f0ed20"} 
[2026-07-15 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-07-15 18:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-15 18:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 18:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:53:06] 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-07-15 18:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735157504001,"66":27767,"121":206,"85":12544,"24":34,"16":347286730522492928,"45":9176084265403002880},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-07-15 18:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735157504001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:53:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 18:53:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347286730522492928,"km_value":347286730522492.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9176084265403002880,"description":"Unknown IO ID 45"} 
[2026-07-15 18:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735157504001,"power":27767,"unknown_121":206,"unknown_85":12544,"ignition":34,"odometer":null,"unknown_45":9176084265403002880}} 
[2026-07-15 18:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":133686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:53:06] local.INFO: GPS data processed {"connection_id":133686,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:53:06] local.INFO: Acknowledgment sent {"connection_id":133686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:53:32] local.INFO: TCP Data received {"connection_id":133685,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65eeab00012d181e400721b050004e00c727..."} 
[2026-07-15 18:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65eeab00012d181e400721b050004e00c727..."} 
[2026-07-15 18:53:32] local.INFO: Processing buffer {"connection_id":133685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65eeab00012d181e400721b050004e00c727..."} 
[2026-07-15 18:53:32] local.INFO: Packet analysis {"connection_id":133685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ee"} 
[2026-07-15 18:53:32] local.INFO: Extracted packet for processing {"connection_id":133685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ee"} 
[2026-07-15 18:53:32] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648336,"longitude_deg":75.6555328,"latitude_deg":11.9648336,"altitude":78,"angle":199,"satellites":39,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 18:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735116032001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227977457106944,"note":"Value kept but may cause issues"} 
[2026-07-15 18:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585741824,"note":"Value kept but may cause issues"} 
[2026-07-15 18:53:32] 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-07-15 18:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784121568000,"timestamp_ms":1784121568000,"timestamp_seconds":1784121568,"priority":1,"record_length":96,"hex_timestamp":"0000019f65eeab00"} 
[2026-07-15 18:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 18:53:32] 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-07-15 18:53:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":133685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":133685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":133685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735116032001,"66":12374,"120":206,"28":31744,"24":0,"16":6227977457106944,"45":1737896905585741824},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735116032001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:53:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:53:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227977457106944,"km_value":6227977457106.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585741824,"description":"Unknown IO ID 45"} 
[2026-07-15 18:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735116032001,"power":12374,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585741824}} 
[2026-07-15 18:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":133685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:53:32] local.INFO: GPS data processed {"connection_id":133685,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:53:32] local.INFO: Acknowledgment sent {"connection_id":133685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:53:34] local.INFO: TCP Data received {"connection_id":132661,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132661,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:53:34] local.INFO: Processing buffer {"connection_id":132661,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:53:34] local.INFO: IMEI packet received {"connection_id":132661,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 18:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":132661,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:53:37] local.INFO: TCP Data received {"connection_id":133686,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65f10490012d7f5cc005bc97d0000900092c..."} 
[2026-07-15 18:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65f10490012d7f5cc005bc97d0000900092c..."} 
[2026-07-15 18:53:37] local.INFO: Processing buffer {"connection_id":133686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65f10490012d7f5cc005bc97d0000900092c..."} 
[2026-07-15 18:53:37] local.INFO: Packet analysis {"connection_id":133686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65f1"} 
[2026-07-15 18:53:37] local.INFO: Extracted packet for processing {"connection_id":133686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65f1"} 
[2026-07-15 18:53:37] local.INFO: GPS Element Parsed {"raw_longitude":763321536,"raw_latitude":96245712,"longitude_deg":76.3321536,"latitude_deg":9.6245712,"altitude":9,"angle":9,"satellites":44,"speed":34,"hex_longitude":"2d7f5cc0","hex_latitude":"05bc97d0","is_valid_coordinates":true} 
[2026-07-15 18:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735159296001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347286979630596096,"note":"Value kept but may cause issues"} 
[2026-07-15 18:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9177280534055989248,"note":"Value kept but may cause issues"} 
[2026-07-15 18:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784121722000,"timestamp_ms":1784121722000,"timestamp_seconds":1784121722,"priority":1,"record_length":96,"hex_timestamp":"0000019f65f10490"} 
[2026-07-15 18:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 18:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:53:37] 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-07-15 18:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735159296001,"66":27745,"121":206,"85":12544,"24":34,"16":347286979630596096,"45":9177280534055989248},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-07-15 18:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735159296001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:53:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 18:53:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347286979630596096,"km_value":347286979630596.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9177280534055989248,"description":"Unknown IO ID 45"} 
[2026-07-15 18:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735159296001,"power":27745,"unknown_121":206,"unknown_85":12544,"ignition":34,"odometer":null,"unknown_45":9177280534055989248}} 
[2026-07-15 18:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":133686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:53:37] local.INFO: GPS data processed {"connection_id":133686,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:53:37] local.INFO: Acknowledgment sent {"connection_id":133686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:53:55] local.INFO: TCP Data received {"connection_id":135054,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135054,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:53:55] local.INFO: Processing buffer {"connection_id":135054,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:53:55] local.INFO: IMEI packet received {"connection_id":135054,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":135054,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:53:57] local.INFO: TCP Data received {"connection_id":135054,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135054,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:53:57] local.INFO: Processing buffer {"connection_id":135054,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:53:57] local.INFO: IMEI packet received {"connection_id":135054,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":135054,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:53:59] local.INFO: TCP Data received {"connection_id":135054,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65eefd08012d181e400721b050004e00c729..."} 
[2026-07-15 18:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65eefd08012d181e400721b050004e00c729..."} 
[2026-07-15 18:53:59] local.INFO: Processing buffer {"connection_id":135054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65eefd08012d181e400721b050004e00c729..."} 
[2026-07-15 18:53:59] local.INFO: Packet analysis {"connection_id":135054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ee"} 
[2026-07-15 18:53:59] local.INFO: Extracted packet for processing {"connection_id":135054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ee"} 
[2026-07-15 18:53:59] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648336,"longitude_deg":75.6555328,"latitude_deg":11.9648336,"altitude":78,"angle":199,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 18:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735121408001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227977457106944,"note":"Value kept but may cause issues"} 
[2026-07-15 18:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585741824,"note":"Value kept but may cause issues"} 
[2026-07-15 18:53:59] 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-07-15 18:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784121589000,"timestamp_ms":1784121589000,"timestamp_seconds":1784121589,"priority":1,"record_length":96,"hex_timestamp":"0000019f65eefd08"} 
[2026-07-15 18:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:53:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-15 18:53:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:53:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":135054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":135054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":135054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:53:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735121408001,"66":12385,"120":206,"28":31744,"24":0,"16":6227977457106944,"45":1737896905585741824},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735121408001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:53:59] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:53:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227977457106944,"km_value":6227977457106.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585741824,"description":"Unknown IO ID 45"} 
[2026-07-15 18:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735121408001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585741824}} 
[2026-07-15 18:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":135054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:53:59] local.INFO: GPS data processed {"connection_id":135054,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:53:59] local.INFO: Acknowledgment sent {"connection_id":135054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:54:00] local.INFO: TCP Data received {"connection_id":135054,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ef4f10012d181e400721b050004e00c728..."} 
[2026-07-15 18:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ef4f10012d181e400721b050004e00c728..."} 
[2026-07-15 18:54:00] local.INFO: Processing buffer {"connection_id":135054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ef4f10012d181e400721b050004e00c728..."} 
[2026-07-15 18:54:00] local.INFO: Packet analysis {"connection_id":135054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ef"} 
[2026-07-15 18:54:00] local.INFO: Extracted packet for processing {"connection_id":135054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ef"} 
[2026-07-15 18:54:00] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648336,"longitude_deg":75.6555328,"latitude_deg":11.9648336,"altitude":78,"angle":199,"satellites":40,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 18:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735126784001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227977457106944,"note":"Value kept but may cause issues"} 
[2026-07-15 18:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585741824,"note":"Value kept but may cause issues"} 
[2026-07-15 18:54:00] 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-07-15 18:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784121610000,"timestamp_ms":1784121610000,"timestamp_seconds":1784121610,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ef4f10"} 
[2026-07-15 18:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-15 18:54:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:54:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":135054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":135054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":135054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735126784001,"66":12341,"120":206,"28":31744,"24":0,"16":6227977457106944,"45":1737896905585741824},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735126784001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:54:00] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:54:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227977457106944,"km_value":6227977457106.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585741824,"description":"Unknown IO ID 45"} 
[2026-07-15 18:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735126784001,"power":12341,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585741824}} 
[2026-07-15 18:54:00] local.INFO: TCP Data received {"connection_id":132839,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:54:00] local.INFO: Processing buffer {"connection_id":132839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:54:00] local.INFO: IMEI packet received {"connection_id":132839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":132839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":135054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:54:00] local.INFO: GPS data processed {"connection_id":135054,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:54:00] local.INFO: Acknowledgment sent {"connection_id":135054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:54:05] local.INFO: TCP Data received {"connection_id":132839,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:54:05] local.INFO: Processing buffer {"connection_id":132839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:54:05] local.INFO: IMEI packet received {"connection_id":132839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":132839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:54:06] local.INFO: TCP Data received {"connection_id":132839,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65f12ba0012d7f638005bcbcc00008000b2a..."} 
[2026-07-15 18:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65f12ba0012d7f638005bcbcc00008000b2a..."} 
[2026-07-15 18:54:06] local.INFO: Processing buffer {"connection_id":132839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65f12ba0012d7f638005bcbcc00008000b2a..."} 
[2026-07-15 18:54:06] local.INFO: Packet analysis {"connection_id":132839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65f1"} 
[2026-07-15 18:54:06] local.INFO: Extracted packet for processing {"connection_id":132839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65f1"} 
[2026-07-15 18:54:06] local.INFO: GPS Element Parsed {"raw_longitude":763323264,"raw_latitude":96255168,"longitude_deg":76.3323264,"latitude_deg":9.6255168,"altitude":8,"angle":11,"satellites":42,"speed":37,"hex_longitude":"2d7f6380","hex_latitude":"05bcbcc0","is_valid_coordinates":true} 
[2026-07-15 18:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735160832001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347287447782031360,"note":"Value kept but may cause issues"} 
[2026-07-15 18:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9177421271545663488,"note":"Value kept but may cause issues"} 
[2026-07-15 18:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784121732000,"timestamp_ms":1784121732000,"timestamp_seconds":1784121732,"priority":1,"record_length":96,"hex_timestamp":"0000019f65f12ba0"} 
[2026-07-15 18:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-15 18:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:54:06] 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-07-15 18:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735160832001,"66":27767,"121":206,"85":12544,"24":37,"16":347287447782031360,"45":9177421271545663488},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-07-15 18:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735160832001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:54:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 18:54:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347287447782031360,"km_value":347287447782031.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9177421271545663488,"description":"Unknown IO ID 45"} 
[2026-07-15 18:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735160832001,"power":27767,"unknown_121":206,"unknown_85":12544,"ignition":37,"odometer":null,"unknown_45":9177421271545663488}} 
[2026-07-15 18:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":132839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:54:06] local.INFO: GPS data processed {"connection_id":132839,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:54:06] local.INFO: Acknowledgment sent {"connection_id":132839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:54:32] local.INFO: TCP Data received {"connection_id":135054,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65efa118012d181e400721b050004e00c728..."} 
[2026-07-15 18:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65efa118012d181e400721b050004e00c728..."} 
[2026-07-15 18:54:32] local.INFO: Processing buffer {"connection_id":135054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65efa118012d181e400721b050004e00c728..."} 
[2026-07-15 18:54:32] local.INFO: Packet analysis {"connection_id":135054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ef"} 
[2026-07-15 18:54:32] local.INFO: Extracted packet for processing {"connection_id":135054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ef"} 
[2026-07-15 18:54:32] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648336,"longitude_deg":75.6555328,"latitude_deg":11.9648336,"altitude":78,"angle":199,"satellites":40,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-07-15 18:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735132160001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6227977457106944,"note":"Value kept but may cause issues"} 
[2026-07-15 18:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585741824,"note":"Value kept but may cause issues"} 
[2026-07-15 18:54:32] 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-07-15 18:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784121631000,"timestamp_ms":1784121631000,"timestamp_seconds":1784121631,"priority":1,"record_length":96,"hex_timestamp":"0000019f65efa118"} 
[2026-07-15 18:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-15 18:54:32] 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-07-15 18:54:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":135054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":135054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":135054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735132160001,"66":12385,"120":206,"28":31744,"24":0,"16":6227977457106944,"45":1737896905585741824},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735132160001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:54:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:54:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6227977457106944,"km_value":6227977457106.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585741824,"description":"Unknown IO ID 45"} 
[2026-07-15 18:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735132160001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585741824}} 
[2026-07-15 18:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":135054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:54:32] local.INFO: GPS data processed {"connection_id":135054,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:54:32] local.INFO: Acknowledgment sent {"connection_id":135054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:54:37] local.INFO: TCP Data received {"connection_id":132839,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65f152b0012d7f6ac005bce0c00008000b2a..."} 
[2026-07-15 18:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65f152b0012d7f6ac005bce0c00008000b2a..."} 
[2026-07-15 18:54:37] local.INFO: Processing buffer {"connection_id":132839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65f152b0012d7f6ac005bce0c00008000b2a..."} 
[2026-07-15 18:54:37] local.INFO: Packet analysis {"connection_id":132839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65f1"} 
[2026-07-15 18:54:37] local.INFO: Extracted packet for processing {"connection_id":132839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65f1"} 
[2026-07-15 18:54:37] local.INFO: GPS Element Parsed {"raw_longitude":763325120,"raw_latitude":96264384,"longitude_deg":76.332512,"latitude_deg":9.6264384,"altitude":8,"angle":11,"satellites":42,"speed":30,"hex_longitude":"2d7f6ac0","hex_latitude":"05bce0c0","is_valid_coordinates":true} 
[2026-07-15 18:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735163392001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347287903048564736,"note":"Value kept but may cause issues"} 
[2026-07-15 18:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9179321227640881152,"note":"Value kept but may cause issues"} 
[2026-07-15 18:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784121742000,"timestamp_ms":1784121742000,"timestamp_seconds":1784121742,"priority":1,"record_length":96,"hex_timestamp":"0000019f65f152b0"} 
[2026-07-15 18:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 18:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:54:37] 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-07-15 18:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735163392001,"66":27713,"121":206,"85":12544,"24":30,"16":347287903048564736,"45":9179321227640881152},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-07-15 18:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735163392001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:54:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 18:54:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347287903048564736,"km_value":347287903048564.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9179321227640881152,"description":"Unknown IO ID 45"} 
[2026-07-15 18:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735163392001,"power":27713,"unknown_121":206,"unknown_85":12544,"ignition":30,"odometer":null,"unknown_45":9179321227640881152}} 
[2026-07-15 18:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":132839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:54:37] local.INFO: GPS data processed {"connection_id":132839,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:54:37] local.INFO: Acknowledgment sent {"connection_id":132839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:54:50] local.INFO: TCP Data received {"connection_id":135056,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:54:50] local.INFO: Processing buffer {"connection_id":135056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:54:50] local.INFO: IMEI packet received {"connection_id":135056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":135056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:54:55] local.INFO: TCP Data received {"connection_id":135056,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:54:55] local.INFO: Processing buffer {"connection_id":135056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:54:55] local.INFO: IMEI packet received {"connection_id":135056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":135056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:54:56] local.INFO: TCP Data received {"connection_id":135056,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65eff320012d181cc00721ad10004b00c829..."} 
[2026-07-15 18:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65eff320012d181cc00721ad10004b00c829..."} 
[2026-07-15 18:54:56] local.INFO: Processing buffer {"connection_id":135056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65eff320012d181cc00721ad10004b00c829..."} 
[2026-07-15 18:54:56] local.INFO: Packet analysis {"connection_id":135056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ef"} 
[2026-07-15 18:54:56] local.INFO: Extracted packet for processing {"connection_id":135056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ef"} 
[2026-07-15 18:54:56] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119647504,"longitude_deg":75.6554944,"latitude_deg":11.9647504,"altitude":75,"angle":200,"satellites":41,"speed":0,"hex_longitude":"2d181cc0","hex_latitude":"0721ad10","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735137536001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6228020406779904,"note":"Value kept but may cause issues"} 
[2026-07-15 18:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585741824,"note":"Value kept but may cause issues"} 
[2026-07-15 18:54: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-07-15 18:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784121652000,"timestamp_ms":1784121652000,"timestamp_seconds":1784121652,"priority":1,"record_length":96,"hex_timestamp":"0000019f65eff320"} 
[2026-07-15 18:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-15 18:54:56] 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-07-15 18: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-07-15 18:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":135056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":135056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":135056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735137536001,"66":12341,"120":206,"28":31744,"24":0,"16":6228020406779904,"45":1737896905585741824},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735137536001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:54:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:54:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6228020406779904,"km_value":6228020406779.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585741824,"description":"Unknown IO ID 45"} 
[2026-07-15 18:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735137536001,"power":12341,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585741824}} 
[2026-07-15 18:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":135056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492471,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:54:56] local.INFO: GPS data processed {"connection_id":135056,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:54:56] local.INFO: Acknowledgment sent {"connection_id":135056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:55:00] local.INFO: TCP Data received {"connection_id":135057,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:55:00] local.INFO: Processing buffer {"connection_id":135057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:55:00] local.INFO: IMEI packet received {"connection_id":135057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":135057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:55:05] local.INFO: TCP Data received {"connection_id":135057,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:55:05] local.INFO: Processing buffer {"connection_id":135057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:55:05] local.INFO: IMEI packet received {"connection_id":135057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":135057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:55:06] local.INFO: TCP Data received {"connection_id":135057,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65f1a4b8012d7f70c005bd02f0000b000c2a..."} 
[2026-07-15 18:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65f1a4b8012d7f70c005bd02f0000b000c2a..."} 
[2026-07-15 18:55:06] local.INFO: Processing buffer {"connection_id":135057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65f1a4b8012d7f70c005bd02f0000b000c2a..."} 
[2026-07-15 18:55:06] local.INFO: Packet analysis {"connection_id":135057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65f1"} 
[2026-07-15 18:55:06] local.INFO: Extracted packet for processing {"connection_id":135057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65f1"} 
[2026-07-15 18:55:06] local.INFO: GPS Element Parsed {"raw_longitude":763326656,"raw_latitude":96273136,"longitude_deg":76.3326656,"latitude_deg":9.6273136,"altitude":11,"angle":12,"satellites":42,"speed":5,"hex_longitude":"2d7f70c0","hex_latitude":"05bd02f0","is_valid_coordinates":true} 
[2026-07-15 18:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735165952001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347288336840261632,"note":"Value kept but may cause issues"} 
[2026-07-15 18:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9181361921224392704,"note":"Value kept but may cause issues"} 
[2026-07-15 18:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784121763000,"timestamp_ms":1784121763000,"timestamp_seconds":1784121763,"priority":1,"record_length":96,"hex_timestamp":"0000019f65f1a4b8"} 
[2026-07-15 18:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-15 18:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:55:06] 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-07-15 18:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735165952001,"66":27919,"121":206,"85":12544,"24":5,"16":347288336840261632,"45":9181361921224392704},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-07-15 18:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735165952001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:55:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 18:55:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347288336840261632,"km_value":347288336840261.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9181361921224392704,"description":"Unknown IO ID 45"} 
[2026-07-15 18:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735165952001,"power":27919,"unknown_121":206,"unknown_85":12544,"ignition":5,"odometer":null,"unknown_45":9181361921224392704}} 
[2026-07-15 18:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":135057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:55:06] local.INFO: GPS data processed {"connection_id":135057,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:55:06] local.INFO: Acknowledgment sent {"connection_id":135057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:55:28] local.INFO: TCP Data received {"connection_id":135056,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65f04528012d181cc00721ad10004b00c828..."} 
[2026-07-15 18:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65f04528012d181cc00721ad10004b00c828..."} 
[2026-07-15 18:55:28] local.INFO: Processing buffer {"connection_id":135056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65f04528012d181cc00721ad10004b00c828..."} 
[2026-07-15 18:55:28] local.INFO: Packet analysis {"connection_id":135056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65f0"} 
[2026-07-15 18:55:28] local.INFO: Extracted packet for processing {"connection_id":135056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65f0"} 
[2026-07-15 18:55:28] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119647504,"longitude_deg":75.6554944,"latitude_deg":11.9647504,"altitude":75,"angle":200,"satellites":40,"speed":0,"hex_longitude":"2d181cc0","hex_latitude":"0721ad10","is_valid_coordinates":true} 
[2026-07-15 18:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735142912001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6228020406779904,"note":"Value kept but may cause issues"} 
[2026-07-15 18:55:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120462848,"note":"Value kept but may cause issues"} 
[2026-07-15 18:55: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-07-15 18:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784121673000,"timestamp_ms":1784121673000,"timestamp_seconds":1784121673,"priority":1,"record_length":96,"hex_timestamp":"0000019f65f04528"} 
[2026-07-15 18:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:55:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-15 18:55:28] 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-07-15 18:55:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":135056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":135056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":135056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:55:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735142912001,"66":12156,"120":206,"28":31744,"24":0,"16":6228020406779904,"45":1737474693120462848},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735142912001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:55:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:55:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6228020406779904,"km_value":6228020406779.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:55:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120462848,"description":"Unknown IO ID 45"} 
[2026-07-15 18:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735142912001,"power":12156,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737474693120462848}} 
[2026-07-15 18:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":135056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:55:28] local.INFO: GPS data processed {"connection_id":135056,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:55:28] local.INFO: Acknowledgment sent {"connection_id":135056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:55:37] local.INFO: TCP Data received {"connection_id":135057,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65f1a4b8012d7f70c005bd02f0000b000c2a..."} 
[2026-07-15 18:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65f1a4b8012d7f70c005bd02f0000b000c2a..."} 
[2026-07-15 18:55:37] local.INFO: Processing buffer {"connection_id":135057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65f1a4b8012d7f70c005bd02f0000b000c2a..."} 
[2026-07-15 18:55:37] local.INFO: Packet analysis {"connection_id":135057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65f1"} 
[2026-07-15 18:55:37] local.INFO: Extracted packet for processing {"connection_id":135057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65f1"} 
[2026-07-15 18:55:37] local.INFO: GPS Element Parsed {"raw_longitude":763326656,"raw_latitude":96273136,"longitude_deg":76.3326656,"latitude_deg":9.6273136,"altitude":11,"angle":12,"satellites":42,"speed":5,"hex_longitude":"2d7f70c0","hex_latitude":"05bd02f0","is_valid_coordinates":true} 
[2026-07-15 18:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735171328001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347288336840261632,"note":"Value kept but may cause issues"} 
[2026-07-15 18:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9183050771086897152,"note":"Value kept but may cause issues"} 
[2026-07-15 18:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784121763000,"timestamp_ms":1784121763000,"timestamp_seconds":1784121763,"priority":1,"record_length":96,"hex_timestamp":"0000019f65f1a4b8"} 
[2026-07-15 18:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 18:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":135057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":135057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":135057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:55:37] 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-07-15 18:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735171328001,"66":27919,"121":206,"85":12544,"24":5,"16":347288336840261632,"45":9183050771086897152},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-07-15 18:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735171328001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:55:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 18:55:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347288336840261632,"km_value":347288336840261.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9183050771086897152,"description":"Unknown IO ID 45"} 
[2026-07-15 18:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735171328001,"power":27919,"unknown_121":206,"unknown_85":12544,"ignition":5,"odometer":null,"unknown_45":9183050771086897152}} 
[2026-07-15 18:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":135057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:55:37] local.INFO: GPS data processed {"connection_id":135057,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:55:37] local.INFO: Acknowledgment sent {"connection_id":135057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:55:51] local.INFO: TCP Data received {"connection_id":133687,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:55:51] local.INFO: Processing buffer {"connection_id":133687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:55:51] local.INFO: IMEI packet received {"connection_id":133687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":133687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:55:55] local.INFO: TCP Data received {"connection_id":133687,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:55:55] local.INFO: Processing buffer {"connection_id":133687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:55:55] local.INFO: IMEI packet received {"connection_id":133687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":133687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:55:56] local.INFO: TCP Data received {"connection_id":133687,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65f09730012d181cc00721ad10004b00c829..."} 
[2026-07-15 18:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65f09730012d181cc00721ad10004b00c829..."} 
[2026-07-15 18:55:56] local.INFO: Processing buffer {"connection_id":133687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65f09730012d181cc00721ad10004b00c829..."} 
[2026-07-15 18:55:56] local.INFO: Packet analysis {"connection_id":133687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65f0"} 
[2026-07-15 18:55:56] local.INFO: Extracted packet for processing {"connection_id":133687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65f0"} 
[2026-07-15 18:55:56] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119647504,"longitude_deg":75.6554944,"latitude_deg":11.9647504,"altitude":75,"angle":200,"satellites":41,"speed":0,"hex_longitude":"2d181cc0","hex_latitude":"0721ad10","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735148288001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6228020406779904,"note":"Value kept but may cause issues"} 
[2026-07-15 18:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120462848,"note":"Value kept but may cause issues"} 
[2026-07-15 18:55: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-07-15 18:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784121694000,"timestamp_ms":1784121694000,"timestamp_seconds":1784121694,"priority":1,"record_length":96,"hex_timestamp":"0000019f65f09730"} 
[2026-07-15 18:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:55:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-15 18:55:56] 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-07-15 18: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-07-15 18:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735148288001,"66":12385,"120":206,"28":31744,"24":0,"16":6228020406779904,"45":1737474693120462848},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735148288001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:55:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:55:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6228020406779904,"km_value":6228020406779.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120462848,"description":"Unknown IO ID 45"} 
[2026-07-15 18:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735148288001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737474693120462848}} 
[2026-07-15 18:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":133687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:55:56] local.INFO: GPS data processed {"connection_id":133687,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:55:56] local.INFO: Acknowledgment sent {"connection_id":133687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:56:00] local.INFO: TCP Data received {"connection_id":133688,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:56:00] local.INFO: Processing buffer {"connection_id":133688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:56:00] local.INFO: IMEI packet received {"connection_id":133688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":133688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:56:05] local.INFO: TCP Data received {"connection_id":133688,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:56:05] local.INFO: Processing buffer {"connection_id":133688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:56:05] local.INFO: IMEI packet received {"connection_id":133688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":133688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:56:06] local.INFO: TCP Data received {"connection_id":133688,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65f1cfb0012d7f708005bd0648000d001b29..."} 
[2026-07-15 18:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65f1cfb0012d7f708005bd0648000d001b29..."} 
[2026-07-15 18:56:06] local.INFO: Processing buffer {"connection_id":133688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65f1cfb0012d7f708005bd0648000d001b29..."} 
[2026-07-15 18:56:06] local.INFO: Packet analysis {"connection_id":133688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65f1"} 
[2026-07-15 18:56:06] local.INFO: Extracted packet for processing {"connection_id":133688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65f1"} 
[2026-07-15 18:56:06] local.INFO: GPS Element Parsed {"raw_longitude":763326592,"raw_latitude":96273992,"longitude_deg":76.3326592,"latitude_deg":9.6273992,"altitude":13,"angle":27,"satellites":41,"speed":1,"hex_longitude":"2d7f7080","hex_latitude":"05bd0648","is_valid_coordinates":true} 
[2026-07-15 18:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735171328001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347288384084901888,"note":"Value kept but may cause issues"} 
[2026-07-15 18:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9183050771086897152,"note":"Value kept but may cause issues"} 
[2026-07-15 18:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784121774000,"timestamp_ms":1784121774000,"timestamp_seconds":1784121774,"priority":1,"record_length":96,"hex_timestamp":"0000019f65f1cfb0"} 
[2026-07-15 18:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 18:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:56:06] 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-07-15 18:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735171328001,"66":27745,"121":206,"85":12544,"24":1,"16":347288384084901888,"45":9183050771086897152},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-07-15 18:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735171328001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:56:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 18:56:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-15 18:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347288384084901888,"km_value":347288384084901.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9183050771086897152,"description":"Unknown IO ID 45"} 
[2026-07-15 18:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735171328001,"power":27745,"unknown_121":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9183050771086897152}} 
[2026-07-15 18:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":133688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:56:06] local.INFO: GPS data processed {"connection_id":133688,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:56:06] local.INFO: Acknowledgment sent {"connection_id":133688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:56:28] local.INFO: TCP Data received {"connection_id":133687,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65f0e938012d181cc00721ad10004b00c829..."} 
[2026-07-15 18:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65f0e938012d181cc00721ad10004b00c829..."} 
[2026-07-15 18:56:28] local.INFO: Processing buffer {"connection_id":133687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65f0e938012d181cc00721ad10004b00c829..."} 
[2026-07-15 18:56:28] local.INFO: Packet analysis {"connection_id":133687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65f0"} 
[2026-07-15 18:56:28] local.INFO: Extracted packet for processing {"connection_id":133687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65f0"} 
[2026-07-15 18:56:28] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119647504,"longitude_deg":75.6554944,"latitude_deg":11.9647504,"altitude":75,"angle":200,"satellites":41,"speed":0,"hex_longitude":"2d181cc0","hex_latitude":"0721ad10","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735153664001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6228020406779904,"note":"Value kept but may cause issues"} 
[2026-07-15 18:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120462848,"note":"Value kept but may cause issues"} 
[2026-07-15 18:56: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-07-15 18:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784121715000,"timestamp_ms":1784121715000,"timestamp_seconds":1784121715,"priority":1,"record_length":96,"hex_timestamp":"0000019f65f0e938"} 
[2026-07-15 18:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:56:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-15 18:56:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18: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-07-15 18:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":133687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":133687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":133687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:56:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735153664001,"66":12341,"120":206,"28":31744,"24":0,"16":6228020406779904,"45":1737474693120462848},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735153664001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:56:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:56:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6228020406779904,"km_value":6228020406779.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:56:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120462848,"description":"Unknown IO ID 45"} 
[2026-07-15 18:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735153664001,"power":12341,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737474693120462848}} 
[2026-07-15 18:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":133687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:56:28] local.INFO: GPS data processed {"connection_id":133687,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:56:28] local.INFO: Acknowledgment sent {"connection_id":133687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:56:38] local.INFO: TCP Data received {"connection_id":133688,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65f43110012d7f9ac005bde978000900092b..."} 
[2026-07-15 18:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65f43110012d7f9ac005bde978000900092b..."} 
[2026-07-15 18:56:38] local.INFO: Processing buffer {"connection_id":133688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65f43110012d7f9ac005bde978000900092b..."} 
[2026-07-15 18:56:38] local.INFO: Packet analysis {"connection_id":133688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65f4"} 
[2026-07-15 18:56:38] local.INFO: Extracted packet for processing {"connection_id":133688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65f4"} 
[2026-07-15 18:56:38] local.INFO: GPS Element Parsed {"raw_longitude":763337408,"raw_latitude":96332152,"longitude_deg":76.3337408,"latitude_deg":9.6332152,"altitude":9,"angle":9,"satellites":43,"speed":41,"hex_longitude":"2d7f9ac0","hex_latitude":"05bde978","is_valid_coordinates":true} 
[2026-07-15 18:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735211520001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347291270302924800,"note":"Value kept but may cause issues"} 
[2026-07-15 18:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193113501517090816,"note":"Value kept but may cause issues"} 
[2026-07-15 18:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784121930000,"timestamp_ms":1784121930000,"timestamp_seconds":1784121930,"priority":1,"record_length":96,"hex_timestamp":"0000019f65f43110"} 
[2026-07-15 18:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-15 18:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:56:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735211520001,"66":27691,"227":206,"85":12288,"24":41,"16":347291270302924800,"45":9193113501517090816},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-07-15 18:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735211520001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:56:38] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-07-15 18:56:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 18:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347291270302924800,"km_value":347291270302924.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193113501517090816,"description":"Unknown IO ID 45"} 
[2026-07-15 18:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735211520001,"power":27691,"unknown_227":206,"unknown_85":12288,"ignition":41,"odometer":null,"unknown_45":9193113501517090816}} 
[2026-07-15 18:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":133688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:56:38] local.INFO: GPS data processed {"connection_id":133688,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:56:38] local.INFO: Acknowledgment sent {"connection_id":133688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:56:48] local.INFO: TCP Data received {"connection_id":133690,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:56:48] local.INFO: Processing buffer {"connection_id":133690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:56:48] local.INFO: IMEI packet received {"connection_id":133690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":133690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:56:50] local.INFO: TCP Data received {"connection_id":133690,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:56:50] local.INFO: Processing buffer {"connection_id":133690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:56:50] local.INFO: IMEI packet received {"connection_id":133690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":133690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:56:55] local.INFO: TCP Data received {"connection_id":133690,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:56:55] local.INFO: Processing buffer {"connection_id":133690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:56:55] local.INFO: IMEI packet received {"connection_id":133690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":133690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:56:56] local.INFO: TCP Data received {"connection_id":133690,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65f46f90012d181cc00721ad10004b00c828..."} 
[2026-07-15 18:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65f46f90012d181cc00721ad10004b00c828..."} 
[2026-07-15 18:56:56] local.INFO: Processing buffer {"connection_id":133690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65f46f90012d181cc00721ad10004b00c828..."} 
[2026-07-15 18:56:56] local.INFO: Packet analysis {"connection_id":133690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65f4"} 
[2026-07-15 18:56:56] local.INFO: Extracted packet for processing {"connection_id":133690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65f4"} 
[2026-07-15 18:56:56] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119647504,"longitude_deg":75.6554944,"latitude_deg":11.9647504,"altitude":75,"angle":200,"satellites":40,"speed":0,"hex_longitude":"2d181cc0","hex_latitude":"0721ad10","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735212800001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6228020406779904,"note":"Value kept but may cause issues"} 
[2026-07-15 18:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120462848,"note":"Value kept but may cause issues"} 
[2026-07-15 18:56: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-07-15 18:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784121946000,"timestamp_ms":1784121946000,"timestamp_seconds":1784121946,"priority":1,"record_length":96,"hex_timestamp":"0000019f65f46f90"} 
[2026-07-15 18:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:56:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-15 18:56:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18: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-07-15 18:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735212800001,"66":14070,"120":206,"28":31744,"24":0,"16":6228020406779904,"45":1737474693120462848},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735212800001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:56:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:56:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6228020406779904,"km_value":6228020406779.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120462848,"description":"Unknown IO ID 45"} 
[2026-07-15 18:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735212800001,"power":14070,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737474693120462848}} 
[2026-07-15 18:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":133690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:56:56] local.INFO: GPS data processed {"connection_id":133690,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:56:56] local.INFO: Acknowledgment sent {"connection_id":133690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:57:04] local.INFO: TCP Data received {"connection_id":132663,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:57:04] local.INFO: Processing buffer {"connection_id":132663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:57:04] local.INFO: IMEI packet received {"connection_id":132663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":132663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:57:05] local.INFO: TCP Data received {"connection_id":132663,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:57:05] local.INFO: Processing buffer {"connection_id":132663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:57:05] local.INFO: IMEI packet received {"connection_id":132663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":132663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:57:10] local.INFO: TCP Data received {"connection_id":132663,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:57:10] local.INFO: Processing buffer {"connection_id":132663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:57:10] local.INFO: IMEI packet received {"connection_id":132663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":132663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:57:12] local.INFO: TCP Data received {"connection_id":132663,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65f45438012d7fa08005be0c08000800082d..."} 
[2026-07-15 18:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65f45438012d7fa08005be0c08000800082d..."} 
[2026-07-15 18:57:12] local.INFO: Processing buffer {"connection_id":132663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65f45438012d7fa08005be0c08000800082d..."} 
[2026-07-15 18:57:12] local.INFO: Packet analysis {"connection_id":132663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65f4"} 
[2026-07-15 18:57:12] local.INFO: Extracted packet for processing {"connection_id":132663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65f4"} 
[2026-07-15 18:57:12] local.INFO: GPS Element Parsed {"raw_longitude":763338880,"raw_latitude":96341000,"longitude_deg":76.333888,"latitude_deg":9.6341,"altitude":8,"angle":8,"satellites":45,"speed":36,"hex_longitude":"2d7fa080","hex_latitude":"05be0c08","is_valid_coordinates":true} 
[2026-07-15 18:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735214080001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347291704094621696,"note":"Value kept but may cause issues"} 
[2026-07-15 18:57:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194872720123852800,"note":"Value kept but may cause issues"} 
[2026-07-15 18:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784121939000,"timestamp_ms":1784121939000,"timestamp_seconds":1784121939,"priority":1,"record_length":96,"hex_timestamp":"0000019f65f45438"} 
[2026-07-15 18:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:57:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-15 18:57:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:57:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:57:12] 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-07-15 18:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735214080001,"66":27767,"227":206,"85":12288,"24":36,"16":347291704094621696,"45":9194872720123852800},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-07-15 18:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735214080001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:57:12] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-07-15 18:57:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 18:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347291704094621696,"km_value":347291704094621.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:57:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194872720123852800,"description":"Unknown IO ID 45"} 
[2026-07-15 18:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735214080001,"power":27767,"unknown_227":206,"unknown_85":12288,"ignition":36,"odometer":null,"unknown_45":9194872720123852800}} 
[2026-07-15 18:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":132663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:57:12] local.INFO: GPS data processed {"connection_id":132663,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:57:12] local.INFO: Acknowledgment sent {"connection_id":132663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:57:16] local.INFO: TCP Data received {"connection_id":132663,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65f47b48012d7fa6c005be2e500009000a2d..."} 
[2026-07-15 18:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65f47b48012d7fa6c005be2e500009000a2d..."} 
[2026-07-15 18:57:16] local.INFO: Processing buffer {"connection_id":132663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65f47b48012d7fa6c005be2e500009000a2d..."} 
[2026-07-15 18:57:16] local.INFO: Packet analysis {"connection_id":132663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65f4"} 
[2026-07-15 18:57:16] local.INFO: Extracted packet for processing {"connection_id":132663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65f4"} 
[2026-07-15 18:57:16] local.INFO: GPS Element Parsed {"raw_longitude":763340480,"raw_latitude":96349776,"longitude_deg":76.334048,"latitude_deg":9.6349776,"altitude":9,"angle":10,"satellites":45,"speed":36,"hex_longitude":"2d7fa6c0","hex_latitude":"05be2e50","is_valid_coordinates":true} 
[2026-07-15 18:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735216384001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347292137886318592,"note":"Value kept but may cause issues"} 
[2026-07-15 18:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196491201242204160,"note":"Value kept but may cause issues"} 
[2026-07-15 18:57:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784121949000,"timestamp_ms":1784121949000,"timestamp_seconds":1784121949,"priority":1,"record_length":96,"hex_timestamp":"0000019f65f47b48"} 
[2026-07-15 18:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:57:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 18:57:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:57:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:57:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735216384001,"66":27745,"227":206,"85":12288,"24":36,"16":347292137886318592,"45":9196491201242204160},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-07-15 18:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735216384001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:57:16] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-07-15 18:57:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 18:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347292137886318592,"km_value":347292137886318.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196491201242204160,"description":"Unknown IO ID 45"} 
[2026-07-15 18:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735216384001,"power":27745,"unknown_227":206,"unknown_85":12288,"ignition":36,"odometer":null,"unknown_45":9196491201242204160}} 
[2026-07-15 18:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":132663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:57:16] local.INFO: GPS data processed {"connection_id":132663,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:57:16] local.INFO: Acknowledgment sent {"connection_id":132663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:57:28] local.INFO: TCP Data received {"connection_id":133690,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65f4c198012d181cc00721ad10004b00c825..."} 
[2026-07-15 18:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65f4c198012d181cc00721ad10004b00c825..."} 
[2026-07-15 18:57:28] local.INFO: Processing buffer {"connection_id":133690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65f4c198012d181cc00721ad10004b00c825..."} 
[2026-07-15 18:57:28] local.INFO: Packet analysis {"connection_id":133690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65f4"} 
[2026-07-15 18:57:28] local.INFO: Extracted packet for processing {"connection_id":133690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65f4"} 
[2026-07-15 18:57:28] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119647504,"longitude_deg":75.6554944,"latitude_deg":11.9647504,"altitude":75,"angle":200,"satellites":37,"speed":0,"hex_longitude":"2d181cc0","hex_latitude":"0721ad10","is_valid_coordinates":true} 
[2026-07-15 18:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735218176001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6228020406779904,"note":"Value kept but may cause issues"} 
[2026-07-15 18:57:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120462848,"note":"Value kept but may cause issues"} 
[2026-07-15 18:57: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-07-15 18:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784121967000,"timestamp_ms":1784121967000,"timestamp_seconds":1784121967,"priority":1,"record_length":96,"hex_timestamp":"0000019f65f4c198"} 
[2026-07-15 18:57:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:57:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-15 18:57:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:57:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:57:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":133690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":133690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":133690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:57:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735218176001,"66":14102,"120":206,"28":31744,"24":0,"16":6228020406779904,"45":1737474693120462848},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735218176001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:57:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:57:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6228020406779904,"km_value":6228020406779.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:57:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120462848,"description":"Unknown IO ID 45"} 
[2026-07-15 18:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735218176001,"power":14102,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737474693120462848}} 
[2026-07-15 18:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":133690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:57:28] local.INFO: GPS data processed {"connection_id":133690,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:57:28] local.INFO: Acknowledgment sent {"connection_id":133690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:57:50] local.INFO: TCP Data received {"connection_id":133691,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:57:50] local.INFO: Processing buffer {"connection_id":133691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:57:50] local.INFO: IMEI packet received {"connection_id":133691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":133691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:57:54] local.INFO: TCP Data received {"connection_id":133691,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:57:54] local.INFO: Processing buffer {"connection_id":133691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:57:54] local.INFO: IMEI packet received {"connection_id":133691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":133691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:57:56] local.INFO: TCP Data received {"connection_id":133691,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65f4c580012d181e000721ac80004a004c21..."} 
[2026-07-15 18:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65f4c580012d181e000721ac80004a004c21..."} 
[2026-07-15 18:57:56] local.INFO: Processing buffer {"connection_id":133691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65f4c580012d181e000721ac80004a004c21..."} 
[2026-07-15 18:57:56] local.INFO: Packet analysis {"connection_id":133691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65f4"} 
[2026-07-15 18:57:56] local.INFO: Extracted packet for processing {"connection_id":133691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65f4"} 
[2026-07-15 18:57:56] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647360,"longitude_deg":75.6555264,"latitude_deg":11.964736,"altitude":74,"angle":76,"satellites":33,"speed":2,"hex_longitude":"2d181e00","hex_latitude":"0721ac80","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735223552001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6228037586649088,"note":"Value kept but may cause issues"} 
[2026-07-15 18:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120462848,"note":"Value kept but may cause issues"} 
[2026-07-15 18:57: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-07-15 18:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784121968000,"timestamp_ms":1784121968000,"timestamp_seconds":1784121968,"priority":1,"record_length":96,"hex_timestamp":"0000019f65f4c580"} 
[2026-07-15 18:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:57:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-15 18:57:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18: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-07-15 18:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735223552001,"66":14102,"120":206,"28":31744,"24":2,"16":6228037586649088,"45":1737474693120462848},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735223552001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:57:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:57:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6228037586649088,"km_value":6228037586649.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120462848,"description":"Unknown IO ID 45"} 
[2026-07-15 18:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735223552001,"power":14102,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1737474693120462848}} 
[2026-07-15 18:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":133691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:57:56] local.INFO: GPS data processed {"connection_id":133691,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:57:56] local.INFO: Acknowledgment sent {"connection_id":133691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:57:57] local.INFO: TCP Data received {"connection_id":133692,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:57:57] local.INFO: Processing buffer {"connection_id":133692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:57:57] local.INFO: IMEI packet received {"connection_id":133692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":133692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:58:00] local.INFO: TCP Data received {"connection_id":133692,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:58:00] local.INFO: Processing buffer {"connection_id":133692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:58:00] local.INFO: IMEI packet received {"connection_id":133692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":133692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:58:05] local.INFO: TCP Data received {"connection_id":133692,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:58:05] local.INFO: Processing buffer {"connection_id":133692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:58:05] local.INFO: IMEI packet received {"connection_id":133692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":133692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:58:06] local.INFO: TCP Data received {"connection_id":133692,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65f4a640012d7fad4005be51380008000e2e..."} 
[2026-07-15 18:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65f4a640012d7fad4005be51380008000e2e..."} 
[2026-07-15 18:58:06] local.INFO: Processing buffer {"connection_id":133692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65f4a640012d7fad4005be51380008000e2e..."} 
[2026-07-15 18:58:06] local.INFO: Packet analysis {"connection_id":133692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65f4"} 
[2026-07-15 18:58:06] local.INFO: Extracted packet for processing {"connection_id":133692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65f4"} 
[2026-07-15 18:58:06] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":96358712,"longitude_deg":76.3342144,"latitude_deg":9.6358712,"altitude":8,"angle":14,"satellites":46,"speed":20,"hex_longitude":"2d7fad40","hex_latitude":"05be5138","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735218944001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347292575972982784,"note":"Value kept but may cause issues"} 
[2026-07-15 18:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198250419848892416,"note":"Value kept but may cause issues"} 
[2026-07-15 18:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784121960000,"timestamp_ms":1784121960000,"timestamp_seconds":1784121960,"priority":1,"record_length":96,"hex_timestamp":"0000019f65f4a640"} 
[2026-07-15 18:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-15 18:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18: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-07-15 18:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:58:06] 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-07-15 18:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735218944001,"66":27658,"227":206,"85":12288,"24":20,"16":347292575972982784,"45":9198250419848892416},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-07-15 18:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735218944001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:58:06] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-07-15 18:58:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 18:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347292575972982784,"km_value":347292575972982.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198250419848892416,"description":"Unknown IO ID 45"} 
[2026-07-15 18:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735218944001,"power":27658,"unknown_227":206,"unknown_85":12288,"ignition":20,"odometer":null,"unknown_45":9198250419848892416}} 
[2026-07-15 18:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":133692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:58:06] local.INFO: GPS data processed {"connection_id":133692,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:58:06] local.INFO: Acknowledgment sent {"connection_id":133692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:58:07] local.INFO: TCP Data received {"connection_id":133692,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65f4d908012d7fb3c005be75800008000b2c..."} 
[2026-07-15 18:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65f4d908012d7fb3c005be75800008000b2c..."} 
[2026-07-15 18:58:07] local.INFO: Processing buffer {"connection_id":133692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65f4d908012d7fb3c005be75800008000b2c..."} 
[2026-07-15 18:58:07] local.INFO: Packet analysis {"connection_id":133692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65f4"} 
[2026-07-15 18:58:07] local.INFO: Extracted packet for processing {"connection_id":133692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65f4"} 
[2026-07-15 18:58:07] local.INFO: GPS Element Parsed {"raw_longitude":763343808,"raw_latitude":96368000,"longitude_deg":76.3343808,"latitude_deg":9.6368,"altitude":8,"angle":11,"satellites":44,"speed":28,"hex_longitude":"2d7fb3c0","hex_latitude":"05be7580","is_valid_coordinates":true} 
[2026-07-15 18:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735221760001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347293035534483456,"note":"Value kept but may cause issues"} 
[2026-07-15 18:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080007199799296,"note":"Value kept but may cause issues"} 
[2026-07-15 18:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784121973000,"timestamp_ms":1784121973000,"timestamp_seconds":1784121973,"priority":1,"record_length":96,"hex_timestamp":"0000019f65f4d908"} 
[2026-07-15 18:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:58:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-15 18:58:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:58:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:58:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735221760001,"66":27745,"52":206,"85":12288,"24":28,"16":347293035534483456,"45":9200080007199799296},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,85,24,16,45]} 
[2026-07-15 18:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735221760001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:58:07] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-07-15 18:58:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 18:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347293035534483456,"km_value":347293035534483.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080007199799296,"description":"Unknown IO ID 45"} 
[2026-07-15 18:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735221760001,"power":27745,"unknown_52":206,"unknown_85":12288,"ignition":28,"odometer":null,"unknown_45":9200080007199799296}} 
[2026-07-15 18:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":133692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:58:07] local.INFO: GPS data processed {"connection_id":133692,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:58:07] local.INFO: Acknowledgment sent {"connection_id":133692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:58:27] local.INFO: TCP Data received {"connection_id":133691,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65f4c968012d181e400721acd00049003521..."} 
[2026-07-15 18:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65f4c968012d181e400721acd00049003521..."} 
[2026-07-15 18:58:27] local.INFO: Processing buffer {"connection_id":133691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65f4c968012d181e400721acd00049003521..."} 
[2026-07-15 18:58:27] local.INFO: Packet analysis {"connection_id":133691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65f4"} 
[2026-07-15 18:58:27] local.INFO: Extracted packet for processing {"connection_id":133691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65f4"} 
[2026-07-15 18:58:27] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647440,"longitude_deg":75.6555328,"latitude_deg":11.964744,"altitude":73,"angle":53,"satellites":33,"speed":4,"hex_longitude":"2d181e40","hex_latitude":"0721acd0","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735223808001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6228041881616384,"note":"Value kept but may cause issues"} 
[2026-07-15 18:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841314304,"note":"Value kept but may cause issues"} 
[2026-07-15 18:58:27] 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-07-15 18:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784121969000,"timestamp_ms":1784121969000,"timestamp_seconds":1784121969,"priority":1,"record_length":96,"hex_timestamp":"0000019f65f4c968"} 
[2026-07-15 18:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:58:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-15 18:58:27] 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-07-15 18: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-07-15 18:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":133691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":133691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":133691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735223808001,"66":13820,"120":206,"28":31744,"24":4,"16":6228041881616384,"45":1737826536841314304},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735223808001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:58:27] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:58:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6228041881616384,"km_value":6228041881616.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841314304,"description":"Unknown IO ID 45"} 
[2026-07-15 18:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735223808001,"power":13820,"unknown_120":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1737826536841314304}} 
[2026-07-15 18:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":133691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:58:28] local.INFO: GPS data processed {"connection_id":133691,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:58:28] local.INFO: Acknowledgment sent {"connection_id":133691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:58:38] local.INFO: TCP Data received {"connection_id":133692,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65f50bd0012d7fba0005be98700009000b28..."} 
[2026-07-15 18:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65f50bd0012d7fba0005be98700009000b28..."} 
[2026-07-15 18:58:38] local.INFO: Processing buffer {"connection_id":133692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65f50bd0012d7fba0005be98700009000b28..."} 
[2026-07-15 18:58:38] local.INFO: Packet analysis {"connection_id":133692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65f5"} 
[2026-07-15 18:58:38] local.INFO: Extracted packet for processing {"connection_id":133692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65f5"} 
[2026-07-15 18:58:38] local.INFO: GPS Element Parsed {"raw_longitude":763345408,"raw_latitude":96376944,"longitude_deg":76.3345408,"latitude_deg":9.6376944,"altitude":9,"angle":11,"satellites":40,"speed":24,"hex_longitude":"2d7fba00","hex_latitude":"05be9870","is_valid_coordinates":true} 
[2026-07-15 18:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735225088001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347293473621147648,"note":"Value kept but may cause issues"} 
[2026-07-15 18:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9201909594550796288,"note":"Value kept but may cause issues"} 
[2026-07-15 18:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784121986000,"timestamp_ms":1784121986000,"timestamp_seconds":1784121986,"priority":1,"record_length":96,"hex_timestamp":"0000019f65f50bd0"} 
[2026-07-15 18:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-15 18:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735225088001,"66":27713,"52":206,"85":12288,"24":24,"16":347293473621147648,"45":9201909594550796288},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,85,24,16,45]} 
[2026-07-15 18:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735225088001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:58:38] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-07-15 18:58:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 18:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347293473621147648,"km_value":347293473621147.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9201909594550796288,"description":"Unknown IO ID 45"} 
[2026-07-15 18:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735225088001,"power":27713,"unknown_52":206,"unknown_85":12288,"ignition":24,"odometer":null,"unknown_45":9201909594550796288}} 
[2026-07-15 18:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":133692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:58:38] local.INFO: GPS data processed {"connection_id":133692,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:58:38] local.INFO: Acknowledgment sent {"connection_id":133692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:58:50] local.INFO: TCP Data received {"connection_id":132841,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:58:50] local.INFO: Processing buffer {"connection_id":132841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:58:50] local.INFO: IMEI packet received {"connection_id":132841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":132841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:58:55] local.INFO: TCP Data received {"connection_id":132841,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:58:55] local.INFO: Processing buffer {"connection_id":132841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:58:55] local.INFO: IMEI packet received {"connection_id":132841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":132841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:58:56] local.INFO: TCP Data received {"connection_id":132841,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65f67ee8012d18a5c00722a5f8006c016329..."} 
[2026-07-15 18:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65f67ee8012d18a5c00722a5f8006c016329..."} 
[2026-07-15 18:58:56] local.INFO: Processing buffer {"connection_id":132841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65f67ee8012d18a5c00722a5f8006c016329..."} 
[2026-07-15 18:58:56] local.INFO: Packet analysis {"connection_id":132841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65f6"} 
[2026-07-15 18:58:56] local.INFO: Extracted packet for processing {"connection_id":132841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65f6"} 
[2026-07-15 18:58:56] local.INFO: GPS Element Parsed {"raw_longitude":756590016,"raw_latitude":119711224,"longitude_deg":75.6590016,"latitude_deg":11.9711224,"altitude":108,"angle":355,"satellites":41,"speed":2,"hex_longitude":"2d18a5c0","hex_latitude":"0722a5f8","is_valid_coordinates":true} 
[2026-07-15 18: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-07-15 18:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735247360001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6231619589373952,"note":"Value kept but may cause issues"} 
[2026-07-15 18:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776388608666386432,"note":"Value kept but may cause issues"} 
[2026-07-15 18:58: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-07-15 18:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784122081000,"timestamp_ms":1784122081000,"timestamp_seconds":1784122081,"priority":1,"record_length":96,"hex_timestamp":"0000019f65f67ee8"} 
[2026-07-15 18:58:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:58:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-15 18:58:56] 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-07-15 18: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-07-15 18:58:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735247360001,"66":13167,"120":206,"28":31744,"24":2,"16":6231619589373952,"45":1776388608666386432},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735247360001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:58:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:58:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6231619589373952,"km_value":6231619589373.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776388608666386432,"description":"Unknown IO ID 45"} 
[2026-07-15 18:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735247360001,"power":13167,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1776388608666386432}} 
[2026-07-15 18:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":132841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:58:56] local.INFO: GPS data processed {"connection_id":132841,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:58:56] local.INFO: Acknowledgment sent {"connection_id":132841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:58:58] local.INFO: TCP Data received {"connection_id":133693,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133693,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:58:58] local.INFO: Processing buffer {"connection_id":133693,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:58:58] local.INFO: IMEI packet received {"connection_id":133693,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 18:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":133693,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:59:00] local.INFO: TCP Data received {"connection_id":132842,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:59:00] local.INFO: Processing buffer {"connection_id":132842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:59:00] local.INFO: IMEI packet received {"connection_id":132842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":132842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:59:01] local.INFO: TCP Data received {"connection_id":132842,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:59:01] local.INFO: Processing buffer {"connection_id":132842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:59:01] local.INFO: IMEI packet received {"connection_id":132842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":132842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:59:05] local.INFO: TCP Data received {"connection_id":132842,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:59:05] local.INFO: Processing buffer {"connection_id":132842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:59:05] local.INFO: IMEI packet received {"connection_id":132842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 18:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":132842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:59:06] local.INFO: TCP Data received {"connection_id":132842,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65f67ee8012d7ffd4005c028600008000a2d..."} 
[2026-07-15 18:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65f67ee8012d7ffd4005c028600008000a2d..."} 
[2026-07-15 18:59:06] local.INFO: Processing buffer {"connection_id":132842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65f67ee8012d7ffd4005c028600008000a2d..."} 
[2026-07-15 18:59:06] local.INFO: Packet analysis {"connection_id":132842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65f6"} 
[2026-07-15 18:59:06] local.INFO: Extracted packet for processing {"connection_id":132842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65f6"} 
[2026-07-15 18:59:06] local.INFO: GPS Element Parsed {"raw_longitude":763362624,"raw_latitude":96479328,"longitude_deg":76.3362624,"latitude_deg":9.6479328,"altitude":8,"angle":10,"satellites":45,"speed":54,"hex_longitude":"2d7ffd40","hex_latitude":"05c02860","is_valid_coordinates":true} 
[2026-07-15 18:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735250944001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347298511617785856,"note":"Value kept but may cause issues"} 
[2026-07-15 18:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9220838786760687616,"note":"Value kept but may cause issues"} 
[2026-07-15 18:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784122081000,"timestamp_ms":1784122081000,"timestamp_seconds":1784122081,"priority":1,"record_length":96,"hex_timestamp":"0000019f65f67ee8"} 
[2026-07-15 18:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-15 18:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:59:06] 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-07-15 18:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735250944001,"66":27767,"235":206,"85":12288,"24":54,"16":347298511617785856,"45":9220838786760687616},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-07-15 18:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735250944001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:59:06] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-15 18:59:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 18:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347298511617785856,"km_value":347298511617785.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9220838786760687616,"description":"Unknown IO ID 45"} 
[2026-07-15 18:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735250944001,"power":27767,"unknown_235":206,"unknown_85":12288,"ignition":54,"odometer":null,"unknown_45":9220838786760687616}} 
[2026-07-15 18:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":132842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:59:06] local.INFO: GPS data processed {"connection_id":132842,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:59:06] local.INFO: Acknowledgment sent {"connection_id":132842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:59:27] local.INFO: TCP Data received {"connection_id":132841,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65f69658012d18a7000722a808006c005128..."} 
[2026-07-15 18:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65f69658012d18a7000722a808006c005128..."} 
[2026-07-15 18:59:27] local.INFO: Processing buffer {"connection_id":132841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65f69658012d18a7000722a808006c005128..."} 
[2026-07-15 18:59:27] local.INFO: Packet analysis {"connection_id":132841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65f6"} 
[2026-07-15 18:59:27] local.INFO: Extracted packet for processing {"connection_id":132841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65f6"} 
[2026-07-15 18:59:27] local.INFO: GPS Element Parsed {"raw_longitude":756590336,"raw_latitude":119711752,"longitude_deg":75.6590336,"latitude_deg":11.9711752,"altitude":108,"angle":81,"satellites":40,"speed":7,"hex_longitude":"2d18a700","hex_latitude":"0722a808","is_valid_coordinates":true} 
[2026-07-15 18:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735252736001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6231649654145024,"note":"Value kept but may cause issues"} 
[2026-07-15 18:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776036764946135040,"note":"Value kept but may cause issues"} 
[2026-07-15 18:59:27] 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-07-15 18:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784122087000,"timestamp_ms":1784122087000,"timestamp_seconds":1784122087,"priority":1,"record_length":96,"hex_timestamp":"0000019f65f69658"} 
[2026-07-15 18:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:59:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-15 18:59:27] 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-07-15 18:59:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":132841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":132841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":132841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735252736001,"66":13102,"120":206,"28":31744,"24":7,"16":6231649654145024,"45":1776036764946135040},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735252736001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:59:27] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:59:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6231649654145024,"km_value":6231649654145.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776036764946135040,"description":"Unknown IO ID 45"} 
[2026-07-15 18:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735252736001,"power":13102,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1776036764946135040}} 
[2026-07-15 18:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":132841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:59:27] local.INFO: GPS data processed {"connection_id":132841,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:59:27] local.INFO: Acknowledgment sent {"connection_id":132841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:59:34] local.INFO: TCP Data received {"connection_id":132843,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132843,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:59:34] local.INFO: Processing buffer {"connection_id":132843,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 18:59:34] local.INFO: IMEI packet received {"connection_id":132843,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 18:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":132843,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:59:37] local.INFO: TCP Data received {"connection_id":132842,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65f69a40012d80048005c04ae00009000c2e..."} 
[2026-07-15 18:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65f69a40012d80048005c04ae00009000c2e..."} 
[2026-07-15 18:59:37] local.INFO: Processing buffer {"connection_id":132842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65f69a40012d80048005c04ae00009000c2e..."} 
[2026-07-15 18:59:37] local.INFO: Packet analysis {"connection_id":132842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65f6"} 
[2026-07-15 18:59:37] local.INFO: Extracted packet for processing {"connection_id":132842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65f6"} 
[2026-07-15 18:59:37] local.INFO: GPS Element Parsed {"raw_longitude":763364480,"raw_latitude":96488160,"longitude_deg":76.336448,"latitude_deg":9.648816,"altitude":9,"angle":12,"satellites":46,"speed":49,"hex_longitude":"2d800480","hex_latitude":"05c04ae0","is_valid_coordinates":true} 
[2026-07-15 18:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735252736001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347298949704450048,"note":"Value kept but may cause issues"} 
[2026-07-15 18:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9222598005367529472,"note":"Value kept but may cause issues"} 
[2026-07-15 18:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 18:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784122088000,"timestamp_ms":1784122088000,"timestamp_seconds":1784122088,"priority":1,"record_length":96,"hex_timestamp":"0000019f65f69a40"} 
[2026-07-15 18:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 18:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 18:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 18:59:37] 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-07-15 18:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 18:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 18:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735252736001,"66":27691,"235":206,"85":12288,"24":49,"16":347298949704450048,"45":9222598005367529472},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-07-15 18:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 18:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 18:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735252736001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:59:37] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-15 18:59:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 18:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347298949704450048,"km_value":347298949704450.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9222598005367529472,"description":"Unknown IO ID 45"} 
[2026-07-15 18:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735252736001,"power":27691,"unknown_235":206,"unknown_85":12288,"ignition":49,"odometer":null,"unknown_45":9222598005367529472}} 
[2026-07-15 18:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":132842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:59:37] local.INFO: GPS data processed {"connection_id":132842,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:59:37] local.INFO: Acknowledgment sent {"connection_id":132842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:59:50] local.INFO: TCP Data received {"connection_id":135058,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:59:50] local.INFO: Processing buffer {"connection_id":135058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:59:50] local.INFO: IMEI packet received {"connection_id":135058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 18:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":135058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 18:59:50] local.INFO: TCP Data received {"connection_id":135058,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:59:50] local.INFO: Processing buffer {"connection_id":135058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:59:50] local.INFO: IMEI packet received {"connection_id":135058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":135058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:59:55] local.INFO: TCP Data received {"connection_id":135058,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:59:55] local.INFO: Processing buffer {"connection_id":135058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 18:59:55] local.INFO: IMEI packet received {"connection_id":135058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 18:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":135058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 18:59:56] local.INFO: TCP Data received {"connection_id":135058,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65f69a40012d18a8000722a7e8006c007328..."} 
[2026-07-15 18:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65f69a40012d18a8000722a7e8006c007328..."} 
[2026-07-15 18:59:56] local.INFO: Processing buffer {"connection_id":135058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65f69a40012d18a8000722a7e8006c007328..."} 
[2026-07-15 18:59:56] local.INFO: Packet analysis {"connection_id":135058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65f6"} 
[2026-07-15 18:59:56] local.INFO: Extracted packet for processing {"connection_id":135058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65f6"} 
[2026-07-15 18:59:56] local.INFO: GPS Element Parsed {"raw_longitude":756590592,"raw_latitude":119711720,"longitude_deg":75.6590592,"latitude_deg":11.971172,"altitude":108,"angle":115,"satellites":40,"speed":7,"hex_longitude":"2d18a800","hex_latitude":"0722a7e8","is_valid_coordinates":true} 
[2026-07-15 18:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 18:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735254272001,"note":"Value kept but may cause issues"} 
[2026-07-15 18:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6231662539046912,"note":"Value kept but may cause issues"} 
[2026-07-15 18:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776388608667158528,"note":"Value kept but may cause issues"} 
[2026-07-15 18:59: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-07-15 18:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784122088000,"timestamp_ms":1784122088000,"timestamp_seconds":1784122088,"priority":1,"record_length":96,"hex_timestamp":"0000019f65f69a40"} 
[2026-07-15 18:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 18:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 18:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-15 18:59:56] 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-07-15 18:59:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 18:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 18:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 18:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":135058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 18:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":135058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":135058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 18:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 18:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 18:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 18:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735254272001,"66":13102,"120":206,"28":31744,"24":7,"16":6231662539046912,"45":1776388608667158528},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 18:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 18:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 18:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735254272001,"description":"Unknown IO ID 0"} 
[2026-07-15 18:59:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 18:59:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 18:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6231662539046912,"km_value":6231662539046.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 18:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776388608667158528,"description":"Unknown IO ID 45"} 
[2026-07-15 18:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735254272001,"power":13102,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1776388608667158528}} 
[2026-07-15 18:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":135058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 18:59:57] local.INFO: GPS data processed {"connection_id":135058,"processed":1,"errors":0,"total":1} 
[2026-07-15 18:59:57] local.INFO: Acknowledgment sent {"connection_id":135058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 18:59:59] local.INFO: TCP Data received {"connection_id":135059,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:59:59] local.INFO: Processing buffer {"connection_id":135059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 18:59:59] local.INFO: IMEI packet received {"connection_id":135059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 18:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":135059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:00:00] local.INFO: TCP Data received {"connection_id":135059,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:00:00] local.INFO: Processing buffer {"connection_id":135059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:00:00] local.INFO: IMEI packet received {"connection_id":135059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":135059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:00:05] local.INFO: TCP Data received {"connection_id":135059,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:00:05] local.INFO: Processing buffer {"connection_id":135059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:00:05] local.INFO: IMEI packet received {"connection_id":135059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":135059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:00:06] local.INFO: TCP Data received {"connection_id":135059,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65f6b598012d800ac005c06e08000900082f..."} 
[2026-07-15 19:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65f6b598012d800ac005c06e08000900082f..."} 
[2026-07-15 19:00:06] local.INFO: Processing buffer {"connection_id":135059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65f6b598012d800ac005c06e08000900082f..."} 
[2026-07-15 19:00:06] local.INFO: Packet analysis {"connection_id":135059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65f6"} 
[2026-07-15 19:00:06] local.INFO: Extracted packet for processing {"connection_id":135059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65f6"} 
[2026-07-15 19:00:06] local.INFO: GPS Element Parsed {"raw_longitude":763366080,"raw_latitude":96497160,"longitude_deg":76.336608,"latitude_deg":9.649716,"altitude":9,"angle":8,"satellites":47,"speed":53,"hex_longitude":"2d800ac0","hex_latitude":"05c06e08","is_valid_coordinates":true} 
[2026-07-15 19:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735254528001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347299392086081536,"note":"Value kept but may cause issues"} 
[2026-07-15 19:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9222105374758608896,"note":"Value kept but may cause issues"} 
[2026-07-15 19:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784122095000,"timestamp_ms":1784122095000,"timestamp_seconds":1784122095,"priority":1,"record_length":96,"hex_timestamp":"0000019f65f6b598"} 
[2026-07-15 19:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-15 19:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:00:06] 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-07-15 19:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735254528001,"66":27767,"235":206,"85":12288,"24":53,"16":347299392086081536,"45":-9222105374758608896},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-07-15 19:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735254528001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:00:06] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-15 19:00:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347299392086081536,"km_value":347299392086081.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9222105374758608896,"description":"Unknown IO ID 45"} 
[2026-07-15 19:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735254528001,"power":27767,"unknown_235":206,"unknown_85":12288,"ignition":53,"odometer":null,"unknown_45":-9222105374758608896}} 
[2026-07-15 19:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":135059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:00:06] local.INFO: GPS data processed {"connection_id":135059,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:00:06] local.INFO: Acknowledgment sent {"connection_id":135059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:00:28] local.INFO: TCP Data received {"connection_id":135058,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65f69e28012d18a8400722a778006d008b28..."} 
[2026-07-15 19:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65f69e28012d18a8400722a778006d008b28..."} 
[2026-07-15 19:00:28] local.INFO: Processing buffer {"connection_id":135058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65f69e28012d18a8400722a778006d008b28..."} 
[2026-07-15 19:00:28] local.INFO: Packet analysis {"connection_id":135058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65f6"} 
[2026-07-15 19:00:28] local.INFO: Extracted packet for processing {"connection_id":135058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65f6"} 
[2026-07-15 19:00:28] local.INFO: GPS Element Parsed {"raw_longitude":756590656,"raw_latitude":119711608,"longitude_deg":75.6590656,"latitude_deg":11.9711608,"altitude":109,"angle":139,"satellites":40,"speed":7,"hex_longitude":"2d18a840","hex_latitude":"0722a778","is_valid_coordinates":true} 
[2026-07-15 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-07-15 19:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735254528001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6231666834014208,"note":"Value kept but may cause issues"} 
[2026-07-15 19:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776670083643860992,"note":"Value kept but may cause issues"} 
[2026-07-15 19:00: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-07-15 19:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784122089000,"timestamp_ms":1784122089000,"timestamp_seconds":1784122089,"priority":1,"record_length":96,"hex_timestamp":"0000019f65f69e28"} 
[2026-07-15 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-07-15 19:00:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-15 19:00:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 19:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":135058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":135058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":135058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:00:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735254528001,"66":13135,"120":206,"28":31744,"24":7,"16":6231666834014208,"45":1776670083643860992},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735254528001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:00:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:00:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6231666834014208,"km_value":6231666834014.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776670083643860992,"description":"Unknown IO ID 45"} 
[2026-07-15 19:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735254528001,"power":13135,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1776670083643860992}} 
[2026-07-15 19:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":135058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:00:28] local.INFO: GPS data processed {"connection_id":135058,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:00:28] local.INFO: Acknowledgment sent {"connection_id":135058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:00:37] local.INFO: TCP Data received {"connection_id":135059,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65f6d0f0012d80108005c092f8000900072e..."} 
[2026-07-15 19:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65f6d0f0012d80108005c092f8000900072e..."} 
[2026-07-15 19:00:37] local.INFO: Processing buffer {"connection_id":135059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65f6d0f0012d80108005c092f8000900072e..."} 
[2026-07-15 19:00:37] local.INFO: Packet analysis {"connection_id":135059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65f6"} 
[2026-07-15 19:00:37] local.INFO: Extracted packet for processing {"connection_id":135059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65f6"} 
[2026-07-15 19:00:37] local.INFO: GPS Element Parsed {"raw_longitude":763367552,"raw_latitude":96506616,"longitude_deg":76.3367552,"latitude_deg":9.6506616,"altitude":9,"angle":7,"satellites":46,"speed":54,"hex_longitude":"2d801080","hex_latitude":"05c092f8","is_valid_coordinates":true} 
[2026-07-15 19:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735256320001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347299855942549504,"note":"Value kept but may cause issues"} 
[2026-07-15 19:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9220346156151863296,"note":"Value kept but may cause issues"} 
[2026-07-15 19:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784122102000,"timestamp_ms":1784122102000,"timestamp_seconds":1784122102,"priority":1,"record_length":96,"hex_timestamp":"0000019f65f6d0f0"} 
[2026-07-15 19:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 19:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":135059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":135059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":135059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:00:37] 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-07-15 19:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735256320001,"66":27658,"235":206,"85":12288,"24":54,"16":347299855942549504,"45":-9220346156151863296},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-07-15 19:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735256320001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:00:37] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-15 19:00:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347299855942549504,"km_value":347299855942549.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9220346156151863296,"description":"Unknown IO ID 45"} 
[2026-07-15 19:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735256320001,"power":27658,"unknown_235":206,"unknown_85":12288,"ignition":54,"odometer":null,"unknown_45":-9220346156151863296}} 
[2026-07-15 19:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":135059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:00:37] local.INFO: GPS data processed {"connection_id":135059,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:00:37] local.INFO: Acknowledgment sent {"connection_id":135059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:00:54] local.INFO: TCP Data received {"connection_id":133695,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:00:54] local.INFO: Processing buffer {"connection_id":133695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:00:54] local.INFO: IMEI packet received {"connection_id":133695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":133695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:00:55] local.INFO: TCP Data received {"connection_id":133695,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:00:55] local.INFO: Processing buffer {"connection_id":133695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:00:55] local.INFO: IMEI packet received {"connection_id":133695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":133695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:01:00] local.INFO: TCP Data received {"connection_id":133695,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:01:00] local.INFO: Processing buffer {"connection_id":133695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:01:00] local.INFO: IMEI packet received {"connection_id":133695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":133695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:01:01] local.INFO: TCP Data received {"connection_id":132844,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:01:01] local.INFO: Processing buffer {"connection_id":132844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:01:01] local.INFO: IMEI packet received {"connection_id":132844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":132844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:01:01] local.INFO: TCP Data received {"connection_id":132844,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:01:01] local.INFO: Processing buffer {"connection_id":132844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:01:01] local.INFO: IMEI packet received {"connection_id":132844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":132844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:01:01] local.INFO: TCP Data received {"connection_id":133695,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65f6f030012d18a8c00722a650006d009226..."} 
[2026-07-15 19:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65f6f030012d18a8c00722a650006d009226..."} 
[2026-07-15 19:01:01] local.INFO: Processing buffer {"connection_id":133695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65f6f030012d18a8c00722a650006d009226..."} 
[2026-07-15 19:01:01] local.INFO: Packet analysis {"connection_id":133695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65f6"} 
[2026-07-15 19:01:01] local.INFO: Extracted packet for processing {"connection_id":133695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65f6"} 
[2026-07-15 19:01:01] local.INFO: GPS Element Parsed {"raw_longitude":756590784,"raw_latitude":119711312,"longitude_deg":75.6590784,"latitude_deg":11.9711312,"altitude":109,"angle":146,"satellites":38,"speed":0,"hex_longitude":"2d18a8c0","hex_latitude":"0722a650","is_valid_coordinates":true} 
[2026-07-15 19:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735254784001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6231688308850688,"note":"Value kept but may cause issues"} 
[2026-07-15 19:01:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776740452388009984,"note":"Value kept but may cause issues"} 
[2026-07-15 19:01:01] 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-07-15 19:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784122110000,"timestamp_ms":1784122110000,"timestamp_seconds":1784122110,"priority":1,"record_length":96,"hex_timestamp":"0000019f65f6f030"} 
[2026-07-15 19:01:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:01: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-07-15 19:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-15 19:01:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:01:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:01:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":133695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":133695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":133695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:01:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735254784001,"66":13091,"120":206,"28":31744,"24":0,"16":6231688308850688,"45":1776740452388009984},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735254784001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:01:01] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:01:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6231688308850688,"km_value":6231688308850.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:01:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776740452388009984,"description":"Unknown IO ID 45"} 
[2026-07-15 19:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735254784001,"power":13091,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1776740452388009984}} 
[2026-07-15 19:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":133695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:01:02] local.INFO: GPS data processed {"connection_id":133695,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:01:02] local.INFO: Acknowledgment sent {"connection_id":133695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:01:05] local.INFO: TCP Data received {"connection_id":132844,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:01:05] local.INFO: Processing buffer {"connection_id":132844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:01:05] local.INFO: IMEI packet received {"connection_id":132844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":132844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:01:06] local.INFO: TCP Data received {"connection_id":132844,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65f6f030012d80148005c0b688000900002f..."} 
[2026-07-15 19:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65f6f030012d80148005c0b688000900002f..."} 
[2026-07-15 19:01:06] local.INFO: Processing buffer {"connection_id":132844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65f6f030012d80148005c0b688000900002f..."} 
[2026-07-15 19:01:06] local.INFO: Packet analysis {"connection_id":132844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65f6"} 
[2026-07-15 19:01:06] local.INFO: Extracted packet for processing {"connection_id":132844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65f6"} 
[2026-07-15 19:01:06] local.INFO: GPS Element Parsed {"raw_longitude":763368576,"raw_latitude":96515720,"longitude_deg":76.3368576,"latitude_deg":9.651572,"altitude":9,"angle":0,"satellites":47,"speed":30,"hex_longitude":"2d801480","hex_latitude":"05c0b688","is_valid_coordinates":true} 
[2026-07-15 19:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735258112001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347300298324180992,"note":"Value kept but may cause issues"} 
[2026-07-15 19:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9218727675033356288,"note":"Value kept but may cause issues"} 
[2026-07-15 19:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784122110000,"timestamp_ms":1784122110000,"timestamp_seconds":1784122110,"priority":1,"record_length":96,"hex_timestamp":"0000019f65f6f030"} 
[2026-07-15 19:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-15 19:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:01:06] 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-07-15 19:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735258112001,"66":27593,"235":206,"85":12288,"24":30,"16":347300298324180992,"45":-9218727675033356288},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-07-15 19:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735258112001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:01:06] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-15 19:01:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347300298324180992,"km_value":347300298324181.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9218727675033356288,"description":"Unknown IO ID 45"} 
[2026-07-15 19:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735258112001,"power":27593,"unknown_235":206,"unknown_85":12288,"ignition":30,"odometer":null,"unknown_45":-9218727675033356288}} 
[2026-07-15 19:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":132844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:01:06] local.INFO: GPS data processed {"connection_id":132844,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:01:06] local.INFO: Acknowledgment sent {"connection_id":132844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:01:06] local.INFO: TCP Data received {"connection_id":133695,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65f74238012d18a8c00722a650006d009223..."} 
[2026-07-15 19:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65f74238012d18a8c00722a650006d009223..."} 
[2026-07-15 19:01:06] local.INFO: Processing buffer {"connection_id":133695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65f74238012d18a8c00722a650006d009223..."} 
[2026-07-15 19:01:06] local.INFO: Packet analysis {"connection_id":133695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65f7"} 
[2026-07-15 19:01:06] local.INFO: Extracted packet for processing {"connection_id":133695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65f7"} 
[2026-07-15 19:01:06] local.INFO: GPS Element Parsed {"raw_longitude":756590784,"raw_latitude":119711312,"longitude_deg":75.6590784,"latitude_deg":11.9711312,"altitude":109,"angle":146,"satellites":35,"speed":0,"hex_longitude":"2d18a8c0","hex_latitude":"0722a650","is_valid_coordinates":true} 
[2026-07-15 19:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735260160001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6231688308850688,"note":"Value kept but may cause issues"} 
[2026-07-15 19:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776881189876289536,"note":"Value kept but may cause issues"} 
[2026-07-15 19:01:06] 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-07-15 19:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784122131000,"timestamp_ms":1784122131000,"timestamp_seconds":1784122131,"priority":1,"record_length":96,"hex_timestamp":"0000019f65f74238"} 
[2026-07-15 19:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-15 19:01:06] 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-07-15 19:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735260160001,"66":13080,"120":206,"28":31744,"24":0,"16":6231688308850688,"45":1776881189876289536},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735260160001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:01:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:01:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6231688308850688,"km_value":6231688308850.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776881189876289536,"description":"Unknown IO ID 45"} 
[2026-07-15 19:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735260160001,"power":13080,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1776881189876289536}} 
[2026-07-15 19:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":133695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:01:06] local.INFO: GPS data processed {"connection_id":133695,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:01:06] local.INFO: Acknowledgment sent {"connection_id":133695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:01:37] local.INFO: TCP Data received {"connection_id":132844,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65f70f70012d80148005c0c7c00009000d2f..."} 
[2026-07-15 19:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65f70f70012d80148005c0c7c00009000d2f..."} 
[2026-07-15 19:01:37] local.INFO: Processing buffer {"connection_id":132844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65f70f70012d80148005c0c7c00009000d2f..."} 
[2026-07-15 19:01:37] local.INFO: Packet analysis {"connection_id":132844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65f7"} 
[2026-07-15 19:01:37] local.INFO: Extracted packet for processing {"connection_id":132844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65f7"} 
[2026-07-15 19:01:37] local.INFO: GPS Element Parsed {"raw_longitude":763368576,"raw_latitude":96520128,"longitude_deg":76.3368576,"latitude_deg":9.6520128,"altitude":9,"angle":13,"satellites":47,"speed":23,"hex_longitude":"2d801480","hex_latitude":"05c0c7c0","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735260160001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347300513072545792,"note":"Value kept but may cause issues"} 
[2026-07-15 19:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9217601775124183040,"note":"Value kept but may cause issues"} 
[2026-07-15 19:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784122118000,"timestamp_ms":1784122118000,"timestamp_seconds":1784122118,"priority":1,"record_length":96,"hex_timestamp":"0000019f65f70f70"} 
[2026-07-15 19:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-15 19:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19: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-07-15 19:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:01:37] 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-07-15 19:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735260160001,"66":27658,"235":206,"85":12288,"24":23,"16":347300513072545792,"45":-9217601775124183040},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-07-15 19:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735260160001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:01:37] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-15 19:01:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347300513072545792,"km_value":347300513072545.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9217601775124183040,"description":"Unknown IO ID 45"} 
[2026-07-15 19:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735260160001,"power":27658,"unknown_235":206,"unknown_85":12288,"ignition":23,"odometer":null,"unknown_45":-9217601775124183040}} 
[2026-07-15 19:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":132844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:01:37] local.INFO: GPS data processed {"connection_id":132844,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:01:37] local.INFO: Acknowledgment sent {"connection_id":132844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:01:50] local.INFO: TCP Data received {"connection_id":132666,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:01:50] local.INFO: Processing buffer {"connection_id":132666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:01:50] local.INFO: IMEI packet received {"connection_id":132666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":132666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:01:55] local.INFO: TCP Data received {"connection_id":132666,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:01:55] local.INFO: Processing buffer {"connection_id":132666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:01:55] local.INFO: IMEI packet received {"connection_id":132666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":132666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:01:56] local.INFO: TCP Data received {"connection_id":132666,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65f79440012d18a8c00722a650006d009227..."} 
[2026-07-15 19:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65f79440012d18a8c00722a650006d009227..."} 
[2026-07-15 19:01:56] local.INFO: Processing buffer {"connection_id":132666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65f79440012d18a8c00722a650006d009227..."} 
[2026-07-15 19:01:56] local.INFO: Packet analysis {"connection_id":132666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65f7"} 
[2026-07-15 19:01:56] local.INFO: Extracted packet for processing {"connection_id":132666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65f7"} 
[2026-07-15 19:01:56] local.INFO: GPS Element Parsed {"raw_longitude":756590784,"raw_latitude":119711312,"longitude_deg":75.6590784,"latitude_deg":11.9711312,"altitude":109,"angle":146,"satellites":39,"speed":0,"hex_longitude":"2d18a8c0","hex_latitude":"0722a650","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735265536001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6231688308850688,"note":"Value kept but may cause issues"} 
[2026-07-15 19:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776881189876289536,"note":"Value kept but may cause issues"} 
[2026-07-15 19:01: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-07-15 19:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784122152000,"timestamp_ms":1784122152000,"timestamp_seconds":1784122152,"priority":1,"record_length":96,"hex_timestamp":"0000019f65f79440"} 
[2026-07-15 19:01:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:01:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-15 19:01:56] 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-07-15 19: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-07-15 19:01:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:01:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735265536001,"66":11852,"120":206,"28":31744,"24":0,"16":6231688308850688,"45":1776881189876289536},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735265536001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:01:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:01:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6231688308850688,"km_value":6231688308850.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776881189876289536,"description":"Unknown IO ID 45"} 
[2026-07-15 19:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735265536001,"power":11852,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1776881189876289536}} 
[2026-07-15 19:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":132666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:01:56] local.INFO: GPS data processed {"connection_id":132666,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:01:56] local.INFO: Acknowledgment sent {"connection_id":132666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:02:00] local.INFO: TCP Data received {"connection_id":132845,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:02:00] local.INFO: Processing buffer {"connection_id":132845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:02:00] local.INFO: IMEI packet received {"connection_id":132845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":132845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:02:03] local.INFO: TCP Data received {"connection_id":132845,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:02:03] local.INFO: Processing buffer {"connection_id":132845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:02:03] local.INFO: IMEI packet received {"connection_id":132845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":132845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:02:05] local.INFO: TCP Data received {"connection_id":132845,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:02:05] local.INFO: Processing buffer {"connection_id":132845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:02:05] local.INFO: IMEI packet received {"connection_id":132845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":132845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:02:06] local.INFO: TCP Data received {"connection_id":132845,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65f96130012d80478005c21bd8000800082e..."} 
[2026-07-15 19:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65f96130012d80478005c21bd8000800082e..."} 
[2026-07-15 19:02:06] local.INFO: Processing buffer {"connection_id":132845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65f96130012d80478005c21bd8000800082e..."} 
[2026-07-15 19:02:06] local.INFO: Packet analysis {"connection_id":132845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65f9"} 
[2026-07-15 19:02:06] local.INFO: Extracted packet for processing {"connection_id":132845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65f9"} 
[2026-07-15 19:02:06] local.INFO: GPS Element Parsed {"raw_longitude":763381632,"raw_latitude":96607192,"longitude_deg":76.3381632,"latitude_deg":9.6607192,"altitude":8,"angle":8,"satellites":46,"speed":46,"hex_longitude":"2d804780","hex_latitude":"05c21bd8","is_valid_coordinates":true} 
[2026-07-15 19:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735298816001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347304795154939904,"note":"Value kept but may cause issues"} 
[2026-07-15 19:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9204724294918735872,"note":"Value kept but may cause issues"} 
[2026-07-15 19:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784122270000,"timestamp_ms":1784122270000,"timestamp_seconds":1784122270,"priority":1,"record_length":96,"hex_timestamp":"0000019f65f96130"} 
[2026-07-15 19:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-15 19:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:02:06] 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-07-15 19:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735298816001,"66":27745,"234":206,"85":12288,"24":46,"16":347304795154939904,"45":-9204724294918735872},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-07-15 19:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735298816001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:02:06] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-07-15 19:02:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347304795154939904,"km_value":347304795154939.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9204724294918735872,"description":"Unknown IO ID 45"} 
[2026-07-15 19:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735298816001,"power":27745,"unknown_234":206,"unknown_85":12288,"ignition":46,"odometer":null,"unknown_45":-9204724294918735872}} 
[2026-07-15 19:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":132845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:02:06] local.INFO: GPS data processed {"connection_id":132845,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:02:06] local.INFO: Acknowledgment sent {"connection_id":132845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:02:37] local.INFO: TCP Data received {"connection_id":132845,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65f98070012d804d0005c24208000900092e..."} 
[2026-07-15 19:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65f98070012d804d0005c24208000900092e..."} 
[2026-07-15 19:02:37] local.INFO: Processing buffer {"connection_id":132845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65f98070012d804d0005c24208000900092e..."} 
[2026-07-15 19:02:37] local.INFO: Packet analysis {"connection_id":132845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65f9"} 
[2026-07-15 19:02:37] local.INFO: Extracted packet for processing {"connection_id":132845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65f9"} 
[2026-07-15 19:02:37] local.INFO: GPS Element Parsed {"raw_longitude":763383040,"raw_latitude":96616968,"longitude_deg":76.338304,"latitude_deg":9.6616968,"altitude":9,"angle":9,"satellites":46,"speed":51,"hex_longitude":"2d804d00","hex_latitude":"05c24208","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735301120001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347305271896309760,"note":"Value kept but may cause issues"} 
[2026-07-15 19:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9203246551288522752,"note":"Value kept but may cause issues"} 
[2026-07-15 19:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784122278000,"timestamp_ms":1784122278000,"timestamp_seconds":1784122278,"priority":1,"record_length":96,"hex_timestamp":"0000019f65f98070"} 
[2026-07-15 19:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-15 19:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19: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-07-15 19:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:02:37] 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-07-15 19:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735301120001,"66":27658,"234":206,"85":12288,"24":51,"16":347305271896309760,"45":-9203246551288522752},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-07-15 19:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735301120001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:02:37] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-07-15 19:02:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347305271896309760,"km_value":347305271896309.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9203246551288522752,"description":"Unknown IO ID 45"} 
[2026-07-15 19:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735301120001,"power":27658,"unknown_234":206,"unknown_85":12288,"ignition":51,"odometer":null,"unknown_45":-9203246551288522752}} 
[2026-07-15 19:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":132845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:02:37] local.INFO: GPS data processed {"connection_id":132845,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:02:37] local.INFO: Acknowledgment sent {"connection_id":132845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:02:37] local.INFO: TCP Data received {"connection_id":132666,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65f9f1b8012d18a64007229db8007500ea28..."} 
[2026-07-15 19:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65f9f1b8012d18a64007229db8007500ea28..."} 
[2026-07-15 19:02:37] local.INFO: Processing buffer {"connection_id":132666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65f9f1b8012d18a64007229db8007500ea28..."} 
[2026-07-15 19:02:37] local.INFO: Packet analysis {"connection_id":132666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65f9"} 
[2026-07-15 19:02:37] local.INFO: Extracted packet for processing {"connection_id":132666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65f9"} 
[2026-07-15 19:02:37] local.INFO: GPS Element Parsed {"raw_longitude":756590144,"raw_latitude":119709112,"longitude_deg":75.6590144,"latitude_deg":11.9709112,"altitude":117,"angle":234,"satellites":40,"speed":9,"hex_longitude":"2d18a640","hex_latitude":"07229db8","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735310336001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6231812862902272,"note":"Value kept but may cause issues"} 
[2026-07-15 19:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776388608666525696,"note":"Value kept but may cause issues"} 
[2026-07-15 19:02:37] 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-07-15 19:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784122307000,"timestamp_ms":1784122307000,"timestamp_seconds":1784122307,"priority":1,"record_length":96,"hex_timestamp":"0000019f65f9f1b8"} 
[2026-07-15 19:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-15 19:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19: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-07-15 19:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735310336001,"66":14254,"120":206,"28":31744,"24":9,"16":6231812862902272,"45":1776388608666525696},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735310336001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:02:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:02:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6231812862902272,"km_value":6231812862902.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776388608666525696,"description":"Unknown IO ID 45"} 
[2026-07-15 19:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735310336001,"power":14254,"unknown_120":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1776388608666525696}} 
[2026-07-15 19:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":132666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:02:37] local.INFO: GPS data processed {"connection_id":132666,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:02:37] local.INFO: Acknowledgment sent {"connection_id":132666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:02:50] local.INFO: TCP Data received {"connection_id":132667,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:02:50] local.INFO: Processing buffer {"connection_id":132667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:02:50] local.INFO: IMEI packet received {"connection_id":132667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":132667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:02:51] local.INFO: TCP Data received {"connection_id":132667,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:02:51] local.INFO: Processing buffer {"connection_id":132667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:02:51] local.INFO: IMEI packet received {"connection_id":132667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":132667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:02:55] local.INFO: TCP Data received {"connection_id":132667,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:02:55] local.INFO: Processing buffer {"connection_id":132667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:02:55] local.INFO: IMEI packet received {"connection_id":132667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":132667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:02:57] local.INFO: TCP Data received {"connection_id":132667,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65f9f5a0012d18a58007229d50007500fd28..."} 
[2026-07-15 19:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65f9f5a0012d18a58007229d50007500fd28..."} 
[2026-07-15 19:02:57] local.INFO: Processing buffer {"connection_id":132667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65f9f5a0012d18a58007229d50007500fd28..."} 
[2026-07-15 19:02:57] local.INFO: Packet analysis {"connection_id":132667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65f9"} 
[2026-07-15 19:02:57] local.INFO: Extracted packet for processing {"connection_id":132667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65f9"} 
[2026-07-15 19:02:57] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119709008,"longitude_deg":75.6589952,"latitude_deg":11.9709008,"altitude":117,"angle":253,"satellites":40,"speed":8,"hex_longitude":"2d18a580","hex_latitude":"07229d50","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:02:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735310592001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:02:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6231821452836864,"note":"Value kept but may cause issues"} 
[2026-07-15 19:02:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776177502433949696,"note":"Value kept but may cause issues"} 
[2026-07-15 19:02:57] 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-07-15 19:02:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784122308000,"timestamp_ms":1784122308000,"timestamp_seconds":1784122308,"priority":1,"record_length":96,"hex_timestamp":"0000019f65f9f5a0"} 
[2026-07-15 19:02:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:02:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-15 19:02:57] 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-07-15 19: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-07-15 19:02:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:02:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:02:57] local.INFO: Teltonika packet parsed successfully {"connection_id":132667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:02:57] local.INFO: Passing IMEI to GPS processor {"connection_id":132667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:02:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":132667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:02:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:02:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:02:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:02:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735310592001,"66":14254,"120":206,"28":31744,"24":8,"16":6231821452836864,"45":1776177502433949696},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:02:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:02:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:02:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735310592001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:02:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:02:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:02:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6231821452836864,"km_value":6231821452836.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:02:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776177502433949696,"description":"Unknown IO ID 45"} 
[2026-07-15 19:02:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735310592001,"power":14254,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1776177502433949696}} 
[2026-07-15 19:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":132667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:02:58] local.INFO: GPS data processed {"connection_id":132667,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:02:58] local.INFO: Acknowledgment sent {"connection_id":132667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:03:04] local.INFO: TCP Data received {"connection_id":133696,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:03:04] local.INFO: Processing buffer {"connection_id":133696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:03:04] local.INFO: IMEI packet received {"connection_id":133696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":133696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:03:05] local.INFO: TCP Data received {"connection_id":133696,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:03:05] local.INFO: Processing buffer {"connection_id":133696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:03:05] local.INFO: IMEI packet received {"connection_id":133696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":133696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:03:10] local.INFO: TCP Data received {"connection_id":133696,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:03:10] local.INFO: Processing buffer {"connection_id":133696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:03:10] local.INFO: IMEI packet received {"connection_id":133696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":133696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:03:11] local.INFO: TCP Data received {"connection_id":133696,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65f99bc8012d80524005c26688000900072e..."} 
[2026-07-15 19:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65f99bc8012d80524005c26688000900072e..."} 
[2026-07-15 19:03:11] local.INFO: Processing buffer {"connection_id":133696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65f99bc8012d80524005c26688000900072e..."} 
[2026-07-15 19:03:11] local.INFO: Packet analysis {"connection_id":133696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65f9"} 
[2026-07-15 19:03:11] local.INFO: Extracted packet for processing {"connection_id":133696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65f9"} 
[2026-07-15 19:03:11] local.INFO: GPS Element Parsed {"raw_longitude":763384384,"raw_latitude":96626312,"longitude_deg":76.3384384,"latitude_deg":9.6626312,"altitude":9,"angle":7,"satellites":46,"speed":54,"hex_longitude":"2d805240","hex_latitude":"05c26688","is_valid_coordinates":true} 
[2026-07-15 19:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735303168001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347305731457810432,"note":"Value kept but may cause issues"} 
[2026-07-15 19:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9201698438914111488,"note":"Value kept but may cause issues"} 
[2026-07-15 19:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784122285000,"timestamp_ms":1784122285000,"timestamp_seconds":1784122285,"priority":1,"record_length":96,"hex_timestamp":"0000019f65f99bc8"} 
[2026-07-15 19:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-15 19:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":133696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":133696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":133696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:03:11] 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-07-15 19:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735303168001,"66":27658,"234":206,"85":12288,"24":54,"16":347305731457810432,"45":-9201698438914111488},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-07-15 19:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735303168001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:03:11] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-07-15 19:03:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347305731457810432,"km_value":347305731457810.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9201698438914111488,"description":"Unknown IO ID 45"} 
[2026-07-15 19:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735303168001,"power":27658,"unknown_234":206,"unknown_85":12288,"ignition":54,"odometer":null,"unknown_45":-9201698438914111488}} 
[2026-07-15 19:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":133696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:03:11] local.INFO: GPS data processed {"connection_id":133696,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:03:11] local.INFO: Acknowledgment sent {"connection_id":133696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:03:29] local.INFO: TCP Data received {"connection_id":132667,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65f9f988012d18a4c007229d200074010828..."} 
[2026-07-15 19:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65f9f988012d18a4c007229d200074010828..."} 
[2026-07-15 19:03:29] local.INFO: Processing buffer {"connection_id":132667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65f9f988012d18a4c007229d200074010828..."} 
[2026-07-15 19:03:29] local.INFO: Packet analysis {"connection_id":132667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65f9"} 
[2026-07-15 19:03:29] local.INFO: Extracted packet for processing {"connection_id":132667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65f9"} 
[2026-07-15 19:03:29] local.INFO: GPS Element Parsed {"raw_longitude":756589760,"raw_latitude":119708960,"longitude_deg":75.658976,"latitude_deg":11.970896,"altitude":116,"angle":264,"satellites":40,"speed":8,"hex_longitude":"2d18a4c0","hex_latitude":"07229d20","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735310848001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6231834337738752,"note":"Value kept but may cause issues"} 
[2026-07-15 19:03:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396201390080,"note":"Value kept but may cause issues"} 
[2026-07-15 19:03:29] 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-07-15 19:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784122309000,"timestamp_ms":1784122309000,"timestamp_seconds":1784122309,"priority":1,"record_length":96,"hex_timestamp":"0000019f65f9f988"} 
[2026-07-15 19:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:03:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-15 19:03:29] 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-07-15 19: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-07-15 19:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":132667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":132667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":132667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:03:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735310848001,"66":14113,"120":206,"28":31744,"24":8,"16":6231834337738752,"45":1775966396201390080},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735310848001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:03:29] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:03:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6231834337738752,"km_value":6231834337738.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:03:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396201390080,"description":"Unknown IO ID 45"} 
[2026-07-15 19:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735310848001,"power":14113,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1775966396201390080}} 
[2026-07-15 19:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":132667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:03:29] local.INFO: GPS data processed {"connection_id":132667,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:03:29] local.INFO: Acknowledgment sent {"connection_id":132667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:03:42] local.INFO: TCP Data received {"connection_id":133696,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65f9b720012d80578005c28c10000900072e..."} 
[2026-07-15 19:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65f9b720012d80578005c28c10000900072e..."} 
[2026-07-15 19:03:42] local.INFO: Processing buffer {"connection_id":133696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65f9b720012d80578005c28c10000900072e..."} 
[2026-07-15 19:03:42] local.INFO: Packet analysis {"connection_id":133696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65f9"} 
[2026-07-15 19:03:42] local.INFO: Extracted packet for processing {"connection_id":133696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65f9"} 
[2026-07-15 19:03:42] local.INFO: GPS Element Parsed {"raw_longitude":763385728,"raw_latitude":96635920,"longitude_deg":76.3385728,"latitude_deg":9.663592,"altitude":9,"angle":7,"satellites":46,"speed":53,"hex_longitude":"2d805780","hex_latitude":"05c28c10","is_valid_coordinates":true} 
[2026-07-15 19:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735304960001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347306199609245696,"note":"Value kept but may cause issues"} 
[2026-07-15 19:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9200220695283988480,"note":"Value kept but may cause issues"} 
[2026-07-15 19:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784122292000,"timestamp_ms":1784122292000,"timestamp_seconds":1784122292,"priority":1,"record_length":96,"hex_timestamp":"0000019f65f9b720"} 
[2026-07-15 19:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-15 19:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":133696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":133696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":133696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:03:42] 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-07-15 19:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735304960001,"66":27713,"234":206,"85":12288,"24":53,"16":347306199609245696,"45":-9200220695283988480},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-07-15 19:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735304960001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:03:42] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-07-15 19:03:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347306199609245696,"km_value":347306199609245.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9200220695283988480,"description":"Unknown IO ID 45"} 
[2026-07-15 19:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735304960001,"power":27713,"unknown_234":206,"unknown_85":12288,"ignition":53,"odometer":null,"unknown_45":-9200220695283988480}} 
[2026-07-15 19:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":133696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:03:42] local.INFO: GPS data processed {"connection_id":133696,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:03:42] local.INFO: Acknowledgment sent {"connection_id":133696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:03:50] local.INFO: TCP Data received {"connection_id":132846,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:03:50] local.INFO: Processing buffer {"connection_id":132846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:03:50] local.INFO: IMEI packet received {"connection_id":132846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":132846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:03:55] local.INFO: TCP Data received {"connection_id":132846,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:03:55] local.INFO: Processing buffer {"connection_id":132846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:03:55] local.INFO: IMEI packet received {"connection_id":132846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":132846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:03:57] local.INFO: TCP Data received {"connection_id":132846,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65faefa0012d1847000722cb10007a000024..."} 
[2026-07-15 19:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65faefa0012d1847000722cb10007a000024..."} 
[2026-07-15 19:03:57] local.INFO: Processing buffer {"connection_id":132846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65faefa0012d1847000722cb10007a000024..."} 
[2026-07-15 19:03:57] local.INFO: Packet analysis {"connection_id":132846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65fa"} 
[2026-07-15 19:03:57] local.INFO: Extracted packet for processing {"connection_id":132846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65fa"} 
[2026-07-15 19:03:57] local.INFO: GPS Element Parsed {"raw_longitude":756565760,"raw_latitude":119720720,"longitude_deg":75.656576,"latitude_deg":11.972072,"altitude":122,"angle":0,"satellites":36,"speed":23,"hex_longitude":"2d184700","hex_latitude":"0722cb10","is_valid_coordinates":true} 
[2026-07-15 19:03: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-07-15 19:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735325952001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:03:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6233217317208064,"note":"Value kept but may cause issues"} 
[2026-07-15 19:03:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1749718854625437696,"note":"Value kept but may cause issues"} 
[2026-07-15 19:03:57] 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-07-15 19:03:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784122372000,"timestamp_ms":1784122372000,"timestamp_seconds":1784122372,"priority":1,"record_length":96,"hex_timestamp":"0000019f65faefa0"} 
[2026-07-15 19:03:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:03:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-15 19:03:57] 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-07-15 19:03: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-07-15 19:03:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:03:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:03:57] local.INFO: Teltonika packet parsed successfully {"connection_id":132846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:03:57] local.INFO: Passing IMEI to GPS processor {"connection_id":132846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:03:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":132846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:03:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:03:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:03:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:03:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735325952001,"66":14233,"70":206,"28":31744,"24":23,"16":6233217317208064,"45":1749718854625437696},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-15 19:03:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:03:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:03:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735325952001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:03:57] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-15 19:03:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:03:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6233217317208064,"km_value":6233217317208.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:03:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1749718854625437696,"description":"Unknown IO ID 45"} 
[2026-07-15 19:03:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735325952001,"power":14233,"unknown_70":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1749718854625437696}} 
[2026-07-15 19:03:57] local.INFO: DEBUG: GPS processor result {"connection_id":132846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:03:57] local.INFO: GPS data processed {"connection_id":132846,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:03:57] local.INFO: Acknowledgment sent {"connection_id":132846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:03:57] local.INFO: TCP Data received {"connection_id":132668,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:03:57] local.INFO: Processing buffer {"connection_id":132668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:03:57] local.INFO: IMEI packet received {"connection_id":132668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":132668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:04:00] local.INFO: TCP Data received {"connection_id":132668,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:04:00] local.INFO: Processing buffer {"connection_id":132668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:04:00] local.INFO: IMEI packet received {"connection_id":132668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":132668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:04:06] local.INFO: TCP Data received {"connection_id":132668,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:04:06] local.INFO: Processing buffer {"connection_id":132668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:04:06] local.INFO: IMEI packet received {"connection_id":132668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":132668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:04:07] local.INFO: TCP Data received {"connection_id":132668,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65f9d278012d805c4005c2b030000900082f..."} 
[2026-07-15 19:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65f9d278012d805c4005c2b030000900082f..."} 
[2026-07-15 19:04:07] local.INFO: Processing buffer {"connection_id":132668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65f9d278012d805c4005c2b030000900082f..."} 
[2026-07-15 19:04:07] local.INFO: Packet analysis {"connection_id":132668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65f9"} 
[2026-07-15 19:04:07] local.INFO: Extracted packet for processing {"connection_id":132668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65f9"} 
[2026-07-15 19:04:07] local.INFO: GPS Element Parsed {"raw_longitude":763386944,"raw_latitude":96645168,"longitude_deg":76.3386944,"latitude_deg":9.6645168,"altitude":9,"angle":8,"satellites":47,"speed":50,"hex_longitude":"2d805c40","hex_latitude":"05c2b030","is_valid_coordinates":true} 
[2026-07-15 19:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735306752001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347306650580811776,"note":"Value kept but may cause issues"} 
[2026-07-15 19:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9198742951653797888,"note":"Value kept but may cause issues"} 
[2026-07-15 19:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784122299000,"timestamp_ms":1784122299000,"timestamp_seconds":1784122299,"priority":1,"record_length":96,"hex_timestamp":"0000019f65f9d278"} 
[2026-07-15 19:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-15 19:04:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:04:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735306752001,"66":27767,"234":206,"85":12288,"24":50,"16":347306650580811776,"45":-9198742951653797888},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-07-15 19:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735306752001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:04:07] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-07-15 19:04:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347306650580811776,"km_value":347306650580811.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9198742951653797888,"description":"Unknown IO ID 45"} 
[2026-07-15 19:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735306752001,"power":27767,"unknown_234":206,"unknown_85":12288,"ignition":50,"odometer":null,"unknown_45":-9198742951653797888}} 
[2026-07-15 19:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":132668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:04:07] local.INFO: GPS data processed {"connection_id":132668,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:04:07] local.INFO: Acknowledgment sent {"connection_id":132668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:04:28] local.INFO: TCP Data received {"connection_id":132846,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65fb0ee0012d1847800722db68007d015c23..."} 
[2026-07-15 19:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65fb0ee0012d1847800722db68007d015c23..."} 
[2026-07-15 19:04:28] local.INFO: Processing buffer {"connection_id":132846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65fb0ee0012d1847800722db68007d015c23..."} 
[2026-07-15 19:04:28] local.INFO: Packet analysis {"connection_id":132846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65fb"} 
[2026-07-15 19:04:28] local.INFO: Extracted packet for processing {"connection_id":132846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65fb"} 
[2026-07-15 19:04:28] local.INFO: GPS Element Parsed {"raw_longitude":756565888,"raw_latitude":119724904,"longitude_deg":75.6565888,"latitude_deg":11.9724904,"altitude":125,"angle":348,"satellites":35,"speed":16,"hex_longitude":"2d184780","hex_latitude":"0722db68","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735327232001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6233423475638272,"note":"Value kept but may cause issues"} 
[2026-07-15 19:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1749367010905231360,"note":"Value kept but may cause issues"} 
[2026-07-15 19:04:28] 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-07-15 19:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784122380000,"timestamp_ms":1784122380000,"timestamp_seconds":1784122380,"priority":1,"record_length":96,"hex_timestamp":"0000019f65fb0ee0"} 
[2026-07-15 19:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:04:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-15 19:04:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19: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-07-15 19:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735327232001,"66":14004,"70":206,"28":31744,"24":16,"16":6233423475638272,"45":1749367010905231360},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-15 19:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735327232001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:04:28] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-15 19:04:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6233423475638272,"km_value":6233423475638.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1749367010905231360,"description":"Unknown IO ID 45"} 
[2026-07-15 19:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735327232001,"power":14004,"unknown_70":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1749367010905231360}} 
[2026-07-15 19:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":132846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:04:28] local.INFO: GPS data processed {"connection_id":132846,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:04:28] local.INFO: Acknowledgment sent {"connection_id":132846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:04:47] local.INFO: TCP Data received {"connection_id":132668,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65f9edd0012d80614005c2d288000900082f..."} 
[2026-07-15 19:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65f9edd0012d80614005c2d288000900082f..."} 
[2026-07-15 19:04:47] local.INFO: Processing buffer {"connection_id":132668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65f9edd0012d80614005c2d288000900082f..."} 
[2026-07-15 19:04:47] local.INFO: Packet analysis {"connection_id":132668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65f9"} 
[2026-07-15 19:04:47] local.INFO: Extracted packet for processing {"connection_id":132668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65f9"} 
[2026-07-15 19:04:47] local.INFO: GPS Element Parsed {"raw_longitude":763388224,"raw_latitude":96653960,"longitude_deg":76.3388224,"latitude_deg":9.665396,"altitude":9,"angle":8,"satellites":47,"speed":52,"hex_longitude":"2d806140","hex_latitude":"05c2d288","is_valid_coordinates":true} 
[2026-07-15 19:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735308544001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347307084372508672,"note":"Value kept but may cause issues"} 
[2026-07-15 19:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9197405945512054784,"note":"Value kept but may cause issues"} 
[2026-07-15 19:04:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784122306000,"timestamp_ms":1784122306000,"timestamp_seconds":1784122306,"priority":1,"record_length":96,"hex_timestamp":"0000019f65f9edd0"} 
[2026-07-15 19:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:04:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 19:04:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:04:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":132668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":132668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":132668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735308544001,"66":27745,"234":206,"85":12288,"24":52,"16":347307084372508672,"45":-9197405945512054784},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-07-15 19:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735308544001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:04:47] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-07-15 19:04:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347307084372508672,"km_value":347307084372508.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9197405945512054784,"description":"Unknown IO ID 45"} 
[2026-07-15 19:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735308544001,"power":27745,"unknown_234":206,"unknown_85":12288,"ignition":52,"odometer":null,"unknown_45":-9197405945512054784}} 
[2026-07-15 19:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":132668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:04:47] local.INFO: GPS data processed {"connection_id":132668,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:04:47] local.INFO: Acknowledgment sent {"connection_id":132668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:04:50] local.INFO: TCP Data received {"connection_id":135061,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:04:50] local.INFO: Processing buffer {"connection_id":135061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:04:50] local.INFO: IMEI packet received {"connection_id":135061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":135061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:04:53] local.INFO: TCP Data received {"connection_id":135061,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:04:53] local.INFO: Processing buffer {"connection_id":135061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:04:53] local.INFO: IMEI packet received {"connection_id":135061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":135061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:04:54] local.INFO: TCP Data received {"connection_id":135061,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:04:54] local.INFO: Processing buffer {"connection_id":135061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:04:54] local.INFO: IMEI packet received {"connection_id":135061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":135061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:04:55] local.INFO: TCP Data received {"connection_id":135061,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:04:55] local.INFO: Processing buffer {"connection_id":135061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:04:55] local.INFO: IMEI packet received {"connection_id":135061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":135061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:04:56] local.INFO: TCP Data received {"connection_id":135061,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65fbf170012d17d2000722e700008301112b..."} 
[2026-07-15 19:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65fbf170012d17d2000722e700008301112b..."} 
[2026-07-15 19:04:56] local.INFO: Processing buffer {"connection_id":135061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65fbf170012d17d2000722e700008301112b..."} 
[2026-07-15 19:04:56] local.INFO: Packet analysis {"connection_id":135061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65fb"} 
[2026-07-15 19:04:56] local.INFO: Extracted packet for processing {"connection_id":135061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65fb"} 
[2026-07-15 19:04:56] local.INFO: GPS Element Parsed {"raw_longitude":756535808,"raw_latitude":119727872,"longitude_deg":75.6535808,"latitude_deg":11.9727872,"altitude":131,"angle":273,"satellites":43,"speed":22,"hex_longitude":"2d17d200","hex_latitude":"0722e700","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735343616001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6235025498439680,"note":"Value kept but may cause issues"} 
[2026-07-15 19:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1717630707282929664,"note":"Value kept but may cause issues"} 
[2026-07-15 19:04:56] 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-07-15 19:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784122438000,"timestamp_ms":1784122438000,"timestamp_seconds":1784122438,"priority":1,"record_length":96,"hex_timestamp":"0000019f65fbf170"} 
[2026-07-15 19:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:04:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-15 19:04:56] 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-07-15 19: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-07-15 19:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":135061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":135061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":135061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735343616001,"66":14341,"70":206,"28":31744,"24":22,"16":6235025498439680,"45":1717630707282929664},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-15 19:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735343616001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:04:56] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-15 19:04:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6235025498439680,"km_value":6235025498439.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1717630707282929664,"description":"Unknown IO ID 45"} 
[2026-07-15 19:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735343616001,"power":14341,"unknown_70":206,"unknown_28":31744,"ignition":22,"odometer":null,"unknown_45":1717630707282929664}} 
[2026-07-15 19:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":135061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:04:56] local.INFO: GPS data processed {"connection_id":135061,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:04:56] local.INFO: Acknowledgment sent {"connection_id":135061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:04:58] local.INFO: TCP Data received {"connection_id":135061,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65fc04f8012d17c6400722e9200082012029..."} 
[2026-07-15 19:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65fc04f8012d17c6400722e9200082012029..."} 
[2026-07-15 19:04:58] local.INFO: Processing buffer {"connection_id":135061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65fc04f8012d17c6400722e9200082012029..."} 
[2026-07-15 19:04:58] local.INFO: Packet analysis {"connection_id":135061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65fc"} 
[2026-07-15 19:04:58] local.INFO: Extracted packet for processing {"connection_id":135061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65fc"} 
[2026-07-15 19:04:58] local.INFO: GPS Element Parsed {"raw_longitude":756532800,"raw_latitude":119728416,"longitude_deg":75.65328,"latitude_deg":11.9728416,"altitude":130,"angle":288,"satellites":41,"speed":22,"hex_longitude":"2d17c640","hex_latitude":"0722e920","is_valid_coordinates":true} 
[2026-07-15 19:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735344128001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6235171527327744,"note":"Value kept but may cause issues"} 
[2026-07-15 19:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1716434438631915520,"note":"Value kept but may cause issues"} 
[2026-07-15 19:04:58] 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-07-15 19:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784122443000,"timestamp_ms":1784122443000,"timestamp_seconds":1784122443,"priority":1,"record_length":96,"hex_timestamp":"0000019f65fc04f8"} 
[2026-07-15 19:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:04:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-15 19:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6969228085,"note":"Value kept but may cause issues"} 
[2026-07-15 19:04:58] local.WARNING: Large IO value detected {"io_id":24,"raw_value":35467136210045952,"note":"Value kept but may cause issues"} 
[2026-07-15 19:04:58] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":24577,"corrected_to":0} 
[2026-07-15 19:04:58] local.WARNING: Large IO value detected {"io_id":240,"raw_value":84750624704897768,"note":"Value kept but may cause issues"} 
[2026-07-15 19:04:58] local.WARNING: Large IO value detected {"io_id":101,"raw_value":4222040065,"note":"Value kept but may cause issues"} 
[2026-07-15 19:04:58] local.WARNING: Large IO value detected {"io_id":34,"raw_value":4085776513,"note":"Value kept but may cause issues"} 
[2026-07-15 19:04:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3880124622,"corrected_to":0} 
[2026-07-15 19:04:58] local.WARNING: Large IO value detected {"io_id":112,"raw_value":2281778456,"note":"Value kept but may cause issues"} 
[2026-07-15 19:04:58] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4227911143,"note":"Value kept but may cause issues"} 
[2026-07-15 19:04:58] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,70,28,24,241,158,16,38,159,233,45,64,230,132,42,10,66,202,239,130,182,1,240,218,101,34,4,113,205,26,112,39,32,35,53,2,22,7,126,206],"length":529,"final_offset":659,"validated_count":40,"validation_warnings":[{"io_id":202,"original":24577,"validated":0},{"io_id":205,"original":3880124622,"validated":0}]} 
[2026-07-15 19:04:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":-9006898903381573632,"timestamp_seconds":-9006898903381574.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 19:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":135061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":135061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":135061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:04:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735344128001,"66":13972,"70":206,"28":31744,"24":22,"16":6235171527327744,"45":1716434438631915520},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-15 19:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735344128001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:04:58] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-15 19:04:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6235171527327744,"km_value":6235171527327.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1716434438631915520,"description":"Unknown IO ID 45"} 
[2026-07-15 19:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735344128001,"power":13972,"unknown_70":206,"unknown_28":31744,"ignition":22,"odometer":null,"unknown_45":1716434438631915520}} 
[2026-07-15 19:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":135061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:04:58] local.INFO: GPS data processed {"connection_id":135061,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:04:58] local.INFO: Acknowledgment sent {"connection_id":135061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:05:00] local.INFO: TCP Data received {"connection_id":132847,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:05:00] local.INFO: Processing buffer {"connection_id":132847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:05:00] local.INFO: IMEI packet received {"connection_id":132847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":132847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:05:02] local.INFO: TCP Data received {"connection_id":132847,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:05:02] local.INFO: Processing buffer {"connection_id":132847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:05:02] local.INFO: IMEI packet received {"connection_id":132847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":132847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:05:03] local.INFO: TCP Data received {"connection_id":132847,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65fc2050012d80884005c430d8000900042a..."} 
[2026-07-15 19:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65fc2050012d80884005c430d8000900042a..."} 
[2026-07-15 19:05:03] local.INFO: Processing buffer {"connection_id":132847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65fc2050012d80884005c430d8000900042a..."} 
[2026-07-15 19:05:03] local.INFO: Packet analysis {"connection_id":132847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65fc"} 
[2026-07-15 19:05:03] local.INFO: Extracted packet for processing {"connection_id":132847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65fc"} 
[2026-07-15 19:05:03] local.INFO: GPS Element Parsed {"raw_longitude":763398208,"raw_latitude":96743640,"longitude_deg":76.3398208,"latitude_deg":9.674364,"altitude":9,"angle":4,"satellites":42,"speed":19,"hex_longitude":"2d808840","hex_latitude":"05c430d8","is_valid_coordinates":true} 
[2026-07-15 19:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735344128001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347311482419019776,"note":"Value kept but may cause issues"} 
[2026-07-15 19:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9184106252838868992,"note":"Value kept but may cause issues"} 
[2026-07-15 19:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784122450000,"timestamp_ms":1784122450000,"timestamp_seconds":1784122450,"priority":1,"record_length":96,"hex_timestamp":"0000019f65fc2050"} 
[2026-07-15 19:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-15 19:05:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":132847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":132847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":132847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735344128001,"66":27234,"234":206,"85":12288,"24":19,"16":347311482419019776,"45":-9184106252838868992},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-07-15 19:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735344128001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:05:03] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-07-15 19:05:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347311482419019776,"km_value":347311482419019.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9184106252838868992,"description":"Unknown IO ID 45"} 
[2026-07-15 19:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735344128001,"power":27234,"unknown_234":206,"unknown_85":12288,"ignition":19,"odometer":null,"unknown_45":-9184106252838868992}} 
[2026-07-15 19:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":132847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:05:03] local.INFO: GPS data processed {"connection_id":132847,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:05:03] local.INFO: Acknowledgment sent {"connection_id":132847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:05:09] local.INFO: TCP Data received {"connection_id":133698,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133698,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:05:09] local.INFO: Processing buffer {"connection_id":133698,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:05:09] local.INFO: IMEI packet received {"connection_id":133698,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 19:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":133698,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:05:29] local.INFO: TCP Data received {"connection_id":135061,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65fc0cc8012d17c2800722eb180082012d29..."} 
[2026-07-15 19:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65fc0cc8012d17c2800722eb180082012d29..."} 
[2026-07-15 19:05:29] local.INFO: Processing buffer {"connection_id":135061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65fc0cc8012d17c2800722eb180082012d29..."} 
[2026-07-15 19:05:29] local.INFO: Packet analysis {"connection_id":135061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65fc"} 
[2026-07-15 19:05:29] local.INFO: Extracted packet for processing {"connection_id":135061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65fc"} 
[2026-07-15 19:05:29] local.INFO: GPS Element Parsed {"raw_longitude":756531840,"raw_latitude":119728920,"longitude_deg":75.653184,"latitude_deg":11.972892,"altitude":130,"angle":301,"satellites":41,"speed":22,"hex_longitude":"2d17c280","hex_latitude":"0722eb18","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735345408001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6235223066935296,"note":"Value kept but may cause issues"} 
[2026-07-15 19:05:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713127107655704576,"note":"Value kept but may cause issues"} 
[2026-07-15 19:05:29] 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-07-15 19:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784122445000,"timestamp_ms":1784122445000,"timestamp_seconds":1784122445,"priority":1,"record_length":96,"hex_timestamp":"0000019f65fc0cc8"} 
[2026-07-15 19:05:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:05:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-15 19:05:29] 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-07-15 19: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-07-15 19:05:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":135061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":135061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":135061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:05:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735345408001,"66":13439,"70":206,"28":31744,"24":22,"16":6235223066935296,"45":1713127107655704576},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-15 19:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735345408001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:05:29] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-15 19:05:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6235223066935296,"km_value":6235223066935.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:05:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713127107655704576,"description":"Unknown IO ID 45"} 
[2026-07-15 19:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735345408001,"power":13439,"unknown_70":206,"unknown_28":31744,"ignition":22,"odometer":null,"unknown_45":1713127107655704576}} 
[2026-07-15 19:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":135061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:05:29] local.INFO: GPS data processed {"connection_id":135061,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:05:29] local.INFO: Acknowledgment sent {"connection_id":135061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:05:34] local.INFO: TCP Data received {"connection_id":132847,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65fc2ff0012d80888005c439f80009015f2b..."} 
[2026-07-15 19:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65fc2ff0012d80888005c439f80009015f2b..."} 
[2026-07-15 19:05:34] local.INFO: Processing buffer {"connection_id":132847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65fc2ff0012d80888005c439f80009015f2b..."} 
[2026-07-15 19:05:34] local.INFO: Packet analysis {"connection_id":132847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65fc"} 
[2026-07-15 19:05:34] local.INFO: Extracted packet for processing {"connection_id":132847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65fc"} 
[2026-07-15 19:05:34] local.INFO: GPS Element Parsed {"raw_longitude":763398272,"raw_latitude":96745976,"longitude_deg":76.3398272,"latitude_deg":9.6745976,"altitude":9,"angle":351,"satellites":43,"speed":27,"hex_longitude":"2d808880","hex_latitude":"05c439f8","is_valid_coordinates":true} 
[2026-07-15 19:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735347200001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347311594088169472,"note":"Value kept but may cause issues"} 
[2026-07-15 19:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9185021046511577088,"note":"Value kept but may cause issues"} 
[2026-07-15 19:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784122454000,"timestamp_ms":1784122454000,"timestamp_seconds":1784122454,"priority":1,"record_length":96,"hex_timestamp":"0000019f65fc2ff0"} 
[2026-07-15 19:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-15 19:05:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:05:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":132847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":132847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":132847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735347200001,"66":27376,"234":206,"85":12288,"24":27,"16":347311594088169472,"45":-9185021046511577088},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-07-15 19:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735347200001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:05:34] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-07-15 19:05:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347311594088169472,"km_value":347311594088169.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9185021046511577088,"description":"Unknown IO ID 45"} 
[2026-07-15 19:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735347200001,"power":27376,"unknown_234":206,"unknown_85":12288,"ignition":27,"odometer":null,"unknown_45":-9185021046511577088}} 
[2026-07-15 19:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":132847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:05:34] local.INFO: GPS data processed {"connection_id":132847,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:05:34] local.INFO: Acknowledgment sent {"connection_id":132847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:05:34] local.INFO: TCP Data received {"connection_id":135062,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135062,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:05:34] local.INFO: Processing buffer {"connection_id":135062,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:05:34] local.INFO: IMEI packet received {"connection_id":135062,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 19:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":135062,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:05:55] local.INFO: TCP Data received {"connection_id":135063,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:05:55] local.INFO: Processing buffer {"connection_id":135063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:05:55] local.INFO: IMEI packet received {"connection_id":135063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":135063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:05:58] local.INFO: TCP Data received {"connection_id":135063,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:05:58] local.INFO: Processing buffer {"connection_id":135063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:05:58] local.INFO: IMEI packet received {"connection_id":135063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":135063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:06:00] local.INFO: TCP Data received {"connection_id":135063,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65fc2ff0012d17b2000722f5d0007f011c29..."} 
[2026-07-15 19:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65fc2ff0012d17b2000722f5d0007f011c29..."} 
[2026-07-15 19:06:00] local.INFO: Processing buffer {"connection_id":135063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65fc2ff0012d17b2000722f5d0007f011c29..."} 
[2026-07-15 19:06:00] local.INFO: Packet analysis {"connection_id":135063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65fc"} 
[2026-07-15 19:06:00] local.INFO: Extracted packet for processing {"connection_id":135063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65fc"} 
[2026-07-15 19:06:00] local.INFO: GPS Element Parsed {"raw_longitude":756527616,"raw_latitude":119731664,"longitude_deg":75.6527616,"latitude_deg":11.9731664,"altitude":127,"angle":284,"satellites":41,"speed":18,"hex_longitude":"2d17b200","hex_latitude":"0722f5d0","is_valid_coordinates":true} 
[2026-07-15 19:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735345920001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6235463585103872,"note":"Value kept but may cause issues"} 
[2026-07-15 19:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1712071576493168640,"note":"Value kept but may cause issues"} 
[2026-07-15 19:06:00] 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-07-15 19:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784122454000,"timestamp_ms":1784122454000,"timestamp_seconds":1784122454,"priority":1,"record_length":96,"hex_timestamp":"0000019f65fc2ff0"} 
[2026-07-15 19:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:06:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-07-15 19:06:00] 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-07-15 19:06:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":135063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":135063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":135063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:06:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735345920001,"66":13798,"70":206,"28":31744,"24":18,"16":6235463585103872,"45":1712071576493168640},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-15 19:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735345920001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:06:00] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-15 19:06:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6235463585103872,"km_value":6235463585103.872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1712071576493168640,"description":"Unknown IO ID 45"} 
[2026-07-15 19:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735345920001,"power":13798,"unknown_70":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1712071576493168640}} 
[2026-07-15 19:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":135063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:06:00] local.INFO: GPS data processed {"connection_id":135063,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:06:00] local.INFO: Acknowledgment sent {"connection_id":135063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:06:00] local.INFO: TCP Data received {"connection_id":132848,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:06:00] local.INFO: Processing buffer {"connection_id":132848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:06:00] local.INFO: IMEI packet received {"connection_id":132848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":132848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:06:01] local.INFO: TCP Data received {"connection_id":135063,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65fc37c0012d17ae800722f620007e01072a..."} 
[2026-07-15 19:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65fc37c0012d17ae800722f620007e01072a..."} 
[2026-07-15 19:06:01] local.INFO: Processing buffer {"connection_id":135063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65fc37c0012d17ae800722f620007e01072a..."} 
[2026-07-15 19:06:01] local.INFO: Packet analysis {"connection_id":135063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65fc"} 
[2026-07-15 19:06:01] local.INFO: Extracted packet for processing {"connection_id":135063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65fc"} 
[2026-07-15 19:06:01] local.INFO: GPS Element Parsed {"raw_longitude":756526720,"raw_latitude":119731744,"longitude_deg":75.652672,"latitude_deg":11.9731744,"altitude":126,"angle":263,"satellites":42,"speed":17,"hex_longitude":"2d17ae80","hex_latitude":"0722f620","is_valid_coordinates":true} 
[2026-07-15 19:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735348224001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6235506534776832,"note":"Value kept but may cause issues"} 
[2026-07-15 19:06:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1707427239378145280,"note":"Value kept but may cause issues"} 
[2026-07-15 19:06:01] 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-07-15 19:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784122456000,"timestamp_ms":1784122456000,"timestamp_seconds":1784122456,"priority":1,"record_length":96,"hex_timestamp":"0000019f65fc37c0"} 
[2026-07-15 19:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:06: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-07-15 19:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-07-15 19:06:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:06:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":135063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":135063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":135063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:06:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735348224001,"66":14374,"70":206,"28":31744,"24":17,"16":6235506534776832,"45":1707427239378145280},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-15 19:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735348224001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:06:01] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-15 19:06:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6235506534776832,"km_value":6235506534776.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:06:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1707427239378145280,"description":"Unknown IO ID 45"} 
[2026-07-15 19:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735348224001,"power":14374,"unknown_70":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1707427239378145280}} 
[2026-07-15 19:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":135063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:06:01] local.INFO: GPS data processed {"connection_id":135063,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:06:01] local.INFO: Acknowledgment sent {"connection_id":135063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:06:03] local.INFO: TCP Data received {"connection_id":132848,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:06:03] local.INFO: Processing buffer {"connection_id":132848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:06:03] local.INFO: IMEI packet received {"connection_id":132848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":132848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:06:04] local.INFO: TCP Data received {"connection_id":132848,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65fc3ba8012d80868005c44150000801512c..."} 
[2026-07-15 19:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65fc3ba8012d80868005c44150000801512c..."} 
[2026-07-15 19:06:04] local.INFO: Processing buffer {"connection_id":132848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65fc3ba8012d80868005c44150000801512c..."} 
[2026-07-15 19:06:04] local.INFO: Packet analysis {"connection_id":132848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65fc"} 
[2026-07-15 19:06:04] local.INFO: Extracted packet for processing {"connection_id":132848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65fc"} 
[2026-07-15 19:06:04] local.INFO: GPS Element Parsed {"raw_longitude":763397760,"raw_latitude":96747856,"longitude_deg":76.339776,"latitude_deg":9.6747856,"altitude":8,"angle":337,"satellites":44,"speed":26,"hex_longitude":"2d808680","hex_latitude":"05c44150","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735348224001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347311688577449984,"note":"Value kept but may cause issues"} 
[2026-07-15 19:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9184950677766801408,"note":"Value kept but may cause issues"} 
[2026-07-15 19:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784122457000,"timestamp_ms":1784122457000,"timestamp_seconds":1784122457,"priority":1,"record_length":96,"hex_timestamp":"0000019f65fc3ba8"} 
[2026-07-15 19:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-15 19:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19: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-07-15 19:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":132848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":132848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":132848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735348224001,"66":27213,"234":206,"85":12288,"24":26,"16":347311688577449984,"45":-9184950677766801408},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-07-15 19:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735348224001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:06:04] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-07-15 19:06:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347311688577449984,"km_value":347311688577450.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9184950677766801408,"description":"Unknown IO ID 45"} 
[2026-07-15 19:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735348224001,"power":27213,"unknown_234":206,"unknown_85":12288,"ignition":26,"odometer":null,"unknown_45":-9184950677766801408}} 
[2026-07-15 19:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":132848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:06:04] local.INFO: GPS data processed {"connection_id":132848,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:06:04] local.INFO: Acknowledgment sent {"connection_id":132848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:06:33] local.INFO: TCP Data received {"connection_id":135063,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65fd4930012d175400072307a0007d010f29..."} 
[2026-07-15 19:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65fd4930012d175400072307a0007d010f29..."} 
[2026-07-15 19:06:33] local.INFO: Processing buffer {"connection_id":135063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65fd4930012d175400072307a0007d010f29..."} 
[2026-07-15 19:06:33] local.INFO: Packet analysis {"connection_id":135063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65fd"} 
[2026-07-15 19:06:33] local.INFO: Extracted packet for processing {"connection_id":135063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65fd"} 
[2026-07-15 19:06:33] local.INFO: GPS Element Parsed {"raw_longitude":756503552,"raw_latitude":119736224,"longitude_deg":75.6503552,"latitude_deg":11.9736224,"altitude":125,"angle":271,"satellites":41,"speed":6,"hex_longitude":"2d175400","hex_latitude":"072307a0","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735365120001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6236803614900224,"note":"Value kept but may cause issues"} 
[2026-07-15 19:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1681461172777676800,"note":"Value kept but may cause issues"} 
[2026-07-15 19:06:33] 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-07-15 19:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784122526000,"timestamp_ms":1784122526000,"timestamp_seconds":1784122526,"priority":1,"record_length":96,"hex_timestamp":"0000019f65fd4930"} 
[2026-07-15 19:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":150,"data_length":795,"current_offset":136} 
[2026-07-15 19:06:33] 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-07-15 19: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-07-15 19:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":135063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":135063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":135063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735365120001,"66":13341,"70":206,"28":31744,"24":6,"16":6236803614900224,"45":1681461172777676800},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-15 19:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735365120001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:06:33] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-15 19:06:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6236803614900224,"km_value":6236803614900.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1681461172777676800,"description":"Unknown IO ID 45"} 
[2026-07-15 19:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735365120001,"power":13341,"unknown_70":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1681461172777676800}} 
[2026-07-15 19:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":135063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:06:33] local.INFO: GPS data processed {"connection_id":135063,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:06:33] local.INFO: Acknowledgment sent {"connection_id":135063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:06:35] local.INFO: TCP Data received {"connection_id":132848,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65fc5700012d807b8005c45518000701462d..."} 
[2026-07-15 19:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65fc5700012d807b8005c45518000701462d..."} 
[2026-07-15 19:06:35] local.INFO: Processing buffer {"connection_id":132848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65fc5700012d807b8005c45518000701462d..."} 
[2026-07-15 19:06:35] local.INFO: Packet analysis {"connection_id":132848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65fc"} 
[2026-07-15 19:06:35] local.INFO: Extracted packet for processing {"connection_id":132848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65fc"} 
[2026-07-15 19:06:35] local.INFO: GPS Element Parsed {"raw_longitude":763394944,"raw_latitude":96752920,"longitude_deg":76.3394944,"latitude_deg":9.675292,"altitude":7,"angle":326,"satellites":45,"speed":39,"hex_longitude":"2d807b80","hex_latitude":"05c45518","is_valid_coordinates":true} 
[2026-07-15 19:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735348992001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347311972045291520,"note":"Value kept but may cause issues"} 
[2026-07-15 19:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9185513627719741440,"note":"Value kept but may cause issues"} 
[2026-07-15 19:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784122464000,"timestamp_ms":1784122464000,"timestamp_seconds":1784122464,"priority":1,"record_length":96,"hex_timestamp":"0000019f65fc5700"} 
[2026-07-15 19:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-15 19:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:06:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:06:35] 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-07-15 19:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735348992001,"66":27180,"235":206,"85":12288,"24":39,"16":347311972045291520,"45":-9185513627719741440},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-07-15 19:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735348992001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:06:35] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-15 19:06:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347311972045291520,"km_value":347311972045291.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9185513627719741440,"description":"Unknown IO ID 45"} 
[2026-07-15 19:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735348992001,"power":27180,"unknown_235":206,"unknown_85":12288,"ignition":39,"odometer":null,"unknown_45":-9185513627719741440}} 
[2026-07-15 19:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":132848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:06:35] local.INFO: GPS data processed {"connection_id":132848,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:06:35] local.INFO: Acknowledgment sent {"connection_id":132848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:06:51] local.INFO: TCP Data received {"connection_id":135064,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:06:51] local.INFO: Processing buffer {"connection_id":135064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:06:51] local.INFO: IMEI packet received {"connection_id":135064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":135064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:06:51] local.INFO: TCP Data received {"connection_id":135064,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:06:51] local.INFO: Processing buffer {"connection_id":135064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:06:51] local.INFO: IMEI packet received {"connection_id":135064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":135064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:06:53] local.INFO: TCP Data received {"connection_id":135064,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:06:53] local.INFO: Processing buffer {"connection_id":135064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:06:53] local.INFO: IMEI packet received {"connection_id":135064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":135064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:06:54] local.INFO: TCP Data received {"connection_id":135064,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65fd7428012d174b40072308f0007b01202b..."} 
[2026-07-15 19:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65fd7428012d174b40072308f0007b01202b..."} 
[2026-07-15 19:06:54] local.INFO: Processing buffer {"connection_id":135064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65fd7428012d174b40072308f0007b01202b..."} 
[2026-07-15 19:06:54] local.INFO: Packet analysis {"connection_id":135064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65fd"} 
[2026-07-15 19:06:54] local.INFO: Extracted packet for processing {"connection_id":135064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65fd"} 
[2026-07-15 19:06:54] local.INFO: GPS Element Parsed {"raw_longitude":756501312,"raw_latitude":119736560,"longitude_deg":75.6501312,"latitude_deg":11.973656,"altitude":123,"angle":288,"satellites":43,"speed":6,"hex_longitude":"2d174b40","hex_latitude":"072308f0","is_valid_coordinates":true} 
[2026-07-15 19:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735366656001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6236910989082624,"note":"Value kept but may cause issues"} 
[2026-07-15 19:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1680968591568510976,"note":"Value kept but may cause issues"} 
[2026-07-15 19:06:54] 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-07-15 19:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784122537000,"timestamp_ms":1784122537000,"timestamp_seconds":1784122537,"priority":1,"record_length":96,"hex_timestamp":"0000019f65fd7428"} 
[2026-07-15 19:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:06:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-15 19:06:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:06:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":135064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":135064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":135064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:06:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735366656001,"66":14135,"70":206,"28":31744,"24":6,"16":6236910989082624,"45":1680968591568510976},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-15 19:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735366656001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:06:54] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-15 19:06:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6236910989082624,"km_value":6236910989082.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1680968591568510976,"description":"Unknown IO ID 45"} 
[2026-07-15 19:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735366656001,"power":14135,"unknown_70":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1680968591568510976}} 
[2026-07-15 19:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":135064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:06:54] local.INFO: GPS data processed {"connection_id":135064,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:06:54] local.INFO: Acknowledgment sent {"connection_id":135064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:06:55] local.INFO: TCP Data received {"connection_id":135064,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65fd83c8012d174800072309c0007c01142b..."} 
[2026-07-15 19:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65fd83c8012d174800072309c0007c01142b..."} 
[2026-07-15 19:06:55] local.INFO: Processing buffer {"connection_id":135064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65fd83c8012d174800072309c0007c01142b..."} 
[2026-07-15 19:06:55] local.INFO: Packet analysis {"connection_id":135064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65fd"} 
[2026-07-15 19:06:55] local.INFO: Extracted packet for processing {"connection_id":135064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65fd"} 
[2026-07-15 19:06:55] local.INFO: GPS Element Parsed {"raw_longitude":756500480,"raw_latitude":119736768,"longitude_deg":75.650048,"latitude_deg":11.9736768,"altitude":124,"angle":276,"satellites":43,"speed":8,"hex_longitude":"2d174800","hex_latitude":"072309c0","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735369472001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6236953938755584,"note":"Value kept but may cause issues"} 
[2026-07-15 19:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1678505685522378752,"note":"Value kept but may cause issues"} 
[2026-07-15 19:06:55] 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-07-15 19:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784122541000,"timestamp_ms":1784122541000,"timestamp_seconds":1784122541,"priority":1,"record_length":96,"hex_timestamp":"0000019f65fd83c8"} 
[2026-07-15 19:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:06:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-15 19:06:55] 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-07-15 19: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-07-15 19:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":135064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":135064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":135064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:06:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735369472001,"66":14004,"70":206,"28":31744,"24":8,"16":6236953938755584,"45":1678505685522378752},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-15 19:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735369472001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:06:55] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-15 19:06:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6236953938755584,"km_value":6236953938755.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1678505685522378752,"description":"Unknown IO ID 45"} 
[2026-07-15 19:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735369472001,"power":14004,"unknown_70":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1678505685522378752}} 
[2026-07-15 19:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":135064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:06:55] local.INFO: GPS data processed {"connection_id":135064,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:06:55] local.INFO: Acknowledgment sent {"connection_id":135064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:06:56] local.INFO: TCP Data received {"connection_id":135064,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65fdd5d0012d1741c007230b60007c010926..."} 
[2026-07-15 19:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65fdd5d0012d1741c007230b60007c010926..."} 
[2026-07-15 19:06:56] local.INFO: Processing buffer {"connection_id":135064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65fdd5d0012d1741c007230b60007c010926..."} 
[2026-07-15 19:06:56] local.INFO: Packet analysis {"connection_id":135064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65fd"} 
[2026-07-15 19:06:56] local.INFO: Extracted packet for processing {"connection_id":135064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65fd"} 
[2026-07-15 19:06:56] local.INFO: GPS Element Parsed {"raw_longitude":756498880,"raw_latitude":119737184,"longitude_deg":75.649888,"latitude_deg":11.9737184,"altitude":124,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d1741c0","hex_latitude":"07230b60","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735370496001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6237048428036096,"note":"Value kept but may cause issues"} 
[2026-07-15 19:06:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1677590891848122368,"note":"Value kept but may cause issues"} 
[2026-07-15 19:06:56] 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-07-15 19:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784122562000,"timestamp_ms":1784122562000,"timestamp_seconds":1784122562,"priority":1,"record_length":96,"hex_timestamp":"0000019f65fdd5d0"} 
[2026-07-15 19:06:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:06:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-15 19:06:56] 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-07-15 19: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-07-15 19:06:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":135064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":135064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":135064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:06:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735370496001,"66":14407,"70":206,"28":31744,"24":0,"16":6237048428036096,"45":1677590891848122368},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-15 19:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735370496001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:06:56] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-15 19:06:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6237048428036096,"km_value":6237048428036.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:06:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1677590891848122368,"description":"Unknown IO ID 45"} 
[2026-07-15 19:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735370496001,"power":14407,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1677590891848122368}} 
[2026-07-15 19:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":135064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:06:56] local.INFO: GPS data processed {"connection_id":135064,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:06:56] local.INFO: Acknowledgment sent {"connection_id":135064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:07:00] local.INFO: TCP Data received {"connection_id":133699,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:07:00] local.INFO: Processing buffer {"connection_id":133699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:07:00] local.INFO: IMEI packet received {"connection_id":133699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":133699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:07:05] local.INFO: TCP Data received {"connection_id":133699,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:07:05] local.INFO: Processing buffer {"connection_id":133699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:07:05] local.INFO: IMEI packet received {"connection_id":133699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":133699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:07:08] local.INFO: TCP Data received {"connection_id":133699,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65fc7640012d8067c005c47210000701462c..."} 
[2026-07-15 19:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65fc7640012d8067c005c47210000701462c..."} 
[2026-07-15 19:07:08] local.INFO: Processing buffer {"connection_id":133699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65fc7640012d8067c005c47210000701462c..."} 
[2026-07-15 19:07:08] local.INFO: Packet analysis {"connection_id":133699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65fc"} 
[2026-07-15 19:07:08] local.INFO: Extracted packet for processing {"connection_id":133699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65fc"} 
[2026-07-15 19:07:08] local.INFO: GPS Element Parsed {"raw_longitude":763389888,"raw_latitude":96760336,"longitude_deg":76.3389888,"latitude_deg":9.6760336,"altitude":7,"angle":326,"satellites":44,"speed":47,"hex_longitude":"2d8067c0","hex_latitude":"05c47210","is_valid_coordinates":true} 
[2026-07-15 19:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735350784001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347312401542021120,"note":"Value kept but may cause issues"} 
[2026-07-15 19:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9188609852462262272,"note":"Value kept but may cause issues"} 
[2026-07-15 19:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784122472000,"timestamp_ms":1784122472000,"timestamp_seconds":1784122472,"priority":1,"record_length":96,"hex_timestamp":"0000019f65fc7640"} 
[2026-07-15 19:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-15 19:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":133699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":133699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":133699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735350784001,"66":27234,"235":206,"85":12288,"24":47,"16":347312401542021120,"45":-9188609852462262272},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-07-15 19:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735350784001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:07:08] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-15 19:07:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347312401542021120,"km_value":347312401542021.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9188609852462262272,"description":"Unknown IO ID 45"} 
[2026-07-15 19:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735350784001,"power":27234,"unknown_235":206,"unknown_85":12288,"ignition":47,"odometer":null,"unknown_45":-9188609852462262272}} 
[2026-07-15 19:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":133699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:07:08] local.INFO: GPS data processed {"connection_id":133699,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:07:08] local.INFO: Acknowledgment sent {"connection_id":133699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:07:27] local.INFO: TCP Data received {"connection_id":135064,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65fdfce0012d17418007230a78007c00b424..."} 
[2026-07-15 19:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65fdfce0012d17418007230a78007c00b424..."} 
[2026-07-15 19:07:27] local.INFO: Processing buffer {"connection_id":135064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65fdfce0012d17418007230a78007c00b424..."} 
[2026-07-15 19:07:27] local.INFO: Packet analysis {"connection_id":135064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65fd"} 
[2026-07-15 19:07:27] local.INFO: Extracted packet for processing {"connection_id":135064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65fd"} 
[2026-07-15 19:07:27] local.INFO: GPS Element Parsed {"raw_longitude":756498816,"raw_latitude":119736952,"longitude_deg":75.6498816,"latitude_deg":11.9736952,"altitude":124,"angle":180,"satellites":36,"speed":2,"hex_longitude":"2d174180","hex_latitude":"07230a78","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735375872001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6237061312937984,"note":"Value kept but may cause issues"} 
[2026-07-15 19:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1675831673243787264,"note":"Value kept but may cause issues"} 
[2026-07-15 19:07:27] 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-07-15 19:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784122572000,"timestamp_ms":1784122572000,"timestamp_seconds":1784122572,"priority":1,"record_length":96,"hex_timestamp":"0000019f65fdfce0"} 
[2026-07-15 19:07:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:07:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-15 19:07:27] 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-07-15 19: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-07-15 19:07:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":135064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":135064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":135064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:07:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735375872001,"66":14374,"70":206,"28":31744,"24":2,"16":6237061312937984,"45":1675831673243787264},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-15 19:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735375872001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:07:27] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-15 19:07:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6237061312937984,"km_value":6237061312937.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1675831673243787264,"description":"Unknown IO ID 45"} 
[2026-07-15 19:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735375872001,"power":14374,"unknown_70":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1675831673243787264}} 
[2026-07-15 19:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":135064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:07:27] local.INFO: GPS data processed {"connection_id":135064,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:07:27] local.INFO: Acknowledgment sent {"connection_id":135064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:07:40] local.INFO: TCP Data received {"connection_id":133699,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65fe4718012d7fb34005c56658000601432c..."} 
[2026-07-15 19:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65fe4718012d7fb34005c56658000601432c..."} 
[2026-07-15 19:07:40] local.INFO: Processing buffer {"connection_id":133699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65fe4718012d7fb34005c56658000601432c..."} 
[2026-07-15 19:07:40] local.INFO: Packet analysis {"connection_id":133699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65fe"} 
[2026-07-15 19:07:40] local.INFO: Extracted packet for processing {"connection_id":133699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65fe"} 
[2026-07-15 19:07:40] local.INFO: GPS Element Parsed {"raw_longitude":763343680,"raw_latitude":96822872,"longitude_deg":76.334368,"latitude_deg":9.6822872,"altitude":6,"angle":323,"satellites":44,"speed":24,"hex_longitude":"2d7fb340","hex_latitude":"05c56658","is_valid_coordinates":true} 
[2026-07-15 19:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735378944001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347316172523307008,"note":"Value kept but may cause issues"} 
[2026-07-15 19:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9207609462943776768,"note":"Value kept but may cause issues"} 
[2026-07-15 19:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784122591000,"timestamp_ms":1784122591000,"timestamp_seconds":1784122591,"priority":1,"record_length":96,"hex_timestamp":"0000019f65fe4718"} 
[2026-07-15 19:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-15 19:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19: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-07-15 19:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":133699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":133699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":133699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:07:40] 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-07-15 19:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735378944001,"66":27310,"89":206,"85":12288,"24":24,"16":347316172523307008,"45":9207609462943776768},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-07-15 19:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735378944001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:07:40] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-15 19:07:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347316172523307008,"km_value":347316172523307.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9207609462943776768,"description":"Unknown IO ID 45"} 
[2026-07-15 19:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735378944001,"power":27310,"unknown_89":206,"unknown_85":12288,"ignition":24,"odometer":null,"unknown_45":9207609462943776768}} 
[2026-07-15 19:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":133699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:07:40] local.INFO: GPS data processed {"connection_id":133699,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:07:40] local.INFO: Acknowledgment sent {"connection_id":133699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:07:47] local.INFO: TCP Data received {"connection_id":135065,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:07:47] local.INFO: Processing buffer {"connection_id":135065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:07:47] local.INFO: IMEI packet received {"connection_id":135065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":135065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:07:49] local.INFO: TCP Data received {"connection_id":135065,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:07:49] local.INFO: Processing buffer {"connection_id":135065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:07:49] local.INFO: IMEI packet received {"connection_id":135065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":135065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:07:50] local.INFO: TCP Data received {"connection_id":135065,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:07:50] local.INFO: Processing buffer {"connection_id":135065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:07:50] local.INFO: IMEI packet received {"connection_id":135065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":135065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:07:55] local.INFO: TCP Data received {"connection_id":135065,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:07:55] local.INFO: Processing buffer {"connection_id":135065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:07:55] local.INFO: IMEI packet received {"connection_id":135065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":135065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:07:56] local.INFO: TCP Data received {"connection_id":135065,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65fec030012d17518007230868007d004d29..."} 
[2026-07-15 19:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65fec030012d17518007230868007d004d29..."} 
[2026-07-15 19:07:56] local.INFO: Processing buffer {"connection_id":135065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65fec030012d17518007230868007d004d29..."} 
[2026-07-15 19:07:56] local.INFO: Packet analysis {"connection_id":135065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65fe"} 
[2026-07-15 19:07:56] local.INFO: Extracted packet for processing {"connection_id":135065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65fe"} 
[2026-07-15 19:07:56] local.INFO: GPS Element Parsed {"raw_longitude":756502912,"raw_latitude":119736424,"longitude_deg":75.6502912,"latitude_deg":11.9736424,"altitude":125,"angle":77,"satellites":41,"speed":2,"hex_longitude":"2d175180","hex_latitude":"07230868","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735390464001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6237284651237376,"note":"Value kept but may cause issues"} 
[2026-07-15 19:07:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1679842691661715456,"note":"Value kept but may cause issues"} 
[2026-07-15 19:07:56] 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-07-15 19:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784122622000,"timestamp_ms":1784122622000,"timestamp_seconds":1784122622,"priority":1,"record_length":96,"hex_timestamp":"0000019f65fec030"} 
[2026-07-15 19:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:07:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 19:07:56] 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-07-15 19: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-07-15 19:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":135065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":135065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":135065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:07:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735390464001,"66":14004,"70":206,"28":31744,"24":2,"16":6237284651237376,"45":1679842691661715456},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-15 19:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735390464001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:07:56] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-15 19:07:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6237284651237376,"km_value":6237284651237.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:07:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1679842691661715456,"description":"Unknown IO ID 45"} 
[2026-07-15 19:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735390464001,"power":14004,"unknown_70":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1679842691661715456}} 
[2026-07-15 19:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":135065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:07:56] local.INFO: GPS data processed {"connection_id":135065,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:07:56] local.INFO: Acknowledgment sent {"connection_id":135065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:08:00] local.INFO: TCP Data received {"connection_id":133700,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:08:00] local.INFO: Processing buffer {"connection_id":133700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:08:00] local.INFO: IMEI packet received {"connection_id":133700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":133700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:08:04] local.INFO: TCP Data received {"connection_id":133700,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:08:04] local.INFO: Processing buffer {"connection_id":133700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:08:04] local.INFO: IMEI packet received {"connection_id":133700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":133700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:08:05] local.INFO: TCP Data received {"connection_id":133700,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65fe75f8012d7f9dc005c583100006014429..."} 
[2026-07-15 19:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65fe75f8012d7f9dc005c583100006014429..."} 
[2026-07-15 19:08:05] local.INFO: Processing buffer {"connection_id":133700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65fe75f8012d7f9dc005c583100006014429..."} 
[2026-07-15 19:08:05] local.INFO: Packet analysis {"connection_id":133700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65fe"} 
[2026-07-15 19:08:05] local.INFO: Extracted packet for processing {"connection_id":133700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65fe"} 
[2026-07-15 19:08:05] local.INFO: GPS Element Parsed {"raw_longitude":763338176,"raw_latitude":96830224,"longitude_deg":76.3338176,"latitude_deg":9.6830224,"altitude":6,"angle":324,"satellites":41,"speed":32,"hex_longitude":"2d7f9dc0","hex_latitude":"05c58310","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735383296001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347316614904938496,"note":"Value kept but may cause issues"} 
[2026-07-15 19:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9201768857178888192,"note":"Value kept but may cause issues"} 
[2026-07-15 19:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784122603000,"timestamp_ms":1784122603000,"timestamp_seconds":1784122603,"priority":1,"record_length":96,"hex_timestamp":"0000019f65fe75f8"} 
[2026-07-15 19:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-15 19:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19: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-07-15 19:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":133700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":133700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":133700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735383296001,"66":27365,"89":206,"85":12288,"24":32,"16":347316614904938496,"45":9201768857178888192},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-07-15 19:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735383296001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:08:05] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-15 19:08:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347316614904938496,"km_value":347316614904938.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9201768857178888192,"description":"Unknown IO ID 45"} 
[2026-07-15 19:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735383296001,"power":27365,"unknown_89":206,"unknown_85":12288,"ignition":32,"odometer":null,"unknown_45":9201768857178888192}} 
[2026-07-15 19:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":133700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:08:05] local.INFO: GPS data processed {"connection_id":133700,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:08:05] local.INFO: Acknowledgment sent {"connection_id":133700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:08:28] local.INFO: TCP Data received {"connection_id":135065,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65fecbe8012d17530007230848007d006a29..."} 
[2026-07-15 19:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65fecbe8012d17530007230848007d006a29..."} 
[2026-07-15 19:08:28] local.INFO: Processing buffer {"connection_id":135065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65fecbe8012d17530007230848007d006a29..."} 
[2026-07-15 19:08:28] local.INFO: Packet analysis {"connection_id":135065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65fe"} 
[2026-07-15 19:08:28] local.INFO: Extracted packet for processing {"connection_id":135065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65fe"} 
[2026-07-15 19:08:28] local.INFO: GPS Element Parsed {"raw_longitude":756503296,"raw_latitude":119736392,"longitude_deg":75.6503296,"latitude_deg":11.9736392,"altitude":125,"angle":106,"satellites":41,"speed":5,"hex_longitude":"2d175300","hex_latitude":"07230848","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735391232001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6237301831106560,"note":"Value kept but may cause issues"} 
[2026-07-15 19:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1680264904126785536,"note":"Value kept but may cause issues"} 
[2026-07-15 19:08:28] 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-07-15 19:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784122625000,"timestamp_ms":1784122625000,"timestamp_seconds":1784122625,"priority":1,"record_length":96,"hex_timestamp":"0000019f65fecbe8"} 
[2026-07-15 19:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:08:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-15 19:08:28] 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-07-15 19: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-07-15 19:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":135065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":135065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":135065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735391232001,"66":12852,"70":206,"28":31744,"24":5,"16":6237301831106560,"45":1680264904126785536},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-15 19:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735391232001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:08:28] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-15 19:08:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6237301831106560,"km_value":6237301831106.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1680264904126785536,"description":"Unknown IO ID 45"} 
[2026-07-15 19:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735391232001,"power":12852,"unknown_70":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1680264904126785536}} 
[2026-07-15 19:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":135065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:08:28] local.INFO: GPS data processed {"connection_id":135065,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:08:28] local.INFO: Acknowledgment sent {"connection_id":135065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:08:37] local.INFO: TCP Data received {"connection_id":133700,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65feb478012d7f898005c59fe0000601432d..."} 
[2026-07-15 19:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65feb478012d7f898005c59fe0000601432d..."} 
[2026-07-15 19:08:37] local.INFO: Processing buffer {"connection_id":133700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65feb478012d7f898005c59fe0000601432d..."} 
[2026-07-15 19:08:37] local.INFO: Packet analysis {"connection_id":133700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65fe"} 
[2026-07-15 19:08:37] local.INFO: Extracted packet for processing {"connection_id":133700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65fe"} 
[2026-07-15 19:08:37] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":96837600,"longitude_deg":76.3332992,"latitude_deg":9.68376,"altitude":6,"angle":323,"satellites":45,"speed":17,"hex_longitude":"2d7f8980","hex_latitude":"05c59fe0","is_valid_coordinates":true} 
[2026-07-15 19:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735386368001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347317048696635392,"note":"Value kept but may cause issues"} 
[2026-07-15 19:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195717145181491200,"note":"Value kept but may cause issues"} 
[2026-07-15 19:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784122619000,"timestamp_ms":1784122619000,"timestamp_seconds":1784122619,"priority":1,"record_length":96,"hex_timestamp":"0000019f65feb478"} 
[2026-07-15 19:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-15 19:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:08:37] 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-07-15 19:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735386368001,"66":27365,"89":206,"85":12288,"24":17,"16":347317048696635392,"45":9195717145181491200},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-07-15 19:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735386368001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:08:37] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-15 19:08:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347317048696635392,"km_value":347317048696635.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195717145181491200,"description":"Unknown IO ID 45"} 
[2026-07-15 19:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735386368001,"power":27365,"unknown_89":206,"unknown_85":12288,"ignition":17,"odometer":null,"unknown_45":9195717145181491200}} 
[2026-07-15 19:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":133700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:08:37] local.INFO: GPS data processed {"connection_id":133700,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:08:37] local.INFO: Acknowledgment sent {"connection_id":133700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:08:47] local.INFO: TCP Data received {"connection_id":132850,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:08:47] local.INFO: Processing buffer {"connection_id":132850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:08:47] local.INFO: IMEI packet received {"connection_id":132850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":132850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:08:50] local.INFO: TCP Data received {"connection_id":132850,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:08:50] local.INFO: Processing buffer {"connection_id":132850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:08:50] local.INFO: IMEI packet received {"connection_id":132850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":132850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:08:51] local.INFO: TCP Data received {"connection_id":132850,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:08:51] local.INFO: Processing buffer {"connection_id":132850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:08:51] local.INFO: IMEI packet received {"connection_id":132850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":132850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:08:55] local.INFO: TCP Data received {"connection_id":132850,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:08:55] local.INFO: Processing buffer {"connection_id":132850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:08:55] local.INFO: IMEI packet received {"connection_id":132850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":132850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:08:57] local.INFO: TCP Data received {"connection_id":132850,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ffaa90012d175f400722f8c8007e005128..."} 
[2026-07-15 19:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ffaa90012d175f400722f8c8007e005128..."} 
[2026-07-15 19:08:57] local.INFO: Processing buffer {"connection_id":132850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ffaa90012d175f400722f8c8007e005128..."} 
[2026-07-15 19:08:57] local.INFO: Packet analysis {"connection_id":132850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ff"} 
[2026-07-15 19:08:57] local.INFO: Extracted packet for processing {"connection_id":132850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ff"} 
[2026-07-15 19:08:57] local.INFO: GPS Element Parsed {"raw_longitude":756506432,"raw_latitude":119732424,"longitude_deg":75.6506432,"latitude_deg":11.9732424,"altitude":126,"angle":81,"satellites":40,"speed":8,"hex_longitude":"2d175f40","hex_latitude":"0722f8c8","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735405056001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:08:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6237606773784576,"note":"Value kept but may cause issues"} 
[2026-07-15 19:08:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1683220391381211136,"note":"Value kept but may cause issues"} 
[2026-07-15 19:08:57] 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-07-15 19:08:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784122682000,"timestamp_ms":1784122682000,"timestamp_seconds":1784122682,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ffaa90"} 
[2026-07-15 19:08:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:08:57] 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-07-15 19: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-15 19:08: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-07-15 19: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-07-15 19:08:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:08:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:08:57] local.INFO: Teltonika packet parsed successfully {"connection_id":132850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:08:57] local.INFO: Passing IMEI to GPS processor {"connection_id":132850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:08:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":132850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:08:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:08:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:08:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:08:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735405056001,"66":14265,"70":206,"28":31744,"24":8,"16":6237606773784576,"45":1683220391381211136},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-15 19:08:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:08:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:08:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735405056001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:08:57] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-15 19:08:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:08:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6237606773784576,"km_value":6237606773784.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:08:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1683220391381211136,"description":"Unknown IO ID 45"} 
[2026-07-15 19:08:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735405056001,"power":14265,"unknown_70":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1683220391381211136}} 
[2026-07-15 19:08:57] local.INFO: DEBUG: GPS processor result {"connection_id":132850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:08:57] local.INFO: GPS data processed {"connection_id":132850,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:08:57] local.INFO: Acknowledgment sent {"connection_id":132850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:09:00] local.INFO: TCP Data received {"connection_id":132851,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:09:00] local.INFO: Processing buffer {"connection_id":132851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:09:00] local.INFO: IMEI packet received {"connection_id":132851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":132851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:09:05] local.INFO: TCP Data received {"connection_id":132851,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:09:05] local.INFO: Processing buffer {"connection_id":132851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:09:05] local.INFO: IMEI packet received {"connection_id":132851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":132851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:09:06] local.INFO: TCP Data received {"connection_id":132851,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65feef10012d7f73c005c5bc60000601452b..."} 
[2026-07-15 19:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65feef10012d7f73c005c5bc60000601452b..."} 
[2026-07-15 19:09:06] local.INFO: Processing buffer {"connection_id":132851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65feef10012d7f73c005c5bc60000601452b..."} 
[2026-07-15 19:09:06] local.INFO: Packet analysis {"connection_id":132851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65fe"} 
[2026-07-15 19:09:06] local.INFO: Extracted packet for processing {"connection_id":132851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65fe"} 
[2026-07-15 19:09:06] local.INFO: GPS Element Parsed {"raw_longitude":763327424,"raw_latitude":96844896,"longitude_deg":76.3327424,"latitude_deg":9.6844896,"altitude":6,"angle":325,"satellites":43,"speed":26,"hex_longitude":"2d7f73c0","hex_latitude":"05c5bc60","is_valid_coordinates":true} 
[2026-07-15 19:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735390464001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347317495373234176,"note":"Value kept but may cause issues"} 
[2026-07-15 19:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276904988672,"note":"Value kept but may cause issues"} 
[2026-07-15 19:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784122634000,"timestamp_ms":1784122634000,"timestamp_seconds":1784122634,"priority":1,"record_length":96,"hex_timestamp":"0000019f65feef10"} 
[2026-07-15 19:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-15 19:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:09:06] 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-07-15 19:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735390464001,"66":27213,"100":206,"85":12288,"24":26,"16":347317495373234176,"45":9190017276904988672},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-07-15 19:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735390464001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:09:06] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-07-15 19:09:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347317495373234176,"km_value":347317495373234.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276904988672,"description":"Unknown IO ID 45"} 
[2026-07-15 19:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735390464001,"power":27213,"unknown_100":206,"unknown_85":12288,"ignition":26,"odometer":null,"unknown_45":9190017276904988672}} 
[2026-07-15 19:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":132851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:09:06] local.INFO: GPS data processed {"connection_id":132851,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:09:06] local.INFO: Acknowledgment sent {"connection_id":132851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:09:28] local.INFO: TCP Data received {"connection_id":132850,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ffc5e8012d176d000722f978007d005e29..."} 
[2026-07-15 19:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ffc5e8012d176d000722f978007d005e29..."} 
[2026-07-15 19:09:28] local.INFO: Processing buffer {"connection_id":132850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ffc5e8012d176d000722f978007d005e29..."} 
[2026-07-15 19:09:28] local.INFO: Packet analysis {"connection_id":132850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ff"} 
[2026-07-15 19:09:28] local.INFO: Extracted packet for processing {"connection_id":132850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ff"} 
[2026-07-15 19:09:28] local.INFO: GPS Element Parsed {"raw_longitude":756509952,"raw_latitude":119732600,"longitude_deg":75.6509952,"latitude_deg":11.97326,"altitude":125,"angle":94,"satellites":41,"speed":27,"hex_longitude":"2d176d00","hex_latitude":"0722f978","is_valid_coordinates":true} 
[2026-07-15 19:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735406592001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6237774277509120,"note":"Value kept but may cause issues"} 
[2026-07-15 19:09:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1684135185055533056,"note":"Value kept but may cause issues"} 
[2026-07-15 19:09:28] 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-07-15 19:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784122689000,"timestamp_ms":1784122689000,"timestamp_seconds":1784122689,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ffc5e8"} 
[2026-07-15 19:09:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:09:28] 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-07-15 19:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-15 19:09:28] 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-07-15 19:09:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:09:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:09:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735406592001,"66":13852,"70":206,"28":31744,"24":27,"16":6237774277509120,"45":1684135185055533056},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-15 19:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735406592001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:09:28] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-15 19:09:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6237774277509120,"km_value":6237774277509.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:09:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1684135185055533056,"description":"Unknown IO ID 45"} 
[2026-07-15 19:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735406592001,"power":13852,"unknown_70":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1684135185055533056}} 
[2026-07-15 19:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":132850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:09:28] local.INFO: GPS data processed {"connection_id":132850,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:09:28] local.INFO: Acknowledgment sent {"connection_id":132850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:09:37] local.INFO: TCP Data received {"connection_id":132851,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ff1df0012d7f5e0005c5da18000601432e..."} 
[2026-07-15 19:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ff1df0012d7f5e0005c5da18000601432e..."} 
[2026-07-15 19:09:37] local.INFO: Processing buffer {"connection_id":132851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ff1df0012d7f5e0005c5da18000601432e..."} 
[2026-07-15 19:09:37] local.INFO: Packet analysis {"connection_id":132851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ff"} 
[2026-07-15 19:09:37] local.INFO: Extracted packet for processing {"connection_id":132851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ff"} 
[2026-07-15 19:09:37] local.INFO: GPS Element Parsed {"raw_longitude":763321856,"raw_latitude":96852504,"longitude_deg":76.3321856,"latitude_deg":9.6852504,"altitude":6,"angle":323,"satellites":46,"speed":30,"hex_longitude":"2d7f5e00","hex_latitude":"05c5da18","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735394304001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347317950639767552,"note":"Value kept but may cause issues"} 
[2026-07-15 19:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9183895196163399680,"note":"Value kept but may cause issues"} 
[2026-07-15 19:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784122646000,"timestamp_ms":1784122646000,"timestamp_seconds":1784122646,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ff1df0"} 
[2026-07-15 19:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-15 19:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19: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-07-15 19:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:09:37] 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-07-15 19:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735394304001,"66":27397,"100":206,"85":12288,"24":30,"16":347317950639767552,"45":9183895196163399680},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-07-15 19:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735394304001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:09:37] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-07-15 19:09:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347317950639767552,"km_value":347317950639767.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9183895196163399680,"description":"Unknown IO ID 45"} 
[2026-07-15 19:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735394304001,"power":27397,"unknown_100":206,"unknown_85":12288,"ignition":30,"odometer":null,"unknown_45":9183895196163399680}} 
[2026-07-15 19:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":132851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:09:37] local.INFO: GPS data processed {"connection_id":132851,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:09:37] local.INFO: Acknowledgment sent {"connection_id":132851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:09:48] local.INFO: TCP Data received {"connection_id":132672,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:09:48] local.INFO: Processing buffer {"connection_id":132672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:09:48] local.INFO: IMEI packet received {"connection_id":132672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":132672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:09:50] local.INFO: TCP Data received {"connection_id":132672,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:09:50] local.INFO: Processing buffer {"connection_id":132672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:09:50] local.INFO: IMEI packet received {"connection_id":132672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":132672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:09:54] local.INFO: TCP Data received {"connection_id":132672,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:09:54] local.INFO: Processing buffer {"connection_id":132672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:09:54] local.INFO: IMEI packet received {"connection_id":132672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":132672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:09:56] local.INFO: TCP Data received {"connection_id":132672,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f660075b0012d17d5000722e7e00083005826..."} 
[2026-07-15 19:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f660075b0012d17d5000722e7e00083005826..."} 
[2026-07-15 19:09:56] local.INFO: Processing buffer {"connection_id":132672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f660075b0012d17d5000722e7e00083005826..."} 
[2026-07-15 19:09:56] local.INFO: Packet analysis {"connection_id":132672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6600"} 
[2026-07-15 19:09:56] local.INFO: Extracted packet for processing {"connection_id":132672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6600"} 
[2026-07-15 19:09:56] local.INFO: GPS Element Parsed {"raw_longitude":756536576,"raw_latitude":119728096,"longitude_deg":75.6536576,"latitude_deg":11.9728096,"altitude":131,"angle":88,"satellites":38,"speed":24,"hex_longitude":"2d17d500","hex_latitude":"0722e7e0","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735418880001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6239110012338176,"note":"Value kept but may cause issues"} 
[2026-07-15 19:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714323376306708480,"note":"Value kept but may cause issues"} 
[2026-07-15 19:09:56] 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-07-15 19:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784122734000,"timestamp_ms":1784122734000,"timestamp_seconds":1784122734,"priority":1,"record_length":96,"hex_timestamp":"0000019f660075b0"} 
[2026-07-15 19:09:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:09:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-15 19:09:56] 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-07-15 19: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-07-15 19:09:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:09:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735418880001,"66":13678,"70":206,"28":31744,"24":24,"16":6239110012338176,"45":1714323376306708480},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-15 19:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735418880001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:09:56] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-15 19:09:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6239110012338176,"km_value":6239110012338.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714323376306708480,"description":"Unknown IO ID 45"} 
[2026-07-15 19:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735418880001,"power":13678,"unknown_70":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1714323376306708480}} 
[2026-07-15 19:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":132672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:09:56] local.INFO: GPS data processed {"connection_id":132672,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:09:56] local.INFO: Acknowledgment sent {"connection_id":132672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:10:05] local.INFO: TCP Data received {"connection_id":135067,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:10:05] local.INFO: Processing buffer {"connection_id":135067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:10:05] local.INFO: IMEI packet received {"connection_id":135067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":135067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:10:10] local.INFO: TCP Data received {"connection_id":135067,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:10:10] local.INFO: Processing buffer {"connection_id":135067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:10:10] local.INFO: IMEI packet received {"connection_id":135067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":135067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:10:12] local.INFO: TCP Data received {"connection_id":135067,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ff5888012d7f490005c5f678000501442d..."} 
[2026-07-15 19:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ff5888012d7f490005c5f678000501442d..."} 
[2026-07-15 19:10:12] local.INFO: Processing buffer {"connection_id":135067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ff5888012d7f490005c5f678000501442d..."} 
[2026-07-15 19:10:12] local.INFO: Packet analysis {"connection_id":135067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ff"} 
[2026-07-15 19:10:12] local.INFO: Extracted packet for processing {"connection_id":135067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ff"} 
[2026-07-15 19:10:12] local.INFO: GPS Element Parsed {"raw_longitude":763316480,"raw_latitude":96859768,"longitude_deg":76.331648,"latitude_deg":9.6859768,"altitude":5,"angle":324,"satellites":45,"speed":22,"hex_longitude":"2d7f4900","hex_latitude":"05c5f678","is_valid_coordinates":true} 
[2026-07-15 19:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735397376001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347318384431464448,"note":"Value kept but may cause issues"} 
[2026-07-15 19:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9177773115421890560,"note":"Value kept but may cause issues"} 
[2026-07-15 19:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784122661000,"timestamp_ms":1784122661000,"timestamp_seconds":1784122661,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ff5888"} 
[2026-07-15 19:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-15 19:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":135067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":135067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":135067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:10:12] 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-07-15 19:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735397376001,"66":27343,"100":206,"85":12288,"24":22,"16":347318384431464448,"45":9177773115421890560},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-07-15 19:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735397376001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:10:12] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-07-15 19:10:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347318384431464448,"km_value":347318384431464.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9177773115421890560,"description":"Unknown IO ID 45"} 
[2026-07-15 19:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735397376001,"power":27343,"unknown_100":206,"unknown_85":12288,"ignition":22,"odometer":null,"unknown_45":9177773115421890560}} 
[2026-07-15 19:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":135067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:10:12] local.INFO: GPS data processed {"connection_id":135067,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:10:12] local.INFO: Acknowledgment sent {"connection_id":135067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:10:16] local.INFO: TCP Data received {"connection_id":135067,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ff9708012d7f338005c613600006014529..."} 
[2026-07-15 19:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ff9708012d7f338005c613600006014529..."} 
[2026-07-15 19:10:16] local.INFO: Processing buffer {"connection_id":135067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ff9708012d7f338005c613600006014529..."} 
[2026-07-15 19:10:16] local.INFO: Packet analysis {"connection_id":135067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ff"} 
[2026-07-15 19:10:16] local.INFO: Extracted packet for processing {"connection_id":135067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ff"} 
[2026-07-15 19:10:16] local.INFO: GPS Element Parsed {"raw_longitude":763310976,"raw_latitude":96867168,"longitude_deg":76.3310976,"latitude_deg":9.6867168,"altitude":6,"angle":325,"satellites":41,"speed":13,"hex_longitude":"2d7f3380","hex_latitude":"05c61360","is_valid_coordinates":true} 
[2026-07-15 19:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735401216001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347318831108063232,"note":"Value kept but may cause issues"} 
[2026-07-15 19:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9171862140912826368,"note":"Value kept but may cause issues"} 
[2026-07-15 19:10:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784122677000,"timestamp_ms":1784122677000,"timestamp_seconds":1784122677,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ff9708"} 
[2026-07-15 19:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-15 19:10:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":135067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":135067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":135067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735401216001,"66":27376,"89":206,"85":12288,"24":13,"16":347318831108063232,"45":9171862140912826368},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-07-15 19:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735401216001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:10:16] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-15 19:10:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347318831108063232,"km_value":347318831108063.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9171862140912826368,"description":"Unknown IO ID 45"} 
[2026-07-15 19:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735401216001,"power":27376,"unknown_89":206,"unknown_85":12288,"ignition":13,"odometer":null,"unknown_45":9171862140912826368}} 
[2026-07-15 19:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":135067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:10:16] local.INFO: GPS data processed {"connection_id":135067,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:10:16] local.INFO: Acknowledgment sent {"connection_id":135067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:10:27] local.INFO: TCP Data received {"connection_id":132672,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66007d80012d17d9c00722e8a80083004827..."} 
[2026-07-15 19:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66007d80012d17d9c00722e8a80083004827..."} 
[2026-07-15 19:10:27] local.INFO: Processing buffer {"connection_id":132672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66007d80012d17d9c00722e8a80083004827..."} 
[2026-07-15 19:10:27] local.INFO: Packet analysis {"connection_id":132672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6600"} 
[2026-07-15 19:10:27] local.INFO: Extracted packet for processing {"connection_id":132672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6600"} 
[2026-07-15 19:10:27] local.INFO: GPS Element Parsed {"raw_longitude":756537792,"raw_latitude":119728296,"longitude_deg":75.6537792,"latitude_deg":11.9728296,"altitude":131,"angle":72,"satellites":39,"speed":24,"hex_longitude":"2d17d9c0","hex_latitude":"0722e8a8","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735419904001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6239170141880320,"note":"Value kept but may cause issues"} 
[2026-07-15 19:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1717278863562104832,"note":"Value kept but may cause issues"} 
[2026-07-15 19:10:27] 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-07-15 19:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784122736000,"timestamp_ms":1784122736000,"timestamp_seconds":1784122736,"priority":1,"record_length":96,"hex_timestamp":"0000019f66007d80"} 
[2026-07-15 19:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:10:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-07-15 19:10:27] 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-07-15 19: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-07-15 19:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":132672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":132672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":132672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:10:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735419904001,"66":13852,"70":206,"28":31744,"24":24,"16":6239170141880320,"45":1717278863562104832},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-15 19:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735419904001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:10:27] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-15 19:10:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6239170141880320,"km_value":6239170141880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1717278863562104832,"description":"Unknown IO ID 45"} 
[2026-07-15 19:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735419904001,"power":13852,"unknown_70":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1717278863562104832}} 
[2026-07-15 19:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":132672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:10:28] local.INFO: GPS data processed {"connection_id":132672,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:10:28] local.INFO: Acknowledgment sent {"connection_id":132672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:10:49] local.INFO: TCP Data received {"connection_id":135068,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135068,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:10:49] local.INFO: Processing buffer {"connection_id":135068,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:10:49] local.INFO: IMEI packet received {"connection_id":135068,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":135068,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:10:50] local.INFO: TCP Data received {"connection_id":135068,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135068,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:10:50] local.INFO: Processing buffer {"connection_id":135068,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:10:50] local.INFO: IMEI packet received {"connection_id":135068,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":135068,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:10:55] local.INFO: TCP Data received {"connection_id":135068,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135068,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:10:55] local.INFO: Processing buffer {"connection_id":135068,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:10:55] local.INFO: IMEI packet received {"connection_id":135068,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":135068,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:10:56] local.INFO: TCP Data received {"connection_id":135068,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66015840012d1847800722da48007a00b023..."} 
[2026-07-15 19:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66015840012d1847800722da48007a00b023..."} 
[2026-07-15 19:10:56] local.INFO: Processing buffer {"connection_id":135068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66015840012d1847800722da48007a00b023..."} 
[2026-07-15 19:10:56] local.INFO: Packet analysis {"connection_id":135068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6601"} 
[2026-07-15 19:10:56] local.INFO: Extracted packet for processing {"connection_id":135068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6601"} 
[2026-07-15 19:10:56] local.INFO: GPS Element Parsed {"raw_longitude":756565888,"raw_latitude":119724616,"longitude_deg":75.6565888,"latitude_deg":11.9724616,"altitude":122,"angle":176,"satellites":35,"speed":17,"hex_longitude":"2d184780","hex_latitude":"0722da48","is_valid_coordinates":true} 
[2026-07-15 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-07-15 19:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735433728001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6240712035139584,"note":"Value kept but may cause issues"} 
[2026-07-15 19:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1749296642162395136,"note":"Value kept but may cause issues"} 
[2026-07-15 19:10:56] 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-07-15 19:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784122792000,"timestamp_ms":1784122792000,"timestamp_seconds":1784122792,"priority":1,"record_length":96,"hex_timestamp":"0000019f66015840"} 
[2026-07-15 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-07-15 19:10:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-15 19:10:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 19:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":135068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":135068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":135068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735433728001,"66":13972,"70":206,"28":31744,"24":17,"16":6240712035139584,"45":1749296642162395136},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-15 19:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735433728001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:10:56] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-15 19:10:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6240712035139584,"km_value":6240712035139.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1749296642162395136,"description":"Unknown IO ID 45"} 
[2026-07-15 19:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735433728001,"power":13972,"unknown_70":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1749296642162395136}} 
[2026-07-15 19:10:57] local.INFO: DEBUG: GPS processor result {"connection_id":135068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:10:57] local.INFO: GPS data processed {"connection_id":135068,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:10:57] local.INFO: Acknowledgment sent {"connection_id":135068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:11:01] local.INFO: TCP Data received {"connection_id":133701,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:11:01] local.INFO: Processing buffer {"connection_id":133701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:11:01] local.INFO: IMEI packet received {"connection_id":133701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":133701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:11:05] local.INFO: TCP Data received {"connection_id":133701,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:11:05] local.INFO: Processing buffer {"connection_id":133701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:11:05] local.INFO: IMEI packet received {"connection_id":133701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":133701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:11:07] local.INFO: TCP Data received {"connection_id":133701,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ffdd58012d7f264005c625b0000401532d..."} 
[2026-07-15 19:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ffdd58012d7f264005c625b0000401532d..."} 
[2026-07-15 19:11:07] local.INFO: Processing buffer {"connection_id":133701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ffdd58012d7f264005c625b0000401532d..."} 
[2026-07-15 19:11:07] local.INFO: Packet analysis {"connection_id":133701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ff"} 
[2026-07-15 19:11:07] local.INFO: Extracted packet for processing {"connection_id":133701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ff"} 
[2026-07-15 19:11:07] local.INFO: GPS Element Parsed {"raw_longitude":763307584,"raw_latitude":96871856,"longitude_deg":76.3307584,"latitude_deg":9.6871856,"altitude":4,"angle":339,"satellites":45,"speed":12,"hex_longitude":"2d7f2640","hex_latitude":"05c625b0","is_valid_coordinates":true} 
[2026-07-15 19:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735405312001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347319110280937472,"note":"Value kept but may cause issues"} 
[2026-07-15 19:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9165810428915441664,"note":"Value kept but may cause issues"} 
[2026-07-15 19:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784122695000,"timestamp_ms":1784122695000,"timestamp_seconds":1784122695,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ffdd58"} 
[2026-07-15 19:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-15 19:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735405312001,"66":27310,"89":206,"85":12288,"24":12,"16":347319110280937472,"45":9165810428915441664},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-07-15 19:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735405312001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:11:07] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-15 19:11:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347319110280937472,"km_value":347319110280937.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9165810428915441664,"description":"Unknown IO ID 45"} 
[2026-07-15 19:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735405312001,"power":27310,"unknown_89":206,"unknown_85":12288,"ignition":12,"odometer":null,"unknown_45":9165810428915441664}} 
[2026-07-15 19:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":133701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:11:07] local.INFO: GPS data processed {"connection_id":133701,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:11:07] local.INFO: Acknowledgment sent {"connection_id":133701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:11:09] local.INFO: TCP Data received {"connection_id":132673,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132673,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:11:09] local.INFO: Processing buffer {"connection_id":132673,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:11:09] local.INFO: IMEI packet received {"connection_id":132673,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 19:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":132673,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:11:12] local.INFO: TCP Data received {"connection_id":133701,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f65ffe910012d7f24c005c62968000401472e..."} 
[2026-07-15 19:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f65ffe910012d7f24c005c62968000401472e..."} 
[2026-07-15 19:11:12] local.INFO: Processing buffer {"connection_id":133701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f65ffe910012d7f24c005c62968000401472e..."} 
[2026-07-15 19:11:12] local.INFO: Packet analysis {"connection_id":133701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f65ff"} 
[2026-07-15 19:11:12] local.INFO: Extracted packet for processing {"connection_id":133701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f65ff"} 
[2026-07-15 19:11:12] local.INFO: GPS Element Parsed {"raw_longitude":763307200,"raw_latitude":96872808,"longitude_deg":76.33072,"latitude_deg":9.6872808,"altitude":4,"angle":327,"satellites":46,"speed":17,"hex_longitude":"2d7f24c0","hex_latitude":"05c62968","is_valid_coordinates":true} 
[2026-07-15 19:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735409920001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347319161820545024,"note":"Value kept but may cause issues"} 
[2026-07-15 19:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9162080885475225600,"note":"Value kept but may cause issues"} 
[2026-07-15 19:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784122698000,"timestamp_ms":1784122698000,"timestamp_seconds":1784122698,"priority":1,"record_length":96,"hex_timestamp":"0000019f65ffe910"} 
[2026-07-15 19:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-15 19:11:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:11:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":133701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":133701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":133701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:11:12] 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-07-15 19:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735409920001,"66":27267,"89":206,"85":12288,"24":17,"16":347319161820545024,"45":9162080885475225600},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-07-15 19:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735409920001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:11:12] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-15 19:11:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347319161820545024,"km_value":347319161820545.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9162080885475225600,"description":"Unknown IO ID 45"} 
[2026-07-15 19:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735409920001,"power":27267,"unknown_89":206,"unknown_85":12288,"ignition":17,"odometer":null,"unknown_45":9162080885475225600}} 
[2026-07-15 19:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":133701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:11:12] local.INFO: GPS data processed {"connection_id":133701,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:11:12] local.INFO: Acknowledgment sent {"connection_id":133701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:11:28] local.INFO: TCP Data received {"connection_id":135068,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f660163f8012d1847000722d540007900bf24..."} 
[2026-07-15 19:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f660163f8012d1847000722d540007900bf24..."} 
[2026-07-15 19:11:28] local.INFO: Processing buffer {"connection_id":135068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f660163f8012d1847000722d540007900bf24..."} 
[2026-07-15 19:11:28] local.INFO: Packet analysis {"connection_id":135068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6601"} 
[2026-07-15 19:11:28] local.INFO: Extracted packet for processing {"connection_id":135068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6601"} 
[2026-07-15 19:11:28] local.INFO: GPS Element Parsed {"raw_longitude":756565760,"raw_latitude":119723328,"longitude_deg":75.656576,"latitude_deg":11.9723328,"altitude":121,"angle":191,"satellites":36,"speed":18,"hex_longitude":"2d184700","hex_latitude":"0722d540","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735434752001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6240776459649024,"note":"Value kept but may cause issues"} 
[2026-07-15 19:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1749507748394584064,"note":"Value kept but may cause issues"} 
[2026-07-15 19:11:28] 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-07-15 19:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784122795000,"timestamp_ms":1784122795000,"timestamp_seconds":1784122795,"priority":1,"record_length":96,"hex_timestamp":"0000019f660163f8"} 
[2026-07-15 19:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:11:28] 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-07-15 19: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-15 19:11:28] 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-07-15 19: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-07-15 19:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":135068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":135068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":135068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:11:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735434752001,"66":14135,"70":206,"28":31744,"24":18,"16":6240776459649024,"45":1749507748394584064},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-15 19:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735434752001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:11:28] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-15 19:11:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6240776459649024,"km_value":6240776459649.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1749507748394584064,"description":"Unknown IO ID 45"} 
[2026-07-15 19:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735434752001,"power":14135,"unknown_70":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1749507748394584064}} 
[2026-07-15 19:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":135068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:11:28] local.INFO: GPS data processed {"connection_id":135068,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:11:28] local.INFO: Acknowledgment sent {"connection_id":135068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:11:34] local.INFO: TCP Data received {"connection_id":133702,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133702,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:11:34] local.INFO: Processing buffer {"connection_id":133702,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:11:34] local.INFO: IMEI packet received {"connection_id":133702,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 19:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":133702,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:11:45] local.INFO: TCP Data received {"connection_id":133701,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f66001bd8012d7f104005c646b0000501442d..."} 
[2026-07-15 19:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66001bd8012d7f104005c646b0000501442d..."} 
[2026-07-15 19:11:45] local.INFO: Processing buffer {"connection_id":133701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66001bd8012d7f104005c646b0000501442d..."} 
[2026-07-15 19:11:45] local.INFO: Packet analysis {"connection_id":133701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6600"} 
[2026-07-15 19:11:45] local.INFO: Extracted packet for processing {"connection_id":133701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6600"} 
[2026-07-15 19:11:45] local.INFO: GPS Element Parsed {"raw_longitude":763301952,"raw_latitude":96880304,"longitude_deg":76.3301952,"latitude_deg":9.6880304,"altitude":5,"angle":324,"satellites":45,"speed":33,"hex_longitude":"2d7f1040","hex_latitude":"05c646b0","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735410688001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347319604202176512,"note":"Value kept but may cause issues"} 
[2026-07-15 19:11:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9161658673010403328,"note":"Value kept but may cause issues"} 
[2026-07-15 19:11:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784122711000,"timestamp_ms":1784122711000,"timestamp_seconds":1784122711,"priority":1,"record_length":96,"hex_timestamp":"0000019f66001bd8"} 
[2026-07-15 19:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:11:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-15 19:11:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19: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-07-15 19:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":133701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":133701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":133701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:11:45] 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-07-15 19:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735410688001,"66":27267,"89":206,"85":12288,"24":33,"16":347319604202176512,"45":9161658673010403328},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-07-15 19:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735410688001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:11:45] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-15 19:11:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347319604202176512,"km_value":347319604202176.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:11:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9161658673010403328,"description":"Unknown IO ID 45"} 
[2026-07-15 19:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735410688001,"power":27267,"unknown_89":206,"unknown_85":12288,"ignition":33,"odometer":null,"unknown_45":9161658673010403328}} 
[2026-07-15 19:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":133701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:11:45] local.INFO: GPS data processed {"connection_id":133701,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:11:45] local.INFO: Acknowledgment sent {"connection_id":133701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:11:50] local.INFO: TCP Data received {"connection_id":132674,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:11:50] local.INFO: Processing buffer {"connection_id":132674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:11:50] local.INFO: IMEI packet received {"connection_id":132674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":132674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:11:55] local.INFO: TCP Data received {"connection_id":132674,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:11:55] local.INFO: Processing buffer {"connection_id":132674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:11:55] local.INFO: IMEI packet received {"connection_id":132674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":132674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:11:56] local.INFO: TCP Data received {"connection_id":132674,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66017780012d1846000722cd18007800b324..."} 
[2026-07-15 19:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66017780012d1846000722cd18007800b324..."} 
[2026-07-15 19:11:56] local.INFO: Processing buffer {"connection_id":132674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66017780012d1846000722cd18007800b324..."} 
[2026-07-15 19:11:56] local.INFO: Packet analysis {"connection_id":132674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6601"} 
[2026-07-15 19:11:56] local.INFO: Extracted packet for processing {"connection_id":132674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6601"} 
[2026-07-15 19:11:56] local.INFO: GPS Element Parsed {"raw_longitude":756565504,"raw_latitude":119721240,"longitude_deg":75.6565504,"latitude_deg":11.972124,"altitude":120,"angle":179,"satellites":36,"speed":17,"hex_longitude":"2d184600","hex_latitude":"0722cd18","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735435520001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6240879538864128,"note":"Value kept but may cause issues"} 
[2026-07-15 19:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1749367010905899008,"note":"Value kept but may cause issues"} 
[2026-07-15 19:11:56] 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-07-15 19:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784122800000,"timestamp_ms":1784122800000,"timestamp_seconds":1784122800,"priority":1,"record_length":96,"hex_timestamp":"0000019f66017780"} 
[2026-07-15 19:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:11:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-15 19:11:56] 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-07-15 19: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-07-15 19:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:11:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735435520001,"66":14102,"70":206,"28":31744,"24":17,"16":6240879538864128,"45":1749367010905899008},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-15 19:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735435520001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:11:56] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-15 19:11:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6240879538864128,"km_value":6240879538864.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1749367010905899008,"description":"Unknown IO ID 45"} 
[2026-07-15 19:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735435520001,"power":14102,"unknown_70":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1749367010905899008}} 
[2026-07-15 19:11:57] local.INFO: DEBUG: GPS processor result {"connection_id":132674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:11:57] local.INFO: GPS data processed {"connection_id":132674,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:11:57] local.INFO: Acknowledgment sent {"connection_id":132674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:12:04] local.INFO: TCP Data received {"connection_id":132852,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:12:04] local.INFO: Processing buffer {"connection_id":132852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:12:04] local.INFO: IMEI packet received {"connection_id":132852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":132852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:12:05] local.INFO: TCP Data received {"connection_id":132852,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:12:05] local.INFO: Processing buffer {"connection_id":132852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:12:05] local.INFO: IMEI packet received {"connection_id":132852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":132852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:12:06] local.INFO: TCP Data received {"connection_id":132852,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f66004ab8012d7efc4005c66338000701442c..."} 
[2026-07-15 19:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66004ab8012d7efc4005c66338000701442c..."} 
[2026-07-15 19:12:06] local.INFO: Processing buffer {"connection_id":132852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66004ab8012d7efc4005c66338000701442c..."} 
[2026-07-15 19:12:06] local.INFO: Packet analysis {"connection_id":132852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6600"} 
[2026-07-15 19:12:06] local.INFO: Extracted packet for processing {"connection_id":132852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6600"} 
[2026-07-15 19:12:06] local.INFO: GPS Element Parsed {"raw_longitude":763296832,"raw_latitude":96887608,"longitude_deg":76.3296832,"latitude_deg":9.6887608,"altitude":7,"angle":324,"satellites":44,"speed":21,"hex_longitude":"2d7efc40","hex_latitude":"05c66338","is_valid_coordinates":true} 
[2026-07-15 19:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735414016001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347320033698906112,"note":"Value kept but may cause issues"} 
[2026-07-15 19:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9155888435989753856,"note":"Value kept but may cause issues"} 
[2026-07-15 19:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784122723000,"timestamp_ms":1784122723000,"timestamp_seconds":1784122723,"priority":1,"record_length":96,"hex_timestamp":"0000019f66004ab8"} 
[2026-07-15 19:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-15 19:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735414016001,"66":27713,"89":206,"85":12288,"24":21,"16":347320033698906112,"45":9155888435989753856},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-07-15 19:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735414016001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:12:06] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-15 19:12:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347320033698906112,"km_value":347320033698906.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9155888435989753856,"description":"Unknown IO ID 45"} 
[2026-07-15 19:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735414016001,"power":27713,"unknown_89":206,"unknown_85":12288,"ignition":21,"odometer":null,"unknown_45":9155888435989753856}} 
[2026-07-15 19:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":132852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:12:06] local.INFO: GPS data processed {"connection_id":132852,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:12:06] local.INFO: Acknowledgment sent {"connection_id":132852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:12:14] local.INFO: TCP Data received {"connection_id":132852,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f66006228012d7ef44005c66c38000801372e..."} 
[2026-07-15 19:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66006228012d7ef44005c66c38000801372e..."} 
[2026-07-15 19:12:14] local.INFO: Processing buffer {"connection_id":132852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66006228012d7ef44005c66c38000801372e..."} 
[2026-07-15 19:12:14] local.INFO: Packet analysis {"connection_id":132852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6600"} 
[2026-07-15 19:12:14] local.INFO: Extracted packet for processing {"connection_id":132852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6600"} 
[2026-07-15 19:12:14] local.INFO: GPS Element Parsed {"raw_longitude":763294784,"raw_latitude":96889912,"longitude_deg":76.3294784,"latitude_deg":9.6889912,"altitude":8,"angle":311,"satellites":46,"speed":24,"hex_longitude":"2d7ef440","hex_latitude":"05c66c38","is_valid_coordinates":true} 
[2026-07-15 19:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735417088001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347320184022761472,"note":"Value kept but may cause issues"} 
[2026-07-15 19:12:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9150258936457410560,"note":"Value kept but may cause issues"} 
[2026-07-15 19:12:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784122729000,"timestamp_ms":1784122729000,"timestamp_seconds":1784122729,"priority":1,"record_length":96,"hex_timestamp":"0000019f66006228"} 
[2026-07-15 19:12:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:12:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-15 19:12:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:12:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:12:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":132852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":132852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":132852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:12:14] 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-07-15 19:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735417088001,"66":27767,"89":206,"85":12288,"24":24,"16":347320184022761472,"45":9150258936457410560},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-07-15 19:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735417088001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:12:14] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-15 19:12:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347320184022761472,"km_value":347320184022761.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:12:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9150258936457410560,"description":"Unknown IO ID 45"} 
[2026-07-15 19:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735417088001,"power":27767,"unknown_89":206,"unknown_85":12288,"ignition":24,"odometer":null,"unknown_45":9150258936457410560}} 
[2026-07-15 19:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":132852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:12:14] local.INFO: GPS data processed {"connection_id":132852,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:12:14] local.INFO: Acknowledgment sent {"connection_id":132852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:12:28] local.INFO: TCP Data received {"connection_id":132674,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f660192d8012d1848400722bff0007900a227..."} 
[2026-07-15 19:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f660192d8012d1848400722bff0007900a227..."} 
[2026-07-15 19:12:28] local.INFO: Processing buffer {"connection_id":132674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f660192d8012d1848400722bff0007900a227..."} 
[2026-07-15 19:12:28] local.INFO: Packet analysis {"connection_id":132674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6601"} 
[2026-07-15 19:12:28] local.INFO: Extracted packet for processing {"connection_id":132674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6601"} 
[2026-07-15 19:12:28] local.INFO: GPS Element Parsed {"raw_longitude":756566080,"raw_latitude":119717872,"longitude_deg":75.656608,"latitude_deg":11.9717872,"altitude":121,"angle":162,"satellites":39,"speed":19,"hex_longitude":"2d184840","hex_latitude":"0722bff0","is_valid_coordinates":true} 
[2026-07-15 19:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735436800001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6241047042588672,"note":"Value kept but may cause issues"} 
[2026-07-15 19:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1749085535928653824,"note":"Value kept but may cause issues"} 
[2026-07-15 19:12:28] 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-07-15 19:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784122807000,"timestamp_ms":1784122807000,"timestamp_seconds":1784122807,"priority":1,"record_length":96,"hex_timestamp":"0000019f660192d8"} 
[2026-07-15 19:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:12:28] 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-07-15 19:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-15 19:12:28] 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-07-15 19:12:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:12:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735436800001,"66":14048,"70":206,"28":31744,"24":19,"16":6241047042588672,"45":1749085535928653824},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-15 19:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735436800001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:12:28] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-15 19:12:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6241047042588672,"km_value":6241047042588.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1749085535928653824,"description":"Unknown IO ID 45"} 
[2026-07-15 19:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735436800001,"power":14048,"unknown_70":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1749085535928653824}} 
[2026-07-15 19:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":132674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:12:28] local.INFO: GPS data processed {"connection_id":132674,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:12:28] local.INFO: Acknowledgment sent {"connection_id":132674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:12:48] local.INFO: TCP Data received {"connection_id":132852,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f66008938012d7ee1c005c67b38000701292d..."} 
[2026-07-15 19:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66008938012d7ee1c005c67b38000701292d..."} 
[2026-07-15 19:12:48] local.INFO: Processing buffer {"connection_id":132852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66008938012d7ee1c005c67b38000701292d..."} 
[2026-07-15 19:12:48] local.INFO: Packet analysis {"connection_id":132852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6600"} 
[2026-07-15 19:12:48] local.INFO: Extracted packet for processing {"connection_id":132852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6600"} 
[2026-07-15 19:12:48] local.INFO: GPS Element Parsed {"raw_longitude":763290048,"raw_latitude":96893752,"longitude_deg":76.3290048,"latitude_deg":9.6893752,"altitude":7,"angle":297,"satellites":45,"speed":15,"hex_longitude":"2d7ee1c0","hex_latitude":"05c67b38","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735418624001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347320476080537600,"note":"Value kept but may cause issues"} 
[2026-07-15 19:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9148007136644315136,"note":"Value kept but may cause issues"} 
[2026-07-15 19:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784122739000,"timestamp_ms":1784122739000,"timestamp_seconds":1784122739,"priority":1,"record_length":96,"hex_timestamp":"0000019f66008938"} 
[2026-07-15 19:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:12:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-15 19:12:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19: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-07-15 19:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":132852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":132852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":132852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:12: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-07-15 19:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735418624001,"66":27713,"89":206,"85":12288,"24":15,"16":347320476080537600,"45":9148007136644315136},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-07-15 19:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735418624001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:12:48] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-15 19:12:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347320476080537600,"km_value":347320476080537.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9148007136644315136,"description":"Unknown IO ID 45"} 
[2026-07-15 19:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735418624001,"power":27713,"unknown_89":206,"unknown_85":12288,"ignition":15,"odometer":null,"unknown_45":9148007136644315136}} 
[2026-07-15 19:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":132852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:12:48] local.INFO: GPS data processed {"connection_id":132852,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:12:48] local.INFO: Acknowledgment sent {"connection_id":132852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:12:55] local.INFO: TCP Data received {"connection_id":133703,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:12:55] local.INFO: Processing buffer {"connection_id":133703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:12:55] local.INFO: IMEI packet received {"connection_id":133703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":133703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:13:00] local.INFO: TCP Data received {"connection_id":133703,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:13:00] local.INFO: Processing buffer {"connection_id":133703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:13:00] local.INFO: IMEI packet received {"connection_id":133703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":133703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:13:00] local.INFO: TCP Data received {"connection_id":135069,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:13:00] local.INFO: Processing buffer {"connection_id":135069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:13:00] local.INFO: IMEI packet received {"connection_id":135069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":135069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:13:01] local.INFO: TCP Data received {"connection_id":133703,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f660305f0012d188840072247a8006200d525..."} 
[2026-07-15 19:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f660305f0012d188840072247a8006200d525..."} 
[2026-07-15 19:13:01] local.INFO: Processing buffer {"connection_id":133703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f660305f0012d188840072247a8006200d525..."} 
[2026-07-15 19:13:01] local.INFO: Packet analysis {"connection_id":133703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6603"} 
[2026-07-15 19:13:01] local.INFO: Extracted packet for processing {"connection_id":133703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6603"} 
[2026-07-15 19:13:01] local.INFO: GPS Element Parsed {"raw_longitude":756582464,"raw_latitude":119687080,"longitude_deg":75.6582464,"latitude_deg":11.968708,"altitude":98,"angle":213,"satellites":37,"speed":45,"hex_longitude":"2d188840","hex_latitude":"072247a8","is_valid_coordinates":true} 
[2026-07-15 19:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735460608001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6243447929307136,"note":"Value kept but may cause issues"} 
[2026-07-15 19:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1773573858895816704,"note":"Value kept but may cause issues"} 
[2026-07-15 19:13:01] 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-07-15 19:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784122902000,"timestamp_ms":1784122902000,"timestamp_seconds":1784122902,"priority":1,"record_length":96,"hex_timestamp":"0000019f660305f0"} 
[2026-07-15 19:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:13:01] 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-07-15 19:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-15 19:13:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:13: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-07-15 19:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":133703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":133703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":133703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:13:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735460608001,"66":13156,"120":206,"28":31744,"24":45,"16":6243447929307136,"45":1773573858895816704},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735460608001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:13:01] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:13:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6243447929307136,"km_value":6243447929307.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1773573858895816704,"description":"Unknown IO ID 45"} 
[2026-07-15 19:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735460608001,"power":13156,"unknown_120":206,"unknown_28":31744,"ignition":45,"odometer":null,"unknown_45":1773573858895816704}} 
[2026-07-15 19:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":133703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:13:01] local.INFO: GPS data processed {"connection_id":133703,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:13:01] local.INFO: Acknowledgment sent {"connection_id":133703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:13:03] local.INFO: TCP Data received {"connection_id":133703,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66032530012d1873c007222920005a00d429..."} 
[2026-07-15 19:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66032530012d1873c007222920005a00d429..."} 
[2026-07-15 19:13:03] local.INFO: Processing buffer {"connection_id":133703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66032530012d1873c007222920005a00d429..."} 
[2026-07-15 19:13:03] local.INFO: Packet analysis {"connection_id":133703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6603"} 
[2026-07-15 19:13:03] local.INFO: Extracted packet for processing {"connection_id":133703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6603"} 
[2026-07-15 19:13:03] local.INFO: GPS Element Parsed {"raw_longitude":756577216,"raw_latitude":119679264,"longitude_deg":75.6577216,"latitude_deg":11.9679264,"altitude":90,"angle":212,"satellites":41,"speed":47,"hex_longitude":"2d1873c0","hex_latitude":"07222920","is_valid_coordinates":true} 
[2026-07-15 19:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735462912001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6243903195840512,"note":"Value kept but may cause issues"} 
[2026-07-15 19:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1767733253126989824,"note":"Value kept but may cause issues"} 
[2026-07-15 19:13:03] 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-07-15 19:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784122910000,"timestamp_ms":1784122910000,"timestamp_seconds":1784122910,"priority":1,"record_length":96,"hex_timestamp":"0000019f66032530"} 
[2026-07-15 19:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-07-15 19:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:13:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":133703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":133703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":133703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735462912001,"66":12667,"120":206,"28":31744,"24":47,"16":6243903195840512,"45":1767733253126989824},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735462912001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:13:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:13:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6243903195840512,"km_value":6243903195840.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1767733253126989824,"description":"Unknown IO ID 45"} 
[2026-07-15 19:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735462912001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":47,"odometer":null,"unknown_45":1767733253126989824}} 
[2026-07-15 19:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":133703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:13:03] local.INFO: GPS data processed {"connection_id":133703,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:13:03] local.INFO: Acknowledgment sent {"connection_id":133703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:13:11] local.INFO: TCP Data received {"connection_id":135069,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:13:11] local.INFO: Processing buffer {"connection_id":135069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:13:11] local.INFO: IMEI packet received {"connection_id":135069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":135069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:13:20] local.INFO: TCP Data received {"connection_id":135069,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f660094f0012d7eddc005c67ca00007011a2c..."} 
[2026-07-15 19:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f660094f0012d7eddc005c67ca00007011a2c..."} 
[2026-07-15 19:13:20] local.INFO: Processing buffer {"connection_id":135069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f660094f0012d7eddc005c67ca00007011a2c..."} 
[2026-07-15 19:13:20] local.INFO: Packet analysis {"connection_id":135069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6600"} 
[2026-07-15 19:13:20] local.INFO: Extracted packet for processing {"connection_id":135069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6600"} 
[2026-07-15 19:13:20] local.INFO: GPS Element Parsed {"raw_longitude":763289024,"raw_latitude":96894112,"longitude_deg":76.3289024,"latitude_deg":9.6894112,"altitude":7,"angle":282,"satellites":44,"speed":13,"hex_longitude":"2d7eddc0","hex_latitude":"05c67ca0","is_valid_coordinates":true} 
[2026-07-15 19:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735421184001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347320527620145152,"note":"Value kept but may cause issues"} 
[2026-07-15 19:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9142799849576151040,"note":"Value kept but may cause issues"} 
[2026-07-15 19:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1784122742000,"timestamp_ms":1784122742000,"timestamp_seconds":1784122742,"priority":1,"record_length":96,"hex_timestamp":"0000019f660094f0"} 
[2026-07-15 19:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-15 19:13:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:13:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":135069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":135069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":135069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:13: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-07-15 19:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735421184001,"66":27647,"89":206,"85":12288,"24":13,"16":347320527620145152,"45":9142799849576151040},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-07-15 19:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735421184001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:13:20] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-15 19:13:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347320527620145152,"km_value":347320527620145.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9142799849576151040,"description":"Unknown IO ID 45"} 
[2026-07-15 19:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735421184001,"power":27647,"unknown_89":206,"unknown_85":12288,"ignition":13,"odometer":null,"unknown_45":9142799849576151040}} 
[2026-07-15 19:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":135069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:13:20] local.INFO: GPS data processed {"connection_id":135069,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:13:20] local.INFO: Acknowledgment sent {"connection_id":135069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:13:34] local.INFO: TCP Data received {"connection_id":133703,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66034c40012d185f4007220a80005400d829..."} 
[2026-07-15 19:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66034c40012d185f4007220a80005400d829..."} 
[2026-07-15 19:13:34] local.INFO: Processing buffer {"connection_id":133703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66034c40012d185f4007220a80005400d829..."} 
[2026-07-15 19:13:34] local.INFO: Packet analysis {"connection_id":133703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6603"} 
[2026-07-15 19:13:34] local.INFO: Extracted packet for processing {"connection_id":133703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6603"} 
[2026-07-15 19:13:34] local.INFO: GPS Element Parsed {"raw_longitude":756571968,"raw_latitude":119671424,"longitude_deg":75.6571968,"latitude_deg":11.9671424,"altitude":84,"angle":216,"satellites":41,"speed":25,"hex_longitude":"2d185f40","hex_latitude":"07220a80","is_valid_coordinates":true} 
[2026-07-15 19:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735464960001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6244358462373888,"note":"Value kept but may cause issues"} 
[2026-07-15 19:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761963016102420480,"note":"Value kept but may cause issues"} 
[2026-07-15 19:13:34] 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-07-15 19:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784122920000,"timestamp_ms":1784122920000,"timestamp_seconds":1784122920,"priority":1,"record_length":96,"hex_timestamp":"0000019f66034c40"} 
[2026-07-15 19:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:13:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-15 19:13:34] 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-07-15 19:13:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":133703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":133703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":133703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735464960001,"66":13102,"120":206,"28":31744,"24":25,"16":6244358462373888,"45":1761963016102420480},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735464960001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:13:34] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:13:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6244358462373888,"km_value":6244358462373.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761963016102420480,"description":"Unknown IO ID 45"} 
[2026-07-15 19:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735464960001,"power":13102,"unknown_120":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1761963016102420480}} 
[2026-07-15 19:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":133703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:13:34] local.INFO: GPS data processed {"connection_id":133703,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:13:34] local.INFO: Acknowledgment sent {"connection_id":133703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:13:50] local.INFO: TCP Data received {"connection_id":132676,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:13:50] local.INFO: Processing buffer {"connection_id":132676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:13:50] local.INFO: IMEI packet received {"connection_id":132676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":132676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:13:55] local.INFO: TCP Data received {"connection_id":132676,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:13:55] local.INFO: Processing buffer {"connection_id":132676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:13:55] local.INFO: IMEI packet received {"connection_id":132676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":132676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:13:56] local.INFO: TCP Data received {"connection_id":132676,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f660357f8012d185bc007220550005300cb23..."} 
[2026-07-15 19:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f660357f8012d185bc007220550005300cb23..."} 
[2026-07-15 19:13:56] local.INFO: Processing buffer {"connection_id":132676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f660357f8012d185bc007220550005300cb23..."} 
[2026-07-15 19:13:56] local.INFO: Packet analysis {"connection_id":132676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6603"} 
[2026-07-15 19:13:56] local.INFO: Extracted packet for processing {"connection_id":132676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6603"} 
[2026-07-15 19:13:56] local.INFO: GPS Element Parsed {"raw_longitude":756571072,"raw_latitude":119670096,"longitude_deg":75.6571072,"latitude_deg":11.9670096,"altitude":83,"angle":203,"satellites":35,"speed":17,"hex_longitude":"2d185bc0","hex_latitude":"07220550","is_valid_coordinates":true} 
[2026-07-15 19:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735467520001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6244435771785216,"note":"Value kept but may cause issues"} 
[2026-07-15 19:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1756192779077844992,"note":"Value kept but may cause issues"} 
[2026-07-15 19:13: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-07-15 19:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784122923000,"timestamp_ms":1784122923000,"timestamp_seconds":1784122923,"priority":1,"record_length":96,"hex_timestamp":"0000019f660357f8"} 
[2026-07-15 19:13:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:13:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-15 19:13:56] 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-07-15 19:13:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:13:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:13:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735467520001,"66":13124,"120":206,"28":31744,"24":17,"16":6244435771785216,"45":1756192779077844992},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735467520001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:13:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:13:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6244435771785216,"km_value":6244435771785.216,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1756192779077844992,"description":"Unknown IO ID 45"} 
[2026-07-15 19:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735467520001,"power":13124,"unknown_120":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1756192779077844992}} 
[2026-07-15 19:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":132676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:13:57] local.INFO: GPS data processed {"connection_id":132676,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:13:57] local.INFO: Acknowledgment sent {"connection_id":132676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:14:01] local.INFO: TCP Data received {"connection_id":132677,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:14:01] local.INFO: Processing buffer {"connection_id":132677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:14:01] local.INFO: IMEI packet received {"connection_id":132677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":132677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:14:01] local.INFO: TCP Data received {"connection_id":132676,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6603aa00012d18594007220040005300c628..."} 
[2026-07-15 19:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6603aa00012d18594007220040005300c628..."} 
[2026-07-15 19:14:01] local.INFO: Processing buffer {"connection_id":132676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6603aa00012d18594007220040005300c628..."} 
[2026-07-15 19:14:01] local.INFO: Packet analysis {"connection_id":132676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6603"} 
[2026-07-15 19:14:01] local.INFO: Extracted packet for processing {"connection_id":132676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6603"} 
[2026-07-15 19:14:01] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119668800,"longitude_deg":75.6570432,"latitude_deg":11.96688,"altitude":83,"angle":198,"satellites":40,"speed":0,"hex_longitude":"2d185940","hex_latitude":"07220040","is_valid_coordinates":true} 
[2026-07-15 19:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735468288001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6244504491261952,"note":"Value kept but may cause issues"} 
[2026-07-15 19:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755207616659017728,"note":"Value kept but may cause issues"} 
[2026-07-15 19:14:01] 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-07-15 19:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784122944000,"timestamp_ms":1784122944000,"timestamp_seconds":1784122944,"priority":1,"record_length":96,"hex_timestamp":"0000019f6603aa00"} 
[2026-07-15 19:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:14:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-15 19:14:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:14:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":132676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":132676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":132676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:14:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735468288001,"66":12156,"120":206,"28":31744,"24":0,"16":6244504491261952,"45":1755207616659017728},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735468288001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:14:01] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:14:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6244504491261952,"km_value":6244504491261.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755207616659017728,"description":"Unknown IO ID 45"} 
[2026-07-15 19:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735468288001,"power":12156,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1755207616659017728}} 
[2026-07-15 19:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":132676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:14:01] local.INFO: GPS data processed {"connection_id":132676,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:14:01] local.INFO: Acknowledgment sent {"connection_id":132676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:14:06] local.INFO: TCP Data received {"connection_id":132677,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:14:06] local.INFO: Processing buffer {"connection_id":132677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:14:06] local.INFO: IMEI packet received {"connection_id":132677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":132677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:14:07] local.INFO: TCP Data received {"connection_id":132677,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f660094f0012d7eddc005c67ca00007011a2c..."} 
[2026-07-15 19:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f660094f0012d7eddc005c67ca00007011a2c..."} 
[2026-07-15 19:14:07] local.INFO: Processing buffer {"connection_id":132677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f660094f0012d7eddc005c67ca00007011a2c..."} 
[2026-07-15 19:14:07] local.INFO: Packet analysis {"connection_id":132677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6600"} 
[2026-07-15 19:14:07] local.INFO: Extracted packet for processing {"connection_id":132677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6600"} 
[2026-07-15 19:14:07] local.INFO: GPS Element Parsed {"raw_longitude":763289024,"raw_latitude":96894112,"longitude_deg":76.3289024,"latitude_deg":9.6894112,"altitude":7,"angle":282,"satellites":44,"speed":13,"hex_longitude":"2d7eddc0","hex_latitude":"05c67ca0","is_valid_coordinates":true} 
[2026-07-15 19:14:07] 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-07-15 19:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735421952001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347320527620145152,"note":"Value kept but may cause issues"} 
[2026-07-15 19:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9141673949669400576,"note":"Value kept but may cause issues"} 
[2026-07-15 19:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784122742000,"timestamp_ms":1784122742000,"timestamp_seconds":1784122742,"priority":1,"record_length":96,"hex_timestamp":"0000019f660094f0"} 
[2026-07-15 19:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-15 19:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":3028,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19: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-07-15 19:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735421952001,"66":27647,"89":206,"85":12288,"24":13,"16":347320527620145152,"45":9141673949669400576},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-07-15 19:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735421952001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:14:07] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-15 19:14:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347320527620145152,"km_value":347320527620145.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9141673949669400576,"description":"Unknown IO ID 45"} 
[2026-07-15 19:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735421952001,"power":27647,"unknown_89":206,"unknown_85":12288,"ignition":13,"odometer":null,"unknown_45":9141673949669400576}} 
[2026-07-15 19:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":132677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:14:07] local.INFO: GPS data processed {"connection_id":132677,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:14:07] local.INFO: Acknowledgment sent {"connection_id":132677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:14:32] local.INFO: TCP Data received {"connection_id":132676,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6603fc08012d18594007220040005300c629..."} 
[2026-07-15 19:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6603fc08012d18594007220040005300c629..."} 
[2026-07-15 19:14:32] local.INFO: Processing buffer {"connection_id":132676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6603fc08012d18594007220040005300c629..."} 
[2026-07-15 19:14:32] local.INFO: Packet analysis {"connection_id":132676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6603"} 
[2026-07-15 19:14:32] local.INFO: Extracted packet for processing {"connection_id":132676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6603"} 
[2026-07-15 19:14:32] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119668800,"longitude_deg":75.6570432,"latitude_deg":11.96688,"altitude":83,"angle":198,"satellites":41,"speed":0,"hex_longitude":"2d185940","hex_latitude":"07220040","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735473664001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6244504491261952,"note":"Value kept but may cause issues"} 
[2026-07-15 19:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929216909312,"note":"Value kept but may cause issues"} 
[2026-07-15 19:14:32] 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-07-15 19:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784122965000,"timestamp_ms":1784122965000,"timestamp_seconds":1784122965,"priority":1,"record_length":96,"hex_timestamp":"0000019f6603fc08"} 
[2026-07-15 19:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:14:32] 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-07-15 19:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-15 19:14:32] 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-07-15 19: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-07-15 19:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":132676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":132676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":132676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735473664001,"66":13059,"120":206,"28":31744,"24":0,"16":6244504491261952,"45":1754503929216909312},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735473664001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:14:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:14:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6244504491261952,"km_value":6244504491261.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929216909312,"description":"Unknown IO ID 45"} 
[2026-07-15 19:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735473664001,"power":13059,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754503929216909312}} 
[2026-07-15 19:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":132676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:14:32] local.INFO: GPS data processed {"connection_id":132676,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:14:32] local.INFO: Acknowledgment sent {"connection_id":132676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:14:41] local.INFO: TCP Data received {"connection_id":132677,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f66009cc0012d7edb8005c67d700007012a2c..."} 
[2026-07-15 19:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66009cc0012d7edb8005c67d700007012a2c..."} 
[2026-07-15 19:14:41] local.INFO: Processing buffer {"connection_id":132677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66009cc0012d7edb8005c67d700007012a2c..."} 
[2026-07-15 19:14:41] local.INFO: Packet analysis {"connection_id":132677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6600"} 
[2026-07-15 19:14:41] local.INFO: Extracted packet for processing {"connection_id":132677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6600"} 
[2026-07-15 19:14:41] local.INFO: GPS Element Parsed {"raw_longitude":763288448,"raw_latitude":96894320,"longitude_deg":76.3288448,"latitude_deg":9.689432,"altitude":7,"angle":298,"satellites":44,"speed":12,"hex_longitude":"2d7edb80","hex_latitude":"05c67d70","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735421952001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347320527620145152,"note":"Value kept but may cause issues"} 
[2026-07-15 19:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9141673949669400576,"note":"Value kept but may cause issues"} 
[2026-07-15 19:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784122744000,"timestamp_ms":1784122744000,"timestamp_seconds":1784122744,"priority":1,"record_length":96,"hex_timestamp":"0000019f66009cc0"} 
[2026-07-15 19:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 19: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":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-15 19:14:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":3028,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19: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-07-15 19:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:14:41] 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-07-15 19:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735421952001,"66":27441,"89":206,"85":12288,"24":12,"16":347320527620145152,"45":9141673949669400576},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-07-15 19:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735421952001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:14:41] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-15 19:14:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347320527620145152,"km_value":347320527620145.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9141673949669400576,"description":"Unknown IO ID 45"} 
[2026-07-15 19:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735421952001,"power":27441,"unknown_89":206,"unknown_85":12288,"ignition":12,"odometer":null,"unknown_45":9141673949669400576}} 
[2026-07-15 19:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":132677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:14:41] local.INFO: GPS data processed {"connection_id":132677,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:14:41] local.INFO: Acknowledgment sent {"connection_id":132677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:14:47] local.INFO: TCP Data received {"connection_id":132854,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:14:47] local.INFO: Processing buffer {"connection_id":132854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:14:47] local.INFO: IMEI packet received {"connection_id":132854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":132854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:14:50] local.INFO: TCP Data received {"connection_id":132854,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:14:50] local.INFO: Processing buffer {"connection_id":132854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:14:50] local.INFO: IMEI packet received {"connection_id":132854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":132854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:14:55] local.INFO: TCP Data received {"connection_id":132854,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:14:55] local.INFO: Processing buffer {"connection_id":132854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:14:55] local.INFO: IMEI packet received {"connection_id":132854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":132854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:14:56] local.INFO: TCP Data received {"connection_id":132854,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66044e10012d18594007220040005300c627..."} 
[2026-07-15 19:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66044e10012d18594007220040005300c627..."} 
[2026-07-15 19:14:56] local.INFO: Processing buffer {"connection_id":132854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66044e10012d18594007220040005300c627..."} 
[2026-07-15 19:14:56] local.INFO: Packet analysis {"connection_id":132854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6604"} 
[2026-07-15 19:14:56] local.INFO: Extracted packet for processing {"connection_id":132854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6604"} 
[2026-07-15 19:14:56] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119668800,"longitude_deg":75.6570432,"latitude_deg":11.96688,"altitude":83,"angle":198,"satellites":39,"speed":0,"hex_longitude":"2d185940","hex_latitude":"07220040","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735479040001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6244504491261952,"note":"Value kept but may cause issues"} 
[2026-07-15 19:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929216909312,"note":"Value kept but may cause issues"} 
[2026-07-15 19:14: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-07-15 19:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784122986000,"timestamp_ms":1784122986000,"timestamp_seconds":1784122986,"priority":1,"record_length":96,"hex_timestamp":"0000019f66044e10"} 
[2026-07-15 19:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:14:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-15 19:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303166099869159,"note":"Value kept but may cause issues"} 
[2026-07-15 19:14:56] local.WARNING: Large IO value detected {"io_id":120,"raw_value":58015164105490470,"note":"Value kept but may cause issues"} 
[2026-07-15 19:14:56] local.WARNING: Large IO value detected {"io_id":5,"raw_value":4026608920,"note":"Value kept but may cause issues"} 
[2026-07-15 19:14:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-15 19:14:56] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,120,28,24,241,158,16,47,159,170,45,64,83,40,10,66,87,192,5,35,76,1,240,46,102,34,4,113,205,136,168,37,239,51,2,22,7,106,38],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-15 19:14:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5980998184543977472,"timestamp_seconds":5980998184543977.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 19:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:14:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735479040001,"66":13048,"120":206,"28":31744,"24":0,"16":6244504491261952,"45":1754503929216909312},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735479040001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:14:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:14:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6244504491261952,"km_value":6244504491261.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929216909312,"description":"Unknown IO ID 45"} 
[2026-07-15 19:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735479040001,"power":13048,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754503929216909312}} 
[2026-07-15 19:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":132854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:14:56] local.INFO: GPS data processed {"connection_id":132854,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:14:56] local.INFO: Acknowledgment sent {"connection_id":132854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:15:05] local.INFO: TCP Data received {"connection_id":133705,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:15:05] local.INFO: Processing buffer {"connection_id":133705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:15:05] local.INFO: IMEI packet received {"connection_id":133705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":133705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:15:11] local.INFO: TCP Data received {"connection_id":133705,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:15:11] local.INFO: Processing buffer {"connection_id":133705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:15:11] local.INFO: IMEI packet received {"connection_id":133705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":133705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:15:13] local.INFO: TCP Data received {"connection_id":133705,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f6600a490012d7eda0005c67ea00007013a2d..."} 
[2026-07-15 19:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6600a490012d7eda0005c67ea00007013a2d..."} 
[2026-07-15 19:15:13] local.INFO: Processing buffer {"connection_id":133705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6600a490012d7eda0005c67ea00007013a2d..."} 
[2026-07-15 19:15:13] local.INFO: Packet analysis {"connection_id":133705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6600"} 
[2026-07-15 19:15:13] local.INFO: Extracted packet for processing {"connection_id":133705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6600"} 
[2026-07-15 19:15:13] local.INFO: GPS Element Parsed {"raw_longitude":763288064,"raw_latitude":96894624,"longitude_deg":76.3288064,"latitude_deg":9.6894624,"altitude":7,"angle":314,"satellites":45,"speed":7,"hex_longitude":"2d7eda00","hex_latitude":"05c67ea0","is_valid_coordinates":true} 
[2026-07-15 19:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735422464001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347320527620145152,"note":"Value kept but may cause issues"} 
[2026-07-15 19:15:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9141040630971854848,"note":"Value kept but may cause issues"} 
[2026-07-15 19:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784122746000,"timestamp_ms":1784122746000,"timestamp_seconds":1784122746,"priority":1,"record_length":96,"hex_timestamp":"0000019f6600a490"} 
[2026-07-15 19:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:15:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 19:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-07-15 19:15:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1174,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:15:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":133705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":133705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":133705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:15:13] 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-07-15 19:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735422464001,"66":27158,"89":206,"85":12288,"24":7,"16":347320527620145152,"45":9141040630971854848},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-07-15 19:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735422464001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:15:13] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-15 19:15:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347320527620145152,"km_value":347320527620145.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:15:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9141040630971854848,"description":"Unknown IO ID 45"} 
[2026-07-15 19:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735422464001,"power":27158,"unknown_89":206,"unknown_85":12288,"ignition":7,"odometer":null,"unknown_45":9141040630971854848}} 
[2026-07-15 19:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":133705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:15:13] local.INFO: GPS data processed {"connection_id":133705,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:15:13] local.INFO: Acknowledgment sent {"connection_id":133705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:15:28] local.INFO: TCP Data received {"connection_id":132854,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6604a018012d18594007220040005300c624..."} 
[2026-07-15 19:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6604a018012d18594007220040005300c624..."} 
[2026-07-15 19:15:28] local.INFO: Processing buffer {"connection_id":132854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6604a018012d18594007220040005300c624..."} 
[2026-07-15 19:15:28] local.INFO: Packet analysis {"connection_id":132854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6604"} 
[2026-07-15 19:15:28] local.INFO: Extracted packet for processing {"connection_id":132854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6604"} 
[2026-07-15 19:15:28] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119668800,"longitude_deg":75.6570432,"latitude_deg":11.96688,"altitude":83,"angle":198,"satellites":36,"speed":0,"hex_longitude":"2d185940","hex_latitude":"07220040","is_valid_coordinates":true} 
[2026-07-15 19:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735484416001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6244504491261952,"note":"Value kept but may cause issues"} 
[2026-07-15 19:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929216909312,"note":"Value kept but may cause issues"} 
[2026-07-15 19:15: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-07-15 19:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784123007000,"timestamp_ms":1784123007000,"timestamp_seconds":1784123007,"priority":1,"record_length":96,"hex_timestamp":"0000019f6604a018"} 
[2026-07-15 19:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:15:28] 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-07-15 19:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-15 19:15: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-07-15 19:15:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:15:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735484416001,"66":13004,"120":206,"28":31744,"24":0,"16":6244504491261952,"45":1754503929216909312},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735484416001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:15:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:15:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6244504491261952,"km_value":6244504491261.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929216909312,"description":"Unknown IO ID 45"} 
[2026-07-15 19:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735484416001,"power":13004,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754503929216909312}} 
[2026-07-15 19:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":132854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492561,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:15:28] local.INFO: GPS data processed {"connection_id":132854,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:15:28] local.INFO: Acknowledgment sent {"connection_id":132854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:15:49] local.INFO: TCP Data received {"connection_id":133705,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f66054040012d7ed90005c67f980007013a2c..."} 
[2026-07-15 19:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66054040012d7ed90005c67f980007013a2c..."} 
[2026-07-15 19:15:49] local.INFO: Processing buffer {"connection_id":133705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66054040012d7ed90005c67f980007013a2c..."} 
[2026-07-15 19:15:49] local.INFO: Packet analysis {"connection_id":133705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6605"} 
[2026-07-15 19:15:49] local.INFO: Extracted packet for processing {"connection_id":133705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6605"} 
[2026-07-15 19:15:49] local.INFO: GPS Element Parsed {"raw_longitude":763287808,"raw_latitude":96894872,"longitude_deg":76.3287808,"latitude_deg":9.6894872,"altitude":7,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2d7ed900","hex_latitude":"05c67f98","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735422976001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347320527620145152,"note":"Value kept but may cause issues"} 
[2026-07-15 19:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9140618418506866688,"note":"Value kept but may cause issues"} 
[2026-07-15 19:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1784123048000,"timestamp_ms":1784123048000,"timestamp_seconds":1784123048,"priority":1,"record_length":96,"hex_timestamp":"0000019f66054040"} 
[2026-07-15 19:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 19: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":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-15 19:15:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19: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-07-15 19:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":133705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":133705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":133705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:15:49] 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-07-15 19:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735422976001,"66":25734,"89":206,"85":12288,"24":0,"16":347320527620145152,"45":9140618418506866688},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-07-15 19:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735422976001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:15:49] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-15 19:15:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347320527620145152,"km_value":347320527620145.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9140618418506866688,"description":"Unknown IO ID 45"} 
[2026-07-15 19:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735422976001,"power":25734,"unknown_89":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9140618418506866688}} 
[2026-07-15 19:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":133705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:15:49] local.INFO: GPS data processed {"connection_id":133705,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:15:49] local.INFO: Acknowledgment sent {"connection_id":133705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:15:50] local.INFO: TCP Data received {"connection_id":135071,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:15:50] local.INFO: Processing buffer {"connection_id":135071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:15:50] local.INFO: IMEI packet received {"connection_id":135071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":135071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:15:51] local.INFO: TCP Data received {"connection_id":135071,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:15:51] local.INFO: Processing buffer {"connection_id":135071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:15:51] local.INFO: IMEI packet received {"connection_id":135071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":135071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:15:55] local.INFO: TCP Data received {"connection_id":135071,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:15:55] local.INFO: Processing buffer {"connection_id":135071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:15:55] local.INFO: IMEI packet received {"connection_id":135071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":135071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:15:56] local.INFO: TCP Data received {"connection_id":135071,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6604f220012d18594007220040005300c628..."} 
[2026-07-15 19:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6604f220012d18594007220040005300c628..."} 
[2026-07-15 19:15:56] local.INFO: Processing buffer {"connection_id":135071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6604f220012d18594007220040005300c628..."} 
[2026-07-15 19:15:56] local.INFO: Packet analysis {"connection_id":135071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6604"} 
[2026-07-15 19:15:56] local.INFO: Extracted packet for processing {"connection_id":135071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6604"} 
[2026-07-15 19:15:56] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119668800,"longitude_deg":75.6570432,"latitude_deg":11.96688,"altitude":83,"angle":198,"satellites":40,"speed":0,"hex_longitude":"2d185940","hex_latitude":"07220040","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735489792001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6244504491261952,"note":"Value kept but may cause issues"} 
[2026-07-15 19:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929216909312,"note":"Value kept but may cause issues"} 
[2026-07-15 19:15: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-07-15 19:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784123028000,"timestamp_ms":1784123028000,"timestamp_seconds":1784123028,"priority":1,"record_length":96,"hex_timestamp":"0000019f6604f220"} 
[2026-07-15 19:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:15:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":204,"data_length":795,"current_offset":136} 
[2026-07-15 19:15:56] 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-07-15 19: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-07-15 19:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":135071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":135071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":135071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735489792001,"66":12993,"120":206,"28":31744,"24":0,"16":6244504491261952,"45":1754503929216909312},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735489792001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:15:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:15:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6244504491261952,"km_value":6244504491261.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929216909312,"description":"Unknown IO ID 45"} 
[2026-07-15 19:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735489792001,"power":12993,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754503929216909312}} 
[2026-07-15 19:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":135071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:15:56] local.INFO: GPS data processed {"connection_id":135071,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:15:56] local.INFO: Acknowledgment sent {"connection_id":135071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:16:05] local.INFO: TCP Data received {"connection_id":135072,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:16:05] local.INFO: Processing buffer {"connection_id":135072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:16:05] local.INFO: IMEI packet received {"connection_id":135072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":135072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:16:12] local.INFO: TCP Data received {"connection_id":135072,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:16:12] local.INFO: Processing buffer {"connection_id":135072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:16:12] local.INFO: IMEI packet received {"connection_id":135072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":135072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:16:22] local.INFO: TCP Data received {"connection_id":135072,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f66054040012d7ed90005c67f980007013a2c..."} 
[2026-07-15 19:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66054040012d7ed90005c67f980007013a2c..."} 
[2026-07-15 19:16:22] local.INFO: Processing buffer {"connection_id":135072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66054040012d7ed90005c67f980007013a2c..."} 
[2026-07-15 19:16:22] local.INFO: Packet analysis {"connection_id":135072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6605"} 
[2026-07-15 19:16:22] local.INFO: Extracted packet for processing {"connection_id":135072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6605"} 
[2026-07-15 19:16:22] local.INFO: GPS Element Parsed {"raw_longitude":763287808,"raw_latitude":96894872,"longitude_deg":76.3287808,"latitude_deg":9.6894872,"altitude":7,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2d7ed900","hex_latitude":"05c67f98","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735422976001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347320527620145152,"note":"Value kept but may cause issues"} 
[2026-07-15 19:16:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9140618418506866688,"note":"Value kept but may cause issues"} 
[2026-07-15 19:16:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784123048000,"timestamp_ms":1784123048000,"timestamp_seconds":1784123048,"priority":1,"record_length":96,"hex_timestamp":"0000019f66054040"} 
[2026-07-15 19:16:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:16:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 19: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":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-15 19:16:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19: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-07-15 19:16:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":135072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":135072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":135072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:16:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735422976001,"66":25734,"89":206,"85":12288,"24":0,"16":347320527620145152,"45":9140618418506866688},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-07-15 19:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735422976001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:16:22] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-15 19:16:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347320527620145152,"km_value":347320527620145.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:16:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9140618418506866688,"description":"Unknown IO ID 45"} 
[2026-07-15 19:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735422976001,"power":25734,"unknown_89":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9140618418506866688}} 
[2026-07-15 19:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":135072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:16:22] local.INFO: GPS data processed {"connection_id":135072,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:16:22] local.INFO: Acknowledgment sent {"connection_id":135072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:16:27] local.INFO: TCP Data received {"connection_id":135071,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66054428012d18594007220040005300c625..."} 
[2026-07-15 19:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66054428012d18594007220040005300c625..."} 
[2026-07-15 19:16:27] local.INFO: Processing buffer {"connection_id":135071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66054428012d18594007220040005300c625..."} 
[2026-07-15 19:16:27] local.INFO: Packet analysis {"connection_id":135071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6605"} 
[2026-07-15 19:16:27] local.INFO: Extracted packet for processing {"connection_id":135071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6605"} 
[2026-07-15 19:16:27] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119668800,"longitude_deg":75.6570432,"latitude_deg":11.96688,"altitude":83,"angle":198,"satellites":37,"speed":0,"hex_longitude":"2d185940","hex_latitude":"07220040","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735495168001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6244504491261952,"note":"Value kept but may cause issues"} 
[2026-07-15 19:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929216909312,"note":"Value kept but may cause issues"} 
[2026-07-15 19:16:27] 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-07-15 19:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784123049000,"timestamp_ms":1784123049000,"timestamp_seconds":1784123049,"priority":1,"record_length":96,"hex_timestamp":"0000019f66054428"} 
[2026-07-15 19:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:16:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-15 19:16:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19: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-07-15 19:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":135071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":135071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":135071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735495168001,"66":12917,"120":206,"28":31744,"24":0,"16":6244504491261952,"45":1754503929216909312},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735495168001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:16:27] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:16:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6244504491261952,"km_value":6244504491261.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929216909312,"description":"Unknown IO ID 45"} 
[2026-07-15 19:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735495168001,"power":12917,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754503929216909312}} 
[2026-07-15 19:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":135071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:16:27] local.INFO: GPS data processed {"connection_id":135071,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:16:27] local.INFO: Acknowledgment sent {"connection_id":135071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:16:50] local.INFO: TCP Data received {"connection_id":133706,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:16:50] local.INFO: Processing buffer {"connection_id":133706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:16:50] local.INFO: IMEI packet received {"connection_id":133706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":133706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:16:53] local.INFO: TCP Data received {"connection_id":133706,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:16:53] local.INFO: Processing buffer {"connection_id":133706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:16:53] local.INFO: IMEI packet received {"connection_id":133706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":133706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:16:54] local.INFO: TCP Data received {"connection_id":133706,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66059630012d18594007220040005300c626..."} 
[2026-07-15 19:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66059630012d18594007220040005300c626..."} 
[2026-07-15 19:16:54] local.INFO: Processing buffer {"connection_id":133706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66059630012d18594007220040005300c626..."} 
[2026-07-15 19:16:54] local.INFO: Packet analysis {"connection_id":133706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6605"} 
[2026-07-15 19:16:54] local.INFO: Extracted packet for processing {"connection_id":133706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6605"} 
[2026-07-15 19:16:54] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119668800,"longitude_deg":75.6570432,"latitude_deg":11.96688,"altitude":83,"angle":198,"satellites":38,"speed":0,"hex_longitude":"2d185940","hex_latitude":"07220040","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735500544001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6244504491261952,"note":"Value kept but may cause issues"} 
[2026-07-15 19:16:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929216909312,"note":"Value kept but may cause issues"} 
[2026-07-15 19:16:54] 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-07-15 19:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784123070000,"timestamp_ms":1784123070000,"timestamp_seconds":1784123070,"priority":1,"record_length":96,"hex_timestamp":"0000019f66059630"} 
[2026-07-15 19:16:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:16:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-15 19:16:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19: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-07-15 19:16:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":133706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":133706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":133706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:16:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735500544001,"66":12928,"120":206,"28":31744,"24":0,"16":6244504491261952,"45":1754503929216909312},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735500544001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:16:54] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:16:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6244504491261952,"km_value":6244504491261.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:16:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929216909312,"description":"Unknown IO ID 45"} 
[2026-07-15 19:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735500544001,"power":12928,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754503929216909312}} 
[2026-07-15 19:16:54] local.INFO: DEBUG: GPS processor result {"connection_id":133706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:16:54] local.INFO: GPS data processed {"connection_id":133706,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:16:54] local.INFO: Acknowledgment sent {"connection_id":133706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:17:09] local.INFO: TCP Data received {"connection_id":135073,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:17:09] local.INFO: Processing buffer {"connection_id":135073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:17:09] local.INFO: IMEI packet received {"connection_id":135073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":135073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:17:09] local.INFO: TCP Data received {"connection_id":132855,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132855,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:17:09] local.INFO: Processing buffer {"connection_id":132855,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:17:09] local.INFO: IMEI packet received {"connection_id":132855,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 19:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":132855,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:17:10] local.INFO: TCP Data received {"connection_id":135073,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:17:10] local.INFO: Processing buffer {"connection_id":135073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:17:10] local.INFO: IMEI packet received {"connection_id":135073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":135073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:17:12] local.INFO: TCP Data received {"connection_id":135073,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f66054040012d7ed90005c67f980007013a2c..."} 
[2026-07-15 19:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66054040012d7ed90005c67f980007013a2c..."} 
[2026-07-15 19:17:12] local.INFO: Processing buffer {"connection_id":135073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66054040012d7ed90005c67f980007013a2c..."} 
[2026-07-15 19:17:12] local.INFO: Packet analysis {"connection_id":135073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6605"} 
[2026-07-15 19:17:12] local.INFO: Extracted packet for processing {"connection_id":135073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6605"} 
[2026-07-15 19:17:12] local.INFO: GPS Element Parsed {"raw_longitude":763287808,"raw_latitude":96894872,"longitude_deg":76.3287808,"latitude_deg":9.6894872,"altitude":7,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2d7ed900","hex_latitude":"05c67f98","is_valid_coordinates":true} 
[2026-07-15 19:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735422976001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347320527620145152,"note":"Value kept but may cause issues"} 
[2026-07-15 19:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9140618418506866688,"note":"Value kept but may cause issues"} 
[2026-07-15 19:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784123048000,"timestamp_ms":1784123048000,"timestamp_seconds":1784123048,"priority":1,"record_length":96,"hex_timestamp":"0000019f66054040"} 
[2026-07-15 19:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 19:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-15 19:17:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":135073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":135073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":135073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735422976001,"66":25734,"89":206,"85":12288,"24":0,"16":347320527620145152,"45":9140618418506866688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-07-15 19:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735422976001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:17:12] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-15 19:17:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347320527620145152,"km_value":347320527620145.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9140618418506866688,"description":"Unknown IO ID 45"} 
[2026-07-15 19:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735422976001,"power":25734,"unknown_89":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9140618418506866688}} 
[2026-07-15 19:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":135073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:17:12] local.INFO: GPS data processed {"connection_id":135073,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:17:12] local.INFO: Acknowledgment sent {"connection_id":135073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:17:16] local.INFO: TCP Data received {"connection_id":135073,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f66054040012d7ed90005c67f980007013a2c..."} 
[2026-07-15 19:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66054040012d7ed90005c67f980007013a2c..."} 
[2026-07-15 19:17:16] local.INFO: Processing buffer {"connection_id":135073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66054040012d7ed90005c67f980007013a2c..."} 
[2026-07-15 19:17:16] local.INFO: Packet analysis {"connection_id":135073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6605"} 
[2026-07-15 19:17:16] local.INFO: Extracted packet for processing {"connection_id":135073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6605"} 
[2026-07-15 19:17:16] local.INFO: GPS Element Parsed {"raw_longitude":763287808,"raw_latitude":96894872,"longitude_deg":76.3287808,"latitude_deg":9.6894872,"altitude":7,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2d7ed900","hex_latitude":"05c67f98","is_valid_coordinates":true} 
[2026-07-15 19:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735422976001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347320527620145152,"note":"Value kept but may cause issues"} 
[2026-07-15 19:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9140618418506866688,"note":"Value kept but may cause issues"} 
[2026-07-15 19:17:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784123048000,"timestamp_ms":1784123048000,"timestamp_seconds":1784123048,"priority":1,"record_length":96,"hex_timestamp":"0000019f66054040"} 
[2026-07-15 19:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:17:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 19:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-15 19:17:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:17:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":135073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":135073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":135073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:17:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735422976001,"66":25734,"89":206,"85":12288,"24":0,"16":347320527620145152,"45":9140618418506866688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-07-15 19:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735422976001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:17:16] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-15 19:17:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347320527620145152,"km_value":347320527620145.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9140618418506866688,"description":"Unknown IO ID 45"} 
[2026-07-15 19:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735422976001,"power":25734,"unknown_89":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9140618418506866688}} 
[2026-07-15 19:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":135073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:17:16] local.INFO: GPS data processed {"connection_id":135073,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:17:16] local.INFO: Acknowledgment sent {"connection_id":135073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:17:26] local.INFO: TCP Data received {"connection_id":133706,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6605e838012d18594007220040005300c624..."} 
[2026-07-15 19:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6605e838012d18594007220040005300c624..."} 
[2026-07-15 19:17:26] local.INFO: Processing buffer {"connection_id":133706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6605e838012d18594007220040005300c624..."} 
[2026-07-15 19:17:26] local.INFO: Packet analysis {"connection_id":133706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6605"} 
[2026-07-15 19:17:26] local.INFO: Extracted packet for processing {"connection_id":133706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6605"} 
[2026-07-15 19:17:26] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119668800,"longitude_deg":75.6570432,"latitude_deg":11.96688,"altitude":83,"angle":198,"satellites":36,"speed":0,"hex_longitude":"2d185940","hex_latitude":"07220040","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735505920001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6244504491261952,"note":"Value kept but may cause issues"} 
[2026-07-15 19:17:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929216909312,"note":"Value kept but may cause issues"} 
[2026-07-15 19:17:26] 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-07-15 19:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784123091000,"timestamp_ms":1784123091000,"timestamp_seconds":1784123091,"priority":1,"record_length":96,"hex_timestamp":"0000019f6605e838"} 
[2026-07-15 19:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:17:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-07-15 19:17:26] 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-07-15 19: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-07-15 19:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":133706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":133706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":133706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:17:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735505920001,"66":12852,"120":206,"28":31744,"24":0,"16":6244504491261952,"45":1754503929216909312},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735505920001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:17:26] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:17:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6244504491261952,"km_value":6244504491261.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:17:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929216909312,"description":"Unknown IO ID 45"} 
[2026-07-15 19:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735505920001,"power":12852,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754503929216909312}} 
[2026-07-15 19:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":133706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:17:26] local.INFO: GPS data processed {"connection_id":133706,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:17:26] local.INFO: Acknowledgment sent {"connection_id":133706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:17:34] local.INFO: TCP Data received {"connection_id":132856,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132856,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:17:34] local.INFO: Processing buffer {"connection_id":132856,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:17:34] local.INFO: IMEI packet received {"connection_id":132856,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 19:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":132856,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:17:50] local.INFO: TCP Data received {"connection_id":132678,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:17:50] local.INFO: Processing buffer {"connection_id":132678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:17:50] local.INFO: IMEI packet received {"connection_id":132678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":132678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:17:55] local.INFO: TCP Data received {"connection_id":132678,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:17:55] local.INFO: Processing buffer {"connection_id":132678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:17:55] local.INFO: IMEI packet received {"connection_id":132678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":132678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:17:57] local.INFO: TCP Data received {"connection_id":132678,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66063a40012d18594007220040005300c628..."} 
[2026-07-15 19:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66063a40012d18594007220040005300c628..."} 
[2026-07-15 19:17:57] local.INFO: Processing buffer {"connection_id":132678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66063a40012d18594007220040005300c628..."} 
[2026-07-15 19:17:57] local.INFO: Packet analysis {"connection_id":132678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6606"} 
[2026-07-15 19:17:57] local.INFO: Extracted packet for processing {"connection_id":132678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6606"} 
[2026-07-15 19:17:57] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119668800,"longitude_deg":75.6570432,"latitude_deg":11.96688,"altitude":83,"angle":198,"satellites":40,"speed":0,"hex_longitude":"2d185940","hex_latitude":"07220040","is_valid_coordinates":true} 
[2026-07-15 19:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735511296001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:17:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6244504491261952,"note":"Value kept but may cause issues"} 
[2026-07-15 19:17:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929216909312,"note":"Value kept but may cause issues"} 
[2026-07-15 19:17:57] 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-07-15 19:17:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784123112000,"timestamp_ms":1784123112000,"timestamp_seconds":1784123112,"priority":1,"record_length":96,"hex_timestamp":"0000019f66063a40"} 
[2026-07-15 19:17:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:17:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-15 19:17: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-07-15 19:17:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:17:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:17:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:17:57] local.INFO: Teltonika packet parsed successfully {"connection_id":132678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:17:57] local.INFO: Passing IMEI to GPS processor {"connection_id":132678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:17:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":132678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:17:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:17:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:17:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:17:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735511296001,"66":12852,"120":206,"28":31744,"24":0,"16":6244504491261952,"45":1754503929216909312},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:17:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:17:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:17:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735511296001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:17:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:17:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:17:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6244504491261952,"km_value":6244504491261.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:17:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929216909312,"description":"Unknown IO ID 45"} 
[2026-07-15 19:17:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735511296001,"power":12852,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754503929216909312}} 
[2026-07-15 19:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":132678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:17:57] local.INFO: GPS data processed {"connection_id":132678,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:17:57] local.INFO: Acknowledgment sent {"connection_id":132678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:18:00] local.INFO: TCP Data received {"connection_id":132857,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:18:00] local.INFO: Processing buffer {"connection_id":132857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:18:00] local.INFO: IMEI packet received {"connection_id":132857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":132857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:18:06] local.INFO: TCP Data received {"connection_id":132857,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:18:06] local.INFO: Processing buffer {"connection_id":132857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:18:06] local.INFO: IMEI packet received {"connection_id":132857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":132857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:18:10] local.INFO: TCP Data received {"connection_id":132857,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f66054040012d7ed90005c67f980007013a2c..."} 
[2026-07-15 19:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66054040012d7ed90005c67f980007013a2c..."} 
[2026-07-15 19:18:10] local.INFO: Processing buffer {"connection_id":132857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66054040012d7ed90005c67f980007013a2c..."} 
[2026-07-15 19:18:10] local.INFO: Packet analysis {"connection_id":132857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6605"} 
[2026-07-15 19:18:10] local.INFO: Extracted packet for processing {"connection_id":132857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6605"} 
[2026-07-15 19:18:10] local.INFO: GPS Element Parsed {"raw_longitude":763287808,"raw_latitude":96894872,"longitude_deg":76.3287808,"latitude_deg":9.6894872,"altitude":7,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2d7ed900","hex_latitude":"05c67f98","is_valid_coordinates":true} 
[2026-07-15 19:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735422976001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347320527620145152,"note":"Value kept but may cause issues"} 
[2026-07-15 19:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9140618418506866688,"note":"Value kept but may cause issues"} 
[2026-07-15 19:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784123048000,"timestamp_ms":1784123048000,"timestamp_seconds":1784123048,"priority":1,"record_length":96,"hex_timestamp":"0000019f66054040"} 
[2026-07-15 19:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 19:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-15 19:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":132857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":132857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":132857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:18:10] 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-07-15 19:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735422976001,"66":25734,"89":206,"85":12288,"24":0,"16":347320527620145152,"45":9140618418506866688},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-07-15 19:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735422976001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:18:10] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-15 19:18:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347320527620145152,"km_value":347320527620145.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9140618418506866688,"description":"Unknown IO ID 45"} 
[2026-07-15 19:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735422976001,"power":25734,"unknown_89":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9140618418506866688}} 
[2026-07-15 19:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":132857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:18:10] local.INFO: GPS data processed {"connection_id":132857,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:18:10] local.INFO: Acknowledgment sent {"connection_id":132857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:18:28] local.INFO: TCP Data received {"connection_id":132678,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66068c48012d18594007220040005300c627..."} 
[2026-07-15 19:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66068c48012d18594007220040005300c627..."} 
[2026-07-15 19:18:28] local.INFO: Processing buffer {"connection_id":132678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66068c48012d18594007220040005300c627..."} 
[2026-07-15 19:18:28] local.INFO: Packet analysis {"connection_id":132678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6606"} 
[2026-07-15 19:18:28] local.INFO: Extracted packet for processing {"connection_id":132678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6606"} 
[2026-07-15 19:18:28] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119668800,"longitude_deg":75.6570432,"latitude_deg":11.96688,"altitude":83,"angle":198,"satellites":39,"speed":0,"hex_longitude":"2d185940","hex_latitude":"07220040","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735516672001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6244504491261952,"note":"Value kept but may cause issues"} 
[2026-07-15 19:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929216909312,"note":"Value kept but may cause issues"} 
[2026-07-15 19:18: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-07-15 19:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784123133000,"timestamp_ms":1784123133000,"timestamp_seconds":1784123133,"priority":1,"record_length":96,"hex_timestamp":"0000019f66068c48"} 
[2026-07-15 19:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:18:28] 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-07-15 19: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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-15 19:18:28] 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-07-15 19: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-07-15 19:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:18:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735516672001,"66":12841,"120":206,"28":31744,"24":0,"16":6244504491261952,"45":1754503929216909312},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735516672001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:18:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:18:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6244504491261952,"km_value":6244504491261.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929216909312,"description":"Unknown IO ID 45"} 
[2026-07-15 19:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735516672001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754503929216909312}} 
[2026-07-15 19:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":132678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:18:28] local.INFO: GPS data processed {"connection_id":132678,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:18:28] local.INFO: Acknowledgment sent {"connection_id":132678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:18:45] local.INFO: TCP Data received {"connection_id":132857,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f66054040012d7ed90005c67f980007013a2c..."} 
[2026-07-15 19:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66054040012d7ed90005c67f980007013a2c..."} 
[2026-07-15 19:18:45] local.INFO: Processing buffer {"connection_id":132857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66054040012d7ed90005c67f980007013a2c..."} 
[2026-07-15 19:18:45] local.INFO: Packet analysis {"connection_id":132857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6605"} 
[2026-07-15 19:18:45] local.INFO: Extracted packet for processing {"connection_id":132857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6605"} 
[2026-07-15 19:18:45] local.INFO: GPS Element Parsed {"raw_longitude":763287808,"raw_latitude":96894872,"longitude_deg":76.3287808,"latitude_deg":9.6894872,"altitude":7,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2d7ed900","hex_latitude":"05c67f98","is_valid_coordinates":true} 
[2026-07-15 19:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735422976001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347320527620145152,"note":"Value kept but may cause issues"} 
[2026-07-15 19:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9140618418506866688,"note":"Value kept but may cause issues"} 
[2026-07-15 19:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784123048000,"timestamp_ms":1784123048000,"timestamp_seconds":1784123048,"priority":1,"record_length":96,"hex_timestamp":"0000019f66054040"} 
[2026-07-15 19:18:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:18:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 19:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-15 19:18:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:18:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:18:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":132857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":132857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":132857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735422976001,"66":25734,"89":206,"85":12288,"24":0,"16":347320527620145152,"45":9140618418506866688},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-07-15 19:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735422976001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:18:45] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-15 19:18:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347320527620145152,"km_value":347320527620145.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9140618418506866688,"description":"Unknown IO ID 45"} 
[2026-07-15 19:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735422976001,"power":25734,"unknown_89":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9140618418506866688}} 
[2026-07-15 19:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":132857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:18:45] local.INFO: GPS data processed {"connection_id":132857,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:18:45] local.INFO: Acknowledgment sent {"connection_id":132857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:18:50] local.INFO: TCP Data received {"connection_id":132679,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:18:50] local.INFO: Processing buffer {"connection_id":132679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:18:50] local.INFO: IMEI packet received {"connection_id":132679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":132679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:18:55] local.INFO: TCP Data received {"connection_id":132679,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:18:55] local.INFO: Processing buffer {"connection_id":132679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:18:55] local.INFO: IMEI packet received {"connection_id":132679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":132679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:18:56] local.INFO: TCP Data received {"connection_id":132679,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6606de50012d18594007220040005300c624..."} 
[2026-07-15 19:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6606de50012d18594007220040005300c624..."} 
[2026-07-15 19:18:56] local.INFO: Processing buffer {"connection_id":132679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6606de50012d18594007220040005300c624..."} 
[2026-07-15 19:18:56] local.INFO: Packet analysis {"connection_id":132679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6606"} 
[2026-07-15 19:18:56] local.INFO: Extracted packet for processing {"connection_id":132679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6606"} 
[2026-07-15 19:18:56] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119668800,"longitude_deg":75.6570432,"latitude_deg":11.96688,"altitude":83,"angle":198,"satellites":36,"speed":0,"hex_longitude":"2d185940","hex_latitude":"07220040","is_valid_coordinates":true} 
[2026-07-15 19:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735522048001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6244504491261952,"note":"Value kept but may cause issues"} 
[2026-07-15 19:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929216909312,"note":"Value kept but may cause issues"} 
[2026-07-15 19:18: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-07-15 19:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784123154000,"timestamp_ms":1784123154000,"timestamp_seconds":1784123154,"priority":1,"record_length":96,"hex_timestamp":"0000019f6606de50"} 
[2026-07-15 19:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:18:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-15 19:18: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-07-15 19:18:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735522048001,"66":12841,"120":206,"28":31744,"24":0,"16":6244504491261952,"45":1754503929216909312},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735522048001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:18:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:18:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6244504491261952,"km_value":6244504491261.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929216909312,"description":"Unknown IO ID 45"} 
[2026-07-15 19:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735522048001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754503929216909312}} 
[2026-07-15 19:18:57] local.INFO: DEBUG: GPS processor result {"connection_id":132679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492574,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:18:57] local.INFO: GPS data processed {"connection_id":132679,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:18:57] local.INFO: Acknowledgment sent {"connection_id":132679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:19:05] local.INFO: TCP Data received {"connection_id":133707,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:19:05] local.INFO: Processing buffer {"connection_id":133707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:19:05] local.INFO: IMEI packet received {"connection_id":133707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":133707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:19:10] local.INFO: TCP Data received {"connection_id":133707,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:19:10] local.INFO: Processing buffer {"connection_id":133707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:19:10] local.INFO: IMEI packet received {"connection_id":133707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":133707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:19:11] local.INFO: TCP Data received {"connection_id":133707,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f66092070012d7ed90005c67f980007013a29..."} 
[2026-07-15 19:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66092070012d7ed90005c67f980007013a29..."} 
[2026-07-15 19:19:11] local.INFO: Processing buffer {"connection_id":133707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66092070012d7ed90005c67f980007013a29..."} 
[2026-07-15 19:19:11] local.INFO: Packet analysis {"connection_id":133707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6609"} 
[2026-07-15 19:19:11] local.INFO: Extracted packet for processing {"connection_id":133707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6609"} 
[2026-07-15 19:19:11] local.INFO: GPS Element Parsed {"raw_longitude":763287808,"raw_latitude":96894872,"longitude_deg":76.3287808,"latitude_deg":9.6894872,"altitude":7,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2d7ed900","hex_latitude":"05c67f98","is_valid_coordinates":true} 
[2026-07-15 19:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735500288001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347320527620145152,"note":"Value kept but may cause issues"} 
[2026-07-15 19:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9140336943530219520,"note":"Value kept but may cause issues"} 
[2026-07-15 19:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784123302000,"timestamp_ms":1784123302000,"timestamp_seconds":1784123302,"priority":1,"record_length":96,"hex_timestamp":"0000019f66092070"} 
[2026-07-15 19:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 19:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-15 19:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":133707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":133707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":133707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:19:11] 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-07-15 19:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735500288001,"66":25604,"89":206,"85":12288,"24":0,"16":347320527620145152,"45":9140336943530219520},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-07-15 19:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735500288001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:19:11] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-15 19:19:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347320527620145152,"km_value":347320527620145.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9140336943530219520,"description":"Unknown IO ID 45"} 
[2026-07-15 19:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735500288001,"power":25604,"unknown_89":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9140336943530219520}} 
[2026-07-15 19:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":133707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:19:11] local.INFO: GPS data processed {"connection_id":133707,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:19:11] local.INFO: Acknowledgment sent {"connection_id":133707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:19:28] local.INFO: TCP Data received {"connection_id":132679,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66073058012d18594007220040005300c629..."} 
[2026-07-15 19:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66073058012d18594007220040005300c629..."} 
[2026-07-15 19:19:28] local.INFO: Processing buffer {"connection_id":132679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66073058012d18594007220040005300c629..."} 
[2026-07-15 19:19:28] local.INFO: Packet analysis {"connection_id":132679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6607"} 
[2026-07-15 19:19:28] local.INFO: Extracted packet for processing {"connection_id":132679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6607"} 
[2026-07-15 19:19:28] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119668800,"longitude_deg":75.6570432,"latitude_deg":11.96688,"altitude":83,"angle":198,"satellites":41,"speed":0,"hex_longitude":"2d185940","hex_latitude":"07220040","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735527424001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6244504491261952,"note":"Value kept but may cause issues"} 
[2026-07-15 19:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929216909312,"note":"Value kept but may cause issues"} 
[2026-07-15 19:19: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-07-15 19:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784123175000,"timestamp_ms":1784123175000,"timestamp_seconds":1784123175,"priority":1,"record_length":96,"hex_timestamp":"0000019f66073058"} 
[2026-07-15 19:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:19:28] 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-07-15 19: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-15 19:19:28] 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-07-15 19: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-07-15 19:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735527424001,"66":12776,"120":206,"28":31744,"24":0,"16":6244504491261952,"45":1754503929216909312},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735527424001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:19:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:19:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6244504491261952,"km_value":6244504491261.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929216909312,"description":"Unknown IO ID 45"} 
[2026-07-15 19:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735527424001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754503929216909312}} 
[2026-07-15 19:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":132679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:19:28] local.INFO: GPS data processed {"connection_id":132679,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:19:28] local.INFO: Acknowledgment sent {"connection_id":132679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:19:42] local.INFO: TCP Data received {"connection_id":133707,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f66098600012d7ed8c005c67f880007013a2a..."} 
[2026-07-15 19:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66098600012d7ed8c005c67f880007013a2a..."} 
[2026-07-15 19:19:42] local.INFO: Processing buffer {"connection_id":133707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66098600012d7ed8c005c67f880007013a2a..."} 
[2026-07-15 19:19:42] local.INFO: Packet analysis {"connection_id":133707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6609"} 
[2026-07-15 19:19:42] local.INFO: Extracted packet for processing {"connection_id":133707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6609"} 
[2026-07-15 19:19:42] local.INFO: GPS Element Parsed {"raw_longitude":763287744,"raw_latitude":96894856,"longitude_deg":76.3287744,"latitude_deg":9.6894856,"altitude":7,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2d7ed8c0","hex_latitude":"05c67f88","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735565312001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347320527620145152,"note":"Value kept but may cause issues"} 
[2026-07-15 19:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9140336943530219520,"note":"Value kept but may cause issues"} 
[2026-07-15 19:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784123328000,"timestamp_ms":1784123328000,"timestamp_seconds":1784123328,"priority":1,"record_length":96,"hex_timestamp":"0000019f66098600"} 
[2026-07-15 19:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 19:19:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19: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-07-15 19:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":133707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":133707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":133707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735565312001,"66":27267,"89":206,"85":12288,"24":0,"16":347320527620145152,"45":9140336943530219520},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-07-15 19:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735565312001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:19:42] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-15 19:19:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347320527620145152,"km_value":347320527620145.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9140336943530219520,"description":"Unknown IO ID 45"} 
[2026-07-15 19:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735565312001,"power":27267,"unknown_89":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9140336943530219520}} 
[2026-07-15 19:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":133707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:19:42] local.INFO: GPS data processed {"connection_id":133707,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:19:42] local.INFO: Acknowledgment sent {"connection_id":133707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:19:50] local.INFO: TCP Data received {"connection_id":135076,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:19:50] local.INFO: Processing buffer {"connection_id":135076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:19:50] local.INFO: IMEI packet received {"connection_id":135076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":135076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:19:55] local.INFO: TCP Data received {"connection_id":135076,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:19:55] local.INFO: Processing buffer {"connection_id":135076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:19:55] local.INFO: IMEI packet received {"connection_id":135076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":135076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:19:56] local.INFO: TCP Data received {"connection_id":135076,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66078260012d18594007220040005300c629..."} 
[2026-07-15 19:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66078260012d18594007220040005300c629..."} 
[2026-07-15 19:19:56] local.INFO: Processing buffer {"connection_id":135076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66078260012d18594007220040005300c629..."} 
[2026-07-15 19:19:56] local.INFO: Packet analysis {"connection_id":135076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6607"} 
[2026-07-15 19:19:56] local.INFO: Extracted packet for processing {"connection_id":135076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6607"} 
[2026-07-15 19:19:56] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119668800,"longitude_deg":75.6570432,"latitude_deg":11.96688,"altitude":83,"angle":198,"satellites":41,"speed":0,"hex_longitude":"2d185940","hex_latitude":"07220040","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735532800001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6244504491261952,"note":"Value kept but may cause issues"} 
[2026-07-15 19:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929216909312,"note":"Value kept but may cause issues"} 
[2026-07-15 19:19: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-07-15 19:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784123196000,"timestamp_ms":1784123196000,"timestamp_seconds":1784123196,"priority":1,"record_length":96,"hex_timestamp":"0000019f66078260"} 
[2026-07-15 19:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:19:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-15 19:19:56] 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-07-15 19: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-07-15 19:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":135076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":135076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":135076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:19:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735532800001,"66":12798,"120":206,"28":31744,"24":0,"16":6244504491261952,"45":1754503929216909312},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735532800001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:19:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:19:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6244504491261952,"km_value":6244504491261.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929216909312,"description":"Unknown IO ID 45"} 
[2026-07-15 19:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735532800001,"power":12798,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754503929216909312}} 
[2026-07-15 19:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":135076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:19:57] local.INFO: GPS data processed {"connection_id":135076,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:19:57] local.INFO: Acknowledgment sent {"connection_id":135076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:20:00] local.INFO: TCP Data received {"connection_id":132680,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:20:00] local.INFO: Processing buffer {"connection_id":132680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:20:00] local.INFO: IMEI packet received {"connection_id":132680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":132680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:20:05] local.INFO: TCP Data received {"connection_id":132680,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:20:05] local.INFO: Processing buffer {"connection_id":132680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:20:05] local.INFO: IMEI packet received {"connection_id":132680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":132680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:20:06] local.INFO: TCP Data received {"connection_id":132680,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6609d808012d7ed8c005c67f880007013a2a..."} 
[2026-07-15 19:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6609d808012d7ed8c005c67f880007013a2a..."} 
[2026-07-15 19:20:06] local.INFO: Processing buffer {"connection_id":132680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6609d808012d7ed8c005c67f880007013a2a..."} 
[2026-07-15 19:20:06] local.INFO: Packet analysis {"connection_id":132680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6609"} 
[2026-07-15 19:20:06] local.INFO: Extracted packet for processing {"connection_id":132680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6609"} 
[2026-07-15 19:20:06] local.INFO: GPS Element Parsed {"raw_longitude":763287744,"raw_latitude":96894856,"longitude_deg":76.3287744,"latitude_deg":9.6894856,"altitude":7,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2d7ed8c0","hex_latitude":"05c67f88","is_valid_coordinates":true} 
[2026-07-15 19:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735571968001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:20:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-15 19:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347320527620145152,"note":"Value kept but may cause issues"} 
[2026-07-15 19:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9140266574786037760,"note":"Value kept but may cause issues"} 
[2026-07-15 19:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-07-15 19:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784123349000,"timestamp_ms":1784123349000,"timestamp_seconds":1784123349,"priority":1,"record_length":96,"hex_timestamp":"0000019f6609d808"} 
[2026-07-15 19:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-15 19:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735571968001,"66":27365,"200":0,"85":12288,"24":0,"16":347320527620145152,"45":9140266574786037760},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-07-15 19:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735571968001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:20:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347320527620145152,"km_value":347320527620145.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9140266574786037760,"description":"Unknown IO ID 45"} 
[2026-07-15 19:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735571968001,"power":27365,"gsm_signal":0,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9140266574786037760}} 
[2026-07-15 19:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":132680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:20:06] local.INFO: GPS data processed {"connection_id":132680,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:20:06] local.INFO: Acknowledgment sent {"connection_id":132680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:20:28] local.INFO: TCP Data received {"connection_id":135076,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6607d468012d18594007220040005300c627..."} 
[2026-07-15 19:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6607d468012d18594007220040005300c627..."} 
[2026-07-15 19:20:28] local.INFO: Processing buffer {"connection_id":135076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6607d468012d18594007220040005300c627..."} 
[2026-07-15 19:20:28] local.INFO: Packet analysis {"connection_id":135076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6607"} 
[2026-07-15 19:20:28] local.INFO: Extracted packet for processing {"connection_id":135076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6607"} 
[2026-07-15 19:20:28] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119668800,"longitude_deg":75.6570432,"latitude_deg":11.96688,"altitude":83,"angle":198,"satellites":39,"speed":0,"hex_longitude":"2d185940","hex_latitude":"07220040","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735538176001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6244504491261952,"note":"Value kept but may cause issues"} 
[2026-07-15 19:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929216909312,"note":"Value kept but may cause issues"} 
[2026-07-15 19:20: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-07-15 19:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784123217000,"timestamp_ms":1784123217000,"timestamp_seconds":1784123217,"priority":1,"record_length":96,"hex_timestamp":"0000019f6607d468"} 
[2026-07-15 19:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:20:28] 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-07-15 19: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-15 19:20:28] 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-07-15 19: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-07-15 19:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":135076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":135076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":135076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:20:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735538176001,"66":12776,"120":206,"28":31744,"24":0,"16":6244504491261952,"45":1754503929216909312},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735538176001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:20:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:20:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6244504491261952,"km_value":6244504491261.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929216909312,"description":"Unknown IO ID 45"} 
[2026-07-15 19:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735538176001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754503929216909312}} 
[2026-07-15 19:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":135076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492580,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:20:28] local.INFO: GPS data processed {"connection_id":135076,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:20:28] local.INFO: Acknowledgment sent {"connection_id":135076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:20:37] local.INFO: TCP Data received {"connection_id":132680,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6609eb90012d7ed8c005c68148000a015c2b..."} 
[2026-07-15 19:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6609eb90012d7ed8c005c68148000a015c2b..."} 
[2026-07-15 19:20:37] local.INFO: Processing buffer {"connection_id":132680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6609eb90012d7ed8c005c68148000a015c2b..."} 
[2026-07-15 19:20:37] local.INFO: Packet analysis {"connection_id":132680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6609"} 
[2026-07-15 19:20:37] local.INFO: Extracted packet for processing {"connection_id":132680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6609"} 
[2026-07-15 19:20:37] local.INFO: GPS Element Parsed {"raw_longitude":763287744,"raw_latitude":96895304,"longitude_deg":76.3287744,"latitude_deg":9.6895304,"altitude":10,"angle":348,"satellites":43,"speed":5,"hex_longitude":"2d7ed8c0","hex_latitude":"05c68148","is_valid_coordinates":true} 
[2026-07-15 19:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735577344001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:20:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-15 19:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347320549094981632,"note":"Value kept but may cause issues"} 
[2026-07-15 19:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9140266574786037760,"note":"Value kept but may cause issues"} 
[2026-07-15 19:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-07-15 19:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784123354000,"timestamp_ms":1784123354000,"timestamp_seconds":1784123354,"priority":1,"record_length":96,"hex_timestamp":"0000019f6609eb90"} 
[2026-07-15 19:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-15 19:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735577344001,"66":27332,"200":0,"85":12288,"24":5,"16":347320549094981632,"45":9140266574786037760},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-07-15 19:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735577344001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:20:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347320549094981632,"km_value":347320549094981.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9140266574786037760,"description":"Unknown IO ID 45"} 
[2026-07-15 19:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735577344001,"power":27332,"gsm_signal":0,"unknown_85":12288,"ignition":5,"odometer":null,"unknown_45":9140266574786037760}} 
[2026-07-15 19:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":132680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:20:37] local.INFO: GPS data processed {"connection_id":132680,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:20:37] local.INFO: Acknowledgment sent {"connection_id":132680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:20:55] local.INFO: TCP Data received {"connection_id":132681,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:20:55] local.INFO: Processing buffer {"connection_id":132681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:20:55] local.INFO: IMEI packet received {"connection_id":132681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":132681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:21:00] local.INFO: TCP Data received {"connection_id":132681,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:21:00] local.INFO: Processing buffer {"connection_id":132681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:21:00] local.INFO: IMEI packet received {"connection_id":132681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":132681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:21:01] local.INFO: TCP Data received {"connection_id":132681,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66082670012d18594007220040005300c62a..."} 
[2026-07-15 19:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66082670012d18594007220040005300c62a..."} 
[2026-07-15 19:21:01] local.INFO: Processing buffer {"connection_id":132681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66082670012d18594007220040005300c62a..."} 
[2026-07-15 19:21:01] local.INFO: Packet analysis {"connection_id":132681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6608"} 
[2026-07-15 19:21:01] local.INFO: Extracted packet for processing {"connection_id":132681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6608"} 
[2026-07-15 19:21:01] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119668800,"longitude_deg":75.6570432,"latitude_deg":11.96688,"altitude":83,"angle":198,"satellites":42,"speed":0,"hex_longitude":"2d185940","hex_latitude":"07220040","is_valid_coordinates":true} 
[2026-07-15 19:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735543552001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6244504491261952,"note":"Value kept but may cause issues"} 
[2026-07-15 19:21:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929216909312,"note":"Value kept but may cause issues"} 
[2026-07-15 19:21:01] 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-07-15 19:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784123238000,"timestamp_ms":1784123238000,"timestamp_seconds":1784123238,"priority":1,"record_length":96,"hex_timestamp":"0000019f66082670"} 
[2026-07-15 19:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:21:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-15 19:21:01] 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-07-15 19:21:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":132681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":132681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":132681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:21:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735543552001,"66":12743,"120":206,"28":31744,"24":0,"16":6244504491261952,"45":1754503929216909312},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735543552001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:21:01] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:21:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6244504491261952,"km_value":6244504491261.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:21:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929216909312,"description":"Unknown IO ID 45"} 
[2026-07-15 19:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735543552001,"power":12743,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754503929216909312}} 
[2026-07-15 19:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":132681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:21:02] local.INFO: GPS data processed {"connection_id":132681,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:21:02] local.INFO: Acknowledgment sent {"connection_id":132681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:21:05] local.INFO: TCP Data received {"connection_id":132858,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:21:05] local.INFO: Processing buffer {"connection_id":132858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:21:05] local.INFO: IMEI packet received {"connection_id":132858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":132858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:21:08] local.INFO: TCP Data received {"connection_id":132858,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:21:08] local.INFO: Processing buffer {"connection_id":132858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:21:08] local.INFO: IMEI packet received {"connection_id":132858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":132858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:21:09] local.INFO: TCP Data received {"connection_id":132858,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6609f360012d7ed7c005c68328000a01462b..."} 
[2026-07-15 19:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6609f360012d7ed7c005c68328000a01462b..."} 
[2026-07-15 19:21:09] local.INFO: Processing buffer {"connection_id":132858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6609f360012d7ed7c005c68328000a01462b..."} 
[2026-07-15 19:21:09] local.INFO: Packet analysis {"connection_id":132858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6609"} 
[2026-07-15 19:21:09] local.INFO: Extracted packet for processing {"connection_id":132858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6609"} 
[2026-07-15 19:21:09] local.INFO: GPS Element Parsed {"raw_longitude":763287488,"raw_latitude":96895784,"longitude_deg":76.3287488,"latitude_deg":9.6895784,"altitude":10,"angle":326,"satellites":43,"speed":11,"hex_longitude":"2d7ed7c0","hex_latitude":"05c68328","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735578624001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:21:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-15 19:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347320574864785408,"note":"Value kept but may cause issues"} 
[2026-07-15 19:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9140266574786152448,"note":"Value kept but may cause issues"} 
[2026-07-15 19:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-07-15 19:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784123356000,"timestamp_ms":1784123356000,"timestamp_seconds":1784123356,"priority":1,"record_length":96,"hex_timestamp":"0000019f6609f360"} 
[2026-07-15 19:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-15 19:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19: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-07-15 19:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":132858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":132858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":132858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:21:09] 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-07-15 19:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735578624001,"66":27267,"200":0,"85":12288,"24":11,"16":347320574864785408,"45":9140266574786152448},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-07-15 19:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735578624001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:21:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347320574864785408,"km_value":347320574864785.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9140266574786152448,"description":"Unknown IO ID 45"} 
[2026-07-15 19:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735578624001,"power":27267,"gsm_signal":0,"unknown_85":12288,"ignition":11,"odometer":null,"unknown_45":9140266574786152448}} 
[2026-07-15 19:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":132858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:21:09] local.INFO: GPS data processed {"connection_id":132858,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:21:09] local.INFO: Acknowledgment sent {"connection_id":132858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:21:10] local.INFO: TCP Data received {"connection_id":132858,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6609fb30012d7ed64005c68528000a013a2a..."} 
[2026-07-15 19:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6609fb30012d7ed64005c68528000a013a2a..."} 
[2026-07-15 19:21:10] local.INFO: Processing buffer {"connection_id":132858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6609fb30012d7ed64005c68528000a013a2a..."} 
[2026-07-15 19:21:10] local.INFO: Packet analysis {"connection_id":132858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6609"} 
[2026-07-15 19:21:10] local.INFO: Extracted packet for processing {"connection_id":132858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6609"} 
[2026-07-15 19:21:10] local.INFO: GPS Element Parsed {"raw_longitude":763287104,"raw_latitude":96896296,"longitude_deg":76.3287104,"latitude_deg":9.6896296,"altitude":10,"angle":314,"satellites":42,"speed":14,"hex_longitude":"2d7ed640","hex_latitude":"05c68528","is_valid_coordinates":true} 
[2026-07-15 19:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735579136001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:21:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-15 19:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347320604929556480,"note":"Value kept but may cause issues"} 
[2026-07-15 19:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9139985099809564672,"note":"Value kept but may cause issues"} 
[2026-07-15 19:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-07-15 19:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784123358000,"timestamp_ms":1784123358000,"timestamp_seconds":1784123358,"priority":1,"record_length":96,"hex_timestamp":"0000019f6609fb30"} 
[2026-07-15 19:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-15 19:21:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":132858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":132858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":132858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:21:10] 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-07-15 19:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735579136001,"66":27267,"200":0,"85":12288,"24":14,"16":347320604929556480,"45":9139985099809564672},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-07-15 19:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735579136001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:21:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347320604929556480,"km_value":347320604929556.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9139985099809564672,"description":"Unknown IO ID 45"} 
[2026-07-15 19:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735579136001,"power":27267,"gsm_signal":0,"unknown_85":12288,"ignition":14,"odometer":null,"unknown_45":9139985099809564672}} 
[2026-07-15 19:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":132858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:21:10] local.INFO: GPS data processed {"connection_id":132858,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:21:10] local.INFO: Acknowledgment sent {"connection_id":132858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:21:33] local.INFO: TCP Data received {"connection_id":132681,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66087878012d18594007220040005300c624..."} 
[2026-07-15 19:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66087878012d18594007220040005300c624..."} 
[2026-07-15 19:21:33] local.INFO: Processing buffer {"connection_id":132681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66087878012d18594007220040005300c624..."} 
[2026-07-15 19:21:33] local.INFO: Packet analysis {"connection_id":132681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6608"} 
[2026-07-15 19:21:33] local.INFO: Extracted packet for processing {"connection_id":132681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6608"} 
[2026-07-15 19:21:33] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119668800,"longitude_deg":75.6570432,"latitude_deg":11.96688,"altitude":83,"angle":198,"satellites":36,"speed":0,"hex_longitude":"2d185940","hex_latitude":"07220040","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735548928001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6244504491261952,"note":"Value kept but may cause issues"} 
[2026-07-15 19:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929216909312,"note":"Value kept but may cause issues"} 
[2026-07-15 19:21:33] 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-07-15 19:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784123259000,"timestamp_ms":1784123259000,"timestamp_seconds":1784123259,"priority":1,"record_length":96,"hex_timestamp":"0000019f66087878"} 
[2026-07-15 19:21:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:21:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-15 19:21: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-07-15 19: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-07-15 19:21:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":132681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":132681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":132681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735548928001,"66":12722,"120":206,"28":31744,"24":0,"16":6244504491261952,"45":1754503929216909312},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735548928001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:21:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:21:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6244504491261952,"km_value":6244504491261.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929216909312,"description":"Unknown IO ID 45"} 
[2026-07-15 19:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735548928001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754503929216909312}} 
[2026-07-15 19:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":132681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:21:33] local.INFO: GPS data processed {"connection_id":132681,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:21:33] local.INFO: Acknowledgment sent {"connection_id":132681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:21:41] local.INFO: TCP Data received {"connection_id":132858,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f660a06e8012d7ed28005c68840000a012f2b..."} 
[2026-07-15 19:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f660a06e8012d7ed28005c68840000a012f2b..."} 
[2026-07-15 19:21:41] local.INFO: Processing buffer {"connection_id":132858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f660a06e8012d7ed28005c68840000a012f2b..."} 
[2026-07-15 19:21:41] local.INFO: Packet analysis {"connection_id":132858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f660a"} 
[2026-07-15 19:21:41] local.INFO: Extracted packet for processing {"connection_id":132858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f660a"} 
[2026-07-15 19:21:41] local.INFO: GPS Element Parsed {"raw_longitude":763286144,"raw_latitude":96897088,"longitude_deg":76.3286144,"latitude_deg":9.6897088,"altitude":10,"angle":303,"satellites":43,"speed":18,"hex_longitude":"2d7ed280","hex_latitude":"05c68840","is_valid_coordinates":true} 
[2026-07-15 19:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735579648001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:21:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-15 19:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347320665059098624,"note":"Value kept but may cause issues"} 
[2026-07-15 19:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9139562887344629760,"note":"Value kept but may cause issues"} 
[2026-07-15 19:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-07-15 19:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784123361000,"timestamp_ms":1784123361000,"timestamp_seconds":1784123361,"priority":1,"record_length":96,"hex_timestamp":"0000019f660a06e8"} 
[2026-07-15 19:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-15 19:21:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:21:41] 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-07-15 19:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735579648001,"66":27169,"200":0,"85":12288,"24":18,"16":347320665059098624,"45":9139562887344629760},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-07-15 19:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735579648001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:21:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347320665059098624,"km_value":347320665059098.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9139562887344629760,"description":"Unknown IO ID 45"} 
[2026-07-15 19:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735579648001,"power":27169,"gsm_signal":0,"unknown_85":12288,"ignition":18,"odometer":null,"unknown_45":9139562887344629760}} 
[2026-07-15 19:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":132858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:21:41] local.INFO: GPS data processed {"connection_id":132858,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:21:41] local.INFO: Acknowledgment sent {"connection_id":132858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:21:47] local.INFO: TCP Data received {"connection_id":132859,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:21:47] local.INFO: Processing buffer {"connection_id":132859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:21:47] local.INFO: IMEI packet received {"connection_id":132859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":132859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:21:50] local.INFO: TCP Data received {"connection_id":132859,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:21:50] local.INFO: Processing buffer {"connection_id":132859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:21:50] local.INFO: IMEI packet received {"connection_id":132859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":132859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:21:55] local.INFO: TCP Data received {"connection_id":132859,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:21:55] local.INFO: Processing buffer {"connection_id":132859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:21:55] local.INFO: IMEI packet received {"connection_id":132859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":132859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:21:56] local.INFO: TCP Data received {"connection_id":132859,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6608ca80012d18594007220040005300c629..."} 
[2026-07-15 19:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6608ca80012d18594007220040005300c629..."} 
[2026-07-15 19:21:56] local.INFO: Processing buffer {"connection_id":132859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6608ca80012d18594007220040005300c629..."} 
[2026-07-15 19:21:56] local.INFO: Packet analysis {"connection_id":132859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6608"} 
[2026-07-15 19:21:56] local.INFO: Extracted packet for processing {"connection_id":132859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6608"} 
[2026-07-15 19:21:56] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119668800,"longitude_deg":75.6570432,"latitude_deg":11.96688,"altitude":83,"angle":198,"satellites":41,"speed":0,"hex_longitude":"2d185940","hex_latitude":"07220040","is_valid_coordinates":true} 
[2026-07-15 19:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735554304001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6244504491261952,"note":"Value kept but may cause issues"} 
[2026-07-15 19:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929216909312,"note":"Value kept but may cause issues"} 
[2026-07-15 19:21: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-07-15 19:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784123280000,"timestamp_ms":1784123280000,"timestamp_seconds":1784123280,"priority":1,"record_length":96,"hex_timestamp":"0000019f6608ca80"} 
[2026-07-15 19:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:21:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 19:21:56] 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-07-15 19:21:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735554304001,"66":12722,"120":206,"28":31744,"24":0,"16":6244504491261952,"45":1754503929216909312},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735554304001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:21:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:21:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6244504491261952,"km_value":6244504491261.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929216909312,"description":"Unknown IO ID 45"} 
[2026-07-15 19:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735554304001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754503929216909312}} 
[2026-07-15 19:21:57] local.INFO: DEBUG: GPS processor result {"connection_id":132859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:21:57] local.INFO: GPS data processed {"connection_id":132859,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:21:57] local.INFO: Acknowledgment sent {"connection_id":132859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:21:58] local.INFO: TCP Data received {"connection_id":133708,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:21:58] local.INFO: Processing buffer {"connection_id":133708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:21:58] local.INFO: IMEI packet received {"connection_id":133708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":133708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:22:00] local.INFO: TCP Data received {"connection_id":133708,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:22:00] local.INFO: Processing buffer {"connection_id":133708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:22:00] local.INFO: IMEI packet received {"connection_id":133708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":133708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:22:05] local.INFO: TCP Data received {"connection_id":133708,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:22:05] local.INFO: Processing buffer {"connection_id":133708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:22:05] local.INFO: IMEI packet received {"connection_id":133708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":133708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:22:06] local.INFO: TCP Data received {"connection_id":133708,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f660b9170012d7daa8005c74eb8000501322a..."} 
[2026-07-15 19:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f660b9170012d7daa8005c74eb8000501322a..."} 
[2026-07-15 19:22:06] local.INFO: Processing buffer {"connection_id":133708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f660b9170012d7daa8005c74eb8000501322a..."} 
[2026-07-15 19:22:06] local.INFO: Packet analysis {"connection_id":133708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f660b"} 
[2026-07-15 19:22:06] local.INFO: Extracted packet for processing {"connection_id":133708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f660b"} 
[2026-07-15 19:22:06] local.INFO: GPS Element Parsed {"raw_longitude":763210368,"raw_latitude":96947896,"longitude_deg":76.3210368,"latitude_deg":9.6947896,"altitude":5,"angle":306,"satellites":42,"speed":38,"hex_longitude":"2d7daa80","hex_latitude":"05c74eb8","is_valid_coordinates":true} 
[2026-07-15 19:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735604480001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:22:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-15 19:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347325058810642432,"note":"Value kept but may cause issues"} 
[2026-07-15 19:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9062298006250121216,"note":"Value kept but may cause issues"} 
[2026-07-15 19:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-07-15 19:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784123462000,"timestamp_ms":1784123462000,"timestamp_seconds":1784123462,"priority":1,"record_length":96,"hex_timestamp":"0000019f660b9170"} 
[2026-07-15 19:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-15 19:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735604480001,"66":27484,"200":0,"85":12288,"24":38,"16":347325058810642432,"45":9062298006250121216},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-07-15 19:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735604480001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:22:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347325058810642432,"km_value":347325058810642.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9062298006250121216,"description":"Unknown IO ID 45"} 
[2026-07-15 19:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735604480001,"power":27484,"gsm_signal":0,"unknown_85":12288,"ignition":38,"odometer":null,"unknown_45":9062298006250121216}} 
[2026-07-15 19:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":133708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:22:06] local.INFO: GPS data processed {"connection_id":133708,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:22:06] local.INFO: Acknowledgment sent {"connection_id":133708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:22:28] local.INFO: TCP Data received {"connection_id":132859,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66091c88012d18594007220040005300c627..."} 
[2026-07-15 19:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66091c88012d18594007220040005300c627..."} 
[2026-07-15 19:22:28] local.INFO: Processing buffer {"connection_id":132859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66091c88012d18594007220040005300c627..."} 
[2026-07-15 19:22:28] local.INFO: Packet analysis {"connection_id":132859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6609"} 
[2026-07-15 19:22:28] local.INFO: Extracted packet for processing {"connection_id":132859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6609"} 
[2026-07-15 19:22:28] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119668800,"longitude_deg":75.6570432,"latitude_deg":11.96688,"altitude":83,"angle":198,"satellites":39,"speed":0,"hex_longitude":"2d185940","hex_latitude":"07220040","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735559680001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6244504491261952,"note":"Value kept but may cause issues"} 
[2026-07-15 19:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929216909312,"note":"Value kept but may cause issues"} 
[2026-07-15 19: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-07-15 19:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784123301000,"timestamp_ms":1784123301000,"timestamp_seconds":1784123301,"priority":1,"record_length":96,"hex_timestamp":"0000019f66091c88"} 
[2026-07-15 19:22:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:22:28] 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-07-15 19: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":178,"data_length":795,"current_offset":136} 
[2026-07-15 19:22:28] 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-07-15 19: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-07-15 19:22:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:22:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735559680001,"66":12667,"120":206,"28":31744,"24":0,"16":6244504491261952,"45":1754503929216909312},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735559680001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:22:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:22:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6244504491261952,"km_value":6244504491261.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929216909312,"description":"Unknown IO ID 45"} 
[2026-07-15 19:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735559680001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754503929216909312}} 
[2026-07-15 19:22:28] local.INFO: DEBUG: GPS processor result {"connection_id":132859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492589,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:22:28] local.INFO: GPS data processed {"connection_id":132859,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:22:28] local.INFO: Acknowledgment sent {"connection_id":132859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:22:37] local.INFO: TCP Data received {"connection_id":133708,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f660bb498012d7d8c0005c763c8000501332b..."} 
[2026-07-15 19:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f660bb498012d7d8c0005c763c8000501332b..."} 
[2026-07-15 19:22:37] local.INFO: Processing buffer {"connection_id":133708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f660bb498012d7d8c0005c763c8000501332b..."} 
[2026-07-15 19:22:37] local.INFO: Packet analysis {"connection_id":133708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f660b"} 
[2026-07-15 19:22:37] local.INFO: Extracted packet for processing {"connection_id":133708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f660b"} 
[2026-07-15 19:22:37] local.INFO: GPS Element Parsed {"raw_longitude":763202560,"raw_latitude":96953288,"longitude_deg":76.320256,"latitude_deg":9.6953288,"altitude":5,"angle":307,"satellites":43,"speed":41,"hex_longitude":"2d7d8c00","hex_latitude":"05c763c8","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735606272001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:22:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-15 19:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347325514077175808,"note":"Value kept but may cause issues"} 
[2026-07-15 19:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9055190763088820224,"note":"Value kept but may cause issues"} 
[2026-07-15 19:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-07-15 19:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784123471000,"timestamp_ms":1784123471000,"timestamp_seconds":1784123471,"priority":1,"record_length":96,"hex_timestamp":"0000019f660bb498"} 
[2026-07-15 19:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-15 19:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19: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-07-15 19:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735606272001,"66":27365,"200":0,"85":12288,"24":41,"16":347325514077175808,"45":9055190763088820224},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-07-15 19:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735606272001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:22:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347325514077175808,"km_value":347325514077175.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9055190763088820224,"description":"Unknown IO ID 45"} 
[2026-07-15 19:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735606272001,"power":27365,"gsm_signal":0,"unknown_85":12288,"ignition":41,"odometer":null,"unknown_45":9055190763088820224}} 
[2026-07-15 19:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":133708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:22:37] local.INFO: GPS data processed {"connection_id":133708,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:22:37] local.INFO: Acknowledgment sent {"connection_id":133708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:22:51] local.INFO: TCP Data received {"connection_id":135078,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:22:51] local.INFO: Processing buffer {"connection_id":135078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:22:51] local.INFO: IMEI packet received {"connection_id":135078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":135078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:22:51] local.INFO: TCP Data received {"connection_id":135078,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:22:51] local.INFO: Processing buffer {"connection_id":135078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:22:51] local.INFO: IMEI packet received {"connection_id":135078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":135078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:22:55] local.INFO: TCP Data received {"connection_id":135078,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:22:55] local.INFO: Processing buffer {"connection_id":135078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:22:55] local.INFO: IMEI packet received {"connection_id":135078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":135078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:22:56] local.INFO: TCP Data received {"connection_id":135078,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66096e90012d18594007220040005300c62a..."} 
[2026-07-15 19:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66096e90012d18594007220040005300c62a..."} 
[2026-07-15 19:22:56] local.INFO: Processing buffer {"connection_id":135078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66096e90012d18594007220040005300c62a..."} 
[2026-07-15 19:22:56] local.INFO: Packet analysis {"connection_id":135078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6609"} 
[2026-07-15 19:22:56] local.INFO: Extracted packet for processing {"connection_id":135078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6609"} 
[2026-07-15 19:22:56] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119668800,"longitude_deg":75.6570432,"latitude_deg":11.96688,"altitude":83,"angle":198,"satellites":42,"speed":0,"hex_longitude":"2d185940","hex_latitude":"07220040","is_valid_coordinates":true} 
[2026-07-15 19:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735565056001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6244504491261952,"note":"Value kept but may cause issues"} 
[2026-07-15 19:22:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929216909312,"note":"Value kept but may cause issues"} 
[2026-07-15 19:22: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-07-15 19:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784123322000,"timestamp_ms":1784123322000,"timestamp_seconds":1784123322,"priority":1,"record_length":96,"hex_timestamp":"0000019f66096e90"} 
[2026-07-15 19:22:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:22:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-15 19:22:56] 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-07-15 19:22:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:22:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":135078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":135078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":135078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:22:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735565056001,"66":12722,"120":206,"28":31744,"24":0,"16":6244504491261952,"45":1754503929216909312},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735565056001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:22:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:22:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6244504491261952,"km_value":6244504491261.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:22:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929216909312,"description":"Unknown IO ID 45"} 
[2026-07-15 19:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735565056001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754503929216909312}} 
[2026-07-15 19:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":135078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:22:57] local.INFO: GPS data processed {"connection_id":135078,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:22:57] local.INFO: Acknowledgment sent {"connection_id":135078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:23:00] local.INFO: TCP Data received {"connection_id":132860,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:23:00] local.INFO: Processing buffer {"connection_id":132860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:23:00] local.INFO: IMEI packet received {"connection_id":132860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":132860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:23:02] local.INFO: TCP Data received {"connection_id":132860,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:23:02] local.INFO: Processing buffer {"connection_id":132860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:23:02] local.INFO: IMEI packet received {"connection_id":132860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":132860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:23:03] local.INFO: TCP Data received {"connection_id":132860,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f660bd7c0012d7d718005c77a800005013929..."} 
[2026-07-15 19:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f660bd7c0012d7d718005c77a800005013929..."} 
[2026-07-15 19:23:03] local.INFO: Processing buffer {"connection_id":132860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f660bd7c0012d7d718005c77a800005013929..."} 
[2026-07-15 19:23:03] local.INFO: Packet analysis {"connection_id":132860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f660b"} 
[2026-07-15 19:23:03] local.INFO: Extracted packet for processing {"connection_id":132860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f660b"} 
[2026-07-15 19:23:03] local.INFO: GPS Element Parsed {"raw_longitude":763195776,"raw_latitude":96959104,"longitude_deg":76.3195776,"latitude_deg":9.6959104,"altitude":5,"angle":313,"satellites":41,"speed":39,"hex_longitude":"2d7d7180","hex_latitude":"05c77a80","is_valid_coordinates":true} 
[2026-07-15 19:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735608576001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:23:03] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-15 19:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347325943573905408,"note":"Value kept but may cause issues"} 
[2026-07-15 19:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9046605776300525568,"note":"Value kept but may cause issues"} 
[2026-07-15 19:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-07-15 19:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784123480000,"timestamp_ms":1784123480000,"timestamp_seconds":1784123480,"priority":1,"record_length":96,"hex_timestamp":"0000019f660bd7c0"} 
[2026-07-15 19:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-15 19:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":132860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":132860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":132860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735608576001,"66":27343,"200":0,"85":12288,"24":39,"16":347325943573905408,"45":9046605776300525568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-07-15 19:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735608576001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:23:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347325943573905408,"km_value":347325943573905.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9046605776300525568,"description":"Unknown IO ID 45"} 
[2026-07-15 19:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735608576001,"power":27343,"gsm_signal":0,"unknown_85":12288,"ignition":39,"odometer":null,"unknown_45":9046605776300525568}} 
[2026-07-15 19:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":132860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:23:03] local.INFO: GPS data processed {"connection_id":132860,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:23:03] local.INFO: Acknowledgment sent {"connection_id":132860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:23:28] local.INFO: TCP Data received {"connection_id":135078,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6609c098012d18594007220040005300c62a..."} 
[2026-07-15 19:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6609c098012d18594007220040005300c62a..."} 
[2026-07-15 19:23:28] local.INFO: Processing buffer {"connection_id":135078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6609c098012d18594007220040005300c62a..."} 
[2026-07-15 19:23:28] local.INFO: Packet analysis {"connection_id":135078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6609"} 
[2026-07-15 19:23:28] local.INFO: Extracted packet for processing {"connection_id":135078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6609"} 
[2026-07-15 19:23:28] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119668800,"longitude_deg":75.6570432,"latitude_deg":11.96688,"altitude":83,"angle":198,"satellites":42,"speed":0,"hex_longitude":"2d185940","hex_latitude":"07220040","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735570432001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6244504491261952,"note":"Value kept but may cause issues"} 
[2026-07-15 19:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929216909312,"note":"Value kept but may cause issues"} 
[2026-07-15 19:23: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-07-15 19:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784123343000,"timestamp_ms":1784123343000,"timestamp_seconds":1784123343,"priority":1,"record_length":96,"hex_timestamp":"0000019f6609c098"} 
[2026-07-15 19:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:23:28] 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-07-15 19: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 19:23:28] 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-07-15 19: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-07-15 19:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":135078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":135078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":135078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:23:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735570432001,"66":12667,"120":206,"28":31744,"24":0,"16":6244504491261952,"45":1754503929216909312},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735570432001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:23:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:23:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6244504491261952,"km_value":6244504491261.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929216909312,"description":"Unknown IO ID 45"} 
[2026-07-15 19:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735570432001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754503929216909312}} 
[2026-07-15 19:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":135078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492593,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:23:28] local.INFO: GPS data processed {"connection_id":135078,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:23:28] local.INFO: Acknowledgment sent {"connection_id":135078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:23:34] local.INFO: TCP Data received {"connection_id":132860,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f660bfed0012d7d5ac005c794480005014428..."} 
[2026-07-15 19:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f660bfed0012d7d5ac005c794480005014428..."} 
[2026-07-15 19:23:34] local.INFO: Processing buffer {"connection_id":132860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f660bfed0012d7d5ac005c794480005014428..."} 
[2026-07-15 19:23:34] local.INFO: Packet analysis {"connection_id":132860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f660b"} 
[2026-07-15 19:23:34] local.INFO: Extracted packet for processing {"connection_id":132860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f660b"} 
[2026-07-15 19:23:34] local.INFO: GPS Element Parsed {"raw_longitude":763189952,"raw_latitude":96965704,"longitude_deg":76.3189952,"latitude_deg":9.6965704,"altitude":5,"angle":324,"satellites":40,"speed":28,"hex_longitude":"2d7d5ac0","hex_latitude":"05c79448","is_valid_coordinates":true} 
[2026-07-15 19:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735610880001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:23:34] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-15 19:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347326373070635008,"note":"Value kept but may cause issues"} 
[2026-07-15 19:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9039146689419182080,"note":"Value kept but may cause issues"} 
[2026-07-15 19:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-07-15 19:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784123490000,"timestamp_ms":1784123490000,"timestamp_seconds":1784123490,"priority":1,"record_length":96,"hex_timestamp":"0000019f660bfed0"} 
[2026-07-15 19:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-15 19:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:23:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":132860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":132860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":132860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:23: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-07-15 19:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735610880001,"66":27343,"200":0,"85":12288,"24":28,"16":347326373070635008,"45":9039146689419182080},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-07-15 19:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735610880001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:23:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347326373070635008,"km_value":347326373070635.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9039146689419182080,"description":"Unknown IO ID 45"} 
[2026-07-15 19:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735610880001,"power":27343,"gsm_signal":0,"unknown_85":12288,"ignition":28,"odometer":null,"unknown_45":9039146689419182080}} 
[2026-07-15 19:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":132860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:23:34] local.INFO: GPS data processed {"connection_id":132860,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:23:34] local.INFO: Acknowledgment sent {"connection_id":132860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:23:34] local.INFO: TCP Data received {"connection_id":132683,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132683,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:23:34] local.INFO: Processing buffer {"connection_id":132683,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:23:34] local.INFO: IMEI packet received {"connection_id":132683,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 19:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":132683,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:23:50] local.INFO: TCP Data received {"connection_id":132861,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:23:50] local.INFO: Processing buffer {"connection_id":132861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:23:50] local.INFO: IMEI packet received {"connection_id":132861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":132861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:23:54] local.INFO: TCP Data received {"connection_id":132861,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:23:54] local.INFO: Processing buffer {"connection_id":132861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:23:54] local.INFO: IMEI packet received {"connection_id":132861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":132861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:23:55] local.INFO: TCP Data received {"connection_id":132861,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f660a12a0012d18594007220040005300c622..."} 
[2026-07-15 19:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f660a12a0012d18594007220040005300c622..."} 
[2026-07-15 19:23:55] local.INFO: Processing buffer {"connection_id":132861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f660a12a0012d18594007220040005300c622..."} 
[2026-07-15 19:23:55] local.INFO: Packet analysis {"connection_id":132861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f660a"} 
[2026-07-15 19:23:55] local.INFO: Extracted packet for processing {"connection_id":132861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f660a"} 
[2026-07-15 19:23:55] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119668800,"longitude_deg":75.6570432,"latitude_deg":11.96688,"altitude":83,"angle":198,"satellites":34,"speed":0,"hex_longitude":"2d185940","hex_latitude":"07220040","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735575808001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6244504491261952,"note":"Value kept but may cause issues"} 
[2026-07-15 19:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929216909312,"note":"Value kept but may cause issues"} 
[2026-07-15 19:23: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-07-15 19:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784123364000,"timestamp_ms":1784123364000,"timestamp_seconds":1784123364,"priority":1,"record_length":96,"hex_timestamp":"0000019f660a12a0"} 
[2026-07-15 19:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:23:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-15 19:23:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19: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-07-15 19:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":132861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":132861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":132861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735575808001,"66":12667,"120":206,"28":31744,"24":0,"16":6244504491261952,"45":1754503929216909312},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735575808001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:23:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:23:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6244504491261952,"km_value":6244504491261.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929216909312,"description":"Unknown IO ID 45"} 
[2026-07-15 19:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735575808001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754503929216909312}} 
[2026-07-15 19:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":132861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:23:55] local.INFO: GPS data processed {"connection_id":132861,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:23:55] local.INFO: Acknowledgment sent {"connection_id":132861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:24:00] local.INFO: TCP Data received {"connection_id":132684,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:24:00] local.INFO: Processing buffer {"connection_id":132684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:24:00] local.INFO: IMEI packet received {"connection_id":132684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":132684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:24:03] local.INFO: TCP Data received {"connection_id":132684,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:24:03] local.INFO: Processing buffer {"connection_id":132684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:24:03] local.INFO: IMEI packet received {"connection_id":132684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":132684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:24:04] local.INFO: TCP Data received {"connection_id":132684,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f660c50d8012d7d4ac005c7a8a80005014326..."} 
[2026-07-15 19:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f660c50d8012d7d4ac005c7a8a80005014326..."} 
[2026-07-15 19:24:04] local.INFO: Processing buffer {"connection_id":132684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f660c50d8012d7d4ac005c7a8a80005014326..."} 
[2026-07-15 19:24:04] local.INFO: Packet analysis {"connection_id":132684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f660c"} 
[2026-07-15 19:24:04] local.INFO: Extracted packet for processing {"connection_id":132684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f660c"} 
[2026-07-15 19:24:04] local.INFO: GPS Element Parsed {"raw_longitude":763185856,"raw_latitude":96970920,"longitude_deg":76.3185856,"latitude_deg":9.697092,"altitude":5,"angle":323,"satellites":38,"speed":17,"hex_longitude":"2d7d4ac0","hex_latitude":"05c7a8a8","is_valid_coordinates":true} 
[2026-07-15 19:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735613440001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:24:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-15 19:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347326690898214912,"note":"Value kept but may cause issues"} 
[2026-07-15 19:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9032743133700704256,"note":"Value kept but may cause issues"} 
[2026-07-15 19:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-07-15 19:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784123511000,"timestamp_ms":1784123511000,"timestamp_seconds":1784123511,"priority":1,"record_length":96,"hex_timestamp":"0000019f660c50d8"} 
[2026-07-15 19:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-15 19:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":132684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":132684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":132684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735613440001,"66":27365,"200":0,"85":12288,"24":17,"16":347326690898214912,"45":9032743133700704256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-07-15 19:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735613440001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:24:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347326690898214912,"km_value":347326690898214.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9032743133700704256,"description":"Unknown IO ID 45"} 
[2026-07-15 19:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735613440001,"power":27365,"gsm_signal":0,"unknown_85":12288,"ignition":17,"odometer":null,"unknown_45":9032743133700704256}} 
[2026-07-15 19:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":132684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:24:04] local.INFO: GPS data processed {"connection_id":132684,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:24:04] local.INFO: Acknowledgment sent {"connection_id":132684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:24:26] local.INFO: TCP Data received {"connection_id":132861,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f660a64a8012d18594007220040005300c625..."} 
[2026-07-15 19:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f660a64a8012d18594007220040005300c625..."} 
[2026-07-15 19:24:26] local.INFO: Processing buffer {"connection_id":132861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f660a64a8012d18594007220040005300c625..."} 
[2026-07-15 19:24:26] local.INFO: Packet analysis {"connection_id":132861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f660a"} 
[2026-07-15 19:24:26] local.INFO: Extracted packet for processing {"connection_id":132861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f660a"} 
[2026-07-15 19:24:26] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119668800,"longitude_deg":75.6570432,"latitude_deg":11.96688,"altitude":83,"angle":198,"satellites":37,"speed":0,"hex_longitude":"2d185940","hex_latitude":"07220040","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735581184001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6244504491261952,"note":"Value kept but may cause issues"} 
[2026-07-15 19:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929216909312,"note":"Value kept but may cause issues"} 
[2026-07-15 19:24:26] 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-07-15 19:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784123385000,"timestamp_ms":1784123385000,"timestamp_seconds":1784123385,"priority":1,"record_length":96,"hex_timestamp":"0000019f660a64a8"} 
[2026-07-15 19:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:24:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-15 19:24:26] 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-07-15 19: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-07-15 19:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":132861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":132861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":132861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:24:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735581184001,"66":12667,"120":206,"28":31744,"24":0,"16":6244504491261952,"45":1754503929216909312},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735581184001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:24:26] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:24:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6244504491261952,"km_value":6244504491261.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929216909312,"description":"Unknown IO ID 45"} 
[2026-07-15 19:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735581184001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754503929216909312}} 
[2026-07-15 19:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":132861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:24:27] local.INFO: GPS data processed {"connection_id":132861,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:24:27] local.INFO: Acknowledgment sent {"connection_id":132861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:24:35] local.INFO: TCP Data received {"connection_id":132684,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f660c5c90012d7d484005c7ad400005014e25..."} 
[2026-07-15 19:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f660c5c90012d7d484005c7ad400005014e25..."} 
[2026-07-15 19:24:35] local.INFO: Processing buffer {"connection_id":132684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f660c5c90012d7d484005c7ad400005014e25..."} 
[2026-07-15 19:24:35] local.INFO: Packet analysis {"connection_id":132684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f660c"} 
[2026-07-15 19:24:35] local.INFO: Extracted packet for processing {"connection_id":132684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f660c"} 
[2026-07-15 19:24:35] local.INFO: GPS Element Parsed {"raw_longitude":763185216,"raw_latitude":96972096,"longitude_deg":76.3185216,"latitude_deg":9.6972096,"altitude":5,"angle":334,"satellites":37,"speed":16,"hex_longitude":"2d7d4840","hex_latitude":"05c7ad40","is_valid_coordinates":true} 
[2026-07-15 19:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735618816001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:24:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-15 19:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347326755322724352,"note":"Value kept but may cause issues"} 
[2026-07-15 19:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028239534074669056,"note":"Value kept but may cause issues"} 
[2026-07-15 19:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-07-15 19:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784123514000,"timestamp_ms":1784123514000,"timestamp_seconds":1784123514,"priority":1,"record_length":96,"hex_timestamp":"0000019f660c5c90"} 
[2026-07-15 19:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-15 19:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735618816001,"66":27321,"200":0,"85":12288,"24":16,"16":347326755322724352,"45":9028239534074669056},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-07-15 19:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735618816001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:24:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-15 19:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347326755322724352,"km_value":347326755322724.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028239534074669056,"description":"Unknown IO ID 45"} 
[2026-07-15 19:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735618816001,"power":27321,"gsm_signal":0,"unknown_85":12288,"ignition":16,"odometer":null,"unknown_45":9028239534074669056}} 
[2026-07-15 19:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":132684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:24:35] local.INFO: GPS data processed {"connection_id":132684,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:24:35] local.INFO: Acknowledgment sent {"connection_id":132684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:24:50] local.INFO: TCP Data received {"connection_id":132862,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:24:50] local.INFO: Processing buffer {"connection_id":132862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:24:50] local.INFO: IMEI packet received {"connection_id":132862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":132862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:24:55] local.INFO: TCP Data received {"connection_id":132862,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:24:55] local.INFO: Processing buffer {"connection_id":132862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:24:55] local.INFO: IMEI packet received {"connection_id":132862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":132862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:24:57] local.INFO: TCP Data received {"connection_id":132862,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f660ab6b0012d18594007220040005300c629..."} 
[2026-07-15 19:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f660ab6b0012d18594007220040005300c629..."} 
[2026-07-15 19:24:57] local.INFO: Processing buffer {"connection_id":132862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f660ab6b0012d18594007220040005300c629..."} 
[2026-07-15 19:24:57] local.INFO: Packet analysis {"connection_id":132862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f660a"} 
[2026-07-15 19:24:57] local.INFO: Extracted packet for processing {"connection_id":132862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f660a"} 
[2026-07-15 19:24:57] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119668800,"longitude_deg":75.6570432,"latitude_deg":11.96688,"altitude":83,"angle":198,"satellites":41,"speed":0,"hex_longitude":"2d185940","hex_latitude":"07220040","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735586560001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6244504491261952,"note":"Value kept but may cause issues"} 
[2026-07-15 19:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929216909312,"note":"Value kept but may cause issues"} 
[2026-07-15 19:24:57] 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-07-15 19:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784123406000,"timestamp_ms":1784123406000,"timestamp_seconds":1784123406,"priority":1,"record_length":96,"hex_timestamp":"0000019f660ab6b0"} 
[2026-07-15 19:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:24:57] 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-07-15 19: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-15 19:24:57] 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-07-15 19: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-07-15 19:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":132862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":132862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":132862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:24:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735586560001,"66":12667,"120":206,"28":31744,"24":0,"16":6244504491261952,"45":1754503929216909312},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735586560001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:24:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:24:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6244504491261952,"km_value":6244504491261.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929216909312,"description":"Unknown IO ID 45"} 
[2026-07-15 19:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735586560001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754503929216909312}} 
[2026-07-15 19:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":132862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:24:57] local.INFO: GPS data processed {"connection_id":132862,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:24:57] local.INFO: Acknowledgment sent {"connection_id":132862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:24:59] local.INFO: TCP Data received {"connection_id":133711,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:24:59] local.INFO: Processing buffer {"connection_id":133711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:24:59] local.INFO: IMEI packet received {"connection_id":133711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":133711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:25:00] local.INFO: TCP Data received {"connection_id":133711,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:25:00] local.INFO: Processing buffer {"connection_id":133711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:25:00] local.INFO: IMEI packet received {"connection_id":133711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":133711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:25:05] local.INFO: TCP Data received {"connection_id":133711,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:25:05] local.INFO: Processing buffer {"connection_id":133711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:25:05] local.INFO: IMEI packet received {"connection_id":133711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":133711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:25:06] local.INFO: TCP Data received {"connection_id":133711,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f660e21b0012d7d0a4005c8ec200005016429..."} 
[2026-07-15 19:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f660e21b0012d7d0a4005c8ec200005016429..."} 
[2026-07-15 19:25:06] local.INFO: Processing buffer {"connection_id":133711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f660e21b0012d7d0a4005c8ec200005016429..."} 
[2026-07-15 19:25:06] local.INFO: Packet analysis {"connection_id":133711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f660e"} 
[2026-07-15 19:25:06] local.INFO: Extracted packet for processing {"connection_id":133711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f660e"} 
[2026-07-15 19:25:06] local.INFO: GPS Element Parsed {"raw_longitude":763169344,"raw_latitude":97053728,"longitude_deg":76.3169344,"latitude_deg":9.7053728,"altitude":5,"angle":356,"satellites":41,"speed":42,"hex_longitude":"2d7d0a40","hex_latitude":"05c8ec20","is_valid_coordinates":true} 
[2026-07-15 19:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735646976001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347330831246688256,"note":"Value kept but may cause issues"} 
[2026-07-15 19:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010576979304976384,"note":"Value kept but may cause issues"} 
[2026-07-15 19:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784123630000,"timestamp_ms":1784123630000,"timestamp_seconds":1784123630,"priority":1,"record_length":96,"hex_timestamp":"0000019f660e21b0"} 
[2026-07-15 19:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-15 19:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735646976001,"66":27267,"131":206,"85":15104,"24":42,"16":347330831246688256,"45":9010576979304976384},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-07-15 19:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735646976001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:25:06] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-15 19:25:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347330831246688256,"km_value":347330831246688.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010576979304976384,"description":"Unknown IO ID 45"} 
[2026-07-15 19:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735646976001,"power":27267,"unknown_131":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9010576979304976384}} 
[2026-07-15 19:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":133711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:25:06] local.INFO: GPS data processed {"connection_id":133711,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:25:06] local.INFO: Acknowledgment sent {"connection_id":133711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:25:28] local.INFO: TCP Data received {"connection_id":132862,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f660e3d08012d18594007220040005300c626..."} 
[2026-07-15 19:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f660e3d08012d18594007220040005300c626..."} 
[2026-07-15 19:25:28] local.INFO: Processing buffer {"connection_id":132862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f660e3d08012d18594007220040005300c626..."} 
[2026-07-15 19:25:28] local.INFO: Packet analysis {"connection_id":132862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f660e"} 
[2026-07-15 19:25:28] local.INFO: Extracted packet for processing {"connection_id":132862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f660e"} 
[2026-07-15 19:25:28] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119668800,"longitude_deg":75.6570432,"latitude_deg":11.96688,"altitude":83,"angle":198,"satellites":38,"speed":0,"hex_longitude":"2d185940","hex_latitude":"07220040","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735645696001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6244504491261952,"note":"Value kept but may cause issues"} 
[2026-07-15 19:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929216909312,"note":"Value kept but may cause issues"} 
[2026-07-15 19:25: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-07-15 19:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784123637000,"timestamp_ms":1784123637000,"timestamp_seconds":1784123637,"priority":1,"record_length":96,"hex_timestamp":"0000019f660e3d08"} 
[2026-07-15 19:25:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:25:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-15 19:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-15 19:25:28] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197030093,"note":"Value kept but may cause issues"} 
[2026-07-15 19:25:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-15 19:25:28] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3623955736,"note":"Value kept but may cause issues"} 
[2026-07-15 19:25:28] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-07-15 19:25:28] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,120,28,24,241,158,16,47,159,152,45,64,83,38,10,66,70,40,244,1,240,249,102,34,4,113,205,80,89,41,239,49,2,22,7,231],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-15 19:25:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5980998175954042880,"timestamp_seconds":5980998175954043.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 19:25:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:25:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735645696001,"66":12461,"120":206,"28":31744,"24":0,"16":6244504491261952,"45":1754503929216909312},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735645696001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:25:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:25:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6244504491261952,"km_value":6244504491261.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929216909312,"description":"Unknown IO ID 45"} 
[2026-07-15 19:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735645696001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754503929216909312}} 
[2026-07-15 19:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":132862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:25:28] local.INFO: GPS data processed {"connection_id":132862,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:25:28] local.INFO: Acknowledgment sent {"connection_id":132862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:25:37] local.INFO: TCP Data received {"connection_id":133711,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f660e44d8012d7d094005c91288000600002b..."} 
[2026-07-15 19:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f660e44d8012d7d094005c91288000600002b..."} 
[2026-07-15 19:25:37] local.INFO: Processing buffer {"connection_id":133711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f660e44d8012d7d094005c91288000600002b..."} 
[2026-07-15 19:25:37] local.INFO: Packet analysis {"connection_id":133711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f660e"} 
[2026-07-15 19:25:37] local.INFO: Extracted packet for processing {"connection_id":133711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f660e"} 
[2026-07-15 19:25:37] local.INFO: GPS Element Parsed {"raw_longitude":763169088,"raw_latitude":97063560,"longitude_deg":76.3169088,"latitude_deg":9.706356,"altitude":6,"angle":0,"satellites":43,"speed":43,"hex_longitude":"2d7d0940","hex_latitude":"05c91288","is_valid_coordinates":true} 
[2026-07-15 19:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735649280001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347331307988058112,"note":"Value kept but may cause issues"} 
[2026-07-15 19:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010084398098030592,"note":"Value kept but may cause issues"} 
[2026-07-15 19:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784123639000,"timestamp_ms":1784123639000,"timestamp_seconds":1784123639,"priority":1,"record_length":96,"hex_timestamp":"0000019f660e44d8"} 
[2026-07-15 19:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-15 19:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735649280001,"66":27267,"131":206,"85":15104,"24":43,"16":347331307988058112,"45":9010084398098030592},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-07-15 19:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735649280001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:25:37] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-15 19:25:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347331307988058112,"km_value":347331307988058.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010084398098030592,"description":"Unknown IO ID 45"} 
[2026-07-15 19:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735649280001,"power":27267,"unknown_131":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9010084398098030592}} 
[2026-07-15 19:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":133711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:25:37] local.INFO: GPS data processed {"connection_id":133711,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:25:37] local.INFO: Acknowledgment sent {"connection_id":133711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:25:50] local.INFO: TCP Data received {"connection_id":132685,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:25:50] local.INFO: Processing buffer {"connection_id":132685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:25:50] local.INFO: IMEI packet received {"connection_id":132685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":132685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:25:55] local.INFO: TCP Data received {"connection_id":132685,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:25:55] local.INFO: Processing buffer {"connection_id":132685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:25:55] local.INFO: IMEI packet received {"connection_id":132685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":132685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:25:56] local.INFO: TCP Data received {"connection_id":132685,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f660e8f10012d18594007220040005300c629..."} 
[2026-07-15 19:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f660e8f10012d18594007220040005300c629..."} 
[2026-07-15 19:25:56] local.INFO: Processing buffer {"connection_id":132685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f660e8f10012d18594007220040005300c629..."} 
[2026-07-15 19:25:56] local.INFO: Packet analysis {"connection_id":132685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f660e"} 
[2026-07-15 19:25:56] local.INFO: Extracted packet for processing {"connection_id":132685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f660e"} 
[2026-07-15 19:25:56] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119668800,"longitude_deg":75.6570432,"latitude_deg":11.96688,"altitude":83,"angle":198,"satellites":41,"speed":0,"hex_longitude":"2d185940","hex_latitude":"07220040","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735651072001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6244504491261952,"note":"Value kept but may cause issues"} 
[2026-07-15 19:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929216909312,"note":"Value kept but may cause issues"} 
[2026-07-15 19:25: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-07-15 19:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784123658000,"timestamp_ms":1784123658000,"timestamp_seconds":1784123658,"priority":1,"record_length":96,"hex_timestamp":"0000019f660e8f10"} 
[2026-07-15 19:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:25:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 19:25:56] 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-07-15 19: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-07-15 19:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735651072001,"66":12526,"120":206,"28":31744,"24":0,"16":6244504491261952,"45":1754503929216909312},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735651072001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:25:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:25:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6244504491261952,"km_value":6244504491261.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929216909312,"description":"Unknown IO ID 45"} 
[2026-07-15 19:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735651072001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754503929216909312}} 
[2026-07-15 19:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":132685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:25:56] local.INFO: GPS data processed {"connection_id":132685,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:25:56] local.INFO: Acknowledgment sent {"connection_id":132685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:26:00] local.INFO: TCP Data received {"connection_id":132864,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:26:00] local.INFO: Processing buffer {"connection_id":132864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:26:00] local.INFO: IMEI packet received {"connection_id":132864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":132864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:26:00] local.INFO: TCP Data received {"connection_id":132864,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:26:00] local.INFO: Processing buffer {"connection_id":132864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:26:00] local.INFO: IMEI packet received {"connection_id":132864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":132864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:26:05] local.INFO: TCP Data received {"connection_id":132864,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:26:05] local.INFO: Processing buffer {"connection_id":132864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:26:05] local.INFO: IMEI packet received {"connection_id":132864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":132864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:26:05] local.INFO: TCP Data received {"connection_id":132864,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f660e73b8012d7d088005c93708000601652b..."} 
[2026-07-15 19:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f660e73b8012d7d088005c93708000601652b..."} 
[2026-07-15 19:26:05] local.INFO: Processing buffer {"connection_id":132864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f660e73b8012d7d088005c93708000601652b..."} 
[2026-07-15 19:26:05] local.INFO: Packet analysis {"connection_id":132864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f660e"} 
[2026-07-15 19:26:05] local.INFO: Extracted packet for processing {"connection_id":132864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f660e"} 
[2026-07-15 19:26:05] local.INFO: GPS Element Parsed {"raw_longitude":763168896,"raw_latitude":97072904,"longitude_deg":76.3168896,"latitude_deg":9.7072904,"altitude":6,"angle":357,"satellites":43,"speed":29,"hex_longitude":"2d7d0880","hex_latitude":"05c93708","is_valid_coordinates":true} 
[2026-07-15 19:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735651584001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347331763254591488,"note":"Value kept but may cause issues"} 
[2026-07-15 19:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009802923123836928,"note":"Value kept but may cause issues"} 
[2026-07-15 19:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784123651000,"timestamp_ms":1784123651000,"timestamp_seconds":1784123651,"priority":1,"record_length":96,"hex_timestamp":"0000019f660e73b8"} 
[2026-07-15 19:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-15 19:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:26:05] 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-07-15 19:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735651584001,"66":27213,"131":206,"85":15104,"24":29,"16":347331763254591488,"45":9009802923123836928},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-07-15 19:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735651584001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:26:05] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-15 19:26:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347331763254591488,"km_value":347331763254591.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009802923123836928,"description":"Unknown IO ID 45"} 
[2026-07-15 19:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735651584001,"power":27213,"unknown_131":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9009802923123836928}} 
[2026-07-15 19:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":132864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:26:05] local.INFO: GPS data processed {"connection_id":132864,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:26:05] local.INFO: Acknowledgment sent {"connection_id":132864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:26:28] local.INFO: TCP Data received {"connection_id":132685,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f660ee118012d18594007220040005300c624..."} 
[2026-07-15 19:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f660ee118012d18594007220040005300c624..."} 
[2026-07-15 19:26:28] local.INFO: Processing buffer {"connection_id":132685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f660ee118012d18594007220040005300c624..."} 
[2026-07-15 19:26:28] local.INFO: Packet analysis {"connection_id":132685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f660e"} 
[2026-07-15 19:26:28] local.INFO: Extracted packet for processing {"connection_id":132685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f660e"} 
[2026-07-15 19:26:28] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119668800,"longitude_deg":75.6570432,"latitude_deg":11.96688,"altitude":83,"angle":198,"satellites":36,"speed":0,"hex_longitude":"2d185940","hex_latitude":"07220040","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735656448001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6244504491261952,"note":"Value kept but may cause issues"} 
[2026-07-15 19:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929216909312,"note":"Value kept but may cause issues"} 
[2026-07-15 19:26: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-07-15 19:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784123679000,"timestamp_ms":1784123679000,"timestamp_seconds":1784123679,"priority":1,"record_length":96,"hex_timestamp":"0000019f660ee118"} 
[2026-07-15 19:26:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:26:28] 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-07-15 19: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 19:26:28] 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-07-15 19: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-07-15 19:26:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:26:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735656448001,"66":12504,"120":206,"28":31744,"24":0,"16":6244504491261952,"45":1754503929216909312},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735656448001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:26:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:26:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6244504491261952,"km_value":6244504491261.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929216909312,"description":"Unknown IO ID 45"} 
[2026-07-15 19:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735656448001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754503929216909312}} 
[2026-07-15 19:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":132685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:26:28] local.INFO: GPS data processed {"connection_id":132685,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:26:28] local.INFO: Acknowledgment sent {"connection_id":132685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:26:37] local.INFO: TCP Data received {"connection_id":132864,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f660fdb18012d7d2b4005cb1d30000500022c..."} 
[2026-07-15 19:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f660fdb18012d7d2b4005cb1d30000500022c..."} 
[2026-07-15 19:26:37] local.INFO: Processing buffer {"connection_id":132864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f660fdb18012d7d2b4005cb1d30000500022c..."} 
[2026-07-15 19:26:37] local.INFO: Packet analysis {"connection_id":132864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f660f"} 
[2026-07-15 19:26:37] local.INFO: Extracted packet for processing {"connection_id":132864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f660f"} 
[2026-07-15 19:26:37] local.INFO: GPS Element Parsed {"raw_longitude":763177792,"raw_latitude":97197360,"longitude_deg":76.3177792,"latitude_deg":9.719736,"altitude":5,"angle":2,"satellites":44,"speed":57,"hex_longitude":"2d7d2b40","hex_latitude":"05cb1d30","is_valid_coordinates":true} 
[2026-07-15 19:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735676416001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347337814863511552,"note":"Value kept but may cause issues"} 
[2026-07-15 19:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018528647433510912,"note":"Value kept but may cause issues"} 
[2026-07-15 19:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784123743000,"timestamp_ms":1784123743000,"timestamp_seconds":1784123743,"priority":1,"record_length":96,"hex_timestamp":"0000019f660fdb18"} 
[2026-07-15 19:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-15 19:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735676416001,"66":27365,"131":206,"85":15104,"24":57,"16":347337814863511552,"45":9018528647433510912},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-07-15 19:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735676416001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:26:37] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-15 19:26:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347337814863511552,"km_value":347337814863511.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018528647433510912,"description":"Unknown IO ID 45"} 
[2026-07-15 19:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735676416001,"power":27365,"unknown_131":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":9018528647433510912}} 
[2026-07-15 19:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":132864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:26:37] local.INFO: GPS data processed {"connection_id":132864,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:26:37] local.INFO: Acknowledgment sent {"connection_id":132864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:26:50] local.INFO: TCP Data received {"connection_id":133713,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:26:50] local.INFO: Processing buffer {"connection_id":133713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:26:50] local.INFO: IMEI packet received {"connection_id":133713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":133713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:26:55] local.INFO: TCP Data received {"connection_id":133713,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:26:55] local.INFO: Processing buffer {"connection_id":133713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:26:55] local.INFO: IMEI packet received {"connection_id":133713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":133713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:26:56] local.INFO: TCP Data received {"connection_id":133713,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f660f3320012d18594007220040005300c626..."} 
[2026-07-15 19:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f660f3320012d18594007220040005300c626..."} 
[2026-07-15 19:26:56] local.INFO: Processing buffer {"connection_id":133713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f660f3320012d18594007220040005300c626..."} 
[2026-07-15 19:26:56] local.INFO: Packet analysis {"connection_id":133713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f660f"} 
[2026-07-15 19:26:56] local.INFO: Extracted packet for processing {"connection_id":133713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f660f"} 
[2026-07-15 19:26:56] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119668800,"longitude_deg":75.6570432,"latitude_deg":11.96688,"altitude":83,"angle":198,"satellites":38,"speed":0,"hex_longitude":"2d185940","hex_latitude":"07220040","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735661824001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6244504491261952,"note":"Value kept but may cause issues"} 
[2026-07-15 19:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929216909312,"note":"Value kept but may cause issues"} 
[2026-07-15 19:26: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-07-15 19:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784123700000,"timestamp_ms":1784123700000,"timestamp_seconds":1784123700,"priority":1,"record_length":96,"hex_timestamp":"0000019f660f3320"} 
[2026-07-15 19:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:26:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-15 19:26:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19: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-07-15 19:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735661824001,"66":12406,"120":206,"28":31744,"24":0,"16":6244504491261952,"45":1754503929216909312},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735661824001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:26:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:26:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6244504491261952,"km_value":6244504491261.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929216909312,"description":"Unknown IO ID 45"} 
[2026-07-15 19:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735661824001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754503929216909312}} 
[2026-07-15 19:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":133713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:26:56] local.INFO: GPS data processed {"connection_id":133713,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:26:56] local.INFO: Acknowledgment sent {"connection_id":133713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:27:00] local.INFO: TCP Data received {"connection_id":135079,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:27:00] local.INFO: Processing buffer {"connection_id":135079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:27:00] local.INFO: IMEI packet received {"connection_id":135079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":135079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:27:28] local.INFO: TCP Data received {"connection_id":133713,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f660f8528012d18594007220040005300c629..."} 
[2026-07-15 19:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f660f8528012d18594007220040005300c629..."} 
[2026-07-15 19:27:28] local.INFO: Processing buffer {"connection_id":133713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f660f8528012d18594007220040005300c629..."} 
[2026-07-15 19:27:28] local.INFO: Packet analysis {"connection_id":133713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f660f"} 
[2026-07-15 19:27:28] local.INFO: Extracted packet for processing {"connection_id":133713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f660f"} 
[2026-07-15 19:27:28] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119668800,"longitude_deg":75.6570432,"latitude_deg":11.96688,"altitude":83,"angle":198,"satellites":41,"speed":0,"hex_longitude":"2d185940","hex_latitude":"07220040","is_valid_coordinates":true} 
[2026-07-15 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-07-15 19:27:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735667200001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:27:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6244504491261952,"note":"Value kept but may cause issues"} 
[2026-07-15 19:27:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929216909312,"note":"Value kept but may cause issues"} 
[2026-07-15 19:27: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-07-15 19:27:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784123721000,"timestamp_ms":1784123721000,"timestamp_seconds":1784123721,"priority":1,"record_length":96,"hex_timestamp":"0000019f660f8528"} 
[2026-07-15 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-07-15 19:27:28] 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-07-15 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 19:27:28] 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-07-15 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-07-15 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-07-15 19:27:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:27:28] local.INFO: Teltonika packet parsed successfully {"connection_id":133713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:27:28] local.INFO: Passing IMEI to GPS processor {"connection_id":133713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:27:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":133713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:27:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:27:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:27:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:27:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735667200001,"66":12461,"120":206,"28":31744,"24":0,"16":6244504491261952,"45":1754503929216909312},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:27:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:27:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:27:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735667200001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:27:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:27:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:27:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6244504491261952,"km_value":6244504491261.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:27:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929216909312,"description":"Unknown IO ID 45"} 
[2026-07-15 19:27:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735667200001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754503929216909312}} 
[2026-07-15 19:27:28] local.INFO: DEBUG: GPS processor result {"connection_id":133713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492608,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:27:28] local.INFO: GPS data processed {"connection_id":133713,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:27:28] local.INFO: Acknowledgment sent {"connection_id":133713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:27:29] local.INFO: TCP Data received {"connection_id":135079,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:27:29] local.INFO: Processing buffer {"connection_id":135079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:27:29] local.INFO: IMEI packet received {"connection_id":135079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":135079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:27:52] local.INFO: TCP Data received {"connection_id":135079,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:27:52] local.INFO: Processing buffer {"connection_id":135079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:27:52] local.INFO: IMEI packet received {"connection_id":135079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":135079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:27:55] local.INFO: TCP Data received {"connection_id":132686,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:27:55] local.INFO: Processing buffer {"connection_id":132686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:27:55] local.INFO: IMEI packet received {"connection_id":132686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":132686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:28:00] local.INFO: TCP Data received {"connection_id":132686,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:28:00] local.INFO: Processing buffer {"connection_id":132686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:28:00] local.INFO: IMEI packet received {"connection_id":132686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":132686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:28:01] local.INFO: TCP Data received {"connection_id":132686,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f660fd730012d18594007220040005300c629..."} 
[2026-07-15 19:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f660fd730012d18594007220040005300c629..."} 
[2026-07-15 19:28:01] local.INFO: Processing buffer {"connection_id":132686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f660fd730012d18594007220040005300c629..."} 
[2026-07-15 19:28:01] local.INFO: Packet analysis {"connection_id":132686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f660f"} 
[2026-07-15 19:28:01] local.INFO: Extracted packet for processing {"connection_id":132686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f660f"} 
[2026-07-15 19:28:01] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119668800,"longitude_deg":75.6570432,"latitude_deg":11.96688,"altitude":83,"angle":198,"satellites":41,"speed":0,"hex_longitude":"2d185940","hex_latitude":"07220040","is_valid_coordinates":true} 
[2026-07-15 19:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735672576001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6244504491261952,"note":"Value kept but may cause issues"} 
[2026-07-15 19:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929216909312,"note":"Value kept but may cause issues"} 
[2026-07-15 19:28:01] 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-07-15 19:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784123742000,"timestamp_ms":1784123742000,"timestamp_seconds":1784123742,"priority":1,"record_length":96,"hex_timestamp":"0000019f660fd730"} 
[2026-07-15 19:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:28:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 19:28:01] 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-07-15 19:28:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":132686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":132686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":132686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735672576001,"66":12461,"120":206,"28":31744,"24":0,"16":6244504491261952,"45":1754503929216909312},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735672576001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:28:01] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:28:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6244504491261952,"km_value":6244504491261.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929216909312,"description":"Unknown IO ID 45"} 
[2026-07-15 19:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735672576001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754503929216909312}} 
[2026-07-15 19:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":132686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:28:01] local.INFO: GPS data processed {"connection_id":132686,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:28:01] local.INFO: Acknowledgment sent {"connection_id":132686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:28:06] local.INFO: TCP Data received {"connection_id":132686,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66102938012d18594007220040005300c627..."} 
[2026-07-15 19:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66102938012d18594007220040005300c627..."} 
[2026-07-15 19:28:06] local.INFO: Processing buffer {"connection_id":132686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66102938012d18594007220040005300c627..."} 
[2026-07-15 19:28:06] local.INFO: Packet analysis {"connection_id":132686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6610"} 
[2026-07-15 19:28:06] local.INFO: Extracted packet for processing {"connection_id":132686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6610"} 
[2026-07-15 19:28:06] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119668800,"longitude_deg":75.6570432,"latitude_deg":11.96688,"altitude":83,"angle":198,"satellites":39,"speed":0,"hex_longitude":"2d185940","hex_latitude":"07220040","is_valid_coordinates":true} 
[2026-07-15 19:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735677952001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6244504491261952,"note":"Value kept but may cause issues"} 
[2026-07-15 19:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929216909312,"note":"Value kept but may cause issues"} 
[2026-07-15 19:28:06] 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-07-15 19:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784123763000,"timestamp_ms":1784123763000,"timestamp_seconds":1784123763,"priority":1,"record_length":96,"hex_timestamp":"0000019f66102938"} 
[2026-07-15 19:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 19:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735677952001,"66":12461,"120":206,"28":31744,"24":0,"16":6244504491261952,"45":1754503929216909312},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735677952001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:28:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:28:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6244504491261952,"km_value":6244504491261.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929216909312,"description":"Unknown IO ID 45"} 
[2026-07-15 19:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735677952001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754503929216909312}} 
[2026-07-15 19:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":132686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:28:06] local.INFO: GPS data processed {"connection_id":132686,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:28:06] local.INFO: Acknowledgment sent {"connection_id":132686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:28:10] local.INFO: TCP Data received {"connection_id":133714,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:28:10] local.INFO: Processing buffer {"connection_id":133714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:28:10] local.INFO: IMEI packet received {"connection_id":133714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":133714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:28:47] local.INFO: TCP Data received {"connection_id":132865,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:28:47] local.INFO: Processing buffer {"connection_id":132865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:28:47] local.INFO: IMEI packet received {"connection_id":132865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":132865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:28:51] local.INFO: TCP Data received {"connection_id":132865,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:28:51] local.INFO: Processing buffer {"connection_id":132865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:28:51] local.INFO: IMEI packet received {"connection_id":132865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":132865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:28:55] local.INFO: TCP Data received {"connection_id":132865,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:28:55] local.INFO: Processing buffer {"connection_id":132865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:28:55] local.INFO: IMEI packet received {"connection_id":132865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":132865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:28:56] local.INFO: TCP Data received {"connection_id":132865,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66107b40012d18594007220040005300c628..."} 
[2026-07-15 19:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66107b40012d18594007220040005300c628..."} 
[2026-07-15 19:28:56] local.INFO: Processing buffer {"connection_id":132865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66107b40012d18594007220040005300c628..."} 
[2026-07-15 19:28:56] local.INFO: Packet analysis {"connection_id":132865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6610"} 
[2026-07-15 19:28:56] local.INFO: Extracted packet for processing {"connection_id":132865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6610"} 
[2026-07-15 19:28:56] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119668800,"longitude_deg":75.6570432,"latitude_deg":11.96688,"altitude":83,"angle":198,"satellites":40,"speed":0,"hex_longitude":"2d185940","hex_latitude":"07220040","is_valid_coordinates":true} 
[2026-07-15 19:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735683328001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6244504491261952,"note":"Value kept but may cause issues"} 
[2026-07-15 19:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929216909312,"note":"Value kept but may cause issues"} 
[2026-07-15 19:28: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-07-15 19:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784123784000,"timestamp_ms":1784123784000,"timestamp_seconds":1784123784,"priority":1,"record_length":96,"hex_timestamp":"0000019f66107b40"} 
[2026-07-15 19:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:28:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 19:28:56] 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-07-15 19:28:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735683328001,"66":12461,"120":206,"28":31744,"24":0,"16":6244504491261952,"45":1754503929216909312},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735683328001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:28:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:28:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6244504491261952,"km_value":6244504491261.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929216909312,"description":"Unknown IO ID 45"} 
[2026-07-15 19:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735683328001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754503929216909312}} 
[2026-07-15 19:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":132865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:28:56] local.INFO: GPS data processed {"connection_id":132865,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:28:56] local.INFO: Acknowledgment sent {"connection_id":132865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:29:01] local.INFO: TCP Data received {"connection_id":132865,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6610cd48012d18594007220040005300c627..."} 
[2026-07-15 19:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6610cd48012d18594007220040005300c627..."} 
[2026-07-15 19:29:01] local.INFO: Processing buffer {"connection_id":132865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6610cd48012d18594007220040005300c627..."} 
[2026-07-15 19:29:01] local.INFO: Packet analysis {"connection_id":132865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6610"} 
[2026-07-15 19:29:01] local.INFO: Extracted packet for processing {"connection_id":132865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6610"} 
[2026-07-15 19:29:01] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119668800,"longitude_deg":75.6570432,"latitude_deg":11.96688,"altitude":83,"angle":198,"satellites":39,"speed":0,"hex_longitude":"2d185940","hex_latitude":"07220040","is_valid_coordinates":true} 
[2026-07-15 19:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735688704001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6244504491261952,"note":"Value kept but may cause issues"} 
[2026-07-15 19:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929216909312,"note":"Value kept but may cause issues"} 
[2026-07-15 19:29:01] 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-07-15 19:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784123805000,"timestamp_ms":1784123805000,"timestamp_seconds":1784123805,"priority":1,"record_length":96,"hex_timestamp":"0000019f6610cd48"} 
[2026-07-15 19:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:29:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 19:29:01] 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-07-15 19:29:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":132865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":132865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":132865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:29:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735688704001,"66":12461,"120":206,"28":31744,"24":0,"16":6244504491261952,"45":1754503929216909312},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735688704001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:29:01] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:29:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6244504491261952,"km_value":6244504491261.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929216909312,"description":"Unknown IO ID 45"} 
[2026-07-15 19:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735688704001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754503929216909312}} 
[2026-07-15 19:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":132865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:29:01] local.INFO: GPS data processed {"connection_id":132865,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:29:01] local.INFO: Acknowledgment sent {"connection_id":132865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:29:04] local.INFO: TCP Data received {"connection_id":135081,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135081,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:29:04] local.INFO: Processing buffer {"connection_id":135081,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:29:04] local.INFO: IMEI packet received {"connection_id":135081,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 19:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":135081,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:29:34] local.INFO: TCP Data received {"connection_id":135082,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135082,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:29:34] local.INFO: Processing buffer {"connection_id":135082,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:29:34] local.INFO: IMEI packet received {"connection_id":135082,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 19:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":135082,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:29:35] local.INFO: TCP Data received {"connection_id":132865,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66111f50012d18594007220040005300c625..."} 
[2026-07-15 19:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66111f50012d18594007220040005300c625..."} 
[2026-07-15 19:29:35] local.INFO: Processing buffer {"connection_id":132865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66111f50012d18594007220040005300c625..."} 
[2026-07-15 19:29:35] local.INFO: Packet analysis {"connection_id":132865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6611"} 
[2026-07-15 19:29:35] local.INFO: Extracted packet for processing {"connection_id":132865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6611"} 
[2026-07-15 19:29:35] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119668800,"longitude_deg":75.6570432,"latitude_deg":11.96688,"altitude":83,"angle":198,"satellites":37,"speed":0,"hex_longitude":"2d185940","hex_latitude":"07220040","is_valid_coordinates":true} 
[2026-07-15 19:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735694080001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6244504491261952,"note":"Value kept but may cause issues"} 
[2026-07-15 19:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929216909312,"note":"Value kept but may cause issues"} 
[2026-07-15 19:29:35] 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-07-15 19:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784123826000,"timestamp_ms":1784123826000,"timestamp_seconds":1784123826,"priority":1,"record_length":96,"hex_timestamp":"0000019f66111f50"} 
[2026-07-15 19:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 19:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735694080001,"66":12461,"120":206,"28":31744,"24":0,"16":6244504491261952,"45":1754503929216909312},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735694080001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:29:35] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:29:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6244504491261952,"km_value":6244504491261.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929216909312,"description":"Unknown IO ID 45"} 
[2026-07-15 19:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735694080001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754503929216909312}} 
[2026-07-15 19:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":132865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:29:35] local.INFO: GPS data processed {"connection_id":132865,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:29:35] local.INFO: Acknowledgment sent {"connection_id":132865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:29:50] local.INFO: TCP Data received {"connection_id":135083,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:29:50] local.INFO: Processing buffer {"connection_id":135083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:29:50] local.INFO: IMEI packet received {"connection_id":135083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":135083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:29:50] local.INFO: TCP Data received {"connection_id":135083,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:29:50] local.INFO: Processing buffer {"connection_id":135083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:29:50] local.INFO: IMEI packet received {"connection_id":135083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":135083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:29:55] local.INFO: TCP Data received {"connection_id":135083,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:29:55] local.INFO: Processing buffer {"connection_id":135083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:29:55] local.INFO: IMEI packet received {"connection_id":135083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":135083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:29:55] local.INFO: TCP Data received {"connection_id":135083,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66117158012d18594007220040005300c622..."} 
[2026-07-15 19:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66117158012d18594007220040005300c622..."} 
[2026-07-15 19:29:55] local.INFO: Processing buffer {"connection_id":135083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66117158012d18594007220040005300c622..."} 
[2026-07-15 19:29:55] local.INFO: Packet analysis {"connection_id":135083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6611"} 
[2026-07-15 19:29:55] local.INFO: Extracted packet for processing {"connection_id":135083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6611"} 
[2026-07-15 19:29:55] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119668800,"longitude_deg":75.6570432,"latitude_deg":11.96688,"altitude":83,"angle":198,"satellites":34,"speed":0,"hex_longitude":"2d185940","hex_latitude":"07220040","is_valid_coordinates":true} 
[2026-07-15 19:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735699456001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6244504491261952,"note":"Value kept but may cause issues"} 
[2026-07-15 19:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929216909312,"note":"Value kept but may cause issues"} 
[2026-07-15 19:29: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-07-15 19:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784123847000,"timestamp_ms":1784123847000,"timestamp_seconds":1784123847,"priority":1,"record_length":96,"hex_timestamp":"0000019f66117158"} 
[2026-07-15 19:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:29:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 19:29:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:29:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":135083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":135083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":135083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735699456001,"66":12461,"120":206,"28":31744,"24":0,"16":6244504491261952,"45":1754503929216909312},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735699456001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:29:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:29:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6244504491261952,"km_value":6244504491261.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929216909312,"description":"Unknown IO ID 45"} 
[2026-07-15 19:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735699456001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754503929216909312}} 
[2026-07-15 19:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":135083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:29:56] local.INFO: GPS data processed {"connection_id":135083,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:29:56] local.INFO: Acknowledgment sent {"connection_id":135083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:30:27] local.INFO: TCP Data received {"connection_id":135083,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6611c360012d18594007220040005300c625..."} 
[2026-07-15 19:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6611c360012d18594007220040005300c625..."} 
[2026-07-15 19:30:27] local.INFO: Processing buffer {"connection_id":135083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6611c360012d18594007220040005300c625..."} 
[2026-07-15 19:30:27] local.INFO: Packet analysis {"connection_id":135083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6611"} 
[2026-07-15 19:30:27] local.INFO: Extracted packet for processing {"connection_id":135083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6611"} 
[2026-07-15 19:30:27] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119668800,"longitude_deg":75.6570432,"latitude_deg":11.96688,"altitude":83,"angle":198,"satellites":37,"speed":0,"hex_longitude":"2d185940","hex_latitude":"07220040","is_valid_coordinates":true} 
[2026-07-15 19:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735704832001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6244504491261952,"note":"Value kept but may cause issues"} 
[2026-07-15 19:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929216909312,"note":"Value kept but may cause issues"} 
[2026-07-15 19:30:27] 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-07-15 19:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784123868000,"timestamp_ms":1784123868000,"timestamp_seconds":1784123868,"priority":1,"record_length":96,"hex_timestamp":"0000019f6611c360"} 
[2026-07-15 19:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 19:30:27] 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-07-15 19:30:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":135083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":135083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":135083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735704832001,"66":12461,"120":206,"28":31744,"24":0,"16":6244504491261952,"45":1754503929216909312},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735704832001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:30:27] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:30:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6244504491261952,"km_value":6244504491261.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929216909312,"description":"Unknown IO ID 45"} 
[2026-07-15 19:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735704832001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754503929216909312}} 
[2026-07-15 19:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":135083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492615,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:30:27] local.INFO: GPS data processed {"connection_id":135083,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:30:27] local.INFO: Acknowledgment sent {"connection_id":135083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:30:50] local.INFO: TCP Data received {"connection_id":132866,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:30:50] local.INFO: Processing buffer {"connection_id":132866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:30:50] local.INFO: IMEI packet received {"connection_id":132866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":132866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:30:53] local.INFO: TCP Data received {"connection_id":132866,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:30:53] local.INFO: Processing buffer {"connection_id":132866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:30:53] local.INFO: IMEI packet received {"connection_id":132866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":132866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:30:54] local.INFO: TCP Data received {"connection_id":132866,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66121568012d18594007220040005300c629..."} 
[2026-07-15 19:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66121568012d18594007220040005300c629..."} 
[2026-07-15 19:30:54] local.INFO: Processing buffer {"connection_id":132866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66121568012d18594007220040005300c629..."} 
[2026-07-15 19:30:54] local.INFO: Packet analysis {"connection_id":132866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6612"} 
[2026-07-15 19:30:54] local.INFO: Extracted packet for processing {"connection_id":132866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6612"} 
[2026-07-15 19:30:54] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119668800,"longitude_deg":75.6570432,"latitude_deg":11.96688,"altitude":83,"angle":198,"satellites":41,"speed":0,"hex_longitude":"2d185940","hex_latitude":"07220040","is_valid_coordinates":true} 
[2026-07-15 19:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735710208001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6244504491261952,"note":"Value kept but may cause issues"} 
[2026-07-15 19:30:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929216909312,"note":"Value kept but may cause issues"} 
[2026-07-15 19:30:54] 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-07-15 19:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784123889000,"timestamp_ms":1784123889000,"timestamp_seconds":1784123889,"priority":1,"record_length":96,"hex_timestamp":"0000019f66121568"} 
[2026-07-15 19:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:30:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 19:30: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-07-15 19:30:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":132866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":132866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":132866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:30:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735710208001,"66":11721,"120":206,"28":31744,"24":0,"16":6244504491261952,"45":1754503929216909312},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735710208001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:30:54] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:30:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6244504491261952,"km_value":6244504491261.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929216909312,"description":"Unknown IO ID 45"} 
[2026-07-15 19:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735710208001,"power":11721,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754503929216909312}} 
[2026-07-15 19:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":132866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:30:55] local.INFO: GPS data processed {"connection_id":132866,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:30:55] local.INFO: Acknowledgment sent {"connection_id":132866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:31:26] local.INFO: TCP Data received {"connection_id":132866,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66126770012d18594007220040005300c627..."} 
[2026-07-15 19:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66126770012d18594007220040005300c627..."} 
[2026-07-15 19:31:26] local.INFO: Processing buffer {"connection_id":132866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66126770012d18594007220040005300c627..."} 
[2026-07-15 19:31:26] local.INFO: Packet analysis {"connection_id":132866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6612"} 
[2026-07-15 19:31:26] local.INFO: Extracted packet for processing {"connection_id":132866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6612"} 
[2026-07-15 19:31:26] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119668800,"longitude_deg":75.6570432,"latitude_deg":11.96688,"altitude":83,"angle":198,"satellites":39,"speed":0,"hex_longitude":"2d185940","hex_latitude":"07220040","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735715584001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6244504491261952,"note":"Value kept but may cause issues"} 
[2026-07-15 19:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929216909312,"note":"Value kept but may cause issues"} 
[2026-07-15 19:31:26] 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-07-15 19:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784123910000,"timestamp_ms":1784123910000,"timestamp_seconds":1784123910,"priority":1,"record_length":96,"hex_timestamp":"0000019f66126770"} 
[2026-07-15 19:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:31:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-15 19:31:26] 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-07-15 19: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-07-15 19:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":132866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":132866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":132866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:31:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735715584001,"66":12385,"120":206,"28":31744,"24":0,"16":6244504491261952,"45":1754503929216909312},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735715584001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:31:26] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:31:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6244504491261952,"km_value":6244504491261.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929216909312,"description":"Unknown IO ID 45"} 
[2026-07-15 19:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735715584001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754503929216909312}} 
[2026-07-15 19:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":132866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492617,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:31:26] local.INFO: GPS data processed {"connection_id":132866,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:31:26] local.INFO: Acknowledgment sent {"connection_id":132866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:31:50] local.INFO: TCP Data received {"connection_id":135084,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:31:50] local.INFO: Processing buffer {"connection_id":135084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:31:50] local.INFO: IMEI packet received {"connection_id":135084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":135084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:31:55] local.INFO: TCP Data received {"connection_id":135084,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:31:55] local.INFO: Processing buffer {"connection_id":135084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:31:55] local.INFO: IMEI packet received {"connection_id":135084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":135084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:31:57] local.INFO: TCP Data received {"connection_id":135084,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6612b978012d18594007220040005300c62a..."} 
[2026-07-15 19:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6612b978012d18594007220040005300c62a..."} 
[2026-07-15 19:31:57] local.INFO: Processing buffer {"connection_id":135084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6612b978012d18594007220040005300c62a..."} 
[2026-07-15 19:31:57] local.INFO: Packet analysis {"connection_id":135084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6612"} 
[2026-07-15 19:31:57] local.INFO: Extracted packet for processing {"connection_id":135084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6612"} 
[2026-07-15 19:31:57] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119668800,"longitude_deg":75.6570432,"latitude_deg":11.96688,"altitude":83,"angle":198,"satellites":42,"speed":0,"hex_longitude":"2d185940","hex_latitude":"07220040","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735720960001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6244504491261952,"note":"Value kept but may cause issues"} 
[2026-07-15 19:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929216909312,"note":"Value kept but may cause issues"} 
[2026-07-15 19:31:57] 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-07-15 19:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784123931000,"timestamp_ms":1784123931000,"timestamp_seconds":1784123931,"priority":1,"record_length":96,"hex_timestamp":"0000019f6612b978"} 
[2026-07-15 19:31:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:31:57] 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-07-15 19: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-15 19:31:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19: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-07-15 19:31:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":135084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":135084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":135084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:31:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735720960001,"66":12461,"120":206,"28":31744,"24":0,"16":6244504491261952,"45":1754503929216909312},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735720960001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:31:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:31:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6244504491261952,"km_value":6244504491261.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929216909312,"description":"Unknown IO ID 45"} 
[2026-07-15 19:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735720960001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754503929216909312}} 
[2026-07-15 19:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":135084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:31:57] local.INFO: GPS data processed {"connection_id":135084,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:31:57] local.INFO: Acknowledgment sent {"connection_id":135084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:32:28] local.INFO: TCP Data received {"connection_id":135084,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66130b80012d18594007220040005300c628..."} 
[2026-07-15 19:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66130b80012d18594007220040005300c628..."} 
[2026-07-15 19:32:28] local.INFO: Processing buffer {"connection_id":135084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66130b80012d18594007220040005300c628..."} 
[2026-07-15 19:32:28] local.INFO: Packet analysis {"connection_id":135084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6613"} 
[2026-07-15 19:32:28] local.INFO: Extracted packet for processing {"connection_id":135084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6613"} 
[2026-07-15 19:32:28] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119668800,"longitude_deg":75.6570432,"latitude_deg":11.96688,"altitude":83,"angle":198,"satellites":40,"speed":0,"hex_longitude":"2d185940","hex_latitude":"07220040","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735726336001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6244504491261952,"note":"Value kept but may cause issues"} 
[2026-07-15 19:32:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929216909312,"note":"Value kept but may cause issues"} 
[2026-07-15 19:32: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-07-15 19:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784123952000,"timestamp_ms":1784123952000,"timestamp_seconds":1784123952,"priority":1,"record_length":96,"hex_timestamp":"0000019f66130b80"} 
[2026-07-15 19:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:32:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 19:32: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-07-15 19: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-07-15 19:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":135084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":135084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":135084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735726336001,"66":12461,"120":206,"28":31744,"24":0,"16":6244504491261952,"45":1754503929216909312},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735726336001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:32:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:32:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6244504491261952,"km_value":6244504491261.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929216909312,"description":"Unknown IO ID 45"} 
[2026-07-15 19:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735726336001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754503929216909312}} 
[2026-07-15 19:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":135084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:32:28] local.INFO: GPS data processed {"connection_id":135084,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:32:28] local.INFO: Acknowledgment sent {"connection_id":135084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:32:50] local.INFO: TCP Data received {"connection_id":132692,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:32:50] local.INFO: Processing buffer {"connection_id":132692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:32:50] local.INFO: IMEI packet received {"connection_id":132692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":132692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:32:55] local.INFO: TCP Data received {"connection_id":132692,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:32:55] local.INFO: Processing buffer {"connection_id":132692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:32:55] local.INFO: IMEI packet received {"connection_id":132692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":132692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:32:56] local.INFO: TCP Data received {"connection_id":132692,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66135d88012d18594007220040005300c627..."} 
[2026-07-15 19:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66135d88012d18594007220040005300c627..."} 
[2026-07-15 19:32:56] local.INFO: Processing buffer {"connection_id":132692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66135d88012d18594007220040005300c627..."} 
[2026-07-15 19:32:56] local.INFO: Packet analysis {"connection_id":132692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6613"} 
[2026-07-15 19:32:56] local.INFO: Extracted packet for processing {"connection_id":132692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6613"} 
[2026-07-15 19:32:56] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119668800,"longitude_deg":75.6570432,"latitude_deg":11.96688,"altitude":83,"angle":198,"satellites":39,"speed":0,"hex_longitude":"2d185940","hex_latitude":"07220040","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735731712001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6244504491261952,"note":"Value kept but may cause issues"} 
[2026-07-15 19:32:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929216909312,"note":"Value kept but may cause issues"} 
[2026-07-15 19:32: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-07-15 19:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784123973000,"timestamp_ms":1784123973000,"timestamp_seconds":1784123973,"priority":1,"record_length":96,"hex_timestamp":"0000019f66135d88"} 
[2026-07-15 19:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:32:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 19:32:56] 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-07-15 19: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-07-15 19:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:32:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735731712001,"66":12461,"120":206,"28":31744,"24":0,"16":6244504491261952,"45":1754503929216909312},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735731712001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:32:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:32:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6244504491261952,"km_value":6244504491261.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:32:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929216909312,"description":"Unknown IO ID 45"} 
[2026-07-15 19:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735731712001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754503929216909312}} 
[2026-07-15 19:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":132692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:32:56] local.INFO: GPS data processed {"connection_id":132692,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:32:56] local.INFO: Acknowledgment sent {"connection_id":132692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:33:11] local.INFO: TCP Data received {"connection_id":135085,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:33:11] local.INFO: Processing buffer {"connection_id":135085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:33:11] local.INFO: IMEI packet received {"connection_id":135085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":135085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:33:12] local.INFO: TCP Data received {"connection_id":135085,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6614fb98012d7d47c005cebf780008016627..."} 
[2026-07-15 19:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6614fb98012d7d47c005cebf780008016627..."} 
[2026-07-15 19:33:12] local.INFO: Processing buffer {"connection_id":135085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6614fb98012d7d47c005cebf780008016627..."} 
[2026-07-15 19:33:12] local.INFO: Packet analysis {"connection_id":135085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6614"} 
[2026-07-15 19:33:12] local.INFO: Extracted packet for processing {"connection_id":135085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6614"} 
[2026-07-15 19:33:12] local.INFO: GPS Element Parsed {"raw_longitude":763185088,"raw_latitude":97435512,"longitude_deg":76.3185088,"latitude_deg":9.7435512,"altitude":8,"angle":358,"satellites":39,"speed":24,"hex_longitude":"2d7d47c0","hex_latitude":"05cebf78","is_valid_coordinates":true} 
[2026-07-15 19:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735758848001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347349441339981824,"note":"Value kept but may cause issues"} 
[2026-07-15 19:33:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027324740517574656,"note":"Value kept but may cause issues"} 
[2026-07-15 19:33:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784124079000,"timestamp_ms":1784124079000,"timestamp_seconds":1784124079,"priority":1,"record_length":96,"hex_timestamp":"0000019f6614fb98"} 
[2026-07-15 19:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-15 19:33:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:33:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":135085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":135085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":135085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:33:12] 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-07-15 19:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735758848001,"66":27267,"235":206,"85":15104,"24":24,"16":347349441339981824,"45":9027324740517574656},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-07-15 19:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735758848001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:33:12] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-15 19:33:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347349441339981824,"km_value":347349441339981.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:33:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027324740517574656,"description":"Unknown IO ID 45"} 
[2026-07-15 19:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735758848001,"power":27267,"unknown_235":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9027324740517574656}} 
[2026-07-15 19:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":135085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:33:12] local.INFO: GPS data processed {"connection_id":135085,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:33:12] local.INFO: Acknowledgment sent {"connection_id":135085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:33:28] local.INFO: TCP Data received {"connection_id":132692,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6613af90012d18594007220040005300c629..."} 
[2026-07-15 19:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6613af90012d18594007220040005300c629..."} 
[2026-07-15 19:33:28] local.INFO: Processing buffer {"connection_id":132692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6613af90012d18594007220040005300c629..."} 
[2026-07-15 19:33:28] local.INFO: Packet analysis {"connection_id":132692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6613"} 
[2026-07-15 19:33:28] local.INFO: Extracted packet for processing {"connection_id":132692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6613"} 
[2026-07-15 19:33:28] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119668800,"longitude_deg":75.6570432,"latitude_deg":11.96688,"altitude":83,"angle":198,"satellites":41,"speed":0,"hex_longitude":"2d185940","hex_latitude":"07220040","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735737088001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6244504491261952,"note":"Value kept but may cause issues"} 
[2026-07-15 19:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929216909312,"note":"Value kept but may cause issues"} 
[2026-07-15 19:33: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-07-15 19:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784123994000,"timestamp_ms":1784123994000,"timestamp_seconds":1784123994,"priority":1,"record_length":96,"hex_timestamp":"0000019f6613af90"} 
[2026-07-15 19:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-15 19:33: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-07-15 19: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-07-15 19:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735737088001,"66":12439,"120":206,"28":31744,"24":0,"16":6244504491261952,"45":1754503929216909312},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735737088001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:33:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:33:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6244504491261952,"km_value":6244504491261.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929216909312,"description":"Unknown IO ID 45"} 
[2026-07-15 19:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735737088001,"power":12439,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754503929216909312}} 
[2026-07-15 19:33:29] local.INFO: DEBUG: GPS processor result {"connection_id":132692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:33:29] local.INFO: GPS data processed {"connection_id":132692,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:33:29] local.INFO: Acknowledgment sent {"connection_id":132692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:33:49] local.INFO: TCP Data received {"connection_id":133718,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:33:49] local.INFO: Processing buffer {"connection_id":133718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:33:49] local.INFO: IMEI packet received {"connection_id":133718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":133718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:33:50] local.INFO: TCP Data received {"connection_id":133718,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:33:50] local.INFO: Processing buffer {"connection_id":133718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:33:50] local.INFO: IMEI packet received {"connection_id":133718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":133718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:33:51] local.INFO: TCP Data received {"connection_id":135085,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f66165b28012d7d49c005d02b180007000129..."} 
[2026-07-15 19:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66165b28012d7d49c005d02b180007000129..."} 
[2026-07-15 19:33:51] local.INFO: Processing buffer {"connection_id":135085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66165b28012d7d49c005d02b180007000129..."} 
[2026-07-15 19:33:51] local.INFO: Packet analysis {"connection_id":135085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6616"} 
[2026-07-15 19:33:51] local.INFO: Extracted packet for processing {"connection_id":135085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6616"} 
[2026-07-15 19:33:51] local.INFO: GPS Element Parsed {"raw_longitude":763185600,"raw_latitude":97528600,"longitude_deg":76.31856,"latitude_deg":9.75286,"altitude":7,"angle":1,"satellites":41,"speed":18,"hex_longitude":"2d7d49c0","hex_latitude":"05d02b18","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735784960001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347353959645577216,"note":"Value kept but may cause issues"} 
[2026-07-15 19:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028169165470894080,"note":"Value kept but may cause issues"} 
[2026-07-15 19:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784124169000,"timestamp_ms":1784124169000,"timestamp_seconds":1784124169,"priority":1,"record_length":96,"hex_timestamp":"0000019f66165b28"} 
[2026-07-15 19:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-15 19:33:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19: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-07-15 19:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":135085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":135085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":135085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735784960001,"66":27343,"198":206,"85":15104,"24":18,"16":347353959645577216,"45":9028169165470894080},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-07-15 19:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735784960001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:33:51] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-15 19:33:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347353959645577216,"km_value":347353959645577.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028169165470894080,"description":"Unknown IO ID 45"} 
[2026-07-15 19:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735784960001,"power":27343,"unknown_198":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":9028169165470894080}} 
[2026-07-15 19:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":135085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:33:51] local.INFO: GPS data processed {"connection_id":135085,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:33:51] local.INFO: Acknowledgment sent {"connection_id":135085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:33:55] local.INFO: TCP Data received {"connection_id":133718,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:33:55] local.INFO: Processing buffer {"connection_id":133718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:33:55] local.INFO: IMEI packet received {"connection_id":133718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":133718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:33:56] local.INFO: TCP Data received {"connection_id":133718,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66140198012d18594007220040005300c628..."} 
[2026-07-15 19:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66140198012d18594007220040005300c628..."} 
[2026-07-15 19:33:56] local.INFO: Processing buffer {"connection_id":133718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66140198012d18594007220040005300c628..."} 
[2026-07-15 19:33:56] local.INFO: Packet analysis {"connection_id":133718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6614"} 
[2026-07-15 19:33:56] local.INFO: Extracted packet for processing {"connection_id":133718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6614"} 
[2026-07-15 19:33:56] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119668800,"longitude_deg":75.6570432,"latitude_deg":11.96688,"altitude":83,"angle":198,"satellites":40,"speed":0,"hex_longitude":"2d185940","hex_latitude":"07220040","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735742464001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6244504491261952,"note":"Value kept but may cause issues"} 
[2026-07-15 19:33:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929216909312,"note":"Value kept but may cause issues"} 
[2026-07-15 19:33: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-07-15 19:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784124015000,"timestamp_ms":1784124015000,"timestamp_seconds":1784124015,"priority":1,"record_length":96,"hex_timestamp":"0000019f66140198"} 
[2026-07-15 19:33:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:33:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-15 19:33:56] 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-07-15 19: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-07-15 19:33:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735742464001,"66":12428,"120":206,"28":31744,"24":0,"16":6244504491261952,"45":1754503929216909312},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735742464001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:33:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:33:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6244504491261952,"km_value":6244504491261.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:33:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929216909312,"description":"Unknown IO ID 45"} 
[2026-07-15 19:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735742464001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754503929216909312}} 
[2026-07-15 19:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":133718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492624,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:33:56] local.INFO: GPS data processed {"connection_id":133718,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:33:56] local.INFO: Acknowledgment sent {"connection_id":133718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:34:00] local.INFO: TCP Data received {"connection_id":135086,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:34:00] local.INFO: Processing buffer {"connection_id":135086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:34:00] local.INFO: IMEI packet received {"connection_id":135086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":135086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:34:05] local.INFO: TCP Data received {"connection_id":135086,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:34:05] local.INFO: Processing buffer {"connection_id":135086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:34:05] local.INFO: IMEI packet received {"connection_id":135086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":135086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:34:06] local.INFO: TCP Data received {"connection_id":135086,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f661666e0012d7d4a0005d02e880007000e28..."} 
[2026-07-15 19:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f661666e0012d7d4a0005d02e880007000e28..."} 
[2026-07-15 19:34:06] local.INFO: Processing buffer {"connection_id":135086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f661666e0012d7d4a0005d02e880007000e28..."} 
[2026-07-15 19:34:06] local.INFO: Packet analysis {"connection_id":135086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6616"} 
[2026-07-15 19:34:06] local.INFO: Extracted packet for processing {"connection_id":135086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6616"} 
[2026-07-15 19:34:06] local.INFO: GPS Element Parsed {"raw_longitude":763185664,"raw_latitude":97529480,"longitude_deg":76.3185664,"latitude_deg":9.752948,"altitude":7,"angle":14,"satellites":40,"speed":8,"hex_longitude":"2d7d4a00","hex_latitude":"05d02e88","is_valid_coordinates":true} 
[2026-07-15 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-07-15 19:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735787264001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347354002595250176,"note":"Value kept but may cause issues"} 
[2026-07-15 19:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027958059240724480,"note":"Value kept but may cause issues"} 
[2026-07-15 19:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784124172000,"timestamp_ms":1784124172000,"timestamp_seconds":1784124172,"priority":1,"record_length":96,"hex_timestamp":"0000019f661666e0"} 
[2026-07-15 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-07-15 19:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-15 19:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 19:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735787264001,"66":27376,"198":206,"85":15104,"24":8,"16":347354002595250176,"45":9027958059240724480},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-07-15 19:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735787264001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:34:06] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-15 19:34:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347354002595250176,"km_value":347354002595250.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027958059240724480,"description":"Unknown IO ID 45"} 
[2026-07-15 19:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735787264001,"power":27376,"unknown_198":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9027958059240724480}} 
[2026-07-15 19:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":135086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:34:06] local.INFO: GPS data processed {"connection_id":135086,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:34:06] local.INFO: Acknowledgment sent {"connection_id":135086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:34:28] local.INFO: TCP Data received {"connection_id":133718,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6616d058012d182dc00721c298004800d426..."} 
[2026-07-15 19:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6616d058012d182dc00721c298004800d426..."} 
[2026-07-15 19:34:28] local.INFO: Processing buffer {"connection_id":133718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6616d058012d182dc00721c298004800d426..."} 
[2026-07-15 19:34:28] local.INFO: Packet analysis {"connection_id":133718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6616"} 
[2026-07-15 19:34:28] local.INFO: Extracted packet for processing {"connection_id":133718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6616"} 
[2026-07-15 19:34:28] local.INFO: GPS Element Parsed {"raw_longitude":756559296,"raw_latitude":119653016,"longitude_deg":75.6559296,"latitude_deg":11.9653016,"altitude":72,"angle":212,"satellites":38,"speed":43,"hex_longitude":"2d182dc0","hex_latitude":"0721c298","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735792896001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6245440794132480,"note":"Value kept but may cause issues"} 
[2026-07-15 19:34:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747818898517927936,"note":"Value kept but may cause issues"} 
[2026-07-15 19:34: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-07-15 19:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784124199000,"timestamp_ms":1784124199000,"timestamp_seconds":1784124199,"priority":1,"record_length":96,"hex_timestamp":"0000019f6616d058"} 
[2026-07-15 19:34:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:34:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 19:34:28] 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-07-15 19: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-07-15 19:34:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:34:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":133718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":133718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":133718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:34:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735792896001,"66":12667,"120":206,"28":31744,"24":43,"16":6245440794132480,"45":1747818898517927936},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735792896001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:34:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:34:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6245440794132480,"km_value":6245440794132.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:34:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747818898517927936,"description":"Unknown IO ID 45"} 
[2026-07-15 19:34:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735792896001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":43,"odometer":null,"unknown_45":1747818898517927936}} 
[2026-07-15 19:34:28] local.INFO: DEBUG: GPS processor result {"connection_id":133718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492626,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:34:28] local.INFO: GPS data processed {"connection_id":133718,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:34:28] local.INFO: Acknowledgment sent {"connection_id":133718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:34:37] local.INFO: TCP Data received {"connection_id":135086,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f66167680012d7d4ac005d033000006016628..."} 
[2026-07-15 19:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66167680012d7d4ac005d033000006016628..."} 
[2026-07-15 19:34:37] local.INFO: Processing buffer {"connection_id":135086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66167680012d7d4ac005d033000006016628..."} 
[2026-07-15 19:34:37] local.INFO: Packet analysis {"connection_id":135086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6616"} 
[2026-07-15 19:34:37] local.INFO: Extracted packet for processing {"connection_id":135086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6616"} 
[2026-07-15 19:34:37] local.INFO: GPS Element Parsed {"raw_longitude":763185856,"raw_latitude":97530624,"longitude_deg":76.3185856,"latitude_deg":9.7530624,"altitude":6,"angle":358,"satellites":40,"speed":17,"hex_longitude":"2d7d4ac0","hex_latitude":"05d03300","is_valid_coordinates":true} 
[2026-07-15 19:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735788032001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347354062724792320,"note":"Value kept but may cause issues"} 
[2026-07-15 19:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028028427985127424,"note":"Value kept but may cause issues"} 
[2026-07-15 19:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784124176000,"timestamp_ms":1784124176000,"timestamp_seconds":1784124176,"priority":1,"record_length":96,"hex_timestamp":"0000019f66167680"} 
[2026-07-15 19:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-15 19:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":135086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":135086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":135086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735788032001,"66":27267,"198":206,"85":15104,"24":17,"16":347354062724792320,"45":9028028427985127424},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-07-15 19:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735788032001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:34:37] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-15 19:34:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347354062724792320,"km_value":347354062724792.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028028427985127424,"description":"Unknown IO ID 45"} 
[2026-07-15 19:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735788032001,"power":27267,"unknown_198":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":9028028427985127424}} 
[2026-07-15 19:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":135086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:34:37] local.INFO: GPS data processed {"connection_id":135086,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:34:37] local.INFO: Acknowledgment sent {"connection_id":135086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:34:50] local.INFO: TCP Data received {"connection_id":132868,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:34:50] local.INFO: Processing buffer {"connection_id":132868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:34:50] local.INFO: IMEI packet received {"connection_id":132868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":132868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:34:55] local.INFO: TCP Data received {"connection_id":132868,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:34:55] local.INFO: Processing buffer {"connection_id":132868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:34:55] local.INFO: IMEI packet received {"connection_id":132868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":132868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:34:56] local.INFO: TCP Data received {"connection_id":132868,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6616f380012d1822c00721b030004500c127..."} 
[2026-07-15 19:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6616f380012d1822c00721b030004500c127..."} 
[2026-07-15 19:34:56] local.INFO: Processing buffer {"connection_id":132868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6616f380012d1822c00721b030004500c127..."} 
[2026-07-15 19:34:56] local.INFO: Packet analysis {"connection_id":132868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6616"} 
[2026-07-15 19:34:56] local.INFO: Extracted packet for processing {"connection_id":132868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6616"} 
[2026-07-15 19:34:56] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119648304,"longitude_deg":75.655648,"latitude_deg":11.9648304,"altitude":69,"angle":193,"satellites":39,"speed":12,"hex_longitude":"2d1822c0","hex_latitude":"0721b030","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735794944001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6245707082104832,"note":"Value kept but may cause issues"} 
[2026-07-15 19:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742259767725955072,"note":"Value kept but may cause issues"} 
[2026-07-15 19:34: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-07-15 19:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784124208000,"timestamp_ms":1784124208000,"timestamp_seconds":1784124208,"priority":1,"record_length":96,"hex_timestamp":"0000019f6616f380"} 
[2026-07-15 19:34:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:34:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-15 19:34:56] 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-07-15 19: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-07-15 19:34:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735794944001,"66":12711,"120":206,"28":31744,"24":12,"16":6245707082104832,"45":1742259767725955072},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735794944001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:34:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:34:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6245707082104832,"km_value":6245707082104.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742259767725955072,"description":"Unknown IO ID 45"} 
[2026-07-15 19:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735794944001,"power":12711,"unknown_120":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1742259767725955072}} 
[2026-07-15 19:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":132868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:34:56] local.INFO: GPS data processed {"connection_id":132868,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:34:56] local.INFO: Acknowledgment sent {"connection_id":132868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:34:59] local.INFO: TCP Data received {"connection_id":133719,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133719,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:34:59] local.INFO: Processing buffer {"connection_id":133719,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:34:59] local.INFO: IMEI packet received {"connection_id":133719,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 19:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":133719,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:35:00] local.INFO: TCP Data received {"connection_id":133720,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:35:00] local.INFO: Processing buffer {"connection_id":133720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:35:00] local.INFO: IMEI packet received {"connection_id":133720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":133720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:35:05] local.INFO: TCP Data received {"connection_id":133720,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:35:05] local.INFO: Processing buffer {"connection_id":133720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:35:05] local.INFO: IMEI packet received {"connection_id":133720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":133720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:35:06] local.INFO: TCP Data received {"connection_id":133720,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6616a948012d7d488005d057a00007016228..."} 
[2026-07-15 19:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6616a948012d7d488005d057a00007016228..."} 
[2026-07-15 19:35:06] local.INFO: Processing buffer {"connection_id":133720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6616a948012d7d488005d057a00007016228..."} 
[2026-07-15 19:35:06] local.INFO: Packet analysis {"connection_id":133720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6616"} 
[2026-07-15 19:35:06] local.INFO: Extracted packet for processing {"connection_id":133720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6616"} 
[2026-07-15 19:35:06] local.INFO: GPS Element Parsed {"raw_longitude":763185280,"raw_latitude":97540000,"longitude_deg":76.318528,"latitude_deg":9.754,"altitude":7,"angle":354,"satellites":40,"speed":38,"hex_longitude":"2d7d4880","hex_latitude":"05d057a0","is_valid_coordinates":true} 
[2026-07-15 19:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735789056001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347354517991325696,"note":"Value kept but may cause issues"} 
[2026-07-15 19:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028239534217953280,"note":"Value kept but may cause issues"} 
[2026-07-15 19:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784124189000,"timestamp_ms":1784124189000,"timestamp_seconds":1784124189,"priority":1,"record_length":96,"hex_timestamp":"0000019f6616a948"} 
[2026-07-15 19:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-15 19:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735789056001,"66":27310,"198":206,"85":15104,"24":38,"16":347354517991325696,"45":9028239534217953280},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-07-15 19:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735789056001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:35:06] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-15 19:35:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347354517991325696,"km_value":347354517991325.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028239534217953280,"description":"Unknown IO ID 45"} 
[2026-07-15 19:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735789056001,"power":27310,"unknown_198":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9028239534217953280}} 
[2026-07-15 19:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":133720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:35:06] local.INFO: GPS data processed {"connection_id":133720,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:35:06] local.INFO: Acknowledgment sent {"connection_id":133720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:35:28] local.INFO: TCP Data received {"connection_id":132868,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66174588012d1821c00721ad70004500c325..."} 
[2026-07-15 19:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66174588012d1821c00721ad70004500c325..."} 
[2026-07-15 19:35:28] local.INFO: Processing buffer {"connection_id":132868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66174588012d1821c00721ad70004500c325..."} 
[2026-07-15 19:35:28] local.INFO: Packet analysis {"connection_id":132868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6617"} 
[2026-07-15 19:35:28] local.INFO: Extracted packet for processing {"connection_id":132868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6617"} 
[2026-07-15 19:35:28] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119647600,"longitude_deg":75.6556224,"latitude_deg":11.96476,"altitude":69,"angle":195,"satellites":37,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721ad70","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735797248001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6245745736810496,"note":"Value kept but may cause issues"} 
[2026-07-15 19:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542980931584,"note":"Value kept but may cause issues"} 
[2026-07-15 19:35: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-07-15 19:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784124229000,"timestamp_ms":1784124229000,"timestamp_seconds":1784124229,"priority":1,"record_length":96,"hex_timestamp":"0000019f66174588"} 
[2026-07-15 19:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:35:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-15 19:35:28] 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-07-15 19: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-07-15 19:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735797248001,"66":12645,"120":206,"28":31744,"24":0,"16":6245745736810496,"45":1739163542980931584},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735797248001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:35:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:35:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6245745736810496,"km_value":6245745736810.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542980931584,"description":"Unknown IO ID 45"} 
[2026-07-15 19:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735797248001,"power":12645,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542980931584}} 
[2026-07-15 19:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":132868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:35:28] local.INFO: GPS data processed {"connection_id":132868,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:35:28] local.INFO: Acknowledgment sent {"connection_id":132868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:35:34] local.INFO: TCP Data received {"connection_id":133721,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133721,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:35:34] local.INFO: Processing buffer {"connection_id":133721,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:35:34] local.INFO: IMEI packet received {"connection_id":133721,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 19:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":133721,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:35:39] local.INFO: TCP Data received {"connection_id":133720,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f66180108012d7d27c005d1b3100006016729..."} 
[2026-07-15 19:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66180108012d7d27c005d1b3100006016729..."} 
[2026-07-15 19:35:39] local.INFO: Processing buffer {"connection_id":133720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66180108012d7d27c005d1b3100006016729..."} 
[2026-07-15 19:35:39] local.INFO: Packet analysis {"connection_id":133720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6618"} 
[2026-07-15 19:35:39] local.INFO: Extracted packet for processing {"connection_id":133720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6618"} 
[2026-07-15 19:35:39] local.INFO: GPS Element Parsed {"raw_longitude":763176896,"raw_latitude":97628944,"longitude_deg":76.3176896,"latitude_deg":9.7628944,"altitude":6,"angle":359,"satellites":41,"speed":29,"hex_longitude":"2d7d27c0","hex_latitude":"05d1b310","is_valid_coordinates":true} 
[2026-07-15 19:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735814400001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347358868793196544,"note":"Value kept but may cause issues"} 
[2026-07-15 19:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016290433024,"note":"Value kept but may cause issues"} 
[2026-07-15 19:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784124277000,"timestamp_ms":1784124277000,"timestamp_seconds":1784124277,"priority":1,"record_length":96,"hex_timestamp":"0000019f66180108"} 
[2026-07-15 19:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:35:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-15 19:35:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:35:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:35: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-07-15 19:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735814400001,"66":27310,"23":206,"85":15104,"24":29,"16":347358868793196544,"45":9018599016290433024},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-07-15 19:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735814400001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:35:39] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-15 19:35:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347358868793196544,"km_value":347358868793196.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016290433024,"description":"Unknown IO ID 45"} 
[2026-07-15 19:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735814400001,"power":27310,"unknown_23":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9018599016290433024}} 
[2026-07-15 19:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":133720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:35:39] local.INFO: GPS data processed {"connection_id":133720,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:35:39] local.INFO: Acknowledgment sent {"connection_id":133720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:35:50] local.INFO: TCP Data received {"connection_id":133722,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:35:50] local.INFO: Processing buffer {"connection_id":133722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:35:50] local.INFO: IMEI packet received {"connection_id":133722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":133722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:35:51] local.INFO: TCP Data received {"connection_id":133722,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:35:51] local.INFO: Processing buffer {"connection_id":133722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:35:51] local.INFO: IMEI packet received {"connection_id":133722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":133722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:35:55] local.INFO: TCP Data received {"connection_id":133722,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:35:55] local.INFO: Processing buffer {"connection_id":133722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:35:55] local.INFO: IMEI packet received {"connection_id":133722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":133722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:35:57] local.INFO: TCP Data received {"connection_id":133722,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66179790012d1821c00721ad70004500c324..."} 
[2026-07-15 19:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66179790012d1821c00721ad70004500c324..."} 
[2026-07-15 19:35:57] local.INFO: Processing buffer {"connection_id":133722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66179790012d1821c00721ad70004500c324..."} 
[2026-07-15 19:35:57] local.INFO: Packet analysis {"connection_id":133722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6617"} 
[2026-07-15 19:35:57] local.INFO: Extracted packet for processing {"connection_id":133722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6617"} 
[2026-07-15 19:35:57] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119647600,"longitude_deg":75.6556224,"latitude_deg":11.96476,"altitude":69,"angle":195,"satellites":36,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721ad70","is_valid_coordinates":true} 
[2026-07-15 19:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:35:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735802624001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:35:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6245745736810496,"note":"Value kept but may cause issues"} 
[2026-07-15 19:35:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004040704,"note":"Value kept but may cause issues"} 
[2026-07-15 19:35:57] 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-07-15 19:35:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784124250000,"timestamp_ms":1784124250000,"timestamp_seconds":1784124250,"priority":1,"record_length":96,"hex_timestamp":"0000019f66179790"} 
[2026-07-15 19:35:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:35:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-15 19:35:57] 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-07-15 19:35:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:35:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:35:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:35:57] local.INFO: Teltonika packet parsed successfully {"connection_id":133722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:35:57] local.INFO: Passing IMEI to GPS processor {"connection_id":133722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:35:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":133722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:35:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:35:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:35:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:35:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735802624001,"66":12678,"120":206,"28":31744,"24":0,"16":6245745736810496,"45":1738882068004040704},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:35:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:35:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:35:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735802624001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:35:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:35:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:35:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6245745736810496,"km_value":6245745736810.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:35:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004040704,"description":"Unknown IO ID 45"} 
[2026-07-15 19:35:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735802624001,"power":12678,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738882068004040704}} 
[2026-07-15 19:35:57] local.INFO: DEBUG: GPS processor result {"connection_id":133722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492632,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:35:57] local.INFO: GPS data processed {"connection_id":133722,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:35:57] local.INFO: Acknowledgment sent {"connection_id":133722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:36:06] local.INFO: TCP Data received {"connection_id":132693,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:36:06] local.INFO: Processing buffer {"connection_id":132693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:36:06] local.INFO: IMEI packet received {"connection_id":132693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":132693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:36:11] local.INFO: TCP Data received {"connection_id":132693,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:36:11] local.INFO: Processing buffer {"connection_id":132693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:36:11] local.INFO: IMEI packet received {"connection_id":132693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":132693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:36:12] local.INFO: TCP Data received {"connection_id":132693,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f66182fe8012d7d254005d1d8780006016329..."} 
[2026-07-15 19:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66182fe8012d7d254005d1d8780006016329..."} 
[2026-07-15 19:36:12] local.INFO: Processing buffer {"connection_id":132693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66182fe8012d7d254005d1d8780006016329..."} 
[2026-07-15 19:36:12] local.INFO: Packet analysis {"connection_id":132693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6618"} 
[2026-07-15 19:36:12] local.INFO: Extracted packet for processing {"connection_id":132693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6618"} 
[2026-07-15 19:36:12] local.INFO: GPS Element Parsed {"raw_longitude":763176256,"raw_latitude":97638520,"longitude_deg":76.3176256,"latitude_deg":9.763852,"altitude":6,"angle":355,"satellites":41,"speed":33,"hex_longitude":"2d7d2540","hex_latitude":"05d1d878","is_valid_coordinates":true} 
[2026-07-15 19:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735814912001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347359332649664512,"note":"Value kept but may cause issues"} 
[2026-07-15 19:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018387910058250240,"note":"Value kept but may cause issues"} 
[2026-07-15 19:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784124289000,"timestamp_ms":1784124289000,"timestamp_seconds":1784124289,"priority":1,"record_length":96,"hex_timestamp":"0000019f66182fe8"} 
[2026-07-15 19:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:36:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-15 19:36:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:36:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:36:12] 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-07-15 19:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735814912001,"66":27213,"23":206,"85":15104,"24":33,"16":347359332649664512,"45":9018387910058250240},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-07-15 19:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735814912001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:36:12] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-15 19:36:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347359332649664512,"km_value":347359332649664.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018387910058250240,"description":"Unknown IO ID 45"} 
[2026-07-15 19:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735814912001,"power":27213,"unknown_23":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9018387910058250240}} 
[2026-07-15 19:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":132693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:36:12] local.INFO: GPS data processed {"connection_id":132693,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:36:12] local.INFO: Acknowledgment sent {"connection_id":132693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:36:14] local.INFO: TCP Data received {"connection_id":132693,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f66185ae0012d7d248005d1fb780005000028..."} 
[2026-07-15 19:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66185ae0012d7d248005d1fb780005000028..."} 
[2026-07-15 19:36:14] local.INFO: Processing buffer {"connection_id":132693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66185ae0012d7d248005d1fb780005000028..."} 
[2026-07-15 19:36:14] local.INFO: Packet analysis {"connection_id":132693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6618"} 
[2026-07-15 19:36:14] local.INFO: Extracted packet for processing {"connection_id":132693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6618"} 
[2026-07-15 19:36:14] local.INFO: GPS Element Parsed {"raw_longitude":763176064,"raw_latitude":97647480,"longitude_deg":76.3176064,"latitude_deg":9.764748,"altitude":5,"angle":0,"satellites":40,"speed":28,"hex_longitude":"2d7d2480","hex_latitude":"05d1fb78","is_valid_coordinates":true} 
[2026-07-15 19:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735817984001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347359766441361408,"note":"Value kept but may cause issues"} 
[2026-07-15 19:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017684222618925056,"note":"Value kept but may cause issues"} 
[2026-07-15 19:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784124300000,"timestamp_ms":1784124300000,"timestamp_seconds":1784124300,"priority":1,"record_length":96,"hex_timestamp":"0000019f66185ae0"} 
[2026-07-15 19:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-15 19:36:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:36:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":132693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":132693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":132693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:36:14] 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-07-15 19:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735817984001,"66":27376,"23":206,"85":15104,"24":28,"16":347359766441361408,"45":9017684222618925056},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-07-15 19:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735817984001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:36:14] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-15 19:36:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347359766441361408,"km_value":347359766441361.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017684222618925056,"description":"Unknown IO ID 45"} 
[2026-07-15 19:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735817984001,"power":27376,"unknown_23":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9017684222618925056}} 
[2026-07-15 19:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":132693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:36:14] local.INFO: GPS data processed {"connection_id":132693,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:36:14] local.INFO: Acknowledgment sent {"connection_id":132693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:36:28] local.INFO: TCP Data received {"connection_id":133722,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6617e998012d1821c00721ad70004500c324..."} 
[2026-07-15 19:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6617e998012d1821c00721ad70004500c324..."} 
[2026-07-15 19:36:28] local.INFO: Processing buffer {"connection_id":133722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6617e998012d1821c00721ad70004500c324..."} 
[2026-07-15 19:36:28] local.INFO: Packet analysis {"connection_id":133722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6617"} 
[2026-07-15 19:36:28] local.INFO: Extracted packet for processing {"connection_id":133722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6617"} 
[2026-07-15 19:36:28] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119647600,"longitude_deg":75.6556224,"latitude_deg":11.96476,"altitude":69,"angle":195,"satellites":36,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721ad70","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735808000001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6245745736810496,"note":"Value kept but may cause issues"} 
[2026-07-15 19:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004040704,"note":"Value kept but may cause issues"} 
[2026-07-15 19:36: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-07-15 19:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784124271000,"timestamp_ms":1784124271000,"timestamp_seconds":1784124271,"priority":1,"record_length":96,"hex_timestamp":"0000019f6617e998"} 
[2026-07-15 19:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:36:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-15 19:36:28] 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-07-15 19: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-07-15 19:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":133722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":133722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":133722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735808000001,"66":12558,"120":206,"28":31744,"24":0,"16":6245745736810496,"45":1738882068004040704},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735808000001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:36:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:36:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6245745736810496,"km_value":6245745736810.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004040704,"description":"Unknown IO ID 45"} 
[2026-07-15 19:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735808000001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738882068004040704}} 
[2026-07-15 19:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":133722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492635,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:36:28] local.INFO: GPS data processed {"connection_id":133722,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:36:28] local.INFO: Acknowledgment sent {"connection_id":133722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:36:55] local.INFO: TCP Data received {"connection_id":132693,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f66189578012d7d284005d21fa80004000928..."} 
[2026-07-15 19:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66189578012d7d284005d21fa80004000928..."} 
[2026-07-15 19:36:55] local.INFO: Processing buffer {"connection_id":132693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66189578012d7d284005d21fa80004000928..."} 
[2026-07-15 19:36:55] local.INFO: Packet analysis {"connection_id":132693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6618"} 
[2026-07-15 19:36:55] local.INFO: Extracted packet for processing {"connection_id":132693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6618"} 
[2026-07-15 19:36:55] local.INFO: GPS Element Parsed {"raw_longitude":763177024,"raw_latitude":97656744,"longitude_deg":76.3177024,"latitude_deg":9.7656744,"altitude":4,"angle":9,"satellites":40,"speed":23,"hex_longitude":"2d7d2840","hex_latitude":"05d21fa8","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735820800001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347360221707894784,"note":"Value kept but may cause issues"} 
[2026-07-15 19:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017473116388685824,"note":"Value kept but may cause issues"} 
[2026-07-15 19:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784124315000,"timestamp_ms":1784124315000,"timestamp_seconds":1784124315,"priority":1,"record_length":96,"hex_timestamp":"0000019f66189578"} 
[2026-07-15 19:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:36:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-15 19:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19: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-07-15 19:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":132693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":132693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":132693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:36: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-07-15 19:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735820800001,"66":27376,"23":206,"85":15104,"24":23,"16":347360221707894784,"45":9017473116388685824},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-07-15 19:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735820800001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:36:55] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-15 19:36:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347360221707894784,"km_value":347360221707894.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017473116388685824,"description":"Unknown IO ID 45"} 
[2026-07-15 19:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735820800001,"power":27376,"unknown_23":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9017473116388685824}} 
[2026-07-15 19:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":132693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:36:55] local.INFO: GPS data processed {"connection_id":132693,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:36:55] local.INFO: Acknowledgment sent {"connection_id":132693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:36:55] local.INFO: TCP Data received {"connection_id":132694,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:36:55] local.INFO: Processing buffer {"connection_id":132694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:36:55] local.INFO: IMEI packet received {"connection_id":132694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":132694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:37:00] local.INFO: TCP Data received {"connection_id":132694,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:37:00] local.INFO: Processing buffer {"connection_id":132694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:37:00] local.INFO: IMEI packet received {"connection_id":132694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":132694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:37:00] local.INFO: TCP Data received {"connection_id":133723,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:37:00] local.INFO: Processing buffer {"connection_id":133723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:37:00] local.INFO: IMEI packet received {"connection_id":133723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":133723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:37:01] local.INFO: TCP Data received {"connection_id":132694,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66183ba0012d1821c00721ad70004500c329..."} 
[2026-07-15 19:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66183ba0012d1821c00721ad70004500c329..."} 
[2026-07-15 19:37:01] local.INFO: Processing buffer {"connection_id":132694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66183ba0012d1821c00721ad70004500c329..."} 
[2026-07-15 19:37:01] local.INFO: Packet analysis {"connection_id":132694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6618"} 
[2026-07-15 19:37:01] local.INFO: Extracted packet for processing {"connection_id":132694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6618"} 
[2026-07-15 19:37:01] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119647600,"longitude_deg":75.6556224,"latitude_deg":11.96476,"altitude":69,"angle":195,"satellites":41,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721ad70","is_valid_coordinates":true} 
[2026-07-15 19:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735813376001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6245745736810496,"note":"Value kept but may cause issues"} 
[2026-07-15 19:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004040704,"note":"Value kept but may cause issues"} 
[2026-07-15 19:37:01] 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-07-15 19:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784124292000,"timestamp_ms":1784124292000,"timestamp_seconds":1784124292,"priority":1,"record_length":96,"hex_timestamp":"0000019f66183ba0"} 
[2026-07-15 19:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:37:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-15 19:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-07-15 19:37:01] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249443888290725944,"note":"Value kept but may cause issues"} 
[2026-07-15 19:37:01] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3264741448,"note":"Value kept but may cause issues"} 
[2026-07-15 19:37:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-15 19:37:01] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2147951072,"note":"Value kept but may cause issues"} 
[2026-07-15 19:37:01] local.WARNING: Large IO value detected {"io_id":12,"raw_value":563985040580120,"note":"Value kept but may cause issues"} 
[2026-07-15 19:37:01] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-07-15 19:37:01] local.WARNING: Large IO value detected {"io_id":80,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-15 19:37:01] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253580802,"note":"Value kept but may cause issues"} 
[2026-07-15 19:37:01] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,120,28,24,241,158,16,48,159,151,45,192,173,69,36,10,66,37,243,1,240,167,102,33,4,113,205,43,177,65,40,39,239,49,2,22,7,79,12,231,80,206],"length":575,"final_offset":705,"validated_count":42,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-15 19:37:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4972188548003266560,"timestamp_seconds":4972188548003267.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 19:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":132694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":132694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":132694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735813376001,"66":13352,"120":206,"28":31744,"24":0,"16":6245745736810496,"45":1738882068004040704},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735813376001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:37:01] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:37:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6245745736810496,"km_value":6245745736810.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004040704,"description":"Unknown IO ID 45"} 
[2026-07-15 19:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735813376001,"power":13352,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738882068004040704}} 
[2026-07-15 19:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":132694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:37:01] local.INFO: GPS data processed {"connection_id":132694,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:37:01] local.INFO: Acknowledgment sent {"connection_id":132694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:37:05] local.INFO: TCP Data received {"connection_id":133723,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:37:05] local.INFO: Processing buffer {"connection_id":133723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:37:05] local.INFO: IMEI packet received {"connection_id":133723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":133723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:37:06] local.INFO: TCP Data received {"connection_id":133723,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6618e780012d7d2bc005d238780004000928..."} 
[2026-07-15 19:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6618e780012d7d2bc005d238780004000928..."} 
[2026-07-15 19:37:06] local.INFO: Processing buffer {"connection_id":133723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6618e780012d7d2bc005d238780004000928..."} 
[2026-07-15 19:37:06] local.INFO: Packet analysis {"connection_id":133723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6618"} 
[2026-07-15 19:37:06] local.INFO: Extracted packet for processing {"connection_id":133723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6618"} 
[2026-07-15 19:37:06] local.INFO: GPS Element Parsed {"raw_longitude":763177920,"raw_latitude":97663096,"longitude_deg":76.317792,"latitude_deg":9.7663096,"altitude":4,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d7d2bc0","hex_latitude":"05d23878","is_valid_coordinates":true} 
[2026-07-15 19:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735824640001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347360535240507392,"note":"Value kept but may cause issues"} 
[2026-07-15 19:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018528647553722368,"note":"Value kept but may cause issues"} 
[2026-07-15 19:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784124336000,"timestamp_ms":1784124336000,"timestamp_seconds":1784124336,"priority":1,"record_length":96,"hex_timestamp":"0000019f6618e780"} 
[2026-07-15 19:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-15 19:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735824640001,"66":27213,"23":206,"85":15104,"24":0,"16":347360535240507392,"45":9018528647553722368},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-07-15 19:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735824640001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:37:06] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-15 19:37:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347360535240507392,"km_value":347360535240507.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018528647553722368,"description":"Unknown IO ID 45"} 
[2026-07-15 19:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735824640001,"power":27213,"unknown_23":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9018528647553722368}} 
[2026-07-15 19:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":133723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:37:06] local.INFO: GPS data processed {"connection_id":133723,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:37:06] local.INFO: Acknowledgment sent {"connection_id":133723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:37:06] local.INFO: TCP Data received {"connection_id":132694,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66188da8012d1821c00721ad70004500c327..."} 
[2026-07-15 19:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66188da8012d1821c00721ad70004500c327..."} 
[2026-07-15 19:37:06] local.INFO: Processing buffer {"connection_id":132694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66188da8012d1821c00721ad70004500c327..."} 
[2026-07-15 19:37:06] local.INFO: Packet analysis {"connection_id":132694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6618"} 
[2026-07-15 19:37:06] local.INFO: Extracted packet for processing {"connection_id":132694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6618"} 
[2026-07-15 19:37:06] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119647600,"longitude_deg":75.6556224,"latitude_deg":11.96476,"altitude":69,"angle":195,"satellites":39,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721ad70","is_valid_coordinates":true} 
[2026-07-15 19:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735818752001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6245745736810496,"note":"Value kept but may cause issues"} 
[2026-07-15 19:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004040704,"note":"Value kept but may cause issues"} 
[2026-07-15 19:37:06] 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-07-15 19:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784124313000,"timestamp_ms":1784124313000,"timestamp_seconds":1784124313,"priority":1,"record_length":96,"hex_timestamp":"0000019f66188da8"} 
[2026-07-15 19:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-15 19:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735818752001,"66":12711,"120":206,"28":31744,"24":0,"16":6245745736810496,"45":1738882068004040704},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735818752001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:37:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:37:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6245745736810496,"km_value":6245745736810.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004040704,"description":"Unknown IO ID 45"} 
[2026-07-15 19:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735818752001,"power":12711,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738882068004040704}} 
[2026-07-15 19:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":132694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:37:06] local.INFO: GPS data processed {"connection_id":132694,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:37:06] local.INFO: Acknowledgment sent {"connection_id":132694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:37:36] local.INFO: TCP Data received {"connection_id":133723,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f66193988012d7d2cc005d23e200007000a26..."} 
[2026-07-15 19:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66193988012d7d2cc005d23e200007000a26..."} 
[2026-07-15 19:37:36] local.INFO: Processing buffer {"connection_id":133723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66193988012d7d2cc005d23e200007000a26..."} 
[2026-07-15 19:37:36] local.INFO: Packet analysis {"connection_id":133723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6619"} 
[2026-07-15 19:37:36] local.INFO: Extracted packet for processing {"connection_id":133723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6619"} 
[2026-07-15 19:37:36] local.INFO: GPS Element Parsed {"raw_longitude":763178176,"raw_latitude":97664544,"longitude_deg":76.3178176,"latitude_deg":9.7664544,"altitude":7,"angle":10,"satellites":38,"speed":10,"hex_longitude":"2d7d2cc0","hex_latitude":"05d23e20","is_valid_coordinates":true} 
[2026-07-15 19:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735830016001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347360608254951424,"note":"Value kept but may cause issues"} 
[2026-07-15 19:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019513809973835776,"note":"Value kept but may cause issues"} 
[2026-07-15 19:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784124357000,"timestamp_ms":1784124357000,"timestamp_seconds":1784124357,"priority":1,"record_length":96,"hex_timestamp":"0000019f66193988"} 
[2026-07-15 19:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-15 19:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":133723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":133723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":133723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:37:36] 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-07-15 19:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735830016001,"66":27343,"197":206,"85":15104,"24":10,"16":347360608254951424,"45":9019513809973835776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-15 19:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735830016001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:37:36] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-15 19:37:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347360608254951424,"km_value":347360608254951.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019513809973835776,"description":"Unknown IO ID 45"} 
[2026-07-15 19:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735830016001,"power":27343,"unknown_197":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9019513809973835776}} 
[2026-07-15 19:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":133723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:37:36] local.INFO: GPS data processed {"connection_id":133723,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:37:36] local.INFO: Acknowledgment sent {"connection_id":133723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:37:50] local.INFO: TCP Data received {"connection_id":135087,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:37:50] local.INFO: Processing buffer {"connection_id":135087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:37:50] local.INFO: IMEI packet received {"connection_id":135087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":135087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:37:54] local.INFO: TCP Data received {"connection_id":135087,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:37:54] local.INFO: Processing buffer {"connection_id":135087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:37:54] local.INFO: IMEI packet received {"connection_id":135087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":135087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:37:55] local.INFO: TCP Data received {"connection_id":135087,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6618b8a0012d1821800721ac88004500e922..."} 
[2026-07-15 19:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6618b8a0012d1821800721ac88004500e922..."} 
[2026-07-15 19:37:55] local.INFO: Processing buffer {"connection_id":135087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6618b8a0012d1821800721ac88004500e922..."} 
[2026-07-15 19:37:55] local.INFO: Packet analysis {"connection_id":135087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6618"} 
[2026-07-15 19:37:55] local.INFO: Extracted packet for processing {"connection_id":135087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6618"} 
[2026-07-15 19:37:55] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119647368,"longitude_deg":75.655616,"latitude_deg":11.9647368,"altitude":69,"angle":233,"satellites":34,"speed":5,"hex_longitude":"2d182180","hex_latitude":"0721ac88","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735824128001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6245758621712384,"note":"Value kept but may cause issues"} 
[2026-07-15 19:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004040704,"note":"Value kept but may cause issues"} 
[2026-07-15 19:37: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-07-15 19:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784124324000,"timestamp_ms":1784124324000,"timestamp_seconds":1784124324,"priority":1,"record_length":96,"hex_timestamp":"0000019f6618b8a0"} 
[2026-07-15 19:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-15 19:37:55] 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-07-15 19: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-07-15 19:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":135087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":135087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":135087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735824128001,"66":12711,"120":206,"28":31744,"24":5,"16":6245758621712384,"45":1738882068004040704},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735824128001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:37:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:37:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6245758621712384,"km_value":6245758621712.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004040704,"description":"Unknown IO ID 45"} 
[2026-07-15 19:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735824128001,"power":12711,"unknown_120":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1738882068004040704}} 
[2026-07-15 19:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":135087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492641,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:37:55] local.INFO: GPS data processed {"connection_id":135087,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:37:55] local.INFO: Acknowledgment sent {"connection_id":135087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:38:00] local.INFO: TCP Data received {"connection_id":132695,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:38:00] local.INFO: Processing buffer {"connection_id":132695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:38:00] local.INFO: IMEI packet received {"connection_id":132695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":132695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:38:00] local.INFO: TCP Data received {"connection_id":132695,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:38:00] local.INFO: Processing buffer {"connection_id":132695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:38:00] local.INFO: IMEI packet received {"connection_id":132695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":132695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:38:05] local.INFO: TCP Data received {"connection_id":132695,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:38:05] local.INFO: Processing buffer {"connection_id":132695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:38:05] local.INFO: IMEI packet received {"connection_id":132695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":132695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:38:06] local.INFO: TCP Data received {"connection_id":132695,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f66198b90012d7d31c005d258d80006000729..."} 
[2026-07-15 19:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66198b90012d7d31c005d258d80006000729..."} 
[2026-07-15 19:38:06] local.INFO: Processing buffer {"connection_id":132695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66198b90012d7d31c005d258d80006000729..."} 
[2026-07-15 19:38:06] local.INFO: Packet analysis {"connection_id":132695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6619"} 
[2026-07-15 19:38:06] local.INFO: Extracted packet for processing {"connection_id":132695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6619"} 
[2026-07-15 19:38:06] local.INFO: GPS Element Parsed {"raw_longitude":763179456,"raw_latitude":97671384,"longitude_deg":76.3179456,"latitude_deg":9.7671384,"altitude":6,"angle":7,"satellites":41,"speed":9,"hex_longitude":"2d7d31c0","hex_latitude":"05d258d8","is_valid_coordinates":true} 
[2026-07-15 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-07-15 19:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735835392001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347360947557367808,"note":"Value kept but may cause issues"} 
[2026-07-15 19:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019795284950917120,"note":"Value kept but may cause issues"} 
[2026-07-15 19:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784124378000,"timestamp_ms":1784124378000,"timestamp_seconds":1784124378,"priority":1,"record_length":96,"hex_timestamp":"0000019f66198b90"} 
[2026-07-15 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-07-15 19:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-15 19:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 19:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735835392001,"66":27300,"197":206,"85":15104,"24":9,"16":347360947557367808,"45":9019795284950917120},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-15 19:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735835392001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:38:06] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-15 19:38:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347360947557367808,"km_value":347360947557367.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019795284950917120,"description":"Unknown IO ID 45"} 
[2026-07-15 19:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735835392001,"power":27300,"unknown_197":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9019795284950917120}} 
[2026-07-15 19:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":132695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:38:06] local.INFO: GPS data processed {"connection_id":132695,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:38:06] local.INFO: Acknowledgment sent {"connection_id":132695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:38:26] local.INFO: TCP Data received {"connection_id":135087,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6618bc88012d1821000721abe8004500dc22..."} 
[2026-07-15 19:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6618bc88012d1821000721abe8004500dc22..."} 
[2026-07-15 19:38:26] local.INFO: Processing buffer {"connection_id":135087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6618bc88012d1821000721abe8004500dc22..."} 
[2026-07-15 19:38:26] local.INFO: Packet analysis {"connection_id":135087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6618"} 
[2026-07-15 19:38:26] local.INFO: Extracted packet for processing {"connection_id":135087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6618"} 
[2026-07-15 19:38:26] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119647208,"longitude_deg":75.6556032,"latitude_deg":11.9647208,"altitude":69,"angle":220,"satellites":34,"speed":11,"hex_longitude":"2d182100","hex_latitude":"0721abe8","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735826944001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6245771506614272,"note":"Value kept but may cause issues"} 
[2026-07-15 19:38:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699259803648,"note":"Value kept but may cause issues"} 
[2026-07-15 19:38:26] 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-07-15 19:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784124325000,"timestamp_ms":1784124325000,"timestamp_seconds":1784124325,"priority":1,"record_length":96,"hex_timestamp":"0000019f6618bc88"} 
[2026-07-15 19:38:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:38:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-15 19:38:26] 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-07-15 19: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-07-15 19:38:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":135087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":135087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":135087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:38:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735826944001,"66":11721,"120":206,"28":31744,"24":11,"16":6245771506614272,"45":1738811699259803648},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735826944001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:38:26] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:38:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6245771506614272,"km_value":6245771506614.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:38:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699259803648,"description":"Unknown IO ID 45"} 
[2026-07-15 19:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735826944001,"power":11721,"unknown_120":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1738811699259803648}} 
[2026-07-15 19:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":135087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:38:26] local.INFO: GPS data processed {"connection_id":135087,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:38:26] local.INFO: Acknowledgment sent {"connection_id":135087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:38:37] local.INFO: TCP Data received {"connection_id":132695,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6619dd98012d7d344005d269900005000328..."} 
[2026-07-15 19:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6619dd98012d7d344005d269900005000328..."} 
[2026-07-15 19:38:37] local.INFO: Processing buffer {"connection_id":132695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6619dd98012d7d344005d269900005000328..."} 
[2026-07-15 19:38:37] local.INFO: Packet analysis {"connection_id":132695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6619"} 
[2026-07-15 19:38:37] local.INFO: Extracted packet for processing {"connection_id":132695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6619"} 
[2026-07-15 19:38:37] local.INFO: GPS Element Parsed {"raw_longitude":763180096,"raw_latitude":97675664,"longitude_deg":76.3180096,"latitude_deg":9.7675664,"altitude":5,"angle":3,"satellites":40,"speed":8,"hex_longitude":"2d7d3440","hex_latitude":"05d26990","is_valid_coordinates":true} 
[2026-07-15 19:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735840768001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347361158010765312,"note":"Value kept but may cause issues"} 
[2026-07-15 19:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021202659836221440,"note":"Value kept but may cause issues"} 
[2026-07-15 19:38:37] 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-07-15 19:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784124399000,"timestamp_ms":1784124399000,"timestamp_seconds":1784124399,"priority":1,"record_length":96,"hex_timestamp":"0000019f6619dd98"} 
[2026-07-15 19:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-15 19:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735840768001,"66":27397,"117":206,"85":15104,"24":8,"16":347361158010765312,"45":9021202659836221440},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-07-15 19:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735840768001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:38:37] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-15 19:38:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347361158010765312,"km_value":347361158010765.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021202659836221440,"description":"Unknown IO ID 45"} 
[2026-07-15 19:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735840768001,"power":27397,"unknown_117":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9021202659836221440}} 
[2026-07-15 19:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":132695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:38:37] local.INFO: GPS data processed {"connection_id":132695,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:38:37] local.INFO: Acknowledgment sent {"connection_id":132695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:38:50] local.INFO: TCP Data received {"connection_id":133725,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:38:50] local.INFO: Processing buffer {"connection_id":133725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:38:50] local.INFO: IMEI packet received {"connection_id":133725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":133725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:38:55] local.INFO: TCP Data received {"connection_id":133725,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:38:55] local.INFO: Processing buffer {"connection_id":133725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:38:55] local.INFO: IMEI packet received {"connection_id":133725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":133725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:38:57] local.INFO: TCP Data received {"connection_id":133725,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6618c458012d181f800721a998004500c123..."} 
[2026-07-15 19:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6618c458012d181f800721a998004500c123..."} 
[2026-07-15 19:38:57] local.INFO: Processing buffer {"connection_id":133725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6618c458012d181f800721a998004500c123..."} 
[2026-07-15 19:38:57] local.INFO: Packet analysis {"connection_id":133725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6618"} 
[2026-07-15 19:38:57] local.INFO: Extracted packet for processing {"connection_id":133725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6618"} 
[2026-07-15 19:38:57] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119646616,"longitude_deg":75.6555648,"latitude_deg":11.9646616,"altitude":69,"angle":193,"satellites":35,"speed":13,"hex_longitude":"2d181f80","hex_latitude":"0721a998","is_valid_coordinates":true} 
[2026-07-15 19:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735827200001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6245805866352640,"note":"Value kept but may cause issues"} 
[2026-07-15 19:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771407360,"note":"Value kept but may cause issues"} 
[2026-07-15 19:38:57] 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-07-15 19:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784124327000,"timestamp_ms":1784124327000,"timestamp_seconds":1784124327,"priority":1,"record_length":96,"hex_timestamp":"0000019f6618c458"} 
[2026-07-15 19:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-15 19:38:57] 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-07-15 19:38:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":133725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":133725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":133725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:38:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735827200001,"66":12178,"120":206,"28":31744,"24":13,"16":6245805866352640,"45":1738670961771407360},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735827200001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:38:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:38:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6245805866352640,"km_value":6245805866352.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771407360,"description":"Unknown IO ID 45"} 
[2026-07-15 19:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735827200001,"power":12178,"unknown_120":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1738670961771407360}} 
[2026-07-15 19:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":133725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492645,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:38:57] local.INFO: GPS data processed {"connection_id":133725,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:38:57] local.INFO: Acknowledgment sent {"connection_id":133725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:39:01] local.INFO: TCP Data received {"connection_id":132871,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:39:01] local.INFO: Processing buffer {"connection_id":132871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:39:01] local.INFO: IMEI packet received {"connection_id":132871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":132871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:39:02] local.INFO: TCP Data received {"connection_id":132871,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:39:02] local.INFO: Processing buffer {"connection_id":132871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:39:02] local.INFO: IMEI packet received {"connection_id":132871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":132871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:39:06] local.INFO: TCP Data received {"connection_id":132871,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:39:06] local.INFO: Processing buffer {"connection_id":132871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:39:06] local.INFO: IMEI packet received {"connection_id":132871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":132871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:39:07] local.INFO: TCP Data received {"connection_id":132871,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f661a2fa0012d7d360005d275680005000428..."} 
[2026-07-15 19:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f661a2fa0012d7d360005d275680005000428..."} 
[2026-07-15 19:39:07] local.INFO: Processing buffer {"connection_id":132871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f661a2fa0012d7d360005d275680005000428..."} 
[2026-07-15 19:39:07] local.INFO: Packet analysis {"connection_id":132871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f661a"} 
[2026-07-15 19:39:07] local.INFO: Extracted packet for processing {"connection_id":132871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f661a"} 
[2026-07-15 19:39:07] local.INFO: GPS Element Parsed {"raw_longitude":763180544,"raw_latitude":97678696,"longitude_deg":76.3180544,"latitude_deg":9.7678696,"altitude":5,"angle":4,"satellites":40,"speed":11,"hex_longitude":"2d7d3600","hex_latitude":"05d27568","is_valid_coordinates":true} 
[2026-07-15 19:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735846144001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347361312629587968,"note":"Value kept but may cause issues"} 
[2026-07-15 19:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021906347279093760,"note":"Value kept but may cause issues"} 
[2026-07-15 19:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784124420000,"timestamp_ms":1784124420000,"timestamp_seconds":1784124420,"priority":1,"record_length":96,"hex_timestamp":"0000019f661a2fa0"} 
[2026-07-15 19:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-15 19:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735846144001,"66":27267,"117":206,"85":15104,"24":11,"16":347361312629587968,"45":9021906347279093760},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-07-15 19:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735846144001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:39:07] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-15 19:39:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347361312629587968,"km_value":347361312629587.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021906347279093760,"description":"Unknown IO ID 45"} 
[2026-07-15 19:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735846144001,"power":27267,"unknown_117":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9021906347279093760}} 
[2026-07-15 19:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":132871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:39:07] local.INFO: GPS data processed {"connection_id":132871,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:39:07] local.INFO: Acknowledgment sent {"connection_id":132871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:39:28] local.INFO: TCP Data received {"connection_id":133725,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f661bba28012d182b4007219d58004e009529..."} 
[2026-07-15 19:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f661bba28012d182b4007219d58004e009529..."} 
[2026-07-15 19:39:28] local.INFO: Processing buffer {"connection_id":133725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f661bba28012d182b4007219d58004e009529..."} 
[2026-07-15 19:39:28] local.INFO: Packet analysis {"connection_id":133725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f661b"} 
[2026-07-15 19:39:28] local.INFO: Extracted packet for processing {"connection_id":133725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f661b"} 
[2026-07-15 19:39:28] local.INFO: GPS Element Parsed {"raw_longitude":756558656,"raw_latitude":119643480,"longitude_deg":75.6558656,"latitude_deg":11.964348,"altitude":78,"angle":149,"satellites":41,"speed":3,"hex_longitude":"2d182b40","hex_latitude":"07219d58","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735876864001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6246020614717440,"note":"Value kept but may cause issues"} 
[2026-07-15 19:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741344974049228800,"note":"Value kept but may cause issues"} 
[2026-07-15 19:39: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-07-15 19:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784124521000,"timestamp_ms":1784124521000,"timestamp_seconds":1784124521,"priority":1,"record_length":96,"hex_timestamp":"0000019f661bba28"} 
[2026-07-15 19:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-07-15 19:39:28] 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-07-15 19: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-07-15 19:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":133725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":133725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":133725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735876864001,"66":13580,"120":206,"28":31744,"24":3,"16":6246020614717440,"45":1741344974049228800},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735876864001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:39:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:39:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6246020614717440,"km_value":6246020614717.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741344974049228800,"description":"Unknown IO ID 45"} 
[2026-07-15 19:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735876864001,"power":13580,"unknown_120":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1741344974049228800}} 
[2026-07-15 19:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":133725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492647,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:39:28] local.INFO: GPS data processed {"connection_id":133725,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:39:28] local.INFO: Acknowledgment sent {"connection_id":133725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:39:39] local.INFO: TCP Data received {"connection_id":132871,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f661a81a8012d7d378005d284b0000500012a..."} 
[2026-07-15 19:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f661a81a8012d7d378005d284b0000500012a..."} 
[2026-07-15 19:39:39] local.INFO: Processing buffer {"connection_id":132871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f661a81a8012d7d378005d284b0000500012a..."} 
[2026-07-15 19:39:39] local.INFO: Packet analysis {"connection_id":132871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f661a"} 
[2026-07-15 19:39:39] local.INFO: Extracted packet for processing {"connection_id":132871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f661a"} 
[2026-07-15 19:39:39] local.INFO: GPS Element Parsed {"raw_longitude":763180928,"raw_latitude":97682608,"longitude_deg":76.3180928,"latitude_deg":9.7682608,"altitude":5,"angle":1,"satellites":42,"speed":9,"hex_longitude":"2d7d3780","hex_latitude":"05d284b0","is_valid_coordinates":true} 
[2026-07-15 19:39: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-07-15 19:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735851520001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347361505903116288,"note":"Value kept but may cause issues"} 
[2026-07-15 19:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928489113600,"note":"Value kept but may cause issues"} 
[2026-07-15 19:39: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-07-15 19:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784124441000,"timestamp_ms":1784124441000,"timestamp_seconds":1784124441,"priority":1,"record_length":96,"hex_timestamp":"0000019f661a81a8"} 
[2026-07-15 19:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:39:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-15 19:39:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:39: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-07-15 19:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:39: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-07-15 19:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735851520001,"66":27365,"117":206,"85":15104,"24":9,"16":347361505903116288,"45":9022398928489113600},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-07-15 19:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735851520001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:39:39] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-15 19:39:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347361505903116288,"km_value":347361505903116.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928489113600,"description":"Unknown IO ID 45"} 
[2026-07-15 19:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735851520001,"power":27365,"unknown_117":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9022398928489113600}} 
[2026-07-15 19:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":132871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:39:39] local.INFO: GPS data processed {"connection_id":132871,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:39:39] local.INFO: Acknowledgment sent {"connection_id":132871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:39:50] local.INFO: TCP Data received {"connection_id":132872,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:39:50] local.INFO: Processing buffer {"connection_id":132872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:39:50] local.INFO: IMEI packet received {"connection_id":132872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":132872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:39:55] local.INFO: TCP Data received {"connection_id":132872,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:39:55] local.INFO: Processing buffer {"connection_id":132872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:39:55] local.INFO: IMEI packet received {"connection_id":132872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":132872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:39:57] local.INFO: TCP Data received {"connection_id":132872,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f661bc1f8012d182c0007219cc8004e008428..."} 
[2026-07-15 19:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f661bc1f8012d182c0007219cc8004e008428..."} 
[2026-07-15 19:39:57] local.INFO: Processing buffer {"connection_id":132872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f661bc1f8012d182c0007219cc8004e008428..."} 
[2026-07-15 19:39:57] local.INFO: Packet analysis {"connection_id":132872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f661b"} 
[2026-07-15 19:39:57] local.INFO: Extracted packet for processing {"connection_id":132872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f661b"} 
[2026-07-15 19:39:57] local.INFO: GPS Element Parsed {"raw_longitude":756558848,"raw_latitude":119643336,"longitude_deg":75.6558848,"latitude_deg":11.9643336,"altitude":78,"angle":132,"satellites":40,"speed":3,"hex_longitude":"2d182c00","hex_latitude":"07219cc8","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735877376001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:39:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6246033499619328,"note":"Value kept but may cause issues"} 
[2026-07-15 19:39:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741556080281737216,"note":"Value kept but may cause issues"} 
[2026-07-15 19:39:57] 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-07-15 19:39:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784124523000,"timestamp_ms":1784124523000,"timestamp_seconds":1784124523,"priority":1,"record_length":96,"hex_timestamp":"0000019f661bc1f8"} 
[2026-07-15 19:39:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:39:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-15 19:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867791408,"note":"Value kept but may cause issues"} 
[2026-07-15 19:39:57] local.WARNING: Large IO value detected {"io_id":24,"raw_value":3062455587573334089,"note":"Value kept but may cause issues"} 
[2026-07-15 19:39:57] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3053453312,"note":"Value kept but may cause issues"} 
[2026-07-15 19:39:57] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-15 19:39:57] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2646081609,"note":"Value kept but may cause issues"} 
[2026-07-15 19:39:57] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18631658337855352,"note":"Value kept but may cause issues"} 
[2026-07-15 19:39:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-15 19:39:57] local.WARNING: Large IO value detected {"io_id":42,"raw_value":2147951005,"note":"Value kept but may cause issues"} 
[2026-07-15 19:39:57] local.WARNING: Large IO value detected {"io_id":49,"raw_value":1009032710565449244,"note":"Value kept but may cause issues"} 
[2026-07-15 19:39:57] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-07-15 19:39:57] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-15 19:39:57] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,120,28,24,241,158,16,48,159,178,45,128,157,73,40,10,66,96,39,14,1,240,113,102,33,4,205,110,42,184,35,239,49,2,22,7,124],"length":577,"final_offset":707,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-15 19:39:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620656338284773376,"timestamp_seconds":5620656338284773.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 19:39:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:39:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:39:57] local.INFO: Teltonika packet parsed successfully {"connection_id":132872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:39:57] local.INFO: Passing IMEI to GPS processor {"connection_id":132872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:39:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":132872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:39:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:39:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:39:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:39:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735877376001,"66":13526,"120":206,"28":31744,"24":3,"16":6246033499619328,"45":1741556080281737216},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:39:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:39:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:39:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735877376001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:39:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:39:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:39:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6246033499619328,"km_value":6246033499619.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:39:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741556080281737216,"description":"Unknown IO ID 45"} 
[2026-07-15 19:39:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735877376001,"power":13526,"unknown_120":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1741556080281737216}} 
[2026-07-15 19:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":132872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:39:57] local.INFO: GPS data processed {"connection_id":132872,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:39:57] local.INFO: Acknowledgment sent {"connection_id":132872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:40:00] local.INFO: TCP Data received {"connection_id":133726,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:40:00] local.INFO: Processing buffer {"connection_id":133726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:40:00] local.INFO: IMEI packet received {"connection_id":133726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":133726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:40:06] local.INFO: TCP Data received {"connection_id":133726,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:40:06] local.INFO: Processing buffer {"connection_id":133726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:40:06] local.INFO: IMEI packet received {"connection_id":133726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":133726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:40:07] local.INFO: TCP Data received {"connection_id":133726,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f661bf8a8012d7d35c005d39580000000001f..."} 
[2026-07-15 19:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f661bf8a8012d7d35c005d39580000000001f..."} 
[2026-07-15 19:40:07] local.INFO: Processing buffer {"connection_id":133726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f661bf8a8012d7d35c005d39580000000001f..."} 
[2026-07-15 19:40:07] local.INFO: Packet analysis {"connection_id":133726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f661b"} 
[2026-07-15 19:40:07] local.INFO: Extracted packet for processing {"connection_id":133726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f661b"} 
[2026-07-15 19:40:07] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":97752448,"longitude_deg":76.318048,"latitude_deg":9.7752448,"altitude":0,"angle":0,"satellites":31,"speed":54,"hex_longitude":"2d7d35c0","hex_latitude":"05d39580","is_valid_coordinates":true} 
[2026-07-15 19:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735879680001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347364907517214720,"note":"Value kept but may cause issues"} 
[2026-07-15 19:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928505673728,"note":"Value kept but may cause issues"} 
[2026-07-15 19:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784124537000,"timestamp_ms":1784124537000,"timestamp_seconds":1784124537,"priority":1,"record_length":96,"hex_timestamp":"0000019f661bf8a8"} 
[2026-07-15 19:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-15 19:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735879680001,"66":27213,"81":206,"85":15104,"24":54,"16":347364907517214720,"45":9022398928505673728},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-15 19:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735879680001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:40:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-15 19:40:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347364907517214720,"km_value":347364907517214.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928505673728,"description":"Unknown IO ID 45"} 
[2026-07-15 19:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735879680001,"power":27213,"unknown_81":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":9022398928505673728}} 
[2026-07-15 19:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":133726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:40:07] local.INFO: GPS data processed {"connection_id":133726,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:40:07] local.INFO: Acknowledgment sent {"connection_id":133726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:40:28] local.INFO: TCP Data received {"connection_id":132872,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f661bc5e0012d182c4007219c90004e007428..."} 
[2026-07-15 19:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f661bc5e0012d182c4007219c90004e007428..."} 
[2026-07-15 19:40:28] local.INFO: Processing buffer {"connection_id":132872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f661bc5e0012d182c4007219c90004e007428..."} 
[2026-07-15 19:40:28] local.INFO: Packet analysis {"connection_id":132872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f661b"} 
[2026-07-15 19:40:28] local.INFO: Extracted packet for processing {"connection_id":132872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f661b"} 
[2026-07-15 19:40:28] local.INFO: GPS Element Parsed {"raw_longitude":756558912,"raw_latitude":119643280,"longitude_deg":75.6558912,"latitude_deg":11.964328,"altitude":78,"angle":116,"satellites":40,"speed":2,"hex_longitude":"2d182c40","hex_latitude":"07219c90","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735877888001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6246037794586624,"note":"Value kept but may cause issues"} 
[2026-07-15 19:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741767186514233344,"note":"Value kept but may cause issues"} 
[2026-07-15 19:40: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-07-15 19:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784124524000,"timestamp_ms":1784124524000,"timestamp_seconds":1784124524,"priority":1,"record_length":96,"hex_timestamp":"0000019f661bc5e0"} 
[2026-07-15 19:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:40:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-07-15 19:40:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19: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-07-15 19:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735877888001,"66":13526,"120":206,"28":31744,"24":2,"16":6246037794586624,"45":1741767186514233344},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-15 19:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735877888001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:40:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-15 19:40:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6246037794586624,"km_value":6246037794586.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741767186514233344,"description":"Unknown IO ID 45"} 
[2026-07-15 19:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735877888001,"power":13526,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1741767186514233344}} 
[2026-07-15 19:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":132872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492651,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:40:29] local.INFO: GPS data processed {"connection_id":132872,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:40:29] local.INFO: Acknowledgment sent {"connection_id":132872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:40:38] local.INFO: TCP Data received {"connection_id":133726,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f661c1bd0012d7d358005d3b8c80000000421..."} 
[2026-07-15 19:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f661c1bd0012d7d358005d3b8c80000000421..."} 
[2026-07-15 19:40:38] local.INFO: Processing buffer {"connection_id":133726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f661c1bd0012d7d358005d3b8c80000000421..."} 
[2026-07-15 19:40:38] local.INFO: Packet analysis {"connection_id":133726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f661c"} 
[2026-07-15 19:40:38] local.INFO: Extracted packet for processing {"connection_id":133726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f661c"} 
[2026-07-15 19:40:38] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":97761480,"longitude_deg":76.3180416,"latitude_deg":9.776148,"altitude":0,"angle":4,"satellites":33,"speed":22,"hex_longitude":"2d7d3580","hex_latitude":"05d3b8c8","is_valid_coordinates":true} 
[2026-07-15 19:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735881472001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347365345603878912,"note":"Value kept but may cause issues"} 
[2026-07-15 19:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328559763816448,"note":"Value kept but may cause issues"} 
[2026-07-15 19:40:38] 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-07-15 19:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784124546000,"timestamp_ms":1784124546000,"timestamp_seconds":1784124546,"priority":1,"record_length":96,"hex_timestamp":"0000019f661c1bd0"} 
[2026-07-15 19:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-15 19:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735881472001,"66":27343,"81":206,"85":15104,"24":22,"16":347365345603878912,"45":9022328559763816448},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-15 19:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735881472001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:40:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-15 19:40:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347365345603878912,"km_value":347365345603878.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328559763816448,"description":"Unknown IO ID 45"} 
[2026-07-15 19:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735881472001,"power":27343,"unknown_81":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9022328559763816448}} 
[2026-07-15 19:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":133726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:40:38] local.INFO: GPS data processed {"connection_id":133726,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:40:38] local.INFO: Acknowledgment sent {"connection_id":133726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:40:50] local.INFO: TCP Data received {"connection_id":132697,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:40:50] local.INFO: Processing buffer {"connection_id":132697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:40:50] local.INFO: IMEI packet received {"connection_id":132697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":132697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:40:50] local.INFO: TCP Data received {"connection_id":132697,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:40:50] local.INFO: Processing buffer {"connection_id":132697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:40:50] local.INFO: IMEI packet received {"connection_id":132697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":132697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:40:55] local.INFO: TCP Data received {"connection_id":132697,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:40:55] local.INFO: Processing buffer {"connection_id":132697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:40:55] local.INFO: IMEI packet received {"connection_id":132697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":132697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:40:56] local.INFO: TCP Data received {"connection_id":132697,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f661d11e8012d18c6c007213cb80041009f25..."} 
[2026-07-15 19:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f661d11e8012d18c6c007213cb80041009f25..."} 
[2026-07-15 19:40:56] local.INFO: Processing buffer {"connection_id":132697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f661d11e8012d18c6c007213cb80041009f25..."} 
[2026-07-15 19:40:56] local.INFO: Packet analysis {"connection_id":132697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f661d"} 
[2026-07-15 19:40:56] local.INFO: Extracted packet for processing {"connection_id":132697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f661d"} 
[2026-07-15 19:40:56] local.INFO: GPS Element Parsed {"raw_longitude":756598464,"raw_latitude":119618744,"longitude_deg":75.6598464,"latitude_deg":11.9618744,"altitude":65,"angle":159,"satellites":37,"speed":29,"hex_longitude":"2d18c6c0","hex_latitude":"07213cb8","is_valid_coordinates":true} 
[2026-07-15 19:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735898624001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6248468746076160,"note":"Value kept but may cause issues"} 
[2026-07-15 19:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784903226689794048,"note":"Value kept but may cause issues"} 
[2026-07-15 19:40: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-07-15 19:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784124609000,"timestamp_ms":1784124609000,"timestamp_seconds":1784124609,"priority":1,"record_length":96,"hex_timestamp":"0000019f661d11e8"} 
[2026-07-15 19:40:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:40:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-15 19:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867791409,"note":"Value kept but may cause issues"} 
[2026-07-15 19:40:56] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8124501568276398153,"note":"Value kept but may cause issues"} 
[2026-07-15 19:40:56] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":36865,"corrected_to":0} 
[2026-07-15 19:40:56] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-15 19:40:56] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635863110838137,"note":"Value kept but may cause issues"} 
[2026-07-15 19:40:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-15 19:40:56] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-07-15 19:40:56] local.WARNING: Large IO value detected {"io_id":51,"raw_value":5692776323047542300,"note":"Value kept but may cause issues"} 
[2026-07-15 19:40:56] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755468160663793,"note":"Value kept but may cause issues"} 
[2026-07-15 19:40:56] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,121,28,24,241,158,16,50,159,246,45,64,81,66,36,10,215,192,101,70,35,195,1,240,138,102,33,4,113,205,23,133,136,224,38,239,53,2,22,7,75,27,51,124],"length":577,"final_offset":707,"validated_count":44,"validation_warnings":[{"io_id":246,"original":36865,"validated":0},{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-15 19:40:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755994879465488384,"timestamp_seconds":4755994879465488.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 19:40:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735898624001,"66":13580,"121":206,"28":31744,"24":29,"16":6248468746076160,"45":1784903226689794048},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 19:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735898624001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:40:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 19:40:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6248468746076160,"km_value":6248468746076.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:40:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784903226689794048,"description":"Unknown IO ID 45"} 
[2026-07-15 19:40:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735898624001,"power":13580,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1784903226689794048}} 
[2026-07-15 19:40:57] local.INFO: DEBUG: GPS processor result {"connection_id":132697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492653,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:40:57] local.INFO: GPS data processed {"connection_id":132697,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:40:57] local.INFO: Acknowledgment sent {"connection_id":132697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:41:00] local.INFO: TCP Data received {"connection_id":132698,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:41:00] local.INFO: Processing buffer {"connection_id":132698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:41:00] local.INFO: IMEI packet received {"connection_id":132698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":132698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:41:03] local.INFO: TCP Data received {"connection_id":132698,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:41:03] local.INFO: Processing buffer {"connection_id":132698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:41:03] local.INFO: IMEI packet received {"connection_id":132698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":132698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:41:04] local.INFO: TCP Data received {"connection_id":132873,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132873,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:41:04] local.INFO: Processing buffer {"connection_id":132873,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:41:04] local.INFO: IMEI packet received {"connection_id":132873,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 19:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":132873,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:41:05] local.INFO: TCP Data received {"connection_id":132698,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:41:05] local.INFO: Processing buffer {"connection_id":132698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:41:05] local.INFO: IMEI packet received {"connection_id":132698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":132698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:41:06] local.INFO: TCP Data received {"connection_id":132698,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f661c4e98012d7d37c005d3de48000000061d..."} 
[2026-07-15 19:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f661c4e98012d7d37c005d3de48000000061d..."} 
[2026-07-15 19:41:06] local.INFO: Processing buffer {"connection_id":132698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f661c4e98012d7d37c005d3de48000000061d..."} 
[2026-07-15 19:41:06] local.INFO: Packet analysis {"connection_id":132698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f661c"} 
[2026-07-15 19:41:06] local.INFO: Extracted packet for processing {"connection_id":132698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f661c"} 
[2026-07-15 19:41:06] local.INFO: GPS Element Parsed {"raw_longitude":763180992,"raw_latitude":97771080,"longitude_deg":76.3180992,"latitude_deg":9.777108,"altitude":0,"angle":6,"satellites":29,"speed":38,"hex_longitude":"2d7d37c0","hex_latitude":"05d3de48","is_valid_coordinates":true} 
[2026-07-15 19:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735883776001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347365813755314176,"note":"Value kept but may cause issues"} 
[2026-07-15 19:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191021950976,"note":"Value kept but may cause issues"} 
[2026-07-15 19:41:06] 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-07-15 19:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784124559000,"timestamp_ms":1784124559000,"timestamp_seconds":1784124559,"priority":1,"record_length":96,"hex_timestamp":"0000019f661c4e98"} 
[2026-07-15 19:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-15 19:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735883776001,"66":27332,"81":206,"85":15104,"24":38,"16":347365813755314176,"45":9022258191021950976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-15 19:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735883776001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:41:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-15 19:41:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347365813755314176,"km_value":347365813755314.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191021950976,"description":"Unknown IO ID 45"} 
[2026-07-15 19:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735883776001,"power":27332,"unknown_81":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9022258191021950976}} 
[2026-07-15 19:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":132698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:41:06] local.INFO: GPS data processed {"connection_id":132698,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:41:06] local.INFO: Acknowledgment sent {"connection_id":132698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:41:28] local.INFO: TCP Data received {"connection_id":132697,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f661d1da0012d18ca80072135400040009325..."} 
[2026-07-15 19:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f661d1da0012d18ca80072135400040009325..."} 
[2026-07-15 19:41:28] local.INFO: Processing buffer {"connection_id":132697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f661d1da0012d18ca80072135400040009325..."} 
[2026-07-15 19:41:28] local.INFO: Packet analysis {"connection_id":132697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f661d"} 
[2026-07-15 19:41:28] local.INFO: Extracted packet for processing {"connection_id":132697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f661d"} 
[2026-07-15 19:41:28] local.INFO: GPS Element Parsed {"raw_longitude":756599424,"raw_latitude":119616832,"longitude_deg":75.6599424,"latitude_deg":11.9616832,"altitude":64,"angle":147,"satellites":37,"speed":28,"hex_longitude":"2d18ca80","hex_latitude":"07213540","is_valid_coordinates":true} 
[2026-07-15 19:41: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-07-15 19:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735899904001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6248571825291264,"note":"Value kept but may cause issues"} 
[2026-07-15 19:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785325439153911808,"note":"Value kept but may cause issues"} 
[2026-07-15 19:41: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-07-15 19:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784124612000,"timestamp_ms":1784124612000,"timestamp_seconds":1784124612,"priority":1,"record_length":96,"hex_timestamp":"0000019f661d1da0"} 
[2026-07-15 19:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:41:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:41: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-07-15 19:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867791409,"note":"Value kept but may cause issues"} 
[2026-07-15 19:41:28] local.WARNING: Large IO value detected {"io_id":24,"raw_value":-9025205812750974901,"note":"Value kept but may cause issues"} 
[2026-07-15 19:41:28] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":36865,"corrected_to":0} 
[2026-07-15 19:41:28] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-15 19:41:28] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635863110838137,"note":"Value kept but may cause issues"} 
[2026-07-15 19:41:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-15 19:41:28] local.WARNING: Large IO value detected {"io_id":187,"raw_value":4160826648,"note":"Value kept but may cause issues"} 
[2026-07-15 19:41:28] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-07-15 19:41:28] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4035451660175199772,"note":"Value kept but may cause issues"} 
[2026-07-15 19:41:28] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755515405304049,"note":"Value kept but may cause issues"} 
[2026-07-15 19:41:28] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,121,28,24,241,158,16,50,159,254,45,64,75,66,37,10,246,81,36,215,192,1,240,105,102,33,4,113,205,25,187,171,208,35,239,52,2,22,7,53,124],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":246,"original":36865,"validated":0},{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-15 19:41:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4683918593729822720,"timestamp_seconds":4683918593729823.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 19:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735899904001,"66":13624,"121":206,"28":31744,"24":28,"16":6248571825291264,"45":1785325439153911808},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 19:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735899904001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:41:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 19:41:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6248571825291264,"km_value":6248571825291.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785325439153911808,"description":"Unknown IO ID 45"} 
[2026-07-15 19:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735899904001,"power":13624,"unknown_121":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1785325439153911808}} 
[2026-07-15 19:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":132697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492655,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:41:28] local.INFO: GPS data processed {"connection_id":132697,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:41:28] local.INFO: Acknowledgment sent {"connection_id":132697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:41:34] local.INFO: TCP Data received {"connection_id":132874,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132874,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:41:34] local.INFO: Processing buffer {"connection_id":132874,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:41:34] local.INFO: IMEI packet received {"connection_id":132874,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 19:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":132874,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:41:37] local.INFO: TCP Data received {"connection_id":132698,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f661c71c0012d7d3b0005d403c00000000220..."} 
[2026-07-15 19:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f661c71c0012d7d3b0005d403c00000000220..."} 
[2026-07-15 19:41:37] local.INFO: Processing buffer {"connection_id":132698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f661c71c0012d7d3b0005d403c00000000220..."} 
[2026-07-15 19:41:37] local.INFO: Packet analysis {"connection_id":132698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f661c"} 
[2026-07-15 19:41:37] local.INFO: Extracted packet for processing {"connection_id":132698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f661c"} 
[2026-07-15 19:41:37] local.INFO: GPS Element Parsed {"raw_longitude":763181824,"raw_latitude":97780672,"longitude_deg":76.3181824,"latitude_deg":9.7780672,"altitude":0,"angle":2,"satellites":32,"speed":44,"hex_longitude":"2d7d3b00","hex_latitude":"05d403c0","is_valid_coordinates":true} 
[2026-07-15 19:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735887104001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347366277611782144,"note":"Value kept but may cause issues"} 
[2026-07-15 19:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022891509722007552,"note":"Value kept but may cause issues"} 
[2026-07-15 19:41:37] 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-07-15 19:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784124568000,"timestamp_ms":1784124568000,"timestamp_seconds":1784124568,"priority":1,"record_length":96,"hex_timestamp":"0000019f661c71c0"} 
[2026-07-15 19:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-15 19:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735887104001,"66":27321,"81":206,"85":15104,"24":44,"16":347366277611782144,"45":9022891509722007552},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-15 19:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735887104001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:41:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-15 19:41:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347366277611782144,"km_value":347366277611782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022891509722007552,"description":"Unknown IO ID 45"} 
[2026-07-15 19:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735887104001,"power":27321,"unknown_81":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9022891509722007552}} 
[2026-07-15 19:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":132698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:41:37] local.INFO: GPS data processed {"connection_id":132698,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:41:37] local.INFO: Acknowledgment sent {"connection_id":132698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:41:54] local.INFO: TCP Data received {"connection_id":135088,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135088,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:41:54] local.INFO: Processing buffer {"connection_id":135088,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:41:54] local.INFO: IMEI packet received {"connection_id":135088,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":135088,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:41:55] local.INFO: TCP Data received {"connection_id":135088,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135088,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:41:55] local.INFO: Processing buffer {"connection_id":135088,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:41:55] local.INFO: IMEI packet received {"connection_id":135088,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":135088,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:41:55] local.INFO: TCP Data received {"connection_id":135088,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135088,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:41:55] local.INFO: Processing buffer {"connection_id":135088,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:41:55] local.INFO: IMEI packet received {"connection_id":135088,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":135088,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:42:00] local.INFO: TCP Data received {"connection_id":135088,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135088,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:42:00] local.INFO: Processing buffer {"connection_id":135088,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:42:00] local.INFO: IMEI packet received {"connection_id":135088,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":135088,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:42:01] local.INFO: TCP Data received {"connection_id":135088,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f661e0418012d1932000720ba68002f007122..."} 
[2026-07-15 19:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f661e0418012d1932000720ba68002f007122..."} 
[2026-07-15 19:42:01] local.INFO: Processing buffer {"connection_id":135088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f661e0418012d1932000720ba68002f007122..."} 
[2026-07-15 19:42:01] local.INFO: Packet analysis {"connection_id":135088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f661e"} 
[2026-07-15 19:42:01] local.INFO: Extracted packet for processing {"connection_id":135088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f661e"} 
[2026-07-15 19:42:01] local.INFO: GPS Element Parsed {"raw_longitude":756625920,"raw_latitude":119585384,"longitude_deg":75.662592,"latitude_deg":11.9585384,"altitude":47,"angle":113,"satellites":34,"speed":30,"hex_longitude":"2d193200","hex_latitude":"0720ba68","is_valid_coordinates":true} 
[2026-07-15 19:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735913216001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6250715013971968,"note":"Value kept but may cause issues"} 
[2026-07-15 19:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1806013849934465024,"note":"Value kept but may cause issues"} 
[2026-07-15 19:42:01] 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-07-15 19:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784124671000,"timestamp_ms":1784124671000,"timestamp_seconds":1784124671,"priority":1,"record_length":96,"hex_timestamp":"0000019f661e0418"} 
[2026-07-15 19:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:42:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-15 19:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867791411,"note":"Value kept but may cause issues"} 
[2026-07-15 19:42:01] local.WARNING: Large IO value detected {"io_id":24,"raw_value":-3278612689893982146,"note":"Value kept but may cause issues"} 
[2026-07-15 19:42:01] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-15 19:42:01] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3355443200,"note":"Value kept but may cause issues"} 
[2026-07-15 19:42:01] local.WARNING: Large IO value detected {"io_id":32,"raw_value":4254072891,"note":"Value kept but may cause issues"} 
[2026-07-15 19:42:01] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635674132277113,"note":"Value kept but may cause issues"} 
[2026-07-15 19:42:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-15 19:42:01] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2147950864,"note":"Value kept but may cause issues"} 
[2026-07-15 19:42:01] local.WARNING: Large IO value detected {"io_id":53,"raw_value":6341294669388893724,"note":"Value kept but may cause issues"} 
[2026-07-15 19:42:01] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-07-15 19:42:01] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755523995238641,"note":"Value kept but may cause issues"} 
[2026-07-15 19:42:01] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,121,28,24,241,158,16,52,159,185,45,192,215,57,38,10,66,146,240,59,36,51,131,128,1,56,102,32,4,113,205,30,88,210,152,239,53,2,22,7,61,21,124],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-15 19:42:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3747124795555315712,"timestamp_seconds":3747124795555315.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 19:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":135088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":135088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":135088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:42:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735913216001,"66":13678,"121":206,"28":31744,"24":30,"16":6250715013971968,"45":1806013849934465024},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 19:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735913216001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:42:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 19:42:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6250715013971968,"km_value":6250715013971.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1806013849934465024,"description":"Unknown IO ID 45"} 
[2026-07-15 19:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735913216001,"power":13678,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1806013849934465024}} 
[2026-07-15 19:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":135088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:42:01] local.INFO: GPS data processed {"connection_id":135088,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:42:01] local.INFO: Acknowledgment sent {"connection_id":135088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:42:03] local.INFO: TCP Data received {"connection_id":135088,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f661e13b8012d193c400720b448002e007d20..."} 
[2026-07-15 19:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f661e13b8012d193c400720b448002e007d20..."} 
[2026-07-15 19:42:03] local.INFO: Processing buffer {"connection_id":135088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f661e13b8012d193c400720b448002e007d20..."} 
[2026-07-15 19:42:03] local.INFO: Packet analysis {"connection_id":135088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f661e"} 
[2026-07-15 19:42:03] local.INFO: Extracted packet for processing {"connection_id":135088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f661e"} 
[2026-07-15 19:42:03] local.INFO: GPS Element Parsed {"raw_longitude":756628544,"raw_latitude":119583816,"longitude_deg":75.6628544,"latitude_deg":11.9583816,"altitude":46,"angle":125,"satellites":32,"speed":31,"hex_longitude":"2d193c40","hex_latitude":"0720b448","is_valid_coordinates":true} 
[2026-07-15 19:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735915776001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6250861042860032,"note":"Value kept but may cause issues"} 
[2026-07-15 19:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1815513630397589504,"note":"Value kept but may cause issues"} 
[2026-07-15 19:42:03] 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-07-15 19:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784124675000,"timestamp_ms":1784124675000,"timestamp_seconds":1784124675,"priority":1,"record_length":96,"hex_timestamp":"0000019f661e13b8"} 
[2026-07-15 19:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-07-15 19:42:03] 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-07-15 19:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":135088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":135088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":135088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735915776001,"66":13656,"121":206,"28":31744,"24":31,"16":6250861042860032,"45":1815513630397589504},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 19:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735915776001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:42:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 19:42:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6250861042860032,"km_value":6250861042860.032,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1815513630397589504,"description":"Unknown IO ID 45"} 
[2026-07-15 19:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735915776001,"power":13656,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1815513630397589504}} 
[2026-07-15 19:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":135088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:42:03] local.INFO: GPS data processed {"connection_id":135088,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:42:03] local.INFO: Acknowledgment sent {"connection_id":135088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:42:08] local.INFO: TCP Data received {"connection_id":135088,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f661e1b88012d1941c00720b120002e007022..."} 
[2026-07-15 19:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f661e1b88012d1941c00720b120002e007022..."} 
[2026-07-15 19:42:08] local.INFO: Processing buffer {"connection_id":135088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f661e1b88012d1941c00720b120002e007022..."} 
[2026-07-15 19:42:08] local.INFO: Packet analysis {"connection_id":135088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f661e"} 
[2026-07-15 19:42:08] local.INFO: Extracted packet for processing {"connection_id":135088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f661e"} 
[2026-07-15 19:42:08] local.INFO: GPS Element Parsed {"raw_longitude":756629952,"raw_latitude":119583008,"longitude_deg":75.6629952,"latitude_deg":11.9583008,"altitude":46,"angle":112,"satellites":34,"speed":32,"hex_longitude":"2d1941c0","hex_latitude":"0720b120","is_valid_coordinates":true} 
[2026-07-15 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-07-15 19:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735916800001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6250938352271360,"note":"Value kept but may cause issues"} 
[2026-07-15 19:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818398748908472320,"note":"Value kept but may cause issues"} 
[2026-07-15 19:42:08] 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-07-15 19:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784124677000,"timestamp_ms":1784124677000,"timestamp_seconds":1784124677,"priority":1,"record_length":96,"hex_timestamp":"0000019f661e1b88"} 
[2026-07-15 19:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-07-15 19:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":135088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":135088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":135088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735916800001,"66":13656,"121":206,"28":31744,"24":32,"16":6250938352271360,"45":1818398748908472320},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 19:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735916800001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:42:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 19:42:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6250938352271360,"km_value":6250938352271.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818398748908472320,"description":"Unknown IO ID 45"} 
[2026-07-15 19:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735916800001,"power":13656,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1818398748908472320}} 
[2026-07-15 19:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":135088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492659,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:42:08] local.INFO: GPS data processed {"connection_id":135088,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:42:08] local.INFO: Acknowledgment sent {"connection_id":135088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:42:15] local.INFO: TCP Data received {"connection_id":133727,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:42:15] local.INFO: Processing buffer {"connection_id":133727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:42:15] local.INFO: IMEI packet received {"connection_id":133727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":133727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:42:20] local.INFO: TCP Data received {"connection_id":133727,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:42:20] local.INFO: Processing buffer {"connection_id":133727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:42:20] local.INFO: IMEI packet received {"connection_id":133727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":133727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:42:21] local.INFO: TCP Data received {"connection_id":133727,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f661c94e8012d7d3d8005d42768000000021f..."} 
[2026-07-15 19:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f661c94e8012d7d3d8005d42768000000021f..."} 
[2026-07-15 19:42:21] local.INFO: Processing buffer {"connection_id":133727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f661c94e8012d7d3d8005d42768000000021f..."} 
[2026-07-15 19:42:21] local.INFO: Packet analysis {"connection_id":133727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f661c"} 
[2026-07-15 19:42:21] local.INFO: Extracted packet for processing {"connection_id":133727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f661c"} 
[2026-07-15 19:42:21] local.INFO: GPS Element Parsed {"raw_longitude":763182464,"raw_latitude":97789800,"longitude_deg":76.3182464,"latitude_deg":9.77898,"altitude":0,"angle":2,"satellites":31,"speed":28,"hex_longitude":"2d7d3d80","hex_latitude":"05d42768","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735889408001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347366724288380928,"note":"Value kept but may cause issues"} 
[2026-07-15 19:42:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023806303398772736,"note":"Value kept but may cause issues"} 
[2026-07-15 19:42:21] 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-07-15 19:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1784124577000,"timestamp_ms":1784124577000,"timestamp_seconds":1784124577,"priority":1,"record_length":96,"hex_timestamp":"0000019f661c94e8"} 
[2026-07-15 19:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:42:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-15 19:42:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19: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-07-15 19:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":133727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":133727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":133727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:42: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-07-15 19:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735889408001,"66":27376,"254":206,"85":15104,"24":28,"16":347366724288380928,"45":9023806303398772736},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-07-15 19:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735889408001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:42:21] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-15 19:42:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347366724288380928,"km_value":347366724288380.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:42:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023806303398772736,"description":"Unknown IO ID 45"} 
[2026-07-15 19:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735889408001,"power":27376,"unknown_254":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9023806303398772736}} 
[2026-07-15 19:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":133727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:42:21] local.INFO: GPS data processed {"connection_id":133727,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:42:21] local.INFO: Acknowledgment sent {"connection_id":133727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:42:22] local.INFO: TCP Data received {"connection_id":133727,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f661cc3c8012d7d3d8005d44a88000001651f..."} 
[2026-07-15 19:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f661cc3c8012d7d3d8005d44a88000001651f..."} 
[2026-07-15 19:42:22] local.INFO: Processing buffer {"connection_id":133727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f661cc3c8012d7d3d8005d44a88000001651f..."} 
[2026-07-15 19:42:22] local.INFO: Packet analysis {"connection_id":133727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f661c"} 
[2026-07-15 19:42:22] local.INFO: Extracted packet for processing {"connection_id":133727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f661c"} 
[2026-07-15 19:42:22] local.INFO: GPS Element Parsed {"raw_longitude":763182464,"raw_latitude":97798792,"longitude_deg":76.3182464,"latitude_deg":9.7798792,"altitude":0,"angle":357,"satellites":31,"speed":36,"hex_longitude":"2d7d3d80","hex_latitude":"05d44a88","is_valid_coordinates":true} 
[2026-07-15 19:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735891712001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347367158080077824,"note":"Value kept but may cause issues"} 
[2026-07-15 19:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024509990842886144,"note":"Value kept but may cause issues"} 
[2026-07-15 19:42:22] 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-07-15 19:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784124589000,"timestamp_ms":1784124589000,"timestamp_seconds":1784124589,"priority":1,"record_length":96,"hex_timestamp":"0000019f661cc3c8"} 
[2026-07-15 19:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-15 19:42:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:42:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":133727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":133727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":133727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:42: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-07-15 19:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735891712001,"66":27310,"254":206,"85":15104,"24":36,"16":347367158080077824,"45":9024509990842886144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-07-15 19:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735891712001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:42:22] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-15 19:42:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347367158080077824,"km_value":347367158080077.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024509990842886144,"description":"Unknown IO ID 45"} 
[2026-07-15 19:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735891712001,"power":27310,"unknown_254":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9024509990842886144}} 
[2026-07-15 19:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":133727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:42:22] local.INFO: GPS data processed {"connection_id":133727,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:42:22] local.INFO: Acknowledgment sent {"connection_id":133727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:42:46] local.INFO: TCP Data received {"connection_id":133729,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:42:46] local.INFO: Processing buffer {"connection_id":133729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:42:46] local.INFO: IMEI packet received {"connection_id":133729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":133729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:42:47] local.INFO: TCP Data received {"connection_id":133729,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:42:47] local.INFO: Processing buffer {"connection_id":133729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:42:47] local.INFO: IMEI packet received {"connection_id":133729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":133729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:42:50] local.INFO: TCP Data received {"connection_id":133729,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:42:50] local.INFO: Processing buffer {"connection_id":133729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:42:50] local.INFO: IMEI packet received {"connection_id":133729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":133729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:42:55] local.INFO: TCP Data received {"connection_id":133729,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:42:55] local.INFO: Processing buffer {"connection_id":133729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:42:55] local.INFO: IMEI packet received {"connection_id":133729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":133729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:42:56] local.INFO: TCP Data received {"connection_id":133729,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f661e36e0012d1953800720ab28002d005c23..."} 
[2026-07-15 19:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f661e36e0012d1953800720ab28002d005c23..."} 
[2026-07-15 19:42:56] local.INFO: Processing buffer {"connection_id":133729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f661e36e0012d1953800720ab28002d005c23..."} 
[2026-07-15 19:42:56] local.INFO: Packet analysis {"connection_id":133729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f661e"} 
[2026-07-15 19:42:56] local.INFO: Extracted packet for processing {"connection_id":133729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f661e"} 
[2026-07-15 19:42:56] local.INFO: GPS Element Parsed {"raw_longitude":756634496,"raw_latitude":119581480,"longitude_deg":75.6634496,"latitude_deg":11.958148,"altitude":45,"angle":92,"satellites":35,"speed":25,"hex_longitude":"2d195380","hex_latitude":"0720ab28","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735917312001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6251170280505344,"note":"Value kept but may cause issues"} 
[2026-07-15 19:42:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819946861280174080,"note":"Value kept but may cause issues"} 
[2026-07-15 19:42: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-07-15 19:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784124684000,"timestamp_ms":1784124684000,"timestamp_seconds":1784124684,"priority":1,"record_length":96,"hex_timestamp":"0000019f661e36e0"} 
[2026-07-15 19:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:42:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-07-15 19:42:56] 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-07-15 19: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-07-15 19:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:42:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735917312001,"66":12993,"121":206,"28":31744,"24":25,"16":6251170280505344,"45":1819946861280174080},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 19:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735917312001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:42:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 19:42:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6251170280505344,"km_value":6251170280505.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:42:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819946861280174080,"description":"Unknown IO ID 45"} 
[2026-07-15 19:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735917312001,"power":12993,"unknown_121":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1819946861280174080}} 
[2026-07-15 19:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":133729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:42:56] local.INFO: GPS data processed {"connection_id":133729,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:42:56] local.INFO: Acknowledgment sent {"connection_id":133729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:42:59] local.INFO: TCP Data received {"connection_id":132699,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:42:59] local.INFO: Processing buffer {"connection_id":132699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:42:59] local.INFO: IMEI packet received {"connection_id":132699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":132699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:43:00] local.INFO: TCP Data received {"connection_id":132699,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:43:00] local.INFO: Processing buffer {"connection_id":132699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:43:00] local.INFO: IMEI packet received {"connection_id":132699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":132699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:43:06] local.INFO: TCP Data received {"connection_id":132699,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:43:06] local.INFO: Processing buffer {"connection_id":132699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:43:06] local.INFO: IMEI packet received {"connection_id":132699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":132699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:43:07] local.INFO: TCP Data received {"connection_id":132699,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f661ea440012d7cfb0005d5f2580000015b1e..."} 
[2026-07-15 19:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f661ea440012d7cfb0005d5f2580000015b1e..."} 
[2026-07-15 19:43:07] local.INFO: Processing buffer {"connection_id":132699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f661ea440012d7cfb0005d5f2580000015b1e..."} 
[2026-07-15 19:43:07] local.INFO: Packet analysis {"connection_id":132699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f661e"} 
[2026-07-15 19:43:07] local.INFO: Extracted packet for processing {"connection_id":132699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f661e"} 
[2026-07-15 19:43:07] local.INFO: GPS Element Parsed {"raw_longitude":763165440,"raw_latitude":97907288,"longitude_deg":76.316544,"latitude_deg":9.7907288,"altitude":0,"angle":347,"satellites":30,"speed":42,"hex_longitude":"2d7cfb00","hex_latitude":"05d5f258","is_valid_coordinates":true} 
[2026-07-15 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-07-15 19:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735923712001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347372522494230528,"note":"Value kept but may cause issues"} 
[2026-07-15 19:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009028867151454208,"note":"Value kept but may cause issues"} 
[2026-07-15 19:43:07] 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-07-15 19:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784124712000,"timestamp_ms":1784124712000,"timestamp_seconds":1784124712,"priority":1,"record_length":96,"hex_timestamp":"0000019f661ea440"} 
[2026-07-15 19:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-15 19:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735923712001,"66":27332,"29":206,"85":15104,"24":42,"16":347372522494230528,"45":9009028867151454208},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-07-15 19:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735923712001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:43:07] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-15 19:43:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347372522494230528,"km_value":347372522494230.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009028867151454208,"description":"Unknown IO ID 45"} 
[2026-07-15 19:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735923712001,"power":27332,"unknown_29":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9009028867151454208}} 
[2026-07-15 19:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":132699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:43:07] local.INFO: GPS data processed {"connection_id":132699,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:43:07] local.INFO: Acknowledgment sent {"connection_id":132699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:43:28] local.INFO: TCP Data received {"connection_id":133729,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f661f11a0012d19ad8007208de0003100b023..."} 
[2026-07-15 19:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f661f11a0012d19ad8007208de0003100b023..."} 
[2026-07-15 19:43:28] local.INFO: Processing buffer {"connection_id":133729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f661f11a0012d19ad8007208de0003100b023..."} 
[2026-07-15 19:43:28] local.INFO: Packet analysis {"connection_id":133729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f661f"} 
[2026-07-15 19:43:28] local.INFO: Extracted packet for processing {"connection_id":133729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f661f"} 
[2026-07-15 19:43:28] local.INFO: GPS Element Parsed {"raw_longitude":756657536,"raw_latitude":119573984,"longitude_deg":75.6657536,"latitude_deg":11.9573984,"altitude":49,"angle":176,"satellites":35,"speed":24,"hex_longitude":"2d19ad80","hex_latitude":"07208de0","is_valid_coordinates":true} 
[2026-07-15 19:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735933184001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6252858202652672,"note":"Value kept but may cause issues"} 
[2026-07-15 19:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850205421274421248,"note":"Value kept but may cause issues"} 
[2026-07-15 19:43: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-07-15 19:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784124740000,"timestamp_ms":1784124740000,"timestamp_seconds":1784124740,"priority":1,"record_length":96,"hex_timestamp":"0000019f661f11a0"} 
[2026-07-15 19:43:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:43:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-07-15 19:43:28] 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-07-15 19:43:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:43:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":133729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":133729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":133729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:43:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735933184001,"66":13156,"121":206,"28":31744,"24":24,"16":6252858202652672,"45":1850205421274421248},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 19:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735933184001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:43:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 19:43:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6252858202652672,"km_value":6252858202652.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850205421274421248,"description":"Unknown IO ID 45"} 
[2026-07-15 19:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735933184001,"power":13156,"unknown_121":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1850205421274421248}} 
[2026-07-15 19:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":133729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:43:28] local.INFO: GPS data processed {"connection_id":133729,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:43:28] local.INFO: Acknowledgment sent {"connection_id":133729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:43:40] local.INFO: TCP Data received {"connection_id":132699,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f661ec380012d7cf60005d616d8000001621e..."} 
[2026-07-15 19:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f661ec380012d7cf60005d616d8000001621e..."} 
[2026-07-15 19:43:40] local.INFO: Processing buffer {"connection_id":132699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f661ec380012d7cf60005d616d8000001621e..."} 
[2026-07-15 19:43:40] local.INFO: Packet analysis {"connection_id":132699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f661e"} 
[2026-07-15 19:43:40] local.INFO: Extracted packet for processing {"connection_id":132699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f661e"} 
[2026-07-15 19:43:40] local.INFO: GPS Element Parsed {"raw_longitude":763164160,"raw_latitude":97916632,"longitude_deg":76.316416,"latitude_deg":9.7916632,"altitude":0,"angle":354,"satellites":30,"speed":49,"hex_longitude":"2d7cf600","hex_latitude":"05d616d8","is_valid_coordinates":true} 
[2026-07-15 19:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735926272001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347372982055731200,"note":"Value kept but may cause issues"} 
[2026-07-15 19:43:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9005791904921704448,"note":"Value kept but may cause issues"} 
[2026-07-15 19:43:40] 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-07-15 19:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784124720000,"timestamp_ms":1784124720000,"timestamp_seconds":1784124720,"priority":1,"record_length":96,"hex_timestamp":"0000019f661ec380"} 
[2026-07-15 19:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:43:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-15 19:43:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:43:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:43:40] 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-07-15 19:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735926272001,"66":27300,"29":206,"85":15104,"24":49,"16":347372982055731200,"45":9005791904921704448},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-07-15 19:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735926272001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:43:40] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-15 19:43:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347372982055731200,"km_value":347372982055731.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:43:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9005791904921704448,"description":"Unknown IO ID 45"} 
[2026-07-15 19:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735926272001,"power":27300,"unknown_29":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":9005791904921704448}} 
[2026-07-15 19:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":132699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:43:40] local.INFO: GPS data processed {"connection_id":132699,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:43:40] local.INFO: Acknowledgment sent {"connection_id":132699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:43:51] local.INFO: TCP Data received {"connection_id":135090,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:43:51] local.INFO: Processing buffer {"connection_id":135090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:43:51] local.INFO: IMEI packet received {"connection_id":135090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":135090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:43:52] local.INFO: TCP Data received {"connection_id":135090,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:43:52] local.INFO: Processing buffer {"connection_id":135090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:43:52] local.INFO: IMEI packet received {"connection_id":135090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":135090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:43:58] local.INFO: TCP Data received {"connection_id":135090,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:43:58] local.INFO: Processing buffer {"connection_id":135090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:43:58] local.INFO: IMEI packet received {"connection_id":135090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":135090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:44:00] local.INFO: TCP Data received {"connection_id":135091,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:44:00] local.INFO: Processing buffer {"connection_id":135091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:44:00] local.INFO: IMEI packet received {"connection_id":135091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":135091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:44:05] local.INFO: TCP Data received {"connection_id":135091,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:44:05] local.INFO: Processing buffer {"connection_id":135091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:44:05] local.INFO: IMEI packet received {"connection_id":135091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":135091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:44:05] local.INFO: TCP Data received {"connection_id":135091,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f661eded8012d7cf24005d63a20000001631f..."} 
[2026-07-15 19:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f661eded8012d7cf24005d63a20000001631f..."} 
[2026-07-15 19:44:05] local.INFO: Processing buffer {"connection_id":135091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f661eded8012d7cf24005d63a20000001631f..."} 
[2026-07-15 19:44:05] local.INFO: Packet analysis {"connection_id":135091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f661e"} 
[2026-07-15 19:44:05] local.INFO: Extracted packet for processing {"connection_id":135091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f661e"} 
[2026-07-15 19:44:05] local.INFO: GPS Element Parsed {"raw_longitude":763163200,"raw_latitude":97925664,"longitude_deg":76.31632,"latitude_deg":9.7925664,"altitude":0,"angle":355,"satellites":31,"speed":50,"hex_longitude":"2d7cf240","hex_latitude":"05d63a20","is_valid_coordinates":true} 
[2026-07-15 19:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735928320001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347373420142395392,"note":"Value kept but may cause issues"} 
[2026-07-15 19:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004384530040543232,"note":"Value kept but may cause issues"} 
[2026-07-15 19:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784124727000,"timestamp_ms":1784124727000,"timestamp_seconds":1784124727,"priority":1,"record_length":96,"hex_timestamp":"0000019f661eded8"} 
[2026-07-15 19:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-15 19:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":135091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":135091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":135091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:44:05] 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-07-15 19:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735928320001,"66":27332,"30":206,"85":15104,"24":50,"16":347373420142395392,"45":9004384530040543232},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-07-15 19:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735928320001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:44:05] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-15 19:44:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347373420142395392,"km_value":347373420142395.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004384530040543232,"description":"Unknown IO ID 45"} 
[2026-07-15 19:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735928320001,"power":27332,"unknown_30":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":9004384530040543232}} 
[2026-07-15 19:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":135091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:44:05] local.INFO: GPS data processed {"connection_id":135091,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:44:05] local.INFO: Acknowledgment sent {"connection_id":135091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:44:08] local.INFO: TCP Data received {"connection_id":135090,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f661f2cf8012d19b10007207d50002f00a524..."} 
[2026-07-15 19:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f661f2cf8012d19b10007207d50002f00a524..."} 
[2026-07-15 19:44:08] local.INFO: Processing buffer {"connection_id":135090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f661f2cf8012d19b10007207d50002f00a524..."} 
[2026-07-15 19:44:08] local.INFO: Packet analysis {"connection_id":135090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f661f"} 
[2026-07-15 19:44:08] local.INFO: Extracted packet for processing {"connection_id":135090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f661f"} 
[2026-07-15 19:44:08] local.INFO: GPS Element Parsed {"raw_longitude":756658432,"raw_latitude":119569744,"longitude_deg":75.6658432,"latitude_deg":11.9569744,"altitude":47,"angle":165,"satellites":36,"speed":25,"hex_longitude":"2d19b100","hex_latitude":"07207d50","is_valid_coordinates":true} 
[2026-07-15 19:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735933440001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6253064361082880,"note":"Value kept but may cause issues"} 
[2026-07-15 19:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850275790018437120,"note":"Value kept but may cause issues"} 
[2026-07-15 19:44:08] 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-07-15 19:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784124747000,"timestamp_ms":1784124747000,"timestamp_seconds":1784124747,"priority":1,"record_length":96,"hex_timestamp":"0000019f661f2cf8"} 
[2026-07-15 19:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-07-15 19:44:08] 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-07-15 19:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":135090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":135090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":135090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735933440001,"66":13624,"121":206,"28":31744,"24":25,"16":6253064361082880,"45":1850275790018437120},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 19:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735933440001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:44:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 19:44:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6253064361082880,"km_value":6253064361082.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850275790018437120,"description":"Unknown IO ID 45"} 
[2026-07-15 19:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735933440001,"power":13624,"unknown_121":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1850275790018437120}} 
[2026-07-15 19:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":135090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492667,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:44:08] local.INFO: GPS data processed {"connection_id":135090,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:44:08] local.INFO: Acknowledgment sent {"connection_id":135090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:44:14] local.INFO: TCP Data received {"connection_id":135090,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f661f5bd8012d19bb0007205c38002c00a923..."} 
[2026-07-15 19:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f661f5bd8012d19bb0007205c38002c00a923..."} 
[2026-07-15 19:44:14] local.INFO: Processing buffer {"connection_id":135090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f661f5bd8012d19bb0007205c38002c00a923..."} 
[2026-07-15 19:44:14] local.INFO: Packet analysis {"connection_id":135090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f661f"} 
[2026-07-15 19:44:14] local.INFO: Extracted packet for processing {"connection_id":135090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f661f"} 
[2026-07-15 19:44:14] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119561272,"longitude_deg":75.6660992,"latitude_deg":11.9561272,"altitude":44,"angle":169,"satellites":35,"speed":29,"hex_longitude":"2d19bb00","hex_latitude":"07205c38","is_valid_coordinates":true} 
[2026-07-15 19:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735935232001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6253498152779776,"note":"Value kept but may cause issues"} 
[2026-07-15 19:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851260952435838976,"note":"Value kept but may cause issues"} 
[2026-07-15 19:44: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-07-15 19:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784124759000,"timestamp_ms":1784124759000,"timestamp_seconds":1784124759,"priority":1,"record_length":96,"hex_timestamp":"0000019f661f5bd8"} 
[2026-07-15 19:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:44:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-07-15 19:44:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:44:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":135090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":135090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":135090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735935232001,"66":13472,"121":206,"28":31744,"24":29,"16":6253498152779776,"45":1851260952435838976},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 19:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735935232001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:44:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 19:44:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6253498152779776,"km_value":6253498152779.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851260952435838976,"description":"Unknown IO ID 45"} 
[2026-07-15 19:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735935232001,"power":13472,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1851260952435838976}} 
[2026-07-15 19:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":135090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:44:14] local.INFO: GPS data processed {"connection_id":135090,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:44:14] local.INFO: Acknowledgment sent {"connection_id":135090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:44:37] local.INFO: TCP Data received {"connection_id":135091,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f66201b40012d7ca10005d7bf680000015f22..."} 
[2026-07-15 19:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66201b40012d7ca10005d7bf680000015f22..."} 
[2026-07-15 19:44:37] local.INFO: Processing buffer {"connection_id":135091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66201b40012d7ca10005d7bf680000015f22..."} 
[2026-07-15 19:44:37] local.INFO: Packet analysis {"connection_id":135091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6620"} 
[2026-07-15 19:44:37] local.INFO: Extracted packet for processing {"connection_id":135091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6620"} 
[2026-07-15 19:44:37] local.INFO: GPS Element Parsed {"raw_longitude":763142400,"raw_latitude":98025320,"longitude_deg":76.31424,"latitude_deg":9.802532,"altitude":0,"angle":351,"satellites":34,"speed":22,"hex_longitude":"2d7ca100","hex_latitude":"05d7bf68","is_valid_coordinates":true} 
[2026-07-15 19:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735948288001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347378367944720384,"note":"Value kept but may cause issues"} 
[2026-07-15 19:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8981936900673308672,"note":"Value kept but may cause issues"} 
[2026-07-15 19:44:37] 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-07-15 19:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784124808000,"timestamp_ms":1784124808000,"timestamp_seconds":1784124808,"priority":1,"record_length":96,"hex_timestamp":"0000019f66201b40"} 
[2026-07-15 19:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-15 19:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":135091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":135091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":135091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735948288001,"66":27343,"195":206,"85":15104,"24":22,"16":347378367944720384,"45":8981936900673308672},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-07-15 19:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735948288001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:44:37] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-15 19:44:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347378367944720384,"km_value":347378367944720.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8981936900673308672,"description":"Unknown IO ID 45"} 
[2026-07-15 19:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735948288001,"power":27343,"unknown_195":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8981936900673308672}} 
[2026-07-15 19:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":135091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:44:37] local.INFO: GPS data processed {"connection_id":135091,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:44:37] local.INFO: Acknowledgment sent {"connection_id":135091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:44:50] local.INFO: TCP Data received {"connection_id":132700,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:44:50] local.INFO: Processing buffer {"connection_id":132700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:44:50] local.INFO: IMEI packet received {"connection_id":132700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":132700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:44:53] local.INFO: TCP Data received {"connection_id":132700,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:44:53] local.INFO: Processing buffer {"connection_id":132700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:44:53] local.INFO: IMEI packet received {"connection_id":132700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":132700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:44:54] local.INFO: TCP Data received {"connection_id":132700,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:44:54] local.INFO: Processing buffer {"connection_id":132700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:44:54] local.INFO: IMEI packet received {"connection_id":132700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":132700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:44:55] local.INFO: TCP Data received {"connection_id":132700,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66207130012d19b100071fef980036011023..."} 
[2026-07-15 19:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66207130012d19b100071fef980036011023..."} 
[2026-07-15 19:44:55] local.INFO: Processing buffer {"connection_id":132700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66207130012d19b100071fef980036011023..."} 
[2026-07-15 19:44:55] local.INFO: Packet analysis {"connection_id":132700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6620"} 
[2026-07-15 19:44:55] local.INFO: Extracted packet for processing {"connection_id":132700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6620"} 
[2026-07-15 19:44:55] local.INFO: GPS Element Parsed {"raw_longitude":756658432,"raw_latitude":119533464,"longitude_deg":75.6658432,"latitude_deg":11.9533464,"altitude":54,"angle":272,"satellites":35,"speed":24,"hex_longitude":"2d19b100","hex_latitude":"071fef98","is_valid_coordinates":true} 
[2026-07-15 19:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735953664001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6255375053488128,"note":"Value kept but may cause issues"} 
[2026-07-15 19:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857805245635241984,"note":"Value kept but may cause issues"} 
[2026-07-15 19:44: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-07-15 19:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784124830000,"timestamp_ms":1784124830000,"timestamp_seconds":1784124830,"priority":1,"record_length":96,"hex_timestamp":"0000019f66207130"} 
[2026-07-15 19:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:44:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-15 19:44:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:44:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":132700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":132700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":132700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735953664001,"66":13624,"121":206,"28":31744,"24":24,"16":6255375053488128,"45":1857805245635241984},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 19:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735953664001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:44:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 19:44:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6255375053488128,"km_value":6255375053488.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857805245635241984,"description":"Unknown IO ID 45"} 
[2026-07-15 19:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735953664001,"power":13624,"unknown_121":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1857805245635241984}} 
[2026-07-15 19:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":132700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:44:55] local.INFO: GPS data processed {"connection_id":132700,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:44:55] local.INFO: Acknowledgment sent {"connection_id":132700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:45:00] local.INFO: TCP Data received {"connection_id":132701,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:45:00] local.INFO: Processing buffer {"connection_id":132701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:45:00] local.INFO: IMEI packet received {"connection_id":132701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":132701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:45:03] local.INFO: TCP Data received {"connection_id":132701,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:45:03] local.INFO: Processing buffer {"connection_id":132701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:45:03] local.INFO: IMEI packet received {"connection_id":132701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":132701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:45:12] local.INFO: TCP Data received {"connection_id":132701,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f662055d8012d7c9e0005d7e398000001631f..."} 
[2026-07-15 19:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f662055d8012d7c9e0005d7e398000001631f..."} 
[2026-07-15 19:45:12] local.INFO: Processing buffer {"connection_id":132701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f662055d8012d7c9e0005d7e398000001631f..."} 
[2026-07-15 19:45:12] local.INFO: Packet analysis {"connection_id":132701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6620"} 
[2026-07-15 19:45:12] local.INFO: Extracted packet for processing {"connection_id":132701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6620"} 
[2026-07-15 19:45:12] local.INFO: GPS Element Parsed {"raw_longitude":763141632,"raw_latitude":98034584,"longitude_deg":76.3141632,"latitude_deg":9.8034584,"altitude":0,"angle":355,"satellites":31,"speed":29,"hex_longitude":"2d7c9e00","hex_latitude":"05d7e398","is_valid_coordinates":true} 
[2026-07-15 19:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735950848001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347378818916286464,"note":"Value kept but may cause issues"} 
[2026-07-15 19:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980459157047961600,"note":"Value kept but may cause issues"} 
[2026-07-15 19:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784124823000,"timestamp_ms":1784124823000,"timestamp_seconds":1784124823,"priority":1,"record_length":96,"hex_timestamp":"0000019f662055d8"} 
[2026-07-15 19:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-15 19:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:45:12] 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-07-15 19:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735950848001,"66":27376,"196":206,"85":15104,"24":29,"16":347378818916286464,"45":8980459157047961600},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-07-15 19:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735950848001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:45:12] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-15 19:45:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347378818916286464,"km_value":347378818916286.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980459157047961600,"description":"Unknown IO ID 45"} 
[2026-07-15 19:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735950848001,"power":27376,"unknown_196":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8980459157047961600}} 
[2026-07-15 19:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":132701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:45:12] local.INFO: GPS data processed {"connection_id":132701,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:45:12] local.INFO: Acknowledgment sent {"connection_id":132701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:45:26] local.INFO: TCP Data received {"connection_id":132700,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66214038012d195380071ff3b00035012a21..."} 
[2026-07-15 19:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66214038012d195380071ff3b00035012a21..."} 
[2026-07-15 19:45:26] local.INFO: Processing buffer {"connection_id":132700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66214038012d195380071ff3b00035012a21..."} 
[2026-07-15 19:45:26] local.INFO: Packet analysis {"connection_id":132700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6621"} 
[2026-07-15 19:45:26] local.INFO: Extracted packet for processing {"connection_id":132700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6621"} 
[2026-07-15 19:45:26] local.INFO: GPS Element Parsed {"raw_longitude":756634496,"raw_latitude":119534512,"longitude_deg":75.6634496,"latitude_deg":11.9534512,"altitude":53,"angle":298,"satellites":33,"speed":23,"hex_longitude":"2d195380","hex_latitude":"071ff3b0","is_valid_coordinates":true} 
[2026-07-15 19:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735968512001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6256547579559936,"note":"Value kept but may cause issues"} 
[2026-07-15 19:45:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828672585545451520,"note":"Value kept but may cause issues"} 
[2026-07-15 19:45: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-07-15 19:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784124883000,"timestamp_ms":1784124883000,"timestamp_seconds":1784124883,"priority":1,"record_length":96,"hex_timestamp":"0000019f66214038"} 
[2026-07-15 19:45:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:45:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-15 19:45:26] 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-07-15 19:45:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:45:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":132700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":132700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":132700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:45:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735968512001,"66":12765,"121":206,"28":31744,"24":23,"16":6256547579559936,"45":1828672585545451520},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 19:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735968512001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:45:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 19:45:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6256547579559936,"km_value":6256547579559.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:45:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828672585545451520,"description":"Unknown IO ID 45"} 
[2026-07-15 19:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735968512001,"power":12765,"unknown_121":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1828672585545451520}} 
[2026-07-15 19:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":132700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:45:26] local.INFO: GPS data processed {"connection_id":132700,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:45:26] local.INFO: Acknowledgment sent {"connection_id":132700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:45:42] local.INFO: TCP Data received {"connection_id":132701,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f66207ce8012d7c9c8005d806a80000016521..."} 
[2026-07-15 19:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66207ce8012d7c9c8005d806a80000016521..."} 
[2026-07-15 19:45:42] local.INFO: Processing buffer {"connection_id":132701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66207ce8012d7c9c8005d806a80000016521..."} 
[2026-07-15 19:45:42] local.INFO: Packet analysis {"connection_id":132701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6620"} 
[2026-07-15 19:45:42] local.INFO: Extracted packet for processing {"connection_id":132701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6620"} 
[2026-07-15 19:45:42] local.INFO: GPS Element Parsed {"raw_longitude":763141248,"raw_latitude":98043560,"longitude_deg":76.3141248,"latitude_deg":9.804356,"altitude":0,"angle":357,"satellites":33,"speed":40,"hex_longitude":"2d7c9c80","hex_latitude":"05d806a8","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735954688001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347379257002950656,"note":"Value kept but may cause issues"} 
[2026-07-15 19:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8979614732120201216,"note":"Value kept but may cause issues"} 
[2026-07-15 19:45:42] 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-07-15 19:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784124833000,"timestamp_ms":1784124833000,"timestamp_seconds":1784124833,"priority":1,"record_length":96,"hex_timestamp":"0000019f66207ce8"} 
[2026-07-15 19:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-15 19:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19: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-07-15 19:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735954688001,"66":27267,"196":206,"85":15104,"24":40,"16":347379257002950656,"45":8979614732120201216},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-07-15 19:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735954688001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:45:42] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-15 19:45:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347379257002950656,"km_value":347379257002950.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8979614732120201216,"description":"Unknown IO ID 45"} 
[2026-07-15 19:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735954688001,"power":27267,"unknown_196":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8979614732120201216}} 
[2026-07-15 19:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":132701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:45:42] local.INFO: GPS data processed {"connection_id":132701,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:45:42] local.INFO: Acknowledgment sent {"connection_id":132701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:45:50] local.INFO: TCP Data received {"connection_id":132876,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:45:50] local.INFO: Processing buffer {"connection_id":132876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:45:50] local.INFO: IMEI packet received {"connection_id":132876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":132876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:45:55] local.INFO: TCP Data received {"connection_id":132876,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:45:55] local.INFO: Processing buffer {"connection_id":132876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:45:55] local.INFO: IMEI packet received {"connection_id":132876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":132876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:45:56] local.INFO: TCP Data received {"connection_id":132876,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66214420012d1951c0071ff5080034013721..."} 
[2026-07-15 19:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66214420012d1951c0071ff5080034013721..."} 
[2026-07-15 19:45:56] local.INFO: Processing buffer {"connection_id":132876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66214420012d1951c0071ff5080034013721..."} 
[2026-07-15 19:45:56] local.INFO: Packet analysis {"connection_id":132876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6621"} 
[2026-07-15 19:45:56] local.INFO: Extracted packet for processing {"connection_id":132876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6621"} 
[2026-07-15 19:45:56] local.INFO: GPS Element Parsed {"raw_longitude":756634048,"raw_latitude":119534856,"longitude_deg":75.6634048,"latitude_deg":11.9534856,"altitude":52,"angle":311,"satellites":33,"speed":23,"hex_longitude":"2d1951c0","hex_latitude":"071ff508","is_valid_coordinates":true} 
[2026-07-15 19:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735970048001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6256577644331008,"note":"Value kept but may cause issues"} 
[2026-07-15 19:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824943042104373248,"note":"Value kept but may cause issues"} 
[2026-07-15 19:45: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-07-15 19:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784124884000,"timestamp_ms":1784124884000,"timestamp_seconds":1784124884,"priority":1,"record_length":96,"hex_timestamp":"0000019f66214420"} 
[2026-07-15 19:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:45:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-15 19:45:56] 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-07-15 19:45:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735970048001,"66":12765,"121":206,"28":31744,"24":23,"16":6256577644331008,"45":1824943042104373248},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 19:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735970048001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:45:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 19:45:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6256577644331008,"km_value":6256577644331.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824943042104373248,"description":"Unknown IO ID 45"} 
[2026-07-15 19:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735970048001,"power":12765,"unknown_121":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1824943042104373248}} 
[2026-07-15 19:45:57] local.INFO: DEBUG: GPS processor result {"connection_id":132876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492674,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:45:57] local.INFO: GPS data processed {"connection_id":132876,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:45:57] local.INFO: Acknowledgment sent {"connection_id":132876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:46:00] local.INFO: TCP Data received {"connection_id":135092,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:46:00] local.INFO: Processing buffer {"connection_id":135092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:46:00] local.INFO: IMEI packet received {"connection_id":135092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":135092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:46:00] local.INFO: TCP Data received {"connection_id":135092,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:46:00] local.INFO: Processing buffer {"connection_id":135092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:46:00] local.INFO: IMEI packet received {"connection_id":135092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":135092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:46:05] local.INFO: TCP Data received {"connection_id":135092,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:46:05] local.INFO: Processing buffer {"connection_id":135092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:46:05] local.INFO: IMEI packet received {"connection_id":135092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":135092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:46:06] local.INFO: TCP Data received {"connection_id":135092,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6620a010012d7c9b0005d82c800000016621..."} 
[2026-07-15 19:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6620a010012d7c9b0005d82c800000016621..."} 
[2026-07-15 19:46:06] local.INFO: Processing buffer {"connection_id":135092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6620a010012d7c9b0005d82c800000016621..."} 
[2026-07-15 19:46:06] local.INFO: Packet analysis {"connection_id":135092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6620"} 
[2026-07-15 19:46:06] local.INFO: Extracted packet for processing {"connection_id":135092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6620"} 
[2026-07-15 19:46:06] local.INFO: GPS Element Parsed {"raw_longitude":763140864,"raw_latitude":98053248,"longitude_deg":76.3140864,"latitude_deg":9.8053248,"altitude":0,"angle":358,"satellites":33,"speed":45,"hex_longitude":"2d7c9b00","hex_latitude":"05d82c80","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735957248001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347379725154385920,"note":"Value kept but may cause issues"} 
[2026-07-15 19:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8979192519657433088,"note":"Value kept but may cause issues"} 
[2026-07-15 19:46:06] 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-07-15 19:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784124842000,"timestamp_ms":1784124842000,"timestamp_seconds":1784124842,"priority":1,"record_length":96,"hex_timestamp":"0000019f6620a010"} 
[2026-07-15 19:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-15 19:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735957248001,"66":27343,"196":206,"85":15104,"24":45,"16":347379725154385920,"45":8979192519657433088},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-07-15 19:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735957248001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:46:06] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-15 19:46:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347379725154385920,"km_value":347379725154385.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8979192519657433088,"description":"Unknown IO ID 45"} 
[2026-07-15 19:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735957248001,"power":27343,"unknown_196":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8979192519657433088}} 
[2026-07-15 19:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":135092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:46:06] local.INFO: GPS data processed {"connection_id":135092,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:46:06] local.INFO: Acknowledgment sent {"connection_id":135092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:46:28] local.INFO: TCP Data received {"connection_id":132876,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66214808012d195080071ff6c00034014521..."} 
[2026-07-15 19:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66214808012d195080071ff6c00034014521..."} 
[2026-07-15 19:46:28] local.INFO: Processing buffer {"connection_id":132876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66214808012d195080071ff6c00034014521..."} 
[2026-07-15 19:46:28] local.INFO: Packet analysis {"connection_id":132876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6621"} 
[2026-07-15 19:46:28] local.INFO: Extracted packet for processing {"connection_id":132876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6621"} 
[2026-07-15 19:46:28] local.INFO: GPS Element Parsed {"raw_longitude":756633728,"raw_latitude":119535296,"longitude_deg":75.6633728,"latitude_deg":11.9535296,"altitude":52,"angle":325,"satellites":33,"speed":21,"hex_longitude":"2d195080","hex_latitude":"071ff6c0","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735970304001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6256603414134784,"note":"Value kept but may cause issues"} 
[2026-07-15 19:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824450460895217664,"note":"Value kept but may cause issues"} 
[2026-07-15 19:46: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-07-15 19:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784124885000,"timestamp_ms":1784124885000,"timestamp_seconds":1784124885,"priority":1,"record_length":96,"hex_timestamp":"0000019f66214808"} 
[2026-07-15 19:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:46:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-15 19:46:28] 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-07-15 19: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-07-15 19:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735970304001,"66":12298,"121":206,"28":31744,"24":21,"16":6256603414134784,"45":1824450460895217664},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 19:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735970304001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:46:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 19:46:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6256603414134784,"km_value":6256603414134.784,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824450460895217664,"description":"Unknown IO ID 45"} 
[2026-07-15 19:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735970304001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1824450460895217664}} 
[2026-07-15 19:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":132876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:46:28] local.INFO: GPS data processed {"connection_id":132876,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:46:28] local.INFO: Acknowledgment sent {"connection_id":132876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:46:36] local.INFO: TCP Data received {"connection_id":135092,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f66221ee0012d7c764005d9e158000001601b..."} 
[2026-07-15 19:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66221ee0012d7c764005d9e158000001601b..."} 
[2026-07-15 19:46:36] local.INFO: Processing buffer {"connection_id":135092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66221ee0012d7c764005d9e158000001601b..."} 
[2026-07-15 19:46:36] local.INFO: Packet analysis {"connection_id":135092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6622"} 
[2026-07-15 19:46:36] local.INFO: Extracted packet for processing {"connection_id":135092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6622"} 
[2026-07-15 19:46:36] local.INFO: GPS Element Parsed {"raw_longitude":763131456,"raw_latitude":98165080,"longitude_deg":76.3131456,"latitude_deg":9.816508,"altitude":0,"angle":352,"satellites":27,"speed":39,"hex_longitude":"2d7c7640","hex_latitude":"05d9e158","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735982336001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347385171172917248,"note":"Value kept but may cause issues"} 
[2026-07-15 19:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969692739222165504,"note":"Value kept but may cause issues"} 
[2026-07-15 19:46:36] 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-07-15 19:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784124940000,"timestamp_ms":1784124940000,"timestamp_seconds":1784124940,"priority":1,"record_length":96,"hex_timestamp":"0000019f66221ee0"} 
[2026-07-15 19:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-15 19:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19: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-07-15 19:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":135092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":135092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":135092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:46:36] 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-07-15 19:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735982336001,"66":27484,"187":206,"85":15104,"24":39,"16":347385171172917248,"45":8969692739222165504},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-15 19:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735982336001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:46:36] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-15 19:46:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347385171172917248,"km_value":347385171172917.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969692739222165504,"description":"Unknown IO ID 45"} 
[2026-07-15 19:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735982336001,"power":27484,"unknown_187":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8969692739222165504}} 
[2026-07-15 19:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":135092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:46:36] local.INFO: GPS data processed {"connection_id":135092,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:46:36] local.INFO: Acknowledgment sent {"connection_id":135092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:46:55] local.INFO: TCP Data received {"connection_id":132702,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:46:55] local.INFO: Processing buffer {"connection_id":132702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:46:55] local.INFO: IMEI packet received {"connection_id":132702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":132702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:46:59] local.INFO: TCP Data received {"connection_id":135093,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135093,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:46:59] local.INFO: Processing buffer {"connection_id":135093,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:46:59] local.INFO: IMEI packet received {"connection_id":135093,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 19:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":135093,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:47:00] local.INFO: TCP Data received {"connection_id":133731,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:47:00] local.INFO: Processing buffer {"connection_id":133731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:47:00] local.INFO: IMEI packet received {"connection_id":133731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":133731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:47:00] local.INFO: TCP Data received {"connection_id":132702,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:47:00] local.INFO: Processing buffer {"connection_id":132702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:47:00] local.INFO: IMEI packet received {"connection_id":132702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":132702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:47:02] local.INFO: TCP Data received {"connection_id":132702,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66215b90012d194dc0071ffb800033012621..."} 
[2026-07-15 19:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66215b90012d194dc0071ffb800033012621..."} 
[2026-07-15 19:47:02] local.INFO: Processing buffer {"connection_id":132702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66215b90012d194dc0071ffb800033012621..."} 
[2026-07-15 19:47:02] local.INFO: Packet analysis {"connection_id":132702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6621"} 
[2026-07-15 19:47:02] local.INFO: Extracted packet for processing {"connection_id":132702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6621"} 
[2026-07-15 19:47:02] local.INFO: GPS Element Parsed {"raw_longitude":756633024,"raw_latitude":119536512,"longitude_deg":75.6633024,"latitude_deg":11.9536512,"altitude":51,"angle":294,"satellites":33,"speed":7,"hex_longitude":"2d194dc0","hex_latitude":"071ffb80","is_valid_coordinates":true} 
[2026-07-15 19:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735970560001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6256672133611520,"note":"Value kept but may cause issues"} 
[2026-07-15 19:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824098617174441984,"note":"Value kept but may cause issues"} 
[2026-07-15 19:47:02] 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-07-15 19:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784124890000,"timestamp_ms":1784124890000,"timestamp_seconds":1784124890,"priority":1,"record_length":96,"hex_timestamp":"0000019f66215b90"} 
[2026-07-15 19:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:47:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-15 19:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-15 19:47:02] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168049267343872,"note":"Value kept but may cause issues"} 
[2026-07-15 19:47:02] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452310,"note":"Value kept but may cause issues"} 
[2026-07-15 19:47:02] local.WARNING: Large IO value detected {"io_id":159,"raw_value":7359117911265188229,"note":"Value kept but may cause issues"} 
[2026-07-15 19:47:02] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513393624331714807,"note":"Value kept but may cause issues"} 
[2026-07-15 19:47:02] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832594,"note":"Value kept but may cause issues"} 
[2026-07-15 19:47:02] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3660301481497133262,"note":"Value kept but may cause issues"} 
[2026-07-15 19:47:02] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3958898745,"note":"Value kept but may cause issues"} 
[2026-07-15 19:47:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-15 19:47:02] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3623931367,"note":"Value kept but may cause issues"} 
[2026-07-15 19:47:02] local.WARNING: Large IO value detected {"io_id":62,"raw_value":66188401254072320,"note":"Value kept but may cause issues"} 
[2026-07-15 19:47:02] local.WARNING: Large IO value detected {"io_id":57,"raw_value":-4827858800541171711,"note":"Value kept but may cause issues"} 
[2026-07-15 19:47:02] local.WARNING: Large IO value detected {"io_id":36,"raw_value":5066549581447172,"note":"Value kept but may cause issues"} 
[2026-07-15 19:47:02] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,121,28,24,241,158,16,58,159,68,45,192,245,52,33,10,66,64,128,243,53,40,1,240,232,102,31,4,113,205,17,234,125,48,38,239,2,22,7,62,57,36],"length":534,"final_offset":664,"validated_count":42,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-15 19:47:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3747352372986576896,"timestamp_seconds":3747352372986577.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 19:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":132702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":132702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":132702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735970560001,"66":12743,"121":206,"28":31744,"24":7,"16":6256672133611520,"45":1824098617174441984},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 19:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735970560001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:47:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 19:47:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6256672133611520,"km_value":6256672133611.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824098617174441984,"description":"Unknown IO ID 45"} 
[2026-07-15 19:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735970560001,"power":12743,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1824098617174441984}} 
[2026-07-15 19:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":132702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:47:02] local.INFO: GPS data processed {"connection_id":132702,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:47:02] local.INFO: Acknowledgment sent {"connection_id":132702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:47:02] local.INFO: TCP Data received {"connection_id":133731,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:47:02] local.INFO: Processing buffer {"connection_id":133731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:47:02] local.INFO: IMEI packet received {"connection_id":133731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":133731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:47:05] local.INFO: TCP Data received {"connection_id":132702,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66215f78012d194d00071ffb800034011721..."} 
[2026-07-15 19:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66215f78012d194d00071ffb800034011721..."} 
[2026-07-15 19:47:05] local.INFO: Processing buffer {"connection_id":132702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66215f78012d194d00071ffb800034011721..."} 
[2026-07-15 19:47:05] local.INFO: Packet analysis {"connection_id":132702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6621"} 
[2026-07-15 19:47:05] local.INFO: Extracted packet for processing {"connection_id":132702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6621"} 
[2026-07-15 19:47:05] local.INFO: GPS Element Parsed {"raw_longitude":756632832,"raw_latitude":119536512,"longitude_deg":75.6632832,"latitude_deg":11.9536512,"altitude":52,"angle":279,"satellites":33,"speed":8,"hex_longitude":"2d194d00","hex_latitude":"071ffb80","is_valid_coordinates":true} 
[2026-07-15 19:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735971840001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6256680723546112,"note":"Value kept but may cause issues"} 
[2026-07-15 19:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823324560988798976,"note":"Value kept but may cause issues"} 
[2026-07-15 19:47: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-07-15 19:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784124891000,"timestamp_ms":1784124891000,"timestamp_seconds":1784124891,"priority":1,"record_length":96,"hex_timestamp":"0000019f66215f78"} 
[2026-07-15 19:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-15 19:47:05] 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-07-15 19:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735971840001,"66":12037,"121":206,"28":31744,"24":8,"16":6256680723546112,"45":1823324560988798976},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 19:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735971840001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:47:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 19:47:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6256680723546112,"km_value":6256680723546.112,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823324560988798976,"description":"Unknown IO ID 45"} 
[2026-07-15 19:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735971840001,"power":12037,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1823324560988798976}} 
[2026-07-15 19:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":132702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:47:05] local.INFO: GPS data processed {"connection_id":132702,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:47:05] local.INFO: Acknowledgment sent {"connection_id":132702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:47:05] local.INFO: TCP Data received {"connection_id":133731,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:47:05] local.INFO: Processing buffer {"connection_id":133731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:47:05] local.INFO: IMEI packet received {"connection_id":133731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":133731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:47:06] local.INFO: TCP Data received {"connection_id":133731,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f66224208012d7c6f8005da05b80000015d20..."} 
[2026-07-15 19:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66224208012d7c6f8005da05b80000015d20..."} 
[2026-07-15 19:47:06] local.INFO: Processing buffer {"connection_id":133731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66224208012d7c6f8005da05b80000015d20..."} 
[2026-07-15 19:47:06] local.INFO: Packet analysis {"connection_id":133731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6622"} 
[2026-07-15 19:47:06] local.INFO: Extracted packet for processing {"connection_id":133731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6622"} 
[2026-07-15 19:47:06] local.INFO: GPS Element Parsed {"raw_longitude":763129728,"raw_latitude":98174392,"longitude_deg":76.3129728,"latitude_deg":9.8174392,"altitude":0,"angle":349,"satellites":32,"speed":44,"hex_longitude":"2d7c6f80","hex_latitude":"05da05b8","is_valid_coordinates":true} 
[2026-07-15 19:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735984640001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347385630734417920,"note":"Value kept but may cause issues"} 
[2026-07-15 19:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8968426101829359616,"note":"Value kept but may cause issues"} 
[2026-07-15 19:47:06] 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-07-15 19:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784124949000,"timestamp_ms":1784124949000,"timestamp_seconds":1784124949,"priority":1,"record_length":96,"hex_timestamp":"0000019f66224208"} 
[2026-07-15 19:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-15 19:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735984640001,"66":27343,"187":206,"85":15104,"24":44,"16":347385630734417920,"45":8968426101829359616},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-15 19:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735984640001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:47:06] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-15 19:47:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347385630734417920,"km_value":347385630734417.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8968426101829359616,"description":"Unknown IO ID 45"} 
[2026-07-15 19:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735984640001,"power":27343,"unknown_187":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8968426101829359616}} 
[2026-07-15 19:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":133731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:47:06] local.INFO: GPS data processed {"connection_id":133731,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:47:06] local.INFO: Acknowledgment sent {"connection_id":133731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:47:38] local.INFO: TCP Data received {"connection_id":133731,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f66226148012d7c668005da2a480000015820..."} 
[2026-07-15 19:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66226148012d7c668005da2a480000015820..."} 
[2026-07-15 19:47:38] local.INFO: Processing buffer {"connection_id":133731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66226148012d7c668005da2a480000015820..."} 
[2026-07-15 19:47:38] local.INFO: Packet analysis {"connection_id":133731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6622"} 
[2026-07-15 19:47:38] local.INFO: Extracted packet for processing {"connection_id":133731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6622"} 
[2026-07-15 19:47:38] local.INFO: GPS Element Parsed {"raw_longitude":763127424,"raw_latitude":98183752,"longitude_deg":76.3127424,"latitude_deg":9.8183752,"altitude":0,"angle":344,"satellites":32,"speed":50,"hex_longitude":"2d7c6680","hex_latitude":"05da2a48","is_valid_coordinates":true} 
[2026-07-15 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-07-15 19:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735986944001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347386098885853184,"note":"Value kept but may cause issues"} 
[2026-07-15 19:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8966526145738946560,"note":"Value kept but may cause issues"} 
[2026-07-15 19:47:38] 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-07-15 19:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784124957000,"timestamp_ms":1784124957000,"timestamp_seconds":1784124957,"priority":1,"record_length":96,"hex_timestamp":"0000019f66226148"} 
[2026-07-15 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-07-15 19:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-15 19:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 19:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735986944001,"66":27321,"187":206,"85":15104,"24":50,"16":347386098885853184,"45":8966526145738946560},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-15 19:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735986944001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:47:38] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-15 19:47:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347386098885853184,"km_value":347386098885853.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8966526145738946560,"description":"Unknown IO ID 45"} 
[2026-07-15 19:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735986944001,"power":27321,"unknown_187":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8966526145738946560}} 
[2026-07-15 19:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":133731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:47:38] local.INFO: GPS data processed {"connection_id":133731,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:47:38] local.INFO: Acknowledgment sent {"connection_id":133731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:47:39] local.INFO: TCP Data received {"connection_id":132703,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132703,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:47:39] local.INFO: Processing buffer {"connection_id":132703,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:47:39] local.INFO: IMEI packet received {"connection_id":132703,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 19:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":132703,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:47:47] local.INFO: TCP Data received {"connection_id":132877,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:47:47] local.INFO: Processing buffer {"connection_id":132877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:47:47] local.INFO: IMEI packet received {"connection_id":132877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":132877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:47:50] local.INFO: TCP Data received {"connection_id":132877,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:47:50] local.INFO: Processing buffer {"connection_id":132877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:47:50] local.INFO: IMEI packet received {"connection_id":132877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":132877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:47:55] local.INFO: TCP Data received {"connection_id":132877,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:47:55] local.INFO: Processing buffer {"connection_id":132877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:47:55] local.INFO: IMEI packet received {"connection_id":132877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":132877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:47:56] local.INFO: TCP Data received {"connection_id":132877,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f662176e8012d194500071ffb500032010922..."} 
[2026-07-15 19:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f662176e8012d194500071ffb500032010922..."} 
[2026-07-15 19:47:56] local.INFO: Processing buffer {"connection_id":132877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f662176e8012d194500071ffb500032010922..."} 
[2026-07-15 19:47:56] local.INFO: Packet analysis {"connection_id":132877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6621"} 
[2026-07-15 19:47:56] local.INFO: Extracted packet for processing {"connection_id":132877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6621"} 
[2026-07-15 19:47:56] local.INFO: GPS Element Parsed {"raw_longitude":756630784,"raw_latitude":119536464,"longitude_deg":75.6630784,"latitude_deg":11.9536464,"altitude":50,"angle":265,"satellites":34,"speed":14,"hex_longitude":"2d194500","hex_latitude":"071ffb50","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735972096001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6256779507793920,"note":"Value kept but may cause issues"} 
[2026-07-15 19:47:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823113454756265984,"note":"Value kept but may cause issues"} 
[2026-07-15 19:47: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-07-15 19:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784124897000,"timestamp_ms":1784124897000,"timestamp_seconds":1784124897,"priority":1,"record_length":96,"hex_timestamp":"0000019f662176e8"} 
[2026-07-15 19:47:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:47:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-15 19:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1224979098812548096,"note":"Value kept but may cause issues"} 
[2026-07-15 19:47:56] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":49152,"corrected_to":0} 
[2026-07-15 19:47:56] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4088397877,"note":"Value kept but may cause issues"} 
[2026-07-15 19:47:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767380493525057512,"corrected_to":0} 
[2026-07-15 19:47:56] local.WARNING: Large IO value detected {"io_id":40,"raw_value":3355520281,"note":"Value kept but may cause issues"} 
[2026-07-15 19:47:56] local.WARNING: Large IO value detected {"io_id":96,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-07-15 19:47:56] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182191054913792,"note":"Value kept but may cause issues"} 
[2026-07-15 19:47:56] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3892366823,"note":"Value kept but may cause issues"} 
[2026-07-15 19:47:56] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300204714542829093,"note":"Value kept but may cause issues"} 
[2026-07-15 19:47:56] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194916864,"note":"Value kept but may cause issues"} 
[2026-07-15 19:47:56] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,121,28,24,241,158,16,58,159,91,45,192,251,51,33,10,66,72,128,246,52,68,1,240,221,102,31,4,113,205,23,40,96,136,36,239,49,2,22,7,69],"length":484,"final_offset":614,"validated_count":41,"validation_warnings":[{"io_id":246,"original":49152,"validated":0},{"io_id":205,"original":-1767380493525057512,"validated":0}]} 
[2026-07-15 19:47:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3747301795450847232,"timestamp_seconds":3747301795450847.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 19:47:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:47:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735972096001,"66":11558,"121":206,"28":31744,"24":14,"16":6256779507793920,"45":1823113454756265984},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 19:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735972096001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:47:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 19:47:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6256779507793920,"km_value":6256779507793.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:47:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823113454756265984,"description":"Unknown IO ID 45"} 
[2026-07-15 19:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735972096001,"power":11558,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1823113454756265984}} 
[2026-07-15 19:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":132877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:47:56] local.INFO: GPS data processed {"connection_id":132877,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:47:56] local.INFO: Acknowledgment sent {"connection_id":132877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:48:00] local.INFO: TCP Data received {"connection_id":133732,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:48:00] local.INFO: Processing buffer {"connection_id":133732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:48:00] local.INFO: IMEI packet received {"connection_id":133732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":133732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:48:06] local.INFO: TCP Data received {"connection_id":133732,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:48:06] local.INFO: Processing buffer {"connection_id":133732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:48:06] local.INFO: IMEI packet received {"connection_id":133732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":133732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:48:07] local.INFO: TCP Data received {"connection_id":133732,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f66228088012d7c5b0005da4f680000015421..."} 
[2026-07-15 19:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66228088012d7c5b0005da4f680000015421..."} 
[2026-07-15 19:48:07] local.INFO: Processing buffer {"connection_id":133732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66228088012d7c5b0005da4f680000015421..."} 
[2026-07-15 19:48:07] local.INFO: Packet analysis {"connection_id":133732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6622"} 
[2026-07-15 19:48:07] local.INFO: Extracted packet for processing {"connection_id":133732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6622"} 
[2026-07-15 19:48:07] local.INFO: GPS Element Parsed {"raw_longitude":763124480,"raw_latitude":98193256,"longitude_deg":76.312448,"latitude_deg":9.8193256,"altitude":0,"angle":340,"satellites":33,"speed":48,"hex_longitude":"2d7c5b00","hex_latitude":"05da4f68","is_valid_coordinates":true} 
[2026-07-15 19:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735988992001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347386579922190336,"note":"Value kept but may cause issues"} 
[2026-07-15 19:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8963992870950946816,"note":"Value kept but may cause issues"} 
[2026-07-15 19:48:07] 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-07-15 19:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784124965000,"timestamp_ms":1784124965000,"timestamp_seconds":1784124965,"priority":1,"record_length":96,"hex_timestamp":"0000019f66228088"} 
[2026-07-15 19:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-15 19:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735988992001,"66":27267,"187":206,"85":15104,"24":48,"16":347386579922190336,"45":8963992870950946816},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-15 19:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735988992001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:48:07] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-15 19:48:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347386579922190336,"km_value":347386579922190.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8963992870950946816,"description":"Unknown IO ID 45"} 
[2026-07-15 19:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735988992001,"power":27267,"unknown_187":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8963992870950946816}} 
[2026-07-15 19:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":133732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:48:07] local.INFO: GPS data processed {"connection_id":133732,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:48:07] local.INFO: Acknowledgment sent {"connection_id":133732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:48:28] local.INFO: TCP Data received {"connection_id":132877,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66218e58012d194000071ffa90003100f623..."} 
[2026-07-15 19:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66218e58012d194000071ffa90003100f623..."} 
[2026-07-15 19:48:28] local.INFO: Processing buffer {"connection_id":132877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66218e58012d194000071ffa90003100f623..."} 
[2026-07-15 19:48:28] local.INFO: Packet analysis {"connection_id":132877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6621"} 
[2026-07-15 19:48:28] local.INFO: Extracted packet for processing {"connection_id":132877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6621"} 
[2026-07-15 19:48:28] local.INFO: GPS Element Parsed {"raw_longitude":756629504,"raw_latitude":119536272,"longitude_deg":75.6629504,"latitude_deg":11.9536272,"altitude":49,"angle":246,"satellites":35,"speed":6,"hex_longitude":"2d194000","hex_latitude":"071ffa90","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735973632001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6256839637336064,"note":"Value kept but may cause issues"} 
[2026-07-15 19:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1820861654942568448,"note":"Value kept but may cause issues"} 
[2026-07-15 19:48: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-07-15 19:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784124903000,"timestamp_ms":1784124903000,"timestamp_seconds":1784124903,"priority":1,"record_length":96,"hex_timestamp":"0000019f66218e58"} 
[2026-07-15 19:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:48:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":45,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-15 19:48:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":765,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19: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-07-15 19:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735973632001,"66":12722,"121":206,"28":31744,"24":6,"16":6256839637336064,"45":1820861654942568448},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 19:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735973632001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:48:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 19:48:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6256839637336064,"km_value":6256839637336.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:48:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1820861654942568448,"description":"Unknown IO ID 45"} 
[2026-07-15 19:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735973632001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1820861654942568448}} 
[2026-07-15 19:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":132877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:48:28] local.INFO: GPS data processed {"connection_id":132877,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:48:28] local.INFO: Acknowledgment sent {"connection_id":132877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:48:38] local.INFO: TCP Data received {"connection_id":133732,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f66229fc8012d7c4e8005da71500000015521..."} 
[2026-07-15 19:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66229fc8012d7c4e8005da71500000015521..."} 
[2026-07-15 19:48:38] local.INFO: Processing buffer {"connection_id":133732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66229fc8012d7c4e8005da71500000015521..."} 
[2026-07-15 19:48:38] local.INFO: Packet analysis {"connection_id":133732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6622"} 
[2026-07-15 19:48:38] local.INFO: Extracted packet for processing {"connection_id":133732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6622"} 
[2026-07-15 19:48:38] local.INFO: GPS Element Parsed {"raw_longitude":763121280,"raw_latitude":98201936,"longitude_deg":76.312128,"latitude_deg":9.8201936,"altitude":0,"angle":341,"satellites":33,"speed":38,"hex_longitude":"2d7c4e80","hex_latitude":"05da7150","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735991040001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347387026598789120,"note":"Value kept but may cause issues"} 
[2026-07-15 19:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8960755908721207296,"note":"Value kept but may cause issues"} 
[2026-07-15 19:48:38] 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-07-15 19:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784124973000,"timestamp_ms":1784124973000,"timestamp_seconds":1784124973,"priority":1,"record_length":96,"hex_timestamp":"0000019f66229fc8"} 
[2026-07-15 19:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-15 19:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19: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-07-15 19:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735991040001,"66":27365,"187":206,"85":15104,"24":38,"16":347387026598789120,"45":8960755908721207296},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-15 19:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735991040001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:48:38] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-15 19:48:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347387026598789120,"km_value":347387026598789.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8960755908721207296,"description":"Unknown IO ID 45"} 
[2026-07-15 19:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735991040001,"power":27365,"unknown_187":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8960755908721207296}} 
[2026-07-15 19:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":133732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:48:38] local.INFO: GPS data processed {"connection_id":133732,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:48:38] local.INFO: Acknowledgment sent {"connection_id":133732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:48:50] local.INFO: TCP Data received {"connection_id":133733,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:48:50] local.INFO: Processing buffer {"connection_id":133733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:48:50] local.INFO: IMEI packet received {"connection_id":133733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":133733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:48:51] local.INFO: TCP Data received {"connection_id":133733,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:48:51] local.INFO: Processing buffer {"connection_id":133733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:48:51] local.INFO: IMEI packet received {"connection_id":133733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":133733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:48:55] local.INFO: TCP Data received {"connection_id":133733,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:48:55] local.INFO: Processing buffer {"connection_id":133733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:48:55] local.INFO: IMEI packet received {"connection_id":133733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":133733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:48:56] local.INFO: TCP Data received {"connection_id":133733,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6621e060012d193e80071ffa50003200f620..."} 
[2026-07-15 19:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6621e060012d193e80071ffa50003200f620..."} 
[2026-07-15 19:48:56] local.INFO: Processing buffer {"connection_id":133733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6621e060012d193e80071ffa50003200f620..."} 
[2026-07-15 19:48:56] local.INFO: Packet analysis {"connection_id":133733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6621"} 
[2026-07-15 19:48:56] local.INFO: Extracted packet for processing {"connection_id":133733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6621"} 
[2026-07-15 19:48:56] local.INFO: GPS Element Parsed {"raw_longitude":756629120,"raw_latitude":119536208,"longitude_deg":75.662912,"latitude_deg":11.9536208,"altitude":50,"angle":246,"satellites":32,"speed":0,"hex_longitude":"2d193e80","hex_latitude":"071ffa50","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735975168001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6256861112172544,"note":"Value kept but may cause issues"} 
[2026-07-15 19:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819454280058966016,"note":"Value kept but may cause issues"} 
[2026-07-15 19: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-07-15 19:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784124924000,"timestamp_ms":1784124924000,"timestamp_seconds":1784124924,"priority":1,"record_length":96,"hex_timestamp":"0000019f6621e060"} 
[2026-07-15 19:48:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:48:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 19:48:56] 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-07-15 19:48:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:48:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735975168001,"66":12722,"121":206,"28":31744,"24":0,"16":6256861112172544,"45":1819454280058966016},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 19:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735975168001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:48:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 19:48:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6256861112172544,"km_value":6256861112172.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819454280058966016,"description":"Unknown IO ID 45"} 
[2026-07-15 19:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735975168001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819454280058966016}} 
[2026-07-15 19:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":133733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:48:57] local.INFO: GPS data processed {"connection_id":133733,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:48:57] local.INFO: Acknowledgment sent {"connection_id":133733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:49:03] local.INFO: TCP Data received {"connection_id":132704,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:49:03] local.INFO: Processing buffer {"connection_id":132704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:49:03] local.INFO: IMEI packet received {"connection_id":132704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":132704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:49:10] local.INFO: TCP Data received {"connection_id":132704,"ip":"42.106.6.22","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-15 19:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132704,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-15 19:49:10] local.INFO: Processing buffer {"connection_id":132704,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-15 19:49:10] local.INFO: IMEI packet received {"connection_id":132704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":132704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:49:11] local.INFO: TCP Data received {"connection_id":132704,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6622cac0012d7c430005da92f0000001541e..."} 
[2026-07-15 19:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6622cac0012d7c430005da92f0000001541e..."} 
[2026-07-15 19:49:11] local.INFO: Processing buffer {"connection_id":132704,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f66..."} 
[2026-07-15 19:49:11] local.INFO: IMEI packet received {"connection_id":132704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":132704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:49:12] local.INFO: TCP Data received {"connection_id":132704,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6622ede8012d7c374005dab488000001551d..."} 
[2026-07-15 19:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6622ede8012d7c374005dab488000001551d..."} 
[2026-07-15 19:49:12] local.INFO: Processing buffer {"connection_id":132704,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f6622cac0012d7c430005da92f0000001541e..."} 
[2026-07-15 19:49:12] local.INFO: Packet analysis {"connection_id":132704,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f6622"} 
[2026-07-15 19:49:12] local.INFO: Extracted packet for processing {"connection_id":132704,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6622"} 
[2026-07-15 19:49:12] local.INFO: GPS Element Parsed {"raw_longitude":763118336,"raw_latitude":98210544,"longitude_deg":76.3118336,"latitude_deg":9.8210544,"altitude":0,"angle":340,"satellites":30,"speed":37,"hex_longitude":"2d7c4300","hex_latitude":"05da92f0","is_valid_coordinates":true} 
[2026-07-15 19:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735993088001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347387468980420608,"note":"Value kept but may cause issues"} 
[2026-07-15 19:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8957237471514546176,"note":"Value kept but may cause issues"} 
[2026-07-15 19:49: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-07-15 19:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784124984000,"timestamp_ms":1784124984000,"timestamp_seconds":1784124984,"priority":1,"record_length":96,"hex_timestamp":"0000019f6622cac0"} 
[2026-07-15 19:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-15 19:49:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:49:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:49:12] 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-07-15 19:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735993088001,"66":27213,"187":206,"85":15104,"24":37,"16":347387468980420608,"45":8957237471514546176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-15 19:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735993088001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:49:12] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-15 19:49:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347387468980420608,"km_value":347387468980420.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8957237471514546176,"description":"Unknown IO ID 45"} 
[2026-07-15 19:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735993088001,"power":27213,"unknown_187":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8957237471514546176}} 
[2026-07-15 19:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":132704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:49:12] local.INFO: GPS data processed {"connection_id":132704,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:49:12] local.INFO: Acknowledgment sent {"connection_id":132704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:49:12] local.INFO: Packet analysis {"connection_id":132704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6622"} 
[2026-07-15 19:49:12] local.INFO: Extracted packet for processing {"connection_id":132704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6622"} 
[2026-07-15 19:49:12] local.INFO: GPS Element Parsed {"raw_longitude":763115328,"raw_latitude":98219144,"longitude_deg":76.3115328,"latitude_deg":9.8219144,"altitude":0,"angle":341,"satellites":29,"speed":41,"hex_longitude":"2d7c3740","hex_latitude":"05dab488","is_valid_coordinates":true} 
[2026-07-15 19:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735995904001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347387907067084800,"note":"Value kept but may cause issues"} 
[2026-07-15 19:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954000509284577280,"note":"Value kept but may cause issues"} 
[2026-07-15 19:49: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-07-15 19:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784124993000,"timestamp_ms":1784124993000,"timestamp_seconds":1784124993,"priority":1,"record_length":96,"hex_timestamp":"0000019f6622ede8"} 
[2026-07-15 19:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-15 19:49:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:49:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:49:12] 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-07-15 19:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735995904001,"66":27343,"187":206,"85":15104,"24":41,"16":347387907067084800,"45":8954000509284577280},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-15 19:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735995904001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:49:12] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-15 19:49:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347387907067084800,"km_value":347387907067084.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954000509284577280,"description":"Unknown IO ID 45"} 
[2026-07-15 19:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735995904001,"power":27343,"unknown_187":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8954000509284577280}} 
[2026-07-15 19:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":132704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:49:12] local.INFO: GPS data processed {"connection_id":132704,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:49:12] local.INFO: Acknowledgment sent {"connection_id":132704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:49:15] local.INFO: TCP Data received {"connection_id":132704,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f66231110012d7c2c8005dad770000001591e..."} 
[2026-07-15 19:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66231110012d7c2c8005dad770000001591e..."} 
[2026-07-15 19:49:15] local.INFO: Processing buffer {"connection_id":132704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66231110012d7c2c8005dad770000001591e..."} 
[2026-07-15 19:49:15] local.INFO: Packet analysis {"connection_id":132704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6623"} 
[2026-07-15 19:49:15] local.INFO: Extracted packet for processing {"connection_id":132704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6623"} 
[2026-07-15 19:49:15] local.INFO: GPS Element Parsed {"raw_longitude":763112576,"raw_latitude":98228080,"longitude_deg":76.3112576,"latitude_deg":9.822808,"altitude":0,"angle":345,"satellites":30,"speed":40,"hex_longitude":"2d7c2c80","hex_latitude":"05dad770","is_valid_coordinates":true} 
[2026-07-15 19:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735998208001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347388362333618176,"note":"Value kept but may cause issues"} 
[2026-07-15 19:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950693178310428672,"note":"Value kept but may cause issues"} 
[2026-07-15 19:49:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784125002000,"timestamp_ms":1784125002000,"timestamp_seconds":1784125002,"priority":1,"record_length":96,"hex_timestamp":"0000019f66231110"} 
[2026-07-15 19:49:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:49:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-15 19:49:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:49:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:49:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":132704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":132704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":132704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:49:15] 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-07-15 19:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735998208001,"66":27365,"187":206,"85":15104,"24":40,"16":347388362333618176,"45":8950693178310428672},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-15 19:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735998208001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:49:15] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-15 19:49:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347388362333618176,"km_value":347388362333618.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950693178310428672,"description":"Unknown IO ID 45"} 
[2026-07-15 19:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735998208001,"power":27365,"unknown_187":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8950693178310428672}} 
[2026-07-15 19:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":132704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:49:15] local.INFO: GPS data processed {"connection_id":132704,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:49:15] local.INFO: Acknowledgment sent {"connection_id":132704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:49:28] local.INFO: TCP Data received {"connection_id":133733,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66223268012d193e80071ffa50003200f623..."} 
[2026-07-15 19:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66223268012d193e80071ffa50003200f623..."} 
[2026-07-15 19:49:28] local.INFO: Processing buffer {"connection_id":133733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66223268012d193e80071ffa50003200f623..."} 
[2026-07-15 19:49:28] local.INFO: Packet analysis {"connection_id":133733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6622"} 
[2026-07-15 19:49:28] local.INFO: Extracted packet for processing {"connection_id":133733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6622"} 
[2026-07-15 19:49:28] local.INFO: GPS Element Parsed {"raw_longitude":756629120,"raw_latitude":119536208,"longitude_deg":75.662912,"latitude_deg":11.9536208,"altitude":50,"angle":246,"satellites":35,"speed":0,"hex_longitude":"2d193e80","hex_latitude":"071ffa50","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735980544001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6256861112172544,"note":"Value kept but may cause issues"} 
[2026-07-15 19:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819032067593883648,"note":"Value kept but may cause issues"} 
[2026-07-15 19:49: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-07-15 19:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784124945000,"timestamp_ms":1784124945000,"timestamp_seconds":1784124945,"priority":1,"record_length":96,"hex_timestamp":"0000019f66223268"} 
[2026-07-15 19:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:49:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 19:49:28] 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-07-15 19: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-07-15 19:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":133733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":133733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":133733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:49:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735980544001,"66":11624,"121":206,"28":31744,"24":0,"16":6256861112172544,"45":1819032067593883648},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 19:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735980544001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:49:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 19:49:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6256861112172544,"km_value":6256861112172.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819032067593883648,"description":"Unknown IO ID 45"} 
[2026-07-15 19:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735980544001,"power":11624,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819032067593883648}} 
[2026-07-15 19:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":133733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:49:28] local.INFO: GPS data processed {"connection_id":133733,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:49:28] local.INFO: Acknowledgment sent {"connection_id":133733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:49:50] local.INFO: TCP Data received {"connection_id":132879,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:49:50] local.INFO: Processing buffer {"connection_id":132879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:49:50] local.INFO: IMEI packet received {"connection_id":132879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":132879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:49:53] local.INFO: TCP Data received {"connection_id":132879,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:49:53] local.INFO: Processing buffer {"connection_id":132879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:49:53] local.INFO: IMEI packet received {"connection_id":132879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":132879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:49:55] local.INFO: TCP Data received {"connection_id":132879,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66228470012d193e80071ffa50003200f621..."} 
[2026-07-15 19:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66228470012d193e80071ffa50003200f621..."} 
[2026-07-15 19:49:55] local.INFO: Processing buffer {"connection_id":132879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66228470012d193e80071ffa50003200f621..."} 
[2026-07-15 19:49:55] local.INFO: Packet analysis {"connection_id":132879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6622"} 
[2026-07-15 19:49:55] local.INFO: Extracted packet for processing {"connection_id":132879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6622"} 
[2026-07-15 19:49:55] local.INFO: GPS Element Parsed {"raw_longitude":756629120,"raw_latitude":119536208,"longitude_deg":75.662912,"latitude_deg":11.9536208,"altitude":50,"angle":246,"satellites":33,"speed":0,"hex_longitude":"2d193e80","hex_latitude":"071ffa50","is_valid_coordinates":true} 
[2026-07-15 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-07-15 19:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735985920001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6256861112172544,"note":"Value kept but may cause issues"} 
[2026-07-15 19:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819032067593883648,"note":"Value kept but may cause issues"} 
[2026-07-15 19:49: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-07-15 19:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784124966000,"timestamp_ms":1784124966000,"timestamp_seconds":1784124966,"priority":1,"record_length":96,"hex_timestamp":"0000019f66228470"} 
[2026-07-15 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-07-15 19:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-15 19:49:55] 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-07-15 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-07-15 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-07-15 19:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":132879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":132879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":132879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735985920001,"66":12613,"121":206,"28":31744,"24":0,"16":6256861112172544,"45":1819032067593883648},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 19:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735985920001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:49:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 19:49:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6256861112172544,"km_value":6256861112172.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819032067593883648,"description":"Unknown IO ID 45"} 
[2026-07-15 19:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735985920001,"power":12613,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819032067593883648}} 
[2026-07-15 19:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":132879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:49:55] local.INFO: GPS data processed {"connection_id":132879,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:49:55] local.INFO: Acknowledgment sent {"connection_id":132879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:50:00] local.INFO: TCP Data received {"connection_id":133734,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:50:00] local.INFO: Processing buffer {"connection_id":133734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:50:00] local.INFO: IMEI packet received {"connection_id":133734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":133734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:50:05] local.INFO: TCP Data received {"connection_id":133734,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:50:05] local.INFO: Processing buffer {"connection_id":133734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:50:05] local.INFO: IMEI packet received {"connection_id":133734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":133734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:50:06] local.INFO: TCP Data received {"connection_id":133734,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f66250128012d7be44005dc87280000016523..."} 
[2026-07-15 19:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66250128012d7be44005dc87280000016523..."} 
[2026-07-15 19:50:06] local.INFO: Processing buffer {"connection_id":133734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66250128012d7be44005dc87280000016523..."} 
[2026-07-15 19:50:06] local.INFO: Packet analysis {"connection_id":133734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6625"} 
[2026-07-15 19:50:06] local.INFO: Extracted packet for processing {"connection_id":133734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6625"} 
[2026-07-15 19:50:06] local.INFO: GPS Element Parsed {"raw_longitude":763094080,"raw_latitude":98338600,"longitude_deg":76.309408,"latitude_deg":9.83386,"altitude":0,"angle":357,"satellites":35,"speed":43,"hex_longitude":"2d7be440","hex_latitude":"05dc8728","is_valid_coordinates":true} 
[2026-07-15 19:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736030976001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347393816942084096,"note":"Value kept but may cause issues"} 
[2026-07-15 19:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927682598992592896,"note":"Value kept but may cause issues"} 
[2026-07-15 19:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784125129000,"timestamp_ms":1784125129000,"timestamp_seconds":1784125129,"priority":1,"record_length":96,"hex_timestamp":"0000019f66250128"} 
[2026-07-15 19:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-15 19:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736030976001,"66":27321,"169":206,"85":15104,"24":43,"16":347393816942084096,"45":8927682598992592896},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-15 19:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736030976001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:50:06] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-15 19:50:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347393816942084096,"km_value":347393816942084.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927682598992592896,"description":"Unknown IO ID 45"} 
[2026-07-15 19:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736030976001,"power":27321,"unknown_169":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8927682598992592896}} 
[2026-07-15 19:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":133734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:50:06] local.INFO: GPS data processed {"connection_id":133734,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:50:06] local.INFO: Acknowledgment sent {"connection_id":133734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:50:27] local.INFO: TCP Data received {"connection_id":132879,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6622da60012d193e80071ffa50003200f623..."} 
[2026-07-15 19:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6622da60012d193e80071ffa50003200f623..."} 
[2026-07-15 19:50:27] local.INFO: Processing buffer {"connection_id":132879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6622da60012d193e80071ffa50003200f623..."} 
[2026-07-15 19:50:27] local.INFO: Packet analysis {"connection_id":132879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6622"} 
[2026-07-15 19:50:27] local.INFO: Extracted packet for processing {"connection_id":132879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6622"} 
[2026-07-15 19:50:27] local.INFO: GPS Element Parsed {"raw_longitude":756629120,"raw_latitude":119536208,"longitude_deg":75.662912,"latitude_deg":11.9536208,"altitude":50,"angle":246,"satellites":35,"speed":0,"hex_longitude":"2d193e80","hex_latitude":"071ffa50","is_valid_coordinates":true} 
[2026-07-15 19:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735991296001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6256861112172544,"note":"Value kept but may cause issues"} 
[2026-07-15 19:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819032067593883648,"note":"Value kept but may cause issues"} 
[2026-07-15 19:50: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-07-15 19:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784124988000,"timestamp_ms":1784124988000,"timestamp_seconds":1784124988,"priority":1,"record_length":96,"hex_timestamp":"0000019f6622da60"} 
[2026-07-15 19:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:50:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-15 19:50:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:50:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":132879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":132879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":132879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735991296001,"66":12537,"121":206,"28":31744,"24":0,"16":6256861112172544,"45":1819032067593883648},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 19:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735991296001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:50:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 19:50:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6256861112172544,"km_value":6256861112172.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819032067593883648,"description":"Unknown IO ID 45"} 
[2026-07-15 19:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735991296001,"power":12537,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819032067593883648}} 
[2026-07-15 19:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":132879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:50:27] local.INFO: GPS data processed {"connection_id":132879,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:50:27] local.INFO: Acknowledgment sent {"connection_id":132879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:50:37] local.INFO: TCP Data received {"connection_id":133734,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f66252450012d7be34005dcab300000016626..."} 
[2026-07-15 19:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66252450012d7be34005dcab300000016626..."} 
[2026-07-15 19:50:37] local.INFO: Processing buffer {"connection_id":133734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66252450012d7be34005dcab300000016626..."} 
[2026-07-15 19:50:37] local.INFO: Packet analysis {"connection_id":133734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6625"} 
[2026-07-15 19:50:37] local.INFO: Extracted packet for processing {"connection_id":133734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6625"} 
[2026-07-15 19:50:37] local.INFO: GPS Element Parsed {"raw_longitude":763093824,"raw_latitude":98347824,"longitude_deg":76.3093824,"latitude_deg":9.8347824,"altitude":0,"angle":358,"satellites":38,"speed":42,"hex_longitude":"2d7be340","hex_latitude":"05dcab30","is_valid_coordinates":true} 
[2026-07-15 19:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736033024001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347394263618682880,"note":"Value kept but may cause issues"} 
[2026-07-15 19:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927330755274024960,"note":"Value kept but may cause issues"} 
[2026-07-15 19:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784125138000,"timestamp_ms":1784125138000,"timestamp_seconds":1784125138,"priority":1,"record_length":96,"hex_timestamp":"0000019f66252450"} 
[2026-07-15 19:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-15 19:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736033024001,"66":27267,"169":206,"85":15104,"24":42,"16":347394263618682880,"45":8927330755274024960},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-15 19:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736033024001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:50:37] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-15 19:50:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347394263618682880,"km_value":347394263618682.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927330755274024960,"description":"Unknown IO ID 45"} 
[2026-07-15 19:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736033024001,"power":27267,"unknown_169":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8927330755274024960}} 
[2026-07-15 19:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":133734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:50:37] local.INFO: GPS data processed {"connection_id":133734,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:50:37] local.INFO: Acknowledgment sent {"connection_id":133734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:50:50] local.INFO: TCP Data received {"connection_id":132707,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:50:50] local.INFO: Processing buffer {"connection_id":132707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:50:50] local.INFO: IMEI packet received {"connection_id":132707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":132707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:50:55] local.INFO: TCP Data received {"connection_id":132707,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:50:55] local.INFO: Processing buffer {"connection_id":132707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:50:55] local.INFO: IMEI packet received {"connection_id":132707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":132707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:50:57] local.INFO: TCP Data received {"connection_id":132707,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66232880012d193e80071ffa50003200f623..."} 
[2026-07-15 19:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66232880012d193e80071ffa50003200f623..."} 
[2026-07-15 19:50:57] local.INFO: Processing buffer {"connection_id":132707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66232880012d193e80071ffa50003200f623..."} 
[2026-07-15 19:50:57] local.INFO: Packet analysis {"connection_id":132707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6623"} 
[2026-07-15 19:50:57] local.INFO: Extracted packet for processing {"connection_id":132707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6623"} 
[2026-07-15 19:50:57] local.INFO: GPS Element Parsed {"raw_longitude":756629120,"raw_latitude":119536208,"longitude_deg":75.662912,"latitude_deg":11.9536208,"altitude":50,"angle":246,"satellites":35,"speed":0,"hex_longitude":"2d193e80","hex_latitude":"071ffa50","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:50:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456735996928001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6256861112172544,"note":"Value kept but may cause issues"} 
[2026-07-15 19:50:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819032067593883648,"note":"Value kept but may cause issues"} 
[2026-07-15 19:50: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-07-15 19:50:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784125008000,"timestamp_ms":1784125008000,"timestamp_seconds":1784125008,"priority":1,"record_length":96,"hex_timestamp":"0000019f66232880"} 
[2026-07-15 19:50:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:50:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 19:50:57] 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-07-15 19: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-07-15 19:50:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":132707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":132707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":132707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:50:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:50:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:50:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:50:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456735996928001,"66":12526,"121":206,"28":31744,"24":0,"16":6256861112172544,"45":1819032067593883648},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 19:50:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:50:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:50:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456735996928001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:50:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 19:50:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:50:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6256861112172544,"km_value":6256861112172.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:50:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819032067593883648,"description":"Unknown IO ID 45"} 
[2026-07-15 19:50:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456735996928001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819032067593883648}} 
[2026-07-15 19:50:57] local.INFO: DEBUG: GPS processor result {"connection_id":132707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492695,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:50:57] local.INFO: GPS data processed {"connection_id":132707,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:50:57] local.INFO: Acknowledgment sent {"connection_id":132707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:51:00] local.INFO: TCP Data received {"connection_id":132880,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:51:00] local.INFO: Processing buffer {"connection_id":132880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:51:00] local.INFO: IMEI packet received {"connection_id":132880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":132880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:51:05] local.INFO: TCP Data received {"connection_id":132880,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:51:05] local.INFO: Processing buffer {"connection_id":132880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:51:05] local.INFO: IMEI packet received {"connection_id":132880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":132880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:51:06] local.INFO: TCP Data received {"connection_id":132880,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f66254390012d7be1c005dccdc80000016523..."} 
[2026-07-15 19:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66254390012d7be1c005dccdc80000016523..."} 
[2026-07-15 19:51:06] local.INFO: Processing buffer {"connection_id":132880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66254390012d7be1c005dccdc80000016523..."} 
[2026-07-15 19:51:06] local.INFO: Packet analysis {"connection_id":132880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6625"} 
[2026-07-15 19:51:06] local.INFO: Extracted packet for processing {"connection_id":132880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6625"} 
[2026-07-15 19:51:06] local.INFO: GPS Element Parsed {"raw_longitude":763093440,"raw_latitude":98356680,"longitude_deg":76.309344,"latitude_deg":9.835668,"altitude":0,"angle":357,"satellites":35,"speed":44,"hex_longitude":"2d7be1c0","hex_latitude":"05dccdc8","is_valid_coordinates":true} 
[2026-07-15 19:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736035328001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347394693115412480,"note":"Value kept but may cause issues"} 
[2026-07-15 19:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927049280299675648,"note":"Value kept but may cause issues"} 
[2026-07-15 19:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784125146000,"timestamp_ms":1784125146000,"timestamp_seconds":1784125146,"priority":1,"record_length":96,"hex_timestamp":"0000019f66254390"} 
[2026-07-15 19:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-15 19:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736035328001,"66":27082,"169":206,"85":15104,"24":44,"16":347394693115412480,"45":8927049280299675648},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-15 19:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736035328001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:51:06] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-15 19:51:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347394693115412480,"km_value":347394693115412.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927049280299675648,"description":"Unknown IO ID 45"} 
[2026-07-15 19:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736035328001,"power":27082,"unknown_169":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8927049280299675648}} 
[2026-07-15 19:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":132880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:51:06] local.INFO: GPS data processed {"connection_id":132880,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:51:06] local.INFO: Acknowledgment sent {"connection_id":132880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:51:28] local.INFO: TCP Data received {"connection_id":132707,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66237a88012d193e80071ffa50003200f624..."} 
[2026-07-15 19:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66237a88012d193e80071ffa50003200f624..."} 
[2026-07-15 19:51:28] local.INFO: Processing buffer {"connection_id":132707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66237a88012d193e80071ffa50003200f624..."} 
[2026-07-15 19:51:28] local.INFO: Packet analysis {"connection_id":132707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6623"} 
[2026-07-15 19:51:28] local.INFO: Extracted packet for processing {"connection_id":132707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6623"} 
[2026-07-15 19:51:28] local.INFO: GPS Element Parsed {"raw_longitude":756629120,"raw_latitude":119536208,"longitude_deg":75.662912,"latitude_deg":11.9536208,"altitude":50,"angle":246,"satellites":36,"speed":0,"hex_longitude":"2d193e80","hex_latitude":"071ffa50","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736002048001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6256861112172544,"note":"Value kept but may cause issues"} 
[2026-07-15 19:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819032067593883648,"note":"Value kept but may cause issues"} 
[2026-07-15 19:51: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-07-15 19:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784125029000,"timestamp_ms":1784125029000,"timestamp_seconds":1784125029,"priority":1,"record_length":96,"hex_timestamp":"0000019f66237a88"} 
[2026-07-15 19:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:51:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-15 19:51:28] 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-07-15 19: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-07-15 19:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:51:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736002048001,"66":12406,"121":206,"28":31744,"24":0,"16":6256861112172544,"45":1819032067593883648},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 19:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736002048001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:51:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 19:51:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6256861112172544,"km_value":6256861112172.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819032067593883648,"description":"Unknown IO ID 45"} 
[2026-07-15 19:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736002048001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819032067593883648}} 
[2026-07-15 19:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":132707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492697,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:51:28] local.INFO: GPS data processed {"connection_id":132707,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:51:28] local.INFO: Acknowledgment sent {"connection_id":132707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:51:37] local.INFO: TCP Data received {"connection_id":132880,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f662566b8012d7be08005dcf2c0000001651e..."} 
[2026-07-15 19:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f662566b8012d7be08005dcf2c0000001651e..."} 
[2026-07-15 19:51:37] local.INFO: Processing buffer {"connection_id":132880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f662566b8012d7be08005dcf2c0000001651e..."} 
[2026-07-15 19:51:37] local.INFO: Packet analysis {"connection_id":132880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6625"} 
[2026-07-15 19:51:37] local.INFO: Extracted packet for processing {"connection_id":132880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6625"} 
[2026-07-15 19:51:37] local.INFO: GPS Element Parsed {"raw_longitude":763093120,"raw_latitude":98366144,"longitude_deg":76.309312,"latitude_deg":9.8366144,"altitude":0,"angle":357,"satellites":30,"speed":33,"hex_longitude":"2d7be080","hex_latitude":"05dcf2c0","is_valid_coordinates":true} 
[2026-07-15 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-07-15 19:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736037376001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347395152676913152,"note":"Value kept but may cause issues"} 
[2026-07-15 19:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926627067836876800,"note":"Value kept but may cause issues"} 
[2026-07-15 19:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784125155000,"timestamp_ms":1784125155000,"timestamp_seconds":1784125155,"priority":1,"record_length":96,"hex_timestamp":"0000019f662566b8"} 
[2026-07-15 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-07-15 19:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-07-15 19:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2541,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 19:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736037376001,"66":27321,"169":206,"85":15104,"24":33,"16":347395152676913152,"45":8926627067836876800},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-15 19:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736037376001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:51:37] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-15 19:51:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347395152676913152,"km_value":347395152676913.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926627067836876800,"description":"Unknown IO ID 45"} 
[2026-07-15 19:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736037376001,"power":27321,"unknown_169":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8926627067836876800}} 
[2026-07-15 19:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":132880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:51:37] local.INFO: GPS data processed {"connection_id":132880,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:51:37] local.INFO: Acknowledgment sent {"connection_id":132880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:51:50] local.INFO: TCP Data received {"connection_id":135095,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:51:50] local.INFO: Processing buffer {"connection_id":135095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:51:50] local.INFO: IMEI packet received {"connection_id":135095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":135095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:51:55] local.INFO: TCP Data received {"connection_id":135095,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:51:55] local.INFO: Processing buffer {"connection_id":135095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:51:55] local.INFO: IMEI packet received {"connection_id":135095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":135095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:51:56] local.INFO: TCP Data received {"connection_id":135095,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6623cc90012d193e80071ffa50003200f623..."} 
[2026-07-15 19:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6623cc90012d193e80071ffa50003200f623..."} 
[2026-07-15 19:51:56] local.INFO: Processing buffer {"connection_id":135095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6623cc90012d193e80071ffa50003200f623..."} 
[2026-07-15 19:51:56] local.INFO: Packet analysis {"connection_id":135095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6623"} 
[2026-07-15 19:51:56] local.INFO: Extracted packet for processing {"connection_id":135095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6623"} 
[2026-07-15 19:51:56] local.INFO: GPS Element Parsed {"raw_longitude":756629120,"raw_latitude":119536208,"longitude_deg":75.662912,"latitude_deg":11.9536208,"altitude":50,"angle":246,"satellites":35,"speed":0,"hex_longitude":"2d193e80","hex_latitude":"071ffa50","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736007424001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6256861112172544,"note":"Value kept but may cause issues"} 
[2026-07-15 19:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819032067593883648,"note":"Value kept but may cause issues"} 
[2026-07-15 19:51: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-07-15 19:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784125050000,"timestamp_ms":1784125050000,"timestamp_seconds":1784125050,"priority":1,"record_length":96,"hex_timestamp":"0000019f6623cc90"} 
[2026-07-15 19:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:51:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 19:51:56] 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-07-15 19: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-07-15 19:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":135095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":135095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":135095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736007424001,"66":12504,"121":206,"28":31744,"24":0,"16":6256861112172544,"45":1819032067593883648},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 19:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736007424001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:51:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 19:51:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6256861112172544,"km_value":6256861112172.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819032067593883648,"description":"Unknown IO ID 45"} 
[2026-07-15 19:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736007424001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819032067593883648}} 
[2026-07-15 19:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":135095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492699,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:51:56] local.INFO: GPS data processed {"connection_id":135095,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:51:56] local.INFO: Acknowledgment sent {"connection_id":135095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:52:00] local.INFO: TCP Data received {"connection_id":133735,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:52:00] local.INFO: Processing buffer {"connection_id":133735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:52:00] local.INFO: IMEI packet received {"connection_id":133735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":133735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:52:05] local.INFO: TCP Data received {"connection_id":133735,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:52:05] local.INFO: Processing buffer {"connection_id":133735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:52:05] local.INFO: IMEI packet received {"connection_id":133735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":133735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:52:06] local.INFO: TCP Data received {"connection_id":133735,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f66259980012d7bdec005dd15e00000016022..."} 
[2026-07-15 19:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66259980012d7bdec005dd15e00000016022..."} 
[2026-07-15 19:52:06] local.INFO: Processing buffer {"connection_id":133735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66259980012d7bdec005dd15e00000016022..."} 
[2026-07-15 19:52:06] local.INFO: Packet analysis {"connection_id":133735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6625"} 
[2026-07-15 19:52:06] local.INFO: Extracted packet for processing {"connection_id":133735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6625"} 
[2026-07-15 19:52:06] local.INFO: GPS Element Parsed {"raw_longitude":763092672,"raw_latitude":98375136,"longitude_deg":76.3092672,"latitude_deg":9.8375136,"altitude":0,"angle":352,"satellites":34,"speed":22,"hex_longitude":"2d7bdec0","hex_latitude":"05dd15e0","is_valid_coordinates":true} 
[2026-07-15 19:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736039680001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347395590763577344,"note":"Value kept but may cause issues"} 
[2026-07-15 19:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926275224118411264,"note":"Value kept but may cause issues"} 
[2026-07-15 19:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784125168000,"timestamp_ms":1784125168000,"timestamp_seconds":1784125168,"priority":1,"record_length":96,"hex_timestamp":"0000019f66259980"} 
[2026-07-15 19:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-15 19:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736039680001,"66":27343,"169":206,"85":15104,"24":22,"16":347395590763577344,"45":8926275224118411264},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-15 19:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736039680001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:52:06] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-15 19:52:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347395590763577344,"km_value":347395590763577.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926275224118411264,"description":"Unknown IO ID 45"} 
[2026-07-15 19:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736039680001,"power":27343,"unknown_169":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8926275224118411264}} 
[2026-07-15 19:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":133735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:52:06] local.INFO: GPS data processed {"connection_id":133735,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:52:06] local.INFO: Acknowledgment sent {"connection_id":133735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:52:28] local.INFO: TCP Data received {"connection_id":135095,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66241e98012d193e80071ffa50003200f625..."} 
[2026-07-15 19:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66241e98012d193e80071ffa50003200f625..."} 
[2026-07-15 19:52:28] local.INFO: Processing buffer {"connection_id":135095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66241e98012d193e80071ffa50003200f625..."} 
[2026-07-15 19:52:28] local.INFO: Packet analysis {"connection_id":135095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6624"} 
[2026-07-15 19:52:28] local.INFO: Extracted packet for processing {"connection_id":135095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6624"} 
[2026-07-15 19:52:28] local.INFO: GPS Element Parsed {"raw_longitude":756629120,"raw_latitude":119536208,"longitude_deg":75.662912,"latitude_deg":11.9536208,"altitude":50,"angle":246,"satellites":37,"speed":0,"hex_longitude":"2d193e80","hex_latitude":"071ffa50","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736012800001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6256861112172544,"note":"Value kept but may cause issues"} 
[2026-07-15 19:52:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819032067593883648,"note":"Value kept but may cause issues"} 
[2026-07-15 19:52: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-07-15 19:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784125071000,"timestamp_ms":1784125071000,"timestamp_seconds":1784125071,"priority":1,"record_length":96,"hex_timestamp":"0000019f66241e98"} 
[2026-07-15 19:52:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:52:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":216,"data_length":795,"current_offset":136} 
[2026-07-15 19:52:28] 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-07-15 19: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-07-15 19:52:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":135095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":135095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":135095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:52:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736012800001,"66":12406,"121":206,"28":31744,"24":0,"16":6256861112172544,"45":1819032067593883648},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 19:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736012800001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:52:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 19:52:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6256861112172544,"km_value":6256861112172.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:52:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819032067593883648,"description":"Unknown IO ID 45"} 
[2026-07-15 19:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736012800001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819032067593883648}} 
[2026-07-15 19:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":135095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492701,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:52:28] local.INFO: GPS data processed {"connection_id":135095,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:52:28] local.INFO: Acknowledgment sent {"connection_id":135095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:52:37] local.INFO: TCP Data received {"connection_id":133735,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f66278d80012d7b990005deed780000016422..."} 
[2026-07-15 19:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66278d80012d7b990005deed780000016422..."} 
[2026-07-15 19:52:37] local.INFO: Processing buffer {"connection_id":133735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66278d80012d7b990005deed780000016422..."} 
[2026-07-15 19:52:37] local.INFO: Packet analysis {"connection_id":133735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6627"} 
[2026-07-15 19:52:37] local.INFO: Extracted packet for processing {"connection_id":133735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6627"} 
[2026-07-15 19:52:37] local.INFO: GPS Element Parsed {"raw_longitude":763074816,"raw_latitude":98495864,"longitude_deg":76.3074816,"latitude_deg":9.8495864,"altitude":0,"angle":356,"satellites":34,"speed":38,"hex_longitude":"2d7b9900","hex_latitude":"05deed78","is_valid_coordinates":true} 
[2026-07-15 19:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736073472001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347401513523478528,"note":"Value kept but may cause issues"} 
[2026-07-15 19:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8906783082012129280,"note":"Value kept but may cause issues"} 
[2026-07-15 19:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784125296000,"timestamp_ms":1784125296000,"timestamp_seconds":1784125296,"priority":1,"record_length":96,"hex_timestamp":"0000019f66278d80"} 
[2026-07-15 19:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-15 19:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736073472001,"66":27234,"49":206,"85":15104,"24":38,"16":347401513523478528,"45":8906783082012129280},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-07-15 19:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736073472001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:52:37] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-15 19:52:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347401513523478528,"km_value":347401513523478.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8906783082012129280,"description":"Unknown IO ID 45"} 
[2026-07-15 19:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736073472001,"power":27234,"unknown_49":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8906783082012129280}} 
[2026-07-15 19:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":133735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:52:37] local.INFO: GPS data processed {"connection_id":133735,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:52:37] local.INFO: Acknowledgment sent {"connection_id":133735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:52:50] local.INFO: TCP Data received {"connection_id":132881,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:52:50] local.INFO: Processing buffer {"connection_id":132881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:52:50] local.INFO: IMEI packet received {"connection_id":132881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":132881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:52:55] local.INFO: TCP Data received {"connection_id":132881,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:52:55] local.INFO: Processing buffer {"connection_id":132881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:52:55] local.INFO: IMEI packet received {"connection_id":132881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":132881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:52:56] local.INFO: TCP Data received {"connection_id":132881,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f662470a0012d193e80071ffa50003200f622..."} 
[2026-07-15 19:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f662470a0012d193e80071ffa50003200f622..."} 
[2026-07-15 19:52:56] local.INFO: Processing buffer {"connection_id":132881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f662470a0012d193e80071ffa50003200f622..."} 
[2026-07-15 19:52:56] local.INFO: Packet analysis {"connection_id":132881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6624"} 
[2026-07-15 19:52:56] local.INFO: Extracted packet for processing {"connection_id":132881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6624"} 
[2026-07-15 19:52:56] local.INFO: GPS Element Parsed {"raw_longitude":756629120,"raw_latitude":119536208,"longitude_deg":75.662912,"latitude_deg":11.9536208,"altitude":50,"angle":246,"satellites":34,"speed":0,"hex_longitude":"2d193e80","hex_latitude":"071ffa50","is_valid_coordinates":true} 
[2026-07-15 19:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736018176001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6256861112172544,"note":"Value kept but may cause issues"} 
[2026-07-15 19:52:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819032067593883648,"note":"Value kept but may cause issues"} 
[2026-07-15 19:52: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-07-15 19:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784125092000,"timestamp_ms":1784125092000,"timestamp_seconds":1784125092,"priority":1,"record_length":96,"hex_timestamp":"0000019f662470a0"} 
[2026-07-15 19:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:52:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 19:52:56] 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-07-15 19:52:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:52:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736018176001,"66":12461,"121":206,"28":31744,"24":0,"16":6256861112172544,"45":1819032067593883648},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 19:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736018176001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:52:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 19:52:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6256861112172544,"km_value":6256861112172.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:52:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819032067593883648,"description":"Unknown IO ID 45"} 
[2026-07-15 19:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736018176001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819032067593883648}} 
[2026-07-15 19:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":132881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492703,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:52:56] local.INFO: GPS data processed {"connection_id":132881,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:52:56] local.INFO: Acknowledgment sent {"connection_id":132881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:53:00] local.INFO: TCP Data received {"connection_id":135096,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:53:00] local.INFO: Processing buffer {"connection_id":135096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:53:00] local.INFO: IMEI packet received {"connection_id":135096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":135096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:53:02] local.INFO: TCP Data received {"connection_id":135096,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:53:02] local.INFO: Processing buffer {"connection_id":135096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:53:02] local.INFO: IMEI packet received {"connection_id":135096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":135096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:53:04] local.INFO: TCP Data received {"connection_id":132708,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132708,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:53:04] local.INFO: Processing buffer {"connection_id":132708,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:53:04] local.INFO: IMEI packet received {"connection_id":132708,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 19:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":132708,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:53:05] local.INFO: TCP Data received {"connection_id":135096,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:53:05] local.INFO: Processing buffer {"connection_id":135096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:53:05] local.INFO: IMEI packet received {"connection_id":135096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":135096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:53:06] local.INFO: TCP Data received {"connection_id":135096,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6627b490012d7b964005df12e00000016323..."} 
[2026-07-15 19:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6627b490012d7b964005df12e00000016323..."} 
[2026-07-15 19:53:06] local.INFO: Processing buffer {"connection_id":135096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6627b490012d7b964005df12e00000016323..."} 
[2026-07-15 19:53:06] local.INFO: Packet analysis {"connection_id":135096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6627"} 
[2026-07-15 19:53:06] local.INFO: Extracted packet for processing {"connection_id":135096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6627"} 
[2026-07-15 19:53:06] local.INFO: GPS Element Parsed {"raw_longitude":763074112,"raw_latitude":98505440,"longitude_deg":76.3074112,"latitude_deg":9.850544,"altitude":0,"angle":355,"satellites":35,"speed":38,"hex_longitude":"2d7b9640","hex_latitude":"05df12e0","is_valid_coordinates":true} 
[2026-07-15 19:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736075776001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347401981674913792,"note":"Value kept but may cause issues"} 
[2026-07-15 19:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8906149763316807680,"note":"Value kept but may cause issues"} 
[2026-07-15 19:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784125306000,"timestamp_ms":1784125306000,"timestamp_seconds":1784125306,"priority":1,"record_length":96,"hex_timestamp":"0000019f6627b490"} 
[2026-07-15 19:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-15 19:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736075776001,"66":27169,"49":206,"85":15104,"24":38,"16":347401981674913792,"45":8906149763316807680},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-07-15 19:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736075776001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:53:06] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-15 19:53:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347401981674913792,"km_value":347401981674913.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8906149763316807680,"description":"Unknown IO ID 45"} 
[2026-07-15 19:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736075776001,"power":27169,"unknown_49":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8906149763316807680}} 
[2026-07-15 19:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":135096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:53:06] local.INFO: GPS data processed {"connection_id":135096,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:53:06] local.INFO: Acknowledgment sent {"connection_id":135096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:53:28] local.INFO: TCP Data received {"connection_id":132881,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6627fae0012d193e80071ffa50003200f622..."} 
[2026-07-15 19:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6627fae0012d193e80071ffa50003200f622..."} 
[2026-07-15 19:53:28] local.INFO: Processing buffer {"connection_id":132881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6627fae0012d193e80071ffa50003200f622..."} 
[2026-07-15 19:53:28] local.INFO: Packet analysis {"connection_id":132881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6627"} 
[2026-07-15 19:53:28] local.INFO: Extracted packet for processing {"connection_id":132881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6627"} 
[2026-07-15 19:53:28] local.INFO: GPS Element Parsed {"raw_longitude":756629120,"raw_latitude":119536208,"longitude_deg":75.662912,"latitude_deg":11.9536208,"altitude":50,"angle":246,"satellites":34,"speed":0,"hex_longitude":"2d193e80","hex_latitude":"071ffa50","is_valid_coordinates":true} 
[2026-07-15 19:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736077568001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6256861112172544,"note":"Value kept but may cause issues"} 
[2026-07-15 19:53:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819032067593883648,"note":"Value kept but may cause issues"} 
[2026-07-15 19:53: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-07-15 19:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784125324000,"timestamp_ms":1784125324000,"timestamp_seconds":1784125324,"priority":1,"record_length":96,"hex_timestamp":"0000019f6627fae0"} 
[2026-07-15 19:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:53:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-15 19:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-15 19:53:28] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-07-15 19:53:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452310,"note":"Value kept but may cause issues"} 
[2026-07-15 19:53:28] local.WARNING: Large IO value detected {"io_id":58,"raw_value":-7710162562058289151,"note":"Value kept but may cause issues"} 
[2026-07-15 19:53:28] local.WARNING: Large IO value detected {"io_id":159,"raw_value":7360402106486692158,"note":"Value kept but may cause issues"} 
[2026-07-15 19:53:28] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513404104051130614,"note":"Value kept but may cause issues"} 
[2026-07-15 19:53:28] local.WARNING: Large IO value detected {"io_id":50,"raw_value":69281327177793536,"note":"Value kept but may cause issues"} 
[2026-07-15 19:53:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832593,"note":"Value kept but may cause issues"} 
[2026-07-15 19:53:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683571937968334,"note":"Value kept but may cause issues"} 
[2026-07-15 19:53:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4199546930,"note":"Value kept but may cause issues"} 
[2026-07-15 19:53:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-15 19:53:28] local.WARNING: Large IO value detected {"io_id":14,"raw_value":2952867097,"note":"Value kept but may cause issues"} 
[2026-07-15 19:53:28] local.WARNING: Large IO value detected {"io_id":62,"raw_value":2147950586,"note":"Value kept but may cause issues"} 
[2026-07-15 19:53:28] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,58,159,86,45,128,250,50,34,10,66,4,35,178,1,240,53,102,31,113,205,14,62,80,32,239,48,2,22,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-15 19:53:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3603150319195783168,"timestamp_seconds":3603150319195783.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 19:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:53:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736077568001,"66":12319,"121":206,"28":31744,"24":0,"16":6256861112172544,"45":1819032067593883648},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 19:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736077568001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:53:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 19:53:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6256861112172544,"km_value":6256861112172.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:53:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819032067593883648,"description":"Unknown IO ID 45"} 
[2026-07-15 19:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736077568001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819032067593883648}} 
[2026-07-15 19:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":132881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:53:28] local.INFO: GPS data processed {"connection_id":132881,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:53:28] local.INFO: Acknowledgment sent {"connection_id":132881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:53:32] local.INFO: TCP Data received {"connection_id":132882,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132882,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:53:32] local.INFO: Processing buffer {"connection_id":132882,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:53:32] local.INFO: IMEI packet received {"connection_id":132882,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 19:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":132882,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:53:37] local.INFO: TCP Data received {"connection_id":135096,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6627dba0012d7b93c005df3970000001621b..."} 
[2026-07-15 19:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6627dba0012d7b93c005df3970000001621b..."} 
[2026-07-15 19:53:37] local.INFO: Processing buffer {"connection_id":135096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6627dba0012d7b93c005df3970000001621b..."} 
[2026-07-15 19:53:37] local.INFO: Packet analysis {"connection_id":135096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6627"} 
[2026-07-15 19:53:37] local.INFO: Extracted packet for processing {"connection_id":135096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6627"} 
[2026-07-15 19:53:37] local.INFO: GPS Element Parsed {"raw_longitude":763073472,"raw_latitude":98515312,"longitude_deg":76.3073472,"latitude_deg":9.8515312,"altitude":0,"angle":354,"satellites":27,"speed":42,"hex_longitude":"2d7b93c0","hex_latitude":"05df3970","is_valid_coordinates":true} 
[2026-07-15 19:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736078336001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347402462711250944,"note":"Value kept but may cause issues"} 
[2026-07-15 19:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905375707133304832,"note":"Value kept but may cause issues"} 
[2026-07-15 19:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784125316000,"timestamp_ms":1784125316000,"timestamp_seconds":1784125316,"priority":1,"record_length":96,"hex_timestamp":"0000019f6627dba0"} 
[2026-07-15 19:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-15 19:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":135096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":135096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":135096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736078336001,"66":27397,"36":206,"85":15104,"24":42,"16":347402462711250944,"45":8905375707133304832},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-07-15 19:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736078336001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:53:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-15 19:53:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347402462711250944,"km_value":347402462711250.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905375707133304832,"description":"Unknown IO ID 45"} 
[2026-07-15 19:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736078336001,"power":27397,"unknown_36":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8905375707133304832}} 
[2026-07-15 19:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":135096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:53:37] local.INFO: GPS data processed {"connection_id":135096,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:53:37] local.INFO: Acknowledgment sent {"connection_id":135096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:53:55] local.INFO: TCP Data received {"connection_id":132709,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:53:55] local.INFO: Processing buffer {"connection_id":132709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:53:55] local.INFO: IMEI packet received {"connection_id":132709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":132709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:54:00] local.INFO: TCP Data received {"connection_id":132709,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:54:00] local.INFO: Processing buffer {"connection_id":132709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:54:00] local.INFO: IMEI packet received {"connection_id":132709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":132709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:54:01] local.INFO: TCP Data received {"connection_id":132709,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66284ce8012d193e80071ffa50003200f61e..."} 
[2026-07-15 19:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66284ce8012d193e80071ffa50003200f61e..."} 
[2026-07-15 19:54:01] local.INFO: Processing buffer {"connection_id":132709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66284ce8012d193e80071ffa50003200f61e..."} 
[2026-07-15 19:54:01] local.INFO: Packet analysis {"connection_id":132709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6628"} 
[2026-07-15 19:54:01] local.INFO: Extracted packet for processing {"connection_id":132709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6628"} 
[2026-07-15 19:54:01] local.INFO: GPS Element Parsed {"raw_longitude":756629120,"raw_latitude":119536208,"longitude_deg":75.662912,"latitude_deg":11.9536208,"altitude":50,"angle":246,"satellites":30,"speed":0,"hex_longitude":"2d193e80","hex_latitude":"071ffa50","is_valid_coordinates":true} 
[2026-07-15 19:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736082944001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6256861112172544,"note":"Value kept but may cause issues"} 
[2026-07-15 19:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819032067593883648,"note":"Value kept but may cause issues"} 
[2026-07-15 19:54:01] 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-07-15 19:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784125345000,"timestamp_ms":1784125345000,"timestamp_seconds":1784125345,"priority":1,"record_length":96,"hex_timestamp":"0000019f66284ce8"} 
[2026-07-15 19:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:54:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-15 19:54:01] 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-07-15 19:54:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":132709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":132709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":132709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736082944001,"66":12287,"121":206,"28":31744,"24":0,"16":6256861112172544,"45":1819032067593883648},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 19:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736082944001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:54:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 19:54:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6256861112172544,"km_value":6256861112172.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819032067593883648,"description":"Unknown IO ID 45"} 
[2026-07-15 19:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736082944001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819032067593883648}} 
[2026-07-15 19:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":132709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:54:01] local.INFO: GPS data processed {"connection_id":132709,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:54:01] local.INFO: Acknowledgment sent {"connection_id":132709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:54:06] local.INFO: TCP Data received {"connection_id":132710,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:54:06] local.INFO: Processing buffer {"connection_id":132710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:54:06] local.INFO: IMEI packet received {"connection_id":132710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":132710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:54:07] local.INFO: TCP Data received {"connection_id":132709,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66289ef0012d193e80071ffa50003200f621..."} 
[2026-07-15 19:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66289ef0012d193e80071ffa50003200f621..."} 
[2026-07-15 19:54:07] local.INFO: Processing buffer {"connection_id":132709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66289ef0012d193e80071ffa50003200f621..."} 
[2026-07-15 19:54:07] local.INFO: Packet analysis {"connection_id":132709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6628"} 
[2026-07-15 19:54:07] local.INFO: Extracted packet for processing {"connection_id":132709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6628"} 
[2026-07-15 19:54:07] local.INFO: GPS Element Parsed {"raw_longitude":756629120,"raw_latitude":119536208,"longitude_deg":75.662912,"latitude_deg":11.9536208,"altitude":50,"angle":246,"satellites":33,"speed":0,"hex_longitude":"2d193e80","hex_latitude":"071ffa50","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736088320001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6256861112172544,"note":"Value kept but may cause issues"} 
[2026-07-15 19:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819032067593883648,"note":"Value kept but may cause issues"} 
[2026-07-15 19:54:07] 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-07-15 19:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784125366000,"timestamp_ms":1784125366000,"timestamp_seconds":1784125366,"priority":1,"record_length":96,"hex_timestamp":"0000019f66289ef0"} 
[2026-07-15 19:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-15 19:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19: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-07-15 19:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736088320001,"66":12287,"121":206,"28":31744,"24":0,"16":6256861112172544,"45":1819032067593883648},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 19:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736088320001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:54:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 19:54:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6256861112172544,"km_value":6256861112172.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819032067593883648,"description":"Unknown IO ID 45"} 
[2026-07-15 19:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736088320001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819032067593883648}} 
[2026-07-15 19:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":132709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:54:07] local.INFO: GPS data processed {"connection_id":132709,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:54:07] local.INFO: Acknowledgment sent {"connection_id":132709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:54:10] local.INFO: TCP Data received {"connection_id":132710,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:54:10] local.INFO: Processing buffer {"connection_id":132710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:54:10] local.INFO: IMEI packet received {"connection_id":132710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":132710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:54:11] local.INFO: TCP Data received {"connection_id":132710,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6627fec8012d7b900005df5e780000016020..."} 
[2026-07-15 19:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6627fec8012d7b900005df5e780000016020..."} 
[2026-07-15 19:54:11] local.INFO: Processing buffer {"connection_id":132710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6627fec8012d7b900005df5e780000016020..."} 
[2026-07-15 19:54:11] local.INFO: Packet analysis {"connection_id":132710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6627"} 
[2026-07-15 19:54:11] local.INFO: Extracted packet for processing {"connection_id":132710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6627"} 
[2026-07-15 19:54:11] local.INFO: GPS Element Parsed {"raw_longitude":763072512,"raw_latitude":98524792,"longitude_deg":76.3072512,"latitude_deg":9.8524792,"altitude":0,"angle":352,"satellites":32,"speed":41,"hex_longitude":"2d7b9000","hex_latitude":"05df5e78","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736080896001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347402922272751616,"note":"Value kept but may cause issues"} 
[2026-07-15 19:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8904672019694055424,"note":"Value kept but may cause issues"} 
[2026-07-15 19:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784125325000,"timestamp_ms":1784125325000,"timestamp_seconds":1784125325,"priority":1,"record_length":96,"hex_timestamp":"0000019f6627fec8"} 
[2026-07-15 19:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:54:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-15 19:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19: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-07-15 19:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:54:11] 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-07-15 19:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736080896001,"66":27267,"36":206,"85":15104,"24":41,"16":347402922272751616,"45":8904672019694055424},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-07-15 19:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736080896001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:54:11] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-15 19:54:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347402922272751616,"km_value":347402922272751.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8904672019694055424,"description":"Unknown IO ID 45"} 
[2026-07-15 19:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736080896001,"power":27267,"unknown_36":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8904672019694055424}} 
[2026-07-15 19:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":132710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:54:11] local.INFO: GPS data processed {"connection_id":132710,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:54:11] local.INFO: Acknowledgment sent {"connection_id":132710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:54:14] local.INFO: TCP Data received {"connection_id":132710,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f662825d8012d7b8ac005df84580000015e22..."} 
[2026-07-15 19:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f662825d8012d7b8ac005df84580000015e22..."} 
[2026-07-15 19:54:14] local.INFO: Processing buffer {"connection_id":132710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f662825d8012d7b8ac005df84580000015e22..."} 
[2026-07-15 19:54:14] local.INFO: Packet analysis {"connection_id":132710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6628"} 
[2026-07-15 19:54:14] local.INFO: Extracted packet for processing {"connection_id":132710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6628"} 
[2026-07-15 19:54:14] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":98534488,"longitude_deg":76.3071168,"latitude_deg":9.8534488,"altitude":0,"angle":350,"satellites":34,"speed":38,"hex_longitude":"2d7b8ac0","hex_latitude":"05df8458","is_valid_coordinates":true} 
[2026-07-15 19:54: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-07-15 19:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736083200001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347403399014121472,"note":"Value kept but may cause issues"} 
[2026-07-15 19:54:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8903616488533817344,"note":"Value kept but may cause issues"} 
[2026-07-15 19:54:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784125335000,"timestamp_ms":1784125335000,"timestamp_seconds":1784125335,"priority":1,"record_length":96,"hex_timestamp":"0000019f662825d8"} 
[2026-07-15 19:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:54:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-15 19:54:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:54: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-07-15 19:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":132710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":132710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":132710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:54:14] 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-07-15 19:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736083200001,"66":27365,"36":206,"85":15104,"24":38,"16":347403399014121472,"45":8903616488533817344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-07-15 19:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736083200001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:54:14] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-15 19:54:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347403399014121472,"km_value":347403399014121.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:54:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8903616488533817344,"description":"Unknown IO ID 45"} 
[2026-07-15 19:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736083200001,"power":27365,"unknown_36":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8903616488533817344}} 
[2026-07-15 19:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":132710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:54:14] local.INFO: GPS data processed {"connection_id":132710,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:54:14] local.INFO: Acknowledgment sent {"connection_id":132710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:54:51] local.INFO: TCP Data received {"connection_id":132884,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:54:51] local.INFO: Processing buffer {"connection_id":132884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:54:51] local.INFO: IMEI packet received {"connection_id":132884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":132884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:54:55] local.INFO: TCP Data received {"connection_id":132884,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:54:55] local.INFO: Processing buffer {"connection_id":132884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:54:55] local.INFO: IMEI packet received {"connection_id":132884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":132884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:54:56] local.INFO: TCP Data received {"connection_id":132884,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6628f0f8012d193e80071ffa50003200f620..."} 
[2026-07-15 19:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6628f0f8012d193e80071ffa50003200f620..."} 
[2026-07-15 19:54:56] local.INFO: Processing buffer {"connection_id":132884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6628f0f8012d193e80071ffa50003200f620..."} 
[2026-07-15 19:54:56] local.INFO: Packet analysis {"connection_id":132884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6628"} 
[2026-07-15 19:54:56] local.INFO: Extracted packet for processing {"connection_id":132884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6628"} 
[2026-07-15 19:54:56] local.INFO: GPS Element Parsed {"raw_longitude":756629120,"raw_latitude":119536208,"longitude_deg":75.662912,"latitude_deg":11.9536208,"altitude":50,"angle":246,"satellites":32,"speed":0,"hex_longitude":"2d193e80","hex_latitude":"071ffa50","is_valid_coordinates":true} 
[2026-07-15 19:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736093696001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6256861112172544,"note":"Value kept but may cause issues"} 
[2026-07-15 19:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819032067593883648,"note":"Value kept but may cause issues"} 
[2026-07-15 19:54: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-07-15 19:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784125387000,"timestamp_ms":1784125387000,"timestamp_seconds":1784125387,"priority":1,"record_length":96,"hex_timestamp":"0000019f6628f0f8"} 
[2026-07-15 19:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-15 19:54:56] 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-07-15 19:54:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736093696001,"66":12298,"121":206,"28":31744,"24":0,"16":6256861112172544,"45":1819032067593883648},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 19:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736093696001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:54:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 19:54:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6256861112172544,"km_value":6256861112172.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819032067593883648,"description":"Unknown IO ID 45"} 
[2026-07-15 19:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736093696001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819032067593883648}} 
[2026-07-15 19:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":132884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:54:56] local.INFO: GPS data processed {"connection_id":132884,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:54:56] local.INFO: Acknowledgment sent {"connection_id":132884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:55:00] local.INFO: TCP Data received {"connection_id":135097,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:55:00] local.INFO: Processing buffer {"connection_id":135097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:55:00] local.INFO: IMEI packet received {"connection_id":135097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":135097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:55:01] local.INFO: TCP Data received {"connection_id":135097,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:55:01] local.INFO: Processing buffer {"connection_id":135097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:55:01] local.INFO: IMEI packet received {"connection_id":135097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":135097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:55:05] local.INFO: TCP Data received {"connection_id":135097,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:55:05] local.INFO: Processing buffer {"connection_id":135097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:55:05] local.INFO: IMEI packet received {"connection_id":135097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":135097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:55:06] local.INFO: TCP Data received {"connection_id":135097,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6629c7d0012d7b520005e113200000015d1c..."} 
[2026-07-15 19:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6629c7d0012d7b520005e113200000015d1c..."} 
[2026-07-15 19:55:06] local.INFO: Processing buffer {"connection_id":135097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6629c7d0012d7b520005e113200000015d1c..."} 
[2026-07-15 19:55:06] local.INFO: Packet analysis {"connection_id":135097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6629"} 
[2026-07-15 19:55:06] local.INFO: Extracted packet for processing {"connection_id":135097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6629"} 
[2026-07-15 19:55:06] local.INFO: GPS Element Parsed {"raw_longitude":763056640,"raw_latitude":98636576,"longitude_deg":76.305664,"latitude_deg":9.8636576,"altitude":0,"angle":349,"satellites":28,"speed":54,"hex_longitude":"2d7b5200","hex_latitude":"05e11320","is_valid_coordinates":true} 
[2026-07-15 19:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736111360001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887853889864278016,"note":"Value kept but may cause issues"} 
[2026-07-15 19:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347408398356054016,"note":"Value kept but may cause issues"} 
[2026-07-15 19:55:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 19:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784125442000,"timestamp_ms":1784125442000,"timestamp_seconds":1784125442,"priority":1,"record_length":96,"hex_timestamp":"0000019f6629c7d0"} 
[2026-07-15 19:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-15 19:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736111360001,"66":27343,"45":8887853889864278016,"85":15104,"24":54,"16":347408398356054016},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-07-15 19:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736111360001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887853889864278016,"description":"Unknown IO ID 45"} 
[2026-07-15 19:55:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347408398356054016,"km_value":347408398356054.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:55:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456736111360001,"power":27343,"unknown_45":8887853889864278016,"unknown_85":15104,"ignition":54,"odometer":null}} 
[2026-07-15 19:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":135097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:55:06] local.INFO: GPS data processed {"connection_id":135097,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:55:06] local.INFO: Acknowledgment sent {"connection_id":135097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:55:28] local.INFO: TCP Data received {"connection_id":132884,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66294300012d193e80071ffa50003200f620..."} 
[2026-07-15 19:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66294300012d193e80071ffa50003200f620..."} 
[2026-07-15 19:55:28] local.INFO: Processing buffer {"connection_id":132884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66294300012d193e80071ffa50003200f620..."} 
[2026-07-15 19:55:28] local.INFO: Packet analysis {"connection_id":132884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6629"} 
[2026-07-15 19:55:28] local.INFO: Extracted packet for processing {"connection_id":132884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6629"} 
[2026-07-15 19:55:28] local.INFO: GPS Element Parsed {"raw_longitude":756629120,"raw_latitude":119536208,"longitude_deg":75.662912,"latitude_deg":11.9536208,"altitude":50,"angle":246,"satellites":32,"speed":0,"hex_longitude":"2d193e80","hex_latitude":"071ffa50","is_valid_coordinates":true} 
[2026-07-15 19:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736099072001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6256861112172544,"note":"Value kept but may cause issues"} 
[2026-07-15 19:55:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819032067593883648,"note":"Value kept but may cause issues"} 
[2026-07-15 19:55: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-07-15 19:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784125408000,"timestamp_ms":1784125408000,"timestamp_seconds":1784125408,"priority":1,"record_length":96,"hex_timestamp":"0000019f66294300"} 
[2026-07-15 19:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:55:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-15 19:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-15 19:55:28] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-07-15 19:55:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452310,"note":"Value kept but may cause issues"} 
[2026-07-15 19:55:28] local.WARNING: Large IO value detected {"io_id":58,"raw_value":-7710162562058289151,"note":"Value kept but may cause issues"} 
[2026-07-15 19:55:28] local.WARNING: Large IO value detected {"io_id":159,"raw_value":7360767178706852158,"note":"Value kept but may cause issues"} 
[2026-07-15 19:55:28] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513404104051130614,"note":"Value kept but may cause issues"} 
[2026-07-15 19:55:28] local.WARNING: Large IO value detected {"io_id":50,"raw_value":69281327177793536,"note":"Value kept but may cause issues"} 
[2026-07-15 19:55:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832593,"note":"Value kept but may cause issues"} 
[2026-07-15 19:55:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3228800342199697614,"note":"Value kept but may cause issues"} 
[2026-07-15 19:55:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4199546930,"note":"Value kept but may cause issues"} 
[2026-07-15 19:55:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-15 19:55:28] local.WARNING: Large IO value detected {"io_id":86,"raw_value":3489738009,"note":"Value kept but may cause issues"} 
[2026-07-15 19:55:28] local.WARNING: Large IO value detected {"io_id":62,"raw_value":2147950586,"note":"Value kept but may cause issues"} 
[2026-07-15 19:55:28] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3724594663,"note":"Value kept but may cause issues"} 
[2026-07-15 19:55:28] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,58,159,45,128,250,50,33,10,66,76,30,1,240,31,102,4,113,205,86,62,80,34,239,47,2,22,7,35],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-15 19:55:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3603150319195783168,"timestamp_seconds":3603150319195783.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 19:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:55:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736099072001,"66":12287,"121":206,"28":31744,"24":0,"16":6256861112172544,"45":1819032067593883648},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 19:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736099072001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:55:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 19:55:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6256861112172544,"km_value":6256861112172.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:55:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819032067593883648,"description":"Unknown IO ID 45"} 
[2026-07-15 19:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736099072001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819032067593883648}} 
[2026-07-15 19:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":132884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492713,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:55:29] local.INFO: GPS data processed {"connection_id":132884,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:55:29] local.INFO: Acknowledgment sent {"connection_id":132884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:55:37] local.INFO: TCP Data received {"connection_id":135097,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6629df40012d7b4c0005e135600000015e1b..."} 
[2026-07-15 19:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6629df40012d7b4c0005e135600000015e1b..."} 
[2026-07-15 19:55:37] local.INFO: Processing buffer {"connection_id":135097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6629df40012d7b4c0005e135600000015e1b..."} 
[2026-07-15 19:55:37] local.INFO: Packet analysis {"connection_id":135097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6629"} 
[2026-07-15 19:55:37] local.INFO: Extracted packet for processing {"connection_id":135097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6629"} 
[2026-07-15 19:55:37] local.INFO: GPS Element Parsed {"raw_longitude":763055104,"raw_latitude":98645344,"longitude_deg":76.3055104,"latitude_deg":9.8645344,"altitude":0,"angle":350,"satellites":27,"speed":60,"hex_longitude":"2d7b4c00","hex_latitude":"05e13560","is_valid_coordinates":true} 
[2026-07-15 19:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736113152001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886165040006373376,"note":"Value kept but may cause issues"} 
[2026-07-15 19:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347408832147750912,"note":"Value kept but may cause issues"} 
[2026-07-15 19:55:37] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 19:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784125448000,"timestamp_ms":1784125448000,"timestamp_seconds":1784125448,"priority":1,"record_length":96,"hex_timestamp":"0000019f6629df40"} 
[2026-07-15 19:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-15 19:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":135097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":135097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":135097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736113152001,"66":27365,"45":8886165040006373376,"85":15104,"24":60,"16":347408832147750912},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-07-15 19:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736113152001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886165040006373376,"description":"Unknown IO ID 45"} 
[2026-07-15 19:55:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347408832147750912,"km_value":347408832147750.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:55:37] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456736113152001,"power":27365,"unknown_45":8886165040006373376,"unknown_85":15104,"ignition":60,"odometer":null}} 
[2026-07-15 19:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":135097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:55:37] local.INFO: GPS data processed {"connection_id":135097,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:55:37] local.INFO: Acknowledgment sent {"connection_id":135097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:55:50] local.INFO: TCP Data received {"connection_id":132711,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:55:50] local.INFO: Processing buffer {"connection_id":132711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:55:50] local.INFO: IMEI packet received {"connection_id":132711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":132711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:55:50] local.INFO: TCP Data received {"connection_id":132711,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:55:50] local.INFO: Processing buffer {"connection_id":132711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:55:50] local.INFO: IMEI packet received {"connection_id":132711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":132711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:55:55] local.INFO: TCP Data received {"connection_id":132711,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:55:55] local.INFO: Processing buffer {"connection_id":132711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:55:55] local.INFO: IMEI packet received {"connection_id":132711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":132711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:55:56] local.INFO: TCP Data received {"connection_id":132711,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f662998f0012d193e80071ffa50003200f620..."} 
[2026-07-15 19:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f662998f0012d193e80071ffa50003200f620..."} 
[2026-07-15 19:55:56] local.INFO: Processing buffer {"connection_id":132711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f662998f0012d193e80071ffa50003200f620..."} 
[2026-07-15 19:55:56] local.INFO: Packet analysis {"connection_id":132711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6629"} 
[2026-07-15 19:55:56] local.INFO: Extracted packet for processing {"connection_id":132711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6629"} 
[2026-07-15 19:55:56] local.INFO: GPS Element Parsed {"raw_longitude":756629120,"raw_latitude":119536208,"longitude_deg":75.662912,"latitude_deg":11.9536208,"altitude":50,"angle":246,"satellites":32,"speed":0,"hex_longitude":"2d193e80","hex_latitude":"071ffa50","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736104448001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6256861112172544,"note":"Value kept but may cause issues"} 
[2026-07-15 19:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819032067593883648,"note":"Value kept but may cause issues"} 
[2026-07-15 19:55: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-07-15 19:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784125430000,"timestamp_ms":1784125430000,"timestamp_seconds":1784125430,"priority":1,"record_length":96,"hex_timestamp":"0000019f662998f0"} 
[2026-07-15 19:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:55:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-15 19:55:56] 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-07-15 19: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-07-15 19:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736104448001,"66":12287,"121":206,"28":31744,"24":0,"16":6256861112172544,"45":1819032067593883648},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 19:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736104448001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:55:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 19:55:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6256861112172544,"km_value":6256861112172.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819032067593883648,"description":"Unknown IO ID 45"} 
[2026-07-15 19:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736104448001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819032067593883648}} 
[2026-07-15 19:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":132711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492715,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:55:56] local.INFO: GPS data processed {"connection_id":132711,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:55:56] local.INFO: Acknowledgment sent {"connection_id":132711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:56:00] local.INFO: TCP Data received {"connection_id":132886,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:56:00] local.INFO: Processing buffer {"connection_id":132886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:56:00] local.INFO: IMEI packet received {"connection_id":132886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":132886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:56:03] local.INFO: TCP Data received {"connection_id":132886,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:56:03] local.INFO: Processing buffer {"connection_id":132886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:56:03] local.INFO: IMEI packet received {"connection_id":132886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":132886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:56:04] local.INFO: TCP Data received {"connection_id":132886,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6629fa98012d7b460005e159b00000015d1c..."} 
[2026-07-15 19:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6629fa98012d7b460005e159b00000015d1c..."} 
[2026-07-15 19:56:04] local.INFO: Processing buffer {"connection_id":132886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6629fa98012d7b460005e159b00000015d1c..."} 
[2026-07-15 19:56:04] local.INFO: Packet analysis {"connection_id":132886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6629"} 
[2026-07-15 19:56:04] local.INFO: Extracted packet for processing {"connection_id":132886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6629"} 
[2026-07-15 19:56:04] local.INFO: GPS Element Parsed {"raw_longitude":763053568,"raw_latitude":98654640,"longitude_deg":76.3053568,"latitude_deg":9.865464,"altitude":0,"angle":349,"satellites":28,"speed":47,"hex_longitude":"2d7b4600","hex_latitude":"05e159b0","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736114688001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884476190148354048,"note":"Value kept but may cause issues"} 
[2026-07-15 19:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347409287414284288,"note":"Value kept but may cause issues"} 
[2026-07-15 19:56:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 19:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784125455000,"timestamp_ms":1784125455000,"timestamp_seconds":1784125455,"priority":1,"record_length":96,"hex_timestamp":"0000019f6629fa98"} 
[2026-07-15 19:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-15 19:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19: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-07-15 19:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":132886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":132886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":132886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736114688001,"66":27365,"45":8884476190148354048,"85":15104,"24":47,"16":347409287414284288},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-07-15 19:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736114688001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884476190148354048,"description":"Unknown IO ID 45"} 
[2026-07-15 19:56:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347409287414284288,"km_value":347409287414284.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:56:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456736114688001,"power":27365,"unknown_45":8884476190148354048,"unknown_85":15104,"ignition":47,"odometer":null}} 
[2026-07-15 19:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":132886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:56:04] local.INFO: GPS data processed {"connection_id":132886,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:56:04] local.INFO: Acknowledgment sent {"connection_id":132886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:56:36] local.INFO: TCP Data received {"connection_id":132886,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f662a15f0012d7b40c005e17c38000001601c..."} 
[2026-07-15 19:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f662a15f0012d7b40c005e17c38000001601c..."} 
[2026-07-15 19:56:36] local.INFO: Processing buffer {"connection_id":132886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f662a15f0012d7b40c005e17c38000001601c..."} 
[2026-07-15 19:56:36] local.INFO: Packet analysis {"connection_id":132886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f662a"} 
[2026-07-15 19:56:36] local.INFO: Extracted packet for processing {"connection_id":132886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f662a"} 
[2026-07-15 19:56:36] local.INFO: GPS Element Parsed {"raw_longitude":763052224,"raw_latitude":98663480,"longitude_deg":76.3052224,"latitude_deg":9.866348,"altitude":0,"angle":352,"satellites":28,"speed":53,"hex_longitude":"2d7b40c0","hex_latitude":"05e17c38","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736116480001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882787340290469888,"note":"Value kept but may cause issues"} 
[2026-07-15 19:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347409721205981184,"note":"Value kept but may cause issues"} 
[2026-07-15 19:56:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 19:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784125462000,"timestamp_ms":1784125462000,"timestamp_seconds":1784125462,"priority":1,"record_length":96,"hex_timestamp":"0000019f662a15f0"} 
[2026-07-15 19:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-15 19:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:56:36] 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-07-15 19:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736116480001,"66":27180,"45":8882787340290469888,"85":15104,"24":53,"16":347409721205981184},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-07-15 19:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736116480001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882787340290469888,"description":"Unknown IO ID 45"} 
[2026-07-15 19:56:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347409721205981184,"km_value":347409721205981.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:56:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456736116480001,"power":27180,"unknown_45":8882787340290469888,"unknown_85":15104,"ignition":53,"odometer":null}} 
[2026-07-15 19:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":132886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:56:36] local.INFO: GPS data processed {"connection_id":132886,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:56:36] local.INFO: Acknowledgment sent {"connection_id":132886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:56:41] local.INFO: TCP Data received {"connection_id":132711,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6629eaf8012d193e80071ffa50003200f620..."} 
[2026-07-15 19:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6629eaf8012d193e80071ffa50003200f620..."} 
[2026-07-15 19:56:41] local.INFO: Processing buffer {"connection_id":132711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6629eaf8012d193e80071ffa50003200f620..."} 
[2026-07-15 19:56:41] local.INFO: Packet analysis {"connection_id":132711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6629"} 
[2026-07-15 19:56:41] local.INFO: Extracted packet for processing {"connection_id":132711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6629"} 
[2026-07-15 19:56:41] local.INFO: GPS Element Parsed {"raw_longitude":756629120,"raw_latitude":119536208,"longitude_deg":75.662912,"latitude_deg":11.9536208,"altitude":50,"angle":246,"satellites":32,"speed":0,"hex_longitude":"2d193e80","hex_latitude":"071ffa50","is_valid_coordinates":true} 
[2026-07-15 19:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736110080001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6256861112172544,"note":"Value kept but may cause issues"} 
[2026-07-15 19:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819032067593883648,"note":"Value kept but may cause issues"} 
[2026-07-15 19:56:41] 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-07-15 19:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784125451000,"timestamp_ms":1784125451000,"timestamp_seconds":1784125451,"priority":1,"record_length":96,"hex_timestamp":"0000019f6629eaf8"} 
[2026-07-15 19:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-15 19:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736110080001,"66":12254,"121":206,"28":31744,"24":0,"16":6256861112172544,"45":1819032067593883648},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 19:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736110080001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:56:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 19:56:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6256861112172544,"km_value":6256861112172.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819032067593883648,"description":"Unknown IO ID 45"} 
[2026-07-15 19:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736110080001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819032067593883648}} 
[2026-07-15 19:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":132711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:56:42] local.INFO: GPS data processed {"connection_id":132711,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:56:42] local.INFO: Acknowledgment sent {"connection_id":132711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:56:50] local.INFO: TCP Data received {"connection_id":133738,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:56:50] local.INFO: Processing buffer {"connection_id":133738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:56:50] local.INFO: IMEI packet received {"connection_id":133738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":133738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:56:55] local.INFO: TCP Data received {"connection_id":133738,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:56:55] local.INFO: Processing buffer {"connection_id":133738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:56:55] local.INFO: IMEI packet received {"connection_id":133738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":133738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:56:57] local.INFO: TCP Data received {"connection_id":133738,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f662b8520012d194640071ffc30003f005c23..."} 
[2026-07-15 19:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f662b8520012d194640071ffc30003f005c23..."} 
[2026-07-15 19:56:57] local.INFO: Processing buffer {"connection_id":133738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f662b8520012d194640071ffc30003f005c23..."} 
[2026-07-15 19:56:57] local.INFO: Packet analysis {"connection_id":133738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f662b"} 
[2026-07-15 19:56:57] local.INFO: Extracted packet for processing {"connection_id":133738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f662b"} 
[2026-07-15 19:56:57] local.INFO: GPS Element Parsed {"raw_longitude":756631104,"raw_latitude":119536688,"longitude_deg":75.6631104,"latitude_deg":11.9536688,"altitude":63,"angle":92,"satellites":35,"speed":9,"hex_longitude":"2d194640","hex_latitude":"071ffc30","is_valid_coordinates":true} 
[2026-07-15 19:56:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:56:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736141312001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:56:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6256968486354944,"note":"Value kept but may cause issues"} 
[2026-07-15 19:56:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1820369073733384192,"note":"Value kept but may cause issues"} 
[2026-07-15 19:56: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-07-15 19:56:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784125556000,"timestamp_ms":1784125556000,"timestamp_seconds":1784125556,"priority":1,"record_length":96,"hex_timestamp":"0000019f662b8520"} 
[2026-07-15 19:56:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:56:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:56:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-07-15 19:56: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-07-15 19:56:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:56:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:56:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:56:57] local.INFO: Teltonika packet parsed successfully {"connection_id":133738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:56:57] local.INFO: Passing IMEI to GPS processor {"connection_id":133738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:56:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":133738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:56:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:56:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:56:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:56:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736141312001,"66":13048,"121":206,"28":31744,"24":9,"16":6256968486354944,"45":1820369073733384192},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 19:56:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:56:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:56:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736141312001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:56:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 19:56:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:56:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6256968486354944,"km_value":6256968486354.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:56:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1820369073733384192,"description":"Unknown IO ID 45"} 
[2026-07-15 19:56:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736141312001,"power":13048,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1820369073733384192}} 
[2026-07-15 19:56:57] local.INFO: DEBUG: GPS processor result {"connection_id":133738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492719,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:56:57] local.INFO: GPS data processed {"connection_id":133738,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:56:57] local.INFO: Acknowledgment sent {"connection_id":133738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:57:00] local.INFO: TCP Data received {"connection_id":133739,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:57:00] local.INFO: Processing buffer {"connection_id":133739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:57:00] local.INFO: IMEI packet received {"connection_id":133739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":133739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:57:01] local.INFO: TCP Data received {"connection_id":133739,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:57:01] local.INFO: Processing buffer {"connection_id":133739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:57:01] local.INFO: IMEI packet received {"connection_id":133739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":133739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:57:05] local.INFO: TCP Data received {"connection_id":133739,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:57:05] local.INFO: Processing buffer {"connection_id":133739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:57:05] local.INFO: IMEI packet received {"connection_id":133739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":133739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:57:06] local.INFO: TCP Data received {"connection_id":133739,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f662a3148012d7b3c8005e1a028000001621c..."} 
[2026-07-15 19:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f662a3148012d7b3c8005e1a028000001621c..."} 
[2026-07-15 19:57:06] local.INFO: Processing buffer {"connection_id":133739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f662a3148012d7b3c8005e1a028000001621c..."} 
[2026-07-15 19:57:06] local.INFO: Packet analysis {"connection_id":133739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f662a"} 
[2026-07-15 19:57:06] local.INFO: Extracted packet for processing {"connection_id":133739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f662a"} 
[2026-07-15 19:57:06] local.INFO: GPS Element Parsed {"raw_longitude":763051136,"raw_latitude":98672680,"longitude_deg":76.3051136,"latitude_deg":9.867268,"altitude":0,"angle":354,"satellites":28,"speed":51,"hex_longitude":"2d7b3c80","hex_latitude":"05e1a028","is_valid_coordinates":true} 
[2026-07-15 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-07-15 19:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736118272001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881309596665001984,"note":"Value kept but may cause issues"} 
[2026-07-15 19:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347410167882579968,"note":"Value kept but may cause issues"} 
[2026-07-15 19:57:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-15 19:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784125469000,"timestamp_ms":1784125469000,"timestamp_seconds":1784125469,"priority":1,"record_length":96,"hex_timestamp":"0000019f662a3148"} 
[2026-07-15 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-07-15 19:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-15 19:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 19:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736118272001,"66":27245,"45":8881309596665001984,"85":15104,"24":51,"16":347410167882579968},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-07-15 19:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736118272001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881309596665001984,"description":"Unknown IO ID 45"} 
[2026-07-15 19:57:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347410167882579968,"km_value":347410167882579.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:57:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456736118272001,"power":27245,"unknown_45":8881309596665001984,"unknown_85":15104,"ignition":51,"odometer":null}} 
[2026-07-15 19:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":133739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:57:06] local.INFO: GPS data processed {"connection_id":133739,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:57:06] local.INFO: Acknowledgment sent {"connection_id":133739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:57:29] local.INFO: TCP Data received {"connection_id":133738,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f662b98a8012d194bc0071ffb980041006822..."} 
[2026-07-15 19:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f662b98a8012d194bc0071ffb980041006822..."} 
[2026-07-15 19:57:29] local.INFO: Processing buffer {"connection_id":133738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f662b98a8012d194bc0071ffb980041006822..."} 
[2026-07-15 19:57:29] local.INFO: Packet analysis {"connection_id":133738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f662b"} 
[2026-07-15 19:57:29] local.INFO: Extracted packet for processing {"connection_id":133738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f662b"} 
[2026-07-15 19:57:29] local.INFO: GPS Element Parsed {"raw_longitude":756632512,"raw_latitude":119536536,"longitude_deg":75.6632512,"latitude_deg":11.9536536,"altitude":65,"angle":104,"satellites":34,"speed":10,"hex_longitude":"2d194bc0","hex_latitude":"071ffb98","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736142336001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257041500798976,"note":"Value kept but may cause issues"} 
[2026-07-15 19:57:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1821213498663514112,"note":"Value kept but may cause issues"} 
[2026-07-15 19:57: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-07-15 19:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784125561000,"timestamp_ms":1784125561000,"timestamp_seconds":1784125561,"priority":1,"record_length":96,"hex_timestamp":"0000019f662b98a8"} 
[2026-07-15 19:57:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:57:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-15 19:57: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-07-15 19: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-07-15 19:57:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":133738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":133738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":133738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:57:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736142336001,"66":13276,"121":206,"28":31744,"24":10,"16":6257041500798976,"45":1821213498663514112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 19:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736142336001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:57:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 19:57:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257041500798976,"km_value":6257041500798.976,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:57:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1821213498663514112,"description":"Unknown IO ID 45"} 
[2026-07-15 19:57:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736142336001,"power":13276,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1821213498663514112}} 
[2026-07-15 19:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":133738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:57:29] local.INFO: GPS data processed {"connection_id":133738,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:57:29] local.INFO: Acknowledgment sent {"connection_id":133738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:57:38] local.INFO: TCP Data received {"connection_id":133739,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f662c3cb8012d7b058005e341700000015e24..."} 
[2026-07-15 19:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f662c3cb8012d7b058005e341700000015e24..."} 
[2026-07-15 19:57:38] local.INFO: Processing buffer {"connection_id":133739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f662c3cb8012d7b058005e341700000015e24..."} 
[2026-07-15 19:57:38] local.INFO: Packet analysis {"connection_id":133739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f662c"} 
[2026-07-15 19:57:38] local.INFO: Extracted packet for processing {"connection_id":133739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f662c"} 
[2026-07-15 19:57:38] local.INFO: GPS Element Parsed {"raw_longitude":763037056,"raw_latitude":98779504,"longitude_deg":76.3037056,"latitude_deg":9.8779504,"altitude":0,"angle":350,"satellites":36,"speed":3,"hex_longitude":"2d7b0580","hex_latitude":"05e34170","is_valid_coordinates":true} 
[2026-07-15 19:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736148992001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347415403447713792,"note":"Value kept but may cause issues"} 
[2026-07-15 19:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866109947950528512,"note":"Value kept but may cause issues"} 
[2026-07-15 19:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784125603000,"timestamp_ms":1784125603000,"timestamp_seconds":1784125603,"priority":1,"record_length":96,"hex_timestamp":"0000019f662c3cb8"} 
[2026-07-15 19:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-15 19:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:57:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736148992001,"66":27039,"97":206,"85":15104,"24":3,"16":347415403447713792,"45":8866109947950528512},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 19:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736148992001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:57:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 19:57:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347415403447713792,"km_value":347415403447713.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866109947950528512,"description":"Unknown IO ID 45"} 
[2026-07-15 19:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736148992001,"power":27039,"unknown_97":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8866109947950528512}} 
[2026-07-15 19:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":133739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:57:38] local.INFO: GPS data processed {"connection_id":133739,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:57:38] local.INFO: Acknowledgment sent {"connection_id":133739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:57:55] local.INFO: TCP Data received {"connection_id":132887,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:57:55] local.INFO: Processing buffer {"connection_id":132887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:57:55] local.INFO: IMEI packet received {"connection_id":132887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":132887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:58:00] local.INFO: TCP Data received {"connection_id":132888,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:58:00] local.INFO: Processing buffer {"connection_id":132888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:58:00] local.INFO: IMEI packet received {"connection_id":132888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":132888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:58:00] local.INFO: TCP Data received {"connection_id":132887,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:58:00] local.INFO: Processing buffer {"connection_id":132887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:58:00] local.INFO: IMEI packet received {"connection_id":132887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":132887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:58:01] local.INFO: TCP Data received {"connection_id":132887,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f662ba460012d194e80071ffa500041008422..."} 
[2026-07-15 19:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f662ba460012d194e80071ffa500041008422..."} 
[2026-07-15 19:58:01] local.INFO: Processing buffer {"connection_id":132887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f662ba460012d194e80071ffa500041008422..."} 
[2026-07-15 19:58:01] local.INFO: Packet analysis {"connection_id":132887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f662b"} 
[2026-07-15 19:58:01] local.INFO: Extracted packet for processing {"connection_id":132887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f662b"} 
[2026-07-15 19:58:01] local.INFO: GPS Element Parsed {"raw_longitude":756633216,"raw_latitude":119536208,"longitude_deg":75.6633216,"latitude_deg":11.9536208,"altitude":65,"angle":132,"satellites":34,"speed":9,"hex_longitude":"2d194e80","hex_latitude":"071ffa50","is_valid_coordinates":true} 
[2026-07-15 19:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736143616001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257075860537344,"note":"Value kept but may cause issues"} 
[2026-07-15 19:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1822761611035383808,"note":"Value kept but may cause issues"} 
[2026-07-15 19:58:01] 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-07-15 19:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784125564000,"timestamp_ms":1784125564000,"timestamp_seconds":1784125564,"priority":1,"record_length":96,"hex_timestamp":"0000019f662ba460"} 
[2026-07-15 19:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:58:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-15 19:58:01] 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-07-15 19:58:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":132887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":132887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":132887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736143616001,"66":13276,"121":206,"28":31744,"24":9,"16":6257075860537344,"45":1822761611035383808},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 19:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736143616001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:58:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 19:58:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257075860537344,"km_value":6257075860537.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1822761611035383808,"description":"Unknown IO ID 45"} 
[2026-07-15 19:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736143616001,"power":13276,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1822761611035383808}} 
[2026-07-15 19:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":132887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:58:01] local.INFO: GPS data processed {"connection_id":132887,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:58:01] local.INFO: Acknowledgment sent {"connection_id":132887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:58:05] local.INFO: TCP Data received {"connection_id":132888,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:58:05] local.INFO: Processing buffer {"connection_id":132888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:58:05] local.INFO: IMEI packet received {"connection_id":132888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":132888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:58:06] local.INFO: TCP Data received {"connection_id":132887,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f662ba848012d194ec0071ff9a80041009021..."} 
[2026-07-15 19:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f662ba848012d194ec0071ff9a80041009021..."} 
[2026-07-15 19:58:06] local.INFO: Processing buffer {"connection_id":132887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f662ba848012d194ec0071ff9a80041009021..."} 
[2026-07-15 19:58:06] local.INFO: Packet analysis {"connection_id":132887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f662b"} 
[2026-07-15 19:58:06] local.INFO: Extracted packet for processing {"connection_id":132887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f662b"} 
[2026-07-15 19:58:06] local.INFO: GPS Element Parsed {"raw_longitude":756633280,"raw_latitude":119536040,"longitude_deg":75.663328,"latitude_deg":11.953604,"altitude":65,"angle":144,"satellites":33,"speed":7,"hex_longitude":"2d194ec0","hex_latitude":"071ff9a8","is_valid_coordinates":true} 
[2026-07-15 19:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736144384001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257084450471936,"note":"Value kept but may cause issues"} 
[2026-07-15 19:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823535667221254144,"note":"Value kept but may cause issues"} 
[2026-07-15 19:58:06] 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-07-15 19:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784125565000,"timestamp_ms":1784125565000,"timestamp_seconds":1784125565,"priority":1,"record_length":96,"hex_timestamp":"0000019f662ba848"} 
[2026-07-15 19:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-15 19:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736144384001,"66":13276,"121":206,"28":31744,"24":7,"16":6257084450471936,"45":1823535667221254144},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 19:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736144384001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:58:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 19:58:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257084450471936,"km_value":6257084450471.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823535667221254144,"description":"Unknown IO ID 45"} 
[2026-07-15 19:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736144384001,"power":13276,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1823535667221254144}} 
[2026-07-15 19:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":132887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492724,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:58:06] local.INFO: GPS data processed {"connection_id":132887,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:58:06] local.INFO: Acknowledgment sent {"connection_id":132887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:58:06] local.INFO: TCP Data received {"connection_id":132888,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f662c5bf8012d7b050005e344800002014f26..."} 
[2026-07-15 19:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f662c5bf8012d7b050005e344800002014f26..."} 
[2026-07-15 19:58:06] local.INFO: Processing buffer {"connection_id":132888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f662c5bf8012d7b050005e344800002014f26..."} 
[2026-07-15 19:58:06] local.INFO: Packet analysis {"connection_id":132888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f662c"} 
[2026-07-15 19:58:06] local.INFO: Extracted packet for processing {"connection_id":132888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f662c"} 
[2026-07-15 19:58:06] local.INFO: GPS Element Parsed {"raw_longitude":763036928,"raw_latitude":98780288,"longitude_deg":76.3036928,"latitude_deg":9.8780288,"altitude":2,"angle":335,"satellites":38,"speed":5,"hex_longitude":"2d7b0500","hex_latitude":"05e34480","is_valid_coordinates":true} 
[2026-07-15 19:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736154368001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347415446397386752,"note":"Value kept but may cause issues"} 
[2026-07-15 19:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864632204324597760,"note":"Value kept but may cause issues"} 
[2026-07-15 19:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784125611000,"timestamp_ms":1784125611000,"timestamp_seconds":1784125611,"priority":1,"record_length":96,"hex_timestamp":"0000019f662c5bf8"} 
[2026-07-15 19:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-07-15 19:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2154,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736154368001,"66":27213,"97":206,"85":15104,"24":5,"16":347415446397386752,"45":8864632204324597760},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 19:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736154368001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:58:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 19:58:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347415446397386752,"km_value":347415446397386.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864632204324597760,"description":"Unknown IO ID 45"} 
[2026-07-15 19:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736154368001,"power":27213,"unknown_97":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8864632204324597760}} 
[2026-07-15 19:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":132888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:58:06] local.INFO: GPS data processed {"connection_id":132888,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:58:06] local.INFO: Acknowledgment sent {"connection_id":132888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:58:39] local.INFO: TCP Data received {"connection_id":132888,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f662c6f80012d7b040005e348e80003015d26..."} 
[2026-07-15 19:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f662c6f80012d7b040005e348e80003015d26..."} 
[2026-07-15 19:58:39] local.INFO: Processing buffer {"connection_id":132888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f662c6f80012d7b040005e348e80003015d26..."} 
[2026-07-15 19:58:39] local.INFO: Packet analysis {"connection_id":132888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f662c"} 
[2026-07-15 19:58:39] local.INFO: Extracted packet for processing {"connection_id":132888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f662c"} 
[2026-07-15 19:58:39] local.INFO: GPS Element Parsed {"raw_longitude":763036672,"raw_latitude":98781416,"longitude_deg":76.3036672,"latitude_deg":9.8781416,"altitude":3,"angle":349,"satellites":38,"speed":14,"hex_longitude":"2d7b0400","hex_latitude":"05e348e8","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736156416001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347415502231961600,"note":"Value kept but may cause issues"} 
[2026-07-15 19:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864491466836443136,"note":"Value kept but may cause issues"} 
[2026-07-15 19:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784125616000,"timestamp_ms":1784125616000,"timestamp_seconds":1784125616,"priority":1,"record_length":96,"hex_timestamp":"0000019f662c6f80"} 
[2026-07-15 19:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-15 19:58:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19: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-07-15 19:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:58: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-07-15 19:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736156416001,"66":27300,"97":206,"85":15104,"24":14,"16":347415502231961600,"45":8864491466836443136},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 19:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736156416001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:58:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 19:58:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347415502231961600,"km_value":347415502231961.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864491466836443136,"description":"Unknown IO ID 45"} 
[2026-07-15 19:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736156416001,"power":27300,"unknown_97":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8864491466836443136}} 
[2026-07-15 19:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":132888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:58:39] local.INFO: GPS data processed {"connection_id":132888,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:58:39] local.INFO: Acknowledgment sent {"connection_id":132888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:58:50] local.INFO: TCP Data received {"connection_id":133740,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:58:50] local.INFO: Processing buffer {"connection_id":133740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:58:50] local.INFO: IMEI packet received {"connection_id":133740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":133740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:58:53] local.INFO: TCP Data received {"connection_id":132713,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132713,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:58:53] local.INFO: Processing buffer {"connection_id":132713,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:58:53] local.INFO: IMEI packet received {"connection_id":132713,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 19:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":132713,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:58:55] local.INFO: TCP Data received {"connection_id":133740,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:58:55] local.INFO: Processing buffer {"connection_id":133740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:58:55] local.INFO: IMEI packet received {"connection_id":133740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":133740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:58:56] local.INFO: TCP Data received {"connection_id":133740,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f662bac30012d194f40071ff8d0004100ab22..."} 
[2026-07-15 19:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f662bac30012d194f40071ff8d0004100ab22..."} 
[2026-07-15 19:58:56] local.INFO: Processing buffer {"connection_id":133740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f662bac30012d194f40071ff8d0004100ab22..."} 
[2026-07-15 19:58:56] local.INFO: Packet analysis {"connection_id":133740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f662b"} 
[2026-07-15 19:58:56] local.INFO: Extracted packet for processing {"connection_id":133740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f662b"} 
[2026-07-15 19:58:56] local.INFO: GPS Element Parsed {"raw_longitude":756633408,"raw_latitude":119535824,"longitude_deg":75.6633408,"latitude_deg":11.9535824,"altitude":65,"angle":171,"satellites":34,"speed":9,"hex_longitude":"2d194f40","hex_latitude":"071ff8d0","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736144640001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257097335373824,"note":"Value kept but may cause issues"} 
[2026-07-15 19:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823606035965388800,"note":"Value kept but may cause issues"} 
[2026-07-15 19:58: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-07-15 19:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784125566000,"timestamp_ms":1784125566000,"timestamp_seconds":1784125566,"priority":1,"record_length":96,"hex_timestamp":"0000019f662bac30"} 
[2026-07-15 19:58:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:58:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-15 19:58:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19: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-07-15 19:58:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736144640001,"66":13276,"121":206,"28":31744,"24":9,"16":6257097335373824,"45":1823606035965388800},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 19:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736144640001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:58:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 19:58:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257097335373824,"km_value":6257097335373.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823606035965388800,"description":"Unknown IO ID 45"} 
[2026-07-15 19:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736144640001,"power":13276,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1823606035965388800}} 
[2026-07-15 19:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":133740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492727,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:58:56] local.INFO: GPS data processed {"connection_id":133740,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:58:56] local.INFO: Acknowledgment sent {"connection_id":133740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:59:10] local.INFO: TCP Data received {"connection_id":133741,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:59:10] local.INFO: Processing buffer {"connection_id":133741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:59:10] local.INFO: IMEI packet received {"connection_id":133741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":133741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:59:12] local.INFO: TCP Data received {"connection_id":133741,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:59:12] local.INFO: Processing buffer {"connection_id":133741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:59:12] local.INFO: IMEI packet received {"connection_id":133741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 19:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":133741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:59:14] local.INFO: TCP Data received {"connection_id":133741,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f662c86f0012d7b01c005e355e80004015228..."} 
[2026-07-15 19:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f662c86f0012d7b01c005e355e80004015228..."} 
[2026-07-15 19:59:14] local.INFO: Processing buffer {"connection_id":133741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f662c86f0012d7b01c005e355e80004015228..."} 
[2026-07-15 19:59:14] local.INFO: Packet analysis {"connection_id":133741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f662c"} 
[2026-07-15 19:59:14] local.INFO: Extracted packet for processing {"connection_id":133741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f662c"} 
[2026-07-15 19:59:14] local.INFO: GPS Element Parsed {"raw_longitude":763036096,"raw_latitude":98784744,"longitude_deg":76.3036096,"latitude_deg":9.8784744,"altitude":4,"angle":338,"satellites":40,"speed":26,"hex_longitude":"2d7b01c0","hex_latitude":"05e355e8","is_valid_coordinates":true} 
[2026-07-15 19:59: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-07-15 19:59:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736157696001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:59:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347415669735686144,"note":"Value kept but may cause issues"} 
[2026-07-15 19:59:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864209991860021248,"note":"Value kept but may cause issues"} 
[2026-07-15 19:59:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:59:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784125622000,"timestamp_ms":1784125622000,"timestamp_seconds":1784125622,"priority":1,"record_length":96,"hex_timestamp":"0000019f662c86f0"} 
[2026-07-15 19:59:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:59:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-15 19:59:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:59: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-07-15 19:59:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:59:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:59:14] local.INFO: Teltonika packet parsed successfully {"connection_id":133741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:59:14] local.INFO: Passing IMEI to GPS processor {"connection_id":133741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:59:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":133741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:59:14] 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-07-15 19:59:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:59:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:59:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736157696001,"66":27234,"97":206,"85":15104,"24":26,"16":347415669735686144,"45":8864209991860021248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 19:59:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:59:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:59:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736157696001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:59:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 19:59:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:59:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347415669735686144,"km_value":347415669735686.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:59:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864209991860021248,"description":"Unknown IO ID 45"} 
[2026-07-15 19:59:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736157696001,"power":27234,"unknown_97":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8864209991860021248}} 
[2026-07-15 19:59:14] local.INFO: DEBUG: GPS processor result {"connection_id":133741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:59:14] local.INFO: GPS data processed {"connection_id":133741,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:59:14] local.INFO: Acknowledgment sent {"connection_id":133741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:59:15] local.INFO: TCP Data received {"connection_id":133741,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f662cb9b8012d7af88005e378500006015727..."} 
[2026-07-15 19:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f662cb9b8012d7af88005e378500006015727..."} 
[2026-07-15 19:59:15] local.INFO: Processing buffer {"connection_id":133741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f662cb9b8012d7af88005e378500006015727..."} 
[2026-07-15 19:59:15] local.INFO: Packet analysis {"connection_id":133741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f662c"} 
[2026-07-15 19:59:15] local.INFO: Extracted packet for processing {"connection_id":133741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f662c"} 
[2026-07-15 19:59:15] local.INFO: GPS Element Parsed {"raw_longitude":763033728,"raw_latitude":98793552,"longitude_deg":76.3033728,"latitude_deg":9.8793552,"altitude":6,"angle":343,"satellites":39,"speed":24,"hex_longitude":"2d7af880","hex_latitude":"05e37850","is_valid_coordinates":true} 
[2026-07-15 19: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-07-15 19:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736159232001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347416112117317632,"note":"Value kept but may cause issues"} 
[2026-07-15 19:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863576673163274240,"note":"Value kept but may cause issues"} 
[2026-07-15 19:59:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 19:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784125635000,"timestamp_ms":1784125635000,"timestamp_seconds":1784125635,"priority":1,"record_length":96,"hex_timestamp":"0000019f662cb9b8"} 
[2026-07-15 19:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:59:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-15 19:59:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:59:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":133741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":133741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":133741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 19:59:15] 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-07-15 19:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 19:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 19:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736159232001,"66":27365,"97":206,"85":15104,"24":24,"16":347416112117317632,"45":8863576673163274240},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-15 19:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 19:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 19:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736159232001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:59:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 19:59:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-15 19:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347416112117317632,"km_value":347416112117317.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863576673163274240,"description":"Unknown IO ID 45"} 
[2026-07-15 19:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736159232001,"power":27365,"unknown_97":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8863576673163274240}} 
[2026-07-15 19:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":133741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:59:15] local.INFO: GPS data processed {"connection_id":133741,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:59:15] local.INFO: Acknowledgment sent {"connection_id":133741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:59:27] local.INFO: TCP Data received {"connection_id":133740,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f662bb400012d194fc0071ff6d80040009723..."} 
[2026-07-15 19:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f662bb400012d194fc0071ff6d80040009723..."} 
[2026-07-15 19:59:27] local.INFO: Processing buffer {"connection_id":133740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f662bb400012d194fc0071ff6d80040009723..."} 
[2026-07-15 19:59:27] local.INFO: Packet analysis {"connection_id":133740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f662b"} 
[2026-07-15 19:59:27] local.INFO: Extracted packet for processing {"connection_id":133740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f662b"} 
[2026-07-15 19:59:27] local.INFO: GPS Element Parsed {"raw_longitude":756633536,"raw_latitude":119535320,"longitude_deg":75.6633536,"latitude_deg":11.953532,"altitude":64,"angle":151,"satellites":35,"speed":10,"hex_longitude":"2d194fc0","hex_latitude":"071ff6d8","is_valid_coordinates":true} 
[2026-07-15 19:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736144896001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257123105177600,"note":"Value kept but may cause issues"} 
[2026-07-15 19:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823746773453688832,"note":"Value kept but may cause issues"} 
[2026-07-15 19:59: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-07-15 19:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784125568000,"timestamp_ms":1784125568000,"timestamp_seconds":1784125568,"priority":1,"record_length":96,"hex_timestamp":"0000019f662bb400"} 
[2026-07-15 19:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:59:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-15 19:59:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 19:59:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":133740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":133740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":133740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736144896001,"66":13222,"121":206,"28":31744,"24":10,"16":6257123105177600,"45":1823746773453688832},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 19:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736144896001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:59:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 19:59:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257123105177600,"km_value":6257123105177.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823746773453688832,"description":"Unknown IO ID 45"} 
[2026-07-15 19:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736144896001,"power":13222,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1823746773453688832}} 
[2026-07-15 19:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":133740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:59:27] local.INFO: GPS data processed {"connection_id":133740,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:59:27] local.INFO: Acknowledgment sent {"connection_id":133740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:59:33] local.INFO: TCP Data received {"connection_id":132889,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132889,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:59:33] local.INFO: Processing buffer {"connection_id":132889,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 19:59:33] local.INFO: IMEI packet received {"connection_id":132889,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 19:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":132889,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:59:50] local.INFO: TCP Data received {"connection_id":135098,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:59:50] local.INFO: Processing buffer {"connection_id":135098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:59:50] local.INFO: IMEI packet received {"connection_id":135098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 19:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":135098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 19:59:55] local.INFO: TCP Data received {"connection_id":135098,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:59:55] local.INFO: Processing buffer {"connection_id":135098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 19:59:55] local.INFO: IMEI packet received {"connection_id":135098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 19:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":135098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 19:59:56] local.INFO: TCP Data received {"connection_id":135098,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f662bbbd0012d195140071ff5100040008822..."} 
[2026-07-15 19:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f662bbbd0012d195140071ff5100040008822..."} 
[2026-07-15 19:59:56] local.INFO: Processing buffer {"connection_id":135098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f662bbbd0012d195140071ff5100040008822..."} 
[2026-07-15 19:59:56] local.INFO: Packet analysis {"connection_id":135098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f662b"} 
[2026-07-15 19:59:56] local.INFO: Extracted packet for processing {"connection_id":135098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f662b"} 
[2026-07-15 19:59:56] local.INFO: GPS Element Parsed {"raw_longitude":756633920,"raw_latitude":119534864,"longitude_deg":75.663392,"latitude_deg":11.9534864,"altitude":64,"angle":136,"satellites":34,"speed":11,"hex_longitude":"2d195140","hex_latitude":"071ff510","is_valid_coordinates":true} 
[2026-07-15 19:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 19:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736145408001,"note":"Value kept but may cause issues"} 
[2026-07-15 19:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257148874981376,"note":"Value kept but may cause issues"} 
[2026-07-15 19:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823887510941915136,"note":"Value kept but may cause issues"} 
[2026-07-15 19:59: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-07-15 19:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784125570000,"timestamp_ms":1784125570000,"timestamp_seconds":1784125570,"priority":1,"record_length":96,"hex_timestamp":"0000019f662bbbd0"} 
[2026-07-15 19:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 19:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 19:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-15 19:59:56] 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-07-15 19:59:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 19:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 19:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 19:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":135098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 19:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":135098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":135098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 19:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 19:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 19:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 19:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736145408001,"66":13298,"121":206,"28":31744,"24":11,"16":6257148874981376,"45":1823887510941915136},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 19:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 19:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 19:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736145408001,"description":"Unknown IO ID 0"} 
[2026-07-15 19:59:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 19:59:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 19:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257148874981376,"km_value":6257148874981.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 19:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823887510941915136,"description":"Unknown IO ID 45"} 
[2026-07-15 19:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736145408001,"power":13298,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1823887510941915136}} 
[2026-07-15 19:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":135098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 19:59:57] local.INFO: GPS data processed {"connection_id":135098,"processed":1,"errors":0,"total":1} 
[2026-07-15 19:59:57] local.INFO: Acknowledgment sent {"connection_id":135098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 19:59:57] local.INFO: TCP Data received {"connection_id":132890,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:59:57] local.INFO: Processing buffer {"connection_id":132890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 19:59:57] local.INFO: IMEI packet received {"connection_id":132890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 19:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":132890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:00:00] local.INFO: TCP Data received {"connection_id":132890,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:00:00] local.INFO: Processing buffer {"connection_id":132890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:00:00] local.INFO: IMEI packet received {"connection_id":132890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 20:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":132890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:00:00] local.INFO: TCP Data received {"connection_id":132890,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:00:00] local.INFO: Processing buffer {"connection_id":132890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:00:00] local.INFO: IMEI packet received {"connection_id":132890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 20:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":132890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:00:06] local.INFO: TCP Data received {"connection_id":132890,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:00:06] local.INFO: Processing buffer {"connection_id":132890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:00:06] local.INFO: IMEI packet received {"connection_id":132890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 20:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":132890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:00:11] local.INFO: TCP Data received {"connection_id":132890,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f662e4828012d7a3b0005e499880004014726..."} 
[2026-07-15 20:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f662e4828012d7a3b0005e499880004014726..."} 
[2026-07-15 20:00:11] local.INFO: Processing buffer {"connection_id":132890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f662e4828012d7a3b0005e499880004014726..."} 
[2026-07-15 20:00:11] local.INFO: Packet analysis {"connection_id":132890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f662e"} 
[2026-07-15 20:00:11] local.INFO: Extracted packet for processing {"connection_id":132890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f662e"} 
[2026-07-15 20:00:11] local.INFO: GPS Element Parsed {"raw_longitude":762985216,"raw_latitude":98867592,"longitude_deg":76.2985216,"latitude_deg":9.8867592,"altitude":4,"angle":327,"satellites":38,"speed":49,"hex_longitude":"2d7a3b00","hex_latitude":"05e49988","is_valid_coordinates":true} 
[2026-07-15 20:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736186624001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347420557408468992,"note":"Value kept but may cause issues"} 
[2026-07-15 20:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814037077281458176,"note":"Value kept but may cause issues"} 
[2026-07-15 20:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784125737000,"timestamp_ms":1784125737000,"timestamp_seconds":1784125737,"priority":1,"record_length":96,"hex_timestamp":"0000019f662e4828"} 
[2026-07-15 20:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 20:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-15 20:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:00:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:00:11] 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-07-15 20:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736186624001,"66":27321,"39":206,"87":13824,"24":49,"16":347420557408468992,"45":8814037077281458176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-15 20:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736186624001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:00:11] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-15 20:00:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 20:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347420557408468992,"km_value":347420557408469.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814037077281458176,"description":"Unknown IO ID 45"} 
[2026-07-15 20:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736186624001,"power":27321,"unknown_39":206,"unknown_87":13824,"ignition":49,"odometer":null,"unknown_45":8814037077281458176}} 
[2026-07-15 20:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":132890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:00:11] local.INFO: GPS data processed {"connection_id":132890,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:00:11] local.INFO: Acknowledgment sent {"connection_id":132890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:00:28] local.INFO: TCP Data received {"connection_id":135098,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f662bc3a0012d195300071ff3c00040007623..."} 
[2026-07-15 20:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f662bc3a0012d195300071ff3c00040007623..."} 
[2026-07-15 20:00:28] local.INFO: Processing buffer {"connection_id":135098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f662bc3a0012d195300071ff3c00040007623..."} 
[2026-07-15 20:00:28] local.INFO: Packet analysis {"connection_id":135098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f662b"} 
[2026-07-15 20:00:28] local.INFO: Extracted packet for processing {"connection_id":135098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f662b"} 
[2026-07-15 20:00:28] local.INFO: GPS Element Parsed {"raw_longitude":756634368,"raw_latitude":119534528,"longitude_deg":75.6634368,"latitude_deg":11.9534528,"altitude":64,"angle":118,"satellites":35,"speed":12,"hex_longitude":"2d195300","hex_latitude":"071ff3c0","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736145920001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257178939752448,"note":"Value kept but may cause issues"} 
[2026-07-15 20:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824309723406864384,"note":"Value kept but may cause issues"} 
[2026-07-15 20:00: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-07-15 20:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784125572000,"timestamp_ms":1784125572000,"timestamp_seconds":1784125572,"priority":1,"record_length":96,"hex_timestamp":"0000019f662bc3a0"} 
[2026-07-15 20:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:00:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 20: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-07-15 20:00:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20: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-07-15 20:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":135098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":135098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":135098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:00:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736145920001,"66":12950,"121":206,"28":31744,"24":12,"16":6257178939752448,"45":1824309723406864384},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736145920001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:00:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:00:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257178939752448,"km_value":6257178939752.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824309723406864384,"description":"Unknown IO ID 45"} 
[2026-07-15 20:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736145920001,"power":12950,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1824309723406864384}} 
[2026-07-15 20:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":135098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:00:28] local.INFO: GPS data processed {"connection_id":135098,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:00:28] local.INFO: Acknowledgment sent {"connection_id":135098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:00:43] local.INFO: TCP Data received {"connection_id":132890,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f662e6380012d7a264005e4b8200004014525..."} 
[2026-07-15 20:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f662e6380012d7a264005e4b8200004014525..."} 
[2026-07-15 20:00:43] local.INFO: Processing buffer {"connection_id":132890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f662e6380012d7a264005e4b8200004014525..."} 
[2026-07-15 20:00:43] local.INFO: Packet analysis {"connection_id":132890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f662e"} 
[2026-07-15 20:00:43] local.INFO: Extracted packet for processing {"connection_id":132890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f662e"} 
[2026-07-15 20:00:43] local.INFO: GPS Element Parsed {"raw_longitude":762979904,"raw_latitude":98875424,"longitude_deg":76.2979904,"latitude_deg":9.8875424,"altitude":4,"angle":325,"satellites":37,"speed":56,"hex_longitude":"2d7a2640","hex_latitude":"05e4b820","is_valid_coordinates":true} 
[2026-07-15 20:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736188672001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347421016969969664,"note":"Value kept but may cause issues"} 
[2026-07-15 20:00:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8807633521563240448,"note":"Value kept but may cause issues"} 
[2026-07-15 20:00:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:00:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784125744000,"timestamp_ms":1784125744000,"timestamp_seconds":1784125744,"priority":1,"record_length":96,"hex_timestamp":"0000019f662e6380"} 
[2026-07-15 20:00:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:00:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 20:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-15 20:00:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:00:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:00:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":132890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":132890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":132890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:00:43] 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-07-15 20:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:00:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736188672001,"66":27321,"39":206,"87":13824,"24":56,"16":347421016969969664,"45":8807633521563240448},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-15 20:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736188672001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:00:43] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-15 20:00:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 20:00:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347421016969969664,"km_value":347421016969969.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:00:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8807633521563240448,"description":"Unknown IO ID 45"} 
[2026-07-15 20:00:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736188672001,"power":27321,"unknown_39":206,"unknown_87":13824,"ignition":56,"odometer":null,"unknown_45":8807633521563240448}} 
[2026-07-15 20:00:43] local.INFO: DEBUG: GPS processor result {"connection_id":132890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:00:43] local.INFO: GPS data processed {"connection_id":132890,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:00:43] local.INFO: Acknowledgment sent {"connection_id":132890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:00:50] local.INFO: TCP Data received {"connection_id":135099,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:00:50] local.INFO: Processing buffer {"connection_id":135099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:00:50] local.INFO: IMEI packet received {"connection_id":135099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":135099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:00:55] local.INFO: TCP Data received {"connection_id":135099,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:00:55] local.INFO: Processing buffer {"connection_id":135099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:00:55] local.INFO: IMEI packet received {"connection_id":135099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":135099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:00:56] local.INFO: TCP Data received {"connection_id":135099,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f662bee98012d195f40071feeb0003e006822..."} 
[2026-07-15 20:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f662bee98012d195f40071feeb0003e006822..."} 
[2026-07-15 20:00:56] local.INFO: Processing buffer {"connection_id":135099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f662bee98012d195f40071feeb0003e006822..."} 
[2026-07-15 20:00:56] local.INFO: Packet analysis {"connection_id":135099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f662b"} 
[2026-07-15 20:00:56] local.INFO: Extracted packet for processing {"connection_id":135099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f662b"} 
[2026-07-15 20:00:56] local.INFO: GPS Element Parsed {"raw_longitude":756637504,"raw_latitude":119533232,"longitude_deg":75.6637504,"latitude_deg":11.9533232,"altitude":62,"angle":104,"satellites":34,"speed":10,"hex_longitude":"2d195f40","hex_latitude":"071feeb0","is_valid_coordinates":true} 
[2026-07-15 20:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736146432001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257337853542400,"note":"Value kept but may cause issues"} 
[2026-07-15 20:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824802304616022016,"note":"Value kept but may cause issues"} 
[2026-07-15 20:00: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-07-15 20:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784125583000,"timestamp_ms":1784125583000,"timestamp_seconds":1784125583,"priority":1,"record_length":96,"hex_timestamp":"0000019f662bee98"} 
[2026-07-15 20:00:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:00:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 20:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 20:00:56] 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-07-15 20:00:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:00:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":135099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":135099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":135099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:00:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736146432001,"66":12591,"121":206,"28":31744,"24":10,"16":6257337853542400,"45":1824802304616022016},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736146432001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:00:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:00:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257337853542400,"km_value":6257337853542.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824802304616022016,"description":"Unknown IO ID 45"} 
[2026-07-15 20:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736146432001,"power":12591,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1824802304616022016}} 
[2026-07-15 20:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":135099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:00:56] local.INFO: GPS data processed {"connection_id":135099,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:00:56] local.INFO: Acknowledgment sent {"connection_id":135099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:01:00] local.INFO: TCP Data received {"connection_id":135100,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:01:00] local.INFO: Processing buffer {"connection_id":135100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:01:00] local.INFO: IMEI packet received {"connection_id":135100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 20:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":135100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:01:01] local.INFO: TCP Data received {"connection_id":135100,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:01:01] local.INFO: Processing buffer {"connection_id":135100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:01:01] local.INFO: IMEI packet received {"connection_id":135100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 20:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":135100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:01:05] local.INFO: TCP Data received {"connection_id":135100,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:01:05] local.INFO: Processing buffer {"connection_id":135100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:01:05] local.INFO: IMEI packet received {"connection_id":135100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 20:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":135100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:01:06] local.INFO: TCP Data received {"connection_id":135100,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f662e7ed8012d7a104005e4d8300003014425..."} 
[2026-07-15 20:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f662e7ed8012d7a104005e4d8300003014425..."} 
[2026-07-15 20:01:06] local.INFO: Processing buffer {"connection_id":135100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f662e7ed8012d7a104005e4d8300003014425..."} 
[2026-07-15 20:01:06] local.INFO: Packet analysis {"connection_id":135100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f662e"} 
[2026-07-15 20:01:06] local.INFO: Extracted packet for processing {"connection_id":135100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f662e"} 
[2026-07-15 20:01:06] local.INFO: GPS Element Parsed {"raw_longitude":762974272,"raw_latitude":98883632,"longitude_deg":76.2974272,"latitude_deg":9.8883632,"altitude":3,"angle":324,"satellites":37,"speed":55,"hex_longitude":"2d7a1040","hex_latitude":"05e4d830","is_valid_coordinates":true} 
[2026-07-15 20:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736190464001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347421498006306816,"note":"Value kept but may cause issues"} 
[2026-07-15 20:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801792915798499328,"note":"Value kept but may cause issues"} 
[2026-07-15 20:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784125751000,"timestamp_ms":1784125751000,"timestamp_seconds":1784125751,"priority":1,"record_length":96,"hex_timestamp":"0000019f662e7ed8"} 
[2026-07-15 20:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 20:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-15 20:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736190464001,"66":27343,"39":206,"87":13824,"24":55,"16":347421498006306816,"45":8801792915798499328},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-15 20:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736190464001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:01:06] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-15 20:01:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 20:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347421498006306816,"km_value":347421498006306.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801792915798499328,"description":"Unknown IO ID 45"} 
[2026-07-15 20:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736190464001,"power":27343,"unknown_39":206,"unknown_87":13824,"ignition":55,"odometer":null,"unknown_45":8801792915798499328}} 
[2026-07-15 20:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":135100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:01:06] local.INFO: GPS data processed {"connection_id":135100,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:01:06] local.INFO: Acknowledgment sent {"connection_id":135100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:01:28] local.INFO: TCP Data received {"connection_id":135099,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f662c0dd8012d196680071fed28003c004822..."} 
[2026-07-15 20:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f662c0dd8012d196680071fed28003c004822..."} 
[2026-07-15 20:01:28] local.INFO: Processing buffer {"connection_id":135099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f662c0dd8012d196680071fed28003c004822..."} 
[2026-07-15 20:01:28] local.INFO: Packet analysis {"connection_id":135099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f662c"} 
[2026-07-15 20:01:28] local.INFO: Extracted packet for processing {"connection_id":135099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f662c"} 
[2026-07-15 20:01:28] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119532840,"longitude_deg":75.663936,"latitude_deg":11.953284,"altitude":60,"angle":72,"satellites":34,"speed":6,"hex_longitude":"2d196680","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-07-15 20:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736149248001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257428047855616,"note":"Value kept but may cause issues"} 
[2026-07-15 20:01:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828250373080395776,"note":"Value kept but may cause issues"} 
[2026-07-15 20:01: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-07-15 20:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784125591000,"timestamp_ms":1784125591000,"timestamp_seconds":1784125591,"priority":1,"record_length":96,"hex_timestamp":"0000019f662c0dd8"} 
[2026-07-15 20:01:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:01:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 20:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-15 20:01:28] 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-07-15 20:01:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:01:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":135099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":135099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":135099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:01:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736149248001,"66":13580,"121":206,"28":31744,"24":6,"16":6257428047855616,"45":1828250373080395776},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736149248001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:01:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:01:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257428047855616,"km_value":6257428047855.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828250373080395776,"description":"Unknown IO ID 45"} 
[2026-07-15 20:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736149248001,"power":13580,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1828250373080395776}} 
[2026-07-15 20:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":135099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:01:28] local.INFO: GPS data processed {"connection_id":135099,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:01:28] local.INFO: Acknowledgment sent {"connection_id":135099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:01:37] local.INFO: TCP Data received {"connection_id":135100,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f662e9e18012d79fbc005e4f7b00004014e26..."} 
[2026-07-15 20:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f662e9e18012d79fbc005e4f7b00004014e26..."} 
[2026-07-15 20:01:37] local.INFO: Processing buffer {"connection_id":135100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f662e9e18012d79fbc005e4f7b00004014e26..."} 
[2026-07-15 20:01:37] local.INFO: Packet analysis {"connection_id":135100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f662e"} 
[2026-07-15 20:01:37] local.INFO: Extracted packet for processing {"connection_id":135100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f662e"} 
[2026-07-15 20:01:37] local.INFO: GPS Element Parsed {"raw_longitude":762969024,"raw_latitude":98891696,"longitude_deg":76.2969024,"latitude_deg":9.8891696,"altitude":4,"angle":334,"satellites":38,"speed":40,"hex_longitude":"2d79fbc0","hex_latitude":"05e4f7b0","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736192256001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347421961862774784,"note":"Value kept but may cause issues"} 
[2026-07-15 20:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795600466312966144,"note":"Value kept but may cause issues"} 
[2026-07-15 20:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784125759000,"timestamp_ms":1784125759000,"timestamp_seconds":1784125759,"priority":1,"record_length":96,"hex_timestamp":"0000019f662e9e18"} 
[2026-07-15 20:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-15 20:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20: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-07-15 20:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":135100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":135100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":135100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736192256001,"66":27397,"182":206,"87":13824,"24":40,"16":347421961862774784,"45":8795600466312966144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-15 20:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736192256001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:01:37] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-15 20:01:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 20:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347421961862774784,"km_value":347421961862774.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795600466312966144,"description":"Unknown IO ID 45"} 
[2026-07-15 20:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736192256001,"power":27397,"unknown_182":206,"unknown_87":13824,"ignition":40,"odometer":null,"unknown_45":8795600466312966144}} 
[2026-07-15 20:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":135100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:01:37] local.INFO: GPS data processed {"connection_id":135100,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:01:37] local.INFO: Acknowledgment sent {"connection_id":135100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:01:55] local.INFO: TCP Data received {"connection_id":132891,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:01:55] local.INFO: Processing buffer {"connection_id":132891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:01:55] local.INFO: IMEI packet received {"connection_id":132891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":132891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:01:59] local.INFO: TCP Data received {"connection_id":132714,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:01:59] local.INFO: Processing buffer {"connection_id":132714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:01:59] local.INFO: IMEI packet received {"connection_id":132714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 20:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":132714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:02:00] local.INFO: TCP Data received {"connection_id":132891,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:02:00] local.INFO: Processing buffer {"connection_id":132891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:02:00] local.INFO: IMEI packet received {"connection_id":132891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":132891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:02:01] local.INFO: TCP Data received {"connection_id":132891,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f662c4870012d196700071fee10003b004824..."} 
[2026-07-15 20:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f662c4870012d196700071fee10003b004824..."} 
[2026-07-15 20:02:01] local.INFO: Processing buffer {"connection_id":132891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f662c4870012d196700071fee10003b004824..."} 
[2026-07-15 20:02:01] local.INFO: Packet analysis {"connection_id":132891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f662c"} 
[2026-07-15 20:02:01] local.INFO: Extracted packet for processing {"connection_id":132891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f662c"} 
[2026-07-15 20:02:01] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":59,"angle":72,"satellites":36,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-07-15 20:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736151296001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:02:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661447680,"note":"Value kept but may cause issues"} 
[2026-07-15 20:02:01] 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-07-15 20:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784125606000,"timestamp_ms":1784125606000,"timestamp_seconds":1784125606,"priority":1,"record_length":96,"hex_timestamp":"0000019f662c4870"} 
[2026-07-15 20:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:02:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 20:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-15 20:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867791418,"note":"Value kept but may cause issues"} 
[2026-07-15 20:02:01] local.WARNING: Large IO value detected {"io_id":58,"raw_value":3623878656,"note":"Value kept but may cause issues"} 
[2026-07-15 20:02:01] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-15 20:02:01] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4141350976,"note":"Value kept but may cause issues"} 
[2026-07-15 20:02:01] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634368462219129,"note":"Value kept but may cause issues"} 
[2026-07-15 20:02:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-15 20:02:01] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-2593846991314170340,"note":"Value kept but may cause issues"} 
[2026-07-15 20:02:01] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-07-15 20:02:01] local.WARNING: Large IO value detected {"io_id":25,"raw_value":5656528965902270529,"note":"Value kept but may cause issues"} 
[2026-07-15 20:02:01] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755438095892721,"note":"Value kept but may cause issues"} 
[2026-07-15 20:02:01] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,121,28,24,241,158,16,59,159,238,45,64,62,34,10,66,195,243,35,58,187,1,240,242,102,31,4,113,205,172,79,208,239,51,2,22,7,65,25,124],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-15 20:02:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323534953142157312,"timestamp_seconds":4323534953142157.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-15 20:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":132891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":132891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":132891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:02:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736151296001,"66":13254,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1830291066661447680},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736151296001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:02:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:02:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:02:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661447680,"description":"Unknown IO ID 45"} 
[2026-07-15 20:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736151296001,"power":13254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661447680}} 
[2026-07-15 20:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":132891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492739,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:02:01] local.INFO: GPS data processed {"connection_id":132891,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:02:01] local.INFO: Acknowledgment sent {"connection_id":132891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:02:06] local.INFO: TCP Data received {"connection_id":132891,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f662c4870012d196700071fee10003b004824..."} 
[2026-07-15 20:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f662c4870012d196700071fee10003b004824..."} 
[2026-07-15 20:02:06] local.INFO: Processing buffer {"connection_id":132891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f662c4870012d196700071fee10003b004824..."} 
[2026-07-15 20:02:06] local.INFO: Packet analysis {"connection_id":132891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f662c"} 
[2026-07-15 20:02:06] local.INFO: Extracted packet for processing {"connection_id":132891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f662c"} 
[2026-07-15 20:02:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":59,"angle":72,"satellites":36,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-07-15 20:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736155136001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-07-15 20:02:06] 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-07-15 20:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784125606000,"timestamp_ms":1784125606000,"timestamp_seconds":1784125606,"priority":1,"record_length":96,"hex_timestamp":"0000019f662c4870"} 
[2026-07-15 20:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-15 20:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736155136001,"66":13254,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1830431804149862400},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736155136001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:02:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:02:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-07-15 20:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736155136001,"power":13254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-07-15 20:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":132891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:02:06] local.INFO: GPS data processed {"connection_id":132891,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:02:06] local.INFO: Acknowledgment sent {"connection_id":132891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:02:11] local.INFO: TCP Data received {"connection_id":132714,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:02:11] local.INFO: Processing buffer {"connection_id":132714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:02:11] local.INFO: IMEI packet received {"connection_id":132714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 20:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":132714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:02:11] local.INFO: TCP Data received {"connection_id":132714,"ip":"42.106.6.22","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-15 20:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132714,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-15 20:02:11] local.INFO: Processing buffer {"connection_id":132714,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-15 20:02:11] local.INFO: IMEI packet received {"connection_id":132714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 20:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":132714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:02:50] local.INFO: TCP Data received {"connection_id":132893,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:02:50] local.INFO: Processing buffer {"connection_id":132893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:02:50] local.INFO: IMEI packet received {"connection_id":132893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":132893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:02:55] local.INFO: TCP Data received {"connection_id":132893,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:02:55] local.INFO: Processing buffer {"connection_id":132893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:02:55] local.INFO: IMEI packet received {"connection_id":132893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":132893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:02:56] local.INFO: TCP Data received {"connection_id":132893,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f662c4870012d196700071fee10003b004824..."} 
[2026-07-15 20:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f662c4870012d196700071fee10003b004824..."} 
[2026-07-15 20:02:56] local.INFO: Processing buffer {"connection_id":132893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f662c4870012d196700071fee10003b004824..."} 
[2026-07-15 20:02:56] local.INFO: Packet analysis {"connection_id":132893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f662c"} 
[2026-07-15 20:02:56] local.INFO: Extracted packet for processing {"connection_id":132893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f662c"} 
[2026-07-15 20:02:56] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":59,"angle":72,"satellites":36,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-07-15 20:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736155136001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:02:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-07-15 20:02: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-07-15 20:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784125606000,"timestamp_ms":1784125606000,"timestamp_seconds":1784125606,"priority":1,"record_length":96,"hex_timestamp":"0000019f662c4870"} 
[2026-07-15 20:02:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:02:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-15 20:02:56] 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-07-15 20:02:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:02:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:02:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736155136001,"66":13254,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1830431804149862400},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736155136001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:02:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:02:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:02:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-07-15 20:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736155136001,"power":13254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-07-15 20:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":132893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:02:56] local.INFO: GPS data processed {"connection_id":132893,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:02:56] local.INFO: Acknowledgment sent {"connection_id":132893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:03:29] local.INFO: TCP Data received {"connection_id":132893,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6630fb90012d196540071ff040003a004822..."} 
[2026-07-15 20:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6630fb90012d196540071ff040003a004822..."} 
[2026-07-15 20:03:29] local.INFO: Processing buffer {"connection_id":132893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6630fb90012d196540071ff040003a004822..."} 
[2026-07-15 20:03:29] local.INFO: Packet analysis {"connection_id":132893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6630"} 
[2026-07-15 20:03:29] local.INFO: Extracted packet for processing {"connection_id":132893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6630"} 
[2026-07-15 20:03:29] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":34,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736155136001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:03:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-07-15 20:03: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-07-15 20:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784125914000,"timestamp_ms":1784125914000,"timestamp_seconds":1784125914,"priority":1,"record_length":96,"hex_timestamp":"0000019f6630fb90"} 
[2026-07-15 20:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:03:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-15 20:03:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:03:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":132893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":132893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":132893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:03:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736155136001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1830431804149862400},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736155136001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:03:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:03:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:03:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-07-15 20:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736155136001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-07-15 20:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":132893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492742,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:03:29] local.INFO: GPS data processed {"connection_id":132893,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:03:29] local.INFO: Acknowledgment sent {"connection_id":132893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:03:50] local.INFO: TCP Data received {"connection_id":132716,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:03:50] local.INFO: Processing buffer {"connection_id":132716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:03:50] local.INFO: IMEI packet received {"connection_id":132716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":132716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:03:55] local.INFO: TCP Data received {"connection_id":132716,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:03:55] local.INFO: Processing buffer {"connection_id":132716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:03:55] local.INFO: IMEI packet received {"connection_id":132716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":132716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:03:56] local.INFO: TCP Data received {"connection_id":132716,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6630fb90012d196540071ff040003a004822..."} 
[2026-07-15 20:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6630fb90012d196540071ff040003a004822..."} 
[2026-07-15 20:03:56] local.INFO: Processing buffer {"connection_id":132716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6630fb90012d196540071ff040003a004822..."} 
[2026-07-15 20:03:56] local.INFO: Packet analysis {"connection_id":132716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6630"} 
[2026-07-15 20:03:56] local.INFO: Extracted packet for processing {"connection_id":132716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6630"} 
[2026-07-15 20:03:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":34,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736155136001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:03:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-07-15 20:03: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-07-15 20:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784125914000,"timestamp_ms":1784125914000,"timestamp_seconds":1784125914,"priority":1,"record_length":96,"hex_timestamp":"0000019f6630fb90"} 
[2026-07-15 20:03:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:03:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-15 20:03:56] 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-07-15 20:03:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:03:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736155136001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1830431804149862400},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736155136001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:03:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:03:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:03:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-07-15 20:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736155136001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-07-15 20:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":132716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:03:56] local.INFO: GPS data processed {"connection_id":132716,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:03:56] local.INFO: Acknowledgment sent {"connection_id":132716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:04:28] local.INFO: TCP Data received {"connection_id":132716,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6630fb90012d196540071ff040003a004822..."} 
[2026-07-15 20:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6630fb90012d196540071ff040003a004822..."} 
[2026-07-15 20:04:28] local.INFO: Processing buffer {"connection_id":132716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6630fb90012d196540071ff040003a004822..."} 
[2026-07-15 20:04:28] local.INFO: Packet analysis {"connection_id":132716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6630"} 
[2026-07-15 20:04:28] local.INFO: Extracted packet for processing {"connection_id":132716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6630"} 
[2026-07-15 20:04:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":34,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736155136001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-07-15 20:04: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-07-15 20:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784125914000,"timestamp_ms":1784125914000,"timestamp_seconds":1784125914,"priority":1,"record_length":96,"hex_timestamp":"0000019f6630fb90"} 
[2026-07-15 20:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:04:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-15 20:04:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20: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-07-15 20:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736155136001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1830431804149862400},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736155136001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:04:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:04:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-07-15 20:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736155136001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-07-15 20:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":132716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:04:28] local.INFO: GPS data processed {"connection_id":132716,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:04:28] local.INFO: Acknowledgment sent {"connection_id":132716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:04:50] local.INFO: TCP Data received {"connection_id":135101,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:04:50] local.INFO: Processing buffer {"connection_id":135101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:04:50] local.INFO: IMEI packet received {"connection_id":135101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":135101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:04:55] local.INFO: TCP Data received {"connection_id":135101,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:04:55] local.INFO: Processing buffer {"connection_id":135101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:04:55] local.INFO: IMEI packet received {"connection_id":135101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":135101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:04:56] local.INFO: TCP Data received {"connection_id":135101,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6630fb90012d196540071ff040003a004822..."} 
[2026-07-15 20:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6630fb90012d196540071ff040003a004822..."} 
[2026-07-15 20:04:56] local.INFO: Processing buffer {"connection_id":135101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6630fb90012d196540071ff040003a004822..."} 
[2026-07-15 20:04:56] local.INFO: Packet analysis {"connection_id":135101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6630"} 
[2026-07-15 20:04:56] local.INFO: Extracted packet for processing {"connection_id":135101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6630"} 
[2026-07-15 20:04:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":34,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 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-07-15 20:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736155136001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-07-15 20:04: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-07-15 20:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784125914000,"timestamp_ms":1784125914000,"timestamp_seconds":1784125914,"priority":1,"record_length":96,"hex_timestamp":"0000019f6630fb90"} 
[2026-07-15 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-07-15 20:04:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-15 20:04:56] 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-07-15 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-07-15 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-07-15 20:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":135101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":135101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":135101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736155136001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1830431804149862400},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736155136001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:04:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:04:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-07-15 20:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736155136001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-07-15 20:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":135101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:04:56] local.INFO: GPS data processed {"connection_id":135101,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:04:56] local.INFO: Acknowledgment sent {"connection_id":135101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:05:00] local.INFO: TCP Data received {"connection_id":132895,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132895,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:05:00] local.INFO: Processing buffer {"connection_id":132895,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:05:00] local.INFO: IMEI packet received {"connection_id":132895,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 20:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":132895,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:05:28] local.INFO: TCP Data received {"connection_id":135101,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6630fb90012d196540071ff040003a004822..."} 
[2026-07-15 20:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6630fb90012d196540071ff040003a004822..."} 
[2026-07-15 20:05:28] local.INFO: Processing buffer {"connection_id":135101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6630fb90012d196540071ff040003a004822..."} 
[2026-07-15 20:05:28] local.INFO: Packet analysis {"connection_id":135101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6630"} 
[2026-07-15 20:05:28] local.INFO: Extracted packet for processing {"connection_id":135101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6630"} 
[2026-07-15 20:05:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":34,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736155136001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:05:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-07-15 20:05: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-07-15 20:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784125914000,"timestamp_ms":1784125914000,"timestamp_seconds":1784125914,"priority":1,"record_length":96,"hex_timestamp":"0000019f6630fb90"} 
[2026-07-15 20:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:05:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-15 20:05:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:05:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":135101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":135101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":135101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:05:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736155136001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1830431804149862400},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736155136001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:05:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:05:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-07-15 20:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736155136001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-07-15 20:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":135101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:05:28] local.INFO: GPS data processed {"connection_id":135101,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:05:28] local.INFO: Acknowledgment sent {"connection_id":135101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:05:35] local.INFO: TCP Data received {"connection_id":132718,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132718,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:05:35] local.INFO: Processing buffer {"connection_id":132718,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:05:35] local.INFO: IMEI packet received {"connection_id":132718,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 20:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":132718,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:05:55] local.INFO: TCP Data received {"connection_id":135102,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:05:55] local.INFO: Processing buffer {"connection_id":135102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:05:55] local.INFO: IMEI packet received {"connection_id":135102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":135102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:06:00] local.INFO: TCP Data received {"connection_id":135102,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:06:00] local.INFO: Processing buffer {"connection_id":135102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:06:00] local.INFO: IMEI packet received {"connection_id":135102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":135102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:06:01] local.INFO: TCP Data received {"connection_id":135102,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6630fb90012d196540071ff040003a004822..."} 
[2026-07-15 20:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6630fb90012d196540071ff040003a004822..."} 
[2026-07-15 20:06:01] local.INFO: Processing buffer {"connection_id":135102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6630fb90012d196540071ff040003a004822..."} 
[2026-07-15 20:06:01] local.INFO: Packet analysis {"connection_id":135102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6630"} 
[2026-07-15 20:06:01] local.INFO: Extracted packet for processing {"connection_id":135102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6630"} 
[2026-07-15 20:06:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":34,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736155136001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:06:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-07-15 20:06:01] 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-07-15 20:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784125914000,"timestamp_ms":1784125914000,"timestamp_seconds":1784125914,"priority":1,"record_length":96,"hex_timestamp":"0000019f6630fb90"} 
[2026-07-15 20:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:06:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-15 20:06:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:06:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":135102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":135102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":135102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:06:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736155136001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1830431804149862400},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736155136001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:06:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:06:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:06:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-07-15 20:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736155136001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-07-15 20:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":135102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:06:01] local.INFO: GPS data processed {"connection_id":135102,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:06:01] local.INFO: Acknowledgment sent {"connection_id":135102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:06:05] local.INFO: TCP Data received {"connection_id":135102,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6630fb90012d196540071ff040003a004822..."} 
[2026-07-15 20:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6630fb90012d196540071ff040003a004822..."} 
[2026-07-15 20:06:05] local.INFO: Processing buffer {"connection_id":135102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6630fb90012d196540071ff040003a004822..."} 
[2026-07-15 20:06:05] local.INFO: Packet analysis {"connection_id":135102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6630"} 
[2026-07-15 20:06:05] local.INFO: Extracted packet for processing {"connection_id":135102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6630"} 
[2026-07-15 20:06:05] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":34,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736155136001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-07-15 20:06: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-07-15 20:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784125914000,"timestamp_ms":1784125914000,"timestamp_seconds":1784125914,"priority":1,"record_length":96,"hex_timestamp":"0000019f6630fb90"} 
[2026-07-15 20:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-15 20:06:05] 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-07-15 20: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-07-15 20:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":135102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":135102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":135102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736155136001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1830431804149862400},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736155136001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:06:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:06:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-07-15 20:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736155136001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-07-15 20:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":135102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492748,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:06:05] local.INFO: GPS data processed {"connection_id":135102,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:06:05] local.INFO: Acknowledgment sent {"connection_id":135102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:06:50] local.INFO: TCP Data received {"connection_id":132896,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132896,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:06:50] local.INFO: Processing buffer {"connection_id":132896,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:06:50] local.INFO: IMEI packet received {"connection_id":132896,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":132896,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:06:55] local.INFO: TCP Data received {"connection_id":132896,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132896,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:06:55] local.INFO: Processing buffer {"connection_id":132896,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:06:55] local.INFO: IMEI packet received {"connection_id":132896,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":132896,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:06:56] local.INFO: TCP Data received {"connection_id":132896,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6630fb90012d196540071ff040003a004822..."} 
[2026-07-15 20:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6630fb90012d196540071ff040003a004822..."} 
[2026-07-15 20:06:56] local.INFO: Processing buffer {"connection_id":132896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6630fb90012d196540071ff040003a004822..."} 
[2026-07-15 20:06:56] local.INFO: Packet analysis {"connection_id":132896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6630"} 
[2026-07-15 20:06:56] local.INFO: Extracted packet for processing {"connection_id":132896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6630"} 
[2026-07-15 20:06:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":34,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736155136001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:06:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-07-15 20: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-07-15 20:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784125914000,"timestamp_ms":1784125914000,"timestamp_seconds":1784125914,"priority":1,"record_length":96,"hex_timestamp":"0000019f6630fb90"} 
[2026-07-15 20:06:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:06:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-15 20:06:56] 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-07-15 20: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-07-15 20:06:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:06:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736155136001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1830431804149862400},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736155136001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:06:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:06:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:06:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-07-15 20:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736155136001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-07-15 20:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":132896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:06:56] local.INFO: GPS data processed {"connection_id":132896,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:06:56] local.INFO: Acknowledgment sent {"connection_id":132896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:07:15] local.INFO: TCP Data received {"connection_id":132720,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:07:15] local.INFO: Processing buffer {"connection_id":132720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:07:15] local.INFO: IMEI packet received {"connection_id":132720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 20:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":132720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:07:16] local.INFO: TCP Data received {"connection_id":132720,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6634c068012d78f54005e8a6080001011026..."} 
[2026-07-15 20:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6634c068012d78f54005e8a6080001011026..."} 
[2026-07-15 20:07:16] local.INFO: Processing buffer {"connection_id":132720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6634c068012d78f54005e8a6080001011026..."} 
[2026-07-15 20:07:16] local.INFO: Packet analysis {"connection_id":132720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6634"} 
[2026-07-15 20:07:16] local.INFO: Extracted packet for processing {"connection_id":132720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6634"} 
[2026-07-15 20:07:16] local.INFO: GPS Element Parsed {"raw_longitude":762901824,"raw_latitude":99132936,"longitude_deg":76.2901824,"latitude_deg":9.9132936,"altitude":1,"angle":272,"satellites":38,"speed":47,"hex_longitude":"2d78f540","hex_latitude":"05e8a608","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736295936001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347435125937537024,"note":"Value kept but may cause issues"} 
[2026-07-15 20:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8722346603687616512,"note":"Value kept but may cause issues"} 
[2026-07-15 20:07:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784126161000,"timestamp_ms":1784126161000,"timestamp_seconds":1784126161,"priority":1,"record_length":96,"hex_timestamp":"0000019f6634c068"} 
[2026-07-15 20:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:07:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 20:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-15 20:07:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:07:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:07:16] 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-07-15 20:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736295936001,"66":27376,"174":206,"87":13824,"24":47,"16":347435125937537024,"45":8722346603687616512},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,87,24,16,45]} 
[2026-07-15 20:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736295936001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:07:16] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-15 20:07:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 20:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347435125937537024,"km_value":347435125937537.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8722346603687616512,"description":"Unknown IO ID 45"} 
[2026-07-15 20:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736295936001,"power":27376,"unknown_174":206,"unknown_87":13824,"ignition":47,"odometer":null,"unknown_45":8722346603687616512}} 
[2026-07-15 20:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":132720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:07:16] local.INFO: GPS data processed {"connection_id":132720,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:07:16] local.INFO: Acknowledgment sent {"connection_id":132720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:07:28] local.INFO: TCP Data received {"connection_id":132896,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6635aeb0012d196540071ff040003a004823..."} 
[2026-07-15 20:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6635aeb0012d196540071ff040003a004823..."} 
[2026-07-15 20:07:28] local.INFO: Processing buffer {"connection_id":132896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6635aeb0012d196540071ff040003a004823..."} 
[2026-07-15 20:07:28] local.INFO: Packet analysis {"connection_id":132896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6635"} 
[2026-07-15 20:07:28] local.INFO: Extracted packet for processing {"connection_id":132896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6635"} 
[2026-07-15 20:07:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736233984001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:07: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-07-15 20:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784126222000,"timestamp_ms":1784126222000,"timestamp_seconds":1784126222,"priority":1,"record_length":96,"hex_timestamp":"0000019f6635aeb0"} 
[2026-07-15 20:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:07:28] 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-07-15 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:07: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-07-15 20: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-07-15 20:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736233984001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736233984001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:07:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:07:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736233984001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":132896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:07:28] local.INFO: GPS data processed {"connection_id":132896,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:07:28] local.INFO: Acknowledgment sent {"connection_id":132896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:07:50] local.INFO: TCP Data received {"connection_id":133745,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:07:50] local.INFO: Processing buffer {"connection_id":133745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:07:50] local.INFO: IMEI packet received {"connection_id":133745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":133745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:07:55] local.INFO: TCP Data received {"connection_id":133745,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:07:55] local.INFO: Processing buffer {"connection_id":133745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:07:55] local.INFO: IMEI packet received {"connection_id":133745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":133745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:07:56] local.INFO: TCP Data received {"connection_id":133745,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6635aeb0012d196540071ff040003a004823..."} 
[2026-07-15 20:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6635aeb0012d196540071ff040003a004823..."} 
[2026-07-15 20:07:56] local.INFO: Processing buffer {"connection_id":133745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6635aeb0012d196540071ff040003a004823..."} 
[2026-07-15 20:07:56] local.INFO: Packet analysis {"connection_id":133745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6635"} 
[2026-07-15 20:07:56] local.INFO: Extracted packet for processing {"connection_id":133745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6635"} 
[2026-07-15 20:07:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736233984001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:07:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:07: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-07-15 20:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784126222000,"timestamp_ms":1784126222000,"timestamp_seconds":1784126222,"priority":1,"record_length":96,"hex_timestamp":"0000019f6635aeb0"} 
[2026-07-15 20:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:07:56] 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-07-15 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:07: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-07-15 20: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-07-15 20:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:07:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736233984001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736233984001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:07:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:07:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:07:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736233984001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":133745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492752,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:07:56] local.INFO: GPS data processed {"connection_id":133745,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:07:56] local.INFO: Acknowledgment sent {"connection_id":133745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:08:00] local.INFO: TCP Data received {"connection_id":132897,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:08:00] local.INFO: Processing buffer {"connection_id":132897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:08:00] local.INFO: IMEI packet received {"connection_id":132897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 20:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":132897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:08:04] local.INFO: TCP Data received {"connection_id":132897,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:08:04] local.INFO: Processing buffer {"connection_id":132897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:08:04] local.INFO: IMEI packet received {"connection_id":132897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 20:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":132897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:08:05] local.INFO: TCP Data received {"connection_id":132897,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6634dbc0012d78d24005e8a4f00001010727..."} 
[2026-07-15 20:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6634dbc0012d78d24005e8a4f00001010727..."} 
[2026-07-15 20:08:05] local.INFO: Processing buffer {"connection_id":132897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6634dbc0012d78d24005e8a4f00001010727..."} 
[2026-07-15 20:08:05] local.INFO: Packet analysis {"connection_id":132897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6634"} 
[2026-07-15 20:08:05] local.INFO: Extracted packet for processing {"connection_id":132897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6634"} 
[2026-07-15 20:08:05] local.INFO: GPS Element Parsed {"raw_longitude":762892864,"raw_latitude":99132656,"longitude_deg":76.2892864,"latitude_deg":9.9132656,"altitude":1,"angle":263,"satellites":39,"speed":52,"hex_longitude":"2d78d240","hex_latitude":"05e8a4f0","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736297216001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347435555434266624,"note":"Value kept but may cause issues"} 
[2026-07-15 20:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8715943047967672320,"note":"Value kept but may cause issues"} 
[2026-07-15 20:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784126168000,"timestamp_ms":1784126168000,"timestamp_seconds":1784126168,"priority":1,"record_length":96,"hex_timestamp":"0000019f6634dbc0"} 
[2026-07-15 20:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 20:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-15 20:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20: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-07-15 20:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:08:05] 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-07-15 20:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736297216001,"66":27397,"174":206,"87":13824,"24":52,"16":347435555434266624,"45":8715943047967672320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,87,24,16,45]} 
[2026-07-15 20:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736297216001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:08:05] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-15 20:08:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 20:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347435555434266624,"km_value":347435555434266.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8715943047967672320,"description":"Unknown IO ID 45"} 
[2026-07-15 20:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736297216001,"power":27397,"unknown_174":206,"unknown_87":13824,"ignition":52,"odometer":null,"unknown_45":8715943047967672320}} 
[2026-07-15 20:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":132897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:08:05] local.INFO: GPS data processed {"connection_id":132897,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:08:05] local.INFO: Acknowledgment sent {"connection_id":132897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:08:28] local.INFO: TCP Data received {"connection_id":133745,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6635aeb0012d196540071ff040003a004823..."} 
[2026-07-15 20:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6635aeb0012d196540071ff040003a004823..."} 
[2026-07-15 20:08:28] local.INFO: Processing buffer {"connection_id":133745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6635aeb0012d196540071ff040003a004823..."} 
[2026-07-15 20:08:28] local.INFO: Packet analysis {"connection_id":133745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6635"} 
[2026-07-15 20:08:28] local.INFO: Extracted packet for processing {"connection_id":133745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6635"} 
[2026-07-15 20:08:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736233984001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:08: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-07-15 20:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784126222000,"timestamp_ms":1784126222000,"timestamp_seconds":1784126222,"priority":1,"record_length":96,"hex_timestamp":"0000019f6635aeb0"} 
[2026-07-15 20:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:08:28] 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-07-15 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:08: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-07-15 20: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-07-15 20:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":133745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":133745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":133745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736233984001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736233984001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:08:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:08:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736233984001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":133745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:08:28] local.INFO: GPS data processed {"connection_id":133745,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:08:28] local.INFO: Acknowledgment sent {"connection_id":133745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:08:36] local.INFO: TCP Data received {"connection_id":132897,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6634fb00012d78ab8005e8a0f80002010726..."} 
[2026-07-15 20:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6634fb00012d78ab8005e8a0f80002010726..."} 
[2026-07-15 20:08:36] local.INFO: Processing buffer {"connection_id":132897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6634fb00012d78ab8005e8a0f80002010726..."} 
[2026-07-15 20:08:36] local.INFO: Packet analysis {"connection_id":132897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6634"} 
[2026-07-15 20:08:36] local.INFO: Extracted packet for processing {"connection_id":132897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6634"} 
[2026-07-15 20:08:36] local.INFO: GPS Element Parsed {"raw_longitude":762882944,"raw_latitude":99131640,"longitude_deg":76.2882944,"latitude_deg":9.913164,"altitude":2,"angle":263,"satellites":38,"speed":46,"hex_longitude":"2d78ab80","hex_latitude":"05e8a0f8","is_valid_coordinates":true} 
[2026-07-15 20:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736299008001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347436032175636480,"note":"Value kept but may cause issues"} 
[2026-07-15 20:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8706091423782727680,"note":"Value kept but may cause issues"} 
[2026-07-15 20:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784126176000,"timestamp_ms":1784126176000,"timestamp_seconds":1784126176,"priority":1,"record_length":96,"hex_timestamp":"0000019f6634fb00"} 
[2026-07-15 20:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 20:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-15 20:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:08:36] 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-07-15 20:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736299008001,"66":27267,"174":206,"87":13824,"24":46,"16":347436032175636480,"45":8706091423782727680},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,87,24,16,45]} 
[2026-07-15 20:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736299008001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:08:36] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-15 20:08:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 20:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347436032175636480,"km_value":347436032175636.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8706091423782727680,"description":"Unknown IO ID 45"} 
[2026-07-15 20:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736299008001,"power":27267,"unknown_174":206,"unknown_87":13824,"ignition":46,"odometer":null,"unknown_45":8706091423782727680}} 
[2026-07-15 20:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":132897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:08:36] local.INFO: GPS data processed {"connection_id":132897,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:08:36] local.INFO: Acknowledgment sent {"connection_id":132897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:08:50] local.INFO: TCP Data received {"connection_id":135106,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:08:50] local.INFO: Processing buffer {"connection_id":135106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:08:50] local.INFO: IMEI packet received {"connection_id":135106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":135106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:08:55] local.INFO: TCP Data received {"connection_id":135106,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:08:55] local.INFO: Processing buffer {"connection_id":135106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:08:55] local.INFO: IMEI packet received {"connection_id":135106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":135106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:08:56] local.INFO: TCP Data received {"connection_id":135106,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6635aeb0012d196540071ff040003a004823..."} 
[2026-07-15 20:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6635aeb0012d196540071ff040003a004823..."} 
[2026-07-15 20:08:56] local.INFO: Processing buffer {"connection_id":135106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6635aeb0012d196540071ff040003a004823..."} 
[2026-07-15 20:08:56] local.INFO: Packet analysis {"connection_id":135106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6635"} 
[2026-07-15 20:08:56] local.INFO: Extracted packet for processing {"connection_id":135106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6635"} 
[2026-07-15 20:08:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736233984001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:08: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-07-15 20:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784126222000,"timestamp_ms":1784126222000,"timestamp_seconds":1784126222,"priority":1,"record_length":96,"hex_timestamp":"0000019f6635aeb0"} 
[2026-07-15 20:08:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:08:56] 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-07-15 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:08: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-07-15 20: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-07-15 20:08:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":135106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":135106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":135106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736233984001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736233984001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:08:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:08:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736233984001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":135106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:08:56] local.INFO: GPS data processed {"connection_id":135106,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:08:56] local.INFO: Acknowledgment sent {"connection_id":135106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:09:00] local.INFO: TCP Data received {"connection_id":132721,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:09:00] local.INFO: Processing buffer {"connection_id":132721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:09:00] local.INFO: IMEI packet received {"connection_id":132721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 20:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":132721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:09:03] local.INFO: TCP Data received {"connection_id":132721,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:09:03] local.INFO: Processing buffer {"connection_id":132721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:09:03] local.INFO: IMEI packet received {"connection_id":132721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 20:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":132721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:09:04] local.INFO: TCP Data received {"connection_id":132721,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f66352210012d78864005e89c700003010628..."} 
[2026-07-15 20:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66352210012d78864005e89c700003010628..."} 
[2026-07-15 20:09:04] local.INFO: Processing buffer {"connection_id":132721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66352210012d78864005e89c700003010628..."} 
[2026-07-15 20:09:04] local.INFO: Packet analysis {"connection_id":132721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6635"} 
[2026-07-15 20:09:04] local.INFO: Extracted packet for processing {"connection_id":132721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6635"} 
[2026-07-15 20:09:04] local.INFO: GPS Element Parsed {"raw_longitude":762873408,"raw_latitude":99130480,"longitude_deg":76.2873408,"latitude_deg":9.913048,"altitude":3,"angle":262,"satellites":40,"speed":28,"hex_longitude":"2d788640","hex_latitude":"05e89c70","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736301056001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347436491737137152,"note":"Value kept but may cause issues"} 
[2026-07-15 20:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8695184268434929664,"note":"Value kept but may cause issues"} 
[2026-07-15 20:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784126186000,"timestamp_ms":1784126186000,"timestamp_seconds":1784126186,"priority":1,"record_length":96,"hex_timestamp":"0000019f66352210"} 
[2026-07-15 20:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 20:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-15 20:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20: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-07-15 20:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":132721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":132721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":132721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736301056001,"66":27300,"174":206,"87":13824,"24":28,"16":347436491737137152,"45":8695184268434929664},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,87,24,16,45]} 
[2026-07-15 20:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736301056001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:09:04] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-15 20:09:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 20:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347436491737137152,"km_value":347436491737137.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8695184268434929664,"description":"Unknown IO ID 45"} 
[2026-07-15 20:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736301056001,"power":27300,"unknown_174":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8695184268434929664}} 
[2026-07-15 20:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":132721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:09:04] local.INFO: GPS data processed {"connection_id":132721,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:09:04] local.INFO: Acknowledgment sent {"connection_id":132721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:09:28] local.INFO: TCP Data received {"connection_id":135106,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6635aeb0012d196540071ff040003a004823..."} 
[2026-07-15 20:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6635aeb0012d196540071ff040003a004823..."} 
[2026-07-15 20:09:28] local.INFO: Processing buffer {"connection_id":135106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6635aeb0012d196540071ff040003a004823..."} 
[2026-07-15 20:09:28] local.INFO: Packet analysis {"connection_id":135106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6635"} 
[2026-07-15 20:09:28] local.INFO: Extracted packet for processing {"connection_id":135106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6635"} 
[2026-07-15 20:09:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736233984001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:09:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:09: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-07-15 20:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784126222000,"timestamp_ms":1784126222000,"timestamp_seconds":1784126222,"priority":1,"record_length":96,"hex_timestamp":"0000019f6635aeb0"} 
[2026-07-15 20:09:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:09:28] 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-07-15 20:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:09: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-07-15 20:09:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:09:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":135106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":135106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":135106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:09:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736233984001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736233984001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:09:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:09:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:09:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736233984001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":135106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:09:28] local.INFO: GPS data processed {"connection_id":135106,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:09:28] local.INFO: Acknowledgment sent {"connection_id":135106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:09:35] local.INFO: TCP Data received {"connection_id":132721,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f663558c0012d78610005e898b80007010828..."} 
[2026-07-15 20:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f663558c0012d78610005e898b80007010828..."} 
[2026-07-15 20:09:35] local.INFO: Processing buffer {"connection_id":132721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f663558c0012d78610005e898b80007010828..."} 
[2026-07-15 20:09:35] local.INFO: Packet analysis {"connection_id":132721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6635"} 
[2026-07-15 20:09:35] local.INFO: Extracted packet for processing {"connection_id":132721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6635"} 
[2026-07-15 20:09:35] local.INFO: GPS Element Parsed {"raw_longitude":762863872,"raw_latitude":99129528,"longitude_deg":76.2863872,"latitude_deg":9.9129528,"altitude":7,"angle":264,"satellites":40,"speed":24,"hex_longitude":"2d786100","hex_latitude":"05e898b8","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736303616001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347436951298637824,"note":"Value kept but may cause issues"} 
[2026-07-15 20:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8684699325552160768,"note":"Value kept but may cause issues"} 
[2026-07-15 20:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784126200000,"timestamp_ms":1784126200000,"timestamp_seconds":1784126200,"priority":1,"record_length":96,"hex_timestamp":"0000019f663558c0"} 
[2026-07-15 20:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 20:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-15 20:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20: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-07-15 20:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736303616001,"66":27300,"174":206,"87":13824,"24":24,"16":347436951298637824,"45":8684699325552160768},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,87,24,16,45]} 
[2026-07-15 20:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736303616001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:09:35] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-15 20:09:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 20:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347436951298637824,"km_value":347436951298637.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8684699325552160768,"description":"Unknown IO ID 45"} 
[2026-07-15 20:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736303616001,"power":27300,"unknown_174":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8684699325552160768}} 
[2026-07-15 20:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":132721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:09:35] local.INFO: GPS data processed {"connection_id":132721,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:09:35] local.INFO: Acknowledgment sent {"connection_id":132721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:09:50] local.INFO: TCP Data received {"connection_id":132722,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:09:50] local.INFO: Processing buffer {"connection_id":132722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:09:50] local.INFO: IMEI packet received {"connection_id":132722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":132722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:09:55] local.INFO: TCP Data received {"connection_id":132722,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:09:55] local.INFO: Processing buffer {"connection_id":132722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:09:55] local.INFO: IMEI packet received {"connection_id":132722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":132722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:09:57] local.INFO: TCP Data received {"connection_id":132722,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6635aeb0012d196540071ff040003a004823..."} 
[2026-07-15 20:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6635aeb0012d196540071ff040003a004823..."} 
[2026-07-15 20:09:57] local.INFO: Processing buffer {"connection_id":132722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6635aeb0012d196540071ff040003a004823..."} 
[2026-07-15 20:09:57] local.INFO: Packet analysis {"connection_id":132722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6635"} 
[2026-07-15 20:09:57] local.INFO: Extracted packet for processing {"connection_id":132722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6635"} 
[2026-07-15 20:09:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736233984001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:09: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-07-15 20:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784126222000,"timestamp_ms":1784126222000,"timestamp_seconds":1784126222,"priority":1,"record_length":96,"hex_timestamp":"0000019f6635aeb0"} 
[2026-07-15 20:09:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:09:57] 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-07-15 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:09:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20: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-07-15 20:09:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":132722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":132722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":132722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:09:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736233984001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736233984001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:09:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:09:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736233984001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":132722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:09:57] local.INFO: GPS data processed {"connection_id":132722,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:09:57] local.INFO: Acknowledgment sent {"connection_id":132722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:10:00] local.INFO: TCP Data received {"connection_id":132899,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:10:00] local.INFO: Processing buffer {"connection_id":132899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:10:00] local.INFO: IMEI packet received {"connection_id":132899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 20:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":132899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:10:05] local.INFO: TCP Data received {"connection_id":132899,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:10:05] local.INFO: Processing buffer {"connection_id":132899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:10:05] local.INFO: IMEI packet received {"connection_id":132899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 20:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":132899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:10:06] local.INFO: TCP Data received {"connection_id":132899,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f66358b88012d783c4005e897000007010a28..."} 
[2026-07-15 20:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66358b88012d783c4005e897000007010a28..."} 
[2026-07-15 20:10:06] local.INFO: Processing buffer {"connection_id":132899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66358b88012d783c4005e897000007010a28..."} 
[2026-07-15 20:10:06] local.INFO: Packet analysis {"connection_id":132899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6635"} 
[2026-07-15 20:10:06] local.INFO: Extracted packet for processing {"connection_id":132899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6635"} 
[2026-07-15 20:10:06] local.INFO: GPS Element Parsed {"raw_longitude":762854464,"raw_latitude":99129088,"longitude_deg":76.2854464,"latitude_deg":9.9129088,"altitude":7,"angle":266,"satellites":40,"speed":28,"hex_longitude":"2d783c40","hex_latitude":"05e89700","is_valid_coordinates":true} 
[2026-07-15 20:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736307200001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347437397975236608,"note":"Value kept but may cause issues"} 
[2026-07-15 20:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8674214382669445120,"note":"Value kept but may cause issues"} 
[2026-07-15 20:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784126213000,"timestamp_ms":1784126213000,"timestamp_seconds":1784126213,"priority":1,"record_length":96,"hex_timestamp":"0000019f66358b88"} 
[2026-07-15 20:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 20:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-15 20:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736307200001,"66":27321,"174":206,"87":13824,"24":28,"16":347437397975236608,"45":8674214382669445120},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,87,24,16,45]} 
[2026-07-15 20:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736307200001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:10:06] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-15 20:10:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 20:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347437397975236608,"km_value":347437397975236.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8674214382669445120,"description":"Unknown IO ID 45"} 
[2026-07-15 20:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736307200001,"power":27321,"unknown_174":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8674214382669445120}} 
[2026-07-15 20:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":132899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:10:06] local.INFO: GPS data processed {"connection_id":132899,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:10:06] local.INFO: Acknowledgment sent {"connection_id":132899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:10:29] local.INFO: TCP Data received {"connection_id":132722,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6635aeb0012d196540071ff040003a004823..."} 
[2026-07-15 20:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6635aeb0012d196540071ff040003a004823..."} 
[2026-07-15 20:10:29] local.INFO: Processing buffer {"connection_id":132722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6635aeb0012d196540071ff040003a004823..."} 
[2026-07-15 20:10:29] local.INFO: Packet analysis {"connection_id":132722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6635"} 
[2026-07-15 20:10:29] local.INFO: Extracted packet for processing {"connection_id":132722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6635"} 
[2026-07-15 20:10:29] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 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-07-15 20:10:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736233984001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:10:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:10:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:10: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-07-15 20:10:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784126222000,"timestamp_ms":1784126222000,"timestamp_seconds":1784126222,"priority":1,"record_length":96,"hex_timestamp":"0000019f6635aeb0"} 
[2026-07-15 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-07-15 20:10:29] 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-07-15 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:10: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-07-15 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-07-15 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-07-15 20:10:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:10:29] local.INFO: Teltonika packet parsed successfully {"connection_id":132722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:10:29] local.INFO: Passing IMEI to GPS processor {"connection_id":132722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:10:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":132722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:10:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:10:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:10:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:10:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736233984001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:10:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:10:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:10:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736233984001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:10:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:10:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:10:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:10:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:10:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736233984001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:10:29] local.INFO: DEBUG: GPS processor result {"connection_id":132722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:10:29] local.INFO: GPS data processed {"connection_id":132722,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:10:29] local.INFO: Acknowledgment sent {"connection_id":132722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:10:38] local.INFO: TCP Data received {"connection_id":132899,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f66380070012d76e5c005e8ba58000c013428..."} 
[2026-07-15 20:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66380070012d76e5c005e8ba58000c013428..."} 
[2026-07-15 20:10:38] local.INFO: Processing buffer {"connection_id":132899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66380070012d76e5c005e8ba58000c013428..."} 
[2026-07-15 20:10:38] local.INFO: Packet analysis {"connection_id":132899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6638"} 
[2026-07-15 20:10:38] local.INFO: Extracted packet for processing {"connection_id":132899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6638"} 
[2026-07-15 20:10:38] local.INFO: GPS Element Parsed {"raw_longitude":762766784,"raw_latitude":99138136,"longitude_deg":76.2766784,"latitude_deg":9.9138136,"altitude":12,"angle":308,"satellites":40,"speed":7,"hex_longitude":"2d76e5c0","hex_latitude":"05e8ba58","is_valid_coordinates":true} 
[2026-07-15 20:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736350976001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347441688647565312,"note":"Value kept but may cause issues"} 
[2026-07-15 20:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8568379791428313088,"note":"Value kept but may cause issues"} 
[2026-07-15 20:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784126374000,"timestamp_ms":1784126374000,"timestamp_seconds":1784126374,"priority":1,"record_length":96,"hex_timestamp":"0000019f66380070"} 
[2026-07-15 20:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 20:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-15 20:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736350976001,"66":27245,"129":206,"87":12288,"24":7,"16":347441688647565312,"45":8568379791428313088},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-07-15 20:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736350976001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:10:38] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-15 20:10:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-15 20:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347441688647565312,"km_value":347441688647565.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8568379791428313088,"description":"Unknown IO ID 45"} 
[2026-07-15 20:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736350976001,"power":27245,"unknown_129":206,"unknown_87":12288,"ignition":7,"odometer":null,"unknown_45":8568379791428313088}} 
[2026-07-15 20:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":132899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:10:38] local.INFO: GPS data processed {"connection_id":132899,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:10:38] local.INFO: Acknowledgment sent {"connection_id":132899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:10:55] local.INFO: TCP Data received {"connection_id":133747,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:10:55] local.INFO: Processing buffer {"connection_id":133747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:10:55] local.INFO: IMEI packet received {"connection_id":133747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":133747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:11:00] local.INFO: TCP Data received {"connection_id":133747,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:11:00] local.INFO: Processing buffer {"connection_id":133747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:11:00] local.INFO: IMEI packet received {"connection_id":133747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":133747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:11:01] local.INFO: TCP Data received {"connection_id":133748,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:11:01] local.INFO: Processing buffer {"connection_id":133748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:11:01] local.INFO: IMEI packet received {"connection_id":133748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 20:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":133748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:11:01] local.INFO: TCP Data received {"connection_id":133747,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6635aeb0012d196540071ff040003a004823..."} 
[2026-07-15 20:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6635aeb0012d196540071ff040003a004823..."} 
[2026-07-15 20:11:01] local.INFO: Processing buffer {"connection_id":133747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6635aeb0012d196540071ff040003a004823..."} 
[2026-07-15 20:11:01] local.INFO: Packet analysis {"connection_id":133747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6635"} 
[2026-07-15 20:11:01] local.INFO: Extracted packet for processing {"connection_id":133747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6635"} 
[2026-07-15 20:11:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736233984001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:11:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:11:01] 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-07-15 20:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784126222000,"timestamp_ms":1784126222000,"timestamp_seconds":1784126222,"priority":1,"record_length":96,"hex_timestamp":"0000019f6635aeb0"} 
[2026-07-15 20:11:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:11:01] 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-07-15 20:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:11: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-07-15 20:11:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:11:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":133747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":133747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":133747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:11:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736233984001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736233984001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:11:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:11:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:11:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736233984001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":133747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:11:01] local.INFO: GPS data processed {"connection_id":133747,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:11:01] local.INFO: Acknowledgment sent {"connection_id":133747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:11:05] local.INFO: TCP Data received {"connection_id":133748,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:11:05] local.INFO: Processing buffer {"connection_id":133748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:11:05] local.INFO: IMEI packet received {"connection_id":133748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 20:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":133748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:11:06] local.INFO: TCP Data received {"connection_id":133748,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f66380c28012d76e40005e8bc20000b014429..."} 
[2026-07-15 20:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66380c28012d76e40005e8bc20000b014429..."} 
[2026-07-15 20:11:06] local.INFO: Processing buffer {"connection_id":133748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66380c28012d76e40005e8bc20000b014429..."} 
[2026-07-15 20:11:06] local.INFO: Packet analysis {"connection_id":133748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6638"} 
[2026-07-15 20:11:06] local.INFO: Extracted packet for processing {"connection_id":133748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6638"} 
[2026-07-15 20:11:06] local.INFO: GPS Element Parsed {"raw_longitude":762766336,"raw_latitude":99138592,"longitude_deg":76.2766336,"latitude_deg":9.9138592,"altitude":11,"angle":324,"satellites":41,"speed":9,"hex_longitude":"2d76e400","hex_latitude":"05e8bc20","is_valid_coordinates":true} 
[2026-07-15 20:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736351744001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347441718712336384,"note":"Value kept but may cause issues"} 
[2026-07-15 20:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8567464997754132480,"note":"Value kept but may cause issues"} 
[2026-07-15 20:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784126377000,"timestamp_ms":1784126377000,"timestamp_seconds":1784126377,"priority":1,"record_length":96,"hex_timestamp":"0000019f66380c28"} 
[2026-07-15 20:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 20:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-15 20:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736351744001,"66":27343,"129":206,"87":12288,"24":9,"16":347441718712336384,"45":8567464997754132480},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-07-15 20:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736351744001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:11:06] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-15 20:11:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-15 20:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347441718712336384,"km_value":347441718712336.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8567464997754132480,"description":"Unknown IO ID 45"} 
[2026-07-15 20:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736351744001,"power":27343,"unknown_129":206,"unknown_87":12288,"ignition":9,"odometer":null,"unknown_45":8567464997754132480}} 
[2026-07-15 20:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":133748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:11:06] local.INFO: GPS data processed {"connection_id":133748,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:11:06] local.INFO: Acknowledgment sent {"connection_id":133748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:11:06] local.INFO: TCP Data received {"connection_id":133747,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6635aeb0012d196540071ff040003a004823..."} 
[2026-07-15 20:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6635aeb0012d196540071ff040003a004823..."} 
[2026-07-15 20:11:06] local.INFO: Processing buffer {"connection_id":133747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6635aeb0012d196540071ff040003a004823..."} 
[2026-07-15 20:11:06] local.INFO: Packet analysis {"connection_id":133747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6635"} 
[2026-07-15 20:11:06] local.INFO: Extracted packet for processing {"connection_id":133747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6635"} 
[2026-07-15 20:11:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736233984001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:11:06] 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-07-15 20:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784126222000,"timestamp_ms":1784126222000,"timestamp_seconds":1784126222,"priority":1,"record_length":96,"hex_timestamp":"0000019f6635aeb0"} 
[2026-07-15 20:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736233984001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736233984001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:11:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:11:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736233984001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":133747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:11:06] local.INFO: GPS data processed {"connection_id":133747,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:11:06] local.INFO: Acknowledgment sent {"connection_id":133747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:11:10] local.INFO: TCP Data received {"connection_id":133748,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f66381010012d76e3c005e8bce8000b015129..."} 
[2026-07-15 20:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66381010012d76e3c005e8bce8000b015129..."} 
[2026-07-15 20:11:10] local.INFO: Processing buffer {"connection_id":133748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66381010012d76e3c005e8bce8000b015129..."} 
[2026-07-15 20:11:10] local.INFO: Packet analysis {"connection_id":133748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6638"} 
[2026-07-15 20:11:10] local.INFO: Extracted packet for processing {"connection_id":133748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6638"} 
[2026-07-15 20:11:10] local.INFO: GPS Element Parsed {"raw_longitude":762766272,"raw_latitude":99138792,"longitude_deg":76.2766272,"latitude_deg":9.9138792,"altitude":11,"angle":337,"satellites":41,"speed":8,"hex_longitude":"2d76e3c0","hex_latitude":"05e8bce8","is_valid_coordinates":true} 
[2026-07-15 20:11: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-07-15 20:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736352512001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347441731597238272,"note":"Value kept but may cause issues"} 
[2026-07-15 20:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8566972416545005568,"note":"Value kept but may cause issues"} 
[2026-07-15 20:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784126378000,"timestamp_ms":1784126378000,"timestamp_seconds":1784126378,"priority":1,"record_length":96,"hex_timestamp":"0000019f66381010"} 
[2026-07-15 20:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 20:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-15 20:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:11: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-07-15 20:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":133748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":133748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":133748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:11:10] 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-07-15 20:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736352512001,"66":27343,"129":206,"87":12288,"24":8,"16":347441731597238272,"45":8566972416545005568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-07-15 20:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736352512001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:11:10] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-15 20:11:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-15 20:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347441731597238272,"km_value":347441731597238.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8566972416545005568,"description":"Unknown IO ID 45"} 
[2026-07-15 20:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736352512001,"power":27343,"unknown_129":206,"unknown_87":12288,"ignition":8,"odometer":null,"unknown_45":8566972416545005568}} 
[2026-07-15 20:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":133748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:11:10] local.INFO: GPS data processed {"connection_id":133748,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:11:10] local.INFO: Acknowledgment sent {"connection_id":133748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:11:14] local.INFO: TCP Data received {"connection_id":132900,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132900,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:11:14] local.INFO: Processing buffer {"connection_id":132900,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:11:14] local.INFO: IMEI packet received {"connection_id":132900,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 20:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":132900,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:11:34] local.INFO: TCP Data received {"connection_id":135107,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135107,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:11:34] local.INFO: Processing buffer {"connection_id":135107,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:11:34] local.INFO: IMEI packet received {"connection_id":135107,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 20:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":135107,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:11:42] local.INFO: TCP Data received {"connection_id":133748,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f66386218012d76da8005e8d4f80005015329..."} 
[2026-07-15 20:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66386218012d76da8005e8d4f80005015329..."} 
[2026-07-15 20:11:42] local.INFO: Processing buffer {"connection_id":133748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66386218012d76da8005e8d4f80005015329..."} 
[2026-07-15 20:11:42] local.INFO: Packet analysis {"connection_id":133748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6638"} 
[2026-07-15 20:11:42] local.INFO: Extracted packet for processing {"connection_id":133748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6638"} 
[2026-07-15 20:11:42] local.INFO: GPS Element Parsed {"raw_longitude":762763904,"raw_latitude":99144952,"longitude_deg":76.2763904,"latitude_deg":9.9144952,"altitude":5,"angle":339,"satellites":41,"speed":18,"hex_longitude":"2d76da80","hex_latitude":"05e8d4f8","is_valid_coordinates":true} 
[2026-07-15 20:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736352768001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347442053719785472,"note":"Value kept but may cause issues"} 
[2026-07-15 20:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8566902047800879104,"note":"Value kept but may cause issues"} 
[2026-07-15 20:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784126399000,"timestamp_ms":1784126399000,"timestamp_seconds":1784126399,"priority":1,"record_length":96,"hex_timestamp":"0000019f66386218"} 
[2026-07-15 20:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 20:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-15 20:11:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":133748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":133748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":133748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736352768001,"66":27234,"131":206,"87":12288,"24":18,"16":347442053719785472,"45":8566902047800879104},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-15 20:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736352768001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:11:42] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-15 20:11:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-15 20:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347442053719785472,"km_value":347442053719785.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8566902047800879104,"description":"Unknown IO ID 45"} 
[2026-07-15 20:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736352768001,"power":27234,"unknown_131":206,"unknown_87":12288,"ignition":18,"odometer":null,"unknown_45":8566902047800879104}} 
[2026-07-15 20:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":133748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:11:42] local.INFO: GPS data processed {"connection_id":133748,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:11:42] local.INFO: Acknowledgment sent {"connection_id":133748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:11:50] local.INFO: TCP Data received {"connection_id":132723,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:11:50] local.INFO: Processing buffer {"connection_id":132723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:11:50] local.INFO: IMEI packet received {"connection_id":132723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":132723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:11:55] local.INFO: TCP Data received {"connection_id":132723,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:11:55] local.INFO: Processing buffer {"connection_id":132723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:11:55] local.INFO: IMEI packet received {"connection_id":132723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":132723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:11:56] local.INFO: TCP Data received {"connection_id":132723,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6635aeb0012d196540071ff040003a004823..."} 
[2026-07-15 20:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6635aeb0012d196540071ff040003a004823..."} 
[2026-07-15 20:11:56] local.INFO: Processing buffer {"connection_id":132723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6635aeb0012d196540071ff040003a004823..."} 
[2026-07-15 20:11:56] local.INFO: Packet analysis {"connection_id":132723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6635"} 
[2026-07-15 20:11:56] local.INFO: Extracted packet for processing {"connection_id":132723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6635"} 
[2026-07-15 20:11:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736233984001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:11: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-07-15 20:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784126222000,"timestamp_ms":1784126222000,"timestamp_seconds":1784126222,"priority":1,"record_length":96,"hex_timestamp":"0000019f6635aeb0"} 
[2026-07-15 20:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:11:56] 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-07-15 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:11: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-07-15 20: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-07-15 20:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:11:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736233984001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736233984001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:11:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:11:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736233984001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":132723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:11:56] local.INFO: GPS data processed {"connection_id":132723,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:11:56] local.INFO: Acknowledgment sent {"connection_id":132723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:12:05] local.INFO: TCP Data received {"connection_id":135108,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:12:05] local.INFO: Processing buffer {"connection_id":135108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:12:05] local.INFO: IMEI packet received {"connection_id":135108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 20:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":135108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:12:10] local.INFO: TCP Data received {"connection_id":135108,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:12:10] local.INFO: Processing buffer {"connection_id":135108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:12:10] local.INFO: IMEI packet received {"connection_id":135108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 20:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":135108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:12:11] local.INFO: TCP Data received {"connection_id":135108,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6638b038012d76ce8005e8f5b80003015228..."} 
[2026-07-15 20:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6638b038012d76ce8005e8f5b80003015228..."} 
[2026-07-15 20:12:11] local.INFO: Processing buffer {"connection_id":135108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6638b038012d76ce8005e8f5b80003015228..."} 
[2026-07-15 20:12:11] local.INFO: Packet analysis {"connection_id":135108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6638"} 
[2026-07-15 20:12:11] local.INFO: Extracted packet for processing {"connection_id":135108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6638"} 
[2026-07-15 20:12:11] local.INFO: GPS Element Parsed {"raw_longitude":762760832,"raw_latitude":99153336,"longitude_deg":76.2760832,"latitude_deg":9.9153336,"altitude":3,"angle":338,"satellites":40,"speed":25,"hex_longitude":"2d76ce80","hex_latitude":"05e8f5b8","is_valid_coordinates":true} 
[2026-07-15 20:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736358144001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347442487511482368,"note":"Value kept but may cause issues"} 
[2026-07-15 20:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8564298404267882496,"note":"Value kept but may cause issues"} 
[2026-07-15 20:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784126419000,"timestamp_ms":1784126419000,"timestamp_seconds":1784126419,"priority":1,"record_length":96,"hex_timestamp":"0000019f6638b038"} 
[2026-07-15 20:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 20:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-15 20:12:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":135108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":135108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":135108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:12:11] 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-07-15 20:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736358144001,"66":27267,"131":206,"87":12288,"24":25,"16":347442487511482368,"45":8564298404267882496},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-15 20:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736358144001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:12:11] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-15 20:12:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-15 20:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347442487511482368,"km_value":347442487511482.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8564298404267882496,"description":"Unknown IO ID 45"} 
[2026-07-15 20:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736358144001,"power":27267,"unknown_131":206,"unknown_87":12288,"ignition":25,"odometer":null,"unknown_45":8564298404267882496}} 
[2026-07-15 20:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":135108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:12:11] local.INFO: GPS data processed {"connection_id":135108,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:12:11] local.INFO: Acknowledgment sent {"connection_id":135108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:12:13] local.INFO: TCP Data received {"connection_id":135108,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6638f688012d76c20005e917900003015227..."} 
[2026-07-15 20:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6638f688012d76c20005e917900003015227..."} 
[2026-07-15 20:12:13] local.INFO: Processing buffer {"connection_id":135108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6638f688012d76c20005e917900003015227..."} 
[2026-07-15 20:12:13] local.INFO: Packet analysis {"connection_id":135108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6638"} 
[2026-07-15 20:12:13] local.INFO: Extracted packet for processing {"connection_id":135108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6638"} 
[2026-07-15 20:12:13] local.INFO: GPS Element Parsed {"raw_longitude":762757632,"raw_latitude":99162000,"longitude_deg":76.2757632,"latitude_deg":9.9162,"altitude":3,"angle":338,"satellites":39,"speed":21,"hex_longitude":"2d76c200","hex_latitude":"05e91790","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736363264001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347442934188081152,"note":"Value kept but may cause issues"} 
[2026-07-15 20:12:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8560920704549500928,"note":"Value kept but may cause issues"} 
[2026-07-15 20:12:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784126437000,"timestamp_ms":1784126437000,"timestamp_seconds":1784126437,"priority":1,"record_length":96,"hex_timestamp":"0000019f6638f688"} 
[2026-07-15 20:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:12:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 20: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-15 20:12:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20: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-07-15 20:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":135108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":135108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":135108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:12:13] 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-07-15 20:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736363264001,"66":27213,"33":206,"87":12288,"24":21,"16":347442934188081152,"45":8560920704549500928},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,87,24,16,45]} 
[2026-07-15 20:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736363264001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:12:13] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-15 20:12:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-15 20:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347442934188081152,"km_value":347442934188081.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:12:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8560920704549500928,"description":"Unknown IO ID 45"} 
[2026-07-15 20:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736363264001,"power":27213,"unknown_33":206,"unknown_87":12288,"ignition":21,"odometer":null,"unknown_45":8560920704549500928}} 
[2026-07-15 20:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":135108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:12:13] local.INFO: GPS data processed {"connection_id":135108,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:12:13] local.INFO: Acknowledgment sent {"connection_id":135108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:12:28] local.INFO: TCP Data received {"connection_id":132723,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6635aeb0012d196540071ff040003a004823..."} 
[2026-07-15 20:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6635aeb0012d196540071ff040003a004823..."} 
[2026-07-15 20:12:28] local.INFO: Processing buffer {"connection_id":132723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6635aeb0012d196540071ff040003a004823..."} 
[2026-07-15 20:12:28] local.INFO: Packet analysis {"connection_id":132723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6635"} 
[2026-07-15 20:12:28] local.INFO: Extracted packet for processing {"connection_id":132723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6635"} 
[2026-07-15 20:12:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736233984001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:12: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-07-15 20:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784126222000,"timestamp_ms":1784126222000,"timestamp_seconds":1784126222,"priority":1,"record_length":96,"hex_timestamp":"0000019f6635aeb0"} 
[2026-07-15 20:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:12:28] 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-07-15 20:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:12: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-07-15 20:12:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:12:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736233984001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736233984001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:12:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:12:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736233984001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":132723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:12:28] local.INFO: GPS data processed {"connection_id":132723,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:12:28] local.INFO: Acknowledgment sent {"connection_id":132723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:12:48] local.INFO: TCP Data received {"connection_id":135108,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f66392950012d76b58005e938080007015127..."} 
[2026-07-15 20:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66392950012d76b58005e938080007015127..."} 
[2026-07-15 20:12:48] local.INFO: Processing buffer {"connection_id":135108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66392950012d76b58005e938080007015127..."} 
[2026-07-15 20:12:48] local.INFO: Packet analysis {"connection_id":135108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6639"} 
[2026-07-15 20:12:48] local.INFO: Extracted packet for processing {"connection_id":135108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6639"} 
[2026-07-15 20:12:48] local.INFO: GPS Element Parsed {"raw_longitude":762754432,"raw_latitude":99170312,"longitude_deg":76.2754432,"latitude_deg":9.9170312,"altitude":7,"angle":337,"satellites":39,"speed":30,"hex_longitude":"2d76b580","hex_latitude":"05e93808","is_valid_coordinates":true} 
[2026-07-15 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-07-15 20:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736367872001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347443363684810752,"note":"Value kept but may cause issues"} 
[2026-07-15 20:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8557402267342835712,"note":"Value kept but may cause issues"} 
[2026-07-15 20:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784126450000,"timestamp_ms":1784126450000,"timestamp_seconds":1784126450,"priority":1,"record_length":96,"hex_timestamp":"0000019f66392950"} 
[2026-07-15 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-07-15 20:12:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-15 20:12:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 20:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":135108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":135108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":135108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:12: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-07-15 20:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736367872001,"66":27267,"33":206,"87":12288,"24":30,"16":347443363684810752,"45":8557402267342835712},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,87,24,16,45]} 
[2026-07-15 20:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736367872001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:12:48] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-15 20:12:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-15 20:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347443363684810752,"km_value":347443363684810.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8557402267342835712,"description":"Unknown IO ID 45"} 
[2026-07-15 20:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736367872001,"power":27267,"unknown_33":206,"unknown_87":12288,"ignition":30,"odometer":null,"unknown_45":8557402267342835712}} 
[2026-07-15 20:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":135108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:12:48] local.INFO: GPS data processed {"connection_id":135108,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:12:48] local.INFO: Acknowledgment sent {"connection_id":135108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:12:50] local.INFO: TCP Data received {"connection_id":135109,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:12:50] local.INFO: Processing buffer {"connection_id":135109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:12:50] local.INFO: IMEI packet received {"connection_id":135109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":135109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:12:55] local.INFO: TCP Data received {"connection_id":135109,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:12:55] local.INFO: Processing buffer {"connection_id":135109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:12:55] local.INFO: IMEI packet received {"connection_id":135109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":135109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:12:56] local.INFO: TCP Data received {"connection_id":135109,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f663a5618012d196540071ff040003a004825..."} 
[2026-07-15 20:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f663a5618012d196540071ff040003a004825..."} 
[2026-07-15 20:12:56] local.INFO: Processing buffer {"connection_id":135109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f663a5618012d196540071ff040003a004825..."} 
[2026-07-15 20:12:56] local.INFO: Packet analysis {"connection_id":135109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f663a"} 
[2026-07-15 20:12:56] local.INFO: Extracted packet for processing {"connection_id":135109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f663a"} 
[2026-07-15 20:12:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736312832001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:12: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-07-15 20:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784126527000,"timestamp_ms":1784126527000,"timestamp_seconds":1784126527,"priority":1,"record_length":96,"hex_timestamp":"0000019f663a5618"} 
[2026-07-15 20:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:12:56] 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-07-15 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:12: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-07-15 20: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-07-15 20:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":135109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":135109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":135109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:12:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736312832001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736312832001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:12:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:12:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736312832001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":135109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:12:56] local.INFO: GPS data processed {"connection_id":135109,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:12:56] local.INFO: Acknowledgment sent {"connection_id":135109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:13:06] local.INFO: TCP Data received {"connection_id":132724,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:13:06] local.INFO: Processing buffer {"connection_id":132724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:13:06] local.INFO: IMEI packet received {"connection_id":132724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 20:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":132724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:13:11] local.INFO: TCP Data received {"connection_id":132724,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:13:11] local.INFO: Processing buffer {"connection_id":132724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:13:11] local.INFO: IMEI packet received {"connection_id":132724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 20:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":132724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:13:12] local.INFO: TCP Data received {"connection_id":132724,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f66395448012d76a8c005e958d80006015425..."} 
[2026-07-15 20:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66395448012d76a8c005e958d80006015425..."} 
[2026-07-15 20:13:12] local.INFO: Processing buffer {"connection_id":132724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66395448012d76a8c005e958d80006015425..."} 
[2026-07-15 20:13:12] local.INFO: Packet analysis {"connection_id":132724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6639"} 
[2026-07-15 20:13:12] local.INFO: Extracted packet for processing {"connection_id":132724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6639"} 
[2026-07-15 20:13:12] local.INFO: GPS Element Parsed {"raw_longitude":762751168,"raw_latitude":99178712,"longitude_deg":76.2751168,"latitude_deg":9.9178712,"altitude":6,"angle":340,"satellites":37,"speed":32,"hex_longitude":"2d76a8c0","hex_latitude":"05e958d8","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736371200001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347443801771474944,"note":"Value kept but may cause issues"} 
[2026-07-15 20:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8553883830136080384,"note":"Value kept but may cause issues"} 
[2026-07-15 20:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784126461000,"timestamp_ms":1784126461000,"timestamp_seconds":1784126461,"priority":1,"record_length":96,"hex_timestamp":"0000019f66395448"} 
[2026-07-15 20:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 20: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-15 20:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20: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-07-15 20:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:13:12] 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-07-15 20:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736371200001,"66":27321,"33":206,"87":12288,"24":32,"16":347443801771474944,"45":8553883830136080384},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,87,24,16,45]} 
[2026-07-15 20:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736371200001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:13:12] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-15 20:13:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-15 20:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347443801771474944,"km_value":347443801771474.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8553883830136080384,"description":"Unknown IO ID 45"} 
[2026-07-15 20:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736371200001,"power":27321,"unknown_33":206,"unknown_87":12288,"ignition":32,"odometer":null,"unknown_45":8553883830136080384}} 
[2026-07-15 20:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":132724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:13:12] local.INFO: GPS data processed {"connection_id":132724,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:13:12] local.INFO: Acknowledgment sent {"connection_id":132724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:13:13] local.INFO: TCP Data received {"connection_id":132724,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f66398af8012d769a8005e978f00007014e23..."} 
[2026-07-15 20:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66398af8012d769a8005e978f00007014e23..."} 
[2026-07-15 20:13:13] local.INFO: Processing buffer {"connection_id":132724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66398af8012d769a8005e978f00007014e23..."} 
[2026-07-15 20:13:13] local.INFO: Packet analysis {"connection_id":132724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6639"} 
[2026-07-15 20:13:13] local.INFO: Extracted packet for processing {"connection_id":132724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6639"} 
[2026-07-15 20:13:13] local.INFO: GPS Element Parsed {"raw_longitude":762747520,"raw_latitude":99186928,"longitude_deg":76.274752,"latitude_deg":9.9186928,"altitude":7,"angle":334,"satellites":35,"speed":27,"hex_longitude":"2d769a80","hex_latitude":"05e978f0","is_valid_coordinates":true} 
[2026-07-15 20:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736374016001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347444235563171840,"note":"Value kept but may cause issues"} 
[2026-07-15 20:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8550295024185169920,"note":"Value kept but may cause issues"} 
[2026-07-15 20:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784126475000,"timestamp_ms":1784126475000,"timestamp_seconds":1784126475,"priority":1,"record_length":96,"hex_timestamp":"0000019f66398af8"} 
[2026-07-15 20:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:13:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 20:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-15 20:13:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:13:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:13:13] 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-07-15 20:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736374016001,"66":27343,"39":206,"87":12288,"24":27,"16":347444235563171840,"45":8550295024185169920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-15 20:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736374016001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:13:13] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-15 20:13:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-15 20:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347444235563171840,"km_value":347444235563171.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8550295024185169920,"description":"Unknown IO ID 45"} 
[2026-07-15 20:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736374016001,"power":27343,"unknown_39":206,"unknown_87":12288,"ignition":27,"odometer":null,"unknown_45":8550295024185169920}} 
[2026-07-15 20:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":132724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:13:13] local.INFO: GPS data processed {"connection_id":132724,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:13:13] local.INFO: Acknowledgment sent {"connection_id":132724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:13:28] local.INFO: TCP Data received {"connection_id":135109,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f663a5618012d196540071ff040003a004825..."} 
[2026-07-15 20:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f663a5618012d196540071ff040003a004825..."} 
[2026-07-15 20:13:28] local.INFO: Processing buffer {"connection_id":135109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f663a5618012d196540071ff040003a004825..."} 
[2026-07-15 20:13:28] local.INFO: Packet analysis {"connection_id":135109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f663a"} 
[2026-07-15 20:13:28] local.INFO: Extracted packet for processing {"connection_id":135109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f663a"} 
[2026-07-15 20:13:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736312832001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:13: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-07-15 20:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784126527000,"timestamp_ms":1784126527000,"timestamp_seconds":1784126527,"priority":1,"record_length":96,"hex_timestamp":"0000019f663a5618"} 
[2026-07-15 20:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:13:28] 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-07-15 20:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:13: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-07-15 20:13:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":135109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":135109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":135109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736312832001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736312832001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:13:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:13:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736312832001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":135109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:13:28] local.INFO: GPS data processed {"connection_id":135109,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:13:28] local.INFO: Acknowledgment sent {"connection_id":135109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:13:45] local.INFO: TCP Data received {"connection_id":132724,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6639c978012d768d4005e999f00005014f27..."} 
[2026-07-15 20:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6639c978012d768d4005e999f00005014f27..."} 
[2026-07-15 20:13:45] local.INFO: Processing buffer {"connection_id":132724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6639c978012d768d4005e999f00005014f27..."} 
[2026-07-15 20:13:45] local.INFO: Packet analysis {"connection_id":132724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6639"} 
[2026-07-15 20:13:45] local.INFO: Extracted packet for processing {"connection_id":132724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6639"} 
[2026-07-15 20:13:45] local.INFO: GPS Element Parsed {"raw_longitude":762744128,"raw_latitude":99195376,"longitude_deg":76.2744128,"latitude_deg":9.9195376,"altitude":5,"angle":335,"satellites":39,"speed":18,"hex_longitude":"2d768d40","hex_latitude":"05e999f0","is_valid_coordinates":true} 
[2026-07-15 20:13:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736377600001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347444677944803328,"note":"Value kept but may cause issues"} 
[2026-07-15 20:13:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8546284005769146368,"note":"Value kept but may cause issues"} 
[2026-07-15 20:13:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784126491000,"timestamp_ms":1784126491000,"timestamp_seconds":1784126491,"priority":1,"record_length":96,"hex_timestamp":"0000019f6639c978"} 
[2026-07-15 20:13:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:13:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 20:13:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-15 20:13:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:13:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:13:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":132724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":132724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":132724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:13:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736377600001,"66":27397,"39":206,"87":12288,"24":18,"16":347444677944803328,"45":8546284005769146368},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-15 20:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736377600001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:13:45] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-15 20:13:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-15 20:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347444677944803328,"km_value":347444677944803.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:13:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8546284005769146368,"description":"Unknown IO ID 45"} 
[2026-07-15 20:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736377600001,"power":27397,"unknown_39":206,"unknown_87":12288,"ignition":18,"odometer":null,"unknown_45":8546284005769146368}} 
[2026-07-15 20:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":132724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:13:45] local.INFO: GPS data processed {"connection_id":132724,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:13:45] local.INFO: Acknowledgment sent {"connection_id":132724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:13:55] local.INFO: TCP Data received {"connection_id":133750,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:13:55] local.INFO: Processing buffer {"connection_id":133750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:13:55] local.INFO: IMEI packet received {"connection_id":133750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":133750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:14:00] local.INFO: TCP Data received {"connection_id":133750,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:14:00] local.INFO: Processing buffer {"connection_id":133750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:14:00] local.INFO: IMEI packet received {"connection_id":133750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":133750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:14:00] local.INFO: TCP Data received {"connection_id":132725,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:14:00] local.INFO: Processing buffer {"connection_id":132725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:14:00] local.INFO: IMEI packet received {"connection_id":132725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 20:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":132725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:14:02] local.INFO: TCP Data received {"connection_id":133750,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f663a5618012d196540071ff040003a004825..."} 
[2026-07-15 20:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f663a5618012d196540071ff040003a004825..."} 
[2026-07-15 20:14:02] local.INFO: Processing buffer {"connection_id":133750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f663a5618012d196540071ff040003a004825..."} 
[2026-07-15 20:14:02] local.INFO: Packet analysis {"connection_id":133750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f663a"} 
[2026-07-15 20:14:02] local.INFO: Extracted packet for processing {"connection_id":133750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f663a"} 
[2026-07-15 20:14:02] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:14: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-07-15 20:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736312832001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:14:02] 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-07-15 20:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784126527000,"timestamp_ms":1784126527000,"timestamp_seconds":1784126527,"priority":1,"record_length":96,"hex_timestamp":"0000019f663a5618"} 
[2026-07-15 20:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:14:02] 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-07-15 20:14: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-07-15 20:14: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-07-15 20:14: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-07-15 20:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":133750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":133750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":133750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736312832001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736312832001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:14:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:14:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736312832001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":133750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:14:02] local.INFO: GPS data processed {"connection_id":133750,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:14:02] local.INFO: Acknowledgment sent {"connection_id":133750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:14:05] local.INFO: TCP Data received {"connection_id":132725,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:14:05] local.INFO: Processing buffer {"connection_id":132725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:14:05] local.INFO: IMEI packet received {"connection_id":132725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 20:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":132725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:14:06] local.INFO: TCP Data received {"connection_id":132725,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6639fc40012d767f0005e9baa80008014c25..."} 
[2026-07-15 20:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6639fc40012d767f0005e9baa80008014c25..."} 
[2026-07-15 20:14:06] local.INFO: Processing buffer {"connection_id":132725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6639fc40012d767f0005e9baa80008014c25..."} 
[2026-07-15 20:14:06] local.INFO: Packet analysis {"connection_id":132725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6639"} 
[2026-07-15 20:14:06] local.INFO: Extracted packet for processing {"connection_id":132725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6639"} 
[2026-07-15 20:14:06] local.INFO: GPS Element Parsed {"raw_longitude":762740480,"raw_latitude":99203752,"longitude_deg":76.274048,"latitude_deg":9.9203752,"altitude":8,"angle":332,"satellites":37,"speed":29,"hex_longitude":"2d767f00","hex_latitude":"05e9baa8","is_valid_coordinates":true} 
[2026-07-15 20:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736381696001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347445120326434816,"note":"Value kept but may cause issues"} 
[2026-07-15 20:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8542554462329892864,"note":"Value kept but may cause issues"} 
[2026-07-15 20:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784126504000,"timestamp_ms":1784126504000,"timestamp_seconds":1784126504,"priority":1,"record_length":96,"hex_timestamp":"0000019f6639fc40"} 
[2026-07-15 20:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 20:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-15 20:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736381696001,"66":27463,"39":206,"87":12288,"24":29,"16":347445120326434816,"45":8542554462329892864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-15 20:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736381696001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:14:06] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-15 20:14:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-15 20:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347445120326434816,"km_value":347445120326434.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8542554462329892864,"description":"Unknown IO ID 45"} 
[2026-07-15 20:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736381696001,"power":27463,"unknown_39":206,"unknown_87":12288,"ignition":29,"odometer":null,"unknown_45":8542554462329892864}} 
[2026-07-15 20:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":132725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:14:06] local.INFO: GPS data processed {"connection_id":132725,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:14:06] local.INFO: Acknowledgment sent {"connection_id":132725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:14:34] local.INFO: TCP Data received {"connection_id":133750,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f663a5618012d196540071ff040003a004825..."} 
[2026-07-15 20:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f663a5618012d196540071ff040003a004825..."} 
[2026-07-15 20:14:34] local.INFO: Processing buffer {"connection_id":133750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f663a5618012d196540071ff040003a004825..."} 
[2026-07-15 20:14:34] local.INFO: Packet analysis {"connection_id":133750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f663a"} 
[2026-07-15 20:14:34] local.INFO: Extracted packet for processing {"connection_id":133750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f663a"} 
[2026-07-15 20:14:34] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736312832001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:14:34] 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-07-15 20:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784126527000,"timestamp_ms":1784126527000,"timestamp_seconds":1784126527,"priority":1,"record_length":96,"hex_timestamp":"0000019f663a5618"} 
[2026-07-15 20:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:14:34] 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-07-15 20:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:14: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-07-15 20:14:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":133750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":133750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":133750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736312832001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736312832001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:14:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:14:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736312832001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":133750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:14:34] local.INFO: GPS data processed {"connection_id":133750,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:14:34] local.INFO: Acknowledgment sent {"connection_id":133750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:14:39] local.INFO: TCP Data received {"connection_id":132725,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f663a4290012d76708005e9dc100009015429..."} 
[2026-07-15 20:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f663a4290012d76708005e9dc100009015429..."} 
[2026-07-15 20:14:39] local.INFO: Processing buffer {"connection_id":132725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f663a4290012d76708005e9dc100009015429..."} 
[2026-07-15 20:14:39] local.INFO: Packet analysis {"connection_id":132725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f663a"} 
[2026-07-15 20:14:39] local.INFO: Extracted packet for processing {"connection_id":132725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f663a"} 
[2026-07-15 20:14:39] local.INFO: GPS Element Parsed {"raw_longitude":762736768,"raw_latitude":99212304,"longitude_deg":76.2736768,"latitude_deg":9.9212304,"altitude":9,"angle":340,"satellites":41,"speed":26,"hex_longitude":"2d767080","hex_latitude":"05e9dc10","is_valid_coordinates":true} 
[2026-07-15 20:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736385024001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347445571298000896,"note":"Value kept but may cause issues"} 
[2026-07-15 20:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8538543443913910272,"note":"Value kept but may cause issues"} 
[2026-07-15 20:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784126522000,"timestamp_ms":1784126522000,"timestamp_seconds":1784126522,"priority":1,"record_length":96,"hex_timestamp":"0000019f663a4290"} 
[2026-07-15 20:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:14:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 20:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-15 20:14:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:14: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-07-15 20:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736385024001,"66":27180,"35":206,"87":12288,"24":26,"16":347445571298000896,"45":8538543443913910272},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,87,24,16,45]} 
[2026-07-15 20:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736385024001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:14:39] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-15 20:14:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-15 20:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347445571298000896,"km_value":347445571298000.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8538543443913910272,"description":"Unknown IO ID 45"} 
[2026-07-15 20:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736385024001,"power":27180,"unknown_35":206,"unknown_87":12288,"ignition":26,"odometer":null,"unknown_45":8538543443913910272}} 
[2026-07-15 20:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":132725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:14:39] local.INFO: GPS data processed {"connection_id":132725,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:14:39] local.INFO: Acknowledgment sent {"connection_id":132725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:14:50] local.INFO: TCP Data received {"connection_id":133752,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:14:50] local.INFO: Processing buffer {"connection_id":133752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:14:50] local.INFO: IMEI packet received {"connection_id":133752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":133752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:14:55] local.INFO: TCP Data received {"connection_id":133752,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:14:55] local.INFO: Processing buffer {"connection_id":133752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:14:55] local.INFO: IMEI packet received {"connection_id":133752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":133752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:14:56] local.INFO: TCP Data received {"connection_id":133752,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f663a5618012d196540071ff040003a004825..."} 
[2026-07-15 20:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f663a5618012d196540071ff040003a004825..."} 
[2026-07-15 20:14:56] local.INFO: Processing buffer {"connection_id":133752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f663a5618012d196540071ff040003a004825..."} 
[2026-07-15 20:14:56] local.INFO: Packet analysis {"connection_id":133752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f663a"} 
[2026-07-15 20:14:56] local.INFO: Extracted packet for processing {"connection_id":133752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f663a"} 
[2026-07-15 20:14:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736312832001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20: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-07-15 20:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784126527000,"timestamp_ms":1784126527000,"timestamp_seconds":1784126527,"priority":1,"record_length":96,"hex_timestamp":"0000019f663a5618"} 
[2026-07-15 20:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:14:56] 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-07-15 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:14: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-07-15 20: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-07-15 20:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:14:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736312832001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736312832001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:14:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:14:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736312832001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":133752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:14:56] local.INFO: GPS data processed {"connection_id":133752,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:14:56] local.INFO: Acknowledgment sent {"connection_id":133752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:15:00] local.INFO: TCP Data received {"connection_id":133753,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:15:00] local.INFO: Processing buffer {"connection_id":133753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:15:00] local.INFO: IMEI packet received {"connection_id":133753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 20:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":133753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:15:06] local.INFO: TCP Data received {"connection_id":133753,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:15:06] local.INFO: Processing buffer {"connection_id":133753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:15:06] local.INFO: IMEI packet received {"connection_id":133753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 20:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":133753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:15:06] local.INFO: TCP Data received {"connection_id":133753,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f663c03c8012d75fec005eaeb900003012b28..."} 
[2026-07-15 20:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f663c03c8012d75fec005eaeb900003012b28..."} 
[2026-07-15 20:15:06] local.INFO: Processing buffer {"connection_id":133753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f663c03c8012d75fec005eaeb900003012b28..."} 
[2026-07-15 20:15:06] local.INFO: Packet analysis {"connection_id":133753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f663c"} 
[2026-07-15 20:15:06] local.INFO: Extracted packet for processing {"connection_id":133753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f663c"} 
[2026-07-15 20:15:06] local.INFO: GPS Element Parsed {"raw_longitude":762707648,"raw_latitude":99281808,"longitude_deg":76.2707648,"latitude_deg":9.9281808,"altitude":3,"angle":299,"satellites":40,"speed":22,"hex_longitude":"2d75fec0","hex_latitude":"05eaeb90","is_valid_coordinates":true} 
[2026-07-15 20:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736418560001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347449252084973568,"note":"Value kept but may cause issues"} 
[2026-07-15 20:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8503570178077415424,"note":"Value kept but may cause issues"} 
[2026-07-15 20:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784126637000,"timestamp_ms":1784126637000,"timestamp_seconds":1784126637,"priority":1,"record_length":96,"hex_timestamp":"0000019f663c03c8"} 
[2026-07-15 20:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 20:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-15 20:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736418560001,"66":27300,"201":206,"87":12288,"24":22,"16":347449252084973568,"45":8503570178077415424},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-15 20:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736418560001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:15:06] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-15 20:15:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-15 20:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347449252084973568,"km_value":347449252084973.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8503570178077415424,"description":"Unknown IO ID 45"} 
[2026-07-15 20:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736418560001,"power":27300,"unknown_201":206,"unknown_87":12288,"ignition":22,"odometer":null,"unknown_45":8503570178077415424}} 
[2026-07-15 20:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":133753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:15:06] local.INFO: GPS data processed {"connection_id":133753,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:15:06] local.INFO: Acknowledgment sent {"connection_id":133753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:15:28] local.INFO: TCP Data received {"connection_id":133752,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f663a5618012d196540071ff040003a004825..."} 
[2026-07-15 20:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f663a5618012d196540071ff040003a004825..."} 
[2026-07-15 20:15:28] local.INFO: Processing buffer {"connection_id":133752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f663a5618012d196540071ff040003a004825..."} 
[2026-07-15 20:15:28] local.INFO: Packet analysis {"connection_id":133752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f663a"} 
[2026-07-15 20:15:28] local.INFO: Extracted packet for processing {"connection_id":133752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f663a"} 
[2026-07-15 20:15:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736312832001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:15: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-07-15 20:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784126527000,"timestamp_ms":1784126527000,"timestamp_seconds":1784126527,"priority":1,"record_length":96,"hex_timestamp":"0000019f663a5618"} 
[2026-07-15 20:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:15:28] 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-07-15 20:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:15: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-07-15 20:15:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":133752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":133752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":133752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:15:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736312832001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736312832001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:15:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:15:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736312832001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":133752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:15:28] local.INFO: GPS data processed {"connection_id":133752,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:15:28] local.INFO: Acknowledgment sent {"connection_id":133752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:15:37] local.INFO: TCP Data received {"connection_id":133753,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f663c2ec0012d75e80005eafa600003013d27..."} 
[2026-07-15 20:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f663c2ec0012d75e80005eafa600003013d27..."} 
[2026-07-15 20:15:37] local.INFO: Processing buffer {"connection_id":133753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f663c2ec0012d75e80005eafa600003013d27..."} 
[2026-07-15 20:15:37] local.INFO: Packet analysis {"connection_id":133753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f663c"} 
[2026-07-15 20:15:37] local.INFO: Extracted packet for processing {"connection_id":133753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f663c"} 
[2026-07-15 20:15:37] local.INFO: GPS Element Parsed {"raw_longitude":762701824,"raw_latitude":99285600,"longitude_deg":76.2701824,"latitude_deg":9.92856,"altitude":3,"angle":317,"satellites":39,"speed":22,"hex_longitude":"2d75e800","hex_latitude":"05eafa60","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736419072001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347449587092422656,"note":"Value kept but may cause issues"} 
[2026-07-15 20:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8502444278170750976,"note":"Value kept but may cause issues"} 
[2026-07-15 20:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784126648000,"timestamp_ms":1784126648000,"timestamp_seconds":1784126648,"priority":1,"record_length":96,"hex_timestamp":"0000019f663c2ec0"} 
[2026-07-15 20:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 20: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-15 20:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20: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-07-15 20:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736419072001,"66":27126,"201":206,"87":12288,"24":22,"16":347449587092422656,"45":8502444278170750976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-15 20:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736419072001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:15:37] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-15 20:15:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-15 20:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347449587092422656,"km_value":347449587092422.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8502444278170750976,"description":"Unknown IO ID 45"} 
[2026-07-15 20:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736419072001,"power":27126,"unknown_201":206,"unknown_87":12288,"ignition":22,"odometer":null,"unknown_45":8502444278170750976}} 
[2026-07-15 20:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":133753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:15:37] local.INFO: GPS data processed {"connection_id":133753,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:15:37] local.INFO: Acknowledgment sent {"connection_id":133753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:15:50] local.INFO: TCP Data received {"connection_id":132726,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:15:50] local.INFO: Processing buffer {"connection_id":132726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:15:50] local.INFO: IMEI packet received {"connection_id":132726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":132726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:15:55] local.INFO: TCP Data received {"connection_id":132726,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:15:55] local.INFO: Processing buffer {"connection_id":132726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:15:55] local.INFO: IMEI packet received {"connection_id":132726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":132726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:15:56] local.INFO: TCP Data received {"connection_id":132726,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f663a5618012d196540071ff040003a004825..."} 
[2026-07-15 20:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f663a5618012d196540071ff040003a004825..."} 
[2026-07-15 20:15:56] local.INFO: Processing buffer {"connection_id":132726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f663a5618012d196540071ff040003a004825..."} 
[2026-07-15 20:15:56] local.INFO: Packet analysis {"connection_id":132726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f663a"} 
[2026-07-15 20:15:56] local.INFO: Extracted packet for processing {"connection_id":132726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f663a"} 
[2026-07-15 20:15:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736312832001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20: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-07-15 20:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784126527000,"timestamp_ms":1784126527000,"timestamp_seconds":1784126527,"priority":1,"record_length":96,"hex_timestamp":"0000019f663a5618"} 
[2026-07-15 20:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:15:56] 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-07-15 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:15: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-07-15 20: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-07-15 20:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736312832001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736312832001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:15:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:15:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736312832001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":132726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:15:56] local.INFO: GPS data processed {"connection_id":132726,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:15:56] local.INFO: Acknowledgment sent {"connection_id":132726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:16:05] local.INFO: TCP Data received {"connection_id":133754,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:16:05] local.INFO: Processing buffer {"connection_id":133754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:16:05] local.INFO: IMEI packet received {"connection_id":133754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 20:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":133754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:16:10] local.INFO: TCP Data received {"connection_id":133754,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:16:10] local.INFO: Processing buffer {"connection_id":133754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:16:10] local.INFO: IMEI packet received {"connection_id":133754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 20:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":133754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:16:14] local.INFO: TCP Data received {"connection_id":133754,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f663d3c48012d757a8005eb64b80002001027..."} 
[2026-07-15 20:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f663d3c48012d757a8005eb64b80002001027..."} 
[2026-07-15 20:16:14] local.INFO: Processing buffer {"connection_id":133754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f663d3c48012d757a8005eb64b80002001027..."} 
[2026-07-15 20:16:14] local.INFO: Packet analysis {"connection_id":133754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f663d"} 
[2026-07-15 20:16:14] local.INFO: Extracted packet for processing {"connection_id":133754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f663d"} 
[2026-07-15 20:16:14] local.INFO: GPS Element Parsed {"raw_longitude":762673792,"raw_latitude":99312824,"longitude_deg":76.2673792,"latitude_deg":9.9312824,"altitude":2,"angle":16,"satellites":39,"speed":10,"hex_longitude":"2d757a80","hex_latitude":"05eb64b8","is_valid_coordinates":true} 
[2026-07-15 20:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:16:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736439296001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:16:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347451567072346112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:16:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8465148843764461568,"note":"Value kept but may cause issues"} 
[2026-07-15 20:16:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:16:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784126717000,"timestamp_ms":1784126717000,"timestamp_seconds":1784126717,"priority":1,"record_length":96,"hex_timestamp":"0000019f663d3c48"} 
[2026-07-15 20:16:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:16:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 20:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-15 20:16:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:16:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:16:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:16:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:16:14] local.INFO: Teltonika packet parsed successfully {"connection_id":133754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:16:14] local.INFO: Passing IMEI to GPS processor {"connection_id":133754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:16:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":133754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:16:14] 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-07-15 20:16:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:16:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:16:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736439296001,"66":27267,"186":206,"87":12288,"24":10,"16":347451567072346112,"45":8465148843764461568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,87,24,16,45]} 
[2026-07-15 20:16:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:16:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:16:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736439296001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:16:14] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-15 20:16:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-15 20:16:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347451567072346112,"km_value":347451567072346.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:16:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8465148843764461568,"description":"Unknown IO ID 45"} 
[2026-07-15 20:16:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736439296001,"power":27267,"unknown_186":206,"unknown_87":12288,"ignition":10,"odometer":null,"unknown_45":8465148843764461568}} 
[2026-07-15 20:16:14] local.INFO: DEBUG: GPS processor result {"connection_id":133754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:16:14] local.INFO: GPS data processed {"connection_id":133754,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:16:14] local.INFO: Acknowledgment sent {"connection_id":133754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:16:28] local.INFO: TCP Data received {"connection_id":132726,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f663a5618012d196540071ff040003a004825..."} 
[2026-07-15 20:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f663a5618012d196540071ff040003a004825..."} 
[2026-07-15 20:16:28] local.INFO: Processing buffer {"connection_id":132726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f663a5618012d196540071ff040003a004825..."} 
[2026-07-15 20:16:28] local.INFO: Packet analysis {"connection_id":132726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f663a"} 
[2026-07-15 20:16:28] local.INFO: Extracted packet for processing {"connection_id":132726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f663a"} 
[2026-07-15 20:16:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736312832001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:16:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:16: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-07-15 20:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784126527000,"timestamp_ms":1784126527000,"timestamp_seconds":1784126527,"priority":1,"record_length":96,"hex_timestamp":"0000019f663a5618"} 
[2026-07-15 20:16:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:16:28] 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-07-15 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:16: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-07-15 20: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-07-15 20:16:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:16:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:16:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736312832001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:16:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:16:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:16:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736312832001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:16:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:16:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:16:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:16:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:16:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736312832001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:16:28] local.INFO: DEBUG: GPS processor result {"connection_id":132726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:16:28] local.INFO: GPS data processed {"connection_id":132726,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:16:28] local.INFO: Acknowledgment sent {"connection_id":132726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:16:50] local.INFO: TCP Data received {"connection_id":133755,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:16:50] local.INFO: Processing buffer {"connection_id":133755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:16:50] local.INFO: IMEI packet received {"connection_id":133755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":133755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:16:55] local.INFO: TCP Data received {"connection_id":133755,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:16:55] local.INFO: Processing buffer {"connection_id":133755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:16:55] local.INFO: IMEI packet received {"connection_id":133755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":133755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:16:56] local.INFO: TCP Data received {"connection_id":133755,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f663a5618012d196540071ff040003a004825..."} 
[2026-07-15 20:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f663a5618012d196540071ff040003a004825..."} 
[2026-07-15 20:16:56] local.INFO: Processing buffer {"connection_id":133755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f663a5618012d196540071ff040003a004825..."} 
[2026-07-15 20:16:56] local.INFO: Packet analysis {"connection_id":133755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f663a"} 
[2026-07-15 20:16:56] local.INFO: Extracted packet for processing {"connection_id":133755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f663a"} 
[2026-07-15 20:16:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736312832001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:16: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-07-15 20:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784126527000,"timestamp_ms":1784126527000,"timestamp_seconds":1784126527,"priority":1,"record_length":96,"hex_timestamp":"0000019f663a5618"} 
[2026-07-15 20:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:16:56] 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-07-15 20:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:16: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-07-15 20:16:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:16:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736312832001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736312832001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:16:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:16:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736312832001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":133755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:16:56] local.INFO: GPS data processed {"connection_id":133755,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:16:56] local.INFO: Acknowledgment sent {"connection_id":133755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:17:00] local.INFO: TCP Data received {"connection_id":133756,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:17:00] local.INFO: Processing buffer {"connection_id":133756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:17:00] local.INFO: IMEI packet received {"connection_id":133756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 20:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":133756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:17:05] local.INFO: TCP Data received {"connection_id":133756,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:17:05] local.INFO: Processing buffer {"connection_id":133756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:17:05] local.INFO: IMEI packet received {"connection_id":133756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 20:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":133756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:17:06] local.INFO: TCP Data received {"connection_id":133756,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f663d4418012d757bc005eb66b80002002827..."} 
[2026-07-15 20:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f663d4418012d757bc005eb66b80002002827..."} 
[2026-07-15 20:17:06] local.INFO: Processing buffer {"connection_id":133756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f663d4418012d757bc005eb66b80002002827..."} 
[2026-07-15 20:17:06] local.INFO: Packet analysis {"connection_id":133756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f663d"} 
[2026-07-15 20:17:06] local.INFO: Extracted packet for processing {"connection_id":133756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f663d"} 
[2026-07-15 20:17:06] local.INFO: GPS Element Parsed {"raw_longitude":762674112,"raw_latitude":99313336,"longitude_deg":76.2674112,"latitude_deg":9.9313336,"altitude":2,"angle":40,"satellites":39,"speed":14,"hex_longitude":"2d757bc0","hex_latitude":"05eb66b8","is_valid_coordinates":true} 
[2026-07-15 20:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736439552001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347451597137117184,"note":"Value kept but may cause issues"} 
[2026-07-15 20:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8465219212508706816,"note":"Value kept but may cause issues"} 
[2026-07-15 20:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784126719000,"timestamp_ms":1784126719000,"timestamp_seconds":1784126719,"priority":1,"record_length":96,"hex_timestamp":"0000019f663d4418"} 
[2026-07-15 20:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 20:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-15 20:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736439552001,"66":27300,"186":206,"87":12288,"24":14,"16":347451597137117184,"45":8465219212508706816},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,87,24,16,45]} 
[2026-07-15 20:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736439552001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:17:06] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-15 20:17:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-15 20:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347451597137117184,"km_value":347451597137117.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8465219212508706816,"description":"Unknown IO ID 45"} 
[2026-07-15 20:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736439552001,"power":27300,"unknown_186":206,"unknown_87":12288,"ignition":14,"odometer":null,"unknown_45":8465219212508706816}} 
[2026-07-15 20:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":133756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:17:06] local.INFO: GPS data processed {"connection_id":133756,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:17:06] local.INFO: Acknowledgment sent {"connection_id":133756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:17:28] local.INFO: TCP Data received {"connection_id":133755,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f663a5618012d196540071ff040003a004825..."} 
[2026-07-15 20:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f663a5618012d196540071ff040003a004825..."} 
[2026-07-15 20:17:28] local.INFO: Processing buffer {"connection_id":133755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f663a5618012d196540071ff040003a004825..."} 
[2026-07-15 20:17:28] local.INFO: Packet analysis {"connection_id":133755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f663a"} 
[2026-07-15 20:17:28] local.INFO: Extracted packet for processing {"connection_id":133755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f663a"} 
[2026-07-15 20:17:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736312832001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:17:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:17: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-07-15 20:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784126527000,"timestamp_ms":1784126527000,"timestamp_seconds":1784126527,"priority":1,"record_length":96,"hex_timestamp":"0000019f663a5618"} 
[2026-07-15 20:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:17:28] 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-07-15 20:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:17: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-07-15 20:17:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":133755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":133755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":133755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:17:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736312832001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736312832001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:17:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:17:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:17:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736312832001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":133755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:17:28] local.INFO: GPS data processed {"connection_id":133755,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:17:28] local.INFO: Acknowledgment sent {"connection_id":133755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:17:37] local.INFO: TCP Data received {"connection_id":133756,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f663d4800012d757d0005eb67c00001003626..."} 
[2026-07-15 20:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f663d4800012d757d0005eb67c00001003626..."} 
[2026-07-15 20:17:37] local.INFO: Processing buffer {"connection_id":133756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f663d4800012d757d0005eb67c00001003626..."} 
[2026-07-15 20:17:37] local.INFO: Packet analysis {"connection_id":133756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f663d"} 
[2026-07-15 20:17:37] local.INFO: Extracted packet for processing {"connection_id":133756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f663d"} 
[2026-07-15 20:17:37] local.INFO: GPS Element Parsed {"raw_longitude":762674432,"raw_latitude":99313600,"longitude_deg":76.2674432,"latitude_deg":9.93136,"altitude":1,"angle":54,"satellites":38,"speed":17,"hex_longitude":"2d757d00","hex_latitude":"05eb67c0","is_valid_coordinates":true} 
[2026-07-15 20:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736440064001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347451618611953664,"note":"Value kept but may cause issues"} 
[2026-07-15 20:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8465571056229726208,"note":"Value kept but may cause issues"} 
[2026-07-15 20:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784126720000,"timestamp_ms":1784126720000,"timestamp_seconds":1784126720,"priority":1,"record_length":96,"hex_timestamp":"0000019f663d4800"} 
[2026-07-15 20:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 20:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-15 20:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736440064001,"66":27300,"186":206,"87":12288,"24":17,"16":347451618611953664,"45":8465571056229726208},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,87,24,16,45]} 
[2026-07-15 20:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736440064001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:17:37] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-15 20:17:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-15 20:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347451618611953664,"km_value":347451618611953.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8465571056229726208,"description":"Unknown IO ID 45"} 
[2026-07-15 20:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736440064001,"power":27300,"unknown_186":206,"unknown_87":12288,"ignition":17,"odometer":null,"unknown_45":8465571056229726208}} 
[2026-07-15 20:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":133756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:17:37] local.INFO: GPS data processed {"connection_id":133756,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:17:37] local.INFO: Acknowledgment sent {"connection_id":133756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:17:39] local.INFO: TCP Data received {"connection_id":132901,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132901,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:17:39] local.INFO: Processing buffer {"connection_id":132901,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:17:39] local.INFO: IMEI packet received {"connection_id":132901,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 20:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":132901,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:17:58] local.INFO: TCP Data received {"connection_id":135112,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:17:58] local.INFO: Processing buffer {"connection_id":135112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:17:58] local.INFO: IMEI packet received {"connection_id":135112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":135112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:18:00] local.INFO: TCP Data received {"connection_id":135112,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:18:00] local.INFO: Processing buffer {"connection_id":135112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:18:00] local.INFO: IMEI packet received {"connection_id":135112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":135112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:18:03] local.INFO: TCP Data received {"connection_id":132902,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:18:03] local.INFO: Processing buffer {"connection_id":132902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:18:03] local.INFO: IMEI packet received {"connection_id":132902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 20:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":132902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:18:04] local.INFO: TCP Data received {"connection_id":132902,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:18:04] local.INFO: Processing buffer {"connection_id":132902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:18:04] local.INFO: IMEI packet received {"connection_id":132902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 20:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":132902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:18:05] local.INFO: TCP Data received {"connection_id":135112,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:18:05] local.INFO: Processing buffer {"connection_id":135112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:18:05] local.INFO: IMEI packet received {"connection_id":135112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":135112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:18:05] local.INFO: TCP Data received {"connection_id":132902,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:18:05] local.INFO: Processing buffer {"connection_id":132902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:18:05] local.INFO: IMEI packet received {"connection_id":132902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 20:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":132902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:18:05] local.INFO: TCP Data received {"connection_id":132902,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:18:05] local.INFO: Processing buffer {"connection_id":132902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:18:05] local.INFO: IMEI packet received {"connection_id":132902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 20:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":132902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:18:06] local.INFO: TCP Data received {"connection_id":135112,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f663f2c60012d196540071ff040003a004824..."} 
[2026-07-15 20:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f663f2c60012d196540071ff040003a004824..."} 
[2026-07-15 20:18:06] local.INFO: Processing buffer {"connection_id":135112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f663f2c60012d196540071ff040003a004824..."} 
[2026-07-15 20:18:06] local.INFO: Packet analysis {"connection_id":135112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f663f"} 
[2026-07-15 20:18:06] local.INFO: Extracted packet for processing {"connection_id":135112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f663f"} 
[2026-07-15 20:18:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736390912001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:18:06] 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-07-15 20:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784126844000,"timestamp_ms":1784126844000,"timestamp_seconds":1784126844,"priority":1,"record_length":96,"hex_timestamp":"0000019f663f2c60"} 
[2026-07-15 20:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20: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-07-15 20:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736390912001,"66":2177,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736390912001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:18:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:18:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736390912001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":135112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:18:06] local.INFO: GPS data processed {"connection_id":135112,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:18:06] local.INFO: Acknowledgment sent {"connection_id":135112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:18:50] local.INFO: TCP Data received {"connection_id":135113,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:18:50] local.INFO: Processing buffer {"connection_id":135113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:18:50] local.INFO: IMEI packet received {"connection_id":135113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":135113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:18:55] local.INFO: TCP Data received {"connection_id":135113,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:18:55] local.INFO: Processing buffer {"connection_id":135113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:18:55] local.INFO: IMEI packet received {"connection_id":135113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":135113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:18:56] local.INFO: TCP Data received {"connection_id":135113,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f663f2c60012d196540071ff040003a004824..."} 
[2026-07-15 20:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f663f2c60012d196540071ff040003a004824..."} 
[2026-07-15 20:18:56] local.INFO: Processing buffer {"connection_id":135113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f663f2c60012d196540071ff040003a004824..."} 
[2026-07-15 20:18:56] local.INFO: Packet analysis {"connection_id":135113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f663f"} 
[2026-07-15 20:18:56] local.INFO: Extracted packet for processing {"connection_id":135113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f663f"} 
[2026-07-15 20:18:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736390912001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:18: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-07-15 20:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784126844000,"timestamp_ms":1784126844000,"timestamp_seconds":1784126844,"priority":1,"record_length":96,"hex_timestamp":"0000019f663f2c60"} 
[2026-07-15 20:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:18:56] 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-07-15 20:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:18: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-07-15 20:18:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":135113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":135113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":135113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736390912001,"66":2177,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736390912001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:18:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:18:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736390912001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":135113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:18:56] local.INFO: GPS data processed {"connection_id":135113,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:18:56] local.INFO: Acknowledgment sent {"connection_id":135113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:19:28] local.INFO: TCP Data received {"connection_id":135113,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f663f2c60012d196540071ff040003a004824..."} 
[2026-07-15 20:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f663f2c60012d196540071ff040003a004824..."} 
[2026-07-15 20:19:28] local.INFO: Processing buffer {"connection_id":135113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f663f2c60012d196540071ff040003a004824..."} 
[2026-07-15 20:19:28] local.INFO: Packet analysis {"connection_id":135113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f663f"} 
[2026-07-15 20:19:28] local.INFO: Extracted packet for processing {"connection_id":135113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f663f"} 
[2026-07-15 20:19:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 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-07-15 20:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736390912001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:19: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-07-15 20:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784126844000,"timestamp_ms":1784126844000,"timestamp_seconds":1784126844,"priority":1,"record_length":96,"hex_timestamp":"0000019f663f2c60"} 
[2026-07-15 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-07-15 20:19:28] 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-07-15 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:19: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-07-15 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-07-15 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-07-15 20:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":135113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":135113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":135113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736390912001,"66":2177,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736390912001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:19:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:19:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736390912001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":135113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:19:29] local.INFO: GPS data processed {"connection_id":135113,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:19:29] local.INFO: Acknowledgment sent {"connection_id":135113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:19:55] local.INFO: TCP Data received {"connection_id":132730,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:19:55] local.INFO: Processing buffer {"connection_id":132730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:19:55] local.INFO: IMEI packet received {"connection_id":132730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":132730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:20:00] local.INFO: TCP Data received {"connection_id":132730,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:20:00] local.INFO: Processing buffer {"connection_id":132730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:20:00] local.INFO: IMEI packet received {"connection_id":132730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":132730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:20:01] local.INFO: TCP Data received {"connection_id":132730,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f663f2c60012d196540071ff040003a004824..."} 
[2026-07-15 20:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f663f2c60012d196540071ff040003a004824..."} 
[2026-07-15 20:20:01] local.INFO: Processing buffer {"connection_id":132730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f663f2c60012d196540071ff040003a004824..."} 
[2026-07-15 20:20:01] local.INFO: Packet analysis {"connection_id":132730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f663f"} 
[2026-07-15 20:20:01] local.INFO: Extracted packet for processing {"connection_id":132730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f663f"} 
[2026-07-15 20:20:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736390912001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:20:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:20:01] 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-07-15 20:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784126844000,"timestamp_ms":1784126844000,"timestamp_seconds":1784126844,"priority":1,"record_length":96,"hex_timestamp":"0000019f663f2c60"} 
[2026-07-15 20:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:20:01] 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-07-15 20:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:20: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-07-15 20:20:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":132730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":132730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":132730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:20:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736390912001,"66":2177,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736390912001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:20:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:20:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:20:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736390912001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":132730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492797,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:20:01] local.INFO: GPS data processed {"connection_id":132730,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:20:01] local.INFO: Acknowledgment sent {"connection_id":132730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:20:05] local.INFO: TCP Data received {"connection_id":132730,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f663f2c60012d196540071ff040003a004824..."} 
[2026-07-15 20:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f663f2c60012d196540071ff040003a004824..."} 
[2026-07-15 20:20:05] local.INFO: Processing buffer {"connection_id":132730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f663f2c60012d196540071ff040003a004824..."} 
[2026-07-15 20:20:05] local.INFO: Packet analysis {"connection_id":132730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f663f"} 
[2026-07-15 20:20:05] local.INFO: Extracted packet for processing {"connection_id":132730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f663f"} 
[2026-07-15 20:20:05] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736390912001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:20: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-07-15 20:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784126844000,"timestamp_ms":1784126844000,"timestamp_seconds":1784126844,"priority":1,"record_length":96,"hex_timestamp":"0000019f663f2c60"} 
[2026-07-15 20:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:20:05] 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-07-15 20: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-07-15 20: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-07-15 20: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-07-15 20:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736390912001,"66":2177,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736390912001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:20:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:20:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736390912001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":132730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:20:05] local.INFO: GPS data processed {"connection_id":132730,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:20:05] local.INFO: Acknowledgment sent {"connection_id":132730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:20:53] local.INFO: TCP Data received {"connection_id":133758,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:20:53] local.INFO: Processing buffer {"connection_id":133758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:20:53] local.INFO: IMEI packet received {"connection_id":133758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":133758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:20:55] local.INFO: TCP Data received {"connection_id":133758,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:20:55] local.INFO: Processing buffer {"connection_id":133758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:20:55] local.INFO: IMEI packet received {"connection_id":133758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":133758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:21:01] local.INFO: TCP Data received {"connection_id":133758,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f663f2c60012d196540071ff040003a004824..."} 
[2026-07-15 20:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f663f2c60012d196540071ff040003a004824..."} 
[2026-07-15 20:21:01] local.INFO: Processing buffer {"connection_id":133758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f663f2c60012d196540071ff040003a004824..."} 
[2026-07-15 20:21:01] local.INFO: Packet analysis {"connection_id":133758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f663f"} 
[2026-07-15 20:21:01] local.INFO: Extracted packet for processing {"connection_id":133758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f663f"} 
[2026-07-15 20:21:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736390912001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:21:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:21:01] 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-07-15 20:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784126844000,"timestamp_ms":1784126844000,"timestamp_seconds":1784126844,"priority":1,"record_length":96,"hex_timestamp":"0000019f663f2c60"} 
[2026-07-15 20:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:21:01] 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-07-15 20:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:21: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-07-15 20:21:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":133758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":133758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":133758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:21:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736390912001,"66":2177,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736390912001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:21:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:21:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:21:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736390912001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":133758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:21:01] local.INFO: GPS data processed {"connection_id":133758,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:21:01] local.INFO: Acknowledgment sent {"connection_id":133758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:21:03] local.INFO: TCP Data received {"connection_id":133758,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f663f2c60012d196540071ff040003a004824..."} 
[2026-07-15 20:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f663f2c60012d196540071ff040003a004824..."} 
[2026-07-15 20:21:03] local.INFO: Processing buffer {"connection_id":133758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f663f2c60012d196540071ff040003a004824..."} 
[2026-07-15 20:21:03] local.INFO: Packet analysis {"connection_id":133758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f663f"} 
[2026-07-15 20:21:03] local.INFO: Extracted packet for processing {"connection_id":133758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f663f"} 
[2026-07-15 20:21:03] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736390912001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:21:03] 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-07-15 20:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784126844000,"timestamp_ms":1784126844000,"timestamp_seconds":1784126844,"priority":1,"record_length":96,"hex_timestamp":"0000019f663f2c60"} 
[2026-07-15 20:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:21:03] 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-07-15 20:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:21: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-07-15 20:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":133758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":133758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":133758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736390912001,"66":2177,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736390912001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:21:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:21:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736390912001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":133758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492800,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:21:03] local.INFO: GPS data processed {"connection_id":133758,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:21:03] local.INFO: Acknowledgment sent {"connection_id":133758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:21:35] local.INFO: TCP Data received {"connection_id":133758,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f663f2c60012d196540071ff040003a004824..."} 
[2026-07-15 20:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f663f2c60012d196540071ff040003a004824..."} 
[2026-07-15 20:21:35] local.INFO: Processing buffer {"connection_id":133758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f663f2c60012d196540071ff040003a004824..."} 
[2026-07-15 20:21:35] local.INFO: Packet analysis {"connection_id":133758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f663f"} 
[2026-07-15 20:21:35] local.INFO: Extracted packet for processing {"connection_id":133758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f663f"} 
[2026-07-15 20:21:35] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736390912001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:21:35] 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-07-15 20:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784126844000,"timestamp_ms":1784126844000,"timestamp_seconds":1784126844,"priority":1,"record_length":96,"hex_timestamp":"0000019f663f2c60"} 
[2026-07-15 20:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:21: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-07-15 20:21:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":133758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":133758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":133758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736390912001,"66":2177,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736390912001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:21:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:21:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736390912001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":133758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:21:35] local.INFO: GPS data processed {"connection_id":133758,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:21:35] local.INFO: Acknowledgment sent {"connection_id":133758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:21:51] local.INFO: TCP Data received {"connection_id":135116,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:21:51] local.INFO: Processing buffer {"connection_id":135116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:21:51] local.INFO: IMEI packet received {"connection_id":135116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":135116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:21:55] local.INFO: TCP Data received {"connection_id":135116,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:21:55] local.INFO: Processing buffer {"connection_id":135116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:21:55] local.INFO: IMEI packet received {"connection_id":135116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":135116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:21:58] local.INFO: TCP Data received {"connection_id":135116,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f663f2c60012d196540071ff040003a004824..."} 
[2026-07-15 20:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f663f2c60012d196540071ff040003a004824..."} 
[2026-07-15 20:21:58] local.INFO: Processing buffer {"connection_id":135116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f663f2c60012d196540071ff040003a004824..."} 
[2026-07-15 20:21:58] local.INFO: Packet analysis {"connection_id":135116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f663f"} 
[2026-07-15 20:21:58] local.INFO: Extracted packet for processing {"connection_id":135116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f663f"} 
[2026-07-15 20:21:58] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736390912001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:21: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-07-15 20:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784126844000,"timestamp_ms":1784126844000,"timestamp_seconds":1784126844,"priority":1,"record_length":96,"hex_timestamp":"0000019f663f2c60"} 
[2026-07-15 20:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:21:58] 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-07-15 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:21:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20: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-07-15 20:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":135116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":135116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":135116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:21:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736390912001,"66":2177,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736390912001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:21:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:21:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736390912001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":135116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:21:58] local.INFO: GPS data processed {"connection_id":135116,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:21:58] local.INFO: Acknowledgment sent {"connection_id":135116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:22:30] local.INFO: TCP Data received {"connection_id":135116,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f663f2c60012d196540071ff040003a004824..."} 
[2026-07-15 20:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f663f2c60012d196540071ff040003a004824..."} 
[2026-07-15 20:22:30] local.INFO: Processing buffer {"connection_id":135116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f663f2c60012d196540071ff040003a004824..."} 
[2026-07-15 20:22:30] local.INFO: Packet analysis {"connection_id":135116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f663f"} 
[2026-07-15 20:22:30] local.INFO: Extracted packet for processing {"connection_id":135116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f663f"} 
[2026-07-15 20:22:30] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736390912001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:22: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-07-15 20:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784126844000,"timestamp_ms":1784126844000,"timestamp_seconds":1784126844,"priority":1,"record_length":96,"hex_timestamp":"0000019f663f2c60"} 
[2026-07-15 20:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:22:30] 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-07-15 20:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:22: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-07-15 20:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":135116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":135116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":135116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736390912001,"66":2177,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736390912001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:22:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:22:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736390912001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":135116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492803,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:22:30] local.INFO: GPS data processed {"connection_id":135116,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:22:30] local.INFO: Acknowledgment sent {"connection_id":135116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:22:50] local.INFO: TCP Data received {"connection_id":133759,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:22:50] local.INFO: Processing buffer {"connection_id":133759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:22:50] local.INFO: IMEI packet received {"connection_id":133759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":133759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:22:55] local.INFO: TCP Data received {"connection_id":133759,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:22:55] local.INFO: Processing buffer {"connection_id":133759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:22:55] local.INFO: IMEI packet received {"connection_id":133759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":133759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:22:56] local.INFO: TCP Data received {"connection_id":133759,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6643cfe0012d196540071ff040003a004821..."} 
[2026-07-15 20:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6643cfe0012d196540071ff040003a004821..."} 
[2026-07-15 20:22:56] local.INFO: Processing buffer {"connection_id":133759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6643cfe0012d196540071ff040003a004821..."} 
[2026-07-15 20:22:56] local.INFO: Packet analysis {"connection_id":133759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6643"} 
[2026-07-15 20:22:56] local.INFO: Extracted packet for processing {"connection_id":133759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6643"} 
[2026-07-15 20:22:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":33,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736472064001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:22:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:22: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-07-15 20:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784127148000,"timestamp_ms":1784127148000,"timestamp_seconds":1784127148,"priority":1,"record_length":96,"hex_timestamp":"0000019f6643cfe0"} 
[2026-07-15 20:22:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:22:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 20:22:56] 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-07-15 20:22:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:22:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:22:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736472064001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736472064001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:22:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:22:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:22:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736472064001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:22:56] local.INFO: DEBUG: GPS processor result {"connection_id":133759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:22:56] local.INFO: GPS data processed {"connection_id":133759,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:22:56] local.INFO: Acknowledgment sent {"connection_id":133759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:23:06] local.INFO: TCP Data received {"connection_id":132905,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132905,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:23:06] local.INFO: Processing buffer {"connection_id":132905,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:23:06] local.INFO: IMEI packet received {"connection_id":132905,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 20:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":132905,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:23:10] local.INFO: TCP Data received {"connection_id":135117,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:23:10] local.INFO: Processing buffer {"connection_id":135117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:23:10] local.INFO: IMEI packet received {"connection_id":135117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 20:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":135117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:23:11] local.INFO: TCP Data received {"connection_id":135117,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f66426c68012d78044005ed6ce80000003e29..."} 
[2026-07-15 20:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66426c68012d78044005ed6ce80000003e29..."} 
[2026-07-15 20:23:11] local.INFO: Processing buffer {"connection_id":135117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66426c68012d78044005ed6ce80000003e29..."} 
[2026-07-15 20:23:11] local.INFO: Packet analysis {"connection_id":135117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6642"} 
[2026-07-15 20:23:11] local.INFO: Extracted packet for processing {"connection_id":135117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6642"} 
[2026-07-15 20:23:11] local.INFO: GPS Element Parsed {"raw_longitude":762840128,"raw_latitude":99445992,"longitude_deg":76.2840128,"latitude_deg":9.9445992,"altitude":0,"angle":62,"satellites":41,"speed":30,"hex_longitude":"2d780440","hex_latitude":"05ed6ce8","is_valid_coordinates":true} 
[2026-07-15 20:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736525824001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347463094764568576,"note":"Value kept but may cause issues"} 
[2026-07-15 20:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8645855778846507008,"note":"Value kept but may cause issues"} 
[2026-07-15 20:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784127057000,"timestamp_ms":1784127057000,"timestamp_seconds":1784127057,"priority":1,"record_length":96,"hex_timestamp":"0000019f66426c68"} 
[2026-07-15 20:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 20:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-15 20:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":135117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":135117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":135117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:23:11] 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-07-15 20:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736525824001,"66":27332,"129":206,"87":13824,"24":30,"16":347463094764568576,"45":8645855778846507008},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-07-15 20:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736525824001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:23:11] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-15 20:23:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 20:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347463094764568576,"km_value":347463094764568.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8645855778846507008,"description":"Unknown IO ID 45"} 
[2026-07-15 20:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736525824001,"power":27332,"unknown_129":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8645855778846507008}} 
[2026-07-15 20:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":135117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:23:11] local.INFO: GPS data processed {"connection_id":135117,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:23:11] local.INFO: Acknowledgment sent {"connection_id":135117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:23:28] local.INFO: TCP Data received {"connection_id":133759,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6643cfe0012d196540071ff040003a004821..."} 
[2026-07-15 20:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6643cfe0012d196540071ff040003a004821..."} 
[2026-07-15 20:23:28] local.INFO: Processing buffer {"connection_id":133759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6643cfe0012d196540071ff040003a004821..."} 
[2026-07-15 20:23:28] local.INFO: Packet analysis {"connection_id":133759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6643"} 
[2026-07-15 20:23:28] local.INFO: Extracted packet for processing {"connection_id":133759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6643"} 
[2026-07-15 20:23:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":33,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736472064001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20: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-07-15 20:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784127148000,"timestamp_ms":1784127148000,"timestamp_seconds":1784127148,"priority":1,"record_length":96,"hex_timestamp":"0000019f6643cfe0"} 
[2026-07-15 20:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:23:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20: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":129,"data_length":795,"current_offset":136} 
[2026-07-15 20:23: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-07-15 20: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-07-15 20:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":133759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":133759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":133759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:23:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736472064001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736472064001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:23:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:23:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736472064001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":133759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:23:28] local.INFO: GPS data processed {"connection_id":133759,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:23:28] local.INFO: Acknowledgment sent {"connection_id":133759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:23:39] local.INFO: TCP Data received {"connection_id":132906,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132906,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:23:39] local.INFO: Processing buffer {"connection_id":132906,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:23:39] local.INFO: IMEI packet received {"connection_id":132906,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 20:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":132906,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:23:45] local.INFO: TCP Data received {"connection_id":135117,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6642aae8012d7823c005ed7d18000200412c..."} 
[2026-07-15 20:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6642aae8012d7823c005ed7d18000200412c..."} 
[2026-07-15 20:23:45] local.INFO: Processing buffer {"connection_id":135117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6642aae8012d7823c005ed7d18000200412c..."} 
[2026-07-15 20:23:45] local.INFO: Packet analysis {"connection_id":135117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6642"} 
[2026-07-15 20:23:45] local.INFO: Extracted packet for processing {"connection_id":135117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6642"} 
[2026-07-15 20:23:45] local.INFO: GPS Element Parsed {"raw_longitude":762848192,"raw_latitude":99450136,"longitude_deg":76.2848192,"latitude_deg":9.9450136,"altitude":2,"angle":65,"satellites":44,"speed":16,"hex_longitude":"2d7823c0","hex_latitude":"05ed7d18","is_valid_coordinates":true} 
[2026-07-15 20:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736526592001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347463528556265472,"note":"Value kept but may cause issues"} 
[2026-07-15 20:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8648107578660546560,"note":"Value kept but may cause issues"} 
[2026-07-15 20:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784127073000,"timestamp_ms":1784127073000,"timestamp_seconds":1784127073,"priority":1,"record_length":96,"hex_timestamp":"0000019f6642aae8"} 
[2026-07-15 20:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 20:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-15 20:23:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:23:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":135117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":135117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":135117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736526592001,"66":27321,"129":206,"87":13824,"24":16,"16":347463528556265472,"45":8648107578660546560},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-07-15 20:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736526592001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:23:45] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-15 20:23:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 20:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347463528556265472,"km_value":347463528556265.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8648107578660546560,"description":"Unknown IO ID 45"} 
[2026-07-15 20:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736526592001,"power":27321,"unknown_129":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8648107578660546560}} 
[2026-07-15 20:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":135117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:23:45] local.INFO: GPS data processed {"connection_id":135117,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:23:45] local.INFO: Acknowledgment sent {"connection_id":135117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:23:55] local.INFO: TCP Data received {"connection_id":133760,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:23:55] local.INFO: Processing buffer {"connection_id":133760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:23:55] local.INFO: IMEI packet received {"connection_id":133760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":133760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:24:00] local.INFO: TCP Data received {"connection_id":135118,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:24:00] local.INFO: Processing buffer {"connection_id":135118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:24:00] local.INFO: IMEI packet received {"connection_id":135118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 20:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":135118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:24:00] local.INFO: TCP Data received {"connection_id":133760,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:24:00] local.INFO: Processing buffer {"connection_id":133760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:24:00] local.INFO: IMEI packet received {"connection_id":133760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":133760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:24:00] local.INFO: TCP Data received {"connection_id":135118,"ip":"42.106.6.22","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-15 20:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135118,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-15 20:24:00] local.INFO: Processing buffer {"connection_id":135118,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-15 20:24:00] local.INFO: IMEI packet received {"connection_id":135118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 20:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":135118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:24:02] local.INFO: TCP Data received {"connection_id":133760,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6643cfe0012d196540071ff040003a004821..."} 
[2026-07-15 20:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6643cfe0012d196540071ff040003a004821..."} 
[2026-07-15 20:24:02] local.INFO: Processing buffer {"connection_id":133760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6643cfe0012d196540071ff040003a004821..."} 
[2026-07-15 20:24:02] local.INFO: Packet analysis {"connection_id":133760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6643"} 
[2026-07-15 20:24:02] local.INFO: Extracted packet for processing {"connection_id":133760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6643"} 
[2026-07-15 20:24:02] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":33,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736472064001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:24:02] 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-07-15 20:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784127148000,"timestamp_ms":1784127148000,"timestamp_seconds":1784127148,"priority":1,"record_length":96,"hex_timestamp":"0000019f6643cfe0"} 
[2026-07-15 20:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:24:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 20:24:02] 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-07-15 20:24:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":133760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":133760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":133760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736472064001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736472064001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:24:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:24:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736472064001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":133760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:24:02] local.INFO: GPS data processed {"connection_id":133760,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:24:02] local.INFO: Acknowledgment sent {"connection_id":133760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:24:05] local.INFO: TCP Data received {"connection_id":135118,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:24:05] local.INFO: Processing buffer {"connection_id":135118,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-15 20:24:05] local.INFO: IMEI packet received {"connection_id":135118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 20:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":135118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:24:06] local.INFO: TCP Data received {"connection_id":133760,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6643cfe0012d196540071ff040003a004821..."} 
[2026-07-15 20:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6643cfe0012d196540071ff040003a004821..."} 
[2026-07-15 20:24:06] local.INFO: Processing buffer {"connection_id":133760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6643cfe0012d196540071ff040003a004821..."} 
[2026-07-15 20:24:06] local.INFO: Packet analysis {"connection_id":133760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6643"} 
[2026-07-15 20:24:06] local.INFO: Extracted packet for processing {"connection_id":133760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6643"} 
[2026-07-15 20:24:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":33,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736472064001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:24:06] 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-07-15 20:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784127148000,"timestamp_ms":1784127148000,"timestamp_seconds":1784127148,"priority":1,"record_length":96,"hex_timestamp":"0000019f6643cfe0"} 
[2026-07-15 20:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 20:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736472064001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736472064001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:24:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:24:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736472064001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":133760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:24:06] local.INFO: GPS data processed {"connection_id":133760,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:24:06] local.INFO: Acknowledgment sent {"connection_id":133760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:24:07] local.INFO: TCP Data received {"connection_id":135118,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6642e968012d78444005ed8d400004003e2c..."} 
[2026-07-15 20:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6642e968012d78444005ed8d400004003e2c..."} 
[2026-07-15 20:24:07] local.INFO: Processing buffer {"connection_id":135118,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f66..."} 
[2026-07-15 20:24:07] local.INFO: IMEI packet received {"connection_id":135118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 20:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":135118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:24:13] local.INFO: TCP Data received {"connection_id":135118,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f66431848012d7864c005ed9d900006003f2d..."} 
[2026-07-15 20:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66431848012d7864c005ed9d900006003f2d..."} 
[2026-07-15 20:24:13] local.INFO: Processing buffer {"connection_id":135118,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f6642e968012d78444005ed8d400004003e2c..."} 
[2026-07-15 20:24:13] local.INFO: Packet analysis {"connection_id":135118,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f6642"} 
[2026-07-15 20:24:13] local.INFO: Extracted packet for processing {"connection_id":135118,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6642"} 
[2026-07-15 20:24:13] local.INFO: GPS Element Parsed {"raw_longitude":762856512,"raw_latitude":99454272,"longitude_deg":76.2856512,"latitude_deg":9.9454272,"altitude":4,"angle":62,"satellites":44,"speed":27,"hex_longitude":"2d784440","hex_latitude":"05ed8d40","is_valid_coordinates":true} 
[2026-07-15 20:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736530688001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347463975232864256,"note":"Value kept but may cause issues"} 
[2026-07-15 20:24:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8656974040427993088,"note":"Value kept but may cause issues"} 
[2026-07-15 20:24:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784127089000,"timestamp_ms":1784127089000,"timestamp_seconds":1784127089,"priority":1,"record_length":96,"hex_timestamp":"0000019f6642e968"} 
[2026-07-15 20:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:24:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 20:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-15 20:24:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:24:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":135118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":135118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":135118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:24:13] 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-07-15 20:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736530688001,"66":27267,"129":206,"87":13824,"24":27,"16":347463975232864256,"45":8656974040427993088},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-07-15 20:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736530688001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:24:13] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-15 20:24:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 20:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347463975232864256,"km_value":347463975232864.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:24:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8656974040427993088,"description":"Unknown IO ID 45"} 
[2026-07-15 20:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736530688001,"power":27267,"unknown_129":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8656974040427993088}} 
[2026-07-15 20:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":135118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:24:13] local.INFO: GPS data processed {"connection_id":135118,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:24:13] local.INFO: Acknowledgment sent {"connection_id":135118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:24:13] local.INFO: Packet analysis {"connection_id":135118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6643"} 
[2026-07-15 20:24:13] local.INFO: Extracted packet for processing {"connection_id":135118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6643"} 
[2026-07-15 20:24:13] local.INFO: GPS Element Parsed {"raw_longitude":762864832,"raw_latitude":99458448,"longitude_deg":76.2864832,"latitude_deg":9.9458448,"altitude":6,"angle":63,"satellites":45,"speed":32,"hex_longitude":"2d7864c0","hex_latitude":"05ed9d90","is_valid_coordinates":true} 
[2026-07-15 20:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736534784001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347464417614495744,"note":"Value kept but may cause issues"} 
[2026-07-15 20:24:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8666121977172148224,"note":"Value kept but may cause issues"} 
[2026-07-15 20:24:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784127101000,"timestamp_ms":1784127101000,"timestamp_seconds":1784127101,"priority":1,"record_length":96,"hex_timestamp":"0000019f66431848"} 
[2026-07-15 20:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:24:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 20:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-15 20:24:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:24:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":135118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":135118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":135118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:24:13] 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-07-15 20:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736534784001,"66":27332,"129":206,"87":13824,"24":32,"16":347464417614495744,"45":8666121977172148224},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-07-15 20:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736534784001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:24:13] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-15 20:24:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 20:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347464417614495744,"km_value":347464417614495.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:24:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8666121977172148224,"description":"Unknown IO ID 45"} 
[2026-07-15 20:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736534784001,"power":27332,"unknown_129":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8666121977172148224}} 
[2026-07-15 20:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":135118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:24:13] local.INFO: GPS data processed {"connection_id":135118,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:24:13] local.INFO: Acknowledgment sent {"connection_id":135118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:24:50] local.INFO: TCP Data received {"connection_id":132908,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:24:50] local.INFO: Processing buffer {"connection_id":132908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:24:50] local.INFO: IMEI packet received {"connection_id":132908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":132908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:24:55] local.INFO: TCP Data received {"connection_id":132908,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:24:55] local.INFO: Processing buffer {"connection_id":132908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:24:55] local.INFO: IMEI packet received {"connection_id":132908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":132908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:24:56] local.INFO: TCP Data received {"connection_id":132908,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6643cfe0012d196540071ff040003a004821..."} 
[2026-07-15 20:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6643cfe0012d196540071ff040003a004821..."} 
[2026-07-15 20:24:56] local.INFO: Processing buffer {"connection_id":132908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6643cfe0012d196540071ff040003a004821..."} 
[2026-07-15 20:24:56] local.INFO: Packet analysis {"connection_id":132908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6643"} 
[2026-07-15 20:24:56] local.INFO: Extracted packet for processing {"connection_id":132908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6643"} 
[2026-07-15 20:24:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":33,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736472064001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:24: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-07-15 20:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784127148000,"timestamp_ms":1784127148000,"timestamp_seconds":1784127148,"priority":1,"record_length":96,"hex_timestamp":"0000019f6643cfe0"} 
[2026-07-15 20:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 20:24:56] 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-07-15 20:24:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736472064001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736472064001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:24:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:24:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736472064001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":132908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:24:56] local.INFO: GPS data processed {"connection_id":132908,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:24:56] local.INFO: Acknowledgment sent {"connection_id":132908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:25:08] local.INFO: TCP Data received {"connection_id":133761,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:25:08] local.INFO: Processing buffer {"connection_id":133761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:25:08] local.INFO: IMEI packet received {"connection_id":133761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 20:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":133761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:25:10] local.INFO: TCP Data received {"connection_id":133761,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:25:10] local.INFO: Processing buffer {"connection_id":133761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:25:10] local.INFO: IMEI packet received {"connection_id":133761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 20:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":133761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:25:11] local.INFO: TCP Data received {"connection_id":133761,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:25:11] local.INFO: Processing buffer {"connection_id":133761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:25:11] local.INFO: IMEI packet received {"connection_id":133761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 20:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":133761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:25:18] local.INFO: TCP Data received {"connection_id":133761,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:25:18] local.INFO: Processing buffer {"connection_id":133761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:25:18] local.INFO: IMEI packet received {"connection_id":133761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 20:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":133761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:25:19] local.INFO: TCP Data received {"connection_id":133761,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f66450090012d79684005eea0a00002015d24..."} 
[2026-07-15 20:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66450090012d79684005eea0a00002015d24..."} 
[2026-07-15 20:25:19] local.INFO: Processing buffer {"connection_id":133761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66450090012d79684005eea0a00002015d24..."} 
[2026-07-15 20:25:19] local.INFO: Packet analysis {"connection_id":133761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6645"} 
[2026-07-15 20:25:19] local.INFO: Extracted packet for processing {"connection_id":133761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6645"} 
[2026-07-15 20:25:19] local.INFO: GPS Element Parsed {"raw_longitude":762931264,"raw_latitude":99524768,"longitude_deg":76.2931264,"latitude_deg":9.9524768,"altitude":2,"angle":349,"satellites":36,"speed":39,"hex_longitude":"2d796840","hex_latitude":"05eea0a0","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736568064001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347469232272834560,"note":"Value kept but may cause issues"} 
[2026-07-15 20:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8748875620341417984,"note":"Value kept but may cause issues"} 
[2026-07-15 20:25:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784127226000,"timestamp_ms":1784127226000,"timestamp_seconds":1784127226,"priority":1,"record_length":96,"hex_timestamp":"0000019f66450090"} 
[2026-07-15 20:25:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:25:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 20: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-15 20:25:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20: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-07-15 20:25:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":133761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":133761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":133761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:25: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-07-15 20:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736568064001,"66":27365,"244":206,"87":13824,"24":39,"16":347469232272834560,"45":8748875620341417984},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-07-15 20:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736568064001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:25:19] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-15 20:25:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-15 20:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347469232272834560,"km_value":347469232272834.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8748875620341417984,"description":"Unknown IO ID 45"} 
[2026-07-15 20:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736568064001,"power":27365,"unknown_244":206,"unknown_87":13824,"ignition":39,"odometer":null,"unknown_45":8748875620341417984}} 
[2026-07-15 20:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":133761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:25:19] local.INFO: GPS data processed {"connection_id":133761,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:25:19] local.INFO: Acknowledgment sent {"connection_id":133761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:25:28] local.INFO: TCP Data received {"connection_id":132908,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6643cfe0012d196540071ff040003a004821..."} 
[2026-07-15 20:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6643cfe0012d196540071ff040003a004821..."} 
[2026-07-15 20:25:28] local.INFO: Processing buffer {"connection_id":132908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6643cfe0012d196540071ff040003a004821..."} 
[2026-07-15 20:25:28] local.INFO: Packet analysis {"connection_id":132908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6643"} 
[2026-07-15 20:25:28] local.INFO: Extracted packet for processing {"connection_id":132908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6643"} 
[2026-07-15 20:25:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":33,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736472064001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:25: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-07-15 20:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784127148000,"timestamp_ms":1784127148000,"timestamp_seconds":1784127148,"priority":1,"record_length":96,"hex_timestamp":"0000019f6643cfe0"} 
[2026-07-15 20:25:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:25:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 20:25: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-07-15 20: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-07-15 20:25:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:25:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736472064001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736472064001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:25:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:25:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736472064001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":132908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:25:28] local.INFO: GPS data processed {"connection_id":132908,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:25:28] local.INFO: Acknowledgment sent {"connection_id":132908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:25:54] local.INFO: TCP Data received {"connection_id":135120,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135120,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:25:54] local.INFO: Processing buffer {"connection_id":135120,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:25:54] local.INFO: IMEI packet received {"connection_id":135120,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":135120,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:25:55] local.INFO: TCP Data received {"connection_id":135120,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135120,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:25:55] local.INFO: Processing buffer {"connection_id":135120,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:25:55] local.INFO: IMEI packet received {"connection_id":135120,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":135120,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:26:00] local.INFO: TCP Data received {"connection_id":135120,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135120,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:26:00] local.INFO: Processing buffer {"connection_id":135120,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:26:00] local.INFO: IMEI packet received {"connection_id":135120,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":135120,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:26:00] local.INFO: TCP Data received {"connection_id":135121,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:26:00] local.INFO: Processing buffer {"connection_id":135121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:26:00] local.INFO: IMEI packet received {"connection_id":135121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 20:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":135121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:26:01] local.INFO: TCP Data received {"connection_id":135120,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6643cfe0012d196540071ff040003a004821..."} 
[2026-07-15 20:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6643cfe0012d196540071ff040003a004821..."} 
[2026-07-15 20:26:01] local.INFO: Processing buffer {"connection_id":135120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6643cfe0012d196540071ff040003a004821..."} 
[2026-07-15 20:26:01] local.INFO: Packet analysis {"connection_id":135120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6643"} 
[2026-07-15 20:26:01] local.INFO: Extracted packet for processing {"connection_id":135120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6643"} 
[2026-07-15 20:26:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":33,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:26:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736472064001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:26:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:26:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:26:01] 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-07-15 20:26:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784127148000,"timestamp_ms":1784127148000,"timestamp_seconds":1784127148,"priority":1,"record_length":96,"hex_timestamp":"0000019f6643cfe0"} 
[2026-07-15 20:26:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:26:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 20:26:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:26:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:26:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:26:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:26:01] local.INFO: Teltonika packet parsed successfully {"connection_id":135120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:26:01] local.INFO: Passing IMEI to GPS processor {"connection_id":135120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:26:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":135120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:26:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:26:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:26:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:26:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736472064001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:26:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:26:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:26:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736472064001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:26:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:26:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:26:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:26:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:26:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736472064001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":135120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492815,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:26:01] local.INFO: GPS data processed {"connection_id":135120,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:26:01] local.INFO: Acknowledgment sent {"connection_id":135120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:26:04] local.INFO: TCP Data received {"connection_id":135121,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:26:04] local.INFO: Processing buffer {"connection_id":135121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:26:04] local.INFO: IMEI packet received {"connection_id":135121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 20:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":135121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:26:05] local.INFO: TCP Data received {"connection_id":135121,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f66460e18012d78e1c005ef63100006014a28..."} 
[2026-07-15 20:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66460e18012d78e1c005ef63100006014a28..."} 
[2026-07-15 20:26:05] local.INFO: Processing buffer {"connection_id":135121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66460e18012d78e1c005ef63100006014a28..."} 
[2026-07-15 20:26:05] local.INFO: Packet analysis {"connection_id":135121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6646"} 
[2026-07-15 20:26:05] local.INFO: Extracted packet for processing {"connection_id":135121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6646"} 
[2026-07-15 20:26:05] local.INFO: GPS Element Parsed {"raw_longitude":762896832,"raw_latitude":99574544,"longitude_deg":76.2896832,"latitude_deg":9.9574544,"altitude":6,"angle":330,"satellites":40,"speed":30,"hex_longitude":"2d78e1c0","hex_latitude":"05ef6310","is_valid_coordinates":true} 
[2026-07-15 20:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736587008001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347472363303993344,"note":"Value kept but may cause issues"} 
[2026-07-15 20:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8711369079708874752,"note":"Value kept but may cause issues"} 
[2026-07-15 20:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784127295000,"timestamp_ms":1784127295000,"timestamp_seconds":1784127295,"priority":1,"record_length":96,"hex_timestamp":"0000019f66460e18"} 
[2026-07-15 20:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 20:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-15 20:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":135121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":135121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":135121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:26:05] 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-07-15 20:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736587008001,"66":27300,"50":206,"87":11776,"24":30,"16":347472363303993344,"45":8711369079708874752},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,87,24,16,45]} 
[2026-07-15 20:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736587008001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:26:05] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-15 20:26:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-07-15 20:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347472363303993344,"km_value":347472363303993.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8711369079708874752,"description":"Unknown IO ID 45"} 
[2026-07-15 20:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736587008001,"power":27300,"unknown_50":206,"unknown_87":11776,"ignition":30,"odometer":null,"unknown_45":8711369079708874752}} 
[2026-07-15 20:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":135121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:26:05] local.INFO: GPS data processed {"connection_id":135121,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:26:05] local.INFO: Acknowledgment sent {"connection_id":135121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:26:33] local.INFO: TCP Data received {"connection_id":135120,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6643cfe0012d196540071ff040003a004821..."} 
[2026-07-15 20:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6643cfe0012d196540071ff040003a004821..."} 
[2026-07-15 20:26:33] local.INFO: Processing buffer {"connection_id":135120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6643cfe0012d196540071ff040003a004821..."} 
[2026-07-15 20:26:33] local.INFO: Packet analysis {"connection_id":135120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6643"} 
[2026-07-15 20:26:33] local.INFO: Extracted packet for processing {"connection_id":135120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6643"} 
[2026-07-15 20:26:33] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":33,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736472064001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:26:33] 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-07-15 20:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784127148000,"timestamp_ms":1784127148000,"timestamp_seconds":1784127148,"priority":1,"record_length":96,"hex_timestamp":"0000019f6643cfe0"} 
[2026-07-15 20:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20: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":129,"data_length":795,"current_offset":136} 
[2026-07-15 20:26: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-07-15 20: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-07-15 20:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":135120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":135120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":135120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736472064001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736472064001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:26:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:26:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736472064001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":135120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:26:33] local.INFO: GPS data processed {"connection_id":135120,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:26:33] local.INFO: Acknowledgment sent {"connection_id":135120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:26:46] local.INFO: TCP Data received {"connection_id":135121,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f66462588012d78d90005ef76980005015629..."} 
[2026-07-15 20:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66462588012d78d90005ef76980005015629..."} 
[2026-07-15 20:26:46] local.INFO: Processing buffer {"connection_id":135121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66462588012d78d90005ef76980005015629..."} 
[2026-07-15 20:26:46] local.INFO: Packet analysis {"connection_id":135121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6646"} 
[2026-07-15 20:26:46] local.INFO: Extracted packet for processing {"connection_id":135121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6646"} 
[2026-07-15 20:26:46] local.INFO: GPS Element Parsed {"raw_longitude":762894592,"raw_latitude":99579544,"longitude_deg":76.2894592,"latitude_deg":9.9579544,"altitude":5,"angle":342,"satellites":41,"speed":38,"hex_longitude":"2d78d900","hex_latitude":"05ef7698","is_valid_coordinates":true} 
[2026-07-15 20:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736587520001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347472629591965696,"note":"Value kept but may cause issues"} 
[2026-07-15 20:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8710454286034866176,"note":"Value kept but may cause issues"} 
[2026-07-15 20:26:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784127301000,"timestamp_ms":1784127301000,"timestamp_seconds":1784127301,"priority":1,"record_length":96,"hex_timestamp":"0000019f66462588"} 
[2026-07-15 20:26:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:26:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 20:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-15 20:26:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:26:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:26:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":135121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":135121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":135121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736587520001,"66":27267,"50":206,"87":11776,"24":38,"16":347472629591965696,"45":8710454286034866176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,87,24,16,45]} 
[2026-07-15 20:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736587520001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:26:46] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-15 20:26:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-07-15 20:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347472629591965696,"km_value":347472629591965.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8710454286034866176,"description":"Unknown IO ID 45"} 
[2026-07-15 20:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736587520001,"power":27267,"unknown_50":206,"unknown_87":11776,"ignition":38,"odometer":null,"unknown_45":8710454286034866176}} 
[2026-07-15 20:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":135121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:26:46] local.INFO: GPS data processed {"connection_id":135121,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:26:46] local.INFO: Acknowledgment sent {"connection_id":135121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:26:50] local.INFO: TCP Data received {"connection_id":135122,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:26:50] local.INFO: Processing buffer {"connection_id":135122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:26:50] local.INFO: IMEI packet received {"connection_id":135122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":135122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:26:55] local.INFO: TCP Data received {"connection_id":135122,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:26:55] local.INFO: Processing buffer {"connection_id":135122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:26:55] local.INFO: IMEI packet received {"connection_id":135122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":135122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:26:57] local.INFO: TCP Data received {"connection_id":135122,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6643cfe0012d196540071ff040003a004821..."} 
[2026-07-15 20:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6643cfe0012d196540071ff040003a004821..."} 
[2026-07-15 20:26:57] local.INFO: Processing buffer {"connection_id":135122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6643cfe0012d196540071ff040003a004821..."} 
[2026-07-15 20:26:57] local.INFO: Packet analysis {"connection_id":135122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6643"} 
[2026-07-15 20:26:57] local.INFO: Extracted packet for processing {"connection_id":135122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6643"} 
[2026-07-15 20:26:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":33,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:26:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736472064001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:26:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:26:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:26: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-07-15 20:26:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784127148000,"timestamp_ms":1784127148000,"timestamp_seconds":1784127148,"priority":1,"record_length":96,"hex_timestamp":"0000019f6643cfe0"} 
[2026-07-15 20:26:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:26:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 20:26:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20: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-07-15 20:26:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:26:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:26:57] local.INFO: Teltonika packet parsed successfully {"connection_id":135122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:26:57] local.INFO: Passing IMEI to GPS processor {"connection_id":135122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:26:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":135122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:26:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:26:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:26:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:26:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736472064001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:26:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:26:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:26:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736472064001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:26:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:26:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:26:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:26:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:26:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736472064001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:26:57] local.INFO: DEBUG: GPS processor result {"connection_id":135122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492819,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:26:57] local.INFO: GPS data processed {"connection_id":135122,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:26:57] local.INFO: Acknowledgment sent {"connection_id":135122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:27:00] local.INFO: TCP Data received {"connection_id":135123,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:27:00] local.INFO: Processing buffer {"connection_id":135123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:27:00] local.INFO: IMEI packet received {"connection_id":135123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 20:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":135123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:27:06] local.INFO: TCP Data received {"connection_id":135123,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:27:06] local.INFO: Processing buffer {"connection_id":135123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:27:06] local.INFO: IMEI packet received {"connection_id":135123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 20:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":135123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:27:07] local.INFO: TCP Data received {"connection_id":135123,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f66464c98012d78ce4005ef98d80005015828..."} 
[2026-07-15 20:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66464c98012d78ce4005ef98d80005015828..."} 
[2026-07-15 20:27:07] local.INFO: Processing buffer {"connection_id":135123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66464c98012d78ce4005ef98d80005015828..."} 
[2026-07-15 20:27:07] local.INFO: Packet analysis {"connection_id":135123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6646"} 
[2026-07-15 20:27:07] local.INFO: Extracted packet for processing {"connection_id":135123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6646"} 
[2026-07-15 20:27:07] local.INFO: GPS Element Parsed {"raw_longitude":762891840,"raw_latitude":99588312,"longitude_deg":76.289184,"latitude_deg":9.9588312,"altitude":5,"angle":344,"satellites":40,"speed":34,"hex_longitude":"2d78ce40","hex_latitude":"05ef98d8","is_valid_coordinates":true} 
[2026-07-15 20:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736589056001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347473076268564480,"note":"Value kept but may cause issues"} 
[2026-07-15 20:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8707991379989927936,"note":"Value kept but may cause issues"} 
[2026-07-15 20:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784127311000,"timestamp_ms":1784127311000,"timestamp_seconds":1784127311,"priority":1,"record_length":96,"hex_timestamp":"0000019f66464c98"} 
[2026-07-15 20:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 20:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-15 20:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:27:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":135123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":135123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":135123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736589056001,"66":27234,"39":206,"87":11776,"24":34,"16":347473076268564480,"45":8707991379989927936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-15 20:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736589056001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:27:07] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-15 20:27:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-07-15 20:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347473076268564480,"km_value":347473076268564.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8707991379989927936,"description":"Unknown IO ID 45"} 
[2026-07-15 20:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736589056001,"power":27234,"unknown_39":206,"unknown_87":11776,"ignition":34,"odometer":null,"unknown_45":8707991379989927936}} 
[2026-07-15 20:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":135123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:27:07] local.INFO: GPS data processed {"connection_id":135123,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:27:07] local.INFO: Acknowledgment sent {"connection_id":135123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:27:29] local.INFO: TCP Data received {"connection_id":135122,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6643cfe0012d196540071ff040003a004821..."} 
[2026-07-15 20:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6643cfe0012d196540071ff040003a004821..."} 
[2026-07-15 20:27:29] local.INFO: Processing buffer {"connection_id":135122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6643cfe0012d196540071ff040003a004821..."} 
[2026-07-15 20:27:29] local.INFO: Packet analysis {"connection_id":135122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6643"} 
[2026-07-15 20:27:29] local.INFO: Extracted packet for processing {"connection_id":135122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6643"} 
[2026-07-15 20:27:29] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":33,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736472064001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:27:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:27: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-07-15 20:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784127148000,"timestamp_ms":1784127148000,"timestamp_seconds":1784127148,"priority":1,"record_length":96,"hex_timestamp":"0000019f6643cfe0"} 
[2026-07-15 20:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:27:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 20:27: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-07-15 20: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-07-15 20:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":135122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":135122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":135122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:27:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736472064001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736472064001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:27:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:27:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:27:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736472064001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":135122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:27:29] local.INFO: GPS data processed {"connection_id":135122,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:27:29] local.INFO: Acknowledgment sent {"connection_id":135122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:27:39] local.INFO: TCP Data received {"connection_id":135123,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f66468730012d78c54005efbc48000401592a..."} 
[2026-07-15 20:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66468730012d78c54005efbc48000401592a..."} 
[2026-07-15 20:27:39] local.INFO: Processing buffer {"connection_id":135123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66468730012d78c54005efbc48000401592a..."} 
[2026-07-15 20:27:39] local.INFO: Packet analysis {"connection_id":135123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6646"} 
[2026-07-15 20:27:39] local.INFO: Extracted packet for processing {"connection_id":135123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6646"} 
[2026-07-15 20:27:39] local.INFO: GPS Element Parsed {"raw_longitude":762889536,"raw_latitude":99597384,"longitude_deg":76.2889536,"latitude_deg":9.9597384,"altitude":4,"angle":345,"satellites":42,"speed":27,"hex_longitude":"2d78c540","hex_latitude":"05efbc48","is_valid_coordinates":true} 
[2026-07-15 20:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736591616001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347473527240130560,"note":"Value kept but may cause issues"} 
[2026-07-15 20:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8704965523992532992,"note":"Value kept but may cause issues"} 
[2026-07-15 20:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784127326000,"timestamp_ms":1784127326000,"timestamp_seconds":1784127326,"priority":1,"record_length":96,"hex_timestamp":"0000019f66468730"} 
[2026-07-15 20:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 20:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-15 20:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":135123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":135123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":135123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:27: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-07-15 20:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736591616001,"66":27332,"39":206,"87":11776,"24":27,"16":347473527240130560,"45":8704965523992532992},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-15 20:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736591616001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:27:39] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-15 20:27:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-07-15 20:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347473527240130560,"km_value":347473527240130.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8704965523992532992,"description":"Unknown IO ID 45"} 
[2026-07-15 20:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736591616001,"power":27332,"unknown_39":206,"unknown_87":11776,"ignition":27,"odometer":null,"unknown_45":8704965523992532992}} 
[2026-07-15 20:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":135123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:27:39] local.INFO: GPS data processed {"connection_id":135123,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:27:39] local.INFO: Acknowledgment sent {"connection_id":135123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:27:55] local.INFO: TCP Data received {"connection_id":132909,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:27:55] local.INFO: Processing buffer {"connection_id":132909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:27:55] local.INFO: IMEI packet received {"connection_id":132909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":132909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:28:00] local.INFO: TCP Data received {"connection_id":132909,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:28:00] local.INFO: Processing buffer {"connection_id":132909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:28:00] local.INFO: IMEI packet received {"connection_id":132909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":132909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:28:01] local.INFO: TCP Data received {"connection_id":132909,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f664867a8012d196540071ff040003a004825..."} 
[2026-07-15 20:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f664867a8012d196540071ff040003a004825..."} 
[2026-07-15 20:28:01] local.INFO: Processing buffer {"connection_id":132909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f664867a8012d196540071ff040003a004825..."} 
[2026-07-15 20:28:01] local.INFO: Packet analysis {"connection_id":132909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6648"} 
[2026-07-15 20:28:01] local.INFO: Extracted packet for processing {"connection_id":132909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6648"} 
[2026-07-15 20:28:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736549888001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:28:01] 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-07-15 20:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784127449000,"timestamp_ms":1784127449000,"timestamp_seconds":1784127449,"priority":1,"record_length":96,"hex_timestamp":"0000019f664867a8"} 
[2026-07-15 20:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:28:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:28: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-07-15 20:28:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":132909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":132909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":132909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736549888001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736549888001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:28:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:28:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736549888001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":132909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:28:01] local.INFO: GPS data processed {"connection_id":132909,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:28:01] local.INFO: Acknowledgment sent {"connection_id":132909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:28:04] local.INFO: TCP Data received {"connection_id":132910,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:28:04] local.INFO: Processing buffer {"connection_id":132910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:28:04] local.INFO: IMEI packet received {"connection_id":132910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 20:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":132910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:28:05] local.INFO: TCP Data received {"connection_id":132910,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:28:05] local.INFO: Processing buffer {"connection_id":132910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:28:05] local.INFO: IMEI packet received {"connection_id":132910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 20:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":132910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:28:06] local.INFO: TCP Data received {"connection_id":132909,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f664867a8012d196540071ff040003a004825..."} 
[2026-07-15 20:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f664867a8012d196540071ff040003a004825..."} 
[2026-07-15 20:28:06] local.INFO: Processing buffer {"connection_id":132909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f664867a8012d196540071ff040003a004825..."} 
[2026-07-15 20:28:06] local.INFO: Packet analysis {"connection_id":132909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6648"} 
[2026-07-15 20:28:06] local.INFO: Extracted packet for processing {"connection_id":132909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6648"} 
[2026-07-15 20:28:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736549888001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:28:06] 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-07-15 20:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784127449000,"timestamp_ms":1784127449000,"timestamp_seconds":1784127449,"priority":1,"record_length":96,"hex_timestamp":"0000019f664867a8"} 
[2026-07-15 20:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736549888001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736549888001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:28:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:28:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736549888001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":132909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:28:06] local.INFO: GPS data processed {"connection_id":132909,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:28:06] local.INFO: Acknowledgment sent {"connection_id":132909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:28:10] local.INFO: TCP Data received {"connection_id":132910,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:28:10] local.INFO: Processing buffer {"connection_id":132910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:28:10] local.INFO: IMEI packet received {"connection_id":132910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 20:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":132910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:28:11] local.INFO: TCP Data received {"connection_id":132910,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6647e6c0012d78630005f0c7500008016123..."} 
[2026-07-15 20:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6647e6c0012d78630005f0c7500008016123..."} 
[2026-07-15 20:28:11] local.INFO: Processing buffer {"connection_id":132910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6647e6c0012d78630005f0c7500008016123..."} 
[2026-07-15 20:28:11] local.INFO: Packet analysis {"connection_id":132910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6647"} 
[2026-07-15 20:28:11] local.INFO: Extracted packet for processing {"connection_id":132910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6647"} 
[2026-07-15 20:28:11] local.INFO: GPS Element Parsed {"raw_longitude":762864384,"raw_latitude":99665744,"longitude_deg":76.2864384,"latitude_deg":9.9665744,"altitude":8,"angle":353,"satellites":35,"speed":34,"hex_longitude":"2d786300","hex_latitude":"05f0c750","is_valid_coordinates":true} 
[2026-07-15 20:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736615680001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347477135012659200,"note":"Value kept but may cause issues"} 
[2026-07-15 20:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8676043970152876032,"note":"Value kept but may cause issues"} 
[2026-07-15 20:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784127416000,"timestamp_ms":1784127416000,"timestamp_seconds":1784127416,"priority":1,"record_length":96,"hex_timestamp":"0000019f6647e6c0"} 
[2026-07-15 20:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 20:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-15 20:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:28:11] 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-07-15 20:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736615680001,"66":27245,"196":206,"87":11776,"24":34,"16":347477135012659200,"45":8676043970152876032},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-07-15 20:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736615680001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:28:11] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-15 20:28:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-07-15 20:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347477135012659200,"km_value":347477135012659.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8676043970152876032,"description":"Unknown IO ID 45"} 
[2026-07-15 20:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736615680001,"power":27245,"unknown_196":206,"unknown_87":11776,"ignition":34,"odometer":null,"unknown_45":8676043970152876032}} 
[2026-07-15 20:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":132910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:28:11] local.INFO: GPS data processed {"connection_id":132910,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:28:11] local.INFO: Acknowledgment sent {"connection_id":132910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:28:32] local.INFO: TCP Data received {"connection_id":132910,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f664811b8012d785e4005f0ea080009015f2a..."} 
[2026-07-15 20:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f664811b8012d785e4005f0ea080009015f2a..."} 
[2026-07-15 20:28:32] local.INFO: Processing buffer {"connection_id":132910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f664811b8012d785e4005f0ea080009015f2a..."} 
[2026-07-15 20:28:32] local.INFO: Packet analysis {"connection_id":132910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6648"} 
[2026-07-15 20:28:32] local.INFO: Extracted packet for processing {"connection_id":132910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6648"} 
[2026-07-15 20:28:32] local.INFO: GPS Element Parsed {"raw_longitude":762863168,"raw_latitude":99674632,"longitude_deg":76.2863168,"latitude_deg":9.9674632,"altitude":9,"angle":351,"satellites":42,"speed":25,"hex_longitude":"2d785e40","hex_latitude":"05f0ea08","is_valid_coordinates":true} 
[2026-07-15 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-07-15 20:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736618496001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347477568804356096,"note":"Value kept but may cause issues"} 
[2026-07-15 20:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8674777332760137728,"note":"Value kept but may cause issues"} 
[2026-07-15 20:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784127427000,"timestamp_ms":1784127427000,"timestamp_seconds":1784127427,"priority":1,"record_length":96,"hex_timestamp":"0000019f664811b8"} 
[2026-07-15 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-07-15 20:28:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-15 20:28:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 20:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":132910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":132910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":132910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736618496001,"66":27376,"196":206,"87":11776,"24":25,"16":347477568804356096,"45":8674777332760137728},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-07-15 20:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736618496001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:28:32] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-15 20:28:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-07-15 20:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347477568804356096,"km_value":347477568804356.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8674777332760137728,"description":"Unknown IO ID 45"} 
[2026-07-15 20:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736618496001,"power":27376,"unknown_196":206,"unknown_87":11776,"ignition":25,"odometer":null,"unknown_45":8674777332760137728}} 
[2026-07-15 20:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":132910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:28:32] local.INFO: GPS data processed {"connection_id":132910,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:28:32] local.INFO: Acknowledgment sent {"connection_id":132910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:28:50] local.INFO: TCP Data received {"connection_id":132732,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:28:50] local.INFO: Processing buffer {"connection_id":132732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:28:50] local.INFO: IMEI packet received {"connection_id":132732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":132732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:28:55] local.INFO: TCP Data received {"connection_id":132732,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:28:55] local.INFO: Processing buffer {"connection_id":132732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:28:55] local.INFO: IMEI packet received {"connection_id":132732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":132732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:28:56] local.INFO: TCP Data received {"connection_id":132732,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f664867a8012d196540071ff040003a004825..."} 
[2026-07-15 20:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f664867a8012d196540071ff040003a004825..."} 
[2026-07-15 20:28:56] local.INFO: Processing buffer {"connection_id":132732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f664867a8012d196540071ff040003a004825..."} 
[2026-07-15 20:28:56] local.INFO: Packet analysis {"connection_id":132732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6648"} 
[2026-07-15 20:28:56] local.INFO: Extracted packet for processing {"connection_id":132732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6648"} 
[2026-07-15 20:28:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736549888001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:28: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-07-15 20:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784127449000,"timestamp_ms":1784127449000,"timestamp_seconds":1784127449,"priority":1,"record_length":96,"hex_timestamp":"0000019f664867a8"} 
[2026-07-15 20:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:28:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:28: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-07-15 20:28:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736549888001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736549888001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:28:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:28:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736549888001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":132732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:28:56] local.INFO: GPS data processed {"connection_id":132732,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:28:56] local.INFO: Acknowledgment sent {"connection_id":132732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:29:00] local.INFO: TCP Data received {"connection_id":132733,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:29:00] local.INFO: Processing buffer {"connection_id":132733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:29:00] local.INFO: IMEI packet received {"connection_id":132733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 20:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":132733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:29:02] local.INFO: TCP Data received {"connection_id":132733,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:29:02] local.INFO: Processing buffer {"connection_id":132733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:29:02] local.INFO: IMEI packet received {"connection_id":132733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 20:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":132733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:29:03] local.INFO: TCP Data received {"connection_id":132733,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f66483cb0012d78568005f10e48000a015d27..."} 
[2026-07-15 20:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66483cb0012d78568005f10e48000a015d27..."} 
[2026-07-15 20:29:03] local.INFO: Processing buffer {"connection_id":132733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66483cb0012d78568005f10e48000a015d27..."} 
[2026-07-15 20:29:03] local.INFO: Packet analysis {"connection_id":132733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6648"} 
[2026-07-15 20:29:03] local.INFO: Extracted packet for processing {"connection_id":132733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6648"} 
[2026-07-15 20:29:03] local.INFO: GPS Element Parsed {"raw_longitude":762861184,"raw_latitude":99683912,"longitude_deg":76.2861184,"latitude_deg":9.9683912,"altitude":10,"angle":349,"satellites":39,"speed":35,"hex_longitude":"2d785680","hex_latitude":"05f10e48","is_valid_coordinates":true} 
[2026-07-15 20:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736621312001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347478028365856768,"note":"Value kept but may cause issues"} 
[2026-07-15 20:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8673440326623037440,"note":"Value kept but may cause issues"} 
[2026-07-15 20:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784127438000,"timestamp_ms":1784127438000,"timestamp_seconds":1784127438,"priority":1,"record_length":96,"hex_timestamp":"0000019f66483cb0"} 
[2026-07-15 20:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 20:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-15 20:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:29:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":132733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":132733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":132733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736621312001,"66":27332,"196":206,"87":11776,"24":35,"16":347478028365856768,"45":8673440326623037440},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-07-15 20:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736621312001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:29:03] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-15 20:29:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-07-15 20:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347478028365856768,"km_value":347478028365856.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8673440326623037440,"description":"Unknown IO ID 45"} 
[2026-07-15 20:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736621312001,"power":27332,"unknown_196":206,"unknown_87":11776,"ignition":35,"odometer":null,"unknown_45":8673440326623037440}} 
[2026-07-15 20:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":132733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:29:03] local.INFO: GPS data processed {"connection_id":132733,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:29:03] local.INFO: Acknowledgment sent {"connection_id":132733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:29:08] local.INFO: TCP Data received {"connection_id":135124,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135124,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:29:08] local.INFO: Processing buffer {"connection_id":135124,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:29:08] local.INFO: IMEI packet received {"connection_id":135124,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 20:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":135124,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:29:28] local.INFO: TCP Data received {"connection_id":132732,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f664867a8012d196540071ff040003a004825..."} 
[2026-07-15 20:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f664867a8012d196540071ff040003a004825..."} 
[2026-07-15 20:29:28] local.INFO: Processing buffer {"connection_id":132732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f664867a8012d196540071ff040003a004825..."} 
[2026-07-15 20:29:28] local.INFO: Packet analysis {"connection_id":132732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6648"} 
[2026-07-15 20:29:28] local.INFO: Extracted packet for processing {"connection_id":132732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6648"} 
[2026-07-15 20:29:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:29: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-07-15 20:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736549888001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:29: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-07-15 20:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784127449000,"timestamp_ms":1784127449000,"timestamp_seconds":1784127449,"priority":1,"record_length":96,"hex_timestamp":"0000019f664867a8"} 
[2026-07-15 20:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:29:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:29: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-07-15 20:29: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-07-15 20:29: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-07-15 20:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:29:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736549888001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736549888001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:29:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:29:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736549888001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":132732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:29:28] local.INFO: GPS data processed {"connection_id":132732,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:29:28] local.INFO: Acknowledgment sent {"connection_id":132732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:29:33] local.INFO: TCP Data received {"connection_id":133764,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133764,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:29:33] local.INFO: Processing buffer {"connection_id":133764,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:29:33] local.INFO: IMEI packet received {"connection_id":133764,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 20:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":133764,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:29:50] local.INFO: TCP Data received {"connection_id":132734,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:29:50] local.INFO: Processing buffer {"connection_id":132734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:29:50] local.INFO: IMEI packet received {"connection_id":132734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":132734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:29:55] local.INFO: TCP Data received {"connection_id":132734,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:29:55] local.INFO: Processing buffer {"connection_id":132734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:29:55] local.INFO: IMEI packet received {"connection_id":132734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":132734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:29:57] local.INFO: TCP Data received {"connection_id":132734,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f664867a8012d196540071ff040003a004825..."} 
[2026-07-15 20:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f664867a8012d196540071ff040003a004825..."} 
[2026-07-15 20:29:57] local.INFO: Processing buffer {"connection_id":132734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f664867a8012d196540071ff040003a004825..."} 
[2026-07-15 20:29:57] local.INFO: Packet analysis {"connection_id":132734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6648"} 
[2026-07-15 20:29:57] local.INFO: Extracted packet for processing {"connection_id":132734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6648"} 
[2026-07-15 20:29:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:29:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736549888001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:29:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:29:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:29: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-07-15 20:29:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784127449000,"timestamp_ms":1784127449000,"timestamp_seconds":1784127449,"priority":1,"record_length":96,"hex_timestamp":"0000019f664867a8"} 
[2026-07-15 20:29:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:29:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:29:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:29:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:29:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:29:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:29:57] local.INFO: Teltonika packet parsed successfully {"connection_id":132734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:29:57] local.INFO: Passing IMEI to GPS processor {"connection_id":132734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:29:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":132734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:29:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:29:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:29:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:29:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736549888001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:29:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:29:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:29:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736549888001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:29:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:29:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:29:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:29:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:29:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736549888001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:29:57] local.INFO: DEBUG: GPS processor result {"connection_id":132734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:29:57] local.INFO: GPS data processed {"connection_id":132734,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:29:57] local.INFO: Acknowledgment sent {"connection_id":132734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:30:29] local.INFO: TCP Data received {"connection_id":132734,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f664867a8012d196540071ff040003a004825..."} 
[2026-07-15 20:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f664867a8012d196540071ff040003a004825..."} 
[2026-07-15 20:30:29] local.INFO: Processing buffer {"connection_id":132734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f664867a8012d196540071ff040003a004825..."} 
[2026-07-15 20:30:29] local.INFO: Packet analysis {"connection_id":132734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6648"} 
[2026-07-15 20:30:29] local.INFO: Extracted packet for processing {"connection_id":132734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6648"} 
[2026-07-15 20:30:29] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736549888001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:30:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:30: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-07-15 20:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784127449000,"timestamp_ms":1784127449000,"timestamp_seconds":1784127449,"priority":1,"record_length":96,"hex_timestamp":"0000019f664867a8"} 
[2026-07-15 20:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:30:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20: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-07-15 20:30:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":132734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":132734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":132734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:30:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736549888001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736549888001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:30:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:30:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:30:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736549888001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":132734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492831,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:30:29] local.INFO: GPS data processed {"connection_id":132734,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:30:29] local.INFO: Acknowledgment sent {"connection_id":132734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:30:42] local.INFO: TCP Data received {"connection_id":132733,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f6649a410012d77d90005f195e0000201502a..."} 
[2026-07-15 20:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6649a410012d77d90005f195e0000201502a..."} 
[2026-07-15 20:30:42] local.INFO: Processing buffer {"connection_id":132733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6649a410012d77d90005f195e0000201502a..."} 
[2026-07-15 20:30:42] local.INFO: Packet analysis {"connection_id":132733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6649"} 
[2026-07-15 20:30:42] local.INFO: Extracted packet for processing {"connection_id":132733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6649"} 
[2026-07-15 20:30:42] local.INFO: GPS Element Parsed {"raw_longitude":762829056,"raw_latitude":99718624,"longitude_deg":76.2829056,"latitude_deg":9.9718624,"altitude":2,"angle":336,"satellites":42,"speed":11,"hex_longitude":"2d77d900","hex_latitude":"05f195e0","is_valid_coordinates":true} 
[2026-07-15 20:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736647424001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347480991893291008,"note":"Value kept but may cause issues"} 
[2026-07-15 20:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8636215260964251648,"note":"Value kept but may cause issues"} 
[2026-07-15 20:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784127530000,"timestamp_ms":1784127530000,"timestamp_seconds":1784127530,"priority":1,"record_length":96,"hex_timestamp":"0000019f6649a410"} 
[2026-07-15 20:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:30:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 20:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-15 20:30:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:30:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736647424001,"66":27365,"75":206,"87":11776,"24":11,"16":347480991893291008,"45":8636215260964251648},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,87,24,16,45]} 
[2026-07-15 20:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736647424001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:30:42] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-07-15 20:30:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-07-15 20:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347480991893291008,"km_value":347480991893291.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8636215260964251648,"description":"Unknown IO ID 45"} 
[2026-07-15 20:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736647424001,"power":27365,"unknown_75":206,"unknown_87":11776,"ignition":11,"odometer":null,"unknown_45":8636215260964251648}} 
[2026-07-15 20:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":132733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:30:42] local.INFO: GPS data processed {"connection_id":132733,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:30:42] local.INFO: Acknowledgment sent {"connection_id":132733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:30:50] local.INFO: TCP Data received {"connection_id":133765,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:30:50] local.INFO: Processing buffer {"connection_id":133765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:30:50] local.INFO: IMEI packet received {"connection_id":133765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":133765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:30:55] local.INFO: TCP Data received {"connection_id":133765,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:30:55] local.INFO: Processing buffer {"connection_id":133765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:30:55] local.INFO: IMEI packet received {"connection_id":133765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":133765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:30:56] local.INFO: TCP Data received {"connection_id":133765,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f664867a8012d196540071ff040003a004825..."} 
[2026-07-15 20:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f664867a8012d196540071ff040003a004825..."} 
[2026-07-15 20:30:56] local.INFO: Processing buffer {"connection_id":133765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f664867a8012d196540071ff040003a004825..."} 
[2026-07-15 20:30:56] local.INFO: Packet analysis {"connection_id":133765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6648"} 
[2026-07-15 20:30:56] local.INFO: Extracted packet for processing {"connection_id":133765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6648"} 
[2026-07-15 20:30:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736549888001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:30: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-07-15 20:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784127449000,"timestamp_ms":1784127449000,"timestamp_seconds":1784127449,"priority":1,"record_length":96,"hex_timestamp":"0000019f664867a8"} 
[2026-07-15 20:30:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:30:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:30: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-07-15 20: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-07-15 20:30:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736549888001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736549888001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:30:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:30:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736549888001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":133765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:30:57] local.INFO: GPS data processed {"connection_id":133765,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:30:57] local.INFO: Acknowledgment sent {"connection_id":133765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:31:28] local.INFO: TCP Data received {"connection_id":133765,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f664867a8012d196540071ff040003a004825..."} 
[2026-07-15 20:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f664867a8012d196540071ff040003a004825..."} 
[2026-07-15 20:31:28] local.INFO: Processing buffer {"connection_id":133765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f664867a8012d196540071ff040003a004825..."} 
[2026-07-15 20:31:28] local.INFO: Packet analysis {"connection_id":133765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6648"} 
[2026-07-15 20:31:28] local.INFO: Extracted packet for processing {"connection_id":133765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6648"} 
[2026-07-15 20:31:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:31:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736549888001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:31:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:31:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:31: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-07-15 20:31:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784127449000,"timestamp_ms":1784127449000,"timestamp_seconds":1784127449,"priority":1,"record_length":96,"hex_timestamp":"0000019f664867a8"} 
[2026-07-15 20:31:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:31:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:31: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-07-15 20: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-07-15 20:31:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:31:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:31:28] local.INFO: Teltonika packet parsed successfully {"connection_id":133765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:31:28] local.INFO: Passing IMEI to GPS processor {"connection_id":133765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:31:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":133765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:31:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:31:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:31:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:31:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736549888001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:31:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:31:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:31:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736549888001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:31:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:31:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:31:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:31:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:31:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736549888001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:31:28] local.INFO: DEBUG: GPS processor result {"connection_id":133765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:31:28] local.INFO: GPS data processed {"connection_id":133765,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:31:28] local.INFO: Acknowledgment sent {"connection_id":133765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:31:56] local.INFO: TCP Data received {"connection_id":132912,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:31:56] local.INFO: Processing buffer {"connection_id":132912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:31:56] local.INFO: IMEI packet received {"connection_id":132912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":132912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:32:00] local.INFO: TCP Data received {"connection_id":132912,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:32:00] local.INFO: Processing buffer {"connection_id":132912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:32:00] local.INFO: IMEI packet received {"connection_id":132912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":132912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:32:05] local.INFO: TCP Data received {"connection_id":132912,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f664867a8012d196540071ff040003a004825..."} 
[2026-07-15 20:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f664867a8012d196540071ff040003a004825..."} 
[2026-07-15 20:32:05] local.INFO: Processing buffer {"connection_id":132912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f664867a8012d196540071ff040003a004825..."} 
[2026-07-15 20:32:05] local.INFO: Packet analysis {"connection_id":132912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6648"} 
[2026-07-15 20:32:05] local.INFO: Extracted packet for processing {"connection_id":132912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6648"} 
[2026-07-15 20:32:05] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736549888001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:32: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-07-15 20:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784127449000,"timestamp_ms":1784127449000,"timestamp_seconds":1784127449,"priority":1,"record_length":96,"hex_timestamp":"0000019f664867a8"} 
[2026-07-15 20:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:32: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-07-15 20:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736549888001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736549888001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:32:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:32:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736549888001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":132912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:32:05] local.INFO: GPS data processed {"connection_id":132912,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:32:05] local.INFO: Acknowledgment sent {"connection_id":132912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:32:10] local.INFO: TCP Data received {"connection_id":132912,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f664867a8012d196540071ff040003a004825..."} 
[2026-07-15 20:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f664867a8012d196540071ff040003a004825..."} 
[2026-07-15 20:32:10] local.INFO: Processing buffer {"connection_id":132912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f664867a8012d196540071ff040003a004825..."} 
[2026-07-15 20:32:10] local.INFO: Packet analysis {"connection_id":132912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6648"} 
[2026-07-15 20:32:10] local.INFO: Extracted packet for processing {"connection_id":132912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6648"} 
[2026-07-15 20:32:10] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736549888001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:32:10] 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-07-15 20:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784127449000,"timestamp_ms":1784127449000,"timestamp_seconds":1784127449,"priority":1,"record_length":96,"hex_timestamp":"0000019f664867a8"} 
[2026-07-15 20:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:32: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-07-15 20:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":132912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":132912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":132912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736549888001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736549888001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:32:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:32:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736549888001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":132912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:32:10] local.INFO: GPS data processed {"connection_id":132912,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:32:10] local.INFO: Acknowledgment sent {"connection_id":132912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:32:50] local.INFO: TCP Data received {"connection_id":132913,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:32:50] local.INFO: Processing buffer {"connection_id":132913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:32:50] local.INFO: IMEI packet received {"connection_id":132913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":132913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:32:55] local.INFO: TCP Data received {"connection_id":132913,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:32:55] local.INFO: Processing buffer {"connection_id":132913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:32:55] local.INFO: IMEI packet received {"connection_id":132913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":132913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:33:03] local.INFO: TCP Data received {"connection_id":132913,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f664cff70012d196540071ff040003a004821..."} 
[2026-07-15 20:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f664cff70012d196540071ff040003a004821..."} 
[2026-07-15 20:33:03] local.INFO: Processing buffer {"connection_id":132913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f664cff70012d196540071ff040003a004821..."} 
[2026-07-15 20:33:03] local.INFO: Packet analysis {"connection_id":132913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f664c"} 
[2026-07-15 20:33:03] local.INFO: Extracted packet for processing {"connection_id":132913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f664c"} 
[2026-07-15 20:33:03] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":33,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736626944001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:33:03] 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-07-15 20:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784127750000,"timestamp_ms":1784127750000,"timestamp_seconds":1784127750,"priority":1,"record_length":96,"hex_timestamp":"0000019f664cff70"} 
[2026-07-15 20:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:33: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-07-15 20:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":132913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":132913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":132913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736626944001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736626944001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:33:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:33:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736626944001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":132913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:33:03] local.INFO: GPS data processed {"connection_id":132913,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:33:03] local.INFO: Acknowledgment sent {"connection_id":132913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:33:42] local.INFO: TCP Data received {"connection_id":132913,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f664cff70012d196540071ff040003a004821..."} 
[2026-07-15 20:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f664cff70012d196540071ff040003a004821..."} 
[2026-07-15 20:33:42] local.INFO: Processing buffer {"connection_id":132913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f664cff70012d196540071ff040003a004821..."} 
[2026-07-15 20:33:42] local.INFO: Packet analysis {"connection_id":132913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f664c"} 
[2026-07-15 20:33:42] local.INFO: Extracted packet for processing {"connection_id":132913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f664c"} 
[2026-07-15 20:33:42] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":33,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736626944001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:33: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-07-15 20:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784127750000,"timestamp_ms":1784127750000,"timestamp_seconds":1784127750,"priority":1,"record_length":96,"hex_timestamp":"0000019f664cff70"} 
[2026-07-15 20:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:33: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-07-15 20: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-07-15 20:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736626944001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736626944001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:33:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:33:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736626944001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":132913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:33:42] local.INFO: GPS data processed {"connection_id":132913,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:33:42] local.INFO: Acknowledgment sent {"connection_id":132913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:33:50] local.INFO: TCP Data received {"connection_id":133766,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:33:50] local.INFO: Processing buffer {"connection_id":133766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:33:50] local.INFO: IMEI packet received {"connection_id":133766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":133766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:33:55] local.INFO: TCP Data received {"connection_id":133766,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:33:55] local.INFO: Processing buffer {"connection_id":133766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:33:55] local.INFO: IMEI packet received {"connection_id":133766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":133766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:33:56] local.INFO: TCP Data received {"connection_id":133766,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f664cff70012d196540071ff040003a004821..."} 
[2026-07-15 20:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f664cff70012d196540071ff040003a004821..."} 
[2026-07-15 20:33:56] local.INFO: Processing buffer {"connection_id":133766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f664cff70012d196540071ff040003a004821..."} 
[2026-07-15 20:33:56] local.INFO: Packet analysis {"connection_id":133766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f664c"} 
[2026-07-15 20:33:56] local.INFO: Extracted packet for processing {"connection_id":133766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f664c"} 
[2026-07-15 20:33:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":33,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736626944001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:33:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:33: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-07-15 20:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784127750000,"timestamp_ms":1784127750000,"timestamp_seconds":1784127750,"priority":1,"record_length":96,"hex_timestamp":"0000019f664cff70"} 
[2026-07-15 20:33:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:33:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:33: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-07-15 20: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-07-15 20:33:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736626944001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736626944001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:33:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:33:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:33:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736626944001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":133766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:33:56] local.INFO: GPS data processed {"connection_id":133766,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:33:56] local.INFO: Acknowledgment sent {"connection_id":133766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:34:28] local.INFO: TCP Data received {"connection_id":133766,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f664cff70012d196540071ff040003a004821..."} 
[2026-07-15 20:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f664cff70012d196540071ff040003a004821..."} 
[2026-07-15 20:34:28] local.INFO: Processing buffer {"connection_id":133766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f664cff70012d196540071ff040003a004821..."} 
[2026-07-15 20:34:28] local.INFO: Packet analysis {"connection_id":133766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f664c"} 
[2026-07-15 20:34:28] local.INFO: Extracted packet for processing {"connection_id":133766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f664c"} 
[2026-07-15 20:34:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":33,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736626944001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:34:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:34: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-07-15 20:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784127750000,"timestamp_ms":1784127750000,"timestamp_seconds":1784127750,"priority":1,"record_length":96,"hex_timestamp":"0000019f664cff70"} 
[2026-07-15 20:34:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:34:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:34: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-07-15 20: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-07-15 20:34:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:34:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":133766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":133766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":133766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:34:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736626944001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736626944001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:34:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:34:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:34:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:34:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736626944001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:34:28] local.INFO: DEBUG: GPS processor result {"connection_id":133766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:34:28] local.INFO: GPS data processed {"connection_id":133766,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:34:28] local.INFO: Acknowledgment sent {"connection_id":133766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:34:50] local.INFO: TCP Data received {"connection_id":132914,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:34:50] local.INFO: Processing buffer {"connection_id":132914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:34:50] local.INFO: IMEI packet received {"connection_id":132914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":132914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:34:55] local.INFO: TCP Data received {"connection_id":133767,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133767,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:34:55] local.INFO: Processing buffer {"connection_id":133767,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:34:55] local.INFO: IMEI packet received {"connection_id":133767,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 20:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":133767,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:34:55] local.INFO: TCP Data received {"connection_id":132914,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:34:55] local.INFO: Processing buffer {"connection_id":132914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:34:55] local.INFO: IMEI packet received {"connection_id":132914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":132914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:34:56] local.INFO: TCP Data received {"connection_id":132914,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f664cff70012d196540071ff040003a004821..."} 
[2026-07-15 20:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f664cff70012d196540071ff040003a004821..."} 
[2026-07-15 20:34:56] local.INFO: Processing buffer {"connection_id":132914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f664cff70012d196540071ff040003a004821..."} 
[2026-07-15 20:34:56] local.INFO: Packet analysis {"connection_id":132914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f664c"} 
[2026-07-15 20:34:56] local.INFO: Extracted packet for processing {"connection_id":132914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f664c"} 
[2026-07-15 20:34:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":33,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736626944001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:34: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-07-15 20:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784127750000,"timestamp_ms":1784127750000,"timestamp_seconds":1784127750,"priority":1,"record_length":96,"hex_timestamp":"0000019f664cff70"} 
[2026-07-15 20:34:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:34:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:34: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-07-15 20: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-07-15 20:34:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736626944001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736626944001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:34:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:34:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736626944001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":132914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:34:56] local.INFO: GPS data processed {"connection_id":132914,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:34:56] local.INFO: Acknowledgment sent {"connection_id":132914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:35:28] local.INFO: TCP Data received {"connection_id":132914,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f664cff70012d196540071ff040003a004821..."} 
[2026-07-15 20:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f664cff70012d196540071ff040003a004821..."} 
[2026-07-15 20:35:28] local.INFO: Processing buffer {"connection_id":132914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f664cff70012d196540071ff040003a004821..."} 
[2026-07-15 20:35:28] local.INFO: Packet analysis {"connection_id":132914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f664c"} 
[2026-07-15 20:35:28] local.INFO: Extracted packet for processing {"connection_id":132914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f664c"} 
[2026-07-15 20:35:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":33,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736626944001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20: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-07-15 20:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784127750000,"timestamp_ms":1784127750000,"timestamp_seconds":1784127750,"priority":1,"record_length":96,"hex_timestamp":"0000019f664cff70"} 
[2026-07-15 20:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:35:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:35: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-07-15 20: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-07-15 20:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736626944001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736626944001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:35:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:35:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736626944001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":132914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492842,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:35:28] local.INFO: GPS data processed {"connection_id":132914,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:35:28] local.INFO: Acknowledgment sent {"connection_id":132914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:35:34] local.INFO: TCP Data received {"connection_id":132735,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132735,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:35:34] local.INFO: Processing buffer {"connection_id":132735,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:35:34] local.INFO: IMEI packet received {"connection_id":132735,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 20:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":132735,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:35:55] local.INFO: TCP Data received {"connection_id":132736,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:35:55] local.INFO: Processing buffer {"connection_id":132736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:35:55] local.INFO: IMEI packet received {"connection_id":132736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":132736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:36:00] local.INFO: TCP Data received {"connection_id":132736,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:36:00] local.INFO: Processing buffer {"connection_id":132736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:36:00] local.INFO: IMEI packet received {"connection_id":132736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":132736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:36:01] local.INFO: TCP Data received {"connection_id":132736,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f664cff70012d196540071ff040003a004821..."} 
[2026-07-15 20:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f664cff70012d196540071ff040003a004821..."} 
[2026-07-15 20:36:01] local.INFO: Processing buffer {"connection_id":132736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f664cff70012d196540071ff040003a004821..."} 
[2026-07-15 20:36:01] local.INFO: Packet analysis {"connection_id":132736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f664c"} 
[2026-07-15 20:36:01] local.INFO: Extracted packet for processing {"connection_id":132736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f664c"} 
[2026-07-15 20:36:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":33,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:36: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-07-15 20:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736626944001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:36:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:36:01] 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-07-15 20:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784127750000,"timestamp_ms":1784127750000,"timestamp_seconds":1784127750,"priority":1,"record_length":96,"hex_timestamp":"0000019f664cff70"} 
[2026-07-15 20:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:36:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:36: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-07-15 20:36: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-07-15 20:36: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-07-15 20:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":132736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":132736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":132736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:36:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736626944001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736626944001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:36:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:36:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736626944001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":132736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:36:01] local.INFO: GPS data processed {"connection_id":132736,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:36:01] local.INFO: Acknowledgment sent {"connection_id":132736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:36:06] local.INFO: TCP Data received {"connection_id":132736,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f664cff70012d196540071ff040003a004821..."} 
[2026-07-15 20:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f664cff70012d196540071ff040003a004821..."} 
[2026-07-15 20:36:06] local.INFO: Processing buffer {"connection_id":132736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f664cff70012d196540071ff040003a004821..."} 
[2026-07-15 20:36:06] local.INFO: Packet analysis {"connection_id":132736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f664c"} 
[2026-07-15 20:36:06] local.INFO: Extracted packet for processing {"connection_id":132736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f664c"} 
[2026-07-15 20:36:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":33,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736626944001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:36:06] 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-07-15 20:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784127750000,"timestamp_ms":1784127750000,"timestamp_seconds":1784127750,"priority":1,"record_length":96,"hex_timestamp":"0000019f664cff70"} 
[2026-07-15 20:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736626944001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736626944001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:36:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:36:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736626944001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":132736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:36:06] local.INFO: GPS data processed {"connection_id":132736,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:36:06] local.INFO: Acknowledgment sent {"connection_id":132736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:36:50] local.INFO: TCP Data received {"connection_id":133770,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:36:50] local.INFO: Processing buffer {"connection_id":133770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:36:50] local.INFO: IMEI packet received {"connection_id":133770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":133770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:36:55] local.INFO: TCP Data received {"connection_id":133770,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:36:55] local.INFO: Processing buffer {"connection_id":133770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:36:55] local.INFO: IMEI packet received {"connection_id":133770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":133770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:36:56] local.INFO: TCP Data received {"connection_id":133770,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f664cff70012d196540071ff040003a004821..."} 
[2026-07-15 20:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f664cff70012d196540071ff040003a004821..."} 
[2026-07-15 20:36:56] local.INFO: Processing buffer {"connection_id":133770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f664cff70012d196540071ff040003a004821..."} 
[2026-07-15 20:36:56] local.INFO: Packet analysis {"connection_id":133770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f664c"} 
[2026-07-15 20:36:56] local.INFO: Extracted packet for processing {"connection_id":133770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f664c"} 
[2026-07-15 20:36:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":33,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:36:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736626944001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:36: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-07-15 20:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784127750000,"timestamp_ms":1784127750000,"timestamp_seconds":1784127750,"priority":1,"record_length":96,"hex_timestamp":"0000019f664cff70"} 
[2026-07-15 20:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:36:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:36:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:36: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-07-15 20:36:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736626944001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736626944001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:36:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:36:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736626944001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:36:57] local.INFO: DEBUG: GPS processor result {"connection_id":133770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:36:57] local.INFO: GPS data processed {"connection_id":133770,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:36:57] local.INFO: Acknowledgment sent {"connection_id":133770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:37:28] local.INFO: TCP Data received {"connection_id":133770,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f664cff70012d196540071ff040003a004821..."} 
[2026-07-15 20:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f664cff70012d196540071ff040003a004821..."} 
[2026-07-15 20:37:28] local.INFO: Processing buffer {"connection_id":133770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f664cff70012d196540071ff040003a004821..."} 
[2026-07-15 20:37:28] local.INFO: Packet analysis {"connection_id":133770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f664c"} 
[2026-07-15 20:37:28] local.INFO: Extracted packet for processing {"connection_id":133770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f664c"} 
[2026-07-15 20:37:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":33,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736626944001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:37:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:37: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-07-15 20:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784127750000,"timestamp_ms":1784127750000,"timestamp_seconds":1784127750,"priority":1,"record_length":96,"hex_timestamp":"0000019f664cff70"} 
[2026-07-15 20:37:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:37:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:37: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-07-15 20:37:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:37:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":133770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":133770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":133770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:37:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736626944001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736626944001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:37:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:37:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:37:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736626944001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":133770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492846,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:37:28] local.INFO: GPS data processed {"connection_id":133770,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:37:28] local.INFO: Acknowledgment sent {"connection_id":133770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:37:50] local.INFO: TCP Data received {"connection_id":133771,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:37:50] local.INFO: Processing buffer {"connection_id":133771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:37:50] local.INFO: IMEI packet received {"connection_id":133771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":133771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:37:55] local.INFO: TCP Data received {"connection_id":133771,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:37:55] local.INFO: Processing buffer {"connection_id":133771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:37:55] local.INFO: IMEI packet received {"connection_id":133771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":133771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:37:56] local.INFO: TCP Data received {"connection_id":133771,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66519738012d196540071ff040003a004825..."} 
[2026-07-15 20:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66519738012d196540071ff040003a004825..."} 
[2026-07-15 20:37:56] local.INFO: Processing buffer {"connection_id":133771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66519738012d196540071ff040003a004825..."} 
[2026-07-15 20:37:56] local.INFO: Packet analysis {"connection_id":133771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6651"} 
[2026-07-15 20:37:56] local.INFO: Extracted packet for processing {"connection_id":133771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6651"} 
[2026-07-15 20:37:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736704000001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20: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-07-15 20:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784128051000,"timestamp_ms":1784128051000,"timestamp_seconds":1784128051,"priority":1,"record_length":96,"hex_timestamp":"0000019f66519738"} 
[2026-07-15 20:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:37:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:37: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-07-15 20: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-07-15 20:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736704000001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736704000001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:37:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:37:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736704000001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":133771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:37:56] local.INFO: GPS data processed {"connection_id":133771,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:37:56] local.INFO: Acknowledgment sent {"connection_id":133771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:38:28] local.INFO: TCP Data received {"connection_id":133771,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66519738012d196540071ff040003a004825..."} 
[2026-07-15 20:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66519738012d196540071ff040003a004825..."} 
[2026-07-15 20:38:28] local.INFO: Processing buffer {"connection_id":133771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66519738012d196540071ff040003a004825..."} 
[2026-07-15 20:38:28] local.INFO: Packet analysis {"connection_id":133771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6651"} 
[2026-07-15 20:38:28] local.INFO: Extracted packet for processing {"connection_id":133771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6651"} 
[2026-07-15 20:38:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 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-07-15 20:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736704000001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:38:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:38: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-07-15 20:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784128051000,"timestamp_ms":1784128051000,"timestamp_seconds":1784128051,"priority":1,"record_length":96,"hex_timestamp":"0000019f66519738"} 
[2026-07-15 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-07-15 20:38:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:38: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-07-15 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-07-15 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-07-15 20:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":133771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":133771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":133771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:38:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736704000001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736704000001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:38:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:38:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736704000001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":133771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:38:28] local.INFO: GPS data processed {"connection_id":133771,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:38:28] local.INFO: Acknowledgment sent {"connection_id":133771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:38:50] local.INFO: TCP Data received {"connection_id":135128,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:38:50] local.INFO: Processing buffer {"connection_id":135128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:38:50] local.INFO: IMEI packet received {"connection_id":135128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":135128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:38:55] local.INFO: TCP Data received {"connection_id":135128,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:38:55] local.INFO: Processing buffer {"connection_id":135128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:38:55] local.INFO: IMEI packet received {"connection_id":135128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":135128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:38:57] local.INFO: TCP Data received {"connection_id":135128,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66519738012d196540071ff040003a004825..."} 
[2026-07-15 20:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66519738012d196540071ff040003a004825..."} 
[2026-07-15 20:38:57] local.INFO: Processing buffer {"connection_id":135128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66519738012d196540071ff040003a004825..."} 
[2026-07-15 20:38:57] local.INFO: Packet analysis {"connection_id":135128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6651"} 
[2026-07-15 20:38:57] local.INFO: Extracted packet for processing {"connection_id":135128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6651"} 
[2026-07-15 20:38:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736704000001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:38: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-07-15 20:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784128051000,"timestamp_ms":1784128051000,"timestamp_seconds":1784128051,"priority":1,"record_length":96,"hex_timestamp":"0000019f66519738"} 
[2026-07-15 20:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:38:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:38:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":135128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":135128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":135128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:38:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736704000001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736704000001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:38:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:38:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736704000001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":135128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:38:57] local.INFO: GPS data processed {"connection_id":135128,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:38:57] local.INFO: Acknowledgment sent {"connection_id":135128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:39:28] local.INFO: TCP Data received {"connection_id":135128,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66519738012d196540071ff040003a004825..."} 
[2026-07-15 20:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66519738012d196540071ff040003a004825..."} 
[2026-07-15 20:39:28] local.INFO: Processing buffer {"connection_id":135128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66519738012d196540071ff040003a004825..."} 
[2026-07-15 20:39:28] local.INFO: Packet analysis {"connection_id":135128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6651"} 
[2026-07-15 20:39:28] local.INFO: Extracted packet for processing {"connection_id":135128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6651"} 
[2026-07-15 20:39:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736704000001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:39: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-07-15 20:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784128051000,"timestamp_ms":1784128051000,"timestamp_seconds":1784128051,"priority":1,"record_length":96,"hex_timestamp":"0000019f66519738"} 
[2026-07-15 20:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:39: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-07-15 20: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-07-15 20:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":135128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":135128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":135128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736704000001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736704000001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:39:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:39:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736704000001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":135128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492850,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:39:29] local.INFO: GPS data processed {"connection_id":135128,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:39:29] local.INFO: Acknowledgment sent {"connection_id":135128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:39:55] local.INFO: TCP Data received {"connection_id":132739,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:39:55] local.INFO: Processing buffer {"connection_id":132739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:39:55] local.INFO: IMEI packet received {"connection_id":132739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":132739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:40:00] local.INFO: TCP Data received {"connection_id":132739,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:40:00] local.INFO: Processing buffer {"connection_id":132739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:40:00] local.INFO: IMEI packet received {"connection_id":132739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":132739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:40:01] local.INFO: TCP Data received {"connection_id":132739,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66519738012d196540071ff040003a004825..."} 
[2026-07-15 20:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66519738012d196540071ff040003a004825..."} 
[2026-07-15 20:40:01] local.INFO: Processing buffer {"connection_id":132739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66519738012d196540071ff040003a004825..."} 
[2026-07-15 20:40:01] local.INFO: Packet analysis {"connection_id":132739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6651"} 
[2026-07-15 20:40:01] local.INFO: Extracted packet for processing {"connection_id":132739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6651"} 
[2026-07-15 20:40:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736704000001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:40:01] 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-07-15 20:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784128051000,"timestamp_ms":1784128051000,"timestamp_seconds":1784128051,"priority":1,"record_length":96,"hex_timestamp":"0000019f66519738"} 
[2026-07-15 20:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:40:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:40: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-07-15 20:40:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":132739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":132739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":132739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:40:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736704000001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736704000001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:40:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:40:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736704000001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":132739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:40:01] local.INFO: GPS data processed {"connection_id":132739,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:40:01] local.INFO: Acknowledgment sent {"connection_id":132739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:40:06] local.INFO: TCP Data received {"connection_id":132739,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66519738012d196540071ff040003a004825..."} 
[2026-07-15 20:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66519738012d196540071ff040003a004825..."} 
[2026-07-15 20:40:06] local.INFO: Processing buffer {"connection_id":132739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66519738012d196540071ff040003a004825..."} 
[2026-07-15 20:40:06] local.INFO: Packet analysis {"connection_id":132739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6651"} 
[2026-07-15 20:40:06] local.INFO: Extracted packet for processing {"connection_id":132739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6651"} 
[2026-07-15 20:40:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736704000001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:40:06] 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-07-15 20:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784128051000,"timestamp_ms":1784128051000,"timestamp_seconds":1784128051,"priority":1,"record_length":96,"hex_timestamp":"0000019f66519738"} 
[2026-07-15 20:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736704000001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736704000001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:40:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:40:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736704000001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":132739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:40:06] local.INFO: GPS data processed {"connection_id":132739,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:40:06] local.INFO: Acknowledgment sent {"connection_id":132739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:40:50] local.INFO: TCP Data received {"connection_id":133772,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:40:50] local.INFO: Processing buffer {"connection_id":133772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:40:50] local.INFO: IMEI packet received {"connection_id":133772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":133772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:40:55] local.INFO: TCP Data received {"connection_id":133772,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:40:55] local.INFO: Processing buffer {"connection_id":133772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:40:55] local.INFO: IMEI packet received {"connection_id":133772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":133772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:40:56] local.INFO: TCP Data received {"connection_id":133772,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66519738012d196540071ff040003a004825..."} 
[2026-07-15 20:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66519738012d196540071ff040003a004825..."} 
[2026-07-15 20:40:56] local.INFO: Processing buffer {"connection_id":133772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66519738012d196540071ff040003a004825..."} 
[2026-07-15 20:40:56] local.INFO: Packet analysis {"connection_id":133772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6651"} 
[2026-07-15 20:40:56] local.INFO: Extracted packet for processing {"connection_id":133772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6651"} 
[2026-07-15 20:40:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736704000001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:40: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-07-15 20:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784128051000,"timestamp_ms":1784128051000,"timestamp_seconds":1784128051,"priority":1,"record_length":96,"hex_timestamp":"0000019f66519738"} 
[2026-07-15 20:40:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:40:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:40: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-07-15 20:40:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:40:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736704000001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736704000001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:40:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:40:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736704000001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":133772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:40:56] local.INFO: GPS data processed {"connection_id":133772,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:40:56] local.INFO: Acknowledgment sent {"connection_id":133772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:41:03] local.INFO: TCP Data received {"connection_id":135129,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135129,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:41:03] local.INFO: Processing buffer {"connection_id":135129,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:41:03] local.INFO: IMEI packet received {"connection_id":135129,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 20:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":135129,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:41:28] local.INFO: TCP Data received {"connection_id":133772,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66519738012d196540071ff040003a004825..."} 
[2026-07-15 20:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66519738012d196540071ff040003a004825..."} 
[2026-07-15 20:41:28] local.INFO: Processing buffer {"connection_id":133772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66519738012d196540071ff040003a004825..."} 
[2026-07-15 20:41:28] local.INFO: Packet analysis {"connection_id":133772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6651"} 
[2026-07-15 20:41:28] local.INFO: Extracted packet for processing {"connection_id":133772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6651"} 
[2026-07-15 20:41:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:41: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-07-15 20:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736704000001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:41: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-07-15 20:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784128051000,"timestamp_ms":1784128051000,"timestamp_seconds":1784128051,"priority":1,"record_length":96,"hex_timestamp":"0000019f66519738"} 
[2026-07-15 20:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:41:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:41: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-07-15 20:41: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-07-15 20:41: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-07-15 20:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":133772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":133772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":133772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736704000001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736704000001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:41:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:41:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736704000001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":133772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:41:28] local.INFO: GPS data processed {"connection_id":133772,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:41:28] local.INFO: Acknowledgment sent {"connection_id":133772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:41:34] local.INFO: TCP Data received {"connection_id":133773,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133773,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:41:34] local.INFO: Processing buffer {"connection_id":133773,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:41:34] local.INFO: IMEI packet received {"connection_id":133773,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 20:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":133773,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:41:47] local.INFO: TCP Data received {"connection_id":133773,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133773,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:41:47] local.INFO: Processing buffer {"connection_id":133773,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:41:47] local.INFO: IMEI packet received {"connection_id":133773,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 20:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":133773,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:41:48] local.INFO: TCP Data received {"connection_id":133773,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f665446b8012d252b0006c6e8f8000c00972b..."} 
[2026-07-15 20:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f665446b8012d252b0006c6e8f8000c00972b..."} 
[2026-07-15 20:41:48] local.INFO: Processing buffer {"connection_id":133773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f665446b8012d252b0006c6e8f8000c00972b..."} 
[2026-07-15 20:41:48] local.INFO: Packet analysis {"connection_id":133773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6654"} 
[2026-07-15 20:41:48] local.INFO: Extracted packet for processing {"connection_id":133773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6654"} 
[2026-07-15 20:41:48] local.INFO: GPS Element Parsed {"raw_longitude":757410560,"raw_latitude":113699064,"longitude_deg":75.741056,"latitude_deg":11.3699064,"altitude":12,"angle":151,"satellites":43,"speed":0,"hex_longitude":"2d252b00","hex_latitude":"06c6e8f8","is_valid_coordinates":true} 
[2026-07-15 20:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736820736001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":136642881283686400,"note":"Value kept but may cause issues"} 
[2026-07-15 20:41:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2666412483492321280,"note":"Value kept but may cause issues"} 
[2026-07-15 20:41:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784128227000,"timestamp_ms":1784128227000,"timestamp_seconds":1784128227,"priority":1,"record_length":96,"hex_timestamp":"0000019f665446b8"} 
[2026-07-15 20:41:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:41: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-07-15 20:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 20:41:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:41:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:41:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":133773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":133773,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 20:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":133773,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 20:41:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 20:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 20:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736820736001,"66":27821,"78":206,"81":22528,"24":0,"16":136642881283686400,"45":2666412483492321280},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-07-15 20:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 20:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 20:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736820736001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:41:48] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-07-15 20:41:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-07-15 20:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":136642881283686400,"km_value":136642881283686.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:41:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":2666412483492321280,"description":"Unknown IO ID 45"} 
[2026-07-15 20:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736820736001,"power":27821,"unknown_78":206,"unknown_81":22528,"ignition":0,"odometer":null,"unknown_45":2666412483492321280}} 
[2026-07-15 20:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":133773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492855,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:41:48] local.INFO: GPS data processed {"connection_id":133773,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:41:48] local.INFO: Acknowledgment sent {"connection_id":133773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:41:50] local.INFO: TCP Data received {"connection_id":135130,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:41:50] local.INFO: Processing buffer {"connection_id":135130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:41:50] local.INFO: IMEI packet received {"connection_id":135130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":135130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:41:55] local.INFO: TCP Data received {"connection_id":135130,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:41:55] local.INFO: Processing buffer {"connection_id":135130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:41:55] local.INFO: IMEI packet received {"connection_id":135130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":135130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:41:56] local.INFO: TCP Data received {"connection_id":135130,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66519738012d196540071ff040003a004825..."} 
[2026-07-15 20:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66519738012d196540071ff040003a004825..."} 
[2026-07-15 20:41:56] local.INFO: Processing buffer {"connection_id":135130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66519738012d196540071ff040003a004825..."} 
[2026-07-15 20:41:56] local.INFO: Packet analysis {"connection_id":135130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6651"} 
[2026-07-15 20:41:56] local.INFO: Extracted packet for processing {"connection_id":135130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6651"} 
[2026-07-15 20:41:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736704000001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:41: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-07-15 20:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784128051000,"timestamp_ms":1784128051000,"timestamp_seconds":1784128051,"priority":1,"record_length":96,"hex_timestamp":"0000019f66519738"} 
[2026-07-15 20:41:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:41:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:41: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-07-15 20: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-07-15 20:41:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":135130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":135130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":135130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:41:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736704000001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736704000001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:41:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:41:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736704000001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":135130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:41:56] local.INFO: GPS data processed {"connection_id":135130,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:41:56] local.INFO: Acknowledgment sent {"connection_id":135130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:42:28] local.INFO: TCP Data received {"connection_id":135130,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66519738012d196540071ff040003a004825..."} 
[2026-07-15 20:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66519738012d196540071ff040003a004825..."} 
[2026-07-15 20:42:28] local.INFO: Processing buffer {"connection_id":135130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66519738012d196540071ff040003a004825..."} 
[2026-07-15 20:42:28] local.INFO: Packet analysis {"connection_id":135130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6651"} 
[2026-07-15 20:42:28] local.INFO: Extracted packet for processing {"connection_id":135130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6651"} 
[2026-07-15 20:42:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736704000001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:42: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-07-15 20:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784128051000,"timestamp_ms":1784128051000,"timestamp_seconds":1784128051,"priority":1,"record_length":96,"hex_timestamp":"0000019f66519738"} 
[2026-07-15 20:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:42:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:42: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-07-15 20: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-07-15 20:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":135130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":135130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":135130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736704000001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736704000001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:42:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:42:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736704000001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":135130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:42:28] local.INFO: GPS data processed {"connection_id":135130,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:42:28] local.INFO: Acknowledgment sent {"connection_id":135130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:42:39] local.INFO: TCP Data received {"connection_id":132740,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132740,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:42:39] local.INFO: Processing buffer {"connection_id":132740,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:42:39] local.INFO: IMEI packet received {"connection_id":132740,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 20:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":132740,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:42:50] local.INFO: TCP Data received {"connection_id":132741,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:42:50] local.INFO: Processing buffer {"connection_id":132741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:42:50] local.INFO: IMEI packet received {"connection_id":132741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":132741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:42:55] local.INFO: TCP Data received {"connection_id":132741,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:42:55] local.INFO: Processing buffer {"connection_id":132741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:42:55] local.INFO: IMEI packet received {"connection_id":132741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":132741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:42:56] local.INFO: TCP Data received {"connection_id":132741,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66562f00012d196540071ff040003a004827..."} 
[2026-07-15 20:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66562f00012d196540071ff040003a004827..."} 
[2026-07-15 20:42:56] local.INFO: Processing buffer {"connection_id":132741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66562f00012d196540071ff040003a004827..."} 
[2026-07-15 20:42:56] local.INFO: Packet analysis {"connection_id":132741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6656"} 
[2026-07-15 20:42:56] local.INFO: Extracted packet for processing {"connection_id":132741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6656"} 
[2026-07-15 20:42:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736781056001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:42:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:42: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-07-15 20:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784128352000,"timestamp_ms":1784128352000,"timestamp_seconds":1784128352,"priority":1,"record_length":96,"hex_timestamp":"0000019f66562f00"} 
[2026-07-15 20:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:42:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:42: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-07-15 20: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-07-15 20:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:42:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736781056001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736781056001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:42:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:42:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:42:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736781056001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":132741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:42:56] local.INFO: GPS data processed {"connection_id":132741,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:42:56] local.INFO: Acknowledgment sent {"connection_id":132741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:43:05] local.INFO: TCP Data received {"connection_id":132916,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:43:05] local.INFO: Processing buffer {"connection_id":132916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:43:05] local.INFO: IMEI packet received {"connection_id":132916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 20:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":132916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:43:10] local.INFO: TCP Data received {"connection_id":132916,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:43:10] local.INFO: Processing buffer {"connection_id":132916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:43:10] local.INFO: IMEI packet received {"connection_id":132916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 20:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":132916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:43:12] local.INFO: TCP Data received {"connection_id":132916,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f664b3a50012d77aac005f256e80005015527..."} 
[2026-07-15 20:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f664b3a50012d77aac005f256e80005015527..."} 
[2026-07-15 20:43:12] local.INFO: Processing buffer {"connection_id":132916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f664b3a50012d77aac005f256e80005015527..."} 
[2026-07-15 20:43:12] local.INFO: Packet analysis {"connection_id":132916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f664b"} 
[2026-07-15 20:43:12] local.INFO: Extracted packet for processing {"connection_id":132916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f664b"} 
[2026-07-15 20:43:12] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99768040,"longitude_deg":76.2817216,"latitude_deg":9.976804,"altitude":5,"angle":341,"satellites":39,"speed":11,"hex_longitude":"2d77aac0","hex_latitude":"05f256e8","is_valid_coordinates":true} 
[2026-07-15 20:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736672000001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483474384388096,"note":"Value kept but may cause issues"} 
[2026-07-15 20:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623337780791537664,"note":"Value kept but may cause issues"} 
[2026-07-15 20:43:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784127634000,"timestamp_ms":1784127634000,"timestamp_seconds":1784127634,"priority":1,"record_length":96,"hex_timestamp":"0000019f664b3a50"} 
[2026-07-15 20:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 20: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-15 20:43:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20: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-07-15 20:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736672000001,"66":27397,"49":206,"87":13568,"24":11,"16":347483474384388096,"45":8623337780791537664},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,87,24,16,45]} 
[2026-07-15 20:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736672000001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:43:12] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-15 20:43:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-07-15 20:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483474384388096,"km_value":347483474384388.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623337780791537664,"description":"Unknown IO ID 45"} 
[2026-07-15 20:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736672000001,"power":27397,"unknown_49":206,"unknown_87":13568,"ignition":11,"odometer":null,"unknown_45":8623337780791537664}} 
[2026-07-15 20:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":132916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:43:12] local.INFO: GPS data processed {"connection_id":132916,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:43:12] local.INFO: Acknowledgment sent {"connection_id":132916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:43:16] local.INFO: TCP Data received {"connection_id":132916,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f664b51c0012d77aa0005f25d300003016127..."} 
[2026-07-15 20:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f664b51c0012d77aa0005f25d300003016127..."} 
[2026-07-15 20:43:16] local.INFO: Processing buffer {"connection_id":132916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f664b51c0012d77aa0005f25d300003016127..."} 
[2026-07-15 20:43:16] local.INFO: Packet analysis {"connection_id":132916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f664b"} 
[2026-07-15 20:43:16] local.INFO: Extracted packet for processing {"connection_id":132916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f664b"} 
[2026-07-15 20:43:16] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99769648,"longitude_deg":76.2817024,"latitude_deg":9.9769648,"altitude":3,"angle":353,"satellites":39,"speed":14,"hex_longitude":"2d77aa00","hex_latitude":"05f25d30","is_valid_coordinates":true} 
[2026-07-15 20:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736674304001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483555988766720,"note":"Value kept but may cause issues"} 
[2026-07-15 20:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568327387136,"note":"Value kept but may cause issues"} 
[2026-07-15 20:43:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784127640000,"timestamp_ms":1784127640000,"timestamp_seconds":1784127640,"priority":1,"record_length":96,"hex_timestamp":"0000019f664b51c0"} 
[2026-07-15 20:43:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:43:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 20:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-15 20:43:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:43:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:43:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736674304001,"66":27658,"49":206,"87":13568,"24":14,"16":347483555988766720,"45":8622915568327387136},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,87,24,16,45]} 
[2026-07-15 20:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736674304001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:43:16] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-15 20:43:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-07-15 20:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483555988766720,"km_value":347483555988766.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568327387136,"description":"Unknown IO ID 45"} 
[2026-07-15 20:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736674304001,"power":27658,"unknown_49":206,"unknown_87":13568,"ignition":14,"odometer":null,"unknown_45":8622915568327387136}} 
[2026-07-15 20:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":132916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:43:16] local.INFO: GPS data processed {"connection_id":132916,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:43:16] local.INFO: Acknowledgment sent {"connection_id":132916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:43:28] local.INFO: TCP Data received {"connection_id":132741,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66562f00012d196540071ff040003a004827..."} 
[2026-07-15 20:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66562f00012d196540071ff040003a004827..."} 
[2026-07-15 20:43:28] local.INFO: Processing buffer {"connection_id":132741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66562f00012d196540071ff040003a004827..."} 
[2026-07-15 20:43:28] local.INFO: Packet analysis {"connection_id":132741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6656"} 
[2026-07-15 20:43:28] local.INFO: Extracted packet for processing {"connection_id":132741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6656"} 
[2026-07-15 20:43:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736781056001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:43: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-07-15 20:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784128352000,"timestamp_ms":1784128352000,"timestamp_seconds":1784128352,"priority":1,"record_length":96,"hex_timestamp":"0000019f66562f00"} 
[2026-07-15 20:43:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:43:28] 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-07-15 20:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:43: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-07-15 20:43:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:43:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:43:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736781056001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736781056001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:43:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:43:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736781056001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":132741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:43:28] local.INFO: GPS data processed {"connection_id":132741,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:43:28] local.INFO: Acknowledgment sent {"connection_id":132741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:43:55] local.INFO: TCP Data received {"connection_id":133774,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:43:55] local.INFO: Processing buffer {"connection_id":133774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:43:55] local.INFO: IMEI packet received {"connection_id":133774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":133774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:44:00] local.INFO: TCP Data received {"connection_id":132918,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:44:00] local.INFO: Processing buffer {"connection_id":132918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:44:00] local.INFO: IMEI packet received {"connection_id":132918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 20:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":132918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:44:00] local.INFO: TCP Data received {"connection_id":133774,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:44:00] local.INFO: Processing buffer {"connection_id":133774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:44:00] local.INFO: IMEI packet received {"connection_id":133774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":133774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:44:01] local.INFO: TCP Data received {"connection_id":133774,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66562f00012d196540071ff040003a004827..."} 
[2026-07-15 20:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66562f00012d196540071ff040003a004827..."} 
[2026-07-15 20:44:01] local.INFO: Processing buffer {"connection_id":133774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66562f00012d196540071ff040003a004827..."} 
[2026-07-15 20:44:01] local.INFO: Packet analysis {"connection_id":133774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6656"} 
[2026-07-15 20:44:01] local.INFO: Extracted packet for processing {"connection_id":133774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6656"} 
[2026-07-15 20:44:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736781056001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:44:01] 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-07-15 20:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784128352000,"timestamp_ms":1784128352000,"timestamp_seconds":1784128352,"priority":1,"record_length":96,"hex_timestamp":"0000019f66562f00"} 
[2026-07-15 20:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:44:01] 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-07-15 20:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:44: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-07-15 20:44:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":133774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":133774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":133774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736781056001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736781056001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:44:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:44:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736781056001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":133774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:44:01] local.INFO: GPS data processed {"connection_id":133774,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:44:01] local.INFO: Acknowledgment sent {"connection_id":133774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:44:05] local.INFO: TCP Data received {"connection_id":132918,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:44:05] local.INFO: Processing buffer {"connection_id":132918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:44:05] local.INFO: IMEI packet received {"connection_id":132918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 20:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":132918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:44:06] local.INFO: TCP Data received {"connection_id":132918,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f664b8c58012d77a7c005f275900002014c24..."} 
[2026-07-15 20:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f664b8c58012d77a7c005f275900002014c24..."} 
[2026-07-15 20:44:06] local.INFO: Processing buffer {"connection_id":132918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f664b8c58012d77a7c005f275900002014c24..."} 
[2026-07-15 20:44:06] local.INFO: Packet analysis {"connection_id":132918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f664b"} 
[2026-07-15 20:44:06] local.INFO: Extracted packet for processing {"connection_id":132918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f664b"} 
[2026-07-15 20:44:06] local.INFO: GPS Element Parsed {"raw_longitude":762816448,"raw_latitude":99775888,"longitude_deg":76.2816448,"latitude_deg":9.9775888,"altitude":2,"angle":332,"satellites":36,"speed":6,"hex_longitude":"2d77a7c0","hex_latitude":"05f27590","is_valid_coordinates":true} 
[2026-07-15 20:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736675840001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483860931444736,"note":"Value kept but may cause issues"} 
[2026-07-15 20:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462095265792,"note":"Value kept but may cause issues"} 
[2026-07-15 20:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784127655000,"timestamp_ms":1784127655000,"timestamp_seconds":1784127655,"priority":1,"record_length":96,"hex_timestamp":"0000019f664b8c58"} 
[2026-07-15 20:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 20:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-15 20:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736675840001,"66":27800,"49":206,"87":13568,"24":6,"16":347483860931444736,"45":8622704462095265792},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,87,24,16,45]} 
[2026-07-15 20:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736675840001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:44:06] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-15 20:44:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-07-15 20:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483860931444736,"km_value":347483860931444.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462095265792,"description":"Unknown IO ID 45"} 
[2026-07-15 20:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736675840001,"power":27800,"unknown_49":206,"unknown_87":13568,"ignition":6,"odometer":null,"unknown_45":8622704462095265792}} 
[2026-07-15 20:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":132918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:44:06] local.INFO: GPS data processed {"connection_id":132918,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:44:06] local.INFO: Acknowledgment sent {"connection_id":132918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:44:33] local.INFO: TCP Data received {"connection_id":133774,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66562f00012d196540071ff040003a004827..."} 
[2026-07-15 20:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66562f00012d196540071ff040003a004827..."} 
[2026-07-15 20:44:33] local.INFO: Processing buffer {"connection_id":133774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66562f00012d196540071ff040003a004827..."} 
[2026-07-15 20:44:33] local.INFO: Packet analysis {"connection_id":133774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6656"} 
[2026-07-15 20:44:33] local.INFO: Extracted packet for processing {"connection_id":133774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6656"} 
[2026-07-15 20:44:33] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736781056001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:44:33] 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-07-15 20:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784128352000,"timestamp_ms":1784128352000,"timestamp_seconds":1784128352,"priority":1,"record_length":96,"hex_timestamp":"0000019f66562f00"} 
[2026-07-15 20:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:44: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-07-15 20:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20: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-07-15 20:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":133774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":133774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":133774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736781056001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736781056001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:44:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:44:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736781056001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":133774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:44:33] local.INFO: GPS data processed {"connection_id":133774,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:44:33] local.INFO: Acknowledgment sent {"connection_id":133774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:44:38] local.INFO: TCP Data received {"connection_id":132918,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f664bb750012d77a74005f279e80003014728..."} 
[2026-07-15 20:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f664bb750012d77a74005f279e80003014728..."} 
[2026-07-15 20:44:38] local.INFO: Processing buffer {"connection_id":132918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f664bb750012d77a74005f279e80003014728..."} 
[2026-07-15 20:44:38] local.INFO: Packet analysis {"connection_id":132918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f664b"} 
[2026-07-15 20:44:38] local.INFO: Extracted packet for processing {"connection_id":132918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f664b"} 
[2026-07-15 20:44:38] local.INFO: GPS Element Parsed {"raw_longitude":762816320,"raw_latitude":99777000,"longitude_deg":76.281632,"latitude_deg":9.9777,"altitude":3,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d77a740","hex_latitude":"05f279e8","is_valid_coordinates":true} 
[2026-07-15 20:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736679680001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 20:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622071143399264256,"note":"Value kept but may cause issues"} 
[2026-07-15 20:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784127666000,"timestamp_ms":1784127666000,"timestamp_seconds":1784127666,"priority":1,"record_length":96,"hex_timestamp":"0000019f664bb750"} 
[2026-07-15 20:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 20: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-15 20:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20: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-07-15 20:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736679680001,"66":27832,"49":206,"87":13568,"24":0,"16":347483916766019584,"45":8622071143399264256},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,87,24,16,45]} 
[2026-07-15 20:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736679680001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:44:38] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-15 20:44:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-07-15 20:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622071143399264256,"description":"Unknown IO ID 45"} 
[2026-07-15 20:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736679680001,"power":27832,"unknown_49":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622071143399264256}} 
[2026-07-15 20:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":132918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:44:38] local.INFO: GPS data processed {"connection_id":132918,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:44:38] local.INFO: Acknowledgment sent {"connection_id":132918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:44:50] local.INFO: TCP Data received {"connection_id":132742,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:44:50] local.INFO: Processing buffer {"connection_id":132742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:44:50] local.INFO: IMEI packet received {"connection_id":132742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":132742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:44:55] local.INFO: TCP Data received {"connection_id":132742,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:44:55] local.INFO: Processing buffer {"connection_id":132742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:44:55] local.INFO: IMEI packet received {"connection_id":132742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":132742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:44:56] local.INFO: TCP Data received {"connection_id":132742,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66562f00012d196540071ff040003a004827..."} 
[2026-07-15 20:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66562f00012d196540071ff040003a004827..."} 
[2026-07-15 20:44:56] local.INFO: Processing buffer {"connection_id":132742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66562f00012d196540071ff040003a004827..."} 
[2026-07-15 20:44:56] local.INFO: Packet analysis {"connection_id":132742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6656"} 
[2026-07-15 20:44:56] local.INFO: Extracted packet for processing {"connection_id":132742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6656"} 
[2026-07-15 20:44:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736781056001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:44:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:44: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-07-15 20:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784128352000,"timestamp_ms":1784128352000,"timestamp_seconds":1784128352,"priority":1,"record_length":96,"hex_timestamp":"0000019f66562f00"} 
[2026-07-15 20:44:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:44:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:44: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-07-15 20:44:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:44:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:44:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736781056001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736781056001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:44:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:44:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:44:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736781056001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":132742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:44:56] local.INFO: GPS data processed {"connection_id":132742,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:44:56] local.INFO: Acknowledgment sent {"connection_id":132742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:45:01] local.INFO: TCP Data received {"connection_id":133776,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:45:01] local.INFO: Processing buffer {"connection_id":133776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:45:01] local.INFO: IMEI packet received {"connection_id":133776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 20:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":133776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:45:06] local.INFO: TCP Data received {"connection_id":133776,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:45:06] local.INFO: Processing buffer {"connection_id":133776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:45:06] local.INFO: IMEI packet received {"connection_id":133776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 20:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":133776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:45:06] local.INFO: TCP Data received {"connection_id":133776,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f6657ec50012d77a94005f279f0000e014725..."} 
[2026-07-15 20:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6657ec50012d77a94005f279f0000e014725..."} 
[2026-07-15 20:45:06] local.INFO: Processing buffer {"connection_id":133776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6657ec50012d77a94005f279f0000e014725..."} 
[2026-07-15 20:45:06] local.INFO: Packet analysis {"connection_id":133776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6657"} 
[2026-07-15 20:45:06] local.INFO: Extracted packet for processing {"connection_id":133776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6657"} 
[2026-07-15 20:45:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 20:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736682496001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 20:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621930405911193600,"note":"Value kept but may cause issues"} 
[2026-07-15 20:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784128466000,"timestamp_ms":1784128466000,"timestamp_seconds":1784128466,"priority":1,"record_length":96,"hex_timestamp":"0000019f6657ec50"} 
[2026-07-15 20:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-15 20:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736682496001,"66":26006,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8621930405911193600},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 20:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736682496001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:45:06] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 20:45:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 20:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621930405911193600,"description":"Unknown IO ID 45"} 
[2026-07-15 20:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736682496001,"power":26006,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621930405911193600}} 
[2026-07-15 20:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":133776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:45:06] local.INFO: GPS data processed {"connection_id":133776,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:45:06] local.INFO: Acknowledgment sent {"connection_id":133776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:45:28] local.INFO: TCP Data received {"connection_id":132742,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66562f00012d196540071ff040003a004827..."} 
[2026-07-15 20:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66562f00012d196540071ff040003a004827..."} 
[2026-07-15 20:45:28] local.INFO: Processing buffer {"connection_id":132742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66562f00012d196540071ff040003a004827..."} 
[2026-07-15 20:45:28] local.INFO: Packet analysis {"connection_id":132742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6656"} 
[2026-07-15 20:45:28] local.INFO: Extracted packet for processing {"connection_id":132742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6656"} 
[2026-07-15 20:45:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736781056001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:45:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:45: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-07-15 20:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784128352000,"timestamp_ms":1784128352000,"timestamp_seconds":1784128352,"priority":1,"record_length":96,"hex_timestamp":"0000019f66562f00"} 
[2026-07-15 20:45:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:45:28] 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-07-15 20:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:45: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-07-15 20:45:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:45:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:45:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736781056001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736781056001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:45:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:45:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:45:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736781056001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:45:28] local.INFO: DEBUG: GPS processor result {"connection_id":132742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:45:28] local.INFO: GPS data processed {"connection_id":132742,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:45:28] local.INFO: Acknowledgment sent {"connection_id":132742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:45:38] local.INFO: TCP Data received {"connection_id":133776,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f6657ec50012d77a94005f279f0000e014725..."} 
[2026-07-15 20:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6657ec50012d77a94005f279f0000e014725..."} 
[2026-07-15 20:45:38] local.INFO: Processing buffer {"connection_id":133776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6657ec50012d77a94005f279f0000e014725..."} 
[2026-07-15 20:45:38] local.INFO: Packet analysis {"connection_id":133776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6657"} 
[2026-07-15 20:45:38] local.INFO: Extracted packet for processing {"connection_id":133776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6657"} 
[2026-07-15 20:45:38] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736682496001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 20:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621930405911193600,"note":"Value kept but may cause issues"} 
[2026-07-15 20:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784128466000,"timestamp_ms":1784128466000,"timestamp_seconds":1784128466,"priority":1,"record_length":96,"hex_timestamp":"0000019f6657ec50"} 
[2026-07-15 20:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-15 20:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20: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-07-15 20:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736682496001,"66":26006,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8621930405911193600},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 20:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736682496001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:45:38] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 20:45:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 20:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621930405911193600,"description":"Unknown IO ID 45"} 
[2026-07-15 20:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736682496001,"power":26006,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621930405911193600}} 
[2026-07-15 20:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":133776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:45:38] local.INFO: GPS data processed {"connection_id":133776,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:45:38] local.INFO: Acknowledgment sent {"connection_id":133776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:45:49] local.INFO: TCP Data received {"connection_id":132919,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:45:49] local.INFO: Processing buffer {"connection_id":132919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:45:49] local.INFO: IMEI packet received {"connection_id":132919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":132919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:45:55] local.INFO: TCP Data received {"connection_id":132919,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:45:55] local.INFO: Processing buffer {"connection_id":132919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:45:55] local.INFO: IMEI packet received {"connection_id":132919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":132919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:45:56] local.INFO: TCP Data received {"connection_id":132919,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66562f00012d196540071ff040003a004827..."} 
[2026-07-15 20:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66562f00012d196540071ff040003a004827..."} 
[2026-07-15 20:45:56] local.INFO: Processing buffer {"connection_id":132919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66562f00012d196540071ff040003a004827..."} 
[2026-07-15 20:45:56] local.INFO: Packet analysis {"connection_id":132919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6656"} 
[2026-07-15 20:45:56] local.INFO: Extracted packet for processing {"connection_id":132919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6656"} 
[2026-07-15 20:45:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736781056001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:45: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-07-15 20:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784128352000,"timestamp_ms":1784128352000,"timestamp_seconds":1784128352,"priority":1,"record_length":96,"hex_timestamp":"0000019f66562f00"} 
[2026-07-15 20:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:45:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:45: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-07-15 20: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-07-15 20:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736781056001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736781056001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:45:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:45:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736781056001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":132919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:45:56] local.INFO: GPS data processed {"connection_id":132919,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:45:56] local.INFO: Acknowledgment sent {"connection_id":132919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:46:00] local.INFO: TCP Data received {"connection_id":135132,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:46:00] local.INFO: Processing buffer {"connection_id":135132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:46:00] local.INFO: IMEI packet received {"connection_id":135132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 20:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":135132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:46:06] local.INFO: TCP Data received {"connection_id":135132,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:46:06] local.INFO: Processing buffer {"connection_id":135132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:46:06] local.INFO: IMEI packet received {"connection_id":135132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 20:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":135132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:46:08] local.INFO: TCP Data received {"connection_id":135132,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f6657ec50012d77a94005f279f0000e014725..."} 
[2026-07-15 20:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6657ec50012d77a94005f279f0000e014725..."} 
[2026-07-15 20:46:08] local.INFO: Processing buffer {"connection_id":135132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6657ec50012d77a94005f279f0000e014725..."} 
[2026-07-15 20:46:08] local.INFO: Packet analysis {"connection_id":135132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6657"} 
[2026-07-15 20:46:08] local.INFO: Extracted packet for processing {"connection_id":135132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6657"} 
[2026-07-15 20:46:08] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 20:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736682496001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 20:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621930405911193600,"note":"Value kept but may cause issues"} 
[2026-07-15 20:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784128466000,"timestamp_ms":1784128466000,"timestamp_seconds":1784128466,"priority":1,"record_length":96,"hex_timestamp":"0000019f6657ec50"} 
[2026-07-15 20:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-15 20:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":135132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":135132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":135132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736682496001,"66":26006,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8621930405911193600},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 20:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736682496001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:46:08] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 20:46:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 20:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621930405911193600,"description":"Unknown IO ID 45"} 
[2026-07-15 20:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736682496001,"power":26006,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621930405911193600}} 
[2026-07-15 20:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":135132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:46:08] local.INFO: GPS data processed {"connection_id":135132,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:46:08] local.INFO: Acknowledgment sent {"connection_id":135132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:46:14] local.INFO: TCP Data received {"connection_id":135132,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f6657ec50012d77a94005f279f0000e014725..."} 
[2026-07-15 20:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6657ec50012d77a94005f279f0000e014725..."} 
[2026-07-15 20:46:14] local.INFO: Processing buffer {"connection_id":135132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6657ec50012d77a94005f279f0000e014725..."} 
[2026-07-15 20:46:14] local.INFO: Packet analysis {"connection_id":135132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6657"} 
[2026-07-15 20:46:14] local.INFO: Extracted packet for processing {"connection_id":135132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6657"} 
[2026-07-15 20:46:14] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 20:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736682496001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 20:46:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621930405911193600,"note":"Value kept but may cause issues"} 
[2026-07-15 20:46:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784128466000,"timestamp_ms":1784128466000,"timestamp_seconds":1784128466,"priority":1,"record_length":96,"hex_timestamp":"0000019f6657ec50"} 
[2026-07-15 20:46:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:46:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-15 20:46:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:46:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:46:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":135132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":135132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":135132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:46:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736682496001,"66":26006,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8621930405911193600},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 20:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736682496001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:46:14] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 20:46:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 20:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:46:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621930405911193600,"description":"Unknown IO ID 45"} 
[2026-07-15 20:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736682496001,"power":26006,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621930405911193600}} 
[2026-07-15 20:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":135132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:46:14] local.INFO: GPS data processed {"connection_id":135132,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:46:14] local.INFO: Acknowledgment sent {"connection_id":135132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:46:28] local.INFO: TCP Data received {"connection_id":132919,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66562f00012d196540071ff040003a004827..."} 
[2026-07-15 20:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66562f00012d196540071ff040003a004827..."} 
[2026-07-15 20:46:28] local.INFO: Processing buffer {"connection_id":132919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66562f00012d196540071ff040003a004827..."} 
[2026-07-15 20:46:28] local.INFO: Packet analysis {"connection_id":132919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6656"} 
[2026-07-15 20:46:28] local.INFO: Extracted packet for processing {"connection_id":132919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6656"} 
[2026-07-15 20:46:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736781056001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:46: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-07-15 20:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784128352000,"timestamp_ms":1784128352000,"timestamp_seconds":1784128352,"priority":1,"record_length":96,"hex_timestamp":"0000019f66562f00"} 
[2026-07-15 20:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:46:28] 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-07-15 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:46: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-07-15 20: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-07-15 20:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736781056001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736781056001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:46:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:46:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736781056001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":132919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:46:28] local.INFO: GPS data processed {"connection_id":132919,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:46:28] local.INFO: Acknowledgment sent {"connection_id":132919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:46:45] local.INFO: TCP Data received {"connection_id":135132,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f6657ec50012d77a94005f279f0000e014725..."} 
[2026-07-15 20:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6657ec50012d77a94005f279f0000e014725..."} 
[2026-07-15 20:46:45] local.INFO: Processing buffer {"connection_id":135132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6657ec50012d77a94005f279f0000e014725..."} 
[2026-07-15 20:46:45] local.INFO: Packet analysis {"connection_id":135132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6657"} 
[2026-07-15 20:46:45] local.INFO: Extracted packet for processing {"connection_id":135132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6657"} 
[2026-07-15 20:46:45] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 20:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736682496001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 20:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621930405911193600,"note":"Value kept but may cause issues"} 
[2026-07-15 20:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784128466000,"timestamp_ms":1784128466000,"timestamp_seconds":1784128466,"priority":1,"record_length":96,"hex_timestamp":"0000019f6657ec50"} 
[2026-07-15 20:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:46:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-15 20:46:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:46:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":135132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":135132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":135132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736682496001,"66":26006,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8621930405911193600},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 20:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736682496001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:46:45] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 20:46:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 20:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621930405911193600,"description":"Unknown IO ID 45"} 
[2026-07-15 20:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736682496001,"power":26006,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621930405911193600}} 
[2026-07-15 20:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":135132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:46:45] local.INFO: GPS data processed {"connection_id":135132,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:46:45] local.INFO: Acknowledgment sent {"connection_id":135132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:46:50] local.INFO: TCP Data received {"connection_id":133777,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:46:50] local.INFO: Processing buffer {"connection_id":133777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:46:50] local.INFO: IMEI packet received {"connection_id":133777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":133777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:46:54] local.INFO: TCP Data received {"connection_id":133777,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:46:54] local.INFO: Processing buffer {"connection_id":133777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:46:54] local.INFO: IMEI packet received {"connection_id":133777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":133777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:46:56] local.INFO: TCP Data received {"connection_id":133777,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66562f00012d196540071ff040003a004827..."} 
[2026-07-15 20:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66562f00012d196540071ff040003a004827..."} 
[2026-07-15 20:46:56] local.INFO: Processing buffer {"connection_id":133777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66562f00012d196540071ff040003a004827..."} 
[2026-07-15 20:46:56] local.INFO: Packet analysis {"connection_id":133777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6656"} 
[2026-07-15 20:46:56] local.INFO: Extracted packet for processing {"connection_id":133777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6656"} 
[2026-07-15 20:46:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:46:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736781056001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:46:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:46: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-07-15 20:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784128352000,"timestamp_ms":1784128352000,"timestamp_seconds":1784128352,"priority":1,"record_length":96,"hex_timestamp":"0000019f66562f00"} 
[2026-07-15 20:46:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:46:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:46:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:46: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-07-15 20:46:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:46:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:46:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736781056001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736781056001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:46:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:46:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736781056001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":133777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492875,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:46:56] local.INFO: GPS data processed {"connection_id":133777,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:46:56] local.INFO: Acknowledgment sent {"connection_id":133777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:47:05] local.INFO: TCP Data received {"connection_id":132920,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:47:05] local.INFO: Processing buffer {"connection_id":132920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:47:05] local.INFO: IMEI packet received {"connection_id":132920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 20:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":132920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:47:10] local.INFO: TCP Data received {"connection_id":132920,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:47:10] local.INFO: Processing buffer {"connection_id":132920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:47:10] local.INFO: IMEI packet received {"connection_id":132920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 20:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":132920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:47:16] local.INFO: TCP Data received {"connection_id":132920,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f6657ec50012d77a94005f279f0000e014725..."} 
[2026-07-15 20:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6657ec50012d77a94005f279f0000e014725..."} 
[2026-07-15 20:47:16] local.INFO: Processing buffer {"connection_id":132920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6657ec50012d77a94005f279f0000e014725..."} 
[2026-07-15 20:47:16] local.INFO: Packet analysis {"connection_id":132920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6657"} 
[2026-07-15 20:47:16] local.INFO: Extracted packet for processing {"connection_id":132920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6657"} 
[2026-07-15 20:47:16] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 20:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736682496001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 20:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621930405911193600,"note":"Value kept but may cause issues"} 
[2026-07-15 20:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784128466000,"timestamp_ms":1784128466000,"timestamp_seconds":1784128466,"priority":1,"record_length":96,"hex_timestamp":"0000019f6657ec50"} 
[2026-07-15 20:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-15 20:47:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:47:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736682496001,"66":26006,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8621930405911193600},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 20:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736682496001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:47:16] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 20:47:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 20:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621930405911193600,"description":"Unknown IO ID 45"} 
[2026-07-15 20:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736682496001,"power":26006,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621930405911193600}} 
[2026-07-15 20:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":132920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:47:16] local.INFO: GPS data processed {"connection_id":132920,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:47:16] local.INFO: Acknowledgment sent {"connection_id":132920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:47:17] local.INFO: TCP Data received {"connection_id":132920,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f6657ec50012d77a94005f279f0000e014725..."} 
[2026-07-15 20:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6657ec50012d77a94005f279f0000e014725..."} 
[2026-07-15 20:47:17] local.INFO: Processing buffer {"connection_id":132920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6657ec50012d77a94005f279f0000e014725..."} 
[2026-07-15 20:47:17] local.INFO: Packet analysis {"connection_id":132920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6657"} 
[2026-07-15 20:47:17] local.INFO: Extracted packet for processing {"connection_id":132920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6657"} 
[2026-07-15 20:47:17] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 20:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:47:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736682496001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:47:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 20:47:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621930405911193600,"note":"Value kept but may cause issues"} 
[2026-07-15 20:47:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:47:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784128466000,"timestamp_ms":1784128466000,"timestamp_seconds":1784128466,"priority":1,"record_length":96,"hex_timestamp":"0000019f6657ec50"} 
[2026-07-15 20:47:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:47:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-15 20:47:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:47:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:47:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:47:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:47:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:47:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:47:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:47:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:47:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:47:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:47:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736682496001,"66":26006,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8621930405911193600},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 20:47:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:47:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:47:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736682496001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:47:17] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 20:47:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 20:47:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:47:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621930405911193600,"description":"Unknown IO ID 45"} 
[2026-07-15 20:47:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736682496001,"power":26006,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621930405911193600}} 
[2026-07-15 20:47:17] local.INFO: DEBUG: GPS processor result {"connection_id":132920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:47:17] local.INFO: GPS data processed {"connection_id":132920,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:47:17] local.INFO: Acknowledgment sent {"connection_id":132920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:47:28] local.INFO: TCP Data received {"connection_id":133777,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66562f00012d196540071ff040003a004827..."} 
[2026-07-15 20:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66562f00012d196540071ff040003a004827..."} 
[2026-07-15 20:47:28] local.INFO: Processing buffer {"connection_id":133777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66562f00012d196540071ff040003a004827..."} 
[2026-07-15 20:47:28] local.INFO: Packet analysis {"connection_id":133777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6656"} 
[2026-07-15 20:47:28] local.INFO: Extracted packet for processing {"connection_id":133777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6656"} 
[2026-07-15 20:47:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736781056001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:47:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:47: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-07-15 20:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784128352000,"timestamp_ms":1784128352000,"timestamp_seconds":1784128352,"priority":1,"record_length":96,"hex_timestamp":"0000019f66562f00"} 
[2026-07-15 20:47:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:47:28] 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-07-15 20:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:47: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-07-15 20:47:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:47:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":133777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":133777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":133777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:47:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736781056001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736781056001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:47:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:47:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:47:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:47:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736781056001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":133777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:47:28] local.INFO: GPS data processed {"connection_id":133777,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:47:28] local.INFO: Acknowledgment sent {"connection_id":133777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:47:55] local.INFO: TCP Data received {"connection_id":135134,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135134,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:47:55] local.INFO: Processing buffer {"connection_id":135134,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:47:55] local.INFO: IMEI packet received {"connection_id":135134,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":135134,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:48:00] local.INFO: TCP Data received {"connection_id":135134,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135134,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:48:00] local.INFO: Processing buffer {"connection_id":135134,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:48:00] local.INFO: IMEI packet received {"connection_id":135134,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":135134,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:48:00] local.INFO: TCP Data received {"connection_id":135135,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:48:00] local.INFO: Processing buffer {"connection_id":135135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:48:00] local.INFO: IMEI packet received {"connection_id":135135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 20:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":135135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:48:01] local.INFO: TCP Data received {"connection_id":135134,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f665ac6c8012d196540071ff040003a004827..."} 
[2026-07-15 20:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f665ac6c8012d196540071ff040003a004827..."} 
[2026-07-15 20:48:01] local.INFO: Processing buffer {"connection_id":135134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f665ac6c8012d196540071ff040003a004827..."} 
[2026-07-15 20:48:01] local.INFO: Packet analysis {"connection_id":135134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f665a"} 
[2026-07-15 20:48:01] local.INFO: Extracted packet for processing {"connection_id":135134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f665a"} 
[2026-07-15 20:48:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736858112001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:48:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:48:01] 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-07-15 20:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784128653000,"timestamp_ms":1784128653000,"timestamp_seconds":1784128653,"priority":1,"record_length":96,"hex_timestamp":"0000019f665ac6c8"} 
[2026-07-15 20:48:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:48:01] 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-07-15 20:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:48: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-07-15 20:48:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:48:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":135134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":135134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":135134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:48:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736858112001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736858112001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:48:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:48:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:48:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736858112001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":135134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:48:01] local.INFO: GPS data processed {"connection_id":135134,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:48:01] local.INFO: Acknowledgment sent {"connection_id":135134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:48:04] local.INFO: TCP Data received {"connection_id":132921,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132921,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:48:04] local.INFO: Processing buffer {"connection_id":132921,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:48:04] local.INFO: IMEI packet received {"connection_id":132921,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 20:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":132921,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:48:05] local.INFO: TCP Data received {"connection_id":135135,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:48:05] local.INFO: Processing buffer {"connection_id":135135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:48:05] local.INFO: IMEI packet received {"connection_id":135135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 20:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":135135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:48:06] local.INFO: TCP Data received {"connection_id":135135,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f6657ec50012d77a94005f279f0000e014725..."} 
[2026-07-15 20:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6657ec50012d77a94005f279f0000e014725..."} 
[2026-07-15 20:48:06] local.INFO: Processing buffer {"connection_id":135135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6657ec50012d77a94005f279f0000e014725..."} 
[2026-07-15 20:48:06] local.INFO: Packet analysis {"connection_id":135135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6657"} 
[2026-07-15 20:48:06] local.INFO: Extracted packet for processing {"connection_id":135135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6657"} 
[2026-07-15 20:48:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 20:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736682496001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 20:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621930405911193600,"note":"Value kept but may cause issues"} 
[2026-07-15 20:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784128466000,"timestamp_ms":1784128466000,"timestamp_seconds":1784128466,"priority":1,"record_length":96,"hex_timestamp":"0000019f6657ec50"} 
[2026-07-15 20:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-15 20:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736682496001,"66":26006,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8621930405911193600},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 20:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736682496001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:48:06] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 20:48:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 20:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621930405911193600,"description":"Unknown IO ID 45"} 
[2026-07-15 20:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736682496001,"power":26006,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621930405911193600}} 
[2026-07-15 20:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":135135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:48:06] local.INFO: GPS data processed {"connection_id":135135,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:48:06] local.INFO: Acknowledgment sent {"connection_id":135135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:48:33] local.INFO: TCP Data received {"connection_id":135134,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f665ac6c8012d196540071ff040003a004827..."} 
[2026-07-15 20:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f665ac6c8012d196540071ff040003a004827..."} 
[2026-07-15 20:48:33] local.INFO: Processing buffer {"connection_id":135134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f665ac6c8012d196540071ff040003a004827..."} 
[2026-07-15 20:48:33] local.INFO: Packet analysis {"connection_id":135134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f665a"} 
[2026-07-15 20:48:33] local.INFO: Extracted packet for processing {"connection_id":135134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f665a"} 
[2026-07-15 20:48:33] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736858112001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:48:33] 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-07-15 20:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784128653000,"timestamp_ms":1784128653000,"timestamp_seconds":1784128653,"priority":1,"record_length":96,"hex_timestamp":"0000019f665ac6c8"} 
[2026-07-15 20:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:48: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-07-15 20:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:48:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":135134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":135134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":135134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736858112001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736858112001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:48:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:48:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736858112001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":135134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492881,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:48:33] local.INFO: GPS data processed {"connection_id":135134,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:48:33] local.INFO: Acknowledgment sent {"connection_id":135134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:48:34] local.INFO: TCP Data received {"connection_id":135136,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135136,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:48:34] local.INFO: Processing buffer {"connection_id":135136,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:48:34] local.INFO: IMEI packet received {"connection_id":135136,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 20:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":135136,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:48:38] local.INFO: TCP Data received {"connection_id":135135,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f6657ec50012d77a94005f279f0000e014725..."} 
[2026-07-15 20:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6657ec50012d77a94005f279f0000e014725..."} 
[2026-07-15 20:48:38] local.INFO: Processing buffer {"connection_id":135135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6657ec50012d77a94005f279f0000e014725..."} 
[2026-07-15 20:48:38] local.INFO: Packet analysis {"connection_id":135135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6657"} 
[2026-07-15 20:48:38] local.INFO: Extracted packet for processing {"connection_id":135135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6657"} 
[2026-07-15 20:48:38] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736682496001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 20:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621930405911193600,"note":"Value kept but may cause issues"} 
[2026-07-15 20:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784128466000,"timestamp_ms":1784128466000,"timestamp_seconds":1784128466,"priority":1,"record_length":96,"hex_timestamp":"0000019f6657ec50"} 
[2026-07-15 20:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-15 20:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20: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-07-15 20:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":135135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":135135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":135135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736682496001,"66":26006,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8621930405911193600},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 20:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736682496001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:48:38] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 20:48:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 20:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621930405911193600,"description":"Unknown IO ID 45"} 
[2026-07-15 20:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736682496001,"power":26006,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621930405911193600}} 
[2026-07-15 20:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":135135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:48:38] local.INFO: GPS data processed {"connection_id":135135,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:48:38] local.INFO: Acknowledgment sent {"connection_id":135135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:48:50] local.INFO: TCP Data received {"connection_id":132922,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:48:50] local.INFO: Processing buffer {"connection_id":132922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:48:50] local.INFO: IMEI packet received {"connection_id":132922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":132922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:48:55] local.INFO: TCP Data received {"connection_id":132922,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:48:55] local.INFO: Processing buffer {"connection_id":132922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:48:55] local.INFO: IMEI packet received {"connection_id":132922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":132922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:48:57] local.INFO: TCP Data received {"connection_id":132922,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f665ac6c8012d196540071ff040003a004827..."} 
[2026-07-15 20:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f665ac6c8012d196540071ff040003a004827..."} 
[2026-07-15 20:48:57] local.INFO: Processing buffer {"connection_id":132922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f665ac6c8012d196540071ff040003a004827..."} 
[2026-07-15 20:48:57] local.INFO: Packet analysis {"connection_id":132922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f665a"} 
[2026-07-15 20:48:57] local.INFO: Extracted packet for processing {"connection_id":132922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f665a"} 
[2026-07-15 20:48:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736858112001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:48: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-07-15 20:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784128653000,"timestamp_ms":1784128653000,"timestamp_seconds":1784128653,"priority":1,"record_length":96,"hex_timestamp":"0000019f665ac6c8"} 
[2026-07-15 20:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:48:57] 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-07-15 20:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:48:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:48:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":132922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":132922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":132922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:48:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736858112001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736858112001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:48:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:48:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736858112001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":132922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492883,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:48:57] local.INFO: GPS data processed {"connection_id":132922,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:48:57] local.INFO: Acknowledgment sent {"connection_id":132922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:49:00] local.INFO: TCP Data received {"connection_id":133778,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:49:00] local.INFO: Processing buffer {"connection_id":133778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:49:00] local.INFO: IMEI packet received {"connection_id":133778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 20:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":133778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:49:05] local.INFO: TCP Data received {"connection_id":133778,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:49:05] local.INFO: Processing buffer {"connection_id":133778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:49:05] local.INFO: IMEI packet received {"connection_id":133778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 20:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":133778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:49:08] local.INFO: TCP Data received {"connection_id":133778,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f6657ec50012d77a94005f279f0000e014725..."} 
[2026-07-15 20:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6657ec50012d77a94005f279f0000e014725..."} 
[2026-07-15 20:49:08] local.INFO: Processing buffer {"connection_id":133778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6657ec50012d77a94005f279f0000e014725..."} 
[2026-07-15 20:49:08] local.INFO: Packet analysis {"connection_id":133778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6657"} 
[2026-07-15 20:49:08] local.INFO: Extracted packet for processing {"connection_id":133778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6657"} 
[2026-07-15 20:49:08] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 20:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736682496001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 20:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621930405911193600,"note":"Value kept but may cause issues"} 
[2026-07-15 20:49:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784128466000,"timestamp_ms":1784128466000,"timestamp_seconds":1784128466,"priority":1,"record_length":96,"hex_timestamp":"0000019f6657ec50"} 
[2026-07-15 20:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-15 20:49:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:49:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":133778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":133778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":133778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:49:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736682496001,"66":26006,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8621930405911193600},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 20:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736682496001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:49:08] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 20:49:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 20:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621930405911193600,"description":"Unknown IO ID 45"} 
[2026-07-15 20:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736682496001,"power":26006,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621930405911193600}} 
[2026-07-15 20:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":133778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:49:08] local.INFO: GPS data processed {"connection_id":133778,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:49:08] local.INFO: Acknowledgment sent {"connection_id":133778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:49:29] local.INFO: TCP Data received {"connection_id":132922,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f665ac6c8012d196540071ff040003a004827..."} 
[2026-07-15 20:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f665ac6c8012d196540071ff040003a004827..."} 
[2026-07-15 20:49:29] local.INFO: Processing buffer {"connection_id":132922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f665ac6c8012d196540071ff040003a004827..."} 
[2026-07-15 20:49:29] local.INFO: Packet analysis {"connection_id":132922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f665a"} 
[2026-07-15 20:49:29] local.INFO: Extracted packet for processing {"connection_id":132922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f665a"} 
[2026-07-15 20:49:29] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:49: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-07-15 20:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736858112001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:49:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:49: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-07-15 20:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784128653000,"timestamp_ms":1784128653000,"timestamp_seconds":1784128653,"priority":1,"record_length":96,"hex_timestamp":"0000019f665ac6c8"} 
[2026-07-15 20:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:49:29] 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-07-15 20:49: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-07-15 20:49: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-07-15 20:49: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-07-15 20:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":132922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":132922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":132922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:49:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736858112001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736858112001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:49:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:49:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:49:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736858112001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":132922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:49:29] local.INFO: GPS data processed {"connection_id":132922,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:49:29] local.INFO: Acknowledgment sent {"connection_id":132922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:49:40] local.INFO: TCP Data received {"connection_id":133778,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f6657ec50012d77a94005f279f0000e014725..."} 
[2026-07-15 20:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6657ec50012d77a94005f279f0000e014725..."} 
[2026-07-15 20:49:40] local.INFO: Processing buffer {"connection_id":133778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6657ec50012d77a94005f279f0000e014725..."} 
[2026-07-15 20:49:40] local.INFO: Packet analysis {"connection_id":133778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6657"} 
[2026-07-15 20:49:40] local.INFO: Extracted packet for processing {"connection_id":133778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6657"} 
[2026-07-15 20:49:40] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:49:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736682496001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 20:49:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621930405911193600,"note":"Value kept but may cause issues"} 
[2026-07-15 20:49:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784128466000,"timestamp_ms":1784128466000,"timestamp_seconds":1784128466,"priority":1,"record_length":96,"hex_timestamp":"0000019f6657ec50"} 
[2026-07-15 20:49:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:49:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-15 20:49:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20: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-07-15 20:49:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":133778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":133778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":133778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:49:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:49:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736682496001,"66":26006,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8621930405911193600},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 20:49:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:49:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:49:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736682496001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:49:40] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 20:49:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 20:49:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:49:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621930405911193600,"description":"Unknown IO ID 45"} 
[2026-07-15 20:49:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736682496001,"power":26006,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621930405911193600}} 
[2026-07-15 20:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":133778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:49:40] local.INFO: GPS data processed {"connection_id":133778,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:49:40] local.INFO: Acknowledgment sent {"connection_id":133778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:49:50] local.INFO: TCP Data received {"connection_id":132923,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:49:50] local.INFO: Processing buffer {"connection_id":132923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:49:50] local.INFO: IMEI packet received {"connection_id":132923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":132923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:49:55] local.INFO: TCP Data received {"connection_id":132923,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:49:55] local.INFO: Processing buffer {"connection_id":132923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:49:55] local.INFO: IMEI packet received {"connection_id":132923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":132923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:49:56] local.INFO: TCP Data received {"connection_id":132923,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f665ac6c8012d196540071ff040003a004827..."} 
[2026-07-15 20:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f665ac6c8012d196540071ff040003a004827..."} 
[2026-07-15 20:49:56] local.INFO: Processing buffer {"connection_id":132923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f665ac6c8012d196540071ff040003a004827..."} 
[2026-07-15 20:49:56] local.INFO: Packet analysis {"connection_id":132923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f665a"} 
[2026-07-15 20:49:56] local.INFO: Extracted packet for processing {"connection_id":132923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f665a"} 
[2026-07-15 20:49:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 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-07-15 20:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736858112001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:49: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-07-15 20:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784128653000,"timestamp_ms":1784128653000,"timestamp_seconds":1784128653,"priority":1,"record_length":96,"hex_timestamp":"0000019f665ac6c8"} 
[2026-07-15 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-07-15 20:49:56] 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-07-15 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:49: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-07-15 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-07-15 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-07-15 20:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736858112001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736858112001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:49:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:49:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736858112001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":132923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492887,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:49:56] local.INFO: GPS data processed {"connection_id":132923,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:49:56] local.INFO: Acknowledgment sent {"connection_id":132923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:50:05] local.INFO: TCP Data received {"connection_id":133779,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:50:05] local.INFO: Processing buffer {"connection_id":133779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:50:05] local.INFO: IMEI packet received {"connection_id":133779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 20:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":133779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:50:10] local.INFO: TCP Data received {"connection_id":133779,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:50:10] local.INFO: Processing buffer {"connection_id":133779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:50:10] local.INFO: IMEI packet received {"connection_id":133779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 20:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":133779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:50:15] local.INFO: TCP Data received {"connection_id":133779,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:50:15] local.INFO: Processing buffer {"connection_id":133779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:50:15] local.INFO: IMEI packet received {"connection_id":133779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 20:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":133779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:50:17] local.INFO: TCP Data received {"connection_id":133779,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f665c97a0012d77a94005f279f0000e014724..."} 
[2026-07-15 20:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f665c97a0012d77a94005f279f0000e014724..."} 
[2026-07-15 20:50:17] local.INFO: Processing buffer {"connection_id":133779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f665c97a0012d77a94005f279f0000e014724..."} 
[2026-07-15 20:50:17] local.INFO: Packet analysis {"connection_id":133779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f665c"} 
[2026-07-15 20:50:17] local.INFO: Extracted packet for processing {"connection_id":133779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f665c"} 
[2026-07-15 20:50:17] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736887296001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 20:50:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 20:50:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784128772000,"timestamp_ms":1784128772000,"timestamp_seconds":1784128772,"priority":1,"record_length":96,"hex_timestamp":"0000019f665c97a0"} 
[2026-07-15 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-07-15 20:50:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 20:50:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 20:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":133779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":133779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":133779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:50:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736887296001,"66":25995,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 20:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736887296001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:50:17] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 20:50:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 20:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:50:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 20:50:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736887296001,"power":25995,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 20:50:17] local.INFO: DEBUG: GPS processor result {"connection_id":133779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:50:17] local.INFO: GPS data processed {"connection_id":133779,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:50:17] local.INFO: Acknowledgment sent {"connection_id":133779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:50:21] local.INFO: TCP Data received {"connection_id":133779,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f665c97a0012d77a94005f279f0000e014724..."} 
[2026-07-15 20:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f665c97a0012d77a94005f279f0000e014724..."} 
[2026-07-15 20:50:21] local.INFO: Processing buffer {"connection_id":133779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f665c97a0012d77a94005f279f0000e014724..."} 
[2026-07-15 20:50:21] local.INFO: Packet analysis {"connection_id":133779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f665c"} 
[2026-07-15 20:50:21] local.INFO: Extracted packet for processing {"connection_id":133779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f665c"} 
[2026-07-15 20:50:21] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736887296001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 20:50:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 20:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1784128772000,"timestamp_ms":1784128772000,"timestamp_seconds":1784128772,"priority":1,"record_length":96,"hex_timestamp":"0000019f665c97a0"} 
[2026-07-15 20:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:50:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 20:50:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20: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-07-15 20:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":133779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":133779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":133779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:50:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736887296001,"66":25995,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 20:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736887296001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:50:21] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 20:50:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 20:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:50:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 20:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736887296001,"power":25995,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 20:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":133779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:50:21] local.INFO: GPS data processed {"connection_id":133779,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:50:21] local.INFO: Acknowledgment sent {"connection_id":133779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:50:28] local.INFO: TCP Data received {"connection_id":132923,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f665ac6c8012d196540071ff040003a004827..."} 
[2026-07-15 20:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f665ac6c8012d196540071ff040003a004827..."} 
[2026-07-15 20:50:28] local.INFO: Processing buffer {"connection_id":132923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f665ac6c8012d196540071ff040003a004827..."} 
[2026-07-15 20:50:28] local.INFO: Packet analysis {"connection_id":132923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f665a"} 
[2026-07-15 20:50:28] local.INFO: Extracted packet for processing {"connection_id":132923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f665a"} 
[2026-07-15 20:50:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736858112001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:50: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-07-15 20:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784128653000,"timestamp_ms":1784128653000,"timestamp_seconds":1784128653,"priority":1,"record_length":96,"hex_timestamp":"0000019f665ac6c8"} 
[2026-07-15 20:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:50:28] 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-07-15 20:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:50: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-07-15 20:50:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736858112001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736858112001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:50:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:50:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736858112001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":132923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:50:28] local.INFO: GPS data processed {"connection_id":132923,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:50:28] local.INFO: Acknowledgment sent {"connection_id":132923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:50:49] local.INFO: TCP Data received {"connection_id":135137,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:50:49] local.INFO: Processing buffer {"connection_id":135137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:50:49] local.INFO: IMEI packet received {"connection_id":135137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":135137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:50:55] local.INFO: TCP Data received {"connection_id":135137,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:50:55] local.INFO: Processing buffer {"connection_id":135137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:50:55] local.INFO: IMEI packet received {"connection_id":135137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":135137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:50:56] local.INFO: TCP Data received {"connection_id":135137,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f665ac6c8012d196540071ff040003a004827..."} 
[2026-07-15 20:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f665ac6c8012d196540071ff040003a004827..."} 
[2026-07-15 20:50:56] local.INFO: Processing buffer {"connection_id":135137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f665ac6c8012d196540071ff040003a004827..."} 
[2026-07-15 20:50:56] local.INFO: Packet analysis {"connection_id":135137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f665a"} 
[2026-07-15 20:50:56] local.INFO: Extracted packet for processing {"connection_id":135137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f665a"} 
[2026-07-15 20:50:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736858112001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:50: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-07-15 20:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784128653000,"timestamp_ms":1784128653000,"timestamp_seconds":1784128653,"priority":1,"record_length":96,"hex_timestamp":"0000019f665ac6c8"} 
[2026-07-15 20:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:50:56] 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-07-15 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:50: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-07-15 20: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-07-15 20:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":135137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":135137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":135137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736858112001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736858112001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:50:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:50:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736858112001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":135137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:50:56] local.INFO: GPS data processed {"connection_id":135137,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:50:56] local.INFO: Acknowledgment sent {"connection_id":135137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:51:01] local.INFO: TCP Data received {"connection_id":133780,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:51:01] local.INFO: Processing buffer {"connection_id":133780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:51:01] local.INFO: IMEI packet received {"connection_id":133780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 20:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":133780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:51:05] local.INFO: TCP Data received {"connection_id":133780,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:51:05] local.INFO: Processing buffer {"connection_id":133780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:51:05] local.INFO: IMEI packet received {"connection_id":133780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 20:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":133780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:51:09] local.INFO: TCP Data received {"connection_id":133780,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f665c97a0012d77a94005f279f0000e014724..."} 
[2026-07-15 20:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f665c97a0012d77a94005f279f0000e014724..."} 
[2026-07-15 20:51:09] local.INFO: Processing buffer {"connection_id":133780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f665c97a0012d77a94005f279f0000e014724..."} 
[2026-07-15 20:51:09] local.INFO: Packet analysis {"connection_id":133780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f665c"} 
[2026-07-15 20:51:09] local.INFO: Extracted packet for processing {"connection_id":133780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f665c"} 
[2026-07-15 20:51:09] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 20:51: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-07-15 20:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736887296001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 20:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 20:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784128772000,"timestamp_ms":1784128772000,"timestamp_seconds":1784128772,"priority":1,"record_length":96,"hex_timestamp":"0000019f665c97a0"} 
[2026-07-15 20:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 20:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:51: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-07-15 20:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":133780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":133780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":133780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736887296001,"66":25995,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 20:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736887296001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:51:09] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 20:51:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 20:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 20:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736887296001,"power":25995,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 20:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":133780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:51:09] local.INFO: GPS data processed {"connection_id":133780,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:51:09] local.INFO: Acknowledgment sent {"connection_id":133780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:51:11] local.INFO: TCP Data received {"connection_id":133780,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f665c97a0012d77a94005f279f0000e014724..."} 
[2026-07-15 20:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f665c97a0012d77a94005f279f0000e014724..."} 
[2026-07-15 20:51:11] local.INFO: Processing buffer {"connection_id":133780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f665c97a0012d77a94005f279f0000e014724..."} 
[2026-07-15 20:51:11] local.INFO: Packet analysis {"connection_id":133780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f665c"} 
[2026-07-15 20:51:11] local.INFO: Extracted packet for processing {"connection_id":133780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f665c"} 
[2026-07-15 20:51:11] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 20:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736887296001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 20:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 20:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784128772000,"timestamp_ms":1784128772000,"timestamp_seconds":1784128772,"priority":1,"record_length":96,"hex_timestamp":"0000019f665c97a0"} 
[2026-07-15 20:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 20:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":133780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":133780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":133780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736887296001,"66":25995,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 20:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736887296001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:51:11] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 20:51:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 20:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 20:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736887296001,"power":25995,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 20:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":133780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:51:11] local.INFO: GPS data processed {"connection_id":133780,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:51:11] local.INFO: Acknowledgment sent {"connection_id":133780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:51:28] local.INFO: TCP Data received {"connection_id":135137,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f665ac6c8012d196540071ff040003a004827..."} 
[2026-07-15 20:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f665ac6c8012d196540071ff040003a004827..."} 
[2026-07-15 20:51:28] local.INFO: Processing buffer {"connection_id":135137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f665ac6c8012d196540071ff040003a004827..."} 
[2026-07-15 20:51:28] local.INFO: Packet analysis {"connection_id":135137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f665a"} 
[2026-07-15 20:51:28] local.INFO: Extracted packet for processing {"connection_id":135137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f665a"} 
[2026-07-15 20:51:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736858112001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:51: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-07-15 20:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784128653000,"timestamp_ms":1784128653000,"timestamp_seconds":1784128653,"priority":1,"record_length":96,"hex_timestamp":"0000019f665ac6c8"} 
[2026-07-15 20:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:51:28] 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-07-15 20:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:51: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-07-15 20:51:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":135137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":135137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":135137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:51:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736858112001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736858112001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:51:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:51:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736858112001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":135137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492894,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:51:28] local.INFO: GPS data processed {"connection_id":135137,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:51:28] local.INFO: Acknowledgment sent {"connection_id":135137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:51:42] local.INFO: TCP Data received {"connection_id":133780,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f665c97a0012d77a94005f279f0000e014724..."} 
[2026-07-15 20:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f665c97a0012d77a94005f279f0000e014724..."} 
[2026-07-15 20:51:42] local.INFO: Processing buffer {"connection_id":133780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f665c97a0012d77a94005f279f0000e014724..."} 
[2026-07-15 20:51:42] local.INFO: Packet analysis {"connection_id":133780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f665c"} 
[2026-07-15 20:51:42] local.INFO: Extracted packet for processing {"connection_id":133780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f665c"} 
[2026-07-15 20:51:42] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 20:51: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-07-15 20:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736887296001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 20:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 20:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784128772000,"timestamp_ms":1784128772000,"timestamp_seconds":1784128772,"priority":1,"record_length":96,"hex_timestamp":"0000019f665c97a0"} 
[2026-07-15 20:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 20:51:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:51: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-07-15 20:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":133780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":133780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":133780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736887296001,"66":25995,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 20:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736887296001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:51:42] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 20:51:42] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 20:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 20:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736887296001,"power":25995,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 20:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":133780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:51:42] local.INFO: GPS data processed {"connection_id":133780,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:51:42] local.INFO: Acknowledgment sent {"connection_id":133780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:51:55] local.INFO: TCP Data received {"connection_id":135139,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:51:55] local.INFO: Processing buffer {"connection_id":135139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:51:55] local.INFO: IMEI packet received {"connection_id":135139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":135139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:52:00] local.INFO: TCP Data received {"connection_id":132925,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:52:00] local.INFO: Processing buffer {"connection_id":132925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:52:00] local.INFO: IMEI packet received {"connection_id":132925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 20:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":132925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:52:00] local.INFO: TCP Data received {"connection_id":135139,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:52:00] local.INFO: Processing buffer {"connection_id":135139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:52:00] local.INFO: IMEI packet received {"connection_id":135139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":135139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:52:01] local.INFO: TCP Data received {"connection_id":135139,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f665ac6c8012d196540071ff040003a004827..."} 
[2026-07-15 20:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f665ac6c8012d196540071ff040003a004827..."} 
[2026-07-15 20:52:01] local.INFO: Processing buffer {"connection_id":135139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f665ac6c8012d196540071ff040003a004827..."} 
[2026-07-15 20:52:01] local.INFO: Packet analysis {"connection_id":135139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f665a"} 
[2026-07-15 20:52:01] local.INFO: Extracted packet for processing {"connection_id":135139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f665a"} 
[2026-07-15 20:52:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736858112001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:52:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:52:01] 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-07-15 20:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784128653000,"timestamp_ms":1784128653000,"timestamp_seconds":1784128653,"priority":1,"record_length":96,"hex_timestamp":"0000019f665ac6c8"} 
[2026-07-15 20:52:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:52:01] 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-07-15 20:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:52: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-07-15 20:52:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:52:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":135139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":135139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":135139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:52:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736858112001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736858112001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:52:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:52:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:52:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736858112001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":135139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:52:01] local.INFO: GPS data processed {"connection_id":135139,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:52:01] local.INFO: Acknowledgment sent {"connection_id":135139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:52:05] local.INFO: TCP Data received {"connection_id":132925,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:52:05] local.INFO: Processing buffer {"connection_id":132925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:52:05] local.INFO: IMEI packet received {"connection_id":132925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 20:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":132925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:52:06] local.INFO: TCP Data received {"connection_id":135139,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f665ac6c8012d196540071ff040003a004827..."} 
[2026-07-15 20:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f665ac6c8012d196540071ff040003a004827..."} 
[2026-07-15 20:52:06] local.INFO: Processing buffer {"connection_id":135139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f665ac6c8012d196540071ff040003a004827..."} 
[2026-07-15 20:52:06] local.INFO: Packet analysis {"connection_id":135139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f665a"} 
[2026-07-15 20:52:06] local.INFO: Extracted packet for processing {"connection_id":135139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f665a"} 
[2026-07-15 20:52:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736858112001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:52:06] 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-07-15 20:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784128653000,"timestamp_ms":1784128653000,"timestamp_seconds":1784128653,"priority":1,"record_length":96,"hex_timestamp":"0000019f665ac6c8"} 
[2026-07-15 20:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:52: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-07-15 20:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736858112001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736858112001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:52:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:52:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736858112001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":135139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:52:06] local.INFO: GPS data processed {"connection_id":135139,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:52:06] local.INFO: Acknowledgment sent {"connection_id":135139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:52:06] local.INFO: TCP Data received {"connection_id":132925,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f665c97a0012d77a94005f279f0000e014724..."} 
[2026-07-15 20:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f665c97a0012d77a94005f279f0000e014724..."} 
[2026-07-15 20:52:06] local.INFO: Processing buffer {"connection_id":132925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f665c97a0012d77a94005f279f0000e014724..."} 
[2026-07-15 20:52:06] local.INFO: Packet analysis {"connection_id":132925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f665c"} 
[2026-07-15 20:52:06] local.INFO: Extracted packet for processing {"connection_id":132925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f665c"} 
[2026-07-15 20:52:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 20:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736887296001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 20:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 20:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784128772000,"timestamp_ms":1784128772000,"timestamp_seconds":1784128772,"priority":1,"record_length":96,"hex_timestamp":"0000019f665c97a0"} 
[2026-07-15 20:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 20:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736887296001,"66":25995,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 20:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736887296001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:52:06] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 20:52:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 20:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 20:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736887296001,"power":25995,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 20:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":132925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:52:06] local.INFO: GPS data processed {"connection_id":132925,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:52:06] local.INFO: Acknowledgment sent {"connection_id":132925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:52:38] local.INFO: TCP Data received {"connection_id":132925,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f665c97a0012d77a94005f279f0000e014724..."} 
[2026-07-15 20:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f665c97a0012d77a94005f279f0000e014724..."} 
[2026-07-15 20:52:38] local.INFO: Processing buffer {"connection_id":132925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f665c97a0012d77a94005f279f0000e014724..."} 
[2026-07-15 20:52:38] local.INFO: Packet analysis {"connection_id":132925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f665c"} 
[2026-07-15 20:52:38] local.INFO: Extracted packet for processing {"connection_id":132925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f665c"} 
[2026-07-15 20:52:38] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 20:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736887296001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 20:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 20:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784128772000,"timestamp_ms":1784128772000,"timestamp_seconds":1784128772,"priority":1,"record_length":96,"hex_timestamp":"0000019f665c97a0"} 
[2026-07-15 20:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 20:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736887296001,"66":25995,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 20:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736887296001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:52:38] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 20:52:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 20:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 20:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736887296001,"power":25995,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 20:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":132925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:52:38] local.INFO: GPS data processed {"connection_id":132925,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:52:38] local.INFO: Acknowledgment sent {"connection_id":132925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:52:54] local.INFO: TCP Data received {"connection_id":133781,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:52:54] local.INFO: Processing buffer {"connection_id":133781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:52:54] local.INFO: IMEI packet received {"connection_id":133781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":133781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:53:00] local.INFO: TCP Data received {"connection_id":135140,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:53:00] local.INFO: Processing buffer {"connection_id":135140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:53:00] local.INFO: IMEI packet received {"connection_id":135140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 20:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":135140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:53:00] local.INFO: TCP Data received {"connection_id":133781,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:53:00] local.INFO: Processing buffer {"connection_id":133781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:53:00] local.INFO: IMEI packet received {"connection_id":133781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":133781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:53:01] local.INFO: TCP Data received {"connection_id":133781,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f665f5e90012d196540071ff040003a004826..."} 
[2026-07-15 20:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f665f5e90012d196540071ff040003a004826..."} 
[2026-07-15 20:53:01] local.INFO: Processing buffer {"connection_id":133781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f665f5e90012d196540071ff040003a004826..."} 
[2026-07-15 20:53:01] local.INFO: Packet analysis {"connection_id":133781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f665f"} 
[2026-07-15 20:53:01] local.INFO: Extracted packet for processing {"connection_id":133781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f665f"} 
[2026-07-15 20:53:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736935168001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:53:01] 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-07-15 20:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784128954000,"timestamp_ms":1784128954000,"timestamp_seconds":1784128954,"priority":1,"record_length":96,"hex_timestamp":"0000019f665f5e90"} 
[2026-07-15 20:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:53:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:53: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-07-15 20:53:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":133781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":133781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":133781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736935168001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736935168001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:53:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:53:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736935168001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":133781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492900,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:53:01] local.INFO: GPS data processed {"connection_id":133781,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:53:01] local.INFO: Acknowledgment sent {"connection_id":133781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:53:05] local.INFO: TCP Data received {"connection_id":135140,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:53:05] local.INFO: Processing buffer {"connection_id":135140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:53:05] local.INFO: IMEI packet received {"connection_id":135140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 20:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":135140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:53:06] local.INFO: TCP Data received {"connection_id":135140,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f665c97a0012d77a94005f279f0000e014724..."} 
[2026-07-15 20:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f665c97a0012d77a94005f279f0000e014724..."} 
[2026-07-15 20:53:06] local.INFO: Processing buffer {"connection_id":135140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f665c97a0012d77a94005f279f0000e014724..."} 
[2026-07-15 20:53:06] local.INFO: Packet analysis {"connection_id":135140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f665c"} 
[2026-07-15 20:53:06] local.INFO: Extracted packet for processing {"connection_id":135140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f665c"} 
[2026-07-15 20:53:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 20:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736887296001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 20:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 20:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784128772000,"timestamp_ms":1784128772000,"timestamp_seconds":1784128772,"priority":1,"record_length":96,"hex_timestamp":"0000019f665c97a0"} 
[2026-07-15 20:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 20:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736887296001,"66":25995,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 20:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736887296001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:53:06] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 20:53:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 20:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 20:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736887296001,"power":25995,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 20:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":135140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:53:06] local.INFO: GPS data processed {"connection_id":135140,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:53:06] local.INFO: Acknowledgment sent {"connection_id":135140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:53:36] local.INFO: TCP Data received {"connection_id":133781,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f665f5e90012d196540071ff040003a004826..."} 
[2026-07-15 20:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f665f5e90012d196540071ff040003a004826..."} 
[2026-07-15 20:53:36] local.INFO: Processing buffer {"connection_id":133781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f665f5e90012d196540071ff040003a004826..."} 
[2026-07-15 20:53:36] local.INFO: Packet analysis {"connection_id":133781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f665f"} 
[2026-07-15 20:53:36] local.INFO: Extracted packet for processing {"connection_id":133781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f665f"} 
[2026-07-15 20:53:36] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736935168001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:53:36] 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-07-15 20:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784128954000,"timestamp_ms":1784128954000,"timestamp_seconds":1784128954,"priority":1,"record_length":96,"hex_timestamp":"0000019f665f5e90"} 
[2026-07-15 20:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:53:36] 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-07-15 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20: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-07-15 20:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":133781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":133781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":133781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736935168001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736935168001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:53:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:53:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736935168001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":133781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:53:36] local.INFO: GPS data processed {"connection_id":133781,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:53:36] local.INFO: Acknowledgment sent {"connection_id":133781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:53:39] local.INFO: TCP Data received {"connection_id":135140,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f665c97a0012d77a94005f279f0000e014724..."} 
[2026-07-15 20:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f665c97a0012d77a94005f279f0000e014724..."} 
[2026-07-15 20:53:39] local.INFO: Processing buffer {"connection_id":135140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f665c97a0012d77a94005f279f0000e014724..."} 
[2026-07-15 20:53:39] local.INFO: Packet analysis {"connection_id":135140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f665c"} 
[2026-07-15 20:53:39] local.INFO: Extracted packet for processing {"connection_id":135140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f665c"} 
[2026-07-15 20:53:39] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 20:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736887296001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 20:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 20:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784128772000,"timestamp_ms":1784128772000,"timestamp_seconds":1784128772,"priority":1,"record_length":96,"hex_timestamp":"0000019f665c97a0"} 
[2026-07-15 20:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:53:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 20:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:53:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":135140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":135140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":135140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736887296001,"66":25995,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 20:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736887296001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:53:39] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 20:53:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 20:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 20:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736887296001,"power":25995,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 20:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":135140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:53:39] local.INFO: GPS data processed {"connection_id":135140,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:53:39] local.INFO: Acknowledgment sent {"connection_id":135140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:53:49] local.INFO: TCP Data received {"connection_id":133782,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:53:49] local.INFO: Processing buffer {"connection_id":133782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:53:49] local.INFO: IMEI packet received {"connection_id":133782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":133782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:53:55] local.INFO: TCP Data received {"connection_id":133782,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:53:55] local.INFO: Processing buffer {"connection_id":133782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:53:55] local.INFO: IMEI packet received {"connection_id":133782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":133782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:53:56] local.INFO: TCP Data received {"connection_id":133782,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f665f5e90012d196540071ff040003a004826..."} 
[2026-07-15 20:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f665f5e90012d196540071ff040003a004826..."} 
[2026-07-15 20:53:56] local.INFO: Processing buffer {"connection_id":133782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f665f5e90012d196540071ff040003a004826..."} 
[2026-07-15 20:53:56] local.INFO: Packet analysis {"connection_id":133782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f665f"} 
[2026-07-15 20:53:56] local.INFO: Extracted packet for processing {"connection_id":133782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f665f"} 
[2026-07-15 20:53:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736935168001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:53: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-07-15 20:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784128954000,"timestamp_ms":1784128954000,"timestamp_seconds":1784128954,"priority":1,"record_length":96,"hex_timestamp":"0000019f665f5e90"} 
[2026-07-15 20:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:53:56] 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-07-15 20:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:53: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-07-15 20:53:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736935168001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736935168001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:53:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:53:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736935168001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":133782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:53:56] local.INFO: GPS data processed {"connection_id":133782,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:53:56] local.INFO: Acknowledgment sent {"connection_id":133782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:54:04] local.INFO: TCP Data received {"connection_id":135141,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135141,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:54:04] local.INFO: Processing buffer {"connection_id":135141,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:54:04] local.INFO: IMEI packet received {"connection_id":135141,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 20:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":135141,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:54:05] local.INFO: TCP Data received {"connection_id":132745,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:54:05] local.INFO: Processing buffer {"connection_id":132745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:54:05] local.INFO: IMEI packet received {"connection_id":132745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 20:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":132745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:54:10] local.INFO: TCP Data received {"connection_id":132745,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:54:10] local.INFO: Processing buffer {"connection_id":132745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:54:10] local.INFO: IMEI packet received {"connection_id":132745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 20:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":132745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:54:11] local.INFO: TCP Data received {"connection_id":132745,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f665c97a0012d77a94005f279f0000e014724..."} 
[2026-07-15 20:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f665c97a0012d77a94005f279f0000e014724..."} 
[2026-07-15 20:54:11] local.INFO: Processing buffer {"connection_id":132745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f665c97a0012d77a94005f279f0000e014724..."} 
[2026-07-15 20:54:11] local.INFO: Packet analysis {"connection_id":132745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f665c"} 
[2026-07-15 20:54:11] local.INFO: Extracted packet for processing {"connection_id":132745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f665c"} 
[2026-07-15 20:54:11] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736887296001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 20:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 20:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784128772000,"timestamp_ms":1784128772000,"timestamp_seconds":1784128772,"priority":1,"record_length":96,"hex_timestamp":"0000019f665c97a0"} 
[2026-07-15 20:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:54:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 20:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20: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-07-15 20:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736887296001,"66":25995,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 20:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736887296001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:54:11] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 20:54:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 20:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 20:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736887296001,"power":25995,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 20:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":132745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:54:11] local.INFO: GPS data processed {"connection_id":132745,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:54:11] local.INFO: Acknowledgment sent {"connection_id":132745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:54:16] local.INFO: TCP Data received {"connection_id":132745,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f665c97a0012d77a94005f279f0000e014724..."} 
[2026-07-15 20:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f665c97a0012d77a94005f279f0000e014724..."} 
[2026-07-15 20:54:16] local.INFO: Processing buffer {"connection_id":132745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f665c97a0012d77a94005f279f0000e014724..."} 
[2026-07-15 20:54:16] local.INFO: Packet analysis {"connection_id":132745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f665c"} 
[2026-07-15 20:54:16] local.INFO: Extracted packet for processing {"connection_id":132745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f665c"} 
[2026-07-15 20:54:16] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 20:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736887296001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 20:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 20:54:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784128772000,"timestamp_ms":1784128772000,"timestamp_seconds":1784128772,"priority":1,"record_length":96,"hex_timestamp":"0000019f665c97a0"} 
[2026-07-15 20:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:54:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-15 20:54:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736887296001,"66":25995,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 20:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736887296001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:54:16] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 20:54:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 20:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 20:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736887296001,"power":25995,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 20:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":132745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:54:16] local.INFO: GPS data processed {"connection_id":132745,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:54:16] local.INFO: Acknowledgment sent {"connection_id":132745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:54:28] local.INFO: TCP Data received {"connection_id":133782,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f665f5e90012d196540071ff040003a004826..."} 
[2026-07-15 20:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f665f5e90012d196540071ff040003a004826..."} 
[2026-07-15 20:54:28] local.INFO: Processing buffer {"connection_id":133782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f665f5e90012d196540071ff040003a004826..."} 
[2026-07-15 20:54:28] local.INFO: Packet analysis {"connection_id":133782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f665f"} 
[2026-07-15 20:54:28] local.INFO: Extracted packet for processing {"connection_id":133782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f665f"} 
[2026-07-15 20:54:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736935168001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:54: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-07-15 20:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784128954000,"timestamp_ms":1784128954000,"timestamp_seconds":1784128954,"priority":1,"record_length":96,"hex_timestamp":"0000019f665f5e90"} 
[2026-07-15 20:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:54: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-07-15 20:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:54: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-07-15 20:54:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":133782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":133782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":133782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:54:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736935168001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736935168001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:54:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:54:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736935168001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":133782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:54:28] local.INFO: GPS data processed {"connection_id":133782,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:54:28] local.INFO: Acknowledgment sent {"connection_id":133782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:54:40] local.INFO: TCP Data received {"connection_id":132746,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132746,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:54:40] local.INFO: Processing buffer {"connection_id":132746,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 20:54:40] local.INFO: IMEI packet received {"connection_id":132746,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 20:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":132746,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:54:50] local.INFO: TCP Data received {"connection_id":133783,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:54:50] local.INFO: Processing buffer {"connection_id":133783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:54:50] local.INFO: IMEI packet received {"connection_id":133783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":133783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:54:56] local.INFO: TCP Data received {"connection_id":133783,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:54:56] local.INFO: Processing buffer {"connection_id":133783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:54:56] local.INFO: IMEI packet received {"connection_id":133783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":133783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:55:00] local.INFO: TCP Data received {"connection_id":132926,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:55:00] local.INFO: Processing buffer {"connection_id":132926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:55:00] local.INFO: IMEI packet received {"connection_id":132926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 20:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":132926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:55:00] local.INFO: TCP Data received {"connection_id":133783,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f665f5e90012d196540071ff040003a004826..."} 
[2026-07-15 20:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f665f5e90012d196540071ff040003a004826..."} 
[2026-07-15 20:55:00] local.INFO: Processing buffer {"connection_id":133783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f665f5e90012d196540071ff040003a004826..."} 
[2026-07-15 20:55:00] local.INFO: Packet analysis {"connection_id":133783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f665f"} 
[2026-07-15 20:55:00] local.INFO: Extracted packet for processing {"connection_id":133783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f665f"} 
[2026-07-15 20:55:00] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736935168001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:55:00] 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-07-15 20:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784128954000,"timestamp_ms":1784128954000,"timestamp_seconds":1784128954,"priority":1,"record_length":96,"hex_timestamp":"0000019f665f5e90"} 
[2026-07-15 20:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:55:00] 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-07-15 20:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:55:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:55:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":133783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":133783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":133783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736935168001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736935168001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:55:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:55:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736935168001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":133783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:55:01] local.INFO: GPS data processed {"connection_id":133783,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:55:01] local.INFO: Acknowledgment sent {"connection_id":133783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:55:06] local.INFO: TCP Data received {"connection_id":132926,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:55:06] local.INFO: Processing buffer {"connection_id":132926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:55:06] local.INFO: IMEI packet received {"connection_id":132926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 20:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":132926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:55:08] local.INFO: TCP Data received {"connection_id":132926,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66613b20012d77a94005f279f0000e014722..."} 
[2026-07-15 20:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66613b20012d77a94005f279f0000e014722..."} 
[2026-07-15 20:55:08] local.INFO: Processing buffer {"connection_id":132926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66613b20012d77a94005f279f0000e014722..."} 
[2026-07-15 20:55:08] local.INFO: Packet analysis {"connection_id":132926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6661"} 
[2026-07-15 20:55:08] local.INFO: Extracted packet for processing {"connection_id":132926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6661"} 
[2026-07-15 20:55:08] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":34,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736965632001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 20:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 20:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784129076000,"timestamp_ms":1784129076000,"timestamp_seconds":1784129076,"priority":1,"record_length":96,"hex_timestamp":"0000019f66613b20"} 
[2026-07-15 20:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 20:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20: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-07-15 20:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736965632001,"66":25995,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 20:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736965632001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:55:08] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 20:55:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 20:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 20:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736965632001,"power":25995,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 20:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":132926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:55:08] local.INFO: GPS data processed {"connection_id":132926,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:55:08] local.INFO: Acknowledgment sent {"connection_id":132926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:55:33] local.INFO: TCP Data received {"connection_id":133783,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f665f5e90012d196540071ff040003a004826..."} 
[2026-07-15 20:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f665f5e90012d196540071ff040003a004826..."} 
[2026-07-15 20:55:33] local.INFO: Processing buffer {"connection_id":133783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f665f5e90012d196540071ff040003a004826..."} 
[2026-07-15 20:55:33] local.INFO: Packet analysis {"connection_id":133783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f665f"} 
[2026-07-15 20:55:33] local.INFO: Extracted packet for processing {"connection_id":133783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f665f"} 
[2026-07-15 20:55:33] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736935168001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:55:33] 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-07-15 20:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784128954000,"timestamp_ms":1784128954000,"timestamp_seconds":1784128954,"priority":1,"record_length":96,"hex_timestamp":"0000019f665f5e90"} 
[2026-07-15 20:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:55:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:55: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-07-15 20: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-07-15 20:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":133783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":133783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":133783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736935168001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736935168001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:55:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:55:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736935168001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":133783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:55:33] local.INFO: GPS data processed {"connection_id":133783,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:55:33] local.INFO: Acknowledgment sent {"connection_id":133783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:55:40] local.INFO: TCP Data received {"connection_id":132926,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66613b20012d77a94005f279f0000e014722..."} 
[2026-07-15 20:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66613b20012d77a94005f279f0000e014722..."} 
[2026-07-15 20:55:40] local.INFO: Processing buffer {"connection_id":132926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66613b20012d77a94005f279f0000e014722..."} 
[2026-07-15 20:55:40] local.INFO: Packet analysis {"connection_id":132926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6661"} 
[2026-07-15 20:55:40] local.INFO: Extracted packet for processing {"connection_id":132926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6661"} 
[2026-07-15 20:55:40] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":34,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 20:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736965632001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 20:55:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 20:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784129076000,"timestamp_ms":1784129076000,"timestamp_seconds":1784129076,"priority":1,"record_length":96,"hex_timestamp":"0000019f66613b20"} 
[2026-07-15 20:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:55:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 20:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:55:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:55:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736965632001,"66":25995,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 20:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736965632001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:55:40] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 20:55:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 20:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:55:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 20:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736965632001,"power":25995,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 20:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":132926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:55:40] local.INFO: GPS data processed {"connection_id":132926,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:55:40] local.INFO: Acknowledgment sent {"connection_id":132926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:55:55] local.INFO: TCP Data received {"connection_id":133785,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:55:55] local.INFO: Processing buffer {"connection_id":133785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:55:55] local.INFO: IMEI packet received {"connection_id":133785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":133785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:56:00] local.INFO: TCP Data received {"connection_id":133785,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:56:00] local.INFO: Processing buffer {"connection_id":133785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:56:00] local.INFO: IMEI packet received {"connection_id":133785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":133785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:56:02] local.INFO: TCP Data received {"connection_id":133785,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f665f5e90012d196540071ff040003a004826..."} 
[2026-07-15 20:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f665f5e90012d196540071ff040003a004826..."} 
[2026-07-15 20:56:02] local.INFO: Processing buffer {"connection_id":133785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f665f5e90012d196540071ff040003a004826..."} 
[2026-07-15 20:56:02] local.INFO: Packet analysis {"connection_id":133785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f665f"} 
[2026-07-15 20:56:02] local.INFO: Extracted packet for processing {"connection_id":133785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f665f"} 
[2026-07-15 20:56:02] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736935168001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:56:02] 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-07-15 20:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784128954000,"timestamp_ms":1784128954000,"timestamp_seconds":1784128954,"priority":1,"record_length":96,"hex_timestamp":"0000019f665f5e90"} 
[2026-07-15 20:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:56:02] 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-07-15 20:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:56: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-07-15 20:56:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":133785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":133785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":133785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736935168001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736935168001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:56:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:56:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736935168001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":133785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:56:02] local.INFO: GPS data processed {"connection_id":133785,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:56:02] local.INFO: Acknowledgment sent {"connection_id":133785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:56:05] local.INFO: TCP Data received {"connection_id":135142,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:56:05] local.INFO: Processing buffer {"connection_id":135142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:56:05] local.INFO: IMEI packet received {"connection_id":135142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 20:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":135142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:56:06] local.INFO: TCP Data received {"connection_id":133785,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f665f5e90012d196540071ff040003a004826..."} 
[2026-07-15 20:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f665f5e90012d196540071ff040003a004826..."} 
[2026-07-15 20:56:06] local.INFO: Processing buffer {"connection_id":133785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f665f5e90012d196540071ff040003a004826..."} 
[2026-07-15 20:56:06] local.INFO: Packet analysis {"connection_id":133785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f665f"} 
[2026-07-15 20:56:06] local.INFO: Extracted packet for processing {"connection_id":133785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f665f"} 
[2026-07-15 20:56:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736935168001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:56:06] 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-07-15 20:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784128954000,"timestamp_ms":1784128954000,"timestamp_seconds":1784128954,"priority":1,"record_length":96,"hex_timestamp":"0000019f665f5e90"} 
[2026-07-15 20:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736935168001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736935168001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:56:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:56:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736935168001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":133785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:56:06] local.INFO: GPS data processed {"connection_id":133785,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:56:06] local.INFO: Acknowledgment sent {"connection_id":133785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:56:10] local.INFO: TCP Data received {"connection_id":135142,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:56:10] local.INFO: Processing buffer {"connection_id":135142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:56:10] local.INFO: IMEI packet received {"connection_id":135142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 20:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":135142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:56:11] local.INFO: TCP Data received {"connection_id":135142,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66613b20012d77a94005f279f0000e014722..."} 
[2026-07-15 20:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66613b20012d77a94005f279f0000e014722..."} 
[2026-07-15 20:56:11] local.INFO: Processing buffer {"connection_id":135142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66613b20012d77a94005f279f0000e014722..."} 
[2026-07-15 20:56:11] local.INFO: Packet analysis {"connection_id":135142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6661"} 
[2026-07-15 20:56:11] local.INFO: Extracted packet for processing {"connection_id":135142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6661"} 
[2026-07-15 20:56:11] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":34,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736965632001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 20:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 20:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784129076000,"timestamp_ms":1784129076000,"timestamp_seconds":1784129076,"priority":1,"record_length":96,"hex_timestamp":"0000019f66613b20"} 
[2026-07-15 20:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 20:56:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20: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-07-15 20:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":135142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":135142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":135142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736965632001,"66":25995,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 20:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736965632001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:56:11] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 20:56:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 20:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 20:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736965632001,"power":25995,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 20:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":135142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:56:11] local.INFO: GPS data processed {"connection_id":135142,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:56:11] local.INFO: Acknowledgment sent {"connection_id":135142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:56:16] local.INFO: TCP Data received {"connection_id":135142,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66613b20012d77a94005f279f0000e014722..."} 
[2026-07-15 20:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66613b20012d77a94005f279f0000e014722..."} 
[2026-07-15 20:56:16] local.INFO: Processing buffer {"connection_id":135142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66613b20012d77a94005f279f0000e014722..."} 
[2026-07-15 20:56:16] local.INFO: Packet analysis {"connection_id":135142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6661"} 
[2026-07-15 20:56:16] local.INFO: Extracted packet for processing {"connection_id":135142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6661"} 
[2026-07-15 20:56:16] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":34,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 20:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736965632001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 20:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 20:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784129076000,"timestamp_ms":1784129076000,"timestamp_seconds":1784129076,"priority":1,"record_length":96,"hex_timestamp":"0000019f66613b20"} 
[2026-07-15 20:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:56:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 20:56:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:56:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":135142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":135142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":135142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736965632001,"66":25995,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 20:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736965632001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:56:16] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 20:56:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 20:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 20:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736965632001,"power":25995,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 20:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":135142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:56:16] local.INFO: GPS data processed {"connection_id":135142,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:56:16] local.INFO: Acknowledgment sent {"connection_id":135142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:56:50] local.INFO: TCP Data received {"connection_id":133787,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:56:50] local.INFO: Processing buffer {"connection_id":133787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:56:50] local.INFO: IMEI packet received {"connection_id":133787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":133787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:56:55] local.INFO: TCP Data received {"connection_id":133787,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:56:55] local.INFO: Processing buffer {"connection_id":133787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:56:55] local.INFO: IMEI packet received {"connection_id":133787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":133787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:56:56] local.INFO: TCP Data received {"connection_id":133787,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f665f5e90012d196540071ff040003a004826..."} 
[2026-07-15 20:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f665f5e90012d196540071ff040003a004826..."} 
[2026-07-15 20:56:56] local.INFO: Processing buffer {"connection_id":133787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f665f5e90012d196540071ff040003a004826..."} 
[2026-07-15 20:56:56] local.INFO: Packet analysis {"connection_id":133787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f665f"} 
[2026-07-15 20:56:56] local.INFO: Extracted packet for processing {"connection_id":133787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f665f"} 
[2026-07-15 20:56:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736935168001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:56: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-07-15 20:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784128954000,"timestamp_ms":1784128954000,"timestamp_seconds":1784128954,"priority":1,"record_length":96,"hex_timestamp":"0000019f665f5e90"} 
[2026-07-15 20:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:56:56] 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-07-15 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:56: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-07-15 20: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-07-15 20:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736935168001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736935168001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:56:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:56:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736935168001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:56:57] local.INFO: DEBUG: GPS processor result {"connection_id":133787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:56:57] local.INFO: GPS data processed {"connection_id":133787,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:56:57] local.INFO: Acknowledgment sent {"connection_id":133787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:57:00] local.INFO: TCP Data received {"connection_id":132747,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:57:00] local.INFO: Processing buffer {"connection_id":132747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:57:00] local.INFO: IMEI packet received {"connection_id":132747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 20:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":132747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:57:05] local.INFO: TCP Data received {"connection_id":132747,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:57:05] local.INFO: Processing buffer {"connection_id":132747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:57:05] local.INFO: IMEI packet received {"connection_id":132747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 20:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":132747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:57:07] local.INFO: TCP Data received {"connection_id":132747,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66613b20012d77a94005f279f0000e014722..."} 
[2026-07-15 20:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66613b20012d77a94005f279f0000e014722..."} 
[2026-07-15 20:57:07] local.INFO: Processing buffer {"connection_id":132747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66613b20012d77a94005f279f0000e014722..."} 
[2026-07-15 20:57:07] local.INFO: Packet analysis {"connection_id":132747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6661"} 
[2026-07-15 20:57:07] local.INFO: Extracted packet for processing {"connection_id":132747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6661"} 
[2026-07-15 20:57:07] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":34,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 20:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736965632001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 20:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 20:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784129076000,"timestamp_ms":1784129076000,"timestamp_seconds":1784129076,"priority":1,"record_length":96,"hex_timestamp":"0000019f66613b20"} 
[2026-07-15 20:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 20:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:57:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736965632001,"66":25995,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 20:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736965632001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:57:07] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 20:57:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 20:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 20:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736965632001,"power":25995,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 20:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":132747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:57:07] local.INFO: GPS data processed {"connection_id":132747,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:57:07] local.INFO: Acknowledgment sent {"connection_id":132747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:57:28] local.INFO: TCP Data received {"connection_id":133787,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f665f5e90012d196540071ff040003a004826..."} 
[2026-07-15 20:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f665f5e90012d196540071ff040003a004826..."} 
[2026-07-15 20:57:28] local.INFO: Processing buffer {"connection_id":133787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f665f5e90012d196540071ff040003a004826..."} 
[2026-07-15 20:57:28] local.INFO: Packet analysis {"connection_id":133787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f665f"} 
[2026-07-15 20:57:28] local.INFO: Extracted packet for processing {"connection_id":133787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f665f"} 
[2026-07-15 20:57:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":58,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736935168001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:57:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:57: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-07-15 20:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784128954000,"timestamp_ms":1784128954000,"timestamp_seconds":1784128954,"priority":1,"record_length":96,"hex_timestamp":"0000019f665f5e90"} 
[2026-07-15 20:57:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:57: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-07-15 20:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:57: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-07-15 20:57:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:57:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":133787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":133787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":133787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:57:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736935168001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736935168001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:57:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:57:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:57:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736935168001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":133787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:57:28] local.INFO: GPS data processed {"connection_id":133787,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:57:28] local.INFO: Acknowledgment sent {"connection_id":133787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:57:38] local.INFO: TCP Data received {"connection_id":132747,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66613b20012d77a94005f279f0000e014722..."} 
[2026-07-15 20:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66613b20012d77a94005f279f0000e014722..."} 
[2026-07-15 20:57:38] local.INFO: Processing buffer {"connection_id":132747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66613b20012d77a94005f279f0000e014722..."} 
[2026-07-15 20:57:38] local.INFO: Packet analysis {"connection_id":132747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6661"} 
[2026-07-15 20:57:38] local.INFO: Extracted packet for processing {"connection_id":132747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6661"} 
[2026-07-15 20:57:38] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":34,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 20:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736965632001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 20:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 20:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784129076000,"timestamp_ms":1784129076000,"timestamp_seconds":1784129076,"priority":1,"record_length":96,"hex_timestamp":"0000019f66613b20"} 
[2026-07-15 20:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 20:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:57:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736965632001,"66":25995,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 20:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736965632001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:57:38] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 20:57:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 20:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 20:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736965632001,"power":25995,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 20:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":132747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:57:38] local.INFO: GPS data processed {"connection_id":132747,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:57:38] local.INFO: Acknowledgment sent {"connection_id":132747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:57:50] local.INFO: TCP Data received {"connection_id":133789,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:57:50] local.INFO: Processing buffer {"connection_id":133789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:57:50] local.INFO: IMEI packet received {"connection_id":133789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":133789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:57:55] local.INFO: TCP Data received {"connection_id":133789,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:57:55] local.INFO: Processing buffer {"connection_id":133789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:57:55] local.INFO: IMEI packet received {"connection_id":133789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":133789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:57:56] local.INFO: TCP Data received {"connection_id":133789,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6663f658012d196540071ff0400040004828..."} 
[2026-07-15 20:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6663f658012d196540071ff0400040004828..."} 
[2026-07-15 20:57:56] local.INFO: Processing buffer {"connection_id":133789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6663f658012d196540071ff0400040004828..."} 
[2026-07-15 20:57:56] local.INFO: Packet analysis {"connection_id":133789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6663"} 
[2026-07-15 20:57:56] local.INFO: Extracted packet for processing {"connection_id":133789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6663"} 
[2026-07-15 20:57:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737012224001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:57: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-07-15 20:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784129255000,"timestamp_ms":1784129255000,"timestamp_seconds":1784129255,"priority":1,"record_length":96,"hex_timestamp":"0000019f6663f658"} 
[2026-07-15 20:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:57:56] 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-07-15 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:57: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-07-15 20: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-07-15 20:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737012224001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737012224001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:57:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:57:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737012224001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":133789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:57:56] local.INFO: GPS data processed {"connection_id":133789,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:57:56] local.INFO: Acknowledgment sent {"connection_id":133789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:58:00] local.INFO: TCP Data received {"connection_id":132927,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:58:00] local.INFO: Processing buffer {"connection_id":132927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:58:00] local.INFO: IMEI packet received {"connection_id":132927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 20:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":132927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:58:05] local.INFO: TCP Data received {"connection_id":132927,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:58:05] local.INFO: Processing buffer {"connection_id":132927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:58:05] local.INFO: IMEI packet received {"connection_id":132927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 20:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":132927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:58:06] local.INFO: TCP Data received {"connection_id":132927,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66613b20012d77a94005f279f0000e014722..."} 
[2026-07-15 20:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66613b20012d77a94005f279f0000e014722..."} 
[2026-07-15 20:58:06] local.INFO: Processing buffer {"connection_id":132927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66613b20012d77a94005f279f0000e014722..."} 
[2026-07-15 20:58:06] local.INFO: Packet analysis {"connection_id":132927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6661"} 
[2026-07-15 20:58:06] local.INFO: Extracted packet for processing {"connection_id":132927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6661"} 
[2026-07-15 20:58:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":34,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 20:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736965632001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 20:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 20:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784129076000,"timestamp_ms":1784129076000,"timestamp_seconds":1784129076,"priority":1,"record_length":96,"hex_timestamp":"0000019f66613b20"} 
[2026-07-15 20:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 20:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736965632001,"66":25995,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 20:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736965632001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:58:06] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 20:58:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 20:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 20:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736965632001,"power":25995,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 20:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":132927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:58:06] local.INFO: GPS data processed {"connection_id":132927,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:58:06] local.INFO: Acknowledgment sent {"connection_id":132927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:58:27] local.INFO: TCP Data received {"connection_id":133789,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6663f658012d196540071ff0400040004828..."} 
[2026-07-15 20:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6663f658012d196540071ff0400040004828..."} 
[2026-07-15 20:58:27] local.INFO: Processing buffer {"connection_id":133789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6663f658012d196540071ff0400040004828..."} 
[2026-07-15 20:58:27] local.INFO: Packet analysis {"connection_id":133789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6663"} 
[2026-07-15 20:58:27] local.INFO: Extracted packet for processing {"connection_id":133789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6663"} 
[2026-07-15 20:58:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 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-07-15 20:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737012224001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:58: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-07-15 20:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784129255000,"timestamp_ms":1784129255000,"timestamp_seconds":1784129255,"priority":1,"record_length":96,"hex_timestamp":"0000019f6663f658"} 
[2026-07-15 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-07-15 20:58:27] 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-07-15 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":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:58: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-07-15 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-07-15 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-07-15 20:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":133789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":133789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":133789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737012224001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737012224001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:58:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:58:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737012224001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":133789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:58:27] local.INFO: GPS data processed {"connection_id":133789,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:58:27] local.INFO: Acknowledgment sent {"connection_id":133789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:58:37] local.INFO: TCP Data received {"connection_id":132927,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66613b20012d77a94005f279f0000e014722..."} 
[2026-07-15 20:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66613b20012d77a94005f279f0000e014722..."} 
[2026-07-15 20:58:37] local.INFO: Processing buffer {"connection_id":132927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66613b20012d77a94005f279f0000e014722..."} 
[2026-07-15 20:58:37] local.INFO: Packet analysis {"connection_id":132927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6661"} 
[2026-07-15 20:58:37] local.INFO: Extracted packet for processing {"connection_id":132927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6661"} 
[2026-07-15 20:58:37] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":34,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 20:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736965632001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 20:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 20:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784129076000,"timestamp_ms":1784129076000,"timestamp_seconds":1784129076,"priority":1,"record_length":96,"hex_timestamp":"0000019f66613b20"} 
[2026-07-15 20:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 20:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736965632001,"66":25995,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 20:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736965632001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:58:37] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 20:58:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 20:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 20:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736965632001,"power":25995,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 20:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":132927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:58:38] local.INFO: GPS data processed {"connection_id":132927,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:58:38] local.INFO: Acknowledgment sent {"connection_id":132927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:58:49] local.INFO: TCP Data received {"connection_id":135143,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135143,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:58:49] local.INFO: Processing buffer {"connection_id":135143,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:58:49] local.INFO: IMEI packet received {"connection_id":135143,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":135143,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:58:55] local.INFO: TCP Data received {"connection_id":135143,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135143,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:58:55] local.INFO: Processing buffer {"connection_id":135143,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:58:55] local.INFO: IMEI packet received {"connection_id":135143,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 20:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":135143,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:58:56] local.INFO: TCP Data received {"connection_id":135143,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6663f658012d196540071ff0400040004828..."} 
[2026-07-15 20:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6663f658012d196540071ff0400040004828..."} 
[2026-07-15 20:58:56] local.INFO: Processing buffer {"connection_id":135143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6663f658012d196540071ff0400040004828..."} 
[2026-07-15 20:58:56] local.INFO: Packet analysis {"connection_id":135143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6663"} 
[2026-07-15 20:58:56] local.INFO: Extracted packet for processing {"connection_id":135143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6663"} 
[2026-07-15 20:58:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737012224001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:58: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-07-15 20:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784129255000,"timestamp_ms":1784129255000,"timestamp_seconds":1784129255,"priority":1,"record_length":96,"hex_timestamp":"0000019f6663f658"} 
[2026-07-15 20:58:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:58:56] 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-07-15 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:58: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-07-15 20: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-07-15 20:58:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":135143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":135143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":135143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737012224001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737012224001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:58:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:58:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737012224001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":135143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:58:56] local.INFO: GPS data processed {"connection_id":135143,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:58:56] local.INFO: Acknowledgment sent {"connection_id":135143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:59:00] local.INFO: TCP Data received {"connection_id":132749,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:59:00] local.INFO: Processing buffer {"connection_id":132749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:59:00] local.INFO: IMEI packet received {"connection_id":132749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 20:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":132749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 20:59:05] local.INFO: TCP Data received {"connection_id":132749,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:59:05] local.INFO: Processing buffer {"connection_id":132749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 20:59:05] local.INFO: IMEI packet received {"connection_id":132749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 20:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":132749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 20:59:06] local.INFO: TCP Data received {"connection_id":132749,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66613b20012d77a94005f279f0000e014722..."} 
[2026-07-15 20:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66613b20012d77a94005f279f0000e014722..."} 
[2026-07-15 20:59:06] local.INFO: Processing buffer {"connection_id":132749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66613b20012d77a94005f279f0000e014722..."} 
[2026-07-15 20:59:06] local.INFO: Packet analysis {"connection_id":132749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6661"} 
[2026-07-15 20:59:06] local.INFO: Extracted packet for processing {"connection_id":132749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6661"} 
[2026-07-15 20:59:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":34,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 20:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 20:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736965632001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 20:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 20:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784129076000,"timestamp_ms":1784129076000,"timestamp_seconds":1784129076,"priority":1,"record_length":96,"hex_timestamp":"0000019f66613b20"} 
[2026-07-15 20:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 20:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 20:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736965632001,"66":25995,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 20:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736965632001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:59:06] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 20:59:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 20:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 20:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736965632001,"power":25995,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 20:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":132749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:59:06] local.INFO: GPS data processed {"connection_id":132749,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:59:06] local.INFO: Acknowledgment sent {"connection_id":132749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:59:28] local.INFO: TCP Data received {"connection_id":135143,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6663f658012d196540071ff0400040004828..."} 
[2026-07-15 20:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6663f658012d196540071ff0400040004828..."} 
[2026-07-15 20:59:28] local.INFO: Processing buffer {"connection_id":135143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6663f658012d196540071ff0400040004828..."} 
[2026-07-15 20:59:28] local.INFO: Packet analysis {"connection_id":135143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6663"} 
[2026-07-15 20:59:28] local.INFO: Extracted packet for processing {"connection_id":135143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6663"} 
[2026-07-15 20:59:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737012224001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 20:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 20:59: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-07-15 20:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784129255000,"timestamp_ms":1784129255000,"timestamp_seconds":1784129255,"priority":1,"record_length":96,"hex_timestamp":"0000019f6663f658"} 
[2026-07-15 20:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:59: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-07-15 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 20:59: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-07-15 20: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-07-15 20:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":135143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":135143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":135143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 20:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 20:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 20:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737012224001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 20:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 20:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 20:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737012224001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:59:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 20:59:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 20:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 20:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737012224001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 20:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":135143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:59:28] local.INFO: GPS data processed {"connection_id":135143,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:59:28] local.INFO: Acknowledgment sent {"connection_id":135143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:59:38] local.INFO: TCP Data received {"connection_id":132749,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66613b20012d77a94005f279f0000e014722..."} 
[2026-07-15 20:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66613b20012d77a94005f279f0000e014722..."} 
[2026-07-15 20:59:38] local.INFO: Processing buffer {"connection_id":132749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66613b20012d77a94005f279f0000e014722..."} 
[2026-07-15 20:59:38] local.INFO: Packet analysis {"connection_id":132749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6661"} 
[2026-07-15 20:59:38] local.INFO: Extracted packet for processing {"connection_id":132749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6661"} 
[2026-07-15 20:59:38] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":34,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 20: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-07-15 20:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456736965632001,"note":"Value kept but may cause issues"} 
[2026-07-15 20:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 20:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 20:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 20:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784129076000,"timestamp_ms":1784129076000,"timestamp_seconds":1784129076,"priority":1,"record_length":96,"hex_timestamp":"0000019f66613b20"} 
[2026-07-15 20:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 20:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 20: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 20:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 20: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-07-15 20:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 20:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 20:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 20:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 20:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 20:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 20:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 20:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456736965632001,"66":25995,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 20:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 20:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 20:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456736965632001,"description":"Unknown IO ID 0"} 
[2026-07-15 20:59:38] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 20:59:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 20:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 20:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 20:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456736965632001,"power":25995,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 20:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":132749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 20:59:38] local.INFO: GPS data processed {"connection_id":132749,"processed":1,"errors":0,"total":1} 
[2026-07-15 20:59:38] local.INFO: Acknowledgment sent {"connection_id":132749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 20:59:55] local.INFO: TCP Data received {"connection_id":133791,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:59:55] local.INFO: Processing buffer {"connection_id":133791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 20:59:55] local.INFO: IMEI packet received {"connection_id":133791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 20:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":133791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:00:00] local.INFO: TCP Data received {"connection_id":133791,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:00:00] local.INFO: Processing buffer {"connection_id":133791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:00:00] local.INFO: IMEI packet received {"connection_id":133791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":133791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:00:01] local.INFO: TCP Data received {"connection_id":133791,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6663f658012d196540071ff0400040004828..."} 
[2026-07-15 21:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6663f658012d196540071ff0400040004828..."} 
[2026-07-15 21:00:01] local.INFO: Processing buffer {"connection_id":133791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6663f658012d196540071ff0400040004828..."} 
[2026-07-15 21:00:01] local.INFO: Packet analysis {"connection_id":133791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6663"} 
[2026-07-15 21:00:01] local.INFO: Extracted packet for processing {"connection_id":133791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6663"} 
[2026-07-15 21:00:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737012224001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:00:01] 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-07-15 21:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784129255000,"timestamp_ms":1784129255000,"timestamp_seconds":1784129255,"priority":1,"record_length":96,"hex_timestamp":"0000019f6663f658"} 
[2026-07-15 21:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:00:01] 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-07-15 21:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:00: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-07-15 21:00:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":133791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":133791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":133791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:00:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737012224001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737012224001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:00:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:00:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737012224001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":133791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:00:01] local.INFO: GPS data processed {"connection_id":133791,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:00:01] local.INFO: Acknowledgment sent {"connection_id":133791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:00:05] local.INFO: TCP Data received {"connection_id":132750,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:00:05] local.INFO: Processing buffer {"connection_id":132750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:00:05] local.INFO: IMEI packet received {"connection_id":132750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":132750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:00:06] local.INFO: TCP Data received {"connection_id":133791,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6663f658012d196540071ff0400040004828..."} 
[2026-07-15 21:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6663f658012d196540071ff0400040004828..."} 
[2026-07-15 21:00:06] local.INFO: Processing buffer {"connection_id":133791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6663f658012d196540071ff0400040004828..."} 
[2026-07-15 21:00:06] local.INFO: Packet analysis {"connection_id":133791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6663"} 
[2026-07-15 21:00:06] local.INFO: Extracted packet for processing {"connection_id":133791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6663"} 
[2026-07-15 21:00:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737012224001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:00:06] 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-07-15 21:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784129255000,"timestamp_ms":1784129255000,"timestamp_seconds":1784129255,"priority":1,"record_length":96,"hex_timestamp":"0000019f6663f658"} 
[2026-07-15 21:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737012224001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737012224001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:00:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:00:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737012224001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":133791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:00:06] local.INFO: GPS data processed {"connection_id":133791,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:00:06] local.INFO: Acknowledgment sent {"connection_id":133791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:00:09] local.INFO: TCP Data received {"connection_id":133790,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133790,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:00:09] local.INFO: Processing buffer {"connection_id":133790,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:00:09] local.INFO: IMEI packet received {"connection_id":133790,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 21:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":133790,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:00:10] local.INFO: TCP Data received {"connection_id":132750,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:00:10] local.INFO: Processing buffer {"connection_id":132750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:00:10] local.INFO: IMEI packet received {"connection_id":132750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":132750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:00:11] local.INFO: TCP Data received {"connection_id":132750,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f6665d2e8012d77a94005f279f0000e014727..."} 
[2026-07-15 21:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6665d2e8012d77a94005f279f0000e014727..."} 
[2026-07-15 21:00:11] local.INFO: Processing buffer {"connection_id":132750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6665d2e8012d77a94005f279f0000e014727..."} 
[2026-07-15 21:00:11] local.INFO: Packet analysis {"connection_id":132750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6665"} 
[2026-07-15 21:00:11] local.INFO: Extracted packet for processing {"connection_id":132750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6665"} 
[2026-07-15 21:00:11] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737043456001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784129377000,"timestamp_ms":1784129377000,"timestamp_seconds":1784129377,"priority":1,"record_length":96,"hex_timestamp":"0000019f6665d2e8"} 
[2026-07-15 21:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 21:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:00:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737043456001,"66":25473,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737043456001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:00:11] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:00:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737043456001,"power":25473,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":132750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:00:11] local.INFO: GPS data processed {"connection_id":132750,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:00:11] local.INFO: Acknowledgment sent {"connection_id":132750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:00:16] local.INFO: TCP Data received {"connection_id":132750,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f6665d2e8012d77a94005f279f0000e014727..."} 
[2026-07-15 21:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6665d2e8012d77a94005f279f0000e014727..."} 
[2026-07-15 21:00:16] local.INFO: Processing buffer {"connection_id":132750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6665d2e8012d77a94005f279f0000e014727..."} 
[2026-07-15 21:00:16] local.INFO: Packet analysis {"connection_id":132750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6665"} 
[2026-07-15 21:00:16] local.INFO: Extracted packet for processing {"connection_id":132750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6665"} 
[2026-07-15 21:00:16] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737043456001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:00:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:00:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784129377000,"timestamp_ms":1784129377000,"timestamp_seconds":1784129377,"priority":1,"record_length":96,"hex_timestamp":"0000019f6665d2e8"} 
[2026-07-15 21:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:00:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 21:00:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:00:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:00:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737043456001,"66":25473,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737043456001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:00:16] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:00:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:00:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737043456001,"power":25473,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":132750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:00:16] local.INFO: GPS data processed {"connection_id":132750,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:00:16] local.INFO: Acknowledgment sent {"connection_id":132750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:00:33] local.INFO: TCP Data received {"connection_id":135144,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135144,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:00:33] local.INFO: Processing buffer {"connection_id":135144,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:00:33] local.INFO: IMEI packet received {"connection_id":135144,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 21:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":135144,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:00:35] local.INFO: TCP Data received {"connection_id":135144,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135144,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:00:35] local.INFO: Processing buffer {"connection_id":135144,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:00:35] local.INFO: IMEI packet received {"connection_id":135144,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 21:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":135144,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:00:51] local.INFO: TCP Data received {"connection_id":132928,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:00:51] local.INFO: Processing buffer {"connection_id":132928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:00:51] local.INFO: IMEI packet received {"connection_id":132928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":132928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:00:55] local.INFO: TCP Data received {"connection_id":132928,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:00:55] local.INFO: Processing buffer {"connection_id":132928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:00:55] local.INFO: IMEI packet received {"connection_id":132928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":132928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:01:00] local.INFO: TCP Data received {"connection_id":135145,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:01:00] local.INFO: Processing buffer {"connection_id":135145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:01:00] local.INFO: IMEI packet received {"connection_id":135145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":135145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:01:03] local.INFO: TCP Data received {"connection_id":132928,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6663f658012d196540071ff0400040004828..."} 
[2026-07-15 21:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6663f658012d196540071ff0400040004828..."} 
[2026-07-15 21:01:03] local.INFO: Processing buffer {"connection_id":132928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6663f658012d196540071ff0400040004828..."} 
[2026-07-15 21:01:03] local.INFO: Packet analysis {"connection_id":132928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6663"} 
[2026-07-15 21:01:03] local.INFO: Extracted packet for processing {"connection_id":132928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6663"} 
[2026-07-15 21:01:03] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737012224001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:01:03] 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-07-15 21:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784129255000,"timestamp_ms":1784129255000,"timestamp_seconds":1784129255,"priority":1,"record_length":96,"hex_timestamp":"0000019f6663f658"} 
[2026-07-15 21:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:01:03] 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-07-15 21:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:01: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-07-15 21:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":132928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":132928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":132928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737012224001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737012224001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:01:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:01:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737012224001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":132928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:01:04] local.INFO: GPS data processed {"connection_id":132928,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:01:04] local.INFO: Acknowledgment sent {"connection_id":132928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:01:05] local.INFO: TCP Data received {"connection_id":135145,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:01:05] local.INFO: Processing buffer {"connection_id":135145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:01:05] local.INFO: IMEI packet received {"connection_id":135145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":135145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:01:18] local.INFO: TCP Data received {"connection_id":135145,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f6665d2e8012d77a94005f279f0000e014727..."} 
[2026-07-15 21:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6665d2e8012d77a94005f279f0000e014727..."} 
[2026-07-15 21:01:18] local.INFO: Processing buffer {"connection_id":135145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6665d2e8012d77a94005f279f0000e014727..."} 
[2026-07-15 21:01:18] local.INFO: Packet analysis {"connection_id":135145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6665"} 
[2026-07-15 21:01:18] local.INFO: Extracted packet for processing {"connection_id":135145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6665"} 
[2026-07-15 21:01:18] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 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-07-15 21:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737043456001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:01:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784129377000,"timestamp_ms":1784129377000,"timestamp_seconds":1784129377,"priority":1,"record_length":96,"hex_timestamp":"0000019f6665d2e8"} 
[2026-07-15 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-07-15 21:01:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 21:01:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 21:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":135145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":135145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":135145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:01:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737043456001,"66":25473,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737043456001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:01:18] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:01:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737043456001,"power":25473,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":135145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:01:18] local.INFO: GPS data processed {"connection_id":135145,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:01:18] local.INFO: Acknowledgment sent {"connection_id":135145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:01:35] local.INFO: TCP Data received {"connection_id":132928,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6663f658012d196540071ff0400040004828..."} 
[2026-07-15 21:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6663f658012d196540071ff0400040004828..."} 
[2026-07-15 21:01:35] local.INFO: Processing buffer {"connection_id":132928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6663f658012d196540071ff0400040004828..."} 
[2026-07-15 21:01:35] local.INFO: Packet analysis {"connection_id":132928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6663"} 
[2026-07-15 21:01:35] local.INFO: Extracted packet for processing {"connection_id":132928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6663"} 
[2026-07-15 21:01:35] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737012224001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:01:35] 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-07-15 21:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784129255000,"timestamp_ms":1784129255000,"timestamp_seconds":1784129255,"priority":1,"record_length":96,"hex_timestamp":"0000019f6663f658"} 
[2026-07-15 21:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:01:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737012224001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737012224001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:01:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:01:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737012224001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":132928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:01:35] local.INFO: GPS data processed {"connection_id":132928,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:01:35] local.INFO: Acknowledgment sent {"connection_id":132928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:01:49] local.INFO: TCP Data received {"connection_id":132930,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:01:49] local.INFO: Processing buffer {"connection_id":132930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:01:49] local.INFO: IMEI packet received {"connection_id":132930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":132930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:01:55] local.INFO: TCP Data received {"connection_id":132930,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:01:55] local.INFO: Processing buffer {"connection_id":132930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:01:55] local.INFO: IMEI packet received {"connection_id":132930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":132930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:01:56] local.INFO: TCP Data received {"connection_id":132930,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6663f658012d196540071ff0400040004828..."} 
[2026-07-15 21:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6663f658012d196540071ff0400040004828..."} 
[2026-07-15 21:01:56] local.INFO: Processing buffer {"connection_id":132930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6663f658012d196540071ff0400040004828..."} 
[2026-07-15 21:01:56] local.INFO: Packet analysis {"connection_id":132930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6663"} 
[2026-07-15 21:01:56] local.INFO: Extracted packet for processing {"connection_id":132930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6663"} 
[2026-07-15 21:01:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737012224001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:01: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-07-15 21:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784129255000,"timestamp_ms":1784129255000,"timestamp_seconds":1784129255,"priority":1,"record_length":96,"hex_timestamp":"0000019f6663f658"} 
[2026-07-15 21:01:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:01:56] 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-07-15 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:01: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-07-15 21: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-07-15 21:01:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:01:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737012224001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737012224001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:01:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:01:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737012224001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":132930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:01:56] local.INFO: GPS data processed {"connection_id":132930,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:01:56] local.INFO: Acknowledgment sent {"connection_id":132930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:02:00] local.INFO: TCP Data received {"connection_id":132752,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:02:00] local.INFO: Processing buffer {"connection_id":132752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:02:00] local.INFO: IMEI packet received {"connection_id":132752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":132752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:02:05] local.INFO: TCP Data received {"connection_id":132752,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:02:05] local.INFO: Processing buffer {"connection_id":132752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:02:05] local.INFO: IMEI packet received {"connection_id":132752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":132752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:02:06] local.INFO: TCP Data received {"connection_id":132752,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f6665d2e8012d77a94005f279f0000e014727..."} 
[2026-07-15 21:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6665d2e8012d77a94005f279f0000e014727..."} 
[2026-07-15 21:02:06] local.INFO: Processing buffer {"connection_id":132752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6665d2e8012d77a94005f279f0000e014727..."} 
[2026-07-15 21:02:06] local.INFO: Packet analysis {"connection_id":132752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6665"} 
[2026-07-15 21:02:06] local.INFO: Extracted packet for processing {"connection_id":132752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6665"} 
[2026-07-15 21:02:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737043456001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784129377000,"timestamp_ms":1784129377000,"timestamp_seconds":1784129377,"priority":1,"record_length":96,"hex_timestamp":"0000019f6665d2e8"} 
[2026-07-15 21:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 21:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737043456001,"66":25473,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737043456001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:02:06] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:02:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737043456001,"power":25473,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":132752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:02:06] local.INFO: GPS data processed {"connection_id":132752,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:02:06] local.INFO: Acknowledgment sent {"connection_id":132752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:02:28] local.INFO: TCP Data received {"connection_id":132930,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6663f658012d196540071ff0400040004828..."} 
[2026-07-15 21:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6663f658012d196540071ff0400040004828..."} 
[2026-07-15 21:02:28] local.INFO: Processing buffer {"connection_id":132930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6663f658012d196540071ff0400040004828..."} 
[2026-07-15 21:02:28] local.INFO: Packet analysis {"connection_id":132930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6663"} 
[2026-07-15 21:02:28] local.INFO: Extracted packet for processing {"connection_id":132930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6663"} 
[2026-07-15 21:02:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:02:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737012224001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:02:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:02:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:02: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-07-15 21:02:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784129255000,"timestamp_ms":1784129255000,"timestamp_seconds":1784129255,"priority":1,"record_length":96,"hex_timestamp":"0000019f6663f658"} 
[2026-07-15 21:02:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:02: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-07-15 21:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:02: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-07-15 21:02:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:02:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:02:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:02:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:02:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:02:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:02:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:02:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:02:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:02:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737012224001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:02:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:02:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:02:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737012224001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:02:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:02:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:02:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:02:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:02:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737012224001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:02:28] local.INFO: DEBUG: GPS processor result {"connection_id":132930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:02:28] local.INFO: GPS data processed {"connection_id":132930,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:02:28] local.INFO: Acknowledgment sent {"connection_id":132930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:02:38] local.INFO: TCP Data received {"connection_id":132752,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f6665d2e8012d77a94005f279f0000e014727..."} 
[2026-07-15 21:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6665d2e8012d77a94005f279f0000e014727..."} 
[2026-07-15 21:02:38] local.INFO: Processing buffer {"connection_id":132752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6665d2e8012d77a94005f279f0000e014727..."} 
[2026-07-15 21:02:38] local.INFO: Packet analysis {"connection_id":132752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6665"} 
[2026-07-15 21:02:38] local.INFO: Extracted packet for processing {"connection_id":132752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6665"} 
[2026-07-15 21:02:38] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737043456001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784129377000,"timestamp_ms":1784129377000,"timestamp_seconds":1784129377,"priority":1,"record_length":96,"hex_timestamp":"0000019f6665d2e8"} 
[2026-07-15 21:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 21:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737043456001,"66":25473,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737043456001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:02:38] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:02:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737043456001,"power":25473,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":132752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:02:38] local.INFO: GPS data processed {"connection_id":132752,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:02:38] local.INFO: Acknowledgment sent {"connection_id":132752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:02:50] local.INFO: TCP Data received {"connection_id":132931,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:02:50] local.INFO: Processing buffer {"connection_id":132931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:02:50] local.INFO: IMEI packet received {"connection_id":132931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":132931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:02:55] local.INFO: TCP Data received {"connection_id":132931,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:02:55] local.INFO: Processing buffer {"connection_id":132931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:02:55] local.INFO: IMEI packet received {"connection_id":132931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":132931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:02:56] local.INFO: TCP Data received {"connection_id":132931,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66688e20012d196540071ff0400040004828..."} 
[2026-07-15 21:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66688e20012d196540071ff0400040004828..."} 
[2026-07-15 21:02:56] local.INFO: Processing buffer {"connection_id":132931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66688e20012d196540071ff0400040004828..."} 
[2026-07-15 21:02:56] local.INFO: Packet analysis {"connection_id":132931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6668"} 
[2026-07-15 21:02:56] local.INFO: Extracted packet for processing {"connection_id":132931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6668"} 
[2026-07-15 21:02:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737089280001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:02:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:02: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-07-15 21:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784129556000,"timestamp_ms":1784129556000,"timestamp_seconds":1784129556,"priority":1,"record_length":96,"hex_timestamp":"0000019f66688e20"} 
[2026-07-15 21:02:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:02:56] 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-07-15 21:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:02: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-07-15 21:02:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:02:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:02:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737089280001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737089280001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:02:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:02:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:02:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737089280001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":132931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492939,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:02:56] local.INFO: GPS data processed {"connection_id":132931,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:02:56] local.INFO: Acknowledgment sent {"connection_id":132931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:03:05] local.INFO: TCP Data received {"connection_id":133792,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:03:05] local.INFO: Processing buffer {"connection_id":133792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:03:05] local.INFO: IMEI packet received {"connection_id":133792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":133792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:03:12] local.INFO: TCP Data received {"connection_id":133792,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:03:12] local.INFO: Processing buffer {"connection_id":133792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:03:12] local.INFO: IMEI packet received {"connection_id":133792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":133792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:03:12] local.INFO: TCP Data received {"connection_id":133792,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f6665d2e8012d77a94005f279f0000e014727..."} 
[2026-07-15 21:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6665d2e8012d77a94005f279f0000e014727..."} 
[2026-07-15 21:03:12] local.INFO: Processing buffer {"connection_id":133792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6665d2e8012d77a94005f279f0000e014727..."} 
[2026-07-15 21:03:12] local.INFO: Packet analysis {"connection_id":133792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6665"} 
[2026-07-15 21:03:12] local.INFO: Extracted packet for processing {"connection_id":133792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6665"} 
[2026-07-15 21:03:12] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737043456001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784129377000,"timestamp_ms":1784129377000,"timestamp_seconds":1784129377,"priority":1,"record_length":96,"hex_timestamp":"0000019f6665d2e8"} 
[2026-07-15 21:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 21:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":133792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":133792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":133792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737043456001,"66":25473,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737043456001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:03:12] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:03:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737043456001,"power":25473,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":133792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:03:12] local.INFO: GPS data processed {"connection_id":133792,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:03:12] local.INFO: Acknowledgment sent {"connection_id":133792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:03:15] local.INFO: TCP Data received {"connection_id":133792,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f6665d2e8012d77a94005f279f0000e014727..."} 
[2026-07-15 21:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6665d2e8012d77a94005f279f0000e014727..."} 
[2026-07-15 21:03:15] local.INFO: Processing buffer {"connection_id":133792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6665d2e8012d77a94005f279f0000e014727..."} 
[2026-07-15 21:03:15] local.INFO: Packet analysis {"connection_id":133792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6665"} 
[2026-07-15 21:03:15] local.INFO: Extracted packet for processing {"connection_id":133792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6665"} 
[2026-07-15 21:03:15] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737043456001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784129377000,"timestamp_ms":1784129377000,"timestamp_seconds":1784129377,"priority":1,"record_length":96,"hex_timestamp":"0000019f6665d2e8"} 
[2026-07-15 21:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:03:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 21:03:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":133792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":133792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":133792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737043456001,"66":25473,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737043456001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:03:15] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:03:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737043456001,"power":25473,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":133792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:03:15] local.INFO: GPS data processed {"connection_id":133792,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:03:15] local.INFO: Acknowledgment sent {"connection_id":133792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:03:27] local.INFO: TCP Data received {"connection_id":132931,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66688e20012d196540071ff0400040004828..."} 
[2026-07-15 21:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66688e20012d196540071ff0400040004828..."} 
[2026-07-15 21:03:27] local.INFO: Processing buffer {"connection_id":132931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66688e20012d196540071ff0400040004828..."} 
[2026-07-15 21:03:27] local.INFO: Packet analysis {"connection_id":132931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6668"} 
[2026-07-15 21:03:27] local.INFO: Extracted packet for processing {"connection_id":132931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6668"} 
[2026-07-15 21:03:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737089280001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:03: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-07-15 21:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784129556000,"timestamp_ms":1784129556000,"timestamp_seconds":1784129556,"priority":1,"record_length":96,"hex_timestamp":"0000019f66688e20"} 
[2026-07-15 21:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:03:27] 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-07-15 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:03: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-07-15 21: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-07-15 21:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":132931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":132931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":132931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737089280001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737089280001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:03:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:03:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737089280001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:03:28] local.INFO: DEBUG: GPS processor result {"connection_id":132931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:03:28] local.INFO: GPS data processed {"connection_id":132931,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:03:28] local.INFO: Acknowledgment sent {"connection_id":132931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:03:55] local.INFO: TCP Data received {"connection_id":132753,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:03:55] local.INFO: Processing buffer {"connection_id":132753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:03:55] local.INFO: IMEI packet received {"connection_id":132753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":132753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:04:00] local.INFO: TCP Data received {"connection_id":135147,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:04:00] local.INFO: Processing buffer {"connection_id":135147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:04:00] local.INFO: IMEI packet received {"connection_id":135147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":135147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:04:02] local.INFO: TCP Data received {"connection_id":132753,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:04:02] local.INFO: Processing buffer {"connection_id":132753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:04:02] local.INFO: IMEI packet received {"connection_id":132753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":132753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:04:04] local.INFO: TCP Data received {"connection_id":132753,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66688e20012d196540071ff0400040004828..."} 
[2026-07-15 21:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66688e20012d196540071ff0400040004828..."} 
[2026-07-15 21:04:04] local.INFO: Processing buffer {"connection_id":132753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66688e20012d196540071ff0400040004828..."} 
[2026-07-15 21:04:04] local.INFO: Packet analysis {"connection_id":132753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6668"} 
[2026-07-15 21:04:04] local.INFO: Extracted packet for processing {"connection_id":132753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6668"} 
[2026-07-15 21:04:04] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737089280001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:04:04] 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-07-15 21:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784129556000,"timestamp_ms":1784129556000,"timestamp_seconds":1784129556,"priority":1,"record_length":96,"hex_timestamp":"0000019f66688e20"} 
[2026-07-15 21:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:04:04] 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-07-15 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:04: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-07-15 21: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-07-15 21:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":132753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":132753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":132753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737089280001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737089280001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:04:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:04:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737089280001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":132753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:04:04] local.INFO: GPS data processed {"connection_id":132753,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:04:04] local.INFO: Acknowledgment sent {"connection_id":132753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:04:05] local.INFO: TCP Data received {"connection_id":132753,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66688e20012d196540071ff0400040004828..."} 
[2026-07-15 21:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66688e20012d196540071ff0400040004828..."} 
[2026-07-15 21:04:05] local.INFO: Processing buffer {"connection_id":132753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66688e20012d196540071ff0400040004828..."} 
[2026-07-15 21:04:05] local.INFO: Packet analysis {"connection_id":132753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6668"} 
[2026-07-15 21:04:05] local.INFO: Extracted packet for processing {"connection_id":132753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6668"} 
[2026-07-15 21:04:05] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737089280001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:04: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-07-15 21:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784129556000,"timestamp_ms":1784129556000,"timestamp_seconds":1784129556,"priority":1,"record_length":96,"hex_timestamp":"0000019f66688e20"} 
[2026-07-15 21:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:04:05] 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-07-15 21:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:04: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-07-15 21:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737089280001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737089280001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:04:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:04:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737089280001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":132753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:04:05] local.INFO: GPS data processed {"connection_id":132753,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:04:05] local.INFO: Acknowledgment sent {"connection_id":132753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:04:06] local.INFO: TCP Data received {"connection_id":135147,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:04:06] local.INFO: Processing buffer {"connection_id":135147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:04:06] local.INFO: IMEI packet received {"connection_id":135147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":135147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:04:06] local.INFO: TCP Data received {"connection_id":135147,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f6665d2e8012d77a94005f279f0000e014727..."} 
[2026-07-15 21:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6665d2e8012d77a94005f279f0000e014727..."} 
[2026-07-15 21:04:07] local.INFO: Processing buffer {"connection_id":135147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6665d2e8012d77a94005f279f0000e014727..."} 
[2026-07-15 21:04:07] local.INFO: Packet analysis {"connection_id":135147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6665"} 
[2026-07-15 21:04:07] local.INFO: Extracted packet for processing {"connection_id":135147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6665"} 
[2026-07-15 21:04:07] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737043456001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784129377000,"timestamp_ms":1784129377000,"timestamp_seconds":1784129377,"priority":1,"record_length":96,"hex_timestamp":"0000019f6665d2e8"} 
[2026-07-15 21:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 21:04:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:04:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":135147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":135147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":135147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737043456001,"66":25473,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737043456001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:04:07] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:04:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737043456001,"power":25473,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":135147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:04:07] local.INFO: GPS data processed {"connection_id":135147,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:04:07] local.INFO: Acknowledgment sent {"connection_id":135147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:04:38] local.INFO: TCP Data received {"connection_id":135147,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f6665d2e8012d77a94005f279f0000e014727..."} 
[2026-07-15 21:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6665d2e8012d77a94005f279f0000e014727..."} 
[2026-07-15 21:04:38] local.INFO: Processing buffer {"connection_id":135147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6665d2e8012d77a94005f279f0000e014727..."} 
[2026-07-15 21:04:38] local.INFO: Packet analysis {"connection_id":135147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6665"} 
[2026-07-15 21:04:38] local.INFO: Extracted packet for processing {"connection_id":135147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6665"} 
[2026-07-15 21:04:38] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737043456001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784129377000,"timestamp_ms":1784129377000,"timestamp_seconds":1784129377,"priority":1,"record_length":96,"hex_timestamp":"0000019f6665d2e8"} 
[2026-07-15 21:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-15 21:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":135147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":135147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":135147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737043456001,"66":25473,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737043456001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:04:38] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:04:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737043456001,"power":25473,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":135147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:04:38] local.INFO: GPS data processed {"connection_id":135147,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:04:38] local.INFO: Acknowledgment sent {"connection_id":135147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:04:50] local.INFO: TCP Data received {"connection_id":132754,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:04:50] local.INFO: Processing buffer {"connection_id":132754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:04:50] local.INFO: IMEI packet received {"connection_id":132754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":132754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:04:55] local.INFO: TCP Data received {"connection_id":132754,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:04:55] local.INFO: Processing buffer {"connection_id":132754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:04:55] local.INFO: IMEI packet received {"connection_id":132754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":132754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:04:56] local.INFO: TCP Data received {"connection_id":132754,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66688e20012d196540071ff0400040004828..."} 
[2026-07-15 21:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66688e20012d196540071ff0400040004828..."} 
[2026-07-15 21:04:56] local.INFO: Processing buffer {"connection_id":132754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66688e20012d196540071ff0400040004828..."} 
[2026-07-15 21:04:56] local.INFO: Packet analysis {"connection_id":132754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6668"} 
[2026-07-15 21:04:56] local.INFO: Extracted packet for processing {"connection_id":132754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6668"} 
[2026-07-15 21:04:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737089280001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:04: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-07-15 21:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784129556000,"timestamp_ms":1784129556000,"timestamp_seconds":1784129556,"priority":1,"record_length":96,"hex_timestamp":"0000019f66688e20"} 
[2026-07-15 21:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:04:56] 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-07-15 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:04: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-07-15 21: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-07-15 21:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737089280001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737089280001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:04:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:04:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737089280001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":132754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:04:57] local.INFO: GPS data processed {"connection_id":132754,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:04:57] local.INFO: Acknowledgment sent {"connection_id":132754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:05:06] local.INFO: TCP Data received {"connection_id":132933,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:05:06] local.INFO: Processing buffer {"connection_id":132933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:05:06] local.INFO: IMEI packet received {"connection_id":132933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":132933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:05:14] local.INFO: TCP Data received {"connection_id":132933,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:05:14] local.INFO: Processing buffer {"connection_id":132933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:05:14] local.INFO: IMEI packet received {"connection_id":132933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":132933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:05:15] local.INFO: TCP Data received {"connection_id":132933,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f666a6ab0012d77a94005f279f0000e014724..."} 
[2026-07-15 21:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f666a6ab0012d77a94005f279f0000e014724..."} 
[2026-07-15 21:05:15] local.INFO: Processing buffer {"connection_id":132933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f666a6ab0012d77a94005f279f0000e014724..."} 
[2026-07-15 21:05:15] local.INFO: Packet analysis {"connection_id":132933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f666a"} 
[2026-07-15 21:05:15] local.INFO: Extracted packet for processing {"connection_id":132933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f666a"} 
[2026-07-15 21:05:15] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737120512001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784129678000,"timestamp_ms":1784129678000,"timestamp_seconds":1784129678,"priority":1,"record_length":96,"hex_timestamp":"0000019f666a6ab0"} 
[2026-07-15 21:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 21:05:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":132933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":132933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":132933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737120512001,"66":25919,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737120512001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:05:15] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:05:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737120512001,"power":25919,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":132933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:05:15] local.INFO: GPS data processed {"connection_id":132933,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:05:15] local.INFO: Acknowledgment sent {"connection_id":132933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:05:15] local.INFO: TCP Data received {"connection_id":132933,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f666a6ab0012d77a94005f279f0000e014724..."} 
[2026-07-15 21:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f666a6ab0012d77a94005f279f0000e014724..."} 
[2026-07-15 21:05:15] local.INFO: Processing buffer {"connection_id":132933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f666a6ab0012d77a94005f279f0000e014724..."} 
[2026-07-15 21:05:15] local.INFO: Packet analysis {"connection_id":132933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f666a"} 
[2026-07-15 21:05:15] local.INFO: Extracted packet for processing {"connection_id":132933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f666a"} 
[2026-07-15 21:05:15] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737120512001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784129678000,"timestamp_ms":1784129678000,"timestamp_seconds":1784129678,"priority":1,"record_length":96,"hex_timestamp":"0000019f666a6ab0"} 
[2026-07-15 21:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 21:05:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":132933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":132933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":132933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737120512001,"66":25919,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737120512001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:05:15] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:05:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737120512001,"power":25919,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":132933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:05:15] local.INFO: GPS data processed {"connection_id":132933,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:05:15] local.INFO: Acknowledgment sent {"connection_id":132933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:05:28] local.INFO: TCP Data received {"connection_id":132754,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66688e20012d196540071ff0400040004828..."} 
[2026-07-15 21:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66688e20012d196540071ff0400040004828..."} 
[2026-07-15 21:05:28] local.INFO: Processing buffer {"connection_id":132754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66688e20012d196540071ff0400040004828..."} 
[2026-07-15 21:05:28] local.INFO: Packet analysis {"connection_id":132754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6668"} 
[2026-07-15 21:05:28] local.INFO: Extracted packet for processing {"connection_id":132754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6668"} 
[2026-07-15 21:05:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737089280001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:05:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:05: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-07-15 21:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784129556000,"timestamp_ms":1784129556000,"timestamp_seconds":1784129556,"priority":1,"record_length":96,"hex_timestamp":"0000019f66688e20"} 
[2026-07-15 21:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:05:28] 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-07-15 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:05: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-07-15 21:05:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:05:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737089280001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737089280001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:05:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:05:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737089280001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":132754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:05:28] local.INFO: GPS data processed {"connection_id":132754,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:05:28] local.INFO: Acknowledgment sent {"connection_id":132754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:05:49] local.INFO: TCP Data received {"connection_id":135149,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:05:49] local.INFO: Processing buffer {"connection_id":135149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:05:49] local.INFO: IMEI packet received {"connection_id":135149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":135149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:05:53] local.INFO: TCP Data received {"connection_id":135148,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135148,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:05:53] local.INFO: Processing buffer {"connection_id":135148,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:05:53] local.INFO: IMEI packet received {"connection_id":135148,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 21:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":135148,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:05:55] local.INFO: TCP Data received {"connection_id":135149,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:05:55] local.INFO: Processing buffer {"connection_id":135149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:05:55] local.INFO: IMEI packet received {"connection_id":135149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":135149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:05:56] local.INFO: TCP Data received {"connection_id":135149,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66688e20012d196540071ff0400040004828..."} 
[2026-07-15 21:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66688e20012d196540071ff0400040004828..."} 
[2026-07-15 21:05:56] local.INFO: Processing buffer {"connection_id":135149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66688e20012d196540071ff0400040004828..."} 
[2026-07-15 21:05:56] local.INFO: Packet analysis {"connection_id":135149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6668"} 
[2026-07-15 21:05:56] local.INFO: Extracted packet for processing {"connection_id":135149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6668"} 
[2026-07-15 21:05:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737089280001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:05: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-07-15 21:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784129556000,"timestamp_ms":1784129556000,"timestamp_seconds":1784129556,"priority":1,"record_length":96,"hex_timestamp":"0000019f66688e20"} 
[2026-07-15 21:05:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:05:56] 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-07-15 21:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:05: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-07-15 21:05:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:05:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":135149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":135149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":135149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737089280001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737089280001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:05:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:05:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737089280001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":135149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:05:56] local.INFO: GPS data processed {"connection_id":135149,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:05:56] local.INFO: Acknowledgment sent {"connection_id":135149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:06:00] local.INFO: TCP Data received {"connection_id":133794,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:06:00] local.INFO: Processing buffer {"connection_id":133794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:06:00] local.INFO: IMEI packet received {"connection_id":133794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":133794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:06:05] local.INFO: TCP Data received {"connection_id":133794,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:06:05] local.INFO: Processing buffer {"connection_id":133794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:06:05] local.INFO: IMEI packet received {"connection_id":133794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":133794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:06:06] local.INFO: TCP Data received {"connection_id":133794,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f666a6ab0012d77a94005f279f0000e014724..."} 
[2026-07-15 21:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f666a6ab0012d77a94005f279f0000e014724..."} 
[2026-07-15 21:06:06] local.INFO: Processing buffer {"connection_id":133794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f666a6ab0012d77a94005f279f0000e014724..."} 
[2026-07-15 21:06:06] local.INFO: Packet analysis {"connection_id":133794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f666a"} 
[2026-07-15 21:06:06] local.INFO: Extracted packet for processing {"connection_id":133794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f666a"} 
[2026-07-15 21:06:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737120512001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784129678000,"timestamp_ms":1784129678000,"timestamp_seconds":1784129678,"priority":1,"record_length":96,"hex_timestamp":"0000019f666a6ab0"} 
[2026-07-15 21:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 21:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737120512001,"66":25919,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737120512001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:06:06] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:06:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737120512001,"power":25919,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":133794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:06:06] local.INFO: GPS data processed {"connection_id":133794,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:06:06] local.INFO: Acknowledgment sent {"connection_id":133794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:06:28] local.INFO: TCP Data received {"connection_id":135149,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66688e20012d196540071ff0400040004828..."} 
[2026-07-15 21:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66688e20012d196540071ff0400040004828..."} 
[2026-07-15 21:06:28] local.INFO: Processing buffer {"connection_id":135149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66688e20012d196540071ff0400040004828..."} 
[2026-07-15 21:06:28] local.INFO: Packet analysis {"connection_id":135149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6668"} 
[2026-07-15 21:06:28] local.INFO: Extracted packet for processing {"connection_id":135149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6668"} 
[2026-07-15 21:06:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737089280001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:06: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-07-15 21:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784129556000,"timestamp_ms":1784129556000,"timestamp_seconds":1784129556,"priority":1,"record_length":96,"hex_timestamp":"0000019f66688e20"} 
[2026-07-15 21:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:06:28] 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-07-15 21:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:06:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":135149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":135149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":135149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737089280001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737089280001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:06:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:06:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737089280001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":135149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:06:28] local.INFO: GPS data processed {"connection_id":135149,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:06:28] local.INFO: Acknowledgment sent {"connection_id":135149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:06:38] local.INFO: TCP Data received {"connection_id":133794,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f666a6ab0012d77a94005f279f0000e014724..."} 
[2026-07-15 21:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f666a6ab0012d77a94005f279f0000e014724..."} 
[2026-07-15 21:06:38] local.INFO: Processing buffer {"connection_id":133794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f666a6ab0012d77a94005f279f0000e014724..."} 
[2026-07-15 21:06:38] local.INFO: Packet analysis {"connection_id":133794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f666a"} 
[2026-07-15 21:06:38] local.INFO: Extracted packet for processing {"connection_id":133794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f666a"} 
[2026-07-15 21:06:38] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737120512001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784129678000,"timestamp_ms":1784129678000,"timestamp_seconds":1784129678,"priority":1,"record_length":96,"hex_timestamp":"0000019f666a6ab0"} 
[2026-07-15 21:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 21:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737120512001,"66":25919,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737120512001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:06:38] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:06:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737120512001,"power":25919,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":133794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:06:38] local.INFO: GPS data processed {"connection_id":133794,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:06:38] local.INFO: Acknowledgment sent {"connection_id":133794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:07:00] local.INFO: TCP Data received {"connection_id":133795,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:07:00] local.INFO: Processing buffer {"connection_id":133795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:07:00] local.INFO: IMEI packet received {"connection_id":133795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":133795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:07:05] local.INFO: TCP Data received {"connection_id":132755,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:07:05] local.INFO: Processing buffer {"connection_id":132755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:07:05] local.INFO: IMEI packet received {"connection_id":132755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":132755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:07:05] local.INFO: TCP Data received {"connection_id":133795,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:07:05] local.INFO: Processing buffer {"connection_id":133795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:07:05] local.INFO: IMEI packet received {"connection_id":133795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":133795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:07:06] local.INFO: TCP Data received {"connection_id":133795,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f666a6ab0012d77a94005f279f0000e014724..."} 
[2026-07-15 21:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f666a6ab0012d77a94005f279f0000e014724..."} 
[2026-07-15 21:07:06] local.INFO: Processing buffer {"connection_id":133795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f666a6ab0012d77a94005f279f0000e014724..."} 
[2026-07-15 21:07:06] local.INFO: Packet analysis {"connection_id":133795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f666a"} 
[2026-07-15 21:07:06] local.INFO: Extracted packet for processing {"connection_id":133795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f666a"} 
[2026-07-15 21:07:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737120512001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784129678000,"timestamp_ms":1784129678000,"timestamp_seconds":1784129678,"priority":1,"record_length":96,"hex_timestamp":"0000019f666a6ab0"} 
[2026-07-15 21:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 21:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737120512001,"66":25919,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737120512001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:07:06] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:07:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737120512001,"power":25919,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":133795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:07:06] local.INFO: GPS data processed {"connection_id":133795,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:07:06] local.INFO: Acknowledgment sent {"connection_id":133795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:07:10] local.INFO: TCP Data received {"connection_id":132755,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:07:10] local.INFO: Processing buffer {"connection_id":132755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:07:10] local.INFO: IMEI packet received {"connection_id":132755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":132755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:07:11] local.INFO: TCP Data received {"connection_id":132755,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66688e20012d196540071ff0400040004828..."} 
[2026-07-15 21:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66688e20012d196540071ff0400040004828..."} 
[2026-07-15 21:07:11] local.INFO: Processing buffer {"connection_id":132755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66688e20012d196540071ff0400040004828..."} 
[2026-07-15 21:07:11] local.INFO: Packet analysis {"connection_id":132755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6668"} 
[2026-07-15 21:07:11] local.INFO: Extracted packet for processing {"connection_id":132755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6668"} 
[2026-07-15 21:07:11] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:07: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-07-15 21:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737089280001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:07:11] 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-07-15 21:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784129556000,"timestamp_ms":1784129556000,"timestamp_seconds":1784129556,"priority":1,"record_length":96,"hex_timestamp":"0000019f66688e20"} 
[2026-07-15 21:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:07: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-07-15 21:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737089280001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737089280001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:07:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:07:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737089280001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":132755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:07:11] local.INFO: GPS data processed {"connection_id":132755,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:07:11] local.INFO: Acknowledgment sent {"connection_id":132755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:07:16] local.INFO: TCP Data received {"connection_id":132755,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66688e20012d196540071ff0400040004828..."} 
[2026-07-15 21:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66688e20012d196540071ff0400040004828..."} 
[2026-07-15 21:07:16] local.INFO: Processing buffer {"connection_id":132755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66688e20012d196540071ff0400040004828..."} 
[2026-07-15 21:07:16] local.INFO: Packet analysis {"connection_id":132755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6668"} 
[2026-07-15 21:07:16] local.INFO: Extracted packet for processing {"connection_id":132755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6668"} 
[2026-07-15 21:07:16] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737089280001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:07: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-07-15 21:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784129556000,"timestamp_ms":1784129556000,"timestamp_seconds":1784129556,"priority":1,"record_length":96,"hex_timestamp":"0000019f66688e20"} 
[2026-07-15 21:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:07:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:07: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-07-15 21:07:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:07:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737089280001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737089280001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:07:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:07:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737089280001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":132755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:07:16] local.INFO: GPS data processed {"connection_id":132755,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:07:16] local.INFO: Acknowledgment sent {"connection_id":132755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:07:37] local.INFO: TCP Data received {"connection_id":133795,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f666a6ab0012d77a94005f279f0000e014724..."} 
[2026-07-15 21:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f666a6ab0012d77a94005f279f0000e014724..."} 
[2026-07-15 21:07:37] local.INFO: Processing buffer {"connection_id":133795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f666a6ab0012d77a94005f279f0000e014724..."} 
[2026-07-15 21:07:37] local.INFO: Packet analysis {"connection_id":133795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f666a"} 
[2026-07-15 21:07:37] local.INFO: Extracted packet for processing {"connection_id":133795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f666a"} 
[2026-07-15 21:07:37] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737120512001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784129678000,"timestamp_ms":1784129678000,"timestamp_seconds":1784129678,"priority":1,"record_length":96,"hex_timestamp":"0000019f666a6ab0"} 
[2026-07-15 21:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 21:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737120512001,"66":25919,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737120512001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:07:37] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:07:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737120512001,"power":25919,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":133795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:07:37] local.INFO: GPS data processed {"connection_id":133795,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:07:37] local.INFO: Acknowledgment sent {"connection_id":133795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:07:39] local.INFO: TCP Data received {"connection_id":132934,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132934,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:07:39] local.INFO: Processing buffer {"connection_id":132934,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:07:39] local.INFO: IMEI packet received {"connection_id":132934,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 21:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":132934,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:07:50] local.INFO: TCP Data received {"connection_id":132935,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:07:50] local.INFO: Processing buffer {"connection_id":132935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:07:50] local.INFO: IMEI packet received {"connection_id":132935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":132935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:07:55] local.INFO: TCP Data received {"connection_id":132935,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:07:55] local.INFO: Processing buffer {"connection_id":132935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:07:55] local.INFO: IMEI packet received {"connection_id":132935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":132935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:07:57] local.INFO: TCP Data received {"connection_id":132935,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f666d25e8012d196540071ff0400040004827..."} 
[2026-07-15 21:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f666d25e8012d196540071ff0400040004827..."} 
[2026-07-15 21:07:57] local.INFO: Processing buffer {"connection_id":132935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f666d25e8012d196540071ff0400040004827..."} 
[2026-07-15 21:07:57] local.INFO: Packet analysis {"connection_id":132935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f666d"} 
[2026-07-15 21:07:57] local.INFO: Extracted packet for processing {"connection_id":132935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f666d"} 
[2026-07-15 21:07:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737166336001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:07:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:07: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-07-15 21:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784129857000,"timestamp_ms":1784129857000,"timestamp_seconds":1784129857,"priority":1,"record_length":96,"hex_timestamp":"0000019f666d25e8"} 
[2026-07-15 21:07:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:07:57] 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-07-15 21:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:07:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:07:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:07:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":132935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":132935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":132935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:07:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737166336001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737166336001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:07:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:07:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:07:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737166336001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":132935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:07:57] local.INFO: GPS data processed {"connection_id":132935,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:07:57] local.INFO: Acknowledgment sent {"connection_id":132935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:08:05] local.INFO: TCP Data received {"connection_id":132756,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:08:05] local.INFO: Processing buffer {"connection_id":132756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:08:05] local.INFO: IMEI packet received {"connection_id":132756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":132756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:08:06] local.INFO: TCP Data received {"connection_id":132756,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f666a6ab0012d77a94005f279f0000e014724..."} 
[2026-07-15 21:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f666a6ab0012d77a94005f279f0000e014724..."} 
[2026-07-15 21:08:06] local.INFO: Processing buffer {"connection_id":132756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f666a6ab0012d77a94005f279f0000e014724..."} 
[2026-07-15 21:08:06] local.INFO: Packet analysis {"connection_id":132756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f666a"} 
[2026-07-15 21:08:06] local.INFO: Extracted packet for processing {"connection_id":132756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f666a"} 
[2026-07-15 21:08:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737120512001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784129678000,"timestamp_ms":1784129678000,"timestamp_seconds":1784129678,"priority":1,"record_length":96,"hex_timestamp":"0000019f666a6ab0"} 
[2026-07-15 21:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 21:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737120512001,"66":25919,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737120512001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:08:06] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:08:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737120512001,"power":25919,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":132756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:08:06] local.INFO: GPS data processed {"connection_id":132756,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:08:06] local.INFO: Acknowledgment sent {"connection_id":132756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:08:29] local.INFO: TCP Data received {"connection_id":132935,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f666d25e8012d196540071ff0400040004827..."} 
[2026-07-15 21:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f666d25e8012d196540071ff0400040004827..."} 
[2026-07-15 21:08:29] local.INFO: Processing buffer {"connection_id":132935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f666d25e8012d196540071ff0400040004827..."} 
[2026-07-15 21:08:29] local.INFO: Packet analysis {"connection_id":132935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f666d"} 
[2026-07-15 21:08:29] local.INFO: Extracted packet for processing {"connection_id":132935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f666d"} 
[2026-07-15 21:08:29] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737166336001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:08:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21: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-07-15 21:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784129857000,"timestamp_ms":1784129857000,"timestamp_seconds":1784129857,"priority":1,"record_length":96,"hex_timestamp":"0000019f666d25e8"} 
[2026-07-15 21:08:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:08:29] 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-07-15 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:08: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-07-15 21: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-07-15 21:08:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":132935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":132935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":132935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:08:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737166336001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737166336001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:08:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:08:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:08:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:08:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737166336001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":132935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:08:29] local.INFO: GPS data processed {"connection_id":132935,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:08:29] local.INFO: Acknowledgment sent {"connection_id":132935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:08:37] local.INFO: TCP Data received {"connection_id":132756,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f666a6ab0012d77a94005f279f0000e014724..."} 
[2026-07-15 21:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f666a6ab0012d77a94005f279f0000e014724..."} 
[2026-07-15 21:08:37] local.INFO: Processing buffer {"connection_id":132756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f666a6ab0012d77a94005f279f0000e014724..."} 
[2026-07-15 21:08:37] local.INFO: Packet analysis {"connection_id":132756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f666a"} 
[2026-07-15 21:08:37] local.INFO: Extracted packet for processing {"connection_id":132756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f666a"} 
[2026-07-15 21:08:37] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737120512001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784129678000,"timestamp_ms":1784129678000,"timestamp_seconds":1784129678,"priority":1,"record_length":96,"hex_timestamp":"0000019f666a6ab0"} 
[2026-07-15 21:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 21:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737120512001,"66":25919,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737120512001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:08:37] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:08:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737120512001,"power":25919,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":132756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:08:37] local.INFO: GPS data processed {"connection_id":132756,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:08:37] local.INFO: Acknowledgment sent {"connection_id":132756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:08:50] local.INFO: TCP Data received {"connection_id":132936,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:08:50] local.INFO: Processing buffer {"connection_id":132936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:08:50] local.INFO: IMEI packet received {"connection_id":132936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":132936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:08:55] local.INFO: TCP Data received {"connection_id":132936,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:08:55] local.INFO: Processing buffer {"connection_id":132936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:08:55] local.INFO: IMEI packet received {"connection_id":132936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":132936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:08:56] local.INFO: TCP Data received {"connection_id":132936,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f666d25e8012d196540071ff0400040004827..."} 
[2026-07-15 21:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f666d25e8012d196540071ff0400040004827..."} 
[2026-07-15 21:08:56] local.INFO: Processing buffer {"connection_id":132936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f666d25e8012d196540071ff0400040004827..."} 
[2026-07-15 21:08:56] local.INFO: Packet analysis {"connection_id":132936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f666d"} 
[2026-07-15 21:08:56] local.INFO: Extracted packet for processing {"connection_id":132936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f666d"} 
[2026-07-15 21:08:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737166336001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:08: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-07-15 21:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784129857000,"timestamp_ms":1784129857000,"timestamp_seconds":1784129857,"priority":1,"record_length":96,"hex_timestamp":"0000019f666d25e8"} 
[2026-07-15 21:08:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:08:56] 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-07-15 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:08: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-07-15 21: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-07-15 21:08:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737166336001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737166336001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:08:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:08:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737166336001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":132936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:08:56] local.INFO: GPS data processed {"connection_id":132936,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:08:56] local.INFO: Acknowledgment sent {"connection_id":132936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:09:00] local.INFO: TCP Data received {"connection_id":133797,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:09:00] local.INFO: Processing buffer {"connection_id":133797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:09:00] local.INFO: IMEI packet received {"connection_id":133797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":133797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:09:05] local.INFO: TCP Data received {"connection_id":133797,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:09:05] local.INFO: Processing buffer {"connection_id":133797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:09:05] local.INFO: IMEI packet received {"connection_id":133797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":133797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:09:06] local.INFO: TCP Data received {"connection_id":133797,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f666a6ab0012d77a94005f279f0000e014724..."} 
[2026-07-15 21:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f666a6ab0012d77a94005f279f0000e014724..."} 
[2026-07-15 21:09:06] local.INFO: Processing buffer {"connection_id":133797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f666a6ab0012d77a94005f279f0000e014724..."} 
[2026-07-15 21:09:06] local.INFO: Packet analysis {"connection_id":133797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f666a"} 
[2026-07-15 21:09:06] local.INFO: Extracted packet for processing {"connection_id":133797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f666a"} 
[2026-07-15 21:09:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737120512001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784129678000,"timestamp_ms":1784129678000,"timestamp_seconds":1784129678,"priority":1,"record_length":96,"hex_timestamp":"0000019f666a6ab0"} 
[2026-07-15 21:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 21:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737120512001,"66":25919,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737120512001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:09:06] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:09:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737120512001,"power":25919,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":133797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:09:06] local.INFO: GPS data processed {"connection_id":133797,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:09:06] local.INFO: Acknowledgment sent {"connection_id":133797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:09:28] local.INFO: TCP Data received {"connection_id":132936,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f666d25e8012d196540071ff0400040004827..."} 
[2026-07-15 21:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f666d25e8012d196540071ff0400040004827..."} 
[2026-07-15 21:09:28] local.INFO: Processing buffer {"connection_id":132936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f666d25e8012d196540071ff0400040004827..."} 
[2026-07-15 21:09:28] local.INFO: Packet analysis {"connection_id":132936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f666d"} 
[2026-07-15 21:09:28] local.INFO: Extracted packet for processing {"connection_id":132936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f666d"} 
[2026-07-15 21:09:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737166336001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:09:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:09: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-07-15 21:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784129857000,"timestamp_ms":1784129857000,"timestamp_seconds":1784129857,"priority":1,"record_length":96,"hex_timestamp":"0000019f666d25e8"} 
[2026-07-15 21:09:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:09:28] 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-07-15 21:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:09: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-07-15 21:09:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:09:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:09:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737166336001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737166336001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:09:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:09:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:09:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737166336001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":132936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:09:28] local.INFO: GPS data processed {"connection_id":132936,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:09:28] local.INFO: Acknowledgment sent {"connection_id":132936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:09:37] local.INFO: TCP Data received {"connection_id":133797,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f666a6ab0012d77a94005f279f0000e014724..."} 
[2026-07-15 21:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f666a6ab0012d77a94005f279f0000e014724..."} 
[2026-07-15 21:09:37] local.INFO: Processing buffer {"connection_id":133797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f666a6ab0012d77a94005f279f0000e014724..."} 
[2026-07-15 21:09:37] local.INFO: Packet analysis {"connection_id":133797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f666a"} 
[2026-07-15 21:09:37] local.INFO: Extracted packet for processing {"connection_id":133797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f666a"} 
[2026-07-15 21:09:37] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737120512001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784129678000,"timestamp_ms":1784129678000,"timestamp_seconds":1784129678,"priority":1,"record_length":96,"hex_timestamp":"0000019f666a6ab0"} 
[2026-07-15 21:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 21:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737120512001,"66":25919,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737120512001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:09:37] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:09:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737120512001,"power":25919,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":133797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:09:37] local.INFO: GPS data processed {"connection_id":133797,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:09:37] local.INFO: Acknowledgment sent {"connection_id":133797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:09:49] local.INFO: TCP Data received {"connection_id":135152,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:09:49] local.INFO: Processing buffer {"connection_id":135152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:09:49] local.INFO: IMEI packet received {"connection_id":135152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":135152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:09:55] local.INFO: TCP Data received {"connection_id":135152,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:09:55] local.INFO: Processing buffer {"connection_id":135152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:09:55] local.INFO: IMEI packet received {"connection_id":135152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":135152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:09:56] local.INFO: TCP Data received {"connection_id":135152,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f666d25e8012d196540071ff0400040004827..."} 
[2026-07-15 21:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f666d25e8012d196540071ff0400040004827..."} 
[2026-07-15 21:09:56] local.INFO: Processing buffer {"connection_id":135152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f666d25e8012d196540071ff0400040004827..."} 
[2026-07-15 21:09:56] local.INFO: Packet analysis {"connection_id":135152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f666d"} 
[2026-07-15 21:09:56] local.INFO: Extracted packet for processing {"connection_id":135152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f666d"} 
[2026-07-15 21:09:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737166336001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:09: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-07-15 21:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784129857000,"timestamp_ms":1784129857000,"timestamp_seconds":1784129857,"priority":1,"record_length":96,"hex_timestamp":"0000019f666d25e8"} 
[2026-07-15 21:09:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:09:56] 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-07-15 21:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:09: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-07-15 21: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-07-15 21:09:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":135152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":135152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":135152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:09:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737166336001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737166336001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:09:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:09:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737166336001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":135152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:09:56] local.INFO: GPS data processed {"connection_id":135152,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:09:56] local.INFO: Acknowledgment sent {"connection_id":135152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:10:00] local.INFO: TCP Data received {"connection_id":135153,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:10:00] local.INFO: Processing buffer {"connection_id":135153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:10:00] local.INFO: IMEI packet received {"connection_id":135153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":135153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:10:05] local.INFO: TCP Data received {"connection_id":135153,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:10:05] local.INFO: Processing buffer {"connection_id":135153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:10:05] local.INFO: IMEI packet received {"connection_id":135153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":135153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:10:06] local.INFO: TCP Data received {"connection_id":135153,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f666efe90012d77a94005f279f0000e014720..."} 
[2026-07-15 21:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f666efe90012d77a94005f279f0000e014720..."} 
[2026-07-15 21:10:06] local.INFO: Processing buffer {"connection_id":135153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f666efe90012d77a94005f279f0000e014720..."} 
[2026-07-15 21:10:06] local.INFO: Packet analysis {"connection_id":135153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f666e"} 
[2026-07-15 21:10:06] local.INFO: Extracted packet for processing {"connection_id":135153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f666e"} 
[2026-07-15 21:10:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":32,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737197568001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784129978000,"timestamp_ms":1784129978000,"timestamp_seconds":1784129978,"priority":1,"record_length":96,"hex_timestamp":"0000019f666efe90"} 
[2026-07-15 21:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-15 21:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737197568001,"66":25538,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737197568001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:10:06] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:10:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737197568001,"power":25538,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":135153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:10:06] local.INFO: GPS data processed {"connection_id":135153,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:10:06] local.INFO: Acknowledgment sent {"connection_id":135153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:10:38] local.INFO: TCP Data received {"connection_id":135153,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f666efe90012d77a94005f279f0000e014720..."} 
[2026-07-15 21:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f666efe90012d77a94005f279f0000e014720..."} 
[2026-07-15 21:10:38] local.INFO: Processing buffer {"connection_id":135153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f666efe90012d77a94005f279f0000e014720..."} 
[2026-07-15 21:10:38] local.INFO: Packet analysis {"connection_id":135153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f666e"} 
[2026-07-15 21:10:38] local.INFO: Extracted packet for processing {"connection_id":135153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f666e"} 
[2026-07-15 21:10:38] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":32,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737197568001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784129978000,"timestamp_ms":1784129978000,"timestamp_seconds":1784129978,"priority":1,"record_length":96,"hex_timestamp":"0000019f666efe90"} 
[2026-07-15 21:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-15 21:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":135153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":135153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":135153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737197568001,"66":25538,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737197568001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:10:38] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:10:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737197568001,"power":25538,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":135153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:10:38] local.INFO: GPS data processed {"connection_id":135153,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:10:38] local.INFO: Acknowledgment sent {"connection_id":135153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:11:00] local.INFO: TCP Data received {"connection_id":132938,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:11:00] local.INFO: Processing buffer {"connection_id":132938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:11:00] local.INFO: IMEI packet received {"connection_id":132938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":132938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:11:08] local.INFO: TCP Data received {"connection_id":132938,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:11:08] local.INFO: Processing buffer {"connection_id":132938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:11:08] local.INFO: IMEI packet received {"connection_id":132938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":132938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:11:09] local.INFO: TCP Data received {"connection_id":132938,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f666efe90012d77a94005f279f0000e014720..."} 
[2026-07-15 21:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f666efe90012d77a94005f279f0000e014720..."} 
[2026-07-15 21:11:09] local.INFO: Processing buffer {"connection_id":132938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f666efe90012d77a94005f279f0000e014720..."} 
[2026-07-15 21:11:09] local.INFO: Packet analysis {"connection_id":132938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f666e"} 
[2026-07-15 21:11:09] local.INFO: Extracted packet for processing {"connection_id":132938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f666e"} 
[2026-07-15 21:11:09] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":32,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737197568001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784129978000,"timestamp_ms":1784129978000,"timestamp_seconds":1784129978,"priority":1,"record_length":96,"hex_timestamp":"0000019f666efe90"} 
[2026-07-15 21:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-15 21:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":132938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":132938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":132938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737197568001,"66":25538,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737197568001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:11:09] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:11:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737197568001,"power":25538,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":132938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:11:09] local.INFO: GPS data processed {"connection_id":132938,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:11:09] local.INFO: Acknowledgment sent {"connection_id":132938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:11:10] local.INFO: TCP Data received {"connection_id":133798,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:11:10] local.INFO: Processing buffer {"connection_id":133798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:11:10] local.INFO: IMEI packet received {"connection_id":133798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":133798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:11:11] local.INFO: TCP Data received {"connection_id":133798,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:11:11] local.INFO: Processing buffer {"connection_id":133798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:11:11] local.INFO: IMEI packet received {"connection_id":133798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":133798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:11:12] local.INFO: TCP Data received {"connection_id":133798,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f666d25e8012d196540071ff0400040004827..."} 
[2026-07-15 21:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f666d25e8012d196540071ff0400040004827..."} 
[2026-07-15 21:11:12] local.INFO: Processing buffer {"connection_id":133798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f666d25e8012d196540071ff0400040004827..."} 
[2026-07-15 21:11:12] local.INFO: Packet analysis {"connection_id":133798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f666d"} 
[2026-07-15 21:11:12] local.INFO: Extracted packet for processing {"connection_id":133798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f666d"} 
[2026-07-15 21:11:12] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737166336001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:11:12] 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-07-15 21:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784129857000,"timestamp_ms":1784129857000,"timestamp_seconds":1784129857,"priority":1,"record_length":96,"hex_timestamp":"0000019f666d25e8"} 
[2026-07-15 21:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:11:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:11:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":133798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":133798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":133798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737166336001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737166336001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:11:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:11:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737166336001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":133798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:11:12] local.INFO: GPS data processed {"connection_id":133798,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:11:12] local.INFO: Acknowledgment sent {"connection_id":133798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:11:29] local.INFO: TCP Data received {"connection_id":133798,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f666d25e8012d196540071ff0400040004827..."} 
[2026-07-15 21:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f666d25e8012d196540071ff0400040004827..."} 
[2026-07-15 21:11:29] local.INFO: Processing buffer {"connection_id":133798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f666d25e8012d196540071ff0400040004827..."} 
[2026-07-15 21:11:29] local.INFO: Packet analysis {"connection_id":133798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f666d"} 
[2026-07-15 21:11:29] local.INFO: Extracted packet for processing {"connection_id":133798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f666d"} 
[2026-07-15 21:11:29] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:11:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737166336001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:11:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:11:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:11: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-07-15 21:11:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784129857000,"timestamp_ms":1784129857000,"timestamp_seconds":1784129857,"priority":1,"record_length":96,"hex_timestamp":"0000019f666d25e8"} 
[2026-07-15 21:11:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:11:29] 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-07-15 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:11: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-07-15 21: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-07-15 21:11:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:11:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:11:29] local.INFO: Teltonika packet parsed successfully {"connection_id":133798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:11:29] local.INFO: Passing IMEI to GPS processor {"connection_id":133798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:11:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":133798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:11:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:11:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:11:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:11:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737166336001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:11:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:11:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:11:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737166336001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:11:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:11:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:11:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:11:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:11:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737166336001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:11:29] local.INFO: DEBUG: GPS processor result {"connection_id":133798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:11:29] local.INFO: GPS data processed {"connection_id":133798,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:11:29] local.INFO: Acknowledgment sent {"connection_id":133798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:11:41] local.INFO: TCP Data received {"connection_id":132938,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f666efe90012d77a94005f279f0000e014720..."} 
[2026-07-15 21:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f666efe90012d77a94005f279f0000e014720..."} 
[2026-07-15 21:11:41] local.INFO: Processing buffer {"connection_id":132938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f666efe90012d77a94005f279f0000e014720..."} 
[2026-07-15 21:11:41] local.INFO: Packet analysis {"connection_id":132938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f666e"} 
[2026-07-15 21:11:41] local.INFO: Extracted packet for processing {"connection_id":132938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f666e"} 
[2026-07-15 21:11:41] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":32,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:11: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-07-15 21:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737197568001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784129978000,"timestamp_ms":1784129978000,"timestamp_seconds":1784129978,"priority":1,"record_length":96,"hex_timestamp":"0000019f666efe90"} 
[2026-07-15 21:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-15 21:11:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:11: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-07-15 21:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737197568001,"66":25538,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737197568001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:11:41] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:11:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737197568001,"power":25538,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":132938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:11:41] local.INFO: GPS data processed {"connection_id":132938,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:11:41] local.INFO: Acknowledgment sent {"connection_id":132938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:11:50] local.INFO: TCP Data received {"connection_id":133799,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:11:50] local.INFO: Processing buffer {"connection_id":133799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:11:50] local.INFO: IMEI packet received {"connection_id":133799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":133799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:11:55] local.INFO: TCP Data received {"connection_id":133799,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:11:55] local.INFO: Processing buffer {"connection_id":133799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:11:55] local.INFO: IMEI packet received {"connection_id":133799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":133799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:11:56] local.INFO: TCP Data received {"connection_id":133799,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f666d25e8012d196540071ff0400040004827..."} 
[2026-07-15 21:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f666d25e8012d196540071ff0400040004827..."} 
[2026-07-15 21:11:56] local.INFO: Processing buffer {"connection_id":133799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f666d25e8012d196540071ff0400040004827..."} 
[2026-07-15 21:11:56] local.INFO: Packet analysis {"connection_id":133799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f666d"} 
[2026-07-15 21:11:56] local.INFO: Extracted packet for processing {"connection_id":133799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f666d"} 
[2026-07-15 21:11:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737166336001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:11: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-07-15 21:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784129857000,"timestamp_ms":1784129857000,"timestamp_seconds":1784129857,"priority":1,"record_length":96,"hex_timestamp":"0000019f666d25e8"} 
[2026-07-15 21:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:11:56] 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-07-15 21:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:11: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-07-15 21:11:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:11:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737166336001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737166336001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:11:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:11:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737166336001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":133799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492974,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:11:56] local.INFO: GPS data processed {"connection_id":133799,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:11:56] local.INFO: Acknowledgment sent {"connection_id":133799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:12:05] local.INFO: TCP Data received {"connection_id":133800,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:12:05] local.INFO: Processing buffer {"connection_id":133800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:12:05] local.INFO: IMEI packet received {"connection_id":133800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":133800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:12:10] local.INFO: TCP Data received {"connection_id":133800,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:12:10] local.INFO: Processing buffer {"connection_id":133800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:12:10] local.INFO: IMEI packet received {"connection_id":133800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":133800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:12:11] local.INFO: TCP Data received {"connection_id":133800,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f666efe90012d77a94005f279f0000e014720..."} 
[2026-07-15 21:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f666efe90012d77a94005f279f0000e014720..."} 
[2026-07-15 21:12:11] local.INFO: Processing buffer {"connection_id":133800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f666efe90012d77a94005f279f0000e014720..."} 
[2026-07-15 21:12:11] local.INFO: Packet analysis {"connection_id":133800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f666e"} 
[2026-07-15 21:12:11] local.INFO: Extracted packet for processing {"connection_id":133800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f666e"} 
[2026-07-15 21:12:11] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":32,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737197568001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784129978000,"timestamp_ms":1784129978000,"timestamp_seconds":1784129978,"priority":1,"record_length":96,"hex_timestamp":"0000019f666efe90"} 
[2026-07-15 21:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-15 21:12:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":133800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":133800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":133800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737197568001,"66":25538,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737197568001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:12:11] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:12:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737197568001,"power":25538,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":133800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:12:11] local.INFO: GPS data processed {"connection_id":133800,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:12:11] local.INFO: Acknowledgment sent {"connection_id":133800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:12:16] local.INFO: TCP Data received {"connection_id":133800,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f666efe90012d77a94005f279f0000e014720..."} 
[2026-07-15 21:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f666efe90012d77a94005f279f0000e014720..."} 
[2026-07-15 21:12:16] local.INFO: Processing buffer {"connection_id":133800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f666efe90012d77a94005f279f0000e014720..."} 
[2026-07-15 21:12:16] local.INFO: Packet analysis {"connection_id":133800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f666e"} 
[2026-07-15 21:12:16] local.INFO: Extracted packet for processing {"connection_id":133800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f666e"} 
[2026-07-15 21:12:16] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":32,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737197568001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:12:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784129978000,"timestamp_ms":1784129978000,"timestamp_seconds":1784129978,"priority":1,"record_length":96,"hex_timestamp":"0000019f666efe90"} 
[2026-07-15 21:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-15 21:12:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:12:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":133800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":133800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":133800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737197568001,"66":25538,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737197568001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:12:16] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:12:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737197568001,"power":25538,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":133800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:12:16] local.INFO: GPS data processed {"connection_id":133800,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:12:16] local.INFO: Acknowledgment sent {"connection_id":133800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:12:28] local.INFO: TCP Data received {"connection_id":133799,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f666d25e8012d196540071ff0400040004827..."} 
[2026-07-15 21:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f666d25e8012d196540071ff0400040004827..."} 
[2026-07-15 21:12:28] local.INFO: Processing buffer {"connection_id":133799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f666d25e8012d196540071ff0400040004827..."} 
[2026-07-15 21:12:28] local.INFO: Packet analysis {"connection_id":133799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f666d"} 
[2026-07-15 21:12:28] local.INFO: Extracted packet for processing {"connection_id":133799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f666d"} 
[2026-07-15 21:12:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737166336001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:12: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-07-15 21:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784129857000,"timestamp_ms":1784129857000,"timestamp_seconds":1784129857,"priority":1,"record_length":96,"hex_timestamp":"0000019f666d25e8"} 
[2026-07-15 21:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:12:28] 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-07-15 21:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:12: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-07-15 21:12:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":133799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":133799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":133799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:12:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737166336001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737166336001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:12:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:12:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737166336001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":133799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:12:28] local.INFO: GPS data processed {"connection_id":133799,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:12:28] local.INFO: Acknowledgment sent {"connection_id":133799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:12:44] local.INFO: TCP Data received {"connection_id":135154,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135154,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:12:44] local.INFO: Processing buffer {"connection_id":135154,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:12:44] local.INFO: IMEI packet received {"connection_id":135154,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 21:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":135154,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:12:49] local.INFO: TCP Data received {"connection_id":135155,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:12:49] local.INFO: Processing buffer {"connection_id":135155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:12:49] local.INFO: IMEI packet received {"connection_id":135155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":135155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:12:55] local.INFO: TCP Data received {"connection_id":135155,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:12:55] local.INFO: Processing buffer {"connection_id":135155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:12:55] local.INFO: IMEI packet received {"connection_id":135155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":135155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:12:56] local.INFO: TCP Data received {"connection_id":135155,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6671bdb0012d196540071ff0400040004827..."} 
[2026-07-15 21:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6671bdb0012d196540071ff0400040004827..."} 
[2026-07-15 21:12:56] local.INFO: Processing buffer {"connection_id":135155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6671bdb0012d196540071ff0400040004827..."} 
[2026-07-15 21:12:56] local.INFO: Packet analysis {"connection_id":135155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6671"} 
[2026-07-15 21:12:56] local.INFO: Extracted packet for processing {"connection_id":135155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6671"} 
[2026-07-15 21:12:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737243392001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:12: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-07-15 21:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784130158000,"timestamp_ms":1784130158000,"timestamp_seconds":1784130158,"priority":1,"record_length":96,"hex_timestamp":"0000019f6671bdb0"} 
[2026-07-15 21:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:12:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:12: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-07-15 21: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-07-15 21:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":135155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":135155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":135155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:12:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737243392001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737243392001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:12:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:12:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737243392001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":135155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:12:56] local.INFO: GPS data processed {"connection_id":135155,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:12:56] local.INFO: Acknowledgment sent {"connection_id":135155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:13:00] local.INFO: TCP Data received {"connection_id":133801,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:13:00] local.INFO: Processing buffer {"connection_id":133801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:13:00] local.INFO: IMEI packet received {"connection_id":133801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":133801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:13:05] local.INFO: TCP Data received {"connection_id":133801,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:13:05] local.INFO: Processing buffer {"connection_id":133801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:13:05] local.INFO: IMEI packet received {"connection_id":133801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":133801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:13:06] local.INFO: TCP Data received {"connection_id":133801,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f666efe90012d77a94005f279f0000e014720..."} 
[2026-07-15 21:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f666efe90012d77a94005f279f0000e014720..."} 
[2026-07-15 21:13:06] local.INFO: Processing buffer {"connection_id":133801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f666efe90012d77a94005f279f0000e014720..."} 
[2026-07-15 21:13:06] local.INFO: Packet analysis {"connection_id":133801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f666e"} 
[2026-07-15 21:13:06] local.INFO: Extracted packet for processing {"connection_id":133801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f666e"} 
[2026-07-15 21:13:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":32,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737197568001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784129978000,"timestamp_ms":1784129978000,"timestamp_seconds":1784129978,"priority":1,"record_length":96,"hex_timestamp":"0000019f666efe90"} 
[2026-07-15 21:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-15 21:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737197568001,"66":25538,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737197568001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:13:06] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:13:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737197568001,"power":25538,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":133801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:13:06] local.INFO: GPS data processed {"connection_id":133801,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:13:06] local.INFO: Acknowledgment sent {"connection_id":133801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:13:28] local.INFO: TCP Data received {"connection_id":135155,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6671bdb0012d196540071ff0400040004827..."} 
[2026-07-15 21:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6671bdb0012d196540071ff0400040004827..."} 
[2026-07-15 21:13:28] local.INFO: Processing buffer {"connection_id":135155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6671bdb0012d196540071ff0400040004827..."} 
[2026-07-15 21:13:28] local.INFO: Packet analysis {"connection_id":135155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6671"} 
[2026-07-15 21:13:28] local.INFO: Extracted packet for processing {"connection_id":135155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6671"} 
[2026-07-15 21:13:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737243392001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:13: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-07-15 21:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784130158000,"timestamp_ms":1784130158000,"timestamp_seconds":1784130158,"priority":1,"record_length":96,"hex_timestamp":"0000019f6671bdb0"} 
[2026-07-15 21:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:13:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:13: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-07-15 21:13:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":135155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":135155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":135155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737243392001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737243392001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:13:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:13:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737243392001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":135155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:13:28] local.INFO: GPS data processed {"connection_id":135155,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:13:28] local.INFO: Acknowledgment sent {"connection_id":135155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:13:38] local.INFO: TCP Data received {"connection_id":133801,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f666efe90012d77a94005f279f0000e014720..."} 
[2026-07-15 21:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f666efe90012d77a94005f279f0000e014720..."} 
[2026-07-15 21:13:38] local.INFO: Processing buffer {"connection_id":133801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f666efe90012d77a94005f279f0000e014720..."} 
[2026-07-15 21:13:38] local.INFO: Packet analysis {"connection_id":133801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f666e"} 
[2026-07-15 21:13:38] local.INFO: Extracted packet for processing {"connection_id":133801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f666e"} 
[2026-07-15 21:13:38] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":32,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737197568001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784129978000,"timestamp_ms":1784129978000,"timestamp_seconds":1784129978,"priority":1,"record_length":96,"hex_timestamp":"0000019f666efe90"} 
[2026-07-15 21:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-15 21:13:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737197568001,"66":25538,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737197568001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:13:38] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:13:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737197568001,"power":25538,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":133801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:13:38] local.INFO: GPS data processed {"connection_id":133801,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:13:38] local.INFO: Acknowledgment sent {"connection_id":133801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:13:49] local.INFO: TCP Data received {"connection_id":132940,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:13:49] local.INFO: Processing buffer {"connection_id":132940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:13:49] local.INFO: IMEI packet received {"connection_id":132940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":132940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:13:55] local.INFO: TCP Data received {"connection_id":132940,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:13:55] local.INFO: Processing buffer {"connection_id":132940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:13:55] local.INFO: IMEI packet received {"connection_id":132940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":132940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:13:56] local.INFO: TCP Data received {"connection_id":132940,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6671bdb0012d196540071ff0400040004827..."} 
[2026-07-15 21:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6671bdb0012d196540071ff0400040004827..."} 
[2026-07-15 21:13:56] local.INFO: Processing buffer {"connection_id":132940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6671bdb0012d196540071ff0400040004827..."} 
[2026-07-15 21:13:56] local.INFO: Packet analysis {"connection_id":132940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6671"} 
[2026-07-15 21:13:56] local.INFO: Extracted packet for processing {"connection_id":132940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6671"} 
[2026-07-15 21:13:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737243392001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:13: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-07-15 21:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784130158000,"timestamp_ms":1784130158000,"timestamp_seconds":1784130158,"priority":1,"record_length":96,"hex_timestamp":"0000019f6671bdb0"} 
[2026-07-15 21:13:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:13:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:13: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-07-15 21:13:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:13:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:13:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737243392001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737243392001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:13:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:13:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737243392001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":132940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:13:56] local.INFO: GPS data processed {"connection_id":132940,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:13:56] local.INFO: Acknowledgment sent {"connection_id":132940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:14:00] local.INFO: TCP Data received {"connection_id":133802,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:14:00] local.INFO: Processing buffer {"connection_id":133802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:14:00] local.INFO: IMEI packet received {"connection_id":133802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":133802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:14:05] local.INFO: TCP Data received {"connection_id":133802,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:14:05] local.INFO: Processing buffer {"connection_id":133802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:14:05] local.INFO: IMEI packet received {"connection_id":133802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":133802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:14:06] local.INFO: TCP Data received {"connection_id":133802,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f666efe90012d77a94005f279f0000e014720..."} 
[2026-07-15 21:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f666efe90012d77a94005f279f0000e014720..."} 
[2026-07-15 21:14:06] local.INFO: Processing buffer {"connection_id":133802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f666efe90012d77a94005f279f0000e014720..."} 
[2026-07-15 21:14:06] local.INFO: Packet analysis {"connection_id":133802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f666e"} 
[2026-07-15 21:14:06] local.INFO: Extracted packet for processing {"connection_id":133802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f666e"} 
[2026-07-15 21:14:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":32,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737197568001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784129978000,"timestamp_ms":1784129978000,"timestamp_seconds":1784129978,"priority":1,"record_length":96,"hex_timestamp":"0000019f666efe90"} 
[2026-07-15 21:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-15 21:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737197568001,"66":25538,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737197568001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:14:06] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:14:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737197568001,"power":25538,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":133802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:14:06] local.INFO: GPS data processed {"connection_id":133802,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:14:06] local.INFO: Acknowledgment sent {"connection_id":133802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:14:28] local.INFO: TCP Data received {"connection_id":132940,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6671bdb0012d196540071ff0400040004827..."} 
[2026-07-15 21:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6671bdb0012d196540071ff0400040004827..."} 
[2026-07-15 21:14:28] local.INFO: Processing buffer {"connection_id":132940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6671bdb0012d196540071ff0400040004827..."} 
[2026-07-15 21:14:28] local.INFO: Packet analysis {"connection_id":132940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6671"} 
[2026-07-15 21:14:28] local.INFO: Extracted packet for processing {"connection_id":132940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6671"} 
[2026-07-15 21:14:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737243392001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:14:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:14: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-07-15 21:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784130158000,"timestamp_ms":1784130158000,"timestamp_seconds":1784130158,"priority":1,"record_length":96,"hex_timestamp":"0000019f6671bdb0"} 
[2026-07-15 21:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:14:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:14: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-07-15 21: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-07-15 21:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:14:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737243392001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737243392001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:14:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:14:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:14:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737243392001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":132940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:14:28] local.INFO: GPS data processed {"connection_id":132940,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:14:28] local.INFO: Acknowledgment sent {"connection_id":132940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:14:38] local.INFO: TCP Data received {"connection_id":133802,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f666efe90012d77a94005f279f0000e014720..."} 
[2026-07-15 21:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f666efe90012d77a94005f279f0000e014720..."} 
[2026-07-15 21:14:38] local.INFO: Processing buffer {"connection_id":133802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f666efe90012d77a94005f279f0000e014720..."} 
[2026-07-15 21:14:38] local.INFO: Packet analysis {"connection_id":133802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f666e"} 
[2026-07-15 21:14:38] local.INFO: Extracted packet for processing {"connection_id":133802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f666e"} 
[2026-07-15 21:14:38] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":14,"angle":327,"satellites":32,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737197568001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784129978000,"timestamp_ms":1784129978000,"timestamp_seconds":1784129978,"priority":1,"record_length":96,"hex_timestamp":"0000019f666efe90"} 
[2026-07-15 21:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-15 21:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737197568001,"66":25538,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737197568001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:14:38] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:14:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737197568001,"power":25538,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":133802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:14:38] local.INFO: GPS data processed {"connection_id":133802,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:14:38] local.INFO: Acknowledgment sent {"connection_id":133802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:14:55] local.INFO: TCP Data received {"connection_id":133803,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:14:55] local.INFO: Processing buffer {"connection_id":133803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:14:55] local.INFO: IMEI packet received {"connection_id":133803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":133803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:15:00] local.INFO: TCP Data received {"connection_id":132758,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:15:00] local.INFO: Processing buffer {"connection_id":132758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:15:00] local.INFO: IMEI packet received {"connection_id":132758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":132758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:15:00] local.INFO: TCP Data received {"connection_id":133803,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:15:00] local.INFO: Processing buffer {"connection_id":133803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:15:00] local.INFO: IMEI packet received {"connection_id":133803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":133803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:15:02] local.INFO: TCP Data received {"connection_id":133803,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6671bdb0012d196540071ff0400040004827..."} 
[2026-07-15 21:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6671bdb0012d196540071ff0400040004827..."} 
[2026-07-15 21:15:02] local.INFO: Processing buffer {"connection_id":133803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6671bdb0012d196540071ff0400040004827..."} 
[2026-07-15 21:15:02] local.INFO: Packet analysis {"connection_id":133803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6671"} 
[2026-07-15 21:15:02] local.INFO: Extracted packet for processing {"connection_id":133803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6671"} 
[2026-07-15 21:15:02] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:15: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-07-15 21:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737243392001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:15:02] 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-07-15 21:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784130158000,"timestamp_ms":1784130158000,"timestamp_seconds":1784130158,"priority":1,"record_length":96,"hex_timestamp":"0000019f6671bdb0"} 
[2026-07-15 21:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:15:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:15: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-07-15 21:15: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-07-15 21:15: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-07-15 21:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":133803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":133803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":133803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737243392001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737243392001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:15:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:15:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737243392001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":133803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:15:02] local.INFO: GPS data processed {"connection_id":133803,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:15:02] local.INFO: Acknowledgment sent {"connection_id":133803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:15:05] local.INFO: TCP Data received {"connection_id":133803,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6671bdb0012d196540071ff0400040004827..."} 
[2026-07-15 21:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6671bdb0012d196540071ff0400040004827..."} 
[2026-07-15 21:15:05] local.INFO: Processing buffer {"connection_id":133803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6671bdb0012d196540071ff0400040004827..."} 
[2026-07-15 21:15:05] local.INFO: Packet analysis {"connection_id":133803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6671"} 
[2026-07-15 21:15:05] local.INFO: Extracted packet for processing {"connection_id":133803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6671"} 
[2026-07-15 21:15:05] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737243392001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:15: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-07-15 21:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784130158000,"timestamp_ms":1784130158000,"timestamp_seconds":1784130158,"priority":1,"record_length":96,"hex_timestamp":"0000019f6671bdb0"} 
[2026-07-15 21:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:15: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-07-15 21:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":133803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":133803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":133803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737243392001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737243392001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:15:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:15:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737243392001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":133803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:15:05] local.INFO: GPS data processed {"connection_id":133803,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:15:05] local.INFO: Acknowledgment sent {"connection_id":133803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:15:05] local.INFO: TCP Data received {"connection_id":132758,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:15:05] local.INFO: Processing buffer {"connection_id":132758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:15:05] local.INFO: IMEI packet received {"connection_id":132758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":132758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:15:07] local.INFO: TCP Data received {"connection_id":132758,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66739658012d77a94005f279f00009014725..."} 
[2026-07-15 21:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66739658012d77a94005f279f00009014725..."} 
[2026-07-15 21:15:07] local.INFO: Processing buffer {"connection_id":132758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66739658012d77a94005f279f00009014725..."} 
[2026-07-15 21:15:07] local.INFO: Packet analysis {"connection_id":132758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6673"} 
[2026-07-15 21:15:07] local.INFO: Extracted packet for processing {"connection_id":132758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6673"} 
[2026-07-15 21:15:07] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":9,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737274368001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784130279000,"timestamp_ms":1784130279000,"timestamp_seconds":1784130279,"priority":1,"record_length":96,"hex_timestamp":"0000019f66739658"} 
[2026-07-15 21:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-15 21:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737274368001,"66":25941,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737274368001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:15:07] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:15:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737274368001,"power":25941,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":132758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:15:07] local.INFO: GPS data processed {"connection_id":132758,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:15:07] local.INFO: Acknowledgment sent {"connection_id":132758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:15:39] local.INFO: TCP Data received {"connection_id":132758,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66739658012d77a94005f279f00009014725..."} 
[2026-07-15 21:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66739658012d77a94005f279f00009014725..."} 
[2026-07-15 21:15:39] local.INFO: Processing buffer {"connection_id":132758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66739658012d77a94005f279f00009014725..."} 
[2026-07-15 21:15:39] local.INFO: Packet analysis {"connection_id":132758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6673"} 
[2026-07-15 21:15:39] local.INFO: Extracted packet for processing {"connection_id":132758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6673"} 
[2026-07-15 21:15:39] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":9,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737274368001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784130279000,"timestamp_ms":1784130279000,"timestamp_seconds":1784130279,"priority":1,"record_length":96,"hex_timestamp":"0000019f66739658"} 
[2026-07-15 21:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-15 21:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737274368001,"66":25941,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737274368001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:15:39] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:15:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737274368001,"power":25941,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":132758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:15:39] local.INFO: GPS data processed {"connection_id":132758,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:15:39] local.INFO: Acknowledgment sent {"connection_id":132758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:15:50] local.INFO: TCP Data received {"connection_id":135157,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135157,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:15:50] local.INFO: Processing buffer {"connection_id":135157,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:15:50] local.INFO: IMEI packet received {"connection_id":135157,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":135157,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:15:55] local.INFO: TCP Data received {"connection_id":135157,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135157,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:15:55] local.INFO: Processing buffer {"connection_id":135157,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:15:55] local.INFO: IMEI packet received {"connection_id":135157,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":135157,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:15:56] local.INFO: TCP Data received {"connection_id":135157,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6671bdb0012d196540071ff0400040004827..."} 
[2026-07-15 21:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6671bdb0012d196540071ff0400040004827..."} 
[2026-07-15 21:15:56] local.INFO: Processing buffer {"connection_id":135157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6671bdb0012d196540071ff0400040004827..."} 
[2026-07-15 21:15:56] local.INFO: Packet analysis {"connection_id":135157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6671"} 
[2026-07-15 21:15:56] local.INFO: Extracted packet for processing {"connection_id":135157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6671"} 
[2026-07-15 21:15:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737243392001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21: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-07-15 21:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784130158000,"timestamp_ms":1784130158000,"timestamp_seconds":1784130158,"priority":1,"record_length":96,"hex_timestamp":"0000019f6671bdb0"} 
[2026-07-15 21:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:15:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:15: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-07-15 21: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-07-15 21:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":135157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":135157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":135157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737243392001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737243392001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:15:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:15:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737243392001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":135157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:15:56] local.INFO: GPS data processed {"connection_id":135157,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:15:56] local.INFO: Acknowledgment sent {"connection_id":135157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:16:01] local.INFO: TCP Data received {"connection_id":133805,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:16:01] local.INFO: Processing buffer {"connection_id":133805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:16:01] local.INFO: IMEI packet received {"connection_id":133805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":133805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:16:05] local.INFO: TCP Data received {"connection_id":133805,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:16:05] local.INFO: Processing buffer {"connection_id":133805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:16:05] local.INFO: IMEI packet received {"connection_id":133805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":133805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:16:05] local.INFO: TCP Data received {"connection_id":133805,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66739658012d77a94005f279f00009014725..."} 
[2026-07-15 21:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66739658012d77a94005f279f00009014725..."} 
[2026-07-15 21:16:05] local.INFO: Processing buffer {"connection_id":133805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66739658012d77a94005f279f00009014725..."} 
[2026-07-15 21:16:05] local.INFO: Packet analysis {"connection_id":133805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6673"} 
[2026-07-15 21:16:05] local.INFO: Extracted packet for processing {"connection_id":133805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6673"} 
[2026-07-15 21:16:05] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":9,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737274368001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784130279000,"timestamp_ms":1784130279000,"timestamp_seconds":1784130279,"priority":1,"record_length":96,"hex_timestamp":"0000019f66739658"} 
[2026-07-15 21:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-15 21:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":133805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":133805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":133805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737274368001,"66":25941,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737274368001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:16:05] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:16:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737274368001,"power":25941,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":133805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:16:05] local.INFO: GPS data processed {"connection_id":133805,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:16:05] local.INFO: Acknowledgment sent {"connection_id":133805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:16:11] local.INFO: TCP Data received {"connection_id":133805,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66739658012d77a94005f279f00009014725..."} 
[2026-07-15 21:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66739658012d77a94005f279f00009014725..."} 
[2026-07-15 21:16:11] local.INFO: Processing buffer {"connection_id":133805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66739658012d77a94005f279f00009014725..."} 
[2026-07-15 21:16:11] local.INFO: Packet analysis {"connection_id":133805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6673"} 
[2026-07-15 21:16:11] local.INFO: Extracted packet for processing {"connection_id":133805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6673"} 
[2026-07-15 21:16:11] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":9,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737274368001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784130279000,"timestamp_ms":1784130279000,"timestamp_seconds":1784130279,"priority":1,"record_length":96,"hex_timestamp":"0000019f66739658"} 
[2026-07-15 21:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-15 21:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":133805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":133805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":133805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737274368001,"66":25941,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737274368001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:16:11] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:16:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737274368001,"power":25941,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":133805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:16:11] local.INFO: GPS data processed {"connection_id":133805,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:16:11] local.INFO: Acknowledgment sent {"connection_id":133805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:16:28] local.INFO: TCP Data received {"connection_id":135157,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6671bdb0012d196540071ff0400040004827..."} 
[2026-07-15 21:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6671bdb0012d196540071ff0400040004827..."} 
[2026-07-15 21:16:28] local.INFO: Processing buffer {"connection_id":135157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6671bdb0012d196540071ff0400040004827..."} 
[2026-07-15 21:16:28] local.INFO: Packet analysis {"connection_id":135157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6671"} 
[2026-07-15 21:16:28] local.INFO: Extracted packet for processing {"connection_id":135157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6671"} 
[2026-07-15 21:16:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737243392001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:16:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:16: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-07-15 21:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784130158000,"timestamp_ms":1784130158000,"timestamp_seconds":1784130158,"priority":1,"record_length":96,"hex_timestamp":"0000019f6671bdb0"} 
[2026-07-15 21:16:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:16:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:16: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-07-15 21: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-07-15 21:16:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":135157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":135157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":135157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:16:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:16:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737243392001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:16:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:16:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:16:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737243392001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:16:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:16:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:16:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:16:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:16:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737243392001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:16:28] local.INFO: DEBUG: GPS processor result {"connection_id":135157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:16:28] local.INFO: GPS data processed {"connection_id":135157,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:16:28] local.INFO: Acknowledgment sent {"connection_id":135157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:16:44] local.INFO: TCP Data received {"connection_id":133805,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66739658012d77a94005f279f00009014725..."} 
[2026-07-15 21:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66739658012d77a94005f279f00009014725..."} 
[2026-07-15 21:16:44] local.INFO: Processing buffer {"connection_id":133805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66739658012d77a94005f279f00009014725..."} 
[2026-07-15 21:16:44] local.INFO: Packet analysis {"connection_id":133805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6673"} 
[2026-07-15 21:16:44] local.INFO: Extracted packet for processing {"connection_id":133805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6673"} 
[2026-07-15 21:16:44] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":9,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737274368001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:16:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784130279000,"timestamp_ms":1784130279000,"timestamp_seconds":1784130279,"priority":1,"record_length":96,"hex_timestamp":"0000019f66739658"} 
[2026-07-15 21:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:16:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-15 21:16:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:16:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":133805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":133805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":133805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737274368001,"66":25941,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737274368001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:16:44] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:16:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737274368001,"power":25941,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":133805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:16:44] local.INFO: GPS data processed {"connection_id":133805,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:16:44] local.INFO: Acknowledgment sent {"connection_id":133805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:16:50] local.INFO: TCP Data received {"connection_id":132942,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:16:50] local.INFO: Processing buffer {"connection_id":132942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:16:50] local.INFO: IMEI packet received {"connection_id":132942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":132942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:16:55] local.INFO: TCP Data received {"connection_id":132942,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:16:55] local.INFO: Processing buffer {"connection_id":132942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:16:55] local.INFO: IMEI packet received {"connection_id":132942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":132942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:16:56] local.INFO: TCP Data received {"connection_id":132942,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6671bdb0012d196540071ff0400040004827..."} 
[2026-07-15 21:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6671bdb0012d196540071ff0400040004827..."} 
[2026-07-15 21:16:56] local.INFO: Processing buffer {"connection_id":132942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6671bdb0012d196540071ff0400040004827..."} 
[2026-07-15 21:16:56] local.INFO: Packet analysis {"connection_id":132942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6671"} 
[2026-07-15 21:16:56] local.INFO: Extracted packet for processing {"connection_id":132942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6671"} 
[2026-07-15 21:16:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737243392001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:16: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-07-15 21:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784130158000,"timestamp_ms":1784130158000,"timestamp_seconds":1784130158,"priority":1,"record_length":96,"hex_timestamp":"0000019f6671bdb0"} 
[2026-07-15 21:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:16:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:16: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-07-15 21:16:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:16:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737243392001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737243392001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:16:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:16:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737243392001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":132942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:16:56] local.INFO: GPS data processed {"connection_id":132942,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:16:56] local.INFO: Acknowledgment sent {"connection_id":132942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:17:00] local.INFO: TCP Data received {"connection_id":132759,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:17:00] local.INFO: Processing buffer {"connection_id":132759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:17:00] local.INFO: IMEI packet received {"connection_id":132759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":132759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:17:05] local.INFO: TCP Data received {"connection_id":132759,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:17:05] local.INFO: Processing buffer {"connection_id":132759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:17:05] local.INFO: IMEI packet received {"connection_id":132759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":132759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:17:06] local.INFO: TCP Data received {"connection_id":132759,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66739658012d77a94005f279f00009014725..."} 
[2026-07-15 21:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66739658012d77a94005f279f00009014725..."} 
[2026-07-15 21:17:06] local.INFO: Processing buffer {"connection_id":132759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66739658012d77a94005f279f00009014725..."} 
[2026-07-15 21:17:06] local.INFO: Packet analysis {"connection_id":132759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6673"} 
[2026-07-15 21:17:06] local.INFO: Extracted packet for processing {"connection_id":132759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6673"} 
[2026-07-15 21:17:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":9,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737274368001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784130279000,"timestamp_ms":1784130279000,"timestamp_seconds":1784130279,"priority":1,"record_length":96,"hex_timestamp":"0000019f66739658"} 
[2026-07-15 21:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-15 21:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737274368001,"66":25941,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737274368001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:17:06] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:17:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737274368001,"power":25941,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":132759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:17:06] local.INFO: GPS data processed {"connection_id":132759,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:17:06] local.INFO: Acknowledgment sent {"connection_id":132759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:17:32] local.INFO: TCP Data received {"connection_id":132942,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6671bdb0012d196540071ff0400040004827..."} 
[2026-07-15 21:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6671bdb0012d196540071ff0400040004827..."} 
[2026-07-15 21:17:32] local.INFO: Processing buffer {"connection_id":132942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6671bdb0012d196540071ff0400040004827..."} 
[2026-07-15 21:17:32] local.INFO: Packet analysis {"connection_id":132942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6671"} 
[2026-07-15 21:17:32] local.INFO: Extracted packet for processing {"connection_id":132942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6671"} 
[2026-07-15 21:17:32] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737243392001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:17:32] 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-07-15 21:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784130158000,"timestamp_ms":1784130158000,"timestamp_seconds":1784130158,"priority":1,"record_length":96,"hex_timestamp":"0000019f6671bdb0"} 
[2026-07-15 21:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:17:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":132942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":132942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":132942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737243392001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737243392001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:17:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:17:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737243392001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":132942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:17:32] local.INFO: GPS data processed {"connection_id":132942,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:17:32] local.INFO: Acknowledgment sent {"connection_id":132942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:17:38] local.INFO: TCP Data received {"connection_id":132759,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66739658012d77a94005f279f00009014725..."} 
[2026-07-15 21:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66739658012d77a94005f279f00009014725..."} 
[2026-07-15 21:17:38] local.INFO: Processing buffer {"connection_id":132759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66739658012d77a94005f279f00009014725..."} 
[2026-07-15 21:17:38] local.INFO: Packet analysis {"connection_id":132759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6673"} 
[2026-07-15 21:17:38] local.INFO: Extracted packet for processing {"connection_id":132759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6673"} 
[2026-07-15 21:17:38] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":9,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737274368001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784130279000,"timestamp_ms":1784130279000,"timestamp_seconds":1784130279,"priority":1,"record_length":96,"hex_timestamp":"0000019f66739658"} 
[2026-07-15 21:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-15 21:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737274368001,"66":25941,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737274368001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:17:38] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:17:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737274368001,"power":25941,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":132759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:17:38] local.INFO: GPS data processed {"connection_id":132759,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:17:38] local.INFO: Acknowledgment sent {"connection_id":132759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:17:49] local.INFO: TCP Data received {"connection_id":132760,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:17:49] local.INFO: Processing buffer {"connection_id":132760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:17:49] local.INFO: IMEI packet received {"connection_id":132760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":132760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:17:55] local.INFO: TCP Data received {"connection_id":132760,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:17:55] local.INFO: Processing buffer {"connection_id":132760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:17:55] local.INFO: IMEI packet received {"connection_id":132760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":132760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:17:56] local.INFO: TCP Data received {"connection_id":132760,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66765578012d196540071ff0400040004826..."} 
[2026-07-15 21:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66765578012d196540071ff0400040004826..."} 
[2026-07-15 21:17:56] local.INFO: Processing buffer {"connection_id":132760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66765578012d196540071ff0400040004826..."} 
[2026-07-15 21:17:56] local.INFO: Packet analysis {"connection_id":132760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6676"} 
[2026-07-15 21:17:56] local.INFO: Extracted packet for processing {"connection_id":132760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6676"} 
[2026-07-15 21:17:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737320448001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:17: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-07-15 21:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784130459000,"timestamp_ms":1784130459000,"timestamp_seconds":1784130459,"priority":1,"record_length":96,"hex_timestamp":"0000019f66765578"} 
[2026-07-15 21:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:17:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:17: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-07-15 21:17:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737320448001,"66":2144,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737320448001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:17:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:17:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737320448001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":132760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:17:56] local.INFO: GPS data processed {"connection_id":132760,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:17:56] local.INFO: Acknowledgment sent {"connection_id":132760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:18:00] local.INFO: TCP Data received {"connection_id":135158,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:18:00] local.INFO: Processing buffer {"connection_id":135158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:18:00] local.INFO: IMEI packet received {"connection_id":135158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":135158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:18:05] local.INFO: TCP Data received {"connection_id":135158,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:18:05] local.INFO: Processing buffer {"connection_id":135158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:18:05] local.INFO: IMEI packet received {"connection_id":135158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":135158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:18:08] local.INFO: TCP Data received {"connection_id":135158,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66739658012d77a94005f279f00009014725..."} 
[2026-07-15 21:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66739658012d77a94005f279f00009014725..."} 
[2026-07-15 21:18:08] local.INFO: Processing buffer {"connection_id":135158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66739658012d77a94005f279f00009014725..."} 
[2026-07-15 21:18:08] local.INFO: Packet analysis {"connection_id":135158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6673"} 
[2026-07-15 21:18:08] local.INFO: Extracted packet for processing {"connection_id":135158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6673"} 
[2026-07-15 21:18:08] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":9,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737274368001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784130279000,"timestamp_ms":1784130279000,"timestamp_seconds":1784130279,"priority":1,"record_length":96,"hex_timestamp":"0000019f66739658"} 
[2026-07-15 21:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-15 21:18:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":135158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":135158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":135158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737274368001,"66":25941,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737274368001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:18:08] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:18:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737274368001,"power":25941,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":135158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:18:08] local.INFO: GPS data processed {"connection_id":135158,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:18:08] local.INFO: Acknowledgment sent {"connection_id":135158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:18:28] local.INFO: TCP Data received {"connection_id":132760,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66765578012d196540071ff0400040004826..."} 
[2026-07-15 21:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66765578012d196540071ff0400040004826..."} 
[2026-07-15 21:18:28] local.INFO: Processing buffer {"connection_id":132760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66765578012d196540071ff0400040004826..."} 
[2026-07-15 21:18:28] local.INFO: Packet analysis {"connection_id":132760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6676"} 
[2026-07-15 21:18:28] local.INFO: Extracted packet for processing {"connection_id":132760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6676"} 
[2026-07-15 21:18:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737320448001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:18: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-07-15 21:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784130459000,"timestamp_ms":1784130459000,"timestamp_seconds":1784130459,"priority":1,"record_length":96,"hex_timestamp":"0000019f66765578"} 
[2026-07-15 21:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:18:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:18: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-07-15 21: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-07-15 21:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:18:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737320448001,"66":2144,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737320448001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:18:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:18:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737320448001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":132760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:18:28] local.INFO: GPS data processed {"connection_id":132760,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:18:28] local.INFO: Acknowledgment sent {"connection_id":132760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:18:33] local.INFO: TCP Data received {"connection_id":132761,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132761,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:18:33] local.INFO: Processing buffer {"connection_id":132761,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:18:33] local.INFO: IMEI packet received {"connection_id":132761,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 21:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":132761,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:18:41] local.INFO: TCP Data received {"connection_id":135158,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66739658012d77a94005f279f00009014725..."} 
[2026-07-15 21:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66739658012d77a94005f279f00009014725..."} 
[2026-07-15 21:18:41] local.INFO: Processing buffer {"connection_id":135158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66739658012d77a94005f279f00009014725..."} 
[2026-07-15 21:18:41] local.INFO: Packet analysis {"connection_id":135158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6673"} 
[2026-07-15 21:18:41] local.INFO: Extracted packet for processing {"connection_id":135158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6673"} 
[2026-07-15 21:18:41] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":9,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737274368001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784130279000,"timestamp_ms":1784130279000,"timestamp_seconds":1784130279,"priority":1,"record_length":96,"hex_timestamp":"0000019f66739658"} 
[2026-07-15 21:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-15 21:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":135158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":135158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":135158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737274368001,"66":25941,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737274368001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:18:41] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:18:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737274368001,"power":25941,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":135158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:18:41] local.INFO: GPS data processed {"connection_id":135158,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:18:41] local.INFO: Acknowledgment sent {"connection_id":135158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:18:55] local.INFO: TCP Data received {"connection_id":135159,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:18:55] local.INFO: Processing buffer {"connection_id":135159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:18:55] local.INFO: IMEI packet received {"connection_id":135159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":135159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:19:00] local.INFO: TCP Data received {"connection_id":135159,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:19:00] local.INFO: Processing buffer {"connection_id":135159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:19:00] local.INFO: IMEI packet received {"connection_id":135159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":135159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:19:01] local.INFO: TCP Data received {"connection_id":135159,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66765578012d196540071ff0400040004826..."} 
[2026-07-15 21:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66765578012d196540071ff0400040004826..."} 
[2026-07-15 21:19:01] local.INFO: Processing buffer {"connection_id":135159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66765578012d196540071ff0400040004826..."} 
[2026-07-15 21:19:01] local.INFO: Packet analysis {"connection_id":135159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6676"} 
[2026-07-15 21:19:01] local.INFO: Extracted packet for processing {"connection_id":135159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6676"} 
[2026-07-15 21:19:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737320448001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:19:01] 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-07-15 21:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784130459000,"timestamp_ms":1784130459000,"timestamp_seconds":1784130459,"priority":1,"record_length":96,"hex_timestamp":"0000019f66765578"} 
[2026-07-15 21:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:19:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:19: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-07-15 21:19:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":135159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":135159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":135159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:19:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737320448001,"66":2144,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737320448001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:19:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:19:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737320448001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":135159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:19:01] local.INFO: GPS data processed {"connection_id":135159,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:19:01] local.INFO: Acknowledgment sent {"connection_id":135159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:19:05] local.INFO: TCP Data received {"connection_id":135160,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:19:05] local.INFO: Processing buffer {"connection_id":135160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:19:05] local.INFO: IMEI packet received {"connection_id":135160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":135160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:19:06] local.INFO: TCP Data received {"connection_id":135159,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66765578012d196540071ff0400040004826..."} 
[2026-07-15 21:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66765578012d196540071ff0400040004826..."} 
[2026-07-15 21:19:06] local.INFO: Processing buffer {"connection_id":135159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66765578012d196540071ff0400040004826..."} 
[2026-07-15 21:19:06] local.INFO: Packet analysis {"connection_id":135159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6676"} 
[2026-07-15 21:19:06] local.INFO: Extracted packet for processing {"connection_id":135159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6676"} 
[2026-07-15 21:19:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737320448001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:19:06] 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-07-15 21:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784130459000,"timestamp_ms":1784130459000,"timestamp_seconds":1784130459,"priority":1,"record_length":96,"hex_timestamp":"0000019f66765578"} 
[2026-07-15 21:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737320448001,"66":2144,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737320448001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:19:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:19:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737320448001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":135159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:19:06] local.INFO: GPS data processed {"connection_id":135159,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:19:06] local.INFO: Acknowledgment sent {"connection_id":135159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:19:10] local.INFO: TCP Data received {"connection_id":135160,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:19:10] local.INFO: Processing buffer {"connection_id":135160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:19:10] local.INFO: IMEI packet received {"connection_id":135160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":135160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:19:11] local.INFO: TCP Data received {"connection_id":135160,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66739658012d77a94005f279f00009014725..."} 
[2026-07-15 21:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66739658012d77a94005f279f00009014725..."} 
[2026-07-15 21:19:11] local.INFO: Processing buffer {"connection_id":135160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66739658012d77a94005f279f00009014725..."} 
[2026-07-15 21:19:11] local.INFO: Packet analysis {"connection_id":135160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6673"} 
[2026-07-15 21:19:11] local.INFO: Extracted packet for processing {"connection_id":135160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6673"} 
[2026-07-15 21:19:11] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":9,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737274368001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784130279000,"timestamp_ms":1784130279000,"timestamp_seconds":1784130279,"priority":1,"record_length":96,"hex_timestamp":"0000019f66739658"} 
[2026-07-15 21:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-15 21:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":135160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":135160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":135160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737274368001,"66":25941,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737274368001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:19:11] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:19:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737274368001,"power":25941,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":135160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:19:11] local.INFO: GPS data processed {"connection_id":135160,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:19:11] local.INFO: Acknowledgment sent {"connection_id":135160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:19:16] local.INFO: TCP Data received {"connection_id":135160,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66739658012d77a94005f279f00009014725..."} 
[2026-07-15 21:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66739658012d77a94005f279f00009014725..."} 
[2026-07-15 21:19:16] local.INFO: Processing buffer {"connection_id":135160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66739658012d77a94005f279f00009014725..."} 
[2026-07-15 21:19:16] local.INFO: Packet analysis {"connection_id":135160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6673"} 
[2026-07-15 21:19:16] local.INFO: Extracted packet for processing {"connection_id":135160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6673"} 
[2026-07-15 21:19:16] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":9,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737274368001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:19:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784130279000,"timestamp_ms":1784130279000,"timestamp_seconds":1784130279,"priority":1,"record_length":96,"hex_timestamp":"0000019f66739658"} 
[2026-07-15 21:19:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:19:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-15 21:19:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:19:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:19:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":135160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":135160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":135160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:19:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737274368001,"66":25941,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737274368001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:19:16] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:19:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737274368001,"power":25941,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":135160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:19:16] local.INFO: GPS data processed {"connection_id":135160,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:19:16] local.INFO: Acknowledgment sent {"connection_id":135160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:19:50] local.INFO: TCP Data received {"connection_id":133806,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:19:50] local.INFO: Processing buffer {"connection_id":133806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:19:50] local.INFO: IMEI packet received {"connection_id":133806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":133806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:19:55] local.INFO: TCP Data received {"connection_id":133806,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:19:55] local.INFO: Processing buffer {"connection_id":133806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:19:55] local.INFO: IMEI packet received {"connection_id":133806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":133806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:19:56] local.INFO: TCP Data received {"connection_id":133806,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66765578012d196540071ff0400040004826..."} 
[2026-07-15 21:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66765578012d196540071ff0400040004826..."} 
[2026-07-15 21:19:56] local.INFO: Processing buffer {"connection_id":133806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66765578012d196540071ff0400040004826..."} 
[2026-07-15 21:19:56] local.INFO: Packet analysis {"connection_id":133806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6676"} 
[2026-07-15 21:19:56] local.INFO: Extracted packet for processing {"connection_id":133806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6676"} 
[2026-07-15 21:19:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737320448001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:19: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-07-15 21:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784130459000,"timestamp_ms":1784130459000,"timestamp_seconds":1784130459,"priority":1,"record_length":96,"hex_timestamp":"0000019f66765578"} 
[2026-07-15 21:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:19:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:19: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-07-15 21: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-07-15 21:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:19:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737320448001,"66":2144,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737320448001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:19:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:19:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737320448001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":133806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:19:56] local.INFO: GPS data processed {"connection_id":133806,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:19:56] local.INFO: Acknowledgment sent {"connection_id":133806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:19:58] local.INFO: TCP Data received {"connection_id":132762,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:19:58] local.INFO: Processing buffer {"connection_id":132762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:19:58] local.INFO: IMEI packet received {"connection_id":132762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":132762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:20:00] local.INFO: TCP Data received {"connection_id":132762,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:20:00] local.INFO: Processing buffer {"connection_id":132762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:20:00] local.INFO: IMEI packet received {"connection_id":132762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":132762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:20:05] local.INFO: TCP Data received {"connection_id":132762,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:20:05] local.INFO: Processing buffer {"connection_id":132762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:20:05] local.INFO: IMEI packet received {"connection_id":132762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":132762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:20:05] local.INFO: TCP Data received {"connection_id":132762,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66782650012d77a94005f279f00009014727..."} 
[2026-07-15 21:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66782650012d77a94005f279f00009014727..."} 
[2026-07-15 21:20:05] local.INFO: Processing buffer {"connection_id":132762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66782650012d77a94005f279f00009014727..."} 
[2026-07-15 21:20:05] local.INFO: Packet analysis {"connection_id":132762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6678"} 
[2026-07-15 21:20:05] local.INFO: Extracted packet for processing {"connection_id":132762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6678"} 
[2026-07-15 21:20:05] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":9,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737351424001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784130578000,"timestamp_ms":1784130578000,"timestamp_seconds":1784130578,"priority":1,"record_length":96,"hex_timestamp":"0000019f66782650"} 
[2026-07-15 21:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-15 21:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737351424001,"66":25615,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737351424001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:20:05] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:20:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737351424001,"power":25615,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":132762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:20:05] local.INFO: GPS data processed {"connection_id":132762,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:20:05] local.INFO: Acknowledgment sent {"connection_id":132762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:20:12] local.INFO: TCP Data received {"connection_id":132762,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66782650012d77a94005f279f00009014727..."} 
[2026-07-15 21:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66782650012d77a94005f279f00009014727..."} 
[2026-07-15 21:20:12] local.INFO: Processing buffer {"connection_id":132762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66782650012d77a94005f279f00009014727..."} 
[2026-07-15 21:20:12] local.INFO: Packet analysis {"connection_id":132762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6678"} 
[2026-07-15 21:20:12] local.INFO: Extracted packet for processing {"connection_id":132762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6678"} 
[2026-07-15 21:20:12] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":9,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737351424001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784130578000,"timestamp_ms":1784130578000,"timestamp_seconds":1784130578,"priority":1,"record_length":96,"hex_timestamp":"0000019f66782650"} 
[2026-07-15 21:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-15 21:20:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:20:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737351424001,"66":25615,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737351424001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:20:12] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:20:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737351424001,"power":25615,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":132762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:20:12] local.INFO: GPS data processed {"connection_id":132762,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:20:12] local.INFO: Acknowledgment sent {"connection_id":132762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:20:28] local.INFO: TCP Data received {"connection_id":133806,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66765578012d196540071ff0400040004826..."} 
[2026-07-15 21:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66765578012d196540071ff0400040004826..."} 
[2026-07-15 21:20:28] local.INFO: Processing buffer {"connection_id":133806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66765578012d196540071ff0400040004826..."} 
[2026-07-15 21:20:28] local.INFO: Packet analysis {"connection_id":133806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6676"} 
[2026-07-15 21:20:28] local.INFO: Extracted packet for processing {"connection_id":133806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6676"} 
[2026-07-15 21:20:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737320448001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:20: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-07-15 21:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784130459000,"timestamp_ms":1784130459000,"timestamp_seconds":1784130459,"priority":1,"record_length":96,"hex_timestamp":"0000019f66765578"} 
[2026-07-15 21:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:20:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:20: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-07-15 21: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-07-15 21:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":133806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":133806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":133806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:20:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737320448001,"66":2144,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737320448001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:20:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:20:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737320448001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":133806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:20:28] local.INFO: GPS data processed {"connection_id":133806,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:20:28] local.INFO: Acknowledgment sent {"connection_id":133806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:20:44] local.INFO: TCP Data received {"connection_id":132762,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66782650012d77a94005f279f00009014727..."} 
[2026-07-15 21:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66782650012d77a94005f279f00009014727..."} 
[2026-07-15 21:20:44] local.INFO: Processing buffer {"connection_id":132762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66782650012d77a94005f279f00009014727..."} 
[2026-07-15 21:20:44] local.INFO: Packet analysis {"connection_id":132762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6678"} 
[2026-07-15 21:20:44] local.INFO: Extracted packet for processing {"connection_id":132762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6678"} 
[2026-07-15 21:20:44] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":9,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737351424001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784130578000,"timestamp_ms":1784130578000,"timestamp_seconds":1784130578,"priority":1,"record_length":96,"hex_timestamp":"0000019f66782650"} 
[2026-07-15 21:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:20:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-15 21:20:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":132762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":132762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":132762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737351424001,"66":25615,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737351424001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:20:44] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:20:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737351424001,"power":25615,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":132762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:20:44] local.INFO: GPS data processed {"connection_id":132762,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:20:44] local.INFO: Acknowledgment sent {"connection_id":132762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:20:50] local.INFO: TCP Data received {"connection_id":132763,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:20:50] local.INFO: Processing buffer {"connection_id":132763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:20:50] local.INFO: IMEI packet received {"connection_id":132763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":132763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:20:55] local.INFO: TCP Data received {"connection_id":132763,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:20:55] local.INFO: Processing buffer {"connection_id":132763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:20:55] local.INFO: IMEI packet received {"connection_id":132763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":132763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:20:56] local.INFO: TCP Data received {"connection_id":132763,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66765578012d196540071ff0400040004826..."} 
[2026-07-15 21:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66765578012d196540071ff0400040004826..."} 
[2026-07-15 21:20:56] local.INFO: Processing buffer {"connection_id":132763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66765578012d196540071ff0400040004826..."} 
[2026-07-15 21:20:56] local.INFO: Packet analysis {"connection_id":132763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6676"} 
[2026-07-15 21:20:56] local.INFO: Extracted packet for processing {"connection_id":132763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6676"} 
[2026-07-15 21:20:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737320448001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:20: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-07-15 21:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784130459000,"timestamp_ms":1784130459000,"timestamp_seconds":1784130459,"priority":1,"record_length":96,"hex_timestamp":"0000019f66765578"} 
[2026-07-15 21:20:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:20:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:20: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-07-15 21:20:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:20:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737320448001,"66":2144,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737320448001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:20:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:20:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737320448001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:20:57] local.INFO: DEBUG: GPS processor result {"connection_id":132763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:20:57] local.INFO: GPS data processed {"connection_id":132763,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:20:57] local.INFO: Acknowledgment sent {"connection_id":132763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:21:05] local.INFO: TCP Data received {"connection_id":132764,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:21:05] local.INFO: Processing buffer {"connection_id":132764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:21:05] local.INFO: IMEI packet received {"connection_id":132764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":132764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:21:10] local.INFO: TCP Data received {"connection_id":132764,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:21:10] local.INFO: Processing buffer {"connection_id":132764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:21:10] local.INFO: IMEI packet received {"connection_id":132764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":132764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:21:11] local.INFO: TCP Data received {"connection_id":132764,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66782650012d77a94005f279f00009014727..."} 
[2026-07-15 21:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66782650012d77a94005f279f00009014727..."} 
[2026-07-15 21:21:11] local.INFO: Processing buffer {"connection_id":132764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66782650012d77a94005f279f00009014727..."} 
[2026-07-15 21:21:11] local.INFO: Packet analysis {"connection_id":132764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6678"} 
[2026-07-15 21:21:11] local.INFO: Extracted packet for processing {"connection_id":132764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6678"} 
[2026-07-15 21:21:11] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":9,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737351424001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784130578000,"timestamp_ms":1784130578000,"timestamp_seconds":1784130578,"priority":1,"record_length":96,"hex_timestamp":"0000019f66782650"} 
[2026-07-15 21:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-15 21:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737351424001,"66":25615,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737351424001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:21:11] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:21:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737351424001,"power":25615,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":132764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:21:11] local.INFO: GPS data processed {"connection_id":132764,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:21:11] local.INFO: Acknowledgment sent {"connection_id":132764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:21:16] local.INFO: TCP Data received {"connection_id":132764,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66782650012d77a94005f279f00009014727..."} 
[2026-07-15 21:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66782650012d77a94005f279f00009014727..."} 
[2026-07-15 21:21:16] local.INFO: Processing buffer {"connection_id":132764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66782650012d77a94005f279f00009014727..."} 
[2026-07-15 21:21:16] local.INFO: Packet analysis {"connection_id":132764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6678"} 
[2026-07-15 21:21:16] local.INFO: Extracted packet for processing {"connection_id":132764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6678"} 
[2026-07-15 21:21:16] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":9,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737351424001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:21:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:21:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784130578000,"timestamp_ms":1784130578000,"timestamp_seconds":1784130578,"priority":1,"record_length":96,"hex_timestamp":"0000019f66782650"} 
[2026-07-15 21:21:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:21:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-15 21:21:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:21:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:21:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:21:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737351424001,"66":25615,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737351424001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:21:16] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:21:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:21:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737351424001,"power":25615,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":132764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:21:16] local.INFO: GPS data processed {"connection_id":132764,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:21:16] local.INFO: Acknowledgment sent {"connection_id":132764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:21:28] local.INFO: TCP Data received {"connection_id":132763,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66765578012d196540071ff0400040004826..."} 
[2026-07-15 21:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66765578012d196540071ff0400040004826..."} 
[2026-07-15 21:21:28] local.INFO: Processing buffer {"connection_id":132763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66765578012d196540071ff0400040004826..."} 
[2026-07-15 21:21:28] local.INFO: Packet analysis {"connection_id":132763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6676"} 
[2026-07-15 21:21:28] local.INFO: Extracted packet for processing {"connection_id":132763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6676"} 
[2026-07-15 21:21:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737320448001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:21:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:21: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-07-15 21:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784130459000,"timestamp_ms":1784130459000,"timestamp_seconds":1784130459,"priority":1,"record_length":96,"hex_timestamp":"0000019f66765578"} 
[2026-07-15 21:21:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:21:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:21: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-07-15 21:21:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:21:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:21:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737320448001,"66":2144,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737320448001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:21:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:21:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:21:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737320448001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":132763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:21:28] local.INFO: GPS data processed {"connection_id":132763,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:21:28] local.INFO: Acknowledgment sent {"connection_id":132763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:21:49] local.INFO: TCP Data received {"connection_id":132765,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:21:49] local.INFO: Processing buffer {"connection_id":132765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:21:49] local.INFO: IMEI packet received {"connection_id":132765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":132765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:21:55] local.INFO: TCP Data received {"connection_id":132765,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:21:55] local.INFO: Processing buffer {"connection_id":132765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:21:55] local.INFO: IMEI packet received {"connection_id":132765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":132765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:21:57] local.INFO: TCP Data received {"connection_id":132765,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66765578012d196540071ff0400040004826..."} 
[2026-07-15 21:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66765578012d196540071ff0400040004826..."} 
[2026-07-15 21:21:57] local.INFO: Processing buffer {"connection_id":132765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66765578012d196540071ff0400040004826..."} 
[2026-07-15 21:21:57] local.INFO: Packet analysis {"connection_id":132765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6676"} 
[2026-07-15 21:21:57] local.INFO: Extracted packet for processing {"connection_id":132765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6676"} 
[2026-07-15 21:21:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:21:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737320448001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:21:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:21:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:21: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-07-15 21:21:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784130459000,"timestamp_ms":1784130459000,"timestamp_seconds":1784130459,"priority":1,"record_length":96,"hex_timestamp":"0000019f66765578"} 
[2026-07-15 21:21:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:21:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:21:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:21:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:21:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:21:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:21:57] local.INFO: Teltonika packet parsed successfully {"connection_id":132765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:21:57] local.INFO: Passing IMEI to GPS processor {"connection_id":132765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:21:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":132765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:21:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:21:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:21:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:21:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737320448001,"66":2144,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:21:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:21:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:21:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737320448001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:21:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:21:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:21:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:21:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:21:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737320448001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:21:57] local.INFO: DEBUG: GPS processor result {"connection_id":132765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493016,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:21:57] local.INFO: GPS data processed {"connection_id":132765,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:21:57] local.INFO: Acknowledgment sent {"connection_id":132765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:22:00] local.INFO: TCP Data received {"connection_id":132946,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:22:00] local.INFO: Processing buffer {"connection_id":132946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:22:00] local.INFO: IMEI packet received {"connection_id":132946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":132946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:22:05] local.INFO: TCP Data received {"connection_id":132946,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:22:05] local.INFO: Processing buffer {"connection_id":132946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:22:05] local.INFO: IMEI packet received {"connection_id":132946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":132946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:22:13] local.INFO: TCP Data received {"connection_id":132946,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66782650012d77a94005f279f00009014727..."} 
[2026-07-15 21:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66782650012d77a94005f279f00009014727..."} 
[2026-07-15 21:22:13] local.INFO: Processing buffer {"connection_id":132946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66782650012d77a94005f279f00009014727..."} 
[2026-07-15 21:22:13] local.INFO: Packet analysis {"connection_id":132946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6678"} 
[2026-07-15 21:22:13] local.INFO: Extracted packet for processing {"connection_id":132946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6678"} 
[2026-07-15 21:22:13] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":9,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737351424001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784130578000,"timestamp_ms":1784130578000,"timestamp_seconds":1784130578,"priority":1,"record_length":96,"hex_timestamp":"0000019f66782650"} 
[2026-07-15 21:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:22:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-15 21:22:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:22:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737351424001,"66":25615,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737351424001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:22:13] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:22:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737351424001,"power":25615,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":132946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:22:13] local.INFO: GPS data processed {"connection_id":132946,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:22:13] local.INFO: Acknowledgment sent {"connection_id":132946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:22:29] local.INFO: TCP Data received {"connection_id":132765,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66765578012d196540071ff0400040004826..."} 
[2026-07-15 21:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66765578012d196540071ff0400040004826..."} 
[2026-07-15 21:22:29] local.INFO: Processing buffer {"connection_id":132765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66765578012d196540071ff0400040004826..."} 
[2026-07-15 21:22:29] local.INFO: Packet analysis {"connection_id":132765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6676"} 
[2026-07-15 21:22:29] local.INFO: Extracted packet for processing {"connection_id":132765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6676"} 
[2026-07-15 21:22:29] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737320448001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:22:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:22: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-07-15 21:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784130459000,"timestamp_ms":1784130459000,"timestamp_seconds":1784130459,"priority":1,"record_length":96,"hex_timestamp":"0000019f66765578"} 
[2026-07-15 21:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:22:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21: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":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:22: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-07-15 21: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-07-15 21:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":132765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":132765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":132765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:22:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737320448001,"66":2144,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737320448001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:22:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:22:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:22:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737320448001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":132765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:22:29] local.INFO: GPS data processed {"connection_id":132765,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:22:29] local.INFO: Acknowledgment sent {"connection_id":132765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:22:49] local.INFO: TCP Data received {"connection_id":133807,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:22:49] local.INFO: Processing buffer {"connection_id":133807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:22:49] local.INFO: IMEI packet received {"connection_id":133807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":133807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:22:55] local.INFO: TCP Data received {"connection_id":133807,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:22:55] local.INFO: Processing buffer {"connection_id":133807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:22:55] local.INFO: IMEI packet received {"connection_id":133807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":133807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:22:57] local.INFO: TCP Data received {"connection_id":133807,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f667aed40012d196540071ff0400040004827..."} 
[2026-07-15 21:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f667aed40012d196540071ff0400040004827..."} 
[2026-07-15 21:22:57] local.INFO: Processing buffer {"connection_id":133807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f667aed40012d196540071ff0400040004827..."} 
[2026-07-15 21:22:57] local.INFO: Packet analysis {"connection_id":133807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f667a"} 
[2026-07-15 21:22:57] local.INFO: Extracted packet for processing {"connection_id":133807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f667a"} 
[2026-07-15 21:22:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737397504001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:22: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-07-15 21:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784130760000,"timestamp_ms":1784130760000,"timestamp_seconds":1784130760,"priority":1,"record_length":96,"hex_timestamp":"0000019f667aed40"} 
[2026-07-15 21:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:22:57] 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-07-15 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 21:22:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":133807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":133807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":133807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:22:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737397504001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737397504001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:22:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:22:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737397504001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":133807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:22:57] local.INFO: GPS data processed {"connection_id":133807,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:22:57] local.INFO: Acknowledgment sent {"connection_id":133807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:23:00] local.INFO: TCP Data received {"connection_id":132767,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:23:00] local.INFO: Processing buffer {"connection_id":132767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:23:00] local.INFO: IMEI packet received {"connection_id":132767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":132767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:23:05] local.INFO: TCP Data received {"connection_id":132767,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:23:05] local.INFO: Processing buffer {"connection_id":132767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:23:05] local.INFO: IMEI packet received {"connection_id":132767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":132767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:23:06] local.INFO: TCP Data received {"connection_id":132767,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66782650012d77a94005f279f00009014727..."} 
[2026-07-15 21:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66782650012d77a94005f279f00009014727..."} 
[2026-07-15 21:23:06] local.INFO: Processing buffer {"connection_id":132767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66782650012d77a94005f279f00009014727..."} 
[2026-07-15 21:23:06] local.INFO: Packet analysis {"connection_id":132767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6678"} 
[2026-07-15 21:23:06] local.INFO: Extracted packet for processing {"connection_id":132767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6678"} 
[2026-07-15 21:23:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":9,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737351424001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784130578000,"timestamp_ms":1784130578000,"timestamp_seconds":1784130578,"priority":1,"record_length":96,"hex_timestamp":"0000019f66782650"} 
[2026-07-15 21:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-15 21:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737351424001,"66":25615,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737351424001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:23:06] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:23:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737351424001,"power":25615,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":132767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:23:06] local.INFO: GPS data processed {"connection_id":132767,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:23:06] local.INFO: Acknowledgment sent {"connection_id":132767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:23:29] local.INFO: TCP Data received {"connection_id":133807,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f667aed40012d196540071ff0400040004827..."} 
[2026-07-15 21:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f667aed40012d196540071ff0400040004827..."} 
[2026-07-15 21:23:29] local.INFO: Processing buffer {"connection_id":133807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f667aed40012d196540071ff0400040004827..."} 
[2026-07-15 21:23:29] local.INFO: Packet analysis {"connection_id":133807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f667a"} 
[2026-07-15 21:23:29] local.INFO: Extracted packet for processing {"connection_id":133807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f667a"} 
[2026-07-15 21:23:29] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737397504001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:23: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-07-15 21:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784130760000,"timestamp_ms":1784130760000,"timestamp_seconds":1784130760,"priority":1,"record_length":96,"hex_timestamp":"0000019f667aed40"} 
[2026-07-15 21:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:23:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 21:23:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":133807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":133807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":133807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:23:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737397504001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737397504001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:23:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:23:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737397504001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":133807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:23:29] local.INFO: GPS data processed {"connection_id":133807,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:23:29] local.INFO: Acknowledgment sent {"connection_id":133807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:23:37] local.INFO: TCP Data received {"connection_id":132767,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66782650012d77a94005f279f00009014727..."} 
[2026-07-15 21:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66782650012d77a94005f279f00009014727..."} 
[2026-07-15 21:23:37] local.INFO: Processing buffer {"connection_id":132767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66782650012d77a94005f279f00009014727..."} 
[2026-07-15 21:23:37] local.INFO: Packet analysis {"connection_id":132767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6678"} 
[2026-07-15 21:23:37] local.INFO: Extracted packet for processing {"connection_id":132767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6678"} 
[2026-07-15 21:23:37] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":9,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737351424001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784130578000,"timestamp_ms":1784130578000,"timestamp_seconds":1784130578,"priority":1,"record_length":96,"hex_timestamp":"0000019f66782650"} 
[2026-07-15 21:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-15 21:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737351424001,"66":25615,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737351424001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:23:37] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:23:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737351424001,"power":25615,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":132767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:23:37] local.INFO: GPS data processed {"connection_id":132767,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:23:37] local.INFO: Acknowledgment sent {"connection_id":132767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:23:50] local.INFO: TCP Data received {"connection_id":133808,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:23:50] local.INFO: Processing buffer {"connection_id":133808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:23:50] local.INFO: IMEI packet received {"connection_id":133808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":133808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:23:55] local.INFO: TCP Data received {"connection_id":133808,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:23:55] local.INFO: Processing buffer {"connection_id":133808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:23:55] local.INFO: IMEI packet received {"connection_id":133808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":133808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:23:56] local.INFO: TCP Data received {"connection_id":133808,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f667aed40012d196540071ff0400040004827..."} 
[2026-07-15 21:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f667aed40012d196540071ff0400040004827..."} 
[2026-07-15 21:23:56] local.INFO: Processing buffer {"connection_id":133808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f667aed40012d196540071ff0400040004827..."} 
[2026-07-15 21:23:56] local.INFO: Packet analysis {"connection_id":133808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f667a"} 
[2026-07-15 21:23:56] local.INFO: Extracted packet for processing {"connection_id":133808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f667a"} 
[2026-07-15 21:23:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737397504001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:23:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:23: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-07-15 21:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784130760000,"timestamp_ms":1784130760000,"timestamp_seconds":1784130760,"priority":1,"record_length":96,"hex_timestamp":"0000019f667aed40"} 
[2026-07-15 21:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:23:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 21:23:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:23:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737397504001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737397504001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:23:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:23:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:23:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737397504001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":133808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:23:56] local.INFO: GPS data processed {"connection_id":133808,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:23:56] local.INFO: Acknowledgment sent {"connection_id":133808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:24:00] local.INFO: TCP Data received {"connection_id":135162,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:24:00] local.INFO: Processing buffer {"connection_id":135162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:24:00] local.INFO: IMEI packet received {"connection_id":135162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":135162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:24:05] local.INFO: TCP Data received {"connection_id":135162,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:24:05] local.INFO: Processing buffer {"connection_id":135162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:24:05] local.INFO: IMEI packet received {"connection_id":135162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":135162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:24:06] local.INFO: TCP Data received {"connection_id":135162,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66782650012d77a94005f279f00009014727..."} 
[2026-07-15 21:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66782650012d77a94005f279f00009014727..."} 
[2026-07-15 21:24:06] local.INFO: Processing buffer {"connection_id":135162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66782650012d77a94005f279f00009014727..."} 
[2026-07-15 21:24:06] local.INFO: Packet analysis {"connection_id":135162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6678"} 
[2026-07-15 21:24:06] local.INFO: Extracted packet for processing {"connection_id":135162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6678"} 
[2026-07-15 21:24:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":9,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737351424001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784130578000,"timestamp_ms":1784130578000,"timestamp_seconds":1784130578,"priority":1,"record_length":96,"hex_timestamp":"0000019f66782650"} 
[2026-07-15 21:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-15 21:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737351424001,"66":25615,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737351424001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:24:06] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:24:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737351424001,"power":25615,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":135162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:24:06] local.INFO: GPS data processed {"connection_id":135162,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:24:06] local.INFO: Acknowledgment sent {"connection_id":135162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:24:29] local.INFO: TCP Data received {"connection_id":133808,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f667aed40012d196540071ff0400040004827..."} 
[2026-07-15 21:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f667aed40012d196540071ff0400040004827..."} 
[2026-07-15 21:24:29] local.INFO: Processing buffer {"connection_id":133808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f667aed40012d196540071ff0400040004827..."} 
[2026-07-15 21:24:29] local.INFO: Packet analysis {"connection_id":133808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f667a"} 
[2026-07-15 21:24:29] local.INFO: Extracted packet for processing {"connection_id":133808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f667a"} 
[2026-07-15 21:24:29] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737397504001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:24: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-07-15 21:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784130760000,"timestamp_ms":1784130760000,"timestamp_seconds":1784130760,"priority":1,"record_length":96,"hex_timestamp":"0000019f667aed40"} 
[2026-07-15 21:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:24:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 21:24:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":133808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":133808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":133808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:24:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737397504001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737397504001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:24:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:24:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737397504001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":133808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:24:29] local.INFO: GPS data processed {"connection_id":133808,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:24:29] local.INFO: Acknowledgment sent {"connection_id":133808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:24:34] local.INFO: TCP Data received {"connection_id":132948,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132948,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:24:34] local.INFO: Processing buffer {"connection_id":132948,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:24:34] local.INFO: IMEI packet received {"connection_id":132948,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 21:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":132948,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:24:38] local.INFO: TCP Data received {"connection_id":135162,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66782650012d77a94005f279f00009014727..."} 
[2026-07-15 21:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66782650012d77a94005f279f00009014727..."} 
[2026-07-15 21:24:38] local.INFO: Processing buffer {"connection_id":135162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66782650012d77a94005f279f00009014727..."} 
[2026-07-15 21:24:38] local.INFO: Packet analysis {"connection_id":135162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6678"} 
[2026-07-15 21:24:38] local.INFO: Extracted packet for processing {"connection_id":135162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6678"} 
[2026-07-15 21:24:38] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":9,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737351424001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784130578000,"timestamp_ms":1784130578000,"timestamp_seconds":1784130578,"priority":1,"record_length":96,"hex_timestamp":"0000019f66782650"} 
[2026-07-15 21:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-15 21:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":135162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":135162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":135162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737351424001,"66":25615,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737351424001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:24:38] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:24:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737351424001,"power":25615,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":135162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:24:38] local.INFO: GPS data processed {"connection_id":135162,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:24:38] local.INFO: Acknowledgment sent {"connection_id":135162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:24:49] local.INFO: TCP Data received {"connection_id":132768,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:24:49] local.INFO: Processing buffer {"connection_id":132768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:24:49] local.INFO: IMEI packet received {"connection_id":132768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":132768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:24:55] local.INFO: TCP Data received {"connection_id":132768,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:24:55] local.INFO: Processing buffer {"connection_id":132768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:24:55] local.INFO: IMEI packet received {"connection_id":132768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":132768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:24:56] local.INFO: TCP Data received {"connection_id":132768,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f667aed40012d196540071ff0400040004827..."} 
[2026-07-15 21:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f667aed40012d196540071ff0400040004827..."} 
[2026-07-15 21:24:56] local.INFO: Processing buffer {"connection_id":132768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f667aed40012d196540071ff0400040004827..."} 
[2026-07-15 21:24:56] local.INFO: Packet analysis {"connection_id":132768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f667a"} 
[2026-07-15 21:24:56] local.INFO: Extracted packet for processing {"connection_id":132768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f667a"} 
[2026-07-15 21:24:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737397504001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:24: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-07-15 21:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784130760000,"timestamp_ms":1784130760000,"timestamp_seconds":1784130760,"priority":1,"record_length":96,"hex_timestamp":"0000019f667aed40"} 
[2026-07-15 21:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 21:24:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:24:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737397504001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737397504001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:24:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:24:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737397504001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":132768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:24:56] local.INFO: GPS data processed {"connection_id":132768,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:24:56] local.INFO: Acknowledgment sent {"connection_id":132768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:25:05] local.INFO: TCP Data received {"connection_id":135163,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:25:05] local.INFO: Processing buffer {"connection_id":135163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:25:05] local.INFO: IMEI packet received {"connection_id":135163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":135163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:25:10] local.INFO: TCP Data received {"connection_id":135163,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:25:10] local.INFO: Processing buffer {"connection_id":135163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:25:10] local.INFO: IMEI packet received {"connection_id":135163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":135163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:25:11] local.INFO: TCP Data received {"connection_id":135163,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f667c9ed8012d77a94005f279f00009014727..."} 
[2026-07-15 21:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f667c9ed8012d77a94005f279f00009014727..."} 
[2026-07-15 21:25:11] local.INFO: Processing buffer {"connection_id":135163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f667c9ed8012d77a94005f279f00009014727..."} 
[2026-07-15 21:25:11] local.INFO: Packet analysis {"connection_id":135163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f667c"} 
[2026-07-15 21:25:11] local.INFO: Extracted packet for processing {"connection_id":135163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f667c"} 
[2026-07-15 21:25:11] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":9,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737427968001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784130871000,"timestamp_ms":1784130871000,"timestamp_seconds":1784130871,"priority":1,"record_length":96,"hex_timestamp":"0000019f667c9ed8"} 
[2026-07-15 21:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 21:25:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":135163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":135163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":135163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737427968001,"66":25875,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737427968001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:25:11] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:25:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737427968001,"power":25875,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":135163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:25:11] local.INFO: GPS data processed {"connection_id":135163,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:25:11] local.INFO: Acknowledgment sent {"connection_id":135163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:25:15] local.INFO: TCP Data received {"connection_id":135163,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f667c9ed8012d77a94005f279f00009014727..."} 
[2026-07-15 21:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f667c9ed8012d77a94005f279f00009014727..."} 
[2026-07-15 21:25:15] local.INFO: Processing buffer {"connection_id":135163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f667c9ed8012d77a94005f279f00009014727..."} 
[2026-07-15 21:25:15] local.INFO: Packet analysis {"connection_id":135163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f667c"} 
[2026-07-15 21:25:15] local.INFO: Extracted packet for processing {"connection_id":135163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f667c"} 
[2026-07-15 21:25:15] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":9,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737427968001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:25:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784130871000,"timestamp_ms":1784130871000,"timestamp_seconds":1784130871,"priority":1,"record_length":96,"hex_timestamp":"0000019f667c9ed8"} 
[2026-07-15 21:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:25:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 21:25:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:25:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":135163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":135163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":135163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737427968001,"66":25875,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737427968001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:25:15] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:25:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737427968001,"power":25875,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":135163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:25:15] local.INFO: GPS data processed {"connection_id":135163,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:25:15] local.INFO: Acknowledgment sent {"connection_id":135163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:25:33] local.INFO: TCP Data received {"connection_id":132768,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f667aed40012d196540071ff0400040004827..."} 
[2026-07-15 21:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f667aed40012d196540071ff0400040004827..."} 
[2026-07-15 21:25:33] local.INFO: Processing buffer {"connection_id":132768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f667aed40012d196540071ff0400040004827..."} 
[2026-07-15 21:25:33] local.INFO: Packet analysis {"connection_id":132768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f667a"} 
[2026-07-15 21:25:33] local.INFO: Extracted packet for processing {"connection_id":132768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f667a"} 
[2026-07-15 21:25:33] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737397504001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:25:33] 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-07-15 21:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784130760000,"timestamp_ms":1784130760000,"timestamp_seconds":1784130760,"priority":1,"record_length":96,"hex_timestamp":"0000019f667aed40"} 
[2026-07-15 21:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21: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-07-15 21:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 21:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":132768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":132768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":132768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737397504001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737397504001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:25:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:25:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737397504001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:25:33] local.INFO: TCP Data received {"connection_id":132949,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132949,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:25:33] local.INFO: Processing buffer {"connection_id":132949,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:25:33] local.INFO: IMEI packet received {"connection_id":132949,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 21:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":132949,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":132768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:25:33] local.INFO: GPS data processed {"connection_id":132768,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:25:33] local.INFO: Acknowledgment sent {"connection_id":132768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:25:49] local.INFO: TCP Data received {"connection_id":135164,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:25:49] local.INFO: Processing buffer {"connection_id":135164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:25:49] local.INFO: IMEI packet received {"connection_id":135164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":135164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:25:55] local.INFO: TCP Data received {"connection_id":135164,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:25:55] local.INFO: Processing buffer {"connection_id":135164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:25:55] local.INFO: IMEI packet received {"connection_id":135164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":135164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:25:56] local.INFO: TCP Data received {"connection_id":135164,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f667aed40012d196540071ff0400040004827..."} 
[2026-07-15 21:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f667aed40012d196540071ff0400040004827..."} 
[2026-07-15 21:25:56] local.INFO: Processing buffer {"connection_id":135164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f667aed40012d196540071ff0400040004827..."} 
[2026-07-15 21:25:56] local.INFO: Packet analysis {"connection_id":135164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f667a"} 
[2026-07-15 21:25:56] local.INFO: Extracted packet for processing {"connection_id":135164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f667a"} 
[2026-07-15 21:25:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737397504001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:25: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-07-15 21:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784130760000,"timestamp_ms":1784130760000,"timestamp_seconds":1784130760,"priority":1,"record_length":96,"hex_timestamp":"0000019f667aed40"} 
[2026-07-15 21:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:25:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 21:25:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":135164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":135164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":135164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737397504001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737397504001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:25:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:25:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737397504001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":135164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:25:56] local.INFO: GPS data processed {"connection_id":135164,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:25:56] local.INFO: Acknowledgment sent {"connection_id":135164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:26:00] local.INFO: TCP Data received {"connection_id":132950,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:26:00] local.INFO: Processing buffer {"connection_id":132950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:26:00] local.INFO: IMEI packet received {"connection_id":132950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":132950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:26:05] local.INFO: TCP Data received {"connection_id":132950,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:26:05] local.INFO: Processing buffer {"connection_id":132950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:26:05] local.INFO: IMEI packet received {"connection_id":132950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":132950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:26:06] local.INFO: TCP Data received {"connection_id":132950,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f667c9ed8012d77a94005f279f00009014727..."} 
[2026-07-15 21:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f667c9ed8012d77a94005f279f00009014727..."} 
[2026-07-15 21:26:06] local.INFO: Processing buffer {"connection_id":132950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f667c9ed8012d77a94005f279f00009014727..."} 
[2026-07-15 21:26:06] local.INFO: Packet analysis {"connection_id":132950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f667c"} 
[2026-07-15 21:26:06] local.INFO: Extracted packet for processing {"connection_id":132950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f667c"} 
[2026-07-15 21:26:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":9,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737427968001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784130871000,"timestamp_ms":1784130871000,"timestamp_seconds":1784130871,"priority":1,"record_length":96,"hex_timestamp":"0000019f667c9ed8"} 
[2026-07-15 21:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 21:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737427968001,"66":25875,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737427968001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:26:06] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:26:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737427968001,"power":25875,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":132950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:26:06] local.INFO: GPS data processed {"connection_id":132950,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:26:06] local.INFO: Acknowledgment sent {"connection_id":132950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:26:28] local.INFO: TCP Data received {"connection_id":135164,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f667aed40012d196540071ff0400040004827..."} 
[2026-07-15 21:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f667aed40012d196540071ff0400040004827..."} 
[2026-07-15 21:26:28] local.INFO: Processing buffer {"connection_id":135164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f667aed40012d196540071ff0400040004827..."} 
[2026-07-15 21:26:28] local.INFO: Packet analysis {"connection_id":135164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f667a"} 
[2026-07-15 21:26:28] local.INFO: Extracted packet for processing {"connection_id":135164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f667a"} 
[2026-07-15 21:26:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737397504001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:26: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-07-15 21:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784130760000,"timestamp_ms":1784130760000,"timestamp_seconds":1784130760,"priority":1,"record_length":96,"hex_timestamp":"0000019f667aed40"} 
[2026-07-15 21:26:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:26:28] 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-07-15 21: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":96,"data_length":795,"current_offset":136} 
[2026-07-15 21:26:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:26:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":135164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":135164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":135164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:26:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737397504001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737397504001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:26:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:26:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737397504001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":135164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:26:28] local.INFO: GPS data processed {"connection_id":135164,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:26:28] local.INFO: Acknowledgment sent {"connection_id":135164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:26:37] local.INFO: TCP Data received {"connection_id":132950,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f667c9ed8012d77a94005f279f00009014727..."} 
[2026-07-15 21:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f667c9ed8012d77a94005f279f00009014727..."} 
[2026-07-15 21:26:37] local.INFO: Processing buffer {"connection_id":132950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f667c9ed8012d77a94005f279f00009014727..."} 
[2026-07-15 21:26:37] local.INFO: Packet analysis {"connection_id":132950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f667c"} 
[2026-07-15 21:26:37] local.INFO: Extracted packet for processing {"connection_id":132950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f667c"} 
[2026-07-15 21:26:37] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":9,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737427968001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784130871000,"timestamp_ms":1784130871000,"timestamp_seconds":1784130871,"priority":1,"record_length":96,"hex_timestamp":"0000019f667c9ed8"} 
[2026-07-15 21:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 21:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737427968001,"66":25875,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737427968001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:26:37] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:26:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737427968001,"power":25875,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":132950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:26:37] local.INFO: GPS data processed {"connection_id":132950,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:26:37] local.INFO: Acknowledgment sent {"connection_id":132950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:26:55] local.INFO: TCP Data received {"connection_id":135165,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:26:55] local.INFO: Processing buffer {"connection_id":135165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:26:55] local.INFO: IMEI packet received {"connection_id":135165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":135165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:27:00] local.INFO: TCP Data received {"connection_id":133810,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:27:00] local.INFO: Processing buffer {"connection_id":133810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:27:00] local.INFO: IMEI packet received {"connection_id":133810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":133810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:27:00] local.INFO: TCP Data received {"connection_id":135165,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:27:00] local.INFO: Processing buffer {"connection_id":135165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:27:00] local.INFO: IMEI packet received {"connection_id":135165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":135165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:27:01] local.INFO: TCP Data received {"connection_id":135165,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f667aed40012d196540071ff0400040004827..."} 
[2026-07-15 21:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f667aed40012d196540071ff0400040004827..."} 
[2026-07-15 21:27:01] local.INFO: Processing buffer {"connection_id":135165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f667aed40012d196540071ff0400040004827..."} 
[2026-07-15 21:27:01] local.INFO: Packet analysis {"connection_id":135165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f667a"} 
[2026-07-15 21:27:01] local.INFO: Extracted packet for processing {"connection_id":135165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f667a"} 
[2026-07-15 21:27:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737397504001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:27:01] 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-07-15 21:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784130760000,"timestamp_ms":1784130760000,"timestamp_seconds":1784130760,"priority":1,"record_length":96,"hex_timestamp":"0000019f667aed40"} 
[2026-07-15 21:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:27:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 21:27:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":135165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":135165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":135165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737397504001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737397504001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:27:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:27:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737397504001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":135165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:27:01] local.INFO: GPS data processed {"connection_id":135165,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:27:01] local.INFO: Acknowledgment sent {"connection_id":135165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:27:05] local.INFO: TCP Data received {"connection_id":133810,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:27:05] local.INFO: Processing buffer {"connection_id":133810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:27:05] local.INFO: IMEI packet received {"connection_id":133810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":133810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:27:06] local.INFO: TCP Data received {"connection_id":135165,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f667aed40012d196540071ff0400040004827..."} 
[2026-07-15 21:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f667aed40012d196540071ff0400040004827..."} 
[2026-07-15 21:27:06] local.INFO: Processing buffer {"connection_id":135165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f667aed40012d196540071ff0400040004827..."} 
[2026-07-15 21:27:06] local.INFO: Packet analysis {"connection_id":135165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f667a"} 
[2026-07-15 21:27:06] local.INFO: Extracted packet for processing {"connection_id":135165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f667a"} 
[2026-07-15 21:27:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737397504001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:27:06] 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-07-15 21:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784130760000,"timestamp_ms":1784130760000,"timestamp_seconds":1784130760,"priority":1,"record_length":96,"hex_timestamp":"0000019f667aed40"} 
[2026-07-15 21:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 21:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737397504001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737397504001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:27:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:27:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737397504001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":135165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:27:06] local.INFO: GPS data processed {"connection_id":135165,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:27:06] local.INFO: Acknowledgment sent {"connection_id":135165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:27:06] local.INFO: TCP Data received {"connection_id":133810,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f667c9ed8012d77a94005f279f00009014727..."} 
[2026-07-15 21:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f667c9ed8012d77a94005f279f00009014727..."} 
[2026-07-15 21:27:06] local.INFO: Processing buffer {"connection_id":133810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f667c9ed8012d77a94005f279f00009014727..."} 
[2026-07-15 21:27:06] local.INFO: Packet analysis {"connection_id":133810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f667c"} 
[2026-07-15 21:27:06] local.INFO: Extracted packet for processing {"connection_id":133810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f667c"} 
[2026-07-15 21:27:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":9,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737427968001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784130871000,"timestamp_ms":1784130871000,"timestamp_seconds":1784130871,"priority":1,"record_length":96,"hex_timestamp":"0000019f667c9ed8"} 
[2026-07-15 21:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 21:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737427968001,"66":25875,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737427968001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:27:06] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:27:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737427968001,"power":25875,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":133810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:27:06] local.INFO: GPS data processed {"connection_id":133810,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:27:06] local.INFO: Acknowledgment sent {"connection_id":133810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:27:38] local.INFO: TCP Data received {"connection_id":133810,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f667c9ed8012d77a94005f279f00009014727..."} 
[2026-07-15 21:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f667c9ed8012d77a94005f279f00009014727..."} 
[2026-07-15 21:27:38] local.INFO: Processing buffer {"connection_id":133810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f667c9ed8012d77a94005f279f00009014727..."} 
[2026-07-15 21:27:38] local.INFO: Packet analysis {"connection_id":133810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f667c"} 
[2026-07-15 21:27:38] local.INFO: Extracted packet for processing {"connection_id":133810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f667c"} 
[2026-07-15 21:27:38] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":9,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737427968001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784130871000,"timestamp_ms":1784130871000,"timestamp_seconds":1784130871,"priority":1,"record_length":96,"hex_timestamp":"0000019f667c9ed8"} 
[2026-07-15 21:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 21:27:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737427968001,"66":25875,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737427968001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:27:38] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:27:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737427968001,"power":25875,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":133810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:27:38] local.INFO: GPS data processed {"connection_id":133810,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:27:38] local.INFO: Acknowledgment sent {"connection_id":133810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:27:50] local.INFO: TCP Data received {"connection_id":132952,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:27:50] local.INFO: Processing buffer {"connection_id":132952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:27:50] local.INFO: IMEI packet received {"connection_id":132952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":132952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:27:55] local.INFO: TCP Data received {"connection_id":132952,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:27:55] local.INFO: Processing buffer {"connection_id":132952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:27:55] local.INFO: IMEI packet received {"connection_id":132952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":132952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:27:56] local.INFO: TCP Data received {"connection_id":132952,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f667f8120012d196540071ff0400040004826..."} 
[2026-07-15 21:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f667f8120012d196540071ff0400040004826..."} 
[2026-07-15 21:27:56] local.INFO: Processing buffer {"connection_id":132952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f667f8120012d196540071ff0400040004826..."} 
[2026-07-15 21:27:56] local.INFO: Packet analysis {"connection_id":132952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f667f"} 
[2026-07-15 21:27:56] local.INFO: Extracted packet for processing {"connection_id":132952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f667f"} 
[2026-07-15 21:27:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737474560001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:27:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21: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-07-15 21:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784131060000,"timestamp_ms":1784131060000,"timestamp_seconds":1784131060,"priority":1,"record_length":96,"hex_timestamp":"0000019f667f8120"} 
[2026-07-15 21:27:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:27:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21: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-07-15 21: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-07-15 21:27:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:27:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737474560001,"66":2155,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737474560001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:27:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:27:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:27:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737474560001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":132952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:27:56] local.INFO: GPS data processed {"connection_id":132952,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:27:56] local.INFO: Acknowledgment sent {"connection_id":132952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:28:00] local.INFO: TCP Data received {"connection_id":135166,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:28:00] local.INFO: Processing buffer {"connection_id":135166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:28:00] local.INFO: IMEI packet received {"connection_id":135166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":135166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:28:05] local.INFO: TCP Data received {"connection_id":135166,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:28:05] local.INFO: Processing buffer {"connection_id":135166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:28:05] local.INFO: IMEI packet received {"connection_id":135166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":135166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:28:07] local.INFO: TCP Data received {"connection_id":135166,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f667c9ed8012d77a94005f279f00009014727..."} 
[2026-07-15 21:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f667c9ed8012d77a94005f279f00009014727..."} 
[2026-07-15 21:28:07] local.INFO: Processing buffer {"connection_id":135166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f667c9ed8012d77a94005f279f00009014727..."} 
[2026-07-15 21:28:07] local.INFO: Packet analysis {"connection_id":135166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f667c"} 
[2026-07-15 21:28:07] local.INFO: Extracted packet for processing {"connection_id":135166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f667c"} 
[2026-07-15 21:28:07] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":9,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737427968001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784130871000,"timestamp_ms":1784130871000,"timestamp_seconds":1784130871,"priority":1,"record_length":96,"hex_timestamp":"0000019f667c9ed8"} 
[2026-07-15 21:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 21:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":135166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":135166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":135166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737427968001,"66":25875,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737427968001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:28:08] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:28:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737427968001,"power":25875,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":135166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:28:08] local.INFO: GPS data processed {"connection_id":135166,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:28:08] local.INFO: Acknowledgment sent {"connection_id":135166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:28:28] local.INFO: TCP Data received {"connection_id":132952,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f667f8120012d196540071ff0400040004826..."} 
[2026-07-15 21:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f667f8120012d196540071ff0400040004826..."} 
[2026-07-15 21:28:28] local.INFO: Processing buffer {"connection_id":132952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f667f8120012d196540071ff0400040004826..."} 
[2026-07-15 21:28:28] local.INFO: Packet analysis {"connection_id":132952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f667f"} 
[2026-07-15 21:28:28] local.INFO: Extracted packet for processing {"connection_id":132952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f667f"} 
[2026-07-15 21:28:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737474560001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:28:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:28: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-07-15 21:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784131060000,"timestamp_ms":1784131060000,"timestamp_seconds":1784131060,"priority":1,"record_length":96,"hex_timestamp":"0000019f667f8120"} 
[2026-07-15 21:28:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:28:28] 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-07-15 21:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:28: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-07-15 21:28:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:28:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:28:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737474560001,"66":2155,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737474560001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:28:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:28:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:28:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737474560001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":132952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:28:28] local.INFO: GPS data processed {"connection_id":132952,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:28:28] local.INFO: Acknowledgment sent {"connection_id":132952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:28:49] local.INFO: TCP Data received {"connection_id":133811,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:28:49] local.INFO: Processing buffer {"connection_id":133811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:28:49] local.INFO: IMEI packet received {"connection_id":133811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":133811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:28:55] local.INFO: TCP Data received {"connection_id":133811,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:28:55] local.INFO: Processing buffer {"connection_id":133811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:28:55] local.INFO: IMEI packet received {"connection_id":133811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":133811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:28:56] local.INFO: TCP Data received {"connection_id":133811,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f667f8120012d196540071ff0400040004826..."} 
[2026-07-15 21:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f667f8120012d196540071ff0400040004826..."} 
[2026-07-15 21:28:56] local.INFO: Processing buffer {"connection_id":133811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f667f8120012d196540071ff0400040004826..."} 
[2026-07-15 21:28:56] local.INFO: Packet analysis {"connection_id":133811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f667f"} 
[2026-07-15 21:28:56] local.INFO: Extracted packet for processing {"connection_id":133811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f667f"} 
[2026-07-15 21:28:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737474560001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:28: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-07-15 21:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784131060000,"timestamp_ms":1784131060000,"timestamp_seconds":1784131060,"priority":1,"record_length":96,"hex_timestamp":"0000019f667f8120"} 
[2026-07-15 21:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:28:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:28: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-07-15 21:28:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737474560001,"66":2155,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737474560001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:28:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:28:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737474560001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":133811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:28:56] local.INFO: GPS data processed {"connection_id":133811,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:28:56] local.INFO: Acknowledgment sent {"connection_id":133811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:29:05] local.INFO: TCP Data received {"connection_id":135167,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:29:05] local.INFO: Processing buffer {"connection_id":135167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:29:05] local.INFO: IMEI packet received {"connection_id":135167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":135167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:29:10] local.INFO: TCP Data received {"connection_id":135167,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:29:10] local.INFO: Processing buffer {"connection_id":135167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:29:10] local.INFO: IMEI packet received {"connection_id":135167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":135167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:29:11] local.INFO: TCP Data received {"connection_id":135167,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f667c9ed8012d77a94005f279f00009014727..."} 
[2026-07-15 21:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f667c9ed8012d77a94005f279f00009014727..."} 
[2026-07-15 21:29:11] local.INFO: Processing buffer {"connection_id":135167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f667c9ed8012d77a94005f279f00009014727..."} 
[2026-07-15 21:29:11] local.INFO: Packet analysis {"connection_id":135167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f667c"} 
[2026-07-15 21:29:11] local.INFO: Extracted packet for processing {"connection_id":135167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f667c"} 
[2026-07-15 21:29:11] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":9,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737427968001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784130871000,"timestamp_ms":1784130871000,"timestamp_seconds":1784130871,"priority":1,"record_length":96,"hex_timestamp":"0000019f667c9ed8"} 
[2026-07-15 21:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 21:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":135167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":135167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":135167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737427968001,"66":25875,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737427968001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:29:11] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:29:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737427968001,"power":25875,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":135167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:29:11] local.INFO: GPS data processed {"connection_id":135167,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:29:11] local.INFO: Acknowledgment sent {"connection_id":135167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:29:16] local.INFO: TCP Data received {"connection_id":135167,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f667c9ed8012d77a94005f279f00009014727..."} 
[2026-07-15 21:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f667c9ed8012d77a94005f279f00009014727..."} 
[2026-07-15 21:29:16] local.INFO: Processing buffer {"connection_id":135167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f667c9ed8012d77a94005f279f00009014727..."} 
[2026-07-15 21:29:16] local.INFO: Packet analysis {"connection_id":135167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f667c"} 
[2026-07-15 21:29:16] local.INFO: Extracted packet for processing {"connection_id":135167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f667c"} 
[2026-07-15 21:29:16] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":9,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737427968001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:29:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784130871000,"timestamp_ms":1784130871000,"timestamp_seconds":1784130871,"priority":1,"record_length":96,"hex_timestamp":"0000019f667c9ed8"} 
[2026-07-15 21:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:29:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-15 21:29:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:29:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":135167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":135167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":135167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737427968001,"66":25875,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737427968001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:29:16] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:29:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737427968001,"power":25875,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":135167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:29:16] local.INFO: GPS data processed {"connection_id":135167,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:29:16] local.INFO: Acknowledgment sent {"connection_id":135167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:29:28] local.INFO: TCP Data received {"connection_id":133811,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f667f8120012d196540071ff0400040004826..."} 
[2026-07-15 21:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f667f8120012d196540071ff0400040004826..."} 
[2026-07-15 21:29:28] local.INFO: Processing buffer {"connection_id":133811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f667f8120012d196540071ff0400040004826..."} 
[2026-07-15 21:29:28] local.INFO: Packet analysis {"connection_id":133811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f667f"} 
[2026-07-15 21:29:28] local.INFO: Extracted packet for processing {"connection_id":133811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f667f"} 
[2026-07-15 21:29:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:29: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-07-15 21:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737474560001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:29: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-07-15 21:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784131060000,"timestamp_ms":1784131060000,"timestamp_seconds":1784131060,"priority":1,"record_length":96,"hex_timestamp":"0000019f667f8120"} 
[2026-07-15 21:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:29:28] 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-07-15 21:29: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-07-15 21:29: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-07-15 21:29: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-07-15 21:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":133811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":133811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":133811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:29:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737474560001,"66":2155,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737474560001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:29:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:29:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737474560001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":133811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:29:28] local.INFO: GPS data processed {"connection_id":133811,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:29:28] local.INFO: Acknowledgment sent {"connection_id":133811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:29:49] local.INFO: TCP Data received {"connection_id":132771,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:29:49] local.INFO: Processing buffer {"connection_id":132771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:29:49] local.INFO: IMEI packet received {"connection_id":132771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":132771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:29:56] local.INFO: TCP Data received {"connection_id":132771,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:29:56] local.INFO: Processing buffer {"connection_id":132771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:29:56] local.INFO: IMEI packet received {"connection_id":132771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":132771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:29:57] local.INFO: TCP Data received {"connection_id":132771,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f667f8120012d196540071ff0400040004826..."} 
[2026-07-15 21:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f667f8120012d196540071ff0400040004826..."} 
[2026-07-15 21:29:57] local.INFO: Processing buffer {"connection_id":132771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f667f8120012d196540071ff0400040004826..."} 
[2026-07-15 21:29:57] local.INFO: Packet analysis {"connection_id":132771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f667f"} 
[2026-07-15 21:29:57] local.INFO: Extracted packet for processing {"connection_id":132771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f667f"} 
[2026-07-15 21:29:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:29:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737474560001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:29:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:29:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:29: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-07-15 21:29:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784131060000,"timestamp_ms":1784131060000,"timestamp_seconds":1784131060,"priority":1,"record_length":96,"hex_timestamp":"0000019f667f8120"} 
[2026-07-15 21:29:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:29:57] 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-07-15 21:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:29:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:29:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:29:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:29:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:29:57] local.INFO: Teltonika packet parsed successfully {"connection_id":132771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:29:57] local.INFO: Passing IMEI to GPS processor {"connection_id":132771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:29:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":132771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:29:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:29:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:29:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:29:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737474560001,"66":2155,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:29:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:29:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:29:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737474560001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:29:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:29:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:29:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:29:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:29:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737474560001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:29:57] local.INFO: DEBUG: GPS processor result {"connection_id":132771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:29:57] local.INFO: GPS data processed {"connection_id":132771,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:29:57] local.INFO: Acknowledgment sent {"connection_id":132771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:30:00] local.INFO: TCP Data received {"connection_id":135168,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:30:00] local.INFO: Processing buffer {"connection_id":135168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:30:00] local.INFO: IMEI packet received {"connection_id":135168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":135168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:30:01] local.INFO: TCP Data received {"connection_id":135168,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:30:01] local.INFO: Processing buffer {"connection_id":135168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:30:01] local.INFO: IMEI packet received {"connection_id":135168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":135168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:30:05] local.INFO: TCP Data received {"connection_id":135168,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:30:05] local.INFO: Processing buffer {"connection_id":135168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:30:05] local.INFO: IMEI packet received {"connection_id":135168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":135168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:30:06] local.INFO: TCP Data received {"connection_id":135168,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66811f30012d77a94005f279f0000f014720..."} 
[2026-07-15 21:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66811f30012d77a94005f279f0000f014720..."} 
[2026-07-15 21:30:06] local.INFO: Processing buffer {"connection_id":135168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66811f30012d77a94005f279f0000f014720..."} 
[2026-07-15 21:30:06] local.INFO: Packet analysis {"connection_id":135168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6681"} 
[2026-07-15 21:30:06] local.INFO: Extracted packet for processing {"connection_id":135168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6681"} 
[2026-07-15 21:30:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":15,"angle":327,"satellites":32,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737502976001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784131166000,"timestamp_ms":1784131166000,"timestamp_seconds":1784131166,"priority":1,"record_length":96,"hex_timestamp":"0000019f66811f30"} 
[2026-07-15 21:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-15 21:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737502976001,"66":25778,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737502976001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:30:06] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:30:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737502976001,"power":25778,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":135168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:30:06] local.INFO: GPS data processed {"connection_id":135168,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:30:06] local.INFO: Acknowledgment sent {"connection_id":135168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:30:10] local.INFO: TCP Data received {"connection_id":135168,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66811f30012d77a94005f279f0000f014720..."} 
[2026-07-15 21:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66811f30012d77a94005f279f0000f014720..."} 
[2026-07-15 21:30:10] local.INFO: Processing buffer {"connection_id":135168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66811f30012d77a94005f279f0000f014720..."} 
[2026-07-15 21:30:10] local.INFO: Packet analysis {"connection_id":135168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6681"} 
[2026-07-15 21:30:10] local.INFO: Extracted packet for processing {"connection_id":135168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6681"} 
[2026-07-15 21:30:10] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":15,"angle":327,"satellites":32,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737502976001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784131166000,"timestamp_ms":1784131166000,"timestamp_seconds":1784131166,"priority":1,"record_length":96,"hex_timestamp":"0000019f66811f30"} 
[2026-07-15 21:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-15 21:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":135168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":135168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":135168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737502976001,"66":25778,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737502976001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:30:10] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:30:10] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737502976001,"power":25778,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":135168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:30:10] local.INFO: GPS data processed {"connection_id":135168,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:30:10] local.INFO: Acknowledgment sent {"connection_id":135168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:30:29] local.INFO: TCP Data received {"connection_id":132771,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f667f8120012d196540071ff0400040004826..."} 
[2026-07-15 21:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f667f8120012d196540071ff0400040004826..."} 
[2026-07-15 21:30:29] local.INFO: Processing buffer {"connection_id":132771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f667f8120012d196540071ff0400040004826..."} 
[2026-07-15 21:30:29] local.INFO: Packet analysis {"connection_id":132771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f667f"} 
[2026-07-15 21:30:29] local.INFO: Extracted packet for processing {"connection_id":132771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f667f"} 
[2026-07-15 21:30:29] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737474560001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:30:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:30: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-07-15 21:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784131060000,"timestamp_ms":1784131060000,"timestamp_seconds":1784131060,"priority":1,"record_length":96,"hex_timestamp":"0000019f667f8120"} 
[2026-07-15 21:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:30:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21: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-07-15 21:30:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":132771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":132771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":132771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:30:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737474560001,"66":2155,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737474560001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:30:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:30:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:30:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737474560001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":132771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:30:29] local.INFO: GPS data processed {"connection_id":132771,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:30:29] local.INFO: Acknowledgment sent {"connection_id":132771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:30:39] local.INFO: TCP Data received {"connection_id":133812,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133812,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:30:39] local.INFO: Processing buffer {"connection_id":133812,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:30:39] local.INFO: IMEI packet received {"connection_id":133812,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 21:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":133812,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:30:43] local.INFO: TCP Data received {"connection_id":135168,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66811f30012d77a94005f279f0000f014720..."} 
[2026-07-15 21:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66811f30012d77a94005f279f0000f014720..."} 
[2026-07-15 21:30:43] local.INFO: Processing buffer {"connection_id":135168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66811f30012d77a94005f279f0000f014720..."} 
[2026-07-15 21:30:43] local.INFO: Packet analysis {"connection_id":135168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6681"} 
[2026-07-15 21:30:43] local.INFO: Extracted packet for processing {"connection_id":135168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6681"} 
[2026-07-15 21:30:43] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":15,"angle":327,"satellites":32,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737502976001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:30:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784131166000,"timestamp_ms":1784131166000,"timestamp_seconds":1784131166,"priority":1,"record_length":96,"hex_timestamp":"0000019f66811f30"} 
[2026-07-15 21:30:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:30:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-15 21:30:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:30:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:30:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":135168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":135168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":135168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:30:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737502976001,"66":25778,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737502976001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:30:43] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:30:43] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737502976001,"power":25778,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":135168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:30:43] local.INFO: GPS data processed {"connection_id":135168,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:30:43] local.INFO: Acknowledgment sent {"connection_id":135168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:30:55] local.INFO: TCP Data received {"connection_id":132772,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:30:55] local.INFO: Processing buffer {"connection_id":132772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:30:55] local.INFO: IMEI packet received {"connection_id":132772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":132772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:31:00] local.INFO: TCP Data received {"connection_id":132953,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:31:00] local.INFO: Processing buffer {"connection_id":132953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:31:00] local.INFO: IMEI packet received {"connection_id":132953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":132953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:31:00] local.INFO: TCP Data received {"connection_id":132772,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:31:00] local.INFO: Processing buffer {"connection_id":132772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:31:00] local.INFO: IMEI packet received {"connection_id":132772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":132772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:31:01] local.INFO: TCP Data received {"connection_id":132772,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f667f8120012d196540071ff0400040004826..."} 
[2026-07-15 21:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f667f8120012d196540071ff0400040004826..."} 
[2026-07-15 21:31:01] local.INFO: Processing buffer {"connection_id":132772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f667f8120012d196540071ff0400040004826..."} 
[2026-07-15 21:31:01] local.INFO: Packet analysis {"connection_id":132772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f667f"} 
[2026-07-15 21:31:01] local.INFO: Extracted packet for processing {"connection_id":132772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f667f"} 
[2026-07-15 21:31:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737474560001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:31:01] 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-07-15 21:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784131060000,"timestamp_ms":1784131060000,"timestamp_seconds":1784131060,"priority":1,"record_length":96,"hex_timestamp":"0000019f667f8120"} 
[2026-07-15 21:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:31:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:31: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-07-15 21:31:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":132772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":132772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":132772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737474560001,"66":2155,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737474560001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:31:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:31:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737474560001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":132772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:31:01] local.INFO: GPS data processed {"connection_id":132772,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:31:01] local.INFO: Acknowledgment sent {"connection_id":132772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:31:05] local.INFO: TCP Data received {"connection_id":132953,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:31:05] local.INFO: Processing buffer {"connection_id":132953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:31:05] local.INFO: IMEI packet received {"connection_id":132953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":132953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:31:05] local.INFO: TCP Data received {"connection_id":132772,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f667f8120012d196540071ff0400040004826..."} 
[2026-07-15 21:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f667f8120012d196540071ff0400040004826..."} 
[2026-07-15 21:31:05] local.INFO: Processing buffer {"connection_id":132772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f667f8120012d196540071ff0400040004826..."} 
[2026-07-15 21:31:05] local.INFO: Packet analysis {"connection_id":132772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f667f"} 
[2026-07-15 21:31:05] local.INFO: Extracted packet for processing {"connection_id":132772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f667f"} 
[2026-07-15 21:31:05] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737474560001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:31: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-07-15 21:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784131060000,"timestamp_ms":1784131060000,"timestamp_seconds":1784131060,"priority":1,"record_length":96,"hex_timestamp":"0000019f667f8120"} 
[2026-07-15 21:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:31: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-07-15 21:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737474560001,"66":2155,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737474560001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:31:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:31:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737474560001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":132772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:31:06] local.INFO: GPS data processed {"connection_id":132772,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:31:06] local.INFO: Acknowledgment sent {"connection_id":132772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:31:06] local.INFO: TCP Data received {"connection_id":132953,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66811f30012d77a94005f279f0000f014720..."} 
[2026-07-15 21:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66811f30012d77a94005f279f0000f014720..."} 
[2026-07-15 21:31:06] local.INFO: Processing buffer {"connection_id":132953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66811f30012d77a94005f279f0000f014720..."} 
[2026-07-15 21:31:06] local.INFO: Packet analysis {"connection_id":132953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6681"} 
[2026-07-15 21:31:06] local.INFO: Extracted packet for processing {"connection_id":132953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6681"} 
[2026-07-15 21:31:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":15,"angle":327,"satellites":32,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737502976001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784131166000,"timestamp_ms":1784131166000,"timestamp_seconds":1784131166,"priority":1,"record_length":96,"hex_timestamp":"0000019f66811f30"} 
[2026-07-15 21:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-15 21:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737502976001,"66":25778,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737502976001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:31:06] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:31:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737502976001,"power":25778,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":132953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:31:06] local.INFO: GPS data processed {"connection_id":132953,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:31:06] local.INFO: Acknowledgment sent {"connection_id":132953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:31:38] local.INFO: TCP Data received {"connection_id":132953,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66811f30012d77a94005f279f0000f014720..."} 
[2026-07-15 21:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66811f30012d77a94005f279f0000f014720..."} 
[2026-07-15 21:31:38] local.INFO: Processing buffer {"connection_id":132953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66811f30012d77a94005f279f0000f014720..."} 
[2026-07-15 21:31:38] local.INFO: Packet analysis {"connection_id":132953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6681"} 
[2026-07-15 21:31:38] local.INFO: Extracted packet for processing {"connection_id":132953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6681"} 
[2026-07-15 21:31:38] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":15,"angle":327,"satellites":32,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737502976001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784131166000,"timestamp_ms":1784131166000,"timestamp_seconds":1784131166,"priority":1,"record_length":96,"hex_timestamp":"0000019f66811f30"} 
[2026-07-15 21:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-15 21:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737502976001,"66":25778,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737502976001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:31:38] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:31:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737502976001,"power":25778,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":132953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:31:38] local.INFO: GPS data processed {"connection_id":132953,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:31:38] local.INFO: Acknowledgment sent {"connection_id":132953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:31:50] local.INFO: TCP Data received {"connection_id":133813,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:31:50] local.INFO: Processing buffer {"connection_id":133813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:31:50] local.INFO: IMEI packet received {"connection_id":133813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":133813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:31:55] local.INFO: TCP Data received {"connection_id":133813,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:31:55] local.INFO: Processing buffer {"connection_id":133813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:31:55] local.INFO: IMEI packet received {"connection_id":133813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":133813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:31:56] local.INFO: TCP Data received {"connection_id":133813,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f667f8120012d196540071ff0400040004826..."} 
[2026-07-15 21:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f667f8120012d196540071ff0400040004826..."} 
[2026-07-15 21:31:56] local.INFO: Processing buffer {"connection_id":133813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f667f8120012d196540071ff0400040004826..."} 
[2026-07-15 21:31:56] local.INFO: Packet analysis {"connection_id":133813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f667f"} 
[2026-07-15 21:31:56] local.INFO: Extracted packet for processing {"connection_id":133813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f667f"} 
[2026-07-15 21:31:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737474560001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:31: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-07-15 21:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784131060000,"timestamp_ms":1784131060000,"timestamp_seconds":1784131060,"priority":1,"record_length":96,"hex_timestamp":"0000019f667f8120"} 
[2026-07-15 21:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:31:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:31: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-07-15 21: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-07-15 21:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:31:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737474560001,"66":2155,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737474560001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:31:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:31:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737474560001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":133813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:31:57] local.INFO: GPS data processed {"connection_id":133813,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:31:57] local.INFO: Acknowledgment sent {"connection_id":133813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:32:00] local.INFO: TCP Data received {"connection_id":132773,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:32:00] local.INFO: Processing buffer {"connection_id":132773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:32:00] local.INFO: IMEI packet received {"connection_id":132773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":132773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:32:05] local.INFO: TCP Data received {"connection_id":132773,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:32:05] local.INFO: Processing buffer {"connection_id":132773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:32:05] local.INFO: IMEI packet received {"connection_id":132773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":132773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:32:06] local.INFO: TCP Data received {"connection_id":132773,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66811f30012d77a94005f279f0000f014720..."} 
[2026-07-15 21:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66811f30012d77a94005f279f0000f014720..."} 
[2026-07-15 21:32:06] local.INFO: Processing buffer {"connection_id":132773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66811f30012d77a94005f279f0000f014720..."} 
[2026-07-15 21:32:06] local.INFO: Packet analysis {"connection_id":132773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6681"} 
[2026-07-15 21:32:06] local.INFO: Extracted packet for processing {"connection_id":132773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6681"} 
[2026-07-15 21:32:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":15,"angle":327,"satellites":32,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737502976001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784131166000,"timestamp_ms":1784131166000,"timestamp_seconds":1784131166,"priority":1,"record_length":96,"hex_timestamp":"0000019f66811f30"} 
[2026-07-15 21:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-15 21:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737502976001,"66":25778,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737502976001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:32:06] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:32:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737502976001,"power":25778,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":132773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:32:06] local.INFO: GPS data processed {"connection_id":132773,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:32:06] local.INFO: Acknowledgment sent {"connection_id":132773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:32:28] local.INFO: TCP Data received {"connection_id":133813,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f667f8120012d196540071ff0400040004826..."} 
[2026-07-15 21:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f667f8120012d196540071ff0400040004826..."} 
[2026-07-15 21:32:28] local.INFO: Processing buffer {"connection_id":133813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f667f8120012d196540071ff0400040004826..."} 
[2026-07-15 21:32:28] local.INFO: Packet analysis {"connection_id":133813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f667f"} 
[2026-07-15 21:32:28] local.INFO: Extracted packet for processing {"connection_id":133813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f667f"} 
[2026-07-15 21:32:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737474560001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:32:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:32: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-07-15 21:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784131060000,"timestamp_ms":1784131060000,"timestamp_seconds":1784131060,"priority":1,"record_length":96,"hex_timestamp":"0000019f667f8120"} 
[2026-07-15 21:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:32:28] 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-07-15 21:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:32:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":133813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":133813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":133813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737474560001,"66":2155,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737474560001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:32:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:32:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737474560001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":133813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:32:28] local.INFO: GPS data processed {"connection_id":133813,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:32:28] local.INFO: Acknowledgment sent {"connection_id":133813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:32:37] local.INFO: TCP Data received {"connection_id":132773,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66811f30012d77a94005f279f0000f014720..."} 
[2026-07-15 21:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66811f30012d77a94005f279f0000f014720..."} 
[2026-07-15 21:32:37] local.INFO: Processing buffer {"connection_id":132773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66811f30012d77a94005f279f0000f014720..."} 
[2026-07-15 21:32:37] local.INFO: Packet analysis {"connection_id":132773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6681"} 
[2026-07-15 21:32:37] local.INFO: Extracted packet for processing {"connection_id":132773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6681"} 
[2026-07-15 21:32:37] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":15,"angle":327,"satellites":32,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737502976001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784131166000,"timestamp_ms":1784131166000,"timestamp_seconds":1784131166,"priority":1,"record_length":96,"hex_timestamp":"0000019f66811f30"} 
[2026-07-15 21:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-15 21:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737502976001,"66":25778,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737502976001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:32:37] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:32:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737502976001,"power":25778,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":132773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:32:37] local.INFO: GPS data processed {"connection_id":132773,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:32:37] local.INFO: Acknowledgment sent {"connection_id":132773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:32:50] local.INFO: TCP Data received {"connection_id":135170,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:32:50] local.INFO: Processing buffer {"connection_id":135170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:32:50] local.INFO: IMEI packet received {"connection_id":135170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":135170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:32:55] local.INFO: TCP Data received {"connection_id":135170,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:32:55] local.INFO: Processing buffer {"connection_id":135170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:32:55] local.INFO: IMEI packet received {"connection_id":135170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":135170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:32:56] local.INFO: TCP Data received {"connection_id":135170,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66840560012d196540071ff0400040004822..."} 
[2026-07-15 21:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66840560012d196540071ff0400040004822..."} 
[2026-07-15 21:32:56] local.INFO: Processing buffer {"connection_id":135170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66840560012d196540071ff0400040004822..."} 
[2026-07-15 21:32:56] local.INFO: Packet analysis {"connection_id":135170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6684"} 
[2026-07-15 21:32:56] local.INFO: Extracted packet for processing {"connection_id":135170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6684"} 
[2026-07-15 21:32:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":34,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737551360001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:32:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:32: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-07-15 21:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784131356000,"timestamp_ms":1784131356000,"timestamp_seconds":1784131356,"priority":1,"record_length":96,"hex_timestamp":"0000019f66840560"} 
[2026-07-15 21:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:32:56] 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-07-15 21:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-15 21:32:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":135170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":135170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":135170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:32:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737551360001,"66":2144,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737551360001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:32:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:32:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:32:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737551360001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":135170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:32:56] local.INFO: GPS data processed {"connection_id":135170,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:32:56] local.INFO: Acknowledgment sent {"connection_id":135170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:33:06] local.INFO: TCP Data received {"connection_id":132775,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:33:06] local.INFO: Processing buffer {"connection_id":132775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:33:06] local.INFO: IMEI packet received {"connection_id":132775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":132775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:33:10] local.INFO: TCP Data received {"connection_id":132775,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:33:10] local.INFO: Processing buffer {"connection_id":132775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:33:10] local.INFO: IMEI packet received {"connection_id":132775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":132775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:33:11] local.INFO: TCP Data received {"connection_id":132775,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66811f30012d77a94005f279f0000f014720..."} 
[2026-07-15 21:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66811f30012d77a94005f279f0000f014720..."} 
[2026-07-15 21:33:11] local.INFO: Processing buffer {"connection_id":132775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66811f30012d77a94005f279f0000f014720..."} 
[2026-07-15 21:33:11] local.INFO: Packet analysis {"connection_id":132775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6681"} 
[2026-07-15 21:33:11] local.INFO: Extracted packet for processing {"connection_id":132775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6681"} 
[2026-07-15 21:33:11] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":15,"angle":327,"satellites":32,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737502976001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784131166000,"timestamp_ms":1784131166000,"timestamp_seconds":1784131166,"priority":1,"record_length":96,"hex_timestamp":"0000019f66811f30"} 
[2026-07-15 21:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-15 21:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737502976001,"66":25778,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737502976001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:33:11] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:33:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737502976001,"power":25778,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":132775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:33:11] local.INFO: GPS data processed {"connection_id":132775,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:33:11] local.INFO: Acknowledgment sent {"connection_id":132775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:33:16] local.INFO: TCP Data received {"connection_id":132775,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66811f30012d77a94005f279f0000f014720..."} 
[2026-07-15 21:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66811f30012d77a94005f279f0000f014720..."} 
[2026-07-15 21:33:16] local.INFO: Processing buffer {"connection_id":132775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66811f30012d77a94005f279f0000f014720..."} 
[2026-07-15 21:33:16] local.INFO: Packet analysis {"connection_id":132775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6681"} 
[2026-07-15 21:33:16] local.INFO: Extracted packet for processing {"connection_id":132775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6681"} 
[2026-07-15 21:33:16] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":15,"angle":327,"satellites":32,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737502976001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:33:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784131166000,"timestamp_ms":1784131166000,"timestamp_seconds":1784131166,"priority":1,"record_length":96,"hex_timestamp":"0000019f66811f30"} 
[2026-07-15 21:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:33:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-15 21:33:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737502976001,"66":25778,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737502976001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:33:16] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:33:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737502976001,"power":25778,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":132775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:33:16] local.INFO: GPS data processed {"connection_id":132775,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:33:16] local.INFO: Acknowledgment sent {"connection_id":132775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:33:28] local.INFO: TCP Data received {"connection_id":135170,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66840560012d196540071ff0400040004822..."} 
[2026-07-15 21:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66840560012d196540071ff0400040004822..."} 
[2026-07-15 21:33:28] local.INFO: Processing buffer {"connection_id":135170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66840560012d196540071ff0400040004822..."} 
[2026-07-15 21:33:28] local.INFO: Packet analysis {"connection_id":135170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6684"} 
[2026-07-15 21:33:28] local.INFO: Extracted packet for processing {"connection_id":135170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6684"} 
[2026-07-15 21:33:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":34,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737551360001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:33: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-07-15 21:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784131356000,"timestamp_ms":1784131356000,"timestamp_seconds":1784131356,"priority":1,"record_length":96,"hex_timestamp":"0000019f66840560"} 
[2026-07-15 21:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:33:28] 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-07-15 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-15 21:33:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":135170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":135170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":135170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737551360001,"66":2144,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737551360001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:33:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:33:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737551360001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":135170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493062,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:33:28] local.INFO: GPS data processed {"connection_id":135170,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:33:28] local.INFO: Acknowledgment sent {"connection_id":135170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:33:49] local.INFO: TCP Data received {"connection_id":132776,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:33:49] local.INFO: Processing buffer {"connection_id":132776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:33:49] local.INFO: IMEI packet received {"connection_id":132776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":132776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:33:55] local.INFO: TCP Data received {"connection_id":132776,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:33:55] local.INFO: Processing buffer {"connection_id":132776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:33:55] local.INFO: IMEI packet received {"connection_id":132776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":132776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:33:56] local.INFO: TCP Data received {"connection_id":132776,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66840560012d196540071ff0400040004822..."} 
[2026-07-15 21:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66840560012d196540071ff0400040004822..."} 
[2026-07-15 21:33:56] local.INFO: Processing buffer {"connection_id":132776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66840560012d196540071ff0400040004822..."} 
[2026-07-15 21:33:56] local.INFO: Packet analysis {"connection_id":132776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6684"} 
[2026-07-15 21:33:56] local.INFO: Extracted packet for processing {"connection_id":132776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6684"} 
[2026-07-15 21:33:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":34,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 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-07-15 21:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737551360001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:33:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:33: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-07-15 21:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784131356000,"timestamp_ms":1784131356000,"timestamp_seconds":1784131356,"priority":1,"record_length":96,"hex_timestamp":"0000019f66840560"} 
[2026-07-15 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-07-15 21:33:56] 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-07-15 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-15 21:33:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 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-07-15 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-07-15 21:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737551360001,"66":2144,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737551360001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:33:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:33:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:33:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737551360001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":132776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:33:56] local.INFO: GPS data processed {"connection_id":132776,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:33:56] local.INFO: Acknowledgment sent {"connection_id":132776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:34:00] local.INFO: TCP Data received {"connection_id":133815,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:34:00] local.INFO: Processing buffer {"connection_id":133815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:34:00] local.INFO: IMEI packet received {"connection_id":133815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":133815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:34:05] local.INFO: TCP Data received {"connection_id":133815,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:34:05] local.INFO: Processing buffer {"connection_id":133815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:34:05] local.INFO: IMEI packet received {"connection_id":133815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":133815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:34:09] local.INFO: TCP Data received {"connection_id":133815,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66811f30012d77a94005f279f0000f014720..."} 
[2026-07-15 21:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66811f30012d77a94005f279f0000f014720..."} 
[2026-07-15 21:34:09] local.INFO: Processing buffer {"connection_id":133815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66811f30012d77a94005f279f0000f014720..."} 
[2026-07-15 21:34:09] local.INFO: Packet analysis {"connection_id":133815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6681"} 
[2026-07-15 21:34:09] local.INFO: Extracted packet for processing {"connection_id":133815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6681"} 
[2026-07-15 21:34:09] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":15,"angle":327,"satellites":32,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737502976001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784131166000,"timestamp_ms":1784131166000,"timestamp_seconds":1784131166,"priority":1,"record_length":96,"hex_timestamp":"0000019f66811f30"} 
[2026-07-15 21:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-15 21:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":133815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":133815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":133815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737502976001,"66":25778,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737502976001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:34:09] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:34:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737502976001,"power":25778,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":133815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:34:09] local.INFO: GPS data processed {"connection_id":133815,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:34:09] local.INFO: Acknowledgment sent {"connection_id":133815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:34:28] local.INFO: TCP Data received {"connection_id":132776,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66840560012d196540071ff0400040004822..."} 
[2026-07-15 21:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66840560012d196540071ff0400040004822..."} 
[2026-07-15 21:34:28] local.INFO: Processing buffer {"connection_id":132776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66840560012d196540071ff0400040004822..."} 
[2026-07-15 21:34:28] local.INFO: Packet analysis {"connection_id":132776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6684"} 
[2026-07-15 21:34:28] local.INFO: Extracted packet for processing {"connection_id":132776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6684"} 
[2026-07-15 21:34:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":34,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737551360001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:34:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:34: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-07-15 21:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784131356000,"timestamp_ms":1784131356000,"timestamp_seconds":1784131356,"priority":1,"record_length":96,"hex_timestamp":"0000019f66840560"} 
[2026-07-15 21:34:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:34:28] 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-07-15 21:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-15 21:34:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:34:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:34:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:34:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:34:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737551360001,"66":2144,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737551360001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:34:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:34:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:34:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:34:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737551360001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:34:28] local.INFO: DEBUG: GPS processor result {"connection_id":132776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:34:28] local.INFO: GPS data processed {"connection_id":132776,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:34:28] local.INFO: Acknowledgment sent {"connection_id":132776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:34:44] local.INFO: TCP Data received {"connection_id":133815,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66811f30012d77a94005f279f0000f014720..."} 
[2026-07-15 21:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66811f30012d77a94005f279f0000f014720..."} 
[2026-07-15 21:34:44] local.INFO: Processing buffer {"connection_id":133815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66811f30012d77a94005f279f0000f014720..."} 
[2026-07-15 21:34:44] local.INFO: Packet analysis {"connection_id":133815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6681"} 
[2026-07-15 21:34:44] local.INFO: Extracted packet for processing {"connection_id":133815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6681"} 
[2026-07-15 21:34:44] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":15,"angle":327,"satellites":32,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737502976001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:34:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:34:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784131166000,"timestamp_ms":1784131166000,"timestamp_seconds":1784131166,"priority":1,"record_length":96,"hex_timestamp":"0000019f66811f30"} 
[2026-07-15 21:34:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:34:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-15 21:34:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:34:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:34:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":133815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":133815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":133815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:34:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737502976001,"66":25778,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737502976001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:34:44] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:34:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737502976001,"power":25778,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":133815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:34:44] local.INFO: GPS data processed {"connection_id":133815,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:34:44] local.INFO: Acknowledgment sent {"connection_id":133815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:34:55] local.INFO: TCP Data received {"connection_id":132777,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:34:55] local.INFO: Processing buffer {"connection_id":132777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:34:55] local.INFO: IMEI packet received {"connection_id":132777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":132777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:35:00] local.INFO: TCP Data received {"connection_id":135171,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:35:00] local.INFO: Processing buffer {"connection_id":135171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:35:00] local.INFO: IMEI packet received {"connection_id":135171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":135171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:35:00] local.INFO: TCP Data received {"connection_id":132777,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:35:00] local.INFO: Processing buffer {"connection_id":132777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:35:00] local.INFO: IMEI packet received {"connection_id":132777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":132777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:35:01] local.INFO: TCP Data received {"connection_id":135171,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:35:01] local.INFO: Processing buffer {"connection_id":135171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:35:01] local.INFO: IMEI packet received {"connection_id":135171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":135171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:35:01] local.INFO: TCP Data received {"connection_id":132777,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66840560012d196540071ff0400040004822..."} 
[2026-07-15 21:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66840560012d196540071ff0400040004822..."} 
[2026-07-15 21:35:01] local.INFO: Processing buffer {"connection_id":132777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66840560012d196540071ff0400040004822..."} 
[2026-07-15 21:35:01] local.INFO: Packet analysis {"connection_id":132777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6684"} 
[2026-07-15 21:35:01] local.INFO: Extracted packet for processing {"connection_id":132777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6684"} 
[2026-07-15 21:35:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":34,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737551360001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:35:01] 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-07-15 21:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784131356000,"timestamp_ms":1784131356000,"timestamp_seconds":1784131356,"priority":1,"record_length":96,"hex_timestamp":"0000019f66840560"} 
[2026-07-15 21:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:35:01] 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-07-15 21:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-15 21:35:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:35:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":132777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":132777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":132777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737551360001,"66":2144,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737551360001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:35:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:35:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737551360001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":132777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:35:01] local.INFO: GPS data processed {"connection_id":132777,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:35:01] local.INFO: Acknowledgment sent {"connection_id":132777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:35:05] local.INFO: TCP Data received {"connection_id":132777,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66840560012d196540071ff0400040004822..."} 
[2026-07-15 21:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66840560012d196540071ff0400040004822..."} 
[2026-07-15 21:35:05] local.INFO: Processing buffer {"connection_id":132777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66840560012d196540071ff0400040004822..."} 
[2026-07-15 21:35:05] local.INFO: Packet analysis {"connection_id":132777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6684"} 
[2026-07-15 21:35:05] local.INFO: Extracted packet for processing {"connection_id":132777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6684"} 
[2026-07-15 21:35:05] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":34,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737551360001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:35: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-07-15 21:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784131356000,"timestamp_ms":1784131356000,"timestamp_seconds":1784131356,"priority":1,"record_length":96,"hex_timestamp":"0000019f66840560"} 
[2026-07-15 21:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:35:05] 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-07-15 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-15 21:35: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-07-15 21: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-07-15 21:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737551360001,"66":2144,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737551360001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:35:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:35:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737551360001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":132777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:35:06] local.INFO: GPS data processed {"connection_id":132777,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:35:06] local.INFO: Acknowledgment sent {"connection_id":132777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:35:06] local.INFO: TCP Data received {"connection_id":135171,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:35:06] local.INFO: Processing buffer {"connection_id":135171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:35:06] local.INFO: IMEI packet received {"connection_id":135171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":135171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:35:09] local.INFO: TCP Data received {"connection_id":135171,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f6685a758012d77a94005f279f0000f014723..."} 
[2026-07-15 21:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6685a758012d77a94005f279f0000f014723..."} 
[2026-07-15 21:35:09] local.INFO: Processing buffer {"connection_id":135171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6685a758012d77a94005f279f0000f014723..."} 
[2026-07-15 21:35:09] local.INFO: Packet analysis {"connection_id":135171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6685"} 
[2026-07-15 21:35:09] local.INFO: Extracted packet for processing {"connection_id":135171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6685"} 
[2026-07-15 21:35:09] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":15,"angle":327,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737578496001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784131463000,"timestamp_ms":1784131463000,"timestamp_seconds":1784131463,"priority":1,"record_length":96,"hex_timestamp":"0000019f6685a758"} 
[2026-07-15 21:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 21:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":135171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":135171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":135171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737578496001,"66":25756,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737578496001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:35:09] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:35:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737578496001,"power":25756,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":135171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:35:09] local.INFO: GPS data processed {"connection_id":135171,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:35:09] local.INFO: Acknowledgment sent {"connection_id":135171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:35:40] local.INFO: TCP Data received {"connection_id":135171,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f6685a758012d77a94005f279f0000f014723..."} 
[2026-07-15 21:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6685a758012d77a94005f279f0000f014723..."} 
[2026-07-15 21:35:40] local.INFO: Processing buffer {"connection_id":135171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6685a758012d77a94005f279f0000f014723..."} 
[2026-07-15 21:35:40] local.INFO: Packet analysis {"connection_id":135171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6685"} 
[2026-07-15 21:35:40] local.INFO: Extracted packet for processing {"connection_id":135171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6685"} 
[2026-07-15 21:35:40] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":15,"angle":327,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737578496001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784131463000,"timestamp_ms":1784131463000,"timestamp_seconds":1784131463,"priority":1,"record_length":96,"hex_timestamp":"0000019f6685a758"} 
[2026-07-15 21:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 21:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":135171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":135171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":135171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737578496001,"66":25756,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737578496001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:35:40] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:35:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737578496001,"power":25756,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":135171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:35:40] local.INFO: GPS data processed {"connection_id":135171,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:35:40] local.INFO: Acknowledgment sent {"connection_id":135171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:35:50] local.INFO: TCP Data received {"connection_id":132778,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:35:50] local.INFO: Processing buffer {"connection_id":132778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:35:50] local.INFO: IMEI packet received {"connection_id":132778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":132778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:35:55] local.INFO: TCP Data received {"connection_id":132778,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:35:55] local.INFO: Processing buffer {"connection_id":132778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:35:55] local.INFO: IMEI packet received {"connection_id":132778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":132778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:35:56] local.INFO: TCP Data received {"connection_id":132778,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66840560012d196540071ff0400040004822..."} 
[2026-07-15 21:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66840560012d196540071ff0400040004822..."} 
[2026-07-15 21:35:56] local.INFO: Processing buffer {"connection_id":132778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66840560012d196540071ff0400040004822..."} 
[2026-07-15 21:35:56] local.INFO: Packet analysis {"connection_id":132778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6684"} 
[2026-07-15 21:35:56] local.INFO: Extracted packet for processing {"connection_id":132778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6684"} 
[2026-07-15 21:35:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":34,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737551360001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:35: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-07-15 21:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784131356000,"timestamp_ms":1784131356000,"timestamp_seconds":1784131356,"priority":1,"record_length":96,"hex_timestamp":"0000019f66840560"} 
[2026-07-15 21:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:35:56] 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-07-15 21:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-15 21:35:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:35:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737551360001,"66":2144,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737551360001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:35:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:35:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737551360001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":132778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:35:56] local.INFO: GPS data processed {"connection_id":132778,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:35:56] local.INFO: Acknowledgment sent {"connection_id":132778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:36:06] local.INFO: TCP Data received {"connection_id":132955,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:36:06] local.INFO: Processing buffer {"connection_id":132955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:36:06] local.INFO: IMEI packet received {"connection_id":132955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":132955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:36:10] local.INFO: TCP Data received {"connection_id":132955,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:36:10] local.INFO: Processing buffer {"connection_id":132955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:36:10] local.INFO: IMEI packet received {"connection_id":132955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":132955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:36:10] local.INFO: TCP Data received {"connection_id":132955,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f6685a758012d77a94005f279f0000f014723..."} 
[2026-07-15 21:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6685a758012d77a94005f279f0000f014723..."} 
[2026-07-15 21:36:10] local.INFO: Processing buffer {"connection_id":132955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6685a758012d77a94005f279f0000f014723..."} 
[2026-07-15 21:36:10] local.INFO: Packet analysis {"connection_id":132955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6685"} 
[2026-07-15 21:36:10] local.INFO: Extracted packet for processing {"connection_id":132955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6685"} 
[2026-07-15 21:36:10] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":15,"angle":327,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:36: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-07-15 21:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737578496001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784131463000,"timestamp_ms":1784131463000,"timestamp_seconds":1784131463,"priority":1,"record_length":96,"hex_timestamp":"0000019f6685a758"} 
[2026-07-15 21:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 21:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:36: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-07-15 21:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":132955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":132955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":132955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737578496001,"66":25756,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737578496001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:36:10] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:36:10] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737578496001,"power":25756,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":132955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:36:10] local.INFO: GPS data processed {"connection_id":132955,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:36:10] local.INFO: Acknowledgment sent {"connection_id":132955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:36:12] local.INFO: TCP Data received {"connection_id":132954,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132954,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:36:12] local.INFO: Processing buffer {"connection_id":132954,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:36:12] local.INFO: IMEI packet received {"connection_id":132954,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 21:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":132954,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:36:16] local.INFO: TCP Data received {"connection_id":132955,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f6685a758012d77a94005f279f0000f014723..."} 
[2026-07-15 21:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6685a758012d77a94005f279f0000f014723..."} 
[2026-07-15 21:36:16] local.INFO: Processing buffer {"connection_id":132955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6685a758012d77a94005f279f0000f014723..."} 
[2026-07-15 21:36:16] local.INFO: Packet analysis {"connection_id":132955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6685"} 
[2026-07-15 21:36:16] local.INFO: Extracted packet for processing {"connection_id":132955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6685"} 
[2026-07-15 21:36:16] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":15,"angle":327,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737578496001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:36:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784131463000,"timestamp_ms":1784131463000,"timestamp_seconds":1784131463,"priority":1,"record_length":96,"hex_timestamp":"0000019f6685a758"} 
[2026-07-15 21:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 21:36:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:36:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737578496001,"66":25756,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737578496001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:36:16] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:36:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737578496001,"power":25756,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":132955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:36:16] local.INFO: GPS data processed {"connection_id":132955,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:36:16] local.INFO: Acknowledgment sent {"connection_id":132955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:36:28] local.INFO: TCP Data received {"connection_id":132778,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66840560012d196540071ff0400040004822..."} 
[2026-07-15 21:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66840560012d196540071ff0400040004822..."} 
[2026-07-15 21:36:28] local.INFO: Processing buffer {"connection_id":132778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66840560012d196540071ff0400040004822..."} 
[2026-07-15 21:36:28] local.INFO: Packet analysis {"connection_id":132778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6684"} 
[2026-07-15 21:36:28] local.INFO: Extracted packet for processing {"connection_id":132778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6684"} 
[2026-07-15 21:36:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":34,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737551360001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21: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-07-15 21:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784131356000,"timestamp_ms":1784131356000,"timestamp_seconds":1784131356,"priority":1,"record_length":96,"hex_timestamp":"0000019f66840560"} 
[2026-07-15 21:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:36:28] 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-07-15 21:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-15 21:36:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737551360001,"66":2144,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737551360001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:36:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:36:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737551360001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":132778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493074,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:36:28] local.INFO: GPS data processed {"connection_id":132778,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:36:28] local.INFO: Acknowledgment sent {"connection_id":132778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:36:34] local.INFO: TCP Data received {"connection_id":133817,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133817,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:36:34] local.INFO: Processing buffer {"connection_id":133817,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:36:34] local.INFO: IMEI packet received {"connection_id":133817,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 21:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":133817,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:36:50] local.INFO: TCP Data received {"connection_id":133818,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:36:50] local.INFO: Processing buffer {"connection_id":133818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:36:50] local.INFO: IMEI packet received {"connection_id":133818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":133818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:36:55] local.INFO: TCP Data received {"connection_id":133818,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:36:55] local.INFO: Processing buffer {"connection_id":133818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:36:55] local.INFO: IMEI packet received {"connection_id":133818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":133818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:36:56] local.INFO: TCP Data received {"connection_id":133818,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66840560012d196540071ff0400040004822..."} 
[2026-07-15 21:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66840560012d196540071ff0400040004822..."} 
[2026-07-15 21:36:56] local.INFO: Processing buffer {"connection_id":133818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66840560012d196540071ff0400040004822..."} 
[2026-07-15 21:36:56] local.INFO: Packet analysis {"connection_id":133818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6684"} 
[2026-07-15 21:36:56] local.INFO: Extracted packet for processing {"connection_id":133818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6684"} 
[2026-07-15 21:36:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":34,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737551360001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:36: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-07-15 21:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784131356000,"timestamp_ms":1784131356000,"timestamp_seconds":1784131356,"priority":1,"record_length":96,"hex_timestamp":"0000019f66840560"} 
[2026-07-15 21:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:36:56] 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-07-15 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-15 21:36:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737551360001,"66":2144,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737551360001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:36:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:36:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737551360001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":133818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:36:56] local.INFO: GPS data processed {"connection_id":133818,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:36:56] local.INFO: Acknowledgment sent {"connection_id":133818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:37:00] local.INFO: TCP Data received {"connection_id":135172,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:37:00] local.INFO: Processing buffer {"connection_id":135172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:37:00] local.INFO: IMEI packet received {"connection_id":135172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":135172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:37:05] local.INFO: TCP Data received {"connection_id":135172,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:37:05] local.INFO: Processing buffer {"connection_id":135172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:37:05] local.INFO: IMEI packet received {"connection_id":135172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":135172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:37:06] local.INFO: TCP Data received {"connection_id":135172,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f6685a758012d77a94005f279f0000f014723..."} 
[2026-07-15 21:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6685a758012d77a94005f279f0000f014723..."} 
[2026-07-15 21:37:06] local.INFO: Processing buffer {"connection_id":135172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6685a758012d77a94005f279f0000f014723..."} 
[2026-07-15 21:37:06] local.INFO: Packet analysis {"connection_id":135172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6685"} 
[2026-07-15 21:37:06] local.INFO: Extracted packet for processing {"connection_id":135172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6685"} 
[2026-07-15 21:37:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":15,"angle":327,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737578496001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784131463000,"timestamp_ms":1784131463000,"timestamp_seconds":1784131463,"priority":1,"record_length":96,"hex_timestamp":"0000019f6685a758"} 
[2026-07-15 21:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 21:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737578496001,"66":25756,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737578496001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:37:06] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:37:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737578496001,"power":25756,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":135172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:37:06] local.INFO: GPS data processed {"connection_id":135172,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:37:06] local.INFO: Acknowledgment sent {"connection_id":135172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:37:28] local.INFO: TCP Data received {"connection_id":133818,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66840560012d196540071ff0400040004822..."} 
[2026-07-15 21:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66840560012d196540071ff0400040004822..."} 
[2026-07-15 21:37:28] local.INFO: Processing buffer {"connection_id":133818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66840560012d196540071ff0400040004822..."} 
[2026-07-15 21:37:28] local.INFO: Packet analysis {"connection_id":133818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6684"} 
[2026-07-15 21:37:28] local.INFO: Extracted packet for processing {"connection_id":133818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6684"} 
[2026-07-15 21:37:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":34,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737551360001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:37:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:37: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-07-15 21:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784131356000,"timestamp_ms":1784131356000,"timestamp_seconds":1784131356,"priority":1,"record_length":96,"hex_timestamp":"0000019f66840560"} 
[2026-07-15 21:37:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:37:28] 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-07-15 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-15 21:37:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:37:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":133818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":133818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":133818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:37:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737551360001,"66":2144,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737551360001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:37:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:37:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:37:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737551360001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":133818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:37:28] local.INFO: GPS data processed {"connection_id":133818,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:37:28] local.INFO: Acknowledgment sent {"connection_id":133818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:37:38] local.INFO: TCP Data received {"connection_id":135172,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f6685a758012d77a94005f279f0000f014723..."} 
[2026-07-15 21:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6685a758012d77a94005f279f0000f014723..."} 
[2026-07-15 21:37:38] local.INFO: Processing buffer {"connection_id":135172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6685a758012d77a94005f279f0000f014723..."} 
[2026-07-15 21:37:38] local.INFO: Packet analysis {"connection_id":135172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6685"} 
[2026-07-15 21:37:38] local.INFO: Extracted packet for processing {"connection_id":135172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6685"} 
[2026-07-15 21:37:38] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":15,"angle":327,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737578496001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784131463000,"timestamp_ms":1784131463000,"timestamp_seconds":1784131463,"priority":1,"record_length":96,"hex_timestamp":"0000019f6685a758"} 
[2026-07-15 21:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 21:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":135172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":135172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":135172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737578496001,"66":25756,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737578496001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:37:38] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:37:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737578496001,"power":25756,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":135172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:37:38] local.INFO: GPS data processed {"connection_id":135172,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:37:38] local.INFO: Acknowledgment sent {"connection_id":135172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:37:49] local.INFO: TCP Data received {"connection_id":133819,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:37:49] local.INFO: Processing buffer {"connection_id":133819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:37:49] local.INFO: IMEI packet received {"connection_id":133819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":133819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:37:55] local.INFO: TCP Data received {"connection_id":133819,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:37:55] local.INFO: Processing buffer {"connection_id":133819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:37:55] local.INFO: IMEI packet received {"connection_id":133819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":133819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:37:56] local.INFO: TCP Data received {"connection_id":133819,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f668881d0012d196540071ff0400040004826..."} 
[2026-07-15 21:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f668881d0012d196540071ff0400040004826..."} 
[2026-07-15 21:37:56] local.INFO: Processing buffer {"connection_id":133819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f668881d0012d196540071ff0400040004826..."} 
[2026-07-15 21:37:56] local.INFO: Packet analysis {"connection_id":133819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6688"} 
[2026-07-15 21:37:56] local.INFO: Extracted packet for processing {"connection_id":133819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6688"} 
[2026-07-15 21:37:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737627136001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21: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-07-15 21:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784131650000,"timestamp_ms":1784131650000,"timestamp_seconds":1784131650,"priority":1,"record_length":96,"hex_timestamp":"0000019f668881d0"} 
[2026-07-15 21:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:37:56] 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-07-15 21:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 21:37:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737627136001,"66":2144,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737627136001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:37:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:37:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737627136001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":133819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:37:56] local.INFO: GPS data processed {"connection_id":133819,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:37:56] local.INFO: Acknowledgment sent {"connection_id":133819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:38:00] local.INFO: TCP Data received {"connection_id":135174,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:38:00] local.INFO: Processing buffer {"connection_id":135174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:38:00] local.INFO: IMEI packet received {"connection_id":135174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":135174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:38:05] local.INFO: TCP Data received {"connection_id":135174,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:38:05] local.INFO: Processing buffer {"connection_id":135174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:38:05] local.INFO: IMEI packet received {"connection_id":135174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":135174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:38:06] local.INFO: TCP Data received {"connection_id":135174,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f6685a758012d77a94005f279f0000f014723..."} 
[2026-07-15 21:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6685a758012d77a94005f279f0000f014723..."} 
[2026-07-15 21:38:06] local.INFO: Processing buffer {"connection_id":135174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6685a758012d77a94005f279f0000f014723..."} 
[2026-07-15 21:38:06] local.INFO: Packet analysis {"connection_id":135174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6685"} 
[2026-07-15 21:38:06] local.INFO: Extracted packet for processing {"connection_id":135174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6685"} 
[2026-07-15 21:38:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":15,"angle":327,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737578496001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784131463000,"timestamp_ms":1784131463000,"timestamp_seconds":1784131463,"priority":1,"record_length":96,"hex_timestamp":"0000019f6685a758"} 
[2026-07-15 21:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 21:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737578496001,"66":25756,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737578496001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:38:06] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:38:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737578496001,"power":25756,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":135174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:38:06] local.INFO: GPS data processed {"connection_id":135174,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:38:06] local.INFO: Acknowledgment sent {"connection_id":135174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:38:28] local.INFO: TCP Data received {"connection_id":133819,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f668881d0012d196540071ff0400040004826..."} 
[2026-07-15 21:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f668881d0012d196540071ff0400040004826..."} 
[2026-07-15 21:38:28] local.INFO: Processing buffer {"connection_id":133819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f668881d0012d196540071ff0400040004826..."} 
[2026-07-15 21:38:28] local.INFO: Packet analysis {"connection_id":133819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6688"} 
[2026-07-15 21:38:28] local.INFO: Extracted packet for processing {"connection_id":133819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6688"} 
[2026-07-15 21:38:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737627136001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:38:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:38: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-07-15 21:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784131650000,"timestamp_ms":1784131650000,"timestamp_seconds":1784131650,"priority":1,"record_length":96,"hex_timestamp":"0000019f668881d0"} 
[2026-07-15 21:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:38:28] 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-07-15 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 21:38:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":133819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":133819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":133819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:38:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737627136001,"66":2144,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737627136001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:38:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:38:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737627136001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":133819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:38:28] local.INFO: GPS data processed {"connection_id":133819,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:38:28] local.INFO: Acknowledgment sent {"connection_id":133819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:38:37] local.INFO: TCP Data received {"connection_id":135174,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f6685a758012d77a94005f279f0000f014723..."} 
[2026-07-15 21:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6685a758012d77a94005f279f0000f014723..."} 
[2026-07-15 21:38:37] local.INFO: Processing buffer {"connection_id":135174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6685a758012d77a94005f279f0000f014723..."} 
[2026-07-15 21:38:37] local.INFO: Packet analysis {"connection_id":135174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6685"} 
[2026-07-15 21:38:37] local.INFO: Extracted packet for processing {"connection_id":135174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6685"} 
[2026-07-15 21:38:37] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":15,"angle":327,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737578496001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784131463000,"timestamp_ms":1784131463000,"timestamp_seconds":1784131463,"priority":1,"record_length":96,"hex_timestamp":"0000019f6685a758"} 
[2026-07-15 21:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 21:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":135174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":135174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":135174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737578496001,"66":25756,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737578496001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:38:37] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:38:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737578496001,"power":25756,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":135174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:38:37] local.INFO: GPS data processed {"connection_id":135174,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:38:37] local.INFO: Acknowledgment sent {"connection_id":135174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:38:55] local.INFO: TCP Data received {"connection_id":132779,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:38:55] local.INFO: Processing buffer {"connection_id":132779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:38:55] local.INFO: IMEI packet received {"connection_id":132779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":132779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:39:00] local.INFO: TCP Data received {"connection_id":132779,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:39:00] local.INFO: Processing buffer {"connection_id":132779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:39:00] local.INFO: IMEI packet received {"connection_id":132779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":132779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:39:01] local.INFO: TCP Data received {"connection_id":132779,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f668881d0012d196540071ff0400040004826..."} 
[2026-07-15 21:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f668881d0012d196540071ff0400040004826..."} 
[2026-07-15 21:39:01] local.INFO: Processing buffer {"connection_id":132779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f668881d0012d196540071ff0400040004826..."} 
[2026-07-15 21:39:01] local.INFO: Packet analysis {"connection_id":132779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6688"} 
[2026-07-15 21:39:01] local.INFO: Extracted packet for processing {"connection_id":132779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6688"} 
[2026-07-15 21:39:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737627136001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:39:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:39:01] 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-07-15 21:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784131650000,"timestamp_ms":1784131650000,"timestamp_seconds":1784131650,"priority":1,"record_length":96,"hex_timestamp":"0000019f668881d0"} 
[2026-07-15 21:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:39:01] 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-07-15 21:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 21:39:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:39:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":132779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":132779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":132779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:39:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737627136001,"66":2144,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737627136001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:39:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:39:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:39:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737627136001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":132779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:39:02] local.INFO: GPS data processed {"connection_id":132779,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:39:02] local.INFO: Acknowledgment sent {"connection_id":132779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:39:06] local.INFO: TCP Data received {"connection_id":135175,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:39:06] local.INFO: Processing buffer {"connection_id":135175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:39:06] local.INFO: IMEI packet received {"connection_id":135175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":135175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:39:06] local.INFO: TCP Data received {"connection_id":132779,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f668881d0012d196540071ff0400040004826..."} 
[2026-07-15 21:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f668881d0012d196540071ff0400040004826..."} 
[2026-07-15 21:39:06] local.INFO: Processing buffer {"connection_id":132779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f668881d0012d196540071ff0400040004826..."} 
[2026-07-15 21:39:06] local.INFO: Packet analysis {"connection_id":132779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6688"} 
[2026-07-15 21:39:06] local.INFO: Extracted packet for processing {"connection_id":132779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6688"} 
[2026-07-15 21:39:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737627136001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:39:06] 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-07-15 21:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784131650000,"timestamp_ms":1784131650000,"timestamp_seconds":1784131650,"priority":1,"record_length":96,"hex_timestamp":"0000019f668881d0"} 
[2026-07-15 21:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 21:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737627136001,"66":2144,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737627136001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:39:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:39:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737627136001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":132779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:39:06] local.INFO: GPS data processed {"connection_id":132779,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:39:06] local.INFO: Acknowledgment sent {"connection_id":132779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:39:10] local.INFO: TCP Data received {"connection_id":135175,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:39:10] local.INFO: Processing buffer {"connection_id":135175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:39:10] local.INFO: IMEI packet received {"connection_id":135175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":135175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:39:11] local.INFO: TCP Data received {"connection_id":135175,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f6685a758012d77a94005f279f0000f014723..."} 
[2026-07-15 21:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6685a758012d77a94005f279f0000f014723..."} 
[2026-07-15 21:39:11] local.INFO: Processing buffer {"connection_id":135175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6685a758012d77a94005f279f0000f014723..."} 
[2026-07-15 21:39:11] local.INFO: Packet analysis {"connection_id":135175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6685"} 
[2026-07-15 21:39:11] local.INFO: Extracted packet for processing {"connection_id":135175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6685"} 
[2026-07-15 21:39:11] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":15,"angle":327,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737578496001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784131463000,"timestamp_ms":1784131463000,"timestamp_seconds":1784131463,"priority":1,"record_length":96,"hex_timestamp":"0000019f6685a758"} 
[2026-07-15 21:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 21:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":135175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":135175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":135175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737578496001,"66":25756,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737578496001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:39:11] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:39:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737578496001,"power":25756,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":135175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:39:11] local.INFO: GPS data processed {"connection_id":135175,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:39:11] local.INFO: Acknowledgment sent {"connection_id":135175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:39:48] local.INFO: TCP Data received {"connection_id":135175,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f6685a758012d77a94005f279f0000f014723..."} 
[2026-07-15 21:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6685a758012d77a94005f279f0000f014723..."} 
[2026-07-15 21:39:48] local.INFO: Processing buffer {"connection_id":135175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6685a758012d77a94005f279f0000f014723..."} 
[2026-07-15 21:39:48] local.INFO: Packet analysis {"connection_id":135175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6685"} 
[2026-07-15 21:39:48] local.INFO: Extracted packet for processing {"connection_id":135175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6685"} 
[2026-07-15 21:39:48] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":15,"angle":327,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737578496001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784131463000,"timestamp_ms":1784131463000,"timestamp_seconds":1784131463,"priority":1,"record_length":96,"hex_timestamp":"0000019f6685a758"} 
[2026-07-15 21:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:39:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 21:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:39:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":135175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":135175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":135175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:39:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737578496001,"66":25756,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737578496001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:39:48] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:39:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737578496001,"power":25756,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":135175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:39:48] local.INFO: GPS data processed {"connection_id":135175,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:39:48] local.INFO: Acknowledgment sent {"connection_id":135175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:39:49] local.INFO: TCP Data received {"connection_id":132780,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:39:49] local.INFO: Processing buffer {"connection_id":132780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:39:49] local.INFO: IMEI packet received {"connection_id":132780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":132780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:39:55] local.INFO: TCP Data received {"connection_id":132780,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:39:55] local.INFO: Processing buffer {"connection_id":132780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:39:55] local.INFO: IMEI packet received {"connection_id":132780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":132780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:39:57] local.INFO: TCP Data received {"connection_id":132780,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f668881d0012d196540071ff0400040004826..."} 
[2026-07-15 21:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f668881d0012d196540071ff0400040004826..."} 
[2026-07-15 21:39:57] local.INFO: Processing buffer {"connection_id":132780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f668881d0012d196540071ff0400040004826..."} 
[2026-07-15 21:39:57] local.INFO: Packet analysis {"connection_id":132780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6688"} 
[2026-07-15 21:39:57] local.INFO: Extracted packet for processing {"connection_id":132780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6688"} 
[2026-07-15 21:39:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737627136001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:39:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:39:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:39: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-07-15 21:39:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784131650000,"timestamp_ms":1784131650000,"timestamp_seconds":1784131650,"priority":1,"record_length":96,"hex_timestamp":"0000019f668881d0"} 
[2026-07-15 21:39:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:39:57] 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-07-15 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 21:39:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:39:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:39:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:39:57] local.INFO: Teltonika packet parsed successfully {"connection_id":132780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:39:57] local.INFO: Passing IMEI to GPS processor {"connection_id":132780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:39:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":132780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:39:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:39:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:39:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:39:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737627136001,"66":2144,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:39:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:39:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:39:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737627136001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:39:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:39:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:39:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:39:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:39:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737627136001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":132780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:39:57] local.INFO: GPS data processed {"connection_id":132780,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:39:57] local.INFO: Acknowledgment sent {"connection_id":132780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:40:00] local.INFO: TCP Data received {"connection_id":135176,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:40:00] local.INFO: Processing buffer {"connection_id":135176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:40:00] local.INFO: IMEI packet received {"connection_id":135176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":135176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:40:02] local.INFO: TCP Data received {"connection_id":135176,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:40:02] local.INFO: Processing buffer {"connection_id":135176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:40:02] local.INFO: IMEI packet received {"connection_id":135176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":135176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:40:06] local.INFO: TCP Data received {"connection_id":135176,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:40:06] local.INFO: Processing buffer {"connection_id":135176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:40:06] local.INFO: IMEI packet received {"connection_id":135176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":135176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:40:06] local.INFO: TCP Data received {"connection_id":135176,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f668a3f20012d77a94005f279f0000f014725..."} 
[2026-07-15 21:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f668a3f20012d77a94005f279f0000f014725..."} 
[2026-07-15 21:40:06] local.INFO: Processing buffer {"connection_id":135176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f668a3f20012d77a94005f279f0000f014725..."} 
[2026-07-15 21:40:06] local.INFO: Packet analysis {"connection_id":135176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f668a"} 
[2026-07-15 21:40:06] local.INFO: Extracted packet for processing {"connection_id":135176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f668a"} 
[2026-07-15 21:40:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":15,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737654528001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784131764000,"timestamp_ms":1784131764000,"timestamp_seconds":1784131764,"priority":1,"record_length":96,"hex_timestamp":"0000019f668a3f20"} 
[2026-07-15 21:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 21:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737654528001,"66":25778,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737654528001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:40:06] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:40:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737654528001,"power":25778,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":135176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:40:06] local.INFO: GPS data processed {"connection_id":135176,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:40:06] local.INFO: Acknowledgment sent {"connection_id":135176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:40:29] local.INFO: TCP Data received {"connection_id":132780,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f668881d0012d196540071ff0400040004826..."} 
[2026-07-15 21:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f668881d0012d196540071ff0400040004826..."} 
[2026-07-15 21:40:29] local.INFO: Processing buffer {"connection_id":132780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f668881d0012d196540071ff0400040004826..."} 
[2026-07-15 21:40:29] local.INFO: Packet analysis {"connection_id":132780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6688"} 
[2026-07-15 21:40:29] local.INFO: Extracted packet for processing {"connection_id":132780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6688"} 
[2026-07-15 21:40:29] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737627136001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:40:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:40: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-07-15 21:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784131650000,"timestamp_ms":1784131650000,"timestamp_seconds":1784131650,"priority":1,"record_length":96,"hex_timestamp":"0000019f668881d0"} 
[2026-07-15 21:40:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:40:29] 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-07-15 21:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 21:40:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:40:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":132780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":132780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":132780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:40:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737627136001,"66":2144,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737627136001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:40:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:40:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:40:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737627136001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":132780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:40:29] local.INFO: GPS data processed {"connection_id":132780,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:40:29] local.INFO: Acknowledgment sent {"connection_id":132780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:40:38] local.INFO: TCP Data received {"connection_id":135176,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f668a3f20012d77a94005f279f0000f014725..."} 
[2026-07-15 21:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f668a3f20012d77a94005f279f0000f014725..."} 
[2026-07-15 21:40:38] local.INFO: Processing buffer {"connection_id":135176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f668a3f20012d77a94005f279f0000f014725..."} 
[2026-07-15 21:40:38] local.INFO: Packet analysis {"connection_id":135176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f668a"} 
[2026-07-15 21:40:38] local.INFO: Extracted packet for processing {"connection_id":135176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f668a"} 
[2026-07-15 21:40:38] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":15,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737654528001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784131764000,"timestamp_ms":1784131764000,"timestamp_seconds":1784131764,"priority":1,"record_length":96,"hex_timestamp":"0000019f668a3f20"} 
[2026-07-15 21:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 21:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":135176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":135176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":135176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737654528001,"66":25778,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737654528001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:40:38] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:40:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737654528001,"power":25778,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":135176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:40:38] local.INFO: GPS data processed {"connection_id":135176,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:40:38] local.INFO: Acknowledgment sent {"connection_id":135176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:40:50] local.INFO: TCP Data received {"connection_id":133822,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:40:50] local.INFO: Processing buffer {"connection_id":133822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:40:50] local.INFO: IMEI packet received {"connection_id":133822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":133822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:40:55] local.INFO: TCP Data received {"connection_id":133822,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:40:55] local.INFO: Processing buffer {"connection_id":133822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:40:55] local.INFO: IMEI packet received {"connection_id":133822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":133822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:40:56] local.INFO: TCP Data received {"connection_id":133822,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f668881d0012d196540071ff0400040004826..."} 
[2026-07-15 21:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f668881d0012d196540071ff0400040004826..."} 
[2026-07-15 21:40:56] local.INFO: Processing buffer {"connection_id":133822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f668881d0012d196540071ff0400040004826..."} 
[2026-07-15 21:40:56] local.INFO: Packet analysis {"connection_id":133822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6688"} 
[2026-07-15 21:40:56] local.INFO: Extracted packet for processing {"connection_id":133822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6688"} 
[2026-07-15 21:40:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737627136001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:40: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-07-15 21:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784131650000,"timestamp_ms":1784131650000,"timestamp_seconds":1784131650,"priority":1,"record_length":96,"hex_timestamp":"0000019f668881d0"} 
[2026-07-15 21:40:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:40:56] 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-07-15 21:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 21:40:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:40:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:40:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737627136001,"66":2144,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737627136001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:40:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:40:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737627136001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":133822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:40:56] local.INFO: GPS data processed {"connection_id":133822,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:40:56] local.INFO: Acknowledgment sent {"connection_id":133822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:41:00] local.INFO: TCP Data received {"connection_id":133823,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:41:00] local.INFO: Processing buffer {"connection_id":133823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:41:00] local.INFO: IMEI packet received {"connection_id":133823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":133823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:41:05] local.INFO: TCP Data received {"connection_id":133823,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:41:05] local.INFO: Processing buffer {"connection_id":133823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:41:05] local.INFO: IMEI packet received {"connection_id":133823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":133823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:41:06] local.INFO: TCP Data received {"connection_id":133823,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f668a3f20012d77a94005f279f0000f014725..."} 
[2026-07-15 21:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f668a3f20012d77a94005f279f0000f014725..."} 
[2026-07-15 21:41:06] local.INFO: Processing buffer {"connection_id":133823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f668a3f20012d77a94005f279f0000f014725..."} 
[2026-07-15 21:41:06] local.INFO: Packet analysis {"connection_id":133823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f668a"} 
[2026-07-15 21:41:06] local.INFO: Extracted packet for processing {"connection_id":133823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f668a"} 
[2026-07-15 21:41:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":15,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737654528001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784131764000,"timestamp_ms":1784131764000,"timestamp_seconds":1784131764,"priority":1,"record_length":96,"hex_timestamp":"0000019f668a3f20"} 
[2026-07-15 21:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 21:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737654528001,"66":25778,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737654528001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:41:06] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:41:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737654528001,"power":25778,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":133823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:41:06] local.INFO: GPS data processed {"connection_id":133823,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:41:06] local.INFO: Acknowledgment sent {"connection_id":133823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:41:28] local.INFO: TCP Data received {"connection_id":133822,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f668881d0012d196540071ff0400040004826..."} 
[2026-07-15 21:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f668881d0012d196540071ff0400040004826..."} 
[2026-07-15 21:41:28] local.INFO: Processing buffer {"connection_id":133822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f668881d0012d196540071ff0400040004826..."} 
[2026-07-15 21:41:28] local.INFO: Packet analysis {"connection_id":133822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6688"} 
[2026-07-15 21:41:28] local.INFO: Extracted packet for processing {"connection_id":133822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6688"} 
[2026-07-15 21:41:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:41: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-07-15 21:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737627136001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:41: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-07-15 21:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784131650000,"timestamp_ms":1784131650000,"timestamp_seconds":1784131650,"priority":1,"record_length":96,"hex_timestamp":"0000019f668881d0"} 
[2026-07-15 21:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:41:28] 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-07-15 21:41: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":96,"data_length":795,"current_offset":136} 
[2026-07-15 21:41:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:41: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-07-15 21:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":133822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":133822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":133822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737627136001,"66":2144,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737627136001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:41:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:41:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737627136001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":133822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:41:28] local.INFO: GPS data processed {"connection_id":133822,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:41:28] local.INFO: Acknowledgment sent {"connection_id":133822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:41:38] local.INFO: TCP Data received {"connection_id":133823,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f668a3f20012d77a94005f279f0000f014725..."} 
[2026-07-15 21:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f668a3f20012d77a94005f279f0000f014725..."} 
[2026-07-15 21:41:38] local.INFO: Processing buffer {"connection_id":133823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f668a3f20012d77a94005f279f0000f014725..."} 
[2026-07-15 21:41:38] local.INFO: Packet analysis {"connection_id":133823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f668a"} 
[2026-07-15 21:41:38] local.INFO: Extracted packet for processing {"connection_id":133823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f668a"} 
[2026-07-15 21:41:38] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":15,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737654528001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784131764000,"timestamp_ms":1784131764000,"timestamp_seconds":1784131764,"priority":1,"record_length":96,"hex_timestamp":"0000019f668a3f20"} 
[2026-07-15 21:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 21:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737654528001,"66":25778,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737654528001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:41:38] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:41:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737654528001,"power":25778,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":133823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:41:38] local.INFO: GPS data processed {"connection_id":133823,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:41:38] local.INFO: Acknowledgment sent {"connection_id":133823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:41:49] local.INFO: TCP Data received {"connection_id":132957,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:41:49] local.INFO: Processing buffer {"connection_id":132957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:41:49] local.INFO: IMEI packet received {"connection_id":132957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":132957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:41:55] local.INFO: TCP Data received {"connection_id":132957,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:41:55] local.INFO: Processing buffer {"connection_id":132957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:41:55] local.INFO: IMEI packet received {"connection_id":132957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":132957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:41:57] local.INFO: TCP Data received {"connection_id":132957,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f668881d0012d196540071ff0400040004826..."} 
[2026-07-15 21:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f668881d0012d196540071ff0400040004826..."} 
[2026-07-15 21:41:57] local.INFO: Processing buffer {"connection_id":132957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f668881d0012d196540071ff0400040004826..."} 
[2026-07-15 21:41:57] local.INFO: Packet analysis {"connection_id":132957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6688"} 
[2026-07-15 21:41:57] local.INFO: Extracted packet for processing {"connection_id":132957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6688"} 
[2026-07-15 21:41:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:41:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737627136001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:41:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:41: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-07-15 21:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784131650000,"timestamp_ms":1784131650000,"timestamp_seconds":1784131650,"priority":1,"record_length":96,"hex_timestamp":"0000019f668881d0"} 
[2026-07-15 21:41:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:41:57] 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-07-15 21:41:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 21:41:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:41:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:41:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":132957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":132957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":132957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:41:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737627136001,"66":2144,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737627136001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:41:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:41:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:41:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737627136001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":132957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:41:57] local.INFO: GPS data processed {"connection_id":132957,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:41:57] local.INFO: Acknowledgment sent {"connection_id":132957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:42:00] local.INFO: TCP Data received {"connection_id":135178,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:42:00] local.INFO: Processing buffer {"connection_id":135178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:42:00] local.INFO: IMEI packet received {"connection_id":135178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":135178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:42:05] local.INFO: TCP Data received {"connection_id":135178,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:42:05] local.INFO: Processing buffer {"connection_id":135178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:42:05] local.INFO: IMEI packet received {"connection_id":135178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":135178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:42:06] local.INFO: TCP Data received {"connection_id":135178,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f668a3f20012d77a94005f279f0000f014725..."} 
[2026-07-15 21:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f668a3f20012d77a94005f279f0000f014725..."} 
[2026-07-15 21:42:06] local.INFO: Processing buffer {"connection_id":135178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f668a3f20012d77a94005f279f0000f014725..."} 
[2026-07-15 21:42:06] local.INFO: Packet analysis {"connection_id":135178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f668a"} 
[2026-07-15 21:42:06] local.INFO: Extracted packet for processing {"connection_id":135178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f668a"} 
[2026-07-15 21:42:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":15,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737654528001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784131764000,"timestamp_ms":1784131764000,"timestamp_seconds":1784131764,"priority":1,"record_length":96,"hex_timestamp":"0000019f668a3f20"} 
[2026-07-15 21:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 21:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737654528001,"66":25778,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737654528001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:42:06] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:42:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737654528001,"power":25778,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":135178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:42:06] local.INFO: GPS data processed {"connection_id":135178,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:42:06] local.INFO: Acknowledgment sent {"connection_id":135178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:42:28] local.INFO: TCP Data received {"connection_id":132957,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f668881d0012d196540071ff0400040004826..."} 
[2026-07-15 21:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f668881d0012d196540071ff0400040004826..."} 
[2026-07-15 21:42:28] local.INFO: Processing buffer {"connection_id":132957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f668881d0012d196540071ff0400040004826..."} 
[2026-07-15 21:42:28] local.INFO: Packet analysis {"connection_id":132957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6688"} 
[2026-07-15 21:42:28] local.INFO: Extracted packet for processing {"connection_id":132957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6688"} 
[2026-07-15 21:42:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737627136001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:42: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-07-15 21:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784131650000,"timestamp_ms":1784131650000,"timestamp_seconds":1784131650,"priority":1,"record_length":96,"hex_timestamp":"0000019f668881d0"} 
[2026-07-15 21:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:42:28] 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-07-15 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 21:42:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737627136001,"66":2144,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737627136001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:42:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:42:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737627136001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:42:29] local.INFO: DEBUG: GPS processor result {"connection_id":132957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:42:29] local.INFO: GPS data processed {"connection_id":132957,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:42:29] local.INFO: Acknowledgment sent {"connection_id":132957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:42:33] local.INFO: TCP Data received {"connection_id":135179,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135179,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:42:33] local.INFO: Processing buffer {"connection_id":135179,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:42:33] local.INFO: IMEI packet received {"connection_id":135179,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 21:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":135179,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:42:38] local.INFO: TCP Data received {"connection_id":135178,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f668a3f20012d77a94005f279f0000f014725..."} 
[2026-07-15 21:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f668a3f20012d77a94005f279f0000f014725..."} 
[2026-07-15 21:42:38] local.INFO: Processing buffer {"connection_id":135178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f668a3f20012d77a94005f279f0000f014725..."} 
[2026-07-15 21:42:38] local.INFO: Packet analysis {"connection_id":135178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f668a"} 
[2026-07-15 21:42:38] local.INFO: Extracted packet for processing {"connection_id":135178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f668a"} 
[2026-07-15 21:42:38] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":15,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737654528001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784131764000,"timestamp_ms":1784131764000,"timestamp_seconds":1784131764,"priority":1,"record_length":96,"hex_timestamp":"0000019f668a3f20"} 
[2026-07-15 21:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 21:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":135178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":135178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":135178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737654528001,"66":25778,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737654528001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:42:38] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:42:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737654528001,"power":25778,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":135178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:42:38] local.INFO: GPS data processed {"connection_id":135178,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:42:38] local.INFO: Acknowledgment sent {"connection_id":135178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:42:49] local.INFO: TCP Data received {"connection_id":132958,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:42:49] local.INFO: Processing buffer {"connection_id":132958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:42:49] local.INFO: IMEI packet received {"connection_id":132958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":132958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:42:55] local.INFO: TCP Data received {"connection_id":132958,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:42:55] local.INFO: Processing buffer {"connection_id":132958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:42:55] local.INFO: IMEI packet received {"connection_id":132958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":132958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:42:57] local.INFO: TCP Data received {"connection_id":132958,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f668ceab8012d196540071ff0400040004828..."} 
[2026-07-15 21:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f668ceab8012d196540071ff0400040004828..."} 
[2026-07-15 21:42:57] local.INFO: Processing buffer {"connection_id":132958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f668ceab8012d196540071ff0400040004828..."} 
[2026-07-15 21:42:57] local.INFO: Packet analysis {"connection_id":132958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f668c"} 
[2026-07-15 21:42:57] local.INFO: Extracted packet for processing {"connection_id":132958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f668c"} 
[2026-07-15 21:42:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737702400001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:42:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:42: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-07-15 21:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784131939000,"timestamp_ms":1784131939000,"timestamp_seconds":1784131939,"priority":1,"record_length":96,"hex_timestamp":"0000019f668ceab8"} 
[2026-07-15 21:42:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:42:57] 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-07-15 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 21:42:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:42:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":132958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":132958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":132958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:42:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:42:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737702400001,"66":2177,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:42:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:42:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:42:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737702400001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:42:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:42:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:42:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:42:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:42:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737702400001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":132958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:42:57] local.INFO: GPS data processed {"connection_id":132958,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:42:57] local.INFO: Acknowledgment sent {"connection_id":132958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:43:00] local.INFO: TCP Data received {"connection_id":132781,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:43:00] local.INFO: Processing buffer {"connection_id":132781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:43:00] local.INFO: IMEI packet received {"connection_id":132781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":132781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:43:05] local.INFO: TCP Data received {"connection_id":132781,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:43:05] local.INFO: Processing buffer {"connection_id":132781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:43:05] local.INFO: IMEI packet received {"connection_id":132781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":132781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:43:22] local.INFO: TCP Data received {"connection_id":132781,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f668a3f20012d77a94005f279f0000f014725..."} 
[2026-07-15 21:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f668a3f20012d77a94005f279f0000f014725..."} 
[2026-07-15 21:43:22] local.INFO: Processing buffer {"connection_id":132781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f668a3f20012d77a94005f279f0000f014725..."} 
[2026-07-15 21:43:22] local.INFO: Packet analysis {"connection_id":132781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f668a"} 
[2026-07-15 21:43:22] local.INFO: Extracted packet for processing {"connection_id":132781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f668a"} 
[2026-07-15 21:43:22] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":15,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737654528001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:43:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784131764000,"timestamp_ms":1784131764000,"timestamp_seconds":1784131764,"priority":1,"record_length":96,"hex_timestamp":"0000019f668a3f20"} 
[2026-07-15 21:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:43:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 21:43:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":132781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":132781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":132781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737654528001,"66":25778,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737654528001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:43:22] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:43:22] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737654528001,"power":25778,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":132781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:43:22] local.INFO: GPS data processed {"connection_id":132781,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:43:22] local.INFO: Acknowledgment sent {"connection_id":132781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:43:28] local.INFO: TCP Data received {"connection_id":132958,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f668ceab8012d196540071ff0400040004828..."} 
[2026-07-15 21:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f668ceab8012d196540071ff0400040004828..."} 
[2026-07-15 21:43:28] local.INFO: Processing buffer {"connection_id":132958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f668ceab8012d196540071ff0400040004828..."} 
[2026-07-15 21:43:28] local.INFO: Packet analysis {"connection_id":132958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f668c"} 
[2026-07-15 21:43:28] local.INFO: Extracted packet for processing {"connection_id":132958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f668c"} 
[2026-07-15 21:43:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737702400001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:43: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-07-15 21:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784131939000,"timestamp_ms":1784131939000,"timestamp_seconds":1784131939,"priority":1,"record_length":96,"hex_timestamp":"0000019f668ceab8"} 
[2026-07-15 21:43:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:43:28] 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-07-15 21:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 21:43:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:43:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:43:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:43:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737702400001,"66":2177,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737702400001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:43:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:43:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737702400001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":132958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:43:28] local.INFO: GPS data processed {"connection_id":132958,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:43:28] local.INFO: Acknowledgment sent {"connection_id":132958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:43:50] local.INFO: TCP Data received {"connection_id":133825,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:43:50] local.INFO: Processing buffer {"connection_id":133825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:43:50] local.INFO: IMEI packet received {"connection_id":133825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":133825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:43:55] local.INFO: TCP Data received {"connection_id":133825,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:43:55] local.INFO: Processing buffer {"connection_id":133825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:43:55] local.INFO: IMEI packet received {"connection_id":133825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":133825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:44:01] local.INFO: TCP Data received {"connection_id":133825,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f668ceab8012d196540071ff0400040004828..."} 
[2026-07-15 21:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f668ceab8012d196540071ff0400040004828..."} 
[2026-07-15 21:44:01] local.INFO: Processing buffer {"connection_id":133825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f668ceab8012d196540071ff0400040004828..."} 
[2026-07-15 21:44:01] local.INFO: Packet analysis {"connection_id":133825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f668c"} 
[2026-07-15 21:44:01] local.INFO: Extracted packet for processing {"connection_id":133825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f668c"} 
[2026-07-15 21:44:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737702400001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:44:01] 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-07-15 21:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784131939000,"timestamp_ms":1784131939000,"timestamp_seconds":1784131939,"priority":1,"record_length":96,"hex_timestamp":"0000019f668ceab8"} 
[2026-07-15 21:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:44:01] 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-07-15 21:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 21:44:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:44:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":133825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":133825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":133825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737702400001,"66":2177,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737702400001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:44:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:44:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737702400001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":133825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:44:01] local.INFO: GPS data processed {"connection_id":133825,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:44:01] local.INFO: Acknowledgment sent {"connection_id":133825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:44:05] local.INFO: TCP Data received {"connection_id":132782,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:44:05] local.INFO: Processing buffer {"connection_id":132782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:44:05] local.INFO: IMEI packet received {"connection_id":132782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":132782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:44:10] local.INFO: TCP Data received {"connection_id":132782,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:44:10] local.INFO: Processing buffer {"connection_id":132782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:44:10] local.INFO: IMEI packet received {"connection_id":132782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":132782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:44:11] local.INFO: TCP Data received {"connection_id":132782,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f668a3f20012d77a94005f279f0000f014725..."} 
[2026-07-15 21:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f668a3f20012d77a94005f279f0000f014725..."} 
[2026-07-15 21:44:11] local.INFO: Processing buffer {"connection_id":132782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f668a3f20012d77a94005f279f0000f014725..."} 
[2026-07-15 21:44:11] local.INFO: Packet analysis {"connection_id":132782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f668a"} 
[2026-07-15 21:44:11] local.INFO: Extracted packet for processing {"connection_id":132782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f668a"} 
[2026-07-15 21:44:11] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":15,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737654528001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784131764000,"timestamp_ms":1784131764000,"timestamp_seconds":1784131764,"priority":1,"record_length":96,"hex_timestamp":"0000019f668a3f20"} 
[2026-07-15 21:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 21:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737654528001,"66":25778,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737654528001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:44:11] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:44:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737654528001,"power":25778,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":132782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:44:11] local.INFO: GPS data processed {"connection_id":132782,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:44:11] local.INFO: Acknowledgment sent {"connection_id":132782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:44:33] local.INFO: TCP Data received {"connection_id":133825,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f668ceab8012d196540071ff0400040004828..."} 
[2026-07-15 21:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f668ceab8012d196540071ff0400040004828..."} 
[2026-07-15 21:44:33] local.INFO: Processing buffer {"connection_id":133825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f668ceab8012d196540071ff0400040004828..."} 
[2026-07-15 21:44:33] local.INFO: Packet analysis {"connection_id":133825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f668c"} 
[2026-07-15 21:44:33] local.INFO: Extracted packet for processing {"connection_id":133825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f668c"} 
[2026-07-15 21:44:33] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737702400001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:44:33] 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-07-15 21:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784131939000,"timestamp_ms":1784131939000,"timestamp_seconds":1784131939,"priority":1,"record_length":96,"hex_timestamp":"0000019f668ceab8"} 
[2026-07-15 21:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:44: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-07-15 21:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 21:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":133825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":133825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":133825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737702400001,"66":2177,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737702400001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:44:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:44:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737702400001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":133825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:44:33] local.INFO: GPS data processed {"connection_id":133825,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:44:33] local.INFO: Acknowledgment sent {"connection_id":133825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:44:42] local.INFO: TCP Data received {"connection_id":132782,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f668a3f20012d77a94005f279f0000f014725..."} 
[2026-07-15 21:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f668a3f20012d77a94005f279f0000f014725..."} 
[2026-07-15 21:44:42] local.INFO: Processing buffer {"connection_id":132782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f668a3f20012d77a94005f279f0000f014725..."} 
[2026-07-15 21:44:42] local.INFO: Packet analysis {"connection_id":132782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f668a"} 
[2026-07-15 21:44:42] local.INFO: Extracted packet for processing {"connection_id":132782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f668a"} 
[2026-07-15 21:44:42] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":15,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737654528001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784131764000,"timestamp_ms":1784131764000,"timestamp_seconds":1784131764,"priority":1,"record_length":96,"hex_timestamp":"0000019f668a3f20"} 
[2026-07-15 21:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:44:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 21:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737654528001,"66":25778,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737654528001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:44:42] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:44:42] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737654528001,"power":25778,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":132782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:44:43] local.INFO: GPS data processed {"connection_id":132782,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:44:43] local.INFO: Acknowledgment sent {"connection_id":132782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:44:50] local.INFO: TCP Data received {"connection_id":132960,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:44:50] local.INFO: Processing buffer {"connection_id":132960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:44:50] local.INFO: IMEI packet received {"connection_id":132960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":132960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:44:55] local.INFO: TCP Data received {"connection_id":132960,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:44:55] local.INFO: Processing buffer {"connection_id":132960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:44:55] local.INFO: IMEI packet received {"connection_id":132960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":132960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:44:56] local.INFO: TCP Data received {"connection_id":132960,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f668ceab8012d196540071ff0400040004828..."} 
[2026-07-15 21:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f668ceab8012d196540071ff0400040004828..."} 
[2026-07-15 21:44:56] local.INFO: Processing buffer {"connection_id":132960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f668ceab8012d196540071ff0400040004828..."} 
[2026-07-15 21:44:56] local.INFO: Packet analysis {"connection_id":132960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f668c"} 
[2026-07-15 21:44:56] local.INFO: Extracted packet for processing {"connection_id":132960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f668c"} 
[2026-07-15 21:44:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737702400001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:44:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:44: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-07-15 21:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784131939000,"timestamp_ms":1784131939000,"timestamp_seconds":1784131939,"priority":1,"record_length":96,"hex_timestamp":"0000019f668ceab8"} 
[2026-07-15 21:44:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:44:56] 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-07-15 21:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 21:44:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:44:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:44:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:44:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737702400001,"66":2177,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737702400001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:44:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:44:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:44:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737702400001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":132960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:44:56] local.INFO: GPS data processed {"connection_id":132960,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:44:56] local.INFO: Acknowledgment sent {"connection_id":132960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:45:00] local.INFO: TCP Data received {"connection_id":132961,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:45:00] local.INFO: Processing buffer {"connection_id":132961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:45:00] local.INFO: IMEI packet received {"connection_id":132961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":132961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:45:03] local.INFO: TCP Data received {"connection_id":132961,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:45:03] local.INFO: Processing buffer {"connection_id":132961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:45:03] local.INFO: IMEI packet received {"connection_id":132961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":132961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:45:05] local.INFO: TCP Data received {"connection_id":132961,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:45:05] local.INFO: Processing buffer {"connection_id":132961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:45:05] local.INFO: IMEI packet received {"connection_id":132961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":132961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:45:06] local.INFO: TCP Data received {"connection_id":132961,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f668ed6e8012d77a94005f279f00014014724..."} 
[2026-07-15 21:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f668ed6e8012d77a94005f279f00014014724..."} 
[2026-07-15 21:45:06] local.INFO: Processing buffer {"connection_id":132961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f668ed6e8012d77a94005f279f00014014724..."} 
[2026-07-15 21:45:06] local.INFO: Packet analysis {"connection_id":132961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f668e"} 
[2026-07-15 21:45:06] local.INFO: Extracted packet for processing {"connection_id":132961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f668e"} 
[2026-07-15 21:45:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":20,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737731584001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784132065000,"timestamp_ms":1784132065000,"timestamp_seconds":1784132065,"priority":1,"record_length":96,"hex_timestamp":"0000019f668ed6e8"} 
[2026-07-15 21:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 21:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737731584001,"66":25756,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737731584001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:45:06] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:45:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737731584001,"power":25756,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":132961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:45:06] local.INFO: GPS data processed {"connection_id":132961,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:45:06] local.INFO: Acknowledgment sent {"connection_id":132961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:45:11] local.INFO: TCP Data received {"connection_id":132961,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f668ed6e8012d77a94005f279f00014014724..."} 
[2026-07-15 21:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f668ed6e8012d77a94005f279f00014014724..."} 
[2026-07-15 21:45:11] local.INFO: Processing buffer {"connection_id":132961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f668ed6e8012d77a94005f279f00014014724..."} 
[2026-07-15 21:45:11] local.INFO: Packet analysis {"connection_id":132961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f668e"} 
[2026-07-15 21:45:11] local.INFO: Extracted packet for processing {"connection_id":132961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f668e"} 
[2026-07-15 21:45:11] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":20,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737731584001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784132065000,"timestamp_ms":1784132065000,"timestamp_seconds":1784132065,"priority":1,"record_length":96,"hex_timestamp":"0000019f668ed6e8"} 
[2026-07-15 21:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:45:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 21:45:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:45:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737731584001,"66":25756,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737731584001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:45:11] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:45:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737731584001,"power":25756,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":132961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:45:11] local.INFO: GPS data processed {"connection_id":132961,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:45:11] local.INFO: Acknowledgment sent {"connection_id":132961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:45:28] local.INFO: TCP Data received {"connection_id":132960,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f668ceab8012d196540071ff0400040004828..."} 
[2026-07-15 21:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f668ceab8012d196540071ff0400040004828..."} 
[2026-07-15 21:45:28] local.INFO: Processing buffer {"connection_id":132960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f668ceab8012d196540071ff0400040004828..."} 
[2026-07-15 21:45:28] local.INFO: Packet analysis {"connection_id":132960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f668c"} 
[2026-07-15 21:45:28] local.INFO: Extracted packet for processing {"connection_id":132960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f668c"} 
[2026-07-15 21:45:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737702400001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:45:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:45: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-07-15 21:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784131939000,"timestamp_ms":1784131939000,"timestamp_seconds":1784131939,"priority":1,"record_length":96,"hex_timestamp":"0000019f668ceab8"} 
[2026-07-15 21:45:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:45:28] 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-07-15 21:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 21:45:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:45:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:45:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:45:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737702400001,"66":2177,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737702400001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:45:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:45:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:45:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737702400001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:45:28] local.INFO: DEBUG: GPS processor result {"connection_id":132960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:45:28] local.INFO: GPS data processed {"connection_id":132960,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:45:28] local.INFO: Acknowledgment sent {"connection_id":132960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:45:42] local.INFO: TCP Data received {"connection_id":132961,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f668ed6e8012d77a94005f279f00014014724..."} 
[2026-07-15 21:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f668ed6e8012d77a94005f279f00014014724..."} 
[2026-07-15 21:45:42] local.INFO: Processing buffer {"connection_id":132961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f668ed6e8012d77a94005f279f00014014724..."} 
[2026-07-15 21:45:42] local.INFO: Packet analysis {"connection_id":132961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f668e"} 
[2026-07-15 21:45:42] local.INFO: Extracted packet for processing {"connection_id":132961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f668e"} 
[2026-07-15 21:45:42] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":20,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737731584001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784132065000,"timestamp_ms":1784132065000,"timestamp_seconds":1784132065,"priority":1,"record_length":96,"hex_timestamp":"0000019f668ed6e8"} 
[2026-07-15 21:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 21:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737731584001,"66":25756,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737731584001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:45:42] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:45:42] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737731584001,"power":25756,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":132961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:45:42] local.INFO: GPS data processed {"connection_id":132961,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:45:42] local.INFO: Acknowledgment sent {"connection_id":132961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:45:49] local.INFO: TCP Data received {"connection_id":132783,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:45:49] local.INFO: Processing buffer {"connection_id":132783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:45:49] local.INFO: IMEI packet received {"connection_id":132783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":132783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:45:55] local.INFO: TCP Data received {"connection_id":132783,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:45:55] local.INFO: Processing buffer {"connection_id":132783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:45:55] local.INFO: IMEI packet received {"connection_id":132783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":132783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:45:56] local.INFO: TCP Data received {"connection_id":132783,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f668ceab8012d196540071ff0400040004828..."} 
[2026-07-15 21:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f668ceab8012d196540071ff0400040004828..."} 
[2026-07-15 21:45:56] local.INFO: Processing buffer {"connection_id":132783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f668ceab8012d196540071ff0400040004828..."} 
[2026-07-15 21:45:56] local.INFO: Packet analysis {"connection_id":132783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f668c"} 
[2026-07-15 21:45:56] local.INFO: Extracted packet for processing {"connection_id":132783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f668c"} 
[2026-07-15 21:45:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737702400001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:45: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-07-15 21:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784131939000,"timestamp_ms":1784131939000,"timestamp_seconds":1784131939,"priority":1,"record_length":96,"hex_timestamp":"0000019f668ceab8"} 
[2026-07-15 21:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:45:56] 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-07-15 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 21:45:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737702400001,"66":2177,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737702400001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:45:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:45:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737702400001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":132783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:45:56] local.INFO: GPS data processed {"connection_id":132783,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:45:56] local.INFO: Acknowledgment sent {"connection_id":132783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:46:05] local.INFO: TCP Data received {"connection_id":132784,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:46:05] local.INFO: Processing buffer {"connection_id":132784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:46:05] local.INFO: IMEI packet received {"connection_id":132784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":132784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:46:10] local.INFO: TCP Data received {"connection_id":132784,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:46:10] local.INFO: Processing buffer {"connection_id":132784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:46:10] local.INFO: IMEI packet received {"connection_id":132784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":132784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:46:11] local.INFO: TCP Data received {"connection_id":132784,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f668ed6e8012d77a94005f279f00014014724..."} 
[2026-07-15 21:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f668ed6e8012d77a94005f279f00014014724..."} 
[2026-07-15 21:46:11] local.INFO: Processing buffer {"connection_id":132784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f668ed6e8012d77a94005f279f00014014724..."} 
[2026-07-15 21:46:11] local.INFO: Packet analysis {"connection_id":132784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f668e"} 
[2026-07-15 21:46:11] local.INFO: Extracted packet for processing {"connection_id":132784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f668e"} 
[2026-07-15 21:46:11] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":20,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737731584001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784132065000,"timestamp_ms":1784132065000,"timestamp_seconds":1784132065,"priority":1,"record_length":96,"hex_timestamp":"0000019f668ed6e8"} 
[2026-07-15 21:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 21:46:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737731584001,"66":25756,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737731584001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:46:11] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:46:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737731584001,"power":25756,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":132784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:46:11] local.INFO: GPS data processed {"connection_id":132784,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:46:11] local.INFO: Acknowledgment sent {"connection_id":132784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:46:16] local.INFO: TCP Data received {"connection_id":132784,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f668ed6e8012d77a94005f279f00014014724..."} 
[2026-07-15 21:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f668ed6e8012d77a94005f279f00014014724..."} 
[2026-07-15 21:46:16] local.INFO: Processing buffer {"connection_id":132784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f668ed6e8012d77a94005f279f00014014724..."} 
[2026-07-15 21:46:16] local.INFO: Packet analysis {"connection_id":132784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f668e"} 
[2026-07-15 21:46:16] local.INFO: Extracted packet for processing {"connection_id":132784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f668e"} 
[2026-07-15 21:46:16] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":20,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737731584001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:46:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784132065000,"timestamp_ms":1784132065000,"timestamp_seconds":1784132065,"priority":1,"record_length":96,"hex_timestamp":"0000019f668ed6e8"} 
[2026-07-15 21:46:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:46:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 21:46:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:46:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:46:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:46:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737731584001,"66":25756,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737731584001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:46:16] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:46:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:46:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737731584001,"power":25756,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":132784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:46:16] local.INFO: GPS data processed {"connection_id":132784,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:46:16] local.INFO: Acknowledgment sent {"connection_id":132784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:46:27] local.INFO: TCP Data received {"connection_id":132783,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f668ceab8012d196540071ff0400040004828..."} 
[2026-07-15 21:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f668ceab8012d196540071ff0400040004828..."} 
[2026-07-15 21:46:27] local.INFO: Processing buffer {"connection_id":132783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f668ceab8012d196540071ff0400040004828..."} 
[2026-07-15 21:46:27] local.INFO: Packet analysis {"connection_id":132783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f668c"} 
[2026-07-15 21:46:27] local.INFO: Extracted packet for processing {"connection_id":132783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f668c"} 
[2026-07-15 21:46:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737702400001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:46: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-07-15 21:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784131939000,"timestamp_ms":1784131939000,"timestamp_seconds":1784131939,"priority":1,"record_length":96,"hex_timestamp":"0000019f668ceab8"} 
[2026-07-15 21:46:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:46:27] 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-07-15 21:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 21:46:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:46:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:46:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":132783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":132783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":132783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737702400001,"66":2177,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737702400001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:46:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:46:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737702400001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":132783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:46:27] local.INFO: GPS data processed {"connection_id":132783,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:46:27] local.INFO: Acknowledgment sent {"connection_id":132783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:46:49] local.INFO: TCP Data received {"connection_id":135181,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:46:49] local.INFO: Processing buffer {"connection_id":135181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:46:49] local.INFO: IMEI packet received {"connection_id":135181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":135181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:46:55] local.INFO: TCP Data received {"connection_id":135181,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:46:55] local.INFO: Processing buffer {"connection_id":135181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:46:55] local.INFO: IMEI packet received {"connection_id":135181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":135181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:46:56] local.INFO: TCP Data received {"connection_id":135181,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f668ceab8012d196540071ff0400040004828..."} 
[2026-07-15 21:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f668ceab8012d196540071ff0400040004828..."} 
[2026-07-15 21:46:56] local.INFO: Processing buffer {"connection_id":135181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f668ceab8012d196540071ff0400040004828..."} 
[2026-07-15 21:46:56] local.INFO: Packet analysis {"connection_id":135181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f668c"} 
[2026-07-15 21:46:56] local.INFO: Extracted packet for processing {"connection_id":135181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f668c"} 
[2026-07-15 21:46:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737702400001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:46:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:46: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-07-15 21:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784131939000,"timestamp_ms":1784131939000,"timestamp_seconds":1784131939,"priority":1,"record_length":96,"hex_timestamp":"0000019f668ceab8"} 
[2026-07-15 21:46:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:46:56] 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-07-15 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 21:46:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:46:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":135181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":135181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":135181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:46:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737702400001,"66":2177,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737702400001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:46:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:46:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737702400001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":135181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:46:56] local.INFO: GPS data processed {"connection_id":135181,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:46:56] local.INFO: Acknowledgment sent {"connection_id":135181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:47:00] local.INFO: TCP Data received {"connection_id":132785,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:47:00] local.INFO: Processing buffer {"connection_id":132785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:47:00] local.INFO: IMEI packet received {"connection_id":132785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":132785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:47:05] local.INFO: TCP Data received {"connection_id":132785,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:47:05] local.INFO: Processing buffer {"connection_id":132785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:47:05] local.INFO: IMEI packet received {"connection_id":132785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":132785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:47:06] local.INFO: TCP Data received {"connection_id":132785,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f668ed6e8012d77a94005f279f00014014724..."} 
[2026-07-15 21:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f668ed6e8012d77a94005f279f00014014724..."} 
[2026-07-15 21:47:06] local.INFO: Processing buffer {"connection_id":132785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f668ed6e8012d77a94005f279f00014014724..."} 
[2026-07-15 21:47:06] local.INFO: Packet analysis {"connection_id":132785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f668e"} 
[2026-07-15 21:47:06] local.INFO: Extracted packet for processing {"connection_id":132785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f668e"} 
[2026-07-15 21:47:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":20,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737731584001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784132065000,"timestamp_ms":1784132065000,"timestamp_seconds":1784132065,"priority":1,"record_length":96,"hex_timestamp":"0000019f668ed6e8"} 
[2026-07-15 21:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 21:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737731584001,"66":25756,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737731584001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:47:06] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:47:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737731584001,"power":25756,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":132785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:47:06] local.INFO: GPS data processed {"connection_id":132785,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:47:06] local.INFO: Acknowledgment sent {"connection_id":132785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:47:28] local.INFO: TCP Data received {"connection_id":135181,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f668ceab8012d196540071ff0400040004828..."} 
[2026-07-15 21:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f668ceab8012d196540071ff0400040004828..."} 
[2026-07-15 21:47:28] local.INFO: Processing buffer {"connection_id":135181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f668ceab8012d196540071ff0400040004828..."} 
[2026-07-15 21:47:28] local.INFO: Packet analysis {"connection_id":135181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f668c"} 
[2026-07-15 21:47:28] local.INFO: Extracted packet for processing {"connection_id":135181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f668c"} 
[2026-07-15 21:47:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737702400001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:47:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:47: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-07-15 21:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784131939000,"timestamp_ms":1784131939000,"timestamp_seconds":1784131939,"priority":1,"record_length":96,"hex_timestamp":"0000019f668ceab8"} 
[2026-07-15 21:47:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:47:28] 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-07-15 21:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-15 21:47:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:47:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:47:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":135181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":135181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":135181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:47:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737702400001,"66":2177,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737702400001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:47:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:47:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:47:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:47:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737702400001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":135181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:47:28] local.INFO: GPS data processed {"connection_id":135181,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:47:28] local.INFO: Acknowledgment sent {"connection_id":135181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:47:49] local.INFO: TCP Data received {"connection_id":133827,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:47:49] local.INFO: Processing buffer {"connection_id":133827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:47:49] local.INFO: IMEI packet received {"connection_id":133827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":133827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:47:55] local.INFO: TCP Data received {"connection_id":133827,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:47:55] local.INFO: Processing buffer {"connection_id":133827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:47:55] local.INFO: IMEI packet received {"connection_id":133827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":133827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:47:56] local.INFO: TCP Data received {"connection_id":133827,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66915788012d196540071ff0400040004826..."} 
[2026-07-15 21:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66915788012d196540071ff0400040004826..."} 
[2026-07-15 21:47:56] local.INFO: Processing buffer {"connection_id":133827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66915788012d196540071ff0400040004826..."} 
[2026-07-15 21:47:56] local.INFO: Packet analysis {"connection_id":133827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6691"} 
[2026-07-15 21:47:56] local.INFO: Extracted packet for processing {"connection_id":133827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6691"} 
[2026-07-15 21:47:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737776384001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:47:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:47: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-07-15 21:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784132229000,"timestamp_ms":1784132229000,"timestamp_seconds":1784132229,"priority":1,"record_length":96,"hex_timestamp":"0000019f66915788"} 
[2026-07-15 21:47:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:47:56] 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-07-15 21: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 21:47:56] 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-07-15 21: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-07-15 21:47:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:47:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737776384001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737776384001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:47:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:47:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:47:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737776384001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:47:57] local.INFO: DEBUG: GPS processor result {"connection_id":133827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:47:57] local.INFO: GPS data processed {"connection_id":133827,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:47:57] local.INFO: Acknowledgment sent {"connection_id":133827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:47:58] local.INFO: TCP Data received {"connection_id":132786,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132786,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:47:58] local.INFO: Processing buffer {"connection_id":132786,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:47:58] local.INFO: IMEI packet received {"connection_id":132786,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 21:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":132786,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:48:00] local.INFO: TCP Data received {"connection_id":135182,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:48:00] local.INFO: Processing buffer {"connection_id":135182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:48:00] local.INFO: IMEI packet received {"connection_id":135182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":135182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:48:05] local.INFO: TCP Data received {"connection_id":135182,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:48:05] local.INFO: Processing buffer {"connection_id":135182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:48:05] local.INFO: IMEI packet received {"connection_id":135182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":135182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:48:06] local.INFO: TCP Data received {"connection_id":135182,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f668ed6e8012d77a94005f279f00014014724..."} 
[2026-07-15 21:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f668ed6e8012d77a94005f279f00014014724..."} 
[2026-07-15 21:48:06] local.INFO: Processing buffer {"connection_id":135182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f668ed6e8012d77a94005f279f00014014724..."} 
[2026-07-15 21:48:06] local.INFO: Packet analysis {"connection_id":135182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f668e"} 
[2026-07-15 21:48:06] local.INFO: Extracted packet for processing {"connection_id":135182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f668e"} 
[2026-07-15 21:48:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":20,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737731584001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784132065000,"timestamp_ms":1784132065000,"timestamp_seconds":1784132065,"priority":1,"record_length":96,"hex_timestamp":"0000019f668ed6e8"} 
[2026-07-15 21:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 21:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737731584001,"66":25756,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737731584001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:48:06] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:48:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737731584001,"power":25756,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":135182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:48:06] local.INFO: GPS data processed {"connection_id":135182,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:48:06] local.INFO: Acknowledgment sent {"connection_id":135182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:48:27] local.INFO: TCP Data received {"connection_id":133827,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66915788012d196540071ff0400040004826..."} 
[2026-07-15 21:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66915788012d196540071ff0400040004826..."} 
[2026-07-15 21:48:27] local.INFO: Processing buffer {"connection_id":133827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66915788012d196540071ff0400040004826..."} 
[2026-07-15 21:48:27] local.INFO: Packet analysis {"connection_id":133827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6691"} 
[2026-07-15 21:48:27] local.INFO: Extracted packet for processing {"connection_id":133827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6691"} 
[2026-07-15 21:48:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737776384001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:48: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-07-15 21:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784132229000,"timestamp_ms":1784132229000,"timestamp_seconds":1784132229,"priority":1,"record_length":96,"hex_timestamp":"0000019f66915788"} 
[2026-07-15 21:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:48: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-07-15 21:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 21:48: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-07-15 21:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":133827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":133827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":133827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737776384001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737776384001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:48:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:48:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737776384001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":133827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:48:28] local.INFO: GPS data processed {"connection_id":133827,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:48:28] local.INFO: Acknowledgment sent {"connection_id":133827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:48:33] local.INFO: TCP Data received {"connection_id":132787,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132787,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:48:33] local.INFO: Processing buffer {"connection_id":132787,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:48:33] local.INFO: IMEI packet received {"connection_id":132787,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 21:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":132787,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:48:37] local.INFO: TCP Data received {"connection_id":135182,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f668ed6e8012d77a94005f279f00014014724..."} 
[2026-07-15 21:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f668ed6e8012d77a94005f279f00014014724..."} 
[2026-07-15 21:48:37] local.INFO: Processing buffer {"connection_id":135182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f668ed6e8012d77a94005f279f00014014724..."} 
[2026-07-15 21:48:37] local.INFO: Packet analysis {"connection_id":135182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f668e"} 
[2026-07-15 21:48:37] local.INFO: Extracted packet for processing {"connection_id":135182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f668e"} 
[2026-07-15 21:48:37] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":20,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737731584001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784132065000,"timestamp_ms":1784132065000,"timestamp_seconds":1784132065,"priority":1,"record_length":96,"hex_timestamp":"0000019f668ed6e8"} 
[2026-07-15 21:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 21:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":135182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":135182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":135182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737731584001,"66":25756,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737731584001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:48:37] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:48:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737731584001,"power":25756,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":135182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:48:37] local.INFO: GPS data processed {"connection_id":135182,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:48:37] local.INFO: Acknowledgment sent {"connection_id":135182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:48:38] local.INFO: TCP Data received {"connection_id":132787,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132787,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:48:38] local.INFO: Processing buffer {"connection_id":132787,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:48:38] local.INFO: IMEI packet received {"connection_id":132787,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-15 21:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":132787,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:48:40] local.INFO: TCP Data received {"connection_id":132787,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f6677d830012d34cc0006aa5730000900ff2e..."} 
[2026-07-15 21:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6677d830012d34cc0006aa5730000900ff2e..."} 
[2026-07-15 21:48:40] local.INFO: Processing buffer {"connection_id":132787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6677d830012d34cc0006aa5730000900ff2e..."} 
[2026-07-15 21:48:40] local.INFO: Packet analysis {"connection_id":132787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6677"} 
[2026-07-15 21:48:40] local.INFO: Extracted packet for processing {"connection_id":132787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6677"} 
[2026-07-15 21:48:40] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111826736,"longitude_deg":75.8434816,"latitude_deg":11.1826736,"altitude":9,"angle":255,"satellites":46,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa5730","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737417472001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":136642881283686400,"note":"Value kept but may cause issues"} 
[2026-07-15 21:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813848870912,"note":"Value kept but may cause issues"} 
[2026-07-15 21:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784130558000,"timestamp_ms":1784130558000,"timestamp_seconds":1784130558,"priority":1,"record_length":96,"hex_timestamp":"0000019f6677d830"} 
[2026-07-15 21:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 21: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-15 21:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 21:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-15 21:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-15 21:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-15 21:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737417472001,"66":28354,"97":206,"81":23296,"24":0,"16":136642881283686400,"45":3804415813848870912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-15 21:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-15 21:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-15 21:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737417472001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:48:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-15 21:48:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-15 21:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":136642881283686400,"km_value":136642881283686.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813848870912,"description":"Unknown IO ID 45"} 
[2026-07-15 21:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737417472001,"power":28354,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813848870912}} 
[2026-07-15 21:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":132787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493122,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:48:40] local.INFO: GPS data processed {"connection_id":132787,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:48:40] local.INFO: Acknowledgment sent {"connection_id":132787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:48:50] local.INFO: TCP Data received {"connection_id":132962,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:48:50] local.INFO: Processing buffer {"connection_id":132962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:48:50] local.INFO: IMEI packet received {"connection_id":132962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":132962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:48:58] local.INFO: TCP Data received {"connection_id":132962,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:48:58] local.INFO: Processing buffer {"connection_id":132962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:48:58] local.INFO: IMEI packet received {"connection_id":132962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":132962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:48:59] local.INFO: TCP Data received {"connection_id":132962,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66915788012d196540071ff0400040004826..."} 
[2026-07-15 21:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66915788012d196540071ff0400040004826..."} 
[2026-07-15 21:48:59] local.INFO: Processing buffer {"connection_id":132962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66915788012d196540071ff0400040004826..."} 
[2026-07-15 21:48:59] local.INFO: Packet analysis {"connection_id":132962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6691"} 
[2026-07-15 21:48:59] local.INFO: Extracted packet for processing {"connection_id":132962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6691"} 
[2026-07-15 21:48:59] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737776384001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:48: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-07-15 21:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784132229000,"timestamp_ms":1784132229000,"timestamp_seconds":1784132229,"priority":1,"record_length":96,"hex_timestamp":"0000019f66915788"} 
[2026-07-15 21:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:48:59] 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-07-15 21:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 21:48:59] 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-07-15 21:48:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":132962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":132962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":132962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:48:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737776384001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737776384001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:48:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:48:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737776384001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":132962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:48:59] local.INFO: GPS data processed {"connection_id":132962,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:48:59] local.INFO: Acknowledgment sent {"connection_id":132962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:49:05] local.INFO: TCP Data received {"connection_id":133828,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:49:05] local.INFO: Processing buffer {"connection_id":133828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:49:05] local.INFO: IMEI packet received {"connection_id":133828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":133828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:49:10] local.INFO: TCP Data received {"connection_id":133828,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:49:10] local.INFO: Processing buffer {"connection_id":133828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:49:10] local.INFO: IMEI packet received {"connection_id":133828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":133828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:49:11] local.INFO: TCP Data received {"connection_id":133828,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f668ed6e8012d77a94005f279f00014014724..."} 
[2026-07-15 21:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f668ed6e8012d77a94005f279f00014014724..."} 
[2026-07-15 21:49:11] local.INFO: Processing buffer {"connection_id":133828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f668ed6e8012d77a94005f279f00014014724..."} 
[2026-07-15 21:49:11] local.INFO: Packet analysis {"connection_id":133828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f668e"} 
[2026-07-15 21:49:11] local.INFO: Extracted packet for processing {"connection_id":133828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f668e"} 
[2026-07-15 21:49:11] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":20,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737731584001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784132065000,"timestamp_ms":1784132065000,"timestamp_seconds":1784132065,"priority":1,"record_length":96,"hex_timestamp":"0000019f668ed6e8"} 
[2026-07-15 21:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 21:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":133828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":133828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":133828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737731584001,"66":25756,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737731584001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:49:11] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:49:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737731584001,"power":25756,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":133828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:49:11] local.INFO: GPS data processed {"connection_id":133828,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:49:11] local.INFO: Acknowledgment sent {"connection_id":133828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:49:15] local.INFO: TCP Data received {"connection_id":133828,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f668ed6e8012d77a94005f279f00014014724..."} 
[2026-07-15 21:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f668ed6e8012d77a94005f279f00014014724..."} 
[2026-07-15 21:49:15] local.INFO: Processing buffer {"connection_id":133828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f668ed6e8012d77a94005f279f00014014724..."} 
[2026-07-15 21:49:15] local.INFO: Packet analysis {"connection_id":133828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f668e"} 
[2026-07-15 21:49:15] local.INFO: Extracted packet for processing {"connection_id":133828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f668e"} 
[2026-07-15 21:49:15] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":20,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737731584001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:49:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784132065000,"timestamp_ms":1784132065000,"timestamp_seconds":1784132065,"priority":1,"record_length":96,"hex_timestamp":"0000019f668ed6e8"} 
[2026-07-15 21:49:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:49:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 21:49:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:49:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:49:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":133828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":133828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":133828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737731584001,"66":25756,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737731584001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:49:15] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:49:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737731584001,"power":25756,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":133828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:49:15] local.INFO: GPS data processed {"connection_id":133828,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:49:15] local.INFO: Acknowledgment sent {"connection_id":133828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:49:30] local.INFO: TCP Data received {"connection_id":132962,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66915788012d196540071ff0400040004826..."} 
[2026-07-15 21:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66915788012d196540071ff0400040004826..."} 
[2026-07-15 21:49:30] local.INFO: Processing buffer {"connection_id":132962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66915788012d196540071ff0400040004826..."} 
[2026-07-15 21:49:30] local.INFO: Packet analysis {"connection_id":132962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6691"} 
[2026-07-15 21:49:30] local.INFO: Extracted packet for processing {"connection_id":132962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6691"} 
[2026-07-15 21:49:30] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737776384001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:49:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:49: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-07-15 21:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784132229000,"timestamp_ms":1784132229000,"timestamp_seconds":1784132229,"priority":1,"record_length":96,"hex_timestamp":"0000019f66915788"} 
[2026-07-15 21:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:49:30] 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-07-15 21: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 21:49:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":132962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":132962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":132962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737776384001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737776384001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:49:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:49:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:49:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737776384001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":132962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:49:30] local.INFO: GPS data processed {"connection_id":132962,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:49:30] local.INFO: Acknowledgment sent {"connection_id":132962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:49:33] local.INFO: TCP Data received {"connection_id":132963,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132963,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:49:33] local.INFO: Processing buffer {"connection_id":132963,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:49:33] local.INFO: IMEI packet received {"connection_id":132963,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 21:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":132963,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:49:50] local.INFO: TCP Data received {"connection_id":132964,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:49:50] local.INFO: Processing buffer {"connection_id":132964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:49:50] local.INFO: IMEI packet received {"connection_id":132964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":132964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:49:55] local.INFO: TCP Data received {"connection_id":132964,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:49:55] local.INFO: Processing buffer {"connection_id":132964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:49:55] local.INFO: IMEI packet received {"connection_id":132964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":132964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:49:56] local.INFO: TCP Data received {"connection_id":132964,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66915788012d196540071ff0400040004826..."} 
[2026-07-15 21:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66915788012d196540071ff0400040004826..."} 
[2026-07-15 21:49:56] local.INFO: Processing buffer {"connection_id":132964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66915788012d196540071ff0400040004826..."} 
[2026-07-15 21:49:56] local.INFO: Packet analysis {"connection_id":132964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6691"} 
[2026-07-15 21:49:56] local.INFO: Extracted packet for processing {"connection_id":132964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6691"} 
[2026-07-15 21:49:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737776384001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:49: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-07-15 21:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784132229000,"timestamp_ms":1784132229000,"timestamp_seconds":1784132229,"priority":1,"record_length":96,"hex_timestamp":"0000019f66915788"} 
[2026-07-15 21:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:49:56] 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-07-15 21: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 21:49:56] 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-07-15 21: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-07-15 21:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737776384001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737776384001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:49:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:49:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737776384001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":132964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:49:56] local.INFO: GPS data processed {"connection_id":132964,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:49:56] local.INFO: Acknowledgment sent {"connection_id":132964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:50:00] local.INFO: TCP Data received {"connection_id":135184,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:50:00] local.INFO: Processing buffer {"connection_id":135184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:50:00] local.INFO: IMEI packet received {"connection_id":135184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":135184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:50:04] local.INFO: TCP Data received {"connection_id":135184,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:50:04] local.INFO: Processing buffer {"connection_id":135184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:50:04] local.INFO: IMEI packet received {"connection_id":135184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":135184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:50:04] local.INFO: TCP Data received {"connection_id":135184,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66936eb0012d77a94005f279f00014014724..."} 
[2026-07-15 21:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66936eb0012d77a94005f279f00014014724..."} 
[2026-07-15 21:50:04] local.INFO: Processing buffer {"connection_id":135184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66936eb0012d77a94005f279f00014014724..."} 
[2026-07-15 21:50:04] local.INFO: Packet analysis {"connection_id":135184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6693"} 
[2026-07-15 21:50:04] local.INFO: Extracted packet for processing {"connection_id":135184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6693"} 
[2026-07-15 21:50:04] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":20,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737808640001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784132366000,"timestamp_ms":1784132366000,"timestamp_seconds":1784132366,"priority":1,"record_length":96,"hex_timestamp":"0000019f66936eb0"} 
[2026-07-15 21:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 21:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":135184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":135184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":135184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737808640001,"66":25778,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737808640001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:50:04] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:50:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737808640001,"power":25778,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":135184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:50:05] local.INFO: GPS data processed {"connection_id":135184,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:50:05] local.INFO: Acknowledgment sent {"connection_id":135184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:50:28] local.INFO: TCP Data received {"connection_id":132964,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66915788012d196540071ff0400040004826..."} 
[2026-07-15 21:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66915788012d196540071ff0400040004826..."} 
[2026-07-15 21:50:28] local.INFO: Processing buffer {"connection_id":132964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66915788012d196540071ff0400040004826..."} 
[2026-07-15 21:50:28] local.INFO: Packet analysis {"connection_id":132964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6691"} 
[2026-07-15 21:50:28] local.INFO: Extracted packet for processing {"connection_id":132964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6691"} 
[2026-07-15 21:50:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737776384001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:50: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-07-15 21:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784132229000,"timestamp_ms":1784132229000,"timestamp_seconds":1784132229,"priority":1,"record_length":96,"hex_timestamp":"0000019f66915788"} 
[2026-07-15 21:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:50:28] 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-07-15 21:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 21:50: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-07-15 21:50:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737776384001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737776384001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:50:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:50:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737776384001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":132964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:50:28] local.INFO: GPS data processed {"connection_id":132964,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:50:28] local.INFO: Acknowledgment sent {"connection_id":132964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:50:36] local.INFO: TCP Data received {"connection_id":135184,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66936eb0012d77a94005f279f00014014724..."} 
[2026-07-15 21:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66936eb0012d77a94005f279f00014014724..."} 
[2026-07-15 21:50:36] local.INFO: Processing buffer {"connection_id":135184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66936eb0012d77a94005f279f00014014724..."} 
[2026-07-15 21:50:36] local.INFO: Packet analysis {"connection_id":135184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6693"} 
[2026-07-15 21:50:36] local.INFO: Extracted packet for processing {"connection_id":135184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6693"} 
[2026-07-15 21:50:36] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":20,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737808640001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784132366000,"timestamp_ms":1784132366000,"timestamp_seconds":1784132366,"priority":1,"record_length":96,"hex_timestamp":"0000019f66936eb0"} 
[2026-07-15 21:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 21:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":135184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":135184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":135184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737808640001,"66":25778,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737808640001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:50:36] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:50:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737808640001,"power":25778,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":135184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:50:36] local.INFO: GPS data processed {"connection_id":135184,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:50:36] local.INFO: Acknowledgment sent {"connection_id":135184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:50:50] local.INFO: TCP Data received {"connection_id":135186,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:50:50] local.INFO: Processing buffer {"connection_id":135186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:50:50] local.INFO: IMEI packet received {"connection_id":135186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":135186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:50:55] local.INFO: TCP Data received {"connection_id":135186,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:50:55] local.INFO: Processing buffer {"connection_id":135186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:50:55] local.INFO: IMEI packet received {"connection_id":135186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":135186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:50:57] local.INFO: TCP Data received {"connection_id":135186,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66915788012d196540071ff0400040004826..."} 
[2026-07-15 21:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66915788012d196540071ff0400040004826..."} 
[2026-07-15 21:50:57] local.INFO: Processing buffer {"connection_id":135186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66915788012d196540071ff0400040004826..."} 
[2026-07-15 21:50:57] local.INFO: Packet analysis {"connection_id":135186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6691"} 
[2026-07-15 21:50:57] local.INFO: Extracted packet for processing {"connection_id":135186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6691"} 
[2026-07-15 21:50:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:50:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737776384001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:50:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:50: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-07-15 21:50:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784132229000,"timestamp_ms":1784132229000,"timestamp_seconds":1784132229,"priority":1,"record_length":96,"hex_timestamp":"0000019f66915788"} 
[2026-07-15 21:50:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:50:57] 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-07-15 21: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 21:50:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:50:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":135186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":135186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":135186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:50:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:50:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:50:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:50:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737776384001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:50:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:50:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:50:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737776384001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:50:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:50:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:50:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:50:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:50:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737776384001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:50:57] local.INFO: DEBUG: GPS processor result {"connection_id":135186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:50:57] local.INFO: GPS data processed {"connection_id":135186,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:50:57] local.INFO: Acknowledgment sent {"connection_id":135186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:51:05] local.INFO: TCP Data received {"connection_id":133829,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:51:05] local.INFO: Processing buffer {"connection_id":133829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:51:05] local.INFO: IMEI packet received {"connection_id":133829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":133829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:51:10] local.INFO: TCP Data received {"connection_id":133829,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:51:10] local.INFO: Processing buffer {"connection_id":133829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:51:10] local.INFO: IMEI packet received {"connection_id":133829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":133829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:51:11] local.INFO: TCP Data received {"connection_id":133829,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66936eb0012d77a94005f279f00014014724..."} 
[2026-07-15 21:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66936eb0012d77a94005f279f00014014724..."} 
[2026-07-15 21:51:11] local.INFO: Processing buffer {"connection_id":133829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66936eb0012d77a94005f279f00014014724..."} 
[2026-07-15 21:51:11] local.INFO: Packet analysis {"connection_id":133829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6693"} 
[2026-07-15 21:51:11] local.INFO: Extracted packet for processing {"connection_id":133829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6693"} 
[2026-07-15 21:51:11] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":20,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737808640001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784132366000,"timestamp_ms":1784132366000,"timestamp_seconds":1784132366,"priority":1,"record_length":96,"hex_timestamp":"0000019f66936eb0"} 
[2026-07-15 21:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 21:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":133829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":133829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":133829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737808640001,"66":25778,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737808640001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:51:11] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:51:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737808640001,"power":25778,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":133829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:51:11] local.INFO: GPS data processed {"connection_id":133829,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:51:11] local.INFO: Acknowledgment sent {"connection_id":133829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:51:14] local.INFO: TCP Data received {"connection_id":135183,"ip":"42.106.6.15","data_length":18,"data_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-07-15 21:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135183,"packet_length":18,"packet_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-07-15 21:51:14] local.INFO: Processing buffer {"connection_id":135183,"buffer_length":18,"buffer_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-07-15 21:51:14] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":135183,"buffer_length":18,"first_bytes_hex":"55aa5501000a3102000310800be64bc2"} 
[2026-07-15 21:51:28] local.INFO: TCP Data received {"connection_id":135186,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66915788012d196540071ff0400040004826..."} 
[2026-07-15 21:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66915788012d196540071ff0400040004826..."} 
[2026-07-15 21:51:28] local.INFO: Processing buffer {"connection_id":135186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66915788012d196540071ff0400040004826..."} 
[2026-07-15 21:51:28] local.INFO: Packet analysis {"connection_id":135186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6691"} 
[2026-07-15 21:51:28] local.INFO: Extracted packet for processing {"connection_id":135186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6691"} 
[2026-07-15 21:51:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737776384001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:51: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-07-15 21:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784132229000,"timestamp_ms":1784132229000,"timestamp_seconds":1784132229,"priority":1,"record_length":96,"hex_timestamp":"0000019f66915788"} 
[2026-07-15 21:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:51:28] 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-07-15 21: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-07-15 21: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-07-15 21: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-07-15 21:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":135186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":135186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":135186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:51:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737776384001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737776384001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:51:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:51:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737776384001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":135186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:51:28] local.INFO: GPS data processed {"connection_id":135186,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:51:28] local.INFO: Acknowledgment sent {"connection_id":135186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:51:43] local.INFO: TCP Data received {"connection_id":133829,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66936eb0012d77a94005f279f00014014724..."} 
[2026-07-15 21:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66936eb0012d77a94005f279f00014014724..."} 
[2026-07-15 21:51:43] local.INFO: Processing buffer {"connection_id":133829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66936eb0012d77a94005f279f00014014724..."} 
[2026-07-15 21:51:43] local.INFO: Packet analysis {"connection_id":133829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6693"} 
[2026-07-15 21:51:43] local.INFO: Extracted packet for processing {"connection_id":133829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6693"} 
[2026-07-15 21:51:43] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":20,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737808640001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:51:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:51:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784132366000,"timestamp_ms":1784132366000,"timestamp_seconds":1784132366,"priority":1,"record_length":96,"hex_timestamp":"0000019f66936eb0"} 
[2026-07-15 21:51:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:51:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 21:51:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:51:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":133829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":133829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":133829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:51:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737808640001,"66":25778,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737808640001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:51:43] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:51:43] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:51:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737808640001,"power":25778,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":133829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:51:43] local.INFO: GPS data processed {"connection_id":133829,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:51:43] local.INFO: Acknowledgment sent {"connection_id":133829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:51:45] local.INFO: TCP Data received {"connection_id":135183,"ip":"42.106.6.15","data_length":18,"data_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-07-15 21:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135183,"packet_length":18,"packet_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-07-15 21:51:45] local.INFO: Processing buffer {"connection_id":135183,"buffer_length":18,"buffer_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-07-15 21:51:45] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":135183,"buffer_length":18,"first_bytes_hex":"55aa5501000a3102000310800be64bc2"} 
[2026-07-15 21:51:49] local.INFO: TCP Data received {"connection_id":132966,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:51:49] local.INFO: Processing buffer {"connection_id":132966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:51:49] local.INFO: IMEI packet received {"connection_id":132966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":132966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:51:55] local.INFO: TCP Data received {"connection_id":132966,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:51:55] local.INFO: Processing buffer {"connection_id":132966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:51:55] local.INFO: IMEI packet received {"connection_id":132966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":132966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:51:57] local.INFO: TCP Data received {"connection_id":132966,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66915788012d196540071ff0400040004826..."} 
[2026-07-15 21:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66915788012d196540071ff0400040004826..."} 
[2026-07-15 21:51:57] local.INFO: Processing buffer {"connection_id":132966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66915788012d196540071ff0400040004826..."} 
[2026-07-15 21:51:57] local.INFO: Packet analysis {"connection_id":132966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6691"} 
[2026-07-15 21:51:57] local.INFO: Extracted packet for processing {"connection_id":132966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6691"} 
[2026-07-15 21:51:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:51:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737776384001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:51:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:51:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:51: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-07-15 21:51:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784132229000,"timestamp_ms":1784132229000,"timestamp_seconds":1784132229,"priority":1,"record_length":96,"hex_timestamp":"0000019f66915788"} 
[2026-07-15 21:51:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:51:57] 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-07-15 21:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 21:51:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:51:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:51:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:51:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:51:57] local.INFO: Teltonika packet parsed successfully {"connection_id":132966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:51:57] local.INFO: Passing IMEI to GPS processor {"connection_id":132966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:51:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":132966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:51:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:51:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:51:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:51:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737776384001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:51:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:51:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:51:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737776384001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:51:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:51:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:51:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:51:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:51:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737776384001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:51:57] local.INFO: DEBUG: GPS processor result {"connection_id":132966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:51:57] local.INFO: GPS data processed {"connection_id":132966,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:51:57] local.INFO: Acknowledgment sent {"connection_id":132966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:52:00] local.INFO: TCP Data received {"connection_id":133830,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:52:00] local.INFO: Processing buffer {"connection_id":133830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:52:00] local.INFO: IMEI packet received {"connection_id":133830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":133830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:52:05] local.INFO: TCP Data received {"connection_id":133830,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:52:05] local.INFO: Processing buffer {"connection_id":133830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:52:05] local.INFO: IMEI packet received {"connection_id":133830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":133830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:52:06] local.INFO: TCP Data received {"connection_id":133830,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66936eb0012d77a94005f279f00014014724..."} 
[2026-07-15 21:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66936eb0012d77a94005f279f00014014724..."} 
[2026-07-15 21:52:06] local.INFO: Processing buffer {"connection_id":133830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66936eb0012d77a94005f279f00014014724..."} 
[2026-07-15 21:52:06] local.INFO: Packet analysis {"connection_id":133830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6693"} 
[2026-07-15 21:52:06] local.INFO: Extracted packet for processing {"connection_id":133830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6693"} 
[2026-07-15 21:52:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":20,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737808640001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784132366000,"timestamp_ms":1784132366000,"timestamp_seconds":1784132366,"priority":1,"record_length":96,"hex_timestamp":"0000019f66936eb0"} 
[2026-07-15 21:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 21:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737808640001,"66":25778,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737808640001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:52:06] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:52:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737808640001,"power":25778,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":133830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:52:06] local.INFO: GPS data processed {"connection_id":133830,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:52:06] local.INFO: Acknowledgment sent {"connection_id":133830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:52:15] local.INFO: TCP Data received {"connection_id":135183,"ip":"42.106.6.15","data_length":18,"data_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-07-15 21:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135183,"packet_length":18,"packet_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-07-15 21:52:15] local.INFO: Processing buffer {"connection_id":135183,"buffer_length":18,"buffer_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-07-15 21:52:15] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":135183,"buffer_length":18,"first_bytes_hex":"55aa5501000a3102000310800be64bc2"} 
[2026-07-15 21:52:31] local.INFO: TCP Data received {"connection_id":132966,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66915788012d196540071ff0400040004826..."} 
[2026-07-15 21:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66915788012d196540071ff0400040004826..."} 
[2026-07-15 21:52:31] local.INFO: Processing buffer {"connection_id":132966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66915788012d196540071ff0400040004826..."} 
[2026-07-15 21:52:31] local.INFO: Packet analysis {"connection_id":132966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6691"} 
[2026-07-15 21:52:31] local.INFO: Extracted packet for processing {"connection_id":132966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6691"} 
[2026-07-15 21:52:31] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737776384001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:52:31] 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-07-15 21:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784132229000,"timestamp_ms":1784132229000,"timestamp_seconds":1784132229,"priority":1,"record_length":96,"hex_timestamp":"0000019f66915788"} 
[2026-07-15 21:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:52:31] 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-07-15 21:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-15 21:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:52:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":132966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":132966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":132966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737776384001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737776384001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:52:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:52:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737776384001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":132966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:52:32] local.INFO: GPS data processed {"connection_id":132966,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:52:32] local.INFO: Acknowledgment sent {"connection_id":132966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:52:38] local.INFO: TCP Data received {"connection_id":133830,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66936eb0012d77a94005f279f00014014724..."} 
[2026-07-15 21:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66936eb0012d77a94005f279f00014014724..."} 
[2026-07-15 21:52:38] local.INFO: Processing buffer {"connection_id":133830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66936eb0012d77a94005f279f00014014724..."} 
[2026-07-15 21:52:38] local.INFO: Packet analysis {"connection_id":133830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6693"} 
[2026-07-15 21:52:38] local.INFO: Extracted packet for processing {"connection_id":133830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6693"} 
[2026-07-15 21:52:38] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":20,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737808640001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784132366000,"timestamp_ms":1784132366000,"timestamp_seconds":1784132366,"priority":1,"record_length":96,"hex_timestamp":"0000019f66936eb0"} 
[2026-07-15 21:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 21:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737808640001,"66":25778,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737808640001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:52:38] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:52:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737808640001,"power":25778,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":133830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:52:38] local.INFO: GPS data processed {"connection_id":133830,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:52:38] local.INFO: Acknowledgment sent {"connection_id":133830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:52:45] local.INFO: TCP Data received {"connection_id":135183,"ip":"42.106.6.15","data_length":18,"data_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-07-15 21:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135183,"packet_length":18,"packet_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-07-15 21:52:45] local.INFO: Processing buffer {"connection_id":135183,"buffer_length":18,"buffer_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-07-15 21:52:45] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":135183,"buffer_length":18,"first_bytes_hex":"55aa5501000a3102000310800be64bc2"} 
[2026-07-15 21:52:55] local.INFO: TCP Data received {"connection_id":133831,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:52:55] local.INFO: Processing buffer {"connection_id":133831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:52:55] local.INFO: IMEI packet received {"connection_id":133831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":133831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:53:00] local.INFO: TCP Data received {"connection_id":133831,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:53:00] local.INFO: Processing buffer {"connection_id":133831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:53:00] local.INFO: IMEI packet received {"connection_id":133831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":133831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:53:01] local.INFO: TCP Data received {"connection_id":133831,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6695ef50012d196540071ff0400040004825..."} 
[2026-07-15 21:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6695ef50012d196540071ff0400040004825..."} 
[2026-07-15 21:53:01] local.INFO: Processing buffer {"connection_id":133831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6695ef50012d196540071ff0400040004825..."} 
[2026-07-15 21:53:01] local.INFO: Packet analysis {"connection_id":133831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6695"} 
[2026-07-15 21:53:01] local.INFO: Extracted packet for processing {"connection_id":133831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6695"} 
[2026-07-15 21:53:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737850624001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:53:01] 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-07-15 21:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784132530000,"timestamp_ms":1784132530000,"timestamp_seconds":1784132530,"priority":1,"record_length":96,"hex_timestamp":"0000019f6695ef50"} 
[2026-07-15 21:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:53: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-07-15 21:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:53: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-07-15 21:53:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":133831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":133831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":133831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737850624001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737850624001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:53:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:53:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737850624001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":133831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:53:01] local.INFO: GPS data processed {"connection_id":133831,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:53:01] local.INFO: Acknowledgment sent {"connection_id":133831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:53:06] local.INFO: TCP Data received {"connection_id":133831,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6695ef50012d196540071ff0400040004825..."} 
[2026-07-15 21:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6695ef50012d196540071ff0400040004825..."} 
[2026-07-15 21:53:06] local.INFO: Processing buffer {"connection_id":133831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6695ef50012d196540071ff0400040004825..."} 
[2026-07-15 21:53:06] local.INFO: Packet analysis {"connection_id":133831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6695"} 
[2026-07-15 21:53:06] local.INFO: Extracted packet for processing {"connection_id":133831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6695"} 
[2026-07-15 21:53:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737850624001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:53:06] 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-07-15 21:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784132530000,"timestamp_ms":1784132530000,"timestamp_seconds":1784132530,"priority":1,"record_length":96,"hex_timestamp":"0000019f6695ef50"} 
[2026-07-15 21:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:53: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-07-15 21: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-07-15 21: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-07-15 21: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-07-15 21:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737850624001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737850624001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:53:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:53:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737850624001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":133831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:53:06] local.INFO: GPS data processed {"connection_id":133831,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:53:06] local.INFO: Acknowledgment sent {"connection_id":133831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:53:09] local.INFO: TCP Data received {"connection_id":132967,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:53:09] local.INFO: Processing buffer {"connection_id":132967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:53:09] local.INFO: IMEI packet received {"connection_id":132967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":132967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:53:10] local.INFO: TCP Data received {"connection_id":132967,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:53:10] local.INFO: Processing buffer {"connection_id":132967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:53:10] local.INFO: IMEI packet received {"connection_id":132967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":132967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:53:11] local.INFO: TCP Data received {"connection_id":132967,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66936eb0012d77a94005f279f00014014724..."} 
[2026-07-15 21:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66936eb0012d77a94005f279f00014014724..."} 
[2026-07-15 21:53:11] local.INFO: Processing buffer {"connection_id":132967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66936eb0012d77a94005f279f00014014724..."} 
[2026-07-15 21:53:11] local.INFO: Packet analysis {"connection_id":132967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6693"} 
[2026-07-15 21:53:11] local.INFO: Extracted packet for processing {"connection_id":132967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6693"} 
[2026-07-15 21:53:11] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":20,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737808640001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784132366000,"timestamp_ms":1784132366000,"timestamp_seconds":1784132366,"priority":1,"record_length":96,"hex_timestamp":"0000019f66936eb0"} 
[2026-07-15 21:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 21:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737808640001,"66":25778,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737808640001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:53:11] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:53:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737808640001,"power":25778,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":132967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:53:11] local.INFO: GPS data processed {"connection_id":132967,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:53:11] local.INFO: Acknowledgment sent {"connection_id":132967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:53:12] local.INFO: TCP Data received {"connection_id":132967,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66936eb0012d77a94005f279f00014014724..."} 
[2026-07-15 21:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66936eb0012d77a94005f279f00014014724..."} 
[2026-07-15 21:53:12] local.INFO: Processing buffer {"connection_id":132967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66936eb0012d77a94005f279f00014014724..."} 
[2026-07-15 21:53:12] local.INFO: Packet analysis {"connection_id":132967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6693"} 
[2026-07-15 21:53:12] local.INFO: Extracted packet for processing {"connection_id":132967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6693"} 
[2026-07-15 21:53:12] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":20,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737808640001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784132366000,"timestamp_ms":1784132366000,"timestamp_seconds":1784132366,"priority":1,"record_length":96,"hex_timestamp":"0000019f66936eb0"} 
[2026-07-15 21:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 21:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737808640001,"66":25778,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737808640001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:53:12] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:53:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737808640001,"power":25778,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":132967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:53:12] local.INFO: GPS data processed {"connection_id":132967,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:53:12] local.INFO: Acknowledgment sent {"connection_id":132967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:53:44] local.INFO: TCP Data received {"connection_id":132967,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66936eb0012d77a94005f279f00014014724..."} 
[2026-07-15 21:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66936eb0012d77a94005f279f00014014724..."} 
[2026-07-15 21:53:44] local.INFO: Processing buffer {"connection_id":132967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66936eb0012d77a94005f279f00014014724..."} 
[2026-07-15 21:53:44] local.INFO: Packet analysis {"connection_id":132967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6693"} 
[2026-07-15 21:53:44] local.INFO: Extracted packet for processing {"connection_id":132967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6693"} 
[2026-07-15 21:53:44] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":20,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737808640001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:53:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784132366000,"timestamp_ms":1784132366000,"timestamp_seconds":1784132366,"priority":1,"record_length":96,"hex_timestamp":"0000019f66936eb0"} 
[2026-07-15 21:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:53:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 21:53:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":132967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":132967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":132967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737808640001,"66":25778,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737808640001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:53:44] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:53:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737808640001,"power":25778,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":132967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:53:44] local.INFO: GPS data processed {"connection_id":132967,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:53:44] local.INFO: Acknowledgment sent {"connection_id":132967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:53:50] local.INFO: TCP Data received {"connection_id":132788,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:53:50] local.INFO: Processing buffer {"connection_id":132788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:53:50] local.INFO: IMEI packet received {"connection_id":132788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":132788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:53:55] local.INFO: TCP Data received {"connection_id":132788,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:53:55] local.INFO: Processing buffer {"connection_id":132788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:53:55] local.INFO: IMEI packet received {"connection_id":132788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":132788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:53:56] local.INFO: TCP Data received {"connection_id":132788,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6695ef50012d196540071ff0400040004825..."} 
[2026-07-15 21:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6695ef50012d196540071ff0400040004825..."} 
[2026-07-15 21:53:56] local.INFO: Processing buffer {"connection_id":132788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6695ef50012d196540071ff0400040004825..."} 
[2026-07-15 21:53:56] local.INFO: Packet analysis {"connection_id":132788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6695"} 
[2026-07-15 21:53:56] local.INFO: Extracted packet for processing {"connection_id":132788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6695"} 
[2026-07-15 21:53:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737850624001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:53: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-07-15 21:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784132530000,"timestamp_ms":1784132530000,"timestamp_seconds":1784132530,"priority":1,"record_length":96,"hex_timestamp":"0000019f6695ef50"} 
[2026-07-15 21:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:53:56] 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-07-15 21:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:53: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-07-15 21:53:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737850624001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737850624001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:53:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:53:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737850624001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":132788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:53:56] local.INFO: GPS data processed {"connection_id":132788,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:53:56] local.INFO: Acknowledgment sent {"connection_id":132788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:54:00] local.INFO: TCP Data received {"connection_id":135189,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:54:00] local.INFO: Processing buffer {"connection_id":135189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:54:00] local.INFO: IMEI packet received {"connection_id":135189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":135189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:54:05] local.INFO: TCP Data received {"connection_id":135189,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:54:05] local.INFO: Processing buffer {"connection_id":135189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:54:05] local.INFO: IMEI packet received {"connection_id":135189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":135189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:54:06] local.INFO: TCP Data received {"connection_id":135189,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66936eb0012d77a94005f279f00014014724..."} 
[2026-07-15 21:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66936eb0012d77a94005f279f00014014724..."} 
[2026-07-15 21:54:06] local.INFO: Processing buffer {"connection_id":135189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66936eb0012d77a94005f279f00014014724..."} 
[2026-07-15 21:54:06] local.INFO: Packet analysis {"connection_id":135189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6693"} 
[2026-07-15 21:54:06] local.INFO: Extracted packet for processing {"connection_id":135189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6693"} 
[2026-07-15 21:54:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":20,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737808640001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784132366000,"timestamp_ms":1784132366000,"timestamp_seconds":1784132366,"priority":1,"record_length":96,"hex_timestamp":"0000019f66936eb0"} 
[2026-07-15 21:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 21:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737808640001,"66":25778,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737808640001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:54:06] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:54:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737808640001,"power":25778,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":135189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:54:06] local.INFO: GPS data processed {"connection_id":135189,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:54:06] local.INFO: Acknowledgment sent {"connection_id":135189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:54:28] local.INFO: TCP Data received {"connection_id":132788,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6695ef50012d196540071ff0400040004825..."} 
[2026-07-15 21:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6695ef50012d196540071ff0400040004825..."} 
[2026-07-15 21:54:28] local.INFO: Processing buffer {"connection_id":132788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6695ef50012d196540071ff0400040004825..."} 
[2026-07-15 21:54:28] local.INFO: Packet analysis {"connection_id":132788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6695"} 
[2026-07-15 21:54:28] local.INFO: Extracted packet for processing {"connection_id":132788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6695"} 
[2026-07-15 21:54:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737850624001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:54: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-07-15 21:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784132530000,"timestamp_ms":1784132530000,"timestamp_seconds":1784132530,"priority":1,"record_length":96,"hex_timestamp":"0000019f6695ef50"} 
[2026-07-15 21:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:54:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:54: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-07-15 21: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-07-15 21:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:54:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737850624001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737850624001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:54:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:54:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737850624001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":132788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:54:28] local.INFO: GPS data processed {"connection_id":132788,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:54:28] local.INFO: Acknowledgment sent {"connection_id":132788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:54:38] local.INFO: TCP Data received {"connection_id":135189,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66936eb0012d77a94005f279f00014014724..."} 
[2026-07-15 21:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66936eb0012d77a94005f279f00014014724..."} 
[2026-07-15 21:54:38] local.INFO: Processing buffer {"connection_id":135189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66936eb0012d77a94005f279f00014014724..."} 
[2026-07-15 21:54:38] local.INFO: Packet analysis {"connection_id":135189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6693"} 
[2026-07-15 21:54:38] local.INFO: Extracted packet for processing {"connection_id":135189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6693"} 
[2026-07-15 21:54:38] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":20,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737808640001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784132366000,"timestamp_ms":1784132366000,"timestamp_seconds":1784132366,"priority":1,"record_length":96,"hex_timestamp":"0000019f66936eb0"} 
[2026-07-15 21:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 21:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":135189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":135189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":135189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737808640001,"66":25778,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737808640001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:54:38] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:54:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737808640001,"power":25778,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":135189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:54:38] local.INFO: GPS data processed {"connection_id":135189,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:54:38] local.INFO: Acknowledgment sent {"connection_id":135189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:54:49] local.INFO: TCP Data received {"connection_id":132968,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:54:50] local.INFO: Processing buffer {"connection_id":132968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:54:50] local.INFO: IMEI packet received {"connection_id":132968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":132968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:54:55] local.INFO: TCP Data received {"connection_id":132968,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:54:55] local.INFO: Processing buffer {"connection_id":132968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:54:55] local.INFO: IMEI packet received {"connection_id":132968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":132968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:54:56] local.INFO: TCP Data received {"connection_id":132968,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6695ef50012d196540071ff0400040004825..."} 
[2026-07-15 21:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6695ef50012d196540071ff0400040004825..."} 
[2026-07-15 21:54:56] local.INFO: Processing buffer {"connection_id":132968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6695ef50012d196540071ff0400040004825..."} 
[2026-07-15 21:54:56] local.INFO: Packet analysis {"connection_id":132968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6695"} 
[2026-07-15 21:54:56] local.INFO: Extracted packet for processing {"connection_id":132968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6695"} 
[2026-07-15 21:54:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737850624001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:54: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-07-15 21:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784132530000,"timestamp_ms":1784132530000,"timestamp_seconds":1784132530,"priority":1,"record_length":96,"hex_timestamp":"0000019f6695ef50"} 
[2026-07-15 21:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:54:56] 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-07-15 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:54: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-07-15 21: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-07-15 21:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737850624001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737850624001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:54:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:54:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737850624001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":132968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:54:56] local.INFO: GPS data processed {"connection_id":132968,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:54:56] local.INFO: Acknowledgment sent {"connection_id":132968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:55:05] local.INFO: TCP Data received {"connection_id":132789,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:55:05] local.INFO: Processing buffer {"connection_id":132789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:55:05] local.INFO: IMEI packet received {"connection_id":132789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":132789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:55:06] local.INFO: TCP Data received {"connection_id":132789,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:55:06] local.INFO: Processing buffer {"connection_id":132789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:55:06] local.INFO: IMEI packet received {"connection_id":132789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":132789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:55:10] local.INFO: TCP Data received {"connection_id":132789,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:55:10] local.INFO: Processing buffer {"connection_id":132789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:55:10] local.INFO: IMEI packet received {"connection_id":132789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":132789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:55:12] local.INFO: TCP Data received {"connection_id":132789,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66980678012d77a94005f279f00014014725..."} 
[2026-07-15 21:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66980678012d77a94005f279f00014014725..."} 
[2026-07-15 21:55:12] local.INFO: Processing buffer {"connection_id":132789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66980678012d77a94005f279f00014014725..."} 
[2026-07-15 21:55:12] local.INFO: Packet analysis {"connection_id":132789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6698"} 
[2026-07-15 21:55:12] local.INFO: Extracted packet for processing {"connection_id":132789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6698"} 
[2026-07-15 21:55:12] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":20,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737885696001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784132667000,"timestamp_ms":1784132667000,"timestamp_seconds":1784132667,"priority":1,"record_length":96,"hex_timestamp":"0000019f66980678"} 
[2026-07-15 21:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 21:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737885696001,"66":25756,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737885696001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:55:12] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:55:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737885696001,"power":25756,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":132789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:55:12] local.INFO: GPS data processed {"connection_id":132789,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:55:12] local.INFO: Acknowledgment sent {"connection_id":132789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:55:14] local.INFO: TCP Data received {"connection_id":135190,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135190,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:55:14] local.INFO: Processing buffer {"connection_id":135190,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:55:14] local.INFO: IMEI packet received {"connection_id":135190,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 21:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":135190,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:55:16] local.INFO: TCP Data received {"connection_id":132789,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66980678012d77a94005f279f00014014725..."} 
[2026-07-15 21:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66980678012d77a94005f279f00014014725..."} 
[2026-07-15 21:55:16] local.INFO: Processing buffer {"connection_id":132789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66980678012d77a94005f279f00014014725..."} 
[2026-07-15 21:55:16] local.INFO: Packet analysis {"connection_id":132789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6698"} 
[2026-07-15 21:55:16] local.INFO: Extracted packet for processing {"connection_id":132789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6698"} 
[2026-07-15 21:55:16] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":20,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737885696001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:55:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:55:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784132667000,"timestamp_ms":1784132667000,"timestamp_seconds":1784132667,"priority":1,"record_length":96,"hex_timestamp":"0000019f66980678"} 
[2026-07-15 21:55:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:55:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 21:55:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:55:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:55:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:55:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737885696001,"66":25756,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737885696001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:55:16] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:55:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:55:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737885696001,"power":25756,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":132789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:55:16] local.INFO: GPS data processed {"connection_id":132789,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:55:16] local.INFO: Acknowledgment sent {"connection_id":132789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:55:28] local.INFO: TCP Data received {"connection_id":132968,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6695ef50012d196540071ff0400040004825..."} 
[2026-07-15 21:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6695ef50012d196540071ff0400040004825..."} 
[2026-07-15 21:55:28] local.INFO: Processing buffer {"connection_id":132968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6695ef50012d196540071ff0400040004825..."} 
[2026-07-15 21:55:28] local.INFO: Packet analysis {"connection_id":132968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6695"} 
[2026-07-15 21:55:28] local.INFO: Extracted packet for processing {"connection_id":132968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6695"} 
[2026-07-15 21:55:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737850624001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:55:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:55: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-07-15 21:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784132530000,"timestamp_ms":1784132530000,"timestamp_seconds":1784132530,"priority":1,"record_length":96,"hex_timestamp":"0000019f6695ef50"} 
[2026-07-15 21:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:55:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:55: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-07-15 21:55:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:55:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737850624001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737850624001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:55:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:55:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:55:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737850624001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":132968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:55:28] local.INFO: GPS data processed {"connection_id":132968,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:55:28] local.INFO: Acknowledgment sent {"connection_id":132968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:55:33] local.INFO: TCP Data received {"connection_id":133832,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133832,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:55:33] local.INFO: Processing buffer {"connection_id":133832,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 21:55:33] local.INFO: IMEI packet received {"connection_id":133832,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 21:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":133832,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:55:55] local.INFO: TCP Data received {"connection_id":132969,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:55:56] local.INFO: Processing buffer {"connection_id":132969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:55:56] local.INFO: IMEI packet received {"connection_id":132969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":132969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:56:00] local.INFO: TCP Data received {"connection_id":133833,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:56:00] local.INFO: Processing buffer {"connection_id":133833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:56:00] local.INFO: IMEI packet received {"connection_id":133833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":133833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:56:00] local.INFO: TCP Data received {"connection_id":132969,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:56:00] local.INFO: Processing buffer {"connection_id":132969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:56:00] local.INFO: IMEI packet received {"connection_id":132969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":132969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:56:05] local.INFO: TCP Data received {"connection_id":132969,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:56:05] local.INFO: Processing buffer {"connection_id":132969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:56:05] local.INFO: IMEI packet received {"connection_id":132969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 21:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":132969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:56:05] local.INFO: TCP Data received {"connection_id":133833,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:56:05] local.INFO: Processing buffer {"connection_id":133833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:56:05] local.INFO: IMEI packet received {"connection_id":133833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":133833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:56:06] local.INFO: TCP Data received {"connection_id":133833,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66980678012d77a94005f279f00014014725..."} 
[2026-07-15 21:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66980678012d77a94005f279f00014014725..."} 
[2026-07-15 21:56:06] local.INFO: Processing buffer {"connection_id":133833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66980678012d77a94005f279f00014014725..."} 
[2026-07-15 21:56:06] local.INFO: Packet analysis {"connection_id":133833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6698"} 
[2026-07-15 21:56:06] local.INFO: Extracted packet for processing {"connection_id":133833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6698"} 
[2026-07-15 21:56:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":20,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737885696001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784132667000,"timestamp_ms":1784132667000,"timestamp_seconds":1784132667,"priority":1,"record_length":96,"hex_timestamp":"0000019f66980678"} 
[2026-07-15 21:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 21:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737885696001,"66":25756,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737885696001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:56:06] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:56:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737885696001,"power":25756,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":133833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:56:06] local.INFO: GPS data processed {"connection_id":133833,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:56:06] local.INFO: Acknowledgment sent {"connection_id":133833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:56:06] local.INFO: TCP Data received {"connection_id":132969,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6695ef50012d196540071ff0400040004825..."} 
[2026-07-15 21:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6695ef50012d196540071ff0400040004825..."} 
[2026-07-15 21:56:06] local.INFO: Processing buffer {"connection_id":132969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6695ef50012d196540071ff0400040004825..."} 
[2026-07-15 21:56:06] local.INFO: Packet analysis {"connection_id":132969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6695"} 
[2026-07-15 21:56:06] local.INFO: Extracted packet for processing {"connection_id":132969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6695"} 
[2026-07-15 21:56:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737850624001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:56:06] 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-07-15 21:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784132530000,"timestamp_ms":1784132530000,"timestamp_seconds":1784132530,"priority":1,"record_length":96,"hex_timestamp":"0000019f6695ef50"} 
[2026-07-15 21:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:56: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-07-15 21:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737850624001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737850624001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:56:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:56:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737850624001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":132969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:56:06] local.INFO: GPS data processed {"connection_id":132969,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:56:06] local.INFO: Acknowledgment sent {"connection_id":132969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:56:15] local.INFO: TCP Data received {"connection_id":132969,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f6695ef50012d196540071ff0400040004825..."} 
[2026-07-15 21:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6695ef50012d196540071ff0400040004825..."} 
[2026-07-15 21:56:15] local.INFO: Processing buffer {"connection_id":132969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6695ef50012d196540071ff0400040004825..."} 
[2026-07-15 21:56:15] local.INFO: Packet analysis {"connection_id":132969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6695"} 
[2026-07-15 21:56:15] local.INFO: Extracted packet for processing {"connection_id":132969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6695"} 
[2026-07-15 21:56:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 21:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737850624001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 21:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 21:56:15] 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-07-15 21:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784132530000,"timestamp_ms":1784132530000,"timestamp_seconds":1784132530,"priority":1,"record_length":96,"hex_timestamp":"0000019f6695ef50"} 
[2026-07-15 21:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:56:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 21:56:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:56:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":132969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":132969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":132969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 21:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 21:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 21:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737850624001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 21:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 21:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 21:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737850624001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:56:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 21:56:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 21:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 21:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737850624001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 21:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":132969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:56:15] local.INFO: GPS data processed {"connection_id":132969,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:56:15] local.INFO: Acknowledgment sent {"connection_id":132969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:56:37] local.INFO: TCP Data received {"connection_id":133833,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66980678012d77a94005f279f00014014725..."} 
[2026-07-15 21:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66980678012d77a94005f279f00014014725..."} 
[2026-07-15 21:56:37] local.INFO: Processing buffer {"connection_id":133833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66980678012d77a94005f279f00014014725..."} 
[2026-07-15 21:56:37] local.INFO: Packet analysis {"connection_id":133833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6698"} 
[2026-07-15 21:56:37] local.INFO: Extracted packet for processing {"connection_id":133833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6698"} 
[2026-07-15 21:56:37] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":20,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 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-07-15 21:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737885696001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784132667000,"timestamp_ms":1784132667000,"timestamp_seconds":1784132667,"priority":1,"record_length":96,"hex_timestamp":"0000019f66980678"} 
[2026-07-15 21:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 21:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737885696001,"66":25756,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737885696001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:56:37] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:56:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737885696001,"power":25756,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":133833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:56:37] local.INFO: GPS data processed {"connection_id":133833,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:56:37] local.INFO: Acknowledgment sent {"connection_id":133833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:57:00] local.INFO: TCP Data received {"connection_id":133835,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:57:00] local.INFO: Processing buffer {"connection_id":133835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:57:00] local.INFO: IMEI packet received {"connection_id":133835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":133835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:57:05] local.INFO: TCP Data received {"connection_id":133835,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:57:05] local.INFO: Processing buffer {"connection_id":133835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:57:05] local.INFO: IMEI packet received {"connection_id":133835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":133835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:57:07] local.INFO: TCP Data received {"connection_id":133835,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66980678012d77a94005f279f00014014725..."} 
[2026-07-15 21:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66980678012d77a94005f279f00014014725..."} 
[2026-07-15 21:57:07] local.INFO: Processing buffer {"connection_id":133835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66980678012d77a94005f279f00014014725..."} 
[2026-07-15 21:57:07] local.INFO: Packet analysis {"connection_id":133835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6698"} 
[2026-07-15 21:57:07] local.INFO: Extracted packet for processing {"connection_id":133835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6698"} 
[2026-07-15 21:57:07] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":20,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737885696001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784132667000,"timestamp_ms":1784132667000,"timestamp_seconds":1784132667,"priority":1,"record_length":96,"hex_timestamp":"0000019f66980678"} 
[2026-07-15 21:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 21:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:57:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737885696001,"66":25756,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737885696001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:57:07] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:57:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737885696001,"power":25756,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":133835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:57:07] local.INFO: GPS data processed {"connection_id":133835,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:57:07] local.INFO: Acknowledgment sent {"connection_id":133835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:57:44] local.INFO: TCP Data received {"connection_id":133835,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66980678012d77a94005f279f00014014725..."} 
[2026-07-15 21:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66980678012d77a94005f279f00014014725..."} 
[2026-07-15 21:57:44] local.INFO: Processing buffer {"connection_id":133835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66980678012d77a94005f279f00014014725..."} 
[2026-07-15 21:57:44] local.INFO: Packet analysis {"connection_id":133835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6698"} 
[2026-07-15 21:57:44] local.INFO: Extracted packet for processing {"connection_id":133835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6698"} 
[2026-07-15 21:57:44] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":20,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737885696001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:57:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:57:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784132667000,"timestamp_ms":1784132667000,"timestamp_seconds":1784132667,"priority":1,"record_length":96,"hex_timestamp":"0000019f66980678"} 
[2026-07-15 21:57:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:57:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 21:57:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:57:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:57:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":133835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":133835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":133835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:57:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737885696001,"66":25756,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737885696001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:57:44] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:57:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:57:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:57:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:57:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737885696001,"power":25756,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:57:44] local.INFO: DEBUG: GPS processor result {"connection_id":133835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:57:44] local.INFO: GPS data processed {"connection_id":133835,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:57:44] local.INFO: Acknowledgment sent {"connection_id":133835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:57:54] local.INFO: TCP Data received {"connection_id":132970,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132970,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:57:54] local.INFO: Processing buffer {"connection_id":132970,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 21:57:54] local.INFO: IMEI packet received {"connection_id":132970,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":132970,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:58:05] local.INFO: TCP Data received {"connection_id":132971,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:58:05] local.INFO: Processing buffer {"connection_id":132971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:58:05] local.INFO: IMEI packet received {"connection_id":132971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":132971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:58:05] local.INFO: TCP Data received {"connection_id":133834,"ip":"117.224.197.224","data_length":51,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-15 21:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133834,"packet_length":51,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-15 21:58:05] local.INFO: Processing buffer {"connection_id":133834,"buffer_length":51,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-15 21:58:05] local.INFO: IMEI packet received {"connection_id":133834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 21:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":133834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:58:10] local.INFO: TCP Data received {"connection_id":132971,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:58:10] local.INFO: Processing buffer {"connection_id":132971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:58:10] local.INFO: IMEI packet received {"connection_id":132971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":132971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:58:22] local.INFO: TCP Data received {"connection_id":132971,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66980678012d77a94005f279f00014014725..."} 
[2026-07-15 21:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66980678012d77a94005f279f00014014725..."} 
[2026-07-15 21:58:22] local.INFO: Processing buffer {"connection_id":132971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66980678012d77a94005f279f00014014725..."} 
[2026-07-15 21:58:22] local.INFO: Packet analysis {"connection_id":132971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6698"} 
[2026-07-15 21:58:22] local.INFO: Extracted packet for processing {"connection_id":132971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6698"} 
[2026-07-15 21:58:22] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":20,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737885696001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:58:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:58:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784132667000,"timestamp_ms":1784132667000,"timestamp_seconds":1784132667,"priority":1,"record_length":96,"hex_timestamp":"0000019f66980678"} 
[2026-07-15 21:58:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:58:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 21:58:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:58:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":132971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":132971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":132971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:58:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737885696001,"66":25756,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737885696001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:58:22] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:58:22] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:58:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737885696001,"power":25756,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":132971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:58:22] local.INFO: GPS data processed {"connection_id":132971,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:58:22] local.INFO: Acknowledgment sent {"connection_id":132971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:58:23] local.INFO: TCP Data received {"connection_id":132971,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66980678012d77a94005f279f00014014725..."} 
[2026-07-15 21:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66980678012d77a94005f279f00014014725..."} 
[2026-07-15 21:58:23] local.INFO: Processing buffer {"connection_id":132971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66980678012d77a94005f279f00014014725..."} 
[2026-07-15 21:58:23] local.INFO: Packet analysis {"connection_id":132971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6698"} 
[2026-07-15 21:58:23] local.INFO: Extracted packet for processing {"connection_id":132971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6698"} 
[2026-07-15 21:58:23] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777008,"longitude_deg":76.2816832,"latitude_deg":9.9777008,"altitude":20,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f279f0","is_valid_coordinates":true} 
[2026-07-15 21: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-07-15 21:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737885696001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1784132667000,"timestamp_ms":1784132667000,"timestamp_seconds":1784132667,"priority":1,"record_length":96,"hex_timestamp":"0000019f66980678"} 
[2026-07-15 21:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:58:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 21:58:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21: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-07-15 21:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":132971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":132971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":132971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:58:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737885696001,"66":25756,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737885696001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:58:23] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:58:23] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737885696001,"power":25756,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":132971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:58:23] local.INFO: GPS data processed {"connection_id":132971,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:58:23] local.INFO: Acknowledgment sent {"connection_id":132971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:58:58] local.INFO: TCP Data received {"connection_id":132790,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:58:58] local.INFO: Processing buffer {"connection_id":132790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:58:58] local.INFO: IMEI packet received {"connection_id":132790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 21:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":132790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 21:59:00] local.INFO: TCP Data received {"connection_id":132790,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:59:00] local.INFO: Processing buffer {"connection_id":132790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:59:00] local.INFO: IMEI packet received {"connection_id":132790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":132790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:59:05] local.INFO: TCP Data received {"connection_id":132790,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:59:05] local.INFO: Processing buffer {"connection_id":132790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 21:59:05] local.INFO: IMEI packet received {"connection_id":132790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 21:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":132790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 21:59:08] local.INFO: TCP Data received {"connection_id":132790,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f669c2140012d77a6c005f27a20000d00001f..."} 
[2026-07-15 21:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f669c2140012d77a6c005f27a20000d00001f..."} 
[2026-07-15 21:59:08] local.INFO: Processing buffer {"connection_id":132790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f669c2140012d77a6c005f27a20000d00001f..."} 
[2026-07-15 21:59:08] local.INFO: Packet analysis {"connection_id":132790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f669c"} 
[2026-07-15 21:59:08] local.INFO: Extracted packet for processing {"connection_id":132790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f669c"} 
[2026-07-15 21:59:08] local.INFO: GPS Element Parsed {"raw_longitude":762816192,"raw_latitude":99777056,"longitude_deg":76.2816192,"latitude_deg":9.9777056,"altitude":13,"angle":0,"satellites":31,"speed":0,"hex_longitude":"2d77a6c0","hex_latitude":"05f27a20","is_valid_coordinates":true} 
[2026-07-15 21:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737962752001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784132936000,"timestamp_ms":1784132936000,"timestamp_seconds":1784132936,"priority":1,"record_length":96,"hex_timestamp":"0000019f669c2140"} 
[2026-07-15 21:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 21:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737962752001,"66":25832,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737962752001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:59:08] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:59:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737962752001,"power":25832,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":132790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:59:08] local.INFO: GPS data processed {"connection_id":132790,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:59:08] local.INFO: Acknowledgment sent {"connection_id":132790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 21:59:40] local.INFO: TCP Data received {"connection_id":132790,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f669c2140012d77a6c005f27a20000d00001f..."} 
[2026-07-15 21:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f669c2140012d77a6c005f27a20000d00001f..."} 
[2026-07-15 21:59:40] local.INFO: Processing buffer {"connection_id":132790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f669c2140012d77a6c005f27a20000d00001f..."} 
[2026-07-15 21:59:40] local.INFO: Packet analysis {"connection_id":132790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f669c"} 
[2026-07-15 21:59:40] local.INFO: Extracted packet for processing {"connection_id":132790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f669c"} 
[2026-07-15 21:59:40] local.INFO: GPS Element Parsed {"raw_longitude":762816192,"raw_latitude":99777056,"longitude_deg":76.2816192,"latitude_deg":9.9777056,"altitude":13,"angle":0,"satellites":31,"speed":0,"hex_longitude":"2d77a6c0","hex_latitude":"05f27a20","is_valid_coordinates":true} 
[2026-07-15 21:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 21:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737962752001,"note":"Value kept but may cause issues"} 
[2026-07-15 21:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 21:59:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 21:59:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 21:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784132936000,"timestamp_ms":1784132936000,"timestamp_seconds":1784132936,"priority":1,"record_length":96,"hex_timestamp":"0000019f669c2140"} 
[2026-07-15 21:59:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 21:59:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 21:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 21:59:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 21:59:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 21:59:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 21:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 21:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 21:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 21:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 21:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 21:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 21:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737962752001,"66":25832,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 21:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 21:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 21:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737962752001,"description":"Unknown IO ID 0"} 
[2026-07-15 21:59:40] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 21:59:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 21:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 21:59:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 21:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737962752001,"power":25832,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 21:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":132790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 21:59:40] local.INFO: GPS data processed {"connection_id":132790,"processed":1,"errors":0,"total":1} 
[2026-07-15 21:59:40] local.INFO: Acknowledgment sent {"connection_id":132790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:00:00] local.INFO: TCP Data received {"connection_id":132791,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:00:00] local.INFO: Processing buffer {"connection_id":132791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:00:00] local.INFO: IMEI packet received {"connection_id":132791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":132791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:00:05] local.INFO: TCP Data received {"connection_id":132791,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:00:05] local.INFO: Processing buffer {"connection_id":132791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:00:05] local.INFO: IMEI packet received {"connection_id":132791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":132791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:00:13] local.INFO: TCP Data received {"connection_id":132791,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f669c2140012d77a6c005f27a20000d00001f..."} 
[2026-07-15 22:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f669c2140012d77a6c005f27a20000d00001f..."} 
[2026-07-15 22:00:13] local.INFO: Processing buffer {"connection_id":132791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f669c2140012d77a6c005f27a20000d00001f..."} 
[2026-07-15 22:00:13] local.INFO: Packet analysis {"connection_id":132791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f669c"} 
[2026-07-15 22:00:13] local.INFO: Extracted packet for processing {"connection_id":132791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f669c"} 
[2026-07-15 22:00:13] local.INFO: GPS Element Parsed {"raw_longitude":762816192,"raw_latitude":99777056,"longitude_deg":76.2816192,"latitude_deg":9.9777056,"altitude":13,"angle":0,"satellites":31,"speed":0,"hex_longitude":"2d77a6c0","hex_latitude":"05f27a20","is_valid_coordinates":true} 
[2026-07-15 22:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737962752001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 22:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784132936000,"timestamp_ms":1784132936000,"timestamp_seconds":1784132936,"priority":1,"record_length":96,"hex_timestamp":"0000019f669c2140"} 
[2026-07-15 22:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:00:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 22:00:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:00:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737962752001,"66":25832,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 22:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737962752001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:00:13] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 22:00:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 22:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737962752001,"power":25832,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 22:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":132791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:00:13] local.INFO: GPS data processed {"connection_id":132791,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:00:13] local.INFO: Acknowledgment sent {"connection_id":132791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:00:44] local.INFO: TCP Data received {"connection_id":132791,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f669c2140012d77a6c005f27a20000d00001f..."} 
[2026-07-15 22:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f669c2140012d77a6c005f27a20000d00001f..."} 
[2026-07-15 22:00:44] local.INFO: Processing buffer {"connection_id":132791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f669c2140012d77a6c005f27a20000d00001f..."} 
[2026-07-15 22:00:44] local.INFO: Packet analysis {"connection_id":132791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f669c"} 
[2026-07-15 22:00:44] local.INFO: Extracted packet for processing {"connection_id":132791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f669c"} 
[2026-07-15 22:00:44] local.INFO: GPS Element Parsed {"raw_longitude":762816192,"raw_latitude":99777056,"longitude_deg":76.2816192,"latitude_deg":9.9777056,"altitude":13,"angle":0,"satellites":31,"speed":0,"hex_longitude":"2d77a6c0","hex_latitude":"05f27a20","is_valid_coordinates":true} 
[2026-07-15 22:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:00:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737962752001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:00:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 22:00:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:00:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784132936000,"timestamp_ms":1784132936000,"timestamp_seconds":1784132936,"priority":1,"record_length":96,"hex_timestamp":"0000019f669c2140"} 
[2026-07-15 22:00:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:00:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 22:00:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:00:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:00:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":132791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":132791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":132791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:00:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:00:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:00:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:00:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737962752001,"66":25832,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 22:00:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:00:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:00:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737962752001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:00:44] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 22:00:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:00:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:00:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 22:00:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737962752001,"power":25832,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 22:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":132791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:00:44] local.INFO: GPS data processed {"connection_id":132791,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:00:44] local.INFO: Acknowledgment sent {"connection_id":132791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:00:59] local.INFO: TCP Data received {"connection_id":133839,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133839,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:00:59] local.INFO: Processing buffer {"connection_id":133839,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:00:59] local.INFO: IMEI packet received {"connection_id":133839,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 22:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":133839,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:01:05] local.INFO: TCP Data received {"connection_id":132973,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:01:05] local.INFO: Processing buffer {"connection_id":132973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:01:05] local.INFO: IMEI packet received {"connection_id":132973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":132973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:01:10] local.INFO: TCP Data received {"connection_id":132973,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:01:10] local.INFO: Processing buffer {"connection_id":132973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:01:10] local.INFO: IMEI packet received {"connection_id":132973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":132973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:01:11] local.INFO: TCP Data received {"connection_id":132973,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f669c2140012d77a6c005f27a20000d00001f..."} 
[2026-07-15 22:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f669c2140012d77a6c005f27a20000d00001f..."} 
[2026-07-15 22:01:11] local.INFO: Processing buffer {"connection_id":132973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f669c2140012d77a6c005f27a20000d00001f..."} 
[2026-07-15 22:01:11] local.INFO: Packet analysis {"connection_id":132973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f669c"} 
[2026-07-15 22:01:11] local.INFO: Extracted packet for processing {"connection_id":132973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f669c"} 
[2026-07-15 22:01:11] local.INFO: GPS Element Parsed {"raw_longitude":762816192,"raw_latitude":99777056,"longitude_deg":76.2816192,"latitude_deg":9.9777056,"altitude":13,"angle":0,"satellites":31,"speed":0,"hex_longitude":"2d77a6c0","hex_latitude":"05f27a20","is_valid_coordinates":true} 
[2026-07-15 22: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-07-15 22:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737962752001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 22:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784132936000,"timestamp_ms":1784132936000,"timestamp_seconds":1784132936,"priority":1,"record_length":96,"hex_timestamp":"0000019f669c2140"} 
[2026-07-15 22:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 22:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22: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-07-15 22:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737962752001,"66":25832,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 22:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737962752001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:01:11] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 22:01:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 22:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737962752001,"power":25832,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 22:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":132973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:01:11] local.INFO: GPS data processed {"connection_id":132973,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:01:11] local.INFO: Acknowledgment sent {"connection_id":132973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:01:16] local.INFO: TCP Data received {"connection_id":132973,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f669c2140012d77a6c005f27a20000d00001f..."} 
[2026-07-15 22:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f669c2140012d77a6c005f27a20000d00001f..."} 
[2026-07-15 22:01:16] local.INFO: Processing buffer {"connection_id":132973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f669c2140012d77a6c005f27a20000d00001f..."} 
[2026-07-15 22:01:16] local.INFO: Packet analysis {"connection_id":132973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f669c"} 
[2026-07-15 22:01:16] local.INFO: Extracted packet for processing {"connection_id":132973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f669c"} 
[2026-07-15 22:01:16] local.INFO: GPS Element Parsed {"raw_longitude":762816192,"raw_latitude":99777056,"longitude_deg":76.2816192,"latitude_deg":9.9777056,"altitude":13,"angle":0,"satellites":31,"speed":0,"hex_longitude":"2d77a6c0","hex_latitude":"05f27a20","is_valid_coordinates":true} 
[2026-07-15 22:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737962752001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 22:01:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784132936000,"timestamp_ms":1784132936000,"timestamp_seconds":1784132936,"priority":1,"record_length":96,"hex_timestamp":"0000019f669c2140"} 
[2026-07-15 22:01:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:01:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 22:01:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:01:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:01:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:01:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737962752001,"66":25832,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 22:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737962752001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:01:16] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 22:01:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 22:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737962752001,"power":25832,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 22:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":132973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:01:16] local.INFO: GPS data processed {"connection_id":132973,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:01:16] local.INFO: Acknowledgment sent {"connection_id":132973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:01:33] local.INFO: TCP Data received {"connection_id":133840,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133840,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:01:33] local.INFO: Processing buffer {"connection_id":133840,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:01:33] local.INFO: IMEI packet received {"connection_id":133840,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 22:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":133840,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:02:00] local.INFO: TCP Data received {"connection_id":132793,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:02:00] local.INFO: Processing buffer {"connection_id":132793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:02:00] local.INFO: IMEI packet received {"connection_id":132793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":132793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:02:05] local.INFO: TCP Data received {"connection_id":132793,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:02:05] local.INFO: Processing buffer {"connection_id":132793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:02:05] local.INFO: IMEI packet received {"connection_id":132793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":132793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:02:06] local.INFO: TCP Data received {"connection_id":132793,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f669c2140012d77a6c005f27a20000d00001f..."} 
[2026-07-15 22:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f669c2140012d77a6c005f27a20000d00001f..."} 
[2026-07-15 22:02:06] local.INFO: Processing buffer {"connection_id":132793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f669c2140012d77a6c005f27a20000d00001f..."} 
[2026-07-15 22:02:06] local.INFO: Packet analysis {"connection_id":132793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f669c"} 
[2026-07-15 22:02:06] local.INFO: Extracted packet for processing {"connection_id":132793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f669c"} 
[2026-07-15 22:02:06] local.INFO: GPS Element Parsed {"raw_longitude":762816192,"raw_latitude":99777056,"longitude_deg":76.2816192,"latitude_deg":9.9777056,"altitude":13,"angle":0,"satellites":31,"speed":0,"hex_longitude":"2d77a6c0","hex_latitude":"05f27a20","is_valid_coordinates":true} 
[2026-07-15 22:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737962752001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 22:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784132936000,"timestamp_ms":1784132936000,"timestamp_seconds":1784132936,"priority":1,"record_length":96,"hex_timestamp":"0000019f669c2140"} 
[2026-07-15 22:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 22:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737962752001,"66":25832,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 22:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737962752001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:02:06] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 22:02:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 22:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737962752001,"power":25832,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 22:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":132793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:02:06] local.INFO: GPS data processed {"connection_id":132793,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:02:06] local.INFO: Acknowledgment sent {"connection_id":132793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:02:37] local.INFO: TCP Data received {"connection_id":132793,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f669c2140012d77a6c005f27a20000d00001f..."} 
[2026-07-15 22:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f669c2140012d77a6c005f27a20000d00001f..."} 
[2026-07-15 22:02:37] local.INFO: Processing buffer {"connection_id":132793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f669c2140012d77a6c005f27a20000d00001f..."} 
[2026-07-15 22:02:37] local.INFO: Packet analysis {"connection_id":132793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f669c"} 
[2026-07-15 22:02:37] local.INFO: Extracted packet for processing {"connection_id":132793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f669c"} 
[2026-07-15 22:02:37] local.INFO: GPS Element Parsed {"raw_longitude":762816192,"raw_latitude":99777056,"longitude_deg":76.2816192,"latitude_deg":9.9777056,"altitude":13,"angle":0,"satellites":31,"speed":0,"hex_longitude":"2d77a6c0","hex_latitude":"05f27a20","is_valid_coordinates":true} 
[2026-07-15 22: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-07-15 22:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737962752001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 22:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784132936000,"timestamp_ms":1784132936000,"timestamp_seconds":1784132936,"priority":1,"record_length":96,"hex_timestamp":"0000019f669c2140"} 
[2026-07-15 22:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 22:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22: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-07-15 22:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737962752001,"66":25832,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 22:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737962752001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:02:37] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 22:02:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 22:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737962752001,"power":25832,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 22:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":132793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:02:37] local.INFO: GPS data processed {"connection_id":132793,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:02:37] local.INFO: Acknowledgment sent {"connection_id":132793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:03:00] local.INFO: TCP Data received {"connection_id":133843,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:03:00] local.INFO: Processing buffer {"connection_id":133843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:03:00] local.INFO: IMEI packet received {"connection_id":133843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":133843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:03:00] local.INFO: TCP Data received {"connection_id":133842,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 22:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 22:03:00] local.INFO: Processing buffer {"connection_id":133842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 22:03:00] local.INFO: IMEI packet received {"connection_id":133842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 22:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":133842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:03:01] local.INFO: TCP Data received {"connection_id":133842,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f669a8718012d196540071ff0400040004822..."} 
[2026-07-15 22:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f669a8718012d196540071ff0400040004822..."} 
[2026-07-15 22:03:01] local.INFO: Processing buffer {"connection_id":133842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f669a8718012d196540071ff0400040004822..."} 
[2026-07-15 22:03:01] local.INFO: Packet analysis {"connection_id":133842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f669a"} 
[2026-07-15 22:03:01] local.INFO: Extracted packet for processing {"connection_id":133842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f669a"} 
[2026-07-15 22:03:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":34,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 22:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737927680001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 22:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:03:01] 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-07-15 22:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784132831000,"timestamp_ms":1784132831000,"timestamp_seconds":1784132831,"priority":1,"record_length":96,"hex_timestamp":"0000019f669a8718"} 
[2026-07-15 22:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:03:01] 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-07-15 22:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 22:03: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-07-15 22:03:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":133842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":133842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 22:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":133842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 22:03:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 22:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 22:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737927680001,"66":2166,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 22:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 22:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 22:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737927680001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:03:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 22:03:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 22:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737927680001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 22:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":133842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:03:01] local.INFO: GPS data processed {"connection_id":133842,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:03:01] local.INFO: Acknowledgment sent {"connection_id":133842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:03:05] local.INFO: TCP Data received {"connection_id":133843,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:03:05] local.INFO: Processing buffer {"connection_id":133843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:03:05] local.INFO: IMEI packet received {"connection_id":133843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":133843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:03:13] local.INFO: TCP Data received {"connection_id":133843,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f669c2140012d77a6c005f27a20000d00001f..."} 
[2026-07-15 22:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f669c2140012d77a6c005f27a20000d00001f..."} 
[2026-07-15 22:03:13] local.INFO: Processing buffer {"connection_id":133843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f669c2140012d77a6c005f27a20000d00001f..."} 
[2026-07-15 22:03:13] local.INFO: Packet analysis {"connection_id":133843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f669c"} 
[2026-07-15 22:03:13] local.INFO: Extracted packet for processing {"connection_id":133843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f669c"} 
[2026-07-15 22:03:13] local.INFO: GPS Element Parsed {"raw_longitude":762816192,"raw_latitude":99777056,"longitude_deg":76.2816192,"latitude_deg":9.9777056,"altitude":13,"angle":0,"satellites":31,"speed":0,"hex_longitude":"2d77a6c0","hex_latitude":"05f27a20","is_valid_coordinates":true} 
[2026-07-15 22:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737962752001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:03:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 22:03:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784132936000,"timestamp_ms":1784132936000,"timestamp_seconds":1784132936,"priority":1,"record_length":96,"hex_timestamp":"0000019f669c2140"} 
[2026-07-15 22:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:03:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 22:03:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:03:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":133843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":133843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":133843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:03:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737962752001,"66":25832,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 22:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737962752001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:03:13] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 22:03:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:03:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 22:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737962752001,"power":25832,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 22:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":133843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:03:13] local.INFO: GPS data processed {"connection_id":133843,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:03:13] local.INFO: Acknowledgment sent {"connection_id":133843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:03:33] local.INFO: TCP Data received {"connection_id":133842,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f669f1ee0012d196540071ff0400040004827..."} 
[2026-07-15 22:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f669f1ee0012d196540071ff0400040004827..."} 
[2026-07-15 22:03:33] local.INFO: Processing buffer {"connection_id":133842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f669f1ee0012d196540071ff0400040004827..."} 
[2026-07-15 22:03:33] local.INFO: Packet analysis {"connection_id":133842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f669f"} 
[2026-07-15 22:03:33] local.INFO: Extracted packet for processing {"connection_id":133842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f669f"} 
[2026-07-15 22:03:33] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 22: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-07-15 22:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738004736001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 22:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:03:33] 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-07-15 22:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784133132000,"timestamp_ms":1784133132000,"timestamp_seconds":1784133132,"priority":1,"record_length":96,"hex_timestamp":"0000019f669f1ee0"} 
[2026-07-15 22:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9728,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 22:03: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-07-15 22: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-07-15 22:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":133842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":133842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 22:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":133842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 22:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 22:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 22:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738004736001,"66":2155,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 22:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 22:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 22:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738004736001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:03:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 22:03:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 22:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738004736001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 22:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":133842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493170,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:03:33] local.INFO: GPS data processed {"connection_id":133842,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:03:33] local.INFO: Acknowledgment sent {"connection_id":133842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:03:45] local.INFO: TCP Data received {"connection_id":133843,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f669c2140012d77a6c005f27a20000d00001f..."} 
[2026-07-15 22:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f669c2140012d77a6c005f27a20000d00001f..."} 
[2026-07-15 22:03:45] local.INFO: Processing buffer {"connection_id":133843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f669c2140012d77a6c005f27a20000d00001f..."} 
[2026-07-15 22:03:45] local.INFO: Packet analysis {"connection_id":133843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f669c"} 
[2026-07-15 22:03:45] local.INFO: Extracted packet for processing {"connection_id":133843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f669c"} 
[2026-07-15 22:03:45] local.INFO: GPS Element Parsed {"raw_longitude":762816192,"raw_latitude":99777056,"longitude_deg":76.2816192,"latitude_deg":9.9777056,"altitude":13,"angle":0,"satellites":31,"speed":0,"hex_longitude":"2d77a6c0","hex_latitude":"05f27a20","is_valid_coordinates":true} 
[2026-07-15 22:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:03:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456737962752001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:03:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:03:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864616960,"note":"Value kept but may cause issues"} 
[2026-07-15 22:03:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:03:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784132936000,"timestamp_ms":1784132936000,"timestamp_seconds":1784132936,"priority":1,"record_length":96,"hex_timestamp":"0000019f669c2140"} 
[2026-07-15 22:03:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:03:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 22:03:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:03:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:03:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:03:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:03:45] local.INFO: Teltonika packet parsed successfully {"connection_id":133843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:03:45] local.INFO: Passing IMEI to GPS processor {"connection_id":133843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:03:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":133843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:03:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:03:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:03:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:03:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456737962752001,"66":25832,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864616960},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 22:03:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:03:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:03:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456737962752001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:03:45] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 22:03:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:03:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:03:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864616960,"description":"Unknown IO ID 45"} 
[2026-07-15 22:03:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456737962752001,"power":25832,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864616960}} 
[2026-07-15 22:03:45] local.INFO: DEBUG: GPS processor result {"connection_id":133843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:03:45] local.INFO: GPS data processed {"connection_id":133843,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:03:45] local.INFO: Acknowledgment sent {"connection_id":133843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:03:54] local.INFO: TCP Data received {"connection_id":132975,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 22:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132975,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 22:03:54] local.INFO: Processing buffer {"connection_id":132975,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 22:03:54] local.INFO: IMEI packet received {"connection_id":132975,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 22:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":132975,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:04:00] local.INFO: TCP Data received {"connection_id":132975,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 22:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132975,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 22:04:00] local.INFO: Processing buffer {"connection_id":132975,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 22:04:00] local.INFO: IMEI packet received {"connection_id":132975,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 22:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":132975,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:04:01] local.INFO: TCP Data received {"connection_id":132975,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f669f1ee0012d196540071ff0400040004827..."} 
[2026-07-15 22:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f669f1ee0012d196540071ff0400040004827..."} 
[2026-07-15 22:04:01] local.INFO: Processing buffer {"connection_id":132975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f669f1ee0012d196540071ff0400040004827..."} 
[2026-07-15 22:04:01] local.INFO: Packet analysis {"connection_id":132975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f669f"} 
[2026-07-15 22:04:01] local.INFO: Extracted packet for processing {"connection_id":132975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f669f"} 
[2026-07-15 22:04:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 22: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-07-15 22:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738004736001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 22:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:04:01] 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-07-15 22:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784133132000,"timestamp_ms":1784133132000,"timestamp_seconds":1784133132,"priority":1,"record_length":96,"hex_timestamp":"0000019f669f1ee0"} 
[2026-07-15 22:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:04:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9728,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 22:04: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-07-15 22: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-07-15 22:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":132975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":132975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 22:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":132975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 22:04:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 22:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 22:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738004736001,"66":2155,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 22:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 22:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 22:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738004736001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:04:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 22:04:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 22:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738004736001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 22:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":132975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:04:01] local.INFO: GPS data processed {"connection_id":132975,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:04:01] local.INFO: Acknowledgment sent {"connection_id":132975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:04:05] local.INFO: TCP Data received {"connection_id":133844,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:04:05] local.INFO: Processing buffer {"connection_id":133844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:04:05] local.INFO: IMEI packet received {"connection_id":133844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":133844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:04:06] local.INFO: TCP Data received {"connection_id":132975,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f669f1ee0012d196540071ff0400040004827..."} 
[2026-07-15 22:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f669f1ee0012d196540071ff0400040004827..."} 
[2026-07-15 22:04:06] local.INFO: Processing buffer {"connection_id":132975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f669f1ee0012d196540071ff0400040004827..."} 
[2026-07-15 22:04:06] local.INFO: Packet analysis {"connection_id":132975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f669f"} 
[2026-07-15 22:04:06] local.INFO: Extracted packet for processing {"connection_id":132975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f669f"} 
[2026-07-15 22:04:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 22:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738004736001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 22:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:04:06] 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-07-15 22:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784133132000,"timestamp_ms":1784133132000,"timestamp_seconds":1784133132,"priority":1,"record_length":96,"hex_timestamp":"0000019f669f1ee0"} 
[2026-07-15 22:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9728,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 22:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 22:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 22:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 22:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 22:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738004736001,"66":2155,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 22:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 22:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 22:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738004736001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:04:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 22:04:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 22:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738004736001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 22:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":132975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:04:06] local.INFO: GPS data processed {"connection_id":132975,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:04:06] local.INFO: Acknowledgment sent {"connection_id":132975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:04:10] local.INFO: TCP Data received {"connection_id":133844,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:04:10] local.INFO: Processing buffer {"connection_id":133844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:04:10] local.INFO: IMEI packet received {"connection_id":133844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":133844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:04:15] local.INFO: TCP Data received {"connection_id":133844,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66a05760012d77a94005f27ab00011000027..."} 
[2026-07-15 22:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66a05760012d77a94005f27ab00011000027..."} 
[2026-07-15 22:04:15] local.INFO: Processing buffer {"connection_id":133844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66a05760012d77a94005f27ab00011000027..."} 
[2026-07-15 22:04:15] local.INFO: Packet analysis {"connection_id":133844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66a0"} 
[2026-07-15 22:04:15] local.INFO: Extracted packet for processing {"connection_id":133844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66a0"} 
[2026-07-15 22:04:15] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":17,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738031616001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668422852608,"note":"Value kept but may cause issues"} 
[2026-07-15 22:04:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784133212000,"timestamp_ms":1784133212000,"timestamp_seconds":1784133212,"priority":1,"record_length":96,"hex_timestamp":"0000019f66a05760"} 
[2026-07-15 22:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:04:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-15 22:04:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:04:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":133844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":133844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":133844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738031616001,"66":25756,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8621789668422852608},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 22:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738031616001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:04:15] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 22:04:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668422852608,"description":"Unknown IO ID 45"} 
[2026-07-15 22:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738031616001,"power":25756,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668422852608}} 
[2026-07-15 22:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":133844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:04:15] local.INFO: GPS data processed {"connection_id":133844,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:04:15] local.INFO: Acknowledgment sent {"connection_id":133844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:04:21] local.INFO: TCP Data received {"connection_id":133844,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66a05760012d77a94005f27ab00011000027..."} 
[2026-07-15 22:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66a05760012d77a94005f27ab00011000027..."} 
[2026-07-15 22:04:21] local.INFO: Processing buffer {"connection_id":133844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66a05760012d77a94005f27ab00011000027..."} 
[2026-07-15 22:04:21] local.INFO: Packet analysis {"connection_id":133844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66a0"} 
[2026-07-15 22:04:21] local.INFO: Extracted packet for processing {"connection_id":133844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66a0"} 
[2026-07-15 22:04:21] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":17,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22: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-07-15 22:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738031616001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:04:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668422852608,"note":"Value kept but may cause issues"} 
[2026-07-15 22:04:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1784133212000,"timestamp_ms":1784133212000,"timestamp_seconds":1784133212,"priority":1,"record_length":96,"hex_timestamp":"0000019f66a05760"} 
[2026-07-15 22:04:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:04:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-15 22:04:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22: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-07-15 22:04:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":133844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":133844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":133844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:04:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738031616001,"66":25756,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8621789668422852608},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 22:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738031616001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:04:21] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 22:04:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:04:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668422852608,"description":"Unknown IO ID 45"} 
[2026-07-15 22:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738031616001,"power":25756,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668422852608}} 
[2026-07-15 22:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":133844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:04:21] local.INFO: GPS data processed {"connection_id":133844,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:04:21] local.INFO: Acknowledgment sent {"connection_id":133844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:04:50] local.INFO: TCP Data received {"connection_id":135194,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 22:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 22:04:50] local.INFO: Processing buffer {"connection_id":135194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 22:04:50] local.INFO: IMEI packet received {"connection_id":135194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 22:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":135194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:04:55] local.INFO: TCP Data received {"connection_id":135194,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 22:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 22:04:55] local.INFO: Processing buffer {"connection_id":135194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 22:04:55] local.INFO: IMEI packet received {"connection_id":135194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 22:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":135194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:04:56] local.INFO: TCP Data received {"connection_id":135194,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f669f1ee0012d196540071ff0400040004827..."} 
[2026-07-15 22:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f669f1ee0012d196540071ff0400040004827..."} 
[2026-07-15 22:04:56] local.INFO: Processing buffer {"connection_id":135194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f669f1ee0012d196540071ff0400040004827..."} 
[2026-07-15 22:04:56] local.INFO: Packet analysis {"connection_id":135194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f669f"} 
[2026-07-15 22:04:56] local.INFO: Extracted packet for processing {"connection_id":135194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f669f"} 
[2026-07-15 22:04:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 22: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-07-15 22:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738004736001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 22:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:04: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-07-15 22:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784133132000,"timestamp_ms":1784133132000,"timestamp_seconds":1784133132,"priority":1,"record_length":96,"hex_timestamp":"0000019f669f1ee0"} 
[2026-07-15 22:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:04:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9728,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 22:04: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-07-15 22: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-07-15 22:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":135194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":135194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 22:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":135194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 22:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 22:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 22:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738004736001,"66":2155,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 22:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 22:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 22:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738004736001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:04:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 22:04:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 22:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738004736001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 22:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":135194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493176,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:04:57] local.INFO: GPS data processed {"connection_id":135194,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:04:57] local.INFO: Acknowledgment sent {"connection_id":135194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:05:00] local.INFO: TCP Data received {"connection_id":132977,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:05:00] local.INFO: Processing buffer {"connection_id":132977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:05:00] local.INFO: IMEI packet received {"connection_id":132977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":132977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:05:20] local.INFO: TCP Data received {"connection_id":132977,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:05:20] local.INFO: Processing buffer {"connection_id":132977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:05:20] local.INFO: IMEI packet received {"connection_id":132977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":132977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:05:28] local.INFO: TCP Data received {"connection_id":135194,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f669f1ee0012d196540071ff0400040004827..."} 
[2026-07-15 22:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f669f1ee0012d196540071ff0400040004827..."} 
[2026-07-15 22:05:28] local.INFO: Processing buffer {"connection_id":135194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f669f1ee0012d196540071ff0400040004827..."} 
[2026-07-15 22:05:28] local.INFO: Packet analysis {"connection_id":135194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f669f"} 
[2026-07-15 22:05:28] local.INFO: Extracted packet for processing {"connection_id":135194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f669f"} 
[2026-07-15 22:05:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 22: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-07-15 22:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738004736001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 22:05:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:05: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-07-15 22:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784133132000,"timestamp_ms":1784133132000,"timestamp_seconds":1784133132,"priority":1,"record_length":96,"hex_timestamp":"0000019f669f1ee0"} 
[2026-07-15 22:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:05:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9728,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 22:05: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-07-15 22:05:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":135194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":135194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 22:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":135194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 22:05:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 22:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 22:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738004736001,"66":2155,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 22:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 22:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 22:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738004736001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:05:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 22:05:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 22:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738004736001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 22:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":135194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:05:28] local.INFO: GPS data processed {"connection_id":135194,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:05:28] local.INFO: Acknowledgment sent {"connection_id":135194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:05:44] local.INFO: TCP Data received {"connection_id":132977,"ip":"117.224.134.231","data_length":1360,"data_hex":"000000000000030f8e0a0000019f66a05760012d77a94005f27ab00011000027..."} 
[2026-07-15 22:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132977,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019f66a05760012d77a94005f27ab00011000027..."} 
[2026-07-15 22:05:44] local.INFO: Processing buffer {"connection_id":132977,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a0000019f66a05760012d77a94005f27ab00011000027..."} 
[2026-07-15 22:05:44] local.INFO: Packet analysis {"connection_id":132977,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a0000019f66a0"} 
[2026-07-15 22:05:44] local.INFO: Extracted packet for processing {"connection_id":132977,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019f66a0"} 
[2026-07-15 22:05:44] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":17,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738031616001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:05:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668422852608,"note":"Value kept but may cause issues"} 
[2026-07-15 22:05:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784133212000,"timestamp_ms":1784133212000,"timestamp_seconds":1784133212,"priority":1,"record_length":96,"hex_timestamp":"0000019f66a05760"} 
[2026-07-15 22:05:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:05:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-15 22:05:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:05:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:05:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":132977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":132977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":132977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:05:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738031616001,"66":25756,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8621789668422852608},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 22:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738031616001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:05:44] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 22:05:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:05:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668422852608,"description":"Unknown IO ID 45"} 
[2026-07-15 22:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738031616001,"power":25756,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668422852608}} 
[2026-07-15 22:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":132977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:05:44] local.INFO: GPS data processed {"connection_id":132977,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:05:44] local.INFO: Acknowledgment sent {"connection_id":132977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:05:44] local.INFO: Packet analysis {"connection_id":132977,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019f66a0"} 
[2026-07-15 22:05:44] local.INFO: Incomplete packet, waiting for more data {"connection_id":132977,"needed":795,"available":565} 
[2026-07-15 22:05:45] local.INFO: TCP Data received {"connection_id":132977,"ip":"117.224.134.231","data_length":1025,"data_hex":"2d77a94005f279f0000f01472000000000000a000400ef0000715a00f0000045..."} 
[2026-07-15 22:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132977,"packet_length":1025,"packet_hex":"2d77a94005f279f0000f01472000000000000a000400ef0000715a00f0000045..."} 
[2026-07-15 22:05:45] local.INFO: Processing buffer {"connection_id":132977,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f66a05760012d77a94005f27ab00011000027..."} 
[2026-07-15 22:05:45] local.INFO: Packet analysis {"connection_id":132977,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f66a0"} 
[2026-07-15 22:05:45] local.INFO: Extracted packet for processing {"connection_id":132977,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66a0"} 
[2026-07-15 22:05:45] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":17,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738031616001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668422852608,"note":"Value kept but may cause issues"} 
[2026-07-15 22:05:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784133212000,"timestamp_ms":1784133212000,"timestamp_seconds":1784133212,"priority":1,"record_length":96,"hex_timestamp":"0000019f66a05760"} 
[2026-07-15 22:05:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:05:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-15 22:05:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:05:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:05:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":132977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":132977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":132977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738031616001,"66":25756,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8621789668422852608},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 22:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738031616001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:05:45] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 22:05:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668422852608,"description":"Unknown IO ID 45"} 
[2026-07-15 22:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738031616001,"power":25756,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668422852608}} 
[2026-07-15 22:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":132977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:05:45] local.INFO: GPS data processed {"connection_id":132977,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:05:45] local.ERROR: TCP Connection error {"connection_id":132977,"code":2,"message":"client closed"} 
[2026-07-15 22:05:45] local.INFO: Acknowledgment sent {"connection_id":132977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:05:45] local.INFO: Packet analysis {"connection_id":132977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66a0"} 
[2026-07-15 22:05:45] local.INFO: Extracted packet for processing {"connection_id":132977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66a0"} 
[2026-07-15 22:05:45] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":17,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738031616001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668422852608,"note":"Value kept but may cause issues"} 
[2026-07-15 22:05:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784133212000,"timestamp_ms":1784133212000,"timestamp_seconds":1784133212,"priority":1,"record_length":96,"hex_timestamp":"0000019f66a05760"} 
[2026-07-15 22:05:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:05:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-15 22:05:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:05:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:05:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":132977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":132977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":132977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738031616001,"66":25756,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8621789668422852608},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 22:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738031616001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:05:45] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 22:05:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668422852608,"description":"Unknown IO ID 45"} 
[2026-07-15 22:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738031616001,"power":25756,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668422852608}} 
[2026-07-15 22:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":132977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:05:45] local.INFO: GPS data processed {"connection_id":132977,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:05:45] local.INFO: Acknowledgment sent {"connection_id":132977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:05:50] local.INFO: TCP Data received {"connection_id":132794,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 22:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 22:05:50] local.INFO: Processing buffer {"connection_id":132794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 22:05:50] local.INFO: IMEI packet received {"connection_id":132794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 22:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":132794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:05:55] local.INFO: TCP Data received {"connection_id":132794,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 22:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 22:05:55] local.INFO: Processing buffer {"connection_id":132794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 22:05:55] local.INFO: IMEI packet received {"connection_id":132794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 22:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":132794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:05:56] local.INFO: TCP Data received {"connection_id":132794,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f669f1ee0012d196540071ff0400040004827..."} 
[2026-07-15 22:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f669f1ee0012d196540071ff0400040004827..."} 
[2026-07-15 22:05:56] local.INFO: Processing buffer {"connection_id":132794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f669f1ee0012d196540071ff0400040004827..."} 
[2026-07-15 22:05:56] local.INFO: Packet analysis {"connection_id":132794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f669f"} 
[2026-07-15 22:05:56] local.INFO: Extracted packet for processing {"connection_id":132794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f669f"} 
[2026-07-15 22:05:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 22:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738004736001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 22:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:05: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-07-15 22:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784133132000,"timestamp_ms":1784133132000,"timestamp_seconds":1784133132,"priority":1,"record_length":96,"hex_timestamp":"0000019f669f1ee0"} 
[2026-07-15 22:05:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:05:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9728,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 22:05: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-07-15 22:05:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:05:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 22:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 22:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 22:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 22:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738004736001,"66":2155,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 22:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 22:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 22:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738004736001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:05:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 22:05:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 22:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738004736001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 22:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":132794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:05:56] local.INFO: GPS data processed {"connection_id":132794,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:05:56] local.INFO: Acknowledgment sent {"connection_id":132794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:06:00] local.INFO: TCP Data received {"connection_id":133845,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:06:00] local.INFO: Processing buffer {"connection_id":133845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:06:00] local.INFO: IMEI packet received {"connection_id":133845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":133845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:06:05] local.INFO: TCP Data received {"connection_id":133845,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:06:05] local.INFO: Processing buffer {"connection_id":133845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:06:05] local.INFO: IMEI packet received {"connection_id":133845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":133845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:06:06] local.INFO: TCP Data received {"connection_id":133845,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66a05760012d77a94005f27ab00011000027..."} 
[2026-07-15 22:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66a05760012d77a94005f27ab00011000027..."} 
[2026-07-15 22:06:06] local.INFO: Processing buffer {"connection_id":133845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66a05760012d77a94005f27ab00011000027..."} 
[2026-07-15 22:06:06] local.INFO: Packet analysis {"connection_id":133845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66a0"} 
[2026-07-15 22:06:06] local.INFO: Extracted packet for processing {"connection_id":133845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66a0"} 
[2026-07-15 22:06:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":17,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738031616001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668422852608,"note":"Value kept but may cause issues"} 
[2026-07-15 22:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784133212000,"timestamp_ms":1784133212000,"timestamp_seconds":1784133212,"priority":1,"record_length":96,"hex_timestamp":"0000019f66a05760"} 
[2026-07-15 22:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-15 22:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738031616001,"66":25756,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8621789668422852608},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 22:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738031616001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:06:06] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 22:06:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668422852608,"description":"Unknown IO ID 45"} 
[2026-07-15 22:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738031616001,"power":25756,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668422852608}} 
[2026-07-15 22:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":133845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:06:06] local.INFO: GPS data processed {"connection_id":133845,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:06:06] local.INFO: Acknowledgment sent {"connection_id":133845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:06:28] local.INFO: TCP Data received {"connection_id":132794,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f669f1ee0012d196540071ff0400040004827..."} 
[2026-07-15 22:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f669f1ee0012d196540071ff0400040004827..."} 
[2026-07-15 22:06:28] local.INFO: Processing buffer {"connection_id":132794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f669f1ee0012d196540071ff0400040004827..."} 
[2026-07-15 22:06:28] local.INFO: Packet analysis {"connection_id":132794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f669f"} 
[2026-07-15 22:06:28] local.INFO: Extracted packet for processing {"connection_id":132794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f669f"} 
[2026-07-15 22:06:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 22: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-07-15 22:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738004736001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 22:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:06: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-07-15 22:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784133132000,"timestamp_ms":1784133132000,"timestamp_seconds":1784133132,"priority":1,"record_length":96,"hex_timestamp":"0000019f669f1ee0"} 
[2026-07-15 22:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:06:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9728,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 22:06:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22: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-07-15 22:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 22:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 22:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 22:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 22:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738004736001,"66":2155,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 22:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 22:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 22:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738004736001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:06:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 22:06:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 22:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738004736001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 22:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":132794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:06:28] local.INFO: GPS data processed {"connection_id":132794,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:06:28] local.INFO: Acknowledgment sent {"connection_id":132794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:06:38] local.INFO: TCP Data received {"connection_id":133845,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66a05760012d77a94005f27ab00011000027..."} 
[2026-07-15 22:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66a05760012d77a94005f27ab00011000027..."} 
[2026-07-15 22:06:38] local.INFO: Processing buffer {"connection_id":133845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66a05760012d77a94005f27ab00011000027..."} 
[2026-07-15 22:06:38] local.INFO: Packet analysis {"connection_id":133845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66a0"} 
[2026-07-15 22:06:38] local.INFO: Extracted packet for processing {"connection_id":133845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66a0"} 
[2026-07-15 22:06:38] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":17,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22: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-07-15 22:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738031616001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668422852608,"note":"Value kept but may cause issues"} 
[2026-07-15 22:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784133212000,"timestamp_ms":1784133212000,"timestamp_seconds":1784133212,"priority":1,"record_length":96,"hex_timestamp":"0000019f66a05760"} 
[2026-07-15 22:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-15 22:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22: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-07-15 22:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738031616001,"66":25756,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8621789668422852608},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 22:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738031616001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:06:38] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 22:06:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668422852608,"description":"Unknown IO ID 45"} 
[2026-07-15 22:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738031616001,"power":25756,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668422852608}} 
[2026-07-15 22:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":133845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:06:38] local.INFO: GPS data processed {"connection_id":133845,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:06:38] local.INFO: Acknowledgment sent {"connection_id":133845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:06:49] local.INFO: TCP Data received {"connection_id":135196,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 22:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135196,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 22:06:49] local.INFO: Processing buffer {"connection_id":135196,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 22:06:49] local.INFO: IMEI packet received {"connection_id":135196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 22:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":135196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:06:55] local.INFO: TCP Data received {"connection_id":135196,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 22:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135196,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 22:06:55] local.INFO: Processing buffer {"connection_id":135196,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 22:06:55] local.INFO: IMEI packet received {"connection_id":135196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 22:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":135196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:06:56] local.INFO: TCP Data received {"connection_id":135196,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f669f1ee0012d196540071ff0400040004827..."} 
[2026-07-15 22:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f669f1ee0012d196540071ff0400040004827..."} 
[2026-07-15 22:06:56] local.INFO: Processing buffer {"connection_id":135196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f669f1ee0012d196540071ff0400040004827..."} 
[2026-07-15 22:06:56] local.INFO: Packet analysis {"connection_id":135196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f669f"} 
[2026-07-15 22:06:56] local.INFO: Extracted packet for processing {"connection_id":135196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f669f"} 
[2026-07-15 22:06:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 22: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-07-15 22:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738004736001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 22:06:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 22: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-07-15 22:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784133132000,"timestamp_ms":1784133132000,"timestamp_seconds":1784133132,"priority":1,"record_length":96,"hex_timestamp":"0000019f669f1ee0"} 
[2026-07-15 22:06:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:06:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9728,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 22:06: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-07-15 22: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-07-15 22:06:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":135196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":135196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 22:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":135196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 22:06:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 22:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 22:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738004736001,"66":2155,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 22:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 22:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 22:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738004736001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:06:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 22:06:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 22:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:06:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738004736001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 22:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":135196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:06:56] local.INFO: GPS data processed {"connection_id":135196,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:06:56] local.INFO: Acknowledgment sent {"connection_id":135196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:06:59] local.INFO: TCP Data received {"connection_id":132795,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132795,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:06:59] local.INFO: Processing buffer {"connection_id":132795,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:06:59] local.INFO: IMEI packet received {"connection_id":132795,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 22:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":132795,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:07:05] local.INFO: TCP Data received {"connection_id":133846,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:07:05] local.INFO: Processing buffer {"connection_id":133846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:07:05] local.INFO: IMEI packet received {"connection_id":133846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":133846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:07:10] local.INFO: TCP Data received {"connection_id":133846,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:07:10] local.INFO: Processing buffer {"connection_id":133846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:07:10] local.INFO: IMEI packet received {"connection_id":133846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":133846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:07:15] local.INFO: TCP Data received {"connection_id":133846,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66a05760012d77a94005f27ab00011000027..."} 
[2026-07-15 22:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66a05760012d77a94005f27ab00011000027..."} 
[2026-07-15 22:07:15] local.INFO: Processing buffer {"connection_id":133846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66a05760012d77a94005f27ab00011000027..."} 
[2026-07-15 22:07:15] local.INFO: Packet analysis {"connection_id":133846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66a0"} 
[2026-07-15 22:07:15] local.INFO: Extracted packet for processing {"connection_id":133846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66a0"} 
[2026-07-15 22:07:15] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":17,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738031616001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668422852608,"note":"Value kept but may cause issues"} 
[2026-07-15 22:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784133212000,"timestamp_ms":1784133212000,"timestamp_seconds":1784133212,"priority":1,"record_length":96,"hex_timestamp":"0000019f66a05760"} 
[2026-07-15 22:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:07:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-15 22:07:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:07:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":133846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":133846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":133846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738031616001,"66":25756,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8621789668422852608},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 22:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738031616001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:07:15] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 22:07:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668422852608,"description":"Unknown IO ID 45"} 
[2026-07-15 22:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738031616001,"power":25756,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668422852608}} 
[2026-07-15 22:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":133846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:07:15] local.INFO: GPS data processed {"connection_id":133846,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:07:15] local.INFO: Acknowledgment sent {"connection_id":133846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:07:28] local.INFO: TCP Data received {"connection_id":135196,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f669f1ee0012d196540071ff0400040004827..."} 
[2026-07-15 22:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f669f1ee0012d196540071ff0400040004827..."} 
[2026-07-15 22:07:28] local.INFO: Processing buffer {"connection_id":135196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f669f1ee0012d196540071ff0400040004827..."} 
[2026-07-15 22:07:28] local.INFO: Packet analysis {"connection_id":135196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f669f"} 
[2026-07-15 22:07:28] local.INFO: Extracted packet for processing {"connection_id":135196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f669f"} 
[2026-07-15 22:07:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 22: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-07-15 22:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738004736001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 22:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:07: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-07-15 22:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784133132000,"timestamp_ms":1784133132000,"timestamp_seconds":1784133132,"priority":1,"record_length":96,"hex_timestamp":"0000019f669f1ee0"} 
[2026-07-15 22:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9728,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-15 22:07: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-07-15 22: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-07-15 22:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":135196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":135196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 22:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":135196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 22:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 22:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 22:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738004736001,"66":2155,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 22:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 22:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 22:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738004736001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:07:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 22:07:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 22:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738004736001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 22:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":135196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:07:28] local.INFO: GPS data processed {"connection_id":135196,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:07:28] local.INFO: Acknowledgment sent {"connection_id":135196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:07:33] local.INFO: TCP Data received {"connection_id":132978,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132978,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:07:33] local.INFO: Processing buffer {"connection_id":132978,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:07:33] local.INFO: IMEI packet received {"connection_id":132978,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 22:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":132978,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:07:49] local.INFO: TCP Data received {"connection_id":132979,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 22:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 22:07:49] local.INFO: Processing buffer {"connection_id":132979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 22:07:49] local.INFO: IMEI packet received {"connection_id":132979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 22:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":132979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:07:51] local.INFO: TCP Data received {"connection_id":132979,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 22:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 22:07:51] local.INFO: Processing buffer {"connection_id":132979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 22:07:51] local.INFO: IMEI packet received {"connection_id":132979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 22:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":132979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:07:55] local.INFO: TCP Data received {"connection_id":132979,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 22:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 22:07:55] local.INFO: Processing buffer {"connection_id":132979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 22:07:55] local.INFO: IMEI packet received {"connection_id":132979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 22:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":132979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:07:57] local.INFO: TCP Data received {"connection_id":132979,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66a3b6a8012d196540071ff0400040004829..."} 
[2026-07-15 22:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66a3b6a8012d196540071ff0400040004829..."} 
[2026-07-15 22:07:57] local.INFO: Processing buffer {"connection_id":132979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66a3b6a8012d196540071ff0400040004829..."} 
[2026-07-15 22:07:57] local.INFO: Packet analysis {"connection_id":132979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66a3"} 
[2026-07-15 22:07:57] local.INFO: Extracted packet for processing {"connection_id":132979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66a3"} 
[2026-07-15 22:07:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 22:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738081792001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 22:07:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:07: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-07-15 22:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784133433000,"timestamp_ms":1784133433000,"timestamp_seconds":1784133433,"priority":1,"record_length":96,"hex_timestamp":"0000019f66a3b6a8"} 
[2026-07-15 22:07:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:07:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":7936,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-15 22:07:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:07:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:07:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":132979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":132979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 22:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":132979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 22:07:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 22:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 22:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738081792001,"66":2122,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 22:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 22:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 22:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738081792001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:07:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 22:07:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 22:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:07:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738081792001,"power":2122,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 22:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":132979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:07:57] local.INFO: GPS data processed {"connection_id":132979,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:07:57] local.INFO: Acknowledgment sent {"connection_id":132979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:08:00] local.INFO: TCP Data received {"connection_id":135197,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:08:00] local.INFO: Processing buffer {"connection_id":135197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:08:00] local.INFO: IMEI packet received {"connection_id":135197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":135197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:08:05] local.INFO: TCP Data received {"connection_id":135197,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:08:05] local.INFO: Processing buffer {"connection_id":135197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:08:05] local.INFO: IMEI packet received {"connection_id":135197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":135197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:08:06] local.INFO: TCP Data received {"connection_id":135197,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66a05760012d77a94005f27ab00011000027..."} 
[2026-07-15 22:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66a05760012d77a94005f27ab00011000027..."} 
[2026-07-15 22:08:06] local.INFO: Processing buffer {"connection_id":135197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66a05760012d77a94005f27ab00011000027..."} 
[2026-07-15 22:08:06] local.INFO: Packet analysis {"connection_id":135197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66a0"} 
[2026-07-15 22:08:06] local.INFO: Extracted packet for processing {"connection_id":135197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66a0"} 
[2026-07-15 22:08:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":17,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738031616001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668422852608,"note":"Value kept but may cause issues"} 
[2026-07-15 22:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784133212000,"timestamp_ms":1784133212000,"timestamp_seconds":1784133212,"priority":1,"record_length":96,"hex_timestamp":"0000019f66a05760"} 
[2026-07-15 22:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-15 22:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738031616001,"66":25756,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8621789668422852608},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 22:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738031616001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:08:06] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 22:08:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668422852608,"description":"Unknown IO ID 45"} 
[2026-07-15 22:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738031616001,"power":25756,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668422852608}} 
[2026-07-15 22:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":135197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:08:06] local.INFO: GPS data processed {"connection_id":135197,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:08:06] local.INFO: Acknowledgment sent {"connection_id":135197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:08:11] local.INFO: TCP Data received {"connection_id":135197,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66a05760012d77a94005f27ab00011000027..."} 
[2026-07-15 22:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66a05760012d77a94005f27ab00011000027..."} 
[2026-07-15 22:08:11] local.INFO: Processing buffer {"connection_id":135197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66a05760012d77a94005f27ab00011000027..."} 
[2026-07-15 22:08:11] local.INFO: Packet analysis {"connection_id":135197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66a0"} 
[2026-07-15 22:08:11] local.INFO: Extracted packet for processing {"connection_id":135197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66a0"} 
[2026-07-15 22:08:11] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":17,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738031616001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668422852608,"note":"Value kept but may cause issues"} 
[2026-07-15 22:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784133212000,"timestamp_ms":1784133212000,"timestamp_seconds":1784133212,"priority":1,"record_length":96,"hex_timestamp":"0000019f66a05760"} 
[2026-07-15 22:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-15 22:08:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22: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-07-15 22:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":135197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":135197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":135197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738031616001,"66":25756,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8621789668422852608},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 22:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738031616001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:08:11] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 22:08:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668422852608,"description":"Unknown IO ID 45"} 
[2026-07-15 22:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738031616001,"power":25756,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668422852608}} 
[2026-07-15 22:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":135197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:08:11] local.INFO: GPS data processed {"connection_id":135197,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:08:11] local.INFO: Acknowledgment sent {"connection_id":135197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:08:31] local.INFO: TCP Data received {"connection_id":132979,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66a3b6a8012d196540071ff0400040004829..."} 
[2026-07-15 22:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66a3b6a8012d196540071ff0400040004829..."} 
[2026-07-15 22:08:31] local.INFO: Processing buffer {"connection_id":132979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66a3b6a8012d196540071ff0400040004829..."} 
[2026-07-15 22:08:31] local.INFO: Packet analysis {"connection_id":132979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66a3"} 
[2026-07-15 22:08:31] local.INFO: Extracted packet for processing {"connection_id":132979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66a3"} 
[2026-07-15 22:08:31] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 22: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-07-15 22:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738081792001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 22:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:08:31] 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-07-15 22:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784133433000,"timestamp_ms":1784133433000,"timestamp_seconds":1784133433,"priority":1,"record_length":96,"hex_timestamp":"0000019f66a3b6a8"} 
[2026-07-15 22:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":7936,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-15 22:08:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22: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-07-15 22:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":132979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":132979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 22:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":132979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 22:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 22:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 22:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738081792001,"66":2122,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 22:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 22:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 22:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738081792001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:08:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 22:08:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 22:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738081792001,"power":2122,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 22:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":132979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:08:31] local.INFO: GPS data processed {"connection_id":132979,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:08:31] local.INFO: Acknowledgment sent {"connection_id":132979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:08:43] local.INFO: TCP Data received {"connection_id":135197,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66a05760012d77a94005f27ab00011000027..."} 
[2026-07-15 22:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66a05760012d77a94005f27ab00011000027..."} 
[2026-07-15 22:08:43] local.INFO: Processing buffer {"connection_id":135197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66a05760012d77a94005f27ab00011000027..."} 
[2026-07-15 22:08:43] local.INFO: Packet analysis {"connection_id":135197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66a0"} 
[2026-07-15 22:08:43] local.INFO: Extracted packet for processing {"connection_id":135197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66a0"} 
[2026-07-15 22:08:43] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":17,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738031616001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:08:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668422852608,"note":"Value kept but may cause issues"} 
[2026-07-15 22:08:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784133212000,"timestamp_ms":1784133212000,"timestamp_seconds":1784133212,"priority":1,"record_length":96,"hex_timestamp":"0000019f66a05760"} 
[2026-07-15 22:08:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:08:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-15 22:08:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:08:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:08:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":135197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":135197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":135197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:08:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738031616001,"66":25756,"3":206,"9":24832,"24":0,"16":347483916766019584,"45":8621789668422852608},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-07-15 22:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738031616001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:08:43] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-15 22:08:43] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:08:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:08:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668422852608,"description":"Unknown IO ID 45"} 
[2026-07-15 22:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738031616001,"power":25756,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668422852608}} 
[2026-07-15 22:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":135197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:08:43] local.INFO: GPS data processed {"connection_id":135197,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:08:43] local.INFO: Acknowledgment sent {"connection_id":135197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:08:50] local.INFO: TCP Data received {"connection_id":132980,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 22:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 22:08:50] local.INFO: Processing buffer {"connection_id":132980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 22:08:50] local.INFO: IMEI packet received {"connection_id":132980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-15 22:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":132980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:08:55] local.INFO: TCP Data received {"connection_id":132980,"ip":"117.224.197.224","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 22:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 22:08:55] local.INFO: Processing buffer {"connection_id":132980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-15 22:08:55] local.INFO: IMEI packet received {"connection_id":132980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-15 22:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":132980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:08:56] local.INFO: TCP Data received {"connection_id":132980,"ip":"117.224.197.224","data_length":795,"data_hex":"000000000000030f8e0a0000019f66a3b6a8012d196540071ff0400040004829..."} 
[2026-07-15 22:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66a3b6a8012d196540071ff0400040004829..."} 
[2026-07-15 22:08:56] local.INFO: Processing buffer {"connection_id":132980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66a3b6a8012d196540071ff0400040004829..."} 
[2026-07-15 22:08:56] local.INFO: Packet analysis {"connection_id":132980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66a3"} 
[2026-07-15 22:08:56] local.INFO: Extracted packet for processing {"connection_id":132980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66a3"} 
[2026-07-15 22:08:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":64,"angle":72,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-15 22: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-07-15 22:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738081792001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6257445227724800,"note":"Value kept but may cause issues"} 
[2026-07-15 22:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:08: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-07-15 22:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784133433000,"timestamp_ms":1784133433000,"timestamp_seconds":1784133433,"priority":1,"record_length":96,"hex_timestamp":"0000019f66a3b6a8"} 
[2026-07-15 22:08:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:08:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":7936,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-15 22:08:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22: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-07-15 22:08:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 22:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-15 22:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-15 22:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-15 22:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738081792001,"66":2122,"121":206,"28":31744,"24":0,"16":6257445227724800,"45":1829939222940762112},"client_ip":"117.224.197.224","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-15 22:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-15 22:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-15 22:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738081792001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:08:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-15 22:08:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-15 22:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6257445227724800,"km_value":6257445227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738081792001,"power":2122,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-07-15 22:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":132980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:08:56] local.INFO: GPS data processed {"connection_id":132980,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:08:56] local.INFO: Acknowledgment sent {"connection_id":132980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:09:00] local.INFO: TCP Data received {"connection_id":132796,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:09:00] local.INFO: Processing buffer {"connection_id":132796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:09:00] local.INFO: IMEI packet received {"connection_id":132796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":132796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:09:00] local.INFO: TCP Data received {"connection_id":132796,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:09:00] local.INFO: Processing buffer {"connection_id":132796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:09:00] local.INFO: IMEI packet received {"connection_id":132796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":132796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:09:05] local.INFO: TCP Data received {"connection_id":132796,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:09:05] local.INFO: Processing buffer {"connection_id":132796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:09:05] local.INFO: IMEI packet received {"connection_id":132796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":132796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:09:06] local.INFO: TCP Data received {"connection_id":132796,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66a4c430012d77a94005f27ab0001900002a..."} 
[2026-07-15 22:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66a4c430012d77a94005f27ab0001900002a..."} 
[2026-07-15 22:09:06] local.INFO: Processing buffer {"connection_id":132796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66a4c430012d77a94005f27ab0001900002a..."} 
[2026-07-15 22:09:06] local.INFO: Packet analysis {"connection_id":132796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66a4"} 
[2026-07-15 22:09:06] local.INFO: Extracted packet for processing {"connection_id":132796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66a4"} 
[2026-07-15 22:09:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":25,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738102272001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784133502000,"timestamp_ms":1784133502000,"timestamp_seconds":1784133502,"priority":1,"record_length":96,"hex_timestamp":"0000019f66a4c430"} 
[2026-07-15 22:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 22:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738102272001,"66":25778,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738102272001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:09:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738102272001,"power":25778,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":132796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:09:06] local.INFO: GPS data processed {"connection_id":132796,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:09:06] local.INFO: Acknowledgment sent {"connection_id":132796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:09:38] local.INFO: TCP Data received {"connection_id":132796,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66a4c430012d77a94005f27ab0001900002a..."} 
[2026-07-15 22:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66a4c430012d77a94005f27ab0001900002a..."} 
[2026-07-15 22:09:38] local.INFO: Processing buffer {"connection_id":132796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66a4c430012d77a94005f27ab0001900002a..."} 
[2026-07-15 22:09:38] local.INFO: Packet analysis {"connection_id":132796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66a4"} 
[2026-07-15 22:09:38] local.INFO: Extracted packet for processing {"connection_id":132796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66a4"} 
[2026-07-15 22:09:38] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":25,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22: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-07-15 22:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738102272001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784133502000,"timestamp_ms":1784133502000,"timestamp_seconds":1784133502,"priority":1,"record_length":96,"hex_timestamp":"0000019f66a4c430"} 
[2026-07-15 22:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 22:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22: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-07-15 22:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738102272001,"66":25778,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738102272001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:09:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738102272001,"power":25778,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":132796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:09:38] local.INFO: GPS data processed {"connection_id":132796,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:09:38] local.INFO: Acknowledgment sent {"connection_id":132796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:10:01] local.INFO: TCP Data received {"connection_id":133849,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:10:01] local.INFO: Processing buffer {"connection_id":133849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:10:01] local.INFO: IMEI packet received {"connection_id":133849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":133849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:10:05] local.INFO: TCP Data received {"connection_id":133849,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:10:05] local.INFO: Processing buffer {"connection_id":133849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:10:05] local.INFO: IMEI packet received {"connection_id":133849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":133849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:10:06] local.INFO: TCP Data received {"connection_id":133849,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66a4c430012d77a94005f27ab0001900002a..."} 
[2026-07-15 22:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66a4c430012d77a94005f27ab0001900002a..."} 
[2026-07-15 22:10:06] local.INFO: Processing buffer {"connection_id":133849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66a4c430012d77a94005f27ab0001900002a..."} 
[2026-07-15 22:10:06] local.INFO: Packet analysis {"connection_id":133849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66a4"} 
[2026-07-15 22:10:06] local.INFO: Extracted packet for processing {"connection_id":133849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66a4"} 
[2026-07-15 22:10:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":25,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738102272001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784133502000,"timestamp_ms":1784133502000,"timestamp_seconds":1784133502,"priority":1,"record_length":96,"hex_timestamp":"0000019f66a4c430"} 
[2026-07-15 22:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 22:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738102272001,"66":25778,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738102272001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:10:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738102272001,"power":25778,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":133849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:10:06] local.INFO: GPS data processed {"connection_id":133849,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:10:06] local.INFO: Acknowledgment sent {"connection_id":133849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:10:37] local.INFO: TCP Data received {"connection_id":133849,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66a4c430012d77a94005f27ab0001900002a..."} 
[2026-07-15 22:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66a4c430012d77a94005f27ab0001900002a..."} 
[2026-07-15 22:10:37] local.INFO: Processing buffer {"connection_id":133849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66a4c430012d77a94005f27ab0001900002a..."} 
[2026-07-15 22:10:37] local.INFO: Packet analysis {"connection_id":133849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66a4"} 
[2026-07-15 22:10:37] local.INFO: Extracted packet for processing {"connection_id":133849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66a4"} 
[2026-07-15 22:10:37] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":25,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22: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-07-15 22:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738102272001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784133502000,"timestamp_ms":1784133502000,"timestamp_seconds":1784133502,"priority":1,"record_length":96,"hex_timestamp":"0000019f66a4c430"} 
[2026-07-15 22:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 22:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22: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-07-15 22:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738102272001,"66":25778,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738102272001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:10:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738102272001,"power":25778,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":133849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:10:37] local.INFO: GPS data processed {"connection_id":133849,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:10:37] local.INFO: Acknowledgment sent {"connection_id":133849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:11:00] local.INFO: TCP Data received {"connection_id":132981,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:11:00] local.INFO: Processing buffer {"connection_id":132981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:11:00] local.INFO: IMEI packet received {"connection_id":132981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":132981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:11:05] local.INFO: TCP Data received {"connection_id":132981,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:11:05] local.INFO: Processing buffer {"connection_id":132981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:11:05] local.INFO: IMEI packet received {"connection_id":132981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":132981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:11:06] local.INFO: TCP Data received {"connection_id":132981,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66a4c430012d77a94005f27ab0001900002a..."} 
[2026-07-15 22:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66a4c430012d77a94005f27ab0001900002a..."} 
[2026-07-15 22:11:06] local.INFO: Processing buffer {"connection_id":132981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66a4c430012d77a94005f27ab0001900002a..."} 
[2026-07-15 22:11:06] local.INFO: Packet analysis {"connection_id":132981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66a4"} 
[2026-07-15 22:11:06] local.INFO: Extracted packet for processing {"connection_id":132981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66a4"} 
[2026-07-15 22:11:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":25,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738102272001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784133502000,"timestamp_ms":1784133502000,"timestamp_seconds":1784133502,"priority":1,"record_length":96,"hex_timestamp":"0000019f66a4c430"} 
[2026-07-15 22:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 22:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738102272001,"66":25778,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738102272001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:11:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738102272001,"power":25778,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":132981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:11:06] local.INFO: GPS data processed {"connection_id":132981,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:11:06] local.INFO: Acknowledgment sent {"connection_id":132981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:11:38] local.INFO: TCP Data received {"connection_id":132981,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66a4c430012d77a94005f27ab0001900002a..."} 
[2026-07-15 22:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66a4c430012d77a94005f27ab0001900002a..."} 
[2026-07-15 22:11:38] local.INFO: Processing buffer {"connection_id":132981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66a4c430012d77a94005f27ab0001900002a..."} 
[2026-07-15 22:11:38] local.INFO: Packet analysis {"connection_id":132981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66a4"} 
[2026-07-15 22:11:38] local.INFO: Extracted packet for processing {"connection_id":132981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66a4"} 
[2026-07-15 22:11:38] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":25,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738102272001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784133502000,"timestamp_ms":1784133502000,"timestamp_seconds":1784133502,"priority":1,"record_length":96,"hex_timestamp":"0000019f66a4c430"} 
[2026-07-15 22:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 22:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738102272001,"66":25778,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738102272001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:11:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738102272001,"power":25778,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":132981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:11:38] local.INFO: GPS data processed {"connection_id":132981,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:11:38] local.INFO: Acknowledgment sent {"connection_id":132981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:12:05] local.INFO: TCP Data received {"connection_id":132982,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:12:05] local.INFO: Processing buffer {"connection_id":132982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:12:05] local.INFO: IMEI packet received {"connection_id":132982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":132982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:12:10] local.INFO: TCP Data received {"connection_id":132982,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:12:10] local.INFO: Processing buffer {"connection_id":132982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:12:10] local.INFO: IMEI packet received {"connection_id":132982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":132982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:12:11] local.INFO: TCP Data received {"connection_id":132982,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66a4c430012d77a94005f27ab0001900002a..."} 
[2026-07-15 22:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66a4c430012d77a94005f27ab0001900002a..."} 
[2026-07-15 22:12:11] local.INFO: Processing buffer {"connection_id":132982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66a4c430012d77a94005f27ab0001900002a..."} 
[2026-07-15 22:12:11] local.INFO: Packet analysis {"connection_id":132982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66a4"} 
[2026-07-15 22:12:11] local.INFO: Extracted packet for processing {"connection_id":132982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66a4"} 
[2026-07-15 22:12:11] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":25,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738102272001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784133502000,"timestamp_ms":1784133502000,"timestamp_seconds":1784133502,"priority":1,"record_length":96,"hex_timestamp":"0000019f66a4c430"} 
[2026-07-15 22:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 22:12:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738102272001,"66":25778,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738102272001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:12:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738102272001,"power":25778,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":132982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:12:11] local.INFO: GPS data processed {"connection_id":132982,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:12:11] local.INFO: Acknowledgment sent {"connection_id":132982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:12:16] local.INFO: TCP Data received {"connection_id":132982,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66a4c430012d77a94005f27ab0001900002a..."} 
[2026-07-15 22:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66a4c430012d77a94005f27ab0001900002a..."} 
[2026-07-15 22:12:16] local.INFO: Processing buffer {"connection_id":132982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66a4c430012d77a94005f27ab0001900002a..."} 
[2026-07-15 22:12:16] local.INFO: Packet analysis {"connection_id":132982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66a4"} 
[2026-07-15 22:12:16] local.INFO: Extracted packet for processing {"connection_id":132982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66a4"} 
[2026-07-15 22:12:16] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":25,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22: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-07-15 22:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738102272001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:12:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784133502000,"timestamp_ms":1784133502000,"timestamp_seconds":1784133502,"priority":1,"record_length":96,"hex_timestamp":"0000019f66a4c430"} 
[2026-07-15 22:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 22:12:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22: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-07-15 22:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738102272001,"66":25778,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738102272001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:12:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738102272001,"power":25778,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":132982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:12:16] local.INFO: GPS data processed {"connection_id":132982,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:12:16] local.INFO: Acknowledgment sent {"connection_id":132982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:12:59] local.INFO: TCP Data received {"connection_id":132983,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132983,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:12:59] local.INFO: Processing buffer {"connection_id":132983,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:12:59] local.INFO: IMEI packet received {"connection_id":132983,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 22:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":132983,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:13:00] local.INFO: TCP Data received {"connection_id":133851,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:13:00] local.INFO: Processing buffer {"connection_id":133851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:13:00] local.INFO: IMEI packet received {"connection_id":133851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":133851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:13:05] local.INFO: TCP Data received {"connection_id":133851,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:13:05] local.INFO: Processing buffer {"connection_id":133851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:13:05] local.INFO: IMEI packet received {"connection_id":133851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":133851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:13:06] local.INFO: TCP Data received {"connection_id":133851,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66a4c430012d77a94005f27ab0001900002a..."} 
[2026-07-15 22:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66a4c430012d77a94005f27ab0001900002a..."} 
[2026-07-15 22:13:06] local.INFO: Processing buffer {"connection_id":133851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66a4c430012d77a94005f27ab0001900002a..."} 
[2026-07-15 22:13:06] local.INFO: Packet analysis {"connection_id":133851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66a4"} 
[2026-07-15 22:13:06] local.INFO: Extracted packet for processing {"connection_id":133851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66a4"} 
[2026-07-15 22:13:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":25,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22: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-07-15 22:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738102272001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784133502000,"timestamp_ms":1784133502000,"timestamp_seconds":1784133502,"priority":1,"record_length":96,"hex_timestamp":"0000019f66a4c430"} 
[2026-07-15 22:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 22:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22: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-07-15 22:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738102272001,"66":25778,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738102272001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:13:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738102272001,"power":25778,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":133851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:13:06] local.INFO: GPS data processed {"connection_id":133851,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:13:06] local.INFO: Acknowledgment sent {"connection_id":133851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:13:34] local.INFO: TCP Data received {"connection_id":135199,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135199,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:13:34] local.INFO: Processing buffer {"connection_id":135199,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:13:34] local.INFO: IMEI packet received {"connection_id":135199,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 22:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":135199,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:13:37] local.INFO: TCP Data received {"connection_id":133851,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66a4c430012d77a94005f27ab0001900002a..."} 
[2026-07-15 22:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66a4c430012d77a94005f27ab0001900002a..."} 
[2026-07-15 22:13:37] local.INFO: Processing buffer {"connection_id":133851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66a4c430012d77a94005f27ab0001900002a..."} 
[2026-07-15 22:13:37] local.INFO: Packet analysis {"connection_id":133851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66a4"} 
[2026-07-15 22:13:37] local.INFO: Extracted packet for processing {"connection_id":133851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66a4"} 
[2026-07-15 22:13:37] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":25,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738102272001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784133502000,"timestamp_ms":1784133502000,"timestamp_seconds":1784133502,"priority":1,"record_length":96,"hex_timestamp":"0000019f66a4c430"} 
[2026-07-15 22:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 22:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738102272001,"66":25778,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738102272001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:13:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738102272001,"power":25778,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":133851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:13:37] local.INFO: GPS data processed {"connection_id":133851,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:13:37] local.INFO: Acknowledgment sent {"connection_id":133851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:14:00] local.INFO: TCP Data received {"connection_id":132797,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:14:00] local.INFO: Processing buffer {"connection_id":132797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:14:00] local.INFO: IMEI packet received {"connection_id":132797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":132797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:14:01] local.INFO: TCP Data received {"connection_id":132797,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:14:01] local.INFO: Processing buffer {"connection_id":132797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:14:01] local.INFO: IMEI packet received {"connection_id":132797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":132797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:14:08] local.INFO: TCP Data received {"connection_id":132797,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:14:08] local.INFO: Processing buffer {"connection_id":132797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:14:08] local.INFO: IMEI packet received {"connection_id":132797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":132797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:14:09] local.INFO: TCP Data received {"connection_id":132797,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66a95bf8012d77a94005f27ab00016000028..."} 
[2026-07-15 22:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66a95bf8012d77a94005f27ab00016000028..."} 
[2026-07-15 22:14:09] local.INFO: Processing buffer {"connection_id":132797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66a95bf8012d77a94005f27ab00016000028..."} 
[2026-07-15 22:14:09] local.INFO: Packet analysis {"connection_id":132797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66a9"} 
[2026-07-15 22:14:09] local.INFO: Extracted packet for processing {"connection_id":132797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66a9"} 
[2026-07-15 22:14:09] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":22,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22: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-07-15 22:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738176512001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784133803000,"timestamp_ms":1784133803000,"timestamp_seconds":1784133803,"priority":1,"record_length":96,"hex_timestamp":"0000019f66a95bf8"} 
[2026-07-15 22:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 22:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22: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-07-15 22:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":132797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":132797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":132797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738176512001,"66":25756,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738176512001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:14:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738176512001,"power":25756,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":132797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:14:09] local.INFO: GPS data processed {"connection_id":132797,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:14:09] local.INFO: Acknowledgment sent {"connection_id":132797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:14:40] local.INFO: TCP Data received {"connection_id":132797,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66a95bf8012d77a94005f27ab00016000028..."} 
[2026-07-15 22:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66a95bf8012d77a94005f27ab00016000028..."} 
[2026-07-15 22:14:40] local.INFO: Processing buffer {"connection_id":132797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66a95bf8012d77a94005f27ab00016000028..."} 
[2026-07-15 22:14:40] local.INFO: Packet analysis {"connection_id":132797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66a9"} 
[2026-07-15 22:14:40] local.INFO: Extracted packet for processing {"connection_id":132797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66a9"} 
[2026-07-15 22:14:40] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":22,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738176512001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:14:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784133803000,"timestamp_ms":1784133803000,"timestamp_seconds":1784133803,"priority":1,"record_length":96,"hex_timestamp":"0000019f66a95bf8"} 
[2026-07-15 22:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:14:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 22:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:14:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:14:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738176512001,"66":25756,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738176512001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:14:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:14:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738176512001,"power":25756,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":132797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:14:40] local.INFO: GPS data processed {"connection_id":132797,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:14:40] local.INFO: Acknowledgment sent {"connection_id":132797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:15:05] local.INFO: TCP Data received {"connection_id":135200,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:15:05] local.INFO: Processing buffer {"connection_id":135200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:15:05] local.INFO: IMEI packet received {"connection_id":135200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":135200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:15:10] local.INFO: TCP Data received {"connection_id":135200,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:15:10] local.INFO: Processing buffer {"connection_id":135200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:15:10] local.INFO: IMEI packet received {"connection_id":135200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":135200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:15:11] local.INFO: TCP Data received {"connection_id":135200,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66a95bf8012d77a94005f27ab00016000028..."} 
[2026-07-15 22:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66a95bf8012d77a94005f27ab00016000028..."} 
[2026-07-15 22:15:11] local.INFO: Processing buffer {"connection_id":135200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66a95bf8012d77a94005f27ab00016000028..."} 
[2026-07-15 22:15:11] local.INFO: Packet analysis {"connection_id":135200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66a9"} 
[2026-07-15 22:15:11] local.INFO: Extracted packet for processing {"connection_id":135200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66a9"} 
[2026-07-15 22:15:11] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":22,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738176512001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784133803000,"timestamp_ms":1784133803000,"timestamp_seconds":1784133803,"priority":1,"record_length":96,"hex_timestamp":"0000019f66a95bf8"} 
[2026-07-15 22:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 22:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":135200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":135200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":135200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738176512001,"66":25756,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738176512001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:15:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738176512001,"power":25756,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":135200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:15:11] local.INFO: GPS data processed {"connection_id":135200,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:15:11] local.INFO: Acknowledgment sent {"connection_id":135200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:15:16] local.INFO: TCP Data received {"connection_id":135200,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66a95bf8012d77a94005f27ab00016000028..."} 
[2026-07-15 22:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66a95bf8012d77a94005f27ab00016000028..."} 
[2026-07-15 22:15:16] local.INFO: Processing buffer {"connection_id":135200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66a95bf8012d77a94005f27ab00016000028..."} 
[2026-07-15 22:15:16] local.INFO: Packet analysis {"connection_id":135200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66a9"} 
[2026-07-15 22:15:16] local.INFO: Extracted packet for processing {"connection_id":135200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66a9"} 
[2026-07-15 22:15:16] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":22,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738176512001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:15:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784133803000,"timestamp_ms":1784133803000,"timestamp_seconds":1784133803,"priority":1,"record_length":96,"hex_timestamp":"0000019f66a95bf8"} 
[2026-07-15 22:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 22:15:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:15:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":135200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":135200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":135200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738176512001,"66":25756,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738176512001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:15:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738176512001,"power":25756,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":135200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:15:16] local.INFO: GPS data processed {"connection_id":135200,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:15:16] local.INFO: Acknowledgment sent {"connection_id":135200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:16:00] local.INFO: TCP Data received {"connection_id":135201,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:16:00] local.INFO: Processing buffer {"connection_id":135201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:16:00] local.INFO: IMEI packet received {"connection_id":135201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":135201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:16:05] local.INFO: TCP Data received {"connection_id":135201,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:16:05] local.INFO: Processing buffer {"connection_id":135201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:16:05] local.INFO: IMEI packet received {"connection_id":135201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":135201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:16:05] local.INFO: TCP Data received {"connection_id":135201,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66a95bf8012d77a94005f27ab00016000028..."} 
[2026-07-15 22:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66a95bf8012d77a94005f27ab00016000028..."} 
[2026-07-15 22:16:05] local.INFO: Processing buffer {"connection_id":135201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66a95bf8012d77a94005f27ab00016000028..."} 
[2026-07-15 22:16:05] local.INFO: Packet analysis {"connection_id":135201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66a9"} 
[2026-07-15 22:16:05] local.INFO: Extracted packet for processing {"connection_id":135201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66a9"} 
[2026-07-15 22:16:05] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":22,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738176512001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784133803000,"timestamp_ms":1784133803000,"timestamp_seconds":1784133803,"priority":1,"record_length":96,"hex_timestamp":"0000019f66a95bf8"} 
[2026-07-15 22:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 22:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":135201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":135201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":135201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738176512001,"66":25756,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738176512001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:16:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738176512001,"power":25756,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":135201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:16:05] local.INFO: GPS data processed {"connection_id":135201,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:16:05] local.INFO: Acknowledgment sent {"connection_id":135201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:16:37] local.INFO: TCP Data received {"connection_id":135201,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66a95bf8012d77a94005f27ab00016000028..."} 
[2026-07-15 22:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66a95bf8012d77a94005f27ab00016000028..."} 
[2026-07-15 22:16:37] local.INFO: Processing buffer {"connection_id":135201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66a95bf8012d77a94005f27ab00016000028..."} 
[2026-07-15 22:16:37] local.INFO: Packet analysis {"connection_id":135201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66a9"} 
[2026-07-15 22:16:37] local.INFO: Extracted packet for processing {"connection_id":135201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66a9"} 
[2026-07-15 22:16:37] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":22,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22: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-07-15 22:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738176512001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784133803000,"timestamp_ms":1784133803000,"timestamp_seconds":1784133803,"priority":1,"record_length":96,"hex_timestamp":"0000019f66a95bf8"} 
[2026-07-15 22:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 22:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22: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-07-15 22:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":135201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":135201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":135201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738176512001,"66":25756,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738176512001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:16:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738176512001,"power":25756,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":135201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:16:37] local.INFO: GPS data processed {"connection_id":135201,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:16:37] local.INFO: Acknowledgment sent {"connection_id":135201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:17:00] local.INFO: TCP Data received {"connection_id":135202,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:17:00] local.INFO: Processing buffer {"connection_id":135202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:17:00] local.INFO: IMEI packet received {"connection_id":135202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":135202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:17:05] local.INFO: TCP Data received {"connection_id":135202,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:17:05] local.INFO: Processing buffer {"connection_id":135202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:17:05] local.INFO: IMEI packet received {"connection_id":135202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":135202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:17:06] local.INFO: TCP Data received {"connection_id":135202,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66a95bf8012d77a94005f27ab00016000028..."} 
[2026-07-15 22:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66a95bf8012d77a94005f27ab00016000028..."} 
[2026-07-15 22:17:06] local.INFO: Processing buffer {"connection_id":135202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66a95bf8012d77a94005f27ab00016000028..."} 
[2026-07-15 22:17:06] local.INFO: Packet analysis {"connection_id":135202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66a9"} 
[2026-07-15 22:17:06] local.INFO: Extracted packet for processing {"connection_id":135202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66a9"} 
[2026-07-15 22:17:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":22,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22: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-07-15 22:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738176512001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784133803000,"timestamp_ms":1784133803000,"timestamp_seconds":1784133803,"priority":1,"record_length":96,"hex_timestamp":"0000019f66a95bf8"} 
[2026-07-15 22:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 22:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22: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-07-15 22:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738176512001,"66":25756,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738176512001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:17:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738176512001,"power":25756,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":135202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:17:06] local.INFO: GPS data processed {"connection_id":135202,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:17:06] local.INFO: Acknowledgment sent {"connection_id":135202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:17:37] local.INFO: TCP Data received {"connection_id":135202,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66a95bf8012d77a94005f27ab00016000028..."} 
[2026-07-15 22:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66a95bf8012d77a94005f27ab00016000028..."} 
[2026-07-15 22:17:37] local.INFO: Processing buffer {"connection_id":135202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66a95bf8012d77a94005f27ab00016000028..."} 
[2026-07-15 22:17:37] local.INFO: Packet analysis {"connection_id":135202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66a9"} 
[2026-07-15 22:17:37] local.INFO: Extracted packet for processing {"connection_id":135202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66a9"} 
[2026-07-15 22:17:37] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":22,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738176512001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784133803000,"timestamp_ms":1784133803000,"timestamp_seconds":1784133803,"priority":1,"record_length":96,"hex_timestamp":"0000019f66a95bf8"} 
[2026-07-15 22:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 22:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":135202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":135202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":135202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738176512001,"66":25756,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738176512001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:17:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738176512001,"power":25756,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":135202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:17:38] local.INFO: GPS data processed {"connection_id":135202,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:17:38] local.INFO: Acknowledgment sent {"connection_id":135202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:18:00] local.INFO: TCP Data received {"connection_id":133853,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:18:00] local.INFO: Processing buffer {"connection_id":133853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:18:00] local.INFO: IMEI packet received {"connection_id":133853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":133853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:18:05] local.INFO: TCP Data received {"connection_id":133853,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:18:05] local.INFO: Processing buffer {"connection_id":133853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:18:05] local.INFO: IMEI packet received {"connection_id":133853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":133853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:18:06] local.INFO: TCP Data received {"connection_id":133853,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66a95bf8012d77a94005f27ab00016000028..."} 
[2026-07-15 22:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66a95bf8012d77a94005f27ab00016000028..."} 
[2026-07-15 22:18:06] local.INFO: Processing buffer {"connection_id":133853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66a95bf8012d77a94005f27ab00016000028..."} 
[2026-07-15 22:18:06] local.INFO: Packet analysis {"connection_id":133853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66a9"} 
[2026-07-15 22:18:06] local.INFO: Extracted packet for processing {"connection_id":133853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66a9"} 
[2026-07-15 22:18:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":22,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22: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-07-15 22:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738176512001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784133803000,"timestamp_ms":1784133803000,"timestamp_seconds":1784133803,"priority":1,"record_length":96,"hex_timestamp":"0000019f66a95bf8"} 
[2026-07-15 22:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 22:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22: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-07-15 22:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738176512001,"66":25756,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738176512001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:18:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738176512001,"power":25756,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":133853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:18:06] local.INFO: GPS data processed {"connection_id":133853,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:18:06] local.INFO: Acknowledgment sent {"connection_id":133853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:18:37] local.INFO: TCP Data received {"connection_id":133853,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66a95bf8012d77a94005f27ab00016000028..."} 
[2026-07-15 22:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66a95bf8012d77a94005f27ab00016000028..."} 
[2026-07-15 22:18:37] local.INFO: Processing buffer {"connection_id":133853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66a95bf8012d77a94005f27ab00016000028..."} 
[2026-07-15 22:18:37] local.INFO: Packet analysis {"connection_id":133853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66a9"} 
[2026-07-15 22:18:37] local.INFO: Extracted packet for processing {"connection_id":133853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66a9"} 
[2026-07-15 22:18:37] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":22,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738176512001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784133803000,"timestamp_ms":1784133803000,"timestamp_seconds":1784133803,"priority":1,"record_length":96,"hex_timestamp":"0000019f66a95bf8"} 
[2026-07-15 22:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 22:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738176512001,"66":25756,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738176512001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:18:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738176512001,"power":25756,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":133853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:18:37] local.INFO: GPS data processed {"connection_id":133853,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:18:37] local.INFO: Acknowledgment sent {"connection_id":133853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:19:00] local.INFO: TCP Data received {"connection_id":132800,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:19:00] local.INFO: Processing buffer {"connection_id":132800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:19:00] local.INFO: IMEI packet received {"connection_id":132800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":132800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:19:02] local.INFO: TCP Data received {"connection_id":132800,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:19:02] local.INFO: Processing buffer {"connection_id":132800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:19:02] local.INFO: IMEI packet received {"connection_id":132800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":132800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:19:06] local.INFO: TCP Data received {"connection_id":132800,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:19:06] local.INFO: Processing buffer {"connection_id":132800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:19:06] local.INFO: IMEI packet received {"connection_id":132800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":132800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:19:07] local.INFO: TCP Data received {"connection_id":132800,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66adf3c0012d77a94005f27ab0001800002a..."} 
[2026-07-15 22:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66adf3c0012d77a94005f27ab0001800002a..."} 
[2026-07-15 22:19:07] local.INFO: Processing buffer {"connection_id":132800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66adf3c0012d77a94005f27ab0001800002a..."} 
[2026-07-15 22:19:07] local.INFO: Packet analysis {"connection_id":132800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66ad"} 
[2026-07-15 22:19:07] local.INFO: Extracted packet for processing {"connection_id":132800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66ad"} 
[2026-07-15 22:19:07] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":24,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738253568001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784134104000,"timestamp_ms":1784134104000,"timestamp_seconds":1784134104,"priority":1,"record_length":96,"hex_timestamp":"0000019f66adf3c0"} 
[2026-07-15 22:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 22:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:19:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738253568001,"66":25495,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738253568001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:19:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738253568001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":132800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:19:07] local.INFO: GPS data processed {"connection_id":132800,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:19:07] local.INFO: Acknowledgment sent {"connection_id":132800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:19:33] local.INFO: TCP Data received {"connection_id":132801,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132801,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:19:33] local.INFO: Processing buffer {"connection_id":132801,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:19:33] local.INFO: IMEI packet received {"connection_id":132801,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 22:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":132801,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:19:38] local.INFO: TCP Data received {"connection_id":132800,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66adf3c0012d77a94005f27ab0001800002a..."} 
[2026-07-15 22:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66adf3c0012d77a94005f27ab0001800002a..."} 
[2026-07-15 22:19:38] local.INFO: Processing buffer {"connection_id":132800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66adf3c0012d77a94005f27ab0001800002a..."} 
[2026-07-15 22:19:38] local.INFO: Packet analysis {"connection_id":132800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66ad"} 
[2026-07-15 22:19:38] local.INFO: Extracted packet for processing {"connection_id":132800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66ad"} 
[2026-07-15 22:19:38] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":24,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738253568001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784134104000,"timestamp_ms":1784134104000,"timestamp_seconds":1784134104,"priority":1,"record_length":96,"hex_timestamp":"0000019f66adf3c0"} 
[2026-07-15 22:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 22:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738253568001,"66":25495,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738253568001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:19:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738253568001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":132800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:19:38] local.INFO: GPS data processed {"connection_id":132800,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:19:38] local.INFO: Acknowledgment sent {"connection_id":132800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:20:00] local.INFO: TCP Data received {"connection_id":133854,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:20:00] local.INFO: Processing buffer {"connection_id":133854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:20:00] local.INFO: IMEI packet received {"connection_id":133854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":133854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:20:05] local.INFO: TCP Data received {"connection_id":133854,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:20:05] local.INFO: Processing buffer {"connection_id":133854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:20:05] local.INFO: IMEI packet received {"connection_id":133854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":133854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:20:06] local.INFO: TCP Data received {"connection_id":133854,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66adf3c0012d77a94005f27ab0001800002a..."} 
[2026-07-15 22:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66adf3c0012d77a94005f27ab0001800002a..."} 
[2026-07-15 22:20:06] local.INFO: Processing buffer {"connection_id":133854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66adf3c0012d77a94005f27ab0001800002a..."} 
[2026-07-15 22:20:06] local.INFO: Packet analysis {"connection_id":133854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66ad"} 
[2026-07-15 22:20:06] local.INFO: Extracted packet for processing {"connection_id":133854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66ad"} 
[2026-07-15 22:20:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":24,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738253568001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784134104000,"timestamp_ms":1784134104000,"timestamp_seconds":1784134104,"priority":1,"record_length":96,"hex_timestamp":"0000019f66adf3c0"} 
[2026-07-15 22:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 22:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738253568001,"66":25495,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738253568001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:20:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738253568001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":133854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:20:06] local.INFO: GPS data processed {"connection_id":133854,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:20:06] local.INFO: Acknowledgment sent {"connection_id":133854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:20:37] local.INFO: TCP Data received {"connection_id":133854,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66adf3c0012d77a94005f27ab0001800002a..."} 
[2026-07-15 22:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66adf3c0012d77a94005f27ab0001800002a..."} 
[2026-07-15 22:20:37] local.INFO: Processing buffer {"connection_id":133854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66adf3c0012d77a94005f27ab0001800002a..."} 
[2026-07-15 22:20:37] local.INFO: Packet analysis {"connection_id":133854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66ad"} 
[2026-07-15 22:20:37] local.INFO: Extracted packet for processing {"connection_id":133854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66ad"} 
[2026-07-15 22:20:37] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":24,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738253568001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784134104000,"timestamp_ms":1784134104000,"timestamp_seconds":1784134104,"priority":1,"record_length":96,"hex_timestamp":"0000019f66adf3c0"} 
[2026-07-15 22:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 22:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738253568001,"66":25495,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738253568001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:20:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738253568001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":133854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:20:37] local.INFO: GPS data processed {"connection_id":133854,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:20:37] local.INFO: Acknowledgment sent {"connection_id":133854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:21:00] local.INFO: TCP Data received {"connection_id":133855,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:21:00] local.INFO: Processing buffer {"connection_id":133855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:21:00] local.INFO: IMEI packet received {"connection_id":133855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":133855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:21:05] local.INFO: TCP Data received {"connection_id":133855,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:21:05] local.INFO: Processing buffer {"connection_id":133855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:21:05] local.INFO: IMEI packet received {"connection_id":133855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":133855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:21:06] local.INFO: TCP Data received {"connection_id":133855,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66adf3c0012d77a94005f27ab0001800002a..."} 
[2026-07-15 22:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66adf3c0012d77a94005f27ab0001800002a..."} 
[2026-07-15 22:21:06] local.INFO: Processing buffer {"connection_id":133855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66adf3c0012d77a94005f27ab0001800002a..."} 
[2026-07-15 22:21:06] local.INFO: Packet analysis {"connection_id":133855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66ad"} 
[2026-07-15 22:21:06] local.INFO: Extracted packet for processing {"connection_id":133855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66ad"} 
[2026-07-15 22:21:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":24,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738253568001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784134104000,"timestamp_ms":1784134104000,"timestamp_seconds":1784134104,"priority":1,"record_length":96,"hex_timestamp":"0000019f66adf3c0"} 
[2026-07-15 22:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 22:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738253568001,"66":25495,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738253568001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:21:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738253568001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":133855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:21:06] local.INFO: GPS data processed {"connection_id":133855,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:21:06] local.INFO: Acknowledgment sent {"connection_id":133855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:21:37] local.INFO: TCP Data received {"connection_id":133855,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66adf3c0012d77a94005f27ab0001800002a..."} 
[2026-07-15 22:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66adf3c0012d77a94005f27ab0001800002a..."} 
[2026-07-15 22:21:37] local.INFO: Processing buffer {"connection_id":133855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66adf3c0012d77a94005f27ab0001800002a..."} 
[2026-07-15 22:21:37] local.INFO: Packet analysis {"connection_id":133855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66ad"} 
[2026-07-15 22:21:37] local.INFO: Extracted packet for processing {"connection_id":133855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66ad"} 
[2026-07-15 22:21:37] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":24,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738253568001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784134104000,"timestamp_ms":1784134104000,"timestamp_seconds":1784134104,"priority":1,"record_length":96,"hex_timestamp":"0000019f66adf3c0"} 
[2026-07-15 22:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 22:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738253568001,"66":25495,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738253568001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:21:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738253568001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":133855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:21:37] local.INFO: GPS data processed {"connection_id":133855,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:21:37] local.INFO: Acknowledgment sent {"connection_id":133855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:22:00] local.INFO: TCP Data received {"connection_id":132986,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:22:00] local.INFO: Processing buffer {"connection_id":132986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:22:00] local.INFO: IMEI packet received {"connection_id":132986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":132986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:22:05] local.INFO: TCP Data received {"connection_id":132986,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:22:05] local.INFO: Processing buffer {"connection_id":132986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:22:05] local.INFO: IMEI packet received {"connection_id":132986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":132986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:22:06] local.INFO: TCP Data received {"connection_id":132986,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66adf3c0012d77a94005f27ab0001800002a..."} 
[2026-07-15 22:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66adf3c0012d77a94005f27ab0001800002a..."} 
[2026-07-15 22:22:06] local.INFO: Processing buffer {"connection_id":132986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66adf3c0012d77a94005f27ab0001800002a..."} 
[2026-07-15 22:22:06] local.INFO: Packet analysis {"connection_id":132986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66ad"} 
[2026-07-15 22:22:06] local.INFO: Extracted packet for processing {"connection_id":132986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66ad"} 
[2026-07-15 22:22:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":24,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22: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-07-15 22:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738253568001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784134104000,"timestamp_ms":1784134104000,"timestamp_seconds":1784134104,"priority":1,"record_length":96,"hex_timestamp":"0000019f66adf3c0"} 
[2026-07-15 22:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 22:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22: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-07-15 22:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738253568001,"66":25495,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738253568001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:22:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738253568001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":132986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:22:06] local.INFO: GPS data processed {"connection_id":132986,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:22:06] local.INFO: Acknowledgment sent {"connection_id":132986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:22:37] local.INFO: TCP Data received {"connection_id":132986,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66adf3c0012d77a94005f27ab0001800002a..."} 
[2026-07-15 22:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66adf3c0012d77a94005f27ab0001800002a..."} 
[2026-07-15 22:22:37] local.INFO: Processing buffer {"connection_id":132986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66adf3c0012d77a94005f27ab0001800002a..."} 
[2026-07-15 22:22:37] local.INFO: Packet analysis {"connection_id":132986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66ad"} 
[2026-07-15 22:22:37] local.INFO: Extracted packet for processing {"connection_id":132986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66ad"} 
[2026-07-15 22:22:37] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":24,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22: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-07-15 22:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738253568001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784134104000,"timestamp_ms":1784134104000,"timestamp_seconds":1784134104,"priority":1,"record_length":96,"hex_timestamp":"0000019f66adf3c0"} 
[2026-07-15 22:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 22:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22: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-07-15 22:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738253568001,"66":25495,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738253568001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:22:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738253568001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":132986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:22:37] local.INFO: GPS data processed {"connection_id":132986,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:22:37] local.INFO: Acknowledgment sent {"connection_id":132986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:23:00] local.INFO: TCP Data received {"connection_id":135206,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:23:00] local.INFO: Processing buffer {"connection_id":135206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:23:00] local.INFO: IMEI packet received {"connection_id":135206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":135206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:23:05] local.INFO: TCP Data received {"connection_id":135206,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:23:05] local.INFO: Processing buffer {"connection_id":135206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:23:05] local.INFO: IMEI packet received {"connection_id":135206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":135206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:23:06] local.INFO: TCP Data received {"connection_id":135206,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66adf3c0012d77a94005f27ab0001800002a..."} 
[2026-07-15 22:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66adf3c0012d77a94005f27ab0001800002a..."} 
[2026-07-15 22:23:06] local.INFO: Processing buffer {"connection_id":135206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66adf3c0012d77a94005f27ab0001800002a..."} 
[2026-07-15 22:23:06] local.INFO: Packet analysis {"connection_id":135206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66ad"} 
[2026-07-15 22:23:06] local.INFO: Extracted packet for processing {"connection_id":135206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66ad"} 
[2026-07-15 22:23:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":24,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738253568001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784134104000,"timestamp_ms":1784134104000,"timestamp_seconds":1784134104,"priority":1,"record_length":96,"hex_timestamp":"0000019f66adf3c0"} 
[2026-07-15 22:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 22:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738253568001,"66":25495,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738253568001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:23:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738253568001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":135206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:23:06] local.INFO: GPS data processed {"connection_id":135206,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:23:06] local.INFO: Acknowledgment sent {"connection_id":135206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:23:37] local.INFO: TCP Data received {"connection_id":135206,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66adf3c0012d77a94005f27ab0001800002a..."} 
[2026-07-15 22:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66adf3c0012d77a94005f27ab0001800002a..."} 
[2026-07-15 22:23:37] local.INFO: Processing buffer {"connection_id":135206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66adf3c0012d77a94005f27ab0001800002a..."} 
[2026-07-15 22:23:37] local.INFO: Packet analysis {"connection_id":135206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66ad"} 
[2026-07-15 22:23:37] local.INFO: Extracted packet for processing {"connection_id":135206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66ad"} 
[2026-07-15 22:23:37] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":24,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738253568001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784134104000,"timestamp_ms":1784134104000,"timestamp_seconds":1784134104,"priority":1,"record_length":96,"hex_timestamp":"0000019f66adf3c0"} 
[2026-07-15 22:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 22:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":135206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":135206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":135206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738253568001,"66":25495,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738253568001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:23:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738253568001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":135206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:23:37] local.INFO: GPS data processed {"connection_id":135206,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:23:37] local.INFO: Acknowledgment sent {"connection_id":135206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:24:03] local.INFO: TCP Data received {"connection_id":132802,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:24:03] local.INFO: Processing buffer {"connection_id":132802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:24:03] local.INFO: IMEI packet received {"connection_id":132802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":132802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:24:05] local.INFO: TCP Data received {"connection_id":132802,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:24:05] local.INFO: Processing buffer {"connection_id":132802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:24:05] local.INFO: IMEI packet received {"connection_id":132802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":132802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:24:10] local.INFO: TCP Data received {"connection_id":132802,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:24:10] local.INFO: Processing buffer {"connection_id":132802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:24:10] local.INFO: IMEI packet received {"connection_id":132802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":132802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:24:11] local.INFO: TCP Data received {"connection_id":132802,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66b28b88012d77a94005f27ab0001f000028..."} 
[2026-07-15 22:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66b28b88012d77a94005f27ab0001f000028..."} 
[2026-07-15 22:24:11] local.INFO: Processing buffer {"connection_id":132802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66b28b88012d77a94005f27ab0001f000028..."} 
[2026-07-15 22:24:11] local.INFO: Packet analysis {"connection_id":132802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66b2"} 
[2026-07-15 22:24:11] local.INFO: Extracted packet for processing {"connection_id":132802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66b2"} 
[2026-07-15 22:24:11] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":31,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738330624001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784134405000,"timestamp_ms":1784134405000,"timestamp_seconds":1784134405,"priority":1,"record_length":96,"hex_timestamp":"0000019f66b28b88"} 
[2026-07-15 22:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-15 22:24:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:24:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738330624001,"66":25756,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738330624001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:24:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738330624001,"power":25756,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":132802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:24:11] local.INFO: GPS data processed {"connection_id":132802,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:24:11] local.INFO: Acknowledgment sent {"connection_id":132802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:24:16] local.INFO: TCP Data received {"connection_id":132802,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66b28b88012d77a94005f27ab0001f000028..."} 
[2026-07-15 22:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66b28b88012d77a94005f27ab0001f000028..."} 
[2026-07-15 22:24:16] local.INFO: Processing buffer {"connection_id":132802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66b28b88012d77a94005f27ab0001f000028..."} 
[2026-07-15 22:24:16] local.INFO: Packet analysis {"connection_id":132802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66b2"} 
[2026-07-15 22:24:16] local.INFO: Extracted packet for processing {"connection_id":132802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66b2"} 
[2026-07-15 22:24:16] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":31,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738330624001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:24:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784134405000,"timestamp_ms":1784134405000,"timestamp_seconds":1784134405,"priority":1,"record_length":96,"hex_timestamp":"0000019f66b28b88"} 
[2026-07-15 22:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-15 22:24:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:24:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738330624001,"66":25756,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738330624001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:24:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738330624001,"power":25756,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":132802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:24:16] local.INFO: GPS data processed {"connection_id":132802,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:24:16] local.INFO: Acknowledgment sent {"connection_id":132802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:25:00] local.INFO: TCP Data received {"connection_id":133857,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:25:00] local.INFO: Processing buffer {"connection_id":133857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:25:00] local.INFO: IMEI packet received {"connection_id":133857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":133857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:25:05] local.INFO: TCP Data received {"connection_id":133857,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:25:05] local.INFO: Processing buffer {"connection_id":133857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:25:05] local.INFO: IMEI packet received {"connection_id":133857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":133857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:25:06] local.INFO: TCP Data received {"connection_id":133857,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66b28b88012d77a94005f27ab0001f000028..."} 
[2026-07-15 22:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66b28b88012d77a94005f27ab0001f000028..."} 
[2026-07-15 22:25:06] local.INFO: Processing buffer {"connection_id":133857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66b28b88012d77a94005f27ab0001f000028..."} 
[2026-07-15 22:25:06] local.INFO: Packet analysis {"connection_id":133857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66b2"} 
[2026-07-15 22:25:06] local.INFO: Extracted packet for processing {"connection_id":133857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66b2"} 
[2026-07-15 22:25:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":31,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738330624001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784134405000,"timestamp_ms":1784134405000,"timestamp_seconds":1784134405,"priority":1,"record_length":96,"hex_timestamp":"0000019f66b28b88"} 
[2026-07-15 22:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-15 22:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738330624001,"66":25756,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738330624001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:25:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738330624001,"power":25756,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":133857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:25:06] local.INFO: GPS data processed {"connection_id":133857,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:25:06] local.INFO: Acknowledgment sent {"connection_id":133857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:25:37] local.INFO: TCP Data received {"connection_id":133857,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66b28b88012d77a94005f27ab0001f000028..."} 
[2026-07-15 22:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66b28b88012d77a94005f27ab0001f000028..."} 
[2026-07-15 22:25:37] local.INFO: Processing buffer {"connection_id":133857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66b28b88012d77a94005f27ab0001f000028..."} 
[2026-07-15 22:25:37] local.INFO: Packet analysis {"connection_id":133857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66b2"} 
[2026-07-15 22:25:37] local.INFO: Extracted packet for processing {"connection_id":133857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66b2"} 
[2026-07-15 22:25:37] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":31,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738330624001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784134405000,"timestamp_ms":1784134405000,"timestamp_seconds":1784134405,"priority":1,"record_length":96,"hex_timestamp":"0000019f66b28b88"} 
[2026-07-15 22:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-15 22:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738330624001,"66":25756,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738330624001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:25:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738330624001,"power":25756,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":133857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:25:37] local.INFO: GPS data processed {"connection_id":133857,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:25:37] local.INFO: Acknowledgment sent {"connection_id":133857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:25:38] local.INFO: TCP Data received {"connection_id":133858,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133858,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:25:38] local.INFO: Processing buffer {"connection_id":133858,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:25:38] local.INFO: IMEI packet received {"connection_id":133858,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 22:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":133858,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:26:00] local.INFO: TCP Data received {"connection_id":133859,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:26:00] local.INFO: Processing buffer {"connection_id":133859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:26:00] local.INFO: IMEI packet received {"connection_id":133859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":133859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:26:05] local.INFO: TCP Data received {"connection_id":133859,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:26:05] local.INFO: Processing buffer {"connection_id":133859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:26:05] local.INFO: IMEI packet received {"connection_id":133859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":133859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:26:06] local.INFO: TCP Data received {"connection_id":133859,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66b28b88012d77a94005f27ab0001f000028..."} 
[2026-07-15 22:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66b28b88012d77a94005f27ab0001f000028..."} 
[2026-07-15 22:26:06] local.INFO: Processing buffer {"connection_id":133859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66b28b88012d77a94005f27ab0001f000028..."} 
[2026-07-15 22:26:06] local.INFO: Packet analysis {"connection_id":133859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66b2"} 
[2026-07-15 22:26:06] local.INFO: Extracted packet for processing {"connection_id":133859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66b2"} 
[2026-07-15 22:26:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":31,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738330624001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784134405000,"timestamp_ms":1784134405000,"timestamp_seconds":1784134405,"priority":1,"record_length":96,"hex_timestamp":"0000019f66b28b88"} 
[2026-07-15 22:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-15 22:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738330624001,"66":25756,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738330624001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:26:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738330624001,"power":25756,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":133859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:26:06] local.INFO: GPS data processed {"connection_id":133859,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:26:06] local.INFO: Acknowledgment sent {"connection_id":133859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:26:42] local.INFO: TCP Data received {"connection_id":133859,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66b28b88012d77a94005f27ab0001f000028..."} 
[2026-07-15 22:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66b28b88012d77a94005f27ab0001f000028..."} 
[2026-07-15 22:26:42] local.INFO: Processing buffer {"connection_id":133859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66b28b88012d77a94005f27ab0001f000028..."} 
[2026-07-15 22:26:42] local.INFO: Packet analysis {"connection_id":133859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66b2"} 
[2026-07-15 22:26:42] local.INFO: Extracted packet for processing {"connection_id":133859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66b2"} 
[2026-07-15 22:26:42] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":31,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:26: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-07-15 22:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738330624001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784134405000,"timestamp_ms":1784134405000,"timestamp_seconds":1784134405,"priority":1,"record_length":96,"hex_timestamp":"0000019f66b28b88"} 
[2026-07-15 22:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-15 22:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:26: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-07-15 22:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":133859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":133859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":133859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738330624001,"66":25756,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738330624001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:26:42] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738330624001,"power":25756,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":133859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:26:42] local.INFO: GPS data processed {"connection_id":133859,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:26:42] local.INFO: Acknowledgment sent {"connection_id":133859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:27:05] local.INFO: TCP Data received {"connection_id":132803,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:27:05] local.INFO: Processing buffer {"connection_id":132803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:27:05] local.INFO: IMEI packet received {"connection_id":132803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":132803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:27:10] local.INFO: TCP Data received {"connection_id":132803,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:27:10] local.INFO: Processing buffer {"connection_id":132803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:27:10] local.INFO: IMEI packet received {"connection_id":132803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":132803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:27:27] local.INFO: TCP Data received {"connection_id":132803,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66b28b88012d77a94005f27ab0001f000028..."} 
[2026-07-15 22:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66b28b88012d77a94005f27ab0001f000028..."} 
[2026-07-15 22:27:27] local.INFO: Processing buffer {"connection_id":132803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66b28b88012d77a94005f27ab0001f000028..."} 
[2026-07-15 22:27:27] local.INFO: Packet analysis {"connection_id":132803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66b2"} 
[2026-07-15 22:27:27] local.INFO: Extracted packet for processing {"connection_id":132803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66b2"} 
[2026-07-15 22:27:27] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":31,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22: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-07-15 22:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738330624001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784134405000,"timestamp_ms":1784134405000,"timestamp_seconds":1784134405,"priority":1,"record_length":96,"hex_timestamp":"0000019f66b28b88"} 
[2026-07-15 22:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:27:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-15 22:27:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22: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-07-15 22:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":132803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":132803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":132803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738330624001,"66":25756,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738330624001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:27:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738330624001,"power":25756,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":132803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:27:27] local.INFO: GPS data processed {"connection_id":132803,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:27:27] local.INFO: Acknowledgment sent {"connection_id":132803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:27:28] local.INFO: TCP Data received {"connection_id":132803,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66b28b88012d77a94005f27ab0001f000028..."} 
[2026-07-15 22:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66b28b88012d77a94005f27ab0001f000028..."} 
[2026-07-15 22:27:28] local.INFO: Processing buffer {"connection_id":132803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66b28b88012d77a94005f27ab0001f000028..."} 
[2026-07-15 22:27:28] local.INFO: Packet analysis {"connection_id":132803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66b2"} 
[2026-07-15 22:27:28] local.INFO: Extracted packet for processing {"connection_id":132803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66b2"} 
[2026-07-15 22:27:28] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":31,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22: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-07-15 22:27:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738330624001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:27:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:27:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:27:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:27:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784134405000,"timestamp_ms":1784134405000,"timestamp_seconds":1784134405,"priority":1,"record_length":96,"hex_timestamp":"0000019f66b28b88"} 
[2026-07-15 22:27:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:27:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-15 22:27:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22: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-07-15 22:27:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:27:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:27:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:27:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:27:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:27:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:27:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:27:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:27:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738330624001,"66":25756,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:27:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:27:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:27:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738330624001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:27:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:27:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:27:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:27:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738330624001,"power":25756,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:27:28] local.INFO: DEBUG: GPS processor result {"connection_id":132803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:27:28] local.INFO: GPS data processed {"connection_id":132803,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:27:28] local.INFO: Acknowledgment sent {"connection_id":132803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:28:00] local.INFO: TCP Data received {"connection_id":132989,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:28:00] local.INFO: Processing buffer {"connection_id":132989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:28:00] local.INFO: IMEI packet received {"connection_id":132989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":132989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:28:05] local.INFO: TCP Data received {"connection_id":132989,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:28:05] local.INFO: Processing buffer {"connection_id":132989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:28:05] local.INFO: IMEI packet received {"connection_id":132989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":132989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:28:06] local.INFO: TCP Data received {"connection_id":132989,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66b28b88012d77a94005f27ab0001f000028..."} 
[2026-07-15 22:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66b28b88012d77a94005f27ab0001f000028..."} 
[2026-07-15 22:28:06] local.INFO: Processing buffer {"connection_id":132989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66b28b88012d77a94005f27ab0001f000028..."} 
[2026-07-15 22:28:06] local.INFO: Packet analysis {"connection_id":132989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66b2"} 
[2026-07-15 22:28:06] local.INFO: Extracted packet for processing {"connection_id":132989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66b2"} 
[2026-07-15 22:28:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":31,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738330624001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784134405000,"timestamp_ms":1784134405000,"timestamp_seconds":1784134405,"priority":1,"record_length":96,"hex_timestamp":"0000019f66b28b88"} 
[2026-07-15 22:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-15 22:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738330624001,"66":25756,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738330624001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:28:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738330624001,"power":25756,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":132989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:28:06] local.INFO: GPS data processed {"connection_id":132989,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:28:06] local.INFO: Acknowledgment sent {"connection_id":132989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:28:37] local.INFO: TCP Data received {"connection_id":132989,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66b28b88012d77a94005f27ab0001f000028..."} 
[2026-07-15 22:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66b28b88012d77a94005f27ab0001f000028..."} 
[2026-07-15 22:28:37] local.INFO: Processing buffer {"connection_id":132989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66b28b88012d77a94005f27ab0001f000028..."} 
[2026-07-15 22:28:37] local.INFO: Packet analysis {"connection_id":132989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66b2"} 
[2026-07-15 22:28:37] local.INFO: Extracted packet for processing {"connection_id":132989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66b2"} 
[2026-07-15 22:28:37] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":31,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738330624001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784134405000,"timestamp_ms":1784134405000,"timestamp_seconds":1784134405,"priority":1,"record_length":96,"hex_timestamp":"0000019f66b28b88"} 
[2026-07-15 22:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-15 22:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738330624001,"66":25756,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738330624001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:28:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738330624001,"power":25756,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":132989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:28:37] local.INFO: GPS data processed {"connection_id":132989,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:28:37] local.INFO: Acknowledgment sent {"connection_id":132989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:29:00] local.INFO: TCP Data received {"connection_id":135208,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:29:00] local.INFO: Processing buffer {"connection_id":135208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:29:00] local.INFO: IMEI packet received {"connection_id":135208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":135208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:29:04] local.INFO: TCP Data received {"connection_id":135208,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:29:04] local.INFO: Processing buffer {"connection_id":135208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:29:04] local.INFO: IMEI packet received {"connection_id":135208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":135208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:29:04] local.INFO: TCP Data received {"connection_id":135208,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66b72350012d77a94005f27ab00019000026..."} 
[2026-07-15 22:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66b72350012d77a94005f27ab00019000026..."} 
[2026-07-15 22:29:04] local.INFO: Processing buffer {"connection_id":135208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66b72350012d77a94005f27ab00019000026..."} 
[2026-07-15 22:29:04] local.INFO: Packet analysis {"connection_id":135208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66b7"} 
[2026-07-15 22:29:04] local.INFO: Extracted packet for processing {"connection_id":135208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66b7"} 
[2026-07-15 22:29:04] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":25,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738407680001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784134706000,"timestamp_ms":1784134706000,"timestamp_seconds":1784134706,"priority":1,"record_length":96,"hex_timestamp":"0000019f66b72350"} 
[2026-07-15 22:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 22:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":135208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":135208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":135208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738407680001,"66":25343,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738407680001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:29:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738407680001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":135208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:29:04] local.INFO: GPS data processed {"connection_id":135208,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:29:04] local.INFO: Acknowledgment sent {"connection_id":135208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:29:36] local.INFO: TCP Data received {"connection_id":135208,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66b72350012d77a94005f27ab00019000026..."} 
[2026-07-15 22:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66b72350012d77a94005f27ab00019000026..."} 
[2026-07-15 22:29:36] local.INFO: Processing buffer {"connection_id":135208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66b72350012d77a94005f27ab00019000026..."} 
[2026-07-15 22:29:36] local.INFO: Packet analysis {"connection_id":135208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66b7"} 
[2026-07-15 22:29:36] local.INFO: Extracted packet for processing {"connection_id":135208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66b7"} 
[2026-07-15 22:29:36] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":25,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738407680001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784134706000,"timestamp_ms":1784134706000,"timestamp_seconds":1784134706,"priority":1,"record_length":96,"hex_timestamp":"0000019f66b72350"} 
[2026-07-15 22:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 22:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":135208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":135208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":135208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738407680001,"66":25343,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738407680001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:29:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738407680001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":135208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:29:36] local.INFO: GPS data processed {"connection_id":135208,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:29:36] local.INFO: Acknowledgment sent {"connection_id":135208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:30:00] local.INFO: TCP Data received {"connection_id":132805,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:30:00] local.INFO: Processing buffer {"connection_id":132805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:30:00] local.INFO: IMEI packet received {"connection_id":132805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":132805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:30:05] local.INFO: TCP Data received {"connection_id":132805,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:30:05] local.INFO: Processing buffer {"connection_id":132805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:30:05] local.INFO: IMEI packet received {"connection_id":132805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":132805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:30:06] local.INFO: TCP Data received {"connection_id":132805,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66b72350012d77a94005f27ab00019000026..."} 
[2026-07-15 22:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66b72350012d77a94005f27ab00019000026..."} 
[2026-07-15 22:30:06] local.INFO: Processing buffer {"connection_id":132805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66b72350012d77a94005f27ab00019000026..."} 
[2026-07-15 22:30:06] local.INFO: Packet analysis {"connection_id":132805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66b7"} 
[2026-07-15 22:30:06] local.INFO: Extracted packet for processing {"connection_id":132805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66b7"} 
[2026-07-15 22:30:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":25,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738407680001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784134706000,"timestamp_ms":1784134706000,"timestamp_seconds":1784134706,"priority":1,"record_length":96,"hex_timestamp":"0000019f66b72350"} 
[2026-07-15 22:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 22:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738407680001,"66":25343,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738407680001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:30:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738407680001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":132805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:30:06] local.INFO: GPS data processed {"connection_id":132805,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:30:06] local.INFO: Acknowledgment sent {"connection_id":132805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:30:39] local.INFO: TCP Data received {"connection_id":132805,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66b72350012d77a94005f27ab00019000026..."} 
[2026-07-15 22:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66b72350012d77a94005f27ab00019000026..."} 
[2026-07-15 22:30:39] local.INFO: Processing buffer {"connection_id":132805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66b72350012d77a94005f27ab00019000026..."} 
[2026-07-15 22:30:39] local.INFO: Packet analysis {"connection_id":132805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66b7"} 
[2026-07-15 22:30:39] local.INFO: Extracted packet for processing {"connection_id":132805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66b7"} 
[2026-07-15 22:30:39] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":25,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22: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-07-15 22:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738407680001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:30:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784134706000,"timestamp_ms":1784134706000,"timestamp_seconds":1784134706,"priority":1,"record_length":96,"hex_timestamp":"0000019f66b72350"} 
[2026-07-15 22:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:30:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 22:30:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22: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-07-15 22:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:30:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738407680001,"66":25343,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738407680001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:30:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738407680001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":132805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:30:39] local.INFO: GPS data processed {"connection_id":132805,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:30:39] local.INFO: Acknowledgment sent {"connection_id":132805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:31:00] local.INFO: TCP Data received {"connection_id":132990,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:31:00] local.INFO: Processing buffer {"connection_id":132990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:31:00] local.INFO: IMEI packet received {"connection_id":132990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":132990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:31:03] local.INFO: TCP Data received {"connection_id":135209,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135209,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:31:04] local.INFO: Processing buffer {"connection_id":135209,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:31:04] local.INFO: IMEI packet received {"connection_id":135209,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 22:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":135209,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:31:05] local.INFO: TCP Data received {"connection_id":132990,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:31:05] local.INFO: Processing buffer {"connection_id":132990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:31:05] local.INFO: IMEI packet received {"connection_id":132990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":132990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:31:06] local.INFO: TCP Data received {"connection_id":132990,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66b72350012d77a94005f27ab00019000026..."} 
[2026-07-15 22:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66b72350012d77a94005f27ab00019000026..."} 
[2026-07-15 22:31:06] local.INFO: Processing buffer {"connection_id":132990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66b72350012d77a94005f27ab00019000026..."} 
[2026-07-15 22:31:06] local.INFO: Packet analysis {"connection_id":132990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66b7"} 
[2026-07-15 22:31:06] local.INFO: Extracted packet for processing {"connection_id":132990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66b7"} 
[2026-07-15 22:31:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":25,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738407680001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784134706000,"timestamp_ms":1784134706000,"timestamp_seconds":1784134706,"priority":1,"record_length":96,"hex_timestamp":"0000019f66b72350"} 
[2026-07-15 22:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 22:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738407680001,"66":25343,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738407680001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:31:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738407680001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":132990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:31:06] local.INFO: GPS data processed {"connection_id":132990,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:31:06] local.INFO: Acknowledgment sent {"connection_id":132990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:31:38] local.INFO: TCP Data received {"connection_id":132990,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66b72350012d77a94005f27ab00019000026..."} 
[2026-07-15 22:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66b72350012d77a94005f27ab00019000026..."} 
[2026-07-15 22:31:38] local.INFO: Processing buffer {"connection_id":132990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66b72350012d77a94005f27ab00019000026..."} 
[2026-07-15 22:31:38] local.INFO: Packet analysis {"connection_id":132990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66b7"} 
[2026-07-15 22:31:38] local.INFO: Extracted packet for processing {"connection_id":132990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66b7"} 
[2026-07-15 22:31:38] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":25,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22: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-07-15 22:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738407680001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784134706000,"timestamp_ms":1784134706000,"timestamp_seconds":1784134706,"priority":1,"record_length":96,"hex_timestamp":"0000019f66b72350"} 
[2026-07-15 22:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 22:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22: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-07-15 22:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738407680001,"66":25343,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738407680001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:31:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738407680001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":132990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:31:38] local.INFO: GPS data processed {"connection_id":132990,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:31:38] local.INFO: Acknowledgment sent {"connection_id":132990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:31:38] local.INFO: TCP Data received {"connection_id":135210,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135210,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:31:38] local.INFO: Processing buffer {"connection_id":135210,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:31:38] local.INFO: IMEI packet received {"connection_id":135210,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 22:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":135210,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:32:05] local.INFO: TCP Data received {"connection_id":133861,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:32:05] local.INFO: Processing buffer {"connection_id":133861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:32:05] local.INFO: IMEI packet received {"connection_id":133861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":133861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:32:10] local.INFO: TCP Data received {"connection_id":133861,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:32:10] local.INFO: Processing buffer {"connection_id":133861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:32:10] local.INFO: IMEI packet received {"connection_id":133861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":133861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:32:11] local.INFO: TCP Data received {"connection_id":133861,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66b72350012d77a94005f27ab00019000026..."} 
[2026-07-15 22:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66b72350012d77a94005f27ab00019000026..."} 
[2026-07-15 22:32:11] local.INFO: Processing buffer {"connection_id":133861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66b72350012d77a94005f27ab00019000026..."} 
[2026-07-15 22:32:11] local.INFO: Packet analysis {"connection_id":133861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66b7"} 
[2026-07-15 22:32:11] local.INFO: Extracted packet for processing {"connection_id":133861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66b7"} 
[2026-07-15 22:32:11] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":25,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738407680001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784134706000,"timestamp_ms":1784134706000,"timestamp_seconds":1784134706,"priority":1,"record_length":96,"hex_timestamp":"0000019f66b72350"} 
[2026-07-15 22:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 22:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":133861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":133861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":133861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738407680001,"66":25343,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738407680001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:32:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738407680001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":133861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:32:11] local.INFO: GPS data processed {"connection_id":133861,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:32:11] local.INFO: Acknowledgment sent {"connection_id":133861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:32:16] local.INFO: TCP Data received {"connection_id":133861,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66b72350012d77a94005f27ab00019000026..."} 
[2026-07-15 22:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66b72350012d77a94005f27ab00019000026..."} 
[2026-07-15 22:32:16] local.INFO: Processing buffer {"connection_id":133861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66b72350012d77a94005f27ab00019000026..."} 
[2026-07-15 22:32:16] local.INFO: Packet analysis {"connection_id":133861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66b7"} 
[2026-07-15 22:32:16] local.INFO: Extracted packet for processing {"connection_id":133861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66b7"} 
[2026-07-15 22:32:16] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":25,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738407680001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:32:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784134706000,"timestamp_ms":1784134706000,"timestamp_seconds":1784134706,"priority":1,"record_length":96,"hex_timestamp":"0000019f66b72350"} 
[2026-07-15 22:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:32:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 22:32:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:32:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":133861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":133861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":133861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:32:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738407680001,"66":25343,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738407680001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:32:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738407680001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":133861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:32:16] local.INFO: GPS data processed {"connection_id":133861,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:32:16] local.INFO: Acknowledgment sent {"connection_id":133861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:33:00] local.INFO: TCP Data received {"connection_id":132806,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:33:00] local.INFO: Processing buffer {"connection_id":132806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:33:00] local.INFO: IMEI packet received {"connection_id":132806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":132806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:33:05] local.INFO: TCP Data received {"connection_id":132806,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:33:05] local.INFO: Processing buffer {"connection_id":132806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:33:05] local.INFO: IMEI packet received {"connection_id":132806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":132806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:33:06] local.INFO: TCP Data received {"connection_id":132806,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66b72350012d77a94005f27ab00019000026..."} 
[2026-07-15 22:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66b72350012d77a94005f27ab00019000026..."} 
[2026-07-15 22:33:06] local.INFO: Processing buffer {"connection_id":132806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66b72350012d77a94005f27ab00019000026..."} 
[2026-07-15 22:33:06] local.INFO: Packet analysis {"connection_id":132806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66b7"} 
[2026-07-15 22:33:06] local.INFO: Extracted packet for processing {"connection_id":132806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66b7"} 
[2026-07-15 22:33:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":25,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738407680001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784134706000,"timestamp_ms":1784134706000,"timestamp_seconds":1784134706,"priority":1,"record_length":96,"hex_timestamp":"0000019f66b72350"} 
[2026-07-15 22:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 22:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738407680001,"66":25343,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738407680001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:33:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738407680001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":132806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:33:06] local.INFO: GPS data processed {"connection_id":132806,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:33:06] local.INFO: Acknowledgment sent {"connection_id":132806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:33:37] local.INFO: TCP Data received {"connection_id":132806,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66b72350012d77a94005f27ab00019000026..."} 
[2026-07-15 22:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66b72350012d77a94005f27ab00019000026..."} 
[2026-07-15 22:33:37] local.INFO: Processing buffer {"connection_id":132806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66b72350012d77a94005f27ab00019000026..."} 
[2026-07-15 22:33:37] local.INFO: Packet analysis {"connection_id":132806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66b7"} 
[2026-07-15 22:33:37] local.INFO: Extracted packet for processing {"connection_id":132806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66b7"} 
[2026-07-15 22:33:37] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":25,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738407680001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784134706000,"timestamp_ms":1784134706000,"timestamp_seconds":1784134706,"priority":1,"record_length":96,"hex_timestamp":"0000019f66b72350"} 
[2026-07-15 22:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 22:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738407680001,"66":25343,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738407680001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:33:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738407680001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":132806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:33:37] local.INFO: GPS data processed {"connection_id":132806,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:33:37] local.INFO: Acknowledgment sent {"connection_id":132806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:34:00] local.INFO: TCP Data received {"connection_id":135213,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:34:00] local.INFO: Processing buffer {"connection_id":135213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:34:00] local.INFO: IMEI packet received {"connection_id":135213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":135213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:34:05] local.INFO: TCP Data received {"connection_id":135213,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:34:05] local.INFO: Processing buffer {"connection_id":135213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:34:05] local.INFO: IMEI packet received {"connection_id":135213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":135213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:34:06] local.INFO: TCP Data received {"connection_id":135213,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66bbbb18012d77a94005f27ab00018000024..."} 
[2026-07-15 22:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66bbbb18012d77a94005f27ab00018000024..."} 
[2026-07-15 22:34:06] local.INFO: Processing buffer {"connection_id":135213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66bbbb18012d77a94005f27ab00018000024..."} 
[2026-07-15 22:34:06] local.INFO: Packet analysis {"connection_id":135213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66bb"} 
[2026-07-15 22:34:06] local.INFO: Extracted packet for processing {"connection_id":135213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66bb"} 
[2026-07-15 22:34:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":24,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22: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-07-15 22:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738484736001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784135007000,"timestamp_ms":1784135007000,"timestamp_seconds":1784135007,"priority":1,"record_length":96,"hex_timestamp":"0000019f66bbbb18"} 
[2026-07-15 22:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-15 22:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22: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-07-15 22:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738484736001,"66":25778,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738484736001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:34:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738484736001,"power":25778,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":135213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:34:06] local.INFO: GPS data processed {"connection_id":135213,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:34:06] local.INFO: Acknowledgment sent {"connection_id":135213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:34:38] local.INFO: TCP Data received {"connection_id":135213,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66bbbb18012d77a94005f27ab00018000024..."} 
[2026-07-15 22:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66bbbb18012d77a94005f27ab00018000024..."} 
[2026-07-15 22:34:38] local.INFO: Processing buffer {"connection_id":135213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66bbbb18012d77a94005f27ab00018000024..."} 
[2026-07-15 22:34:38] local.INFO: Packet analysis {"connection_id":135213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66bb"} 
[2026-07-15 22:34:38] local.INFO: Extracted packet for processing {"connection_id":135213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66bb"} 
[2026-07-15 22:34:38] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":24,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22: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-07-15 22:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738484736001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784135007000,"timestamp_ms":1784135007000,"timestamp_seconds":1784135007,"priority":1,"record_length":96,"hex_timestamp":"0000019f66bbbb18"} 
[2026-07-15 22:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-15 22:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22: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-07-15 22:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":135213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":135213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":135213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738484736001,"66":25778,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738484736001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:34:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738484736001,"power":25778,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":135213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:34:38] local.INFO: GPS data processed {"connection_id":135213,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:34:38] local.INFO: Acknowledgment sent {"connection_id":135213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:35:05] local.INFO: TCP Data received {"connection_id":135214,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:35:05] local.INFO: Processing buffer {"connection_id":135214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:35:05] local.INFO: IMEI packet received {"connection_id":135214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":135214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:35:10] local.INFO: TCP Data received {"connection_id":135214,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:35:10] local.INFO: Processing buffer {"connection_id":135214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:35:10] local.INFO: IMEI packet received {"connection_id":135214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":135214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:35:11] local.INFO: TCP Data received {"connection_id":135214,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66bbbb18012d77a94005f27ab00018000024..."} 
[2026-07-15 22:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66bbbb18012d77a94005f27ab00018000024..."} 
[2026-07-15 22:35:11] local.INFO: Processing buffer {"connection_id":135214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66bbbb18012d77a94005f27ab00018000024..."} 
[2026-07-15 22:35:11] local.INFO: Packet analysis {"connection_id":135214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66bb"} 
[2026-07-15 22:35:11] local.INFO: Extracted packet for processing {"connection_id":135214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66bb"} 
[2026-07-15 22:35:11] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":24,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:35: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-07-15 22:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738484736001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:35:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:35:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784135007000,"timestamp_ms":1784135007000,"timestamp_seconds":1784135007,"priority":1,"record_length":96,"hex_timestamp":"0000019f66bbbb18"} 
[2026-07-15 22:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:35:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:35: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":255,"data_length":795,"current_offset":136} 
[2026-07-15 22:35:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:35: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-07-15 22:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":135214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":135214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":135214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:35:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738484736001,"66":25778,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738484736001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:35:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:35:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738484736001,"power":25778,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":135214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:35:11] local.INFO: GPS data processed {"connection_id":135214,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:35:11] local.INFO: Acknowledgment sent {"connection_id":135214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:35:16] local.INFO: TCP Data received {"connection_id":135214,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66bbbb18012d77a94005f27ab00018000024..."} 
[2026-07-15 22:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66bbbb18012d77a94005f27ab00018000024..."} 
[2026-07-15 22:35:16] local.INFO: Processing buffer {"connection_id":135214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66bbbb18012d77a94005f27ab00018000024..."} 
[2026-07-15 22:35:16] local.INFO: Packet analysis {"connection_id":135214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66bb"} 
[2026-07-15 22:35:16] local.INFO: Extracted packet for processing {"connection_id":135214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66bb"} 
[2026-07-15 22:35:16] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":24,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738484736001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:35:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784135007000,"timestamp_ms":1784135007000,"timestamp_seconds":1784135007,"priority":1,"record_length":96,"hex_timestamp":"0000019f66bbbb18"} 
[2026-07-15 22:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:35:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-15 22:35:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:35:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":135214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":135214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":135214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738484736001,"66":25778,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738484736001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:35:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738484736001,"power":25778,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":135214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:35:16] local.INFO: GPS data processed {"connection_id":135214,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:35:16] local.INFO: Acknowledgment sent {"connection_id":135214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:36:00] local.INFO: TCP Data received {"connection_id":132808,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:36:00] local.INFO: Processing buffer {"connection_id":132808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:36:00] local.INFO: IMEI packet received {"connection_id":132808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":132808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:36:05] local.INFO: TCP Data received {"connection_id":132808,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:36:05] local.INFO: Processing buffer {"connection_id":132808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:36:05] local.INFO: IMEI packet received {"connection_id":132808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":132808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:36:06] local.INFO: TCP Data received {"connection_id":132808,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66bbbb18012d77a94005f27ab00018000024..."} 
[2026-07-15 22:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66bbbb18012d77a94005f27ab00018000024..."} 
[2026-07-15 22:36:06] local.INFO: Processing buffer {"connection_id":132808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66bbbb18012d77a94005f27ab00018000024..."} 
[2026-07-15 22:36:06] local.INFO: Packet analysis {"connection_id":132808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66bb"} 
[2026-07-15 22:36:06] local.INFO: Extracted packet for processing {"connection_id":132808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66bb"} 
[2026-07-15 22:36:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":24,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738484736001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784135007000,"timestamp_ms":1784135007000,"timestamp_seconds":1784135007,"priority":1,"record_length":96,"hex_timestamp":"0000019f66bbbb18"} 
[2026-07-15 22:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-15 22:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738484736001,"66":25778,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738484736001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:36:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738484736001,"power":25778,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":132808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:36:06] local.INFO: GPS data processed {"connection_id":132808,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:36:06] local.INFO: Acknowledgment sent {"connection_id":132808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:36:37] local.INFO: TCP Data received {"connection_id":132808,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66bbbb18012d77a94005f27ab00018000024..."} 
[2026-07-15 22:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66bbbb18012d77a94005f27ab00018000024..."} 
[2026-07-15 22:36:37] local.INFO: Processing buffer {"connection_id":132808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66bbbb18012d77a94005f27ab00018000024..."} 
[2026-07-15 22:36:37] local.INFO: Packet analysis {"connection_id":132808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66bb"} 
[2026-07-15 22:36:37] local.INFO: Extracted packet for processing {"connection_id":132808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66bb"} 
[2026-07-15 22:36:37] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":24,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738484736001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784135007000,"timestamp_ms":1784135007000,"timestamp_seconds":1784135007,"priority":1,"record_length":96,"hex_timestamp":"0000019f66bbbb18"} 
[2026-07-15 22:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-15 22:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738484736001,"66":25778,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738484736001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:36:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738484736001,"power":25778,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":132808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:36:37] local.INFO: GPS data processed {"connection_id":132808,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:36:37] local.INFO: Acknowledgment sent {"connection_id":132808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:37:00] local.INFO: TCP Data received {"connection_id":133862,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:37:00] local.INFO: Processing buffer {"connection_id":133862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:37:00] local.INFO: IMEI packet received {"connection_id":133862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":133862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:37:05] local.INFO: TCP Data received {"connection_id":133862,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:37:05] local.INFO: Processing buffer {"connection_id":133862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:37:05] local.INFO: IMEI packet received {"connection_id":133862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":133862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:37:06] local.INFO: TCP Data received {"connection_id":133862,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66bbbb18012d77a94005f27ab00018000024..."} 
[2026-07-15 22:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66bbbb18012d77a94005f27ab00018000024..."} 
[2026-07-15 22:37:06] local.INFO: Processing buffer {"connection_id":133862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66bbbb18012d77a94005f27ab00018000024..."} 
[2026-07-15 22:37:06] local.INFO: Packet analysis {"connection_id":133862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66bb"} 
[2026-07-15 22:37:06] local.INFO: Extracted packet for processing {"connection_id":133862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66bb"} 
[2026-07-15 22:37:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":24,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738484736001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784135007000,"timestamp_ms":1784135007000,"timestamp_seconds":1784135007,"priority":1,"record_length":96,"hex_timestamp":"0000019f66bbbb18"} 
[2026-07-15 22:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-15 22:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738484736001,"66":25778,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738484736001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:37:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738484736001,"power":25778,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":133862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:37:06] local.INFO: GPS data processed {"connection_id":133862,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:37:06] local.INFO: Acknowledgment sent {"connection_id":133862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:37:13] local.INFO: TCP Data received {"connection_id":135215,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135215,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:37:13] local.INFO: Processing buffer {"connection_id":135215,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:37:13] local.INFO: IMEI packet received {"connection_id":135215,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 22:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":135215,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:37:33] local.INFO: TCP Data received {"connection_id":132809,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132809,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:37:33] local.INFO: Processing buffer {"connection_id":132809,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:37:33] local.INFO: IMEI packet received {"connection_id":132809,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 22:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":132809,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:37:37] local.INFO: TCP Data received {"connection_id":133862,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66bbbb18012d77a94005f27ab00018000024..."} 
[2026-07-15 22:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66bbbb18012d77a94005f27ab00018000024..."} 
[2026-07-15 22:37:37] local.INFO: Processing buffer {"connection_id":133862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66bbbb18012d77a94005f27ab00018000024..."} 
[2026-07-15 22:37:37] local.INFO: Packet analysis {"connection_id":133862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66bb"} 
[2026-07-15 22:37:37] local.INFO: Extracted packet for processing {"connection_id":133862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66bb"} 
[2026-07-15 22:37:37] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":24,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738484736001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784135007000,"timestamp_ms":1784135007000,"timestamp_seconds":1784135007,"priority":1,"record_length":96,"hex_timestamp":"0000019f66bbbb18"} 
[2026-07-15 22:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-15 22:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738484736001,"66":25778,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738484736001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:37:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738484736001,"power":25778,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":133862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:37:37] local.INFO: GPS data processed {"connection_id":133862,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:37:37] local.INFO: Acknowledgment sent {"connection_id":133862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:38:00] local.INFO: TCP Data received {"connection_id":133863,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:38:00] local.INFO: Processing buffer {"connection_id":133863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:38:00] local.INFO: IMEI packet received {"connection_id":133863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":133863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:38:05] local.INFO: TCP Data received {"connection_id":133863,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:38:05] local.INFO: Processing buffer {"connection_id":133863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:38:05] local.INFO: IMEI packet received {"connection_id":133863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":133863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:38:06] local.INFO: TCP Data received {"connection_id":133863,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66bbbb18012d77a94005f27ab00018000024..."} 
[2026-07-15 22:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66bbbb18012d77a94005f27ab00018000024..."} 
[2026-07-15 22:38:06] local.INFO: Processing buffer {"connection_id":133863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66bbbb18012d77a94005f27ab00018000024..."} 
[2026-07-15 22:38:06] local.INFO: Packet analysis {"connection_id":133863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66bb"} 
[2026-07-15 22:38:06] local.INFO: Extracted packet for processing {"connection_id":133863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66bb"} 
[2026-07-15 22:38:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":24,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22: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-07-15 22:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738484736001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784135007000,"timestamp_ms":1784135007000,"timestamp_seconds":1784135007,"priority":1,"record_length":96,"hex_timestamp":"0000019f66bbbb18"} 
[2026-07-15 22:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-15 22:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22: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-07-15 22:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738484736001,"66":25778,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738484736001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:38:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738484736001,"power":25778,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":133863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:38:06] local.INFO: GPS data processed {"connection_id":133863,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:38:06] local.INFO: Acknowledgment sent {"connection_id":133863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:38:37] local.INFO: TCP Data received {"connection_id":133863,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66bbbb18012d77a94005f27ab00018000024..."} 
[2026-07-15 22:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66bbbb18012d77a94005f27ab00018000024..."} 
[2026-07-15 22:38:37] local.INFO: Processing buffer {"connection_id":133863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66bbbb18012d77a94005f27ab00018000024..."} 
[2026-07-15 22:38:37] local.INFO: Packet analysis {"connection_id":133863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66bb"} 
[2026-07-15 22:38:37] local.INFO: Extracted packet for processing {"connection_id":133863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66bb"} 
[2026-07-15 22:38:37] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":24,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738484736001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784135007000,"timestamp_ms":1784135007000,"timestamp_seconds":1784135007,"priority":1,"record_length":96,"hex_timestamp":"0000019f66bbbb18"} 
[2026-07-15 22:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-15 22:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738484736001,"66":25778,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738484736001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:38:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738484736001,"power":25778,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":133863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:38:37] local.INFO: GPS data processed {"connection_id":133863,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:38:37] local.INFO: Acknowledgment sent {"connection_id":133863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:39:00] local.INFO: TCP Data received {"connection_id":132811,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:39:00] local.INFO: Processing buffer {"connection_id":132811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:39:00] local.INFO: IMEI packet received {"connection_id":132811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":132811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:39:05] local.INFO: TCP Data received {"connection_id":132811,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:39:05] local.INFO: Processing buffer {"connection_id":132811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:39:05] local.INFO: IMEI packet received {"connection_id":132811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":132811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:39:06] local.INFO: TCP Data received {"connection_id":132811,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66bbbb18012d77a94005f27ab00018000024..."} 
[2026-07-15 22:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66bbbb18012d77a94005f27ab00018000024..."} 
[2026-07-15 22:39:06] local.INFO: Processing buffer {"connection_id":132811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66bbbb18012d77a94005f27ab00018000024..."} 
[2026-07-15 22:39:06] local.INFO: Packet analysis {"connection_id":132811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66bb"} 
[2026-07-15 22:39:06] local.INFO: Extracted packet for processing {"connection_id":132811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66bb"} 
[2026-07-15 22:39:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":24,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738484736001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784135007000,"timestamp_ms":1784135007000,"timestamp_seconds":1784135007,"priority":1,"record_length":96,"hex_timestamp":"0000019f66bbbb18"} 
[2026-07-15 22:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-15 22:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738484736001,"66":25778,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738484736001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:39:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738484736001,"power":25778,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":132811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:39:06] local.INFO: GPS data processed {"connection_id":132811,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:39:06] local.INFO: Acknowledgment sent {"connection_id":132811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:39:36] local.INFO: TCP Data received {"connection_id":132811,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66c052e0012d77a94005f27ab0000e000028..."} 
[2026-07-15 22:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66c052e0012d77a94005f27ab0000e000028..."} 
[2026-07-15 22:39:36] local.INFO: Processing buffer {"connection_id":132811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66c052e0012d77a94005f27ab0000e000028..."} 
[2026-07-15 22:39:36] local.INFO: Packet analysis {"connection_id":132811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66c0"} 
[2026-07-15 22:39:36] local.INFO: Extracted packet for processing {"connection_id":132811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66c0"} 
[2026-07-15 22:39:36] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":14,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738561792001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784135308000,"timestamp_ms":1784135308000,"timestamp_seconds":1784135308,"priority":1,"record_length":96,"hex_timestamp":"0000019f66c052e0"} 
[2026-07-15 22:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-15 22:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738561792001,"66":25549,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738561792001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:39:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738561792001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":132811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:39:37] local.INFO: GPS data processed {"connection_id":132811,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:39:37] local.INFO: Acknowledgment sent {"connection_id":132811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:40:00] local.INFO: TCP Data received {"connection_id":132993,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:40:00] local.INFO: Processing buffer {"connection_id":132993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:40:00] local.INFO: IMEI packet received {"connection_id":132993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":132993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:40:01] local.INFO: TCP Data received {"connection_id":132993,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:40:01] local.INFO: Processing buffer {"connection_id":132993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:40:01] local.INFO: IMEI packet received {"connection_id":132993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":132993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:40:05] local.INFO: TCP Data received {"connection_id":132993,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:40:05] local.INFO: Processing buffer {"connection_id":132993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:40:05] local.INFO: IMEI packet received {"connection_id":132993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":132993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:40:06] local.INFO: TCP Data received {"connection_id":132993,"ip":"117.224.134.231","data_length":1360,"data_hex":"000000000000030f8e0a0000019f66c125d0012d77a94005f27ab0000f000027..."} 
[2026-07-15 22:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132993,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019f66c125d0012d77a94005f27ab0000f000027..."} 
[2026-07-15 22:40:06] local.INFO: Processing buffer {"connection_id":132993,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a0000019f66c125d0012d77a94005f27ab0000f000027..."} 
[2026-07-15 22:40:06] local.INFO: Packet analysis {"connection_id":132993,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a0000019f66c1"} 
[2026-07-15 22:40:06] local.INFO: Extracted packet for processing {"connection_id":132993,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019f66c1"} 
[2026-07-15 22:40:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":15,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-15 22:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738638848001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483916766019584,"note":"Value kept but may cause issues"} 
[2026-07-15 22:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784135362000,"timestamp_ms":1784135362000,"timestamp_seconds":1784135362,"priority":1,"record_length":96,"hex_timestamp":"0000019f66c125d0"} 
[2026-07-15 22:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-15 22:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738638848001,"66":25495,"2":206,"9":24832,"24":0,"16":347483916766019584,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738638848001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:40:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483916766019584,"km_value":347483916766019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738638848001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":132993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:40:06] local.INFO: GPS data processed {"connection_id":132993,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:40:06] local.INFO: Acknowledgment sent {"connection_id":132993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:40:06] local.INFO: Packet analysis {"connection_id":132993,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019f66c1"} 
[2026-07-15 22:40:06] local.INFO: Incomplete packet, waiting for more data {"connection_id":132993,"needed":795,"available":565} 
[2026-07-15 22:40:07] local.INFO: TCP Data received {"connection_id":132993,"ip":"117.224.134.231","data_length":230,"data_hex":"2d77a94005f27ab0001600002800000000000a000400ef0000715a00f0000045..."} 
[2026-07-15 22:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132993,"packet_length":230,"packet_hex":"2d77a94005f27ab0001600002800000000000a000400ef0000715a00f0000045..."} 
[2026-07-15 22:40:07] local.INFO: Processing buffer {"connection_id":132993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66c13d40012d77a7c005f27a20000f004e28..."} 
[2026-07-15 22:40:07] local.INFO: Packet analysis {"connection_id":132993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66c1"} 
[2026-07-15 22:40:07] local.INFO: Extracted packet for processing {"connection_id":132993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66c1"} 
[2026-07-15 22:40:07] local.INFO: GPS Element Parsed {"raw_longitude":762816448,"raw_latitude":99777056,"longitude_deg":76.2816448,"latitude_deg":9.9777056,"altitude":15,"angle":78,"satellites":40,"speed":0,"hex_longitude":"2d77a7c0","hex_latitude":"05f27a20","is_valid_coordinates":true} 
[2026-07-15 22:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738652672001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483925355954176,"note":"Value kept but may cause issues"} 
[2026-07-15 22:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784135368000,"timestamp_ms":1784135368000,"timestamp_seconds":1784135368,"priority":1,"record_length":96,"hex_timestamp":"0000019f66c13d40"} 
[2026-07-15 22:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 22:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-15 22:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738652672001,"66":27517,"2":206,"9":24832,"24":0,"16":347483925355954176,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738652672001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:40:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483925355954176,"km_value":347483925355954.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738652672001,"power":27517,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":132993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:40:07] local.INFO: GPS data processed {"connection_id":132993,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:40:07] local.INFO: Acknowledgment sent {"connection_id":132993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:40:11] local.INFO: TCP Data received {"connection_id":132993,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66c13d40012d77a7c005f27a20000f004e28..."} 
[2026-07-15 22:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66c13d40012d77a7c005f27a20000f004e28..."} 
[2026-07-15 22:40:11] local.INFO: Processing buffer {"connection_id":132993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66c13d40012d77a7c005f27a20000f004e28..."} 
[2026-07-15 22:40:11] local.INFO: Packet analysis {"connection_id":132993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66c1"} 
[2026-07-15 22:40:11] local.INFO: Extracted packet for processing {"connection_id":132993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66c1"} 
[2026-07-15 22:40:11] local.INFO: GPS Element Parsed {"raw_longitude":762816448,"raw_latitude":99777056,"longitude_deg":76.2816448,"latitude_deg":9.9777056,"altitude":15,"angle":78,"satellites":40,"speed":0,"hex_longitude":"2d77a7c0","hex_latitude":"05f27a20","is_valid_coordinates":true} 
[2026-07-15 22:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738652672001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483925355954176,"note":"Value kept but may cause issues"} 
[2026-07-15 22:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-15 22:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784135368000,"timestamp_ms":1784135368000,"timestamp_seconds":1784135368,"priority":1,"record_length":96,"hex_timestamp":"0000019f66c13d40"} 
[2026-07-15 22:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 22:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-15 22:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:40:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738652672001,"66":27517,"2":206,"9":24832,"24":0,"16":347483925355954176,"45":8622493355864666112},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738652672001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:40:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483925355954176,"km_value":347483925355954.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-15 22:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738652672001,"power":27517,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-15 22:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":132993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:40:11] local.INFO: GPS data processed {"connection_id":132993,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:40:11] local.INFO: Acknowledgment sent {"connection_id":132993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:40:44] local.INFO: TCP Data received {"connection_id":132993,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66c18f48012d77a7c005f279d80013004e26..."} 
[2026-07-15 22:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66c18f48012d77a7c005f279d80013004e26..."} 
[2026-07-15 22:40:44] local.INFO: Processing buffer {"connection_id":132993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66c18f48012d77a7c005f279d80013004e26..."} 
[2026-07-15 22:40:44] local.INFO: Packet analysis {"connection_id":132993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66c1"} 
[2026-07-15 22:40:44] local.INFO: Extracted packet for processing {"connection_id":132993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66c1"} 
[2026-07-15 22:40:44] local.INFO: GPS Element Parsed {"raw_longitude":762816448,"raw_latitude":99776984,"longitude_deg":76.2816448,"latitude_deg":9.9776984,"altitude":19,"angle":78,"satellites":38,"speed":0,"hex_longitude":"2d77a7c0","hex_latitude":"05f279d8","is_valid_coordinates":true} 
[2026-07-15 22:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738654208001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483933945888768,"note":"Value kept but may cause issues"} 
[2026-07-15 22:40:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622071143399563264,"note":"Value kept but may cause issues"} 
[2026-07-15 22:40:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784135389000,"timestamp_ms":1784135389000,"timestamp_seconds":1784135389,"priority":1,"record_length":96,"hex_timestamp":"0000019f66c18f48"} 
[2026-07-15 22:40:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:40:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 22:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-15 22:40:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:40:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:40:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":132993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":132993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":132993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:40:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738654208001,"66":26963,"2":206,"9":24832,"24":0,"16":347483933945888768,"45":8622071143399563264},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738654208001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:40:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483933945888768,"km_value":347483933945888.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:40:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622071143399563264,"description":"Unknown IO ID 45"} 
[2026-07-15 22:40:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738654208001,"power":26963,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622071143399563264}} 
[2026-07-15 22:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":132993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:40:44] local.INFO: GPS data processed {"connection_id":132993,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:40:44] local.INFO: Acknowledgment sent {"connection_id":132993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:40:59] local.INFO: TCP Data received {"connection_id":132812,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:40:59] local.INFO: Processing buffer {"connection_id":132812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:40:59] local.INFO: IMEI packet received {"connection_id":132812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":132812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:41:00] local.INFO: TCP Data received {"connection_id":132812,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:41:00] local.INFO: Processing buffer {"connection_id":132812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:41:00] local.INFO: IMEI packet received {"connection_id":132812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":132812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:41:05] local.INFO: TCP Data received {"connection_id":132812,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:41:05] local.INFO: Processing buffer {"connection_id":132812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:41:05] local.INFO: IMEI packet received {"connection_id":132812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":132812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:41:06] local.INFO: TCP Data received {"connection_id":132812,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66c1e150012d77a80005f27ad00018004e27..."} 
[2026-07-15 22:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66c1e150012d77a80005f27ad00018004e27..."} 
[2026-07-15 22:41:06] local.INFO: Processing buffer {"connection_id":132812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66c1e150012d77a80005f27ad00018004e27..."} 
[2026-07-15 22:41:06] local.INFO: Packet analysis {"connection_id":132812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66c1"} 
[2026-07-15 22:41:06] local.INFO: Extracted packet for processing {"connection_id":132812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66c1"} 
[2026-07-15 22:41:06] local.INFO: GPS Element Parsed {"raw_longitude":762816512,"raw_latitude":99777232,"longitude_deg":76.2816512,"latitude_deg":9.9777232,"altitude":24,"angle":78,"satellites":39,"speed":0,"hex_longitude":"2d77a800","hex_latitude":"05f27ad0","is_valid_coordinates":true} 
[2026-07-15 22:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738659584001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347483946830790656,"note":"Value kept but may cause issues"} 
[2026-07-15 22:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622071143399544832,"note":"Value kept but may cause issues"} 
[2026-07-15 22:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784135410000,"timestamp_ms":1784135410000,"timestamp_seconds":1784135410,"priority":1,"record_length":96,"hex_timestamp":"0000019f66c1e150"} 
[2026-07-15 22:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 22:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-07-15 22:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738659584001,"66":27397,"2":206,"9":24832,"24":0,"16":347483946830790656,"45":8622071143399544832},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738659584001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:41:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347483946830790656,"km_value":347483946830790.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622071143399544832,"description":"Unknown IO ID 45"} 
[2026-07-15 22:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738659584001,"power":27397,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622071143399544832}} 
[2026-07-15 22:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":132812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:41:06] local.INFO: GPS data processed {"connection_id":132812,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:41:06] local.INFO: Acknowledgment sent {"connection_id":132812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:41:37] local.INFO: TCP Data received {"connection_id":132812,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66c28178012d77a5c005f2a4100004002824..."} 
[2026-07-15 22:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66c28178012d77a5c005f2a4100004002824..."} 
[2026-07-15 22:41:37] local.INFO: Processing buffer {"connection_id":132812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66c28178012d77a5c005f2a4100004002824..."} 
[2026-07-15 22:41:37] local.INFO: Packet analysis {"connection_id":132812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66c2"} 
[2026-07-15 22:41:37] local.INFO: Extracted packet for processing {"connection_id":132812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66c2"} 
[2026-07-15 22:41:37] local.INFO: GPS Element Parsed {"raw_longitude":762815936,"raw_latitude":99787792,"longitude_deg":76.2815936,"latitude_deg":9.9787792,"altitude":4,"angle":40,"satellites":36,"speed":7,"hex_longitude":"2d77a5c0","hex_latitude":"05f2a410","is_valid_coordinates":true} 
[2026-07-15 22:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738675200001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484470816800768,"note":"Value kept but may cause issues"} 
[2026-07-15 22:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455960498176,"note":"Value kept but may cause issues"} 
[2026-07-15 22:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784135451000,"timestamp_ms":1784135451000,"timestamp_seconds":1784135451,"priority":1,"record_length":96,"hex_timestamp":"0000019f66c28178"} 
[2026-07-15 22:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 22:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-15 22:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738675200001,"66":26408,"2":206,"9":24832,"24":7,"16":347484470816800768,"45":8621367455960498176},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738675200001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:41:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484470816800768,"km_value":347484470816800.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455960498176,"description":"Unknown IO ID 45"} 
[2026-07-15 22:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738675200001,"power":26408,"power_alt":206,"unknown_9":24832,"ignition":7,"odometer":null,"unknown_45":8621367455960498176}} 
[2026-07-15 22:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":132812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:41:37] local.INFO: GPS data processed {"connection_id":132812,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:41:37] local.INFO: Acknowledgment sent {"connection_id":132812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:41:59] local.INFO: TCP Data received {"connection_id":132813,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:41:59] local.INFO: Processing buffer {"connection_id":132813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:41:59] local.INFO: IMEI packet received {"connection_id":132813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":132813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:42:00] local.INFO: TCP Data received {"connection_id":132813,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:42:00] local.INFO: Processing buffer {"connection_id":132813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:42:00] local.INFO: IMEI packet received {"connection_id":132813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":132813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:42:05] local.INFO: TCP Data received {"connection_id":132813,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:42:05] local.INFO: Processing buffer {"connection_id":132813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:42:05] local.INFO: IMEI packet received {"connection_id":132813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":132813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:42:06] local.INFO: TCP Data received {"connection_id":132813,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66c28560012d77a60005f2a4900003004126..."} 
[2026-07-15 22:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66c28560012d77a60005f2a4900003004126..."} 
[2026-07-15 22:42:06] local.INFO: Processing buffer {"connection_id":132813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66c28560012d77a60005f2a4900003004126..."} 
[2026-07-15 22:42:06] local.INFO: Packet analysis {"connection_id":132813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66c2"} 
[2026-07-15 22:42:06] local.INFO: Extracted packet for processing {"connection_id":132813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66c2"} 
[2026-07-15 22:42:06] local.INFO: GPS Element Parsed {"raw_longitude":762816000,"raw_latitude":99787920,"longitude_deg":76.2816,"latitude_deg":9.978792,"altitude":3,"angle":65,"satellites":38,"speed":7,"hex_longitude":"2d77a600","hex_latitude":"05f2a490","is_valid_coordinates":true} 
[2026-07-15 22:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738675456001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484475111768064,"note":"Value kept but may cause issues"} 
[2026-07-15 22:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621508193448890368,"note":"Value kept but may cause issues"} 
[2026-07-15 22:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784135452000,"timestamp_ms":1784135452000,"timestamp_seconds":1784135452,"priority":1,"record_length":96,"hex_timestamp":"0000019f66c28560"} 
[2026-07-15 22:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 22:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-15 22:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738675456001,"66":26408,"2":206,"9":24832,"24":7,"16":347484475111768064,"45":8621508193448890368},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738675456001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:42:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484475111768064,"km_value":347484475111768.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621508193448890368,"description":"Unknown IO ID 45"} 
[2026-07-15 22:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738675456001,"power":26408,"power_alt":206,"unknown_9":24832,"ignition":7,"odometer":null,"unknown_45":8621508193448890368}} 
[2026-07-15 22:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":132813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:42:06] local.INFO: GPS data processed {"connection_id":132813,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:42:06] local.INFO: Acknowledgment sent {"connection_id":132813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:42:37] local.INFO: TCP Data received {"connection_id":132813,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66c28d30012d77a78005f2a4f80003005226..."} 
[2026-07-15 22:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66c28d30012d77a78005f2a4f80003005226..."} 
[2026-07-15 22:42:37] local.INFO: Processing buffer {"connection_id":132813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66c28d30012d77a78005f2a4f80003005226..."} 
[2026-07-15 22:42:37] local.INFO: Packet analysis {"connection_id":132813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66c2"} 
[2026-07-15 22:42:37] local.INFO: Extracted packet for processing {"connection_id":132813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66c2"} 
[2026-07-15 22:42:37] local.INFO: GPS Element Parsed {"raw_longitude":762816384,"raw_latitude":99788024,"longitude_deg":76.2816384,"latitude_deg":9.9788024,"altitude":3,"angle":82,"satellites":38,"speed":6,"hex_longitude":"2d77a780","hex_latitude":"05f2a4f8","is_valid_coordinates":true} 
[2026-07-15 22: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-07-15 22:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738675712001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484496586604544,"note":"Value kept but may cause issues"} 
[2026-07-15 22:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621578562193100800,"note":"Value kept but may cause issues"} 
[2026-07-15 22:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784135454000,"timestamp_ms":1784135454000,"timestamp_seconds":1784135454,"priority":1,"record_length":96,"hex_timestamp":"0000019f66c28d30"} 
[2026-07-15 22:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 22:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-15 22:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738675712001,"66":27539,"2":206,"9":24832,"24":6,"16":347484496586604544,"45":8621578562193100800},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738675712001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:42:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484496586604544,"km_value":347484496586604.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621578562193100800,"description":"Unknown IO ID 45"} 
[2026-07-15 22:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738675712001,"power":27539,"power_alt":206,"unknown_9":24832,"ignition":6,"odometer":null,"unknown_45":8621578562193100800}} 
[2026-07-15 22:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":132813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:42:37] local.INFO: GPS data processed {"connection_id":132813,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:42:37] local.INFO: Acknowledgment sent {"connection_id":132813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:42:59] local.INFO: TCP Data received {"connection_id":135217,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135217,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:42:59] local.INFO: Processing buffer {"connection_id":135217,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:42:59] local.INFO: IMEI packet received {"connection_id":135217,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 22:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":135217,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:43:00] local.INFO: TCP Data received {"connection_id":133864,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:43:00] local.INFO: Processing buffer {"connection_id":133864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:43:00] local.INFO: IMEI packet received {"connection_id":133864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":133864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:43:05] local.INFO: TCP Data received {"connection_id":133864,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:43:05] local.INFO: Processing buffer {"connection_id":133864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:43:05] local.INFO: IMEI packet received {"connection_id":133864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":133864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:43:06] local.INFO: TCP Data received {"connection_id":133864,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66c2d768012d77ab0005f2a678000000ec26..."} 
[2026-07-15 22:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66c2d768012d77ab0005f2a678000000ec26..."} 
[2026-07-15 22:43:06] local.INFO: Processing buffer {"connection_id":133864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66c2d768012d77ab0005f2a678000000ec26..."} 
[2026-07-15 22:43:06] local.INFO: Packet analysis {"connection_id":133864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66c2"} 
[2026-07-15 22:43:06] local.INFO: Extracted packet for processing {"connection_id":133864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66c2"} 
[2026-07-15 22:43:06] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":0,"angle":236,"satellites":38,"speed":4,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-07-15 22:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738676224001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484608255754240,"note":"Value kept but may cause issues"} 
[2026-07-15 22:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622000774658193408,"note":"Value kept but may cause issues"} 
[2026-07-15 22:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784135473000,"timestamp_ms":1784135473000,"timestamp_seconds":1784135473,"priority":1,"record_length":96,"hex_timestamp":"0000019f66c2d768"} 
[2026-07-15 22:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 22:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-15 22:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738676224001,"66":28028,"2":206,"9":24832,"24":4,"16":347484608255754240,"45":8622000774658193408},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738676224001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:43:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484608255754240,"km_value":347484608255754.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622000774658193408,"description":"Unknown IO ID 45"} 
[2026-07-15 22:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738676224001,"power":28028,"power_alt":206,"unknown_9":24832,"ignition":4,"odometer":null,"unknown_45":8622000774658193408}} 
[2026-07-15 22:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":133864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:43:06] local.INFO: GPS data processed {"connection_id":133864,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:43:06] local.INFO: Acknowledgment sent {"connection_id":133864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:43:37] local.INFO: TCP Data received {"connection_id":133864,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66c2e708012d77aa4005f2a6180000010427..."} 
[2026-07-15 22:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66c2e708012d77aa4005f2a6180000010427..."} 
[2026-07-15 22:43:37] local.INFO: Processing buffer {"connection_id":133864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66c2e708012d77aa4005f2a6180000010427..."} 
[2026-07-15 22:43:37] local.INFO: Packet analysis {"connection_id":133864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66c2"} 
[2026-07-15 22:43:37] local.INFO: Extracted packet for processing {"connection_id":133864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66c2"} 
[2026-07-15 22:43:37] local.INFO: GPS Element Parsed {"raw_longitude":762817088,"raw_latitude":99788312,"longitude_deg":76.2817088,"latitude_deg":9.9788312,"altitude":0,"angle":260,"satellites":39,"speed":3,"hex_longitude":"2d77aa40","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-15 22: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-07-15 22:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738681088001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484621140656128,"note":"Value kept but may cause issues"} 
[2026-07-15 22:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076779008,"note":"Value kept but may cause issues"} 
[2026-07-15 22:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784135477000,"timestamp_ms":1784135477000,"timestamp_seconds":1784135477,"priority":1,"record_length":96,"hex_timestamp":"0000019f66c2e708"} 
[2026-07-15 22:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 22:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-15 22:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22: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-07-15 22:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738681088001,"66":28028,"2":206,"9":24832,"24":3,"16":347484621140656128,"45":8622985937076779008},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738681088001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:43:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484621140656128,"km_value":347484621140656.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076779008,"description":"Unknown IO ID 45"} 
[2026-07-15 22:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738681088001,"power":28028,"power_alt":206,"unknown_9":24832,"ignition":3,"odometer":null,"unknown_45":8622985937076779008}} 
[2026-07-15 22:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":133864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:43:37] local.INFO: GPS data processed {"connection_id":133864,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:43:37] local.INFO: Acknowledgment sent {"connection_id":133864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:43:39] local.INFO: TCP Data received {"connection_id":132814,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132814,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:43:39] local.INFO: Processing buffer {"connection_id":132814,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:43:39] local.INFO: IMEI packet received {"connection_id":132814,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 22:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":132814,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:44:05] local.INFO: TCP Data received {"connection_id":132815,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:44:05] local.INFO: Processing buffer {"connection_id":132815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:44:05] local.INFO: IMEI packet received {"connection_id":132815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":132815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:44:10] local.INFO: TCP Data received {"connection_id":132815,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:44:10] local.INFO: Processing buffer {"connection_id":132815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:44:10] local.INFO: IMEI packet received {"connection_id":132815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":132815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:44:11] local.INFO: TCP Data received {"connection_id":132815,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66c2f6a8012d77a94005f2a610000000fa27..."} 
[2026-07-15 22:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66c2f6a8012d77a94005f2a610000000fa27..."} 
[2026-07-15 22:44:11] local.INFO: Processing buffer {"connection_id":132815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66c2f6a8012d77a94005f2a610000000fa27..."} 
[2026-07-15 22:44:11] local.INFO: Packet analysis {"connection_id":132815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66c2"} 
[2026-07-15 22:44:11] local.INFO: Extracted packet for processing {"connection_id":132815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66c2"} 
[2026-07-15 22:44:11] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788304,"longitude_deg":76.2816832,"latitude_deg":9.9788304,"altitude":0,"angle":250,"satellites":39,"speed":1,"hex_longitude":"2d77a940","hex_latitude":"05f2a610","is_valid_coordinates":true} 
[2026-07-15 22:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738682112001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 22:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622774830844221440,"note":"Value kept but may cause issues"} 
[2026-07-15 22:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784135481000,"timestamp_ms":1784135481000,"timestamp_seconds":1784135481,"priority":1,"record_length":96,"hex_timestamp":"0000019f66c2f6a8"} 
[2026-07-15 22:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 22:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-15 22:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738682112001,"66":27995,"2":206,"9":24832,"24":1,"16":347484634025558016,"45":8622774830844221440},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738682112001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:44:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622774830844221440,"description":"Unknown IO ID 45"} 
[2026-07-15 22:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738682112001,"power":27995,"power_alt":206,"unknown_9":24832,"ignition":1,"odometer":null,"unknown_45":8622774830844221440}} 
[2026-07-15 22:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":132815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:44:11] local.INFO: GPS data processed {"connection_id":132815,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:44:11] local.INFO: Acknowledgment sent {"connection_id":132815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:44:42] local.INFO: TCP Data received {"connection_id":132815,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66c2f6a8012d77a94005f2a610000000fa27..."} 
[2026-07-15 22:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66c2f6a8012d77a94005f2a610000000fa27..."} 
[2026-07-15 22:44:42] local.INFO: Processing buffer {"connection_id":132815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66c2f6a8012d77a94005f2a610000000fa27..."} 
[2026-07-15 22:44:42] local.INFO: Packet analysis {"connection_id":132815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66c2"} 
[2026-07-15 22:44:42] local.INFO: Extracted packet for processing {"connection_id":132815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66c2"} 
[2026-07-15 22:44:42] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788304,"longitude_deg":76.2816832,"latitude_deg":9.9788304,"altitude":0,"angle":250,"satellites":39,"speed":1,"hex_longitude":"2d77a940","hex_latitude":"05f2a610","is_valid_coordinates":true} 
[2026-07-15 22:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738682112001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 22:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622774830844221440,"note":"Value kept but may cause issues"} 
[2026-07-15 22:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784135481000,"timestamp_ms":1784135481000,"timestamp_seconds":1784135481,"priority":1,"record_length":96,"hex_timestamp":"0000019f66c2f6a8"} 
[2026-07-15 22:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:44:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 22:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-15 22:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738682112001,"66":27995,"2":206,"9":24832,"24":1,"16":347484634025558016,"45":8622774830844221440},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738682112001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:44:42] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622774830844221440,"description":"Unknown IO ID 45"} 
[2026-07-15 22:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738682112001,"power":27995,"power_alt":206,"unknown_9":24832,"ignition":1,"odometer":null,"unknown_45":8622774830844221440}} 
[2026-07-15 22:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":132815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:44:42] local.INFO: GPS data processed {"connection_id":132815,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:44:42] local.INFO: Acknowledgment sent {"connection_id":132815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:45:05] local.INFO: TCP Data received {"connection_id":135218,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:45:05] local.INFO: Processing buffer {"connection_id":135218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:45:05] local.INFO: IMEI packet received {"connection_id":135218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":135218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:45:10] local.INFO: TCP Data received {"connection_id":135218,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:45:10] local.INFO: Processing buffer {"connection_id":135218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:45:10] local.INFO: IMEI packet received {"connection_id":135218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":135218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:45:11] local.INFO: TCP Data received {"connection_id":135218,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66c2f6a8012d77a94005f2a610000000fa27..."} 
[2026-07-15 22:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66c2f6a8012d77a94005f2a610000000fa27..."} 
[2026-07-15 22:45:11] local.INFO: Processing buffer {"connection_id":135218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66c2f6a8012d77a94005f2a610000000fa27..."} 
[2026-07-15 22:45:11] local.INFO: Packet analysis {"connection_id":135218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66c2"} 
[2026-07-15 22:45:11] local.INFO: Extracted packet for processing {"connection_id":135218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66c2"} 
[2026-07-15 22:45:11] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788304,"longitude_deg":76.2816832,"latitude_deg":9.9788304,"altitude":0,"angle":250,"satellites":39,"speed":1,"hex_longitude":"2d77a940","hex_latitude":"05f2a610","is_valid_coordinates":true} 
[2026-07-15 22:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738682112001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 22:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622774830844221440,"note":"Value kept but may cause issues"} 
[2026-07-15 22:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784135481000,"timestamp_ms":1784135481000,"timestamp_seconds":1784135481,"priority":1,"record_length":96,"hex_timestamp":"0000019f66c2f6a8"} 
[2026-07-15 22:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:45:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 22:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-15 22:45:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:45:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":135218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":135218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":135218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738682112001,"66":27995,"2":206,"9":24832,"24":1,"16":347484634025558016,"45":8622774830844221440},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738682112001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:45:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622774830844221440,"description":"Unknown IO ID 45"} 
[2026-07-15 22:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738682112001,"power":27995,"power_alt":206,"unknown_9":24832,"ignition":1,"odometer":null,"unknown_45":8622774830844221440}} 
[2026-07-15 22:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":135218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:45:11] local.INFO: GPS data processed {"connection_id":135218,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:45:11] local.INFO: Acknowledgment sent {"connection_id":135218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:45:42] local.INFO: TCP Data received {"connection_id":135218,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66c2f6a8012d77a94005f2a610000000fa27..."} 
[2026-07-15 22:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66c2f6a8012d77a94005f2a610000000fa27..."} 
[2026-07-15 22:45:42] local.INFO: Processing buffer {"connection_id":135218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66c2f6a8012d77a94005f2a610000000fa27..."} 
[2026-07-15 22:45:42] local.INFO: Packet analysis {"connection_id":135218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66c2"} 
[2026-07-15 22:45:42] local.INFO: Extracted packet for processing {"connection_id":135218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66c2"} 
[2026-07-15 22:45:42] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788304,"longitude_deg":76.2816832,"latitude_deg":9.9788304,"altitude":0,"angle":250,"satellites":39,"speed":1,"hex_longitude":"2d77a940","hex_latitude":"05f2a610","is_valid_coordinates":true} 
[2026-07-15 22:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738682112001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 22:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622774830844221440,"note":"Value kept but may cause issues"} 
[2026-07-15 22:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784135481000,"timestamp_ms":1784135481000,"timestamp_seconds":1784135481,"priority":1,"record_length":96,"hex_timestamp":"0000019f66c2f6a8"} 
[2026-07-15 22:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 22: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-15 22:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22: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-07-15 22:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":135218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":135218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":135218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738682112001,"66":27995,"2":206,"9":24832,"24":1,"16":347484634025558016,"45":8622774830844221440},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738682112001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:45:42] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622774830844221440,"description":"Unknown IO ID 45"} 
[2026-07-15 22:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738682112001,"power":27995,"power_alt":206,"unknown_9":24832,"ignition":1,"odometer":null,"unknown_45":8622774830844221440}} 
[2026-07-15 22:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":135218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:45:42] local.INFO: GPS data processed {"connection_id":135218,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:45:42] local.INFO: Acknowledgment sent {"connection_id":135218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:46:00] local.INFO: TCP Data received {"connection_id":132995,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:46:00] local.INFO: Processing buffer {"connection_id":132995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:46:00] local.INFO: IMEI packet received {"connection_id":132995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":132995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:46:05] local.INFO: TCP Data received {"connection_id":132995,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:46:05] local.INFO: Processing buffer {"connection_id":132995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:46:05] local.INFO: IMEI packet received {"connection_id":132995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":132995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:46:06] local.INFO: TCP Data received {"connection_id":132995,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66c2f6a8012d77a94005f2a610000000fa27..."} 
[2026-07-15 22:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66c2f6a8012d77a94005f2a610000000fa27..."} 
[2026-07-15 22:46:06] local.INFO: Processing buffer {"connection_id":132995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66c2f6a8012d77a94005f2a610000000fa27..."} 
[2026-07-15 22:46:06] local.INFO: Packet analysis {"connection_id":132995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66c2"} 
[2026-07-15 22:46:06] local.INFO: Extracted packet for processing {"connection_id":132995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66c2"} 
[2026-07-15 22:46:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788304,"longitude_deg":76.2816832,"latitude_deg":9.9788304,"altitude":0,"angle":250,"satellites":39,"speed":1,"hex_longitude":"2d77a940","hex_latitude":"05f2a610","is_valid_coordinates":true} 
[2026-07-15 22:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738682112001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 22:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622774830844221440,"note":"Value kept but may cause issues"} 
[2026-07-15 22:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784135481000,"timestamp_ms":1784135481000,"timestamp_seconds":1784135481,"priority":1,"record_length":96,"hex_timestamp":"0000019f66c2f6a8"} 
[2026-07-15 22:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 22: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-15 22:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22: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-07-15 22:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738682112001,"66":27995,"2":206,"9":24832,"24":1,"16":347484634025558016,"45":8622774830844221440},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738682112001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:46:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622774830844221440,"description":"Unknown IO ID 45"} 
[2026-07-15 22:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738682112001,"power":27995,"power_alt":206,"unknown_9":24832,"ignition":1,"odometer":null,"unknown_45":8622774830844221440}} 
[2026-07-15 22:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":132995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:46:06] local.INFO: GPS data processed {"connection_id":132995,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:46:06] local.INFO: Acknowledgment sent {"connection_id":132995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:46:38] local.INFO: TCP Data received {"connection_id":132995,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66c2f6a8012d77a94005f2a610000000fa27..."} 
[2026-07-15 22:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66c2f6a8012d77a94005f2a610000000fa27..."} 
[2026-07-15 22:46:38] local.INFO: Processing buffer {"connection_id":132995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66c2f6a8012d77a94005f2a610000000fa27..."} 
[2026-07-15 22:46:38] local.INFO: Packet analysis {"connection_id":132995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66c2"} 
[2026-07-15 22:46:38] local.INFO: Extracted packet for processing {"connection_id":132995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66c2"} 
[2026-07-15 22:46:38] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788304,"longitude_deg":76.2816832,"latitude_deg":9.9788304,"altitude":0,"angle":250,"satellites":39,"speed":1,"hex_longitude":"2d77a940","hex_latitude":"05f2a610","is_valid_coordinates":true} 
[2026-07-15 22:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738682112001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 22:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622774830844221440,"note":"Value kept but may cause issues"} 
[2026-07-15 22:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784135481000,"timestamp_ms":1784135481000,"timestamp_seconds":1784135481,"priority":1,"record_length":96,"hex_timestamp":"0000019f66c2f6a8"} 
[2026-07-15 22:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 22: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-15 22:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22: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-07-15 22:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738682112001,"66":27995,"2":206,"9":24832,"24":1,"16":347484634025558016,"45":8622774830844221440},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738682112001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:46:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622774830844221440,"description":"Unknown IO ID 45"} 
[2026-07-15 22:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738682112001,"power":27995,"power_alt":206,"unknown_9":24832,"ignition":1,"odometer":null,"unknown_45":8622774830844221440}} 
[2026-07-15 22:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":132995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:46:38] local.INFO: GPS data processed {"connection_id":132995,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:46:38] local.INFO: Acknowledgment sent {"connection_id":132995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:47:00] local.INFO: TCP Data received {"connection_id":132816,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:47:00] local.INFO: Processing buffer {"connection_id":132816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:47:00] local.INFO: IMEI packet received {"connection_id":132816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":132816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:47:01] local.INFO: TCP Data received {"connection_id":132816,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:47:01] local.INFO: Processing buffer {"connection_id":132816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:47:01] local.INFO: IMEI packet received {"connection_id":132816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":132816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:47:05] local.INFO: TCP Data received {"connection_id":132816,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:47:05] local.INFO: Processing buffer {"connection_id":132816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:47:05] local.INFO: IMEI packet received {"connection_id":132816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":132816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:47:06] local.INFO: TCP Data received {"connection_id":132816,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66c79258012d77aac005f2a5e0000000f72a..."} 
[2026-07-15 22:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66c79258012d77aac005f2a5e0000000f72a..."} 
[2026-07-15 22:47:06] local.INFO: Processing buffer {"connection_id":132816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66c79258012d77aac005f2a5e0000000f72a..."} 
[2026-07-15 22:47:06] local.INFO: Packet analysis {"connection_id":132816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66c7"} 
[2026-07-15 22:47:06] local.INFO: Extracted packet for processing {"connection_id":132816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66c7"} 
[2026-07-15 22:47:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":0,"angle":247,"satellites":42,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 22:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738683136001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 22:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867508736,"note":"Value kept but may cause issues"} 
[2026-07-15 22:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784135783000,"timestamp_ms":1784135783000,"timestamp_seconds":1784135783,"priority":1,"record_length":96,"hex_timestamp":"0000019f66c79258"} 
[2026-07-15 22:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-15 22:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738683136001,"66":26180,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622493355867508736},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738683136001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:47:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867508736,"description":"Unknown IO ID 45"} 
[2026-07-15 22:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738683136001,"power":26180,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867508736}} 
[2026-07-15 22:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":132816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:47:06] local.INFO: GPS data processed {"connection_id":132816,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:47:06] local.INFO: Acknowledgment sent {"connection_id":132816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:47:38] local.INFO: TCP Data received {"connection_id":132816,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66c79258012d77aac005f2a5e0000000f72a..."} 
[2026-07-15 22:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66c79258012d77aac005f2a5e0000000f72a..."} 
[2026-07-15 22:47:38] local.INFO: Processing buffer {"connection_id":132816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66c79258012d77aac005f2a5e0000000f72a..."} 
[2026-07-15 22:47:38] local.INFO: Packet analysis {"connection_id":132816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66c7"} 
[2026-07-15 22:47:38] local.INFO: Extracted packet for processing {"connection_id":132816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66c7"} 
[2026-07-15 22:47:38] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":0,"angle":247,"satellites":42,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 22: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-07-15 22:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738683136001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 22:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867508736,"note":"Value kept but may cause issues"} 
[2026-07-15 22:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784135783000,"timestamp_ms":1784135783000,"timestamp_seconds":1784135783,"priority":1,"record_length":96,"hex_timestamp":"0000019f66c79258"} 
[2026-07-15 22:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-15 22:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22: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-07-15 22:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738683136001,"66":26180,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622493355867508736},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738683136001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:47:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867508736,"description":"Unknown IO ID 45"} 
[2026-07-15 22:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738683136001,"power":26180,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867508736}} 
[2026-07-15 22:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":132816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:47:38] local.INFO: GPS data processed {"connection_id":132816,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:47:38] local.INFO: Acknowledgment sent {"connection_id":132816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:48:05] local.INFO: TCP Data received {"connection_id":133867,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:48:05] local.INFO: Processing buffer {"connection_id":133867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:48:05] local.INFO: IMEI packet received {"connection_id":133867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":133867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:48:10] local.INFO: TCP Data received {"connection_id":133867,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:48:10] local.INFO: Processing buffer {"connection_id":133867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:48:10] local.INFO: IMEI packet received {"connection_id":133867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":133867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:48:11] local.INFO: TCP Data received {"connection_id":133867,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66c79258012d77aac005f2a5e0000000f72a..."} 
[2026-07-15 22:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66c79258012d77aac005f2a5e0000000f72a..."} 
[2026-07-15 22:48:11] local.INFO: Processing buffer {"connection_id":133867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66c79258012d77aac005f2a5e0000000f72a..."} 
[2026-07-15 22:48:11] local.INFO: Packet analysis {"connection_id":133867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66c7"} 
[2026-07-15 22:48:11] local.INFO: Extracted packet for processing {"connection_id":133867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66c7"} 
[2026-07-15 22:48:11] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":0,"angle":247,"satellites":42,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 22:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738683136001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 22:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867508736,"note":"Value kept but may cause issues"} 
[2026-07-15 22:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784135783000,"timestamp_ms":1784135783000,"timestamp_seconds":1784135783,"priority":1,"record_length":96,"hex_timestamp":"0000019f66c79258"} 
[2026-07-15 22:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-15 22:48:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":133867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":133867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":133867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738683136001,"66":26180,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622493355867508736},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738683136001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:48:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867508736,"description":"Unknown IO ID 45"} 
[2026-07-15 22:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738683136001,"power":26180,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867508736}} 
[2026-07-15 22:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":133867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:48:11] local.INFO: GPS data processed {"connection_id":133867,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:48:11] local.INFO: Acknowledgment sent {"connection_id":133867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:48:21] local.INFO: TCP Data received {"connection_id":133867,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66c79258012d77aac005f2a5e0000000f72a..."} 
[2026-07-15 22:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66c79258012d77aac005f2a5e0000000f72a..."} 
[2026-07-15 22:48:21] local.INFO: Processing buffer {"connection_id":133867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66c79258012d77aac005f2a5e0000000f72a..."} 
[2026-07-15 22:48:21] local.INFO: Packet analysis {"connection_id":133867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66c7"} 
[2026-07-15 22:48:21] local.INFO: Extracted packet for processing {"connection_id":133867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66c7"} 
[2026-07-15 22:48:21] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":0,"angle":247,"satellites":42,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 22: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-07-15 22:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738683136001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 22:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867508736,"note":"Value kept but may cause issues"} 
[2026-07-15 22:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1784135783000,"timestamp_ms":1784135783000,"timestamp_seconds":1784135783,"priority":1,"record_length":96,"hex_timestamp":"0000019f66c79258"} 
[2026-07-15 22:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:48:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-15 22:48:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22: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-07-15 22:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":133867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":133867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":133867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:48:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738683136001,"66":26180,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622493355867508736},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738683136001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:48:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867508736,"description":"Unknown IO ID 45"} 
[2026-07-15 22:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738683136001,"power":26180,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867508736}} 
[2026-07-15 22:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":133867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:48:21] local.INFO: GPS data processed {"connection_id":133867,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:48:21] local.INFO: Acknowledgment sent {"connection_id":133867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:49:01] local.INFO: TCP Data received {"connection_id":135221,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:49:01] local.INFO: Processing buffer {"connection_id":135221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:49:01] local.INFO: IMEI packet received {"connection_id":135221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":135221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:49:05] local.INFO: TCP Data received {"connection_id":135221,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:49:05] local.INFO: Processing buffer {"connection_id":135221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:49:05] local.INFO: IMEI packet received {"connection_id":135221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":135221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:49:06] local.INFO: TCP Data received {"connection_id":135221,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66c79258012d77aac005f2a5e0000000f72a..."} 
[2026-07-15 22:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66c79258012d77aac005f2a5e0000000f72a..."} 
[2026-07-15 22:49:06] local.INFO: Processing buffer {"connection_id":135221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66c79258012d77aac005f2a5e0000000f72a..."} 
[2026-07-15 22:49:06] local.INFO: Packet analysis {"connection_id":135221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66c7"} 
[2026-07-15 22:49:06] local.INFO: Extracted packet for processing {"connection_id":135221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66c7"} 
[2026-07-15 22:49:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":0,"angle":247,"satellites":42,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 22:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738683136001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 22:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867508736,"note":"Value kept but may cause issues"} 
[2026-07-15 22:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784135783000,"timestamp_ms":1784135783000,"timestamp_seconds":1784135783,"priority":1,"record_length":96,"hex_timestamp":"0000019f66c79258"} 
[2026-07-15 22:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-15 22:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738683136001,"66":26180,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622493355867508736},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738683136001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:49:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867508736,"description":"Unknown IO ID 45"} 
[2026-07-15 22:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738683136001,"power":26180,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867508736}} 
[2026-07-15 22:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":135221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:49:06] local.INFO: GPS data processed {"connection_id":135221,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:49:06] local.INFO: Acknowledgment sent {"connection_id":135221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:49:10] local.INFO: TCP Data received {"connection_id":135221,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66c79258012d77aac005f2a5e0000000f72a..."} 
[2026-07-15 22:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66c79258012d77aac005f2a5e0000000f72a..."} 
[2026-07-15 22:49:10] local.INFO: Processing buffer {"connection_id":135221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66c79258012d77aac005f2a5e0000000f72a..."} 
[2026-07-15 22:49:10] local.INFO: Packet analysis {"connection_id":135221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66c7"} 
[2026-07-15 22:49:10] local.INFO: Extracted packet for processing {"connection_id":135221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66c7"} 
[2026-07-15 22:49:10] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":0,"angle":247,"satellites":42,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 22:49: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-07-15 22:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738683136001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 22:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867508736,"note":"Value kept but may cause issues"} 
[2026-07-15 22:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784135783000,"timestamp_ms":1784135783000,"timestamp_seconds":1784135783,"priority":1,"record_length":96,"hex_timestamp":"0000019f66c79258"} 
[2026-07-15 22:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-15 22:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:49: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-07-15 22:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":135221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":135221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":135221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738683136001,"66":26180,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622493355867508736},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738683136001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:49:10] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867508736,"description":"Unknown IO ID 45"} 
[2026-07-15 22:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738683136001,"power":26180,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867508736}} 
[2026-07-15 22:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":135221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:49:10] local.INFO: GPS data processed {"connection_id":135221,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:49:10] local.INFO: Acknowledgment sent {"connection_id":135221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:49:14] local.INFO: TCP Data received {"connection_id":135220,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135220,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:49:14] local.INFO: Processing buffer {"connection_id":135220,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:49:14] local.INFO: IMEI packet received {"connection_id":135220,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 22:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":135220,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:49:33] local.INFO: TCP Data received {"connection_id":133868,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133868,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:49:33] local.INFO: Processing buffer {"connection_id":133868,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:49:33] local.INFO: IMEI packet received {"connection_id":133868,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 22:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":133868,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:49:42] local.INFO: TCP Data received {"connection_id":135221,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66c79258012d77aac005f2a5e0000000f72a..."} 
[2026-07-15 22:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66c79258012d77aac005f2a5e0000000f72a..."} 
[2026-07-15 22:49:42] local.INFO: Processing buffer {"connection_id":135221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66c79258012d77aac005f2a5e0000000f72a..."} 
[2026-07-15 22:49:42] local.INFO: Packet analysis {"connection_id":135221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66c7"} 
[2026-07-15 22:49:42] local.INFO: Extracted packet for processing {"connection_id":135221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66c7"} 
[2026-07-15 22:49:42] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":0,"angle":247,"satellites":42,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 22: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-07-15 22:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738683136001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 22:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867508736,"note":"Value kept but may cause issues"} 
[2026-07-15 22:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784135783000,"timestamp_ms":1784135783000,"timestamp_seconds":1784135783,"priority":1,"record_length":96,"hex_timestamp":"0000019f66c79258"} 
[2026-07-15 22:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-15 22:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22: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-07-15 22:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":135221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":135221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":135221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738683136001,"66":26180,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622493355867508736},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738683136001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:49:42] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867508736,"description":"Unknown IO ID 45"} 
[2026-07-15 22:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738683136001,"power":26180,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867508736}} 
[2026-07-15 22:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":135221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:49:42] local.INFO: GPS data processed {"connection_id":135221,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:49:42] local.INFO: Acknowledgment sent {"connection_id":135221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:50:00] local.INFO: TCP Data received {"connection_id":132997,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:50:00] local.INFO: Processing buffer {"connection_id":132997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:50:00] local.INFO: IMEI packet received {"connection_id":132997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":132997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:50:05] local.INFO: TCP Data received {"connection_id":132997,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:50:05] local.INFO: Processing buffer {"connection_id":132997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:50:05] local.INFO: IMEI packet received {"connection_id":132997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":132997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:50:06] local.INFO: TCP Data received {"connection_id":132997,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66c79258012d77aac005f2a5e0000000f72a..."} 
[2026-07-15 22:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66c79258012d77aac005f2a5e0000000f72a..."} 
[2026-07-15 22:50:06] local.INFO: Processing buffer {"connection_id":132997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66c79258012d77aac005f2a5e0000000f72a..."} 
[2026-07-15 22:50:06] local.INFO: Packet analysis {"connection_id":132997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66c7"} 
[2026-07-15 22:50:06] local.INFO: Extracted packet for processing {"connection_id":132997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66c7"} 
[2026-07-15 22:50:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":0,"angle":247,"satellites":42,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 22:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738683136001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 22:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867508736,"note":"Value kept but may cause issues"} 
[2026-07-15 22:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784135783000,"timestamp_ms":1784135783000,"timestamp_seconds":1784135783,"priority":1,"record_length":96,"hex_timestamp":"0000019f66c79258"} 
[2026-07-15 22:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-15 22:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738683136001,"66":26180,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622493355867508736},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738683136001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:50:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867508736,"description":"Unknown IO ID 45"} 
[2026-07-15 22:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738683136001,"power":26180,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867508736}} 
[2026-07-15 22:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":132997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:50:06] local.INFO: GPS data processed {"connection_id":132997,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:50:06] local.INFO: Acknowledgment sent {"connection_id":132997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:50:08] local.INFO: TCP Data received {"connection_id":135222,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135222,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:50:08] local.INFO: Processing buffer {"connection_id":135222,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:50:08] local.INFO: IMEI packet received {"connection_id":135222,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 22:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":135222,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:50:44] local.INFO: TCP Data received {"connection_id":132997,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66c79258012d77aac005f2a5e0000000f72a..."} 
[2026-07-15 22:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66c79258012d77aac005f2a5e0000000f72a..."} 
[2026-07-15 22:50:44] local.INFO: Processing buffer {"connection_id":132997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66c79258012d77aac005f2a5e0000000f72a..."} 
[2026-07-15 22:50:44] local.INFO: Packet analysis {"connection_id":132997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66c7"} 
[2026-07-15 22:50:44] local.INFO: Extracted packet for processing {"connection_id":132997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66c7"} 
[2026-07-15 22:50:44] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":0,"angle":247,"satellites":42,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 22:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:50:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738683136001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 22:50:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867508736,"note":"Value kept but may cause issues"} 
[2026-07-15 22:50:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784135783000,"timestamp_ms":1784135783000,"timestamp_seconds":1784135783,"priority":1,"record_length":96,"hex_timestamp":"0000019f66c79258"} 
[2026-07-15 22:50:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:50:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-15 22:50:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:50:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:50:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":132997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":132997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":132997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:50:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738683136001,"66":26180,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622493355867508736},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738683136001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:50:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:50:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867508736,"description":"Unknown IO ID 45"} 
[2026-07-15 22:50:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738683136001,"power":26180,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867508736}} 
[2026-07-15 22:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":132997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:50:44] local.INFO: GPS data processed {"connection_id":132997,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:50:44] local.INFO: Acknowledgment sent {"connection_id":132997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:51:00] local.INFO: TCP Data received {"connection_id":132998,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:51:00] local.INFO: Processing buffer {"connection_id":132998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:51:00] local.INFO: IMEI packet received {"connection_id":132998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":132998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:51:05] local.INFO: TCP Data received {"connection_id":132998,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:51:05] local.INFO: Processing buffer {"connection_id":132998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:51:05] local.INFO: IMEI packet received {"connection_id":132998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":132998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:51:11] local.INFO: TCP Data received {"connection_id":132998,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66c79258012d77aac005f2a5e0000000f72a..."} 
[2026-07-15 22:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66c79258012d77aac005f2a5e0000000f72a..."} 
[2026-07-15 22:51:11] local.INFO: Processing buffer {"connection_id":132998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66c79258012d77aac005f2a5e0000000f72a..."} 
[2026-07-15 22:51:11] local.INFO: Packet analysis {"connection_id":132998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66c7"} 
[2026-07-15 22:51:11] local.INFO: Extracted packet for processing {"connection_id":132998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66c7"} 
[2026-07-15 22:51:11] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":0,"angle":247,"satellites":42,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 22:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738683136001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 22:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867508736,"note":"Value kept but may cause issues"} 
[2026-07-15 22:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784135783000,"timestamp_ms":1784135783000,"timestamp_seconds":1784135783,"priority":1,"record_length":96,"hex_timestamp":"0000019f66c79258"} 
[2026-07-15 22:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-15 22:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738683136001,"66":26180,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622493355867508736},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738683136001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:51:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867508736,"description":"Unknown IO ID 45"} 
[2026-07-15 22:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738683136001,"power":26180,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867508736}} 
[2026-07-15 22:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":132998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:51:11] local.INFO: GPS data processed {"connection_id":132998,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:51:11] local.INFO: Acknowledgment sent {"connection_id":132998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:51:43] local.INFO: TCP Data received {"connection_id":132998,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66c79258012d77aac005f2a5e0000000f72a..."} 
[2026-07-15 22:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66c79258012d77aac005f2a5e0000000f72a..."} 
[2026-07-15 22:51:43] local.INFO: Processing buffer {"connection_id":132998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66c79258012d77aac005f2a5e0000000f72a..."} 
[2026-07-15 22:51:43] local.INFO: Packet analysis {"connection_id":132998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66c7"} 
[2026-07-15 22:51:43] local.INFO: Extracted packet for processing {"connection_id":132998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66c7"} 
[2026-07-15 22:51:43] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":0,"angle":247,"satellites":42,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 22: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-07-15 22:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738683136001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 22:51:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867508736,"note":"Value kept but may cause issues"} 
[2026-07-15 22:51:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784135783000,"timestamp_ms":1784135783000,"timestamp_seconds":1784135783,"priority":1,"record_length":96,"hex_timestamp":"0000019f66c79258"} 
[2026-07-15 22:51:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:51:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-15 22:51:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22: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-07-15 22:51:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":132998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":132998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":132998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:51:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738683136001,"66":26180,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622493355867508736},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738683136001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:51:43] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:51:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867508736,"description":"Unknown IO ID 45"} 
[2026-07-15 22:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738683136001,"power":26180,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867508736}} 
[2026-07-15 22:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":132998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:51:43] local.INFO: GPS data processed {"connection_id":132998,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:51:43] local.INFO: Acknowledgment sent {"connection_id":132998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:52:00] local.INFO: TCP Data received {"connection_id":135223,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:52:00] local.INFO: Processing buffer {"connection_id":135223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:52:00] local.INFO: IMEI packet received {"connection_id":135223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":135223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:52:02] local.INFO: TCP Data received {"connection_id":135223,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:52:02] local.INFO: Processing buffer {"connection_id":135223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:52:02] local.INFO: IMEI packet received {"connection_id":135223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":135223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:52:06] local.INFO: TCP Data received {"connection_id":135223,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:52:06] local.INFO: Processing buffer {"connection_id":135223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:52:06] local.INFO: IMEI packet received {"connection_id":135223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":135223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:52:06] local.INFO: TCP Data received {"connection_id":135223,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66cc2a20012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 22:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66cc2a20012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 22:52:06] local.INFO: Processing buffer {"connection_id":135223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66cc2a20012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 22:52:06] local.INFO: Packet analysis {"connection_id":135223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66cc"} 
[2026-07-15 22:52:06] local.INFO: Extracted packet for processing {"connection_id":135223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66cc"} 
[2026-07-15 22:52:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":43,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 22:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738760448001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 22:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 22:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784136084000,"timestamp_ms":1784136084000,"timestamp_seconds":1784136084,"priority":1,"record_length":96,"hex_timestamp":"0000019f66cc2a20"} 
[2026-07-15 22:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-15 22:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738760448001,"66":26039,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738760448001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:52:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 22:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738760448001,"power":26039,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 22:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":135223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:52:06] local.INFO: GPS data processed {"connection_id":135223,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:52:06] local.INFO: Acknowledgment sent {"connection_id":135223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:52:38] local.INFO: TCP Data received {"connection_id":135223,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66cc2a20012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 22:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66cc2a20012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 22:52:38] local.INFO: Processing buffer {"connection_id":135223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66cc2a20012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 22:52:38] local.INFO: Packet analysis {"connection_id":135223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66cc"} 
[2026-07-15 22:52:38] local.INFO: Extracted packet for processing {"connection_id":135223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66cc"} 
[2026-07-15 22:52:38] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":43,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 22:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738760448001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 22:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 22:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784136084000,"timestamp_ms":1784136084000,"timestamp_seconds":1784136084,"priority":1,"record_length":96,"hex_timestamp":"0000019f66cc2a20"} 
[2026-07-15 22:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-15 22:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":135223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":135223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":135223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738760448001,"66":26039,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738760448001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:52:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 22:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738760448001,"power":26039,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 22:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":135223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:52:38] local.INFO: GPS data processed {"connection_id":135223,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:52:38] local.INFO: Acknowledgment sent {"connection_id":135223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:53:00] local.INFO: TCP Data received {"connection_id":132818,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:53:00] local.INFO: Processing buffer {"connection_id":132818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:53:00] local.INFO: IMEI packet received {"connection_id":132818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":132818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:53:05] local.INFO: TCP Data received {"connection_id":132818,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:53:05] local.INFO: Processing buffer {"connection_id":132818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:53:05] local.INFO: IMEI packet received {"connection_id":132818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":132818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:53:06] local.INFO: TCP Data received {"connection_id":132818,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66cc2a20012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 22:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66cc2a20012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 22:53:06] local.INFO: Processing buffer {"connection_id":132818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66cc2a20012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 22:53:06] local.INFO: Packet analysis {"connection_id":132818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66cc"} 
[2026-07-15 22:53:06] local.INFO: Extracted packet for processing {"connection_id":132818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66cc"} 
[2026-07-15 22:53:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":43,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 22: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-07-15 22:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738760448001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 22:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 22:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784136084000,"timestamp_ms":1784136084000,"timestamp_seconds":1784136084,"priority":1,"record_length":96,"hex_timestamp":"0000019f66cc2a20"} 
[2026-07-15 22:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-15 22:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22: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-07-15 22:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738760448001,"66":26039,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738760448001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:53:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 22:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738760448001,"power":26039,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 22:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":132818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:53:06] local.INFO: GPS data processed {"connection_id":132818,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:53:06] local.INFO: Acknowledgment sent {"connection_id":132818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:53:38] local.INFO: TCP Data received {"connection_id":132818,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66cc2a20012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 22:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66cc2a20012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 22:53:38] local.INFO: Processing buffer {"connection_id":132818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66cc2a20012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 22:53:38] local.INFO: Packet analysis {"connection_id":132818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66cc"} 
[2026-07-15 22:53:38] local.INFO: Extracted packet for processing {"connection_id":132818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66cc"} 
[2026-07-15 22:53:38] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":43,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 22: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-07-15 22:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738760448001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 22:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 22:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784136084000,"timestamp_ms":1784136084000,"timestamp_seconds":1784136084,"priority":1,"record_length":96,"hex_timestamp":"0000019f66cc2a20"} 
[2026-07-15 22:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-15 22:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22: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-07-15 22:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738760448001,"66":26039,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738760448001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:53:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 22:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738760448001,"power":26039,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 22:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":132818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:53:38] local.INFO: GPS data processed {"connection_id":132818,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:53:38] local.INFO: Acknowledgment sent {"connection_id":132818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:54:00] local.INFO: TCP Data received {"connection_id":132999,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:54:00] local.INFO: Processing buffer {"connection_id":132999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:54:00] local.INFO: IMEI packet received {"connection_id":132999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":132999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:54:05] local.INFO: TCP Data received {"connection_id":132999,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:54:05] local.INFO: Processing buffer {"connection_id":132999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:54:05] local.INFO: IMEI packet received {"connection_id":132999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":132999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:54:06] local.INFO: TCP Data received {"connection_id":132999,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66cc2a20012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 22:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66cc2a20012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 22:54:06] local.INFO: Processing buffer {"connection_id":132999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66cc2a20012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 22:54:06] local.INFO: Packet analysis {"connection_id":132999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66cc"} 
[2026-07-15 22:54:06] local.INFO: Extracted packet for processing {"connection_id":132999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66cc"} 
[2026-07-15 22:54:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":43,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 22:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738760448001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 22:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 22:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784136084000,"timestamp_ms":1784136084000,"timestamp_seconds":1784136084,"priority":1,"record_length":96,"hex_timestamp":"0000019f66cc2a20"} 
[2026-07-15 22:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-15 22:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738760448001,"66":26039,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738760448001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:54:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 22:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738760448001,"power":26039,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 22:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":132999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:54:06] local.INFO: GPS data processed {"connection_id":132999,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:54:06] local.INFO: Acknowledgment sent {"connection_id":132999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:54:38] local.INFO: TCP Data received {"connection_id":132999,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66cc2a20012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 22:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66cc2a20012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 22:54:38] local.INFO: Processing buffer {"connection_id":132999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66cc2a20012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 22:54:38] local.INFO: Packet analysis {"connection_id":132999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66cc"} 
[2026-07-15 22:54:38] local.INFO: Extracted packet for processing {"connection_id":132999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66cc"} 
[2026-07-15 22:54:38] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":43,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 22: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-07-15 22:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738760448001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 22:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 22:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784136084000,"timestamp_ms":1784136084000,"timestamp_seconds":1784136084,"priority":1,"record_length":96,"hex_timestamp":"0000019f66cc2a20"} 
[2026-07-15 22:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-15 22:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22: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-07-15 22:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738760448001,"66":26039,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738760448001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:54:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 22:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738760448001,"power":26039,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 22:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":132999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:54:38] local.INFO: GPS data processed {"connection_id":132999,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:54:38] local.INFO: Acknowledgment sent {"connection_id":132999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:55:00] local.INFO: TCP Data received {"connection_id":132819,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:55:00] local.INFO: Processing buffer {"connection_id":132819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:55:00] local.INFO: IMEI packet received {"connection_id":132819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":132819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:55:05] local.INFO: TCP Data received {"connection_id":132819,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:55:05] local.INFO: Processing buffer {"connection_id":132819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:55:05] local.INFO: IMEI packet received {"connection_id":132819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":132819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:55:06] local.INFO: TCP Data received {"connection_id":132819,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66cc2a20012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 22:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66cc2a20012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 22:55:06] local.INFO: Processing buffer {"connection_id":132819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66cc2a20012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 22:55:06] local.INFO: Packet analysis {"connection_id":132819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66cc"} 
[2026-07-15 22:55:06] local.INFO: Extracted packet for processing {"connection_id":132819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66cc"} 
[2026-07-15 22:55:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":43,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 22:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738760448001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 22:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 22:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784136084000,"timestamp_ms":1784136084000,"timestamp_seconds":1784136084,"priority":1,"record_length":96,"hex_timestamp":"0000019f66cc2a20"} 
[2026-07-15 22:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-15 22:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738760448001,"66":26039,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738760448001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:55:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 22:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738760448001,"power":26039,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 22:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":132819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:55:06] local.INFO: GPS data processed {"connection_id":132819,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:55:06] local.INFO: Acknowledgment sent {"connection_id":132819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:55:33] local.INFO: TCP Data received {"connection_id":135226,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135226,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:55:33] local.INFO: Processing buffer {"connection_id":135226,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 22:55:33] local.INFO: IMEI packet received {"connection_id":135226,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 22:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":135226,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:55:38] local.INFO: TCP Data received {"connection_id":132819,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66cc2a20012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 22:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66cc2a20012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 22:55:38] local.INFO: Processing buffer {"connection_id":132819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66cc2a20012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 22:55:38] local.INFO: Packet analysis {"connection_id":132819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66cc"} 
[2026-07-15 22:55:38] local.INFO: Extracted packet for processing {"connection_id":132819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66cc"} 
[2026-07-15 22:55:38] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":43,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 22: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-07-15 22:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738760448001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 22:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 22:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784136084000,"timestamp_ms":1784136084000,"timestamp_seconds":1784136084,"priority":1,"record_length":96,"hex_timestamp":"0000019f66cc2a20"} 
[2026-07-15 22:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-15 22:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22: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-07-15 22:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738760448001,"66":26039,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738760448001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:55:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 22:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738760448001,"power":26039,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 22:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":132819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:55:38] local.INFO: GPS data processed {"connection_id":132819,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:55:38] local.INFO: Acknowledgment sent {"connection_id":132819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:56:00] local.INFO: TCP Data received {"connection_id":135227,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:56:00] local.INFO: Processing buffer {"connection_id":135227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:56:00] local.INFO: IMEI packet received {"connection_id":135227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":135227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:56:05] local.INFO: TCP Data received {"connection_id":135227,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:56:05] local.INFO: Processing buffer {"connection_id":135227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:56:05] local.INFO: IMEI packet received {"connection_id":135227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":135227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:56:06] local.INFO: TCP Data received {"connection_id":135227,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66cc2a20012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 22:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66cc2a20012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 22:56:06] local.INFO: Processing buffer {"connection_id":135227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66cc2a20012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 22:56:06] local.INFO: Packet analysis {"connection_id":135227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66cc"} 
[2026-07-15 22:56:06] local.INFO: Extracted packet for processing {"connection_id":135227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66cc"} 
[2026-07-15 22:56:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":43,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 22:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738760448001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 22:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 22:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784136084000,"timestamp_ms":1784136084000,"timestamp_seconds":1784136084,"priority":1,"record_length":96,"hex_timestamp":"0000019f66cc2a20"} 
[2026-07-15 22:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-15 22:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738760448001,"66":26039,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738760448001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:56:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 22:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738760448001,"power":26039,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 22:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":135227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:56:06] local.INFO: GPS data processed {"connection_id":135227,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:56:06] local.INFO: Acknowledgment sent {"connection_id":135227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:56:37] local.INFO: TCP Data received {"connection_id":135227,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66cc2a20012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 22:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66cc2a20012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 22:56:37] local.INFO: Processing buffer {"connection_id":135227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66cc2a20012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 22:56:37] local.INFO: Packet analysis {"connection_id":135227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66cc"} 
[2026-07-15 22:56:37] local.INFO: Extracted packet for processing {"connection_id":135227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66cc"} 
[2026-07-15 22:56:37] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":43,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 22: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-07-15 22:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738760448001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 22:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 22:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784136084000,"timestamp_ms":1784136084000,"timestamp_seconds":1784136084,"priority":1,"record_length":96,"hex_timestamp":"0000019f66cc2a20"} 
[2026-07-15 22:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-15 22:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":135227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":135227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":135227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738760448001,"66":26039,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738760448001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:56:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 22:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738760448001,"power":26039,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 22:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":135227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:56:37] local.INFO: GPS data processed {"connection_id":135227,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:56:37] local.INFO: Acknowledgment sent {"connection_id":135227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:57:03] local.INFO: TCP Data received {"connection_id":135228,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:57:03] local.INFO: Processing buffer {"connection_id":135228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:57:03] local.INFO: IMEI packet received {"connection_id":135228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":135228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:57:04] local.INFO: TCP Data received {"connection_id":135228,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:57:04] local.INFO: Processing buffer {"connection_id":135228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:57:04] local.INFO: IMEI packet received {"connection_id":135228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":135228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:57:10] local.INFO: TCP Data received {"connection_id":135228,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:57:10] local.INFO: Processing buffer {"connection_id":135228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:57:10] local.INFO: IMEI packet received {"connection_id":135228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":135228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:57:17] local.INFO: TCP Data received {"connection_id":135228,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66d0c1e8012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 22:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66d0c1e8012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 22:57:17] local.INFO: Processing buffer {"connection_id":135228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66d0c1e8012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 22:57:17] local.INFO: Packet analysis {"connection_id":135228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66d0"} 
[2026-07-15 22:57:17] local.INFO: Extracted packet for processing {"connection_id":135228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66d0"} 
[2026-07-15 22:57:17] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":45,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 22: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-07-15 22:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738837504001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 22:57:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 22:57:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784136385000,"timestamp_ms":1784136385000,"timestamp_seconds":1784136385,"priority":1,"record_length":96,"hex_timestamp":"0000019f66d0c1e8"} 
[2026-07-15 22:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:57:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-15 22:57:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22: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-07-15 22:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":135228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":135228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":135228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:57:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738837504001,"66":25897,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738837504001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:57:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:57:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 22:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738837504001,"power":25897,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 22:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":135228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:57:17] local.INFO: GPS data processed {"connection_id":135228,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:57:17] local.INFO: Acknowledgment sent {"connection_id":135228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:57:59] local.INFO: TCP Data received {"connection_id":133872,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:57:59] local.INFO: Processing buffer {"connection_id":133872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:57:59] local.INFO: IMEI packet received {"connection_id":133872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":133872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:58:05] local.INFO: TCP Data received {"connection_id":133872,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:58:05] local.INFO: Processing buffer {"connection_id":133872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:58:05] local.INFO: IMEI packet received {"connection_id":133872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":133872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:58:06] local.INFO: TCP Data received {"connection_id":133872,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66d0c1e8012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 22:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66d0c1e8012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 22:58:06] local.INFO: Processing buffer {"connection_id":133872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66d0c1e8012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 22:58:06] local.INFO: Packet analysis {"connection_id":133872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66d0"} 
[2026-07-15 22:58:06] local.INFO: Extracted packet for processing {"connection_id":133872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66d0"} 
[2026-07-15 22:58:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":45,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 22: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-07-15 22:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738837504001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 22:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 22:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784136385000,"timestamp_ms":1784136385000,"timestamp_seconds":1784136385,"priority":1,"record_length":96,"hex_timestamp":"0000019f66d0c1e8"} 
[2026-07-15 22:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-15 22:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22: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-07-15 22:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738837504001,"66":25897,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738837504001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:58:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 22:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738837504001,"power":25897,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 22:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":133872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:58:06] local.INFO: GPS data processed {"connection_id":133872,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:58:06] local.INFO: Acknowledgment sent {"connection_id":133872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:58:37] local.INFO: TCP Data received {"connection_id":133872,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66d0c1e8012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 22:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66d0c1e8012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 22:58:37] local.INFO: Processing buffer {"connection_id":133872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66d0c1e8012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 22:58:37] local.INFO: Packet analysis {"connection_id":133872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66d0"} 
[2026-07-15 22:58:37] local.INFO: Extracted packet for processing {"connection_id":133872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66d0"} 
[2026-07-15 22:58:37] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":45,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 22:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738837504001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 22:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 22:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784136385000,"timestamp_ms":1784136385000,"timestamp_seconds":1784136385,"priority":1,"record_length":96,"hex_timestamp":"0000019f66d0c1e8"} 
[2026-07-15 22:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-15 22:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738837504001,"66":25897,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738837504001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:58:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 22:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738837504001,"power":25897,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 22:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":133872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:58:37] local.INFO: GPS data processed {"connection_id":133872,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:58:37] local.INFO: Acknowledgment sent {"connection_id":133872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:59:00] local.INFO: TCP Data received {"connection_id":133873,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:59:00] local.INFO: Processing buffer {"connection_id":133873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:59:00] local.INFO: IMEI packet received {"connection_id":133873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 22:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":133873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 22:59:05] local.INFO: TCP Data received {"connection_id":133873,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:59:05] local.INFO: Processing buffer {"connection_id":133873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 22:59:05] local.INFO: IMEI packet received {"connection_id":133873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 22:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":133873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 22:59:06] local.INFO: TCP Data received {"connection_id":133873,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66d0c1e8012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 22:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66d0c1e8012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 22:59:06] local.INFO: Processing buffer {"connection_id":133873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66d0c1e8012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 22:59:06] local.INFO: Packet analysis {"connection_id":133873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66d0"} 
[2026-07-15 22:59:06] local.INFO: Extracted packet for processing {"connection_id":133873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66d0"} 
[2026-07-15 22:59:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":45,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 22:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738837504001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 22:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 22:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784136385000,"timestamp_ms":1784136385000,"timestamp_seconds":1784136385,"priority":1,"record_length":96,"hex_timestamp":"0000019f66d0c1e8"} 
[2026-07-15 22:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-15 22:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738837504001,"66":25897,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738837504001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:59:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 22:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738837504001,"power":25897,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 22:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":133873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:59:06] local.INFO: GPS data processed {"connection_id":133873,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:59:06] local.INFO: Acknowledgment sent {"connection_id":133873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 22:59:37] local.INFO: TCP Data received {"connection_id":133873,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66d0c1e8012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 22:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66d0c1e8012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 22:59:37] local.INFO: Processing buffer {"connection_id":133873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66d0c1e8012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 22:59:37] local.INFO: Packet analysis {"connection_id":133873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66d0"} 
[2026-07-15 22:59:37] local.INFO: Extracted packet for processing {"connection_id":133873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66d0"} 
[2026-07-15 22:59:37] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":45,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 22:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 22:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738837504001,"note":"Value kept but may cause issues"} 
[2026-07-15 22:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 22:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 22:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 22:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784136385000,"timestamp_ms":1784136385000,"timestamp_seconds":1784136385,"priority":1,"record_length":96,"hex_timestamp":"0000019f66d0c1e8"} 
[2026-07-15 22:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 22:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 22:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-15 22:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 22:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 22:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 22:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 22:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 22:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 22:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 22:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 22:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 22:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738837504001,"66":25897,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 22:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 22:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 22:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738837504001,"description":"Unknown IO ID 0"} 
[2026-07-15 22:59:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 22:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 22:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 22:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738837504001,"power":25897,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 22:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":133873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 22:59:37] local.INFO: GPS data processed {"connection_id":133873,"processed":1,"errors":0,"total":1} 
[2026-07-15 22:59:37] local.INFO: Acknowledgment sent {"connection_id":133873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:00:00] local.INFO: TCP Data received {"connection_id":132820,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:00:00] local.INFO: Processing buffer {"connection_id":132820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:00:00] local.INFO: IMEI packet received {"connection_id":132820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":132820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:00:05] local.INFO: TCP Data received {"connection_id":132820,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:00:05] local.INFO: Processing buffer {"connection_id":132820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:00:05] local.INFO: IMEI packet received {"connection_id":132820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":132820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:00:06] local.INFO: TCP Data received {"connection_id":132820,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66d0c1e8012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 23:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66d0c1e8012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 23:00:06] local.INFO: Processing buffer {"connection_id":132820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66d0c1e8012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 23:00:06] local.INFO: Packet analysis {"connection_id":132820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66d0"} 
[2026-07-15 23:00:06] local.INFO: Extracted packet for processing {"connection_id":132820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66d0"} 
[2026-07-15 23:00:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":45,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738837504001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784136385000,"timestamp_ms":1784136385000,"timestamp_seconds":1784136385,"priority":1,"record_length":96,"hex_timestamp":"0000019f66d0c1e8"} 
[2026-07-15 23:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-15 23:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738837504001,"66":25897,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738837504001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:00:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738837504001,"power":25897,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":132820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:00:06] local.INFO: GPS data processed {"connection_id":132820,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:00:06] local.INFO: Acknowledgment sent {"connection_id":132820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:00:37] local.INFO: TCP Data received {"connection_id":132820,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66d0c1e8012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 23:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66d0c1e8012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 23:00:37] local.INFO: Processing buffer {"connection_id":132820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66d0c1e8012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 23:00:37] local.INFO: Packet analysis {"connection_id":132820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66d0"} 
[2026-07-15 23:00:37] local.INFO: Extracted packet for processing {"connection_id":132820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66d0"} 
[2026-07-15 23:00:37] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":45,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738837504001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784136385000,"timestamp_ms":1784136385000,"timestamp_seconds":1784136385,"priority":1,"record_length":96,"hex_timestamp":"0000019f66d0c1e8"} 
[2026-07-15 23:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-15 23:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738837504001,"66":25897,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738837504001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:00:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738837504001,"power":25897,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":132820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:00:37] local.INFO: GPS data processed {"connection_id":132820,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:00:37] local.INFO: Acknowledgment sent {"connection_id":132820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:01:00] local.INFO: TCP Data received {"connection_id":133874,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:01:00] local.INFO: Processing buffer {"connection_id":133874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:01:00] local.INFO: IMEI packet received {"connection_id":133874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":133874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:01:03] local.INFO: TCP Data received {"connection_id":135229,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135229,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:01:03] local.INFO: Processing buffer {"connection_id":135229,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:01:03] local.INFO: IMEI packet received {"connection_id":135229,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 23:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":135229,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:01:05] local.INFO: TCP Data received {"connection_id":133874,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:01:05] local.INFO: Processing buffer {"connection_id":133874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:01:05] local.INFO: IMEI packet received {"connection_id":133874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":133874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:01:06] local.INFO: TCP Data received {"connection_id":133874,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66d0c1e8012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 23:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66d0c1e8012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 23:01:06] local.INFO: Processing buffer {"connection_id":133874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66d0c1e8012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 23:01:06] local.INFO: Packet analysis {"connection_id":133874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66d0"} 
[2026-07-15 23:01:06] local.INFO: Extracted packet for processing {"connection_id":133874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66d0"} 
[2026-07-15 23:01:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":45,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738837504001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784136385000,"timestamp_ms":1784136385000,"timestamp_seconds":1784136385,"priority":1,"record_length":96,"hex_timestamp":"0000019f66d0c1e8"} 
[2026-07-15 23:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-15 23:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738837504001,"66":25897,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738837504001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:01:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738837504001,"power":25897,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":133874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:01:06] local.INFO: GPS data processed {"connection_id":133874,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:01:06] local.INFO: Acknowledgment sent {"connection_id":133874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:01:33] local.INFO: TCP Data received {"connection_id":135230,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135230,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:01:33] local.INFO: Processing buffer {"connection_id":135230,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:01:33] local.INFO: IMEI packet received {"connection_id":135230,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 23:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":135230,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:01:38] local.INFO: TCP Data received {"connection_id":133874,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66d0c1e8012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 23:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66d0c1e8012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 23:01:38] local.INFO: Processing buffer {"connection_id":133874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66d0c1e8012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 23:01:38] local.INFO: Packet analysis {"connection_id":133874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66d0"} 
[2026-07-15 23:01:38] local.INFO: Extracted packet for processing {"connection_id":133874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66d0"} 
[2026-07-15 23:01:38] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":45,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23: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-07-15 23:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738837504001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784136385000,"timestamp_ms":1784136385000,"timestamp_seconds":1784136385,"priority":1,"record_length":96,"hex_timestamp":"0000019f66d0c1e8"} 
[2026-07-15 23:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-15 23:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23: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-07-15 23:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738837504001,"66":25897,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738837504001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:01:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738837504001,"power":25897,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":133874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:01:38] local.INFO: GPS data processed {"connection_id":133874,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:01:38] local.INFO: Acknowledgment sent {"connection_id":133874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:01:59] local.INFO: TCP Data received {"connection_id":133003,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:01:59] local.INFO: Processing buffer {"connection_id":133003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:01:59] local.INFO: IMEI packet received {"connection_id":133003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":133003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:02:04] local.INFO: TCP Data received {"connection_id":133003,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:02:04] local.INFO: Processing buffer {"connection_id":133003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:02:04] local.INFO: IMEI packet received {"connection_id":133003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":133003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:02:05] local.INFO: TCP Data received {"connection_id":133003,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66d559b0012d77aac005f2a5e0001800f727..."} 
[2026-07-15 23:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66d559b0012d77aac005f2a5e0001800f727..."} 
[2026-07-15 23:02:05] local.INFO: Processing buffer {"connection_id":133003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66d559b0012d77aac005f2a5e0001800f727..."} 
[2026-07-15 23:02:05] local.INFO: Packet analysis {"connection_id":133003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66d5"} 
[2026-07-15 23:02:05] local.INFO: Extracted packet for processing {"connection_id":133003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66d5"} 
[2026-07-15 23:02:05] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":39,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738914560001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784136686000,"timestamp_ms":1784136686000,"timestamp_seconds":1784136686,"priority":1,"record_length":96,"hex_timestamp":"0000019f66d559b0"} 
[2026-07-15 23:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-15 23:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":133003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":133003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":133003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738914560001,"66":25908,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738914560001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:02:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738914560001,"power":25908,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":133003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:02:05] local.INFO: GPS data processed {"connection_id":133003,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:02:05] local.INFO: Acknowledgment sent {"connection_id":133003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:02:37] local.INFO: TCP Data received {"connection_id":133003,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66d559b0012d77aac005f2a5e0001800f727..."} 
[2026-07-15 23:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66d559b0012d77aac005f2a5e0001800f727..."} 
[2026-07-15 23:02:37] local.INFO: Processing buffer {"connection_id":133003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66d559b0012d77aac005f2a5e0001800f727..."} 
[2026-07-15 23:02:37] local.INFO: Packet analysis {"connection_id":133003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66d5"} 
[2026-07-15 23:02:37] local.INFO: Extracted packet for processing {"connection_id":133003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66d5"} 
[2026-07-15 23:02:37] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":39,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23: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-07-15 23:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738914560001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784136686000,"timestamp_ms":1784136686000,"timestamp_seconds":1784136686,"priority":1,"record_length":96,"hex_timestamp":"0000019f66d559b0"} 
[2026-07-15 23:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-15 23:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23: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-07-15 23:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738914560001,"66":25908,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738914560001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:02:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738914560001,"power":25908,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":133003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:02:37] local.INFO: GPS data processed {"connection_id":133003,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:02:37] local.INFO: Acknowledgment sent {"connection_id":133003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:03:05] local.INFO: TCP Data received {"connection_id":133875,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:03:05] local.INFO: Processing buffer {"connection_id":133875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:03:05] local.INFO: IMEI packet received {"connection_id":133875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":133875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:03:10] local.INFO: TCP Data received {"connection_id":133875,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:03:10] local.INFO: Processing buffer {"connection_id":133875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:03:10] local.INFO: IMEI packet received {"connection_id":133875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":133875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:03:11] local.INFO: TCP Data received {"connection_id":133875,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66d559b0012d77aac005f2a5e0001800f727..."} 
[2026-07-15 23:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66d559b0012d77aac005f2a5e0001800f727..."} 
[2026-07-15 23:03:11] local.INFO: Processing buffer {"connection_id":133875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66d559b0012d77aac005f2a5e0001800f727..."} 
[2026-07-15 23:03:11] local.INFO: Packet analysis {"connection_id":133875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66d5"} 
[2026-07-15 23:03:11] local.INFO: Extracted packet for processing {"connection_id":133875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66d5"} 
[2026-07-15 23:03:11] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":39,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738914560001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784136686000,"timestamp_ms":1784136686000,"timestamp_seconds":1784136686,"priority":1,"record_length":96,"hex_timestamp":"0000019f66d559b0"} 
[2026-07-15 23:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-15 23:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":133875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":133875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":133875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738914560001,"66":25908,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738914560001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:03:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738914560001,"power":25908,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":133875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:03:11] local.INFO: GPS data processed {"connection_id":133875,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:03:11] local.INFO: Acknowledgment sent {"connection_id":133875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:03:16] local.INFO: TCP Data received {"connection_id":133875,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66d559b0012d77aac005f2a5e0001800f727..."} 
[2026-07-15 23:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66d559b0012d77aac005f2a5e0001800f727..."} 
[2026-07-15 23:03:16] local.INFO: Processing buffer {"connection_id":133875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66d559b0012d77aac005f2a5e0001800f727..."} 
[2026-07-15 23:03:16] local.INFO: Packet analysis {"connection_id":133875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66d5"} 
[2026-07-15 23:03:16] local.INFO: Extracted packet for processing {"connection_id":133875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66d5"} 
[2026-07-15 23:03:16] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":39,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23: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-07-15 23:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738914560001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:03:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784136686000,"timestamp_ms":1784136686000,"timestamp_seconds":1784136686,"priority":1,"record_length":96,"hex_timestamp":"0000019f66d559b0"} 
[2026-07-15 23:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-15 23:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23: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-07-15 23:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":133875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":133875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":133875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738914560001,"66":25908,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738914560001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:03:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738914560001,"power":25908,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":133875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:03:16] local.INFO: GPS data processed {"connection_id":133875,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:03:16] local.INFO: Acknowledgment sent {"connection_id":133875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:04:00] local.INFO: TCP Data received {"connection_id":133004,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:04:00] local.INFO: Processing buffer {"connection_id":133004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:04:00] local.INFO: IMEI packet received {"connection_id":133004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":133004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:04:05] local.INFO: TCP Data received {"connection_id":133004,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:04:05] local.INFO: Processing buffer {"connection_id":133004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:04:05] local.INFO: IMEI packet received {"connection_id":133004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":133004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:04:06] local.INFO: TCP Data received {"connection_id":133004,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66d559b0012d77aac005f2a5e0001800f727..."} 
[2026-07-15 23:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66d559b0012d77aac005f2a5e0001800f727..."} 
[2026-07-15 23:04:06] local.INFO: Processing buffer {"connection_id":133004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66d559b0012d77aac005f2a5e0001800f727..."} 
[2026-07-15 23:04:06] local.INFO: Packet analysis {"connection_id":133004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66d5"} 
[2026-07-15 23:04:06] local.INFO: Extracted packet for processing {"connection_id":133004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66d5"} 
[2026-07-15 23:04:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":39,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738914560001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784136686000,"timestamp_ms":1784136686000,"timestamp_seconds":1784136686,"priority":1,"record_length":96,"hex_timestamp":"0000019f66d559b0"} 
[2026-07-15 23:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-15 23:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738914560001,"66":25908,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738914560001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:04:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738914560001,"power":25908,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":133004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:04:06] local.INFO: GPS data processed {"connection_id":133004,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:04:06] local.INFO: Acknowledgment sent {"connection_id":133004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:04:38] local.INFO: TCP Data received {"connection_id":133004,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66d559b0012d77aac005f2a5e0001800f727..."} 
[2026-07-15 23:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66d559b0012d77aac005f2a5e0001800f727..."} 
[2026-07-15 23:04:38] local.INFO: Processing buffer {"connection_id":133004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66d559b0012d77aac005f2a5e0001800f727..."} 
[2026-07-15 23:04:38] local.INFO: Packet analysis {"connection_id":133004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66d5"} 
[2026-07-15 23:04:38] local.INFO: Extracted packet for processing {"connection_id":133004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66d5"} 
[2026-07-15 23:04:38] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":39,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23: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-07-15 23:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738914560001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784136686000,"timestamp_ms":1784136686000,"timestamp_seconds":1784136686,"priority":1,"record_length":96,"hex_timestamp":"0000019f66d559b0"} 
[2026-07-15 23:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-15 23:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23: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-07-15 23:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738914560001,"66":25908,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738914560001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:04:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738914560001,"power":25908,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":133004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:04:38] local.INFO: GPS data processed {"connection_id":133004,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:04:38] local.INFO: Acknowledgment sent {"connection_id":133004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:04:59] local.INFO: TCP Data received {"connection_id":135233,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:04:59] local.INFO: Processing buffer {"connection_id":135233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:04:59] local.INFO: IMEI packet received {"connection_id":135233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":135233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:05:05] local.INFO: TCP Data received {"connection_id":135233,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:05:05] local.INFO: Processing buffer {"connection_id":135233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:05:05] local.INFO: IMEI packet received {"connection_id":135233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":135233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:05:06] local.INFO: TCP Data received {"connection_id":135233,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66d559b0012d77aac005f2a5e0001800f727..."} 
[2026-07-15 23:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66d559b0012d77aac005f2a5e0001800f727..."} 
[2026-07-15 23:05:06] local.INFO: Processing buffer {"connection_id":135233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66d559b0012d77aac005f2a5e0001800f727..."} 
[2026-07-15 23:05:06] local.INFO: Packet analysis {"connection_id":135233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66d5"} 
[2026-07-15 23:05:06] local.INFO: Extracted packet for processing {"connection_id":135233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66d5"} 
[2026-07-15 23:05:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":39,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738914560001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784136686000,"timestamp_ms":1784136686000,"timestamp_seconds":1784136686,"priority":1,"record_length":96,"hex_timestamp":"0000019f66d559b0"} 
[2026-07-15 23:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-15 23:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738914560001,"66":25908,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738914560001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:05:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738914560001,"power":25908,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":135233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:05:06] local.INFO: GPS data processed {"connection_id":135233,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:05:06] local.INFO: Acknowledgment sent {"connection_id":135233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:05:37] local.INFO: TCP Data received {"connection_id":135233,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66d559b0012d77aac005f2a5e0001800f727..."} 
[2026-07-15 23:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66d559b0012d77aac005f2a5e0001800f727..."} 
[2026-07-15 23:05:37] local.INFO: Processing buffer {"connection_id":135233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66d559b0012d77aac005f2a5e0001800f727..."} 
[2026-07-15 23:05:37] local.INFO: Packet analysis {"connection_id":135233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66d5"} 
[2026-07-15 23:05:37] local.INFO: Extracted packet for processing {"connection_id":135233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66d5"} 
[2026-07-15 23:05:37] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":39,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738914560001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784136686000,"timestamp_ms":1784136686000,"timestamp_seconds":1784136686,"priority":1,"record_length":96,"hex_timestamp":"0000019f66d559b0"} 
[2026-07-15 23:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-15 23:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":135233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":135233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":135233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738914560001,"66":25908,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738914560001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:05:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738914560001,"power":25908,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":135233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:05:37] local.INFO: GPS data processed {"connection_id":135233,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:05:37] local.INFO: Acknowledgment sent {"connection_id":135233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:06:00] local.INFO: TCP Data received {"connection_id":132822,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:06:00] local.INFO: Processing buffer {"connection_id":132822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:06:00] local.INFO: IMEI packet received {"connection_id":132822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":132822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:06:05] local.INFO: TCP Data received {"connection_id":132822,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:06:05] local.INFO: Processing buffer {"connection_id":132822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:06:05] local.INFO: IMEI packet received {"connection_id":132822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":132822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:06:06] local.INFO: TCP Data received {"connection_id":132822,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66d559b0012d77aac005f2a5e0001800f727..."} 
[2026-07-15 23:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66d559b0012d77aac005f2a5e0001800f727..."} 
[2026-07-15 23:06:06] local.INFO: Processing buffer {"connection_id":132822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66d559b0012d77aac005f2a5e0001800f727..."} 
[2026-07-15 23:06:06] local.INFO: Packet analysis {"connection_id":132822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66d5"} 
[2026-07-15 23:06:06] local.INFO: Extracted packet for processing {"connection_id":132822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66d5"} 
[2026-07-15 23:06:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":39,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738914560001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784136686000,"timestamp_ms":1784136686000,"timestamp_seconds":1784136686,"priority":1,"record_length":96,"hex_timestamp":"0000019f66d559b0"} 
[2026-07-15 23:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-15 23:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738914560001,"66":25908,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738914560001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:06:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738914560001,"power":25908,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":132822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:06:06] local.INFO: GPS data processed {"connection_id":132822,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:06:06] local.INFO: Acknowledgment sent {"connection_id":132822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:06:38] local.INFO: TCP Data received {"connection_id":132822,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66d559b0012d77aac005f2a5e0001800f727..."} 
[2026-07-15 23:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66d559b0012d77aac005f2a5e0001800f727..."} 
[2026-07-15 23:06:38] local.INFO: Processing buffer {"connection_id":132822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66d559b0012d77aac005f2a5e0001800f727..."} 
[2026-07-15 23:06:38] local.INFO: Packet analysis {"connection_id":132822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66d5"} 
[2026-07-15 23:06:38] local.INFO: Extracted packet for processing {"connection_id":132822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66d5"} 
[2026-07-15 23:06:38] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":39,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23: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-07-15 23:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738914560001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784136686000,"timestamp_ms":1784136686000,"timestamp_seconds":1784136686,"priority":1,"record_length":96,"hex_timestamp":"0000019f66d559b0"} 
[2026-07-15 23:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-15 23:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23: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-07-15 23:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738914560001,"66":25908,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738914560001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:06:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738914560001,"power":25908,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":132822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:06:38] local.INFO: GPS data processed {"connection_id":132822,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:06:38] local.INFO: Acknowledgment sent {"connection_id":132822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:06:59] local.INFO: TCP Data received {"connection_id":133877,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133877,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:06:59] local.INFO: Processing buffer {"connection_id":133877,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:06:59] local.INFO: IMEI packet received {"connection_id":133877,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 23:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":133877,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:07:05] local.INFO: TCP Data received {"connection_id":135234,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:07:05] local.INFO: Processing buffer {"connection_id":135234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:07:05] local.INFO: IMEI packet received {"connection_id":135234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":135234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:07:06] local.INFO: TCP Data received {"connection_id":135234,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:07:06] local.INFO: Processing buffer {"connection_id":135234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:07:06] local.INFO: IMEI packet received {"connection_id":135234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":135234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:07:10] local.INFO: TCP Data received {"connection_id":135234,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:07:10] local.INFO: Processing buffer {"connection_id":135234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:07:10] local.INFO: IMEI packet received {"connection_id":135234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":135234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:07:11] local.INFO: TCP Data received {"connection_id":135234,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66d9f178012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 23:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66d9f178012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 23:07:11] local.INFO: Processing buffer {"connection_id":135234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66d9f178012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 23:07:11] local.INFO: Packet analysis {"connection_id":135234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66d9"} 
[2026-07-15 23:07:11] local.INFO: Extracted packet for processing {"connection_id":135234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66d9"} 
[2026-07-15 23:07:11] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":43,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:07: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-07-15 23:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738991616001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784136987000,"timestamp_ms":1784136987000,"timestamp_seconds":1784136987,"priority":1,"record_length":96,"hex_timestamp":"0000019f66d9f178"} 
[2026-07-15 23:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:07: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-15 23:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:07: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-07-15 23:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":135234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":135234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":135234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738991616001,"66":25875,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738991616001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:07:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738991616001,"power":25875,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":135234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:07:11] local.INFO: GPS data processed {"connection_id":135234,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:07:11] local.INFO: Acknowledgment sent {"connection_id":135234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:07:16] local.INFO: TCP Data received {"connection_id":135234,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66d9f178012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 23:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66d9f178012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 23:07:16] local.INFO: Processing buffer {"connection_id":135234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66d9f178012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 23:07:16] local.INFO: Packet analysis {"connection_id":135234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66d9"} 
[2026-07-15 23:07:16] local.INFO: Extracted packet for processing {"connection_id":135234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66d9"} 
[2026-07-15 23:07:16] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":43,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738991616001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:07:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784136987000,"timestamp_ms":1784136987000,"timestamp_seconds":1784136987,"priority":1,"record_length":96,"hex_timestamp":"0000019f66d9f178"} 
[2026-07-15 23:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:07:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-15 23:07:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:07:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":135234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":135234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":135234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:07:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738991616001,"66":25875,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738991616001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:07:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738991616001,"power":25875,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":135234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:07:16] local.INFO: GPS data processed {"connection_id":135234,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:07:16] local.INFO: Acknowledgment sent {"connection_id":135234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:07:34] local.INFO: TCP Data received {"connection_id":133005,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133005,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:07:34] local.INFO: Processing buffer {"connection_id":133005,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:07:34] local.INFO: IMEI packet received {"connection_id":133005,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 23:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":133005,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:08:00] local.INFO: TCP Data received {"connection_id":132823,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:08:00] local.INFO: Processing buffer {"connection_id":132823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:08:00] local.INFO: IMEI packet received {"connection_id":132823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":132823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:08:05] local.INFO: TCP Data received {"connection_id":132823,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:08:05] local.INFO: Processing buffer {"connection_id":132823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:08:05] local.INFO: IMEI packet received {"connection_id":132823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":132823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:08:06] local.INFO: TCP Data received {"connection_id":132823,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66d9f178012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 23:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66d9f178012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 23:08:06] local.INFO: Processing buffer {"connection_id":132823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66d9f178012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 23:08:06] local.INFO: Packet analysis {"connection_id":132823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66d9"} 
[2026-07-15 23:08:06] local.INFO: Extracted packet for processing {"connection_id":132823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66d9"} 
[2026-07-15 23:08:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":43,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23: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-07-15 23:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738991616001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784136987000,"timestamp_ms":1784136987000,"timestamp_seconds":1784136987,"priority":1,"record_length":96,"hex_timestamp":"0000019f66d9f178"} 
[2026-07-15 23:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-15 23:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738991616001,"66":25875,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738991616001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:08:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738991616001,"power":25875,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":132823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:08:06] local.INFO: GPS data processed {"connection_id":132823,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:08:06] local.INFO: Acknowledgment sent {"connection_id":132823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:08:37] local.INFO: TCP Data received {"connection_id":132823,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66d9f178012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 23:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66d9f178012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 23:08:37] local.INFO: Processing buffer {"connection_id":132823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66d9f178012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 23:08:37] local.INFO: Packet analysis {"connection_id":132823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66d9"} 
[2026-07-15 23:08:37] local.INFO: Extracted packet for processing {"connection_id":132823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66d9"} 
[2026-07-15 23:08:37] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":43,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738991616001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784136987000,"timestamp_ms":1784136987000,"timestamp_seconds":1784136987,"priority":1,"record_length":96,"hex_timestamp":"0000019f66d9f178"} 
[2026-07-15 23:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-15 23:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738991616001,"66":25875,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738991616001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:08:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738991616001,"power":25875,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":132823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:08:37] local.INFO: GPS data processed {"connection_id":132823,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:08:37] local.INFO: Acknowledgment sent {"connection_id":132823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:09:00] local.INFO: TCP Data received {"connection_id":135235,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:09:00] local.INFO: Processing buffer {"connection_id":135235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:09:00] local.INFO: IMEI packet received {"connection_id":135235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":135235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:09:05] local.INFO: TCP Data received {"connection_id":135235,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:09:05] local.INFO: Processing buffer {"connection_id":135235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:09:05] local.INFO: IMEI packet received {"connection_id":135235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":135235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:09:06] local.INFO: TCP Data received {"connection_id":135235,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66d9f178012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 23:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66d9f178012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 23:09:06] local.INFO: Processing buffer {"connection_id":135235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66d9f178012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 23:09:06] local.INFO: Packet analysis {"connection_id":135235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66d9"} 
[2026-07-15 23:09:06] local.INFO: Extracted packet for processing {"connection_id":135235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66d9"} 
[2026-07-15 23:09:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":43,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738991616001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784136987000,"timestamp_ms":1784136987000,"timestamp_seconds":1784136987,"priority":1,"record_length":96,"hex_timestamp":"0000019f66d9f178"} 
[2026-07-15 23:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-15 23:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738991616001,"66":25875,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738991616001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:09:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738991616001,"power":25875,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":135235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:09:06] local.INFO: GPS data processed {"connection_id":135235,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:09:06] local.INFO: Acknowledgment sent {"connection_id":135235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:09:37] local.INFO: TCP Data received {"connection_id":135235,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66d9f178012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 23:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66d9f178012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 23:09:37] local.INFO: Processing buffer {"connection_id":135235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66d9f178012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 23:09:37] local.INFO: Packet analysis {"connection_id":135235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66d9"} 
[2026-07-15 23:09:37] local.INFO: Extracted packet for processing {"connection_id":135235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66d9"} 
[2026-07-15 23:09:37] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":43,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23: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-07-15 23:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738991616001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784136987000,"timestamp_ms":1784136987000,"timestamp_seconds":1784136987,"priority":1,"record_length":96,"hex_timestamp":"0000019f66d9f178"} 
[2026-07-15 23:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-15 23:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23: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-07-15 23:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":135235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":135235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":135235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738991616001,"66":25875,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738991616001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:09:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738991616001,"power":25875,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":135235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:09:37] local.INFO: GPS data processed {"connection_id":135235,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:09:37] local.INFO: Acknowledgment sent {"connection_id":135235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:10:00] local.INFO: TCP Data received {"connection_id":133006,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:10:00] local.INFO: Processing buffer {"connection_id":133006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:10:00] local.INFO: IMEI packet received {"connection_id":133006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":133006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:10:05] local.INFO: TCP Data received {"connection_id":133006,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:10:05] local.INFO: Processing buffer {"connection_id":133006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:10:05] local.INFO: IMEI packet received {"connection_id":133006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":133006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:10:09] local.INFO: TCP Data received {"connection_id":133006,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66d9f178012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 23:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66d9f178012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 23:10:09] local.INFO: Processing buffer {"connection_id":133006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66d9f178012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 23:10:09] local.INFO: Packet analysis {"connection_id":133006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66d9"} 
[2026-07-15 23:10:09] local.INFO: Extracted packet for processing {"connection_id":133006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66d9"} 
[2026-07-15 23:10:09] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":43,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738991616001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784136987000,"timestamp_ms":1784136987000,"timestamp_seconds":1784136987,"priority":1,"record_length":96,"hex_timestamp":"0000019f66d9f178"} 
[2026-07-15 23:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-15 23:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:10:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":133006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":133006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":133006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738991616001,"66":25875,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738991616001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:10:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738991616001,"power":25875,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":133006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:10:09] local.INFO: GPS data processed {"connection_id":133006,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:10:09] local.INFO: Acknowledgment sent {"connection_id":133006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:10:40] local.INFO: TCP Data received {"connection_id":133006,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66d9f178012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 23:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66d9f178012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 23:10:40] local.INFO: Processing buffer {"connection_id":133006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66d9f178012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 23:10:40] local.INFO: Packet analysis {"connection_id":133006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66d9"} 
[2026-07-15 23:10:40] local.INFO: Extracted packet for processing {"connection_id":133006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66d9"} 
[2026-07-15 23:10:40] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":43,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23: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-07-15 23:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738991616001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:10:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:10:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784136987000,"timestamp_ms":1784136987000,"timestamp_seconds":1784136987,"priority":1,"record_length":96,"hex_timestamp":"0000019f66d9f178"} 
[2026-07-15 23:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:10:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-15 23:10:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23: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-07-15 23:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":133006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":133006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":133006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:10:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738991616001,"66":25875,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738991616001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:10:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:10:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738991616001,"power":25875,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":133006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:10:40] local.INFO: GPS data processed {"connection_id":133006,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:10:40] local.INFO: Acknowledgment sent {"connection_id":133006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:11:06] local.INFO: TCP Data received {"connection_id":132825,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:11:06] local.INFO: Processing buffer {"connection_id":132825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:11:06] local.INFO: IMEI packet received {"connection_id":132825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":132825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:11:10] local.INFO: TCP Data received {"connection_id":132825,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:11:10] local.INFO: Processing buffer {"connection_id":132825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:11:10] local.INFO: IMEI packet received {"connection_id":132825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":132825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:11:15] local.INFO: TCP Data received {"connection_id":132825,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66d9f178012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 23:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66d9f178012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 23:11:15] local.INFO: Processing buffer {"connection_id":132825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66d9f178012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 23:11:15] local.INFO: Packet analysis {"connection_id":132825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66d9"} 
[2026-07-15 23:11:15] local.INFO: Extracted packet for processing {"connection_id":132825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66d9"} 
[2026-07-15 23:11:15] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":43,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738991616001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:11:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784136987000,"timestamp_ms":1784136987000,"timestamp_seconds":1784136987,"priority":1,"record_length":96,"hex_timestamp":"0000019f66d9f178"} 
[2026-07-15 23:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:11:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-15 23:11:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:11:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":132825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":132825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":132825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:11:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738991616001,"66":25875,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738991616001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:11:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738991616001,"power":25875,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":132825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:11:15] local.INFO: GPS data processed {"connection_id":132825,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:11:15] local.INFO: Acknowledgment sent {"connection_id":132825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:11:16] local.INFO: TCP Data received {"connection_id":132825,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66d9f178012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 23:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66d9f178012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 23:11:16] local.INFO: Processing buffer {"connection_id":132825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66d9f178012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 23:11:16] local.INFO: Packet analysis {"connection_id":132825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66d9"} 
[2026-07-15 23:11:16] local.INFO: Extracted packet for processing {"connection_id":132825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66d9"} 
[2026-07-15 23:11:16] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":43,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738991616001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:11:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784136987000,"timestamp_ms":1784136987000,"timestamp_seconds":1784136987,"priority":1,"record_length":96,"hex_timestamp":"0000019f66d9f178"} 
[2026-07-15 23:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:11:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-15 23:11:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:11:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738991616001,"66":25875,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738991616001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:11:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738991616001,"power":25875,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":132825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:11:16] local.INFO: GPS data processed {"connection_id":132825,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:11:16] local.INFO: Acknowledgment sent {"connection_id":132825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:12:00] local.INFO: TCP Data received {"connection_id":133007,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:12:00] local.INFO: Processing buffer {"connection_id":133007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:12:00] local.INFO: IMEI packet received {"connection_id":133007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":133007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:12:05] local.INFO: TCP Data received {"connection_id":133007,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:12:05] local.INFO: Processing buffer {"connection_id":133007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:12:05] local.INFO: IMEI packet received {"connection_id":133007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":133007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:12:06] local.INFO: TCP Data received {"connection_id":133007,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66d9f178012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 23:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66d9f178012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 23:12:06] local.INFO: Processing buffer {"connection_id":133007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66d9f178012d77aac005f2a5e0001800f72b..."} 
[2026-07-15 23:12:06] local.INFO: Packet analysis {"connection_id":133007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66d9"} 
[2026-07-15 23:12:06] local.INFO: Extracted packet for processing {"connection_id":133007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66d9"} 
[2026-07-15 23:12:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":43,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23: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-07-15 23:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456738991616001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784136987000,"timestamp_ms":1784136987000,"timestamp_seconds":1784136987,"priority":1,"record_length":96,"hex_timestamp":"0000019f66d9f178"} 
[2026-07-15 23:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-15 23:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23: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-07-15 23:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456738991616001,"66":25875,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456738991616001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:12:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456738991616001,"power":25875,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":133007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:12:06] local.INFO: GPS data processed {"connection_id":133007,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:12:06] local.INFO: Acknowledgment sent {"connection_id":133007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:12:38] local.INFO: TCP Data received {"connection_id":133007,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66de8940012d77aac005f2a5e0001800f72c..."} 
[2026-07-15 23:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66de8940012d77aac005f2a5e0001800f72c..."} 
[2026-07-15 23:12:38] local.INFO: Processing buffer {"connection_id":133007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66de8940012d77aac005f2a5e0001800f72c..."} 
[2026-07-15 23:12:38] local.INFO: Packet analysis {"connection_id":133007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66de"} 
[2026-07-15 23:12:38] local.INFO: Extracted packet for processing {"connection_id":133007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66de"} 
[2026-07-15 23:12:38] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":44,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23: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-07-15 23:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739068672001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784137288000,"timestamp_ms":1784137288000,"timestamp_seconds":1784137288,"priority":1,"record_length":96,"hex_timestamp":"0000019f66de8940"} 
[2026-07-15 23:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-15 23:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23: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-07-15 23:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739068672001,"66":25843,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739068672001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:12:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739068672001,"power":25843,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":133007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:12:38] local.INFO: GPS data processed {"connection_id":133007,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:12:38] local.INFO: Acknowledgment sent {"connection_id":133007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:12:59] local.INFO: TCP Data received {"connection_id":133878,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:12:59] local.INFO: Processing buffer {"connection_id":133878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:12:59] local.INFO: IMEI packet received {"connection_id":133878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":133878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:13:03] local.INFO: TCP Data received {"connection_id":133008,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133008,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:13:03] local.INFO: Processing buffer {"connection_id":133008,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:13:03] local.INFO: IMEI packet received {"connection_id":133008,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 23:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":133008,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:13:05] local.INFO: TCP Data received {"connection_id":133878,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:13:05] local.INFO: Processing buffer {"connection_id":133878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:13:05] local.INFO: IMEI packet received {"connection_id":133878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":133878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:13:06] local.INFO: TCP Data received {"connection_id":133878,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66de8940012d77aac005f2a5e0001800f72c..."} 
[2026-07-15 23:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66de8940012d77aac005f2a5e0001800f72c..."} 
[2026-07-15 23:13:06] local.INFO: Processing buffer {"connection_id":133878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66de8940012d77aac005f2a5e0001800f72c..."} 
[2026-07-15 23:13:06] local.INFO: Packet analysis {"connection_id":133878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66de"} 
[2026-07-15 23:13:06] local.INFO: Extracted packet for processing {"connection_id":133878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66de"} 
[2026-07-15 23:13:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":44,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23: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-07-15 23:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739068672001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784137288000,"timestamp_ms":1784137288000,"timestamp_seconds":1784137288,"priority":1,"record_length":96,"hex_timestamp":"0000019f66de8940"} 
[2026-07-15 23:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-15 23:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23: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-07-15 23:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739068672001,"66":25843,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739068672001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:13:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739068672001,"power":25843,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":133878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:13:06] local.INFO: GPS data processed {"connection_id":133878,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:13:06] local.INFO: Acknowledgment sent {"connection_id":133878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:13:33] local.INFO: TCP Data received {"connection_id":133009,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133009,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:13:33] local.INFO: Processing buffer {"connection_id":133009,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:13:33] local.INFO: IMEI packet received {"connection_id":133009,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 23:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":133009,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:13:37] local.INFO: TCP Data received {"connection_id":133878,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66de8940012d77aac005f2a5e0001800f72c..."} 
[2026-07-15 23:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66de8940012d77aac005f2a5e0001800f72c..."} 
[2026-07-15 23:13:37] local.INFO: Processing buffer {"connection_id":133878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66de8940012d77aac005f2a5e0001800f72c..."} 
[2026-07-15 23:13:37] local.INFO: Packet analysis {"connection_id":133878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66de"} 
[2026-07-15 23:13:37] local.INFO: Extracted packet for processing {"connection_id":133878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66de"} 
[2026-07-15 23:13:37] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":44,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739068672001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784137288000,"timestamp_ms":1784137288000,"timestamp_seconds":1784137288,"priority":1,"record_length":96,"hex_timestamp":"0000019f66de8940"} 
[2026-07-15 23:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-15 23:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739068672001,"66":25843,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739068672001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:13:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739068672001,"power":25843,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":133878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:13:37] local.INFO: GPS data processed {"connection_id":133878,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:13:37] local.INFO: Acknowledgment sent {"connection_id":133878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:13:59] local.INFO: TCP Data received {"connection_id":132826,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:13:59] local.INFO: Processing buffer {"connection_id":132826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:13:59] local.INFO: IMEI packet received {"connection_id":132826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":132826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:14:05] local.INFO: TCP Data received {"connection_id":132826,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:14:05] local.INFO: Processing buffer {"connection_id":132826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:14:05] local.INFO: IMEI packet received {"connection_id":132826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":132826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:14:06] local.INFO: TCP Data received {"connection_id":132826,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66de8940012d77aac005f2a5e0001800f72c..."} 
[2026-07-15 23:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66de8940012d77aac005f2a5e0001800f72c..."} 
[2026-07-15 23:14:06] local.INFO: Processing buffer {"connection_id":132826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66de8940012d77aac005f2a5e0001800f72c..."} 
[2026-07-15 23:14:06] local.INFO: Packet analysis {"connection_id":132826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66de"} 
[2026-07-15 23:14:06] local.INFO: Extracted packet for processing {"connection_id":132826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66de"} 
[2026-07-15 23:14:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":44,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739068672001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784137288000,"timestamp_ms":1784137288000,"timestamp_seconds":1784137288,"priority":1,"record_length":96,"hex_timestamp":"0000019f66de8940"} 
[2026-07-15 23:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-15 23:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739068672001,"66":25843,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739068672001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:14:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739068672001,"power":25843,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":132826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:14:06] local.INFO: GPS data processed {"connection_id":132826,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:14:06] local.INFO: Acknowledgment sent {"connection_id":132826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:14:40] local.INFO: TCP Data received {"connection_id":132826,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66de8940012d77aac005f2a5e0001800f72c..."} 
[2026-07-15 23:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66de8940012d77aac005f2a5e0001800f72c..."} 
[2026-07-15 23:14:40] local.INFO: Processing buffer {"connection_id":132826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66de8940012d77aac005f2a5e0001800f72c..."} 
[2026-07-15 23:14:40] local.INFO: Packet analysis {"connection_id":132826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66de"} 
[2026-07-15 23:14:40] local.INFO: Extracted packet for processing {"connection_id":132826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66de"} 
[2026-07-15 23:14:40] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":44,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739068672001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:14:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784137288000,"timestamp_ms":1784137288000,"timestamp_seconds":1784137288,"priority":1,"record_length":96,"hex_timestamp":"0000019f66de8940"} 
[2026-07-15 23:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:14:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-15 23:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:14:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:14:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739068672001,"66":25843,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739068672001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:14:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:14:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739068672001,"power":25843,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":132826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:14:40] local.INFO: GPS data processed {"connection_id":132826,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:14:40] local.INFO: Acknowledgment sent {"connection_id":132826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:15:05] local.INFO: TCP Data received {"connection_id":135240,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:15:05] local.INFO: Processing buffer {"connection_id":135240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:15:05] local.INFO: IMEI packet received {"connection_id":135240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":135240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:15:10] local.INFO: TCP Data received {"connection_id":135240,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:15:10] local.INFO: Processing buffer {"connection_id":135240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:15:10] local.INFO: IMEI packet received {"connection_id":135240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":135240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:15:11] local.INFO: TCP Data received {"connection_id":135240,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66de8940012d77aac005f2a5e0001800f72c..."} 
[2026-07-15 23:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66de8940012d77aac005f2a5e0001800f72c..."} 
[2026-07-15 23:15:11] local.INFO: Processing buffer {"connection_id":135240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66de8940012d77aac005f2a5e0001800f72c..."} 
[2026-07-15 23:15:11] local.INFO: Packet analysis {"connection_id":135240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66de"} 
[2026-07-15 23:15:11] local.INFO: Extracted packet for processing {"connection_id":135240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66de"} 
[2026-07-15 23:15:11] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":44,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739068672001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784137288000,"timestamp_ms":1784137288000,"timestamp_seconds":1784137288,"priority":1,"record_length":96,"hex_timestamp":"0000019f66de8940"} 
[2026-07-15 23:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-15 23:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":135240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":135240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":135240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739068672001,"66":25843,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739068672001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:15:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739068672001,"power":25843,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":135240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:15:11] local.INFO: GPS data processed {"connection_id":135240,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:15:11] local.INFO: Acknowledgment sent {"connection_id":135240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:15:16] local.INFO: TCP Data received {"connection_id":135240,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66de8940012d77aac005f2a5e0001800f72c..."} 
[2026-07-15 23:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66de8940012d77aac005f2a5e0001800f72c..."} 
[2026-07-15 23:15:16] local.INFO: Processing buffer {"connection_id":135240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66de8940012d77aac005f2a5e0001800f72c..."} 
[2026-07-15 23:15:16] local.INFO: Packet analysis {"connection_id":135240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66de"} 
[2026-07-15 23:15:16] local.INFO: Extracted packet for processing {"connection_id":135240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66de"} 
[2026-07-15 23:15:16] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":44,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739068672001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:15:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784137288000,"timestamp_ms":1784137288000,"timestamp_seconds":1784137288,"priority":1,"record_length":96,"hex_timestamp":"0000019f66de8940"} 
[2026-07-15 23:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-15 23:15:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:15:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":135240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":135240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":135240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739068672001,"66":25843,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739068672001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:15:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739068672001,"power":25843,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":135240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:15:16] local.INFO: GPS data processed {"connection_id":135240,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:15:16] local.INFO: Acknowledgment sent {"connection_id":135240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:16:00] local.INFO: TCP Data received {"connection_id":133879,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:16:00] local.INFO: Processing buffer {"connection_id":133879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:16:00] local.INFO: IMEI packet received {"connection_id":133879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":133879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:16:05] local.INFO: TCP Data received {"connection_id":133879,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:16:05] local.INFO: Processing buffer {"connection_id":133879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:16:05] local.INFO: IMEI packet received {"connection_id":133879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":133879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:16:06] local.INFO: TCP Data received {"connection_id":133879,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66de8940012d77aac005f2a5e0001800f72c..."} 
[2026-07-15 23:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66de8940012d77aac005f2a5e0001800f72c..."} 
[2026-07-15 23:16:06] local.INFO: Processing buffer {"connection_id":133879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66de8940012d77aac005f2a5e0001800f72c..."} 
[2026-07-15 23:16:06] local.INFO: Packet analysis {"connection_id":133879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66de"} 
[2026-07-15 23:16:06] local.INFO: Extracted packet for processing {"connection_id":133879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66de"} 
[2026-07-15 23:16:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":44,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739068672001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784137288000,"timestamp_ms":1784137288000,"timestamp_seconds":1784137288,"priority":1,"record_length":96,"hex_timestamp":"0000019f66de8940"} 
[2026-07-15 23:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-15 23:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739068672001,"66":25843,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739068672001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:16:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739068672001,"power":25843,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":133879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:16:06] local.INFO: GPS data processed {"connection_id":133879,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:16:06] local.INFO: Acknowledgment sent {"connection_id":133879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:16:37] local.INFO: TCP Data received {"connection_id":133879,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66de8940012d77aac005f2a5e0001800f72c..."} 
[2026-07-15 23:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66de8940012d77aac005f2a5e0001800f72c..."} 
[2026-07-15 23:16:37] local.INFO: Processing buffer {"connection_id":133879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66de8940012d77aac005f2a5e0001800f72c..."} 
[2026-07-15 23:16:37] local.INFO: Packet analysis {"connection_id":133879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66de"} 
[2026-07-15 23:16:37] local.INFO: Extracted packet for processing {"connection_id":133879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66de"} 
[2026-07-15 23:16:37] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":44,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23: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-07-15 23:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739068672001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784137288000,"timestamp_ms":1784137288000,"timestamp_seconds":1784137288,"priority":1,"record_length":96,"hex_timestamp":"0000019f66de8940"} 
[2026-07-15 23:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-15 23:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23: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-07-15 23:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739068672001,"66":25843,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739068672001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:16:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739068672001,"power":25843,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":133879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:16:37] local.INFO: GPS data processed {"connection_id":133879,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:16:37] local.INFO: Acknowledgment sent {"connection_id":133879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:16:59] local.INFO: TCP Data received {"connection_id":132827,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:16:59] local.INFO: Processing buffer {"connection_id":132827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:16:59] local.INFO: IMEI packet received {"connection_id":132827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":132827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:17:05] local.INFO: TCP Data received {"connection_id":132827,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:17:05] local.INFO: Processing buffer {"connection_id":132827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:17:05] local.INFO: IMEI packet received {"connection_id":132827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":132827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:17:06] local.INFO: TCP Data received {"connection_id":132827,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66de8940012d77aac005f2a5e0001800f72c..."} 
[2026-07-15 23:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66de8940012d77aac005f2a5e0001800f72c..."} 
[2026-07-15 23:17:06] local.INFO: Processing buffer {"connection_id":132827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66de8940012d77aac005f2a5e0001800f72c..."} 
[2026-07-15 23:17:06] local.INFO: Packet analysis {"connection_id":132827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66de"} 
[2026-07-15 23:17:06] local.INFO: Extracted packet for processing {"connection_id":132827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66de"} 
[2026-07-15 23:17:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":44,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23: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-07-15 23:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739068672001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784137288000,"timestamp_ms":1784137288000,"timestamp_seconds":1784137288,"priority":1,"record_length":96,"hex_timestamp":"0000019f66de8940"} 
[2026-07-15 23:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-15 23:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23: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-07-15 23:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739068672001,"66":25843,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739068672001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:17:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739068672001,"power":25843,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":132827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:17:06] local.INFO: GPS data processed {"connection_id":132827,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:17:06] local.INFO: Acknowledgment sent {"connection_id":132827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:17:38] local.INFO: TCP Data received {"connection_id":132827,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66e32108012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 23:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66e32108012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 23:17:38] local.INFO: Processing buffer {"connection_id":132827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66e32108012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 23:17:38] local.INFO: Packet analysis {"connection_id":132827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66e3"} 
[2026-07-15 23:17:38] local.INFO: Extracted packet for processing {"connection_id":132827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66e3"} 
[2026-07-15 23:17:38] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":45,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23: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-07-15 23:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739145728001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784137589000,"timestamp_ms":1784137589000,"timestamp_seconds":1784137589,"priority":1,"record_length":96,"hex_timestamp":"0000019f66e32108"} 
[2026-07-15 23:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-15 23:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23: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-07-15 23:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739145728001,"66":25702,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739145728001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:17:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739145728001,"power":25702,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":132827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:17:38] local.INFO: GPS data processed {"connection_id":132827,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:17:38] local.INFO: Acknowledgment sent {"connection_id":132827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:18:05] local.INFO: TCP Data received {"connection_id":135241,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:18:05] local.INFO: Processing buffer {"connection_id":135241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:18:05] local.INFO: IMEI packet received {"connection_id":135241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":135241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:18:10] local.INFO: TCP Data received {"connection_id":135241,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:18:10] local.INFO: Processing buffer {"connection_id":135241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:18:10] local.INFO: IMEI packet received {"connection_id":135241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":135241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:18:11] local.INFO: TCP Data received {"connection_id":135241,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66e32108012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 23:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66e32108012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 23:18:11] local.INFO: Processing buffer {"connection_id":135241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66e32108012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 23:18:11] local.INFO: Packet analysis {"connection_id":135241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66e3"} 
[2026-07-15 23:18:11] local.INFO: Extracted packet for processing {"connection_id":135241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66e3"} 
[2026-07-15 23:18:11] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":45,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739145728001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784137589000,"timestamp_ms":1784137589000,"timestamp_seconds":1784137589,"priority":1,"record_length":96,"hex_timestamp":"0000019f66e32108"} 
[2026-07-15 23:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-15 23:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":135241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":135241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":135241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739145728001,"66":25702,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739145728001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:18:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739145728001,"power":25702,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":135241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:18:11] local.INFO: GPS data processed {"connection_id":135241,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:18:11] local.INFO: Acknowledgment sent {"connection_id":135241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:18:16] local.INFO: TCP Data received {"connection_id":135241,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66e32108012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 23:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66e32108012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 23:18:16] local.INFO: Processing buffer {"connection_id":135241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66e32108012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 23:18:16] local.INFO: Packet analysis {"connection_id":135241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66e3"} 
[2026-07-15 23:18:16] local.INFO: Extracted packet for processing {"connection_id":135241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66e3"} 
[2026-07-15 23:18:16] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":45,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739145728001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:18:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784137589000,"timestamp_ms":1784137589000,"timestamp_seconds":1784137589,"priority":1,"record_length":96,"hex_timestamp":"0000019f66e32108"} 
[2026-07-15 23:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:18:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-15 23:18:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:18:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":135241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":135241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":135241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739145728001,"66":25702,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739145728001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:18:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739145728001,"power":25702,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":135241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:18:16] local.INFO: GPS data processed {"connection_id":135241,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:18:16] local.INFO: Acknowledgment sent {"connection_id":135241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:18:48] local.INFO: TCP Data received {"connection_id":133881,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133881,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:18:48] local.INFO: Processing buffer {"connection_id":133881,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:18:48] local.INFO: IMEI packet received {"connection_id":133881,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 23:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":133881,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:19:00] local.INFO: TCP Data received {"connection_id":133012,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:19:00] local.INFO: Processing buffer {"connection_id":133012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:19:00] local.INFO: IMEI packet received {"connection_id":133012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":133012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:19:05] local.INFO: TCP Data received {"connection_id":133012,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:19:05] local.INFO: Processing buffer {"connection_id":133012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:19:05] local.INFO: IMEI packet received {"connection_id":133012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":133012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:19:06] local.INFO: TCP Data received {"connection_id":133012,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66e32108012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 23:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66e32108012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 23:19:06] local.INFO: Processing buffer {"connection_id":133012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66e32108012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 23:19:06] local.INFO: Packet analysis {"connection_id":133012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66e3"} 
[2026-07-15 23:19:06] local.INFO: Extracted packet for processing {"connection_id":133012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66e3"} 
[2026-07-15 23:19:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":45,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739145728001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784137589000,"timestamp_ms":1784137589000,"timestamp_seconds":1784137589,"priority":1,"record_length":96,"hex_timestamp":"0000019f66e32108"} 
[2026-07-15 23:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-15 23:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739145728001,"66":25702,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739145728001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:19:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739145728001,"power":25702,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":133012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:19:06] local.INFO: GPS data processed {"connection_id":133012,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:19:06] local.INFO: Acknowledgment sent {"connection_id":133012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:19:33] local.INFO: TCP Data received {"connection_id":132828,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132828,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:19:33] local.INFO: Processing buffer {"connection_id":132828,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:19:33] local.INFO: IMEI packet received {"connection_id":132828,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 23:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":132828,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:19:37] local.INFO: TCP Data received {"connection_id":133012,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66e32108012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 23:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66e32108012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 23:19:37] local.INFO: Processing buffer {"connection_id":133012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66e32108012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 23:19:37] local.INFO: Packet analysis {"connection_id":133012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66e3"} 
[2026-07-15 23:19:37] local.INFO: Extracted packet for processing {"connection_id":133012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66e3"} 
[2026-07-15 23:19:37] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":45,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739145728001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784137589000,"timestamp_ms":1784137589000,"timestamp_seconds":1784137589,"priority":1,"record_length":96,"hex_timestamp":"0000019f66e32108"} 
[2026-07-15 23:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-15 23:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739145728001,"66":25702,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739145728001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:19:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739145728001,"power":25702,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":133012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:19:37] local.INFO: GPS data processed {"connection_id":133012,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:19:37] local.INFO: Acknowledgment sent {"connection_id":133012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:20:00] local.INFO: TCP Data received {"connection_id":133882,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:20:00] local.INFO: Processing buffer {"connection_id":133882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:20:00] local.INFO: IMEI packet received {"connection_id":133882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":133882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:20:05] local.INFO: TCP Data received {"connection_id":133882,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:20:05] local.INFO: Processing buffer {"connection_id":133882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:20:05] local.INFO: IMEI packet received {"connection_id":133882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":133882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:20:06] local.INFO: TCP Data received {"connection_id":133882,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66e32108012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 23:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66e32108012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 23:20:06] local.INFO: Processing buffer {"connection_id":133882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66e32108012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 23:20:06] local.INFO: Packet analysis {"connection_id":133882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66e3"} 
[2026-07-15 23:20:06] local.INFO: Extracted packet for processing {"connection_id":133882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66e3"} 
[2026-07-15 23:20:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":45,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739145728001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784137589000,"timestamp_ms":1784137589000,"timestamp_seconds":1784137589,"priority":1,"record_length":96,"hex_timestamp":"0000019f66e32108"} 
[2026-07-15 23:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-15 23:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739145728001,"66":25702,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739145728001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:20:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739145728001,"power":25702,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":133882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:20:06] local.INFO: GPS data processed {"connection_id":133882,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:20:06] local.INFO: Acknowledgment sent {"connection_id":133882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:20:38] local.INFO: TCP Data received {"connection_id":133882,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66e32108012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 23:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66e32108012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 23:20:38] local.INFO: Processing buffer {"connection_id":133882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66e32108012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 23:20:38] local.INFO: Packet analysis {"connection_id":133882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66e3"} 
[2026-07-15 23:20:38] local.INFO: Extracted packet for processing {"connection_id":133882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66e3"} 
[2026-07-15 23:20:38] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":45,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23: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-07-15 23:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739145728001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784137589000,"timestamp_ms":1784137589000,"timestamp_seconds":1784137589,"priority":1,"record_length":96,"hex_timestamp":"0000019f66e32108"} 
[2026-07-15 23:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-15 23:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23: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-07-15 23:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739145728001,"66":25702,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739145728001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:20:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739145728001,"power":25702,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":133882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:20:38] local.INFO: GPS data processed {"connection_id":133882,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:20:38] local.INFO: Acknowledgment sent {"connection_id":133882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:21:00] local.INFO: TCP Data received {"connection_id":135242,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:21:00] local.INFO: Processing buffer {"connection_id":135242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:21:00] local.INFO: IMEI packet received {"connection_id":135242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":135242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:21:05] local.INFO: TCP Data received {"connection_id":135242,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:21:05] local.INFO: Processing buffer {"connection_id":135242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:21:05] local.INFO: IMEI packet received {"connection_id":135242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":135242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:21:06] local.INFO: TCP Data received {"connection_id":135242,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66e32108012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 23:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66e32108012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 23:21:06] local.INFO: Processing buffer {"connection_id":135242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66e32108012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 23:21:06] local.INFO: Packet analysis {"connection_id":135242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66e3"} 
[2026-07-15 23:21:06] local.INFO: Extracted packet for processing {"connection_id":135242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66e3"} 
[2026-07-15 23:21:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":45,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739145728001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784137589000,"timestamp_ms":1784137589000,"timestamp_seconds":1784137589,"priority":1,"record_length":96,"hex_timestamp":"0000019f66e32108"} 
[2026-07-15 23:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-15 23:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739145728001,"66":25702,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739145728001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:21:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739145728001,"power":25702,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":135242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:21:06] local.INFO: GPS data processed {"connection_id":135242,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:21:06] local.INFO: Acknowledgment sent {"connection_id":135242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:21:37] local.INFO: TCP Data received {"connection_id":135242,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66e32108012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 23:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66e32108012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 23:21:37] local.INFO: Processing buffer {"connection_id":135242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66e32108012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 23:21:37] local.INFO: Packet analysis {"connection_id":135242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66e3"} 
[2026-07-15 23:21:37] local.INFO: Extracted packet for processing {"connection_id":135242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66e3"} 
[2026-07-15 23:21:37] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":45,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739145728001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784137589000,"timestamp_ms":1784137589000,"timestamp_seconds":1784137589,"priority":1,"record_length":96,"hex_timestamp":"0000019f66e32108"} 
[2026-07-15 23:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-15 23:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":135242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":135242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":135242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739145728001,"66":25702,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739145728001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:21:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739145728001,"power":25702,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":135242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:21:37] local.INFO: GPS data processed {"connection_id":135242,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:21:37] local.INFO: Acknowledgment sent {"connection_id":135242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:21:59] local.INFO: TCP Data received {"connection_id":133884,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:21:59] local.INFO: Processing buffer {"connection_id":133884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:21:59] local.INFO: IMEI packet received {"connection_id":133884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":133884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:22:05] local.INFO: TCP Data received {"connection_id":133884,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:22:05] local.INFO: Processing buffer {"connection_id":133884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:22:05] local.INFO: IMEI packet received {"connection_id":133884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":133884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:22:06] local.INFO: TCP Data received {"connection_id":133884,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66e32108012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 23:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66e32108012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 23:22:06] local.INFO: Processing buffer {"connection_id":133884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66e32108012d77aac005f2a5e0001800f72d..."} 
[2026-07-15 23:22:06] local.INFO: Packet analysis {"connection_id":133884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66e3"} 
[2026-07-15 23:22:06] local.INFO: Extracted packet for processing {"connection_id":133884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66e3"} 
[2026-07-15 23:22:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":24,"angle":247,"satellites":45,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23: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-07-15 23:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739145728001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784137589000,"timestamp_ms":1784137589000,"timestamp_seconds":1784137589,"priority":1,"record_length":96,"hex_timestamp":"0000019f66e32108"} 
[2026-07-15 23:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-15 23:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23: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-07-15 23:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739145728001,"66":25702,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739145728001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:22:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739145728001,"power":25702,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":133884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:22:06] local.INFO: GPS data processed {"connection_id":133884,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:22:06] local.INFO: Acknowledgment sent {"connection_id":133884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:22:37] local.INFO: TCP Data received {"connection_id":133884,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66e7b8d0012d77aac005f2a5e0000f00f72d..."} 
[2026-07-15 23:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66e7b8d0012d77aac005f2a5e0000f00f72d..."} 
[2026-07-15 23:22:37] local.INFO: Processing buffer {"connection_id":133884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66e7b8d0012d77aac005f2a5e0000f00f72d..."} 
[2026-07-15 23:22:37] local.INFO: Packet analysis {"connection_id":133884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66e7"} 
[2026-07-15 23:22:37] local.INFO: Extracted packet for processing {"connection_id":133884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66e7"} 
[2026-07-15 23:22:37] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":15,"angle":247,"satellites":45,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23: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-07-15 23:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739222784001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784137890000,"timestamp_ms":1784137890000,"timestamp_seconds":1784137890,"priority":1,"record_length":96,"hex_timestamp":"0000019f66e7b8d0"} 
[2026-07-15 23:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 23:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23: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-07-15 23:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739222784001,"66":25191,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739222784001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:22:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739222784001,"power":25191,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":133884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:22:37] local.INFO: GPS data processed {"connection_id":133884,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:22:37] local.INFO: Acknowledgment sent {"connection_id":133884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:23:00] local.INFO: TCP Data received {"connection_id":135244,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:23:00] local.INFO: Processing buffer {"connection_id":135244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:23:00] local.INFO: IMEI packet received {"connection_id":135244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":135244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:23:05] local.INFO: TCP Data received {"connection_id":135244,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:23:05] local.INFO: Processing buffer {"connection_id":135244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:23:05] local.INFO: IMEI packet received {"connection_id":135244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":135244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:23:06] local.INFO: TCP Data received {"connection_id":135244,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66e7b8d0012d77aac005f2a5e0000f00f72d..."} 
[2026-07-15 23:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66e7b8d0012d77aac005f2a5e0000f00f72d..."} 
[2026-07-15 23:23:06] local.INFO: Processing buffer {"connection_id":135244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66e7b8d0012d77aac005f2a5e0000f00f72d..."} 
[2026-07-15 23:23:06] local.INFO: Packet analysis {"connection_id":135244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66e7"} 
[2026-07-15 23:23:06] local.INFO: Extracted packet for processing {"connection_id":135244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66e7"} 
[2026-07-15 23:23:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":15,"angle":247,"satellites":45,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739222784001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784137890000,"timestamp_ms":1784137890000,"timestamp_seconds":1784137890,"priority":1,"record_length":96,"hex_timestamp":"0000019f66e7b8d0"} 
[2026-07-15 23:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 23:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739222784001,"66":25191,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739222784001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:23:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739222784001,"power":25191,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":135244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:23:06] local.INFO: GPS data processed {"connection_id":135244,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:23:06] local.INFO: Acknowledgment sent {"connection_id":135244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:23:37] local.INFO: TCP Data received {"connection_id":135244,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66e7b8d0012d77aac005f2a5e0000f00f72d..."} 
[2026-07-15 23:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66e7b8d0012d77aac005f2a5e0000f00f72d..."} 
[2026-07-15 23:23:37] local.INFO: Processing buffer {"connection_id":135244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66e7b8d0012d77aac005f2a5e0000f00f72d..."} 
[2026-07-15 23:23:37] local.INFO: Packet analysis {"connection_id":135244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66e7"} 
[2026-07-15 23:23:37] local.INFO: Extracted packet for processing {"connection_id":135244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66e7"} 
[2026-07-15 23:23:37] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":15,"angle":247,"satellites":45,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23: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-07-15 23:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739222784001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784137890000,"timestamp_ms":1784137890000,"timestamp_seconds":1784137890,"priority":1,"record_length":96,"hex_timestamp":"0000019f66e7b8d0"} 
[2026-07-15 23:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 23:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23: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-07-15 23:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":135244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":135244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":135244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739222784001,"66":25191,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739222784001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:23:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739222784001,"power":25191,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":135244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:23:37] local.INFO: GPS data processed {"connection_id":135244,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:23:37] local.INFO: Acknowledgment sent {"connection_id":135244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:23:59] local.INFO: TCP Data received {"connection_id":135245,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:23:59] local.INFO: Processing buffer {"connection_id":135245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:23:59] local.INFO: IMEI packet received {"connection_id":135245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":135245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:24:05] local.INFO: TCP Data received {"connection_id":135245,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:24:05] local.INFO: Processing buffer {"connection_id":135245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:24:05] local.INFO: IMEI packet received {"connection_id":135245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":135245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:24:06] local.INFO: TCP Data received {"connection_id":135245,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66e7b8d0012d77aac005f2a5e0000f00f72d..."} 
[2026-07-15 23:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66e7b8d0012d77aac005f2a5e0000f00f72d..."} 
[2026-07-15 23:24:06] local.INFO: Processing buffer {"connection_id":135245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66e7b8d0012d77aac005f2a5e0000f00f72d..."} 
[2026-07-15 23:24:06] local.INFO: Packet analysis {"connection_id":135245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66e7"} 
[2026-07-15 23:24:06] local.INFO: Extracted packet for processing {"connection_id":135245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66e7"} 
[2026-07-15 23:24:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":15,"angle":247,"satellites":45,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739222784001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784137890000,"timestamp_ms":1784137890000,"timestamp_seconds":1784137890,"priority":1,"record_length":96,"hex_timestamp":"0000019f66e7b8d0"} 
[2026-07-15 23:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 23:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739222784001,"66":25191,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739222784001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:24:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739222784001,"power":25191,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":135245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:24:06] local.INFO: GPS data processed {"connection_id":135245,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:24:06] local.INFO: Acknowledgment sent {"connection_id":135245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:24:37] local.INFO: TCP Data received {"connection_id":135245,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66e7b8d0012d77aac005f2a5e0000f00f72d..."} 
[2026-07-15 23:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66e7b8d0012d77aac005f2a5e0000f00f72d..."} 
[2026-07-15 23:24:37] local.INFO: Processing buffer {"connection_id":135245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66e7b8d0012d77aac005f2a5e0000f00f72d..."} 
[2026-07-15 23:24:37] local.INFO: Packet analysis {"connection_id":135245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66e7"} 
[2026-07-15 23:24:37] local.INFO: Extracted packet for processing {"connection_id":135245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66e7"} 
[2026-07-15 23:24:37] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":15,"angle":247,"satellites":45,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739222784001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784137890000,"timestamp_ms":1784137890000,"timestamp_seconds":1784137890,"priority":1,"record_length":96,"hex_timestamp":"0000019f66e7b8d0"} 
[2026-07-15 23:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 23:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":135245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":135245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":135245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739222784001,"66":25191,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739222784001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:24:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739222784001,"power":25191,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":135245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:24:37] local.INFO: GPS data processed {"connection_id":135245,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:24:37] local.INFO: Acknowledgment sent {"connection_id":135245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:24:48] local.INFO: TCP Data received {"connection_id":133013,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133013,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:24:48] local.INFO: Processing buffer {"connection_id":133013,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:24:48] local.INFO: IMEI packet received {"connection_id":133013,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 23:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":133013,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:24:59] local.INFO: TCP Data received {"connection_id":133885,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:24:59] local.INFO: Processing buffer {"connection_id":133885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:24:59] local.INFO: IMEI packet received {"connection_id":133885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":133885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:25:05] local.INFO: TCP Data received {"connection_id":133885,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:25:05] local.INFO: Processing buffer {"connection_id":133885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:25:05] local.INFO: IMEI packet received {"connection_id":133885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":133885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:25:06] local.INFO: TCP Data received {"connection_id":133885,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66e7b8d0012d77aac005f2a5e0000f00f72d..."} 
[2026-07-15 23:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66e7b8d0012d77aac005f2a5e0000f00f72d..."} 
[2026-07-15 23:25:06] local.INFO: Processing buffer {"connection_id":133885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66e7b8d0012d77aac005f2a5e0000f00f72d..."} 
[2026-07-15 23:25:06] local.INFO: Packet analysis {"connection_id":133885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66e7"} 
[2026-07-15 23:25:06] local.INFO: Extracted packet for processing {"connection_id":133885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66e7"} 
[2026-07-15 23:25:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":15,"angle":247,"satellites":45,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739222784001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784137890000,"timestamp_ms":1784137890000,"timestamp_seconds":1784137890,"priority":1,"record_length":96,"hex_timestamp":"0000019f66e7b8d0"} 
[2026-07-15 23:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 23:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739222784001,"66":25191,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739222784001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:25:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739222784001,"power":25191,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":133885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:25:06] local.INFO: GPS data processed {"connection_id":133885,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:25:06] local.INFO: Acknowledgment sent {"connection_id":133885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:25:37] local.INFO: TCP Data received {"connection_id":133885,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66e7b8d0012d77aac005f2a5e0000f00f72d..."} 
[2026-07-15 23:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66e7b8d0012d77aac005f2a5e0000f00f72d..."} 
[2026-07-15 23:25:37] local.INFO: Processing buffer {"connection_id":133885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66e7b8d0012d77aac005f2a5e0000f00f72d..."} 
[2026-07-15 23:25:37] local.INFO: Packet analysis {"connection_id":133885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66e7"} 
[2026-07-15 23:25:37] local.INFO: Extracted packet for processing {"connection_id":133885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66e7"} 
[2026-07-15 23:25:37] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":15,"angle":247,"satellites":45,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739222784001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784137890000,"timestamp_ms":1784137890000,"timestamp_seconds":1784137890,"priority":1,"record_length":96,"hex_timestamp":"0000019f66e7b8d0"} 
[2026-07-15 23:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 23:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739222784001,"66":25191,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739222784001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:25:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739222784001,"power":25191,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":133885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:25:37] local.INFO: GPS data processed {"connection_id":133885,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:25:37] local.INFO: Acknowledgment sent {"connection_id":133885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:25:38] local.INFO: TCP Data received {"connection_id":133014,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133014,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:25:38] local.INFO: Processing buffer {"connection_id":133014,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:25:38] local.INFO: IMEI packet received {"connection_id":133014,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 23:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":133014,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:26:05] local.INFO: TCP Data received {"connection_id":132832,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:26:05] local.INFO: Processing buffer {"connection_id":132832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:26:05] local.INFO: IMEI packet received {"connection_id":132832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":132832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:26:10] local.INFO: TCP Data received {"connection_id":132832,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:26:10] local.INFO: Processing buffer {"connection_id":132832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:26:10] local.INFO: IMEI packet received {"connection_id":132832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":132832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:26:11] local.INFO: TCP Data received {"connection_id":132832,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66e7b8d0012d77aac005f2a5e0000f00f72d..."} 
[2026-07-15 23:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66e7b8d0012d77aac005f2a5e0000f00f72d..."} 
[2026-07-15 23:26:11] local.INFO: Processing buffer {"connection_id":132832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66e7b8d0012d77aac005f2a5e0000f00f72d..."} 
[2026-07-15 23:26:11] local.INFO: Packet analysis {"connection_id":132832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66e7"} 
[2026-07-15 23:26:11] local.INFO: Extracted packet for processing {"connection_id":132832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66e7"} 
[2026-07-15 23:26:11] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":15,"angle":247,"satellites":45,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739222784001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784137890000,"timestamp_ms":1784137890000,"timestamp_seconds":1784137890,"priority":1,"record_length":96,"hex_timestamp":"0000019f66e7b8d0"} 
[2026-07-15 23:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 23:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739222784001,"66":25191,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739222784001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:26:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739222784001,"power":25191,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":132832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:26:11] local.INFO: GPS data processed {"connection_id":132832,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:26:11] local.INFO: Acknowledgment sent {"connection_id":132832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:26:42] local.INFO: TCP Data received {"connection_id":132832,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66e7b8d0012d77aac005f2a5e0000f00f72d..."} 
[2026-07-15 23:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66e7b8d0012d77aac005f2a5e0000f00f72d..."} 
[2026-07-15 23:26:42] local.INFO: Processing buffer {"connection_id":132832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66e7b8d0012d77aac005f2a5e0000f00f72d..."} 
[2026-07-15 23:26:42] local.INFO: Packet analysis {"connection_id":132832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66e7"} 
[2026-07-15 23:26:42] local.INFO: Extracted packet for processing {"connection_id":132832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66e7"} 
[2026-07-15 23:26:42] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":15,"angle":247,"satellites":45,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:26: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-07-15 23:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739222784001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784137890000,"timestamp_ms":1784137890000,"timestamp_seconds":1784137890,"priority":1,"record_length":96,"hex_timestamp":"0000019f66e7b8d0"} 
[2026-07-15 23:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 23:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:26: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-07-15 23:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739222784001,"66":25191,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739222784001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:26:42] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739222784001,"power":25191,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":132832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:26:42] local.INFO: GPS data processed {"connection_id":132832,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:26:42] local.INFO: Acknowledgment sent {"connection_id":132832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:27:00] local.INFO: TCP Data received {"connection_id":135248,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:27:00] local.INFO: Processing buffer {"connection_id":135248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:27:00] local.INFO: IMEI packet received {"connection_id":135248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":135248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:27:05] local.INFO: TCP Data received {"connection_id":135248,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:27:05] local.INFO: Processing buffer {"connection_id":135248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:27:05] local.INFO: IMEI packet received {"connection_id":135248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":135248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:27:06] local.INFO: TCP Data received {"connection_id":135248,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66e7b8d0012d77aac005f2a5e0000f00f72d..."} 
[2026-07-15 23:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66e7b8d0012d77aac005f2a5e0000f00f72d..."} 
[2026-07-15 23:27:06] local.INFO: Processing buffer {"connection_id":135248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66e7b8d0012d77aac005f2a5e0000f00f72d..."} 
[2026-07-15 23:27:06] local.INFO: Packet analysis {"connection_id":135248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66e7"} 
[2026-07-15 23:27:06] local.INFO: Extracted packet for processing {"connection_id":135248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66e7"} 
[2026-07-15 23:27:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":15,"angle":247,"satellites":45,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739222784001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784137890000,"timestamp_ms":1784137890000,"timestamp_seconds":1784137890,"priority":1,"record_length":96,"hex_timestamp":"0000019f66e7b8d0"} 
[2026-07-15 23:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 23:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739222784001,"66":25191,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739222784001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:27:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739222784001,"power":25191,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":135248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:27:06] local.INFO: GPS data processed {"connection_id":135248,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:27:06] local.INFO: Acknowledgment sent {"connection_id":135248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:27:37] local.INFO: TCP Data received {"connection_id":135248,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66ec5098012d77aac005f2a5e0000e00f729..."} 
[2026-07-15 23:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66ec5098012d77aac005f2a5e0000e00f729..."} 
[2026-07-15 23:27:37] local.INFO: Processing buffer {"connection_id":135248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66ec5098012d77aac005f2a5e0000e00f729..."} 
[2026-07-15 23:27:37] local.INFO: Packet analysis {"connection_id":135248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66ec"} 
[2026-07-15 23:27:37] local.INFO: Extracted packet for processing {"connection_id":135248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66ec"} 
[2026-07-15 23:27:37] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":14,"angle":247,"satellites":41,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739299840001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784138191000,"timestamp_ms":1784138191000,"timestamp_seconds":1784138191,"priority":1,"record_length":96,"hex_timestamp":"0000019f66ec5098"} 
[2026-07-15 23:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 23:27:37] 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-07-15 23:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":135248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":135248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":135248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739299840001,"66":24832,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739299840001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:27:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739299840001,"power":24832,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":135248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:27:37] local.INFO: GPS data processed {"connection_id":135248,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:27:37] local.INFO: Acknowledgment sent {"connection_id":135248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:27:59] local.INFO: TCP Data received {"connection_id":133887,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:27:59] local.INFO: Processing buffer {"connection_id":133887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:27:59] local.INFO: IMEI packet received {"connection_id":133887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":133887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:28:05] local.INFO: TCP Data received {"connection_id":133887,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:28:05] local.INFO: Processing buffer {"connection_id":133887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:28:05] local.INFO: IMEI packet received {"connection_id":133887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":133887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:28:06] local.INFO: TCP Data received {"connection_id":133887,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66ec5098012d77aac005f2a5e0000e00f729..."} 
[2026-07-15 23:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66ec5098012d77aac005f2a5e0000e00f729..."} 
[2026-07-15 23:28:06] local.INFO: Processing buffer {"connection_id":133887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66ec5098012d77aac005f2a5e0000e00f729..."} 
[2026-07-15 23:28:06] local.INFO: Packet analysis {"connection_id":133887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66ec"} 
[2026-07-15 23:28:06] local.INFO: Extracted packet for processing {"connection_id":133887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66ec"} 
[2026-07-15 23:28:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":14,"angle":247,"satellites":41,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739299840001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784138191000,"timestamp_ms":1784138191000,"timestamp_seconds":1784138191,"priority":1,"record_length":96,"hex_timestamp":"0000019f66ec5098"} 
[2026-07-15 23:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 23:28:06] 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-07-15 23:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739299840001,"66":24832,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739299840001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:28:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739299840001,"power":24832,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":133887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:28:06] local.INFO: GPS data processed {"connection_id":133887,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:28:06] local.INFO: Acknowledgment sent {"connection_id":133887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:28:37] local.INFO: TCP Data received {"connection_id":133887,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66ec5098012d77aac005f2a5e0000e00f729..."} 
[2026-07-15 23:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66ec5098012d77aac005f2a5e0000e00f729..."} 
[2026-07-15 23:28:37] local.INFO: Processing buffer {"connection_id":133887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66ec5098012d77aac005f2a5e0000e00f729..."} 
[2026-07-15 23:28:37] local.INFO: Packet analysis {"connection_id":133887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66ec"} 
[2026-07-15 23:28:37] local.INFO: Extracted packet for processing {"connection_id":133887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66ec"} 
[2026-07-15 23:28:37] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":14,"angle":247,"satellites":41,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739299840001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784138191000,"timestamp_ms":1784138191000,"timestamp_seconds":1784138191,"priority":1,"record_length":96,"hex_timestamp":"0000019f66ec5098"} 
[2026-07-15 23:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 23:28:37] 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-07-15 23:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739299840001,"66":24832,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739299840001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:28:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739299840001,"power":24832,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":133887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:28:37] local.INFO: GPS data processed {"connection_id":133887,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:28:37] local.INFO: Acknowledgment sent {"connection_id":133887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:29:05] local.INFO: TCP Data received {"connection_id":133015,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:29:05] local.INFO: Processing buffer {"connection_id":133015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:29:05] local.INFO: IMEI packet received {"connection_id":133015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":133015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:29:10] local.INFO: TCP Data received {"connection_id":133015,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:29:10] local.INFO: Processing buffer {"connection_id":133015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:29:10] local.INFO: IMEI packet received {"connection_id":133015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":133015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:29:11] local.INFO: TCP Data received {"connection_id":133015,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66ec5098012d77aac005f2a5e0000e00f729..."} 
[2026-07-15 23:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66ec5098012d77aac005f2a5e0000e00f729..."} 
[2026-07-15 23:29:11] local.INFO: Processing buffer {"connection_id":133015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66ec5098012d77aac005f2a5e0000e00f729..."} 
[2026-07-15 23:29:11] local.INFO: Packet analysis {"connection_id":133015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66ec"} 
[2026-07-15 23:29:11] local.INFO: Extracted packet for processing {"connection_id":133015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66ec"} 
[2026-07-15 23:29:11] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":14,"angle":247,"satellites":41,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23: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-07-15 23:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739299840001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784138191000,"timestamp_ms":1784138191000,"timestamp_seconds":1784138191,"priority":1,"record_length":96,"hex_timestamp":"0000019f66ec5098"} 
[2026-07-15 23:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 23:29:11] 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-07-15 23: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-07-15 23:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":133015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":133015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":133015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739299840001,"66":24832,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739299840001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:29:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739299840001,"power":24832,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":133015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:29:11] local.INFO: GPS data processed {"connection_id":133015,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:29:11] local.INFO: Acknowledgment sent {"connection_id":133015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:29:15] local.INFO: TCP Data received {"connection_id":133015,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66ec5098012d77aac005f2a5e0000e00f729..."} 
[2026-07-15 23:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66ec5098012d77aac005f2a5e0000e00f729..."} 
[2026-07-15 23:29:15] local.INFO: Processing buffer {"connection_id":133015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66ec5098012d77aac005f2a5e0000e00f729..."} 
[2026-07-15 23:29:15] local.INFO: Packet analysis {"connection_id":133015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66ec"} 
[2026-07-15 23:29:15] local.INFO: Extracted packet for processing {"connection_id":133015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66ec"} 
[2026-07-15 23:29:15] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":14,"angle":247,"satellites":41,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739299840001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:29:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784138191000,"timestamp_ms":1784138191000,"timestamp_seconds":1784138191,"priority":1,"record_length":96,"hex_timestamp":"0000019f66ec5098"} 
[2026-07-15 23:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:29:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 23:29:15] 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-07-15 23:29:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":133015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":133015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":133015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:29:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739299840001,"66":24832,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739299840001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:29:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739299840001,"power":24832,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":133015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:29:15] local.INFO: GPS data processed {"connection_id":133015,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:29:15] local.INFO: Acknowledgment sent {"connection_id":133015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:30:00] local.INFO: TCP Data received {"connection_id":135250,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:30:00] local.INFO: Processing buffer {"connection_id":135250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:30:00] local.INFO: IMEI packet received {"connection_id":135250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":135250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:30:05] local.INFO: TCP Data received {"connection_id":135250,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:30:05] local.INFO: Processing buffer {"connection_id":135250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:30:05] local.INFO: IMEI packet received {"connection_id":135250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":135250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:30:06] local.INFO: TCP Data received {"connection_id":135250,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66ec5098012d77aac005f2a5e0000e00f729..."} 
[2026-07-15 23:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66ec5098012d77aac005f2a5e0000e00f729..."} 
[2026-07-15 23:30:06] local.INFO: Processing buffer {"connection_id":135250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66ec5098012d77aac005f2a5e0000e00f729..."} 
[2026-07-15 23:30:06] local.INFO: Packet analysis {"connection_id":135250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66ec"} 
[2026-07-15 23:30:06] local.INFO: Extracted packet for processing {"connection_id":135250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66ec"} 
[2026-07-15 23:30:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":14,"angle":247,"satellites":41,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739299840001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784138191000,"timestamp_ms":1784138191000,"timestamp_seconds":1784138191,"priority":1,"record_length":96,"hex_timestamp":"0000019f66ec5098"} 
[2026-07-15 23:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 23:30:06] 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-07-15 23:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739299840001,"66":24832,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739299840001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:30:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739299840001,"power":24832,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":135250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:30:06] local.INFO: GPS data processed {"connection_id":135250,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:30:06] local.INFO: Acknowledgment sent {"connection_id":135250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:30:37] local.INFO: TCP Data received {"connection_id":135250,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66ec5098012d77aac005f2a5e0000e00f729..."} 
[2026-07-15 23:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66ec5098012d77aac005f2a5e0000e00f729..."} 
[2026-07-15 23:30:37] local.INFO: Processing buffer {"connection_id":135250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66ec5098012d77aac005f2a5e0000e00f729..."} 
[2026-07-15 23:30:37] local.INFO: Packet analysis {"connection_id":135250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66ec"} 
[2026-07-15 23:30:37] local.INFO: Extracted packet for processing {"connection_id":135250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66ec"} 
[2026-07-15 23:30:37] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":14,"angle":247,"satellites":41,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23: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-07-15 23:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739299840001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784138191000,"timestamp_ms":1784138191000,"timestamp_seconds":1784138191,"priority":1,"record_length":96,"hex_timestamp":"0000019f66ec5098"} 
[2026-07-15 23:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 23:30:37] 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-07-15 23: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-07-15 23:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":135250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":135250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":135250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739299840001,"66":24832,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739299840001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:30:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739299840001,"power":24832,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":135250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:30:37] local.INFO: GPS data processed {"connection_id":135250,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:30:37] local.INFO: Acknowledgment sent {"connection_id":135250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:30:59] local.INFO: TCP Data received {"connection_id":133888,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:30:59] local.INFO: Processing buffer {"connection_id":133888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:30:59] local.INFO: IMEI packet received {"connection_id":133888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":133888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:31:05] local.INFO: TCP Data received {"connection_id":133888,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:31:05] local.INFO: Processing buffer {"connection_id":133888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:31:05] local.INFO: IMEI packet received {"connection_id":133888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":133888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:31:07] local.INFO: TCP Data received {"connection_id":133888,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66ec5098012d77aac005f2a5e0000e00f729..."} 
[2026-07-15 23:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66ec5098012d77aac005f2a5e0000e00f729..."} 
[2026-07-15 23:31:07] local.INFO: Processing buffer {"connection_id":133888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66ec5098012d77aac005f2a5e0000e00f729..."} 
[2026-07-15 23:31:07] local.INFO: Packet analysis {"connection_id":133888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66ec"} 
[2026-07-15 23:31:07] local.INFO: Extracted packet for processing {"connection_id":133888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66ec"} 
[2026-07-15 23:31:07] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":14,"angle":247,"satellites":41,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739299840001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784138191000,"timestamp_ms":1784138191000,"timestamp_seconds":1784138191,"priority":1,"record_length":96,"hex_timestamp":"0000019f66ec5098"} 
[2026-07-15 23:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 23:31:07] 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-07-15 23:31:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":133888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":133888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":133888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739299840001,"66":24832,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739299840001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:31:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739299840001,"power":24832,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":133888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:31:07] local.INFO: GPS data processed {"connection_id":133888,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:31:07] local.INFO: Acknowledgment sent {"connection_id":133888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:31:08] local.INFO: TCP Data received {"connection_id":133016,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133016,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:31:08] local.INFO: Processing buffer {"connection_id":133016,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:31:08] local.INFO: IMEI packet received {"connection_id":133016,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 23:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":133016,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:31:39] local.INFO: TCP Data received {"connection_id":133889,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133889,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:31:39] local.INFO: Processing buffer {"connection_id":133889,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:31:39] local.INFO: IMEI packet received {"connection_id":133889,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 23:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":133889,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:31:44] local.INFO: TCP Data received {"connection_id":133888,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66ec5098012d77aac005f2a5e0000e00f729..."} 
[2026-07-15 23:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66ec5098012d77aac005f2a5e0000e00f729..."} 
[2026-07-15 23:31:44] local.INFO: Processing buffer {"connection_id":133888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66ec5098012d77aac005f2a5e0000e00f729..."} 
[2026-07-15 23:31:44] local.INFO: Packet analysis {"connection_id":133888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66ec"} 
[2026-07-15 23:31:44] local.INFO: Extracted packet for processing {"connection_id":133888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66ec"} 
[2026-07-15 23:31:44] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":14,"angle":247,"satellites":41,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739299840001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:31:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784138191000,"timestamp_ms":1784138191000,"timestamp_seconds":1784138191,"priority":1,"record_length":96,"hex_timestamp":"0000019f66ec5098"} 
[2026-07-15 23:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:31:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 23:31:44] 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-07-15 23:31:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":133888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":133888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":133888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739299840001,"66":24832,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739299840001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:31:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739299840001,"power":24832,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":133888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:31:44] local.INFO: GPS data processed {"connection_id":133888,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:31:44] local.INFO: Acknowledgment sent {"connection_id":133888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:31:59] local.INFO: TCP Data received {"connection_id":132834,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:31:59] local.INFO: Processing buffer {"connection_id":132834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:31:59] local.INFO: IMEI packet received {"connection_id":132834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":132834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:32:05] local.INFO: TCP Data received {"connection_id":132834,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:32:05] local.INFO: Processing buffer {"connection_id":132834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:32:05] local.INFO: IMEI packet received {"connection_id":132834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":132834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:32:06] local.INFO: TCP Data received {"connection_id":132834,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66ec5098012d77aac005f2a5e0000e00f729..."} 
[2026-07-15 23:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66ec5098012d77aac005f2a5e0000e00f729..."} 
[2026-07-15 23:32:06] local.INFO: Processing buffer {"connection_id":132834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66ec5098012d77aac005f2a5e0000e00f729..."} 
[2026-07-15 23:32:06] local.INFO: Packet analysis {"connection_id":132834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66ec"} 
[2026-07-15 23:32:06] local.INFO: Extracted packet for processing {"connection_id":132834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66ec"} 
[2026-07-15 23:32:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":14,"angle":247,"satellites":41,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739299840001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784138191000,"timestamp_ms":1784138191000,"timestamp_seconds":1784138191,"priority":1,"record_length":96,"hex_timestamp":"0000019f66ec5098"} 
[2026-07-15 23:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-15 23:32:06] 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-07-15 23:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739299840001,"66":24832,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739299840001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:32:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739299840001,"power":24832,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":132834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:32:06] local.INFO: GPS data processed {"connection_id":132834,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:32:06] local.INFO: Acknowledgment sent {"connection_id":132834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:32:37] local.INFO: TCP Data received {"connection_id":132834,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66f0e860012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66f0e860012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:32:37] local.INFO: Processing buffer {"connection_id":132834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66f0e860012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:32:37] local.INFO: Packet analysis {"connection_id":132834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66f0"} 
[2026-07-15 23:32:37] local.INFO: Extracted packet for processing {"connection_id":132834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66f0"} 
[2026-07-15 23:32:37] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":16,"angle":247,"satellites":43,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23: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-07-15 23:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739376896001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784138492000,"timestamp_ms":1784138492000,"timestamp_seconds":1784138492,"priority":1,"record_length":96,"hex_timestamp":"0000019f66f0e860"} 
[2026-07-15 23:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-15 23:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23: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-07-15 23:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739376896001,"66":25702,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739376896001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:32:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739376896001,"power":25702,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":132834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:32:37] local.INFO: GPS data processed {"connection_id":132834,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:32:37] local.INFO: Acknowledgment sent {"connection_id":132834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:32:59] local.INFO: TCP Data received {"connection_id":132835,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:32:59] local.INFO: Processing buffer {"connection_id":132835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:32:59] local.INFO: IMEI packet received {"connection_id":132835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":132835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:33:05] local.INFO: TCP Data received {"connection_id":132835,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:33:05] local.INFO: Processing buffer {"connection_id":132835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:33:05] local.INFO: IMEI packet received {"connection_id":132835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":132835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:33:06] local.INFO: TCP Data received {"connection_id":132835,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66f0e860012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66f0e860012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:33:06] local.INFO: Processing buffer {"connection_id":132835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66f0e860012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:33:06] local.INFO: Packet analysis {"connection_id":132835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66f0"} 
[2026-07-15 23:33:06] local.INFO: Extracted packet for processing {"connection_id":132835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66f0"} 
[2026-07-15 23:33:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":16,"angle":247,"satellites":43,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739376896001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784138492000,"timestamp_ms":1784138492000,"timestamp_seconds":1784138492,"priority":1,"record_length":96,"hex_timestamp":"0000019f66f0e860"} 
[2026-07-15 23:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-15 23:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739376896001,"66":25702,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739376896001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:33:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739376896001,"power":25702,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":132835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:33:06] local.INFO: GPS data processed {"connection_id":132835,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:33:06] local.INFO: Acknowledgment sent {"connection_id":132835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:33:37] local.INFO: TCP Data received {"connection_id":132835,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66f0e860012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66f0e860012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:33:37] local.INFO: Processing buffer {"connection_id":132835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66f0e860012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:33:37] local.INFO: Packet analysis {"connection_id":132835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66f0"} 
[2026-07-15 23:33:37] local.INFO: Extracted packet for processing {"connection_id":132835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66f0"} 
[2026-07-15 23:33:37] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":16,"angle":247,"satellites":43,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739376896001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784138492000,"timestamp_ms":1784138492000,"timestamp_seconds":1784138492,"priority":1,"record_length":96,"hex_timestamp":"0000019f66f0e860"} 
[2026-07-15 23:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-15 23:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739376896001,"66":25702,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739376896001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:33:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739376896001,"power":25702,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":132835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:33:37] local.INFO: GPS data processed {"connection_id":132835,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:33:37] local.INFO: Acknowledgment sent {"connection_id":132835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:33:59] local.INFO: TCP Data received {"connection_id":135253,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:33:59] local.INFO: Processing buffer {"connection_id":135253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:33:59] local.INFO: IMEI packet received {"connection_id":135253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":135253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:34:05] local.INFO: TCP Data received {"connection_id":135253,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:34:05] local.INFO: Processing buffer {"connection_id":135253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:34:05] local.INFO: IMEI packet received {"connection_id":135253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":135253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:34:06] local.INFO: TCP Data received {"connection_id":135253,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66f0e860012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66f0e860012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:34:06] local.INFO: Processing buffer {"connection_id":135253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66f0e860012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:34:06] local.INFO: Packet analysis {"connection_id":135253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66f0"} 
[2026-07-15 23:34:06] local.INFO: Extracted packet for processing {"connection_id":135253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66f0"} 
[2026-07-15 23:34:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":16,"angle":247,"satellites":43,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23: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-07-15 23:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739376896001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784138492000,"timestamp_ms":1784138492000,"timestamp_seconds":1784138492,"priority":1,"record_length":96,"hex_timestamp":"0000019f66f0e860"} 
[2026-07-15 23:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-15 23:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23: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-07-15 23:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739376896001,"66":25702,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739376896001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:34:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739376896001,"power":25702,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":135253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:34:06] local.INFO: GPS data processed {"connection_id":135253,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:34:06] local.INFO: Acknowledgment sent {"connection_id":135253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:34:37] local.INFO: TCP Data received {"connection_id":135253,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66f0e860012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66f0e860012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:34:37] local.INFO: Processing buffer {"connection_id":135253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66f0e860012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:34:37] local.INFO: Packet analysis {"connection_id":135253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66f0"} 
[2026-07-15 23:34:37] local.INFO: Extracted packet for processing {"connection_id":135253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66f0"} 
[2026-07-15 23:34:37] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":16,"angle":247,"satellites":43,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739376896001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784138492000,"timestamp_ms":1784138492000,"timestamp_seconds":1784138492,"priority":1,"record_length":96,"hex_timestamp":"0000019f66f0e860"} 
[2026-07-15 23:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-15 23:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":135253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":135253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":135253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739376896001,"66":25702,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739376896001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:34:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739376896001,"power":25702,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":135253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:34:37] local.INFO: GPS data processed {"connection_id":135253,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:34:37] local.INFO: Acknowledgment sent {"connection_id":135253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:34:59] local.INFO: TCP Data received {"connection_id":133018,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:34:59] local.INFO: Processing buffer {"connection_id":133018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:34:59] local.INFO: IMEI packet received {"connection_id":133018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":133018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:35:05] local.INFO: TCP Data received {"connection_id":133018,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:35:05] local.INFO: Processing buffer {"connection_id":133018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:35:05] local.INFO: IMEI packet received {"connection_id":133018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":133018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:35:06] local.INFO: TCP Data received {"connection_id":133018,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66f0e860012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66f0e860012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:35:06] local.INFO: Processing buffer {"connection_id":133018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66f0e860012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:35:06] local.INFO: Packet analysis {"connection_id":133018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66f0"} 
[2026-07-15 23:35:06] local.INFO: Extracted packet for processing {"connection_id":133018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66f0"} 
[2026-07-15 23:35:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":16,"angle":247,"satellites":43,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739376896001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784138492000,"timestamp_ms":1784138492000,"timestamp_seconds":1784138492,"priority":1,"record_length":96,"hex_timestamp":"0000019f66f0e860"} 
[2026-07-15 23:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-15 23:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739376896001,"66":25702,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739376896001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:35:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739376896001,"power":25702,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":133018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:35:06] local.INFO: GPS data processed {"connection_id":133018,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:35:06] local.INFO: Acknowledgment sent {"connection_id":133018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:35:37] local.INFO: TCP Data received {"connection_id":133018,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66f0e860012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66f0e860012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:35:37] local.INFO: Processing buffer {"connection_id":133018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66f0e860012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:35:37] local.INFO: Packet analysis {"connection_id":133018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66f0"} 
[2026-07-15 23:35:37] local.INFO: Extracted packet for processing {"connection_id":133018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66f0"} 
[2026-07-15 23:35:37] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":16,"angle":247,"satellites":43,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23: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-07-15 23:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739376896001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784138492000,"timestamp_ms":1784138492000,"timestamp_seconds":1784138492,"priority":1,"record_length":96,"hex_timestamp":"0000019f66f0e860"} 
[2026-07-15 23:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-15 23:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23: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-07-15 23:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739376896001,"66":25702,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739376896001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:35:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739376896001,"power":25702,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":133018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:35:37] local.INFO: GPS data processed {"connection_id":133018,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:35:37] local.INFO: Acknowledgment sent {"connection_id":133018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:36:05] local.INFO: TCP Data received {"connection_id":132836,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:36:05] local.INFO: Processing buffer {"connection_id":132836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:36:05] local.INFO: IMEI packet received {"connection_id":132836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":132836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:36:10] local.INFO: TCP Data received {"connection_id":132836,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:36:10] local.INFO: Processing buffer {"connection_id":132836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:36:10] local.INFO: IMEI packet received {"connection_id":132836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":132836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:36:11] local.INFO: TCP Data received {"connection_id":132836,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66f0e860012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66f0e860012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:36:11] local.INFO: Processing buffer {"connection_id":132836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66f0e860012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:36:11] local.INFO: Packet analysis {"connection_id":132836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66f0"} 
[2026-07-15 23:36:11] local.INFO: Extracted packet for processing {"connection_id":132836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66f0"} 
[2026-07-15 23:36:11] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":16,"angle":247,"satellites":43,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739376896001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784138492000,"timestamp_ms":1784138492000,"timestamp_seconds":1784138492,"priority":1,"record_length":96,"hex_timestamp":"0000019f66f0e860"} 
[2026-07-15 23:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-15 23:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739376896001,"66":25702,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739376896001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:36:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739376896001,"power":25702,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":132836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:36:11] local.INFO: GPS data processed {"connection_id":132836,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:36:11] local.INFO: Acknowledgment sent {"connection_id":132836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:36:16] local.INFO: TCP Data received {"connection_id":132836,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66f0e860012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66f0e860012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:36:16] local.INFO: Processing buffer {"connection_id":132836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66f0e860012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:36:16] local.INFO: Packet analysis {"connection_id":132836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66f0"} 
[2026-07-15 23:36:16] local.INFO: Extracted packet for processing {"connection_id":132836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66f0"} 
[2026-07-15 23:36:16] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":16,"angle":247,"satellites":43,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739376896001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:36:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784138492000,"timestamp_ms":1784138492000,"timestamp_seconds":1784138492,"priority":1,"record_length":96,"hex_timestamp":"0000019f66f0e860"} 
[2026-07-15 23:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-15 23:36:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:36:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739376896001,"66":25702,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739376896001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:36:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739376896001,"power":25702,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":132836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:36:16] local.INFO: GPS data processed {"connection_id":132836,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:36:16] local.INFO: Acknowledgment sent {"connection_id":132836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:36:53] local.INFO: TCP Data received {"connection_id":135254,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135254,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:36:53] local.INFO: Processing buffer {"connection_id":135254,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:36:53] local.INFO: IMEI packet received {"connection_id":135254,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 23:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":135254,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:37:00] local.INFO: TCP Data received {"connection_id":135255,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:37:00] local.INFO: Processing buffer {"connection_id":135255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:37:00] local.INFO: IMEI packet received {"connection_id":135255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":135255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:37:05] local.INFO: TCP Data received {"connection_id":135255,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:37:05] local.INFO: Processing buffer {"connection_id":135255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:37:05] local.INFO: IMEI packet received {"connection_id":135255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":135255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:37:06] local.INFO: TCP Data received {"connection_id":135255,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66f0e860012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66f0e860012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:37:06] local.INFO: Processing buffer {"connection_id":135255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66f0e860012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:37:06] local.INFO: Packet analysis {"connection_id":135255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66f0"} 
[2026-07-15 23:37:06] local.INFO: Extracted packet for processing {"connection_id":135255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66f0"} 
[2026-07-15 23:37:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":16,"angle":247,"satellites":43,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739376896001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784138492000,"timestamp_ms":1784138492000,"timestamp_seconds":1784138492,"priority":1,"record_length":96,"hex_timestamp":"0000019f66f0e860"} 
[2026-07-15 23:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-15 23:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739376896001,"66":25702,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739376896001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:37:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739376896001,"power":25702,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":135255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:37:06] local.INFO: GPS data processed {"connection_id":135255,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:37:06] local.INFO: Acknowledgment sent {"connection_id":135255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:37:33] local.INFO: TCP Data received {"connection_id":132837,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132837,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:37:33] local.INFO: Processing buffer {"connection_id":132837,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:37:33] local.INFO: IMEI packet received {"connection_id":132837,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 23:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":132837,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:37:37] local.INFO: TCP Data received {"connection_id":135255,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66f58028012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66f58028012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:37:37] local.INFO: Processing buffer {"connection_id":135255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66f58028012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:37:37] local.INFO: Packet analysis {"connection_id":135255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66f5"} 
[2026-07-15 23:37:37] local.INFO: Extracted packet for processing {"connection_id":135255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66f5"} 
[2026-07-15 23:37:37] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":16,"angle":247,"satellites":43,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739453952001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784138793000,"timestamp_ms":1784138793000,"timestamp_seconds":1784138793,"priority":1,"record_length":96,"hex_timestamp":"0000019f66f58028"} 
[2026-07-15 23:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 23:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":135255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":135255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":135255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739453952001,"66":25756,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739453952001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:37:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739453952001,"power":25756,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":135255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:37:37] local.INFO: GPS data processed {"connection_id":135255,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:37:37] local.INFO: Acknowledgment sent {"connection_id":135255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:37:59] local.INFO: TCP Data received {"connection_id":135256,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:37:59] local.INFO: Processing buffer {"connection_id":135256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:37:59] local.INFO: IMEI packet received {"connection_id":135256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":135256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:38:05] local.INFO: TCP Data received {"connection_id":135256,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:38:05] local.INFO: Processing buffer {"connection_id":135256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:38:05] local.INFO: IMEI packet received {"connection_id":135256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":135256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:38:06] local.INFO: TCP Data received {"connection_id":135256,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66f58028012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66f58028012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:38:06] local.INFO: Processing buffer {"connection_id":135256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66f58028012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:38:06] local.INFO: Packet analysis {"connection_id":135256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66f5"} 
[2026-07-15 23:38:06] local.INFO: Extracted packet for processing {"connection_id":135256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66f5"} 
[2026-07-15 23:38:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":16,"angle":247,"satellites":43,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23: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-07-15 23:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739453952001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784138793000,"timestamp_ms":1784138793000,"timestamp_seconds":1784138793,"priority":1,"record_length":96,"hex_timestamp":"0000019f66f58028"} 
[2026-07-15 23:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 23:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23: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-07-15 23:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739453952001,"66":25756,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739453952001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:38:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739453952001,"power":25756,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":135256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:38:06] local.INFO: GPS data processed {"connection_id":135256,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:38:06] local.INFO: Acknowledgment sent {"connection_id":135256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:38:37] local.INFO: TCP Data received {"connection_id":135256,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66f58028012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66f58028012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:38:37] local.INFO: Processing buffer {"connection_id":135256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66f58028012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:38:37] local.INFO: Packet analysis {"connection_id":135256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66f5"} 
[2026-07-15 23:38:37] local.INFO: Extracted packet for processing {"connection_id":135256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66f5"} 
[2026-07-15 23:38:37] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":16,"angle":247,"satellites":43,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739453952001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784138793000,"timestamp_ms":1784138793000,"timestamp_seconds":1784138793,"priority":1,"record_length":96,"hex_timestamp":"0000019f66f58028"} 
[2026-07-15 23:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 23:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":135256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":135256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":135256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739453952001,"66":25756,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739453952001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:38:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739453952001,"power":25756,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":135256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:38:37] local.INFO: GPS data processed {"connection_id":135256,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:38:37] local.INFO: Acknowledgment sent {"connection_id":135256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:38:59] local.INFO: TCP Data received {"connection_id":132838,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:38:59] local.INFO: Processing buffer {"connection_id":132838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:38:59] local.INFO: IMEI packet received {"connection_id":132838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":132838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:39:05] local.INFO: TCP Data received {"connection_id":132838,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:39:05] local.INFO: Processing buffer {"connection_id":132838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:39:05] local.INFO: IMEI packet received {"connection_id":132838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":132838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:39:06] local.INFO: TCP Data received {"connection_id":132838,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66f58028012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66f58028012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:39:06] local.INFO: Processing buffer {"connection_id":132838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66f58028012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:39:06] local.INFO: Packet analysis {"connection_id":132838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66f5"} 
[2026-07-15 23:39:06] local.INFO: Extracted packet for processing {"connection_id":132838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66f5"} 
[2026-07-15 23:39:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":16,"angle":247,"satellites":43,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739453952001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784138793000,"timestamp_ms":1784138793000,"timestamp_seconds":1784138793,"priority":1,"record_length":96,"hex_timestamp":"0000019f66f58028"} 
[2026-07-15 23:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 23:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739453952001,"66":25756,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739453952001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:39:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739453952001,"power":25756,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":132838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:39:06] local.INFO: GPS data processed {"connection_id":132838,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:39:06] local.INFO: Acknowledgment sent {"connection_id":132838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:39:37] local.INFO: TCP Data received {"connection_id":132838,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66f58028012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66f58028012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:39:37] local.INFO: Processing buffer {"connection_id":132838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66f58028012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:39:37] local.INFO: Packet analysis {"connection_id":132838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66f5"} 
[2026-07-15 23:39:37] local.INFO: Extracted packet for processing {"connection_id":132838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66f5"} 
[2026-07-15 23:39:37] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":16,"angle":247,"satellites":43,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739453952001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784138793000,"timestamp_ms":1784138793000,"timestamp_seconds":1784138793,"priority":1,"record_length":96,"hex_timestamp":"0000019f66f58028"} 
[2026-07-15 23:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 23:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739453952001,"66":25756,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739453952001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:39:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739453952001,"power":25756,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":132838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:39:37] local.INFO: GPS data processed {"connection_id":132838,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:39:37] local.INFO: Acknowledgment sent {"connection_id":132838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:40:05] local.INFO: TCP Data received {"connection_id":133021,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:40:05] local.INFO: Processing buffer {"connection_id":133021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:40:05] local.INFO: IMEI packet received {"connection_id":133021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":133021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:40:10] local.INFO: TCP Data received {"connection_id":133021,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:40:10] local.INFO: Processing buffer {"connection_id":133021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:40:10] local.INFO: IMEI packet received {"connection_id":133021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":133021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:40:11] local.INFO: TCP Data received {"connection_id":133021,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66f58028012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66f58028012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:40:11] local.INFO: Processing buffer {"connection_id":133021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66f58028012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:40:11] local.INFO: Packet analysis {"connection_id":133021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66f5"} 
[2026-07-15 23:40:11] local.INFO: Extracted packet for processing {"connection_id":133021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66f5"} 
[2026-07-15 23:40:11] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":16,"angle":247,"satellites":43,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739453952001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784138793000,"timestamp_ms":1784138793000,"timestamp_seconds":1784138793,"priority":1,"record_length":96,"hex_timestamp":"0000019f66f58028"} 
[2026-07-15 23:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 23:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:40:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":133021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":133021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":133021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739453952001,"66":25756,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739453952001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:40:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739453952001,"power":25756,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":133021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:40:11] local.INFO: GPS data processed {"connection_id":133021,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:40:11] local.INFO: Acknowledgment sent {"connection_id":133021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:40:16] local.INFO: TCP Data received {"connection_id":133021,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66f58028012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66f58028012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:40:16] local.INFO: Processing buffer {"connection_id":133021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66f58028012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:40:16] local.INFO: Packet analysis {"connection_id":133021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66f5"} 
[2026-07-15 23:40:16] local.INFO: Extracted packet for processing {"connection_id":133021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66f5"} 
[2026-07-15 23:40:16] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":16,"angle":247,"satellites":43,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739453952001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:40:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784138793000,"timestamp_ms":1784138793000,"timestamp_seconds":1784138793,"priority":1,"record_length":96,"hex_timestamp":"0000019f66f58028"} 
[2026-07-15 23:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 23:40:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":133021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":133021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":133021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739453952001,"66":25756,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739453952001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:40:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739453952001,"power":25756,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":133021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:40:16] local.INFO: GPS data processed {"connection_id":133021,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:40:16] local.INFO: Acknowledgment sent {"connection_id":133021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:41:00] local.INFO: TCP Data received {"connection_id":132840,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:41:00] local.INFO: Processing buffer {"connection_id":132840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:41:00] local.INFO: IMEI packet received {"connection_id":132840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":132840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:41:05] local.INFO: TCP Data received {"connection_id":132840,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:41:05] local.INFO: Processing buffer {"connection_id":132840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:41:05] local.INFO: IMEI packet received {"connection_id":132840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":132840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:41:06] local.INFO: TCP Data received {"connection_id":132840,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66f58028012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66f58028012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:41:06] local.INFO: Processing buffer {"connection_id":132840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66f58028012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:41:06] local.INFO: Packet analysis {"connection_id":132840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66f5"} 
[2026-07-15 23:41:06] local.INFO: Extracted packet for processing {"connection_id":132840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66f5"} 
[2026-07-15 23:41:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":16,"angle":247,"satellites":43,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739453952001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784138793000,"timestamp_ms":1784138793000,"timestamp_seconds":1784138793,"priority":1,"record_length":96,"hex_timestamp":"0000019f66f58028"} 
[2026-07-15 23:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 23:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739453952001,"66":25756,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739453952001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:41:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739453952001,"power":25756,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":132840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:41:06] local.INFO: GPS data processed {"connection_id":132840,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:41:06] local.INFO: Acknowledgment sent {"connection_id":132840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:41:37] local.INFO: TCP Data received {"connection_id":132840,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66f58028012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66f58028012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:41:37] local.INFO: Processing buffer {"connection_id":132840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66f58028012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:41:37] local.INFO: Packet analysis {"connection_id":132840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66f5"} 
[2026-07-15 23:41:37] local.INFO: Extracted packet for processing {"connection_id":132840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66f5"} 
[2026-07-15 23:41:37] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":16,"angle":247,"satellites":43,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739453952001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784138793000,"timestamp_ms":1784138793000,"timestamp_seconds":1784138793,"priority":1,"record_length":96,"hex_timestamp":"0000019f66f58028"} 
[2026-07-15 23:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 23:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739453952001,"66":25756,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739453952001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:41:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739453952001,"power":25756,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":132840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:41:37] local.INFO: GPS data processed {"connection_id":132840,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:41:37] local.INFO: Acknowledgment sent {"connection_id":132840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:41:59] local.INFO: TCP Data received {"connection_id":133022,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:41:59] local.INFO: Processing buffer {"connection_id":133022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:41:59] local.INFO: IMEI packet received {"connection_id":133022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":133022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:42:05] local.INFO: TCP Data received {"connection_id":133022,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:42:05] local.INFO: Processing buffer {"connection_id":133022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:42:05] local.INFO: IMEI packet received {"connection_id":133022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":133022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:42:06] local.INFO: TCP Data received {"connection_id":133022,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66f58028012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66f58028012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:42:06] local.INFO: Processing buffer {"connection_id":133022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66f58028012d77aac005f2a5e0001000f72b..."} 
[2026-07-15 23:42:06] local.INFO: Packet analysis {"connection_id":133022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66f5"} 
[2026-07-15 23:42:06] local.INFO: Extracted packet for processing {"connection_id":133022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66f5"} 
[2026-07-15 23:42:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":16,"angle":247,"satellites":43,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739453952001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784138793000,"timestamp_ms":1784138793000,"timestamp_seconds":1784138793,"priority":1,"record_length":96,"hex_timestamp":"0000019f66f58028"} 
[2026-07-15 23:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 23:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739453952001,"66":25756,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739453952001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:42:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739453952001,"power":25756,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":133022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:42:06] local.INFO: GPS data processed {"connection_id":133022,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:42:06] local.INFO: Acknowledgment sent {"connection_id":133022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:42:37] local.INFO: TCP Data received {"connection_id":133022,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66fa17f0012d77aac005f2a5e0001000f728..."} 
[2026-07-15 23:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66fa17f0012d77aac005f2a5e0001000f728..."} 
[2026-07-15 23:42:37] local.INFO: Processing buffer {"connection_id":133022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66fa17f0012d77aac005f2a5e0001000f728..."} 
[2026-07-15 23:42:37] local.INFO: Packet analysis {"connection_id":133022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66fa"} 
[2026-07-15 23:42:37] local.INFO: Extracted packet for processing {"connection_id":133022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66fa"} 
[2026-07-15 23:42:37] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":16,"angle":247,"satellites":40,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23: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-07-15 23:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739531008001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784139094000,"timestamp_ms":1784139094000,"timestamp_seconds":1784139094,"priority":1,"record_length":96,"hex_timestamp":"0000019f66fa17f0"} 
[2026-07-15 23:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 23:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739531008001,"66":25756,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739531008001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:42:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739531008001,"power":25756,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":133022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:42:37] local.INFO: GPS data processed {"connection_id":133022,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:42:37] local.INFO: Acknowledgment sent {"connection_id":133022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:42:53] local.INFO: TCP Data received {"connection_id":133891,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133891,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:42:53] local.INFO: Processing buffer {"connection_id":133891,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:42:53] local.INFO: IMEI packet received {"connection_id":133891,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 23:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":133891,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:43:05] local.INFO: TCP Data received {"connection_id":135258,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:43:05] local.INFO: Processing buffer {"connection_id":135258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:43:05] local.INFO: IMEI packet received {"connection_id":135258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":135258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:43:10] local.INFO: TCP Data received {"connection_id":135258,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:43:10] local.INFO: Processing buffer {"connection_id":135258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:43:10] local.INFO: IMEI packet received {"connection_id":135258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":135258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:43:11] local.INFO: TCP Data received {"connection_id":135258,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66fa17f0012d77aac005f2a5e0001000f728..."} 
[2026-07-15 23:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66fa17f0012d77aac005f2a5e0001000f728..."} 
[2026-07-15 23:43:11] local.INFO: Processing buffer {"connection_id":135258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66fa17f0012d77aac005f2a5e0001000f728..."} 
[2026-07-15 23:43:11] local.INFO: Packet analysis {"connection_id":135258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66fa"} 
[2026-07-15 23:43:11] local.INFO: Extracted packet for processing {"connection_id":135258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66fa"} 
[2026-07-15 23:43:11] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":16,"angle":247,"satellites":40,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23: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-07-15 23:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739531008001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784139094000,"timestamp_ms":1784139094000,"timestamp_seconds":1784139094,"priority":1,"record_length":96,"hex_timestamp":"0000019f66fa17f0"} 
[2026-07-15 23:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 23:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23: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-07-15 23:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":135258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":135258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":135258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739531008001,"66":25756,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739531008001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:43:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739531008001,"power":25756,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":135258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:43:11] local.INFO: GPS data processed {"connection_id":135258,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:43:11] local.INFO: Acknowledgment sent {"connection_id":135258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:43:15] local.INFO: TCP Data received {"connection_id":135258,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66fa17f0012d77aac005f2a5e0001000f728..."} 
[2026-07-15 23:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66fa17f0012d77aac005f2a5e0001000f728..."} 
[2026-07-15 23:43:15] local.INFO: Processing buffer {"connection_id":135258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66fa17f0012d77aac005f2a5e0001000f728..."} 
[2026-07-15 23:43:15] local.INFO: Packet analysis {"connection_id":135258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66fa"} 
[2026-07-15 23:43:15] local.INFO: Extracted packet for processing {"connection_id":135258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66fa"} 
[2026-07-15 23:43:15] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":16,"angle":247,"satellites":40,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739531008001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784139094000,"timestamp_ms":1784139094000,"timestamp_seconds":1784139094,"priority":1,"record_length":96,"hex_timestamp":"0000019f66fa17f0"} 
[2026-07-15 23:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 23:43:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:43:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":135258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":135258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":135258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739531008001,"66":25756,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739531008001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:43:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739531008001,"power":25756,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":135258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:43:15] local.INFO: GPS data processed {"connection_id":135258,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:43:15] local.INFO: Acknowledgment sent {"connection_id":135258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:44:00] local.INFO: TCP Data received {"connection_id":135259,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:44:00] local.INFO: Processing buffer {"connection_id":135259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:44:00] local.INFO: IMEI packet received {"connection_id":135259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":135259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:44:05] local.INFO: TCP Data received {"connection_id":135259,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:44:05] local.INFO: Processing buffer {"connection_id":135259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:44:05] local.INFO: IMEI packet received {"connection_id":135259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":135259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:44:06] local.INFO: TCP Data received {"connection_id":135259,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66fa17f0012d77aac005f2a5e0001000f728..."} 
[2026-07-15 23:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66fa17f0012d77aac005f2a5e0001000f728..."} 
[2026-07-15 23:44:06] local.INFO: Processing buffer {"connection_id":135259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66fa17f0012d77aac005f2a5e0001000f728..."} 
[2026-07-15 23:44:06] local.INFO: Packet analysis {"connection_id":135259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66fa"} 
[2026-07-15 23:44:06] local.INFO: Extracted packet for processing {"connection_id":135259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66fa"} 
[2026-07-15 23:44:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":16,"angle":247,"satellites":40,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739531008001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784139094000,"timestamp_ms":1784139094000,"timestamp_seconds":1784139094,"priority":1,"record_length":96,"hex_timestamp":"0000019f66fa17f0"} 
[2026-07-15 23:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 23:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739531008001,"66":25756,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739531008001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:44:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739531008001,"power":25756,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":135259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:44:06] local.INFO: GPS data processed {"connection_id":135259,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:44:06] local.INFO: Acknowledgment sent {"connection_id":135259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:44:37] local.INFO: TCP Data received {"connection_id":135259,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66fa17f0012d77aac005f2a5e0001000f728..."} 
[2026-07-15 23:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66fa17f0012d77aac005f2a5e0001000f728..."} 
[2026-07-15 23:44:37] local.INFO: Processing buffer {"connection_id":135259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66fa17f0012d77aac005f2a5e0001000f728..."} 
[2026-07-15 23:44:37] local.INFO: Packet analysis {"connection_id":135259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66fa"} 
[2026-07-15 23:44:37] local.INFO: Extracted packet for processing {"connection_id":135259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66fa"} 
[2026-07-15 23:44:37] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":16,"angle":247,"satellites":40,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739531008001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784139094000,"timestamp_ms":1784139094000,"timestamp_seconds":1784139094,"priority":1,"record_length":96,"hex_timestamp":"0000019f66fa17f0"} 
[2026-07-15 23:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 23:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":135259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":135259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":135259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739531008001,"66":25756,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739531008001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:44:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739531008001,"power":25756,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":135259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:44:37] local.INFO: GPS data processed {"connection_id":135259,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:44:37] local.INFO: Acknowledgment sent {"connection_id":135259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:45:00] local.INFO: TCP Data received {"connection_id":133023,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:45:00] local.INFO: Processing buffer {"connection_id":133023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:45:00] local.INFO: IMEI packet received {"connection_id":133023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":133023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:45:05] local.INFO: TCP Data received {"connection_id":133023,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:45:05] local.INFO: Processing buffer {"connection_id":133023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:45:05] local.INFO: IMEI packet received {"connection_id":133023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":133023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:45:06] local.INFO: TCP Data received {"connection_id":133023,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66fa17f0012d77aac005f2a5e0001000f728..."} 
[2026-07-15 23:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66fa17f0012d77aac005f2a5e0001000f728..."} 
[2026-07-15 23:45:06] local.INFO: Processing buffer {"connection_id":133023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66fa17f0012d77aac005f2a5e0001000f728..."} 
[2026-07-15 23:45:06] local.INFO: Packet analysis {"connection_id":133023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66fa"} 
[2026-07-15 23:45:06] local.INFO: Extracted packet for processing {"connection_id":133023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66fa"} 
[2026-07-15 23:45:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":16,"angle":247,"satellites":40,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739531008001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784139094000,"timestamp_ms":1784139094000,"timestamp_seconds":1784139094,"priority":1,"record_length":96,"hex_timestamp":"0000019f66fa17f0"} 
[2026-07-15 23:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 23:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739531008001,"66":25756,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739531008001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:45:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739531008001,"power":25756,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":133023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:45:06] local.INFO: GPS data processed {"connection_id":133023,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:45:06] local.INFO: Acknowledgment sent {"connection_id":133023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:45:37] local.INFO: TCP Data received {"connection_id":133023,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66fa17f0012d77aac005f2a5e0001000f728..."} 
[2026-07-15 23:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66fa17f0012d77aac005f2a5e0001000f728..."} 
[2026-07-15 23:45:37] local.INFO: Processing buffer {"connection_id":133023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66fa17f0012d77aac005f2a5e0001000f728..."} 
[2026-07-15 23:45:37] local.INFO: Packet analysis {"connection_id":133023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66fa"} 
[2026-07-15 23:45:37] local.INFO: Extracted packet for processing {"connection_id":133023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66fa"} 
[2026-07-15 23:45:37] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":16,"angle":247,"satellites":40,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739531008001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784139094000,"timestamp_ms":1784139094000,"timestamp_seconds":1784139094,"priority":1,"record_length":96,"hex_timestamp":"0000019f66fa17f0"} 
[2026-07-15 23:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 23:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739531008001,"66":25756,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739531008001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:45:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739531008001,"power":25756,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":133023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:45:37] local.INFO: GPS data processed {"connection_id":133023,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:45:37] local.INFO: Acknowledgment sent {"connection_id":133023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:45:59] local.INFO: TCP Data received {"connection_id":132842,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:45:59] local.INFO: Processing buffer {"connection_id":132842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:45:59] local.INFO: IMEI packet received {"connection_id":132842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":132842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:46:05] local.INFO: TCP Data received {"connection_id":132842,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:46:05] local.INFO: Processing buffer {"connection_id":132842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:46:05] local.INFO: IMEI packet received {"connection_id":132842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":132842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:46:06] local.INFO: TCP Data received {"connection_id":132842,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66fa17f0012d77aac005f2a5e0001000f728..."} 
[2026-07-15 23:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66fa17f0012d77aac005f2a5e0001000f728..."} 
[2026-07-15 23:46:06] local.INFO: Processing buffer {"connection_id":132842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66fa17f0012d77aac005f2a5e0001000f728..."} 
[2026-07-15 23:46:06] local.INFO: Packet analysis {"connection_id":132842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66fa"} 
[2026-07-15 23:46:06] local.INFO: Extracted packet for processing {"connection_id":132842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66fa"} 
[2026-07-15 23:46:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":16,"angle":247,"satellites":40,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23: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-07-15 23:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739531008001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784139094000,"timestamp_ms":1784139094000,"timestamp_seconds":1784139094,"priority":1,"record_length":96,"hex_timestamp":"0000019f66fa17f0"} 
[2026-07-15 23:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 23:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23: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-07-15 23:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739531008001,"66":25756,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739531008001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:46:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739531008001,"power":25756,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":132842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:46:06] local.INFO: GPS data processed {"connection_id":132842,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:46:06] local.INFO: Acknowledgment sent {"connection_id":132842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:46:37] local.INFO: TCP Data received {"connection_id":132842,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66fa17f0012d77aac005f2a5e0001000f728..."} 
[2026-07-15 23:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66fa17f0012d77aac005f2a5e0001000f728..."} 
[2026-07-15 23:46:37] local.INFO: Processing buffer {"connection_id":132842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66fa17f0012d77aac005f2a5e0001000f728..."} 
[2026-07-15 23:46:37] local.INFO: Packet analysis {"connection_id":132842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66fa"} 
[2026-07-15 23:46:37] local.INFO: Extracted packet for processing {"connection_id":132842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66fa"} 
[2026-07-15 23:46:37] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":16,"angle":247,"satellites":40,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23: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-07-15 23:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739531008001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784139094000,"timestamp_ms":1784139094000,"timestamp_seconds":1784139094,"priority":1,"record_length":96,"hex_timestamp":"0000019f66fa17f0"} 
[2026-07-15 23:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 23:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23: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-07-15 23:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739531008001,"66":25756,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739531008001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:46:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739531008001,"power":25756,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":132842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:46:37] local.INFO: GPS data processed {"connection_id":132842,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:46:37] local.INFO: Acknowledgment sent {"connection_id":132842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:46:59] local.INFO: TCP Data received {"connection_id":135260,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:46:59] local.INFO: Processing buffer {"connection_id":135260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:46:59] local.INFO: IMEI packet received {"connection_id":135260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":135260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:47:05] local.INFO: TCP Data received {"connection_id":135260,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:47:05] local.INFO: Processing buffer {"connection_id":135260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:47:05] local.INFO: IMEI packet received {"connection_id":135260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":135260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:47:06] local.INFO: TCP Data received {"connection_id":135260,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66fa17f0012d77aac005f2a5e0001000f728..."} 
[2026-07-15 23:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66fa17f0012d77aac005f2a5e0001000f728..."} 
[2026-07-15 23:47:06] local.INFO: Processing buffer {"connection_id":135260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66fa17f0012d77aac005f2a5e0001000f728..."} 
[2026-07-15 23:47:06] local.INFO: Packet analysis {"connection_id":135260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66fa"} 
[2026-07-15 23:47:06] local.INFO: Extracted packet for processing {"connection_id":135260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66fa"} 
[2026-07-15 23:47:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":16,"angle":247,"satellites":40,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739531008001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784139094000,"timestamp_ms":1784139094000,"timestamp_seconds":1784139094,"priority":1,"record_length":96,"hex_timestamp":"0000019f66fa17f0"} 
[2026-07-15 23:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 23:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739531008001,"66":25756,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739531008001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:47:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739531008001,"power":25756,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":135260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:47:06] local.INFO: GPS data processed {"connection_id":135260,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:47:06] local.INFO: Acknowledgment sent {"connection_id":135260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:47:42] local.INFO: TCP Data received {"connection_id":135260,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66feafb8012d77aac005f2a5e0000600f729..."} 
[2026-07-15 23:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66feafb8012d77aac005f2a5e0000600f729..."} 
[2026-07-15 23:47:42] local.INFO: Processing buffer {"connection_id":135260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66feafb8012d77aac005f2a5e0000600f729..."} 
[2026-07-15 23:47:42] local.INFO: Packet analysis {"connection_id":135260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66fe"} 
[2026-07-15 23:47:42] local.INFO: Extracted packet for processing {"connection_id":135260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66fe"} 
[2026-07-15 23:47:42] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":6,"angle":247,"satellites":41,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739608064001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784139395000,"timestamp_ms":1784139395000,"timestamp_seconds":1784139395,"priority":1,"record_length":96,"hex_timestamp":"0000019f66feafb8"} 
[2026-07-15 23:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 23:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":135260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":135260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":135260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739608064001,"66":25745,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739608064001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:47:42] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739608064001,"power":25745,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":135260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:47:42] local.INFO: GPS data processed {"connection_id":135260,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:47:42] local.INFO: Acknowledgment sent {"connection_id":135260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:48:00] local.INFO: TCP Data received {"connection_id":135261,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:48:00] local.INFO: Processing buffer {"connection_id":135261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:48:00] local.INFO: IMEI packet received {"connection_id":135261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":135261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:48:05] local.INFO: TCP Data received {"connection_id":135261,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:48:05] local.INFO: Processing buffer {"connection_id":135261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:48:05] local.INFO: IMEI packet received {"connection_id":135261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":135261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:48:06] local.INFO: TCP Data received {"connection_id":135261,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66feafb8012d77aac005f2a5e0000600f729..."} 
[2026-07-15 23:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66feafb8012d77aac005f2a5e0000600f729..."} 
[2026-07-15 23:48:06] local.INFO: Processing buffer {"connection_id":135261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66feafb8012d77aac005f2a5e0000600f729..."} 
[2026-07-15 23:48:06] local.INFO: Packet analysis {"connection_id":135261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66fe"} 
[2026-07-15 23:48:06] local.INFO: Extracted packet for processing {"connection_id":135261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66fe"} 
[2026-07-15 23:48:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":6,"angle":247,"satellites":41,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23: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-07-15 23:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739608064001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784139395000,"timestamp_ms":1784139395000,"timestamp_seconds":1784139395,"priority":1,"record_length":96,"hex_timestamp":"0000019f66feafb8"} 
[2026-07-15 23:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 23:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23: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-07-15 23:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739608064001,"66":25745,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739608064001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:48:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739608064001,"power":25745,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":135261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:48:06] local.INFO: GPS data processed {"connection_id":135261,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:48:06] local.INFO: Acknowledgment sent {"connection_id":135261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:48:33] local.INFO: TCP Data received {"connection_id":132844,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132844,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:48:33] local.INFO: Processing buffer {"connection_id":132844,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:48:33] local.INFO: IMEI packet received {"connection_id":132844,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 23:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":132844,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:48:37] local.INFO: TCP Data received {"connection_id":135261,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66feafb8012d77aac005f2a5e0000600f729..."} 
[2026-07-15 23:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66feafb8012d77aac005f2a5e0000600f729..."} 
[2026-07-15 23:48:37] local.INFO: Processing buffer {"connection_id":135261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66feafb8012d77aac005f2a5e0000600f729..."} 
[2026-07-15 23:48:37] local.INFO: Packet analysis {"connection_id":135261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66fe"} 
[2026-07-15 23:48:37] local.INFO: Extracted packet for processing {"connection_id":135261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66fe"} 
[2026-07-15 23:48:37] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":6,"angle":247,"satellites":41,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739608064001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784139395000,"timestamp_ms":1784139395000,"timestamp_seconds":1784139395,"priority":1,"record_length":96,"hex_timestamp":"0000019f66feafb8"} 
[2026-07-15 23:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 23:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":135261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":135261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":135261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739608064001,"66":25745,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739608064001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:48:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739608064001,"power":25745,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":135261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:48:37] local.INFO: GPS data processed {"connection_id":135261,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:48:37] local.INFO: Acknowledgment sent {"connection_id":135261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:49:00] local.INFO: TCP Data received {"connection_id":133894,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:49:00] local.INFO: Processing buffer {"connection_id":133894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:49:00] local.INFO: IMEI packet received {"connection_id":133894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":133894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:49:05] local.INFO: TCP Data received {"connection_id":133894,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:49:05] local.INFO: Processing buffer {"connection_id":133894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:49:05] local.INFO: IMEI packet received {"connection_id":133894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":133894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:49:06] local.INFO: TCP Data received {"connection_id":133894,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66feafb8012d77aac005f2a5e0000600f729..."} 
[2026-07-15 23:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66feafb8012d77aac005f2a5e0000600f729..."} 
[2026-07-15 23:49:06] local.INFO: Processing buffer {"connection_id":133894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66feafb8012d77aac005f2a5e0000600f729..."} 
[2026-07-15 23:49:06] local.INFO: Packet analysis {"connection_id":133894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66fe"} 
[2026-07-15 23:49:06] local.INFO: Extracted packet for processing {"connection_id":133894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66fe"} 
[2026-07-15 23:49:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":6,"angle":247,"satellites":41,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739608064001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784139395000,"timestamp_ms":1784139395000,"timestamp_seconds":1784139395,"priority":1,"record_length":96,"hex_timestamp":"0000019f66feafb8"} 
[2026-07-15 23:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 23:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739608064001,"66":25745,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739608064001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:49:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739608064001,"power":25745,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":133894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:49:06] local.INFO: GPS data processed {"connection_id":133894,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:49:06] local.INFO: Acknowledgment sent {"connection_id":133894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:49:37] local.INFO: TCP Data received {"connection_id":133894,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66feafb8012d77aac005f2a5e0000600f729..."} 
[2026-07-15 23:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66feafb8012d77aac005f2a5e0000600f729..."} 
[2026-07-15 23:49:37] local.INFO: Processing buffer {"connection_id":133894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66feafb8012d77aac005f2a5e0000600f729..."} 
[2026-07-15 23:49:37] local.INFO: Packet analysis {"connection_id":133894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66fe"} 
[2026-07-15 23:49:37] local.INFO: Extracted packet for processing {"connection_id":133894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66fe"} 
[2026-07-15 23:49:37] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":6,"angle":247,"satellites":41,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739608064001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784139395000,"timestamp_ms":1784139395000,"timestamp_seconds":1784139395,"priority":1,"record_length":96,"hex_timestamp":"0000019f66feafb8"} 
[2026-07-15 23:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 23:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739608064001,"66":25745,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739608064001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:49:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739608064001,"power":25745,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":133894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:49:37] local.INFO: GPS data processed {"connection_id":133894,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:49:37] local.INFO: Acknowledgment sent {"connection_id":133894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:49:59] local.INFO: TCP Data received {"connection_id":135262,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:49:59] local.INFO: Processing buffer {"connection_id":135262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:49:59] local.INFO: IMEI packet received {"connection_id":135262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":135262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:50:05] local.INFO: TCP Data received {"connection_id":135262,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:50:05] local.INFO: Processing buffer {"connection_id":135262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:50:05] local.INFO: IMEI packet received {"connection_id":135262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":135262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:50:06] local.INFO: TCP Data received {"connection_id":135262,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66feafb8012d77aac005f2a5e0000600f729..."} 
[2026-07-15 23:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66feafb8012d77aac005f2a5e0000600f729..."} 
[2026-07-15 23:50:06] local.INFO: Processing buffer {"connection_id":135262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66feafb8012d77aac005f2a5e0000600f729..."} 
[2026-07-15 23:50:06] local.INFO: Packet analysis {"connection_id":135262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66fe"} 
[2026-07-15 23:50:06] local.INFO: Extracted packet for processing {"connection_id":135262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66fe"} 
[2026-07-15 23:50:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":6,"angle":247,"satellites":41,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739608064001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784139395000,"timestamp_ms":1784139395000,"timestamp_seconds":1784139395,"priority":1,"record_length":96,"hex_timestamp":"0000019f66feafb8"} 
[2026-07-15 23:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 23:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":135262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":135262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":135262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739608064001,"66":25745,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739608064001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:50:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739608064001,"power":25745,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":135262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:50:06] local.INFO: GPS data processed {"connection_id":135262,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:50:06] local.INFO: Acknowledgment sent {"connection_id":135262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:50:37] local.INFO: TCP Data received {"connection_id":135262,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66feafb8012d77aac005f2a5e0000600f729..."} 
[2026-07-15 23:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66feafb8012d77aac005f2a5e0000600f729..."} 
[2026-07-15 23:50:37] local.INFO: Processing buffer {"connection_id":135262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66feafb8012d77aac005f2a5e0000600f729..."} 
[2026-07-15 23:50:37] local.INFO: Packet analysis {"connection_id":135262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66fe"} 
[2026-07-15 23:50:37] local.INFO: Extracted packet for processing {"connection_id":135262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66fe"} 
[2026-07-15 23:50:37] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":6,"angle":247,"satellites":41,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739608064001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784139395000,"timestamp_ms":1784139395000,"timestamp_seconds":1784139395,"priority":1,"record_length":96,"hex_timestamp":"0000019f66feafb8"} 
[2026-07-15 23:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 23:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":135262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":135262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":135262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739608064001,"66":25745,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739608064001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:50:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739608064001,"power":25745,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":135262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:50:37] local.INFO: GPS data processed {"connection_id":135262,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:50:37] local.INFO: Acknowledgment sent {"connection_id":135262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:50:59] local.INFO: TCP Data received {"connection_id":133025,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:50:59] local.INFO: Processing buffer {"connection_id":133025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:50:59] local.INFO: IMEI packet received {"connection_id":133025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":133025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:51:05] local.INFO: TCP Data received {"connection_id":133025,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:51:05] local.INFO: Processing buffer {"connection_id":133025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:51:05] local.INFO: IMEI packet received {"connection_id":133025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":133025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:51:06] local.INFO: TCP Data received {"connection_id":133025,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66feafb8012d77aac005f2a5e0000600f729..."} 
[2026-07-15 23:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66feafb8012d77aac005f2a5e0000600f729..."} 
[2026-07-15 23:51:06] local.INFO: Processing buffer {"connection_id":133025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66feafb8012d77aac005f2a5e0000600f729..."} 
[2026-07-15 23:51:06] local.INFO: Packet analysis {"connection_id":133025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66fe"} 
[2026-07-15 23:51:06] local.INFO: Extracted packet for processing {"connection_id":133025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66fe"} 
[2026-07-15 23:51:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":6,"angle":247,"satellites":41,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739608064001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784139395000,"timestamp_ms":1784139395000,"timestamp_seconds":1784139395,"priority":1,"record_length":96,"hex_timestamp":"0000019f66feafb8"} 
[2026-07-15 23:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 23:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739608064001,"66":25745,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739608064001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:51:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739608064001,"power":25745,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":133025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:51:06] local.INFO: GPS data processed {"connection_id":133025,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:51:06] local.INFO: Acknowledgment sent {"connection_id":133025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:51:37] local.INFO: TCP Data received {"connection_id":133025,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66feafb8012d77aac005f2a5e0000600f729..."} 
[2026-07-15 23:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66feafb8012d77aac005f2a5e0000600f729..."} 
[2026-07-15 23:51:37] local.INFO: Processing buffer {"connection_id":133025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66feafb8012d77aac005f2a5e0000600f729..."} 
[2026-07-15 23:51:37] local.INFO: Packet analysis {"connection_id":133025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66fe"} 
[2026-07-15 23:51:37] local.INFO: Extracted packet for processing {"connection_id":133025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66fe"} 
[2026-07-15 23:51:37] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":6,"angle":247,"satellites":41,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23: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-07-15 23:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739608064001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784139395000,"timestamp_ms":1784139395000,"timestamp_seconds":1784139395,"priority":1,"record_length":96,"hex_timestamp":"0000019f66feafb8"} 
[2026-07-15 23:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 23:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23: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-07-15 23:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739608064001,"66":25745,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739608064001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:51:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739608064001,"power":25745,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":133025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:51:37] local.INFO: GPS data processed {"connection_id":133025,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:51:37] local.INFO: Acknowledgment sent {"connection_id":133025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:52:05] local.INFO: TCP Data received {"connection_id":135265,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:52:05] local.INFO: Processing buffer {"connection_id":135265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:52:05] local.INFO: IMEI packet received {"connection_id":135265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":135265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:52:10] local.INFO: TCP Data received {"connection_id":135265,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:52:10] local.INFO: Processing buffer {"connection_id":135265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:52:10] local.INFO: IMEI packet received {"connection_id":135265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":135265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:52:11] local.INFO: TCP Data received {"connection_id":135265,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f66feafb8012d77aac005f2a5e0000600f729..."} 
[2026-07-15 23:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f66feafb8012d77aac005f2a5e0000600f729..."} 
[2026-07-15 23:52:11] local.INFO: Processing buffer {"connection_id":135265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f66feafb8012d77aac005f2a5e0000600f729..."} 
[2026-07-15 23:52:11] local.INFO: Packet analysis {"connection_id":135265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f66fe"} 
[2026-07-15 23:52:11] local.INFO: Extracted packet for processing {"connection_id":135265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f66fe"} 
[2026-07-15 23:52:11] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":6,"angle":247,"satellites":41,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:52: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-07-15 23:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739608064001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784139395000,"timestamp_ms":1784139395000,"timestamp_seconds":1784139395,"priority":1,"record_length":96,"hex_timestamp":"0000019f66feafb8"} 
[2026-07-15 23:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-15 23:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:52: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-07-15 23:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":135265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":135265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":135265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739608064001,"66":25745,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739608064001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:52:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739608064001,"power":25745,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":135265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:52:11] local.INFO: GPS data processed {"connection_id":135265,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:52:11] local.INFO: Acknowledgment sent {"connection_id":135265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:52:16] local.INFO: TCP Data received {"connection_id":135265,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f67034780012d77aac005f2a5e0000b00f729..."} 
[2026-07-15 23:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f67034780012d77aac005f2a5e0000b00f729..."} 
[2026-07-15 23:52:16] local.INFO: Processing buffer {"connection_id":135265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f67034780012d77aac005f2a5e0000b00f729..."} 
[2026-07-15 23:52:16] local.INFO: Packet analysis {"connection_id":135265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6703"} 
[2026-07-15 23:52:16] local.INFO: Extracted packet for processing {"connection_id":135265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6703"} 
[2026-07-15 23:52:16] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":11,"angle":247,"satellites":41,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23: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-07-15 23:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739685120001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:52:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:52:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784139696000,"timestamp_ms":1784139696000,"timestamp_seconds":1784139696,"priority":1,"record_length":96,"hex_timestamp":"0000019f67034780"} 
[2026-07-15 23:52:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:52:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-15 23:52:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23: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-07-15 23:52:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":135265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":135265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":135265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:52:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739685120001,"66":25702,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739685120001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:52:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:52:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739685120001,"power":25702,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":135265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:52:16] local.INFO: GPS data processed {"connection_id":135265,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:52:16] local.INFO: Acknowledgment sent {"connection_id":135265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:52:59] local.INFO: TCP Data received {"connection_id":133895,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:52:59] local.INFO: Processing buffer {"connection_id":133895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:52:59] local.INFO: IMEI packet received {"connection_id":133895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":133895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:53:05] local.INFO: TCP Data received {"connection_id":133895,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:53:05] local.INFO: Processing buffer {"connection_id":133895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:53:05] local.INFO: IMEI packet received {"connection_id":133895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":133895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:53:06] local.INFO: TCP Data received {"connection_id":133895,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f67034780012d77aac005f2a5e0000b00f729..."} 
[2026-07-15 23:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f67034780012d77aac005f2a5e0000b00f729..."} 
[2026-07-15 23:53:06] local.INFO: Processing buffer {"connection_id":133895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f67034780012d77aac005f2a5e0000b00f729..."} 
[2026-07-15 23:53:06] local.INFO: Packet analysis {"connection_id":133895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6703"} 
[2026-07-15 23:53:06] local.INFO: Extracted packet for processing {"connection_id":133895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6703"} 
[2026-07-15 23:53:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":11,"angle":247,"satellites":41,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23: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-07-15 23:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739685120001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784139696000,"timestamp_ms":1784139696000,"timestamp_seconds":1784139696,"priority":1,"record_length":96,"hex_timestamp":"0000019f67034780"} 
[2026-07-15 23:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-15 23:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23: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-07-15 23:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739685120001,"66":25702,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739685120001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:53:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739685120001,"power":25702,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":133895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:53:06] local.INFO: GPS data processed {"connection_id":133895,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:53:06] local.INFO: Acknowledgment sent {"connection_id":133895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:53:37] local.INFO: TCP Data received {"connection_id":133895,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f67047448012d77aac005f2a5e0000b00f72b..."} 
[2026-07-15 23:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f67047448012d77aac005f2a5e0000b00f72b..."} 
[2026-07-15 23:53:37] local.INFO: Processing buffer {"connection_id":133895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f67047448012d77aac005f2a5e0000b00f72b..."} 
[2026-07-15 23:53:37] local.INFO: Packet analysis {"connection_id":133895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6704"} 
[2026-07-15 23:53:37] local.INFO: Extracted packet for processing {"connection_id":133895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6704"} 
[2026-07-15 23:53:37] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788256,"longitude_deg":76.2817216,"latitude_deg":9.9788256,"altitude":11,"angle":247,"satellites":43,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-07-15 23:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739762176001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784139773000,"timestamp_ms":1784139773000,"timestamp_seconds":1784139773,"priority":1,"record_length":96,"hex_timestamp":"0000019f67047448"} 
[2026-07-15 23:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-15 23:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739762176001,"66":25593,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739762176001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:53:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739762176001,"power":25593,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":133895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:53:37] local.INFO: GPS data processed {"connection_id":133895,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:53:37] local.INFO: Acknowledgment sent {"connection_id":133895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:53:59] local.INFO: TCP Data received {"connection_id":133896,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:53:59] local.INFO: Processing buffer {"connection_id":133896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:53:59] local.INFO: IMEI packet received {"connection_id":133896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":133896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:54:05] local.INFO: TCP Data received {"connection_id":133896,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:54:05] local.INFO: Processing buffer {"connection_id":133896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:54:05] local.INFO: IMEI packet received {"connection_id":133896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":133896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:54:08] local.INFO: TCP Data received {"connection_id":133027,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133027,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:54:08] local.INFO: Processing buffer {"connection_id":133027,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:54:08] local.INFO: IMEI packet received {"connection_id":133027,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 23:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":133027,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:54:10] local.INFO: TCP Data received {"connection_id":133896,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f670487d0012d77ab0005f2a958000b00db2a..."} 
[2026-07-15 23:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f670487d0012d77ab0005f2a958000b00db2a..."} 
[2026-07-15 23:54:10] local.INFO: Processing buffer {"connection_id":133896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f670487d0012d77ab0005f2a958000b00db2a..."} 
[2026-07-15 23:54:10] local.INFO: Packet analysis {"connection_id":133896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6704"} 
[2026-07-15 23:54:10] local.INFO: Extracted packet for processing {"connection_id":133896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6704"} 
[2026-07-15 23:54:10] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99789144,"longitude_deg":76.281728,"latitude_deg":9.9789144,"altitude":11,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a958","is_valid_coordinates":true} 
[2026-07-15 23:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739781888001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332562432,"note":"Value kept but may cause issues"} 
[2026-07-15 23:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784139778000,"timestamp_ms":1784139778000,"timestamp_seconds":1784139778,"priority":1,"record_length":96,"hex_timestamp":"0000019f670487d0"} 
[2026-07-15 23:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 23:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-15 23:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":133896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":133896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":133896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739781888001,"66":27658,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622915568332562432},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739781888001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:54:10] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332562432,"description":"Unknown IO ID 45"} 
[2026-07-15 23:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739781888001,"power":27658,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332562432}} 
[2026-07-15 23:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":133896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:54:10] local.INFO: GPS data processed {"connection_id":133896,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:54:10] local.INFO: Acknowledgment sent {"connection_id":133896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:54:33] local.INFO: TCP Data received {"connection_id":135266,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":135266,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:54:33] local.INFO: Processing buffer {"connection_id":135266,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-15 23:54:33] local.INFO: IMEI packet received {"connection_id":135266,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-15 23:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":135266,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:54:41] local.INFO: TCP Data received {"connection_id":133896,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f6704d9d8012d77ab0005f2a958000b00db2c..."} 
[2026-07-15 23:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6704d9d8012d77ab0005f2a958000b00db2c..."} 
[2026-07-15 23:54:41] local.INFO: Processing buffer {"connection_id":133896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6704d9d8012d77ab0005f2a958000b00db2c..."} 
[2026-07-15 23:54:41] local.INFO: Packet analysis {"connection_id":133896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6704"} 
[2026-07-15 23:54:41] local.INFO: Extracted packet for processing {"connection_id":133896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6704"} 
[2026-07-15 23:54:41] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99789144,"longitude_deg":76.281728,"latitude_deg":9.9789144,"altitude":11,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a958","is_valid_coordinates":true} 
[2026-07-15 23: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-07-15 23:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739783168001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076967424,"note":"Value kept but may cause issues"} 
[2026-07-15 23:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784139799000,"timestamp_ms":1784139799000,"timestamp_seconds":1784139799,"priority":1,"record_length":96,"hex_timestamp":"0000019f6704d9d8"} 
[2026-07-15 23:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 23:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-15 23:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23: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-07-15 23:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":133896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":133896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":133896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739783168001,"66":26560,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622985937076967424},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739783168001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:54:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076967424,"description":"Unknown IO ID 45"} 
[2026-07-15 23:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739783168001,"power":26560,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076967424}} 
[2026-07-15 23:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":133896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:54:41] local.INFO: GPS data processed {"connection_id":133896,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:54:41] local.INFO: Acknowledgment sent {"connection_id":133896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:54:59] local.INFO: TCP Data received {"connection_id":133897,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:54:59] local.INFO: Processing buffer {"connection_id":133897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:54:59] local.INFO: IMEI packet received {"connection_id":133897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":133897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:55:05] local.INFO: TCP Data received {"connection_id":133897,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:55:05] local.INFO: Processing buffer {"connection_id":133897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:55:05] local.INFO: IMEI packet received {"connection_id":133897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":133897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:55:06] local.INFO: TCP Data received {"connection_id":133897,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f67052be0012d77ab0005f2a958000b00db2a..."} 
[2026-07-15 23:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f67052be0012d77ab0005f2a958000b00db2a..."} 
[2026-07-15 23:55:06] local.INFO: Processing buffer {"connection_id":133897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f67052be0012d77ab0005f2a958000b00db2a..."} 
[2026-07-15 23:55:06] local.INFO: Packet analysis {"connection_id":133897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6705"} 
[2026-07-15 23:55:06] local.INFO: Extracted packet for processing {"connection_id":133897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6705"} 
[2026-07-15 23:55:06] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99789144,"longitude_deg":76.281728,"latitude_deg":9.9789144,"altitude":11,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a958","is_valid_coordinates":true} 
[2026-07-15 23:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739788544001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484634025558016,"note":"Value kept but may cause issues"} 
[2026-07-15 23:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076967424,"note":"Value kept but may cause issues"} 
[2026-07-15 23:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784139820000,"timestamp_ms":1784139820000,"timestamp_seconds":1784139820,"priority":1,"record_length":96,"hex_timestamp":"0000019f67052be0"} 
[2026-07-15 23:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 23:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-07-15 23:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739788544001,"66":27376,"2":206,"9":24832,"24":0,"16":347484634025558016,"45":8622985937076967424},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739788544001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:55:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484634025558016,"km_value":347484634025558.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076967424,"description":"Unknown IO ID 45"} 
[2026-07-15 23:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739788544001,"power":27376,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076967424}} 
[2026-07-15 23:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":133897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:55:06] local.INFO: GPS data processed {"connection_id":133897,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:55:06] local.INFO: Acknowledgment sent {"connection_id":133897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:55:37] local.INFO: TCP Data received {"connection_id":133897,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f67052fc8012d77ac0005f2a7480001005e2b..."} 
[2026-07-15 23:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f67052fc8012d77ac0005f2a7480001005e2b..."} 
[2026-07-15 23:55:37] local.INFO: Processing buffer {"connection_id":133897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f67052fc8012d77ac0005f2a7480001005e2b..."} 
[2026-07-15 23:55:37] local.INFO: Packet analysis {"connection_id":133897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6705"} 
[2026-07-15 23:55:37] local.INFO: Extracted packet for processing {"connection_id":133897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6705"} 
[2026-07-15 23:55:37] local.INFO: GPS Element Parsed {"raw_longitude":762817536,"raw_latitude":99788616,"longitude_deg":76.2817536,"latitude_deg":9.9788616,"altitude":1,"angle":94,"satellites":43,"speed":2,"hex_longitude":"2d77ac00","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-07-15 23:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739793920001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484659795361792,"note":"Value kept but may cause issues"} 
[2026-07-15 23:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076967424,"note":"Value kept but may cause issues"} 
[2026-07-15 23:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784139821000,"timestamp_ms":1784139821000,"timestamp_seconds":1784139821,"priority":1,"record_length":96,"hex_timestamp":"0000019f67052fc8"} 
[2026-07-15 23:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 23:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-15 23:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739793920001,"66":27245,"2":206,"9":24832,"24":2,"16":347484659795361792,"45":8622985937076967424},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739793920001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:55:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484659795361792,"km_value":347484659795361.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076967424,"description":"Unknown IO ID 45"} 
[2026-07-15 23:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739793920001,"power":27245,"power_alt":206,"unknown_9":24832,"ignition":2,"odometer":null,"unknown_45":8622985937076967424}} 
[2026-07-15 23:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":133897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:55:37] local.INFO: GPS data processed {"connection_id":133897,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:55:37] local.INFO: Acknowledgment sent {"connection_id":133897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:56:00] local.INFO: TCP Data received {"connection_id":133898,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:56:00] local.INFO: Processing buffer {"connection_id":133898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:56:00] local.INFO: IMEI packet received {"connection_id":133898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":133898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:56:05] local.INFO: TCP Data received {"connection_id":133898,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:56:05] local.INFO: Processing buffer {"connection_id":133898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:56:05] local.INFO: IMEI packet received {"connection_id":133898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":133898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:56:06] local.INFO: TCP Data received {"connection_id":133898,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f670581d0012d77ac4005f2a7400001005e29..."} 
[2026-07-15 23:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f670581d0012d77ac4005f2a7400001005e29..."} 
[2026-07-15 23:56:06] local.INFO: Processing buffer {"connection_id":133898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f670581d0012d77ac4005f2a7400001005e29..."} 
[2026-07-15 23:56:06] local.INFO: Packet analysis {"connection_id":133898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6705"} 
[2026-07-15 23:56:06] local.INFO: Extracted packet for processing {"connection_id":133898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6705"} 
[2026-07-15 23:56:06] local.INFO: GPS Element Parsed {"raw_longitude":762817600,"raw_latitude":99788608,"longitude_deg":76.28176,"latitude_deg":9.9788608,"altitude":1,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d77ac40","hex_latitude":"05f2a740","is_valid_coordinates":true} 
[2026-07-15 23:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739794176001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484664090329088,"note":"Value kept but may cause issues"} 
[2026-07-15 23:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623267412053542912,"note":"Value kept but may cause issues"} 
[2026-07-15 23:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784139842000,"timestamp_ms":1784139842000,"timestamp_seconds":1784139842,"priority":1,"record_length":96,"hex_timestamp":"0000019f670581d0"} 
[2026-07-15 23:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 23:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-15 23:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739794176001,"66":27463,"2":206,"9":24832,"24":0,"16":347484664090329088,"45":8623267412053542912},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739794176001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:56:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484664090329088,"km_value":347484664090329.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623267412053542912,"description":"Unknown IO ID 45"} 
[2026-07-15 23:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739794176001,"power":27463,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623267412053542912}} 
[2026-07-15 23:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":133898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:56:06] local.INFO: GPS data processed {"connection_id":133898,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:56:06] local.INFO: Acknowledgment sent {"connection_id":133898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:56:37] local.INFO: TCP Data received {"connection_id":133898,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f6705a110012d77aac005f2a6c8000200fe2a..."} 
[2026-07-15 23:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6705a110012d77aac005f2a6c8000200fe2a..."} 
[2026-07-15 23:56:37] local.INFO: Processing buffer {"connection_id":133898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6705a110012d77aac005f2a6c8000200fe2a..."} 
[2026-07-15 23:56:37] local.INFO: Packet analysis {"connection_id":133898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6705"} 
[2026-07-15 23:56:37] local.INFO: Extracted packet for processing {"connection_id":133898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6705"} 
[2026-07-15 23:56:37] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788488,"longitude_deg":76.2817216,"latitude_deg":9.9788488,"altitude":2,"angle":254,"satellites":42,"speed":1,"hex_longitude":"2d77aac0","hex_latitude":"05f2a6c8","is_valid_coordinates":true} 
[2026-07-15 23: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-07-15 23:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739799552001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484681270198272,"note":"Value kept but may cause issues"} 
[2026-07-15 23:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623337780797718528,"note":"Value kept but may cause issues"} 
[2026-07-15 23:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784139850000,"timestamp_ms":1784139850000,"timestamp_seconds":1784139850,"priority":1,"record_length":96,"hex_timestamp":"0000019f6705a110"} 
[2026-07-15 23:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 23:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-15 23:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739799552001,"66":27071,"2":206,"9":24832,"24":1,"16":347484681270198272,"45":8623337780797718528},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739799552001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:56:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484681270198272,"km_value":347484681270198.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623337780797718528,"description":"Unknown IO ID 45"} 
[2026-07-15 23:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739799552001,"power":27071,"power_alt":206,"unknown_9":24832,"ignition":1,"odometer":null,"unknown_45":8623337780797718528}} 
[2026-07-15 23:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":133898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:56:37] local.INFO: GPS data processed {"connection_id":133898,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:56:37] local.INFO: Acknowledgment sent {"connection_id":133898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:57:00] local.INFO: TCP Data received {"connection_id":133029,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:57:00] local.INFO: Processing buffer {"connection_id":133029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:57:00] local.INFO: IMEI packet received {"connection_id":133029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":133029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:57:05] local.INFO: TCP Data received {"connection_id":133029,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:57:05] local.INFO: Processing buffer {"connection_id":133029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:57:05] local.INFO: IMEI packet received {"connection_id":133029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":133029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:57:06] local.INFO: TCP Data received {"connection_id":133029,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f6705c438012d77a98005f2a6a80003010f2b..."} 
[2026-07-15 23:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6705c438012d77a98005f2a6a80003010f2b..."} 
[2026-07-15 23:57:06] local.INFO: Processing buffer {"connection_id":133029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6705c438012d77a98005f2a6a80003010f2b..."} 
[2026-07-15 23:57:06] local.INFO: Packet analysis {"connection_id":133029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6705"} 
[2026-07-15 23:57:06] local.INFO: Extracted packet for processing {"connection_id":133029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6705"} 
[2026-07-15 23:57:06] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99788456,"longitude_deg":76.2816896,"latitude_deg":9.9788456,"altitude":3,"angle":271,"satellites":43,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-07-15 23: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-07-15 23:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739801600001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484702745034752,"note":"Value kept but may cause issues"} 
[2026-07-15 23:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332621824,"note":"Value kept but may cause issues"} 
[2026-07-15 23:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784139859000,"timestamp_ms":1784139859000,"timestamp_seconds":1784139859,"priority":1,"record_length":96,"hex_timestamp":"0000019f6705c438"} 
[2026-07-15 23:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 23: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":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-07-15 23:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23: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-07-15 23:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739801600001,"66":27484,"2":206,"9":24832,"24":0,"16":347484702745034752,"45":8622915568332621824},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739801600001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:57:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484702745034752,"km_value":347484702745034.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332621824,"description":"Unknown IO ID 45"} 
[2026-07-15 23:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739801600001,"power":27484,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568332621824}} 
[2026-07-15 23:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":133029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:57:06] local.INFO: GPS data processed {"connection_id":133029,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:57:06] local.INFO: Acknowledgment sent {"connection_id":133029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:57:38] local.INFO: TCP Data received {"connection_id":133029,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f6705cc08012d77a94005f2a698000301022b..."} 
[2026-07-15 23:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f6705cc08012d77a94005f2a698000301022b..."} 
[2026-07-15 23:57:38] local.INFO: Processing buffer {"connection_id":133029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f6705cc08012d77a94005f2a698000301022b..."} 
[2026-07-15 23:57:38] local.INFO: Packet analysis {"connection_id":133029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6705"} 
[2026-07-15 23:57:38] local.INFO: Extracted packet for processing {"connection_id":133029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6705"} 
[2026-07-15 23:57:38] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788440,"longitude_deg":76.2816832,"latitude_deg":9.978844,"altitude":3,"angle":258,"satellites":43,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a698","is_valid_coordinates":true} 
[2026-07-15 23:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739803904001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484707040002048,"note":"Value kept but may cause issues"} 
[2026-07-15 23:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724611725312,"note":"Value kept but may cause issues"} 
[2026-07-15 23:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784139861000,"timestamp_ms":1784139861000,"timestamp_seconds":1784139861,"priority":1,"record_length":96,"hex_timestamp":"0000019f6705cc08"} 
[2026-07-15 23:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 23:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-15 23:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:57:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":133029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":133029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":133029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739803904001,"66":26484,"2":206,"9":24832,"24":0,"16":347484707040002048,"45":8622563724611725312},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739803904001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:57:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484707040002048,"km_value":347484707040002.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724611725312,"description":"Unknown IO ID 45"} 
[2026-07-15 23:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739803904001,"power":26484,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724611725312}} 
[2026-07-15 23:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":133029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:57:38] local.INFO: GPS data processed {"connection_id":133029,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:57:38] local.INFO: Acknowledgment sent {"connection_id":133029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:57:59] local.INFO: TCP Data received {"connection_id":133899,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:57:59] local.INFO: Processing buffer {"connection_id":133899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:57:59] local.INFO: IMEI packet received {"connection_id":133899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":133899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:58:05] local.INFO: TCP Data received {"connection_id":133899,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:58:05] local.INFO: Processing buffer {"connection_id":133899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:58:05] local.INFO: IMEI packet received {"connection_id":133899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":133899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:58:06] local.INFO: TCP Data received {"connection_id":133899,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f67061a28012d77a54005f2a440000400e92c..."} 
[2026-07-15 23:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f67061a28012d77a54005f2a440000400e92c..."} 
[2026-07-15 23:58:06] local.INFO: Processing buffer {"connection_id":133899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f67061a28012d77a54005f2a440000400e92c..."} 
[2026-07-15 23:58:06] local.INFO: Packet analysis {"connection_id":133899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6706"} 
[2026-07-15 23:58:06] local.INFO: Extracted packet for processing {"connection_id":133899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6706"} 
[2026-07-15 23:58:06] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99787840,"longitude_deg":76.2815808,"latitude_deg":9.978784,"altitude":4,"angle":233,"satellites":44,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f2a440","is_valid_coordinates":true} 
[2026-07-15 23: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-07-15 23:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739804416001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484771464511488,"note":"Value kept but may cause issues"} 
[2026-07-15 23:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867543552,"note":"Value kept but may cause issues"} 
[2026-07-15 23:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784139881000,"timestamp_ms":1784139881000,"timestamp_seconds":1784139881,"priority":1,"record_length":96,"hex_timestamp":"0000019f67061a28"} 
[2026-07-15 23:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 23: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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-15 23:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23: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-07-15 23:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":133899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":133899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":133899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739804416001,"66":27865,"2":206,"9":24832,"24":0,"16":347484771464511488,"45":8622493355867543552},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739804416001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:58:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484771464511488,"km_value":347484771464511.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867543552,"description":"Unknown IO ID 45"} 
[2026-07-15 23:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739804416001,"power":27865,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867543552}} 
[2026-07-15 23:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":133899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:58:06] local.INFO: GPS data processed {"connection_id":133899,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:58:06] local.INFO: Acknowledgment sent {"connection_id":133899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:58:37] local.INFO: TCP Data received {"connection_id":133899,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f67062db0012d77a54005f2a440000400e92c..."} 
[2026-07-15 23:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f67062db0012d77a54005f2a440000400e92c..."} 
[2026-07-15 23:58:37] local.INFO: Processing buffer {"connection_id":133899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f67062db0012d77a54005f2a440000400e92c..."} 
[2026-07-15 23:58:37] local.INFO: Packet analysis {"connection_id":133899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6706"} 
[2026-07-15 23:58:37] local.INFO: Extracted packet for processing {"connection_id":133899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6706"} 
[2026-07-15 23:58:37] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99787840,"longitude_deg":76.2815808,"latitude_deg":9.978784,"altitude":4,"angle":233,"satellites":44,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f2a440","is_valid_coordinates":true} 
[2026-07-15 23:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739809536001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484771464511488,"note":"Value kept but may cause issues"} 
[2026-07-15 23:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455960547328,"note":"Value kept but may cause issues"} 
[2026-07-15 23:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784139886000,"timestamp_ms":1784139886000,"timestamp_seconds":1784139886,"priority":1,"record_length":96,"hex_timestamp":"0000019f67062db0"} 
[2026-07-15 23:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-15 23:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-15 23:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":133899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":133899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":133899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739809536001,"66":27930,"2":206,"9":24832,"24":0,"16":347484771464511488,"45":8621367455960547328},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739809536001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:58:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484771464511488,"km_value":347484771464511.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455960547328,"description":"Unknown IO ID 45"} 
[2026-07-15 23:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739809536001,"power":27930,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455960547328}} 
[2026-07-15 23:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":133899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:58:37] local.INFO: GPS data processed {"connection_id":133899,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:58:37] local.INFO: Acknowledgment sent {"connection_id":133899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:58:59] local.INFO: TCP Data received {"connection_id":132847,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:58:59] local.INFO: Processing buffer {"connection_id":132847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:58:59] local.INFO: IMEI packet received {"connection_id":132847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-15 23:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":132847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-15 23:59:04] local.INFO: TCP Data received {"connection_id":132847,"ip":"117.224.134.231","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:59:04] local.INFO: Processing buffer {"connection_id":132847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-15 23:59:04] local.INFO: IMEI packet received {"connection_id":132847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-15 23:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":132847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-15 23:59:05] local.INFO: TCP Data received {"connection_id":132847,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f67063198012d77a48005f2a410000501182c..."} 
[2026-07-15 23:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f67063198012d77a48005f2a410000501182c..."} 
[2026-07-15 23:59:05] local.INFO: Processing buffer {"connection_id":132847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f67063198012d77a48005f2a410000501182c..."} 
[2026-07-15 23:59:05] local.INFO: Packet analysis {"connection_id":132847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6706"} 
[2026-07-15 23:59:05] local.INFO: Extracted packet for processing {"connection_id":132847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6706"} 
[2026-07-15 23:59:05] local.INFO: GPS Element Parsed {"raw_longitude":762815616,"raw_latitude":99787792,"longitude_deg":76.2815616,"latitude_deg":9.9787792,"altitude":5,"angle":280,"satellites":44,"speed":1,"hex_longitude":"2d77a480","hex_latitude":"05f2a410","is_valid_coordinates":true} 
[2026-07-15 23: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-07-15 23:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739810816001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484771464511488,"note":"Value kept but may cause issues"} 
[2026-07-15 23:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455960547328,"note":"Value kept but may cause issues"} 
[2026-07-15 23:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784139887000,"timestamp_ms":1784139887000,"timestamp_seconds":1784139887,"priority":1,"record_length":96,"hex_timestamp":"0000019f67063198"} 
[2026-07-15 23:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-15 23:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23: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-07-15 23:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739810816001,"66":27332,"2":206,"9":24832,"24":1,"16":347484771464511488,"45":8621367455960547328},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739810816001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:59:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484771464511488,"km_value":347484771464511.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455960547328,"description":"Unknown IO ID 45"} 
[2026-07-15 23:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739810816001,"power":27332,"power_alt":206,"unknown_9":24832,"ignition":1,"odometer":null,"unknown_45":8621367455960547328}} 
[2026-07-15 23:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":132847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:59:05] local.INFO: GPS data processed {"connection_id":132847,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:59:05] local.INFO: Acknowledgment sent {"connection_id":132847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-15 23:59:37] local.INFO: TCP Data received {"connection_id":132847,"ip":"117.224.134.231","data_length":795,"data_hex":"000000000000030f8e0a0000019f67063580012d77a48005f2a418000501242c..."} 
[2026-07-15 23:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f67063580012d77a48005f2a418000501242c..."} 
[2026-07-15 23:59:37] local.INFO: Processing buffer {"connection_id":132847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f67063580012d77a48005f2a418000501242c..."} 
[2026-07-15 23:59:37] local.INFO: Packet analysis {"connection_id":132847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f6706"} 
[2026-07-15 23:59:37] local.INFO: Extracted packet for processing {"connection_id":132847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f6706"} 
[2026-07-15 23:59:37] local.INFO: GPS Element Parsed {"raw_longitude":762815616,"raw_latitude":99787800,"longitude_deg":76.2815616,"latitude_deg":9.97878,"altitude":5,"angle":292,"satellites":44,"speed":0,"hex_longitude":"2d77a480","hex_latitude":"05f2a418","is_valid_coordinates":true} 
[2026-07-15 23:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-15 23:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456739811072001,"note":"Value kept but may cause issues"} 
[2026-07-15 23:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347484771464511488,"note":"Value kept but may cause issues"} 
[2026-07-15 23:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621156349728002048,"note":"Value kept but may cause issues"} 
[2026-07-15 23:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-15 23:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784139888000,"timestamp_ms":1784139888000,"timestamp_seconds":1784139888,"priority":1,"record_length":96,"hex_timestamp":"0000019f67063580"} 
[2026-07-15 23:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-15 23:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-15 23:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-15 23:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-15 23:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-15 23:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-15 23:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-15 23:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":132847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-15 23:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":132847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":132847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-15 23:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.134.231","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-15 23:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-15 23:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-15 23:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456739811072001,"66":27332,"2":206,"9":24832,"24":0,"16":347484771464511488,"45":8621156349728002048},"client_ip":"117.224.134.231","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-15 23:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-15 23:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-15 23:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456739811072001,"description":"Unknown IO ID 0"} 
[2026-07-15 23:59:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-15 23:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347484771464511488,"km_value":347484771464511.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-15 23:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621156349728002048,"description":"Unknown IO ID 45"} 
[2026-07-15 23:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456739811072001,"power":27332,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621156349728002048}} 
[2026-07-15 23:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":132847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-15 23:59:37] local.INFO: GPS data processed {"connection_id":132847,"processed":1,"errors":0,"total":1} 
[2026-07-15 23:59:37] local.INFO: Acknowledgment sent {"connection_id":132847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
